@arcadeai/design-system 5.0.2 → 5.3.0

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 (156) hide show
  1. package/dist/{clamp-DV0oJUnl.js → CSPContext-_3HefTUC.js} +1 -6
  2. package/dist/{DialogRoot-xodRxCJ6.js → DialogRoot-DuiSPdsZ.js} +1 -1
  3. package/dist/{DialogTrigger-BRWKaMYv.js → DialogTrigger-DGGP-2Oc.js} +109 -108
  4. package/dist/{FloatingPortalLite-e0IaokaG.js → FloatingPortalLite-D5nFwFgJ.js} +1 -1
  5. package/dist/ReactStore-C3H8e2ha.js +600 -0
  6. package/dist/{Toggle-waFXW8db.js → Toggle-BdxyK_Ln.js} +1 -1
  7. package/dist/{accordion-DimUia61.js → accordion-BP9Lgkg8.js} +18 -18
  8. package/dist/{alert-dialog-BiDZwtP2.js → alert-dialog-1bUE2clB.js} +1 -1
  9. package/dist/assets/index.css +1 -1
  10. package/dist/assets/tokens.css +1 -1
  11. package/dist/assets/variables.css +1 -1
  12. package/dist/{avatar-B-lhJ-Gz.js → avatar-DbL6b01k.js} +4 -3
  13. package/dist/{checkbox-CZViOGvt.js → checkbox-DB9O_Iw9.js} +96 -85
  14. package/dist/clamp-BT4ayAnN.js +6 -0
  15. package/dist/{collapsible-DlF1q_cg.js → collapsible-DP7Fb-Lu.js} +17 -17
  16. package/dist/components/index.js +257 -251
  17. package/dist/components/ui/atoms/accordion.js +1 -1
  18. package/dist/components/ui/atoms/alert-dialog.js +1 -1
  19. package/dist/components/ui/atoms/avatar.js +1 -1
  20. package/dist/components/ui/atoms/checkbox.d.ts +16 -2
  21. package/dist/components/ui/atoms/checkbox.d.ts.map +1 -1
  22. package/dist/components/ui/atoms/checkbox.js +2 -2
  23. package/dist/components/ui/atoms/clear-button.d.ts +13 -0
  24. package/dist/components/ui/atoms/clear-button.d.ts.map +1 -0
  25. package/dist/components/ui/atoms/clear-button.js +23 -0
  26. package/dist/components/ui/atoms/collapsible.js +1 -1
  27. package/dist/components/ui/atoms/dialog.js +2 -2
  28. package/dist/components/ui/atoms/dropdown-menu.js +1 -1
  29. package/dist/components/ui/atoms/hover-card.js +1 -1
  30. package/dist/components/ui/atoms/icon-tile.d.ts +10 -0
  31. package/dist/components/ui/atoms/icon-tile.d.ts.map +1 -0
  32. package/dist/components/ui/atoms/icon-tile.js +25 -0
  33. package/dist/components/ui/atoms/index.d.ts +3 -1
  34. package/dist/components/ui/atoms/index.d.ts.map +1 -1
  35. package/dist/components/ui/atoms/index.js +210 -208
  36. package/dist/components/ui/atoms/input-group.js +1 -1
  37. package/dist/components/ui/atoms/input.js +1 -1
  38. package/dist/components/ui/atoms/mobile-tooltip.js +2 -2
  39. package/dist/components/ui/atoms/popover.js +1 -1
  40. package/dist/components/ui/atoms/progress.js +1 -1
  41. package/dist/components/ui/atoms/radio-group.js +1 -1
  42. package/dist/components/ui/atoms/scroll-area.js +1 -1
  43. package/dist/components/ui/atoms/scroll-button.js +1 -1
  44. package/dist/components/ui/atoms/scroll-to-bottom-button.d.ts +24 -0
  45. package/dist/components/ui/atoms/scroll-to-bottom-button.d.ts.map +1 -0
  46. package/dist/components/ui/atoms/scroll-to-bottom-button.js +31 -0
  47. package/dist/components/ui/atoms/select.js +1 -1
  48. package/dist/components/ui/atoms/sheet.js +2 -2
  49. package/dist/components/ui/atoms/sidebar.js +2 -2
  50. package/dist/components/ui/atoms/slider.js +1 -1
  51. package/dist/components/ui/atoms/switch.js +1 -1
  52. package/dist/components/ui/atoms/tabs.js +1 -1
  53. package/dist/components/ui/atoms/toggle-group.js +1 -1
  54. package/dist/components/ui/atoms/toggle.js +1 -1
  55. package/dist/components/ui/atoms/tooltip.js +1 -1
  56. package/dist/components/ui/blocks/demo.js +4 -4
  57. package/dist/components/ui/index.js +257 -251
  58. package/dist/components/ui/molecules/avatar-stack.d.ts +32 -0
  59. package/dist/components/ui/molecules/avatar-stack.d.ts.map +1 -0
  60. package/dist/components/ui/molecules/avatar-stack.js +91 -0
  61. package/dist/components/ui/molecules/callout.d.ts +20 -0
  62. package/dist/components/ui/molecules/callout.d.ts.map +1 -0
  63. package/dist/components/ui/molecules/callout.js +39 -0
  64. package/dist/components/ui/molecules/chat-history-item.js +1 -1
  65. package/dist/components/ui/molecules/chip-body.d.ts +21 -0
  66. package/dist/components/ui/molecules/chip-body.d.ts.map +1 -0
  67. package/dist/components/ui/molecules/chip-body.js +21 -0
  68. package/dist/components/ui/molecules/client-secret-field.js +1 -1
  69. package/dist/components/ui/molecules/confirm-popover.js +1 -1
  70. package/dist/components/ui/molecules/date-time-picker.js +2 -2
  71. package/dist/components/ui/molecules/filter-chip-group.d.ts +26 -0
  72. package/dist/components/ui/molecules/filter-chip-group.d.ts.map +1 -0
  73. package/dist/components/ui/molecules/{mcp-server-picker/category-filter.js → filter-chip-group.js} +8 -7
  74. package/dist/components/ui/molecules/index.d.ts +14 -6
  75. package/dist/components/ui/molecules/index.d.ts.map +1 -1
  76. package/dist/components/ui/molecules/index.js +39 -35
  77. package/dist/components/ui/molecules/mcp-server-picker/recommended-toolkits-chip.d.ts.map +1 -1
  78. package/dist/components/ui/molecules/mcp-server-picker/recommended-toolkits-chip.js +18 -15
  79. package/dist/components/ui/molecules/mcp-server-picker/recommended-tools.js +2 -2
  80. package/dist/components/ui/molecules/mcp-server-picker/search-scope-tabs.js +1 -1
  81. package/dist/components/ui/molecules/mcp-server-picker/server-avatar-stack.d.ts +1 -1
  82. package/dist/components/ui/molecules/mcp-server-picker/server-avatar-stack.d.ts.map +1 -1
  83. package/dist/components/ui/molecules/mcp-server-picker/server-avatar-stack.js +29 -81
  84. package/dist/components/ui/molecules/mcp-server-picker/server-card.js +1 -1
  85. package/dist/components/ui/molecules/mcp-server-picker/tool-card.js +1 -1
  86. package/dist/components/ui/molecules/mcp-server-picker/tool-recommendations.d.ts +12 -0
  87. package/dist/components/ui/molecules/mcp-server-picker/tool-recommendations.d.ts.map +1 -0
  88. package/dist/components/ui/molecules/mcp-server-picker/{tool-search-band.js → tool-recommendations.js} +6 -6
  89. package/dist/components/ui/molecules/mcp-server-picker/toolkit-avatar.d.ts +6 -6
  90. package/dist/components/ui/molecules/mcp-server-picker/toolkit-avatar.d.ts.map +1 -1
  91. package/dist/components/ui/molecules/mcp-server-picker/toolkit-avatar.js +21 -33
  92. package/dist/components/ui/molecules/mcp-server-picker/toolkit-chip.d.ts.map +1 -1
  93. package/dist/components/ui/molecules/mcp-server-picker/toolkit-chip.js +19 -22
  94. package/dist/components/ui/molecules/mcp-server-picker/unoptimized-match-card.js +1 -1
  95. package/dist/components/ui/molecules/message.js +2 -2
  96. package/dist/components/ui/molecules/prompt-input.js +1 -1
  97. package/dist/components/ui/molecules/removable-chip.d.ts.map +1 -0
  98. package/dist/components/ui/{atoms → molecules}/removable-chip.js +1 -1
  99. package/dist/components/ui/molecules/requirement-badges.js +1 -1
  100. package/dist/components/ui/molecules/tool-call-accordion.js +2 -2
  101. package/dist/components/ui/molecules/tool-card.js +2 -2
  102. package/dist/components/ui/molecules/toolkit-card.js +1 -1
  103. package/dist/components/ui/molecules/undo-toast.d.ts +47 -0
  104. package/dist/components/ui/molecules/undo-toast.d.ts.map +1 -0
  105. package/dist/components/ui/molecules/undo-toast.js +3 -0
  106. package/dist/components/ui/molecules/user-nav.js +2 -2
  107. package/dist/components/ui/organisms/mcp-selection-summary-bar.d.ts.map +1 -1
  108. package/dist/components/ui/organisms/mcp-selection-summary-bar.js +27 -30
  109. package/dist/{dropdown-menu-CWWN1cXs.js → dropdown-menu-ecggVuhu.js} +202 -199
  110. package/dist/{getPseudoElementBounds-D_dlkPnQ.js → getPseudoElementBounds-BOe22aYl.js} +3 -3
  111. package/dist/{hover-card-GELKDadU.js → hover-card-CGLPPPPP.js} +71 -70
  112. package/dist/{input-DZfZK6b1.js → input-DZTqcpe-.js} +1 -1
  113. package/dist/main.js +263 -257
  114. package/dist/metadata/oauth-providers.d.ts +2 -0
  115. package/dist/metadata/oauth-providers.d.ts.map +1 -1
  116. package/dist/metadata/oauth-providers.js +153 -141
  117. package/dist/{popover-Cne_hQUh.js → popover-CpLkQtT5.js} +129 -128
  118. package/dist/popupStateMapping-XiLS0Jku.js +643 -0
  119. package/dist/{progress-D71iUjvg.js → progress-BqG0PtAD.js} +1 -1
  120. package/dist/{radio-group-CTqA-p0w.js → radio-group-BpMluqfv.js} +8 -7
  121. package/dist/{safePolygon-os2F06tc.js → safePolygon-DmV1hDsw.js} +35 -34
  122. package/dist/{scroll-area-C0KbhRES.js → scroll-area-D7iOy7xj.js} +4 -3
  123. package/dist/{scrollEdges-CHZpP0us.js → scrollEdges-Dck9qFyQ.js} +1 -1
  124. package/dist/{select-RvAj5g6e.js → select-DFWNXxvZ.js} +179 -176
  125. package/dist/{slider-Bhn1ogwZ.js → slider-ClXWRpwI.js} +4 -3
  126. package/dist/{store-C-KXBzZ0.js → store-D7k1qIkZ.js} +23 -22
  127. package/dist/{switch-D8M0xvzp.js → switch-DlxZDt6o.js} +3 -3
  128. package/dist/{tabs-ttkDuwww.js → tabs-Cj3LY-7F.js} +9 -8
  129. package/dist/{toggle-group-CL_MBwuU.js → toggle-group-CmP4iHEJ.js} +1 -1
  130. package/dist/{tooltip-ZIywOFGf.js → tooltip-BUR7V5Aa.js} +197 -196
  131. package/dist/{ui-CttBuHXi.js → ui-46pgiw5T.js} +2 -2
  132. package/dist/undo-toast-Cf4T6ToX.js +898 -0
  133. package/dist/{useAnchoredPopupScrollLock-a2b_Frjv.js → useAnchoredPopupScrollLock-CnoPUwXv.js} +1 -1
  134. package/dist/{useAriaLabelledBy-WyUZP7Yf.js → useAriaLabelledBy-DJZioWd6.js} +1 -1
  135. package/dist/useBaseUiId-CXSJgVcI.js +8 -0
  136. package/dist/{useCollapsiblePanel-B6XZh6zH.js → useCollapsiblePanel-BPbcE70S.js} +15 -14
  137. package/dist/{useFocus-DwJfNYN6.js → useFocus-B_SrhX9q.js} +10 -10
  138. package/dist/{useBaseUiId-voePHgyX.js → useId-Bzr7_bed.js} +1 -6
  139. package/dist/{useLabelableId-CC2YaILf.js → useLabelableId-9jrDGk5d.js} +1 -1
  140. package/dist/useOpenChangeComplete-CVIwfcpl.js +80 -0
  141. package/dist/{useOpenInteractionType-DQhvPqO3.js → useOpenInteractionType-INvHftZi.js} +29 -28
  142. package/dist/{usePositioner-DkeyI5Le.js → usePositioner-CaLGGc-z.js} +98 -97
  143. package/dist/useTransitionStatus-CCIoL5RH.js +51 -0
  144. package/dist/{useTriggerFocusGuards-Qi8iK-AK.js → useTriggerFocusGuards-Dlv8KvSm.js} +7 -7
  145. package/package.json +1 -1
  146. package/dist/components/ui/atoms/removable-chip.d.ts.map +0 -1
  147. package/dist/components/ui/molecules/mcp-server-picker/category-filter-menu.d.ts +0 -31
  148. package/dist/components/ui/molecules/mcp-server-picker/category-filter-menu.d.ts.map +0 -1
  149. package/dist/components/ui/molecules/mcp-server-picker/category-filter-menu.js +0 -106
  150. package/dist/components/ui/molecules/mcp-server-picker/category-filter.d.ts +0 -18
  151. package/dist/components/ui/molecules/mcp-server-picker/category-filter.d.ts.map +0 -1
  152. package/dist/components/ui/molecules/mcp-server-picker/tool-search-band.d.ts +0 -12
  153. package/dist/components/ui/molecules/mcp-server-picker/tool-search-band.d.ts.map +0 -1
  154. package/dist/popupStateMapping-C8W76brO.js +0 -1221
  155. package/dist/useOpenChangeComplete-Bs6gnxd9.js +0 -127
  156. /package/dist/components/ui/{atoms → molecules}/removable-chip.d.ts +0 -0
@@ -6,38 +6,41 @@ import { t as l } from "./useStableCallback-CrM0Nb2q.js";
6
6
  import { n as u, t as d } from "./useCompositeListItem-C8B8UyMD.js";
7
7
  import { t as f } from "./CompositeList-BUPONQmB.js";
8
8
  import { t as p } from "./DirectionContext-OzWG1tsQ.js";
9
- import { t as m } from "./useBaseUiId-voePHgyX.js";
9
+ import { t as m } from "./useBaseUiId-CXSJgVcI.js";
10
10
  import { C as h, f as g, g as _, r as v, t as y } from "./createBaseUIEventDetails-C_dwdqj4.js";
11
11
  import { n as b } from "./useAnimationFrame-jkCXMP_8.js";
12
- import { a as x, o as S, t as C } from "./useOpenChangeComplete-Bs6gnxd9.js";
12
+ import { t as x } from "./useTransitionStatus-CCIoL5RH.js";
13
+ import { a as S, t as C } from "./useOpenChangeComplete-CVIwfcpl.js";
13
14
  import { l as w } from "./floating-ui.utils.dom-5U5b4xPf.js";
14
15
  import { t as T } from "./useButton-DjF6Owsn.js";
15
16
  import { t as E } from "./addEventListener-BlQH_qk1.js";
16
17
  import { t as ee } from "./useValueAsRef-CfO5zn2c.js";
17
18
  import { t as te } from "./owner-CyZnQOKt.js";
18
19
  import { cn as D } from "./lib/utils.js";
19
- import { B as O, C as ne, D as k, F as A, O as re, a as j, i as M, r as N, s as P, tt as F, w as I } from "./popupStateMapping-C8W76brO.js";
20
- import { A as L, w as R } from "./composite-B-tEa-Zg.js";
21
- import { t as ie } from "./engine-ChH4dTze.js";
22
- import { n as z } from "./useTimeout-B0afjWAz.js";
23
- import { a as ae, i as oe, r as se, t as ce } from "./useOpenInteractionType-DQhvPqO3.js";
20
+ import { S as O, a as ne, i as k, j as A, r as j, s as M } from "./popupStateMapping-XiLS0Jku.js";
21
+ import { A as re, w as N } from "./composite-B-tEa-Zg.js";
22
+ import { t as P } from "./engine-ChH4dTze.js";
23
+ import { n as F, o as I, p as L, r as R, s as z } from "./ReactStore-C3H8e2ha.js";
24
+ import { n as ie } from "./useTimeout-B0afjWAz.js";
25
+ import { a as ae, i as oe, r as se, t as ce } from "./useOpenInteractionType-INvHftZi.js";
24
26
  import { n as B } from "./shadowDom-BACsbimN.js";
25
27
  import { r as V } from "./shim-BX-2V17R.js";
26
28
  import { n as H, t as U } from "./visuallyHidden-Cq5CW65k.js";
27
- import { a as le, n as ue, o as de, r as W, t as fe } from "./usePositioner-DkeyI5Le.js";
28
- import { n as pe, r as me, t as G } from "./getPseudoElementBounds-D_dlkPnQ.js";
29
+ import { a as le, n as ue, o as de, r as W, t as fe } from "./usePositioner-CaLGGc-z.js";
30
+ import { n as pe, r as me, t as G } from "./getPseudoElementBounds-BOe22aYl.js";
29
31
  import { o as K } from "./composite-COXvAbcT.js";
30
32
  import { t as he } from "./inertValue-BhczR0H5.js";
31
33
  import { t as ge } from "./useValueChanged-26zHg3aX.js";
32
- import { t as q } from "./useAnchoredPopupScrollLock-a2b_Frjv.js";
34
+ import { t as q } from "./useAnchoredPopupScrollLock-CnoPUwXv.js";
33
35
  import { t as _e } from "./ToolbarRootContext-CDm74ob9.js";
34
36
  import { a as J, i as ve, n as ye, r as be, t as xe } from "./LabelableContext-C6DIbcnY.js";
35
37
  import { t as Se } from "./Separator-CJ3Gn6wf.js";
36
38
  import { t as Ce } from "./isElementDisabled-C1rd9-Ym.js";
37
- import { t as we } from "./useLabelableId-CC2YaILf.js";
39
+ import { t as we } from "./useLabelableId-9jrDGk5d.js";
38
40
  import { t as Te } from "./serializeValue-CRwtWeFH.js";
39
- import { n as Ee, r as De, t as Oe } from "./scrollEdges-CHZpP0us.js";
40
- import { n as ke, t as Ae } from "./clamp-DV0oJUnl.js";
41
+ import { n as Ee, r as De, t as Oe } from "./scrollEdges-Dck9qFyQ.js";
42
+ import { t as ke } from "./CSPContext-_3HefTUC.js";
43
+ import { t as Ae } from "./clamp-BT4ayAnN.js";
41
44
  import { n as je, r as Me } from "./resolveAriaLabelledBy-ChNE6KfK.js";
42
45
  import * as Y from "react";
43
46
  import { jsx as X, jsxs as Ne } from "react/jsx-runtime";
@@ -136,49 +139,49 @@ function Ze(e, t, n) {
136
139
  //#endregion
137
140
  //#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/select/store.mjs
138
141
  var Q = {
139
- id: k((e) => e.id),
140
- labelId: k((e) => e.labelId),
141
- modal: k((e) => e.modal),
142
- multiple: k((e) => e.multiple),
143
- items: k((e) => e.items),
144
- itemToStringLabel: k((e) => e.itemToStringLabel),
145
- itemToStringValue: k((e) => e.itemToStringValue),
146
- isItemEqualToValue: k((e) => e.isItemEqualToValue),
147
- value: k((e) => e.value),
148
- hasSelectedValue: k((e) => {
142
+ id: I((e) => e.id),
143
+ labelId: I((e) => e.labelId),
144
+ modal: I((e) => e.modal),
145
+ multiple: I((e) => e.multiple),
146
+ items: I((e) => e.items),
147
+ itemToStringLabel: I((e) => e.itemToStringLabel),
148
+ itemToStringValue: I((e) => e.itemToStringValue),
149
+ isItemEqualToValue: I((e) => e.isItemEqualToValue),
150
+ value: I((e) => e.value),
151
+ hasSelectedValue: I((e) => {
149
152
  let { value: t, multiple: n, itemToStringValue: r } = e;
150
153
  return t == null ? !1 : n && Array.isArray(t) ? t.length > 0 : Ye(t, r) !== "";
151
154
  }),
152
- hasNullItemLabel: k((e, t) => t ? qe(e.items) : !1),
153
- open: k((e) => e.open),
154
- mounted: k((e) => e.mounted),
155
- forceMount: k((e) => e.forceMount),
156
- transitionStatus: k((e) => e.transitionStatus),
157
- openMethod: k((e) => e.openMethod),
158
- activeIndex: k((e) => e.activeIndex),
159
- selectedIndex: k((e) => e.selectedIndex),
160
- isActive: k((e, t) => e.activeIndex === t),
161
- isSelected: k((e, t) => {
155
+ hasNullItemLabel: I((e, t) => t ? qe(e.items) : !1),
156
+ open: I((e) => e.open),
157
+ mounted: I((e) => e.mounted),
158
+ forceMount: I((e) => e.forceMount),
159
+ transitionStatus: I((e) => e.transitionStatus),
160
+ openMethod: I((e) => e.openMethod),
161
+ activeIndex: I((e) => e.activeIndex),
162
+ selectedIndex: I((e) => e.selectedIndex),
163
+ isActive: I((e, t) => e.activeIndex === t),
164
+ isSelected: I((e, t) => {
162
165
  let n = e.isItemEqualToValue, r = e.value;
163
166
  return e.multiple ? Array.isArray(r) && r.some((e) => He(t, e, n)) : He(t, r, n);
164
167
  }),
165
- isSelectedByFocus: k((e, t) => e.selectedIndex === t),
166
- popupProps: k((e) => e.popupProps),
167
- triggerProps: k((e) => e.triggerProps),
168
- triggerElement: k((e) => e.triggerElement),
169
- positionerElement: k((e) => e.positionerElement),
170
- listElement: k((e) => e.listElement),
171
- popupSide: k((e) => e.popupSide),
172
- scrollUpArrowVisible: k((e) => e.scrollUpArrowVisible),
173
- scrollDownArrowVisible: k((e) => e.scrollDownArrowVisible),
174
- hasScrollArrows: k((e) => e.hasScrollArrows)
168
+ isSelectedByFocus: I((e, t) => e.selectedIndex === t),
169
+ popupProps: I((e) => e.popupProps),
170
+ triggerProps: I((e) => e.triggerProps),
171
+ triggerElement: I((e) => e.triggerElement),
172
+ positionerElement: I((e) => e.positionerElement),
173
+ listElement: I((e) => e.listElement),
174
+ popupSide: I((e) => e.popupSide),
175
+ scrollUpArrowVisible: I((e) => e.scrollUpArrowVisible),
176
+ scrollDownArrowVisible: I((e) => e.scrollDownArrowVisible),
177
+ hasScrollArrows: I((e) => e.hasScrollArrows)
175
178
  };
176
179
  //#endregion
177
180
  //#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/select/root/SelectRoot.mjs
178
181
  function $(s) {
179
- let { id: c, value: u, defaultValue: d = null, onValueChange: f, open: p, defaultOpen: m = !1, onOpenChange: h, name: g, form: v, autoComplete: b, disabled: x = !1, readOnly: w = !1, required: T = !1, modal: E = !0, actionsRef: te, inputRef: D, onOpenChangeComplete: O, items: k, multiple: A = !1, itemToStringLabel: j, itemToStringValue: M, isItemEqualToValue: N = Ve, highlightItemOnHover: L = !0, children: R } = s, { clearErrors: ie } = ye(), { setDirty: z, setTouched: ae, setFocused: se, validityData: B, setFilled: V, name: ue, disabled: de, validation: W, validationMode: fe } = ve(), G = we({ id: c }), K = de || x, he = ue ?? g, [q, _e] = e({
182
+ let { id: c, value: u, defaultValue: d = null, onValueChange: f, open: p, defaultOpen: m = !1, onOpenChange: h, name: g, form: v, autoComplete: b, disabled: S = !1, readOnly: w = !1, required: T = !1, modal: E = !0, actionsRef: te, inputRef: D, onOpenChangeComplete: ne, items: k, multiple: j = !1, itemToStringLabel: re, itemToStringValue: N, isItemEqualToValue: P = Ve, highlightItemOnHover: I = !0, children: L } = s, { clearErrors: z } = ye(), { setDirty: ie, setTouched: ae, setFocused: se, validityData: B, setFilled: V, name: ue, disabled: de, validation: W, validationMode: fe } = ve(), G = we({ id: c }), K = de || S, he = ue ?? g, [q, _e] = e({
180
183
  controlled: u,
181
- default: A ? d ?? n : d,
184
+ default: j ? d ?? n : d,
182
185
  name: "Select",
183
186
  state: "value"
184
187
  }), [J, xe] = e({
@@ -190,14 +193,14 @@ function $(s) {
190
193
  allowSelectedMouseUp: !1,
191
194
  allowUnselectedMouseUp: !1,
192
195
  dragY: 0
193
- }), Ue = Y.useRef(!1), { mounted: Ge, setMounted: Ke, transitionStatus: qe } = S(J), { openMethod: Xe, triggerProps: Ze } = ce(J), $ = r(() => new ne({
196
+ }), Ue = Y.useRef(!1), { mounted: Ge, setMounted: Ke, transitionStatus: qe } = x(J), { openMethod: Xe, triggerProps: Ze } = ce(J), $ = r(() => new F({
194
197
  id: G,
195
198
  labelId: void 0,
196
199
  modal: E,
197
- multiple: A,
198
- itemToStringLabel: j,
199
- itemToStringValue: M,
200
- isItemEqualToValue: N,
200
+ multiple: j,
201
+ itemToStringLabel: re,
202
+ itemToStringValue: N,
203
+ isItemEqualToValue: P,
201
204
  value: q,
202
205
  open: J,
203
206
  mounted: Ge,
@@ -216,51 +219,51 @@ function $(s) {
216
219
  scrollUpArrowVisible: !1,
217
220
  scrollDownArrowVisible: !1,
218
221
  hasScrollArrows: !1
219
- })).current, Qe = I($, Q.activeIndex), $e = I($, Q.selectedIndex), et = I($, Q.triggerElement), tt = I($, Q.positionerElement), nt = Le(Xe), rt = Xe ?? nt ?? null, it = Y.useMemo(() => A ? "" : Ye(q, M), [
220
- A,
222
+ })).current, Qe = R($, Q.activeIndex), $e = R($, Q.selectedIndex), et = R($, Q.triggerElement), tt = R($, Q.positionerElement), nt = Le(Xe), rt = Xe ?? nt ?? null, it = Y.useMemo(() => j ? "" : Ye(q, N), [
223
+ j,
221
224
  q,
222
- M
223
- ]), at = Y.useMemo(() => A && Array.isArray(q) ? q.map((e) => Ye(e, M)) : Ye(q, M), [
224
- A,
225
+ N
226
+ ]), at = Y.useMemo(() => j && Array.isArray(q) ? q.map((e) => Ye(e, N)) : Ye(q, N), [
227
+ j,
225
228
  q,
226
- M
229
+ N
227
230
  ]);
228
231
  be(ee($.state.triggerElement), G, q, l(() => at), !K, g);
229
- let ot = Y.useRef(q), st = A ? Array.isArray(q) && q.length > 0 : q != null && Ye(q, M) !== "";
232
+ let ot = Y.useRef(q), st = j ? Array.isArray(q) && q.length > 0 : q != null && Ye(q, N) !== "";
230
233
  t(() => {
231
234
  q !== ot.current && $.set("forceMount", !0);
232
235
  }, [$, q]), t(() => {
233
236
  V(st);
234
237
  }, [st, V]), t(function() {
235
238
  let e = Pe.current, t;
236
- if (A) {
239
+ if (j) {
237
240
  let n = Array.isArray(q) ? q : [];
238
241
  if (n.length === 0) t = null;
239
242
  else {
240
- let r = n[n.length - 1], i = We(e, r, N);
243
+ let r = n[n.length - 1], i = We(e, r, P);
241
244
  t = i === -1 ? null : i;
242
245
  }
243
246
  } else {
244
- let n = We(e, q, N);
247
+ let n = We(e, q, P);
245
248
  t = n === -1 ? null : n;
246
249
  }
247
250
  t === null && (Z.current = null), !J && $.set("selectedIndex", t);
248
251
  }, [
249
252
  st,
250
- A,
253
+ j,
251
254
  J,
252
255
  q,
253
256
  Pe,
254
- N,
257
+ P,
255
258
  $,
256
259
  Z
257
260
  ]);
258
261
  function ct(e) {
259
262
  let t = B.initialValue;
260
- return Array.isArray(e) && Array.isArray(t) ? !Me(e, t, (e, t) => He(e, t, N)) : e !== t;
263
+ return Array.isArray(e) && Array.isArray(t) ? !Me(e, t, (e, t) => He(e, t, P)) : e !== t;
261
264
  }
262
265
  ge(q, () => {
263
- ie(he), z(ct(q)), W.change(q);
266
+ z(he), ie(ct(q)), W.change(q);
264
267
  });
265
268
  let lt = l((e, t) => {
266
269
  h?.(e, t), !t.isCanceled && (xe(e), !e && (t.reason === "focus-out" || t.reason === "outside-press") && (ae(!0), se(!1), fe === "onBlur" && W.commit(q)));
@@ -268,7 +271,7 @@ function $(s) {
268
271
  Ke(!1), $.update({
269
272
  activeIndex: null,
270
273
  openMethod: null
271
- }), O?.(!1);
274
+ }), ne?.(!1);
272
275
  });
273
276
  C({
274
277
  enabled: !te,
@@ -295,7 +298,7 @@ function $(s) {
295
298
  }), mt = oe(pt, {
296
299
  enabled: !w && !K,
297
300
  event: "mousedown"
298
- }), ht = re(pt), gt = me(pt, {
301
+ }), ht = O(pt), gt = me(pt, {
299
302
  enabled: !w && !K,
300
303
  listRef: Se,
301
304
  activeIndex: Qe,
@@ -304,9 +307,9 @@ function $(s) {
304
307
  onNavigate(e) {
305
308
  e === null && !J || $.set("activeIndex", e);
306
309
  },
307
- focusItemOnHover: L
310
+ focusItemOnHover: I
308
311
  }), _t = pe(pt, {
309
- enabled: !w && !K && (J || !A),
312
+ enabled: !w && !K && (J || !j),
310
313
  listRef: Te,
311
314
  activeIndex: Qe,
312
315
  selectedIndex: $e,
@@ -327,12 +330,12 @@ function $(s) {
327
330
  ht.reference,
328
331
  Ze,
329
332
  G
330
- ]), yt = Y.useMemo(() => o(P, _t.floating, gt.floating, ht.floating), [
333
+ ]), yt = Y.useMemo(() => o(M, _t.floating, gt.floating, ht.floating), [
331
334
  _t.floating,
332
335
  gt.floating,
333
336
  ht.floating
334
337
  ]), bt = gt.item ?? a;
335
- F(() => {
338
+ A(() => {
336
339
  $.update({
337
340
  popupProps: yt,
338
341
  triggerProps: vt
@@ -341,7 +344,7 @@ function $(s) {
341
344
  $.update({
342
345
  id: G,
343
346
  modal: E,
344
- multiple: A,
347
+ multiple: j,
345
348
  value: q,
346
349
  open: J,
347
350
  mounted: Ge,
@@ -349,16 +352,16 @@ function $(s) {
349
352
  popupProps: yt,
350
353
  triggerProps: vt,
351
354
  items: k,
352
- itemToStringLabel: j,
353
- itemToStringValue: M,
354
- isItemEqualToValue: N,
355
+ itemToStringLabel: re,
356
+ itemToStringValue: N,
357
+ isItemEqualToValue: P,
355
358
  openMethod: rt
356
359
  });
357
360
  }, [
358
361
  $,
359
362
  G,
360
363
  E,
361
- A,
364
+ j,
362
365
  q,
363
366
  J,
364
367
  Ge,
@@ -366,9 +369,9 @@ function $(s) {
366
369
  yt,
367
370
  vt,
368
371
  k,
369
- j,
370
- M,
372
+ re,
371
373
  N,
374
+ P,
372
375
  rt
373
376
  ]);
374
377
  let xt = Y.useMemo(() => ({
@@ -377,8 +380,8 @@ function $(s) {
377
380
  required: T,
378
381
  disabled: K,
379
382
  readOnly: w,
380
- multiple: A,
381
- highlightItemOnHover: L,
383
+ multiple: j,
384
+ highlightItemOnHover: I,
382
385
  setValue: dt,
383
386
  setOpen: lt,
384
387
  listRef: Se,
@@ -395,7 +398,7 @@ function $(s) {
395
398
  firstItemTextRef: Ie,
396
399
  selectedItemTextRef: Z,
397
400
  validation: W,
398
- onOpenChangeComplete: O,
401
+ onOpenChangeComplete: ne,
399
402
  alignItemWithTriggerActiveRef: Ue,
400
403
  initialValueRef: ot
401
404
  }), [
@@ -404,16 +407,16 @@ function $(s) {
404
407
  T,
405
408
  K,
406
409
  w,
407
- A,
408
- L,
410
+ j,
411
+ I,
409
412
  dt,
410
413
  lt,
411
414
  bt,
412
415
  W,
413
- O,
416
+ ne,
414
417
  ft
415
- ]), St = i(D, W.inputRef), Ct = A && Array.isArray(q) && q.length > 0, wt = A ? void 0 : he, Tt = Y.useMemo(() => !A || !Array.isArray(q) || !he ? null : q.map((e) => {
416
- let t = Ye(e, M);
418
+ ]), St = i(D, W.inputRef), Ct = j && Array.isArray(q) && q.length > 0, wt = j ? void 0 : he, Tt = Y.useMemo(() => !j || !Array.isArray(q) || !he ? null : q.map((e) => {
419
+ let t = Ye(e, N);
417
420
  return /*#__PURE__*/ X("input", {
418
421
  type: "hidden",
419
422
  form: v,
@@ -422,11 +425,11 @@ function $(s) {
422
425
  disabled: K
423
426
  }, t);
424
427
  }), [
425
- A,
428
+ j,
426
429
  q,
427
430
  v,
428
431
  he,
429
- M,
432
+ N,
430
433
  K
431
434
  ]);
432
435
  return /*#__PURE__*/ X(Re.Provider, {
@@ -434,7 +437,7 @@ function $(s) {
434
437
  children: /*#__PURE__*/ Ne(ze.Provider, {
435
438
  value: pt,
436
439
  children: [
437
- R,
440
+ L,
438
441
  /*#__PURE__*/ X("input", {
439
442
  ...W.getValidationProps(K, {
440
443
  onFocus() {
@@ -444,8 +447,8 @@ function $(s) {
444
447
  if (e.nativeEvent.defaultPrevented || K || w) return;
445
448
  let t = e.currentTarget.value, n = y(_, e.nativeEvent);
446
449
  function r() {
447
- if (A) return;
448
- let e = t.toLowerCase(), r = Pe.current.findIndex((t) => Ye(t, M).toLowerCase() === e || Je(t, j).toLowerCase() === e);
450
+ if (j) return;
451
+ let e = t.toLowerCase(), r = Pe.current.findIndex((t) => Ye(t, N).toLowerCase() === e || Je(t, re).toLowerCase() === e);
449
452
  r === -1 && (r = Pe.current.findIndex((t, n) => {
450
453
  let r = Te.current[n];
451
454
  return r != null && r.toLowerCase() === e;
@@ -478,19 +481,19 @@ function $(s) {
478
481
  //#endregion
479
482
  //#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/select/trigger/SelectTrigger.mjs
480
483
  var Qe = 2, $e = 400, et = {
481
- ...M,
484
+ ...k,
482
485
  ...J,
483
486
  popupSide: (e) => e ? { "data-popup-side": e } : null,
484
487
  value: () => null
485
488
  }, tt = /*#__PURE__*/ Y.forwardRef(function(e, t) {
486
- let { render: n, className: r, id: i, disabled: a = !1, nativeButton: c = !0, style: u, ...d } = e, { setTouched: f, setFocused: p, validationMode: m, state: h, disabled: g } = ve(), { labelId: b } = xe(), { store: x, setOpen: S, selectionRef: C, validation: w, readOnly: E, required: D, alignItemWithTriggerActiveRef: O, disabled: ne } = Z(), k = g || ne || a, A = I(x, Q.open), re = I(x, Q.mounted), j = I(x, Q.value), M = I(x, Q.triggerProps), N = I(x, Q.positionerElement), P = I(x, Q.listElement), F = I(x, Q.popupSide), L = I(x, Q.id), R = I(x, Q.labelId), ie = I(x, Q.hasSelectedValue), ae = re && N ? F : null, oe = i ?? L, se = je(b, R);
489
+ let { render: n, className: r, id: i, disabled: a = !1, nativeButton: c = !0, style: u, ...d } = e, { setTouched: f, setFocused: p, validationMode: m, state: h, disabled: g } = ve(), { labelId: b } = xe(), { store: x, setOpen: S, selectionRef: C, validation: w, readOnly: E, required: D, alignItemWithTriggerActiveRef: O, disabled: ne } = Z(), k = g || ne || a, A = R(x, Q.open), j = R(x, Q.mounted), M = R(x, Q.value), re = R(x, Q.triggerProps), N = R(x, Q.positionerElement), P = R(x, Q.listElement), F = R(x, Q.popupSide), I = R(x, Q.id), L = R(x, Q.labelId), z = R(x, Q.hasSelectedValue), ae = j && N ? F : null, oe = i ?? I, se = je(b, L);
487
490
  we({ id: oe });
488
491
  let ce = ee(N), H = Y.useRef(null), { getButtonProps: U, buttonRef: le } = T({
489
492
  disabled: k,
490
493
  native: c
491
494
  }), ue = l((e) => {
492
495
  x.set("triggerElement", e);
493
- }), de = z(), W = z(), fe = z();
496
+ }), de = ie(), W = ie(), fe = ie();
494
497
  Y.useEffect(() => {
495
498
  if (A) return fe.start($e, () => {
496
499
  C.current.allowUnselectedMouseUp = !0, C.current.allowSelectedMouseUp = !0;
@@ -508,7 +511,7 @@ var Qe = 2, $e = 400, et = {
508
511
  W,
509
512
  fe
510
513
  ]);
511
- let pe = o(M, {
514
+ let pe = o(re, {
512
515
  id: oe,
513
516
  role: "combobox",
514
517
  "aria-expanded": A ? "true" : "false",
@@ -524,7 +527,7 @@ var Qe = 2, $e = 400, et = {
524
527
  });
525
528
  },
526
529
  onBlur(e) {
527
- B(N, e.relatedTarget) || (f(!0), p(!1), m === "onBlur" && w.commit(j));
530
+ B(N, e.relatedTarget) || (f(!0), p(!1), m === "onBlur" && w.commit(M));
528
531
  },
529
532
  onMouseDown(e) {
530
533
  if (A) return;
@@ -546,10 +549,10 @@ var Qe = 2, $e = 400, et = {
546
549
  ...h,
547
550
  open: A,
548
551
  disabled: k,
549
- value: j,
552
+ value: M,
550
553
  readOnly: E,
551
554
  popupSide: ae,
552
- placeholder: !ie
555
+ placeholder: !z
553
556
  };
554
557
  return s("button", e, {
555
558
  ref: [
@@ -567,7 +570,7 @@ process.env.NODE_ENV !== "production" && (tt.displayName = "SelectTrigger");
567
570
  //#endregion
568
571
  //#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/select/value/SelectValue.mjs
569
572
  var nt = { value: () => null }, rt = /*#__PURE__*/ Y.forwardRef(function(e, t) {
570
- let { className: n, render: r, children: i, placeholder: a, style: o, ...c } = e, { store: l, valueRef: u } = Z(), d = I(l, Q.value), f = I(l, Q.items), p = I(l, Q.itemToStringLabel), m = I(l, Q.hasSelectedValue), h = !m && a != null && i == null, g = I(l, Q.hasNullItemLabel, h), _ = {
573
+ let { className: n, render: r, children: i, placeholder: a, style: o, ...c } = e, { store: l, valueRef: u } = Z(), d = R(l, Q.value), f = R(l, Q.items), p = R(l, Q.itemToStringLabel), m = R(l, Q.hasSelectedValue), h = !m && a != null && i == null, g = R(l, Q.hasNullItemLabel, h), _ = {
571
574
  value: d,
572
575
  placeholder: !m
573
576
  }, v = null;
@@ -584,13 +587,13 @@ process.env.NODE_ENV !== "production" && (rt.displayName = "SelectValue");
584
587
  var it = /*#__PURE__*/ Y.forwardRef(function(e, t) {
585
588
  let { render: n, className: r, style: i, ...a } = e, { store: o } = Z();
586
589
  return s("span", e, {
587
- state: { open: I(o, Q.open) },
590
+ state: { open: R(o, Q.open) },
588
591
  ref: t,
589
592
  props: [{
590
593
  "aria-hidden": !0,
591
594
  children: "▼"
592
595
  }, a],
593
- stateAttributesMapping: j
596
+ stateAttributesMapping: ne
594
597
  });
595
598
  });
596
599
  process.env.NODE_ENV !== "production" && (it.displayName = "SelectIcon");
@@ -601,10 +604,10 @@ process.env.NODE_ENV !== "production" && (at.displayName = "SelectPortalContext"
601
604
  //#endregion
602
605
  //#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/select/portal/SelectPortal.mjs
603
606
  var ot = /*#__PURE__*/ Y.forwardRef(function(e, t) {
604
- let { store: n } = Z(), r = I(n, Q.mounted), i = I(n, Q.forceMount);
607
+ let { store: n } = Z(), r = R(n, Q.mounted), i = R(n, Q.forceMount);
605
608
  return r || i ? /*#__PURE__*/ X(at.Provider, {
606
609
  value: !0,
607
- children: /*#__PURE__*/ X(A, {
610
+ children: /*#__PURE__*/ X(z, {
608
611
  ref: t,
609
612
  ...e
610
613
  })
@@ -631,13 +634,13 @@ var ut = {
631
634
  overflowX: "hidden",
632
635
  overflowY: "auto"
633
636
  }, dt = { position: "fixed" }, ft = /*#__PURE__*/ Y.forwardRef(function(e, n) {
634
- let { anchor: r, positionMethod: i = "absolute", className: a, render: o, side: s = "bottom", align: c = "center", sideOffset: u = 0, alignOffset: d = 0, collisionBoundary: p = "clipping-ancestors", collisionPadding: m, arrowPadding: h = 5, sticky: g = !1, disableAnchorTracking: v, alignItemWithTrigger: b = !0, collisionAvoidance: x = O, style: S, ...C } = e, { store: w, listRef: T, labelsRef: E, alignItemWithTriggerActiveRef: ee, selectedItemTextRef: te, valuesRef: D, initialValueRef: ne, popupRef: k, setValue: A } = Z(), re = Be(), j = I(w, Q.open), M = I(w, Q.mounted), N = I(w, Q.modal), P = I(w, Q.value), F = I(w, Q.openMethod), L = I(w, Q.positionerElement), R = I(w, Q.triggerElement), ie = I(w, Q.isItemEqualToValue), z = I(w, Q.transitionStatus), ae = Y.useRef(null), oe = Y.useRef(null), [ce, B] = Y.useState(b), V = M && ce && F !== "touch";
637
+ let { anchor: r, positionMethod: i = "absolute", className: a, render: o, side: s = "bottom", align: c = "center", sideOffset: u = 0, alignOffset: d = 0, collisionBoundary: p = "clipping-ancestors", collisionPadding: m, arrowPadding: h = 5, sticky: g = !1, disableAnchorTracking: v, alignItemWithTrigger: b = !0, collisionAvoidance: x = L, style: S, ...C } = e, { store: w, listRef: T, labelsRef: E, alignItemWithTriggerActiveRef: ee, selectedItemTextRef: te, valuesRef: D, initialValueRef: O, popupRef: ne, setValue: k } = Z(), A = Be(), j = R(w, Q.open), M = R(w, Q.mounted), re = R(w, Q.modal), N = R(w, Q.value), P = R(w, Q.openMethod), F = R(w, Q.positionerElement), I = R(w, Q.triggerElement), z = R(w, Q.isItemEqualToValue), ie = R(w, Q.transitionStatus), ae = Y.useRef(null), oe = Y.useRef(null), [ce, B] = Y.useState(b), V = M && ce && P !== "touch";
635
638
  !M && ce !== b && B(b), t(() => {
636
639
  M || (Q.scrollUpArrowVisible(w.state) && w.set("scrollUpArrowVisible", !1), Q.scrollDownArrowVisible(w.state) && w.set("scrollDownArrowVisible", !1));
637
- }, [w, M]), Y.useImperativeHandle(ee, () => V), q((V || N) && j, F === "touch", L, R);
640
+ }, [w, M]), Y.useImperativeHandle(ee, () => V), q((V || re) && j, P === "touch", F, I);
638
641
  let H = W({
639
642
  anchor: r,
640
- floatingRootContext: re,
643
+ floatingRootContext: A,
641
644
  positionMethod: i,
642
645
  mounted: M,
643
646
  side: s,
@@ -662,7 +665,7 @@ var ut = {
662
665
  }, [w, H.side]);
663
666
  let de = fe(e, ue, {
664
667
  styles: le,
665
- transitionStatus: z,
668
+ transitionStatus: ie,
666
669
  props: C,
667
670
  refs: [n, l((e) => {
668
671
  w.set("positionerElement", e);
@@ -674,13 +677,13 @@ var ut = {
674
677
  let t = pe.current;
675
678
  if (pe.current = e.size, e.size === t) return;
676
679
  let n = y(_);
677
- if (t !== 0 && !w.state.multiple && P !== null && We(D.current, P, ie) === -1) {
678
- let e = ne.current, t = e != null && We(D.current, e, ie) !== -1 ? e : null;
679
- A(t, n), t === null && (w.set("selectedIndex", null), te.current = null);
680
+ if (t !== 0 && !w.state.multiple && N !== null && We(D.current, N, z) === -1) {
681
+ let e = O.current, t = e != null && We(D.current, e, z) !== -1 ? e : null;
682
+ k(t, n), t === null && (w.set("selectedIndex", null), te.current = null);
680
683
  }
681
- if (t !== 0 && w.state.multiple && Array.isArray(P)) {
682
- let e = (e) => We(D.current, e, ie) !== -1, t = P.filter((t) => e(t));
683
- (t.length !== P.length || t.some((e) => !Ue(P, e, ie))) && (A(t, n), t.length === 0 && (w.set("selectedIndex", null), te.current = null));
684
+ if (t !== 0 && w.state.multiple && Array.isArray(N)) {
685
+ let e = (e) => We(D.current, e, z) !== -1, t = N.filter((t) => e(t));
686
+ (t.length !== N.length || t.some((e) => !Ue(N, e, z))) && (k(t, n), t.length === 0 && (w.set("selectedIndex", null), te.current = null));
684
687
  }
685
688
  if (j && V) {
686
689
  w.update({
@@ -688,7 +691,7 @@ var ut = {
688
691
  scrollDownArrowVisible: !1
689
692
  });
690
693
  let e = { height: "" };
691
- lt(L, e), lt(k.current, e);
694
+ lt(F, e), lt(ne.current, e);
692
695
  }
693
696
  }), G = Y.useMemo(() => ({
694
697
  ...H,
@@ -709,9 +712,9 @@ var ut = {
709
712
  onMapChange: me,
710
713
  children: /*#__PURE__*/ Ne(st.Provider, {
711
714
  value: G,
712
- children: [M && N && /*#__PURE__*/ X(se, {
715
+ children: [M && re && /*#__PURE__*/ X(se, {
713
716
  inert: he(!j),
714
- cutout: R
717
+ cutout: I
715
718
  }), de]
716
719
  })
717
720
  });
@@ -720,10 +723,10 @@ process.env.NODE_ENV !== "production" && (ft.displayName = "SelectPositioner");
720
723
  //#endregion
721
724
  //#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/select/popup/SelectPopup.mjs
722
725
  var pt = {
723
- ...N,
724
- ...x
726
+ ...j,
727
+ ...S
725
728
  }, mt = /*#__PURE__*/ Y.forwardRef(function(e, n) {
726
- let { render: r, className: i, style: a, finalFocus: o, ...c } = e, { store: u, popupRef: d, onOpenChangeComplete: f, setOpen: m, valueRef: g, firstItemTextRef: _, selectedItemTextRef: v, multiple: x, handleScrollArrowVisibility: S, scrollHandlerRef: T, listRef: ee, highlightItemOnHover: D } = Z(), { side: O, align: ne, alignItemWithTriggerActive: k, isPositioned: A, setControlledAlignItemWithTrigger: re } = ct(), j = _e(!0) != null, M = Be(), N = p(), { nonce: P, disableStyleElements: F } = ke(), L = I(u, Q.id), R = I(u, Q.open), z = I(u, Q.openMethod), oe = I(u, Q.mounted), se = I(u, Q.popupProps), ce = I(u, Q.transitionStatus), B = I(u, Q.triggerElement), V = I(u, Q.positionerElement), H = I(u, Q.listElement), U = Y.useRef(!1), le = Y.useRef(!1), de = Y.useRef({}), W = b(), fe = l((e) => {
729
+ let { render: r, className: i, style: a, finalFocus: o, ...c } = e, { store: u, popupRef: d, onOpenChangeComplete: f, setOpen: m, valueRef: g, firstItemTextRef: _, selectedItemTextRef: v, multiple: x, handleScrollArrowVisibility: S, scrollHandlerRef: T, listRef: ee, highlightItemOnHover: D } = Z(), { side: O, align: ne, alignItemWithTriggerActive: k, isPositioned: A, setControlledAlignItemWithTrigger: j } = ct(), M = _e(!0) != null, re = Be(), N = p(), { nonce: F, disableStyleElements: I } = ke(), L = R(u, Q.id), z = R(u, Q.open), ie = R(u, Q.openMethod), oe = R(u, Q.mounted), se = R(u, Q.popupProps), ce = R(u, Q.transitionStatus), B = R(u, Q.triggerElement), V = R(u, Q.positionerElement), H = R(u, Q.listElement), U = Y.useRef(!1), le = Y.useRef(!1), de = Y.useRef({}), W = b(), fe = l((e) => {
727
730
  if (!V || !d.current || !le.current) return;
728
731
  if (U.current || !k) {
729
732
  S();
@@ -751,14 +754,14 @@ var pt = {
751
754
  (_ || h >= f - 1) && (U.current = !0), S();
752
755
  });
753
756
  Y.useImperativeHandle(T, () => fe, [fe]), C({
754
- open: R,
757
+ open: z,
755
758
  ref: d,
756
759
  onComplete() {
757
- R && f?.(!0);
760
+ z && f?.(!0);
758
761
  }
759
762
  });
760
763
  let pe = {
761
- open: R,
764
+ open: z,
762
765
  transitionStatus: ce,
763
766
  side: O,
764
767
  align: ne
@@ -776,15 +779,15 @@ var pt = {
776
779
  marginBottom: V.style.marginBottom
777
780
  });
778
781
  }, [d, V]), t(() => {
779
- R || k || (le.current = !1, U.current = !1, lt(V, de.current));
782
+ z || k || (le.current = !1, U.current = !1, lt(V, de.current));
780
783
  }, [
781
- R,
784
+ z,
782
785
  k,
783
786
  V,
784
787
  d
785
788
  ]), t(() => {
786
789
  let e = d.current;
787
- if (!R || !B || !V || !e || k && !A || u.state.transitionStatus === "ending") return;
790
+ if (!z || !B || !V || !e || k && !A || u.state.transitionStatus === "ending") return;
788
791
  if (!k) {
789
792
  le.current = !0, W.request(S), e.style.removeProperty("--transform-origin");
790
793
  return;
@@ -801,31 +804,31 @@ var pt = {
801
804
  let r = e.top - c.top + e.height / 2;
802
805
  k = O.top - l.top + O.height / 2 - r;
803
806
  }
804
- let A = E + k + y + m, j = Math.min(C, A), M = C - h - y, P = A - j, F = T - 5;
805
- V.style.left = `${Ae(ne, 5, F - l.width)}px`, V.style.height = `${j}px`, V.style.maxHeight = "none", V.style.marginTop = `${h}px`, V.style.marginBottom = `${y}px`, e.style.height = "100%";
806
- let I = gt(f), L = P >= I - 1;
807
- L && (j = Math.min(C, l.height) - (P - I));
808
- let R = c.top < 20 || c.bottom > C - 20 || Math.ceil(j) + 1 < Math.min(p, b), z = (r.visualViewport?.scale ?? 1) !== 1 && ie;
809
- if (R || z) {
810
- le.current = !0, lt(V, de.current), re(!1);
807
+ let A = E + k + y + m, M = Math.min(C, A), re = C - h - y, F = A - M, I = T - 5;
808
+ V.style.left = `${Ae(ne, 5, I - l.width)}px`, V.style.height = `${M}px`, V.style.maxHeight = "none", V.style.marginTop = `${h}px`, V.style.marginBottom = `${y}px`, e.style.height = "100%";
809
+ let L = gt(f), R = F >= L - 1;
810
+ R && (M = Math.min(C, l.height) - (F - L));
811
+ let z = c.top < 20 || c.bottom > C - 20 || Math.ceil(M) + 1 < Math.min(p, b), ie = (r.visualViewport?.scale ?? 1) !== 1 && P;
812
+ if (z || ie) {
813
+ le.current = !0, lt(V, de.current), j(!1);
811
814
  return;
812
815
  }
813
- let ae = Math.max(b, j);
814
- if (L) {
816
+ let ae = Math.max(b, M);
817
+ if (R) {
815
818
  let e = Math.max(0, C - A);
816
- V.style.top = l.height >= M ? "0" : `${e}px`, V.style.height = `${j}px`, f.scrollTop = gt(f);
817
- } else V.style.bottom = "0", f.scrollTop = P;
819
+ V.style.top = l.height >= re ? "0" : `${e}px`, V.style.height = `${M}px`, f.scrollTop = gt(f);
820
+ } else V.style.bottom = "0", f.scrollTop = F;
818
821
  if (O) {
819
822
  let t = l.top, n = l.height, r = O.top + O.height / 2, i = Ae(n > 0 ? (r - t) / n * 100 : 50, 0, 100);
820
823
  e.style.setProperty("--transform-origin", `50% ${i}%`);
821
824
  }
822
- (ae === C || j >= x) && (U.current = !0), S(), D && u.state.selectedIndex === null && u.state.activeIndex === null && ee.current[0] != null && u.set("activeIndex", 0), le.current = !0;
825
+ (ae === C || M >= x) && (U.current = !0), S(), D && u.state.selectedIndex === null && u.state.activeIndex === null && ee.current[0] != null && u.set("activeIndex", 0), le.current = !0;
823
826
  } finally {
824
827
  t();
825
828
  }
826
829
  }, [
827
830
  u,
828
- R,
831
+ z,
829
832
  V,
830
833
  B,
831
834
  g,
@@ -834,7 +837,7 @@ var pt = {
834
837
  d,
835
838
  S,
836
839
  k,
837
- re,
840
+ j,
838
841
  W,
839
842
  H,
840
843
  ee,
@@ -842,7 +845,7 @@ var pt = {
842
845
  N,
843
846
  A
844
847
  ]), Y.useEffect(() => {
845
- if (!k || !V || !R) return;
848
+ if (!k || !V || !z) return;
846
849
  let e = w(V);
847
850
  function t(e) {
848
851
  m(!1, y(h, e));
@@ -852,7 +855,7 @@ var pt = {
852
855
  m,
853
856
  k,
854
857
  V,
855
- R
858
+ z
856
859
  ]);
857
860
  let me = {
858
861
  ...H ? {
@@ -864,7 +867,7 @@ var pt = {
864
867
  id: `${L}-list`
865
868
  },
866
869
  onKeyDown(e) {
867
- j && K.has(e.key) && e.stopPropagation();
870
+ M && K.has(e.key) && e.stopPropagation();
868
871
  },
869
872
  onScroll(e) {
870
873
  H || fe(e.currentTarget);
@@ -882,11 +885,11 @@ var pt = {
882
885
  c
883
886
  ]
884
887
  });
885
- return /*#__PURE__*/ Ne(Y.Fragment, { children: [!F && De.getElement(P), /*#__PURE__*/ X(ae, {
886
- context: M,
888
+ return /*#__PURE__*/ Ne(Y.Fragment, { children: [!I && De.getElement(F), /*#__PURE__*/ X(ae, {
889
+ context: re,
887
890
  modal: !1,
888
891
  disabled: !oe,
889
- openInteractionType: z,
892
+ openInteractionType: ie,
890
893
  returnFocus: o,
891
894
  restoreFocus: !0,
892
895
  children: G
@@ -907,7 +910,7 @@ function vt(e, t, n) {
907
910
  return e / n[t];
908
911
  }
909
912
  function yt(e, t) {
910
- return R({
913
+ return N({
911
914
  x: vt(e.x, "x", t),
912
915
  y: vt(e.y, "y", t),
913
916
  width: vt(e.width, "x", t),
@@ -932,8 +935,8 @@ function xt(e) {
932
935
  //#endregion
933
936
  //#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/select/list/SelectList.mjs
934
937
  var St = /*#__PURE__*/ Y.forwardRef(function(e, t) {
935
- let { render: n, className: r, style: i, ...a } = e, { store: o, scrollHandlerRef: c } = Z(), { alignItemWithTriggerActive: u } = ct(), d = I(o, Q.hasScrollArrows), f = I(o, Q.openMethod), p = I(o, Q.multiple), m = {
936
- id: `${I(o, Q.id)}-list`,
938
+ let { render: n, className: r, style: i, ...a } = e, { store: o, scrollHandlerRef: c } = Z(), { alignItemWithTriggerActive: u } = ct(), d = R(o, Q.hasScrollArrows), f = R(o, Q.openMethod), p = R(o, Q.multiple), m = {
939
+ id: `${R(o, Q.id)}-list`,
937
940
  role: "listbox",
938
941
  "aria-multiselectable": p || void 0,
939
942
  onScroll(e) {
@@ -966,32 +969,32 @@ var Tt = /*#__PURE__*/ Y.memo(/*#__PURE__*/ Y.forwardRef(function(e, n) {
966
969
  label: c,
967
970
  textRef: m,
968
971
  indexGuessBehavior: d.GuessFromOrder
969
- }), { store: _, itemProps: v, setOpen: b, setValue: x, selectionRef: S, typingRef: C, valuesRef: w, multiple: E, selectedItemTextRef: ee, disabled: te, readOnly: D } = Z(), O = I(_, Q.isActive, h.index), ne = I(_, Q.open), k = I(_, Q.isSelected, o), A = I(_, Q.isSelectedByFocus, h.index), re = I(_, Q.isItemEqualToValue), j = h.index, M = j !== -1, N = Y.useRef(null);
972
+ }), { store: _, itemProps: v, setOpen: b, setValue: x, selectionRef: S, typingRef: C, valuesRef: w, multiple: E, selectedItemTextRef: ee, disabled: te, readOnly: D } = Z(), O = R(_, Q.isActive, h.index), ne = R(_, Q.open), k = R(_, Q.isSelected, o), A = R(_, Q.isSelectedByFocus, h.index), j = R(_, Q.isItemEqualToValue), M = h.index, N = M !== -1, P = Y.useRef(null);
970
973
  t(() => {
971
- if (!M) return;
974
+ if (!N) return;
972
975
  let e = w.current;
973
- return e[j] = o, () => {
974
- delete e[j];
976
+ return e[M] = o, () => {
977
+ delete e[M];
975
978
  };
976
979
  }, [
980
+ N,
977
981
  M,
978
- j,
979
982
  o,
980
983
  w
981
984
  ]), t(() => {
982
- if (!M) return;
985
+ if (!N) return;
983
986
  let e = _.state.value, t = e;
984
- E && Array.isArray(e) && (t = e.length > 0 ? e[e.length - 1] : void 0), t !== void 0 && He(o, t, re) && (_.set("selectedIndex", j), m.current && (ee.current = m.current));
987
+ E && Array.isArray(e) && (t = e.length > 0 ? e[e.length - 1] : void 0), t !== void 0 && He(o, t, j) && (_.set("selectedIndex", M), m.current && (ee.current = m.current));
985
988
  }, [
989
+ N,
986
990
  M,
987
- j,
988
991
  E,
989
- re,
992
+ j,
990
993
  _,
991
994
  o,
992
995
  ee
993
996
  ]);
994
- let P = Y.useRef(null), F = Y.useRef("mouse"), R = Y.useRef(!1), { getButtonProps: ie, buttonRef: z } = T({
997
+ let F = Y.useRef(null), I = Y.useRef("mouse"), L = Y.useRef(!1), { getButtonProps: z, buttonRef: ie } = T({
995
998
  disabled: l,
996
999
  focusableWhenDisabled: !0,
997
1000
  native: f,
@@ -1005,7 +1008,7 @@ var Tt = /*#__PURE__*/ Y.memo(/*#__PURE__*/ Y.forwardRef(function(e, n) {
1005
1008
  if (te || D) return;
1006
1009
  let t = _.state.value;
1007
1010
  if (E) {
1008
- let n = Array.isArray(t) ? t : [], r = k ? Ge(n, o, re) : [...n, o];
1011
+ let n = Array.isArray(t) ? t : [], r = k ? Ge(n, o, j) : [...n, o];
1009
1012
  x(r, y(g, e));
1010
1013
  } else x(o, y(g, e)), b(!1, y(g, e));
1011
1014
  }
@@ -1017,14 +1020,14 @@ var Tt = /*#__PURE__*/ Y.memo(/*#__PURE__*/ Y.forwardRef(function(e, n) {
1017
1020
  "aria-selected": k,
1018
1021
  tabIndex: ne && O ? 0 : -1,
1019
1022
  onKeyDown(e) {
1020
- P.current = e.key, _.set("activeIndex", j), e.key === " " && C.current && e.preventDefault();
1023
+ F.current = e.key, _.set("activeIndex", M), e.key === " " && C.current && e.preventDefault();
1021
1024
  },
1022
1025
  onClick(e) {
1023
- let t = e.type === "click" && F.current !== "touch", n = e.nativeEvent.pointerType, r = t && L(e.nativeEvent) && (n !== void 0 || O), i = t && !r && !R.current;
1024
- R.current = !1, !(e.type === "keydown" && P.current === null) && (l || e.type === "keydown" && P.current === " " && C.current || i || (P.current = null, oe(e.nativeEvent)));
1026
+ let t = e.type === "click" && I.current !== "touch", n = e.nativeEvent.pointerType, r = t && re(e.nativeEvent) && (n !== void 0 || O), i = t && !r && !L.current;
1027
+ L.current = !1, !(e.type === "keydown" && F.current === null) && (l || e.type === "keydown" && F.current === " " && C.current || i || (F.current = null, oe(e.nativeEvent)));
1025
1028
  },
1026
1029
  onPointerEnter(e) {
1027
- F.current = e.pointerType;
1030
+ I.current = e.pointerType;
1028
1031
  },
1029
1032
  onPointerMove(e) {
1030
1033
  if (e.pointerType === "mouse" && e.buttons === 1) {
@@ -1033,39 +1036,39 @@ var Tt = /*#__PURE__*/ Y.memo(/*#__PURE__*/ Y.forwardRef(function(e, n) {
1033
1036
  }
1034
1037
  },
1035
1038
  onPointerDown(e) {
1036
- F.current = e.pointerType, R.current = !0, se();
1039
+ I.current = e.pointerType, L.current = !0, se();
1037
1040
  },
1038
1041
  onMouseUp() {
1039
- if (se(), l || F.current === "touch" || R.current) return;
1042
+ if (se(), l || I.current === "touch" || L.current) return;
1040
1043
  let e = !S.current.allowSelectedMouseUp && k, t = !S.current.allowUnselectedMouseUp && !k;
1041
- e || t || (R.current = !0, N.current?.click(), R.current = !1);
1044
+ e || t || (L.current = !0, P.current?.click(), L.current = !1);
1042
1045
  }
1043
1046
  }, B = s("div", e, {
1044
1047
  ref: [
1045
- z,
1048
+ ie,
1046
1049
  n,
1047
1050
  h.ref,
1048
- N
1051
+ P
1049
1052
  ],
1050
1053
  state: ae,
1051
1054
  props: [
1052
1055
  v,
1053
1056
  ce,
1054
1057
  p,
1055
- ie
1058
+ z
1056
1059
  ]
1057
1060
  }), V = Y.useMemo(() => ({
1058
1061
  selected: k,
1059
- index: j,
1062
+ index: M,
1060
1063
  textRef: m,
1061
1064
  selectedByFocus: A,
1062
- hasRegistered: M
1065
+ hasRegistered: N
1063
1066
  }), [
1064
1067
  k,
1065
- j,
1068
+ M,
1066
1069
  m,
1067
1070
  A,
1068
- M
1071
+ N
1069
1072
  ]);
1070
1073
  return /*#__PURE__*/ X(Ct.Provider, {
1071
1074
  value: V,
@@ -1084,7 +1087,7 @@ var Et = /*#__PURE__*/ Y.forwardRef(function(e, t) {
1084
1087
  });
1085
1088
  process.env.NODE_ENV !== "production" && (Et.displayName = "SelectItemIndicator");
1086
1089
  var Dt = /*#__PURE__*/ Y.memo(/*#__PURE__*/ Y.forwardRef((e, t) => {
1087
- let { render: n, className: r, style: i, keepMounted: a, ...o } = e, { selected: c } = wt(), l = Y.useRef(null), { transitionStatus: u, setMounted: d } = S(c), f = s("span", e, {
1090
+ let { render: n, className: r, style: i, keepMounted: a, ...o } = e, { selected: c } = wt(), l = Y.useRef(null), { transitionStatus: u, setMounted: d } = x(c), f = s("span", e, {
1088
1091
  ref: [t, l],
1089
1092
  state: {
1090
1093
  selected: c,
@@ -1094,7 +1097,7 @@ var Dt = /*#__PURE__*/ Y.memo(/*#__PURE__*/ Y.forwardRef((e, t) => {
1094
1097
  "aria-hidden": !0,
1095
1098
  children: "✔️"
1096
1099
  }, o],
1097
- stateAttributesMapping: x
1100
+ stateAttributesMapping: S
1098
1101
  });
1099
1102
  return C({
1100
1103
  open: c,
@@ -1130,7 +1133,7 @@ process.env.NODE_ENV !== "production" && (Ot.displayName = "SelectItemText");
1130
1133
  //#endregion
1131
1134
  //#region ../../node_modules/.bun/@base-ui+react@1.6.0+df7f6a806acd27ca/node_modules/@base-ui/react/select/scroll-arrow/SelectScrollArrow.mjs
1132
1135
  var kt = /*#__PURE__*/ Y.forwardRef(function(e, n) {
1133
- let { render: r, className: i, style: a, direction: o, keepMounted: c = !1, ...l } = e, u = o === "up", { store: d, popupRef: f, listRef: p, handleScrollArrowVisibility: m, scrollArrowsMountedCountRef: h } = Z(), { side: g, scrollDownArrowRef: _, scrollUpArrowRef: v } = ct(), y = I(d, u ? Q.scrollUpArrowVisible : Q.scrollDownArrowVisible), b = I(d, Q.openMethod), w = y && b !== "touch", T = z(), E = u ? v : _, { mounted: ee, transitionStatus: te, setMounted: D } = S(w);
1136
+ let { render: r, className: i, style: a, direction: o, keepMounted: c = !1, ...l } = e, u = o === "up", { store: d, popupRef: f, listRef: p, handleScrollArrowVisibility: m, scrollArrowsMountedCountRef: h } = Z(), { side: g, scrollDownArrowRef: _, scrollUpArrowRef: v } = ct(), y = R(d, u ? Q.scrollUpArrowVisible : Q.scrollDownArrowVisible), b = R(d, Q.openMethod), w = y && b !== "touch", T = ie(), E = u ? v : _, { mounted: ee, transitionStatus: te, setMounted: D } = x(w);
1134
1137
  t(() => (h.current += 1, d.state.hasScrollArrows || d.set("hasScrollArrows", !0), () => {
1135
1138
  h.current = Math.max(0, h.current - 1), h.current === 0 && d.state.hasScrollArrows && d.set("hasScrollArrows", !1);
1136
1139
  }), [d, h]), C({
@@ -1176,7 +1179,7 @@ var kt = /*#__PURE__*/ Y.forwardRef(function(e, n) {
1176
1179
  T.clear();
1177
1180
  }
1178
1181
  }, l],
1179
- stateAttributesMapping: x
1182
+ stateAttributesMapping: S
1180
1183
  });
1181
1184
  return ee || c ? O : null;
1182
1185
  });