@marimo-team/islands 0.22.4-dev6 → 0.22.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/dist/{ConnectedDataExplorerComponent-DuD8BVl6.js → ConnectedDataExplorerComponent-mLj6D01z.js} +9 -9
  2. package/dist/{any-language-editor-BHH_pQ6M.js → any-language-editor-BIGc8RUt.js} +3 -3
  3. package/dist/assets/__vite-browser-external-C4JkHbyY.js +1 -0
  4. package/dist/assets/{worker-DUYMdbtA.js → worker-D-EdLKct.js} +2 -2
  5. package/dist/{chat-ui-BlEsENC-.js → chat-ui-DfR3sT9K.js} +12 -12
  6. package/dist/{check-CWUkiHmb.js → check-Cex3x9fD.js} +1 -1
  7. package/dist/{copy-B7781WJ3.js → copy-BRF7ryOP.js} +1 -1
  8. package/dist/{dist-D_UjpfOY.js → dist-D56NKWim.js} +12 -11
  9. package/dist/{error-banner-Cjf0RU9I.js → error-banner-DexD-5js.js} +1 -1
  10. package/dist/{esm-4wmsH2lp.js → esm-BGo_Mcdt.js} +3 -3
  11. package/dist/{glide-data-editor-BqnvTmDo.js → glide-data-editor-BmyQCm0U.js} +6 -6
  12. package/dist/{input-CFY9gApZ.js → input-SSWXiS6n.js} +9 -9
  13. package/dist/{label-DbZGAoCH.js → label-CIR53v8V.js} +24 -24
  14. package/dist/main.js +95 -80
  15. package/dist/{mermaid-B2HDLx2g.js → mermaid-B93TKi2g.js} +4 -4
  16. package/dist/{process-output-D1b_hWPJ.js → process-output-BvkX_OeE.js} +2831 -2278
  17. package/dist/{spec-CD7QaCV-.js → spec-ByDEU1T3.js} +3 -3
  18. package/dist/style.css +1 -1
  19. package/dist/{toDate-CUqpEbBS.js → toDate-D1_ZulwM.js} +2 -2
  20. package/dist/{tooltip-BXEpXV3R.js → tooltip-B5EnNyok.js} +2 -2
  21. package/dist/{types-D_ntCXg0.js → types-D4-TD_m0.js} +1 -1
  22. package/dist/{useAsyncData-rN1nzPaS.js → useAsyncData-C9ez7Ilo.js} +1 -1
  23. package/dist/{useDeepCompareMemoize-Ch-7Rk2x.js → useDeepCompareMemoize-BvvMxigY.js} +2 -2
  24. package/dist/{useLifecycle-4fA1pHoh.js → useLifecycle-2Vh-WDv6.js} +2 -2
  25. package/dist/{useTheme-MWfxn4oz.js → useTheme-CxjbgkRc.js} +3 -2
  26. package/dist/{vega-component-CPhNLfZZ.js → vega-component-Bzzut3-P.js} +7 -7
  27. package/dist/{zod-C6UGQ3fz.js → zod-D18k8Z52.js} +14 -12
  28. package/package.json +1 -1
  29. package/src/components/editor/TracebackModalContainer.tsx +22 -0
  30. package/src/components/editor/errors/traceback-modal.tsx +87 -0
  31. package/src/components/editor/output/MarimoErrorOutput.tsx +23 -3
  32. package/src/components/editor/renderers/vertical-layout/vertical-layout.tsx +16 -2
  33. package/src/components/ui/toast.tsx +3 -1
  34. package/src/core/MarimoApp.tsx +2 -0
  35. package/src/core/cells/logs.ts +48 -9
  36. package/src/core/config/__tests__/config-schema.test.ts +2 -0
  37. package/src/core/config/config-schema.ts +1 -0
  38. package/src/core/errors/traceback-atom.ts +9 -0
  39. package/dist/assets/__vite-browser-external-WSlCcXn_.js +0 -1
package/dist/main.js CHANGED
@@ -20,30 +20,30 @@ var __privateWrapper = (obj, member, setter, getter) => ({
20
20
  import { a as __toCommonJS, n as __esmMin, r as __export, s as __toESM, t as __commonJSMin } from "./chunk-BNovOVIE.js";
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
- 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-D1b_hWPJ.js";
23
+ import { n as Copy, r as toast, t as copyToClipboard } from "./copy-BRF7ryOP.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-BvkX_OeE.js";
25
25
  import { __tla as __tla_1 } from "./chunk-5FQGJX7Z-C428iZBW.js";
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-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
- import { t as Check } from "./check-CWUkiHmb.js";
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
- 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";
32
- import { a as millisecondsInMinute, c as asRemoteURL, d as isUrl, f as require_cuid2, g as CircleQuestionMark, h as isWasm, i as millisecondsInHour, m as Deferred, n as constructFrom, o as millisecondsInSecond, r as millisecondsInDay, s as millisecondsInWeek, t as toDate, u as appendQueryParams } from "./toDate-CUqpEbBS.js";
33
- import { a as Plus, i as Trash, n as ErrorBoundary, o as Pencil, r as require_prop_types, t as BulkEdit } from "./types-D_ntCXg0.js";
26
+ import { o as useSize, s as Root$4, u as createLucideIcon } from "./dist-D56NKWim.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-ByDEU1T3.js";
28
+ import { c as Calendar, i as createReducerAndAtoms, n as useOnUnmount, o as ToggleLeft, r as Badge, t as useOnMount } from "./useLifecycle-2Vh-WDv6.js";
29
+ import { t as Check } from "./check-Cex3x9fD.js";
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-CIR53v8V.js";
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-SSWXiS6n.js";
32
+ import { a as millisecondsInMinute, c as asRemoteURL, d as isUrl, f as require_cuid2, g as CircleQuestionMark, h as isWasm, i as millisecondsInHour, m as Deferred, n as constructFrom, o as millisecondsInSecond, r as millisecondsInDay, s as millisecondsInWeek, t as toDate, u as appendQueryParams } from "./toDate-D1_ZulwM.js";
33
+ import { a as Plus, i as Trash, n as ErrorBoundary, o as Pencil, r as require_prop_types, t as BulkEdit } from "./types-D4-TD_m0.js";
34
34
  import { n as clsx_default } from "./clsx-yW_RAw0K.js";
35
35
  import { _ as Functions, c as Objects, g as Logger, h as Events, i as NOT_SET, l as useEventListener, m as useComposedRefs, n as buttonVariants, o as isPlatformMac, p as composeRefs, r as cva, t as Button, u as Slot$1, v as throwNotImplemented, y as cn } from "./button-DNlNlZY_.js";
36
36
  import { t as require_react_dom } from "./react-dom-BSUuJjCR.js";
37
37
  import { t as require_jsx_runtime } from "./jsx-runtime-9hcJiI23.js";
38
- import { $ as StyleNamespace, A as looseObject, B as union, C as any, F as optional, G as parse$3, I as record, J as prettifyError, K as parseAsync, N as number, P as object, Q as isInVscodeExtension, R as string, S as _null, T as boolean, U as ZodError, V as unknown, X as withFullScreenAsRoot, Y as MAX_HEIGHT_OFFSET, Z as withSmartCollisionBoundary, _ as ZodString, a as ZodIssueCode, b as _enum, c as ZodBoolean, ct as useId$12, d as ZodDiscriminatedUnion, dt as useLayoutEffect2, f as ZodEnum, ft as composeEventHandlers$1, g as ZodOptional, gt as dispatchDiscreteCustomEvent, h as ZodObject, ht as Primitive$1, i as string$1, j as nan, k as literal, l as ZodDate, lt as Presence, m as ZodNumber, mt as createContextScope, n as date, nt as __awaiter, o as ZodAny, ot as DismissableLayer, p as ZodLiteral, q as $ZodError, r as number$1, s as ZodArray, st as useCallbackRef, t as zod_default, u as ZodDefault, ut as useControllableState, v as ZodType, w as array, x as _instanceof, y as ZodUnion, z as tuple } from "./zod-C6UGQ3fz.js";
39
- import { a as Content$2, c as Root$6, i as prettyError, n as ErrorBanner, o as Overlay, r as CellNotInitializedError, s as Portal$1, t as Banner } from "./error-banner-Cjf0RU9I.js";
40
- import { a as TooltipRoot, i as TooltipProvider, n as TooltipContent, o as TooltipTrigger, r as TooltipPortal, s as Provider$2, t as Tooltip } from "./tooltip-BXEpXV3R.js";
41
- import { n as minimalSetup, r as _extends$5, t as esm_default, u as CopyClipboardIcon } from "./esm-4wmsH2lp.js";
38
+ import { $ as StyleNamespace, A as looseObject, B as union, C as any, F as optional, G as parse$3, I as record, J as prettifyError, K as parseAsync, N as number, P as object, Q as isInVscodeExtension, R as string, S as _null, T as boolean, U as ZodError, V as unknown, X as withFullScreenAsRoot, Y as MAX_HEIGHT_OFFSET, Z as withSmartCollisionBoundary, _ as ZodString, _t as Primitive$1, a as ZodIssueCode, b as _enum, c as ZodBoolean, d as ZodDiscriminatedUnion, dt as Presence, f as ZodEnum, ft as useControllableState, g as ZodOptional, gt as createContextScope, h as ZodObject, i as string$1, j as nan, k as literal, l as ZodDate, lt as useCallbackRef, m as ZodNumber, mt as composeEventHandlers$1, n as date, nt as __awaiter, o as ZodAny, p as ZodLiteral, pt as useLayoutEffect2, q as $ZodError, r as number$1, s as ZodArray, st as DismissableLayer, t as zod_default, u as ZodDefault, ut as useId$12, v as ZodType, vt as dispatchDiscreteCustomEvent, w as array, x as _instanceof, y as ZodUnion, z as tuple } from "./zod-D18k8Z52.js";
39
+ import { a as Content$2, c as Root$6, i as prettyError, n as ErrorBanner, o as Overlay, r as CellNotInitializedError, s as Portal$1, t as Banner } from "./error-banner-DexD-5js.js";
40
+ import { a as TooltipRoot, i as TooltipProvider, n as TooltipContent, o as TooltipTrigger, r as TooltipPortal, s as Provider$2, t as Tooltip } from "./tooltip-B5EnNyok.js";
41
+ import { n as minimalSetup, r as _extends$5, t as esm_default, u as CopyClipboardIcon } from "./esm-BGo_Mcdt.js";
42
42
  import { a as get_default } from "./hasIn-DnfJcYpY.js";
43
43
  import { n as _baseSet_default } from "./_basePickBy-Sow3pJjS.js";
44
44
  import { n as pick_default, t as range_default } from "./range-fJeId9Ri.js";
45
45
  import { i as debounce_default, r as KnownQueryParams, t as CSSClasses } from "./constants-CvyfaCvs.js";
46
- import { C as dequal, S as getBuildingBlocks, _ as useSetAtom, c as AppConfigSchema, d as useJotaiEffect, g as useAtomValue, h as useAtom, i as autoInstantiateAtom, m as Provider, n as useTheme, o as localeAtom, r as aiEnabledAtom, s as useResolvedMarimoConfig, u as store, v as useStore, w as useEvent_default, x as buildStore, y as atom } from "./useTheme-MWfxn4oz.js";
46
+ import { C as dequal, S as getBuildingBlocks, _ as useSetAtom, c as AppConfigSchema, d as useJotaiEffect, g as useAtomValue, h as useAtom, i as autoInstantiateAtom, m as Provider, n as useTheme, o as localeAtom, r as aiEnabledAtom, s as useResolvedMarimoConfig, u as store, v as useStore, w as useEvent_default, x as buildStore, y as atom } from "./useTheme-CxjbgkRc.js";
47
47
  import { Z as EditorView } from "./dist-CxZvoNao.js";
48
48
  import { t as invariant } from "./invariant-e8eBgdux.js";
49
49
  import { c as uniqueBy, l as clamp, o as arrayShallowEquals, t as Arrays } from "./arrays-beUWo8RF.js";
@@ -56,12 +56,12 @@ import "./dist-Ci0CXEFt.js";
56
56
  import "./dist-DJ9F1eHs.js";
57
57
  import { a as parser, r as python } from "./dist-DAfcmt-d.js";
58
58
  import "./purify.es-hTCfRGdl.js";
59
- import { a as AlertTitle, i as AlertDescription, n as arrow, o as isValid, r as Alert, t as useDeepCompareMemoize } from "./useDeepCompareMemoize-Ch-7Rk2x.js";
59
+ import { a as AlertTitle, i as AlertDescription, n as arrow, o as isValid, r as Alert, t as useDeepCompareMemoize } from "./useDeepCompareMemoize-BvvMxigY.js";
60
60
  import { n as memoize$1, t as isPropValid } from "./emotion-is-prop-valid.esm-CJVjyntJ.js";
61
61
  import { n as formats } from "./vega-loader.browser-DqEcFOPD.js";
62
62
  import { a as getContainerWidth, n as vegaLoadData, o as getVegaFieldTypes, r as createBatchedLoader, s as tooltipHandler, t as parseCsvData } from "./loader-Bd1kgLn7.js";
63
63
  import { t as useIframeCapabilities } from "./useIframeCapabilities-CqhrVue6.js";
64
- import { t as useAsyncData } from "./useAsyncData-rN1nzPaS.js";
64
+ import { t as useAsyncData } from "./useAsyncData-C9ez7Ilo.js";
65
65
  import "./defaultLocale-qS7DaAmi.js";
66
66
  import "./defaultLocale-Bxoo2-30.js";
67
67
  import "./dist-CcMfr7jD.js";
@@ -23776,7 +23776,7 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
23776
23776
  else if (c.some(_temp5$6)) _ = "SQL error";
23777
23777
  else {
23778
23778
  let e2;
23779
- r[0] === c ? e2 = r[1] : (e2 = c.find(_temp6$5), r[0] = c, r[1] = e2);
23779
+ r[0] === c ? e2 = r[1] : (e2 = c.find(_temp6$6), r[0] = c, r[1] = e2);
23780
23780
  let d2 = e2;
23781
23781
  d2 && "exception_type" in d2 && (_ = d2.exception_type);
23782
23782
  }
@@ -24151,7 +24151,7 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
24151
24151
  function _temp5$6(e) {
24152
24152
  return e.type === "sql-error";
24153
24153
  }
24154
- function _temp6$5(e) {
24154
+ function _temp6$6(e) {
24155
24155
  return e.type === "exception";
24156
24156
  }
24157
24157
  function _temp7$2(e) {
@@ -24346,7 +24346,12 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
24346
24346
  className: "text-muted-foreground",
24347
24347
  children: processTextForUrls(e.msg, `exception-${r}`)
24348
24348
  }),
24349
- (0, import_jsx_runtime.jsx)("div", {
24349
+ "traceback" in e && e.traceback ? (0, import_jsx_runtime.jsx)("div", {
24350
+ className: "font-code text-sm mt-2 p-3 bg-muted rounded border overflow-auto max-h-[50vh] cursor-text select-text",
24351
+ dangerouslySetInnerHTML: {
24352
+ __html: e.traceback
24353
+ }
24354
+ }) : (0, import_jsx_runtime.jsx)("div", {
24350
24355
  className: "text-muted-foreground mt-2",
24351
24356
  children: "See the console area for a traceback."
24352
24357
  })
@@ -24356,6 +24361,12 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
24356
24361
  processTextForUrls(e.msg, `exception-${r}`),
24357
24362
  (0, import_jsx_runtime.jsx)(CellLinkError, {
24358
24363
  cellId: e.raising_cell
24364
+ }),
24365
+ "traceback" in e && e.traceback && (0, import_jsx_runtime.jsx)("div", {
24366
+ className: "font-code text-sm mt-2 p-3 bg-muted rounded border overflow-auto max-h-[50vh] cursor-text select-text",
24367
+ dangerouslySetInnerHTML: {
24368
+ __html: e.traceback
24369
+ }
24359
24370
  })
24360
24371
  ]
24361
24372
  })
@@ -37076,7 +37087,7 @@ ${E}`,
37076
37087
  };
37077
37088
  }
37078
37089
  };
37079
- var LazyChatbot = import_react.lazy(() => import("./chat-ui-BlEsENC-.js").then((e) => ({
37090
+ var LazyChatbot = import_react.lazy(() => import("./chat-ui-DfR3sT9K.js").then((e) => ({
37080
37091
  default: e.Chatbot
37081
37092
  }))), messageSchema = array(object({
37082
37093
  id: string(),
@@ -37222,7 +37233,7 @@ ${E}`,
37222
37233
  "time",
37223
37234
  "unknown"
37224
37235
  ];
37225
- 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) => {
37236
+ var import_compiler_runtime$85 = require_compiler_runtime(), TooltipProvider$2 = Provider$2, LazyDataEditor = import_react.lazy(() => import("./glide-data-editor-BmyQCm0U.js").then(async (m2) => {
37226
37237
  await m2.__tla;
37227
37238
  return m2;
37228
37239
  }));
@@ -43187,7 +43198,7 @@ ${c}
43187
43198
  render: S
43188
43199
  }), r[5] = c, r[6] = y.control, r[7] = S, r[8] = w) : w = r[8], w;
43189
43200
  }, AggregationSelect = (e) => {
43190
- 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;
43201
+ 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$5, E = _temp7$1, O;
43191
43202
  r[0] !== f || r[1] !== _ ? (O = (e2) => {
43192
43203
  let { value: r2, previousValue: c2, onChange: d2 } = e2;
43193
43204
  r2 === "bin" ? _.setValue(f, true) : c2 === "bin" && _.setValue(f, false), d2(r2);
@@ -43353,7 +43364,7 @@ ${c}
43353
43364
  children: r
43354
43365
  }, e);
43355
43366
  }
43356
- function _temp6$4(e) {
43367
+ function _temp6$5(e) {
43357
43368
  return (0, import_jsx_runtime.jsx)("span", {
43358
43369
  className: "text-xs text-muted-foreground pr-10",
43359
43370
  children: e
@@ -46147,7 +46158,7 @@ ${c}
46147
46158
  }), r[48] = z, r[49] = f, r[50] = O, r[51] = v, r[52] = u9) : u9 = r[52];
46148
46159
  let d9 = u9, f9;
46149
46160
  r[53] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (f9 = () => {
46150
- E(_temp6$3);
46161
+ E(_temp6$4);
46151
46162
  }, r[53] = f9) : f9 = r[53];
46152
46163
  let p9 = o9 == null ? void 0 : o9.totalRows, m9;
46153
46164
  r[54] === p9 ? m9 = r[55] : (m9 = [
@@ -46465,7 +46476,7 @@ ${c}
46465
46476
  function _temp5$4(e) {
46466
46477
  return filterToFilterCondition(e.id, e.value);
46467
46478
  }
46468
- function _temp6$3(e) {
46479
+ function _temp6$4(e) {
46469
46480
  return e.pageIndex === 0 ? e : {
46470
46481
  ...e,
46471
46482
  pageIndex: 0
@@ -46632,7 +46643,7 @@ ${c}
46632
46643
  children: _temp5$3
46633
46644
  }),
46634
46645
  (0, import_jsx_runtime.jsx)(CalendarGridBody, {
46635
- children: _temp6$2
46646
+ children: _temp6$3
46636
46647
  })
46637
46648
  ]
46638
46649
  }), r[7] = v) : v = r[7];
@@ -46674,7 +46685,7 @@ ${c}
46674
46685
  children: e
46675
46686
  });
46676
46687
  }
46677
- function _temp6$2(e) {
46688
+ function _temp6$3(e) {
46678
46689
  return (0, import_jsx_runtime.jsx)(CalendarCell, {
46679
46690
  date: e
46680
46691
  });
@@ -46932,7 +46943,7 @@ ${c}
46932
46943
  (0, import_jsx_runtime.jsxs)(CalendarGrid, {
46933
46944
  children: [
46934
46945
  (0, import_jsx_runtime.jsx)(CalendarGridHeader, {
46935
- children: _temp6$1
46946
+ children: _temp6$2
46936
46947
  }),
46937
46948
  (0, import_jsx_runtime.jsx)(CalendarGridBody, {
46938
46949
  children: _temp7
@@ -46976,7 +46987,7 @@ ${c}
46976
46987
  function _temp5$2(e) {
46977
46988
  return cn("group flex flex-col gap-2", e);
46978
46989
  }
46979
- function _temp6$1(e) {
46990
+ function _temp6$2(e) {
46980
46991
  return (0, import_jsx_runtime.jsx)(CalendarHeaderCell, {
46981
46992
  children: e
46982
46993
  });
@@ -47353,7 +47364,7 @@ ${c}
47353
47364
  fullWidth: v,
47354
47365
  children: z
47355
47366
  }), r[19] = v, r[20] = y, r[21] = c, r[22] = z, r[23] = G) : G = r[23], G;
47356
- }, LazyDataExplorerComponent = import_react.lazy(() => import("./ConnectedDataExplorerComponent-DuD8BVl6.js"));
47367
+ }, LazyDataExplorerComponent = import_react.lazy(() => import("./ConnectedDataExplorerComponent-mLj6D01z.js"));
47357
47368
  const DataExplorerPlugin = createPlugin("marimo-data-explorer").withData(object({
47358
47369
  label: string().nullish(),
47359
47370
  data: string()
@@ -55469,7 +55480,7 @@ ${c}
55469
55480
  onDrop: S
55470
55481
  }, r[4] = d, r[5] = y, r[6] = _, r[7] = S, r[8] = w) : w = r[8];
55471
55482
  let { getRootProps: E, getInputProps: O, isFocused: M, isDragAccept: I, isDragReject: z } = useDropzone(w), G;
55472
- r[9] === v ? G = r[10] : (G = v.map(_temp6), r[9] = v, r[10] = G);
55483
+ r[9] === v ? G = r[10] : (G = v.map(_temp6$1), r[9] = v, r[10] = G);
55473
55484
  let q;
55474
55485
  r[11] === G ? q = r[12] : (q = (0, import_jsx_runtime.jsx)("ul", {
55475
55486
  children: G
@@ -55702,7 +55713,7 @@ ${c}
55702
55713
  variant: "danger"
55703
55714
  });
55704
55715
  }
55705
- function _temp6(e) {
55716
+ function _temp6$1(e) {
55706
55717
  let [r] = e;
55707
55718
  return (0, import_jsx_runtime.jsx)("li", {
55708
55719
  children: r
@@ -58562,7 +58573,7 @@ ${c}
58562
58573
  return true;
58563
58574
  }
58564
58575
  }
58565
- var LazyVegaComponent = import_react.lazy(() => import("./vega-component-CPhNLfZZ.js")), VegaPlugin = class {
58576
+ var LazyVegaComponent = import_react.lazy(() => import("./vega-component-Bzzut3-P.js")), VegaPlugin = class {
58566
58577
  constructor() {
58567
58578
  __publicField(this, "tagName", "marimo-vega");
58568
58579
  __publicField(this, "validator", object({
@@ -58885,7 +58896,7 @@ ${c}
58885
58896
  diagram: e.data.diagram
58886
58897
  });
58887
58898
  }
58888
- }, LazyMermaid = (0, import_react.lazy)(() => import("./mermaid-B2HDLx2g.js").then(async (m2) => {
58899
+ }, LazyMermaid = (0, import_react.lazy)(() => import("./mermaid-B93TKi2g.js").then(async (m2) => {
58889
58900
  await m2.__tla;
58890
58901
  return m2;
58891
58902
  })), import_compiler_runtime$18 = require_compiler_runtime();
@@ -65541,7 +65552,7 @@ ${c}
65541
65552
  return Logger.warn("Failed to get version from mount config"), null;
65542
65553
  }
65543
65554
  }
65544
- const marimoVersionAtom = atom(getVersionFromMountConfig() || "0.22.4-dev6"), showCodeInRunModeAtom = atom(true);
65555
+ const marimoVersionAtom = atom(getVersionFromMountConfig() || "0.22.4"), showCodeInRunModeAtom = atom(true);
65545
65556
  atom(null);
65546
65557
  var VIRTUAL_FILE_REGEX = /\/@file\/([^\s"&'/]+)\.([\dA-Za-z]+)/g, VirtualFileTracker = class e {
65547
65558
  constructor() {
@@ -65668,7 +65679,8 @@ ${c}
65668
65679
  interrupted: e2.interrupted,
65669
65680
  staleInputs: e2.staleInputs,
65670
65681
  name: e2.name,
65671
- kiosk: _
65682
+ kiosk: _,
65683
+ showErrorTracebacks: y.runtime.show_tracebacks ?? false
65672
65684
  }, e2.id), r[8] = G, r[9] = _, r[10] = f, r[11] = M, r[12] = y, r[13] = q) : q = r[13];
65673
65685
  let Z7 = q, Q7;
65674
65686
  r[14] !== d.width || r[15] !== c || r[16] !== h || r[17] !== v || r[18] !== Z7 ? (Q7 = () => d.width === "columns" ? (0, import_jsx_runtime.jsx)("div", {
@@ -65848,37 +65860,37 @@ ${c}
65848
65860
  })
65849
65861
  }), r[24] = O, r[25] = z), z;
65850
65862
  }, VerticalCell = (0, import_react.memo)((e) => {
65851
- let r = (0, import_compiler_runtime$1.c)(55), { output: c, consoleOutputs: d, cellOutputArea: f, cellId: h, status: _, stopped: v, errored: y, config: S, interrupted: w, staleInputs: E, runStartTimestamp: O, code: M, showCode: I, mode: z, name: G, kiosk: q } = e, Z7 = (0, import_react.useRef)(null), Q7;
65852
- r[0] !== w || r[1] !== c || r[2] !== O || r[3] !== E || r[4] !== _ ? (Q7 = outputIsStale({
65863
+ let r = (0, import_compiler_runtime$1.c)(55), { output: c, consoleOutputs: d, cellOutputArea: f, cellId: h, status: _, stopped: v, errored: y, config: S, interrupted: w, staleInputs: E, runStartTimestamp: O, code: M, showCode: I, mode: z, name: G, kiosk: q, showErrorTracebacks: Z7 } = e, Q7 = (0, import_react.useRef)(null), $7;
65864
+ r[0] !== w || r[1] !== c || r[2] !== O || r[3] !== E || r[4] !== _ ? ($7 = outputIsStale({
65853
65865
  status: _,
65854
65866
  output: c,
65855
65867
  interrupted: w,
65856
65868
  runStartTimestamp: O,
65857
65869
  staleInputs: E
65858
- }, false), r[0] = w, r[1] = c, r[2] = O, r[3] = E, r[4] = _, r[5] = Q7) : Q7 = r[5];
65859
- let $7 = Q7, e9;
65860
- r[6] === _ ? e9 = r[7] : (e9 = outputIsLoading(_), r[6] = _, r[7] = e9);
65861
- let t9 = e9, r9 = q && z !== "present", i9;
65862
- if (r[8] !== M || r[9] !== y || r[10] !== r9 || r[11] !== I || r[12] !== v) {
65863
- let e2 = new MarkdownLanguageAdapter().isSupported(M), c2 = !I && !r9;
65864
- i9 = cn("marimo-cell", "hover-actions-parent empty:invisible", {
65870
+ }, false), r[0] = w, r[1] = c, r[2] = O, r[3] = E, r[4] = _, r[5] = $7) : $7 = r[5];
65871
+ let e9 = $7, t9;
65872
+ r[6] === _ ? t9 = r[7] : (t9 = outputIsLoading(_), r[6] = _, r[7] = t9);
65873
+ let r9 = t9, i9 = q && z !== "present", a9;
65874
+ if (r[8] !== M || r[9] !== y || r[10] !== i9 || r[11] !== I || r[12] !== v) {
65875
+ let e2 = new MarkdownLanguageAdapter().isSupported(M), c2 = !I && !i9;
65876
+ a9 = cn("marimo-cell", "hover-actions-parent empty:invisible", {
65865
65877
  published: c2,
65866
65878
  "has-error": y,
65867
65879
  stopped: v,
65868
65880
  borderless: e2 && !c2
65869
- }), r[8] = M, r[9] = y, r[10] = r9, r[11] = I, r[12] = v, r[13] = i9;
65870
- } else i9 = r[13];
65871
- let a9 = i9;
65872
- if (z === "read" && I || r9) {
65881
+ }), r[8] = M, r[9] = y, r[10] = i9, r[11] = I, r[12] = v, r[13] = a9;
65882
+ } else a9 = r[13];
65883
+ let o9 = a9;
65884
+ if (z === "read" && I || i9) {
65873
65885
  let e2;
65874
- r[14] !== h || r[15] !== t9 || r[16] !== c || r[17] !== $7 ? (e2 = (0, import_jsx_runtime.jsx)(OutputArea, {
65886
+ r[14] !== h || r[15] !== r9 || r[16] !== c || r[17] !== e9 ? (e2 = (0, import_jsx_runtime.jsx)(OutputArea, {
65875
65887
  allowExpand: true,
65876
65888
  output: c,
65877
65889
  className: CSSClasses.outputArea,
65878
65890
  cellId: h,
65879
- stale: $7,
65880
- loading: t9
65881
- }), r[14] = h, r[15] = t9, r[16] = c, r[17] = $7, r[18] = e2) : e2 = r[18];
65891
+ stale: e9,
65892
+ loading: r9
65893
+ }), r[14] = h, r[15] = r9, r[16] = c, r[17] = e9, r[18] = e2) : e2 = r[18];
65882
65894
  let _2 = e2, v2;
65883
65895
  r[19] !== M || r[20] !== c ? (v2 = shouldHideCode(M, c), r[19] = M, r[20] = c, r[21] = v2) : v2 = r[21];
65884
65896
  let y2 = v2, w2;
@@ -65892,19 +65904,19 @@ ${c}
65892
65904
  })
65893
65905
  }), r[25] = M, r[26] = S, r[27] = y2, r[28] = q, r[29] = O2) : O2 = r[29];
65894
65906
  let I2 = f === "below" && _2, z2;
65895
- r[30] !== h || r[31] !== d || r[32] !== G || r[33] !== $7 ? (z2 = (0, import_jsx_runtime.jsx)(ConsoleOutput, {
65907
+ r[30] !== h || r[31] !== d || r[32] !== G || r[33] !== e9 ? (z2 = (0, import_jsx_runtime.jsx)(ConsoleOutput, {
65896
65908
  consoleOutputs: d,
65897
- stale: $7,
65909
+ stale: e9,
65898
65910
  cellName: G,
65899
65911
  onSubmitDebugger: _temp5,
65900
65912
  cellId: h,
65901
65913
  debuggerActive: false
65902
- }), r[30] = h, r[31] = d, r[32] = G, r[33] = $7, r[34] = z2) : z2 = r[34];
65903
- let Q72;
65904
- return r[35] !== a9 || r[36] !== z2 || r[37] !== w2 || r[38] !== E2 || r[39] !== O2 || r[40] !== I2 ? (Q72 = (0, import_jsx_runtime.jsxs)("div", {
65914
+ }), r[30] = h, r[31] = d, r[32] = G, r[33] = e9, r[34] = z2) : z2 = r[34];
65915
+ let Z72;
65916
+ return r[35] !== o9 || r[36] !== z2 || r[37] !== w2 || r[38] !== E2 || r[39] !== O2 || r[40] !== I2 ? (Z72 = (0, import_jsx_runtime.jsxs)("div", {
65905
65917
  tabIndex: -1,
65906
- ref: Z7,
65907
- className: a9,
65918
+ ref: Q7,
65919
+ className: o9,
65908
65920
  ...w2,
65909
65921
  children: [
65910
65922
  E2,
@@ -65912,29 +65924,29 @@ ${c}
65912
65924
  I2,
65913
65925
  z2
65914
65926
  ]
65915
- }), r[35] = a9, r[36] = z2, r[37] = w2, r[38] = E2, r[39] = O2, r[40] = I2, r[41] = Q72) : Q72 = r[41], Q72;
65927
+ }), r[35] = o9, r[36] = z2, r[37] = w2, r[38] = E2, r[39] = O2, r[40] = I2, r[41] = Z72) : Z72 = r[41], Z72;
65916
65928
  }
65917
- let o9 = isErrorMime(c == null ? void 0 : c.mimetype);
65918
- if (y || w || v || o9) return null;
65919
- let s9;
65920
- r[42] !== h || r[43] !== G ? (s9 = cellDomProps(h, G), r[42] = h, r[43] = G, r[44] = s9) : s9 = r[44];
65921
- let c9 = z === "edit", l9;
65922
- r[45] !== h || r[46] !== t9 || r[47] !== c || r[48] !== $7 || r[49] !== c9 ? (l9 = (0, import_jsx_runtime.jsx)(OutputArea, {
65923
- allowExpand: c9,
65929
+ let s9 = isErrorMime(c == null ? void 0 : c.mimetype), c9 = Z7 && s9 && Array.isArray(c == null ? void 0 : c.data) && c.data.some(_temp6);
65930
+ if ((y || w || v || s9) && !c9) return null;
65931
+ let l9;
65932
+ r[42] !== h || r[43] !== G ? (l9 = cellDomProps(h, G), r[42] = h, r[43] = G, r[44] = l9) : l9 = r[44];
65933
+ let u9 = z === "edit", d9;
65934
+ r[45] !== h || r[46] !== r9 || r[47] !== c || r[48] !== e9 || r[49] !== u9 ? (d9 = (0, import_jsx_runtime.jsx)(OutputArea, {
65935
+ allowExpand: u9,
65924
65936
  output: c,
65925
65937
  className: CSSClasses.outputArea,
65926
65938
  cellId: h,
65927
- stale: $7,
65928
- loading: t9
65929
- }), r[45] = h, r[46] = t9, r[47] = c, r[48] = $7, r[49] = c9, r[50] = l9) : l9 = r[50];
65930
- let u9;
65931
- return r[51] !== a9 || r[52] !== s9 || r[53] !== l9 ? (u9 = (0, import_jsx_runtime.jsx)("div", {
65939
+ stale: e9,
65940
+ loading: r9
65941
+ }), r[45] = h, r[46] = r9, r[47] = c, r[48] = e9, r[49] = u9, r[50] = d9) : d9 = r[50];
65942
+ let f9;
65943
+ return r[51] !== o9 || r[52] !== l9 || r[53] !== d9 ? (f9 = (0, import_jsx_runtime.jsx)("div", {
65932
65944
  tabIndex: -1,
65933
- ref: Z7,
65934
- className: a9,
65935
- ...s9,
65936
- children: l9
65937
- }), r[51] = a9, r[52] = s9, r[53] = l9, r[54] = u9) : u9 = r[54], u9;
65945
+ ref: Q7,
65946
+ className: o9,
65947
+ ...l9,
65948
+ children: d9
65949
+ }), r[51] = o9, r[52] = l9, r[53] = d9, r[54] = f9) : f9 = r[54], f9;
65938
65950
  });
65939
65951
  VerticalCell.displayName = "VerticalCell";
65940
65952
  const VerticalLayoutPlugin = {
@@ -65983,6 +65995,9 @@ ${c}
65983
65995
  function _temp5() {
65984
65996
  return null;
65985
65997
  }
65998
+ function _temp6(e) {
65999
+ return e.type === "exception" && "traceback" in e && e.traceback;
66000
+ }
65986
66001
  const cellRendererPlugins = [
65987
66002
  GridLayoutPlugin,
65988
66003
  SlidesLayoutPlugin,
@@ -66640,7 +66655,7 @@ ${r}
66640
66655
  return c ? parseIslandEditor(c.dataset.initialValue) : "";
66641
66656
  }
66642
66657
  const islandsInitializedAtom = atom(false), userTriedToInteractWithIslandsAtom = atom(false), shouldShowIslandsWarningIndicatorAtom = atom((e) => e(userTriedToInteractWithIslandsAtom) && e(islandsInitializedAtom) === false);
66643
- var worker_default = "/assets/worker-DUYMdbtA.js", IslandsPyodideBridge = class e {
66658
+ var worker_default = "/assets/worker-D-EdLKct.js", IslandsPyodideBridge = class e {
66644
66659
  constructor() {
66645
66660
  __publicField(this, "initialized", new Deferred());
66646
66661
  __publicField(this, "sendComponentValues", async (e2) => (await this.putControlRequest({
@@ -4,12 +4,12 @@ import { t as require_compiler_runtime } from "./compiler-runtime-B_OLMU9S.js";
4
4
  import { g as Logger } from "./button-DNlNlZY_.js";
5
5
  import "./react-dom-BSUuJjCR.js";
6
6
  import { t as require_jsx_runtime } from "./jsx-runtime-9hcJiI23.js";
7
- import "./zod-C6UGQ3fz.js";
8
- import { n as ErrorBanner } from "./error-banner-Cjf0RU9I.js";
7
+ import "./zod-D18k8Z52.js";
8
+ import { n as ErrorBanner } from "./error-banner-DexD-5js.js";
9
9
  import { t as isEmpty_default } from "./isEmpty-B7FX9wKt.js";
10
- import { n as useTheme } from "./useTheme-MWfxn4oz.js";
10
+ import { n as useTheme } from "./useTheme-CxjbgkRc.js";
11
11
  import { t as purify } from "./purify.es-hTCfRGdl.js";
12
- import { t as useAsyncData } from "./useAsyncData-rN1nzPaS.js";
12
+ import { t as useAsyncData } from "./useAsyncData-C9ez7Ilo.js";
13
13
  import { a as decodeEntities, f as isDetailedError, g as utils_default, h as removeDirectives, i as cleanAndMerge, o as encodeEntities } from "./chunk-S3R3BYOJ-B0UOFJwq.js";
14
14
  import { a as setLogLevel, i as log, r as __name, t as select_default } from "./src-DbP20yFZ.js";
15
15
  import { t as package_default } from "./chunk-DR5Q36YT-C40cYcy5.js";