@marimo-team/islands 0.23.7-dev20 → 0.23.7-dev22

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.
@@ -6,7 +6,7 @@ import { _ as Logger, c as Objects, g as cn, h as Events, m as useComposedRefs,
6
6
  import { t as require_react } from "./react-DA-nE2FX.js";
7
7
  import { t as require_compiler_runtime } from "./compiler-runtime-CEbnTgxf.js";
8
8
  import { n as Copy, r as toast, t as copyToClipboard } from "./copy-DLf4aN7I.js";
9
- import { $ as useCellActions, $t as getTracebackInfo, A as ChevronRightIcon, An as Minus, Bn as Braces, C as AccordionContent, En as Trash2, Ft as jotaiJsonStorage, Hn as import_lib, I as base64ToUint8Array, Jt as useRequestClient, Kt as getRequestClient, Lt as PluralWord, M as PinLeftIcon, Mt as useChromeActions, N as PinRightIcon, O as CheckIcon, Pn as FileText, Pt as adaptForLocalStorage, Qt as extractAllTracebackInfo, R as extractBase64FromDataURL, Rn as CircleX, S as Accordion, St as Checkbox, T as AccordionTrigger, Tn as Wrench, V as renderHTML, Vn as esm_default, Y as notebookAtom, Zt as elementContainsMarimoCellFile, _n as atomWithStorage, _t as getCellDomProps, at as AnsiUp, bn as Close$1, c as Popover, cn as SCRATCH_CELL_ID, ct as kioskModeAtom, d as PopoverTrigger, dt as outputIsLoading, et as useCellIds, g as getDatasourceContext, gt as DATA_CELL_ID, hn as jsonToTSV, ht as sanitizeHtml, j as DotFilledIcon, jn as LoaderCircle, kn as NotebookPen, kt as goToCellLine, l as PopoverClose$1, lt as useInstallAllowed, m as useExpandedOutput, mn as jsonToMarkdown, n as MarkdownRenderer, nn as filenameAtom, on as CellOutputId, pn as jsonParseWithSpecialChar, q as getCellEditorView, s as Spinner, sn as HTMLCellId, t as toPng, tt as useCellNames, u as PopoverContent, ut as viewStateAtom, vt as displayCellName, w as AccordionItem, z as isDataURLString, zt as DATA_TYPE_ICON, __tla as __tla_0 } from "./html-to-image-q0T1ijn_.js";
9
+ import { $ as useCellActions, $t as getTracebackInfo, A as ChevronRightIcon, An as Minus, C as AccordionContent, En as Trash2, Ft as jotaiJsonStorage, Hn as esm_default, I as base64ToUint8Array, In as ExternalLink, Jt as useRequestClient, Kt as getRequestClient, Lt as PluralWord, M as PinLeftIcon, Mt as useChromeActions, N as PinRightIcon, O as CheckIcon, Pn as FileText, Pt as adaptForLocalStorage, Qt as extractAllTracebackInfo, R as extractBase64FromDataURL, S as Accordion, St as Checkbox, T as AccordionTrigger, Tn as Wrench, Un as import_lib, V as renderHTML, Vn as Braces, Y as notebookAtom, Zt as elementContainsMarimoCellFile, _n as atomWithStorage, _t as getCellDomProps, at as AnsiUp, bn as Close$1, c as Popover, cn as SCRATCH_CELL_ID, ct as kioskModeAtom, d as PopoverTrigger, dt as outputIsLoading, et as useCellIds, g as getDatasourceContext, gt as DATA_CELL_ID, hn as jsonToTSV, ht as sanitizeHtml, j as DotFilledIcon, jn as LoaderCircle, kn as NotebookPen, kt as goToCellLine, l as PopoverClose$1, lt as useInstallAllowed, m as useExpandedOutput, mn as jsonToMarkdown, n as MarkdownRenderer, nn as filenameAtom, on as CellOutputId, pn as jsonParseWithSpecialChar, q as getCellEditorView, s as Spinner, sn as HTMLCellId, t as toPng, tt as useCellNames, u as PopoverContent, ut as viewStateAtom, vt as displayCellName, w as AccordionItem, z as isDataURLString, zn as CircleX, zt as DATA_TYPE_ICON, __tla as __tla_0 } from "./html-to-image-DxWM1HVj.js";
10
10
  import { o as useSize, u as createLucideIcon } from "./dist-D3ZI9nhS.js";
11
11
  import { i as createReducerAndAtoms, r as Badge } from "./useLifecycle-BF6-z62y.js";
12
12
  import { a as ListFilter, i as Table$1, o as ChartPie, t as $896ba0a80a8f4d36$export$85fd5fdf27bacc79 } from "./useDateFormatter-B_9k85Ex.js";
@@ -45,7 +45,7 @@ let __tla = Promise.all([
45
45
  })()
46
46
  ]).then(async () => {
47
47
  var _a;
48
- let ArrowUpNarrowWide, BrickWall, BugPlay, ChartSpline, Cookie, ExternalLink, FunnelPlus, FunnelX, Keyboard, LayoutTemplate, ListFilterPlus, MessageCircle, Package, PanelRightClose, PanelRightOpen, PanelRight, PinOff, Rows2, Sparkles, SquareArrowOutUpRight, SquareStack, Terminal, TextAlignJustify, TextAlignStart, require_use_sync_external_store_shim_production, require_shim, import_react, import_jsx_runtime, CONTEXT_MENU_NAME, createContextMenuContext, createContextMenuScope, useMenuScope, ContextMenuProvider, useContextMenuContext, ContextMenu$1;
48
+ let ArrowUpNarrowWide, BrickWall, BugPlay, ChartSpline, Cookie, FunnelPlus, FunnelX, Keyboard, LayoutTemplate, ListFilterPlus, MessageCircle, Package, PanelRightClose, PanelRightOpen, PanelRight, PinOff, Rows2, Sparkles, SquareArrowOutUpRight, SquareStack, Terminal, TextAlignJustify, TextAlignStart, require_use_sync_external_store_shim_production, require_shim, import_react, import_jsx_runtime, CONTEXT_MENU_NAME, createContextMenuContext, createContextMenuScope, useMenuScope, ContextMenuProvider, useContextMenuContext, ContextMenu$1;
49
49
  ArrowDownWideNarrow = createLucideIcon("arrow-down-wide-narrow", [
50
50
  [
51
51
  "path",
@@ -506,29 +506,6 @@ let __tla = Promise.all([
506
506
  }
507
507
  ]
508
508
  ]);
509
- ExternalLink = createLucideIcon("external-link", [
510
- [
511
- "path",
512
- {
513
- d: "M15 3h6v6",
514
- key: "1q9fwt"
515
- }
516
- ],
517
- [
518
- "path",
519
- {
520
- d: "M10 14 21 3",
521
- key: "gplh6r"
522
- }
523
- ],
524
- [
525
- "path",
526
- {
527
- d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",
528
- key: "a6xqqp"
529
- }
530
- ]
531
- ]);
532
509
  EyeOff = createLucideIcon("eye-off", [
533
510
  [
534
511
  "path",
@@ -20413,131 +20390,131 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
20413
20390
  defaultProp: c,
20414
20391
  onChange: NN
20415
20392
  }, t[29] = c, t[30] = NN, t[31] = q, t[32] = PN) : PN = t[32];
20416
- let [IN, LN] = useControllableState(PN), RN;
20417
- t[33] === IN ? RN = t[34] : (RN = (e2) => Array.isArray(IN) ? IN.includes(e2) : IN === e2, t[33] = IN, t[34] = RN);
20418
- let zN = RN, BN;
20419
- t[35] !== _ || t[36] !== J || t[37] !== jN || t[38] !== LN || t[39] !== IN ? (BN = (e2) => {
20393
+ let [FN, IN] = useControllableState(PN), LN;
20394
+ t[33] === FN ? LN = t[34] : (LN = (e2) => Array.isArray(FN) ? FN.includes(e2) : FN === e2, t[33] = FN, t[34] = LN);
20395
+ let RN = LN, zN;
20396
+ t[35] !== _ || t[36] !== J || t[37] !== jN || t[38] !== IN || t[39] !== FN ? (zN = (e2) => {
20420
20397
  let t2 = e2;
20421
- if (J) if (Array.isArray(IN)) if (IN.includes(t2)) {
20422
- let n2 = IN.filter((t3) => t3 !== e2);
20398
+ if (J) if (Array.isArray(FN)) if (FN.includes(t2)) {
20399
+ let n2 = FN.filter((t3) => t3 !== e2);
20423
20400
  t2 = n2.length > 0 ? n2 : [];
20424
20401
  } else t2 = [
20425
- ...IN,
20402
+ ...FN,
20426
20403
  t2
20427
20404
  ];
20428
20405
  else t2 = [
20429
20406
  t2
20430
20407
  ];
20431
- else IN === e2 && (t2 = null);
20432
- LN(t2), (_ ?? J) || jN(false);
20433
- }, t[35] = _, t[36] = J, t[37] = jN, t[38] = LN, t[39] = IN, t[40] = BN) : BN = t[40];
20434
- let VN = BN, HN;
20435
- t[41] !== DN || t[42] !== d || t[43] !== J || t[44] !== E || t[45] !== IN ? (HN = () => J && DN && E ? E : IN == null ? E ?? "--" : Array.isArray(IN) ? IN.length === 0 ? E ?? "--" : IN.length === 1 && d !== void 0 ? d(IN[0]) : `${IN.length} selected` : d === void 0 ? E ?? "--" : d(IN), t[41] = DN, t[42] = d, t[43] = J, t[44] = E, t[45] = IN, t[46] = HN) : HN = t[46];
20436
- let UN = HN, WN;
20437
- t[47] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (WN = cn("relative"), t[47] = WN) : WN = t[47];
20408
+ else FN === e2 && (t2 = null);
20409
+ IN(t2), (_ ?? J) || jN(false);
20410
+ }, t[35] = _, t[36] = J, t[37] = jN, t[38] = IN, t[39] = FN, t[40] = zN) : zN = t[40];
20411
+ let BN = zN, VN;
20412
+ t[41] !== DN || t[42] !== d || t[43] !== J || t[44] !== E || t[45] !== FN ? (VN = () => J && DN && E ? E : FN == null ? E ?? "--" : Array.isArray(FN) ? FN.length === 0 ? E ?? "--" : FN.length === 1 && d !== void 0 ? d(FN[0]) : `${FN.length} selected` : d === void 0 ? E ?? "--" : d(FN), t[41] = DN, t[42] = d, t[43] = J, t[44] = E, t[45] = FN, t[46] = VN) : VN = t[46];
20413
+ let HN = VN, UN;
20414
+ t[47] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (UN = cn("relative"), t[47] = UN) : UN = t[47];
20415
+ let WN;
20416
+ t[48] === o ? WN = t[49] : (WN = cn("flex h-6 w-fit mb-1 shadow-xs-solid items-center justify-between rounded-sm border border-input bg-transparent px-2 text-sm font-prose ring-offset-background placeholder:text-muted-foreground hover:shadow-sm-solid focus:outline-hidden focus:ring-1 focus:ring-ring focus:border-primary focus:shadow-md-solid disabled:cursor-not-allowed disabled:opacity-50", o), t[48] = o, t[49] = WN);
20438
20417
  let GN;
20439
- t[48] === o ? GN = t[49] : (GN = cn("flex h-6 w-fit mb-1 shadow-xs-solid items-center justify-between rounded-sm border border-input bg-transparent px-2 text-sm font-prose ring-offset-background placeholder:text-muted-foreground hover:shadow-sm-solid focus:outline-hidden focus:ring-1 focus:ring-ring focus:border-primary focus:shadow-md-solid disabled:cursor-not-allowed disabled:opacity-50", o), t[48] = o, t[49] = GN);
20418
+ t[50] === HN ? GN = t[51] : (GN = HN(), t[50] = HN, t[51] = GN);
20440
20419
  let KN;
20441
- t[50] === UN ? KN = t[51] : (KN = UN(), t[50] = UN, t[51] = KN);
20442
- let qN;
20443
- t[52] === KN ? qN = t[53] : (qN = (0, import_jsx_runtime.jsx)("span", {
20420
+ t[52] === GN ? KN = t[53] : (KN = (0, import_jsx_runtime.jsx)("span", {
20444
20421
  className: "truncate flex-1 min-w-0",
20445
- children: KN
20446
- }), t[52] = KN, t[53] = qN);
20447
- let YN;
20448
- t[54] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (YN = (0, import_jsx_runtime.jsx)(ChevronDown, {
20422
+ children: GN
20423
+ }), t[52] = GN, t[53] = KN);
20424
+ let qN;
20425
+ t[54] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (qN = (0, import_jsx_runtime.jsx)(ChevronDown, {
20449
20426
  className: "ml-3 w-4 h-4 opacity-50 shrink-0"
20450
- }), t[54] = YN) : YN = t[54];
20451
- let XN;
20452
- t[55] !== h || t[56] !== MN || t[57] !== GN || t[58] !== qN ? (XN = (0, import_jsx_runtime.jsx)(PopoverTrigger, {
20427
+ }), t[54] = qN) : qN = t[54];
20428
+ let YN;
20429
+ t[55] !== h || t[56] !== MN || t[57] !== WN || t[58] !== KN ? (YN = (0, import_jsx_runtime.jsx)(PopoverTrigger, {
20453
20430
  asChild: true,
20454
20431
  children: (0, import_jsx_runtime.jsxs)("div", {
20455
20432
  id: h,
20456
- className: GN,
20433
+ className: WN,
20457
20434
  "aria-expanded": MN,
20458
20435
  children: [
20459
- qN,
20460
- YN
20436
+ KN,
20437
+ qN
20461
20438
  ]
20462
20439
  })
20463
- }), t[55] = h, t[56] = MN, t[57] = GN, t[58] = qN, t[59] = XN) : XN = t[59];
20464
- let QN;
20465
- t[60] !== EN || t[61] !== y || t[62] !== A ? (QN = (0, import_jsx_runtime.jsx)(CommandInput, {
20440
+ }), t[55] = h, t[56] = MN, t[57] = WN, t[58] = KN, t[59] = YN) : YN = t[59];
20441
+ let XN;
20442
+ t[60] !== EN || t[61] !== y || t[62] !== A ? (XN = (0, import_jsx_runtime.jsx)(CommandInput, {
20466
20443
  placeholder: EN,
20467
20444
  rootClassName: "px-1 h-8",
20468
20445
  autoFocus: true,
20469
20446
  value: A,
20470
20447
  onValueChange: y
20471
- }), t[60] = EN, t[61] = y, t[62] = A, t[63] = QN) : QN = t[63];
20472
- let $N;
20473
- t[64] === $ ? $N = t[65] : ($N = (0, import_jsx_runtime.jsx)(CommandEmpty, {
20448
+ }), t[60] = EN, t[61] = y, t[62] = A, t[63] = XN) : XN = t[63];
20449
+ let QN;
20450
+ t[64] === $ ? QN = t[65] : (QN = (0, import_jsx_runtime.jsx)(CommandEmpty, {
20474
20451
  children: $
20475
- }), t[64] = $, t[65] = $N);
20452
+ }), t[64] = $, t[65] = QN);
20453
+ let $N;
20454
+ t[66] !== BN || t[67] !== RN ? ($N = {
20455
+ isSelected: RN,
20456
+ onSelect: BN
20457
+ }, t[66] = BN, t[67] = RN, t[68] = $N) : $N = t[68];
20476
20458
  let eP;
20477
- t[66] !== VN || t[67] !== zN ? (eP = {
20478
- isSelected: zN,
20479
- onSelect: VN
20480
- }, t[66] = VN, t[67] = zN, t[68] = eP) : eP = t[68];
20481
- let tP;
20482
- t[69] !== n || t[70] !== eP ? (tP = (0, import_jsx_runtime.jsx)(ComboboxContext, {
20483
- value: eP,
20459
+ t[69] !== n || t[70] !== $N ? (eP = (0, import_jsx_runtime.jsx)(ComboboxContext, {
20460
+ value: $N,
20484
20461
  children: n
20485
- }), t[69] = n, t[70] = eP, t[71] = tP) : tP = t[71];
20486
- let nP;
20487
- t[72] !== $N || t[73] !== tP ? (nP = (0, import_jsx_runtime.jsxs)(CommandList, {
20462
+ }), t[69] = n, t[70] = $N, t[71] = eP) : eP = t[71];
20463
+ let tP;
20464
+ t[72] !== QN || t[73] !== eP ? (tP = (0, import_jsx_runtime.jsxs)(CommandList, {
20488
20465
  className: "max-h-60 py-.5",
20489
20466
  children: [
20490
- $N,
20491
- tP
20467
+ QN,
20468
+ eP
20492
20469
  ]
20493
- }), t[72] = $N, t[73] = tP, t[74] = nP) : nP = t[74];
20494
- let rP;
20495
- t[75] !== f || t[76] !== Q || t[77] !== QN || t[78] !== nP ? (rP = (0, import_jsx_runtime.jsx)(PopoverContent, {
20470
+ }), t[72] = QN, t[73] = eP, t[74] = tP) : tP = t[74];
20471
+ let nP;
20472
+ t[75] !== f || t[76] !== Q || t[77] !== XN || t[78] !== tP ? (nP = (0, import_jsx_runtime.jsx)(PopoverContent, {
20496
20473
  className: "w-full min-w-(--radix-popover-trigger-width) p-0",
20497
20474
  align: "start",
20498
20475
  children: (0, import_jsx_runtime.jsxs)(Command, {
20499
20476
  filter: f,
20500
20477
  shouldFilter: Q,
20501
20478
  children: [
20502
- QN,
20503
- nP
20479
+ XN,
20480
+ tP
20504
20481
  ]
20505
20482
  })
20506
- }), t[75] = f, t[76] = Q, t[77] = QN, t[78] = nP, t[79] = rP) : rP = t[79];
20507
- let iP;
20508
- t[80] !== MN || t[81] !== jN || t[82] !== XN || t[83] !== rP ? (iP = (0, import_jsx_runtime.jsxs)(Popover, {
20483
+ }), t[75] = f, t[76] = Q, t[77] = XN, t[78] = tP, t[79] = nP) : nP = t[79];
20484
+ let rP;
20485
+ t[80] !== MN || t[81] !== jN || t[82] !== YN || t[83] !== nP ? (rP = (0, import_jsx_runtime.jsxs)(Popover, {
20509
20486
  open: MN,
20510
20487
  onOpenChange: jN,
20511
20488
  children: [
20512
- XN,
20513
- rP
20489
+ YN,
20490
+ nP
20514
20491
  ]
20515
- }), t[80] = MN, t[81] = jN, t[82] = XN, t[83] = rP, t[84] = iP) : iP = t[84];
20516
- let aP;
20517
- t[85] !== DN || t[86] !== i || t[87] !== d || t[88] !== VN || t[89] !== J || t[90] !== IN ? (aP = J && DN && (0, import_jsx_runtime.jsx)("div", {
20492
+ }), t[80] = MN, t[81] = jN, t[82] = YN, t[83] = nP, t[84] = rP) : rP = t[84];
20493
+ let iP;
20494
+ t[85] !== DN || t[86] !== i || t[87] !== d || t[88] !== BN || t[89] !== J || t[90] !== FN ? (iP = J && DN && (0, import_jsx_runtime.jsx)("div", {
20518
20495
  className: cn("flex flex-col gap-1 items-start", i),
20519
- children: Array.isArray(IN) && IN.map((e2) => e2 == null ? null : (0, import_jsx_runtime.jsxs)(Badge, {
20496
+ children: Array.isArray(FN) && FN.map((e2) => e2 == null ? null : (0, import_jsx_runtime.jsxs)(Badge, {
20520
20497
  variant: "secondary",
20521
20498
  children: [
20522
20499
  (d == null ? void 0 : d(e2)) ?? String(e2),
20523
20500
  (0, import_jsx_runtime.jsx)(CircleX, {
20524
20501
  onClick: () => {
20525
- VN(e2);
20502
+ BN(e2);
20526
20503
  },
20527
20504
  className: "w-3 h-3 opacity-50 hover:opacity-100 ml-1 cursor-pointer"
20528
20505
  })
20529
20506
  ]
20530
20507
  }, String(e2)))
20531
- }), t[85] = DN, t[86] = i, t[87] = d, t[88] = VN, t[89] = J, t[90] = IN, t[91] = aP) : aP = t[91];
20532
- let oP;
20533
- return t[92] !== O || t[93] !== iP || t[94] !== aP ? (oP = (0, import_jsx_runtime.jsxs)("div", {
20534
- className: WN,
20508
+ }), t[85] = DN, t[86] = i, t[87] = d, t[88] = BN, t[89] = J, t[90] = FN, t[91] = iP) : iP = t[91];
20509
+ let aP;
20510
+ return t[92] !== O || t[93] !== rP || t[94] !== iP ? (aP = (0, import_jsx_runtime.jsxs)("div", {
20511
+ className: UN,
20535
20512
  ...O,
20536
20513
  children: [
20537
- iP,
20538
- aP
20514
+ rP,
20515
+ iP
20539
20516
  ]
20540
- }), t[92] = O, t[93] = iP, t[94] = aP, t[95] = oP) : oP = t[95], oP;
20517
+ }), t[92] = O, t[93] = rP, t[94] = iP, t[95] = aP) : aP = t[95], aP;
20541
20518
  };
20542
20519
  ComboboxItem = import_react.forwardRef((e, t) => {
20543
20520
  let n = (0, import_compiler_runtime$21.c)(17), { children: i, className: o, value: s, onSelect: c, disabled: d } = e, f = typeof s == "object" && "value" in s ? s.value : String(s), h = import_react.use(ComboboxContext), _;
@@ -20613,7 +20590,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
20613
20590
  return t2 === "number" || t2 === "text" || t2 === "boolean" || t2 === "select";
20614
20591
  }), I = (t2) => {
20615
20592
  t2.id === e.columnId && t2.type === c && t2.operator === d && A(h);
20616
- }, z = (e2) => {
20593
+ }, U = (e2) => {
20617
20594
  var _a2, _b;
20618
20595
  if (!e2) return;
20619
20596
  let n2 = ((_b = (_a2 = t.getColumn(e2)) == null ? void 0 : _a2.columnDef.meta) == null ? void 0 : _b.filterType) ?? "text", i2 = w;
@@ -20664,7 +20641,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
20664
20641
  (0, import_jsx_runtime.jsx)(Combobox, {
20665
20642
  id: a,
20666
20643
  value: _,
20667
- onValueChange: z,
20644
+ onValueChange: U,
20668
20645
  multiple: false,
20669
20646
  placeholder: "Select column\u2026",
20670
20647
  displayValue: (e2) => e2,
@@ -24132,76 +24109,76 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
24132
24109
  t[4] !== o || t[5] !== E ? (O = E && E.kind === "cell" && !isWasm() && !isStaticNotebook() && o !== "__scratch__", t[4] = o, t[5] = E, t[6] = O) : O = t[6];
24133
24110
  let A = O, M;
24134
24111
  t[7] !== v || t[8] !== n ? (M = n && v && !isStaticNotebook(), t[7] = v, t[8] = n, t[9] = M) : M = t[9];
24135
- let I = M, U = !isStaticNotebook(), K = (e2) => {
24112
+ let z = M, U = !isStaticNotebook(), K = (e2) => {
24136
24113
  n == null ? void 0 : n({
24137
24114
  prompt: `My code gives the following error:
24138
24115
 
24139
24116
  ${_}`,
24140
24117
  triggerImmediately: e2
24141
24118
  });
24142
- }, [q, J] = _.split(":", 2), Q = d ? KEY : "", $;
24143
- t[10] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? ($ = () => h(_temp$3), t[10] = $) : $ = t[10];
24144
- let DN = d ? "rotate-180" : "rotate-0", ON;
24145
- t[11] === DN ? ON = t[12] : (ON = cn("h-4 w-4 text-muted-foreground transition-transform duration-200 shrink-0", DN), t[11] = DN, t[12] = ON);
24146
- let kN;
24147
- t[13] === ON ? kN = t[14] : (kN = (0, import_jsx_runtime.jsx)(ChevronDown, {
24148
- className: ON
24149
- }), t[13] = ON, t[14] = kN);
24150
- let AN = q || "Error", jN;
24151
- t[15] === AN ? jN = t[16] : (jN = (0, import_jsx_runtime.jsxs)("span", {
24119
+ }, [q, Q] = _.split(":", 2), $ = d ? KEY : "", DN;
24120
+ t[10] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (DN = () => h(_temp$3), t[10] = DN) : DN = t[10];
24121
+ let ON = d ? "rotate-180" : "rotate-0", kN;
24122
+ t[11] === ON ? kN = t[12] : (kN = cn("h-4 w-4 text-muted-foreground transition-transform duration-200 shrink-0", ON), t[11] = ON, t[12] = kN);
24123
+ let AN;
24124
+ t[13] === kN ? AN = t[14] : (AN = (0, import_jsx_runtime.jsx)(ChevronDown, {
24125
+ className: kN
24126
+ }), t[13] = kN, t[14] = AN);
24127
+ let jN = q || "Error", MN;
24128
+ t[15] === jN ? MN = t[16] : (MN = (0, import_jsx_runtime.jsxs)("span", {
24152
24129
  className: "text-destructive",
24153
24130
  children: [
24154
- AN,
24131
+ jN,
24155
24132
  ":"
24156
24133
  ]
24157
- }), t[15] = AN, t[16] = jN);
24158
- let MN;
24159
- t[17] !== J || t[18] !== jN ? (MN = (0, import_jsx_runtime.jsxs)("div", {
24134
+ }), t[15] = jN, t[16] = MN);
24135
+ let PN;
24136
+ t[17] !== Q || t[18] !== MN ? (PN = (0, import_jsx_runtime.jsxs)("div", {
24160
24137
  className: "text-sm inline font-mono",
24161
24138
  children: [
24162
- jN,
24139
+ MN,
24163
24140
  " ",
24164
- J
24141
+ Q
24165
24142
  ]
24166
- }), t[17] = J, t[18] = jN, t[19] = MN) : MN = t[19];
24167
- let PN;
24168
- t[20] !== MN || t[21] !== kN ? (PN = (0, import_jsx_runtime.jsxs)("div", {
24143
+ }), t[17] = Q, t[18] = MN, t[19] = PN) : PN = t[19];
24144
+ let IN;
24145
+ t[20] !== PN || t[21] !== AN ? (IN = (0, import_jsx_runtime.jsxs)("div", {
24169
24146
  className: "flex gap-2 h-10 px-2 hover:bg-muted rounded-sm select-none items-center cursor-pointer transition-all",
24170
- onClick: $,
24147
+ onClick: DN,
24171
24148
  children: [
24172
- kN,
24173
- MN
24149
+ AN,
24150
+ PN
24174
24151
  ]
24175
- }), t[20] = MN, t[21] = kN, t[22] = PN) : PN = t[22];
24176
- let FN;
24177
- t[23] === c ? FN = t[24] : (FN = (0, import_jsx_runtime.jsx)(AccordionContent, {
24152
+ }), t[20] = PN, t[21] = AN, t[22] = IN) : IN = t[22];
24153
+ let LN;
24154
+ t[23] === c ? LN = t[24] : (LN = (0, import_jsx_runtime.jsx)(AccordionContent, {
24178
24155
  className: "text-muted-foreground px-4 pt-2 text-xs overflow-auto",
24179
24156
  children: c
24180
- }), t[23] = c, t[24] = FN);
24181
- let LN;
24182
- t[25] !== PN || t[26] !== FN ? (LN = (0, import_jsx_runtime.jsxs)(AccordionItem, {
24157
+ }), t[23] = c, t[24] = LN);
24158
+ let RN;
24159
+ t[25] !== IN || t[26] !== LN ? (RN = (0, import_jsx_runtime.jsxs)(AccordionItem, {
24183
24160
  value: KEY,
24184
24161
  className: "border-none",
24185
24162
  children: [
24186
- PN,
24187
- FN
24163
+ IN,
24164
+ LN
24188
24165
  ]
24189
- }), t[25] = PN, t[26] = FN, t[27] = LN) : LN = t[27];
24190
- let RN;
24191
- t[28] !== LN || t[29] !== Q ? (RN = (0, import_jsx_runtime.jsx)(Accordion, {
24166
+ }), t[25] = IN, t[26] = LN, t[27] = RN) : RN = t[27];
24167
+ let zN;
24168
+ t[28] !== RN || t[29] !== $ ? (zN = (0, import_jsx_runtime.jsx)(Accordion, {
24192
24169
  type: "single",
24193
24170
  collapsible: true,
24194
- value: Q,
24195
- children: LN
24196
- }), t[28] = LN, t[29] = Q, t[30] = RN) : RN = t[30];
24197
- let zN;
24198
- t[31] !== K || t[32] !== I ? (zN = I && (0, import_jsx_runtime.jsx)(AIFixButton, {
24171
+ value: $,
24172
+ children: RN
24173
+ }), t[28] = RN, t[29] = $, t[30] = zN) : zN = t[30];
24174
+ let VN;
24175
+ t[31] !== K || t[32] !== z ? (VN = z && (0, import_jsx_runtime.jsx)(AIFixButton, {
24199
24176
  tooltip: "Fix with AI",
24200
24177
  openPrompt: () => K(false),
24201
24178
  applyAutofix: () => K(true)
24202
- }), t[31] = K, t[32] = I, t[33] = zN) : zN = t[33];
24203
- let VN;
24204
- t[34] !== A || t[35] !== E ? (VN = A && (0, import_jsx_runtime.jsx)(Tooltip, {
24179
+ }), t[31] = K, t[32] = z, t[33] = VN) : VN = t[33];
24180
+ let HN;
24181
+ t[34] !== A || t[35] !== E ? (HN = A && (0, import_jsx_runtime.jsx)(Tooltip, {
24205
24182
  content: "Attach pdb to the exception point.",
24206
24183
  children: (0, import_jsx_runtime.jsxs)(Button, {
24207
24184
  size: "xs",
@@ -24218,9 +24195,9 @@ ${_}`,
24218
24195
  "Launch debugger"
24219
24196
  ]
24220
24197
  })
24221
- }), t[34] = A, t[35] = E, t[36] = VN) : VN = t[36];
24222
- let HN;
24223
- t[37] !== _ || t[38] !== i ? (HN = U && (0, import_jsx_runtime.jsxs)(DropdownMenu, {
24198
+ }), t[34] = A, t[35] = E, t[36] = HN) : HN = t[36];
24199
+ let UN;
24200
+ t[37] !== _ || t[38] !== i ? (UN = U && (0, import_jsx_runtime.jsxs)(DropdownMenu, {
24224
24201
  children: [
24225
24202
  (0, import_jsx_runtime.jsx)(DropdownMenuTrigger, {
24226
24203
  asChild: true,
@@ -24288,24 +24265,24 @@ ${_}`,
24288
24265
  ]
24289
24266
  })
24290
24267
  ]
24291
- }), t[37] = _, t[38] = i, t[39] = HN) : HN = t[39];
24292
- let UN;
24293
- t[40] !== zN || t[41] !== VN || t[42] !== HN ? (UN = (0, import_jsx_runtime.jsxs)("div", {
24268
+ }), t[37] = _, t[38] = i, t[39] = UN) : UN = t[39];
24269
+ let WN;
24270
+ t[40] !== VN || t[41] !== HN || t[42] !== UN ? (WN = (0, import_jsx_runtime.jsxs)("div", {
24294
24271
  className: "flex gap-2",
24295
24272
  children: [
24296
- zN,
24297
24273
  VN,
24298
- HN
24274
+ HN,
24275
+ UN
24299
24276
  ]
24300
- }), t[40] = zN, t[41] = VN, t[42] = HN, t[43] = UN) : UN = t[43];
24301
- let WN;
24302
- return t[44] !== RN || t[45] !== UN ? (WN = (0, import_jsx_runtime.jsxs)("div", {
24277
+ }), t[40] = VN, t[41] = HN, t[42] = UN, t[43] = WN) : WN = t[43];
24278
+ let GN;
24279
+ return t[44] !== zN || t[45] !== WN ? (GN = (0, import_jsx_runtime.jsxs)("div", {
24303
24280
  className: "flex flex-col gap-2 min-w-full w-fit",
24304
24281
  children: [
24305
- RN,
24306
- UN
24282
+ zN,
24283
+ WN
24307
24284
  ]
24308
- }), t[44] = RN, t[45] = UN, t[46] = WN) : WN = t[46], WN;
24285
+ }), t[44] = zN, t[45] = WN, t[46] = GN) : GN = t[46], GN;
24309
24286
  };
24310
24287
  function lastLine(e) {
24311
24288
  var _a2, _b;
@@ -25691,7 +25668,7 @@ ${_}`,
25691
25668
  return Logger.warn("Failed to get version from mount config"), null;
25692
25669
  }
25693
25670
  }
25694
- marimoVersionAtom = atom(getVersionFromMountConfig() || "0.23.7-dev20");
25671
+ marimoVersionAtom = atom(getVersionFromMountConfig() || "0.23.7-dev22");
25695
25672
  showCodeInRunModeAtom = atom(true);
25696
25673
  atom(null);
25697
25674
  var import_compiler_runtime = require_compiler_runtime();