@marimo-team/islands 0.23.17-dev4 → 0.23.17-dev40
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-f9vLjQiF.js → ConnectedDataExplorerComponent-BBZRR1-C.js} +16 -16
- package/dist/{ErrorBoundary-DhLqwSWA.js → ErrorBoundary-CptUP1_t.js} +3 -3
- package/dist/{ImageComparisonComponent-C3y7L3eJ.js → ImageComparisonComponent-fdY0LUuf.js} +38 -27
- package/dist/{any-language-editor-DifE-fl7.js → any-language-editor-BnIS9Mvg.js} +21 -21
- package/dist/assets/__vite-browser-external-DUz7vvG0.js +1 -0
- package/dist/assets/{worker-CDEKsBgX.js → worker-Cl1KJG2_.js} +2 -2
- package/dist/{button-BSm8IXRU.js → button-8aS1QcHr.js} +4 -2
- package/dist/{capabilities-C6OQ5YBO.js → capabilities-D23lgbH_.js} +1 -1
- package/dist/chat-ui-DH9M4L-6.js +8620 -0
- package/dist/{check-DP7U0H0G.js → check-D-BaEjEh.js} +1 -1
- package/dist/{common-BcQ4kHDP.js → common-DSVkRiDF.js} +652 -652
- package/dist/{copy-DNq8q3zw.js → copy-BkA3t7rJ.js} +2 -2
- package/dist/{defaultLocale-BpsHxBd7.js → defaultLocale-BsfI21d_.js} +26 -26
- package/dist/{diagram-PSM6KHXK-D4ftnaua.js → diagram-PSM6KHXK-D3GsWNcQ.js} +1 -1
- package/dist/{dist-BpeiYpG2.js → dist-3F1XDSYc.js} +2 -2
- package/dist/{dist-BP39XM8u.js → dist-B-upo54Y.js} +1 -1
- package/dist/{dist-BdqCKQ1O.js → dist-B1W12VzQ.js} +2 -2
- package/dist/{dist-3NCqaWjt.js → dist-B6au1PTB.js} +2 -2
- package/dist/{dist-BCX980mU.js → dist-BDwn6WIk.js} +2 -2
- package/dist/dist-BDzVdDo2.js +8 -0
- package/dist/dist-BH2Tq1S1.js +5 -0
- package/dist/dist-BIhBrzqg.js +5 -0
- package/dist/dist-BLCsvXTG.js +6 -0
- package/dist/dist-BNVtuFdd.js +5 -0
- package/dist/{dist-BOMbzyb3.js → dist-BNeJ8P-4.js} +3 -3
- package/dist/{dist-LpLXa9Lb.js → dist-BT96P4oR.js} +2 -2
- package/dist/{dist-CFSb_Frm.js → dist-BUzxp0Xf.js} +1 -1
- package/dist/{dist-JGehap7K.js → dist-Ba1WFESi.js} +5 -5
- package/dist/{dist-CRmSjkLP.js → dist-BrKNRKC8.js} +2 -2
- package/dist/{dist-BIEt-mlF.js → dist-BvvQUFUK.js} +1 -1
- package/dist/{dist-pqIwD8VD.js → dist-BxR-g1ig.js} +2 -2
- package/dist/{dist-DviUBLUp.js → dist-CBraAJlT.js} +4 -4
- package/dist/{dist-BwhXBwMd.js → dist-CDBV8n0I.js} +1 -1
- package/dist/dist-CEJ6Lowi.js +5 -0
- package/dist/{dist-CSlJrrAw.js → dist-CWYsUX_O.js} +1 -1
- package/dist/dist-CYoa69kj.js +5 -0
- package/dist/{dist-DwqBJ014.js → dist-CdKRSqjo.js} +2 -2
- package/dist/{dist-De-GlSAs.js → dist-Cds3J-EE.js} +15 -9
- package/dist/dist-CnZyXFq3.js +8 -0
- package/dist/dist-D-4HaJKc.js +8 -0
- package/dist/{dist-C18MUWTj.js → dist-D8SX5Qdg.js} +2 -2
- package/dist/{dist-D3bdsa1d.js → dist-DFQ91Mx1.js} +4 -4
- package/dist/{dist-BPF0gTRZ.js → dist-DGQmYLkh.js} +1 -1
- package/dist/dist-DIGyvbg3.js +5 -0
- package/dist/dist-DIhaoCL4.js +5 -0
- package/dist/{dist-C2_4pjuS.js → dist-DK0pFEmc.js} +1 -1
- package/dist/{dist-BTdrwBWP.js → dist-DQj6A7SE.js} +3 -3
- package/dist/{dist-DIlxLFXG.js → dist-DarwE0ZO.js} +11 -11
- package/dist/{dist-DaXJPX8F.js → dist-Ddb0VFS3.js} +2 -2
- package/dist/dist-DgQleHmb.js +8 -0
- package/dist/{dist-DZwp8lro.js → dist-DgkJegw4.js} +3 -3
- package/dist/{dist-BO5HRiTf.js → dist-DjQRRttD.js} +2 -2
- package/dist/dist-JaoLzZmt.js +5 -0
- package/dist/{dist-B2jmQKKx.js → dist-PQDZaPEo.js} +2 -2
- package/dist/{dist-4lVIWUT3.js → dist-Slyx4vXr.js} +1 -1
- package/dist/{dist-DgjbnqTg.js → dist-dJeh9ef4.js} +2 -2
- package/dist/dist-pEX0t8ZV.js +6 -0
- package/dist/{dist-w_gWE5Wf.js → dist-v-kAJfMq.js} +1 -1
- package/dist/{error-banner-B_GQfxxD.js → error-banner-dmkbm21G.js} +2 -2
- package/dist/{esm-DzZVaNH4.js → esm-D8vjxCyn.js} +3 -3
- package/dist/{esm-DKOv6P2M.js → esm-DEQU-LUO.js} +22 -22
- package/dist/{extends-w2_S44bV.js → extends-DDOVg_b8.js} +5 -5
- package/dist/{formats-Dwq1THhr.js → formats-xc-Msa0v.js} +3 -3
- package/dist/{ganttDiagram-JELNMOA3-CXXCN7LN.js → ganttDiagram-JELNMOA3-D9ywbC5g.js} +3 -3
- package/dist/{glide-data-editor-B9K6-MJe.js → glide-data-editor-CyTNN635.js} +9 -9
- package/dist/{html-to-image-CZ1kLKkq.js → html-to-image-DrEMf75G.js} +2219 -2209
- package/dist/{input-C5K4VBvB.js → input-B4ddy8Jy.js} +6 -6
- package/dist/{label-DjoYwqmj.js → label-CzHncDvS.js} +2 -2
- package/dist/{linear-H_vsH9ao.js → linear-BOGUO8Cd.js} +2 -2
- package/dist/{loader-DX-IDS7n.js → loader-C7SfUdOD.js} +10 -10
- package/dist/main.js +729 -733
- package/dist/{mermaid-hv6IckVw.js → mermaid-CpL8y5pw.js} +9 -9
- package/dist/{precisionRound-CnHPY_5v.js → precisionRound-Bq50n-bG.js} +1 -1
- package/dist/{process-output-bVfbcx5_.js → process-output-B9IHQuus.js} +3 -3
- package/dist/{quadrantDiagram-AYHSOK5B-BqDB9tUC.js → quadrantDiagram-AYHSOK5B-DD4QBdSv.js} +2 -2
- package/dist/{react-vega-BazDALhI.js → react-vega-Cg17A6rO.js} +8017 -4777
- package/dist/{reveal-component-9QGZq7uF.js → reveal-component-CUzZw4ZH.js} +19 -19
- package/dist/{spec-CQKL_D3i.js → spec-uMKNvMRZ.js} +4 -4
- package/dist/{strings-DIy9NAmg.js → strings-BUDhKc0s.js} +299 -299
- package/dist/style.css +1 -1
- package/dist/{swiper-component-CEdAYjb7.js → swiper-component-dl1H9WIW.js} +2 -2
- package/dist/{time-Bb4A7I6a.js → time-CQnohwNM.js} +2 -2
- package/dist/{toDate-CqhBWjvO.js → toDate-BiyuFdnT.js} +3 -3
- package/dist/{tooltip-f-qR0iUx.js → tooltip-CkCWlUOf.js} +3 -3
- package/dist/{types-DicH9Oi0.js → types-uENjXsiC.js} +1 -1
- package/dist/{useAsyncData-CYOQb1EW.js → useAsyncData-DqJLysjC.js} +1 -1
- package/dist/{useDateFormatter-Bt2qr_XS.js → useDateFormatter-BeN3fHMH.js} +2 -2
- package/dist/{useDeepCompareMemoize-CSHQeQEI.js → useDeepCompareMemoize-CvlmHAmy.js} +1 -1
- package/dist/{useIframeCapabilities-kA09ykNq.js → useIframeCapabilities-pLC-ceDP.js} +1 -1
- package/dist/{useLifecycle-CMJGqBaY.js → useLifecycle-D4N02q82.js} +3 -3
- package/dist/{useTheme-DYfby65G.js → useTheme-Dur2p3iC.js} +4 -3
- package/dist/{vega-component-C7nO5zcf.js → vega-component-Cft458Sr.js} +13 -13
- package/dist/{vega-embed-container-DAQAMjiO.js → vega-embed-container-S9gRu4TZ.js} +3 -3
- package/dist/{vega-loader.browser-DmpxCJqx.js → vega-loader.browser-CmLRI3wk.js} +104 -111
- package/dist/{xychartDiagram-PRI3JC2R-BSkNxYNw.js → xychartDiagram-PRI3JC2R-D9DgEtKn.js} +2 -2
- package/dist/{zod-BUcyXSdR.js → zod-yTHHzJiv.js} +37 -38
- package/package.json +6 -6
- package/src/__mocks__/requests.ts +5 -0
- package/src/components/app-config/user-config-form.tsx +26 -0
- package/src/components/chat/__tests__/chat-abort.test.ts +51 -0
- package/src/components/chat/chat-abort.ts +44 -0
- package/src/components/chat/chat-display.tsx +17 -0
- package/src/components/chat/chat-panel.tsx +85 -37
- package/src/components/chat/chat-utils.ts +1 -1
- package/src/components/data-table/charts/__tests__/schemas.test.ts +35 -0
- package/src/components/data-table/charts/schemas.ts +5 -2
- package/src/components/databases/icons/huggingface.svg +8 -0
- package/src/components/datasets/__tests__/icons.test.ts +21 -0
- package/src/components/datasets/icons.tsx +10 -0
- package/src/components/datasources/__tests__/components.test.tsx +29 -0
- package/src/components/datasources/components.tsx +8 -3
- package/src/components/editor/actions/export-dialog/__tests__/export-dialog.test.tsx +35 -0
- package/src/components/editor/actions/export-dialog/__tests__/state.test.ts +61 -0
- package/src/components/editor/actions/export-dialog/export-command.ts +4 -9
- package/src/components/editor/actions/export-dialog/export-dialog.tsx +27 -23
- package/src/components/editor/actions/export-dialog/format-notice.tsx +28 -0
- package/src/components/editor/actions/export-dialog/state.ts +23 -5
- package/src/components/editor/actions/export-dialog/use-export-dialog.ts +7 -15
- package/src/components/editor/actions/useConfigActions.tsx +24 -0
- package/src/components/editor/ai/add-cell-with-ai.tsx +2 -2
- package/src/components/editor/ai/ai-completion-editor.tsx +2 -2
- package/src/components/editor/chrome/panels/outline/__tests__/useActiveOutline.test.ts +26 -0
- package/src/components/editor/code/__tests__/readonly-python-code.test.tsx +114 -2
- package/src/components/editor/connections/storage/__tests__/__snapshots__/as-code.test.ts.snap +14 -0
- package/src/components/editor/connections/storage/__tests__/as-code.test.ts +20 -0
- package/src/components/editor/connections/storage/add-storage-form.tsx +10 -0
- package/src/components/editor/connections/storage/as-code.ts +19 -1
- package/src/components/editor/connections/storage/schemas.ts +19 -0
- package/src/components/storage/__tests__/storage-snippets.test.ts +88 -0
- package/src/components/storage/components.tsx +2 -0
- package/src/components/storage/storage-snippets.ts +58 -0
- package/src/core/__tests__/mode.test.ts +85 -0
- package/src/core/ai/constants.ts +7 -0
- package/src/core/ai/staged-cells.ts +3 -0
- package/src/core/codemirror/__tests__/setup.test.ts +1 -1
- package/src/core/codemirror/cm.ts +2 -2
- package/src/core/codemirror/code-lens/__tests__/extension.test.ts +4 -5
- package/src/core/codemirror/code-lens/extension.ts +3 -3
- package/src/core/codemirror/find-replace/search-highlight.ts +8 -3
- package/src/core/codemirror/language/languages/sql/__tests__/renderers.test.tsx +44 -0
- package/src/core/codemirror/language/languages/sql/renderers.tsx +3 -3
- package/src/core/codemirror/theme/__tests__/light.test.ts +59 -123
- package/src/core/codemirror/theme/dark.ts +6 -5
- package/src/core/codemirror/theme/light.ts +6 -4
- package/src/core/config/__tests__/config-schema.test.ts +2 -0
- package/src/core/config/config-schema.ts +1 -0
- package/src/core/config/feature-flag.tsx +0 -2
- package/src/core/dom/outline.ts +25 -2
- package/src/core/hotkeys/hotkeys.ts +2 -0
- package/src/core/mode.ts +11 -9
- package/src/core/network/__tests__/api.test.ts +132 -17
- package/src/core/network/__tests__/export-filename.test.ts +43 -0
- package/src/core/network/__tests__/requests-lazy.test.ts +1 -0
- package/src/core/network/api.ts +47 -12
- package/src/core/network/export-filename.ts +37 -0
- package/src/core/network/markdown-export.ts +19 -0
- package/src/core/network/requests-network.ts +29 -5
- package/src/core/network/types.ts +3 -0
- package/src/core/storage/types.ts +1 -0
- package/src/css/app/codemirror.css +11 -7
- package/src/css/globals.css +8 -0
- package/src/plugins/impl/DataEditorPlugin.tsx +2 -9
- package/src/plugins/impl/__tests__/DataEditorPlugin.test.ts +18 -0
- package/src/plugins/impl/chat/chat-ui.tsx +51 -3
- package/src/plugins/impl/data-frames/__tests__/schema.test.ts +30 -0
- package/src/plugins/impl/data-frames/schema.ts +4 -1
- package/src/plugins/impl/image-comparison/ImageComparisonComponent.tsx +20 -1
- package/src/plugins/impl/image-comparison/__tests__/ImageComparisonComponent.test.tsx +58 -0
- package/src/stories/theme.stories.tsx +71 -1
- package/dist/assets/__vite-browser-external-DltVXDv7.js +0 -1
- package/dist/chat-ui-DsZJj75A.js +0 -8369
- package/dist/dist-5o9uz19x.js +0 -5
- package/dist/dist-BpDH0DEP.js +0 -5
- package/dist/dist-BpXhbQXO.js +0 -8
- package/dist/dist-ByadAk_L.js +0 -5
- package/dist/dist-CK0g7JvP.js +0 -8
- package/dist/dist-CfzCtiq2.js +0 -5
- package/dist/dist-D8JtVFrW.js +0 -8
- package/dist/dist-DK2Oocpu.js +0 -6
- package/dist/dist-DnSu977r.js +0 -5
- package/dist/dist-UmxJm6sW.js +0 -8
- package/dist/dist-aYSBQSyM.js +0 -5
- package/dist/dist-kkZ1Ztlh.js +0 -6
- package/dist/dist-ngPczwNi.js +0 -5
- package/dist/dist-wQRyxyTV.js +0 -5
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import { a as __toCommonJS, n as __esmMin, r as __export, s as __toESM, t as __commonJSMin } from "./chunk-BNovOVIE.js";
|
|
2
|
-
import { g as Logger, h as cn, t as Button } from "./button-
|
|
2
|
+
import { g as Logger, h as cn, t as Button } from "./button-8aS1QcHr.js";
|
|
3
3
|
import { t as require_react } from "./react-DA-nE2FX.js";
|
|
4
4
|
import { t as require_compiler_runtime } from "./compiler-runtime-CEbnTgxf.js";
|
|
5
|
-
import { u as createLucideIcon } from "./dist-
|
|
6
|
-
import { A as SquareFunction, t as augmentSpecWithData } from "./spec-
|
|
7
|
-
import { a as Type, c as Calendar, i as createReducerAndAtoms, o as ToggleLeft, r as Badge, s as Hash, t as useOnMount } from "./useLifecycle-
|
|
8
|
-
import { a as ListFilter, t as $896ba0a80a8f4d36$export$85fd5fdf27bacc79 } from "./useDateFormatter-
|
|
9
|
-
import { a as SelectGroup, c as SelectSeparator, i as SelectContent, l as SelectTrigger, o as SelectItem, r as Select, s as SelectLabel, t as Strings, u as SelectValue, w as $a916eb452884faea$export$b7a616150fdb9f44 } from "./strings-
|
|
5
|
+
import { u as createLucideIcon } from "./dist-DarwE0ZO.js";
|
|
6
|
+
import { A as SquareFunction, t as augmentSpecWithData } from "./spec-uMKNvMRZ.js";
|
|
7
|
+
import { a as Type, c as Calendar, i as createReducerAndAtoms, o as ToggleLeft, r as Badge, s as Hash, t as useOnMount } from "./useLifecycle-D4N02q82.js";
|
|
8
|
+
import { a as ListFilter, t as $896ba0a80a8f4d36$export$85fd5fdf27bacc79 } from "./useDateFormatter-BeN3fHMH.js";
|
|
9
|
+
import { a as SelectGroup, c as SelectSeparator, i as SelectContent, l as SelectTrigger, o as SelectItem, r as Select, s as SelectLabel, t as Strings, u as SelectValue, w as $a916eb452884faea$export$b7a616150fdb9f44 } from "./strings-BUDhKc0s.js";
|
|
10
10
|
import "./react-dom-BTJzcVJ9.js";
|
|
11
11
|
import { t as require_jsx_runtime } from "./jsx-runtime-DebpN0FN.js";
|
|
12
|
-
import "./zod-
|
|
13
|
-
import { n as ErrorBanner } from "./error-banner-
|
|
14
|
-
import { t as Label } from "./label-
|
|
15
|
-
import { t as Tooltip } from "./tooltip-
|
|
16
|
-
import { E as createStore, S as useAtomValue, T as atom, b as Provider, n as useTheme } from "./useTheme-
|
|
12
|
+
import "./zod-yTHHzJiv.js";
|
|
13
|
+
import { n as ErrorBanner } from "./error-banner-dmkbm21G.js";
|
|
14
|
+
import { t as Label } from "./label-CzHncDvS.js";
|
|
15
|
+
import { t as Tooltip } from "./tooltip-CkCWlUOf.js";
|
|
16
|
+
import { E as createStore, S as useAtomValue, T as atom, b as Provider, n as useTheme } from "./useTheme-Dur2p3iC.js";
|
|
17
17
|
import { t as invariant } from "./invariant-wRzNXIsJ.js";
|
|
18
18
|
import { t as Objects } from "./objects-De59twF-.js";
|
|
19
|
-
import {
|
|
20
|
-
import { a as tooltipHandler, n as vegaLoadData } from "./loader-
|
|
21
|
-
import { n as q, r as contains } from "./react-vega-
|
|
22
|
-
import "./defaultLocale-
|
|
19
|
+
import { A as getContainerWidth } from "./vega-loader.browser-CmLRI3wk.js";
|
|
20
|
+
import { a as tooltipHandler, n as vegaLoadData } from "./loader-C7SfUdOD.js";
|
|
21
|
+
import { n as q, r as contains } from "./react-vega-Cg17A6rO.js";
|
|
22
|
+
import "./defaultLocale-BsfI21d_.js";
|
|
23
23
|
import "./defaultLocale-DoeErsX2.js";
|
|
24
|
-
import { t as useAsyncData } from "./useAsyncData-
|
|
24
|
+
import { t as useAsyncData } from "./useAsyncData-DqJLysjC.js";
|
|
25
25
|
var ChartColumnBig = createLucideIcon("chart-column-big", [
|
|
26
26
|
["path", {
|
|
27
27
|
d: "M3 3v16a2 2 0 0 0 2 2h16",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { s as __toESM, t as __commonJSMin } from "./chunk-BNovOVIE.js";
|
|
2
|
-
import { t as Button } from "./button-
|
|
2
|
+
import { t as Button } from "./button-8aS1QcHr.js";
|
|
3
3
|
import { t as require_react } from "./react-DA-nE2FX.js";
|
|
4
4
|
import { t as require_compiler_runtime } from "./compiler-runtime-CEbnTgxf.js";
|
|
5
|
-
import { u as createLucideIcon } from "./dist-
|
|
5
|
+
import { u as createLucideIcon } from "./dist-DarwE0ZO.js";
|
|
6
6
|
import { t as require_jsx_runtime } from "./jsx-runtime-DebpN0FN.js";
|
|
7
|
-
import { i as Constants } from "./useTheme-
|
|
7
|
+
import { i as Constants } from "./useTheme-Dur2p3iC.js";
|
|
8
8
|
var Plus = createLucideIcon("plus", [["path", {
|
|
9
9
|
d: "M5 12h14",
|
|
10
10
|
key: "1ays0h"
|
|
@@ -240,7 +240,7 @@ function truncateSrc(e) {
|
|
|
240
240
|
return e.length > 100 ? `${e.slice(0, 100)}\u2026` : e;
|
|
241
241
|
}
|
|
242
242
|
var ImageComparisonComponent_default = (e) => {
|
|
243
|
-
let i = (0, import_compiler_runtime.c)(
|
|
243
|
+
let i = (0, import_compiler_runtime.c)(40), { beforeSrc: a, afterSrc: o, value: s, direction: c, width: l, height: p } = e, [m, h] = import_react.useState(_temp), g;
|
|
244
244
|
i[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (g = () => {
|
|
245
245
|
h(/* @__PURE__ */ new Set());
|
|
246
246
|
}, i[0] = g) : g = i[0];
|
|
@@ -257,56 +257,67 @@ var ImageComparisonComponent_default = (e) => {
|
|
|
257
257
|
maxWidth: "100%",
|
|
258
258
|
minHeight: "2rem"
|
|
259
259
|
}, i[5] = b, i[6] = x, i[7] = S) : S = i[7];
|
|
260
|
-
let C = S;
|
|
260
|
+
let C = S, w;
|
|
261
|
+
i[8] !== p || i[9] !== l ? (w = l || p ? {
|
|
262
|
+
width: l || void 0,
|
|
263
|
+
height: p || void 0,
|
|
264
|
+
objectFit: "contain"
|
|
265
|
+
} : void 0, i[8] = p, i[9] = l, i[10] = w) : w = i[10];
|
|
266
|
+
let T = w;
|
|
261
267
|
if (m.size > 0) {
|
|
262
268
|
let e2 = m.size > 1 ? "images" : "image", a2;
|
|
263
|
-
i[
|
|
269
|
+
i[11] === m ? a2 = i[12] : (a2 = [...m].map(_temp2), i[11] = m, i[12] = a2);
|
|
264
270
|
let o2 = a2.join(", "), s2;
|
|
265
|
-
i[
|
|
271
|
+
i[13] !== o2 || i[14] !== e2 ? (s2 = /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", { children: [
|
|
266
272
|
"Failed to load ",
|
|
267
273
|
e2,
|
|
268
274
|
":",
|
|
269
275
|
" ",
|
|
270
276
|
o2
|
|
271
|
-
] }), i[
|
|
277
|
+
] }), i[13] = o2, i[14] = e2, i[15] = s2) : s2 = i[15];
|
|
272
278
|
let c2;
|
|
273
|
-
return i[
|
|
279
|
+
return i[16] !== C || i[17] !== s2 ? (c2 = /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
|
|
274
280
|
style: C,
|
|
275
281
|
className: "flex items-center justify-center rounded border border-destructive/40 bg-destructive/5 p-3 text-sm text-destructive",
|
|
276
282
|
children: s2
|
|
277
|
-
}), i[
|
|
283
|
+
}), i[16] = C, i[17] = s2, i[18] = c2) : c2 = i[18], c2;
|
|
278
284
|
}
|
|
279
|
-
let
|
|
280
|
-
i[
|
|
281
|
-
let
|
|
282
|
-
i[
|
|
285
|
+
let E;
|
|
286
|
+
i[19] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (E = { verticalAlign: "top" }, i[19] = E) : E = i[19];
|
|
287
|
+
let D;
|
|
288
|
+
i[20] === a ? D = i[21] : (D = () => y(a), i[20] = a, i[21] = D);
|
|
289
|
+
let O;
|
|
290
|
+
i[22] !== a || i[23] !== T || i[24] !== D ? (O = /* @__PURE__ */ (0, import_jsx_runtime.jsx)("img", {
|
|
283
291
|
slot: "first",
|
|
284
292
|
src: a,
|
|
285
293
|
alt: "Before",
|
|
286
294
|
width: "100%",
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
295
|
+
style: T,
|
|
296
|
+
onError: D
|
|
297
|
+
}), i[22] = a, i[23] = T, i[24] = D, i[25] = O) : O = i[25];
|
|
298
|
+
let k;
|
|
299
|
+
i[26] === o ? k = i[27] : (k = () => y(o), i[26] = o, i[27] = k);
|
|
300
|
+
let A;
|
|
301
|
+
i[28] !== o || i[29] !== T || i[30] !== k ? (A = /* @__PURE__ */ (0, import_jsx_runtime.jsx)("img", {
|
|
293
302
|
slot: "second",
|
|
294
303
|
src: o,
|
|
295
304
|
alt: "After",
|
|
296
305
|
width: "100%",
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
306
|
+
style: T,
|
|
307
|
+
onError: k
|
|
308
|
+
}), i[28] = o, i[29] = T, i[30] = k, i[31] = A) : A = i[31];
|
|
309
|
+
let j;
|
|
310
|
+
i[32] !== c || i[33] !== O || i[34] !== A || i[35] !== s ? (j = /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_dist.ImgComparisonSlider, {
|
|
301
311
|
value: s,
|
|
302
312
|
direction: c,
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
313
|
+
style: E,
|
|
314
|
+
children: [O, A]
|
|
315
|
+
}), i[32] = c, i[33] = O, i[34] = A, i[35] = s, i[36] = j) : j = i[36];
|
|
316
|
+
let M;
|
|
317
|
+
return i[37] !== C || i[38] !== j ? (M = /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
|
|
307
318
|
style: C,
|
|
308
|
-
children:
|
|
309
|
-
}), i[
|
|
319
|
+
children: j
|
|
320
|
+
}), i[37] = C, i[38] = j, i[39] = M) : M = i[39], M;
|
|
310
321
|
};
|
|
311
322
|
function _temp() {
|
|
312
323
|
return /* @__PURE__ */ new Set();
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import { s as __toESM } from "./chunk-BNovOVIE.js";
|
|
2
|
-
import { g as Logger } from "./button-
|
|
2
|
+
import { g as Logger } from "./button-8aS1QcHr.js";
|
|
3
3
|
import { t as require_react } from "./react-DA-nE2FX.js";
|
|
4
4
|
import "./compiler-runtime-CEbnTgxf.js";
|
|
5
5
|
import "./react-dom-BTJzcVJ9.js";
|
|
6
6
|
import { t as require_jsx_runtime } from "./jsx-runtime-DebpN0FN.js";
|
|
7
|
-
import "./zod-
|
|
8
|
-
import { n as ErrorBanner } from "./error-banner-
|
|
9
|
-
import { f as CopyClipboardIcon } from "./extends-
|
|
10
|
-
import "./dist-
|
|
11
|
-
import "./dist-
|
|
12
|
-
import "./dist-
|
|
13
|
-
import "./dist-
|
|
14
|
-
import "./dist-
|
|
15
|
-
import "./dist-
|
|
16
|
-
import { t as esm_default } from "./esm-
|
|
17
|
-
import "./dist-
|
|
18
|
-
import "./dist-
|
|
19
|
-
import "./dist-
|
|
20
|
-
import "./dist-
|
|
21
|
-
import "./dist-
|
|
22
|
-
import "./dist-
|
|
23
|
-
import "./dist-
|
|
24
|
-
import "./dist-
|
|
25
|
-
import "./dist-
|
|
26
|
-
import { n as loadLanguage, t as langs } from "./esm-
|
|
7
|
+
import "./zod-yTHHzJiv.js";
|
|
8
|
+
import { n as ErrorBanner } from "./error-banner-dmkbm21G.js";
|
|
9
|
+
import { f as CopyClipboardIcon } from "./extends-DDOVg_b8.js";
|
|
10
|
+
import "./dist-Cds3J-EE.js";
|
|
11
|
+
import "./dist-BNeJ8P-4.js";
|
|
12
|
+
import "./dist-DQj6A7SE.js";
|
|
13
|
+
import "./dist-Slyx4vXr.js";
|
|
14
|
+
import "./dist-dJeh9ef4.js";
|
|
15
|
+
import "./dist-BrKNRKC8.js";
|
|
16
|
+
import { t as esm_default } from "./esm-D8vjxCyn.js";
|
|
17
|
+
import "./dist-B-upo54Y.js";
|
|
18
|
+
import "./dist-D8SX5Qdg.js";
|
|
19
|
+
import "./dist-CDBV8n0I.js";
|
|
20
|
+
import "./dist-DK0pFEmc.js";
|
|
21
|
+
import "./dist-B1W12VzQ.js";
|
|
22
|
+
import "./dist-v-kAJfMq.js";
|
|
23
|
+
import "./dist-B6au1PTB.js";
|
|
24
|
+
import "./dist-DGQmYLkh.js";
|
|
25
|
+
import "./dist-BUzxp0Xf.js";
|
|
26
|
+
import { n as loadLanguage, t as langs } from "./esm-DEQU-LUO.js";
|
|
27
27
|
var import_react = /* @__PURE__ */ __toESM(require_react(), 1), import_jsx_runtime = /* @__PURE__ */ __toESM(require_jsx_runtime(), 1);
|
|
28
28
|
const LANGUAGE_MAP = {
|
|
29
29
|
python: "py",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{t as e}from"./worker-Cl1KJG2_.js";var t=e(((e,t)=>{t.exports={}}));export default t();
|