@marimo-team/islands 0.23.16-dev6 → 0.23.16-dev62
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.
- package/dist/{ConnectedDataExplorerComponent-CJaUI-S-.js → ConnectedDataExplorerComponent-f9vLjQiF.js} +13 -13
- package/dist/{ErrorBoundary-DXlxsrTF.js → ErrorBoundary-DhLqwSWA.js} +3 -3
- package/dist/{any-language-editor-P9tjkj4n.js → any-language-editor-DifE-fl7.js} +5 -5
- package/dist/{button-BcSml68y.js → button-BSm8IXRU.js} +2 -4
- package/dist/{capabilities-BYLFYTYv.js → capabilities-C6OQ5YBO.js} +1 -1
- package/dist/{chat-ui-BdSDiVjk.js → chat-ui-DsZJj75A.js} +3117 -3120
- package/dist/{check-Cs-KV5XY.js → check-DP7U0H0G.js} +1 -1
- package/dist/{code-visibility-CfBftiVM.js → common-Bpnmu1Yz.js} +1085 -1053
- package/dist/{copy-Cs3yt6Vt.js → copy-DNq8q3zw.js} +2 -2
- package/dist/{dist-B96tMAst.js → dist-DIlxLFXG.js} +2 -2
- package/dist/{error-banner-DR7o3CbX.js → error-banner-B_GQfxxD.js} +2 -2
- package/dist/{esm-k8PIvuZW.js → esm-DzZVaNH4.js} +1 -1
- package/dist/{extends-Cq2JYHKy.js → extends-w2_S44bV.js} +4 -4
- package/dist/{formats-BFhkZJwd.js → formats-Dwq1THhr.js} +3 -3
- package/dist/{glide-data-editor--CaN-f27.js → glide-data-editor-B9K6-MJe.js} +9 -9
- package/dist/{html-to-image-DDENewl2.js → html-to-image-CZ1kLKkq.js} +7350 -6356
- package/dist/{input-DStQIuqD.js → input-C5K4VBvB.js} +7 -7
- package/dist/{label-DIk0QoFe.js → label-DjoYwqmj.js} +2 -2
- package/dist/{loader-CTHCI-qe.js → loader-DX-IDS7n.js} +1 -1
- package/dist/main.js +259 -194
- package/dist/{mermaid-CdSvixW2.js → mermaid-hv6IckVw.js} +5 -5
- package/dist/{node-sql-parser-DLl_zNw0.js → node-sql-parser-v1Vi-Fft.js} +16867 -16665
- package/dist/{process-output-2QPcgBQg.js → process-output-bVfbcx5_.js} +32 -28
- package/dist/{reveal-component-BclLkYnV.js → reveal-component-JIt3oSeU.js} +642 -634
- package/dist/{spec-CnaxwDqy.js → spec-CQKL_D3i.js} +4 -4
- package/dist/{strings-BYAhZnQi.js → strings-DIy9NAmg.js} +4 -4
- package/dist/style.css +1 -1
- package/dist/{swiper-component-DE94711u.js → swiper-component-CEdAYjb7.js} +2 -2
- package/dist/toDate-CqhBWjvO.js +713 -0
- package/dist/{tooltip-B-qh7UPB.js → tooltip-f-qR0iUx.js} +3 -3
- package/dist/{types-DQl7jVYK.js → types-DicH9Oi0.js} +1 -1
- package/dist/{useAsyncData-CvO8WUy3.js → useAsyncData-CYOQb1EW.js} +1 -1
- package/dist/{useDateFormatter-BSoGim-G.js → useDateFormatter-Bt2qr_XS.js} +2 -2
- package/dist/{useDeepCompareMemoize-J3MKRdA4.js → useDeepCompareMemoize-CSHQeQEI.js} +1 -1
- package/dist/{useIframeCapabilities-POcFXHbw.js → useIframeCapabilities-kA09ykNq.js} +1 -1
- package/dist/{useLifecycle-DqPxHgAN.js → useLifecycle-CMJGqBaY.js} +3 -3
- package/dist/{useTheme-XMq9mNf_.js → useTheme-DYfby65G.js} +2 -2
- package/dist/{vega-component-CrFoZT1S.js → vega-component-C7nO5zcf.js} +10 -10
- package/dist/{zod-D0yOqoGe.js → zod-BUcyXSdR.js} +1 -1
- package/package.json +3 -4
- package/src/__mocks__/requests.ts +56 -4
- package/src/components/data-table/__tests__/__snapshots__/chart-spec-model.test.ts.snap +174 -21
- package/src/components/data-table/__tests__/chart-spec-model.test.ts +102 -1
- package/src/components/data-table/__tests__/columns.test.tsx +9 -1
- package/src/components/data-table/column-summary/chart-spec-model.tsx +163 -103
- package/src/components/data-table/column-summary/legacy-chart-spec.ts +15 -7
- package/src/components/data-table/column-summary/utils.ts +26 -7
- package/src/components/data-table/columns.tsx +11 -1
- package/src/components/data-table/types.ts +1 -1
- package/src/components/editor/__tests__/viewer-banner.test.tsx +14 -0
- package/src/components/editor/actions/__tests__/pair-with-agent-commands.test.ts +99 -18
- package/src/components/editor/actions/__tests__/pdf-export.test.ts +32 -13
- package/src/components/editor/actions/pair-with-agent-commands.ts +21 -10
- package/src/components/editor/actions/pair-with-agent-modal.tsx +2 -2
- package/src/components/editor/actions/pdf-export.ts +11 -14
- package/src/components/editor/actions/useNotebookActions.tsx +28 -19
- package/src/components/editor/cell/code/__tests__/cell-editor-activity-lifecycle.test.ts +250 -0
- package/src/components/editor/cell/code/cell-editor.tsx +13 -7
- package/src/components/editor/chrome/__tests__/state.test.ts +7 -1
- package/src/components/editor/chrome/panels/__tests__/logs-panel.test.tsx +25 -0
- package/src/components/editor/chrome/panels/__tests__/panel-accordion-state.test.ts +42 -0
- package/src/components/editor/chrome/panels/file-explorer-panel.tsx +6 -17
- package/src/components/editor/chrome/panels/logs-panel.tsx +12 -2
- package/src/components/editor/chrome/panels/panel-accordion-state.ts +51 -0
- package/src/components/editor/chrome/panels/session-panel.tsx +5 -16
- package/src/components/editor/chrome/panels/write-secret-modal.tsx +40 -12
- package/src/components/editor/chrome/state.ts +10 -0
- package/src/components/editor/connections/__tests__/json-credentials.test.ts +114 -0
- package/src/components/editor/connections/__tests__/paths.test.ts +39 -0
- package/src/components/editor/connections/__tests__/quick-add-data-sources.test.tsx +113 -0
- package/src/components/editor/connections/add-connection-dialog.tsx +2 -0
- package/src/components/editor/connections/components.tsx +6 -2
- package/src/components/editor/connections/database/__tests__/__snapshots__/as-code.test.ts.snap +27 -5
- package/src/components/editor/connections/database/__tests__/as-code.test.ts +33 -0
- package/src/components/editor/connections/database/as-code.ts +37 -13
- package/src/components/editor/connections/database/schemas.ts +6 -5
- package/src/components/editor/connections/form-renderers.tsx +99 -1
- package/src/components/editor/connections/json-credentials.ts +57 -0
- package/src/components/editor/connections/paths.ts +21 -0
- package/src/components/editor/connections/quick-add-data-sources.tsx +106 -0
- package/src/components/editor/connections/secret-combobox.tsx +41 -20
- package/src/components/editor/connections/storage/__tests__/__snapshots__/as-code.test.ts.snap +88 -2
- package/src/components/editor/connections/storage/__tests__/as-code.test.ts +128 -8
- package/src/components/editor/connections/storage/as-code.ts +79 -36
- package/src/components/editor/connections/storage/schemas.ts +85 -44
- package/src/components/editor/file-tree/__tests__/renderers.test.ts +31 -0
- package/src/components/editor/file-tree/file-viewer.tsx +11 -7
- package/src/components/editor/file-tree/renderers.tsx +21 -0
- package/src/components/editor/renderers/vertical-layout/vertical-layout.tsx +2 -2
- package/src/components/editor/viewer-banner.tsx +6 -1
- package/src/components/forms/form.tsx +59 -24
- package/src/components/forms/options.ts +2 -1
- package/src/components/slides/__tests__/cell-output-block.test.tsx +40 -0
- package/src/components/slides/__tests__/slide-cell-view.test.tsx +33 -0
- package/src/components/slides/reveal-component.tsx +22 -17
- package/src/components/slides/slide-cell-view.tsx +1 -1
- package/src/components/slides/slides.css +4 -2
- package/src/components/static-html/share-modal.tsx +1 -1
- package/src/components/ui/input.tsx +1 -1
- package/src/core/ai/context/providers/file.ts +8 -29
- package/src/core/cells/__tests__/cells.test.ts +12 -2
- package/src/core/cells/__tests__/logs.test.ts +5 -5
- package/src/core/cells/cells.ts +17 -4
- package/src/core/cells/document-changes.ts +1 -0
- package/src/core/cells/logs.ts +14 -4
- package/src/core/codemirror/cm.ts +3 -0
- package/src/core/codemirror/code-lens/__tests__/actions.test.ts +68 -0
- package/src/core/codemirror/code-lens/__tests__/analyzer.test.ts +224 -0
- package/src/core/codemirror/code-lens/__tests__/entities.test.ts +175 -0
- package/src/core/codemirror/code-lens/__tests__/extension.test.ts +325 -0
- package/src/core/codemirror/code-lens/__tests__/perf.test.ts +121 -0
- package/src/core/codemirror/code-lens/__tests__/popover.test.ts +93 -0
- package/src/core/codemirror/code-lens/actions.ts +33 -0
- package/src/core/codemirror/code-lens/analyzer.ts +284 -0
- package/src/core/codemirror/code-lens/entities.ts +123 -0
- package/src/core/codemirror/code-lens/extension.ts +298 -0
- package/src/core/codemirror/code-lens/icons.ts +36 -0
- package/src/core/codemirror/code-lens/popover.tsx +240 -0
- package/src/core/codemirror/copilot/__tests__/language-server.test.ts +396 -100
- package/src/core/codemirror/copilot/__tests__/transport.test.ts +128 -540
- package/src/core/codemirror/copilot/language-server.ts +182 -70
- package/src/core/codemirror/copilot/transport.ts +15 -207
- package/src/core/codemirror/copilot/types.ts +9 -2
- package/src/core/codemirror/find-replace/__tests__/navigate.test.ts +42 -30
- package/src/core/codemirror/find-replace/navigate.ts +2 -0
- package/src/core/codemirror/go-to-definition/__tests__/commands.test.ts +24 -3
- package/src/core/codemirror/go-to-definition/commands.ts +93 -90
- package/src/core/codemirror/keymaps/__tests__/keymaps.test.ts +31 -2
- package/src/core/codemirror/keymaps/keymaps.ts +12 -0
- package/src/core/codemirror/language/__tests__/sql.test.ts +627 -61
- package/src/core/codemirror/language/languages/python.ts +23 -11
- package/src/core/codemirror/language/languages/sql/completion-store.ts +5 -1
- package/src/core/codemirror/language/languages/sql/renderers.tsx +3 -3
- package/src/core/codemirror/language/languages/sql/sql.ts +251 -16
- package/src/core/codemirror/lsp/__tests__/federated-lsp.test.ts +161 -0
- package/src/core/codemirror/lsp/__tests__/log-messages.test.ts +53 -0
- package/src/core/codemirror/lsp/__tests__/normalize-markdown-math.test.ts +25 -0
- package/src/core/codemirror/lsp/__tests__/notebook-lsp.test.ts +598 -156
- package/src/core/codemirror/lsp/__tests__/transports.test.ts +112 -0
- package/src/core/codemirror/lsp/federated-lsp.ts +76 -23
- package/src/core/codemirror/lsp/log-messages.ts +37 -0
- package/src/core/codemirror/lsp/normalize-markdown-math.ts +8 -4
- package/src/core/codemirror/lsp/notebook-lsp.ts +220 -56
- package/src/core/codemirror/lsp/transports.ts +8 -1
- package/src/core/codemirror/lsp/types.ts +68 -8
- package/src/core/codemirror/lsp/utils.ts +14 -0
- package/src/core/codemirror/python-node-names.ts +90 -0
- package/src/core/codemirror/reactive-references/analyzer.ts +52 -57
- package/src/core/codemirror/utils.ts +28 -0
- package/src/core/config/feature-flag.tsx +3 -1
- package/src/core/datasets/data-source-discovery.ts +5 -0
- package/src/core/datasets/request-registry.ts +11 -0
- package/src/core/edit-app.tsx +1 -2
- package/src/core/export/__tests__/hooks.test.ts +2 -4
- package/src/core/export/hooks.ts +4 -3
- package/src/core/hotkeys/hotkeys.ts +0 -2
- package/src/core/islands/__tests__/bridge.test.ts +107 -0
- package/src/core/islands/bootstrap.ts +1 -0
- package/src/core/islands/bridge.ts +18 -0
- package/src/core/kernel/messages.ts +2 -0
- package/src/core/lsp/__tests__/transport.test.ts +509 -337
- package/src/core/lsp/transport.ts +304 -132
- package/src/core/mode.ts +10 -0
- package/src/core/network/__tests__/api.test.ts +42 -0
- package/src/core/network/__tests__/connection.test.ts +45 -0
- package/src/core/network/__tests__/requests-lazy.test.ts +47 -1
- package/src/core/network/__tests__/requests-network.test.ts +48 -0
- package/src/core/network/api.ts +27 -0
- package/src/core/network/connection.ts +15 -0
- package/src/core/network/requests-lazy.ts +3 -0
- package/src/core/network/requests-network.ts +31 -8
- package/src/core/network/requests-static.ts +3 -0
- package/src/core/network/requests-toasting.tsx +3 -0
- package/src/core/network/types.ts +27 -6
- package/src/core/rtc/state.ts +9 -0
- package/src/core/static/download-html.ts +5 -14
- package/src/core/wasm/__tests__/bridge.test.ts +99 -5
- package/src/core/wasm/bridge.ts +42 -9
- package/src/core/wasm/worker/types.ts +10 -3
- package/src/core/wasm/worker/worker.ts +7 -8
- package/src/core/websocket/useMarimoKernelConnection.tsx +4 -0
- package/src/css/app/codemirror.css +16 -2
- package/src/hooks/__tests__/useDataSourceDiscovery.test.ts +80 -0
- package/src/hooks/useDataSourceDiscovery.ts +18 -0
- package/src/plugins/impl/DataTablePlugin.tsx +4 -1
- package/src/plugins/impl/FormPlugin.tsx +1 -1
- package/src/plugins/impl/__tests__/DataTablePlugin.test.tsx +158 -0
- package/src/plugins/impl/__tests__/FormPlugin.test.tsx +162 -0
- package/src/plugins/impl/anywidget/__tests__/model.test.ts +55 -0
- package/src/plugins/impl/anywidget/model.ts +20 -5
- package/src/plugins/impl/data-frames/forms/__tests__/__snapshots__/form.test.tsx.snap +33 -21
- package/src/plugins/impl/data-frames/forms/renderers.tsx +11 -8
- package/src/stories/log-viewer.stories.tsx +12 -6
- package/src/utils/__tests__/blob.test.ts +27 -1
- package/src/utils/__tests__/download.test.tsx +44 -4
- package/src/utils/blob.ts +24 -1
- package/src/utils/download.ts +14 -15
- package/dist/toDate-B3IRfHhw.js +0 -692
package/dist/main.js
CHANGED
|
@@ -18,34 +18,34 @@ var __privateWrapper = (obj, member, setter, getter) => ({
|
|
|
18
18
|
}
|
|
19
19
|
});
|
|
20
20
|
import { a as __toCommonJS, n as __esmMin, r as __export, s as __toESM, t as __commonJSMin } from "./chunk-BNovOVIE.js";
|
|
21
|
-
import { _ as Functions, c as useEventListener, f as composeRefs, g as Logger, h as cn, i as NOT_SET, l as Slot, m as Events, n as buttonVariants, o as isPlatformMac, p as useComposedRefs, r as cva, t as Button, v as throwNotImplemented } from "./button-
|
|
21
|
+
import { _ as Functions, c as useEventListener, f as composeRefs, g as Logger, h as cn, i as NOT_SET, l as Slot, m as Events, n as buttonVariants, o as isPlatformMac, p as useComposedRefs, r as cva, t as Button, v as throwNotImplemented } from "./button-BSm8IXRU.js";
|
|
22
22
|
import { t as require_react } from "./react-DA-nE2FX.js";
|
|
23
23
|
import { t as require_compiler_runtime } from "./compiler-runtime-CEbnTgxf.js";
|
|
24
|
-
import { n as Copy, r as toast, t as copyToClipboard } from "./copy-
|
|
25
|
-
import { $ as notebookOutline, $t as
|
|
24
|
+
import { n as Copy, r as toast, t as copyToClipboard } from "./copy-DNq8q3zw.js";
|
|
25
|
+
import { $ as notebookOutline, $t as publishedCellClasses, A as ChevronDownIcon, An as Root2$1, At as DeferredRequestRegistry, Bn as Info, C as Accordion, Cn as atomWithReducer, Ct as MarkdownLanguageAdapter, D as BorderAllIcon, E as AccordionTrigger, Et as Paths, Fn as PaintRoller, G as hasRunAnyCellAtom, Gn as Columns2, H as renderHTML, Hn as Eye, Ht as DATA_TYPE_ICON, I as base64ToDataView, Jn as Braces, Jt as convertStatsName, K as cellIdsAtom, Lt as repl, Nn as Trash2, On as Content2, Pn as Table2, Pt as jotaiJsonStorage, Q as notebookAtom, Qt as isUninstantiated, R as dataViewToBase64, Rn as LoaderCircle, Rt as SQLParser, St as isRecord, T as AccordionItem, Tn as selectAtom, Tt as PathBuilder, U as getMarimoExportContext, V as safeExtractSetUIElementMessageBuffers, Vn as FileText, Vt as PluralWords, W as hasTrustedExportContext, Wn as Database, Wt as require_client, X as hasOnlyOneCellAtom, Xt as requestClientAtom, Y as getCellNames, Yt as getRequestClient, Z as initialNotebookState, Zt as useRequestClient, _n as UIElementId, _t as isInternalCellName, a as useCellFocusActions, at as createCell, bn as RANDOM_ID_ATTR, bt as customPythonLanguageSupport, cn as NotebookScopedLocalStorage, dn as parseAttrValue, dt as headingToIdentifier, en as shouldHidePublishedCell, et as numColumnsAtom, f as isOutputEmpty, fn as parseDataset, gt as getValidName, hn as HTMLCellId, i as LazyAnyLanguageCodeMirror, jn as Trigger2, jt as generateUUID, kn as Item$1, lt as outputIsLoading, n as Spinner, nt as useCellActions, o as useLastFocusedCellId, p as useExpandedConsoleOutput, pn as parseInitialValue, q as createActions, qn as CircleAlert, rt as useCellIds, s as maybeAddAltairImport, tt as reducer, ut as outputIsStale, vn as findCellId, vt as normalizeName, w as AccordionContent, wn as atomWithStorage, xn as jsonParseWithSpecialChar, xt as hasFunctionProperty, yn as OBJECT_ID_ATTR, yt as Checkbox, zn as Layers, zt as MarkdownParser, __tla as __tla_0 } from "./html-to-image-CZ1kLKkq.js";
|
|
26
26
|
import { __tla as __tla_1 } from "./chunk-5FQGJX7Z-B9WoXK1R.js";
|
|
27
|
-
import { o as useSize, s as Root$1, u as createLucideIcon } from "./dist-
|
|
28
|
-
import { A as SquareFunction, C as DEFAULT_COLOR_SCHEME, D as SCALE_TYPE_DESCRIPTIONS, E as EMPTY_VALUE$1, O as TIME_UNIT_DESCRIPTIONS, 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 ChartColumn, 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-
|
|
29
|
-
import { $ as
|
|
30
|
-
import { c as Calendar, i as createReducerAndAtoms, n as useOnUnmount, o as ToggleLeft, t as useOnMount } from "./useLifecycle-
|
|
31
|
-
import { t as Check } from "./check-
|
|
32
|
-
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$2, N as usePrevious$2, P as useDirection, R as ChevronDown, S as assertNever, a as SelectGroup, c as SelectSeparator, d as NativeSelect, i as SelectContent, j as Trigger$1, l as SelectTrigger, n as capitalize, o as SelectItem, r as Select, s as SelectLabel, t as Strings, u as SelectValue, w as $a916eb452884faea$export$b7a616150fdb9f44 } from "./strings-
|
|
33
|
-
import { B as $64fa3d84918910a7$export$4d86445c2cf5e3, C as DropdownMenuTrigger, Ft as $65484d02dcb7eb3e$export$457c3d6518dd4c6f, It as $3ef42575df84b30b$export$9d1611c77c2fe928, W as $64fa3d84918910a7$export$df3a06d6289f983e, Wt as $ff5963eb1fccf552$export$e08e3b67e392101e, X as useDebouncedCallback, Y as useDebounceControlledState, a as NumberField, d as roundToFractionDigits, f as DropdownMenu, g as DropdownMenuLabel, gn as ChevronRight, h as DropdownMenuItem, hn as Circle, i as OnBlurredInput, l as prettyNumber, m as DropdownMenuGroup, n as DebouncedNumberInput, o as maxFractionDigitsForSteps, ot as $f7dceffc5ad7768b$export$4e328f61c538687f, p as DropdownMenuContent, pt as $6179b936705e76d3$export$ae780daf29e6d456, r as Input, st as $701a24aa0da5b062$export$ea18c227d4417cc3, t as DebouncedInput, u as prettyScientificNumber, v as DropdownMenuSeparator, xt as $458b0a5536c1a7cf$export$40bfa8c7b0832715, y as DropdownMenuShortcut, z as $64fa3d84918910a7$export$29f1550f4b0d4415 } from "./input-
|
|
34
|
-
import {
|
|
35
|
-
import { a as MarimoIncomingMessageEvent, c as MarimoValueUpdateEvent,
|
|
36
|
-
import { n as Trash, r as Pencil, t as BulkEdit } from "./types-
|
|
37
|
-
import { n as require_prop_types, r as Plus, t as ErrorBoundary } from "./ErrorBoundary-
|
|
27
|
+
import { o as useSize, s as Root$1, u as createLucideIcon } from "./dist-DIlxLFXG.js";
|
|
28
|
+
import { A as SquareFunction, C as DEFAULT_COLOR_SCHEME, D as SCALE_TYPE_DESCRIPTIONS, E as EMPTY_VALUE$1, O as TIME_UNIT_DESCRIPTIONS, 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 ChartColumn, 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-CQKL_D3i.js";
|
|
29
|
+
import { $ as CommandSeparator, $t as Kbd, A as ErrorState, At as getPageIndexForRow, B as ContextMenuTrigger, Bt as dateToLocalISODate, C as downloadHTMLAsImage, Ct as inferFieldTypes, D as ColumnName, Dt as DelayMount, E as downloadSizeLimitAtom, Et as ColumnChartSpecModel, F as getUserColumnVisibilityCounts, Ft as TOO_MANY_ROWS, G as DateRangePicker, Gt as TabsList, H as useSelectList, Ht as dateToLocalISOTime, I as ContextMenu, It as toFieldTypes, J as Command, Jt as ChartInfoState, K as Combobox, Kt as TabsTrigger, L as ContextMenuContent, Lt as getMimeValues, M as prettifyRowColumnCount, Mt as loadTableData, N as prettifyRowCount, Nt as INDEX_COLUMN_NAME, O as ColumnPreviewContainer, Ot as useIntersectionObserver, P as getColumnCountForDisplay, Pt as SELECT_COLUMN_ID, Q as CommandList, Qt as RenderTextWithLinks, R as ContextMenuItem, Rt as isNullishFilter, S as downloadExportedFile, St as generateColumns, T as Filenames, Tt as ColumnChartContext, U as CompactChipRow, Ut as Tabs, V as useInternalStateWithSync, Vt as dateToLocalISODateTime, W as DatePicker, Wt as TabsContent, X as CommandInput, Xt as LazyVegaEmbed, Y as CommandEmpty, Yt as ChartLoadingState, Z as CommandItem, Zt as useOverflowDetection, _ as DataTable, _n as ChevronLeft, _t as TableCell, an as TextWrap, at as contextAwarePanelType, b as downloadBlob, bt as TableRow, c as SLIDE_TYPE_OPTIONS_BY_VALUE, cn as EyeOff, ct as slotsController, d as Switch, dn as Download, en as HtmlOutput, et as smartMatch, f as RadioGroup, fn as Code, g as OutputRenderer, gn as ChevronsDownUp, gt as TableBody, h as OutputArea, hn as ChevronsLeft, ht as Table, i as showCodeInRunModeAtom, in as $fae977aafc393c5c$export$6b862160d295c8e, it as contextAwarePanelOwner, j as LoadingState, jt as loadTableAndRawData, k as EmptyState, kt as usePrevious$1, lt as Toggle, m as JsonOutput, mn as ChevronsRight, mt as Provider$1, n as useNotebookCodeAvailable, nn as safeLocale, nt as PANEL_TYPES, on as GripHorizontal, ot as isCellAwareAtom, p as RadioGroupItem, pn as ChevronsUpDown, pt as Fill, q as ComboboxItem, qt as ChartErrorState, r as marimoVersionAtom, rn as $fae977aafc393c5c$export$588937bcd60ade55, rt as contextAwarePanelOpen, sn as Funnel, st as SlotNames, t as cellDomProps, tn as EmotionCacheProvider, tt as ContextAwarePanelItem, u as Slide, un as Ellipsis, v as InstallPackageButton, vn as ArrowDownWideNarrow, vt as TableHead, w as Progress, wt as renderCellValue, x as downloadByURL, xt as NAMELESS_COLUMN_PREFIX, y as ADD_PRINTING_CLASS, yt as TableHeader, z as ContextMenuSeparator, zt as Maps, __tla as __tla_2 } from "./common-Bpnmu1Yz.js";
|
|
30
|
+
import { c as Calendar, i as createReducerAndAtoms, n as useOnUnmount, o as ToggleLeft, t as useOnMount } from "./useLifecycle-CMJGqBaY.js";
|
|
31
|
+
import { t as Check } from "./check-DP7U0H0G.js";
|
|
32
|
+
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$2, N as usePrevious$2, P as useDirection, R as ChevronDown, S as assertNever, a as SelectGroup, c as SelectSeparator, d as NativeSelect, i as SelectContent, j as Trigger$1, l as SelectTrigger, n as capitalize, o as SelectItem, r as Select, s as SelectLabel, t as Strings, u as SelectValue, w as $a916eb452884faea$export$b7a616150fdb9f44 } from "./strings-DIy9NAmg.js";
|
|
33
|
+
import { B as $64fa3d84918910a7$export$4d86445c2cf5e3, C as DropdownMenuTrigger, Ft as $65484d02dcb7eb3e$export$457c3d6518dd4c6f, It as $3ef42575df84b30b$export$9d1611c77c2fe928, W as $64fa3d84918910a7$export$df3a06d6289f983e, Wt as $ff5963eb1fccf552$export$e08e3b67e392101e, X as useDebouncedCallback, Y as useDebounceControlledState, a as NumberField, d as roundToFractionDigits, f as DropdownMenu, g as DropdownMenuLabel, gn as ChevronRight, h as DropdownMenuItem, hn as Circle, i as OnBlurredInput, l as prettyNumber, m as DropdownMenuGroup, n as DebouncedNumberInput, o as maxFractionDigitsForSteps, ot as $f7dceffc5ad7768b$export$4e328f61c538687f, p as DropdownMenuContent, pt as $6179b936705e76d3$export$ae780daf29e6d456, r as Input, st as $701a24aa0da5b062$export$ea18c227d4417cc3, t as DebouncedInput, u as prettyScientificNumber, v as DropdownMenuSeparator, xt as $458b0a5536c1a7cf$export$40bfa8c7b0832715, y as DropdownMenuShortcut, z as $64fa3d84918910a7$export$29f1550f4b0d4415 } from "./input-C5K4VBvB.js";
|
|
34
|
+
import { S as isWasm, _ as initialModeAtom, b as viewStateAtom, c as asRemoteURL, d as isStaticNotebook, f as appendQueryParams, g as getInitialAppMode, m as require_cuid2, u as getStaticVirtualFiles, v as kioskModeAtom, w as CircleQuestionMark, x as Deferred } from "./toDate-CqhBWjvO.js";
|
|
35
|
+
import { a as MarimoIncomingMessageEvent, c as MarimoValueUpdateEvent, f as Square, i as PythonIcon, l as createInputEvent, n as blobToString, o as MarimoValueInputEvent, p as File, r as filesToBase64, s as MarimoValueReadyEvent, t as processOutput, u as deserializeBlob } from "./process-output-bVfbcx5_.js";
|
|
36
|
+
import { n as Trash, r as Pencil, t as BulkEdit } from "./types-DicH9Oi0.js";
|
|
37
|
+
import { n as require_prop_types, r as Plus, t as ErrorBoundary } from "./ErrorBoundary-DhLqwSWA.js";
|
|
38
38
|
import { t as require_react_dom } from "./react-dom-BTJzcVJ9.js";
|
|
39
39
|
import { t as require_jsx_runtime } from "./jsx-runtime-DebpN0FN.js";
|
|
40
|
-
import { $ as isInVscodeExtension, A as looseObject, B as union, C as any, E as custom, F as optional, G as parse$1, I as record, J as prettifyError, K as parseAsync, N as number, O as lazy$2, P as object, R as string, S as _null, T as boolean, U as ZodError, V as unknown, Z as withFullScreenAsRoot, _ as ZodString, _t as createContextScope, a as ZodIssueCode, b as _enum, c as ZodBoolean, ct as DismissableLayer, d as ZodDiscriminatedUnion, dt as useId$11, et as StyleNamespace, f as ZodEnum, ft as Presence, g as ZodOptional, h as ZodObject, ht as composeEventHandlers$1, i as string$1, j as nan, k as literal, l as ZodDate, m as ZodNumber, mt as useLayoutEffect2, n as date, o as ZodAny, p as ZodLiteral, pt as useControllableState, q as $ZodError, r as number$1, rt as __awaiter, s as ZodArray, t as zod_default, u as ZodDefault, ut as useCallbackRef, v as ZodType, vt as Primitive, w as array, x as _instanceof, y as ZodUnion, yt as dispatchDiscreteCustomEvent, z as tuple } from "./zod-
|
|
41
|
-
import { i as FunctionNotFoundError, n as ErrorBanner, r as CellNotInitializedError, t as Banner } from "./error-banner-
|
|
42
|
-
import { t as Label } from "./label-
|
|
43
|
-
import { a as TooltipRoot, i as TooltipProvider, n as TooltipContent, o as TooltipTrigger, r as TooltipPortal, t as Tooltip } from "./tooltip-
|
|
44
|
-
import { f as CopyClipboardIcon } from "./extends-
|
|
40
|
+
import { $ as isInVscodeExtension, A as looseObject, B as union, C as any, E as custom, F as optional, G as parse$1, I as record, J as prettifyError, K as parseAsync, N as number, O as lazy$2, P as object, R as string, S as _null, T as boolean, U as ZodError, V as unknown, Z as withFullScreenAsRoot, _ as ZodString, _t as createContextScope, a as ZodIssueCode, b as _enum, c as ZodBoolean, ct as DismissableLayer, d as ZodDiscriminatedUnion, dt as useId$11, et as StyleNamespace, f as ZodEnum, ft as Presence, g as ZodOptional, h as ZodObject, ht as composeEventHandlers$1, i as string$1, j as nan, k as literal, l as ZodDate, m as ZodNumber, mt as useLayoutEffect2, n as date, o as ZodAny, p as ZodLiteral, pt as useControllableState, q as $ZodError, r as number$1, rt as __awaiter, s as ZodArray, t as zod_default, u as ZodDefault, ut as useCallbackRef, v as ZodType, vt as Primitive, w as array, x as _instanceof, y as ZodUnion, yt as dispatchDiscreteCustomEvent, z as tuple } from "./zod-BUcyXSdR.js";
|
|
41
|
+
import { i as FunctionNotFoundError, n as ErrorBanner, r as CellNotInitializedError, t as Banner } from "./error-banner-B_GQfxxD.js";
|
|
42
|
+
import { t as Label } from "./label-DjoYwqmj.js";
|
|
43
|
+
import { a as TooltipRoot, i as TooltipProvider, n as TooltipContent, o as TooltipTrigger, r as TooltipPortal, t as Tooltip } from "./tooltip-f-qR0iUx.js";
|
|
44
|
+
import { f as CopyClipboardIcon } from "./extends-w2_S44bV.js";
|
|
45
45
|
import { a as get_default } from "./hasIn-Deg7jl_j.js";
|
|
46
46
|
import { n as _baseSet_default, t as pick_default } from "./pick-D1Qo8s2C.js";
|
|
47
47
|
import { t as debounce_default } from "./debounce-BOD3DbfP.js";
|
|
48
|
-
import { A as useEvent_default, S as useAtomValue, T as atom, a as KnownQueryParams, b as Provider, c as autoInstantiateAtom, f as useResolvedMarimoConfig, g as store, k as dequal, m as AppConfigSchema, n as useTheme, r as CSSClasses, u as localeAtom, x as useAtom, y as isIslands } from "./useTheme-
|
|
48
|
+
import { A as useEvent_default, S as useAtomValue, T as atom, a as KnownQueryParams, b as Provider, c as autoInstantiateAtom, f as useResolvedMarimoConfig, g as store, k as dequal, m as AppConfigSchema, n as useTheme, r as CSSClasses, u as localeAtom, x as useAtom, y as isIslands } from "./useTheme-DYfby65G.js";
|
|
49
49
|
import { $ as EditorView, F as syntaxHighlighting, H as tags, a as HighlightStyle, g as defaultHighlightStyle } from "./dist-De-GlSAs.js";
|
|
50
50
|
import { t as invariant } from "./invariant-wRzNXIsJ.js";
|
|
51
51
|
import { c as uniqueBy, l as clamp, o as arrayShallowEquals, t as Arrays } from "./arrays-sEtDRoG4.js";
|
|
@@ -58,15 +58,15 @@ import "./dist-BTdrwBWP.js";
|
|
|
58
58
|
import "./dist-4lVIWUT3.js";
|
|
59
59
|
import "./dist-DgjbnqTg.js";
|
|
60
60
|
import { r as python } from "./dist-CRmSjkLP.js";
|
|
61
|
-
import { n as minimalSetup, t as esm_default } from "./esm-
|
|
61
|
+
import { n as minimalSetup, t as esm_default } from "./esm-DzZVaNH4.js";
|
|
62
62
|
import "./purify.es-EnR5yhgI.js";
|
|
63
|
-
import { i as AlertTitle, n as Alert, r as AlertDescription } from "./formats-
|
|
63
|
+
import { i as AlertTitle, n as Alert, r as AlertDescription } from "./formats-Dwq1THhr.js";
|
|
64
64
|
import { H as getVegaFieldTypes, V as getContainerWidth } from "./vega-loader.browser-DmpxCJqx.js";
|
|
65
|
-
import { a as tooltipHandler, n as vegaLoadData } from "./loader-
|
|
65
|
+
import { a as tooltipHandler, n as vegaLoadData } from "./loader-DX-IDS7n.js";
|
|
66
66
|
import "./defaultLocale-BpsHxBd7.js";
|
|
67
67
|
import "./defaultLocale-DoeErsX2.js";
|
|
68
|
-
import { t as useAsyncData } from "./useAsyncData-
|
|
69
|
-
import { t as useDeepCompareMemoize } from "./useDeepCompareMemoize-
|
|
68
|
+
import { t as useAsyncData } from "./useAsyncData-CYOQb1EW.js";
|
|
69
|
+
import { t as useDeepCompareMemoize } from "./useDeepCompareMemoize-CSHQeQEI.js";
|
|
70
70
|
import "./dist-BP39XM8u.js";
|
|
71
71
|
import "./dist-C18MUWTj.js";
|
|
72
72
|
import "./dist-BwhXBwMd.js";
|
|
@@ -3574,7 +3574,7 @@ let __tla = Promise.all([
|
|
|
3574
3574
|
Logger.error("Error emitting event", e2);
|
|
3575
3575
|
}
|
|
3576
3576
|
}, 0));
|
|
3577
|
-
__privateSet(this, _n2, e), __privateSet(this, _r, r), __privateSet(this, _t2, /* @__PURE__ */ new
|
|
3577
|
+
__privateSet(this, _n2, e), __privateSet(this, _r, r), __privateSet(this, _t2, /* @__PURE__ */ new Set()), c && c.addEventListener("abort", () => {
|
|
3578
3578
|
Logger.debug("[Model] Signal aborted, clearing all listeners"), __privateSet(this, _i, {});
|
|
3579
3579
|
});
|
|
3580
3580
|
}
|
|
@@ -3601,11 +3601,16 @@ let __tla = Promise.all([
|
|
|
3601
3601
|
__privateSet(this, _n2, {
|
|
3602
3602
|
...__privateGet(this, _n2),
|
|
3603
3603
|
[e]: r
|
|
3604
|
-
}), __privateGet(this, _t2).
|
|
3604
|
+
}), __privateGet(this, _t2).add(e), __privateMethod(this, _e_instances, a_fn).call(this, `change:${e}`, r), __privateGet(this, _c).call(this);
|
|
3605
3605
|
}
|
|
3606
3606
|
save_changes() {
|
|
3607
3607
|
if (__privateGet(this, _t2).size === 0) return;
|
|
3608
|
-
let e = Object.fromEntries(
|
|
3608
|
+
let e = Object.fromEntries([
|
|
3609
|
+
...__privateGet(this, _t2)
|
|
3610
|
+
].map((e2) => [
|
|
3611
|
+
e2,
|
|
3612
|
+
__privateGet(this, _n2)[e2]
|
|
3613
|
+
]));
|
|
3609
3614
|
__privateGet(this, _t2).clear(), __privateGet(this, _r).sendUpdate(e);
|
|
3610
3615
|
}
|
|
3611
3616
|
on(e, r, c) {
|
|
@@ -3626,7 +3631,10 @@ let __tla = Promise.all([
|
|
|
3626
3631
|
}, o_fn = function(e) {
|
|
3627
3632
|
e != null && Object.keys(e).forEach((r) => {
|
|
3628
3633
|
let c = r;
|
|
3629
|
-
__privateGet(this, _n2)[c] !== e[c] && this
|
|
3634
|
+
__privateGet(this, _t2).delete(c), __privateGet(this, _n2)[c] !== e[c] && (__privateSet(this, _n2, {
|
|
3635
|
+
...__privateGet(this, _n2),
|
|
3636
|
+
[c]: e[c]
|
|
3637
|
+
}), __privateMethod(this, _e_instances, a_fn).call(this, `change:${c}`, e[c]), __privateGet(this, _c).call(this));
|
|
3630
3638
|
});
|
|
3631
3639
|
}, s_fn = function(e, r = []) {
|
|
3632
3640
|
let c = __privateGet(this, _i)["msg:custom"];
|
|
@@ -9009,7 +9017,7 @@ let __tla = Promise.all([
|
|
|
9009
9017
|
};
|
|
9010
9018
|
}
|
|
9011
9019
|
};
|
|
9012
|
-
var LazyChatbot = import_react.lazy(() => import("./chat-ui-
|
|
9020
|
+
var LazyChatbot = import_react.lazy(() => import("./chat-ui-DsZJj75A.js").then((e) => ({
|
|
9013
9021
|
default: e.Chatbot
|
|
9014
9022
|
}))), messageSchema = array(object({
|
|
9015
9023
|
id: string(),
|
|
@@ -9158,7 +9166,7 @@ let __tla = Promise.all([
|
|
|
9158
9166
|
"time",
|
|
9159
9167
|
"unknown"
|
|
9160
9168
|
];
|
|
9161
|
-
var import_compiler_runtime$76 = require_compiler_runtime(), LazyDataEditor = import_react.lazy(() => import("./glide-data-editor
|
|
9169
|
+
var import_compiler_runtime$76 = require_compiler_runtime(), LazyDataEditor = import_react.lazy(() => import("./glide-data-editor-B9K6-MJe.js").then(async (m) => {
|
|
9162
9170
|
await m.__tla;
|
|
9163
9171
|
return m;
|
|
9164
9172
|
}));
|
|
@@ -16459,13 +16467,13 @@ ${c}
|
|
|
16459
16467
|
}, [
|
|
16460
16468
|
O,
|
|
16461
16469
|
L
|
|
16462
|
-
]), kG = useDeepCompareMemoize(O ?? inferFieldTypes(r)),
|
|
16470
|
+
]), kG = new Set(E.map(([e2]) => e2)), AG = useDeepCompareMemoize(O ?? inferFieldTypes(r).filter(([e2]) => !kG.has(e2))), jG = (0, import_react.useMemo)(() => p === "all" ? AG : AG.slice(0, p), [
|
|
16463
16471
|
p,
|
|
16464
|
-
|
|
16465
|
-
]),
|
|
16472
|
+
AG
|
|
16473
|
+
]), MG = (0, import_react.useMemo)(() => {
|
|
16466
16474
|
let e2 = {};
|
|
16467
16475
|
if (r && r.length > 0) {
|
|
16468
|
-
for (let [c2, l2] of
|
|
16476
|
+
for (let [c2, l2] of jG) if (l2[0] === "number") {
|
|
16469
16477
|
let l3 = 0;
|
|
16470
16478
|
for (let e3 of r) {
|
|
16471
16479
|
let r2 = e3[c2];
|
|
@@ -16480,73 +16488,73 @@ ${c}
|
|
|
16480
16488
|
return e2;
|
|
16481
16489
|
}, [
|
|
16482
16490
|
r,
|
|
16483
|
-
|
|
16484
|
-
]),
|
|
16491
|
+
jG
|
|
16492
|
+
]), NG = useDeepCompareMemoize(E), PG = useDeepCompareMemoize(nG), FG = useDeepCompareMemoize(rG), IG = useDeepCompareMemoize(iG), LG = useDeepCompareMemoize(OG), RG = useDeepCompareMemoize(MG), zG = jG.length;
|
|
16485
16493
|
O || (T = false), DG && (h = null);
|
|
16486
|
-
let
|
|
16487
|
-
rowHeaders:
|
|
16494
|
+
let BG = (0, import_react.useMemo)(() => generateColumns({
|
|
16495
|
+
rowHeaders: NG,
|
|
16488
16496
|
selection: h,
|
|
16489
|
-
chartSpecModel:
|
|
16490
|
-
fieldTypes:
|
|
16491
|
-
textJustifyColumns:
|
|
16492
|
-
wrappedColumns:
|
|
16493
|
-
columnWidths:
|
|
16497
|
+
chartSpecModel: LG,
|
|
16498
|
+
fieldTypes: jG,
|
|
16499
|
+
textJustifyColumns: PG,
|
|
16500
|
+
wrappedColumns: FG,
|
|
16501
|
+
columnWidths: IG,
|
|
16494
16502
|
headerTooltip: aG,
|
|
16495
16503
|
showDataTypes: T,
|
|
16496
16504
|
calculateTopKRows: pG,
|
|
16497
|
-
fractionDigitsByColumn:
|
|
16505
|
+
fractionDigitsByColumn: RG
|
|
16498
16506
|
}), [
|
|
16499
16507
|
h,
|
|
16500
16508
|
T,
|
|
16501
|
-
|
|
16502
|
-
MG,
|
|
16503
|
-
AG,
|
|
16509
|
+
LG,
|
|
16504
16510
|
NG,
|
|
16511
|
+
jG,
|
|
16505
16512
|
PG,
|
|
16506
16513
|
FG,
|
|
16514
|
+
IG,
|
|
16507
16515
|
aG,
|
|
16508
16516
|
pG,
|
|
16509
|
-
|
|
16510
|
-
]),
|
|
16517
|
+
RG
|
|
16518
|
+
]), VG = (0, import_react.useMemo)(() => Object.fromEntries((g || []).map((e2) => [
|
|
16511
16519
|
e2,
|
|
16512
16520
|
true
|
|
16513
16521
|
])), [
|
|
16514
16522
|
g
|
|
16515
|
-
]),
|
|
16523
|
+
]), HG = useEvent_default((e2) => {
|
|
16516
16524
|
if (h === "single") {
|
|
16517
16525
|
let r2 = Functions.asUpdater(e2)({});
|
|
16518
16526
|
z(Object.keys(r2).slice(0, 1));
|
|
16519
16527
|
}
|
|
16520
16528
|
if (h === "multi") {
|
|
16521
|
-
let r2 = Functions.asUpdater(e2)(
|
|
16529
|
+
let r2 = Functions.asUpdater(e2)(VG);
|
|
16522
16530
|
z(Object.keys(r2));
|
|
16523
16531
|
}
|
|
16524
|
-
}),
|
|
16532
|
+
}), UG = useEvent_default((e2) => {
|
|
16525
16533
|
if (xG(e2), e2 < 0 || typeof l == "number" && e2 >= l || l === "too_many") return;
|
|
16526
16534
|
let r2 = getPageIndexForRow(e2, j.pageIndex, j.pageSize);
|
|
16527
16535
|
r2 !== null && M((e3) => ({
|
|
16528
16536
|
...e3,
|
|
16529
16537
|
pageIndex: r2
|
|
16530
16538
|
}));
|
|
16531
|
-
}),
|
|
16532
|
-
h === "single-cell" && z(Functions.asUpdater(e2)(
|
|
16533
|
-
}),
|
|
16534
|
-
if (!(!CG || !(S ||
|
|
16539
|
+
}), WG = g.filter((e2) => e2 instanceof Object && e2.columnName !== void 0), GG = useEvent_default((e2) => {
|
|
16540
|
+
h === "single-cell" && z(Functions.asUpdater(e2)(WG).slice(0, 1)), h === "multi-cell" && z(Functions.asUpdater(e2)(WG));
|
|
16541
|
+
}), KG = h === "multi" || h === "single", qG = b && !!mG, JG = isInVscodeExtension(), YG = isIslands(), XG = (0, import_react.useMemo)(() => {
|
|
16542
|
+
if (!(!CG || !(S || qG))) return (e2) => (0, import_jsx_runtime.jsx)(ContextAwarePanelItem, {
|
|
16535
16543
|
children: (0, import_jsx_runtime.jsx)(TableExplorerPanel, {
|
|
16536
16544
|
rowIdx: bG,
|
|
16537
|
-
setRowIdx:
|
|
16545
|
+
setRowIdx: UG,
|
|
16538
16546
|
totalRows: l,
|
|
16539
|
-
fieldTypes:
|
|
16547
|
+
fieldTypes: AG,
|
|
16540
16548
|
getRow: hG,
|
|
16541
|
-
isSelectable:
|
|
16542
|
-
isRowSelected: !!
|
|
16543
|
-
handleRowSelectionChange:
|
|
16549
|
+
isSelectable: KG,
|
|
16550
|
+
isRowSelected: !!VG[bG],
|
|
16551
|
+
handleRowSelectionChange: HG,
|
|
16544
16552
|
previewColumn: mG,
|
|
16545
16553
|
totalColumns: oG,
|
|
16546
16554
|
tableId: vG,
|
|
16547
16555
|
table: e2,
|
|
16548
|
-
showRowExplorer: S && !
|
|
16549
|
-
showColumnExplorer:
|
|
16556
|
+
showRowExplorer: S && !JG,
|
|
16557
|
+
showColumnExplorer: qG && !JG,
|
|
16550
16558
|
activeTab: TG,
|
|
16551
16559
|
onTabChange: EG
|
|
16552
16560
|
})
|
|
@@ -16554,19 +16562,19 @@ ${c}
|
|
|
16554
16562
|
}, [
|
|
16555
16563
|
CG,
|
|
16556
16564
|
S,
|
|
16557
|
-
|
|
16565
|
+
qG,
|
|
16558
16566
|
bG,
|
|
16559
|
-
|
|
16567
|
+
UG,
|
|
16560
16568
|
l,
|
|
16561
|
-
|
|
16569
|
+
AG,
|
|
16562
16570
|
hG,
|
|
16563
|
-
|
|
16564
|
-
BG,
|
|
16571
|
+
KG,
|
|
16565
16572
|
VG,
|
|
16573
|
+
HG,
|
|
16566
16574
|
mG,
|
|
16567
16575
|
oG,
|
|
16568
16576
|
vG,
|
|
16569
|
-
|
|
16577
|
+
JG,
|
|
16570
16578
|
TG,
|
|
16571
16579
|
EG
|
|
16572
16580
|
]);
|
|
@@ -16580,11 +16588,11 @@ ${c}
|
|
|
16580
16588
|
" rows."
|
|
16581
16589
|
]
|
|
16582
16590
|
}),
|
|
16583
|
-
|
|
16591
|
+
zG < oG && zG > 0 && (0, import_jsx_runtime.jsxs)(Banner, {
|
|
16584
16592
|
className: "mb-1 rounded",
|
|
16585
16593
|
children: [
|
|
16586
16594
|
"Result clipped. Showing ",
|
|
16587
|
-
|
|
16595
|
+
zG,
|
|
16588
16596
|
" of ",
|
|
16589
16597
|
oG,
|
|
16590
16598
|
" columns."
|
|
@@ -16622,7 +16630,7 @@ ${c}
|
|
|
16622
16630
|
children: (0, import_jsx_runtime.jsx)(DataTable, {
|
|
16623
16631
|
data: r,
|
|
16624
16632
|
rawData: c,
|
|
16625
|
-
columns:
|
|
16633
|
+
columns: BG,
|
|
16626
16634
|
className: R,
|
|
16627
16635
|
maxHeight: _G,
|
|
16628
16636
|
sorting: B,
|
|
@@ -16637,8 +16645,8 @@ ${c}
|
|
|
16637
16645
|
selection: h,
|
|
16638
16646
|
paginationState: j,
|
|
16639
16647
|
setPaginationState: M,
|
|
16640
|
-
rowSelection:
|
|
16641
|
-
cellSelection:
|
|
16648
|
+
rowSelection: VG,
|
|
16649
|
+
cellSelection: WG,
|
|
16642
16650
|
cellStyling: cG,
|
|
16643
16651
|
hoverTemplate: lG,
|
|
16644
16652
|
cellHoverTexts: uG,
|
|
@@ -16651,23 +16659,23 @@ ${c}
|
|
|
16651
16659
|
onFiltersChange: ZW,
|
|
16652
16660
|
calculateTopKRows: pG,
|
|
16653
16661
|
reloading: QW,
|
|
16654
|
-
onRowSelectionChange:
|
|
16662
|
+
onRowSelectionChange: HG,
|
|
16655
16663
|
freezeColumnsLeft: $W,
|
|
16656
16664
|
freezeColumnsRight: eG,
|
|
16657
16665
|
hiddenColumns: tG,
|
|
16658
|
-
onCellSelectionChange:
|
|
16666
|
+
onCellSelectionChange: GG,
|
|
16659
16667
|
getRowIds: sG,
|
|
16660
16668
|
toggleDisplayHeader: dG,
|
|
16661
|
-
showChartBuilder: w && !
|
|
16669
|
+
showChartBuilder: w && !YG,
|
|
16662
16670
|
isChartBuilderOpen: fG,
|
|
16663
16671
|
showPageSizeSelector: y,
|
|
16664
|
-
showTableExplorer: (S ||
|
|
16672
|
+
showTableExplorer: (S || qG) && !JG && !YG,
|
|
16665
16673
|
togglePanel: wG,
|
|
16666
16674
|
isPanelOpen: SG,
|
|
16667
16675
|
isAnyPanelOpen: CG,
|
|
16668
16676
|
viewedRowIdx: bG,
|
|
16669
16677
|
onViewedRowChange: (e2) => xG(e2),
|
|
16670
|
-
renderTableExplorerPanel:
|
|
16678
|
+
renderTableExplorerPanel: XG
|
|
16671
16679
|
})
|
|
16672
16680
|
})
|
|
16673
16681
|
})
|
|
@@ -17026,7 +17034,7 @@ ${c}
|
|
|
17026
17034
|
fullWidth: p,
|
|
17027
17035
|
children: T
|
|
17028
17036
|
}), r[20] = p, r[21] = g, r[22] = c, r[23] = T, r[24] = E) : E = r[24], E;
|
|
17029
|
-
}, LazyDataExplorerComponent = import_react.lazy(() => import("./ConnectedDataExplorerComponent-
|
|
17037
|
+
}, LazyDataExplorerComponent = import_react.lazy(() => import("./ConnectedDataExplorerComponent-f9vLjQiF.js"));
|
|
17030
17038
|
const DataExplorerPlugin = createPlugin("marimo-data-explorer").withData(object({
|
|
17031
17039
|
label: string().nullish(),
|
|
17032
17040
|
data: string()
|
|
@@ -17258,20 +17266,26 @@ ${c}
|
|
|
17258
17266
|
}
|
|
17259
17267
|
var import_compiler_runtime$48 = require_compiler_runtime();
|
|
17260
17268
|
const ZodForm = (e) => {
|
|
17261
|
-
let r = (0, import_compiler_runtime$48.c)(
|
|
17262
|
-
r[0]
|
|
17263
|
-
|
|
17264
|
-
|
|
17265
|
-
|
|
17266
|
-
|
|
17267
|
-
|
|
17269
|
+
let r = (0, import_compiler_runtime$48.c)(14), { schema: c, form: l, path: u, renderers: d, children: f } = e, p = u === void 0 ? "" : u, m, h, g, _;
|
|
17270
|
+
if (r[0] !== f || r[1] !== l || r[2] !== p || r[3] !== c || r[4] !== d) {
|
|
17271
|
+
let e2 = d === void 0 ? [] : d;
|
|
17272
|
+
m = FormProvider, h = l, g = f, _ = renderZodSchema({
|
|
17273
|
+
schema: c,
|
|
17274
|
+
form: l,
|
|
17275
|
+
path: p,
|
|
17276
|
+
renderers: e2
|
|
17277
|
+
}), r[0] = f, r[1] = l, r[2] = p, r[3] = c, r[4] = d, r[5] = m, r[6] = h, r[7] = g, r[8] = _;
|
|
17278
|
+
} else m = r[5], h = r[6], g = r[7], _ = r[8];
|
|
17279
|
+
let v;
|
|
17280
|
+
return r[9] !== m || r[10] !== h || r[11] !== g || r[12] !== _ ? (v = (0, import_jsx_runtime.jsxs)(m, {
|
|
17281
|
+
...h,
|
|
17268
17282
|
children: [
|
|
17269
|
-
|
|
17270
|
-
|
|
17283
|
+
g,
|
|
17284
|
+
_
|
|
17271
17285
|
]
|
|
17272
|
-
}), r[
|
|
17286
|
+
}), r[9] = m, r[10] = h, r[11] = g, r[12] = _, r[13] = v) : v = r[13], v;
|
|
17273
17287
|
};
|
|
17274
|
-
function renderZodSchema(e, r, c, l) {
|
|
17288
|
+
function renderZodSchema({ schema: e, form: r, path: c, renderers: l }) {
|
|
17275
17289
|
for (let u2 of l) {
|
|
17276
17290
|
let { isMatch: l2, Component: d2 } = u2;
|
|
17277
17291
|
if (l2(e)) return (0, import_jsx_runtime.jsx)(d2, {
|
|
@@ -17283,11 +17297,21 @@ ${c}
|
|
|
17283
17297
|
let { label: u, description: d, special: f, direction: p = "column", minLength: m } = FieldOptions.parse(e.description || "");
|
|
17284
17298
|
if (e instanceof ZodDefault) {
|
|
17285
17299
|
let u2 = e.unwrap();
|
|
17286
|
-
return u2 = !u2.description && e.description ? u2.describe(e.description) : u2, renderZodSchema(
|
|
17300
|
+
return u2 = !u2.description && e.description ? u2.describe(e.description) : u2, renderZodSchema({
|
|
17301
|
+
schema: u2,
|
|
17302
|
+
form: r,
|
|
17303
|
+
path: c,
|
|
17304
|
+
renderers: l
|
|
17305
|
+
});
|
|
17287
17306
|
}
|
|
17288
17307
|
if (e instanceof ZodOptional) {
|
|
17289
17308
|
let u2 = e.unwrap();
|
|
17290
|
-
return u2 = !u2.description && e.description ? u2.describe(e.description) : u2, renderZodSchema(
|
|
17309
|
+
return u2 = !u2.description && e.description ? u2.describe(e.description) : u2, renderZodSchema({
|
|
17310
|
+
schema: u2,
|
|
17311
|
+
form: r,
|
|
17312
|
+
path: c,
|
|
17313
|
+
renderers: l
|
|
17314
|
+
});
|
|
17291
17315
|
}
|
|
17292
17316
|
if (e instanceof ZodObject) return (0, import_jsx_runtime.jsxs)("div", {
|
|
17293
17317
|
className: cn("flex", p === "row" ? "flex-row gap-6 items-start" : p === "two-columns" ? "grid grid-cols-2 gap-y-6" : "flex-col gap-6"),
|
|
@@ -17296,7 +17320,12 @@ ${c}
|
|
|
17296
17320
|
children: u
|
|
17297
17321
|
}),
|
|
17298
17322
|
Objects.entries(e.shape).map(([e2, u2]) => {
|
|
17299
|
-
let d2 = u2 instanceof ZodLiteral, f2 = renderZodSchema(
|
|
17323
|
+
let d2 = u2 instanceof ZodLiteral, f2 = renderZodSchema({
|
|
17324
|
+
schema: u2,
|
|
17325
|
+
form: r,
|
|
17326
|
+
path: joinPath(c, e2),
|
|
17327
|
+
renderers: l
|
|
17328
|
+
});
|
|
17300
17329
|
return d2 ? (0, import_jsx_runtime.jsx)(import_react.Fragment, {
|
|
17301
17330
|
children: f2
|
|
17302
17331
|
}, e2) : (0, import_jsx_runtime.jsx)("div", {
|
|
@@ -17339,20 +17368,26 @@ ${c}
|
|
|
17339
17368
|
render: ({ field: e2 }) => (0, import_jsx_runtime.jsxs)(FormItem, {
|
|
17340
17369
|
children: [
|
|
17341
17370
|
(0, import_jsx_runtime.jsxs)("div", {
|
|
17342
|
-
className: "flex flex-row items-start
|
|
17371
|
+
className: cn("flex flex-row gap-2", d ? "items-start" : "items-center"),
|
|
17343
17372
|
children: [
|
|
17344
|
-
(0, import_jsx_runtime.jsx)(FormLabel, {
|
|
17345
|
-
children: u
|
|
17346
|
-
}),
|
|
17347
|
-
(0, import_jsx_runtime.jsx)(FormDescription, {
|
|
17348
|
-
children: d
|
|
17349
|
-
}),
|
|
17350
17373
|
(0, import_jsx_runtime.jsx)(FormControl, {
|
|
17351
17374
|
children: (0, import_jsx_runtime.jsx)(Checkbox, {
|
|
17352
17375
|
"data-testid": "marimo-plugin-data-frames-boolean-checkbox",
|
|
17353
17376
|
checked: e2.value,
|
|
17354
|
-
onCheckedChange: e2.onChange
|
|
17377
|
+
onCheckedChange: e2.onChange,
|
|
17378
|
+
className: d ? "mt-0.5" : void 0
|
|
17355
17379
|
})
|
|
17380
|
+
}),
|
|
17381
|
+
(0, import_jsx_runtime.jsxs)("div", {
|
|
17382
|
+
className: "flex flex-col gap-1",
|
|
17383
|
+
children: [
|
|
17384
|
+
(0, import_jsx_runtime.jsx)(FormLabel, {
|
|
17385
|
+
children: u
|
|
17386
|
+
}),
|
|
17387
|
+
(0, import_jsx_runtime.jsx)(FormDescription, {
|
|
17388
|
+
children: d
|
|
17389
|
+
})
|
|
17390
|
+
]
|
|
17356
17391
|
})
|
|
17357
17392
|
]
|
|
17358
17393
|
}),
|
|
@@ -17476,13 +17511,14 @@ ${c}
|
|
|
17476
17511
|
className: "flex flex-col",
|
|
17477
17512
|
children: [
|
|
17478
17513
|
(0, import_jsx_runtime.jsx)(FormLabel, {
|
|
17514
|
+
className: "mb-2",
|
|
17479
17515
|
children: u
|
|
17480
17516
|
}),
|
|
17481
17517
|
(0, import_jsx_runtime.jsx)("div", {
|
|
17482
|
-
className: "flex border-b mb-4
|
|
17518
|
+
className: "flex border-b mb-4",
|
|
17483
17519
|
children: h.map((r2) => (0, import_jsx_runtime.jsx)("button", {
|
|
17484
17520
|
type: "button",
|
|
17485
|
-
className: `px-4 py-2 ${g === r2 ? "border-b-2 border-primary font-medium" : "text-muted-foreground"}`,
|
|
17521
|
+
className: `px-4 py-2 text-sm ${g === r2 ? "border-b-2 border-primary font-medium" : "text-muted-foreground"}`,
|
|
17486
17522
|
onClick: () => {
|
|
17487
17523
|
let c2 = m2(r2);
|
|
17488
17524
|
c2 ? e2.onChange(getDefaults(c2)) : e2.onChange({
|
|
@@ -17494,7 +17530,12 @@ ${c}
|
|
|
17494
17530
|
}),
|
|
17495
17531
|
(0, import_jsx_runtime.jsx)("div", {
|
|
17496
17532
|
className: "flex flex-col",
|
|
17497
|
-
children: _ && renderZodSchema(
|
|
17533
|
+
children: _ && renderZodSchema({
|
|
17534
|
+
schema: _,
|
|
17535
|
+
form: r,
|
|
17536
|
+
path: c,
|
|
17537
|
+
renderers: l
|
|
17538
|
+
})
|
|
17498
17539
|
}, g)
|
|
17499
17540
|
]
|
|
17500
17541
|
});
|
|
@@ -17522,7 +17563,12 @@ ${c}
|
|
|
17522
17563
|
children: e2
|
|
17523
17564
|
}, e2))
|
|
17524
17565
|
}),
|
|
17525
|
-
h && renderZodSchema(
|
|
17566
|
+
h && renderZodSchema({
|
|
17567
|
+
schema: h,
|
|
17568
|
+
form: r,
|
|
17569
|
+
path: c,
|
|
17570
|
+
renderers: l
|
|
17571
|
+
})
|
|
17526
17572
|
]
|
|
17527
17573
|
});
|
|
17528
17574
|
}
|
|
@@ -17536,7 +17582,17 @@ ${c}
|
|
|
17536
17582
|
...e.values
|
|
17537
17583
|
][0] ?? "")
|
|
17538
17584
|
})
|
|
17539
|
-
}) : "unwrap" in e ? renderZodSchema(
|
|
17585
|
+
}) : "unwrap" in e ? renderZodSchema({
|
|
17586
|
+
schema: maybeUnwrap(e),
|
|
17587
|
+
form: r,
|
|
17588
|
+
path: c,
|
|
17589
|
+
renderers: l
|
|
17590
|
+
}) : isZodPipe(e) ? renderZodSchema({
|
|
17591
|
+
schema: e.in,
|
|
17592
|
+
form: r,
|
|
17593
|
+
path: c,
|
|
17594
|
+
renderers: l
|
|
17595
|
+
}) : (0, import_jsx_runtime.jsxs)("div", {
|
|
17540
17596
|
children: [
|
|
17541
17597
|
"Unknown schema type",
|
|
17542
17598
|
" ",
|
|
@@ -17567,7 +17623,12 @@ ${c}
|
|
|
17567
17623
|
className: "flex flex-row pl-2 ml-2 border-l-2 border-disabled hover-actions-parent relative pr-5 pt-1 items-center w-fit",
|
|
17568
17624
|
onKeyDown: Events.onEnter(_temp$13),
|
|
17569
17625
|
children: [
|
|
17570
|
-
renderZodSchema(
|
|
17626
|
+
renderZodSchema({
|
|
17627
|
+
schema: c,
|
|
17628
|
+
form: l,
|
|
17629
|
+
path: `${u}[${r2}]`,
|
|
17630
|
+
renderers: f
|
|
17631
|
+
}),
|
|
17571
17632
|
E && (0, import_jsx_runtime.jsx)(Trash2, {
|
|
17572
17633
|
className: "w-4 h-4 ml-2 my-1 text-muted-foreground hover:text-destructive cursor-pointer absolute right-0 top-5",
|
|
17573
17634
|
onClick: () => {
|
|
@@ -18200,9 +18261,14 @@ ${c}
|
|
|
18200
18261
|
name: c
|
|
18201
18262
|
}, r[2] = c, r[3] = g);
|
|
18202
18263
|
let { column_id: _, operator: v } = useWatch(g), y = columnIdRenderer(), b = [
|
|
18203
|
-
renderZodSchema(
|
|
18204
|
-
|
|
18205
|
-
|
|
18264
|
+
renderZodSchema({
|
|
18265
|
+
schema: m,
|
|
18266
|
+
form: l,
|
|
18267
|
+
path: `${c}.column_id`,
|
|
18268
|
+
renderers: [
|
|
18269
|
+
y
|
|
18270
|
+
]
|
|
18271
|
+
})
|
|
18206
18272
|
], S, w;
|
|
18207
18273
|
if (r[4] !== _ || r[5] !== p || r[6] !== l || r[7] !== c ? (S = () => {
|
|
18208
18274
|
let e2 = getOperatorForDtype(p.get(_)), r2 = l.getValues(`${c}.operator`);
|
|
@@ -18278,7 +18344,12 @@ ${c}
|
|
|
18278
18344
|
if (v != null) {
|
|
18279
18345
|
let e2 = getSchemaForOperator(p.get(_), v);
|
|
18280
18346
|
e2.length === 1 && b.push((0, import_jsx_runtime.jsx)(import_react.Fragment, {
|
|
18281
|
-
children: renderZodSchema(
|
|
18347
|
+
children: renderZodSchema({
|
|
18348
|
+
schema: e2[0],
|
|
18349
|
+
form: l,
|
|
18350
|
+
path: `${c}.value`,
|
|
18351
|
+
renderers: []
|
|
18352
|
+
})
|
|
18282
18353
|
}, "value"));
|
|
18283
18354
|
}
|
|
18284
18355
|
let T = () => (0, import_jsx_runtime.jsxs)("div", {
|
|
@@ -19078,14 +19149,14 @@ ${c}
|
|
|
19078
19149
|
}, [
|
|
19079
19150
|
B
|
|
19080
19151
|
]);
|
|
19081
|
-
let H = `${g}::${L}`, [W,
|
|
19082
|
-
W !== H && (
|
|
19152
|
+
let H = `${g}::${L}`, [W, G] = (0, import_react.useState)(H);
|
|
19153
|
+
W !== H && (G(H), E(0)), (0, import_react.useLayoutEffect)(() => {
|
|
19083
19154
|
var _a6;
|
|
19084
19155
|
M.current && (M.current = false, (_a6 = O.current[0]) == null ? void 0 : _a6.focus());
|
|
19085
19156
|
}, [
|
|
19086
19157
|
H
|
|
19087
19158
|
]);
|
|
19088
|
-
let
|
|
19159
|
+
let q = (R == null ? void 0 : R.files) ?? [], Z = new Set(e.map((e2) => e2.path)), ZW = l === "directory" || l === "all", QW = l === "file" || l === "all", $W = q.filter((e2) => ZW && e2.is_directory || QW && !e2.is_directory), tG = $W.length > 0 && $W.every((e2) => Z.has(e2.path));
|
|
19089
19160
|
if (!R && z) return (0, import_jsx_runtime.jsx)(Banner, {
|
|
19090
19161
|
kind: "danger",
|
|
19091
19162
|
children: z.message
|
|
@@ -19128,7 +19199,7 @@ ${c}
|
|
|
19128
19199
|
name: l2,
|
|
19129
19200
|
isDirectory: d2
|
|
19130
19201
|
});
|
|
19131
|
-
|
|
19202
|
+
Z.has(c2) ? r(e.filter((e2) => e2.path !== c2)) : r(u ? [
|
|
19132
19203
|
...e,
|
|
19133
19204
|
f2
|
|
19134
19205
|
] : [
|
|
@@ -19140,8 +19211,8 @@ ${c}
|
|
|
19140
19211
|
}
|
|
19141
19212
|
function lG() {
|
|
19142
19213
|
let c2 = [];
|
|
19143
|
-
for (let e2 of
|
|
19144
|
-
if (!
|
|
19214
|
+
for (let e2 of q) {
|
|
19215
|
+
if (!ZW && e2.is_directory || Z.has(e2.path)) continue;
|
|
19145
19216
|
let r2 = oG({
|
|
19146
19217
|
path: e2.path,
|
|
19147
19218
|
name: e2.name,
|
|
@@ -19164,10 +19235,10 @@ ${c}
|
|
|
19164
19235
|
onPrimary: () => aG(PARENT_DIRECTORY),
|
|
19165
19236
|
onToggleSelect: null
|
|
19166
19237
|
},
|
|
19167
|
-
...
|
|
19238
|
+
...q.map((e2) => {
|
|
19168
19239
|
let r2 = e2.path;
|
|
19169
19240
|
r2.startsWith("//") && (r2 = r2.slice(1));
|
|
19170
|
-
let c2 =
|
|
19241
|
+
let c2 = ZW && e2.is_directory || QW && !e2.is_directory, l2 = Z.has(r2), u2 = e2.is_directory ? "directory" : guessFileIconType(e2.name), d2 = () => sG({
|
|
19171
19242
|
path: r2,
|
|
19172
19243
|
name: e2.name,
|
|
19173
19244
|
isDirectory: e2.is_directory
|
|
@@ -19260,7 +19331,7 @@ ${c}
|
|
|
19260
19331
|
}),
|
|
19261
19332
|
R && typeof R.total_count == "number" && (0, import_jsx_runtime.jsx)("div", {
|
|
19262
19333
|
className: "text-xs text-muted-foreground mt-1 px-1",
|
|
19263
|
-
children: R.is_truncated ? `Showing ${
|
|
19334
|
+
children: R.is_truncated ? `Showing ${q.length} of ${R.total_count} items` : `${R.total_count} ${R.total_count === 1 ? "item" : "items"}`
|
|
19264
19335
|
}),
|
|
19265
19336
|
(0, import_jsx_runtime.jsxs)("div", {
|
|
19266
19337
|
className: "mt-3 overflow-y-auto w-full border relative",
|
|
@@ -25441,7 +25512,7 @@ ${c}
|
|
|
25441
25512
|
...c,
|
|
25442
25513
|
...r
|
|
25443
25514
|
})), FormWrapper = (e) => {
|
|
25444
|
-
let r = (0, import_compiler_runtime$41.c)(
|
|
25515
|
+
let r = (0, import_compiler_runtime$41.c)(43), { children: c, currentValue: l, newValue: u, setValue: d, label: f, bordered: p, loading: m, submitButtonLabel: g, submitButtonTooltip: _, submitButtonDisabled: v, clearOnSubmit: y, showClearButton: b, clearButtonLabel: S, clearButtonTooltip: w, validate: E, shouldValidate: O } = e, j = (0, import_react.useRef)(null), M = u === l, I = M ? "secondary" : "action", [L, R] = (0, import_react.useState)(null), z;
|
|
25445
25516
|
r[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (z = () => {
|
|
25446
25517
|
j.current && clearInputs(j.current);
|
|
25447
25518
|
}, r[0] = z) : z = r[0];
|
|
@@ -25466,41 +25537,42 @@ ${c}
|
|
|
25466
25537
|
"bg-(--amber-1) border-(--amber-7)": W
|
|
25467
25538
|
}), r[7] = p, r[8] = W, r[9] = G) : G = r[9];
|
|
25468
25539
|
let q;
|
|
25469
|
-
r[10]
|
|
25470
|
-
|
|
25471
|
-
|
|
25540
|
+
r[10] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (q = (e2) => {
|
|
25541
|
+
var _a5;
|
|
25542
|
+
e2.key === "Enter" && (e2.ctrlKey || e2.metaKey) && (e2.preventDefault(), e2.stopPropagation(), (_a5 = j.current) == null ? void 0 : _a5.requestSubmit());
|
|
25543
|
+
}, r[10] = q) : q = r[10];
|
|
25472
25544
|
let Z;
|
|
25473
|
-
r[
|
|
25545
|
+
r[11] === f ? Z = r[12] : (Z = f === null ? null : (0, import_jsx_runtime.jsx)("div", {
|
|
25474
25546
|
className: "text-center",
|
|
25475
25547
|
children: renderHTML({
|
|
25476
25548
|
html: f
|
|
25477
25549
|
})
|
|
25478
|
-
}), r[
|
|
25550
|
+
}), r[11] = f, r[12] = Z);
|
|
25479
25551
|
let ZW;
|
|
25480
|
-
r[
|
|
25552
|
+
r[13] === L ? ZW = r[14] : (ZW = L != null && (0, import_jsx_runtime.jsx)(Banner, {
|
|
25481
25553
|
kind: "danger",
|
|
25482
25554
|
className: "rounded",
|
|
25483
25555
|
children: L ?? "Invalid input"
|
|
25484
|
-
}), r[
|
|
25556
|
+
}), r[13] = L, r[14] = ZW);
|
|
25485
25557
|
let QW;
|
|
25486
|
-
r[
|
|
25558
|
+
r[15] === c ? QW = r[16] : (QW = (0, import_jsx_runtime.jsx)("div", {
|
|
25487
25559
|
children: c
|
|
25488
|
-
}), r[
|
|
25560
|
+
}), r[15] = c, r[16] = QW);
|
|
25489
25561
|
let $W;
|
|
25490
|
-
r[
|
|
25562
|
+
r[17] !== S || r[18] !== w || r[19] !== b ? ($W = b && withTooltip((0, import_jsx_runtime.jsx)(Button, {
|
|
25491
25563
|
"data-testid": "marimo-plugin-form-clear-button",
|
|
25492
25564
|
variant: "text",
|
|
25493
25565
|
onClick: (e2) => {
|
|
25494
25566
|
e2.preventDefault(), B();
|
|
25495
25567
|
},
|
|
25496
25568
|
children: S
|
|
25497
|
-
}), w), r[
|
|
25569
|
+
}), w), r[17] = S, r[18] = w, r[19] = b, r[20] = $W) : $W = r[20];
|
|
25498
25570
|
let eG = v || m, tG;
|
|
25499
|
-
r[
|
|
25571
|
+
r[21] === m ? tG = r[22] : (tG = m && (0, import_jsx_runtime.jsx)(LoaderCircle, {
|
|
25500
25572
|
className: "h-4 w-4 mr-2 animate-spin"
|
|
25501
|
-
}), r[
|
|
25573
|
+
}), r[21] = m, r[22] = tG);
|
|
25502
25574
|
let nG;
|
|
25503
|
-
r[
|
|
25575
|
+
r[23] !== g || r[24] !== eG || r[25] !== tG || r[26] !== I ? (nG = (0, import_jsx_runtime.jsxs)(Button, {
|
|
25504
25576
|
"data-testid": "marimo-plugin-form-submit-button",
|
|
25505
25577
|
variant: I,
|
|
25506
25578
|
disabled: eG,
|
|
@@ -25509,19 +25581,19 @@ ${c}
|
|
|
25509
25581
|
tG,
|
|
25510
25582
|
g
|
|
25511
25583
|
]
|
|
25512
|
-
}), r[
|
|
25584
|
+
}), r[23] = g, r[24] = eG, r[25] = tG, r[26] = I, r[27] = nG) : nG = r[27];
|
|
25513
25585
|
let rG;
|
|
25514
|
-
r[
|
|
25586
|
+
r[28] !== _ || r[29] !== nG ? (rG = withTooltip(nG, _), r[28] = _, r[29] = nG, r[30] = rG) : rG = r[30];
|
|
25515
25587
|
let aG;
|
|
25516
|
-
r[
|
|
25588
|
+
r[31] !== rG || r[32] !== $W ? (aG = (0, import_jsx_runtime.jsxs)("div", {
|
|
25517
25589
|
className: "flex justify-end gap-2 font-code",
|
|
25518
25590
|
children: [
|
|
25519
25591
|
$W,
|
|
25520
25592
|
rG
|
|
25521
25593
|
]
|
|
25522
|
-
}), r[
|
|
25594
|
+
}), r[31] = rG, r[32] = $W, r[33] = aG) : aG = r[33];
|
|
25523
25595
|
let oG;
|
|
25524
|
-
r[
|
|
25596
|
+
r[34] !== aG || r[35] !== G || r[36] !== Z || r[37] !== ZW || r[38] !== QW ? (oG = (0, import_jsx_runtime.jsxs)("div", {
|
|
25525
25597
|
className: G,
|
|
25526
25598
|
onKeyDown: q,
|
|
25527
25599
|
children: [
|
|
@@ -25530,14 +25602,14 @@ ${c}
|
|
|
25530
25602
|
QW,
|
|
25531
25603
|
aG
|
|
25532
25604
|
]
|
|
25533
|
-
}), r[
|
|
25605
|
+
}), r[34] = aG, r[35] = G, r[36] = Z, r[37] = ZW, r[38] = QW, r[39] = oG) : oG = r[39];
|
|
25534
25606
|
let sG;
|
|
25535
|
-
return r[
|
|
25607
|
+
return r[40] !== oG || r[41] !== H ? (sG = (0, import_jsx_runtime.jsx)("form", {
|
|
25536
25608
|
className: "contents",
|
|
25537
25609
|
ref: j,
|
|
25538
25610
|
onSubmit: H,
|
|
25539
25611
|
children: oG
|
|
25540
|
-
}), r[
|
|
25612
|
+
}), r[40] = oG, r[41] = H, r[42] = sG) : sG = r[42], sG;
|
|
25541
25613
|
};
|
|
25542
25614
|
var Form = (e) => {
|
|
25543
25615
|
let r = (0, import_compiler_runtime$41.c)(24), c, l, u, d, f, p;
|
|
@@ -28374,7 +28446,7 @@ ${c}
|
|
|
28374
28446
|
return true;
|
|
28375
28447
|
}
|
|
28376
28448
|
}
|
|
28377
|
-
var LazyVegaComponent = import_react.lazy(() => import("./vega-component-
|
|
28449
|
+
var LazyVegaComponent = import_react.lazy(() => import("./vega-component-C7nO5zcf.js")), VegaPlugin = class {
|
|
28378
28450
|
constructor() {
|
|
28379
28451
|
__publicField(this, "tagName", "marimo-vega");
|
|
28380
28452
|
__publicField(this, "validator", object({
|
|
@@ -28486,7 +28558,7 @@ ${c}
|
|
|
28486
28558
|
title: e.title
|
|
28487
28559
|
});
|
|
28488
28560
|
}
|
|
28489
|
-
}, navigation_default = ".marimo{--swiper-navigation-size:44px}.marimo .swiper-button-next,.marimo .swiper-button-prev{color:var(--swiper-navigation-color,var(--swiper-theme-color));cursor:pointer;height:var(--swiper-navigation-size);width:var(--swiper-navigation-size);z-index:10;justify-content:center;align-items:center;display:flex;position:absolute;.marimo &.swiper-button-disabled{cursor:auto;opacity:.35;pointer-events:none}.marimo &.swiper-button-hidden{cursor:auto;opacity:0;pointer-events:none}.marimo .swiper-navigation-disabled &{display:none!important}& .marimo svg{object-fit:contain;transform-origin:50%;fill:currentColor;pointer-events:none;width:100%;height:100%}}.marimo .swiper-button-lock{display:none}.marimo .swiper-button-next,.marimo .swiper-button-prev{margin-top:calc(0px - var(--swiper-navigation-size)/2);top:var(--swiper-navigation-top-offset,50%)}.marimo .swiper-button-prev{left:var(--swiper-navigation-sides-offset,4px);right:auto;& .marimo .swiper-navigation-icon{transform:rotate(180deg)}}.marimo .swiper-button-next{left:auto;right:var(--swiper-navigation-sides-offset,4px)}.marimo .swiper-horizontal{& .marimo .swiper-button-next,& .marimo .swiper-button-prev,& .marimo~.swiper-button-next,& .marimo~.swiper-button-prev{margin-left:0;margin-top:calc(0px - var(--swiper-navigation-size)/2);top:var(--swiper-navigation-top-offset,50%)}.marimo &.swiper-rtl .swiper-button-next,.marimo &.swiper-rtl~.swiper-button-next,.marimo &~.swiper-button-prev,& .marimo .swiper-button-prev{left:var(--swiper-navigation-sides-offset,4px);right:auto}.marimo &.swiper-rtl .swiper-button-prev,.marimo &.swiper-rtl~.swiper-button-prev,.marimo &~.swiper-button-next,& .marimo .swiper-button-next{left:auto;right:var(--swiper-navigation-sides-offset,4px)}.marimo &.swiper-rtl .swiper-button-next,.marimo &.swiper-rtl~.swiper-button-next,.marimo &~.swiper-button-prev,& .marimo .swiper-button-prev{& .marimo .swiper-navigation-icon{transform:rotate(180deg)}}.marimo &.swiper-rtl .swiper-button-prev,.marimo &.swiper-rtl~.swiper-button-prev{& .marimo .swiper-navigation-icon{transform:rotate(0)}}}.marimo .swiper-vertical{& .marimo .swiper-button-next,& .marimo .swiper-button-prev,& .marimo~.swiper-button-next,& .marimo~.swiper-button-prev{left:var(--swiper-navigation-top-offset,50%);margin-left:calc(0px - var(--swiper-navigation-size)/2);margin-top:0;right:auto}& .marimo .swiper-button-prev,& .marimo~.swiper-button-prev{bottom:auto;top:var(--swiper-navigation-sides-offset,4px);& .marimo .swiper-navigation-icon{transform:rotate(-90deg)}}& .marimo .swiper-button-next,& .marimo~.swiper-button-next{bottom:var(--swiper-navigation-sides-offset,4px);top:auto;& .marimo .swiper-navigation-icon{transform:rotate(90deg)}}}", pagination_default = ".marimo .swiper-pagination{text-align:center;z-index:10;transition:opacity .3s;position:absolute;transform:translateZ(0);.marimo &.swiper-pagination-hidden{opacity:0}.marimo &.swiper-pagination-disabled,.marimo .swiper-pagination-disabled>&{display:none!important}}.marimo .swiper-horizontal>.swiper-pagination-bullets,.marimo .swiper-pagination-bullets.swiper-pagination-horizontal,.marimo .swiper-pagination-custom,.marimo .swiper-pagination-fraction{bottom:var(--swiper-pagination-bottom,8px);left:0;top:var(--swiper-pagination-top,auto);width:100%}.marimo .swiper-pagination-bullets-dynamic{font-size:0;overflow:hidden;& .marimo .swiper-pagination-bullet{position:relative;transform:scale(.33)}& .marimo .swiper-pagination-bullet-active,& .marimo .swiper-pagination-bullet-active-main{transform:scale(1)}& .marimo .swiper-pagination-bullet-active-prev{transform:scale(.66)}& .marimo .swiper-pagination-bullet-active-prev-prev{transform:scale(.33)}& .marimo .swiper-pagination-bullet-active-next{transform:scale(.66)}& .marimo .swiper-pagination-bullet-active-next-next{transform:scale(.33)}}.marimo .swiper-pagination-bullet{background:var(--swiper-pagination-bullet-inactive-color,#000);border-radius:var(--swiper-pagination-bullet-border-radius,50%);height:var(--swiper-pagination-bullet-height,var(--swiper-pagination-bullet-size,8px));opacity:var(--swiper-pagination-bullet-inactive-opacity,.2);width:var(--swiper-pagination-bullet-width,var(--swiper-pagination-bullet-size,8px));display:inline-block;.marimo button&{appearance:none;box-shadow:none;border:none;margin:0;padding:0}.marimo .swiper-pagination-clickable &{cursor:pointer}.marimo &:only-child{display:none!important}}.marimo .swiper-pagination-bullet-active{background:var(--swiper-pagination-color,var(--swiper-theme-color));opacity:var(--swiper-pagination-bullet-opacity,1)}.marimo .swiper-pagination-vertical.swiper-pagination-bullets,.marimo .swiper-vertical>.swiper-pagination-bullets{left:var(--swiper-pagination-left,auto);right:var(--swiper-pagination-right,8px);top:50%;transform:translateY(-50%);& .marimo .swiper-pagination-bullet{margin:var(--swiper-pagination-bullet-vertical-gap,6px) 0;display:block}.marimo &.swiper-pagination-bullets-dynamic{width:8px;top:50%;transform:translateY(-50%);& .marimo .swiper-pagination-bullet{transition:transform .2s,top .2s;display:inline-block}}}.marimo .swiper-horizontal>.swiper-pagination-bullets,.marimo .swiper-pagination-horizontal.swiper-pagination-bullets{& .marimo .swiper-pagination-bullet{margin:0 var(--swiper-pagination-bullet-horizontal-gap,4px)}.marimo &.swiper-pagination-bullets-dynamic{white-space:nowrap;left:50%;transform:translate(-50%);& .marimo .swiper-pagination-bullet{transition:transform .2s,left .2s}}}.marimo .swiper-horizontal.swiper-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:transform .2s,right .2s}.marimo .swiper-pagination-fraction{color:var(--swiper-pagination-fraction-color,inherit)}.marimo .swiper-pagination-progressbar{background:var(--swiper-pagination-progressbar-bg-color,#00000040);position:absolute;& .marimo .swiper-pagination-progressbar-fill{background:var(--swiper-pagination-color,var(--swiper-theme-color));transform-origin:0 0;width:100%;height:100%;position:absolute;top:0;left:0;transform:scale(0)}.marimo .swiper-rtl & .swiper-pagination-progressbar-fill{transform-origin:100% 0}.marimo &.swiper-pagination-horizontal,.marimo &.swiper-pagination-vertical.swiper-pagination-progressbar-opposite,.marimo .swiper-horizontal>&,.marimo .swiper-vertical>&.swiper-pagination-progressbar-opposite{height:var(--swiper-pagination-progressbar-size,4px);width:100%;top:0;left:0}.marimo &.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite,.marimo &.swiper-pagination-vertical,.marimo .swiper-horizontal>&.swiper-pagination-progressbar-opposite,.marimo .swiper-vertical>&{height:100%;width:var(--swiper-pagination-progressbar-size,4px);top:0;left:0}}.marimo .swiper-pagination-lock{display:none}", scrollbar_default = ".marimo .swiper-scrollbar{background:var(--swiper-scrollbar-bg-color,#0000001a);border-radius:var(--swiper-scrollbar-border-radius,10px);touch-action:none;position:relative;.marimo &.swiper-scrollbar-disabled,.marimo .swiper-scrollbar-disabled>&{display:none!important}.marimo &.swiper-scrollbar-horizontal,.marimo .swiper-horizontal>&{bottom:var(--swiper-scrollbar-bottom,4px);height:var(--swiper-scrollbar-size,4px);left:var(--swiper-scrollbar-sides-offset,1%);top:var(--swiper-scrollbar-top,auto);width:calc(100% - var(--swiper-scrollbar-sides-offset,1%)*2);z-index:50;position:absolute}.marimo &.swiper-scrollbar-vertical,.marimo .swiper-vertical>&{height:calc(100% - var(--swiper-scrollbar-sides-offset,1%)*2);left:var(--swiper-scrollbar-left,auto);right:var(--swiper-scrollbar-right,4px);top:var(--swiper-scrollbar-sides-offset,1%);width:var(--swiper-scrollbar-size,4px);z-index:50;position:absolute}}.marimo .swiper-scrollbar-drag{background:var(--swiper-scrollbar-drag-bg-color,#00000080);border-radius:var(--swiper-scrollbar-border-radius,10px);width:100%;height:100%;position:relative;top:0;left:0}.marimo .swiper-scrollbar-cursor-drag{cursor:move}.marimo .swiper-scrollbar-lock{display:none}", virtual_default = '.marimo .swiper-virtual .swiper-slide{-webkit-backface-visibility:hidden;transform:translateZ(0)}.marimo .swiper-virtual.swiper-css-mode{& .marimo .swiper-wrapper:after{content:"";pointer-events:none;position:absolute;top:0;left:0}}.marimo .swiper-virtual.swiper-css-mode.swiper-horizontal{& .marimo .swiper-wrapper:after{height:1px;width:var(--swiper-virtual-size)}}.marimo .swiper-virtual.swiper-css-mode.swiper-vertical{& .marimo .swiper-wrapper:after{height:var(--swiper-virtual-size);width:1px}}', swiper_default = '.marimo{--swiper-theme-color:#007aff}.marimo,.marimo .swiper{z-index:1;margin-left:auto;margin-right:auto;display:block;position:relative}.marimo .swiper{padding:0;list-style:none;overflow:hidden}.marimo .swiper-vertical>.swiper-wrapper{flex-direction:column}.marimo .swiper-wrapper{box-sizing:content-box;height:100%;transition-property:transform;transition-timing-function:var(--swiper-wrapper-transition-timing-function,initial);z-index:1;width:100%;display:flex;position:relative}.marimo .swiper-android .swiper-slide,.marimo .swiper-ios .swiper-slide,.marimo .swiper-wrapper{transform:translateZ(0)}.marimo .swiper-horizontal{touch-action:pan-y}.marimo .swiper-vertical{touch-action:pan-x}.marimo .swiper-slide{flex-shrink:0;width:100%;height:100%;transition-property:transform;display:block;position:relative}.marimo .swiper-slide-invisible-blank{visibility:hidden}.marimo .swiper-autoheight,.marimo .swiper-autoheight .swiper-slide{height:auto}.marimo .swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.marimo .swiper-backface-hidden .swiper-slide{backface-visibility:hidden;transform:translateZ(0)}.marimo .swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.marimo .swiper-3d .swiper-wrapper{transform-style:preserve-3d}.marimo .swiper-3d{perspective:1200px;& .marimo .swiper-cube-shadow,& .marimo .swiper-slide{transform-style:preserve-3d}}.marimo .swiper-css-mode{& .marimo>.swiper-wrapper{scrollbar-width:none;-ms-overflow-style:none;overflow:auto;.marimo &::-webkit-scrollbar{display:none}}& .marimo>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.marimo &.swiper-horizontal{& .marimo>.swiper-wrapper{scroll-snap-type:x mandatory}& .marimo>.swiper-wrapper>.swiper-slide:first-child{margin-inline-start:var(--swiper-slides-offset-before);scroll-margin-inline-start:var(--swiper-slides-offset-before)}& .marimo>.swiper-wrapper>.swiper-slide:last-child{margin-inline-end:var(--swiper-slides-offset-after)}}.marimo &.swiper-vertical{& .marimo>.swiper-wrapper{scroll-snap-type:y mandatory}& .marimo>.swiper-wrapper>.swiper-slide:first-child{margin-block-start:var(--swiper-slides-offset-before);scroll-margin-block-start:var(--swiper-slides-offset-before)}& .marimo>.swiper-wrapper>.swiper-slide:last-child{margin-block-end:var(--swiper-slides-offset-after)}}.marimo &.swiper-free-mode{& .marimo>.swiper-wrapper{scroll-snap-type:none}& .marimo>.swiper-wrapper>.swiper-slide{scroll-snap-align:none}}.marimo &.swiper-centered{& .marimo>.swiper-wrapper:before{content:"";flex-shrink:0;order:9999}& .marimo>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center;scroll-snap-stop:always}}.marimo &.swiper-centered.swiper-horizontal{& .marimo>.swiper-wrapper>.swiper-slide:first-child{margin-inline-start:var(--swiper-centered-offset-before)}& .marimo>.swiper-wrapper:before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}}.marimo &.swiper-centered.swiper-vertical{& .marimo>.swiper-wrapper>.swiper-slide:first-child{margin-block-start:var(--swiper-centered-offset-before)}& .marimo>.swiper-wrapper:before{height:var(--swiper-centered-offset-after);width:100%;min-width:1px}}}.marimo .swiper-3d{& .marimo .swiper-slide-shadow,& .marimo .swiper-slide-shadow-bottom,& .marimo .swiper-slide-shadow-left,& .marimo .swiper-slide-shadow-right,& .marimo .swiper-slide-shadow-top{pointer-events:none;z-index:10;width:100%;height:100%;position:absolute;top:0;left:0}& .marimo .swiper-slide-shadow{background:#00000026}& .marimo .swiper-slide-shadow-left{background-image:linear-gradient(270deg,#00000080,#0000)}& .marimo .swiper-slide-shadow-right{background-image:linear-gradient(90deg,#00000080,#0000)}& .marimo .swiper-slide-shadow-top{background-image:linear-gradient(#0000,#00000080)}& .marimo .swiper-slide-shadow-bottom{background-image:linear-gradient(#00000080,#0000)}}.marimo .swiper-lazy-preloader{border:4px solid var(--swiper-preloader-color,var(--swiper-theme-color));box-sizing:border-box;transform-origin:50%;z-index:10;border-top:4px solid #0000;border-radius:50%;width:42px;height:42px;margin-top:-21px;margin-left:-21px;position:absolute;top:50%;left:50%}.marimo .swiper-watch-progress .swiper-slide-visible,.marimo .swiper:not(.swiper-watch-progress){& .marimo .swiper-lazy-preloader{animation:1s linear infinite swiper-preloader-spin}}.marimo .swiper-lazy-preloader-white{--swiper-preloader-color:#fff}.marimo .swiper-lazy-preloader-black{--swiper-preloader-color:#000}@keyframes swiper-preloader-spin{0%{transform:rotate(0)}to{transform:rotate(1turn)}}', slides_default = ".marimo .mo-slide-content{justify-content:center;width:100%;min-height:fit-content;display:flex;& .marimo .output{max-width:100%;width:unset;margin:auto 0}& .marimo>:only-child>.output:only-child{flex:1}& .marimo div:has(>marimo-ui-element>marimo-vega){flex:1;display:block!important;@media (width>=500px){min-width:350px}}}.marimo .mo-slides-notes-resize{background-color:#0000;outline:none;height:4px;transition:background-color .2s linear}.marimo .mo-slides-notes-resize:hover,.marimo .mo-slides-notes-resize[data-resize-handle-active]{background-color:var(--slate-11)}", swiper_slides_default = '.marimo{--swiper-theme-color:#007aff}.marimo,.marimo .swiper{z-index:1;margin-left:auto;margin-right:auto;display:block;position:relative}.marimo .swiper{padding:0;list-style:none;overflow:hidden}.marimo .swiper-vertical>.swiper-wrapper{flex-direction:column}.marimo .swiper-wrapper{box-sizing:content-box;height:100%;transition-property:transform;transition-timing-function:var(--swiper-wrapper-transition-timing-function,initial);z-index:1;width:100%;display:flex;position:relative}.marimo .swiper-android .swiper-slide,.marimo .swiper-ios .swiper-slide,.marimo .swiper-wrapper{transform:translateZ(0)}.marimo .swiper-horizontal{touch-action:pan-y}.marimo .swiper-vertical{touch-action:pan-x}.marimo .swiper-slide{flex-shrink:0;width:100%;height:100%;transition-property:transform;display:block;position:relative}.marimo .swiper-slide-invisible-blank{visibility:hidden}.marimo .swiper-autoheight,.marimo .swiper-autoheight .swiper-slide{height:auto}.marimo .swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.marimo .swiper-backface-hidden .swiper-slide{backface-visibility:hidden;transform:translateZ(0)}.marimo .swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.marimo .swiper-3d .swiper-wrapper{transform-style:preserve-3d}.marimo .swiper-3d{perspective:1200px;& .marimo .swiper-cube-shadow,& .marimo .swiper-slide{transform-style:preserve-3d}}.marimo .swiper-css-mode{& .marimo>.swiper-wrapper{scrollbar-width:none;-ms-overflow-style:none;overflow:auto;.marimo &::-webkit-scrollbar{display:none}}& .marimo>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.marimo &.swiper-horizontal{& .marimo>.swiper-wrapper{scroll-snap-type:x mandatory}& .marimo>.swiper-wrapper>.swiper-slide:first-child{margin-inline-start:var(--swiper-slides-offset-before);scroll-margin-inline-start:var(--swiper-slides-offset-before)}& .marimo>.swiper-wrapper>.swiper-slide:last-child{margin-inline-end:var(--swiper-slides-offset-after)}}.marimo &.swiper-vertical{& .marimo>.swiper-wrapper{scroll-snap-type:y mandatory}& .marimo>.swiper-wrapper>.swiper-slide:first-child{margin-block-start:var(--swiper-slides-offset-before);scroll-margin-block-start:var(--swiper-slides-offset-before)}& .marimo>.swiper-wrapper>.swiper-slide:last-child{margin-block-end:var(--swiper-slides-offset-after)}}.marimo &.swiper-free-mode{& .marimo>.swiper-wrapper{scroll-snap-type:none}& .marimo>.swiper-wrapper>.swiper-slide{scroll-snap-align:none}}.marimo &.swiper-centered{& .marimo>.swiper-wrapper:before{content:"";flex-shrink:0;order:9999}& .marimo>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center;scroll-snap-stop:always}}.marimo &.swiper-centered.swiper-horizontal{& .marimo>.swiper-wrapper>.swiper-slide:first-child{margin-inline-start:var(--swiper-centered-offset-before)}& .marimo>.swiper-wrapper:before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}}.marimo &.swiper-centered.swiper-vertical{& .marimo>.swiper-wrapper>.swiper-slide:first-child{margin-block-start:var(--swiper-centered-offset-before)}& .marimo>.swiper-wrapper:before{height:var(--swiper-centered-offset-after);width:100%;min-width:1px}}}.marimo .swiper-3d{& .marimo .swiper-slide-shadow,& .marimo .swiper-slide-shadow-bottom,& .marimo .swiper-slide-shadow-left,& .marimo .swiper-slide-shadow-right,& .marimo .swiper-slide-shadow-top{pointer-events:none;z-index:10;width:100%;height:100%;position:absolute;top:0;left:0}& .marimo .swiper-slide-shadow{background:#00000026}& .marimo .swiper-slide-shadow-left{background-image:linear-gradient(270deg,#00000080,#0000)}& .marimo .swiper-slide-shadow-right{background-image:linear-gradient(90deg,#00000080,#0000)}& .marimo .swiper-slide-shadow-top{background-image:linear-gradient(#0000,#00000080)}& .marimo .swiper-slide-shadow-bottom{background-image:linear-gradient(#00000080,#0000)}}.marimo .swiper-lazy-preloader{border:4px solid var(--swiper-preloader-color,var(--swiper-theme-color));box-sizing:border-box;transform-origin:50%;z-index:10;border-top:4px solid #0000;border-radius:50%;width:42px;height:42px;margin-top:-21px;margin-left:-21px;position:absolute;top:50%;left:50%}.marimo .swiper-watch-progress .swiper-slide-visible,.marimo .swiper:not(.swiper-watch-progress){& .marimo .swiper-lazy-preloader{animation:1s linear infinite swiper-preloader-spin}}.marimo .swiper-lazy-preloader-white{--swiper-preloader-color:#fff}.marimo .swiper-lazy-preloader-black{--swiper-preloader-color:#000}@keyframes swiper-preloader-spin{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.marimo .swiper-virtual .swiper-slide{-webkit-backface-visibility:hidden;transform:translateZ(0)}.marimo .swiper-virtual.swiper-css-mode{& .marimo .swiper-wrapper:after{content:"";pointer-events:none;position:absolute;top:0;left:0}}.marimo .swiper-virtual.swiper-css-mode.swiper-horizontal{& .marimo .swiper-wrapper:after{height:1px;width:var(--swiper-virtual-size)}}.marimo .swiper-virtual.swiper-css-mode.swiper-vertical{& .marimo .swiper-wrapper:after{height:var(--swiper-virtual-size);width:1px}}.marimo{--swiper-navigation-size:44px}.marimo .swiper-button-next,.marimo .swiper-button-prev{color:var(--swiper-navigation-color,var(--swiper-theme-color));cursor:pointer;height:var(--swiper-navigation-size);width:var(--swiper-navigation-size);z-index:10;justify-content:center;align-items:center;display:flex;position:absolute;.marimo &.swiper-button-disabled{cursor:auto;opacity:.35;pointer-events:none}.marimo &.swiper-button-hidden{cursor:auto;opacity:0;pointer-events:none}.marimo .swiper-navigation-disabled &{display:none!important}& .marimo svg{object-fit:contain;transform-origin:50%;fill:currentColor;pointer-events:none;width:100%;height:100%}}.marimo .swiper-button-lock{display:none}.marimo .swiper-button-next,.marimo .swiper-button-prev{margin-top:calc(0px - var(--swiper-navigation-size)/2);top:var(--swiper-navigation-top-offset,50%)}.marimo .swiper-button-prev{left:var(--swiper-navigation-sides-offset,4px);right:auto;& .marimo .swiper-navigation-icon{transform:rotate(180deg)}}.marimo .swiper-button-next{left:auto;right:var(--swiper-navigation-sides-offset,4px)}.marimo .swiper-horizontal{& .marimo .swiper-button-next,& .marimo .swiper-button-prev,& .marimo~.swiper-button-next,& .marimo~.swiper-button-prev{margin-left:0;margin-top:calc(0px - var(--swiper-navigation-size)/2);top:var(--swiper-navigation-top-offset,50%)}.marimo &.swiper-rtl .swiper-button-next,.marimo &.swiper-rtl~.swiper-button-next,.marimo &~.swiper-button-prev,& .marimo .swiper-button-prev{left:var(--swiper-navigation-sides-offset,4px);right:auto}.marimo &.swiper-rtl .swiper-button-prev,.marimo &.swiper-rtl~.swiper-button-prev,.marimo &~.swiper-button-next,& .marimo .swiper-button-next{left:auto;right:var(--swiper-navigation-sides-offset,4px)}.marimo &.swiper-rtl .swiper-button-next,.marimo &.swiper-rtl~.swiper-button-next,.marimo &~.swiper-button-prev,& .marimo .swiper-button-prev{& .marimo .swiper-navigation-icon{transform:rotate(180deg)}}.marimo &.swiper-rtl .swiper-button-prev,.marimo &.swiper-rtl~.swiper-button-prev{& .marimo .swiper-navigation-icon{transform:rotate(0)}}}.marimo .swiper-vertical{& .marimo .swiper-button-next,& .marimo .swiper-button-prev,& .marimo~.swiper-button-next,& .marimo~.swiper-button-prev{left:var(--swiper-navigation-top-offset,50%);margin-left:calc(0px - var(--swiper-navigation-size)/2);margin-top:0;right:auto}& .marimo .swiper-button-prev,& .marimo~.swiper-button-prev{bottom:auto;top:var(--swiper-navigation-sides-offset,4px);& .marimo .swiper-navigation-icon{transform:rotate(-90deg)}}& .marimo .swiper-button-next,& .marimo~.swiper-button-next{bottom:var(--swiper-navigation-sides-offset,4px);top:auto;& .marimo .swiper-navigation-icon{transform:rotate(90deg)}}}.marimo .swiper-pagination{text-align:center;z-index:10;transition:opacity .3s;position:absolute;transform:translateZ(0);.marimo &.swiper-pagination-hidden{opacity:0}.marimo &.swiper-pagination-disabled,.marimo .swiper-pagination-disabled>&{display:none!important}}.marimo .swiper-horizontal>.swiper-pagination-bullets,.marimo .swiper-pagination-bullets.swiper-pagination-horizontal,.marimo .swiper-pagination-custom,.marimo .swiper-pagination-fraction{bottom:var(--swiper-pagination-bottom,8px);left:0;top:var(--swiper-pagination-top,auto);width:100%}.marimo .swiper-pagination-bullets-dynamic{font-size:0;overflow:hidden;& .marimo .swiper-pagination-bullet{position:relative;transform:scale(.33)}& .marimo .swiper-pagination-bullet-active,& .marimo .swiper-pagination-bullet-active-main{transform:scale(1)}& .marimo .swiper-pagination-bullet-active-prev{transform:scale(.66)}& .marimo .swiper-pagination-bullet-active-prev-prev{transform:scale(.33)}& .marimo .swiper-pagination-bullet-active-next{transform:scale(.66)}& .marimo .swiper-pagination-bullet-active-next-next{transform:scale(.33)}}.marimo .swiper-pagination-bullet{background:var(--swiper-pagination-bullet-inactive-color,#000);border-radius:var(--swiper-pagination-bullet-border-radius,50%);height:var(--swiper-pagination-bullet-height,var(--swiper-pagination-bullet-size,8px));opacity:var(--swiper-pagination-bullet-inactive-opacity,.2);width:var(--swiper-pagination-bullet-width,var(--swiper-pagination-bullet-size,8px));display:inline-block;.marimo button&{appearance:none;box-shadow:none;border:none;margin:0;padding:0}.marimo .swiper-pagination-clickable &{cursor:pointer}.marimo &:only-child{display:none!important}}.marimo .swiper-pagination-bullet-active{background:var(--swiper-pagination-color,var(--swiper-theme-color));opacity:var(--swiper-pagination-bullet-opacity,1)}.marimo .swiper-pagination-vertical.swiper-pagination-bullets,.marimo .swiper-vertical>.swiper-pagination-bullets{left:var(--swiper-pagination-left,auto);right:var(--swiper-pagination-right,8px);top:50%;transform:translateY(-50%);& .marimo .swiper-pagination-bullet{margin:var(--swiper-pagination-bullet-vertical-gap,6px) 0;display:block}.marimo &.swiper-pagination-bullets-dynamic{width:8px;top:50%;transform:translateY(-50%);& .marimo .swiper-pagination-bullet{transition:transform .2s,top .2s;display:inline-block}}}.marimo .swiper-horizontal>.swiper-pagination-bullets,.marimo .swiper-pagination-horizontal.swiper-pagination-bullets{& .marimo .swiper-pagination-bullet{margin:0 var(--swiper-pagination-bullet-horizontal-gap,4px)}.marimo &.swiper-pagination-bullets-dynamic{white-space:nowrap;left:50%;transform:translate(-50%);& .marimo .swiper-pagination-bullet{transition:transform .2s,left .2s}}}.marimo .swiper-horizontal.swiper-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:transform .2s,right .2s}.marimo .swiper-pagination-fraction{color:var(--swiper-pagination-fraction-color,inherit)}.marimo .swiper-pagination-progressbar{background:var(--swiper-pagination-progressbar-bg-color,#00000040);position:absolute;& .marimo .swiper-pagination-progressbar-fill{background:var(--swiper-pagination-color,var(--swiper-theme-color));transform-origin:0 0;width:100%;height:100%;position:absolute;top:0;left:0;transform:scale(0)}.marimo .swiper-rtl & .swiper-pagination-progressbar-fill{transform-origin:100% 0}.marimo &.swiper-pagination-horizontal,.marimo &.swiper-pagination-vertical.swiper-pagination-progressbar-opposite,.marimo .swiper-horizontal>&,.marimo .swiper-vertical>&.swiper-pagination-progressbar-opposite{height:var(--swiper-pagination-progressbar-size,4px);width:100%;top:0;left:0}.marimo &.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite,.marimo &.swiper-pagination-vertical,.marimo .swiper-horizontal>&.swiper-pagination-progressbar-opposite,.marimo .swiper-vertical>&{height:100%;width:var(--swiper-pagination-progressbar-size,4px);top:0;left:0}}.marimo .swiper-pagination-lock{display:none}.marimo .swiper-scrollbar{background:var(--swiper-scrollbar-bg-color,#0000001a);border-radius:var(--swiper-scrollbar-border-radius,10px);touch-action:none;position:relative;.marimo &.swiper-scrollbar-disabled,.marimo .swiper-scrollbar-disabled>&{display:none!important}.marimo &.swiper-scrollbar-horizontal,.marimo .swiper-horizontal>&{bottom:var(--swiper-scrollbar-bottom,4px);height:var(--swiper-scrollbar-size,4px);left:var(--swiper-scrollbar-sides-offset,1%);top:var(--swiper-scrollbar-top,auto);width:calc(100% - var(--swiper-scrollbar-sides-offset,1%)*2);z-index:50;position:absolute}.marimo &.swiper-scrollbar-vertical,.marimo .swiper-vertical>&{height:calc(100% - var(--swiper-scrollbar-sides-offset,1%)*2);left:var(--swiper-scrollbar-left,auto);right:var(--swiper-scrollbar-right,4px);top:var(--swiper-scrollbar-sides-offset,1%);width:var(--swiper-scrollbar-size,4px);z-index:50;position:absolute}}.marimo .swiper-scrollbar-drag{background:var(--swiper-scrollbar-drag-bg-color,#00000080);border-radius:var(--swiper-scrollbar-border-radius,10px);width:100%;height:100%;position:relative;top:0;left:0}.marimo .swiper-scrollbar-cursor-drag{cursor:move}.marimo .swiper-scrollbar-lock{display:none}.marimo .mo-slides-theme{--swiper-theme-color:var(--primary);--swiper-pagination-color:var(--swiper-theme-color);--swiper-pagination-left:auto;--swiper-pagination-right:8px;--swiper-pagination-bottom:8px;--swiper-pagination-top:auto;--swiper-pagination-fraction-color:inherit;--swiper-pagination-progressbar-bg-color:#00000040;--swiper-pagination-progressbar-size:4px;--swiper-pagination-bullet-size:8px;--swiper-pagination-bullet-width:8px;--swiper-pagination-bullet-height:8px;--swiper-pagination-bullet-border-radius:50%;--swiper-pagination-bullet-inactive-color:#000;--swiper-pagination-bullet-inactive-opacity:.2;--swiper-pagination-bullet-opacity:1;--swiper-pagination-bullet-horizontal-gap:4px;--swiper-pagination-bullet-vertical-gap:6px;& .marimo .swiper-button-next,& .marimo .swiper-button-prev{opacity:0;--swiper-navigation-sides-offset:0;--swiper-navigation-size:20px;background-color:#0000001a;height:100%;margin-top:0;padding:0 15px;font-weight:900;transition:opacity .3s;top:0;bottom:0;.marimo &.swiper-button-disabled{opacity:0}.marimo &:hover:not(.swiper-button-disabled){opacity:1}}}@font-face{font-family:swiper-icons;font-style:normal;font-weight:400;src:url("data:application/font-woff;charset=utf-8;base64, d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBcAGYAcAB6AIQAjgCYAKIArAC2AMAAygDUAN4A6ADyAPwBBgEQARoBJAEuATgBQgFMAVYBYAFqAXQBfgGIAZIBnAGmAbIBzgHsAAB42u2NMQ6CUAyGW568x9AneYYgm4MJbhKFaExIOAVX8ApewSt4Bic4AfeAid3VOBixDxfPYEza5O+Xfi04YADggiUIULCuEJK8VhO4bSvpdnktHI5QCYtdi2sl8ZnXaHlqUrNKzdKcT8cjlq+rwZSvIVczNiezsfnP/uznmfPFBNODM2K7MTQ45YEAZqGP81AmGGcF3iPqOop0r1SPTaTbVkfUe4HXj97wYE+yNwWYxwWu4v1ugWHgo3S1XdZEVqWM7ET0cfnLGxWfkgR42o2PvWrDMBSFj/IHLaF0zKjRgdiVMwScNRAoWUoH78Y2icB/yIY09An6AH2Bdu/UB+yxopYshQiEvnvu0dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMkpFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA")}.marimo :host:host{display:initial}', CarouselPlugin = class {
|
|
28561
|
+
}, navigation_default = ".marimo{--swiper-navigation-size:44px}.marimo .swiper-button-next,.marimo .swiper-button-prev{color:var(--swiper-navigation-color,var(--swiper-theme-color));cursor:pointer;height:var(--swiper-navigation-size);width:var(--swiper-navigation-size);z-index:10;justify-content:center;align-items:center;display:flex;position:absolute;.marimo &.swiper-button-disabled{cursor:auto;opacity:.35;pointer-events:none}.marimo &.swiper-button-hidden{cursor:auto;opacity:0;pointer-events:none}.marimo .swiper-navigation-disabled &{display:none!important}& .marimo svg{object-fit:contain;transform-origin:50%;fill:currentColor;pointer-events:none;width:100%;height:100%}}.marimo .swiper-button-lock{display:none}.marimo .swiper-button-next,.marimo .swiper-button-prev{margin-top:calc(0px - var(--swiper-navigation-size)/2);top:var(--swiper-navigation-top-offset,50%)}.marimo .swiper-button-prev{left:var(--swiper-navigation-sides-offset,4px);right:auto;& .marimo .swiper-navigation-icon{transform:rotate(180deg)}}.marimo .swiper-button-next{left:auto;right:var(--swiper-navigation-sides-offset,4px)}.marimo .swiper-horizontal{& .marimo .swiper-button-next,& .marimo .swiper-button-prev,& .marimo~.swiper-button-next,& .marimo~.swiper-button-prev{margin-left:0;margin-top:calc(0px - var(--swiper-navigation-size)/2);top:var(--swiper-navigation-top-offset,50%)}.marimo &.swiper-rtl .swiper-button-next,.marimo &.swiper-rtl~.swiper-button-next,.marimo &~.swiper-button-prev,& .marimo .swiper-button-prev{left:var(--swiper-navigation-sides-offset,4px);right:auto}.marimo &.swiper-rtl .swiper-button-prev,.marimo &.swiper-rtl~.swiper-button-prev,.marimo &~.swiper-button-next,& .marimo .swiper-button-next{left:auto;right:var(--swiper-navigation-sides-offset,4px)}.marimo &.swiper-rtl .swiper-button-next,.marimo &.swiper-rtl~.swiper-button-next,.marimo &~.swiper-button-prev,& .marimo .swiper-button-prev{& .marimo .swiper-navigation-icon{transform:rotate(180deg)}}.marimo &.swiper-rtl .swiper-button-prev,.marimo &.swiper-rtl~.swiper-button-prev{& .marimo .swiper-navigation-icon{transform:rotate(0)}}}.marimo .swiper-vertical{& .marimo .swiper-button-next,& .marimo .swiper-button-prev,& .marimo~.swiper-button-next,& .marimo~.swiper-button-prev{left:var(--swiper-navigation-top-offset,50%);margin-left:calc(0px - var(--swiper-navigation-size)/2);margin-top:0;right:auto}& .marimo .swiper-button-prev,& .marimo~.swiper-button-prev{bottom:auto;top:var(--swiper-navigation-sides-offset,4px);& .marimo .swiper-navigation-icon{transform:rotate(-90deg)}}& .marimo .swiper-button-next,& .marimo~.swiper-button-next{bottom:var(--swiper-navigation-sides-offset,4px);top:auto;& .marimo .swiper-navigation-icon{transform:rotate(90deg)}}}", pagination_default = ".marimo .swiper-pagination{text-align:center;z-index:10;transition:opacity .3s;position:absolute;transform:translateZ(0);.marimo &.swiper-pagination-hidden{opacity:0}.marimo &.swiper-pagination-disabled,.marimo .swiper-pagination-disabled>&{display:none!important}}.marimo .swiper-horizontal>.swiper-pagination-bullets,.marimo .swiper-pagination-bullets.swiper-pagination-horizontal,.marimo .swiper-pagination-custom,.marimo .swiper-pagination-fraction{bottom:var(--swiper-pagination-bottom,8px);left:0;top:var(--swiper-pagination-top,auto);width:100%}.marimo .swiper-pagination-bullets-dynamic{font-size:0;overflow:hidden;& .marimo .swiper-pagination-bullet{position:relative;transform:scale(.33)}& .marimo .swiper-pagination-bullet-active,& .marimo .swiper-pagination-bullet-active-main{transform:scale(1)}& .marimo .swiper-pagination-bullet-active-prev{transform:scale(.66)}& .marimo .swiper-pagination-bullet-active-prev-prev{transform:scale(.33)}& .marimo .swiper-pagination-bullet-active-next{transform:scale(.66)}& .marimo .swiper-pagination-bullet-active-next-next{transform:scale(.33)}}.marimo .swiper-pagination-bullet{background:var(--swiper-pagination-bullet-inactive-color,#000);border-radius:var(--swiper-pagination-bullet-border-radius,50%);height:var(--swiper-pagination-bullet-height,var(--swiper-pagination-bullet-size,8px));opacity:var(--swiper-pagination-bullet-inactive-opacity,.2);width:var(--swiper-pagination-bullet-width,var(--swiper-pagination-bullet-size,8px));display:inline-block;.marimo button&{appearance:none;box-shadow:none;border:none;margin:0;padding:0}.marimo .swiper-pagination-clickable &{cursor:pointer}.marimo &:only-child{display:none!important}}.marimo .swiper-pagination-bullet-active{background:var(--swiper-pagination-color,var(--swiper-theme-color));opacity:var(--swiper-pagination-bullet-opacity,1)}.marimo .swiper-pagination-vertical.swiper-pagination-bullets,.marimo .swiper-vertical>.swiper-pagination-bullets{left:var(--swiper-pagination-left,auto);right:var(--swiper-pagination-right,8px);top:50%;transform:translateY(-50%);& .marimo .swiper-pagination-bullet{margin:var(--swiper-pagination-bullet-vertical-gap,6px) 0;display:block}.marimo &.swiper-pagination-bullets-dynamic{width:8px;top:50%;transform:translateY(-50%);& .marimo .swiper-pagination-bullet{transition:transform .2s,top .2s;display:inline-block}}}.marimo .swiper-horizontal>.swiper-pagination-bullets,.marimo .swiper-pagination-horizontal.swiper-pagination-bullets{& .marimo .swiper-pagination-bullet{margin:0 var(--swiper-pagination-bullet-horizontal-gap,4px)}.marimo &.swiper-pagination-bullets-dynamic{white-space:nowrap;left:50%;transform:translate(-50%);& .marimo .swiper-pagination-bullet{transition:transform .2s,left .2s}}}.marimo .swiper-horizontal.swiper-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:transform .2s,right .2s}.marimo .swiper-pagination-fraction{color:var(--swiper-pagination-fraction-color,inherit)}.marimo .swiper-pagination-progressbar{background:var(--swiper-pagination-progressbar-bg-color,#00000040);position:absolute;& .marimo .swiper-pagination-progressbar-fill{background:var(--swiper-pagination-color,var(--swiper-theme-color));transform-origin:0 0;width:100%;height:100%;position:absolute;top:0;left:0;transform:scale(0)}.marimo .swiper-rtl & .swiper-pagination-progressbar-fill{transform-origin:100% 0}.marimo &.swiper-pagination-horizontal,.marimo &.swiper-pagination-vertical.swiper-pagination-progressbar-opposite,.marimo .swiper-horizontal>&,.marimo .swiper-vertical>&.swiper-pagination-progressbar-opposite{height:var(--swiper-pagination-progressbar-size,4px);width:100%;top:0;left:0}.marimo &.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite,.marimo &.swiper-pagination-vertical,.marimo .swiper-horizontal>&.swiper-pagination-progressbar-opposite,.marimo .swiper-vertical>&{height:100%;width:var(--swiper-pagination-progressbar-size,4px);top:0;left:0}}.marimo .swiper-pagination-lock{display:none}", scrollbar_default = ".marimo .swiper-scrollbar{background:var(--swiper-scrollbar-bg-color,#0000001a);border-radius:var(--swiper-scrollbar-border-radius,10px);touch-action:none;position:relative;.marimo &.swiper-scrollbar-disabled,.marimo .swiper-scrollbar-disabled>&{display:none!important}.marimo &.swiper-scrollbar-horizontal,.marimo .swiper-horizontal>&{bottom:var(--swiper-scrollbar-bottom,4px);height:var(--swiper-scrollbar-size,4px);left:var(--swiper-scrollbar-sides-offset,1%);top:var(--swiper-scrollbar-top,auto);width:calc(100% - var(--swiper-scrollbar-sides-offset,1%)*2);z-index:50;position:absolute}.marimo &.swiper-scrollbar-vertical,.marimo .swiper-vertical>&{height:calc(100% - var(--swiper-scrollbar-sides-offset,1%)*2);left:var(--swiper-scrollbar-left,auto);right:var(--swiper-scrollbar-right,4px);top:var(--swiper-scrollbar-sides-offset,1%);width:var(--swiper-scrollbar-size,4px);z-index:50;position:absolute}}.marimo .swiper-scrollbar-drag{background:var(--swiper-scrollbar-drag-bg-color,#00000080);border-radius:var(--swiper-scrollbar-border-radius,10px);width:100%;height:100%;position:relative;top:0;left:0}.marimo .swiper-scrollbar-cursor-drag{cursor:move}.marimo .swiper-scrollbar-lock{display:none}", virtual_default = '.marimo .swiper-virtual .swiper-slide{-webkit-backface-visibility:hidden;transform:translateZ(0)}.marimo .swiper-virtual.swiper-css-mode{& .marimo .swiper-wrapper:after{content:"";pointer-events:none;position:absolute;top:0;left:0}}.marimo .swiper-virtual.swiper-css-mode.swiper-horizontal{& .marimo .swiper-wrapper:after{height:1px;width:var(--swiper-virtual-size)}}.marimo .swiper-virtual.swiper-css-mode.swiper-vertical{& .marimo .swiper-wrapper:after{height:var(--swiper-virtual-size);width:1px}}', swiper_default = '.marimo{--swiper-theme-color:#007aff}.marimo,.marimo .swiper{z-index:1;margin-left:auto;margin-right:auto;display:block;position:relative}.marimo .swiper{padding:0;list-style:none;overflow:hidden}.marimo .swiper-vertical>.swiper-wrapper{flex-direction:column}.marimo .swiper-wrapper{box-sizing:content-box;height:100%;transition-property:transform;transition-timing-function:var(--swiper-wrapper-transition-timing-function,initial);z-index:1;width:100%;display:flex;position:relative}.marimo .swiper-android .swiper-slide,.marimo .swiper-ios .swiper-slide,.marimo .swiper-wrapper{transform:translateZ(0)}.marimo .swiper-horizontal{touch-action:pan-y}.marimo .swiper-vertical{touch-action:pan-x}.marimo .swiper-slide{flex-shrink:0;width:100%;height:100%;transition-property:transform;display:block;position:relative}.marimo .swiper-slide-invisible-blank{visibility:hidden}.marimo .swiper-autoheight,.marimo .swiper-autoheight .swiper-slide{height:auto}.marimo .swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.marimo .swiper-backface-hidden .swiper-slide{backface-visibility:hidden;transform:translateZ(0)}.marimo .swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.marimo .swiper-3d .swiper-wrapper{transform-style:preserve-3d}.marimo .swiper-3d{perspective:1200px;& .marimo .swiper-cube-shadow,& .marimo .swiper-slide{transform-style:preserve-3d}}.marimo .swiper-css-mode{& .marimo>.swiper-wrapper{scrollbar-width:none;-ms-overflow-style:none;overflow:auto;.marimo &::-webkit-scrollbar{display:none}}& .marimo>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.marimo &.swiper-horizontal{& .marimo>.swiper-wrapper{scroll-snap-type:x mandatory}& .marimo>.swiper-wrapper>.swiper-slide:first-child{margin-inline-start:var(--swiper-slides-offset-before);scroll-margin-inline-start:var(--swiper-slides-offset-before)}& .marimo>.swiper-wrapper>.swiper-slide:last-child{margin-inline-end:var(--swiper-slides-offset-after)}}.marimo &.swiper-vertical{& .marimo>.swiper-wrapper{scroll-snap-type:y mandatory}& .marimo>.swiper-wrapper>.swiper-slide:first-child{margin-block-start:var(--swiper-slides-offset-before);scroll-margin-block-start:var(--swiper-slides-offset-before)}& .marimo>.swiper-wrapper>.swiper-slide:last-child{margin-block-end:var(--swiper-slides-offset-after)}}.marimo &.swiper-free-mode{& .marimo>.swiper-wrapper{scroll-snap-type:none}& .marimo>.swiper-wrapper>.swiper-slide{scroll-snap-align:none}}.marimo &.swiper-centered{& .marimo>.swiper-wrapper:before{content:"";flex-shrink:0;order:9999}& .marimo>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center;scroll-snap-stop:always}}.marimo &.swiper-centered.swiper-horizontal{& .marimo>.swiper-wrapper>.swiper-slide:first-child{margin-inline-start:var(--swiper-centered-offset-before)}& .marimo>.swiper-wrapper:before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}}.marimo &.swiper-centered.swiper-vertical{& .marimo>.swiper-wrapper>.swiper-slide:first-child{margin-block-start:var(--swiper-centered-offset-before)}& .marimo>.swiper-wrapper:before{height:var(--swiper-centered-offset-after);width:100%;min-width:1px}}}.marimo .swiper-3d{& .marimo .swiper-slide-shadow,& .marimo .swiper-slide-shadow-bottom,& .marimo .swiper-slide-shadow-left,& .marimo .swiper-slide-shadow-right,& .marimo .swiper-slide-shadow-top{pointer-events:none;z-index:10;width:100%;height:100%;position:absolute;top:0;left:0}& .marimo .swiper-slide-shadow{background:#00000026}& .marimo .swiper-slide-shadow-left{background-image:linear-gradient(270deg,#00000080,#0000)}& .marimo .swiper-slide-shadow-right{background-image:linear-gradient(90deg,#00000080,#0000)}& .marimo .swiper-slide-shadow-top{background-image:linear-gradient(#0000,#00000080)}& .marimo .swiper-slide-shadow-bottom{background-image:linear-gradient(#00000080,#0000)}}.marimo .swiper-lazy-preloader{border:4px solid var(--swiper-preloader-color,var(--swiper-theme-color));box-sizing:border-box;transform-origin:50%;z-index:10;border-top:4px solid #0000;border-radius:50%;width:42px;height:42px;margin-top:-21px;margin-left:-21px;position:absolute;top:50%;left:50%}.marimo .swiper-watch-progress .swiper-slide-visible,.marimo .swiper:not(.swiper-watch-progress){& .marimo .swiper-lazy-preloader{animation:1s linear infinite swiper-preloader-spin}}.marimo .swiper-lazy-preloader-white{--swiper-preloader-color:#fff}.marimo .swiper-lazy-preloader-black{--swiper-preloader-color:#000}@keyframes swiper-preloader-spin{0%{transform:rotate(0)}to{transform:rotate(1turn)}}', slides_default = ".marimo .mo-slide-content{justify-content:center;width:100%;min-height:fit-content;display:flex;& .marimo .output{max-width:100%;width:unset;margin:auto 0}& .marimo>:only-child:has(>.output:only-child,>*>.output:only-child){flex:1}& .marimo div:has(>marimo-ui-element>marimo-vega){flex:1;display:block!important;@media (width>=500px){min-width:350px}}}.marimo .mo-slides-notes-resize{background-color:#0000;outline:none;height:4px;transition:background-color .2s linear}.marimo .mo-slides-notes-resize:hover,.marimo .mo-slides-notes-resize[data-resize-handle-active]{background-color:var(--slate-11)}", swiper_slides_default = '.marimo{--swiper-theme-color:#007aff}.marimo,.marimo .swiper{z-index:1;margin-left:auto;margin-right:auto;display:block;position:relative}.marimo .swiper{padding:0;list-style:none;overflow:hidden}.marimo .swiper-vertical>.swiper-wrapper{flex-direction:column}.marimo .swiper-wrapper{box-sizing:content-box;height:100%;transition-property:transform;transition-timing-function:var(--swiper-wrapper-transition-timing-function,initial);z-index:1;width:100%;display:flex;position:relative}.marimo .swiper-android .swiper-slide,.marimo .swiper-ios .swiper-slide,.marimo .swiper-wrapper{transform:translateZ(0)}.marimo .swiper-horizontal{touch-action:pan-y}.marimo .swiper-vertical{touch-action:pan-x}.marimo .swiper-slide{flex-shrink:0;width:100%;height:100%;transition-property:transform;display:block;position:relative}.marimo .swiper-slide-invisible-blank{visibility:hidden}.marimo .swiper-autoheight,.marimo .swiper-autoheight .swiper-slide{height:auto}.marimo .swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.marimo .swiper-backface-hidden .swiper-slide{backface-visibility:hidden;transform:translateZ(0)}.marimo .swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.marimo .swiper-3d .swiper-wrapper{transform-style:preserve-3d}.marimo .swiper-3d{perspective:1200px;& .marimo .swiper-cube-shadow,& .marimo .swiper-slide{transform-style:preserve-3d}}.marimo .swiper-css-mode{& .marimo>.swiper-wrapper{scrollbar-width:none;-ms-overflow-style:none;overflow:auto;.marimo &::-webkit-scrollbar{display:none}}& .marimo>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.marimo &.swiper-horizontal{& .marimo>.swiper-wrapper{scroll-snap-type:x mandatory}& .marimo>.swiper-wrapper>.swiper-slide:first-child{margin-inline-start:var(--swiper-slides-offset-before);scroll-margin-inline-start:var(--swiper-slides-offset-before)}& .marimo>.swiper-wrapper>.swiper-slide:last-child{margin-inline-end:var(--swiper-slides-offset-after)}}.marimo &.swiper-vertical{& .marimo>.swiper-wrapper{scroll-snap-type:y mandatory}& .marimo>.swiper-wrapper>.swiper-slide:first-child{margin-block-start:var(--swiper-slides-offset-before);scroll-margin-block-start:var(--swiper-slides-offset-before)}& .marimo>.swiper-wrapper>.swiper-slide:last-child{margin-block-end:var(--swiper-slides-offset-after)}}.marimo &.swiper-free-mode{& .marimo>.swiper-wrapper{scroll-snap-type:none}& .marimo>.swiper-wrapper>.swiper-slide{scroll-snap-align:none}}.marimo &.swiper-centered{& .marimo>.swiper-wrapper:before{content:"";flex-shrink:0;order:9999}& .marimo>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center;scroll-snap-stop:always}}.marimo &.swiper-centered.swiper-horizontal{& .marimo>.swiper-wrapper>.swiper-slide:first-child{margin-inline-start:var(--swiper-centered-offset-before)}& .marimo>.swiper-wrapper:before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}}.marimo &.swiper-centered.swiper-vertical{& .marimo>.swiper-wrapper>.swiper-slide:first-child{margin-block-start:var(--swiper-centered-offset-before)}& .marimo>.swiper-wrapper:before{height:var(--swiper-centered-offset-after);width:100%;min-width:1px}}}.marimo .swiper-3d{& .marimo .swiper-slide-shadow,& .marimo .swiper-slide-shadow-bottom,& .marimo .swiper-slide-shadow-left,& .marimo .swiper-slide-shadow-right,& .marimo .swiper-slide-shadow-top{pointer-events:none;z-index:10;width:100%;height:100%;position:absolute;top:0;left:0}& .marimo .swiper-slide-shadow{background:#00000026}& .marimo .swiper-slide-shadow-left{background-image:linear-gradient(270deg,#00000080,#0000)}& .marimo .swiper-slide-shadow-right{background-image:linear-gradient(90deg,#00000080,#0000)}& .marimo .swiper-slide-shadow-top{background-image:linear-gradient(#0000,#00000080)}& .marimo .swiper-slide-shadow-bottom{background-image:linear-gradient(#00000080,#0000)}}.marimo .swiper-lazy-preloader{border:4px solid var(--swiper-preloader-color,var(--swiper-theme-color));box-sizing:border-box;transform-origin:50%;z-index:10;border-top:4px solid #0000;border-radius:50%;width:42px;height:42px;margin-top:-21px;margin-left:-21px;position:absolute;top:50%;left:50%}.marimo .swiper-watch-progress .swiper-slide-visible,.marimo .swiper:not(.swiper-watch-progress){& .marimo .swiper-lazy-preloader{animation:1s linear infinite swiper-preloader-spin}}.marimo .swiper-lazy-preloader-white{--swiper-preloader-color:#fff}.marimo .swiper-lazy-preloader-black{--swiper-preloader-color:#000}@keyframes swiper-preloader-spin{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.marimo .swiper-virtual .swiper-slide{-webkit-backface-visibility:hidden;transform:translateZ(0)}.marimo .swiper-virtual.swiper-css-mode{& .marimo .swiper-wrapper:after{content:"";pointer-events:none;position:absolute;top:0;left:0}}.marimo .swiper-virtual.swiper-css-mode.swiper-horizontal{& .marimo .swiper-wrapper:after{height:1px;width:var(--swiper-virtual-size)}}.marimo .swiper-virtual.swiper-css-mode.swiper-vertical{& .marimo .swiper-wrapper:after{height:var(--swiper-virtual-size);width:1px}}.marimo{--swiper-navigation-size:44px}.marimo .swiper-button-next,.marimo .swiper-button-prev{color:var(--swiper-navigation-color,var(--swiper-theme-color));cursor:pointer;height:var(--swiper-navigation-size);width:var(--swiper-navigation-size);z-index:10;justify-content:center;align-items:center;display:flex;position:absolute;.marimo &.swiper-button-disabled{cursor:auto;opacity:.35;pointer-events:none}.marimo &.swiper-button-hidden{cursor:auto;opacity:0;pointer-events:none}.marimo .swiper-navigation-disabled &{display:none!important}& .marimo svg{object-fit:contain;transform-origin:50%;fill:currentColor;pointer-events:none;width:100%;height:100%}}.marimo .swiper-button-lock{display:none}.marimo .swiper-button-next,.marimo .swiper-button-prev{margin-top:calc(0px - var(--swiper-navigation-size)/2);top:var(--swiper-navigation-top-offset,50%)}.marimo .swiper-button-prev{left:var(--swiper-navigation-sides-offset,4px);right:auto;& .marimo .swiper-navigation-icon{transform:rotate(180deg)}}.marimo .swiper-button-next{left:auto;right:var(--swiper-navigation-sides-offset,4px)}.marimo .swiper-horizontal{& .marimo .swiper-button-next,& .marimo .swiper-button-prev,& .marimo~.swiper-button-next,& .marimo~.swiper-button-prev{margin-left:0;margin-top:calc(0px - var(--swiper-navigation-size)/2);top:var(--swiper-navigation-top-offset,50%)}.marimo &.swiper-rtl .swiper-button-next,.marimo &.swiper-rtl~.swiper-button-next,.marimo &~.swiper-button-prev,& .marimo .swiper-button-prev{left:var(--swiper-navigation-sides-offset,4px);right:auto}.marimo &.swiper-rtl .swiper-button-prev,.marimo &.swiper-rtl~.swiper-button-prev,.marimo &~.swiper-button-next,& .marimo .swiper-button-next{left:auto;right:var(--swiper-navigation-sides-offset,4px)}.marimo &.swiper-rtl .swiper-button-next,.marimo &.swiper-rtl~.swiper-button-next,.marimo &~.swiper-button-prev,& .marimo .swiper-button-prev{& .marimo .swiper-navigation-icon{transform:rotate(180deg)}}.marimo &.swiper-rtl .swiper-button-prev,.marimo &.swiper-rtl~.swiper-button-prev{& .marimo .swiper-navigation-icon{transform:rotate(0)}}}.marimo .swiper-vertical{& .marimo .swiper-button-next,& .marimo .swiper-button-prev,& .marimo~.swiper-button-next,& .marimo~.swiper-button-prev{left:var(--swiper-navigation-top-offset,50%);margin-left:calc(0px - var(--swiper-navigation-size)/2);margin-top:0;right:auto}& .marimo .swiper-button-prev,& .marimo~.swiper-button-prev{bottom:auto;top:var(--swiper-navigation-sides-offset,4px);& .marimo .swiper-navigation-icon{transform:rotate(-90deg)}}& .marimo .swiper-button-next,& .marimo~.swiper-button-next{bottom:var(--swiper-navigation-sides-offset,4px);top:auto;& .marimo .swiper-navigation-icon{transform:rotate(90deg)}}}.marimo .swiper-pagination{text-align:center;z-index:10;transition:opacity .3s;position:absolute;transform:translateZ(0);.marimo &.swiper-pagination-hidden{opacity:0}.marimo &.swiper-pagination-disabled,.marimo .swiper-pagination-disabled>&{display:none!important}}.marimo .swiper-horizontal>.swiper-pagination-bullets,.marimo .swiper-pagination-bullets.swiper-pagination-horizontal,.marimo .swiper-pagination-custom,.marimo .swiper-pagination-fraction{bottom:var(--swiper-pagination-bottom,8px);left:0;top:var(--swiper-pagination-top,auto);width:100%}.marimo .swiper-pagination-bullets-dynamic{font-size:0;overflow:hidden;& .marimo .swiper-pagination-bullet{position:relative;transform:scale(.33)}& .marimo .swiper-pagination-bullet-active,& .marimo .swiper-pagination-bullet-active-main{transform:scale(1)}& .marimo .swiper-pagination-bullet-active-prev{transform:scale(.66)}& .marimo .swiper-pagination-bullet-active-prev-prev{transform:scale(.33)}& .marimo .swiper-pagination-bullet-active-next{transform:scale(.66)}& .marimo .swiper-pagination-bullet-active-next-next{transform:scale(.33)}}.marimo .swiper-pagination-bullet{background:var(--swiper-pagination-bullet-inactive-color,#000);border-radius:var(--swiper-pagination-bullet-border-radius,50%);height:var(--swiper-pagination-bullet-height,var(--swiper-pagination-bullet-size,8px));opacity:var(--swiper-pagination-bullet-inactive-opacity,.2);width:var(--swiper-pagination-bullet-width,var(--swiper-pagination-bullet-size,8px));display:inline-block;.marimo button&{appearance:none;box-shadow:none;border:none;margin:0;padding:0}.marimo .swiper-pagination-clickable &{cursor:pointer}.marimo &:only-child{display:none!important}}.marimo .swiper-pagination-bullet-active{background:var(--swiper-pagination-color,var(--swiper-theme-color));opacity:var(--swiper-pagination-bullet-opacity,1)}.marimo .swiper-pagination-vertical.swiper-pagination-bullets,.marimo .swiper-vertical>.swiper-pagination-bullets{left:var(--swiper-pagination-left,auto);right:var(--swiper-pagination-right,8px);top:50%;transform:translateY(-50%);& .marimo .swiper-pagination-bullet{margin:var(--swiper-pagination-bullet-vertical-gap,6px) 0;display:block}.marimo &.swiper-pagination-bullets-dynamic{width:8px;top:50%;transform:translateY(-50%);& .marimo .swiper-pagination-bullet{transition:transform .2s,top .2s;display:inline-block}}}.marimo .swiper-horizontal>.swiper-pagination-bullets,.marimo .swiper-pagination-horizontal.swiper-pagination-bullets{& .marimo .swiper-pagination-bullet{margin:0 var(--swiper-pagination-bullet-horizontal-gap,4px)}.marimo &.swiper-pagination-bullets-dynamic{white-space:nowrap;left:50%;transform:translate(-50%);& .marimo .swiper-pagination-bullet{transition:transform .2s,left .2s}}}.marimo .swiper-horizontal.swiper-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:transform .2s,right .2s}.marimo .swiper-pagination-fraction{color:var(--swiper-pagination-fraction-color,inherit)}.marimo .swiper-pagination-progressbar{background:var(--swiper-pagination-progressbar-bg-color,#00000040);position:absolute;& .marimo .swiper-pagination-progressbar-fill{background:var(--swiper-pagination-color,var(--swiper-theme-color));transform-origin:0 0;width:100%;height:100%;position:absolute;top:0;left:0;transform:scale(0)}.marimo .swiper-rtl & .swiper-pagination-progressbar-fill{transform-origin:100% 0}.marimo &.swiper-pagination-horizontal,.marimo &.swiper-pagination-vertical.swiper-pagination-progressbar-opposite,.marimo .swiper-horizontal>&,.marimo .swiper-vertical>&.swiper-pagination-progressbar-opposite{height:var(--swiper-pagination-progressbar-size,4px);width:100%;top:0;left:0}.marimo &.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite,.marimo &.swiper-pagination-vertical,.marimo .swiper-horizontal>&.swiper-pagination-progressbar-opposite,.marimo .swiper-vertical>&{height:100%;width:var(--swiper-pagination-progressbar-size,4px);top:0;left:0}}.marimo .swiper-pagination-lock{display:none}.marimo .swiper-scrollbar{background:var(--swiper-scrollbar-bg-color,#0000001a);border-radius:var(--swiper-scrollbar-border-radius,10px);touch-action:none;position:relative;.marimo &.swiper-scrollbar-disabled,.marimo .swiper-scrollbar-disabled>&{display:none!important}.marimo &.swiper-scrollbar-horizontal,.marimo .swiper-horizontal>&{bottom:var(--swiper-scrollbar-bottom,4px);height:var(--swiper-scrollbar-size,4px);left:var(--swiper-scrollbar-sides-offset,1%);top:var(--swiper-scrollbar-top,auto);width:calc(100% - var(--swiper-scrollbar-sides-offset,1%)*2);z-index:50;position:absolute}.marimo &.swiper-scrollbar-vertical,.marimo .swiper-vertical>&{height:calc(100% - var(--swiper-scrollbar-sides-offset,1%)*2);left:var(--swiper-scrollbar-left,auto);right:var(--swiper-scrollbar-right,4px);top:var(--swiper-scrollbar-sides-offset,1%);width:var(--swiper-scrollbar-size,4px);z-index:50;position:absolute}}.marimo .swiper-scrollbar-drag{background:var(--swiper-scrollbar-drag-bg-color,#00000080);border-radius:var(--swiper-scrollbar-border-radius,10px);width:100%;height:100%;position:relative;top:0;left:0}.marimo .swiper-scrollbar-cursor-drag{cursor:move}.marimo .swiper-scrollbar-lock{display:none}.marimo .mo-slides-theme{--swiper-theme-color:var(--primary);--swiper-pagination-color:var(--swiper-theme-color);--swiper-pagination-left:auto;--swiper-pagination-right:8px;--swiper-pagination-bottom:8px;--swiper-pagination-top:auto;--swiper-pagination-fraction-color:inherit;--swiper-pagination-progressbar-bg-color:#00000040;--swiper-pagination-progressbar-size:4px;--swiper-pagination-bullet-size:8px;--swiper-pagination-bullet-width:8px;--swiper-pagination-bullet-height:8px;--swiper-pagination-bullet-border-radius:50%;--swiper-pagination-bullet-inactive-color:#000;--swiper-pagination-bullet-inactive-opacity:.2;--swiper-pagination-bullet-opacity:1;--swiper-pagination-bullet-horizontal-gap:4px;--swiper-pagination-bullet-vertical-gap:6px;& .marimo .swiper-button-next,& .marimo .swiper-button-prev{opacity:0;--swiper-navigation-sides-offset:0;--swiper-navigation-size:20px;background-color:#0000001a;height:100%;margin-top:0;padding:0 15px;font-weight:900;transition:opacity .3s;top:0;bottom:0;.marimo &.swiper-button-disabled{opacity:0}.marimo &:hover:not(.swiper-button-disabled){opacity:1}}}@font-face{font-family:swiper-icons;font-style:normal;font-weight:400;src:url("data:application/font-woff;charset=utf-8;base64, d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBcAGYAcAB6AIQAjgCYAKIArAC2AMAAygDUAN4A6ADyAPwBBgEQARoBJAEuATgBQgFMAVYBYAFqAXQBfgGIAZIBnAGmAbIBzgHsAAB42u2NMQ6CUAyGW568x9AneYYgm4MJbhKFaExIOAVX8ApewSt4Bic4AfeAid3VOBixDxfPYEza5O+Xfi04YADggiUIULCuEJK8VhO4bSvpdnktHI5QCYtdi2sl8ZnXaHlqUrNKzdKcT8cjlq+rwZSvIVczNiezsfnP/uznmfPFBNODM2K7MTQ45YEAZqGP81AmGGcF3iPqOop0r1SPTaTbVkfUe4HXj97wYE+yNwWYxwWu4v1ugWHgo3S1XdZEVqWM7ET0cfnLGxWfkgR42o2PvWrDMBSFj/IHLaF0zKjRgdiVMwScNRAoWUoH78Y2icB/yIY09An6AH2Bdu/UB+yxopYshQiEvnvu0dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMkpFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA")}.marimo :host:host{display:initial}', CarouselPlugin = class {
|
|
28490
28562
|
constructor() {
|
|
28491
28563
|
__publicField(this, "tagName", "marimo-carousel");
|
|
28492
28564
|
__publicField(this, "validator", object({
|
|
@@ -28513,7 +28585,7 @@ ${c}
|
|
|
28513
28585
|
children: e.children
|
|
28514
28586
|
});
|
|
28515
28587
|
}
|
|
28516
|
-
}, LazySlidesComponent$1 = import_react.lazy(() => import("./swiper-component-
|
|
28588
|
+
}, LazySlidesComponent$1 = import_react.lazy(() => import("./swiper-component-CEdAYjb7.js"));
|
|
28517
28589
|
const DownloadPlugin = createPlugin("marimo-download").withData(object({
|
|
28518
28590
|
data: string(),
|
|
28519
28591
|
disabled: boolean().default(false),
|
|
@@ -28703,7 +28775,7 @@ ${c}
|
|
|
28703
28775
|
themeVariables: e.data.theme_variables
|
|
28704
28776
|
});
|
|
28705
28777
|
}
|
|
28706
|
-
}, LazyMermaid = (0, import_react.lazy)(() => import("./mermaid-
|
|
28778
|
+
}, LazyMermaid = (0, import_react.lazy)(() => import("./mermaid-hv6IckVw.js").then(async (m) => {
|
|
28707
28779
|
await m.__tla;
|
|
28708
28780
|
return m;
|
|
28709
28781
|
})), import_compiler_runtime$22 = require_compiler_runtime();
|
|
@@ -38146,7 +38218,7 @@ ${c}
|
|
|
38146
38218
|
function _temp2$2(e) {
|
|
38147
38219
|
e.target === e.currentTarget && e.key === "Enter" && (e.preventDefault(), e.stopPropagation(), e.currentTarget.click());
|
|
38148
38220
|
}
|
|
38149
|
-
var LazySlidesComponent = import_react.lazy(() => import("./reveal-component-
|
|
38221
|
+
var LazySlidesComponent = import_react.lazy(() => import("./reveal-component-JIt3oSeU.js"));
|
|
38150
38222
|
const SlidesLayoutRenderer = ({ layout: e, setLayout: r, cells: c, mode: l }) => {
|
|
38151
38223
|
var _a5;
|
|
38152
38224
|
let u = useAtomValue(kioskModeAtom), d = l === "read" || u, f = useAtomValue(numColumnsAtom) > 1, [p, m] = (0, import_react.useState)(null), { slideCells: h, skippedIds: g, noOutputIds: _, slideTypes: v, startCellIndex: y } = (0, import_react.useMemo)(() => computeSlideCellsInfo(c, e), [
|
|
@@ -38789,23 +38861,12 @@ ${c}
|
|
|
38789
38861
|
return r;
|
|
38790
38862
|
}
|
|
38791
38863
|
async function downloadAsHTML(e) {
|
|
38792
|
-
let r = getRequestClient(), {
|
|
38864
|
+
let r = getRequestClient(), { includeCode: c } = e;
|
|
38865
|
+
downloadExportedFile(await r.exportAsHTML({
|
|
38793
38866
|
download: true,
|
|
38794
|
-
includeCode:
|
|
38867
|
+
includeCode: c,
|
|
38795
38868
|
files: VirtualFileTracker.INSTANCE.filenames()
|
|
38796
|
-
})
|
|
38797
|
-
downloadBlob(new Blob([
|
|
38798
|
-
u
|
|
38799
|
-
], {
|
|
38800
|
-
type: "text/html"
|
|
38801
|
-
}), Filenames.toHTML(d));
|
|
38802
|
-
}
|
|
38803
|
-
function cellDomProps(e, r) {
|
|
38804
|
-
return {
|
|
38805
|
-
"data-cell-id": e,
|
|
38806
|
-
"data-cell-name": r,
|
|
38807
|
-
id: HTMLCellId.create(e)
|
|
38808
|
-
};
|
|
38869
|
+
}));
|
|
38809
38870
|
}
|
|
38810
38871
|
var import_compiler_runtime$5 = require_compiler_runtime(), DELAY_PER_CELL = 30;
|
|
38811
38872
|
function useDelayVisibility(e, r) {
|
|
@@ -38996,7 +39057,7 @@ ${c}
|
|
|
38996
39057
|
"data-testid": "notebook-action-download-python",
|
|
38997
39058
|
children: [
|
|
38998
39059
|
e3,
|
|
38999
|
-
"Download
|
|
39060
|
+
"Download notebook source"
|
|
39000
39061
|
]
|
|
39001
39062
|
}, "download-python"), r[18] = g, r[19] = c2), y.push(c2);
|
|
39002
39063
|
}
|
|
@@ -39059,20 +39120,20 @@ ${c}
|
|
|
39059
39120
|
}, false), r[0] = _, r[1] = c, r[2] = y, r[3] = v, r[4] = f, r[5] = M) : M = r[5];
|
|
39060
39121
|
let I = M, L;
|
|
39061
39122
|
r[6] === f ? L = r[7] : (L = outputIsLoading(f), r[6] = f, r[7] = L);
|
|
39062
|
-
let R = L,
|
|
39063
|
-
if (r[8] !== b || r[9] !== m || r[10] !==
|
|
39123
|
+
let R = L, B = E && w !== "present", H;
|
|
39124
|
+
if (r[8] !== b || r[9] !== m || r[10] !== B || r[11] !== S || r[12] !== p) {
|
|
39064
39125
|
let e2 = new MarkdownLanguageAdapter().isSupported(b);
|
|
39065
|
-
|
|
39126
|
+
H = cn("marimo-cell", "hover-actions-parent empty:invisible", !S && !B ? publishedCellClasses({
|
|
39066
39127
|
errored: m,
|
|
39067
39128
|
stopped: p
|
|
39068
39129
|
}) : {
|
|
39069
39130
|
"has-error": m,
|
|
39070
39131
|
stopped: p,
|
|
39071
39132
|
borderless: e2
|
|
39072
|
-
}), r[8] = b, r[9] = m, r[10] =
|
|
39073
|
-
} else
|
|
39074
|
-
let
|
|
39075
|
-
if (w === "read" && S ||
|
|
39133
|
+
}), r[8] = b, r[9] = m, r[10] = B, r[11] = S, r[12] = p, r[13] = H;
|
|
39134
|
+
} else H = r[13];
|
|
39135
|
+
let W = H;
|
|
39136
|
+
if (w === "read" && S || B) {
|
|
39076
39137
|
let e2;
|
|
39077
39138
|
r[14] !== d || r[15] !== R || r[16] !== c || r[17] !== I ? (e2 = (0, import_jsx_runtime.jsx)(OutputArea, {
|
|
39078
39139
|
allowExpand: true,
|
|
@@ -39108,10 +39169,10 @@ ${c}
|
|
|
39108
39169
|
debuggerActive: false
|
|
39109
39170
|
}), r[31] = d, r[32] = l, r[33] = _, r[34] = T, r[35] = I, r[36] = O2) : O2 = r[36];
|
|
39110
39171
|
let M2;
|
|
39111
|
-
return r[37] !==
|
|
39172
|
+
return r[37] !== W || r[38] !== E2 || r[39] !== O2 || r[40] !== y2 || r[41] !== S2 || r[42] !== w2 ? (M2 = (0, import_jsx_runtime.jsxs)("div", {
|
|
39112
39173
|
tabIndex: -1,
|
|
39113
39174
|
ref: j,
|
|
39114
|
-
className:
|
|
39175
|
+
className: W,
|
|
39115
39176
|
...y2,
|
|
39116
39177
|
children: [
|
|
39117
39178
|
S2,
|
|
@@ -39119,7 +39180,7 @@ ${c}
|
|
|
39119
39180
|
E2,
|
|
39120
39181
|
O2
|
|
39121
39182
|
]
|
|
39122
|
-
}), r[37] =
|
|
39183
|
+
}), r[37] = W, r[38] = E2, r[39] = O2, r[40] = y2, r[41] = S2, r[42] = w2, r[43] = M2) : M2 = r[43], M2;
|
|
39123
39184
|
}
|
|
39124
39185
|
if (shouldHidePublishedCell({
|
|
39125
39186
|
errored: m,
|
|
@@ -39128,25 +39189,25 @@ ${c}
|
|
|
39128
39189
|
output: c,
|
|
39129
39190
|
showErrorTracebacks: O
|
|
39130
39191
|
})) return null;
|
|
39131
|
-
let
|
|
39132
|
-
r[44] !== d || r[45] !== T ? (
|
|
39133
|
-
let
|
|
39134
|
-
r[47] !== d || r[48] !== R || r[49] !== c || r[50] !== I || r[51] !==
|
|
39135
|
-
allowExpand:
|
|
39192
|
+
let G;
|
|
39193
|
+
r[44] !== d || r[45] !== T ? (G = cellDomProps(d, T), r[44] = d, r[45] = T, r[46] = G) : G = r[46];
|
|
39194
|
+
let q = w === "edit", Z;
|
|
39195
|
+
r[47] !== d || r[48] !== R || r[49] !== c || r[50] !== I || r[51] !== q ? (Z = (0, import_jsx_runtime.jsx)(OutputArea, {
|
|
39196
|
+
allowExpand: q,
|
|
39136
39197
|
output: c,
|
|
39137
39198
|
className: CSSClasses.outputArea,
|
|
39138
39199
|
cellId: d,
|
|
39139
39200
|
stale: I,
|
|
39140
39201
|
loading: R
|
|
39141
|
-
}), r[47] = d, r[48] = R, r[49] = c, r[50] = I, r[51] =
|
|
39142
|
-
let
|
|
39143
|
-
return r[53] !==
|
|
39202
|
+
}), r[47] = d, r[48] = R, r[49] = c, r[50] = I, r[51] = q, r[52] = Z) : Z = r[52];
|
|
39203
|
+
let QW;
|
|
39204
|
+
return r[53] !== W || r[54] !== G || r[55] !== Z ? (QW = (0, import_jsx_runtime.jsx)("div", {
|
|
39144
39205
|
tabIndex: -1,
|
|
39145
39206
|
ref: j,
|
|
39146
|
-
className:
|
|
39147
|
-
...
|
|
39148
|
-
children:
|
|
39149
|
-
}), r[53] =
|
|
39207
|
+
className: W,
|
|
39208
|
+
...G,
|
|
39209
|
+
children: Z
|
|
39210
|
+
}), r[53] = W, r[54] = G, r[55] = Z, r[56] = QW) : QW = r[56], QW;
|
|
39150
39211
|
});
|
|
39151
39212
|
VerticalCell.displayName = "VerticalCell";
|
|
39152
39213
|
const VerticalLayoutPlugin = {
|
|
@@ -39185,7 +39246,6 @@ ${c}
|
|
|
39185
39246
|
}
|
|
39186
39247
|
async function _temp3() {
|
|
39187
39248
|
document.getElementById("App") && await downloadAsHTML({
|
|
39188
|
-
filename: document.title,
|
|
39189
39249
|
includeCode: true
|
|
39190
39250
|
});
|
|
39191
39251
|
}
|
|
@@ -39901,6 +39961,7 @@ ${c}
|
|
|
39901
39961
|
case "sql-schema-list-preview":
|
|
39902
39962
|
case "datasets":
|
|
39903
39963
|
case "data-source-connections":
|
|
39964
|
+
case "data-source-discovery-result":
|
|
39904
39965
|
case "validate-sql-result":
|
|
39905
39966
|
case "storage-namespaces":
|
|
39906
39967
|
case "storage-entries":
|
|
@@ -40229,6 +40290,7 @@ ${c}
|
|
|
40229
40290
|
constructor(e = {}) {
|
|
40230
40291
|
__publicField(this, "sessionReady", new Deferred());
|
|
40231
40292
|
__publicField(this, "nextSessionGeneration", 0);
|
|
40293
|
+
__publicField(this, "activeSessionGenerations", /* @__PURE__ */ new Set());
|
|
40232
40294
|
__publicField(this, "appTransition", Promise.resolve());
|
|
40233
40295
|
__publicField(this, "workerReady", new Deferred());
|
|
40234
40296
|
__publicField(this, "initialized", new Deferred());
|
|
@@ -40282,6 +40344,7 @@ ${c}
|
|
|
40282
40344
|
__publicField(this, "previewSQLTableList", throwNotImplemented);
|
|
40283
40345
|
__publicField(this, "previewSQLSchemaList", throwNotImplemented);
|
|
40284
40346
|
__publicField(this, "previewDataSourceConnection", throwNotImplemented);
|
|
40347
|
+
__publicField(this, "discoverDataSources", throwNotImplemented);
|
|
40285
40348
|
__publicField(this, "validateSQL", throwNotImplemented);
|
|
40286
40349
|
__publicField(this, "openFile", throwNotImplemented);
|
|
40287
40350
|
__publicField(this, "sendListFiles", throwNotImplemented);
|
|
@@ -40295,9 +40358,11 @@ ${c}
|
|
|
40295
40358
|
__publicField(this, "sendUpdateFile", throwNotImplemented);
|
|
40296
40359
|
__publicField(this, "sendFileDetails", throwNotImplemented);
|
|
40297
40360
|
__publicField(this, "openTutorial", throwNotImplemented);
|
|
40361
|
+
__publicField(this, "getExportAvailability", throwNotImplemented);
|
|
40298
40362
|
__publicField(this, "exportAsHTML", throwNotImplemented);
|
|
40299
40363
|
__publicField(this, "exportAsIPYNB", throwNotImplemented);
|
|
40300
40364
|
__publicField(this, "exportAsMarkdown", throwNotImplemented);
|
|
40365
|
+
__publicField(this, "exportAsScript", throwNotImplemented);
|
|
40301
40366
|
__publicField(this, "exportAsPDF", throwNotImplemented);
|
|
40302
40367
|
__publicField(this, "autoExportAsHTML", throwNotImplemented);
|
|
40303
40368
|
__publicField(this, "autoExportAsMarkdown", throwNotImplemented);
|
|
@@ -40334,7 +40399,7 @@ ${c}
|
|
|
40334
40399
|
Logger.error("Islands initialization error:", e), this.store.set(islandsInitializedAtom, e), this.initialized.reject(Error(e));
|
|
40335
40400
|
}), this.rpc.addMessageListener("kernelMessage", (e) => {
|
|
40336
40401
|
var _a5;
|
|
40337
|
-
(_a5 = this.messageConsumer) == null ? void 0 : _a5.call(this, e);
|
|
40402
|
+
this.activeSessionGenerations.has(e.sessionGeneration) && ((_a5 = this.messageConsumer) == null ? void 0 : _a5.call(this, e));
|
|
40338
40403
|
});
|
|
40339
40404
|
}
|
|
40340
40405
|
async initializeApps() {
|
|
@@ -40353,7 +40418,7 @@ ${c}
|
|
|
40353
40418
|
parseMarimoIslandApps(this.root);
|
|
40354
40419
|
return;
|
|
40355
40420
|
}
|
|
40356
|
-
e.length > 0 && this.store.set(islandsPendingInitialRunsAtom, new Set(e.map((e2, r2) => this.nextSessionGeneration + r2 + 1))), parseMarimoIslandApps(this.root);
|
|
40421
|
+
e.length > 0 && (this.activeSessionGenerations.clear(), this.store.set(islandsPendingInitialRunsAtom, new Set(e.map((e2, r2) => this.nextSessionGeneration + r2 + 1)))), parseMarimoIslandApps(this.root);
|
|
40357
40422
|
for (let c2 of e) {
|
|
40358
40423
|
let e2 = u || createMarimoFile(c2);
|
|
40359
40424
|
Logger.debug(`App ${c2.id} marimo file:
|
|
@@ -40363,7 +40428,7 @@ ${c}
|
|
|
40363
40428
|
appId: c2.id,
|
|
40364
40429
|
sessionGeneration: ++this.nextSessionGeneration
|
|
40365
40430
|
}, d = this.session, f = r && d !== void 0;
|
|
40366
|
-
f && this.store.set(notebookAtom, initialNotebookState()), (r || !d) && (r && this.sessionReady.status !== "pending" && (this.sessionReady = new Deferred()), this.session = {
|
|
40431
|
+
this.activeSessionGenerations.add(l2.sessionGeneration), f && this.store.set(notebookAtom, initialNotebookState()), (r || !d) && (r && this.sessionReady.status !== "pending" && (this.sessionReady = new Deferred()), this.session = {
|
|
40367
40432
|
...l2,
|
|
40368
40433
|
code: r ? e2 : void 0
|
|
40369
40434
|
});
|
|
@@ -40371,14 +40436,14 @@ ${c}
|
|
|
40371
40436
|
try {
|
|
40372
40437
|
await p, this.sessionReady.status === "pending" && this.session && this.sessionReady.resolve(this.session);
|
|
40373
40438
|
} catch (e3) {
|
|
40374
|
-
if (((_d4 = this.session) == null ? void 0 : _d4.sessionGeneration) === l2.sessionGeneration && (this.session = d), Logger.error(`Failed to start session for app ${c2.id}:`, e3), r) throw e3;
|
|
40439
|
+
if (this.activeSessionGenerations.delete(l2.sessionGeneration), ((_d4 = this.session) == null ? void 0 : _d4.sessionGeneration) === l2.sessionGeneration && (this.session = d, d && this.activeSessionGenerations.add(d.sessionGeneration)), Logger.error(`Failed to start session for app ${c2.id}:`, e3), r) throw e3;
|
|
40375
40440
|
}
|
|
40376
40441
|
}
|
|
40377
40442
|
}
|
|
40378
40443
|
async stopSession(e) {
|
|
40379
40444
|
await this.enqueueAppTransition(async () => {
|
|
40380
40445
|
let r = this.session;
|
|
40381
|
-
(r == null ? void 0 : r.code) === void 0 || e && r.appId !== e || (await this.rpc.proxy.request.stopSession({
|
|
40446
|
+
(r == null ? void 0 : r.code) === void 0 || e && r.appId !== e || (this.activeSessionGenerations.delete(r.sessionGeneration), await this.rpc.proxy.request.stopSession({
|
|
40382
40447
|
appId: r.appId,
|
|
40383
40448
|
sessionGeneration: r.sessionGeneration
|
|
40384
40449
|
}), this.store.set(islandsPendingInitialRunsAtom, null), this.session = void 0, this.sessionReady = new Deferred(), this.store.set(notebookAtom, initialNotebookState()));
|