@marimo-team/islands 0.23.10-dev25 → 0.23.10-dev26

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.
@@ -12,14 +12,14 @@ import { c as Calendar, i as createReducerAndAtoms, r as Badge } from "./useLife
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-QB-3MpYr.js";
13
13
  import { t as Check } from "./check-BCaJeT-J.js";
14
14
  import { C as logNever, E as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7, I as X, N as usePrevious$1, O as $b5e257d569688ac6$export$535bd6ca7f90a273, P as useDirection, R as ChevronDown, T as $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5, _ as menuControlVariants, b as menuSeparatorVariants, f as selectStyles, g as menuControlCheckVariants, h as menuContentCommon, i as SelectContent, l as SelectTrigger, o as SelectItem, p as MENU_ITEM_DISABLED, r as Select, t as Strings, u as SelectValue, v as menuItemVariants, w as $a916eb452884faea$export$b7a616150fdb9f44, x as menuSubTriggerVariants, y as menuLabelVariants } from "./strings-J57tzLr3.js";
15
- import { $ as $e5be200c675c3b3a$export$a763b9476acd3eb, $t as Label$1, A as $514c0188e459b4c0$export$9afb8bc826b033ea, At as $c87311424ea30a05$export$a11b0059900ceec8, B as $64fa3d84918910a7$export$c245e6201fed2f75, Bt as $431fbd86ca7dc216$export$b204af158042fbac, C as $3985021b0ad6602f$export$f5b8910cec6cf069, Ct as $e9faafb641e167db$export$90fc3a17d93f704c, D as $ee014567cb39d3f0$export$f551688fc98f2e09, Dt as $c87311424ea30a05$export$6446a186d09e379e, E as $d3e0e05bdfcf66bd$export$c24727297075ec6a, Et as $313b98861ee5dd6c$export$d6875122194c7b44, F as $f39a9eba43920ace$export$b5d7cc18bb8d2b59, Ft as $d4ee10de306f2510$export$4282f70798064fe0, Gt as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, H as $64fa3d84918910a7$export$df3a06d6289f983e, Ht as $ff5963eb1fccf552$export$e08e3b67e392101e, I as $64fa3d84918910a7$export$2881499e37b75b9a, It as $d4ee10de306f2510$export$b4f377a2b6254582, Jt as CheckboxItem, K as marked, Kt as Anchor2, L as $64fa3d84918910a7$export$29f1550f4b0d4415, Lt as $d4ee10de306f2510$export$cd4e5573fbe2b576, M as $d2b4bc8c273e7be6$export$353f5b6fc5456de1, Mt as $7215afc6de606d6b$export$de79e2c695e052f3, N as $01b77f81d0f07f68$export$75b6ee27786ba447, Nt as $65484d02dcb7eb3e$export$457c3d6518dd4c6f, O as $ee014567cb39d3f0$export$ff05c3ac10437e03, Ot as $c87311424ea30a05$export$78551043582a6a98, P as $01b77f81d0f07f68$export$b04be29aa201d4f5, Pt as $3ef42575df84b30b$export$9d1611c77c2fe928, Q as $e5be200c675c3b3a$export$75ee7c75d68f5b0e, Qt as ItemIndicator, R as $64fa3d84918910a7$export$4d86445c2cf5e3, Rt as $d4ee10de306f2510$export$e58f029f0fbfdb29, S as $3985021b0ad6602f$export$37fb8590cf2c088c, St as $99facab73266f662$export$5add1d006293d136, T as $a049562f99e7db0e$export$f9c6924e160136d1, Tt as $df56164dff5785e2$export$4338b53315abf666, U as $64fa3d84918910a7$export$ef03459518577ad4, Ut as $bdb11010cef70236$export$b4cc09c592e8fdb8, V as $64fa3d84918910a7$export$c62b8e45d58ddad9, Vt as $431fbd86ca7dc216$export$f21a1ffae260145a, W as $64fa3d84918910a7$export$fabf2dc03a41866e, Wt as $bdb11010cef70236$export$f680877a34711e37, X as $2baaea4c71418dea$export$294aa081a6c6f55d, Xt as Group, Y as $d2e8511e6f209edf$export$e908e06f4b8e3402, Yt as Content2$1, Z as $e93e671b31057976$export$b8473d3665f3a75a, Zt as Item2$2, _t as $ae1eeba8b9eafd08$export$5165eccb35aaadb5, a as NumberField, an as Sub, b as DropdownMenuSubTrigger, bt as $b4b717babfbb907b$export$4c063cf1350e6fed, c as prettyNumber, cn as createMenuScope, ct as $fca6afa0e843324b$export$f12b703ca79dfbb1, d as DropdownMenuContent, dn as createRovingFocusGroupScope, dt as $6179b936705e76d3$export$ae780daf29e6d456, en as Portal, et as $e5be200c675c3b3a$export$aca958c65c314e6c, fn as Search, ft as $9ab94262bd0047c7$export$420e68273165f4ec, g as DropdownMenuSeparator, gt as _class_private_field_init, h as DropdownMenuPortal, ht as $f6c31cce2adf654f$export$45712eceda6fad21, in as Separator$1, it as $f7dceffc5ad7768b$export$4e328f61c538687f, j as $d2b4bc8c273e7be6$export$24d547caef80ccd1, jt as $c87311424ea30a05$export$fedb369cb70207f1, k as $514c0188e459b4c0$export$5f1af8db9871e1d6, kt as $c87311424ea30a05$export$9ac100e40613ea10, l as prettyScientificNumber, ln as Item, lt as $6db58dc88e78b024$export$2f817fcdc4b89ae0, m as DropdownMenuLabel, mn as ChevronRight, mt as $507fabe10e71c6fb$export$630ff653c5ada6a9, nn as RadioItem, nt as $e5be200c675c3b3a$export$fc1a364ae1f3ff10, o as maxFractionalDigits, on as SubContent, ot as $6c7bd7858deea686$export$cd11ab140839f11d, p as DropdownMenuItem, pn as Circle, pt as $3ad3f6e1647bc98d$export$80f3e147d781571c, qt as Arrow2, r as Input, rn as Root3, rt as $319e236875307eab$export$a9b970dcc4ae71a9, s as prettyEngineeringNumber, sn as SubTrigger, st as $fca6afa0e843324b$export$87b761675e8eaa10, tn as RadioGroup$2, tt as $e5be200c675c3b3a$export$dad6ae84456c676a, u as DropdownMenu, un as Root$2, ut as $5b160d28a433310d$export$c17fa47878dc55b6, v as DropdownMenuSub, vt as $9446cca9a3875146$export$7d15b64cf5a3a4c4, w as $a049562f99e7db0e$export$eb2fcfdbd7ba97d4, wt as $8ae05eaa5c114e9c$export$7f54fc3180508a52, x as DropdownMenuTrigger, xt as $b4b717babfbb907b$export$bebd5a1431fec25d, y as DropdownMenuSubContent, yt as $458b0a5536c1a7cf$export$40bfa8c7b0832715, z as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8, zt as $f4e2df6bd15f8569$export$98658e8c59125e6a } from "./input-CMYy4hzj.js";
15
+ import { $ as $e5be200c675c3b3a$export$a763b9476acd3eb, $t as Label$1, A as $514c0188e459b4c0$export$9afb8bc826b033ea, At as $c87311424ea30a05$export$a11b0059900ceec8, B as $64fa3d84918910a7$export$c245e6201fed2f75, Bt as $431fbd86ca7dc216$export$b204af158042fbac, C as $3985021b0ad6602f$export$f5b8910cec6cf069, Ct as $e9faafb641e167db$export$90fc3a17d93f704c, D as $ee014567cb39d3f0$export$f551688fc98f2e09, Dt as $c87311424ea30a05$export$6446a186d09e379e, E as $d3e0e05bdfcf66bd$export$c24727297075ec6a, Et as $313b98861ee5dd6c$export$d6875122194c7b44, F as $f39a9eba43920ace$export$b5d7cc18bb8d2b59, Ft as $d4ee10de306f2510$export$4282f70798064fe0, Gt as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, H as $64fa3d84918910a7$export$df3a06d6289f983e, Ht as $ff5963eb1fccf552$export$e08e3b67e392101e, I as $64fa3d84918910a7$export$2881499e37b75b9a, It as $d4ee10de306f2510$export$b4f377a2b6254582, Jt as CheckboxItem, K as marked, Kt as Anchor2, L as $64fa3d84918910a7$export$29f1550f4b0d4415, Lt as $d4ee10de306f2510$export$cd4e5573fbe2b576, M as $d2b4bc8c273e7be6$export$353f5b6fc5456de1, Mt as $7215afc6de606d6b$export$de79e2c695e052f3, N as $01b77f81d0f07f68$export$75b6ee27786ba447, Nt as $65484d02dcb7eb3e$export$457c3d6518dd4c6f, O as $ee014567cb39d3f0$export$ff05c3ac10437e03, Ot as $c87311424ea30a05$export$78551043582a6a98, P as $01b77f81d0f07f68$export$b04be29aa201d4f5, Pt as $3ef42575df84b30b$export$9d1611c77c2fe928, Q as $e5be200c675c3b3a$export$75ee7c75d68f5b0e, Qt as ItemIndicator, R as $64fa3d84918910a7$export$4d86445c2cf5e3, Rt as $d4ee10de306f2510$export$e58f029f0fbfdb29, S as $3985021b0ad6602f$export$37fb8590cf2c088c, St as $99facab73266f662$export$5add1d006293d136, T as $a049562f99e7db0e$export$f9c6924e160136d1, Tt as $df56164dff5785e2$export$4338b53315abf666, U as $64fa3d84918910a7$export$ef03459518577ad4, Ut as $bdb11010cef70236$export$b4cc09c592e8fdb8, V as $64fa3d84918910a7$export$c62b8e45d58ddad9, Vt as $431fbd86ca7dc216$export$f21a1ffae260145a, W as $64fa3d84918910a7$export$fabf2dc03a41866e, Wt as $bdb11010cef70236$export$f680877a34711e37, X as $2baaea4c71418dea$export$294aa081a6c6f55d, Xt as Group, Y as $d2e8511e6f209edf$export$e908e06f4b8e3402, Yt as Content2$1, Z as $e93e671b31057976$export$b8473d3665f3a75a, Zt as Item2$2, _t as $ae1eeba8b9eafd08$export$5165eccb35aaadb5, a as NumberField, an as Sub, b as DropdownMenuSubTrigger, bt as $b4b717babfbb907b$export$4c063cf1350e6fed, c as prettyNumber, cn as createMenuScope, ct as $fca6afa0e843324b$export$f12b703ca79dfbb1, d as DropdownMenuContent, dn as createRovingFocusGroupScope, dt as $6179b936705e76d3$export$ae780daf29e6d456, en as Portal, et as $e5be200c675c3b3a$export$aca958c65c314e6c, fn as Search, ft as $9ab94262bd0047c7$export$420e68273165f4ec, g as DropdownMenuSeparator, gt as _class_private_field_init, h as DropdownMenuPortal, ht as $f6c31cce2adf654f$export$45712eceda6fad21, in as Separator$1, it as $f7dceffc5ad7768b$export$4e328f61c538687f, j as $d2b4bc8c273e7be6$export$24d547caef80ccd1, jt as $c87311424ea30a05$export$fedb369cb70207f1, k as $514c0188e459b4c0$export$5f1af8db9871e1d6, kt as $c87311424ea30a05$export$9ac100e40613ea10, l as prettyScientificNumber, ln as Item, lt as $6db58dc88e78b024$export$2f817fcdc4b89ae0, m as DropdownMenuLabel, mn as ChevronRight, mt as $507fabe10e71c6fb$export$630ff653c5ada6a9, nn as RadioItem, nt as $e5be200c675c3b3a$export$fc1a364ae1f3ff10, o as maxFractionalDigits, on as SubContent, ot as $6c7bd7858deea686$export$cd11ab140839f11d, p as DropdownMenuItem, pn as Circle, pt as $3ad3f6e1647bc98d$export$80f3e147d781571c, qt as Arrow2, r as Input, rn as Root3, rt as $319e236875307eab$export$a9b970dcc4ae71a9, s as prettyEngineeringNumber, sn as SubTrigger, st as $fca6afa0e843324b$export$87b761675e8eaa10, tn as RadioGroup$2, tt as $e5be200c675c3b3a$export$dad6ae84456c676a, u as DropdownMenu, un as Root$3, ut as $5b160d28a433310d$export$c17fa47878dc55b6, v as DropdownMenuSub, vt as $9446cca9a3875146$export$7d15b64cf5a3a4c4, w as $a049562f99e7db0e$export$eb2fcfdbd7ba97d4, wt as $8ae05eaa5c114e9c$export$7f54fc3180508a52, x as DropdownMenuTrigger, xt as $b4b717babfbb907b$export$bebd5a1431fec25d, y as DropdownMenuSubContent, yt as $458b0a5536c1a7cf$export$40bfa8c7b0832715, z as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8, zt as $f4e2df6bd15f8569$export$98658e8c59125e6a } from "./input-CMYy4hzj.js";
16
16
  import { _ as isWasm, a as millisecondsInMinute, c as asRemoteURL, d as isStaticNotebook, i as millisecondsInHour, n as constructFrom, o as millisecondsInSecond, p as isUrl, r as millisecondsInDay, s as millisecondsInWeek, t as toDate } from "./toDate-d8RCRrRd.js";
17
17
  import { r as Plus, t as ErrorBoundary } from "./ErrorBoundary-DpbaKVv7.js";
18
18
  import { n as clsx_default } from "./clsx-CIWA5tNO.js";
19
19
  import { t as require_react_dom } from "./react-dom-BTJzcVJ9.js";
20
20
  import { t as require_jsx_runtime } from "./jsx-runtime-DebpN0FN.js";
21
21
  import { Q as withSmartCollisionBoundary, Y as MAX_HEIGHT_OFFSET, Z as withFullScreenAsRoot, _t as createContextScope, dt as useId$2, et as StyleNamespace, ft as Presence, ht as composeEventHandlers, pt as useControllableState, ut as useCallbackRef, vt as Primitive$1 } from "./zod-aLSua2NL.js";
22
- import { a as Content$1, c as Root$3, i as prettyError, n as ErrorBanner, o as Overlay, s as Portal$1, t as Banner } from "./error-banner-Cc0I3C9e.js";
22
+ import { a as Content$1, c as Root$4, i as prettyError, n as ErrorBanner, o as Overlay, s as Portal$1, t as Banner } from "./error-banner-Cc0I3C9e.js";
23
23
  import { a as TooltipRoot, n as TooltipContent, o as TooltipTrigger, r as TooltipPortal, t as Tooltip } from "./tooltip-DpcyNkQ2.js";
24
24
  import { f as CopyClipboardIcon, t as _extends } from "./extends-D_hDsj6R.js";
25
25
  import { r as KnownQueryParams } from "./constants-T20xxyNf.js";
@@ -35,7 +35,7 @@ import { n as formats } from "./vega-loader.browser-CZ-J8Py3.js";
35
35
  import { a as getContainerWidth, n as vegaLoadData, r as createBatchedLoader, s as tooltipHandler, t as parseCsvData } from "./loader-BWLPpjKK.js";
36
36
  import { t as useIframeCapabilities } from "./useIframeCapabilities-C4JTXTIh.js";
37
37
  import { t as useAsyncData } from "./useAsyncData-PonK__yh.js";
38
- let PanelGroup, Code, ContextMenuTrigger, dateToLocalISOTime, CommandList, RenderTextWithLinks, prettifyRowColumnCount, TOO_MANY_ROWS, ContextMenuContent, Maps, ContextMenu, isNullishFilter, ComboboxItem, ChartErrorState, contextAwarePanelOpen, $fae977aafc393c5c$export$6b862160d295c8e, smartMatch, HtmlOutput, Command, ChartInfoState, isCellAwareAtom, Funnel, contextAwarePanelOwner, TextWrap, CommandEmpty, ChartLoadingState, DatePicker, TabsContent, DateRangePicker, TabsList, ContextMenuItem, dateToLocalISODate, Combobox, TabsTrigger, Panel, Download, CommandInput, LazyVegaEmbed, downloadSizeLimitAtom, SELECT_COLUMN_ID, getColumnCountForDisplay, getMimeValues, ContextAwarePanelItem, EmotionCacheProvider, CommandSeparator, Kbd, PANEL_TYPES, $fae977aafc393c5c$export$588937bcd60ade55, slotsController, Expand, SlotNames, EyeOff, Toggle, Ellipsis, downloadBlob, usePrevious, DEFAULT_SLIDE_TYPE, ArrowDownWideNarrow, TableCell, Progress, loadTableData, Slide, TableRow, JsonOutput, inferFieldTypes, ChevronsUpDown, PanelResizeHandle, OutputArea, renderCellValue, ADD_PRINTING_CLASS, useIntersectionObserver, InstallPackageButton, DelayMount, DEFAULT_DECK_TRANSITION, ChevronLeft, TableBody, useInternalStateWithSync, Tabs, ContextMenuSeparator, dateToLocalISODateTime, RadioGroup, NAMELESS_COLUMN_PREFIX, DataTable, ColumnChartSpecModel, marimoVersionAtom, ChevronsLeft, Provider$1, SLIDE_TYPE_OPTIONS_BY_VALUE, TableHead, OutputRenderer, ColumnChartContext, contextAwarePanelType, GripHorizontal, showCodeInRunModeAtom, ChevronsDownUp, Table, SlideSidebar, TableHeader, useNotebookCodeAvailable, ChevronsRight, Fill, RadioGroupItem, generateColumns, downloadByURL, getPageIndexForRow, prettifyRowCount, toFieldTypes, Filenames, INDEX_COLUMN_NAME, downloadHTMLAsImage, loadTableAndRawData, CommandItem, useOverflowDetection;
38
+ let Panel, Download, ContextMenuSeparator, dateToLocalISODateTime, CommandItem, useOverflowDetection, downloadSizeLimitAtom, SELECT_COLUMN_ID, ContextMenu, isNullishFilter, getColumnCountForDisplay, getMimeValues, Combobox, TabsTrigger, PANEL_TYPES, $fae977aafc393c5c$export$588937bcd60ade55, CommandSeparator, Kbd, ComboboxItem, ChartErrorState, contextAwarePanelType, GripHorizontal, contextAwarePanelOpen, $fae977aafc393c5c$export$6b862160d295c8e, Command, ChartInfoState, useInternalStateWithSync, Tabs, DatePicker, TabsContent, ContextMenuContent, Maps, DateRangePicker, TabsList, Toggle, Ellipsis, CommandEmpty, ChartLoadingState, Filenames, INDEX_COLUMN_NAME, prettifyRowCount, toFieldTypes, smartMatch, HtmlOutput, CommandList, RenderTextWithLinks, ContextAwarePanelItem, EmotionCacheProvider, SlotNames, EyeOff, isCellAwareAtom, Funnel, slotsController, Expand, ADD_PRINTING_CLASS, useIntersectionObserver, DEFAULT_SLIDE_TYPE, ChevronLeft, TableBody, downloadHTMLAsImage, loadTableAndRawData, Slide, TableHeader, RadioGroupItem, generateColumns, Code, PanelGroup, JsonOutput, inferFieldTypes, InstallPackageButton, DelayMount, DataTable, ColumnChartSpecModel, DEFAULT_DECK_TRANSITION, ChevronsDownUp, Table, ContextMenuTrigger, dateToLocalISOTime, ContextMenuItem, dateToLocalISODate, Switch, TableRow, OutputRenderer, ColumnChartContext, marimoVersionAtom, ChevronsRight, Fill, SLIDE_TYPE_OPTIONS_BY_VALUE, ArrowDownWideNarrow, TableCell, OutputArea, renderCellValue, contextAwarePanelOwner, TextWrap, showCodeInRunModeAtom, ChevronsLeft, Provider$1, SlideSidebar, TableHead, useNotebookCodeAvailable, ChevronsUpDown, PanelResizeHandle, RadioGroup, NAMELESS_COLUMN_PREFIX, downloadBlob, usePrevious, prettifyRowColumnCount, TOO_MANY_ROWS, Progress, loadTableData, downloadByURL, getPageIndexForRow, CommandInput, LazyVegaEmbed;
39
39
  let __tla = Promise.all([
40
40
  (() => {
41
41
  try {
@@ -1397,7 +1397,7 @@ let __tla = Promise.all([
1397
1397
 
1398
1398
  Defaulting to \`null\`.`;
1399
1399
  }
1400
- var Root$1 = Progress$1, Indicator$1 = ProgressIndicator, RADIO_NAME = "Radio", [createRadioContext, createRadioScope] = createContextScope(RADIO_NAME), [RadioProvider, useRadioContext] = createRadioContext(RADIO_NAME), Radio = import_react.forwardRef((e, t) => {
1400
+ var Root$2 = Progress$1, Indicator$1 = ProgressIndicator, RADIO_NAME = "Radio", [createRadioContext, createRadioScope] = createContextScope(RADIO_NAME), [RadioProvider, useRadioContext] = createRadioContext(RADIO_NAME), Radio = import_react.forwardRef((e, t) => {
1401
1401
  let { __scopeRadio: n, name: i, checked: a = false, required: o, disabled: c, value: d = "on", onCheck: f, form: h, ..._ } = e, [v, y] = import_react.useState(null), S = useComposedRefs(t, (e2) => y(e2)), w = import_react.useRef(false), E = v ? h || !!v.closest("form") : true;
1402
1402
  return (0, import_jsx_runtime.jsxs)(RadioProvider, {
1403
1403
  scope: n,
@@ -1408,7 +1408,7 @@ Defaulting to \`null\`.`;
1408
1408
  type: "button",
1409
1409
  role: "radio",
1410
1410
  "aria-checked": a,
1411
- "data-state": getState(a),
1411
+ "data-state": getState$1(a),
1412
1412
  "data-disabled": c ? "" : void 0,
1413
1413
  disabled: c,
1414
1414
  value: d,
@@ -1440,7 +1440,7 @@ Defaulting to \`null\`.`;
1440
1440
  return (0, import_jsx_runtime.jsx)(Presence, {
1441
1441
  present: i || o.checked,
1442
1442
  children: (0, import_jsx_runtime.jsx)(Primitive$1.span, {
1443
- "data-state": getState(o.checked),
1443
+ "data-state": getState$1(o.checked),
1444
1444
  "data-disabled": o.disabled ? "" : void 0,
1445
1445
  ...a,
1446
1446
  ref: t
@@ -1448,7 +1448,7 @@ Defaulting to \`null\`.`;
1448
1448
  });
1449
1449
  });
1450
1450
  RadioIndicator.displayName = INDICATOR_NAME;
1451
- var BUBBLE_INPUT_NAME = "RadioBubbleInput", RadioBubbleInput = import_react.forwardRef(({ __scopeRadio: e, control: t, checked: n, bubbles: i = true, ...a }, o) => {
1451
+ var BUBBLE_INPUT_NAME$1 = "RadioBubbleInput", RadioBubbleInput = import_react.forwardRef(({ __scopeRadio: e, control: t, checked: n, bubbles: i = true, ...a }, o) => {
1452
1452
  let c = import_react.useRef(null), d = useComposedRefs(c, o), f = usePrevious$1(n), h = useSize(t);
1453
1453
  return import_react.useEffect(() => {
1454
1454
  let e2 = c.current;
@@ -1481,8 +1481,8 @@ Defaulting to \`null\`.`;
1481
1481
  }
1482
1482
  });
1483
1483
  });
1484
- RadioBubbleInput.displayName = BUBBLE_INPUT_NAME;
1485
- function getState(e) {
1484
+ RadioBubbleInput.displayName = BUBBLE_INPUT_NAME$1;
1485
+ function getState$1(e) {
1486
1486
  return e ? "checked" : "unchecked";
1487
1487
  }
1488
1488
  var ARROW_KEYS = [
@@ -1507,7 +1507,7 @@ Defaulting to \`null\`.`;
1507
1507
  disabled: c,
1508
1508
  value: w,
1509
1509
  onValueChange: E,
1510
- children: (0, import_jsx_runtime.jsx)(Root$2, {
1510
+ children: (0, import_jsx_runtime.jsx)(Root$3, {
1511
1511
  asChild: true,
1512
1512
  ...y,
1513
1513
  orientation: d,
@@ -1569,7 +1569,98 @@ Defaulting to \`null\`.`;
1569
1569
  });
1570
1570
  });
1571
1571
  RadioGroupIndicator.displayName = INDICATOR_NAME2;
1572
- var Root2$1 = RadioGroup$1, Item2 = RadioGroupItem$1, Indicator = RadioGroupIndicator, TABS_NAME = "Tabs", [createTabsContext, createTabsScope] = createContextScope(TABS_NAME, [
1572
+ var Root2$1 = RadioGroup$1, Item2 = RadioGroupItem$1, Indicator = RadioGroupIndicator, SWITCH_NAME = "Switch", [createSwitchContext, createSwitchScope] = createContextScope(SWITCH_NAME), [SwitchProvider, useSwitchContext] = createSwitchContext(SWITCH_NAME), Switch$1 = import_react.forwardRef((e, t) => {
1573
+ let { __scopeSwitch: n, name: i, checked: a, defaultChecked: o, required: c, disabled: d, value: f = "on", onCheckedChange: h, form: _, ...v } = e, [y, S] = import_react.useState(null), w = useComposedRefs(t, (e2) => S(e2)), E = import_react.useRef(false), O = y ? _ || !!y.closest("form") : true, [A, M] = useControllableState({
1574
+ prop: a,
1575
+ defaultProp: o ?? false,
1576
+ onChange: h,
1577
+ caller: SWITCH_NAME
1578
+ });
1579
+ return (0, import_jsx_runtime.jsxs)(SwitchProvider, {
1580
+ scope: n,
1581
+ checked: A,
1582
+ disabled: d,
1583
+ children: [
1584
+ (0, import_jsx_runtime.jsx)(Primitive$1.button, {
1585
+ type: "button",
1586
+ role: "switch",
1587
+ "aria-checked": A,
1588
+ "aria-required": c,
1589
+ "data-state": getState(A),
1590
+ "data-disabled": d ? "" : void 0,
1591
+ disabled: d,
1592
+ value: f,
1593
+ ...v,
1594
+ ref: w,
1595
+ onClick: composeEventHandlers(e.onClick, (e2) => {
1596
+ M((e3) => !e3), O && (E.current = e2.isPropagationStopped(), E.current || e2.stopPropagation());
1597
+ })
1598
+ }),
1599
+ O && (0, import_jsx_runtime.jsx)(SwitchBubbleInput, {
1600
+ control: y,
1601
+ bubbles: !E.current,
1602
+ name: i,
1603
+ value: f,
1604
+ checked: A,
1605
+ required: c,
1606
+ disabled: d,
1607
+ form: _,
1608
+ style: {
1609
+ transform: "translateX(-100%)"
1610
+ }
1611
+ })
1612
+ ]
1613
+ });
1614
+ });
1615
+ Switch$1.displayName = SWITCH_NAME;
1616
+ var THUMB_NAME = "SwitchThumb", SwitchThumb = import_react.forwardRef((e, t) => {
1617
+ let { __scopeSwitch: n, ...i } = e, a = useSwitchContext(THUMB_NAME, n);
1618
+ return (0, import_jsx_runtime.jsx)(Primitive$1.span, {
1619
+ "data-state": getState(a.checked),
1620
+ "data-disabled": a.disabled ? "" : void 0,
1621
+ ...i,
1622
+ ref: t
1623
+ });
1624
+ });
1625
+ SwitchThumb.displayName = THUMB_NAME;
1626
+ var BUBBLE_INPUT_NAME = "SwitchBubbleInput", SwitchBubbleInput = import_react.forwardRef(({ __scopeSwitch: e, control: t, checked: n, bubbles: i = true, ...a }, o) => {
1627
+ let c = import_react.useRef(null), d = useComposedRefs(c, o), f = usePrevious$1(n), h = useSize(t);
1628
+ return import_react.useEffect(() => {
1629
+ let e2 = c.current;
1630
+ if (!e2) return;
1631
+ let t2 = window.HTMLInputElement.prototype, a2 = Object.getOwnPropertyDescriptor(t2, "checked").set;
1632
+ if (f !== n && a2) {
1633
+ let t3 = new Event("click", {
1634
+ bubbles: i
1635
+ });
1636
+ a2.call(e2, n), e2.dispatchEvent(t3);
1637
+ }
1638
+ }, [
1639
+ f,
1640
+ n,
1641
+ i
1642
+ ]), (0, import_jsx_runtime.jsx)("input", {
1643
+ type: "checkbox",
1644
+ "aria-hidden": true,
1645
+ defaultChecked: n,
1646
+ ...a,
1647
+ tabIndex: -1,
1648
+ ref: d,
1649
+ style: {
1650
+ ...a.style,
1651
+ ...h,
1652
+ position: "absolute",
1653
+ pointerEvents: "none",
1654
+ opacity: 0,
1655
+ margin: 0
1656
+ }
1657
+ });
1658
+ });
1659
+ SwitchBubbleInput.displayName = BUBBLE_INPUT_NAME;
1660
+ function getState(e) {
1661
+ return e ? "checked" : "unchecked";
1662
+ }
1663
+ var Root$1 = Switch$1, Thumb = SwitchThumb, TABS_NAME = "Tabs", [createTabsContext, createTabsScope] = createContextScope(TABS_NAME, [
1573
1664
  createRovingFocusGroupScope
1574
1665
  ]), useRovingFocusGroupScope = createRovingFocusGroupScope(), [TabsProvider, useTabsContext] = createTabsContext(TABS_NAME), Tabs$1 = import_react.forwardRef((e, t) => {
1575
1666
  let { __scopeTabs: n, value: i, onValueChange: a, defaultValue: o, orientation: s = "horizontal", dir: c, activationMode: d = "automatic", ...f } = e, h = useDirection(c), [_, v] = useControllableState({
@@ -1597,7 +1688,7 @@ Defaulting to \`null\`.`;
1597
1688
  Tabs$1.displayName = TABS_NAME;
1598
1689
  var TAB_LIST_NAME = "TabsList", TabsList$1 = import_react.forwardRef((e, t) => {
1599
1690
  let { __scopeTabs: n, loop: i = true, ...a } = e, o = useTabsContext(TAB_LIST_NAME, n), s = useRovingFocusGroupScope(n);
1600
- return (0, import_jsx_runtime.jsx)(Root$2, {
1691
+ return (0, import_jsx_runtime.jsx)(Root$3, {
1601
1692
  asChild: true,
1602
1693
  ...s,
1603
1694
  orientation: o.orientation,
@@ -1902,21 +1993,21 @@ Defaulting to \`null\`.`;
1902
1993
  function $2f04cbc44ee30ce0$export$53a0910f038337bd(e, t, n = {}) {
1903
1994
  let { block: i = "nearest", inline: a = "nearest" } = n;
1904
1995
  if (e === t) return;
1905
- let o = e.scrollTop, s = e.scrollLeft, c = t.getBoundingClientRect(), d = e.getBoundingClientRect(), f = window.getComputedStyle(t), h = window.getComputedStyle(e), _ = document.scrollingElement || document.documentElement, v = e === _ ? 0 : d.top, y = e === _ ? e.clientHeight : d.bottom, S = e === _ ? 0 : d.left, w = e === _ ? e.clientWidth : d.right, E = parseInt(f.scrollMarginTop, 10) || 0, O = parseInt(f.scrollMarginBottom, 10) || 0, A = parseInt(f.scrollMarginLeft, 10) || 0, M = parseInt(f.scrollMarginRight, 10) || 0, I = parseInt(h.scrollPaddingTop, 10) || 0, z = parseInt(h.scrollPaddingBottom, 10) || 0, U = parseInt(h.scrollPaddingLeft, 10) || 0, K = parseInt(h.scrollPaddingRight, 10) || 0, q = parseInt(h.borderTopWidth, 10) || 0, J = parseInt(h.borderBottomWidth, 10) || 0, Q = parseInt(h.borderLeftWidth, 10) || 0, GK = parseInt(h.borderRightWidth, 10) || 0, KK = c.top - E, qK = c.bottom + O, JK = c.left - A, $ = c.right + M, YK = e === _ ? 0 : Q + GK, XK = e === _ ? 0 : q + J, ZK = e.offsetWidth - e.clientWidth - YK, QK = e.offsetHeight - e.clientHeight - XK, $K = v + q + I, eq = y - J - z - QK, tq = S + Q + U, nq = w - GK - K;
1906
- h.direction === "rtl" && !$c87311424ea30a05$export$fedb369cb70207f1() ? tq += ZK : nq -= ZK;
1907
- let rq = KK < $K || qK > eq, iq = JK < tq || $ > nq;
1908
- if (rq && i === "start") o += KK - $K;
1909
- else if (rq && i === "center") o += (KK + qK) / 2 - ($K + eq) / 2;
1910
- else if (rq && i === "end") o += qK - eq;
1911
- else if (rq && i === "nearest") {
1912
- let e2 = KK - $K, t2 = qK - eq;
1996
+ 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, cq = parseInt(h.borderRightWidth, 10) || 0, lq = c.top - E, uq = c.bottom + O, dq = c.left - A, $ = c.right + M, fq = e === _ ? 0 : Q + cq, pq = e === _ ? 0 : q + J, mq = e.offsetWidth - e.clientWidth - fq, hq = e.offsetHeight - e.clientHeight - pq, gq = v + q + I, _q = y - J - z - hq, vq = S + Q + U, yq = w - cq - K;
1997
+ h.direction === "rtl" && !$c87311424ea30a05$export$fedb369cb70207f1() ? vq += mq : yq -= mq;
1998
+ let bq = lq < gq || uq > _q, xq = dq < vq || $ > yq;
1999
+ if (bq && i === "start") o += lq - gq;
2000
+ else if (bq && i === "center") o += (lq + uq) / 2 - (gq + _q) / 2;
2001
+ else if (bq && i === "end") o += uq - _q;
2002
+ else if (bq && i === "nearest") {
2003
+ let e2 = lq - gq, t2 = uq - _q;
1913
2004
  o += Math.abs(e2) <= Math.abs(t2) ? e2 : t2;
1914
2005
  }
1915
- if (iq && a === "start") s += JK - tq;
1916
- else if (iq && a === "center") s += (JK + $) / 2 - (tq + nq) / 2;
1917
- else if (iq && a === "end") s += $ - nq;
1918
- else if (iq && a === "nearest") {
1919
- let e2 = JK - tq, t2 = $ - nq;
2006
+ if (xq && a === "start") s += dq - vq;
2007
+ else if (xq && a === "center") s += (dq + $) / 2 - (vq + yq) / 2;
2008
+ else if (xq && a === "end") s += $ - yq;
2009
+ else if (xq && a === "nearest") {
2010
+ let e2 = dq - vq, t2 = $ - yq;
1920
2011
  s += Math.abs(e2) <= Math.abs(t2) ? e2 : t2;
1921
2012
  }
1922
2013
  e.scrollTo({
@@ -5024,25 +5115,25 @@ Defaulting to \`null\`.`;
5024
5115
  let e2 = $edcf132a9284368a$var$parsePlacement(`${$edcf132a9284368a$var$FLIPPED_DIRECTION[U]} ${K}`), i2 = $edcf132a9284368a$var$computePosition(t, c, n, e2, h, _, f, v, S, w, d);
5025
5116
  $edcf132a9284368a$var$getAvailableSpace(c, f, t, a, o + h, e2, d, E) > Q && (A = e2, q = i2, J = h);
5026
5117
  }
5027
- let GK = "bottom";
5028
- A.axis === "top" ? A.placement === "top" ? GK = "top" : A.placement === "bottom" && (GK = "bottom") : A.crossAxis === "top" && (A.crossPlacement === "top" ? GK = "bottom" : A.crossPlacement === "bottom" && (GK = "top"));
5029
- let KK = $edcf132a9284368a$var$getDelta(I, q[I], n[z], c, d, o, f);
5030
- q[I] += KK;
5031
- let qK = $edcf132a9284368a$var$getMaxHeight(q, c, f, v, a, o, n.height, GK, d, E, O);
5032
- y && y < qK && (qK = y), n.height = Math.min(n.height, qK), q = $edcf132a9284368a$var$computePosition(t, c, n, A, J, _, f, v, S, w, d), KK = $edcf132a9284368a$var$getDelta(I, q[I], n[z], c, d, o, f), q[I] += KK;
5033
- let JK = {}, $ = t[I] - q[I] - a[$edcf132a9284368a$var$AXIS[I]], YK = $ + 0.5 * t[z], XK = S / 2 + w, ZK = $edcf132a9284368a$var$AXIS[I] === "left" ? (a.left ?? 0) + (a.right ?? 0) : (a.top ?? 0) + (a.bottom ?? 0), QK = n[z] - ZK - S / 2 - w;
5034
- JK[I] = $9446cca9a3875146$export$7d15b64cf5a3a4c4($9446cca9a3875146$export$7d15b64cf5a3a4c4(YK, t[I] + S / 2 - (q[I] + a[$edcf132a9284368a$var$AXIS[I]]), t[I] + t[z] - S / 2 - (q[I] + a[$edcf132a9284368a$var$AXIS[I]])), XK, QK), { placement: U, crossPlacement: K } = A, S ? $ = JK[I] : K === "right" ? $ += t[z] : K === "center" && ($ += t[z] / 2);
5035
- let $K = U === "left" || U === "top" ? n[M] : 0, eq = {
5036
- x: U === "top" || U === "bottom" ? $ : $K,
5037
- y: U === "left" || U === "right" ? $ : $K
5118
+ let cq = "bottom";
5119
+ A.axis === "top" ? A.placement === "top" ? cq = "top" : A.placement === "bottom" && (cq = "bottom") : A.crossAxis === "top" && (A.crossPlacement === "top" ? cq = "bottom" : A.crossPlacement === "bottom" && (cq = "top"));
5120
+ let lq = $edcf132a9284368a$var$getDelta(I, q[I], n[z], c, d, o, f);
5121
+ q[I] += lq;
5122
+ let uq = $edcf132a9284368a$var$getMaxHeight(q, c, f, v, a, o, n.height, cq, d, E, O);
5123
+ y && y < uq && (uq = y), n.height = Math.min(n.height, uq), q = $edcf132a9284368a$var$computePosition(t, c, n, A, J, _, f, v, S, w, d), lq = $edcf132a9284368a$var$getDelta(I, q[I], n[z], c, d, o, f), q[I] += lq;
5124
+ let dq = {}, $ = t[I] - q[I] - a[$edcf132a9284368a$var$AXIS[I]], fq = $ + 0.5 * t[z], pq = S / 2 + w, mq = $edcf132a9284368a$var$AXIS[I] === "left" ? (a.left ?? 0) + (a.right ?? 0) : (a.top ?? 0) + (a.bottom ?? 0), hq = n[z] - mq - S / 2 - w;
5125
+ dq[I] = $9446cca9a3875146$export$7d15b64cf5a3a4c4($9446cca9a3875146$export$7d15b64cf5a3a4c4(fq, t[I] + S / 2 - (q[I] + a[$edcf132a9284368a$var$AXIS[I]]), t[I] + t[z] - S / 2 - (q[I] + a[$edcf132a9284368a$var$AXIS[I]])), pq, hq), { placement: U, crossPlacement: K } = A, S ? $ = dq[I] : K === "right" ? $ += t[z] : K === "center" && ($ += t[z] / 2);
5126
+ let gq = U === "left" || U === "top" ? n[M] : 0, _q = {
5127
+ x: U === "top" || U === "bottom" ? $ : gq,
5128
+ y: U === "left" || U === "right" ? $ : gq
5038
5129
  };
5039
5130
  return {
5040
5131
  position: q,
5041
- maxHeight: qK,
5042
- arrowOffsetLeft: JK.left,
5043
- arrowOffsetTop: JK.top,
5132
+ maxHeight: uq,
5133
+ arrowOffsetLeft: dq.left,
5134
+ arrowOffsetTop: dq.top,
5044
5135
  placement: U,
5045
- triggerAnchorPoint: eq
5136
+ triggerAnchorPoint: _q
5046
5137
  };
5047
5138
  }
5048
5139
  function $edcf132a9284368a$export$b3ceb0cbf1056d98(e) {
@@ -6867,7 +6958,7 @@ Defaulting to \`null\`.`;
6867
6958
  let e2 = window.getSelection();
6868
6959
  (e2 == null ? void 0 : e2.anchorNode) && $d4ee10de306f2510$export$4282f70798064fe0(n.current, e2 == null ? void 0 : e2.anchorNode) && e2.collapse(n.current);
6869
6960
  });
6870
- let GK = (0, import_react.useRef)("");
6961
+ let cq = (0, import_react.useRef)("");
6871
6962
  $e9faafb641e167db$export$90fc3a17d93f704c(n, "beforeinput", (i2) => {
6872
6963
  if (n.current) switch (i2.preventDefault(), i2.inputType) {
6873
6964
  case "deleteContentBackward":
@@ -6875,7 +6966,7 @@ Defaulting to \`null\`.`;
6875
6966
  E.isValidPartialNumber(e.text) && !t.isReadOnly && O();
6876
6967
  break;
6877
6968
  case "insertCompositionText":
6878
- GK.current = n.current.textContent, n.current.textContent = n.current.textContent;
6969
+ cq.current = n.current.textContent, n.current.textContent = n.current.textContent;
6879
6970
  break;
6880
6971
  default:
6881
6972
  i2.data != null && J(i2.data);
@@ -6885,7 +6976,7 @@ Defaulting to \`null\`.`;
6885
6976
  let { inputType: t2, data: i2 } = e2;
6886
6977
  switch (t2) {
6887
6978
  case "insertCompositionText":
6888
- n.current && (n.current.textContent = GK.current), i2 != null && (M(z, i2) || M(U, i2)) && J(i2);
6979
+ n.current && (n.current.textContent = cq.current), i2 != null && (M(z, i2) || M(U, i2)) && J(i2);
6889
6980
  break;
6890
6981
  }
6891
6982
  }), $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(() => {
@@ -6897,7 +6988,7 @@ Defaulting to \`null\`.`;
6897
6988
  n,
6898
6989
  h
6899
6990
  ]);
6900
- let KK = $c87311424ea30a05$export$fedb369cb70207f1() || e.type === "timeZoneName" ? {
6991
+ let lq = $c87311424ea30a05$export$fedb369cb70207f1() || e.type === "timeZoneName" ? {
6901
6992
  role: "textbox",
6902
6993
  "aria-valuemax": null,
6903
6994
  "aria-valuemin": null,
@@ -6907,7 +6998,7 @@ Defaulting to \`null\`.`;
6907
6998
  e !== (0, import_react.useMemo)(() => t.segments.find((e2) => e2.isEditable), [
6908
6999
  t.segments
6909
7000
  ]) && !t.isInvalid && (f = void 0);
6910
- let qK = $bdb11010cef70236$export$f680877a34711e37(), JK = !t.isDisabled && !t.isReadOnly && e.isEditable, $ = e.type === "literal" ? "" : s.of(e.type), YK = $313b98861ee5dd6c$export$d6875122194c7b44({
7001
+ let uq = $bdb11010cef70236$export$f680877a34711e37(), dq = !t.isDisabled && !t.isReadOnly && e.isEditable, $ = e.type === "literal" ? "" : s.of(e.type), fq = $313b98861ee5dd6c$export$d6875122194c7b44({
6911
7002
  "aria-label": `${$}${c ? `, ${c}` : ""}${d ? ", " : ""}`,
6912
7003
  "aria-labelledby": d
6913
7004
  });
@@ -6916,32 +7007,32 @@ Defaulting to \`null\`.`;
6916
7007
  "aria-hidden": true
6917
7008
  }
6918
7009
  };
6919
- let XK = {
7010
+ let pq = {
6920
7011
  caretColor: "transparent"
6921
7012
  };
6922
7013
  if (o === "rtl") {
6923
- XK.unicodeBidi = "embed";
7014
+ pq.unicodeBidi = "embed";
6924
7015
  let t2 = v[e.type];
6925
- (t2 === "numeric" || t2 === "2-digit") && (XK.direction = "ltr");
7016
+ (t2 === "numeric" || t2 === "2-digit") && (pq.direction = "ltr");
6926
7017
  }
6927
7018
  return {
6928
- segmentProps: $3ef42575df84b30b$export$9d1611c77c2fe928(w, YK, {
6929
- id: qK,
6930
- ...KK,
7019
+ segmentProps: $3ef42575df84b30b$export$9d1611c77c2fe928(w, fq, {
7020
+ id: uq,
7021
+ ...lq,
6931
7022
  "aria-invalid": t.isInvalid ? "true" : void 0,
6932
7023
  "aria-describedby": f,
6933
7024
  "aria-readonly": t.isReadOnly || !e.isEditable ? "true" : void 0,
6934
7025
  "data-placeholder": e.isPlaceholder || void 0,
6935
- contentEditable: JK,
6936
- suppressContentEditableWarning: JK,
6937
- spellCheck: JK ? "false" : void 0,
6938
- autoCorrect: JK ? "off" : void 0,
6939
- enterKeyHint: JK ? "next" : void 0,
6940
- inputMode: t.isDisabled || e.type === "dayPeriod" || e.type === "era" || !JK ? void 0 : "numeric",
7026
+ contentEditable: dq,
7027
+ suppressContentEditableWarning: dq,
7028
+ spellCheck: dq ? "false" : void 0,
7029
+ autoCorrect: dq ? "off" : void 0,
7030
+ enterKeyHint: dq ? "next" : void 0,
7031
+ inputMode: t.isDisabled || e.type === "dayPeriod" || e.type === "era" || !dq ? void 0 : "numeric",
6941
7032
  tabIndex: t.isDisabled ? void 0 : 0,
6942
7033
  onKeyDown: A,
6943
7034
  onFocus: Q,
6944
- style: XK,
7035
+ style: pq,
6945
7036
  onPointerDown(e2) {
6946
7037
  e2.stopPropagation();
6947
7038
  },
@@ -7014,7 +7105,7 @@ Defaulting to \`null\`.`;
7014
7105
  q.current = true, (n2 = e.onFocus) == null || n2.call(e, t2), (i2 = e.onFocusChange) == null || i2.call(e, true);
7015
7106
  }
7016
7107
  }
7017
- }), Q = (0, import_react.useRef)($e5be200c675c3b3a$export$dad6ae84456c676a), GK = (0, import_react.useRef)($e5be200c675c3b3a$export$dad6ae84456c676a);
7108
+ }), Q = (0, import_react.useRef)($e5be200c675c3b3a$export$dad6ae84456c676a), cq = (0, import_react.useRef)($e5be200c675c3b3a$export$dad6ae84456c676a);
7018
7109
  return {
7019
7110
  groupProps: $3ef42575df84b30b$export$9d1611c77c2fe928(K, M, d, S, J, {
7020
7111
  role: "group",
@@ -7061,7 +7152,7 @@ Defaulting to \`null\`.`;
7061
7152
  realtimeValidation: t.realtimeValidation,
7062
7153
  displayValidation: t.displayValidation,
7063
7154
  updateValidation(e2) {
7064
- Q.current = e2, t.updateValidation($e5be200c675c3b3a$export$75ee7c75d68f5b0e(e2, GK.current));
7155
+ Q.current = e2, t.updateValidation($e5be200c675c3b3a$export$75ee7c75d68f5b0e(e2, cq.current));
7065
7156
  },
7066
7157
  resetValidation: t.resetValidation,
7067
7158
  commitValidation: t.commitValidation
@@ -7079,7 +7170,7 @@ Defaulting to \`null\`.`;
7079
7170
  realtimeValidation: t.realtimeValidation,
7080
7171
  displayValidation: t.displayValidation,
7081
7172
  updateValidation(e2) {
7082
- GK.current = e2, t.updateValidation($e5be200c675c3b3a$export$75ee7c75d68f5b0e(Q.current, e2));
7173
+ cq.current = e2, t.updateValidation($e5be200c675c3b3a$export$75ee7c75d68f5b0e(Q.current, e2));
7083
7174
  },
7084
7175
  resetValidation: t.resetValidation,
7085
7176
  commitValidation: t.commitValidation
@@ -10173,7 +10264,7 @@ Defaulting to \`null\`.`;
10173
10264
  function Q(e2) {
10174
10265
  e2 = $f62d864046160412$export$4f5203c0d889109e(e2, s, c), A(e2);
10175
10266
  }
10176
- function GK(t2) {
10267
+ function cq(t2) {
10177
10268
  if (!e.isDisabled && !e.isReadOnly) {
10178
10269
  let e2 = t2;
10179
10270
  if (e2 === null) {
@@ -10184,12 +10275,12 @@ Defaulting to \`null\`.`;
10184
10275
  e2 = $11d87f3f76e88657$export$b4a036af3fc0b032(e2, (y == null ? void 0 : y.calendar) || new $3b62074eb05584b2$export$80ee6245ec4f29ec()), y && "hour" in y ? S(y.set(e2)) : S(e2);
10185
10276
  }
10186
10277
  }
10187
- let KK = (0, import_react.useMemo)(() => w ? f && f(w) ? true : $f62d864046160412$export$eac50920cf2fd59a(w, s, c) : false, [
10278
+ let lq = (0, import_react.useMemo)(() => w ? f && f(w) ? true : $f62d864046160412$export$eac50920cf2fd59a(w, s, c) : false, [
10188
10279
  w,
10189
10280
  f,
10190
10281
  s,
10191
10282
  c
10192
- ]), qK = e.isInvalid || e.validationState === "invalid" || KK, JK = qK ? "invalid" : null, $ = (0, import_react.useMemo)(() => h === "visible" ? o : $131cf43a05231e1e$var$unitDuration(o), [
10283
+ ]), uq = e.isInvalid || e.validationState === "invalid" || lq, dq = uq ? "invalid" : null, $ = (0, import_react.useMemo)(() => h === "visible" ? o : $131cf43a05231e1e$var$unitDuration(o), [
10193
10284
  h,
10194
10285
  o
10195
10286
  ]);
@@ -10197,7 +10288,7 @@ Defaulting to \`null\`.`;
10197
10288
  isDisabled: e.isDisabled ?? false,
10198
10289
  isReadOnly: e.isReadOnly ?? false,
10199
10290
  value: w,
10200
- setValue: GK,
10291
+ setValue: cq,
10201
10292
  visibleRange: {
10202
10293
  start: M,
10203
10294
  end: K
@@ -10206,8 +10297,8 @@ Defaulting to \`null\`.`;
10206
10297
  maxValue: c,
10207
10298
  focusedDate: O,
10208
10299
  timeZone: E,
10209
- validationState: JK,
10210
- isValueInvalid: qK,
10300
+ validationState: dq,
10301
+ isValueInvalid: uq,
10211
10302
  setFocusedDate(e2) {
10212
10303
  Q(e2);
10213
10304
  },
@@ -10268,10 +10359,10 @@ Defaulting to \`null\`.`;
10268
10359
  }));
10269
10360
  },
10270
10361
  selectFocusedDate() {
10271
- f && f(O) || GK(O);
10362
+ f && f(O) || cq(O);
10272
10363
  },
10273
10364
  selectDate(e2) {
10274
- GK(e2);
10365
+ cq(e2);
10275
10366
  },
10276
10367
  isFocused: z,
10277
10368
  setFocused: U,
@@ -10374,13 +10465,13 @@ Defaulting to \`null\`.`;
10374
10465
  end: $9a36b6ba2fb1a7c5$var$convertValue(e2.end, h == null ? void 0 : h.end)
10375
10466
  }), q(null);
10376
10467
  }
10377
- }, [GK, KK] = (0, import_react.useState)(false), { isDateUnavailable: qK } = e, JK = (0, import_react.useMemo)(() => !h || v ? false : qK && (qK(h.start) || qK(h.end)) ? true : $f62d864046160412$export$eac50920cf2fd59a(h.start, c, d) || $f62d864046160412$export$eac50920cf2fd59a(h.end, c, d), [
10378
- qK,
10468
+ }, [cq, lq] = (0, import_react.useState)(false), { isDateUnavailable: uq } = e, dq = (0, import_react.useMemo)(() => !h || v ? false : uq && (uq(h.start) || uq(h.end)) ? true : $f62d864046160412$export$eac50920cf2fd59a(h.start, c, d) || $f62d864046160412$export$eac50920cf2fd59a(h.end, c, d), [
10469
+ uq,
10379
10470
  h,
10380
10471
  v,
10381
10472
  c,
10382
10473
  d
10383
- ]), $ = e.isInvalid || e.validationState === "invalid" || JK, YK = $ ? "invalid" : null;
10474
+ ]), $ = e.isInvalid || e.validationState === "invalid" || dq, fq = $ ? "invalid" : null;
10384
10475
  return {
10385
10476
  ...I,
10386
10477
  value: h,
@@ -10388,7 +10479,7 @@ Defaulting to \`null\`.`;
10388
10479
  anchorDate: v,
10389
10480
  setAnchorDate: q,
10390
10481
  highlightedRange: J,
10391
- validationState: YK,
10482
+ validationState: fq,
10392
10483
  isValueInvalid: $,
10393
10484
  selectFocusedDate() {
10394
10485
  Q(I.focusedDate);
@@ -10404,8 +10495,8 @@ Defaulting to \`null\`.`;
10404
10495
  var _a2, _b;
10405
10496
  return I.isInvalid(e2) || $f62d864046160412$export$eac50920cf2fd59a(e2, (_a2 = w.current) == null ? void 0 : _a2.start, (_b = w.current) == null ? void 0 : _b.end);
10406
10497
  },
10407
- isDragging: GK,
10408
- setDragging: KK
10498
+ isDragging: cq,
10499
+ setDragging: lq
10409
10500
  };
10410
10501
  }
10411
10502
  function $9a36b6ba2fb1a7c5$var$makeRange(e, t) {
@@ -11587,12 +11678,12 @@ Defaulting to \`null\`.`;
11587
11678
  q
11588
11679
  ]), Q = (0, import_react.useMemo)(() => J.resolvedOptions(), [
11589
11680
  J
11590
- ]), GK = (0, import_react.useMemo)(() => $35a22f14a1f04b11$export$66aa2b09de4b1ea5(e.placeholderValue, _, S, v), [
11681
+ ]), cq = (0, import_react.useMemo)(() => $35a22f14a1f04b11$export$66aa2b09de4b1ea5(e.placeholderValue, _, S, v), [
11591
11682
  e.placeholderValue,
11592
11683
  _,
11593
11684
  S,
11594
11685
  v
11595
- ]), KK = (0, import_react.useMemo)(() => {
11686
+ ]), lq = (0, import_react.useMemo)(() => {
11596
11687
  let t2 = w === "h11" || w === "h12", n2 = [
11597
11688
  "era",
11598
11689
  "year",
@@ -11610,15 +11701,15 @@ Defaulting to \`null\`.`;
11610
11701
  e.maxGranularity,
11611
11702
  _,
11612
11703
  w
11613
- ]), [qK, JK] = (0, import_react.useState)(M), [$, YK] = (0, import_react.useState)(S), [XK, ZK] = (0, import_react.useState)(w);
11614
- (M !== qK || w !== XK || !$14e0f24ef4ac5c92$export$dbc69fd56b53d5e(S, $)) && (I = new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M), JK(M), YK(S), ZK(w), z(I));
11615
- let QK = (t2) => {
11616
- if (!(e.isDisabled || e.isReadOnly)) if (t2 == null || t2 instanceof $f863c03ccd9aead0$export$ae165b50d181e1ef && t2.isCleared(KK)) z(new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M)), O(null);
11704
+ ]), [uq, dq] = (0, import_react.useState)(M), [$, fq] = (0, import_react.useState)(S), [pq, mq] = (0, import_react.useState)(w);
11705
+ (M !== uq || w !== pq || !$14e0f24ef4ac5c92$export$dbc69fd56b53d5e(S, $)) && (I = new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M), dq(M), fq(S), mq(w), z(I));
11706
+ let hq = (t2) => {
11707
+ if (!(e.isDisabled || e.isReadOnly)) if (t2 == null || t2 instanceof $f863c03ccd9aead0$export$ae165b50d181e1ef && t2.isCleared(lq)) z(new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M)), O(null);
11617
11708
  else if (!(t2 instanceof $f863c03ccd9aead0$export$ae165b50d181e1ef)) t2 = $11d87f3f76e88657$export$b4a036af3fc0b032(t2, (h == null ? void 0 : h.calendar) || new $3b62074eb05584b2$export$80ee6245ec4f29ec()), z(new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M)), O(t2);
11618
11709
  else {
11619
- if (t2.isComplete(KK)) {
11620
- let e2 = t2.toValue(M ?? GK);
11621
- if (t2.validate(e2, KK)) {
11710
+ if (t2.isComplete(lq)) {
11711
+ let e2 = t2.toValue(M ?? cq);
11712
+ if (t2.validate(e2, lq)) {
11622
11713
  let t3 = $11d87f3f76e88657$export$b4a036af3fc0b032(e2, (h == null ? void 0 : h.calendar) || new $3b62074eb05584b2$export$80ee6245ec4f29ec());
11623
11714
  if (!E || t3.compare(E) !== 0) {
11624
11715
  z(new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M)), O(t3);
@@ -11628,83 +11719,83 @@ Defaulting to \`null\`.`;
11628
11719
  }
11629
11720
  z(t2);
11630
11721
  }
11631
- }, $K = (0, import_react.useMemo)(() => I.toValue(M ?? GK).toDate(y), [
11722
+ }, gq = (0, import_react.useMemo)(() => I.toValue(M ?? cq).toDate(y), [
11632
11723
  I,
11633
11724
  y,
11634
11725
  M,
11635
- GK
11636
- ]), eq = (0, import_react.useMemo)(() => $3c0fc76039f1c516$var$processSegments($K, I, J, Q, S, t, _), [
11637
- $K,
11726
+ cq
11727
+ ]), _q = (0, import_react.useMemo)(() => $3c0fc76039f1c516$var$processSegments(gq, I, J, Q, S, t, _), [
11728
+ gq,
11638
11729
  J,
11639
11730
  Q,
11640
11731
  I,
11641
11732
  S,
11642
11733
  t,
11643
11734
  _
11644
- ]), tq = (e2, t2) => {
11645
- QK(I.cycle(e2, t2, GK, KK));
11646
- }, nq = (0, import_react.useMemo)(() => $35a22f14a1f04b11$export$f18627323ab57ac0(E, c, d, f, K), [
11735
+ ]), vq = (e2, t2) => {
11736
+ hq(I.cycle(e2, t2, cq, lq));
11737
+ }, yq = (0, import_react.useMemo)(() => $35a22f14a1f04b11$export$f18627323ab57ac0(E, c, d, f, K), [
11647
11738
  E,
11648
11739
  c,
11649
11740
  d,
11650
11741
  f,
11651
11742
  K
11652
- ]), rq = $e5be200c675c3b3a$export$fc1a364ae1f3ff10({
11743
+ ]), bq = $e5be200c675c3b3a$export$fc1a364ae1f3ff10({
11653
11744
  ...e,
11654
11745
  value: E,
11655
- builtinValidation: nq
11656
- }), iq = rq.displayValidation.isInvalid, aq = e.validationState || (iq ? "invalid" : null);
11746
+ builtinValidation: yq
11747
+ }), xq = bq.displayValidation.isInvalid, Sq = e.validationState || (xq ? "invalid" : null);
11657
11748
  return {
11658
- ...rq,
11749
+ ...bq,
11659
11750
  value: M,
11660
11751
  defaultValue: e.defaultValue ?? A,
11661
- dateValue: $K,
11752
+ dateValue: gq,
11662
11753
  calendar: S,
11663
- setValue: QK,
11664
- segments: eq,
11754
+ setValue: hq,
11755
+ segments: _q,
11665
11756
  dateFormatter: J,
11666
- validationState: aq,
11667
- isInvalid: iq,
11757
+ validationState: Sq,
11758
+ isInvalid: xq,
11668
11759
  granularity: _,
11669
11760
  maxGranularity: e.maxGranularity ?? "year",
11670
11761
  isDisabled: a,
11671
11762
  isReadOnly: o,
11672
11763
  isRequired: s,
11673
11764
  increment(e2) {
11674
- tq(e2, 1);
11765
+ vq(e2, 1);
11675
11766
  },
11676
11767
  decrement(e2) {
11677
- tq(e2, -1);
11768
+ vq(e2, -1);
11678
11769
  },
11679
11770
  incrementPage(e2) {
11680
- tq(e2, $3c0fc76039f1c516$var$PAGE_STEP[e2] || 1);
11771
+ vq(e2, $3c0fc76039f1c516$var$PAGE_STEP[e2] || 1);
11681
11772
  },
11682
11773
  decrementPage(e2) {
11683
- tq(e2, -($3c0fc76039f1c516$var$PAGE_STEP[e2] || 1));
11774
+ vq(e2, -($3c0fc76039f1c516$var$PAGE_STEP[e2] || 1));
11684
11775
  },
11685
11776
  incrementToMax(e2) {
11686
11777
  let t2 = e2 === "hour" && w === "h12" ? 11 : I.getSegmentLimits(e2).maxValue;
11687
- QK(I.set(e2, t2, GK));
11778
+ hq(I.set(e2, t2, cq));
11688
11779
  },
11689
11780
  decrementToMin(e2) {
11690
11781
  let t2 = e2 === "hour" && w === "h12" ? 12 : I.getSegmentLimits(e2).minValue;
11691
- QK(I.set(e2, t2, GK));
11782
+ hq(I.set(e2, t2, cq));
11692
11783
  },
11693
11784
  setSegment(e2, t2) {
11694
- QK(I.set(e2, t2, GK));
11785
+ hq(I.set(e2, t2, cq));
11695
11786
  },
11696
11787
  confirmPlaceholder() {
11697
- if (!(e.isDisabled || e.isReadOnly) && I.isComplete(KK)) {
11698
- let e2 = $11d87f3f76e88657$export$b4a036af3fc0b032(I.toValue(M ?? GK), (h == null ? void 0 : h.calendar) || new $3b62074eb05584b2$export$80ee6245ec4f29ec());
11788
+ if (!(e.isDisabled || e.isReadOnly) && I.isComplete(lq)) {
11789
+ let e2 = $11d87f3f76e88657$export$b4a036af3fc0b032(I.toValue(M ?? cq), (h == null ? void 0 : h.calendar) || new $3b62074eb05584b2$export$80ee6245ec4f29ec());
11699
11790
  (!E || e2.compare(E) !== 0) && O(e2), z(new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M));
11700
11791
  }
11701
11792
  },
11702
11793
  clearSegment(e2) {
11703
11794
  let t2 = I;
11704
- e2 !== "timeZoneName" && e2 !== "literal" && (t2 = I.clear(e2)), QK(t2);
11795
+ e2 !== "timeZoneName" && e2 !== "literal" && (t2 = I.clear(e2)), hq(t2);
11705
11796
  },
11706
11797
  formatValue(e2) {
11707
- return M ? new $fb18d541ea1ad717$export$ad991b66133851cf(t, $35a22f14a1f04b11$export$7e319ea407e63bc0(e2, K)).format($K) : "";
11798
+ return M ? new $fb18d541ea1ad717$export$ad991b66133851cf(t, $35a22f14a1f04b11$export$7e319ea407e63bc0(e2, K)).format(gq) : "";
11708
11799
  },
11709
11800
  getDateFormatter(e2, t2) {
11710
11801
  return new $fb18d541ea1ad717$export$ad991b66133851cf(e2, $35a22f14a1f04b11$export$7e319ea407e63bc0({}, {
@@ -11824,7 +11915,7 @@ Defaulting to \`null\`.`;
11824
11915
  e.endName
11825
11916
  ]),
11826
11917
  builtinValidation: J
11827
- }), GK = Q.displayValidation.isInvalid, KK = e.validationState || (GK ? "invalid" : null);
11918
+ }), cq = Q.displayValidation.isInvalid, lq = e.validationState || (cq ? "invalid" : null);
11828
11919
  return {
11829
11920
  ...Q,
11830
11921
  value: c,
@@ -11870,8 +11961,8 @@ Defaulting to \`null\`.`;
11870
11961
  end: (w == null ? void 0 : w.end) || $35a22f14a1f04b11$export$c5221a78ef73c5e9(e.placeholderValue)
11871
11962
  }), t.setOpen(n2);
11872
11963
  },
11873
- validationState: KK,
11874
- isInvalid: GK,
11964
+ validationState: lq,
11965
+ isInvalid: cq,
11875
11966
  formatValue(t2, n2) {
11876
11967
  if (!c || !c.start || !c.end) return null;
11877
11968
  let i2 = "timeZone" in c.start ? c.start.timeZone : void 0, a2 = e.granularity || (c.start && "minute" in c.start ? "minute" : "day"), o2 = "timeZone" in c.end ? c.end.timeZone : void 0, s2 = e.granularity || (c.end && "minute" in c.end ? "minute" : "day"), d2 = $35a22f14a1f04b11$export$7e319ea407e63bc0(n2, {
@@ -13827,9 +13918,9 @@ Defaulting to \`null\`.`;
13827
13918
  t,
13828
13919
  i.name
13829
13920
  ]), null;
13830
- }), import_compiler_runtime$62 = require_compiler_runtime();
13921
+ }), import_compiler_runtime$63 = require_compiler_runtime();
13831
13922
  EmotionCacheProvider = (e) => {
13832
- let t = (0, import_compiler_runtime$62.c)(6), { container: n, children: i } = e, a;
13923
+ let t = (0, import_compiler_runtime$63.c)(6), { container: n, children: i } = e, a;
13833
13924
  bb0: {
13834
13925
  if (!n) {
13835
13926
  let e3;
@@ -15742,29 +15833,29 @@ try {
15742
15833
  }, f = import_react.createContext(void 0), h = () => import_react.useContext(f) || d, _ = {}, v = {};
15743
15834
  function y(e2) {
15744
15835
  var _a2, _b, _c, _d;
15745
- let { children: d2, theme: h2, modeStorageKey: y2 = i, colorSchemeStorageKey: S2 = a, disableTransitionOnChange: w2 = o, storageManager: E, storageWindow: O = typeof window > "u" ? void 0 : window, documentNode: A = typeof document > "u" ? void 0 : document, colorSchemeNode: M = typeof document > "u" ? void 0 : document.documentElement, disableNestedContext: I = false, disableStyleSheetGeneration: z = false, defaultMode: U = "system", noSsr: K } = e2, q = import_react.useRef(false), J = useTheme$2(), Q = import_react.useContext(f), GK = !!Q && !I, KK = import_react.useMemo(() => h2 || (typeof n == "function" ? n() : n), [
15836
+ 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), cq = !!Q && !I, lq = import_react.useMemo(() => h2 || (typeof n == "function" ? n() : n), [
15746
15837
  h2
15747
- ]), qK = KK[t], JK = qK || KK, { colorSchemes: $ = _, components: YK = v, cssVarPrefix: XK } = JK, ZK = Object.keys($).filter((e3) => !!$[e3]).join(","), QK = import_react.useMemo(() => ZK.split(","), [
15748
- ZK
15749
- ]), $K = typeof s == "string" ? s : s.light, eq = typeof s == "string" ? s : s.dark, { mode: tq, setMode: nq, systemMode: rq, lightColorScheme: iq, darkColorScheme: aq, colorScheme: oq, setColorScheme: sq } = useCurrentColorScheme({
15750
- supportedColorSchemes: QK,
15751
- defaultLightColorScheme: $K,
15752
- defaultDarkColorScheme: eq,
15838
+ ]), uq = lq[t], dq = uq || lq, { colorSchemes: $ = _, components: fq = v, cssVarPrefix: pq } = dq, mq = Object.keys($).filter((e3) => !!$[e3]).join(","), hq = import_react.useMemo(() => mq.split(","), [
15839
+ mq
15840
+ ]), gq = typeof s == "string" ? s : s.light, _q = typeof s == "string" ? s : s.dark, { mode: vq, setMode: yq, systemMode: bq, lightColorScheme: xq, darkColorScheme: Sq, colorScheme: Cq, setColorScheme: wq } = useCurrentColorScheme({
15841
+ supportedColorSchemes: hq,
15842
+ defaultLightColorScheme: gq,
15843
+ defaultDarkColorScheme: _q,
15753
15844
  modeStorageKey: y2,
15754
15845
  colorSchemeStorageKey: S2,
15755
- defaultMode: $[$K] && $[eq] ? U : ((_b = (_a2 = $[JK.defaultColorScheme]) == null ? void 0 : _a2.palette) == null ? void 0 : _b.mode) || ((_c = JK.palette) == null ? void 0 : _c.mode),
15846
+ defaultMode: $[gq] && $[_q] ? U : ((_b = (_a2 = $[dq.defaultColorScheme]) == null ? void 0 : _a2.palette) == null ? void 0 : _b.mode) || ((_c = dq.palette) == null ? void 0 : _c.mode),
15756
15847
  storageManager: E,
15757
15848
  storageWindow: O,
15758
15849
  noSsr: K
15759
- }), cq = tq, lq = oq;
15760
- GK && (cq = Q.mode, lq = Q.colorScheme);
15761
- let uq = import_react.useMemo(() => {
15850
+ }), Tq = vq, Eq = Cq;
15851
+ cq && (Tq = Q.mode, Eq = Q.colorScheme);
15852
+ let Dq = import_react.useMemo(() => {
15762
15853
  var _a3;
15763
- let e3 = lq || JK.defaultColorScheme, t2 = ((_a3 = JK.generateThemeVars) == null ? void 0 : _a3.call(JK)) || JK.vars, n2 = {
15764
- ...JK,
15765
- components: YK,
15854
+ let e3 = Eq || dq.defaultColorScheme, t2 = ((_a3 = dq.generateThemeVars) == null ? void 0 : _a3.call(dq)) || dq.vars, n2 = {
15855
+ ...dq,
15856
+ components: fq,
15766
15857
  colorSchemes: $,
15767
- cssVarPrefix: XK,
15858
+ cssVarPrefix: pq,
15768
15859
  vars: t2
15769
15860
  };
15770
15861
  if (typeof n2.generateSpacing == "function" && (n2.spacing = n2.generateSpacing()), e3) {
@@ -15778,31 +15869,31 @@ try {
15778
15869
  }
15779
15870
  return c ? c(n2) : n2;
15780
15871
  }, [
15781
- JK,
15782
- lq,
15783
- YK,
15872
+ dq,
15873
+ Eq,
15874
+ fq,
15784
15875
  $,
15785
- XK
15786
- ]), dq = JK.colorSchemeSelector;
15876
+ pq
15877
+ ]), Oq = dq.colorSchemeSelector;
15787
15878
  useEnhancedEffect_default(() => {
15788
- if (lq && M && dq && dq !== "media") {
15789
- let e3 = dq, t2 = dq;
15790
- if (e3 === "class" && (t2 = ".%s"), e3 === "data" && (t2 = "[data-%s]"), (e3 == null ? void 0 : e3.startsWith("data-")) && !e3.includes("%s") && (t2 = `[${e3}="%s"]`), t2.startsWith(".")) M.classList.remove(...QK.map((e4) => t2.substring(1).replace("%s", e4))), M.classList.add(t2.substring(1).replace("%s", lq));
15879
+ if (Eq && M && Oq && Oq !== "media") {
15880
+ let e3 = Oq, t2 = Oq;
15881
+ 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(...hq.map((e4) => t2.substring(1).replace("%s", e4))), M.classList.add(t2.substring(1).replace("%s", Eq));
15791
15882
  else {
15792
- let e4 = t2.replace("%s", lq).match(/\[([^\]]+)\]/);
15883
+ let e4 = t2.replace("%s", Eq).match(/\[([^\]]+)\]/);
15793
15884
  if (e4) {
15794
15885
  let [t3, n2] = e4[1].split("=");
15795
- n2 || QK.forEach((e5) => {
15796
- M.removeAttribute(t3.replace(lq, e5));
15886
+ n2 || hq.forEach((e5) => {
15887
+ M.removeAttribute(t3.replace(Eq, e5));
15797
15888
  }), M.setAttribute(t3, n2 ? n2.replace(/"|'/g, "") : "");
15798
- } else M.setAttribute(t2, lq);
15889
+ } else M.setAttribute(t2, Eq);
15799
15890
  }
15800
15891
  }
15801
15892
  }, [
15802
- lq,
15803
- dq,
15893
+ Eq,
15894
+ Oq,
15804
15895
  M,
15805
- QK
15896
+ hq
15806
15897
  ]), import_react.useEffect(() => {
15807
15898
  let e3;
15808
15899
  if (w2 && q.current && A) {
@@ -15815,48 +15906,48 @@ try {
15815
15906
  clearTimeout(e3);
15816
15907
  };
15817
15908
  }, [
15818
- lq,
15909
+ Eq,
15819
15910
  w2,
15820
15911
  A
15821
15912
  ]), import_react.useEffect(() => (q.current = true, () => {
15822
15913
  q.current = false;
15823
15914
  }), []);
15824
- let fq = import_react.useMemo(() => ({
15825
- allColorSchemes: QK,
15826
- colorScheme: lq,
15827
- darkColorScheme: aq,
15828
- lightColorScheme: iq,
15829
- mode: cq,
15830
- setColorScheme: sq,
15831
- setMode: nq,
15832
- systemMode: rq
15915
+ let kq = import_react.useMemo(() => ({
15916
+ allColorSchemes: hq,
15917
+ colorScheme: Eq,
15918
+ darkColorScheme: Sq,
15919
+ lightColorScheme: xq,
15920
+ mode: Tq,
15921
+ setColorScheme: wq,
15922
+ setMode: yq,
15923
+ systemMode: bq
15833
15924
  }), [
15834
- QK,
15835
- lq,
15836
- aq,
15837
- iq,
15838
- cq,
15839
- sq,
15840
- nq,
15841
- rq,
15842
- uq.colorSchemeSelector
15843
- ]), pq = true;
15844
- (z || JK.cssVariables === false || GK && (J == null ? void 0 : J.cssVarPrefix) === XK) && (pq = false);
15845
- let mq = (0, import_jsx_runtime.jsxs)(import_react.Fragment, {
15925
+ hq,
15926
+ Eq,
15927
+ Sq,
15928
+ xq,
15929
+ Tq,
15930
+ wq,
15931
+ yq,
15932
+ bq,
15933
+ Dq.colorSchemeSelector
15934
+ ]), Aq = true;
15935
+ (z || dq.cssVariables === false || cq && (J == null ? void 0 : J.cssVarPrefix) === pq) && (Aq = false);
15936
+ let jq = (0, import_jsx_runtime.jsxs)(import_react.Fragment, {
15846
15937
  children: [
15847
15938
  (0, import_jsx_runtime.jsx)(ThemeProvider_default, {
15848
- themeId: qK ? t : void 0,
15849
- theme: uq,
15939
+ themeId: uq ? t : void 0,
15940
+ theme: Dq,
15850
15941
  children: d2
15851
15942
  }),
15852
- pq && (0, import_jsx_runtime.jsx)(GlobalStyles$1, {
15853
- styles: ((_d = uq.generateStyleSheets) == null ? void 0 : _d.call(uq)) || []
15943
+ Aq && (0, import_jsx_runtime.jsx)(GlobalStyles$1, {
15944
+ styles: ((_d = Dq.generateStyleSheets) == null ? void 0 : _d.call(Dq)) || []
15854
15945
  })
15855
15946
  ]
15856
15947
  });
15857
- return GK ? mq : (0, import_jsx_runtime.jsx)(f.Provider, {
15858
- value: fq,
15859
- children: mq
15948
+ return cq ? jq : (0, import_jsx_runtime.jsx)(f.Provider, {
15949
+ value: kq,
15950
+ children: jq
15860
15951
  });
15861
15952
  }
15862
15953
  let S = typeof s == "string" ? s : s.light, w = typeof s == "string" ? s : s.dark;
@@ -17356,10 +17447,10 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
17356
17447
  let n = useDefaultProps({
17357
17448
  props: e,
17358
17449
  name: "MuiInputBase"
17359
- }), { "aria-describedby": i, autoComplete: a, autoFocus: o, className: s, color: c, components: d = {}, componentsProps: f = {}, defaultValue: h, disabled: _, disableInjectingGlobalStyles: v, endAdornment: y, error: S, fullWidth: w = false, id: E, inputComponent: O = "input", inputProps: A = {}, inputRef: M, margin: I, maxRows: z, minRows: U, multiline: K = false, name: q, onBlur: J, onChange: Q, onClick: GK, onFocus: KK, onKeyDown: qK, onKeyUp: JK, placeholder: $, readOnly: YK, renderSuffix: XK, rows: ZK, size: QK, slotProps: $K = {}, slots: eq = {}, startAdornment: tq, type: nq = "text", value: rq, ...iq } = n, aq = A.value == null ? rq : A.value, { current: oq } = import_react.useRef(aq != null), sq = import_react.useRef(), cq = import_react.useCallback((e2) => {
17360
- }, []), lq = useForkRef_default(sq, M, A.ref, cq), [uq, dq] = import_react.useState(false), fq = useFormControl(), pq = formControlState({
17450
+ }), { "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: cq, onFocus: lq, onKeyDown: uq, onKeyUp: dq, placeholder: $, readOnly: fq, renderSuffix: pq, rows: mq, size: hq, slotProps: gq = {}, slots: _q = {}, startAdornment: vq, type: yq = "text", value: bq, ...xq } = n, Sq = A.value == null ? bq : A.value, { current: Cq } = import_react.useRef(Sq != null), wq = import_react.useRef(), Tq = import_react.useCallback((e2) => {
17451
+ }, []), Eq = useForkRef_default(wq, M, A.ref, Tq), [Dq, Oq] = import_react.useState(false), kq = useFormControl(), Aq = formControlState({
17361
17452
  props: n,
17362
- muiFormControl: fq,
17453
+ muiFormControl: kq,
17363
17454
  states: [
17364
17455
  "color",
17365
17456
  "disabled",
@@ -17370,145 +17461,145 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
17370
17461
  "filled"
17371
17462
  ]
17372
17463
  });
17373
- pq.focused = fq ? fq.focused : uq, import_react.useEffect(() => {
17374
- !fq && _ && uq && (dq(false), J && J());
17464
+ Aq.focused = kq ? kq.focused : Dq, import_react.useEffect(() => {
17465
+ !kq && _ && Dq && (Oq(false), J && J());
17375
17466
  }, [
17376
- fq,
17467
+ kq,
17377
17468
  _,
17378
- uq,
17469
+ Dq,
17379
17470
  J
17380
17471
  ]);
17381
- let mq = fq && fq.onFilled, hq = fq && fq.onEmpty, gq = import_react.useCallback((e2) => {
17382
- isFilled(e2) ? mq && mq() : hq && hq();
17472
+ let jq = kq && kq.onFilled, Mq = kq && kq.onEmpty, Nq = import_react.useCallback((e2) => {
17473
+ isFilled(e2) ? jq && jq() : Mq && Mq();
17383
17474
  }, [
17384
- mq,
17385
- hq
17475
+ jq,
17476
+ Mq
17386
17477
  ]);
17387
17478
  useEnhancedEffect_default$1(() => {
17388
- oq && gq({
17389
- value: aq
17479
+ Cq && Nq({
17480
+ value: Sq
17390
17481
  });
17391
17482
  }, [
17392
- aq,
17393
- gq,
17394
- oq
17483
+ Sq,
17484
+ Nq,
17485
+ Cq
17395
17486
  ]);
17396
- let _q = (e2) => {
17397
- KK && KK(e2), A.onFocus && A.onFocus(e2), fq && fq.onFocus ? fq.onFocus(e2) : dq(true);
17398
- }, vq = (e2) => {
17399
- J && J(e2), A.onBlur && A.onBlur(e2), fq && fq.onBlur ? fq.onBlur(e2) : dq(false);
17400
- }, yq = (e2, ...t2) => {
17401
- if (!oq) {
17402
- let t3 = e2.target || sq.current;
17487
+ let Pq = (e2) => {
17488
+ lq && lq(e2), A.onFocus && A.onFocus(e2), kq && kq.onFocus ? kq.onFocus(e2) : Oq(true);
17489
+ }, Fq = (e2) => {
17490
+ J && J(e2), A.onBlur && A.onBlur(e2), kq && kq.onBlur ? kq.onBlur(e2) : Oq(false);
17491
+ }, Iq = (e2, ...t2) => {
17492
+ if (!Cq) {
17493
+ let t3 = e2.target || wq.current;
17403
17494
  if (t3 == null) throw Error(formatMuiErrorMessage(1));
17404
- gq({
17495
+ Nq({
17405
17496
  value: t3.value
17406
17497
  });
17407
17498
  }
17408
17499
  A.onChange && A.onChange(e2, ...t2), Q && Q(e2, ...t2);
17409
17500
  };
17410
17501
  import_react.useEffect(() => {
17411
- gq(sq.current);
17502
+ Nq(wq.current);
17412
17503
  }, []);
17413
- let bq = (e2) => {
17414
- sq.current && e2.currentTarget === e2.target && sq.current.focus(), GK && GK(e2);
17415
- }, xq = O, Sq = A;
17416
- K && xq === "input" && (Sq = ZK ? {
17504
+ let Lq = (e2) => {
17505
+ wq.current && e2.currentTarget === e2.target && wq.current.focus(), cq && cq(e2);
17506
+ }, Rq = O, zq = A;
17507
+ K && Rq === "input" && (zq = mq ? {
17417
17508
  type: void 0,
17418
- minRows: ZK,
17419
- maxRows: ZK,
17420
- ...Sq
17509
+ minRows: mq,
17510
+ maxRows: mq,
17511
+ ...zq
17421
17512
  } : {
17422
17513
  type: void 0,
17423
17514
  maxRows: z,
17424
17515
  minRows: U,
17425
- ...Sq
17426
- }, xq = TextareaAutosize_default);
17427
- let Cq = (e2) => {
17428
- gq(e2.animationName === "mui-auto-fill-cancel" ? sq.current : {
17516
+ ...zq
17517
+ }, Rq = TextareaAutosize_default);
17518
+ let Bq = (e2) => {
17519
+ Nq(e2.animationName === "mui-auto-fill-cancel" ? wq.current : {
17429
17520
  value: "x"
17430
17521
  });
17431
17522
  };
17432
17523
  import_react.useEffect(() => {
17433
- fq && fq.setAdornedStart(!!tq);
17524
+ kq && kq.setAdornedStart(!!vq);
17434
17525
  }, [
17435
- fq,
17436
- tq
17526
+ kq,
17527
+ vq
17437
17528
  ]);
17438
- let wq = {
17529
+ let Vq = {
17439
17530
  ...n,
17440
- color: pq.color || "primary",
17441
- disabled: pq.disabled,
17531
+ color: Aq.color || "primary",
17532
+ disabled: Aq.disabled,
17442
17533
  endAdornment: y,
17443
- error: pq.error,
17444
- focused: pq.focused,
17445
- formControl: fq,
17534
+ error: Aq.error,
17535
+ focused: Aq.focused,
17536
+ formControl: kq,
17446
17537
  fullWidth: w,
17447
- hiddenLabel: pq.hiddenLabel,
17538
+ hiddenLabel: Aq.hiddenLabel,
17448
17539
  multiline: K,
17449
- size: pq.size,
17450
- startAdornment: tq,
17451
- type: nq
17452
- }, Tq = useUtilityClasses(wq), Eq = eq.root || d.Root || InputBaseRoot, Dq = $K.root || f.root || {}, Oq = eq.input || d.Input || InputBaseInput;
17453
- return Sq = {
17454
- ...Sq,
17455
- ...$K.input ?? f.input
17540
+ size: Aq.size,
17541
+ startAdornment: vq,
17542
+ type: yq
17543
+ }, Hq = useUtilityClasses(Vq), Uq = _q.root || d.Root || InputBaseRoot, Wq = gq.root || f.root || {}, Gq = _q.input || d.Input || InputBaseInput;
17544
+ return zq = {
17545
+ ...zq,
17546
+ ...gq.input ?? f.input
17456
17547
  }, (0, import_jsx_runtime.jsxs)(import_react.Fragment, {
17457
17548
  children: [
17458
17549
  !v && typeof InputGlobalStyles == "function" && (_InputGlobalStyles || (_InputGlobalStyles = (0, import_jsx_runtime.jsx)(InputGlobalStyles, {}))),
17459
- (0, import_jsx_runtime.jsxs)(Eq, {
17460
- ...Dq,
17550
+ (0, import_jsx_runtime.jsxs)(Uq, {
17551
+ ...Wq,
17461
17552
  ref: t,
17462
- onClick: bq,
17463
- ...iq,
17464
- ...!isHostComponent_default(Eq) && {
17553
+ onClick: Lq,
17554
+ ...xq,
17555
+ ...!isHostComponent_default(Uq) && {
17465
17556
  ownerState: {
17466
- ...wq,
17467
- ...Dq.ownerState
17557
+ ...Vq,
17558
+ ...Wq.ownerState
17468
17559
  }
17469
17560
  },
17470
- className: clsx_default(Tq.root, Dq.className, s, YK && "MuiInputBase-readOnly"),
17561
+ className: clsx_default(Hq.root, Wq.className, s, fq && "MuiInputBase-readOnly"),
17471
17562
  children: [
17472
- tq,
17563
+ vq,
17473
17564
  (0, import_jsx_runtime.jsx)(FormControlContext_default.Provider, {
17474
17565
  value: null,
17475
- children: (0, import_jsx_runtime.jsx)(Oq, {
17476
- "aria-invalid": pq.error,
17566
+ children: (0, import_jsx_runtime.jsx)(Gq, {
17567
+ "aria-invalid": Aq.error,
17477
17568
  "aria-describedby": i,
17478
17569
  autoComplete: a,
17479
17570
  autoFocus: o,
17480
17571
  defaultValue: h,
17481
- disabled: pq.disabled,
17572
+ disabled: Aq.disabled,
17482
17573
  id: E,
17483
- onAnimationStart: Cq,
17574
+ onAnimationStart: Bq,
17484
17575
  name: q,
17485
17576
  placeholder: $,
17486
- readOnly: YK,
17487
- required: pq.required,
17488
- rows: ZK,
17489
- value: aq,
17490
- onKeyDown: qK,
17491
- onKeyUp: JK,
17492
- type: nq,
17493
- ...Sq,
17494
- ...!isHostComponent_default(Oq) && {
17495
- as: xq,
17577
+ readOnly: fq,
17578
+ required: Aq.required,
17579
+ rows: mq,
17580
+ value: Sq,
17581
+ onKeyDown: uq,
17582
+ onKeyUp: dq,
17583
+ type: yq,
17584
+ ...zq,
17585
+ ...!isHostComponent_default(Gq) && {
17586
+ as: Rq,
17496
17587
  ownerState: {
17497
- ...wq,
17498
- ...Sq.ownerState
17588
+ ...Vq,
17589
+ ...zq.ownerState
17499
17590
  }
17500
17591
  },
17501
- ref: lq,
17502
- className: clsx_default(Tq.input, Sq.className, YK && "MuiInputBase-readOnly"),
17503
- onBlur: vq,
17504
- onChange: yq,
17505
- onFocus: _q
17592
+ ref: Eq,
17593
+ className: clsx_default(Hq.input, zq.className, fq && "MuiInputBase-readOnly"),
17594
+ onBlur: Fq,
17595
+ onChange: Iq,
17596
+ onFocus: Pq
17506
17597
  })
17507
17598
  }),
17508
17599
  y,
17509
- XK ? XK({
17510
- ...pq,
17511
- startAdornment: tq
17600
+ pq ? pq({
17601
+ ...Aq,
17602
+ startAdornment: vq
17512
17603
  }) : null
17513
17604
  ]
17514
17605
  })
@@ -18584,30 +18675,30 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18584
18675
  M,
18585
18676
  i,
18586
18677
  a
18587
- ]), z = useJsonViewerStore((e2) => e2.setHover), U = useJsonViewerStore((e2) => e2.value), [K, q] = useInspect(i, t, a), [J, Q] = (0, import_react.useState)(false), GK = useJsonViewerStore((e2) => e2.onChange), KK = useTextColor(), qK = useJsonViewerStore((e2) => e2.colorspace.base0C), JK = useJsonViewerStore((e2) => e2.colorspace.base0A), $ = useJsonViewerStore((e2) => e2.displayComma), YK = useJsonViewerStore((e2) => e2.quotesOnKeys), XK = useJsonViewerStore((e2) => e2.rootName), ZK = U === t, QK = Number.isInteger(Number(A)), $K = useJsonViewerStore((e2) => e2.enableAdd), eq = useJsonViewerStore((e2) => e2.onAdd), tq = (0, import_react.useMemo)(() => !eq || a !== void 0 || $K === false || v === false ? false : typeof $K == "function" ? !!$K(i, t) : !!(Array.isArray(t) || isPlainObject(t)), [
18588
- eq,
18678
+ ]), z = useJsonViewerStore((e2) => e2.setHover), U = useJsonViewerStore((e2) => e2.value), [K, q] = useInspect(i, t, a), [J, Q] = (0, import_react.useState)(false), cq = useJsonViewerStore((e2) => e2.onChange), lq = useTextColor(), uq = useJsonViewerStore((e2) => e2.colorspace.base0C), dq = useJsonViewerStore((e2) => e2.colorspace.base0A), $ = useJsonViewerStore((e2) => e2.displayComma), fq = useJsonViewerStore((e2) => e2.quotesOnKeys), pq = useJsonViewerStore((e2) => e2.rootName), mq = U === t, hq = Number.isInteger(Number(A)), gq = useJsonViewerStore((e2) => e2.enableAdd), _q = useJsonViewerStore((e2) => e2.onAdd), vq = (0, import_react.useMemo)(() => !_q || a !== void 0 || gq === false || v === false ? false : typeof gq == "function" ? !!gq(i, t) : !!(Array.isArray(t) || isPlainObject(t)), [
18679
+ _q,
18589
18680
  a,
18590
18681
  i,
18591
- $K,
18682
+ gq,
18592
18683
  v,
18593
18684
  t
18594
- ]), nq = useJsonViewerStore((e2) => e2.enableDelete), rq = useJsonViewerStore((e2) => e2.onDelete), iq = (0, import_react.useMemo)(() => !rq || a !== void 0 || ZK || nq === false || v === false ? false : typeof nq == "function" ? !!nq(i, t) : nq, [
18595
- rq,
18685
+ ]), yq = useJsonViewerStore((e2) => e2.enableDelete), bq = useJsonViewerStore((e2) => e2.onDelete), xq = (0, import_react.useMemo)(() => !bq || a !== void 0 || mq || yq === false || v === false ? false : typeof yq == "function" ? !!yq(i, t) : yq, [
18686
+ bq,
18596
18687
  a,
18597
- ZK,
18688
+ mq,
18598
18689
  i,
18599
- nq,
18690
+ yq,
18600
18691
  v,
18601
18692
  t
18602
- ]), aq = useJsonViewerStore((e2) => e2.enableClipboard), { copy: oq, copied: sq } = useClipboard(), cq = useJsonViewerStore((e2) => e2.highlightUpdates), lq = (0, import_react.useMemo)(() => !cq || n === void 0 ? false : typeof t == typeof n ? typeof t == "number" ? isNaN(t) && isNaN(n) ? false : t !== n : Array.isArray(t) === Array.isArray(n) ? typeof t == "object" || typeof t == "function" ? false : t !== n : true : true, [
18603
- cq,
18693
+ ]), Sq = useJsonViewerStore((e2) => e2.enableClipboard), { copy: Cq, copied: wq } = useClipboard(), Tq = useJsonViewerStore((e2) => e2.highlightUpdates), Eq = (0, import_react.useMemo)(() => !Tq || 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, [
18694
+ Tq,
18604
18695
  n,
18605
18696
  t
18606
- ]), uq = (0, import_react.useRef)();
18697
+ ]), Dq = (0, import_react.useRef)();
18607
18698
  (0, import_react.useEffect)(() => {
18608
- uq.current && lq && "animate" in uq.current && uq.current.animate([
18699
+ Dq.current && Eq && "animate" in Dq.current && Dq.current.animate([
18609
18700
  {
18610
- backgroundColor: JK
18701
+ backgroundColor: dq
18611
18702
  },
18612
18703
  {
18613
18704
  backgroundColor: ""
@@ -18617,40 +18708,40 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18617
18708
  easing: "ease-in"
18618
18709
  });
18619
18710
  }, [
18620
- JK,
18621
- lq,
18711
+ dq,
18712
+ Eq,
18622
18713
  n,
18623
18714
  t
18624
18715
  ]);
18625
- let dq = (0, import_react.useCallback)((e2) => {
18716
+ let Oq = (0, import_react.useCallback)((e2) => {
18626
18717
  e2.preventDefault(), h && E(h(t)), Q(true);
18627
18718
  }, [
18628
18719
  h,
18629
18720
  t
18630
- ]), fq = (0, import_react.useCallback)(() => {
18721
+ ]), kq = (0, import_react.useCallback)(() => {
18631
18722
  Q(false), E("");
18632
18723
  }, [
18633
18724
  Q,
18634
18725
  E
18635
- ]), pq = (0, import_react.useCallback)((e2) => {
18726
+ ]), Aq = (0, import_react.useCallback)((e2) => {
18636
18727
  if (Q(false), _) try {
18637
- GK(i, t, _(e2));
18728
+ cq(i, t, _(e2));
18638
18729
  } catch {
18639
18730
  }
18640
18731
  }, [
18641
18732
  Q,
18642
18733
  _,
18643
- GK,
18734
+ cq,
18644
18735
  i,
18645
18736
  t
18646
- ]), mq = (0, import_react.useMemo)(() => J ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
18737
+ ]), jq = (0, import_react.useMemo)(() => J ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
18647
18738
  children: [
18648
18739
  (0, import_jsx_runtime.jsx)(IconBox, {
18649
18740
  children: (0, import_jsx_runtime.jsx)(CloseIcon, {
18650
18741
  sx: {
18651
18742
  fontSize: ".8rem"
18652
18743
  },
18653
- onClick: fq
18744
+ onClick: kq
18654
18745
  })
18655
18746
  }),
18656
18747
  (0, import_jsx_runtime.jsx)(IconBox, {
@@ -18658,22 +18749,22 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18658
18749
  sx: {
18659
18750
  fontSize: ".8rem"
18660
18751
  },
18661
- onClick: () => pq(w)
18752
+ onClick: () => Aq(w)
18662
18753
  })
18663
18754
  })
18664
18755
  ]
18665
18756
  }) : (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
18666
18757
  children: [
18667
- aq && (0, import_jsx_runtime.jsx)(IconBox, {
18758
+ Sq && (0, import_jsx_runtime.jsx)(IconBox, {
18668
18759
  onClick: (e2) => {
18669
18760
  e2.preventDefault();
18670
18761
  try {
18671
- oq(i, t, copyString);
18762
+ Cq(i, t, copyString);
18672
18763
  } catch (e3) {
18673
18764
  console.error(e3);
18674
18765
  }
18675
18766
  },
18676
- children: sq ? (0, import_jsx_runtime.jsx)(CheckIcon$1, {
18767
+ children: wq ? (0, import_jsx_runtime.jsx)(CheckIcon$1, {
18677
18768
  sx: {
18678
18769
  fontSize: ".8rem"
18679
18770
  }
@@ -18684,16 +18775,16 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18684
18775
  })
18685
18776
  }),
18686
18777
  f && S && h && _ && (0, import_jsx_runtime.jsx)(IconBox, {
18687
- onClick: dq,
18778
+ onClick: Oq,
18688
18779
  children: (0, import_jsx_runtime.jsx)(EditIcon, {
18689
18780
  sx: {
18690
18781
  fontSize: ".8rem"
18691
18782
  }
18692
18783
  })
18693
18784
  }),
18694
- tq && (0, import_jsx_runtime.jsx)(IconBox, {
18785
+ vq && (0, import_jsx_runtime.jsx)(IconBox, {
18695
18786
  onClick: (e2) => {
18696
- e2.preventDefault(), eq == null ? void 0 : eq(i);
18787
+ e2.preventDefault(), _q == null ? void 0 : _q(i);
18697
18788
  },
18698
18789
  children: (0, import_jsx_runtime.jsx)(AddBoxIcon, {
18699
18790
  sx: {
@@ -18701,9 +18792,9 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18701
18792
  }
18702
18793
  })
18703
18794
  }),
18704
- iq && (0, import_jsx_runtime.jsx)(IconBox, {
18795
+ xq && (0, import_jsx_runtime.jsx)(IconBox, {
18705
18796
  onClick: (e2) => {
18706
- e2.preventDefault(), rq == null ? void 0 : rq(i, t);
18797
+ e2.preventDefault(), bq == null ? void 0 : bq(i, t);
18707
18798
  },
18708
18799
  children: (0, import_jsx_runtime.jsx)(DeleteIcon, {
18709
18800
  sx: {
@@ -18716,24 +18807,24 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18716
18807
  f,
18717
18808
  h,
18718
18809
  _,
18719
- sq,
18720
- oq,
18810
+ wq,
18811
+ Cq,
18721
18812
  S,
18722
18813
  J,
18723
- aq,
18724
- tq,
18725
- iq,
18814
+ Sq,
18815
+ vq,
18816
+ xq,
18726
18817
  w,
18727
18818
  i,
18728
18819
  t,
18729
- eq,
18730
- rq,
18731
- dq,
18732
- fq,
18733
- pq
18734
- ]), hq = (0, import_react.useMemo)(() => getValueSize(t) === 0, [
18820
+ _q,
18821
+ bq,
18822
+ Oq,
18823
+ kq,
18824
+ Aq
18825
+ ]), Mq = (0, import_react.useMemo)(() => getValueSize(t) === 0, [
18735
18826
  t
18736
- ]), gq = !hq && !!(c && d), _q = useJsonViewerStore((e2) => e2.keyRenderer), vq = (0, import_react.useMemo)(() => ({
18827
+ ]), Nq = !Mq && !!(c && d), Pq = useJsonViewerStore((e2) => e2.keyRenderer), Fq = (0, import_react.useMemo)(() => ({
18737
18828
  path: i,
18738
18829
  inspect: K,
18739
18830
  setInspect: q,
@@ -18765,18 +18856,18 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18765
18856
  className: "data-key",
18766
18857
  sx: {
18767
18858
  lineHeight: 1.5,
18768
- color: KK,
18859
+ color: lq,
18769
18860
  letterSpacing: 0.5,
18770
18861
  opacity: 0.8
18771
18862
  },
18772
18863
  onClick: (0, import_react.useCallback)((e2) => {
18773
- e2.isDefaultPrevented() || hq || q((e3) => !e3);
18864
+ e2.isDefaultPrevented() || Mq || q((e3) => !e3);
18774
18865
  }, [
18775
- hq,
18866
+ Mq,
18776
18867
  q
18777
18868
  ]),
18778
18869
  children: [
18779
- gq ? K ? (0, import_jsx_runtime.jsx)(ExpandMoreIcon, {
18870
+ Nq ? K ? (0, import_jsx_runtime.jsx)(ExpandMoreIcon, {
18780
18871
  className: "data-key-toggle-expanded",
18781
18872
  sx: {
18782
18873
  fontSize: ".8rem",
@@ -18794,27 +18885,27 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18794
18885
  }
18795
18886
  }) : null,
18796
18887
  (0, import_jsx_runtime.jsx)(Box_default, {
18797
- ref: uq,
18888
+ ref: Dq,
18798
18889
  className: "data-key-key",
18799
18890
  component: "span",
18800
- children: ZK && O === 0 ? XK === false ? null : YK ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
18891
+ children: mq && O === 0 ? pq === false ? null : fq ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
18801
18892
  children: [
18802
18893
  '"',
18803
- XK,
18894
+ pq,
18804
18895
  '"'
18805
18896
  ]
18806
18897
  }) : (0, import_jsx_runtime.jsx)(import_jsx_runtime.Fragment, {
18807
- children: XK
18808
- }) : _q.when(vq) ? (0, import_jsx_runtime.jsx)(_q, {
18809
- ...vq
18810
- }) : a === void 0 && (QK ? (0, import_jsx_runtime.jsx)(Box_default, {
18898
+ children: pq
18899
+ }) : Pq.when(Fq) ? (0, import_jsx_runtime.jsx)(Pq, {
18900
+ ...Fq
18901
+ }) : a === void 0 && (hq ? (0, import_jsx_runtime.jsx)(Box_default, {
18811
18902
  component: "span",
18812
18903
  style: {
18813
- color: qK,
18814
- userSelect: QK ? "none" : "auto"
18904
+ color: uq,
18905
+ userSelect: hq ? "none" : "auto"
18815
18906
  },
18816
18907
  children: A
18817
- }) : YK ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
18908
+ }) : fq ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
18818
18909
  children: [
18819
18910
  '"',
18820
18911
  A,
@@ -18824,7 +18915,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18824
18915
  children: A
18825
18916
  }))
18826
18917
  }),
18827
- ZK ? XK !== false && (0, import_jsx_runtime.jsx)(DataBox, {
18918
+ mq ? pq !== false && (0, import_jsx_runtime.jsx)(DataBox, {
18828
18919
  className: "data-key-colon",
18829
18920
  sx: {
18830
18921
  mr: 0.5
@@ -18837,38 +18928,38 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18837
18928
  ".data-key-key:empty + &": {
18838
18929
  display: "none"
18839
18930
  },
18840
- userSelect: QK ? "none" : "auto"
18931
+ userSelect: hq ? "none" : "auto"
18841
18932
  },
18842
18933
  children: ":"
18843
18934
  }),
18844
18935
  c && (0, import_jsx_runtime.jsx)(c, {
18845
- ...vq
18936
+ ...Fq
18846
18937
  }),
18847
- I && gq && K && mq
18938
+ I && Nq && K && jq
18848
18939
  ]
18849
18940
  }),
18850
18941
  J && S ? f && (0, import_jsx_runtime.jsx)(f, {
18851
18942
  path: i,
18852
18943
  value: w,
18853
18944
  setValue: E,
18854
- abortEditing: fq,
18855
- commitEditing: pq
18945
+ abortEditing: kq,
18946
+ commitEditing: Aq
18856
18947
  }) : s ? (0, import_jsx_runtime.jsx)(s, {
18857
- ...vq
18948
+ ...Fq
18858
18949
  }) : (0, import_jsx_runtime.jsx)(Box_default, {
18859
18950
  component: "span",
18860
18951
  className: "data-value-fallback",
18861
18952
  children: `fallback: ${t}`
18862
18953
  }),
18863
18954
  d && (0, import_jsx_runtime.jsx)(d, {
18864
- ...vq
18955
+ ...Fq
18865
18956
  }),
18866
18957
  !o && $ && (0, import_jsx_runtime.jsx)(DataBox, {
18867
18958
  children: ","
18868
18959
  }),
18869
- I && gq && !K && mq,
18870
- I && !gq && mq,
18871
- !I && J && mq
18960
+ I && Nq && !K && jq,
18961
+ I && !Nq && jq,
18962
+ !I && J && jq
18872
18963
  ]
18873
18964
  });
18874
18965
  }, query = "(prefers-color-scheme: dark)";
@@ -18997,9 +19088,9 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18997
19088
  })
18998
19089
  })
18999
19090
  });
19000
- }, import_compiler_runtime$61 = require_compiler_runtime();
19091
+ }, import_compiler_runtime$62 = require_compiler_runtime();
19001
19092
  HtmlOutput = (0, import_react.memo)((e) => {
19002
- let t = (0, import_compiler_runtime$61.c)(10), { html: n, inline: i, className: o, alwaysSanitizeHtml: s } = e, c = i === void 0 ? false : i;
19093
+ let t = (0, import_compiler_runtime$62.c)(10), { html: n, inline: i, className: o, alwaysSanitizeHtml: s } = e, c = i === void 0 ? false : i;
19003
19094
  if (!n) return null;
19004
19095
  let d = !c, f;
19005
19096
  t[0] !== o || t[1] !== c || t[2] !== d ? (f = cn(o, {
@@ -19018,9 +19109,9 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
19018
19109
  }), t[7] = f, t[8] = h, t[9] = _) : _ = t[9], _;
19019
19110
  });
19020
19111
  HtmlOutput.displayName = "HtmlOutput";
19021
- var import_compiler_runtime$60 = require_compiler_runtime();
19112
+ var import_compiler_runtime$61 = require_compiler_runtime();
19022
19113
  const ImageOutput = (e) => {
19023
- let t = (0, import_compiler_runtime$60.c)(8), { src: n, alt: i, width: a, height: o, className: s } = e, c = i === void 0 ? "" : i, d;
19114
+ let t = (0, import_compiler_runtime$61.c)(8), { src: n, alt: i, width: a, height: o, className: s } = e, c = i === void 0 ? "" : i, d;
19024
19115
  t[0] !== c || t[1] !== o || t[2] !== n || t[3] !== a ? (d = (0, import_jsx_runtime.jsx)("img", {
19025
19116
  src: n,
19026
19117
  alt: c,
@@ -19033,9 +19124,9 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
19033
19124
  children: d
19034
19125
  }), t[5] = s, t[6] = d, t[7] = f) : f = t[7], f;
19035
19126
  };
19036
- var import_compiler_runtime$59 = require_compiler_runtime();
19127
+ var import_compiler_runtime$60 = require_compiler_runtime();
19037
19128
  Kbd = (e) => {
19038
- let t = (0, import_compiler_runtime$59.c)(5), n;
19129
+ let t = (0, import_compiler_runtime$60.c)(5), n;
19039
19130
  t[0] === e.className ? n = t[1] : (n = clsx_default(e.className, "rounded-md bg-muted/40 px-2 text-[0.75rem] font-prose center border border-foreground/20 text-muted-foreground block whitespace-nowrap"), t[0] = e.className, t[1] = n);
19040
19131
  let i;
19041
19132
  return t[2] !== e.children || t[3] !== n ? (i = (0, import_jsx_runtime.jsx)("kbd", {
@@ -19043,9 +19134,9 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
19043
19134
  children: e.children
19044
19135
  }), t[2] = e.children, t[3] = n, t[4] = i) : i = t[4], i;
19045
19136
  };
19046
- var import_compiler_runtime$58 = require_compiler_runtime();
19137
+ var import_compiler_runtime$59 = require_compiler_runtime();
19047
19138
  const ExternalLink$1 = (e) => {
19048
- let t = (0, import_compiler_runtime$58.c)(3), { href: n, children: i } = e, a;
19139
+ let t = (0, import_compiler_runtime$59.c)(3), { href: n, children: i } = e, a;
19049
19140
  return t[0] !== i || t[1] !== n ? (a = (0, import_jsx_runtime.jsx)("a", {
19050
19141
  href: n,
19051
19142
  target: "_blank",
@@ -19232,17 +19323,17 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
19232
19323
  os: "os",
19233
19324
  re: "re",
19234
19325
  sys: "sys"
19235
- }, import_compiler_runtime$57 = require_compiler_runtime(), fixModeAtom = atomWithStorage("marimo:ai-autofix-mode", "autofix", jotaiJsonStorage);
19326
+ }, import_compiler_runtime$58 = require_compiler_runtime(), fixModeAtom = atomWithStorage("marimo:ai-autofix-mode", "autofix", jotaiJsonStorage);
19236
19327
  function useFixMode() {
19237
- let e = (0, import_compiler_runtime$57.c)(3), [t, n] = useAtom(fixModeAtom), i;
19328
+ let e = (0, import_compiler_runtime$58.c)(3), [t, n] = useAtom(fixModeAtom), i;
19238
19329
  return e[0] !== t || e[1] !== n ? (i = {
19239
19330
  fixMode: t,
19240
19331
  setFixMode: n
19241
19332
  }, e[0] = t, e[1] = n, e[2] = i) : i = e[2], i;
19242
19333
  }
19243
- var import_compiler_runtime$56 = require_compiler_runtime();
19334
+ var import_compiler_runtime$57 = require_compiler_runtime();
19244
19335
  const AutoFixButton = (e) => {
19245
- let t = (0, import_compiler_runtime$56.c)(21), { errors: n, cellId: i, className: o } = e, s = useStore(), { createNewCell: c } = useCellActions(), d = useAtomValue(aiFeaturesEnabledAtom), f;
19336
+ let t = (0, import_compiler_runtime$57.c)(21), { errors: n, cellId: i, className: o } = e, s = useStore(), { createNewCell: c } = useCellActions(), d = useAtomValue(aiFeaturesEnabledAtom), f;
19246
19337
  if (t[0] !== d || t[1] !== n) {
19247
19338
  let e2;
19248
19339
  t[3] === d ? e2 = t[4] : (e2 = (e3) => getAutoFixes(e3, {
@@ -19303,7 +19394,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
19303
19394
  };
19304
19395
  var PromptIcon = Sparkles, AutofixIcon = Wrench, PromptTitle = "Suggest a prompt", AutofixTitle = "Fix with AI";
19305
19396
  const AIFixButton = (e) => {
19306
- let t = (0, import_compiler_runtime$56.c)(21), { tooltip: n, openPrompt: i, applyAutofix: a } = e, { fixMode: o, setFixMode: s } = useFixMode(), c = o === "prompt" ? i : a, d;
19397
+ let t = (0, import_compiler_runtime$57.c)(21), { tooltip: n, openPrompt: i, applyAutofix: a } = e, { fixMode: o, setFixMode: s } = useFixMode(), c = o === "prompt" ? i : a, d;
19307
19398
  t[0] === o ? d = t[1] : (d = o === "prompt" ? (0, import_jsx_runtime.jsx)(PromptIcon, {
19308
19399
  className: "h-3 w-3 mr-2 mb-0.5"
19309
19400
  }) : (0, import_jsx_runtime.jsx)(AutofixIcon, {
@@ -19372,7 +19463,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
19372
19463
  }), t[18] = O, t[19] = v, t[20] = A) : A = t[20], A;
19373
19464
  };
19374
19465
  var AiModeItem = (e) => {
19375
- let t = (0, import_compiler_runtime$56.c)(12), { mode: n } = e, i;
19466
+ let t = (0, import_compiler_runtime$57.c)(12), { mode: n } = e, i;
19376
19467
  t[0] === n ? i = t[1] : (i = n === "prompt" ? (0, import_jsx_runtime.jsx)(PromptIcon, {
19377
19468
  className: "h-4 w-4"
19378
19469
  }) : (0, import_jsx_runtime.jsx)(AutofixIcon, {
@@ -19409,9 +19500,9 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
19409
19500
  function useFilename() {
19410
19501
  return useAtomValue(filenameAtom);
19411
19502
  }
19412
- var import_compiler_runtime$54 = require_compiler_runtime();
19503
+ var import_compiler_runtime$55 = require_compiler_runtime();
19413
19504
  const CellLink = (e) => {
19414
- let t = (0, import_compiler_runtime$54.c)(12), { className: n, cellId: i, variant: o, onClick: s, formatCellName: c, skipScroll: d } = e, f = useCellNames()[i] ?? "", h = useCellIds().inOrderIds.indexOf(i), { showCellIfHidden: _ } = useCellActions(), v = c ?? _temp$11, y;
19505
+ let t = (0, import_compiler_runtime$55.c)(12), { className: n, cellId: i, variant: o, onClick: s, formatCellName: c, skipScroll: d } = e, f = useCellNames()[i] ?? "", h = useCellIds().inOrderIds.indexOf(i), { showCellIfHidden: _ } = useCellActions(), v = c ?? _temp$11, y;
19415
19506
  t[0] === n ? y = t[1] : (y = cn("inline-block cursor-pointer text-link hover:underline", n), t[0] = n, t[1] = y);
19416
19507
  let S;
19417
19508
  t[2] !== i || t[3] !== s || t[4] !== _ || t[5] !== d || t[6] !== o ? (S = (e2) => {
@@ -19431,13 +19522,13 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
19431
19522
  children: w
19432
19523
  }), t[8] = y, t[9] = S, t[10] = w, t[11] = E) : E = t[11], E;
19433
19524
  }, CellLinkError = (e) => {
19434
- let t = (0, import_compiler_runtime$54.c)(2), n;
19525
+ let t = (0, import_compiler_runtime$55.c)(2), n;
19435
19526
  return t[0] === e ? n = t[1] : (n = (0, import_jsx_runtime.jsx)(CellLink, {
19436
19527
  ...e,
19437
19528
  variant: "destructive"
19438
19529
  }), t[0] = e, t[1] = n), n;
19439
19530
  }, CellLinkTraceback = (e) => {
19440
- let t = (0, import_compiler_runtime$54.c)(10), { cellId: n, lineNumber: i } = e, a = useFilename(), o;
19531
+ let t = (0, import_compiler_runtime$55.c)(10), { cellId: n, lineNumber: i } = e, a = useFilename(), o;
19441
19532
  t[0] !== n || t[1] !== i ? (o = () => goToCellLine(n, i), t[0] = n, t[1] = i, t[2] = o) : o = t[2];
19442
19533
  let s;
19443
19534
  t[3] !== n || t[4] !== a ? (s = (e2) => n === "__scratch__" ? "scratch" : `marimo://${a || "untitled"}#cell=${e2}`, t[3] = n, t[4] = a, t[5] = s) : s = t[5];
@@ -19465,9 +19556,9 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
19465
19556
  function _temp$11(e) {
19466
19557
  return e;
19467
19558
  }
19468
- var import_compiler_runtime$53 = require_compiler_runtime();
19559
+ var import_compiler_runtime$54 = require_compiler_runtime();
19469
19560
  const MangledLocalChip = (e) => {
19470
- let t = (0, import_compiler_runtime$53.c)(12), { local: n } = e, i;
19561
+ let t = (0, import_compiler_runtime$54.c)(12), { local: n } = e, i;
19471
19562
  t[0] === n.name ? i = t[1] : (i = (0, import_jsx_runtime.jsx)("span", {
19472
19563
  className: "font-code",
19473
19564
  children: n.name
@@ -19499,7 +19590,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
19499
19590
  children: c
19500
19591
  }), t[9] = c, t[10] = s, t[11] = d) : d = t[11], d;
19501
19592
  }, MangledSegments = (e) => {
19502
- let t = (0, import_compiler_runtime$53.c)(4), { segments: n } = e, i;
19593
+ let t = (0, import_compiler_runtime$54.c)(4), { segments: n } = e, i;
19503
19594
  t[0] === n ? i = t[1] : (i = n.map(_temp$10), t[0] = n, t[1] = i);
19504
19595
  let a;
19505
19596
  return t[2] === i ? a = t[3] : (a = (0, import_jsx_runtime.jsx)(import_jsx_runtime.Fragment, {
@@ -19582,7 +19673,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
19582
19673
  value: e2
19583
19674
  });
19584
19675
  }
19585
- var import_compiler_runtime$52 = require_compiler_runtime(), ansiUp = new AnsiUp();
19676
+ var import_compiler_runtime$53 = require_compiler_runtime(), ansiUp = new AnsiUp();
19586
19677
  const cleanAnsiCodes = (e) => {
19587
19678
  let t = RegExp("\x1B\\[[0-9;]*m", "g");
19588
19679
  return e.replaceAll(t, "");
@@ -19650,7 +19741,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
19650
19741
  });
19651
19742
  }
19652
19743
  var InstallPackageLink = (e) => {
19653
- let t = (0, import_compiler_runtime$52.c)(6), { packages: n, children: i } = e, { handleInstallPackages: a } = useInstallPackages(), o;
19744
+ let t = (0, import_compiler_runtime$53.c)(6), { packages: n, children: i } = e, { handleInstallPackages: a } = useInstallPackages(), o;
19654
19745
  t[0] !== a || t[1] !== n ? (o = (e2) => {
19655
19746
  a(n), e2.preventDefault();
19656
19747
  }, t[0] = a, t[1] = n, t[2] = o) : o = t[2];
@@ -19723,15 +19814,15 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
19723
19814
  })
19724
19815
  });
19725
19816
  RenderTextWithLinks = (e) => {
19726
- let t = (0, import_compiler_runtime$52.c)(4), { text: n } = e, i;
19817
+ let t = (0, import_compiler_runtime$53.c)(4), { text: n } = e, i;
19727
19818
  t[0] === n ? i = t[1] : (i = renderTextWithReplacers(n, composeReplacers(pipInstallReplacer, urlReplacer)), t[0] = n, t[1] = i);
19728
19819
  let a = i, o;
19729
19820
  return t[2] === a ? o = t[3] : (o = (0, import_jsx_runtime.jsx)(import_jsx_runtime.Fragment, {
19730
19821
  children: a
19731
19822
  }), t[2] = a, t[3] = o), o;
19732
19823
  };
19733
- var import_compiler_runtime$51 = require_compiler_runtime(), CollapsibleTraceback = (e) => {
19734
- let t = (0, import_compiler_runtime$51.c)(16), { traceback: n } = e, [i, a] = (0, import_react.useState)(true), o;
19824
+ var import_compiler_runtime$52 = require_compiler_runtime(), CollapsibleTraceback = (e) => {
19825
+ let t = (0, import_compiler_runtime$52.c)(16), { traceback: n } = e, [i, a] = (0, import_react.useState)(true), o;
19735
19826
  t[0] === i ? o = t[1] : (o = () => a(!i), t[0] = i, t[1] = o);
19736
19827
  let s = i ? "Collapse traceback" : "Expand traceback", c;
19737
19828
  t[2] === i ? c = t[3] : (c = i ? (0, import_jsx_runtime.jsx)(ChevronDown, {
@@ -19772,7 +19863,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
19772
19863
  ]
19773
19864
  }), t[13] = f, t[14] = h, t[15] = _) : _ = t[15], _;
19774
19865
  }, Tip = (e) => {
19775
- let t = (0, import_compiler_runtime$51.c)(10), n = e.title ?? "Tip", i;
19866
+ let t = (0, import_compiler_runtime$52.c)(10), n = e.title ?? "Tip", i;
19776
19867
  t[0] === n ? i = t[1] : (i = (0, import_jsx_runtime.jsx)(AccordionTrigger, {
19777
19868
  className: "pt-2 pb-0 font-normal",
19778
19869
  children: n
@@ -19801,7 +19892,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
19801
19892
  }), t[7] = e.className, t[8] = o, t[9] = s) : s = t[9], s;
19802
19893
  };
19803
19894
  const MarimoErrorOutput = (e) => {
19804
- let t = (0, import_compiler_runtime$51.c)(38), { errors: n, cellId: i, className: o } = e, s = useChromeActions(), c = useAtomValue(resolvedMarimoConfigAtom).display.cell_output === "above", d = "This cell wasn't run because it has errors", f = "destructive", _ = "text-error", v = null;
19895
+ let t = (0, import_compiler_runtime$52.c)(38), { errors: n, cellId: i, className: o } = e, s = useChromeActions(), c = useAtomValue(resolvedMarimoConfigAtom).display.cell_output === "above", d = "This cell wasn't run because it has errors", f = "destructive", _ = "text-error", v = null;
19805
19896
  if (n.some(_temp$9)) d = "Interrupted";
19806
19897
  else if (n.some(_temp2$7)) d = "An internal error occurred";
19807
19898
  else if (n.some(_temp3$4)) d = "Ancestor prevented from running", f = "default", _ = "text-secondary-foreground";
@@ -19816,18 +19907,18 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
19816
19907
  }
19817
19908
  let y, S, w, E, O, A;
19818
19909
  if (t[2] !== f || t[3] !== i || t[4] !== s || t[5] !== o || t[6] !== n || t[7] !== c || t[8] !== v || t[9] !== _ || t[10] !== d) {
19819
- let e2 = n.filter(_temp8), M2 = n.filter(_temp9), I2 = n.filter(_temp0), z = n.filter(_temp1), U = n.filter(_temp10), K = n.filter(_temp11), q = n.filter(_temp12), J = n.filter(_temp13), Q = n.filter(_temp14), GK = n.filter(_temp15), KK = n.filter(_temp16), qK = n.filter(_temp17), JK = n.filter(_temp18), $;
19910
+ let e2 = n.filter(_temp8), M2 = n.filter(_temp9), I2 = n.filter(_temp0), z = n.filter(_temp1), U = n.filter(_temp10), K = n.filter(_temp11), q = n.filter(_temp12), J = n.filter(_temp13), Q = n.filter(_temp14), cq = n.filter(_temp15), lq = n.filter(_temp16), uq = n.filter(_temp17), dq = n.filter(_temp18), $;
19820
19911
  t[17] === s ? $ = t[18] : ($ = () => {
19821
19912
  s.openApplication("scratchpad");
19822
19913
  }, t[17] = s, t[18] = $);
19823
- let XK = $, ZK = () => {
19914
+ let pq = $, mq = () => {
19824
19915
  let t2 = [];
19825
- if (KK.length > 0 || qK.length > 0) {
19826
- let e3 = KK.some(_temp19), n2 = !e3 && KK.some(_temp20);
19916
+ if (lq.length > 0 || uq.length > 0) {
19917
+ let e3 = lq.some(_temp19), n2 = !e3 && lq.some(_temp20);
19827
19918
  t2.push((0, import_jsx_runtime.jsxs)("div", {
19828
19919
  children: [
19829
- KK.map(_temp21),
19830
- qK.map(_temp22),
19920
+ lq.map(_temp21),
19921
+ uq.map(_temp22),
19831
19922
  e3 && (0, import_jsx_runtime.jsxs)(Button, {
19832
19923
  size: "xs",
19833
19924
  variant: "outline",
@@ -19858,8 +19949,8 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
19858
19949
  }),
19859
19950
  i && (0, import_jsx_runtime.jsx)(AutoFixButton, {
19860
19951
  errors: [
19861
- ...KK,
19862
- ...qK
19952
+ ...lq,
19953
+ ...uq
19863
19954
  ],
19864
19955
  cellId: i
19865
19956
  })
@@ -20020,7 +20111,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
20020
20111
  size: "xs",
20021
20112
  variant: "link",
20022
20113
  className: "my-2 font-normal mx-0 px-0",
20023
- onClick: XK,
20114
+ onClick: pq,
20024
20115
  children: [
20025
20116
  (0, import_jsx_runtime.jsx)(NotebookPen, {
20026
20117
  className: "h-3"
@@ -20211,26 +20302,26 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
20211
20302
  cellId: i
20212
20303
  })
20213
20304
  ]
20214
- }, "ancestor-prevented")), GK.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("div", {
20305
+ }, "ancestor-prevented")), cq.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("div", {
20215
20306
  children: [
20216
- GK.map(_temp34),
20307
+ cq.map(_temp34),
20217
20308
  i && (0, import_jsx_runtime.jsx)(AutoFixButton, {
20218
- errors: GK,
20309
+ errors: cq,
20219
20310
  cellId: i
20220
20311
  })
20221
20312
  ]
20222
- }, "ancestor-stopped")), JK.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("div", {
20313
+ }, "ancestor-stopped")), dq.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("div", {
20223
20314
  children: [
20224
- JK.map(_temp35),
20315
+ dq.map(_temp35),
20225
20316
  i && (0, import_jsx_runtime.jsx)(AutoFixButton, {
20226
- errors: JK,
20317
+ errors: dq,
20227
20318
  cellId: i,
20228
20319
  className: "mt-2.5"
20229
20320
  })
20230
20321
  ]
20231
20322
  }, "sql-errors")), t2;
20232
- }, QK;
20233
- t[19] === v ? QK = t[20] : (QK = v && (0, import_jsx_runtime.jsxs)("div", {
20323
+ }, hq;
20324
+ t[19] === v ? hq = t[20] : (hq = v && (0, import_jsx_runtime.jsxs)("div", {
20234
20325
  className: "flex items-center gap-1 font-code text-[0.6875rem] uppercase tracking-wider text-muted-foreground/70",
20235
20326
  children: [
20236
20327
  v,
@@ -20242,22 +20333,22 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
20242
20333
  })
20243
20334
  })
20244
20335
  ]
20245
- }), t[19] = v, t[20] = QK);
20246
- let $K;
20247
- t[21] !== _ || t[22] !== d ? ($K = d && (0, import_jsx_runtime.jsx)(AlertTitle, {
20336
+ }), t[19] = v, t[20] = hq);
20337
+ let gq;
20338
+ t[21] !== _ || t[22] !== d ? (gq = d && (0, import_jsx_runtime.jsx)(AlertTitle, {
20248
20339
  className: `font-code font-medium ${_}`,
20249
20340
  children: d
20250
- }), t[21] = _, t[22] = d, t[23] = $K) : $K = t[23];
20251
- let eq;
20252
- t[24] !== QK || t[25] !== $K ? (eq = (0, import_jsx_runtime.jsxs)("div", {
20341
+ }), t[21] = _, t[22] = d, t[23] = gq) : gq = t[23];
20342
+ let _q;
20343
+ t[24] !== hq || t[25] !== gq ? (_q = (0, import_jsx_runtime.jsxs)("div", {
20253
20344
  className: "space-y-0.5",
20254
20345
  children: [
20255
- QK,
20256
- $K
20346
+ hq,
20347
+ gq
20257
20348
  ]
20258
- }), t[24] = QK, t[25] = $K, t[26] = eq) : eq = t[26];
20259
- let tq = eq;
20260
- y = Alert, E = f, t[27] === o ? O = t[28] : (O = cn("border-none font-code text-sm text-[0.84375rem] p-0 text-muted-foreground normal [&:has(svg)]:pl-0 space-y-2", o), t[27] = o, t[28] = O), A = tq, S = "flex flex-col gap-4", w = ZK(), t[2] = f, t[3] = i, t[4] = s, t[5] = o, 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] = O, t[16] = A;
20349
+ }), t[24] = hq, t[25] = gq, t[26] = _q) : _q = t[26];
20350
+ let vq = _q;
20351
+ y = Alert, E = f, t[27] === o ? O = t[28] : (O = cn("border-none font-code text-sm text-[0.84375rem] p-0 text-muted-foreground normal [&:has(svg)]:pl-0 space-y-2", o), t[27] = o, t[28] = O), A = vq, S = "flex flex-col gap-4", w = mq(), t[2] = f, t[3] = i, t[4] = s, t[5] = o, 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] = O, t[16] = A;
20261
20352
  } else y = t[11], S = t[12], w = t[13], E = t[14], O = t[15], A = t[16];
20262
20353
  let M;
20263
20354
  t[29] !== S || t[30] !== w ? (M = (0, import_jsx_runtime.jsx)("div", {
@@ -20495,9 +20586,9 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
20495
20586
  })
20496
20587
  }, `sql-error-${t}`);
20497
20588
  }
20498
- var import_compiler_runtime$50 = require_compiler_runtime();
20589
+ var import_compiler_runtime$51 = require_compiler_runtime();
20499
20590
  const TextOutput = (e) => {
20500
- let t = (0, import_compiler_runtime$50.c)(13), { text: n, channel: i, wrapText: o } = e, s = i === "stdout" || i === "stderr", c;
20591
+ let t = (0, import_compiler_runtime$51.c)(13), { text: n, channel: i, wrapText: o } = e, s = i === "stdout" || i === "stderr", c;
20501
20592
  t[0] === o ? c = t[1] : (c = (e2) => (0, import_jsx_runtime.jsx)("span", {
20502
20593
  className: o ? "whitespace-pre-wrap break-words" : "whitespace-pre",
20503
20594
  children: (0, import_jsx_runtime.jsx)(RenderTextWithLinks, {
@@ -20514,17 +20605,17 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
20514
20605
  children: v
20515
20606
  }), t[10] = _, t[11] = v, t[12] = y) : y = t[12], y;
20516
20607
  };
20517
- var import_compiler_runtime$49 = require_compiler_runtime();
20608
+ var import_compiler_runtime$50 = require_compiler_runtime();
20518
20609
  const VideoOutput = (e) => {
20519
- let t = (0, import_compiler_runtime$49.c)(3), { src: n, className: i } = e, a;
20610
+ let t = (0, import_compiler_runtime$50.c)(3), { src: n, className: i } = e, a;
20520
20611
  return t[0] !== i || t[1] !== n ? (a = (0, import_jsx_runtime.jsx)("iframe", {
20521
20612
  className: i,
20522
20613
  src: n
20523
20614
  }), t[0] = i, t[1] = n, t[2] = a) : a = t[2], a;
20524
20615
  };
20525
- var import_compiler_runtime$48 = require_compiler_runtime();
20616
+ var import_compiler_runtime$49 = require_compiler_runtime();
20526
20617
  useOverflowDetection = function(e, t) {
20527
- let n = (0, import_compiler_runtime$48.c)(4), i = t === void 0 ? true : t, [a, o] = (0, import_react.useState)(false), s, c;
20618
+ let n = (0, import_compiler_runtime$49.c)(4), i = t === void 0 ? true : t, [a, o] = (0, import_react.useState)(false), s, c;
20528
20619
  return n[0] !== i || n[1] !== e ? (s = () => {
20529
20620
  let t2 = e.current;
20530
20621
  if (!t2 || !i) return;
@@ -20621,9 +20712,9 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
20621
20712
  LazyVegaEmbed = import_react.lazy(() => import("./react-vega-B6ncY2Tp.js").then((e) => ({
20622
20713
  default: e.VegaEmbed
20623
20714
  })));
20624
- var import_compiler_runtime$47 = require_compiler_runtime();
20715
+ var import_compiler_runtime$48 = require_compiler_runtime();
20625
20716
  ChartLoadingState = () => {
20626
- let e = (0, import_compiler_runtime$47.c)(1), t;
20717
+ let e = (0, import_compiler_runtime$48.c)(1), t;
20627
20718
  return e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t = (0, import_jsx_runtime.jsxs)("div", {
20628
20719
  className: "flex items-center gap-2 justify-center",
20629
20720
  children: [
@@ -20638,7 +20729,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
20638
20729
  }), e[0] = t) : t = e[0], t;
20639
20730
  };
20640
20731
  ChartErrorState = (e) => {
20641
- let t = (0, import_compiler_runtime$47.c)(2), { error: n } = e, i;
20732
+ let t = (0, import_compiler_runtime$48.c)(2), { error: n } = e, i;
20642
20733
  return t[0] === n ? i = t[1] : (i = (0, import_jsx_runtime.jsx)("div", {
20643
20734
  className: "flex items-center justify-center",
20644
20735
  children: (0, import_jsx_runtime.jsx)(ErrorBanner, {
@@ -20647,7 +20738,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
20647
20738
  }), t[0] = n, t[1] = i), i;
20648
20739
  };
20649
20740
  ChartInfoState = (e) => {
20650
- let t = (0, import_compiler_runtime$47.c)(8), { children: n, className: i } = e, o;
20741
+ let t = (0, import_compiler_runtime$48.c)(8), { children: n, className: i } = e, o;
20651
20742
  t[0] === i ? o = t[1] : (o = cn("flex flex-col items-center justify-center gap-4", i), t[0] = i, t[1] = o);
20652
20743
  let s;
20653
20744
  t[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (s = (0, import_jsx_runtime.jsx)(ChartPie, {
@@ -20667,11 +20758,11 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
20667
20758
  ]
20668
20759
  }), t[5] = o, t[6] = c, t[7] = d) : d = t[7], d;
20669
20760
  };
20670
- let import_compiler_runtime$46;
20671
- import_compiler_runtime$46 = require_compiler_runtime();
20761
+ let import_compiler_runtime$47;
20762
+ import_compiler_runtime$47 = require_compiler_runtime();
20672
20763
  Tabs = Root2;
20673
20764
  TabsList = import_react.forwardRef((e, t) => {
20674
- let n = (0, import_compiler_runtime$46.c)(9), i, o;
20765
+ let n = (0, import_compiler_runtime$47.c)(9), i, o;
20675
20766
  n[0] === e ? (i = n[1], o = n[2]) : ({ className: i, ...o } = e, n[0] = e, n[1] = i, n[2] = o);
20676
20767
  let s;
20677
20768
  n[3] === i ? s = n[4] : (s = cn("inline-flex max-h-14 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground", i), n[3] = i, n[4] = s);
@@ -20684,7 +20775,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
20684
20775
  });
20685
20776
  TabsList.displayName = List.displayName;
20686
20777
  TabsTrigger = import_react.forwardRef((e, t) => {
20687
- let n = (0, import_compiler_runtime$46.c)(9), i, o;
20778
+ let n = (0, import_compiler_runtime$47.c)(9), i, o;
20688
20779
  n[0] === e ? (i = n[1], o = n[2]) : ({ className: i, ...o } = e, n[0] = e, n[1] = i, n[2] = o);
20689
20780
  let s;
20690
20781
  n[3] === i ? s = n[4] : (s = cn("inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1 text-sm font-medium ring-offset-background transition-all focus-visible:outline-hidden focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm", i), n[3] = i, n[4] = s);
@@ -20697,7 +20788,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
20697
20788
  });
20698
20789
  TabsTrigger.displayName = Trigger.displayName;
20699
20790
  TabsContent = import_react.forwardRef((e, t) => {
20700
- let n = (0, import_compiler_runtime$46.c)(9), i, o;
20791
+ let n = (0, import_compiler_runtime$47.c)(9), i, o;
20701
20792
  n[0] === e ? (i = n[1], o = n[2]) : ({ className: i, ...o } = e, n[0] = e, n[1] = i, n[2] = o);
20702
20793
  let s;
20703
20794
  n[3] === i ? s = n[4] : (s = cn("mt-2 ring-offset-background focus-visible:outline-hidden focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-2", i), n[3] = i, n[4] = s);
@@ -20709,9 +20800,9 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
20709
20800
  }), n[5] = o, n[6] = t, n[7] = s, n[8] = c) : c = n[8], c;
20710
20801
  });
20711
20802
  TabsContent.displayName = Content.displayName;
20712
- var import_compiler_runtime$45 = require_compiler_runtime();
20803
+ var import_compiler_runtime$46 = require_compiler_runtime();
20713
20804
  const WithLocale = (e) => {
20714
- let t = (0, import_compiler_runtime$45.c)(3), { children: n } = e, { locale: i } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), a;
20805
+ let t = (0, import_compiler_runtime$46.c)(3), { children: n } = e, { locale: i } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), a;
20715
20806
  return t[0] !== n || t[1] !== i ? (a = n(i), t[0] = n, t[1] = i, t[2] = a) : a = t[2], a;
20716
20807
  };
20717
20808
  function tzName(e, t, n = "long") {
@@ -21107,9 +21198,9 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
21107
21198
  is_null: "Is null",
21108
21199
  is_not_null: "Is not null"
21109
21200
  };
21110
- var import_compiler_runtime$44 = require_compiler_runtime();
21201
+ var import_compiler_runtime$45 = require_compiler_runtime();
21111
21202
  const MimeCell = (e) => {
21112
- let t = (0, import_compiler_runtime$44.c)(6), { value: n } = e, i;
21203
+ let t = (0, import_compiler_runtime$45.c)(6), { value: n } = e, i;
21113
21204
  t[0] !== n.data || t[1] !== n.mimetype ? (i = {
21114
21205
  channel: "output",
21115
21206
  data: n.data,
@@ -23426,10 +23517,10 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
23426
23517
  ],
23427
23518
  unknown: []
23428
23519
  };
23429
- var import_compiler_runtime$43 = require_compiler_runtime();
23520
+ var import_compiler_runtime$44 = require_compiler_runtime();
23430
23521
  function FormatOptions(e) {
23431
23522
  var _a2, _b, _c;
23432
- let t = (0, import_compiler_runtime$43.c)(36), { column: n, locale: i } = e, o = (_a2 = n.columnDef.meta) == null ? void 0 : _a2.dataType, s, c, d, f, h, _, v, y;
23523
+ let t = (0, import_compiler_runtime$44.c)(36), { column: n, locale: i } = e, o = (_a2 = n.columnDef.meta) == null ? void 0 : _a2.dataType, s, c, d, f, h, _, v, y;
23433
23524
  if (t[0] !== n || t[1] !== o || t[2] !== i) {
23434
23525
  y = /* @__PURE__ */ Symbol.for("react.early_return_sentinel");
23435
23526
  bb0: {
@@ -23504,7 +23595,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
23504
23595
  }
23505
23596
  function ColumnWrapping(e) {
23506
23597
  var _a2;
23507
- let t = (0, import_compiler_runtime$43.c)(10), { column: n } = e;
23598
+ let t = (0, import_compiler_runtime$44.c)(10), { column: n } = e;
23508
23599
  if (!((_a2 = n.getCanWrap) == null ? void 0 : _a2.call(n)) || !n.getColumnWrapping) return null;
23509
23600
  if (n.getColumnWrapping() === "wrap") {
23510
23601
  let e2;
@@ -23539,7 +23630,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
23539
23630
  }
23540
23631
  function ColumnPinning$1(e) {
23541
23632
  var _a2;
23542
- let t = (0, import_compiler_runtime$43.c)(18), { column: n } = e;
23633
+ let t = (0, import_compiler_runtime$44.c)(18), { column: n } = e;
23543
23634
  if (!((_a2 = n.getCanPin) == null ? void 0 : _a2.call(n)) || !n.getIsPinned) return null;
23544
23635
  if (n.getIsPinned() !== false) {
23545
23636
  let e2;
@@ -23594,7 +23685,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
23594
23685
  }), t[15] = o, t[16] = d, t[17] = f) : f = t[17], f;
23595
23686
  }
23596
23687
  function HideColumn(e) {
23597
- let t = (0, import_compiler_runtime$43.c)(5), { column: n } = e;
23688
+ let t = (0, import_compiler_runtime$44.c)(5), { column: n } = e;
23598
23689
  if (!n.getCanHide()) return null;
23599
23690
  let i;
23600
23691
  t[0] === n ? i = t[1] : (i = () => n.toggleVisibility(false), t[0] = n, t[1] = i);
@@ -23613,7 +23704,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
23613
23704
  }
23614
23705
  function CopyColumn(e) {
23615
23706
  var _a2;
23616
- let t = (0, import_compiler_runtime$43.c)(5), { column: n } = e;
23707
+ let t = (0, import_compiler_runtime$44.c)(5), { column: n } = e;
23617
23708
  if (!((_a2 = n.getCanCopy) == null ? void 0 : _a2.call(n)) || n.id.startsWith("__m_column__")) return null;
23618
23709
  let i;
23619
23710
  t[0] === n.id ? i = t[1] : (i = async () => await copyToClipboard(n.id), t[0] = n.id, t[1] = i);
@@ -23632,7 +23723,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
23632
23723
  }
23633
23724
  var AscIcon = ArrowUpNarrowWide, DescIcon = ArrowDownWideNarrow;
23634
23725
  function Sorts(e) {
23635
- let t = (0, import_compiler_runtime$43.c)(40), { column: n, table: i } = e;
23726
+ let t = (0, import_compiler_runtime$44.c)(40), { column: n, table: i } = e;
23636
23727
  if (!n.getCanSort()) return null;
23637
23728
  let a;
23638
23729
  t[0] === n ? a = t[1] : (a = n.getIsSorted(), t[0] = n, t[1] = a);
@@ -23707,14 +23798,14 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
23707
23798
  }), t[30] = z, t[31] = U, t[32] = q, t[33] = J) : J = t[33];
23708
23799
  let Q;
23709
23800
  t[34] === y ? Q = t[35] : (Q = y(), t[34] = y, t[35] = Q);
23710
- let GK;
23711
- return t[36] !== I || t[37] !== J || t[38] !== Q ? (GK = (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
23801
+ let cq;
23802
+ return t[36] !== I || t[37] !== J || t[38] !== Q ? (cq = (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
23712
23803
  children: [
23713
23804
  I,
23714
23805
  J,
23715
23806
  Q
23716
23807
  ]
23717
- }), t[36] = I, t[37] = J, t[38] = Q, t[39] = GK) : GK = t[39], GK;
23808
+ }), t[36] = I, t[37] = J, t[38] = Q, t[39] = cq) : cq = t[39], cq;
23718
23809
  }
23719
23810
  function renderSortIcon(e) {
23720
23811
  if (!e.getCanSort()) return null;
@@ -23725,7 +23816,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
23725
23816
  }
23726
23817
  function DataType(e) {
23727
23818
  var _a2;
23728
- let t = (0, import_compiler_runtime$43.c)(5), { column: n } = e, i = (_a2 = n.columnDef.meta) == null ? void 0 : _a2.dtype;
23819
+ let t = (0, import_compiler_runtime$44.c)(5), { column: n } = e, i = (_a2 = n.columnDef.meta) == null ? void 0 : _a2.dtype;
23729
23820
  if (!i) return null;
23730
23821
  let a;
23731
23822
  t[0] === i ? a = t[1] : (a = (0, import_jsx_runtime.jsx)("div", {
@@ -23743,7 +23834,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
23743
23834
  }), t[3] = a, t[4] = s), s;
23744
23835
  }
23745
23836
  const ClearFilterMenuItem = (e) => {
23746
- let t = (0, import_compiler_runtime$43.c)(5), { column: n } = e, i;
23837
+ let t = (0, import_compiler_runtime$44.c)(5), { column: n } = e, i;
23747
23838
  t[0] === n ? i = t[1] : (i = () => n.setFilterValue(void 0), t[0] = n, t[1] = i);
23748
23839
  let a;
23749
23840
  t[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (a = (0, import_jsx_runtime.jsx)(FunnelX, {
@@ -23934,9 +24025,9 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
23934
24025
  let [t, n] = import_react.useState(e), [i, a] = import_react.useState(null);
23935
24026
  return e !== t && (a(t), n(e)), i;
23936
24027
  };
23937
- var import_compiler_runtime$42 = require_compiler_runtime();
24028
+ var import_compiler_runtime$43 = require_compiler_runtime();
23938
24029
  DelayMount = (e) => {
23939
- let t = (0, import_compiler_runtime$42.c)(13), { milliseconds: n, children: i, fallback: a, visibility: o, threshold: s, rootMargin: c } = e, d = o === void 0 ? false : o, f = s === void 0 ? 0 : s, h = c === void 0 ? "0px" : c, [_, v] = (0, import_react.useState)(false), [y, S] = (0, import_react.useState)(false), w;
24030
+ let t = (0, import_compiler_runtime$43.c)(13), { milliseconds: n, children: i, fallback: a, visibility: o, threshold: s, rootMargin: c } = e, d = o === void 0 ? false : o, f = s === void 0 ? 0 : s, h = c === void 0 ? "0px" : c, [_, v] = (0, import_react.useState)(false), [y, S] = (0, import_react.useState)(false), w;
23940
24031
  t[0] !== h || t[1] !== f ? (w = {
23941
24032
  threshold: f,
23942
24033
  root: null,
@@ -23967,9 +24058,9 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
23967
24058
  children: J
23968
24059
  }), t[10] = q, t[11] = J, t[12] = Q) : Q = t[12], Q;
23969
24060
  };
23970
- var import_compiler_runtime$41 = require_compiler_runtime();
24061
+ var import_compiler_runtime$42 = require_compiler_runtime();
23971
24062
  const DatePopover = (e) => {
23972
- let t = (0, import_compiler_runtime$41.c)(15), { date: n, type: i, children: a } = e;
24063
+ let t = (0, import_compiler_runtime$42.c)(15), { date: n, type: i, children: a } = e;
23973
24064
  if (!n || Number.isNaN(new Date(n).getTime())) return a;
23974
24065
  let o;
23975
24066
  t[0] === n ? o = t[1] : (o = new Date(n), t[0] = n, t[1] = o);
@@ -24009,7 +24100,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
24009
24100
  }), t[12] = h, t[13] = _, t[14] = v) : v = t[14], v;
24010
24101
  };
24011
24102
  var TimezoneDisplay = (e) => {
24012
- let t = (0, import_compiler_runtime$41.c)(26), { date: n } = e, { locale: i } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), a;
24103
+ let t = (0, import_compiler_runtime$42.c)(26), { date: n } = e, { locale: i } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), a;
24013
24104
  t[0] === i ? a = t[1] : (a = Intl.DateTimeFormat(i).resolvedOptions(), t[0] = i, t[1] = a);
24014
24105
  let o = a.timeZone, s = n.getUTCMilliseconds() !== 0, c;
24015
24106
  t[2] === s ? c = t[3] : (c = s ? {
@@ -24085,7 +24176,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
24085
24176
  ]
24086
24177
  }), t[23] = O, t[24] = y, t[25] = A) : A = t[25], A;
24087
24178
  }, DateDisplay = (e) => {
24088
- let t = (0, import_compiler_runtime$41.c)(6), { date: n } = e, i;
24179
+ let t = (0, import_compiler_runtime$42.c)(6), { date: n } = e, i;
24089
24180
  t[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (i = {
24090
24181
  timeZone: "UTC",
24091
24182
  dateStyle: "long"
@@ -24097,7 +24188,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
24097
24188
  children: o
24098
24189
  }), t[4] = o, t[5] = s), s;
24099
24190
  }, RelativeTime = (e) => {
24100
- let t = (0, import_compiler_runtime$41.c)(6), { date: n } = e, { locale: i } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), a, o;
24191
+ let t = (0, import_compiler_runtime$42.c)(6), { date: n } = e, { locale: i } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), a, o;
24101
24192
  if (t[0] !== n || t[1] !== i) {
24102
24193
  o = /* @__PURE__ */ Symbol.for("react.early_return_sentinel");
24103
24194
  bb0: {
@@ -24149,7 +24240,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
24149
24240
  return t[4] === a ? s = t[5] : (s = (0, import_jsx_runtime.jsx)("span", {
24150
24241
  children: a
24151
24242
  }), t[4] = a, t[5] = s), s;
24152
- }, import_compiler_runtime$40 = require_compiler_runtime(), hashString = (e) => {
24243
+ }, import_compiler_runtime$41 = require_compiler_runtime(), hashString = (e) => {
24153
24244
  let t = 0;
24154
24245
  for (let n = 0; n < e.length; n++) {
24155
24246
  let i = e.charCodeAt(n);
@@ -24166,7 +24257,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
24166
24257
  return i;
24167
24258
  };
24168
24259
  const ChartSkeleton = (e) => {
24169
- let t = (0, import_compiler_runtime$40.c)(11), { seed: n, width: i, height: a } = e, o = i / 9, s = a - 15, c;
24260
+ let t = (0, import_compiler_runtime$41.c)(11), { seed: n, width: i, height: a } = e, o = i / 9, s = a - 15, c;
24170
24261
  if (t[0] !== o || t[1] !== a || t[2] !== n || t[3] !== s || t[4] !== i) {
24171
24262
  let e2 = generateHeights({
24172
24263
  numBars: 9,
@@ -24545,7 +24636,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
24545
24636
  let c = s / t.length;
24546
24637
  return Math.max(c, 1);
24547
24638
  }
24548
- let MAX_BAR_HEIGHT, BIN_END_EXTENSION_FACTOR, CONCAT_CHART_HEIGHT, CONCAT_CHART_WIDTH, CONCAT_NULL_BAR_WIDTH, BAR_COLOR, UNHOVERED_BAR_OPACITY, NULL_BAR_COLOR, import_compiler_runtime$39;
24639
+ let MAX_BAR_HEIGHT, BIN_END_EXTENSION_FACTOR, CONCAT_CHART_HEIGHT, CONCAT_CHART_WIDTH, CONCAT_NULL_BAR_WIDTH, BAR_COLOR, UNHOVERED_BAR_OPACITY, NULL_BAR_COLOR, import_compiler_runtime$40;
24549
24640
  MAX_BAR_HEIGHT = 20;
24550
24641
  BIN_END_EXTENSION_FACTOR = 0.1;
24551
24642
  CONCAT_CHART_HEIGHT = 30;
@@ -25182,11 +25273,11 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
25182
25273
  }, __publicField(_a, "EMPTY", new _a([], /* @__PURE__ */ new Map(), {}, {}, {}, {
25183
25274
  includeCharts: false
25184
25275
  })), _a);
25185
- import_compiler_runtime$39 = require_compiler_runtime();
25276
+ import_compiler_runtime$40 = require_compiler_runtime();
25186
25277
  ColumnChartContext = import_react.createContext(ColumnChartSpecModel.EMPTY);
25187
25278
  var batchedLoader = createBatchedLoader();
25188
25279
  const TableColumnSummary = (e) => {
25189
- let t = (0, import_compiler_runtime$39.c)(21), { columnId: n } = e, { locale: i } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), a = import_react.use(ColumnChartContext), { theme: o } = useTheme(), s, c, d;
25280
+ let t = (0, import_compiler_runtime$40.c)(21), { columnId: n } = e, { locale: i } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), a = import_react.use(ColumnChartContext), { theme: o } = useTheme(), s, c, d;
25190
25281
  if (t[0] !== a || t[1] !== n || t[2] !== i || t[3] !== o) {
25191
25282
  let { spec: e2, type: f2, stats: h } = a.getHeaderSummary(n), _ = null;
25192
25283
  if (e2) {
@@ -25387,7 +25478,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
25387
25478
  };
25388
25479
  }
25389
25480
  };
25390
- var import_compiler_runtime$38 = require_compiler_runtime(), WHITESPACE_CHARS = {
25481
+ var import_compiler_runtime$39 = require_compiler_runtime(), WHITESPACE_CHARS = {
25391
25482
  " ": {
25392
25483
  marker: "\u2423",
25393
25484
  name: "space"
@@ -25463,7 +25554,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
25463
25554
  }
25464
25555
  };
25465
25556
  function WhitespaceMarkers(e) {
25466
- let t = (0, import_compiler_runtime$38.c)(7), { value: n } = e;
25557
+ let t = (0, import_compiler_runtime$39.c)(7), { value: n } = e;
25467
25558
  if (!n) return null;
25468
25559
  let i;
25469
25560
  t[0] === n ? i = t[1] : (i = describeWhitespace(n), t[0] = n, t[1] = i);
@@ -25478,7 +25569,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
25478
25569
  }), t[4] = a, t[5] = o, t[6] = s) : s = t[6], s;
25479
25570
  }
25480
25571
  function SentinelCell(e) {
25481
- let t = (0, import_compiler_runtime$38.c)(15), { sentinel: n } = e, i = SENTINEL_CONFIG[n.type], a;
25572
+ let t = (0, import_compiler_runtime$39.c)(15), { sentinel: n } = e, i = SENTINEL_CONFIG[n.type], a;
25482
25573
  t[0] !== i || t[1] !== n.value ? (a = i.label(n.value), t[0] = i, t[1] = n.value, t[2] = a) : a = t[2];
25483
25574
  let o = a, s;
25484
25575
  t[3] !== i || t[4] !== n.value ? (s = i.tooltip(n.value), t[3] = i, t[4] = n.value, t[5] = s) : s = t[5];
@@ -25507,8 +25598,8 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
25507
25598
  let a = e.at(-1);
25508
25599
  return n.push(a), n;
25509
25600
  }
25510
- var import_compiler_runtime$37 = require_compiler_runtime(), ImageWithFallback = (e) => {
25511
- let t = (0, import_compiler_runtime$37.c)(14), { url: n } = e, [i, a] = (0, import_react.useState)(false), [o, s] = (0, import_react.useState)(false);
25601
+ var import_compiler_runtime$38 = require_compiler_runtime(), ImageWithFallback = (e) => {
25602
+ let t = (0, import_compiler_runtime$38.c)(14), { url: n } = e, [i, a] = (0, import_react.useState)(false), [o, s] = (0, import_react.useState)(false);
25512
25603
  if (i) {
25513
25604
  let e2;
25514
25605
  return t[0] === n ? e2 = t[1] : (e2 = (0, import_jsx_runtime.jsx)(URLAnchor, {
@@ -25582,7 +25673,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
25582
25673
  return t.some((e2) => n.has(e2.type));
25583
25674
  }
25584
25675
  const MarkdownUrlDetector = (e) => {
25585
- let t = (0, import_compiler_runtime$37.c)(4), { content: n, parts: i } = e;
25676
+ let t = (0, import_compiler_runtime$38.c)(4), { content: n, parts: i } = e;
25586
25677
  if (isMarkdown(n)) {
25587
25678
  let e2;
25588
25679
  return t[0] === n ? e2 = t[1] : (e2 = (0, import_jsx_runtime.jsx)(MarkdownRenderer, {
@@ -25599,7 +25690,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
25599
25690
  url: e2.url
25600
25691
  }, t) : e2.value);
25601
25692
  var URLAnchor = (e) => {
25602
- let t = (0, import_compiler_runtime$37.c)(3), { url: n } = e, i;
25693
+ let t = (0, import_compiler_runtime$38.c)(3), { url: n } = e, i;
25603
25694
  t[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (i = Events.stopPropagation(), t[0] = i) : i = t[0];
25604
25695
  let a;
25605
25696
  return t[1] === n ? a = t[2] : (a = (0, import_jsx_runtime.jsx)("a", {
@@ -25994,10 +26085,10 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
25994
26085
  maximumFractionDigits: maxFractionalDigits(n)
25995
26086
  }).format(e);
25996
26087
  };
25997
- let import_compiler_runtime$36;
25998
- import_compiler_runtime$36 = require_compiler_runtime();
26088
+ let import_compiler_runtime$37;
26089
+ import_compiler_runtime$37 = require_compiler_runtime();
25999
26090
  Table = import_react.forwardRef((e, t) => {
26000
- let n = (0, import_compiler_runtime$36.c)(9), i, o;
26091
+ let n = (0, import_compiler_runtime$37.c)(9), i, o;
26001
26092
  n[0] === e ? (i = n[1], o = n[2]) : ({ className: i, ...o } = e, n[0] = e, n[1] = i, n[2] = o);
26002
26093
  let s;
26003
26094
  n[3] === i ? s = n[4] : (s = cn("w-full caption-bottom text-sm", i), n[3] = i, n[4] = s);
@@ -26013,7 +26104,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
26013
26104
  });
26014
26105
  Table.displayName = "Table";
26015
26106
  TableHeader = import_react.forwardRef((e, t) => {
26016
- let n = (0, import_compiler_runtime$36.c)(9), i, o;
26107
+ let n = (0, import_compiler_runtime$37.c)(9), i, o;
26017
26108
  n[0] === e ? (i = n[1], o = n[2]) : ({ className: i, ...o } = e, n[0] = e, n[1] = i, n[2] = o);
26018
26109
  let s;
26019
26110
  n[3] === i ? s = n[4] : (s = cn("[&_tr]:border-b bg-background", i), n[3] = i, n[4] = s);
@@ -26026,7 +26117,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
26026
26117
  });
26027
26118
  TableHeader.displayName = "TableHeader";
26028
26119
  TableBody = import_react.forwardRef((e, t) => {
26029
- let n = (0, import_compiler_runtime$36.c)(9), i, o;
26120
+ let n = (0, import_compiler_runtime$37.c)(9), i, o;
26030
26121
  n[0] === e ? (i = n[1], o = n[2]) : ({ className: i, ...o } = e, n[0] = e, n[1] = i, n[2] = o);
26031
26122
  let s;
26032
26123
  n[3] === i ? s = n[4] : (s = cn("[&_tr:last-child]:border-0", i), n[3] = i, n[4] = s);
@@ -26039,7 +26130,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
26039
26130
  });
26040
26131
  TableBody.displayName = "TableBody";
26041
26132
  var TableFooter = import_react.forwardRef((e, t) => {
26042
- let n = (0, import_compiler_runtime$36.c)(9), i, o;
26133
+ let n = (0, import_compiler_runtime$37.c)(9), i, o;
26043
26134
  n[0] === e ? (i = n[1], o = n[2]) : ({ className: i, ...o } = e, n[0] = e, n[1] = i, n[2] = o);
26044
26135
  let s;
26045
26136
  n[3] === i ? s = n[4] : (s = cn("bg-primary font-medium text-primary-foreground", i), n[3] = i, n[4] = s);
@@ -26052,7 +26143,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
26052
26143
  });
26053
26144
  TableFooter.displayName = "TableFooter";
26054
26145
  TableRow = import_react.forwardRef((e, t) => {
26055
- let n = (0, import_compiler_runtime$36.c)(9), i, o;
26146
+ let n = (0, import_compiler_runtime$37.c)(9), i, o;
26056
26147
  n[0] === e ? (i = n[1], o = n[2]) : ({ className: i, ...o } = e, n[0] = e, n[1] = i, n[2] = o);
26057
26148
  let s;
26058
26149
  n[3] === i ? s = n[4] : (s = cn("border-b transition-colors bg-background hover:bg-(--slate-2) data-[state=selected]:bg-(--slate-3)", i), n[3] = i, n[4] = s);
@@ -26065,7 +26156,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
26065
26156
  });
26066
26157
  TableRow.displayName = "TableRow";
26067
26158
  TableHead = import_react.forwardRef((e, t) => {
26068
- let n = (0, import_compiler_runtime$36.c)(9), i, o;
26159
+ let n = (0, import_compiler_runtime$37.c)(9), i, o;
26069
26160
  n[0] === e ? (i = n[1], o = n[2]) : ({ className: i, ...o } = e, n[0] = e, n[1] = i, n[2] = o);
26070
26161
  let s;
26071
26162
  n[3] === i ? s = n[4] : (s = cn("h-10 px-2 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0", i), n[3] = i, n[4] = s);
@@ -26078,7 +26169,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
26078
26169
  });
26079
26170
  TableHead.displayName = "TableHead";
26080
26171
  TableCell = import_react.forwardRef((e, t) => {
26081
- let n = (0, import_compiler_runtime$36.c)(9), i, o;
26172
+ let n = (0, import_compiler_runtime$37.c)(9), i, o;
26082
26173
  n[0] === e ? (i = n[1], o = n[2]) : ({ className: i, ...o } = e, n[0] = e, n[1] = i, n[2] = o);
26083
26174
  let s;
26084
26175
  n[3] === i ? s = n[4] : (s = cn("p-1.5 align-middle [&:has([role=checkbox])]:pr-0", i), n[3] = i, n[4] = s);
@@ -26091,7 +26182,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
26091
26182
  });
26092
26183
  TableCell.displayName = "TableCell";
26093
26184
  var TableCaption = import_react.forwardRef((e, t) => {
26094
- let n = (0, import_compiler_runtime$36.c)(9), i, o;
26185
+ let n = (0, import_compiler_runtime$37.c)(9), i, o;
26095
26186
  n[0] === e ? (i = n[1], o = n[2]) : ({ className: i, ...o } = e, n[0] = e, n[1] = i, n[2] = o);
26096
26187
  let s;
26097
26188
  n[3] === i ? s = n[4] : (s = cn("mt-4 text-sm text-muted-foreground", i), n[3] = i, n[4] = s);
@@ -26304,7 +26395,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
26304
26395
  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 }) {
26305
26396
  let E = (0, import_react.useContext)(PanelGroupContext);
26306
26397
  if (E === null) throw Error("Panel components must be rendered within a PanelGroup container");
26307
- let { collapsePanel: O, expandPanel: A, getPanelSize: M, getPanelStyle: I, groupId: z, isPanelCollapsed: U, reevaluatePanelConstraints: K, registerPanel: q, resizePanel: J, unregisterPanel: Q } = E, GK = useUniqueId(s), KK = (0, import_react.useRef)({
26398
+ let { collapsePanel: O, expandPanel: A, getPanelSize: M, getPanelStyle: I, groupId: z, isPanelCollapsed: U, reevaluatePanelConstraints: K, registerPanel: q, resizePanel: J, unregisterPanel: Q } = E, cq = useUniqueId(s), lq = (0, import_react.useRef)({
26308
26399
  callbacks: {
26309
26400
  onCollapse: f,
26310
26401
  onExpand: h,
@@ -26317,72 +26408,72 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
26317
26408
  maxSize: c,
26318
26409
  minSize: d
26319
26410
  },
26320
- id: GK,
26411
+ id: cq,
26321
26412
  idIsFromProps: s !== void 0,
26322
26413
  order: v
26323
26414
  });
26324
26415
  (0, import_react.useRef)({
26325
26416
  didLogMissingDefaultSizeWarning: false
26326
26417
  }), useIsomorphicLayoutEffect$1(() => {
26327
- let { callbacks: e2, constraints: t2 } = KK.current, o2 = {
26418
+ let { callbacks: e2, constraints: t2 } = lq.current, o2 = {
26328
26419
  ...t2
26329
26420
  };
26330
- KK.current.id = GK, KK.current.idIsFromProps = s !== void 0, KK.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(KK.current, o2);
26421
+ lq.current.id = cq, lq.current.idIsFromProps = s !== void 0, lq.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(lq.current, o2);
26331
26422
  }), useIsomorphicLayoutEffect$1(() => {
26332
- let e2 = KK.current;
26423
+ let e2 = lq.current;
26333
26424
  return q(e2), () => {
26334
26425
  Q(e2);
26335
26426
  };
26336
26427
  }, [
26337
26428
  v,
26338
- GK,
26429
+ cq,
26339
26430
  q,
26340
26431
  Q
26341
26432
  ]), (0, import_react.useImperativeHandle)(o, () => ({
26342
26433
  collapse: () => {
26343
- O(KK.current);
26434
+ O(lq.current);
26344
26435
  },
26345
26436
  expand: (e2) => {
26346
- A(KK.current, e2);
26437
+ A(lq.current, e2);
26347
26438
  },
26348
26439
  getId() {
26349
- return GK;
26440
+ return cq;
26350
26441
  },
26351
26442
  getSize() {
26352
- return M(KK.current);
26443
+ return M(lq.current);
26353
26444
  },
26354
26445
  isCollapsed() {
26355
- return U(KK.current);
26446
+ return U(lq.current);
26356
26447
  },
26357
26448
  isExpanded() {
26358
- return !U(KK.current);
26449
+ return !U(lq.current);
26359
26450
  },
26360
26451
  resize: (e2) => {
26361
- J(KK.current, e2);
26452
+ J(lq.current, e2);
26362
26453
  }
26363
26454
  }), [
26364
26455
  O,
26365
26456
  A,
26366
26457
  M,
26367
26458
  U,
26368
- GK,
26459
+ cq,
26369
26460
  J
26370
26461
  ]);
26371
- let qK = I(KK.current, a);
26462
+ let uq = I(lq.current, a);
26372
26463
  return (0, import_react.createElement)(S, {
26373
26464
  ...w,
26374
26465
  children: e,
26375
26466
  className: t,
26376
- id: GK,
26467
+ id: cq,
26377
26468
  style: {
26378
- ...qK,
26469
+ ...uq,
26379
26470
  ...y
26380
26471
  },
26381
26472
  [DATA_ATTRIBUTES.groupId]: z,
26382
26473
  [DATA_ATTRIBUTES.panel]: "",
26383
26474
  [DATA_ATTRIBUTES.panelCollapsible]: i || void 0,
26384
- [DATA_ATTRIBUTES.panelId]: GK,
26385
- [DATA_ATTRIBUTES.panelSize]: parseFloat("" + qK.flexGrow).toFixed(1)
26475
+ [DATA_ATTRIBUTES.panelId]: cq,
26476
+ [DATA_ATTRIBUTES.panelSize]: parseFloat("" + uq.flexGrow).toFixed(1)
26386
26477
  });
26387
26478
  }
26388
26479
  Panel = (0, import_react.forwardRef)((e, t) => (0, import_react.createElement)(PanelWithForwardedRef, {
@@ -27155,7 +27246,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27155
27246
  }, []), Q = (0, import_react.useCallback)((e2) => {
27156
27247
  let { layout: t2, panelDataArray: n2 } = K.current, { panelSize: i2 } = panelDataHelper(n2, e2, t2);
27157
27248
  return assert(i2 != null, `Panel size not found for panel "${e2.id}"`), i2;
27158
- }, []), GK = (0, import_react.useCallback)((e2, t2) => {
27249
+ }, []), cq = (0, import_react.useCallback)((e2, t2) => {
27159
27250
  let { panelDataArray: n2 } = K.current;
27160
27251
  return computePanelFlexBoxStyle({
27161
27252
  defaultSize: t2,
@@ -27167,13 +27258,13 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27167
27258
  }, [
27168
27259
  S,
27169
27260
  E
27170
- ]), KK = (0, import_react.useCallback)((e2) => {
27261
+ ]), lq = (0, import_react.useCallback)((e2) => {
27171
27262
  let { layout: t2, panelDataArray: n2 } = K.current, { collapsedSize: i2 = 0, collapsible: a2, panelSize: o2 } = panelDataHelper(n2, e2, t2);
27172
27263
  return assert(o2 != null, `Panel size not found for panel "${e2.id}"`), a2 === true && fuzzyNumbersEqual$1(o2, i2);
27173
- }, []), qK = (0, import_react.useCallback)((e2) => {
27264
+ }, []), uq = (0, import_react.useCallback)((e2) => {
27174
27265
  let { layout: t2, panelDataArray: n2 } = K.current, { collapsedSize: i2 = 0, collapsible: a2, panelSize: o2 } = panelDataHelper(n2, e2, t2);
27175
27266
  return assert(o2 != null, `Panel size not found for panel "${e2.id}"`), !a2 || fuzzyCompareNumbers(o2, i2) > 0;
27176
- }, []), JK = (0, import_react.useCallback)((e2) => {
27267
+ }, []), dq = (0, import_react.useCallback)((e2) => {
27177
27268
  let { panelDataArray: t2 } = K.current;
27178
27269
  t2.push(e2), t2.sort((e3, t3) => {
27179
27270
  let n2 = e3.order, i2 = t3.order;
@@ -27223,7 +27314,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27223
27314
  }), I2 = !compareLayouts(f2, A2);
27224
27315
  (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));
27225
27316
  };
27226
- }, []), YK = (0, import_react.useCallback)((e2, t2) => {
27317
+ }, []), fq = (0, import_react.useCallback)((e2, t2) => {
27227
27318
  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);
27228
27319
  assert(s2 != null, `Panel size not found for panel "${e2.id}"`);
27229
27320
  let d2 = adjustLayoutByDelta({
@@ -27235,12 +27326,12 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27235
27326
  trigger: "imperative-api"
27236
27327
  });
27237
27328
  compareLayouts(i2, d2) || (O(d2), K.current.layout = d2, n2 && n2(d2), callPanelCallbacks(a2, d2, M.current));
27238
- }, []), XK = (0, import_react.useCallback)((e2, t2) => {
27329
+ }, []), pq = (0, import_react.useCallback)((e2, t2) => {
27239
27330
  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);
27240
- h2 != null && (o2 && c2 && fuzzyNumbersEqual$1(h2, a2) ? fuzzyNumbersEqual$1(a2, s2) || YK(e2, s2) : h2 < f2 ? YK(e2, f2) : h2 > d2 && YK(e2, d2));
27331
+ h2 != null && (o2 && c2 && fuzzyNumbersEqual$1(h2, a2) ? fuzzyNumbersEqual$1(a2, s2) || fq(e2, s2) : h2 < f2 ? fq(e2, f2) : h2 > d2 && fq(e2, d2));
27241
27332
  }, [
27242
- YK
27243
- ]), ZK = (0, import_react.useCallback)((e2, t2) => {
27333
+ fq
27334
+ ]), mq = (0, import_react.useCallback)((e2, t2) => {
27244
27335
  let { direction: n2 } = U.current, { layout: i2 } = K.current;
27245
27336
  if (!y.current) return;
27246
27337
  let a2 = getResizeHandleElement(e2, y.current);
@@ -27252,30 +27343,30 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27252
27343
  initialCursorPosition: o2,
27253
27344
  initialLayout: i2
27254
27345
  });
27255
- }, []), QK = (0, import_react.useCallback)(() => {
27346
+ }, []), hq = (0, import_react.useCallback)(() => {
27256
27347
  w(null);
27257
- }, []), $K = (0, import_react.useCallback)((e2) => {
27348
+ }, []), gq = (0, import_react.useCallback)((e2) => {
27258
27349
  let { panelDataArray: t2 } = K.current, n2 = findPanelDataIndex(t2, e2);
27259
27350
  n2 >= 0 && (t2.splice(n2, 1), delete M.current[e2.id], K.current.panelDataArrayChanged = true, A());
27260
27351
  }, [
27261
27352
  A
27262
- ]), eq = (0, import_react.useMemo)(() => ({
27353
+ ]), _q = (0, import_react.useMemo)(() => ({
27263
27354
  collapsePanel: q,
27264
27355
  direction: i,
27265
27356
  dragState: S,
27266
27357
  expandPanel: J,
27267
27358
  getPanelSize: Q,
27268
- getPanelStyle: GK,
27359
+ getPanelStyle: cq,
27269
27360
  groupId: v,
27270
- isPanelCollapsed: KK,
27271
- isPanelExpanded: qK,
27272
- reevaluatePanelConstraints: XK,
27273
- registerPanel: JK,
27361
+ isPanelCollapsed: lq,
27362
+ isPanelExpanded: uq,
27363
+ reevaluatePanelConstraints: pq,
27364
+ registerPanel: dq,
27274
27365
  registerResizeHandle: $,
27275
- resizePanel: YK,
27276
- startDragging: ZK,
27277
- stopDragging: QK,
27278
- unregisterPanel: $K,
27366
+ resizePanel: fq,
27367
+ startDragging: mq,
27368
+ stopDragging: hq,
27369
+ unregisterPanel: gq,
27279
27370
  panelGroupElement: y.current
27280
27371
  }), [
27281
27372
  q,
@@ -27283,18 +27374,18 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27283
27374
  i,
27284
27375
  J,
27285
27376
  Q,
27286
- GK,
27377
+ cq,
27287
27378
  v,
27288
- KK,
27289
- qK,
27290
- XK,
27291
- JK,
27379
+ lq,
27380
+ uq,
27381
+ pq,
27382
+ dq,
27292
27383
  $,
27293
- YK,
27294
- ZK,
27295
- QK,
27296
- $K
27297
- ]), tq = {
27384
+ fq,
27385
+ mq,
27386
+ hq,
27387
+ gq
27388
+ ]), vq = {
27298
27389
  display: "flex",
27299
27390
  flexDirection: i === "horizontal" ? "row" : "column",
27300
27391
  height: "100%",
@@ -27302,7 +27393,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27302
27393
  width: "100%"
27303
27394
  };
27304
27395
  return (0, import_react.createElement)(PanelGroupContext.Provider, {
27305
- value: eq
27396
+ value: _q
27306
27397
  }, (0, import_react.createElement)(h, {
27307
27398
  ..._,
27308
27399
  children: t,
@@ -27310,7 +27401,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27310
27401
  id: o,
27311
27402
  ref: y,
27312
27403
  style: {
27313
- ...tq,
27404
+ ...vq,
27314
27405
  ...f
27315
27406
  },
27316
27407
  [DATA_ATTRIBUTES.group]: "",
@@ -27387,31 +27478,31 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27387
27478
  });
27388
27479
  let O = (0, import_react.useContext)(PanelGroupContext);
27389
27480
  if (O === null) throw Error("PanelResizeHandle components must be rendered within a PanelGroup container");
27390
- let { direction: A, groupId: M, registerResizeHandle: I, startDragging: z, stopDragging: U, panelGroupElement: K } = O, q = useUniqueId(a), [J, Q] = (0, import_react.useState)("inactive"), [GK, KK] = (0, import_react.useState)(false), [qK, JK] = (0, import_react.useState)(null), $ = (0, import_react.useRef)({
27481
+ let { direction: A, groupId: M, registerResizeHandle: I, startDragging: z, stopDragging: U, panelGroupElement: K } = O, q = useUniqueId(a), [J, Q] = (0, import_react.useState)("inactive"), [cq, lq] = (0, import_react.useState)(false), [uq, dq] = (0, import_react.useState)(null), $ = (0, import_react.useRef)({
27391
27482
  state: J
27392
27483
  });
27393
27484
  useIsomorphicLayoutEffect$1(() => {
27394
27485
  $.current.state = J;
27395
27486
  }), (0, import_react.useEffect)(() => {
27396
- if (n) JK(null);
27487
+ if (n) dq(null);
27397
27488
  else {
27398
27489
  let e2 = I(q);
27399
- JK(() => e2);
27490
+ dq(() => e2);
27400
27491
  }
27401
27492
  }, [
27402
27493
  n,
27403
27494
  q,
27404
27495
  I
27405
27496
  ]);
27406
- let YK = (i == null ? void 0 : i.coarse) ?? 15, XK = (i == null ? void 0 : i.fine) ?? 5;
27497
+ let fq = (i == null ? void 0 : i.coarse) ?? 15, pq = (i == null ? void 0 : i.fine) ?? 5;
27407
27498
  (0, import_react.useEffect)(() => {
27408
- if (n || qK == null) return;
27499
+ if (n || uq == null) return;
27409
27500
  let e2 = w.current;
27410
27501
  assert(e2, "Element ref not attached");
27411
27502
  let t2 = false;
27412
27503
  return registerResizeHandle(q, e2, A, {
27413
- coarse: YK,
27414
- fine: XK
27504
+ coarse: fq,
27505
+ fine: pq
27415
27506
  }, (e3, n2, i2) => {
27416
27507
  if (!n2) {
27417
27508
  Q("inactive");
@@ -27426,7 +27517,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27426
27517
  }
27427
27518
  case "move": {
27428
27519
  let { state: e4 } = $.current;
27429
- t2 = true, e4 !== "drag" && Q("hover"), assert(i2, 'Expected event to be defined for "move" action'), qK(i2);
27520
+ t2 = true, e4 !== "drag" && Q("hover"), assert(i2, 'Expected event to be defined for "move" action'), uq(i2);
27430
27521
  break;
27431
27522
  }
27432
27523
  case "up": {
@@ -27438,22 +27529,22 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27438
27529
  }
27439
27530
  });
27440
27531
  }, [
27441
- YK,
27532
+ fq,
27442
27533
  A,
27443
27534
  n,
27444
- XK,
27535
+ pq,
27445
27536
  I,
27446
27537
  q,
27447
- qK,
27538
+ uq,
27448
27539
  z,
27449
27540
  U
27450
27541
  ]), useWindowSplitterResizeHandlerBehavior({
27451
27542
  disabled: n,
27452
27543
  handleId: q,
27453
- resizeHandler: qK,
27544
+ resizeHandler: uq,
27454
27545
  panelGroupElement: K
27455
27546
  });
27456
- let ZK = {
27547
+ let mq = {
27457
27548
  touchAction: "none",
27458
27549
  userSelect: "none"
27459
27550
  };
@@ -27463,30 +27554,30 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27463
27554
  className: t,
27464
27555
  id: a,
27465
27556
  onBlur: () => {
27466
- KK(false), o == null ? void 0 : o();
27557
+ lq(false), o == null ? void 0 : o();
27467
27558
  },
27468
27559
  onFocus: () => {
27469
- KK(true), d == null ? void 0 : d();
27560
+ lq(true), d == null ? void 0 : d();
27470
27561
  },
27471
27562
  ref: w,
27472
27563
  role: "separator",
27473
27564
  style: {
27474
- ...ZK,
27565
+ ...mq,
27475
27566
  ..._
27476
27567
  },
27477
27568
  tabIndex: v,
27478
27569
  [DATA_ATTRIBUTES.groupDirection]: A,
27479
27570
  [DATA_ATTRIBUTES.groupId]: M,
27480
27571
  [DATA_ATTRIBUTES.resizeHandle]: "",
27481
- [DATA_ATTRIBUTES.resizeHandleActive]: J === "drag" ? "pointer" : GK ? "keyboard" : void 0,
27572
+ [DATA_ATTRIBUTES.resizeHandleActive]: J === "drag" ? "pointer" : cq ? "keyboard" : void 0,
27482
27573
  [DATA_ATTRIBUTES.resizeHandleEnabled]: !n,
27483
27574
  [DATA_ATTRIBUTES.resizeHandleId]: q,
27484
27575
  [DATA_ATTRIBUTES.resizeHandleState]: J
27485
27576
  });
27486
27577
  };
27487
27578
  PanelResizeHandle.displayName = "PanelResizeHandle";
27488
- let import_compiler_runtime$35, toggleVariants;
27489
- import_compiler_runtime$35 = require_compiler_runtime();
27579
+ let import_compiler_runtime$36, toggleVariants;
27580
+ import_compiler_runtime$36 = require_compiler_runtime();
27490
27581
  toggleVariants = cva(cn("inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-background transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50", "data-[state=on]:bg-muted data-[state=on]:text-muted-foreground"), {
27491
27582
  variants: {
27492
27583
  variant: {
@@ -27506,7 +27597,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27506
27597
  }
27507
27598
  });
27508
27599
  Toggle = import_react.forwardRef((e, t) => {
27509
- let n = (0, import_compiler_runtime$35.c)(13), i, o, s, c;
27600
+ let n = (0, import_compiler_runtime$36.c)(13), i, o, s, c;
27510
27601
  n[0] === e ? (i = n[1], o = n[2], s = n[3], c = n[4]) : ({ className: i, variant: c, size: s, ...o } = e, n[0] = e, n[1] = i, n[2] = o, n[3] = s, n[4] = c);
27511
27602
  let d;
27512
27603
  n[5] !== i || n[6] !== s || n[7] !== c ? (d = cn(toggleVariants({
@@ -27533,14 +27624,14 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27533
27624
  contextAwarePanelOpen = atom(false);
27534
27625
  atom(false);
27535
27626
  isCellAwareAtom = atom(false);
27536
- var import_compiler_runtime$34 = require_compiler_runtime();
27627
+ var import_compiler_runtime$35 = require_compiler_runtime();
27537
27628
  let CellHoverTemplateFeature;
27538
27629
  PANEL_TYPES = {
27539
27630
  ROW_VIEWER: "row-viewer",
27540
27631
  COLUMN_EXPLORER: "column-explorer"
27541
27632
  };
27542
27633
  ContextAwarePanelItem = (e) => {
27543
- let t = (0, import_compiler_runtime$34.c)(2), { children: n } = e, i;
27634
+ let t = (0, import_compiler_runtime$35.c)(2), { children: n } = e, i;
27544
27635
  return t[0] === n ? i = t[1] : (i = (0, import_jsx_runtime.jsx)(ErrorBoundary, {
27545
27636
  children: (0, import_jsx_runtime.jsx)(Fill, {
27546
27637
  name: SlotNames.CONTEXT_AWARE_PANEL,
@@ -27770,7 +27861,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27770
27861
  }, [
27771
27862
  h
27772
27863
  ]), k(() => {
27773
- U(6, qK);
27864
+ U(6, uq);
27774
27865
  }, []);
27775
27866
  let K = import_react.useMemo(() => ({
27776
27867
  subscribe: (e2) => (s.current.add(e2), () => s.current.delete(e2)),
@@ -27779,7 +27870,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27779
27870
  var _a2;
27780
27871
  var a2, o2, s2;
27781
27872
  if (!Object.is(n.current[e2], t2)) {
27782
- if (n.current[e2] = t2, e2 === "search") KK(), Q(), U(1, GK);
27873
+ if (n.current[e2] = t2, e2 === "search") lq(), Q(), U(1, cq);
27783
27874
  else if (e2 === "value") {
27784
27875
  if (document.activeElement.hasAttribute("cmdk-input") || document.activeElement.hasAttribute("cmdk-root")) {
27785
27876
  let e3 = document.getElementById(I);
@@ -27787,8 +27878,8 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27787
27878
  }
27788
27879
  if (U(7, () => {
27789
27880
  var _a3;
27790
- n.current.selectedItemId = (_a3 = JK()) == null ? void 0 : _a3.id, K.emit();
27791
- }), i2 || U(5, qK), ((_a2 = c.current) == null ? void 0 : _a2.value) !== void 0) {
27881
+ n.current.selectedItemId = (_a3 = dq()) == null ? void 0 : _a3.id, K.emit();
27882
+ }), i2 || U(5, uq), ((_a2 = c.current) == null ? void 0 : _a2.value) !== void 0) {
27792
27883
  let e3 = t2 ?? "";
27793
27884
  (s2 = (o2 = c.current).onValueChange) == null || s2.call(o2, e3);
27794
27885
  return;
@@ -27813,12 +27904,12 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27813
27904
  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([
27814
27905
  e2
27815
27906
  ]))), U(3, () => {
27816
- KK(), Q(), n.current.value || GK(), K.emit();
27907
+ lq(), Q(), n.current.value || cq(), K.emit();
27817
27908
  }), () => {
27818
27909
  o.current.delete(e2), i.current.delete(e2), n.current.filtered.items.delete(e2);
27819
- let t3 = JK();
27910
+ let t3 = dq();
27820
27911
  U(4, () => {
27821
- KK(), (t3 == null ? void 0 : t3.getAttribute("id")) === e2 && GK(), K.emit();
27912
+ lq(), (t3 == null ? void 0 : t3.getAttribute("id")) === e2 && cq(), K.emit();
27822
27913
  });
27823
27914
  }),
27824
27915
  group: (e2) => (a.current.has(e2) || a.current.set(e2, /* @__PURE__ */ new Set()), () => {
@@ -27863,12 +27954,12 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27863
27954
  t3 == null ? void 0 : t3.parentElement.appendChild(t3);
27864
27955
  });
27865
27956
  }
27866
- function GK() {
27957
+ function cq() {
27867
27958
  var _a2;
27868
27959
  let e2 = (_a2 = $().find((e3) => e3.getAttribute("aria-disabled") !== "true")) == null ? void 0 : _a2.getAttribute(T);
27869
27960
  K.setState("value", e2 || void 0);
27870
27961
  }
27871
- function KK() {
27962
+ function lq() {
27872
27963
  var _a2, _b;
27873
27964
  if (!n.current.search || c.current.shouldFilter === false) {
27874
27965
  n.current.filtered.count = i.current.size;
@@ -27886,17 +27977,17 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27886
27977
  }
27887
27978
  n.current.filtered.count = e2;
27888
27979
  }
27889
- function qK() {
27980
+ function uq() {
27890
27981
  var _a2, _b;
27891
27982
  var e2;
27892
- let t2 = JK();
27983
+ let t2 = dq();
27893
27984
  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({
27894
27985
  block: "nearest"
27895
27986
  })), t2.scrollIntoView({
27896
27987
  block: "nearest"
27897
27988
  }));
27898
27989
  }
27899
- function JK() {
27990
+ function dq() {
27900
27991
  var _a2;
27901
27992
  return (_a2 = z.current) == null ? void 0 : _a2.querySelector(`${le}[aria-selected="true"]`);
27902
27993
  }
@@ -27904,25 +27995,25 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27904
27995
  var _a2;
27905
27996
  return Array.from(((_a2 = z.current) == null ? void 0 : _a2.querySelectorAll(ce$1)) || []);
27906
27997
  }
27907
- function YK(e2) {
27998
+ function fq(e2) {
27908
27999
  let t2 = $()[e2];
27909
28000
  t2 && K.setState("value", t2.getAttribute(T));
27910
28001
  }
27911
- function XK(e2) {
28002
+ function pq(e2) {
27912
28003
  var t2;
27913
- let n2 = JK(), i2 = $(), a2 = i2.findIndex((e3) => e3 === n2), o2 = i2[a2 + e2];
28004
+ let n2 = dq(), i2 = $(), a2 = i2.findIndex((e3) => e3 === n2), o2 = i2[a2 + e2];
27914
28005
  (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));
27915
28006
  }
27916
- function ZK(e2) {
28007
+ function mq(e2) {
27917
28008
  var _a2;
27918
- let t2 = (_a2 = JK()) == null ? void 0 : _a2.closest(N$1), n2;
28009
+ let t2 = (_a2 = dq()) == null ? void 0 : _a2.closest(N$1), n2;
27919
28010
  for (; t2 && !n2; ) t2 = e2 > 0 ? we(t2, N$1) : De(t2, N$1), n2 = t2 == null ? void 0 : t2.querySelector(ce$1);
27920
- n2 ? K.setState("value", n2.getAttribute(T)) : XK(e2);
28011
+ n2 ? K.setState("value", n2.getAttribute(T)) : pq(e2);
27921
28012
  }
27922
- let QK = () => YK($().length - 1), $K = (e2) => {
27923
- e2.preventDefault(), e2.metaKey ? QK() : e2.altKey ? ZK(1) : XK(1);
27924
- }, eq = (e2) => {
27925
- e2.preventDefault(), e2.metaKey ? YK(0) : e2.altKey ? ZK(-1) : XK(-1);
28013
+ let hq = () => fq($().length - 1), gq = (e2) => {
28014
+ e2.preventDefault(), e2.metaKey ? hq() : e2.altKey ? mq(1) : pq(1);
28015
+ }, _q = (e2) => {
28016
+ e2.preventDefault(), e2.metaKey ? fq(0) : e2.altKey ? mq(-1) : pq(-1);
27926
28017
  };
27927
28018
  return import_react.createElement(Primitive.div, {
27928
28019
  ref: t,
@@ -27936,27 +28027,27 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27936
28027
  if (!(e2.defaultPrevented || n2)) switch (e2.key) {
27937
28028
  case "n":
27938
28029
  case "j":
27939
- E && e2.ctrlKey && $K(e2);
28030
+ E && e2.ctrlKey && gq(e2);
27940
28031
  break;
27941
28032
  case "ArrowDown":
27942
- $K(e2);
28033
+ gq(e2);
27943
28034
  break;
27944
28035
  case "p":
27945
28036
  case "k":
27946
- E && e2.ctrlKey && eq(e2);
28037
+ E && e2.ctrlKey && _q(e2);
27947
28038
  break;
27948
28039
  case "ArrowUp":
27949
- eq(e2);
28040
+ _q(e2);
27950
28041
  break;
27951
28042
  case "Home":
27952
- e2.preventDefault(), YK(0);
28043
+ e2.preventDefault(), fq(0);
27953
28044
  break;
27954
28045
  case "End":
27955
- e2.preventDefault(), QK();
28046
+ e2.preventDefault(), hq();
27956
28047
  break;
27957
28048
  case "Enter": {
27958
28049
  e2.preventDefault();
27959
- let t3 = JK();
28050
+ let t3 = dq();
27960
28051
  if (t3) {
27961
28052
  let e3 = new Event(Z);
27962
28053
  t3.dispatchEvent(e3);
@@ -28111,7 +28202,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
28111
28202
  }, e2)));
28112
28203
  }), xe = import_react.forwardRef((e, t) => {
28113
28204
  let { open: n, onOpenChange: i, overlayClassName: a, contentClassName: o, container: s, ...c } = e;
28114
- return import_react.createElement(Root$3, {
28205
+ return import_react.createElement(Root$4, {
28115
28206
  open: n,
28116
28207
  onOpenChange: i
28117
28208
  }, import_react.createElement(Portal$1, {
@@ -28244,10 +28335,10 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
28244
28335
  function smartMatchFilter(e, t, n) {
28245
28336
  return smartMatch(t, e) ? 1 : n && smartMatch(t, n) ? 0.8 : 0;
28246
28337
  }
28247
- let import_compiler_runtime$33;
28248
- import_compiler_runtime$33 = require_compiler_runtime();
28338
+ let import_compiler_runtime$34;
28339
+ import_compiler_runtime$34 = require_compiler_runtime();
28249
28340
  Command = import_react.forwardRef((e, t) => {
28250
- let n = (0, import_compiler_runtime$33.c)(9), i, o;
28341
+ let n = (0, import_compiler_runtime$34.c)(9), i, o;
28251
28342
  n[0] === e ? (i = n[1], o = n[2]) : ({ className: i, ...o } = e, n[0] = e, n[1] = i, n[2] = o);
28252
28343
  let s;
28253
28344
  n[3] === i ? s = n[4] : (s = cn("flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground", i), n[3] = i, n[4] = s);
@@ -28261,7 +28352,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
28261
28352
  });
28262
28353
  Command.displayName = _e.displayName;
28263
28354
  CommandInput = import_react.forwardRef((e, t) => {
28264
- let n = (0, import_compiler_runtime$33.c)(19), i, o, s, c;
28355
+ let n = (0, import_compiler_runtime$34.c)(19), i, o, s, c;
28265
28356
  n[0] === e ? (i = n[1], o = n[2], s = n[3], c = n[4]) : ({ className: i, icon: o, rootClassName: c, ...s } = e, n[0] = e, n[1] = i, n[2] = o, n[3] = s, n[4] = c);
28266
28357
  let d;
28267
28358
  n[5] === c ? d = n[6] : (d = cn("flex items-center border-b px-3", c), n[5] = c, n[6] = d);
@@ -28289,7 +28380,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
28289
28380
  });
28290
28381
  CommandInput.displayName = _e.Input.displayName;
28291
28382
  CommandList = import_react.forwardRef((e, t) => {
28292
- let n = (0, import_compiler_runtime$33.c)(9), i, o;
28383
+ let n = (0, import_compiler_runtime$34.c)(9), i, o;
28293
28384
  n[0] === e ? (i = n[1], o = n[2]) : ({ className: i, ...o } = e, n[0] = e, n[1] = i, n[2] = o);
28294
28385
  let s;
28295
28386
  n[3] === i ? s = n[4] : (s = cn("max-h-[300px] overflow-y-auto overflow-x-hidden", i), n[3] = i, n[4] = s);
@@ -28302,7 +28393,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
28302
28393
  });
28303
28394
  CommandList.displayName = _e.List.displayName;
28304
28395
  CommandEmpty = import_react.forwardRef((e, t) => {
28305
- let n = (0, import_compiler_runtime$33.c)(3), i;
28396
+ let n = (0, import_compiler_runtime$34.c)(3), i;
28306
28397
  return n[0] !== e || n[1] !== t ? (i = (0, import_jsx_runtime.jsx)(_e.Empty, {
28307
28398
  ref: t,
28308
28399
  className: "py-6 text-center text-sm",
@@ -28311,7 +28402,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
28311
28402
  });
28312
28403
  CommandEmpty.displayName = _e.Empty.displayName;
28313
28404
  var CommandGroup = import_react.forwardRef((e, t) => {
28314
- let n = (0, import_compiler_runtime$33.c)(9), i, o;
28405
+ let n = (0, import_compiler_runtime$34.c)(9), i, o;
28315
28406
  n[0] === e ? (i = n[1], o = n[2]) : ({ className: i, ...o } = e, n[0] = e, n[1] = i, n[2] = o);
28316
28407
  let s;
28317
28408
  n[3] === i ? s = n[4] : (s = cn("overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground", i), n[3] = i, n[4] = s);
@@ -28324,7 +28415,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
28324
28415
  });
28325
28416
  CommandGroup.displayName = _e.Group.displayName;
28326
28417
  CommandSeparator = import_react.forwardRef((e, t) => {
28327
- let n = (0, import_compiler_runtime$33.c)(9), i, a;
28418
+ let n = (0, import_compiler_runtime$34.c)(9), i, a;
28328
28419
  n[0] === e ? (i = n[1], a = n[2]) : ({ className: i, ...a } = e, n[0] = e, n[1] = i, n[2] = a);
28329
28420
  let o;
28330
28421
  n[3] === i ? o = n[4] : (o = menuSeparatorVariants({
@@ -28339,7 +28430,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
28339
28430
  });
28340
28431
  CommandSeparator.displayName = _e.Separator.displayName;
28341
28432
  CommandItem = import_react.forwardRef((e, t) => {
28342
- let n = (0, import_compiler_runtime$33.c)(17), i, o, s, c, d;
28433
+ let n = (0, import_compiler_runtime$34.c)(17), i, o, s, c, d;
28343
28434
  if (n[0] !== t || n[1] !== e) {
28344
28435
  let { className: f2, variant: h, inset: _, ...v } = e;
28345
28436
  i = _e.Item, o = t, n[7] !== f2 || n[8] !== _ || n[9] !== h ? (s = cn(menuItemVariants({
@@ -28356,165 +28447,165 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
28356
28447
  }), n[11] = i, n[12] = o, n[13] = s, n[14] = c, n[15] = d, n[16] = f) : f = n[16], f;
28357
28448
  });
28358
28449
  CommandItem.displayName = _e.Item.displayName;
28359
- var import_compiler_runtime$32 = require_compiler_runtime();
28450
+ var import_compiler_runtime$33 = require_compiler_runtime();
28360
28451
  let ComboboxContext;
28361
28452
  ComboboxContext = (0, import_react.createContext)({
28362
28453
  isSelected: () => false,
28363
28454
  onSelect: Functions.NOOP
28364
28455
  });
28365
28456
  Combobox = (e) => {
28366
- let t = (0, import_compiler_runtime$32.c)(103), n, i, o, s, c, d, f, h, _, v, y, S, w, E, O, A, M, I, z, U, K, q, J;
28457
+ let t = (0, import_compiler_runtime$33.c)(103), n, i, o, s, c, d, f, h, _, v, y, S, w, E, O, A, M, I, z, U, K, q, J;
28367
28458
  t[0] === e ? (n = t[1], i = t[2], o = t[3], s = t[4], c = t[5], d = t[6], f = t[7], h = t[8], _ = t[9], v = t[10], y = t[11], S = t[12], w = t[13], E = t[14], O = t[15], A = t[16], M = t[17], I = t[18], z = t[19], U = t[20], K = t[21], q = t[22], J = t[23]) : ({ children: n, displayValue: d, className: o, placeholder: E, value: J, defaultValue: c, onValueChange: S, multiple: M, shouldFilter: I, filterFn: f, open: w, defaultOpen: s, onOpenChange: v, inputPlaceholder: z, search: A, onSearchChange: y, emptyState: U, chips: K, chipsClassName: i, keepPopoverOpenOnSelect: _, id: h, disabled: q, ...O } = e, t[0] = e, t[1] = n, t[2] = i, t[3] = o, t[4] = s, t[5] = c, t[6] = d, t[7] = f, t[8] = h, t[9] = _, t[10] = v, t[11] = y, t[12] = S, t[13] = w, t[14] = E, t[15] = O, t[16] = A, t[17] = M, t[18] = I, t[19] = z, t[20] = U, t[21] = K, t[22] = q, t[23] = J);
28368
- let Q = M === void 0 ? false : M, GK = I === void 0 ? true : I, KK = z === void 0 ? "Search..." : z, qK = U === void 0 ? "Nothing found." : U, JK = K === void 0 ? false : K, $ = q === void 0 ? false : q, YK = s ?? false, XK;
28369
- t[24] !== v || t[25] !== w || t[26] !== YK ? (XK = {
28459
+ let Q = M === void 0 ? false : M, cq = I === void 0 ? true : I, lq = z === void 0 ? "Search..." : z, uq = U === void 0 ? "Nothing found." : U, dq = K === void 0 ? false : K, $ = q === void 0 ? false : q, fq = s ?? false, pq;
28460
+ t[24] !== v || t[25] !== w || t[26] !== fq ? (pq = {
28370
28461
  prop: w,
28371
- defaultProp: YK,
28462
+ defaultProp: fq,
28372
28463
  onChange: v
28373
- }, t[24] = v, t[25] = w, t[26] = YK, t[27] = XK) : XK = t[27];
28374
- let [ZK, QK] = useControllableState(XK), $K = ZK === void 0 ? false : ZK, eq;
28375
- t[28] === S ? eq = t[29] : (eq = (e2) => {
28464
+ }, t[24] = v, t[25] = w, t[26] = fq, t[27] = pq) : pq = t[27];
28465
+ let [mq, hq] = useControllableState(pq), gq = mq === void 0 ? false : mq, _q;
28466
+ t[28] === S ? _q = t[29] : (_q = (e2) => {
28376
28467
  S == null ? void 0 : S(e2);
28377
- }, t[28] = S, t[29] = eq);
28378
- let tq;
28379
- t[30] !== c || t[31] !== eq || t[32] !== J ? (tq = {
28468
+ }, t[28] = S, t[29] = _q);
28469
+ let vq;
28470
+ t[30] !== c || t[31] !== _q || t[32] !== J ? (vq = {
28380
28471
  prop: J,
28381
28472
  defaultProp: c,
28382
- onChange: eq
28383
- }, t[30] = c, t[31] = eq, t[32] = J, t[33] = tq) : tq = t[33];
28384
- let [nq, rq] = useControllableState(tq), iq;
28385
- t[34] === nq ? iq = t[35] : (iq = (e2) => Array.isArray(nq) ? nq.includes(e2) : nq === e2, t[34] = nq, t[35] = iq);
28386
- let aq = iq, oq;
28387
- t[36] !== _ || t[37] !== Q || t[38] !== QK || t[39] !== rq || t[40] !== nq ? (oq = (e2) => {
28473
+ onChange: _q
28474
+ }, t[30] = c, t[31] = _q, t[32] = J, t[33] = vq) : vq = t[33];
28475
+ let [yq, bq] = useControllableState(vq), xq;
28476
+ t[34] === yq ? xq = t[35] : (xq = (e2) => Array.isArray(yq) ? yq.includes(e2) : yq === e2, t[34] = yq, t[35] = xq);
28477
+ let Sq = xq, Cq;
28478
+ t[36] !== _ || t[37] !== Q || t[38] !== hq || t[39] !== bq || t[40] !== yq ? (Cq = (e2) => {
28388
28479
  let t2 = e2;
28389
- if (Q) if (Array.isArray(nq)) if (nq.includes(t2)) {
28390
- let n2 = nq.filter((t3) => t3 !== e2);
28480
+ if (Q) if (Array.isArray(yq)) if (yq.includes(t2)) {
28481
+ let n2 = yq.filter((t3) => t3 !== e2);
28391
28482
  t2 = n2.length > 0 ? n2 : [];
28392
28483
  } else t2 = [
28393
- ...nq,
28484
+ ...yq,
28394
28485
  t2
28395
28486
  ];
28396
28487
  else t2 = [
28397
28488
  t2
28398
28489
  ];
28399
- else nq === e2 && (t2 = null);
28400
- rq(t2), (_ ?? Q) || QK(false);
28401
- }, t[36] = _, t[37] = Q, t[38] = QK, t[39] = rq, t[40] = nq, t[41] = oq) : oq = t[41];
28402
- let sq = oq, cq;
28403
- t[42] !== JK || t[43] !== d || t[44] !== Q || t[45] !== E || t[46] !== nq ? (cq = () => Q && JK && E ? E : nq == null ? E ?? "--" : Array.isArray(nq) ? nq.length === 0 ? E ?? "--" : nq.length === 1 && d !== void 0 ? d(nq[0]) : `${nq.length} selected` : d === void 0 ? E ?? "--" : d(nq), t[42] = JK, t[43] = d, t[44] = Q, t[45] = E, t[46] = nq, t[47] = cq) : cq = t[47];
28404
- let lq = cq, uq;
28405
- t[48] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (uq = cn("relative"), t[48] = uq) : uq = t[48];
28406
- let dq;
28407
- t[49] !== $ || t[50] !== QK ? (dq = (e2) => {
28408
- $ && e2 || QK(e2);
28409
- }, t[49] = $, t[50] = QK, t[51] = dq) : dq = t[51];
28410
- let fq = $ && "cursor-not-allowed opacity-50", mq;
28411
- t[52] !== o || t[53] !== fq ? (mq = 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", fq, o), t[52] = o, t[53] = fq, t[54] = mq) : mq = t[54];
28412
- let gq;
28413
- t[55] === lq ? gq = t[56] : (gq = lq(), t[55] = lq, t[56] = gq);
28414
- let _q;
28415
- t[57] === gq ? _q = t[58] : (_q = (0, import_jsx_runtime.jsx)("span", {
28490
+ else yq === e2 && (t2 = null);
28491
+ bq(t2), (_ ?? Q) || hq(false);
28492
+ }, t[36] = _, t[37] = Q, t[38] = hq, t[39] = bq, t[40] = yq, t[41] = Cq) : Cq = t[41];
28493
+ let wq = Cq, Tq;
28494
+ t[42] !== dq || t[43] !== d || t[44] !== Q || t[45] !== E || t[46] !== yq ? (Tq = () => Q && dq && E ? E : yq == null ? E ?? "--" : Array.isArray(yq) ? yq.length === 0 ? E ?? "--" : yq.length === 1 && d !== void 0 ? d(yq[0]) : `${yq.length} selected` : d === void 0 ? E ?? "--" : d(yq), t[42] = dq, t[43] = d, t[44] = Q, t[45] = E, t[46] = yq, t[47] = Tq) : Tq = t[47];
28495
+ let Eq = Tq, Dq;
28496
+ t[48] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Dq = cn("relative"), t[48] = Dq) : Dq = t[48];
28497
+ let Oq;
28498
+ t[49] !== $ || t[50] !== hq ? (Oq = (e2) => {
28499
+ $ && e2 || hq(e2);
28500
+ }, t[49] = $, t[50] = hq, t[51] = Oq) : Oq = t[51];
28501
+ let kq = $ && "cursor-not-allowed opacity-50", jq;
28502
+ t[52] !== o || t[53] !== kq ? (jq = 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", kq, o), t[52] = o, t[53] = kq, t[54] = jq) : jq = t[54];
28503
+ let Nq;
28504
+ t[55] === Eq ? Nq = t[56] : (Nq = Eq(), t[55] = Eq, t[56] = Nq);
28505
+ let Pq;
28506
+ t[57] === Nq ? Pq = t[58] : (Pq = (0, import_jsx_runtime.jsx)("span", {
28416
28507
  className: "truncate flex-1 min-w-0",
28417
- children: gq
28418
- }), t[57] = gq, t[58] = _q);
28419
- let vq;
28420
- t[59] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (vq = (0, import_jsx_runtime.jsx)(ChevronDown, {
28508
+ children: Nq
28509
+ }), t[57] = Nq, t[58] = Pq);
28510
+ let Fq;
28511
+ t[59] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Fq = (0, import_jsx_runtime.jsx)(ChevronDown, {
28421
28512
  className: "ml-3 w-4 h-4 opacity-50 shrink-0"
28422
- }), t[59] = vq) : vq = t[59];
28423
- let yq;
28424
- t[60] !== $ || t[61] !== h || t[62] !== $K || t[63] !== mq || t[64] !== _q ? (yq = (0, import_jsx_runtime.jsx)(PopoverTrigger, {
28513
+ }), t[59] = Fq) : Fq = t[59];
28514
+ let Iq;
28515
+ t[60] !== $ || t[61] !== h || t[62] !== gq || t[63] !== jq || t[64] !== Pq ? (Iq = (0, import_jsx_runtime.jsx)(PopoverTrigger, {
28425
28516
  asChild: true,
28426
28517
  children: (0, import_jsx_runtime.jsxs)("button", {
28427
28518
  id: h,
28428
28519
  type: "button",
28429
- className: mq,
28430
- "aria-expanded": $K,
28520
+ className: jq,
28521
+ "aria-expanded": gq,
28431
28522
  "aria-disabled": $,
28432
28523
  children: [
28433
- _q,
28434
- vq
28524
+ Pq,
28525
+ Fq
28435
28526
  ]
28436
28527
  })
28437
- }), t[60] = $, t[61] = h, t[62] = $K, t[63] = mq, t[64] = _q, t[65] = yq) : yq = t[65];
28438
- let bq;
28439
- t[66] !== KK || t[67] !== y || t[68] !== A ? (bq = (0, import_jsx_runtime.jsx)(CommandInput, {
28440
- placeholder: KK,
28528
+ }), t[60] = $, t[61] = h, t[62] = gq, t[63] = jq, t[64] = Pq, t[65] = Iq) : Iq = t[65];
28529
+ let Lq;
28530
+ t[66] !== lq || t[67] !== y || t[68] !== A ? (Lq = (0, import_jsx_runtime.jsx)(CommandInput, {
28531
+ placeholder: lq,
28441
28532
  rootClassName: "px-1 h-8",
28442
28533
  autoFocus: true,
28443
28534
  value: A,
28444
28535
  onValueChange: y
28445
- }), t[66] = KK, t[67] = y, t[68] = A, t[69] = bq) : bq = t[69];
28446
- let xq;
28447
- t[70] === qK ? xq = t[71] : (xq = (0, import_jsx_runtime.jsx)(CommandEmpty, {
28448
- children: qK
28449
- }), t[70] = qK, t[71] = xq);
28450
- let Sq;
28451
- t[72] !== sq || t[73] !== aq ? (Sq = {
28452
- isSelected: aq,
28453
- onSelect: sq
28454
- }, t[72] = sq, t[73] = aq, t[74] = Sq) : Sq = t[74];
28455
- let Cq;
28456
- t[75] !== n || t[76] !== Sq ? (Cq = (0, import_jsx_runtime.jsx)(ComboboxContext, {
28457
- value: Sq,
28536
+ }), t[66] = lq, t[67] = y, t[68] = A, t[69] = Lq) : Lq = t[69];
28537
+ let Rq;
28538
+ t[70] === uq ? Rq = t[71] : (Rq = (0, import_jsx_runtime.jsx)(CommandEmpty, {
28539
+ children: uq
28540
+ }), t[70] = uq, t[71] = Rq);
28541
+ let zq;
28542
+ t[72] !== wq || t[73] !== Sq ? (zq = {
28543
+ isSelected: Sq,
28544
+ onSelect: wq
28545
+ }, t[72] = wq, t[73] = Sq, t[74] = zq) : zq = t[74];
28546
+ let Bq;
28547
+ t[75] !== n || t[76] !== zq ? (Bq = (0, import_jsx_runtime.jsx)(ComboboxContext, {
28548
+ value: zq,
28458
28549
  children: n
28459
- }), t[75] = n, t[76] = Sq, t[77] = Cq) : Cq = t[77];
28460
- let wq;
28461
- t[78] !== xq || t[79] !== Cq ? (wq = (0, import_jsx_runtime.jsxs)(CommandList, {
28550
+ }), t[75] = n, t[76] = zq, t[77] = Bq) : Bq = t[77];
28551
+ let Vq;
28552
+ t[78] !== Rq || t[79] !== Bq ? (Vq = (0, import_jsx_runtime.jsxs)(CommandList, {
28462
28553
  className: "max-h-60 py-.5",
28463
28554
  children: [
28464
- xq,
28465
- Cq
28555
+ Rq,
28556
+ Bq
28466
28557
  ]
28467
- }), t[78] = xq, t[79] = Cq, t[80] = wq) : wq = t[80];
28468
- let Tq;
28469
- t[81] !== f || t[82] !== GK || t[83] !== bq || t[84] !== wq ? (Tq = (0, import_jsx_runtime.jsx)(PopoverContent, {
28558
+ }), t[78] = Rq, t[79] = Bq, t[80] = Vq) : Vq = t[80];
28559
+ let Hq;
28560
+ t[81] !== f || t[82] !== cq || t[83] !== Lq || t[84] !== Vq ? (Hq = (0, import_jsx_runtime.jsx)(PopoverContent, {
28470
28561
  className: "w-full min-w-(--radix-popover-trigger-width) p-0",
28471
28562
  align: "start",
28472
28563
  children: (0, import_jsx_runtime.jsxs)(Command, {
28473
28564
  filter: f,
28474
- shouldFilter: GK,
28565
+ shouldFilter: cq,
28475
28566
  children: [
28476
- bq,
28477
- wq
28567
+ Lq,
28568
+ Vq
28478
28569
  ]
28479
28570
  })
28480
- }), t[81] = f, t[82] = GK, t[83] = bq, t[84] = wq, t[85] = Tq) : Tq = t[85];
28481
- let Eq;
28482
- t[86] !== $K || t[87] !== dq || t[88] !== yq || t[89] !== Tq ? (Eq = (0, import_jsx_runtime.jsxs)(Popover, {
28483
- open: $K,
28484
- onOpenChange: dq,
28571
+ }), t[81] = f, t[82] = cq, t[83] = Lq, t[84] = Vq, t[85] = Hq) : Hq = t[85];
28572
+ let Uq;
28573
+ t[86] !== gq || t[87] !== Oq || t[88] !== Iq || t[89] !== Hq ? (Uq = (0, import_jsx_runtime.jsxs)(Popover, {
28574
+ open: gq,
28575
+ onOpenChange: Oq,
28485
28576
  children: [
28486
- yq,
28487
- Tq
28577
+ Iq,
28578
+ Hq
28488
28579
  ]
28489
- }), t[86] = $K, t[87] = dq, t[88] = yq, t[89] = Tq, t[90] = Eq) : Eq = t[90];
28490
- let Dq;
28491
- t[91] !== JK || t[92] !== i || t[93] !== $ || t[94] !== d || t[95] !== sq || t[96] !== Q || t[97] !== nq ? (Dq = Q && JK && (0, import_jsx_runtime.jsx)("div", {
28580
+ }), t[86] = gq, t[87] = Oq, t[88] = Iq, t[89] = Hq, t[90] = Uq) : Uq = t[90];
28581
+ let Wq;
28582
+ t[91] !== dq || t[92] !== i || t[93] !== $ || t[94] !== d || t[95] !== wq || t[96] !== Q || t[97] !== yq ? (Wq = Q && dq && (0, import_jsx_runtime.jsx)("div", {
28492
28583
  className: cn("flex flex-col gap-1 items-start", i),
28493
- children: Array.isArray(nq) && nq.map((e2) => e2 == null ? null : (0, import_jsx_runtime.jsxs)(Badge, {
28584
+ children: Array.isArray(yq) && yq.map((e2) => e2 == null ? null : (0, import_jsx_runtime.jsxs)(Badge, {
28494
28585
  variant: "secondary",
28495
28586
  children: [
28496
28587
  (d == null ? void 0 : d(e2)) ?? String(e2),
28497
28588
  (0, import_jsx_runtime.jsx)(CircleX, {
28498
28589
  onClick: () => {
28499
- $ || sq(e2);
28590
+ $ || wq(e2);
28500
28591
  },
28501
28592
  className: cn("w-3 h-3 opacity-50 hover:opacity-100 ml-1 cursor-pointer", $ && "pointer-events-none")
28502
28593
  })
28503
28594
  ]
28504
28595
  }, String(e2)))
28505
- }), t[91] = JK, t[92] = i, t[93] = $, t[94] = d, t[95] = sq, t[96] = Q, t[97] = nq, t[98] = Dq) : Dq = t[98];
28506
- let Oq;
28507
- return t[99] !== O || t[100] !== Eq || t[101] !== Dq ? (Oq = (0, import_jsx_runtime.jsxs)("div", {
28508
- className: uq,
28596
+ }), t[91] = dq, t[92] = i, t[93] = $, t[94] = d, t[95] = wq, t[96] = Q, t[97] = yq, t[98] = Wq) : Wq = t[98];
28597
+ let Gq;
28598
+ return t[99] !== O || t[100] !== Uq || t[101] !== Wq ? (Gq = (0, import_jsx_runtime.jsxs)("div", {
28599
+ className: Dq,
28509
28600
  ...O,
28510
28601
  children: [
28511
- Eq,
28512
- Dq
28602
+ Uq,
28603
+ Wq
28513
28604
  ]
28514
- }), t[99] = O, t[100] = Eq, t[101] = Dq, t[102] = Oq) : Oq = t[102], Oq;
28605
+ }), t[99] = O, t[100] = Uq, t[101] = Wq, t[102] = Gq) : Gq = t[102], Gq;
28515
28606
  };
28516
28607
  ComboboxItem = import_react.forwardRef((e, t) => {
28517
- let n = (0, import_compiler_runtime$32.c)(17), { children: i, className: o, value: s, onSelect: c, disabled: d } = e, f = typeof s == "object" && "value" in s ? s.value : String(s), h = import_react.use(ComboboxContext), _;
28608
+ let n = (0, import_compiler_runtime$33.c)(17), { children: i, className: o, value: s, onSelect: c, disabled: d } = e, f = typeof s == "object" && "value" in s ? s.value : String(s), h = import_react.use(ComboboxContext), _;
28518
28609
  n[0] === o ? _ = n[1] : (_ = cn("pl-6 m-1 py-1", o), n[0] = o, n[1] = _);
28519
28610
  let v;
28520
28611
  n[2] !== h || n[3] !== c || n[4] !== s ? (v = () => {
@@ -28539,12 +28630,12 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
28539
28630
  }), n[9] = i, n[10] = d, n[11] = t, n[12] = _, n[13] = v, n[14] = y, n[15] = f, n[16] = S) : S = n[16], S;
28540
28631
  });
28541
28632
  ComboboxItem.displayName = "ComboboxItem";
28542
- var import_compiler_runtime$31 = require_compiler_runtime(), labelVariants = cva([
28633
+ var import_compiler_runtime$32 = require_compiler_runtime(), labelVariants = cva([
28543
28634
  "text-sm font-medium leading-none",
28544
28635
  "data-disabled:cursor-not-allowed data-disabled:opacity-70",
28545
28636
  "group-data-invalid:text-destructive"
28546
28637
  ]), Label = (e) => {
28547
- let t = (0, import_compiler_runtime$31.c)(8), n, i;
28638
+ let t = (0, import_compiler_runtime$32.c)(8), n, i;
28548
28639
  t[0] === e ? (n = t[1], i = t[2]) : ({ className: n, ...i } = e, t[0] = e, t[1] = n, t[2] = i);
28549
28640
  let o;
28550
28641
  t[3] === n ? o = t[4] : (o = cn(labelVariants(), n), t[3] = n, t[4] = o);
@@ -28554,7 +28645,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
28554
28645
  ...i
28555
28646
  }), t[5] = i, t[6] = o, t[7] = s) : s = t[7], s;
28556
28647
  }, FieldError = (e) => {
28557
- let t = (0, import_compiler_runtime$31.c)(8), n, i;
28648
+ let t = (0, import_compiler_runtime$32.c)(8), n, i;
28558
28649
  t[0] === e ? (n = t[1], i = t[2]) : ({ className: n, ...i } = e, t[0] = e, t[1] = n, t[2] = i);
28559
28650
  let o;
28560
28651
  t[3] === n ? o = t[4] : (o = cn("text-sm font-medium text-destructive", n), t[3] = n, t[4] = o);
@@ -28579,7 +28670,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
28579
28670
  variant: "default"
28580
28671
  }
28581
28672
  }), FieldGroup = (e) => {
28582
- let t = (0, import_compiler_runtime$31.c)(12), n, i, o;
28673
+ let t = (0, import_compiler_runtime$32.c)(12), n, i, o;
28583
28674
  t[0] === e ? (n = t[1], i = t[2], o = t[3]) : ({ className: n, variant: o, ...i } = e, t[0] = e, t[1] = n, t[2] = i, t[3] = o);
28584
28675
  let s;
28585
28676
  t[4] === o ? s = t[5] : (s = (e2) => cn(fieldGroupVariants({
@@ -28592,8 +28683,8 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
28592
28683
  className: c,
28593
28684
  ...i
28594
28685
  }), t[9] = i, t[10] = c, t[11] = d) : d = t[11], d;
28595
- }, import_compiler_runtime$30 = require_compiler_runtime(), DateSegment = (e) => {
28596
- let t = (0, import_compiler_runtime$30.c)(8), n, i;
28686
+ }, import_compiler_runtime$31 = require_compiler_runtime(), DateSegment = (e) => {
28687
+ let t = (0, import_compiler_runtime$31.c)(8), n, i;
28597
28688
  t[0] === e ? (n = t[1], i = t[2]) : ({ className: n, ...i } = e, t[0] = e, t[1] = n, t[2] = i);
28598
28689
  let a;
28599
28690
  t[3] === n ? a = t[4] : (a = $64fa3d84918910a7$export$c245e6201fed2f75(n, _temp$8), t[3] = n, t[4] = a);
@@ -28603,7 +28694,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
28603
28694
  ...i
28604
28695
  }), t[5] = i, t[6] = a, t[7] = o) : o = t[7], o;
28605
28696
  }, DateInput = (e) => {
28606
- let t = (0, import_compiler_runtime$30.c)(12), n, i, o;
28697
+ let t = (0, import_compiler_runtime$31.c)(12), n, i, o;
28607
28698
  t[0] === e ? (n = t[1], i = t[2], o = t[3]) : ({ className: n, variant: o, ...i } = e, t[0] = e, t[1] = n, t[2] = i, t[3] = o);
28608
28699
  let s;
28609
28700
  t[4] === o ? s = t[5] : (s = (e2) => cn(fieldGroupVariants({
@@ -28618,7 +28709,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
28618
28709
  children: _temp2$6
28619
28710
  }), t[9] = i, t[10] = c, t[11] = d) : d = t[11], d;
28620
28711
  }, TimeField = (e) => {
28621
- let t = (0, import_compiler_runtime$30.c)(21), n, i, a, o, s;
28712
+ let t = (0, import_compiler_runtime$31.c)(21), n, i, a, o, s;
28622
28713
  t[0] === e ? (n = t[1], i = t[2], a = t[3], o = t[4], s = t[5]) : ({ label: o, description: i, errorMessage: a, className: n, ...s } = e, t[0] = e, t[1] = n, t[2] = i, t[3] = a, t[4] = o, t[5] = s);
28623
28714
  let c;
28624
28715
  t[6] === n ? c = t[7] : (c = $64fa3d84918910a7$export$c245e6201fed2f75(n, _temp4$3), t[6] = n, t[7] = c);
@@ -28660,8 +28751,8 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
28660
28751
  function _temp4$3(e) {
28661
28752
  return cn("group flex flex-col gap-2", e);
28662
28753
  }
28663
- var import_compiler_runtime$29 = require_compiler_runtime(), Popover$1 = (e) => {
28664
- let t = (0, import_compiler_runtime$29.c)(10), n, i, a;
28754
+ var import_compiler_runtime$30 = require_compiler_runtime(), Popover$1 = (e) => {
28755
+ let t = (0, import_compiler_runtime$30.c)(10), n, i, a;
28665
28756
  t[0] === e ? (n = t[1], i = t[2], a = t[3]) : ({ className: n, offset: a, ...i } = e, t[0] = e, t[1] = n, t[2] = i, t[3] = a);
28666
28757
  let o = a === void 0 ? 4 : a, s;
28667
28758
  t[4] === n ? s = t[5] : (s = $64fa3d84918910a7$export$c245e6201fed2f75(n, _temp$7), t[4] = n, t[5] = s);
@@ -28675,8 +28766,8 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
28675
28766
  function _temp$7(e) {
28676
28767
  return cn("z-50 rounded-md border bg-popover text-popover-foreground shadow-md outline-hidden", "data-entering:animate-in data-entering:fade-in-0 data-entering:zoom-in-95", "data-exiting:animate-out data-exiting:fade-out-0 data-exiting:zoom-out-95", "data-[placement=bottom]:slide-in-from-top-2 data-[placement=left]:slide-in-from-right-2 data-[placement=right]:slide-in-from-left-2 data-[placement=top]:slide-in-from-bottom-2", e);
28677
28768
  }
28678
- var import_compiler_runtime$28 = require_compiler_runtime(), CalendarHeading = (e) => {
28679
- let t = (0, import_compiler_runtime$28.c)(11), { direction: n } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), i;
28769
+ var import_compiler_runtime$29 = require_compiler_runtime(), CalendarHeading = (e) => {
28770
+ let t = (0, import_compiler_runtime$29.c)(11), { direction: n } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), i;
28680
28771
  t[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (i = cn(buttonVariants({
28681
28772
  variant: "outline"
28682
28773
  }), "size-7 bg-transparent p-0 opacity-50", "data-hovered:opacity-100"), t[0] = i) : i = t[0];
@@ -28723,7 +28814,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
28723
28814
  ]
28724
28815
  }), t[7] = e, t[8] = o, t[9] = f, t[10] = h) : h = t[10], h;
28725
28816
  }, CalendarGrid = (e) => {
28726
- let t = (0, import_compiler_runtime$28.c)(8), n, i;
28817
+ let t = (0, import_compiler_runtime$29.c)(8), n, i;
28727
28818
  t[0] === e ? (n = t[1], i = t[2]) : ({ className: n, ...i } = e, t[0] = e, t[1] = n, t[2] = i);
28728
28819
  let o;
28729
28820
  t[3] === n ? o = t[4] : (o = cn(" border-separate border-spacing-x-0 border-spacing-y-1 ", n), t[3] = n, t[4] = o);
@@ -28733,14 +28824,14 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
28733
28824
  ...i
28734
28825
  }), t[5] = i, t[6] = o, t[7] = s) : s = t[7], s;
28735
28826
  }, CalendarGridHeader = (e) => {
28736
- let t = (0, import_compiler_runtime$28.c)(4), n;
28827
+ let t = (0, import_compiler_runtime$29.c)(4), n;
28737
28828
  t[0] === e ? n = t[1] : ({ ...n } = e, t[0] = e, t[1] = n);
28738
28829
  let i;
28739
28830
  return t[2] === n ? i = t[3] : (i = (0, import_jsx_runtime.jsx)($dfd62f934fc76fed$export$22e2d15eaa4d2377, {
28740
28831
  ...n
28741
28832
  }), t[2] = n, t[3] = i), i;
28742
28833
  }, CalendarHeaderCell = (e) => {
28743
- let t = (0, import_compiler_runtime$28.c)(8), n, i;
28834
+ let t = (0, import_compiler_runtime$29.c)(8), n, i;
28744
28835
  t[0] === e ? (n = t[1], i = t[2]) : ({ className: n, ...i } = e, t[0] = e, t[1] = n, t[2] = i);
28745
28836
  let o;
28746
28837
  t[3] === n ? o = t[4] : (o = cn("w-9 rounded-md text-[0.8rem] font-normal text-muted-foreground", n), t[3] = n, t[4] = o);
@@ -28750,7 +28841,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
28750
28841
  ...i
28751
28842
  }), t[5] = i, t[6] = o, t[7] = s) : s = t[7], s;
28752
28843
  }, CalendarGridBody = (e) => {
28753
- let t = (0, import_compiler_runtime$28.c)(8), n, i;
28844
+ let t = (0, import_compiler_runtime$29.c)(8), n, i;
28754
28845
  t[0] === e ? (n = t[1], i = t[2]) : ({ className: n, ...i } = e, t[0] = e, t[1] = n, t[2] = i);
28755
28846
  let o;
28756
28847
  t[3] === n ? o = t[4] : (o = cn("[&>tr>td]:p-0", n), t[3] = n, t[4] = o);
@@ -28760,7 +28851,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
28760
28851
  ...i
28761
28852
  }), t[5] = i, t[6] = o, t[7] = s) : s = t[7], s;
28762
28853
  }, CalendarCell = (e) => {
28763
- let t = (0, import_compiler_runtime$28.c)(11), n, i;
28854
+ let t = (0, import_compiler_runtime$29.c)(11), n, i;
28764
28855
  t[0] === e ? (n = t[1], i = t[2]) : ({ className: n, ...i } = e, t[0] = e, t[1] = n, t[2] = i);
28765
28856
  let o = !!import_react.use($dfd62f934fc76fed$export$5e0fc348c00f87a0), s;
28766
28857
  t[3] === o ? s = t[4] : (s = (e2, t2) => cn(buttonVariants({
@@ -28774,7 +28865,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
28774
28865
  ...i
28775
28866
  }), t[8] = i, t[9] = d, t[10] = f) : f = t[10], f;
28776
28867
  }, Calendar$1 = (e) => {
28777
- let t = (0, import_compiler_runtime$28.c)(14), n, i, a;
28868
+ let t = (0, import_compiler_runtime$29.c)(14), n, i, a;
28778
28869
  t[0] === e ? (n = t[1], i = t[2], a = t[3]) : ({ errorMessage: i, className: n, ...a } = e, t[0] = e, t[1] = n, t[2] = i, t[3] = a);
28779
28870
  let o;
28780
28871
  t[4] === n ? o = t[5] : (o = $64fa3d84918910a7$export$c245e6201fed2f75(n, _temp$6), t[4] = n, t[5] = o);
@@ -28808,7 +28899,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
28808
28899
  ]
28809
28900
  }), t[10] = a, t[11] = o, t[12] = d, t[13] = f) : f = t[13], f;
28810
28901
  }, RangeCalendar = (e) => {
28811
- let t = (0, import_compiler_runtime$28.c)(14), n, i, a;
28902
+ let t = (0, import_compiler_runtime$29.c)(14), n, i, a;
28812
28903
  t[0] === e ? (n = t[1], i = t[2], a = t[3]) : ({ errorMessage: i, className: n, ...a } = e, t[0] = e, t[1] = n, t[2] = i, t[3] = a);
28813
28904
  let o;
28814
28905
  t[4] === n ? o = t[5] : (o = $64fa3d84918910a7$export$c245e6201fed2f75(n, _temp4$2), t[4] = n, t[5] = o);
@@ -28868,10 +28959,10 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
28868
28959
  date: e
28869
28960
  });
28870
28961
  }
28871
- let import_compiler_runtime$27, DatePickerContent;
28872
- import_compiler_runtime$27 = require_compiler_runtime();
28962
+ let import_compiler_runtime$28, DatePickerContent;
28963
+ import_compiler_runtime$28 = require_compiler_runtime();
28873
28964
  DatePickerContent = (e) => {
28874
- let t = (0, import_compiler_runtime$27.c)(14), n, i, o;
28965
+ let t = (0, import_compiler_runtime$28.c)(14), n, i, o;
28875
28966
  t[0] === e ? (n = t[1], i = t[2], o = t[3]) : ({ className: n, popoverClassName: i, ...o } = e, t[0] = e, t[1] = n, t[2] = i, t[3] = o);
28876
28967
  let s;
28877
28968
  t[4] === i ? s = t[5] : (s = $64fa3d84918910a7$export$c245e6201fed2f75(i, _temp$5), t[4] = i, t[5] = s);
@@ -28889,7 +28980,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
28889
28980
  }), t[11] = s, t[12] = d, t[13] = f) : f = t[13], f;
28890
28981
  };
28891
28982
  DatePicker = (e) => {
28892
- let t = (0, import_compiler_runtime$27.c)(26), n, i, o, s, d;
28983
+ let t = (0, import_compiler_runtime$28.c)(26), n, i, o, s, d;
28893
28984
  t[0] === e ? (n = t[1], i = t[2], o = t[3], s = t[4], d = t[5]) : ({ label: s, description: i, errorMessage: o, className: n, ...d } = e, t[0] = e, t[1] = n, t[2] = i, t[3] = o, t[4] = s, t[5] = d);
28894
28985
  let [f, h] = (0, import_react.useState)(false), _;
28895
28986
  t[6] === n ? _ = t[7] : (_ = $64fa3d84918910a7$export$c245e6201fed2f75(n, _temp2$4), t[6] = n, t[7] = _);
@@ -28972,7 +29063,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
28972
29063
  }), t[19] = f, t[20] = d, t[21] = _, t[22] = y, t[23] = E, t[24] = O, t[25] = I) : I = t[25], I;
28973
29064
  };
28974
29065
  DateRangePicker = (e) => {
28975
- let t = (0, import_compiler_runtime$27.c)(28), n, i, o, s, d;
29066
+ let t = (0, import_compiler_runtime$28.c)(28), n, i, o, s, d;
28976
29067
  t[0] === e ? (n = t[1], i = t[2], o = t[3], s = t[4], d = t[5]) : ({ label: s, description: i, errorMessage: o, className: n, ...d } = e, t[0] = e, t[1] = n, t[2] = i, t[3] = o, t[4] = s, t[5] = d);
28977
29068
  let [f, h] = (0, import_react.useState)(false), _;
28978
29069
  t[6] === n ? _ = t[7] : (_ = $64fa3d84918910a7$export$c245e6201fed2f75(n, _temp5$1), t[6] = n, t[7] = _);
@@ -29092,7 +29183,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
29092
29183
  date: e
29093
29184
  });
29094
29185
  }
29095
- var import_compiler_runtime$26 = require_compiler_runtime();
29186
+ var import_compiler_runtime$27 = require_compiler_runtime();
29096
29187
  function dateToAria(e, t) {
29097
29188
  switch (e) {
29098
29189
  case "date":
@@ -29156,7 +29247,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
29156
29247
  };
29157
29248
  }
29158
29249
  const DateLikeInput = (e) => {
29159
- let t = (0, import_compiler_runtime$26.c)(19), { filterType: n, value: i, onChange: a, "aria-label": o, className: s } = e, [c, d] = (0, import_react.useState)(0), [f, h] = (0, import_react.useState)(i), _;
29250
+ let t = (0, import_compiler_runtime$27.c)(19), { filterType: n, value: i, onChange: a, "aria-label": o, className: s } = e, [c, d] = (0, import_react.useState)(0), [f, h] = (0, import_react.useState)(i), _;
29160
29251
  t[0] !== n || t[1] !== a ? (_ = (e2) => {
29161
29252
  e2 !== null && a(ariaToDate(n, e2));
29162
29253
  }, t[0] = n, t[1] = a, t[2] = _) : _ = t[2];
@@ -29194,7 +29285,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
29194
29285
  children: O
29195
29286
  }), t[16] = S, t[17] = O, t[18] = A) : A = t[18], A;
29196
29287
  }, DateLikeRangeInput = (e) => {
29197
- let t = (0, import_compiler_runtime$26.c)(40), { filterType: n, min: i, max: a, onRangeChange: o, className: s } = e, [c, d] = (0, import_react.useState)(0), [f, h] = (0, import_react.useState)(i), [_, v] = (0, import_react.useState)(a), y;
29288
+ let t = (0, import_compiler_runtime$27.c)(40), { filterType: n, min: i, max: a, onRangeChange: o, className: s } = e, [c, d] = (0, import_react.useState)(0), [f, h] = (0, import_react.useState)(i), [_, v] = (0, import_react.useState)(a), y;
29198
29289
  t[0] !== n || t[1] !== o ? (y = (e2) => {
29199
29290
  let t2 = parsePastedRange(n, e2.clipboardData.getData("text"));
29200
29291
  t2 && (e2.preventDefault(), e2.stopPropagation(), o(t2.min, t2.max), h(t2.min), v(t2.max), d(_temp2$3));
@@ -29288,15 +29379,15 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
29288
29379
  return n.has(t) ? n.delete(t) : n.add(t), n;
29289
29380
  }
29290
29381
  };
29291
- var import_compiler_runtime$25 = require_compiler_runtime();
29382
+ var import_compiler_runtime$26 = require_compiler_runtime();
29292
29383
  const Chip = (e) => {
29293
- let t = (0, import_compiler_runtime$25.c)(2), { children: n } = e, i;
29384
+ let t = (0, import_compiler_runtime$26.c)(2), { children: n } = e, i;
29294
29385
  return t[0] === n ? i = t[1] : (i = (0, import_jsx_runtime.jsx)("span", {
29295
29386
  className: "inline-flex items-center rounded-sm bg-muted/50 px-1 font-mono text-xs font-normal leading-tight text-foreground",
29296
29387
  children: n
29297
29388
  }), t[0] = n, t[1] = i), i;
29298
29389
  }, MoreChip = (e) => {
29299
- let t = (0, import_compiler_runtime$25.c)(2), { count: n } = e, i;
29390
+ let t = (0, import_compiler_runtime$26.c)(2), { count: n } = e, i;
29300
29391
  return t[0] === n ? i = t[1] : (i = (0, import_jsx_runtime.jsxs)("span", {
29301
29392
  className: "inline-flex items-center px-1 text-xs italic text-muted-foreground",
29302
29393
  children: [
@@ -29305,7 +29396,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
29305
29396
  ]
29306
29397
  }), t[0] = n, t[1] = i), i;
29307
29398
  }, ChipWithComma = (e) => {
29308
- let t = (0, import_compiler_runtime$25.c)(7), { value: n, showComma: i } = e, a;
29399
+ let t = (0, import_compiler_runtime$26.c)(7), { value: n, showComma: i } = e, a;
29309
29400
  t[0] === n ? a = t[1] : (a = (0, import_jsx_runtime.jsx)(Chip, {
29310
29401
  children: n
29311
29402
  }), t[0] = n, t[1] = a);
@@ -29323,7 +29414,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
29323
29414
  ]
29324
29415
  }), t[4] = a, t[5] = o, t[6] = s) : s = t[6], s;
29325
29416
  }, CompactChipRow = (e) => {
29326
- let t = (0, import_compiler_runtime$25.c)(11), { items: n, max: i } = e, a = i === void 0 ? 3 : i;
29417
+ let t = (0, import_compiler_runtime$26.c)(11), { items: n, max: i } = e, a = i === void 0 ? 3 : i;
29327
29418
  if (n.length === 0) return null;
29328
29419
  let o, s, c;
29329
29420
  if (t[0] !== n || t[1] !== a) {
@@ -29549,9 +29640,9 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
29549
29640
  children: "No values available"
29550
29641
  });
29551
29642
  };
29552
- var import_compiler_runtime$24 = require_compiler_runtime();
29643
+ var import_compiler_runtime$25 = require_compiler_runtime();
29553
29644
  const RegexInput = import_react.forwardRef((e, t) => {
29554
- let n = (0, import_compiler_runtime$24.c)(18), { id: i, value: o, onChange: s, onKeyDown: c, placeholder: d, className: f, autoFocus: h, "aria-label": _ } = e, v = d === void 0 ? "pattern" : d, y;
29645
+ let n = (0, import_compiler_runtime$25.c)(18), { id: i, value: o, onChange: s, onKeyDown: c, placeholder: d, className: f, autoFocus: h, "aria-label": _ } = e, v = d === void 0 ? "pattern" : d, y;
29555
29646
  n[0] === f ? y = n[1] : (y = cn("flex items-stretch h-6 mb-1 rounded-sm border border-input bg-background shadow-xs-solid focus-within:shadow-md-solid focus-within:ring-1 focus-within:ring-ring focus-within:border-primary", f), n[0] = f, n[1] = y);
29556
29647
  let S;
29557
29648
  n[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (S = (0, import_jsx_runtime.jsx)(Slash, {}), n[2] = S) : S = n[2];
@@ -29585,7 +29676,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
29585
29676
  });
29586
29677
  RegexInput.displayName = "RegexInput";
29587
29678
  var Slash = () => {
29588
- let e = (0, import_compiler_runtime$24.c)(1), t;
29679
+ let e = (0, import_compiler_runtime$25.c)(1), t;
29589
29680
  return e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t = (0, import_jsx_runtime.jsx)("span", {
29590
29681
  className: "px-1.5 flex items-center text-muted-foreground font-code text-sm select-none",
29591
29682
  children: "/"
@@ -29639,13 +29730,13 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
29639
29730
  id: v,
29640
29731
  operator: e2
29641
29732
  });
29642
- }, GK = buildFilterValue({
29733
+ }, cq = buildFilterValue({
29643
29734
  type: S,
29644
29735
  operator: E,
29645
29736
  draft: mergeNumberTextDraft(A, I)
29646
- }), KK = GK === void 0, qK = KK ? getMissingValueMessage(S, E) : "Apply filter", JK = () => {
29647
- if (!GK) return;
29648
- let e2 = GK;
29737
+ }), lq = cq === void 0, uq = lq ? getMissingValueMessage(S, E) : "Apply filter", dq = () => {
29738
+ if (!cq) return;
29739
+ let e2 = cq;
29649
29740
  t.setColumnFilters((t2) => {
29650
29741
  if (a === void 0) return [
29651
29742
  {
@@ -29664,18 +29755,18 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
29664
29755
  }), i();
29665
29756
  }, $ = () => {
29666
29757
  a !== void 0 && t.setColumnFilters((e2) => e2.filter((e3, t2) => t2 !== a)), i();
29667
- }, YK = !OPERATORS_WITHOUT_VALUE.has(E), XK = OPERATORS_BY_TYPE[S], ZK = (0, import_react.useRef)(null), QK = (0, import_react.useRef)(null);
29758
+ }, fq = !OPERATORS_WITHOUT_VALUE.has(E), pq = OPERATORS_BY_TYPE[S], mq = (0, import_react.useRef)(null), hq = (0, import_react.useRef)(null);
29668
29759
  return (0, import_react.useEffect)(() => {
29669
29760
  var _a2, _b;
29670
- let e2 = (_a2 = ZK.current) == null ? void 0 : _a2.querySelector('input, [role="spinbutton"], [role="combobox"], button');
29671
- e2 ? e2.focus() : (_b = QK.current) == null ? void 0 : _b.focus();
29761
+ let e2 = (_a2 = mq.current) == null ? void 0 : _a2.querySelector('input, [role="spinbutton"], [role="combobox"], button');
29762
+ e2 ? e2.focus() : (_b = hq.current) == null ? void 0 : _b.focus();
29672
29763
  }, [
29673
29764
  S,
29674
29765
  E
29675
29766
  ]), (0, import_jsx_runtime.jsxs)("form", {
29676
29767
  className: "flex flex-row gap-4 items-end p-3",
29677
29768
  onSubmit: (e2) => {
29678
- e2.preventDefault(), JK();
29769
+ e2.preventDefault(), dq();
29679
29770
  },
29680
29771
  onKeyDownCapture: (e2) => {
29681
29772
  e2.key === "Tab" && e2.stopPropagation();
@@ -29716,13 +29807,13 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
29716
29807
  onValueChange: (e2) => Q(e2),
29717
29808
  children: [
29718
29809
  (0, import_jsx_runtime.jsx)(SelectTrigger, {
29719
- ref: QK,
29810
+ ref: hq,
29720
29811
  id: s,
29721
29812
  className: "h-6 mb-1 bg-transparent",
29722
29813
  children: (0, import_jsx_runtime.jsx)(SelectValue, {})
29723
29814
  }),
29724
29815
  (0, import_jsx_runtime.jsx)(SelectContent, {
29725
- children: XK.map((e2) => (0, import_jsx_runtime.jsx)(SelectItem, {
29816
+ children: pq.map((e2) => (0, import_jsx_runtime.jsx)(SelectItem, {
29726
29817
  value: e2,
29727
29818
  children: OPERATOR_LABELS[e2]
29728
29819
  }, e2))
@@ -29731,8 +29822,8 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
29731
29822
  }, S)
29732
29823
  ]
29733
29824
  }),
29734
- YK && (0, import_jsx_runtime.jsxs)("div", {
29735
- ref: ZK,
29825
+ fq && (0, import_jsx_runtime.jsxs)("div", {
29826
+ ref: mq,
29736
29827
  className: "flex flex-col gap-1",
29737
29828
  children: [
29738
29829
  (0, import_jsx_runtime.jsx)("label", {
@@ -29759,14 +29850,14 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
29759
29850
  className: "flex gap-1 mb-1",
29760
29851
  children: [
29761
29852
  (0, import_jsx_runtime.jsx)(Tooltip, {
29762
- content: qK,
29853
+ content: uq,
29763
29854
  children: (0, import_jsx_runtime.jsx)("span", {
29764
29855
  className: "inline-flex",
29765
29856
  children: (0, import_jsx_runtime.jsx)(Button, {
29766
29857
  type: "submit",
29767
29858
  size: "icon",
29768
29859
  variant: "ghost",
29769
- disabled: KK,
29860
+ disabled: lq,
29770
29861
  className: "rounded-full text-primary hover:text-primary hover:bg-primary/10",
29771
29862
  "aria-label": "Apply filter",
29772
29863
  children: (0, import_jsx_runtime.jsx)(Check, {
@@ -30065,9 +30156,9 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
30065
30156
  });
30066
30157
  }
30067
30158
  }
30068
- var import_compiler_runtime$23 = require_compiler_runtime();
30159
+ var import_compiler_runtime$24 = require_compiler_runtime();
30069
30160
  const DraggablePopover = (e) => {
30070
- let t = (0, import_compiler_runtime$23.c)(25), n, i, a;
30161
+ let t = (0, import_compiler_runtime$24.c)(25), n, i, a;
30071
30162
  t[0] === e ? (n = t[1], i = t[2], a = t[3]) : ({ children: n, className: i, ...a } = e, t[0] = e, t[1] = n, t[2] = i, t[3] = a);
30072
30163
  let o;
30073
30164
  t[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (o = {
@@ -30430,9 +30521,9 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
30430
30521
  ...e
30431
30522
  ];
30432
30523
  }
30433
- var import_compiler_runtime$22 = require_compiler_runtime();
30524
+ var import_compiler_runtime$23 = require_compiler_runtime();
30434
30525
  function useScrollContainerHeight(e) {
30435
- let t = (0, import_compiler_runtime$22.c)(8), { maxHeight: n, virtualize: i } = e, a = (0, import_react.useRef)(null), o, s;
30526
+ let t = (0, import_compiler_runtime$23.c)(8), { maxHeight: n, virtualize: i } = e, a = (0, import_react.useRef)(null), o, s;
30436
30527
  t[0] !== n || t[1] !== i ? (o = () => {
30437
30528
  if (!a.current) return;
30438
30529
  let e2 = a.current.parentElement;
@@ -31029,9 +31120,9 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
31029
31120
  var _a2;
31030
31121
  window.getSelection && ((_a2 = window.getSelection()) == null ? void 0 : _a2.empty());
31031
31122
  };
31032
- var import_compiler_runtime$21 = require_compiler_runtime();
31123
+ var import_compiler_runtime$22 = require_compiler_runtime();
31033
31124
  const CellSelectionProvider = (e) => {
31034
- let t = (0, import_compiler_runtime$21.c)(3), { children: n } = e, i;
31125
+ let t = (0, import_compiler_runtime$22.c)(3), { children: n } = e, i;
31035
31126
  t[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (i = [
31036
31127
  cellSelectionStateAtom
31037
31128
  ], t[0] = i) : i = t[0];
@@ -31586,15 +31677,15 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
31586
31677
  ...e
31587
31678
  });
31588
31679
  }
31589
- let import_compiler_runtime$20, ContextMenuPortal, InternalContextMenuContent, InternalContextMenuSubContent, ContextMenuSubTrigger;
31590
- import_compiler_runtime$20 = require_compiler_runtime();
31680
+ let import_compiler_runtime$21, ContextMenuPortal, InternalContextMenuContent, InternalContextMenuSubContent, ContextMenuSubTrigger;
31681
+ import_compiler_runtime$21 = require_compiler_runtime();
31591
31682
  ContextMenu = Root2$2;
31592
31683
  ContextMenuTrigger = Trigger$1;
31593
31684
  ContextMenuPortal = withFullScreenAsRoot(Portal2);
31594
31685
  InternalContextMenuContent = withSmartCollisionBoundary(Content2);
31595
31686
  InternalContextMenuSubContent = withSmartCollisionBoundary(SubContent2);
31596
31687
  ContextMenuSubTrigger = import_react.forwardRef((e, t) => {
31597
- let n = (0, import_compiler_runtime$20.c)(14), i, a, o, s;
31688
+ let n = (0, import_compiler_runtime$21.c)(14), i, a, o, s;
31598
31689
  n[0] === e ? (i = n[1], a = n[2], o = n[3], s = n[4]) : ({ className: a, inset: o, children: i, ...s } = e, n[0] = e, n[1] = i, n[2] = a, n[3] = o, n[4] = s);
31599
31690
  let c;
31600
31691
  n[5] !== a || n[6] !== o ? (c = menuSubTriggerVariants({
@@ -31618,7 +31709,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
31618
31709
  });
31619
31710
  ContextMenuSubTrigger.displayName = SubTrigger2.displayName;
31620
31711
  var contentCommon = "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2", ContextMenuSubContent = import_react.forwardRef((e, t) => {
31621
- let n = (0, import_compiler_runtime$20.c)(9), i, o;
31712
+ let n = (0, import_compiler_runtime$21.c)(9), i, o;
31622
31713
  n[0] === e ? (i = n[1], o = n[2]) : ({ className: i, ...o } = e, n[0] = e, n[1] = i, n[2] = o);
31623
31714
  let s;
31624
31715
  n[3] === i ? s = n[4] : (s = cn(menuContentCommon({
@@ -31633,7 +31724,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
31633
31724
  });
31634
31725
  ContextMenuSubContent.displayName = SubContent2.displayName;
31635
31726
  ContextMenuContent = import_react.forwardRef((e, t) => {
31636
- let n = (0, import_compiler_runtime$20.c)(15), i, o, s;
31727
+ let n = (0, import_compiler_runtime$21.c)(15), i, o, s;
31637
31728
  n[0] === e ? (i = n[1], o = n[2], s = n[3]) : ({ className: i, scrollable: s, ...o } = e, n[0] = e, n[1] = i, n[2] = o, n[3] = s);
31638
31729
  let c = s === void 0 ? true : s, d;
31639
31730
  n[4] !== i || n[5] !== c ? (d = cn(menuContentCommon(), contentCommon, c && "overflow-auto", i), n[4] = i, n[5] = c, n[6] = d) : d = n[6];
@@ -31656,7 +31747,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
31656
31747
  });
31657
31748
  ContextMenuContent.displayName = Content2.displayName;
31658
31749
  ContextMenuItem = import_react.forwardRef((e, t) => {
31659
- let n = (0, import_compiler_runtime$20.c)(13), i, a, o, s;
31750
+ let n = (0, import_compiler_runtime$21.c)(13), i, a, o, s;
31660
31751
  n[0] === e ? (i = n[1], a = n[2], o = n[3], s = n[4]) : ({ className: i, inset: a, variant: s, ...o } = e, n[0] = e, n[1] = i, n[2] = a, n[3] = o, n[4] = s);
31661
31752
  let c;
31662
31753
  n[5] !== i || n[6] !== a || n[7] !== s ? (c = menuItemVariants({
@@ -31673,7 +31764,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
31673
31764
  });
31674
31765
  ContextMenuItem.displayName = Item2$1.displayName;
31675
31766
  var ContextMenuCheckboxItem = import_react.forwardRef((e, t) => {
31676
- let n = (0, import_compiler_runtime$20.c)(15), i, a, o, s;
31767
+ let n = (0, import_compiler_runtime$21.c)(15), i, a, o, s;
31677
31768
  n[0] === e ? (i = n[1], a = n[2], o = n[3], s = n[4]) : ({ className: o, children: a, checked: i, ...s } = e, n[0] = e, n[1] = i, n[2] = a, n[3] = o, n[4] = s);
31678
31769
  let c;
31679
31770
  n[5] === o ? c = n[6] : (c = menuControlVariants({
@@ -31704,7 +31795,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
31704
31795
  });
31705
31796
  ContextMenuCheckboxItem.displayName = CheckboxItem2.displayName;
31706
31797
  var ContextMenuRadioItem = import_react.forwardRef((e, t) => {
31707
- let n = (0, import_compiler_runtime$20.c)(13), i, a, o;
31798
+ let n = (0, import_compiler_runtime$21.c)(13), i, a, o;
31708
31799
  n[0] === e ? (i = n[1], a = n[2], o = n[3]) : ({ className: a, children: i, ...o } = e, n[0] = e, n[1] = i, n[2] = a, n[3] = o);
31709
31800
  let s;
31710
31801
  n[4] === a ? s = n[5] : (s = menuControlCheckVariants({
@@ -31734,7 +31825,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
31734
31825
  });
31735
31826
  ContextMenuRadioItem.displayName = RadioItem2.displayName;
31736
31827
  var ContextMenuLabel = import_react.forwardRef((e, t) => {
31737
- let n = (0, import_compiler_runtime$20.c)(11), i, a, o;
31828
+ let n = (0, import_compiler_runtime$21.c)(11), i, a, o;
31738
31829
  n[0] === e ? (i = n[1], a = n[2], o = n[3]) : ({ className: i, inset: a, ...o } = e, n[0] = e, n[1] = i, n[2] = a, n[3] = o);
31739
31830
  let s;
31740
31831
  n[4] !== i || n[5] !== a ? (s = menuLabelVariants({
@@ -31750,7 +31841,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
31750
31841
  });
31751
31842
  ContextMenuLabel.displayName = Label2.displayName;
31752
31843
  ContextMenuSeparator = import_react.forwardRef((e, t) => {
31753
- let n = (0, import_compiler_runtime$20.c)(9), i, o;
31844
+ let n = (0, import_compiler_runtime$21.c)(9), i, o;
31754
31845
  n[0] === e ? (i = n[1], o = n[2]) : ({ className: i, ...o } = e, n[0] = e, n[1] = i, n[2] = o);
31755
31846
  let s;
31756
31847
  n[3] === i ? s = n[4] : (s = cn(menuSeparatorVariants({
@@ -31764,9 +31855,9 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
31764
31855
  }), n[5] = o, n[6] = t, n[7] = s, n[8] = c) : c = n[8], c;
31765
31856
  });
31766
31857
  ContextMenuSeparator.displayName = Separator2.displayName;
31767
- var import_compiler_runtime$19 = require_compiler_runtime();
31858
+ var import_compiler_runtime$20 = require_compiler_runtime();
31768
31859
  const DataTableContextMenu = (e) => {
31769
- let t = (0, import_compiler_runtime$19.c)(12), { contextMenuRef: i, tableBody: a, tableRef: o, copyAllCells: s } = e, c;
31860
+ let t = (0, import_compiler_runtime$20.c)(12), { contextMenuRef: i, tableBody: a, tableRef: o, copyAllCells: s } = e, c;
31770
31861
  t[0] !== i || t[1] !== o ? (c = (e2) => {
31771
31862
  var _a2;
31772
31863
  let t2 = i.current;
@@ -31872,9 +31963,9 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
31872
31963
  ]
31873
31964
  });
31874
31965
  };
31875
- var import_compiler_runtime$18 = require_compiler_runtime();
31966
+ var import_compiler_runtime$19 = require_compiler_runtime();
31876
31967
  const HoverTooltip = (e) => {
31877
- let t = (0, import_compiler_runtime$18.c)(15), { state: n, contentId: i, onClose: a } = e, o = n != null, s;
31968
+ let t = (0, import_compiler_runtime$19.c)(15), { state: n, contentId: i, onClose: a } = e, o = n != null, s;
31878
31969
  t[0] === a ? s = t[1] : (s = (e2) => {
31879
31970
  e2 || a();
31880
31971
  }, t[0] = a, t[1] = s);
@@ -31932,9 +32023,9 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
31932
32023
  if (n != null && n !== "") return n;
31933
32024
  if (t) return applyHoverTemplate(t, e.row.getVisibleCells());
31934
32025
  }
31935
- var import_compiler_runtime$17 = require_compiler_runtime(), TOOLTIP_DELAY_MS = 400;
32026
+ var import_compiler_runtime$18 = require_compiler_runtime(), TOOLTIP_DELAY_MS = 400;
31936
32027
  function useTableHoverTooltip(e) {
31937
- let t = (0, import_compiler_runtime$17.c)(33), { table: n } = e, i;
32028
+ let t = (0, import_compiler_runtime$18.c)(33), { table: n } = e, i;
31938
32029
  t[0] === n ? i = t[1] : (i = n.getState().cellHoverTemplate || null, t[0] = n, t[1] = i);
31939
32030
  let a = i, [o, s] = (0, import_react.useState)(null), c = (0, import_react.useRef)(null), d = (0, import_react.useId)(), f = (0, import_react.useRef)(null), h = (0, import_react.useRef)(false), _;
31940
32031
  t[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (_ = () => {
@@ -32004,35 +32095,35 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
32004
32095
  let n2 = computeCellTooltipContent(t2, a);
32005
32096
  n2 == null || n2 === "" || E(e2.currentTarget, n2);
32006
32097
  }, t[16] = a, t[17] = J);
32007
- let Q = useEvent_default(J), GK;
32008
- t[18] === S ? GK = t[19] : (GK = () => S(), t[18] = S, t[19] = GK);
32009
- let KK = useEvent_default(GK), qK, JK;
32010
- t[20] === S ? (qK = t[21], JK = t[22]) : (qK = () => (window.addEventListener("scroll", S, {
32098
+ let Q = useEvent_default(J), cq;
32099
+ t[18] === S ? cq = t[19] : (cq = () => S(), t[18] = S, t[19] = cq);
32100
+ let lq = useEvent_default(cq), uq, dq;
32101
+ t[20] === S ? (uq = t[21], dq = t[22]) : (uq = () => (window.addEventListener("scroll", S, {
32011
32102
  passive: true,
32012
32103
  capture: true
32013
32104
  }), window.addEventListener("resize", S), () => {
32014
32105
  window.removeEventListener("scroll", S, {
32015
32106
  capture: true
32016
32107
  }), window.removeEventListener("resize", S);
32017
- }), JK = [
32108
+ }), dq = [
32018
32109
  S
32019
- ], t[20] = S, t[21] = qK, t[22] = JK), (0, import_react.useEffect)(qK, JK);
32020
- let $, YK;
32021
- t[23] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? ($ = () => v, YK = [], t[23] = $, t[24] = YK) : ($ = t[23], YK = t[24]), (0, import_react.useEffect)($, YK);
32022
- let XK;
32023
- return t[25] !== KK || t[26] !== Q || t[27] !== q || t[28] !== U || t[29] !== S || t[30] !== d || t[31] !== o ? (XK = {
32110
+ ], t[20] = S, t[21] = uq, t[22] = dq), (0, import_react.useEffect)(uq, dq);
32111
+ let $, fq;
32112
+ t[23] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? ($ = () => v, fq = [], t[23] = $, t[24] = fq) : ($ = t[23], fq = t[24]), (0, import_react.useEffect)($, fq);
32113
+ let pq;
32114
+ return t[25] !== lq || t[26] !== Q || t[27] !== q || t[28] !== U || t[29] !== S || t[30] !== d || t[31] !== o ? (pq = {
32024
32115
  tooltipState: o,
32025
32116
  tooltipContentId: d,
32026
32117
  hideTooltip: S,
32027
32118
  handleCellMouseOver: U,
32028
32119
  handleCellMouseLeave: q,
32029
32120
  handleCellFocus: Q,
32030
- handleCellBlur: KK
32031
- }, t[25] = KK, t[26] = Q, t[27] = q, t[28] = U, t[29] = S, t[30] = d, t[31] = o, t[32] = XK) : XK = t[32], XK;
32121
+ handleCellBlur: lq
32122
+ }, t[25] = lq, t[26] = Q, t[27] = q, t[28] = U, t[29] = S, t[30] = d, t[31] = o, t[32] = pq) : pq = t[32], pq;
32032
32123
  }
32033
- var import_compiler_runtime$16 = require_compiler_runtime();
32124
+ var import_compiler_runtime$17 = require_compiler_runtime();
32034
32125
  const CellRangeSelectionIndicator = (0, import_react.memo)((e) => {
32035
- let t = (0, import_compiler_runtime$16.c)(9), { cellId: n, className: i } = e, o;
32126
+ let t = (0, import_compiler_runtime$17.c)(9), { cellId: n, className: i } = e, o;
32036
32127
  t[0] === n ? o = t[1] : (o = createCellStateAtom(n), t[0] = n, t[1] = o);
32037
32128
  let { isSelected: s, isCopied: c } = useAtomValue(o);
32038
32129
  if (!s && !c) return null;
@@ -32045,9 +32136,9 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
32045
32136
  }), t[6] = n, t[7] = h, t[8] = _) : _ = t[8], _;
32046
32137
  });
32047
32138
  CellRangeSelectionIndicator.displayName = "CellRangeSelectionIndicator";
32048
- var import_compiler_runtime$15 = require_compiler_runtime();
32139
+ var import_compiler_runtime$16 = require_compiler_runtime();
32049
32140
  const useCellRangeSelection = (e) => {
32050
- let t = (0, import_compiler_runtime$15.c)(30), { table: n } = e, i = useCellSelectionReducerActions(), a;
32141
+ let t = (0, import_compiler_runtime$16.c)(30), { table: n } = e, i = useCellSelectionReducerActions(), a;
32051
32142
  t[0] !== i || t[1] !== n ? (a = () => {
32052
32143
  i.handleCopy({
32053
32144
  table: n,
@@ -32154,9 +32245,9 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
32154
32245
  }
32155
32246
  return false;
32156
32247
  }
32157
- var import_compiler_runtime$14 = require_compiler_runtime(), focusedCellAtom = atom((e) => e(cellSelectionStateAtom).focusedCell);
32248
+ var import_compiler_runtime$15 = require_compiler_runtime(), focusedCellAtom = atom((e) => e(cellSelectionStateAtom).focusedCell);
32158
32249
  function useScrollIntoViewOnFocus(e) {
32159
- let t = (0, import_compiler_runtime$14.c)(2), i;
32250
+ let t = (0, import_compiler_runtime$15.c)(2), i;
32160
32251
  t[0] === e ? i = t[1] : (i = (t2) => {
32161
32252
  (t2 == null ? void 0 : t2.cellId) && setTimeout(() => {
32162
32253
  var _a2;
@@ -32707,9 +32798,9 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
32707
32798
  hiddenSuffix: o > 0 ? `(${prettyNumber(o, i)} hidden)` : null
32708
32799
  };
32709
32800
  };
32710
- var import_compiler_runtime$13 = require_compiler_runtime(), MAX_FRACTION_DIGITS = 3;
32801
+ var import_compiler_runtime$14 = require_compiler_runtime(), MAX_FRACTION_DIGITS = 3;
32711
32802
  const CellSelectionStats = (e) => {
32712
- let t = (0, import_compiler_runtime$13.c)(21), { table: n, className: i } = e, { locale: o } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), s = useAtomValue(selectedCellsAtom), c = countDataCellsInSelection(s);
32803
+ let t = (0, import_compiler_runtime$14.c)(21), { table: n, className: i } = e, { locale: o } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), s = useAtomValue(selectedCellsAtom), c = countDataCellsInSelection(s);
32713
32804
  if (c < 2) {
32714
32805
  let e2;
32715
32806
  t[0] === i ? e2 = t[1] : (e2 = cn("text-xs text-muted-foreground/80 italic", i), t[0] = i, t[1] = e2);
@@ -32752,7 +32843,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
32752
32843
  var formatNumber = (e, t) => e.toLocaleString(t, {
32753
32844
  maximumFractionDigits: MAX_FRACTION_DIGITS
32754
32845
  }), StatSpan = (e) => {
32755
- let t = (0, import_compiler_runtime$13.c)(6), { name: n, value: i, locale: a } = e, o;
32846
+ let t = (0, import_compiler_runtime$14.c)(6), { name: n, value: i, locale: a } = e, o;
32756
32847
  t[0] !== a || t[1] !== i ? (o = formatNumber(i, a), t[0] = a, t[1] = i, t[2] = o) : o = t[2];
32757
32848
  let s;
32758
32849
  return t[3] !== n || t[4] !== o ? (s = (0, import_jsx_runtime.jsxs)("span", {
@@ -32763,14 +32854,14 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
32763
32854
  ]
32764
32855
  }), t[3] = n, t[4] = o, t[5] = s) : s = t[5], s;
32765
32856
  }, CountStat = (e) => {
32766
- let t = (0, import_compiler_runtime$13.c)(3), { count: n, locale: i } = e, a;
32857
+ let t = (0, import_compiler_runtime$14.c)(3), { count: n, locale: i } = e, a;
32767
32858
  return t[0] !== n || t[1] !== i ? (a = (0, import_jsx_runtime.jsx)(StatSpan, {
32768
32859
  name: "Count",
32769
32860
  value: n,
32770
32861
  locale: i
32771
32862
  }), t[0] = n, t[1] = i, t[2] = a) : a = t[2], a;
32772
32863
  }, SumStat = (e) => {
32773
- let t = (0, import_compiler_runtime$13.c)(6), { numericValues: n, locale: i } = e;
32864
+ let t = (0, import_compiler_runtime$14.c)(6), { numericValues: n, locale: i } = e;
32774
32865
  if (n.length === 0) return null;
32775
32866
  let a, o;
32776
32867
  if (t[0] !== n) {
@@ -32784,7 +32875,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
32784
32875
  locale: i
32785
32876
  }), t[3] = i, t[4] = s, t[5] = c) : c = t[5], c;
32786
32877
  }, AverageStat = (e) => {
32787
- let t = (0, import_compiler_runtime$13.c)(5), { numericValues: n, locale: i } = e;
32878
+ let t = (0, import_compiler_runtime$14.c)(5), { numericValues: n, locale: i } = e;
32788
32879
  if (n.length === 0) return null;
32789
32880
  let a = n.reduce(_temp2$2, 0) / n.length, o;
32790
32881
  t[0] === a ? o = t[1] : (o = a.toFixed(MAX_FRACTION_DIGITS), t[0] = a, t[1] = o);
@@ -32951,7 +33042,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
32951
33042
  },
32952
33043
  replace: (e, t) => e.endsWith(`.${t}`) ? e : `${Filenames.withoutExtension(e)}.${t}`
32953
33044
  };
32954
- let ProgressState, import_compiler_runtime$12;
33045
+ let ProgressState, import_compiler_runtime$13;
32955
33046
  ProgressState = class e {
32956
33047
  constructor(e2) {
32957
33048
  __publicField(this, "progress", 0);
@@ -32980,9 +33071,9 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
32980
33071
  for (let t of this.listeners) t(e2);
32981
33072
  }
32982
33073
  };
32983
- import_compiler_runtime$12 = require_compiler_runtime();
33074
+ import_compiler_runtime$13 = require_compiler_runtime();
32984
33075
  Progress = import_react.forwardRef((e, t) => {
32985
- let n = (0, import_compiler_runtime$12.c)(20), i, o, s, c;
33076
+ let n = (0, import_compiler_runtime$13.c)(20), i, o, s, c;
32986
33077
  n[0] === e ? (i = n[1], o = n[2], s = n[3], c = n[4]) : ({ className: i, value: c, indeterminate: o, ...s } = e, n[0] = e, n[1] = i, n[2] = o, n[3] = s, n[4] = c);
32987
33078
  let d;
32988
33079
  n[5] === i ? d = n[6] : (d = cn("relative h-2 w-full overflow-hidden rounded-full bg-primary/20", i), n[5] = i, n[6] = d);
@@ -32998,17 +33089,17 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
32998
33089
  style: _
32999
33090
  }), n[12] = h, n[13] = _, n[14] = v) : v = n[14];
33000
33091
  let y;
33001
- return n[15] !== s || n[16] !== t || n[17] !== d || n[18] !== v ? (y = (0, import_jsx_runtime.jsx)(Root$1, {
33092
+ return n[15] !== s || n[16] !== t || n[17] !== d || n[18] !== v ? (y = (0, import_jsx_runtime.jsx)(Root$2, {
33002
33093
  ref: t,
33003
33094
  className: d,
33004
33095
  ...s,
33005
33096
  children: v
33006
33097
  }), n[15] = s, n[16] = t, n[17] = d, n[18] = v, n[19] = y) : y = n[19], y;
33007
33098
  });
33008
- Progress.displayName = Root$1.displayName;
33009
- var import_compiler_runtime$11 = require_compiler_runtime();
33099
+ Progress.displayName = Root$2.displayName;
33100
+ var import_compiler_runtime$12 = require_compiler_runtime();
33010
33101
  const ToastProgress = (e) => {
33011
- let t = (0, import_compiler_runtime$11.c)(13), { progress: n, showPercentage: i } = e, a = i === void 0 ? false : i, o, s;
33102
+ let t = (0, import_compiler_runtime$12.c)(13), { progress: n, showPercentage: i } = e, a = i === void 0 ? false : i, o, s;
33012
33103
  t[0] === n ? (o = t[1], s = t[2]) : (o = (e2) => n.subscribe(e2), s = () => n.getProgress(), t[0] = n, t[1] = o, t[2] = s);
33013
33104
  let c = (0, import_react.useSyncExternalStore)(o, s), d = c === "indeterminate" || c === 100, f = d ? void 0 : c, h;
33014
33105
  t[3] !== d || t[4] !== f ? (h = (0, import_jsx_runtime.jsx)(Progress, {
@@ -33080,9 +33171,9 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
33080
33171
  let n = URL.createObjectURL(e);
33081
33172
  downloadByURL(n, t), URL.revokeObjectURL(n);
33082
33173
  };
33083
- var import_compiler_runtime$10 = require_compiler_runtime();
33174
+ var import_compiler_runtime$11 = require_compiler_runtime();
33084
33175
  InstallPackageButton = (e) => {
33085
- let t = (0, import_compiler_runtime$10.c)(13), { packages: n, showMaxPackages: i, className: o, onInstall: s } = e, { handleInstallPackages: c } = useInstallPackages();
33176
+ let t = (0, import_compiler_runtime$11.c)(13), { packages: n, showMaxPackages: i, className: o, onInstall: s } = e, { handleInstallPackages: c } = useInstallPackages();
33086
33177
  if (!n || n.length === 0) return null;
33087
33178
  let d;
33088
33179
  t[0] !== c || t[1] !== s || t[2] !== n ? (d = () => {
@@ -33105,9 +33196,9 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
33105
33196
  ]
33106
33197
  }), t[9] = d, t[10] = f, t[11] = _, t[12] = v) : v = t[12], v;
33107
33198
  };
33108
- var import_compiler_runtime$9 = require_compiler_runtime();
33199
+ var import_compiler_runtime$10 = require_compiler_runtime();
33109
33200
  const MissingPackagePrompt = (e) => {
33110
- let t = (0, import_compiler_runtime$9.c)(16), { packages: n, featureName: i, description: o, onInstall: s, className: c } = e;
33201
+ let t = (0, import_compiler_runtime$10.c)(16), { packages: n, featureName: i, description: o, onInstall: s, className: c } = e;
33111
33202
  if (!useInstallAllowed()) {
33112
33203
  let e2;
33113
33204
  t[0] === c ? e2 = t[1] : (e2 = cn("text-xs", c), t[0] = c, t[1] = e2);
@@ -33142,7 +33233,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
33142
33233
  ]
33143
33234
  }), t[12] = d, t[13] = h, t[14] = _, t[15] = v) : v = t[15], v;
33144
33235
  };
33145
- var import_compiler_runtime$8 = require_compiler_runtime(), FILE_TYPES = {
33236
+ var import_compiler_runtime$9 = require_compiler_runtime(), FILE_TYPES = {
33146
33237
  CSV: {
33147
33238
  label: "CSV",
33148
33239
  format: "csv",
@@ -33196,7 +33287,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
33196
33287
  return ((_a2 = copyOptions.find((t) => t.format === e)) == null ? void 0 : _a2.label) ?? e;
33197
33288
  };
33198
33289
  const ExportMenu = (e) => {
33199
- let t = (0, import_compiler_runtime$8.c)(55), [n, i] = import_react.useState(false), o = useAtomValue(downloadSizeLimitAtom), s = !!(o && e.sizeBytes != null && e.sizeBytes > o.limitBytes), c = !!(o && (e.sizeBytesIsLoading || s)), d = c ? e.sizeBytesIsLoading ? "Checking download size\u2026" : o == null ? void 0 : o.unavailableMessage : "Export", f = n ? "text-primary" : "text-muted-foreground", _;
33290
+ let t = (0, import_compiler_runtime$9.c)(55), [n, i] = import_react.useState(false), o = useAtomValue(downloadSizeLimitAtom), s = !!(o && e.sizeBytes != null && e.sizeBytes > o.limitBytes), c = !!(o && (e.sizeBytesIsLoading || s)), d = c ? e.sizeBytesIsLoading ? "Checking download size\u2026" : o == null ? void 0 : o.unavailableMessage : "Export", f = n ? "text-primary" : "text-muted-foreground", _;
33200
33291
  t[0] === f ? _ = t[1] : (_ = cn("print:hidden text-xs gap-1", f), t[0] = f, t[1] = _);
33201
33292
  let v;
33202
33293
  t[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (v = (0, import_jsx_runtime.jsx)(Download, {
@@ -33241,7 +33332,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
33241
33332
  filename: i2.filename
33242
33333
  };
33243
33334
  }, t[6] = e, t[7] = O);
33244
- let A = O, M, I, z, U, K, q, J, Q, GK, KK, qK, JK, $;
33335
+ let A = O, M, I, z, U, K, q, J, Q, cq, lq, uq, dq, $;
33245
33336
  if (t[8] !== S || t[9] !== c || t[10] !== n || t[11] !== A || t[12] !== d) {
33246
33337
  let e2 = async (t2) => {
33247
33338
  let n2 = labelForDownloadFormat(t2);
@@ -33307,10 +33398,10 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
33307
33398
  content: d,
33308
33399
  open: o2,
33309
33400
  children: h
33310
- }), t[32] = o2, t[33] = h, t[34] = d, t[35] = Q) : Q = t[35], M = DropdownMenuContent, GK = "bottom", KK = "print:hidden", t[36] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (qK = (0, import_jsx_runtime.jsx)(DropdownMenuLabel, {
33401
+ }), t[32] = o2, t[33] = h, t[34] = d, t[35] = Q) : Q = t[35], M = DropdownMenuContent, cq = "bottom", lq = "print:hidden", t[36] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (uq = (0, import_jsx_runtime.jsx)(DropdownMenuLabel, {
33311
33402
  className: "text-xs text-muted-foreground",
33312
33403
  children: "Download"
33313
- }), t[36] = qK) : qK = t[36], JK = downloadOptions.map((t2) => (0, import_jsx_runtime.jsxs)(DropdownMenuItem, {
33404
+ }), t[36] = uq) : uq = t[36], dq = downloadOptions.map((t2) => (0, import_jsx_runtime.jsxs)(DropdownMenuItem, {
33314
33405
  onSelect: () => {
33315
33406
  e2(t2.format);
33316
33407
  },
@@ -33363,30 +33454,30 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
33363
33454
  ]
33364
33455
  })
33365
33456
  ]
33366
- }, e3.label)), t[8] = S, 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] = GK, t[22] = KK, t[23] = qK, t[24] = JK, t[25] = $;
33367
- } 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], GK = t[21], KK = t[22], qK = t[23], JK = t[24], $ = t[25];
33368
- let YK;
33369
- t[39] !== M || t[40] !== z || t[41] !== U || t[42] !== GK || t[43] !== KK || t[44] !== qK || t[45] !== JK || t[46] !== $ ? (YK = (0, import_jsx_runtime.jsxs)(M, {
33370
- side: GK,
33371
- className: KK,
33457
+ }, e3.label)), t[8] = S, 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] = cq, t[22] = lq, t[23] = uq, t[24] = dq, t[25] = $;
33458
+ } 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], cq = t[21], lq = t[22], uq = t[23], dq = t[24], $ = t[25];
33459
+ let fq;
33460
+ t[39] !== M || t[40] !== z || t[41] !== U || t[42] !== cq || t[43] !== lq || t[44] !== uq || t[45] !== dq || t[46] !== $ ? (fq = (0, import_jsx_runtime.jsxs)(M, {
33461
+ side: cq,
33462
+ className: lq,
33372
33463
  children: [
33373
- qK,
33374
- JK,
33464
+ uq,
33465
+ dq,
33375
33466
  $,
33376
33467
  z,
33377
33468
  U
33378
33469
  ]
33379
- }), t[39] = M, t[40] = z, t[41] = U, t[42] = GK, t[43] = KK, t[44] = qK, t[45] = JK, t[46] = $, t[47] = YK) : YK = t[47];
33380
- let XK;
33381
- return t[48] !== I || t[49] !== K || t[50] !== q || t[51] !== J || t[52] !== Q || t[53] !== YK ? (XK = (0, import_jsx_runtime.jsxs)(I, {
33470
+ }), t[39] = M, t[40] = z, t[41] = U, t[42] = cq, t[43] = lq, t[44] = uq, t[45] = dq, t[46] = $, t[47] = fq) : fq = t[47];
33471
+ let pq;
33472
+ return t[48] !== I || t[49] !== K || t[50] !== q || t[51] !== J || t[52] !== Q || t[53] !== fq ? (pq = (0, import_jsx_runtime.jsxs)(I, {
33382
33473
  modal: K,
33383
33474
  open: q,
33384
33475
  onOpenChange: J,
33385
33476
  children: [
33386
33477
  Q,
33387
- YK
33478
+ fq
33388
33479
  ]
33389
- }), t[48] = I, t[49] = K, t[50] = q, t[51] = J, t[52] = Q, t[53] = YK, t[54] = XK) : XK = t[54], XK;
33480
+ }), t[48] = I, t[49] = K, t[50] = q, t[51] = J, t[52] = Q, t[53] = fq, t[54] = pq) : pq = t[54], pq;
33390
33481
  };
33391
33482
  function fetchJson(e) {
33392
33483
  return fetchText(e).then(jsonParseWithSpecialChar);
@@ -33479,22 +33570,22 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
33479
33570
  ]
33480
33571
  }) : null;
33481
33572
  };
33482
- DataTable = (0, import_react.memo)(({ wrapperClassName: e, className: t, maxHeight: n, columns: i, data: o, rawData: s, selection: c, totalColumns: d, totalRows: f, sizeBytes: _, sizeBytesIsLoading: v, manualSorting: y = false, sorting: S, setSorting: w, rowSelection: E, cellSelection: O, cellStyling: A, hoverTemplate: M, cellHoverTexts: I, paginationState: z, setPaginationState: U, downloadAs: K, manualPagination: q = false, pagination: J = false, onRowSelectionChange: Q, onCellSelectionChange: GK, getRowIds: KK, enableSearch: qK = false, searchQuery: JK, onSearchQueryChange: $, showFilters: YK = false, filters: XK, onFiltersChange: ZK, calculateTopKRows: QK, reloading: $K, freezeColumnsLeft: eq, freezeColumnsRight: tq, hiddenColumns: nq, toggleDisplayHeader: rq, showChartBuilder: iq, isChartBuilderOpen: aq, showPageSizeSelector: oq, showTableExplorer: sq, togglePanel: cq, isPanelOpen: lq, isAnyPanelOpen: uq, viewedRowIdx: dq, onViewedRowChange: fq, renderTableExplorerPanel: pq }) => {
33483
- let [mq, hq] = import_react.useState(false), { locale: gq } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), { columnPinning: _q, setColumnPinning: vq } = useColumnPinning(eq, tq), { columnVisibility: yq, setColumnVisibility: bq } = useColumnVisibility(nq);
33573
+ DataTable = (0, import_react.memo)(({ wrapperClassName: e, className: t, maxHeight: n, columns: i, data: o, rawData: s, selection: c, totalColumns: d, totalRows: f, sizeBytes: _, sizeBytesIsLoading: v, manualSorting: y = false, sorting: S, setSorting: w, rowSelection: E, cellSelection: O, cellStyling: A, hoverTemplate: M, cellHoverTexts: I, paginationState: z, setPaginationState: U, downloadAs: K, manualPagination: q = false, pagination: J = false, onRowSelectionChange: Q, onCellSelectionChange: cq, getRowIds: lq, enableSearch: uq = false, searchQuery: dq, onSearchQueryChange: $, showFilters: fq = false, filters: pq, onFiltersChange: mq, calculateTopKRows: hq, reloading: gq, freezeColumnsLeft: _q, freezeColumnsRight: vq, hiddenColumns: yq, toggleDisplayHeader: bq, showChartBuilder: xq, isChartBuilderOpen: Sq, showPageSizeSelector: Cq, showTableExplorer: wq, togglePanel: Tq, isPanelOpen: Eq, isAnyPanelOpen: Dq, viewedRowIdx: Oq, onViewedRowChange: kq, renderTableExplorerPanel: Aq }) => {
33574
+ let [jq, Mq] = import_react.useState(false), { locale: Nq } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), { columnPinning: Pq, setColumnPinning: Fq } = useColumnPinning(_q, vq), { columnVisibility: Iq, setColumnVisibility: Lq } = useColumnVisibility(yq);
33484
33575
  import_react.useEffect(() => {
33485
33576
  let e2;
33486
- return $K ? e2 = setTimeout(() => {
33487
- hq(true);
33488
- }, 300) : hq(false), () => {
33577
+ return gq ? e2 = setTimeout(() => {
33578
+ Mq(true);
33579
+ }, 300) : Mq(false), () => {
33489
33580
  e2 && clearTimeout(e2);
33490
33581
  };
33491
33582
  }, [
33492
- $K
33583
+ gq
33493
33584
  ]);
33494
- function xq(e2, t2) {
33585
+ function Rq(e2, t2) {
33495
33586
  return z ? t2 + (q ? z.pageIndex * z.pageSize : 0) : t2;
33496
33587
  }
33497
- let Sq = useReactTable({
33588
+ let zq = useReactTable({
33498
33589
  _features: [
33499
33590
  ColumnPinning,
33500
33591
  ColumnWrappingFeature,
@@ -33518,11 +33609,11 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
33518
33609
  getRowId: (e2, t2) => {
33519
33610
  let n2 = getStableRowId(e2);
33520
33611
  if (n2) return n2;
33521
- let i2 = xq(e2, t2);
33612
+ let i2 = Rq(e2, t2);
33522
33613
  return String(i2);
33523
33614
  }
33524
33615
  } : {},
33525
- locale: gq,
33616
+ locale: Nq,
33526
33617
  manualPagination: q,
33527
33618
  getPaginationRowModel: getPaginationRowModel(),
33528
33619
  ...w ? {
@@ -33532,22 +33623,22 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
33532
33623
  enableMultiSort: true,
33533
33624
  getSortedRowModel: getSortedRowModel(),
33534
33625
  manualFiltering: true,
33535
- enableColumnFilters: YK,
33626
+ enableColumnFilters: fq,
33536
33627
  getFilteredRowModel: getFilteredRowModel(),
33537
- onColumnFiltersChange: ZK,
33628
+ onColumnFiltersChange: mq,
33538
33629
  onRowSelectionChange: Q,
33539
- onCellSelectionChange: GK,
33630
+ onCellSelectionChange: cq,
33540
33631
  enableCellSelection: c === "single-cell" || c === "multi-cell",
33541
33632
  enableMultiCellSelection: c === "multi-cell",
33542
- onColumnPinningChange: vq,
33543
- onColumnVisibilityChange: bq,
33633
+ onColumnPinningChange: Fq,
33634
+ onColumnVisibilityChange: Lq,
33544
33635
  enableFocusRow: true,
33545
- onFocusRowChange: fq,
33636
+ onFocusRowChange: kq,
33546
33637
  state: {
33547
33638
  ...S ? {
33548
33639
  sorting: S
33549
33640
  } : {},
33550
- columnFilters: XK,
33641
+ columnFilters: pq,
33551
33642
  ...z ? {
33552
33643
  pagination: z
33553
33644
  } : J && !z ? {} : {
@@ -33558,59 +33649,59 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
33558
33649
  },
33559
33650
  rowSelection: E ?? {},
33560
33651
  cellSelection: O ?? [],
33561
- columnVisibility: yq,
33652
+ columnVisibility: Iq,
33562
33653
  cellStyling: A,
33563
- columnPinning: _q,
33654
+ columnPinning: Pq,
33564
33655
  cellHoverTemplate: M,
33565
33656
  cellHoverTexts: I ?? {}
33566
33657
  }
33567
- }), Cq = (lq == null ? void 0 : lq(PANEL_TYPES.ROW_VIEWER)) ?? false, wq = !J && o.length > 100, Tq = useScrollContainerHeight({
33658
+ }), Bq = (Eq == null ? void 0 : Eq(PANEL_TYPES.ROW_VIEWER)) ?? false, Vq = !J && o.length > 100, Hq = useScrollContainerHeight({
33568
33659
  maxHeight: n,
33569
- virtualize: wq
33570
- }), [Eq, Dq] = import_react.useState(null), Oq = import_react.useMemo(() => ({
33660
+ virtualize: Vq
33661
+ }), [Uq, Wq] = import_react.useState(null), Gq = import_react.useMemo(() => ({
33571
33662
  requestAddFilter: (e2) => {
33572
- let t2 = Sq.getColumn(e2.columnId);
33573
- t2 && Dq(buildEditorSnapshot(t2, {
33663
+ let t2 = zq.getColumn(e2.columnId);
33664
+ t2 && Wq(buildEditorSnapshot(t2, {
33574
33665
  operator: e2.operator
33575
33666
  }));
33576
33667
  }
33577
33668
  }), [
33578
- Sq
33579
- ]), kq = getUserColumnVisibilityCounts(Sq), Aq = kq.total > 0 && kq.visible === 0;
33669
+ zq
33670
+ ]), Kq = getUserColumnVisibilityCounts(zq), qq = Kq.total > 0 && Kq.visible === 0;
33580
33671
  return (0, import_jsx_runtime.jsx)(FilterEditorProvider, {
33581
- value: Oq,
33672
+ value: Gq,
33582
33673
  children: (0, import_jsx_runtime.jsxs)("div", {
33583
33674
  className: cn(e, "flex flex-col space-y-1"),
33584
33675
  children: [
33585
33676
  (0, import_jsx_runtime.jsx)(FilterPills, {
33586
- filters: XK,
33587
- table: Sq,
33588
- calculateTopKRows: QK,
33589
- addFilterSnapshot: Eq,
33590
- onAddFilterSnapshotChange: Dq
33677
+ filters: pq,
33678
+ table: zq,
33679
+ calculateTopKRows: hq,
33680
+ addFilterSnapshot: Uq,
33681
+ onAddFilterSnapshotChange: Wq
33591
33682
  }),
33592
- pq == null ? void 0 : pq(Sq),
33683
+ Aq == null ? void 0 : Aq(zq),
33593
33684
  (0, import_jsx_runtime.jsx)(CellSelectionProvider, {
33594
33685
  children: (0, import_jsx_runtime.jsxs)("div", {
33595
33686
  part: "table-wrapper",
33596
33687
  className: cn(t || "rounded-md border overflow-hidden"),
33597
33688
  children: [
33598
33689
  (0, import_jsx_runtime.jsx)(TableTopBar, {
33599
- enableSearch: qK,
33600
- searchQuery: JK,
33690
+ enableSearch: uq,
33691
+ searchQuery: dq,
33601
33692
  onSearchQueryChange: $,
33602
- reloading: $K,
33603
- showChartBuilder: iq,
33604
- isChartBuilderOpen: aq,
33605
- toggleDisplayHeader: rq,
33606
- showTableExplorer: sq,
33607
- togglePanel: cq,
33608
- isAnyPanelOpen: uq,
33693
+ reloading: gq,
33694
+ showChartBuilder: xq,
33695
+ isChartBuilderOpen: Sq,
33696
+ toggleDisplayHeader: bq,
33697
+ showTableExplorer: wq,
33698
+ togglePanel: Tq,
33699
+ isAnyPanelOpen: Dq,
33609
33700
  downloadAs: K,
33610
33701
  sizeBytes: _,
33611
33702
  sizeBytesIsLoading: v
33612
33703
  }),
33613
- Aq && (0, import_jsx_runtime.jsxs)(Banner, {
33704
+ qq && (0, import_jsx_runtime.jsxs)(Banner, {
33614
33705
  className: "mb-1 mx-2 rounded flex items-center justify-between",
33615
33706
  children: [
33616
33707
  (0, import_jsx_runtime.jsx)("span", {
@@ -33619,26 +33710,26 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
33619
33710
  (0, import_jsx_runtime.jsx)(Button, {
33620
33711
  variant: "link",
33621
33712
  size: "xs",
33622
- onClick: () => Sq.resetColumnVisibility(true),
33713
+ onClick: () => zq.resetColumnVisibility(true),
33623
33714
  children: "Unhide all"
33624
33715
  })
33625
33716
  ]
33626
33717
  }),
33627
33718
  (0, import_jsx_runtime.jsxs)(Table, {
33628
33719
  className: cn("relative", i.length <= 4 ? "w-auto" : "w-full"),
33629
- ref: Tq,
33720
+ ref: Hq,
33630
33721
  children: [
33631
- mq && (0, import_jsx_runtime.jsx)("thead", {
33722
+ jq && (0, import_jsx_runtime.jsx)("thead", {
33632
33723
  className: "absolute top-0 left-0 h-[3px] w-1/2 bg-primary animate-slide"
33633
33724
  }),
33634
- renderTableHeader(Sq, wq || !!n),
33725
+ renderTableHeader(zq, Vq || !!n),
33635
33726
  (0, import_jsx_runtime.jsx)(DataTableBody, {
33636
- table: Sq,
33727
+ table: zq,
33637
33728
  columns: i,
33638
- rowViewerPanelOpen: Cq,
33639
- getRowIndex: xq,
33640
- viewedRowIdx: dq,
33641
- virtualize: wq
33729
+ rowViewerPanelOpen: Bq,
33730
+ getRowIndex: Rq,
33731
+ viewedRowIdx: Oq,
33732
+ virtualize: Vq
33642
33733
  })
33643
33734
  ]
33644
33735
  }),
@@ -33649,11 +33740,11 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
33649
33740
  pagination: J,
33650
33741
  selection: c,
33651
33742
  onRowSelectionChange: Q,
33652
- table: Sq,
33653
- getRowIds: KK,
33654
- showPageSizeSelector: oq,
33655
- tableLoading: $K,
33656
- togglePanel: cq
33743
+ table: zq,
33744
+ getRowIds: lq,
33745
+ showPageSizeSelector: Cq,
33746
+ tableLoading: gq,
33747
+ togglePanel: Tq
33657
33748
  })
33658
33749
  ]
33659
33750
  })
@@ -33718,10 +33809,10 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
33718
33809
  ]
33719
33810
  }), e.focus(), true;
33720
33811
  }
33721
- var import_compiler_runtime$6 = require_compiler_runtime();
33812
+ var import_compiler_runtime$7 = require_compiler_runtime();
33722
33813
  const MarimoTracebackOutput = (e) => {
33723
33814
  var _a2;
33724
- let t = (0, import_compiler_runtime$6.c)(45), { onRefactorWithAI: n, traceback: i, cellId: a } = e, o;
33815
+ let t = (0, import_compiler_runtime$7.c)(45), { onRefactorWithAI: n, traceback: i, cellId: a } = e, o;
33725
33816
  t[0] === i ? o = t[1] : (o = renderHTML({
33726
33817
  html: i,
33727
33818
  additionalReplacements: [
@@ -33749,42 +33840,42 @@ ${d}`,
33749
33840
  }, t[12] = d, t[13] = n, t[14] = K) : K = t[14];
33750
33841
  let q = K, J;
33751
33842
  t[15] === z ? J = t[16] : (J = () => U(!z), t[15] = z, t[16] = J);
33752
- let Q = z ? "Collapse traceback" : "Expand traceback", GK;
33753
- t[17] === z ? GK = t[18] : (GK = z ? (0, import_jsx_runtime.jsx)(ChevronDown, {
33843
+ let Q = z ? "Collapse traceback" : "Expand traceback", cq;
33844
+ t[17] === z ? cq = t[18] : (cq = z ? (0, import_jsx_runtime.jsx)(ChevronDown, {
33754
33845
  className: "h-3 w-3"
33755
33846
  }) : (0, import_jsx_runtime.jsx)(ChevronRight, {
33756
33847
  className: "h-3 w-3"
33757
- }), t[17] = z, t[18] = GK);
33758
- let qK;
33759
- t[19] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (qK = (0, import_jsx_runtime.jsx)("span", {
33848
+ }), t[17] = z, t[18] = cq);
33849
+ let uq;
33850
+ t[19] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (uq = (0, import_jsx_runtime.jsx)("span", {
33760
33851
  className: "text-[0.6875rem] uppercase tracking-wider",
33761
33852
  children: "Traceback"
33762
- }), t[19] = qK) : qK = t[19];
33763
- let JK;
33764
- t[20] !== z || t[21] !== J || t[22] !== Q || t[23] !== GK ? (JK = (0, import_jsx_runtime.jsxs)("button", {
33853
+ }), t[19] = uq) : uq = t[19];
33854
+ let dq;
33855
+ t[20] !== z || t[21] !== J || t[22] !== Q || t[23] !== cq ? (dq = (0, import_jsx_runtime.jsxs)("button", {
33765
33856
  type: "button",
33766
33857
  onClick: J,
33767
33858
  "aria-expanded": z,
33768
33859
  "aria-label": Q,
33769
33860
  className: "self-start flex items-center gap-1 pt-2 text-muted-foreground/70 hover:text-muted-foreground transition-colors",
33770
33861
  children: [
33771
- GK,
33772
- qK
33862
+ cq,
33863
+ uq
33773
33864
  ]
33774
- }), t[20] = z, t[21] = J, t[22] = Q, t[23] = GK, t[24] = JK) : JK = t[24];
33865
+ }), t[20] = z, t[21] = J, t[22] = Q, t[23] = cq, t[24] = dq) : dq = t[24];
33775
33866
  let $;
33776
33867
  t[25] !== s || t[26] !== z ? ($ = z && (0, import_jsx_runtime.jsx)("div", {
33777
33868
  className: "text-muted-foreground pr-4 text-xs overflow-auto",
33778
33869
  children: s
33779
33870
  }), t[25] = s, t[26] = z, t[27] = $) : $ = t[27];
33780
- let YK;
33781
- t[28] !== q || t[29] !== M ? (YK = M && (0, import_jsx_runtime.jsx)(AIFixButton, {
33871
+ let fq;
33872
+ t[28] !== q || t[29] !== M ? (fq = M && (0, import_jsx_runtime.jsx)(AIFixButton, {
33782
33873
  tooltip: "Fix with AI",
33783
33874
  openPrompt: () => q(false),
33784
33875
  applyAutofix: () => q(true)
33785
- }), t[28] = q, t[29] = M, t[30] = YK) : YK = t[30];
33786
- let XK;
33787
- t[31] !== w || t[32] !== v ? (XK = w && (0, import_jsx_runtime.jsx)(Tooltip, {
33876
+ }), t[28] = q, t[29] = M, t[30] = fq) : fq = t[30];
33877
+ let pq;
33878
+ t[31] !== w || t[32] !== v ? (pq = w && (0, import_jsx_runtime.jsx)(Tooltip, {
33788
33879
  content: "Attach pdb to the exception point.",
33789
33880
  children: (0, import_jsx_runtime.jsxs)(Button, {
33790
33881
  size: "xs",
@@ -33801,9 +33892,9 @@ ${d}`,
33801
33892
  "Launch debugger"
33802
33893
  ]
33803
33894
  })
33804
- }), t[31] = w, t[32] = v, t[33] = XK) : XK = t[33];
33805
- let ZK;
33806
- t[34] !== d || t[35] !== i ? (ZK = I && (0, import_jsx_runtime.jsxs)(DropdownMenu, {
33895
+ }), t[31] = w, t[32] = v, t[33] = pq) : pq = t[33];
33896
+ let mq;
33897
+ t[34] !== d || t[35] !== i ? (mq = I && (0, import_jsx_runtime.jsxs)(DropdownMenu, {
33807
33898
  children: [
33808
33899
  (0, import_jsx_runtime.jsx)(DropdownMenuTrigger, {
33809
33900
  asChild: true,
@@ -33871,25 +33962,25 @@ ${d}`,
33871
33962
  ]
33872
33963
  })
33873
33964
  ]
33874
- }), t[34] = d, t[35] = i, t[36] = ZK) : ZK = t[36];
33875
- let QK;
33876
- t[37] !== YK || t[38] !== XK || t[39] !== ZK ? (QK = (0, import_jsx_runtime.jsxs)("div", {
33965
+ }), t[34] = d, t[35] = i, t[36] = mq) : mq = t[36];
33966
+ let hq;
33967
+ t[37] !== fq || t[38] !== pq || t[39] !== mq ? (hq = (0, import_jsx_runtime.jsxs)("div", {
33877
33968
  className: "flex gap-2",
33878
33969
  children: [
33879
- YK,
33880
- XK,
33881
- ZK
33970
+ fq,
33971
+ pq,
33972
+ mq
33882
33973
  ]
33883
- }), t[37] = YK, t[38] = XK, t[39] = ZK, t[40] = QK) : QK = t[40];
33884
- let $K;
33885
- return t[41] !== JK || t[42] !== $ || t[43] !== QK ? ($K = (0, import_jsx_runtime.jsxs)("div", {
33974
+ }), t[37] = fq, t[38] = pq, t[39] = mq, t[40] = hq) : hq = t[40];
33975
+ let gq;
33976
+ return t[41] !== dq || t[42] !== $ || t[43] !== hq ? (gq = (0, import_jsx_runtime.jsxs)("div", {
33886
33977
  className: "flex flex-col gap-2 min-w-full w-fit",
33887
33978
  children: [
33888
- JK,
33979
+ dq,
33889
33980
  $,
33890
- QK
33981
+ hq
33891
33982
  ]
33892
- }), t[41] = JK, t[42] = $, t[43] = QK, t[44] = $K) : $K = t[44], $K;
33983
+ }), t[41] = dq, t[42] = $, t[43] = hq, t[44] = gq) : gq = t[44], gq;
33893
33984
  };
33894
33985
  function lastLine(e) {
33895
33986
  var _a2, _b;
@@ -33955,7 +34046,7 @@ ${d}`,
33955
34046
  });
33956
34047
  };
33957
34048
  var InsertBreakpointContent = () => {
33958
- let e = (0, import_compiler_runtime$6.c)(1), t;
34049
+ let e = (0, import_compiler_runtime$7.c)(1), t;
33959
34050
  return e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t = (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
33960
34051
  children: [
33961
34052
  "Insert a ",
@@ -34006,9 +34097,9 @@ ${d}`,
34006
34097
  return "\u2753";
34007
34098
  }
34008
34099
  }
34009
- var import_compiler_runtime$5 = require_compiler_runtime(), METADATA_KEY = "__metadata__";
34100
+ var import_compiler_runtime$6 = require_compiler_runtime(), METADATA_KEY = "__metadata__";
34010
34101
  OutputRenderer = (0, import_react.memo)((e) => {
34011
- let t = (0, import_compiler_runtime$5.c)(54), { message: n, onRefactorWithAI: i, cellId: a, wrapText: o, metadata: s, renderFallback: c } = e, { theme: d } = useTheme(), f;
34102
+ let t = (0, import_compiler_runtime$6.c)(54), { message: n, onRefactorWithAI: i, cellId: a, wrapText: o, metadata: s, renderFallback: c } = e, { theme: d } = useTheme(), f;
34012
34103
  bb0: {
34013
34104
  let e2 = n.data;
34014
34105
  switch (n.mimetype) {
@@ -34200,7 +34291,7 @@ ${d}`,
34200
34291
  OutputRenderer.displayName = "OutputRenderer";
34201
34292
  var MimeBundleOutputRenderer = (0, import_react.memo)((e) => {
34202
34293
  var _a2;
34203
- let t = (0, import_compiler_runtime$5.c)(31), { data: n, channel: o, cellId: s } = e, c = Array.isArray(n) ? n[0] : n, { mode: d } = useAtomValue(viewStateAtom), f = d === "present" || d === "read", h = c[METADATA_KEY], _, v, y, S, w, E, O, A;
34294
+ let t = (0, import_compiler_runtime$6.c)(31), { data: n, channel: o, cellId: s } = e, c = Array.isArray(n) ? n[0] : n, { mode: d } = useAtomValue(viewStateAtom), f = d === "present" || d === "read", h = c[METADATA_KEY], _, v, y, S, w, E, O, A;
34204
34295
  if (t[0] !== f || t[1] !== s || t[2] !== o || t[3] !== h || t[4] !== c) {
34205
34296
  A = /* @__PURE__ */ Symbol.for("react.early_return_sentinel");
34206
34297
  bb0: {
@@ -34271,7 +34362,7 @@ ${d}`,
34271
34362
  });
34272
34363
  MimeBundleOutputRenderer.displayName = "MimeBundleOutputRenderer";
34273
34364
  OutputArea = import_react.memo((e) => {
34274
- let t = (0, import_compiler_runtime$5.c)(17), { output: n, cellId: i, stale: o, loading: s, allowExpand: c, forceExpand: d, className: f } = e;
34365
+ let t = (0, import_compiler_runtime$6.c)(17), { output: n, cellId: i, stale: o, loading: s, allowExpand: c, forceExpand: d, className: f } = e;
34275
34366
  if (n == null || n.channel === "output" && n.data === "") return null;
34276
34367
  let h = o ? "This output is stale" : void 0, _ = c ? ExpandableOutput : Div, v;
34277
34368
  t[0] === i ? v = t[1] : (v = CellOutputId.create(i), t[0] = i, t[1] = v);
@@ -34296,7 +34387,7 @@ ${d}`,
34296
34387
  });
34297
34388
  OutputArea.displayName = "OutputArea";
34298
34389
  var Div = import_react.forwardRef((e, t) => {
34299
- let n = (0, import_compiler_runtime$5.c)(3), i;
34390
+ let n = (0, import_compiler_runtime$6.c)(3), i;
34300
34391
  return n[0] !== e || n[1] !== t ? (i = (0, import_jsx_runtime.jsx)("div", {
34301
34392
  ref: t,
34302
34393
  ...e
@@ -34304,7 +34395,7 @@ ${d}`,
34304
34395
  });
34305
34396
  Div.displayName = "Div";
34306
34397
  var ExpandableOutput = import_react.memo((e) => {
34307
- let t = (0, import_compiler_runtime$5.c)(24), { cellId: n, children: i, forceExpand: s, ...c } = e, d = (0, import_react.useRef)(null), [f, _] = useExpandedOutput(n), v = useOverflowDetection(d), { hasFullscreen: y } = useIframeCapabilities(), S;
34398
+ let t = (0, import_compiler_runtime$6.c)(24), { cellId: n, children: i, forceExpand: s, ...c } = e, d = (0, import_react.useRef)(null), [f, _] = useExpandedOutput(n), v = useOverflowDetection(d), { hasFullscreen: y } = useIframeCapabilities(), S;
34308
34399
  t[0] === y ? S = t[1] : (S = y && (0, import_jsx_runtime.jsx)(Tooltip, {
34309
34400
  content: "Fullscreen",
34310
34401
  side: "left",
@@ -34415,8 +34506,8 @@ ${d}`,
34415
34506
  })
34416
34507
  }, t);
34417
34508
  }
34418
- var import_compiler_runtime$4 = require_compiler_runtime(), CopyButton = (e) => {
34419
- let t = (0, import_compiler_runtime$4.c)(8), { value: n } = e, i = typeof n == "string" && (n.startsWith("text/html:") || n.startsWith("image/") || n.startsWith("video/")), [o, s] = (0, import_react.useState)(false), c;
34509
+ var import_compiler_runtime$5 = require_compiler_runtime(), CopyButton = (e) => {
34510
+ let t = (0, import_compiler_runtime$5.c)(8), { value: n } = e, i = typeof n == "string" && (n.startsWith("text/html:") || n.startsWith("image/") || n.startsWith("video/")), [o, s] = (0, import_react.useState)(false), c;
34420
34511
  t[0] === n ? c = t[1] : (c = async (e2) => {
34421
34512
  e2.stopPropagation(), await copyToClipboard(n), s(true), setTimeout(() => s(false), 1e3);
34422
34513
  }, t[0] = n, t[1] = c);
@@ -34439,7 +34530,7 @@ ${d}`,
34439
34530
  children: h
34440
34531
  }), t[5] = d, t[6] = h, t[7] = _) : _ = t[7], _;
34441
34532
  }, JSONCopyButton = (e) => {
34442
- let t = (0, import_compiler_runtime$4.c)(5), n;
34533
+ let t = (0, import_compiler_runtime$5.c)(5), n;
34443
34534
  t[0] === e.value ? n = t[1] : (n = JSON.stringify(e.value, null, 2), t[0] = e.value, t[1] = n);
34444
34535
  let i;
34445
34536
  return t[2] !== e || t[3] !== n ? (i = (0, import_jsx_runtime.jsx)(CopyButton, {
@@ -34447,7 +34538,7 @@ ${d}`,
34447
34538
  value: n
34448
34539
  }), t[2] = e, t[3] = n, t[4] = i) : i = t[4], i;
34449
34540
  }, PyCopyButton = (e) => {
34450
- let t = (0, import_compiler_runtime$4.c)(5), n;
34541
+ let t = (0, import_compiler_runtime$5.c)(5), n;
34451
34542
  t[0] === e.value ? n = t[1] : (n = getCopyValue(e.value), t[0] = e.value, t[1] = n);
34452
34543
  let i;
34453
34544
  return t[2] !== e || t[3] !== n ? (i = (0, import_jsx_runtime.jsx)(CopyButton, {
@@ -34456,7 +34547,7 @@ ${d}`,
34456
34547
  }), t[2] = e, t[3] = n, t[4] = i) : i = t[4], i;
34457
34548
  };
34458
34549
  JsonOutput = (0, import_react.memo)((e) => {
34459
- let t = (0, import_compiler_runtime$4.c)(24), { data: n, format: i, name: o, valueTypes: s, className: c } = e, d = i === void 0 ? "auto" : i, f = o === void 0 ? false : o, h = s === void 0 ? "python" : s, { theme: _ } = useTheme();
34550
+ let t = (0, import_compiler_runtime$5.c)(24), { data: n, format: i, name: o, valueTypes: s, className: c } = e, d = i === void 0 ? "auto" : i, f = o === void 0 ? false : o, h = s === void 0 ? "python" : s, { theme: _ } = useTheme();
34460
34551
  d === "auto" && (d = inferBestFormat(n));
34461
34552
  let v;
34462
34553
  t[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (v = {
@@ -34516,7 +34607,7 @@ ${d}`,
34516
34607
  return typeof e == "object" && e ? "tree" : "raw";
34517
34608
  }
34518
34609
  var COLLAPSED_TEXT_LENGTH = 100, CollapsibleTextOutput = (e) => {
34519
- let t = (0, import_compiler_runtime$4.c)(11), [n, i] = (0, import_react.useState)(true);
34610
+ let t = (0, import_compiler_runtime$5.c)(11), [n, i] = (0, import_react.useState)(true);
34520
34611
  if (e.text.length <= COLLAPSED_TEXT_LENGTH) {
34521
34612
  let n2;
34522
34613
  return t[0] === e.text ? n2 = t[1] : (n2 = (0, import_jsx_runtime.jsx)("span", {
@@ -34830,10 +34921,10 @@ ${d}`,
34830
34921
  return n <= 20 ? void 0 : n >= 50 ? 5 : 10;
34831
34922
  }
34832
34923
  }
34833
- let import_compiler_runtime$3;
34834
- import_compiler_runtime$3 = require_compiler_runtime();
34924
+ let import_compiler_runtime$4;
34925
+ import_compiler_runtime$4 = require_compiler_runtime();
34835
34926
  RadioGroup = import_react.forwardRef((e, t) => {
34836
- let n = (0, import_compiler_runtime$3.c)(9), i, o;
34927
+ let n = (0, import_compiler_runtime$4.c)(9), i, o;
34837
34928
  n[0] === e ? (i = n[1], o = n[2]) : ({ className: i, ...o } = e, n[0] = e, n[1] = i, n[2] = o);
34838
34929
  let s;
34839
34930
  n[3] === i ? s = n[4] : (s = cn("grid gap-2", i), n[3] = i, n[4] = s);
@@ -34846,7 +34937,7 @@ ${d}`,
34846
34937
  });
34847
34938
  RadioGroup.displayName = Root2$1.displayName;
34848
34939
  RadioGroupItem = import_react.forwardRef((e, t) => {
34849
- let n = (0, import_compiler_runtime$3.c)(13), i, o, s;
34940
+ let n = (0, import_compiler_runtime$4.c)(13), i, o, s;
34850
34941
  n[0] === e ? (i = n[1], o = n[2], s = n[3]) : ({ className: o, children: i, ...s } = e, n[0] = e, n[1] = i, n[2] = o, n[3] = s);
34851
34942
  let c;
34852
34943
  n[4] === o ? c = n[5] : (c = cn("h-[16px] w-[16px] transition-shadow data-[state=unchecked]:shadow-xs-solid rounded-full border border-input text-primary ring-offset-background focus:outline-hidden focus:shadow-none focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:border-primary data-[state=checked]:shadow-none", o), n[4] = o, n[5] = c);
@@ -34866,6 +34957,56 @@ ${d}`,
34866
34957
  }), n[8] = s, n[9] = t, n[10] = c, n[11] = d, n[12] = f) : f = n[12], f;
34867
34958
  });
34868
34959
  RadioGroupItem.displayName = Item2.displayName;
34960
+ let import_compiler_runtime$3, switchVariants, switchThumbVariants;
34961
+ import_compiler_runtime$3 = require_compiler_runtime();
34962
+ switchVariants = cva("peer inline-flex shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-hidden focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input", {
34963
+ variants: {
34964
+ size: {
34965
+ default: "h-6 w-11 mb-1",
34966
+ sm: "h-4.5 w-8.5",
34967
+ xs: "h-4 w-7"
34968
+ }
34969
+ },
34970
+ defaultVariants: {
34971
+ size: "default"
34972
+ }
34973
+ });
34974
+ switchThumbVariants = cva("pointer-events-none block rounded-full bg-background shadow-xs ring-0 transition-transform", {
34975
+ variants: {
34976
+ size: {
34977
+ default: "h-5 w-5 data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0",
34978
+ sm: "h-3.5 w-3.5 data-[state=checked]:translate-x-4 data-[state=unchecked]:translate-x-0",
34979
+ xs: "h-3 w-3 data-[state=checked]:translate-x-3 data-[state=unchecked]:translate-x-0"
34980
+ }
34981
+ },
34982
+ defaultVariants: {
34983
+ size: "default"
34984
+ }
34985
+ });
34986
+ Switch = import_react.forwardRef((e, t) => {
34987
+ let n = (0, import_compiler_runtime$3.c)(16), i, o, s;
34988
+ n[0] === e ? (i = n[1], o = n[2], s = n[3]) : ({ className: i, size: s, ...o } = e, n[0] = e, n[1] = i, n[2] = o, n[3] = s);
34989
+ let c;
34990
+ n[4] !== i || n[5] !== s ? (c = cn(switchVariants({
34991
+ size: s
34992
+ }), i), n[4] = i, n[5] = s, n[6] = c) : c = n[6];
34993
+ let d;
34994
+ n[7] === s ? d = n[8] : (d = cn(switchThumbVariants({
34995
+ size: s
34996
+ })), n[7] = s, n[8] = d);
34997
+ let f;
34998
+ n[9] === d ? f = n[10] : (f = (0, import_jsx_runtime.jsx)(Thumb, {
34999
+ className: d
35000
+ }), n[9] = d, n[10] = f);
35001
+ let h;
35002
+ return n[11] !== o || n[12] !== t || n[13] !== c || n[14] !== f ? (h = (0, import_jsx_runtime.jsx)(Root$1, {
35003
+ className: c,
35004
+ ...o,
35005
+ ref: t,
35006
+ children: f
35007
+ }), n[11] = o, n[12] = t, n[13] = c, n[14] = f, n[15] = h) : h = n[15], h;
35008
+ });
35009
+ Switch.displayName = Root$1.displayName;
34869
35010
  var import_compiler_runtime$2 = require_compiler_runtime();
34870
35011
  Slide = (0, import_react.memo)((e) => {
34871
35012
  let t = (0, import_compiler_runtime$2.c)(6), { output: n, cellId: i, status: a } = e, o;
@@ -35042,36 +35183,48 @@ ${d}`,
35042
35183
  ]
35043
35184
  }), e[1] = n) : n = e[1], n;
35044
35185
  }, SlideConfigForm = (e) => {
35045
- var _a2;
35046
- let t = (0, import_compiler_runtime$1.c)(13), { layout: n, setLayout: i, cellId: o } = e, s = ((_a2 = n.cells.get(o)) == null ? void 0 : _a2.type) ?? "slide", c;
35047
- t[0] !== o || t[1] !== n || t[2] !== i ? (c = (e2) => {
35048
- let t2 = n.cells.get(o), a = new Map(n.cells);
35049
- a.set(o, {
35050
- ...t2,
35186
+ let t = (0, import_compiler_runtime$1.c)(29), { layout: n, setLayout: i, cellId: o } = e, s;
35187
+ t[0] !== o || t[1] !== n.cells ? (s = n.cells.get(o), t[0] = o, t[1] = n.cells, t[2] = s) : s = t[2];
35188
+ let c = s, d = (c == null ? void 0 : c.type) ?? "slide", f = (c == null ? void 0 : c.showCode) ?? false, h;
35189
+ t[3] !== o || t[4] !== c || t[5] !== n || t[6] !== i ? (h = (e2) => {
35190
+ let t2 = new Map(n.cells);
35191
+ t2.set(o, {
35192
+ ...c,
35051
35193
  type: e2
35052
35194
  }), i({
35053
35195
  ...n,
35054
- cells: a
35196
+ cells: t2
35055
35197
  });
35056
- }, t[0] = o, t[1] = n, t[2] = i, t[3] = c) : c = t[3];
35057
- let d = c, f;
35058
- t[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (f = (0, import_jsx_runtime.jsx)("span", {
35198
+ }, t[3] = o, t[4] = c, t[5] = n, t[6] = i, t[7] = h) : h = t[7];
35199
+ let _ = h, v;
35200
+ t[8] !== o || t[9] !== c || t[10] !== n || t[11] !== i ? (v = (e2) => {
35201
+ let t2 = new Map(n.cells);
35202
+ t2.set(o, {
35203
+ ...c,
35204
+ showCode: e2
35205
+ }), i({
35206
+ ...n,
35207
+ cells: t2
35208
+ });
35209
+ }, t[8] = o, t[9] = c, t[10] = n, t[11] = i, t[12] = v) : v = t[12];
35210
+ let y = v, S;
35211
+ t[13] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (S = (0, import_jsx_runtime.jsx)("span", {
35059
35212
  className: "font-semibold text-sm",
35060
35213
  children: "Slide type"
35061
- }), t[4] = f) : f = t[4];
35062
- let h;
35063
- t[5] === d ? h = t[6] : (h = (e2) => d(e2), t[5] = d, t[6] = h);
35064
- let _;
35065
- t[7] === s ? _ = t[8] : (_ = SLIDE_TYPE_OPTIONS.map((e2) => {
35066
- let { value: t2, label: n2, description: i2, Icon: o2 } = e2, c2 = s === t2;
35214
+ }), t[13] = S) : S = t[13];
35215
+ let w;
35216
+ t[14] === _ ? w = t[15] : (w = (e2) => _(e2), t[14] = _, t[15] = w);
35217
+ let E;
35218
+ t[16] === d ? E = t[17] : (E = SLIDE_TYPE_OPTIONS.map((e2) => {
35219
+ let { value: t2, label: n2, description: i2, Icon: o2 } = e2, s2 = d === t2;
35067
35220
  return (0, import_jsx_runtime.jsx)(RadioGroupItem, {
35068
35221
  value: t2,
35069
- className: cn("group h-auto w-full text-left rounded-md p-2.5 transition-colors shadow-none! border", "focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2", c2 ? "border-primary bg-primary/5" : "border-border bg-background hover:bg-accent/50 hover:border-foreground/30"),
35222
+ className: cn("group h-auto w-full text-left rounded-md p-2.5 transition-colors shadow-none! border", "focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2", s2 ? "border-primary bg-primary/5" : "border-border bg-background hover:bg-accent/50 hover:border-foreground/30"),
35070
35223
  children: (0, import_jsx_runtime.jsxs)("div", {
35071
35224
  className: "flex items-start gap-2.5",
35072
35225
  children: [
35073
35226
  (0, import_jsx_runtime.jsx)("span", {
35074
- className: cn("mt-0.5 flex h-6 w-6 shrink-0 items-center justify-center rounded", c2 ? "bg-primary/10 text-primary" : "bg-muted text-muted-foreground group-hover:text-foreground"),
35227
+ className: cn("mt-0.5 flex h-6 w-6 shrink-0 items-center justify-center rounded", s2 ? "bg-primary/10 text-primary" : "bg-muted text-muted-foreground group-hover:text-foreground"),
35075
35228
  children: (0, import_jsx_runtime.jsx)(o2, {
35076
35229
  className: "h-3.5 w-3.5"
35077
35230
  })
@@ -35079,7 +35232,7 @@ ${d}`,
35079
35232
  (0, import_jsx_runtime.jsxs)("div", {
35080
35233
  children: [
35081
35234
  (0, import_jsx_runtime.jsx)("p", {
35082
- className: cn("text-sm font-medium leading-tight", c2 ? "text-primary" : "text-foreground"),
35235
+ className: cn("text-sm font-medium leading-tight", s2 ? "text-primary" : "text-foreground"),
35083
35236
  children: n2
35084
35237
  }),
35085
35238
  (0, import_jsx_runtime.jsx)("p", {
@@ -35091,21 +35244,44 @@ ${d}`,
35091
35244
  ]
35092
35245
  })
35093
35246
  }, t2);
35094
- }), t[7] = s, t[8] = _);
35095
- let v;
35096
- return t[9] !== s || t[10] !== h || t[11] !== _ ? (v = (0, import_jsx_runtime.jsxs)("div", {
35097
- className: "flex flex-col gap-3",
35247
+ }), t[16] = d, t[17] = E);
35248
+ let O;
35249
+ t[18] !== d || t[19] !== w || t[20] !== E ? (O = (0, import_jsx_runtime.jsx)(RadioGroup, {
35250
+ "aria-label": "Slide type",
35251
+ value: d,
35252
+ onValueChange: w,
35253
+ className: "flex flex-col gap-1.5",
35254
+ children: E
35255
+ }), t[18] = d, t[19] = w, t[20] = E, t[21] = O) : O = t[21];
35256
+ let A;
35257
+ t[22] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (A = (0, import_jsx_runtime.jsx)("label", {
35258
+ htmlFor: "slide-show-code",
35259
+ className: "text-sm",
35260
+ children: "Show code"
35261
+ }), t[22] = A) : A = t[22];
35262
+ let M;
35263
+ t[23] !== y || t[24] !== f ? (M = (0, import_jsx_runtime.jsxs)("div", {
35264
+ className: "flex items-center gap-2",
35098
35265
  children: [
35099
- f,
35100
- (0, import_jsx_runtime.jsx)(RadioGroup, {
35101
- "aria-label": "Slide type",
35102
- value: s,
35103
- onValueChange: h,
35104
- className: "flex flex-col gap-1.5",
35105
- children: _
35266
+ A,
35267
+ (0, import_jsx_runtime.jsx)(Switch, {
35268
+ id: "slide-show-code",
35269
+ "aria-label": "Show code",
35270
+ checked: f,
35271
+ onCheckedChange: y,
35272
+ size: "sm"
35106
35273
  })
35107
35274
  ]
35108
- }), t[9] = s, t[10] = h, t[11] = _, t[12] = v) : v = t[12], v;
35275
+ }), t[23] = y, t[24] = f, t[25] = M) : M = t[25];
35276
+ let I;
35277
+ return t[26] !== O || t[27] !== M ? (I = (0, import_jsx_runtime.jsxs)("div", {
35278
+ className: "flex flex-col gap-3",
35279
+ children: [
35280
+ S,
35281
+ O,
35282
+ M
35283
+ ]
35284
+ }), t[26] = O, t[27] = M, t[28] = I) : I = t[28], I;
35109
35285
  }, DeckConfigForm = (e) => {
35110
35286
  var _a2, _b;
35111
35287
  let t = (0, import_compiler_runtime$1.c)(18), { layout: n, setLayout: i } = e, a = ((_a2 = n.deck) == null ? void 0 : _a2.transition) ?? "slide", o;
@@ -35281,7 +35457,7 @@ ${d}`,
35281
35457
  return Logger.warn("Failed to get version from mount config"), null;
35282
35458
  }
35283
35459
  }
35284
- marimoVersionAtom = atom(getVersionFromMountConfig() || "0.23.10-dev25");
35460
+ marimoVersionAtom = atom(getVersionFromMountConfig() || "0.23.10-dev26");
35285
35461
  showCodeInRunModeAtom = atom(true);
35286
35462
  atom(null);
35287
35463
  var import_compiler_runtime = require_compiler_runtime();
@@ -35309,118 +35485,119 @@ ${d}`,
35309
35485
  }
35310
35486
  });
35311
35487
  export {
35312
- PanelGroup as $,
35313
- Code as $t,
35314
- ContextMenuTrigger as A,
35315
- dateToLocalISOTime as At,
35316
- CommandList as B,
35317
- RenderTextWithLinks as Bt,
35318
- prettifyRowColumnCount as C,
35319
- TOO_MANY_ROWS as Ct,
35320
- ContextMenuContent as D,
35321
- Maps as Dt,
35322
- ContextMenu as E,
35323
- isNullishFilter as Et,
35324
- ComboboxItem as F,
35325
- ChartErrorState as Ft,
35326
- contextAwarePanelOpen as G,
35327
- $fae977aafc393c5c$export$6b862160d295c8e as Gt,
35328
- smartMatch as H,
35329
- HtmlOutput as Ht,
35330
- Command as I,
35331
- ChartInfoState as It,
35332
- isCellAwareAtom as J,
35333
- Funnel as Jt,
35334
- contextAwarePanelOwner as K,
35335
- TextWrap as Kt,
35336
- CommandEmpty as L,
35337
- ChartLoadingState as Lt,
35338
- DatePicker as M,
35339
- TabsContent as Mt,
35340
- DateRangePicker as N,
35341
- TabsList as Nt,
35342
- ContextMenuItem as O,
35343
- dateToLocalISODate as Ot,
35344
- Combobox as P,
35345
- TabsTrigger as Pt,
35346
- Panel as Q,
35347
- Download as Qt,
35348
- CommandInput as R,
35349
- LazyVegaEmbed as Rt,
35350
- downloadSizeLimitAtom as S,
35351
- SELECT_COLUMN_ID as St,
35352
- getColumnCountForDisplay as T,
35353
- getMimeValues as Tt,
35354
- ContextAwarePanelItem as U,
35355
- EmotionCacheProvider as Ut,
35356
- CommandSeparator as V,
35357
- Kbd as Vt,
35358
- PANEL_TYPES as W,
35359
- $fae977aafc393c5c$export$588937bcd60ade55 as Wt,
35360
- slotsController as X,
35361
- Expand as Xt,
35362
- SlotNames as Y,
35363
- EyeOff as Yt,
35364
- Toggle as Z,
35365
- Ellipsis as Zt,
35366
- downloadBlob as _,
35488
+ Panel as $,
35489
+ Download as $t,
35490
+ ContextMenuSeparator as A,
35491
+ dateToLocalISODateTime as At,
35492
+ CommandItem as B,
35493
+ useOverflowDetection as Bt,
35494
+ downloadSizeLimitAtom as C,
35495
+ SELECT_COLUMN_ID as Ct,
35496
+ ContextMenu as D,
35497
+ isNullishFilter as Dt,
35498
+ getColumnCountForDisplay as E,
35499
+ getMimeValues as Et,
35500
+ Combobox as F,
35501
+ TabsTrigger as Ft,
35502
+ PANEL_TYPES as G,
35503
+ $fae977aafc393c5c$export$588937bcd60ade55 as Gt,
35504
+ CommandSeparator as H,
35505
+ Kbd as Ht,
35506
+ ComboboxItem as I,
35507
+ ChartErrorState as It,
35508
+ contextAwarePanelType as J,
35509
+ GripHorizontal as Jt,
35510
+ contextAwarePanelOpen as K,
35511
+ $fae977aafc393c5c$export$6b862160d295c8e as Kt,
35512
+ Command as L,
35513
+ ChartInfoState as Lt,
35514
+ useInternalStateWithSync as M,
35515
+ Tabs as Mt,
35516
+ DatePicker as N,
35517
+ TabsContent as Nt,
35518
+ ContextMenuContent as O,
35519
+ Maps as Ot,
35520
+ DateRangePicker as P,
35521
+ TabsList as Pt,
35522
+ Toggle as Q,
35523
+ Ellipsis as Qt,
35524
+ CommandEmpty as R,
35525
+ ChartLoadingState as Rt,
35526
+ Filenames as S,
35527
+ INDEX_COLUMN_NAME as St,
35528
+ prettifyRowCount as T,
35529
+ toFieldTypes as Tt,
35530
+ smartMatch as U,
35531
+ HtmlOutput as Ut,
35532
+ CommandList as V,
35533
+ RenderTextWithLinks as Vt,
35534
+ ContextAwarePanelItem as W,
35535
+ EmotionCacheProvider as Wt,
35536
+ SlotNames as X,
35537
+ EyeOff as Xt,
35538
+ isCellAwareAtom as Y,
35539
+ Funnel as Yt,
35540
+ slotsController as Z,
35541
+ Expand as Zt,
35542
+ ADD_PRINTING_CLASS as _,
35367
35543
  __tla,
35368
- usePrevious as _t,
35544
+ useIntersectionObserver as _t,
35369
35545
  DEFAULT_SLIDE_TYPE as a,
35370
- ArrowDownWideNarrow as an,
35371
- TableCell as at,
35372
- Progress as b,
35373
- loadTableData as bt,
35546
+ ChevronLeft as an,
35547
+ TableBody as at,
35548
+ downloadHTMLAsImage as b,
35549
+ loadTableAndRawData as bt,
35374
35550
  Slide as c,
35375
- TableRow as ct,
35376
- JsonOutput as d,
35377
- inferFieldTypes as dt,
35378
- ChevronsUpDown as en,
35379
- PanelResizeHandle as et,
35380
- OutputArea as f,
35381
- renderCellValue as ft,
35382
- ADD_PRINTING_CLASS as g,
35383
- useIntersectionObserver as gt,
35384
- InstallPackageButton as h,
35385
- DelayMount as ht,
35551
+ TableHeader as ct,
35552
+ RadioGroupItem as d,
35553
+ generateColumns as dt,
35554
+ Code as en,
35555
+ PanelGroup as et,
35556
+ JsonOutput as f,
35557
+ inferFieldTypes as ft,
35558
+ InstallPackageButton as g,
35559
+ DelayMount as gt,
35560
+ DataTable as h,
35561
+ ColumnChartSpecModel as ht,
35386
35562
  DEFAULT_DECK_TRANSITION as i,
35387
- ChevronLeft as in,
35388
- TableBody as it,
35389
- useInternalStateWithSync as j,
35390
- Tabs as jt,
35391
- ContextMenuSeparator as k,
35392
- dateToLocalISODateTime as kt,
35393
- RadioGroup as l,
35394
- NAMELESS_COLUMN_PREFIX as lt,
35395
- DataTable as m,
35396
- ColumnChartSpecModel as mt,
35563
+ ChevronsDownUp as in,
35564
+ Table as it,
35565
+ ContextMenuTrigger as j,
35566
+ dateToLocalISOTime as jt,
35567
+ ContextMenuItem as k,
35568
+ dateToLocalISODate as kt,
35569
+ Switch as l,
35570
+ TableRow as lt,
35571
+ OutputRenderer as m,
35572
+ ColumnChartContext as mt,
35397
35573
  marimoVersionAtom as n,
35398
- ChevronsLeft as nn,
35399
- Provider$1 as nt,
35574
+ ChevronsRight as nn,
35575
+ Fill as nt,
35400
35576
  SLIDE_TYPE_OPTIONS_BY_VALUE as o,
35401
- TableHead as ot,
35402
- OutputRenderer as p,
35403
- ColumnChartContext as pt,
35404
- contextAwarePanelType as q,
35405
- GripHorizontal as qt,
35577
+ ArrowDownWideNarrow as on,
35578
+ TableCell as ot,
35579
+ OutputArea as p,
35580
+ renderCellValue as pt,
35581
+ contextAwarePanelOwner as q,
35582
+ TextWrap as qt,
35406
35583
  showCodeInRunModeAtom as r,
35407
- ChevronsDownUp as rn,
35408
- Table as rt,
35584
+ ChevronsLeft as rn,
35585
+ Provider$1 as rt,
35409
35586
  SlideSidebar as s,
35410
- TableHeader as st,
35587
+ TableHead as st,
35411
35588
  useNotebookCodeAvailable as t,
35412
- ChevronsRight as tn,
35413
- Fill as tt,
35414
- RadioGroupItem as u,
35415
- generateColumns as ut,
35416
- downloadByURL as v,
35417
- getPageIndexForRow as vt,
35418
- prettifyRowCount as w,
35419
- toFieldTypes as wt,
35420
- Filenames as x,
35421
- INDEX_COLUMN_NAME as xt,
35422
- downloadHTMLAsImage as y,
35423
- loadTableAndRawData as yt,
35424
- CommandItem as z,
35425
- useOverflowDetection as zt
35589
+ ChevronsUpDown as tn,
35590
+ PanelResizeHandle as tt,
35591
+ RadioGroup as u,
35592
+ NAMELESS_COLUMN_PREFIX as ut,
35593
+ downloadBlob as v,
35594
+ usePrevious as vt,
35595
+ prettifyRowColumnCount as w,
35596
+ TOO_MANY_ROWS as wt,
35597
+ Progress as x,
35598
+ loadTableData as xt,
35599
+ downloadByURL as y,
35600
+ getPageIndexForRow as yt,
35601
+ CommandInput as z,
35602
+ LazyVegaEmbed as zt
35426
35603
  };