@marimo-team/islands 0.23.16-dev35 → 0.23.16-dev37

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/dist/{chat-ui-DuPGKU9z.js → chat-ui-BhycUrBk.js} +77 -77
  2. package/dist/{common-Dm9n25i1.js → common-B3EcjNx8.js} +701 -709
  3. package/dist/{html-to-image-Bza3T2dl.js → html-to-image-3w0AakWW.js} +5075 -5543
  4. package/dist/main.js +113 -113
  5. package/dist/{process-output-pCEXvnhG.js → process-output-YXcQTd1Y.js} +1 -1
  6. package/dist/{reveal-component-Db_uFCrL.js → reveal-component-OOb_vEEG.js} +11 -11
  7. package/package.json +2 -3
  8. package/src/components/editor/cell/code/__tests__/cell-editor-activity-lifecycle.test.ts +250 -0
  9. package/src/components/editor/cell/code/cell-editor.tsx +13 -7
  10. package/src/components/editor/chrome/panels/__tests__/logs-panel.test.tsx +25 -0
  11. package/src/components/editor/chrome/panels/logs-panel.tsx +12 -2
  12. package/src/core/cells/__tests__/cells.test.ts +12 -2
  13. package/src/core/cells/__tests__/logs.test.ts +5 -5
  14. package/src/core/cells/cells.ts +17 -4
  15. package/src/core/cells/document-changes.ts +1 -0
  16. package/src/core/cells/logs.ts +14 -4
  17. package/src/core/codemirror/copilot/__tests__/language-server.test.ts +396 -100
  18. package/src/core/codemirror/copilot/__tests__/transport.test.ts +128 -540
  19. package/src/core/codemirror/copilot/language-server.ts +182 -70
  20. package/src/core/codemirror/copilot/transport.ts +15 -207
  21. package/src/core/codemirror/copilot/types.ts +9 -2
  22. package/src/core/codemirror/language/languages/python.ts +23 -11
  23. package/src/core/codemirror/lsp/__tests__/federated-lsp.test.ts +161 -0
  24. package/src/core/codemirror/lsp/__tests__/log-messages.test.ts +53 -0
  25. package/src/core/codemirror/lsp/__tests__/normalize-markdown-math.test.ts +25 -0
  26. package/src/core/codemirror/lsp/__tests__/notebook-lsp.test.ts +598 -156
  27. package/src/core/codemirror/lsp/__tests__/transports.test.ts +112 -0
  28. package/src/core/codemirror/lsp/federated-lsp.ts +76 -23
  29. package/src/core/codemirror/lsp/log-messages.ts +37 -0
  30. package/src/core/codemirror/lsp/normalize-markdown-math.ts +8 -4
  31. package/src/core/codemirror/lsp/notebook-lsp.ts +220 -56
  32. package/src/core/codemirror/lsp/transports.ts +8 -1
  33. package/src/core/codemirror/lsp/types.ts +68 -8
  34. package/src/core/codemirror/lsp/utils.ts +14 -0
  35. package/src/core/lsp/__tests__/transport.test.ts +509 -337
  36. package/src/core/lsp/transport.ts +304 -132
  37. package/src/core/rtc/state.ts +9 -0
  38. package/src/css/app/codemirror.css +16 -2
  39. package/src/stories/log-viewer.stories.tsx +12 -6
@@ -6,7 +6,7 @@ import { _ as Functions, f as composeRefs, g as Logger, h as cn, m as Events, n
6
6
  import { t as require_react } from "./react-DA-nE2FX.js";
7
7
  import { t as require_compiler_runtime } from "./compiler-runtime-CEbnTgxf.js";
8
8
  import { n as Copy, r as toast, t as copyToClipboard } from "./copy-DNq8q3zw.js";
9
- import { An as Wrench, At as useChromeActions, B as isDataURLString, Bn as Eye, Bt as DATA_TYPE_ICON, C as Accordion, E as AccordionTrigger, Et as goToCellLine, Fn as Minus, H as renderHTML, In as LoaderCircle, J as getCellEditorView, Jn as import_lib, Kn as Braces, L as base64ToUint8Array, M as DotFilledIcon, Mt as jotaiJsonStorage, N as PinLeftIcon, P as PinRightIcon, Pn as NotebookPen, Pt as getFeatureFlag, Q as notebookAtom, Rn as Info, Rt as PluralWord, Sn as atomWithStorage, T as AccordionItem, Tn as Close$1, Tt as toggleBreakpoint, Vn as ExternalLink, Vt as getDataTypeColor, Wn as CircleX, Yt as useRequestClient, _ as getDatasourceContext, an as getTracebackInfo, bn as jsonToMarkdown, c as Popover, cn as filenameAtom, ct as AnsiUp, d as PopoverTrigger, fn as CellOutputId, ft as sanitizeHtml, ht as displayCellName, in as extractAllTracebackInfo, it as useCellNames, j as ChevronRightIcon, jn as Trash2, jt as adaptForLocalStorage, k as CheckIcon, l as PopoverClose, lt as outputIsLoading, m as useExpandedOutput, mn as SCRATCH_CELL_ID, mt as getCellDomProps, n as Spinner, nt as useCellActions, pn as HTMLCellId, pt as DATA_CELL_ID, qn as esm_default, qt as getRequestClient, r as MarkdownRenderer, rn as elementContainsMarimoCellFile, rt as useCellIds, t as toPng, u as PopoverContent, w as AccordionContent, yn as jsonParseWithSpecialChar, yt as Checkbox, z as extractBase64FromDataURL, zn as FileText, __tla as __tla_0 } from "./html-to-image-Bza3T2dl.js";
9
+ import { B as isDataURLString, Bn as Info, Bt as PluralWord, C as Accordion, Dn as Close$1, Dt as toggleBreakpoint, E as AccordionTrigger, H as renderHTML, Hn as Eye, Ht as DATA_TYPE_ICON, In as NotebookPen, It as getFeatureFlag, J as getCellEditorView, Jn as Braces, Kn as CircleX, L as base64ToUint8Array, Ln as Minus, M as DotFilledIcon, Mn as Wrench, Mt as useChromeActions, N as PinLeftIcon, Nn as Trash2, Nt as adaptForLocalStorage, Ot as goToCellLine, P as PinRightIcon, Pt as jotaiJsonStorage, Q as notebookAtom, Rn as LoaderCircle, Sn as jsonToMarkdown, St as isRecord, T as AccordionItem, Un as ExternalLink, Ut as getDataTypeColor, Vn as FileText, Xn as import_lib, Yn as esm_default, Yt as getRequestClient, Zt as useRequestClient, _ as getDatasourceContext, an as elementContainsMarimoCellFile, c as Popover, ct as AnsiUp, d as PopoverTrigger, ft as sanitizeHtml, gn as SCRATCH_CELL_ID, hn as HTMLCellId, ht as displayCellName, it as useCellNames, j as ChevronRightIcon, k as CheckIcon, l as PopoverClose, lt as outputIsLoading, m as useExpandedOutput, mn as CellOutputId, mt as getCellDomProps, n as Spinner, nt as useCellActions, on as extractAllTracebackInfo, pt as DATA_CELL_ID, r as MarkdownRenderer, rt as useCellIds, sn as getTracebackInfo, t as toPng, u as PopoverContent, un as filenameAtom, w as AccordionContent, wn as atomWithStorage, xn as jsonParseWithSpecialChar, yt as Checkbox, z as extractBase64FromDataURL, __tla as __tla_0 } from "./html-to-image-3w0AakWW.js";
10
10
  import { o as useSize, u as createLucideIcon } from "./dist-DIlxLFXG.js";
11
11
  import { c as Calendar, i as createReducerAndAtoms, r as Badge } from "./useLifecycle-CMJGqBaY.js";
12
12
  import { a as ListFilter, i as Table$1, n as $fb18d541ea1ad717$export$ad991b66133851cf, o as ChartPie, r as $5a387cc49350e6db$export$722debc0e56fea39, t as $896ba0a80a8f4d36$export$85fd5fdf27bacc79 } from "./useDateFormatter-Bt2qr_XS.js";
@@ -35,7 +35,7 @@ import { V as getContainerWidth, n as formats } from "./vega-loader.browser-Dmpx
35
35
  import { a as tooltipHandler, n as vegaLoadData, r as createBatchedLoader, t as parseCsvData } from "./loader-DX-IDS7n.js";
36
36
  import { t as useIframeCapabilities } from "./useIframeCapabilities-kA09ykNq.js";
37
37
  import { t as useAsyncData } from "./useAsyncData-CYOQb1EW.js";
38
- let CommandSeparator, Kbd, ErrorState, getPageIndexForRow, ContextMenuTrigger, dateToLocalISODate, downloadHTMLAsImage, inferFieldTypes, ColumnName, DelayMount, downloadSizeLimitAtom, ColumnChartSpecModel, getUserColumnVisibilityCounts, TOO_MANY_ROWS, DateRangePicker, TabsList, useSelectList, dateToLocalISOTime, ContextMenu, toFieldTypes, Command, ChartInfoState, Combobox, TabsTrigger, ContextMenuContent, getMimeValues, prettifyRowColumnCount, loadTableData, prettifyRowCount, INDEX_COLUMN_NAME, ColumnPreviewContainer, useIntersectionObserver, getColumnCountForDisplay, SELECT_COLUMN_ID, CommandList, RenderTextWithLinks, ContextMenuItem, isNullishFilter, downloadExportedFile, generateColumns, Filenames, ColumnChartContext, CompactChipRow, Tabs, useInternalStateWithSync, dateToLocalISODateTime, DatePicker, TabsContent, CommandInput, LazyVegaEmbed, CommandEmpty, ChartLoadingState, CommandItem, useOverflowDetection, DataTable, ChevronsLeft, TableCell, DEFAULT_DECK_TRANSITION, $fae977aafc393c5c$export$588937bcd60ade55, contextAwarePanelType, downloadBlob, ArrowDownWideNarrow, TableRow, SLIDE_TYPE_OPTIONS_BY_VALUE, GripHorizontal, slotsController, Switch, Expand, PanelGroup, HtmlOutput, smartMatch, RadioGroup, Ellipsis, PanelResizeHandle, OutputRenderer, ChevronsRight, TableBody, OutputArea, ChevronsUpDown, Table, showCodeInRunModeAtom, isRecord, contextAwarePanelOwner, LoadingState, loadTableAndRawData, EmptyState, usePrevious, SlideSidebar, Funnel, Toggle, JsonOutput, Code, Provider$1, useNotebookCodeAvailable, safeLocale, PANEL_TYPES, DEFAULT_DECK_VERTICAL_ALIGN, $fae977aafc393c5c$export$6b862160d295c8e, isCellAwareAtom, RadioGroupItem, Download, Fill, ComboboxItem, ChartErrorState, marimoVersionAtom, hasFunctionProperty, contextAwarePanelOpen, DEFAULT_SLIDE_TYPE, TextWrap, SlotNames, cellDomProps, EmotionCacheProvider, ContextAwarePanelItem, Slide, EyeOff, Panel, InstallPackageButton, ChevronsDownUp, TableHead, Progress, renderCellValue, downloadByURL, NAMELESS_COLUMN_PREFIX, ADD_PRINTING_CLASS, ChevronLeft, TableHeader, ContextMenuSeparator, Maps;
38
+ let CommandSeparator, Kbd, ErrorState, getPageIndexForRow, ContextMenuTrigger, dateToLocalISODate, downloadHTMLAsImage, inferFieldTypes, ColumnName, DelayMount, downloadSizeLimitAtom, ColumnChartSpecModel, getUserColumnVisibilityCounts, TOO_MANY_ROWS, DateRangePicker, TabsList, useSelectList, dateToLocalISOTime, ContextMenu, toFieldTypes, Command, ChartInfoState, Combobox, TabsTrigger, ContextMenuContent, getMimeValues, prettifyRowColumnCount, loadTableData, prettifyRowCount, INDEX_COLUMN_NAME, ColumnPreviewContainer, useIntersectionObserver, getColumnCountForDisplay, SELECT_COLUMN_ID, CommandList, RenderTextWithLinks, ContextMenuItem, isNullishFilter, downloadExportedFile, generateColumns, Filenames, ColumnChartContext, CompactChipRow, Tabs, useInternalStateWithSync, dateToLocalISODateTime, DatePicker, TabsContent, CommandInput, LazyVegaEmbed, CommandEmpty, ChartLoadingState, CommandItem, useOverflowDetection, DataTable, ChevronLeft, TableCell, DEFAULT_DECK_TRANSITION, TextWrap, contextAwarePanelType, downloadBlob, TableRow, SLIDE_TYPE_OPTIONS_BY_VALUE, EyeOff, slotsController, Switch, Download, PanelGroup, HtmlOutput, smartMatch, RadioGroup, Code, PanelResizeHandle, OutputRenderer, ChevronsDownUp, TableBody, OutputArea, ChevronsLeft, Table, showCodeInRunModeAtom, $fae977aafc393c5c$export$6b862160d295c8e, contextAwarePanelOwner, LoadingState, loadTableAndRawData, EmptyState, usePrevious, SlideSidebar, Expand, Toggle, JsonOutput, ChevronsRight, Provider$1, useNotebookCodeAvailable, safeLocale, PANEL_TYPES, DEFAULT_DECK_VERTICAL_ALIGN, GripHorizontal, isCellAwareAtom, RadioGroupItem, ChevronsUpDown, Fill, ComboboxItem, ChartErrorState, marimoVersionAtom, $fae977aafc393c5c$export$588937bcd60ade55, contextAwarePanelOpen, DEFAULT_SLIDE_TYPE, Funnel, SlotNames, cellDomProps, EmotionCacheProvider, ContextAwarePanelItem, Slide, Ellipsis, Panel, InstallPackageButton, ArrowDownWideNarrow, TableHead, Progress, renderCellValue, downloadByURL, NAMELESS_COLUMN_PREFIX, ADD_PRINTING_CLASS, TableHeader, ContextMenuSeparator, Maps;
39
39
  let __tla = Promise.all([
40
40
  (() => {
41
41
  try {
@@ -2061,21 +2061,21 @@ Defaulting to \`null\`.`;
2061
2061
  function $2f04cbc44ee30ce0$export$53a0910f038337bd(e, t, n = {}) {
2062
2062
  let { block: i = "nearest", inline: a = "nearest" } = n;
2063
2063
  if (e === t) return;
2064
- 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, pJ = c.top - E, mJ = c.bottom + O, hJ = c.left - A, gJ = c.right + M, _J = e === _ ? 0 : Q + $, vJ = e === _ ? 0 : q + J, yJ = e.offsetWidth - e.clientWidth - _J, bJ = e.offsetHeight - e.clientHeight - vJ, xJ = v + q + I, SJ = y - J - z - bJ, CJ = S + Q + U, wJ = w - $ - K;
2065
- h.direction === "rtl" && !$c87311424ea30a05$export$fedb369cb70207f1() ? CJ += yJ : wJ -= yJ;
2066
- let TJ = pJ < xJ || mJ > SJ, EJ = hJ < CJ || gJ > wJ;
2067
- if (TJ && i === "start") o += pJ - xJ;
2068
- else if (TJ && i === "center") o += (pJ + mJ) / 2 - (xJ + SJ) / 2;
2069
- else if (TJ && i === "end") o += mJ - SJ;
2070
- else if (TJ && i === "nearest") {
2071
- let e2 = pJ - xJ, t2 = mJ - SJ;
2064
+ 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, fJ = c.top - E, pJ = c.bottom + O, mJ = c.left - A, hJ = c.right + M, gJ = e === _ ? 0 : Q + $, _J = e === _ ? 0 : q + J, vJ = e.offsetWidth - e.clientWidth - gJ, yJ = e.offsetHeight - e.clientHeight - _J, bJ = v + q + I, xJ = y - J - z - yJ, SJ = S + Q + U, CJ = w - $ - K;
2065
+ h.direction === "rtl" && !$c87311424ea30a05$export$fedb369cb70207f1() ? SJ += vJ : CJ -= vJ;
2066
+ let wJ = fJ < bJ || pJ > xJ, TJ = mJ < SJ || hJ > CJ;
2067
+ if (wJ && i === "start") o += fJ - bJ;
2068
+ else if (wJ && i === "center") o += (fJ + pJ) / 2 - (bJ + xJ) / 2;
2069
+ else if (wJ && i === "end") o += pJ - xJ;
2070
+ else if (wJ && i === "nearest") {
2071
+ let e2 = fJ - bJ, t2 = pJ - xJ;
2072
2072
  o += Math.abs(e2) <= Math.abs(t2) ? e2 : t2;
2073
2073
  }
2074
- if (EJ && a === "start") s += hJ - CJ;
2075
- else if (EJ && a === "center") s += (hJ + gJ) / 2 - (CJ + wJ) / 2;
2076
- else if (EJ && a === "end") s += gJ - wJ;
2077
- else if (EJ && a === "nearest") {
2078
- let e2 = hJ - CJ, t2 = gJ - wJ;
2074
+ if (TJ && a === "start") s += mJ - SJ;
2075
+ else if (TJ && a === "center") s += (mJ + hJ) / 2 - (SJ + CJ) / 2;
2076
+ else if (TJ && a === "end") s += hJ - CJ;
2077
+ else if (TJ && a === "nearest") {
2078
+ let e2 = mJ - SJ, t2 = hJ - CJ;
2079
2079
  s += Math.abs(e2) <= Math.abs(t2) ? e2 : t2;
2080
2080
  }
2081
2081
  e.scrollTo({
@@ -5185,23 +5185,23 @@ Defaulting to \`null\`.`;
5185
5185
  }
5186
5186
  let $ = "bottom";
5187
5187
  A.axis === "top" ? A.placement === "top" ? $ = "top" : A.placement === "bottom" && ($ = "bottom") : A.crossAxis === "top" && (A.crossPlacement === "top" ? $ = "bottom" : A.crossPlacement === "bottom" && ($ = "top"));
5188
- let pJ = $edcf132a9284368a$var$getDelta(I, q[I], n[z], c, d, o, f);
5189
- q[I] += pJ;
5190
- let mJ = $edcf132a9284368a$var$getMaxHeight(q, c, f, v, a, o, n.height, $, d, E, O);
5191
- y && y < mJ && (mJ = y), n.height = Math.min(n.height, mJ), q = $edcf132a9284368a$var$computePosition(t, c, n, A, J, _, f, v, S, w, d), pJ = $edcf132a9284368a$var$getDelta(I, q[I], n[z], c, d, o, f), q[I] += pJ;
5192
- let hJ = {}, gJ = t[I] - q[I] - a[$edcf132a9284368a$var$AXIS[I]], _J = gJ + 0.5 * t[z], vJ = S / 2 + w, yJ = $edcf132a9284368a$var$AXIS[I] === "left" ? (a.left ?? 0) + (a.right ?? 0) : (a.top ?? 0) + (a.bottom ?? 0), bJ = n[z] - yJ - S / 2 - w;
5193
- hJ[I] = $9446cca9a3875146$export$7d15b64cf5a3a4c4($9446cca9a3875146$export$7d15b64cf5a3a4c4(_J, t[I] + S / 2 - (q[I] + a[$edcf132a9284368a$var$AXIS[I]]), t[I] + t[z] - S / 2 - (q[I] + a[$edcf132a9284368a$var$AXIS[I]])), vJ, bJ), { placement: U, crossPlacement: K } = A, S ? gJ = hJ[I] : K === "right" ? gJ += t[z] : K === "center" && (gJ += t[z] / 2);
5194
- let xJ = U === "left" || U === "top" ? n[M] : 0, SJ = {
5195
- x: U === "top" || U === "bottom" ? gJ : xJ,
5196
- y: U === "left" || U === "right" ? gJ : xJ
5188
+ let fJ = $edcf132a9284368a$var$getDelta(I, q[I], n[z], c, d, o, f);
5189
+ q[I] += fJ;
5190
+ let pJ = $edcf132a9284368a$var$getMaxHeight(q, c, f, v, a, o, n.height, $, d, E, O);
5191
+ y && y < pJ && (pJ = y), n.height = Math.min(n.height, pJ), q = $edcf132a9284368a$var$computePosition(t, c, n, A, J, _, f, v, S, w, d), fJ = $edcf132a9284368a$var$getDelta(I, q[I], n[z], c, d, o, f), q[I] += fJ;
5192
+ let mJ = {}, hJ = t[I] - q[I] - a[$edcf132a9284368a$var$AXIS[I]], gJ = hJ + 0.5 * t[z], _J = S / 2 + w, vJ = $edcf132a9284368a$var$AXIS[I] === "left" ? (a.left ?? 0) + (a.right ?? 0) : (a.top ?? 0) + (a.bottom ?? 0), yJ = n[z] - vJ - S / 2 - w;
5193
+ mJ[I] = $9446cca9a3875146$export$7d15b64cf5a3a4c4($9446cca9a3875146$export$7d15b64cf5a3a4c4(gJ, t[I] + S / 2 - (q[I] + a[$edcf132a9284368a$var$AXIS[I]]), t[I] + t[z] - S / 2 - (q[I] + a[$edcf132a9284368a$var$AXIS[I]])), _J, yJ), { placement: U, crossPlacement: K } = A, S ? hJ = mJ[I] : K === "right" ? hJ += t[z] : K === "center" && (hJ += t[z] / 2);
5194
+ let bJ = U === "left" || U === "top" ? n[M] : 0, xJ = {
5195
+ x: U === "top" || U === "bottom" ? hJ : bJ,
5196
+ y: U === "left" || U === "right" ? hJ : bJ
5197
5197
  };
5198
5198
  return {
5199
5199
  position: q,
5200
- maxHeight: mJ,
5201
- arrowOffsetLeft: hJ.left,
5202
- arrowOffsetTop: hJ.top,
5200
+ maxHeight: pJ,
5201
+ arrowOffsetLeft: mJ.left,
5202
+ arrowOffsetTop: mJ.top,
5203
5203
  placement: U,
5204
- triggerAnchorPoint: SJ
5204
+ triggerAnchorPoint: xJ
5205
5205
  };
5206
5206
  }
5207
5207
  function $edcf132a9284368a$export$b3ceb0cbf1056d98(e) {
@@ -7056,7 +7056,7 @@ Defaulting to \`null\`.`;
7056
7056
  n,
7057
7057
  h
7058
7058
  ]);
7059
- let pJ = $c87311424ea30a05$export$fedb369cb70207f1() || e.type === "timeZoneName" ? {
7059
+ let fJ = $c87311424ea30a05$export$fedb369cb70207f1() || e.type === "timeZoneName" ? {
7060
7060
  role: "textbox",
7061
7061
  "aria-valuemax": null,
7062
7062
  "aria-valuemin": null,
@@ -7066,8 +7066,8 @@ Defaulting to \`null\`.`;
7066
7066
  e !== (0, import_react.useMemo)(() => t.segments.find((e2) => e2.isEditable), [
7067
7067
  t.segments
7068
7068
  ]) && !t.isInvalid && (f = void 0);
7069
- let mJ = $bdb11010cef70236$export$f680877a34711e37(), hJ = !t.isDisabled && !t.isReadOnly && e.isEditable, gJ = e.type === "literal" ? "" : s.of(e.type), _J = $313b98861ee5dd6c$export$d6875122194c7b44({
7070
- "aria-label": `${gJ}${c ? `, ${c}` : ""}${d ? ", " : ""}`,
7069
+ let pJ = $bdb11010cef70236$export$f680877a34711e37(), mJ = !t.isDisabled && !t.isReadOnly && e.isEditable, hJ = e.type === "literal" ? "" : s.of(e.type), gJ = $313b98861ee5dd6c$export$d6875122194c7b44({
7070
+ "aria-label": `${hJ}${c ? `, ${c}` : ""}${d ? ", " : ""}`,
7071
7071
  "aria-labelledby": d
7072
7072
  });
7073
7073
  if (e.type === "literal") return {
@@ -7075,32 +7075,32 @@ Defaulting to \`null\`.`;
7075
7075
  "aria-hidden": true
7076
7076
  }
7077
7077
  };
7078
- let vJ = {
7078
+ let _J = {
7079
7079
  caretColor: "transparent"
7080
7080
  };
7081
7081
  if (o === "rtl") {
7082
- vJ.unicodeBidi = "embed";
7082
+ _J.unicodeBidi = "embed";
7083
7083
  let t2 = v[e.type];
7084
- (t2 === "numeric" || t2 === "2-digit") && (vJ.direction = "ltr");
7084
+ (t2 === "numeric" || t2 === "2-digit") && (_J.direction = "ltr");
7085
7085
  }
7086
7086
  return {
7087
- segmentProps: $3ef42575df84b30b$export$9d1611c77c2fe928(w, _J, {
7088
- id: mJ,
7089
- ...pJ,
7087
+ segmentProps: $3ef42575df84b30b$export$9d1611c77c2fe928(w, gJ, {
7088
+ id: pJ,
7089
+ ...fJ,
7090
7090
  "aria-invalid": t.isInvalid ? "true" : void 0,
7091
7091
  "aria-describedby": f,
7092
7092
  "aria-readonly": t.isReadOnly || !e.isEditable ? "true" : void 0,
7093
7093
  "data-placeholder": e.isPlaceholder || void 0,
7094
- contentEditable: hJ,
7095
- suppressContentEditableWarning: hJ,
7096
- spellCheck: hJ ? "false" : void 0,
7097
- autoCorrect: hJ ? "off" : void 0,
7098
- enterKeyHint: hJ ? "next" : void 0,
7099
- inputMode: t.isDisabled || e.type === "dayPeriod" || e.type === "era" || !hJ ? void 0 : "numeric",
7094
+ contentEditable: mJ,
7095
+ suppressContentEditableWarning: mJ,
7096
+ spellCheck: mJ ? "false" : void 0,
7097
+ autoCorrect: mJ ? "off" : void 0,
7098
+ enterKeyHint: mJ ? "next" : void 0,
7099
+ inputMode: t.isDisabled || e.type === "dayPeriod" || e.type === "era" || !mJ ? void 0 : "numeric",
7100
7100
  tabIndex: t.isDisabled ? void 0 : 0,
7101
7101
  onKeyDown: A,
7102
7102
  onFocus: Q,
7103
- style: vJ,
7103
+ style: _J,
7104
7104
  onPointerDown(e2) {
7105
7105
  e2.stopPropagation();
7106
7106
  },
@@ -10227,12 +10227,6 @@ Defaulting to \`null\`.`;
10227
10227
  function isMatch(e, t, n) {
10228
10228
  return isValid(parse$1(e, t, /* @__PURE__ */ new Date(), n));
10229
10229
  }
10230
- isRecord = function(e) {
10231
- return typeof e == "object" && !!e && !Array.isArray(e);
10232
- };
10233
- hasFunctionProperty = function(e, t) {
10234
- return typeof e[t] == "function";
10235
- };
10236
10230
  (0, import_react.createContext)(null), (0, import_react.createContext)(null), (0, import_react.createContext)(null), (0, import_react.createContext)(null), (0, import_react.createContext)(null);
10237
10231
  var $4e85f108e88277b8$export$d688439359537581 = (0, import_react.createContext)({});
10238
10232
  (0, import_react.createContext)(null), (0, import_react.createContext)(null);
@@ -10349,12 +10343,12 @@ Defaulting to \`null\`.`;
10349
10343
  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);
10350
10344
  }
10351
10345
  }
10352
- let pJ = (0, import_react.useMemo)(() => w ? f && f(w) ? true : $f62d864046160412$export$eac50920cf2fd59a(w, s, c) : false, [
10346
+ let fJ = (0, import_react.useMemo)(() => w ? f && f(w) ? true : $f62d864046160412$export$eac50920cf2fd59a(w, s, c) : false, [
10353
10347
  w,
10354
10348
  f,
10355
10349
  s,
10356
10350
  c
10357
- ]), mJ = e.isInvalid || e.validationState === "invalid" || pJ, hJ = mJ ? "invalid" : null, gJ = (0, import_react.useMemo)(() => h === "visible" ? o : $131cf43a05231e1e$var$unitDuration(o), [
10351
+ ]), pJ = e.isInvalid || e.validationState === "invalid" || fJ, mJ = pJ ? "invalid" : null, hJ = (0, import_react.useMemo)(() => h === "visible" ? o : $131cf43a05231e1e$var$unitDuration(o), [
10358
10352
  h,
10359
10353
  o
10360
10354
  ]);
@@ -10371,8 +10365,8 @@ Defaulting to \`null\`.`;
10371
10365
  maxValue: c,
10372
10366
  focusedDate: O,
10373
10367
  timeZone: E,
10374
- validationState: hJ,
10375
- isValueInvalid: mJ,
10368
+ validationState: mJ,
10369
+ isValueInvalid: pJ,
10376
10370
  setFocusedDate(e2) {
10377
10371
  Q(e2);
10378
10372
  },
@@ -10397,12 +10391,12 @@ Defaulting to \`null\`.`;
10397
10391
  }));
10398
10392
  },
10399
10393
  focusNextPage() {
10400
- let e2 = M.add(gJ);
10401
- A($f62d864046160412$export$4f5203c0d889109e(O.add(gJ), s, c)), I($f62d864046160412$export$144a00ba6044eb9($f62d864046160412$export$5bb865b12696a77d(O, e2, gJ, i, s, c), gJ, i));
10394
+ let e2 = M.add(hJ);
10395
+ A($f62d864046160412$export$4f5203c0d889109e(O.add(hJ), s, c)), I($f62d864046160412$export$144a00ba6044eb9($f62d864046160412$export$5bb865b12696a77d(O, e2, hJ, i, s, c), hJ, i));
10402
10396
  },
10403
10397
  focusPreviousPage() {
10404
- let e2 = M.subtract(gJ);
10405
- A($f62d864046160412$export$4f5203c0d889109e(O.subtract(gJ), s, c)), I($f62d864046160412$export$144a00ba6044eb9($f62d864046160412$export$5bb865b12696a77d(O, e2, gJ, i, s, c), gJ, i));
10398
+ let e2 = M.subtract(hJ);
10399
+ A($f62d864046160412$export$4f5203c0d889109e(O.subtract(hJ), s, c)), I($f62d864046160412$export$144a00ba6044eb9($f62d864046160412$export$5bb865b12696a77d(O, e2, hJ, i, s, c), hJ, i));
10406
10400
  },
10407
10401
  focusSectionStart() {
10408
10402
  o.days ? Q(M) : o.weeks ? Q($14e0f24ef4ac5c92$export$42c81a444fbfb5d4(O, i)) : (o.months || o.years) && Q($14e0f24ef4ac5c92$export$a5a3b454ada2268e(O));
@@ -10539,13 +10533,13 @@ Defaulting to \`null\`.`;
10539
10533
  end: $9a36b6ba2fb1a7c5$var$convertValue(e2.end, h == null ? void 0 : h.end)
10540
10534
  }), q(null);
10541
10535
  }
10542
- }, [$, pJ] = (0, import_react.useState)(false), { isDateUnavailable: mJ } = e, hJ = (0, import_react.useMemo)(() => !h || v ? false : mJ && (mJ(h.start) || mJ(h.end)) ? true : $f62d864046160412$export$eac50920cf2fd59a(h.start, c, d) || $f62d864046160412$export$eac50920cf2fd59a(h.end, c, d), [
10543
- mJ,
10536
+ }, [$, fJ] = (0, import_react.useState)(false), { isDateUnavailable: pJ } = e, mJ = (0, import_react.useMemo)(() => !h || v ? false : pJ && (pJ(h.start) || pJ(h.end)) ? true : $f62d864046160412$export$eac50920cf2fd59a(h.start, c, d) || $f62d864046160412$export$eac50920cf2fd59a(h.end, c, d), [
10537
+ pJ,
10544
10538
  h,
10545
10539
  v,
10546
10540
  c,
10547
10541
  d
10548
- ]), gJ = e.isInvalid || e.validationState === "invalid" || hJ, _J = gJ ? "invalid" : null;
10542
+ ]), hJ = e.isInvalid || e.validationState === "invalid" || mJ, gJ = hJ ? "invalid" : null;
10549
10543
  return {
10550
10544
  ...I,
10551
10545
  value: h,
@@ -10553,8 +10547,8 @@ Defaulting to \`null\`.`;
10553
10547
  anchorDate: v,
10554
10548
  setAnchorDate: q,
10555
10549
  highlightedRange: J,
10556
- validationState: _J,
10557
- isValueInvalid: gJ,
10550
+ validationState: gJ,
10551
+ isValueInvalid: hJ,
10558
10552
  selectFocusedDate() {
10559
10553
  Q(I.focusedDate);
10560
10554
  },
@@ -10570,7 +10564,7 @@ Defaulting to \`null\`.`;
10570
10564
  return I.isInvalid(e2) || $f62d864046160412$export$eac50920cf2fd59a(e2, (_a2 = w.current) == null ? void 0 : _a2.start, (_b = w.current) == null ? void 0 : _b.end);
10571
10565
  },
10572
10566
  isDragging: $,
10573
- setDragging: pJ
10567
+ setDragging: fJ
10574
10568
  };
10575
10569
  }
10576
10570
  function $9a36b6ba2fb1a7c5$var$makeRange(e, t) {
@@ -11757,7 +11751,7 @@ Defaulting to \`null\`.`;
11757
11751
  _,
11758
11752
  S,
11759
11753
  v
11760
- ]), pJ = (0, import_react.useMemo)(() => {
11754
+ ]), fJ = (0, import_react.useMemo)(() => {
11761
11755
  let t2 = w === "h11" || w === "h12", n2 = [
11762
11756
  "era",
11763
11757
  "year",
@@ -11775,15 +11769,15 @@ Defaulting to \`null\`.`;
11775
11769
  e.maxGranularity,
11776
11770
  _,
11777
11771
  w
11778
- ]), [mJ, hJ] = (0, import_react.useState)(M), [gJ, _J] = (0, import_react.useState)(S), [vJ, yJ] = (0, import_react.useState)(w);
11779
- (M !== mJ || w !== vJ || !$14e0f24ef4ac5c92$export$dbc69fd56b53d5e(S, gJ)) && (I = new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M), hJ(M), _J(S), yJ(w), z(I));
11780
- let bJ = (t2) => {
11781
- if (!(e.isDisabled || e.isReadOnly)) if (t2 == null || t2 instanceof $f863c03ccd9aead0$export$ae165b50d181e1ef && t2.isCleared(pJ)) z(new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M)), O(null);
11772
+ ]), [pJ, mJ] = (0, import_react.useState)(M), [hJ, gJ] = (0, import_react.useState)(S), [_J, vJ] = (0, import_react.useState)(w);
11773
+ (M !== pJ || w !== _J || !$14e0f24ef4ac5c92$export$dbc69fd56b53d5e(S, hJ)) && (I = new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M), mJ(M), gJ(S), vJ(w), z(I));
11774
+ let yJ = (t2) => {
11775
+ if (!(e.isDisabled || e.isReadOnly)) if (t2 == null || t2 instanceof $f863c03ccd9aead0$export$ae165b50d181e1ef && t2.isCleared(fJ)) z(new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M)), O(null);
11782
11776
  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);
11783
11777
  else {
11784
- if (t2.isComplete(pJ)) {
11778
+ if (t2.isComplete(fJ)) {
11785
11779
  let e2 = t2.toValue(M ?? $);
11786
- if (t2.validate(e2, pJ)) {
11780
+ if (t2.validate(e2, fJ)) {
11787
11781
  let t3 = $11d87f3f76e88657$export$b4a036af3fc0b032(e2, (h == null ? void 0 : h.calendar) || new $3b62074eb05584b2$export$80ee6245ec4f29ec());
11788
11782
  if (!E || t3.compare(E) !== 0) {
11789
11783
  z(new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M)), O(t3);
@@ -11793,83 +11787,83 @@ Defaulting to \`null\`.`;
11793
11787
  }
11794
11788
  z(t2);
11795
11789
  }
11796
- }, xJ = (0, import_react.useMemo)(() => I.toValue(M ?? $).toDate(y), [
11790
+ }, bJ = (0, import_react.useMemo)(() => I.toValue(M ?? $).toDate(y), [
11797
11791
  I,
11798
11792
  y,
11799
11793
  M,
11800
11794
  $
11801
- ]), SJ = (0, import_react.useMemo)(() => $3c0fc76039f1c516$var$processSegments(xJ, I, J, Q, S, t, _), [
11802
- xJ,
11795
+ ]), xJ = (0, import_react.useMemo)(() => $3c0fc76039f1c516$var$processSegments(bJ, I, J, Q, S, t, _), [
11796
+ bJ,
11803
11797
  J,
11804
11798
  Q,
11805
11799
  I,
11806
11800
  S,
11807
11801
  t,
11808
11802
  _
11809
- ]), CJ = (e2, t2) => {
11810
- bJ(I.cycle(e2, t2, $, pJ));
11811
- }, wJ = (0, import_react.useMemo)(() => $35a22f14a1f04b11$export$f18627323ab57ac0(E, c, d, f, K), [
11803
+ ]), SJ = (e2, t2) => {
11804
+ yJ(I.cycle(e2, t2, $, fJ));
11805
+ }, CJ = (0, import_react.useMemo)(() => $35a22f14a1f04b11$export$f18627323ab57ac0(E, c, d, f, K), [
11812
11806
  E,
11813
11807
  c,
11814
11808
  d,
11815
11809
  f,
11816
11810
  K
11817
- ]), TJ = $e5be200c675c3b3a$export$fc1a364ae1f3ff10({
11811
+ ]), wJ = $e5be200c675c3b3a$export$fc1a364ae1f3ff10({
11818
11812
  ...e,
11819
11813
  value: E,
11820
- builtinValidation: wJ
11821
- }), EJ = TJ.displayValidation.isInvalid, DJ = e.validationState || (EJ ? "invalid" : null);
11814
+ builtinValidation: CJ
11815
+ }), TJ = wJ.displayValidation.isInvalid, EJ = e.validationState || (TJ ? "invalid" : null);
11822
11816
  return {
11823
- ...TJ,
11817
+ ...wJ,
11824
11818
  value: M,
11825
11819
  defaultValue: e.defaultValue ?? A,
11826
- dateValue: xJ,
11820
+ dateValue: bJ,
11827
11821
  calendar: S,
11828
- setValue: bJ,
11829
- segments: SJ,
11822
+ setValue: yJ,
11823
+ segments: xJ,
11830
11824
  dateFormatter: J,
11831
- validationState: DJ,
11832
- isInvalid: EJ,
11825
+ validationState: EJ,
11826
+ isInvalid: TJ,
11833
11827
  granularity: _,
11834
11828
  maxGranularity: e.maxGranularity ?? "year",
11835
11829
  isDisabled: a,
11836
11830
  isReadOnly: o,
11837
11831
  isRequired: s,
11838
11832
  increment(e2) {
11839
- CJ(e2, 1);
11833
+ SJ(e2, 1);
11840
11834
  },
11841
11835
  decrement(e2) {
11842
- CJ(e2, -1);
11836
+ SJ(e2, -1);
11843
11837
  },
11844
11838
  incrementPage(e2) {
11845
- CJ(e2, $3c0fc76039f1c516$var$PAGE_STEP[e2] || 1);
11839
+ SJ(e2, $3c0fc76039f1c516$var$PAGE_STEP[e2] || 1);
11846
11840
  },
11847
11841
  decrementPage(e2) {
11848
- CJ(e2, -($3c0fc76039f1c516$var$PAGE_STEP[e2] || 1));
11842
+ SJ(e2, -($3c0fc76039f1c516$var$PAGE_STEP[e2] || 1));
11849
11843
  },
11850
11844
  incrementToMax(e2) {
11851
11845
  let t2 = e2 === "hour" && w === "h12" ? 11 : I.getSegmentLimits(e2).maxValue;
11852
- bJ(I.set(e2, t2, $));
11846
+ yJ(I.set(e2, t2, $));
11853
11847
  },
11854
11848
  decrementToMin(e2) {
11855
11849
  let t2 = e2 === "hour" && w === "h12" ? 12 : I.getSegmentLimits(e2).minValue;
11856
- bJ(I.set(e2, t2, $));
11850
+ yJ(I.set(e2, t2, $));
11857
11851
  },
11858
11852
  setSegment(e2, t2) {
11859
- bJ(I.set(e2, t2, $));
11853
+ yJ(I.set(e2, t2, $));
11860
11854
  },
11861
11855
  confirmPlaceholder() {
11862
- if (!(e.isDisabled || e.isReadOnly) && I.isComplete(pJ)) {
11856
+ if (!(e.isDisabled || e.isReadOnly) && I.isComplete(fJ)) {
11863
11857
  let e2 = $11d87f3f76e88657$export$b4a036af3fc0b032(I.toValue(M ?? $), (h == null ? void 0 : h.calendar) || new $3b62074eb05584b2$export$80ee6245ec4f29ec());
11864
11858
  (!E || e2.compare(E) !== 0) && O(e2), z(new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M));
11865
11859
  }
11866
11860
  },
11867
11861
  clearSegment(e2) {
11868
11862
  let t2 = I;
11869
- e2 !== "timeZoneName" && e2 !== "literal" && (t2 = I.clear(e2)), bJ(t2);
11863
+ e2 !== "timeZoneName" && e2 !== "literal" && (t2 = I.clear(e2)), yJ(t2);
11870
11864
  },
11871
11865
  formatValue(e2) {
11872
- return M ? new $fb18d541ea1ad717$export$ad991b66133851cf(t, $35a22f14a1f04b11$export$7e319ea407e63bc0(e2, K)).format(xJ) : "";
11866
+ return M ? new $fb18d541ea1ad717$export$ad991b66133851cf(t, $35a22f14a1f04b11$export$7e319ea407e63bc0(e2, K)).format(bJ) : "";
11873
11867
  },
11874
11868
  getDateFormatter(e2, t2) {
11875
11869
  return new $fb18d541ea1ad717$export$ad991b66133851cf(e2, $35a22f14a1f04b11$export$7e319ea407e63bc0({}, {
@@ -11989,7 +11983,7 @@ Defaulting to \`null\`.`;
11989
11983
  e.endName
11990
11984
  ]),
11991
11985
  builtinValidation: J
11992
- }), $ = Q.displayValidation.isInvalid, pJ = e.validationState || ($ ? "invalid" : null);
11986
+ }), $ = Q.displayValidation.isInvalid, fJ = e.validationState || ($ ? "invalid" : null);
11993
11987
  return {
11994
11988
  ...Q,
11995
11989
  value: c,
@@ -12035,7 +12029,7 @@ Defaulting to \`null\`.`;
12035
12029
  end: (w == null ? void 0 : w.end) || $35a22f14a1f04b11$export$c5221a78ef73c5e9(e.placeholderValue)
12036
12030
  }), t.setOpen(n2);
12037
12031
  },
12038
- validationState: pJ,
12032
+ validationState: fJ,
12039
12033
  isInvalid: $,
12040
12034
  formatValue(t2, n2) {
12041
12035
  if (!c || !c.start || !c.end) return null;
@@ -15929,33 +15923,33 @@ try {
15929
15923
  }, f = import_react.createContext(void 0), h = () => import_react.useContext(f) || d, _ = {}, v = {};
15930
15924
  function y(e2) {
15931
15925
  var _a2, _b, _c, _d;
15932
- 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, pJ = import_react.useMemo(() => h2 || (typeof n == "function" ? n() : n), [
15926
+ 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, fJ = import_react.useMemo(() => h2 || (typeof n == "function" ? n() : n), [
15933
15927
  h2
15934
- ]), mJ = pJ[t], hJ = mJ || pJ, { colorSchemes: gJ = _, components: _J = v, cssVarPrefix: vJ } = hJ, yJ = Object.keys(gJ).filter((e3) => !!gJ[e3]).join(","), bJ = import_react.useMemo(() => yJ.split(","), [
15935
- yJ
15936
- ]), xJ = typeof s == "string" ? s : s.light, SJ = typeof s == "string" ? s : s.dark, { mode: CJ, setMode: wJ, systemMode: TJ, lightColorScheme: EJ, darkColorScheme: DJ, colorScheme: OJ, setColorScheme: kJ } = useCurrentColorScheme({
15937
- supportedColorSchemes: bJ,
15938
- defaultLightColorScheme: xJ,
15939
- defaultDarkColorScheme: SJ,
15928
+ ]), pJ = fJ[t], mJ = pJ || fJ, { colorSchemes: hJ = _, components: gJ = v, cssVarPrefix: _J } = mJ, vJ = Object.keys(hJ).filter((e3) => !!hJ[e3]).join(","), yJ = import_react.useMemo(() => vJ.split(","), [
15929
+ vJ
15930
+ ]), bJ = typeof s == "string" ? s : s.light, xJ = typeof s == "string" ? s : s.dark, { mode: SJ, setMode: CJ, systemMode: wJ, lightColorScheme: TJ, darkColorScheme: EJ, colorScheme: DJ, setColorScheme: OJ } = useCurrentColorScheme({
15931
+ supportedColorSchemes: yJ,
15932
+ defaultLightColorScheme: bJ,
15933
+ defaultDarkColorScheme: xJ,
15940
15934
  modeStorageKey: y2,
15941
15935
  colorSchemeStorageKey: S2,
15942
- defaultMode: gJ[xJ] && gJ[SJ] ? U : ((_b = (_a2 = gJ[hJ.defaultColorScheme]) == null ? void 0 : _a2.palette) == null ? void 0 : _b.mode) || ((_c = hJ.palette) == null ? void 0 : _c.mode),
15936
+ defaultMode: hJ[bJ] && hJ[xJ] ? U : ((_b = (_a2 = hJ[mJ.defaultColorScheme]) == null ? void 0 : _a2.palette) == null ? void 0 : _b.mode) || ((_c = mJ.palette) == null ? void 0 : _c.mode),
15943
15937
  storageManager: E,
15944
15938
  storageWindow: O,
15945
15939
  noSsr: K
15946
- }), AJ = CJ, jJ = OJ;
15947
- $ && (AJ = Q.mode, jJ = Q.colorScheme);
15948
- let MJ = import_react.useMemo(() => {
15940
+ }), kJ = SJ, AJ = DJ;
15941
+ $ && (kJ = Q.mode, AJ = Q.colorScheme);
15942
+ let jJ = import_react.useMemo(() => {
15949
15943
  var _a3;
15950
- let e3 = jJ || hJ.defaultColorScheme, t2 = ((_a3 = hJ.generateThemeVars) == null ? void 0 : _a3.call(hJ)) || hJ.vars, n2 = {
15951
- ...hJ,
15952
- components: _J,
15953
- colorSchemes: gJ,
15954
- cssVarPrefix: vJ,
15944
+ let e3 = AJ || mJ.defaultColorScheme, t2 = ((_a3 = mJ.generateThemeVars) == null ? void 0 : _a3.call(mJ)) || mJ.vars, n2 = {
15945
+ ...mJ,
15946
+ components: gJ,
15947
+ colorSchemes: hJ,
15948
+ cssVarPrefix: _J,
15955
15949
  vars: t2
15956
15950
  };
15957
15951
  if (typeof n2.generateSpacing == "function" && (n2.spacing = n2.generateSpacing()), e3) {
15958
- let t3 = gJ[e3];
15952
+ let t3 = hJ[e3];
15959
15953
  t3 && typeof t3 == "object" && Object.keys(t3).forEach((e4) => {
15960
15954
  t3[e4] && typeof t3[e4] == "object" ? n2[e4] = {
15961
15955
  ...n2[e4],
@@ -15965,31 +15959,31 @@ try {
15965
15959
  }
15966
15960
  return c ? c(n2) : n2;
15967
15961
  }, [
15968
- hJ,
15969
- jJ,
15970
- _J,
15962
+ mJ,
15963
+ AJ,
15971
15964
  gJ,
15972
- vJ
15973
- ]), NJ = hJ.colorSchemeSelector;
15965
+ hJ,
15966
+ _J
15967
+ ]), MJ = mJ.colorSchemeSelector;
15974
15968
  useEnhancedEffect_default(() => {
15975
- if (jJ && M && NJ && NJ !== "media") {
15976
- let e3 = NJ, t2 = NJ;
15977
- 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(...bJ.map((e4) => t2.substring(1).replace("%s", e4))), M.classList.add(t2.substring(1).replace("%s", jJ));
15969
+ if (AJ && M && MJ && MJ !== "media") {
15970
+ let e3 = MJ, t2 = MJ;
15971
+ 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(...yJ.map((e4) => t2.substring(1).replace("%s", e4))), M.classList.add(t2.substring(1).replace("%s", AJ));
15978
15972
  else {
15979
- let e4 = t2.replace("%s", jJ).match(/\[([^\]]+)\]/);
15973
+ let e4 = t2.replace("%s", AJ).match(/\[([^\]]+)\]/);
15980
15974
  if (e4) {
15981
15975
  let [t3, n2] = e4[1].split("=");
15982
- n2 || bJ.forEach((e5) => {
15983
- M.removeAttribute(t3.replace(jJ, e5));
15976
+ n2 || yJ.forEach((e5) => {
15977
+ M.removeAttribute(t3.replace(AJ, e5));
15984
15978
  }), M.setAttribute(t3, n2 ? n2.replace(/"|'/g, "") : "");
15985
- } else M.setAttribute(t2, jJ);
15979
+ } else M.setAttribute(t2, AJ);
15986
15980
  }
15987
15981
  }
15988
15982
  }, [
15989
- jJ,
15990
- NJ,
15983
+ AJ,
15984
+ MJ,
15991
15985
  M,
15992
- bJ
15986
+ yJ
15993
15987
  ]), import_react.useEffect(() => {
15994
15988
  let e3;
15995
15989
  if (w2 && q.current && A) {
@@ -16002,48 +15996,48 @@ try {
16002
15996
  clearTimeout(e3);
16003
15997
  };
16004
15998
  }, [
16005
- jJ,
15999
+ AJ,
16006
16000
  w2,
16007
16001
  A
16008
16002
  ]), import_react.useEffect(() => (q.current = true, () => {
16009
16003
  q.current = false;
16010
16004
  }), []);
16011
- let PJ = import_react.useMemo(() => ({
16012
- allColorSchemes: bJ,
16013
- colorScheme: jJ,
16014
- darkColorScheme: DJ,
16015
- lightColorScheme: EJ,
16016
- mode: AJ,
16017
- setColorScheme: kJ,
16018
- setMode: wJ,
16019
- systemMode: TJ
16005
+ let NJ = import_react.useMemo(() => ({
16006
+ allColorSchemes: yJ,
16007
+ colorScheme: AJ,
16008
+ darkColorScheme: EJ,
16009
+ lightColorScheme: TJ,
16010
+ mode: kJ,
16011
+ setColorScheme: OJ,
16012
+ setMode: CJ,
16013
+ systemMode: wJ
16020
16014
  }), [
16021
- bJ,
16022
- jJ,
16023
- DJ,
16024
- EJ,
16015
+ yJ,
16025
16016
  AJ,
16017
+ EJ,
16018
+ TJ,
16026
16019
  kJ,
16020
+ OJ,
16021
+ CJ,
16027
16022
  wJ,
16028
- TJ,
16029
- MJ.colorSchemeSelector
16030
- ]), FJ = true;
16031
- (z || hJ.cssVariables === false || $ && (J == null ? void 0 : J.cssVarPrefix) === vJ) && (FJ = false);
16032
- let IJ = (0, import_jsx_runtime.jsxs)(import_react.Fragment, {
16023
+ jJ.colorSchemeSelector
16024
+ ]), PJ = true;
16025
+ (z || mJ.cssVariables === false || $ && (J == null ? void 0 : J.cssVarPrefix) === _J) && (PJ = false);
16026
+ let FJ = (0, import_jsx_runtime.jsxs)(import_react.Fragment, {
16033
16027
  children: [
16034
16028
  (0, import_jsx_runtime.jsx)(ThemeProvider_default, {
16035
- themeId: mJ ? t : void 0,
16036
- theme: MJ,
16029
+ themeId: pJ ? t : void 0,
16030
+ theme: jJ,
16037
16031
  children: d2
16038
16032
  }),
16039
- FJ && (0, import_jsx_runtime.jsx)(GlobalStyles$1, {
16040
- styles: ((_d = MJ.generateStyleSheets) == null ? void 0 : _d.call(MJ)) || []
16033
+ PJ && (0, import_jsx_runtime.jsx)(GlobalStyles$1, {
16034
+ styles: ((_d = jJ.generateStyleSheets) == null ? void 0 : _d.call(jJ)) || []
16041
16035
  })
16042
16036
  ]
16043
16037
  });
16044
- return $ ? IJ : (0, import_jsx_runtime.jsx)(f.Provider, {
16045
- value: PJ,
16046
- children: IJ
16038
+ return $ ? FJ : (0, import_jsx_runtime.jsx)(f.Provider, {
16039
+ value: NJ,
16040
+ children: FJ
16047
16041
  });
16048
16042
  }
16049
16043
  let S = typeof s == "string" ? s : s.light, w = typeof s == "string" ? s : s.dark;
@@ -17543,10 +17537,10 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
17543
17537
  let n = useDefaultProps({
17544
17538
  props: e,
17545
17539
  name: "MuiInputBase"
17546
- }), { "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: pJ, onKeyDown: mJ, onKeyUp: hJ, placeholder: gJ, readOnly: _J, renderSuffix: vJ, rows: yJ, size: bJ, slotProps: xJ = {}, slots: SJ = {}, startAdornment: CJ, type: wJ = "text", value: TJ, ...EJ } = n, DJ = A.value == null ? TJ : A.value, { current: OJ } = import_react.useRef(DJ != null), kJ = import_react.useRef(), AJ = import_react.useCallback((e2) => {
17547
- }, []), jJ = useForkRef_default(kJ, M, A.ref, AJ), [MJ, NJ] = import_react.useState(false), PJ = useFormControl(), FJ = formControlState({
17540
+ }), { "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: fJ, onKeyDown: pJ, onKeyUp: mJ, placeholder: hJ, readOnly: gJ, renderSuffix: _J, rows: vJ, size: yJ, slotProps: bJ = {}, slots: xJ = {}, startAdornment: SJ, type: CJ = "text", value: wJ, ...TJ } = n, EJ = A.value == null ? wJ : A.value, { current: DJ } = import_react.useRef(EJ != null), OJ = import_react.useRef(), kJ = import_react.useCallback((e2) => {
17541
+ }, []), AJ = useForkRef_default(OJ, M, A.ref, kJ), [jJ, MJ] = import_react.useState(false), NJ = useFormControl(), PJ = formControlState({
17548
17542
  props: n,
17549
- muiFormControl: PJ,
17543
+ muiFormControl: NJ,
17550
17544
  states: [
17551
17545
  "color",
17552
17546
  "disabled",
@@ -17557,145 +17551,145 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
17557
17551
  "filled"
17558
17552
  ]
17559
17553
  });
17560
- FJ.focused = PJ ? PJ.focused : MJ, import_react.useEffect(() => {
17561
- !PJ && _ && MJ && (NJ(false), J && J());
17554
+ PJ.focused = NJ ? NJ.focused : jJ, import_react.useEffect(() => {
17555
+ !NJ && _ && jJ && (MJ(false), J && J());
17562
17556
  }, [
17563
- PJ,
17557
+ NJ,
17564
17558
  _,
17565
- MJ,
17559
+ jJ,
17566
17560
  J
17567
17561
  ]);
17568
- let IJ = PJ && PJ.onFilled, LJ = PJ && PJ.onEmpty, RJ = import_react.useCallback((e2) => {
17569
- isFilled(e2) ? IJ && IJ() : LJ && LJ();
17562
+ let FJ = NJ && NJ.onFilled, IJ = NJ && NJ.onEmpty, LJ = import_react.useCallback((e2) => {
17563
+ isFilled(e2) ? FJ && FJ() : IJ && IJ();
17570
17564
  }, [
17571
- IJ,
17572
- LJ
17565
+ FJ,
17566
+ IJ
17573
17567
  ]);
17574
17568
  useEnhancedEffect_default$1(() => {
17575
- OJ && RJ({
17576
- value: DJ
17569
+ DJ && LJ({
17570
+ value: EJ
17577
17571
  });
17578
17572
  }, [
17579
- DJ,
17580
- RJ,
17581
- OJ
17573
+ EJ,
17574
+ LJ,
17575
+ DJ
17582
17576
  ]);
17583
- let zJ = (e2) => {
17584
- pJ && pJ(e2), A.onFocus && A.onFocus(e2), PJ && PJ.onFocus ? PJ.onFocus(e2) : NJ(true);
17585
- }, BJ = (e2) => {
17586
- J && J(e2), A.onBlur && A.onBlur(e2), PJ && PJ.onBlur ? PJ.onBlur(e2) : NJ(false);
17587
- }, VJ = (e2, ...t2) => {
17588
- if (!OJ) {
17589
- let t3 = e2.target || kJ.current;
17577
+ let RJ = (e2) => {
17578
+ fJ && fJ(e2), A.onFocus && A.onFocus(e2), NJ && NJ.onFocus ? NJ.onFocus(e2) : MJ(true);
17579
+ }, zJ = (e2) => {
17580
+ J && J(e2), A.onBlur && A.onBlur(e2), NJ && NJ.onBlur ? NJ.onBlur(e2) : MJ(false);
17581
+ }, BJ = (e2, ...t2) => {
17582
+ if (!DJ) {
17583
+ let t3 = e2.target || OJ.current;
17590
17584
  if (t3 == null) throw Error(formatMuiErrorMessage(1));
17591
- RJ({
17585
+ LJ({
17592
17586
  value: t3.value
17593
17587
  });
17594
17588
  }
17595
17589
  A.onChange && A.onChange(e2, ...t2), Q && Q(e2, ...t2);
17596
17590
  };
17597
17591
  import_react.useEffect(() => {
17598
- RJ(kJ.current);
17592
+ LJ(OJ.current);
17599
17593
  }, []);
17600
- let HJ = (e2) => {
17601
- kJ.current && e2.currentTarget === e2.target && kJ.current.focus(), $ && $(e2);
17602
- }, UJ = O, WJ = A;
17603
- K && UJ === "input" && (WJ = yJ ? {
17594
+ let VJ = (e2) => {
17595
+ OJ.current && e2.currentTarget === e2.target && OJ.current.focus(), $ && $(e2);
17596
+ }, HJ = O, UJ = A;
17597
+ K && HJ === "input" && (UJ = vJ ? {
17604
17598
  type: void 0,
17605
- minRows: yJ,
17606
- maxRows: yJ,
17607
- ...WJ
17599
+ minRows: vJ,
17600
+ maxRows: vJ,
17601
+ ...UJ
17608
17602
  } : {
17609
17603
  type: void 0,
17610
17604
  maxRows: z,
17611
17605
  minRows: U,
17612
- ...WJ
17613
- }, UJ = TextareaAutosize_default);
17614
- let GJ = (e2) => {
17615
- RJ(e2.animationName === "mui-auto-fill-cancel" ? kJ.current : {
17606
+ ...UJ
17607
+ }, HJ = TextareaAutosize_default);
17608
+ let WJ = (e2) => {
17609
+ LJ(e2.animationName === "mui-auto-fill-cancel" ? OJ.current : {
17616
17610
  value: "x"
17617
17611
  });
17618
17612
  };
17619
17613
  import_react.useEffect(() => {
17620
- PJ && PJ.setAdornedStart(!!CJ);
17614
+ NJ && NJ.setAdornedStart(!!SJ);
17621
17615
  }, [
17622
- PJ,
17623
- CJ
17616
+ NJ,
17617
+ SJ
17624
17618
  ]);
17625
- let KJ = {
17619
+ let GJ = {
17626
17620
  ...n,
17627
- color: FJ.color || "primary",
17628
- disabled: FJ.disabled,
17621
+ color: PJ.color || "primary",
17622
+ disabled: PJ.disabled,
17629
17623
  endAdornment: y,
17630
- error: FJ.error,
17631
- focused: FJ.focused,
17632
- formControl: PJ,
17624
+ error: PJ.error,
17625
+ focused: PJ.focused,
17626
+ formControl: NJ,
17633
17627
  fullWidth: w,
17634
- hiddenLabel: FJ.hiddenLabel,
17628
+ hiddenLabel: PJ.hiddenLabel,
17635
17629
  multiline: K,
17636
- size: FJ.size,
17637
- startAdornment: CJ,
17638
- type: wJ
17639
- }, qJ = useUtilityClasses(KJ), JJ = SJ.root || d.Root || InputBaseRoot, YJ = xJ.root || f.root || {}, XJ = SJ.input || d.Input || InputBaseInput;
17640
- return WJ = {
17641
- ...WJ,
17642
- ...xJ.input ?? f.input
17630
+ size: PJ.size,
17631
+ startAdornment: SJ,
17632
+ type: CJ
17633
+ }, KJ = useUtilityClasses(GJ), qJ = xJ.root || d.Root || InputBaseRoot, JJ = bJ.root || f.root || {}, YJ = xJ.input || d.Input || InputBaseInput;
17634
+ return UJ = {
17635
+ ...UJ,
17636
+ ...bJ.input ?? f.input
17643
17637
  }, (0, import_jsx_runtime.jsxs)(import_react.Fragment, {
17644
17638
  children: [
17645
17639
  !v && typeof InputGlobalStyles == "function" && (_InputGlobalStyles || (_InputGlobalStyles = (0, import_jsx_runtime.jsx)(InputGlobalStyles, {}))),
17646
- (0, import_jsx_runtime.jsxs)(JJ, {
17647
- ...YJ,
17640
+ (0, import_jsx_runtime.jsxs)(qJ, {
17641
+ ...JJ,
17648
17642
  ref: t,
17649
- onClick: HJ,
17650
- ...EJ,
17651
- ...!isHostComponent_default(JJ) && {
17643
+ onClick: VJ,
17644
+ ...TJ,
17645
+ ...!isHostComponent_default(qJ) && {
17652
17646
  ownerState: {
17653
- ...KJ,
17654
- ...YJ.ownerState
17647
+ ...GJ,
17648
+ ...JJ.ownerState
17655
17649
  }
17656
17650
  },
17657
- className: clsx_default(qJ.root, YJ.className, s, _J && "MuiInputBase-readOnly"),
17651
+ className: clsx_default(KJ.root, JJ.className, s, gJ && "MuiInputBase-readOnly"),
17658
17652
  children: [
17659
- CJ,
17653
+ SJ,
17660
17654
  (0, import_jsx_runtime.jsx)(FormControlContext_default.Provider, {
17661
17655
  value: null,
17662
- children: (0, import_jsx_runtime.jsx)(XJ, {
17663
- "aria-invalid": FJ.error,
17656
+ children: (0, import_jsx_runtime.jsx)(YJ, {
17657
+ "aria-invalid": PJ.error,
17664
17658
  "aria-describedby": i,
17665
17659
  autoComplete: a,
17666
17660
  autoFocus: o,
17667
17661
  defaultValue: h,
17668
- disabled: FJ.disabled,
17662
+ disabled: PJ.disabled,
17669
17663
  id: E,
17670
- onAnimationStart: GJ,
17664
+ onAnimationStart: WJ,
17671
17665
  name: q,
17672
- placeholder: gJ,
17673
- readOnly: _J,
17674
- required: FJ.required,
17675
- rows: yJ,
17676
- value: DJ,
17677
- onKeyDown: mJ,
17678
- onKeyUp: hJ,
17679
- type: wJ,
17680
- ...WJ,
17681
- ...!isHostComponent_default(XJ) && {
17682
- as: UJ,
17666
+ placeholder: hJ,
17667
+ readOnly: gJ,
17668
+ required: PJ.required,
17669
+ rows: vJ,
17670
+ value: EJ,
17671
+ onKeyDown: pJ,
17672
+ onKeyUp: mJ,
17673
+ type: CJ,
17674
+ ...UJ,
17675
+ ...!isHostComponent_default(YJ) && {
17676
+ as: HJ,
17683
17677
  ownerState: {
17684
- ...KJ,
17685
- ...WJ.ownerState
17678
+ ...GJ,
17679
+ ...UJ.ownerState
17686
17680
  }
17687
17681
  },
17688
- ref: jJ,
17689
- className: clsx_default(qJ.input, WJ.className, _J && "MuiInputBase-readOnly"),
17690
- onBlur: BJ,
17691
- onChange: VJ,
17692
- onFocus: zJ
17682
+ ref: AJ,
17683
+ className: clsx_default(KJ.input, UJ.className, gJ && "MuiInputBase-readOnly"),
17684
+ onBlur: zJ,
17685
+ onChange: BJ,
17686
+ onFocus: RJ
17693
17687
  })
17694
17688
  }),
17695
17689
  y,
17696
- vJ ? vJ({
17697
- ...FJ,
17698
- startAdornment: CJ
17690
+ _J ? _J({
17691
+ ...PJ,
17692
+ startAdornment: SJ
17699
17693
  }) : null
17700
17694
  ]
17701
17695
  })
@@ -18771,30 +18765,30 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18771
18765
  M,
18772
18766
  i,
18773
18767
  a
18774
- ]), 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), pJ = useTextColor(), mJ = useJsonViewerStore((e2) => e2.colorspace.base0C), hJ = useJsonViewerStore((e2) => e2.colorspace.base0A), gJ = useJsonViewerStore((e2) => e2.displayComma), _J = useJsonViewerStore((e2) => e2.quotesOnKeys), vJ = useJsonViewerStore((e2) => e2.rootName), yJ = U === t, bJ = Number.isInteger(Number(A)), xJ = useJsonViewerStore((e2) => e2.enableAdd), SJ = useJsonViewerStore((e2) => e2.onAdd), CJ = (0, import_react.useMemo)(() => !SJ || a !== void 0 || xJ === false || v === false ? false : typeof xJ == "function" ? !!xJ(i, t) : !!(Array.isArray(t) || isPlainObject(t)), [
18775
- SJ,
18768
+ ]), 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), fJ = useTextColor(), pJ = useJsonViewerStore((e2) => e2.colorspace.base0C), mJ = useJsonViewerStore((e2) => e2.colorspace.base0A), hJ = useJsonViewerStore((e2) => e2.displayComma), gJ = useJsonViewerStore((e2) => e2.quotesOnKeys), _J = useJsonViewerStore((e2) => e2.rootName), vJ = U === t, yJ = Number.isInteger(Number(A)), bJ = useJsonViewerStore((e2) => e2.enableAdd), xJ = useJsonViewerStore((e2) => e2.onAdd), SJ = (0, import_react.useMemo)(() => !xJ || a !== void 0 || bJ === false || v === false ? false : typeof bJ == "function" ? !!bJ(i, t) : !!(Array.isArray(t) || isPlainObject(t)), [
18769
+ xJ,
18776
18770
  a,
18777
18771
  i,
18778
- xJ,
18772
+ bJ,
18779
18773
  v,
18780
18774
  t
18781
- ]), wJ = useJsonViewerStore((e2) => e2.enableDelete), TJ = useJsonViewerStore((e2) => e2.onDelete), EJ = (0, import_react.useMemo)(() => !TJ || a !== void 0 || yJ || wJ === false || v === false ? false : typeof wJ == "function" ? !!wJ(i, t) : wJ, [
18782
- TJ,
18775
+ ]), CJ = useJsonViewerStore((e2) => e2.enableDelete), wJ = useJsonViewerStore((e2) => e2.onDelete), TJ = (0, import_react.useMemo)(() => !wJ || a !== void 0 || vJ || CJ === false || v === false ? false : typeof CJ == "function" ? !!CJ(i, t) : CJ, [
18776
+ wJ,
18783
18777
  a,
18784
- yJ,
18778
+ vJ,
18785
18779
  i,
18786
- wJ,
18780
+ CJ,
18787
18781
  v,
18788
18782
  t
18789
- ]), DJ = useJsonViewerStore((e2) => e2.enableClipboard), { copy: OJ, copied: kJ } = useClipboard(), AJ = useJsonViewerStore((e2) => e2.highlightUpdates), jJ = (0, import_react.useMemo)(() => !AJ || 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, [
18790
- AJ,
18783
+ ]), EJ = useJsonViewerStore((e2) => e2.enableClipboard), { copy: DJ, copied: OJ } = useClipboard(), kJ = useJsonViewerStore((e2) => e2.highlightUpdates), AJ = (0, import_react.useMemo)(() => !kJ || 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, [
18784
+ kJ,
18791
18785
  n,
18792
18786
  t
18793
- ]), MJ = (0, import_react.useRef)();
18787
+ ]), jJ = (0, import_react.useRef)();
18794
18788
  (0, import_react.useEffect)(() => {
18795
- MJ.current && jJ && "animate" in MJ.current && MJ.current.animate([
18789
+ jJ.current && AJ && "animate" in jJ.current && jJ.current.animate([
18796
18790
  {
18797
- backgroundColor: hJ
18791
+ backgroundColor: mJ
18798
18792
  },
18799
18793
  {
18800
18794
  backgroundColor: ""
@@ -18804,22 +18798,22 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18804
18798
  easing: "ease-in"
18805
18799
  });
18806
18800
  }, [
18807
- hJ,
18808
- jJ,
18801
+ mJ,
18802
+ AJ,
18809
18803
  n,
18810
18804
  t
18811
18805
  ]);
18812
- let NJ = (0, import_react.useCallback)((e2) => {
18806
+ let MJ = (0, import_react.useCallback)((e2) => {
18813
18807
  e2.preventDefault(), h && E(h(t)), Q(true);
18814
18808
  }, [
18815
18809
  h,
18816
18810
  t
18817
- ]), PJ = (0, import_react.useCallback)(() => {
18811
+ ]), NJ = (0, import_react.useCallback)(() => {
18818
18812
  Q(false), E("");
18819
18813
  }, [
18820
18814
  Q,
18821
18815
  E
18822
- ]), FJ = (0, import_react.useCallback)((e2) => {
18816
+ ]), PJ = (0, import_react.useCallback)((e2) => {
18823
18817
  if (Q(false), _) try {
18824
18818
  $(i, t, _(e2));
18825
18819
  } catch {
@@ -18830,14 +18824,14 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18830
18824
  $,
18831
18825
  i,
18832
18826
  t
18833
- ]), IJ = (0, import_react.useMemo)(() => J ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
18827
+ ]), FJ = (0, import_react.useMemo)(() => J ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
18834
18828
  children: [
18835
18829
  (0, import_jsx_runtime.jsx)(IconBox, {
18836
18830
  children: (0, import_jsx_runtime.jsx)(CloseIcon, {
18837
18831
  sx: {
18838
18832
  fontSize: ".8rem"
18839
18833
  },
18840
- onClick: PJ
18834
+ onClick: NJ
18841
18835
  })
18842
18836
  }),
18843
18837
  (0, import_jsx_runtime.jsx)(IconBox, {
@@ -18845,22 +18839,22 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18845
18839
  sx: {
18846
18840
  fontSize: ".8rem"
18847
18841
  },
18848
- onClick: () => FJ(w)
18842
+ onClick: () => PJ(w)
18849
18843
  })
18850
18844
  })
18851
18845
  ]
18852
18846
  }) : (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
18853
18847
  children: [
18854
- DJ && (0, import_jsx_runtime.jsx)(IconBox, {
18848
+ EJ && (0, import_jsx_runtime.jsx)(IconBox, {
18855
18849
  onClick: (e2) => {
18856
18850
  e2.preventDefault();
18857
18851
  try {
18858
- OJ(i, t, copyString);
18852
+ DJ(i, t, copyString);
18859
18853
  } catch (e3) {
18860
18854
  console.error(e3);
18861
18855
  }
18862
18856
  },
18863
- children: kJ ? (0, import_jsx_runtime.jsx)(CheckIcon$1, {
18857
+ children: OJ ? (0, import_jsx_runtime.jsx)(CheckIcon$1, {
18864
18858
  sx: {
18865
18859
  fontSize: ".8rem"
18866
18860
  }
@@ -18871,16 +18865,16 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18871
18865
  })
18872
18866
  }),
18873
18867
  f && S && h && _ && (0, import_jsx_runtime.jsx)(IconBox, {
18874
- onClick: NJ,
18868
+ onClick: MJ,
18875
18869
  children: (0, import_jsx_runtime.jsx)(EditIcon, {
18876
18870
  sx: {
18877
18871
  fontSize: ".8rem"
18878
18872
  }
18879
18873
  })
18880
18874
  }),
18881
- CJ && (0, import_jsx_runtime.jsx)(IconBox, {
18875
+ SJ && (0, import_jsx_runtime.jsx)(IconBox, {
18882
18876
  onClick: (e2) => {
18883
- e2.preventDefault(), SJ == null ? void 0 : SJ(i);
18877
+ e2.preventDefault(), xJ == null ? void 0 : xJ(i);
18884
18878
  },
18885
18879
  children: (0, import_jsx_runtime.jsx)(AddBoxIcon, {
18886
18880
  sx: {
@@ -18888,9 +18882,9 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18888
18882
  }
18889
18883
  })
18890
18884
  }),
18891
- EJ && (0, import_jsx_runtime.jsx)(IconBox, {
18885
+ TJ && (0, import_jsx_runtime.jsx)(IconBox, {
18892
18886
  onClick: (e2) => {
18893
- e2.preventDefault(), TJ == null ? void 0 : TJ(i, t);
18887
+ e2.preventDefault(), wJ == null ? void 0 : wJ(i, t);
18894
18888
  },
18895
18889
  children: (0, import_jsx_runtime.jsx)(DeleteIcon, {
18896
18890
  sx: {
@@ -18903,24 +18897,24 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18903
18897
  f,
18904
18898
  h,
18905
18899
  _,
18906
- kJ,
18907
18900
  OJ,
18901
+ DJ,
18908
18902
  S,
18909
18903
  J,
18910
- DJ,
18911
- CJ,
18912
18904
  EJ,
18905
+ SJ,
18906
+ TJ,
18913
18907
  w,
18914
18908
  i,
18915
18909
  t,
18916
- SJ,
18917
- TJ,
18910
+ xJ,
18911
+ wJ,
18912
+ MJ,
18918
18913
  NJ,
18919
- PJ,
18920
- FJ
18921
- ]), LJ = (0, import_react.useMemo)(() => getValueSize(t) === 0, [
18914
+ PJ
18915
+ ]), IJ = (0, import_react.useMemo)(() => getValueSize(t) === 0, [
18922
18916
  t
18923
- ]), RJ = !LJ && !!(c && d), zJ = useJsonViewerStore((e2) => e2.keyRenderer), BJ = (0, import_react.useMemo)(() => ({
18917
+ ]), LJ = !IJ && !!(c && d), RJ = useJsonViewerStore((e2) => e2.keyRenderer), zJ = (0, import_react.useMemo)(() => ({
18924
18918
  path: i,
18925
18919
  inspect: K,
18926
18920
  setInspect: q,
@@ -18952,18 +18946,18 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18952
18946
  className: "data-key",
18953
18947
  sx: {
18954
18948
  lineHeight: 1.5,
18955
- color: pJ,
18949
+ color: fJ,
18956
18950
  letterSpacing: 0.5,
18957
18951
  opacity: 0.8
18958
18952
  },
18959
18953
  onClick: (0, import_react.useCallback)((e2) => {
18960
- e2.isDefaultPrevented() || LJ || q((e3) => !e3);
18954
+ e2.isDefaultPrevented() || IJ || q((e3) => !e3);
18961
18955
  }, [
18962
- LJ,
18956
+ IJ,
18963
18957
  q
18964
18958
  ]),
18965
18959
  children: [
18966
- RJ ? K ? (0, import_jsx_runtime.jsx)(ExpandMoreIcon, {
18960
+ LJ ? K ? (0, import_jsx_runtime.jsx)(ExpandMoreIcon, {
18967
18961
  className: "data-key-toggle-expanded",
18968
18962
  sx: {
18969
18963
  fontSize: ".8rem",
@@ -18981,27 +18975,27 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18981
18975
  }
18982
18976
  }) : null,
18983
18977
  (0, import_jsx_runtime.jsx)(Box_default, {
18984
- ref: MJ,
18978
+ ref: jJ,
18985
18979
  className: "data-key-key",
18986
18980
  component: "span",
18987
- children: yJ && O === 0 ? vJ === false ? null : _J ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
18981
+ children: vJ && O === 0 ? _J === false ? null : gJ ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
18988
18982
  children: [
18989
18983
  '"',
18990
- vJ,
18984
+ _J,
18991
18985
  '"'
18992
18986
  ]
18993
18987
  }) : (0, import_jsx_runtime.jsx)(import_jsx_runtime.Fragment, {
18994
- children: vJ
18995
- }) : zJ.when(BJ) ? (0, import_jsx_runtime.jsx)(zJ, {
18996
- ...BJ
18997
- }) : a === void 0 && (bJ ? (0, import_jsx_runtime.jsx)(Box_default, {
18988
+ children: _J
18989
+ }) : RJ.when(zJ) ? (0, import_jsx_runtime.jsx)(RJ, {
18990
+ ...zJ
18991
+ }) : a === void 0 && (yJ ? (0, import_jsx_runtime.jsx)(Box_default, {
18998
18992
  component: "span",
18999
18993
  style: {
19000
- color: mJ,
19001
- userSelect: bJ ? "none" : "auto"
18994
+ color: pJ,
18995
+ userSelect: yJ ? "none" : "auto"
19002
18996
  },
19003
18997
  children: A
19004
- }) : _J ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
18998
+ }) : gJ ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
19005
18999
  children: [
19006
19000
  '"',
19007
19001
  A,
@@ -19011,7 +19005,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
19011
19005
  children: A
19012
19006
  }))
19013
19007
  }),
19014
- yJ ? vJ !== false && (0, import_jsx_runtime.jsx)(DataBox, {
19008
+ vJ ? _J !== false && (0, import_jsx_runtime.jsx)(DataBox, {
19015
19009
  className: "data-key-colon",
19016
19010
  sx: {
19017
19011
  mr: 0.5
@@ -19024,38 +19018,38 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
19024
19018
  ".data-key-key:empty + &": {
19025
19019
  display: "none"
19026
19020
  },
19027
- userSelect: bJ ? "none" : "auto"
19021
+ userSelect: yJ ? "none" : "auto"
19028
19022
  },
19029
19023
  children: ":"
19030
19024
  }),
19031
19025
  c && (0, import_jsx_runtime.jsx)(c, {
19032
- ...BJ
19026
+ ...zJ
19033
19027
  }),
19034
- I && RJ && K && IJ
19028
+ I && LJ && K && FJ
19035
19029
  ]
19036
19030
  }),
19037
19031
  J && S ? f && (0, import_jsx_runtime.jsx)(f, {
19038
19032
  path: i,
19039
19033
  value: w,
19040
19034
  setValue: E,
19041
- abortEditing: PJ,
19042
- commitEditing: FJ
19035
+ abortEditing: NJ,
19036
+ commitEditing: PJ
19043
19037
  }) : s ? (0, import_jsx_runtime.jsx)(s, {
19044
- ...BJ
19038
+ ...zJ
19045
19039
  }) : (0, import_jsx_runtime.jsx)(Box_default, {
19046
19040
  component: "span",
19047
19041
  className: "data-value-fallback",
19048
19042
  children: `fallback: ${t}`
19049
19043
  }),
19050
19044
  d && (0, import_jsx_runtime.jsx)(d, {
19051
- ...BJ
19045
+ ...zJ
19052
19046
  }),
19053
- !o && gJ && (0, import_jsx_runtime.jsx)(DataBox, {
19047
+ !o && hJ && (0, import_jsx_runtime.jsx)(DataBox, {
19054
19048
  children: ","
19055
19049
  }),
19056
- I && RJ && !K && IJ,
19057
- I && !RJ && IJ,
19058
- !I && J && IJ
19050
+ I && LJ && !K && FJ,
19051
+ I && !LJ && FJ,
19052
+ !I && J && FJ
19059
19053
  ]
19060
19054
  });
19061
19055
  }, query = "(prefers-color-scheme: dark)";
@@ -19572,20 +19566,20 @@ ${n}` : "Please fix this error.";
19572
19566
  }
19573
19567
  }), t2 == null ? void 0 : t2.focus();
19574
19568
  }, t[5] = i, t[6] = c, t[7] = S, t[8] = v, t[9] = s, t[10] = w) : w = t[10];
19575
- let O = w, A;
19576
- t[11] !== i || t[12] !== y ? (A = () => {
19569
+ let E = w, O;
19570
+ t[11] !== i || t[12] !== y ? (O = () => {
19577
19571
  y({
19578
19572
  prompt: buildFixInChatPrompt(i)
19579
19573
  });
19580
- }, t[11] = i, t[12] = y, t[13] = A) : A = t[13];
19581
- let M = A, I;
19582
- t[14] === a ? I = t[15] : (I = cn("my-2", a), t[14] = a, t[15] = I);
19583
- let z;
19584
- t[16] !== S.description || t[17] !== S.fixType || t[18] !== S.title || t[19] !== O || t[20] !== M ? (z = S.fixType === "ai" ? (0, import_jsx_runtime.jsx)(AIFixButton, {
19574
+ }, t[11] = i, t[12] = y, t[13] = O) : O = t[13];
19575
+ let A = O, M;
19576
+ t[14] === a ? M = t[15] : (M = cn("my-2", a), t[14] = a, t[15] = M);
19577
+ let I;
19578
+ t[16] !== S.description || t[17] !== S.fixType || t[18] !== S.title || t[19] !== E || t[20] !== A ? (I = S.fixType === "ai" ? (0, import_jsx_runtime.jsx)(AIFixButton, {
19585
19579
  tooltip: S.description,
19586
- openPrompt: () => O(false),
19587
- applyAutofix: () => O(true),
19588
- openChat: M
19580
+ openPrompt: () => E(false),
19581
+ applyAutofix: () => E(true),
19582
+ openChat: A
19589
19583
  }) : (0, import_jsx_runtime.jsx)(Tooltip, {
19590
19584
  content: S.description,
19591
19585
  align: "start",
@@ -19593,7 +19587,7 @@ ${n}` : "Please fix this error.";
19593
19587
  size: "xs",
19594
19588
  variant: "outline",
19595
19589
  className: "font-normal",
19596
- onClick: () => O(false),
19590
+ onClick: () => E(false),
19597
19591
  children: [
19598
19592
  (0, import_jsx_runtime.jsx)(Wrench, {
19599
19593
  className: "h-3 w-3 mr-2"
@@ -19601,12 +19595,12 @@ ${n}` : "Please fix this error.";
19601
19595
  S.title
19602
19596
  ]
19603
19597
  })
19604
- }), t[16] = S.description, t[17] = S.fixType, t[18] = S.title, t[19] = O, t[20] = M, t[21] = z) : z = t[21];
19605
- let U;
19606
- return t[22] !== I || t[23] !== z ? (U = (0, import_jsx_runtime.jsx)("div", {
19607
- className: I,
19608
- children: z
19609
- }), t[22] = I, t[23] = z, t[24] = U) : U = t[24], U;
19598
+ }), t[16] = S.description, t[17] = S.fixType, t[18] = S.title, t[19] = E, t[20] = A, t[21] = I) : I = t[21];
19599
+ let z;
19600
+ return t[22] !== M || t[23] !== I ? (z = (0, import_jsx_runtime.jsx)("div", {
19601
+ className: M,
19602
+ children: I
19603
+ }), t[22] = M, t[23] = I, t[24] = z) : z = t[24], z;
19610
19604
  };
19611
19605
  var MODE_CONFIG = {
19612
19606
  autofix: {
@@ -20143,18 +20137,18 @@ ${n}` : "Please fix this error.";
20143
20137
  }
20144
20138
  let y, S, w, E, A, M;
20145
20139
  if (t[2] !== f || t[3] !== i || t[4] !== s || t[5] !== a || t[6] !== n || t[7] !== c || t[8] !== v || t[9] !== _ || t[10] !== d) {
20146
- let e2 = n.filter(_temp8), O = n.filter(_temp9), I2 = n.filter(_temp0), z2 = n.filter(_temp1), U = n.filter(_temp10), K = n.filter(_temp11), q = n.filter(_temp12), J = n.filter(_temp13), Q = n.filter(_temp14), $ = n.filter(_temp15), pJ = n.filter(_temp16), mJ = n.filter(_temp17), hJ = n.filter(_temp18), gJ;
20147
- t[17] === s ? gJ = t[18] : (gJ = () => {
20140
+ let e2 = n.filter(_temp8), I2 = n.filter(_temp9), z2 = n.filter(_temp0), U = n.filter(_temp1), K = n.filter(_temp10), q = n.filter(_temp11), J = n.filter(_temp12), $ = n.filter(_temp13), fJ = n.filter(_temp14), pJ = n.filter(_temp15), mJ = n.filter(_temp16), hJ = n.filter(_temp17), gJ = n.filter(_temp18), _J;
20141
+ t[17] === s ? _J = t[18] : (_J = () => {
20148
20142
  s.openApplication("scratchpad");
20149
- }, t[17] = s, t[18] = gJ);
20150
- let _J = gJ, vJ = () => {
20143
+ }, t[17] = s, t[18] = _J);
20144
+ let vJ = _J, yJ = () => {
20151
20145
  let t2 = [];
20152
- if (pJ.length > 0 || mJ.length > 0) {
20153
- let e3 = pJ.some(_temp19), n2 = !e3 && pJ.some(_temp20);
20146
+ if (mJ.length > 0 || hJ.length > 0) {
20147
+ let e3 = mJ.some(_temp19), n2 = !e3 && mJ.some(_temp20);
20154
20148
  t2.push((0, import_jsx_runtime.jsxs)("div", {
20155
20149
  children: [
20156
- pJ.map(_temp21),
20157
- mJ.map(_temp22),
20150
+ mJ.map(_temp21),
20151
+ hJ.map(_temp22),
20158
20152
  e3 && (0, import_jsx_runtime.jsxs)(Button, {
20159
20153
  size: "xs",
20160
20154
  variant: "outline",
@@ -20185,8 +20179,8 @@ ${n}` : "Please fix this error.";
20185
20179
  }),
20186
20180
  i && (0, import_jsx_runtime.jsx)(AutoFixButton, {
20187
20181
  errors: [
20188
- ...pJ,
20189
- ...mJ
20182
+ ...mJ,
20183
+ ...hJ
20190
20184
  ],
20191
20185
  cellId: i
20192
20186
  })
@@ -20239,7 +20233,7 @@ ${n}` : "Please fix this error.";
20239
20233
  ]
20240
20234
  })
20241
20235
  ]
20242
- }, "setup-refs")), O.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("div", {
20236
+ }, "setup-refs")), I2.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("div", {
20243
20237
  children: [
20244
20238
  (0, import_jsx_runtime.jsx)("p", {
20245
20239
  className: "text-muted-foreground font-medium",
@@ -20247,10 +20241,10 @@ ${n}` : "Please fix this error.";
20247
20241
  }),
20248
20242
  (0, import_jsx_runtime.jsx)("ul", {
20249
20243
  className: "list-disc",
20250
- children: O.flatMap(_temp24)
20244
+ children: I2.flatMap(_temp24)
20251
20245
  }),
20252
20246
  i && (0, import_jsx_runtime.jsx)(AutoFixButton, {
20253
- errors: O,
20247
+ errors: I2,
20254
20248
  cellId: i
20255
20249
  }),
20256
20250
  (0, import_jsx_runtime.jsxs)(Tip, {
@@ -20285,17 +20279,17 @@ ${n}` : "Please fix this error.";
20285
20279
  ]
20286
20280
  })
20287
20281
  ]
20288
- }, "cycle")), I2.length > 0) {
20289
- let e3 = I2[0].name;
20282
+ }, "cycle")), z2.length > 0) {
20283
+ let e3 = z2[0].name;
20290
20284
  t2.push((0, import_jsx_runtime.jsxs)("div", {
20291
20285
  children: [
20292
20286
  (0, import_jsx_runtime.jsx)("p", {
20293
20287
  className: "text-muted-foreground font-medium",
20294
20288
  children: "This cell redefines variables from other cells."
20295
20289
  }),
20296
- I2.map(_temp26),
20290
+ z2.map(_temp26),
20297
20291
  i && (0, import_jsx_runtime.jsx)(AutoFixButton, {
20298
- errors: I2,
20292
+ errors: z2,
20299
20293
  cellId: i
20300
20294
  }),
20301
20295
  (0, import_jsx_runtime.jsxs)(Tip, {
@@ -20347,7 +20341,7 @@ ${n}` : "Please fix this error.";
20347
20341
  size: "xs",
20348
20342
  variant: "link",
20349
20343
  className: "my-2 font-normal mx-0 px-0",
20350
- onClick: _J,
20344
+ onClick: vJ,
20351
20345
  children: [
20352
20346
  (0, import_jsx_runtime.jsx)(NotebookPen, {
20353
20347
  className: "h-3"
@@ -20366,11 +20360,11 @@ ${n}` : "Please fix this error.";
20366
20360
  ]
20367
20361
  }, "multiple-defs"));
20368
20362
  }
20369
- return z2.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("div", {
20363
+ return U.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("div", {
20370
20364
  children: [
20371
- z2.map(_temp27),
20365
+ U.map(_temp27),
20372
20366
  i && (0, import_jsx_runtime.jsx)(AutoFixButton, {
20373
- errors: z2,
20367
+ errors: U,
20374
20368
  cellId: i
20375
20369
  }),
20376
20370
  (0, import_jsx_runtime.jsxs)(Tip, {
@@ -20408,17 +20402,17 @@ ${n}` : "Please fix this error.";
20408
20402
  ]
20409
20403
  })
20410
20404
  ]
20411
- }, "import-star")), U.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("div", {
20405
+ }, "import-star")), K.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("div", {
20412
20406
  children: [
20413
- U.map(_temp28),
20407
+ K.map(_temp28),
20414
20408
  i && (0, import_jsx_runtime.jsx)(AutoFixButton, {
20415
- errors: U,
20409
+ errors: K,
20416
20410
  cellId: i
20417
20411
  })
20418
20412
  ]
20419
- }, "interruption")), K.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("ul", {
20413
+ }, "interruption")), q.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("ul", {
20420
20414
  children: [
20421
- K.map((e3, t3) => e3.exception_type === "NameError" && e3.msg.startsWith("name 'mo'") ? (0, import_jsx_runtime.jsx)("li", {
20415
+ q.map((e3, t3) => e3.exception_type === "NameError" && e3.msg.startsWith("name 'mo'") ? (0, import_jsx_runtime.jsx)("li", {
20422
20416
  className: "my-2",
20423
20417
  children: (0, import_jsx_runtime.jsxs)("div", {
20424
20418
  children: [
@@ -20503,61 +20497,61 @@ ${n}` : "Please fix this error.";
20503
20497
  ]
20504
20498
  })
20505
20499
  }, `exception-${t3}`)),
20506
- K.some(_temp29) && (0, import_jsx_runtime.jsx)(Tip, {
20500
+ q.some(_temp29) && (0, import_jsx_runtime.jsx)(Tip, {
20507
20501
  children: "Fix the error in the mentioned cells, or handle the exceptions with try/except blocks."
20508
20502
  }),
20509
20503
  i && (0, import_jsx_runtime.jsx)(AutoFixButton, {
20510
- errors: K,
20504
+ errors: q,
20511
20505
  cellId: i
20512
20506
  })
20513
20507
  ]
20514
- }, "exception")), q.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("ul", {
20508
+ }, "exception")), J.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("ul", {
20515
20509
  children: [
20516
- q.map(_temp30),
20510
+ J.map(_temp30),
20517
20511
  i && (0, import_jsx_runtime.jsx)(AutoFixButton, {
20518
- errors: q,
20512
+ errors: J,
20519
20513
  cellId: i
20520
20514
  }),
20521
20515
  (0, import_jsx_runtime.jsx)(Tip, {
20522
- children: q.some(_temp31) ? "Ensure that the referenced cells define the required variables, or turn off strict execution." : "Something is wrong with your declarations. Fix any discrepancies, or turn off strict execution."
20516
+ children: J.some(_temp31) ? "Ensure that the referenced cells define the required variables, or turn off strict execution." : "Something is wrong with your declarations. Fix any discrepancies, or turn off strict execution."
20523
20517
  })
20524
20518
  ]
20525
- }, "strict-exception")), J.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("div", {
20519
+ }, "strict-exception")), $.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("div", {
20526
20520
  children: [
20527
- J.map(_temp32),
20521
+ $.map(_temp32),
20528
20522
  i && (0, import_jsx_runtime.jsx)(AutoFixButton, {
20529
- errors: J,
20523
+ errors: $,
20530
20524
  cellId: i
20531
20525
  })
20532
20526
  ]
20533
- }, "internal")), Q.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("div", {
20527
+ }, "internal")), fJ.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("div", {
20534
20528
  children: [
20535
- Q.map(_temp33),
20529
+ fJ.map(_temp33),
20536
20530
  i && (0, import_jsx_runtime.jsx)(AutoFixButton, {
20537
- errors: Q,
20531
+ errors: fJ,
20538
20532
  cellId: i
20539
20533
  })
20540
20534
  ]
20541
- }, "ancestor-prevented")), $.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("div", {
20535
+ }, "ancestor-prevented")), pJ.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("div", {
20542
20536
  children: [
20543
- $.map(_temp34),
20537
+ pJ.map(_temp34),
20544
20538
  i && (0, import_jsx_runtime.jsx)(AutoFixButton, {
20545
- errors: $,
20539
+ errors: pJ,
20546
20540
  cellId: i
20547
20541
  })
20548
20542
  ]
20549
- }, "ancestor-stopped")), hJ.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("div", {
20543
+ }, "ancestor-stopped")), gJ.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("div", {
20550
20544
  children: [
20551
- hJ.map(_temp35),
20545
+ gJ.map(_temp35),
20552
20546
  i && (0, import_jsx_runtime.jsx)(AutoFixButton, {
20553
- errors: hJ,
20547
+ errors: gJ,
20554
20548
  cellId: i,
20555
20549
  className: "mt-2.5"
20556
20550
  })
20557
20551
  ]
20558
20552
  }, "sql-errors")), t2;
20559
- }, yJ;
20560
- t[19] === v ? yJ = t[20] : (yJ = v && (0, import_jsx_runtime.jsxs)("div", {
20553
+ }, bJ;
20554
+ t[19] === v ? bJ = t[20] : (bJ = v && (0, import_jsx_runtime.jsxs)("div", {
20561
20555
  className: "flex items-center gap-1 font-code text-[0.6875rem] uppercase tracking-wider text-muted-foreground/70",
20562
20556
  children: [
20563
20557
  v,
@@ -20569,22 +20563,22 @@ ${n}` : "Please fix this error.";
20569
20563
  })
20570
20564
  })
20571
20565
  ]
20572
- }), t[19] = v, t[20] = yJ);
20566
+ }), t[19] = v, t[20] = bJ);
20573
20567
  let xJ;
20574
20568
  t[21] !== _ || t[22] !== d ? (xJ = d && (0, import_jsx_runtime.jsx)(AlertTitle, {
20575
20569
  className: `font-code font-medium ${_}`,
20576
20570
  children: d
20577
20571
  }), t[21] = _, t[22] = d, t[23] = xJ) : xJ = t[23];
20578
20572
  let SJ;
20579
- t[24] !== yJ || t[25] !== xJ ? (SJ = (0, import_jsx_runtime.jsxs)("div", {
20573
+ t[24] !== bJ || t[25] !== xJ ? (SJ = (0, import_jsx_runtime.jsxs)("div", {
20580
20574
  className: "space-y-0.5",
20581
20575
  children: [
20582
- yJ,
20576
+ bJ,
20583
20577
  xJ
20584
20578
  ]
20585
- }), t[24] = yJ, t[25] = xJ, t[26] = SJ) : SJ = t[26];
20586
- let wJ = SJ;
20587
- y = Alert, E = f, t[27] === a ? A = t[28] : (A = cn("border-none font-code text-sm text-[0.84375rem] p-0 text-muted-foreground normal has-[svg]:pl-0 space-y-2", a), t[27] = a, t[28] = A), M = wJ, S = "flex flex-col gap-4", w = vJ(), t[2] = f, t[3] = i, t[4] = s, t[5] = a, t[6] = n, t[7] = c, t[8] = v, t[9] = _, t[10] = d, t[11] = y, t[12] = S, t[13] = w, t[14] = E, t[15] = A, t[16] = M;
20579
+ }), t[24] = bJ, t[25] = xJ, t[26] = SJ) : SJ = t[26];
20580
+ let CJ = SJ;
20581
+ y = Alert, E = f, t[27] === a ? A = t[28] : (A = cn("border-none font-code text-sm text-[0.84375rem] p-0 text-muted-foreground normal has-[svg]:pl-0 space-y-2", a), t[27] = a, t[28] = A), M = CJ, S = "flex flex-col gap-4", w = yJ(), t[2] = f, t[3] = i, t[4] = s, t[5] = a, t[6] = n, t[7] = c, t[8] = v, t[9] = _, t[10] = d, t[11] = y, t[12] = S, t[13] = w, t[14] = E, t[15] = A, t[16] = M;
20588
20582
  } else y = t[11], S = t[12], w = t[13], E = t[14], A = t[15], M = t[16];
20589
20583
  let I;
20590
20584
  t[29] !== S || t[30] !== w ? (I = (0, import_jsx_runtime.jsx)("div", {
@@ -26660,7 +26654,7 @@ ${n}` : "Please fix this error.";
26660
26654
  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 }) {
26661
26655
  let E = (0, import_react.useContext)(PanelGroupContext);
26662
26656
  if (E === null) throw Error("Panel components must be rendered within a PanelGroup container");
26663
- let { collapsePanel: O, expandPanel: A, getPanelSize: M, getPanelStyle: I, groupId: z, isPanelCollapsed: U, reevaluatePanelConstraints: K, registerPanel: q, resizePanel: J, unregisterPanel: Q } = E, $ = useUniqueId(s), pJ = (0, import_react.useRef)({
26657
+ let { collapsePanel: O, expandPanel: A, getPanelSize: M, getPanelStyle: I, groupId: z, isPanelCollapsed: U, reevaluatePanelConstraints: K, registerPanel: q, resizePanel: J, unregisterPanel: Q } = E, $ = useUniqueId(s), fJ = (0, import_react.useRef)({
26664
26658
  callbacks: {
26665
26659
  onCollapse: f,
26666
26660
  onExpand: h,
@@ -26680,12 +26674,12 @@ ${n}` : "Please fix this error.";
26680
26674
  (0, import_react.useRef)({
26681
26675
  didLogMissingDefaultSizeWarning: false
26682
26676
  }), useIsomorphicLayoutEffect$1(() => {
26683
- let { callbacks: e2, constraints: t2 } = pJ.current, o2 = {
26677
+ let { callbacks: e2, constraints: t2 } = fJ.current, o2 = {
26684
26678
  ...t2
26685
26679
  };
26686
- pJ.current.id = $, pJ.current.idIsFromProps = s !== void 0, pJ.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(pJ.current, o2);
26680
+ fJ.current.id = $, fJ.current.idIsFromProps = s !== void 0, fJ.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(fJ.current, o2);
26687
26681
  }), useIsomorphicLayoutEffect$1(() => {
26688
- let e2 = pJ.current;
26682
+ let e2 = fJ.current;
26689
26683
  return q(e2), () => {
26690
26684
  Q(e2);
26691
26685
  };
@@ -26696,25 +26690,25 @@ ${n}` : "Please fix this error.";
26696
26690
  Q
26697
26691
  ]), (0, import_react.useImperativeHandle)(o, () => ({
26698
26692
  collapse: () => {
26699
- O(pJ.current);
26693
+ O(fJ.current);
26700
26694
  },
26701
26695
  expand: (e2) => {
26702
- A(pJ.current, e2);
26696
+ A(fJ.current, e2);
26703
26697
  },
26704
26698
  getId() {
26705
26699
  return $;
26706
26700
  },
26707
26701
  getSize() {
26708
- return M(pJ.current);
26702
+ return M(fJ.current);
26709
26703
  },
26710
26704
  isCollapsed() {
26711
- return U(pJ.current);
26705
+ return U(fJ.current);
26712
26706
  },
26713
26707
  isExpanded() {
26714
- return !U(pJ.current);
26708
+ return !U(fJ.current);
26715
26709
  },
26716
26710
  resize: (e2) => {
26717
- J(pJ.current, e2);
26711
+ J(fJ.current, e2);
26718
26712
  }
26719
26713
  }), [
26720
26714
  O,
@@ -26724,21 +26718,21 @@ ${n}` : "Please fix this error.";
26724
26718
  $,
26725
26719
  J
26726
26720
  ]);
26727
- let mJ = I(pJ.current, a);
26721
+ let pJ = I(fJ.current, a);
26728
26722
  return (0, import_react.createElement)(S, {
26729
26723
  ...w,
26730
26724
  children: e,
26731
26725
  className: t,
26732
26726
  id: $,
26733
26727
  style: {
26734
- ...mJ,
26728
+ ...pJ,
26735
26729
  ...y
26736
26730
  },
26737
26731
  [DATA_ATTRIBUTES.groupId]: z,
26738
26732
  [DATA_ATTRIBUTES.panel]: "",
26739
26733
  [DATA_ATTRIBUTES.panelCollapsible]: i || void 0,
26740
26734
  [DATA_ATTRIBUTES.panelId]: $,
26741
- [DATA_ATTRIBUTES.panelSize]: parseFloat("" + mJ.flexGrow).toFixed(1)
26735
+ [DATA_ATTRIBUTES.panelSize]: parseFloat("" + pJ.flexGrow).toFixed(1)
26742
26736
  });
26743
26737
  }
26744
26738
  Panel = (0, import_react.forwardRef)((e, t) => (0, import_react.createElement)(PanelWithForwardedRef, {
@@ -27523,13 +27517,13 @@ ${n}` : "Please fix this error.";
27523
27517
  }, [
27524
27518
  S,
27525
27519
  E
27526
- ]), pJ = (0, import_react.useCallback)((e2) => {
27520
+ ]), fJ = (0, import_react.useCallback)((e2) => {
27527
27521
  let { layout: t2, panelDataArray: n2 } = K.current, { collapsedSize: i2 = 0, collapsible: a2, panelSize: o2 } = panelDataHelper(n2, e2, t2);
27528
27522
  return assert(o2 != null, `Panel size not found for panel "${e2.id}"`), a2 === true && fuzzyNumbersEqual$1(o2, i2);
27529
- }, []), mJ = (0, import_react.useCallback)((e2) => {
27523
+ }, []), pJ = (0, import_react.useCallback)((e2) => {
27530
27524
  let { layout: t2, panelDataArray: n2 } = K.current, { collapsedSize: i2 = 0, collapsible: a2, panelSize: o2 } = panelDataHelper(n2, e2, t2);
27531
27525
  return assert(o2 != null, `Panel size not found for panel "${e2.id}"`), !a2 || fuzzyCompareNumbers(o2, i2) > 0;
27532
- }, []), hJ = (0, import_react.useCallback)((e2) => {
27526
+ }, []), mJ = (0, import_react.useCallback)((e2) => {
27533
27527
  let { panelDataArray: t2 } = K.current;
27534
27528
  t2.push(e2), t2.sort((e3, t3) => {
27535
27529
  let n2 = e3.order, i2 = t3.order;
@@ -27561,7 +27555,7 @@ ${n}` : "Please fix this error.";
27561
27555
  e2.layout = [];
27562
27556
  };
27563
27557
  }, []);
27564
- let gJ = (0, import_react.useCallback)((e2) => {
27558
+ let hJ = (0, import_react.useCallback)((e2) => {
27565
27559
  let t2 = false, n2 = y.current;
27566
27560
  return n2 && window.getComputedStyle(n2, null).getPropertyValue("direction") === "rtl" && (t2 = true), function(n3) {
27567
27561
  n3.preventDefault();
@@ -27579,7 +27573,7 @@ ${n}` : "Please fix this error.";
27579
27573
  }), I2 = !compareLayouts(f2, A2);
27580
27574
  (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));
27581
27575
  };
27582
- }, []), _J = (0, import_react.useCallback)((e2, t2) => {
27576
+ }, []), gJ = (0, import_react.useCallback)((e2, t2) => {
27583
27577
  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);
27584
27578
  assert(s2 != null, `Panel size not found for panel "${e2.id}"`);
27585
27579
  let d2 = adjustLayoutByDelta({
@@ -27591,12 +27585,12 @@ ${n}` : "Please fix this error.";
27591
27585
  trigger: "imperative-api"
27592
27586
  });
27593
27587
  compareLayouts(i2, d2) || (O(d2), K.current.layout = d2, n2 && n2(d2), callPanelCallbacks(a2, d2, M.current));
27594
- }, []), vJ = (0, import_react.useCallback)((e2, t2) => {
27588
+ }, []), _J = (0, import_react.useCallback)((e2, t2) => {
27595
27589
  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);
27596
- h2 != null && (o2 && c2 && fuzzyNumbersEqual$1(h2, a2) ? fuzzyNumbersEqual$1(a2, s2) || _J(e2, s2) : h2 < f2 ? _J(e2, f2) : h2 > d2 && _J(e2, d2));
27590
+ h2 != null && (o2 && c2 && fuzzyNumbersEqual$1(h2, a2) ? fuzzyNumbersEqual$1(a2, s2) || gJ(e2, s2) : h2 < f2 ? gJ(e2, f2) : h2 > d2 && gJ(e2, d2));
27597
27591
  }, [
27598
- _J
27599
- ]), yJ = (0, import_react.useCallback)((e2, t2) => {
27592
+ gJ
27593
+ ]), vJ = (0, import_react.useCallback)((e2, t2) => {
27600
27594
  let { direction: n2 } = U.current, { layout: i2 } = K.current;
27601
27595
  if (!y.current) return;
27602
27596
  let a2 = getResizeHandleElement(e2, y.current);
@@ -27608,14 +27602,14 @@ ${n}` : "Please fix this error.";
27608
27602
  initialCursorPosition: o2,
27609
27603
  initialLayout: i2
27610
27604
  });
27611
- }, []), bJ = (0, import_react.useCallback)(() => {
27605
+ }, []), yJ = (0, import_react.useCallback)(() => {
27612
27606
  w(null);
27613
- }, []), xJ = (0, import_react.useCallback)((e2) => {
27607
+ }, []), bJ = (0, import_react.useCallback)((e2) => {
27614
27608
  let { panelDataArray: t2 } = K.current, n2 = findPanelDataIndex(t2, e2);
27615
27609
  n2 >= 0 && (t2.splice(n2, 1), delete M.current[e2.id], K.current.panelDataArrayChanged = true, A());
27616
27610
  }, [
27617
27611
  A
27618
- ]), SJ = (0, import_react.useMemo)(() => ({
27612
+ ]), xJ = (0, import_react.useMemo)(() => ({
27619
27613
  collapsePanel: q,
27620
27614
  direction: i,
27621
27615
  dragState: S,
@@ -27623,15 +27617,15 @@ ${n}` : "Please fix this error.";
27623
27617
  getPanelSize: Q,
27624
27618
  getPanelStyle: $,
27625
27619
  groupId: v,
27626
- isPanelCollapsed: pJ,
27627
- isPanelExpanded: mJ,
27628
- reevaluatePanelConstraints: vJ,
27629
- registerPanel: hJ,
27630
- registerResizeHandle: gJ,
27631
- resizePanel: _J,
27632
- startDragging: yJ,
27633
- stopDragging: bJ,
27634
- unregisterPanel: xJ,
27620
+ isPanelCollapsed: fJ,
27621
+ isPanelExpanded: pJ,
27622
+ reevaluatePanelConstraints: _J,
27623
+ registerPanel: mJ,
27624
+ registerResizeHandle: hJ,
27625
+ resizePanel: gJ,
27626
+ startDragging: vJ,
27627
+ stopDragging: yJ,
27628
+ unregisterPanel: bJ,
27635
27629
  panelGroupElement: y.current
27636
27630
  }), [
27637
27631
  q,
@@ -27641,16 +27635,16 @@ ${n}` : "Please fix this error.";
27641
27635
  Q,
27642
27636
  $,
27643
27637
  v,
27638
+ fJ,
27644
27639
  pJ,
27640
+ _J,
27645
27641
  mJ,
27646
- vJ,
27647
27642
  hJ,
27648
27643
  gJ,
27649
- _J,
27644
+ vJ,
27650
27645
  yJ,
27651
- bJ,
27652
- xJ
27653
- ]), CJ = {
27646
+ bJ
27647
+ ]), SJ = {
27654
27648
  display: "flex",
27655
27649
  flexDirection: i === "horizontal" ? "row" : "column",
27656
27650
  height: "100%",
@@ -27658,7 +27652,7 @@ ${n}` : "Please fix this error.";
27658
27652
  width: "100%"
27659
27653
  };
27660
27654
  return (0, import_react.createElement)(PanelGroupContext.Provider, {
27661
- value: SJ
27655
+ value: xJ
27662
27656
  }, (0, import_react.createElement)(h, {
27663
27657
  ..._,
27664
27658
  children: t,
@@ -27666,7 +27660,7 @@ ${n}` : "Please fix this error.";
27666
27660
  id: o,
27667
27661
  ref: y,
27668
27662
  style: {
27669
- ...CJ,
27663
+ ...SJ,
27670
27664
  ...f
27671
27665
  },
27672
27666
  [DATA_ATTRIBUTES.group]: "",
@@ -27743,31 +27737,31 @@ ${n}` : "Please fix this error.";
27743
27737
  });
27744
27738
  let O = (0, import_react.useContext)(PanelGroupContext);
27745
27739
  if (O === null) throw Error("PanelResizeHandle components must be rendered within a PanelGroup container");
27746
- let { direction: A, groupId: M, registerResizeHandle: I, startDragging: z, stopDragging: U, panelGroupElement: K } = O, q = useUniqueId(a), [J, Q] = (0, import_react.useState)("inactive"), [$, pJ] = (0, import_react.useState)(false), [mJ, hJ] = (0, import_react.useState)(null), gJ = (0, import_react.useRef)({
27740
+ let { direction: A, groupId: M, registerResizeHandle: I, startDragging: z, stopDragging: U, panelGroupElement: K } = O, q = useUniqueId(a), [J, Q] = (0, import_react.useState)("inactive"), [$, fJ] = (0, import_react.useState)(false), [pJ, mJ] = (0, import_react.useState)(null), hJ = (0, import_react.useRef)({
27747
27741
  state: J
27748
27742
  });
27749
27743
  useIsomorphicLayoutEffect$1(() => {
27750
- gJ.current.state = J;
27744
+ hJ.current.state = J;
27751
27745
  }), (0, import_react.useEffect)(() => {
27752
- if (n) hJ(null);
27746
+ if (n) mJ(null);
27753
27747
  else {
27754
27748
  let e2 = I(q);
27755
- hJ(() => e2);
27749
+ mJ(() => e2);
27756
27750
  }
27757
27751
  }, [
27758
27752
  n,
27759
27753
  q,
27760
27754
  I
27761
27755
  ]);
27762
- let _J = (i == null ? void 0 : i.coarse) ?? 15, vJ = (i == null ? void 0 : i.fine) ?? 5;
27756
+ let gJ = (i == null ? void 0 : i.coarse) ?? 15, _J = (i == null ? void 0 : i.fine) ?? 5;
27763
27757
  (0, import_react.useEffect)(() => {
27764
- if (n || mJ == null) return;
27758
+ if (n || pJ == null) return;
27765
27759
  let e2 = w.current;
27766
27760
  assert(e2, "Element ref not attached");
27767
27761
  let t2 = false;
27768
27762
  return registerResizeHandle(q, e2, A, {
27769
- coarse: _J,
27770
- fine: vJ
27763
+ coarse: gJ,
27764
+ fine: _J
27771
27765
  }, (e3, n2, i2) => {
27772
27766
  if (!n2) {
27773
27767
  Q("inactive");
@@ -27781,8 +27775,8 @@ ${n}` : "Please fix this error.";
27781
27775
  break;
27782
27776
  }
27783
27777
  case "move": {
27784
- let { state: e4 } = gJ.current;
27785
- t2 = true, e4 !== "drag" && Q("hover"), assert(i2, 'Expected event to be defined for "move" action'), mJ(i2);
27778
+ let { state: e4 } = hJ.current;
27779
+ t2 = true, e4 !== "drag" && Q("hover"), assert(i2, 'Expected event to be defined for "move" action'), pJ(i2);
27786
27780
  break;
27787
27781
  }
27788
27782
  case "up": {
@@ -27794,22 +27788,22 @@ ${n}` : "Please fix this error.";
27794
27788
  }
27795
27789
  });
27796
27790
  }, [
27797
- _J,
27791
+ gJ,
27798
27792
  A,
27799
27793
  n,
27800
- vJ,
27794
+ _J,
27801
27795
  I,
27802
27796
  q,
27803
- mJ,
27797
+ pJ,
27804
27798
  z,
27805
27799
  U
27806
27800
  ]), useWindowSplitterResizeHandlerBehavior({
27807
27801
  disabled: n,
27808
27802
  handleId: q,
27809
- resizeHandler: mJ,
27803
+ resizeHandler: pJ,
27810
27804
  panelGroupElement: K
27811
27805
  });
27812
- let yJ = {
27806
+ let vJ = {
27813
27807
  touchAction: "none",
27814
27808
  userSelect: "none"
27815
27809
  };
@@ -27819,15 +27813,15 @@ ${n}` : "Please fix this error.";
27819
27813
  className: t,
27820
27814
  id: a,
27821
27815
  onBlur: () => {
27822
- pJ(false), o == null ? void 0 : o();
27816
+ fJ(false), o == null ? void 0 : o();
27823
27817
  },
27824
27818
  onFocus: () => {
27825
- pJ(true), d == null ? void 0 : d();
27819
+ fJ(true), d == null ? void 0 : d();
27826
27820
  },
27827
27821
  ref: w,
27828
27822
  role: "separator",
27829
27823
  style: {
27830
- ...yJ,
27824
+ ...vJ,
27831
27825
  ..._
27832
27826
  },
27833
27827
  tabIndex: v,
@@ -28126,7 +28120,7 @@ ${n}` : "Please fix this error.";
28126
28120
  }, [
28127
28121
  h
28128
28122
  ]), k(() => {
28129
- U(6, mJ);
28123
+ U(6, pJ);
28130
28124
  }, []);
28131
28125
  let K = import_react.useMemo(() => ({
28132
28126
  subscribe: (e2) => (s.current.add(e2), () => s.current.delete(e2)),
@@ -28135,7 +28129,7 @@ ${n}` : "Please fix this error.";
28135
28129
  var _a2;
28136
28130
  var a2, o2, s2;
28137
28131
  if (!Object.is(n.current[e2], t2)) {
28138
- if (n.current[e2] = t2, e2 === "search") pJ(), Q(), U(1, $);
28132
+ if (n.current[e2] = t2, e2 === "search") fJ(), Q(), U(1, $);
28139
28133
  else if (e2 === "value") {
28140
28134
  if (document.activeElement.hasAttribute("cmdk-input") || document.activeElement.hasAttribute("cmdk-root")) {
28141
28135
  let e3 = document.getElementById(I);
@@ -28143,8 +28137,8 @@ ${n}` : "Please fix this error.";
28143
28137
  }
28144
28138
  if (U(7, () => {
28145
28139
  var _a3;
28146
- n.current.selectedItemId = (_a3 = hJ()) == null ? void 0 : _a3.id, K.emit();
28147
- }), i2 || U(5, mJ), ((_a2 = c.current) == null ? void 0 : _a2.value) !== void 0) {
28140
+ n.current.selectedItemId = (_a3 = mJ()) == null ? void 0 : _a3.id, K.emit();
28141
+ }), i2 || U(5, pJ), ((_a2 = c.current) == null ? void 0 : _a2.value) !== void 0) {
28148
28142
  let e3 = t2 ?? "";
28149
28143
  (s2 = (o2 = c.current).onValueChange) == null || s2.call(o2, e3);
28150
28144
  return;
@@ -28169,12 +28163,12 @@ ${n}` : "Please fix this error.";
28169
28163
  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([
28170
28164
  e2
28171
28165
  ]))), U(3, () => {
28172
- pJ(), Q(), n.current.value || $(), K.emit();
28166
+ fJ(), Q(), n.current.value || $(), K.emit();
28173
28167
  }), () => {
28174
28168
  o.current.delete(e2), i.current.delete(e2), n.current.filtered.items.delete(e2);
28175
- let t3 = hJ();
28169
+ let t3 = mJ();
28176
28170
  U(4, () => {
28177
- pJ(), (t3 == null ? void 0 : t3.getAttribute("id")) === e2 && $(), K.emit();
28171
+ fJ(), (t3 == null ? void 0 : t3.getAttribute("id")) === e2 && $(), K.emit();
28178
28172
  });
28179
28173
  }),
28180
28174
  group: (e2) => (a.current.has(e2) || a.current.set(e2, /* @__PURE__ */ new Set()), () => {
@@ -28207,7 +28201,7 @@ ${n}` : "Please fix this error.";
28207
28201
  ]);
28208
28202
  });
28209
28203
  let i2 = z.current;
28210
- gJ().sort((t3, n2) => {
28204
+ hJ().sort((t3, n2) => {
28211
28205
  let i3 = t3.getAttribute("id"), a2 = n2.getAttribute("id");
28212
28206
  return (e2.get(a2) ?? 0) - (e2.get(i3) ?? 0);
28213
28207
  }).forEach((e3) => {
@@ -28221,10 +28215,10 @@ ${n}` : "Please fix this error.";
28221
28215
  }
28222
28216
  function $() {
28223
28217
  var _a2;
28224
- let e2 = (_a2 = gJ().find((e3) => e3.getAttribute("aria-disabled") !== "true")) == null ? void 0 : _a2.getAttribute(T);
28218
+ let e2 = (_a2 = hJ().find((e3) => e3.getAttribute("aria-disabled") !== "true")) == null ? void 0 : _a2.getAttribute(T);
28225
28219
  K.setState("value", e2 || void 0);
28226
28220
  }
28227
- function pJ() {
28221
+ function fJ() {
28228
28222
  var _a2, _b;
28229
28223
  if (!n.current.search || c.current.shouldFilter === false) {
28230
28224
  n.current.filtered.count = i.current.size;
@@ -28242,43 +28236,43 @@ ${n}` : "Please fix this error.";
28242
28236
  }
28243
28237
  n.current.filtered.count = e2;
28244
28238
  }
28245
- function mJ() {
28239
+ function pJ() {
28246
28240
  var _a2, _b;
28247
28241
  var e2;
28248
- let t2 = hJ();
28242
+ let t2 = mJ();
28249
28243
  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({
28250
28244
  block: "nearest"
28251
28245
  })), t2.scrollIntoView({
28252
28246
  block: "nearest"
28253
28247
  }));
28254
28248
  }
28255
- function hJ() {
28249
+ function mJ() {
28256
28250
  var _a2;
28257
28251
  return (_a2 = z.current) == null ? void 0 : _a2.querySelector(`${le}[aria-selected="true"]`);
28258
28252
  }
28259
- function gJ() {
28253
+ function hJ() {
28260
28254
  var _a2;
28261
28255
  return Array.from(((_a2 = z.current) == null ? void 0 : _a2.querySelectorAll(ce$1)) || []);
28262
28256
  }
28263
- function _J(e2) {
28264
- let t2 = gJ()[e2];
28257
+ function gJ(e2) {
28258
+ let t2 = hJ()[e2];
28265
28259
  t2 && K.setState("value", t2.getAttribute(T));
28266
28260
  }
28267
- function vJ(e2) {
28261
+ function _J(e2) {
28268
28262
  var t2;
28269
- let n2 = hJ(), i2 = gJ(), a2 = i2.findIndex((e3) => e3 === n2), o2 = i2[a2 + e2];
28263
+ let n2 = mJ(), i2 = hJ(), a2 = i2.findIndex((e3) => e3 === n2), o2 = i2[a2 + e2];
28270
28264
  (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));
28271
28265
  }
28272
- function yJ(e2) {
28266
+ function vJ(e2) {
28273
28267
  var _a2;
28274
- let t2 = (_a2 = hJ()) == null ? void 0 : _a2.closest(N$1), n2;
28268
+ let t2 = (_a2 = mJ()) == null ? void 0 : _a2.closest(N$1), n2;
28275
28269
  for (; t2 && !n2; ) t2 = e2 > 0 ? we(t2, N$1) : De(t2, N$1), n2 = t2 == null ? void 0 : t2.querySelector(ce$1);
28276
- n2 ? K.setState("value", n2.getAttribute(T)) : vJ(e2);
28270
+ n2 ? K.setState("value", n2.getAttribute(T)) : _J(e2);
28277
28271
  }
28278
- let bJ = () => _J(gJ().length - 1), xJ = (e2) => {
28279
- e2.preventDefault(), e2.metaKey ? bJ() : e2.altKey ? yJ(1) : vJ(1);
28280
- }, SJ = (e2) => {
28281
- e2.preventDefault(), e2.metaKey ? _J(0) : e2.altKey ? yJ(-1) : vJ(-1);
28272
+ let yJ = () => gJ(hJ().length - 1), bJ = (e2) => {
28273
+ e2.preventDefault(), e2.metaKey ? yJ() : e2.altKey ? vJ(1) : _J(1);
28274
+ }, xJ = (e2) => {
28275
+ e2.preventDefault(), e2.metaKey ? gJ(0) : e2.altKey ? vJ(-1) : _J(-1);
28282
28276
  };
28283
28277
  return import_react.createElement(Primitive.div, {
28284
28278
  ref: t,
@@ -28292,27 +28286,27 @@ ${n}` : "Please fix this error.";
28292
28286
  if (!(e2.defaultPrevented || n2)) switch (e2.key) {
28293
28287
  case "n":
28294
28288
  case "j":
28295
- E && e2.ctrlKey && xJ(e2);
28289
+ E && e2.ctrlKey && bJ(e2);
28296
28290
  break;
28297
28291
  case "ArrowDown":
28298
- xJ(e2);
28292
+ bJ(e2);
28299
28293
  break;
28300
28294
  case "p":
28301
28295
  case "k":
28302
- E && e2.ctrlKey && SJ(e2);
28296
+ E && e2.ctrlKey && xJ(e2);
28303
28297
  break;
28304
28298
  case "ArrowUp":
28305
- SJ(e2);
28299
+ xJ(e2);
28306
28300
  break;
28307
28301
  case "Home":
28308
- e2.preventDefault(), _J(0);
28302
+ e2.preventDefault(), gJ(0);
28309
28303
  break;
28310
28304
  case "End":
28311
- e2.preventDefault(), bJ();
28305
+ e2.preventDefault(), yJ();
28312
28306
  break;
28313
28307
  case "Enter": {
28314
28308
  e2.preventDefault();
28315
- let t3 = hJ();
28309
+ let t3 = mJ();
28316
28310
  if (t3) {
28317
28311
  let e3 = new Event(Z);
28318
28312
  t3.dispatchEvent(e3);
@@ -28721,7 +28715,7 @@ ${n}` : "Please fix this error.";
28721
28715
  Combobox = (e) => {
28722
28716
  let t = (0, import_compiler_runtime$35.c)(106), n, i, a, s, c, d, f, h, _, v, y, S, w, E, O, A, M, I, z, U, K, q, J, Q;
28723
28717
  t[0] === e ? (n = t[1], i = t[2], a = 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], Q = t[24]) : ({ children: n, displayValue: d, className: a, placeholder: E, value: Q, defaultValue: c, onValueChange: S, multiple: I, shouldFilter: z, filterFn: f, open: w, defaultOpen: s, onOpenChange: v, inputPlaceholder: U, search: M, onSearchChange: y, emptyState: K, chips: q, chipsClassName: i, keepPopoverOpenOnSelect: _, id: h, disabled: J, renderValue: O, ...A } = e, t[0] = e, t[1] = n, t[2] = i, t[3] = a, 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, t[24] = Q);
28724
- let $ = I === void 0 ? false : I, pJ = z === void 0 ? true : z, mJ = U === void 0 ? "Search..." : U, hJ = K === void 0 ? "Nothing found." : K, gJ = q === void 0 ? false : q, _J = J === void 0 ? false : J, vJ = s ?? false, yJ;
28718
+ let $ = I === void 0 ? false : I, fJ = z === void 0 ? true : z, pJ = U === void 0 ? "Search..." : U, hJ = K === void 0 ? "Nothing found." : K, gJ = q === void 0 ? false : q, _J = J === void 0 ? false : J, vJ = s ?? false, yJ;
28725
28719
  t[25] !== v || t[26] !== w || t[27] !== vJ ? (yJ = {
28726
28720
  prop: w,
28727
28721
  defaultProp: vJ,
@@ -28755,96 +28749,96 @@ ${n}` : "Please fix this error.";
28755
28749
  else TJ === e2 && (t2 = null);
28756
28750
  EJ(t2), (_ ?? $) || xJ(false);
28757
28751
  }, t[37] = _, t[38] = $, t[39] = xJ, t[40] = EJ, t[41] = TJ, t[42] = kJ) : kJ = t[42];
28758
- let AJ = kJ, MJ;
28759
- t[43] !== gJ || t[44] !== d || t[45] !== $ || t[46] !== E || t[47] !== TJ ? (MJ = () => $ && gJ && E ? E : TJ == null ? E ?? "--" : Array.isArray(TJ) ? TJ.length === 0 ? E ?? "--" : TJ.length === 1 && d !== void 0 ? d(TJ[0]) : `${TJ.length} selected` : d === void 0 ? E ?? "--" : d(TJ), t[43] = gJ, t[44] = d, t[45] = $, t[46] = E, t[47] = TJ, t[48] = MJ) : MJ = t[48];
28760
- let NJ = MJ, PJ;
28761
- t[49] !== AJ || t[50] !== OJ ? (PJ = {
28752
+ let AJ = kJ, jJ;
28753
+ t[43] !== gJ || t[44] !== d || t[45] !== $ || t[46] !== E || t[47] !== TJ ? (jJ = () => $ && gJ && E ? E : TJ == null ? E ?? "--" : Array.isArray(TJ) ? TJ.length === 0 ? E ?? "--" : TJ.length === 1 && d !== void 0 ? d(TJ[0]) : `${TJ.length} selected` : d === void 0 ? E ?? "--" : d(TJ), t[43] = gJ, t[44] = d, t[45] = $, t[46] = E, t[47] = TJ, t[48] = jJ) : jJ = t[48];
28754
+ let MJ = jJ, NJ;
28755
+ t[49] !== AJ || t[50] !== OJ ? (NJ = {
28762
28756
  isSelected: OJ,
28763
28757
  onSelect: AJ
28764
- }, t[49] = AJ, t[50] = OJ, t[51] = PJ) : PJ = t[51];
28765
- let FJ = PJ, LJ;
28766
- t[52] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (LJ = cn("relative"), t[52] = LJ) : LJ = t[52];
28767
- let RJ;
28768
- t[53] !== _J || t[54] !== xJ ? (RJ = (e2) => {
28758
+ }, t[49] = AJ, t[50] = OJ, t[51] = NJ) : NJ = t[51];
28759
+ let PJ = NJ, FJ;
28760
+ t[52] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (FJ = cn("relative"), t[52] = FJ) : FJ = t[52];
28761
+ let IJ;
28762
+ t[53] !== _J || t[54] !== xJ ? (IJ = (e2) => {
28769
28763
  _J && e2 || xJ(e2);
28770
- }, t[53] = _J, t[54] = xJ, t[55] = RJ) : RJ = t[55];
28771
- let BJ = _J && "cursor-not-allowed opacity-50", VJ;
28772
- t[56] !== a || t[57] !== BJ ? (VJ = 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", BJ, a), t[56] = a, t[57] = BJ, t[58] = VJ) : VJ = t[58];
28773
- let HJ;
28774
- t[59] !== O || t[60] !== NJ || t[61] !== TJ ? (HJ = O ? O(TJ ?? null) : NJ(), t[59] = O, t[60] = NJ, t[61] = TJ, t[62] = HJ) : HJ = t[62];
28775
- let UJ;
28776
- t[63] === HJ ? UJ = t[64] : (UJ = (0, import_jsx_runtime.jsx)("span", {
28764
+ }, t[53] = _J, t[54] = xJ, t[55] = IJ) : IJ = t[55];
28765
+ let LJ = _J && "cursor-not-allowed opacity-50", RJ;
28766
+ t[56] !== a || t[57] !== LJ ? (RJ = 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", LJ, a), t[56] = a, t[57] = LJ, t[58] = RJ) : RJ = t[58];
28767
+ let zJ;
28768
+ t[59] !== O || t[60] !== MJ || t[61] !== TJ ? (zJ = O ? O(TJ ?? null) : MJ(), t[59] = O, t[60] = MJ, t[61] = TJ, t[62] = zJ) : zJ = t[62];
28769
+ let VJ;
28770
+ t[63] === zJ ? VJ = t[64] : (VJ = (0, import_jsx_runtime.jsx)("span", {
28777
28771
  className: "truncate flex-1 min-w-0",
28778
- children: HJ
28779
- }), t[63] = HJ, t[64] = UJ);
28780
- let WJ;
28781
- t[65] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (WJ = (0, import_jsx_runtime.jsx)(ChevronDown, {
28772
+ children: zJ
28773
+ }), t[63] = zJ, t[64] = VJ);
28774
+ let UJ;
28775
+ t[65] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (UJ = (0, import_jsx_runtime.jsx)(ChevronDown, {
28782
28776
  className: "ml-3 w-4 h-4 opacity-50 shrink-0"
28783
- }), t[65] = WJ) : WJ = t[65];
28784
- let GJ;
28785
- t[66] !== _J || t[67] !== h || t[68] !== SJ || t[69] !== VJ || t[70] !== UJ ? (GJ = (0, import_jsx_runtime.jsx)(PopoverTrigger, {
28777
+ }), t[65] = UJ) : UJ = t[65];
28778
+ let WJ;
28779
+ t[66] !== _J || t[67] !== h || t[68] !== SJ || t[69] !== RJ || t[70] !== VJ ? (WJ = (0, import_jsx_runtime.jsx)(PopoverTrigger, {
28786
28780
  asChild: true,
28787
28781
  children: (0, import_jsx_runtime.jsxs)("button", {
28788
28782
  id: h,
28789
28783
  type: "button",
28790
- className: VJ,
28784
+ className: RJ,
28791
28785
  "aria-expanded": SJ,
28792
28786
  "aria-disabled": _J,
28793
28787
  children: [
28794
- UJ,
28795
- WJ
28788
+ VJ,
28789
+ UJ
28796
28790
  ]
28797
28791
  })
28798
- }), t[66] = _J, t[67] = h, t[68] = SJ, t[69] = VJ, t[70] = UJ, t[71] = GJ) : GJ = t[71];
28799
- let KJ;
28800
- t[72] !== mJ || t[73] !== y || t[74] !== M ? (KJ = (0, import_jsx_runtime.jsx)(CommandInput, {
28801
- placeholder: mJ,
28792
+ }), t[66] = _J, t[67] = h, t[68] = SJ, t[69] = RJ, t[70] = VJ, t[71] = WJ) : WJ = t[71];
28793
+ let GJ;
28794
+ t[72] !== pJ || t[73] !== y || t[74] !== M ? (GJ = (0, import_jsx_runtime.jsx)(CommandInput, {
28795
+ placeholder: pJ,
28802
28796
  rootClassName: "px-1 h-8",
28803
28797
  autoFocus: true,
28804
28798
  value: M,
28805
28799
  onValueChange: y
28806
- }), t[72] = mJ, t[73] = y, t[74] = M, t[75] = KJ) : KJ = t[75];
28807
- let qJ;
28808
- t[76] === hJ ? qJ = t[77] : (qJ = (0, import_jsx_runtime.jsx)(CommandEmpty, {
28800
+ }), t[72] = pJ, t[73] = y, t[74] = M, t[75] = GJ) : GJ = t[75];
28801
+ let KJ;
28802
+ t[76] === hJ ? KJ = t[77] : (KJ = (0, import_jsx_runtime.jsx)(CommandEmpty, {
28809
28803
  children: hJ
28810
- }), t[76] = hJ, t[77] = qJ);
28811
- let JJ;
28812
- t[78] !== n || t[79] !== FJ ? (JJ = (0, import_jsx_runtime.jsx)(ComboboxContext, {
28813
- value: FJ,
28804
+ }), t[76] = hJ, t[77] = KJ);
28805
+ let qJ;
28806
+ t[78] !== n || t[79] !== PJ ? (qJ = (0, import_jsx_runtime.jsx)(ComboboxContext, {
28807
+ value: PJ,
28814
28808
  children: n
28815
- }), t[78] = n, t[79] = FJ, t[80] = JJ) : JJ = t[80];
28816
- let YJ;
28817
- t[81] !== qJ || t[82] !== JJ ? (YJ = (0, import_jsx_runtime.jsxs)(CommandList, {
28809
+ }), t[78] = n, t[79] = PJ, t[80] = qJ) : qJ = t[80];
28810
+ let JJ;
28811
+ t[81] !== KJ || t[82] !== qJ ? (JJ = (0, import_jsx_runtime.jsxs)(CommandList, {
28818
28812
  className: "max-h-60 py-.5",
28819
28813
  children: [
28820
- qJ,
28821
- JJ
28814
+ KJ,
28815
+ qJ
28822
28816
  ]
28823
- }), t[81] = qJ, t[82] = JJ, t[83] = YJ) : YJ = t[83];
28824
- let XJ;
28825
- t[84] !== f || t[85] !== pJ || t[86] !== KJ || t[87] !== YJ ? (XJ = (0, import_jsx_runtime.jsx)(PopoverContent, {
28817
+ }), t[81] = KJ, t[82] = qJ, t[83] = JJ) : JJ = t[83];
28818
+ let YJ;
28819
+ t[84] !== f || t[85] !== fJ || t[86] !== GJ || t[87] !== JJ ? (YJ = (0, import_jsx_runtime.jsx)(PopoverContent, {
28826
28820
  className: "w-full min-w-(--radix-popover-trigger-width) p-0",
28827
28821
  align: "start",
28828
28822
  children: (0, import_jsx_runtime.jsxs)(Command, {
28829
28823
  filter: f,
28830
- shouldFilter: pJ,
28824
+ shouldFilter: fJ,
28831
28825
  children: [
28832
- KJ,
28833
- YJ
28826
+ GJ,
28827
+ JJ
28834
28828
  ]
28835
28829
  })
28836
- }), t[84] = f, t[85] = pJ, t[86] = KJ, t[87] = YJ, t[88] = XJ) : XJ = t[88];
28837
- let ZJ;
28838
- t[89] !== SJ || t[90] !== RJ || t[91] !== GJ || t[92] !== XJ ? (ZJ = (0, import_jsx_runtime.jsxs)(Popover, {
28830
+ }), t[84] = f, t[85] = fJ, t[86] = GJ, t[87] = JJ, t[88] = YJ) : YJ = t[88];
28831
+ let XJ;
28832
+ t[89] !== SJ || t[90] !== IJ || t[91] !== WJ || t[92] !== YJ ? (XJ = (0, import_jsx_runtime.jsxs)(Popover, {
28839
28833
  open: SJ,
28840
- onOpenChange: RJ,
28834
+ onOpenChange: IJ,
28841
28835
  children: [
28842
- GJ,
28843
- XJ
28836
+ WJ,
28837
+ YJ
28844
28838
  ]
28845
- }), t[89] = SJ, t[90] = RJ, t[91] = GJ, t[92] = XJ, t[93] = ZJ) : ZJ = t[93];
28846
- let QJ;
28847
- t[94] !== gJ || t[95] !== i || t[96] !== _J || t[97] !== d || t[98] !== AJ || t[99] !== $ || t[100] !== TJ ? (QJ = $ && gJ && (0, import_jsx_runtime.jsx)("div", {
28839
+ }), t[89] = SJ, t[90] = IJ, t[91] = WJ, t[92] = YJ, t[93] = XJ) : XJ = t[93];
28840
+ let ZJ;
28841
+ t[94] !== gJ || t[95] !== i || t[96] !== _J || t[97] !== d || t[98] !== AJ || t[99] !== $ || t[100] !== TJ ? (ZJ = $ && gJ && (0, import_jsx_runtime.jsx)("div", {
28848
28842
  className: cn("flex flex-col gap-1 items-start", i),
28849
28843
  children: Array.isArray(TJ) && TJ.map((e2) => e2 == null ? null : (0, import_jsx_runtime.jsxs)(Badge, {
28850
28844
  variant: "secondary",
@@ -28858,16 +28852,16 @@ ${n}` : "Please fix this error.";
28858
28852
  })
28859
28853
  ]
28860
28854
  }, String(e2)))
28861
- }), t[94] = gJ, t[95] = i, t[96] = _J, t[97] = d, t[98] = AJ, t[99] = $, t[100] = TJ, t[101] = QJ) : QJ = t[101];
28862
- let $J;
28863
- return t[102] !== A || t[103] !== ZJ || t[104] !== QJ ? ($J = (0, import_jsx_runtime.jsxs)("div", {
28864
- className: LJ,
28855
+ }), t[94] = gJ, t[95] = i, t[96] = _J, t[97] = d, t[98] = AJ, t[99] = $, t[100] = TJ, t[101] = ZJ) : ZJ = t[101];
28856
+ let QJ;
28857
+ return t[102] !== A || t[103] !== XJ || t[104] !== ZJ ? (QJ = (0, import_jsx_runtime.jsxs)("div", {
28858
+ className: FJ,
28865
28859
  ...A,
28866
28860
  children: [
28867
- ZJ,
28868
- QJ
28861
+ XJ,
28862
+ ZJ
28869
28863
  ]
28870
- }), t[102] = A, t[103] = ZJ, t[104] = QJ, t[105] = $J) : $J = t[105], $J;
28864
+ }), t[102] = A, t[103] = XJ, t[104] = ZJ, t[105] = QJ) : QJ = t[105], QJ;
28871
28865
  };
28872
28866
  ComboboxItem = import_react.forwardRef((e, t) => {
28873
28867
  let n = (0, import_compiler_runtime$35.c)(20), { children: i, className: a, value: s, onSelect: c, disabled: d } = e, f = typeof s == "object" && "value" in s ? s.value : String(s), h = import_react.use(ComboboxContext), _;
@@ -29923,17 +29917,17 @@ ${n}` : "Please fix this error.";
29923
29917
  searchQuery: M,
29924
29918
  filteredOptions: z
29925
29919
  }, t[9] = z, t[10] = n, t[11] = _, t[12] = M, t[13] = i, t[14] = U) : U = t[14];
29926
- let { open: K, setOpen: q, repin: J, visibleOptions: Q, pinnedCount: $ } = usePinning(U), pJ;
29927
- t[15] !== c || t[16] !== s || t[17] !== o || t[18] !== a || t[19] !== y || t[20] !== i ? (pJ = {
29920
+ let { open: K, setOpen: q, repin: J, visibleOptions: Q, pinnedCount: $ } = usePinning(U), fJ;
29921
+ t[15] !== c || t[16] !== s || t[17] !== o || t[18] !== a || t[19] !== y || t[20] !== i ? (fJ = {
29928
29922
  value: i,
29929
29923
  onChange: a,
29930
29924
  multiple: o,
29931
29925
  maxSelections: s,
29932
29926
  allowSelectNone: c,
29933
29927
  selected: y
29934
- }, t[15] = c, t[16] = s, t[17] = o, t[18] = a, t[19] = y, t[20] = i, t[21] = pJ) : pJ = t[21];
29935
- let { isChecked: mJ, toggle: hJ } = useToggle(pJ), gJ;
29936
- t[22] !== z || t[23] !== s || t[24] !== o || t[25] !== a || t[26] !== n || t[27] !== M || t[28] !== i ? (gJ = {
29928
+ }, t[15] = c, t[16] = s, t[17] = o, t[18] = a, t[19] = y, t[20] = i, t[21] = fJ) : fJ = t[21];
29929
+ let { isChecked: pJ, toggle: mJ } = useToggle(fJ), hJ;
29930
+ t[22] !== z || t[23] !== s || t[24] !== o || t[25] !== a || t[26] !== n || t[27] !== M || t[28] !== i ? (hJ = {
29937
29931
  value: i,
29938
29932
  onChange: a,
29939
29933
  multiple: o,
@@ -29941,24 +29935,24 @@ ${n}` : "Please fix this error.";
29941
29935
  filteredOptions: z,
29942
29936
  searchQuery: M,
29943
29937
  maxSelections: s
29944
- }, t[22] = z, t[23] = s, t[24] = o, t[25] = a, t[26] = n, t[27] = M, t[28] = i, t[29] = gJ) : gJ = t[29];
29945
- let { bulkActions: _J } = useBulk(gJ), vJ;
29946
- t[30] !== J || t[31] !== I ? (vJ = (e2) => {
29938
+ }, t[22] = z, t[23] = s, t[24] = o, t[25] = a, t[26] = n, t[27] = M, t[28] = i, t[29] = hJ) : hJ = t[29];
29939
+ let { bulkActions: gJ } = useBulk(hJ), _J;
29940
+ t[30] !== J || t[31] !== I ? (_J = (e2) => {
29947
29941
  I(e2), e2 === "" && J();
29948
- }, t[30] = J, t[31] = I, t[32] = vJ) : vJ = t[32];
29949
- let yJ = vJ, bJ;
29950
- return t[33] !== _J || t[34] !== mJ || t[35] !== O || t[36] !== K || t[37] !== $ || t[38] !== M || t[39] !== q || t[40] !== yJ || t[41] !== hJ || t[42] !== Q ? (bJ = {
29942
+ }, t[30] = J, t[31] = I, t[32] = _J) : _J = t[32];
29943
+ let vJ = _J, yJ;
29944
+ return t[33] !== gJ || t[34] !== pJ || t[35] !== O || t[36] !== K || t[37] !== $ || t[38] !== M || t[39] !== q || t[40] !== vJ || t[41] !== mJ || t[42] !== Q ? (yJ = {
29951
29945
  searchQuery: M,
29952
- setSearchQuery: yJ,
29946
+ setSearchQuery: vJ,
29953
29947
  open: K,
29954
29948
  setOpen: q,
29955
29949
  visibleOptions: Q,
29956
29950
  pinnedCount: $,
29957
- isChecked: mJ,
29958
- toggle: hJ,
29959
- bulkActions: _J,
29951
+ isChecked: pJ,
29952
+ toggle: mJ,
29953
+ bulkActions: gJ,
29960
29954
  labelOf: O
29961
- }, t[33] = _J, t[34] = mJ, t[35] = O, t[36] = K, t[37] = $, t[38] = M, t[39] = q, t[40] = yJ, t[41] = hJ, t[42] = Q, t[43] = bJ) : bJ = t[43], bJ;
29955
+ }, t[33] = gJ, t[34] = pJ, t[35] = O, t[36] = K, t[37] = $, t[38] = M, t[39] = q, t[40] = vJ, t[41] = mJ, t[42] = Q, t[43] = yJ) : yJ = t[43], yJ;
29962
29956
  };
29963
29957
  const Sets = {
29964
29958
  merge(...e) {
@@ -30287,7 +30281,7 @@ ${n}` : "Please fix this error.";
30287
30281
  type: S,
30288
30282
  operator: E,
30289
30283
  draft: mergeNumberTextDraft(A, I)
30290
- }), $ = Q === void 0, pJ = $ ? getMissingValueMessage(S, E) : "Apply filter", mJ = () => {
30284
+ }), $ = Q === void 0, fJ = $ ? getMissingValueMessage(S, E) : "Apply filter", pJ = () => {
30291
30285
  if (!Q) return;
30292
30286
  let e2 = Q;
30293
30287
  t.setColumnFilters((t2) => {
@@ -30306,20 +30300,20 @@ ${n}` : "Please fix this error.";
30306
30300
  value: e2
30307
30301
  }, n2;
30308
30302
  }), i();
30309
- }, hJ = () => {
30303
+ }, mJ = () => {
30310
30304
  a !== void 0 && t.setColumnFilters((e2) => e2.filter((e3, t2) => t2 !== a)), i();
30311
- }, gJ = !OPERATORS_WITHOUT_VALUE.has(E), _J = OPERATORS_BY_TYPE[S], vJ = (0, import_react.useRef)(null), yJ = (0, import_react.useRef)(null);
30305
+ }, hJ = !OPERATORS_WITHOUT_VALUE.has(E), gJ = OPERATORS_BY_TYPE[S], _J = (0, import_react.useRef)(null), vJ = (0, import_react.useRef)(null);
30312
30306
  return (0, import_react.useEffect)(() => {
30313
30307
  var _a2, _b;
30314
- let e2 = (_a2 = vJ.current) == null ? void 0 : _a2.querySelector('input, [role="spinbutton"], [role="combobox"], button');
30315
- e2 ? e2.focus() : (_b = yJ.current) == null ? void 0 : _b.focus();
30308
+ let e2 = (_a2 = _J.current) == null ? void 0 : _a2.querySelector('input, [role="spinbutton"], [role="combobox"], button');
30309
+ e2 ? e2.focus() : (_b = vJ.current) == null ? void 0 : _b.focus();
30316
30310
  }, [
30317
30311
  S,
30318
30312
  E
30319
30313
  ]), (0, import_jsx_runtime.jsxs)("form", {
30320
30314
  className: "flex flex-row gap-4 items-end p-3",
30321
30315
  onSubmit: (e2) => {
30322
- e2.preventDefault(), mJ();
30316
+ e2.preventDefault(), pJ();
30323
30317
  },
30324
30318
  onKeyDownCapture: (e2) => {
30325
30319
  e2.key === "Tab" && e2.stopPropagation();
@@ -30360,13 +30354,13 @@ ${n}` : "Please fix this error.";
30360
30354
  onValueChange: (e2) => J(e2),
30361
30355
  children: [
30362
30356
  (0, import_jsx_runtime.jsx)(SelectTrigger, {
30363
- ref: yJ,
30357
+ ref: vJ,
30364
30358
  id: s,
30365
30359
  className: "h-6 mb-1 bg-transparent",
30366
30360
  children: (0, import_jsx_runtime.jsx)(SelectValue, {})
30367
30361
  }),
30368
30362
  (0, import_jsx_runtime.jsx)(SelectContent, {
30369
- children: _J.map((e2) => (0, import_jsx_runtime.jsx)(SelectItem, {
30363
+ children: gJ.map((e2) => (0, import_jsx_runtime.jsx)(SelectItem, {
30370
30364
  value: e2,
30371
30365
  children: OPERATOR_LABELS[e2]
30372
30366
  }, e2))
@@ -30375,8 +30369,8 @@ ${n}` : "Please fix this error.";
30375
30369
  }, S)
30376
30370
  ]
30377
30371
  }),
30378
- gJ && (0, import_jsx_runtime.jsxs)("div", {
30379
- ref: vJ,
30372
+ hJ && (0, import_jsx_runtime.jsxs)("div", {
30373
+ ref: _J,
30380
30374
  className: "flex flex-col gap-1",
30381
30375
  children: [
30382
30376
  (0, import_jsx_runtime.jsx)("label", {
@@ -30403,7 +30397,7 @@ ${n}` : "Please fix this error.";
30403
30397
  className: "flex gap-1 mb-1",
30404
30398
  children: [
30405
30399
  (0, import_jsx_runtime.jsx)(Tooltip, {
30406
- content: pJ,
30400
+ content: fJ,
30407
30401
  children: (0, import_jsx_runtime.jsx)("span", {
30408
30402
  className: "inline-flex",
30409
30403
  children: (0, import_jsx_runtime.jsx)(Button, {
@@ -30442,7 +30436,7 @@ ${n}` : "Please fix this error.";
30442
30436
  size: "icon",
30443
30437
  variant: "ghost",
30444
30438
  className: "rounded-full text-destructive hover:text-destructive hover:bg-destructive/10",
30445
- onClick: hJ,
30439
+ onClick: mJ,
30446
30440
  "aria-label": "Remove filter",
30447
30441
  children: (0, import_jsx_runtime.jsx)(Trash2, {
30448
30442
  className: "h-3.5 w-3.5",
@@ -32650,29 +32644,29 @@ ${n}` : "Please fix this error.";
32650
32644
  }, t[16] = a, t[17] = J);
32651
32645
  let Q = useEvent_default(J), $;
32652
32646
  t[18] === S ? $ = t[19] : ($ = () => S(), t[18] = S, t[19] = $);
32653
- let pJ = useEvent_default($), mJ, hJ;
32654
- t[20] === S ? (mJ = t[21], hJ = t[22]) : (mJ = () => (window.addEventListener("scroll", S, {
32647
+ let fJ = useEvent_default($), pJ, mJ;
32648
+ t[20] === S ? (pJ = t[21], mJ = t[22]) : (pJ = () => (window.addEventListener("scroll", S, {
32655
32649
  passive: true,
32656
32650
  capture: true
32657
32651
  }), window.addEventListener("resize", S), () => {
32658
32652
  window.removeEventListener("scroll", S, {
32659
32653
  capture: true
32660
32654
  }), window.removeEventListener("resize", S);
32661
- }), hJ = [
32655
+ }), mJ = [
32662
32656
  S
32663
- ], t[20] = S, t[21] = mJ, t[22] = hJ), (0, import_react.useEffect)(mJ, hJ);
32664
- let gJ, _J;
32665
- t[23] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (gJ = () => v, _J = [], t[23] = gJ, t[24] = _J) : (gJ = t[23], _J = t[24]), (0, import_react.useEffect)(gJ, _J);
32666
- let vJ;
32667
- return t[25] !== pJ || t[26] !== Q || t[27] !== q || t[28] !== U || t[29] !== S || t[30] !== d || t[31] !== o ? (vJ = {
32657
+ ], t[20] = S, t[21] = pJ, t[22] = mJ), (0, import_react.useEffect)(pJ, mJ);
32658
+ let hJ, gJ;
32659
+ t[23] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (hJ = () => v, gJ = [], t[23] = hJ, t[24] = gJ) : (hJ = t[23], gJ = t[24]), (0, import_react.useEffect)(hJ, gJ);
32660
+ let _J;
32661
+ return t[25] !== fJ || t[26] !== Q || t[27] !== q || t[28] !== U || t[29] !== S || t[30] !== d || t[31] !== o ? (_J = {
32668
32662
  tooltipState: o,
32669
32663
  tooltipContentId: d,
32670
32664
  hideTooltip: S,
32671
32665
  handleCellMouseOver: U,
32672
32666
  handleCellMouseLeave: q,
32673
32667
  handleCellFocus: Q,
32674
- handleCellBlur: pJ
32675
- }, t[25] = pJ, t[26] = Q, t[27] = q, t[28] = U, t[29] = S, t[30] = d, t[31] = o, t[32] = vJ) : vJ = t[32], vJ;
32668
+ handleCellBlur: fJ
32669
+ }, t[25] = fJ, t[26] = Q, t[27] = q, t[28] = U, t[29] = S, t[30] = d, t[31] = o, t[32] = _J) : _J = t[32], _J;
32676
32670
  }
32677
32671
  var import_compiler_runtime$18 = require_compiler_runtime();
32678
32672
  const CellRangeSelectionIndicator = (0, import_react.memo)((e) => {
@@ -34117,7 +34111,7 @@ ${n}` : "Please fix this error.";
34117
34111
  filename: i2.filename
34118
34112
  };
34119
34113
  }, t[6] = e, t[7] = O);
34120
- let A = O, M, I, z, U, K, q, J, Q, $, pJ, mJ, hJ, gJ;
34114
+ let A = O, M, I, z, U, K, q, J, Q, $, fJ, pJ, mJ, hJ;
34121
34115
  if (t[8] !== E || t[9] !== c || t[10] !== n || t[11] !== A || t[12] !== d) {
34122
34116
  let e2 = async (t2) => {
34123
34117
  let n2 = labelForDownloadFormat(t2);
@@ -34183,10 +34177,10 @@ ${n}` : "Please fix this error.";
34183
34177
  content: d,
34184
34178
  open: o,
34185
34179
  children: h
34186
- }), t[32] = o, t[33] = h, t[34] = d, t[35] = Q) : Q = t[35], M = DropdownMenuContent, $ = "bottom", pJ = "print:hidden", t[36] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (mJ = (0, import_jsx_runtime.jsx)(DropdownMenuLabel, {
34180
+ }), t[32] = o, t[33] = h, t[34] = d, t[35] = Q) : Q = t[35], M = DropdownMenuContent, $ = "bottom", fJ = "print:hidden", t[36] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (pJ = (0, import_jsx_runtime.jsx)(DropdownMenuLabel, {
34187
34181
  className: "text-xs text-muted-foreground",
34188
34182
  children: "Download"
34189
- }), t[36] = mJ) : mJ = t[36], hJ = downloadOptions.map((t2) => (0, import_jsx_runtime.jsxs)(DropdownMenuItem, {
34183
+ }), t[36] = pJ) : pJ = t[36], mJ = downloadOptions.map((t2) => (0, import_jsx_runtime.jsxs)(DropdownMenuItem, {
34190
34184
  onSelect: () => {
34191
34185
  e2(t2.format);
34192
34186
  },
@@ -34207,10 +34201,10 @@ ${n}` : "Please fix this error.";
34207
34201
  ]
34208
34202
  })
34209
34203
  ]
34210
- }, t2.label)), t[37] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (gJ = (0, import_jsx_runtime.jsx)(DropdownMenuSeparator, {}), z = (0, import_jsx_runtime.jsx)(DropdownMenuLabel, {
34204
+ }, t2.label)), t[37] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (hJ = (0, import_jsx_runtime.jsx)(DropdownMenuSeparator, {}), z = (0, import_jsx_runtime.jsx)(DropdownMenuLabel, {
34211
34205
  className: "text-xs text-muted-foreground",
34212
34206
  children: "Copy to clipboard"
34213
- }), t[37] = z, t[38] = gJ) : (z = t[37], gJ = t[38]), U = copyOptions.map((e3) => (0, import_jsx_runtime.jsxs)(DropdownMenuItem, {
34207
+ }), t[37] = z, t[38] = hJ) : (z = t[37], hJ = t[38]), U = copyOptions.map((e3) => (0, import_jsx_runtime.jsxs)(DropdownMenuItem, {
34214
34208
  onSelect: async () => {
34215
34209
  try {
34216
34210
  await a2(e3.format);
@@ -34239,30 +34233,30 @@ ${n}` : "Please fix this error.";
34239
34233
  ]
34240
34234
  })
34241
34235
  ]
34242
- }, e3.label)), t[8] = E, t[9] = c, t[10] = n, t[11] = A, t[12] = d, t[13] = M, 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] = pJ, t[23] = mJ, t[24] = hJ, t[25] = gJ;
34243
- } else M = t[13], I = t[14], z = t[15], U = t[16], K = t[17], q = t[18], J = t[19], Q = t[20], $ = t[21], pJ = t[22], mJ = t[23], hJ = t[24], gJ = t[25];
34244
- let _J;
34245
- t[39] !== M || t[40] !== z || t[41] !== U || t[42] !== $ || t[43] !== pJ || t[44] !== mJ || t[45] !== hJ || t[46] !== gJ ? (_J = (0, import_jsx_runtime.jsxs)(M, {
34236
+ }, e3.label)), t[8] = E, t[9] = c, t[10] = n, t[11] = A, t[12] = d, t[13] = M, 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] = fJ, t[23] = pJ, t[24] = mJ, t[25] = hJ;
34237
+ } else M = t[13], I = t[14], z = t[15], U = t[16], K = t[17], q = t[18], J = t[19], Q = t[20], $ = t[21], fJ = t[22], pJ = t[23], mJ = t[24], hJ = t[25];
34238
+ let gJ;
34239
+ t[39] !== M || t[40] !== z || t[41] !== U || t[42] !== $ || t[43] !== fJ || t[44] !== pJ || t[45] !== mJ || t[46] !== hJ ? (gJ = (0, import_jsx_runtime.jsxs)(M, {
34246
34240
  side: $,
34247
- className: pJ,
34241
+ className: fJ,
34248
34242
  children: [
34243
+ pJ,
34249
34244
  mJ,
34250
34245
  hJ,
34251
- gJ,
34252
34246
  z,
34253
34247
  U
34254
34248
  ]
34255
- }), t[39] = M, t[40] = z, t[41] = U, t[42] = $, t[43] = pJ, t[44] = mJ, t[45] = hJ, t[46] = gJ, t[47] = _J) : _J = t[47];
34256
- let vJ;
34257
- return t[48] !== I || t[49] !== K || t[50] !== q || t[51] !== J || t[52] !== Q || t[53] !== _J ? (vJ = (0, import_jsx_runtime.jsxs)(I, {
34249
+ }), t[39] = M, t[40] = z, t[41] = U, t[42] = $, t[43] = fJ, t[44] = pJ, t[45] = mJ, t[46] = hJ, t[47] = gJ) : gJ = t[47];
34250
+ let _J;
34251
+ return t[48] !== I || t[49] !== K || t[50] !== q || t[51] !== J || t[52] !== Q || t[53] !== gJ ? (_J = (0, import_jsx_runtime.jsxs)(I, {
34258
34252
  modal: K,
34259
34253
  open: q,
34260
34254
  onOpenChange: J,
34261
34255
  children: [
34262
34256
  Q,
34263
- _J
34257
+ gJ
34264
34258
  ]
34265
- }), t[48] = I, t[49] = K, t[50] = q, t[51] = J, t[52] = Q, t[53] = _J, t[54] = vJ) : vJ = t[54], vJ;
34259
+ }), t[48] = I, t[49] = K, t[50] = q, t[51] = J, t[52] = Q, t[53] = gJ, t[54] = _J) : _J = t[54], _J;
34266
34260
  };
34267
34261
  function fetchJson(e) {
34268
34262
  return fetchText(e).then(jsonParseWithSpecialChar);
@@ -34358,22 +34352,22 @@ ${n}` : "Please fix this error.";
34358
34352
  ]
34359
34353
  });
34360
34354
  };
34361
- DataTable = (0, import_react.memo)(({ wrapperClassName: e, className: t, maxHeight: n, columns: i, data: a, 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: pJ, showSearch: mJ = false, searchQuery: hJ, onSearchQueryChange: gJ, showFilters: _J = false, filters: vJ, onFiltersChange: yJ, calculateTopKRows: bJ, reloading: xJ, freezeColumnsLeft: SJ, freezeColumnsRight: CJ, hiddenColumns: wJ, toggleDisplayHeader: TJ, showChartBuilder: EJ, isChartBuilderOpen: DJ, showPageSizeSelector: OJ, showTableExplorer: kJ, togglePanel: AJ, isPanelOpen: jJ, isAnyPanelOpen: MJ, viewedRowIdx: NJ, onViewedRowChange: PJ, renderTableExplorerPanel: FJ }) => {
34362
- let IJ = isStaticNotebook(), LJ = !IJ, [RJ, zJ] = import_react.useState(false), { locale: BJ } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), { columnPinning: VJ, setColumnPinning: HJ } = useColumnPinning(SJ, CJ), { columnVisibility: UJ, setColumnVisibility: WJ } = useColumnVisibility(wJ);
34355
+ DataTable = (0, import_react.memo)(({ wrapperClassName: e, className: t, maxHeight: n, columns: i, data: a, 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: fJ, showSearch: pJ = false, searchQuery: mJ, onSearchQueryChange: hJ, showFilters: gJ = false, filters: _J, onFiltersChange: vJ, calculateTopKRows: yJ, reloading: bJ, freezeColumnsLeft: xJ, freezeColumnsRight: SJ, hiddenColumns: CJ, toggleDisplayHeader: wJ, showChartBuilder: TJ, isChartBuilderOpen: EJ, showPageSizeSelector: DJ, showTableExplorer: OJ, togglePanel: kJ, isPanelOpen: AJ, isAnyPanelOpen: jJ, viewedRowIdx: MJ, onViewedRowChange: NJ, renderTableExplorerPanel: PJ }) => {
34356
+ let FJ = isStaticNotebook(), IJ = !FJ, [LJ, RJ] = import_react.useState(false), { locale: zJ } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), { columnPinning: BJ, setColumnPinning: VJ } = useColumnPinning(xJ, SJ), { columnVisibility: HJ, setColumnVisibility: UJ } = useColumnVisibility(CJ);
34363
34357
  import_react.useEffect(() => {
34364
34358
  let e2;
34365
- return xJ ? e2 = setTimeout(() => {
34366
- zJ(true);
34367
- }, 300) : zJ(false), () => {
34359
+ return bJ ? e2 = setTimeout(() => {
34360
+ RJ(true);
34361
+ }, 300) : RJ(false), () => {
34368
34362
  e2 && clearTimeout(e2);
34369
34363
  };
34370
34364
  }, [
34371
- xJ
34365
+ bJ
34372
34366
  ]);
34373
- function GJ(e2, t2) {
34367
+ function WJ(e2, t2) {
34374
34368
  return z ? t2 + (q ? z.pageIndex * z.pageSize : 0) : t2;
34375
34369
  }
34376
- let KJ = useReactTable({
34370
+ let GJ = useReactTable({
34377
34371
  _features: [
34378
34372
  ColumnPinning,
34379
34373
  ColumnWrappingFeature,
@@ -34397,37 +34391,37 @@ ${n}` : "Please fix this error.";
34397
34391
  getRowId: (e2, t2) => {
34398
34392
  let n2 = getStableRowId(e2);
34399
34393
  if (n2) return n2;
34400
- let i2 = GJ(e2, t2);
34394
+ let i2 = WJ(e2, t2);
34401
34395
  return String(i2);
34402
34396
  }
34403
34397
  } : {},
34404
- locale: BJ,
34398
+ locale: zJ,
34405
34399
  manualPagination: q,
34406
34400
  getPaginationRowModel: getPaginationRowModel(),
34407
34401
  ...w ? {
34408
34402
  onSortingChange: w
34409
34403
  } : {},
34410
34404
  manualSorting: y,
34411
- enableSorting: !IJ,
34405
+ enableSorting: !FJ,
34412
34406
  enableMultiSort: true,
34413
34407
  getSortedRowModel: getSortedRowModel(),
34414
34408
  manualFiltering: true,
34415
- enableColumnFilters: _J && !IJ,
34409
+ enableColumnFilters: gJ && !FJ,
34416
34410
  getFilteredRowModel: getFilteredRowModel(),
34417
- onColumnFiltersChange: yJ,
34411
+ onColumnFiltersChange: vJ,
34418
34412
  onRowSelectionChange: Q,
34419
34413
  onCellSelectionChange: $,
34420
34414
  enableCellSelection: c === "single-cell" || c === "multi-cell",
34421
34415
  enableMultiCellSelection: c === "multi-cell",
34422
- onColumnPinningChange: HJ,
34423
- onColumnVisibilityChange: WJ,
34416
+ onColumnPinningChange: VJ,
34417
+ onColumnVisibilityChange: UJ,
34424
34418
  enableFocusRow: true,
34425
- onFocusRowChange: PJ,
34419
+ onFocusRowChange: NJ,
34426
34420
  state: {
34427
34421
  ...S ? {
34428
34422
  sorting: S
34429
34423
  } : {},
34430
- columnFilters: vJ,
34424
+ columnFilters: _J,
34431
34425
  ...z ? {
34432
34426
  pagination: z
34433
34427
  } : J && !z ? {} : {
@@ -34438,60 +34432,60 @@ ${n}` : "Please fix this error.";
34438
34432
  },
34439
34433
  rowSelection: E ?? {},
34440
34434
  cellSelection: O ?? [],
34441
- columnVisibility: UJ,
34435
+ columnVisibility: HJ,
34442
34436
  cellStyling: A,
34443
- columnPinning: VJ,
34437
+ columnPinning: BJ,
34444
34438
  cellHoverTemplate: M,
34445
34439
  cellHoverTexts: I ?? {}
34446
34440
  }
34447
- }), qJ = (jJ == null ? void 0 : jJ(PANEL_TYPES.ROW_VIEWER)) ?? false, JJ = !J && a.length > 100, YJ = useScrollContainerHeight({
34441
+ }), KJ = (AJ == null ? void 0 : AJ(PANEL_TYPES.ROW_VIEWER)) ?? false, qJ = !J && a.length > 100, JJ = useScrollContainerHeight({
34448
34442
  maxHeight: n,
34449
- virtualize: JJ
34450
- }), [XJ, ZJ] = import_react.useState(null), QJ = import_react.useMemo(() => ({
34443
+ virtualize: qJ
34444
+ }), [YJ, XJ] = import_react.useState(null), ZJ = import_react.useMemo(() => ({
34451
34445
  requestAddFilter: (e2) => {
34452
- let t2 = KJ.getColumn(e2.columnId);
34453
- t2 && ZJ(buildEditorSnapshot(t2, {
34446
+ let t2 = GJ.getColumn(e2.columnId);
34447
+ t2 && XJ(buildEditorSnapshot(t2, {
34454
34448
  operator: e2.operator
34455
34449
  }));
34456
34450
  }
34457
34451
  }), [
34458
- KJ
34459
- ]), $J = getUserColumnVisibilityCounts(KJ), eY = $J.total > 0 && $J.visible === 0;
34452
+ GJ
34453
+ ]), QJ = getUserColumnVisibilityCounts(GJ), $J = QJ.total > 0 && QJ.visible === 0;
34460
34454
  return (0, import_jsx_runtime.jsx)(FilterEditorProvider, {
34461
- value: QJ,
34455
+ value: ZJ,
34462
34456
  children: (0, import_jsx_runtime.jsxs)("div", {
34463
34457
  className: cn(e, "flex flex-col space-y-1"),
34464
34458
  children: [
34465
34459
  (0, import_jsx_runtime.jsx)(FilterPills, {
34466
- filters: vJ,
34467
- table: KJ,
34468
- calculateTopKRows: bJ,
34469
- addFilterSnapshot: XJ,
34470
- onAddFilterSnapshotChange: ZJ
34460
+ filters: _J,
34461
+ table: GJ,
34462
+ calculateTopKRows: yJ,
34463
+ addFilterSnapshot: YJ,
34464
+ onAddFilterSnapshotChange: XJ
34471
34465
  }),
34472
- FJ == null ? void 0 : FJ(KJ),
34466
+ PJ == null ? void 0 : PJ(GJ),
34473
34467
  (0, import_jsx_runtime.jsx)(CellSelectionProvider, {
34474
34468
  children: (0, import_jsx_runtime.jsxs)("div", {
34475
34469
  part: "table-wrapper",
34476
34470
  className: cn(t || "rounded-md border overflow-hidden"),
34477
34471
  children: [
34478
- LJ && (0, import_jsx_runtime.jsx)(TableTopBar, {
34479
- table: KJ,
34480
- showSearch: mJ,
34481
- searchQuery: hJ,
34482
- onSearchQueryChange: gJ,
34483
- reloading: xJ,
34484
- showChartBuilder: EJ,
34485
- isChartBuilderOpen: DJ,
34486
- toggleDisplayHeader: TJ,
34487
- showTableExplorer: kJ,
34488
- togglePanel: AJ,
34489
- isAnyPanelOpen: MJ,
34472
+ IJ && (0, import_jsx_runtime.jsx)(TableTopBar, {
34473
+ table: GJ,
34474
+ showSearch: pJ,
34475
+ searchQuery: mJ,
34476
+ onSearchQueryChange: hJ,
34477
+ reloading: bJ,
34478
+ showChartBuilder: TJ,
34479
+ isChartBuilderOpen: EJ,
34480
+ toggleDisplayHeader: wJ,
34481
+ showTableExplorer: OJ,
34482
+ togglePanel: kJ,
34483
+ isAnyPanelOpen: jJ,
34490
34484
  downloadAs: K,
34491
34485
  sizeBytes: _,
34492
34486
  sizeBytesIsLoading: v
34493
34487
  }),
34494
- eY && (0, import_jsx_runtime.jsxs)(Banner, {
34488
+ $J && (0, import_jsx_runtime.jsxs)(Banner, {
34495
34489
  className: "mb-1 mx-2 rounded flex items-center justify-between",
34496
34490
  children: [
34497
34491
  (0, import_jsx_runtime.jsx)("span", {
@@ -34500,26 +34494,26 @@ ${n}` : "Please fix this error.";
34500
34494
  (0, import_jsx_runtime.jsx)(Button, {
34501
34495
  variant: "link",
34502
34496
  size: "xs",
34503
- onClick: () => KJ.resetColumnVisibility(true),
34497
+ onClick: () => GJ.resetColumnVisibility(true),
34504
34498
  children: "Unhide all"
34505
34499
  })
34506
34500
  ]
34507
34501
  }),
34508
34502
  (0, import_jsx_runtime.jsxs)(Table, {
34509
34503
  className: cn("relative", i.length <= 4 ? "w-auto" : "w-full"),
34510
- ref: YJ,
34504
+ ref: JJ,
34511
34505
  children: [
34512
- RJ && (0, import_jsx_runtime.jsx)("thead", {
34506
+ LJ && (0, import_jsx_runtime.jsx)("thead", {
34513
34507
  className: "absolute top-0 left-0 h-[3px] w-1/2 bg-primary animate-slide"
34514
34508
  }),
34515
- renderTableHeader(KJ, JJ || !!n),
34509
+ renderTableHeader(GJ, qJ || !!n),
34516
34510
  (0, import_jsx_runtime.jsx)(DataTableBody, {
34517
- table: KJ,
34511
+ table: GJ,
34518
34512
  columns: i,
34519
- rowViewerPanelOpen: qJ,
34520
- getRowIndex: GJ,
34521
- viewedRowIdx: NJ,
34522
- virtualize: JJ
34513
+ rowViewerPanelOpen: KJ,
34514
+ getRowIndex: WJ,
34515
+ viewedRowIdx: MJ,
34516
+ virtualize: qJ
34523
34517
  })
34524
34518
  ]
34525
34519
  }),
@@ -34530,10 +34524,10 @@ ${n}` : "Please fix this error.";
34530
34524
  pagination: J,
34531
34525
  selection: c,
34532
34526
  onRowSelectionChange: Q,
34533
- table: KJ,
34534
- getRowIds: pJ,
34535
- showPageSizeSelector: OJ,
34536
- tableLoading: xJ
34527
+ table: GJ,
34528
+ getRowIds: fJ,
34529
+ showPageSizeSelector: DJ,
34530
+ tableLoading: bJ
34537
34531
  })
34538
34532
  ]
34539
34533
  })
@@ -34618,60 +34612,60 @@ ${n}` : "Please fix this error.";
34618
34612
  t[6] !== a || t[7] !== S ? (E = S && S.kind === "cell" && !isWasm() && !isStaticNotebook() && a !== "__scratch__", t[6] = a, t[7] = S, t[8] = E) : E = t[8];
34619
34613
  let O = E, A;
34620
34614
  t[9] !== f || t[10] !== n ? (A = n && f && !isStaticNotebook(), t[9] = f, t[10] = n, t[11] = A) : A = t[11];
34621
- let M = A, I = !isStaticNotebook(), [z, U] = (0, import_react.useState)(true), K;
34622
- t[12] !== d || t[13] !== n ? (K = (e2) => {
34615
+ let M = A, I = !isStaticNotebook(), [z, U] = (0, import_react.useState)(true), q;
34616
+ t[12] !== d || t[13] !== n ? (q = (e2) => {
34623
34617
  n == null ? void 0 : n({
34624
34618
  prompt: `My code gives the following error:
34625
34619
 
34626
34620
  ${d}`,
34627
34621
  triggerImmediately: e2
34628
34622
  });
34629
- }, t[12] = d, t[13] = n, t[14] = K) : K = t[14];
34630
- let q = K, Q;
34623
+ }, t[12] = d, t[13] = n, t[14] = q) : q = t[14];
34624
+ let J = q, Q;
34631
34625
  t[15] !== a || t[16] !== d || t[17] !== _ ? (Q = () => {
34632
34626
  _({
34633
34627
  prompt: buildFixInChatPrompt(a, d)
34634
34628
  });
34635
34629
  }, t[15] = a, t[16] = d, t[17] = _, t[18] = Q) : Q = t[18];
34636
- let $ = Q, pJ;
34637
- t[19] === z ? pJ = t[20] : (pJ = () => U(!z), t[19] = z, t[20] = pJ);
34638
- let mJ = z ? "Collapse traceback" : "Expand traceback", hJ;
34639
- t[21] === z ? hJ = t[22] : (hJ = z ? (0, import_jsx_runtime.jsx)(ChevronDown, {
34630
+ let $ = Q, fJ;
34631
+ t[19] === z ? fJ = t[20] : (fJ = () => U(!z), t[19] = z, t[20] = fJ);
34632
+ let pJ = z ? "Collapse traceback" : "Expand traceback", mJ;
34633
+ t[21] === z ? mJ = t[22] : (mJ = z ? (0, import_jsx_runtime.jsx)(ChevronDown, {
34640
34634
  className: "h-3 w-3"
34641
34635
  }) : (0, import_jsx_runtime.jsx)(ChevronRight, {
34642
34636
  className: "h-3 w-3"
34643
- }), t[21] = z, t[22] = hJ);
34644
- let gJ;
34645
- t[23] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (gJ = (0, import_jsx_runtime.jsx)("span", {
34637
+ }), t[21] = z, t[22] = mJ);
34638
+ let hJ;
34639
+ t[23] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (hJ = (0, import_jsx_runtime.jsx)("span", {
34646
34640
  className: "text-[0.6875rem] uppercase tracking-wider",
34647
34641
  children: "Traceback"
34648
- }), t[23] = gJ) : gJ = t[23];
34649
- let _J;
34650
- t[24] !== z || t[25] !== hJ || t[26] !== pJ || t[27] !== mJ ? (_J = (0, import_jsx_runtime.jsxs)("button", {
34642
+ }), t[23] = hJ) : hJ = t[23];
34643
+ let gJ;
34644
+ t[24] !== z || t[25] !== mJ || t[26] !== fJ || t[27] !== pJ ? (gJ = (0, import_jsx_runtime.jsxs)("button", {
34651
34645
  type: "button",
34652
- onClick: pJ,
34646
+ onClick: fJ,
34653
34647
  "aria-expanded": z,
34654
- "aria-label": mJ,
34648
+ "aria-label": pJ,
34655
34649
  className: "self-start flex items-center gap-1 pt-2 text-muted-foreground/70 hover:text-muted-foreground transition-colors",
34656
34650
  children: [
34657
- hJ,
34658
- gJ
34651
+ mJ,
34652
+ hJ
34659
34653
  ]
34660
- }), t[24] = z, t[25] = hJ, t[26] = pJ, t[27] = mJ, t[28] = _J) : _J = t[28];
34661
- let vJ;
34662
- t[29] !== s || t[30] !== z ? (vJ = z && (0, import_jsx_runtime.jsx)("div", {
34654
+ }), t[24] = z, t[25] = mJ, t[26] = fJ, t[27] = pJ, t[28] = gJ) : gJ = t[28];
34655
+ let _J;
34656
+ t[29] !== s || t[30] !== z ? (_J = z && (0, import_jsx_runtime.jsx)("div", {
34663
34657
  className: "text-muted-foreground pr-4 text-xs overflow-auto",
34664
34658
  children: s
34665
- }), t[29] = s, t[30] = z, t[31] = vJ) : vJ = t[31];
34666
- let yJ;
34667
- t[32] !== q || t[33] !== $ || t[34] !== M ? (yJ = M && (0, import_jsx_runtime.jsx)(AIFixButton, {
34659
+ }), t[29] = s, t[30] = z, t[31] = _J) : _J = t[31];
34660
+ let vJ;
34661
+ t[32] !== J || t[33] !== $ || t[34] !== M ? (vJ = M && (0, import_jsx_runtime.jsx)(AIFixButton, {
34668
34662
  tooltip: "Fix with AI",
34669
- openPrompt: () => q(false),
34670
- applyAutofix: () => q(true),
34663
+ openPrompt: () => J(false),
34664
+ applyAutofix: () => J(true),
34671
34665
  openChat: $
34672
- }), t[32] = q, t[33] = $, t[34] = M, t[35] = yJ) : yJ = t[35];
34673
- let bJ;
34674
- t[36] !== O || t[37] !== S ? (bJ = O && (0, import_jsx_runtime.jsx)(Tooltip, {
34666
+ }), t[32] = J, t[33] = $, t[34] = M, t[35] = vJ) : vJ = t[35];
34667
+ let yJ;
34668
+ t[36] !== O || t[37] !== S ? (yJ = O && (0, import_jsx_runtime.jsx)(Tooltip, {
34675
34669
  content: "Attach pdb to the exception point.",
34676
34670
  children: (0, import_jsx_runtime.jsxs)(Button, {
34677
34671
  size: "xs",
@@ -34688,9 +34682,9 @@ ${d}`,
34688
34682
  "Launch debugger"
34689
34683
  ]
34690
34684
  })
34691
- }), t[36] = O, t[37] = S, t[38] = bJ) : bJ = t[38];
34692
- let xJ;
34693
- t[39] !== d || t[40] !== i ? (xJ = I && (0, import_jsx_runtime.jsxs)(DropdownMenu, {
34685
+ }), t[36] = O, t[37] = S, t[38] = yJ) : yJ = t[38];
34686
+ let bJ;
34687
+ t[39] !== d || t[40] !== i ? (bJ = I && (0, import_jsx_runtime.jsxs)(DropdownMenu, {
34694
34688
  children: [
34695
34689
  (0, import_jsx_runtime.jsx)(DropdownMenuTrigger, {
34696
34690
  asChild: true,
@@ -34758,25 +34752,25 @@ ${d}`,
34758
34752
  ]
34759
34753
  })
34760
34754
  ]
34761
- }), t[39] = d, t[40] = i, t[41] = xJ) : xJ = t[41];
34762
- let SJ;
34763
- t[42] !== yJ || t[43] !== bJ || t[44] !== xJ ? (SJ = (0, import_jsx_runtime.jsxs)("div", {
34755
+ }), t[39] = d, t[40] = i, t[41] = bJ) : bJ = t[41];
34756
+ let xJ;
34757
+ t[42] !== vJ || t[43] !== yJ || t[44] !== bJ ? (xJ = (0, import_jsx_runtime.jsxs)("div", {
34764
34758
  className: "flex gap-2",
34765
34759
  children: [
34760
+ vJ,
34766
34761
  yJ,
34767
- bJ,
34768
- xJ
34762
+ bJ
34769
34763
  ]
34770
- }), t[42] = yJ, t[43] = bJ, t[44] = xJ, t[45] = SJ) : SJ = t[45];
34771
- let CJ;
34772
- return t[46] !== _J || t[47] !== vJ || t[48] !== SJ ? (CJ = (0, import_jsx_runtime.jsxs)("div", {
34764
+ }), t[42] = vJ, t[43] = yJ, t[44] = bJ, t[45] = xJ) : xJ = t[45];
34765
+ let SJ;
34766
+ return t[46] !== gJ || t[47] !== _J || t[48] !== xJ ? (SJ = (0, import_jsx_runtime.jsxs)("div", {
34773
34767
  className: "flex flex-col gap-2 min-w-full w-fit",
34774
34768
  children: [
34769
+ gJ,
34775
34770
  _J,
34776
- vJ,
34777
- SJ
34771
+ xJ
34778
34772
  ]
34779
- }), t[46] = _J, t[47] = vJ, t[48] = SJ, t[49] = CJ) : CJ = t[49], CJ;
34773
+ }), t[46] = gJ, t[47] = _J, t[48] = xJ, t[49] = SJ) : SJ = t[49], SJ;
34780
34774
  };
34781
34775
  function lastLine(e) {
34782
34776
  var _a2, _b;
@@ -36212,14 +36206,14 @@ ${d}`,
36212
36206
  Q
36213
36207
  ]
36214
36208
  }), t[33] = J, t[34] = Q, t[35] = $) : $ = t[35];
36215
- let pJ;
36216
- return t[36] !== I || t[37] !== $ ? (pJ = (0, import_jsx_runtime.jsxs)("div", {
36209
+ let fJ;
36210
+ return t[36] !== I || t[37] !== $ ? (fJ = (0, import_jsx_runtime.jsxs)("div", {
36217
36211
  className: "flex flex-col gap-3",
36218
36212
  children: [
36219
36213
  I,
36220
36214
  $
36221
36215
  ]
36222
- }), t[36] = I, t[37] = $, t[38] = pJ) : pJ = t[38], pJ;
36216
+ }), t[36] = I, t[37] = $, t[38] = fJ) : fJ = t[38], fJ;
36223
36217
  };
36224
36218
  SlideSidebar = (e) => {
36225
36219
  let t = (0, import_compiler_runtime$1.c)(30), { configWidth: n, layout: i, setLayout: a, activeConfigCell: s } = e, [c, d] = useAtom(slideConfigOpenAtom), f = c ? n : COLLAPSED_CONFIG_WIDTH, _;
@@ -36344,7 +36338,7 @@ ${d}`,
36344
36338
  return Logger.warn("Failed to get version from mount config"), null;
36345
36339
  }
36346
36340
  }
36347
- marimoVersionAtom = atom(getVersionFromMountConfig() || "0.23.16-dev35");
36341
+ marimoVersionAtom = atom(getVersionFromMountConfig() || "0.23.16-dev37");
36348
36342
  showCodeInRunModeAtom = atom(true);
36349
36343
  atom(null);
36350
36344
  var import_compiler_runtime = require_compiler_runtime();
@@ -36435,76 +36429,74 @@ export {
36435
36429
  useOverflowDetection as Zt,
36436
36430
  DataTable as _,
36437
36431
  __tla,
36438
- ChevronsLeft as _n,
36432
+ ChevronLeft as _n,
36439
36433
  TableCell as _t,
36440
36434
  DEFAULT_DECK_TRANSITION as a,
36441
- $fae977aafc393c5c$export$588937bcd60ade55 as an,
36435
+ TextWrap as an,
36442
36436
  contextAwarePanelType as at,
36443
36437
  downloadBlob as b,
36444
- ArrowDownWideNarrow as bn,
36445
36438
  TableRow as bt,
36446
36439
  SLIDE_TYPE_OPTIONS_BY_VALUE as c,
36447
- GripHorizontal as cn,
36440
+ EyeOff as cn,
36448
36441
  slotsController as ct,
36449
36442
  Switch as d,
36450
- Expand as dn,
36443
+ Download as dn,
36451
36444
  PanelGroup as dt,
36452
36445
  HtmlOutput as en,
36453
36446
  smartMatch as et,
36454
36447
  RadioGroup as f,
36455
- Ellipsis as fn,
36448
+ Code as fn,
36456
36449
  PanelResizeHandle as ft,
36457
36450
  OutputRenderer as g,
36458
- ChevronsRight as gn,
36451
+ ChevronsDownUp as gn,
36459
36452
  TableBody as gt,
36460
36453
  OutputArea as h,
36461
- ChevronsUpDown as hn,
36454
+ ChevronsLeft as hn,
36462
36455
  Table as ht,
36463
36456
  showCodeInRunModeAtom as i,
36464
- isRecord as in,
36457
+ $fae977aafc393c5c$export$6b862160d295c8e as in,
36465
36458
  contextAwarePanelOwner as it,
36466
36459
  LoadingState as j,
36467
36460
  loadTableAndRawData as jt,
36468
36461
  EmptyState as k,
36469
36462
  usePrevious as kt,
36470
36463
  SlideSidebar as l,
36471
- Funnel as ln,
36464
+ Expand as ln,
36472
36465
  Toggle as lt,
36473
36466
  JsonOutput as m,
36474
- Code as mn,
36467
+ ChevronsRight as mn,
36475
36468
  Provider$1 as mt,
36476
36469
  useNotebookCodeAvailable as n,
36477
36470
  safeLocale as nn,
36478
36471
  PANEL_TYPES as nt,
36479
36472
  DEFAULT_DECK_VERTICAL_ALIGN as o,
36480
- $fae977aafc393c5c$export$6b862160d295c8e as on,
36473
+ GripHorizontal as on,
36481
36474
  isCellAwareAtom as ot,
36482
36475
  RadioGroupItem as p,
36483
- Download as pn,
36476
+ ChevronsUpDown as pn,
36484
36477
  Fill as pt,
36485
36478
  ComboboxItem as q,
36486
36479
  ChartErrorState as qt,
36487
36480
  marimoVersionAtom as r,
36488
- hasFunctionProperty as rn,
36481
+ $fae977aafc393c5c$export$588937bcd60ade55 as rn,
36489
36482
  contextAwarePanelOpen as rt,
36490
36483
  DEFAULT_SLIDE_TYPE as s,
36491
- TextWrap as sn,
36484
+ Funnel as sn,
36492
36485
  SlotNames as st,
36493
36486
  cellDomProps as t,
36494
36487
  EmotionCacheProvider as tn,
36495
36488
  ContextAwarePanelItem as tt,
36496
36489
  Slide as u,
36497
- EyeOff as un,
36490
+ Ellipsis as un,
36498
36491
  Panel as ut,
36499
36492
  InstallPackageButton as v,
36500
- ChevronsDownUp as vn,
36493
+ ArrowDownWideNarrow as vn,
36501
36494
  TableHead as vt,
36502
36495
  Progress as w,
36503
36496
  renderCellValue as wt,
36504
36497
  downloadByURL as x,
36505
36498
  NAMELESS_COLUMN_PREFIX as xt,
36506
36499
  ADD_PRINTING_CLASS as y,
36507
- ChevronLeft as yn,
36508
36500
  TableHeader as yt,
36509
36501
  ContextMenuSeparator as z,
36510
36502
  Maps as zt