@marimo-team/islands 0.25.3-dev48 → 0.25.3-dev51
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-COS3f8io.js → ConnectedDataExplorerComponent-Da5OoEUL.js} +9 -9
- package/dist/{ErrorBoundary-DHfwqB0K.js → ErrorBoundary-CbxCC2kk.js} +8 -8
- package/dist/{abnfDiagram-VCTEODGH-DQ4bKxYa.js → abnfDiagram-VCTEODGH-Bz3mrprX.js} +2 -2
- package/dist/{any-language-editor-DQItQSua.js → any-language-editor-k2B8YI3Y.js} +2 -2
- package/dist/{architectureDiagram-5GKGNRK7-BA7-SI7Q.js → architectureDiagram-5GKGNRK7-Cs5ujb9K.js} +1 -1
- package/dist/{chat-ui-DlUp75HS.js → chat-ui-C1Gjgokv.js} +44 -44
- package/dist/{check-C209OH-W.js → check-P35dc2dH.js} +1 -1
- package/dist/{chunk-IMKFNOWR-DPY3kqOV.js → chunk-IMKFNOWR-CcTSaxZt.js} +1 -1
- package/dist/{chunk-SHT3W25Y-C14Ikodf.js → chunk-SHT3W25Y-DcJcjOaO.js} +1 -1
- package/dist/{chunk-SVP7TREG-BKu0HO4I.js → chunk-SVP7TREG-BVtDTjaF.js} +1 -1
- package/dist/{chunk-TICWLB2K-iJDDWGtE.js → chunk-TICWLB2K-BkDFkh8q.js} +1 -1
- package/dist/{classDiagram-ZZMXUADV-HuJXQI0F.js → classDiagram-ZZMXUADV-CfAt7HT5.js} +2 -2
- package/dist/{classDiagram-v2-VYDZK3BY-CpmmpTbC.js → classDiagram-v2-VYDZK3BY-CGEjNYa2.js} +2 -2
- package/dist/{code-visibility-5llx6KCK.js → code-visibility-DoZ9lxzx.js} +5 -5
- package/dist/{common-DBC1NAar.js → common-D1PacyXO.js} +75 -75
- package/dist/{copy-icon-L-mFk59e.js → copy-icon-CPoxUG7G.js} +2 -2
- package/dist/{cynefinDiagram-5FMLGOSQ-uh0puAW2.js → cynefinDiagram-5FMLGOSQ-BW6NmfJi.js} +1 -1
- package/dist/{dagre-GXQ25YYZ-4LBeAAMz.js → dagre-GXQ25YYZ-CWg3CTuF.js} +1 -1
- package/dist/{data-grid-overlay-editor-D01HzlXg.js → data-grid-overlay-editor-B50UpkXd.js} +1 -1
- package/dist/{diagram-S7CK7UJ4-BXPmZ2sX.js → diagram-S7CK7UJ4-BPxtoS-z.js} +1 -1
- package/dist/{diagram-UQ7AKVKN--Xz9UNpC.js → diagram-UQ7AKVKN-DA-vJdFL.js} +1 -1
- package/dist/{diagram-VX7I27RA-rt8VIRNT.js → diagram-VX7I27RA-D6bkR84S.js} +1 -1
- package/dist/{diagram-Z3DM3KII-Cs1GqfDD.js → diagram-Z3DM3KII-m60g4cAT.js} +1 -1
- package/dist/{dialog-CDbPtWUD.js → dialog-C1PcpCqX.js} +24 -24
- package/dist/{dropdown-menu-ugNoZmKx.js → dropdown-menu-MG5hiCIa.js} +793 -793
- package/dist/{ebnfDiagram-PWID7BFC-CgTsgbmZ.js → ebnfDiagram-PWID7BFC-CK99sho2.js} +2 -2
- package/dist/{erDiagram-RLTQ6QDP-CFoADGzT.js → erDiagram-RLTQ6QDP-Bryq0tdE.js} +1 -1
- package/dist/{error-banner-DMIrHA-R.js → error-banner-Sl2FlSJ4.js} +16 -16
- package/dist/{error-entries-D3ouOLDe.js → error-entries-CMNtA8NK.js} +25 -25
- package/dist/{feedback-button-gTC25Y-p.js → feedback-button-DqPqwryB.js} +8 -8
- package/dist/{flowDiagram-HODETNUW-BM2lvKuH.js → flowDiagram-HODETNUW-D-3aRpfS.js} +2 -2
- package/dist/{formats-C24TvExI.js → formats-6pLWWrY2.js} +1 -1
- package/dist/{glide-data-editor-BXXphavz.js → glide-data-editor-BxMhUd3K.js} +10 -10
- package/dist/{glide-utils-Q2ZsuA3h.js → glide-utils-Bt8_pBa2.js} +2 -2
- package/dist/{globals-BcxqBRmX.js → globals-DTJa_doJ.js} +3 -3
- package/dist/{html-to-image-VZvb968z.js → html-to-image-By72ALyI.js} +44 -44
- package/dist/{infoDiagram-27XIBGKW-Crwjiywp.js → infoDiagram-27XIBGKW-s1C1kgfU.js} +1 -1
- package/dist/{ishikawaDiagram-5VMMS53U-D4US2ShV.js → ishikawaDiagram-5VMMS53U-CCsRgolY.js} +1 -1
- package/dist/{kanban-definition-UXKFOSKX-Bk097CUX.js → kanban-definition-UXKFOSKX-BrmxDlcc.js} +1 -1
- package/dist/{label-CuEjBqYP.js → label-BRnUC0NX.js} +1 -1
- package/dist/main.js +614 -614
- package/dist/{mermaid-6EkeBlhr.js → mermaid-DKI0869I.js} +35 -35
- package/dist/{mindmap-definition-YA3MSWOX-DmORzfXQ.js → mindmap-definition-YA3MSWOX-641xJysF.js} +1 -1
- package/dist/{number-overlay-editor-CaspWg5p.js → number-overlay-editor-Z_H6x5b-.js} +1 -1
- package/dist/{pegDiagram-XKGWAZYB-DT5TL02S.js → pegDiagram-XKGWAZYB-keVUAUeS.js} +2 -2
- package/dist/{pieDiagram-E7YTZNPT-B1NwGcuH.js → pieDiagram-E7YTZNPT-DHktXPO_.js} +1 -1
- package/dist/{process-output-CCPgTShO.js → process-output-D-OMW5sV.js} +4 -4
- package/dist/{railroadDiagram-O6MQD6OU-BxoycdEu.js → railroadDiagram-O6MQD6OU-BVEF4OV_.js} +2 -2
- package/dist/{requirementDiagram-BXWQKSXE-DHq_eRrm.js → requirementDiagram-BXWQKSXE-CWo-UAKV.js} +1 -1
- package/dist/{reveal-component-CWk_paD2.js → reveal-component-tAB5K3QE.js} +9 -9
- package/dist/{select-D2iqeJYk.js → select-B0LRDH0g.js} +199 -199
- package/dist/{sequenceDiagram-WJ2MYXX4-Ba11BAOu.js → sequenceDiagram-WJ2MYXX4-CHQvLnq4.js} +1 -1
- package/dist/{spec-BCCcvWPS.js → spec-C-LRKGtT.js} +4 -4
- package/dist/{stateDiagram-D77RDMKH-OHQbvkbP.js → stateDiagram-D77RDMKH-BOJZgbUJ.js} +2 -2
- package/dist/{stateDiagram-v2-MP3YSRHH-BlIquvFJ.js → stateDiagram-v2-MP3YSRHH-C53XXdYH.js} +2 -2
- package/dist/{swimlanes-42K2YHIH-DSlitS4s.js → swimlanes-42K2YHIH-D2o1gOtw.js} +1 -1
- package/dist/{swimlanesDiagram-VR7AAH4N-ClwuzFNO.js → swimlanesDiagram-VR7AAH4N-BHFzN1Wk.js} +2 -2
- package/dist/{timeline-definition-24CTP7MA-hAzc5VkT.js → timeline-definition-24CTP7MA-rv7QUa46.js} +1 -1
- package/dist/toDate-CjPuEPou.js +705 -0
- package/dist/{toast-DxVfYlCp.js → toast-CFWpihJU.js} +221 -221
- package/dist/{tooltip-BCntm-jf.js → tooltip-CKO1pHJo.js} +51 -51
- package/dist/{use-restore-focus-BhXhsNLV.js → use-restore-focus-DBCITLeF.js} +1 -1
- package/dist/{useAsyncData-BbuzBAUp.js → useAsyncData-ChgNtdmE.js} +1 -1
- package/dist/{useDateFormatter-6AHbIR-J.js → useDateFormatter-c_yJtkAe.js} +2 -2
- package/dist/{useDeepCompareMemoize-da5A3c-Y.js → useDeepCompareMemoize-Bet7kSsI.js} +1 -1
- package/dist/{useLifecycle-C3nT1kwI.js → useLifecycle-VVmz_24o.js} +2 -2
- package/dist/{useTheme-BC8Lof0B.js → useTheme-DympCsQg.js} +83 -83
- package/dist/{vega-component-CF9IzE2r.js → vega-component-DnfQeoyt.js} +7 -7
- package/dist/{vennDiagram-4TSXK5OY-CINKaJgr.js → vennDiagram-4TSXK5OY-D36Zk7t-.js} +1 -1
- package/dist/{wardleyDiagram-VM6X3IG4-KG2tlXg_.js → wardleyDiagram-VM6X3IG4-BLBolvyQ.js} +1 -1
- package/dist/{xychartDiagram-S5SC5T6Z-XIH5cwgI.js → xychartDiagram-S5SC5T6Z-CfH57l0v.js} +1 -1
- package/package.json +1 -1
- package/src/__tests__/mount.test.ts +0 -20
- package/src/components/editor/chrome/wrapper/__tests__/attachment-status.test.tsx +2 -2
- package/src/components/editor/errors/__tests__/send-error-report-button.test.tsx +2 -2
- package/src/core/host/__tests__/notebook-client.test.ts +66 -3
- package/src/core/host/events.ts +1 -10
- package/src/core/host/notebook-client.ts +11 -18
- package/src/core/runtime/__tests__/runtime.test.ts +2 -53
- package/src/core/runtime/runtime.ts +1 -14
- package/src/core/runtime/types.ts +0 -2
- package/src/core/websocket/__tests__/useNotebookClient.hook.test.tsx +2 -23
- package/src/core/websocket/__tests__/useNotebookSession.hook.test.tsx +17 -25
- package/src/core/websocket/transports/__tests__/sse.test.ts +17 -0
- package/src/core/websocket/transports/sse.ts +14 -2
- package/src/core/websocket/useNotebookClient.ts +1 -11
- package/src/core/websocket/useNotebookSession.tsx +1 -6
- package/src/mount.tsx +0 -4
- package/dist/toDate-C0jaysq2.js +0 -1184
package/dist/main.js
CHANGED
|
@@ -2,30 +2,30 @@ import { a as e, i as t, n, r, t as i } from "./rolldown-runtime-Cb76FRpK.js";
|
|
|
2
2
|
import { _ as a, c as o, g as s, h as c, i as l, l as u, m as d, n as f, o as p, p as m, r as h, t as g, v as _ } from "./button-BxB3RDjN.js";
|
|
3
3
|
import { t as v } from "./react-sHtZdjeP.js";
|
|
4
4
|
import { t as y } from "./compiler-runtime-CldRdSsv.js";
|
|
5
|
-
import { i as b, n as x, r as S, t as C } from "./copy-icon-
|
|
6
|
-
import { C as w, F as T, G as E, I as D, J as O, K as k, L as A, P as j, R as M, X as N, Z as P, _ as F, a as I, b as L, g as R, i as z, j as B, k as ee, n as te, o as ne, q as re, v as ie, y as ae } from "./html-to-image-
|
|
7
|
-
import { a as oe, d as se, f as ce, h as V, i as le, n as ue, o as de, r as fe, t as pe } from "./tooltip-
|
|
8
|
-
import { $t as me, At as he, B as ge, Bt as _e, D as ve, Dt as ye, E as be, Et as xe, Ft as Se, Gt as Ce, J as we, Jt as Te, Kt as Ee, M as De, Mt as Oe, N as ke, O as Ae, Ot as je, Q as Me, R as Ne, S as Pe, Ut as Fe, V as Ie, Vt as Le, W as Re, Y as ze, Yt as Be, Z as Ve, _ as He, b as Ue, bt as We, cn as Ge, dt as Ke, en as qe, f as Je, fn as Ye, ft as Xe, g as Ze, gn as Qe, gt as $e, h as et, hn as tt, ht as nt, in as rt, j as it, jt as at, k as ot, kt as st, ln as ct, m as lt, nn as ut, nt as dt, o as ft, p as pt, pn as mt, q as ht, qt as gt, rt as _t, s as vt, sn as yt, st as bt, tn as xt, u as St, un as Ct, ut as wt, v as Tt, wt as Et, y as Dt, z as Ot, zt as kt } from "./error-entries-
|
|
9
|
-
import { D as At, E as jt, O as Mt, S as Nt, T as Pt, _ as Ft, a as It, c as Lt, d as Rt, f as zt, g as Bt, h as Vt, i as Ht, l as Ut, m as Wt, n as Gt, o as Kt, p as qt, r as Jt, s as Yt, t as Xt, u as Zt, v as Qt, w as $t, x as en, y as tn } from "./spec-
|
|
10
|
-
import { $t as nn, A as rn, At as an, B as on, Bt as sn, C as cn, Ct as ln, D as un, Dt as dn, E as fn, Et as pn, F as mn, Ft as hn, G as gn, Gt as _n, H as vn, Ht as yn, I as bn, It as xn, J as Sn, Jt as Cn, K as wn, Kt as Tn, L as En, Lt as Dn, M as On, Mt as kn, N as An, Nt as jn, O as Mn, Ot as Nn, P as Pn, Pt as Fn, Qt as In, R as Ln, Rt as Rn, S as zn, St as Bn, T as Vn, Tt as Hn, U as Un, Ut as Wn, V as Gn, Vt as Kn, W as qn, Wt as Jn, X as Yn, Xt as Xn, Y as Zn, Yt as Qn, Zt as $n, _ as er, _t as tr, an as nr, at as rr, b as ir, c as ar, cn as or, ct as sr, d as cr, dn as lr, dt as ur, en as dr, et as fr, f as pr, fn as mr, ft as hr, g as gr, gt as _r, h as vr, hn as yr, ht as br, in as xr, it as Sr, j as Cr, jt as wr, k as Tr, kt as Er, ln as Dr, lt as Or, m as kr, mn as Ar, mt as jr, nn as Mr, nt as Nr, ot as Pr, p as Fr, pn as Ir, pt as Lr, q as Rr, qt as zr, r as Br, rn as Vr, rt as Hr, sn as Ur, st as Wr, t as Gr, tn as Kr, tt as qr, u as Jr, un as Yr, ut as Xr, v as Zr, vt as Qr, w as $r, wt as ei, x as ti, y as ni, yt as ri, z as ii, zt as ai } from "./common-
|
|
11
|
-
import { c as oi, i as si, n as ci, o as li, t as ui } from "./useLifecycle-
|
|
12
|
-
import { t as di } from "./check-
|
|
13
|
-
import { A as fi, C as pi, D as mi, E as hi, M as gi, O as _i, S as vi, T as yi, a as bi, b as xi, c as Si, i as Ci, k as wi, l as Ti, n as Ei, o as Di, r as Oi, s as ki, t as Ai, w as ji, x as Mi } from "./select-
|
|
14
|
-
import { $ as Ni, C as Pi, Et as Fi, J as Ii, K as Li, R as Ri, S as zi, U as Bi, Y as Vi, _ as Hi, _n as Ui, a as Wi, c as Gi, f as Ki, g as qi, h as Ji, i as Yi, kt as Xi, m as Zi, mt as Qi, n as $i, p as ea, q as ta, r as na, s as ra, t as ia, ut as aa, v as oa, vn as sa, x as ca, z as la } from "./dropdown-menu-
|
|
15
|
-
import { C as ua, _ as da, a as fa, b as pa, c as ma, f as ha, h as ga, m as _a, p as va, s as ya, u as ba, x as xa, y as Sa } from "./toDate-
|
|
16
|
-
import { a as Ca, c as wa, d as Ta, f as Ea, i as Da, l as Oa, n as ka, o as Aa, r as ja, s as Ma, t as Na } from "./process-output-
|
|
17
|
-
import { a as Pa, c as Fa, d as Ia, i as La, l as Ra, r as za, u as Ba } from "./glide-utils-
|
|
18
|
-
import { n as Va, t as Ha } from "./ErrorBoundary-
|
|
19
|
-
import { n as Ua, t as Wa } from "./globals-
|
|
5
|
+
import { i as b, n as x, r as S, t as C } from "./copy-icon-CPoxUG7G.js";
|
|
6
|
+
import { C as w, F as T, G as E, I as D, J as O, K as k, L as A, P as j, R as M, X as N, Z as P, _ as F, a as I, b as L, g as R, i as z, j as B, k as ee, n as te, o as ne, q as re, v as ie, y as ae } from "./html-to-image-By72ALyI.js";
|
|
7
|
+
import { a as oe, d as se, f as ce, h as V, i as le, n as ue, o as de, r as fe, t as pe } from "./tooltip-CKO1pHJo.js";
|
|
8
|
+
import { $t as me, At as he, B as ge, Bt as _e, D as ve, Dt as ye, E as be, Et as xe, Ft as Se, Gt as Ce, J as we, Jt as Te, Kt as Ee, M as De, Mt as Oe, N as ke, O as Ae, Ot as je, Q as Me, R as Ne, S as Pe, Ut as Fe, V as Ie, Vt as Le, W as Re, Y as ze, Yt as Be, Z as Ve, _ as He, b as Ue, bt as We, cn as Ge, dt as Ke, en as qe, f as Je, fn as Ye, ft as Xe, g as Ze, gn as Qe, gt as $e, h as et, hn as tt, ht as nt, in as rt, j as it, jt as at, k as ot, kt as st, ln as ct, m as lt, nn as ut, nt as dt, o as ft, p as pt, pn as mt, q as ht, qt as gt, rt as _t, s as vt, sn as yt, st as bt, tn as xt, u as St, un as Ct, ut as wt, v as Tt, wt as Et, y as Dt, z as Ot, zt as kt } from "./error-entries-CMNtA8NK.js";
|
|
9
|
+
import { D as At, E as jt, O as Mt, S as Nt, T as Pt, _ as Ft, a as It, c as Lt, d as Rt, f as zt, g as Bt, h as Vt, i as Ht, l as Ut, m as Wt, n as Gt, o as Kt, p as qt, r as Jt, s as Yt, t as Xt, u as Zt, v as Qt, w as $t, x as en, y as tn } from "./spec-C-LRKGtT.js";
|
|
10
|
+
import { $t as nn, A as rn, At as an, B as on, Bt as sn, C as cn, Ct as ln, D as un, Dt as dn, E as fn, Et as pn, F as mn, Ft as hn, G as gn, Gt as _n, H as vn, Ht as yn, I as bn, It as xn, J as Sn, Jt as Cn, K as wn, Kt as Tn, L as En, Lt as Dn, M as On, Mt as kn, N as An, Nt as jn, O as Mn, Ot as Nn, P as Pn, Pt as Fn, Qt as In, R as Ln, Rt as Rn, S as zn, St as Bn, T as Vn, Tt as Hn, U as Un, Ut as Wn, V as Gn, Vt as Kn, W as qn, Wt as Jn, X as Yn, Xt as Xn, Y as Zn, Yt as Qn, Zt as $n, _ as er, _t as tr, an as nr, at as rr, b as ir, c as ar, cn as or, ct as sr, d as cr, dn as lr, dt as ur, en as dr, et as fr, f as pr, fn as mr, ft as hr, g as gr, gt as _r, h as vr, hn as yr, ht as br, in as xr, it as Sr, j as Cr, jt as wr, k as Tr, kt as Er, ln as Dr, lt as Or, m as kr, mn as Ar, mt as jr, nn as Mr, nt as Nr, ot as Pr, p as Fr, pn as Ir, pt as Lr, q as Rr, qt as zr, r as Br, rn as Vr, rt as Hr, sn as Ur, st as Wr, t as Gr, tn as Kr, tt as qr, u as Jr, un as Yr, ut as Xr, v as Zr, vt as Qr, w as $r, wt as ei, x as ti, y as ni, yt as ri, z as ii, zt as ai } from "./common-D1PacyXO.js";
|
|
11
|
+
import { c as oi, i as si, n as ci, o as li, t as ui } from "./useLifecycle-VVmz_24o.js";
|
|
12
|
+
import { t as di } from "./check-P35dc2dH.js";
|
|
13
|
+
import { A as fi, C as pi, D as mi, E as hi, M as gi, O as _i, S as vi, T as yi, a as bi, b as xi, c as Si, i as Ci, k as wi, l as Ti, n as Ei, o as Di, r as Oi, s as ki, t as Ai, w as ji, x as Mi } from "./select-B0LRDH0g.js";
|
|
14
|
+
import { $ as Ni, C as Pi, Et as Fi, J as Ii, K as Li, R as Ri, S as zi, U as Bi, Y as Vi, _ as Hi, _n as Ui, a as Wi, c as Gi, f as Ki, g as qi, h as Ji, i as Yi, kt as Xi, m as Zi, mt as Qi, n as $i, p as ea, q as ta, r as na, s as ra, t as ia, ut as aa, v as oa, vn as sa, x as ca, z as la } from "./dropdown-menu-MG5hiCIa.js";
|
|
15
|
+
import { C as ua, _ as da, a as fa, b as pa, c as ma, f as ha, h as ga, m as _a, p as va, s as ya, u as ba, x as xa, y as Sa } from "./toDate-CjPuEPou.js";
|
|
16
|
+
import { a as Ca, c as wa, d as Ta, f as Ea, i as Da, l as Oa, n as ka, o as Aa, r as ja, s as Ma, t as Na } from "./process-output-D-OMW5sV.js";
|
|
17
|
+
import { a as Pa, c as Fa, d as Ia, i as La, l as Ra, r as za, u as Ba } from "./glide-utils-Bt8_pBa2.js";
|
|
18
|
+
import { n as Va, t as Ha } from "./ErrorBoundary-CbxCC2kk.js";
|
|
19
|
+
import { n as Ua, t as Wa } from "./globals-DTJa_doJ.js";
|
|
20
20
|
import { t as Ga } from "./react-dom-DUmH0GXv.js";
|
|
21
21
|
import { t as Ka } from "./jsx-runtime-3BD1kT0s.js";
|
|
22
|
-
import {
|
|
23
|
-
import { i as Uo, n as Wo, r as Go, t as Ko } from "./error-banner-
|
|
24
|
-
import { a as qo, i as Jo, n as Yo, t as Xo } from "./label-
|
|
22
|
+
import { B as qa, C as H, Ct as Ja, D as Ya, E as Xa, F as U, G as Za, H as Qa, I as $a, L as eo, M as W, N as to, O as no, P as ro, Q as io, R as ao, S as G, St as oo, Tt as so, U as co, W as lo, Y as uo, Z as fo, _ as po, _t as mo, a as ho, b as go, bt as _o, c as vo, d as yo, f as bo, g as xo, h as So, ht as Co, i as wo, j as K, k as To, l as Eo, m as Do, n as Oo, o as ko, p as Ao, r as jo, s as Mo, u as No, ut as Po, v as Fo, vt as Io, w as Lo, wt as Ro, x as zo, xt as Bo, y as Vo, yt as Ho } from "./use-restore-focus-DBCITLeF.js";
|
|
23
|
+
import { i as Uo, n as Wo, r as Go, t as Ko } from "./error-banner-Sl2FlSJ4.js";
|
|
24
|
+
import { a as qo, i as Jo, n as Yo, t as Xo } from "./label-BRnUC0NX.js";
|
|
25
25
|
import { a as Zo } from "./hasIn-o2Us0uVx.js";
|
|
26
26
|
import { n as Qo, t as $o } from "./pick-CJeoxYOS.js";
|
|
27
27
|
import { t as es } from "./debounce-C3jyATpc.js";
|
|
28
|
-
import { A as ts, C as ns, E as rs, S as is, _ as as, a as os, b as ss, c as cs, h as ls, k as us, n as ds, p as fs, r as ps, u as ms, x as hs } from "./useTheme-
|
|
28
|
+
import { A as ts, C as ns, E as rs, S as is, _ as as, a as os, b as ss, c as cs, h as ls, k as us, n as ds, p as fs, r as ps, u as ms, x as hs } from "./useTheme-DympCsQg.js";
|
|
29
29
|
import { $ as gs, F as _s, H as q, a as vs, g as ys } from "./dist-DoE4XJBC.js";
|
|
30
30
|
import { t as bs } from "./invariant-DLmrl-hA.js";
|
|
31
31
|
import { l as xs, o as Ss, t as Cs, u as ws } from "./arrays-R6JsImiT.js";
|
|
@@ -35,12 +35,12 @@ import { p as Ds } from "./dist-diIx5qJW.js";
|
|
|
35
35
|
import { n as Os } from "./dist-CrSP_H1M.js";
|
|
36
36
|
import { i as ks } from "./dist-BorMD-uX.js";
|
|
37
37
|
import { n as As, t as js } from "./esm-AMFssoNp.js";
|
|
38
|
-
import { t as Ms } from "./useAsyncData-
|
|
39
|
-
import { i as Ns, n as Ps, r as Fs } from "./formats-
|
|
38
|
+
import { t as Ms } from "./useAsyncData-ChgNtdmE.js";
|
|
39
|
+
import { i as Ns, n as Ps, r as Fs } from "./formats-6pLWWrY2.js";
|
|
40
40
|
import { D as Is, O as Ls } from "./vega-loader.browser-B9Pz0EGP.js";
|
|
41
41
|
import { a as Rs, n as zs } from "./loader-Bm8cy3e8.js";
|
|
42
|
-
import { c as Bs, d as Vs, i as Hs, l as Us, o as Ws, s as Gs, t as Ks, u as qs } from "./code-visibility-
|
|
43
|
-
import { t as Js } from "./useDeepCompareMemoize-
|
|
42
|
+
import { c as Bs, d as Vs, i as Hs, l as Us, o as Ws, s as Gs, t as Ks, u as qs } from "./code-visibility-DoZ9lxzx.js";
|
|
43
|
+
import { t as Js } from "./useDeepCompareMemoize-Bet7kSsI.js";
|
|
44
44
|
import { t as Ys } from "./esm-D2gTsXEV.js";
|
|
45
45
|
//#region ../node_modules/.pnpm/iconify-icon@2.3.0/node_modules/iconify-icon/dist/iconify-icon.mjs
|
|
46
46
|
var Xs = Object.freeze({
|
|
@@ -1861,8 +1861,8 @@ var { enableCache: eu, disableCache: tu, iconLoaded: nu, iconExists: ru, getIcon
|
|
|
1861
1861
|
]), J = /* @__PURE__ */ e(v(), 1), od = /* @__PURE__ */ e(Ga(), 1), Y = Ka(), sd = Object.defineProperty, cd = (e, t) => sd(e, "name", {
|
|
1862
1862
|
value: t,
|
|
1863
1863
|
configurable: !0
|
|
1864
|
-
}), ld = "NavigationMenu", [ud, dd, fd] = wi(ld), [pd, md, hd] = wi(ld), [gd, _d] =
|
|
1865
|
-
let { __scopeNavigationMenu: n, value: r, onValueChange: i, defaultValue: a, delayDuration: o = 200, skipDelayDuration: s = 300, orientation: c = "horizontal", dir: l, ...u } = e, [d, f] = J.useState(null), p = m(t, f), h = _i(l), g = J.useRef(0), _ = J.useRef(0), v = J.useRef(0), [y, b] = J.useState(!0), [x, S] =
|
|
1864
|
+
}), ld = "NavigationMenu", [ud, dd, fd] = wi(ld), [pd, md, hd] = wi(ld), [gd, _d] = Ja(ld, [fd, hd]), [vd, yd] = gd(ld), [bd, xd] = gd(ld), Sd = /* @__PURE__ */ J.forwardRef(/* @__PURE__ */ cd(function(e, t) {
|
|
1865
|
+
let { __scopeNavigationMenu: n, value: r, onValueChange: i, defaultValue: a, delayDuration: o = 200, skipDelayDuration: s = 300, orientation: c = "horizontal", dir: l, ...u } = e, [d, f] = J.useState(null), p = m(t, f), h = _i(l), g = J.useRef(0), _ = J.useRef(0), v = J.useRef(0), [y, b] = J.useState(!0), [x, S] = _o({
|
|
1866
1866
|
prop: r,
|
|
1867
1867
|
onChange: /* @__PURE__ */ cd((e) => {
|
|
1868
1868
|
let t = e !== "", n = s > 0;
|
|
@@ -1904,7 +1904,7 @@ var { enableCache: eu, disableCache: tu, iconLoaded: nu, iconExists: ru, getIcon
|
|
|
1904
1904
|
S((t) => t === e ? "" : e);
|
|
1905
1905
|
},
|
|
1906
1906
|
onItemDismiss: () => S(""),
|
|
1907
|
-
children: /* @__PURE__ */ (0, Y.jsx)(
|
|
1907
|
+
children: /* @__PURE__ */ (0, Y.jsx)(Ro.nav, {
|
|
1908
1908
|
"aria-label": "Main",
|
|
1909
1909
|
"data-orientation": c,
|
|
1910
1910
|
dir: h,
|
|
@@ -1920,19 +1920,19 @@ var { enableCache: eu, disableCache: tu, iconLoaded: nu, iconExists: ru, getIcon
|
|
|
1920
1920
|
rootNavigationMenu: r,
|
|
1921
1921
|
value: s,
|
|
1922
1922
|
previousValue: mi(s),
|
|
1923
|
-
baseId:
|
|
1923
|
+
baseId: Io(),
|
|
1924
1924
|
dir: i,
|
|
1925
1925
|
orientation: a,
|
|
1926
1926
|
viewport: m,
|
|
1927
1927
|
onViewportChange: h,
|
|
1928
1928
|
indicatorTrack: v,
|
|
1929
1929
|
onIndicatorTrackChange: y,
|
|
1930
|
-
onTriggerEnter:
|
|
1931
|
-
onTriggerLeave:
|
|
1932
|
-
onContentEnter:
|
|
1933
|
-
onContentLeave:
|
|
1934
|
-
onItemSelect:
|
|
1935
|
-
onItemDismiss:
|
|
1930
|
+
onTriggerEnter: mo(u),
|
|
1931
|
+
onTriggerLeave: mo(d),
|
|
1932
|
+
onContentEnter: mo(f),
|
|
1933
|
+
onContentLeave: mo(p),
|
|
1934
|
+
onItemSelect: mo(c),
|
|
1935
|
+
onItemDismiss: mo(l),
|
|
1936
1936
|
onViewportContentChange: J.useCallback((e, t) => {
|
|
1937
1937
|
_((n) => (n.set(e, t), new Map(n)));
|
|
1938
1938
|
}, []),
|
|
@@ -1949,12 +1949,12 @@ var { enableCache: eu, disableCache: tu, iconLoaded: nu, iconExists: ru, getIcon
|
|
|
1949
1949
|
})
|
|
1950
1950
|
});
|
|
1951
1951
|
}, "NavigationMenuProvider"), wd = "NavigationMenuList", Td = /* @__PURE__ */ J.forwardRef(/* @__PURE__ */ cd(function(e, t) {
|
|
1952
|
-
let { __scopeNavigationMenu: n, ...r } = e, i = yd(wd, n), a = /* @__PURE__ */ (0, Y.jsx)(
|
|
1952
|
+
let { __scopeNavigationMenu: n, ...r } = e, i = yd(wd, n), a = /* @__PURE__ */ (0, Y.jsx)(Ro.ul, {
|
|
1953
1953
|
"data-orientation": i.orientation,
|
|
1954
1954
|
...r,
|
|
1955
1955
|
ref: t
|
|
1956
1956
|
});
|
|
1957
|
-
return /* @__PURE__ */ (0, Y.jsx)(
|
|
1957
|
+
return /* @__PURE__ */ (0, Y.jsx)(Ro.div, {
|
|
1958
1958
|
style: { position: "relative" },
|
|
1959
1959
|
ref: i.onIndicatorTrackChange,
|
|
1960
1960
|
children: /* @__PURE__ */ (0, Y.jsx)(ud.Slot, {
|
|
@@ -1966,7 +1966,7 @@ var { enableCache: eu, disableCache: tu, iconLoaded: nu, iconExists: ru, getIcon
|
|
|
1966
1966
|
})
|
|
1967
1967
|
});
|
|
1968
1968
|
}, "NavigationMenuList")), [Ed, Dd] = gd("NavigationMenuItem"), Od = /* @__PURE__ */ J.forwardRef(/* @__PURE__ */ cd(function(e, t) {
|
|
1969
|
-
let { __scopeNavigationMenu: n, value: r, ...i } = e, a =
|
|
1969
|
+
let { __scopeNavigationMenu: n, value: r, ...i } = e, a = Io(), o = r || a || "LEGACY_REACT_AUTO_VALUE", s = J.useRef(null), c = J.useRef(null), l = J.useRef(null), u = J.useRef(() => {}), d = J.useRef(!1), f = J.useCallback((e = "start") => {
|
|
1970
1970
|
if (s.current) {
|
|
1971
1971
|
u.current();
|
|
1972
1972
|
let t = Xd(s.current);
|
|
@@ -1989,7 +1989,7 @@ var { enableCache: eu, disableCache: tu, iconLoaded: nu, iconExists: ru, getIcon
|
|
|
1989
1989
|
onFocusProxyEnter: f,
|
|
1990
1990
|
onRootContentClose: p,
|
|
1991
1991
|
onContentFocusOutside: p,
|
|
1992
|
-
children: /* @__PURE__ */ (0, Y.jsx)(
|
|
1992
|
+
children: /* @__PURE__ */ (0, Y.jsx)(Ro.li, {
|
|
1993
1993
|
...i,
|
|
1994
1994
|
ref: t
|
|
1995
1995
|
})
|
|
@@ -2001,7 +2001,7 @@ var { enableCache: eu, disableCache: tu, iconLoaded: nu, iconExists: ru, getIcon
|
|
|
2001
2001
|
value: o.value,
|
|
2002
2002
|
children: /* @__PURE__ */ (0, Y.jsx)(Yd, {
|
|
2003
2003
|
asChild: !0,
|
|
2004
|
-
children: /* @__PURE__ */ (0, Y.jsx)(
|
|
2004
|
+
children: /* @__PURE__ */ (0, Y.jsx)(Ro.button, {
|
|
2005
2005
|
id: l,
|
|
2006
2006
|
disabled: r,
|
|
2007
2007
|
"data-disabled": r ? "" : void 0,
|
|
@@ -2010,19 +2010,19 @@ var { enableCache: eu, disableCache: tu, iconLoaded: nu, iconExists: ru, getIcon
|
|
|
2010
2010
|
"aria-controls": p ? u : void 0,
|
|
2011
2011
|
...i,
|
|
2012
2012
|
ref: c,
|
|
2013
|
-
onPointerEnter:
|
|
2013
|
+
onPointerEnter: oo(e.onPointerEnter, () => {
|
|
2014
2014
|
f.current = !1, o.wasEscapeCloseRef.current = !1;
|
|
2015
2015
|
}),
|
|
2016
|
-
onPointerMove:
|
|
2016
|
+
onPointerMove: oo(e.onPointerMove, rf(() => {
|
|
2017
2017
|
r || f.current || o.wasEscapeCloseRef.current || d.current || (a.onTriggerEnter(o.value), d.current = !0);
|
|
2018
2018
|
})),
|
|
2019
|
-
onPointerLeave:
|
|
2019
|
+
onPointerLeave: oo(e.onPointerLeave, rf(() => {
|
|
2020
2020
|
r || (a.onTriggerLeave(), d.current = !1);
|
|
2021
2021
|
})),
|
|
2022
|
-
onClick:
|
|
2022
|
+
onClick: oo(e.onClick, () => {
|
|
2023
2023
|
a.onItemSelect(o.value), f.current = p;
|
|
2024
2024
|
}),
|
|
2025
|
-
onKeyDown:
|
|
2025
|
+
onKeyDown: oo(e.onKeyDown, (e) => {
|
|
2026
2026
|
let t = {
|
|
2027
2027
|
horizontal: "ArrowDown",
|
|
2028
2028
|
vertical: a.dir === "rtl" ? "ArrowLeft" : "ArrowRight"
|
|
@@ -2044,29 +2044,29 @@ var { enableCache: eu, disableCache: tu, iconLoaded: nu, iconExists: ru, getIcon
|
|
|
2044
2044
|
let { __scopeNavigationMenu: n, active: r, onSelect: i, ...a } = e;
|
|
2045
2045
|
return /* @__PURE__ */ (0, Y.jsx)(Yd, {
|
|
2046
2046
|
asChild: !0,
|
|
2047
|
-
children: /* @__PURE__ */ (0, Y.jsx)(
|
|
2047
|
+
children: /* @__PURE__ */ (0, Y.jsx)(Ro.a, {
|
|
2048
2048
|
"data-active": r ? "" : void 0,
|
|
2049
2049
|
"aria-current": r ? "page" : void 0,
|
|
2050
2050
|
...a,
|
|
2051
2051
|
ref: t,
|
|
2052
|
-
onClick:
|
|
2052
|
+
onClick: oo(e.onClick, (e) => {
|
|
2053
2053
|
let t = e.target, n = new CustomEvent(jd, {
|
|
2054
2054
|
bubbles: !0,
|
|
2055
2055
|
cancelable: !0
|
|
2056
2056
|
});
|
|
2057
|
-
if (t.addEventListener(jd, (e) => i?.(e), { once: !0 }),
|
|
2057
|
+
if (t.addEventListener(jd, (e) => i?.(e), { once: !0 }), so(t, n), !n.defaultPrevented && !e.metaKey) {
|
|
2058
2058
|
let e = new CustomEvent(zd, {
|
|
2059
2059
|
bubbles: !0,
|
|
2060
2060
|
cancelable: !0
|
|
2061
2061
|
});
|
|
2062
|
-
|
|
2062
|
+
so(t, e);
|
|
2063
2063
|
}
|
|
2064
2064
|
}, { checkForDefaultPrevented: !1 })
|
|
2065
2065
|
})
|
|
2066
2066
|
});
|
|
2067
2067
|
}, "NavigationMenuLink")), Nd = "NavigationMenuIndicator", Pd = /* @__PURE__ */ J.forwardRef(/* @__PURE__ */ cd(function(e, t) {
|
|
2068
2068
|
let { forceMount: n, ...r } = e, i = yd(Nd, e.__scopeNavigationMenu), a = !!i.value;
|
|
2069
|
-
return i.indicatorTrack ? od.createPortal(/* @__PURE__ */ (0, Y.jsx)(
|
|
2069
|
+
return i.indicatorTrack ? od.createPortal(/* @__PURE__ */ (0, Y.jsx)(Ho, {
|
|
2070
2070
|
present: n || a,
|
|
2071
2071
|
children: /* @__PURE__ */ (0, Y.jsx)(Fd, {
|
|
2072
2072
|
...r,
|
|
@@ -2085,7 +2085,7 @@ var { enableCache: eu, disableCache: tu, iconLoaded: nu, iconExists: ru, getIcon
|
|
|
2085
2085
|
offset: u ? o.offsetLeft : o.offsetTop
|
|
2086
2086
|
});
|
|
2087
2087
|
}, "handlePositionChange");
|
|
2088
|
-
return $d(o, f), $d(i.indicatorTrack, f), c ? /* @__PURE__ */ (0, Y.jsx)(
|
|
2088
|
+
return $d(o, f), $d(i.indicatorTrack, f), c ? /* @__PURE__ */ (0, Y.jsx)(Ro.div, {
|
|
2089
2089
|
"aria-hidden": !0,
|
|
2090
2090
|
"data-state": d ? "visible" : "hidden",
|
|
2091
2091
|
"data-orientation": i.orientation,
|
|
@@ -2121,14 +2121,14 @@ var { enableCache: eu, disableCache: tu, iconLoaded: nu, iconExists: ru, getIcon
|
|
|
2121
2121
|
forceMount: n,
|
|
2122
2122
|
...c,
|
|
2123
2123
|
ref: o
|
|
2124
|
-
}) : /* @__PURE__ */ (0, Y.jsx)(
|
|
2124
|
+
}) : /* @__PURE__ */ (0, Y.jsx)(Ho, {
|
|
2125
2125
|
present: n || s,
|
|
2126
2126
|
children: /* @__PURE__ */ (0, Y.jsx)(Bd, {
|
|
2127
2127
|
"data-state": ef(s),
|
|
2128
2128
|
...c,
|
|
2129
2129
|
ref: o,
|
|
2130
|
-
onPointerEnter:
|
|
2131
|
-
onPointerLeave:
|
|
2130
|
+
onPointerEnter: oo(e.onPointerEnter, i.onContentEnter),
|
|
2131
|
+
onPointerLeave: oo(e.onPointerLeave, rf(i.onContentLeave)),
|
|
2132
2132
|
style: {
|
|
2133
2133
|
pointerEvents: !s && i.isRootMenu ? "none" : void 0,
|
|
2134
2134
|
...c.style
|
|
@@ -2137,7 +2137,7 @@ var { enableCache: eu, disableCache: tu, iconLoaded: nu, iconExists: ru, getIcon
|
|
|
2137
2137
|
});
|
|
2138
2138
|
}, "NavigationMenuContent")), Rd = /* @__PURE__ */ J.forwardRef(/* @__PURE__ */ cd(function(e, t) {
|
|
2139
2139
|
let { onViewportContentChange: n, onViewportContentRemove: r } = yd(Id, e.__scopeNavigationMenu);
|
|
2140
|
-
return
|
|
2140
|
+
return Bo(() => {
|
|
2141
2141
|
n(e.value, {
|
|
2142
2142
|
ref: t,
|
|
2143
2143
|
...e
|
|
@@ -2146,7 +2146,7 @@ var { enableCache: eu, disableCache: tu, iconLoaded: nu, iconExists: ru, getIcon
|
|
|
2146
2146
|
e,
|
|
2147
2147
|
t,
|
|
2148
2148
|
n
|
|
2149
|
-
]),
|
|
2149
|
+
]), Bo(() => () => r(e.value), [e.value, r]), null;
|
|
2150
2150
|
}, "ViewportContentMounter")), zd = "navigationMenu.rootContentDismiss", Bd = /* @__PURE__ */ J.forwardRef(/* @__PURE__ */ cd(function(e, t) {
|
|
2151
2151
|
let { __scopeNavigationMenu: n, value: r, triggerRef: i, focusProxyRef: a, wasEscapeCloseRef: o, onRootContentClose: s, onContentFocusOutside: c, ...l } = e, u = yd(Id, n), d = J.useRef(null), f = m(d, t), p = tf(u.baseId, r), h = nf(u.baseId, r), g = dd(n), _ = J.useRef(null), { onItemDismiss: v } = u;
|
|
2152
2152
|
J.useEffect(() => {
|
|
@@ -2186,7 +2186,7 @@ var { enableCache: eu, disableCache: tu, iconLoaded: nu, iconExists: ru, getIcon
|
|
|
2186
2186
|
]);
|
|
2187
2187
|
return /* @__PURE__ */ (0, Y.jsx)(Kd, {
|
|
2188
2188
|
asChild: !0,
|
|
2189
|
-
children: /* @__PURE__ */ (0, Y.jsx)(
|
|
2189
|
+
children: /* @__PURE__ */ (0, Y.jsx)(Co, {
|
|
2190
2190
|
id: h,
|
|
2191
2191
|
"aria-labelledby": p,
|
|
2192
2192
|
"data-motion": y,
|
|
@@ -2201,30 +2201,30 @@ var { enableCache: eu, disableCache: tu, iconLoaded: nu, iconExists: ru, getIcon
|
|
|
2201
2201
|
});
|
|
2202
2202
|
d.current?.dispatchEvent(e);
|
|
2203
2203
|
},
|
|
2204
|
-
onFocusOutside:
|
|
2204
|
+
onFocusOutside: oo(e.onFocusOutside, (e) => {
|
|
2205
2205
|
c();
|
|
2206
2206
|
let t = e.target;
|
|
2207
2207
|
u.rootNavigationMenu?.contains(t) && e.preventDefault();
|
|
2208
2208
|
}),
|
|
2209
|
-
onPointerDownOutside:
|
|
2209
|
+
onPointerDownOutside: oo(e.onPointerDownOutside, (e) => {
|
|
2210
2210
|
let t = e.target, n = g().some((e) => e.ref.current?.contains(t)), r = u.isRootMenu && u.viewport?.contains(t);
|
|
2211
2211
|
(n || r || !u.isRootMenu) && e.preventDefault();
|
|
2212
2212
|
}),
|
|
2213
|
-
onKeyDown:
|
|
2213
|
+
onKeyDown: oo(e.onKeyDown, (e) => {
|
|
2214
2214
|
let t = e.altKey || e.ctrlKey || e.metaKey;
|
|
2215
2215
|
if (e.key === "Tab" && !t) {
|
|
2216
2216
|
let t = Xd(e.currentTarget), n = document.activeElement, r = t.findIndex((e) => e === n);
|
|
2217
2217
|
Zd(e.shiftKey ? t.slice(0, r).reverse() : t.slice(r + 1, t.length)) ? e.preventDefault() : a.current?.focus();
|
|
2218
2218
|
}
|
|
2219
2219
|
}),
|
|
2220
|
-
onEscapeKeyDown:
|
|
2220
|
+
onEscapeKeyDown: oo(e.onEscapeKeyDown, (e) => {
|
|
2221
2221
|
o.current = !0;
|
|
2222
2222
|
})
|
|
2223
2223
|
})
|
|
2224
2224
|
});
|
|
2225
2225
|
}, "NavigationMenuContentImpl")), Vd = "NavigationMenuViewport", Hd = /* @__PURE__ */ J.forwardRef(/* @__PURE__ */ cd(function(e, t) {
|
|
2226
2226
|
let { forceMount: n, ...r } = e, i = !!yd(Vd, e.__scopeNavigationMenu).value;
|
|
2227
|
-
return /* @__PURE__ */ (0, Y.jsx)(
|
|
2227
|
+
return /* @__PURE__ */ (0, Y.jsx)(Ho, {
|
|
2228
2228
|
present: n || i,
|
|
2229
2229
|
children: /* @__PURE__ */ (0, Y.jsx)(Ud, {
|
|
2230
2230
|
...r,
|
|
@@ -2238,7 +2238,7 @@ var { enableCache: eu, disableCache: tu, iconLoaded: nu, iconExists: ru, getIcon
|
|
|
2238
2238
|
width: u.offsetWidth,
|
|
2239
2239
|
height: u.offsetHeight
|
|
2240
2240
|
});
|
|
2241
|
-
}, "handleSizeChange")), /* @__PURE__ */ (0, Y.jsx)(
|
|
2241
|
+
}, "handleSizeChange")), /* @__PURE__ */ (0, Y.jsx)(Ro.div, {
|
|
2242
2242
|
"data-state": ef(h),
|
|
2243
2243
|
"data-orientation": a.orientation,
|
|
2244
2244
|
...i,
|
|
@@ -2249,11 +2249,11 @@ var { enableCache: eu, disableCache: tu, iconLoaded: nu, iconExists: ru, getIcon
|
|
|
2249
2249
|
"--radix-navigation-menu-viewport-height": p,
|
|
2250
2250
|
...i.style
|
|
2251
2251
|
},
|
|
2252
|
-
onPointerEnter:
|
|
2253
|
-
onPointerLeave:
|
|
2252
|
+
onPointerEnter: oo(e.onPointerEnter, a.onContentEnter),
|
|
2253
|
+
onPointerLeave: oo(e.onPointerLeave, rf(a.onContentLeave)),
|
|
2254
2254
|
children: Array.from(s.items).map(([e, { ref: t, forceMount: n, ...r }]) => {
|
|
2255
2255
|
let i = g === e;
|
|
2256
|
-
return /* @__PURE__ */ (0, Y.jsx)(
|
|
2256
|
+
return /* @__PURE__ */ (0, Y.jsx)(Ho, {
|
|
2257
2257
|
present: n || i,
|
|
2258
2258
|
children: /* @__PURE__ */ (0, Y.jsx)(Wd, {
|
|
2259
2259
|
...r,
|
|
@@ -2278,7 +2278,7 @@ var { enableCache: eu, disableCache: tu, iconLoaded: nu, iconExists: ru, getIcon
|
|
|
2278
2278
|
scope: n,
|
|
2279
2279
|
children: /* @__PURE__ */ (0, Y.jsx)(pd.Slot, {
|
|
2280
2280
|
scope: n,
|
|
2281
|
-
children: /* @__PURE__ */ (0, Y.jsx)(
|
|
2281
|
+
children: /* @__PURE__ */ (0, Y.jsx)(Ro.div, {
|
|
2282
2282
|
dir: i.dir,
|
|
2283
2283
|
...r,
|
|
2284
2284
|
ref: t
|
|
@@ -2294,10 +2294,10 @@ var { enableCache: eu, disableCache: tu, iconLoaded: nu, iconExists: ru, getIcon
|
|
|
2294
2294
|
let { __scopeNavigationMenu: n, ...r } = e, i = md(n), a = yd(Jd, n);
|
|
2295
2295
|
return /* @__PURE__ */ (0, Y.jsx)(pd.ItemSlot, {
|
|
2296
2296
|
scope: n,
|
|
2297
|
-
children: /* @__PURE__ */ (0, Y.jsx)(
|
|
2297
|
+
children: /* @__PURE__ */ (0, Y.jsx)(Ro.button, {
|
|
2298
2298
|
...r,
|
|
2299
2299
|
ref: t,
|
|
2300
|
-
onKeyDown:
|
|
2300
|
+
onKeyDown: oo(e.onKeyDown, (e) => {
|
|
2301
2301
|
if ([
|
|
2302
2302
|
"Home",
|
|
2303
2303
|
"End",
|
|
@@ -2344,8 +2344,8 @@ function Qd(e) {
|
|
|
2344
2344
|
}
|
|
2345
2345
|
cd(Qd, "removeFromTabOrder");
|
|
2346
2346
|
function $d(e, t) {
|
|
2347
|
-
let n =
|
|
2348
|
-
|
|
2347
|
+
let n = mo(t);
|
|
2348
|
+
Bo(() => {
|
|
2349
2349
|
let t = 0;
|
|
2350
2350
|
if (e) {
|
|
2351
2351
|
let r = new ResizeObserver(() => {
|
|
@@ -2407,8 +2407,8 @@ var af = Sd, of = Td, sf = Od, cf = Ad, lf = Md, uf = Pd, df = Ld, ff = Hd, pf =
|
|
|
2407
2407
|
"ArrowUp",
|
|
2408
2408
|
"ArrowLeft"
|
|
2409
2409
|
]
|
|
2410
|
-
}, vf = "Slider", [yf, bf, xf] = wi(vf), [Sf, Cf] =
|
|
2411
|
-
let { name: n, min: r = 0, max: i = 100, step: a = 1, orientation: o = "horizontal", disabled: s = !1, minStepsBetweenThumbs: c = 0, defaultValue: l = [r], value: u, onValueChange: d = /* @__PURE__ */ mf(() => {}, "onValueChange"), onValueCommit: f = /* @__PURE__ */ mf(() => {}, "onValueCommit"), inverted: p = !1, form: h, ...g } = e, _ = J.useRef(/* @__PURE__ */ new Set()), v = J.useRef(0), y = J.useRef(!1), b = o === "horizontal" ? kf : Af, [x, S] = J.useState(null), C = m(t, S), [w = [], T] =
|
|
2410
|
+
}, vf = "Slider", [yf, bf, xf] = wi(vf), [Sf, Cf] = Ja(vf, [xf]), [wf, Tf] = Sf(vf), Ef = /* @__PURE__ */ J.forwardRef(/* @__PURE__ */ mf(function(e, t) {
|
|
2411
|
+
let { name: n, min: r = 0, max: i = 100, step: a = 1, orientation: o = "horizontal", disabled: s = !1, minStepsBetweenThumbs: c = 0, defaultValue: l = [r], value: u, onValueChange: d = /* @__PURE__ */ mf(() => {}, "onValueChange"), onValueCommit: f = /* @__PURE__ */ mf(() => {}, "onValueCommit"), inverted: p = !1, form: h, ...g } = e, _ = J.useRef(/* @__PURE__ */ new Set()), v = J.useRef(0), y = J.useRef(!1), b = o === "horizontal" ? kf : Af, [x, S] = J.useState(null), C = m(t, S), [w = [], T] = _o({
|
|
2412
2412
|
prop: u,
|
|
2413
2413
|
defaultProp: l,
|
|
2414
2414
|
onChange: /* @__PURE__ */ mf((e) => {
|
|
@@ -2473,7 +2473,7 @@ var af = Sd, of = Td, sf = Od, cf = Ad, lf = Md, uf = Pd, df = Ld, ff = Hd, pf =
|
|
|
2473
2473
|
"data-disabled": s ? "" : void 0,
|
|
2474
2474
|
...g,
|
|
2475
2475
|
ref: C,
|
|
2476
|
-
onPointerDown:
|
|
2476
|
+
onPointerDown: oo(g.onPointerDown, () => {
|
|
2477
2477
|
s || (E.current = w, y.current = !1);
|
|
2478
2478
|
}),
|
|
2479
2479
|
min: r,
|
|
@@ -2592,30 +2592,30 @@ var af = Sd, of = Td, sf = Od, cf = Ad, lf = Md, uf = Pd, df = Ld, ff = Hd, pf =
|
|
|
2592
2592
|
});
|
|
2593
2593
|
}, "SliderVertical")), jf = /* @__PURE__ */ J.forwardRef(/* @__PURE__ */ mf(function(e, t) {
|
|
2594
2594
|
let { __scopeSlider: n, onSlideStart: r, onSlideMove: i, onSlideEnd: a, onHomeKeyDown: o, onEndKeyDown: s, onStepKeyDown: c, ...l } = e, u = Tf(vf, n);
|
|
2595
|
-
return /* @__PURE__ */ (0, Y.jsx)(
|
|
2595
|
+
return /* @__PURE__ */ (0, Y.jsx)(Ro.span, {
|
|
2596
2596
|
...l,
|
|
2597
2597
|
ref: t,
|
|
2598
|
-
onKeyDown:
|
|
2598
|
+
onKeyDown: oo(e.onKeyDown, (e) => {
|
|
2599
2599
|
e.key === "Home" ? (o(e), e.preventDefault()) : e.key === "End" ? (s(e), e.preventDefault()) : hf.concat(gf).includes(e.key) && (c(e), e.preventDefault());
|
|
2600
2600
|
}),
|
|
2601
|
-
onPointerDown:
|
|
2601
|
+
onPointerDown: oo(e.onPointerDown, (e) => {
|
|
2602
2602
|
let t = e.target;
|
|
2603
2603
|
t.setPointerCapture(e.pointerId), e.preventDefault(), u.thumbs.has(t) ? t.focus({
|
|
2604
2604
|
preventScroll: !0,
|
|
2605
2605
|
focusVisible: !1
|
|
2606
2606
|
}) : r(e);
|
|
2607
2607
|
}),
|
|
2608
|
-
onPointerMove:
|
|
2608
|
+
onPointerMove: oo(e.onPointerMove, (e) => {
|
|
2609
2609
|
e.target.hasPointerCapture(e.pointerId) && i(e);
|
|
2610
2610
|
}),
|
|
2611
|
-
onPointerUp:
|
|
2611
|
+
onPointerUp: oo(e.onPointerUp, (e) => {
|
|
2612
2612
|
let t = e.target;
|
|
2613
2613
|
t.hasPointerCapture(e.pointerId) && (t.releasePointerCapture(e.pointerId), a(e));
|
|
2614
2614
|
})
|
|
2615
2615
|
});
|
|
2616
2616
|
}, "SliderImpl")), Mf = "SliderTrack", Nf = /* @__PURE__ */ J.forwardRef(/* @__PURE__ */ mf(function(e, t) {
|
|
2617
2617
|
let { __scopeSlider: n, ...r } = e, i = Tf(Mf, n);
|
|
2618
|
-
return /* @__PURE__ */ (0, Y.jsx)(
|
|
2618
|
+
return /* @__PURE__ */ (0, Y.jsx)(Ro.span, {
|
|
2619
2619
|
"data-disabled": i.disabled ? "" : void 0,
|
|
2620
2620
|
"data-orientation": i.orientation,
|
|
2621
2621
|
...r,
|
|
@@ -2623,7 +2623,7 @@ var af = Sd, of = Td, sf = Od, cf = Ad, lf = Md, uf = Pd, df = Ld, ff = Hd, pf =
|
|
|
2623
2623
|
});
|
|
2624
2624
|
}, "SliderTrack")), Pf = "SliderRange", Ff = /* @__PURE__ */ J.forwardRef(/* @__PURE__ */ mf(function(e, t) {
|
|
2625
2625
|
let { __scopeSlider: n, ...r } = e, i = Tf(Pf, n), a = Of(Pf, n), o = J.useRef(null), s = m(t, o), c = i.values.length, l = i.values.map((e) => Kf(e, i.min, i.max)), u = c > 1 ? Math.min(...l) : 0, d = 100 - Math.max(...l);
|
|
2626
|
-
return /* @__PURE__ */ (0, Y.jsx)(
|
|
2626
|
+
return /* @__PURE__ */ (0, Y.jsx)(Ro.span, {
|
|
2627
2627
|
"data-orientation": i.orientation,
|
|
2628
2628
|
"data-disabled": i.disabled ? "" : void 0,
|
|
2629
2629
|
...r,
|
|
@@ -2670,7 +2670,7 @@ var Bf = "SliderThumbTrigger", Vf = /* @__PURE__ */ J.forwardRef(/* @__PURE__ */
|
|
|
2670
2670
|
},
|
|
2671
2671
|
children: /* @__PURE__ */ (0, Y.jsx)(yf.ItemSlot, {
|
|
2672
2672
|
scope: n,
|
|
2673
|
-
children: /* @__PURE__ */ (0, Y.jsx)(
|
|
2673
|
+
children: /* @__PURE__ */ (0, Y.jsx)(Ro.span, {
|
|
2674
2674
|
role: "slider",
|
|
2675
2675
|
"aria-label": e["aria-label"] || f,
|
|
2676
2676
|
"aria-valuemin": i.min,
|
|
@@ -2683,7 +2683,7 @@ var Bf = "SliderThumbTrigger", Vf = /* @__PURE__ */ J.forwardRef(/* @__PURE__ */
|
|
|
2683
2683
|
...r,
|
|
2684
2684
|
ref: d,
|
|
2685
2685
|
style: s === void 0 ? { display: "none" } : e.style,
|
|
2686
|
-
onFocus:
|
|
2686
|
+
onFocus: oo(e.onFocus, () => {
|
|
2687
2687
|
i.valueIndexToChangeRef.current = o;
|
|
2688
2688
|
})
|
|
2689
2689
|
})
|
|
@@ -2710,7 +2710,7 @@ var Bf = "SliderThumbTrigger", Vf = /* @__PURE__ */ J.forwardRef(/* @__PURE__ */
|
|
|
2710
2710
|
let t = new Event("input", { bubbles: !0 });
|
|
2711
2711
|
n.call(e, r), e.dispatchEvent(t);
|
|
2712
2712
|
}
|
|
2713
|
-
}, [c, r]), /* @__PURE__ */ (0, Y.jsx)(
|
|
2713
|
+
}, [c, r]), /* @__PURE__ */ (0, Y.jsx)(Ro.input, {
|
|
2714
2714
|
style: { display: "none" },
|
|
2715
2715
|
name: i,
|
|
2716
2716
|
form: a,
|
|
@@ -2796,20 +2796,20 @@ var rp = Object.defineProperty, ip = (e, t) => rp(e, "name", {
|
|
|
2796
2796
|
value: t,
|
|
2797
2797
|
configurable: !0
|
|
2798
2798
|
}), ap = "Toggle", op = /* @__PURE__ */ J.forwardRef(/* @__PURE__ */ ip(function(e, t) {
|
|
2799
|
-
let { pressed: n, defaultPressed: r, onPressedChange: i, ...a } = e, [o, s] =
|
|
2799
|
+
let { pressed: n, defaultPressed: r, onPressedChange: i, ...a } = e, [o, s] = _o({
|
|
2800
2800
|
prop: n,
|
|
2801
2801
|
onChange: i,
|
|
2802
2802
|
defaultProp: r ?? !1,
|
|
2803
2803
|
caller: ap
|
|
2804
2804
|
});
|
|
2805
|
-
return /* @__PURE__ */ (0, Y.jsx)(
|
|
2805
|
+
return /* @__PURE__ */ (0, Y.jsx)(Ro.button, {
|
|
2806
2806
|
type: "button",
|
|
2807
2807
|
"aria-pressed": o,
|
|
2808
2808
|
"data-state": o ? "on" : "off",
|
|
2809
2809
|
"data-disabled": e.disabled ? "" : void 0,
|
|
2810
2810
|
...a,
|
|
2811
2811
|
ref: t,
|
|
2812
|
-
onClick:
|
|
2812
|
+
onClick: oo(e.onClick, () => {
|
|
2813
2813
|
e.disabled || s(!o);
|
|
2814
2814
|
})
|
|
2815
2815
|
});
|
|
@@ -2893,13 +2893,13 @@ fp ||= {};
|
|
|
2893
2893
|
//#endregion
|
|
2894
2894
|
//#region ../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/coerce.js
|
|
2895
2895
|
function pp(e) {
|
|
2896
|
-
return
|
|
2896
|
+
return lo(Do, e);
|
|
2897
2897
|
}
|
|
2898
2898
|
function mp(e) {
|
|
2899
|
-
return
|
|
2899
|
+
return co(No, e);
|
|
2900
2900
|
}
|
|
2901
2901
|
function hp(e) {
|
|
2902
|
-
return
|
|
2902
|
+
return Qa(ho, e);
|
|
2903
2903
|
}
|
|
2904
2904
|
//#endregion
|
|
2905
2905
|
//#region ../node_modules/.pnpm/react-hook-form@7.54.2_react@19.3.0/node_modules/react-hook-form/dist/index.esm.mjs
|
|
@@ -4197,10 +4197,10 @@ function ph() {
|
|
|
4197
4197
|
//#endregion
|
|
4198
4198
|
//#region src/utils/zod-utils.ts
|
|
4199
4199
|
function mh(e) {
|
|
4200
|
-
return e instanceof
|
|
4200
|
+
return e instanceof jo;
|
|
4201
4201
|
}
|
|
4202
4202
|
function hh(e) {
|
|
4203
|
-
return e instanceof
|
|
4203
|
+
return e instanceof Ao;
|
|
4204
4204
|
}
|
|
4205
4205
|
function gh(e) {
|
|
4206
4206
|
return e instanceof So;
|
|
@@ -4428,7 +4428,7 @@ var Ph = J.forwardRef((e, t) => {
|
|
|
4428
4428
|
defaultProp: o,
|
|
4429
4429
|
onChange: i
|
|
4430
4430
|
}, n[4] = o, n[5] = i, n[6] = a.value, n[7] = c) : c = n[7];
|
|
4431
|
-
let [l, u] =
|
|
4431
|
+
let [l, u] = _o(c), d, f;
|
|
4432
4432
|
n[8] === l ? (d = n[9], f = n[10]) : (d = () => {
|
|
4433
4433
|
s(l || "");
|
|
4434
4434
|
}, f = [l], n[8] = l, n[9] = d, n[10] = f), J.useEffect(d, f);
|
|
@@ -4457,7 +4457,7 @@ function Fh(e) {
|
|
|
4457
4457
|
}
|
|
4458
4458
|
function Ih(e) {
|
|
4459
4459
|
let t = (e) => {
|
|
4460
|
-
if (e instanceof
|
|
4460
|
+
if (e instanceof Eo) {
|
|
4461
4461
|
let t = [...e.values];
|
|
4462
4462
|
return e.values.size === 1 ? t[0] : t;
|
|
4463
4463
|
}
|
|
@@ -4469,16 +4469,16 @@ function Ih(e) {
|
|
|
4469
4469
|
if (gh(e)) return e.def.items.map((e) => t(e));
|
|
4470
4470
|
if ("unwrap" in e) return t(Fh(e));
|
|
4471
4471
|
};
|
|
4472
|
-
return e instanceof
|
|
4472
|
+
return e instanceof po || e instanceof Mo ? t(e.options[0]) : mh(e) ? Rh(e) ? [Ih(e.element)] : [] : e instanceof Do ? "" : e instanceof vo ? e.options[0] : e instanceof yo ? Object.fromEntries(Object.entries(e.shape).map(([e, n]) => [e, t(n)])) : t(e);
|
|
4473
4473
|
}
|
|
4474
4474
|
function Lh(e) {
|
|
4475
|
-
if (e instanceof
|
|
4476
|
-
if (e instanceof
|
|
4475
|
+
if (e instanceof Eo) return e;
|
|
4476
|
+
if (e instanceof yo) {
|
|
4477
4477
|
let t = e.shape.type;
|
|
4478
|
-
if (t instanceof
|
|
4478
|
+
if (t instanceof Eo) return t;
|
|
4479
4479
|
throw Error("Invalid schema");
|
|
4480
4480
|
}
|
|
4481
|
-
if (e instanceof
|
|
4481
|
+
if (e instanceof po || e instanceof Mo) return Lh(e.options[0]);
|
|
4482
4482
|
throw s.warn(e), Error("Invalid schema");
|
|
4483
4483
|
}
|
|
4484
4484
|
function Rh(e) {
|
|
@@ -4636,7 +4636,7 @@ function Yh({ schema: e, form: t, path: n, renderers: r }) {
|
|
|
4636
4636
|
renderers: r
|
|
4637
4637
|
});
|
|
4638
4638
|
}
|
|
4639
|
-
if (e instanceof
|
|
4639
|
+
if (e instanceof bo) {
|
|
4640
4640
|
let i = e.unwrap();
|
|
4641
4641
|
return i = !i.description && e.description ? i.describe(e.description) : i, Yh({
|
|
4642
4642
|
schema: i,
|
|
@@ -4645,10 +4645,10 @@ function Yh({ schema: e, form: t, path: n, renderers: r }) {
|
|
|
4645
4645
|
renderers: r
|
|
4646
4646
|
});
|
|
4647
4647
|
}
|
|
4648
|
-
if (e instanceof
|
|
4648
|
+
if (e instanceof yo) return /* @__PURE__ */ (0, Y.jsxs)("div", {
|
|
4649
4649
|
className: c("flex", s === "row" ? "flex-row gap-6 items-start" : s === "two-columns" ? "grid grid-cols-2 gap-y-6" : "flex-col gap-6"),
|
|
4650
4650
|
children: [/* @__PURE__ */ (0, Y.jsx)(Ch, { children: i }), Ts.entries(e.shape).map(([e, i]) => {
|
|
4651
|
-
let a = i instanceof
|
|
4651
|
+
let a = i instanceof Eo, o = Yh({
|
|
4652
4652
|
schema: i,
|
|
4653
4653
|
form: t,
|
|
4654
4654
|
path: tg(n, e),
|
|
@@ -4660,7 +4660,7 @@ function Yh({ schema: e, form: t, path: n, renderers: r }) {
|
|
|
4660
4660
|
}, e);
|
|
4661
4661
|
})]
|
|
4662
4662
|
});
|
|
4663
|
-
if (e instanceof
|
|
4663
|
+
if (e instanceof Do) return o === "time" ? /* @__PURE__ */ (0, Y.jsx)(yh, {
|
|
4664
4664
|
control: t.control,
|
|
4665
4665
|
name: n,
|
|
4666
4666
|
render: ({ field: e }) => /* @__PURE__ */ (0, Y.jsxs)(Sh, { children: [
|
|
@@ -4695,7 +4695,7 @@ function Yh({ schema: e, form: t, path: n, renderers: r }) {
|
|
|
4695
4695
|
})]
|
|
4696
4696
|
}), /* @__PURE__ */ (0, Y.jsx)(Eh, {})] })
|
|
4697
4697
|
});
|
|
4698
|
-
if (e instanceof
|
|
4698
|
+
if (e instanceof No) return o === "random_number_button" ? /* @__PURE__ */ (0, Y.jsx)(yh, {
|
|
4699
4699
|
control: t.control,
|
|
4700
4700
|
name: n,
|
|
4701
4701
|
render: ({ field: e }) => /* @__PURE__ */ (0, Y.jsxs)(g, {
|
|
@@ -4753,7 +4753,7 @@ function Yh({ schema: e, form: t, path: n, renderers: r }) {
|
|
|
4753
4753
|
options: r
|
|
4754
4754
|
});
|
|
4755
4755
|
}
|
|
4756
|
-
if (e instanceof
|
|
4756
|
+
if (e instanceof jo) {
|
|
4757
4757
|
if (o === "text_area_multiline") return /* @__PURE__ */ (0, Y.jsx)(Qh, {
|
|
4758
4758
|
schema: e,
|
|
4759
4759
|
form: t,
|
|
@@ -4781,7 +4781,7 @@ function Yh({ schema: e, form: t, path: n, renderers: r }) {
|
|
|
4781
4781
|
}, n)]
|
|
4782
4782
|
});
|
|
4783
4783
|
}
|
|
4784
|
-
if (e instanceof
|
|
4784
|
+
if (e instanceof Mo) {
|
|
4785
4785
|
let a = e.def, o = a.options, s = a.discriminator, c = (e) => o.find((t) => Lh(t).value === e);
|
|
4786
4786
|
return /* @__PURE__ */ (0, Y.jsx)(yh, {
|
|
4787
4787
|
control: t.control,
|
|
@@ -4821,7 +4821,7 @@ function Yh({ schema: e, form: t, path: n, renderers: r }) {
|
|
|
4821
4821
|
}
|
|
4822
4822
|
});
|
|
4823
4823
|
}
|
|
4824
|
-
return e instanceof
|
|
4824
|
+
return e instanceof po ? /* @__PURE__ */ (0, Y.jsx)(yh, {
|
|
4825
4825
|
control: t.control,
|
|
4826
4826
|
name: n,
|
|
4827
4827
|
render: ({ field: a }) => {
|
|
@@ -4849,7 +4849,7 @@ function Yh({ schema: e, form: t, path: n, renderers: r }) {
|
|
|
4849
4849
|
]
|
|
4850
4850
|
});
|
|
4851
4851
|
}
|
|
4852
|
-
}) : e instanceof
|
|
4852
|
+
}) : e instanceof Eo ? /* @__PURE__ */ (0, Y.jsx)(yh, {
|
|
4853
4853
|
control: t.control,
|
|
4854
4854
|
name: n,
|
|
4855
4855
|
render: ({ field: t }) => /* @__PURE__ */ (0, Y.jsx)("input", {
|
|
@@ -6117,7 +6117,7 @@ var i_ = (e) => {
|
|
|
6117
6117
|
onValueChange: c,
|
|
6118
6118
|
children: [p, h]
|
|
6119
6119
|
}), t[20] = p, t[21] = h, t[22] = g) : g = t[22], g;
|
|
6120
|
-
}, a_ =
|
|
6120
|
+
}, a_ = uo(({ container: e, children: t }) => (0, od.createPortal)(t, e ?? document.body)), o_ = 8, s_ = (e) => {
|
|
6121
6121
|
let t = (0, X.c)(18), { anchorRef: n, open: r, children: i } = e, [a, o] = J.useState(null), s = J.useRef(null), c;
|
|
6122
6122
|
t[0] === n ? c = t[1] : (c = () => {
|
|
6123
6123
|
if (!n.current) return;
|
|
@@ -6159,18 +6159,18 @@ var i_ = (e) => {
|
|
|
6159
6159
|
}) }), t[15] = i, t[16] = h, t[17] = g) : g = t[17], g;
|
|
6160
6160
|
}, c_ = class {
|
|
6161
6161
|
tagName = "marimo-nav-menu";
|
|
6162
|
-
menuItemValidator =
|
|
6162
|
+
menuItemValidator = W({
|
|
6163
6163
|
label: U(),
|
|
6164
6164
|
href: U(),
|
|
6165
6165
|
description: U().nullish()
|
|
6166
6166
|
});
|
|
6167
|
-
menuItemGroupValidator =
|
|
6167
|
+
menuItemGroupValidator = W({
|
|
6168
6168
|
label: U(),
|
|
6169
|
-
items:
|
|
6169
|
+
items: G(this.menuItemValidator)
|
|
6170
6170
|
});
|
|
6171
|
-
validator =
|
|
6172
|
-
items:
|
|
6173
|
-
orientation:
|
|
6171
|
+
validator = W({
|
|
6172
|
+
items: G(eo([this.menuItemValidator, this.menuItemGroupValidator])),
|
|
6173
|
+
orientation: Fo(["horizontal", "vertical"])
|
|
6174
6174
|
});
|
|
6175
6175
|
render(e) {
|
|
6176
6176
|
return /* @__PURE__ */ (0, Y.jsx)(l_, { ...e.data });
|
|
@@ -9278,7 +9278,7 @@ function $x(e) {
|
|
|
9278
9278
|
//#region src/plugins/core/BadPlugin.tsx
|
|
9279
9279
|
var eS = re, tS = E, nS = k, rS = O, iS = (e) => {
|
|
9280
9280
|
let t = (0, X.c)(13), { error: n, badData: r } = e;
|
|
9281
|
-
if (n instanceof
|
|
9281
|
+
if (n instanceof qa) {
|
|
9282
9282
|
let e;
|
|
9283
9283
|
t[0] === Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */ (0, Y.jsx)(Ns, { children: "Bad Data" }), t[0] = e) : e = t[0];
|
|
9284
9284
|
let i;
|
|
@@ -9407,7 +9407,7 @@ function lS({ hostElement: e, plugin: t, children: n, getInitialValue: r }, i) {
|
|
|
9407
9407
|
e,
|
|
9408
9408
|
h
|
|
9409
9409
|
]);
|
|
9410
|
-
return p.success ? /* @__PURE__ */ (0, Y.jsx)(
|
|
9410
|
+
return p.success ? /* @__PURE__ */ (0, Y.jsx)(io, { children: /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
9411
9411
|
className: `contents ${f}`,
|
|
9412
9412
|
children: /* @__PURE__ */ (0, Y.jsx)(J.Suspense, {
|
|
9413
9413
|
fallback: /* @__PURE__ */ (0, Y.jsx)("div", {}),
|
|
@@ -9535,7 +9535,7 @@ function hS(e) {
|
|
|
9535
9535
|
}
|
|
9536
9536
|
function gS(e, t) {
|
|
9537
9537
|
let n = e.safeParse(t);
|
|
9538
|
-
if (!n.success) throw s.log("Failed to parse data", t, n.error), Error(
|
|
9538
|
+
if (!n.success) throw s.log("Failed to parse data", t, n.error), Error(Za(n.error));
|
|
9539
9539
|
return n.data;
|
|
9540
9540
|
}
|
|
9541
9541
|
//#endregion
|
|
@@ -9706,7 +9706,7 @@ function wS(e, t = {}) {
|
|
|
9706
9706
|
}
|
|
9707
9707
|
//#endregion
|
|
9708
9708
|
//#region src/plugins/impl/anywidget/AnyWidgetPlugin.tsx
|
|
9709
|
-
var TS = wS("marimo-anywidget").withData(
|
|
9709
|
+
var TS = wS("marimo-anywidget").withData(W({ modelId: Lo(og, { message: "Expected a non-empty widget model id" }) })).withFunctions({}).renderer((e) => /* @__PURE__ */ (0, Y.jsx)(ES, { ...e })), ES = (e) => {
|
|
9710
9710
|
let t = (0, X.c)(9), { modelId: n } = e.data, r = (0, J.useRef)(null), [i, a] = (0, J.useState)(), o = ns(Gs), s, c;
|
|
9711
9711
|
t[0] !== o || t[1] !== n ? (s = () => {
|
|
9712
9712
|
if (!o) return;
|
|
@@ -9908,7 +9908,7 @@ function NS(e) {
|
|
|
9908
9908
|
}
|
|
9909
9909
|
//#endregion
|
|
9910
9910
|
//#region src/plugins/impl/common/intent.ts
|
|
9911
|
-
var PS =
|
|
9911
|
+
var PS = Fo([
|
|
9912
9912
|
"neutral",
|
|
9913
9913
|
"success",
|
|
9914
9914
|
"warn",
|
|
@@ -9917,11 +9917,11 @@ var PS = Vo([
|
|
|
9917
9917
|
"alert"
|
|
9918
9918
|
]).default("neutral"), FS = class {
|
|
9919
9919
|
tagName = "marimo-button";
|
|
9920
|
-
validator =
|
|
9920
|
+
validator = W({
|
|
9921
9921
|
label: U(),
|
|
9922
9922
|
kind: PS,
|
|
9923
|
-
disabled:
|
|
9924
|
-
fullWidth:
|
|
9923
|
+
disabled: H().default(!1),
|
|
9924
|
+
fullWidth: H().default(!1),
|
|
9925
9925
|
tooltip: U().optional(),
|
|
9926
9926
|
keyboardShortcut: U().optional()
|
|
9927
9927
|
});
|
|
@@ -10001,10 +10001,10 @@ var LS = (e) => {
|
|
|
10001
10001
|
}), t[24] = r, t[25] = h, t[26] = x, t[27] = S) : S = t[27], S;
|
|
10002
10002
|
}, RS = class {
|
|
10003
10003
|
tagName = "marimo-checkbox";
|
|
10004
|
-
validator =
|
|
10005
|
-
initialValue:
|
|
10004
|
+
validator = W({
|
|
10005
|
+
initialValue: H(),
|
|
10006
10006
|
label: U().nullable(),
|
|
10007
|
-
disabled:
|
|
10007
|
+
disabled: H().optional()
|
|
10008
10008
|
});
|
|
10009
10009
|
render(e) {
|
|
10010
10010
|
return /* @__PURE__ */ (0, Y.jsx)(zS, { ...e });
|
|
@@ -10031,17 +10031,17 @@ var LS = (e) => {
|
|
|
10031
10031
|
}), t[7] = i.label, t[8] = s, t[9] = c, t[10] = l) : l = t[10], l;
|
|
10032
10032
|
}, BS = class {
|
|
10033
10033
|
tagName = "marimo-code-editor";
|
|
10034
|
-
validator =
|
|
10034
|
+
validator = W({
|
|
10035
10035
|
initialValue: U(),
|
|
10036
10036
|
language: U().default("python"),
|
|
10037
10037
|
placeholder: U(),
|
|
10038
|
-
theme:
|
|
10038
|
+
theme: Fo(["light", "dark"]).optional(),
|
|
10039
10039
|
label: U().nullable(),
|
|
10040
|
-
disabled:
|
|
10041
|
-
minHeight:
|
|
10042
|
-
maxHeight:
|
|
10043
|
-
showCopyButton:
|
|
10044
|
-
debounce:
|
|
10040
|
+
disabled: H().optional(),
|
|
10041
|
+
minHeight: K().optional(),
|
|
10042
|
+
maxHeight: K().optional(),
|
|
10043
|
+
showCopyButton: H().optional(),
|
|
10044
|
+
debounce: eo([H(), K()]).default(!1)
|
|
10045
10045
|
});
|
|
10046
10046
|
render(e) {
|
|
10047
10047
|
return /* @__PURE__ */ (0, Y.jsx)(VS, {
|
|
@@ -10112,40 +10112,40 @@ var LS = (e) => {
|
|
|
10112
10112
|
output: t
|
|
10113
10113
|
};
|
|
10114
10114
|
} };
|
|
10115
|
-
} }, US = J.lazy(() => import("./chat-ui-
|
|
10115
|
+
} }, US = J.lazy(() => import("./chat-ui-C1Gjgokv.js").then((e) => ({ default: e.Chatbot }))), WS = G(W({
|
|
10116
10116
|
id: U(),
|
|
10117
|
-
role:
|
|
10117
|
+
role: Fo([
|
|
10118
10118
|
"system",
|
|
10119
10119
|
"user",
|
|
10120
10120
|
"assistant"
|
|
10121
10121
|
]),
|
|
10122
10122
|
content: U().nullable(),
|
|
10123
|
-
parts:
|
|
10124
|
-
metadata:
|
|
10125
|
-
})), GS =
|
|
10126
|
-
max_tokens:
|
|
10127
|
-
temperature:
|
|
10128
|
-
top_p:
|
|
10129
|
-
top_k:
|
|
10130
|
-
frequency_penalty:
|
|
10131
|
-
presence_penalty:
|
|
10132
|
-
}), KS = wS("marimo-chatbot").withData(
|
|
10133
|
-
prompts:
|
|
10134
|
-
showConfigurationControls:
|
|
10135
|
-
maxHeight:
|
|
10123
|
+
parts: G(zo()),
|
|
10124
|
+
metadata: zo().optional()
|
|
10125
|
+
})), GS = W({
|
|
10126
|
+
max_tokens: K().nullable(),
|
|
10127
|
+
temperature: K().nullable(),
|
|
10128
|
+
top_p: K().nullable(),
|
|
10129
|
+
top_k: K().nullable(),
|
|
10130
|
+
frequency_penalty: K().nullable(),
|
|
10131
|
+
presence_penalty: K().nullable()
|
|
10132
|
+
}), KS = wS("marimo-chatbot").withData(W({
|
|
10133
|
+
prompts: G(U()).default(Cs.EMPTY),
|
|
10134
|
+
showConfigurationControls: H(),
|
|
10135
|
+
maxHeight: K().optional(),
|
|
10136
10136
|
config: GS,
|
|
10137
|
-
allowAttachments:
|
|
10138
|
-
disabled:
|
|
10137
|
+
allowAttachments: eo([H(), U().array()]),
|
|
10138
|
+
disabled: H().default(!1)
|
|
10139
10139
|
})).withFunctions({
|
|
10140
|
-
get_chat_history: HS.input(
|
|
10141
|
-
delete_chat_history: HS.input(
|
|
10142
|
-
delete_chat_message: HS.input(
|
|
10143
|
-
send_prompt: HS.input(
|
|
10140
|
+
get_chat_history: HS.input(W({})).output(W({ messages: WS })),
|
|
10141
|
+
delete_chat_history: HS.input(W({})).output(go()),
|
|
10142
|
+
delete_chat_message: HS.input(W({ index: K() })).output(go()),
|
|
10143
|
+
send_prompt: HS.input(W({
|
|
10144
10144
|
request_id: U(),
|
|
10145
10145
|
messages: WS,
|
|
10146
10146
|
config: GS
|
|
10147
|
-
})).output(
|
|
10148
|
-
cancel_prompt: HS.input(
|
|
10147
|
+
})).output(ao()),
|
|
10148
|
+
cancel_prompt: HS.input(W({ request_id: U() })).output(go())
|
|
10149
10149
|
}).renderer((e) => /* @__PURE__ */ (0, Y.jsx)(J.Suspense, { children: /* @__PURE__ */ (0, Y.jsx)(US, {
|
|
10150
10150
|
prompts: e.data.prompts,
|
|
10151
10151
|
showConfigurationControls: e.data.showConfigurationControls,
|
|
@@ -10242,7 +10242,7 @@ var $S = [
|
|
|
10242
10242
|
label: "Value",
|
|
10243
10243
|
special: "column_values"
|
|
10244
10244
|
})),
|
|
10245
|
-
stringMultiColumnValues:
|
|
10245
|
+
stringMultiColumnValues: G(U()).min(1).describe(fh.of({
|
|
10246
10246
|
label: "Value",
|
|
10247
10247
|
special: "column_values"
|
|
10248
10248
|
})),
|
|
@@ -10268,7 +10268,7 @@ var $S = [
|
|
|
10268
10268
|
">=": [e],
|
|
10269
10269
|
"<": [e],
|
|
10270
10270
|
"<=": [e],
|
|
10271
|
-
between: [
|
|
10271
|
+
between: [W({
|
|
10272
10272
|
min: e,
|
|
10273
10273
|
max: e
|
|
10274
10274
|
})],
|
|
@@ -10334,53 +10334,53 @@ function mC(e, t) {
|
|
|
10334
10334
|
].flat();
|
|
10335
10335
|
return n.length === 0 || n.some((e) => e.safeParse(t).success);
|
|
10336
10336
|
}
|
|
10337
|
-
var hC = (e, t) => e[t] ? e[t] : [], gC =
|
|
10337
|
+
var hC = (e, t) => e[t] ? e[t] : [], gC = G($a([pp(), $a([Fo($S).catch("unknown"), U()])])), _C = U().min(1, "Required").or(K()).transform((e) => e).describe(fh.of({
|
|
10338
10338
|
label: "Column",
|
|
10339
10339
|
special: "column_id"
|
|
10340
|
-
})), vC =
|
|
10340
|
+
})), vC = G(_C.describe(fh.of({ special: "column_id" }))).min(1, "At least one column is required").default([]).describe(fh.of({
|
|
10341
10341
|
label: "Columns",
|
|
10342
10342
|
minLength: 1
|
|
10343
|
-
})), yC =
|
|
10344
|
-
type:
|
|
10343
|
+
})), yC = W({
|
|
10344
|
+
type: Ya("column_conversion"),
|
|
10345
10345
|
column_id: _C,
|
|
10346
|
-
data_type:
|
|
10347
|
-
errors:
|
|
10346
|
+
data_type: Fo(eC).describe(fh.of({ label: "Data type (numpy)" })).default("bool"),
|
|
10347
|
+
errors: Fo(["ignore", "raise"]).default("ignore").describe(fh.of({
|
|
10348
10348
|
label: "Handle errors",
|
|
10349
10349
|
special: "radio_group"
|
|
10350
10350
|
}))
|
|
10351
|
-
}).describe(fh.of({})), bC =
|
|
10352
|
-
type:
|
|
10351
|
+
}).describe(fh.of({})), bC = W({
|
|
10352
|
+
type: Ya("rename_column"),
|
|
10353
10353
|
column_id: _C,
|
|
10354
10354
|
new_column_id: U().min(1, "Required").transform((e) => e).describe(fh.of({
|
|
10355
10355
|
label: "New column name",
|
|
10356
10356
|
minLength: 1
|
|
10357
10357
|
}))
|
|
10358
|
-
}), xC =
|
|
10359
|
-
type:
|
|
10358
|
+
}), xC = W({
|
|
10359
|
+
type: Ya("sort_column"),
|
|
10360
10360
|
column_id: _C,
|
|
10361
|
-
ascending:
|
|
10362
|
-
na_position:
|
|
10361
|
+
ascending: H().describe(fh.of({ label: "Ascending" })).default(!0),
|
|
10362
|
+
na_position: Fo(["first", "last"]).describe(fh.of({
|
|
10363
10363
|
label: "N/A position",
|
|
10364
10364
|
special: "radio_group"
|
|
10365
10365
|
})).default("last")
|
|
10366
|
-
}), SC =
|
|
10366
|
+
}), SC = W({
|
|
10367
10367
|
column_id: _C,
|
|
10368
|
-
operator:
|
|
10369
|
-
type:
|
|
10370
|
-
value:
|
|
10371
|
-
negate:
|
|
10368
|
+
operator: Fo(Object.keys(uC)).describe(fh.of({ label: " " })),
|
|
10369
|
+
type: Ya("condition").default("condition"),
|
|
10370
|
+
value: zo().optional().describe(fh.of({ label: "Value" })),
|
|
10371
|
+
negate: H().default(!1)
|
|
10372
10372
|
}).describe(fh.of({
|
|
10373
10373
|
direction: "row",
|
|
10374
10374
|
special: "column_filter"
|
|
10375
|
-
})), CC =
|
|
10376
|
-
type:
|
|
10377
|
-
operator:
|
|
10378
|
-
children:
|
|
10379
|
-
negate:
|
|
10380
|
-
})), wC =
|
|
10381
|
-
type:
|
|
10382
|
-
operation:
|
|
10383
|
-
where:
|
|
10375
|
+
})), CC = Xa(() => W({
|
|
10376
|
+
type: Ya("group").default("group"),
|
|
10377
|
+
operator: Fo(["and", "or"]).default("and"),
|
|
10378
|
+
children: G(eo([SC, CC])).default([]),
|
|
10379
|
+
negate: H().default(!1)
|
|
10380
|
+
})), wC = W({
|
|
10381
|
+
type: Ya("filter_rows"),
|
|
10382
|
+
operation: Fo(["keep_rows", "remove_rows"]).default("keep_rows").describe(fh.of({ special: "radio_group" })),
|
|
10383
|
+
where: G(SC).min(1).describe(fh.of({
|
|
10384
10384
|
label: "Value",
|
|
10385
10385
|
minLength: 1
|
|
10386
10386
|
})).default(() => [{
|
|
@@ -10390,64 +10390,64 @@ var hC = (e, t) => e[t] ? e[t] : [], gC = H(so([pp(), so([Vo($S).catch("unknown"
|
|
|
10390
10390
|
type: "condition",
|
|
10391
10391
|
negate: !1
|
|
10392
10392
|
}]).transform((e) => e.filter((e) => mC(e.operator, e.value)))
|
|
10393
|
-
}), TC =
|
|
10394
|
-
type:
|
|
10395
|
-
column_ids:
|
|
10393
|
+
}), TC = W({
|
|
10394
|
+
type: Ya("group_by"),
|
|
10395
|
+
column_ids: G(_C.describe(fh.of({ special: "column_id" }))).default([]).describe(fh.of({
|
|
10396
10396
|
label: "Group by columns",
|
|
10397
10397
|
minLength: 1
|
|
10398
10398
|
})),
|
|
10399
|
-
aggregation_column_ids:
|
|
10400
|
-
aggregation:
|
|
10401
|
-
drop_na:
|
|
10402
|
-
}).describe(fh.of({})), EC =
|
|
10403
|
-
type:
|
|
10399
|
+
aggregation_column_ids: G(_C.describe(fh.of({ special: "column_id" }))).default([]).describe(fh.of({ label: "Aggregate on columns" })),
|
|
10400
|
+
aggregation: Fo(tC).default("count").describe(fh.of({ label: "Aggregation" })),
|
|
10401
|
+
drop_na: H().default(!1).describe(fh.of({ label: "Drop N/A" }))
|
|
10402
|
+
}).describe(fh.of({})), EC = W({
|
|
10403
|
+
type: Ya("aggregate"),
|
|
10404
10404
|
column_ids: vC,
|
|
10405
|
-
aggregations:
|
|
10405
|
+
aggregations: G(Fo(tC)).min(1, "At least one aggregation is required").default(["count"]).describe(fh.of({
|
|
10406
10406
|
label: "Aggregations",
|
|
10407
10407
|
minLength: 1
|
|
10408
10408
|
}))
|
|
10409
|
-
}).describe(fh.of({ direction: "row" })), DC =
|
|
10410
|
-
type:
|
|
10409
|
+
}).describe(fh.of({ direction: "row" })), DC = W({
|
|
10410
|
+
type: Ya("select_columns"),
|
|
10411
10411
|
column_ids: vC
|
|
10412
|
-
}), OC =
|
|
10413
|
-
type:
|
|
10414
|
-
n:
|
|
10415
|
-
seed:
|
|
10412
|
+
}), OC = W({
|
|
10413
|
+
type: Ya("sample_rows"),
|
|
10414
|
+
n: K().positive().describe(fh.of({ label: "Number of rows" })),
|
|
10415
|
+
seed: K().default(() => ph()).describe(fh.of({
|
|
10416
10416
|
label: "Re-sample",
|
|
10417
10417
|
special: "random_number_button"
|
|
10418
10418
|
})),
|
|
10419
|
-
replace:
|
|
10420
|
-
}), kC =
|
|
10421
|
-
type:
|
|
10422
|
-
seed:
|
|
10419
|
+
replace: H().default(!1).describe(fh.of({ label: "Sample with replacement" }))
|
|
10420
|
+
}), kC = W({
|
|
10421
|
+
type: Ya("shuffle_rows"),
|
|
10422
|
+
seed: K().default(() => ph()).describe(fh.of({
|
|
10423
10423
|
label: "Re-shuffle",
|
|
10424
10424
|
special: "random_number_button"
|
|
10425
10425
|
}))
|
|
10426
|
-
}), AC =
|
|
10427
|
-
type:
|
|
10426
|
+
}), AC = W({
|
|
10427
|
+
type: Ya("explode_columns"),
|
|
10428
10428
|
column_ids: vC
|
|
10429
|
-
}), jC =
|
|
10430
|
-
type:
|
|
10429
|
+
}), jC = W({
|
|
10430
|
+
type: Ya("expand_dict"),
|
|
10431
10431
|
column_id: _C
|
|
10432
|
-
}), MC =
|
|
10433
|
-
type:
|
|
10432
|
+
}), MC = W({
|
|
10433
|
+
type: Ya("unique"),
|
|
10434
10434
|
column_ids: vC,
|
|
10435
|
-
keep:
|
|
10435
|
+
keep: Fo([
|
|
10436
10436
|
"first",
|
|
10437
10437
|
"last",
|
|
10438
10438
|
"none",
|
|
10439
10439
|
"any"
|
|
10440
10440
|
]).default("first").describe(fh.of({ label: "Keep" }))
|
|
10441
|
-
}).describe(fh.of({ direction: "row" })), NC =
|
|
10442
|
-
type:
|
|
10441
|
+
}).describe(fh.of({ direction: "row" })), NC = W({
|
|
10442
|
+
type: Ya("pivot"),
|
|
10443
10443
|
column_ids: vC,
|
|
10444
|
-
index_column_ids:
|
|
10445
|
-
value_column_ids:
|
|
10444
|
+
index_column_ids: G(_C.describe(fh.of({ special: "column_id" }))).default([]).describe(fh.of({ label: "Rows" })),
|
|
10445
|
+
value_column_ids: G(_C.describe(fh.of({ special: "column_id" }))).default([]).describe(fh.of({
|
|
10446
10446
|
label: "Values",
|
|
10447
10447
|
minLength: 1
|
|
10448
10448
|
})),
|
|
10449
|
-
aggregation:
|
|
10450
|
-
}).describe(fh.of({})), PC =
|
|
10449
|
+
aggregation: Fo(tC).default("sum").describe(fh.of({ label: "Aggregation" }))
|
|
10450
|
+
}).describe(fh.of({})), PC = eo([
|
|
10451
10451
|
wC,
|
|
10452
10452
|
DC,
|
|
10453
10453
|
bC,
|
|
@@ -10461,7 +10461,7 @@ var hC = (e, t) => e[t] ? e[t] : [], gC = H(so([pp(), so([Vo($S).catch("unknown"
|
|
|
10461
10461
|
jC,
|
|
10462
10462
|
MC,
|
|
10463
10463
|
NC
|
|
10464
|
-
]), FC =
|
|
10464
|
+
]), FC = W({ transforms: G(PC) });
|
|
10465
10465
|
//#endregion
|
|
10466
10466
|
//#region src/plugins/impl/data-editor/data-utils.ts
|
|
10467
10467
|
function IC(e, t) {
|
|
@@ -10578,18 +10578,18 @@ function VC(e, t) {
|
|
|
10578
10578
|
}
|
|
10579
10579
|
//#endregion
|
|
10580
10580
|
//#region src/plugins/impl/DataEditorPlugin.tsx
|
|
10581
|
-
var HC = J.lazy(() => import("./glide-data-editor-
|
|
10582
|
-
initialValue:
|
|
10583
|
-
rowIdx:
|
|
10581
|
+
var HC = J.lazy(() => import("./glide-data-editor-BxMhUd3K.js").then((e) => e.t)), UC = wS("marimo-data-editor", { cssStyles: [qS] }).withData(W({
|
|
10582
|
+
initialValue: W({ edits: G(W({
|
|
10583
|
+
rowIdx: K(),
|
|
10584
10584
|
columnId: U(),
|
|
10585
|
-
value:
|
|
10585
|
+
value: ao()
|
|
10586
10586
|
})) }),
|
|
10587
10587
|
label: U().nullable(),
|
|
10588
|
-
data:
|
|
10588
|
+
data: eo([U(), G(W({}).passthrough())]),
|
|
10589
10589
|
fieldTypes: gC.nullish(),
|
|
10590
|
-
columnNames:
|
|
10591
|
-
editableColumns:
|
|
10592
|
-
columnSizingMode:
|
|
10590
|
+
columnNames: G(U()).default([]),
|
|
10591
|
+
editableColumns: eo([G(U()), Ya("all")]),
|
|
10592
|
+
columnSizingMode: Fo(["auto", "fit"]).default("auto")
|
|
10593
10593
|
})).withFunctions({}).renderer((e) => /* @__PURE__ */ (0, Y.jsx)(WC, {
|
|
10594
10594
|
data: e.data.data,
|
|
10595
10595
|
fieldTypes: e.data.fieldTypes,
|
|
@@ -10953,13 +10953,13 @@ fw.displayName = Ef.displayName;
|
|
|
10953
10953
|
//#region src/plugins/impl/MultiselectPlugin.tsx
|
|
10954
10954
|
var pw = class {
|
|
10955
10955
|
tagName = "marimo-multiselect";
|
|
10956
|
-
validator =
|
|
10957
|
-
initialValue:
|
|
10956
|
+
validator = W({
|
|
10957
|
+
initialValue: G(U()),
|
|
10958
10958
|
label: U().nullable(),
|
|
10959
|
-
options:
|
|
10960
|
-
fullWidth:
|
|
10961
|
-
maxSelections:
|
|
10962
|
-
disabled:
|
|
10959
|
+
options: G(U()),
|
|
10960
|
+
fullWidth: H().default(!1),
|
|
10961
|
+
maxSelections: K().optional(),
|
|
10962
|
+
disabled: H().default(!1)
|
|
10963
10963
|
});
|
|
10964
10964
|
render(e) {
|
|
10965
10965
|
return /* @__PURE__ */ (0, Y.jsx)(mw, {
|
|
@@ -13560,63 +13560,63 @@ var OT = () => {
|
|
|
13560
13560
|
className: "mt-14",
|
|
13561
13561
|
children: "Loading chart..."
|
|
13562
13562
|
}), e[0] = t) : t = e[0], t;
|
|
13563
|
-
}, MT =
|
|
13564
|
-
binned:
|
|
13565
|
-
step:
|
|
13566
|
-
maxbins:
|
|
13567
|
-
}), NT =
|
|
13563
|
+
}, MT = W({
|
|
13564
|
+
binned: H().optional(),
|
|
13565
|
+
step: K().optional(),
|
|
13566
|
+
maxbins: K().optional()
|
|
13567
|
+
}), NT = W({
|
|
13568
13568
|
field: U().optional(),
|
|
13569
|
-
type:
|
|
13570
|
-
selectedDataType:
|
|
13571
|
-
sort:
|
|
13572
|
-
timeUnit:
|
|
13573
|
-
}), PT = NT.extend({ aggregate:
|
|
13574
|
-
linkYAxis:
|
|
13575
|
-
binned:
|
|
13576
|
-
maxbins:
|
|
13569
|
+
type: Fo([...$S, ""]).catch("unknown").optional(),
|
|
13570
|
+
selectedDataType: Fo([...Rt, ""]).optional(),
|
|
13571
|
+
sort: Fo(qt).default("ascending").optional(),
|
|
13572
|
+
timeUnit: Fo(Vt).optional()
|
|
13573
|
+
}), PT = NT.extend({ aggregate: Fo(It).default(Zt).optional() }), FT = NT.extend({
|
|
13574
|
+
linkYAxis: H().default(!0),
|
|
13575
|
+
binned: H().default(!0),
|
|
13576
|
+
maxbins: K().default(6)
|
|
13577
13577
|
}), IT = NT.extend({
|
|
13578
|
-
linkXAxis:
|
|
13579
|
-
binned:
|
|
13580
|
-
maxbins:
|
|
13581
|
-
}), LT =
|
|
13582
|
-
general:
|
|
13578
|
+
linkXAxis: H().default(!0),
|
|
13579
|
+
binned: H().default(!0),
|
|
13580
|
+
maxbins: K().default(6)
|
|
13581
|
+
}), LT = W({
|
|
13582
|
+
general: W({
|
|
13583
13583
|
title: U().optional(),
|
|
13584
13584
|
xColumn: PT.optional(),
|
|
13585
13585
|
yColumn: PT.optional(),
|
|
13586
13586
|
colorByColumn: PT.optional(),
|
|
13587
|
-
facet:
|
|
13587
|
+
facet: W({
|
|
13588
13588
|
row: FT,
|
|
13589
13589
|
column: IT
|
|
13590
13590
|
}).optional(),
|
|
13591
|
-
horizontal:
|
|
13592
|
-
stacking:
|
|
13591
|
+
horizontal: H().optional(),
|
|
13592
|
+
stacking: H().optional()
|
|
13593
13593
|
}).optional(),
|
|
13594
|
-
xAxis:
|
|
13594
|
+
xAxis: W({
|
|
13595
13595
|
label: U().optional(),
|
|
13596
|
-
width:
|
|
13596
|
+
width: K().optional(),
|
|
13597
13597
|
bin: MT.optional()
|
|
13598
13598
|
}).optional(),
|
|
13599
|
-
yAxis:
|
|
13599
|
+
yAxis: W({
|
|
13600
13600
|
label: U().optional(),
|
|
13601
|
-
height:
|
|
13601
|
+
height: K().optional(),
|
|
13602
13602
|
bin: MT.optional()
|
|
13603
13603
|
}).optional(),
|
|
13604
|
-
color:
|
|
13605
|
-
field:
|
|
13604
|
+
color: W({
|
|
13605
|
+
field: Fo([...Yt, Zt]).default(Zt),
|
|
13606
13606
|
scheme: U().default(Nt).optional(),
|
|
13607
|
-
range:
|
|
13608
|
-
domain:
|
|
13607
|
+
range: G(U()).optional(),
|
|
13608
|
+
domain: G(U()).optional(),
|
|
13609
13609
|
bin: MT.optional()
|
|
13610
13610
|
}).optional(),
|
|
13611
|
-
style:
|
|
13612
|
-
innerRadius:
|
|
13613
|
-
gridLines:
|
|
13611
|
+
style: W({
|
|
13612
|
+
innerRadius: K().optional(),
|
|
13613
|
+
gridLines: H().optional()
|
|
13614
13614
|
}).optional(),
|
|
13615
|
-
tooltips:
|
|
13616
|
-
auto:
|
|
13617
|
-
fields:
|
|
13615
|
+
tooltips: W({
|
|
13616
|
+
auto: H(),
|
|
13617
|
+
fields: G(W({
|
|
13618
13618
|
field: U(),
|
|
13619
|
-
type:
|
|
13619
|
+
type: Fo($S).catch("unknown")
|
|
13620
13620
|
}))
|
|
13621
13621
|
}).default({
|
|
13622
13622
|
auto: !0,
|
|
@@ -13649,11 +13649,11 @@ function RT() {
|
|
|
13649
13649
|
}
|
|
13650
13650
|
//#endregion
|
|
13651
13651
|
//#region src/components/data-table/charts/storage.ts
|
|
13652
|
-
var zT = "marimo:charts:v2", BT =
|
|
13652
|
+
var zT = "marimo:charts:v2", BT = W({
|
|
13653
13653
|
tabName: U().transform((e) => e),
|
|
13654
13654
|
chartType: U().transform((e) => e),
|
|
13655
13655
|
config: LT
|
|
13656
|
-
}), VT =
|
|
13656
|
+
}), VT = G($a([U().transform((e) => e), G(BT)])), HT = new Se(zT, VT, () => []), UT = {
|
|
13657
13657
|
getItem: (e) => {
|
|
13658
13658
|
try {
|
|
13659
13659
|
let t = HT.get(e);
|
|
@@ -14008,19 +14008,19 @@ function cE(e, t) {
|
|
|
14008
14008
|
}
|
|
14009
14009
|
//#endregion
|
|
14010
14010
|
//#region src/components/data-table/schemas.ts
|
|
14011
|
-
var lE =
|
|
14011
|
+
var lE = W({
|
|
14012
14012
|
geometry_column: U().nullish(),
|
|
14013
|
-
options:
|
|
14013
|
+
options: W({
|
|
14014
14014
|
separator: U().optional(),
|
|
14015
14015
|
encoding: U().optional(),
|
|
14016
|
-
ensure_ascii:
|
|
14016
|
+
ensure_ascii: H().optional()
|
|
14017
14017
|
}).optional()
|
|
14018
|
-
}), uE =
|
|
14018
|
+
}), uE = W({
|
|
14019
14019
|
url: U(),
|
|
14020
14020
|
filename: U(),
|
|
14021
14021
|
error: U().nullish(),
|
|
14022
|
-
missing_packages:
|
|
14023
|
-
code:
|
|
14022
|
+
missing_packages: G(U()).nullish(),
|
|
14023
|
+
code: Fo([
|
|
14024
14024
|
"geometry_required",
|
|
14025
14025
|
"invalid_geometry",
|
|
14026
14026
|
"invalid_metadata",
|
|
@@ -14030,30 +14030,30 @@ var lE = G({
|
|
|
14030
14030
|
"conversion_failed"
|
|
14031
14031
|
]).nullish(),
|
|
14032
14032
|
column: U().nullish()
|
|
14033
|
-
}), dE = HS.input(lE.extend({ format:
|
|
14033
|
+
}), dE = HS.input(lE.extend({ format: Fo([
|
|
14034
14034
|
"csv",
|
|
14035
14035
|
"json",
|
|
14036
14036
|
"parquet",
|
|
14037
14037
|
"tsv"
|
|
14038
|
-
]) })).output(uE), fE = HS.input(lE.extend({ format:
|
|
14039
|
-
geometry_columns:
|
|
14038
|
+
]) })).output(uE), fE = HS.input(lE.extend({ format: Ya("geojson") })).output(uE.extend({ code: eo([uE.shape.code, Ya("missing_crs")]) })), pE = W({
|
|
14039
|
+
geometry_columns: G(W({
|
|
14040
14040
|
name: U(),
|
|
14041
|
-
encoding:
|
|
14041
|
+
encoding: Fo([
|
|
14042
14042
|
"objects",
|
|
14043
14043
|
"wkb",
|
|
14044
14044
|
"wkt",
|
|
14045
14045
|
"other"
|
|
14046
14046
|
]),
|
|
14047
|
-
crs:
|
|
14047
|
+
crs: eo([U(), ro(U(), ao())]).nullable()
|
|
14048
14048
|
})),
|
|
14049
14049
|
primary_geometry_column: U().nullable(),
|
|
14050
14050
|
default_geometry_column: U().nullable(),
|
|
14051
|
-
formats:
|
|
14052
|
-
available:
|
|
14051
|
+
formats: ro(U(), W({
|
|
14052
|
+
available: H(),
|
|
14053
14053
|
reason: U().nullable(),
|
|
14054
|
-
missing_packages:
|
|
14054
|
+
missing_packages: G(U())
|
|
14055
14055
|
}))
|
|
14056
|
-
}), mE = HS.input(
|
|
14056
|
+
}), mE = HS.input(W({})).output(pE);
|
|
14057
14057
|
//#endregion
|
|
14058
14058
|
//#region src/components/datasources/column-preview.tsx
|
|
14059
14059
|
function hE({ error: e, missingPackages: t, refetchPreview: n }) {
|
|
@@ -14649,16 +14649,16 @@ function ME(e, t) {
|
|
|
14649
14649
|
}
|
|
14650
14650
|
//#endregion
|
|
14651
14651
|
//#region src/plugins/impl/DataTablePlugin.tsx
|
|
14652
|
-
var NE =
|
|
14653
|
-
|
|
14652
|
+
var NE = eo([
|
|
14653
|
+
K(),
|
|
14654
14654
|
To(),
|
|
14655
14655
|
U()
|
|
14656
|
-
]).nullable(), PE =
|
|
14657
|
-
total:
|
|
14658
|
-
nulls:
|
|
14659
|
-
unique:
|
|
14660
|
-
true:
|
|
14661
|
-
false:
|
|
14656
|
+
]).nullable(), PE = W({
|
|
14657
|
+
total: K().nullable(),
|
|
14658
|
+
nulls: K().nullable(),
|
|
14659
|
+
unique: K().nullable(),
|
|
14660
|
+
true: K().nullable(),
|
|
14661
|
+
false: K().nullable(),
|
|
14662
14662
|
min: NE,
|
|
14663
14663
|
max: NE,
|
|
14664
14664
|
std: NE,
|
|
@@ -14668,123 +14668,123 @@ var NE = Ho([
|
|
|
14668
14668
|
p25: NE,
|
|
14669
14669
|
p75: NE,
|
|
14670
14670
|
p95: NE
|
|
14671
|
-
}), FE =
|
|
14672
|
-
bin_start:
|
|
14673
|
-
|
|
14671
|
+
}), FE = G(W({
|
|
14672
|
+
bin_start: eo([
|
|
14673
|
+
K(),
|
|
14674
14674
|
U(),
|
|
14675
|
-
|
|
14675
|
+
Vo(Date)
|
|
14676
14676
|
]),
|
|
14677
|
-
bin_end:
|
|
14678
|
-
|
|
14677
|
+
bin_end: eo([
|
|
14678
|
+
K(),
|
|
14679
14679
|
U(),
|
|
14680
|
-
|
|
14680
|
+
Vo(Date)
|
|
14681
14681
|
]),
|
|
14682
|
-
count:
|
|
14683
|
-
})), IE =
|
|
14682
|
+
count: K()
|
|
14683
|
+
})), IE = G(W({
|
|
14684
14684
|
value: U(),
|
|
14685
|
-
count:
|
|
14686
|
-
})), LE =
|
|
14687
|
-
initialValue:
|
|
14685
|
+
count: K()
|
|
14686
|
+
})), LE = ro(U(), ro(U(), U().nullable())).optional(), RE = wS("marimo-table").withData(W({
|
|
14687
|
+
initialValue: eo([G(K()), G(W({
|
|
14688
14688
|
rowId: U(),
|
|
14689
14689
|
columnName: U()
|
|
14690
14690
|
}))]),
|
|
14691
14691
|
label: U().nullable(),
|
|
14692
|
-
data:
|
|
14693
|
-
rawData:
|
|
14694
|
-
totalRows:
|
|
14695
|
-
pagination:
|
|
14696
|
-
pageSize:
|
|
14697
|
-
selection:
|
|
14692
|
+
data: eo([U(), G(W({}).passthrough())]),
|
|
14693
|
+
rawData: eo([U(), G(no({}))]).nullish(),
|
|
14694
|
+
totalRows: eo([K(), Ya(Bn)]),
|
|
14695
|
+
pagination: H().default(!1),
|
|
14696
|
+
pageSize: K().default(10),
|
|
14697
|
+
selection: Fo([
|
|
14698
14698
|
"single",
|
|
14699
14699
|
"multi",
|
|
14700
14700
|
"single-cell",
|
|
14701
14701
|
"multi-cell"
|
|
14702
14702
|
]).nullable().default(null),
|
|
14703
|
-
showDownload:
|
|
14704
|
-
showFilters:
|
|
14705
|
-
showColumnSummaries:
|
|
14706
|
-
showDataTypes:
|
|
14707
|
-
showPageSizeSelector:
|
|
14708
|
-
showColumnExplorer:
|
|
14709
|
-
showRowExplorer:
|
|
14710
|
-
showChartBuilder:
|
|
14711
|
-
showSearch:
|
|
14703
|
+
showDownload: H().default(!1),
|
|
14704
|
+
showFilters: H().default(!1),
|
|
14705
|
+
showColumnSummaries: eo([H(), Fo(["stats", "chart"])]).default(!0),
|
|
14706
|
+
showDataTypes: H().default(!0),
|
|
14707
|
+
showPageSizeSelector: H().default(!0),
|
|
14708
|
+
showColumnExplorer: H().default(!0),
|
|
14709
|
+
showRowExplorer: H().default(!0),
|
|
14710
|
+
showChartBuilder: H().default(!0),
|
|
14711
|
+
showSearch: H().default(!0),
|
|
14712
14712
|
rowHeaders: gC,
|
|
14713
|
-
freezeColumnsLeft:
|
|
14714
|
-
freezeColumnsRight:
|
|
14715
|
-
hiddenColumns:
|
|
14716
|
-
textJustifyColumns:
|
|
14713
|
+
freezeColumnsLeft: G(U()).optional(),
|
|
14714
|
+
freezeColumnsRight: G(U()).optional(),
|
|
14715
|
+
hiddenColumns: G(U()).optional(),
|
|
14716
|
+
textJustifyColumns: ro(U(), Fo([
|
|
14717
14717
|
"left",
|
|
14718
14718
|
"center",
|
|
14719
14719
|
"right"
|
|
14720
14720
|
])).optional(),
|
|
14721
|
-
wrappedColumns:
|
|
14722
|
-
columnWidths:
|
|
14723
|
-
headerTooltip:
|
|
14721
|
+
wrappedColumns: G(U()).optional(),
|
|
14722
|
+
columnWidths: ro(U(), K().int().positive()).optional(),
|
|
14723
|
+
headerTooltip: ro(U(), U()).optional(),
|
|
14724
14724
|
fieldTypes: gC.nullish(),
|
|
14725
|
-
totalColumns:
|
|
14726
|
-
maxColumns:
|
|
14727
|
-
hasStableRowId:
|
|
14728
|
-
maxHeight:
|
|
14729
|
-
cellStyles:
|
|
14725
|
+
totalColumns: K(),
|
|
14726
|
+
maxColumns: eo([K(), Ya("all")]).default("all"),
|
|
14727
|
+
hasStableRowId: H().default(!1),
|
|
14728
|
+
maxHeight: K().optional(),
|
|
14729
|
+
cellStyles: ro(U(), ro(U(), W({}).passthrough())).optional(),
|
|
14730
14730
|
hoverTemplate: U().optional(),
|
|
14731
14731
|
cellHoverTexts: LE,
|
|
14732
|
-
lazy:
|
|
14733
|
-
preload:
|
|
14732
|
+
lazy: H().default(!1),
|
|
14733
|
+
preload: H().default(!1)
|
|
14734
14734
|
})).withFunctions({
|
|
14735
14735
|
download_as: dE,
|
|
14736
14736
|
download_geojson: fE,
|
|
14737
14737
|
get_export_metadata: mE,
|
|
14738
|
-
get_column_summaries: HS.input(
|
|
14739
|
-
data:
|
|
14740
|
-
stats:
|
|
14741
|
-
bin_values:
|
|
14742
|
-
value_counts:
|
|
14743
|
-
show_charts:
|
|
14744
|
-
is_disabled:
|
|
14738
|
+
get_column_summaries: HS.input(no({})).output(W({
|
|
14739
|
+
data: eo([U(), G(no({}))]).nullable(),
|
|
14740
|
+
stats: ro(U(), PE),
|
|
14741
|
+
bin_values: ro(U(), FE),
|
|
14742
|
+
value_counts: ro(U(), IE),
|
|
14743
|
+
show_charts: H(),
|
|
14744
|
+
is_disabled: H().optional()
|
|
14745
14745
|
})),
|
|
14746
|
-
search: HS.input(
|
|
14747
|
-
sort:
|
|
14746
|
+
search: HS.input(W({
|
|
14747
|
+
sort: G(W({
|
|
14748
14748
|
by: U(),
|
|
14749
|
-
descending:
|
|
14749
|
+
descending: H()
|
|
14750
14750
|
})).optional(),
|
|
14751
14751
|
query: U().optional(),
|
|
14752
14752
|
filters: CC.optional(),
|
|
14753
|
-
page_number:
|
|
14754
|
-
page_size:
|
|
14755
|
-
max_columns:
|
|
14756
|
-
})).output(
|
|
14757
|
-
data:
|
|
14758
|
-
total_rows:
|
|
14759
|
-
cell_styles:
|
|
14753
|
+
page_number: K(),
|
|
14754
|
+
page_size: K(),
|
|
14755
|
+
max_columns: K().nullable().optional()
|
|
14756
|
+
})).output(W({
|
|
14757
|
+
data: eo([U(), G(W({}).passthrough())]),
|
|
14758
|
+
total_rows: eo([K(), Ya(Bn)]),
|
|
14759
|
+
cell_styles: ro(U(), ro(U(), W({}).passthrough())).nullable(),
|
|
14760
14760
|
cell_hover_texts: LE.nullable(),
|
|
14761
|
-
raw_data:
|
|
14761
|
+
raw_data: eo([U(), G(no({}))]).nullish()
|
|
14762
14762
|
})),
|
|
14763
|
-
get_row_ids: HS.input(
|
|
14764
|
-
row_ids:
|
|
14765
|
-
all_rows:
|
|
14763
|
+
get_row_ids: HS.input(W({}).passthrough()).output(W({
|
|
14764
|
+
row_ids: G(K()),
|
|
14765
|
+
all_rows: H(),
|
|
14766
14766
|
error: U().nullable()
|
|
14767
14767
|
})),
|
|
14768
|
-
get_data_url: HS.input(
|
|
14769
|
-
data_url:
|
|
14770
|
-
format:
|
|
14768
|
+
get_data_url: HS.input(W({}).passthrough()).output(W({
|
|
14769
|
+
data_url: eo([U(), G(W({}).passthrough())]),
|
|
14770
|
+
format: Fo([
|
|
14771
14771
|
"csv",
|
|
14772
14772
|
"json",
|
|
14773
14773
|
"arrow"
|
|
14774
14774
|
])
|
|
14775
14775
|
})),
|
|
14776
|
-
calculate_top_k_rows: HS.input(
|
|
14776
|
+
calculate_top_k_rows: HS.input(W({
|
|
14777
14777
|
column: U(),
|
|
14778
|
-
k:
|
|
14779
|
-
})).output(
|
|
14780
|
-
preview_column: HS.input(
|
|
14778
|
+
k: K()
|
|
14779
|
+
})).output(W({ data: G($a([zo(), K()])) })),
|
|
14780
|
+
preview_column: HS.input(W({ column: U() })).output(W({
|
|
14781
14781
|
chart_spec: U().nullable(),
|
|
14782
14782
|
chart_code: U().nullable(),
|
|
14783
14783
|
error: U().nullable(),
|
|
14784
|
-
missing_packages:
|
|
14784
|
+
missing_packages: G(U()).nullable(),
|
|
14785
14785
|
stats: PE.nullable()
|
|
14786
14786
|
})),
|
|
14787
|
-
get_size_bytes: HS.input(
|
|
14787
|
+
get_size_bytes: HS.input(W({})).output(W({ size_bytes: K().nullish() }))
|
|
14788
14788
|
}).renderer((e) => /* @__PURE__ */ (0, Y.jsx)(GE, { children: /* @__PURE__ */ (0, Y.jsx)(HE, {
|
|
14789
14789
|
isLazy: e.data.lazy,
|
|
14790
14790
|
preload: e.data.preload,
|
|
@@ -15144,7 +15144,7 @@ var WE = (e) => {
|
|
|
15144
15144
|
}
|
|
15145
15145
|
}, t[48] = nt, t[49] = he, t[50] = k, t[51] = rt) : rt = t[51];
|
|
15146
15146
|
let it = ts(rt), at = he === "multi" || he === "single", ot = g && !!de, st;
|
|
15147
|
-
t[52] === Symbol.for("react.memo_cache_sentinel") ? (st =
|
|
15147
|
+
t[52] === Symbol.for("react.memo_cache_sentinel") ? (st = fo(), t[52] = st) : st = t[52];
|
|
15148
15148
|
let ct = st, lt;
|
|
15149
15149
|
t[53] === Symbol.for("react.memo_cache_sentinel") ? (lt = ss(), t[53] = lt) : lt = t[53];
|
|
15150
15150
|
let ut = lt, dt;
|
|
@@ -15331,14 +15331,14 @@ function QE(e) {
|
|
|
15331
15331
|
//#region src/plugins/impl/DatePickerPlugin.tsx
|
|
15332
15332
|
var $E = class {
|
|
15333
15333
|
tagName = "marimo-date";
|
|
15334
|
-
validator =
|
|
15334
|
+
validator = W({
|
|
15335
15335
|
initialValue: U(),
|
|
15336
15336
|
label: U().nullable(),
|
|
15337
15337
|
start: U(),
|
|
15338
15338
|
stop: U(),
|
|
15339
15339
|
step: U().optional(),
|
|
15340
|
-
fullWidth:
|
|
15341
|
-
disabled:
|
|
15340
|
+
fullWidth: H().default(!1),
|
|
15341
|
+
disabled: H().optional()
|
|
15342
15342
|
});
|
|
15343
15343
|
render(e) {
|
|
15344
15344
|
return /* @__PURE__ */ (0, Y.jsx)(eD, {
|
|
@@ -15381,14 +15381,14 @@ var $E = class {
|
|
|
15381
15381
|
}), t[16] = n, t[17] = e.fullWidth, t[18] = e.label, t[19] = f, t[20] = p) : p = t[20], p;
|
|
15382
15382
|
}, tD = class {
|
|
15383
15383
|
tagName = "marimo-date-range";
|
|
15384
|
-
validator =
|
|
15385
|
-
initialValue:
|
|
15384
|
+
validator = W({
|
|
15385
|
+
initialValue: $a([U(), U()]),
|
|
15386
15386
|
label: U().nullable(),
|
|
15387
15387
|
start: U(),
|
|
15388
15388
|
stop: U(),
|
|
15389
15389
|
step: U().optional(),
|
|
15390
|
-
fullWidth:
|
|
15391
|
-
disabled:
|
|
15390
|
+
fullWidth: H().default(!1),
|
|
15391
|
+
disabled: H().optional()
|
|
15392
15392
|
});
|
|
15393
15393
|
render(e) {
|
|
15394
15394
|
return /* @__PURE__ */ (0, Y.jsx)(nD, {
|
|
@@ -15437,19 +15437,19 @@ var $E = class {
|
|
|
15437
15437
|
}), t[21] = n, t[22] = e.fullWidth, t[23] = e.label, t[24] = m, t[25] = h) : h = t[25], h;
|
|
15438
15438
|
}, rD = class {
|
|
15439
15439
|
tagName = "marimo-datetime";
|
|
15440
|
-
validator =
|
|
15440
|
+
validator = W({
|
|
15441
15441
|
initialValue: U(),
|
|
15442
15442
|
label: U().nullable(),
|
|
15443
15443
|
start: U(),
|
|
15444
15444
|
stop: U(),
|
|
15445
15445
|
step: U().optional(),
|
|
15446
|
-
precision:
|
|
15446
|
+
precision: Fo([
|
|
15447
15447
|
"hour",
|
|
15448
15448
|
"minute",
|
|
15449
15449
|
"second"
|
|
15450
15450
|
]).default("minute"),
|
|
15451
|
-
fullWidth:
|
|
15452
|
-
disabled:
|
|
15451
|
+
fullWidth: H().default(!1),
|
|
15452
|
+
disabled: H().optional()
|
|
15453
15453
|
});
|
|
15454
15454
|
render(e) {
|
|
15455
15455
|
return /* @__PURE__ */ (0, Y.jsx)(iD, {
|
|
@@ -15491,9 +15491,9 @@ var $E = class {
|
|
|
15491
15491
|
}), t[17] = n, t[18] = e.fullWidth, t[19] = e.label, t[20] = m, t[21] = h) : h = t[21], h;
|
|
15492
15492
|
}, aD = class {
|
|
15493
15493
|
tagName = "marimo-dict";
|
|
15494
|
-
validator =
|
|
15494
|
+
validator = W({
|
|
15495
15495
|
label: U().nullable(),
|
|
15496
|
-
elementIds:
|
|
15496
|
+
elementIds: ro(U(), U())
|
|
15497
15497
|
});
|
|
15498
15498
|
render(e) {
|
|
15499
15499
|
return /* @__PURE__ */ (0, Y.jsx)(oD, {
|
|
@@ -15559,14 +15559,14 @@ function cD(e) {
|
|
|
15559
15559
|
//#region src/plugins/impl/DropdownPlugin.tsx
|
|
15560
15560
|
var lD = class {
|
|
15561
15561
|
tagName = "marimo-dropdown";
|
|
15562
|
-
validator =
|
|
15563
|
-
initialValue:
|
|
15562
|
+
validator = W({
|
|
15563
|
+
initialValue: G(U()),
|
|
15564
15564
|
label: U().nullable(),
|
|
15565
|
-
options:
|
|
15566
|
-
allowSelectNone:
|
|
15567
|
-
fullWidth:
|
|
15568
|
-
searchable:
|
|
15569
|
-
disabled:
|
|
15565
|
+
options: G(U()),
|
|
15566
|
+
allowSelectNone: H(),
|
|
15567
|
+
fullWidth: H().default(!1),
|
|
15568
|
+
searchable: H().default(!1),
|
|
15569
|
+
disabled: H().default(!1)
|
|
15570
15570
|
});
|
|
15571
15571
|
render(e) {
|
|
15572
15572
|
if (e.data.searchable) {
|
|
@@ -15624,7 +15624,7 @@ function fD(e) {
|
|
|
15624
15624
|
}
|
|
15625
15625
|
//#endregion
|
|
15626
15626
|
//#region src/plugins/impl/data-explorer/DataExplorerPlugin.tsx
|
|
15627
|
-
var pD = J.lazy(() => import("./ConnectedDataExplorerComponent-
|
|
15627
|
+
var pD = J.lazy(() => import("./ConnectedDataExplorerComponent-Da5OoEUL.js")), mD = wS("marimo-data-explorer").withData(W({
|
|
15628
15628
|
label: U().nullish(),
|
|
15629
15629
|
data: U()
|
|
15630
15630
|
})).renderer((e) => /* @__PURE__ */ (0, Y.jsx)(pD, {
|
|
@@ -15699,8 +15699,8 @@ var pD = J.lazy(() => import("./ConnectedDataExplorerComponent-COS3f8io.js")), m
|
|
|
15699
15699
|
}
|
|
15700
15700
|
}), bD = () => ({
|
|
15701
15701
|
isMatch: (e) => {
|
|
15702
|
-
if (e instanceof
|
|
15703
|
-
let t = e.element, n = t instanceof
|
|
15702
|
+
if (e instanceof jo) {
|
|
15703
|
+
let t = e.element, n = t instanceof xo ? t.description : "", { special: r } = fh.parse(n || "");
|
|
15704
15704
|
return r === "column_id";
|
|
15705
15705
|
}
|
|
15706
15706
|
return !1;
|
|
@@ -15749,7 +15749,7 @@ var pD = J.lazy(() => import("./ConnectedDataExplorerComponent-COS3f8io.js")), m
|
|
|
15749
15749
|
}), t[9] = r.control, t[10] = i, t[11] = d, t[12] = f) : f = t[12], f;
|
|
15750
15750
|
}, SD = () => ({
|
|
15751
15751
|
isMatch: (e) => {
|
|
15752
|
-
if (e instanceof
|
|
15752
|
+
if (e instanceof jo) {
|
|
15753
15753
|
let { special: t } = fh.parse(e.description || "");
|
|
15754
15754
|
return t === "column_values";
|
|
15755
15755
|
}
|
|
@@ -15802,7 +15802,7 @@ var pD = J.lazy(() => import("./ConnectedDataExplorerComponent-COS3f8io.js")), m
|
|
|
15802
15802
|
}), CD = () => ({
|
|
15803
15803
|
isMatch: (e) => {
|
|
15804
15804
|
let { special: t } = fh.parse(e.description || "");
|
|
15805
|
-
return t === "column_values" && e instanceof
|
|
15805
|
+
return t === "column_values" && e instanceof jo;
|
|
15806
15806
|
},
|
|
15807
15807
|
Component: ({ schema: e, form: t, path: n }) => {
|
|
15808
15808
|
let r = J.use(gD), i = J.use(_D), { data: a, isPending: o } = Ms(() => i({ column: r }), [r]), s = a?.values || [];
|
|
@@ -15840,7 +15840,7 @@ var pD = J.lazy(() => import("./ConnectedDataExplorerComponent-COS3f8io.js")), m
|
|
|
15840
15840
|
return t[2] === r ? i = t[3] : (i = /* @__PURE__ */ (0, Y.jsx)(Dh, { className: r }), t[2] = r, t[3] = i), i;
|
|
15841
15841
|
}, TD = () => ({
|
|
15842
15842
|
isMatch: (e) => {
|
|
15843
|
-
if (e instanceof
|
|
15843
|
+
if (e instanceof yo) {
|
|
15844
15844
|
let { special: t } = fh.parse(e.description || "");
|
|
15845
15845
|
return t === "column_filter";
|
|
15846
15846
|
}
|
|
@@ -16227,13 +16227,13 @@ function ID(e) {
|
|
|
16227
16227
|
}
|
|
16228
16228
|
//#endregion
|
|
16229
16229
|
//#region src/plugins/impl/data-frames/DataFramePlugin.tsx
|
|
16230
|
-
var LD = wS("marimo-dataframe").withData(
|
|
16230
|
+
var LD = wS("marimo-dataframe").withData(W({
|
|
16231
16231
|
label: U().nullish(),
|
|
16232
|
-
pageSize:
|
|
16233
|
-
showDownload:
|
|
16232
|
+
pageSize: K().default(5),
|
|
16233
|
+
showDownload: H().default(!0),
|
|
16234
16234
|
dataframeName: U().optional(),
|
|
16235
|
-
columns:
|
|
16236
|
-
U().or(
|
|
16235
|
+
columns: G($a([
|
|
16236
|
+
U().or(K()),
|
|
16237
16237
|
U(),
|
|
16238
16238
|
U()
|
|
16239
16239
|
])).transform((e) => {
|
|
@@ -16242,38 +16242,38 @@ var LD = wS("marimo-dataframe").withData(G({
|
|
|
16242
16242
|
t.set(e, n);
|
|
16243
16243
|
}), t;
|
|
16244
16244
|
}),
|
|
16245
|
-
lazy:
|
|
16245
|
+
lazy: H().default(!1)
|
|
16246
16246
|
})).withFunctions({
|
|
16247
|
-
get_dataframe: HS.input(
|
|
16247
|
+
get_dataframe: HS.input(W({})).output(W({
|
|
16248
16248
|
url: U(),
|
|
16249
|
-
total_rows:
|
|
16249
|
+
total_rows: K(),
|
|
16250
16250
|
row_headers: gC,
|
|
16251
16251
|
field_types: gC,
|
|
16252
|
-
column_types_per_step:
|
|
16252
|
+
column_types_per_step: G(gC),
|
|
16253
16253
|
python_code: U().nullish(),
|
|
16254
16254
|
sql_code: U().nullish()
|
|
16255
16255
|
})),
|
|
16256
|
-
get_column_values: HS.input(
|
|
16257
|
-
values:
|
|
16258
|
-
too_many_values:
|
|
16256
|
+
get_column_values: HS.input(W({ column: U() })).output(W({
|
|
16257
|
+
values: G(zo()),
|
|
16258
|
+
too_many_values: H()
|
|
16259
16259
|
})),
|
|
16260
|
-
search: HS.input(
|
|
16261
|
-
sort:
|
|
16260
|
+
search: HS.input(W({
|
|
16261
|
+
sort: G(W({
|
|
16262
16262
|
by: U(),
|
|
16263
|
-
descending:
|
|
16263
|
+
descending: H()
|
|
16264
16264
|
})).optional(),
|
|
16265
16265
|
query: U().optional(),
|
|
16266
16266
|
filters: CC.optional(),
|
|
16267
|
-
page_number:
|
|
16268
|
-
page_size:
|
|
16269
|
-
})).output(
|
|
16270
|
-
data:
|
|
16271
|
-
total_rows:
|
|
16267
|
+
page_number: K(),
|
|
16268
|
+
page_size: K()
|
|
16269
|
+
})).output(W({
|
|
16270
|
+
data: eo([U(), G(W({}).passthrough())]),
|
|
16271
|
+
total_rows: K()
|
|
16272
16272
|
})),
|
|
16273
16273
|
download_as: dE,
|
|
16274
16274
|
download_geojson: fE,
|
|
16275
16275
|
get_export_metadata: mE,
|
|
16276
|
-
get_size_bytes: HS.input(
|
|
16276
|
+
get_size_bytes: HS.input(W({})).output(W({ size_bytes: K().nullish() }))
|
|
16277
16277
|
}).renderer((e) => /* @__PURE__ */ (0, Y.jsx)(GE, { children: /* @__PURE__ */ (0, Y.jsx)(zD, {
|
|
16278
16278
|
...e.data,
|
|
16279
16279
|
...e.functions,
|
|
@@ -16532,22 +16532,22 @@ function WD({ path: e, delimiter: t, initialPath: n, restrictNavigation: r }) {
|
|
|
16532
16532
|
}
|
|
16533
16533
|
//#endregion
|
|
16534
16534
|
//#region src/plugins/impl/FileBrowserPlugin.tsx
|
|
16535
|
-
var GD = wS("marimo-file-browser").withData(
|
|
16535
|
+
var GD = wS("marimo-file-browser").withData(W({
|
|
16536
16536
|
initialPath: U(),
|
|
16537
|
-
filetypes:
|
|
16537
|
+
filetypes: G(U()),
|
|
16538
16538
|
selectionMode: U(),
|
|
16539
|
-
multiple:
|
|
16539
|
+
multiple: H(),
|
|
16540
16540
|
label: U().nullable(),
|
|
16541
|
-
restrictNavigation:
|
|
16542
|
-
})).withFunctions({ list_directory: HS.input(
|
|
16543
|
-
files:
|
|
16541
|
+
restrictNavigation: H()
|
|
16542
|
+
})).withFunctions({ list_directory: HS.input(W({ path: U() })).output(W({
|
|
16543
|
+
files: G(W({
|
|
16544
16544
|
id: U(),
|
|
16545
16545
|
path: U(),
|
|
16546
16546
|
name: U(),
|
|
16547
|
-
is_directory:
|
|
16547
|
+
is_directory: H()
|
|
16548
16548
|
})),
|
|
16549
|
-
total_count:
|
|
16550
|
-
is_truncated:
|
|
16549
|
+
total_count: K(),
|
|
16550
|
+
is_truncated: H()
|
|
16551
16551
|
})) }).renderer((e) => /* @__PURE__ */ (0, Y.jsx)(JD, {
|
|
16552
16552
|
...e.data,
|
|
16553
16553
|
...e.functions,
|
|
@@ -18094,7 +18094,7 @@ function QD(e, t, n) {
|
|
|
18094
18094
|
//#region ../node_modules/.pnpm/file-selector@2.1.2/node_modules/file-selector/dist/es2015/file-selector.js
|
|
18095
18095
|
var $D = [".DS_Store", "Thumbs.db"];
|
|
18096
18096
|
function eO(e) {
|
|
18097
|
-
return
|
|
18097
|
+
return Po(this, void 0, void 0, function* () {
|
|
18098
18098
|
return rO(e) && tO(e.dataTransfer) ? oO(e.dataTransfer, e.type) : nO(e) ? iO(e) : Array.isArray(e) && e.every((e) => "getFile" in e && typeof e.getFile == "function") ? aO(e) : [];
|
|
18099
18099
|
});
|
|
18100
18100
|
}
|
|
@@ -18111,12 +18111,12 @@ function iO(e) {
|
|
|
18111
18111
|
return cO(e.target.files).map((e) => XD(e));
|
|
18112
18112
|
}
|
|
18113
18113
|
function aO(e) {
|
|
18114
|
-
return
|
|
18114
|
+
return Po(this, void 0, void 0, function* () {
|
|
18115
18115
|
return (yield Promise.all(e.map((e) => e.getFile()))).map((e) => XD(e));
|
|
18116
18116
|
});
|
|
18117
18117
|
}
|
|
18118
18118
|
function oO(e, t) {
|
|
18119
|
-
return
|
|
18119
|
+
return Po(this, void 0, void 0, function* () {
|
|
18120
18120
|
if (e.items) {
|
|
18121
18121
|
let n = cO(e.items).filter((e) => e.kind === "file");
|
|
18122
18122
|
return t === "drop" ? sO(uO(yield Promise.all(n.map(lO)))) : n;
|
|
@@ -18145,7 +18145,7 @@ function uO(e) {
|
|
|
18145
18145
|
return e.reduce((e, t) => [...e, ...Array.isArray(t) ? uO(t) : [t]], []);
|
|
18146
18146
|
}
|
|
18147
18147
|
function dO(e, t) {
|
|
18148
|
-
return
|
|
18148
|
+
return Po(this, void 0, void 0, function* () {
|
|
18149
18149
|
if (globalThis.isSecureContext && typeof e.getAsFileSystemHandle == "function") {
|
|
18150
18150
|
let t = yield e.getAsFileSystemHandle();
|
|
18151
18151
|
if (t === null) throw Error(`${e} is not a File`);
|
|
@@ -18160,7 +18160,7 @@ function dO(e, t) {
|
|
|
18160
18160
|
});
|
|
18161
18161
|
}
|
|
18162
18162
|
function fO(e) {
|
|
18163
|
-
return
|
|
18163
|
+
return Po(this, void 0, void 0, function* () {
|
|
18164
18164
|
return e.isDirectory ? pO(e) : mO(e);
|
|
18165
18165
|
});
|
|
18166
18166
|
}
|
|
@@ -18169,7 +18169,7 @@ function pO(e) {
|
|
|
18169
18169
|
return new Promise((e, n) => {
|
|
18170
18170
|
let r = [];
|
|
18171
18171
|
function i() {
|
|
18172
|
-
t.readEntries((t) =>
|
|
18172
|
+
t.readEntries((t) => Po(this, void 0, void 0, function* () {
|
|
18173
18173
|
if (t.length) {
|
|
18174
18174
|
let e = Promise.all(t.map(fO));
|
|
18175
18175
|
r.push(e), i();
|
|
@@ -18186,7 +18186,7 @@ function pO(e) {
|
|
|
18186
18186
|
});
|
|
18187
18187
|
}
|
|
18188
18188
|
function mO(e) {
|
|
18189
|
-
return
|
|
18189
|
+
return Po(this, void 0, void 0, function* () {
|
|
18190
18190
|
return new Promise((t, n) => {
|
|
18191
18191
|
e.file((n) => {
|
|
18192
18192
|
t(XD(n, e.fullPath));
|
|
@@ -18887,12 +18887,12 @@ function kk() {}
|
|
|
18887
18887
|
//#region src/plugins/impl/FileUploadPlugin.tsx
|
|
18888
18888
|
var Ak = class {
|
|
18889
18889
|
tagName = "marimo-file";
|
|
18890
|
-
validator =
|
|
18891
|
-
filetypes:
|
|
18892
|
-
multiple:
|
|
18893
|
-
kind:
|
|
18890
|
+
validator = W({
|
|
18891
|
+
filetypes: G(U()),
|
|
18892
|
+
multiple: H(),
|
|
18893
|
+
kind: Fo(["button", "area"]),
|
|
18894
18894
|
label: U().nullable(),
|
|
18895
|
-
max_size:
|
|
18895
|
+
max_size: K()
|
|
18896
18896
|
});
|
|
18897
18897
|
render(e) {
|
|
18898
18898
|
return /* @__PURE__ */ (0, Y.jsx)(Mk, {
|
|
@@ -19153,20 +19153,20 @@ function Rk(e) {
|
|
|
19153
19153
|
}
|
|
19154
19154
|
//#endregion
|
|
19155
19155
|
//#region src/plugins/impl/FormPlugin.tsx
|
|
19156
|
-
var zk = wS("marimo-form").withData(
|
|
19156
|
+
var zk = wS("marimo-form").withData(W({
|
|
19157
19157
|
label: U().nullable(),
|
|
19158
19158
|
elementId: U().transform((e) => e),
|
|
19159
|
-
bordered:
|
|
19160
|
-
loading:
|
|
19159
|
+
bordered: H().default(!0),
|
|
19160
|
+
loading: H().default(!1),
|
|
19161
19161
|
submitButtonLabel: U().default("Submit"),
|
|
19162
19162
|
submitButtonTooltip: U().optional(),
|
|
19163
|
-
submitButtonDisabled:
|
|
19164
|
-
clearOnSubmit:
|
|
19165
|
-
showClearButton:
|
|
19163
|
+
submitButtonDisabled: H().default(!1),
|
|
19164
|
+
clearOnSubmit: H().default(!1),
|
|
19165
|
+
showClearButton: H().default(!1),
|
|
19166
19166
|
clearButtonLabel: U().default("Clear"),
|
|
19167
19167
|
clearButtonTooltip: U().optional(),
|
|
19168
|
-
shouldValidate:
|
|
19169
|
-
})).withFunctions({ validate: HS.input(
|
|
19168
|
+
shouldValidate: H().optional()
|
|
19169
|
+
})).withFunctions({ validate: HS.input(W({ value: ao() })).output(U().nullish()) }).renderer(({ data: e, functions: t, ...n }) => /* @__PURE__ */ (0, Y.jsx)(Vk, {
|
|
19170
19170
|
...e,
|
|
19171
19171
|
...n,
|
|
19172
19172
|
...t
|
|
@@ -19301,19 +19301,19 @@ function Uk(e) {
|
|
|
19301
19301
|
var Wk = ".marimo td.bracket-l:before{border-left:2px solid var(--foreground);content:\"\";pointer-events:none;width:0;position:absolute;top:0;bottom:0;left:-4px}.marimo td.bracket-l.bracket-t:before{border-top:2px solid var(--foreground);width:8px;top:-1px}.marimo td.bracket-l.bracket-b:before{border-bottom:2px solid var(--foreground);width:8px;bottom:-1px}.marimo td.bracket-r:after{border-right:2px solid var(--foreground);content:\"\";pointer-events:none;width:0;position:absolute;top:0;bottom:0;right:-4px}.marimo td.bracket-r.bracket-t:after{border-top:2px solid var(--foreground);width:8px;top:-1px}.marimo td.bracket-r.bracket-b:after{border-bottom:2px solid var(--foreground);width:8px;bottom:-1px}", Gk = class {
|
|
19302
19302
|
tagName = "marimo-matrix";
|
|
19303
19303
|
cssStyles = [Wk];
|
|
19304
|
-
validator =
|
|
19305
|
-
initialValue:
|
|
19304
|
+
validator = W({
|
|
19305
|
+
initialValue: G(G(K())),
|
|
19306
19306
|
label: U().nullable(),
|
|
19307
|
-
minValue:
|
|
19308
|
-
maxValue:
|
|
19309
|
-
step:
|
|
19310
|
-
precision:
|
|
19311
|
-
rowLabels:
|
|
19312
|
-
columnLabels:
|
|
19313
|
-
symmetric:
|
|
19314
|
-
debounce:
|
|
19315
|
-
scientific:
|
|
19316
|
-
disabled:
|
|
19307
|
+
minValue: G(G(K())).nullish(),
|
|
19308
|
+
maxValue: G(G(K())).nullish(),
|
|
19309
|
+
step: G(G(K())),
|
|
19310
|
+
precision: K(),
|
|
19311
|
+
rowLabels: G(U()).nullish(),
|
|
19312
|
+
columnLabels: G(U()).nullish(),
|
|
19313
|
+
symmetric: H(),
|
|
19314
|
+
debounce: H().default(!1),
|
|
19315
|
+
scientific: H(),
|
|
19316
|
+
disabled: G(G(H()))
|
|
19317
19317
|
});
|
|
19318
19318
|
render(e) {
|
|
19319
19319
|
return /* @__PURE__ */ (0, Y.jsx)(Zk, {
|
|
@@ -19655,7 +19655,7 @@ function oA(e) {
|
|
|
19655
19655
|
//#region src/plugins/impl/MicrophonePlugin.tsx
|
|
19656
19656
|
var sA = class {
|
|
19657
19657
|
tagName = "marimo-microphone";
|
|
19658
|
-
validator =
|
|
19658
|
+
validator = W({ label: U().nullish() });
|
|
19659
19659
|
render(e) {
|
|
19660
19660
|
return /* @__PURE__ */ (0, Y.jsx)(cA, { ...e });
|
|
19661
19661
|
}
|
|
@@ -20130,24 +20130,24 @@ var bA = class {
|
|
|
20130
20130
|
};
|
|
20131
20131
|
}, xA = class {
|
|
20132
20132
|
tagName = "marimo-matplotlib";
|
|
20133
|
-
validator =
|
|
20133
|
+
validator = W({
|
|
20134
20134
|
chartBase64: U(),
|
|
20135
|
-
xBounds:
|
|
20136
|
-
yBounds:
|
|
20137
|
-
axesPixelBounds:
|
|
20138
|
-
|
|
20139
|
-
|
|
20140
|
-
|
|
20141
|
-
|
|
20135
|
+
xBounds: $a([K(), K()]),
|
|
20136
|
+
yBounds: $a([K(), K()]),
|
|
20137
|
+
axesPixelBounds: $a([
|
|
20138
|
+
K(),
|
|
20139
|
+
K(),
|
|
20140
|
+
K(),
|
|
20141
|
+
K()
|
|
20142
20142
|
]),
|
|
20143
|
-
width:
|
|
20144
|
-
height:
|
|
20143
|
+
width: K(),
|
|
20144
|
+
height: K(),
|
|
20145
20145
|
selectionColor: U().default("#3b82f6"),
|
|
20146
|
-
selectionOpacity:
|
|
20147
|
-
strokeWidth:
|
|
20148
|
-
debounce:
|
|
20149
|
-
xScale:
|
|
20150
|
-
yScale:
|
|
20146
|
+
selectionOpacity: K().default(.15),
|
|
20147
|
+
strokeWidth: K().default(2),
|
|
20148
|
+
debounce: H(),
|
|
20149
|
+
xScale: Fo(["linear", "log"]).default("linear"),
|
|
20150
|
+
yScale: Fo(["linear", "log"]).default("linear")
|
|
20151
20151
|
});
|
|
20152
20152
|
render(e) {
|
|
20153
20153
|
return /* @__PURE__ */ (0, Y.jsx)(SA, {
|
|
@@ -20196,12 +20196,12 @@ var bA = class {
|
|
|
20196
20196
|
close() {
|
|
20197
20197
|
this.readyState = WebSocket.CLOSED, this.onclose?.();
|
|
20198
20198
|
}
|
|
20199
|
-
}, wA = "mpl-interactive-figure", TA = wS("marimo-mpl-interactive").withData(
|
|
20199
|
+
}, wA = "mpl-interactive-figure", TA = wS("marimo-mpl-interactive").withData(W({
|
|
20200
20200
|
mplJsUrl: U(),
|
|
20201
20201
|
cssUrl: U(),
|
|
20202
|
-
toolbarImages:
|
|
20203
|
-
width:
|
|
20204
|
-
height:
|
|
20202
|
+
toolbarImages: ro(U(), U()),
|
|
20203
|
+
width: K(),
|
|
20204
|
+
height: K()
|
|
20205
20205
|
})).withFunctions({}).renderer((e) => /* @__PURE__ */ (0, Y.jsx)(AA, { ...e })), EA = null;
|
|
20206
20206
|
async function DA(e) {
|
|
20207
20207
|
if (!window.mpl) {
|
|
@@ -20338,15 +20338,15 @@ function jA(e) {
|
|
|
20338
20338
|
//#region src/plugins/impl/NumberPlugin.tsx
|
|
20339
20339
|
var MA = class {
|
|
20340
20340
|
tagName = "marimo-number";
|
|
20341
|
-
validator =
|
|
20342
|
-
initialValue:
|
|
20341
|
+
validator = W({
|
|
20342
|
+
initialValue: K().nullish(),
|
|
20343
20343
|
label: U().nullable(),
|
|
20344
|
-
start:
|
|
20345
|
-
stop:
|
|
20346
|
-
step:
|
|
20347
|
-
debounce:
|
|
20348
|
-
fullWidth:
|
|
20349
|
-
disabled:
|
|
20344
|
+
start: K().nullish(),
|
|
20345
|
+
stop: K().nullish(),
|
|
20346
|
+
step: K().optional(),
|
|
20347
|
+
debounce: H().default(!1),
|
|
20348
|
+
fullWidth: H().default(!1),
|
|
20349
|
+
disabled: H().optional()
|
|
20350
20350
|
});
|
|
20351
20351
|
render(e) {
|
|
20352
20352
|
return /* @__PURE__ */ (0, Y.jsx)(NA, {
|
|
@@ -20405,7 +20405,7 @@ function PA(e) {
|
|
|
20405
20405
|
}
|
|
20406
20406
|
//#endregion
|
|
20407
20407
|
//#region src/plugins/impl/panel/utils.ts
|
|
20408
|
-
var FA =
|
|
20408
|
+
var FA = W({ content: eo([W({ type: Ya("ACK") }), U()]).nullable() });
|
|
20409
20409
|
function IA(e, t) {
|
|
20410
20410
|
if (Array.isArray(e)) return e.map((e) => IA(e, t));
|
|
20411
20411
|
if (e instanceof Map) {
|
|
@@ -20457,14 +20457,14 @@ var LA = class {
|
|
|
20457
20457
|
let e = this.buffer;
|
|
20458
20458
|
return this.buffer = [], e;
|
|
20459
20459
|
}
|
|
20460
|
-
}, RA = wS("marimo-panel").withData(
|
|
20460
|
+
}, RA = wS("marimo-panel").withData(W({
|
|
20461
20461
|
extensionUrl: U().nullable(),
|
|
20462
|
-
docs_json:
|
|
20463
|
-
render_json:
|
|
20464
|
-
})).withFunctions({ send_to_widget: HS.input(
|
|
20465
|
-
message:
|
|
20466
|
-
buffers:
|
|
20467
|
-
})).output(
|
|
20462
|
+
docs_json: ro(U(), ao()),
|
|
20463
|
+
render_json: W({ roots: ro(U(), U()) }).catchall(ao())
|
|
20464
|
+
})).withFunctions({ send_to_widget: HS.input(W({
|
|
20465
|
+
message: ao(),
|
|
20466
|
+
buffers: G(U())
|
|
20467
|
+
})).output(go().optional()) }).renderer((e) => /* @__PURE__ */ (0, Y.jsx)(VA, { ...e }));
|
|
20468
20468
|
function zA() {
|
|
20469
20469
|
return window.Bokeh != null;
|
|
20470
20470
|
}
|
|
@@ -20891,9 +20891,9 @@ function Ej(e) {
|
|
|
20891
20891
|
//#region src/plugins/impl/plotly/PlotlyPlugin.tsx
|
|
20892
20892
|
var Dj = class {
|
|
20893
20893
|
tagName = "marimo-plotly";
|
|
20894
|
-
validator =
|
|
20895
|
-
figure:
|
|
20896
|
-
config:
|
|
20894
|
+
validator = W({
|
|
20895
|
+
figure: W({}).passthrough().transform((e) => e),
|
|
20896
|
+
config: W({}).passthrough()
|
|
20897
20897
|
});
|
|
20898
20898
|
render(e) {
|
|
20899
20899
|
return /* @__PURE__ */ (0, Y.jsx)(kj, {
|
|
@@ -21038,12 +21038,12 @@ function Mj(e) {
|
|
|
21038
21038
|
//#region src/plugins/impl/RadioPlugin.tsx
|
|
21039
21039
|
var Nj = class {
|
|
21040
21040
|
tagName = "marimo-radio";
|
|
21041
|
-
validator =
|
|
21041
|
+
validator = W({
|
|
21042
21042
|
initialValue: U().nullable(),
|
|
21043
|
-
inline:
|
|
21043
|
+
inline: H().default(!1),
|
|
21044
21044
|
label: U().nullable(),
|
|
21045
|
-
options:
|
|
21046
|
-
disabled:
|
|
21045
|
+
options: G(U()),
|
|
21046
|
+
disabled: H().optional()
|
|
21047
21047
|
});
|
|
21048
21048
|
render(e) {
|
|
21049
21049
|
return /* @__PURE__ */ (0, Y.jsx)(Pj, {
|
|
@@ -21204,18 +21204,18 @@ Fj.displayName = Ef.displayName;
|
|
|
21204
21204
|
//#region src/plugins/impl/RangeSliderPlugin.tsx
|
|
21205
21205
|
var Ij = class {
|
|
21206
21206
|
tagName = "marimo-range-slider";
|
|
21207
|
-
validator =
|
|
21208
|
-
initialValue:
|
|
21207
|
+
validator = W({
|
|
21208
|
+
initialValue: G(K()),
|
|
21209
21209
|
label: U().nullable(),
|
|
21210
|
-
start:
|
|
21211
|
-
stop:
|
|
21212
|
-
step:
|
|
21213
|
-
steps:
|
|
21214
|
-
debounce:
|
|
21215
|
-
orientation:
|
|
21216
|
-
showValue:
|
|
21217
|
-
fullWidth:
|
|
21218
|
-
disabled:
|
|
21210
|
+
start: K(),
|
|
21211
|
+
stop: K(),
|
|
21212
|
+
step: K().optional(),
|
|
21213
|
+
steps: G(K()).nullable(),
|
|
21214
|
+
debounce: H().default(!1),
|
|
21215
|
+
orientation: Fo(["horizontal", "vertical"]).default("horizontal"),
|
|
21216
|
+
showValue: H().default(!1),
|
|
21217
|
+
fullWidth: H().default(!1),
|
|
21218
|
+
disabled: H().optional()
|
|
21219
21219
|
});
|
|
21220
21220
|
render(e) {
|
|
21221
21221
|
let t = (t) => e.data.steps && e.data.steps.length > 0 ? e.data.steps[t] : t;
|
|
@@ -21389,9 +21389,9 @@ var Ij = class {
|
|
|
21389
21389
|
}
|
|
21390
21390
|
}), Vj = class {
|
|
21391
21391
|
tagName = "marimo-refresh";
|
|
21392
|
-
validator =
|
|
21393
|
-
options:
|
|
21394
|
-
defaultInterval:
|
|
21392
|
+
validator = W({
|
|
21393
|
+
options: G(eo([Bj, K().min(zj)])).default([]),
|
|
21394
|
+
defaultInterval: eo([Bj, K().min(zj)]).optional(),
|
|
21395
21395
|
label: U().nullable()
|
|
21396
21396
|
});
|
|
21397
21397
|
render(e) {
|
|
@@ -21443,19 +21443,19 @@ var Ij = class {
|
|
|
21443
21443
|
});
|
|
21444
21444
|
}, Gj = class {
|
|
21445
21445
|
tagName = "marimo-slider";
|
|
21446
|
-
validator =
|
|
21447
|
-
initialValue:
|
|
21446
|
+
validator = W({
|
|
21447
|
+
initialValue: K(),
|
|
21448
21448
|
label: U().nullable(),
|
|
21449
|
-
start:
|
|
21450
|
-
stop:
|
|
21451
|
-
step:
|
|
21452
|
-
steps:
|
|
21453
|
-
debounce:
|
|
21454
|
-
orientation:
|
|
21455
|
-
showValue:
|
|
21456
|
-
fullWidth:
|
|
21457
|
-
includeInput:
|
|
21458
|
-
disabled:
|
|
21449
|
+
start: K(),
|
|
21450
|
+
stop: K(),
|
|
21451
|
+
step: K().optional(),
|
|
21452
|
+
steps: G(K()).nullable(),
|
|
21453
|
+
debounce: H().default(!1),
|
|
21454
|
+
orientation: Fo(["horizontal", "vertical"]).default("horizontal"),
|
|
21455
|
+
showValue: H().default(!1),
|
|
21456
|
+
fullWidth: H().default(!1),
|
|
21457
|
+
includeInput: H().default(!1),
|
|
21458
|
+
disabled: H().optional()
|
|
21459
21459
|
});
|
|
21460
21460
|
render(e) {
|
|
21461
21461
|
let t = (t) => {
|
|
@@ -21600,10 +21600,10 @@ var Jj = (e) => {
|
|
|
21600
21600
|
}), t[59] = p, t[60] = _, t[61] = n, t[62] = v, t[63] = ie, t[64] = A, t[65] = M, t[66] = ae) : ae = t[66], ae;
|
|
21601
21601
|
}, Yj = class {
|
|
21602
21602
|
tagName = "marimo-switch";
|
|
21603
|
-
validator =
|
|
21604
|
-
initialValue:
|
|
21603
|
+
validator = W({
|
|
21604
|
+
initialValue: H(),
|
|
21605
21605
|
label: U().nullable(),
|
|
21606
|
-
disabled:
|
|
21606
|
+
disabled: H().optional()
|
|
21607
21607
|
});
|
|
21608
21608
|
render(e) {
|
|
21609
21609
|
return /* @__PURE__ */ (0, Y.jsx)(Xj, { ...e });
|
|
@@ -21628,10 +21628,10 @@ var Jj = (e) => {
|
|
|
21628
21628
|
}), t[5] = i.label, t[6] = a, t[7] = o, t[8] = s) : s = t[8], s;
|
|
21629
21629
|
}, Zj = class {
|
|
21630
21630
|
tagName = "marimo-tabs";
|
|
21631
|
-
validator =
|
|
21632
|
-
tabs:
|
|
21631
|
+
validator = W({
|
|
21632
|
+
tabs: G(U()),
|
|
21633
21633
|
label: U().nullable(),
|
|
21634
|
-
orientation:
|
|
21634
|
+
orientation: Fo(["horizontal", "vertical"]).default("horizontal")
|
|
21635
21635
|
});
|
|
21636
21636
|
render(e) {
|
|
21637
21637
|
return /* @__PURE__ */ (0, Y.jsx)(Qj, {
|
|
@@ -21703,16 +21703,16 @@ function $j(e, t) {
|
|
|
21703
21703
|
//#region src/plugins/impl/TextAreaPlugin.tsx
|
|
21704
21704
|
var eM = class {
|
|
21705
21705
|
tagName = "marimo-text-area";
|
|
21706
|
-
validator =
|
|
21706
|
+
validator = W({
|
|
21707
21707
|
initialValue: U(),
|
|
21708
21708
|
placeholder: U(),
|
|
21709
21709
|
label: U().nullable(),
|
|
21710
|
-
maxLength:
|
|
21711
|
-
minLength:
|
|
21712
|
-
disabled:
|
|
21713
|
-
debounce:
|
|
21714
|
-
rows:
|
|
21715
|
-
fullWidth:
|
|
21710
|
+
maxLength: K().optional(),
|
|
21711
|
+
minLength: K().optional(),
|
|
21712
|
+
disabled: H().optional(),
|
|
21713
|
+
debounce: to(eo([H(), K()])),
|
|
21714
|
+
rows: K().default(4),
|
|
21715
|
+
fullWidth: H().default(!1)
|
|
21716
21716
|
});
|
|
21717
21717
|
render(e) {
|
|
21718
21718
|
return /* @__PURE__ */ (0, Y.jsx)(tM, {
|
|
@@ -21816,22 +21816,22 @@ var eM = class {
|
|
|
21816
21816
|
}), t[58] = e.fullWidth, t[59] = e.label, t[60] = d, t[61] = n, t[62] = f) : f = t[62], f;
|
|
21817
21817
|
}, nM = "••••••••", rM = class {
|
|
21818
21818
|
tagName = "marimo-text";
|
|
21819
|
-
validator =
|
|
21819
|
+
validator = W({
|
|
21820
21820
|
initialValue: U(),
|
|
21821
21821
|
placeholder: U(),
|
|
21822
21822
|
label: U().nullable(),
|
|
21823
|
-
kind:
|
|
21823
|
+
kind: Fo([
|
|
21824
21824
|
"text",
|
|
21825
21825
|
"password",
|
|
21826
21826
|
"email",
|
|
21827
21827
|
"url"
|
|
21828
21828
|
]).default("text"),
|
|
21829
|
-
maxLength:
|
|
21830
|
-
minLength:
|
|
21831
|
-
fullWidth:
|
|
21832
|
-
disabled:
|
|
21833
|
-
debounce:
|
|
21834
|
-
passwordHasValue:
|
|
21829
|
+
maxLength: K().optional(),
|
|
21830
|
+
minLength: K().optional(),
|
|
21831
|
+
fullWidth: H().default(!1),
|
|
21832
|
+
disabled: H().optional(),
|
|
21833
|
+
debounce: to(eo([H(), K()])),
|
|
21834
|
+
passwordHasValue: H().optional()
|
|
21835
21835
|
});
|
|
21836
21836
|
render(e) {
|
|
21837
21837
|
let t = e.data.kind === "password" ? e.host.closest(`[${Te}]`)?.getAttribute(Te) : void 0;
|
|
@@ -21956,17 +21956,17 @@ function aM(e, t) {
|
|
|
21956
21956
|
}
|
|
21957
21957
|
//#endregion
|
|
21958
21958
|
//#region src/plugins/impl/vega/VegaPlugin.tsx
|
|
21959
|
-
var oM = J.lazy(() => import("./vega-component-
|
|
21959
|
+
var oM = J.lazy(() => import("./vega-component-DnfQeoyt.js")), sM = class {
|
|
21960
21960
|
tagName = "marimo-vega";
|
|
21961
|
-
validator =
|
|
21962
|
-
spec:
|
|
21963
|
-
chartSelection:
|
|
21964
|
-
|
|
21965
|
-
|
|
21966
|
-
|
|
21961
|
+
validator = W({
|
|
21962
|
+
spec: W({}).passthrough().transform((e) => e),
|
|
21963
|
+
chartSelection: eo([
|
|
21964
|
+
H(),
|
|
21965
|
+
Ya("point"),
|
|
21966
|
+
Ya("interval")
|
|
21967
21967
|
]).default(!0),
|
|
21968
|
-
fieldSelection:
|
|
21969
|
-
embedOptions:
|
|
21968
|
+
fieldSelection: eo([H(), G(U())]).default(!0),
|
|
21969
|
+
embedOptions: W({}).passthrough().default({})
|
|
21970
21970
|
});
|
|
21971
21971
|
render(e) {
|
|
21972
21972
|
return /* @__PURE__ */ (0, Y.jsx)(oM, {
|
|
@@ -21977,10 +21977,10 @@ var oM = J.lazy(() => import("./vega-component-CF9IzE2r.js")), sM = class {
|
|
|
21977
21977
|
}
|
|
21978
21978
|
}, cM = class {
|
|
21979
21979
|
tagName = "marimo-accordion";
|
|
21980
|
-
validator =
|
|
21981
|
-
labels:
|
|
21982
|
-
multiple:
|
|
21983
|
-
expanded:
|
|
21980
|
+
validator = W({
|
|
21981
|
+
labels: G(U()),
|
|
21982
|
+
multiple: H(),
|
|
21983
|
+
expanded: G(U()).default([])
|
|
21984
21984
|
});
|
|
21985
21985
|
render(e) {
|
|
21986
21986
|
return /* @__PURE__ */ (0, Y.jsx)(lM, {
|
|
@@ -22049,7 +22049,7 @@ dM.displayName = "CalloutOutput";
|
|
|
22049
22049
|
//#region src/plugins/layout/CalloutPlugin.tsx
|
|
22050
22050
|
var fM = class {
|
|
22051
22051
|
tagName = "marimo-callout-output";
|
|
22052
|
-
validator =
|
|
22052
|
+
validator = W({
|
|
22053
22053
|
html: U(),
|
|
22054
22054
|
kind: PS,
|
|
22055
22055
|
title: U().optional()
|
|
@@ -22063,9 +22063,9 @@ var fM = class {
|
|
|
22063
22063
|
}
|
|
22064
22064
|
}, pM = ".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 :is(.marimo .swiper-button-next,.marimo .swiper-button-prev).swiper-button-disabled{cursor:auto;opacity:.35;pointer-events:none}.marimo :is(.marimo .swiper-button-next,.marimo .swiper-button-prev).swiper-button-hidden{cursor:auto;opacity:0;pointer-events:none}.marimo .swiper-navigation-disabled :is(.marimo .swiper-button-next,.marimo .swiper-button-prev){display:none!important}:is(.marimo .swiper-button-next,.marimo .swiper-button-prev) .marimo ::slotted(svg),:is(.marimo .swiper-button-next,.marimo .swiper-button-prev) .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-button-prev .marimo .swiper-navigation-icon,.marimo .swiper-button-prev .marimo ::slotted(.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-horizontal .marimo .swiper-button-prev,.marimo .swiper-horizontal .marimo~.swiper-button-next,.marimo .swiper-horizontal .marimo~.swiper-button-prev{margin-left:0;margin-top:calc(0px - var(--swiper-navigation-size)/2);top:var(--swiper-navigation-top-offset,50%)}.marimo :is(.marimo .swiper-horizontal).swiper-rtl .swiper-button-next,.marimo :is(.marimo .swiper-horizontal).swiper-rtl~.swiper-button-next,.marimo :is(.marimo .swiper-horizontal)~.swiper-button-prev,.marimo .swiper-horizontal .marimo .swiper-button-prev{left:var(--swiper-navigation-sides-offset,4px);right:auto}.marimo :is(.marimo .swiper-horizontal).swiper-rtl .swiper-button-prev,.marimo :is(.marimo .swiper-horizontal).swiper-rtl~.swiper-button-prev,.marimo :is(.marimo .swiper-horizontal)~.swiper-button-next,.marimo .swiper-horizontal .marimo .swiper-button-next{left:auto;right:var(--swiper-navigation-sides-offset,4px)}:is(.marimo :is(.marimo .swiper-horizontal).swiper-rtl .swiper-button-next,.marimo :is(.marimo .swiper-horizontal).swiper-rtl~.swiper-button-next,.marimo :is(.marimo .swiper-horizontal)~.swiper-button-prev,.marimo .swiper-horizontal .marimo .swiper-button-prev) .marimo .swiper-navigation-icon,:is(.marimo :is(.marimo .swiper-horizontal).swiper-rtl .swiper-button-next,.marimo :is(.marimo .swiper-horizontal).swiper-rtl~.swiper-button-next,.marimo :is(.marimo .swiper-horizontal)~.swiper-button-prev,.marimo .swiper-horizontal .marimo .swiper-button-prev) .marimo ::slotted(.swiper-navigation-icon){transform:rotate(180deg)}:is(.marimo :is(.marimo .swiper-horizontal).swiper-rtl .swiper-button-prev,.marimo :is(.marimo .swiper-horizontal).swiper-rtl~.swiper-button-prev) .marimo .swiper-navigation-icon,:is(.marimo :is(.marimo .swiper-horizontal).swiper-rtl .swiper-button-prev,.marimo :is(.marimo .swiper-horizontal).swiper-rtl~.swiper-button-prev) .marimo ::slotted(.swiper-navigation-icon){transform:rotate(0)}.marimo .swiper-vertical .marimo .swiper-button-next,.marimo .swiper-vertical .marimo .swiper-button-prev,.marimo .swiper-vertical .marimo~.swiper-button-next,.marimo .swiper-vertical .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-vertical .marimo .swiper-button-prev,.marimo .swiper-vertical .marimo~.swiper-button-prev{bottom:auto;top:var(--swiper-navigation-sides-offset,4px)}:is(.marimo .swiper-vertical .marimo .swiper-button-prev,.marimo .swiper-vertical .marimo~.swiper-button-prev) .marimo .swiper-navigation-icon,:is(.marimo .swiper-vertical .marimo .swiper-button-prev,.marimo .swiper-vertical .marimo~.swiper-button-prev) .marimo ::slotted(.swiper-navigation-icon){transform:rotate(-90deg)}.marimo .swiper-vertical .marimo .swiper-button-next,.marimo .swiper-vertical .marimo~.swiper-button-next{bottom:var(--swiper-navigation-sides-offset,4px);top:auto}:is(.marimo .swiper-vertical .marimo .swiper-button-next,.marimo .swiper-vertical .marimo~.swiper-button-next) .marimo .swiper-navigation-icon,:is(.marimo .swiper-vertical .marimo .swiper-button-next,.marimo .swiper-vertical .marimo~.swiper-button-next) .marimo ::slotted(.swiper-navigation-icon){transform:rotate(90deg)}", mM = ".marimo .swiper-pagination{text-align:center;z-index:10;transition:opacity .3s;position:absolute;transform:translateZ(0)}.marimo :is(.marimo .swiper-pagination).swiper-pagination-hidden{opacity:0}.marimo :is(.marimo .swiper-pagination).swiper-pagination-disabled,.marimo .swiper-pagination-disabled>:is(.marimo .swiper-pagination){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-bullets-dynamic .marimo .swiper-pagination-bullet{position:relative;transform:scale(.33)}.marimo .swiper-pagination-bullets-dynamic .marimo .swiper-pagination-bullet-active,.marimo .swiper-pagination-bullets-dynamic .marimo .swiper-pagination-bullet-active-main{transform:scale(1)}.marimo .swiper-pagination-bullets-dynamic .marimo .swiper-pagination-bullet-active-prev{transform:scale(.66)}.marimo .swiper-pagination-bullets-dynamic .marimo .swiper-pagination-bullet-active-prev-prev{transform:scale(.33)}.marimo .swiper-pagination-bullets-dynamic .marimo .swiper-pagination-bullet-active-next{transform:scale(.66)}.marimo .swiper-pagination-bullets-dynamic .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:is(.marimo .swiper-pagination-bullet){appearance:none;box-shadow:none;border:none;margin:0;padding:0}.marimo .swiper-pagination-clickable :is(.marimo .swiper-pagination-bullet){cursor:pointer}.marimo :is(.marimo .swiper-pagination-bullet):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%)}:is(.marimo .swiper-pagination-vertical.swiper-pagination-bullets,.marimo .swiper-vertical>.swiper-pagination-bullets) .marimo .swiper-pagination-bullet{margin:var(--swiper-pagination-bullet-vertical-gap,6px) 0;display:block}.marimo :is(.marimo .swiper-pagination-vertical.swiper-pagination-bullets,.marimo .swiper-vertical>.swiper-pagination-bullets).swiper-pagination-bullets-dynamic{width:8px;top:50%;transform:translateY(-50%)}.marimo :is(.marimo .swiper-pagination-vertical.swiper-pagination-bullets,.marimo .swiper-vertical>.swiper-pagination-bullets).swiper-pagination-bullets-dynamic .marimo .swiper-pagination-bullet{transition:transform .2s,top .2s;display:inline-block}:is(.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 :is(.marimo .swiper-horizontal>.swiper-pagination-bullets,.marimo .swiper-pagination-horizontal.swiper-pagination-bullets).swiper-pagination-bullets-dynamic{white-space:nowrap;left:50%;transform:translate(-50%)}.marimo :is(.marimo .swiper-horizontal>.swiper-pagination-bullets,.marimo .swiper-pagination-horizontal.swiper-pagination-bullets).swiper-pagination-bullets-dynamic .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 .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 :is(.marimo .swiper-pagination-progressbar) .swiper-pagination-progressbar-fill{transform-origin:100% 0}.marimo :is(.marimo .swiper-pagination-progressbar).swiper-pagination-horizontal,.marimo :is(.marimo .swiper-pagination-progressbar).swiper-pagination-vertical.swiper-pagination-progressbar-opposite,.marimo .swiper-horizontal>:is(.marimo .swiper-pagination-progressbar),.marimo .swiper-vertical>:is(.marimo .swiper-pagination-progressbar).swiper-pagination-progressbar-opposite{height:var(--swiper-pagination-progressbar-size,4px);width:100%;top:0;left:0}.marimo :is(.marimo .swiper-pagination-progressbar).swiper-pagination-horizontal.swiper-pagination-progressbar-opposite,.marimo :is(.marimo .swiper-pagination-progressbar).swiper-pagination-vertical,.marimo .swiper-horizontal>:is(.marimo .swiper-pagination-progressbar).swiper-pagination-progressbar-opposite,.marimo .swiper-vertical>:is(.marimo .swiper-pagination-progressbar){height:100%;width:var(--swiper-pagination-progressbar-size,4px);top:0;left:0}.marimo .swiper-pagination-lock{display:none}", hM = ".marimo .swiper-scrollbar{background:var(--swiper-scrollbar-bg-color,#0000001a);border-radius:var(--swiper-scrollbar-border-radius,10px);touch-action:none;position:relative}.marimo :is(.marimo .swiper-scrollbar).swiper-scrollbar-disabled,.marimo .swiper-scrollbar-disabled>:is(.marimo .swiper-scrollbar){display:none!important}.marimo :is(.marimo .swiper-scrollbar).swiper-scrollbar-horizontal,.marimo .swiper-horizontal>:is(.marimo .swiper-scrollbar){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 :is(.marimo .swiper-scrollbar).swiper-scrollbar-vertical,.marimo .swiper-vertical>:is(.marimo .swiper-scrollbar){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}", gM = ".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}", _M = ".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-3d .marimo .swiper-cube-shadow,.marimo .swiper-3d .marimo .swiper-slide{transform-style:preserve-3d}.marimo .swiper-css-mode .marimo>.swiper-wrapper{scrollbar-width:none;-ms-overflow-style:none;overflow:auto}.marimo :is(.marimo .swiper-css-mode .marimo>.swiper-wrapper)::-webkit-scrollbar{display:none}.marimo .swiper-css-mode .marimo>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.marimo :is(.marimo .swiper-css-mode).swiper-horizontal .marimo>.swiper-wrapper{scroll-snap-type:x mandatory}.marimo :is(.marimo .swiper-css-mode).swiper-horizontal .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 :is(.marimo .swiper-css-mode).swiper-horizontal .marimo>.swiper-wrapper>.swiper-slide:last-child{margin-inline-end:var(--swiper-slides-offset-after)}.marimo :is(.marimo .swiper-css-mode).swiper-vertical .marimo>.swiper-wrapper{scroll-snap-type:y mandatory}.marimo :is(.marimo .swiper-css-mode).swiper-vertical .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 :is(.marimo .swiper-css-mode).swiper-vertical .marimo>.swiper-wrapper>.swiper-slide:last-child{margin-block-end:var(--swiper-slides-offset-after)}.marimo :is(.marimo .swiper-css-mode).swiper-free-mode .marimo>.swiper-wrapper{scroll-snap-type:none}.marimo :is(.marimo .swiper-css-mode).swiper-free-mode .marimo>.swiper-wrapper>.swiper-slide{scroll-snap-align:none}.marimo :is(.marimo .swiper-css-mode).swiper-centered .marimo>.swiper-wrapper:before{content:\"\";flex-shrink:0;order:9999}.marimo :is(.marimo .swiper-css-mode).swiper-centered .marimo>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center;scroll-snap-stop:always}.marimo :is(.marimo .swiper-css-mode).swiper-centered.swiper-horizontal .marimo>.swiper-wrapper>.swiper-slide:first-child{margin-inline-start:var(--swiper-centered-offset-before)}.marimo :is(.marimo .swiper-css-mode).swiper-centered.swiper-horizontal .marimo>.swiper-wrapper:before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.marimo :is(.marimo .swiper-css-mode).swiper-centered.swiper-vertical .marimo>.swiper-wrapper>.swiper-slide:first-child{margin-block-start:var(--swiper-centered-offset-before)}.marimo :is(.marimo .swiper-css-mode).swiper-centered.swiper-vertical .marimo>.swiper-wrapper:before{height:var(--swiper-centered-offset-after);width:100%;min-width:1px}.marimo .swiper-3d .marimo .swiper-slide-shadow,.marimo .swiper-3d .marimo .swiper-slide-shadow-bottom,.marimo .swiper-3d .marimo .swiper-slide-shadow-left,.marimo .swiper-3d .marimo .swiper-slide-shadow-right,.marimo .swiper-3d .marimo .swiper-slide-shadow-top{pointer-events:none;z-index:10;width:100%;height:100%;position:absolute;top:0;left:0}.marimo .swiper-3d .marimo .swiper-slide-shadow{background:#00000026}.marimo .swiper-3d .marimo .swiper-slide-shadow-left{background-image:linear-gradient(270deg,#00000080,#0000)}.marimo .swiper-3d .marimo .swiper-slide-shadow-right{background-image:linear-gradient(90deg,#00000080,#0000)}.marimo .swiper-3d .marimo .swiper-slide-shadow-top{background-image:linear-gradient(#0000,#00000080)}.marimo .swiper-3d .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%}:is(.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)}}", vM = ".marimo .mo-slide-content{justify-content:center;width:100%;min-height:fit-content;display:flex}.marimo .mo-slide-content .marimo .output{max-width:100%;width:unset;margin:auto 0}.marimo .mo-slide-content .marimo>:only-child:has(>.output:only-child,>*>.output:only-child){flex:1}.marimo .mo-slide-content .marimo div:has(>marimo-ui-element>marimo-vega){flex:1;display:block!important}@media (width>=500px){.marimo .mo-slide-content .marimo div:has(>marimo-ui-element>marimo-vega){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)}", yM = ".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-3d .marimo .swiper-cube-shadow,.marimo .swiper-3d .marimo .swiper-slide{transform-style:preserve-3d}.marimo .swiper-css-mode .marimo>.swiper-wrapper{scrollbar-width:none;-ms-overflow-style:none;overflow:auto}.marimo :is(.marimo .swiper-css-mode .marimo>.swiper-wrapper)::-webkit-scrollbar{display:none}.marimo .swiper-css-mode .marimo>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.marimo :is(.marimo .swiper-css-mode).swiper-horizontal .marimo>.swiper-wrapper{scroll-snap-type:x mandatory}.marimo :is(.marimo .swiper-css-mode).swiper-horizontal .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 :is(.marimo .swiper-css-mode).swiper-horizontal .marimo>.swiper-wrapper>.swiper-slide:last-child{margin-inline-end:var(--swiper-slides-offset-after)}.marimo :is(.marimo .swiper-css-mode).swiper-vertical .marimo>.swiper-wrapper{scroll-snap-type:y mandatory}.marimo :is(.marimo .swiper-css-mode).swiper-vertical .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 :is(.marimo .swiper-css-mode).swiper-vertical .marimo>.swiper-wrapper>.swiper-slide:last-child{margin-block-end:var(--swiper-slides-offset-after)}.marimo :is(.marimo .swiper-css-mode).swiper-free-mode .marimo>.swiper-wrapper{scroll-snap-type:none}.marimo :is(.marimo .swiper-css-mode).swiper-free-mode .marimo>.swiper-wrapper>.swiper-slide{scroll-snap-align:none}.marimo :is(.marimo .swiper-css-mode).swiper-centered .marimo>.swiper-wrapper:before{content:\"\";flex-shrink:0;order:9999}.marimo :is(.marimo .swiper-css-mode).swiper-centered .marimo>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center;scroll-snap-stop:always}.marimo :is(.marimo .swiper-css-mode).swiper-centered.swiper-horizontal .marimo>.swiper-wrapper>.swiper-slide:first-child{margin-inline-start:var(--swiper-centered-offset-before)}.marimo :is(.marimo .swiper-css-mode).swiper-centered.swiper-horizontal .marimo>.swiper-wrapper:before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.marimo :is(.marimo .swiper-css-mode).swiper-centered.swiper-vertical .marimo>.swiper-wrapper>.swiper-slide:first-child{margin-block-start:var(--swiper-centered-offset-before)}.marimo :is(.marimo .swiper-css-mode).swiper-centered.swiper-vertical .marimo>.swiper-wrapper:before{height:var(--swiper-centered-offset-after);width:100%;min-width:1px}.marimo .swiper-3d .marimo .swiper-slide-shadow,.marimo .swiper-3d .marimo .swiper-slide-shadow-bottom,.marimo .swiper-3d .marimo .swiper-slide-shadow-left,.marimo .swiper-3d .marimo .swiper-slide-shadow-right,.marimo .swiper-3d .marimo .swiper-slide-shadow-top{pointer-events:none;z-index:10;width:100%;height:100%;position:absolute;top:0;left:0}.marimo .swiper-3d .marimo .swiper-slide-shadow{background:#00000026}.marimo .swiper-3d .marimo .swiper-slide-shadow-left{background-image:linear-gradient(270deg,#00000080,#0000)}.marimo .swiper-3d .marimo .swiper-slide-shadow-right{background-image:linear-gradient(90deg,#00000080,#0000)}.marimo .swiper-3d .marimo .swiper-slide-shadow-top{background-image:linear-gradient(#0000,#00000080)}.marimo .swiper-3d .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%}:is(.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 :is(.marimo .swiper-button-next,.marimo .swiper-button-prev).swiper-button-disabled{cursor:auto;opacity:.35;pointer-events:none}.marimo :is(.marimo .swiper-button-next,.marimo .swiper-button-prev).swiper-button-hidden{cursor:auto;opacity:0;pointer-events:none}.marimo .swiper-navigation-disabled :is(.marimo .swiper-button-next,.marimo .swiper-button-prev){display:none!important}:is(.marimo .swiper-button-next,.marimo .swiper-button-prev) .marimo ::slotted(svg),:is(.marimo .swiper-button-next,.marimo .swiper-button-prev) .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-button-prev .marimo .swiper-navigation-icon,.marimo .swiper-button-prev .marimo ::slotted(.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-horizontal .marimo .swiper-button-prev,.marimo .swiper-horizontal .marimo~.swiper-button-next,.marimo .swiper-horizontal .marimo~.swiper-button-prev{margin-left:0;margin-top:calc(0px - var(--swiper-navigation-size)/2);top:var(--swiper-navigation-top-offset,50%)}.marimo :is(.marimo .swiper-horizontal).swiper-rtl .swiper-button-next,.marimo :is(.marimo .swiper-horizontal).swiper-rtl~.swiper-button-next,.marimo :is(.marimo .swiper-horizontal)~.swiper-button-prev,.marimo .swiper-horizontal .marimo .swiper-button-prev{left:var(--swiper-navigation-sides-offset,4px);right:auto}.marimo :is(.marimo .swiper-horizontal).swiper-rtl .swiper-button-prev,.marimo :is(.marimo .swiper-horizontal).swiper-rtl~.swiper-button-prev,.marimo :is(.marimo .swiper-horizontal)~.swiper-button-next,.marimo .swiper-horizontal .marimo .swiper-button-next{left:auto;right:var(--swiper-navigation-sides-offset,4px)}:is(.marimo :is(.marimo .swiper-horizontal).swiper-rtl .swiper-button-next,.marimo :is(.marimo .swiper-horizontal).swiper-rtl~.swiper-button-next,.marimo :is(.marimo .swiper-horizontal)~.swiper-button-prev,.marimo .swiper-horizontal .marimo .swiper-button-prev) .marimo .swiper-navigation-icon,:is(.marimo :is(.marimo .swiper-horizontal).swiper-rtl .swiper-button-next,.marimo :is(.marimo .swiper-horizontal).swiper-rtl~.swiper-button-next,.marimo :is(.marimo .swiper-horizontal)~.swiper-button-prev,.marimo .swiper-horizontal .marimo .swiper-button-prev) .marimo ::slotted(.swiper-navigation-icon){transform:rotate(180deg)}:is(.marimo :is(.marimo .swiper-horizontal).swiper-rtl .swiper-button-prev,.marimo :is(.marimo .swiper-horizontal).swiper-rtl~.swiper-button-prev) .marimo .swiper-navigation-icon,:is(.marimo :is(.marimo .swiper-horizontal).swiper-rtl .swiper-button-prev,.marimo :is(.marimo .swiper-horizontal).swiper-rtl~.swiper-button-prev) .marimo ::slotted(.swiper-navigation-icon){transform:rotate(0)}.marimo .swiper-vertical .marimo .swiper-button-next,.marimo .swiper-vertical .marimo .swiper-button-prev,.marimo .swiper-vertical .marimo~.swiper-button-next,.marimo .swiper-vertical .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-vertical .marimo .swiper-button-prev,.marimo .swiper-vertical .marimo~.swiper-button-prev{bottom:auto;top:var(--swiper-navigation-sides-offset,4px)}:is(.marimo .swiper-vertical .marimo .swiper-button-prev,.marimo .swiper-vertical .marimo~.swiper-button-prev) .marimo .swiper-navigation-icon,:is(.marimo .swiper-vertical .marimo .swiper-button-prev,.marimo .swiper-vertical .marimo~.swiper-button-prev) .marimo ::slotted(.swiper-navigation-icon){transform:rotate(-90deg)}.marimo .swiper-vertical .marimo .swiper-button-next,.marimo .swiper-vertical .marimo~.swiper-button-next{bottom:var(--swiper-navigation-sides-offset,4px);top:auto}:is(.marimo .swiper-vertical .marimo .swiper-button-next,.marimo .swiper-vertical .marimo~.swiper-button-next) .marimo .swiper-navigation-icon,:is(.marimo .swiper-vertical .marimo .swiper-button-next,.marimo .swiper-vertical .marimo~.swiper-button-next) .marimo ::slotted(.swiper-navigation-icon){transform:rotate(90deg)}.marimo .swiper-pagination{text-align:center;z-index:10;transition:opacity .3s;position:absolute;transform:translateZ(0)}.marimo :is(.marimo .swiper-pagination).swiper-pagination-hidden{opacity:0}.marimo :is(.marimo .swiper-pagination).swiper-pagination-disabled,.marimo .swiper-pagination-disabled>:is(.marimo .swiper-pagination){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-bullets-dynamic .marimo .swiper-pagination-bullet{position:relative;transform:scale(.33)}.marimo .swiper-pagination-bullets-dynamic .marimo .swiper-pagination-bullet-active,.marimo .swiper-pagination-bullets-dynamic .marimo .swiper-pagination-bullet-active-main{transform:scale(1)}.marimo .swiper-pagination-bullets-dynamic .marimo .swiper-pagination-bullet-active-prev{transform:scale(.66)}.marimo .swiper-pagination-bullets-dynamic .marimo .swiper-pagination-bullet-active-prev-prev{transform:scale(.33)}.marimo .swiper-pagination-bullets-dynamic .marimo .swiper-pagination-bullet-active-next{transform:scale(.66)}.marimo .swiper-pagination-bullets-dynamic .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:is(.marimo .swiper-pagination-bullet){appearance:none;box-shadow:none;border:none;margin:0;padding:0}.marimo .swiper-pagination-clickable :is(.marimo .swiper-pagination-bullet){cursor:pointer}.marimo :is(.marimo .swiper-pagination-bullet):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%)}:is(.marimo .swiper-pagination-vertical.swiper-pagination-bullets,.marimo .swiper-vertical>.swiper-pagination-bullets) .marimo .swiper-pagination-bullet{margin:var(--swiper-pagination-bullet-vertical-gap,6px) 0;display:block}.marimo :is(.marimo .swiper-pagination-vertical.swiper-pagination-bullets,.marimo .swiper-vertical>.swiper-pagination-bullets).swiper-pagination-bullets-dynamic{width:8px;top:50%;transform:translateY(-50%)}.marimo :is(.marimo .swiper-pagination-vertical.swiper-pagination-bullets,.marimo .swiper-vertical>.swiper-pagination-bullets).swiper-pagination-bullets-dynamic .marimo .swiper-pagination-bullet{transition:transform .2s,top .2s;display:inline-block}:is(.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 :is(.marimo .swiper-horizontal>.swiper-pagination-bullets,.marimo .swiper-pagination-horizontal.swiper-pagination-bullets).swiper-pagination-bullets-dynamic{white-space:nowrap;left:50%;transform:translate(-50%)}.marimo :is(.marimo .swiper-horizontal>.swiper-pagination-bullets,.marimo .swiper-pagination-horizontal.swiper-pagination-bullets).swiper-pagination-bullets-dynamic .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 .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 :is(.marimo .swiper-pagination-progressbar) .swiper-pagination-progressbar-fill{transform-origin:100% 0}.marimo :is(.marimo .swiper-pagination-progressbar).swiper-pagination-horizontal,.marimo :is(.marimo .swiper-pagination-progressbar).swiper-pagination-vertical.swiper-pagination-progressbar-opposite,.marimo .swiper-horizontal>:is(.marimo .swiper-pagination-progressbar),.marimo .swiper-vertical>:is(.marimo .swiper-pagination-progressbar).swiper-pagination-progressbar-opposite{height:var(--swiper-pagination-progressbar-size,4px);width:100%;top:0;left:0}.marimo :is(.marimo .swiper-pagination-progressbar).swiper-pagination-horizontal.swiper-pagination-progressbar-opposite,.marimo :is(.marimo .swiper-pagination-progressbar).swiper-pagination-vertical,.marimo .swiper-horizontal>:is(.marimo .swiper-pagination-progressbar).swiper-pagination-progressbar-opposite,.marimo .swiper-vertical>:is(.marimo .swiper-pagination-progressbar){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 :is(.marimo .swiper-scrollbar).swiper-scrollbar-disabled,.marimo .swiper-scrollbar-disabled>:is(.marimo .swiper-scrollbar){display:none!important}.marimo :is(.marimo .swiper-scrollbar).swiper-scrollbar-horizontal,.marimo .swiper-horizontal>:is(.marimo .swiper-scrollbar){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 :is(.marimo .swiper-scrollbar).swiper-scrollbar-vertical,.marimo .swiper-vertical>:is(.marimo .swiper-scrollbar){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 .mo-slides-theme .marimo .swiper-button-next,.marimo .mo-slides-theme .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 :is(.marimo .mo-slides-theme .marimo .swiper-button-next,.marimo .mo-slides-theme .marimo .swiper-button-prev).swiper-button-disabled{opacity:0}.marimo :is(.marimo .mo-slides-theme .marimo .swiper-button-next,.marimo .mo-slides-theme .marimo .swiper-button-prev):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}", bM = class {
|
|
22065
22065
|
tagName = "marimo-carousel";
|
|
22066
|
-
validator =
|
|
22066
|
+
validator = W({
|
|
22067
22067
|
index: U().nullish(),
|
|
22068
|
-
height:
|
|
22068
|
+
height: eo([U(), K()]).nullish()
|
|
22069
22069
|
});
|
|
22070
22070
|
cssStyles = [
|
|
22071
22071
|
_M,
|
|
@@ -22083,13 +22083,13 @@ var fM = class {
|
|
|
22083
22083
|
children: e.children
|
|
22084
22084
|
});
|
|
22085
22085
|
}
|
|
22086
|
-
}, xM = J.lazy(() => import("./swiper-component-DfhRvAFi.js")), SM = wS("marimo-download").withData(
|
|
22086
|
+
}, xM = J.lazy(() => import("./swiper-component-DfhRvAFi.js")), SM = wS("marimo-download").withData(W({
|
|
22087
22087
|
data: U(),
|
|
22088
|
-
disabled:
|
|
22088
|
+
disabled: H().default(!1),
|
|
22089
22089
|
filename: U().nullish(),
|
|
22090
22090
|
label: U().nullish(),
|
|
22091
|
-
lazy:
|
|
22092
|
-
})).withFunctions({ load: HS.input(
|
|
22091
|
+
lazy: H().default(!1)
|
|
22092
|
+
})).withFunctions({ load: HS.input(W({})).output(W({
|
|
22093
22093
|
data: U(),
|
|
22094
22094
|
filename: U().nullish()
|
|
22095
22095
|
})) }).renderer((e) => /* @__PURE__ */ (0, Y.jsx)(CM, {
|
|
@@ -22130,11 +22130,11 @@ var fM = class {
|
|
|
22130
22130
|
});
|
|
22131
22131
|
}, wM = J.lazy(() => import("./ImageComparisonComponent-uU8FSKZE.js")), TM = class {
|
|
22132
22132
|
tagName = "marimo-image-comparison";
|
|
22133
|
-
validator =
|
|
22133
|
+
validator = W({
|
|
22134
22134
|
beforeSrc: U(),
|
|
22135
22135
|
afterSrc: U(),
|
|
22136
|
-
value:
|
|
22137
|
-
direction:
|
|
22136
|
+
value: K().min(0).max(100).default(50),
|
|
22137
|
+
direction: Fo(["horizontal", "vertical"]).default("horizontal"),
|
|
22138
22138
|
width: U().optional(),
|
|
22139
22139
|
height: U().optional()
|
|
22140
22140
|
});
|
|
@@ -22146,10 +22146,10 @@ var fM = class {
|
|
|
22146
22146
|
}
|
|
22147
22147
|
}, EM = class {
|
|
22148
22148
|
tagName = "marimo-json-output";
|
|
22149
|
-
validator =
|
|
22149
|
+
validator = W({
|
|
22150
22150
|
name: U().nullish(),
|
|
22151
|
-
jsonData:
|
|
22152
|
-
valueTypes:
|
|
22151
|
+
jsonData: ao(),
|
|
22152
|
+
valueTypes: Fo(["json", "python"]).default("python")
|
|
22153
22153
|
});
|
|
22154
22154
|
render({ data: e }) {
|
|
22155
22155
|
let t = e.name === void 0 ? !1 : e.name || "";
|
|
@@ -22160,7 +22160,7 @@ var fM = class {
|
|
|
22160
22160
|
name: t
|
|
22161
22161
|
});
|
|
22162
22162
|
}
|
|
22163
|
-
}, DM = wS("marimo-lazy").withData(
|
|
22163
|
+
}, DM = wS("marimo-lazy").withData(W({ showLoadingIndicator: H().default(!1) })).withFunctions({ load: HS.input(W({})).output(W({ html: U() })) }).renderer((e) => /* @__PURE__ */ (0, Y.jsx)(OM, {
|
|
22164
22164
|
value: e.value,
|
|
22165
22165
|
setValue: e.setValue,
|
|
22166
22166
|
...e.data,
|
|
@@ -22193,13 +22193,13 @@ var fM = class {
|
|
|
22193
22193
|
}), t[12] = s, t[13] = m, t[14] = h) : h = t[14], h;
|
|
22194
22194
|
}, kM = class {
|
|
22195
22195
|
tagName = "marimo-mime-renderer";
|
|
22196
|
-
validator =
|
|
22196
|
+
validator = W({
|
|
22197
22197
|
mime: U().transform((e) => e),
|
|
22198
|
-
data:
|
|
22198
|
+
data: eo([
|
|
22199
22199
|
U(),
|
|
22200
|
-
|
|
22201
|
-
|
|
22202
|
-
|
|
22200
|
+
go(),
|
|
22201
|
+
ro(U(), ao()),
|
|
22202
|
+
G(zo())
|
|
22203
22203
|
]).transform((e) => e)
|
|
22204
22204
|
});
|
|
22205
22205
|
render({ data: e }) {
|
|
@@ -22211,10 +22211,10 @@ var fM = class {
|
|
|
22211
22211
|
}
|
|
22212
22212
|
}, AM = class {
|
|
22213
22213
|
tagName = "marimo-mermaid";
|
|
22214
|
-
validator =
|
|
22214
|
+
validator = W({
|
|
22215
22215
|
diagram: U(),
|
|
22216
22216
|
theme: U().optional(),
|
|
22217
|
-
theme_variables:
|
|
22217
|
+
theme_variables: ro(U(), U()).optional()
|
|
22218
22218
|
});
|
|
22219
22219
|
render(e) {
|
|
22220
22220
|
return /* @__PURE__ */ (0, Y.jsx)(jM, {
|
|
@@ -22223,7 +22223,7 @@ var fM = class {
|
|
|
22223
22223
|
themeVariables: e.data.theme_variables
|
|
22224
22224
|
});
|
|
22225
22225
|
}
|
|
22226
|
-
}, jM = (0, J.lazy)(() => import("./mermaid-
|
|
22226
|
+
}, jM = (0, J.lazy)(() => import("./mermaid-DKI0869I.js").then((e) => e.t));
|
|
22227
22227
|
//#endregion
|
|
22228
22228
|
//#region src/components/editor/chrome/panels/outline/useActiveOutline.tsx
|
|
22229
22229
|
function MM() {
|
|
@@ -22393,7 +22393,7 @@ var RM = () => {
|
|
|
22393
22393
|
}), t[9] = s, t[10] = c, t[11] = l) : l = t[11], l;
|
|
22394
22394
|
}, HM = class {
|
|
22395
22395
|
tagName = "marimo-outline";
|
|
22396
|
-
validator =
|
|
22396
|
+
validator = W({ label: U().optional() });
|
|
22397
22397
|
render(e) {
|
|
22398
22398
|
let { label: t } = e.data;
|
|
22399
22399
|
return /* @__PURE__ */ (0, Y.jsx)(hs, {
|
|
@@ -23160,13 +23160,13 @@ var RM = () => {
|
|
|
23160
23160
|
})(e);
|
|
23161
23161
|
})))(), 1), WM = class {
|
|
23162
23162
|
tagName = "marimo-progress";
|
|
23163
|
-
validator =
|
|
23163
|
+
validator = W({
|
|
23164
23164
|
title: U().optional(),
|
|
23165
23165
|
subtitle: U().optional(),
|
|
23166
|
-
progress:
|
|
23167
|
-
total:
|
|
23168
|
-
eta:
|
|
23169
|
-
rate:
|
|
23166
|
+
progress: eo([K(), H()]),
|
|
23167
|
+
total: K().optional(),
|
|
23168
|
+
eta: K().optional(),
|
|
23169
|
+
rate: K().optional()
|
|
23170
23170
|
});
|
|
23171
23171
|
render(e) {
|
|
23172
23172
|
return /* @__PURE__ */ (0, Y.jsx)(GM, { ...e.data });
|
|
@@ -23429,7 +23429,7 @@ var YM = (/* @__PURE__ */ i(((e) => {
|
|
|
23429
23429
|
}
|
|
23430
23430
|
}, ZM = class {
|
|
23431
23431
|
tagName = "marimo-routes";
|
|
23432
|
-
validator =
|
|
23432
|
+
validator = W({ routes: G(U()) });
|
|
23433
23433
|
render(e) {
|
|
23434
23434
|
return /* @__PURE__ */ (0, Y.jsx)(QM, {
|
|
23435
23435
|
...e.data,
|
|
@@ -23464,18 +23464,18 @@ var YM = (/* @__PURE__ */ i(((e) => {
|
|
|
23464
23464
|
return t[9] === r ? h = t[10] : (h = J.Children.toArray(r), t[9] = r, t[10] = h), h[m];
|
|
23465
23465
|
}, $M = class {
|
|
23466
23466
|
tagName = "marimo-stat";
|
|
23467
|
-
validator =
|
|
23468
|
-
value:
|
|
23467
|
+
validator = W({
|
|
23468
|
+
value: eo([
|
|
23469
23469
|
U(),
|
|
23470
|
-
|
|
23471
|
-
|
|
23470
|
+
K(),
|
|
23471
|
+
H()
|
|
23472
23472
|
]).optional(),
|
|
23473
23473
|
label: U().optional(),
|
|
23474
23474
|
caption: U().optional(),
|
|
23475
|
-
bordered:
|
|
23476
|
-
direction:
|
|
23477
|
-
target_direction:
|
|
23478
|
-
slot:
|
|
23475
|
+
bordered: H().default(!1),
|
|
23476
|
+
direction: Fo(["increase", "decrease"]).optional(),
|
|
23477
|
+
target_direction: Fo(["increase", "decrease"]).default("increase"),
|
|
23478
|
+
slot: zo().optional()
|
|
23479
23479
|
});
|
|
23480
23480
|
render({ data: e }) {
|
|
23481
23481
|
return /* @__PURE__ */ (0, Y.jsx)(eN, { ...e });
|
|
@@ -23547,7 +23547,7 @@ var YM = (/* @__PURE__ */ i(((e) => {
|
|
|
23547
23547
|
}), t[27] = O, t[28] = b, t[29] = x, t[30] = k) : k = t[30], k;
|
|
23548
23548
|
}, tN = class {
|
|
23549
23549
|
tagName = "marimo-tex";
|
|
23550
|
-
validator =
|
|
23550
|
+
validator = W({});
|
|
23551
23551
|
render(e) {
|
|
23552
23552
|
return /* @__PURE__ */ (0, Y.jsx)(oN, {
|
|
23553
23553
|
host: e.host,
|
|
@@ -27221,20 +27221,20 @@ function kP(e) {
|
|
|
27221
27221
|
var AP = {
|
|
27222
27222
|
type: "grid",
|
|
27223
27223
|
name: "Grid",
|
|
27224
|
-
validator:
|
|
27225
|
-
columns:
|
|
27226
|
-
rowHeight:
|
|
27227
|
-
maxWidth:
|
|
27228
|
-
bordered:
|
|
27229
|
-
cells:
|
|
27230
|
-
position:
|
|
27231
|
-
|
|
27232
|
-
|
|
27233
|
-
|
|
27234
|
-
|
|
27224
|
+
validator: no({
|
|
27225
|
+
columns: K().min(1),
|
|
27226
|
+
rowHeight: K().min(1),
|
|
27227
|
+
maxWidth: K().nullish().transform((e) => e ?? void 0).catch(void 0),
|
|
27228
|
+
bordered: H().optional().catch(void 0),
|
|
27229
|
+
cells: G(no({
|
|
27230
|
+
position: $a([
|
|
27231
|
+
K(),
|
|
27232
|
+
K(),
|
|
27233
|
+
K(),
|
|
27234
|
+
K()
|
|
27235
27235
|
]).nullable().catch(null),
|
|
27236
|
-
scrollable:
|
|
27237
|
-
side:
|
|
27236
|
+
scrollable: H().optional().catch(void 0),
|
|
27237
|
+
side: Fo([
|
|
27238
27238
|
"top",
|
|
27239
27239
|
"bottom",
|
|
27240
27240
|
"left",
|
|
@@ -30231,7 +30231,7 @@ function PR(e) {
|
|
|
30231
30231
|
}
|
|
30232
30232
|
//#endregion
|
|
30233
30233
|
//#region src/components/editor/renderers/slides-layout/slides-layout.tsx
|
|
30234
|
-
var FR = J.lazy(() => import("./reveal-component-
|
|
30234
|
+
var FR = J.lazy(() => import("./reveal-component-tAB5K3QE.js")), IR = (e) => {
|
|
30235
30235
|
let t = (0, X.c)(33), { layout: n, setLayout: r, cells: i, mode: a } = e, o = ns(da), s = a === "read" || o, c = ns(He) > 1, [l, u] = (0, J.useState)(null), d;
|
|
30236
30236
|
t[0] !== i || t[1] !== n ? (d = MP(i, n), t[0] = i, t[1] = n, t[2] = d) : d = t[2];
|
|
30237
30237
|
let { slideCells: f, skippedIds: p, noOutputIds: m, slideTypes: h, startCellIndex: g } = d, _;
|
|
@@ -30287,34 +30287,34 @@ var FR = J.lazy(() => import("./reveal-component-CWk_paD2.js")), IR = (e) => {
|
|
|
30287
30287
|
className: "flex-1 pr-18 pb-2 flex flex-row gap-2 min-h-0",
|
|
30288
30288
|
children: [M, k]
|
|
30289
30289
|
}), t[30] = k, t[31] = M, t[32] = N) : N = t[32], N;
|
|
30290
|
-
}, LR =
|
|
30290
|
+
}, LR = Fo([
|
|
30291
30291
|
"slide",
|
|
30292
30292
|
"sub-slide",
|
|
30293
30293
|
"fragment",
|
|
30294
30294
|
"skip"
|
|
30295
|
-
]), RR =
|
|
30295
|
+
]), RR = no({
|
|
30296
30296
|
type: LR.optional().catch(void 0),
|
|
30297
30297
|
speakerNotes: U().optional().catch(void 0),
|
|
30298
|
-
showCode:
|
|
30299
|
-
}).catch({}), zR =
|
|
30298
|
+
showCode: H().optional().catch(void 0)
|
|
30299
|
+
}).catch({}), zR = Fo([
|
|
30300
30300
|
"none",
|
|
30301
30301
|
"fade",
|
|
30302
30302
|
"slide",
|
|
30303
30303
|
"convex",
|
|
30304
30304
|
"concave",
|
|
30305
30305
|
"zoom"
|
|
30306
|
-
]), BR =
|
|
30306
|
+
]), BR = Fo([
|
|
30307
30307
|
"top",
|
|
30308
30308
|
"center",
|
|
30309
30309
|
"bottom"
|
|
30310
|
-
]), VR =
|
|
30310
|
+
]), VR = no({
|
|
30311
30311
|
transition: zR.optional().catch(void 0),
|
|
30312
30312
|
verticalAlign: BR.optional().catch(void 0)
|
|
30313
30313
|
}).catch({}), HR = {
|
|
30314
30314
|
type: "slides",
|
|
30315
30315
|
name: "Slides",
|
|
30316
|
-
validator:
|
|
30317
|
-
cells:
|
|
30316
|
+
validator: no({
|
|
30317
|
+
cells: G(RR).optional().catch(void 0),
|
|
30318
30318
|
deck: VR.optional().catch(void 0)
|
|
30319
30319
|
}),
|
|
30320
30320
|
deserializeLayout: (e, t) => {
|
|
@@ -31222,7 +31222,7 @@ Tz.displayName = "VerticalCell";
|
|
|
31222
31222
|
var Ez = {
|
|
31223
31223
|
type: "vertical",
|
|
31224
31224
|
name: "Vertical",
|
|
31225
|
-
validator:
|
|
31225
|
+
validator: zo(),
|
|
31226
31226
|
Component: Cz,
|
|
31227
31227
|
deserializeLayout: (e) => e,
|
|
31228
31228
|
serializeLayout: (e) => e,
|