@marimo-team/islands 0.13.4-dev9 → 0.13.5-dev0
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-iF3I4Rvd.js → ConnectedDataExplorerComponent-BkYu7DB5.js} +4 -4
- package/dist/{VegaLite-DlgltXhn.js → VegaLite-Bo5laSaC.js} +3 -3
- package/dist/{_baseUniq-CD67Unod.js → _baseUniq-B9p7NEPc.js} +1 -1
- package/dist/{any-language-editor-BSYIqSFq.js → any-language-editor-7h4Y3ekh.js} +13 -13
- package/dist/{architectureDiagram-IEHRJDOE-_LWmGbWY.js → architectureDiagram-IEHRJDOE-D1vsB9eS.js} +5 -5
- package/dist/assets/{save-worker-CYdkP5Ic.js → save-worker-9JEjyZ7F.js} +83 -76
- package/dist/assets/{worker-Bigsodg4.js → worker-C9lFbiFX.js} +157 -150
- package/dist/assets/{worker-DEw2ZetQ.js → worker-CCjA_vqR.js} +101 -94
- package/dist/{blockDiagram-JOT3LUYC-BLOgOfVL.js → blockDiagram-JOT3LUYC--H6Hc91H.js} +4 -4
- package/dist/{c4Diagram-VJAJSXHY-DyjcbgdF.js → c4Diagram-VJAJSXHY-BSbRVwkx.js} +2 -2
- package/dist/{channel-CCyZwtB7.js → channel-CuWl4dEj.js} +1 -1
- package/dist/{chunk-4BMEZGHF-EyZiaIzC.js → chunk-4BMEZGHF-NcsvNyPh.js} +1 -1
- package/dist/{chunk-A2AXSNBT-C7mDpsCE.js → chunk-A2AXSNBT-D_tacoFL.js} +2 -2
- package/dist/{chunk-AEK57VVT-CdWzPT6R.js → chunk-AEK57VVT-BpCbHEnZ.js} +2 -2
- package/dist/{chunk-D6G4REZN-CuYJpgxK.js → chunk-D6G4REZN-Db0jHCFs.js} +1 -1
- package/dist/{chunk-RZ5BOZE2-BORzG2Il.js → chunk-RZ5BOZE2-C3r6WiIM.js} +1 -1
- package/dist/{chunk-XZIHB7SX-C5v_APGW.js → chunk-XZIHB7SX-DprdolX7.js} +1 -1
- package/dist/{classDiagram-GIVACNV2-Bk952L7V.js → classDiagram-GIVACNV2-CCcLk0sB.js} +2 -2
- package/dist/{classDiagram-v2-COTLJTTW-Bk952L7V.js → classDiagram-v2-COTLJTTW-CCcLk0sB.js} +2 -2
- package/dist/{clone-CcNPZV0o.js → clone-D8vYtD9P.js} +1 -1
- package/dist/{dagre-OKDRZEBW-DLQnlyHy.js → dagre-OKDRZEBW-eBunauMS.js} +6 -6
- package/dist/{data-editor-BD0NJfh2.js → data-editor-CgzL7OdM.js} +2026 -2022
- package/dist/{diagram-SSKATNLV-DZq85-8d.js → diagram-SSKATNLV-BSmn9h4o.js} +3 -3
- package/dist/{diagram-VNBRO52H-BbYPB8zn.js → diagram-VNBRO52H-BjnnbJt_.js} +3 -3
- package/dist/{erDiagram-Q7BY3M3F-BfOaAQGi.js → erDiagram-Q7BY3M3F-CQ7hxUsv.js} +3 -3
- package/dist/{flowDiagram-4HSFHLVR-CkLor1ZP.js → flowDiagram-4HSFHLVR-DytCU6lm.js} +3 -3
- package/dist/{ganttDiagram-APWFNJXF-CenSNv7J.js → ganttDiagram-APWFNJXF-C5fYyVxF.js} +4 -4
- package/dist/{gitGraphDiagram-7IBYFJ6S-DHmbXLVj.js → gitGraphDiagram-7IBYFJ6S-CgYZoaRD.js} +4 -4
- package/dist/{graph-D1kf3AKn.js → graph-sKcxdNv6.js} +3 -3
- package/dist/{index-Bx2QjnFU.js → index-BHDZG2gp.js} +1 -1
- package/dist/{index-Bku4KwYa.js → index-BSgvASB1.js} +1 -1
- package/dist/{index-7lMtw2hv.js → index-BUiLNOXD.js} +1 -1
- package/dist/{index-DdG5m41i.js → index-BgVK7Dzm.js} +3 -3
- package/dist/{index-BQ6KI66Y.js → index-Bsb2zuOb.js} +1 -1
- package/dist/{index-_1hyUH3v.js → index-CEdCzhYJ.js} +1 -1
- package/dist/{index-BxdmcSav.js → index-Cgj78hj4.js} +1 -1
- package/dist/{index-CBvgh-0Z.js → index-Ckf5_ttt.js} +1 -1
- package/dist/{index-BPccWEs_.js → index-Cno9zIU1.js} +1 -1
- package/dist/{index-ANhEjjiF.js → index-D1niMfYU.js} +1 -1
- package/dist/{index-Uvu5X0KF.js → index-D3XBSWTK.js} +1 -1
- package/dist/{index-YRr63np8.js → index-DPpF2yt5.js} +1 -1
- package/dist/{index-Dfoj_u5H.js → index-DZ4gjGUF.js} +1 -1
- package/dist/{index-D7iVcxT4.js → index-G8In6htP.js} +1 -1
- package/dist/{index-CEu1qyew.js → index-HM1FiKnd.js} +1 -1
- package/dist/{index-C6d_xezo.js → index-TI2HuK0u.js} +1 -1
- package/dist/{infoDiagram-PH2N3AL5-NfpyyRwF.js → infoDiagram-PH2N3AL5-BDsI6lEZ.js} +2 -2
- package/dist/{journeyDiagram-U35MCT3I-CJKIghVD.js → journeyDiagram-U35MCT3I-DpPUTIIv.js} +2 -2
- package/dist/{kanban-definition-NDS4AKOZ-Cd9DIv6f.js → kanban-definition-NDS4AKOZ-DL_J8GjP.js} +1 -1
- package/dist/{katex-BBtz5V9r.js → katex-9tX9hjoM.js} +9 -4
- package/dist/{layout-ejnBCchG.js → layout-DoJFP2le.js} +4 -4
- package/dist/{linear-C4WY8CAi.js → linear-DFeGLAoC.js} +1 -1
- package/dist/{main-DggjyDzA.js → main-DyHeTurG.js} +17715 -17678
- package/dist/main.js +1 -1
- package/dist/{mermaid-8eknRJ6K.js → mermaid-DTszTkIB.js} +29 -29
- package/dist/{mhchem-BrktSns0.js → mhchem-L5-rce7L.js} +1 -1
- package/dist/{min-CnrKLuNx.js → min-D52ROPCb.js} +2 -2
- package/dist/{mindmap-definition-ALO5MXBD-Cge8F4my.js → mindmap-definition-ALO5MXBD-pW1g2Nlh.js} +2 -2
- package/dist/{pieDiagram-IB7DONF6-B5kjY9mP.js → pieDiagram-IB7DONF6-BfW7YtZY.js} +3 -3
- package/dist/{quadrantDiagram-7GDLP6J5-Zv3XhQXg.js → quadrantDiagram-7GDLP6J5-D7Jl4H97.js} +2 -2
- package/dist/{radar-MK3ICKWK-D6vpJHP-.js → radar-MK3ICKWK-B1KLLUTY.js} +5 -5
- package/dist/{react-plotly-DSRzxNI0.js → react-plotly-Bnj_l7AZ.js} +1 -1
- package/dist/{requirementDiagram-KVF5MWMF-CAdLeiBM.js → requirementDiagram-KVF5MWMF-BUFZjE8g.js} +2 -2
- package/dist/{sankeyDiagram-QLVOVGJD-62OxPrwC.js → sankeyDiagram-QLVOVGJD-DPzbw-be.js} +1 -1
- package/dist/{sequenceDiagram-X6HHIX6F-BPWsSyC_.js → sequenceDiagram-X6HHIX6F-DO-nenj2.js} +3 -3
- package/dist/{slides-component-8bGn96qA.js → slides-component-ktWq91_a.js} +1 -1
- package/dist/{stateDiagram-DGXRK772-CXVKVIIF.js → stateDiagram-DGXRK772-D9wrVM3b.js} +4 -4
- package/dist/{stateDiagram-v2-YXO3MK2T-CLnqNOAb.js → stateDiagram-v2-YXO3MK2T-CfBjkbKP.js} +2 -2
- package/dist/{time-C6wXWz05.js → time-Cycf9qko.js} +2 -2
- package/dist/{timeline-definition-BDJGKUSR-DMV-g6yY.js → timeline-definition-BDJGKUSR-C3srCX8s.js} +1 -1
- package/dist/{vega-component-DfFIiHv3.js → vega-component-C-CQtied.js} +2 -2
- package/dist/{xychartDiagram-VJFVF3MP-DOrh7Zn5.js → xychartDiagram-VJFVF3MP-dFmxJES_.js} +2 -2
- package/package.json +23 -23
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { bU as dr, S as fr, bV as Zi, J as S, bW as Qi, bX as ea, bY as ta, bZ as na, a1 as ra, b_ as ia, b$ as aa, c0 as oa, W as Oe, c1 as cn, c2 as bt, c3 as gr, c4 as It, c5 as Je, c6 as hr, c7 as wt, c8 as Ie, c9 as sa, ca as mr, cb as ca, cc as ua, D as Gn, K as la, M as pr, cd as da, ce as fa, cf as ga, X as ha, H as ma, U as pa, Z as ya, a7 as Ea, cg as Sa, a2 as Na, ch as _a, R as Ca } from "./main-
|
|
2
|
-
import { i as Ta, c as Aa, N as Oa, a as Hn } from "./VegaLite-
|
|
1
|
+
import { bU as dr, S as fr, bV as Zi, J as S, bW as Qi, bX as ea, bY as ta, bZ as na, a1 as ra, b_ as ia, b$ as aa, c0 as oa, W as Oe, c1 as cn, c2 as bt, c3 as gr, c4 as It, c5 as Je, c6 as hr, c7 as wt, c8 as Ie, c9 as sa, ca as mr, cb as ca, cc as ua, D as Gn, K as la, M as pr, cd as da, ce as fa, cf as ga, X as ha, H as ma, U as pa, Z as ya, a7 as Ea, cg as Sa, a2 as Na, ch as _a, R as Ca } from "./main-DyHeTurG.js";
|
|
2
|
+
import { i as Ta, c as Aa, N as Oa, a as Hn } from "./VegaLite-Bo5laSaC.js";
|
|
3
3
|
/**
|
|
4
|
-
* @license lucide-react v0.
|
|
4
|
+
* @license lucide-react v0.503.0 - ISC
|
|
5
5
|
*
|
|
6
6
|
* This source code is licensed under the ISC license.
|
|
7
7
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -12,7 +12,7 @@ const xa = [
|
|
|
12
12
|
["rect", { x: "7", y: "8", width: "4", height: "9", rx: "1", key: "sr5ea" }]
|
|
13
13
|
], ba = dr("chart-column-big", xa);
|
|
14
14
|
/**
|
|
15
|
-
* @license lucide-react v0.
|
|
15
|
+
* @license lucide-react v0.503.0 - ISC
|
|
16
16
|
*
|
|
17
17
|
* This source code is licensed under the ISC license.
|
|
18
18
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { b5 as bl, S as VC, co as G, cp as T1, cq as XC, cr as YC, cs as dh, ct as he, cu as Yt, cv as K, cw as Ln, cx as J, cy as P, cz as B, cA as Xl, cB as In, cC as zr, cD as KC, cE as JC, cF as ge, cG as N1, cH as Ke, cI as Ht, cJ as tu, cK as _n, cL as Pi, cM as P1, cN as QC, cO as ZC, cP as e$, cQ as t$, cR as ke, cS as L1, cT as I1, a9 as n$, cU as Er, cV as i$, cW as hh, cX as nu, cY as B1, cZ as z1, c_ as U1, c$ as r$, d0 as s$, bc as G2, b6 as FT, bb as kT, d1 as DT, aa as _T, aq as OT, ar as RT, d2 as MT, at as TT, au as NT, av as PT, d3 as Li, d4 as Se, d5 as Y, d6 as X, d7 as a$, d8 as Lr, d9 as Yl, da as j1, db as Yf, dc as q1, dd as W1, de as W, ai as o$, df as Qs, dg as fo, dh as u$, di as l$, dj as c$, dk as f$, dl as d$, dm as h$, dn as p$, dp as g$, dq as m$, dr as y$, ds as v$, dt as b$, du as x$, dv as E$, dw as A$, dx as w$, dy as S$, dz as C$, dA as $$, dB as F$, dC as k$, dD as D$, dE as G1, dF as ys, dG as _$, dH as O$, dI as iu, dJ as vs, dK as LT, dL as IT, dM as BT, dN as zT, dO as UT, dP as jT, dQ as qT, dR as WT, dS as GT, dT as HT, dU as VT, dV as XT, dW as YT, dX as R$, dY as KT, dZ as JT, d_ as QT, Y as ZT, d$ as eN, e0 as tN, e1 as nN, e2 as iN, e3 as rN, e4 as sN, e5 as aN, e6 as ph, R as Zs, e7 as H2 } from "./main-
|
|
2
|
-
import { m as _0, a as ea, d as oN, r as uN, l as O0, i as lN, h as cN, n as fN, c as dN, u as hN, b as pN, t as gN, e as mN } from "./time-
|
|
3
|
-
import { n as yN, b as vN, i as Kl, d as bN, e as xN, f as EN, o as AN, g as gh, h as V2, j as ru, t as H1, a as V1, k as Gr, m as la, l as wN, p as SN, q as CN } from "./linear-
|
|
1
|
+
import { b5 as bl, S as VC, co as G, cp as T1, cq as XC, cr as YC, cs as dh, ct as he, cu as Yt, cv as K, cw as Ln, cx as J, cy as P, cz as B, cA as Xl, cB as In, cC as zr, cD as KC, cE as JC, cF as ge, cG as N1, cH as Ke, cI as Ht, cJ as tu, cK as _n, cL as Pi, cM as P1, cN as QC, cO as ZC, cP as e$, cQ as t$, cR as ke, cS as L1, cT as I1, a9 as n$, cU as Er, cV as i$, cW as hh, cX as nu, cY as B1, cZ as z1, c_ as U1, c$ as r$, d0 as s$, bc as G2, b6 as FT, bb as kT, d1 as DT, aa as _T, aq as OT, ar as RT, d2 as MT, at as TT, au as NT, av as PT, d3 as Li, d4 as Se, d5 as Y, d6 as X, d7 as a$, d8 as Lr, d9 as Yl, da as j1, db as Yf, dc as q1, dd as W1, de as W, ai as o$, df as Qs, dg as fo, dh as u$, di as l$, dj as c$, dk as f$, dl as d$, dm as h$, dn as p$, dp as g$, dq as m$, dr as y$, ds as v$, dt as b$, du as x$, dv as E$, dw as A$, dx as w$, dy as S$, dz as C$, dA as $$, dB as F$, dC as k$, dD as D$, dE as G1, dF as ys, dG as _$, dH as O$, dI as iu, dJ as vs, dK as LT, dL as IT, dM as BT, dN as zT, dO as UT, dP as jT, dQ as qT, dR as WT, dS as GT, dT as HT, dU as VT, dV as XT, dW as YT, dX as R$, dY as KT, dZ as JT, d_ as QT, Y as ZT, d$ as eN, e0 as tN, e1 as nN, e2 as iN, e3 as rN, e4 as sN, e5 as aN, e6 as ph, R as Zs, e7 as H2 } from "./main-DyHeTurG.js";
|
|
2
|
+
import { m as _0, a as ea, d as oN, r as uN, l as O0, i as lN, h as cN, n as fN, c as dN, u as hN, b as pN, t as gN, e as mN } from "./time-Cycf9qko.js";
|
|
3
|
+
import { n as yN, b as vN, i as Kl, d as bN, e as xN, f as EN, o as AN, g as gh, h as V2, j as ru, t as H1, a as V1, k as Gr, m as la, l as wN, p as SN, q as CN } from "./linear-DFeGLAoC.js";
|
|
4
4
|
import { r as vn } from "./range-DdOGybNB.js";
|
|
5
5
|
import { w as M$, n as $N, P as T$, a as kt, $ as FN, a0 as kN, l as N$, b as DN, t as _N, p as ON, R as P$, r as RN, o as MN, q as TN, a1 as X2, a2 as Y2, C as NN, v as X1, a3 as R0, u as On, a4 as PN, a5 as LN, y as IN, z as BN, a6 as zN, a7 as UN, A as jN, G as qN, F as WN, a8 as Y1, I as GN, J as HN, K as VN, L as XN, N as YN, M as KN, O as JN, S as QN, U as ZN, Q as e6, X as t6, W as n6, V as i6, Y as r6, Z as s6, _ as a6, k as o6, a9 as Kf, T as u6, H as l6, D as c6, E as f6 } from "./timer-BYwnU4DF.js";
|
|
6
6
|
import { i as Ra, a as bs } from "./init-DxzjmxYy.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { bp as d, B as T, ay as I, bq as L, br as V, bs as k, bt as nn, bu as rn, bv as P, bw as $, bx as en, by as x, bz as O, bi as _, bA as p, bB as B, bC as tn, bD as an, bE as sn, bF as fn, bG as G, bH as on, aD as h, bk as un, bI as U, bJ as D, bK as N, bL as cn, bM as bn, bh as gn, bN as ln, aG as v, bf as yn, aA as An, bO as Tn, aC as hn, bP as pn, bQ as j, bR as K, bS as dn, bT as jn } from "./main-
|
|
1
|
+
import { bp as d, B as T, ay as I, bq as L, br as V, bs as k, bt as nn, bu as rn, bv as P, bw as $, bx as en, by as x, bz as O, bi as _, bA as p, bB as B, bC as tn, bD as an, bE as sn, bF as fn, bG as G, bH as on, aD as h, bk as un, bI as U, bJ as D, bK as N, bL as cn, bM as bn, bh as gn, bN as ln, aG as v, bf as yn, aA as An, bO as Tn, aC as hn, bP as pn, bQ as j, bR as K, bS as dn, bT as jn } from "./main-DyHeTurG.js";
|
|
2
2
|
function wn() {
|
|
3
3
|
}
|
|
4
4
|
function q(n, r) {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { L as G, a as y, b as T, p as O$, E as X, s as c, C as $$, aN as o, t as w, aO as d, f as C, e as D, r as J$, u as B$, i as QO, c as i$, k as oO, q as hO, aP as H, aQ as t$, g as L$, aR as K$, l as I$, j as pO, aS as A$, aT as M$, m as Oi, aU as $i, aV as Q, aW as ii, aX as rO, aY as ti, aZ as wi, h as ei, a_ as Qi, a$ as ai, b0 as oi, b1 as ri, b2 as Xi, W as Si, a1 as si, J as B, Z as ni, b3 as Pi, b4 as li } from "./main-
|
|
2
|
-
import { less as Gi } from "./index-
|
|
3
|
-
import { sass as qi } from "./index-
|
|
4
|
-
import { json as yi } from "./index-
|
|
5
|
-
import { xml as Ti } from "./index-
|
|
6
|
-
import { java as ci } from "./index-
|
|
7
|
-
import { rust as fi } from "./index-
|
|
8
|
-
import { cpp as xi } from "./index-
|
|
9
|
-
import { php as hi } from "./index-
|
|
10
|
-
import { liquid as pi } from "./index-
|
|
11
|
-
import { wast as Yi } from "./index-
|
|
12
|
-
import { vue as ui } from "./index-
|
|
13
|
-
import { angular as bi } from "./index-
|
|
1
|
+
import { L as G, a as y, b as T, p as O$, E as X, s as c, C as $$, aN as o, t as w, aO as d, f as C, e as D, r as J$, u as B$, i as QO, c as i$, k as oO, q as hO, aP as H, aQ as t$, g as L$, aR as K$, l as I$, j as pO, aS as A$, aT as M$, m as Oi, aU as $i, aV as Q, aW as ii, aX as rO, aY as ti, aZ as wi, h as ei, a_ as Qi, a$ as ai, b0 as oi, b1 as ri, b2 as Xi, W as Si, a1 as si, J as B, Z as ni, b3 as Pi, b4 as li } from "./main-DyHeTurG.js";
|
|
2
|
+
import { less as Gi } from "./index-BUiLNOXD.js";
|
|
3
|
+
import { sass as qi } from "./index-Bsb2zuOb.js";
|
|
4
|
+
import { json as yi } from "./index-G8In6htP.js";
|
|
5
|
+
import { xml as Ti } from "./index-BSgvASB1.js";
|
|
6
|
+
import { java as ci } from "./index-D3XBSWTK.js";
|
|
7
|
+
import { rust as fi } from "./index-DPpF2yt5.js";
|
|
8
|
+
import { cpp as xi } from "./index-DZ4gjGUF.js";
|
|
9
|
+
import { php as hi } from "./index-Ckf5_ttt.js";
|
|
10
|
+
import { liquid as pi } from "./index-CEdCzhYJ.js";
|
|
11
|
+
import { wast as Yi } from "./index-Cgj78hj4.js";
|
|
12
|
+
import { vue as ui } from "./index-HM1FiKnd.js";
|
|
13
|
+
import { angular as bi } from "./index-TI2HuK0u.js";
|
|
14
14
|
import { apl as Ri } from "./apl-B2DGVGxc.js";
|
|
15
15
|
import { asciiArmor as mi } from "./asciiarmor-2LVJmxlE.js";
|
|
16
16
|
import { asterisk as ki } from "./asterisk-DS281yxp.js";
|
package/dist/{architectureDiagram-IEHRJDOE-_LWmGbWY.js → architectureDiagram-IEHRJDOE-D1vsB9eS.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { _ as nt, g as qe, s as Je, a as Qe, b as Ke, t as je, q as _e, K as tr, T as er, z as rr, l as Pe, a4 as Le, c as ge, ak as me, d as ir, H as ar, al as nr, am as or } from "./mermaid-
|
|
2
|
-
import { p as sr } from "./chunk-4BMEZGHF-
|
|
3
|
-
import { I as hr } from "./chunk-XZIHB7SX-
|
|
4
|
-
import { p as lr } from "./radar-MK3ICKWK-
|
|
1
|
+
import { _ as nt, g as qe, s as Je, a as Qe, b as Ke, t as je, q as _e, K as tr, T as er, z as rr, l as Pe, a4 as Le, c as ge, ak as me, d as ir, H as ar, al as nr, am as or } from "./mermaid-DTszTkIB.js";
|
|
2
|
+
import { p as sr } from "./chunk-4BMEZGHF-NcsvNyPh.js";
|
|
3
|
+
import { I as hr } from "./chunk-XZIHB7SX-DprdolX7.js";
|
|
4
|
+
import { p as lr } from "./radar-MK3ICKWK-B1KLLUTY.js";
|
|
5
5
|
import { c as Ge } from "./cytoscape.esm-DAyNQ0qu.js";
|
|
6
|
-
import { S as fr } from "./main-
|
|
6
|
+
import { S as fr } from "./main-DyHeTurG.js";
|
|
7
7
|
var le = { exports: {} }, fe = { exports: {} }, ce = { exports: {} }, cr = ce.exports, xe;
|
|
8
8
|
function ur() {
|
|
9
9
|
return xe || (xe = 1, function(C, U) {
|
|
@@ -488,7 +488,7 @@ var Qn = ur((rs, pt) => {
|
|
|
488
488
|
return this._refinement((n, s) => e(n) ? !0 : (s.addIssue(typeof r == "function" ? r(n, s) : r), !1));
|
|
489
489
|
}
|
|
490
490
|
_refinement(e) {
|
|
491
|
-
return new
|
|
491
|
+
return new $({
|
|
492
492
|
schema: this,
|
|
493
493
|
typeName: m.ZodEffects,
|
|
494
494
|
effect: { type: "refinement", refinement: e }
|
|
@@ -526,7 +526,7 @@ var Qn = ur((rs, pt) => {
|
|
|
526
526
|
return Re.create(this, e, this._def);
|
|
527
527
|
}
|
|
528
528
|
transform(e) {
|
|
529
|
-
return new
|
|
529
|
+
return new $({
|
|
530
530
|
...v(this._def),
|
|
531
531
|
schema: this,
|
|
532
532
|
typeName: m.ZodEffects,
|
|
@@ -566,10 +566,10 @@ var Qn = ur((rs, pt) => {
|
|
|
566
566
|
});
|
|
567
567
|
}
|
|
568
568
|
pipe(e) {
|
|
569
|
-
return
|
|
569
|
+
return Fe.create(this, e);
|
|
570
570
|
}
|
|
571
571
|
readonly() {
|
|
572
|
-
return
|
|
572
|
+
return $e.create(this);
|
|
573
573
|
}
|
|
574
574
|
isOptional() {
|
|
575
575
|
return this.safeParse(void 0).success;
|
|
@@ -1000,7 +1000,7 @@ var Qn = ur((rs, pt) => {
|
|
|
1000
1000
|
const r = (t.toString().split(".")[1] || "").length, n = (e.toString().split(".")[1] || "").length, s = r > n ? r : n, a = parseInt(t.toFixed(s).replace(".", "")), i = parseInt(e.toFixed(s).replace(".", ""));
|
|
1001
1001
|
return a % i / Math.pow(10, s);
|
|
1002
1002
|
}
|
|
1003
|
-
class
|
|
1003
|
+
class W extends _ {
|
|
1004
1004
|
constructor() {
|
|
1005
1005
|
super(...arguments), this.min = this.gte, this.max = this.lte, this.step = this.multipleOf;
|
|
1006
1006
|
}
|
|
@@ -1058,7 +1058,7 @@ var Qn = ur((rs, pt) => {
|
|
|
1058
1058
|
return this.setLimit("max", e, !1, h.toString(r));
|
|
1059
1059
|
}
|
|
1060
1060
|
setLimit(e, r, n, s) {
|
|
1061
|
-
return new
|
|
1061
|
+
return new W({
|
|
1062
1062
|
...this._def,
|
|
1063
1063
|
checks: [
|
|
1064
1064
|
...this._def.checks,
|
|
@@ -1072,7 +1072,7 @@ var Qn = ur((rs, pt) => {
|
|
|
1072
1072
|
});
|
|
1073
1073
|
}
|
|
1074
1074
|
_addCheck(e) {
|
|
1075
|
-
return new
|
|
1075
|
+
return new W({
|
|
1076
1076
|
...this._def,
|
|
1077
1077
|
checks: [...this._def.checks, e]
|
|
1078
1078
|
});
|
|
@@ -1166,7 +1166,7 @@ var Qn = ur((rs, pt) => {
|
|
|
1166
1166
|
return Number.isFinite(r) && Number.isFinite(e);
|
|
1167
1167
|
}
|
|
1168
1168
|
}
|
|
1169
|
-
|
|
1169
|
+
W.create = (t) => new W({
|
|
1170
1170
|
checks: [],
|
|
1171
1171
|
typeName: m.ZodNumber,
|
|
1172
1172
|
coerce: (t == null ? void 0 : t.coerce) || !1,
|
|
@@ -1493,7 +1493,7 @@ var Qn = ur((rs, pt) => {
|
|
|
1493
1493
|
typeName: m.ZodNever,
|
|
1494
1494
|
...v(t)
|
|
1495
1495
|
});
|
|
1496
|
-
class
|
|
1496
|
+
class He extends _ {
|
|
1497
1497
|
_parse(e) {
|
|
1498
1498
|
if (this._getType(e) !== p.undefined) {
|
|
1499
1499
|
const n = this._getOrReturnCtx(e);
|
|
@@ -1506,7 +1506,7 @@ var Qn = ur((rs, pt) => {
|
|
|
1506
1506
|
return A(e.data);
|
|
1507
1507
|
}
|
|
1508
1508
|
}
|
|
1509
|
-
|
|
1509
|
+
He.create = (t) => new He({
|
|
1510
1510
|
typeName: m.ZodVoid,
|
|
1511
1511
|
...v(t)
|
|
1512
1512
|
});
|
|
@@ -1959,7 +1959,7 @@ var Qn = ur((rs, pt) => {
|
|
|
1959
1959
|
typeName: m.ZodUnion,
|
|
1960
1960
|
...v(e)
|
|
1961
1961
|
});
|
|
1962
|
-
const z = (t) => t instanceof Ce ? z(t.schema) : t instanceof
|
|
1962
|
+
const z = (t) => t instanceof Ce ? z(t.schema) : t instanceof $ ? z(t.innerType()) : t instanceof Ie ? [t.value] : t instanceof Y ? t.options : t instanceof Ze ? b.objectValues(t.enum) : t instanceof Pe ? z(t._def.innerType) : t instanceof Ee ? [void 0] : t instanceof Oe ? [null] : t instanceof M ? [void 0, ...z(t.unwrap())] : t instanceof K ? [null, ...z(t.unwrap())] : t instanceof ht || t instanceof $e ? z(t.unwrap()) : t instanceof je ? z(t._def.innerType) : [];
|
|
1963
1963
|
class Ke extends _ {
|
|
1964
1964
|
_parse(e) {
|
|
1965
1965
|
const { ctx: r } = this._processInputParams(e);
|
|
@@ -2177,7 +2177,7 @@ var Qn = ur((rs, pt) => {
|
|
|
2177
2177
|
});
|
|
2178
2178
|
}
|
|
2179
2179
|
}
|
|
2180
|
-
class
|
|
2180
|
+
class We extends _ {
|
|
2181
2181
|
get keySchema() {
|
|
2182
2182
|
return this._def.keyType;
|
|
2183
2183
|
}
|
|
@@ -2219,7 +2219,7 @@ var Qn = ur((rs, pt) => {
|
|
|
2219
2219
|
}
|
|
2220
2220
|
}
|
|
2221
2221
|
}
|
|
2222
|
-
|
|
2222
|
+
We.create = (t, e, r) => new We({
|
|
2223
2223
|
valueType: e,
|
|
2224
2224
|
keyType: t,
|
|
2225
2225
|
typeName: m.ZodMap,
|
|
@@ -2549,7 +2549,7 @@ var Qn = ur((rs, pt) => {
|
|
|
2549
2549
|
typeName: m.ZodPromise,
|
|
2550
2550
|
...v(e)
|
|
2551
2551
|
});
|
|
2552
|
-
class
|
|
2552
|
+
class $ extends _ {
|
|
2553
2553
|
innerType() {
|
|
2554
2554
|
return this._def.schema;
|
|
2555
2555
|
}
|
|
@@ -2626,13 +2626,13 @@ var Qn = ur((rs, pt) => {
|
|
|
2626
2626
|
b.assertNever(s);
|
|
2627
2627
|
}
|
|
2628
2628
|
}
|
|
2629
|
-
|
|
2629
|
+
$.create = (t, e, r) => new $({
|
|
2630
2630
|
schema: t,
|
|
2631
2631
|
typeName: m.ZodEffects,
|
|
2632
2632
|
effect: e,
|
|
2633
2633
|
...v(r)
|
|
2634
2634
|
});
|
|
2635
|
-
|
|
2635
|
+
$.createWithPreprocess = (t, e, r) => new $({
|
|
2636
2636
|
schema: e,
|
|
2637
2637
|
effect: { type: "preprocess", transform: t },
|
|
2638
2638
|
typeName: m.ZodEffects,
|
|
@@ -2758,7 +2758,7 @@ var Qn = ur((rs, pt) => {
|
|
|
2758
2758
|
return this._def.type;
|
|
2759
2759
|
}
|
|
2760
2760
|
}
|
|
2761
|
-
class
|
|
2761
|
+
class Fe extends _ {
|
|
2762
2762
|
_parse(e) {
|
|
2763
2763
|
const { status: r, ctx: n } = this._processInputParams(e);
|
|
2764
2764
|
if (n.common.async)
|
|
@@ -2791,14 +2791,14 @@ var Qn = ur((rs, pt) => {
|
|
|
2791
2791
|
}
|
|
2792
2792
|
}
|
|
2793
2793
|
static create(e, r) {
|
|
2794
|
-
return new
|
|
2794
|
+
return new Fe({
|
|
2795
2795
|
in: e,
|
|
2796
2796
|
out: r,
|
|
2797
2797
|
typeName: m.ZodPipeline
|
|
2798
2798
|
});
|
|
2799
2799
|
}
|
|
2800
2800
|
}
|
|
2801
|
-
class
|
|
2801
|
+
class $e extends _ {
|
|
2802
2802
|
_parse(e) {
|
|
2803
2803
|
const r = this._def.innerType._parse(e), n = (s) => (se(s) && (s.value = Object.freeze(s.value)), s);
|
|
2804
2804
|
return Te(r) ? r.then((s) => n(s)) : n(r);
|
|
@@ -2807,7 +2807,7 @@ var Qn = ur((rs, pt) => {
|
|
|
2807
2807
|
return this._def.innerType;
|
|
2808
2808
|
}
|
|
2809
2809
|
}
|
|
2810
|
-
|
|
2810
|
+
$e.create = (t, e) => new $e({
|
|
2811
2811
|
innerType: t,
|
|
2812
2812
|
typeName: m.ZodReadonly,
|
|
2813
2813
|
...v(e)
|
|
@@ -2834,18 +2834,18 @@ var Qn = ur((rs, pt) => {
|
|
|
2834
2834
|
}
|
|
2835
2835
|
}) : ye.create();
|
|
2836
2836
|
}
|
|
2837
|
-
const
|
|
2837
|
+
const $r = {
|
|
2838
2838
|
object: E.lazycreate
|
|
2839
2839
|
};
|
|
2840
2840
|
var m;
|
|
2841
2841
|
(function(t) {
|
|
2842
2842
|
t.ZodString = "ZodString", t.ZodNumber = "ZodNumber", t.ZodNaN = "ZodNaN", t.ZodBigInt = "ZodBigInt", t.ZodBoolean = "ZodBoolean", t.ZodDate = "ZodDate", t.ZodSymbol = "ZodSymbol", t.ZodUndefined = "ZodUndefined", t.ZodNull = "ZodNull", t.ZodAny = "ZodAny", t.ZodUnknown = "ZodUnknown", t.ZodNever = "ZodNever", t.ZodVoid = "ZodVoid", t.ZodArray = "ZodArray", t.ZodObject = "ZodObject", t.ZodUnion = "ZodUnion", t.ZodDiscriminatedUnion = "ZodDiscriminatedUnion", t.ZodIntersection = "ZodIntersection", t.ZodTuple = "ZodTuple", t.ZodRecord = "ZodRecord", t.ZodMap = "ZodMap", t.ZodSet = "ZodSet", t.ZodFunction = "ZodFunction", t.ZodLazy = "ZodLazy", t.ZodLiteral = "ZodLiteral", t.ZodEnum = "ZodEnum", t.ZodEffects = "ZodEffects", t.ZodNativeEnum = "ZodNativeEnum", t.ZodOptional = "ZodOptional", t.ZodNullable = "ZodNullable", t.ZodDefault = "ZodDefault", t.ZodCatch = "ZodCatch", t.ZodPromise = "ZodPromise", t.ZodBranded = "ZodBranded", t.ZodPipeline = "ZodPipeline", t.ZodReadonly = "ZodReadonly";
|
|
2843
2843
|
})(m || (m = {}));
|
|
2844
|
-
const
|
|
2844
|
+
const Fr = (t, e = {
|
|
2845
2845
|
message: `Input not instance of ${t.name}`
|
|
2846
|
-
}) => Zt((r) => r instanceof t, e), Pt = P.create, jt =
|
|
2846
|
+
}) => Zt((r) => r instanceof t, e), Pt = P.create, jt = W.create, Mr = Je.create, Lr = J.create, $t = Se.create, Dr = ae.create, Vr = Be.create, Ur = Ee.create, zr = Oe.create, qr = ye.create, Br = ne.create, Hr = B.create, Wr = He.create, Jr = j.create, Yr = E.create, Kr = E.strictCreate, Gr = Ne.create, Xr = Ke.create, Qr = Re.create, en = D.create, tn = Ae.create, rn = We.create, nn = ie.create, sn = he.create, an = Ce.create, on = Ie.create, dn = Y.create, cn = Ze.create, un = ge.create, kt = $.create, ln = M.create, fn = K.create, pn = $.createWithPreprocess, hn = Fe.create, mn = () => Pt().optional(), yn = () => jt().optional(), gn = () => $t().optional(), vn = {
|
|
2847
2847
|
string: (t) => P.create({ ...t, coerce: !0 }),
|
|
2848
|
-
number: (t) =>
|
|
2848
|
+
number: (t) => W.create({ ...t, coerce: !0 }),
|
|
2849
2849
|
boolean: (t) => Se.create({
|
|
2850
2850
|
...t,
|
|
2851
2851
|
coerce: !0
|
|
@@ -2880,7 +2880,7 @@ var Qn = ur((rs, pt) => {
|
|
|
2880
2880
|
ZodType: _,
|
|
2881
2881
|
datetimeRegex: Ct,
|
|
2882
2882
|
ZodString: P,
|
|
2883
|
-
ZodNumber:
|
|
2883
|
+
ZodNumber: W,
|
|
2884
2884
|
ZodBigInt: J,
|
|
2885
2885
|
ZodBoolean: Se,
|
|
2886
2886
|
ZodDate: ae,
|
|
@@ -2890,7 +2890,7 @@ var Qn = ur((rs, pt) => {
|
|
|
2890
2890
|
ZodAny: ye,
|
|
2891
2891
|
ZodUnknown: ne,
|
|
2892
2892
|
ZodNever: B,
|
|
2893
|
-
ZodVoid:
|
|
2893
|
+
ZodVoid: He,
|
|
2894
2894
|
ZodArray: j,
|
|
2895
2895
|
ZodObject: E,
|
|
2896
2896
|
ZodUnion: Ne,
|
|
@@ -2898,7 +2898,7 @@ var Qn = ur((rs, pt) => {
|
|
|
2898
2898
|
ZodIntersection: Re,
|
|
2899
2899
|
ZodTuple: D,
|
|
2900
2900
|
ZodRecord: Ae,
|
|
2901
|
-
ZodMap:
|
|
2901
|
+
ZodMap: We,
|
|
2902
2902
|
ZodSet: ie,
|
|
2903
2903
|
ZodFunction: he,
|
|
2904
2904
|
ZodLazy: Ce,
|
|
@@ -2906,8 +2906,8 @@ var Qn = ur((rs, pt) => {
|
|
|
2906
2906
|
ZodEnum: Y,
|
|
2907
2907
|
ZodNativeEnum: Ze,
|
|
2908
2908
|
ZodPromise: ge,
|
|
2909
|
-
ZodEffects:
|
|
2910
|
-
ZodTransformer:
|
|
2909
|
+
ZodEffects: $,
|
|
2910
|
+
ZodTransformer: $,
|
|
2911
2911
|
ZodOptional: M,
|
|
2912
2912
|
ZodNullable: K,
|
|
2913
2913
|
ZodDefault: Pe,
|
|
@@ -2915,12 +2915,12 @@ var Qn = ur((rs, pt) => {
|
|
|
2915
2915
|
ZodNaN: Je,
|
|
2916
2916
|
BRAND: jr,
|
|
2917
2917
|
ZodBranded: ht,
|
|
2918
|
-
ZodPipeline:
|
|
2919
|
-
ZodReadonly:
|
|
2918
|
+
ZodPipeline: Fe,
|
|
2919
|
+
ZodReadonly: $e,
|
|
2920
2920
|
custom: Zt,
|
|
2921
2921
|
Schema: _,
|
|
2922
2922
|
ZodSchema: _,
|
|
2923
|
-
late:
|
|
2923
|
+
late: $r,
|
|
2924
2924
|
get ZodFirstPartyTypeKind() {
|
|
2925
2925
|
return m;
|
|
2926
2926
|
},
|
|
@@ -2928,20 +2928,20 @@ var Qn = ur((rs, pt) => {
|
|
|
2928
2928
|
any: qr,
|
|
2929
2929
|
array: Jr,
|
|
2930
2930
|
bigint: Lr,
|
|
2931
|
-
boolean:
|
|
2931
|
+
boolean: $t,
|
|
2932
2932
|
date: Dr,
|
|
2933
2933
|
discriminatedUnion: Xr,
|
|
2934
2934
|
effect: kt,
|
|
2935
2935
|
enum: dn,
|
|
2936
2936
|
function: sn,
|
|
2937
|
-
instanceof:
|
|
2937
|
+
instanceof: Fr,
|
|
2938
2938
|
intersection: Qr,
|
|
2939
2939
|
lazy: an,
|
|
2940
2940
|
literal: on,
|
|
2941
2941
|
map: rn,
|
|
2942
2942
|
nan: Mr,
|
|
2943
2943
|
nativeEnum: cn,
|
|
2944
|
-
never:
|
|
2944
|
+
never: Hr,
|
|
2945
2945
|
null: zr,
|
|
2946
2946
|
nullable: fn,
|
|
2947
2947
|
number: jt,
|
|
@@ -2963,7 +2963,7 @@ var Qn = ur((rs, pt) => {
|
|
|
2963
2963
|
undefined: Ur,
|
|
2964
2964
|
union: Gr,
|
|
2965
2965
|
unknown: Br,
|
|
2966
|
-
void:
|
|
2966
|
+
void: Wr,
|
|
2967
2967
|
NEVER: _n,
|
|
2968
2968
|
ZodIssueCode: u,
|
|
2969
2969
|
quotelessJson: lr,
|
|
@@ -3048,14 +3048,14 @@ var Qn = ur((rs, pt) => {
|
|
|
3048
3048
|
var oe;
|
|
3049
3049
|
if (!n.send)
|
|
3050
3050
|
throw Le(["send"], "make requests");
|
|
3051
|
-
const
|
|
3051
|
+
const F = c(), Q = {
|
|
3052
3052
|
type: "request",
|
|
3053
|
-
id:
|
|
3053
|
+
id: F,
|
|
3054
3054
|
method: g,
|
|
3055
3055
|
params: O
|
|
3056
3056
|
};
|
|
3057
|
-
l.set(
|
|
3058
|
-
w.delete(
|
|
3057
|
+
l.set(F, { resolve: S, reject: N }), o !== 1 / 0 && w.set(F, setTimeout(() => {
|
|
3058
|
+
w.delete(F), N(new Error("RPC request timed out."));
|
|
3059
3059
|
}, o)), (oe = e.onSend) == null || oe.call(e, Q), n.send(Q);
|
|
3060
3060
|
});
|
|
3061
3061
|
}
|
|
@@ -3102,14 +3102,14 @@ var Qn = ur((rs, pt) => {
|
|
|
3102
3102
|
if (g.type === "request") {
|
|
3103
3103
|
if (!n.send || !a)
|
|
3104
3104
|
throw Le(["send", "requestHandler"], "handle requests");
|
|
3105
|
-
const { id: S, method: N, params:
|
|
3105
|
+
const { id: S, method: N, params: F } = g;
|
|
3106
3106
|
let Q;
|
|
3107
3107
|
try {
|
|
3108
3108
|
Q = {
|
|
3109
3109
|
type: "response",
|
|
3110
3110
|
id: S,
|
|
3111
3111
|
success: !0,
|
|
3112
|
-
payload: await a(N,
|
|
3112
|
+
payload: await a(N, F)
|
|
3113
3113
|
};
|
|
3114
3114
|
} catch (oe) {
|
|
3115
3115
|
if (!(oe instanceof Error))
|
|
@@ -3127,8 +3127,8 @@ var Qn = ur((rs, pt) => {
|
|
|
3127
3127
|
if (g.type === "response") {
|
|
3128
3128
|
const S = w.get(g.id);
|
|
3129
3129
|
S != null && clearTimeout(S);
|
|
3130
|
-
const { resolve: N, reject:
|
|
3131
|
-
g.success ? N == null || N(g.payload) :
|
|
3130
|
+
const { resolve: N, reject: F } = l.get(g.id) ?? {};
|
|
3131
|
+
g.success ? N == null || N(g.payload) : F == null || F(new Error(g.error));
|
|
3132
3132
|
return;
|
|
3133
3133
|
}
|
|
3134
3134
|
if (g.type === "message") {
|
|
@@ -3159,10 +3159,10 @@ var Qn = ur((rs, pt) => {
|
|
|
3159
3159
|
function En(t) {
|
|
3160
3160
|
return Sn(t);
|
|
3161
3161
|
}
|
|
3162
|
-
const
|
|
3162
|
+
const Ft = "[transport-id]";
|
|
3163
3163
|
function On(t, e) {
|
|
3164
3164
|
const { transportId: r } = e;
|
|
3165
|
-
return r != null ? { [
|
|
3165
|
+
return r != null ? { [Ft]: r, data: t } : t;
|
|
3166
3166
|
}
|
|
3167
3167
|
function Nn(t, e) {
|
|
3168
3168
|
const { transportId: r, filter: n } = e, s = n == null ? void 0 : n();
|
|
@@ -3170,7 +3170,7 @@ var Qn = ur((rs, pt) => {
|
|
|
3170
3170
|
throw new Error("Cannot use both `transportId` and `filter` at the same time");
|
|
3171
3171
|
let a = t;
|
|
3172
3172
|
if (r) {
|
|
3173
|
-
if (t[
|
|
3173
|
+
if (t[Ft] !== r)
|
|
3174
3174
|
return [!0];
|
|
3175
3175
|
a = t.data;
|
|
3176
3176
|
}
|
|
@@ -3318,7 +3318,7 @@ var Qn = ur((rs, pt) => {
|
|
|
3318
3318
|
}, "ErrorStackParser$$parseFFOrSafari") };
|
|
3319
3319
|
}
|
|
3320
3320
|
k(Dt, "ErrorStackParser");
|
|
3321
|
-
var
|
|
3321
|
+
var $n = new Dt(), Fn = $n, V = typeof process == "object" && typeof process.versions == "object" && typeof process.versions.node == "string" && !process.browser, Vt = V && typeof pt < "u" && typeof pt.exports < "u" && typeof Mt < "u" && typeof __dirname < "u", Mn = V && !Vt, Ln = typeof Deno < "u", Ut = !V && !Ln, Dn = Ut && typeof window == "object" && typeof document == "object" && typeof document.createElement == "function" && "sessionStorage" in window && typeof importScripts != "function", Vn = Ut && typeof importScripts == "function" && typeof self == "object";
|
|
3322
3322
|
typeof navigator == "object" && typeof navigator.userAgent == "string" && navigator.userAgent.indexOf("Chrome") == -1 && navigator.userAgent.indexOf("Safari") > -1;
|
|
3323
3323
|
var zt, ot, qt, St, mt;
|
|
3324
3324
|
async function yt() {
|
|
@@ -3333,25 +3333,25 @@ var Qn = ur((rs, pt) => {
|
|
|
3333
3333
|
return ot.resolve(e || ".", t);
|
|
3334
3334
|
}
|
|
3335
3335
|
k(Bt, "node_resolvePath");
|
|
3336
|
-
function
|
|
3336
|
+
function Ht(t, e) {
|
|
3337
3337
|
return e === void 0 && (e = location), new URL(t, e).toString();
|
|
3338
3338
|
}
|
|
3339
|
-
k(
|
|
3339
|
+
k(Ht, "browser_resolvePath");
|
|
3340
3340
|
var dt;
|
|
3341
|
-
V ? dt = Bt : dt =
|
|
3341
|
+
V ? dt = Bt : dt = Ht;
|
|
3342
3342
|
var gt;
|
|
3343
3343
|
V || (gt = "/");
|
|
3344
|
-
function
|
|
3344
|
+
function Wt(t, e) {
|
|
3345
3345
|
return t.startsWith("file://") && (t = t.slice(7)), t.includes("://") ? { response: fetch(t) } : { binary: mt.readFile(t).then((r) => new Uint8Array(r.buffer, r.byteOffset, r.byteLength)) };
|
|
3346
3346
|
}
|
|
3347
|
-
k(
|
|
3347
|
+
k(Wt, "node_getBinaryResponse");
|
|
3348
3348
|
function Jt(t, e) {
|
|
3349
3349
|
let r = new URL(t, location);
|
|
3350
3350
|
return { response: fetch(r, e ? { integrity: e } : {}) };
|
|
3351
3351
|
}
|
|
3352
3352
|
k(Jt, "browser_getBinaryResponse");
|
|
3353
3353
|
var Ye;
|
|
3354
|
-
V ? Ye =
|
|
3354
|
+
V ? Ye = Wt : Ye = Jt;
|
|
3355
3355
|
async function Yt(t, e) {
|
|
3356
3356
|
let { response: r, binary: n } = Ye(t, e);
|
|
3357
3357
|
if (n) return n;
|
|
@@ -3392,7 +3392,7 @@ var Qn = ur((rs, pt) => {
|
|
|
3392
3392
|
} catch (n) {
|
|
3393
3393
|
t = n;
|
|
3394
3394
|
}
|
|
3395
|
-
let e =
|
|
3395
|
+
let e = Fn.parse(t)[0].fileName;
|
|
3396
3396
|
if (V && !e.startsWith("file://") && (e = `file://${e}`), Mn) {
|
|
3397
3397
|
let n = await import("./__vite-browser-external-CPvbk0mb.js");
|
|
3398
3398
|
return (await import("./__vite-browser-external-CPvbk0mb.js")).fileURLToPath(n.dirname(e));
|
|
@@ -3533,28 +3533,35 @@ var Qn = ur((rs, pt) => {
|
|
|
3533
3533
|
}
|
|
3534
3534
|
k(rr, "setEnvironment");
|
|
3535
3535
|
function nr(t) {
|
|
3536
|
-
return (e) => {
|
|
3537
|
-
|
|
3538
|
-
|
|
3536
|
+
return t ? [async (e) => {
|
|
3537
|
+
e.addRunDependency("fsInitHook");
|
|
3538
|
+
try {
|
|
3539
|
+
await t(e.FS, { sitePackages: e.API.sitePackages });
|
|
3540
|
+
} finally {
|
|
3541
|
+
e.removeRunDependency("fsInitHook");
|
|
3542
|
+
}
|
|
3543
|
+
}] : [];
|
|
3539
3544
|
}
|
|
3540
|
-
k(nr, "
|
|
3545
|
+
k(nr, "callFsInitHook");
|
|
3541
3546
|
function sr(t) {
|
|
3542
3547
|
let e = Yt(t);
|
|
3543
|
-
return (r) => {
|
|
3548
|
+
return async (r) => {
|
|
3544
3549
|
let n = r._py_version_major(), s = r._py_version_minor();
|
|
3545
|
-
r.FS.mkdirTree("/lib"), r.
|
|
3550
|
+
r.FS.mkdirTree("/lib"), r.API.sitePackages = `/lib/python${n}.${s}/site-packages`, r.FS.mkdirTree(r.API.sitePackages), r.addRunDependency("install-stdlib");
|
|
3551
|
+
try {
|
|
3552
|
+
let a = await e;
|
|
3546
3553
|
r.FS.writeFile(`/lib/python${n}${s}.zip`, a);
|
|
3547
|
-
}
|
|
3554
|
+
} catch (a) {
|
|
3548
3555
|
console.error("Error occurred while installing the standard library:"), console.error(a);
|
|
3549
|
-
}
|
|
3556
|
+
} finally {
|
|
3550
3557
|
r.removeRunDependency("install-stdlib");
|
|
3551
|
-
}
|
|
3558
|
+
}
|
|
3552
3559
|
};
|
|
3553
3560
|
}
|
|
3554
3561
|
k(sr, "installStdlib");
|
|
3555
3562
|
function ar(t) {
|
|
3556
3563
|
let e;
|
|
3557
|
-
return t.stdLibURL != null ? e = t.stdLibURL : e = t.indexURL + "python_stdlib.zip", [sr(e), tr(t.env.HOME), rr(t.env),
|
|
3564
|
+
return t.stdLibURL != null ? e = t.stdLibURL : e = t.indexURL + "python_stdlib.zip", [...nr(t.fsInit), sr(e), tr(t.env.HOME), rr(t.env), Qt];
|
|
3558
3565
|
}
|
|
3559
3566
|
k(ar, "getFileSystemInitializationFuncs");
|
|
3560
3567
|
function ir(t) {
|
|
@@ -3574,13 +3581,13 @@ var Qn = ur((rs, pt) => {
|
|
|
3574
3581
|
};
|
|
3575
3582
|
}
|
|
3576
3583
|
k(ir, "getInstantiateWasmFunc");
|
|
3577
|
-
var ct = "0.27.
|
|
3584
|
+
var ct = "0.27.5";
|
|
3578
3585
|
async function ut(t = {}) {
|
|
3579
3586
|
var e, r;
|
|
3580
3587
|
await yt();
|
|
3581
3588
|
let n = t.indexURL || await Xt();
|
|
3582
3589
|
n = dt(n), n.endsWith("/") || (n += "/"), t.indexURL = n;
|
|
3583
|
-
let s = { fullStdLib: !1, jsglobals: globalThis, stdin: globalThis.prompt ? globalThis.prompt : void 0, lockFileURL: n + "pyodide-lock.json", args: [],
|
|
3590
|
+
let s = { fullStdLib: !1, jsglobals: globalThis, stdin: globalThis.prompt ? globalThis.prompt : void 0, lockFileURL: n + "pyodide-lock.json", args: [], env: {}, packageCacheDir: n, packages: [], enableRunUntilComplete: !1, checkAPIVersion: !0, BUILD_ID: "bd0388b62e760f8ba04185eb443fec955f25434f49c7b951efe5b1f792dbe5d4" }, a = Object.assign(s, t);
|
|
3584
3591
|
(e = a.env).HOME ?? (e.HOME = "/home/pyodide"), (r = a.env).PYTHONINSPECT ?? (r.PYTHONINSPECT = "1");
|
|
3585
3592
|
let i = er(a), o = i.API;
|
|
3586
3593
|
if (o.lockFilePromise = Gt(a.lockFileURL), typeof _createPyodideModule != "function") {
|
|
@@ -3611,7 +3618,7 @@ var Qn = ur((rs, pt) => {
|
|
|
3611
3618
|
function xe(t) {
|
|
3612
3619
|
return t.FS;
|
|
3613
3620
|
}
|
|
3614
|
-
const lt = (t) => new TextDecoder().decode(t), ve = "notebook.py", _e = "/marimo",
|
|
3621
|
+
const lt = (t) => new TextDecoder().decode(t), ve = "notebook.py", _e = "/marimo", H = {
|
|
3615
3622
|
NOTEBOOK_FILENAME: ve,
|
|
3616
3623
|
HOME_DIR: _e,
|
|
3617
3624
|
createHomeDir: (t) => {
|
|
@@ -3672,7 +3679,7 @@ var Qn = ur((rs, pt) => {
|
|
|
3672
3679
|
if (!t)
|
|
3673
3680
|
throw new Error(e);
|
|
3674
3681
|
}
|
|
3675
|
-
class
|
|
3682
|
+
class Hn {
|
|
3676
3683
|
constructor() {
|
|
3677
3684
|
this.spans = [];
|
|
3678
3685
|
}
|
|
@@ -3714,9 +3721,9 @@ var Qn = ur((rs, pt) => {
|
|
|
3714
3721
|
logSpans() {
|
|
3715
3722
|
}
|
|
3716
3723
|
}
|
|
3717
|
-
const fe = new
|
|
3724
|
+
const fe = new Hn();
|
|
3718
3725
|
globalThis.t = fe;
|
|
3719
|
-
const
|
|
3726
|
+
const Wn = !1;
|
|
3720
3727
|
class Jn {
|
|
3721
3728
|
constructor() {
|
|
3722
3729
|
this.pyodide = null;
|
|
@@ -3742,7 +3749,7 @@ var Qn = ur((rs, pt) => {
|
|
|
3742
3749
|
"narwhals",
|
|
3743
3750
|
"packaging"
|
|
3744
3751
|
],
|
|
3745
|
-
_makeSnapshot:
|
|
3752
|
+
_makeSnapshot: Wn,
|
|
3746
3753
|
lockFileURL: `https://wasm.marimo.app/pyodide-lock.json?v=${e.version}&pyodide=${e.pyodideVersion}`,
|
|
3747
3754
|
// Without this, this fails in Firefox with
|
|
3748
3755
|
// `Could not extract indexURL path from pyodide module`
|
|
@@ -3756,7 +3763,7 @@ var Qn = ur((rs, pt) => {
|
|
|
3756
3763
|
}
|
|
3757
3764
|
async mountFilesystem(e) {
|
|
3758
3765
|
const r = fe.startSpan("mountFilesystem");
|
|
3759
|
-
return
|
|
3766
|
+
return H.createHomeDir(this.requirePyodide), H.mountFS(this.requirePyodide), await H.populateFilesToMemory(this.requirePyodide), r.end("ok"), H.initNotebookCode({
|
|
3760
3767
|
pyodide: this.requirePyodide,
|
|
3761
3768
|
code: e.code,
|
|
3762
3769
|
filename: e.filename
|
|
@@ -3767,7 +3774,7 @@ var Qn = ur((rs, pt) => {
|
|
|
3767
3774
|
self.messenger = {
|
|
3768
3775
|
callback: s
|
|
3769
3776
|
}, self.query_params = a, self.user_config = i;
|
|
3770
|
-
const o = fe.startSpan("startSession.runPython"), d = n ||
|
|
3777
|
+
const o = fe.startSpan("startSession.runPython"), d = n || H.NOTEBOOK_FILENAME, [c, l, w] = this.requirePyodide.runPython(
|
|
3771
3778
|
`
|
|
3772
3779
|
print("[py] Starting marimo...")
|
|
3773
3780
|
import asyncio
|
|
@@ -3858,13 +3865,13 @@ ${e}`;
|
|
|
3858
3865
|
}
|
|
3859
3866
|
const tt = Kn(), Gn = {
|
|
3860
3867
|
readFile: async (t) => (await tt, lt(self.pyodide.FS.readFile(t))),
|
|
3861
|
-
readNotebook: async () => (await tt,
|
|
3868
|
+
readNotebook: async () => (await tt, H.readNotebook(self.pyodide)),
|
|
3862
3869
|
saveNotebook: async (t) => {
|
|
3863
3870
|
await tt, await self.pyodide.runPython(`
|
|
3864
3871
|
from marimo._pyodide.bootstrap import save_file
|
|
3865
3872
|
|
|
3866
3873
|
save_file
|
|
3867
|
-
`)(JSON.stringify(t),
|
|
3874
|
+
`)(JSON.stringify(t), H.NOTEBOOK_FILENAME), await H.persistFilesToRemote(self.pyodide);
|
|
3868
3875
|
}
|
|
3869
3876
|
}, ft = En({
|
|
3870
3877
|
transport: An({
|