@hanzo/dev 4.2.0 → 4.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (113) hide show
  1. package/dist/{BinaryViewer-CmFUK4zZ.js → BinaryViewer-BCDMNW2g.js} +19 -19
  2. package/dist/{ChatMarkdown-nvEI7iCv.js → ChatMarkdown-BUidXqSs.js} +2460 -2460
  3. package/dist/{DevicePanel-v5e3sEIf.js → DevicePanel-D-pksK3r.js} +532 -532
  4. package/dist/{DeviceStreamView-CCIfmbxH.js → DeviceStreamView-DsCoOzDV.js} +377 -377
  5. package/dist/{DiffCommentAnnotation-BPTN_2a6.js → DiffCommentAnnotation-2HD5qiyt.js} +227 -227
  6. package/dist/{DiffFileTree-B_br90vY.js → DiffFileTree-CuWvI5hS.js} +13 -13
  7. package/dist/{DiffPanel-V5R5TPuK.js → DiffPanel-Z2QVmBzu.js} +328 -328
  8. package/dist/{DiffWorkerPoolProvider-BwFR-Fc9.js → DiffWorkerPoolProvider-CEfiCIGR.js} +3 -3
  9. package/dist/{DocumentPages-VSn83vty.js → DocumentPages-glImt2JO.js} +3 -3
  10. package/dist/{ExpandedImageDialog-CAorLacL.js → ExpandedImageDialog-iqO3LiIj.js} +404 -404
  11. package/dist/{FileExplorerPane-CeHulcPz.js → FileExplorerPane-GwnRmXEh.js} +4 -4
  12. package/dist/{FilePreviewPanel-BVNLvWOc.js → FilePreviewPanel-CXWpTlfI.js} +1089 -1089
  13. package/dist/{FontFilePreview-Dj8Blcay.js → FontFilePreview-CDydHOXg.js} +2 -2
  14. package/dist/{FontViewer-CLDdwhSr.js → FontViewer-DDt9C5Cb.js} +5 -5
  15. package/dist/{HanzoConnectAccountPages-BEzYfu2l.js → HanzoConnectAccountPages-_sfrtw9j.js} +357 -357
  16. package/dist/{HanzoConnectSidebarSignIn-BhD6-Up5.js → HanzoConnectSidebarSignIn-coFQvyRw.js} +3 -3
  17. package/dist/{Icons-CvSmt8vD.js → Icons-CdegMw5l.js} +1 -1
  18. package/dist/{LargeTextViewer-DfFnYGCw.js → LargeTextViewer-D3RklYQB.js} +8 -8
  19. package/dist/{MermaidDiagram-CTolIzQD.js → MermaidDiagram-sVLnox7j.js} +8 -8
  20. package/dist/{MermaidFilePreview-CP2zP4FU.js → MermaidFilePreview-BmPdNxW5.js} +2 -2
  21. package/dist/{MermaidViewer-BDfYkS9E.js → MermaidViewer-BlKTevTF.js} +3 -3
  22. package/dist/{NotebookPreview-Cybs5uM0.js → NotebookPreview-C0gSEyeO.js} +10 -10
  23. package/dist/{OfficeFilePreview-7JsmSoKU.js → OfficeFilePreview-Ago_DWEt.js} +2 -2
  24. package/dist/{OfficeViewer-CJoojlJK.js → OfficeViewer-DBRqtLet.js} +10 -10
  25. package/dist/{OpenInPicker-BIMWUxBP.js → OpenInPicker-DD_h7VLv.js} +287 -287
  26. package/dist/{OpenXmlOfficeViewer-C24Kj8DM.js → OpenXmlOfficeViewer-B4dxjpba.js} +4 -4
  27. package/dist/{PdfViewer-Cf1iD759.js → PdfViewer-BanXvPmz.js} +16 -16
  28. package/dist/{PreviewFaviconIcon-zFOuzIxe.js → PreviewFaviconIcon-BwYKB-3e.js} +892 -892
  29. package/dist/{PreviewImage-oY5YnuTr.js → PreviewImage-6UU-M6_B.js} +3 -3
  30. package/dist/{PreviewImageContent-n6eLzY99.js → PreviewImageContent-D-00K-A9.js} +3 -3
  31. package/dist/{PreviewPanel-Bo4Lt02m.js → PreviewPanel-CiuHdDv8.js} +489 -489
  32. package/dist/{PreviewPanelShell-DhXLeN5j.js → PreviewPanelShell-Dezxjg0T.js} +71 -71
  33. package/dist/{ProjectIconPickerDialog-D0kFzt8f.js → ProjectIconPickerDialog-LomrzROv.js} +29 -29
  34. package/dist/{ProjectMonogram-D35xrrXQ.js → ProjectMonogram-D21--FQY.js} +1 -1
  35. package/dist/{ProviderAuthTerminal-DfsXnu7A.js → ProviderAuthTerminal-pQXIfodT.js} +3 -3
  36. package/dist/{PullRequestCodeTab-Dv_0kVad.js → PullRequestCodeTab-Cqfh5eN2.js} +476 -476
  37. package/dist/{PullRequestReviewAnnotation-LeuwO-iH.js → PullRequestReviewAnnotation-B4Lp8Ktf.js} +334 -334
  38. package/dist/{ReadOnlySourcePreview-D__IA5g1.js → ReadOnlySourcePreview-7xXUUySV.js} +5 -5
  39. package/dist/{RelativeTime-BMRprQS8.js → RelativeTime-B_yprjav.js} +2 -2
  40. package/dist/{RightPanelResizeHandle-BLbSz-gk.js → RightPanelResizeHandle-PumvYb9P.js} +2 -2
  41. package/dist/{ThemeEditorPanel-CUDdsRsE.js → ThemeEditorPanel-BmXXpaCI.js} +196 -196
  42. package/dist/{ThreadTerminalDrawer-BF3Ix0q_.js → ThreadTerminalDrawer-DCgE3ojz.js} +461 -461
  43. package/dist/{VirtualTablePreview-dajviAfu.js → VirtualTablePreview-mA6DOFwb.js} +1 -1
  44. package/dist/{anchoredCopyToast-DnUtg1n_.js → anchoredCopyToast-BVa_dlBU.js} +2 -2
  45. package/dist/{assetUrls-DkY7vXfM.js → assetUrls-D8lRk7Xd.js} +45 -45
  46. package/dist/{browserLinkTarget-CA46wnQC.js → browserLinkTarget-BbVlDQYx.js} +18 -18
  47. package/dist/builder/api/models.d.ts +2 -0
  48. package/dist/builder/api/models.js +6 -1
  49. package/dist/builder/api/sandbox.d.ts +2 -0
  50. package/dist/builder/api/sandbox.js +3 -1
  51. package/dist/builder/desk.d.ts +6 -0
  52. package/dist/builder/desk.js +79 -14
  53. package/dist/builder/mind.d.ts +5 -5
  54. package/dist/builder/mind.js +35 -14
  55. package/dist/builder/pane.d.ts +1 -1
  56. package/dist/builder/pane.js +1 -1
  57. package/dist/builder/panel.js +5 -5
  58. package/dist/builder/preview-fallback.d.ts +47 -0
  59. package/dist/builder/preview-fallback.js +341 -0
  60. package/dist/{changedFileKind-D6QYvIez.js → changedFileKind-DrjqPCpz.js} +5 -5
  61. package/dist/{collapsible-DFT41MdC.js → collapsible-CDT6JKbk.js} +1 -1
  62. package/dist/{color-picker-CshqBbpY.js → color-picker-kSVcH92L.js} +16 -16
  63. package/dist/core.js +1 -1
  64. package/dist/{decodeImagePreview-DnfFEjhw.js → decodeImagePreview-ZtWU3urU.js} +2 -2
  65. package/dist/{delimitedPreview-BiEpdYOj.js → delimitedPreview-DbbXcqOT.js} +1 -1
  66. package/dist/{dialog-DhQtWGRa.js → dialog-EmpqFZiK.js} +40 -40
  67. package/dist/{embed-c030vUqM.js → embed-CPWZKyIW.js} +36098 -35677
  68. package/dist/{empty-Bm5EzcG8.js → empty-ChM6gdzn.js} +1 -1
  69. package/dist/{errors-DrFQSJW3.js → errors-D8_Zn8KN.js} +2 -2
  70. package/dist/{fileContextMenu-BBo91omq.js → fileContextMenu-DW94DZj4.js} +54 -54
  71. package/dist/{fileExplorerLabel-AikEChiS.js → fileExplorerLabel-Cfz-3q1U.js} +507 -507
  72. package/dist/{fileSurfaceChrome-Cqkvn8RQ.js → fileSurfaceChrome-BDyKklTq.js} +26 -26
  73. package/dist/{hanzoWebAnalytics-CCxpTzcI.js → hanzoWebAnalytics-B1eETW-7.js} +1 -1
  74. package/dist/index.css +1 -1
  75. package/dist/{input-group-DEJEuwc9.js → input-group-BZ_QN-y7.js} +1 -1
  76. package/dist/{keybindings-C5tK_GAk.js → keybindings-D0pBlT1k.js} +7812 -7806
  77. package/dist/keymap.js +1 -1
  78. package/dist/{lucideIconByName-DUaXKH0V.js → lucideIconByName-CXY44V8P.js} +6835 -6848
  79. package/dist/{mediaReference-Bt_mh-ag.js → mediaReference-3wc4ZfY8.js} +95 -95
  80. package/dist/mediaSource-jW5c7b4r.js +70 -0
  81. package/dist/{modelPickerVisibility-Jue3CLfc.js → modelPickerVisibility-DBTc5r1G.js} +1 -1
  82. package/dist/{network-BbwqRm8c.js → network-wuXD7-is.js} +1 -1
  83. package/dist/{popover-anNQdce7.js → popover-BAyP2Tdr.js} +1 -1
  84. package/dist/{presentation-D9mVPBHm.js → presentation-68y8EAuH.js} +299 -299
  85. package/dist/{previewFailureMessages-BKpsSGX5.js → previewFailureMessages-CFguipaK.js} +3 -3
  86. package/dist/query-BPk2W3QN.js +63 -0
  87. package/dist/{readBinaryPreview-BAQ4fFjm.js → readBinaryPreview-CjZdBNVR.js} +2 -2
  88. package/dist/{refresh-icon-BYx64to1.js → refresh-icon-Vo5ImiQL.js} +1 -1
  89. package/dist/{scroll-area-ChvX8uOh.js → scroll-area-CEoyjC7h.js} +1 -1
  90. package/dist/{select-DumYjny_.js → select-DLFnkZsI.js} +2 -2
  91. package/dist/{session-_kmiSv2A.js → session-Decc4Fo5.js} +1063 -1063
  92. package/dist/{skeleton-CJqwfMSF.js → skeleton-BOKpAZv6.js} +1 -1
  93. package/dist/{switch-COwevwaq.js → switch-DjpPjtQN.js} +2 -2
  94. package/dist/{themePalette-Dl_7omVL.js → themePalette-C-GtwwqV.js} +977 -977
  95. package/dist/{threadSearch-BHyWwcV3.js → threadSearch-CrtCof6n.js} +162 -162
  96. package/dist/{toggle-CEO6qTxB.js → toggle-B4F0EEtI.js} +1 -1
  97. package/dist/{toggle-group-BHovdMDl.js → toggle-group-l8hRPswr.js} +2 -2
  98. package/dist/{use-atom-command-ByoYq_K6.js → use-atom-command-XemtT1Gv.js} +1 -1
  99. package/dist/{useAriaLabelledBy-DPSISlnL.js → useAriaLabelledBy-CibvSz-b.js} +1 -1
  100. package/dist/{useFileMetadata-e7zsixVX.js → useFileMetadata-PesehDX0.js} +33 -33
  101. package/dist/{useFloatingRootContext-CJ9stHca.js → useFloatingRootContext-ppoGvqar.js} +1 -1
  102. package/dist/{useLiveRefresh-BkKJKXhH.js → useLiveRefresh-aHkPuz6N.js} +172 -172
  103. package/dist/{useNextRenderData-CyUmSAgz.js → useNextRenderData-CNhjWfP0.js} +1 -1
  104. package/dist/{useSettings-DYG9Dmro.js → useSettings-B_MtcTyD.js} +139 -139
  105. package/dist/{useTextFieldSpeech-COa9XcRx.js → useTextFieldSpeech-B1wCgLPO.js} +1404 -1404
  106. package/dist/{useTheme-D2ZM1gvV.js → useTheme-WlXpQRKG.js} +4 -4
  107. package/dist/{utils-515nQ17G.js → utils-DtKQl-D3.js} +6184 -6172
  108. package/dist/{wizard-i86ViMRc.js → wizard-DjD4UNew.js} +3 -3
  109. package/dist/{workspaceFocus-BV1_9KiH.js → workspaceFocus-MR1plm6A.js} +144 -144
  110. package/dist/{zap-e0OsRjBR.js → zap-iwsUKtvA.js} +30 -17
  111. package/package.json +1 -1
  112. package/dist/mediaSource-zI7JWid4.js +0 -70
  113. package/dist/query-BxrrBAp6.js +0 -63
@@ -1,10 +1,10 @@
1
- import { $a as e, $i as t, $o as n, $r as r, Bo as i, Ca as a, Ci as o, Co as s, Cs as c, Di as l, Ds as u, Ea as d, Eo as f, Fi as p, Fo as m, Ho as h, Ii as g, Io as _, Ja as v, Jo as y, Jr as b, Li as x, Mo as S, Oi as C, Oo as w, Os as T, Pa as E, Qi as D, Qr as O, Ra as k, Ro as ee, S_ as te, So as ne, Ta as re, Ti as A, Ts as ie, Va as j, Wo as ae, Xo as M, Xr as oe, Ya as se, Zo as ce, Zr as le, _i as ue, _s as de, bi as fe, bo as pe, bs as me, da as he, ei as ge, eo as _e, es as ve, gi as ye, go as be, ho as xe, ii as Se, io as Ce, ja as we, jo as N, ki as Te, ko as P, ks as Ee, ls as De, ma as Oe, mo as F, ni as ke, no as Ae, oi as je, oo as Me, qa as Ne, qo as Pe, ri as Fe, sa as Ie, so as Le, ss as Re, t as ze, ti as Be, to as Ve, uo as He, ur as Ue, us as We, vi as Ge, wa as Ke, wo as qe, ws as Je, xs as Ye, yo as Xe, zo as Ze } from "./utils-515nQ17G.js";
1
+ import { $a as e, $i as t, $o as n, $r as r, Bo as i, C_ as a, Ca as o, Ci as s, Co as c, Cs as l, Di as u, Ds as d, Ea as f, Eo as p, Fi as m, Fo as h, Ho as g, Ii as _, Io as v, Ja as y, Jo as b, Jr as x, Li as S, Mo as C, Oi as w, Oo as T, Os as E, Pa as D, Qi as O, Qr as k, Ra as ee, Ro as te, So as ne, Ta as re, Ti as A, Ts as ie, Va as j, Wo as ae, Xo as M, Xr as oe, Ya as se, Zo as ce, Zr as le, _i as ue, _s as de, bi as fe, bo as pe, bs as me, da as he, ei as ge, eo as _e, es as ve, gi as ye, go as be, ho as xe, ii as Se, io as Ce, ja as we, jo as N, ki as Te, ko as P, ks as Ee, ls as De, ma as Oe, mo as F, ni as ke, no as Ae, oi as je, oo as Me, qa as Ne, qo as Pe, ri as Fe, sa as Ie, so as Le, ss as Re, t as ze, ti as Be, to as Ve, uo as He, ur as Ue, us as We, vi as Ge, wa as Ke, wo as qe, ws as Je, xs as Ye, yo as Xe, zo as Ze } from "./utils-DtKQl-D3.js";
2
2
  import { t as Qe } from "./search-3oqTSaO6.js";
3
3
  import { r as $e } from "./message-circle-D3IVrLlW.js";
4
4
  import { t as et } from "./x-Bjr9Dwvl.js";
5
- import { t as tt } from "./useFloatingRootContext-CJ9stHca.js";
6
- import { S as nt, _ as rt, b as it, d as at, f as ot, g as st, h as ct, l as lt, m as ut, p as dt, u as ft, v as pt, x as mt, y as ht } from "./select-DumYjny_.js";
7
- import { t as gt } from "./scroll-area-ChvX8uOh.js";
5
+ import { t as tt } from "./useFloatingRootContext-ppoGvqar.js";
6
+ import { S as nt, _ as rt, b as it, d as at, f as ot, g as st, h as ct, l as lt, m as ut, p as dt, u as ft, v as pt, x as mt, y as ht } from "./select-DLFnkZsI.js";
7
+ import { t as gt } from "./scroll-area-CEoyjC7h.js";
8
8
  import * as I from "react";
9
9
  import { memo as _t, useEffect as L, useEffectEvent as R, useId as vt } from "react";
10
10
  import { c as z } from "react/compiler-runtime";
@@ -57,7 +57,7 @@ function Tt(e) {
57
57
  function Et(e = !0) {
58
58
  let t = Me(), n = I.useRef(null);
59
59
  return I.useEffect(() => {
60
- if (!e || s) return;
60
+ if (!e || c) return;
61
61
  let r = n.current;
62
62
  if (r == null) return;
63
63
  let i = Tt(r);
@@ -81,7 +81,7 @@ function Dt(e, t = !1) {
81
81
  }
82
82
  // ../../node_modules/.pnpm/@base-ui+react@1.9.0_@date-fns+tz@1.5.0_@types+react@19.3.0_date-fns@4.4.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/floating-ui-react/hooks/gridNavigation.mjs
83
83
  function Ot(e, t, n, r, i, a, o, s, c, l = 2) {
84
- let u = k(n.current, {
84
+ let u = ee(n.current, {
85
85
  event: e,
86
86
  orientation: r,
87
87
  loopFocus: i,
@@ -223,7 +223,7 @@ function Gt(e, t, n) {
223
223
  }
224
224
  // ../../node_modules/.pnpm/@base-ui+react@1.9.0_@date-fns+tz@1.5.0_@types+react@19.3.0_date-fns@4.4.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/combobox/root/AriaCombobox.mjs
225
225
  function Kt(n) {
226
- let { id: r, onOpenChangeComplete: i, defaultSelectedValue: o = null, selectedValue: s, onSelectedValueChange: l, defaultInputValue: d, inputValue: f, open: h, defaultOpen: g = !1, selectionMode: b, onItemHighlighted: x, name: C, form: E, disabled: D = !1, readOnly: k = !1, required: ee = !1, inputRef: te, grid: ne = !1, items: A, filteredItems: j, filter: le, filterQuery: de, openOnInputClick: pe = !0, autoHighlight: me = !1, keepHighlight: ye = !1, highlightItemOnHover: be = !0, loopFocus: Se = !0, itemToStringLabel: Ce, itemToStringValue: we, isItemEqualToValue: N = ft, virtualized: Te = !1, inline: De = !1, fillInputOnItemPress: ke = !0, modal: je = !1, limit: Me = -1, autoComplete: Le = "list", formAutoComplete: Re, locale: ze, submitOnItemClick: Be = !1 } = n, { clearErrors: He } = ge(), { setDirty: Ue, validityData: We, setFilled: qe, name: Xe, disabled: Ze, setTouched: Qe, setFocused: $e, validationMode: et, validation: ct } = Fe(), ht = p(), gt = O({ id: r }), _t = Vt({ locale: ze }), L = Array.isArray(A) ? null : A;
226
+ let { id: r, onOpenChangeComplete: i, defaultSelectedValue: a = null, selectedValue: s, onSelectedValueChange: c, defaultInputValue: u, inputValue: f, open: p, defaultOpen: g = !1, selectionMode: _, onItemHighlighted: x, name: S, form: w, disabled: D = !1, readOnly: O = !1, required: ee = !1, inputRef: te, grid: ne = !1, items: A, filteredItems: j, filter: le, filterQuery: de, openOnInputClick: pe = !0, autoHighlight: me = !1, keepHighlight: ye = !1, highlightItemOnHover: be = !0, loopFocus: Se = !0, itemToStringLabel: Ce, itemToStringValue: we, isItemEqualToValue: N = ft, virtualized: Te = !1, inline: De = !1, fillInputOnItemPress: ke = !0, modal: je = !1, limit: Me = -1, autoComplete: Le = "list", formAutoComplete: Re, locale: ze, submitOnItemClick: Be = !1 } = n, { clearErrors: He } = ge(), { setDirty: Ue, validityData: We, setFilled: qe, name: Xe, disabled: Ze, setTouched: Qe, setFocused: $e, validationMode: et, validation: ct } = Fe(), ht = m(), gt = k({ id: r }), _t = Vt({ locale: ze }), L = Array.isArray(A) ? null : A;
227
227
  if (L && typeof L.label != "function") throw Error(process.env.NODE_ENV === "production" ? Ee(100) : "Base UI: the `items` prop received an object that is not a collection, so its items cannot be read. Pass an array of items, an array of groups with items, or the result of `createItems()`. See https://base-ui.com/react/components/combobox#createitems");
228
228
  let R = L ? L.data : A, vt = L?.value, z = vt ? void 0 : R, bt = I.useMemo(() => {
229
229
  if (!j || !vt) return;
@@ -254,30 +254,30 @@ function Kt(n) {
254
254
  function Ct(e) {
255
255
  return mt(e, xt);
256
256
  }
257
- let [wt, Tt] = I.useState(!1), [Et, V] = I.useState(null), Pt = I.useRef(Et), Ft = I.useRef([]), It = I.useRef([]), Lt = I.useRef(null), H = I.useRef(null), Bt = I.useRef(null), Ht = I.useRef(null), Kt = I.useRef(null), qt = I.useRef(!1), Jt = I.useRef(null), Yt = I.useRef(null), Xt = I.useRef(null), Zt = I.useRef(Wt), Qt = I.useRef(null), $t = I.useRef([]), en = I.useRef(null), U = Ze || D, tn = Xe ?? C, W = b === "multiple", nn = b === "single", rn = f !== void 0 || d !== void 0, G = R !== void 0, an = j !== void 0, K;
257
+ let [wt, Tt] = I.useState(!1), [Et, V] = I.useState(null), Pt = I.useRef(Et), Ft = I.useRef([]), It = I.useRef([]), Lt = I.useRef(null), H = I.useRef(null), Bt = I.useRef(null), Ht = I.useRef(null), Kt = I.useRef(null), qt = I.useRef(!1), Jt = I.useRef(null), Yt = I.useRef(null), Xt = I.useRef(null), Zt = I.useRef(Wt), Qt = I.useRef(null), $t = I.useRef([]), en = I.useRef(null), U = Ze || D, tn = Xe ?? S, W = _ === "multiple", nn = _ === "single", rn = f !== void 0 || u !== void 0, G = R !== void 0, an = j !== void 0, K;
258
258
  K = me === "always" ? "always" : me ? "input-change" : !1;
259
- let [q, on] = _({
259
+ let [q, on] = v({
260
260
  controlled: s,
261
- default: W ? o ?? c : o,
261
+ default: W ? a ?? l : a,
262
262
  name: "Combobox",
263
263
  state: "selectedValue"
264
264
  }), sn = I.useMemo(() => le === null ? () => !0 : le === void 0 ? zt(_t, St) : le, [
265
265
  le,
266
266
  _t,
267
267
  St
268
- ]), cn = T(() => rn ? d ?? "" : nn ? Ct(q) : "").current, [J, ln] = _({
268
+ ]), cn = E(() => rn ? u ?? "" : nn ? Ct(q) : "").current, [J, ln] = v({
269
269
  controlled: f,
270
270
  default: cn,
271
271
  name: "Combobox",
272
272
  state: "inputValue"
273
- }), [Y, un] = _({
274
- controlled: h,
273
+ }), [Y, un] = v({
274
+ controlled: p,
275
275
  default: g,
276
276
  name: "Combobox",
277
277
  state: "open"
278
- }), dn = it(R), X = !Y && Et !== null ? Et : String(J).trim(), fn = nn ? Ct(q) : "", pn = nn && !wt && X !== "" && fn.length === X.length && _t.contains(fn, X), mn = pn ? "" : de ?? X, hn = G && an && pn && (!L || L.hasValue(q, N)), gn = I.useMemo(() => R ? pt(R) : c, [R]), _n = I.useMemo(() => {
278
+ }), dn = it(R), X = !Y && Et !== null ? Et : String(J).trim(), fn = nn ? Ct(q) : "", pn = nn && !wt && X !== "" && fn.length === X.length && _t.contains(fn, X), mn = pn ? "" : de ?? X, hn = G && an && pn && (!L || L.hasValue(q, N)), gn = I.useMemo(() => R ? pt(R) : l, [R]), _n = I.useMemo(() => {
279
279
  if (j && !hn) return j;
280
- if (!R) return c;
280
+ if (!R) return l;
281
281
  if (dn) {
282
282
  let e = R, t = [], n = 0;
283
283
  for (let r of e) {
@@ -323,19 +323,19 @@ function Kt(n) {
323
323
  j,
324
324
  bt,
325
325
  vt
326
- ]), Q = T(() => {
326
+ ]), Q = E(() => {
327
327
  let e = null;
328
- return De && Y && G && b !== "none" && (e = ot(Z, q, N, W)), new Ie({
328
+ return De && Y && G && _ !== "none" && (e = ot(Z, q, N, W)), new Ie({
329
329
  id: gt,
330
330
  labelId: void 0,
331
331
  selectedValue: q,
332
332
  open: Y,
333
333
  items: z,
334
- selectionMode: b,
334
+ selectionMode: _,
335
335
  name: tn,
336
- form: E,
336
+ form: w,
337
337
  disabled: U,
338
- readOnly: k,
338
+ readOnly: O,
339
339
  required: ee,
340
340
  grid: ne,
341
341
  virtualized: Te,
@@ -359,9 +359,9 @@ function Kt(n) {
359
359
  itemRoot: {
360
360
  props: Je,
361
361
  id: gt,
362
- selectionMode: b,
362
+ selectionMode: _,
363
363
  disabled: U,
364
- readOnly: k,
364
+ readOnly: O,
365
365
  isItemEqualToValue: N
366
366
  },
367
367
  positionerElement: null,
@@ -373,7 +373,7 @@ function Kt(n) {
373
373
  popupSide: null,
374
374
  openMethod: null,
375
375
  inputInsidePopup: !0,
376
- inputOwnsFormValue: b === "none"
376
+ inputOwnsFormValue: _ === "none"
377
377
  }, {
378
378
  onOpenChangeComplete: ie,
379
379
  setOpen: ie,
@@ -396,13 +396,13 @@ function Kt(n) {
396
396
  pointerDownItemRef: en,
397
397
  selectionEventRef: Xt
398
398
  }, Rt);
399
- }).current, vn = b === "none" ? J : q, yn = I.useMemo(() => b === "none" ? vn : Array.isArray(q) ? q.map((e) => nt(e, we)) : nt(q, we), [
399
+ }).current, vn = _ === "none" ? J : q, yn = I.useMemo(() => _ === "none" ? vn : Array.isArray(q) ? q.map((e) => nt(e, we)) : nt(q, we), [
400
400
  vn,
401
401
  we,
402
- b,
402
+ _,
403
403
  q
404
404
  ]), bn = P(x), xn = P(i), Sn = Q.useState("activeIndex"), Cn = Q.useState("selectedIndex"), wn = Q.useState("positionerElement"), Tn = Q.useState("listElement"), En = Q.useState("triggerElement"), Dn = Q.useState("inputElement"), On = Q.useState("inputGroupElement"), $ = Q.useState("inline"), kn = Q.useState("inputInsidePopup"), An = Q.useState("inputOwnsFormValue"), jn = nn && !kn && J === fn, Mn = se(En), { openMethod: Nn, triggerProps: Pn } = Ge(Y), Fn = P(() => yn);
405
- oe(kn ? Mn : H, gt, vn, Fn, !U, C);
405
+ oe(kn ? Mn : H, gt, vn, Fn, !U, S);
406
406
  let In = P(() => {
407
407
  R ? It.current = Z.map(Ct) : Q.set("forceMounted", !0);
408
408
  }), Ln = P((e, t, n, r) => {
@@ -423,7 +423,7 @@ function Kt(n) {
423
423
  n === null ? Ln(void 0, -1, r, e.event) : Ln($t.current[n], n, r, e.event);
424
424
  }), zn = P((e, t) => {
425
425
  if (n.onInputValueChange?.(e, t), !t.isCanceled) {
426
- if (qt.current = t.reason === y, t.reason === "input-change") {
426
+ if (qt.current = t.reason === b, t.reason === "input-change") {
427
427
  Y && Et !== null && V(null);
428
428
  let n = t.event, r = n.inputType;
429
429
  if (n.type === "compositionend" || r != null && r !== "" && r !== "insertReplacementText") {
@@ -432,8 +432,8 @@ function Kt(n) {
432
432
  let n = Q.state.listElement;
433
433
  if (!Q.state.virtualized && n) {
434
434
  let e = Lt.current;
435
- for (let t of S(n.firstElementChild ?? n)) {
436
- if (!m(t) || (e ? !Ve(e, t) : t.getAttribute("role") === "dialog")) break;
435
+ for (let t of C(n.firstElementChild ?? n)) {
436
+ if (!h(t) || (e ? !Ve(e, t) : t.getAttribute("role") === "dialog")) break;
437
437
  if (Dt(t)) {
438
438
  t.scrollTop = 0;
439
439
  break;
@@ -450,17 +450,17 @@ function Kt(n) {
450
450
  }
451
451
  }), Bn = P((e) => {
452
452
  let t = !e && kn && !$ && J !== "" && (String(J).trim() === Et || J === fn);
453
- !e && (t || J === "" || jn) && Tt(!1), V(null), t && zn("", F(y));
453
+ !e && (t || J === "" || jn) && Tt(!1), V(null), t && zn("", F(b));
454
454
  }), [Vn, Hn] = I.useState(!1), Un = P((e, t) => {
455
455
  if (Y === e) return;
456
456
  t.reason === "escape-key" && G && Z.length === 0 && !Kt.current && t.allowPropagation();
457
457
  let r = t, i = Oe(r);
458
- if (n.onOpenChange?.(e, r), Qt.current?.hasQuery && t.reason === "input-change" === t.isCanceled && (Qt.current = null), !t.isCanceled && (e && Et !== null && Bn(t.reason === Pe), !e && wt && (nn ? ($ || V(X), X === "" && Tt(!1)) : W && ($ || V(X), kn && Rn({ activeIndex: null }), (!kn || $) && zn("", F(y, t.event, void 0, { isItemPress: t.reason === ce })))), e || Hn(i()), un(e), !e && kn && (t.reason === "focus-out" || t.reason === "outside-press") && (Qe(!0), $e(!1), et === "onBlur"))) {
459
- let e = b === "none" ? J : q;
458
+ if (n.onOpenChange?.(e, r), Qt.current?.hasQuery && t.reason === "input-change" === t.isCanceled && (Qt.current = null), !t.isCanceled && (e && Et !== null && Bn(t.reason === Pe), !e && wt && (nn ? ($ || V(X), X === "" && Tt(!1)) : W && ($ || V(X), kn && Rn({ activeIndex: null }), (!kn || $) && zn("", F(b, t.event, void 0, { isItemPress: t.reason === ce })))), e || Hn(i()), un(e), !e && kn && (t.reason === "focus-out" || t.reason === "outside-press") && (Qe(!0), $e(!1), et === "onBlur"))) {
459
+ let e = _ === "none" ? J : q;
460
460
  ct.commit(e);
461
461
  }
462
462
  }), Wn = P((e, t) => {
463
- l?.(e, t), !t.isCanceled && (on(e), (b === "none" && Lt.current && ke || nn && !Q.state.inputInsidePopup) && zn(Ct(e), F(t.reason, t.event)));
463
+ c?.(e, t), !t.isCanceled && (on(e), (_ === "none" && Lt.current && ke || nn && !Q.state.inputInsidePopup) && zn(Ct(e), F(t.reason, t.event)));
464
464
  }), Gn = P((e, t) => {
465
465
  let n = Ae(e), r = Xt.current ?? e;
466
466
  Xt.current = null;
@@ -470,7 +470,7 @@ function Kt(n) {
470
470
  let e = Array.isArray(q) ? q : [], n = st(e, t, N), r = n ? ut(e, t, N) : [...e, t];
471
471
  if (Wn(r, i), i.isCanceled || !(H.current && H.current.value.trim() !== "")) return;
472
472
  if (Q.state.inputInsidePopup) {
473
- zn("", F(y, i.event, void 0, { isItemPress: !0 }));
473
+ zn("", F(b, i.event, void 0, { isItemPress: !0 }));
474
474
  let e = Qt.current;
475
475
  e && !n && (e.toggledValue = t);
476
476
  } else Un(!1, i);
@@ -482,17 +482,17 @@ function Kt(n) {
482
482
  let e = ct.inputRef.current?.form ?? Q.state.inputElement?.form;
483
483
  e && typeof e.requestSubmit == "function" && e.requestSubmit();
484
484
  }), qn = P(() => {
485
- if (xn?.(!1), Tt(!1), V(null), Rn(b === "none" ? {
485
+ if (xn?.(!1), Tt(!1), V(null), Rn(_ === "none" ? {
486
486
  activeIndex: null,
487
487
  selectedIndex: null
488
- } : { activeIndex: null }), W && H.current && H.current.value !== "" && !qt.current && zn("", F(y)), nn) {
489
- if (Q.state.inputInsidePopup) H.current && H.current.value !== "" && zn("", F(y));
488
+ } : { activeIndex: null }), W && H.current && H.current.value !== "" && !qt.current && zn("", F(b)), nn) {
489
+ if (Q.state.inputInsidePopup) H.current && H.current.value !== "" && zn("", F(b));
490
490
  else {
491
491
  let e = Ct(q);
492
- H.current && H.current.value !== e && zn(e, F(e === "" ? y : ve));
492
+ H.current && H.current.value !== e && zn(e, F(e === "" ? b : ve));
493
493
  }
494
494
  }
495
- }), Jn = I.useMemo(() => $ && wn ? { current: _e(wn, "[role=\"dialog\"]") } : Lt, [$, wn]), { mounted: Yn, transitionStatus: Xn, forceUnmount: Zn } = a({
495
+ }), Jn = I.useMemo(() => $ && wn ? { current: _e(wn, "[role=\"dialog\"]") } : Lt, [$, wn]), { mounted: Yn, transitionStatus: Xn, forceUnmount: Zn } = o({
496
496
  open: Y,
497
497
  ref: Jn,
498
498
  preventUnmountOnClose: Vn,
@@ -502,26 +502,26 @@ function Kt(n) {
502
502
  I.useImperativeHandle(n.actionsRef, () => ({
503
503
  unmount: Zn,
504
504
  close: () => Un(!1, F(ae))
505
- }), [Zn, Un]), w(function() {
505
+ }), [Zn, Un]), T(function() {
506
506
  let e = Pt.current !== null && Et === null;
507
- if (Pt.current = Et, Y && (!e || !G) || (Y || (en.current = null), b === "none")) return;
507
+ if (Pt.current = Et, Y && (!e || !G) || (Y || (en.current = null), _ === "none")) return;
508
508
  let t = G ? Z : $t.current;
509
509
  Rn({ selectedIndex: ot(t, q, N, W) });
510
510
  }, [
511
511
  Y,
512
512
  Et,
513
513
  q,
514
- b,
514
+ _,
515
515
  W,
516
516
  G,
517
517
  Z,
518
518
  N,
519
519
  Rn
520
- ]), w(() => {
520
+ ]), T(() => {
521
521
  R && ($t.current = Z, Ft.current.length = Z.length);
522
- }, [R, Z]), w(() => {
522
+ }, [R, Z]), T(() => {
523
523
  !Y && Qt.current?.hasQuery && (Qt.current = null);
524
- }, [Y]), w(() => {
524
+ }, [Y]), T(() => {
525
525
  if (!Y && $ && Jn.current) {
526
526
  Qt.current = null;
527
527
  return;
@@ -572,11 +572,11 @@ function Kt(n) {
572
572
  Jn,
573
573
  Q,
574
574
  J
575
- ]), w(() => {
576
- qe(b === "none" ? String(J) !== "" : W ? Array.isArray(q) && q.length > 0 : q != null);
575
+ ]), T(() => {
576
+ qe(_ === "none" ? String(J) !== "" : W ? Array.isArray(q) && q.length > 0 : q != null);
577
577
  }, [
578
578
  qe,
579
- b,
579
+ _,
580
580
  J,
581
581
  q,
582
582
  W
@@ -599,13 +599,13 @@ function Kt(n) {
599
599
  !er && J !== fn && (er = !0, zn(fn, F(ve)));
600
600
  }
601
601
  function nr() {
602
- b !== "none" && (He(tn), Ue(dt(q, We.initialValue, N)), ct.change(q), nn && !rn && !kn && tr());
602
+ _ !== "none" && (He(tn), Ue(dt(q, We.initialValue, N)), ct.change(q), nn && !rn && !kn && tr());
603
603
  }
604
604
  function rr() {
605
605
  nn && !rn && !kn && !wt && tr();
606
606
  }
607
607
  function ir() {
608
- b === "none" && (He(tn), Ue(J !== We.initialValue), ct.change(J));
608
+ _ === "none" && (He(tn), Ue(J !== We.initialValue), ct.change(J));
609
609
  }
610
610
  fe(X, Qn), fe(Y, $n), fe(q, nr), fe(fn, rr), fe(R, rr), fe(J, ir);
611
611
  let ar = tt({
@@ -622,7 +622,7 @@ function Kt(n) {
622
622
  autoCorrect: "off",
623
623
  autoCapitalize: "none"
624
624
  } : {};
625
- return n && (r.role = "combobox", r["aria-expanded"] = cr, r["aria-haspopup"] = or, r["aria-controls"] = sr ? Tn?.id : void 0, r["aria-autocomplete"] = k ? "none" : Le), {
625
+ return n && (r.role = "combobox", r["aria-expanded"] = cr, r["aria-haspopup"] = or, r["aria-controls"] = sr ? Tn?.id : void 0, r["aria-autocomplete"] = O ? "none" : Le), {
626
626
  reference: r,
627
627
  floating: { role: "presentation" }
628
628
  };
@@ -633,7 +633,7 @@ function Kt(n) {
633
633
  or,
634
634
  Tn?.id,
635
635
  Le,
636
- k
636
+ O
637
637
  ]), ur = re(ar, {
638
638
  enabled: !U && pe,
639
639
  event: "mousedown-only",
@@ -660,12 +660,12 @@ function Kt(n) {
660
660
  virtual: !0,
661
661
  loopFocus: Se,
662
662
  allowEscape: Se && !K,
663
- focusItemOnOpen: wt || b === "none" && !K ? !1 : "auto",
663
+ focusItemOnOpen: wt || _ === "none" && !K ? !1 : "auto",
664
664
  focusItemOnHover: be,
665
665
  resetOnPointerLeave: !ye,
666
666
  orientation: ne ? "horizontal" : void 0,
667
667
  rtl: ht === "rtl",
668
- disabledIndices: c,
668
+ disabledIndices: l,
669
669
  grid: ne ? Ot : void 0,
670
670
  onNavigate(e, t) {
671
671
  (t || Y || $ && e === null) && Xn !== "ending" && Rn({
@@ -691,17 +691,17 @@ function Kt(n) {
691
691
  onFocus: void 0
692
692
  } : Je,
693
693
  id: gt,
694
- selectionMode: b,
694
+ selectionMode: _,
695
695
  disabled: U,
696
- readOnly: k,
696
+ readOnly: O,
697
697
  isItemEqualToValue: N
698
698
  };
699
699
  }, [
700
700
  fr.item,
701
701
  gt,
702
- b,
702
+ _,
703
703
  U,
704
- k,
704
+ O,
705
705
  N
706
706
  ]);
707
707
  Q.useContextCallback("setOpen", Un), Q.useContextCallback("setInputValue", zn), Q.useContextCallback("setSelectedValue", Wn), Q.useContextCallback("setIndices", Rn), Q.useContextCallback("handleSelection", Gn), Q.useContextCallback("forceMount", In), Q.useContextCallback("requestSubmit", Kn), Q.useContextCallback("onOpenChangeComplete", i), rt(() => {
@@ -728,11 +728,11 @@ function Kt(n) {
728
728
  triggerProps: Pn,
729
729
  itemRoot: gr,
730
730
  openMethod: Nn,
731
- selectionMode: b,
731
+ selectionMode: _,
732
732
  name: tn,
733
- form: E,
733
+ form: w,
734
734
  disabled: U,
735
- readOnly: k,
735
+ readOnly: O,
736
736
  required: ee,
737
737
  grid: ne,
738
738
  virtualized: Te,
@@ -744,13 +744,13 @@ function Kt(n) {
744
744
  submitOnItemClick: Be,
745
745
  hasInputValue: rn
746
746
  };
747
- w(() => {
747
+ T(() => {
748
748
  Q.update({
749
749
  ..._r,
750
- inputOwnsFormValue: b === "none" && (De || !Q.state.inputInsidePopup)
750
+ inputOwnsFormValue: _ === "none" && (De || !Q.state.inputInsidePopup)
751
751
  });
752
752
  }, [Q, ...Object.values(_r)]);
753
- let vr = u(te, ct.inputRef), yr = I.useMemo(() => ({
753
+ let vr = d(te, ct.inputRef), yr = I.useMemo(() => ({
754
754
  query: X,
755
755
  hasItems: G,
756
756
  filteredItems: _n,
@@ -760,11 +760,11 @@ function Kt(n) {
760
760
  G,
761
761
  _n,
762
762
  Z
763
- ]), br = I.useMemo(() => Array.isArray(vn) ? "" : nt(vn, we), [vn, we]), xr = W && Array.isArray(q) && q.length > 0, Sr = W || b === "none" && An ? void 0 : tn, Cr = I.useMemo(() => !W || !Array.isArray(q) || !tn ? null : q.map((e) => {
763
+ ]), br = I.useMemo(() => Array.isArray(vn) ? "" : nt(vn, we), [vn, we]), xr = W && Array.isArray(q) && q.length > 0, Sr = W || _ === "none" && An ? void 0 : tn, Cr = I.useMemo(() => !W || !Array.isArray(q) || !tn ? null : q.map((e) => {
764
764
  let t = nt(e, we);
765
765
  return /*#__PURE__*/ B("input", {
766
766
  type: "hidden",
767
- form: E,
767
+ form: w,
768
768
  name: tn,
769
769
  value: t,
770
770
  disabled: U
@@ -772,7 +772,7 @@ function Kt(n) {
772
772
  }), [
773
773
  W,
774
774
  q,
775
- E,
775
+ w,
776
776
  tn,
777
777
  we,
778
778
  U
@@ -784,11 +784,11 @@ function Kt(n) {
784
784
  kn ? En?.focus() : (H.current || En)?.focus();
785
785
  },
786
786
  onChange(e) {
787
- if (e.nativeEvent.defaultPrevented || U || k) return;
787
+ if (e.nativeEvent.defaultPrevented || U || O) return;
788
788
  let t = e.currentTarget.value, n = t.toLowerCase(), r = F(ve, e.nativeEvent), i = () => $t.current.findIndex((e) => nt(e, we).toLowerCase() === n || Ct(e).toLowerCase() === n);
789
789
  function a() {
790
790
  if (W) return;
791
- if (b === "none") {
791
+ if (_ === "none") {
792
792
  zn(t, r);
793
793
  return;
794
794
  }
@@ -804,15 +804,15 @@ function Kt(n) {
804
804
  }
805
805
  }),
806
806
  id: gt && Sr == null ? `${gt}-hidden-input` : void 0,
807
- form: E,
807
+ form: w,
808
808
  name: Sr,
809
809
  autoComplete: Re,
810
810
  disabled: U,
811
811
  required: ee && !xr,
812
- readOnly: k,
812
+ readOnly: O,
813
813
  value: br,
814
814
  ref: vr,
815
- style: Sr ? v : Ne,
815
+ style: Sr ? y : Ne,
816
816
  tabIndex: -1,
817
817
  "aria-hidden": !0,
818
818
  suppressHydrationWarning: !0
@@ -868,7 +868,7 @@ function en(e) {
868
868
  }
869
869
  // ../../node_modules/.pnpm/@base-ui+react@1.9.0_@date-fns+tz@1.5.0_@types+react@19.3.0_date-fns@4.4.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/combobox/utils/ComboboxInternalDismissButton.mjs
870
870
  var U = /*#__PURE__*/ I.forwardRef(function(e, t) {
871
- let n = V(), { buttonRef: r, getButtonProps: a } = qe({ native: !1 }), o = u(t, r);
871
+ let n = V(), { buttonRef: r, getButtonProps: a } = qe({ native: !1 }), o = d(t, r);
872
872
  function s(e) {
873
873
  n.context.setOpen(!1, F(i, e.nativeEvent, e.currentTarget));
874
874
  }
@@ -878,7 +878,7 @@ var U = /*#__PURE__*/ I.forwardRef(function(e, t) {
878
878
  ...c,
879
879
  "aria-label": "Dismiss",
880
880
  tabIndex: void 0,
881
- style: v
881
+ style: y
882
882
  });
883
883
  });
884
884
  process.env.NODE_ENV !== "production" && (U.displayName = "ComboboxInternalDismissButton");
@@ -899,20 +899,20 @@ function rn(e, t, n) {
899
899
  }
900
900
  // ../../node_modules/.pnpm/@base-ui+react@1.9.0_@date-fns+tz@1.5.0_@types+react@19.3.0_date-fns@4.4.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/combobox/input/ComboboxInput.mjs
901
901
  var G = /*#__PURE__*/ I.forwardRef(function(e, t) {
902
- let { render: n, className: i, disabled: a = !1, id: o, style: s, ...c } = e, { state: l, disabled: u, setTouched: d, validationMode: f, validation: m } = Fe(), { labelId: g } = r(), _ = Qt(), v = !!en(!0), b = V(), x = It(), S = p(), C = b.useState("required"), T = b.useState("disabled"), E = b.useState("readOnly"), D = b.useState("name"), O = b.useState("form"), k = b.useState("selectionMode"), ee = b.useState("autoHighlight"), te = b.useState("inputProps"), re = b.useState("triggerProps"), A = b.useState("open"), ie = b.useState("mounted"), j = b.useState("selectedValue"), ae = b.useState("id"), M = b.useState("inline"), oe = b.useState("modal"), se = !!ee, ce = tn(b), de = u || T || a, fe = W(), he = le(de, b.context.inputRef), ge = v || M, _e = !ge || oe, ye = be(o ?? (ge ? void 0 : ae)), xe = v ? Se : l, [we, N] = I.useState(null), Te = I.useRef(!1), Ee = I.useRef(null);
903
- w(() => {
902
+ let { render: n, className: i, disabled: a = !1, id: o, style: s, ...c } = e, { state: l, disabled: u, setTouched: d, validationMode: f, validation: p } = Fe(), { labelId: h } = r(), _ = Qt(), v = !!en(!0), y = V(), x = It(), S = m(), C = y.useState("required"), w = y.useState("disabled"), E = y.useState("readOnly"), D = y.useState("name"), O = y.useState("form"), k = y.useState("selectionMode"), ee = y.useState("autoHighlight"), te = y.useState("inputProps"), re = y.useState("triggerProps"), A = y.useState("open"), ie = y.useState("mounted"), j = y.useState("selectedValue"), ae = y.useState("id"), M = y.useState("inline"), oe = y.useState("modal"), se = !!ee, ce = tn(y), de = u || w || a, fe = W(), he = le(de, y.context.inputRef), ge = v || M, _e = !ge || oe, ye = be(o ?? (ge ? void 0 : ae)), xe = v ? Se : l, [we, N] = I.useState(null), Te = I.useRef(!1), Ee = I.useRef(null);
903
+ T(() => {
904
904
  A || (Ee.current = null);
905
905
  }, [A]);
906
906
  let De = k === "none" && !v, Oe = P((e) => {
907
- let t = v || b.state.inline;
908
- t && !b.state.hasInputValue && b.context.setInputValue("", F(ve)), b.update({
907
+ let t = v || y.state.inline;
908
+ t && !y.state.hasInputValue && y.context.setInputValue("", F(ve)), y.update({
909
909
  inputElement: e,
910
910
  inputInsidePopup: t,
911
911
  inputOwnsFormValue: De
912
912
  });
913
- }), Ae = v ? c : m.getValidationProps(de, c);
913
+ }), Ae = v ? c : p.getValidationProps(de, c);
914
914
  function je(e) {
915
- b.context.setIndices({
915
+ y.context.setIndices({
916
916
  activeIndex: null,
917
917
  selectedIndex: null,
918
918
  type: ue(e),
@@ -936,7 +936,7 @@ var G = /*#__PURE__*/ I.forwardRef(function(e, t) {
936
936
  state: Me,
937
937
  ref: [
938
938
  t,
939
- b.context.inputRef,
939
+ y.context.inputRef,
940
940
  Oe
941
941
  ],
942
942
  props: [
@@ -946,7 +946,7 @@ var G = /*#__PURE__*/ I.forwardRef(function(e, t) {
946
946
  value: we ?? x,
947
947
  "aria-readonly": E || void 0,
948
948
  "aria-required": C || void 0,
949
- "aria-labelledby": g,
949
+ "aria-labelledby": h,
950
950
  disabled: de,
951
951
  readOnly: E,
952
952
  required: k === "none" ? C : void 0,
@@ -956,14 +956,14 @@ var G = /*#__PURE__*/ I.forwardRef(function(e, t) {
956
956
  onFocus() {
957
957
  if (he(!0), !M) return;
958
958
  let e = Ee.current;
959
- Ee.current = null, e != null && Object.hasOwn(b.context.valuesRef.current, e) && b.context.setIndices({ activeIndex: e });
959
+ Ee.current = null, e != null && Object.hasOwn(y.context.valuesRef.current, e) && y.context.setIndices({ activeIndex: e });
960
960
  },
961
961
  onBlur() {
962
962
  d(!0), he(!1);
963
- let e = b.state.activeIndex;
964
- if (M && e !== null && ee !== "always" && (Ee.current = e, b.context.setIndices({ activeIndex: null })), f === "onBlur") {
963
+ let e = y.state.activeIndex;
964
+ if (M && e !== null && ee !== "always" && (Ee.current = e, y.context.setIndices({ activeIndex: null })), f === "onBlur") {
965
965
  let e = k === "none" ? x : j;
966
- m.commit(e);
966
+ p.commit(e);
967
967
  }
968
968
  },
969
969
  onCompositionStart(e) {
@@ -972,29 +972,29 @@ var G = /*#__PURE__*/ I.forwardRef(function(e, t) {
972
972
  onCompositionEnd(e) {
973
973
  Te.current = !1;
974
974
  let t = e.currentTarget.value;
975
- N(null), b.context.setInputValue(t, F(Pe, e.nativeEvent));
975
+ N(null), y.context.setInputValue(t, F(Pe, e.nativeEvent));
976
976
  },
977
977
  onChange(e) {
978
978
  let t = e.nativeEvent, n = t.inputType, r = !n || n === "insertReplacementText", i = Te.current || !r;
979
979
  function a(e) {
980
- !E && !de && e && i && (b.context.setOpen(!0, F(Pe, t)), se || je(t));
980
+ !E && !de && e && i && (y.context.setOpen(!0, F(Pe, t)), se || je(t));
981
981
  }
982
982
  if (Te.current) {
983
983
  let n = e.currentTarget.value;
984
- N(n), n === "" && !b.state.openOnInputClick && !b.state.inputInsidePopup && b.context.setOpen(!1, F(y, t));
984
+ N(n), n === "" && !y.state.openOnInputClick && !y.state.inputInsidePopup && y.context.setOpen(!1, F(b, t));
985
985
  let r = n.trim(), i = se && r !== "";
986
- a(r), A && b.state.activeIndex !== null && !i && je(t);
986
+ a(r), A && y.state.activeIndex !== null && !i && je(t);
987
987
  return;
988
988
  }
989
989
  let o = F(Pe, t);
990
- if (b.context.setInputValue(e.currentTarget.value, o), o.isCanceled) return;
991
- let s = e.currentTarget.value === "", c = F(y, t);
992
- s && !b.state.inputInsidePopup && (k === "single" && b.context.setSelectedValue(null, c), b.state.openOnInputClick || b.context.setOpen(!1, c)), a(e.currentTarget.value.trim()), A && b.state.activeIndex !== null && !se && je(t);
990
+ if (y.context.setInputValue(e.currentTarget.value, o), o.isCanceled) return;
991
+ let s = e.currentTarget.value === "", c = F(b, t);
992
+ s && !y.state.inputInsidePopup && (k === "single" && y.context.setSelectedValue(null, c), y.state.openOnInputClick || y.context.setOpen(!1, c)), a(e.currentTarget.value.trim()), A && y.state.activeIndex !== null && !se && je(t);
993
993
  },
994
994
  onKeyDown(e) {
995
995
  if (e.ctrlKey || e.shiftKey || e.altKey || e.metaKey) return;
996
996
  if (de || E) {
997
- E && e.key === "Enter" && A && b.state.activeIndex !== null && Ce(e);
997
+ E && e.key === "Enter" && A && y.state.activeIndex !== null && Ce(e);
998
998
  return;
999
999
  }
1000
1000
  let t = e.currentTarget, n = t.scrollWidth - t.clientWidth, r = S === "rtl";
@@ -1011,24 +1011,24 @@ var G = /*#__PURE__*/ I.forwardRef(function(e, t) {
1011
1011
  return;
1012
1012
  }
1013
1013
  if (!ie && e.key === "Escape") {
1014
- let t = k === "multiple" && Array.isArray(j) ? j.length === 0 : j === null, n = F(h, e.nativeEvent), r = k === "multiple" ? [] : null;
1015
- b.context.setInputValue("", n), b.context.setSelectedValue(r, n), t || b.state.inline || n.isPropagationAllowed || e.stopPropagation();
1014
+ let t = k === "multiple" && Array.isArray(j) ? j.length === 0 : j === null, n = F(g, e.nativeEvent), r = k === "multiple" ? [] : null;
1015
+ y.context.setInputValue("", n), y.context.setSelectedValue(r, n), t || y.state.inline || n.isPropagationAllowed || e.stopPropagation();
1016
1016
  return;
1017
1017
  }
1018
1018
  if (_ && e.key === "Backspace" && t.value === "" && Array.isArray(j) && j.length > 0) {
1019
1019
  let t = _.chipsRef.current.length, n = t > 0 ? t - 1 : j.length - 1, r = j.filter((e, t) => t !== n);
1020
- je(e.nativeEvent), b.context.setSelectedValue(r, F(ve, e.nativeEvent));
1020
+ je(e.nativeEvent), y.context.setSelectedValue(r, F(ve, e.nativeEvent));
1021
1021
  return;
1022
1022
  }
1023
1023
  let i = Ne(e);
1024
1024
  if (i !== void 0 && _?.chipsRef.current[i]?.focus(), e.which !== 229 && e.key === "Enter" && A) {
1025
- let t = b.state.activeIndex, n = e.nativeEvent;
1025
+ let t = y.state.activeIndex, n = e.nativeEvent;
1026
1026
  if (t === null) {
1027
1027
  if (M) return;
1028
- b.context.setOpen(!1, F(ve, n));
1028
+ y.context.setOpen(!1, F(ve, n));
1029
1029
  return;
1030
1030
  }
1031
- Ce(e), rn(b, t, n);
1031
+ Ce(e), rn(y, t, n);
1032
1032
  }
1033
1033
  }
1034
1034
  },
@@ -1039,20 +1039,20 @@ var G = /*#__PURE__*/ I.forwardRef(function(e, t) {
1039
1039
  value: Be,
1040
1040
  children: Ie
1041
1041
  }) : Ie;
1042
- return /*#__PURE__*/ yt(I.Fragment, { children: [A && _e && /*#__PURE__*/ B(U, { ref: b.context.startDismissRef }), Le] });
1042
+ return /*#__PURE__*/ yt(I.Fragment, { children: [A && _e && /*#__PURE__*/ B(U, { ref: y.context.startDismissRef }), Le] });
1043
1043
  });
1044
1044
  process.env.NODE_ENV !== "production" && (G.displayName = "ComboboxInput");
1045
1045
  // ../../node_modules/.pnpm/@base-ui+react@1.9.0_@date-fns+tz@1.5.0_@types+react@19.3.0_date-fns@4.4.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/combobox/trigger/ComboboxTrigger.mjs
1046
1046
  var an = /*#__PURE__*/ I.forwardRef(function(e, t) {
1047
- let { render: i, className: a, nativeButton: o = !0, disabled: s = !1, id: c, style: l, ...u } = e, { state: d, disabled: p, setTouched: m, validationMode: h, validation: g } = Fe(), { labelId: _ } = r(), v = V(), y = v.useState("selectionMode"), b = v.useState("disabled"), x = v.useState("readOnly"), S = v.useState("required"), C = v.useState("positionerElement"), w = v.useState("listElement"), T = v.useState("popupId"), E = v.useState("triggerProps"), k = v.useState("inputInsidePopup"), te = v.useState("id"), ne = v.useState("labelId"), A = v.useState("open"), ie = v.useState("selectedValue"), j = v.useState("activeIndex"), ae = v.useState("selectedIndex"), M = v.useState("hasSelectedValue"), oe = Pt(), se = It(), ce = Me(), ue = p || b || s, de = W(), fe = tn(v), pe = I.useRef(null), he = le(ue, pe);
1048
- O({ id: k ? c : void 0 });
1049
- let ge = k ? c ?? te : c, _e = Ue(_, ne), be;
1050
- A && k ? be = T ?? H(te) : A && (be = w?.id);
1047
+ let { render: i, className: a, nativeButton: o = !0, disabled: s = !1, id: c, style: l, ...u } = e, { state: d, disabled: f, setTouched: m, validationMode: h, validation: g } = Fe(), { labelId: _ } = r(), v = V(), y = v.useState("selectionMode"), b = v.useState("disabled"), x = v.useState("readOnly"), S = v.useState("required"), C = v.useState("positionerElement"), w = v.useState("listElement"), T = v.useState("popupId"), E = v.useState("triggerProps"), D = v.useState("inputInsidePopup"), ee = v.useState("id"), ne = v.useState("labelId"), A = v.useState("open"), ie = v.useState("selectedValue"), j = v.useState("activeIndex"), ae = v.useState("selectedIndex"), M = v.useState("hasSelectedValue"), oe = Pt(), se = It(), ce = Me(), ue = f || b || s, de = W(), fe = tn(v), pe = I.useRef(null), he = le(ue, pe);
1048
+ k({ id: D ? c : void 0 });
1049
+ let ge = D ? c ?? ee : c, _e = Ue(_, ne), be;
1050
+ A && D ? be = T ?? H(ee) : A && (be = w?.id);
1051
1051
  let xe = I.useRef("");
1052
1052
  function Se(e) {
1053
1053
  xe.current = e.pointerType;
1054
1054
  }
1055
- let { reference: we } = D(oe, {
1055
+ let { reference: we } = O(oe, {
1056
1056
  enabled: !A && !x && !b && y === "single",
1057
1057
  listRef: v.context.labelsRef,
1058
1058
  activeIndex: j,
@@ -1092,13 +1092,13 @@ var an = /*#__PURE__*/ I.forwardRef(function(e, t) {
1092
1092
  we,
1093
1093
  {
1094
1094
  id: ge,
1095
- tabIndex: k ? 0 : -1,
1096
- role: k ? "combobox" : void 0,
1095
+ tabIndex: D ? 0 : -1,
1096
+ role: D ? "combobox" : void 0,
1097
1097
  "aria-expanded": A,
1098
- "aria-haspopup": k ? "dialog" : "listbox",
1098
+ "aria-haspopup": D ? "dialog" : "listbox",
1099
1099
  "aria-controls": be,
1100
- "aria-required": k && S || void 0,
1101
- "aria-readonly": k && x || void 0,
1100
+ "aria-required": D && S || void 0,
1101
+ "aria-readonly": D && x || void 0,
1102
1102
  "aria-labelledby": _e,
1103
1103
  onPointerDown: Se,
1104
1104
  onPointerEnter: Se,
@@ -1112,15 +1112,15 @@ var an = /*#__PURE__*/ I.forwardRef(function(e, t) {
1112
1112
  }
1113
1113
  },
1114
1114
  onMouseDown(e) {
1115
- if (ue || (k || oe.set("domReferenceElement", e.currentTarget), v.context.forceMount(), xe.current !== "touch" && (v.context.inputRef.current?.focus(), k || e.preventDefault()), A)) return;
1116
- let t = f(e.currentTarget);
1115
+ if (ue || (D || oe.set("domReferenceElement", e.currentTarget), v.context.forceMount(), xe.current !== "touch" && (v.context.inputRef.current?.focus(), D || e.preventDefault()), A)) return;
1116
+ let t = p(e.currentTarget);
1117
1117
  function n(e) {
1118
1118
  let t = v.state.triggerElement;
1119
1119
  if (!t) return;
1120
1120
  let n = Ae(e), r = v.state.positionerElement, i = v.state.listElement;
1121
- Ve(t, n) || Ve(r, n) || Ve(i, n) || ye(e, t) || v.context.setOpen(!1, F(ee, e));
1121
+ Ve(t, n) || Ve(r, n) || Ve(i, n) || ye(e, t) || v.context.setOpen(!1, F(te, e));
1122
1122
  }
1123
- k && t.addEventListener("mouseup", n, { once: !0 });
1123
+ D && t.addEventListener("mouseup", n, { once: !0 });
1124
1124
  },
1125
1125
  onKeyDown(e) {
1126
1126
  (e.key === "ArrowDown" || e.key === "ArrowUp") && (Ce(e), v.context.setOpen(!0, F(n, e.nativeEvent)), v.context.inputRef.current?.focus());
@@ -1158,7 +1158,7 @@ var cn = /*#__PURE__*/ I.forwardRef(function(e, t) {
1158
1158
  c.set("positionerElement", e);
1159
1159
  }), S = P((e) => {
1160
1160
  c.set("listElement", e);
1161
- }), w = I.useMemo(() => typeof o == "function" ? n ||= /*#__PURE__*/ B(sn, { children: o }) : o, [o]), T = { empty: b }, E = l.useState("floatingId"), D = me("div", e, {
1161
+ }), C = I.useMemo(() => typeof o == "function" ? n ||= /*#__PURE__*/ B(sn, { children: o }) : o, [o]), T = { empty: b }, E = l.useState("floatingId"), D = me("div", e, {
1162
1162
  state: T,
1163
1163
  ref: [
1164
1164
  t,
@@ -1168,7 +1168,7 @@ var cn = /*#__PURE__*/ I.forwardRef(function(e, t) {
1168
1168
  props: [
1169
1169
  g,
1170
1170
  {
1171
- children: w,
1171
+ children: C,
1172
1172
  tabIndex: -1,
1173
1173
  id: E,
1174
1174
  role: m ? "grid" : "listbox",
@@ -1187,7 +1187,7 @@ var cn = /*#__PURE__*/ I.forwardRef(function(e, t) {
1187
1187
  });
1188
1188
  if (_) return D;
1189
1189
  let O = f && !v ? void 0 : c.context.labelsRef;
1190
- return /*#__PURE__*/ B(C, {
1190
+ return /*#__PURE__*/ B(w, {
1191
1191
  elementsRef: c.context.listRef,
1192
1192
  labelsRef: O,
1193
1193
  children: D
@@ -1230,33 +1230,33 @@ var un = /*#__PURE__*/ I.forwardRef(function(e, t) {
1230
1230
  process.env.NODE_ENV !== "production" && (un.displayName = "ComboboxPortal");
1231
1231
  // ../../node_modules/.pnpm/@base-ui+react@1.9.0_@date-fns+tz@1.5.0_@types+react@19.3.0_date-fns@4.4.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@base-ui/react/combobox/positioner/ComboboxPositioner.mjs
1232
1232
  var dn = /*#__PURE__*/ I.forwardRef(function(e, t) {
1233
- let { render: n, className: r, anchor: i, positionMethod: a, side: s, align: c, sideOffset: u, alignOffset: d, collisionBoundary: f = "clipping-ancestors", collisionPadding: p, arrowPadding: m, sticky: h, disableAnchorTracking: _ = !1, collisionAvoidance: v = E, style: y, ...b } = e, x = V(), S = Pt(), C = Y(), T = x.useState("modal"), D = x.useState("open"), O = x.useState("mounted"), k = x.useState("openMethod"), ee = x.useState("positionerElement"), te = x.useState("triggerElement"), ne = x.useState("inputElement"), re = x.useState("inputGroupElement"), ie = x.useState("inputInsidePopup"), j = x.useState("transitionStatus"), ae = W(), M = Te({
1233
+ let { render: n, className: r, anchor: i, positionMethod: a, side: o, align: c, sideOffset: l, alignOffset: d, collisionBoundary: f = "clipping-ancestors", collisionPadding: p, arrowPadding: m, sticky: h, disableAnchorTracking: g = !1, collisionAvoidance: v = D, style: y, ...b } = e, x = V(), S = Pt(), C = Y(), w = x.useState("modal"), E = x.useState("open"), O = x.useState("mounted"), k = x.useState("openMethod"), ee = x.useState("positionerElement"), te = x.useState("triggerElement"), ne = x.useState("inputElement"), re = x.useState("inputGroupElement"), ie = x.useState("inputInsidePopup"), j = x.useState("transitionStatus"), ae = W(), M = Te({
1234
1234
  anchor: i ?? (ie ? te : re ?? ne),
1235
1235
  floatingRootContext: S,
1236
1236
  positionMethod: a,
1237
1237
  mounted: O,
1238
- side: s,
1239
- sideOffset: u,
1238
+ side: o,
1239
+ sideOffset: l,
1240
1240
  align: c,
1241
1241
  alignOffset: d,
1242
1242
  arrowPadding: m,
1243
1243
  collisionBoundary: f,
1244
1244
  collisionPadding: p,
1245
1245
  sticky: h,
1246
- disableAnchorTracking: _,
1246
+ disableAnchorTracking: g,
1247
1247
  keepMounted: C,
1248
1248
  collisionAvoidance: v,
1249
1249
  lazyFlip: !0
1250
1250
  });
1251
- o(D && T, k === "touch", ee, te);
1251
+ s(E && w, k === "touch", ee, te);
1252
1252
  let oe = {
1253
- open: D,
1253
+ open: E,
1254
1254
  side: M.side,
1255
1255
  align: M.align,
1256
1256
  anchorHidden: M.anchorHidden,
1257
1257
  empty: ae
1258
1258
  };
1259
- w(() => {
1259
+ T(() => {
1260
1260
  x.set("popupSide", M.side);
1261
1261
  }, [x, M.side]);
1262
1262
  let se = P((e) => {
@@ -1267,12 +1267,12 @@ var dn = /*#__PURE__*/ I.forwardRef(function(e, t) {
1267
1267
  props: b,
1268
1268
  refs: [t, se],
1269
1269
  hidden: !O,
1270
- inert: !D
1270
+ inert: !E
1271
1271
  });
1272
1272
  return /*#__PURE__*/ yt($t.Provider, {
1273
1273
  value: M,
1274
- children: [O && T && /*#__PURE__*/ B(l, {
1275
- inert: g(!D),
1274
+ children: [O && w && /*#__PURE__*/ B(u, {
1275
+ inert: _(!E),
1276
1276
  cutout: re ?? ne ?? te
1277
1277
  }), ce]
1278
1278
  });
@@ -1283,8 +1283,8 @@ var X = {
1283
1283
  ...Re,
1284
1284
  ...de
1285
1285
  }, fn = /*#__PURE__*/ I.forwardRef(function(e, t) {
1286
- let { render: n, className: r, style: i, initialFocus: a, finalFocus: o, ...s } = e, c = V(), l = en(), u = Pt(), f = c.useState("mounted"), p = c.useState("open"), m = c.useState("openMethod"), h = c.useState("popupProps"), g = c.useState("transitionStatus"), _ = c.useState("inputInsidePopup"), v = c.useState("inputElement"), y = c.useState("modal"), b = c.useState("id"), S = W(), C = s.id ?? (_ ? H(b) : void 0);
1287
- w(() => (c.set("popupId", c.context.popupRef.current?.id || C), () => {
1286
+ let { render: n, className: r, style: i, initialFocus: a, finalFocus: o, ...s } = e, c = V(), l = en(), u = Pt(), d = c.useState("mounted"), p = c.useState("open"), m = c.useState("openMethod"), h = c.useState("popupProps"), g = c.useState("transitionStatus"), _ = c.useState("inputInsidePopup"), v = c.useState("inputElement"), y = c.useState("modal"), b = c.useState("id"), x = W(), C = s.id ?? (_ ? H(b) : void 0);
1287
+ T(() => (c.set("popupId", c.context.popupRef.current?.id || C), () => {
1288
1288
  c.set("popupId", void 0);
1289
1289
  }), [c, C]), Le({
1290
1290
  open: p,
@@ -1293,15 +1293,15 @@ var X = {
1293
1293
  p && c.context.onOpenChangeComplete(!0);
1294
1294
  }
1295
1295
  });
1296
- let T = {
1296
+ let w = {
1297
1297
  open: p,
1298
1298
  side: l.side,
1299
1299
  align: l.align,
1300
1300
  anchorHidden: l.anchorHidden,
1301
1301
  transitionStatus: g,
1302
- empty: S
1302
+ empty: x
1303
1303
  }, E = me("div", e, {
1304
- state: T,
1304
+ state: w,
1305
1305
  ref: [t, c.context.popupRef],
1306
1306
  props: [
1307
1307
  h,
@@ -1313,16 +1313,16 @@ var X = {
1313
1313
  m !== "touch" && (Ve(c.state.listElement, t) || t === e.currentTarget) && c.context.inputRef.current?.focus();
1314
1314
  }
1315
1315
  },
1316
- x(g),
1316
+ S(g),
1317
1317
  s
1318
1318
  ],
1319
1319
  stateAttributesMapping: X
1320
1320
  }), D = a === void 0 ? _ ? (e) => e === "touch" ? c.context.popupRef.current : v : !1 : a, O;
1321
1321
  O = o ?? (_ ? void 0 : !1);
1322
1322
  let k = !_ || y;
1323
- return /*#__PURE__*/ B(d, {
1323
+ return /*#__PURE__*/ B(f, {
1324
1324
  context: u,
1325
- disabled: !f,
1325
+ disabled: !d,
1326
1326
  modal: k,
1327
1327
  openInteractionType: m,
1328
1328
  initialFocus: D,
@@ -1359,8 +1359,8 @@ function _n(e) {
1359
1359
  guess: !0,
1360
1360
  index: l,
1361
1361
  textRef: p
1362
- }), h = V(), g = gn(), _ = Lt(), { props: v, id: y, selectionMode: b, disabled: x, readOnly: S, isItemEqualToValue: C } = h.useState("itemRoot"), T = x || u, E = b !== "none", D = l ?? i ?? m.index, O = D !== -1, k = h.useState("isActive", D), ee = h.useState("isSelected", c), te = I.useRef(null), ne = y != null && O ? `${y}-${D}` : void 0, re = ee && E;
1363
- w(() => {
1362
+ }), h = V(), g = gn(), _ = Lt(), { props: v, id: y, selectionMode: b, disabled: x, readOnly: S, isItemEqualToValue: C } = h.useState("itemRoot"), w = x || u, E = b !== "none", D = l ?? i ?? m.index, O = D !== -1, k = h.useState("isActive", D), ee = h.useState("isSelected", c), te = I.useRef(null), ne = y != null && O ? `${y}-${D}` : void 0, re = ee && E;
1363
+ T(() => {
1364
1364
  if (!O || !r && l == null) return;
1365
1365
  let e = h.context.listRef.current;
1366
1366
  return e[D] = te.current, () => {
@@ -1372,7 +1372,7 @@ function _n(e) {
1372
1372
  D,
1373
1373
  l,
1374
1374
  h
1375
- ]), w(() => {
1375
+ ]), T(() => {
1376
1376
  if (!O || _) return;
1377
1377
  let e = h.context.valuesRef.current;
1378
1378
  return e[D] = c, () => {
@@ -1384,7 +1384,7 @@ function _n(e) {
1384
1384
  D,
1385
1385
  c,
1386
1386
  h
1387
- ]), w(() => {
1387
+ ]), T(() => {
1388
1388
  if (!O || _) return;
1389
1389
  let e = h.state.selectedValue, t = h.state.selectedIndex;
1390
1390
  h.state.selectionMode === "multiple" && Array.isArray(e) ? t = ct(D, c, h.context.valuesRef.current, e, C, t) : lt(c, e, C) && (t = D), h.set("selectedIndex", t);
@@ -1397,12 +1397,12 @@ function _n(e) {
1397
1397
  C
1398
1398
  ]);
1399
1399
  let { getButtonProps: A, buttonRef: ie } = qe({
1400
- disabled: T,
1400
+ disabled: w,
1401
1401
  focusableWhenDisabled: !0,
1402
1402
  native: d,
1403
1403
  composite: !0
1404
1404
  }), j = {
1405
- disabled: T,
1405
+ disabled: w,
1406
1406
  selected: re,
1407
1407
  highlighted: k
1408
1408
  };
@@ -1424,11 +1424,11 @@ function _n(e) {
1424
1424
  e.preventDefault();
1425
1425
  },
1426
1426
  onClick(e) {
1427
- T || S || ae(e.nativeEvent);
1427
+ w || S || ae(e.nativeEvent);
1428
1428
  },
1429
1429
  onMouseUp(e) {
1430
1430
  let t = h.context.pointerDownItemRef.current === e.currentTarget;
1431
- h.context.pointerDownItemRef.current = null, !(T || S || e.button !== 0 || t || !k) && ae(e.nativeEvent);
1431
+ h.context.pointerDownItemRef.current = null, !(w || S || e.button !== 0 || t || !k) && ae(e.nativeEvent);
1432
1432
  }
1433
1433
  }, oe = me("div", t, {
1434
1434
  ref: [
@@ -1587,19 +1587,19 @@ function Cn(e) {
1587
1587
  let _ = d && "rounded-none bg-transparent text-sm", v;
1588
1588
  t[14] === _ ? v = t[15] : (v = ze("has-disabled:opacity-100", _), t[14] = _, t[15] = v);
1589
1589
  let y;
1590
- t[16] !== f || t[17] !== v || t[18] !== d ? (y = /* @__PURE__ */ B(b, {
1590
+ t[16] !== f || t[17] !== v || t[18] !== d ? (y = /* @__PURE__ */ B(x, {
1591
1591
  className: v,
1592
1592
  nativeInput: !0,
1593
1593
  size: f,
1594
1594
  unstyled: d
1595
1595
  }), t[16] = f, t[17] = v, t[18] = d, t[19] = y) : y = t[19];
1596
- let x;
1597
- t[20] !== r || t[21] !== y || t[22] !== g ? (x = /* @__PURE__ */ B(G, {
1596
+ let b;
1597
+ t[20] !== r || t[21] !== y || t[22] !== g ? (b = /* @__PURE__ */ B(G, {
1598
1598
  className: g,
1599
1599
  "data-slot": "combobox-input",
1600
1600
  render: y,
1601
1601
  ...r
1602
- }), t[20] = r, t[21] = y, t[22] = g, t[23] = x) : x = t[23];
1602
+ }), t[20] = r, t[21] = y, t[22] = g, t[23] = b) : b = t[23];
1603
1603
  let S;
1604
1604
  t[24] !== l || t[25] !== f ? (S = l && /* @__PURE__ */ B(Tn, {
1605
1605
  className: ze("-translate-y-1/2 absolute top-1/2 inline-flex size-8 shrink-0 cursor-pointer items-center justify-center rounded-md border border-transparent opacity-80 outline-none transition-opacity pointer-coarse:after:absolute pointer-coarse:after:min-h-11 pointer-coarse:after:min-w-11 hover:opacity-100 has-[+[data-slot=combobox-clear]]:hidden sm:size-7 [&_svg:not([class*='size-'])]:size-4.5 sm:[&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0", f === "sm" ? "end-0" : "end-0.5"),
@@ -1614,15 +1614,15 @@ function Cn(e) {
1614
1614
  children: /* @__PURE__ */ B(et, {})
1615
1615
  }), t[27] = u, t[28] = f, t[29] = C) : C = t[29];
1616
1616
  let w;
1617
- return t[30] !== x || t[31] !== S || t[32] !== C || t[33] !== p ? (w = /* @__PURE__ */ yt("div", {
1617
+ return t[30] !== b || t[31] !== S || t[32] !== C || t[33] !== p ? (w = /* @__PURE__ */ yt("div", {
1618
1618
  className: "relative not-has-[>*.w-full]:w-fit w-full text-foreground has-disabled:opacity-64",
1619
1619
  children: [
1620
1620
  p,
1621
- x,
1621
+ b,
1622
1622
  S,
1623
1623
  C
1624
1624
  ]
1625
- }), t[30] = x, t[31] = S, t[32] = C, t[33] = p, t[34] = w) : w = t[34], w;
1625
+ }), t[30] = b, t[31] = S, t[32] = C, t[33] = p, t[34] = w) : w = t[34], w;
1626
1626
  }
1627
1627
  function wn(e) {
1628
1628
  let t = z(3), n;
@@ -1786,36 +1786,36 @@ function Pn(e) {
1786
1786
  return `${t < 10 ? t.toFixed(1).replace(/\.0$/, "") : Math.round(t)}b`;
1787
1787
  }
1788
1788
  var Fn = _t(function(e) {
1789
- let t = z(20), { additions: n, deletions: r, className: i, layout: a } = e, o = a === void 0 ? "aligned" : a, s = te(), c;
1790
- t[0] !== n || t[1] !== r || t[2] !== s ? (c = s("{additions} additions, {deletions} deletions", {
1789
+ let t = z(20), { additions: n, deletions: r, className: i, layout: o } = e, s = o === void 0 ? "aligned" : o, c = a(), l;
1790
+ t[0] !== n || t[1] !== r || t[2] !== c ? (l = c("{additions} additions, {deletions} deletions", {
1791
1791
  additions: n,
1792
1792
  deletions: r
1793
- }), t[0] = n, t[1] = r, t[2] = s, t[3] = c) : c = t[3];
1794
- let l = o === "inline" ? "inline-flex items-center gap-1 tabular-nums align-middle" : "inline-grid grid-cols-[4ch_4ch] gap-2 text-right tabular-nums align-middle", u;
1795
- t[4] !== i || t[5] !== l ? (u = ze(l, i), t[4] = i, t[5] = l, t[6] = u) : u = t[6];
1796
- let d;
1797
- t[7] === n ? d = t[8] : (d = Pn(n), t[7] = n, t[8] = d);
1793
+ }), t[0] = n, t[1] = r, t[2] = c, t[3] = l) : l = t[3];
1794
+ let u = s === "inline" ? "inline-flex items-center gap-1 tabular-nums align-middle" : "inline-grid grid-cols-[4ch_4ch] gap-2 text-right tabular-nums align-middle", d;
1795
+ t[4] !== i || t[5] !== u ? (d = ze(u, i), t[4] = i, t[5] = u, t[6] = d) : d = t[6];
1798
1796
  let f;
1799
- t[9] === d ? f = t[10] : (f = /* @__PURE__ */ yt("span", {
1797
+ t[7] === n ? f = t[8] : (f = Pn(n), t[7] = n, t[8] = f);
1798
+ let p;
1799
+ t[9] === f ? p = t[10] : (p = /* @__PURE__ */ yt("span", {
1800
1800
  "aria-hidden": "true",
1801
1801
  className: "font-mono text-diff-addition-foreground",
1802
- children: ["+", d]
1803
- }), t[9] = d, t[10] = f);
1804
- let p;
1805
- t[11] === r ? p = t[12] : (p = Pn(r), t[11] = r, t[12] = p);
1802
+ children: ["+", f]
1803
+ }), t[9] = f, t[10] = p);
1806
1804
  let m;
1807
- t[13] === p ? m = t[14] : (m = /* @__PURE__ */ yt("span", {
1805
+ t[11] === r ? m = t[12] : (m = Pn(r), t[11] = r, t[12] = m);
1806
+ let h;
1807
+ t[13] === m ? h = t[14] : (h = /* @__PURE__ */ yt("span", {
1808
1808
  "aria-hidden": "true",
1809
1809
  className: "font-mono text-diff-deletion-foreground",
1810
- children: ["-", p]
1811
- }), t[13] = p, t[14] = m);
1812
- let h;
1813
- return t[15] !== c || t[16] !== u || t[17] !== f || t[18] !== m ? (h = /* @__PURE__ */ yt("span", {
1810
+ children: ["-", m]
1811
+ }), t[13] = m, t[14] = h);
1812
+ let g;
1813
+ return t[15] !== l || t[16] !== d || t[17] !== p || t[18] !== h ? (g = /* @__PURE__ */ yt("span", {
1814
1814
  role: "group",
1815
- "aria-label": c,
1816
- className: u,
1817
- children: [f, m]
1818
- }), t[15] = c, t[16] = u, t[17] = f, t[18] = m, t[19] = h) : h = t[19], h;
1815
+ "aria-label": l,
1816
+ className: d,
1817
+ children: [p, h]
1818
+ }), t[15] = l, t[16] = d, t[17] = p, t[18] = h, t[19] = g) : g = t[19], g;
1819
1819
  }), In = 1e4, Ln = 3e5, Rn = 36e4;
1820
1820
  function zn(e) {
1821
1821
  return e.visible && e.now - e.lastRefreshedAt >= 1e4;