@marimo-team/islands 0.22.1-dev37 → 0.22.1-dev39

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 (172) hide show
  1. package/dist/{ConnectedDataExplorerComponent-DTOsfq2x.js → ConnectedDataExplorerComponent-DuD8BVl6.js} +2 -2
  2. package/dist/{Plot-WhbJAbBh.js → Plot-BxlSHo0G.js} +47 -38
  3. package/dist/{chat-ui-CJCTr1kq.js → chat-ui-Cel1kBfc.js} +1 -1
  4. package/dist/{glide-data-editor-BQPLhydy.js → glide-data-editor-BqnvTmDo.js} +1712 -1681
  5. package/dist/main.js +360 -354
  6. package/dist/{process-output-D0SEeV3t.js → process-output-DC1TOnIl.js} +1 -1
  7. package/dist/{spec-CiHus5Bb.js → spec-CD7QaCV-.js} +1 -1
  8. package/dist/style.css +1 -1
  9. package/dist/useLifecycle-4fA1pHoh.js +177 -0
  10. package/package.json +1 -1
  11. package/src/__mocks__/common.ts +4 -4
  12. package/src/components/chat/acp/agent-panel.tsx +2 -2
  13. package/src/components/data-table/__tests__/columns.test.tsx +7 -7
  14. package/src/components/data-table/cell-hover-template/types.ts +1 -1
  15. package/src/components/data-table/cell-hover-text/types.ts +1 -1
  16. package/src/components/data-table/cell-selection/__tests__/feature.test.ts +1 -1
  17. package/src/components/data-table/cell-selection/types.ts +1 -1
  18. package/src/components/data-table/cell-styling/types.ts +1 -1
  19. package/src/components/data-table/charts/chart-spec/altair-generator.ts +2 -2
  20. package/src/components/data-table/column-formatting/types.ts +2 -2
  21. package/src/components/data-table/column-summary/legacy-chart-spec.ts +1 -1
  22. package/src/components/data-table/column-wrapping/types.ts +1 -1
  23. package/src/components/data-table/copy-column/types.ts +1 -1
  24. package/src/components/data-table/focus-row/types.ts +1 -1
  25. package/src/components/data-table/loading-table.tsx +1 -1
  26. package/src/components/data-table/range-focus/__tests__/atoms.test.ts +2 -2
  27. package/src/components/data-table/range-focus/atoms.ts +2 -2
  28. package/src/components/dependency-graph/dependency-graph-tree.tsx +1 -1
  29. package/src/components/editor/__tests__/dynamic-favicon.test.tsx +1 -1
  30. package/src/components/editor/actions/pair-with-agent-modal.tsx +142 -0
  31. package/src/components/editor/actions/useNotebookActions.tsx +10 -0
  32. package/src/components/editor/ai/ai-completion-editor.tsx +1 -1
  33. package/src/components/editor/app-container.tsx +1 -1
  34. package/src/components/editor/chrome/panels/empty-state.tsx +1 -0
  35. package/src/components/editor/controls/keyboard-shortcuts.tsx +1 -1
  36. package/src/components/editor/navigation/__tests__/navigation.test.ts +1 -1
  37. package/src/components/editor/navigation/navigation.ts +1 -1
  38. package/src/components/editor/notebook-cell.tsx +1 -1
  39. package/src/components/editor/output/JsonOutput.tsx +4 -4
  40. package/src/components/editor/output/ansi-reduce.ts +2 -2
  41. package/src/components/editor/output/console/ConsoleOutput.tsx +1 -1
  42. package/src/components/editor/renderers/cells-renderer.tsx +1 -1
  43. package/src/components/editor/renderers/grid-layout/grid-layout.tsx +1 -1
  44. package/src/components/editor/renderers/plugins.ts +1 -1
  45. package/src/components/editor/renderers/slides-layout/types.ts +2 -2
  46. package/src/components/editor/renderers/vertical-layout/__tests__/useFocusFirstEditor.test.ts +2 -2
  47. package/src/components/editor/renderers/vertical-layout/__tests__/vertical-layout.test.ts +1 -1
  48. package/src/components/find-replace/find-replace.tsx +3 -1
  49. package/src/components/forms/form.tsx +1 -1
  50. package/src/components/forms/options.ts +1 -1
  51. package/src/components/static-html/static-banner.tsx +2 -2
  52. package/src/components/terminal/terminal.tsx +4 -4
  53. package/src/components/ui/button.tsx +1 -1
  54. package/src/components/ui/command.tsx +1 -1
  55. package/src/core/ai/context/providers/__tests__/datasource.test.ts +1 -1
  56. package/src/core/ai/context/providers/__tests__/error.test.ts +1 -1
  57. package/src/core/ai/context/providers/__tests__/variable.test.ts +1 -1
  58. package/src/core/ai/context/registry.ts +2 -2
  59. package/src/core/ai/tools/registry.ts +1 -1
  60. package/src/core/cells/__tests__/cells.test.ts +2 -2
  61. package/src/core/cells/__tests__/scrollCellIntoView.test.ts +1 -1
  62. package/src/core/cells/__tests__/session.test.ts +1 -1
  63. package/src/core/cells/__tests__/utils.test.ts +1 -1
  64. package/src/core/cells/cells.ts +1 -1
  65. package/src/core/cells/ids.ts +1 -1
  66. package/src/core/codemirror/ai/request.ts +1 -1
  67. package/src/core/codemirror/copilot/__tests__/language-server.test.ts +1 -1
  68. package/src/core/codemirror/copilot/__tests__/transport.test.ts +1 -1
  69. package/src/core/codemirror/copilot/language-server.ts +1 -1
  70. package/src/core/codemirror/copilot/types.ts +1 -1
  71. package/src/core/codemirror/facet.ts +1 -1
  72. package/src/core/codemirror/language/__tests__/sql.test.ts +4 -4
  73. package/src/core/codemirror/language/languages/sql/completion-builder.ts +1 -1
  74. package/src/core/codemirror/language/metadata.ts +1 -1
  75. package/src/core/codemirror/language/types.ts +1 -1
  76. package/src/core/codemirror/lsp/__tests__/notebook-lsp.test.ts +1 -1
  77. package/src/core/codemirror/lsp/notebook-lsp.ts +1 -1
  78. package/src/core/codemirror/misc/__tests__/dnd.test.ts +1 -1
  79. package/src/core/codemirror/rtc/loro/awareness.ts +1 -1
  80. package/src/core/config/feature-flag.tsx +1 -1
  81. package/src/core/dom/outline.ts +1 -1
  82. package/src/core/export/__tests__/hooks.test.ts +1 -1
  83. package/src/core/hotkeys/__tests__/hotkeys.test.ts +1 -1
  84. package/src/core/hotkeys/shortcuts.ts +1 -1
  85. package/src/core/islands/__tests__/bridge.test.ts +2 -2
  86. package/src/core/islands/bridge.ts +2 -2
  87. package/src/core/islands/components/output-wrapper.tsx +1 -1
  88. package/src/core/islands/parse.ts +1 -1
  89. package/src/core/lsp/__tests__/transport.test.ts +1 -1
  90. package/src/core/network/DeferredRequestRegistry.ts +1 -1
  91. package/src/core/network/__tests__/requests-network.test.ts +1 -1
  92. package/src/core/network/api.ts +2 -2
  93. package/src/core/network/requests-lazy.ts +1 -1
  94. package/src/core/network/requests-toasting.tsx +1 -1
  95. package/src/core/static/files.ts +1 -1
  96. package/src/core/vscode/vscode-bindings.ts +1 -1
  97. package/src/core/wasm/bridge.ts +3 -3
  98. package/src/core/wasm/worker/tracer.ts +1 -1
  99. package/src/core/websocket/useWebSocket.tsx +2 -2
  100. package/src/css/globals.css +37 -61
  101. package/src/custom.d.ts +1 -1
  102. package/src/hooks/__tests__/useDuplicateShortcuts.test.ts +2 -2
  103. package/src/hooks/debug.ts +3 -3
  104. package/src/hooks/useDebounce.ts +1 -1
  105. package/src/hooks/useEventListener.ts +1 -1
  106. package/src/hooks/useHotkey.ts +1 -1
  107. package/src/hooks/useLifecycle.ts +2 -2
  108. package/src/hooks/useNonce.ts +1 -1
  109. package/src/hooks/useResizeObserver.ts +2 -2
  110. package/src/main.tsx +1 -1
  111. package/src/plugins/core/RenderHTML.tsx +3 -3
  112. package/src/plugins/core/__test__/registerReactComponent.test.ts +1 -1
  113. package/src/plugins/core/registerReactComponent.tsx +4 -4
  114. package/src/plugins/core/rpc.ts +1 -1
  115. package/src/plugins/impl/DataTablePlugin.tsx +1 -1
  116. package/src/plugins/impl/FileBrowserPlugin.tsx +1 -1
  117. package/src/plugins/impl/FormPlugin.tsx +1 -1
  118. package/src/plugins/impl/__tests__/MatrixPlugin.test.tsx +1 -1
  119. package/src/plugins/impl/anywidget/AnyWidgetPlugin.tsx +1 -1
  120. package/src/plugins/impl/anywidget/model.ts +1 -1
  121. package/src/plugins/impl/anywidget/types.ts +2 -2
  122. package/src/plugins/impl/anywidget/widget-binding.ts +1 -1
  123. package/src/plugins/impl/chat/ChatPlugin.tsx +1 -1
  124. package/src/plugins/impl/chat/chat-ui.tsx +1 -1
  125. package/src/plugins/impl/data-editor/glide-data-editor.tsx +1 -1
  126. package/src/plugins/impl/data-explorer/ConnectedDataExplorerComponent.tsx +2 -2
  127. package/src/plugins/impl/data-explorer/components/query-form.tsx +1 -1
  128. package/src/plugins/impl/data-explorer/functions/function.ts +1 -1
  129. package/src/plugins/impl/data-explorer/queries/types.ts +1 -1
  130. package/src/plugins/impl/data-frames/DataFramePlugin.tsx +1 -1
  131. package/src/plugins/impl/data-frames/forms/renderers.tsx +1 -1
  132. package/src/plugins/impl/data-frames/utils/operators.ts +1 -1
  133. package/src/plugins/impl/matplotlib/MatplotlibPlugin.tsx +1 -1
  134. package/src/plugins/impl/mpl-interactive/MplInteractivePlugin.tsx +1 -1
  135. package/src/plugins/impl/panel/PanelPlugin.tsx +2 -2
  136. package/src/plugins/impl/plotly/Plot.tsx +3 -3
  137. package/src/plugins/impl/vega/batched.ts +1 -1
  138. package/src/plugins/impl/vega/make-selectable.ts +1 -1
  139. package/src/plugins/impl/vega/types.ts +1 -1
  140. package/src/plugins/layout/DownloadPlugin.tsx +1 -1
  141. package/src/plugins/layout/LazyPlugin.tsx +1 -1
  142. package/src/plugins/layout/RoutesPlugin.tsx +1 -1
  143. package/src/plugins/layout/mermaid/mermaid.tsx +1 -1
  144. package/src/plugins/plugins.ts +1 -1
  145. package/src/stories/data-explorer.stories.tsx +1 -1
  146. package/src/stories/dataframe.stories.tsx +1 -1
  147. package/src/stories/editor.stories.tsx +1 -1
  148. package/src/stories/select.stories.tsx +1 -1
  149. package/src/stories/switchable-multi-select.stories.tsx +1 -1
  150. package/src/utils/Logger.ts +1 -1
  151. package/src/utils/__tests__/arrays.test.ts +1 -1
  152. package/src/utils/__tests__/blob.test.ts +1 -1
  153. package/src/utils/__tests__/dates.test.ts +1 -1
  154. package/src/utils/__tests__/errors.test.ts +1 -1
  155. package/src/utils/__tests__/objects.test.ts +3 -3
  156. package/src/utils/__tests__/waitForWs.test.ts +1 -1
  157. package/src/utils/arrays.ts +1 -1
  158. package/src/utils/assertNever.ts +1 -1
  159. package/src/utils/batch-requests.ts +2 -2
  160. package/src/utils/createReducer.ts +2 -2
  161. package/src/utils/id-tree.tsx +2 -2
  162. package/src/utils/idle.ts +1 -1
  163. package/src/utils/invariant.ts +1 -2
  164. package/src/utils/maps.ts +1 -1
  165. package/src/utils/math.ts +0 -1
  166. package/src/utils/multi-map.ts +1 -1
  167. package/src/utils/objects.ts +1 -1
  168. package/src/utils/once.ts +2 -2
  169. package/src/utils/staticImplements.ts +1 -1
  170. package/src/utils/storage/jotai.ts +1 -1
  171. package/src/utils/tracer.ts +2 -2
  172. package/dist/useLifecycle-DgDTfOLZ.js +0 -173
package/dist/main.js CHANGED
@@ -21,11 +21,11 @@ import { a as __toCommonJS, n as __esmMin, r as __export, s as __toESM, t as __c
21
21
  import { t as require_react } from "./react-Bs6Z0kvn.js";
22
22
  import { t as require_compiler_runtime } from "./compiler-runtime-B_OLMU9S.js";
23
23
  import { n as Copy, r as toast, t as copyToClipboard } from "./copy-B7781WJ3.js";
24
- import { $ as createActions, $t as elementContainsMarimoCellFile, A as MarimoIncomingMessageEvent, An as PaintRoller, B as DotFilledIcon, Bn as CircleX, Bt as PluralWords, Cn as Content2$1, Ct as normalizeName, D as AccordionContent, Dn as Wrench, E as Accordion, En as Trigger2, Et as MarkdownLanguageAdapter, F as BorderAllIcon, Fn as File, Ft as repl, G as base64ToDataView, H as PinRightIcon, Hn as Braces, Ht as getDataTypeColor, In as FileText, It as adaptForLocalStorage, J as extractBase64FromDataURL, Jt as getRequestClient, K as base64ToUint8Array, L as CheckIcon, Ln as Eye, Lt as jotaiJsonStorage, M as MarimoValueReadyEvent, Mn as LoaderCircle, Mt as DeferredRequestRegistry, N as MarimoValueUpdateEvent, Nn as Layers, Nt as generateUUID, O as AccordionItem, On as Trash2, Ot as PathBuilder, P as createInputEvent, Pn as Info, Pt as useChromeActions, R as ChevronDownIcon, Rn as Database, Sn as Close$1, St as isInternalCellName, Tn as Root2$4, Tt as customPythonLanguageSupport, U as deserializeBlob, Un as esm_default$1, Ut as require_client, V as PinLeftIcon, Vn as CircleAlert, Vt as DATA_TYPE_ICON, Wn as import_lib, X as safeExtractSetUIElementMessageBuffers, Xt as useRequestClient, Y as isDataURLString, Yt as requestClientAtom, Z as renderHTML, Zt as isUninstantiated, _ as useExpandedConsoleOutput, _n as jsonToTSV, _t as headingToIdentifier, a as toPng, an as parseAttrValue, at as useCellActions, b as getDatasourceContext, bn as selectAtom, bt as displayCellName, c as useCellFocusActions, cn as CellOutputId, ct as createCell, d as Spinner, dn as UIElementId, dt as initialModeAtom, en as extractAllTracebackInfo, et as getCellEditorView, f as Popover$1, fn as findCellId, ft as kioskModeAtom, g as isOutputEmpty, gn as jsonToMarkdown, gt as isErrorMime, h as PopoverTrigger, hn as jsonParseWithSpecialChar, ht as outputIsStale, i as PythonIcon, in as filenameAtom, it as reducer, j as MarimoValueInputEvent, jn as NotebookPen, jt as goToCellLine, k as AccordionTrigger, kn as Table2, kt as Paths, l as useLastFocusedCellId, ln as HTMLCellId, lt as AnsiUp, m as PopoverContent, mn as RANDOM_ID_ATTR, mt as outputIsLoading, n as blobToString, nn as NotebookScopedLocalStorage, nt as notebookAtom, o as MarkdownRenderer, on as parseDataset, ot as useCellIds, p as PopoverClose$1, pn as OBJECT_ID_ATTR, pt as viewStateAtom, q as dataViewToBase64, qt as convertStatsName, r as filesToBase64, rt as notebookOutline, s as LazyAnyLanguageCodeMirror, sn as parseInitialValue, st as useCellNames, t as processOutput, tn as getTracebackInfo, tt as getCellNames, u as maybeAddAltairImport, un as SCRATCH_CELL_ID, ut as getInitialAppMode, v as useExpandedOutput, vn as atomWithReducer, vt as DATA_CELL_ID, wn as Item$1, wt as Checkbox, xt as getValidName, yn as atomWithStorage, yt as getCellDomProps, z as ChevronRightIcon, zn as Columns2, zt as PluralWord, __tla as __tla_0 } from "./process-output-D0SEeV3t.js";
24
+ import { $ as createActions, $t as elementContainsMarimoCellFile, A as MarimoIncomingMessageEvent, An as PaintRoller, B as DotFilledIcon, Bn as CircleX, Bt as PluralWords, Cn as Content2$1, Ct as normalizeName, D as AccordionContent, Dn as Wrench, E as Accordion, En as Trigger2, Et as MarkdownLanguageAdapter, F as BorderAllIcon, Fn as File, Ft as repl, G as base64ToDataView, H as PinRightIcon, Hn as Braces, Ht as getDataTypeColor, In as FileText, It as adaptForLocalStorage, J as extractBase64FromDataURL, Jt as getRequestClient, K as base64ToUint8Array, L as CheckIcon, Ln as Eye, Lt as jotaiJsonStorage, M as MarimoValueReadyEvent, Mn as LoaderCircle, Mt as DeferredRequestRegistry, N as MarimoValueUpdateEvent, Nn as Layers, Nt as generateUUID, O as AccordionItem, On as Trash2, Ot as PathBuilder, P as createInputEvent, Pn as Info, Pt as useChromeActions, R as ChevronDownIcon, Rn as Database, Sn as Close$1, St as isInternalCellName, Tn as Root2$4, Tt as customPythonLanguageSupport, U as deserializeBlob, Un as esm_default$1, Ut as require_client, V as PinLeftIcon, Vn as CircleAlert, Vt as DATA_TYPE_ICON, Wn as import_lib, X as safeExtractSetUIElementMessageBuffers, Xt as useRequestClient, Y as isDataURLString, Yt as requestClientAtom, Z as renderHTML, Zt as isUninstantiated, _ as useExpandedConsoleOutput, _n as jsonToTSV, _t as headingToIdentifier, a as toPng, an as parseAttrValue, at as useCellActions, b as getDatasourceContext, bn as selectAtom, bt as displayCellName, c as useCellFocusActions, cn as CellOutputId, ct as createCell, d as Spinner, dn as UIElementId, dt as initialModeAtom, en as extractAllTracebackInfo, et as getCellEditorView, f as Popover$1, fn as findCellId, ft as kioskModeAtom, g as isOutputEmpty, gn as jsonToMarkdown, gt as isErrorMime, h as PopoverTrigger, hn as jsonParseWithSpecialChar, ht as outputIsStale, i as PythonIcon, in as filenameAtom, it as reducer, j as MarimoValueInputEvent, jn as NotebookPen, jt as goToCellLine, k as AccordionTrigger, kn as Table2, kt as Paths, l as useLastFocusedCellId, ln as HTMLCellId, lt as AnsiUp, m as PopoverContent, mn as RANDOM_ID_ATTR, mt as outputIsLoading, n as blobToString, nn as NotebookScopedLocalStorage, nt as notebookAtom, o as MarkdownRenderer, on as parseDataset, ot as useCellIds, p as PopoverClose$1, pn as OBJECT_ID_ATTR, pt as viewStateAtom, q as dataViewToBase64, qt as convertStatsName, r as filesToBase64, rt as notebookOutline, s as LazyAnyLanguageCodeMirror, sn as parseInitialValue, st as useCellNames, t as processOutput, tn as getTracebackInfo, tt as getCellNames, u as maybeAddAltairImport, un as SCRATCH_CELL_ID, ut as getInitialAppMode, v as useExpandedOutput, vn as atomWithReducer, vt as DATA_CELL_ID, wn as Item$1, wt as Checkbox, xt as getValidName, yn as atomWithStorage, yt as getCellDomProps, z as ChevronRightIcon, zn as Columns2, zt as PluralWord, __tla as __tla_0 } from "./process-output-DC1TOnIl.js";
25
25
  import { __tla as __tla_1 } from "./chunk-5FQGJX7Z-C428iZBW.js";
26
26
  import { l as createLucideIcon, o as useSize, s as Root$4 } from "./dist-D_UjpfOY.js";
27
- import { A as $896ba0a80a8f4d36$export$85fd5fdf27bacc79, C as DEFAULT_COLOR_SCHEME, D as SCALE_TYPE_DESCRIPTIONS, E as EMPTY_VALUE$1, F as ListFilter, I as ChartPie, L as ChartColumn, M as $5a387cc49350e6db$export$722debc0e56fea39, N as Table$1, O as TIME_UNIT_DESCRIPTIONS, P as SquareFunction, S as DEFAULT_AGGREGATION, T as DEFAULT_TIME_UNIT, _ as AGGREGATION_TYPE_DESCRIPTIONS, a as AGGREGATION_FNS$1, b as COLOR_SCHEMES, c as COLOR_BY_FIELDS, d as NONE_VALUE, f as SELECTABLE_DATA_TYPES, g as TIME_UNITS, h as STRING_AGGREGATION_FNS, i as convertDataTypeToSelectable, j as $fb18d541ea1ad717$export$ad991b66133851cf, k as escapeFieldName, l as COMBINED_TIME_UNITS, m as SORT_TYPES, n as createSpecWithoutData, o as BIN_AGGREGATION, p as SINGLE_TIME_UNITS, r as isFieldSet, s as CHART_TYPES, t as augmentSpecWithData, u as ChartType, v as AGGREGATION_TYPE_ICON, w as DEFAULT_MAX_BINS_FACET, x as COUNT_FIELD, y as CHART_TYPE_ICON } from "./spec-CiHus5Bb.js";
28
- import { c as Calendar, i as createReducerAndAtoms, n as useOnUnmount, o as ToggleLeft, r as Badge, t as useOnMount } from "./useLifecycle-DgDTfOLZ.js";
27
+ import { A as $896ba0a80a8f4d36$export$85fd5fdf27bacc79, C as DEFAULT_COLOR_SCHEME, D as SCALE_TYPE_DESCRIPTIONS, E as EMPTY_VALUE$1, F as ListFilter, I as ChartPie, L as ChartColumn, M as $5a387cc49350e6db$export$722debc0e56fea39, N as Table$1, O as TIME_UNIT_DESCRIPTIONS, P as SquareFunction, S as DEFAULT_AGGREGATION, T as DEFAULT_TIME_UNIT, _ as AGGREGATION_TYPE_DESCRIPTIONS, a as AGGREGATION_FNS$1, b as COLOR_SCHEMES, c as COLOR_BY_FIELDS, d as NONE_VALUE, f as SELECTABLE_DATA_TYPES, g as TIME_UNITS, h as STRING_AGGREGATION_FNS, i as convertDataTypeToSelectable, j as $fb18d541ea1ad717$export$ad991b66133851cf, k as escapeFieldName, l as COMBINED_TIME_UNITS, m as SORT_TYPES, n as createSpecWithoutData, o as BIN_AGGREGATION, p as SINGLE_TIME_UNITS, r as isFieldSet, s as CHART_TYPES, t as augmentSpecWithData, u as ChartType, v as AGGREGATION_TYPE_ICON, w as DEFAULT_MAX_BINS_FACET, x as COUNT_FIELD, y as CHART_TYPE_ICON } from "./spec-CD7QaCV-.js";
28
+ import { c as Calendar, i as createReducerAndAtoms, n as useOnUnmount, o as ToggleLeft, r as Badge, t as useOnMount } from "./useLifecycle-4fA1pHoh.js";
29
29
  import { t as Check } from "./check-CWUkiHmb.js";
30
30
  import { A as Icon, C as logNever, D as $18f2051aff69b9bf$export$a54013f0d02a8f82, E as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7, F as createCollection, I as X, M as clamp$3, N as usePrevious$1, O as $b5e257d569688ac6$export$535bd6ca7f90a273, P as useDirection, R as ChevronDown, S as assertNever, T as $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5, _ as menuControlVariants, a as SelectContent, b as menuSeparatorVariants, c as SelectLabel, d as SelectValue, f as NativeSelect, g as menuControlCheckVariants, h as menuContentCommon, i as Select, j as Trigger$3, l as SelectSeparator, m as MENU_ITEM_DISABLED, n as Strings, o as SelectGroup, p as selectStyles, r as capitalize, s as SelectItem, t as Label, u as SelectTrigger, v as menuItemVariants, w as $a916eb452884faea$export$b7a616150fdb9f44, x as menuSubTriggerVariants, y as menuLabelVariants } from "./label-DbZGAoCH.js";
31
31
  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$2, K as useDebounceControlledState, 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$2, 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$1, 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$2, 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, f as DropdownMenuGroup, 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, i as OnBlurredInput, in as Sub, it as $701a24aa0da5b062$export$ea18c227d4417cc3, 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$5, lt as $5b160d28a433310d$export$c17fa47878dc55b6, m as DropdownMenuLabel, mt as $f6c31cce2adf654f$export$45712eceda6fad21, n as DebouncedNumberInput, 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, q as useDebouncedCallback, qt as CheckboxItem, r as Input, rn as Separator, rt as $f7dceffc5ad7768b$export$4e328f61c538687f, s as prettyEngineeringNumber, sn as createMenuScope, st as $fca6afa0e843324b$export$f12b703ca79dfbb1, t as DebouncedInput, 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-CFY9gApZ.js";
@@ -10497,7 +10497,7 @@ Defaulting to \`null\`.`;
10497
10497
  function set$1(e, r, c) {
10498
10498
  return e == null ? e : _baseSet_default(e, r, c);
10499
10499
  }
10500
- var set_default = set$1, import_compiler_runtime$137 = require_compiler_runtime(), hydratedMap = /* @__PURE__ */ new WeakMap();
10500
+ var set_default = set$1, import_compiler_runtime$138 = require_compiler_runtime(), hydratedMap = /* @__PURE__ */ new WeakMap();
10501
10501
  function useHydrateAtoms(e, r) {
10502
10502
  let c = useStore(r), d = getHydratedSet(c);
10503
10503
  for (let [f, ...h] of e) (!d.has(f) || (r == null ? void 0 : r.dangerouslyForceHydrate)) && (d.add(f), c.set(f, ...h));
@@ -13786,7 +13786,7 @@ Defaulting to \`null\`.`;
13786
13786
  }
13787
13787
  repl(MODEL_MANAGER, "MODEL_MANAGER");
13788
13788
  var NavigationMenu = import_react.forwardRef((e, r) => {
13789
- let c = (0, import_compiler_runtime$137.c)(16), d, f, h, _;
13789
+ let c = (0, import_compiler_runtime$138.c)(16), d, f, h, _;
13790
13790
  c[0] === e ? (d = c[1], f = c[2], h = c[3], _ = c[4]) : ({ className: f, children: d, orientation: h, ..._ } = e, c[0] = e, c[1] = d, c[2] = f, c[3] = h, c[4] = _);
13791
13791
  let v = h === "horizontal" && "max-w-max flex-1 items-center justify-center", y = h === "vertical" && "", S;
13792
13792
  c[5] !== f || c[6] !== v || c[7] !== y ? (S = cn(v, y, "relative z-10", f), c[5] = f, c[6] = v, c[7] = y, c[8] = S) : S = c[8];
@@ -13816,7 +13816,7 @@ Defaulting to \`null\`.`;
13816
13816
  orientation: "horizontal"
13817
13817
  }
13818
13818
  }), NavigationMenuList = import_react.forwardRef((e, r) => {
13819
- let c = (0, import_compiler_runtime$137.c)(11), d, f, h;
13819
+ let c = (0, import_compiler_runtime$138.c)(11), d, f, h;
13820
13820
  c[0] === e ? (d = c[1], f = c[2], h = c[3]) : ({ className: d, orientation: f, ...h } = e, c[0] = e, c[1] = d, c[2] = f, c[3] = h);
13821
13821
  let _;
13822
13822
  c[4] !== d || c[5] !== f ? (_ = cn(navigationMenuListStyle({
@@ -13841,7 +13841,7 @@ Defaulting to \`null\`.`;
13841
13841
  orientation: "horizontal"
13842
13842
  }
13843
13843
  }), NavigationMenuTrigger = import_react.forwardRef((e, r) => {
13844
- let c = (0, import_compiler_runtime$137.c)(12), d, f, h;
13844
+ let c = (0, import_compiler_runtime$138.c)(12), d, f, h;
13845
13845
  c[0] === e ? (d = c[1], f = c[2], h = c[3]) : ({ className: f, children: d, ...h } = e, c[0] = e, c[1] = d, c[2] = f, c[3] = h);
13846
13846
  let _;
13847
13847
  c[4] === f ? _ = c[5] : (_ = cn(navigationMenuTriggerStyle(), "group", f), c[4] = f, c[5] = _);
@@ -13864,7 +13864,7 @@ Defaulting to \`null\`.`;
13864
13864
  });
13865
13865
  NavigationMenuTrigger.displayName = Trigger$1.displayName;
13866
13866
  var NavigationMenuContent = import_react.forwardRef((e, r) => {
13867
- let c = (0, import_compiler_runtime$137.c)(9), d, f;
13867
+ let c = (0, import_compiler_runtime$138.c)(9), d, f;
13868
13868
  c[0] === e ? (d = c[1], f = c[2]) : ({ className: d, ...f } = e, c[0] = e, c[1] = d, c[2] = f);
13869
13869
  let h;
13870
13870
  c[3] === d ? h = c[4] : (h = cn("left-0 top-0 w-full data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 md:absolute md:w-auto ", d), c[3] = d, c[4] = h);
@@ -13877,7 +13877,7 @@ Defaulting to \`null\`.`;
13877
13877
  });
13878
13878
  NavigationMenuContent.displayName = Content$1.displayName;
13879
13879
  var NavigationMenuLink = Link, NavigationMenuViewport = import_react.forwardRef((e, r) => {
13880
- let c = (0, import_compiler_runtime$137.c)(10), d, f;
13880
+ let c = (0, import_compiler_runtime$138.c)(10), d, f;
13881
13881
  c[0] === e ? (d = c[1], f = c[2]) : ({ className: d, ...f } = e, c[0] = e, c[1] = d, c[2] = f);
13882
13882
  let h;
13883
13883
  c[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (h = cn("absolute left-0 top-full flex justify-center"), c[3] = h) : h = c[3];
@@ -13895,7 +13895,7 @@ Defaulting to \`null\`.`;
13895
13895
  });
13896
13896
  NavigationMenuViewport.displayName = Viewport.displayName;
13897
13897
  var NavigationMenuIndicator = import_react.forwardRef((e, r) => {
13898
- let c = (0, import_compiler_runtime$137.c)(10), d, f;
13898
+ let c = (0, import_compiler_runtime$138.c)(10), d, f;
13899
13899
  c[0] === e ? (d = c[1], f = c[2]) : ({ className: d, ...f } = e, c[0] = e, c[1] = d, c[2] = f);
13900
13900
  let h;
13901
13901
  c[3] === d ? h = c[4] : (h = cn("top-full z-1 flex h-1.5 items-end justify-center overflow-hidden data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in", d), c[3] = d, c[4] = h);
@@ -13912,7 +13912,7 @@ Defaulting to \`null\`.`;
13912
13912
  }), c[6] = f, c[7] = r, c[8] = h, c[9] = v) : v = c[9], v;
13913
13913
  });
13914
13914
  NavigationMenuIndicator.displayName = Indicator$3.displayName;
13915
- var import_compiler_runtime$136 = require_compiler_runtime(), NavigationMenuPlugin = class {
13915
+ var import_compiler_runtime$137 = require_compiler_runtime(), NavigationMenuPlugin = class {
13916
13916
  constructor() {
13917
13917
  __publicField(this, "tagName", "marimo-nav-menu");
13918
13918
  __publicField(this, "menuItemValidator", object({
@@ -13943,7 +13943,7 @@ Defaulting to \`null\`.`;
13943
13943
  });
13944
13944
  }
13945
13945
  }, NavMenuComponent = (e) => {
13946
- let r = (0, import_compiler_runtime$136.c)(13), { items: c, orientation: d } = e, f = _temp$36, h = _temp2$25, _ = _temp3$17, v;
13946
+ let r = (0, import_compiler_runtime$137.c)(13), { items: c, orientation: d } = e, f = _temp$36, h = _temp2$25, _ = _temp3$17, v;
13947
13947
  r[0] === d ? v = r[1] : (v = (e2) => "items" in e2 ? d === "horizontal" ? (0, import_jsx_runtime.jsx)(NavigationMenu, {
13948
13948
  orientation: "horizontal",
13949
13949
  children: (0, import_jsx_runtime.jsx)(NavigationMenuList, {
@@ -14024,7 +14024,7 @@ Defaulting to \`null\`.`;
14024
14024
  children: w
14025
14025
  }), r[10] = d, r[11] = w, r[12] = E) : E = r[12], E;
14026
14026
  }, ListItem = import_react.forwardRef((e, r) => {
14027
- let c = (0, import_compiler_runtime$136.c)(19), d, f, h, _;
14027
+ let c = (0, import_compiler_runtime$137.c)(19), d, f, h, _;
14028
14028
  c[0] === e ? (d = c[1], f = c[2], h = c[3], _ = c[4]) : ({ className: f, label: h, children: d, ..._ } = e, c[0] = e, c[1] = d, c[2] = f, c[3] = h, c[4] = _);
14029
14029
  let v;
14030
14030
  c[5] === f ? v = c[6] : (v = cn("block select-none space-y-1 rounded-md p-3 leading-none no-underline outline-hidden transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground", f), c[5] = f, c[6] = v);
@@ -16903,9 +16903,9 @@ Defaulting to \`null\`.`;
16903
16903
  isSelected: _
16904
16904
  }
16905
16905
  }, M.children));
16906
- }), import_compiler_runtime$135 = require_compiler_runtime();
16906
+ }), import_compiler_runtime$136 = require_compiler_runtime();
16907
16907
  const LocaleProvider = (e) => {
16908
- let r = (0, import_compiler_runtime$135.c)(5), { children: c } = e, d = useAtomValue(localeAtom), f;
16908
+ let r = (0, import_compiler_runtime$136.c)(5), { children: c } = e, d = useAtomValue(localeAtom), f;
16909
16909
  r[0] === d ? f = r[1] : (f = safeLocale(d), r[0] = d, r[1] = f);
16910
16910
  let h;
16911
16911
  return r[2] !== c || r[3] !== f ? (h = (0, import_jsx_runtime.jsx)($18f2051aff69b9bf$export$a54013f0d02a8f82, {
@@ -17884,9 +17884,9 @@ Defaulting to \`null\`.`;
17884
17884
  r,
17885
17885
  d.name
17886
17886
  ]), null;
17887
- }), import_compiler_runtime$134 = require_compiler_runtime();
17887
+ }), import_compiler_runtime$135 = require_compiler_runtime();
17888
17888
  const EmotionCacheProvider = (e) => {
17889
- let r = (0, import_compiler_runtime$134.c)(6), { container: c, children: d } = e, f;
17889
+ let r = (0, import_compiler_runtime$135.c)(6), { container: c, children: d } = e, f;
17890
17890
  bb0: {
17891
17891
  if (!c) {
17892
17892
  let e3;
@@ -23054,9 +23054,9 @@ To suppress this warning, you need to explicitly provide the \`palette.${r}Chann
23054
23054
  })
23055
23055
  })
23056
23056
  });
23057
- }, import_compiler_runtime$133 = require_compiler_runtime();
23057
+ }, import_compiler_runtime$134 = require_compiler_runtime();
23058
23058
  const HtmlOutput = (0, import_react.memo)((e) => {
23059
- let r = (0, import_compiler_runtime$133.c)(10), { html: c, inline: d, className: f, alwaysSanitizeHtml: h } = e, _ = d === void 0 ? false : d;
23059
+ let r = (0, import_compiler_runtime$134.c)(10), { html: c, inline: d, className: f, alwaysSanitizeHtml: h } = e, _ = d === void 0 ? false : d;
23060
23060
  if (!c) return null;
23061
23061
  let v = !_, y;
23062
23062
  r[0] !== f || r[1] !== _ || r[2] !== v ? (y = cn(f, {
@@ -23075,9 +23075,9 @@ To suppress this warning, you need to explicitly provide the \`palette.${r}Chann
23075
23075
  }), r[7] = y, r[8] = S, r[9] = w) : w = r[9], w;
23076
23076
  });
23077
23077
  HtmlOutput.displayName = "HtmlOutput";
23078
- var import_compiler_runtime$132 = require_compiler_runtime();
23078
+ var import_compiler_runtime$133 = require_compiler_runtime();
23079
23079
  const ImageOutput = (e) => {
23080
- let r = (0, import_compiler_runtime$132.c)(8), { src: c, alt: d, width: f, height: h, className: _ } = e, v = d === void 0 ? "" : d, y;
23080
+ let r = (0, import_compiler_runtime$133.c)(8), { src: c, alt: d, width: f, height: h, className: _ } = e, v = d === void 0 ? "" : d, y;
23081
23081
  r[0] !== v || r[1] !== h || r[2] !== c || r[3] !== f ? (y = (0, import_jsx_runtime.jsx)("img", {
23082
23082
  src: c,
23083
23083
  alt: v,
@@ -23090,9 +23090,9 @@ To suppress this warning, you need to explicitly provide the \`palette.${r}Chann
23090
23090
  children: y
23091
23091
  }), r[5] = _, r[6] = y, r[7] = S) : S = r[7], S;
23092
23092
  };
23093
- var import_compiler_runtime$131 = require_compiler_runtime();
23093
+ var import_compiler_runtime$132 = require_compiler_runtime();
23094
23094
  const Kbd = (e) => {
23095
- let r = (0, import_compiler_runtime$131.c)(5), c;
23095
+ let r = (0, import_compiler_runtime$132.c)(5), c;
23096
23096
  r[0] === e.className ? c = r[1] : (c = clsx_default(e.className, "rounded-md bg-muted/40 px-2 text-[0.75rem] font-prose center border border-foreground/20 text-muted-foreground block whitespace-nowrap"), r[0] = e.className, r[1] = c);
23097
23097
  let d;
23098
23098
  return r[2] !== e.children || r[3] !== c ? (d = (0, import_jsx_runtime.jsx)("kbd", {
@@ -23100,9 +23100,9 @@ To suppress this warning, you need to explicitly provide the \`palette.${r}Chann
23100
23100
  children: e.children
23101
23101
  }), r[2] = e.children, r[3] = c, r[4] = d) : d = r[4], d;
23102
23102
  };
23103
- var import_compiler_runtime$130 = require_compiler_runtime();
23103
+ var import_compiler_runtime$131 = require_compiler_runtime();
23104
23104
  const ExternalLink$1 = (e) => {
23105
- let r = (0, import_compiler_runtime$130.c)(3), { href: c, children: d } = e, f;
23105
+ let r = (0, import_compiler_runtime$131.c)(3), { href: c, children: d } = e, f;
23106
23106
  return r[0] !== d || r[1] !== c ? (f = (0, import_jsx_runtime.jsx)("a", {
23107
23107
  href: c,
23108
23108
  target: "_blank",
@@ -23273,17 +23273,17 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
23273
23273
  os: "os",
23274
23274
  re: "re",
23275
23275
  sys: "sys"
23276
- }, import_compiler_runtime$129 = require_compiler_runtime(), fixModeAtom = atomWithStorage("marimo:ai-autofix-mode", "autofix", jotaiJsonStorage);
23276
+ }, import_compiler_runtime$130 = require_compiler_runtime(), fixModeAtom = atomWithStorage("marimo:ai-autofix-mode", "autofix", jotaiJsonStorage);
23277
23277
  function useFixMode() {
23278
- let e = (0, import_compiler_runtime$129.c)(3), [r, c] = useAtom(fixModeAtom), d;
23278
+ let e = (0, import_compiler_runtime$130.c)(3), [r, c] = useAtom(fixModeAtom), d;
23279
23279
  return e[0] !== r || e[1] !== c ? (d = {
23280
23280
  fixMode: r,
23281
23281
  setFixMode: c
23282
23282
  }, e[0] = r, e[1] = c, e[2] = d) : d = e[2], d;
23283
23283
  }
23284
- var import_compiler_runtime$128 = require_compiler_runtime();
23284
+ var import_compiler_runtime$129 = require_compiler_runtime();
23285
23285
  const AutoFixButton = (e) => {
23286
- let r = (0, import_compiler_runtime$128.c)(21), { errors: c, cellId: d, className: f } = e, h = useStore(), { createNewCell: _ } = useCellActions(), v = useAtomValue(aiEnabledAtom), y;
23286
+ let r = (0, import_compiler_runtime$129.c)(21), { errors: c, cellId: d, className: f } = e, h = useStore(), { createNewCell: _ } = useCellActions(), v = useAtomValue(aiEnabledAtom), y;
23287
23287
  if (r[0] !== v || r[1] !== c) {
23288
23288
  let e2;
23289
23289
  r[3] === v ? e2 = r[4] : (e2 = (e3) => getAutoFixes(e3, {
@@ -23344,7 +23344,7 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
23344
23344
  };
23345
23345
  var PromptIcon = Sparkles, AutofixIcon = Wrench, PromptTitle = "Suggest a prompt", AutofixTitle = "Fix with AI";
23346
23346
  const AIFixButton = (e) => {
23347
- let r = (0, import_compiler_runtime$128.c)(21), { tooltip: c, openPrompt: d, applyAutofix: f } = e, { fixMode: h, setFixMode: _ } = useFixMode(), v = h === "prompt" ? d : f, y;
23347
+ let r = (0, import_compiler_runtime$129.c)(21), { tooltip: c, openPrompt: d, applyAutofix: f } = e, { fixMode: h, setFixMode: _ } = useFixMode(), v = h === "prompt" ? d : f, y;
23348
23348
  r[0] === h ? y = r[1] : (y = h === "prompt" ? (0, import_jsx_runtime.jsx)(PromptIcon, {
23349
23349
  className: "h-3 w-3 mr-2 mb-0.5"
23350
23350
  }) : (0, import_jsx_runtime.jsx)(AutofixIcon, {
@@ -23413,7 +23413,7 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
23413
23413
  }), r[18] = G, r[19] = E, r[20] = q) : q = r[20], q;
23414
23414
  };
23415
23415
  var AiModeItem = (e) => {
23416
- let r = (0, import_compiler_runtime$128.c)(12), { mode: c } = e, d;
23416
+ let r = (0, import_compiler_runtime$129.c)(12), { mode: c } = e, d;
23417
23417
  r[0] === c ? d = r[1] : (d = c === "prompt" ? (0, import_jsx_runtime.jsx)(PromptIcon, {
23418
23418
  className: "h-4 w-4"
23419
23419
  }) : (0, import_jsx_runtime.jsx)(AutofixIcon, {
@@ -23450,9 +23450,9 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
23450
23450
  function useFilename() {
23451
23451
  return useAtomValue(filenameAtom);
23452
23452
  }
23453
- var import_compiler_runtime$126 = require_compiler_runtime();
23453
+ var import_compiler_runtime$127 = require_compiler_runtime();
23454
23454
  const CellLink = (e) => {
23455
- let r = (0, import_compiler_runtime$126.c)(12), { className: c, cellId: d, variant: f, onClick: h, formatCellName: _, skipScroll: v } = e, y = useCellNames()[d] ?? "", S = useCellIds().inOrderIds.indexOf(d), { showCellIfHidden: w } = useCellActions(), E = _ ?? _temp$35, O;
23455
+ let r = (0, import_compiler_runtime$127.c)(12), { className: c, cellId: d, variant: f, onClick: h, formatCellName: _, skipScroll: v } = e, y = useCellNames()[d] ?? "", S = useCellIds().inOrderIds.indexOf(d), { showCellIfHidden: w } = useCellActions(), E = _ ?? _temp$35, O;
23456
23456
  r[0] === c ? O = r[1] : (O = cn("inline-block cursor-pointer text-link hover:underline", c), r[0] = c, r[1] = O);
23457
23457
  let M;
23458
23458
  r[2] !== d || r[3] !== h || r[4] !== w || r[5] !== v || r[6] !== f ? (M = (e2) => {
@@ -23472,13 +23472,13 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
23472
23472
  children: I
23473
23473
  }), r[8] = O, r[9] = M, r[10] = I, r[11] = z) : z = r[11], z;
23474
23474
  }, CellLinkError = (e) => {
23475
- let r = (0, import_compiler_runtime$126.c)(2), c;
23475
+ let r = (0, import_compiler_runtime$127.c)(2), c;
23476
23476
  return r[0] === e ? c = r[1] : (c = (0, import_jsx_runtime.jsx)(CellLink, {
23477
23477
  ...e,
23478
23478
  variant: "destructive"
23479
23479
  }), r[0] = e, r[1] = c), c;
23480
23480
  }, CellLinkTraceback = (e) => {
23481
- let r = (0, import_compiler_runtime$126.c)(10), { cellId: c, lineNumber: d } = e, f = useFilename(), h;
23481
+ let r = (0, import_compiler_runtime$127.c)(10), { cellId: c, lineNumber: d } = e, f = useFilename(), h;
23482
23482
  r[0] !== c || r[1] !== d ? (h = () => goToCellLine(c, d), r[0] = c, r[1] = d, r[2] = h) : h = r[2];
23483
23483
  let _;
23484
23484
  r[3] !== c || r[4] !== f ? (_ = (e2) => c === "__scratch__" ? "scratch" : `marimo://${f || "untitled"}#cell=${e2}`, r[3] = c, r[4] = f, r[5] = _) : _ = r[5];
@@ -23575,7 +23575,7 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
23575
23575
  value: e2
23576
23576
  });
23577
23577
  }
23578
- var import_compiler_runtime$125 = require_compiler_runtime(), ansiUp = new AnsiUp();
23578
+ var import_compiler_runtime$126 = require_compiler_runtime(), ansiUp = new AnsiUp();
23579
23579
  const cleanAnsiCodes = (e) => {
23580
23580
  let r = RegExp("\x1B\\[[0-9;]*m", "g");
23581
23581
  return e.replaceAll(r, "");
@@ -23643,7 +23643,7 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
23643
23643
  });
23644
23644
  }
23645
23645
  var InstallPackageLink = (e) => {
23646
- let r = (0, import_compiler_runtime$125.c)(6), { packages: c, children: d } = e, { handleInstallPackages: f } = useInstallPackages(), h;
23646
+ let r = (0, import_compiler_runtime$126.c)(6), { packages: c, children: d } = e, { handleInstallPackages: f } = useInstallPackages(), h;
23647
23647
  r[0] !== f || r[1] !== c ? (h = (e2) => {
23648
23648
  f(c), e2.preventDefault();
23649
23649
  }, r[0] = f, r[1] = c, r[2] = h) : h = r[2];
@@ -23711,15 +23711,15 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
23711
23711
  replace: (e2) => r(e2)
23712
23712
  })
23713
23713
  }), RenderTextWithLinks = (e) => {
23714
- let r = (0, import_compiler_runtime$125.c)(4), { text: c } = e, d;
23714
+ let r = (0, import_compiler_runtime$126.c)(4), { text: c } = e, d;
23715
23715
  r[0] === c ? d = r[1] : (d = renderTextWithReplacers(c, composeReplacers(pipInstallReplacer, urlReplacer)), r[0] = c, r[1] = d);
23716
23716
  let f = d, h;
23717
23717
  return r[2] === f ? h = r[3] : (h = (0, import_jsx_runtime.jsx)(import_jsx_runtime.Fragment, {
23718
23718
  children: f
23719
23719
  }), r[2] = f, r[3] = h), h;
23720
23720
  };
23721
- var import_compiler_runtime$124 = require_compiler_runtime(), Tip = (e) => {
23722
- let r = (0, import_compiler_runtime$124.c)(10), c = e.title ?? "Tip", d;
23721
+ var import_compiler_runtime$125 = require_compiler_runtime(), Tip = (e) => {
23722
+ let r = (0, import_compiler_runtime$125.c)(10), c = e.title ?? "Tip", d;
23723
23723
  r[0] === c ? d = r[1] : (d = (0, import_jsx_runtime.jsx)(AccordionTrigger, {
23724
23724
  className: "pt-2 pb-2 font-normal",
23725
23725
  children: c
@@ -23747,7 +23747,7 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
23747
23747
  }), r[7] = e.className, r[8] = h, r[9] = _) : _ = r[9], _;
23748
23748
  };
23749
23749
  const MarimoErrorOutput = (e) => {
23750
- let r = (0, import_compiler_runtime$124.c)(31), { errors: c, cellId: d, className: f } = e, h = useChromeActions(), _ = "This cell wasn't run because it has errors", v = "destructive", y = "text-error";
23750
+ let r = (0, import_compiler_runtime$125.c)(31), { errors: c, cellId: d, className: f } = e, h = useChromeActions(), _ = "This cell wasn't run because it has errors", v = "destructive", y = "text-error";
23751
23751
  if (c.some(_temp$34)) _ = "Interrupted";
23752
23752
  else if (c.some(_temp2$24)) _ = "An internal error occurred";
23753
23753
  else if (c.some(_temp3$16)) _ = "Ancestor prevented from running", v = "default", y = "text-secondary-foreground";
@@ -24413,9 +24413,9 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
24413
24413
  })
24414
24414
  }, `sql-error-${r}`);
24415
24415
  }
24416
- var import_compiler_runtime$123 = require_compiler_runtime();
24416
+ var import_compiler_runtime$124 = require_compiler_runtime();
24417
24417
  const TextOutput = (e) => {
24418
- let r = (0, import_compiler_runtime$123.c)(13), { text: c, channel: d, wrapText: f } = e, h = d === "stdout" || d === "stderr", _;
24418
+ let r = (0, import_compiler_runtime$124.c)(13), { text: c, channel: d, wrapText: f } = e, h = d === "stdout" || d === "stderr", _;
24419
24419
  r[0] === f ? _ = r[1] : (_ = (e2) => (0, import_jsx_runtime.jsx)("span", {
24420
24420
  className: f ? "whitespace-pre-wrap break-words" : "whitespace-pre",
24421
24421
  children: (0, import_jsx_runtime.jsx)(RenderTextWithLinks, {
@@ -24432,17 +24432,17 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
24432
24432
  children: E
24433
24433
  }), r[10] = w, r[11] = E, r[12] = O) : O = r[12], O;
24434
24434
  };
24435
- var import_compiler_runtime$122 = require_compiler_runtime();
24435
+ var import_compiler_runtime$123 = require_compiler_runtime();
24436
24436
  const VideoOutput = (e) => {
24437
- let r = (0, import_compiler_runtime$122.c)(3), { src: c, className: d } = e, f;
24437
+ let r = (0, import_compiler_runtime$123.c)(3), { src: c, className: d } = e, f;
24438
24438
  return r[0] !== d || r[1] !== c ? (f = (0, import_jsx_runtime.jsx)("iframe", {
24439
24439
  className: d,
24440
24440
  src: c
24441
24441
  }), r[0] = d, r[1] = c, r[2] = f) : f = r[2], f;
24442
24442
  };
24443
- var import_compiler_runtime$121 = require_compiler_runtime();
24443
+ var import_compiler_runtime$122 = require_compiler_runtime();
24444
24444
  function useOverflowDetection(e, r) {
24445
- let c = (0, import_compiler_runtime$121.c)(4), d = r === void 0 ? true : r, [f, h] = (0, import_react.useState)(false), _, v;
24445
+ let c = (0, import_compiler_runtime$122.c)(4), d = r === void 0 ? true : r, [f, h] = (0, import_react.useState)(false), _, v;
24446
24446
  return c[0] !== d || c[1] !== e ? (_ = () => {
24447
24447
  let r2 = e.current;
24448
24448
  if (!r2 || !d) return;
@@ -24539,9 +24539,9 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
24539
24539
  const LazyVegaEmbed = import_react.lazy(() => import("./react-vega-DayQmZjG.js").then((e) => ({
24540
24540
  default: e.VegaEmbed
24541
24541
  })));
24542
- var import_compiler_runtime$120 = require_compiler_runtime();
24542
+ var import_compiler_runtime$121 = require_compiler_runtime();
24543
24543
  const ChartLoadingState = () => {
24544
- let e = (0, import_compiler_runtime$120.c)(1), r;
24544
+ let e = (0, import_compiler_runtime$121.c)(1), r;
24545
24545
  return e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (r = (0, import_jsx_runtime.jsxs)("div", {
24546
24546
  className: "flex items-center gap-2 justify-center",
24547
24547
  children: [
@@ -24555,7 +24555,7 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
24555
24555
  ]
24556
24556
  }), e[0] = r) : r = e[0], r;
24557
24557
  }, ChartErrorState = (e) => {
24558
- let r = (0, import_compiler_runtime$120.c)(2), { error: c } = e, d;
24558
+ let r = (0, import_compiler_runtime$121.c)(2), { error: c } = e, d;
24559
24559
  return r[0] === c ? d = r[1] : (d = (0, import_jsx_runtime.jsx)("div", {
24560
24560
  className: "flex items-center justify-center",
24561
24561
  children: (0, import_jsx_runtime.jsx)(ErrorBanner, {
@@ -24563,7 +24563,7 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
24563
24563
  })
24564
24564
  }), r[0] = c, r[1] = d), d;
24565
24565
  }, ChartInfoState = (e) => {
24566
- let r = (0, import_compiler_runtime$120.c)(8), { children: c, className: d } = e, f;
24566
+ let r = (0, import_compiler_runtime$121.c)(8), { children: c, className: d } = e, f;
24567
24567
  r[0] === d ? f = r[1] : (f = cn("flex flex-col items-center justify-center gap-4", d), r[0] = d, r[1] = f);
24568
24568
  let h;
24569
24569
  r[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (h = (0, import_jsx_runtime.jsx)(ChartPie, {
@@ -24583,8 +24583,8 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
24583
24583
  ]
24584
24584
  }), r[5] = f, r[6] = _, r[7] = v) : v = r[7], v;
24585
24585
  };
24586
- var import_compiler_runtime$119 = require_compiler_runtime(), Tabs = Root2, TabsList = import_react.forwardRef((e, r) => {
24587
- let c = (0, import_compiler_runtime$119.c)(9), d, f;
24586
+ var import_compiler_runtime$120 = require_compiler_runtime(), Tabs = Root2, TabsList = import_react.forwardRef((e, r) => {
24587
+ let c = (0, import_compiler_runtime$120.c)(9), d, f;
24588
24588
  c[0] === e ? (d = c[1], f = c[2]) : ({ className: d, ...f } = e, c[0] = e, c[1] = d, c[2] = f);
24589
24589
  let h;
24590
24590
  c[3] === d ? h = c[4] : (h = cn("inline-flex max-h-14 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground", d), c[3] = d, c[4] = h);
@@ -24597,7 +24597,7 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
24597
24597
  });
24598
24598
  TabsList.displayName = List.displayName;
24599
24599
  var TabsTrigger = import_react.forwardRef((e, r) => {
24600
- let c = (0, import_compiler_runtime$119.c)(9), d, f;
24600
+ let c = (0, import_compiler_runtime$120.c)(9), d, f;
24601
24601
  c[0] === e ? (d = c[1], f = c[2]) : ({ className: d, ...f } = e, c[0] = e, c[1] = d, c[2] = f);
24602
24602
  let h;
24603
24603
  c[3] === d ? h = c[4] : (h = cn("inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1 text-sm font-medium ring-offset-background transition-all focus-visible:outline-hidden focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm", d), c[3] = d, c[4] = h);
@@ -24610,7 +24610,7 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
24610
24610
  });
24611
24611
  TabsTrigger.displayName = Trigger.displayName;
24612
24612
  var TabsContent = import_react.forwardRef((e, r) => {
24613
- let c = (0, import_compiler_runtime$119.c)(9), d, f;
24613
+ let c = (0, import_compiler_runtime$120.c)(9), d, f;
24614
24614
  c[0] === e ? (d = c[1], f = c[2]) : ({ className: d, ...f } = e, c[0] = e, c[1] = d, c[2] = f);
24615
24615
  let h;
24616
24616
  c[3] === d ? h = c[4] : (h = cn("mt-2 ring-offset-background focus-visible:outline-hidden focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-2", d), c[3] = d, c[4] = h);
@@ -24622,9 +24622,9 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
24622
24622
  }), c[5] = f, c[6] = r, c[7] = h, c[8] = _) : _ = c[8], _;
24623
24623
  });
24624
24624
  TabsContent.displayName = Content.displayName;
24625
- var import_compiler_runtime$118 = require_compiler_runtime();
24625
+ var import_compiler_runtime$119 = require_compiler_runtime();
24626
24626
  const WithLocale = (e) => {
24627
- let r = (0, import_compiler_runtime$118.c)(3), { children: c } = e, { locale: d } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), f;
24627
+ let r = (0, import_compiler_runtime$119.c)(3), { children: c } = e, { locale: d } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), f;
24628
24628
  return r[0] !== c || r[1] !== d ? (f = c(d), r[0] = c, r[1] = d, r[2] = f) : f = r[2], f;
24629
24629
  };
24630
24630
  function tzName(e, r, c = "long") {
@@ -25443,8 +25443,8 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
25443
25443
  function smartMatchFilter(e, r, c) {
25444
25444
  return smartMatch(r, e) ? 1 : c && smartMatch(r, c) ? 0.8 : 0;
25445
25445
  }
25446
- var import_compiler_runtime$117 = require_compiler_runtime(), Command = import_react.forwardRef((e, r) => {
25447
- let c = (0, import_compiler_runtime$117.c)(9), d, f;
25446
+ var import_compiler_runtime$118 = require_compiler_runtime(), Command = import_react.forwardRef((e, r) => {
25447
+ let c = (0, import_compiler_runtime$118.c)(9), d, f;
25448
25448
  c[0] === e ? (d = c[1], f = c[2]) : ({ className: d, ...f } = e, c[0] = e, c[1] = d, c[2] = f);
25449
25449
  let h;
25450
25450
  c[3] === d ? h = c[4] : (h = cn("flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground", d), c[3] = d, c[4] = h);
@@ -25458,7 +25458,7 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
25458
25458
  });
25459
25459
  Command.displayName = _e$1.displayName;
25460
25460
  var CommandInput = import_react.forwardRef((e, r) => {
25461
- let c = (0, import_compiler_runtime$117.c)(19), d, f, h, _;
25461
+ let c = (0, import_compiler_runtime$118.c)(19), d, f, h, _;
25462
25462
  c[0] === e ? (d = c[1], f = c[2], h = c[3], _ = c[4]) : ({ className: d, icon: f, rootClassName: _, ...h } = e, c[0] = e, c[1] = d, c[2] = f, c[3] = h, c[4] = _);
25463
25463
  let v;
25464
25464
  c[5] === _ ? v = c[6] : (v = cn("flex items-center border-b px-3", _), c[5] = _, c[6] = v);
@@ -25486,7 +25486,7 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
25486
25486
  });
25487
25487
  CommandInput.displayName = _e$1.Input.displayName;
25488
25488
  var CommandList = import_react.forwardRef((e, r) => {
25489
- let c = (0, import_compiler_runtime$117.c)(9), d, f;
25489
+ let c = (0, import_compiler_runtime$118.c)(9), d, f;
25490
25490
  c[0] === e ? (d = c[1], f = c[2]) : ({ className: d, ...f } = e, c[0] = e, c[1] = d, c[2] = f);
25491
25491
  let h;
25492
25492
  c[3] === d ? h = c[4] : (h = cn("max-h-[300px] overflow-y-auto overflow-x-hidden", d), c[3] = d, c[4] = h);
@@ -25499,7 +25499,7 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
25499
25499
  });
25500
25500
  CommandList.displayName = _e$1.List.displayName;
25501
25501
  var CommandEmpty = import_react.forwardRef((e, r) => {
25502
- let c = (0, import_compiler_runtime$117.c)(3), d;
25502
+ let c = (0, import_compiler_runtime$118.c)(3), d;
25503
25503
  return c[0] !== e || c[1] !== r ? (d = (0, import_jsx_runtime.jsx)(_e$1.Empty, {
25504
25504
  ref: r,
25505
25505
  className: "py-6 text-center text-sm",
@@ -25508,7 +25508,7 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
25508
25508
  });
25509
25509
  CommandEmpty.displayName = _e$1.Empty.displayName;
25510
25510
  var CommandGroup = import_react.forwardRef((e, r) => {
25511
- let c = (0, import_compiler_runtime$117.c)(9), d, f;
25511
+ let c = (0, import_compiler_runtime$118.c)(9), d, f;
25512
25512
  c[0] === e ? (d = c[1], f = c[2]) : ({ className: d, ...f } = e, c[0] = e, c[1] = d, c[2] = f);
25513
25513
  let h;
25514
25514
  c[3] === d ? h = c[4] : (h = cn("overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground", d), c[3] = d, c[4] = h);
@@ -25521,7 +25521,7 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
25521
25521
  });
25522
25522
  CommandGroup.displayName = _e$1.Group.displayName;
25523
25523
  var CommandSeparator = import_react.forwardRef((e, r) => {
25524
- let c = (0, import_compiler_runtime$117.c)(9), d, f;
25524
+ let c = (0, import_compiler_runtime$118.c)(9), d, f;
25525
25525
  c[0] === e ? (d = c[1], f = c[2]) : ({ className: d, ...f } = e, c[0] = e, c[1] = d, c[2] = f);
25526
25526
  let h;
25527
25527
  c[3] === d ? h = c[4] : (h = menuSeparatorVariants({
@@ -25536,7 +25536,7 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
25536
25536
  });
25537
25537
  CommandSeparator.displayName = _e$1.Separator.displayName;
25538
25538
  var CommandItem = import_react.forwardRef((e, r) => {
25539
- let c = (0, import_compiler_runtime$117.c)(17), d, f, h, _, v;
25539
+ let c = (0, import_compiler_runtime$118.c)(17), d, f, h, _, v;
25540
25540
  if (c[0] !== r || c[1] !== e) {
25541
25541
  let { className: y2, variant: S, inset: w, ...E } = e;
25542
25542
  d = _e$1.Item, f = r, c[7] !== y2 || c[8] !== w || c[9] !== S ? (h = cn(menuItemVariants({
@@ -25553,9 +25553,9 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
25553
25553
  }), c[11] = d, c[12] = f, c[13] = h, c[14] = _, c[15] = v, c[16] = y) : y = c[16], y;
25554
25554
  });
25555
25555
  CommandItem.displayName = _e$1.Item.displayName;
25556
- var import_compiler_runtime$116 = require_compiler_runtime();
25556
+ var import_compiler_runtime$117 = require_compiler_runtime();
25557
25557
  const DraggablePopover = (e) => {
25558
- let r = (0, import_compiler_runtime$116.c)(25), c, d, f;
25558
+ let r = (0, import_compiler_runtime$117.c)(25), c, d, f;
25559
25559
  r[0] === e ? (c = r[1], d = r[2], f = r[3]) : ({ children: c, className: d, ...f } = e, r[0] = e, r[1] = c, r[2] = d, r[3] = f);
25560
25560
  let h;
25561
25561
  r[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (h = {
@@ -27796,7 +27796,7 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
27796
27796
  ],
27797
27797
  unknown: []
27798
27798
  };
27799
- var import_compiler_runtime$115 = require_compiler_runtime();
27799
+ var import_compiler_runtime$116 = require_compiler_runtime();
27800
27800
  function renderFormatOptions(e, r) {
27801
27801
  var _a3, _b3, _c3;
27802
27802
  let c = (_a3 = e.columnDef.meta) == null ? void 0 : _a3.dataType, d = c ? formatOptions[c] : [];
@@ -27995,7 +27995,7 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
27995
27995
  }) : null;
27996
27996
  }
27997
27997
  const ClearFilterMenuItem = (e) => {
27998
- let r = (0, import_compiler_runtime$115.c)(5), { column: c } = e, d;
27998
+ let r = (0, import_compiler_runtime$116.c)(5), { column: c } = e, d;
27999
27999
  r[0] === c ? d = r[1] : (d = () => c.setFilterValue(void 0), r[0] = c, r[1] = d);
28000
28000
  let f;
28001
28001
  r[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (f = (0, import_jsx_runtime.jsx)(FunnelX, {
@@ -28025,7 +28025,7 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
28025
28025
  });
28026
28026
  }
28027
28027
  const FilterButtons = (e) => {
28028
- let r = (0, import_compiler_runtime$115.c)(8), { onApply: c, onClear: d, clearButtonDisabled: f } = e, h;
28028
+ let r = (0, import_compiler_runtime$116.c)(8), { onApply: c, onClear: d, clearButtonDisabled: f } = e, h;
28029
28029
  r[0] === c ? h = r[1] : (h = (0, import_jsx_runtime.jsx)(Button, {
28030
28030
  variant: "link",
28031
28031
  size: "sm",
@@ -28050,9 +28050,9 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
28050
28050
  ]
28051
28051
  }), r[5] = h, r[6] = _, r[7] = v) : v = r[7], v;
28052
28052
  };
28053
- var import_compiler_runtime$114 = require_compiler_runtime();
28053
+ var import_compiler_runtime$115 = require_compiler_runtime();
28054
28054
  const MimeCell = (e) => {
28055
- let r = (0, import_compiler_runtime$114.c)(6), { value: c } = e, d;
28055
+ let r = (0, import_compiler_runtime$115.c)(6), { value: c } = e, d;
28056
28056
  r[0] !== c.data || r[1] !== c.mimetype ? (d = {
28057
28057
  channel: "output",
28058
28058
  data: c.data,
@@ -28636,9 +28636,9 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
28636
28636
  let [r, c] = import_react.useState(e), [d, f] = import_react.useState(null);
28637
28637
  return e !== r && (f(r), c(e)), d;
28638
28638
  }
28639
- var import_compiler_runtime$113 = require_compiler_runtime();
28639
+ var import_compiler_runtime$114 = require_compiler_runtime();
28640
28640
  const DelayMount = (e) => {
28641
- let r = (0, import_compiler_runtime$113.c)(13), { milliseconds: c, children: d, fallback: f, visibility: h, threshold: _, rootMargin: v } = e, y = h === void 0 ? false : h, S = _ === void 0 ? 0 : _, w = v === void 0 ? "0px" : v, [E, O] = (0, import_react.useState)(false), [M, I] = (0, import_react.useState)(false), z;
28641
+ let r = (0, import_compiler_runtime$114.c)(13), { milliseconds: c, children: d, fallback: f, visibility: h, threshold: _, rootMargin: v } = e, y = h === void 0 ? false : h, S = _ === void 0 ? 0 : _, w = v === void 0 ? "0px" : v, [E, O] = (0, import_react.useState)(false), [M, I] = (0, import_react.useState)(false), z;
28642
28642
  r[0] !== w || r[1] !== S ? (z = {
28643
28643
  threshold: S,
28644
28644
  root: null,
@@ -28669,9 +28669,9 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
28669
28669
  children: i9
28670
28670
  }), r[10] = r9, r[11] = i9, r[12] = a9) : a9 = r[12], a9;
28671
28671
  };
28672
- var import_compiler_runtime$112 = require_compiler_runtime();
28672
+ var import_compiler_runtime$113 = require_compiler_runtime();
28673
28673
  const DatePopover = (e) => {
28674
- let r = (0, import_compiler_runtime$112.c)(15), { date: c, type: d, children: f } = e;
28674
+ let r = (0, import_compiler_runtime$113.c)(15), { date: c, type: d, children: f } = e;
28675
28675
  if (!c || Number.isNaN(new Date(c).getTime())) return f;
28676
28676
  let h;
28677
28677
  r[0] === c ? h = r[1] : (h = new Date(c), r[0] = c, r[1] = h);
@@ -28711,7 +28711,7 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
28711
28711
  }), r[12] = w, r[13] = E, r[14] = O) : O = r[14], O;
28712
28712
  };
28713
28713
  var TimezoneDisplay = (e) => {
28714
- let r = (0, import_compiler_runtime$112.c)(26), { date: c } = e, { locale: d } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), f;
28714
+ let r = (0, import_compiler_runtime$113.c)(26), { date: c } = e, { locale: d } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), f;
28715
28715
  r[0] === d ? f = r[1] : (f = Intl.DateTimeFormat(d).resolvedOptions(), r[0] = d, r[1] = f);
28716
28716
  let h = f.timeZone, _ = c.getUTCMilliseconds() !== 0, v;
28717
28717
  r[2] === _ ? v = r[3] : (v = _ ? {
@@ -28787,7 +28787,7 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
28787
28787
  ]
28788
28788
  }), r[23] = q, r[24] = M, r[25] = Z7) : Z7 = r[25], Z7;
28789
28789
  }, DateDisplay = (e) => {
28790
- let r = (0, import_compiler_runtime$112.c)(6), { date: c } = e, d;
28790
+ let r = (0, import_compiler_runtime$113.c)(6), { date: c } = e, d;
28791
28791
  r[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (d = {
28792
28792
  timeZone: "UTC",
28793
28793
  dateStyle: "long"
@@ -28799,7 +28799,7 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
28799
28799
  children: h
28800
28800
  }), r[4] = h, r[5] = _), _;
28801
28801
  }, RelativeTime = (e) => {
28802
- let r = (0, import_compiler_runtime$112.c)(6), { date: c } = e, { locale: d } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), f, h;
28802
+ let r = (0, import_compiler_runtime$113.c)(6), { date: c } = e, { locale: d } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), f, h;
28803
28803
  if (r[0] !== c || r[1] !== d) {
28804
28804
  h = /* @__PURE__ */ Symbol.for("react.early_return_sentinel");
28805
28805
  bb0: {
@@ -28851,7 +28851,7 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
28851
28851
  return r[4] === f ? _ = r[5] : (_ = (0, import_jsx_runtime.jsx)("span", {
28852
28852
  children: f
28853
28853
  }), r[4] = f, r[5] = _), _;
28854
- }, import_compiler_runtime$111 = require_compiler_runtime(), hashString = (e) => {
28854
+ }, import_compiler_runtime$112 = require_compiler_runtime(), hashString = (e) => {
28855
28855
  let r = 0;
28856
28856
  for (let c = 0; c < e.length; c++) {
28857
28857
  let d = e.charCodeAt(c);
@@ -28868,7 +28868,7 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
28868
28868
  return d;
28869
28869
  };
28870
28870
  const ChartSkeleton = (e) => {
28871
- let r = (0, import_compiler_runtime$111.c)(11), { seed: c, width: d, height: f } = e, h = d / 9, _ = f - 15, v;
28871
+ let r = (0, import_compiler_runtime$112.c)(11), { seed: c, width: d, height: f } = e, h = d / 9, _ = f - 15, v;
28872
28872
  if (r[0] !== h || r[1] !== f || r[2] !== c || r[3] !== _ || r[4] !== d) {
28873
28873
  let e2 = generateHeights({
28874
28874
  numBars: 9,
@@ -29873,11 +29873,11 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
29873
29873
  }
29874
29874
  }, __publicField(_g, "EMPTY", new _g([], {}, {}, {}, {}, {
29875
29875
  includeCharts: false
29876
- })), _g), import_compiler_runtime$110 = require_compiler_runtime();
29876
+ })), _g), import_compiler_runtime$111 = require_compiler_runtime();
29877
29877
  const ColumnChartContext = import_react.createContext(ColumnChartSpecModel.EMPTY);
29878
29878
  var batchedLoader = createBatchedLoader();
29879
29879
  const TableColumnSummary = (e) => {
29880
- let r = (0, import_compiler_runtime$110.c)(21), { columnId: c } = e, { locale: d } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), f = import_react.use(ColumnChartContext), { theme: h } = useTheme(), _, v, y;
29880
+ let r = (0, import_compiler_runtime$111.c)(21), { columnId: c } = e, { locale: d } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), f = import_react.use(ColumnChartContext), { theme: h } = useTheme(), _, v, y;
29881
29881
  if (r[0] !== f || r[1] !== c || r[2] !== d || r[3] !== h) {
29882
29882
  let { spec: e2, type: S2, stats: w } = f.getHeaderSummary(c), E = null;
29883
29883
  if (e2) {
@@ -30088,8 +30088,8 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
30088
30088
  let f = e.at(-1);
30089
30089
  return c.push(f), c;
30090
30090
  }
30091
- var import_compiler_runtime$109 = require_compiler_runtime(), ImageWithFallback = (e) => {
30092
- let r = (0, import_compiler_runtime$109.c)(14), { url: c } = e, [d, f] = (0, import_react.useState)(false), [h, _] = (0, import_react.useState)(false);
30091
+ var import_compiler_runtime$110 = require_compiler_runtime(), ImageWithFallback = (e) => {
30092
+ let r = (0, import_compiler_runtime$110.c)(14), { url: c } = e, [d, f] = (0, import_react.useState)(false), [h, _] = (0, import_react.useState)(false);
30093
30093
  if (d) {
30094
30094
  let e2;
30095
30095
  return r[0] === c ? e2 = r[1] : (e2 = (0, import_jsx_runtime.jsx)(URLAnchor, {
@@ -30163,7 +30163,7 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
30163
30163
  return r.some((e2) => c.has(e2.type));
30164
30164
  }
30165
30165
  const MarkdownUrlDetector = (e) => {
30166
- let r = (0, import_compiler_runtime$109.c)(4), { content: c, parts: d } = e;
30166
+ let r = (0, import_compiler_runtime$110.c)(4), { content: c, parts: d } = e;
30167
30167
  if (isMarkdown(c)) {
30168
30168
  let e2;
30169
30169
  return r[0] === c ? e2 = r[1] : (e2 = (0, import_jsx_runtime.jsx)(MarkdownRenderer, {
@@ -30180,7 +30180,7 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
30180
30180
  url: e2.url
30181
30181
  }, r) : e2.value);
30182
30182
  var URLAnchor = (e) => {
30183
- let r = (0, import_compiler_runtime$109.c)(3), { url: c } = e, d;
30183
+ let r = (0, import_compiler_runtime$110.c)(3), { url: c } = e, d;
30184
30184
  r[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (d = Events.stopPropagation(), r[0] = d) : d = r[0];
30185
30185
  let f;
30186
30186
  return r[1] === c ? f = r[2] : (f = (0, import_jsx_runtime.jsx)("a", {
@@ -30541,8 +30541,8 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
30541
30541
  maximumFractionDigits: maxFractionalDigits(c)
30542
30542
  }).format(e);
30543
30543
  };
30544
- var import_compiler_runtime$108 = require_compiler_runtime(), Table = import_react.forwardRef((e, r) => {
30545
- let c = (0, import_compiler_runtime$108.c)(9), d, f;
30544
+ var import_compiler_runtime$109 = require_compiler_runtime(), Table = import_react.forwardRef((e, r) => {
30545
+ let c = (0, import_compiler_runtime$109.c)(9), d, f;
30546
30546
  c[0] === e ? (d = c[1], f = c[2]) : ({ className: d, ...f } = e, c[0] = e, c[1] = d, c[2] = f);
30547
30547
  let h;
30548
30548
  c[3] === d ? h = c[4] : (h = cn("w-full caption-bottom text-sm", d), c[3] = d, c[4] = h);
@@ -30558,7 +30558,7 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
30558
30558
  });
30559
30559
  Table.displayName = "Table";
30560
30560
  var TableHeader = import_react.forwardRef((e, r) => {
30561
- let c = (0, import_compiler_runtime$108.c)(9), d, f;
30561
+ let c = (0, import_compiler_runtime$109.c)(9), d, f;
30562
30562
  c[0] === e ? (d = c[1], f = c[2]) : ({ className: d, ...f } = e, c[0] = e, c[1] = d, c[2] = f);
30563
30563
  let h;
30564
30564
  c[3] === d ? h = c[4] : (h = cn("[&_tr]:border-b bg-background", d), c[3] = d, c[4] = h);
@@ -30571,7 +30571,7 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
30571
30571
  });
30572
30572
  TableHeader.displayName = "TableHeader";
30573
30573
  var TableBody = import_react.forwardRef((e, r) => {
30574
- let c = (0, import_compiler_runtime$108.c)(9), d, f;
30574
+ let c = (0, import_compiler_runtime$109.c)(9), d, f;
30575
30575
  c[0] === e ? (d = c[1], f = c[2]) : ({ className: d, ...f } = e, c[0] = e, c[1] = d, c[2] = f);
30576
30576
  let h;
30577
30577
  c[3] === d ? h = c[4] : (h = cn("[&_tr:last-child]:border-0", d), c[3] = d, c[4] = h);
@@ -30584,7 +30584,7 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
30584
30584
  });
30585
30585
  TableBody.displayName = "TableBody";
30586
30586
  var TableFooter = import_react.forwardRef((e, r) => {
30587
- let c = (0, import_compiler_runtime$108.c)(9), d, f;
30587
+ let c = (0, import_compiler_runtime$109.c)(9), d, f;
30588
30588
  c[0] === e ? (d = c[1], f = c[2]) : ({ className: d, ...f } = e, c[0] = e, c[1] = d, c[2] = f);
30589
30589
  let h;
30590
30590
  c[3] === d ? h = c[4] : (h = cn("bg-primary font-medium text-primary-foreground", d), c[3] = d, c[4] = h);
@@ -30597,7 +30597,7 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
30597
30597
  });
30598
30598
  TableFooter.displayName = "TableFooter";
30599
30599
  var TableRow = import_react.forwardRef((e, r) => {
30600
- let c = (0, import_compiler_runtime$108.c)(9), d, f;
30600
+ let c = (0, import_compiler_runtime$109.c)(9), d, f;
30601
30601
  c[0] === e ? (d = c[1], f = c[2]) : ({ className: d, ...f } = e, c[0] = e, c[1] = d, c[2] = f);
30602
30602
  let h;
30603
30603
  c[3] === d ? h = c[4] : (h = cn("border-b transition-colors bg-background hover:bg-(--slate-2) data-[state=selected]:bg-(--slate-3)", d), c[3] = d, c[4] = h);
@@ -30610,7 +30610,7 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
30610
30610
  });
30611
30611
  TableRow.displayName = "TableRow";
30612
30612
  var TableHead = import_react.forwardRef((e, r) => {
30613
- let c = (0, import_compiler_runtime$108.c)(9), d, f;
30613
+ let c = (0, import_compiler_runtime$109.c)(9), d, f;
30614
30614
  c[0] === e ? (d = c[1], f = c[2]) : ({ className: d, ...f } = e, c[0] = e, c[1] = d, c[2] = f);
30615
30615
  let h;
30616
30616
  c[3] === d ? h = c[4] : (h = cn("h-10 px-2 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0", d), c[3] = d, c[4] = h);
@@ -30623,7 +30623,7 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
30623
30623
  });
30624
30624
  TableHead.displayName = "TableHead";
30625
30625
  var TableCell = import_react.forwardRef((e, r) => {
30626
- let c = (0, import_compiler_runtime$108.c)(9), d, f;
30626
+ let c = (0, import_compiler_runtime$109.c)(9), d, f;
30627
30627
  c[0] === e ? (d = c[1], f = c[2]) : ({ className: d, ...f } = e, c[0] = e, c[1] = d, c[2] = f);
30628
30628
  let h;
30629
30629
  c[3] === d ? h = c[4] : (h = cn("p-1.5 align-middle [&:has([role=checkbox])]:pr-0", d), c[3] = d, c[4] = h);
@@ -30636,7 +30636,7 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
30636
30636
  });
30637
30637
  TableCell.displayName = "TableCell";
30638
30638
  var TableCaption = import_react.forwardRef((e, r) => {
30639
- let c = (0, import_compiler_runtime$108.c)(9), d, f;
30639
+ let c = (0, import_compiler_runtime$109.c)(9), d, f;
30640
30640
  c[0] === e ? (d = c[1], f = c[2]) : ({ className: d, ...f } = e, c[0] = e, c[1] = d, c[2] = f);
30641
30641
  let h;
30642
30642
  c[3] === d ? h = c[4] : (h = cn("mt-4 text-sm text-muted-foreground", d), c[3] = d, c[4] = h);
@@ -32017,7 +32017,7 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
32017
32017
  });
32018
32018
  }
32019
32019
  PanelResizeHandle.displayName = "PanelResizeHandle";
32020
- var import_compiler_runtime$107 = require_compiler_runtime(), toggleVariants = cva(cn("inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-background transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50", "data-[state=on]:bg-muted data-[state=on]:text-muted-foreground"), {
32020
+ var import_compiler_runtime$108 = require_compiler_runtime(), toggleVariants = cva(cn("inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-background transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50", "data-[state=on]:bg-muted data-[state=on]:text-muted-foreground"), {
32021
32021
  variants: {
32022
32022
  variant: {
32023
32023
  default: "bg-transparent",
@@ -32035,7 +32035,7 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
32035
32035
  size: "default"
32036
32036
  }
32037
32037
  }), Toggle = import_react.forwardRef((e, r) => {
32038
- let c = (0, import_compiler_runtime$107.c)(13), d, f, h, _;
32038
+ let c = (0, import_compiler_runtime$108.c)(13), d, f, h, _;
32039
32039
  c[0] === e ? (d = c[1], f = c[2], h = c[3], _ = c[4]) : ({ className: d, variant: _, size: h, ...f } = e, c[0] = e, c[1] = d, c[2] = f, c[3] = h, c[4] = _);
32040
32040
  let v;
32041
32041
  c[5] !== d || c[6] !== h || c[7] !== _ ? (v = cn(toggleVariants({
@@ -32058,12 +32058,12 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
32058
32058
  }, contextAwarePanelOwner = atom(null), contextAwarePanelType = atom(null), contextAwarePanelOpen = atom(false);
32059
32059
  atom(false);
32060
32060
  const isCellAwareAtom = atom(false);
32061
- var import_compiler_runtime$106 = require_compiler_runtime();
32061
+ var import_compiler_runtime$107 = require_compiler_runtime();
32062
32062
  const PANEL_TYPES = {
32063
32063
  ROW_VIEWER: "row-viewer",
32064
32064
  COLUMN_EXPLORER: "column-explorer"
32065
32065
  }, ContextAwarePanelItem = (e) => {
32066
- let r = (0, import_compiler_runtime$106.c)(2), { children: c } = e, d;
32066
+ let r = (0, import_compiler_runtime$107.c)(2), { children: c } = e, d;
32067
32067
  return r[0] === c ? d = r[1] : (d = (0, import_jsx_runtime.jsx)(ErrorBoundary, {
32068
32068
  children: (0, import_jsx_runtime.jsx)(Fill, {
32069
32069
  name: SlotNames.CONTEXT_AWARE_PANEL,
@@ -32262,9 +32262,9 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
32262
32262
  ...e
32263
32263
  ];
32264
32264
  }
32265
- var import_compiler_runtime$105 = require_compiler_runtime();
32265
+ var import_compiler_runtime$106 = require_compiler_runtime();
32266
32266
  function useScrollContainerHeight(e) {
32267
- let r = (0, import_compiler_runtime$105.c)(8), { maxHeight: c, virtualize: d } = e, f = (0, import_react.useRef)(null), h, _;
32267
+ let r = (0, import_compiler_runtime$106.c)(8), { maxHeight: c, virtualize: d } = e, f = (0, import_react.useRef)(null), h, _;
32268
32268
  r[0] !== c || r[1] !== d ? (h = () => {
32269
32269
  if (!f.current) return;
32270
32270
  let e2 = f.current.parentElement;
@@ -32861,9 +32861,9 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
32861
32861
  var _a3;
32862
32862
  window.getSelection && ((_a3 = window.getSelection()) == null ? void 0 : _a3.empty());
32863
32863
  };
32864
- var import_compiler_runtime$104 = require_compiler_runtime();
32864
+ var import_compiler_runtime$105 = require_compiler_runtime();
32865
32865
  const CellSelectionProvider = (e) => {
32866
- let r = (0, import_compiler_runtime$104.c)(3), { children: c } = e, d;
32866
+ let r = (0, import_compiler_runtime$105.c)(3), { children: c } = e, d;
32867
32867
  r[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (d = [
32868
32868
  cellSelectionStateAtom
32869
32869
  ], r[0] = d) : d = r[0];
@@ -33418,8 +33418,8 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
33418
33418
  ...e
33419
33419
  });
33420
33420
  }
33421
- var import_compiler_runtime$103 = require_compiler_runtime(), ContextMenu = Root2$3, ContextMenuTrigger = Trigger$2, ContextMenuPortal = withFullScreenAsRoot(Portal2), InternalContextMenuContent = withSmartCollisionBoundary(Content2), InternalContextMenuSubContent = withSmartCollisionBoundary(SubContent2), ContextMenuSubTrigger = import_react.forwardRef((e, r) => {
33422
- let c = (0, import_compiler_runtime$103.c)(14), d, f, h, _;
33421
+ var import_compiler_runtime$104 = require_compiler_runtime(), ContextMenu = Root2$3, ContextMenuTrigger = Trigger$2, ContextMenuPortal = withFullScreenAsRoot(Portal2), InternalContextMenuContent = withSmartCollisionBoundary(Content2), InternalContextMenuSubContent = withSmartCollisionBoundary(SubContent2), ContextMenuSubTrigger = import_react.forwardRef((e, r) => {
33422
+ let c = (0, import_compiler_runtime$104.c)(14), d, f, h, _;
33423
33423
  c[0] === e ? (d = c[1], f = c[2], h = c[3], _ = c[4]) : ({ className: f, inset: h, children: d, ..._ } = e, c[0] = e, c[1] = d, c[2] = f, c[3] = h, c[4] = _);
33424
33424
  let v;
33425
33425
  c[5] !== f || c[6] !== h ? (v = menuSubTriggerVariants({
@@ -33443,7 +33443,7 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
33443
33443
  });
33444
33444
  ContextMenuSubTrigger.displayName = SubTrigger2.displayName;
33445
33445
  var contentCommon = "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2", ContextMenuSubContent = import_react.forwardRef((e, r) => {
33446
- let c = (0, import_compiler_runtime$103.c)(9), d, f;
33446
+ let c = (0, import_compiler_runtime$104.c)(9), d, f;
33447
33447
  c[0] === e ? (d = c[1], f = c[2]) : ({ className: d, ...f } = e, c[0] = e, c[1] = d, c[2] = f);
33448
33448
  let h;
33449
33449
  c[3] === d ? h = c[4] : (h = cn(menuContentCommon({
@@ -33458,7 +33458,7 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
33458
33458
  });
33459
33459
  ContextMenuSubContent.displayName = SubContent2.displayName;
33460
33460
  var ContextMenuContent = import_react.forwardRef((e, r) => {
33461
- let c = (0, import_compiler_runtime$103.c)(15), d, f, h;
33461
+ let c = (0, import_compiler_runtime$104.c)(15), d, f, h;
33462
33462
  c[0] === e ? (d = c[1], f = c[2], h = c[3]) : ({ className: d, scrollable: h, ...f } = e, c[0] = e, c[1] = d, c[2] = f, c[3] = h);
33463
33463
  let _ = h === void 0 ? true : h, v;
33464
33464
  c[4] !== d || c[5] !== _ ? (v = cn(menuContentCommon(), contentCommon, _ && "overflow-auto", d), c[4] = d, c[5] = _, c[6] = v) : v = c[6];
@@ -33481,7 +33481,7 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
33481
33481
  });
33482
33482
  ContextMenuContent.displayName = Content2.displayName;
33483
33483
  var ContextMenuItem = import_react.forwardRef((e, r) => {
33484
- let c = (0, import_compiler_runtime$103.c)(13), d, f, h, _;
33484
+ let c = (0, import_compiler_runtime$104.c)(13), d, f, h, _;
33485
33485
  c[0] === e ? (d = c[1], f = c[2], h = c[3], _ = c[4]) : ({ className: d, inset: f, variant: _, ...h } = e, c[0] = e, c[1] = d, c[2] = f, c[3] = h, c[4] = _);
33486
33486
  let v;
33487
33487
  c[5] !== d || c[6] !== f || c[7] !== _ ? (v = menuItemVariants({
@@ -33498,7 +33498,7 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
33498
33498
  });
33499
33499
  ContextMenuItem.displayName = Item2$1.displayName;
33500
33500
  var ContextMenuCheckboxItem = import_react.forwardRef((e, r) => {
33501
- let c = (0, import_compiler_runtime$103.c)(15), d, f, h, _;
33501
+ let c = (0, import_compiler_runtime$104.c)(15), d, f, h, _;
33502
33502
  c[0] === e ? (d = c[1], f = c[2], h = c[3], _ = c[4]) : ({ className: h, children: f, checked: d, ..._ } = e, c[0] = e, c[1] = d, c[2] = f, c[3] = h, c[4] = _);
33503
33503
  let v;
33504
33504
  c[5] === h ? v = c[6] : (v = menuControlVariants({
@@ -33529,7 +33529,7 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
33529
33529
  });
33530
33530
  ContextMenuCheckboxItem.displayName = CheckboxItem2.displayName;
33531
33531
  var ContextMenuRadioItem = import_react.forwardRef((e, r) => {
33532
- let c = (0, import_compiler_runtime$103.c)(13), d, f, h;
33532
+ let c = (0, import_compiler_runtime$104.c)(13), d, f, h;
33533
33533
  c[0] === e ? (d = c[1], f = c[2], h = c[3]) : ({ className: f, children: d, ...h } = e, c[0] = e, c[1] = d, c[2] = f, c[3] = h);
33534
33534
  let _;
33535
33535
  c[4] === f ? _ = c[5] : (_ = menuControlCheckVariants({
@@ -33559,7 +33559,7 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
33559
33559
  });
33560
33560
  ContextMenuRadioItem.displayName = RadioItem2.displayName;
33561
33561
  var ContextMenuLabel = import_react.forwardRef((e, r) => {
33562
- let c = (0, import_compiler_runtime$103.c)(11), d, f, h;
33562
+ let c = (0, import_compiler_runtime$104.c)(11), d, f, h;
33563
33563
  c[0] === e ? (d = c[1], f = c[2], h = c[3]) : ({ className: d, inset: f, ...h } = e, c[0] = e, c[1] = d, c[2] = f, c[3] = h);
33564
33564
  let _;
33565
33565
  c[4] !== d || c[5] !== f ? (_ = menuLabelVariants({
@@ -33575,7 +33575,7 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
33575
33575
  });
33576
33576
  ContextMenuLabel.displayName = Label2.displayName;
33577
33577
  var ContextMenuSeparator = import_react.forwardRef((e, r) => {
33578
- let c = (0, import_compiler_runtime$103.c)(9), d, f;
33578
+ let c = (0, import_compiler_runtime$104.c)(9), d, f;
33579
33579
  c[0] === e ? (d = c[1], f = c[2]) : ({ className: d, ...f } = e, c[0] = e, c[1] = d, c[2] = f);
33580
33580
  let h;
33581
33581
  c[3] === d ? h = c[4] : (h = cn(menuSeparatorVariants({
@@ -33589,9 +33589,9 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
33589
33589
  }), c[5] = f, c[6] = r, c[7] = h, c[8] = _) : _ = c[8], _;
33590
33590
  });
33591
33591
  ContextMenuSeparator.displayName = Separator2.displayName;
33592
- var import_compiler_runtime$102 = require_compiler_runtime();
33592
+ var import_compiler_runtime$103 = require_compiler_runtime();
33593
33593
  const DataTableContextMenu = (e) => {
33594
- let r = (0, import_compiler_runtime$102.c)(12), { contextMenuRef: c, tableBody: d, tableRef: f, copyAllCells: h } = e, _;
33594
+ let r = (0, import_compiler_runtime$103.c)(12), { contextMenuRef: c, tableBody: d, tableRef: f, copyAllCells: h } = e, _;
33595
33595
  r[0] !== c || r[1] !== f ? (_ = (e2) => {
33596
33596
  var _a3;
33597
33597
  let r2 = c.current;
@@ -33691,9 +33691,9 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
33691
33691
  ]
33692
33692
  });
33693
33693
  };
33694
- var import_compiler_runtime$101 = require_compiler_runtime();
33694
+ var import_compiler_runtime$102 = require_compiler_runtime();
33695
33695
  const CellRangeSelectionIndicator = (0, import_react.memo)((e) => {
33696
- let r = (0, import_compiler_runtime$101.c)(9), { cellId: c, className: d } = e, f;
33696
+ let r = (0, import_compiler_runtime$102.c)(9), { cellId: c, className: d } = e, f;
33697
33697
  r[0] === c ? f = r[1] : (f = createCellStateAtom(c), r[0] = c, r[1] = f);
33698
33698
  let { isSelected: h, isCopied: _ } = useAtomValue(f);
33699
33699
  if (!h && !_) return null;
@@ -33706,9 +33706,9 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
33706
33706
  }), r[6] = c, r[7] = S, r[8] = w) : w = r[8], w;
33707
33707
  });
33708
33708
  CellRangeSelectionIndicator.displayName = "CellRangeSelectionIndicator";
33709
- var import_compiler_runtime$100 = require_compiler_runtime();
33709
+ var import_compiler_runtime$101 = require_compiler_runtime();
33710
33710
  const useCellRangeSelection = (e) => {
33711
- let r = (0, import_compiler_runtime$100.c)(30), { table: c } = e, d = useCellSelectionReducerActions(), f;
33711
+ let r = (0, import_compiler_runtime$101.c)(30), { table: c } = e, d = useCellSelectionReducerActions(), f;
33712
33712
  r[0] !== d || r[1] !== c ? (f = () => {
33713
33713
  d.handleCopy({
33714
33714
  table: c,
@@ -33799,9 +33799,9 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
33799
33799
  let r = e.target;
33800
33800
  return r === e.currentTarget || !(r instanceof Element) ? false : r.closest(INTERACTIVE_SELECTOR) !== null;
33801
33801
  }
33802
- var import_compiler_runtime$99 = require_compiler_runtime(), focusedCellAtom = atom((e) => e(cellSelectionStateAtom).focusedCell);
33802
+ var import_compiler_runtime$100 = require_compiler_runtime(), focusedCellAtom = atom((e) => e(cellSelectionStateAtom).focusedCell);
33803
33803
  function useScrollIntoViewOnFocus(e) {
33804
- let r = (0, import_compiler_runtime$99.c)(2), c;
33804
+ let r = (0, import_compiler_runtime$100.c)(2), c;
33805
33805
  r[0] === e ? c = r[1] : (c = (r2) => {
33806
33806
  (r2 == null ? void 0 : r2.cellId) && setTimeout(() => {
33807
33807
  var _a3;
@@ -34248,9 +34248,9 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
34248
34248
  e === "too_many" ? "Unknown" : prettifyRowCount(e, c),
34249
34249
  `${prettyNumber(r, c)} ${new PluralWord("column").pluralize(r)}`
34250
34250
  ].join(", ");
34251
- var import_compiler_runtime$98 = require_compiler_runtime(), MAX_FRACTION_DIGITS = 3;
34251
+ var import_compiler_runtime$99 = require_compiler_runtime(), MAX_FRACTION_DIGITS = 3;
34252
34252
  const CellSelectionStats = (e) => {
34253
- let r = (0, import_compiler_runtime$98.c)(21), { table: c, className: d } = e, { locale: f } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), h = useAtomValue(selectedCellsAtom), _ = countDataCellsInSelection(h);
34253
+ let r = (0, import_compiler_runtime$99.c)(21), { table: c, className: d } = e, { locale: f } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), h = useAtomValue(selectedCellsAtom), _ = countDataCellsInSelection(h);
34254
34254
  if (_ < 2) {
34255
34255
  let e2;
34256
34256
  r[0] === d ? e2 = r[1] : (e2 = cn("text-xs text-muted-foreground/80 italic", d), r[0] = d, r[1] = e2);
@@ -34293,7 +34293,7 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
34293
34293
  var formatNumber = (e, r) => e.toLocaleString(r, {
34294
34294
  maximumFractionDigits: MAX_FRACTION_DIGITS
34295
34295
  }), StatSpan = (e) => {
34296
- let r = (0, import_compiler_runtime$98.c)(6), { name: c, value: d, locale: f } = e, h;
34296
+ let r = (0, import_compiler_runtime$99.c)(6), { name: c, value: d, locale: f } = e, h;
34297
34297
  r[0] !== f || r[1] !== d ? (h = formatNumber(d, f), r[0] = f, r[1] = d, r[2] = h) : h = r[2];
34298
34298
  let _;
34299
34299
  return r[3] !== c || r[4] !== h ? (_ = (0, import_jsx_runtime.jsxs)("span", {
@@ -34304,14 +34304,14 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
34304
34304
  ]
34305
34305
  }), r[3] = c, r[4] = h, r[5] = _) : _ = r[5], _;
34306
34306
  }, CountStat = (e) => {
34307
- let r = (0, import_compiler_runtime$98.c)(3), { count: c, locale: d } = e, f;
34307
+ let r = (0, import_compiler_runtime$99.c)(3), { count: c, locale: d } = e, f;
34308
34308
  return r[0] !== c || r[1] !== d ? (f = (0, import_jsx_runtime.jsx)(StatSpan, {
34309
34309
  name: "Count",
34310
34310
  value: c,
34311
34311
  locale: d
34312
34312
  }), r[0] = c, r[1] = d, r[2] = f) : f = r[2], f;
34313
34313
  }, SumStat = (e) => {
34314
- let r = (0, import_compiler_runtime$98.c)(6), { numericValues: c, locale: d } = e;
34314
+ let r = (0, import_compiler_runtime$99.c)(6), { numericValues: c, locale: d } = e;
34315
34315
  if (c.length === 0) return null;
34316
34316
  let f, h;
34317
34317
  if (r[0] !== c) {
@@ -34325,7 +34325,7 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
34325
34325
  locale: d
34326
34326
  }), r[3] = d, r[4] = _, r[5] = v) : v = r[5], v;
34327
34327
  }, AverageStat = (e) => {
34328
- let r = (0, import_compiler_runtime$98.c)(5), { numericValues: c, locale: d } = e;
34328
+ let r = (0, import_compiler_runtime$99.c)(5), { numericValues: c, locale: d } = e;
34329
34329
  if (c.length === 0) return null;
34330
34330
  let f = c.reduce(_temp2$23, 0) / c.length, h;
34331
34331
  r[0] === f ? h = r[1] : (h = f.toFixed(MAX_FRACTION_DIGITS), r[0] = f, r[1] = h);
@@ -34470,8 +34470,8 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
34470
34470
  },
34471
34471
  replace: (e, r) => e.endsWith(`.${r}`) ? e : `${Filenames.withoutExtension(e)}.${r}`
34472
34472
  };
34473
- var import_cuid2 = require_cuid2(), import_compiler_runtime$97 = require_compiler_runtime(), Progress = import_react.forwardRef((e, r) => {
34474
- let c = (0, import_compiler_runtime$97.c)(20), d, f, h, _;
34473
+ var import_cuid2 = require_cuid2(), import_compiler_runtime$98 = require_compiler_runtime(), Progress = import_react.forwardRef((e, r) => {
34474
+ let c = (0, import_compiler_runtime$98.c)(20), d, f, h, _;
34475
34475
  c[0] === e ? (d = c[1], f = c[2], h = c[3], _ = c[4]) : ({ className: d, value: _, indeterminate: f, ...h } = e, c[0] = e, c[1] = d, c[2] = f, c[3] = h, c[4] = _);
34476
34476
  let v;
34477
34477
  c[5] === d ? v = c[6] : (v = cn("relative h-2 w-full overflow-hidden rounded-full bg-primary/20", d), c[5] = d, c[6] = v);
@@ -34523,7 +34523,7 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
34523
34523
  let c = URL.createObjectURL(e);
34524
34524
  downloadByURL(c, r), URL.revokeObjectURL(c);
34525
34525
  }
34526
- var import_compiler_runtime$96 = require_compiler_runtime(), FILE_TYPES = {
34526
+ var import_compiler_runtime$97 = require_compiler_runtime(), FILE_TYPES = {
34527
34527
  CSV: {
34528
34528
  label: "CSV",
34529
34529
  format: "csv",
@@ -34565,7 +34565,7 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
34565
34565
  FILE_TYPES.MARKDOWN
34566
34566
  ];
34567
34567
  const ExportMenu = (e) => {
34568
- let r = (0, import_compiler_runtime$96.c)(29), { locale: c } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), [d, f] = import_react.useState(false), h = d ? "text-primary" : "text-muted-foreground", _;
34568
+ let r = (0, import_compiler_runtime$97.c)(29), { locale: c } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), [d, f] = import_react.useState(false), h = d ? "text-primary" : "text-muted-foreground", _;
34569
34569
  r[0] === h ? _ = r[1] : (_ = cn("print:hidden text-xs gap-1", h), r[0] = h, r[1] = _);
34570
34570
  let v;
34571
34571
  r[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (v = (0, import_jsx_runtime.jsx)(Download, {
@@ -35014,10 +35014,10 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
35014
35014
  ]
35015
35015
  }), e.focus(), true;
35016
35016
  }
35017
- var import_compiler_runtime$94 = require_compiler_runtime(), KEY$1 = "item";
35017
+ var import_compiler_runtime$95 = require_compiler_runtime(), KEY$1 = "item";
35018
35018
  const MarimoTracebackOutput = (e) => {
35019
35019
  var _a3;
35020
- let r = (0, import_compiler_runtime$94.c)(47), { onRefactorWithAI: c, traceback: d, cellId: f } = e, h;
35020
+ let r = (0, import_compiler_runtime$95.c)(47), { onRefactorWithAI: c, traceback: d, cellId: f } = e, h;
35021
35021
  r[0] === d ? h = r[1] : (h = renderHTML({
35022
35022
  html: d,
35023
35023
  additionalReplacements: [
@@ -35266,7 +35266,7 @@ ${E}`,
35266
35266
  });
35267
35267
  };
35268
35268
  var InsertBreakpointContent = () => {
35269
- let e = (0, import_compiler_runtime$94.c)(1), r;
35269
+ let e = (0, import_compiler_runtime$95.c)(1), r;
35270
35270
  return e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (r = (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
35271
35271
  children: [
35272
35272
  "Insert a ",
@@ -35320,9 +35320,9 @@ ${E}`,
35320
35320
  return "\u2753";
35321
35321
  }
35322
35322
  }
35323
- var import_compiler_runtime$93 = require_compiler_runtime(), METADATA_KEY = "__metadata__";
35323
+ var import_compiler_runtime$94 = require_compiler_runtime(), METADATA_KEY = "__metadata__";
35324
35324
  const OutputRenderer = (0, import_react.memo)((e) => {
35325
- let r = (0, import_compiler_runtime$93.c)(54), { message: c, onRefactorWithAI: d, cellId: f, wrapText: h, metadata: _, renderFallback: v } = e, { theme: y } = useTheme(), S;
35325
+ let r = (0, import_compiler_runtime$94.c)(54), { message: c, onRefactorWithAI: d, cellId: f, wrapText: h, metadata: _, renderFallback: v } = e, { theme: y } = useTheme(), S;
35326
35326
  bb0: {
35327
35327
  let e2 = c.data;
35328
35328
  switch (c.mimetype) {
@@ -35514,7 +35514,7 @@ ${E}`,
35514
35514
  OutputRenderer.displayName = "OutputRenderer";
35515
35515
  var MimeBundleOutputRenderer = (0, import_react.memo)((e) => {
35516
35516
  var _a3;
35517
- let r = (0, import_compiler_runtime$93.c)(31), { data: c, channel: d, cellId: f } = e, h = Array.isArray(c) ? c[0] : c, { mode: _ } = useAtomValue(viewStateAtom), v = _ === "present" || _ === "read", y = h[METADATA_KEY], S, w, E, O, M, I, z, G;
35517
+ let r = (0, import_compiler_runtime$94.c)(31), { data: c, channel: d, cellId: f } = e, h = Array.isArray(c) ? c[0] : c, { mode: _ } = useAtomValue(viewStateAtom), v = _ === "present" || _ === "read", y = h[METADATA_KEY], S, w, E, O, M, I, z, G;
35518
35518
  if (r[0] !== v || r[1] !== f || r[2] !== d || r[3] !== y || r[4] !== h) {
35519
35519
  G = /* @__PURE__ */ Symbol.for("react.early_return_sentinel");
35520
35520
  bb0: {
@@ -35585,7 +35585,7 @@ ${E}`,
35585
35585
  });
35586
35586
  MimeBundleOutputRenderer.displayName = "MimeBundleOutputRenderer";
35587
35587
  const OutputArea = import_react.memo((e) => {
35588
- let r = (0, import_compiler_runtime$93.c)(17), { output: c, cellId: d, stale: f, loading: h, allowExpand: _, forceExpand: v, className: y } = e;
35588
+ let r = (0, import_compiler_runtime$94.c)(17), { output: c, cellId: d, stale: f, loading: h, allowExpand: _, forceExpand: v, className: y } = e;
35589
35589
  if (c === null || c.channel === "output" && c.data === "") return null;
35590
35590
  let S = f ? "This output is stale" : void 0, w = _ ? ExpandableOutput : Div, E;
35591
35591
  r[0] === d ? E = r[1] : (E = CellOutputId.create(d), r[0] = d, r[1] = E);
@@ -35610,7 +35610,7 @@ ${E}`,
35610
35610
  });
35611
35611
  OutputArea.displayName = "OutputArea";
35612
35612
  var Div = import_react.forwardRef((e, r) => {
35613
- let c = (0, import_compiler_runtime$93.c)(3), d;
35613
+ let c = (0, import_compiler_runtime$94.c)(3), d;
35614
35614
  return c[0] !== e || c[1] !== r ? (d = (0, import_jsx_runtime.jsx)("div", {
35615
35615
  ref: r,
35616
35616
  ...e
@@ -35618,7 +35618,7 @@ ${E}`,
35618
35618
  });
35619
35619
  Div.displayName = "Div";
35620
35620
  var ExpandableOutput = import_react.memo((e) => {
35621
- let r = (0, import_compiler_runtime$93.c)(24), { cellId: c, children: d, forceExpand: f, ...h } = e, _ = (0, import_react.useRef)(null), [v, y] = useExpandedOutput(c), S = useOverflowDetection(_), { hasFullscreen: w } = useIframeCapabilities(), E;
35621
+ let r = (0, import_compiler_runtime$94.c)(24), { cellId: c, children: d, forceExpand: f, ...h } = e, _ = (0, import_react.useRef)(null), [v, y] = useExpandedOutput(c), S = useOverflowDetection(_), { hasFullscreen: w } = useIframeCapabilities(), E;
35622
35622
  r[0] === w ? E = r[1] : (E = w && (0, import_jsx_runtime.jsx)(Tooltip, {
35623
35623
  content: "Fullscreen",
35624
35624
  side: "left",
@@ -35729,8 +35729,8 @@ ${E}`,
35729
35729
  })
35730
35730
  }, r);
35731
35731
  }
35732
- var import_compiler_runtime$92 = require_compiler_runtime(), CopyButton$1 = (e) => {
35733
- let r = (0, import_compiler_runtime$92.c)(8), { value: c } = e, d = typeof c == "string" && (c.startsWith("text/html:") || c.startsWith("image/") || c.startsWith("video/")), [f, h] = (0, import_react.useState)(false), _;
35732
+ var import_compiler_runtime$93 = require_compiler_runtime(), CopyButton$1 = (e) => {
35733
+ let r = (0, import_compiler_runtime$93.c)(8), { value: c } = e, d = typeof c == "string" && (c.startsWith("text/html:") || c.startsWith("image/") || c.startsWith("video/")), [f, h] = (0, import_react.useState)(false), _;
35734
35734
  r[0] === c ? _ = r[1] : (_ = async (e2) => {
35735
35735
  e2.stopPropagation(), await copyToClipboard(c), h(true), setTimeout(() => h(false), 1e3);
35736
35736
  }, r[0] = c, r[1] = _);
@@ -35753,7 +35753,7 @@ ${E}`,
35753
35753
  children: E
35754
35754
  }), r[5] = y, r[6] = E, r[7] = O) : O = r[7], O;
35755
35755
  }, JSONCopyButton = (e) => {
35756
- let r = (0, import_compiler_runtime$92.c)(5), c;
35756
+ let r = (0, import_compiler_runtime$93.c)(5), c;
35757
35757
  r[0] === e.value ? c = r[1] : (c = JSON.stringify(e.value, null, 2), r[0] = e.value, r[1] = c);
35758
35758
  let d;
35759
35759
  return r[2] !== e || r[3] !== c ? (d = (0, import_jsx_runtime.jsx)(CopyButton$1, {
@@ -35761,7 +35761,7 @@ ${E}`,
35761
35761
  value: c
35762
35762
  }), r[2] = e, r[3] = c, r[4] = d) : d = r[4], d;
35763
35763
  }, PyCopyButton = (e) => {
35764
- let r = (0, import_compiler_runtime$92.c)(5), c;
35764
+ let r = (0, import_compiler_runtime$93.c)(5), c;
35765
35765
  r[0] === e.value ? c = r[1] : (c = getCopyValue(e.value), r[0] = e.value, r[1] = c);
35766
35766
  let d;
35767
35767
  return r[2] !== e || r[3] !== c ? (d = (0, import_jsx_runtime.jsx)(CopyButton$1, {
@@ -35770,7 +35770,7 @@ ${E}`,
35770
35770
  }), r[2] = e, r[3] = c, r[4] = d) : d = r[4], d;
35771
35771
  };
35772
35772
  const JsonOutput = (0, import_react.memo)((e) => {
35773
- let r = (0, import_compiler_runtime$92.c)(23), { data: c, format: d, name: f, valueTypes: h, className: _ } = e, v = d === void 0 ? "auto" : d, y = f === void 0 ? false : f, S = h === void 0 ? "python" : h, { theme: w } = useTheme();
35773
+ let r = (0, import_compiler_runtime$93.c)(23), { data: c, format: d, name: f, valueTypes: h, className: _ } = e, v = d === void 0 ? "auto" : d, y = f === void 0 ? false : f, S = h === void 0 ? "python" : h, { theme: w } = useTheme();
35774
35774
  v === "auto" && (v = inferBestFormat(c));
35775
35775
  let E;
35776
35776
  r[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (E = {
@@ -35829,7 +35829,7 @@ ${E}`,
35829
35829
  return typeof e == "object" && e ? "tree" : "raw";
35830
35830
  }
35831
35831
  var COLLAPSED_TEXT_LENGTH = 100, CollapsibleTextOutput = (e) => {
35832
- let r = (0, import_compiler_runtime$92.c)(11), [c, d] = (0, import_react.useState)(true);
35832
+ let r = (0, import_compiler_runtime$93.c)(11), [c, d] = (0, import_react.useState)(true);
35833
35833
  if (e.text.length <= COLLAPSED_TEXT_LENGTH) {
35834
35834
  let c2;
35835
35835
  return r[0] === e.text ? c2 = r[1] : (c2 = (0, import_jsx_runtime.jsx)("span", {
@@ -36038,9 +36038,9 @@ ${E}`,
36038
36038
  return c <= 20 ? void 0 : c >= 50 ? 5 : 10;
36039
36039
  }
36040
36040
  }
36041
- var import_compiler_runtime$91 = require_compiler_runtime(), Accordion$1 = Root2$4, AccordionContent$1 = Content2$1, AccordionItem$1 = Item$1, AccordionTrigger$1 = Trigger2;
36041
+ var import_compiler_runtime$92 = require_compiler_runtime(), Accordion$1 = Root2$4, AccordionContent$1 = Content2$1, AccordionItem$1 = Item$1, AccordionTrigger$1 = Trigger2;
36042
36042
  const BadPluginData = (e) => {
36043
- let r = (0, import_compiler_runtime$91.c)(16), { error: c, badData: d, shadowRoot: f } = e;
36043
+ let r = (0, import_compiler_runtime$92.c)(16), { error: c, badData: d, shadowRoot: f } = e;
36044
36044
  if (c instanceof ZodError) {
36045
36045
  let e2;
36046
36046
  r[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (e2 = (0, import_jsx_runtime.jsx)(AlertTitle, {
@@ -36517,9 +36517,9 @@ ${E}`,
36517
36517
  }
36518
36518
  };
36519
36519
  }
36520
- var import_compiler_runtime$90 = require_compiler_runtime();
36520
+ var import_compiler_runtime$91 = require_compiler_runtime();
36521
36521
  function useAnyWidgetModule(e) {
36522
- let r = (0, import_compiler_runtime$90.c)(16), { jsUrl: c, jsHash: d } = e, f;
36522
+ let r = (0, import_compiler_runtime$91.c)(16), { jsUrl: c, jsHash: d } = e, f;
36523
36523
  r[0] !== d || r[1] !== c ? (f = async () => await WIDGET_DEF_REGISTRY.getModule(c, d), r[0] = d, r[1] = c, r[2] = f) : f = r[2];
36524
36524
  let h;
36525
36525
  r[3] === d ? h = r[4] : (h = [
@@ -36572,7 +36572,7 @@ ${E}`,
36572
36572
  ...e
36573
36573
  }));
36574
36574
  var AnyWidgetSlot = (e) => {
36575
- let r = (0, import_compiler_runtime$90.c)(14), { jsUrl: c, jsHash: d } = e.data, { model_id: f } = e.value, h = e.host, _;
36575
+ let r = (0, import_compiler_runtime$91.c)(14), { jsUrl: c, jsHash: d } = e.data, { model_id: f } = e.value, h = e.host, _;
36576
36576
  r[0] !== d || r[1] !== c ? (_ = {
36577
36577
  jsUrl: c,
36578
36578
  jsHash: d
@@ -36613,7 +36613,7 @@ ${E}`,
36613
36613
  return e.default ? typeof e.default == "function" || typeof ((_a3 = e.default) == null ? void 0 : _a3.render) == "function" || typeof ((_b3 = e.default) == null ? void 0 : _b3.initialize) == "function" : false;
36614
36614
  }
36615
36615
  var LoadedSlot = (e) => {
36616
- let r = (0, import_compiler_runtime$90.c)(9), { widget: c, modelId: d, host: f } = e, h = (0, import_react.useRef)(null), _, v;
36616
+ let r = (0, import_compiler_runtime$91.c)(9), { widget: c, modelId: d, host: f } = e, h = (0, import_react.useRef)(null), _, v;
36617
36617
  r[0] === d ? (_ = r[1], v = r[2]) : (_ = MODEL_MANAGER.getSync(d), _ || Logger.error("Model not found for modelId", d), v = _ == null ? void 0 : _.get("_css"), r[0] = d, r[1] = _, r[2] = v), useMountCss(v, f);
36618
36618
  let y, S;
36619
36619
  r[3] !== _ || r[4] !== d || r[5] !== c ? (y = () => {
@@ -36629,9 +36629,9 @@ ${E}`,
36629
36629
  return r[8] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (w = (0, import_jsx_runtime.jsx)("div", {
36630
36630
  ref: h
36631
36631
  }), r[8] = w) : w = r[8], w;
36632
- }, import_compiler_runtime$89 = require_compiler_runtime();
36632
+ }, import_compiler_runtime$90 = require_compiler_runtime();
36633
36633
  const KeyboardHotkeys = (e) => {
36634
- let r = (0, import_compiler_runtime$89.c)(10), { shortcut: c, className: d } = e;
36634
+ let r = (0, import_compiler_runtime$90.c)(10), { shortcut: c, className: d } = e;
36635
36635
  if (c === NOT_SET || c === "") {
36636
36636
  let e2;
36637
36637
  return r[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (e2 = (0, import_jsx_runtime.jsx)("span", {}), r[0] = e2) : e2 = r[0], e2;
@@ -36869,9 +36869,9 @@ ${E}`,
36869
36869
  return "success";
36870
36870
  }
36871
36871
  }
36872
- var import_compiler_runtime$88 = require_compiler_runtime();
36872
+ var import_compiler_runtime$89 = require_compiler_runtime();
36873
36873
  const Labeled = (e) => {
36874
- let r = (0, import_compiler_runtime$88.c)(27), { label: c, children: d, align: f, className: h, labelClassName: _, fullWidth: v, id: y } = e, S = f === void 0 ? "left" : f;
36874
+ let r = (0, import_compiler_runtime$89.c)(27), { label: c, children: d, align: f, className: h, labelClassName: _, fullWidth: v, id: y } = e, S = f === void 0 ? "left" : f;
36875
36875
  if (v && (S = "top"), !c) {
36876
36876
  if (S === "top") {
36877
36877
  let e3;
@@ -36911,7 +36911,7 @@ ${E}`,
36911
36911
  ]
36912
36912
  }), r[23] = d, r[24] = M, r[25] = Q7, r[26] = $7) : $7 = r[26], $7;
36913
36913
  };
36914
- var import_compiler_runtime$87 = require_compiler_runtime(), CheckboxPlugin = class {
36914
+ var import_compiler_runtime$88 = require_compiler_runtime(), CheckboxPlugin = class {
36915
36915
  constructor() {
36916
36916
  __publicField(this, "tagName", "marimo-checkbox");
36917
36917
  __publicField(this, "validator", object({
@@ -36926,7 +36926,7 @@ ${E}`,
36926
36926
  });
36927
36927
  }
36928
36928
  }, CheckboxComponent = (e) => {
36929
- let r = (0, import_compiler_runtime$87.c)(11), { value: c, setValue: d, data: f } = e, h;
36929
+ let r = (0, import_compiler_runtime$88.c)(11), { value: c, setValue: d, data: f } = e, h;
36930
36930
  r[0] === d ? h = r[1] : (h = (e2) => {
36931
36931
  e2 !== "indeterminate" && d(e2);
36932
36932
  }, r[0] = d, r[1] = h);
@@ -36945,7 +36945,7 @@ ${E}`,
36945
36945
  id: v,
36946
36946
  children: y
36947
36947
  }), r[7] = f.label, r[8] = v, r[9] = y, r[10] = S) : S = r[10], S;
36948
- }, import_compiler_runtime$86 = require_compiler_runtime(), CodeEditorPlugin = class {
36948
+ }, import_compiler_runtime$87 = require_compiler_runtime(), CodeEditorPlugin = class {
36949
36949
  constructor() {
36950
36950
  __publicField(this, "tagName", "marimo-code-editor");
36951
36951
  __publicField(this, "validator", object({
@@ -36975,7 +36975,7 @@ ${E}`,
36975
36975
  });
36976
36976
  }
36977
36977
  }, CodeEditorComponent = (e) => {
36978
- let r = (0, import_compiler_runtime$86.c)(34), { theme: c } = useTheme(), d = e.theme || c, f = e.minHeight ? `${e.minHeight}px` : "70px", h = e.maxHeight ? `${e.maxHeight}px` : void 0, [_, v] = (0, import_react.useState)(e.value), y = Number.isFinite(e.debounce) ? e.debounce : 0, S = !Number.isFinite(e.debounce), w;
36978
+ let r = (0, import_compiler_runtime$87.c)(34), { theme: c } = useTheme(), d = e.theme || c, f = e.minHeight ? `${e.minHeight}px` : "70px", h = e.maxHeight ? `${e.maxHeight}px` : void 0, [_, v] = (0, import_react.useState)(e.value), y = Number.isFinite(e.debounce) ? e.debounce : 0, S = !Number.isFinite(e.debounce), w;
36979
36979
  r[0] !== e.setValue || r[1] !== e.value || r[2] !== y || r[3] !== S ? (w = {
36980
36980
  initialValue: e.value,
36981
36981
  delay: y,
@@ -37048,7 +37048,7 @@ ${E}`,
37048
37048
  };
37049
37049
  }
37050
37050
  };
37051
- var LazyChatbot = import_react.lazy(() => import("./chat-ui-CJCTr1kq.js").then((e) => ({
37051
+ var LazyChatbot = import_react.lazy(() => import("./chat-ui-Cel1kBfc.js").then((e) => ({
37052
37052
  default: e.Chatbot
37053
37053
  }))), messageSchema = array(object({
37054
37054
  id: string(),
@@ -37114,9 +37114,9 @@ ${E}`,
37114
37114
  })
37115
37115
  });
37116
37116
  });
37117
- var dist_default = '.marimo .gdg-r17m35ur{background-color:var(--gdg-bg-header-has-focus);box-shadow:0 0 0 1px var(--gdg-border-color);color:var(--gdg-text-group-header);font:var(--gdg-header-font-style)var(--gdg-font-family);min-height:var(--r17m35ur-0);border:none;border-radius:9px;outline:none;flex-grow:1;padding:0 8px}.marimo .gdg-c1tqibwd{background-color:var(--gdg-bg-header);align-items:center;padding:0 8px}.marimo .gdg-c1tqibwd,.marimo .gdg-d19meir1{display:flex}.marimo .gdg-d19meir1{box-sizing:border-box;--overlay-top:var(--d19meir1-0);font-family:var(--gdg-font-family);font-size:var(--gdg-editor-font-size);left:var(--d19meir1-1);max-height:calc(100vh - var(--d19meir1-4));max-width:400px;min-height:var(--d19meir1-3);min-width:var(--d19meir1-2);text-align:start;top:var(--d19meir1-0);flex-direction:column;width:max-content;position:absolute;overflow:hidden}@keyframes glide_fade_in-gdg-d19meir1{0%{opacity:0}to{opacity:1}}.marimo .gdg-d19meir1.gdg-style{background-color:var(--gdg-bg-cell);box-shadow:0 0 0 1px var(--gdg-accent-color),0 0 1px #3e415666,0 6px 12px #3e415626;border-radius:2px;animation:60ms glide_fade_in-gdg-d19meir1}.marimo .gdg-d19meir1.gdg-pad{padding:var(--d19meir1-5)8.5px 3px}.marimo .gdg-d19meir1 .gdg-clip-region{border-radius:2px;flex-direction:column;flex-grow:1;display:flex;overflow:hidden auto}.marimo .gdg-d19meir1 .gdg-clip-region .gdg-growing-entry{height:100%}.marimo .gdg-d19meir1 .gdg-clip-region input.gdg-input{border:0;outline:none;width:100%}.marimo .gdg-d19meir1 .gdg-clip-region textarea.gdg-input{border:0;outline:none}.marimo .gdg-b1ygi5by{flex-wrap:wrap;margin-top:auto;margin-bottom:auto}.marimo .gdg-b1ygi5by,.marimo .gdg-b1ygi5by .boe-bubble{display:flex}.marimo .gdg-b1ygi5by .boe-bubble{background-color:var(--gdg-bg-bubble);border-radius:var(--gdg-rounding-radius,10px);color:var(--gdg-text-dark);justify-content:center;align-items:center;height:20px;margin:2px;padding:0 8px}.marimo .gdg-b1ygi5by textarea{opacity:0;width:0;height:0;position:absolute;top:0;left:0}.marimo .gdg-u1rrojo{align-items:center;min-height:21px;display:flex}.marimo .gdg-u1rrojo,.marimo .gdg-u1rrojo .gdg-link-area{flex-grow:1}.marimo .gdg-u1rrojo .gdg-link-area{color:var(--gdg-link-color);cursor:pointer;text-overflow:ellipsis;white-space:nowrap;flex-shrink:1;margin-right:8px;overflow:hidden;-webkit-text-decoration:underline!important;text-decoration:underline!important}.marimo .gdg-u1rrojo .gdg-edit-icon{color:var(--gdg-accent-color);cursor:pointer;flex-shrink:0;justify-content:center;align-items:center;width:32px;display:flex}.marimo .gdg-u1rrojo .gdg-edit-icon>*{width:24px;height:24px}.marimo .gdg-u1rrojo textarea{opacity:0;width:0;height:0;position:absolute;top:0;left:0}.marimo .gdg-n15fjm3e{color:var(--gdg-text-dark);margin:6px 0 3px;display:flex}.marimo .gdg-n15fjm3e>input{background-color:var(--gdg-bg-cell);color:var(--gdg-text-dark);font-family:var(--gdg-font-family);font-size:var(--gdg-editor-font-size);padding:0}.marimo .gdg-i2iowwq,.marimo .gdg-i2iowwq .gdg-centering-container{height:100%;display:flex}.marimo .gdg-i2iowwq .gdg-centering-container{justify-content:center;align-items:center}.marimo .gdg-i2iowwq .gdg-centering-container canvas,.marimo .gdg-i2iowwq .gdg-centering-container img{max-height:calc(100vh - var(--overlay-top) - 20px);object-fit:contain;user-select:none}.marimo .gdg-i2iowwq .gdg-centering-container canvas{max-width:380px}.marimo .gdg-i2iowwq .gdg-edit-icon{color:var(--gdg-accent-color);cursor:pointer;justify-content:center;align-items:center;width:48px;height:48px;display:flex;position:absolute;top:12px;right:0}.marimo .gdg-i2iowwq .gdg-edit-icon>*{width:24px;height:24px}.marimo .gdg-i2iowwq textarea{opacity:0;width:0;height:0;position:absolute;top:0;left:0}.marimo .gdg-m1pnx84e{min-width:var(--m1pnx84e-0);-webkit-align-items:flex-start;-webkit-box-align:flex-start;-ms-flex-align:flex-start;width:100%;color:var(--gdg-text-dark);justify-content:space-between;align-items:flex-start;display:flex;position:relative}.marimo .gdg-m1pnx84e .gdg-g1y0xocz{flex-shrink:1;min-width:0}.marimo .gdg-m1pnx84e .gdg-spacer{flex:1}.marimo .gdg-m1pnx84e .gdg-edit-icon{cursor:pointer;color:var(--gdg-accent-color);width:24px;height:24px;-webkit-transition:all "0.125s ease";transition:all "0.125s ease";border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;padding:0;display:flex;position:relative}.marimo .gdg-m1pnx84e .gdg-edit-icon>*{width:16px;height:16px}.marimo .gdg-m1pnx84e .gdg-edit-hover:hover{background-color:var(--gdg-accent-light);transition:background-color .15s}.marimo .gdg-m1pnx84e .gdg-checkmark-hover:hover{background-color:var(--gdg-accent-color);color:#fff}.marimo .gdg-m1pnx84e .gdg-md-edit-textarea{opacity:0;width:0;height:0;margin-top:25px;padding:0;position:relative;top:0;left:0}.marimo .gdg-m1pnx84e .gdg-ml-6{margin-left:6px}.marimo .gdg-d4zsq0x{flex-wrap:wrap}.marimo .gdg-d4zsq0x,.marimo .gdg-d4zsq0x .doe-bubble{display:flex}.marimo .gdg-d4zsq0x .doe-bubble{background-color:var(--gdg-bg-cell);border-radius:var(--gdg-rounding-radius,6px);color:var(--gdg-text-dark);justify-content:center;align-items:center;height:24px;margin:2px;padding:0 8px;box-shadow:0 0 1px #3e415666,0 1px 3px #3e415666}.marimo .gdg-d4zsq0x .doe-bubble img{object-fit:contain;height:16px;margin-right:4px}.marimo .gdg-d4zsq0x textarea{opacity:0;width:0;height:0;position:absolute;top:0;left:0}.marimo .gdg-s1dgczr6 .dvn-scroller{overflow:var(--s1dgczr6-0);transform:translateZ(0)}.marimo .gdg-s1dgczr6 .dvn-hidden{visibility:hidden}.marimo .gdg-s1dgczr6 .dvn-scroll-inner{pointer-events:none;display:flex}.marimo .gdg-s1dgczr6 .dvn-scroll-inner>*{flex-shrink:0}.marimo .gdg-s1dgczr6 .dvn-scroll-inner .dvn-spacer{flex-grow:1}.marimo .gdg-s1dgczr6 .dvn-scroll-inner .dvn-stack{flex-direction:column;display:flex}.marimo .gdg-s1dgczr6 .dvn-underlay>*{position:absolute;top:0;left:0}.marimo .gdg-s1dgczr6 canvas{outline:none}.marimo .gdg-s1dgczr6 canvas *{height:0}.marimo .gdg-izpuzkl{font-family:var(--gdg-font-family);font-size:var(--gdg-editor-font-size);resize:none;white-space:pre-wrap;-webkit-text-fill-color:var(--gdg-text-dark);width:100%;min-width:100%;height:100%;color:var(--gdg-text-dark);background-color:#0000;border:0;border-radius:0;margin:0;padding:0;line-height:16px;position:absolute;inset:0;overflow:hidden}.marimo .gdg-izpuzkl::-webkit-input-placeholder{color:var(--gdg-text-light)}.marimo .gdg-izpuzkl::placeholder{color:var(--gdg-text-light)}.marimo .gdg-izpuzkl:-ms-placeholder-shown{color:var(--gdg-text-light)}.marimo .gdg-izpuzkl::placeholder{color:var(--gdg-text-light)}.marimo .gdg-invalid .gdg-izpuzkl{text-decoration:underline #d60606}.marimo .gdg-s69h75o{visibility:hidden;white-space:pre-wrap;word-wrap:break-word;color:var(--gdg-text-dark);font-family:var(--gdg-font-family);font-size:var(--gdg-editor-font-size);width:max-content;min-width:100%;max-width:100%;margin:0;padding:0 0 2px;line-height:16px}.marimo .gdg-g1y0xocz{margin-top:6px;position:relative}.marimo .gdg-wmyidgi{height:var(--wmyidgi-1);min-width:10px;max-width:100%;min-height:10px;max-height:100%;width:var(--wmyidgi-0);direction:ltr;position:relative;overflow:clip}.marimo .gdg-wmyidgi>:first-child{width:100%;height:100%;position:absolute;top:0;left:0}.marimo .gdg-seveqep{background-color:var(--gdg-bg-cell);border:1px solid var(--gdg-border-color);color:var(--gdg-text-dark);font-size:var(--gdg-editor-font-size);border-radius:6px;padding:8px;animation:.15s forwards gdg-search-fadein-gdg-seveqep;position:absolute;top:4px;right:20px}.marimo .gdg-seveqep.out{animation:.15s forwards gdg-search-fadeout-gdg-seveqep}.marimo .gdg-seveqep .gdg-search-bar-inner{display:flex}.marimo .gdg-seveqep .gdg-search-status{padding-top:4px;font-size:11px}.marimo .gdg-seveqep .gdg-search-progress{background-color:var(--gdg-text-light);height:4px;position:absolute;bottom:0;left:0}.marimo .gdg-seveqep input{background-color:var(--gdg-bg-cell);color:var(--gdg-textDark);border:0;outline:none;width:220px}.marimo .gdg-seveqep button{width:24px;height:24px;color:var(--gdg-text-medium);cursor:pointer;background:0 0;border:none;outline:none;justify-content:center;align-items:center;padding:0;display:flex}.marimo .gdg-seveqep button:hover{color:var(--gdg-text-dark)}.marimo .gdg-seveqep button .button-icon{width:16px;height:16px}.marimo .gdg-seveqep button:disabled{opacity:.4;pointer-events:none}@keyframes gdg-search-fadeout-gdg-seveqep{0%{transform:translate(0)}to{transform:translate(400px)}}@keyframes gdg-search-fadein-gdg-seveqep{0%{transform:translate(400px)}to{transform:translate(0)}}.marimo .gdg-mnuv029{word-break:break-word;-webkit-touch-callout:default;padding-top:6px}.marimo .gdg-mnuv029>*{margin:0}.marimo .gdg-mnuv029 :last-child{margin-bottom:0}.marimo .gdg-mnuv029 p img{width:100%}', import_compiler_runtime$85 = require_compiler_runtime();
37117
+ var dist_default = '.marimo .gdg-r17m35ur{background-color:var(--gdg-bg-header-has-focus);box-shadow:0 0 0 1px var(--gdg-border-color);color:var(--gdg-text-group-header);font:var(--gdg-header-font-style)var(--gdg-font-family);min-height:var(--r17m35ur-0);border:none;border-radius:9px;outline:none;flex-grow:1;padding:0 8px}.marimo .gdg-c1tqibwd{background-color:var(--gdg-bg-header);align-items:center;padding:0 8px}.marimo .gdg-c1tqibwd,.marimo .gdg-d19meir1{display:flex}.marimo .gdg-d19meir1{box-sizing:border-box;--overlay-top:var(--d19meir1-0);font-family:var(--gdg-font-family);font-size:var(--gdg-editor-font-size);left:var(--d19meir1-1);max-height:calc(100vh - var(--d19meir1-4));max-width:400px;min-height:var(--d19meir1-3);min-width:var(--d19meir1-2);text-align:start;top:var(--d19meir1-0);flex-direction:column;width:max-content;position:absolute;overflow:hidden}@keyframes glide_fade_in-gdg-d19meir1{0%{opacity:0}to{opacity:1}}.marimo .gdg-d19meir1.gdg-style{background-color:var(--gdg-bg-cell);box-shadow:0 0 0 1px var(--gdg-accent-color),0 0 1px #3e415666,0 6px 12px #3e415626;border-radius:2px;animation:60ms glide_fade_in-gdg-d19meir1}.marimo .gdg-d19meir1.gdg-pad{padding:var(--d19meir1-5)8.5px 3px}.marimo .gdg-d19meir1 .gdg-clip-region{border-radius:2px;flex-direction:column;flex-grow:1;display:flex;overflow:hidden auto}.marimo .gdg-d19meir1 .gdg-clip-region .gdg-growing-entry{height:100%}.marimo .gdg-d19meir1 .gdg-clip-region input.gdg-input{border:0;outline:none;width:100%}.marimo .gdg-d19meir1 .gdg-clip-region textarea.gdg-input{border:0;outline:none}.marimo .gdg-b1ygi5by{flex-wrap:wrap;margin-top:auto;margin-bottom:auto}.marimo .gdg-b1ygi5by,.marimo .gdg-b1ygi5by .boe-bubble{display:flex}.marimo .gdg-b1ygi5by .boe-bubble{background-color:var(--gdg-bg-bubble);border-radius:var(--gdg-rounding-radius,10px);color:var(--gdg-text-dark);justify-content:center;align-items:center;height:20px;margin:2px;padding:0 8px}.marimo .gdg-b1ygi5by textarea{opacity:0;width:0;height:0;position:absolute;top:0;left:0}.marimo .gdg-u1rrojo{align-items:center;min-height:21px;display:flex}.marimo .gdg-u1rrojo,.marimo .gdg-u1rrojo .gdg-link-area{flex-grow:1}.marimo .gdg-u1rrojo .gdg-link-area{color:var(--gdg-link-color);cursor:pointer;text-overflow:ellipsis;white-space:nowrap;flex-shrink:1;margin-right:8px;overflow:hidden;-webkit-text-decoration:underline!important;text-decoration:underline!important}.marimo .gdg-u1rrojo .gdg-edit-icon{color:var(--gdg-accent-color);cursor:pointer;flex-shrink:0;justify-content:center;align-items:center;width:32px;display:flex}.marimo .gdg-u1rrojo .gdg-edit-icon>*{width:24px;height:24px}.marimo .gdg-u1rrojo textarea{opacity:0;width:0;height:0;position:absolute;top:0;left:0}.marimo .gdg-n15fjm3e{color:var(--gdg-text-dark);margin:6px 0 3px;display:flex}.marimo .gdg-n15fjm3e>input{background-color:var(--gdg-bg-cell);color:var(--gdg-text-dark);font-family:var(--gdg-font-family);font-size:var(--gdg-editor-font-size);padding:0}.marimo .gdg-i2iowwq,.marimo .gdg-i2iowwq .gdg-centering-container{height:100%;display:flex}.marimo .gdg-i2iowwq .gdg-centering-container{justify-content:center;align-items:center}.marimo .gdg-i2iowwq .gdg-centering-container canvas,.marimo .gdg-i2iowwq .gdg-centering-container img{max-height:calc(100vh - var(--overlay-top) - 20px);object-fit:contain;user-select:none}.marimo .gdg-i2iowwq .gdg-centering-container canvas{max-width:380px}.marimo .gdg-i2iowwq .gdg-edit-icon{color:var(--gdg-accent-color);cursor:pointer;justify-content:center;align-items:center;width:48px;height:48px;display:flex;position:absolute;top:12px;right:0}.marimo .gdg-i2iowwq .gdg-edit-icon>*{width:24px;height:24px}.marimo .gdg-i2iowwq textarea{opacity:0;width:0;height:0;position:absolute;top:0;left:0}.marimo .gdg-m1pnx84e{min-width:var(--m1pnx84e-0);-webkit-align-items:flex-start;-webkit-box-align:flex-start;-ms-flex-align:flex-start;width:100%;color:var(--gdg-text-dark);justify-content:space-between;align-items:flex-start;display:flex;position:relative}.marimo .gdg-m1pnx84e .gdg-g1y0xocz{flex-shrink:1;min-width:0}.marimo .gdg-m1pnx84e .gdg-spacer{flex:1}.marimo .gdg-m1pnx84e .gdg-edit-icon{cursor:pointer;color:var(--gdg-accent-color);width:24px;height:24px;-webkit-transition:all "0.125s ease";transition:all "0.125s ease";border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;padding:0;display:flex;position:relative}.marimo .gdg-m1pnx84e .gdg-edit-icon>*{width:16px;height:16px}.marimo .gdg-m1pnx84e .gdg-edit-hover:hover{background-color:var(--gdg-accent-light);transition:background-color .15s}.marimo .gdg-m1pnx84e .gdg-checkmark-hover:hover{background-color:var(--gdg-accent-color);color:#fff}.marimo .gdg-m1pnx84e .gdg-md-edit-textarea{opacity:0;width:0;height:0;margin-top:25px;padding:0;position:relative;top:0;left:0}.marimo .gdg-m1pnx84e .gdg-ml-6{margin-left:6px}.marimo .gdg-d4zsq0x{flex-wrap:wrap}.marimo .gdg-d4zsq0x,.marimo .gdg-d4zsq0x .doe-bubble{display:flex}.marimo .gdg-d4zsq0x .doe-bubble{background-color:var(--gdg-bg-cell);border-radius:var(--gdg-rounding-radius,6px);color:var(--gdg-text-dark);justify-content:center;align-items:center;height:24px;margin:2px;padding:0 8px;box-shadow:0 0 1px #3e415666,0 1px 3px #3e415666}.marimo .gdg-d4zsq0x .doe-bubble img{object-fit:contain;height:16px;margin-right:4px}.marimo .gdg-d4zsq0x textarea{opacity:0;width:0;height:0;position:absolute;top:0;left:0}.marimo .gdg-s1dgczr6 .dvn-scroller{overflow:var(--s1dgczr6-0);transform:translateZ(0)}.marimo .gdg-s1dgczr6 .dvn-hidden{visibility:hidden}.marimo .gdg-s1dgczr6 .dvn-scroll-inner{pointer-events:none;display:flex}.marimo .gdg-s1dgczr6 .dvn-scroll-inner>*{flex-shrink:0}.marimo .gdg-s1dgczr6 .dvn-scroll-inner .dvn-spacer{flex-grow:1}.marimo .gdg-s1dgczr6 .dvn-scroll-inner .dvn-stack{flex-direction:column;display:flex}.marimo .gdg-s1dgczr6 .dvn-underlay>*{position:absolute;top:0;left:0}.marimo .gdg-s1dgczr6 canvas{outline:none}.marimo .gdg-s1dgczr6 canvas *{height:0}.marimo .gdg-izpuzkl{font-family:var(--gdg-font-family);font-size:var(--gdg-editor-font-size);resize:none;white-space:pre-wrap;-webkit-text-fill-color:var(--gdg-text-dark);width:100%;min-width:100%;height:100%;color:var(--gdg-text-dark);background-color:#0000;border:0;border-radius:0;margin:0;padding:0;line-height:16px;position:absolute;inset:0;overflow:hidden}.marimo .gdg-izpuzkl::-webkit-input-placeholder{color:var(--gdg-text-light)}.marimo .gdg-izpuzkl::placeholder{color:var(--gdg-text-light)}.marimo .gdg-izpuzkl:-ms-placeholder-shown{color:var(--gdg-text-light)}.marimo .gdg-izpuzkl::placeholder{color:var(--gdg-text-light)}.marimo .gdg-invalid .gdg-izpuzkl{text-decoration:underline #d60606}.marimo .gdg-s69h75o{visibility:hidden;white-space:pre-wrap;word-wrap:break-word;color:var(--gdg-text-dark);font-family:var(--gdg-font-family);font-size:var(--gdg-editor-font-size);width:max-content;min-width:100%;max-width:100%;margin:0;padding:0 0 2px;line-height:16px}.marimo .gdg-g1y0xocz{margin-top:6px;position:relative}.marimo .gdg-wmyidgi{height:var(--wmyidgi-1);min-width:10px;max-width:100%;min-height:10px;max-height:100%;width:var(--wmyidgi-0);direction:ltr;position:relative;overflow:clip}.marimo .gdg-wmyidgi>:first-child{width:100%;height:100%;position:absolute;top:0;left:0}.marimo .gdg-seveqep{background-color:var(--gdg-bg-cell);border:1px solid var(--gdg-border-color);color:var(--gdg-text-dark);font-size:var(--gdg-editor-font-size);border-radius:6px;padding:8px;animation:.15s forwards gdg-search-fadein-gdg-seveqep;position:absolute;top:4px;right:20px}.marimo .gdg-seveqep.out{animation:.15s forwards gdg-search-fadeout-gdg-seveqep}.marimo .gdg-seveqep .gdg-search-bar-inner{display:flex}.marimo .gdg-seveqep .gdg-search-status{padding-top:4px;font-size:11px}.marimo .gdg-seveqep .gdg-search-progress{background-color:var(--gdg-text-light);height:4px;position:absolute;bottom:0;left:0}.marimo .gdg-seveqep input{background-color:var(--gdg-bg-cell);color:var(--gdg-textDark);border:0;outline:none;width:220px}.marimo .gdg-seveqep button{width:24px;height:24px;color:var(--gdg-text-medium);cursor:pointer;background:0 0;border:none;outline:none;justify-content:center;align-items:center;padding:0;display:flex}.marimo .gdg-seveqep button:hover{color:var(--gdg-text-dark)}.marimo .gdg-seveqep button .button-icon{width:16px;height:16px}.marimo .gdg-seveqep button:disabled{opacity:.4;pointer-events:none}@keyframes gdg-search-fadeout-gdg-seveqep{0%{transform:translate(0)}to{transform:translate(400px)}}@keyframes gdg-search-fadein-gdg-seveqep{0%{transform:translate(400px)}to{transform:translate(0)}}.marimo .gdg-mnuv029{word-break:break-word;-webkit-touch-callout:default;padding-top:6px}.marimo .gdg-mnuv029>*{margin:0}.marimo .gdg-mnuv029 :last-child{margin-bottom:0}.marimo .gdg-mnuv029 p img{width:100%}', import_compiler_runtime$86 = require_compiler_runtime();
37118
37118
  const LoadingTable = (e) => {
37119
- let r = (0, import_compiler_runtime$85.c)(14), { wrapperClassName: c, className: d, pageSize: f } = e, h = f === void 0 ? 10 : f, _;
37119
+ let r = (0, import_compiler_runtime$86.c)(14), { wrapperClassName: c, className: d, pageSize: f } = e, h = f === void 0 ? 10 : f, _;
37120
37120
  r[0] === c ? _ = r[1] : (_ = cn(c, "flex flex-col space-y-2"), r[0] = c, r[1] = _);
37121
37121
  let v = d || "rounded-md border", y;
37122
37122
  r[2] === v ? y = r[3] : (y = cn(v), r[2] = v, r[3] = y);
@@ -37194,7 +37194,7 @@ ${E}`,
37194
37194
  "time",
37195
37195
  "unknown"
37196
37196
  ];
37197
- var import_compiler_runtime$84 = require_compiler_runtime(), TooltipProvider$2 = Provider$2, LazyDataEditor = import_react.lazy(() => import("./glide-data-editor-BQPLhydy.js").then(async (m2) => {
37197
+ var import_compiler_runtime$85 = require_compiler_runtime(), TooltipProvider$2 = Provider$2, LazyDataEditor = import_react.lazy(() => import("./glide-data-editor-BqnvTmDo.js").then(async (m2) => {
37198
37198
  await m2.__tla;
37199
37199
  return m2;
37200
37200
  }));
@@ -37241,7 +37241,7 @@ ${E}`,
37241
37241
  })
37242
37242
  }));
37243
37243
  var LoadingDataEditor = (e) => {
37244
- let r = (0, import_compiler_runtime$84.c)(31), c;
37244
+ let r = (0, import_compiler_runtime$85.c)(31), c;
37245
37245
  r[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (c = [], r[0] = c) : c = r[0];
37246
37246
  let [d, f] = (0, import_react.useState)(c), h;
37247
37247
  r[1] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (h = {}, r[1] = h) : h = r[1];
@@ -38916,8 +38916,8 @@ ${E}`,
38916
38916
  _.height
38917
38917
  ]);
38918
38918
  }
38919
- var import_compiler_runtime$83 = require_compiler_runtime(), Form$1 = FormProvider, FormFieldContext = import_react.createContext({}), FormField = (e) => {
38920
- let r = (0, import_compiler_runtime$83.c)(10), c;
38919
+ var import_compiler_runtime$84 = require_compiler_runtime(), Form$1 = FormProvider, FormFieldContext = import_react.createContext({}), FormField = (e) => {
38920
+ let r = (0, import_compiler_runtime$84.c)(10), c;
38921
38921
  r[0] === e ? c = r[1] : ({ ...c } = e, r[0] = e, r[1] = c);
38922
38922
  let d;
38923
38923
  r[2] === c.name ? d = r[3] : (d = {
@@ -38933,7 +38933,7 @@ ${E}`,
38933
38933
  children: f
38934
38934
  }, c.name), r[6] = c.name, r[7] = d, r[8] = f, r[9] = h) : h = r[9], h;
38935
38935
  }, useFormField = () => {
38936
- let e = (0, import_compiler_runtime$83.c)(11), r = import_react.use(FormFieldContext), c = import_react.use(FormItemContext), { getFieldState: d, formState: f } = useFormContext(), h;
38936
+ let e = (0, import_compiler_runtime$84.c)(11), r = import_react.use(FormFieldContext), c = import_react.use(FormItemContext), { getFieldState: d, formState: f } = useFormContext(), h;
38937
38937
  e[0] !== r.name || e[1] !== f || e[2] !== d ? (h = d(r.name, f), e[0] = r.name, e[1] = f, e[2] = d, e[3] = h) : h = e[3];
38938
38938
  let _ = h;
38939
38939
  if (!r) throw Error("useFormField should be used within <FormField>");
@@ -38947,7 +38947,7 @@ ${E}`,
38947
38947
  ..._
38948
38948
  }, e[4] = r.name, e[5] = _, e[6] = v, e[7] = y, e[8] = S, e[9] = w, e[10] = E) : E = e[10], E;
38949
38949
  }, FormItemContext = import_react.createContext({}), FormItem = import_react.forwardRef((e, r) => {
38950
- let c = (0, import_compiler_runtime$83.c)(14), d, f;
38950
+ let c = (0, import_compiler_runtime$84.c)(14), d, f;
38951
38951
  c[0] === e ? (d = c[1], f = c[2]) : ({ className: d, ...f } = e, c[0] = e, c[1] = d, c[2] = f);
38952
38952
  let h = import_react.useId(), _;
38953
38953
  c[3] === h ? _ = c[4] : (_ = {
@@ -38969,7 +38969,7 @@ ${E}`,
38969
38969
  });
38970
38970
  FormItem.displayName = "FormItem";
38971
38971
  var FormLabel = import_react.forwardRef((e, r) => {
38972
- let c = (0, import_compiler_runtime$83.c)(11), d, f;
38972
+ let c = (0, import_compiler_runtime$84.c)(11), d, f;
38973
38973
  c[0] === e ? (d = c[1], f = c[2]) : ({ className: d, ...f } = e, c[0] = e, c[1] = d, c[2] = f);
38974
38974
  let { error: h, formItemId: _ } = useFormField();
38975
38975
  if (!f.children) return;
@@ -38985,7 +38985,7 @@ ${E}`,
38985
38985
  });
38986
38986
  FormLabel.displayName = "FormLabel";
38987
38987
  var FormControl = import_react.forwardRef((e, r) => {
38988
- let c = (0, import_compiler_runtime$83.c)(8), d;
38988
+ let c = (0, import_compiler_runtime$84.c)(8), d;
38989
38989
  c[0] === e ? d = c[1] : ({ ...d } = e, c[0] = e, c[1] = d);
38990
38990
  let { error: f, formItemId: h, formDescriptionId: _, formMessageId: v } = useFormField(), y = f ? `${_} ${v}` : _, S = !!f, w;
38991
38991
  return c[2] !== h || c[3] !== d || c[4] !== r || c[5] !== y || c[6] !== S ? (w = (0, import_jsx_runtime.jsx)(Slot$1, {
@@ -38998,7 +38998,7 @@ ${E}`,
38998
38998
  });
38999
38999
  FormControl.displayName = "FormControl";
39000
39000
  var FormDescription = import_react.forwardRef((e, r) => {
39001
- let c = (0, import_compiler_runtime$83.c)(10), d, f;
39001
+ let c = (0, import_compiler_runtime$84.c)(10), d, f;
39002
39002
  c[0] === e ? (d = c[1], f = c[2]) : ({ className: d, ...f } = e, c[0] = e, c[1] = d, c[2] = f);
39003
39003
  let { formDescriptionId: h } = useFormField();
39004
39004
  if (!f.children) return null;
@@ -39014,7 +39014,7 @@ ${E}`,
39014
39014
  });
39015
39015
  FormDescription.displayName = "FormDescription";
39016
39016
  var FormMessage = import_react.forwardRef((e, r) => {
39017
- let c = (0, import_compiler_runtime$83.c)(12), d, f, h;
39017
+ let c = (0, import_compiler_runtime$84.c)(12), d, f, h;
39018
39018
  c[0] === e ? (d = c[1], f = c[2], h = c[3]) : ({ className: f, children: d, ...h } = e, c[0] = e, c[1] = d, c[2] = f, c[3] = h);
39019
39019
  let { error: _, formMessageId: v } = useFormField(), y = (_ == null ? void 0 : _.message) ? String(_ == null ? void 0 : _.message) : d;
39020
39020
  if (!y) return null;
@@ -39031,7 +39031,7 @@ ${E}`,
39031
39031
  });
39032
39032
  FormMessage.displayName = "FormMessage";
39033
39033
  var FormMessageTooltip = (e) => {
39034
- let r = (0, import_compiler_runtime$83.c)(7), { className: c } = e, { error: d } = useFormField(), f = (d == null ? void 0 : d.message) ? String(d == null ? void 0 : d.message) : null;
39034
+ let r = (0, import_compiler_runtime$84.c)(7), { className: c } = e, { error: d } = useFormField(), f = (d == null ? void 0 : d.message) ? String(d == null ? void 0 : d.message) : null;
39035
39035
  if (!f) return null;
39036
39036
  let h;
39037
39037
  r[0] === c ? h = r[1] : (h = cn("stroke-[1.8px]", c), r[0] = c, r[1] = h);
@@ -39189,9 +39189,9 @@ ${c}
39189
39189
  saveForm: Functions.NOOP,
39190
39190
  chartType: ChartType.LINE
39191
39191
  }), useChartFormContext = () => (0, import_react.use)(ChartFormContext);
39192
- var import_compiler_runtime$82 = require_compiler_runtime();
39192
+ var import_compiler_runtime$83 = require_compiler_runtime();
39193
39193
  function useBoolean(e) {
39194
- let r = (0, import_compiler_runtime$82.c)(6), [c, d] = (0, import_react.useState)(e), f;
39194
+ let r = (0, import_compiler_runtime$83.c)(6), [c, d] = (0, import_react.useState)(e), f;
39195
39195
  r[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (f = (e2) => {
39196
39196
  var _a3;
39197
39197
  (_a3 = e2 == null ? void 0 : e2.stopPropagation) == null ? void 0 : _a3.call(e2), d(true);
@@ -39221,8 +39221,8 @@ ${c}
39221
39221
  function _temp$25(e) {
39222
39222
  return !e;
39223
39223
  }
39224
- var import_compiler_runtime$81 = require_compiler_runtime(), Slider = import_react.forwardRef((e, r) => {
39225
- let c = (0, import_compiler_runtime$81.c)(25), { className: d, valueMap: f, ...h } = e, [_, v] = useBoolean(false), { locale: y } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), S = dist_exports$1, w;
39224
+ var import_compiler_runtime$82 = require_compiler_runtime(), Slider = import_react.forwardRef((e, r) => {
39225
+ let c = (0, import_compiler_runtime$82.c)(25), { className: d, valueMap: f, ...h } = e, [_, v] = useBoolean(false), { locale: y } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), S = dist_exports$1, w;
39226
39226
  c[0] === d ? w = c[1] : (w = cn("relative flex touch-none select-none hover:cursor-pointer", "data-[orientation=horizontal]:w-full data-[orientation=horizontal]:items-center", "data-[orientation=vertical]:h-full data-[orientation=vertical]:justify-center", "data-disabled:cursor-not-allowed", d), c[0] = d, c[1] = w);
39227
39227
  let E;
39228
39228
  c[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (E = cn("relative grow overflow-hidden rounded-full bg-slate-200 dark:bg-accent/60", "data-[orientation=horizontal]:h-2 data-[orientation=horizontal]:w-full", "data-[orientation=vertical]:h-full data-[orientation=vertical]:w-2"), c[2] = E) : E = c[2];
@@ -42123,12 +42123,12 @@ ${c}
42123
42123
  function kn(e, r, c) {
42124
42124
  return r !== "normal" && !(r != null && r.endsWith("px")) && c(`${e} was not resolved to pixel value correctly`, r, Ct.WARN), r === "normal" ? 0 : parseInt(r ?? "0", 10);
42125
42125
  }
42126
- var import_compiler_runtime$80 = require_compiler_runtime();
42126
+ var import_compiler_runtime$81 = require_compiler_runtime();
42127
42127
  const ComboboxContext = (0, import_react.createContext)({
42128
42128
  isSelected: () => false,
42129
42129
  onSelect: Functions.NOOP
42130
42130
  }), Combobox = (e) => {
42131
- let r = (0, import_compiler_runtime$80.c)(94), c, d, f, h, _, v, y, S, w, E, O, M, I, G, q, Z7, Q7, $7, e9, t9, n9;
42131
+ let r = (0, import_compiler_runtime$81.c)(94), c, d, f, h, _, v, y, S, w, E, O, M, I, G, q, Z7, Q7, $7, e9, t9, n9;
42132
42132
  r[0] === e ? (c = r[1], d = r[2], f = r[3], h = r[4], _ = r[5], v = r[6], y = r[7], S = r[8], w = r[9], E = r[10], O = r[11], M = r[12], I = r[13], G = r[14], q = r[15], Z7 = r[16], Q7 = r[17], $7 = r[18], e9 = r[19], t9 = r[20], n9 = r[21]) : ({ children: c, displayValue: v, className: f, placeholder: I, value: n9, defaultValue: _, onValueChange: O, multiple: Z7, shouldFilter: Q7, filterFn: y, open: M, defaultOpen: h, onOpenChange: w, inputPlaceholder: $7, search: q, onSearchChange: E, emptyState: e9, chips: t9, chipsClassName: d, keepPopoverOpenOnSelect: S, ...G } = e, r[0] = e, r[1] = c, r[2] = d, r[3] = f, r[4] = h, r[5] = _, r[6] = v, r[7] = y, r[8] = S, r[9] = w, r[10] = E, r[11] = O, r[12] = M, r[13] = I, r[14] = G, r[15] = q, r[16] = Z7, r[17] = Q7, r[18] = $7, r[19] = e9, r[20] = t9, r[21] = n9);
42133
42133
  let r9 = Z7 === void 0 ? false : Z7, i9 = Q7 === void 0 ? true : Q7, a9 = $7 === void 0 ? "Search..." : $7, o9 = e9 === void 0 ? "Nothing found." : e9, s9 = t9 === void 0 ? false : t9, c9 = h ?? false, l9;
42134
42134
  r[22] !== w || r[23] !== M || r[24] !== c9 ? (l9 = {
@@ -42271,7 +42271,7 @@ ${c}
42271
42271
  ]
42272
42272
  }), r[90] = G, r[91] = F9, r[92] = I9, r[93] = L9) : L9 = r[93], L9;
42273
42273
  }, ComboboxItem = import_react.forwardRef((e, r) => {
42274
- let c = (0, import_compiler_runtime$80.c)(17), { children: d, className: f, value: h, onSelect: _, disabled: v } = e, y = typeof h == "object" && "value" in h ? h.value : String(h), S = import_react.use(ComboboxContext), w;
42274
+ let c = (0, import_compiler_runtime$81.c)(17), { children: d, className: f, value: h, onSelect: _, disabled: v } = e, y = typeof h == "object" && "value" in h ? h.value : String(h), S = import_react.use(ComboboxContext), w;
42275
42275
  c[0] === f ? w = c[1] : (w = cn("pl-6 m-1 py-1", f), c[0] = f, c[1] = w);
42276
42276
  let E;
42277
42277
  c[2] !== S || c[3] !== _ || c[4] !== h ? (E = () => {
@@ -42299,7 +42299,7 @@ ${c}
42299
42299
  function multiselectFilterFn(e, r) {
42300
42300
  return r.split(/\s+/).every((r2) => e.toLowerCase().includes(r2.toLowerCase())) ? 1 : 0;
42301
42301
  }
42302
- var import_compiler_runtime$79 = require_compiler_runtime(), MultiselectPlugin = class {
42302
+ var import_compiler_runtime$80 = require_compiler_runtime(), MultiselectPlugin = class {
42303
42303
  constructor() {
42304
42304
  __publicField(this, "tagName", "marimo-multiselect");
42305
42305
  __publicField(this, "validator", object({
@@ -42319,7 +42319,7 @@ ${c}
42319
42319
  }
42320
42320
  }, SELECT_ALL_KEY = "__select_all__", DESELECT_ALL_KEY = "__deselect_all__";
42321
42321
  const Multiselect = (e) => {
42322
- let r = (0, import_compiler_runtime$79.c)(45), { options: c, label: d, value: f, setValue: h, fullWidth: _, maxSelections: v } = e, y = (0, import_react.useId)(), [S, w] = (0, import_react.useState)(""), E;
42322
+ let r = (0, import_compiler_runtime$80.c)(45), { options: c, label: d, value: f, setValue: h, fullWidth: _, maxSelections: v } = e, y = (0, import_react.useId)(), [S, w] = (0, import_react.useState)(""), E;
42323
42323
  bb0: {
42324
42324
  if (!S) {
42325
42325
  E = c;
@@ -42448,9 +42448,9 @@ ${c}
42448
42448
  function _temp3$13(e) {
42449
42449
  return e;
42450
42450
  }
42451
- var import_compiler_runtime$78 = require_compiler_runtime();
42451
+ var import_compiler_runtime$79 = require_compiler_runtime();
42452
42452
  function useAddCodeToNewCell() {
42453
- let e = (0, import_compiler_runtime$78.c)(4), r = useAtomValue(autoInstantiateAtom), c = useLastFocusedCellId(), { createNewCell: d } = useCellActions(), f;
42453
+ let e = (0, import_compiler_runtime$79.c)(4), r = useAtomValue(autoInstantiateAtom), c = useLastFocusedCellId(), { createNewCell: d } = useCellActions(), f;
42454
42454
  return e[0] !== r || e[1] !== d || e[2] !== c ? (f = (e2) => {
42455
42455
  e2.includes("alt") && maybeAddAltairImport({
42456
42456
  autoInstantiate: r,
@@ -42463,7 +42463,7 @@ ${c}
42463
42463
  });
42464
42464
  }, e[0] = r, e[1] = d, e[2] = c, e[3] = f) : f = e[3], f;
42465
42465
  }
42466
- var import_compiler_runtime$77 = require_compiler_runtime(), pythonExtensions = [
42466
+ var import_compiler_runtime$78 = require_compiler_runtime(), pythonExtensions = [
42467
42467
  customPythonLanguageSupport(),
42468
42468
  EditorView.lineWrapping
42469
42469
  ], sqlExtensions = [
@@ -42471,7 +42471,7 @@ ${c}
42471
42471
  EditorView.lineWrapping
42472
42472
  ];
42473
42473
  const ReadonlyCode = (0, import_react.memo)((e) => {
42474
- let r = (0, import_compiler_runtime$77.c)(41), { theme: c } = useTheme(), d, f, h, _, v, y, S, w;
42474
+ let r = (0, import_compiler_runtime$78.c)(41), { theme: c } = useTheme(), d, f, h, _, v, y, S, w;
42475
42475
  r[0] === e ? (d = r[1], f = r[2], h = r[3], _ = r[4], v = r[5], y = r[6], S = r[7], w = r[8]) : ({ code: f, className: d, initiallyHideCode: h, showHideCode: y, showCopyCode: S, insertNewCell: _, language: w, ...v } = e, r[0] = e, r[1] = d, r[2] = f, r[3] = h, r[4] = _, r[5] = v, r[6] = y, r[7] = S, r[8] = w);
42476
42476
  let E = y === void 0 ? true : y, O = S === void 0 ? true : S, M = w === void 0 ? "python" : w, [I, z] = (0, import_react.useState)(h), G;
42477
42477
  r[9] === d ? G = r[10] : (G = cn("relative hover-actions-parent w-full overflow-hidden", d), r[9] = d, r[10] = G);
@@ -42526,7 +42526,7 @@ ${c}
42526
42526
  });
42527
42527
  ReadonlyCode.displayName = "ReadonlyCode";
42528
42528
  var CopyButton = (e) => {
42529
- let r = (0, import_compiler_runtime$77.c)(5), c;
42529
+ let r = (0, import_compiler_runtime$78.c)(5), c;
42530
42530
  r[0] === e.text ? c = r[1] : (c = Events.stopPropagation(async () => {
42531
42531
  await copyToClipboard(e.text), toast({
42532
42532
  title: "Copied to clipboard"
@@ -42550,7 +42550,7 @@ ${c}
42550
42550
  })
42551
42551
  }), r[3] = d, r[4] = h), h;
42552
42552
  }, EyeCloseButton = (e) => {
42553
- let r = (0, import_compiler_runtime$77.c)(3), c;
42553
+ let r = (0, import_compiler_runtime$78.c)(3), c;
42554
42554
  r[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (c = (0, import_jsx_runtime.jsx)(EyeOff, {
42555
42555
  size: 14,
42556
42556
  strokeWidth: 1.5
@@ -42569,7 +42569,7 @@ ${c}
42569
42569
  }), r[1] = e.onClick, r[2] = d), d;
42570
42570
  };
42571
42571
  const HideCodeButton = (e) => {
42572
- let r = (0, import_compiler_runtime$77.c)(7), c;
42572
+ let r = (0, import_compiler_runtime$78.c)(7), c;
42573
42573
  r[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (c = (0, import_jsx_runtime.jsx)(Eye, {
42574
42574
  className: "hover-action w-5 h-5 text-muted-foreground cursor-pointer absolute left-1/2 top-1/2 transform -translate-x-1/2 -translate-y-1/2 opacity-80 hover:opacity-100 z-20"
42575
42575
  }), r[0] = c) : c = r[0];
@@ -42587,7 +42587,7 @@ ${c}
42587
42587
  }), r[3] = e.className, r[4] = e.onClick, r[5] = d, r[6] = f) : f = r[6], f;
42588
42588
  };
42589
42589
  var InsertNewCell = (e) => {
42590
- let r = (0, import_compiler_runtime$77.c)(6), c = useAddCodeToNewCell(), d;
42590
+ let r = (0, import_compiler_runtime$78.c)(6), c = useAddCodeToNewCell(), d;
42591
42591
  r[0] !== c || r[1] !== e.code ? (d = () => {
42592
42592
  c(e.code);
42593
42593
  }, r[0] = c, r[1] = e.code, r[2] = d) : d = r[2];
@@ -42608,9 +42608,9 @@ ${c}
42608
42608
  children: h
42609
42609
  })
42610
42610
  }), r[4] = f, r[5] = _), _;
42611
- }, import_compiler_runtime$76 = require_compiler_runtime();
42611
+ }, import_compiler_runtime$77 = require_compiler_runtime();
42612
42612
  const Title = (e) => {
42613
- let r = (0, import_compiler_runtime$76.c)(5), { text: c, tooltip: d } = e, f;
42613
+ let r = (0, import_compiler_runtime$77.c)(5), { text: c, tooltip: d } = e, f;
42614
42614
  r[0] === d ? f = r[1] : (f = d && (0, import_jsx_runtime.jsx)(Tooltip, {
42615
42615
  content: d,
42616
42616
  children: (0, import_jsx_runtime.jsx)(Info, {
@@ -42626,7 +42626,7 @@ ${c}
42626
42626
  ]
42627
42627
  }), r[2] = f, r[3] = c, r[4] = h) : h = r[4], h;
42628
42628
  }, TabContainer = (e) => {
42629
- let r = (0, import_compiler_runtime$76.c)(5), { children: c, className: d } = e, f;
42629
+ let r = (0, import_compiler_runtime$77.c)(5), { children: c, className: d } = e, f;
42630
42630
  r[0] === d ? f = r[1] : (f = cn("flex flex-col gap-2", d), r[0] = d, r[1] = f);
42631
42631
  let h;
42632
42632
  return r[2] !== c || r[3] !== f ? (h = (0, import_jsx_runtime.jsx)("div", {
@@ -42634,14 +42634,14 @@ ${c}
42634
42634
  children: c
42635
42635
  }), r[2] = c, r[3] = f, r[4] = h) : h = r[4], h;
42636
42636
  }, FormSectionHorizontalRule = (e) => {
42637
- let r = (0, import_compiler_runtime$76.c)(4), { className: c } = e, d;
42637
+ let r = (0, import_compiler_runtime$77.c)(4), { className: c } = e, d;
42638
42638
  r[0] === c ? d = r[1] : (d = cn("my-1", c), r[0] = c, r[1] = d);
42639
42639
  let f;
42640
42640
  return r[2] === d ? f = r[3] : (f = (0, import_jsx_runtime.jsx)("hr", {
42641
42641
  className: d
42642
42642
  }), r[2] = d, r[3] = f), f;
42643
42643
  }, FieldSection = (e) => {
42644
- let r = (0, import_compiler_runtime$76.c)(5), { children: c, className: d } = e, f;
42644
+ let r = (0, import_compiler_runtime$77.c)(5), { children: c, className: d } = e, f;
42645
42645
  r[0] === d ? f = r[1] : (f = cn("flex flex-col gap-1.5", d), r[0] = d, r[1] = f);
42646
42646
  let h;
42647
42647
  return r[2] !== c || r[3] !== f ? (h = (0, import_jsx_runtime.jsx)("section", {
@@ -42649,7 +42649,7 @@ ${c}
42649
42649
  children: c
42650
42650
  }), r[2] = c, r[3] = f, r[4] = h) : h = r[4], h;
42651
42651
  }, IconWithText = (e) => {
42652
- let r = (0, import_compiler_runtime$76.c)(7), { Icon: c, text: d } = e, f;
42652
+ let r = (0, import_compiler_runtime$77.c)(7), { Icon: c, text: d } = e, f;
42653
42653
  r[0] === c ? f = r[1] : (f = (0, import_jsx_runtime.jsx)(c, {
42654
42654
  className: "w-3 h-3 mr-2"
42655
42655
  }), r[0] = c, r[1] = f);
@@ -42666,7 +42666,7 @@ ${c}
42666
42666
  ]
42667
42667
  }), r[4] = f, r[5] = h, r[6] = _) : _ = r[6], _;
42668
42668
  }, AccordionFormTrigger = (e) => {
42669
- let r = (0, import_compiler_runtime$76.c)(5), { children: c, className: d } = e, f;
42669
+ let r = (0, import_compiler_runtime$77.c)(5), { children: c, className: d } = e, f;
42670
42670
  r[0] === d ? f = r[1] : (f = cn("py-1", d), r[0] = d, r[1] = f);
42671
42671
  let h;
42672
42672
  return r[2] !== c || r[3] !== f ? (h = (0, import_jsx_runtime.jsx)(AccordionTrigger, {
@@ -42674,14 +42674,14 @@ ${c}
42674
42674
  children: c
42675
42675
  }), r[2] = c, r[3] = f, r[4] = h) : h = r[4], h;
42676
42676
  }, AccordionFormItem = (e) => {
42677
- let r = (0, import_compiler_runtime$76.c)(3), { children: c, value: d } = e, f;
42677
+ let r = (0, import_compiler_runtime$77.c)(3), { children: c, value: d } = e, f;
42678
42678
  return r[0] !== c || r[1] !== d ? (f = (0, import_jsx_runtime.jsx)(AccordionItem, {
42679
42679
  value: d,
42680
42680
  className: "border-none",
42681
42681
  children: c
42682
42682
  }), r[0] = c, r[1] = d, r[2] = f) : f = r[2], f;
42683
42683
  }, AccordionFormContent = (e) => {
42684
- let r = (0, import_compiler_runtime$76.c)(5), { children: c, wrapperClassName: d } = e, f;
42684
+ let r = (0, import_compiler_runtime$77.c)(5), { children: c, wrapperClassName: d } = e, f;
42685
42685
  r[0] === d ? f = r[1] : (f = cn("pb-2 flex flex-col gap-2", d), r[0] = d, r[1] = f);
42686
42686
  let h;
42687
42687
  return r[2] !== c || r[3] !== f ? (h = (0, import_jsx_runtime.jsx)(AccordionContent, {
@@ -42689,7 +42689,7 @@ ${c}
42689
42689
  children: c
42690
42690
  }), r[2] = c, r[3] = f, r[4] = h) : h = r[4], h;
42691
42691
  }, CodeSnippet = (e) => {
42692
- let r = (0, import_compiler_runtime$76.c)(4), { code: c, insertNewCell: d, language: f } = e, h;
42692
+ let r = (0, import_compiler_runtime$77.c)(4), { code: c, insertNewCell: d, language: f } = e, h;
42693
42693
  return r[0] !== c || r[1] !== d || r[2] !== f ? (h = (0, import_jsx_runtime.jsx)(ReadonlyCode, {
42694
42694
  minHeight: "330px",
42695
42695
  maxHeight: "330px",
@@ -42700,9 +42700,9 @@ ${c}
42700
42700
  insertNewCell: d
42701
42701
  }), r[0] = c, r[1] = d, r[2] = f, r[3] = h) : h = r[3], h;
42702
42702
  };
42703
- var import_compiler_runtime$75 = require_compiler_runtime(), CLEAR_VALUE = "__clear__";
42703
+ var import_compiler_runtime$76 = require_compiler_runtime(), CLEAR_VALUE = "__clear__";
42704
42704
  const ColumnSelector = (e) => {
42705
- let r = (0, import_compiler_runtime$75.c)(23), { fieldName: c, columns: d, onValueChange: f, includeCountField: h } = e, _ = h === void 0 ? true : h, v = useFormContext(), y;
42705
+ let r = (0, import_compiler_runtime$76.c)(23), { fieldName: c, columns: d, onValueChange: f, includeCountField: h } = e, _ = h === void 0 ? true : h, v = useFormContext(), y;
42706
42706
  r[0] === c ? y = r[1] : (y = c.replace(".field", ".type"), r[0] = c, r[1] = y);
42707
42707
  let S = y, w;
42708
42708
  r[2] === c ? w = r[3] : (w = c.replace(".field", ".selectedDataType"), r[2] = c, r[3] = w);
@@ -42784,7 +42784,7 @@ ${c}
42784
42784
  render: I
42785
42785
  }), r[19] = c, r[20] = v.control, r[21] = I, r[22] = z) : z = r[22], z;
42786
42786
  }, SelectField = (e) => {
42787
- let r = (0, import_compiler_runtime$75.c)(8), { fieldName: c, label: d, options: f, defaultValue: h } = e, _ = useFormContext(), v;
42787
+ let r = (0, import_compiler_runtime$76.c)(8), { fieldName: c, label: d, options: f, defaultValue: h } = e, _ = useFormContext(), v;
42788
42788
  r[0] !== h || r[1] !== d || r[2] !== f ? (v = (e2) => {
42789
42789
  let { field: r2 } = e2;
42790
42790
  return (0, import_jsx_runtime.jsxs)(FormItem, {
@@ -42823,7 +42823,7 @@ ${c}
42823
42823
  render: v
42824
42824
  }), r[4] = c, r[5] = _.control, r[6] = v, r[7] = y) : y = r[7], y;
42825
42825
  }, InputField = (e) => {
42826
- let r = (0, import_compiler_runtime$75.c)(6), { fieldName: c, label: d } = e, f = useFormContext(), h;
42826
+ let r = (0, import_compiler_runtime$76.c)(6), { fieldName: c, label: d } = e, f = useFormContext(), h;
42827
42827
  r[0] === d ? h = r[1] : (h = (e2) => {
42828
42828
  let { field: r2 } = e2;
42829
42829
  return (0, import_jsx_runtime.jsxs)(FormItem, {
@@ -42850,7 +42850,7 @@ ${c}
42850
42850
  render: h
42851
42851
  }), r[2] = c, r[3] = f.control, r[4] = h, r[5] = _) : _ = r[5], _;
42852
42852
  }, NumberField$1 = (e) => {
42853
- let r = (0, import_compiler_runtime$75.c)(17), c, d, f, h, _, v;
42853
+ let r = (0, import_compiler_runtime$76.c)(17), c, d, f, h, _, v;
42854
42854
  r[0] === e ? (c = r[1], d = r[2], f = r[3], h = r[4], _ = r[5], v = r[6]) : ({ fieldName: d, label: _, className: c, inputClassName: f, isDisabled: h, ...v } = e, r[0] = e, r[1] = c, r[2] = d, r[3] = f, r[4] = h, r[5] = _, r[6] = v);
42855
42855
  let y = useFormContext(), S;
42856
42856
  r[7] !== c || r[8] !== f || r[9] !== h || r[10] !== _ || r[11] !== v ? (S = (e2) => {
@@ -42884,7 +42884,7 @@ ${c}
42884
42884
  render: S
42885
42885
  }), r[13] = d, r[14] = y.control, r[15] = S, r[16] = w) : w = r[16], w;
42886
42886
  }, BooleanField = (e) => {
42887
- let r = (0, import_compiler_runtime$75.c)(8), { fieldName: c, label: d, className: f, defaultValue: h } = e, _ = useFormContext(), v;
42887
+ let r = (0, import_compiler_runtime$76.c)(8), { fieldName: c, label: d, className: f, defaultValue: h } = e, _ = useFormContext(), v;
42888
42888
  r[0] !== f || r[1] !== h || r[2] !== d ? (v = (e2) => {
42889
42889
  let { field: r2 } = e2;
42890
42890
  return (0, import_jsx_runtime.jsxs)(FormItem, {
@@ -42910,7 +42910,7 @@ ${c}
42910
42910
  render: v
42911
42911
  }), r[4] = c, r[5] = _.control, r[6] = v, r[7] = y) : y = r[7], y;
42912
42912
  }, SliderField = (e) => {
42913
- let r = (0, import_compiler_runtime$75.c)(12), { fieldName: c, label: d, defaultValue: f, start: h, stop: _, step: v, className: y } = e, S = useFormContext(), w;
42913
+ let r = (0, import_compiler_runtime$76.c)(12), { fieldName: c, label: d, defaultValue: f, start: h, stop: _, step: v, className: y } = e, S = useFormContext(), w;
42914
42914
  r[0] !== y || r[1] !== f || r[2] !== c || r[3] !== d || r[4] !== h || r[5] !== v || r[6] !== _ ? (w = (e2) => {
42915
42915
  let { field: r2 } = e2, S2 = r2.value ?? f, w2 = Number(S2), E2 = (e3) => {
42916
42916
  typeof e3 == "string" && (e3 = Number(e3)), r2.onChange(e3);
@@ -42953,7 +42953,7 @@ ${c}
42953
42953
  render: w
42954
42954
  }), r[8] = c, r[9] = S.control, r[10] = w, r[11] = E) : E = r[11], E;
42955
42955
  }, ColorArrayField = (e) => {
42956
- let r = (0, import_compiler_runtime$75.c)(28), { fieldName: c, label: d, className: f } = e, h = useFormContext(), _;
42956
+ let r = (0, import_compiler_runtime$76.c)(28), { fieldName: c, label: d, className: f } = e, h = useFormContext(), _;
42957
42957
  r[0] !== c || r[1] !== h ? (_ = h.watch(c), r[0] = c, r[1] = h, r[2] = _) : _ = r[2];
42958
42958
  let v = _, y;
42959
42959
  r[3] === v ? y = r[4] : (y = v ?? [], r[3] = v, r[4] = y);
@@ -43034,7 +43034,7 @@ ${c}
43034
43034
  render: q
43035
43035
  }), r[24] = c, r[25] = h.control, r[26] = q, r[27] = Z7) : Z7 = r[27], Z7;
43036
43036
  }, TimeUnitSelect = (e) => {
43037
- let r = (0, import_compiler_runtime$75.c)(10), { fieldName: c, label: d } = e, f = useFormContext(), h;
43037
+ let r = (0, import_compiler_runtime$76.c)(10), { fieldName: c, label: d } = e, f = useFormContext(), h;
43038
43038
  r[0] !== c || r[1] !== f ? (h = () => {
43039
43039
  f.setValue(c, "");
43040
43040
  }, r[0] = c, r[1] = f, r[2] = h) : h = r[2];
@@ -43103,7 +43103,7 @@ ${c}
43103
43103
  render: y
43104
43104
  }), r[6] = c, r[7] = f.control, r[8] = y, r[9] = S) : S = r[9], S;
43105
43105
  }, DataTypeSelect = (e) => {
43106
- let r = (0, import_compiler_runtime$75.c)(9), { fieldName: c, label: d, defaultValue: f, onValueChange: h } = e, [_, v] = import_react.useState(false), y = useFormContext(), S;
43106
+ let r = (0, import_compiler_runtime$76.c)(9), { fieldName: c, label: d, defaultValue: f, onValueChange: h } = e, [_, v] = import_react.useState(false), y = useFormContext(), S;
43107
43107
  r[0] !== f || r[1] !== _ || r[2] !== d || r[3] !== h ? (S = (e2) => {
43108
43108
  let { field: r2 } = e2;
43109
43109
  return (0, import_jsx_runtime.jsxs)(FormItem, {
@@ -43159,7 +43159,7 @@ ${c}
43159
43159
  render: S
43160
43160
  }), r[5] = c, r[6] = y.control, r[7] = S, r[8] = w) : w = r[8], w;
43161
43161
  }, AggregationSelect = (e) => {
43162
- let r = (0, import_compiler_runtime$75.c)(12), { fieldName: c, selectedDataType: d, binFieldName: f, defaultAggregation: h } = e, _ = useFormContext(), v = d === "string" ? STRING_AGGREGATION_FNS : AGGREGATION_FNS$1, { chartType: y } = useChartFormContext(), S = y !== ChartType.HEATMAP, w = _temp6$4, E = _temp7$1, O;
43162
+ let r = (0, import_compiler_runtime$76.c)(12), { fieldName: c, selectedDataType: d, binFieldName: f, defaultAggregation: h } = e, _ = useFormContext(), v = d === "string" ? STRING_AGGREGATION_FNS : AGGREGATION_FNS$1, { chartType: y } = useChartFormContext(), S = y !== ChartType.HEATMAP, w = _temp6$4, E = _temp7$1, O;
43163
43163
  r[0] !== f || r[1] !== _ ? (O = (e2) => {
43164
43164
  let { value: r2, previousValue: c2, onChange: d2 } = e2;
43165
43165
  r2 === "bin" ? _.setValue(f, true) : c2 === "bin" && _.setValue(f, false), d2(r2);
@@ -43218,7 +43218,7 @@ ${c}
43218
43218
  render: I
43219
43219
  }), r[8] = c, r[9] = _.control, r[10] = I, r[11] = z) : z = r[11], z;
43220
43220
  }, TooltipSelect = (e) => {
43221
- let r = (0, import_compiler_runtime$75.c)(7), { fieldName: c, saveFunction: d } = e, f = useFormContext(), { fields: h } = useChartFormContext(), _ = _temp8, v;
43221
+ let r = (0, import_compiler_runtime$76.c)(7), { fieldName: c, saveFunction: d } = e, f = useFormContext(), { fields: h } = useChartFormContext(), _ = _temp8, v;
43222
43222
  r[0] !== h || r[1] !== d ? (v = (e2) => {
43223
43223
  var _a3;
43224
43224
  let { field: r2 } = e2, c2 = ((_a3 = r2.value) == null ? void 0 : _a3.map(_temp9)) ?? [];
@@ -43244,7 +43244,7 @@ ${c}
43244
43244
  render: v
43245
43245
  }), r[3] = c, r[4] = f.control, r[5] = v, r[6] = y) : y = r[6], y;
43246
43246
  }, SortField = (e) => {
43247
- let r = (0, import_compiler_runtime$75.c)(5), { fieldName: c, label: d, defaultValue: f } = e, h;
43247
+ let r = (0, import_compiler_runtime$76.c)(5), { fieldName: c, label: d, defaultValue: f } = e, h;
43248
43248
  r[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (h = SORT_TYPES.map(_temp1), r[0] = h) : h = r[0];
43249
43249
  let _ = f ?? "ascending", v;
43250
43250
  return r[1] !== c || r[2] !== d || r[3] !== _ ? (v = (0, import_jsx_runtime.jsx)(SelectField, {
@@ -43255,7 +43255,7 @@ ${c}
43255
43255
  }), r[1] = c, r[2] = d, r[3] = _, r[4] = v) : v = r[4], v;
43256
43256
  }, BinFields = (e) => {
43257
43257
  var _a3, _b3, _c3, _d3;
43258
- let r = (0, import_compiler_runtime$75.c)(10), { fieldName: c } = e, d = useFormContext(), f;
43258
+ let r = (0, import_compiler_runtime$76.c)(10), { fieldName: c } = e, d = useFormContext(), f;
43259
43259
  r[0] === d.control ? f = r[1] : (f = {
43260
43260
  control: d.control
43261
43261
  }, r[0] = d.control, r[1] = f);
@@ -43370,7 +43370,7 @@ ${c}
43370
43370
  value: e
43371
43371
  };
43372
43372
  }
43373
- var import_compiler_runtime$74 = require_compiler_runtime();
43373
+ var import_compiler_runtime$75 = require_compiler_runtime();
43374
43374
  function isNonCountField(e) {
43375
43375
  return isFieldSet(e == null ? void 0 : e.field) && (e == null ? void 0 : e.field) !== "__count__";
43376
43376
  }
@@ -43394,7 +43394,7 @@ ${c}
43394
43394
  };
43395
43395
  }
43396
43396
  var ColumnSelectorWithAggregation = (e) => {
43397
- let r = (0, import_compiler_runtime$74.c)(14), { columnFieldName: c, column: d, columns: f, binFieldName: h, defaultAggregation: _ } = e, v;
43397
+ let r = (0, import_compiler_runtime$75.c)(14), { columnFieldName: c, column: d, columns: f, binFieldName: h, defaultAggregation: _ } = e, v;
43398
43398
  r[0] === d ? v = r[1] : (v = getColumnDataTypes(d), r[0] = d, r[1] = v);
43399
43399
  let { selectedDataType: y } = v, S;
43400
43400
  r[2] !== c || r[3] !== f ? (S = (0, import_jsx_runtime.jsx)(ColumnSelector, {
@@ -43418,7 +43418,7 @@ ${c}
43418
43418
  }), r[11] = S, r[12] = w, r[13] = E) : E = r[13], E;
43419
43419
  };
43420
43420
  const ChartTypeSelect = (e) => {
43421
- let r = (0, import_compiler_runtime$74.c)(7), { value: c, onValueChange: d } = e, f, h;
43421
+ let r = (0, import_compiler_runtime$75.c)(7), { value: c, onValueChange: d } = e, f, h;
43422
43422
  r[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (f = buttonVariants({
43423
43423
  variant: "outline",
43424
43424
  className: "user-select-none w-full justify-between px-3"
@@ -43454,7 +43454,7 @@ ${c}
43454
43454
  }), r[4] = d, r[5] = c, r[6] = y) : y = r[6], y;
43455
43455
  };
43456
43456
  var ChartSelectItem = (e) => {
43457
- let r = (0, import_compiler_runtime$74.c)(10), { chartType: c } = e, d = CHART_TYPE_ICON[c], f;
43457
+ let r = (0, import_compiler_runtime$75.c)(10), { chartType: c } = e, d = CHART_TYPE_ICON[c], f;
43458
43458
  r[0] === d ? f = r[1] : (f = (0, import_jsx_runtime.jsx)(d, {
43459
43459
  className: "w-4 h-4 mr-2"
43460
43460
  }), r[0] = d, r[1] = f);
@@ -43477,7 +43477,7 @@ ${c}
43477
43477
  };
43478
43478
  const XAxis = () => {
43479
43479
  var _a3, _b3, _c3, _d3, _e9, _f3, _g3;
43480
- let e = (0, import_compiler_runtime$74.c)(22), r = useFormContext(), c;
43480
+ let e = (0, import_compiler_runtime$75.c)(22), r = useFormContext(), c;
43481
43481
  e[0] === r.control ? c = e[1] : (c = {
43482
43482
  control: r.control
43483
43483
  }, e[0] = r.control, e[1] = c);
@@ -43530,7 +43530,7 @@ ${c}
43530
43530
  }), e[17] = w, e[18] = E, e[19] = O, e[20] = M, e[21] = I) : I = e[21], I;
43531
43531
  }, YAxis = () => {
43532
43532
  var _a3, _b3, _c3;
43533
- let e = (0, import_compiler_runtime$74.c)(29), r = useFormContext(), c;
43533
+ let e = (0, import_compiler_runtime$75.c)(29), r = useFormContext(), c;
43534
43534
  e[0] === r.control ? c = e[1] : (c = {
43535
43535
  control: r.control
43536
43536
  }, e[0] = r.control, e[1] = c);
@@ -43587,7 +43587,7 @@ ${c}
43587
43587
  }), e[23] = Q7, e[24] = $7, e[25] = G, e[26] = q, e[27] = Z7, e[28] = e9) : e9 = e[28], e9;
43588
43588
  }, ColorByAxis = () => {
43589
43589
  var _a3;
43590
- let e = (0, import_compiler_runtime$74.c)(13), { fields: r } = useChartFormContext(), c = useFormContext(), d;
43590
+ let e = (0, import_compiler_runtime$75.c)(13), { fields: r } = useChartFormContext(), c = useFormContext(), d;
43591
43591
  e[0] === c.control ? d = e[1] : (d = {
43592
43592
  control: c.control
43593
43593
  }, e[0] = c.control, e[1] = d);
@@ -43618,7 +43618,7 @@ ${c}
43618
43618
  }), e[10] = y, e[11] = S, e[12] = w) : w = e[12], w;
43619
43619
  }, Facet = () => {
43620
43620
  var _a3, _b3;
43621
- let e = (0, import_compiler_runtime$74.c)(7), r = useChartFormContext().fields, c = useFormContext(), d;
43621
+ let e = (0, import_compiler_runtime$75.c)(7), r = useChartFormContext().fields, c = useFormContext(), d;
43622
43622
  e[0] === c.control ? d = e[1] : (d = {
43623
43623
  control: c.control
43624
43624
  }, e[0] = c.control, e[1] = d);
@@ -43697,10 +43697,10 @@ ${c}
43697
43697
  chartType: e
43698
43698
  }, e);
43699
43699
  }
43700
- var import_compiler_runtime$73 = require_compiler_runtime();
43700
+ var import_compiler_runtime$74 = require_compiler_runtime();
43701
43701
  const CommonChartForm = () => {
43702
43702
  var _a3, _b3;
43703
- let e = (0, import_compiler_runtime$73.c)(17), r = useFormContext(), c;
43703
+ let e = (0, import_compiler_runtime$74.c)(17), r = useFormContext(), c;
43704
43704
  e[0] === r.control ? c = e[1] : (c = {
43705
43705
  control: r.control
43706
43706
  }, e[0] = r.control, e[1] = c);
@@ -43752,7 +43752,7 @@ ${c}
43752
43752
  ]
43753
43753
  }), e[15] = z, e[16] = Z7), Z7;
43754
43754
  }, StyleForm = () => {
43755
- let e = (0, import_compiler_runtime$73.c)(15), { chartType: r } = useChartFormContext(), c;
43755
+ let e = (0, import_compiler_runtime$74.c)(15), { chartType: r } = useChartFormContext(), c;
43756
43756
  e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (c = (0, import_jsx_runtime.jsx)(AccordionFormTrigger, {
43757
43757
  className: "pt-0",
43758
43758
  children: (0, import_jsx_runtime.jsx)(Title, {
@@ -43895,7 +43895,7 @@ ${c}
43895
43895
  }), e[13] = h, e[14] = z), z;
43896
43896
  }, OtherOptions = () => {
43897
43897
  var _a3;
43898
- let e = (0, import_compiler_runtime$73.c)(11), { saveForm: r } = useChartFormContext(), c = useFormContext(), d;
43898
+ let e = (0, import_compiler_runtime$74.c)(11), { saveForm: r } = useChartFormContext(), c = useFormContext(), d;
43899
43899
  e[0] === c.control ? d = e[1] : (d = {
43900
43900
  control: c.control
43901
43901
  }, e[0] = c.control, e[1] = d);
@@ -43966,10 +43966,10 @@ ${c}
43966
43966
  value: e
43967
43967
  };
43968
43968
  }
43969
- var import_compiler_runtime$72 = require_compiler_runtime();
43969
+ var import_compiler_runtime$73 = require_compiler_runtime();
43970
43970
  const HeatmapForm = () => {
43971
43971
  var _a3, _b3, _c3, _d3;
43972
- let e = (0, import_compiler_runtime$72.c)(17), r = useFormContext(), c;
43972
+ let e = (0, import_compiler_runtime$73.c)(17), r = useFormContext(), c;
43973
43973
  e[0] === r.control ? c = e[1] : (c = {
43974
43974
  control: r.control
43975
43975
  }, e[0] = r.control, e[1] = c);
@@ -44012,10 +44012,10 @@ ${c}
44012
44012
  ]
44013
44013
  }), e[14] = E, e[15] = M, e[16] = G) : G = e[16], G;
44014
44014
  };
44015
- var import_compiler_runtime$71 = require_compiler_runtime();
44015
+ var import_compiler_runtime$72 = require_compiler_runtime();
44016
44016
  const PieForm = () => {
44017
44017
  var _a3, _b3, _c3;
44018
- let e = (0, import_compiler_runtime$71.c)(25), r = useFormContext(), { fields: c } = useChartFormContext(), d;
44018
+ let e = (0, import_compiler_runtime$72.c)(25), r = useFormContext(), { fields: c } = useChartFormContext(), d;
44019
44019
  e[0] === r.control ? d = e[1] : (d = {
44020
44020
  control: r.control
44021
44021
  }, e[0] = r.control, e[1] = d);
@@ -44082,9 +44082,9 @@ ${c}
44082
44082
  ]
44083
44083
  }), e[21] = w, e[22] = E, e[23] = z, e[24] = Q7) : Q7 = e[24], Q7;
44084
44084
  };
44085
- var import_compiler_runtime$70 = require_compiler_runtime();
44085
+ var import_compiler_runtime$71 = require_compiler_runtime();
44086
44086
  const LazyChart = (e) => {
44087
- let r = (0, import_compiler_runtime$70.c)(8), { baseSpec: c, data: d, height: f } = e, { theme: h } = useTheme();
44087
+ let r = (0, import_compiler_runtime$71.c)(8), { baseSpec: c, data: d, height: f } = e, { theme: h } = useTheme();
44088
44088
  if (!d) {
44089
44089
  let e2;
44090
44090
  return r[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (e2 = (0, import_jsx_runtime.jsx)("div", {
@@ -44125,7 +44125,7 @@ ${c}
44125
44125
  }), r[5] = c, r[6] = v, r[7] = y) : y = r[7], y;
44126
44126
  };
44127
44127
  var LoadingChart$1 = () => {
44128
- let e = (0, import_compiler_runtime$70.c)(1), r;
44128
+ let e = (0, import_compiler_runtime$71.c)(1), r;
44129
44129
  return e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (r = (0, import_jsx_runtime.jsx)(ChartInfoState, {
44130
44130
  className: "mt-14",
44131
44131
  children: "Loading chart..."
@@ -44269,7 +44269,7 @@ ${c}
44269
44269
  let r = initialStorageValue.get(e);
44270
44270
  return r ? r.length > 0 : false;
44271
44271
  }
44272
- var import_compiler_runtime$69 = require_compiler_runtime(), NEW_CHART_TYPE = "bar", DEFAULT_TAB_NAME = "table", CHART_HEIGHT = 290, CHART_MAX_ROWS = 5e4, CHART_MAX_COLUMNS = 50;
44272
+ var import_compiler_runtime$70 = require_compiler_runtime(), NEW_CHART_TYPE = "bar", DEFAULT_TAB_NAME = "table", CHART_HEIGHT = 290, CHART_MAX_ROWS = 5e4, CHART_MAX_COLUMNS = 50;
44273
44273
  const TablePanel = ({ cellId: e, data: r, dataTable: c, totalRows: d, columns: f, getDataUrl: h, fieldTypes: _, displayHeader: v, onCloseChartBuilder: y }) => {
44274
44274
  let [S, w] = useAtom(tabsStorageAtom), E = e ? S.get(e) ?? [] : [], [O, M] = (0, import_react.useState)(DEFAULT_TAB_NAME), [I, z] = (0, import_react.useState)(E.length), G = (0, import_react.useRef)(v);
44275
44275
  if (v && !G.current && E.length === 0 && e) {
@@ -44535,7 +44535,7 @@ ${c}
44535
44535
  });
44536
44536
  };
44537
44537
  var ChartFormContainer = (e) => {
44538
- let r = (0, import_compiler_runtime$69.c)(28), { form: c, saveChart: d, fieldTypes: f, chartType: h } = e, _;
44538
+ let r = (0, import_compiler_runtime$70.c)(28), { form: c, saveChart: d, fieldTypes: f, chartType: h } = e, _;
44539
44539
  r[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (_ = [], r[0] = _) : _ = r[0];
44540
44540
  let v = _;
44541
44541
  if (f) {
@@ -44645,9 +44645,9 @@ ${c}
44645
44645
  function _temp3$11(e) {
44646
44646
  return e.preventDefault();
44647
44647
  }
44648
- var import_compiler_runtime$68 = require_compiler_runtime();
44648
+ var import_compiler_runtime$69 = require_compiler_runtime();
44649
44649
  function usePanelOwnership(e, r) {
44650
- let c = (0, import_compiler_runtime$68.c)(16), d = useAtomValue(isCellAwareAtom), { focusCell: f } = useCellFocusActions(), h = useLastFocusedCellId(), [_, v] = useAtom(contextAwarePanelType), [y, S] = useAtom(contextAwarePanelOwner), [w, E] = useAtom(contextAwarePanelOpen), O = getPanelId(e, r);
44650
+ let c = (0, import_compiler_runtime$69.c)(16), d = useAtomValue(isCellAwareAtom), { focusCell: f } = useCellFocusActions(), h = useLastFocusedCellId(), [_, v] = useAtom(contextAwarePanelType), [y, S] = useAtom(contextAwarePanelOwner), [w, E] = useAtom(contextAwarePanelOpen), O = getPanelId(e, r);
44651
44651
  !r && d && (Logger.error("CellId is not found, defaulting to fixed mode"), d = false);
44652
44652
  let M = (e2) => y === O && w && e2 === _, I = h === r, z = y && isPanelOwner(y, r);
44653
44653
  d && I && y !== O && !z && S(O);
@@ -44682,9 +44682,9 @@ ${c}
44682
44682
  url: zod_default.string(),
44683
44683
  filename: zod_default.string()
44684
44684
  }));
44685
- var import_compiler_runtime$67 = require_compiler_runtime();
44685
+ var import_compiler_runtime$68 = require_compiler_runtime();
44686
44686
  const EmptyState = (e) => {
44687
- let r = (0, import_compiler_runtime$67.c)(5), { content: c, className: d } = e, f;
44687
+ let r = (0, import_compiler_runtime$68.c)(5), { content: c, className: d } = e, f;
44688
44688
  r[0] === d ? f = r[1] : (f = cn("text-sm text-muted-foreground py-1", d), r[0] = d, r[1] = f);
44689
44689
  let h;
44690
44690
  return r[2] !== c || r[3] !== f ? (h = (0, import_jsx_runtime.jsx)("div", {
@@ -44692,7 +44692,7 @@ ${c}
44692
44692
  children: c
44693
44693
  }), r[2] = c, r[3] = f, r[4] = h) : h = r[4], h;
44694
44694
  }, ErrorState = (e) => {
44695
- let r = (0, import_compiler_runtime$67.c)(9), { error: c, style: d, className: f, showIcon: h } = e, _ = h === void 0 ? true : h, v;
44695
+ let r = (0, import_compiler_runtime$68.c)(9), { error: c, style: d, className: f, showIcon: h } = e, _ = h === void 0 ? true : h, v;
44696
44696
  r[0] === f ? v = r[1] : (v = cn("text-sm bg-red-50 dark:bg-red-900 text-red-600 dark:text-red-50 flex items-center gap-2 p-2 h-8", f), r[0] = f, r[1] = v);
44697
44697
  let y;
44698
44698
  r[2] === _ ? y = r[3] : (y = _ && (0, import_jsx_runtime.jsx)(X, {
@@ -44708,7 +44708,7 @@ ${c}
44708
44708
  ]
44709
44709
  }), r[4] = c.message, r[5] = d, r[6] = v, r[7] = y, r[8] = S) : S = r[8], S;
44710
44710
  }, LoadingState = (e) => {
44711
- let r = (0, import_compiler_runtime$67.c)(6), { message: c, className: d } = e, f;
44711
+ let r = (0, import_compiler_runtime$68.c)(6), { message: c, className: d } = e, f;
44712
44712
  r[0] === d ? f = r[1] : (f = cn("text-sm bg-blue-50 dark:bg-(--accent) text-blue-500 dark:text-blue-50 flex items-center gap-2 p-2 h-8", d), r[0] = d, r[1] = f);
44713
44713
  let h;
44714
44714
  r[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (h = (0, import_jsx_runtime.jsx)(LoaderCircle, {
@@ -44723,7 +44723,7 @@ ${c}
44723
44723
  ]
44724
44724
  }), r[3] = c, r[4] = f, r[5] = _) : _ = r[5], _;
44725
44725
  }, ColumnPreviewContainer = (e) => {
44726
- let r = (0, import_compiler_runtime$67.c)(5), { children: c, className: d } = e, f;
44726
+ let r = (0, import_compiler_runtime$68.c)(5), { children: c, className: d } = e, f;
44727
44727
  r[0] === d ? f = r[1] : (f = cn("flex flex-col gap-2 relative", d), r[0] = d, r[1] = f);
44728
44728
  let h;
44729
44729
  return r[2] !== c || r[3] !== f ? (h = (0, import_jsx_runtime.jsx)("div", {
@@ -44731,7 +44731,7 @@ ${c}
44731
44731
  children: c
44732
44732
  }), r[2] = c, r[3] = f, r[4] = h) : h = r[4], h;
44733
44733
  }, ColumnName = (e) => {
44734
- let r = (0, import_compiler_runtime$67.c)(6), { columnName: c, dataType: d } = e, f = DATA_TYPE_ICON[d], h = `w-4 h-4 p-0.5 rounded-sm stroke-card-foreground ${getDataTypeColor(d)}`, _;
44734
+ let r = (0, import_compiler_runtime$68.c)(6), { columnName: c, dataType: d } = e, f = DATA_TYPE_ICON[d], h = `w-4 h-4 p-0.5 rounded-sm stroke-card-foreground ${getDataTypeColor(d)}`, _;
44735
44735
  r[0] !== f || r[1] !== h ? (_ = (0, import_jsx_runtime.jsx)(f, {
44736
44736
  className: h
44737
44737
  }), r[0] = f, r[1] = h, r[2] = _) : _ = r[2];
@@ -44744,9 +44744,9 @@ ${c}
44744
44744
  ]
44745
44745
  }), r[3] = c, r[4] = _, r[5] = v) : v = r[5], v;
44746
44746
  };
44747
- var import_compiler_runtime$66 = require_compiler_runtime();
44747
+ var import_compiler_runtime$67 = require_compiler_runtime();
44748
44748
  const InstallPackageButton = (e) => {
44749
- let r = (0, import_compiler_runtime$66.c)(13), { packages: c, showMaxPackages: d, className: f, onInstall: h } = e, { handleInstallPackages: _ } = useInstallPackages();
44749
+ let r = (0, import_compiler_runtime$67.c)(13), { packages: c, showMaxPackages: d, className: f, onInstall: h } = e, { handleInstallPackages: _ } = useInstallPackages();
44750
44750
  if (!c || c.length === 0) return null;
44751
44751
  let v;
44752
44752
  r[0] !== _ || r[1] !== h || r[2] !== c ? (v = () => {
@@ -44769,7 +44769,7 @@ ${c}
44769
44769
  ]
44770
44770
  }), r[9] = v, r[10] = y, r[11] = S, r[12] = w) : w = r[12], w;
44771
44771
  };
44772
- var import_compiler_runtime$65 = require_compiler_runtime();
44772
+ var import_compiler_runtime$66 = require_compiler_runtime();
44773
44773
  function renderPreviewError({ error: e, missingPackages: r, refetchPreview: c }) {
44774
44774
  return (0, import_jsx_runtime.jsxs)("div", {
44775
44775
  className: "text-xs text-muted-foreground p-2 border border-border rounded flex items-center justify-between",
@@ -44839,7 +44839,7 @@ ${c}
44839
44839
  });
44840
44840
  }
44841
44841
  const AddDataframeChart = (e) => {
44842
- let r = (0, import_compiler_runtime$65.c)(10), { chartCode: c } = e, d = useAtomValue(autoInstantiateAtom), f = useLastFocusedCellId(), { createNewCell: h } = useCellActions(), _;
44842
+ let r = (0, import_compiler_runtime$66.c)(10), { chartCode: c } = e, d = useAtomValue(autoInstantiateAtom), f = useLastFocusedCellId(), { createNewCell: h } = useCellActions(), _;
44843
44843
  r[0] !== d || r[1] !== h || r[2] !== f ? (_ = (e2) => {
44844
44844
  e2.includes("alt") && maybeAddAltairImport({
44845
44845
  autoInstantiate: d,
@@ -44870,9 +44870,9 @@ ${c}
44870
44870
  })
44871
44871
  }), r[8] = y, r[9] = w), w;
44872
44872
  };
44873
- var import_compiler_runtime$64 = require_compiler_runtime();
44873
+ var import_compiler_runtime$65 = require_compiler_runtime();
44874
44874
  const ColumnExplorerPanel = (e) => {
44875
- let r = (0, import_compiler_runtime$64.c)(40), { previewColumn: c, fieldTypes: d, totalRows: f, totalColumns: h, tableId: _ } = e, [v, y] = (0, import_react.useState)(""), { locale: S } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), w, E, O, M, I, z, G, q, Z7, Q7;
44875
+ let r = (0, import_compiler_runtime$65.c)(40), { previewColumn: c, fieldTypes: d, totalRows: f, totalColumns: h, tableId: _ } = e, [v, y] = (0, import_react.useState)(""), { locale: S } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), w, E, O, M, I, z, G, q, Z7, Q7;
44876
44876
  if (r[0] !== d || r[1] !== S || r[2] !== c || r[3] !== v || r[4] !== _ || r[5] !== h || r[6] !== f) {
44877
44877
  let e2 = d == null ? void 0 : d.filter(_temp$20), $72 = e2 == null ? void 0 : e2.filter((e3) => {
44878
44878
  let [r2] = e3;
@@ -44936,7 +44936,7 @@ ${c}
44936
44936
  }), r[36] = e9, r[37] = Z7, r[38] = Q7, r[39] = t9) : t9 = r[39], t9;
44937
44937
  };
44938
44938
  var ColumnItem = (e) => {
44939
- let r = (0, import_compiler_runtime$64.c)(31), { columnName: c, dataType: d, externalType: f, previewColumn: h, defaultExpanded: _ } = e, [v, y] = (0, import_react.useState)(_ === void 0 ? false : _), S = v ? "font-semibold" : "", w;
44939
+ let r = (0, import_compiler_runtime$65.c)(31), { columnName: c, dataType: d, externalType: f, previewColumn: h, defaultExpanded: _ } = e, [v, y] = (0, import_react.useState)(_ === void 0 ? false : _), S = v ? "font-semibold" : "", w;
44940
44940
  r[0] !== c || r[1] !== S ? (w = (0, import_jsx_runtime.jsx)("span", {
44941
44941
  className: S,
44942
44942
  children: c
@@ -45008,7 +45008,7 @@ ${c}
45008
45008
  ]
45009
45009
  }), r[28] = Z7, r[29] = Q7, r[30] = $7) : $7 = r[30], $7;
45010
45010
  }, ColumnPreview = (e) => {
45011
- let r = (0, import_compiler_runtime$64.c)(26), { previewColumn: c, columnName: d, dataType: f } = e, { theme: h } = useTheme(), { locale: _ } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), v;
45011
+ let r = (0, import_compiler_runtime$65.c)(26), { previewColumn: c, columnName: d, dataType: f } = e, { theme: h } = useTheme(), { locale: _ } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), v;
45012
45012
  r[0] !== d || r[1] !== c ? (v = async () => await c({
45013
45013
  column: d
45014
45014
  }), r[0] = d, r[1] = c, r[2] = v) : v = r[2];
@@ -45071,7 +45071,7 @@ ${c}
45071
45071
  let [r] = e;
45072
45072
  return r;
45073
45073
  }
45074
- var import_compiler_runtime$63 = require_compiler_runtime();
45074
+ var import_compiler_runtime$64 = require_compiler_runtime();
45075
45075
  const RowViewerPanel = ({ rowIdx: e, setRowIdx: r, totalRows: c, fieldTypes: d, getRow: f, isSelectable: h, isRowSelected: _, handleRowSelectionChange: v }) => {
45076
45076
  let [y, S] = (0, import_react.useState)(""), w = (0, import_react.useRef)(null), E = (0, import_react.useId)(), { locale: O } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), M = c === TOO_MANY_ROWS, { data: I, error: z } = useAsyncData(async () => (await f(e)).rows, [
45077
45077
  f,
@@ -45303,7 +45303,7 @@ ${c}
45303
45303
  return h = h.toLowerCase(), d.includes(f) || h.includes(f);
45304
45304
  }
45305
45305
  var SimpleBanner = (e) => {
45306
- let r = (0, import_compiler_runtime$63.c)(8), { kind: c, Icon: d, message: f } = e, h;
45306
+ let r = (0, import_compiler_runtime$64.c)(8), { kind: c, Icon: d, message: f } = e, h;
45307
45307
  r[0] === d ? h = r[1] : (h = (0, import_jsx_runtime.jsx)(d, {
45308
45308
  className: "w-5 h-5"
45309
45309
  }), r[0] = d, r[1] = h);
@@ -45320,9 +45320,9 @@ ${c}
45320
45320
  _
45321
45321
  ]
45322
45322
  }), r[4] = c, r[5] = h, r[6] = _, r[7] = v) : v = r[7], v;
45323
- }, import_compiler_runtime$62 = require_compiler_runtime(), tabTriggerClassName = "text-[13px] uppercase tracking-wide font-semibold cursor-pointer transition-colors", activeClassName = "text-primary", inactiveClassName = "hover:text-foreground";
45323
+ }, import_compiler_runtime$63 = require_compiler_runtime(), tabTriggerClassName = "text-[13px] uppercase tracking-wide font-semibold cursor-pointer transition-colors", activeClassName = "text-primary", inactiveClassName = "hover:text-foreground";
45324
45324
  const TableExplorerPanel = (e) => {
45325
- let r = (0, import_compiler_runtime$62.c)(45), { rowIdx: c, setRowIdx: d, totalRows: f, fieldTypes: h, getRow: _, isSelectable: v, isRowSelected: y, handleRowSelectionChange: S, previewColumn: w, totalColumns: E, tableId: O, showRowExplorer: M, showColumnExplorer: I, activeTab: z, onTabChange: G } = e, q = M && I, Z7;
45325
+ let r = (0, import_compiler_runtime$63.c)(45), { rowIdx: c, setRowIdx: d, totalRows: f, fieldTypes: h, getRow: _, isSelectable: v, isRowSelected: y, handleRowSelectionChange: S, previewColumn: w, totalColumns: E, tableId: O, showRowExplorer: M, showColumnExplorer: I, activeTab: z, onTabChange: G } = e, q = M && I, Z7;
45326
45326
  r[0] !== h || r[1] !== _ || r[2] !== S || r[3] !== y || r[4] !== v || r[5] !== c || r[6] !== d || r[7] !== f ? (Z7 = (0, import_jsx_runtime.jsx)(RowViewerPanel, {
45327
45327
  rowIdx: c,
45328
45328
  setRowIdx: d,
@@ -45410,9 +45410,9 @@ ${c}
45410
45410
  ]
45411
45411
  }), r[39] = t9, r[40] = f9, r[41] = p9, r[42] = m9, r[43] = n9, r[44] = h9) : h9 = r[44], h9;
45412
45412
  };
45413
- var import_compiler_runtime$61 = require_compiler_runtime();
45413
+ var import_compiler_runtime$62 = require_compiler_runtime();
45414
45414
  function useEffectSkipFirstRender(e, r) {
45415
- let c = (0, import_compiler_runtime$61.c)(2), d = (0, import_react.useRef)(false), f;
45415
+ let c = (0, import_compiler_runtime$62.c)(2), d = (0, import_react.useRef)(false), f;
45416
45416
  c[0] === e ? f = c[1] : (f = () => {
45417
45417
  if (!d.current) {
45418
45418
  d.current = true;
@@ -45797,7 +45797,7 @@ ${c}
45797
45797
  ]), TransformationsSchema = object({
45798
45798
  transforms: array(TransformTypeSchema)
45799
45799
  });
45800
- var import_compiler_runtime$60 = require_compiler_runtime(), TooltipProvider$1 = Provider$2, maybeNumber = union([
45800
+ var import_compiler_runtime$61 = require_compiler_runtime(), TooltipProvider$1 = Provider$2, maybeNumber = union([
45801
45801
  number(),
45802
45802
  nan(),
45803
45803
  string()
@@ -45997,7 +45997,7 @@ ${c}
45997
45997
  }
45998
45998
  var LazyDataTableComponent = (e) => {
45999
45999
  var _a3;
46000
- let r = (0, import_compiler_runtime$60.c)(13), { isLazy: c, children: d, preload: f, host: h } = e, _, v, y, S;
46000
+ let r = (0, import_compiler_runtime$61.c)(13), { isLazy: c, children: d, preload: f, host: h } = e, _, v, y, S;
46001
46001
  if (r[0] !== h || r[1] !== c || r[2] !== f) {
46002
46002
  let e2 = h.closest(`[${OBJECT_ID_ATTR}]`);
46003
46003
  S = e2 ? UIElementId.parse(e2) : null, _ = (_a3 = h.closest(`[${RANDOM_ID_ATTR}]`)) == null ? void 0 : _a3.getAttribute(RANDOM_ID_ATTR), v = import_react.useState, y = c && !f && !wasTablePreviewed(S, _), r[0] = h, r[1] = c, r[2] = f, r[3] = _, r[4] = v, r[5] = y, r[6] = S;
@@ -46029,7 +46029,7 @@ ${c}
46029
46029
  return d;
46030
46030
  };
46031
46031
  const LoadingDataTableComponent = (0, import_react.memo)((e) => {
46032
- let r = (0, import_compiler_runtime$60.c)(104), c;
46032
+ let r = (0, import_compiler_runtime$61.c)(104), c;
46033
46033
  r[0] === e.host ? c = r[1] : (c = findCellId(e.host), r[0] = e.host, r[1] = c);
46034
46034
  let d = c, f = e.search, h = e.setValue, _;
46035
46035
  r[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (_ = [], r[2] = _) : _ = r[2];
@@ -46403,7 +46403,7 @@ ${c}
46403
46403
  });
46404
46404
  };
46405
46405
  const TableProviders = (e) => {
46406
- let r = (0, import_compiler_runtime$60.c)(2), { children: c } = e, d;
46406
+ let r = (0, import_compiler_runtime$61.c)(2), { children: c } = e, d;
46407
46407
  return r[0] === c ? d = r[1] : (d = (0, import_jsx_runtime.jsx)(ErrorBoundary, {
46408
46408
  children: (0, import_jsx_runtime.jsx)(Provider, {
46409
46409
  store,
@@ -46443,8 +46443,8 @@ ${c}
46443
46443
  pageIndex: 0
46444
46444
  };
46445
46445
  }
46446
- var import_compiler_runtime$59 = require_compiler_runtime(), Popover = (e) => {
46447
- let r = (0, import_compiler_runtime$59.c)(10), c, d, f;
46446
+ var import_compiler_runtime$60 = require_compiler_runtime(), Popover = (e) => {
46447
+ let r = (0, import_compiler_runtime$60.c)(10), c, d, f;
46448
46448
  r[0] === e ? (c = r[1], d = r[2], f = r[3]) : ({ className: c, offset: f, ...d } = e, r[0] = e, r[1] = c, r[2] = d, r[3] = f);
46449
46449
  let h = f === void 0 ? 4 : f, _;
46450
46450
  r[4] === c ? _ = r[5] : (_ = $64fa3d84918910a7$export$c245e6201fed2f75(c, _temp$18), r[4] = c, r[5] = _);
@@ -46458,8 +46458,8 @@ ${c}
46458
46458
  function _temp$18(e) {
46459
46459
  return cn("z-50 rounded-md border bg-popover text-popover-foreground shadow-md outline-hidden", "data-entering:animate-in data-entering:fade-in-0 data-entering:zoom-in-95", "data-exiting:animate-out data-exiting:fade-out-0 data-exiting:zoom-out-95", "data-[placement=bottom]:slide-in-from-top-2 data-[placement=left]:slide-in-from-right-2 data-[placement=right]:slide-in-from-left-2 data-[placement=top]:slide-in-from-bottom-2", e);
46460
46460
  }
46461
- var import_compiler_runtime$58 = require_compiler_runtime(), CalendarHeading = (e) => {
46462
- let r = (0, import_compiler_runtime$58.c)(11), { direction: c } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), d;
46461
+ var import_compiler_runtime$59 = require_compiler_runtime(), CalendarHeading = (e) => {
46462
+ let r = (0, import_compiler_runtime$59.c)(11), { direction: c } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), d;
46463
46463
  r[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (d = cn(buttonVariants({
46464
46464
  variant: "outline"
46465
46465
  }), "size-7 bg-transparent p-0 opacity-50", "data-hovered:opacity-100"), r[0] = d) : d = r[0];
@@ -46506,7 +46506,7 @@ ${c}
46506
46506
  ]
46507
46507
  }), r[7] = e, r[8] = f, r[9] = v, r[10] = y) : y = r[10], y;
46508
46508
  }, CalendarGrid = (e) => {
46509
- let r = (0, import_compiler_runtime$58.c)(8), c, d;
46509
+ let r = (0, import_compiler_runtime$59.c)(8), c, d;
46510
46510
  r[0] === e ? (c = r[1], d = r[2]) : ({ className: c, ...d } = e, r[0] = e, r[1] = c, r[2] = d);
46511
46511
  let f;
46512
46512
  r[3] === c ? f = r[4] : (f = cn(" border-separate border-spacing-x-0 border-spacing-y-1 ", c), r[3] = c, r[4] = f);
@@ -46516,14 +46516,14 @@ ${c}
46516
46516
  ...d
46517
46517
  }), r[5] = d, r[6] = f, r[7] = h) : h = r[7], h;
46518
46518
  }, CalendarGridHeader = (e) => {
46519
- let r = (0, import_compiler_runtime$58.c)(4), c;
46519
+ let r = (0, import_compiler_runtime$59.c)(4), c;
46520
46520
  r[0] === e ? c = r[1] : ({ ...c } = e, r[0] = e, r[1] = c);
46521
46521
  let d;
46522
46522
  return r[2] === c ? d = r[3] : (d = (0, import_jsx_runtime.jsx)($dfd62f934fc76fed$export$22e2d15eaa4d2377, {
46523
46523
  ...c
46524
46524
  }), r[2] = c, r[3] = d), d;
46525
46525
  }, CalendarHeaderCell = (e) => {
46526
- let r = (0, import_compiler_runtime$58.c)(8), c, d;
46526
+ let r = (0, import_compiler_runtime$59.c)(8), c, d;
46527
46527
  r[0] === e ? (c = r[1], d = r[2]) : ({ className: c, ...d } = e, r[0] = e, r[1] = c, r[2] = d);
46528
46528
  let f;
46529
46529
  r[3] === c ? f = r[4] : (f = cn("w-9 rounded-md text-[0.8rem] font-normal text-muted-foreground", c), r[3] = c, r[4] = f);
@@ -46533,7 +46533,7 @@ ${c}
46533
46533
  ...d
46534
46534
  }), r[5] = d, r[6] = f, r[7] = h) : h = r[7], h;
46535
46535
  }, CalendarGridBody = (e) => {
46536
- let r = (0, import_compiler_runtime$58.c)(8), c, d;
46536
+ let r = (0, import_compiler_runtime$59.c)(8), c, d;
46537
46537
  r[0] === e ? (c = r[1], d = r[2]) : ({ className: c, ...d } = e, r[0] = e, r[1] = c, r[2] = d);
46538
46538
  let f;
46539
46539
  r[3] === c ? f = r[4] : (f = cn("[&>tr>td]:p-0", c), r[3] = c, r[4] = f);
@@ -46543,7 +46543,7 @@ ${c}
46543
46543
  ...d
46544
46544
  }), r[5] = d, r[6] = f, r[7] = h) : h = r[7], h;
46545
46545
  }, CalendarCell = (e) => {
46546
- let r = (0, import_compiler_runtime$58.c)(11), c, d;
46546
+ let r = (0, import_compiler_runtime$59.c)(11), c, d;
46547
46547
  r[0] === e ? (c = r[1], d = r[2]) : ({ className: c, ...d } = e, r[0] = e, r[1] = c, r[2] = d);
46548
46548
  let f = !!import_react.use($dfd62f934fc76fed$export$5e0fc348c00f87a0), h;
46549
46549
  r[3] === f ? h = r[4] : (h = (e2, r2) => cn(buttonVariants({
@@ -46557,7 +46557,7 @@ ${c}
46557
46557
  ...d
46558
46558
  }), r[8] = d, r[9] = _, r[10] = v) : v = r[10], v;
46559
46559
  }, Calendar$1 = (e) => {
46560
- let r = (0, import_compiler_runtime$58.c)(14), c, d, f;
46560
+ let r = (0, import_compiler_runtime$59.c)(14), c, d, f;
46561
46561
  r[0] === e ? (c = r[1], d = r[2], f = r[3]) : ({ errorMessage: d, className: c, ...f } = e, r[0] = e, r[1] = c, r[2] = d, r[3] = f);
46562
46562
  let h;
46563
46563
  r[4] === c ? h = r[5] : (h = $64fa3d84918910a7$export$c245e6201fed2f75(c, _temp$17), r[4] = c, r[5] = h);
@@ -46591,7 +46591,7 @@ ${c}
46591
46591
  ]
46592
46592
  }), r[10] = f, r[11] = h, r[12] = y, r[13] = S) : S = r[13], S;
46593
46593
  }, RangeCalendar = (e) => {
46594
- let r = (0, import_compiler_runtime$58.c)(14), c, d, f;
46594
+ let r = (0, import_compiler_runtime$59.c)(14), c, d, f;
46595
46595
  r[0] === e ? (c = r[1], d = r[2], f = r[3]) : ({ errorMessage: d, className: c, ...f } = e, r[0] = e, r[1] = c, r[2] = d, r[3] = f);
46596
46596
  let h;
46597
46597
  r[4] === c ? h = r[5] : (h = $64fa3d84918910a7$export$c245e6201fed2f75(c, _temp4$5), r[4] = c, r[5] = h);
@@ -46651,12 +46651,12 @@ ${c}
46651
46651
  date: e
46652
46652
  });
46653
46653
  }
46654
- var import_compiler_runtime$57 = require_compiler_runtime(), labelVariants = cva([
46654
+ var import_compiler_runtime$58 = require_compiler_runtime(), labelVariants = cva([
46655
46655
  "text-sm font-medium leading-none",
46656
46656
  "data-disabled:cursor-not-allowed data-disabled:opacity-70",
46657
46657
  "group-data-invalid:text-destructive"
46658
46658
  ]), Label$1 = (e) => {
46659
- let r = (0, import_compiler_runtime$57.c)(8), c, d;
46659
+ let r = (0, import_compiler_runtime$58.c)(8), c, d;
46660
46660
  r[0] === e ? (c = r[1], d = r[2]) : ({ className: c, ...d } = e, r[0] = e, r[1] = c, r[2] = d);
46661
46661
  let f;
46662
46662
  r[3] === c ? f = r[4] : (f = cn(labelVariants(), c), r[3] = c, r[4] = f);
@@ -46666,7 +46666,7 @@ ${c}
46666
46666
  ...d
46667
46667
  }), r[5] = d, r[6] = f, r[7] = h) : h = r[7], h;
46668
46668
  }, FieldError = (e) => {
46669
- let r = (0, import_compiler_runtime$57.c)(8), c, d;
46669
+ let r = (0, import_compiler_runtime$58.c)(8), c, d;
46670
46670
  r[0] === e ? (c = r[1], d = r[2]) : ({ className: c, ...d } = e, r[0] = e, r[1] = c, r[2] = d);
46671
46671
  let f;
46672
46672
  r[3] === c ? f = r[4] : (f = cn("text-sm font-medium text-destructive", c), r[3] = c, r[4] = f);
@@ -46691,7 +46691,7 @@ ${c}
46691
46691
  variant: "default"
46692
46692
  }
46693
46693
  }), FieldGroup = (e) => {
46694
- let r = (0, import_compiler_runtime$57.c)(12), c, d, f;
46694
+ let r = (0, import_compiler_runtime$58.c)(12), c, d, f;
46695
46695
  r[0] === e ? (c = r[1], d = r[2], f = r[3]) : ({ className: c, variant: f, ...d } = e, r[0] = e, r[1] = c, r[2] = d, r[3] = f);
46696
46696
  let h;
46697
46697
  r[4] === f ? h = r[5] : (h = (e2) => cn(fieldGroupVariants({
@@ -46704,8 +46704,8 @@ ${c}
46704
46704
  className: _,
46705
46705
  ...d
46706
46706
  }), r[9] = d, r[10] = _, r[11] = v) : v = r[11], v;
46707
- }, import_compiler_runtime$56 = require_compiler_runtime(), DateSegment = (e) => {
46708
- let r = (0, import_compiler_runtime$56.c)(8), c, d;
46707
+ }, import_compiler_runtime$57 = require_compiler_runtime(), DateSegment = (e) => {
46708
+ let r = (0, import_compiler_runtime$57.c)(8), c, d;
46709
46709
  r[0] === e ? (c = r[1], d = r[2]) : ({ className: c, ...d } = e, r[0] = e, r[1] = c, r[2] = d);
46710
46710
  let f;
46711
46711
  r[3] === c ? f = r[4] : (f = $64fa3d84918910a7$export$c245e6201fed2f75(c, _temp$16), r[3] = c, r[4] = f);
@@ -46715,7 +46715,7 @@ ${c}
46715
46715
  ...d
46716
46716
  }), r[5] = d, r[6] = f, r[7] = h) : h = r[7], h;
46717
46717
  }, DateInput = (e) => {
46718
- let r = (0, import_compiler_runtime$56.c)(12), c, d, f;
46718
+ let r = (0, import_compiler_runtime$57.c)(12), c, d, f;
46719
46719
  r[0] === e ? (c = r[1], d = r[2], f = r[3]) : ({ className: c, variant: f, ...d } = e, r[0] = e, r[1] = c, r[2] = d, r[3] = f);
46720
46720
  let h;
46721
46721
  r[4] === f ? h = r[5] : (h = (e2) => cn(fieldGroupVariants({
@@ -46738,8 +46738,8 @@ ${c}
46738
46738
  segment: e
46739
46739
  });
46740
46740
  }
46741
- var import_compiler_runtime$55 = require_compiler_runtime(), DatePickerContent = (e) => {
46742
- let r = (0, import_compiler_runtime$55.c)(14), c, d, f;
46741
+ var import_compiler_runtime$56 = require_compiler_runtime(), DatePickerContent = (e) => {
46742
+ let r = (0, import_compiler_runtime$56.c)(14), c, d, f;
46743
46743
  r[0] === e ? (c = r[1], d = r[2], f = r[3]) : ({ className: c, popoverClassName: d, ...f } = e, r[0] = e, r[1] = c, r[2] = d, r[3] = f);
46744
46744
  let h;
46745
46745
  r[4] === d ? h = r[5] : (h = $64fa3d84918910a7$export$c245e6201fed2f75(d, _temp$15), r[4] = d, r[5] = h);
@@ -46756,7 +46756,7 @@ ${c}
46756
46756
  children: v
46757
46757
  }), r[11] = h, r[12] = v, r[13] = y) : y = r[13], y;
46758
46758
  }, DatePicker = (e) => {
46759
- let r = (0, import_compiler_runtime$55.c)(26), c, d, f, h, _;
46759
+ let r = (0, import_compiler_runtime$56.c)(26), c, d, f, h, _;
46760
46760
  r[0] === e ? (c = r[1], d = r[2], f = r[3], h = r[4], _ = r[5]) : ({ label: h, description: d, errorMessage: f, className: c, ..._ } = e, r[0] = e, r[1] = c, r[2] = d, r[3] = f, r[4] = h, r[5] = _);
46761
46761
  let [v, y] = (0, import_react.useState)(false), S;
46762
46762
  r[6] === c ? S = r[7] : (S = $64fa3d84918910a7$export$c245e6201fed2f75(c, _temp2$12), r[6] = c, r[7] = S);
@@ -46838,7 +46838,7 @@ ${c}
46838
46838
  ]
46839
46839
  }), r[19] = v, r[20] = _, r[21] = S, r[22] = E, r[23] = I, r[24] = z, r[25] = Z7) : Z7 = r[25], Z7;
46840
46840
  }, DateRangePicker = (e) => {
46841
- let r = (0, import_compiler_runtime$55.c)(28), c, d, f, h, _;
46841
+ let r = (0, import_compiler_runtime$56.c)(28), c, d, f, h, _;
46842
46842
  r[0] === e ? (c = r[1], d = r[2], f = r[3], h = r[4], _ = r[5]) : ({ label: h, description: d, errorMessage: f, className: c, ..._ } = e, r[0] = e, r[1] = c, r[2] = d, r[3] = f, r[4] = h, r[5] = _);
46843
46843
  let [v, y] = (0, import_react.useState)(false), S;
46844
46844
  r[6] === c ? S = r[7] : (S = $64fa3d84918910a7$export$c245e6201fed2f75(c, _temp5$2), r[6] = c, r[7] = S);
@@ -46958,7 +46958,7 @@ ${c}
46958
46958
  date: e
46959
46959
  });
46960
46960
  }
46961
- var import_compiler_runtime$54 = require_compiler_runtime(), DatePickerPlugin = class {
46961
+ var import_compiler_runtime$55 = require_compiler_runtime(), DatePickerPlugin = class {
46962
46962
  constructor() {
46963
46963
  __publicField(this, "tagName", "marimo-date");
46964
46964
  __publicField(this, "validator", object({
@@ -46980,7 +46980,7 @@ ${c}
46980
46980
  });
46981
46981
  }
46982
46982
  }, DatePickerComponent = (e) => {
46983
- let r = (0, import_compiler_runtime$54.c)(19), c;
46983
+ let r = (0, import_compiler_runtime$55.c)(19), c;
46984
46984
  r[0] === e ? c = r[1] : (c = (r2) => {
46985
46985
  if (!r2) return;
46986
46986
  let c2 = r2.toString();
@@ -47008,7 +47008,7 @@ ${c}
47008
47008
  fullWidth: h,
47009
47009
  children: w
47010
47010
  }), r[15] = e.fullWidth, r[16] = e.label, r[17] = w, r[18] = E) : E = r[18], E;
47011
- }, import_compiler_runtime$53 = require_compiler_runtime(), DateRangePickerPlugin = class {
47011
+ }, import_compiler_runtime$54 = require_compiler_runtime(), DateRangePickerPlugin = class {
47012
47012
  constructor() {
47013
47013
  __publicField(this, "tagName", "marimo-date-range");
47014
47014
  __publicField(this, "validator", object({
@@ -47032,7 +47032,7 @@ ${c}
47032
47032
  });
47033
47033
  }
47034
47034
  }, DateRangePickerComponent = (e) => {
47035
- let r = (0, import_compiler_runtime$53.c)(24), c;
47035
+ let r = (0, import_compiler_runtime$54.c)(24), c;
47036
47036
  r[0] === e ? c = r[1] : (c = (r2) => {
47037
47037
  if (!r2) return;
47038
47038
  let { start: c2, end: d2 } = r2, f2 = [
@@ -47070,7 +47070,7 @@ ${c}
47070
47070
  fullWidth: h,
47071
47071
  children: O
47072
47072
  }), r[20] = e.fullWidth, r[21] = e.label, r[22] = O, r[23] = M) : M = r[23], M;
47073
- }, import_compiler_runtime$52 = require_compiler_runtime(), DateTimePickerPlugin = class {
47073
+ }, import_compiler_runtime$53 = require_compiler_runtime(), DateTimePickerPlugin = class {
47074
47074
  constructor() {
47075
47075
  __publicField(this, "tagName", "marimo-datetime");
47076
47076
  __publicField(this, "validator", object({
@@ -47096,7 +47096,7 @@ ${c}
47096
47096
  });
47097
47097
  }
47098
47098
  }, DateTimePickerComponent = (e) => {
47099
- let r = (0, import_compiler_runtime$52.c)(20), c;
47099
+ let r = (0, import_compiler_runtime$53.c)(20), c;
47100
47100
  r[0] === e ? c = r[1] : (c = (r2) => {
47101
47101
  if (!r2) return;
47102
47102
  let c2 = r2.toString();
@@ -47124,7 +47124,7 @@ ${c}
47124
47124
  fullWidth: v,
47125
47125
  children: O
47126
47126
  }), r[16] = e.fullWidth, r[17] = e.label, r[18] = O, r[19] = M) : M = r[19], M;
47127
- }, import_compiler_runtime$51 = require_compiler_runtime(), DictPlugin = class {
47127
+ }, import_compiler_runtime$52 = require_compiler_runtime(), DictPlugin = class {
47128
47128
  constructor() {
47129
47129
  __publicField(this, "tagName", "marimo-dict");
47130
47130
  __publicField(this, "validator", object({
@@ -47141,7 +47141,7 @@ ${c}
47141
47141
  });
47142
47142
  }
47143
47143
  }, Dict = (e) => {
47144
- let r = (0, import_compiler_runtime$51.c)(4), { elementIds: c, setValue: d, children: f } = e, h, _;
47144
+ let r = (0, import_compiler_runtime$52.c)(4), { elementIds: c, setValue: d, children: f } = e, h, _;
47145
47145
  return r[0] !== c || r[1] !== d ? (h = () => {
47146
47146
  let e2 = (e3) => {
47147
47147
  let r2 = e3.detail.element;
@@ -47163,9 +47163,9 @@ ${c}
47163
47163
  c,
47164
47164
  d
47165
47165
  ], r[0] = c, r[1] = d, r[2] = h, r[3] = _) : (h = r[2], _ = r[3]), (0, import_react.useEffect)(h, _), f;
47166
- }, import_compiler_runtime$50 = require_compiler_runtime(), NONE_KEY = "__none__";
47166
+ }, import_compiler_runtime$51 = require_compiler_runtime(), NONE_KEY = "__none__";
47167
47167
  const SearchableSelect = (e) => {
47168
- let r = (0, import_compiler_runtime$50.c)(25), { options: c, value: d, setValue: f, label: h, allowSelectNone: _, fullWidth: v } = e, y = (0, import_react.useId)(), [S, w] = (0, import_react.useState)(""), E;
47168
+ let r = (0, import_compiler_runtime$51.c)(25), { options: c, value: d, setValue: f, label: h, allowSelectNone: _, fullWidth: v } = e, y = (0, import_react.useId)(), [S, w] = (0, import_react.useState)(""), E;
47169
47169
  bb0: {
47170
47170
  if (!S) {
47171
47171
  E = c;
@@ -47250,7 +47250,7 @@ ${c}
47250
47250
  function _temp2$11(e) {
47251
47251
  return e === NONE_KEY ? "--" : e;
47252
47252
  }
47253
- var import_compiler_runtime$49 = require_compiler_runtime(), DropdownPlugin = class {
47253
+ var import_compiler_runtime$50 = require_compiler_runtime(), DropdownPlugin = class {
47254
47254
  constructor() {
47255
47255
  __publicField(this, "tagName", "marimo-dropdown");
47256
47256
  __publicField(this, "validator", object({
@@ -47280,7 +47280,7 @@ ${c}
47280
47280
  });
47281
47281
  }
47282
47282
  }, EMPTY_VALUE = "--", Dropdown = (e) => {
47283
- let r = (0, import_compiler_runtime$49.c)(24), { label: c, options: d, value: f, setValue: h, allowSelectNone: _, fullWidth: v } = e, y = (0, import_react.useId)(), S = _ ? EMPTY_VALUE : d[0], w = f.length === 0 ? S : f[0], E;
47283
+ let r = (0, import_compiler_runtime$50.c)(24), { label: c, options: d, value: f, setValue: h, allowSelectNone: _, fullWidth: v } = e, y = (0, import_react.useId)(), S = _ ? EMPTY_VALUE : d[0], w = f.length === 0 ? S : f[0], E;
47284
47284
  r[0] === h ? E = r[1] : (E = (e2) => {
47285
47285
  let r2 = e2.target.value;
47286
47286
  h(r2 === EMPTY_VALUE ? [] : [
@@ -47325,7 +47325,7 @@ ${c}
47325
47325
  fullWidth: v,
47326
47326
  children: z
47327
47327
  }), r[19] = v, r[20] = y, r[21] = c, r[22] = z, r[23] = G) : G = r[23], G;
47328
- }, LazyDataExplorerComponent = import_react.lazy(() => import("./ConnectedDataExplorerComponent-DTOsfq2x.js"));
47328
+ }, LazyDataExplorerComponent = import_react.lazy(() => import("./ConnectedDataExplorerComponent-DuD8BVl6.js"));
47329
47329
  const DataExplorerPlugin = createPlugin("marimo-data-explorer").withData(object({
47330
47330
  label: string().nullish(),
47331
47331
  data: string()
@@ -47339,8 +47339,8 @@ ${c}
47339
47339
  values: [],
47340
47340
  too_many_values: false
47341
47341
  }));
47342
- var import_compiler_runtime$48 = require_compiler_runtime(), RadioGroup = import_react.forwardRef((e, r) => {
47343
- let c = (0, import_compiler_runtime$48.c)(9), d, f;
47342
+ var import_compiler_runtime$49 = require_compiler_runtime(), RadioGroup = import_react.forwardRef((e, r) => {
47343
+ let c = (0, import_compiler_runtime$49.c)(9), d, f;
47344
47344
  c[0] === e ? (d = c[1], f = c[2]) : ({ className: d, ...f } = e, c[0] = e, c[1] = d, c[2] = f);
47345
47345
  let h;
47346
47346
  c[3] === d ? h = c[4] : (h = cn("grid gap-2", d), c[3] = d, c[4] = h);
@@ -47353,7 +47353,7 @@ ${c}
47353
47353
  });
47354
47354
  RadioGroup.displayName = Root2$1.displayName;
47355
47355
  var RadioGroupItem = import_react.forwardRef((e, r) => {
47356
- let c = (0, import_compiler_runtime$48.c)(10), d, f;
47356
+ let c = (0, import_compiler_runtime$49.c)(10), d, f;
47357
47357
  if (c[0] !== e) {
47358
47358
  let { className: r2, children: h2, ..._2 } = e;
47359
47359
  d = r2, f = _2, c[0] = e, c[1] = d, c[2] = f;
@@ -47385,8 +47385,8 @@ ${c}
47385
47385
  function isZodTuple(e) {
47386
47386
  return e instanceof zod_default.ZodTuple;
47387
47387
  }
47388
- var import_compiler_runtime$47 = require_compiler_runtime(), Textarea = import_react.forwardRef((e, r) => {
47389
- let c = (0, import_compiler_runtime$47.c)(16), d, f, h;
47388
+ var import_compiler_runtime$48 = require_compiler_runtime(), Textarea = import_react.forwardRef((e, r) => {
47389
+ let c = (0, import_compiler_runtime$48.c)(16), d, f, h;
47390
47390
  c[0] === e ? (d = c[1], f = c[2], h = c[3]) : ({ className: f, bottomAdornment: d, ...h } = e, c[0] = e, c[1] = d, c[2] = f, c[3] = h);
47391
47391
  let _;
47392
47392
  c[4] === f ? _ = c[5] : (_ = cn("shadow-xs-solid hover:shadow-sm-solid disabled:shadow-xs-solid focus-visible:shadow-md-solid", "flex w-full mb-1 rounded-sm border border-input bg-background px-3 py-2 text-sm font-code ring-offset-background placeholder:text-muted-foreground focus-visible:outline-hidden focus-visible:ring-1 focus-visible:ring-ring focus-visible:border-accent disabled:cursor-not-allowed disabled:opacity-50 min-h-6", f), c[4] = f, c[5] = _);
@@ -47415,7 +47415,7 @@ ${c}
47415
47415
  });
47416
47416
  Textarea.displayName = "Textarea";
47417
47417
  const DebouncedTextarea = import_react.forwardRef((e, r) => {
47418
- let c = (0, import_compiler_runtime$47.c)(16), d, f, h;
47418
+ let c = (0, import_compiler_runtime$48.c)(16), d, f, h;
47419
47419
  c[0] === e ? (d = c[1], f = c[2], h = c[3]) : ({ className: d, onValueChange: f, ...h } = e, c[0] = e, c[1] = d, c[2] = f, c[3] = h);
47420
47420
  let _;
47421
47421
  c[4] !== f || c[5] !== h.delay || c[6] !== h.value ? (_ = {
@@ -47436,7 +47436,7 @@ ${c}
47436
47436
  });
47437
47437
  DebouncedTextarea.displayName = "DebouncedTextarea";
47438
47438
  const OnBlurredTextarea = import_react.forwardRef((e, r) => {
47439
- let c = (0, import_compiler_runtime$47.c)(23), d, f, h;
47439
+ let c = (0, import_compiler_runtime$48.c)(23), d, f, h;
47440
47440
  c[0] === e ? (d = c[1], f = c[2], h = c[3]) : ({ className: d, onValueChange: f, ...h } = e, c[0] = e, c[1] = d, c[2] = f, c[3] = h);
47441
47441
  let [_, v] = import_react.useState(h.value), y;
47442
47442
  c[4] !== _ || c[5] !== f || c[6] !== h.value ? (y = {
@@ -47507,9 +47507,9 @@ ${c}
47507
47507
  function doesArrayRequireMinLength(e) {
47508
47508
  return !e.safeParse([]).success;
47509
47509
  }
47510
- var import_compiler_runtime$46 = require_compiler_runtime(), DELIMINATOR = "\n";
47510
+ var import_compiler_runtime$47 = require_compiler_runtime(), DELIMINATOR = "\n";
47511
47511
  const SwitchableMultiSelect = (e) => {
47512
- let r = (0, import_compiler_runtime$46.c)(24), { value: c, options: d, onChange: f, className: h, placeholder: _, textAreaClassName: v, comboBoxClassName: y } = e, [S, w] = (0, import_react.useState)(false), E;
47512
+ let r = (0, import_compiler_runtime$47.c)(24), { value: c, options: d, onChange: f, className: h, placeholder: _, textAreaClassName: v, comboBoxClassName: y } = e, [S, w] = (0, import_react.useState)(false), E;
47513
47513
  r[0] === c ? E = r[1] : (E = ensureStringArray(c), r[0] = c, r[1] = E);
47514
47514
  let O = E, M;
47515
47515
  r[2] !== y || r[3] !== f || r[4] !== d || r[5] !== _ || r[6] !== S || r[7] !== v || r[8] !== O ? (M = () => S ? (0, import_jsx_runtime.jsx)(TextAreaMultiSelect, {
@@ -47558,7 +47558,7 @@ ${c}
47558
47558
  ]
47559
47559
  }), r[20] = z, r[21] = G, r[22] = $7, r[23] = e9) : e9 = r[23], e9;
47560
47560
  }, TextAreaMultiSelect = (e) => {
47561
- let r = (0, import_compiler_runtime$46.c)(11), { className: c, value: d, onChange: f, placeholder: h } = e, _, v;
47561
+ let r = (0, import_compiler_runtime$47.c)(11), { className: c, value: d, onChange: f, placeholder: h } = e, _, v;
47562
47562
  if (r[0] !== d) {
47563
47563
  let e2 = ensureStringArray(d);
47564
47564
  _ = Textarea, v = e2.join(DELIMINATOR), r[0] = d, r[1] = _, r[2] = v;
@@ -47594,9 +47594,9 @@ ${c}
47594
47594
  children: e
47595
47595
  }, e);
47596
47596
  }
47597
- var import_compiler_runtime$45 = require_compiler_runtime();
47597
+ var import_compiler_runtime$46 = require_compiler_runtime();
47598
47598
  const ZodForm = (e) => {
47599
- let r = (0, import_compiler_runtime$45.c)(11), { schema: c, form: d, path: f, renderers: h, children: _ } = e, v = f === void 0 ? "" : f, y;
47599
+ let r = (0, import_compiler_runtime$46.c)(11), { schema: c, form: d, path: f, renderers: h, children: _ } = e, v = f === void 0 ? "" : f, y;
47600
47600
  r[0] === h ? y = r[1] : (y = h === void 0 ? [] : h, r[0] = h, r[1] = y);
47601
47601
  let S = y, w;
47602
47602
  r[2] !== d || r[3] !== v || r[4] !== S || r[5] !== c ? (w = renderZodSchema(c, d, v, S), r[2] = d, r[3] = v, r[4] = S, r[5] = c, r[6] = w) : w = r[6];
@@ -47883,7 +47883,7 @@ ${c}
47883
47883
  });
47884
47884
  }
47885
47885
  var FormArray = (e) => {
47886
- let r = (0, import_compiler_runtime$45.c)(39), { schema: c, form: d, path: f, minLength: h, renderers: _ } = e, v;
47886
+ let r = (0, import_compiler_runtime$46.c)(39), { schema: c, form: d, path: f, minLength: h, renderers: _ } = e, v;
47887
47887
  r[0] === c.description ? v = r[1] : (v = FieldOptions.parse(c.description || ""), r[0] = c.description, r[1] = v);
47888
47888
  let { label: y, description: S } = v, w = d.control, E;
47889
47889
  r[2] !== w || r[3] !== f ? (E = {
@@ -47960,7 +47960,7 @@ ${c}
47960
47960
  ]
47961
47961
  }), r[33] = q, r[34] = Z7, r[35] = Q7, r[36] = $7, r[37] = n9, r[38] = r9) : r9 = r[38], r9;
47962
47962
  }, StringFormField = (e) => {
47963
- let r = (0, import_compiler_runtime$45.c)(21), { schema: c, form: d, path: f } = e, h;
47963
+ let r = (0, import_compiler_runtime$46.c)(21), { schema: c, form: d, path: f } = e, h;
47964
47964
  r[0] === c.description ? h = r[1] : (h = FieldOptions.parse(c.description), r[0] = c.description, r[1] = h);
47965
47965
  let { label: _, description: v, placeholder: y, disabled: S, inputType: w } = h;
47966
47966
  if (w === "textarea") {
@@ -48029,7 +48029,7 @@ ${c}
48029
48029
  render: E
48030
48030
  }), r[17] = d.control, r[18] = f, r[19] = E, r[20] = O) : O = r[20], O;
48031
48031
  }, MultiStringFormField = (e) => {
48032
- let r = (0, import_compiler_runtime$45.c)(10), { schema: c, form: d, path: f } = e, h;
48032
+ let r = (0, import_compiler_runtime$46.c)(10), { schema: c, form: d, path: f } = e, h;
48033
48033
  r[0] === c.description ? h = r[1] : (h = FieldOptions.parse(c.description), r[0] = c.description, r[1] = h);
48034
48034
  let { label: _, description: v, placeholder: y } = h, S;
48035
48035
  r[2] !== v || r[3] !== _ || r[4] !== y ? (S = (e2) => {
@@ -48059,7 +48059,7 @@ ${c}
48059
48059
  render: S
48060
48060
  }), r[6] = d.control, r[7] = f, r[8] = S, r[9] = w) : w = r[9], w;
48061
48061
  }, SelectFormField = (e) => {
48062
- let r = (0, import_compiler_runtime$45.c)(22), { schema: c, form: d, path: f, options: h, textTransform: _ } = e, v;
48062
+ let r = (0, import_compiler_runtime$46.c)(22), { schema: c, form: d, path: f, options: h, textTransform: _ } = e, v;
48063
48063
  r[0] === c.description ? v = r[1] : (v = FieldOptions.parse(c.description), r[0] = c.description, r[1] = v);
48064
48064
  let { label: y, description: S, disabled: w, special: E } = v;
48065
48065
  if (E === "radio_group") {
@@ -48161,7 +48161,7 @@ ${c}
48161
48161
  render: O
48162
48162
  }), r[17] = w, r[18] = d.control, r[19] = f, r[20] = O, r[21] = M) : M = r[21], M;
48163
48163
  }, MultiSelectFormField = (e) => {
48164
- let r = (0, import_compiler_runtime$45.c)(15), { schema: c, form: d, path: f, options: h, itemLabel: _, showSwitchable: v } = e, y;
48164
+ let r = (0, import_compiler_runtime$46.c)(15), { schema: c, form: d, path: f, options: h, itemLabel: _, showSwitchable: v } = e, y;
48165
48165
  r[0] === c.description ? y = r[1] : (y = FieldOptions.parse(c.description), r[0] = c.description, r[1] = y);
48166
48166
  let { label: S, description: w, placeholder: E } = y, O;
48167
48167
  r[2] !== _ || r[3] !== E ? (O = E ?? (_ ? `Select ${_ == null ? void 0 : _.toLowerCase()}` : void 0), r[2] = _, r[3] = E, r[4] = O) : O = r[4];
@@ -48221,9 +48221,9 @@ ${c}
48221
48221
  children: e
48222
48222
  }, e);
48223
48223
  }
48224
- var import_compiler_runtime$44 = require_compiler_runtime();
48224
+ var import_compiler_runtime$45 = require_compiler_runtime();
48225
48225
  const DataTypeIcon = (e) => {
48226
- let r = (0, import_compiler_runtime$44.c)(4), { type: c } = e, d;
48226
+ let r = (0, import_compiler_runtime$45.c)(4), { type: c } = e, d;
48227
48227
  r[0] === c ? d = r[1] : (d = () => c.startsWith("int") || c.startsWith("float") || c.startsWith("uint") || c.startsWith("number") || c.startsWith("complex") ? (0, import_jsx_runtime.jsx)(Binary, {
48228
48228
  size: 14
48229
48229
  }) : c.startsWith("object") || c.startsWith("string") ? (0, import_jsx_runtime.jsx)(CaseSensitive, {
@@ -48241,7 +48241,7 @@ ${c}
48241
48241
  children: f()
48242
48242
  }), r[2] = f, r[3] = h), h;
48243
48243
  };
48244
- var import_compiler_runtime$43 = require_compiler_runtime();
48244
+ var import_compiler_runtime$44 = require_compiler_runtime();
48245
48245
  const columnIdRenderer = () => ({
48246
48246
  isMatch: (e) => {
48247
48247
  let { special: r } = FieldOptions.parse(e.description || "");
@@ -48343,7 +48343,7 @@ ${c}
48343
48343
  }
48344
48344
  });
48345
48345
  var MultiColumnFormField = (e) => {
48346
- let r = (0, import_compiler_runtime$43.c)(11), { schema: c, form: d, path: f, itemLabel: h } = e, _ = import_react.use(ColumnInfoContext), v;
48346
+ let r = (0, import_compiler_runtime$44.c)(11), { schema: c, form: d, path: f, itemLabel: h } = e, _ = import_react.use(ColumnInfoContext), v;
48347
48347
  r[0] === c.description ? v = r[1] : (v = FieldOptions.parse(c.description), r[0] = c.description, r[1] = v);
48348
48348
  let { description: y } = v, S = h ? `Select ${h.toLowerCase()}` : void 0, w;
48349
48349
  r[2] !== _ || r[3] !== y || r[4] !== h || r[5] !== S ? (w = (e2) => {
@@ -48508,7 +48508,7 @@ ${c}
48508
48508
  }
48509
48509
  });
48510
48510
  var StyledFormMessage = (e) => {
48511
- let r = (0, import_compiler_runtime$43.c)(4), { className: c } = e, d;
48511
+ let r = (0, import_compiler_runtime$44.c)(4), { className: c } = e, d;
48512
48512
  r[0] === c ? d = r[1] : (d = cn("text-destructive text-xs w-[16px]", c), r[0] = c, r[1] = d);
48513
48513
  let f;
48514
48514
  return r[2] === d ? f = r[3] : (f = (0, import_jsx_runtime.jsx)(FormMessageTooltip, {
@@ -48531,7 +48531,7 @@ ${c}
48531
48531
  });
48532
48532
  var ColumnFilterForm = (e) => {
48533
48533
  var _a3;
48534
- let r = (0, import_compiler_runtime$43.c)(25), { path: c, form: d, schema: f } = e, h;
48534
+ let r = (0, import_compiler_runtime$44.c)(25), { path: c, form: d, schema: f } = e, h;
48535
48535
  r[0] === f.description ? h = r[1] : (h = FieldOptions.parse(f.description), r[0] = f.description, r[1] = h);
48536
48536
  let { description: _ } = h, v = import_react.use(ColumnInfoContext), y = (_a3 = Objects.entries(f.shape).find(_temp2$8)) == null ? void 0 : _a3[1], S;
48537
48537
  r[2] === c ? S = r[3] : (S = {
@@ -48686,7 +48686,7 @@ ${c}
48686
48686
  for (let [e2, [r2]] of d) f.set(e2, r2);
48687
48687
  return f;
48688
48688
  }
48689
- var import_compiler_runtime$42 = require_compiler_runtime();
48689
+ var import_compiler_runtime$43 = require_compiler_runtime();
48690
48690
  const TransformPanel = ({ initialValue: e, columns: r, onChange: c, onInvalidChange: d, getColumnValues: f, columnTypesPerStep: h, lazy: _, ref: v }) => {
48691
48691
  var _a3;
48692
48692
  let y = useForm({
@@ -48849,7 +48849,7 @@ ${c}
48849
48849
  })
48850
48850
  });
48851
48851
  }, Sidebar = (e) => {
48852
- let r = (0, import_compiler_runtime$42.c)(17), { items: c, selected: d, onAdd: f, onSelect: h, onDelete: _ } = e, v;
48852
+ let r = (0, import_compiler_runtime$43.c)(17), { items: c, selected: d, onAdd: f, onSelect: h, onDelete: _ } = e, v;
48853
48853
  if (r[0] !== c || r[1] !== _ || r[2] !== h || r[3] !== d) {
48854
48854
  let e2;
48855
48855
  r[5] !== _ || r[6] !== h || r[7] !== d ? (e2 = (e3, r2) => (0, import_jsx_runtime.jsxs)("div", {
@@ -48909,7 +48909,7 @@ ${c}
48909
48909
  }), r[14] = y, r[15] = w, r[16] = E) : E = r[16], E;
48910
48910
  };
48911
48911
  var AddTransformDropdown = (e) => {
48912
- let r = (0, import_compiler_runtime$42.c)(12), { onAdd: c, children: d } = e, f;
48912
+ let r = (0, import_compiler_runtime$43.c)(12), { onAdd: c, children: d } = e, f;
48913
48913
  r[0] === d ? f = r[1] : (f = (0, import_jsx_runtime.jsx)(DropdownMenuTrigger, {
48914
48914
  asChild: true,
48915
48915
  children: d
@@ -48983,7 +48983,7 @@ ${c}
48983
48983
  function _temp3$5(e) {
48984
48984
  e.stopPropagation(), window.open("https://github.com/marimo-team/marimo/issues/new?title=New%20dataframe%20transform:&labels=enhancement&template=feature_request.yaml", "_blank");
48985
48985
  }
48986
- var import_compiler_runtime$41 = require_compiler_runtime();
48986
+ var import_compiler_runtime$42 = require_compiler_runtime();
48987
48987
  const DataFramePlugin = createPlugin("marimo-dataframe").withData(object({
48988
48988
  label: string().nullish(),
48989
48989
  pageSize: number().default(5),
@@ -49046,7 +49046,7 @@ ${c}
49046
49046
  transforms: []
49047
49047
  };
49048
49048
  const DataFrameComponent = (0, import_react.memo)((e) => {
49049
- let r = (0, import_compiler_runtime$41.c)(69), { columns: c, pageSize: d, showDownload: f, lazy: h, value: _, setValue: v, get_dataframe: y, get_column_values: S, search: w, download_as: E, host: O } = e, M;
49049
+ let r = (0, import_compiler_runtime$42.c)(69), { columns: c, pageSize: d, showDownload: f, lazy: h, value: _, setValue: v, get_dataframe: y, get_column_values: S, search: w, download_as: E, host: O } = e, M;
49050
49050
  r[0] === y ? M = r[1] : (M = () => y({}), r[0] = y, r[1] = M);
49051
49051
  let I = _ == null ? void 0 : _.transforms, z;
49052
49052
  r[2] === I ? z = r[3] : (z = [
@@ -55358,7 +55358,7 @@ ${c}
55358
55358
  }
55359
55359
  function noop$1() {
55360
55360
  }
55361
- var import_compiler_runtime$40 = require_compiler_runtime(), FileUploadPlugin = class {
55361
+ var import_compiler_runtime$41 = require_compiler_runtime(), FileUploadPlugin = class {
55362
55362
  constructor() {
55363
55363
  __publicField(this, "tagName", "marimo-file");
55364
55364
  __publicField(this, "validator", object({
@@ -55423,7 +55423,7 @@ ${c}
55423
55423
  }), r;
55424
55424
  }
55425
55425
  const FileUpload = (e) => {
55426
- let r = (0, import_compiler_runtime$40.c)(78), c;
55426
+ let r = (0, import_compiler_runtime$41.c)(78), c;
55427
55427
  r[0] === e.filetypes ? c = r[1] : (c = groupFileTypesByMIMEType(e.filetypes), r[0] = e.filetypes, r[1] = c);
55428
55428
  let d = c, { setValue: f, kind: h, multiple: _, value: v, max_size: y } = e, S;
55429
55429
  r[2] === f ? S = r[3] : (S = (e2) => {
@@ -55680,7 +55680,7 @@ ${c}
55680
55680
  children: r
55681
55681
  }, r);
55682
55682
  }
55683
- var import_compiler_runtime$39 = require_compiler_runtime();
55683
+ var import_compiler_runtime$40 = require_compiler_runtime();
55684
55684
  const FormPlugin = createPlugin("marimo-form").withData(object({
55685
55685
  label: string().nullable(),
55686
55686
  elementId: string().transform((e) => e),
@@ -55705,7 +55705,7 @@ ${c}
55705
55705
  ...r
55706
55706
  })
55707
55707
  })), FormWrapper = (e) => {
55708
- let r = (0, import_compiler_runtime$39.c)(46), { children: c, currentValue: d, newValue: f, setValue: h, label: _, bordered: v, loading: y, submitButtonLabel: S, submitButtonTooltip: w, submitButtonDisabled: E, clearOnSubmit: O, showClearButton: M, clearButtonLabel: I, clearButtonTooltip: z, validate: G, shouldValidate: q } = e, Z7 = (0, import_react.useRef)(null), Q7 = f === d, $7 = Q7 ? "secondary" : "action", [e9, t9] = (0, import_react.useState)(null), n9;
55708
+ let r = (0, import_compiler_runtime$40.c)(46), { children: c, currentValue: d, newValue: f, setValue: h, label: _, bordered: v, loading: y, submitButtonLabel: S, submitButtonTooltip: w, submitButtonDisabled: E, clearOnSubmit: O, showClearButton: M, clearButtonLabel: I, clearButtonTooltip: z, validate: G, shouldValidate: q } = e, Z7 = (0, import_react.useRef)(null), Q7 = f === d, $7 = Q7 ? "secondary" : "action", [e9, t9] = (0, import_react.useState)(null), n9;
55709
55709
  r[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (n9 = () => {
55710
55710
  Z7.current && clearInputs(Z7.current);
55711
55711
  }, r[0] = n9) : n9 = r[0];
@@ -55804,7 +55804,7 @@ ${c}
55804
55804
  }), r[43] = _9, r[44] = i9, r[45] = v9) : v9 = r[45], v9;
55805
55805
  };
55806
55806
  var Form = (e) => {
55807
- let r = (0, import_compiler_runtime$39.c)(24), c, d, f, h, _, v;
55807
+ let r = (0, import_compiler_runtime$40.c)(24), c, d, f, h, _, v;
55808
55808
  r[0] === e ? (c = r[1], d = r[2], f = r[3], h = r[4], _ = r[5], v = r[6]) : ({ elementId: f, value: v, setValue: h, children: c, validate: _, ...d } = e, r[0] = e, r[1] = c, r[2] = d, r[3] = f, r[4] = h, r[5] = _, r[6] = v);
55809
55809
  let y;
55810
55810
  r[7] === f ? y = r[8] : (y = UI_ELEMENT_REGISTRY.lookupValue(f), r[7] = f, r[8] = y);
@@ -56009,9 +56009,9 @@ ${c}
56009
56009
  })
56010
56010
  })
56011
56011
  });
56012
- }, import_compiler_runtime$38 = require_compiler_runtime();
56012
+ }, import_compiler_runtime$39 = require_compiler_runtime();
56013
56013
  const AudioRecorder = (e) => {
56014
- let r = (0, import_compiler_runtime$38.c)(12), { onStart: c, onStop: d, status: f, time: h } = e, _;
56014
+ let r = (0, import_compiler_runtime$39.c)(12), { onStart: c, onStop: d, status: f, time: h } = e, _;
56015
56015
  r[0] !== c || r[1] !== f ? (_ = f === "stopped" && (0, import_jsx_runtime.jsx)(Button, {
56016
56016
  "data-testid": "audio-recorder-start",
56017
56017
  variant: "secondary",
@@ -56063,9 +56063,9 @@ ${c}
56063
56063
  ]
56064
56064
  }), r[8] = _, r[9] = v, r[10] = y, r[11] = S) : S = r[11], S;
56065
56065
  };
56066
- var import_compiler_runtime$37 = require_compiler_runtime();
56066
+ var import_compiler_runtime$38 = require_compiler_runtime();
56067
56067
  function useTimer() {
56068
- let e = (0, import_compiler_runtime$37.c)(14), [r, c] = (0, import_react.useState)(0), d = (0, import_react.useRef)(void 0), f;
56068
+ let e = (0, import_compiler_runtime$38.c)(14), [r, c] = (0, import_react.useState)(0), d = (0, import_react.useRef)(void 0), f;
56069
56069
  e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (f = {
56070
56070
  minimumFractionDigits: 1,
56071
56071
  maximumFractionDigits: 1
@@ -56101,9 +56101,9 @@ ${c}
56101
56101
  function _temp$9(e) {
56102
56102
  return e + 0.1;
56103
56103
  }
56104
- var import_compiler_runtime$36 = require_compiler_runtime();
56104
+ var import_compiler_runtime$37 = require_compiler_runtime();
56105
56105
  function useAudioRecorder(e) {
56106
- let r = (0, import_compiler_runtime$36.c)(18), { onDone: c, options: d } = e, [f, h] = (0, import_react.useState)("stopped"), _ = (0, import_react.useRef)(void 0), [v, y] = (0, import_react.useState)(true), [S, w] = (0, import_react.useState)(), E = useTimer(), O;
56106
+ let r = (0, import_compiler_runtime$37.c)(18), { onDone: c, options: d } = e, [f, h] = (0, import_react.useState)("stopped"), _ = (0, import_react.useRef)(void 0), [v, y] = (0, import_react.useState)(true), [S, w] = (0, import_react.useState)(), E = useTimer(), O;
56107
56107
  r[0] !== c || r[1] !== d || r[2] !== E ? (O = () => {
56108
56108
  E.clear(), navigator.mediaDevices.getUserMedia({
56109
56109
  audio: true
@@ -56151,7 +56151,7 @@ ${c}
56151
56151
  function _temp$8(e) {
56152
56152
  return e.stop();
56153
56153
  }
56154
- var import_compiler_runtime$35 = require_compiler_runtime(), MicrophonePlugin = class {
56154
+ var import_compiler_runtime$36 = require_compiler_runtime(), MicrophonePlugin = class {
56155
56155
  constructor() {
56156
56156
  __publicField(this, "tagName", "marimo-microphone");
56157
56157
  __publicField(this, "validator", object({
@@ -56164,7 +56164,7 @@ ${c}
56164
56164
  });
56165
56165
  }
56166
56166
  }, Microphone = (e) => {
56167
- let r = (0, import_compiler_runtime$35.c)(14), { setValue: c, data: d } = e, f;
56167
+ let r = (0, import_compiler_runtime$36.c)(14), { setValue: c, data: d } = e, f;
56168
56168
  r[0] === c ? f = r[1] : (f = {
56169
56169
  onDone: async (e2) => {
56170
56170
  c(await blobToString(e2, "base64"));
@@ -56648,7 +56648,7 @@ ${c}
56648
56648
  d.onload = () => {
56649
56649
  r === __privateGet(this, _o2) && (__privateSet(this, _a2, d), __privateGet(this, _l).call(this));
56650
56650
  }, d.src = e;
56651
- }, _l = new WeakMap(), _u = new WeakMap(), _d2 = new WeakMap(), _f2 = new WeakMap(), _p = new WeakMap(), _m = new WeakMap(), _h = new WeakMap(), _g2 = new WeakMap(), __ = new WeakMap(), _v = new WeakMap(), _y = new WeakMap(), _b2 = new WeakMap(), _x = new WeakMap(), _S = new WeakMap(), _h2), MatplotlibPlugin = class {
56651
+ }, _l = new WeakMap(), _u = new WeakMap(), _d2 = new WeakMap(), _f2 = new WeakMap(), _p = new WeakMap(), _m = new WeakMap(), _h = new WeakMap(), _g2 = new WeakMap(), __ = new WeakMap(), _v = new WeakMap(), _y = new WeakMap(), _b2 = new WeakMap(), _x = new WeakMap(), _S = new WeakMap(), _h2), import_compiler_runtime$35 = require_compiler_runtime(), MatplotlibPlugin = class {
56652
56652
  constructor() {
56653
56653
  __publicField(this, "tagName", "marimo-matplotlib");
56654
56654
  __publicField(this, "validator", object({
@@ -56691,23 +56691,29 @@ ${c}
56691
56691
  });
56692
56692
  }
56693
56693
  }, MatplotlibComponent = (e) => {
56694
- let r = (0, import_react.useRef)(null), c = (0, import_react.useRef)(null);
56695
- return (0, import_react.useEffect)(() => {
56696
- let d = r.current;
56697
- if (!d) return;
56698
- let f = new AbortController();
56699
- return c.current = new MatplotlibRenderer(d, {
56694
+ let r = (0, import_compiler_runtime$35.c)(6), c = (0, import_react.useRef)(null), d = (0, import_react.useRef)(null), f;
56695
+ r[0] === e ? f = r[1] : (f = () => {
56696
+ let r2 = c.current;
56697
+ if (!r2) return;
56698
+ let f2 = new AbortController();
56699
+ return d.current = new MatplotlibRenderer(r2, {
56700
56700
  state: e,
56701
- signal: f.signal
56701
+ signal: f2.signal
56702
56702
  }), () => {
56703
- f.abort(), c.current = null;
56703
+ f2.abort(), d.current = null;
56704
56704
  };
56705
- }, []), (0, import_react.useEffect)(() => {
56705
+ }, r[0] = e, r[1] = f);
56706
+ let h;
56707
+ r[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (h = [], r[2] = h) : h = r[2], (0, import_react.useEffect)(f, h);
56708
+ let _;
56709
+ r[3] === e ? _ = r[4] : (_ = () => {
56706
56710
  var _a3;
56707
- (_a3 = c.current) == null ? void 0 : _a3.update(e);
56708
- }), (0, import_jsx_runtime.jsx)("div", {
56709
- ref: r
56710
- });
56711
+ (_a3 = d.current) == null ? void 0 : _a3.update(e);
56712
+ }, r[3] = e, r[4] = _), (0, import_react.useEffect)(_);
56713
+ let v;
56714
+ return r[5] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (v = (0, import_jsx_runtime.jsx)("div", {
56715
+ ref: c
56716
+ }), r[5] = v) : v = r[5], v;
56711
56717
  }, MplCommWebSocket = class {
56712
56718
  constructor(e) {
56713
56719
  __publicField(this, "readyState", WebSocket.OPEN);
@@ -57403,7 +57409,7 @@ ${c}
57403
57409
  setValue: e.setValue
57404
57410
  });
57405
57411
  }
57406
- }, LazyPlot = (0, import_react.lazy)(() => import("./Plot-WhbJAbBh.js").then((e) => ({
57412
+ }, LazyPlot = (0, import_react.lazy)(() => import("./Plot-BxlSHo0G.js").then((e) => ({
57407
57413
  default: e.Plot
57408
57414
  })));
57409
57415
  const PlotlyComponent = (0, import_react.memo)((e) => {
@@ -65507,7 +65513,7 @@ ${c}
65507
65513
  return Logger.warn("Failed to get version from mount config"), null;
65508
65514
  }
65509
65515
  }
65510
- const marimoVersionAtom = atom(getVersionFromMountConfig() || "0.22.1-dev37"), showCodeInRunModeAtom = atom(true);
65516
+ const marimoVersionAtom = atom(getVersionFromMountConfig() || "0.22.1-dev39"), showCodeInRunModeAtom = atom(true);
65511
65517
  atom(null);
65512
65518
  var VIRTUAL_FILE_REGEX = /\/@file\/([^\s"&'/]+)\.([\dA-Za-z]+)/g, VirtualFileTracker = class e {
65513
65519
  constructor() {