@marimo-team/islands 0.23.9-dev6 → 0.23.9-dev8

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.
@@ -35,7 +35,7 @@ import { n as formats } from "./vega-loader.browser-CZ-J8Py3.js";
35
35
  import { a as getContainerWidth, n as vegaLoadData, r as createBatchedLoader, s as tooltipHandler, t as parseCsvData } from "./loader-BWLPpjKK.js";
36
36
  import { t as useIframeCapabilities } from "./useIframeCapabilities-C4JTXTIh.js";
37
37
  import { t as useAsyncData } from "./useAsyncData-C008zUPi.js";
38
- let TableHeader, CommandEmpty, LazyVegaEmbed, isCellAwareAtom, Funnel, prettifyRowCount, Tabs, Combobox, ChartErrorState, DateRangePicker, TabsTrigger, ContextAwarePanelItem, EmotionCacheProvider, PanelGroup, Code, slotsController, Expand, PANEL_TYPES, $fae977aafc393c5c$export$588937bcd60ade55, Provider$1, ChevronsLeft, PanelResizeHandle, ChevronsUpDown, contextAwarePanelOpen, $fae977aafc393c5c$export$6b862160d295c8e, CommandItem, RenderTextWithLinks, CommandList, Kbd, ComboboxItem, ChartInfoState, CommandSeparator, HtmlOutput, TableHead, contextAwarePanelOwner, TextWrap, prettifyRowColumnCount, dateToLocalISOTime, DatePicker, TabsList, Toggle, Ellipsis, SlotNames, EyeOff, Panel, Download, TableBody, ChevronLeft, Table, ChevronsDownUp, TableCell, ArrowDownWideNarrow, downloadBlob, getMimeValues, DEFAULT_SLIDE_TYPE, ColumnChartContext, Progress, dateToLocalISODate, Slide, useIntersectionObserver, JsonOutput, loadTableAndRawData, TableRow, OutputArea, loadTableData, ADD_PRINTING_CLASS, toFieldTypes, InstallPackageButton, TOO_MANY_ROWS, DEFAULT_DECK_TRANSITION, renderCellValue, CommandInput, useOverflowDetection, Command, ChartLoadingState, RadioGroup, usePrevious, DataTable, SELECT_COLUMN_ID, marimoVersionAtom, generateColumns, SLIDE_TYPE_OPTIONS_BY_VALUE, ColumnChartSpecModel, OutputRenderer, INDEX_COLUMN_NAME, Fill, ChevronsRight, showCodeInRunModeAtom, inferFieldTypes, SlideSidebar, DelayMount, useNotebookCodeAvailable, NAMELESS_COLUMN_PREFIX, RadioGroupItem, getPageIndexForRow, downloadByURL, isNullishFilter, useInternalStateWithSync, TabsContent, Filenames, dateToLocalISODateTime, downloadHTMLAsImage, Maps, contextAwarePanelType, GripHorizontal;
38
+ let TableHead, Command, ChartLoadingState, contextAwarePanelType, GripHorizontal, prettifyRowColumnCount, dateToLocalISOTime, DateRangePicker, TabsTrigger, DatePicker, TabsList, CommandSeparator, HtmlOutput, Panel, Download, SlotNames, EyeOff, ContextAwarePanelItem, EmotionCacheProvider, Fill, ChevronsRight, PanelGroup, Code, PANEL_TYPES, $fae977aafc393c5c$export$588937bcd60ade55, CommandInput, useOverflowDetection, CommandItem, RenderTextWithLinks, Combobox, ChartErrorState, CommandList, Kbd, TableCell, ArrowDownWideNarrow, contextAwarePanelOpen, $fae977aafc393c5c$export$6b862160d295c8e, downloadSizeLimitAtom, dateToLocalISODateTime, useInternalStateWithSync, TabsContent, slotsController, Expand, isCellAwareAtom, Funnel, Toggle, Ellipsis, Table, ChevronsDownUp, Provider$1, ChevronsLeft, TableBody, ChevronLeft, downloadBlob, toFieldTypes, DEFAULT_SLIDE_TYPE, renderCellValue, Progress, Maps, Slide, DelayMount, JsonOutput, getPageIndexForRow, TableHeader, OutputArea, loadTableAndRawData, ADD_PRINTING_CLASS, TOO_MANY_ROWS, InstallPackageButton, SELECT_COLUMN_ID, DEFAULT_DECK_TRANSITION, inferFieldTypes, CommandEmpty, LazyVegaEmbed, ComboboxItem, ChartInfoState, RadioGroup, useIntersectionObserver, DataTable, INDEX_COLUMN_NAME, marimoVersionAtom, NAMELESS_COLUMN_PREFIX, SLIDE_TYPE_OPTIONS_BY_VALUE, ColumnChartContext, OutputRenderer, loadTableData, PanelResizeHandle, ChevronsUpDown, showCodeInRunModeAtom, generateColumns, SlideSidebar, ColumnChartSpecModel, useNotebookCodeAvailable, TableRow, RadioGroupItem, usePrevious, downloadByURL, getMimeValues, prettifyRowCount, Tabs, Filenames, dateToLocalISODate, downloadHTMLAsImage, isNullishFilter, contextAwarePanelOwner, TextWrap;
39
39
  let __tla = Promise.all([
40
40
  (() => {
41
41
  try {
@@ -1902,21 +1902,21 @@ Defaulting to \`null\`.`;
1902
1902
  function $2f04cbc44ee30ce0$export$53a0910f038337bd(e, t, n = {}) {
1903
1903
  let { block: i = "nearest", inline: a = "nearest" } = n;
1904
1904
  if (e === t) return;
1905
- let o = e.scrollTop, s = e.scrollLeft, c = t.getBoundingClientRect(), d = e.getBoundingClientRect(), f = window.getComputedStyle(t), h = window.getComputedStyle(e), _ = document.scrollingElement || document.documentElement, v = e === _ ? 0 : d.top, y = e === _ ? e.clientHeight : d.bottom, S = e === _ ? 0 : d.left, w = e === _ ? e.clientWidth : d.right, E = parseInt(f.scrollMarginTop, 10) || 0, O = parseInt(f.scrollMarginBottom, 10) || 0, A = parseInt(f.scrollMarginLeft, 10) || 0, M = parseInt(f.scrollMarginRight, 10) || 0, I = parseInt(h.scrollPaddingTop, 10) || 0, z = parseInt(h.scrollPaddingBottom, 10) || 0, U = parseInt(h.scrollPaddingLeft, 10) || 0, K = parseInt(h.scrollPaddingRight, 10) || 0, q = parseInt(h.borderTopWidth, 10) || 0, J = parseInt(h.borderBottomWidth, 10) || 0, Q = parseInt(h.borderLeftWidth, 10) || 0, $ = parseInt(h.borderRightWidth, 10) || 0, MK = c.top - E, NK = c.bottom + O, PK = c.left - A, FK = c.right + M, IK = e === _ ? 0 : Q + $, LK = e === _ ? 0 : q + J, RK = e.offsetWidth - e.clientWidth - IK, zK = e.offsetHeight - e.clientHeight - LK, BK = v + q + I, VK = y - J - z - zK, HK = S + Q + U, UK = w - $ - K;
1906
- h.direction === "rtl" && !$c87311424ea30a05$export$fedb369cb70207f1() ? HK += RK : UK -= RK;
1907
- let WK = MK < BK || NK > VK, GK = PK < HK || FK > UK;
1908
- if (WK && i === "start") o += MK - BK;
1909
- else if (WK && i === "center") o += (MK + NK) / 2 - (BK + VK) / 2;
1910
- else if (WK && i === "end") o += NK - VK;
1911
- else if (WK && i === "nearest") {
1912
- let e2 = MK - BK, t2 = NK - VK;
1905
+ let o = e.scrollTop, s = e.scrollLeft, c = t.getBoundingClientRect(), d = e.getBoundingClientRect(), f = window.getComputedStyle(t), h = window.getComputedStyle(e), _ = document.scrollingElement || document.documentElement, v = e === _ ? 0 : d.top, y = e === _ ? e.clientHeight : d.bottom, S = e === _ ? 0 : d.left, w = e === _ ? e.clientWidth : d.right, E = parseInt(f.scrollMarginTop, 10) || 0, O = parseInt(f.scrollMarginBottom, 10) || 0, A = parseInt(f.scrollMarginLeft, 10) || 0, M = parseInt(f.scrollMarginRight, 10) || 0, I = parseInt(h.scrollPaddingTop, 10) || 0, z = parseInt(h.scrollPaddingBottom, 10) || 0, U = parseInt(h.scrollPaddingLeft, 10) || 0, K = parseInt(h.scrollPaddingRight, 10) || 0, q = parseInt(h.borderTopWidth, 10) || 0, J = parseInt(h.borderBottomWidth, 10) || 0, Q = parseInt(h.borderLeftWidth, 10) || 0, $ = parseInt(h.borderRightWidth, 10) || 0, jK = c.top - E, MK = c.bottom + O, NK = c.left - A, PK = c.right + M, FK = e === _ ? 0 : Q + $, IK = e === _ ? 0 : q + J, LK = e.offsetWidth - e.clientWidth - FK, RK = e.offsetHeight - e.clientHeight - IK, zK = v + q + I, BK = y - J - z - RK, VK = S + Q + U, HK = w - $ - K;
1906
+ h.direction === "rtl" && !$c87311424ea30a05$export$fedb369cb70207f1() ? VK += LK : HK -= LK;
1907
+ let UK = jK < zK || MK > BK, WK = NK < VK || PK > HK;
1908
+ if (UK && i === "start") o += jK - zK;
1909
+ else if (UK && i === "center") o += (jK + MK) / 2 - (zK + BK) / 2;
1910
+ else if (UK && i === "end") o += MK - BK;
1911
+ else if (UK && i === "nearest") {
1912
+ let e2 = jK - zK, t2 = MK - BK;
1913
1913
  o += Math.abs(e2) <= Math.abs(t2) ? e2 : t2;
1914
1914
  }
1915
- if (GK && a === "start") s += PK - HK;
1916
- else if (GK && a === "center") s += (PK + FK) / 2 - (HK + UK) / 2;
1917
- else if (GK && a === "end") s += FK - UK;
1918
- else if (GK && a === "nearest") {
1919
- let e2 = PK - HK, t2 = FK - UK;
1915
+ if (WK && a === "start") s += NK - VK;
1916
+ else if (WK && a === "center") s += (NK + PK) / 2 - (VK + HK) / 2;
1917
+ else if (WK && a === "end") s += PK - HK;
1918
+ else if (WK && a === "nearest") {
1919
+ let e2 = NK - VK, t2 = PK - HK;
1920
1920
  s += Math.abs(e2) <= Math.abs(t2) ? e2 : t2;
1921
1921
  }
1922
1922
  e.scrollTo({
@@ -5026,23 +5026,23 @@ Defaulting to \`null\`.`;
5026
5026
  }
5027
5027
  let $ = "bottom";
5028
5028
  A.axis === "top" ? A.placement === "top" ? $ = "top" : A.placement === "bottom" && ($ = "bottom") : A.crossAxis === "top" && (A.crossPlacement === "top" ? $ = "bottom" : A.crossPlacement === "bottom" && ($ = "top"));
5029
- let MK = $edcf132a9284368a$var$getDelta(I, q[I], n[z], c, d, o, f);
5030
- q[I] += MK;
5031
- let NK = $edcf132a9284368a$var$getMaxHeight(q, c, f, v, a, o, n.height, $, d, E, O);
5032
- y && y < NK && (NK = y), n.height = Math.min(n.height, NK), q = $edcf132a9284368a$var$computePosition(t, c, n, A, J, _, f, v, S, w, d), MK = $edcf132a9284368a$var$getDelta(I, q[I], n[z], c, d, o, f), q[I] += MK;
5033
- let PK = {}, FK = t[I] - q[I] - a[$edcf132a9284368a$var$AXIS[I]], IK = FK + 0.5 * t[z], LK = S / 2 + w, RK = $edcf132a9284368a$var$AXIS[I] === "left" ? (a.left ?? 0) + (a.right ?? 0) : (a.top ?? 0) + (a.bottom ?? 0), zK = n[z] - RK - S / 2 - w;
5034
- PK[I] = $9446cca9a3875146$export$7d15b64cf5a3a4c4($9446cca9a3875146$export$7d15b64cf5a3a4c4(IK, t[I] + S / 2 - (q[I] + a[$edcf132a9284368a$var$AXIS[I]]), t[I] + t[z] - S / 2 - (q[I] + a[$edcf132a9284368a$var$AXIS[I]])), LK, zK), { placement: U, crossPlacement: K } = A, S ? FK = PK[I] : K === "right" ? FK += t[z] : K === "center" && (FK += t[z] / 2);
5035
- let BK = U === "left" || U === "top" ? n[M] : 0, VK = {
5036
- x: U === "top" || U === "bottom" ? FK : BK,
5037
- y: U === "left" || U === "right" ? FK : BK
5029
+ let jK = $edcf132a9284368a$var$getDelta(I, q[I], n[z], c, d, o, f);
5030
+ q[I] += jK;
5031
+ let MK = $edcf132a9284368a$var$getMaxHeight(q, c, f, v, a, o, n.height, $, d, E, O);
5032
+ y && y < MK && (MK = y), n.height = Math.min(n.height, MK), q = $edcf132a9284368a$var$computePosition(t, c, n, A, J, _, f, v, S, w, d), jK = $edcf132a9284368a$var$getDelta(I, q[I], n[z], c, d, o, f), q[I] += jK;
5033
+ let NK = {}, PK = t[I] - q[I] - a[$edcf132a9284368a$var$AXIS[I]], FK = PK + 0.5 * t[z], IK = S / 2 + w, LK = $edcf132a9284368a$var$AXIS[I] === "left" ? (a.left ?? 0) + (a.right ?? 0) : (a.top ?? 0) + (a.bottom ?? 0), RK = n[z] - LK - S / 2 - w;
5034
+ NK[I] = $9446cca9a3875146$export$7d15b64cf5a3a4c4($9446cca9a3875146$export$7d15b64cf5a3a4c4(FK, t[I] + S / 2 - (q[I] + a[$edcf132a9284368a$var$AXIS[I]]), t[I] + t[z] - S / 2 - (q[I] + a[$edcf132a9284368a$var$AXIS[I]])), IK, RK), { placement: U, crossPlacement: K } = A, S ? PK = NK[I] : K === "right" ? PK += t[z] : K === "center" && (PK += t[z] / 2);
5035
+ let zK = U === "left" || U === "top" ? n[M] : 0, BK = {
5036
+ x: U === "top" || U === "bottom" ? PK : zK,
5037
+ y: U === "left" || U === "right" ? PK : zK
5038
5038
  };
5039
5039
  return {
5040
5040
  position: q,
5041
- maxHeight: NK,
5042
- arrowOffsetLeft: PK.left,
5043
- arrowOffsetTop: PK.top,
5041
+ maxHeight: MK,
5042
+ arrowOffsetLeft: NK.left,
5043
+ arrowOffsetTop: NK.top,
5044
5044
  placement: U,
5045
- triggerAnchorPoint: VK
5045
+ triggerAnchorPoint: BK
5046
5046
  };
5047
5047
  }
5048
5048
  function $edcf132a9284368a$export$b3ceb0cbf1056d98(e) {
@@ -6897,7 +6897,7 @@ Defaulting to \`null\`.`;
6897
6897
  n,
6898
6898
  h
6899
6899
  ]);
6900
- let MK = $c87311424ea30a05$export$fedb369cb70207f1() || e.type === "timeZoneName" ? {
6900
+ let jK = $c87311424ea30a05$export$fedb369cb70207f1() || e.type === "timeZoneName" ? {
6901
6901
  role: "textbox",
6902
6902
  "aria-valuemax": null,
6903
6903
  "aria-valuemin": null,
@@ -6907,8 +6907,8 @@ Defaulting to \`null\`.`;
6907
6907
  e !== (0, import_react.useMemo)(() => t.segments.find((e2) => e2.isEditable), [
6908
6908
  t.segments
6909
6909
  ]) && !t.isInvalid && (f = void 0);
6910
- let NK = $bdb11010cef70236$export$f680877a34711e37(), PK = !t.isDisabled && !t.isReadOnly && e.isEditable, FK = e.type === "literal" ? "" : s.of(e.type), IK = $313b98861ee5dd6c$export$d6875122194c7b44({
6911
- "aria-label": `${FK}${c ? `, ${c}` : ""}${d ? ", " : ""}`,
6910
+ let MK = $bdb11010cef70236$export$f680877a34711e37(), NK = !t.isDisabled && !t.isReadOnly && e.isEditable, PK = e.type === "literal" ? "" : s.of(e.type), FK = $313b98861ee5dd6c$export$d6875122194c7b44({
6911
+ "aria-label": `${PK}${c ? `, ${c}` : ""}${d ? ", " : ""}`,
6912
6912
  "aria-labelledby": d
6913
6913
  });
6914
6914
  if (e.type === "literal") return {
@@ -6916,32 +6916,32 @@ Defaulting to \`null\`.`;
6916
6916
  "aria-hidden": true
6917
6917
  }
6918
6918
  };
6919
- let LK = {
6919
+ let IK = {
6920
6920
  caretColor: "transparent"
6921
6921
  };
6922
6922
  if (o === "rtl") {
6923
- LK.unicodeBidi = "embed";
6923
+ IK.unicodeBidi = "embed";
6924
6924
  let t2 = v[e.type];
6925
- (t2 === "numeric" || t2 === "2-digit") && (LK.direction = "ltr");
6925
+ (t2 === "numeric" || t2 === "2-digit") && (IK.direction = "ltr");
6926
6926
  }
6927
6927
  return {
6928
- segmentProps: $3ef42575df84b30b$export$9d1611c77c2fe928(w, IK, {
6929
- id: NK,
6930
- ...MK,
6928
+ segmentProps: $3ef42575df84b30b$export$9d1611c77c2fe928(w, FK, {
6929
+ id: MK,
6930
+ ...jK,
6931
6931
  "aria-invalid": t.isInvalid ? "true" : void 0,
6932
6932
  "aria-describedby": f,
6933
6933
  "aria-readonly": t.isReadOnly || !e.isEditable ? "true" : void 0,
6934
6934
  "data-placeholder": e.isPlaceholder || void 0,
6935
- contentEditable: PK,
6936
- suppressContentEditableWarning: PK,
6937
- spellCheck: PK ? "false" : void 0,
6938
- autoCorrect: PK ? "off" : void 0,
6939
- enterKeyHint: PK ? "next" : void 0,
6940
- inputMode: t.isDisabled || e.type === "dayPeriod" || e.type === "era" || !PK ? void 0 : "numeric",
6935
+ contentEditable: NK,
6936
+ suppressContentEditableWarning: NK,
6937
+ spellCheck: NK ? "false" : void 0,
6938
+ autoCorrect: NK ? "off" : void 0,
6939
+ enterKeyHint: NK ? "next" : void 0,
6940
+ inputMode: t.isDisabled || e.type === "dayPeriod" || e.type === "era" || !NK ? void 0 : "numeric",
6941
6941
  tabIndex: t.isDisabled ? void 0 : 0,
6942
6942
  onKeyDown: A,
6943
6943
  onFocus: Q,
6944
- style: LK,
6944
+ style: IK,
6945
6945
  onPointerDown(e2) {
6946
6946
  e2.stopPropagation();
6947
6947
  },
@@ -10184,12 +10184,12 @@ Defaulting to \`null\`.`;
10184
10184
  e2 = $11d87f3f76e88657$export$b4a036af3fc0b032(e2, (y == null ? void 0 : y.calendar) || new $3b62074eb05584b2$export$80ee6245ec4f29ec()), y && "hour" in y ? S(y.set(e2)) : S(e2);
10185
10185
  }
10186
10186
  }
10187
- let MK = (0, import_react.useMemo)(() => w ? f && f(w) ? true : $f62d864046160412$export$eac50920cf2fd59a(w, s, c) : false, [
10187
+ let jK = (0, import_react.useMemo)(() => w ? f && f(w) ? true : $f62d864046160412$export$eac50920cf2fd59a(w, s, c) : false, [
10188
10188
  w,
10189
10189
  f,
10190
10190
  s,
10191
10191
  c
10192
- ]), NK = e.isInvalid || e.validationState === "invalid" || MK, PK = NK ? "invalid" : null, FK = (0, import_react.useMemo)(() => h === "visible" ? o : $131cf43a05231e1e$var$unitDuration(o), [
10192
+ ]), MK = e.isInvalid || e.validationState === "invalid" || jK, NK = MK ? "invalid" : null, PK = (0, import_react.useMemo)(() => h === "visible" ? o : $131cf43a05231e1e$var$unitDuration(o), [
10193
10193
  h,
10194
10194
  o
10195
10195
  ]);
@@ -10206,8 +10206,8 @@ Defaulting to \`null\`.`;
10206
10206
  maxValue: c,
10207
10207
  focusedDate: O,
10208
10208
  timeZone: E,
10209
- validationState: PK,
10210
- isValueInvalid: NK,
10209
+ validationState: NK,
10210
+ isValueInvalid: MK,
10211
10211
  setFocusedDate(e2) {
10212
10212
  Q(e2);
10213
10213
  },
@@ -10232,12 +10232,12 @@ Defaulting to \`null\`.`;
10232
10232
  }));
10233
10233
  },
10234
10234
  focusNextPage() {
10235
- let e2 = M.add(FK);
10236
- A($f62d864046160412$export$4f5203c0d889109e(O.add(FK), s, c)), I($f62d864046160412$export$144a00ba6044eb9($f62d864046160412$export$5bb865b12696a77d(O, e2, FK, i, s, c), FK, i));
10235
+ let e2 = M.add(PK);
10236
+ A($f62d864046160412$export$4f5203c0d889109e(O.add(PK), s, c)), I($f62d864046160412$export$144a00ba6044eb9($f62d864046160412$export$5bb865b12696a77d(O, e2, PK, i, s, c), PK, i));
10237
10237
  },
10238
10238
  focusPreviousPage() {
10239
- let e2 = M.subtract(FK);
10240
- A($f62d864046160412$export$4f5203c0d889109e(O.subtract(FK), s, c)), I($f62d864046160412$export$144a00ba6044eb9($f62d864046160412$export$5bb865b12696a77d(O, e2, FK, i, s, c), FK, i));
10239
+ let e2 = M.subtract(PK);
10240
+ A($f62d864046160412$export$4f5203c0d889109e(O.subtract(PK), s, c)), I($f62d864046160412$export$144a00ba6044eb9($f62d864046160412$export$5bb865b12696a77d(O, e2, PK, i, s, c), PK, i));
10241
10241
  },
10242
10242
  focusSectionStart() {
10243
10243
  o.days ? Q(M) : o.weeks ? Q($14e0f24ef4ac5c92$export$42c81a444fbfb5d4(O, i)) : (o.months || o.years) && Q($14e0f24ef4ac5c92$export$a5a3b454ada2268e(O));
@@ -10374,13 +10374,13 @@ Defaulting to \`null\`.`;
10374
10374
  end: $9a36b6ba2fb1a7c5$var$convertValue(e2.end, h == null ? void 0 : h.end)
10375
10375
  }), q(null);
10376
10376
  }
10377
- }, [$, MK] = (0, import_react.useState)(false), { isDateUnavailable: NK } = e, PK = (0, import_react.useMemo)(() => !h || v ? false : NK && (NK(h.start) || NK(h.end)) ? true : $f62d864046160412$export$eac50920cf2fd59a(h.start, c, d) || $f62d864046160412$export$eac50920cf2fd59a(h.end, c, d), [
10378
- NK,
10377
+ }, [$, jK] = (0, import_react.useState)(false), { isDateUnavailable: MK } = e, NK = (0, import_react.useMemo)(() => !h || v ? false : MK && (MK(h.start) || MK(h.end)) ? true : $f62d864046160412$export$eac50920cf2fd59a(h.start, c, d) || $f62d864046160412$export$eac50920cf2fd59a(h.end, c, d), [
10378
+ MK,
10379
10379
  h,
10380
10380
  v,
10381
10381
  c,
10382
10382
  d
10383
- ]), FK = e.isInvalid || e.validationState === "invalid" || PK, IK = FK ? "invalid" : null;
10383
+ ]), PK = e.isInvalid || e.validationState === "invalid" || NK, FK = PK ? "invalid" : null;
10384
10384
  return {
10385
10385
  ...I,
10386
10386
  value: h,
@@ -10388,8 +10388,8 @@ Defaulting to \`null\`.`;
10388
10388
  anchorDate: v,
10389
10389
  setAnchorDate: q,
10390
10390
  highlightedRange: J,
10391
- validationState: IK,
10392
- isValueInvalid: FK,
10391
+ validationState: FK,
10392
+ isValueInvalid: PK,
10393
10393
  selectFocusedDate() {
10394
10394
  Q(I.focusedDate);
10395
10395
  },
@@ -10405,7 +10405,7 @@ Defaulting to \`null\`.`;
10405
10405
  return I.isInvalid(e2) || $f62d864046160412$export$eac50920cf2fd59a(e2, (_a2 = w.current) == null ? void 0 : _a2.start, (_b = w.current) == null ? void 0 : _b.end);
10406
10406
  },
10407
10407
  isDragging: $,
10408
- setDragging: MK
10408
+ setDragging: jK
10409
10409
  };
10410
10410
  }
10411
10411
  function $9a36b6ba2fb1a7c5$var$makeRange(e, t) {
@@ -11592,7 +11592,7 @@ Defaulting to \`null\`.`;
11592
11592
  _,
11593
11593
  S,
11594
11594
  v
11595
- ]), MK = (0, import_react.useMemo)(() => {
11595
+ ]), jK = (0, import_react.useMemo)(() => {
11596
11596
  let t2 = w === "h11" || w === "h12", n2 = [
11597
11597
  "era",
11598
11598
  "year",
@@ -11610,15 +11610,15 @@ Defaulting to \`null\`.`;
11610
11610
  e.maxGranularity,
11611
11611
  _,
11612
11612
  w
11613
- ]), [NK, PK] = (0, import_react.useState)(M), [FK, IK] = (0, import_react.useState)(S), [LK, RK] = (0, import_react.useState)(w);
11614
- (M !== NK || w !== LK || !$14e0f24ef4ac5c92$export$dbc69fd56b53d5e(S, FK)) && (I = new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M), PK(M), IK(S), RK(w), z(I));
11615
- let zK = (t2) => {
11616
- if (!(e.isDisabled || e.isReadOnly)) if (t2 == null || t2 instanceof $f863c03ccd9aead0$export$ae165b50d181e1ef && t2.isCleared(MK)) z(new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M)), O(null);
11613
+ ]), [MK, NK] = (0, import_react.useState)(M), [PK, FK] = (0, import_react.useState)(S), [IK, LK] = (0, import_react.useState)(w);
11614
+ (M !== MK || w !== IK || !$14e0f24ef4ac5c92$export$dbc69fd56b53d5e(S, PK)) && (I = new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M), NK(M), FK(S), LK(w), z(I));
11615
+ let RK = (t2) => {
11616
+ if (!(e.isDisabled || e.isReadOnly)) if (t2 == null || t2 instanceof $f863c03ccd9aead0$export$ae165b50d181e1ef && t2.isCleared(jK)) z(new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M)), O(null);
11617
11617
  else if (!(t2 instanceof $f863c03ccd9aead0$export$ae165b50d181e1ef)) t2 = $11d87f3f76e88657$export$b4a036af3fc0b032(t2, (h == null ? void 0 : h.calendar) || new $3b62074eb05584b2$export$80ee6245ec4f29ec()), z(new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M)), O(t2);
11618
11618
  else {
11619
- if (t2.isComplete(MK)) {
11619
+ if (t2.isComplete(jK)) {
11620
11620
  let e2 = t2.toValue(M ?? $);
11621
- if (t2.validate(e2, MK)) {
11621
+ if (t2.validate(e2, jK)) {
11622
11622
  let t3 = $11d87f3f76e88657$export$b4a036af3fc0b032(e2, (h == null ? void 0 : h.calendar) || new $3b62074eb05584b2$export$80ee6245ec4f29ec());
11623
11623
  if (!E || t3.compare(E) !== 0) {
11624
11624
  z(new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M)), O(t3);
@@ -11628,83 +11628,83 @@ Defaulting to \`null\`.`;
11628
11628
  }
11629
11629
  z(t2);
11630
11630
  }
11631
- }, BK = (0, import_react.useMemo)(() => I.toValue(M ?? $).toDate(y), [
11631
+ }, zK = (0, import_react.useMemo)(() => I.toValue(M ?? $).toDate(y), [
11632
11632
  I,
11633
11633
  y,
11634
11634
  M,
11635
11635
  $
11636
- ]), VK = (0, import_react.useMemo)(() => $3c0fc76039f1c516$var$processSegments(BK, I, J, Q, S, t, _), [
11637
- BK,
11636
+ ]), BK = (0, import_react.useMemo)(() => $3c0fc76039f1c516$var$processSegments(zK, I, J, Q, S, t, _), [
11637
+ zK,
11638
11638
  J,
11639
11639
  Q,
11640
11640
  I,
11641
11641
  S,
11642
11642
  t,
11643
11643
  _
11644
- ]), HK = (e2, t2) => {
11645
- zK(I.cycle(e2, t2, $, MK));
11646
- }, UK = (0, import_react.useMemo)(() => $35a22f14a1f04b11$export$f18627323ab57ac0(E, c, d, f, K), [
11644
+ ]), VK = (e2, t2) => {
11645
+ RK(I.cycle(e2, t2, $, jK));
11646
+ }, HK = (0, import_react.useMemo)(() => $35a22f14a1f04b11$export$f18627323ab57ac0(E, c, d, f, K), [
11647
11647
  E,
11648
11648
  c,
11649
11649
  d,
11650
11650
  f,
11651
11651
  K
11652
- ]), WK = $e5be200c675c3b3a$export$fc1a364ae1f3ff10({
11652
+ ]), UK = $e5be200c675c3b3a$export$fc1a364ae1f3ff10({
11653
11653
  ...e,
11654
11654
  value: E,
11655
- builtinValidation: UK
11656
- }), GK = WK.displayValidation.isInvalid, KK = e.validationState || (GK ? "invalid" : null);
11655
+ builtinValidation: HK
11656
+ }), WK = UK.displayValidation.isInvalid, GK = e.validationState || (WK ? "invalid" : null);
11657
11657
  return {
11658
- ...WK,
11658
+ ...UK,
11659
11659
  value: M,
11660
11660
  defaultValue: e.defaultValue ?? A,
11661
- dateValue: BK,
11661
+ dateValue: zK,
11662
11662
  calendar: S,
11663
- setValue: zK,
11664
- segments: VK,
11663
+ setValue: RK,
11664
+ segments: BK,
11665
11665
  dateFormatter: J,
11666
- validationState: KK,
11667
- isInvalid: GK,
11666
+ validationState: GK,
11667
+ isInvalid: WK,
11668
11668
  granularity: _,
11669
11669
  maxGranularity: e.maxGranularity ?? "year",
11670
11670
  isDisabled: a,
11671
11671
  isReadOnly: o,
11672
11672
  isRequired: s,
11673
11673
  increment(e2) {
11674
- HK(e2, 1);
11674
+ VK(e2, 1);
11675
11675
  },
11676
11676
  decrement(e2) {
11677
- HK(e2, -1);
11677
+ VK(e2, -1);
11678
11678
  },
11679
11679
  incrementPage(e2) {
11680
- HK(e2, $3c0fc76039f1c516$var$PAGE_STEP[e2] || 1);
11680
+ VK(e2, $3c0fc76039f1c516$var$PAGE_STEP[e2] || 1);
11681
11681
  },
11682
11682
  decrementPage(e2) {
11683
- HK(e2, -($3c0fc76039f1c516$var$PAGE_STEP[e2] || 1));
11683
+ VK(e2, -($3c0fc76039f1c516$var$PAGE_STEP[e2] || 1));
11684
11684
  },
11685
11685
  incrementToMax(e2) {
11686
11686
  let t2 = e2 === "hour" && w === "h12" ? 11 : I.getSegmentLimits(e2).maxValue;
11687
- zK(I.set(e2, t2, $));
11687
+ RK(I.set(e2, t2, $));
11688
11688
  },
11689
11689
  decrementToMin(e2) {
11690
11690
  let t2 = e2 === "hour" && w === "h12" ? 12 : I.getSegmentLimits(e2).minValue;
11691
- zK(I.set(e2, t2, $));
11691
+ RK(I.set(e2, t2, $));
11692
11692
  },
11693
11693
  setSegment(e2, t2) {
11694
- zK(I.set(e2, t2, $));
11694
+ RK(I.set(e2, t2, $));
11695
11695
  },
11696
11696
  confirmPlaceholder() {
11697
- if (!(e.isDisabled || e.isReadOnly) && I.isComplete(MK)) {
11697
+ if (!(e.isDisabled || e.isReadOnly) && I.isComplete(jK)) {
11698
11698
  let e2 = $11d87f3f76e88657$export$b4a036af3fc0b032(I.toValue(M ?? $), (h == null ? void 0 : h.calendar) || new $3b62074eb05584b2$export$80ee6245ec4f29ec());
11699
11699
  (!E || e2.compare(E) !== 0) && O(e2), z(new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M));
11700
11700
  }
11701
11701
  },
11702
11702
  clearSegment(e2) {
11703
11703
  let t2 = I;
11704
- e2 !== "timeZoneName" && e2 !== "literal" && (t2 = I.clear(e2)), zK(t2);
11704
+ e2 !== "timeZoneName" && e2 !== "literal" && (t2 = I.clear(e2)), RK(t2);
11705
11705
  },
11706
11706
  formatValue(e2) {
11707
- return M ? new $fb18d541ea1ad717$export$ad991b66133851cf(t, $35a22f14a1f04b11$export$7e319ea407e63bc0(e2, K)).format(BK) : "";
11707
+ return M ? new $fb18d541ea1ad717$export$ad991b66133851cf(t, $35a22f14a1f04b11$export$7e319ea407e63bc0(e2, K)).format(zK) : "";
11708
11708
  },
11709
11709
  getDateFormatter(e2, t2) {
11710
11710
  return new $fb18d541ea1ad717$export$ad991b66133851cf(e2, $35a22f14a1f04b11$export$7e319ea407e63bc0({}, {
@@ -11824,7 +11824,7 @@ Defaulting to \`null\`.`;
11824
11824
  e.endName
11825
11825
  ]),
11826
11826
  builtinValidation: J
11827
- }), $ = Q.displayValidation.isInvalid, MK = e.validationState || ($ ? "invalid" : null);
11827
+ }), $ = Q.displayValidation.isInvalid, jK = e.validationState || ($ ? "invalid" : null);
11828
11828
  return {
11829
11829
  ...Q,
11830
11830
  value: c,
@@ -11870,7 +11870,7 @@ Defaulting to \`null\`.`;
11870
11870
  end: (w == null ? void 0 : w.end) || $35a22f14a1f04b11$export$c5221a78ef73c5e9(e.placeholderValue)
11871
11871
  }), t.setOpen(n2);
11872
11872
  },
11873
- validationState: MK,
11873
+ validationState: jK,
11874
11874
  isInvalid: $,
11875
11875
  formatValue(t2, n2) {
11876
11876
  if (!c || !c.start || !c.end) return null;
@@ -15742,33 +15742,33 @@ try {
15742
15742
  }, f = import_react.createContext(void 0), h = () => import_react.useContext(f) || d, _ = {}, v = {};
15743
15743
  function y(e2) {
15744
15744
  var _a2, _b, _c, _d;
15745
- let { children: d2, theme: h2, modeStorageKey: y2 = i, colorSchemeStorageKey: S2 = a, disableTransitionOnChange: w2 = o, storageManager: E, storageWindow: O = typeof window > "u" ? void 0 : window, documentNode: A = typeof document > "u" ? void 0 : document, colorSchemeNode: M = typeof document > "u" ? void 0 : document.documentElement, disableNestedContext: I = false, disableStyleSheetGeneration: z = false, defaultMode: U = "system", noSsr: K } = e2, q = import_react.useRef(false), J = useTheme$2(), Q = import_react.useContext(f), $ = !!Q && !I, MK = import_react.useMemo(() => h2 || (typeof n == "function" ? n() : n), [
15745
+ let { children: d2, theme: h2, modeStorageKey: y2 = i, colorSchemeStorageKey: S2 = a, disableTransitionOnChange: w2 = o, storageManager: E, storageWindow: O = typeof window > "u" ? void 0 : window, documentNode: A = typeof document > "u" ? void 0 : document, colorSchemeNode: M = typeof document > "u" ? void 0 : document.documentElement, disableNestedContext: I = false, disableStyleSheetGeneration: z = false, defaultMode: U = "system", noSsr: K } = e2, q = import_react.useRef(false), J = useTheme$2(), Q = import_react.useContext(f), $ = !!Q && !I, jK = import_react.useMemo(() => h2 || (typeof n == "function" ? n() : n), [
15746
15746
  h2
15747
- ]), NK = MK[t], PK = NK || MK, { colorSchemes: FK = _, components: IK = v, cssVarPrefix: LK } = PK, RK = Object.keys(FK).filter((e3) => !!FK[e3]).join(","), zK = import_react.useMemo(() => RK.split(","), [
15748
- RK
15749
- ]), BK = typeof s == "string" ? s : s.light, VK = typeof s == "string" ? s : s.dark, { mode: HK, setMode: UK, systemMode: WK, lightColorScheme: GK, darkColorScheme: KK, colorScheme: qK, setColorScheme: JK } = useCurrentColorScheme({
15750
- supportedColorSchemes: zK,
15751
- defaultLightColorScheme: BK,
15752
- defaultDarkColorScheme: VK,
15747
+ ]), MK = jK[t], NK = MK || jK, { colorSchemes: PK = _, components: FK = v, cssVarPrefix: IK } = NK, LK = Object.keys(PK).filter((e3) => !!PK[e3]).join(","), RK = import_react.useMemo(() => LK.split(","), [
15748
+ LK
15749
+ ]), zK = typeof s == "string" ? s : s.light, BK = typeof s == "string" ? s : s.dark, { mode: VK, setMode: HK, systemMode: UK, lightColorScheme: WK, darkColorScheme: GK, colorScheme: KK, setColorScheme: qK } = useCurrentColorScheme({
15750
+ supportedColorSchemes: RK,
15751
+ defaultLightColorScheme: zK,
15752
+ defaultDarkColorScheme: BK,
15753
15753
  modeStorageKey: y2,
15754
15754
  colorSchemeStorageKey: S2,
15755
- defaultMode: FK[BK] && FK[VK] ? U : ((_b = (_a2 = FK[PK.defaultColorScheme]) == null ? void 0 : _a2.palette) == null ? void 0 : _b.mode) || ((_c = PK.palette) == null ? void 0 : _c.mode),
15755
+ defaultMode: PK[zK] && PK[BK] ? U : ((_b = (_a2 = PK[NK.defaultColorScheme]) == null ? void 0 : _a2.palette) == null ? void 0 : _b.mode) || ((_c = NK.palette) == null ? void 0 : _c.mode),
15756
15756
  storageManager: E,
15757
15757
  storageWindow: O,
15758
15758
  noSsr: K
15759
- }), YK = HK, XK = qK;
15760
- $ && (YK = Q.mode, XK = Q.colorScheme);
15761
- let ZK = import_react.useMemo(() => {
15759
+ }), JK = VK, YK = KK;
15760
+ $ && (JK = Q.mode, YK = Q.colorScheme);
15761
+ let XK = import_react.useMemo(() => {
15762
15762
  var _a3;
15763
- let e3 = XK || PK.defaultColorScheme, t2 = ((_a3 = PK.generateThemeVars) == null ? void 0 : _a3.call(PK)) || PK.vars, n2 = {
15764
- ...PK,
15765
- components: IK,
15766
- colorSchemes: FK,
15767
- cssVarPrefix: LK,
15763
+ let e3 = YK || NK.defaultColorScheme, t2 = ((_a3 = NK.generateThemeVars) == null ? void 0 : _a3.call(NK)) || NK.vars, n2 = {
15764
+ ...NK,
15765
+ components: FK,
15766
+ colorSchemes: PK,
15767
+ cssVarPrefix: IK,
15768
15768
  vars: t2
15769
15769
  };
15770
15770
  if (typeof n2.generateSpacing == "function" && (n2.spacing = n2.generateSpacing()), e3) {
15771
- let t3 = FK[e3];
15771
+ let t3 = PK[e3];
15772
15772
  t3 && typeof t3 == "object" && Object.keys(t3).forEach((e4) => {
15773
15773
  t3[e4] && typeof t3[e4] == "object" ? n2[e4] = {
15774
15774
  ...n2[e4],
@@ -15778,31 +15778,31 @@ try {
15778
15778
  }
15779
15779
  return c ? c(n2) : n2;
15780
15780
  }, [
15781
- PK,
15782
- XK,
15783
- IK,
15781
+ NK,
15782
+ YK,
15784
15783
  FK,
15785
- LK
15786
- ]), QK = PK.colorSchemeSelector;
15784
+ PK,
15785
+ IK
15786
+ ]), ZK = NK.colorSchemeSelector;
15787
15787
  useEnhancedEffect_default(() => {
15788
- if (XK && M && QK && QK !== "media") {
15789
- let e3 = QK, t2 = QK;
15790
- if (e3 === "class" && (t2 = ".%s"), e3 === "data" && (t2 = "[data-%s]"), (e3 == null ? void 0 : e3.startsWith("data-")) && !e3.includes("%s") && (t2 = `[${e3}="%s"]`), t2.startsWith(".")) M.classList.remove(...zK.map((e4) => t2.substring(1).replace("%s", e4))), M.classList.add(t2.substring(1).replace("%s", XK));
15788
+ if (YK && M && ZK && ZK !== "media") {
15789
+ let e3 = ZK, t2 = ZK;
15790
+ if (e3 === "class" && (t2 = ".%s"), e3 === "data" && (t2 = "[data-%s]"), (e3 == null ? void 0 : e3.startsWith("data-")) && !e3.includes("%s") && (t2 = `[${e3}="%s"]`), t2.startsWith(".")) M.classList.remove(...RK.map((e4) => t2.substring(1).replace("%s", e4))), M.classList.add(t2.substring(1).replace("%s", YK));
15791
15791
  else {
15792
- let e4 = t2.replace("%s", XK).match(/\[([^\]]+)\]/);
15792
+ let e4 = t2.replace("%s", YK).match(/\[([^\]]+)\]/);
15793
15793
  if (e4) {
15794
15794
  let [t3, n2] = e4[1].split("=");
15795
- n2 || zK.forEach((e5) => {
15796
- M.removeAttribute(t3.replace(XK, e5));
15795
+ n2 || RK.forEach((e5) => {
15796
+ M.removeAttribute(t3.replace(YK, e5));
15797
15797
  }), M.setAttribute(t3, n2 ? n2.replace(/"|'/g, "") : "");
15798
- } else M.setAttribute(t2, XK);
15798
+ } else M.setAttribute(t2, YK);
15799
15799
  }
15800
15800
  }
15801
15801
  }, [
15802
- XK,
15803
- QK,
15802
+ YK,
15803
+ ZK,
15804
15804
  M,
15805
- zK
15805
+ RK
15806
15806
  ]), import_react.useEffect(() => {
15807
15807
  let e3;
15808
15808
  if (w2 && q.current && A) {
@@ -15815,48 +15815,48 @@ try {
15815
15815
  clearTimeout(e3);
15816
15816
  };
15817
15817
  }, [
15818
- XK,
15818
+ YK,
15819
15819
  w2,
15820
15820
  A
15821
15821
  ]), import_react.useEffect(() => (q.current = true, () => {
15822
15822
  q.current = false;
15823
15823
  }), []);
15824
- let $K = import_react.useMemo(() => ({
15825
- allColorSchemes: zK,
15826
- colorScheme: XK,
15827
- darkColorScheme: KK,
15828
- lightColorScheme: GK,
15829
- mode: YK,
15830
- setColorScheme: JK,
15831
- setMode: UK,
15832
- systemMode: WK
15824
+ let QK = import_react.useMemo(() => ({
15825
+ allColorSchemes: RK,
15826
+ colorScheme: YK,
15827
+ darkColorScheme: GK,
15828
+ lightColorScheme: WK,
15829
+ mode: JK,
15830
+ setColorScheme: qK,
15831
+ setMode: HK,
15832
+ systemMode: UK
15833
15833
  }), [
15834
- zK,
15835
- XK,
15836
- KK,
15837
- GK,
15834
+ RK,
15838
15835
  YK,
15836
+ GK,
15837
+ WK,
15839
15838
  JK,
15839
+ qK,
15840
+ HK,
15840
15841
  UK,
15841
- WK,
15842
- ZK.colorSchemeSelector
15843
- ]), eq = true;
15844
- (z || PK.cssVariables === false || $ && (J == null ? void 0 : J.cssVarPrefix) === LK) && (eq = false);
15845
- let tq = (0, import_jsx_runtime.jsxs)(import_react.Fragment, {
15842
+ XK.colorSchemeSelector
15843
+ ]), $K = true;
15844
+ (z || NK.cssVariables === false || $ && (J == null ? void 0 : J.cssVarPrefix) === IK) && ($K = false);
15845
+ let eq = (0, import_jsx_runtime.jsxs)(import_react.Fragment, {
15846
15846
  children: [
15847
15847
  (0, import_jsx_runtime.jsx)(ThemeProvider_default, {
15848
- themeId: NK ? t : void 0,
15849
- theme: ZK,
15848
+ themeId: MK ? t : void 0,
15849
+ theme: XK,
15850
15850
  children: d2
15851
15851
  }),
15852
- eq && (0, import_jsx_runtime.jsx)(GlobalStyles$1, {
15853
- styles: ((_d = ZK.generateStyleSheets) == null ? void 0 : _d.call(ZK)) || []
15852
+ $K && (0, import_jsx_runtime.jsx)(GlobalStyles$1, {
15853
+ styles: ((_d = XK.generateStyleSheets) == null ? void 0 : _d.call(XK)) || []
15854
15854
  })
15855
15855
  ]
15856
15856
  });
15857
- return $ ? tq : (0, import_jsx_runtime.jsx)(f.Provider, {
15858
- value: $K,
15859
- children: tq
15857
+ return $ ? eq : (0, import_jsx_runtime.jsx)(f.Provider, {
15858
+ value: QK,
15859
+ children: eq
15860
15860
  });
15861
15861
  }
15862
15862
  let S = typeof s == "string" ? s : s.light, w = typeof s == "string" ? s : s.dark;
@@ -17356,10 +17356,10 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
17356
17356
  let n = useDefaultProps({
17357
17357
  props: e,
17358
17358
  name: "MuiInputBase"
17359
- }), { "aria-describedby": i, autoComplete: a, autoFocus: o, className: s, color: c, components: d = {}, componentsProps: f = {}, defaultValue: h, disabled: _, disableInjectingGlobalStyles: v, endAdornment: y, error: S, fullWidth: w = false, id: E, inputComponent: O = "input", inputProps: A = {}, inputRef: M, margin: I, maxRows: z, minRows: U, multiline: K = false, name: q, onBlur: J, onChange: Q, onClick: $, onFocus: MK, onKeyDown: NK, onKeyUp: PK, placeholder: FK, readOnly: IK, renderSuffix: LK, rows: RK, size: zK, slotProps: BK = {}, slots: VK = {}, startAdornment: HK, type: UK = "text", value: WK, ...GK } = n, KK = A.value == null ? WK : A.value, { current: qK } = import_react.useRef(KK != null), JK = import_react.useRef(), YK = import_react.useCallback((e2) => {
17360
- }, []), XK = useForkRef_default(JK, M, A.ref, YK), [ZK, QK] = import_react.useState(false), $K = useFormControl(), eq = formControlState({
17359
+ }), { "aria-describedby": i, autoComplete: a, autoFocus: o, className: s, color: c, components: d = {}, componentsProps: f = {}, defaultValue: h, disabled: _, disableInjectingGlobalStyles: v, endAdornment: y, error: S, fullWidth: w = false, id: E, inputComponent: O = "input", inputProps: A = {}, inputRef: M, margin: I, maxRows: z, minRows: U, multiline: K = false, name: q, onBlur: J, onChange: Q, onClick: $, onFocus: jK, onKeyDown: MK, onKeyUp: NK, placeholder: PK, readOnly: FK, renderSuffix: IK, rows: LK, size: RK, slotProps: zK = {}, slots: BK = {}, startAdornment: VK, type: HK = "text", value: UK, ...WK } = n, GK = A.value == null ? UK : A.value, { current: KK } = import_react.useRef(GK != null), qK = import_react.useRef(), JK = import_react.useCallback((e2) => {
17360
+ }, []), YK = useForkRef_default(qK, M, A.ref, JK), [XK, ZK] = import_react.useState(false), QK = useFormControl(), $K = formControlState({
17361
17361
  props: n,
17362
- muiFormControl: $K,
17362
+ muiFormControl: QK,
17363
17363
  states: [
17364
17364
  "color",
17365
17365
  "disabled",
@@ -17370,145 +17370,145 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
17370
17370
  "filled"
17371
17371
  ]
17372
17372
  });
17373
- eq.focused = $K ? $K.focused : ZK, import_react.useEffect(() => {
17374
- !$K && _ && ZK && (QK(false), J && J());
17373
+ $K.focused = QK ? QK.focused : XK, import_react.useEffect(() => {
17374
+ !QK && _ && XK && (ZK(false), J && J());
17375
17375
  }, [
17376
- $K,
17376
+ QK,
17377
17377
  _,
17378
- ZK,
17378
+ XK,
17379
17379
  J
17380
17380
  ]);
17381
- let tq = $K && $K.onFilled, nq = $K && $K.onEmpty, rq = import_react.useCallback((e2) => {
17382
- isFilled(e2) ? tq && tq() : nq && nq();
17381
+ let eq = QK && QK.onFilled, tq = QK && QK.onEmpty, nq = import_react.useCallback((e2) => {
17382
+ isFilled(e2) ? eq && eq() : tq && tq();
17383
17383
  }, [
17384
- tq,
17385
- nq
17384
+ eq,
17385
+ tq
17386
17386
  ]);
17387
17387
  useEnhancedEffect_default$1(() => {
17388
- qK && rq({
17389
- value: KK
17388
+ KK && nq({
17389
+ value: GK
17390
17390
  });
17391
17391
  }, [
17392
- KK,
17393
- rq,
17394
- qK
17392
+ GK,
17393
+ nq,
17394
+ KK
17395
17395
  ]);
17396
- let iq = (e2) => {
17397
- MK && MK(e2), A.onFocus && A.onFocus(e2), $K && $K.onFocus ? $K.onFocus(e2) : QK(true);
17398
- }, aq = (e2) => {
17399
- J && J(e2), A.onBlur && A.onBlur(e2), $K && $K.onBlur ? $K.onBlur(e2) : QK(false);
17400
- }, oq = (e2, ...t2) => {
17401
- if (!qK) {
17402
- let t3 = e2.target || JK.current;
17396
+ let rq = (e2) => {
17397
+ jK && jK(e2), A.onFocus && A.onFocus(e2), QK && QK.onFocus ? QK.onFocus(e2) : ZK(true);
17398
+ }, iq = (e2) => {
17399
+ J && J(e2), A.onBlur && A.onBlur(e2), QK && QK.onBlur ? QK.onBlur(e2) : ZK(false);
17400
+ }, aq = (e2, ...t2) => {
17401
+ if (!KK) {
17402
+ let t3 = e2.target || qK.current;
17403
17403
  if (t3 == null) throw Error(formatMuiErrorMessage(1));
17404
- rq({
17404
+ nq({
17405
17405
  value: t3.value
17406
17406
  });
17407
17407
  }
17408
17408
  A.onChange && A.onChange(e2, ...t2), Q && Q(e2, ...t2);
17409
17409
  };
17410
17410
  import_react.useEffect(() => {
17411
- rq(JK.current);
17411
+ nq(qK.current);
17412
17412
  }, []);
17413
- let sq = (e2) => {
17414
- JK.current && e2.currentTarget === e2.target && JK.current.focus(), $ && $(e2);
17415
- }, cq = O, lq = A;
17416
- K && cq === "input" && (lq = RK ? {
17413
+ let oq = (e2) => {
17414
+ qK.current && e2.currentTarget === e2.target && qK.current.focus(), $ && $(e2);
17415
+ }, sq = O, cq = A;
17416
+ K && sq === "input" && (cq = LK ? {
17417
17417
  type: void 0,
17418
- minRows: RK,
17419
- maxRows: RK,
17420
- ...lq
17418
+ minRows: LK,
17419
+ maxRows: LK,
17420
+ ...cq
17421
17421
  } : {
17422
17422
  type: void 0,
17423
17423
  maxRows: z,
17424
17424
  minRows: U,
17425
- ...lq
17426
- }, cq = TextareaAutosize_default);
17427
- let uq = (e2) => {
17428
- rq(e2.animationName === "mui-auto-fill-cancel" ? JK.current : {
17425
+ ...cq
17426
+ }, sq = TextareaAutosize_default);
17427
+ let lq = (e2) => {
17428
+ nq(e2.animationName === "mui-auto-fill-cancel" ? qK.current : {
17429
17429
  value: "x"
17430
17430
  });
17431
17431
  };
17432
17432
  import_react.useEffect(() => {
17433
- $K && $K.setAdornedStart(!!HK);
17433
+ QK && QK.setAdornedStart(!!VK);
17434
17434
  }, [
17435
- $K,
17436
- HK
17435
+ QK,
17436
+ VK
17437
17437
  ]);
17438
- let dq = {
17438
+ let uq = {
17439
17439
  ...n,
17440
- color: eq.color || "primary",
17441
- disabled: eq.disabled,
17440
+ color: $K.color || "primary",
17441
+ disabled: $K.disabled,
17442
17442
  endAdornment: y,
17443
- error: eq.error,
17444
- focused: eq.focused,
17445
- formControl: $K,
17443
+ error: $K.error,
17444
+ focused: $K.focused,
17445
+ formControl: QK,
17446
17446
  fullWidth: w,
17447
- hiddenLabel: eq.hiddenLabel,
17447
+ hiddenLabel: $K.hiddenLabel,
17448
17448
  multiline: K,
17449
- size: eq.size,
17450
- startAdornment: HK,
17451
- type: UK
17452
- }, fq = useUtilityClasses(dq), pq = VK.root || d.Root || InputBaseRoot, mq = BK.root || f.root || {}, hq = VK.input || d.Input || InputBaseInput;
17453
- return lq = {
17454
- ...lq,
17455
- ...BK.input ?? f.input
17449
+ size: $K.size,
17450
+ startAdornment: VK,
17451
+ type: HK
17452
+ }, dq = useUtilityClasses(uq), fq = BK.root || d.Root || InputBaseRoot, pq = zK.root || f.root || {}, mq = BK.input || d.Input || InputBaseInput;
17453
+ return cq = {
17454
+ ...cq,
17455
+ ...zK.input ?? f.input
17456
17456
  }, (0, import_jsx_runtime.jsxs)(import_react.Fragment, {
17457
17457
  children: [
17458
17458
  !v && typeof InputGlobalStyles == "function" && (_InputGlobalStyles || (_InputGlobalStyles = (0, import_jsx_runtime.jsx)(InputGlobalStyles, {}))),
17459
- (0, import_jsx_runtime.jsxs)(pq, {
17460
- ...mq,
17459
+ (0, import_jsx_runtime.jsxs)(fq, {
17460
+ ...pq,
17461
17461
  ref: t,
17462
- onClick: sq,
17463
- ...GK,
17464
- ...!isHostComponent_default(pq) && {
17462
+ onClick: oq,
17463
+ ...WK,
17464
+ ...!isHostComponent_default(fq) && {
17465
17465
  ownerState: {
17466
- ...dq,
17467
- ...mq.ownerState
17466
+ ...uq,
17467
+ ...pq.ownerState
17468
17468
  }
17469
17469
  },
17470
- className: clsx_default(fq.root, mq.className, s, IK && "MuiInputBase-readOnly"),
17470
+ className: clsx_default(dq.root, pq.className, s, FK && "MuiInputBase-readOnly"),
17471
17471
  children: [
17472
- HK,
17472
+ VK,
17473
17473
  (0, import_jsx_runtime.jsx)(FormControlContext_default.Provider, {
17474
17474
  value: null,
17475
- children: (0, import_jsx_runtime.jsx)(hq, {
17476
- "aria-invalid": eq.error,
17475
+ children: (0, import_jsx_runtime.jsx)(mq, {
17476
+ "aria-invalid": $K.error,
17477
17477
  "aria-describedby": i,
17478
17478
  autoComplete: a,
17479
17479
  autoFocus: o,
17480
17480
  defaultValue: h,
17481
- disabled: eq.disabled,
17481
+ disabled: $K.disabled,
17482
17482
  id: E,
17483
- onAnimationStart: uq,
17483
+ onAnimationStart: lq,
17484
17484
  name: q,
17485
- placeholder: FK,
17486
- readOnly: IK,
17487
- required: eq.required,
17488
- rows: RK,
17489
- value: KK,
17490
- onKeyDown: NK,
17491
- onKeyUp: PK,
17492
- type: UK,
17493
- ...lq,
17494
- ...!isHostComponent_default(hq) && {
17495
- as: cq,
17485
+ placeholder: PK,
17486
+ readOnly: FK,
17487
+ required: $K.required,
17488
+ rows: LK,
17489
+ value: GK,
17490
+ onKeyDown: MK,
17491
+ onKeyUp: NK,
17492
+ type: HK,
17493
+ ...cq,
17494
+ ...!isHostComponent_default(mq) && {
17495
+ as: sq,
17496
17496
  ownerState: {
17497
- ...dq,
17498
- ...lq.ownerState
17497
+ ...uq,
17498
+ ...cq.ownerState
17499
17499
  }
17500
17500
  },
17501
- ref: XK,
17502
- className: clsx_default(fq.input, lq.className, IK && "MuiInputBase-readOnly"),
17503
- onBlur: aq,
17504
- onChange: oq,
17505
- onFocus: iq
17501
+ ref: YK,
17502
+ className: clsx_default(dq.input, cq.className, FK && "MuiInputBase-readOnly"),
17503
+ onBlur: iq,
17504
+ onChange: aq,
17505
+ onFocus: rq
17506
17506
  })
17507
17507
  }),
17508
17508
  y,
17509
- LK ? LK({
17510
- ...eq,
17511
- startAdornment: HK
17509
+ IK ? IK({
17510
+ ...$K,
17511
+ startAdornment: VK
17512
17512
  }) : null
17513
17513
  ]
17514
17514
  })
@@ -18584,30 +18584,30 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18584
18584
  M,
18585
18585
  i,
18586
18586
  a
18587
- ]), z = useJsonViewerStore((e2) => e2.setHover), U = useJsonViewerStore((e2) => e2.value), [K, q] = useInspect(i, t, a), [J, Q] = (0, import_react.useState)(false), $ = useJsonViewerStore((e2) => e2.onChange), MK = useTextColor(), NK = useJsonViewerStore((e2) => e2.colorspace.base0C), PK = useJsonViewerStore((e2) => e2.colorspace.base0A), FK = useJsonViewerStore((e2) => e2.displayComma), IK = useJsonViewerStore((e2) => e2.quotesOnKeys), LK = useJsonViewerStore((e2) => e2.rootName), RK = U === t, zK = Number.isInteger(Number(A)), BK = useJsonViewerStore((e2) => e2.enableAdd), VK = useJsonViewerStore((e2) => e2.onAdd), HK = (0, import_react.useMemo)(() => !VK || a !== void 0 || BK === false || v === false ? false : typeof BK == "function" ? !!BK(i, t) : !!(Array.isArray(t) || isPlainObject(t)), [
18588
- VK,
18587
+ ]), z = useJsonViewerStore((e2) => e2.setHover), U = useJsonViewerStore((e2) => e2.value), [K, q] = useInspect(i, t, a), [J, Q] = (0, import_react.useState)(false), $ = useJsonViewerStore((e2) => e2.onChange), jK = useTextColor(), MK = useJsonViewerStore((e2) => e2.colorspace.base0C), NK = useJsonViewerStore((e2) => e2.colorspace.base0A), PK = useJsonViewerStore((e2) => e2.displayComma), FK = useJsonViewerStore((e2) => e2.quotesOnKeys), IK = useJsonViewerStore((e2) => e2.rootName), LK = U === t, RK = Number.isInteger(Number(A)), zK = useJsonViewerStore((e2) => e2.enableAdd), BK = useJsonViewerStore((e2) => e2.onAdd), VK = (0, import_react.useMemo)(() => !BK || a !== void 0 || zK === false || v === false ? false : typeof zK == "function" ? !!zK(i, t) : !!(Array.isArray(t) || isPlainObject(t)), [
18588
+ BK,
18589
18589
  a,
18590
18590
  i,
18591
- BK,
18591
+ zK,
18592
18592
  v,
18593
18593
  t
18594
- ]), UK = useJsonViewerStore((e2) => e2.enableDelete), WK = useJsonViewerStore((e2) => e2.onDelete), GK = (0, import_react.useMemo)(() => !WK || a !== void 0 || RK || UK === false || v === false ? false : typeof UK == "function" ? !!UK(i, t) : UK, [
18595
- WK,
18594
+ ]), HK = useJsonViewerStore((e2) => e2.enableDelete), UK = useJsonViewerStore((e2) => e2.onDelete), WK = (0, import_react.useMemo)(() => !UK || a !== void 0 || LK || HK === false || v === false ? false : typeof HK == "function" ? !!HK(i, t) : HK, [
18595
+ UK,
18596
18596
  a,
18597
- RK,
18597
+ LK,
18598
18598
  i,
18599
- UK,
18599
+ HK,
18600
18600
  v,
18601
18601
  t
18602
- ]), KK = useJsonViewerStore((e2) => e2.enableClipboard), { copy: qK, copied: JK } = useClipboard(), YK = useJsonViewerStore((e2) => e2.highlightUpdates), XK = (0, import_react.useMemo)(() => !YK || n === void 0 ? false : typeof t == typeof n ? typeof t == "number" ? isNaN(t) && isNaN(n) ? false : t !== n : Array.isArray(t) === Array.isArray(n) ? typeof t == "object" || typeof t == "function" ? false : t !== n : true : true, [
18603
- YK,
18602
+ ]), GK = useJsonViewerStore((e2) => e2.enableClipboard), { copy: KK, copied: qK } = useClipboard(), JK = useJsonViewerStore((e2) => e2.highlightUpdates), YK = (0, import_react.useMemo)(() => !JK || n === void 0 ? false : typeof t == typeof n ? typeof t == "number" ? isNaN(t) && isNaN(n) ? false : t !== n : Array.isArray(t) === Array.isArray(n) ? typeof t == "object" || typeof t == "function" ? false : t !== n : true : true, [
18603
+ JK,
18604
18604
  n,
18605
18605
  t
18606
- ]), ZK = (0, import_react.useRef)();
18606
+ ]), XK = (0, import_react.useRef)();
18607
18607
  (0, import_react.useEffect)(() => {
18608
- ZK.current && XK && "animate" in ZK.current && ZK.current.animate([
18608
+ XK.current && YK && "animate" in XK.current && XK.current.animate([
18609
18609
  {
18610
- backgroundColor: PK
18610
+ backgroundColor: NK
18611
18611
  },
18612
18612
  {
18613
18613
  backgroundColor: ""
@@ -18617,22 +18617,22 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18617
18617
  easing: "ease-in"
18618
18618
  });
18619
18619
  }, [
18620
- PK,
18621
- XK,
18620
+ NK,
18621
+ YK,
18622
18622
  n,
18623
18623
  t
18624
18624
  ]);
18625
- let QK = (0, import_react.useCallback)((e2) => {
18625
+ let ZK = (0, import_react.useCallback)((e2) => {
18626
18626
  e2.preventDefault(), h && E(h(t)), Q(true);
18627
18627
  }, [
18628
18628
  h,
18629
18629
  t
18630
- ]), $K = (0, import_react.useCallback)(() => {
18630
+ ]), QK = (0, import_react.useCallback)(() => {
18631
18631
  Q(false), E("");
18632
18632
  }, [
18633
18633
  Q,
18634
18634
  E
18635
- ]), eq = (0, import_react.useCallback)((e2) => {
18635
+ ]), $K = (0, import_react.useCallback)((e2) => {
18636
18636
  if (Q(false), _) try {
18637
18637
  $(i, t, _(e2));
18638
18638
  } catch {
@@ -18643,14 +18643,14 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18643
18643
  $,
18644
18644
  i,
18645
18645
  t
18646
- ]), tq = (0, import_react.useMemo)(() => J ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
18646
+ ]), eq = (0, import_react.useMemo)(() => J ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
18647
18647
  children: [
18648
18648
  (0, import_jsx_runtime.jsx)(IconBox, {
18649
18649
  children: (0, import_jsx_runtime.jsx)(CloseIcon, {
18650
18650
  sx: {
18651
18651
  fontSize: ".8rem"
18652
18652
  },
18653
- onClick: $K
18653
+ onClick: QK
18654
18654
  })
18655
18655
  }),
18656
18656
  (0, import_jsx_runtime.jsx)(IconBox, {
@@ -18658,22 +18658,22 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18658
18658
  sx: {
18659
18659
  fontSize: ".8rem"
18660
18660
  },
18661
- onClick: () => eq(w)
18661
+ onClick: () => $K(w)
18662
18662
  })
18663
18663
  })
18664
18664
  ]
18665
18665
  }) : (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
18666
18666
  children: [
18667
- KK && (0, import_jsx_runtime.jsx)(IconBox, {
18667
+ GK && (0, import_jsx_runtime.jsx)(IconBox, {
18668
18668
  onClick: (e2) => {
18669
18669
  e2.preventDefault();
18670
18670
  try {
18671
- qK(i, t, copyString);
18671
+ KK(i, t, copyString);
18672
18672
  } catch (e3) {
18673
18673
  console.error(e3);
18674
18674
  }
18675
18675
  },
18676
- children: JK ? (0, import_jsx_runtime.jsx)(CheckIcon$1, {
18676
+ children: qK ? (0, import_jsx_runtime.jsx)(CheckIcon$1, {
18677
18677
  sx: {
18678
18678
  fontSize: ".8rem"
18679
18679
  }
@@ -18684,16 +18684,16 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18684
18684
  })
18685
18685
  }),
18686
18686
  f && S && h && _ && (0, import_jsx_runtime.jsx)(IconBox, {
18687
- onClick: QK,
18687
+ onClick: ZK,
18688
18688
  children: (0, import_jsx_runtime.jsx)(EditIcon, {
18689
18689
  sx: {
18690
18690
  fontSize: ".8rem"
18691
18691
  }
18692
18692
  })
18693
18693
  }),
18694
- HK && (0, import_jsx_runtime.jsx)(IconBox, {
18694
+ VK && (0, import_jsx_runtime.jsx)(IconBox, {
18695
18695
  onClick: (e2) => {
18696
- e2.preventDefault(), VK == null ? void 0 : VK(i);
18696
+ e2.preventDefault(), BK == null ? void 0 : BK(i);
18697
18697
  },
18698
18698
  children: (0, import_jsx_runtime.jsx)(AddBoxIcon, {
18699
18699
  sx: {
@@ -18701,9 +18701,9 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18701
18701
  }
18702
18702
  })
18703
18703
  }),
18704
- GK && (0, import_jsx_runtime.jsx)(IconBox, {
18704
+ WK && (0, import_jsx_runtime.jsx)(IconBox, {
18705
18705
  onClick: (e2) => {
18706
- e2.preventDefault(), WK == null ? void 0 : WK(i, t);
18706
+ e2.preventDefault(), UK == null ? void 0 : UK(i, t);
18707
18707
  },
18708
18708
  children: (0, import_jsx_runtime.jsx)(DeleteIcon, {
18709
18709
  sx: {
@@ -18716,24 +18716,24 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18716
18716
  f,
18717
18717
  h,
18718
18718
  _,
18719
- JK,
18720
18719
  qK,
18720
+ KK,
18721
18721
  S,
18722
18722
  J,
18723
- KK,
18724
- HK,
18725
18723
  GK,
18724
+ VK,
18725
+ WK,
18726
18726
  w,
18727
18727
  i,
18728
18728
  t,
18729
- VK,
18730
- WK,
18729
+ BK,
18730
+ UK,
18731
+ ZK,
18731
18732
  QK,
18732
- $K,
18733
- eq
18734
- ]), nq = (0, import_react.useMemo)(() => getValueSize(t) === 0, [
18733
+ $K
18734
+ ]), tq = (0, import_react.useMemo)(() => getValueSize(t) === 0, [
18735
18735
  t
18736
- ]), rq = !nq && !!(c && d), iq = useJsonViewerStore((e2) => e2.keyRenderer), aq = (0, import_react.useMemo)(() => ({
18736
+ ]), nq = !tq && !!(c && d), rq = useJsonViewerStore((e2) => e2.keyRenderer), iq = (0, import_react.useMemo)(() => ({
18737
18737
  path: i,
18738
18738
  inspect: K,
18739
18739
  setInspect: q,
@@ -18765,18 +18765,18 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18765
18765
  className: "data-key",
18766
18766
  sx: {
18767
18767
  lineHeight: 1.5,
18768
- color: MK,
18768
+ color: jK,
18769
18769
  letterSpacing: 0.5,
18770
18770
  opacity: 0.8
18771
18771
  },
18772
18772
  onClick: (0, import_react.useCallback)((e2) => {
18773
- e2.isDefaultPrevented() || nq || q((e3) => !e3);
18773
+ e2.isDefaultPrevented() || tq || q((e3) => !e3);
18774
18774
  }, [
18775
- nq,
18775
+ tq,
18776
18776
  q
18777
18777
  ]),
18778
18778
  children: [
18779
- rq ? K ? (0, import_jsx_runtime.jsx)(ExpandMoreIcon, {
18779
+ nq ? K ? (0, import_jsx_runtime.jsx)(ExpandMoreIcon, {
18780
18780
  className: "data-key-toggle-expanded",
18781
18781
  sx: {
18782
18782
  fontSize: ".8rem",
@@ -18794,27 +18794,27 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18794
18794
  }
18795
18795
  }) : null,
18796
18796
  (0, import_jsx_runtime.jsx)(Box_default, {
18797
- ref: ZK,
18797
+ ref: XK,
18798
18798
  className: "data-key-key",
18799
18799
  component: "span",
18800
- children: RK && O === 0 ? LK === false ? null : IK ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
18800
+ children: LK && O === 0 ? IK === false ? null : FK ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
18801
18801
  children: [
18802
18802
  '"',
18803
- LK,
18803
+ IK,
18804
18804
  '"'
18805
18805
  ]
18806
18806
  }) : (0, import_jsx_runtime.jsx)(import_jsx_runtime.Fragment, {
18807
- children: LK
18808
- }) : iq.when(aq) ? (0, import_jsx_runtime.jsx)(iq, {
18809
- ...aq
18810
- }) : a === void 0 && (zK ? (0, import_jsx_runtime.jsx)(Box_default, {
18807
+ children: IK
18808
+ }) : rq.when(iq) ? (0, import_jsx_runtime.jsx)(rq, {
18809
+ ...iq
18810
+ }) : a === void 0 && (RK ? (0, import_jsx_runtime.jsx)(Box_default, {
18811
18811
  component: "span",
18812
18812
  style: {
18813
- color: NK,
18814
- userSelect: zK ? "none" : "auto"
18813
+ color: MK,
18814
+ userSelect: RK ? "none" : "auto"
18815
18815
  },
18816
18816
  children: A
18817
- }) : IK ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
18817
+ }) : FK ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
18818
18818
  children: [
18819
18819
  '"',
18820
18820
  A,
@@ -18824,7 +18824,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18824
18824
  children: A
18825
18825
  }))
18826
18826
  }),
18827
- RK ? LK !== false && (0, import_jsx_runtime.jsx)(DataBox, {
18827
+ LK ? IK !== false && (0, import_jsx_runtime.jsx)(DataBox, {
18828
18828
  className: "data-key-colon",
18829
18829
  sx: {
18830
18830
  mr: 0.5
@@ -18837,38 +18837,38 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18837
18837
  ".data-key-key:empty + &": {
18838
18838
  display: "none"
18839
18839
  },
18840
- userSelect: zK ? "none" : "auto"
18840
+ userSelect: RK ? "none" : "auto"
18841
18841
  },
18842
18842
  children: ":"
18843
18843
  }),
18844
18844
  c && (0, import_jsx_runtime.jsx)(c, {
18845
- ...aq
18845
+ ...iq
18846
18846
  }),
18847
- I && rq && K && tq
18847
+ I && nq && K && eq
18848
18848
  ]
18849
18849
  }),
18850
18850
  J && S ? f && (0, import_jsx_runtime.jsx)(f, {
18851
18851
  path: i,
18852
18852
  value: w,
18853
18853
  setValue: E,
18854
- abortEditing: $K,
18855
- commitEditing: eq
18854
+ abortEditing: QK,
18855
+ commitEditing: $K
18856
18856
  }) : s ? (0, import_jsx_runtime.jsx)(s, {
18857
- ...aq
18857
+ ...iq
18858
18858
  }) : (0, import_jsx_runtime.jsx)(Box_default, {
18859
18859
  component: "span",
18860
18860
  className: "data-value-fallback",
18861
18861
  children: `fallback: ${t}`
18862
18862
  }),
18863
18863
  d && (0, import_jsx_runtime.jsx)(d, {
18864
- ...aq
18864
+ ...iq
18865
18865
  }),
18866
- !o && FK && (0, import_jsx_runtime.jsx)(DataBox, {
18866
+ !o && PK && (0, import_jsx_runtime.jsx)(DataBox, {
18867
18867
  children: ","
18868
18868
  }),
18869
- I && rq && !K && tq,
18870
- I && !rq && tq,
18871
- !I && J && tq
18869
+ I && nq && !K && eq,
18870
+ I && !nq && eq,
18871
+ !I && J && eq
18872
18872
  ]
18873
18873
  });
18874
18874
  }, query = "(prefers-color-scheme: dark)";
@@ -19773,11 +19773,11 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
19773
19773
  }
19774
19774
  let _, v, y, S, w, E;
19775
19775
  if (t[2] !== d || t[3] !== i || t[4] !== s || t[5] !== o || t[6] !== n || t[7] !== f || t[8] !== c) {
19776
- let e2 = n.filter(_temp7$1), O2 = n.filter(_temp8), A2 = n.filter(_temp9), M = n.filter(_temp0), I = n.filter(_temp1), z = n.filter(_temp10), U = n.filter(_temp11), K = n.filter(_temp12), q = n.filter(_temp13), J = n.filter(_temp14), Q = n.filter(_temp15), $ = n.filter(_temp16), MK = n.filter(_temp17), NK;
19777
- t[15] === s ? NK = t[16] : (NK = () => {
19776
+ let e2 = n.filter(_temp7$1), O2 = n.filter(_temp8), A2 = n.filter(_temp9), M = n.filter(_temp0), I = n.filter(_temp1), z = n.filter(_temp10), U = n.filter(_temp11), K = n.filter(_temp12), q = n.filter(_temp13), J = n.filter(_temp14), Q = n.filter(_temp15), $ = n.filter(_temp16), jK = n.filter(_temp17), MK;
19777
+ t[15] === s ? MK = t[16] : (MK = () => {
19778
19778
  s.openApplication("scratchpad");
19779
- }, t[15] = s, t[16] = NK);
19780
- let PK = NK, FK = () => {
19779
+ }, t[15] = s, t[16] = MK);
19780
+ let NK = MK, PK = () => {
19781
19781
  let t2 = [];
19782
19782
  if (Q.length > 0 || $.length > 0) {
19783
19783
  let e3 = Q.some(_temp18), n2 = !e3 && Q.some(_temp19);
@@ -19977,7 +19977,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
19977
19977
  size: "xs",
19978
19978
  variant: "link",
19979
19979
  className: "my-2 font-normal mx-0 px-0",
19980
- onClick: PK,
19980
+ onClick: NK,
19981
19981
  children: [
19982
19982
  (0, import_jsx_runtime.jsx)(NotebookPen, {
19983
19983
  className: "h-3"
@@ -20092,23 +20092,23 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
20092
20092
  cellId: i
20093
20093
  })
20094
20094
  ]
20095
- }, "ancestor-stopped")), MK.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("div", {
20095
+ }, "ancestor-stopped")), jK.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("div", {
20096
20096
  children: [
20097
- MK.map(_temp35),
20097
+ jK.map(_temp35),
20098
20098
  i && (0, import_jsx_runtime.jsx)(AutoFixButton, {
20099
- errors: MK,
20099
+ errors: jK,
20100
20100
  cellId: i,
20101
20101
  className: "mt-2.5"
20102
20102
  })
20103
20103
  ]
20104
20104
  }, "sql-errors")), t2;
20105
- }, IK = `font-code font-medium tracking-wide ${f}`, LK;
20106
- t[17] !== IK || t[18] !== c ? (LK = (0, import_jsx_runtime.jsx)(AlertTitle, {
20107
- className: IK,
20105
+ }, FK = `font-code font-medium tracking-wide ${f}`, IK;
20106
+ t[17] !== FK || t[18] !== c ? (IK = (0, import_jsx_runtime.jsx)(AlertTitle, {
20107
+ className: FK,
20108
20108
  children: c
20109
- }), t[17] = IK, t[18] = c, t[19] = LK) : LK = t[19];
20110
- let RK = LK;
20111
- _ = Alert, S = d, t[20] === o ? w = t[21] : (w = cn("border-none font-code text-sm text-[0.84375rem] px-0 text-muted-foreground normal [&:has(svg)]:pl-0 space-y-4", o), t[20] = o, t[21] = w), E = RK, v = "flex flex-col gap-8", y = FK(), t[2] = d, t[3] = i, t[4] = s, t[5] = o, t[6] = n, t[7] = f, t[8] = c, t[9] = _, t[10] = v, t[11] = y, t[12] = S, t[13] = w, t[14] = E;
20109
+ }), t[17] = FK, t[18] = c, t[19] = IK) : IK = t[19];
20110
+ let LK = IK;
20111
+ _ = Alert, S = d, t[20] === o ? w = t[21] : (w = cn("border-none font-code text-sm text-[0.84375rem] px-0 text-muted-foreground normal [&:has(svg)]:pl-0 space-y-4", o), t[20] = o, t[21] = w), E = LK, v = "flex flex-col gap-8", y = PK(), t[2] = d, t[3] = i, t[4] = s, t[5] = o, t[6] = n, t[7] = f, t[8] = c, t[9] = _, t[10] = v, t[11] = y, t[12] = S, t[13] = w, t[14] = E;
20112
20112
  } else _ = t[9], v = t[10], y = t[11], S = t[12], w = t[13], E = t[14];
20113
20113
  let O;
20114
20114
  t[22] !== v || t[23] !== y ? (O = (0, import_jsx_runtime.jsx)("div", {
@@ -26132,7 +26132,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
26132
26132
  function PanelWithForwardedRef({ children: e, className: t = "", collapsedSize: n, collapsible: i, defaultSize: a, forwardedRef: o, id: s, maxSize: c, minSize: d, onCollapse: f, onExpand: h, onResize: _, order: v, style: y, tagName: S = "div", ...w }) {
26133
26133
  let E = (0, import_react.useContext)(PanelGroupContext);
26134
26134
  if (E === null) throw Error("Panel components must be rendered within a PanelGroup container");
26135
- let { collapsePanel: O, expandPanel: A, getPanelSize: M, getPanelStyle: I, groupId: z, isPanelCollapsed: U, reevaluatePanelConstraints: K, registerPanel: q, resizePanel: J, unregisterPanel: Q } = E, $ = useUniqueId(s), MK = (0, import_react.useRef)({
26135
+ let { collapsePanel: O, expandPanel: A, getPanelSize: M, getPanelStyle: I, groupId: z, isPanelCollapsed: U, reevaluatePanelConstraints: K, registerPanel: q, resizePanel: J, unregisterPanel: Q } = E, $ = useUniqueId(s), jK = (0, import_react.useRef)({
26136
26136
  callbacks: {
26137
26137
  onCollapse: f,
26138
26138
  onExpand: h,
@@ -26152,12 +26152,12 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
26152
26152
  (0, import_react.useRef)({
26153
26153
  didLogMissingDefaultSizeWarning: false
26154
26154
  }), useIsomorphicLayoutEffect$1(() => {
26155
- let { callbacks: e2, constraints: t2 } = MK.current, o2 = {
26155
+ let { callbacks: e2, constraints: t2 } = jK.current, o2 = {
26156
26156
  ...t2
26157
26157
  };
26158
- MK.current.id = $, MK.current.idIsFromProps = s !== void 0, MK.current.order = v, e2.onCollapse = f, e2.onExpand = h, e2.onResize = _, t2.collapsedSize = n, t2.collapsible = i, t2.defaultSize = a, t2.maxSize = c, t2.minSize = d, (o2.collapsedSize !== t2.collapsedSize || o2.collapsible !== t2.collapsible || o2.maxSize !== t2.maxSize || o2.minSize !== t2.minSize) && K(MK.current, o2);
26158
+ jK.current.id = $, jK.current.idIsFromProps = s !== void 0, jK.current.order = v, e2.onCollapse = f, e2.onExpand = h, e2.onResize = _, t2.collapsedSize = n, t2.collapsible = i, t2.defaultSize = a, t2.maxSize = c, t2.minSize = d, (o2.collapsedSize !== t2.collapsedSize || o2.collapsible !== t2.collapsible || o2.maxSize !== t2.maxSize || o2.minSize !== t2.minSize) && K(jK.current, o2);
26159
26159
  }), useIsomorphicLayoutEffect$1(() => {
26160
- let e2 = MK.current;
26160
+ let e2 = jK.current;
26161
26161
  return q(e2), () => {
26162
26162
  Q(e2);
26163
26163
  };
@@ -26168,25 +26168,25 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
26168
26168
  Q
26169
26169
  ]), (0, import_react.useImperativeHandle)(o, () => ({
26170
26170
  collapse: () => {
26171
- O(MK.current);
26171
+ O(jK.current);
26172
26172
  },
26173
26173
  expand: (e2) => {
26174
- A(MK.current, e2);
26174
+ A(jK.current, e2);
26175
26175
  },
26176
26176
  getId() {
26177
26177
  return $;
26178
26178
  },
26179
26179
  getSize() {
26180
- return M(MK.current);
26180
+ return M(jK.current);
26181
26181
  },
26182
26182
  isCollapsed() {
26183
- return U(MK.current);
26183
+ return U(jK.current);
26184
26184
  },
26185
26185
  isExpanded() {
26186
- return !U(MK.current);
26186
+ return !U(jK.current);
26187
26187
  },
26188
26188
  resize: (e2) => {
26189
- J(MK.current, e2);
26189
+ J(jK.current, e2);
26190
26190
  }
26191
26191
  }), [
26192
26192
  O,
@@ -26196,21 +26196,21 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
26196
26196
  $,
26197
26197
  J
26198
26198
  ]);
26199
- let NK = I(MK.current, a);
26199
+ let MK = I(jK.current, a);
26200
26200
  return (0, import_react.createElement)(S, {
26201
26201
  ...w,
26202
26202
  children: e,
26203
26203
  className: t,
26204
26204
  id: $,
26205
26205
  style: {
26206
- ...NK,
26206
+ ...MK,
26207
26207
  ...y
26208
26208
  },
26209
26209
  [DATA_ATTRIBUTES.groupId]: z,
26210
26210
  [DATA_ATTRIBUTES.panel]: "",
26211
26211
  [DATA_ATTRIBUTES.panelCollapsible]: i || void 0,
26212
26212
  [DATA_ATTRIBUTES.panelId]: $,
26213
- [DATA_ATTRIBUTES.panelSize]: parseFloat("" + NK.flexGrow).toFixed(1)
26213
+ [DATA_ATTRIBUTES.panelSize]: parseFloat("" + MK.flexGrow).toFixed(1)
26214
26214
  });
26215
26215
  }
26216
26216
  Panel = (0, import_react.forwardRef)((e, t) => (0, import_react.createElement)(PanelWithForwardedRef, {
@@ -26995,13 +26995,13 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
26995
26995
  }, [
26996
26996
  S,
26997
26997
  E
26998
- ]), MK = (0, import_react.useCallback)((e2) => {
26998
+ ]), jK = (0, import_react.useCallback)((e2) => {
26999
26999
  let { layout: t2, panelDataArray: n2 } = K.current, { collapsedSize: i2 = 0, collapsible: a2, panelSize: o2 } = panelDataHelper(n2, e2, t2);
27000
27000
  return assert(o2 != null, `Panel size not found for panel "${e2.id}"`), a2 === true && fuzzyNumbersEqual$1(o2, i2);
27001
- }, []), NK = (0, import_react.useCallback)((e2) => {
27001
+ }, []), MK = (0, import_react.useCallback)((e2) => {
27002
27002
  let { layout: t2, panelDataArray: n2 } = K.current, { collapsedSize: i2 = 0, collapsible: a2, panelSize: o2 } = panelDataHelper(n2, e2, t2);
27003
27003
  return assert(o2 != null, `Panel size not found for panel "${e2.id}"`), !a2 || fuzzyCompareNumbers(o2, i2) > 0;
27004
- }, []), PK = (0, import_react.useCallback)((e2) => {
27004
+ }, []), NK = (0, import_react.useCallback)((e2) => {
27005
27005
  let { panelDataArray: t2 } = K.current;
27006
27006
  t2.push(e2), t2.sort((e3, t3) => {
27007
27007
  let n2 = e3.order, i2 = t3.order;
@@ -27033,7 +27033,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27033
27033
  e2.layout = [];
27034
27034
  };
27035
27035
  }, []);
27036
- let FK = (0, import_react.useCallback)((e2) => {
27036
+ let PK = (0, import_react.useCallback)((e2) => {
27037
27037
  let t2 = false, n2 = y.current;
27038
27038
  return n2 && window.getComputedStyle(n2, null).getPropertyValue("direction") === "rtl" && (t2 = true), function(n3) {
27039
27039
  n3.preventDefault();
@@ -27051,7 +27051,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27051
27051
  }), I2 = !compareLayouts(f2, A2);
27052
27052
  (isPointerEvent(n3) || isMouseEvent(n3)) && z.current != S2 && (z.current = S2, !I2 && S2 !== 0 ? w2 ? reportConstraintsViolation(e2, S2 < 0 ? EXCEEDED_HORIZONTAL_MIN : EXCEEDED_HORIZONTAL_MAX) : reportConstraintsViolation(e2, S2 < 0 ? EXCEEDED_VERTICAL_MIN : EXCEEDED_VERTICAL_MAX) : reportConstraintsViolation(e2, 0)), I2 && (O(A2), K.current.layout = A2, d2 && d2(A2), callPanelCallbacks(h2, A2, M.current));
27053
27053
  };
27054
- }, []), IK = (0, import_react.useCallback)((e2, t2) => {
27054
+ }, []), FK = (0, import_react.useCallback)((e2, t2) => {
27055
27055
  let { onLayout: n2 } = U.current, { layout: i2, panelDataArray: a2 } = K.current, o2 = a2.map((e3) => e3.constraints), { panelSize: s2, pivotIndices: c2 } = panelDataHelper(a2, e2, i2);
27056
27056
  assert(s2 != null, `Panel size not found for panel "${e2.id}"`);
27057
27057
  let d2 = adjustLayoutByDelta({
@@ -27063,12 +27063,12 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27063
27063
  trigger: "imperative-api"
27064
27064
  });
27065
27065
  compareLayouts(i2, d2) || (O(d2), K.current.layout = d2, n2 && n2(d2), callPanelCallbacks(a2, d2, M.current));
27066
- }, []), LK = (0, import_react.useCallback)((e2, t2) => {
27066
+ }, []), IK = (0, import_react.useCallback)((e2, t2) => {
27067
27067
  let { layout: n2, panelDataArray: i2 } = K.current, { collapsedSize: a2 = 0, collapsible: o2 } = t2, { collapsedSize: s2 = 0, collapsible: c2, maxSize: d2 = 100, minSize: f2 = 0 } = e2.constraints, { panelSize: h2 } = panelDataHelper(i2, e2, n2);
27068
- h2 != null && (o2 && c2 && fuzzyNumbersEqual$1(h2, a2) ? fuzzyNumbersEqual$1(a2, s2) || IK(e2, s2) : h2 < f2 ? IK(e2, f2) : h2 > d2 && IK(e2, d2));
27068
+ h2 != null && (o2 && c2 && fuzzyNumbersEqual$1(h2, a2) ? fuzzyNumbersEqual$1(a2, s2) || FK(e2, s2) : h2 < f2 ? FK(e2, f2) : h2 > d2 && FK(e2, d2));
27069
27069
  }, [
27070
- IK
27071
- ]), RK = (0, import_react.useCallback)((e2, t2) => {
27070
+ FK
27071
+ ]), LK = (0, import_react.useCallback)((e2, t2) => {
27072
27072
  let { direction: n2 } = U.current, { layout: i2 } = K.current;
27073
27073
  if (!y.current) return;
27074
27074
  let a2 = getResizeHandleElement(e2, y.current);
@@ -27080,14 +27080,14 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27080
27080
  initialCursorPosition: o2,
27081
27081
  initialLayout: i2
27082
27082
  });
27083
- }, []), zK = (0, import_react.useCallback)(() => {
27083
+ }, []), RK = (0, import_react.useCallback)(() => {
27084
27084
  w(null);
27085
- }, []), BK = (0, import_react.useCallback)((e2) => {
27085
+ }, []), zK = (0, import_react.useCallback)((e2) => {
27086
27086
  let { panelDataArray: t2 } = K.current, n2 = findPanelDataIndex(t2, e2);
27087
27087
  n2 >= 0 && (t2.splice(n2, 1), delete M.current[e2.id], K.current.panelDataArrayChanged = true, A());
27088
27088
  }, [
27089
27089
  A
27090
- ]), VK = (0, import_react.useMemo)(() => ({
27090
+ ]), BK = (0, import_react.useMemo)(() => ({
27091
27091
  collapsePanel: q,
27092
27092
  direction: i,
27093
27093
  dragState: S,
@@ -27095,15 +27095,15 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27095
27095
  getPanelSize: Q,
27096
27096
  getPanelStyle: $,
27097
27097
  groupId: v,
27098
- isPanelCollapsed: MK,
27099
- isPanelExpanded: NK,
27100
- reevaluatePanelConstraints: LK,
27101
- registerPanel: PK,
27102
- registerResizeHandle: FK,
27103
- resizePanel: IK,
27104
- startDragging: RK,
27105
- stopDragging: zK,
27106
- unregisterPanel: BK,
27098
+ isPanelCollapsed: jK,
27099
+ isPanelExpanded: MK,
27100
+ reevaluatePanelConstraints: IK,
27101
+ registerPanel: NK,
27102
+ registerResizeHandle: PK,
27103
+ resizePanel: FK,
27104
+ startDragging: LK,
27105
+ stopDragging: RK,
27106
+ unregisterPanel: zK,
27107
27107
  panelGroupElement: y.current
27108
27108
  }), [
27109
27109
  q,
@@ -27113,16 +27113,16 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27113
27113
  Q,
27114
27114
  $,
27115
27115
  v,
27116
+ jK,
27116
27117
  MK,
27118
+ IK,
27117
27119
  NK,
27118
- LK,
27119
27120
  PK,
27120
27121
  FK,
27121
- IK,
27122
+ LK,
27122
27123
  RK,
27123
- zK,
27124
- BK
27125
- ]), HK = {
27124
+ zK
27125
+ ]), VK = {
27126
27126
  display: "flex",
27127
27127
  flexDirection: i === "horizontal" ? "row" : "column",
27128
27128
  height: "100%",
@@ -27130,7 +27130,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27130
27130
  width: "100%"
27131
27131
  };
27132
27132
  return (0, import_react.createElement)(PanelGroupContext.Provider, {
27133
- value: VK
27133
+ value: BK
27134
27134
  }, (0, import_react.createElement)(h, {
27135
27135
  ..._,
27136
27136
  children: t,
@@ -27138,7 +27138,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27138
27138
  id: o,
27139
27139
  ref: y,
27140
27140
  style: {
27141
- ...HK,
27141
+ ...VK,
27142
27142
  ...f
27143
27143
  },
27144
27144
  [DATA_ATTRIBUTES.group]: "",
@@ -27215,31 +27215,31 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27215
27215
  });
27216
27216
  let O = (0, import_react.useContext)(PanelGroupContext);
27217
27217
  if (O === null) throw Error("PanelResizeHandle components must be rendered within a PanelGroup container");
27218
- let { direction: A, groupId: M, registerResizeHandle: I, startDragging: z, stopDragging: U, panelGroupElement: K } = O, q = useUniqueId(a), [J, Q] = (0, import_react.useState)("inactive"), [$, MK] = (0, import_react.useState)(false), [NK, PK] = (0, import_react.useState)(null), FK = (0, import_react.useRef)({
27218
+ let { direction: A, groupId: M, registerResizeHandle: I, startDragging: z, stopDragging: U, panelGroupElement: K } = O, q = useUniqueId(a), [J, Q] = (0, import_react.useState)("inactive"), [$, jK] = (0, import_react.useState)(false), [MK, NK] = (0, import_react.useState)(null), PK = (0, import_react.useRef)({
27219
27219
  state: J
27220
27220
  });
27221
27221
  useIsomorphicLayoutEffect$1(() => {
27222
- FK.current.state = J;
27222
+ PK.current.state = J;
27223
27223
  }), (0, import_react.useEffect)(() => {
27224
- if (n) PK(null);
27224
+ if (n) NK(null);
27225
27225
  else {
27226
27226
  let e2 = I(q);
27227
- PK(() => e2);
27227
+ NK(() => e2);
27228
27228
  }
27229
27229
  }, [
27230
27230
  n,
27231
27231
  q,
27232
27232
  I
27233
27233
  ]);
27234
- let IK = (i == null ? void 0 : i.coarse) ?? 15, LK = (i == null ? void 0 : i.fine) ?? 5;
27234
+ let FK = (i == null ? void 0 : i.coarse) ?? 15, IK = (i == null ? void 0 : i.fine) ?? 5;
27235
27235
  (0, import_react.useEffect)(() => {
27236
- if (n || NK == null) return;
27236
+ if (n || MK == null) return;
27237
27237
  let e2 = w.current;
27238
27238
  assert(e2, "Element ref not attached");
27239
27239
  let t2 = false;
27240
27240
  return registerResizeHandle(q, e2, A, {
27241
- coarse: IK,
27242
- fine: LK
27241
+ coarse: FK,
27242
+ fine: IK
27243
27243
  }, (e3, n2, i2) => {
27244
27244
  if (!n2) {
27245
27245
  Q("inactive");
@@ -27253,8 +27253,8 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27253
27253
  break;
27254
27254
  }
27255
27255
  case "move": {
27256
- let { state: e4 } = FK.current;
27257
- t2 = true, e4 !== "drag" && Q("hover"), assert(i2, 'Expected event to be defined for "move" action'), NK(i2);
27256
+ let { state: e4 } = PK.current;
27257
+ t2 = true, e4 !== "drag" && Q("hover"), assert(i2, 'Expected event to be defined for "move" action'), MK(i2);
27258
27258
  break;
27259
27259
  }
27260
27260
  case "up": {
@@ -27266,22 +27266,22 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27266
27266
  }
27267
27267
  });
27268
27268
  }, [
27269
- IK,
27269
+ FK,
27270
27270
  A,
27271
27271
  n,
27272
- LK,
27272
+ IK,
27273
27273
  I,
27274
27274
  q,
27275
- NK,
27275
+ MK,
27276
27276
  z,
27277
27277
  U
27278
27278
  ]), useWindowSplitterResizeHandlerBehavior({
27279
27279
  disabled: n,
27280
27280
  handleId: q,
27281
- resizeHandler: NK,
27281
+ resizeHandler: MK,
27282
27282
  panelGroupElement: K
27283
27283
  });
27284
- let RK = {
27284
+ let LK = {
27285
27285
  touchAction: "none",
27286
27286
  userSelect: "none"
27287
27287
  };
@@ -27291,15 +27291,15 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27291
27291
  className: t,
27292
27292
  id: a,
27293
27293
  onBlur: () => {
27294
- MK(false), o == null ? void 0 : o();
27294
+ jK(false), o == null ? void 0 : o();
27295
27295
  },
27296
27296
  onFocus: () => {
27297
- MK(true), d == null ? void 0 : d();
27297
+ jK(true), d == null ? void 0 : d();
27298
27298
  },
27299
27299
  ref: w,
27300
27300
  role: "separator",
27301
27301
  style: {
27302
- ...RK,
27302
+ ...LK,
27303
27303
  ..._
27304
27304
  },
27305
27305
  tabIndex: v,
@@ -27598,7 +27598,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27598
27598
  }, [
27599
27599
  h
27600
27600
  ]), k(() => {
27601
- U(6, NK);
27601
+ U(6, MK);
27602
27602
  }, []);
27603
27603
  let K = import_react.useMemo(() => ({
27604
27604
  subscribe: (e2) => (s.current.add(e2), () => s.current.delete(e2)),
@@ -27607,7 +27607,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27607
27607
  var _a2;
27608
27608
  var a2, o2, s2;
27609
27609
  if (!Object.is(n.current[e2], t2)) {
27610
- if (n.current[e2] = t2, e2 === "search") MK(), Q(), U(1, $);
27610
+ if (n.current[e2] = t2, e2 === "search") jK(), Q(), U(1, $);
27611
27611
  else if (e2 === "value") {
27612
27612
  if (document.activeElement.hasAttribute("cmdk-input") || document.activeElement.hasAttribute("cmdk-root")) {
27613
27613
  let e3 = document.getElementById(I);
@@ -27615,8 +27615,8 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27615
27615
  }
27616
27616
  if (U(7, () => {
27617
27617
  var _a3;
27618
- n.current.selectedItemId = (_a3 = PK()) == null ? void 0 : _a3.id, K.emit();
27619
- }), i2 || U(5, NK), ((_a2 = c.current) == null ? void 0 : _a2.value) !== void 0) {
27618
+ n.current.selectedItemId = (_a3 = NK()) == null ? void 0 : _a3.id, K.emit();
27619
+ }), i2 || U(5, MK), ((_a2 = c.current) == null ? void 0 : _a2.value) !== void 0) {
27620
27620
  let e3 = t2 ?? "";
27621
27621
  (s2 = (o2 = c.current).onValueChange) == null || s2.call(o2, e3);
27622
27622
  return;
@@ -27641,12 +27641,12 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27641
27641
  item: (e2, t2) => (i.current.add(e2), t2 && (a.current.has(t2) ? a.current.get(t2).add(e2) : a.current.set(t2, /* @__PURE__ */ new Set([
27642
27642
  e2
27643
27643
  ]))), U(3, () => {
27644
- MK(), Q(), n.current.value || $(), K.emit();
27644
+ jK(), Q(), n.current.value || $(), K.emit();
27645
27645
  }), () => {
27646
27646
  o.current.delete(e2), i.current.delete(e2), n.current.filtered.items.delete(e2);
27647
- let t3 = PK();
27647
+ let t3 = NK();
27648
27648
  U(4, () => {
27649
- MK(), (t3 == null ? void 0 : t3.getAttribute("id")) === e2 && $(), K.emit();
27649
+ jK(), (t3 == null ? void 0 : t3.getAttribute("id")) === e2 && $(), K.emit();
27650
27650
  });
27651
27651
  }),
27652
27652
  group: (e2) => (a.current.has(e2) || a.current.set(e2, /* @__PURE__ */ new Set()), () => {
@@ -27679,7 +27679,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27679
27679
  ]);
27680
27680
  });
27681
27681
  let i2 = z.current;
27682
- FK().sort((t3, n2) => {
27682
+ PK().sort((t3, n2) => {
27683
27683
  let i3 = t3.getAttribute("id"), a2 = n2.getAttribute("id");
27684
27684
  return (e2.get(a2) ?? 0) - (e2.get(i3) ?? 0);
27685
27685
  }).forEach((e3) => {
@@ -27693,10 +27693,10 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27693
27693
  }
27694
27694
  function $() {
27695
27695
  var _a2;
27696
- let e2 = (_a2 = FK().find((e3) => e3.getAttribute("aria-disabled") !== "true")) == null ? void 0 : _a2.getAttribute(T);
27696
+ let e2 = (_a2 = PK().find((e3) => e3.getAttribute("aria-disabled") !== "true")) == null ? void 0 : _a2.getAttribute(T);
27697
27697
  K.setState("value", e2 || void 0);
27698
27698
  }
27699
- function MK() {
27699
+ function jK() {
27700
27700
  var _a2, _b;
27701
27701
  if (!n.current.search || c.current.shouldFilter === false) {
27702
27702
  n.current.filtered.count = i.current.size;
@@ -27714,43 +27714,43 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27714
27714
  }
27715
27715
  n.current.filtered.count = e2;
27716
27716
  }
27717
- function NK() {
27717
+ function MK() {
27718
27718
  var _a2, _b;
27719
27719
  var e2;
27720
- let t2 = PK();
27720
+ let t2 = NK();
27721
27721
  t2 && (((_a2 = t2.parentElement) == null ? void 0 : _a2.firstChild) === t2 && ((e2 = (_b = t2.closest(N$1)) == null ? void 0 : _b.querySelector(be)) == null || e2.scrollIntoView({
27722
27722
  block: "nearest"
27723
27723
  })), t2.scrollIntoView({
27724
27724
  block: "nearest"
27725
27725
  }));
27726
27726
  }
27727
- function PK() {
27727
+ function NK() {
27728
27728
  var _a2;
27729
27729
  return (_a2 = z.current) == null ? void 0 : _a2.querySelector(`${le}[aria-selected="true"]`);
27730
27730
  }
27731
- function FK() {
27731
+ function PK() {
27732
27732
  var _a2;
27733
27733
  return Array.from(((_a2 = z.current) == null ? void 0 : _a2.querySelectorAll(ce$1)) || []);
27734
27734
  }
27735
- function IK(e2) {
27736
- let t2 = FK()[e2];
27735
+ function FK(e2) {
27736
+ let t2 = PK()[e2];
27737
27737
  t2 && K.setState("value", t2.getAttribute(T));
27738
27738
  }
27739
- function LK(e2) {
27739
+ function IK(e2) {
27740
27740
  var t2;
27741
- let n2 = PK(), i2 = FK(), a2 = i2.findIndex((e3) => e3 === n2), o2 = i2[a2 + e2];
27741
+ let n2 = NK(), i2 = PK(), a2 = i2.findIndex((e3) => e3 === n2), o2 = i2[a2 + e2];
27742
27742
  (t2 = c.current) != null && t2.loop && (o2 = a2 + e2 < 0 ? i2[i2.length - 1] : a2 + e2 === i2.length ? i2[0] : i2[a2 + e2]), o2 && K.setState("value", o2.getAttribute(T));
27743
27743
  }
27744
- function RK(e2) {
27744
+ function LK(e2) {
27745
27745
  var _a2;
27746
- let t2 = (_a2 = PK()) == null ? void 0 : _a2.closest(N$1), n2;
27746
+ let t2 = (_a2 = NK()) == null ? void 0 : _a2.closest(N$1), n2;
27747
27747
  for (; t2 && !n2; ) t2 = e2 > 0 ? we(t2, N$1) : De(t2, N$1), n2 = t2 == null ? void 0 : t2.querySelector(ce$1);
27748
- n2 ? K.setState("value", n2.getAttribute(T)) : LK(e2);
27748
+ n2 ? K.setState("value", n2.getAttribute(T)) : IK(e2);
27749
27749
  }
27750
- let zK = () => IK(FK().length - 1), BK = (e2) => {
27751
- e2.preventDefault(), e2.metaKey ? zK() : e2.altKey ? RK(1) : LK(1);
27752
- }, VK = (e2) => {
27753
- e2.preventDefault(), e2.metaKey ? IK(0) : e2.altKey ? RK(-1) : LK(-1);
27750
+ let RK = () => FK(PK().length - 1), zK = (e2) => {
27751
+ e2.preventDefault(), e2.metaKey ? RK() : e2.altKey ? LK(1) : IK(1);
27752
+ }, BK = (e2) => {
27753
+ e2.preventDefault(), e2.metaKey ? FK(0) : e2.altKey ? LK(-1) : IK(-1);
27754
27754
  };
27755
27755
  return import_react.createElement(Primitive.div, {
27756
27756
  ref: t,
@@ -27764,27 +27764,27 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27764
27764
  if (!(e2.defaultPrevented || n2)) switch (e2.key) {
27765
27765
  case "n":
27766
27766
  case "j":
27767
- E && e2.ctrlKey && BK(e2);
27767
+ E && e2.ctrlKey && zK(e2);
27768
27768
  break;
27769
27769
  case "ArrowDown":
27770
- BK(e2);
27770
+ zK(e2);
27771
27771
  break;
27772
27772
  case "p":
27773
27773
  case "k":
27774
- E && e2.ctrlKey && VK(e2);
27774
+ E && e2.ctrlKey && BK(e2);
27775
27775
  break;
27776
27776
  case "ArrowUp":
27777
- VK(e2);
27777
+ BK(e2);
27778
27778
  break;
27779
27779
  case "Home":
27780
- e2.preventDefault(), IK(0);
27780
+ e2.preventDefault(), FK(0);
27781
27781
  break;
27782
27782
  case "End":
27783
- e2.preventDefault(), zK();
27783
+ e2.preventDefault(), RK();
27784
27784
  break;
27785
27785
  case "Enter": {
27786
27786
  e2.preventDefault();
27787
- let t3 = PK();
27787
+ let t3 = NK();
27788
27788
  if (t3) {
27789
27789
  let e3 = new Event(Z);
27790
27790
  t3.dispatchEvent(e3);
@@ -28193,153 +28193,153 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
28193
28193
  Combobox = (e) => {
28194
28194
  let t = (0, import_compiler_runtime$30.c)(103), n, i, o, s, c, d, f, h, _, v, y, S, w, E, O, A, M, I, z, U, K, q, J;
28195
28195
  t[0] === e ? (n = t[1], i = t[2], o = t[3], s = t[4], c = t[5], d = t[6], f = t[7], h = t[8], _ = t[9], v = t[10], y = t[11], S = t[12], w = t[13], E = t[14], O = t[15], A = t[16], M = t[17], I = t[18], z = t[19], U = t[20], K = t[21], q = t[22], J = t[23]) : ({ children: n, displayValue: d, className: o, placeholder: E, value: J, defaultValue: c, onValueChange: S, multiple: M, shouldFilter: I, filterFn: f, open: w, defaultOpen: s, onOpenChange: v, inputPlaceholder: z, search: A, onSearchChange: y, emptyState: U, chips: K, chipsClassName: i, keepPopoverOpenOnSelect: _, id: h, disabled: q, ...O } = e, t[0] = e, t[1] = n, t[2] = i, t[3] = o, t[4] = s, t[5] = c, t[6] = d, t[7] = f, t[8] = h, t[9] = _, t[10] = v, t[11] = y, t[12] = S, t[13] = w, t[14] = E, t[15] = O, t[16] = A, t[17] = M, t[18] = I, t[19] = z, t[20] = U, t[21] = K, t[22] = q, t[23] = J);
28196
- let Q = M === void 0 ? false : M, $ = I === void 0 ? true : I, MK = z === void 0 ? "Search..." : z, NK = U === void 0 ? "Nothing found." : U, PK = K === void 0 ? false : K, FK = q === void 0 ? false : q, IK = s ?? false, LK;
28197
- t[24] !== v || t[25] !== w || t[26] !== IK ? (LK = {
28196
+ let Q = M === void 0 ? false : M, $ = I === void 0 ? true : I, jK = z === void 0 ? "Search..." : z, MK = U === void 0 ? "Nothing found." : U, NK = K === void 0 ? false : K, PK = q === void 0 ? false : q, FK = s ?? false, IK;
28197
+ t[24] !== v || t[25] !== w || t[26] !== FK ? (IK = {
28198
28198
  prop: w,
28199
- defaultProp: IK,
28199
+ defaultProp: FK,
28200
28200
  onChange: v
28201
- }, t[24] = v, t[25] = w, t[26] = IK, t[27] = LK) : LK = t[27];
28202
- let [RK, zK] = useControllableState(LK), BK = RK === void 0 ? false : RK, VK;
28203
- t[28] === S ? VK = t[29] : (VK = (e2) => {
28201
+ }, t[24] = v, t[25] = w, t[26] = FK, t[27] = IK) : IK = t[27];
28202
+ let [LK, RK] = useControllableState(IK), zK = LK === void 0 ? false : LK, BK;
28203
+ t[28] === S ? BK = t[29] : (BK = (e2) => {
28204
28204
  S == null ? void 0 : S(e2);
28205
- }, t[28] = S, t[29] = VK);
28206
- let HK;
28207
- t[30] !== c || t[31] !== VK || t[32] !== J ? (HK = {
28205
+ }, t[28] = S, t[29] = BK);
28206
+ let VK;
28207
+ t[30] !== c || t[31] !== BK || t[32] !== J ? (VK = {
28208
28208
  prop: J,
28209
28209
  defaultProp: c,
28210
- onChange: VK
28211
- }, t[30] = c, t[31] = VK, t[32] = J, t[33] = HK) : HK = t[33];
28212
- let [UK, WK] = useControllableState(HK), GK;
28213
- t[34] === UK ? GK = t[35] : (GK = (e2) => Array.isArray(UK) ? UK.includes(e2) : UK === e2, t[34] = UK, t[35] = GK);
28214
- let KK = GK, qK;
28215
- t[36] !== _ || t[37] !== Q || t[38] !== zK || t[39] !== WK || t[40] !== UK ? (qK = (e2) => {
28210
+ onChange: BK
28211
+ }, t[30] = c, t[31] = BK, t[32] = J, t[33] = VK) : VK = t[33];
28212
+ let [HK, UK] = useControllableState(VK), WK;
28213
+ t[34] === HK ? WK = t[35] : (WK = (e2) => Array.isArray(HK) ? HK.includes(e2) : HK === e2, t[34] = HK, t[35] = WK);
28214
+ let GK = WK, KK;
28215
+ t[36] !== _ || t[37] !== Q || t[38] !== RK || t[39] !== UK || t[40] !== HK ? (KK = (e2) => {
28216
28216
  let t2 = e2;
28217
- if (Q) if (Array.isArray(UK)) if (UK.includes(t2)) {
28218
- let n2 = UK.filter((t3) => t3 !== e2);
28217
+ if (Q) if (Array.isArray(HK)) if (HK.includes(t2)) {
28218
+ let n2 = HK.filter((t3) => t3 !== e2);
28219
28219
  t2 = n2.length > 0 ? n2 : [];
28220
28220
  } else t2 = [
28221
- ...UK,
28221
+ ...HK,
28222
28222
  t2
28223
28223
  ];
28224
28224
  else t2 = [
28225
28225
  t2
28226
28226
  ];
28227
- else UK === e2 && (t2 = null);
28228
- WK(t2), (_ ?? Q) || zK(false);
28229
- }, t[36] = _, t[37] = Q, t[38] = zK, t[39] = WK, t[40] = UK, t[41] = qK) : qK = t[41];
28230
- let JK = qK, YK;
28231
- t[42] !== PK || t[43] !== d || t[44] !== Q || t[45] !== E || t[46] !== UK ? (YK = () => Q && PK && E ? E : UK == null ? E ?? "--" : Array.isArray(UK) ? UK.length === 0 ? E ?? "--" : UK.length === 1 && d !== void 0 ? d(UK[0]) : `${UK.length} selected` : d === void 0 ? E ?? "--" : d(UK), t[42] = PK, t[43] = d, t[44] = Q, t[45] = E, t[46] = UK, t[47] = YK) : YK = t[47];
28232
- let XK = YK, ZK;
28233
- t[48] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (ZK = cn("relative"), t[48] = ZK) : ZK = t[48];
28234
- let QK;
28235
- t[49] !== FK || t[50] !== zK ? (QK = (e2) => {
28236
- FK && e2 || zK(e2);
28237
- }, t[49] = FK, t[50] = zK, t[51] = QK) : QK = t[51];
28238
- let $K = FK && "cursor-not-allowed opacity-50", eq;
28239
- t[52] !== o || t[53] !== $K ? (eq = cn("flex h-6 w-fit mb-1 shadow-xs-solid items-center justify-between rounded-sm border border-input bg-transparent px-2 text-sm font-prose ring-offset-background placeholder:text-muted-foreground hover:shadow-sm-solid focus:outline-hidden focus:ring-1 focus:ring-ring focus:border-primary focus:shadow-md-solid", $K, o), t[52] = o, t[53] = $K, t[54] = eq) : eq = t[54];
28227
+ else HK === e2 && (t2 = null);
28228
+ UK(t2), (_ ?? Q) || RK(false);
28229
+ }, t[36] = _, t[37] = Q, t[38] = RK, t[39] = UK, t[40] = HK, t[41] = KK) : KK = t[41];
28230
+ let qK = KK, JK;
28231
+ t[42] !== NK || t[43] !== d || t[44] !== Q || t[45] !== E || t[46] !== HK ? (JK = () => Q && NK && E ? E : HK == null ? E ?? "--" : Array.isArray(HK) ? HK.length === 0 ? E ?? "--" : HK.length === 1 && d !== void 0 ? d(HK[0]) : `${HK.length} selected` : d === void 0 ? E ?? "--" : d(HK), t[42] = NK, t[43] = d, t[44] = Q, t[45] = E, t[46] = HK, t[47] = JK) : JK = t[47];
28232
+ let YK = JK, XK;
28233
+ t[48] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (XK = cn("relative"), t[48] = XK) : XK = t[48];
28234
+ let ZK;
28235
+ t[49] !== PK || t[50] !== RK ? (ZK = (e2) => {
28236
+ PK && e2 || RK(e2);
28237
+ }, t[49] = PK, t[50] = RK, t[51] = ZK) : ZK = t[51];
28238
+ let QK = PK && "cursor-not-allowed opacity-50", $K;
28239
+ t[52] !== o || t[53] !== QK ? ($K = cn("flex h-6 w-fit mb-1 shadow-xs-solid items-center justify-between rounded-sm border border-input bg-transparent px-2 text-sm font-prose ring-offset-background placeholder:text-muted-foreground hover:shadow-sm-solid focus:outline-hidden focus:ring-1 focus:ring-ring focus:border-primary focus:shadow-md-solid", QK, o), t[52] = o, t[53] = QK, t[54] = $K) : $K = t[54];
28240
+ let tq;
28241
+ t[55] === YK ? tq = t[56] : (tq = YK(), t[55] = YK, t[56] = tq);
28240
28242
  let nq;
28241
- t[55] === XK ? nq = t[56] : (nq = XK(), t[55] = XK, t[56] = nq);
28242
- let rq;
28243
- t[57] === nq ? rq = t[58] : (rq = (0, import_jsx_runtime.jsx)("span", {
28243
+ t[57] === tq ? nq = t[58] : (nq = (0, import_jsx_runtime.jsx)("span", {
28244
28244
  className: "truncate flex-1 min-w-0",
28245
- children: nq
28246
- }), t[57] = nq, t[58] = rq);
28247
- let aq;
28248
- t[59] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (aq = (0, import_jsx_runtime.jsx)(ChevronDown, {
28245
+ children: tq
28246
+ }), t[57] = tq, t[58] = nq);
28247
+ let iq;
28248
+ t[59] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (iq = (0, import_jsx_runtime.jsx)(ChevronDown, {
28249
28249
  className: "ml-3 w-4 h-4 opacity-50 shrink-0"
28250
- }), t[59] = aq) : aq = t[59];
28251
- let oq;
28252
- t[60] !== FK || t[61] !== h || t[62] !== BK || t[63] !== eq || t[64] !== rq ? (oq = (0, import_jsx_runtime.jsx)(PopoverTrigger, {
28250
+ }), t[59] = iq) : iq = t[59];
28251
+ let aq;
28252
+ t[60] !== PK || t[61] !== h || t[62] !== zK || t[63] !== $K || t[64] !== nq ? (aq = (0, import_jsx_runtime.jsx)(PopoverTrigger, {
28253
28253
  asChild: true,
28254
28254
  children: (0, import_jsx_runtime.jsxs)("button", {
28255
28255
  id: h,
28256
28256
  type: "button",
28257
- className: eq,
28258
- "aria-expanded": BK,
28259
- "aria-disabled": FK,
28257
+ className: $K,
28258
+ "aria-expanded": zK,
28259
+ "aria-disabled": PK,
28260
28260
  children: [
28261
- rq,
28262
- aq
28261
+ nq,
28262
+ iq
28263
28263
  ]
28264
28264
  })
28265
- }), t[60] = FK, t[61] = h, t[62] = BK, t[63] = eq, t[64] = rq, t[65] = oq) : oq = t[65];
28266
- let sq;
28267
- t[66] !== MK || t[67] !== y || t[68] !== A ? (sq = (0, import_jsx_runtime.jsx)(CommandInput, {
28268
- placeholder: MK,
28265
+ }), t[60] = PK, t[61] = h, t[62] = zK, t[63] = $K, t[64] = nq, t[65] = aq) : aq = t[65];
28266
+ let oq;
28267
+ t[66] !== jK || t[67] !== y || t[68] !== A ? (oq = (0, import_jsx_runtime.jsx)(CommandInput, {
28268
+ placeholder: jK,
28269
28269
  rootClassName: "px-1 h-8",
28270
28270
  autoFocus: true,
28271
28271
  value: A,
28272
28272
  onValueChange: y
28273
- }), t[66] = MK, t[67] = y, t[68] = A, t[69] = sq) : sq = t[69];
28273
+ }), t[66] = jK, t[67] = y, t[68] = A, t[69] = oq) : oq = t[69];
28274
+ let sq;
28275
+ t[70] === MK ? sq = t[71] : (sq = (0, import_jsx_runtime.jsx)(CommandEmpty, {
28276
+ children: MK
28277
+ }), t[70] = MK, t[71] = sq);
28274
28278
  let cq;
28275
- t[70] === NK ? cq = t[71] : (cq = (0, import_jsx_runtime.jsx)(CommandEmpty, {
28276
- children: NK
28277
- }), t[70] = NK, t[71] = cq);
28279
+ t[72] !== qK || t[73] !== GK ? (cq = {
28280
+ isSelected: GK,
28281
+ onSelect: qK
28282
+ }, t[72] = qK, t[73] = GK, t[74] = cq) : cq = t[74];
28278
28283
  let lq;
28279
- t[72] !== JK || t[73] !== KK ? (lq = {
28280
- isSelected: KK,
28281
- onSelect: JK
28282
- }, t[72] = JK, t[73] = KK, t[74] = lq) : lq = t[74];
28283
- let uq;
28284
- t[75] !== n || t[76] !== lq ? (uq = (0, import_jsx_runtime.jsx)(ComboboxContext, {
28285
- value: lq,
28284
+ t[75] !== n || t[76] !== cq ? (lq = (0, import_jsx_runtime.jsx)(ComboboxContext, {
28285
+ value: cq,
28286
28286
  children: n
28287
- }), t[75] = n, t[76] = lq, t[77] = uq) : uq = t[77];
28288
- let dq;
28289
- t[78] !== cq || t[79] !== uq ? (dq = (0, import_jsx_runtime.jsxs)(CommandList, {
28287
+ }), t[75] = n, t[76] = cq, t[77] = lq) : lq = t[77];
28288
+ let uq;
28289
+ t[78] !== sq || t[79] !== lq ? (uq = (0, import_jsx_runtime.jsxs)(CommandList, {
28290
28290
  className: "max-h-60 py-.5",
28291
28291
  children: [
28292
- cq,
28293
- uq
28292
+ sq,
28293
+ lq
28294
28294
  ]
28295
- }), t[78] = cq, t[79] = uq, t[80] = dq) : dq = t[80];
28296
- let fq;
28297
- t[81] !== f || t[82] !== $ || t[83] !== sq || t[84] !== dq ? (fq = (0, import_jsx_runtime.jsx)(PopoverContent, {
28295
+ }), t[78] = sq, t[79] = lq, t[80] = uq) : uq = t[80];
28296
+ let dq;
28297
+ t[81] !== f || t[82] !== $ || t[83] !== oq || t[84] !== uq ? (dq = (0, import_jsx_runtime.jsx)(PopoverContent, {
28298
28298
  className: "w-full min-w-(--radix-popover-trigger-width) p-0",
28299
28299
  align: "start",
28300
28300
  children: (0, import_jsx_runtime.jsxs)(Command, {
28301
28301
  filter: f,
28302
28302
  shouldFilter: $,
28303
28303
  children: [
28304
- sq,
28305
- dq
28304
+ oq,
28305
+ uq
28306
28306
  ]
28307
28307
  })
28308
- }), t[81] = f, t[82] = $, t[83] = sq, t[84] = dq, t[85] = fq) : fq = t[85];
28309
- let pq;
28310
- t[86] !== BK || t[87] !== QK || t[88] !== oq || t[89] !== fq ? (pq = (0, import_jsx_runtime.jsxs)(Popover, {
28311
- open: BK,
28312
- onOpenChange: QK,
28308
+ }), t[81] = f, t[82] = $, t[83] = oq, t[84] = uq, t[85] = dq) : dq = t[85];
28309
+ let fq;
28310
+ t[86] !== zK || t[87] !== ZK || t[88] !== aq || t[89] !== dq ? (fq = (0, import_jsx_runtime.jsxs)(Popover, {
28311
+ open: zK,
28312
+ onOpenChange: ZK,
28313
28313
  children: [
28314
- oq,
28315
- fq
28314
+ aq,
28315
+ dq
28316
28316
  ]
28317
- }), t[86] = BK, t[87] = QK, t[88] = oq, t[89] = fq, t[90] = pq) : pq = t[90];
28318
- let mq;
28319
- t[91] !== PK || t[92] !== i || t[93] !== FK || t[94] !== d || t[95] !== JK || t[96] !== Q || t[97] !== UK ? (mq = Q && PK && (0, import_jsx_runtime.jsx)("div", {
28317
+ }), t[86] = zK, t[87] = ZK, t[88] = aq, t[89] = dq, t[90] = fq) : fq = t[90];
28318
+ let pq;
28319
+ t[91] !== NK || t[92] !== i || t[93] !== PK || t[94] !== d || t[95] !== qK || t[96] !== Q || t[97] !== HK ? (pq = Q && NK && (0, import_jsx_runtime.jsx)("div", {
28320
28320
  className: cn("flex flex-col gap-1 items-start", i),
28321
- children: Array.isArray(UK) && UK.map((e2) => e2 == null ? null : (0, import_jsx_runtime.jsxs)(Badge, {
28321
+ children: Array.isArray(HK) && HK.map((e2) => e2 == null ? null : (0, import_jsx_runtime.jsxs)(Badge, {
28322
28322
  variant: "secondary",
28323
28323
  children: [
28324
28324
  (d == null ? void 0 : d(e2)) ?? String(e2),
28325
28325
  (0, import_jsx_runtime.jsx)(CircleX, {
28326
28326
  onClick: () => {
28327
- FK || JK(e2);
28327
+ PK || qK(e2);
28328
28328
  },
28329
- className: cn("w-3 h-3 opacity-50 hover:opacity-100 ml-1 cursor-pointer", FK && "pointer-events-none")
28329
+ className: cn("w-3 h-3 opacity-50 hover:opacity-100 ml-1 cursor-pointer", PK && "pointer-events-none")
28330
28330
  })
28331
28331
  ]
28332
28332
  }, String(e2)))
28333
- }), t[91] = PK, t[92] = i, t[93] = FK, t[94] = d, t[95] = JK, t[96] = Q, t[97] = UK, t[98] = mq) : mq = t[98];
28334
- let hq;
28335
- return t[99] !== O || t[100] !== pq || t[101] !== mq ? (hq = (0, import_jsx_runtime.jsxs)("div", {
28336
- className: ZK,
28333
+ }), t[91] = NK, t[92] = i, t[93] = PK, t[94] = d, t[95] = qK, t[96] = Q, t[97] = HK, t[98] = pq) : pq = t[98];
28334
+ let mq;
28335
+ return t[99] !== O || t[100] !== fq || t[101] !== pq ? (mq = (0, import_jsx_runtime.jsxs)("div", {
28336
+ className: XK,
28337
28337
  ...O,
28338
28338
  children: [
28339
- pq,
28340
- mq
28339
+ fq,
28340
+ pq
28341
28341
  ]
28342
- }), t[99] = O, t[100] = pq, t[101] = mq, t[102] = hq) : hq = t[102], hq;
28342
+ }), t[99] = O, t[100] = fq, t[101] = pq, t[102] = mq) : mq = t[102], mq;
28343
28343
  };
28344
28344
  ComboboxItem = import_react.forwardRef((e, t) => {
28345
28345
  let n = (0, import_compiler_runtime$30.c)(17), { children: i, className: o, value: s, onSelect: c, disabled: d } = e, f = typeof s == "object" && "value" in s ? s.value : String(s), h = import_react.use(ComboboxContext), _;
@@ -29471,7 +29471,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
29471
29471
  type: S,
29472
29472
  operator: E,
29473
29473
  draft: mergeNumberTextDraft(A, I)
29474
- }), MK = $ === void 0, NK = MK ? getMissingValueMessage(S, E) : "Apply filter", PK = () => {
29474
+ }), jK = $ === void 0, MK = jK ? getMissingValueMessage(S, E) : "Apply filter", NK = () => {
29475
29475
  if (!$) return;
29476
29476
  let e2 = $;
29477
29477
  t.setColumnFilters((t2) => {
@@ -29490,20 +29490,20 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
29490
29490
  value: e2
29491
29491
  }, n2;
29492
29492
  }), i();
29493
- }, FK = () => {
29493
+ }, PK = () => {
29494
29494
  a !== void 0 && t.setColumnFilters((e2) => e2.filter((e3, t2) => t2 !== a)), i();
29495
- }, IK = !OPERATORS_WITHOUT_VALUE.has(E), LK = OPERATORS_BY_TYPE[S], RK = (0, import_react.useRef)(null), zK = (0, import_react.useRef)(null);
29495
+ }, FK = !OPERATORS_WITHOUT_VALUE.has(E), IK = OPERATORS_BY_TYPE[S], LK = (0, import_react.useRef)(null), RK = (0, import_react.useRef)(null);
29496
29496
  return (0, import_react.useEffect)(() => {
29497
29497
  var _a2, _b;
29498
- let e2 = (_a2 = RK.current) == null ? void 0 : _a2.querySelector('input, [role="spinbutton"], [role="combobox"], button');
29499
- e2 ? e2.focus() : (_b = zK.current) == null ? void 0 : _b.focus();
29498
+ let e2 = (_a2 = LK.current) == null ? void 0 : _a2.querySelector('input, [role="spinbutton"], [role="combobox"], button');
29499
+ e2 ? e2.focus() : (_b = RK.current) == null ? void 0 : _b.focus();
29500
29500
  }, [
29501
29501
  S,
29502
29502
  E
29503
29503
  ]), (0, import_jsx_runtime.jsxs)("form", {
29504
29504
  className: "flex flex-row gap-4 items-end p-3",
29505
29505
  onSubmit: (e2) => {
29506
- e2.preventDefault(), PK();
29506
+ e2.preventDefault(), NK();
29507
29507
  },
29508
29508
  onKeyDownCapture: (e2) => {
29509
29509
  e2.key === "Tab" && e2.stopPropagation();
@@ -29544,13 +29544,13 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
29544
29544
  onValueChange: (e2) => Q(e2),
29545
29545
  children: [
29546
29546
  (0, import_jsx_runtime.jsx)(SelectTrigger, {
29547
- ref: zK,
29547
+ ref: RK,
29548
29548
  id: s,
29549
29549
  className: "h-6 mb-1 bg-transparent",
29550
29550
  children: (0, import_jsx_runtime.jsx)(SelectValue, {})
29551
29551
  }),
29552
29552
  (0, import_jsx_runtime.jsx)(SelectContent, {
29553
- children: LK.map((e2) => (0, import_jsx_runtime.jsx)(SelectItem, {
29553
+ children: IK.map((e2) => (0, import_jsx_runtime.jsx)(SelectItem, {
29554
29554
  value: e2,
29555
29555
  children: OPERATOR_LABELS[e2]
29556
29556
  }, e2))
@@ -29559,8 +29559,8 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
29559
29559
  }, S)
29560
29560
  ]
29561
29561
  }),
29562
- IK && (0, import_jsx_runtime.jsxs)("div", {
29563
- ref: RK,
29562
+ FK && (0, import_jsx_runtime.jsxs)("div", {
29563
+ ref: LK,
29564
29564
  className: "flex flex-col gap-1",
29565
29565
  children: [
29566
29566
  (0, import_jsx_runtime.jsx)("label", {
@@ -29587,14 +29587,14 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
29587
29587
  className: "flex gap-1 mb-1",
29588
29588
  children: [
29589
29589
  (0, import_jsx_runtime.jsx)(Tooltip, {
29590
- content: NK,
29590
+ content: MK,
29591
29591
  children: (0, import_jsx_runtime.jsx)("span", {
29592
29592
  className: "inline-flex",
29593
29593
  children: (0, import_jsx_runtime.jsx)(Button, {
29594
29594
  type: "submit",
29595
29595
  size: "icon",
29596
29596
  variant: "ghost",
29597
- disabled: MK,
29597
+ disabled: jK,
29598
29598
  className: "rounded-full text-primary hover:text-primary hover:bg-primary/10",
29599
29599
  "aria-label": "Apply filter",
29600
29600
  children: (0, import_jsx_runtime.jsx)(Check, {
@@ -29626,7 +29626,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
29626
29626
  size: "icon",
29627
29627
  variant: "ghost",
29628
29628
  className: "rounded-full text-destructive hover:text-destructive hover:bg-destructive/10",
29629
- onClick: FK,
29629
+ onClick: PK,
29630
29630
  "aria-label": "Remove filter",
29631
29631
  children: (0, import_jsx_runtime.jsx)(Trash2, {
29632
29632
  className: "h-3.5 w-3.5",
@@ -32461,7 +32461,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
32461
32461
  function _temp2$2(e, t) {
32462
32462
  return e + t;
32463
32463
  }
32464
- let TableBottomBar, downloadSizeLimitAtom;
32464
+ let TableBottomBar;
32465
32465
  TableBottomBar = ({ pagination: e, totalColumns: t, selection: n, onRowSelectionChange: i, table: s, getRowIds: c, showPageSizeSelector: d, tableLoading: f, togglePanel: _, part: v, className: y }) => {
32466
32466
  let { locale: S } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), E = (e2) => {
32467
32467
  if (!i) return;
@@ -32850,26 +32850,26 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
32850
32850
  return ((_a2 = copyOptions.find((t) => t.format === e)) == null ? void 0 : _a2.label) ?? e;
32851
32851
  };
32852
32852
  const ExportMenu = (e) => {
32853
- let t = (0, import_compiler_runtime$8.c)(56), { locale: n } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), [i, o] = import_react.useState(false), s = useAtomValue(downloadSizeLimitAtom), c = !!(s && e.sizeBytes != null && e.sizeBytes > s.limitBytes), d = i ? "text-primary" : "text-muted-foreground", f;
32854
- t[0] === d ? f = t[1] : (f = cn("print:hidden text-xs gap-1", d), t[0] = d, t[1] = f);
32855
- let _;
32856
- t[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (_ = (0, import_jsx_runtime.jsx)(Download, {
32853
+ let t = (0, import_compiler_runtime$8.c)(56), { locale: n } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), [i, o] = import_react.useState(false), s = useAtomValue(downloadSizeLimitAtom), c = !!(s && e.sizeBytes != null && e.sizeBytes > s.limitBytes), d = !!(s && (e.sizeBytesIsLoading || c)), f = d ? e.sizeBytesIsLoading ? "Checking download size\u2026" : s == null ? void 0 : s.unavailableMessage : "Export", _ = i ? "text-primary" : "text-muted-foreground", v;
32854
+ t[0] === _ ? v = t[1] : (v = cn("print:hidden text-xs gap-1", _), t[0] = _, t[1] = v);
32855
+ let y;
32856
+ t[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (y = (0, import_jsx_runtime.jsx)(Download, {
32857
32857
  className: "w-3.5 h-3.5"
32858
- }), t[2] = _) : _ = t[2];
32859
- let v;
32860
- t[3] !== c || t[4] !== f ? (v = (0, import_jsx_runtime.jsxs)(Button, {
32858
+ }), t[2] = y) : y = t[2];
32859
+ let S;
32860
+ t[3] !== d || t[4] !== v ? (S = (0, import_jsx_runtime.jsxs)(Button, {
32861
32861
  "data-testid": "export-button",
32862
32862
  size: "xs",
32863
32863
  variant: "text",
32864
- disabled: c,
32865
- className: f,
32864
+ disabled: d,
32865
+ className: v,
32866
32866
  children: [
32867
- _,
32867
+ y,
32868
32868
  "Export"
32869
32869
  ]
32870
- }), t[3] = c, t[4] = f, t[5] = v) : v = t[5];
32871
- let y = v, S;
32872
- t[6] === e ? S = t[7] : (S = async (t2, n2) => {
32870
+ }), t[3] = d, t[4] = v, t[5] = S) : S = t[5];
32871
+ let O = S, A;
32872
+ t[6] === e ? A = t[7] : (A = async (t2, n2) => {
32873
32873
  let i2;
32874
32874
  try {
32875
32875
  i2 = await e.downloadAs({
@@ -32894,13 +32894,13 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
32894
32894
  url: i2.url,
32895
32895
  filename: i2.filename
32896
32896
  };
32897
- }, t[6] = e, t[7] = S);
32898
- let O = S, A, M, I, z, U, K, q, J, Q, $, MK, NK, PK;
32899
- if (t[8] !== y || t[9] !== c || t[10] !== n || t[11] !== i || t[12] !== (s == null ? void 0 : s.unavailableMessage) || t[13] !== O) {
32897
+ }, t[6] = e, t[7] = A);
32898
+ let M = A, I, z, U, K, q, J, Q, $, jK, MK, NK, PK, FK;
32899
+ if (t[8] !== O || t[9] !== d || t[10] !== i || t[11] !== n || t[12] !== M || t[13] !== f) {
32900
32900
  let e2 = async (t2) => {
32901
32901
  let n2 = labelForDownloadFormat(t2);
32902
32902
  await withLoadingToast(`Preparing ${n2} export...`, async () => {
32903
- let n3 = await O(t2, () => {
32903
+ let n3 = await M(t2, () => {
32904
32904
  e2(t2);
32905
32905
  });
32906
32906
  if (!n3) return false;
@@ -32918,26 +32918,26 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
32918
32918
  });
32919
32919
  }, a = async (e3) => {
32920
32920
  await withLoadingToast(`Preparing ${labelForCopyFormat(e3)} for clipboard...`, async () => {
32921
- let t2 = await O(e3 === "csv" ? "csv" : "json", () => {
32921
+ let t2 = await M(e3 === "csv" ? "csv" : "json", () => {
32922
32922
  a(e3);
32923
32923
  });
32924
32924
  if (!t2) return;
32925
32925
  let i2;
32926
- bb78: switch (e3) {
32926
+ bb98: switch (e3) {
32927
32927
  case "tsv":
32928
32928
  i2 = jsonToTSV(await fetchJson(t2.url), n);
32929
- break bb78;
32929
+ break bb98;
32930
32930
  case "json": {
32931
32931
  let e4 = await fetchJson(t2.url);
32932
32932
  i2 = JSON.stringify(e4, null, 2);
32933
- break bb78;
32933
+ break bb98;
32934
32934
  }
32935
32935
  case "csv":
32936
32936
  i2 = await fetchText(t2.url);
32937
- break bb78;
32937
+ break bb98;
32938
32938
  case "markdown":
32939
32939
  i2 = jsonToMarkdown(await fetchJson(t2.url));
32940
- break bb78;
32940
+ break bb98;
32941
32941
  default:
32942
32942
  logNever(e3);
32943
32943
  return;
@@ -32947,26 +32947,26 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
32947
32947
  });
32948
32948
  });
32949
32949
  };
32950
- M = DropdownMenu, U = false, K = i, q = o;
32951
- let d2 = c ? s == null ? void 0 : s.unavailableMessage : "Export", f2 = i ? false : void 0, h = c ? 0 : -1, _2;
32952
- t[27] !== y || t[28] !== h ? (_2 = (0, import_jsx_runtime.jsx)("span", {
32953
- tabIndex: h,
32950
+ z = DropdownMenu, q = false, J = i, Q = o;
32951
+ let s2 = i ? false : void 0, c2 = d ? 0 : -1, h;
32952
+ t[27] !== O || t[28] !== c2 ? (h = (0, import_jsx_runtime.jsx)("span", {
32953
+ tabIndex: c2,
32954
32954
  className: "inline-flex",
32955
- children: y
32956
- }), t[27] = y, t[28] = h, t[29] = _2) : _2 = t[29];
32957
- let v2;
32958
- t[30] !== c || t[31] !== _2 ? (v2 = (0, import_jsx_runtime.jsx)(DropdownMenuTrigger, {
32955
+ children: O
32956
+ }), t[27] = O, t[28] = c2, t[29] = h) : h = t[29];
32957
+ let _2;
32958
+ t[30] !== d || t[31] !== h ? (_2 = (0, import_jsx_runtime.jsx)(DropdownMenuTrigger, {
32959
32959
  asChild: true,
32960
- disabled: c,
32960
+ disabled: d,
32961
+ children: h
32962
+ }), t[30] = d, t[31] = h, t[32] = _2) : _2 = t[32], t[33] !== s2 || t[34] !== _2 || t[35] !== f ? ($ = (0, import_jsx_runtime.jsx)(Tooltip, {
32963
+ content: f,
32964
+ open: s2,
32961
32965
  children: _2
32962
- }), t[30] = c, t[31] = _2, t[32] = v2) : v2 = t[32], t[33] !== d2 || t[34] !== f2 || t[35] !== v2 ? (J = (0, import_jsx_runtime.jsx)(Tooltip, {
32963
- content: d2,
32964
- open: f2,
32965
- children: v2
32966
- }), t[33] = d2, t[34] = f2, t[35] = v2, t[36] = J) : J = t[36], A = DropdownMenuContent, Q = "bottom", $ = "print:hidden", t[37] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (MK = (0, import_jsx_runtime.jsx)(DropdownMenuLabel, {
32966
+ }), t[33] = s2, t[34] = _2, t[35] = f, t[36] = $) : $ = t[36], I = DropdownMenuContent, jK = "bottom", MK = "print:hidden", t[37] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (NK = (0, import_jsx_runtime.jsx)(DropdownMenuLabel, {
32967
32967
  className: "text-xs text-muted-foreground",
32968
32968
  children: "Download"
32969
- }), t[37] = MK) : MK = t[37], NK = downloadOptions.map((t2) => (0, import_jsx_runtime.jsxs)(DropdownMenuItem, {
32969
+ }), t[37] = NK) : NK = t[37], PK = downloadOptions.map((t2) => (0, import_jsx_runtime.jsxs)(DropdownMenuItem, {
32970
32970
  onSelect: () => {
32971
32971
  e2(t2.format);
32972
32972
  },
@@ -32987,10 +32987,10 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
32987
32987
  ]
32988
32988
  })
32989
32989
  ]
32990
- }, t2.label)), t[38] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (PK = (0, import_jsx_runtime.jsx)(DropdownMenuSeparator, {}), I = (0, import_jsx_runtime.jsx)(DropdownMenuLabel, {
32990
+ }, t2.label)), t[38] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (FK = (0, import_jsx_runtime.jsx)(DropdownMenuSeparator, {}), U = (0, import_jsx_runtime.jsx)(DropdownMenuLabel, {
32991
32991
  className: "text-xs text-muted-foreground",
32992
32992
  children: "Copy to clipboard"
32993
- }), t[38] = I, t[39] = PK) : (I = t[38], PK = t[39]), z = copyOptions.map((e3) => (0, import_jsx_runtime.jsxs)(DropdownMenuItem, {
32993
+ }), t[38] = U, t[39] = FK) : (U = t[38], FK = t[39]), K = copyOptions.map((e3) => (0, import_jsx_runtime.jsxs)(DropdownMenuItem, {
32994
32994
  onSelect: async () => {
32995
32995
  try {
32996
32996
  await a(e3.format);
@@ -33019,30 +33019,30 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
33019
33019
  ]
33020
33020
  })
33021
33021
  ]
33022
- }, e3.label)), t[8] = y, t[9] = c, t[10] = n, t[11] = i, t[12] = s == null ? void 0 : s.unavailableMessage, t[13] = O, t[14] = A, t[15] = M, t[16] = I, t[17] = z, t[18] = U, t[19] = K, t[20] = q, t[21] = J, t[22] = Q, t[23] = $, t[24] = MK, t[25] = NK, t[26] = PK;
33023
- } else A = t[14], M = t[15], I = t[16], z = t[17], U = t[18], K = t[19], q = t[20], J = t[21], Q = t[22], $ = t[23], MK = t[24], NK = t[25], PK = t[26];
33024
- let FK;
33025
- t[40] !== A || t[41] !== I || t[42] !== z || t[43] !== Q || t[44] !== $ || t[45] !== MK || t[46] !== NK || t[47] !== PK ? (FK = (0, import_jsx_runtime.jsxs)(A, {
33026
- side: Q,
33027
- className: $,
33022
+ }, e3.label)), t[8] = O, t[9] = d, t[10] = i, t[11] = n, t[12] = M, t[13] = f, t[14] = I, t[15] = z, t[16] = U, t[17] = K, t[18] = q, t[19] = J, t[20] = Q, t[21] = $, t[22] = jK, t[23] = MK, t[24] = NK, t[25] = PK, t[26] = FK;
33023
+ } else I = t[14], z = t[15], U = t[16], K = t[17], q = t[18], J = t[19], Q = t[20], $ = t[21], jK = t[22], MK = t[23], NK = t[24], PK = t[25], FK = t[26];
33024
+ let IK;
33025
+ t[40] !== I || t[41] !== U || t[42] !== K || t[43] !== jK || t[44] !== MK || t[45] !== NK || t[46] !== PK || t[47] !== FK ? (IK = (0, import_jsx_runtime.jsxs)(I, {
33026
+ side: jK,
33027
+ className: MK,
33028
33028
  children: [
33029
- MK,
33030
33029
  NK,
33031
33030
  PK,
33032
- I,
33033
- z
33031
+ FK,
33032
+ U,
33033
+ K
33034
33034
  ]
33035
- }), t[40] = A, t[41] = I, t[42] = z, t[43] = Q, t[44] = $, t[45] = MK, t[46] = NK, t[47] = PK, t[48] = FK) : FK = t[48];
33036
- let IK;
33037
- return t[49] !== M || t[50] !== U || t[51] !== K || t[52] !== q || t[53] !== J || t[54] !== FK ? (IK = (0, import_jsx_runtime.jsxs)(M, {
33038
- modal: U,
33039
- open: K,
33040
- onOpenChange: q,
33035
+ }), t[40] = I, t[41] = U, t[42] = K, t[43] = jK, t[44] = MK, t[45] = NK, t[46] = PK, t[47] = FK, t[48] = IK) : IK = t[48];
33036
+ let LK;
33037
+ return t[49] !== z || t[50] !== q || t[51] !== J || t[52] !== Q || t[53] !== $ || t[54] !== IK ? (LK = (0, import_jsx_runtime.jsxs)(z, {
33038
+ modal: q,
33039
+ open: J,
33040
+ onOpenChange: Q,
33041
33041
  children: [
33042
- J,
33043
- FK
33042
+ $,
33043
+ IK
33044
33044
  ]
33045
- }), t[49] = M, t[50] = U, t[51] = K, t[52] = q, t[53] = J, t[54] = FK, t[55] = IK) : IK = t[55], IK;
33045
+ }), t[49] = z, t[50] = q, t[51] = J, t[52] = Q, t[53] = $, t[54] = IK, t[55] = LK) : LK = t[55], LK;
33046
33046
  };
33047
33047
  function fetchJson(e) {
33048
33048
  return fetchText(e).then(jsonParseWithSpecialChar);
@@ -33056,13 +33056,13 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
33056
33056
  var NOOP_ON_SEARCH = () => {
33057
33057
  };
33058
33058
  let TableTopBar;
33059
- TableTopBar = ({ enableSearch: e, searchQuery: t, onSearchQueryChange: n, reloading: i, showChartBuilder: o, isChartBuilderOpen: s, toggleDisplayHeader: c, showTableExplorer: d, togglePanel: f, isAnyPanelOpen: _, downloadAs: v, sizeBytes: y }) => {
33060
- let [S, w] = (0, import_react.useState)(t || ""), E = useDebounce(S, 500), O = useEvent_default(n ?? NOOP_ON_SEARCH), A = import_react.useRef(null);
33059
+ TableTopBar = ({ enableSearch: e, searchQuery: t, onSearchQueryChange: n, reloading: i, showChartBuilder: o, isChartBuilderOpen: s, toggleDisplayHeader: c, showTableExplorer: d, togglePanel: f, isAnyPanelOpen: _, downloadAs: v, sizeBytes: y, sizeBytesIsLoading: S }) => {
33060
+ let [w, E] = (0, import_react.useState)(t || ""), O = useDebounce(w, 500), A = useEvent_default(n ?? NOOP_ON_SEARCH), M = import_react.useRef(null);
33061
33061
  return (0, import_react.useEffect)(() => {
33062
- O(E);
33062
+ A(O);
33063
33063
  }, [
33064
- E,
33065
- O
33064
+ O,
33065
+ A
33066
33066
  ]), e && n || o || d || v ? (0, import_jsx_runtime.jsxs)("div", {
33067
33067
  className: "flex items-center h-10 px-2 border-b gap-2",
33068
33068
  children: [
@@ -33073,25 +33073,25 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
33073
33073
  className: "w-4 h-4 text-muted-foreground shrink-0"
33074
33074
  }),
33075
33075
  (0, import_jsx_runtime.jsx)("input", {
33076
- ref: A,
33076
+ ref: M,
33077
33077
  type: "text",
33078
33078
  className: "h-6 border-none bg-transparent focus:outline-hidden text-sm w-full min-w-0",
33079
- value: S,
33079
+ value: w,
33080
33080
  onKeyDown: (e2) => {
33081
33081
  var _a2;
33082
- e2.key === "Escape" && (w(""), (_a2 = A.current) == null ? void 0 : _a2.blur());
33082
+ e2.key === "Escape" && (E(""), (_a2 = M.current) == null ? void 0 : _a2.blur());
33083
33083
  },
33084
- onChange: (e2) => w(e2.target.value),
33084
+ onChange: (e2) => E(e2.target.value),
33085
33085
  placeholder: "Search..."
33086
33086
  }),
33087
33087
  i && (0, import_jsx_runtime.jsx)(Spinner, {
33088
33088
  size: "small"
33089
33089
  }),
33090
- S && (0, import_jsx_runtime.jsx)(Button, {
33090
+ w && (0, import_jsx_runtime.jsx)(Button, {
33091
33091
  variant: "text",
33092
33092
  size: "xs",
33093
33093
  className: "h-5 w-5 p-0 shrink-0",
33094
- onClick: () => w(""),
33094
+ onClick: () => E(""),
33095
33095
  children: (0, import_jsx_runtime.jsx)(X, {
33096
33096
  className: "w-3 h-3 text-muted-foreground"
33097
33097
  })
@@ -33127,14 +33127,15 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
33127
33127
  }),
33128
33128
  v && (0, import_jsx_runtime.jsx)(ExportMenu, {
33129
33129
  downloadAs: v,
33130
- sizeBytes: y
33130
+ sizeBytes: y,
33131
+ sizeBytesIsLoading: S
33131
33132
  })
33132
33133
  ]
33133
33134
  })
33134
33135
  ]
33135
33136
  }) : null;
33136
33137
  };
33137
- DataTable = (0, import_react.memo)(({ wrapperClassName: e, className: t, maxHeight: n, columns: i, data: o, rawData: s, selection: c, totalColumns: d, totalRows: f, sizeBytes: _, manualSorting: v = false, sorting: y, setSorting: S, rowSelection: w, cellSelection: E, cellStyling: O, hoverTemplate: A, cellHoverTexts: M, paginationState: I, setPaginationState: z, downloadAs: U, manualPagination: K = false, pagination: q = false, onRowSelectionChange: J, onCellSelectionChange: Q, getRowIds: $, enableSearch: MK = false, searchQuery: NK, onSearchQueryChange: PK, showFilters: FK = false, filters: IK, onFiltersChange: LK, calculateTopKRows: RK, reloading: zK, freezeColumnsLeft: BK, freezeColumnsRight: VK, hiddenColumns: HK, toggleDisplayHeader: UK, showChartBuilder: WK, isChartBuilderOpen: GK, showPageSizeSelector: KK, showTableExplorer: qK, togglePanel: JK, isPanelOpen: YK, isAnyPanelOpen: XK, viewedRowIdx: ZK, onViewedRowChange: QK }) => {
33138
+ DataTable = (0, import_react.memo)(({ wrapperClassName: e, className: t, maxHeight: n, columns: i, data: o, rawData: s, selection: c, totalColumns: d, totalRows: f, sizeBytes: _, sizeBytesIsLoading: v, manualSorting: y = false, sorting: S, setSorting: w, rowSelection: E, cellSelection: O, cellStyling: A, hoverTemplate: M, cellHoverTexts: I, paginationState: z, setPaginationState: U, downloadAs: K, manualPagination: q = false, pagination: J = false, onRowSelectionChange: Q, onCellSelectionChange: $, getRowIds: jK, enableSearch: MK = false, searchQuery: NK, onSearchQueryChange: PK, showFilters: FK = false, filters: IK, onFiltersChange: LK, calculateTopKRows: RK, reloading: zK, freezeColumnsLeft: BK, freezeColumnsRight: VK, hiddenColumns: HK, toggleDisplayHeader: UK, showChartBuilder: WK, isChartBuilderOpen: GK, showPageSizeSelector: KK, showTableExplorer: qK, togglePanel: JK, isPanelOpen: YK, isAnyPanelOpen: XK, viewedRowIdx: ZK, onViewedRowChange: QK }) => {
33138
33139
  let [$K, eq] = import_react.useState(false), { locale: tq } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), { columnPinning: nq, setColumnPinning: rq } = useColumnPinning(BK, VK), { columnVisibility: iq, setColumnVisibility: aq } = useColumnVisibility(HK);
33139
33140
  import_react.useEffect(() => {
33140
33141
  let e2;
@@ -33147,7 +33148,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
33147
33148
  zK
33148
33149
  ]);
33149
33150
  function oq(e2, t2) {
33150
- return I ? t2 + (K ? I.pageIndex * I.pageSize : 0) : t2;
33151
+ return z ? t2 + (q ? z.pageIndex * z.pageSize : 0) : t2;
33151
33152
  }
33152
33153
  let sq = useReactTable({
33153
33154
  _features: [
@@ -33168,8 +33169,8 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
33168
33169
  },
33169
33170
  getCoreRowModel: getCoreRowModel(),
33170
33171
  rowCount: f === "too_many" ? void 0 : f,
33171
- ...z ? {
33172
- onPaginationChange: z,
33172
+ ...U ? {
33173
+ onPaginationChange: U,
33173
33174
  getRowId: (e2, t2) => {
33174
33175
  let n2 = getStableRowId(e2);
33175
33176
  if (n2) return n2;
@@ -33178,20 +33179,20 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
33178
33179
  }
33179
33180
  } : {},
33180
33181
  locale: tq,
33181
- manualPagination: K,
33182
+ manualPagination: q,
33182
33183
  getPaginationRowModel: getPaginationRowModel(),
33183
- ...S ? {
33184
- onSortingChange: S
33184
+ ...w ? {
33185
+ onSortingChange: w
33185
33186
  } : {},
33186
- manualSorting: v,
33187
+ manualSorting: y,
33187
33188
  enableMultiSort: true,
33188
33189
  getSortedRowModel: getSortedRowModel(),
33189
33190
  manualFiltering: true,
33190
33191
  enableColumnFilters: FK,
33191
33192
  getFilteredRowModel: getFilteredRowModel(),
33192
33193
  onColumnFiltersChange: LK,
33193
- onRowSelectionChange: J,
33194
- onCellSelectionChange: Q,
33194
+ onRowSelectionChange: Q,
33195
+ onCellSelectionChange: $,
33195
33196
  enableCellSelection: c === "single-cell" || c === "multi-cell",
33196
33197
  enableMultiCellSelection: c === "multi-cell",
33197
33198
  onColumnPinningChange: rq,
@@ -33199,27 +33200,27 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
33199
33200
  enableFocusRow: true,
33200
33201
  onFocusRowChange: QK,
33201
33202
  state: {
33202
- ...y ? {
33203
- sorting: y
33203
+ ...S ? {
33204
+ sorting: S
33204
33205
  } : {},
33205
33206
  columnFilters: IK,
33206
- ...I ? {
33207
- pagination: I
33208
- } : q && !I ? {} : {
33207
+ ...z ? {
33208
+ pagination: z
33209
+ } : J && !z ? {} : {
33209
33210
  pagination: {
33210
33211
  pageIndex: 0,
33211
33212
  pageSize: o.length
33212
33213
  }
33213
33214
  },
33214
- rowSelection: w ?? {},
33215
- cellSelection: E ?? [],
33215
+ rowSelection: E ?? {},
33216
+ cellSelection: O ?? [],
33216
33217
  columnVisibility: iq,
33217
- cellStyling: O,
33218
+ cellStyling: A,
33218
33219
  columnPinning: nq,
33219
- cellHoverTemplate: A,
33220
- cellHoverTexts: M ?? {}
33220
+ cellHoverTemplate: M,
33221
+ cellHoverTexts: I ?? {}
33221
33222
  }
33222
- }), cq = (YK == null ? void 0 : YK(PANEL_TYPES.ROW_VIEWER)) ?? false, lq = !q && o.length > 100, uq = useScrollContainerHeight({
33223
+ }), cq = (YK == null ? void 0 : YK(PANEL_TYPES.ROW_VIEWER)) ?? false, lq = !J && o.length > 100, uq = useScrollContainerHeight({
33223
33224
  maxHeight: n,
33224
33225
  virtualize: lq
33225
33226
  }), [dq, fq] = import_react.useState(null), pq = import_react.useMemo(() => ({
@@ -33260,8 +33261,9 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
33260
33261
  showTableExplorer: qK,
33261
33262
  togglePanel: JK,
33262
33263
  isAnyPanelOpen: XK,
33263
- downloadAs: U,
33264
- sizeBytes: _
33264
+ downloadAs: K,
33265
+ sizeBytes: _,
33266
+ sizeBytesIsLoading: v
33265
33267
  }),
33266
33268
  hq && (0, import_jsx_runtime.jsxs)(Banner, {
33267
33269
  className: "mb-1 mx-2 rounded flex items-center justify-between",
@@ -33299,11 +33301,11 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
33299
33301
  part: "table-footer",
33300
33302
  className: "pt-1.5 pb-0.5 border-t border-border",
33301
33303
  totalColumns: d,
33302
- pagination: q,
33304
+ pagination: J,
33303
33305
  selection: c,
33304
- onRowSelectionChange: J,
33306
+ onRowSelectionChange: Q,
33305
33307
  table: sq,
33306
- getRowIds: $,
33308
+ getRowIds: jK,
33307
33309
  showPageSizeSelector: KK,
33308
33310
  tableLoading: zK,
33309
33311
  togglePanel: JK
@@ -33396,73 +33398,73 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
33396
33398
  ${_}`,
33397
33399
  triggerImmediately: e2
33398
33400
  });
33399
- }, [q, J] = _.split(":", 2), $ = J ? splitMangledLocals(J) : [], NK = d ? KEY : "", PK;
33400
- t[10] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (PK = () => f(_temp$3), t[10] = PK) : PK = t[10];
33401
- let FK = d ? "rotate-180" : "rotate-0", IK;
33402
- t[11] === FK ? IK = t[12] : (IK = cn("h-4 w-4 text-muted-foreground transition-transform duration-200 shrink-0", FK), t[11] = FK, t[12] = IK);
33403
- let LK;
33404
- t[13] === IK ? LK = t[14] : (LK = (0, import_jsx_runtime.jsx)(ChevronDown, {
33405
- className: IK
33406
- }), t[13] = IK, t[14] = LK);
33407
- let RK = q || "Error", zK;
33408
- t[15] === RK ? zK = t[16] : (zK = (0, import_jsx_runtime.jsxs)("span", {
33401
+ }, [q, J] = _.split(":", 2), $ = J ? splitMangledLocals(J) : [], MK = d ? KEY : "", NK;
33402
+ t[10] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (NK = () => f(_temp$3), t[10] = NK) : NK = t[10];
33403
+ let PK = d ? "rotate-180" : "rotate-0", FK;
33404
+ t[11] === PK ? FK = t[12] : (FK = cn("h-4 w-4 text-muted-foreground transition-transform duration-200 shrink-0", PK), t[11] = PK, t[12] = FK);
33405
+ let IK;
33406
+ t[13] === FK ? IK = t[14] : (IK = (0, import_jsx_runtime.jsx)(ChevronDown, {
33407
+ className: FK
33408
+ }), t[13] = FK, t[14] = IK);
33409
+ let LK = q || "Error", RK;
33410
+ t[15] === LK ? RK = t[16] : (RK = (0, import_jsx_runtime.jsxs)("span", {
33409
33411
  className: "text-destructive",
33410
33412
  children: [
33411
- RK,
33413
+ LK,
33412
33414
  ":"
33413
33415
  ]
33414
- }), t[15] = RK, t[16] = zK);
33415
- let VK;
33416
- t[17] === $ ? VK = t[18] : (VK = (0, import_jsx_runtime.jsx)(MangledSegments, {
33416
+ }), t[15] = LK, t[16] = RK);
33417
+ let BK;
33418
+ t[17] === $ ? BK = t[18] : (BK = (0, import_jsx_runtime.jsx)(MangledSegments, {
33417
33419
  segments: $
33418
- }), t[17] = $, t[18] = VK);
33419
- let UK;
33420
- t[19] !== zK || t[20] !== VK ? (UK = (0, import_jsx_runtime.jsxs)("div", {
33420
+ }), t[17] = $, t[18] = BK);
33421
+ let HK;
33422
+ t[19] !== RK || t[20] !== BK ? (HK = (0, import_jsx_runtime.jsxs)("div", {
33421
33423
  className: "text-sm inline font-mono",
33422
33424
  children: [
33423
- zK,
33425
+ RK,
33424
33426
  " ",
33425
- VK
33427
+ BK
33426
33428
  ]
33427
- }), t[19] = zK, t[20] = VK, t[21] = UK) : UK = t[21];
33428
- let WK;
33429
- t[22] !== UK || t[23] !== LK ? (WK = (0, import_jsx_runtime.jsxs)("div", {
33429
+ }), t[19] = RK, t[20] = BK, t[21] = HK) : HK = t[21];
33430
+ let UK;
33431
+ t[22] !== HK || t[23] !== IK ? (UK = (0, import_jsx_runtime.jsxs)("div", {
33430
33432
  className: "flex gap-2 h-10 px-2 hover:bg-muted rounded-sm select-none items-center cursor-pointer transition-all",
33431
- onClick: PK,
33433
+ onClick: NK,
33432
33434
  children: [
33433
- LK,
33434
- UK
33435
+ IK,
33436
+ HK
33435
33437
  ]
33436
- }), t[22] = UK, t[23] = LK, t[24] = WK) : WK = t[24];
33437
- let GK;
33438
- t[25] === c ? GK = t[26] : (GK = (0, import_jsx_runtime.jsx)(AccordionContent, {
33438
+ }), t[22] = HK, t[23] = IK, t[24] = UK) : UK = t[24];
33439
+ let WK;
33440
+ t[25] === c ? WK = t[26] : (WK = (0, import_jsx_runtime.jsx)(AccordionContent, {
33439
33441
  className: "text-muted-foreground px-4 pt-2 text-xs overflow-auto",
33440
33442
  children: c
33441
- }), t[25] = c, t[26] = GK);
33442
- let KK;
33443
- t[27] !== WK || t[28] !== GK ? (KK = (0, import_jsx_runtime.jsxs)(AccordionItem, {
33443
+ }), t[25] = c, t[26] = WK);
33444
+ let GK;
33445
+ t[27] !== UK || t[28] !== WK ? (GK = (0, import_jsx_runtime.jsxs)(AccordionItem, {
33444
33446
  value: KEY,
33445
33447
  className: "border-none",
33446
33448
  children: [
33447
- WK,
33448
- GK
33449
+ UK,
33450
+ WK
33449
33451
  ]
33450
- }), t[27] = WK, t[28] = GK, t[29] = KK) : KK = t[29];
33451
- let JK;
33452
- t[30] !== KK || t[31] !== NK ? (JK = (0, import_jsx_runtime.jsx)(Accordion, {
33452
+ }), t[27] = UK, t[28] = WK, t[29] = GK) : GK = t[29];
33453
+ let qK;
33454
+ t[30] !== GK || t[31] !== MK ? (qK = (0, import_jsx_runtime.jsx)(Accordion, {
33453
33455
  type: "single",
33454
33456
  collapsible: true,
33455
- value: NK,
33456
- children: KK
33457
- }), t[30] = KK, t[31] = NK, t[32] = JK) : JK = t[32];
33458
- let YK;
33459
- t[33] !== K || t[34] !== I ? (YK = I && (0, import_jsx_runtime.jsx)(AIFixButton, {
33457
+ value: MK,
33458
+ children: GK
33459
+ }), t[30] = GK, t[31] = MK, t[32] = qK) : qK = t[32];
33460
+ let JK;
33461
+ t[33] !== K || t[34] !== I ? (JK = I && (0, import_jsx_runtime.jsx)(AIFixButton, {
33460
33462
  tooltip: "Fix with AI",
33461
33463
  openPrompt: () => K(false),
33462
33464
  applyAutofix: () => K(true)
33463
- }), t[33] = K, t[34] = I, t[35] = YK) : YK = t[35];
33464
- let XK;
33465
- t[36] !== A || t[37] !== w ? (XK = A && (0, import_jsx_runtime.jsx)(Tooltip, {
33465
+ }), t[33] = K, t[34] = I, t[35] = JK) : JK = t[35];
33466
+ let YK;
33467
+ t[36] !== A || t[37] !== w ? (YK = A && (0, import_jsx_runtime.jsx)(Tooltip, {
33466
33468
  content: "Attach pdb to the exception point.",
33467
33469
  children: (0, import_jsx_runtime.jsxs)(Button, {
33468
33470
  size: "xs",
@@ -33479,9 +33481,9 @@ ${_}`,
33479
33481
  "Launch debugger"
33480
33482
  ]
33481
33483
  })
33482
- }), t[36] = A, t[37] = w, t[38] = XK) : XK = t[38];
33483
- let ZK;
33484
- t[39] !== _ || t[40] !== i ? (ZK = U && (0, import_jsx_runtime.jsxs)(DropdownMenu, {
33484
+ }), t[36] = A, t[37] = w, t[38] = YK) : YK = t[38];
33485
+ let XK;
33486
+ t[39] !== _ || t[40] !== i ? (XK = U && (0, import_jsx_runtime.jsxs)(DropdownMenu, {
33485
33487
  children: [
33486
33488
  (0, import_jsx_runtime.jsx)(DropdownMenuTrigger, {
33487
33489
  asChild: true,
@@ -33549,24 +33551,24 @@ ${_}`,
33549
33551
  ]
33550
33552
  })
33551
33553
  ]
33552
- }), t[39] = _, t[40] = i, t[41] = ZK) : ZK = t[41];
33553
- let QK;
33554
- t[42] !== YK || t[43] !== XK || t[44] !== ZK ? (QK = (0, import_jsx_runtime.jsxs)("div", {
33554
+ }), t[39] = _, t[40] = i, t[41] = XK) : XK = t[41];
33555
+ let ZK;
33556
+ t[42] !== JK || t[43] !== YK || t[44] !== XK ? (ZK = (0, import_jsx_runtime.jsxs)("div", {
33555
33557
  className: "flex gap-2",
33556
33558
  children: [
33559
+ JK,
33557
33560
  YK,
33558
- XK,
33559
- ZK
33561
+ XK
33560
33562
  ]
33561
- }), t[42] = YK, t[43] = XK, t[44] = ZK, t[45] = QK) : QK = t[45];
33562
- let $K;
33563
- return t[46] !== JK || t[47] !== QK ? ($K = (0, import_jsx_runtime.jsxs)("div", {
33563
+ }), t[42] = JK, t[43] = YK, t[44] = XK, t[45] = ZK) : ZK = t[45];
33564
+ let QK;
33565
+ return t[46] !== qK || t[47] !== ZK ? (QK = (0, import_jsx_runtime.jsxs)("div", {
33564
33566
  className: "flex flex-col gap-2 min-w-full w-fit",
33565
33567
  children: [
33566
- JK,
33567
- QK
33568
+ qK,
33569
+ ZK
33568
33570
  ]
33569
- }), t[46] = JK, t[47] = QK, t[48] = $K) : $K = t[48], $K;
33571
+ }), t[46] = qK, t[47] = ZK, t[48] = QK) : QK = t[48], QK;
33570
33572
  };
33571
33573
  function lastLine(e) {
33572
33574
  var _a2, _b;
@@ -34956,7 +34958,7 @@ ${_}`,
34956
34958
  return Logger.warn("Failed to get version from mount config"), null;
34957
34959
  }
34958
34960
  }
34959
- marimoVersionAtom = atom(getVersionFromMountConfig() || "0.23.9-dev6");
34961
+ marimoVersionAtom = atom(getVersionFromMountConfig() || "0.23.9-dev8");
34960
34962
  showCodeInRunModeAtom = atom(true);
34961
34963
  atom(null);
34962
34964
  var import_compiler_runtime = require_compiler_runtime();
@@ -34984,110 +34986,111 @@ ${_}`,
34984
34986
  }
34985
34987
  });
34986
34988
  export {
34987
- TableHeader as $,
34988
- CommandEmpty as A,
34989
- LazyVegaEmbed as At,
34990
- isCellAwareAtom as B,
34991
- Funnel as Bt,
34992
- prettifyRowCount as C,
34993
- Tabs as Ct,
34994
- Combobox as D,
34995
- ChartErrorState as Dt,
34996
- DateRangePicker as E,
34997
- TabsTrigger as Et,
34998
- ContextAwarePanelItem as F,
34999
- EmotionCacheProvider as Ft,
35000
- PanelGroup as G,
35001
- Code as Gt,
35002
- slotsController as H,
35003
- Expand as Ht,
35004
- PANEL_TYPES as I,
35005
- $fae977aafc393c5c$export$588937bcd60ade55 as It,
35006
- Provider$1 as J,
35007
- ChevronsLeft as Jt,
35008
- PanelResizeHandle as K,
35009
- ChevronsUpDown as Kt,
35010
- contextAwarePanelOpen as L,
35011
- $fae977aafc393c5c$export$6b862160d295c8e as Lt,
35012
- CommandItem as M,
35013
- RenderTextWithLinks as Mt,
35014
- CommandList as N,
35015
- Kbd as Nt,
35016
- ComboboxItem as O,
35017
- ChartInfoState as Ot,
35018
- CommandSeparator as P,
35019
- HtmlOutput as Pt,
35020
- TableHead as Q,
35021
- contextAwarePanelOwner as R,
35022
- TextWrap as Rt,
35023
- prettifyRowColumnCount as S,
35024
- dateToLocalISOTime as St,
35025
- DatePicker as T,
35026
- TabsList as Tt,
35027
- Toggle as U,
35028
- Ellipsis as Ut,
35029
- SlotNames as V,
35030
- EyeOff as Vt,
35031
- Panel as W,
35032
- Download as Wt,
35033
- TableBody as X,
35034
- ChevronLeft as Xt,
35035
- Table as Y,
35036
- ChevronsDownUp as Yt,
35037
- TableCell as Z,
35038
- ArrowDownWideNarrow as Zt,
34989
+ TableHead as $,
34990
+ Command as A,
34991
+ ChartLoadingState as At,
34992
+ contextAwarePanelType as B,
34993
+ GripHorizontal as Bt,
34994
+ prettifyRowColumnCount as C,
34995
+ dateToLocalISOTime as Ct,
34996
+ DateRangePicker as D,
34997
+ TabsTrigger as Dt,
34998
+ DatePicker as E,
34999
+ TabsList as Et,
35000
+ CommandSeparator as F,
35001
+ HtmlOutput as Ft,
35002
+ Panel as G,
35003
+ Download as Gt,
35004
+ SlotNames as H,
35005
+ EyeOff as Ht,
35006
+ ContextAwarePanelItem as I,
35007
+ EmotionCacheProvider as It,
35008
+ Fill as J,
35009
+ ChevronsRight as Jt,
35010
+ PanelGroup as K,
35011
+ Code as Kt,
35012
+ PANEL_TYPES as L,
35013
+ $fae977aafc393c5c$export$588937bcd60ade55 as Lt,
35014
+ CommandInput as M,
35015
+ useOverflowDetection as Mt,
35016
+ CommandItem as N,
35017
+ RenderTextWithLinks as Nt,
35018
+ Combobox as O,
35019
+ ChartErrorState as Ot,
35020
+ CommandList as P,
35021
+ Kbd as Pt,
35022
+ TableCell as Q,
35023
+ ArrowDownWideNarrow as Qt,
35024
+ contextAwarePanelOpen as R,
35025
+ $fae977aafc393c5c$export$6b862160d295c8e as Rt,
35026
+ downloadSizeLimitAtom as S,
35027
+ dateToLocalISODateTime as St,
35028
+ useInternalStateWithSync as T,
35029
+ TabsContent as Tt,
35030
+ slotsController as U,
35031
+ Expand as Ut,
35032
+ isCellAwareAtom as V,
35033
+ Funnel as Vt,
35034
+ Toggle as W,
35035
+ Ellipsis as Wt,
35036
+ Table as X,
35037
+ ChevronsDownUp as Xt,
35038
+ Provider$1 as Y,
35039
+ ChevronsLeft as Yt,
35040
+ TableBody as Z,
35041
+ ChevronLeft as Zt,
35039
35042
  downloadBlob as _,
35040
35043
  __tla,
35041
- getMimeValues as _t,
35044
+ toFieldTypes as _t,
35042
35045
  DEFAULT_SLIDE_TYPE as a,
35043
- ColumnChartContext as at,
35046
+ renderCellValue as at,
35044
35047
  Progress as b,
35045
- dateToLocalISODate as bt,
35048
+ Maps as bt,
35046
35049
  Slide as c,
35047
- useIntersectionObserver as ct,
35050
+ DelayMount as ct,
35048
35051
  JsonOutput as d,
35049
- loadTableAndRawData as dt,
35050
- TableRow as et,
35052
+ getPageIndexForRow as dt,
35053
+ TableHeader as et,
35051
35054
  OutputArea as f,
35052
- loadTableData as ft,
35055
+ loadTableAndRawData as ft,
35053
35056
  ADD_PRINTING_CLASS as g,
35054
- toFieldTypes as gt,
35057
+ TOO_MANY_ROWS as gt,
35055
35058
  InstallPackageButton as h,
35056
- TOO_MANY_ROWS as ht,
35059
+ SELECT_COLUMN_ID as ht,
35057
35060
  DEFAULT_DECK_TRANSITION as i,
35058
- renderCellValue as it,
35059
- CommandInput as j,
35060
- useOverflowDetection as jt,
35061
- Command as k,
35062
- ChartLoadingState as kt,
35061
+ inferFieldTypes as it,
35062
+ CommandEmpty as j,
35063
+ LazyVegaEmbed as jt,
35064
+ ComboboxItem as k,
35065
+ ChartInfoState as kt,
35063
35066
  RadioGroup as l,
35064
- usePrevious as lt,
35067
+ useIntersectionObserver as lt,
35065
35068
  DataTable as m,
35066
- SELECT_COLUMN_ID as mt,
35069
+ INDEX_COLUMN_NAME as mt,
35067
35070
  marimoVersionAtom as n,
35068
- generateColumns as nt,
35071
+ NAMELESS_COLUMN_PREFIX as nt,
35069
35072
  SLIDE_TYPE_OPTIONS_BY_VALUE as o,
35070
- ColumnChartSpecModel as ot,
35073
+ ColumnChartContext as ot,
35071
35074
  OutputRenderer as p,
35072
- INDEX_COLUMN_NAME as pt,
35073
- Fill as q,
35074
- ChevronsRight as qt,
35075
+ loadTableData as pt,
35076
+ PanelResizeHandle as q,
35077
+ ChevronsUpDown as qt,
35075
35078
  showCodeInRunModeAtom as r,
35076
- inferFieldTypes as rt,
35079
+ generateColumns as rt,
35077
35080
  SlideSidebar as s,
35078
- DelayMount as st,
35081
+ ColumnChartSpecModel as st,
35079
35082
  useNotebookCodeAvailable as t,
35080
- NAMELESS_COLUMN_PREFIX as tt,
35083
+ TableRow as tt,
35081
35084
  RadioGroupItem as u,
35082
- getPageIndexForRow as ut,
35085
+ usePrevious as ut,
35083
35086
  downloadByURL as v,
35084
- isNullishFilter as vt,
35085
- useInternalStateWithSync as w,
35086
- TabsContent as wt,
35087
+ getMimeValues as vt,
35088
+ prettifyRowCount as w,
35089
+ Tabs as wt,
35087
35090
  Filenames as x,
35088
- dateToLocalISODateTime as xt,
35091
+ dateToLocalISODate as xt,
35089
35092
  downloadHTMLAsImage as y,
35090
- Maps as yt,
35091
- contextAwarePanelType as z,
35092
- GripHorizontal as zt
35093
+ isNullishFilter as yt,
35094
+ contextAwarePanelOwner as z,
35095
+ TextWrap as zt
35093
35096
  };