@marimo-team/islands 0.23.9-dev33 → 0.23.9-dev36

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/dist/{ConnectedDataExplorerComponent-MJy-Ll40.js → ConnectedDataExplorerComponent-BQBH2XAd.js} +4 -4
  2. package/dist/assets/__vite-browser-external-TaZstNaH.js +1 -0
  3. package/dist/assets/{worker-BoAkAmaG.js → worker-CZaLU0G8.js} +2 -2
  4. package/dist/{chat-ui-CpX2YcGy.js → chat-ui-IyGT4sju.js} +6 -6
  5. package/dist/{code-visibility-Buv2v2Zt.js → code-visibility-DP2xSfeW.js} +525 -410
  6. package/dist/{formats-BIKFEOlR.js → formats-B7_JC7Ba.js} +1 -1
  7. package/dist/{glide-data-editor-DjQd6fKp.js → glide-data-editor-BmM4MCbn.js} +2 -2
  8. package/dist/{html-to-image-QL7QveRm.js → html-to-image-CGbhD84m.js} +5 -5
  9. package/dist/{input-Dh0iMVFM.js → input-Ld3tUgdF.js} +1 -1
  10. package/dist/main.js +18 -18
  11. package/dist/{mermaid-CAibas-0.js → mermaid-BrUZ2PpQ.js} +2 -2
  12. package/dist/{process-output-C657UH7t.js → process-output-B8Cqiywi.js} +1 -1
  13. package/dist/{reveal-component-BAHoXFCZ.js → reveal-component-B7RA3HR2.js} +5 -5
  14. package/dist/{spec-BKuFJIDz.js → spec-nqxKYdNH.js} +1 -1
  15. package/dist/{toDate-BeKbrOvs.js → toDate-DLCQY32Y.js} +1 -1
  16. package/dist/{useAsyncData-yp6n17kh.js → useAsyncData-3f5sSgzf.js} +1 -1
  17. package/dist/{useDeepCompareMemoize-DJvAHUIC.js → useDeepCompareMemoize-Cu37j2QD.js} +1 -1
  18. package/dist/{useLifecycle-CsYXf0Ln.js → useLifecycle-DVkMZA_I.js} +1 -1
  19. package/dist/{useTheme-CK_R9Mn8.js → useTheme-DNcgchnA.js} +11 -2
  20. package/dist/{vega-component-ikfBfkZO.js → vega-component-7odw1pLZ.js} +5 -5
  21. package/package.json +1 -1
  22. package/src/components/app-config/ai-config.tsx +74 -15
  23. package/src/components/chat/chat-panel.tsx +2 -2
  24. package/src/components/data-table/__tests__/header-items.test.tsx +220 -10
  25. package/src/components/data-table/column-header.tsx +17 -12
  26. package/src/components/data-table/header-items.tsx +40 -16
  27. package/src/components/editor/actions/useCellActionButton.tsx +3 -3
  28. package/src/components/editor/cell/code/cell-editor.tsx +7 -4
  29. package/src/components/editor/chrome/types.ts +13 -6
  30. package/src/components/editor/chrome/wrapper/app-chrome.tsx +6 -4
  31. package/src/components/editor/chrome/wrapper/footer-items/ai-status.tsx +10 -1
  32. package/src/components/editor/chrome/wrapper/sidebar.tsx +7 -5
  33. package/src/components/editor/errors/auto-fix.tsx +3 -3
  34. package/src/components/editor/navigation/__tests__/navigation.test.ts +15 -0
  35. package/src/components/editor/navigation/navigation.ts +5 -0
  36. package/src/components/editor/output/MarimoTracebackOutput.tsx +4 -3
  37. package/src/components/editor/renderers/cell-array.tsx +27 -24
  38. package/src/core/config/__tests__/config-schema.test.ts +2 -0
  39. package/src/core/config/config-schema.ts +1 -0
  40. package/src/core/config/config.ts +16 -0
  41. package/dist/assets/__vite-browser-external-BBEFRPue.js +0 -1
@@ -6,14 +6,14 @@ import { _ as Logger, c as Objects, g as cn, h as Events, m as useComposedRefs,
6
6
  import { t as require_react } from "./react-DA-nE2FX.js";
7
7
  import { t as require_compiler_runtime } from "./compiler-runtime-CEbnTgxf.js";
8
8
  import { n as Copy, r as toast, t as copyToClipboard } from "./copy-BuQpJEzp.js";
9
- import { $ as useCellActions, $t as getTracebackInfo, A as ChevronRightIcon, An as Minus, C as AccordionContent, En as Trash2, Ft as jotaiJsonStorage, Hn as esm_default, I as base64ToUint8Array, In as ExternalLink, Jt as useRequestClient, Kt as getRequestClient, Lt as PluralWord, M as PinLeftIcon, Mt as useChromeActions, N as PinRightIcon, Nn as Info, O as CheckIcon, Pn as FileText, Pt as adaptForLocalStorage, Qt as extractAllTracebackInfo, R as extractBase64FromDataURL, S as Accordion, St as Checkbox, T as AccordionTrigger, Tn as Wrench, Un as import_lib, V as renderHTML, Vn as Braces, Y as notebookAtom, Zt as elementContainsMarimoCellFile, _n as atomWithStorage, _t as getCellDomProps, at as AnsiUp, bn as Close$1, c as Popover, cn as SCRATCH_CELL_ID, ct as kioskModeAtom, d as PopoverTrigger, dt as outputIsLoading, et as useCellIds, g as getDatasourceContext, gt as DATA_CELL_ID, hn as jsonToTSV, ht as sanitizeHtml, j as DotFilledIcon, jn as LoaderCircle, kn as NotebookPen, kt as goToCellLine, l as PopoverClose, lt as useInstallAllowed, m as useExpandedOutput, mn as jsonToMarkdown, n as Spinner, nn as filenameAtom, on as CellOutputId, pn as jsonParseWithSpecialChar, q as getCellEditorView, r as MarkdownRenderer, sn as HTMLCellId, t as toPng, tt as useCellNames, u as PopoverContent, ut as viewStateAtom, vt as displayCellName, w as AccordionItem, z as isDataURLString, zn as CircleX, zt as DATA_TYPE_ICON, __tla as __tla_0 } from "./html-to-image-QL7QveRm.js";
9
+ import { $ as useCellActions, $t as getTracebackInfo, A as ChevronRightIcon, An as Minus, C as AccordionContent, En as Trash2, Ft as jotaiJsonStorage, Hn as esm_default, I as base64ToUint8Array, In as ExternalLink, Jt as useRequestClient, Kt as getRequestClient, Lt as PluralWord, M as PinLeftIcon, Mt as useChromeActions, N as PinRightIcon, Nn as Info, O as CheckIcon, Pn as FileText, Pt as adaptForLocalStorage, Qt as extractAllTracebackInfo, R as extractBase64FromDataURL, S as Accordion, St as Checkbox, T as AccordionTrigger, Tn as Wrench, Un as import_lib, V as renderHTML, Vn as Braces, Y as notebookAtom, Zt as elementContainsMarimoCellFile, _n as atomWithStorage, _t as getCellDomProps, at as AnsiUp, bn as Close$1, c as Popover, cn as SCRATCH_CELL_ID, ct as kioskModeAtom, d as PopoverTrigger, dt as outputIsLoading, et as useCellIds, g as getDatasourceContext, gt as DATA_CELL_ID, hn as jsonToTSV, ht as sanitizeHtml, j as DotFilledIcon, jn as LoaderCircle, kn as NotebookPen, kt as goToCellLine, l as PopoverClose, lt as useInstallAllowed, m as useExpandedOutput, mn as jsonToMarkdown, n as Spinner, nn as filenameAtom, on as CellOutputId, pn as jsonParseWithSpecialChar, q as getCellEditorView, r as MarkdownRenderer, sn as HTMLCellId, t as toPng, tt as useCellNames, u as PopoverContent, ut as viewStateAtom, vt as displayCellName, w as AccordionItem, z as isDataURLString, zn as CircleX, zt as DATA_TYPE_ICON, __tla as __tla_0 } from "./html-to-image-CGbhD84m.js";
10
10
  import { o as useSize, u as createLucideIcon } from "./dist-C1BYNeCR.js";
11
- import { c as Calendar, i as createReducerAndAtoms, r as Badge } from "./useLifecycle-CsYXf0Ln.js";
11
+ import { c as Calendar, i as createReducerAndAtoms, r as Badge } from "./useLifecycle-DVkMZA_I.js";
12
12
  import { a as ListFilter, i as Table$1, n as $fb18d541ea1ad717$export$ad991b66133851cf, o as ChartPie, r as $5a387cc49350e6db$export$722debc0e56fea39, t as $896ba0a80a8f4d36$export$85fd5fdf27bacc79 } from "./useDateFormatter-BA4FCquG.js";
13
13
  import { t as Check } from "./check-DTbrK0zt.js";
14
14
  import { C as $a916eb452884faea$export$b7a616150fdb9f44, D as $b5e257d569688ac6$export$535bd6ca7f90a273, F as X, L as ChevronDown, M as usePrevious$1, N as useDirection, S as logNever, T as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7, _ as menuItemVariants, b as menuSubTriggerVariants, f as selectStyles, g as menuControlVariants, h as menuControlCheckVariants, i as SelectContent, l as SelectTrigger, m as menuContentCommon, o as SelectItem, p as MENU_ITEM_DISABLED, r as Select, t as Strings, u as SelectValue, v as menuLabelVariants, w as $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5, y as menuSeparatorVariants } from "./strings-Bu3vlb6W.js";
15
- import { $ as $e5be200c675c3b3a$export$aca958c65c314e6c, $t as Portal, A as $d2b4bc8c273e7be6$export$24d547caef80ccd1, At as $c87311424ea30a05$export$fedb369cb70207f1, B as $64fa3d84918910a7$export$c62b8e45d58ddad9, Bt as $431fbd86ca7dc216$export$f21a1ffae260145a, C as $a049562f99e7db0e$export$eb2fcfdbd7ba97d4, Ct as $8ae05eaa5c114e9c$export$7f54fc3180508a52, D as $ee014567cb39d3f0$export$ff05c3ac10437e03, Dt as $c87311424ea30a05$export$78551043582a6a98, E as $ee014567cb39d3f0$export$f551688fc98f2e09, Et as $c87311424ea30a05$export$6446a186d09e379e, F as $64fa3d84918910a7$export$2881499e37b75b9a, Ft as $d4ee10de306f2510$export$b4f377a2b6254582, G as marked, Gt as Anchor2, H as $64fa3d84918910a7$export$ef03459518577ad4, Ht as $bdb11010cef70236$export$b4cc09c592e8fdb8, I as $64fa3d84918910a7$export$29f1550f4b0d4415, It as $d4ee10de306f2510$export$cd4e5573fbe2b576, J as $d2e8511e6f209edf$export$e908e06f4b8e3402, Jt as Content2$1, Kt as Arrow2, L as $64fa3d84918910a7$export$4d86445c2cf5e3, Lt as $d4ee10de306f2510$export$e58f029f0fbfdb29, M as $01b77f81d0f07f68$export$75b6ee27786ba447, Mt as $65484d02dcb7eb3e$export$457c3d6518dd4c6f, N as $01b77f81d0f07f68$export$b04be29aa201d4f5, Nt as $3ef42575df84b30b$export$9d1611c77c2fe928, O as $514c0188e459b4c0$export$5f1af8db9871e1d6, Ot as $c87311424ea30a05$export$9ac100e40613ea10, P as $f39a9eba43920ace$export$b5d7cc18bb8d2b59, Pt as $d4ee10de306f2510$export$4282f70798064fe0, Q as $e5be200c675c3b3a$export$a763b9476acd3eb, Qt as Label$1, R as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8, Rt as $f4e2df6bd15f8569$export$98658e8c59125e6a, S as $3985021b0ad6602f$export$f5b8910cec6cf069, St as $e9faafb641e167db$export$90fc3a17d93f704c, T as $d3e0e05bdfcf66bd$export$c24727297075ec6a, Tt as $313b98861ee5dd6c$export$d6875122194c7b44, U as $64fa3d84918910a7$export$fabf2dc03a41866e, Ut as $bdb11010cef70236$export$f680877a34711e37, V as $64fa3d84918910a7$export$df3a06d6289f983e, Vt as $ff5963eb1fccf552$export$e08e3b67e392101e, Wt as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, X as $e93e671b31057976$export$b8473d3665f3a75a, Xt as Item2$2, Y as $2baaea4c71418dea$export$294aa081a6c6f55d, Yt as Group, Z as $e5be200c675c3b3a$export$75ee7c75d68f5b0e, Zt as ItemIndicator, _ as DropdownMenuSub, _t as $9446cca9a3875146$export$7d15b64cf5a3a4c4, a as NumberField, an as SubContent, at as $6c7bd7858deea686$export$cd11ab140839f11d, b as DropdownMenuTrigger, bt as $b4b717babfbb907b$export$bebd5a1431fec25d, c as prettyNumber, cn as Item, ct as $6db58dc88e78b024$export$2f817fcdc4b89ae0, d as DropdownMenuContent, dn as Search, dt as $9ab94262bd0047c7$export$420e68273165f4ec, en as RadioGroup$2, et as $e5be200c675c3b3a$export$dad6ae84456c676a, fn as Circle, ft as $3ad3f6e1647bc98d$export$80f3e147d781571c, g as DropdownMenuSeparator, gt as $ae1eeba8b9eafd08$export$5165eccb35aaadb5, h as DropdownMenuPortal, ht as _class_private_field_init, in as Sub, j as $d2b4bc8c273e7be6$export$353f5b6fc5456de1, jt as $7215afc6de606d6b$export$de79e2c695e052f3, k as $514c0188e459b4c0$export$9afb8bc826b033ea, kt as $c87311424ea30a05$export$a11b0059900ceec8, l as prettyScientificNumber, ln as Root$2, lt as $5b160d28a433310d$export$c17fa47878dc55b6, m as DropdownMenuLabel, mt as $f6c31cce2adf654f$export$45712eceda6fad21, nn as Root3, nt as $319e236875307eab$export$a9b970dcc4ae71a9, o as maxFractionalDigits, on as SubTrigger, ot as $fca6afa0e843324b$export$87b761675e8eaa10, p as DropdownMenuItem, pn as ChevronRight, pt as $507fabe10e71c6fb$export$630ff653c5ada6a9, qt as CheckboxItem, r as Input, rn as Separator$1, rt as $f7dceffc5ad7768b$export$4e328f61c538687f, s as prettyEngineeringNumber, sn as createMenuScope, st as $fca6afa0e843324b$export$f12b703ca79dfbb1, tn as RadioItem, tt as $e5be200c675c3b3a$export$fc1a364ae1f3ff10, u as DropdownMenu, un as createRovingFocusGroupScope, ut as $6179b936705e76d3$export$ae780daf29e6d456, v as DropdownMenuSubContent, vt as $458b0a5536c1a7cf$export$40bfa8c7b0832715, w as $a049562f99e7db0e$export$f9c6924e160136d1, wt as $df56164dff5785e2$export$4338b53315abf666, x as $3985021b0ad6602f$export$37fb8590cf2c088c, xt as $99facab73266f662$export$5add1d006293d136, y as DropdownMenuSubTrigger, yt as $b4b717babfbb907b$export$4c063cf1350e6fed, z as $64fa3d84918910a7$export$c245e6201fed2f75, zt as $431fbd86ca7dc216$export$b204af158042fbac } from "./input-Dh0iMVFM.js";
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-BeKbrOvs.js";
15
+ import { $ as $e5be200c675c3b3a$export$aca958c65c314e6c, $t as Portal, A as $d2b4bc8c273e7be6$export$24d547caef80ccd1, At as $c87311424ea30a05$export$fedb369cb70207f1, B as $64fa3d84918910a7$export$c62b8e45d58ddad9, Bt as $431fbd86ca7dc216$export$f21a1ffae260145a, C as $a049562f99e7db0e$export$eb2fcfdbd7ba97d4, Ct as $8ae05eaa5c114e9c$export$7f54fc3180508a52, D as $ee014567cb39d3f0$export$ff05c3ac10437e03, Dt as $c87311424ea30a05$export$78551043582a6a98, E as $ee014567cb39d3f0$export$f551688fc98f2e09, Et as $c87311424ea30a05$export$6446a186d09e379e, F as $64fa3d84918910a7$export$2881499e37b75b9a, Ft as $d4ee10de306f2510$export$b4f377a2b6254582, G as marked, Gt as Anchor2, H as $64fa3d84918910a7$export$ef03459518577ad4, Ht as $bdb11010cef70236$export$b4cc09c592e8fdb8, I as $64fa3d84918910a7$export$29f1550f4b0d4415, It as $d4ee10de306f2510$export$cd4e5573fbe2b576, J as $d2e8511e6f209edf$export$e908e06f4b8e3402, Jt as Content2$1, Kt as Arrow2, L as $64fa3d84918910a7$export$4d86445c2cf5e3, Lt as $d4ee10de306f2510$export$e58f029f0fbfdb29, M as $01b77f81d0f07f68$export$75b6ee27786ba447, Mt as $65484d02dcb7eb3e$export$457c3d6518dd4c6f, N as $01b77f81d0f07f68$export$b04be29aa201d4f5, Nt as $3ef42575df84b30b$export$9d1611c77c2fe928, O as $514c0188e459b4c0$export$5f1af8db9871e1d6, Ot as $c87311424ea30a05$export$9ac100e40613ea10, P as $f39a9eba43920ace$export$b5d7cc18bb8d2b59, Pt as $d4ee10de306f2510$export$4282f70798064fe0, Q as $e5be200c675c3b3a$export$a763b9476acd3eb, Qt as Label$1, R as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8, Rt as $f4e2df6bd15f8569$export$98658e8c59125e6a, S as $3985021b0ad6602f$export$f5b8910cec6cf069, St as $e9faafb641e167db$export$90fc3a17d93f704c, T as $d3e0e05bdfcf66bd$export$c24727297075ec6a, Tt as $313b98861ee5dd6c$export$d6875122194c7b44, U as $64fa3d84918910a7$export$fabf2dc03a41866e, Ut as $bdb11010cef70236$export$f680877a34711e37, V as $64fa3d84918910a7$export$df3a06d6289f983e, Vt as $ff5963eb1fccf552$export$e08e3b67e392101e, Wt as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, X as $e93e671b31057976$export$b8473d3665f3a75a, Xt as Item2$2, Y as $2baaea4c71418dea$export$294aa081a6c6f55d, Yt as Group, Z as $e5be200c675c3b3a$export$75ee7c75d68f5b0e, Zt as ItemIndicator, _ as DropdownMenuSub, _t as $9446cca9a3875146$export$7d15b64cf5a3a4c4, a as NumberField, an as SubContent, at as $6c7bd7858deea686$export$cd11ab140839f11d, b as DropdownMenuTrigger, bt as $b4b717babfbb907b$export$bebd5a1431fec25d, c as prettyNumber, cn as Item, ct as $6db58dc88e78b024$export$2f817fcdc4b89ae0, d as DropdownMenuContent, dn as Search, dt as $9ab94262bd0047c7$export$420e68273165f4ec, en as RadioGroup$2, et as $e5be200c675c3b3a$export$dad6ae84456c676a, fn as Circle, ft as $3ad3f6e1647bc98d$export$80f3e147d781571c, g as DropdownMenuSeparator, gt as $ae1eeba8b9eafd08$export$5165eccb35aaadb5, h as DropdownMenuPortal, ht as _class_private_field_init, in as Sub, j as $d2b4bc8c273e7be6$export$353f5b6fc5456de1, jt as $7215afc6de606d6b$export$de79e2c695e052f3, k as $514c0188e459b4c0$export$9afb8bc826b033ea, kt as $c87311424ea30a05$export$a11b0059900ceec8, l as prettyScientificNumber, ln as Root$2, lt as $5b160d28a433310d$export$c17fa47878dc55b6, m as DropdownMenuLabel, mt as $f6c31cce2adf654f$export$45712eceda6fad21, nn as Root3, nt as $319e236875307eab$export$a9b970dcc4ae71a9, o as maxFractionalDigits, on as SubTrigger, ot as $fca6afa0e843324b$export$87b761675e8eaa10, p as DropdownMenuItem, pn as ChevronRight, pt as $507fabe10e71c6fb$export$630ff653c5ada6a9, qt as CheckboxItem, r as Input, rn as Separator$1, rt as $f7dceffc5ad7768b$export$4e328f61c538687f, s as prettyEngineeringNumber, sn as createMenuScope, st as $fca6afa0e843324b$export$f12b703ca79dfbb1, tn as RadioItem, tt as $e5be200c675c3b3a$export$fc1a364ae1f3ff10, u as DropdownMenu, un as createRovingFocusGroupScope, ut as $6179b936705e76d3$export$ae780daf29e6d456, v as DropdownMenuSubContent, vt as $458b0a5536c1a7cf$export$40bfa8c7b0832715, w as $a049562f99e7db0e$export$f9c6924e160136d1, wt as $df56164dff5785e2$export$4338b53315abf666, x as $3985021b0ad6602f$export$37fb8590cf2c088c, xt as $99facab73266f662$export$5add1d006293d136, y as DropdownMenuSubTrigger, yt as $b4b717babfbb907b$export$4c063cf1350e6fed, z as $64fa3d84918910a7$export$c245e6201fed2f75, zt as $431fbd86ca7dc216$export$b204af158042fbac } from "./input-Ld3tUgdF.js";
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-DLCQY32Y.js";
17
17
  import { r as Plus, t as ErrorBoundary } from "./ErrorBoundary-rULOrC_p.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";
@@ -23,18 +23,18 @@ import { a as Content$1, c as Root$3, i as prettyError, n as ErrorBanner, o as O
23
23
  import { t as Tooltip } from "./tooltip-C5FYOpQc.js";
24
24
  import { f as CopyClipboardIcon, t as _extends } from "./extends-BgdxCfYu.js";
25
25
  import { r as KnownQueryParams } from "./constants-T20xxyNf.js";
26
- import { C as getBuildingBlocks, S as buildStore, T as useEvent_default, _ as useAtomValue, b as atom, f as useJotaiEffect, g as useAtom, h as Provider, n as useTheme, r as aiEnabledAtom, s as resolvedMarimoConfigAtom, v as useSetAtom, w as dequal, y as useStore } from "./useTheme-CK_R9Mn8.js";
26
+ import { C as getBuildingBlocks, S as buildStore, T as useEvent_default, _ as useAtomValue, b as atom, f as useJotaiEffect, g as useAtom, h as Provider, n as useTheme, r as aiFeaturesEnabledAtom, s as resolvedMarimoConfigAtom, v as useSetAtom, w as dequal, y as useStore } from "./useTheme-DNcgchnA.js";
27
27
  import { Z as EditorView } from "./dist-DNdhYsgW.js";
28
28
  import { t as invariant } from "./invariant-wRzNXIsJ.js";
29
29
  import { c as uniqueBy, t as Arrays } from "./arrays-sEtDRoG4.js";
30
30
  import { n as once, t as memoizeLastValue } from "./once-DPuqGUeo.js";
31
31
  import { a as parser } from "./dist-BotSqB48.js";
32
- import { a as isValid, i as AlertTitle, n as Alert, t as arrow } from "./formats-BIKFEOlR.js";
32
+ import { a as isValid, i as AlertTitle, n as Alert, t as arrow } from "./formats-B7_JC7Ba.js";
33
33
  import { n as memoize$1, t as isPropValid } from "./emotion-is-prop-valid.esm-DzSb5hsH.js";
34
34
  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
- import { t as useAsyncData } from "./useAsyncData-yp6n17kh.js";
37
+ import { t as useAsyncData } from "./useAsyncData-3f5sSgzf.js";
38
38
  let TableBody, ChevronLeft, ComboboxItem, ChartErrorState, contextAwarePanelOpen, $fae977aafc393c5c$export$6b862160d295c8e, prettifyRowColumnCount, dateToLocalISODate, DatePicker, TabsContent, useInternalStateWithSync, Tabs, CommandList, RenderTextWithLinks, slotsController, Expand, contextAwarePanelType, GripHorizontal, CommandSeparator, Kbd, PanelGroup, Code, Toggle, Ellipsis, smartMatch, HtmlOutput, CommandEmpty, ChartLoadingState, CommandInput, LazyVegaEmbed, DateRangePicker, TabsList, CommandItem, useOverflowDetection, Table, ChevronsDownUp, ContextAwarePanelItem, EmotionCacheProvider, downloadSizeLimitAtom, Maps, getColumnCountForDisplay, dateToLocalISOTime, isCellAwareAtom, Funnel, contextAwarePanelOwner, TextWrap, SlotNames, EyeOff, Fill, ChevronsRight, PanelResizeHandle, ChevronsUpDown, Provider$1, ChevronsLeft, downloadBlob, SELECT_COLUMN_ID, DEFAULT_SLIDE_TYPE, generateColumns, Progress, getMimeValues, Slide, ColumnChartContext, JsonOutput, useIntersectionObserver, ArrowDownWideNarrow, TableCell, OutputArea, usePrevious, ADD_PRINTING_CLASS, INDEX_COLUMN_NAME, InstallPackageButton, loadTableData, DEFAULT_DECK_TRANSITION, NAMELESS_COLUMN_PREFIX, Command, ChartInfoState, Combobox, TabsTrigger, RadioGroup, ColumnChartSpecModel, DataTable, loadTableAndRawData, marimoVersionAtom, TableHeader, SLIDE_TYPE_OPTIONS_BY_VALUE, inferFieldTypes, OutputRenderer, getPageIndexForRow, Panel, Download, showCodeInRunModeAtom, TableRow, SlideSidebar, renderCellValue, useNotebookCodeAvailable, TableHead, RadioGroupItem, DelayMount, downloadByURL, TOO_MANY_ROWS, prettifyRowCount, dateToLocalISODateTime, Filenames, isNullishFilter, downloadHTMLAsImage, toFieldTypes, PANEL_TYPES, $fae977aafc393c5c$export$588937bcd60ade55;
39
39
  let __tla = Promise.all([
40
40
  (() => {
@@ -1902,21 +1902,21 @@ Defaulting to \`null\`.`;
1902
1902
  function $2f04cbc44ee30ce0$export$53a0910f038337bd(e, t, n = {}) {
1903
1903
  let { block: i = "nearest", inline: a = "nearest" } = n;
1904
1904
  if (e === t) return;
1905
- let o = e.scrollTop, s = e.scrollLeft, c = t.getBoundingClientRect(), d = e.getBoundingClientRect(), f = window.getComputedStyle(t), h = window.getComputedStyle(e), _ = document.scrollingElement || document.documentElement, v = e === _ ? 0 : d.top, y = e === _ ? e.clientHeight : d.bottom, S = e === _ ? 0 : d.left, w = e === _ ? e.clientWidth : d.right, E = parseInt(f.scrollMarginTop, 10) || 0, O = parseInt(f.scrollMarginBottom, 10) || 0, A = parseInt(f.scrollMarginLeft, 10) || 0, M = parseInt(f.scrollMarginRight, 10) || 0, I = parseInt(h.scrollPaddingTop, 10) || 0, z = parseInt(h.scrollPaddingBottom, 10) || 0, U = parseInt(h.scrollPaddingLeft, 10) || 0, K = parseInt(h.scrollPaddingRight, 10) || 0, q = parseInt(h.borderTopWidth, 10) || 0, J = parseInt(h.borderBottomWidth, 10) || 0, Q = parseInt(h.borderLeftWidth, 10) || 0, PK = parseInt(h.borderRightWidth, 10) || 0, FK = c.top - E, IK = c.bottom + O, LK = c.left - A, $ = c.right + M, RK = e === _ ? 0 : Q + PK, zK = e === _ ? 0 : q + J, BK = e.offsetWidth - e.clientWidth - RK, VK = e.offsetHeight - e.clientHeight - zK, HK = v + q + I, UK = y - J - z - VK, WK = S + Q + U, GK = w - PK - K;
1905
+ let o = e.scrollTop, s = e.scrollLeft, c = t.getBoundingClientRect(), d = e.getBoundingClientRect(), f = window.getComputedStyle(t), h = window.getComputedStyle(e), _ = document.scrollingElement || document.documentElement, v = e === _ ? 0 : d.top, y = e === _ ? e.clientHeight : d.bottom, S = e === _ ? 0 : d.left, w = e === _ ? e.clientWidth : d.right, E = parseInt(f.scrollMarginTop, 10) || 0, O = parseInt(f.scrollMarginBottom, 10) || 0, A = parseInt(f.scrollMarginLeft, 10) || 0, M = parseInt(f.scrollMarginRight, 10) || 0, I = parseInt(h.scrollPaddingTop, 10) || 0, z = parseInt(h.scrollPaddingBottom, 10) || 0, U = parseInt(h.scrollPaddingLeft, 10) || 0, K = parseInt(h.scrollPaddingRight, 10) || 0, q = parseInt(h.borderTopWidth, 10) || 0, J = parseInt(h.borderBottomWidth, 10) || 0, Q = parseInt(h.borderLeftWidth, 10) || 0, $ = parseInt(h.borderRightWidth, 10) || 0, PK = c.top - E, FK = c.bottom + O, IK = c.left - A, LK = c.right + M, RK = e === _ ? 0 : Q + $, zK = e === _ ? 0 : q + J, BK = e.offsetWidth - e.clientWidth - RK, VK = e.offsetHeight - e.clientHeight - zK, HK = v + q + I, UK = y - J - z - VK, WK = S + Q + U, GK = w - $ - K;
1906
1906
  h.direction === "rtl" && !$c87311424ea30a05$export$fedb369cb70207f1() ? WK += BK : GK -= BK;
1907
- let KK = FK < HK || IK > UK, qK = LK < WK || $ > GK;
1908
- if (KK && i === "start") o += FK - HK;
1909
- else if (KK && i === "center") o += (FK + IK) / 2 - (HK + UK) / 2;
1910
- else if (KK && i === "end") o += IK - UK;
1907
+ let KK = PK < HK || FK > UK, qK = IK < WK || LK > GK;
1908
+ if (KK && i === "start") o += PK - HK;
1909
+ else if (KK && i === "center") o += (PK + FK) / 2 - (HK + UK) / 2;
1910
+ else if (KK && i === "end") o += FK - UK;
1911
1911
  else if (KK && i === "nearest") {
1912
- let e2 = FK - HK, t2 = IK - UK;
1912
+ let e2 = PK - HK, t2 = FK - UK;
1913
1913
  o += Math.abs(e2) <= Math.abs(t2) ? e2 : t2;
1914
1914
  }
1915
- if (qK && a === "start") s += LK - WK;
1916
- else if (qK && a === "center") s += (LK + $) / 2 - (WK + GK) / 2;
1917
- else if (qK && a === "end") s += $ - GK;
1915
+ if (qK && a === "start") s += IK - WK;
1916
+ else if (qK && a === "center") s += (IK + LK) / 2 - (WK + GK) / 2;
1917
+ else if (qK && a === "end") s += LK - GK;
1918
1918
  else if (qK && a === "nearest") {
1919
- let e2 = LK - WK, t2 = $ - GK;
1919
+ let e2 = IK - WK, t2 = LK - GK;
1920
1920
  s += Math.abs(e2) <= Math.abs(t2) ? e2 : t2;
1921
1921
  }
1922
1922
  e.scrollTo({
@@ -5024,23 +5024,23 @@ Defaulting to \`null\`.`;
5024
5024
  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
5025
  $edcf132a9284368a$var$getAvailableSpace(c, f, t, a, o + h, e2, d, E) > Q && (A = e2, q = i2, J = h);
5026
5026
  }
5027
- let PK = "bottom";
5028
- A.axis === "top" ? A.placement === "top" ? PK = "top" : A.placement === "bottom" && (PK = "bottom") : A.crossAxis === "top" && (A.crossPlacement === "top" ? PK = "bottom" : A.crossPlacement === "bottom" && (PK = "top"));
5029
- let FK = $edcf132a9284368a$var$getDelta(I, q[I], n[z], c, d, o, f);
5030
- q[I] += FK;
5031
- let IK = $edcf132a9284368a$var$getMaxHeight(q, c, f, v, a, o, n.height, PK, d, E, O);
5032
- y && y < IK && (IK = y), n.height = Math.min(n.height, IK), q = $edcf132a9284368a$var$computePosition(t, c, n, A, J, _, f, v, S, w, d), FK = $edcf132a9284368a$var$getDelta(I, q[I], n[z], c, d, o, f), q[I] += FK;
5033
- let LK = {}, $ = t[I] - q[I] - a[$edcf132a9284368a$var$AXIS[I]], RK = $ + 0.5 * t[z], zK = S / 2 + w, BK = $edcf132a9284368a$var$AXIS[I] === "left" ? (a.left ?? 0) + (a.right ?? 0) : (a.top ?? 0) + (a.bottom ?? 0), VK = n[z] - BK - S / 2 - w;
5034
- LK[I] = $9446cca9a3875146$export$7d15b64cf5a3a4c4($9446cca9a3875146$export$7d15b64cf5a3a4c4(RK, t[I] + S / 2 - (q[I] + a[$edcf132a9284368a$var$AXIS[I]]), t[I] + t[z] - S / 2 - (q[I] + a[$edcf132a9284368a$var$AXIS[I]])), zK, VK), { placement: U, crossPlacement: K } = A, S ? $ = LK[I] : K === "right" ? $ += t[z] : K === "center" && ($ += t[z] / 2);
5027
+ let $ = "bottom";
5028
+ A.axis === "top" ? A.placement === "top" ? $ = "top" : A.placement === "bottom" && ($ = "bottom") : A.crossAxis === "top" && (A.crossPlacement === "top" ? $ = "bottom" : A.crossPlacement === "bottom" && ($ = "top"));
5029
+ let PK = $edcf132a9284368a$var$getDelta(I, q[I], n[z], c, d, o, f);
5030
+ q[I] += PK;
5031
+ let FK = $edcf132a9284368a$var$getMaxHeight(q, c, f, v, a, o, n.height, $, d, E, O);
5032
+ y && y < FK && (FK = y), n.height = Math.min(n.height, FK), q = $edcf132a9284368a$var$computePosition(t, c, n, A, J, _, f, v, S, w, d), PK = $edcf132a9284368a$var$getDelta(I, q[I], n[z], c, d, o, f), q[I] += PK;
5033
+ let IK = {}, LK = t[I] - q[I] - a[$edcf132a9284368a$var$AXIS[I]], RK = LK + 0.5 * t[z], zK = S / 2 + w, BK = $edcf132a9284368a$var$AXIS[I] === "left" ? (a.left ?? 0) + (a.right ?? 0) : (a.top ?? 0) + (a.bottom ?? 0), VK = n[z] - BK - S / 2 - w;
5034
+ IK[I] = $9446cca9a3875146$export$7d15b64cf5a3a4c4($9446cca9a3875146$export$7d15b64cf5a3a4c4(RK, t[I] + S / 2 - (q[I] + a[$edcf132a9284368a$var$AXIS[I]]), t[I] + t[z] - S / 2 - (q[I] + a[$edcf132a9284368a$var$AXIS[I]])), zK, VK), { placement: U, crossPlacement: K } = A, S ? LK = IK[I] : K === "right" ? LK += t[z] : K === "center" && (LK += t[z] / 2);
5035
5035
  let HK = U === "left" || U === "top" ? n[M] : 0, UK = {
5036
- x: U === "top" || U === "bottom" ? $ : HK,
5037
- y: U === "left" || U === "right" ? $ : HK
5036
+ x: U === "top" || U === "bottom" ? LK : HK,
5037
+ y: U === "left" || U === "right" ? LK : HK
5038
5038
  };
5039
5039
  return {
5040
5040
  position: q,
5041
- maxHeight: IK,
5042
- arrowOffsetLeft: LK.left,
5043
- arrowOffsetTop: LK.top,
5041
+ maxHeight: FK,
5042
+ arrowOffsetLeft: IK.left,
5043
+ arrowOffsetTop: IK.top,
5044
5044
  placement: U,
5045
5045
  triggerAnchorPoint: UK
5046
5046
  };
@@ -6867,7 +6867,7 @@ Defaulting to \`null\`.`;
6867
6867
  let e2 = window.getSelection();
6868
6868
  (e2 == null ? void 0 : e2.anchorNode) && $d4ee10de306f2510$export$4282f70798064fe0(n.current, e2 == null ? void 0 : e2.anchorNode) && e2.collapse(n.current);
6869
6869
  });
6870
- let PK = (0, import_react.useRef)("");
6870
+ let $ = (0, import_react.useRef)("");
6871
6871
  $e9faafb641e167db$export$90fc3a17d93f704c(n, "beforeinput", (i2) => {
6872
6872
  if (n.current) switch (i2.preventDefault(), i2.inputType) {
6873
6873
  case "deleteContentBackward":
@@ -6875,7 +6875,7 @@ Defaulting to \`null\`.`;
6875
6875
  E.isValidPartialNumber(e.text) && !t.isReadOnly && O();
6876
6876
  break;
6877
6877
  case "insertCompositionText":
6878
- PK.current = n.current.textContent, n.current.textContent = n.current.textContent;
6878
+ $.current = n.current.textContent, n.current.textContent = n.current.textContent;
6879
6879
  break;
6880
6880
  default:
6881
6881
  i2.data != null && J(i2.data);
@@ -6885,7 +6885,7 @@ Defaulting to \`null\`.`;
6885
6885
  let { inputType: t2, data: i2 } = e2;
6886
6886
  switch (t2) {
6887
6887
  case "insertCompositionText":
6888
- n.current && (n.current.textContent = PK.current), i2 != null && (M(z, i2) || M(U, i2)) && J(i2);
6888
+ n.current && (n.current.textContent = $.current), i2 != null && (M(z, i2) || M(U, i2)) && J(i2);
6889
6889
  break;
6890
6890
  }
6891
6891
  }), $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(() => {
@@ -6897,7 +6897,7 @@ Defaulting to \`null\`.`;
6897
6897
  n,
6898
6898
  h
6899
6899
  ]);
6900
- let FK = $c87311424ea30a05$export$fedb369cb70207f1() || e.type === "timeZoneName" ? {
6900
+ let PK = $c87311424ea30a05$export$fedb369cb70207f1() || e.type === "timeZoneName" ? {
6901
6901
  role: "textbox",
6902
6902
  "aria-valuemax": null,
6903
6903
  "aria-valuemin": null,
@@ -6907,8 +6907,8 @@ Defaulting to \`null\`.`;
6907
6907
  e !== (0, import_react.useMemo)(() => t.segments.find((e2) => e2.isEditable), [
6908
6908
  t.segments
6909
6909
  ]) && !t.isInvalid && (f = void 0);
6910
- let IK = $bdb11010cef70236$export$f680877a34711e37(), LK = !t.isDisabled && !t.isReadOnly && e.isEditable, $ = e.type === "literal" ? "" : s.of(e.type), RK = $313b98861ee5dd6c$export$d6875122194c7b44({
6911
- "aria-label": `${$}${c ? `, ${c}` : ""}${d ? ", " : ""}`,
6910
+ let FK = $bdb11010cef70236$export$f680877a34711e37(), IK = !t.isDisabled && !t.isReadOnly && e.isEditable, LK = e.type === "literal" ? "" : s.of(e.type), RK = $313b98861ee5dd6c$export$d6875122194c7b44({
6911
+ "aria-label": `${LK}${c ? `, ${c}` : ""}${d ? ", " : ""}`,
6912
6912
  "aria-labelledby": d
6913
6913
  });
6914
6914
  if (e.type === "literal") return {
@@ -6926,18 +6926,18 @@ Defaulting to \`null\`.`;
6926
6926
  }
6927
6927
  return {
6928
6928
  segmentProps: $3ef42575df84b30b$export$9d1611c77c2fe928(w, RK, {
6929
- id: IK,
6930
- ...FK,
6929
+ id: FK,
6930
+ ...PK,
6931
6931
  "aria-invalid": t.isInvalid ? "true" : void 0,
6932
6932
  "aria-describedby": f,
6933
6933
  "aria-readonly": t.isReadOnly || !e.isEditable ? "true" : void 0,
6934
6934
  "data-placeholder": e.isPlaceholder || void 0,
6935
- contentEditable: LK,
6936
- suppressContentEditableWarning: LK,
6937
- spellCheck: LK ? "false" : void 0,
6938
- autoCorrect: LK ? "off" : void 0,
6939
- enterKeyHint: LK ? "next" : void 0,
6940
- inputMode: t.isDisabled || e.type === "dayPeriod" || e.type === "era" || !LK ? void 0 : "numeric",
6935
+ contentEditable: IK,
6936
+ suppressContentEditableWarning: IK,
6937
+ spellCheck: IK ? "false" : void 0,
6938
+ autoCorrect: IK ? "off" : void 0,
6939
+ enterKeyHint: IK ? "next" : void 0,
6940
+ inputMode: t.isDisabled || e.type === "dayPeriod" || e.type === "era" || !IK ? void 0 : "numeric",
6941
6941
  tabIndex: t.isDisabled ? void 0 : 0,
6942
6942
  onKeyDown: A,
6943
6943
  onFocus: Q,
@@ -7014,7 +7014,7 @@ Defaulting to \`null\`.`;
7014
7014
  q.current = true, (n2 = e.onFocus) == null || n2.call(e, t2), (i2 = e.onFocusChange) == null || i2.call(e, true);
7015
7015
  }
7016
7016
  }
7017
- }), Q = (0, import_react.useRef)($e5be200c675c3b3a$export$dad6ae84456c676a), PK = (0, import_react.useRef)($e5be200c675c3b3a$export$dad6ae84456c676a);
7017
+ }), Q = (0, import_react.useRef)($e5be200c675c3b3a$export$dad6ae84456c676a), $ = (0, import_react.useRef)($e5be200c675c3b3a$export$dad6ae84456c676a);
7018
7018
  return {
7019
7019
  groupProps: $3ef42575df84b30b$export$9d1611c77c2fe928(K, M, d, S, J, {
7020
7020
  role: "group",
@@ -7061,7 +7061,7 @@ Defaulting to \`null\`.`;
7061
7061
  realtimeValidation: t.realtimeValidation,
7062
7062
  displayValidation: t.displayValidation,
7063
7063
  updateValidation(e2) {
7064
- Q.current = e2, t.updateValidation($e5be200c675c3b3a$export$75ee7c75d68f5b0e(e2, PK.current));
7064
+ Q.current = e2, t.updateValidation($e5be200c675c3b3a$export$75ee7c75d68f5b0e(e2, $.current));
7065
7065
  },
7066
7066
  resetValidation: t.resetValidation,
7067
7067
  commitValidation: t.commitValidation
@@ -7079,7 +7079,7 @@ Defaulting to \`null\`.`;
7079
7079
  realtimeValidation: t.realtimeValidation,
7080
7080
  displayValidation: t.displayValidation,
7081
7081
  updateValidation(e2) {
7082
- PK.current = e2, t.updateValidation($e5be200c675c3b3a$export$75ee7c75d68f5b0e(Q.current, e2));
7082
+ $.current = e2, t.updateValidation($e5be200c675c3b3a$export$75ee7c75d68f5b0e(Q.current, e2));
7083
7083
  },
7084
7084
  resetValidation: t.resetValidation,
7085
7085
  commitValidation: t.commitValidation
@@ -10173,7 +10173,7 @@ Defaulting to \`null\`.`;
10173
10173
  function Q(e2) {
10174
10174
  e2 = $f62d864046160412$export$4f5203c0d889109e(e2, s, c), A(e2);
10175
10175
  }
10176
- function PK(t2) {
10176
+ function $(t2) {
10177
10177
  if (!e.isDisabled && !e.isReadOnly) {
10178
10178
  let e2 = t2;
10179
10179
  if (e2 === null) {
@@ -10184,12 +10184,12 @@ Defaulting to \`null\`.`;
10184
10184
  e2 = $11d87f3f76e88657$export$b4a036af3fc0b032(e2, (y == null ? void 0 : y.calendar) || new $3b62074eb05584b2$export$80ee6245ec4f29ec()), y && "hour" in y ? S(y.set(e2)) : S(e2);
10185
10185
  }
10186
10186
  }
10187
- let FK = (0, import_react.useMemo)(() => w ? f && f(w) ? true : $f62d864046160412$export$eac50920cf2fd59a(w, s, c) : false, [
10187
+ let PK = (0, import_react.useMemo)(() => w ? f && f(w) ? true : $f62d864046160412$export$eac50920cf2fd59a(w, s, c) : false, [
10188
10188
  w,
10189
10189
  f,
10190
10190
  s,
10191
10191
  c
10192
- ]), IK = e.isInvalid || e.validationState === "invalid" || FK, LK = IK ? "invalid" : null, $ = (0, import_react.useMemo)(() => h === "visible" ? o : $131cf43a05231e1e$var$unitDuration(o), [
10192
+ ]), FK = e.isInvalid || e.validationState === "invalid" || PK, IK = FK ? "invalid" : null, LK = (0, import_react.useMemo)(() => h === "visible" ? o : $131cf43a05231e1e$var$unitDuration(o), [
10193
10193
  h,
10194
10194
  o
10195
10195
  ]);
@@ -10197,7 +10197,7 @@ Defaulting to \`null\`.`;
10197
10197
  isDisabled: e.isDisabled ?? false,
10198
10198
  isReadOnly: e.isReadOnly ?? false,
10199
10199
  value: w,
10200
- setValue: PK,
10200
+ setValue: $,
10201
10201
  visibleRange: {
10202
10202
  start: M,
10203
10203
  end: K
@@ -10206,8 +10206,8 @@ Defaulting to \`null\`.`;
10206
10206
  maxValue: c,
10207
10207
  focusedDate: O,
10208
10208
  timeZone: E,
10209
- validationState: LK,
10210
- isValueInvalid: IK,
10209
+ validationState: IK,
10210
+ isValueInvalid: FK,
10211
10211
  setFocusedDate(e2) {
10212
10212
  Q(e2);
10213
10213
  },
@@ -10232,12 +10232,12 @@ Defaulting to \`null\`.`;
10232
10232
  }));
10233
10233
  },
10234
10234
  focusNextPage() {
10235
- let e2 = M.add($);
10236
- A($f62d864046160412$export$4f5203c0d889109e(O.add($), s, c)), I($f62d864046160412$export$144a00ba6044eb9($f62d864046160412$export$5bb865b12696a77d(O, e2, $, i, s, c), $, i));
10235
+ let e2 = M.add(LK);
10236
+ A($f62d864046160412$export$4f5203c0d889109e(O.add(LK), s, c)), I($f62d864046160412$export$144a00ba6044eb9($f62d864046160412$export$5bb865b12696a77d(O, e2, LK, i, s, c), LK, i));
10237
10237
  },
10238
10238
  focusPreviousPage() {
10239
- let e2 = M.subtract($);
10240
- A($f62d864046160412$export$4f5203c0d889109e(O.subtract($), s, c)), I($f62d864046160412$export$144a00ba6044eb9($f62d864046160412$export$5bb865b12696a77d(O, e2, $, i, s, c), $, i));
10239
+ let e2 = M.subtract(LK);
10240
+ A($f62d864046160412$export$4f5203c0d889109e(O.subtract(LK), s, c)), I($f62d864046160412$export$144a00ba6044eb9($f62d864046160412$export$5bb865b12696a77d(O, e2, LK, i, s, c), LK, i));
10241
10241
  },
10242
10242
  focusSectionStart() {
10243
10243
  o.days ? Q(M) : o.weeks ? Q($14e0f24ef4ac5c92$export$42c81a444fbfb5d4(O, i)) : (o.months || o.years) && Q($14e0f24ef4ac5c92$export$a5a3b454ada2268e(O));
@@ -10268,10 +10268,10 @@ Defaulting to \`null\`.`;
10268
10268
  }));
10269
10269
  },
10270
10270
  selectFocusedDate() {
10271
- f && f(O) || PK(O);
10271
+ f && f(O) || $(O);
10272
10272
  },
10273
10273
  selectDate(e2) {
10274
- PK(e2);
10274
+ $(e2);
10275
10275
  },
10276
10276
  isFocused: z,
10277
10277
  setFocused: U,
@@ -10374,13 +10374,13 @@ Defaulting to \`null\`.`;
10374
10374
  end: $9a36b6ba2fb1a7c5$var$convertValue(e2.end, h == null ? void 0 : h.end)
10375
10375
  }), q(null);
10376
10376
  }
10377
- }, [PK, FK] = (0, import_react.useState)(false), { isDateUnavailable: IK } = e, LK = (0, import_react.useMemo)(() => !h || v ? false : IK && (IK(h.start) || IK(h.end)) ? true : $f62d864046160412$export$eac50920cf2fd59a(h.start, c, d) || $f62d864046160412$export$eac50920cf2fd59a(h.end, c, d), [
10378
- IK,
10377
+ }, [$, PK] = (0, import_react.useState)(false), { isDateUnavailable: FK } = e, IK = (0, import_react.useMemo)(() => !h || v ? false : FK && (FK(h.start) || FK(h.end)) ? true : $f62d864046160412$export$eac50920cf2fd59a(h.start, c, d) || $f62d864046160412$export$eac50920cf2fd59a(h.end, c, d), [
10378
+ FK,
10379
10379
  h,
10380
10380
  v,
10381
10381
  c,
10382
10382
  d
10383
- ]), $ = e.isInvalid || e.validationState === "invalid" || LK, RK = $ ? "invalid" : null;
10383
+ ]), LK = e.isInvalid || e.validationState === "invalid" || IK, RK = LK ? "invalid" : null;
10384
10384
  return {
10385
10385
  ...I,
10386
10386
  value: h,
@@ -10389,7 +10389,7 @@ Defaulting to \`null\`.`;
10389
10389
  setAnchorDate: q,
10390
10390
  highlightedRange: J,
10391
10391
  validationState: RK,
10392
- isValueInvalid: $,
10392
+ isValueInvalid: LK,
10393
10393
  selectFocusedDate() {
10394
10394
  Q(I.focusedDate);
10395
10395
  },
@@ -10404,8 +10404,8 @@ Defaulting to \`null\`.`;
10404
10404
  var _a2, _b;
10405
10405
  return I.isInvalid(e2) || $f62d864046160412$export$eac50920cf2fd59a(e2, (_a2 = w.current) == null ? void 0 : _a2.start, (_b = w.current) == null ? void 0 : _b.end);
10406
10406
  },
10407
- isDragging: PK,
10408
- setDragging: FK
10407
+ isDragging: $,
10408
+ setDragging: PK
10409
10409
  };
10410
10410
  }
10411
10411
  function $9a36b6ba2fb1a7c5$var$makeRange(e, t) {
@@ -11587,12 +11587,12 @@ Defaulting to \`null\`.`;
11587
11587
  q
11588
11588
  ]), Q = (0, import_react.useMemo)(() => J.resolvedOptions(), [
11589
11589
  J
11590
- ]), PK = (0, import_react.useMemo)(() => $35a22f14a1f04b11$export$66aa2b09de4b1ea5(e.placeholderValue, _, S, v), [
11590
+ ]), $ = (0, import_react.useMemo)(() => $35a22f14a1f04b11$export$66aa2b09de4b1ea5(e.placeholderValue, _, S, v), [
11591
11591
  e.placeholderValue,
11592
11592
  _,
11593
11593
  S,
11594
11594
  v
11595
- ]), FK = (0, import_react.useMemo)(() => {
11595
+ ]), PK = (0, import_react.useMemo)(() => {
11596
11596
  let t2 = w === "h11" || w === "h12", n2 = [
11597
11597
  "era",
11598
11598
  "year",
@@ -11610,15 +11610,15 @@ Defaulting to \`null\`.`;
11610
11610
  e.maxGranularity,
11611
11611
  _,
11612
11612
  w
11613
- ]), [IK, LK] = (0, import_react.useState)(M), [$, RK] = (0, import_react.useState)(S), [zK, BK] = (0, import_react.useState)(w);
11614
- (M !== IK || w !== zK || !$14e0f24ef4ac5c92$export$dbc69fd56b53d5e(S, $)) && (I = new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M), LK(M), RK(S), BK(w), z(I));
11613
+ ]), [FK, IK] = (0, import_react.useState)(M), [LK, RK] = (0, import_react.useState)(S), [zK, BK] = (0, import_react.useState)(w);
11614
+ (M !== FK || w !== zK || !$14e0f24ef4ac5c92$export$dbc69fd56b53d5e(S, LK)) && (I = new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M), IK(M), RK(S), BK(w), z(I));
11615
11615
  let VK = (t2) => {
11616
- if (!(e.isDisabled || e.isReadOnly)) if (t2 == null || t2 instanceof $f863c03ccd9aead0$export$ae165b50d181e1ef && t2.isCleared(FK)) z(new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M)), O(null);
11616
+ if (!(e.isDisabled || e.isReadOnly)) if (t2 == null || t2 instanceof $f863c03ccd9aead0$export$ae165b50d181e1ef && t2.isCleared(PK)) z(new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M)), O(null);
11617
11617
  else if (!(t2 instanceof $f863c03ccd9aead0$export$ae165b50d181e1ef)) t2 = $11d87f3f76e88657$export$b4a036af3fc0b032(t2, (h == null ? void 0 : h.calendar) || new $3b62074eb05584b2$export$80ee6245ec4f29ec()), z(new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M)), O(t2);
11618
11618
  else {
11619
- if (t2.isComplete(FK)) {
11620
- let e2 = t2.toValue(M ?? PK);
11621
- if (t2.validate(e2, FK)) {
11619
+ if (t2.isComplete(PK)) {
11620
+ let e2 = t2.toValue(M ?? $);
11621
+ if (t2.validate(e2, PK)) {
11622
11622
  let t3 = $11d87f3f76e88657$export$b4a036af3fc0b032(e2, (h == null ? void 0 : h.calendar) || new $3b62074eb05584b2$export$80ee6245ec4f29ec());
11623
11623
  if (!E || t3.compare(E) !== 0) {
11624
11624
  z(new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M)), O(t3);
@@ -11628,11 +11628,11 @@ Defaulting to \`null\`.`;
11628
11628
  }
11629
11629
  z(t2);
11630
11630
  }
11631
- }, HK = (0, import_react.useMemo)(() => I.toValue(M ?? PK).toDate(y), [
11631
+ }, HK = (0, import_react.useMemo)(() => I.toValue(M ?? $).toDate(y), [
11632
11632
  I,
11633
11633
  y,
11634
11634
  M,
11635
- PK
11635
+ $
11636
11636
  ]), UK = (0, import_react.useMemo)(() => $3c0fc76039f1c516$var$processSegments(HK, I, J, Q, S, t, _), [
11637
11637
  HK,
11638
11638
  J,
@@ -11642,7 +11642,7 @@ Defaulting to \`null\`.`;
11642
11642
  t,
11643
11643
  _
11644
11644
  ]), WK = (e2, t2) => {
11645
- VK(I.cycle(e2, t2, PK, FK));
11645
+ VK(I.cycle(e2, t2, $, PK));
11646
11646
  }, GK = (0, import_react.useMemo)(() => $35a22f14a1f04b11$export$f18627323ab57ac0(E, c, d, f, K), [
11647
11647
  E,
11648
11648
  c,
@@ -11684,18 +11684,18 @@ Defaulting to \`null\`.`;
11684
11684
  },
11685
11685
  incrementToMax(e2) {
11686
11686
  let t2 = e2 === "hour" && w === "h12" ? 11 : I.getSegmentLimits(e2).maxValue;
11687
- VK(I.set(e2, t2, PK));
11687
+ VK(I.set(e2, t2, $));
11688
11688
  },
11689
11689
  decrementToMin(e2) {
11690
11690
  let t2 = e2 === "hour" && w === "h12" ? 12 : I.getSegmentLimits(e2).minValue;
11691
- VK(I.set(e2, t2, PK));
11691
+ VK(I.set(e2, t2, $));
11692
11692
  },
11693
11693
  setSegment(e2, t2) {
11694
- VK(I.set(e2, t2, PK));
11694
+ VK(I.set(e2, t2, $));
11695
11695
  },
11696
11696
  confirmPlaceholder() {
11697
- if (!(e.isDisabled || e.isReadOnly) && I.isComplete(FK)) {
11698
- let e2 = $11d87f3f76e88657$export$b4a036af3fc0b032(I.toValue(M ?? PK), (h == null ? void 0 : h.calendar) || new $3b62074eb05584b2$export$80ee6245ec4f29ec());
11697
+ if (!(e.isDisabled || e.isReadOnly) && I.isComplete(PK)) {
11698
+ let e2 = $11d87f3f76e88657$export$b4a036af3fc0b032(I.toValue(M ?? $), (h == null ? void 0 : h.calendar) || new $3b62074eb05584b2$export$80ee6245ec4f29ec());
11699
11699
  (!E || e2.compare(E) !== 0) && O(e2), z(new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M));
11700
11700
  }
11701
11701
  },
@@ -11824,7 +11824,7 @@ Defaulting to \`null\`.`;
11824
11824
  e.endName
11825
11825
  ]),
11826
11826
  builtinValidation: J
11827
- }), PK = Q.displayValidation.isInvalid, FK = e.validationState || (PK ? "invalid" : null);
11827
+ }), $ = Q.displayValidation.isInvalid, PK = e.validationState || ($ ? "invalid" : null);
11828
11828
  return {
11829
11829
  ...Q,
11830
11830
  value: c,
@@ -11870,8 +11870,8 @@ Defaulting to \`null\`.`;
11870
11870
  end: (w == null ? void 0 : w.end) || $35a22f14a1f04b11$export$c5221a78ef73c5e9(e.placeholderValue)
11871
11871
  }), t.setOpen(n2);
11872
11872
  },
11873
- validationState: FK,
11874
- isInvalid: PK,
11873
+ validationState: PK,
11874
+ isInvalid: $,
11875
11875
  formatValue(t2, n2) {
11876
11876
  if (!c || !c.start || !c.end) return null;
11877
11877
  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, {
@@ -15742,9 +15742,9 @@ try {
15742
15742
  }, f = import_react.createContext(void 0), h = () => import_react.useContext(f) || d, _ = {}, v = {};
15743
15743
  function y(e2) {
15744
15744
  var _a2, _b, _c, _d;
15745
- let { children: d2, theme: h2, modeStorageKey: y2 = i, colorSchemeStorageKey: S2 = a, disableTransitionOnChange: w2 = o, storageManager: E, storageWindow: O = typeof window > "u" ? void 0 : window, documentNode: A = typeof document > "u" ? void 0 : document, colorSchemeNode: M = typeof document > "u" ? void 0 : document.documentElement, disableNestedContext: I = false, disableStyleSheetGeneration: z = false, defaultMode: U = "system", noSsr: K } = e2, q = import_react.useRef(false), J = useTheme$2(), Q = import_react.useContext(f), PK = !!Q && !I, FK = import_react.useMemo(() => h2 || (typeof n == "function" ? n() : n), [
15745
+ let { children: d2, theme: h2, modeStorageKey: y2 = i, colorSchemeStorageKey: S2 = a, disableTransitionOnChange: w2 = o, storageManager: E, storageWindow: O = typeof window > "u" ? void 0 : window, documentNode: A = typeof document > "u" ? void 0 : document, colorSchemeNode: M = typeof document > "u" ? void 0 : document.documentElement, disableNestedContext: I = false, disableStyleSheetGeneration: z = false, defaultMode: U = "system", noSsr: K } = e2, q = import_react.useRef(false), J = useTheme$2(), Q = import_react.useContext(f), $ = !!Q && !I, PK = import_react.useMemo(() => h2 || (typeof n == "function" ? n() : n), [
15746
15746
  h2
15747
- ]), IK = FK[t], LK = IK || FK, { colorSchemes: $ = _, components: RK = v, cssVarPrefix: zK } = LK, BK = Object.keys($).filter((e3) => !!$[e3]).join(","), VK = import_react.useMemo(() => BK.split(","), [
15747
+ ]), FK = PK[t], IK = FK || PK, { colorSchemes: LK = _, components: RK = v, cssVarPrefix: zK } = IK, BK = Object.keys(LK).filter((e3) => !!LK[e3]).join(","), VK = import_react.useMemo(() => BK.split(","), [
15748
15748
  BK
15749
15749
  ]), HK = typeof s == "string" ? s : s.light, UK = typeof s == "string" ? s : s.dark, { mode: WK, setMode: GK, systemMode: KK, lightColorScheme: qK, darkColorScheme: JK, colorScheme: YK, setColorScheme: XK } = useCurrentColorScheme({
15750
15750
  supportedColorSchemes: VK,
@@ -15752,23 +15752,23 @@ try {
15752
15752
  defaultDarkColorScheme: UK,
15753
15753
  modeStorageKey: y2,
15754
15754
  colorSchemeStorageKey: S2,
15755
- defaultMode: $[HK] && $[UK] ? U : ((_b = (_a2 = $[LK.defaultColorScheme]) == null ? void 0 : _a2.palette) == null ? void 0 : _b.mode) || ((_c = LK.palette) == null ? void 0 : _c.mode),
15755
+ defaultMode: LK[HK] && LK[UK] ? U : ((_b = (_a2 = LK[IK.defaultColorScheme]) == null ? void 0 : _a2.palette) == null ? void 0 : _b.mode) || ((_c = IK.palette) == null ? void 0 : _c.mode),
15756
15756
  storageManager: E,
15757
15757
  storageWindow: O,
15758
15758
  noSsr: K
15759
15759
  }), ZK = WK, QK = YK;
15760
- PK && (ZK = Q.mode, QK = Q.colorScheme);
15760
+ $ && (ZK = Q.mode, QK = Q.colorScheme);
15761
15761
  let $K = import_react.useMemo(() => {
15762
15762
  var _a3;
15763
- let e3 = QK || LK.defaultColorScheme, t2 = ((_a3 = LK.generateThemeVars) == null ? void 0 : _a3.call(LK)) || LK.vars, n2 = {
15764
- ...LK,
15763
+ let e3 = QK || IK.defaultColorScheme, t2 = ((_a3 = IK.generateThemeVars) == null ? void 0 : _a3.call(IK)) || IK.vars, n2 = {
15764
+ ...IK,
15765
15765
  components: RK,
15766
- colorSchemes: $,
15766
+ colorSchemes: LK,
15767
15767
  cssVarPrefix: zK,
15768
15768
  vars: t2
15769
15769
  };
15770
15770
  if (typeof n2.generateSpacing == "function" && (n2.spacing = n2.generateSpacing()), e3) {
15771
- let t3 = $[e3];
15771
+ let t3 = LK[e3];
15772
15772
  t3 && typeof t3 == "object" && Object.keys(t3).forEach((e4) => {
15773
15773
  t3[e4] && typeof t3[e4] == "object" ? n2[e4] = {
15774
15774
  ...n2[e4],
@@ -15778,12 +15778,12 @@ try {
15778
15778
  }
15779
15779
  return c ? c(n2) : n2;
15780
15780
  }, [
15781
- LK,
15781
+ IK,
15782
15782
  QK,
15783
15783
  RK,
15784
- $,
15784
+ LK,
15785
15785
  zK
15786
- ]), eq = LK.colorSchemeSelector;
15786
+ ]), eq = IK.colorSchemeSelector;
15787
15787
  useEnhancedEffect_default(() => {
15788
15788
  if (QK && M && eq && eq !== "media") {
15789
15789
  let e3 = eq, t2 = eq;
@@ -15841,11 +15841,11 @@ try {
15841
15841
  KK,
15842
15842
  $K.colorSchemeSelector
15843
15843
  ]), nq = true;
15844
- (z || LK.cssVariables === false || PK && (J == null ? void 0 : J.cssVarPrefix) === zK) && (nq = false);
15844
+ (z || IK.cssVariables === false || $ && (J == null ? void 0 : J.cssVarPrefix) === zK) && (nq = false);
15845
15845
  let rq = (0, import_jsx_runtime.jsxs)(import_react.Fragment, {
15846
15846
  children: [
15847
15847
  (0, import_jsx_runtime.jsx)(ThemeProvider_default, {
15848
- themeId: IK ? t : void 0,
15848
+ themeId: FK ? t : void 0,
15849
15849
  theme: $K,
15850
15850
  children: d2
15851
15851
  }),
@@ -15854,7 +15854,7 @@ try {
15854
15854
  })
15855
15855
  ]
15856
15856
  });
15857
- return PK ? rq : (0, import_jsx_runtime.jsx)(f.Provider, {
15857
+ return $ ? rq : (0, import_jsx_runtime.jsx)(f.Provider, {
15858
15858
  value: tq,
15859
15859
  children: rq
15860
15860
  });
@@ -17356,7 +17356,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
17356
17356
  let n = useDefaultProps({
17357
17357
  props: e,
17358
17358
  name: "MuiInputBase"
17359
- }), { "aria-describedby": i, autoComplete: a, autoFocus: o, className: s, color: c, components: d = {}, componentsProps: f = {}, defaultValue: h, disabled: _, disableInjectingGlobalStyles: v, endAdornment: y, error: S, fullWidth: w = false, id: E, inputComponent: O = "input", inputProps: A = {}, inputRef: M, margin: I, maxRows: z, minRows: U, multiline: K = false, name: q, onBlur: J, onChange: Q, onClick: PK, onFocus: FK, onKeyDown: IK, onKeyUp: LK, placeholder: $, readOnly: RK, renderSuffix: zK, rows: BK, size: VK, slotProps: HK = {}, slots: UK = {}, startAdornment: WK, type: GK = "text", value: KK, ...qK } = n, JK = A.value == null ? KK : A.value, { current: YK } = import_react.useRef(JK != null), XK = import_react.useRef(), ZK = import_react.useCallback((e2) => {
17359
+ }), { "aria-describedby": i, autoComplete: a, autoFocus: o, className: s, color: c, components: d = {}, componentsProps: f = {}, defaultValue: h, disabled: _, disableInjectingGlobalStyles: v, endAdornment: y, error: S, fullWidth: w = false, id: E, inputComponent: O = "input", inputProps: A = {}, inputRef: M, margin: I, maxRows: z, minRows: U, multiline: K = false, name: q, onBlur: J, onChange: Q, onClick: $, onFocus: PK, onKeyDown: FK, onKeyUp: IK, placeholder: LK, readOnly: RK, renderSuffix: zK, rows: BK, size: VK, slotProps: HK = {}, slots: UK = {}, startAdornment: WK, type: GK = "text", value: KK, ...qK } = n, JK = A.value == null ? KK : A.value, { current: YK } = import_react.useRef(JK != null), XK = import_react.useRef(), ZK = import_react.useCallback((e2) => {
17360
17360
  }, []), QK = useForkRef_default(XK, M, A.ref, ZK), [$K, eq] = import_react.useState(false), tq = useFormControl(), nq = formControlState({
17361
17361
  props: n,
17362
17362
  muiFormControl: tq,
@@ -17394,7 +17394,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
17394
17394
  YK
17395
17395
  ]);
17396
17396
  let oq = (e2) => {
17397
- FK && FK(e2), A.onFocus && A.onFocus(e2), tq && tq.onFocus ? tq.onFocus(e2) : eq(true);
17397
+ PK && PK(e2), A.onFocus && A.onFocus(e2), tq && tq.onFocus ? tq.onFocus(e2) : eq(true);
17398
17398
  }, sq = (e2) => {
17399
17399
  J && J(e2), A.onBlur && A.onBlur(e2), tq && tq.onBlur ? tq.onBlur(e2) : eq(false);
17400
17400
  }, cq = (e2, ...t2) => {
@@ -17411,7 +17411,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
17411
17411
  aq(XK.current);
17412
17412
  }, []);
17413
17413
  let lq = (e2) => {
17414
- XK.current && e2.currentTarget === e2.target && XK.current.focus(), PK && PK(e2);
17414
+ XK.current && e2.currentTarget === e2.target && XK.current.focus(), $ && $(e2);
17415
17415
  }, uq = O, dq = A;
17416
17416
  K && uq === "input" && (dq = BK ? {
17417
17417
  type: void 0,
@@ -17482,13 +17482,13 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
17482
17482
  id: E,
17483
17483
  onAnimationStart: fq,
17484
17484
  name: q,
17485
- placeholder: $,
17485
+ placeholder: LK,
17486
17486
  readOnly: RK,
17487
17487
  required: nq.required,
17488
17488
  rows: BK,
17489
17489
  value: JK,
17490
- onKeyDown: IK,
17491
- onKeyUp: LK,
17490
+ onKeyDown: FK,
17491
+ onKeyUp: IK,
17492
17492
  type: GK,
17493
17493
  ...dq,
17494
17494
  ...!isHostComponent_default(_q) && {
@@ -18584,7 +18584,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18584
18584
  M,
18585
18585
  i,
18586
18586
  a
18587
- ]), z = useJsonViewerStore((e2) => e2.setHover), U = useJsonViewerStore((e2) => e2.value), [K, q] = useInspect(i, t, a), [J, Q] = (0, import_react.useState)(false), PK = useJsonViewerStore((e2) => e2.onChange), FK = useTextColor(), IK = useJsonViewerStore((e2) => e2.colorspace.base0C), LK = useJsonViewerStore((e2) => e2.colorspace.base0A), $ = useJsonViewerStore((e2) => e2.displayComma), RK = useJsonViewerStore((e2) => e2.quotesOnKeys), zK = useJsonViewerStore((e2) => e2.rootName), BK = U === t, VK = Number.isInteger(Number(A)), HK = useJsonViewerStore((e2) => e2.enableAdd), UK = useJsonViewerStore((e2) => e2.onAdd), WK = (0, import_react.useMemo)(() => !UK || a !== void 0 || HK === false || v === false ? false : typeof HK == "function" ? !!HK(i, t) : !!(Array.isArray(t) || isPlainObject(t)), [
18587
+ ]), z = useJsonViewerStore((e2) => e2.setHover), U = useJsonViewerStore((e2) => e2.value), [K, q] = useInspect(i, t, a), [J, Q] = (0, import_react.useState)(false), $ = useJsonViewerStore((e2) => e2.onChange), PK = useTextColor(), FK = useJsonViewerStore((e2) => e2.colorspace.base0C), IK = useJsonViewerStore((e2) => e2.colorspace.base0A), LK = useJsonViewerStore((e2) => e2.displayComma), RK = useJsonViewerStore((e2) => e2.quotesOnKeys), zK = useJsonViewerStore((e2) => e2.rootName), BK = U === t, VK = Number.isInteger(Number(A)), HK = useJsonViewerStore((e2) => e2.enableAdd), UK = useJsonViewerStore((e2) => e2.onAdd), WK = (0, import_react.useMemo)(() => !UK || a !== void 0 || HK === false || v === false ? false : typeof HK == "function" ? !!HK(i, t) : !!(Array.isArray(t) || isPlainObject(t)), [
18588
18588
  UK,
18589
18589
  a,
18590
18590
  i,
@@ -18607,7 +18607,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18607
18607
  (0, import_react.useEffect)(() => {
18608
18608
  $K.current && QK && "animate" in $K.current && $K.current.animate([
18609
18609
  {
18610
- backgroundColor: LK
18610
+ backgroundColor: IK
18611
18611
  },
18612
18612
  {
18613
18613
  backgroundColor: ""
@@ -18617,7 +18617,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18617
18617
  easing: "ease-in"
18618
18618
  });
18619
18619
  }, [
18620
- LK,
18620
+ IK,
18621
18621
  QK,
18622
18622
  n,
18623
18623
  t
@@ -18634,13 +18634,13 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18634
18634
  E
18635
18635
  ]), nq = (0, import_react.useCallback)((e2) => {
18636
18636
  if (Q(false), _) try {
18637
- PK(i, t, _(e2));
18637
+ $(i, t, _(e2));
18638
18638
  } catch {
18639
18639
  }
18640
18640
  }, [
18641
18641
  Q,
18642
18642
  _,
18643
- PK,
18643
+ $,
18644
18644
  i,
18645
18645
  t
18646
18646
  ]), rq = (0, import_react.useMemo)(() => J ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
@@ -18765,7 +18765,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18765
18765
  className: "data-key",
18766
18766
  sx: {
18767
18767
  lineHeight: 1.5,
18768
- color: FK,
18768
+ color: PK,
18769
18769
  letterSpacing: 0.5,
18770
18770
  opacity: 0.8
18771
18771
  },
@@ -18810,7 +18810,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18810
18810
  }) : a === void 0 && (VK ? (0, import_jsx_runtime.jsx)(Box_default, {
18811
18811
  component: "span",
18812
18812
  style: {
18813
- color: IK,
18813
+ color: FK,
18814
18814
  userSelect: VK ? "none" : "auto"
18815
18815
  },
18816
18816
  children: A
@@ -18863,7 +18863,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
18863
18863
  d && (0, import_jsx_runtime.jsx)(d, {
18864
18864
  ...sq
18865
18865
  }),
18866
- !o && $ && (0, import_jsx_runtime.jsx)(DataBox, {
18866
+ !o && LK && (0, import_jsx_runtime.jsx)(DataBox, {
18867
18867
  children: ","
18868
18868
  }),
18869
18869
  I && aq && !K && rq,
@@ -19242,7 +19242,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
19242
19242
  }
19243
19243
  var import_compiler_runtime$54 = require_compiler_runtime();
19244
19244
  const AutoFixButton = (e) => {
19245
- let t = (0, import_compiler_runtime$54.c)(21), { errors: n, cellId: i, className: o } = e, s = useStore(), { createNewCell: c } = useCellActions(), d = useAtomValue(aiEnabledAtom), f;
19245
+ let t = (0, import_compiler_runtime$54.c)(21), { errors: n, cellId: i, className: o } = e, s = useStore(), { createNewCell: c } = useCellActions(), d = useAtomValue(aiFeaturesEnabledAtom), f;
19246
19246
  if (t[0] !== d || t[1] !== n) {
19247
19247
  let e2;
19248
19248
  t[3] === d ? e2 = t[4] : (e2 = (e3) => getAutoFixes(e3, {
@@ -19816,18 +19816,18 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
19816
19816
  }
19817
19817
  let y, S, w, E, O, A;
19818
19818
  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), PK = n.filter(_temp15), FK = n.filter(_temp16), IK = n.filter(_temp17), LK = n.filter(_temp18), $;
19820
- t[17] === s ? $ = t[18] : ($ = () => {
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), $ = n.filter(_temp15), PK = n.filter(_temp16), FK = n.filter(_temp17), IK = n.filter(_temp18), LK;
19820
+ t[17] === s ? LK = t[18] : (LK = () => {
19821
19821
  s.openApplication("scratchpad");
19822
- }, t[17] = s, t[18] = $);
19823
- let RK = $, BK = () => {
19822
+ }, t[17] = s, t[18] = LK);
19823
+ let RK = LK, BK = () => {
19824
19824
  let t2 = [];
19825
- if (FK.length > 0 || IK.length > 0) {
19826
- let e3 = FK.some(_temp19), n2 = !e3 && FK.some(_temp20);
19825
+ if (PK.length > 0 || FK.length > 0) {
19826
+ let e3 = PK.some(_temp19), n2 = !e3 && PK.some(_temp20);
19827
19827
  t2.push((0, import_jsx_runtime.jsxs)("div", {
19828
19828
  children: [
19829
- FK.map(_temp21),
19830
- IK.map(_temp22),
19829
+ PK.map(_temp21),
19830
+ FK.map(_temp22),
19831
19831
  e3 && (0, import_jsx_runtime.jsxs)(Button, {
19832
19832
  size: "xs",
19833
19833
  variant: "outline",
@@ -19858,8 +19858,8 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
19858
19858
  }),
19859
19859
  i && (0, import_jsx_runtime.jsx)(AutoFixButton, {
19860
19860
  errors: [
19861
- ...FK,
19862
- ...IK
19861
+ ...PK,
19862
+ ...FK
19863
19863
  ],
19864
19864
  cellId: i
19865
19865
  })
@@ -20211,19 +20211,19 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
20211
20211
  cellId: i
20212
20212
  })
20213
20213
  ]
20214
- }, "ancestor-prevented")), PK.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("div", {
20214
+ }, "ancestor-prevented")), $.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("div", {
20215
20215
  children: [
20216
- PK.map(_temp34),
20216
+ $.map(_temp34),
20217
20217
  i && (0, import_jsx_runtime.jsx)(AutoFixButton, {
20218
- errors: PK,
20218
+ errors: $,
20219
20219
  cellId: i
20220
20220
  })
20221
20221
  ]
20222
- }, "ancestor-stopped")), LK.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("div", {
20222
+ }, "ancestor-stopped")), IK.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("div", {
20223
20223
  children: [
20224
- LK.map(_temp35),
20224
+ IK.map(_temp35),
20225
20225
  i && (0, import_jsx_runtime.jsx)(AutoFixButton, {
20226
- errors: LK,
20226
+ errors: IK,
20227
20227
  cellId: i,
20228
20228
  className: "mt-2.5"
20229
20229
  })
@@ -23427,112 +23427,171 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
23427
23427
  unknown: []
23428
23428
  };
23429
23429
  var import_compiler_runtime$41 = require_compiler_runtime();
23430
- function renderFormatOptions(e, t) {
23430
+ function FormatOptions(e) {
23431
23431
  var _a2, _b, _c;
23432
- let n = (_a2 = e.columnDef.meta) == null ? void 0 : _a2.dataType, i = n ? formatOptions[n] : [];
23433
- if (i.length === 0 || !((_b = e.getCanFormat) == null ? void 0 : _b.call(e))) return null;
23434
- let o = DATA_TYPE_ICON[n || "unknown"], s = (_c = e.getColumnFormatting) == null ? void 0 : _c.call(e);
23435
- return (0, import_jsx_runtime.jsxs)(DropdownMenuSub, {
23436
- children: [
23437
- (0, import_jsx_runtime.jsxs)(DropdownMenuSubTrigger, {
23432
+ let t = (0, import_compiler_runtime$41.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
+ if (t[0] !== n || t[1] !== o || t[2] !== i) {
23434
+ y = /* @__PURE__ */ Symbol.for("react.early_return_sentinel");
23435
+ bb0: {
23436
+ let e2 = o ? formatOptions[o] : [];
23437
+ if (e2.length === 0 || !((_b = n.getCanFormat) == null ? void 0 : _b.call(n))) {
23438
+ y = null;
23439
+ break bb0;
23440
+ }
23441
+ let S2 = DATA_TYPE_ICON[o || "unknown"], w2;
23442
+ t[11] === n ? w2 = t[12] : (w2 = (_c = n.getColumnFormatting) == null ? void 0 : _c.call(n), t[11] = n, t[12] = w2);
23443
+ let E2 = w2;
23444
+ d = DropdownMenuSub, t[13] === S2 ? v = t[14] : (v = (0, import_jsx_runtime.jsxs)(DropdownMenuSubTrigger, {
23438
23445
  children: [
23439
- (0, import_jsx_runtime.jsx)(o, {
23446
+ (0, import_jsx_runtime.jsx)(S2, {
23440
23447
  className: "mo-dropdown-icon"
23441
23448
  }),
23442
23449
  "Format"
23443
23450
  ]
23444
- }),
23445
- (0, import_jsx_runtime.jsx)(DropdownMenuPortal, {
23446
- children: (0, import_jsx_runtime.jsxs)(DropdownMenuSubContent, {
23447
- children: [
23448
- (0, import_jsx_runtime.jsxs)("div", {
23449
- className: "text-xs text-muted-foreground px-2 py-1",
23450
- children: [
23451
- "Locale: ",
23452
- t
23453
- ]
23454
- }),
23455
- !!s && (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
23456
- children: [
23457
- (0, import_jsx_runtime.jsx)(DropdownMenuItem, {
23458
- variant: "danger",
23459
- onClick: () => e.setColumnFormatting(void 0),
23460
- children: "Clear"
23461
- }, "clear"),
23462
- (0, import_jsx_runtime.jsx)(DropdownMenuSeparator, {})
23463
- ]
23464
- }),
23465
- i.map((n2) => (0, import_jsx_runtime.jsxs)(DropdownMenuItem, {
23466
- onClick: () => e.setColumnFormatting(n2),
23467
- children: [
23468
- (0, import_jsx_runtime.jsx)("span", {
23469
- className: cn(s === n2 && "font-semibold"),
23470
- children: n2
23471
- }),
23472
- (0, import_jsx_runtime.jsx)("span", {
23473
- className: "ml-auto pl-5 text-xs text-muted-foreground",
23474
- children: formattingExample(n2, t)
23475
- })
23476
- ]
23477
- }, n2))
23478
- ]
23479
- })
23480
- })
23451
+ }), t[13] = S2, t[14] = v), c = DropdownMenuPortal, s = DropdownMenuSubContent, t[15] === i ? f = t[16] : (f = (0, import_jsx_runtime.jsxs)("div", {
23452
+ className: "text-xs text-muted-foreground px-2 py-1",
23453
+ children: [
23454
+ "Locale: ",
23455
+ i
23456
+ ]
23457
+ }), t[15] = i, t[16] = f), t[17] !== n || t[18] !== E2 ? (h = !!E2 && (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
23458
+ children: [
23459
+ (0, import_jsx_runtime.jsx)(DropdownMenuItem, {
23460
+ variant: "danger",
23461
+ onClick: () => n.setColumnFormatting(void 0),
23462
+ children: "Clear"
23463
+ }, "clear"),
23464
+ (0, import_jsx_runtime.jsx)(DropdownMenuSeparator, {})
23465
+ ]
23466
+ }), t[17] = n, t[18] = E2, t[19] = h) : h = t[19];
23467
+ let O;
23468
+ t[20] !== n || t[21] !== E2 || t[22] !== i ? (O = (e3) => (0, import_jsx_runtime.jsxs)(DropdownMenuItem, {
23469
+ onClick: () => n.setColumnFormatting(e3),
23470
+ children: [
23471
+ (0, import_jsx_runtime.jsx)("span", {
23472
+ className: cn(E2 === e3 && "font-semibold"),
23473
+ children: e3
23474
+ }),
23475
+ (0, import_jsx_runtime.jsx)("span", {
23476
+ className: "ml-auto pl-5 text-xs text-muted-foreground",
23477
+ children: formattingExample(e3, i)
23478
+ })
23479
+ ]
23480
+ }, e3), t[20] = n, t[21] = E2, t[22] = i, t[23] = O) : O = t[23], _ = e2.map(O);
23481
+ }
23482
+ t[0] = n, t[1] = o, t[2] = i, t[3] = s, t[4] = c, t[5] = d, t[6] = f, t[7] = h, t[8] = _, t[9] = v, t[10] = y;
23483
+ } else s = t[3], c = t[4], d = t[5], f = t[6], h = t[7], _ = t[8], v = t[9], y = t[10];
23484
+ if (y !== /* @__PURE__ */ Symbol.for("react.early_return_sentinel")) return y;
23485
+ let S;
23486
+ t[24] !== s || t[25] !== f || t[26] !== h || t[27] !== _ ? (S = (0, import_jsx_runtime.jsxs)(s, {
23487
+ children: [
23488
+ f,
23489
+ h,
23490
+ _
23481
23491
  ]
23482
- });
23483
- }
23484
- function renderColumnWrapping(e) {
23485
- var _a2;
23486
- return !((_a2 = e.getCanWrap) == null ? void 0 : _a2.call(e)) || !e.getColumnWrapping ? null : e.getColumnWrapping() === "wrap" ? (0, import_jsx_runtime.jsxs)(DropdownMenuItem, {
23487
- onClick: () => e.toggleColumnWrapping("nowrap"),
23492
+ }), t[24] = s, t[25] = f, t[26] = h, t[27] = _, t[28] = S) : S = t[28];
23493
+ let w;
23494
+ t[29] !== c || t[30] !== S ? (w = (0, import_jsx_runtime.jsx)(c, {
23495
+ children: S
23496
+ }), t[29] = c, t[30] = S, t[31] = w) : w = t[31];
23497
+ let E;
23498
+ return t[32] !== d || t[33] !== v || t[34] !== w ? (E = (0, import_jsx_runtime.jsxs)(d, {
23488
23499
  children: [
23489
- (0, import_jsx_runtime.jsx)(TextAlignJustify, {
23490
- className: "mo-dropdown-icon"
23491
- }),
23492
- "No wrap text"
23500
+ v,
23501
+ w
23493
23502
  ]
23494
- }) : (0, import_jsx_runtime.jsxs)(DropdownMenuItem, {
23495
- onClick: () => e.toggleColumnWrapping("wrap"),
23503
+ }), t[32] = d, t[33] = v, t[34] = w, t[35] = E) : E = t[35], E;
23504
+ }
23505
+ function ColumnWrapping(e) {
23506
+ var _a2;
23507
+ let t = (0, import_compiler_runtime$41.c)(10), { column: n } = e;
23508
+ if (!((_a2 = n.getCanWrap) == null ? void 0 : _a2.call(n)) || !n.getColumnWrapping) return null;
23509
+ if (n.getColumnWrapping() === "wrap") {
23510
+ let e2;
23511
+ t[0] === n ? e2 = t[1] : (e2 = () => n.toggleColumnWrapping("nowrap"), t[0] = n, t[1] = e2);
23512
+ let i2;
23513
+ t[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (i2 = (0, import_jsx_runtime.jsx)(TextAlignJustify, {
23514
+ className: "mo-dropdown-icon"
23515
+ }), t[2] = i2) : i2 = t[2];
23516
+ let a2;
23517
+ return t[3] === e2 ? a2 = t[4] : (a2 = (0, import_jsx_runtime.jsxs)(DropdownMenuItem, {
23518
+ onClick: e2,
23519
+ children: [
23520
+ i2,
23521
+ "No wrap text"
23522
+ ]
23523
+ }), t[3] = e2, t[4] = a2), a2;
23524
+ }
23525
+ let i;
23526
+ t[5] === n ? i = t[6] : (i = () => n.toggleColumnWrapping("wrap"), t[5] = n, t[6] = i);
23527
+ let a;
23528
+ t[7] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (a = (0, import_jsx_runtime.jsx)(TextWrap, {
23529
+ className: "mo-dropdown-icon"
23530
+ }), t[7] = a) : a = t[7];
23531
+ let o;
23532
+ return t[8] === i ? o = t[9] : (o = (0, import_jsx_runtime.jsxs)(DropdownMenuItem, {
23533
+ onClick: i,
23496
23534
  children: [
23497
- (0, import_jsx_runtime.jsx)(TextWrap, {
23498
- className: "mo-dropdown-icon"
23499
- }),
23535
+ a,
23500
23536
  "Wrap text"
23501
23537
  ]
23502
- });
23538
+ }), t[8] = i, t[9] = o), o;
23503
23539
  }
23504
- function renderColumnPinning(e) {
23540
+ function ColumnPinning$1(e) {
23505
23541
  var _a2;
23506
- return !((_a2 = e.getCanPin) == null ? void 0 : _a2.call(e)) || !e.getIsPinned ? null : e.getIsPinned() === false ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
23542
+ let t = (0, import_compiler_runtime$41.c)(18), { column: n } = e;
23543
+ if (!((_a2 = n.getCanPin) == null ? void 0 : _a2.call(n)) || !n.getIsPinned) return null;
23544
+ if (n.getIsPinned() !== false) {
23545
+ let e2;
23546
+ t[0] === n ? e2 = t[1] : (e2 = () => n.pin(false), t[0] = n, t[1] = e2);
23547
+ let i2;
23548
+ t[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (i2 = (0, import_jsx_runtime.jsx)(PinOff, {
23549
+ className: "mo-dropdown-icon"
23550
+ }), t[2] = i2) : i2 = t[2];
23551
+ let a2;
23552
+ return t[3] === e2 ? a2 = t[4] : (a2 = (0, import_jsx_runtime.jsxs)(DropdownMenuItem, {
23553
+ onClick: e2,
23554
+ children: [
23555
+ i2,
23556
+ "Unfreeze"
23557
+ ]
23558
+ }), t[3] = e2, t[4] = a2), a2;
23559
+ }
23560
+ let i;
23561
+ t[5] === n ? i = t[6] : (i = () => n.pin("left"), t[5] = n, t[6] = i);
23562
+ let a;
23563
+ t[7] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (a = (0, import_jsx_runtime.jsx)(PinLeftIcon, {
23564
+ className: "mo-dropdown-icon"
23565
+ }), t[7] = a) : a = t[7];
23566
+ let o;
23567
+ t[8] === i ? o = t[9] : (o = (0, import_jsx_runtime.jsxs)(DropdownMenuItem, {
23568
+ onClick: i,
23507
23569
  children: [
23508
- (0, import_jsx_runtime.jsxs)(DropdownMenuItem, {
23509
- onClick: () => e.pin("left"),
23510
- children: [
23511
- (0, import_jsx_runtime.jsx)(PinLeftIcon, {
23512
- className: "mo-dropdown-icon"
23513
- }),
23514
- "Freeze left"
23515
- ]
23516
- }),
23517
- (0, import_jsx_runtime.jsxs)(DropdownMenuItem, {
23518
- onClick: () => e.pin("right"),
23519
- children: [
23520
- (0, import_jsx_runtime.jsx)(PinRightIcon, {
23521
- className: "mo-dropdown-icon"
23522
- }),
23523
- "Freeze right"
23524
- ]
23525
- })
23570
+ a,
23571
+ "Freeze left"
23526
23572
  ]
23527
- }) : (0, import_jsx_runtime.jsxs)(DropdownMenuItem, {
23528
- onClick: () => e.pin(false),
23573
+ }), t[8] = i, t[9] = o);
23574
+ let s;
23575
+ t[10] === n ? s = t[11] : (s = () => n.pin("right"), t[10] = n, t[11] = s);
23576
+ let c;
23577
+ t[12] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (c = (0, import_jsx_runtime.jsx)(PinRightIcon, {
23578
+ className: "mo-dropdown-icon"
23579
+ }), t[12] = c) : c = t[12];
23580
+ let d;
23581
+ t[13] === s ? d = t[14] : (d = (0, import_jsx_runtime.jsxs)(DropdownMenuItem, {
23582
+ onClick: s,
23529
23583
  children: [
23530
- (0, import_jsx_runtime.jsx)(PinOff, {
23531
- className: "mo-dropdown-icon"
23532
- }),
23533
- "Unfreeze"
23584
+ c,
23585
+ "Freeze right"
23534
23586
  ]
23535
- });
23587
+ }), t[13] = s, t[14] = d);
23588
+ let f;
23589
+ return t[15] !== o || t[16] !== d ? (f = (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
23590
+ children: [
23591
+ o,
23592
+ d
23593
+ ]
23594
+ }), t[15] = o, t[16] = d, t[17] = f) : f = t[17], f;
23536
23595
  }
23537
23596
  function HideColumn(e) {
23538
23597
  let t = (0, import_compiler_runtime$41.c)(5), { column: n } = e;
@@ -23552,26 +23611,41 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
23552
23611
  ]
23553
23612
  }), t[3] = i, t[4] = o), o;
23554
23613
  }
23555
- function renderCopyColumn(e) {
23614
+ function CopyColumn(e) {
23556
23615
  var _a2;
23557
- return !((_a2 = e.getCanCopy) == null ? void 0 : _a2.call(e)) || e.id.startsWith("__m_column__") ? null : (0, import_jsx_runtime.jsxs)(DropdownMenuItem, {
23558
- onClick: async () => await copyToClipboard(e.id),
23616
+ let t = (0, import_compiler_runtime$41.c)(5), { column: n } = e;
23617
+ if (!((_a2 = n.getCanCopy) == null ? void 0 : _a2.call(n)) || n.id.startsWith("__m_column__")) return null;
23618
+ let i;
23619
+ t[0] === n.id ? i = t[1] : (i = async () => await copyToClipboard(n.id), t[0] = n.id, t[1] = i);
23620
+ let a;
23621
+ t[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (a = (0, import_jsx_runtime.jsx)(Copy, {
23622
+ className: "mo-dropdown-icon"
23623
+ }), t[2] = a) : a = t[2];
23624
+ let o;
23625
+ return t[3] === i ? o = t[4] : (o = (0, import_jsx_runtime.jsxs)(DropdownMenuItem, {
23626
+ onClick: i,
23559
23627
  children: [
23560
- (0, import_jsx_runtime.jsx)(Copy, {
23561
- className: "mo-dropdown-icon"
23562
- }),
23628
+ a,
23563
23629
  "Copy column name"
23564
23630
  ]
23565
- });
23631
+ }), t[3] = i, t[4] = o), o;
23566
23632
  }
23567
23633
  var AscIcon = ArrowUpNarrowWide, DescIcon = ArrowDownWideNarrow;
23568
- function renderSorts(e, t) {
23569
- if (!e.getCanSort()) return null;
23570
- let n = e.getIsSorted(), i = e.getSortIndex(), a = t == null ? void 0 : t.getState().sorting, o = (a == null ? void 0 : a.length) && a.length > 1, s = () => (0, import_jsx_runtime.jsx)("span", {
23634
+ function Sorts(e) {
23635
+ let t = (0, import_compiler_runtime$41.c)(40), { column: n, table: i } = e;
23636
+ if (!n.getCanSort()) return null;
23637
+ let a;
23638
+ t[0] === n ? a = t[1] : (a = n.getIsSorted(), t[0] = n, t[1] = a);
23639
+ let o = a, s = n.getSortIndex(), c;
23640
+ t[2] === i ? c = t[3] : (c = i == null ? void 0 : i.getState().sorting, t[2] = i, t[3] = c);
23641
+ let d = c, f = (d == null ? void 0 : d.length) && d.length > 1, h;
23642
+ t[4] === s ? h = t[5] : (h = () => (0, import_jsx_runtime.jsx)("span", {
23571
23643
  className: "ml-auto text-xs font-medium",
23572
- children: i + 1
23573
- }), c = () => n ? o ? (0, import_jsx_runtime.jsxs)(DropdownMenuItem, {
23574
- onClick: () => t == null ? void 0 : t.resetSorting(),
23644
+ children: s + 1
23645
+ }), t[4] = s, t[5] = h);
23646
+ let _ = h, v;
23647
+ t[6] !== n || t[7] !== f || t[8] !== o || t[9] !== i ? (v = () => o ? f ? (0, import_jsx_runtime.jsxs)(DropdownMenuItem, {
23648
+ onClick: () => i == null ? void 0 : i.resetSorting(),
23575
23649
  children: [
23576
23650
  (0, import_jsx_runtime.jsx)(ChevronsUpDown, {
23577
23651
  className: "mo-dropdown-icon"
@@ -23579,47 +23653,68 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
23579
23653
  "Clear all sorts"
23580
23654
  ]
23581
23655
  }) : (0, import_jsx_runtime.jsxs)(DropdownMenuItem, {
23582
- onClick: () => e.clearSorting(),
23656
+ onClick: () => n.clearSorting(),
23583
23657
  children: [
23584
23658
  (0, import_jsx_runtime.jsx)(ChevronsUpDown, {
23585
23659
  className: "mo-dropdown-icon"
23586
23660
  }),
23587
23661
  "Clear sort"
23588
23662
  ]
23589
- }) : null, d = (t2) => {
23590
- if (n === t2) e.clearSorting();
23663
+ }) : null, t[6] = n, t[7] = f, t[8] = o, t[9] = i, t[10] = v) : v = t[10];
23664
+ let y = v, S;
23665
+ t[11] !== n || t[12] !== o ? (S = (e2) => {
23666
+ if (o === e2) n.clearSorting();
23591
23667
  else {
23592
- let n2 = t2 === "desc";
23593
- e.toggleSorting(n2, true);
23668
+ let t2 = e2 === "desc";
23669
+ n.toggleSorting(t2, true);
23594
23670
  }
23595
- };
23596
- return (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
23671
+ }, t[11] = n, t[12] = o, t[13] = S) : S = t[13];
23672
+ let w = S, E;
23673
+ t[14] === w ? E = t[15] : (E = () => w("asc"), t[14] = w, t[15] = E);
23674
+ let O = o === "asc" ? "bg-accent" : "", A;
23675
+ t[16] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (A = (0, import_jsx_runtime.jsx)(AscIcon, {
23676
+ className: "mo-dropdown-icon"
23677
+ }), t[16] = A) : A = t[16];
23678
+ let M;
23679
+ t[17] !== _ || t[18] !== o ? (M = o === "asc" && _(), t[17] = _, t[18] = o, t[19] = M) : M = t[19];
23680
+ let I;
23681
+ t[20] !== E || t[21] !== O || t[22] !== M ? (I = (0, import_jsx_runtime.jsxs)(DropdownMenuItem, {
23682
+ onClick: E,
23683
+ className: O,
23597
23684
  children: [
23598
- (0, import_jsx_runtime.jsxs)(DropdownMenuItem, {
23599
- onClick: () => d("asc"),
23600
- className: n === "asc" ? "bg-accent" : "",
23601
- children: [
23602
- (0, import_jsx_runtime.jsx)(AscIcon, {
23603
- className: "mo-dropdown-icon"
23604
- }),
23605
- "Asc",
23606
- n === "asc" && s()
23607
- ]
23608
- }),
23609
- (0, import_jsx_runtime.jsxs)(DropdownMenuItem, {
23610
- onClick: () => d("desc"),
23611
- className: n === "desc" ? "bg-accent" : "",
23612
- children: [
23613
- (0, import_jsx_runtime.jsx)(DescIcon, {
23614
- className: "mo-dropdown-icon"
23615
- }),
23616
- "Desc",
23617
- n === "desc" && s()
23618
- ]
23619
- }),
23620
- c()
23685
+ A,
23686
+ "Asc",
23687
+ M
23621
23688
  ]
23622
- });
23689
+ }), t[20] = E, t[21] = O, t[22] = M, t[23] = I) : I = t[23];
23690
+ let z;
23691
+ t[24] === w ? z = t[25] : (z = () => w("desc"), t[24] = w, t[25] = z);
23692
+ let U = o === "desc" ? "bg-accent" : "", K;
23693
+ t[26] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (K = (0, import_jsx_runtime.jsx)(DescIcon, {
23694
+ className: "mo-dropdown-icon"
23695
+ }), t[26] = K) : K = t[26];
23696
+ let q;
23697
+ t[27] !== _ || t[28] !== o ? (q = o === "desc" && _(), t[27] = _, t[28] = o, t[29] = q) : q = t[29];
23698
+ let J;
23699
+ t[30] !== z || t[31] !== U || t[32] !== q ? (J = (0, import_jsx_runtime.jsxs)(DropdownMenuItem, {
23700
+ onClick: z,
23701
+ className: U,
23702
+ children: [
23703
+ K,
23704
+ "Desc",
23705
+ q
23706
+ ]
23707
+ }), t[30] = z, t[31] = U, t[32] = q, t[33] = J) : J = t[33];
23708
+ let Q;
23709
+ t[34] === y ? Q = t[35] : (Q = y(), t[34] = y, t[35] = Q);
23710
+ let $;
23711
+ return t[36] !== I || t[37] !== J || t[38] !== Q ? ($ = (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
23712
+ children: [
23713
+ I,
23714
+ J,
23715
+ Q
23716
+ ]
23717
+ }), t[36] = I, t[37] = J, t[38] = Q, t[39] = $) : $ = t[39], $;
23623
23718
  }
23624
23719
  function renderSortIcon(e) {
23625
23720
  if (!e.getCanSort()) return null;
@@ -23628,18 +23723,24 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
23628
23723
  className: "h-3 w-3"
23629
23724
  });
23630
23725
  }
23631
- function renderDataType(e) {
23726
+ function DataType(e) {
23632
23727
  var _a2;
23633
- let t = (_a2 = e.columnDef.meta) == null ? void 0 : _a2.dtype;
23634
- return t ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
23728
+ let t = (0, import_compiler_runtime$41.c)(5), { column: n } = e, i = (_a2 = n.columnDef.meta) == null ? void 0 : _a2.dtype;
23729
+ if (!i) return null;
23730
+ let a;
23731
+ t[0] === i ? a = t[1] : (a = (0, import_jsx_runtime.jsx)("div", {
23732
+ className: "flex-1 px-2 text-xs text-muted-foreground font-bold",
23733
+ children: i
23734
+ }), t[0] = i, t[1] = a);
23735
+ let o;
23736
+ t[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (o = (0, import_jsx_runtime.jsx)(DropdownMenuSeparator, {}), t[2] = o) : o = t[2];
23737
+ let s;
23738
+ return t[3] === a ? s = t[4] : (s = (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
23635
23739
  children: [
23636
- (0, import_jsx_runtime.jsx)("div", {
23637
- className: "flex-1 px-2 text-xs text-muted-foreground font-bold",
23638
- children: t
23639
- }),
23640
- (0, import_jsx_runtime.jsx)(DropdownMenuSeparator, {})
23740
+ a,
23741
+ o
23641
23742
  ]
23642
- }) : null;
23743
+ }), t[3] = a, t[4] = s), s;
23643
23744
  }
23644
23745
  const ClearFilterMenuItem = (e) => {
23645
23746
  let t = (0, import_compiler_runtime$41.c)(5), { column: n } = e, i;
@@ -23713,12 +23814,26 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
23713
23814
  (0, import_jsx_runtime.jsxs)(DropdownMenuContent, {
23714
23815
  align: "start",
23715
23816
  children: [
23716
- renderDataType(e),
23717
- renderSorts(e, s),
23718
- renderCopyColumn(e),
23719
- renderColumnPinning(e),
23720
- renderColumnWrapping(e),
23721
- renderFormatOptions(e, c),
23817
+ (0, import_jsx_runtime.jsx)(DataType, {
23818
+ column: e
23819
+ }),
23820
+ (0, import_jsx_runtime.jsx)(Sorts, {
23821
+ column: e,
23822
+ table: s
23823
+ }),
23824
+ (0, import_jsx_runtime.jsx)(CopyColumn, {
23825
+ column: e
23826
+ }),
23827
+ (0, import_jsx_runtime.jsx)(ColumnPinning$1, {
23828
+ column: e
23829
+ }),
23830
+ (0, import_jsx_runtime.jsx)(ColumnWrapping, {
23831
+ column: e
23832
+ }),
23833
+ (0, import_jsx_runtime.jsx)(FormatOptions, {
23834
+ column: e,
23835
+ locale: c
23836
+ }),
23722
23837
  (0, import_jsx_runtime.jsx)(HideColumn, {
23723
23838
  column: e
23724
23839
  }),
@@ -26189,7 +26304,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
26189
26304
  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 }) {
26190
26305
  let E = (0, import_react.useContext)(PanelGroupContext);
26191
26306
  if (E === null) throw Error("Panel components must be rendered within a PanelGroup container");
26192
- let { collapsePanel: O, expandPanel: A, getPanelSize: M, getPanelStyle: I, groupId: z, isPanelCollapsed: U, reevaluatePanelConstraints: K, registerPanel: q, resizePanel: J, unregisterPanel: Q } = E, PK = useUniqueId(s), FK = (0, import_react.useRef)({
26307
+ let { collapsePanel: O, expandPanel: A, getPanelSize: M, getPanelStyle: I, groupId: z, isPanelCollapsed: U, reevaluatePanelConstraints: K, registerPanel: q, resizePanel: J, unregisterPanel: Q } = E, $ = useUniqueId(s), PK = (0, import_react.useRef)({
26193
26308
  callbacks: {
26194
26309
  onCollapse: f,
26195
26310
  onExpand: h,
@@ -26202,72 +26317,72 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
26202
26317
  maxSize: c,
26203
26318
  minSize: d
26204
26319
  },
26205
- id: PK,
26320
+ id: $,
26206
26321
  idIsFromProps: s !== void 0,
26207
26322
  order: v
26208
26323
  });
26209
26324
  (0, import_react.useRef)({
26210
26325
  didLogMissingDefaultSizeWarning: false
26211
26326
  }), useIsomorphicLayoutEffect$1(() => {
26212
- let { callbacks: e2, constraints: t2 } = FK.current, o2 = {
26327
+ let { callbacks: e2, constraints: t2 } = PK.current, o2 = {
26213
26328
  ...t2
26214
26329
  };
26215
- FK.current.id = PK, FK.current.idIsFromProps = s !== void 0, FK.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(FK.current, o2);
26330
+ PK.current.id = $, PK.current.idIsFromProps = s !== void 0, PK.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(PK.current, o2);
26216
26331
  }), useIsomorphicLayoutEffect$1(() => {
26217
- let e2 = FK.current;
26332
+ let e2 = PK.current;
26218
26333
  return q(e2), () => {
26219
26334
  Q(e2);
26220
26335
  };
26221
26336
  }, [
26222
26337
  v,
26223
- PK,
26338
+ $,
26224
26339
  q,
26225
26340
  Q
26226
26341
  ]), (0, import_react.useImperativeHandle)(o, () => ({
26227
26342
  collapse: () => {
26228
- O(FK.current);
26343
+ O(PK.current);
26229
26344
  },
26230
26345
  expand: (e2) => {
26231
- A(FK.current, e2);
26346
+ A(PK.current, e2);
26232
26347
  },
26233
26348
  getId() {
26234
- return PK;
26349
+ return $;
26235
26350
  },
26236
26351
  getSize() {
26237
- return M(FK.current);
26352
+ return M(PK.current);
26238
26353
  },
26239
26354
  isCollapsed() {
26240
- return U(FK.current);
26355
+ return U(PK.current);
26241
26356
  },
26242
26357
  isExpanded() {
26243
- return !U(FK.current);
26358
+ return !U(PK.current);
26244
26359
  },
26245
26360
  resize: (e2) => {
26246
- J(FK.current, e2);
26361
+ J(PK.current, e2);
26247
26362
  }
26248
26363
  }), [
26249
26364
  O,
26250
26365
  A,
26251
26366
  M,
26252
26367
  U,
26253
- PK,
26368
+ $,
26254
26369
  J
26255
26370
  ]);
26256
- let IK = I(FK.current, a);
26371
+ let FK = I(PK.current, a);
26257
26372
  return (0, import_react.createElement)(S, {
26258
26373
  ...w,
26259
26374
  children: e,
26260
26375
  className: t,
26261
- id: PK,
26376
+ id: $,
26262
26377
  style: {
26263
- ...IK,
26378
+ ...FK,
26264
26379
  ...y
26265
26380
  },
26266
26381
  [DATA_ATTRIBUTES.groupId]: z,
26267
26382
  [DATA_ATTRIBUTES.panel]: "",
26268
26383
  [DATA_ATTRIBUTES.panelCollapsible]: i || void 0,
26269
- [DATA_ATTRIBUTES.panelId]: PK,
26270
- [DATA_ATTRIBUTES.panelSize]: parseFloat("" + IK.flexGrow).toFixed(1)
26384
+ [DATA_ATTRIBUTES.panelId]: $,
26385
+ [DATA_ATTRIBUTES.panelSize]: parseFloat("" + FK.flexGrow).toFixed(1)
26271
26386
  });
26272
26387
  }
26273
26388
  Panel = (0, import_react.forwardRef)((e, t) => (0, import_react.createElement)(PanelWithForwardedRef, {
@@ -27040,7 +27155,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27040
27155
  }, []), Q = (0, import_react.useCallback)((e2) => {
27041
27156
  let { layout: t2, panelDataArray: n2 } = K.current, { panelSize: i2 } = panelDataHelper(n2, e2, t2);
27042
27157
  return assert(i2 != null, `Panel size not found for panel "${e2.id}"`), i2;
27043
- }, []), PK = (0, import_react.useCallback)((e2, t2) => {
27158
+ }, []), $ = (0, import_react.useCallback)((e2, t2) => {
27044
27159
  let { panelDataArray: n2 } = K.current;
27045
27160
  return computePanelFlexBoxStyle({
27046
27161
  defaultSize: t2,
@@ -27052,13 +27167,13 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27052
27167
  }, [
27053
27168
  S,
27054
27169
  E
27055
- ]), FK = (0, import_react.useCallback)((e2) => {
27170
+ ]), PK = (0, import_react.useCallback)((e2) => {
27056
27171
  let { layout: t2, panelDataArray: n2 } = K.current, { collapsedSize: i2 = 0, collapsible: a2, panelSize: o2 } = panelDataHelper(n2, e2, t2);
27057
27172
  return assert(o2 != null, `Panel size not found for panel "${e2.id}"`), a2 === true && fuzzyNumbersEqual$1(o2, i2);
27058
- }, []), IK = (0, import_react.useCallback)((e2) => {
27173
+ }, []), FK = (0, import_react.useCallback)((e2) => {
27059
27174
  let { layout: t2, panelDataArray: n2 } = K.current, { collapsedSize: i2 = 0, collapsible: a2, panelSize: o2 } = panelDataHelper(n2, e2, t2);
27060
27175
  return assert(o2 != null, `Panel size not found for panel "${e2.id}"`), !a2 || fuzzyCompareNumbers(o2, i2) > 0;
27061
- }, []), LK = (0, import_react.useCallback)((e2) => {
27176
+ }, []), IK = (0, import_react.useCallback)((e2) => {
27062
27177
  let { panelDataArray: t2 } = K.current;
27063
27178
  t2.push(e2), t2.sort((e3, t3) => {
27064
27179
  let n2 = e3.order, i2 = t3.order;
@@ -27090,7 +27205,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27090
27205
  e2.layout = [];
27091
27206
  };
27092
27207
  }, []);
27093
- let $ = (0, import_react.useCallback)((e2) => {
27208
+ let LK = (0, import_react.useCallback)((e2) => {
27094
27209
  let t2 = false, n2 = y.current;
27095
27210
  return n2 && window.getComputedStyle(n2, null).getPropertyValue("direction") === "rtl" && (t2 = true), function(n3) {
27096
27211
  n3.preventDefault();
@@ -27150,13 +27265,13 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27150
27265
  dragState: S,
27151
27266
  expandPanel: J,
27152
27267
  getPanelSize: Q,
27153
- getPanelStyle: PK,
27268
+ getPanelStyle: $,
27154
27269
  groupId: v,
27155
- isPanelCollapsed: FK,
27156
- isPanelExpanded: IK,
27270
+ isPanelCollapsed: PK,
27271
+ isPanelExpanded: FK,
27157
27272
  reevaluatePanelConstraints: zK,
27158
- registerPanel: LK,
27159
- registerResizeHandle: $,
27273
+ registerPanel: IK,
27274
+ registerResizeHandle: LK,
27160
27275
  resizePanel: RK,
27161
27276
  startDragging: BK,
27162
27277
  stopDragging: VK,
@@ -27168,13 +27283,13 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27168
27283
  i,
27169
27284
  J,
27170
27285
  Q,
27171
- PK,
27286
+ $,
27172
27287
  v,
27288
+ PK,
27173
27289
  FK,
27174
- IK,
27175
27290
  zK,
27291
+ IK,
27176
27292
  LK,
27177
- $,
27178
27293
  RK,
27179
27294
  BK,
27180
27295
  VK,
@@ -27272,16 +27387,16 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27272
27387
  });
27273
27388
  let O = (0, import_react.useContext)(PanelGroupContext);
27274
27389
  if (O === null) throw Error("PanelResizeHandle components must be rendered within a PanelGroup container");
27275
- let { direction: A, groupId: M, registerResizeHandle: I, startDragging: z, stopDragging: U, panelGroupElement: K } = O, q = useUniqueId(a), [J, Q] = (0, import_react.useState)("inactive"), [PK, FK] = (0, import_react.useState)(false), [IK, LK] = (0, import_react.useState)(null), $ = (0, import_react.useRef)({
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"), [$, PK] = (0, import_react.useState)(false), [FK, IK] = (0, import_react.useState)(null), LK = (0, import_react.useRef)({
27276
27391
  state: J
27277
27392
  });
27278
27393
  useIsomorphicLayoutEffect$1(() => {
27279
- $.current.state = J;
27394
+ LK.current.state = J;
27280
27395
  }), (0, import_react.useEffect)(() => {
27281
- if (n) LK(null);
27396
+ if (n) IK(null);
27282
27397
  else {
27283
27398
  let e2 = I(q);
27284
- LK(() => e2);
27399
+ IK(() => e2);
27285
27400
  }
27286
27401
  }, [
27287
27402
  n,
@@ -27290,7 +27405,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27290
27405
  ]);
27291
27406
  let RK = (i == null ? void 0 : i.coarse) ?? 15, zK = (i == null ? void 0 : i.fine) ?? 5;
27292
27407
  (0, import_react.useEffect)(() => {
27293
- if (n || IK == null) return;
27408
+ if (n || FK == null) return;
27294
27409
  let e2 = w.current;
27295
27410
  assert(e2, "Element ref not attached");
27296
27411
  let t2 = false;
@@ -27310,8 +27425,8 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27310
27425
  break;
27311
27426
  }
27312
27427
  case "move": {
27313
- let { state: e4 } = $.current;
27314
- t2 = true, e4 !== "drag" && Q("hover"), assert(i2, 'Expected event to be defined for "move" action'), IK(i2);
27428
+ let { state: e4 } = LK.current;
27429
+ t2 = true, e4 !== "drag" && Q("hover"), assert(i2, 'Expected event to be defined for "move" action'), FK(i2);
27315
27430
  break;
27316
27431
  }
27317
27432
  case "up": {
@@ -27329,13 +27444,13 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27329
27444
  zK,
27330
27445
  I,
27331
27446
  q,
27332
- IK,
27447
+ FK,
27333
27448
  z,
27334
27449
  U
27335
27450
  ]), useWindowSplitterResizeHandlerBehavior({
27336
27451
  disabled: n,
27337
27452
  handleId: q,
27338
- resizeHandler: IK,
27453
+ resizeHandler: FK,
27339
27454
  panelGroupElement: K
27340
27455
  });
27341
27456
  let BK = {
@@ -27348,10 +27463,10 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27348
27463
  className: t,
27349
27464
  id: a,
27350
27465
  onBlur: () => {
27351
- FK(false), o == null ? void 0 : o();
27466
+ PK(false), o == null ? void 0 : o();
27352
27467
  },
27353
27468
  onFocus: () => {
27354
- FK(true), d == null ? void 0 : d();
27469
+ PK(true), d == null ? void 0 : d();
27355
27470
  },
27356
27471
  ref: w,
27357
27472
  role: "separator",
@@ -27363,7 +27478,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27363
27478
  [DATA_ATTRIBUTES.groupDirection]: A,
27364
27479
  [DATA_ATTRIBUTES.groupId]: M,
27365
27480
  [DATA_ATTRIBUTES.resizeHandle]: "",
27366
- [DATA_ATTRIBUTES.resizeHandleActive]: J === "drag" ? "pointer" : PK ? "keyboard" : void 0,
27481
+ [DATA_ATTRIBUTES.resizeHandleActive]: J === "drag" ? "pointer" : $ ? "keyboard" : void 0,
27367
27482
  [DATA_ATTRIBUTES.resizeHandleEnabled]: !n,
27368
27483
  [DATA_ATTRIBUTES.resizeHandleId]: q,
27369
27484
  [DATA_ATTRIBUTES.resizeHandleState]: J
@@ -27655,7 +27770,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27655
27770
  }, [
27656
27771
  h
27657
27772
  ]), k(() => {
27658
- U(6, IK);
27773
+ U(6, FK);
27659
27774
  }, []);
27660
27775
  let K = import_react.useMemo(() => ({
27661
27776
  subscribe: (e2) => (s.current.add(e2), () => s.current.delete(e2)),
@@ -27664,7 +27779,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27664
27779
  var _a2;
27665
27780
  var a2, o2, s2;
27666
27781
  if (!Object.is(n.current[e2], t2)) {
27667
- if (n.current[e2] = t2, e2 === "search") FK(), Q(), U(1, PK);
27782
+ if (n.current[e2] = t2, e2 === "search") PK(), Q(), U(1, $);
27668
27783
  else if (e2 === "value") {
27669
27784
  if (document.activeElement.hasAttribute("cmdk-input") || document.activeElement.hasAttribute("cmdk-root")) {
27670
27785
  let e3 = document.getElementById(I);
@@ -27672,8 +27787,8 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27672
27787
  }
27673
27788
  if (U(7, () => {
27674
27789
  var _a3;
27675
- n.current.selectedItemId = (_a3 = LK()) == null ? void 0 : _a3.id, K.emit();
27676
- }), i2 || U(5, IK), ((_a2 = c.current) == null ? void 0 : _a2.value) !== void 0) {
27790
+ n.current.selectedItemId = (_a3 = IK()) == null ? void 0 : _a3.id, K.emit();
27791
+ }), i2 || U(5, FK), ((_a2 = c.current) == null ? void 0 : _a2.value) !== void 0) {
27677
27792
  let e3 = t2 ?? "";
27678
27793
  (s2 = (o2 = c.current).onValueChange) == null || s2.call(o2, e3);
27679
27794
  return;
@@ -27698,12 +27813,12 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27698
27813
  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([
27699
27814
  e2
27700
27815
  ]))), U(3, () => {
27701
- FK(), Q(), n.current.value || PK(), K.emit();
27816
+ PK(), Q(), n.current.value || $(), K.emit();
27702
27817
  }), () => {
27703
27818
  o.current.delete(e2), i.current.delete(e2), n.current.filtered.items.delete(e2);
27704
- let t3 = LK();
27819
+ let t3 = IK();
27705
27820
  U(4, () => {
27706
- FK(), (t3 == null ? void 0 : t3.getAttribute("id")) === e2 && PK(), K.emit();
27821
+ PK(), (t3 == null ? void 0 : t3.getAttribute("id")) === e2 && $(), K.emit();
27707
27822
  });
27708
27823
  }),
27709
27824
  group: (e2) => (a.current.has(e2) || a.current.set(e2, /* @__PURE__ */ new Set()), () => {
@@ -27736,7 +27851,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27736
27851
  ]);
27737
27852
  });
27738
27853
  let i2 = z.current;
27739
- $().sort((t3, n2) => {
27854
+ LK().sort((t3, n2) => {
27740
27855
  let i3 = t3.getAttribute("id"), a2 = n2.getAttribute("id");
27741
27856
  return (e2.get(a2) ?? 0) - (e2.get(i3) ?? 0);
27742
27857
  }).forEach((e3) => {
@@ -27748,12 +27863,12 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27748
27863
  t3 == null ? void 0 : t3.parentElement.appendChild(t3);
27749
27864
  });
27750
27865
  }
27751
- function PK() {
27866
+ function $() {
27752
27867
  var _a2;
27753
- let e2 = (_a2 = $().find((e3) => e3.getAttribute("aria-disabled") !== "true")) == null ? void 0 : _a2.getAttribute(T);
27868
+ let e2 = (_a2 = LK().find((e3) => e3.getAttribute("aria-disabled") !== "true")) == null ? void 0 : _a2.getAttribute(T);
27754
27869
  K.setState("value", e2 || void 0);
27755
27870
  }
27756
- function FK() {
27871
+ function PK() {
27757
27872
  var _a2, _b;
27758
27873
  if (!n.current.search || c.current.shouldFilter === false) {
27759
27874
  n.current.filtered.count = i.current.size;
@@ -27771,40 +27886,40 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27771
27886
  }
27772
27887
  n.current.filtered.count = e2;
27773
27888
  }
27774
- function IK() {
27889
+ function FK() {
27775
27890
  var _a2, _b;
27776
27891
  var e2;
27777
- let t2 = LK();
27892
+ let t2 = IK();
27778
27893
  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({
27779
27894
  block: "nearest"
27780
27895
  })), t2.scrollIntoView({
27781
27896
  block: "nearest"
27782
27897
  }));
27783
27898
  }
27784
- function LK() {
27899
+ function IK() {
27785
27900
  var _a2;
27786
27901
  return (_a2 = z.current) == null ? void 0 : _a2.querySelector(`${le}[aria-selected="true"]`);
27787
27902
  }
27788
- function $() {
27903
+ function LK() {
27789
27904
  var _a2;
27790
27905
  return Array.from(((_a2 = z.current) == null ? void 0 : _a2.querySelectorAll(ce$1)) || []);
27791
27906
  }
27792
27907
  function RK(e2) {
27793
- let t2 = $()[e2];
27908
+ let t2 = LK()[e2];
27794
27909
  t2 && K.setState("value", t2.getAttribute(T));
27795
27910
  }
27796
27911
  function zK(e2) {
27797
27912
  var t2;
27798
- let n2 = LK(), i2 = $(), a2 = i2.findIndex((e3) => e3 === n2), o2 = i2[a2 + e2];
27913
+ let n2 = IK(), i2 = LK(), a2 = i2.findIndex((e3) => e3 === n2), o2 = i2[a2 + e2];
27799
27914
  (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));
27800
27915
  }
27801
27916
  function BK(e2) {
27802
27917
  var _a2;
27803
- let t2 = (_a2 = LK()) == null ? void 0 : _a2.closest(N$1), n2;
27918
+ let t2 = (_a2 = IK()) == null ? void 0 : _a2.closest(N$1), n2;
27804
27919
  for (; t2 && !n2; ) t2 = e2 > 0 ? we(t2, N$1) : De(t2, N$1), n2 = t2 == null ? void 0 : t2.querySelector(ce$1);
27805
27920
  n2 ? K.setState("value", n2.getAttribute(T)) : zK(e2);
27806
27921
  }
27807
- let VK = () => RK($().length - 1), HK = (e2) => {
27922
+ let VK = () => RK(LK().length - 1), HK = (e2) => {
27808
27923
  e2.preventDefault(), e2.metaKey ? VK() : e2.altKey ? BK(1) : zK(1);
27809
27924
  }, UK = (e2) => {
27810
27925
  e2.preventDefault(), e2.metaKey ? RK(0) : e2.altKey ? BK(-1) : zK(-1);
@@ -27841,7 +27956,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
27841
27956
  break;
27842
27957
  case "Enter": {
27843
27958
  e2.preventDefault();
27844
- let t3 = LK();
27959
+ let t3 = IK();
27845
27960
  if (t3) {
27846
27961
  let e3 = new Event(Z);
27847
27962
  t3.dispatchEvent(e3);
@@ -28250,7 +28365,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
28250
28365
  Combobox = (e) => {
28251
28366
  let t = (0, import_compiler_runtime$30.c)(103), n, i, o, s, c, d, f, h, _, v, y, S, w, E, O, A, M, I, z, U, K, q, J;
28252
28367
  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);
28253
- let Q = M === void 0 ? false : M, PK = I === void 0 ? true : I, FK = z === void 0 ? "Search..." : z, IK = U === void 0 ? "Nothing found." : U, LK = K === void 0 ? false : K, $ = q === void 0 ? false : q, RK = s ?? false, zK;
28368
+ let Q = M === void 0 ? false : M, $ = I === void 0 ? true : I, PK = z === void 0 ? "Search..." : z, FK = U === void 0 ? "Nothing found." : U, IK = K === void 0 ? false : K, LK = q === void 0 ? false : q, RK = s ?? false, zK;
28254
28369
  t[24] !== v || t[25] !== w || t[26] !== RK ? (zK = {
28255
28370
  prop: w,
28256
28371
  defaultProp: RK,
@@ -28285,14 +28400,14 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
28285
28400
  KK(t2), (_ ?? Q) || VK(false);
28286
28401
  }, t[36] = _, t[37] = Q, t[38] = VK, t[39] = KK, t[40] = GK, t[41] = YK) : YK = t[41];
28287
28402
  let XK = YK, ZK;
28288
- t[42] !== LK || t[43] !== d || t[44] !== Q || t[45] !== E || t[46] !== GK ? (ZK = () => Q && LK && E ? E : GK == null ? E ?? "--" : Array.isArray(GK) ? GK.length === 0 ? E ?? "--" : GK.length === 1 && d !== void 0 ? d(GK[0]) : `${GK.length} selected` : d === void 0 ? E ?? "--" : d(GK), t[42] = LK, t[43] = d, t[44] = Q, t[45] = E, t[46] = GK, t[47] = ZK) : ZK = t[47];
28403
+ t[42] !== IK || t[43] !== d || t[44] !== Q || t[45] !== E || t[46] !== GK ? (ZK = () => Q && IK && E ? E : GK == null ? E ?? "--" : Array.isArray(GK) ? GK.length === 0 ? E ?? "--" : GK.length === 1 && d !== void 0 ? d(GK[0]) : `${GK.length} selected` : d === void 0 ? E ?? "--" : d(GK), t[42] = IK, t[43] = d, t[44] = Q, t[45] = E, t[46] = GK, t[47] = ZK) : ZK = t[47];
28289
28404
  let QK = ZK, $K;
28290
28405
  t[48] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? ($K = cn("relative"), t[48] = $K) : $K = t[48];
28291
28406
  let eq;
28292
- t[49] !== $ || t[50] !== VK ? (eq = (e2) => {
28293
- $ && e2 || VK(e2);
28294
- }, t[49] = $, t[50] = VK, t[51] = eq) : eq = t[51];
28295
- let tq = $ && "cursor-not-allowed opacity-50", nq;
28407
+ t[49] !== LK || t[50] !== VK ? (eq = (e2) => {
28408
+ LK && e2 || VK(e2);
28409
+ }, t[49] = LK, t[50] = VK, t[51] = eq) : eq = t[51];
28410
+ let tq = LK && "cursor-not-allowed opacity-50", nq;
28296
28411
  t[52] !== o || t[53] !== tq ? (nq = 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", tq, o), t[52] = o, t[53] = tq, t[54] = nq) : nq = t[54];
28297
28412
  let rq;
28298
28413
  t[55] === QK ? rq = t[56] : (rq = QK(), t[55] = QK, t[56] = rq);
@@ -28306,32 +28421,32 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
28306
28421
  className: "ml-3 w-4 h-4 opacity-50 shrink-0"
28307
28422
  }), t[59] = oq) : oq = t[59];
28308
28423
  let cq;
28309
- t[60] !== $ || t[61] !== h || t[62] !== HK || t[63] !== nq || t[64] !== aq ? (cq = (0, import_jsx_runtime.jsx)(PopoverTrigger, {
28424
+ t[60] !== LK || t[61] !== h || t[62] !== HK || t[63] !== nq || t[64] !== aq ? (cq = (0, import_jsx_runtime.jsx)(PopoverTrigger, {
28310
28425
  asChild: true,
28311
28426
  children: (0, import_jsx_runtime.jsxs)("button", {
28312
28427
  id: h,
28313
28428
  type: "button",
28314
28429
  className: nq,
28315
28430
  "aria-expanded": HK,
28316
- "aria-disabled": $,
28431
+ "aria-disabled": LK,
28317
28432
  children: [
28318
28433
  aq,
28319
28434
  oq
28320
28435
  ]
28321
28436
  })
28322
- }), t[60] = $, t[61] = h, t[62] = HK, t[63] = nq, t[64] = aq, t[65] = cq) : cq = t[65];
28437
+ }), t[60] = LK, t[61] = h, t[62] = HK, t[63] = nq, t[64] = aq, t[65] = cq) : cq = t[65];
28323
28438
  let lq;
28324
- t[66] !== FK || t[67] !== y || t[68] !== A ? (lq = (0, import_jsx_runtime.jsx)(CommandInput, {
28325
- placeholder: FK,
28439
+ t[66] !== PK || t[67] !== y || t[68] !== A ? (lq = (0, import_jsx_runtime.jsx)(CommandInput, {
28440
+ placeholder: PK,
28326
28441
  rootClassName: "px-1 h-8",
28327
28442
  autoFocus: true,
28328
28443
  value: A,
28329
28444
  onValueChange: y
28330
- }), t[66] = FK, t[67] = y, t[68] = A, t[69] = lq) : lq = t[69];
28445
+ }), t[66] = PK, t[67] = y, t[68] = A, t[69] = lq) : lq = t[69];
28331
28446
  let uq;
28332
- t[70] === IK ? uq = t[71] : (uq = (0, import_jsx_runtime.jsx)(CommandEmpty, {
28333
- children: IK
28334
- }), t[70] = IK, t[71] = uq);
28447
+ t[70] === FK ? uq = t[71] : (uq = (0, import_jsx_runtime.jsx)(CommandEmpty, {
28448
+ children: FK
28449
+ }), t[70] = FK, t[71] = uq);
28335
28450
  let dq;
28336
28451
  t[72] !== XK || t[73] !== JK ? (dq = {
28337
28452
  isSelected: JK,
@@ -28351,18 +28466,18 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
28351
28466
  ]
28352
28467
  }), t[78] = uq, t[79] = fq, t[80] = pq) : pq = t[80];
28353
28468
  let mq;
28354
- t[81] !== f || t[82] !== PK || t[83] !== lq || t[84] !== pq ? (mq = (0, import_jsx_runtime.jsx)(PopoverContent, {
28469
+ t[81] !== f || t[82] !== $ || t[83] !== lq || t[84] !== pq ? (mq = (0, import_jsx_runtime.jsx)(PopoverContent, {
28355
28470
  className: "w-full min-w-(--radix-popover-trigger-width) p-0",
28356
28471
  align: "start",
28357
28472
  children: (0, import_jsx_runtime.jsxs)(Command, {
28358
28473
  filter: f,
28359
- shouldFilter: PK,
28474
+ shouldFilter: $,
28360
28475
  children: [
28361
28476
  lq,
28362
28477
  pq
28363
28478
  ]
28364
28479
  })
28365
- }), t[81] = f, t[82] = PK, t[83] = lq, t[84] = pq, t[85] = mq) : mq = t[85];
28480
+ }), t[81] = f, t[82] = $, t[83] = lq, t[84] = pq, t[85] = mq) : mq = t[85];
28366
28481
  let hq;
28367
28482
  t[86] !== HK || t[87] !== eq || t[88] !== cq || t[89] !== mq ? (hq = (0, import_jsx_runtime.jsxs)(Popover, {
28368
28483
  open: HK,
@@ -28373,7 +28488,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
28373
28488
  ]
28374
28489
  }), t[86] = HK, t[87] = eq, t[88] = cq, t[89] = mq, t[90] = hq) : hq = t[90];
28375
28490
  let gq;
28376
- t[91] !== LK || t[92] !== i || t[93] !== $ || t[94] !== d || t[95] !== XK || t[96] !== Q || t[97] !== GK ? (gq = Q && LK && (0, import_jsx_runtime.jsx)("div", {
28491
+ t[91] !== IK || t[92] !== i || t[93] !== LK || t[94] !== d || t[95] !== XK || t[96] !== Q || t[97] !== GK ? (gq = Q && IK && (0, import_jsx_runtime.jsx)("div", {
28377
28492
  className: cn("flex flex-col gap-1 items-start", i),
28378
28493
  children: Array.isArray(GK) && GK.map((e2) => e2 == null ? null : (0, import_jsx_runtime.jsxs)(Badge, {
28379
28494
  variant: "secondary",
@@ -28381,13 +28496,13 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
28381
28496
  (d == null ? void 0 : d(e2)) ?? String(e2),
28382
28497
  (0, import_jsx_runtime.jsx)(CircleX, {
28383
28498
  onClick: () => {
28384
- $ || XK(e2);
28499
+ LK || XK(e2);
28385
28500
  },
28386
- className: cn("w-3 h-3 opacity-50 hover:opacity-100 ml-1 cursor-pointer", $ && "pointer-events-none")
28501
+ className: cn("w-3 h-3 opacity-50 hover:opacity-100 ml-1 cursor-pointer", LK && "pointer-events-none")
28387
28502
  })
28388
28503
  ]
28389
28504
  }, String(e2)))
28390
- }), t[91] = LK, t[92] = i, t[93] = $, t[94] = d, t[95] = XK, t[96] = Q, t[97] = GK, t[98] = gq) : gq = t[98];
28505
+ }), t[91] = IK, t[92] = i, t[93] = LK, t[94] = d, t[95] = XK, t[96] = Q, t[97] = GK, t[98] = gq) : gq = t[98];
28391
28506
  let _q;
28392
28507
  return t[99] !== O || t[100] !== hq || t[101] !== gq ? (_q = (0, import_jsx_runtime.jsxs)("div", {
28393
28508
  className: $K,
@@ -29524,13 +29639,13 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
29524
29639
  id: v,
29525
29640
  operator: e2
29526
29641
  });
29527
- }, PK = buildFilterValue({
29642
+ }, $ = buildFilterValue({
29528
29643
  type: S,
29529
29644
  operator: E,
29530
29645
  draft: mergeNumberTextDraft(A, I)
29531
- }), FK = PK === void 0, IK = FK ? getMissingValueMessage(S, E) : "Apply filter", LK = () => {
29532
- if (!PK) return;
29533
- let e2 = PK;
29646
+ }), PK = $ === void 0, FK = PK ? getMissingValueMessage(S, E) : "Apply filter", IK = () => {
29647
+ if (!$) return;
29648
+ let e2 = $;
29534
29649
  t.setColumnFilters((t2) => {
29535
29650
  if (a === void 0) return [
29536
29651
  {
@@ -29547,7 +29662,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
29547
29662
  value: e2
29548
29663
  }, n2;
29549
29664
  }), i();
29550
- }, $ = () => {
29665
+ }, LK = () => {
29551
29666
  a !== void 0 && t.setColumnFilters((e2) => e2.filter((e3, t2) => t2 !== a)), i();
29552
29667
  }, RK = !OPERATORS_WITHOUT_VALUE.has(E), zK = OPERATORS_BY_TYPE[S], BK = (0, import_react.useRef)(null), VK = (0, import_react.useRef)(null);
29553
29668
  return (0, import_react.useEffect)(() => {
@@ -29560,7 +29675,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
29560
29675
  ]), (0, import_jsx_runtime.jsxs)("form", {
29561
29676
  className: "flex flex-row gap-4 items-end p-3",
29562
29677
  onSubmit: (e2) => {
29563
- e2.preventDefault(), LK();
29678
+ e2.preventDefault(), IK();
29564
29679
  },
29565
29680
  onKeyDownCapture: (e2) => {
29566
29681
  e2.key === "Tab" && e2.stopPropagation();
@@ -29644,14 +29759,14 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
29644
29759
  className: "flex gap-1 mb-1",
29645
29760
  children: [
29646
29761
  (0, import_jsx_runtime.jsx)(Tooltip, {
29647
- content: IK,
29762
+ content: FK,
29648
29763
  children: (0, import_jsx_runtime.jsx)("span", {
29649
29764
  className: "inline-flex",
29650
29765
  children: (0, import_jsx_runtime.jsx)(Button, {
29651
29766
  type: "submit",
29652
29767
  size: "icon",
29653
29768
  variant: "ghost",
29654
- disabled: FK,
29769
+ disabled: PK,
29655
29770
  className: "rounded-full text-primary hover:text-primary hover:bg-primary/10",
29656
29771
  "aria-label": "Apply filter",
29657
29772
  children: (0, import_jsx_runtime.jsx)(Check, {
@@ -29683,7 +29798,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
29683
29798
  size: "icon",
29684
29799
  variant: "ghost",
29685
29800
  className: "rounded-full text-destructive hover:text-destructive hover:bg-destructive/10",
29686
- onClick: $,
29801
+ onClick: LK,
29687
29802
  "aria-label": "Remove filter",
29688
29803
  children: (0, import_jsx_runtime.jsx)(Trash2, {
29689
29804
  className: "h-3.5 w-3.5",
@@ -32959,7 +33074,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
32959
33074
  filename: i2.filename
32960
33075
  };
32961
33076
  }, t[6] = e, t[7] = A);
32962
- let M = A, I, z, U, K, q, J, Q, PK, FK, IK, LK, $, RK;
33077
+ let M = A, I, z, U, K, q, J, Q, $, PK, FK, IK, LK, RK;
32963
33078
  if (t[8] !== O || t[9] !== d || t[10] !== i || t[11] !== n || t[12] !== M || t[13] !== f) {
32964
33079
  let e2 = async (t2) => {
32965
33080
  let n2 = labelForDownloadFormat(t2);
@@ -33023,14 +33138,14 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
33023
33138
  asChild: true,
33024
33139
  disabled: d,
33025
33140
  children: h
33026
- }), t[30] = d, t[31] = h, t[32] = _2) : _2 = t[32], t[33] !== s2 || t[34] !== _2 || t[35] !== f ? (PK = (0, import_jsx_runtime.jsx)(Tooltip, {
33141
+ }), t[30] = d, t[31] = h, t[32] = _2) : _2 = t[32], t[33] !== s2 || t[34] !== _2 || t[35] !== f ? ($ = (0, import_jsx_runtime.jsx)(Tooltip, {
33027
33142
  content: f,
33028
33143
  open: s2,
33029
33144
  children: _2
33030
- }), t[33] = s2, t[34] = _2, t[35] = f, t[36] = PK) : PK = t[36], I = DropdownMenuContent, FK = "bottom", IK = "print:hidden", t[37] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (LK = (0, import_jsx_runtime.jsx)(DropdownMenuLabel, {
33145
+ }), t[33] = s2, t[34] = _2, t[35] = f, t[36] = $) : $ = t[36], I = DropdownMenuContent, PK = "bottom", FK = "print:hidden", t[37] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (IK = (0, import_jsx_runtime.jsx)(DropdownMenuLabel, {
33031
33146
  className: "text-xs text-muted-foreground",
33032
33147
  children: "Download"
33033
- }), t[37] = LK) : LK = t[37], $ = downloadOptions.map((t2) => (0, import_jsx_runtime.jsxs)(DropdownMenuItem, {
33148
+ }), t[37] = IK) : IK = t[37], LK = downloadOptions.map((t2) => (0, import_jsx_runtime.jsxs)(DropdownMenuItem, {
33034
33149
  onSelect: () => {
33035
33150
  e2(t2.format);
33036
33151
  },
@@ -33083,30 +33198,30 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
33083
33198
  ]
33084
33199
  })
33085
33200
  ]
33086
- }, e3.label)), t[8] = O, t[9] = d, t[10] = i, t[11] = n, t[12] = M, t[13] = f, t[14] = I, t[15] = z, t[16] = U, t[17] = K, t[18] = q, t[19] = J, t[20] = Q, t[21] = PK, t[22] = FK, t[23] = IK, t[24] = LK, t[25] = $, t[26] = RK;
33087
- } else I = t[14], z = t[15], U = t[16], K = t[17], q = t[18], J = t[19], Q = t[20], PK = t[21], FK = t[22], IK = t[23], LK = t[24], $ = t[25], RK = t[26];
33201
+ }, e3.label)), t[8] = O, t[9] = d, t[10] = i, t[11] = n, t[12] = M, t[13] = f, t[14] = I, t[15] = z, t[16] = U, t[17] = K, t[18] = q, t[19] = J, t[20] = Q, t[21] = $, t[22] = PK, t[23] = FK, t[24] = IK, t[25] = LK, t[26] = RK;
33202
+ } else I = t[14], z = t[15], U = t[16], K = t[17], q = t[18], J = t[19], Q = t[20], $ = t[21], PK = t[22], FK = t[23], IK = t[24], LK = t[25], RK = t[26];
33088
33203
  let zK;
33089
- t[40] !== I || t[41] !== U || t[42] !== K || t[43] !== FK || t[44] !== IK || t[45] !== LK || t[46] !== $ || t[47] !== RK ? (zK = (0, import_jsx_runtime.jsxs)(I, {
33090
- side: FK,
33091
- className: IK,
33204
+ t[40] !== I || t[41] !== U || t[42] !== K || t[43] !== PK || t[44] !== FK || t[45] !== IK || t[46] !== LK || t[47] !== RK ? (zK = (0, import_jsx_runtime.jsxs)(I, {
33205
+ side: PK,
33206
+ className: FK,
33092
33207
  children: [
33208
+ IK,
33093
33209
  LK,
33094
- $,
33095
33210
  RK,
33096
33211
  U,
33097
33212
  K
33098
33213
  ]
33099
- }), t[40] = I, t[41] = U, t[42] = K, t[43] = FK, t[44] = IK, t[45] = LK, t[46] = $, t[47] = RK, t[48] = zK) : zK = t[48];
33214
+ }), t[40] = I, t[41] = U, t[42] = K, t[43] = PK, t[44] = FK, t[45] = IK, t[46] = LK, t[47] = RK, t[48] = zK) : zK = t[48];
33100
33215
  let BK;
33101
- return t[49] !== z || t[50] !== q || t[51] !== J || t[52] !== Q || t[53] !== PK || t[54] !== zK ? (BK = (0, import_jsx_runtime.jsxs)(z, {
33216
+ return t[49] !== z || t[50] !== q || t[51] !== J || t[52] !== Q || t[53] !== $ || t[54] !== zK ? (BK = (0, import_jsx_runtime.jsxs)(z, {
33102
33217
  modal: q,
33103
33218
  open: J,
33104
33219
  onOpenChange: Q,
33105
33220
  children: [
33106
- PK,
33221
+ $,
33107
33222
  zK
33108
33223
  ]
33109
- }), t[49] = z, t[50] = q, t[51] = J, t[52] = Q, t[53] = PK, t[54] = zK, t[55] = BK) : BK = t[55], BK;
33224
+ }), t[49] = z, t[50] = q, t[51] = J, t[52] = Q, t[53] = $, t[54] = zK, t[55] = BK) : BK = t[55], BK;
33110
33225
  };
33111
33226
  function fetchJson(e) {
33112
33227
  return fetchText(e).then(jsonParseWithSpecialChar);
@@ -33199,7 +33314,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
33199
33314
  ]
33200
33315
  }) : null;
33201
33316
  };
33202
- 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: PK, getRowIds: FK, enableSearch: IK = false, searchQuery: LK, onSearchQueryChange: $, showFilters: RK = false, filters: zK, onFiltersChange: BK, calculateTopKRows: VK, reloading: HK, freezeColumnsLeft: UK, freezeColumnsRight: WK, hiddenColumns: GK, toggleDisplayHeader: KK, showChartBuilder: qK, isChartBuilderOpen: JK, showPageSizeSelector: YK, showTableExplorer: XK, togglePanel: ZK, isPanelOpen: QK, isAnyPanelOpen: $K, viewedRowIdx: eq, onViewedRowChange: tq, renderTableExplorerPanel: nq }) => {
33317
+ DataTable = (0, import_react.memo)(({ wrapperClassName: e, className: t, maxHeight: n, columns: i, data: o, rawData: s, selection: c, totalColumns: d, totalRows: f, sizeBytes: _, sizeBytesIsLoading: v, manualSorting: y = false, sorting: S, setSorting: w, rowSelection: E, cellSelection: O, cellStyling: A, hoverTemplate: M, cellHoverTexts: I, paginationState: z, setPaginationState: U, downloadAs: K, manualPagination: q = false, pagination: J = false, onRowSelectionChange: Q, onCellSelectionChange: $, getRowIds: PK, enableSearch: FK = false, searchQuery: IK, onSearchQueryChange: LK, showFilters: RK = false, filters: zK, onFiltersChange: BK, calculateTopKRows: VK, reloading: HK, freezeColumnsLeft: UK, freezeColumnsRight: WK, hiddenColumns: GK, toggleDisplayHeader: KK, showChartBuilder: qK, isChartBuilderOpen: JK, showPageSizeSelector: YK, showTableExplorer: XK, togglePanel: ZK, isPanelOpen: QK, isAnyPanelOpen: $K, viewedRowIdx: eq, onViewedRowChange: tq, renderTableExplorerPanel: nq }) => {
33203
33318
  let [rq, iq] = import_react.useState(false), { locale: aq } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), { columnPinning: oq, setColumnPinning: sq } = useColumnPinning(UK, WK), { columnVisibility: cq, setColumnVisibility: lq } = useColumnVisibility(GK);
33204
33319
  import_react.useEffect(() => {
33205
33320
  let e2;
@@ -33256,7 +33371,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
33256
33371
  getFilteredRowModel: getFilteredRowModel(),
33257
33372
  onColumnFiltersChange: BK,
33258
33373
  onRowSelectionChange: Q,
33259
- onCellSelectionChange: PK,
33374
+ onCellSelectionChange: $,
33260
33375
  enableCellSelection: c === "single-cell" || c === "multi-cell",
33261
33376
  enableMultiCellSelection: c === "multi-cell",
33262
33377
  onColumnPinningChange: sq,
@@ -33316,9 +33431,9 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
33316
33431
  className: cn(t || "rounded-md border overflow-hidden"),
33317
33432
  children: [
33318
33433
  (0, import_jsx_runtime.jsx)(TableTopBar, {
33319
- enableSearch: IK,
33320
- searchQuery: LK,
33321
- onSearchQueryChange: $,
33434
+ enableSearch: FK,
33435
+ searchQuery: IK,
33436
+ onSearchQueryChange: LK,
33322
33437
  reloading: HK,
33323
33438
  showChartBuilder: qK,
33324
33439
  isChartBuilderOpen: JK,
@@ -33370,7 +33485,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
33370
33485
  selection: c,
33371
33486
  onRowSelectionChange: Q,
33372
33487
  table: dq,
33373
- getRowIds: FK,
33488
+ getRowIds: PK,
33374
33489
  showPageSizeSelector: YK,
33375
33490
  tableLoading: HK,
33376
33491
  togglePanel: ZK
@@ -33452,7 +33567,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
33452
33567
  }), t[0] = i, t[1] = o);
33453
33568
  let s = o, c;
33454
33569
  t[2] === i ? c = t[3] : (c = lastLine(i), t[2] = i, t[3] = c);
33455
- let d = c, f = useAtomValue(aiEnabledAtom), _;
33570
+ let d = c, f = useAtomValue(aiFeaturesEnabledAtom), _;
33456
33571
  t[4] === i ? _ = t[5] : (_ = (_a2 = extractAllTracebackInfo(i)) == null ? void 0 : _a2.at(0), t[4] = i, t[5] = _);
33457
33572
  let v = _, y;
33458
33573
  t[6] !== a || t[7] !== v ? (y = v && v.kind === "cell" && !isWasm() && !isStaticNotebook() && a !== "__scratch__", t[6] = a, t[7] = v, t[8] = y) : y = t[8];
@@ -33469,34 +33584,34 @@ ${d}`,
33469
33584
  }, t[12] = d, t[13] = n, t[14] = U) : U = t[14];
33470
33585
  let K = U, q;
33471
33586
  t[15] === I ? q = t[16] : (q = () => z(!I), t[15] = I, t[16] = q);
33472
- let J = I ? "Collapse traceback" : "Expand traceback", PK;
33473
- t[17] === I ? PK = t[18] : (PK = I ? (0, import_jsx_runtime.jsx)(ChevronDown, {
33587
+ let J = I ? "Collapse traceback" : "Expand traceback", $;
33588
+ t[17] === I ? $ = t[18] : ($ = I ? (0, import_jsx_runtime.jsx)(ChevronDown, {
33474
33589
  className: "h-3 w-3"
33475
33590
  }) : (0, import_jsx_runtime.jsx)(ChevronRight, {
33476
33591
  className: "h-3 w-3"
33477
- }), t[17] = I, t[18] = PK);
33478
- let IK;
33479
- t[19] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (IK = (0, import_jsx_runtime.jsx)("span", {
33592
+ }), t[17] = I, t[18] = $);
33593
+ let FK;
33594
+ t[19] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (FK = (0, import_jsx_runtime.jsx)("span", {
33480
33595
  className: "text-[0.6875rem] uppercase tracking-wider",
33481
33596
  children: "Traceback"
33482
- }), t[19] = IK) : IK = t[19];
33483
- let LK;
33484
- t[20] !== I || t[21] !== q || t[22] !== J || t[23] !== PK ? (LK = (0, import_jsx_runtime.jsxs)("button", {
33597
+ }), t[19] = FK) : FK = t[19];
33598
+ let IK;
33599
+ t[20] !== I || t[21] !== q || t[22] !== J || t[23] !== $ ? (IK = (0, import_jsx_runtime.jsxs)("button", {
33485
33600
  type: "button",
33486
33601
  onClick: q,
33487
33602
  "aria-expanded": I,
33488
33603
  "aria-label": J,
33489
33604
  className: "self-start flex items-center gap-1 pt-2 text-muted-foreground/70 hover:text-muted-foreground transition-colors",
33490
33605
  children: [
33491
- PK,
33492
- IK
33606
+ $,
33607
+ FK
33493
33608
  ]
33494
- }), t[20] = I, t[21] = q, t[22] = J, t[23] = PK, t[24] = LK) : LK = t[24];
33495
- let $;
33496
- t[25] !== s || t[26] !== I ? ($ = I && (0, import_jsx_runtime.jsx)("div", {
33609
+ }), t[20] = I, t[21] = q, t[22] = J, t[23] = $, t[24] = IK) : IK = t[24];
33610
+ let LK;
33611
+ t[25] !== s || t[26] !== I ? (LK = I && (0, import_jsx_runtime.jsx)("div", {
33497
33612
  className: "text-muted-foreground pr-4 text-xs overflow-auto",
33498
33613
  children: s
33499
- }), t[25] = s, t[26] = I, t[27] = $) : $ = t[27];
33614
+ }), t[25] = s, t[26] = I, t[27] = LK) : LK = t[27];
33500
33615
  let RK;
33501
33616
  t[28] !== K || t[29] !== A ? (RK = A && (0, import_jsx_runtime.jsx)(AIFixButton, {
33502
33617
  tooltip: "Fix with AI",
@@ -33602,14 +33717,14 @@ ${d}`,
33602
33717
  ]
33603
33718
  }), t[37] = RK, t[38] = zK, t[39] = BK, t[40] = VK) : VK = t[40];
33604
33719
  let HK;
33605
- return t[41] !== LK || t[42] !== $ || t[43] !== VK ? (HK = (0, import_jsx_runtime.jsxs)("div", {
33720
+ return t[41] !== IK || t[42] !== LK || t[43] !== VK ? (HK = (0, import_jsx_runtime.jsxs)("div", {
33606
33721
  className: "flex flex-col gap-2 min-w-full w-fit",
33607
33722
  children: [
33723
+ IK,
33608
33724
  LK,
33609
- $,
33610
33725
  VK
33611
33726
  ]
33612
- }), t[41] = LK, t[42] = $, t[43] = VK, t[44] = HK) : HK = t[44], HK;
33727
+ }), t[41] = IK, t[42] = LK, t[43] = VK, t[44] = HK) : HK = t[44], HK;
33613
33728
  };
33614
33729
  function lastLine(e) {
33615
33730
  var _a2, _b;
@@ -35001,7 +35116,7 @@ ${d}`,
35001
35116
  return Logger.warn("Failed to get version from mount config"), null;
35002
35117
  }
35003
35118
  }
35004
- marimoVersionAtom = atom(getVersionFromMountConfig() || "0.23.9-dev33");
35119
+ marimoVersionAtom = atom(getVersionFromMountConfig() || "0.23.9-dev36");
35005
35120
  showCodeInRunModeAtom = atom(true);
35006
35121
  atom(null);
35007
35122
  var import_compiler_runtime = require_compiler_runtime();