@marimo-team/islands 0.14.18-dev13 → 0.14.18-dev14
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-Bnr7LcSy.js → ConnectedDataExplorerComponent-Bnyf0wrs.js} +2 -2
- package/dist/{ImageComparisonComponent-DdY9u-6W.js → ImageComparisonComponent-W4jgM4-_.js} +1 -1
- package/dist/{_baseUniq-bDa-t2ZN.js → _baseUniq-7p-tNzzs.js} +1 -1
- package/dist/{any-language-editor-B3H-BJeW.js → any-language-editor-BEZBVKTd.js} +1 -1
- package/dist/{architectureDiagram-SUXI7LT5-B1OmdWrA.js → architectureDiagram-SUXI7LT5-CzBow-d7.js} +5 -5
- package/dist/assets/{worker-CvLTHCt4.js → worker-IDMFdmDA.js} +715 -708
- package/dist/{blockDiagram-6J76NXCF-CdrYLpUl.js → blockDiagram-6J76NXCF-C_Ei5I_U.js} +5 -5
- package/dist/{c4Diagram-6F6E4RAY-cFAeTjE2.js → c4Diagram-6F6E4RAY-Ca8OAeCH.js} +2 -2
- package/dist/{channel-C53-7U2V.js → channel-CxB8SKJL.js} +1 -1
- package/dist/{chunk-353BL4L5-CtYMa2dT.js → chunk-353BL4L5-U0j3zKF-.js} +1 -1
- package/dist/{chunk-67H74DCK-QXlBcYBg.js → chunk-67H74DCK-CnOydduA.js} +1 -1
- package/dist/{chunk-AACKK3MU-Bdk_bHBY.js → chunk-AACKK3MU-C8CQ_G-V.js} +1 -1
- package/dist/{chunk-BFAMUDN2-ByDO35Tp.js → chunk-BFAMUDN2-YEy_777M.js} +1 -1
- package/dist/{chunk-E2GYISFI-D5jQ3zGO.js → chunk-E2GYISFI-BdI2wxLD.js} +1 -1
- package/dist/{chunk-OW32GOEJ-BEXEWS3m.js → chunk-OW32GOEJ-DXPExcoN.js} +3 -3
- package/dist/{chunk-SKB7J2MH-CA2BG3E5.js → chunk-SKB7J2MH-DwCxdss9.js} +1 -1
- package/dist/{chunk-SZ463SBG-CvdAnhOq.js → chunk-SZ463SBG-DUBDjVhT.js} +4 -4
- package/dist/{classDiagram-v2-YAWTLIQI-BKMvihry.js → classDiagram-M3E45YP4-CAS-nU_q.js} +2 -2
- package/dist/{classDiagram-M3E45YP4-BKMvihry.js → classDiagram-v2-YAWTLIQI-CAS-nU_q.js} +2 -2
- package/dist/{clone-Be3ihRo0.js → clone-CWolWr_I.js} +1 -1
- package/dist/{dagre-JOIXM2OF-nGpI_AFE.js → dagre-JOIXM2OF-Bp43y9CD.js} +6 -6
- package/dist/{data-grid-overlay-editor-DeXewPaR.js → data-grid-overlay-editor-4tx7ynw8.js} +2 -2
- package/dist/{diagram-5UYTHUR4-BPb_siuw.js → diagram-5UYTHUR4-B-A4MED0.js} +3 -3
- package/dist/{diagram-VMROVX33-BucAQy2c.js → diagram-VMROVX33-D8nk_3qb.js} +5 -5
- package/dist/{diagram-ZTM2IBQH-2bzC59yP.js → diagram-ZTM2IBQH-DcG6EUsO.js} +3 -3
- package/dist/{erDiagram-3M52JZNH-0UqeDdeB.js → erDiagram-3M52JZNH-BvBhNDZO.js} +4 -4
- package/dist/{flowDiagram-KYDEHFYC-D-r_lhP_.js → flowDiagram-KYDEHFYC-CW3zfkOr.js} +5 -5
- package/dist/{ganttDiagram-EK5VF46D-DfdMHbRg.js → ganttDiagram-EK5VF46D-BJ6iLAC-.js} +4 -4
- package/dist/{gitGraphDiagram-GW3U2K7C-CwqvFtPh.js → gitGraphDiagram-GW3U2K7C-BihYZE_a.js} +4 -4
- package/dist/{glide-data-editor-BQQrAeoB.js → glide-data-editor-BO89WttR.js} +3 -3
- package/dist/{graph-Bvks7ArX.js → graph-CRqwBRFA.js} +3 -3
- package/dist/{index-BzGgJcI0.js → index-BlKMvB4M.js} +1 -1
- package/dist/{index-BEekjFNX.js → index-DoM5KpwN.js} +1 -1
- package/dist/{index-Dw-DGF8a.js → index-Du9BJSvj.js} +3 -3
- package/dist/{index-FgAnozAm.js → index-tTeg75gM.js} +1 -1
- package/dist/{infoDiagram-LHK5PUON-Cd0R9bpY.js → infoDiagram-LHK5PUON-B0uub2we.js} +2 -2
- package/dist/{journeyDiagram-EWQZEKCU-CMouvt7k.js → journeyDiagram-EWQZEKCU-CSRP4-Yn.js} +3 -3
- package/dist/{kanban-definition-ZSS6B67P-CGD0bvHx.js → kanban-definition-ZSS6B67P-B16onpiT.js} +2 -2
- package/dist/{layout-C35gS4mB.js → layout-yGvQy3yH.js} +4 -4
- package/dist/{linear-Cyle-ynY.js → linear-BMLyHZAB.js} +1 -1
- package/dist/{main-BpBfykN6.js → main-8m4ymv7s.js} +709 -700
- package/dist/main.js +1 -1
- package/dist/{mermaid-DGGNHrJr.js → mermaid-CV0e6U-W.js} +29 -29
- package/dist/{min-lckJOrOR.js → min-DspVJN9y.js} +2 -2
- package/dist/{mindmap-definition-6CBA2TL7-CfsxNkfd.js → mindmap-definition-6CBA2TL7-QZ6phOzC.js} +2 -2
- package/dist/{number-overlay-editor-DkkbQQyG.js → number-overlay-editor-mVpILjRO.js} +2 -2
- package/dist/{pieDiagram-NIOCPIFQ-CwPftXH7.js → pieDiagram-NIOCPIFQ-Chlmz-qw.js} +3 -3
- package/dist/{quadrantDiagram-2OG54O6I-p9Yncp4h.js → quadrantDiagram-2OG54O6I-JASNEQ_A.js} +2 -2
- package/dist/{react-plotly-B3YaHeLe.js → react-plotly-Cid1a4Ex.js} +1 -1
- package/dist/{requirementDiagram-QOLK2EJ7-NtjkbQMb.js → requirementDiagram-QOLK2EJ7-DrPAcfNE.js} +3 -3
- package/dist/{sankeyDiagram-4UZDY2LN-D-Q5P_GH.js → sankeyDiagram-4UZDY2LN-C1XBsY6Q.js} +1 -1
- package/dist/{sequenceDiagram-SKLFT4DO-z_2yb-np.js → sequenceDiagram-SKLFT4DO-2P70MfOH.js} +3 -3
- package/dist/{slides-component-CmXodbml.js → slides-component-DIZ-8MOa.js} +1 -1
- package/dist/{stateDiagram-MI5ZYTHO-ykayf3nM.js → stateDiagram-MI5ZYTHO-DqShqnut.js} +4 -4
- package/dist/{stateDiagram-v2-5AN5P6BG-C2cUwhIH.js → stateDiagram-v2-5AN5P6BG-Cu1EqiyO.js} +2 -2
- package/dist/{time-DDHfppAX.js → time-CeigqKte.js} +2 -2
- package/dist/{timeline-definition-MYPXXCX6-BIdqOp5Y.js → timeline-definition-MYPXXCX6-DUZNbFqh.js} +1 -1
- package/dist/{treemap-75Q7IDZK-BITofSU4.js → treemap-75Q7IDZK-BIv9vW1U.js} +5 -5
- package/dist/{vega-component-BDAcHQ7v.js → vega-component-CWZkaqO3.js} +2 -2
- package/dist/{xychartDiagram-H2YORKM3-DWY8aqgt.js → xychartDiagram-H2YORKM3-CxlyXn91.js} +2 -2
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var __defProp = Object.defineProperty;
|
|
2
2
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3
3
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4
|
-
let ox, xPe, Qlt, hk, xB, Bm, bct, k, Lw, Zr, ue, zo, Me, lp, SK, gu, wTe, pte, Lk, gl, Ote, R8e, Od, Om, Jn, wPe, mr, ix, FF, PPe, Lo, tqe, yn, nB, NMt, ste, AT, fg, UT, y1, sz, E2e, lZt, sZt, Rw, aZt, oZt, Mj, nY, zT, tZt, rZt, nZt, B9e, Vkn, n1e, bf, $e,
|
|
4
|
+
let ox, xPe, Qlt, hk, xB, Bm, bct, k, Lw, Zr, ue, zo, Me, lp, SK, gu, wTe, pte, Lk, gl, Ote, R8e, Od, Om, Jn, wPe, mr, ix, FF, PPe, Lo, tqe, yn, nB, NMt, ste, AT, fg, UT, y1, sz, E2e, lZt, sZt, Rw, aZt, oZt, Mj, nY, zT, tZt, rZt, nZt, B9e, Vkn, n1e, bf, $e, Tt, jft, SB, M2e, fct, gk, q2e, aut, W4, H9e, Wkn, Ykn, xL, DT, K9e, e8e, Ay, mD, SL, Og, J9e, t8e, iZt, gD, QL, hg, h8e, A2e, G2e, mk, cz, tlt, X2e, id, Rft, rr, mce, Yft, Xlt, Ydt, Udt, L2e, F2e, Ndt, Bdt, Mf, Hdt, Mq, eQe, Hi, ku, Tu, pc, Op, Pu, mn, _g, ct, fa, _6, ec, ag, RB, Bq, jB, mje, v5, hnt, nUe, TB, g5, PB, yct, kB, Zh, sm, Wue, du, blt, pE, Adt, Kdt, qh, Kue, vPe, Tct, _B, Z2e, Xft, Cft, yPe, Yut, SI, sft, gE, rft, Ze, eB, wrt, wP, se, m8e, opt, Sr, yl, ap, t6, _nt, Dg, wv, kP, xv, Ukn, r_n, HLt, Sx, Skn, akn, iMt, Ag, Yj, Qkn, I9e, e_n, hZt, Fkn, Lkn, xx, ute, cte, ite, zkn, SMt, Tkn, xkn, Ekn, c2, Pkn, OZt, Fq, C6t, CC, Qx, Lf, gr, $rt, Hm, Fh, T1, aO, Eo, _kn, ukn, uMt, RLt, JLt, b_, yMt, qT, fD, Qh, OD, Es, skn, lkn, St, vMt, Uy, _Mt, wMt, jT, wL, qkn, ckn, sMt, gkn, $kn, kMt, QMt, Ckn, Xkn, TMt, t_n, dkn, A9e, Oc, Ps, ep, OMt, pu, fMt, eO, mu, js, cMt, fc, ud, ua, dMt, as, lY, CL, MLt, ZLt, ykn, mkn, ote, bMt, Rkn, pkn, hkn, Okn, fkn, wkn, Mkn, Ikn, Zkn, Gkn, vkn, bkn, Nkn, Kkn, Bkn, Jkn, Hkn, Akn, Dkn, jkn, kkn, of, B3, n_n, Lj, qL, U9e, ve, Elt, mut, xg, Nft, nft, Nc, Bi, hTn, F9e, q1, tr, ui, m, Wn, m_n, d6, Ik, Ai, pi, Fi, au, cr, A, kK, Oa, nr, bl, D2e, out;
|
|
5
5
|
let __tla = (async () => {
|
|
6
6
|
var _a2;
|
|
7
7
|
function pKe(t, e) {
|
|
@@ -1391,12 +1391,12 @@ let __tla = (async () => {
|
|
|
1391
1391
|
Z[rt] || (console.error("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.", ke, re), Z[rt] = true);
|
|
1392
1392
|
}
|
|
1393
1393
|
function o(re, ke, rt) {
|
|
1394
|
-
this.props = re, this.context = ke, this.refs =
|
|
1394
|
+
this.props = re, this.context = ke, this.refs = Te, this.updater = rt || oe;
|
|
1395
1395
|
}
|
|
1396
1396
|
function a() {
|
|
1397
1397
|
}
|
|
1398
1398
|
function s(re, ke, rt) {
|
|
1399
|
-
this.props = re, this.context = ke, this.refs =
|
|
1399
|
+
this.props = re, this.context = ke, this.refs = Te, this.updater = rt || oe;
|
|
1400
1400
|
}
|
|
1401
1401
|
function l(re) {
|
|
1402
1402
|
return "" + re;
|
|
@@ -1644,7 +1644,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
1644
1644
|
gt = (t && t[ke]).call(t, "timers").setImmediate;
|
|
1645
1645
|
} catch {
|
|
1646
1646
|
gt = function(Ot) {
|
|
1647
|
-
|
|
1647
|
+
kt === false && (kt = true, typeof MessageChannel > "u" && console.error("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));
|
|
1648
1648
|
var yt = new MessageChannel();
|
|
1649
1649
|
yt.port1.onmessage = Ot, yt.port2.postMessage(void 0);
|
|
1650
1650
|
};
|
|
@@ -1711,8 +1711,8 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
1711
1711
|
enqueueSetState: function(re) {
|
|
1712
1712
|
i(re, "setState");
|
|
1713
1713
|
}
|
|
1714
|
-
}, de = Object.assign,
|
|
1715
|
-
Object.freeze(
|
|
1714
|
+
}, de = Object.assign, Te = {};
|
|
1715
|
+
Object.freeze(Te), o.prototype.isReactComponent = {}, o.prototype.setState = function(re, ke) {
|
|
1716
1716
|
if (typeof re != "object" && typeof re != "function" && re != null) throw Error("takes an object of state variables to update or a function which returns an object of state variables.");
|
|
1717
1717
|
this.updater.enqueueSetState(this, re, ke, "setState");
|
|
1718
1718
|
}, o.prototype.forceUpdate = function(re) {
|
|
@@ -1765,7 +1765,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
1765
1765
|
return;
|
|
1766
1766
|
}
|
|
1767
1767
|
console.error(re);
|
|
1768
|
-
},
|
|
1768
|
+
}, kt = false, gt = null, bn = 0, kn = false, Er = false, $i = typeof queueMicrotask == "function" ? function(re) {
|
|
1769
1769
|
queueMicrotask(function() {
|
|
1770
1770
|
return queueMicrotask(re);
|
|
1771
1771
|
});
|
|
@@ -13079,7 +13079,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
13079
13079
|
...n
|
|
13080
13080
|
});
|
|
13081
13081
|
})(Oue || (Oue = {}));
|
|
13082
|
-
const
|
|
13082
|
+
const Xt = er.arrayToEnum([
|
|
13083
13083
|
"string",
|
|
13084
13084
|
"nan",
|
|
13085
13085
|
"number",
|
|
@@ -13103,23 +13103,23 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
13103
13103
|
]), am = (t) => {
|
|
13104
13104
|
switch (typeof t) {
|
|
13105
13105
|
case "undefined":
|
|
13106
|
-
return
|
|
13106
|
+
return Xt.undefined;
|
|
13107
13107
|
case "string":
|
|
13108
|
-
return
|
|
13108
|
+
return Xt.string;
|
|
13109
13109
|
case "number":
|
|
13110
|
-
return Number.isNaN(t) ?
|
|
13110
|
+
return Number.isNaN(t) ? Xt.nan : Xt.number;
|
|
13111
13111
|
case "boolean":
|
|
13112
|
-
return
|
|
13112
|
+
return Xt.boolean;
|
|
13113
13113
|
case "function":
|
|
13114
|
-
return
|
|
13114
|
+
return Xt.function;
|
|
13115
13115
|
case "bigint":
|
|
13116
|
-
return
|
|
13116
|
+
return Xt.bigint;
|
|
13117
13117
|
case "symbol":
|
|
13118
|
-
return
|
|
13118
|
+
return Xt.symbol;
|
|
13119
13119
|
case "object":
|
|
13120
|
-
return Array.isArray(t) ?
|
|
13120
|
+
return Array.isArray(t) ? Xt.array : t === null ? Xt.null : t.then && typeof t.then == "function" && t.catch && typeof t.catch == "function" ? Xt.promise : typeof Map < "u" && t instanceof Map ? Xt.map : typeof Set < "u" && t instanceof Set ? Xt.set : typeof Date < "u" && t instanceof Date ? Xt.date : Xt.object;
|
|
13121
13121
|
default:
|
|
13122
|
-
return
|
|
13122
|
+
return Xt.unknown;
|
|
13123
13123
|
}
|
|
13124
13124
|
}, st = er.arrayToEnum([
|
|
13125
13125
|
"invalid_type",
|
|
@@ -13214,7 +13214,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
13214
13214
|
let n;
|
|
13215
13215
|
switch (t.code) {
|
|
13216
13216
|
case st.invalid_type:
|
|
13217
|
-
t.received ===
|
|
13217
|
+
t.received === Xt.undefined ? n = "Required" : n = `Expected ${t.expected}, received ${t.received}`;
|
|
13218
13218
|
break;
|
|
13219
13219
|
case st.invalid_literal:
|
|
13220
13220
|
n = `Invalid literal value, expected ${JSON.stringify(t.expected, er.jsonStringifyReplacer)}`;
|
|
@@ -13695,11 +13695,11 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
13695
13695
|
}
|
|
13696
13696
|
class Fc extends Vn {
|
|
13697
13697
|
_parse(e) {
|
|
13698
|
-
if (this._def.coerce && (e.data = String(e.data)), this._getType(e) !==
|
|
13698
|
+
if (this._def.coerce && (e.data = String(e.data)), this._getType(e) !== Xt.string) {
|
|
13699
13699
|
const o = this._getOrReturnCtx(e);
|
|
13700
13700
|
return vt(o, {
|
|
13701
13701
|
code: st.invalid_type,
|
|
13702
|
-
expected:
|
|
13702
|
+
expected: Xt.string,
|
|
13703
13703
|
received: o.parsedType
|
|
13704
13704
|
}), nn;
|
|
13705
13705
|
}
|
|
@@ -14139,11 +14139,11 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
14139
14139
|
super(...arguments), this.min = this.gte, this.max = this.lte, this.step = this.multipleOf;
|
|
14140
14140
|
}
|
|
14141
14141
|
_parse(e) {
|
|
14142
|
-
if (this._def.coerce && (e.data = Number(e.data)), this._getType(e) !==
|
|
14142
|
+
if (this._def.coerce && (e.data = Number(e.data)), this._getType(e) !== Xt.number) {
|
|
14143
14143
|
const o = this._getOrReturnCtx(e);
|
|
14144
14144
|
return vt(o, {
|
|
14145
14145
|
code: st.invalid_type,
|
|
14146
|
-
expected:
|
|
14146
|
+
expected: Xt.number,
|
|
14147
14147
|
received: o.parsedType
|
|
14148
14148
|
}), nn;
|
|
14149
14149
|
}
|
|
@@ -14318,7 +14318,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
14318
14318
|
} catch {
|
|
14319
14319
|
return this._getInvalidInput(e);
|
|
14320
14320
|
}
|
|
14321
|
-
if (this._getType(e) !==
|
|
14321
|
+
if (this._getType(e) !== Xt.bigint) return this._getInvalidInput(e);
|
|
14322
14322
|
let r;
|
|
14323
14323
|
const i = new qs();
|
|
14324
14324
|
for (const o of this._def.checks) o.kind === "min" ? (o.inclusive ? e.data < o.value : e.data <= o.value) && (r = this._getOrReturnCtx(e, r), vt(r, {
|
|
@@ -14347,7 +14347,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
14347
14347
|
const n = this._getOrReturnCtx(e);
|
|
14348
14348
|
return vt(n, {
|
|
14349
14349
|
code: st.invalid_type,
|
|
14350
|
-
expected:
|
|
14350
|
+
expected: Xt.bigint,
|
|
14351
14351
|
received: n.parsedType
|
|
14352
14352
|
}), nn;
|
|
14353
14353
|
}
|
|
@@ -14444,11 +14444,11 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
14444
14444
|
});
|
|
14445
14445
|
class h5 extends Vn {
|
|
14446
14446
|
_parse(e) {
|
|
14447
|
-
if (this._def.coerce && (e.data = !!e.data), this._getType(e) !==
|
|
14447
|
+
if (this._def.coerce && (e.data = !!e.data), this._getType(e) !== Xt.boolean) {
|
|
14448
14448
|
const r = this._getOrReturnCtx(e);
|
|
14449
14449
|
return vt(r, {
|
|
14450
14450
|
code: st.invalid_type,
|
|
14451
|
-
expected:
|
|
14451
|
+
expected: Xt.boolean,
|
|
14452
14452
|
received: r.parsedType
|
|
14453
14453
|
}), nn;
|
|
14454
14454
|
}
|
|
@@ -14462,11 +14462,11 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
14462
14462
|
});
|
|
14463
14463
|
class My extends Vn {
|
|
14464
14464
|
_parse(e) {
|
|
14465
|
-
if (this._def.coerce && (e.data = new Date(e.data)), this._getType(e) !==
|
|
14465
|
+
if (this._def.coerce && (e.data = new Date(e.data)), this._getType(e) !== Xt.date) {
|
|
14466
14466
|
const o = this._getOrReturnCtx(e);
|
|
14467
14467
|
return vt(o, {
|
|
14468
14468
|
code: st.invalid_type,
|
|
14469
|
-
expected:
|
|
14469
|
+
expected: Xt.date,
|
|
14470
14470
|
received: o.parsedType
|
|
14471
14471
|
}), nn;
|
|
14472
14472
|
}
|
|
@@ -14540,11 +14540,11 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
14540
14540
|
});
|
|
14541
14541
|
class gue extends Vn {
|
|
14542
14542
|
_parse(e) {
|
|
14543
|
-
if (this._getType(e) !==
|
|
14543
|
+
if (this._getType(e) !== Xt.symbol) {
|
|
14544
14544
|
const r = this._getOrReturnCtx(e);
|
|
14545
14545
|
return vt(r, {
|
|
14546
14546
|
code: st.invalid_type,
|
|
14547
|
-
expected:
|
|
14547
|
+
expected: Xt.symbol,
|
|
14548
14548
|
received: r.parsedType
|
|
14549
14549
|
}), nn;
|
|
14550
14550
|
}
|
|
@@ -14557,11 +14557,11 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
14557
14557
|
});
|
|
14558
14558
|
class iI extends Vn {
|
|
14559
14559
|
_parse(e) {
|
|
14560
|
-
if (this._getType(e) !==
|
|
14560
|
+
if (this._getType(e) !== Xt.undefined) {
|
|
14561
14561
|
const r = this._getOrReturnCtx(e);
|
|
14562
14562
|
return vt(r, {
|
|
14563
14563
|
code: st.invalid_type,
|
|
14564
|
-
expected:
|
|
14564
|
+
expected: Xt.undefined,
|
|
14565
14565
|
received: r.parsedType
|
|
14566
14566
|
}), nn;
|
|
14567
14567
|
}
|
|
@@ -14574,11 +14574,11 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
14574
14574
|
});
|
|
14575
14575
|
class sE extends Vn {
|
|
14576
14576
|
_parse(e) {
|
|
14577
|
-
if (this._getType(e) !==
|
|
14577
|
+
if (this._getType(e) !== Xt.null) {
|
|
14578
14578
|
const r = this._getOrReturnCtx(e);
|
|
14579
14579
|
return vt(r, {
|
|
14580
14580
|
code: st.invalid_type,
|
|
14581
|
-
expected:
|
|
14581
|
+
expected: Xt.null,
|
|
14582
14582
|
received: r.parsedType
|
|
14583
14583
|
}), nn;
|
|
14584
14584
|
}
|
|
@@ -14618,7 +14618,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
14618
14618
|
const n = this._getOrReturnCtx(e);
|
|
14619
14619
|
return vt(n, {
|
|
14620
14620
|
code: st.invalid_type,
|
|
14621
|
-
expected:
|
|
14621
|
+
expected: Xt.never,
|
|
14622
14622
|
received: n.parsedType
|
|
14623
14623
|
}), nn;
|
|
14624
14624
|
}
|
|
@@ -14629,11 +14629,11 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
14629
14629
|
});
|
|
14630
14630
|
class $ue extends Vn {
|
|
14631
14631
|
_parse(e) {
|
|
14632
|
-
if (this._getType(e) !==
|
|
14632
|
+
if (this._getType(e) !== Xt.undefined) {
|
|
14633
14633
|
const r = this._getOrReturnCtx(e);
|
|
14634
14634
|
return vt(r, {
|
|
14635
14635
|
code: st.invalid_type,
|
|
14636
|
-
expected:
|
|
14636
|
+
expected: Xt.void,
|
|
14637
14637
|
received: r.parsedType
|
|
14638
14638
|
}), nn;
|
|
14639
14639
|
}
|
|
@@ -14647,9 +14647,9 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
14647
14647
|
class ks extends Vn {
|
|
14648
14648
|
_parse(e) {
|
|
14649
14649
|
const { ctx: n, status: r } = this._processInputParams(e), i = this._def;
|
|
14650
|
-
if (n.parsedType !==
|
|
14650
|
+
if (n.parsedType !== Xt.array) return vt(n, {
|
|
14651
14651
|
code: st.invalid_type,
|
|
14652
|
-
expected:
|
|
14652
|
+
expected: Xt.array,
|
|
14653
14653
|
received: n.parsedType
|
|
14654
14654
|
}), nn;
|
|
14655
14655
|
if (i.exactLength !== null) {
|
|
@@ -14757,11 +14757,11 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
14757
14757
|
}, this._cached;
|
|
14758
14758
|
}
|
|
14759
14759
|
_parse(e) {
|
|
14760
|
-
if (this._getType(e) !==
|
|
14760
|
+
if (this._getType(e) !== Xt.object) {
|
|
14761
14761
|
const c = this._getOrReturnCtx(e);
|
|
14762
14762
|
return vt(c, {
|
|
14763
14763
|
code: st.invalid_type,
|
|
14764
|
-
expected:
|
|
14764
|
+
expected: Xt.object,
|
|
14765
14765
|
received: c.parsedType
|
|
14766
14766
|
}), nn;
|
|
14767
14767
|
}
|
|
@@ -15039,9 +15039,9 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
15039
15039
|
class Kw extends Vn {
|
|
15040
15040
|
_parse(e) {
|
|
15041
15041
|
const { ctx: n } = this._processInputParams(e);
|
|
15042
|
-
if (n.parsedType !==
|
|
15042
|
+
if (n.parsedType !== Xt.object) return vt(n, {
|
|
15043
15043
|
code: st.invalid_type,
|
|
15044
|
-
expected:
|
|
15044
|
+
expected: Xt.object,
|
|
15045
15045
|
received: n.parsedType
|
|
15046
15046
|
}), nn;
|
|
15047
15047
|
const r = this.discriminator, i = n.data[r], o = this.optionsMap.get(i);
|
|
@@ -15095,7 +15095,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
15095
15095
|
valid: true,
|
|
15096
15096
|
data: t
|
|
15097
15097
|
};
|
|
15098
|
-
if (n ===
|
|
15098
|
+
if (n === Xt.object && r === Xt.object) {
|
|
15099
15099
|
const i = er.objectKeys(e), o = er.objectKeys(t).filter((s) => i.indexOf(s) !== -1), a = {
|
|
15100
15100
|
...t,
|
|
15101
15101
|
...e
|
|
@@ -15111,7 +15111,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
15111
15111
|
valid: true,
|
|
15112
15112
|
data: a
|
|
15113
15113
|
};
|
|
15114
|
-
} else if (n ===
|
|
15114
|
+
} else if (n === Xt.array && r === Xt.array) {
|
|
15115
15115
|
if (t.length !== e.length) return {
|
|
15116
15116
|
valid: false
|
|
15117
15117
|
};
|
|
@@ -15127,7 +15127,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
15127
15127
|
valid: true,
|
|
15128
15128
|
data: i
|
|
15129
15129
|
};
|
|
15130
|
-
} else return n ===
|
|
15130
|
+
} else return n === Xt.date && r === Xt.date && +t == +e ? {
|
|
15131
15131
|
valid: true,
|
|
15132
15132
|
data: t
|
|
15133
15133
|
} : {
|
|
@@ -15177,9 +15177,9 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
15177
15177
|
class Ly extends Vn {
|
|
15178
15178
|
_parse(e) {
|
|
15179
15179
|
const { status: n, ctx: r } = this._processInputParams(e);
|
|
15180
|
-
if (r.parsedType !==
|
|
15180
|
+
if (r.parsedType !== Xt.array) return vt(r, {
|
|
15181
15181
|
code: st.invalid_type,
|
|
15182
|
-
expected:
|
|
15182
|
+
expected: Xt.array,
|
|
15183
15183
|
received: r.parsedType
|
|
15184
15184
|
}), nn;
|
|
15185
15185
|
if (r.data.length < this._def.items.length) return vt(r, {
|
|
@@ -15232,9 +15232,9 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
15232
15232
|
}
|
|
15233
15233
|
_parse(e) {
|
|
15234
15234
|
const { status: n, ctx: r } = this._processInputParams(e);
|
|
15235
|
-
if (r.parsedType !==
|
|
15235
|
+
if (r.parsedType !== Xt.object) return vt(r, {
|
|
15236
15236
|
code: st.invalid_type,
|
|
15237
|
-
expected:
|
|
15237
|
+
expected: Xt.object,
|
|
15238
15238
|
received: r.parsedType
|
|
15239
15239
|
}), nn;
|
|
15240
15240
|
const i = [], o = this._def.keyType, a = this._def.valueType;
|
|
@@ -15271,9 +15271,9 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
15271
15271
|
}
|
|
15272
15272
|
_parse(e) {
|
|
15273
15273
|
const { status: n, ctx: r } = this._processInputParams(e);
|
|
15274
|
-
if (r.parsedType !==
|
|
15274
|
+
if (r.parsedType !== Xt.map) return vt(r, {
|
|
15275
15275
|
code: st.invalid_type,
|
|
15276
|
-
expected:
|
|
15276
|
+
expected: Xt.map,
|
|
15277
15277
|
received: r.parsedType
|
|
15278
15278
|
}), nn;
|
|
15279
15279
|
const i = this._def.keyType, o = this._def.valueType, a = [
|
|
@@ -15324,9 +15324,9 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
15324
15324
|
class p5 extends Vn {
|
|
15325
15325
|
_parse(e) {
|
|
15326
15326
|
const { status: n, ctx: r } = this._processInputParams(e);
|
|
15327
|
-
if (r.parsedType !==
|
|
15327
|
+
if (r.parsedType !== Xt.set) return vt(r, {
|
|
15328
15328
|
code: st.invalid_type,
|
|
15329
|
-
expected:
|
|
15329
|
+
expected: Xt.set,
|
|
15330
15330
|
received: r.parsedType
|
|
15331
15331
|
}), nn;
|
|
15332
15332
|
const i = this._def;
|
|
@@ -15498,7 +15498,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
15498
15498
|
class lI extends Vn {
|
|
15499
15499
|
_parse(e) {
|
|
15500
15500
|
const n = er.getValidEnumValues(this._def.values), r = this._getOrReturnCtx(e);
|
|
15501
|
-
if (r.parsedType !==
|
|
15501
|
+
if (r.parsedType !== Xt.string && r.parsedType !== Xt.number) {
|
|
15502
15502
|
const i = er.objectValues(n);
|
|
15503
15503
|
return vt(r, {
|
|
15504
15504
|
expected: er.joinValues(i),
|
|
@@ -15531,12 +15531,12 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
15531
15531
|
}
|
|
15532
15532
|
_parse(e) {
|
|
15533
15533
|
const { ctx: n } = this._processInputParams(e);
|
|
15534
|
-
if (n.parsedType !==
|
|
15534
|
+
if (n.parsedType !== Xt.promise && n.common.async === false) return vt(n, {
|
|
15535
15535
|
code: st.invalid_type,
|
|
15536
|
-
expected:
|
|
15536
|
+
expected: Xt.promise,
|
|
15537
15537
|
received: n.parsedType
|
|
15538
15538
|
}), nn;
|
|
15539
|
-
const r = n.parsedType ===
|
|
15539
|
+
const r = n.parsedType === Xt.promise ? n.data : Promise.resolve(n.data);
|
|
15540
15540
|
return yu(r.then((i) => this._def.type.parseAsync(i, {
|
|
15541
15541
|
path: n.path,
|
|
15542
15542
|
errorMap: n.common.contextualErrorMap
|
|
@@ -15652,7 +15652,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
15652
15652
|
});
|
|
15653
15653
|
class Cf extends Vn {
|
|
15654
15654
|
_parse(e) {
|
|
15655
|
-
return this._getType(e) ===
|
|
15655
|
+
return this._getType(e) === Xt.undefined ? yu(void 0) : this._def.innerType._parse(e);
|
|
15656
15656
|
}
|
|
15657
15657
|
unwrap() {
|
|
15658
15658
|
return this._def.innerType;
|
|
@@ -15665,7 +15665,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
15665
15665
|
});
|
|
15666
15666
|
class Fy extends Vn {
|
|
15667
15667
|
_parse(e) {
|
|
15668
|
-
return this._getType(e) ===
|
|
15668
|
+
return this._getType(e) === Xt.null ? yu(null) : this._def.innerType._parse(e);
|
|
15669
15669
|
}
|
|
15670
15670
|
unwrap() {
|
|
15671
15671
|
return this._def.innerType;
|
|
@@ -15680,7 +15680,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
15680
15680
|
_parse(e) {
|
|
15681
15681
|
const { ctx: n } = this._processInputParams(e);
|
|
15682
15682
|
let r = n.data;
|
|
15683
|
-
return n.parsedType ===
|
|
15683
|
+
return n.parsedType === Xt.undefined && (r = this._def.defaultValue()), this._def.innerType._parse({
|
|
15684
15684
|
data: r,
|
|
15685
15685
|
path: n.path,
|
|
15686
15686
|
parent: n
|
|
@@ -15741,11 +15741,11 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
15741
15741
|
});
|
|
15742
15742
|
class cI extends Vn {
|
|
15743
15743
|
_parse(e) {
|
|
15744
|
-
if (this._getType(e) !==
|
|
15744
|
+
if (this._getType(e) !== Xt.nan) {
|
|
15745
15745
|
const r = this._getOrReturnCtx(e);
|
|
15746
15746
|
return vt(r, {
|
|
15747
15747
|
code: st.invalid_type,
|
|
15748
|
-
expected:
|
|
15748
|
+
expected: Xt.nan,
|
|
15749
15749
|
received: r.parsedType
|
|
15750
15750
|
}), nn;
|
|
15751
15751
|
}
|
|
@@ -15862,13 +15862,13 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
15862
15862
|
})(rn || (rn = {}));
|
|
15863
15863
|
const vue = (t, e = {
|
|
15864
15864
|
message: `Input not instance of ${t.name}`
|
|
15865
|
-
}) => Zat((n) => n instanceof t, e),
|
|
15865
|
+
}) => Zat((n) => n instanceof t, e), Pe = Fc.create, Je = Nm.create, Lat = cI.create;
|
|
15866
15866
|
Gy.create;
|
|
15867
15867
|
const et = h5.create;
|
|
15868
15868
|
My.create;
|
|
15869
15869
|
const m5 = sE.create, vg = Hv.create, _y = oI.create;
|
|
15870
15870
|
Im.create;
|
|
15871
|
-
const
|
|
15871
|
+
const Pt = ks.create, Ce = Qi.create, Gn = Zy.create, Fat = Kw.create;
|
|
15872
15872
|
lE.create;
|
|
15873
15873
|
const Mh = Ly.create, tl = cE.create, fi = Ih.create, Wt = Gf.create;
|
|
15874
15874
|
uE.create;
|
|
@@ -16876,14 +16876,14 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
16876
16876
|
class Pst {
|
|
16877
16877
|
constructor() {
|
|
16878
16878
|
this.tagName = "marimo-nav-menu", this.menuItemValidator = Ce({
|
|
16879
|
-
label:
|
|
16880
|
-
href:
|
|
16881
|
-
description:
|
|
16879
|
+
label: Pe(),
|
|
16880
|
+
href: Pe(),
|
|
16881
|
+
description: Pe().nullish()
|
|
16882
16882
|
}), this.menuItemGroupValidator = Ce({
|
|
16883
|
-
label:
|
|
16884
|
-
items:
|
|
16883
|
+
label: Pe(),
|
|
16884
|
+
items: Pt(this.menuItemValidator)
|
|
16885
16885
|
}), this.validator = Ce({
|
|
16886
|
-
items:
|
|
16886
|
+
items: Pt(Gn([
|
|
16887
16887
|
this.menuItemValidator,
|
|
16888
16888
|
this.menuItemGroupValidator
|
|
16889
16889
|
])),
|
|
@@ -17628,7 +17628,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
17628
17628
|
function de(u) {
|
|
17629
17629
|
return u >>>= 0, u === 0 ? 32 : 31 - (ABe(u) / UBe | 0) | 0;
|
|
17630
17630
|
}
|
|
17631
|
-
function
|
|
17631
|
+
function Te(u) {
|
|
17632
17632
|
if (u & 1) return "SyncHydrationLane";
|
|
17633
17633
|
if (u & 2) return "Sync";
|
|
17634
17634
|
if (u & 4) return "InputContinuousHydration";
|
|
@@ -17850,7 +17850,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
17850
17850
|
function Lt(u) {
|
|
17851
17851
|
return u &= -u, yc < u ? Xd < u ? (u & 134217727) !== 0 ? _O : MR : Xd : yc;
|
|
17852
17852
|
}
|
|
17853
|
-
function
|
|
17853
|
+
function kt() {
|
|
17854
17854
|
var u = ur.p;
|
|
17855
17855
|
return u !== 0 ? u : (u = window.event, u === void 0 ? _O : mae(u.type));
|
|
17856
17856
|
}
|
|
@@ -18069,30 +18069,30 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
18069
18069
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
18070
18070
|
try {
|
|
18071
18071
|
Reflect.construct(je, []);
|
|
18072
|
-
} catch (
|
|
18073
|
-
var We =
|
|
18072
|
+
} catch (_t) {
|
|
18073
|
+
var We = _t;
|
|
18074
18074
|
}
|
|
18075
18075
|
Reflect.construct(u, [], je);
|
|
18076
18076
|
} else {
|
|
18077
18077
|
try {
|
|
18078
18078
|
je.call();
|
|
18079
|
-
} catch (
|
|
18080
|
-
We =
|
|
18079
|
+
} catch (_t) {
|
|
18080
|
+
We = _t;
|
|
18081
18081
|
}
|
|
18082
18082
|
u.call(je.prototype);
|
|
18083
18083
|
}
|
|
18084
18084
|
} else {
|
|
18085
18085
|
try {
|
|
18086
18086
|
throw Error();
|
|
18087
|
-
} catch (
|
|
18088
|
-
We =
|
|
18087
|
+
} catch (_t) {
|
|
18088
|
+
We = _t;
|
|
18089
18089
|
}
|
|
18090
18090
|
(je = u()) && typeof je.catch == "function" && je.catch(function() {
|
|
18091
18091
|
});
|
|
18092
18092
|
}
|
|
18093
|
-
} catch (
|
|
18094
|
-
if (
|
|
18095
|
-
|
|
18093
|
+
} catch (_t) {
|
|
18094
|
+
if (_t && We && typeof _t.stack == "string") return [
|
|
18095
|
+
_t.stack,
|
|
18096
18096
|
We.stack
|
|
18097
18097
|
];
|
|
18098
18098
|
}
|
|
@@ -20042,16 +20042,16 @@ Please update the following component: %s`, R), _se = true;
|
|
|
20042
20042
|
});
|
|
20043
20043
|
e: {
|
|
20044
20044
|
je = u;
|
|
20045
|
-
var
|
|
20046
|
-
switch (
|
|
20045
|
+
var _t = F, Bt = f, Wr = g;
|
|
20046
|
+
switch (_t.tag) {
|
|
20047
20047
|
case Tse:
|
|
20048
|
-
if (
|
|
20048
|
+
if (_t = _t.payload, typeof _t == "function") {
|
|
20049
20049
|
z0 = true;
|
|
20050
|
-
var Dn =
|
|
20050
|
+
var Dn = _t.call(Wr, Ve, Bt);
|
|
20051
20051
|
if (je.mode & Na) {
|
|
20052
20052
|
le(true);
|
|
20053
20053
|
try {
|
|
20054
|
-
|
|
20054
|
+
_t.call(Wr, Ve, Bt);
|
|
20055
20055
|
} finally {
|
|
20056
20056
|
le(false);
|
|
20057
20057
|
}
|
|
@@ -20059,13 +20059,13 @@ Please update the following component: %s`, R), _se = true;
|
|
|
20059
20059
|
z0 = false, Ve = Dn;
|
|
20060
20060
|
break e;
|
|
20061
20061
|
}
|
|
20062
|
-
Ve =
|
|
20062
|
+
Ve = _t;
|
|
20063
20063
|
break e;
|
|
20064
20064
|
case o8:
|
|
20065
20065
|
je.flags = je.flags & -65537 | 128;
|
|
20066
20066
|
case Pse:
|
|
20067
|
-
if (Dn =
|
|
20068
|
-
if (z0 = true,
|
|
20067
|
+
if (Dn = _t.payload, typeof Dn == "function") {
|
|
20068
|
+
if (z0 = true, _t = Dn.call(Wr, Ve, Bt), je.mode & Na) {
|
|
20069
20069
|
le(true);
|
|
20070
20070
|
try {
|
|
20071
20071
|
Dn.call(Wr, Ve, Bt);
|
|
@@ -20074,9 +20074,9 @@ Please update the following component: %s`, R), _se = true;
|
|
|
20074
20074
|
}
|
|
20075
20075
|
}
|
|
20076
20076
|
z0 = false;
|
|
20077
|
-
} else
|
|
20078
|
-
if (
|
|
20079
|
-
Ve = Pn({}, Ve,
|
|
20077
|
+
} else _t = Dn;
|
|
20078
|
+
if (_t == null) break e;
|
|
20079
|
+
Ve = Pn({}, Ve, _t);
|
|
20080
20080
|
break e;
|
|
20081
20081
|
case kse:
|
|
20082
20082
|
Cp = true;
|
|
@@ -21133,7 +21133,7 @@ Incoming: %s`, Ae, "[" + f.join(", ") + "]", "[" + u.join(", ") + "]");
|
|
|
21133
21133
|
}
|
|
21134
21134
|
return typeof Ne == "function" && bR(be, Ne), typeof Ne == "symbol" && vR(be, Ne), null;
|
|
21135
21135
|
}
|
|
21136
|
-
function
|
|
21136
|
+
function _t(ye, be, xe, Ne) {
|
|
21137
21137
|
if (typeof xe != "object" || xe === null) return Ne;
|
|
21138
21138
|
switch (xe.$$typeof) {
|
|
21139
21139
|
case Qp:
|
|
@@ -21154,48 +21154,48 @@ Incoming: %s`, Ae, "[" + f.join(", ") + "]", "[" + u.join(", ") + "]");
|
|
|
21154
21154
|
});
|
|
21155
21155
|
break;
|
|
21156
21156
|
case Xl:
|
|
21157
|
-
xe = jp(xe),
|
|
21157
|
+
xe = jp(xe), _t(ye, be, xe, Ne);
|
|
21158
21158
|
}
|
|
21159
21159
|
return Ne;
|
|
21160
21160
|
}
|
|
21161
21161
|
function Bt(ye, be, xe, Ne) {
|
|
21162
|
-
for (var ht = null, On = null,
|
|
21162
|
+
for (var ht = null, On = null, Rt = null, hn = be, gn = be = 0, ti = null; hn !== null && gn < xe.length; gn++) {
|
|
21163
21163
|
hn.index > gn ? (ti = hn, hn = null) : ti = hn.sibling;
|
|
21164
21164
|
var io = je(ye, hn, xe[gn], Ne);
|
|
21165
21165
|
if (io === null) {
|
|
21166
21166
|
hn === null && (hn = ti);
|
|
21167
21167
|
break;
|
|
21168
21168
|
}
|
|
21169
|
-
ht =
|
|
21169
|
+
ht = _t(ye, io, xe[gn], ht), u && hn && io.alternate === null && f(ye, hn), be = q(io, be, gn), Rt === null ? On = io : Rt.sibling = io, Rt = io, hn = ti;
|
|
21170
21170
|
}
|
|
21171
21171
|
if (gn === xe.length) return g(ye, hn), Yn && Hg(ye, gn), On;
|
|
21172
21172
|
if (hn === null) {
|
|
21173
|
-
for (; gn < xe.length; gn++) hn = Ve(ye, xe[gn], Ne), hn !== null && (ht =
|
|
21173
|
+
for (; gn < xe.length; gn++) hn = Ve(ye, xe[gn], Ne), hn !== null && (ht = _t(ye, hn, xe[gn], ht), be = q(hn, be, gn), Rt === null ? On = hn : Rt.sibling = hn, Rt = hn);
|
|
21174
21174
|
return Yn && Hg(ye, gn), On;
|
|
21175
21175
|
}
|
|
21176
|
-
for (hn = S(hn); gn < xe.length; gn++) ti = We(hn, ye, gn, xe[gn], Ne), ti !== null && (ht =
|
|
21176
|
+
for (hn = S(hn); gn < xe.length; gn++) ti = We(hn, ye, gn, xe[gn], Ne), ti !== null && (ht = _t(ye, ti, xe[gn], ht), u && ti.alternate !== null && hn.delete(ti.key === null ? gn : ti.key), be = q(ti, be, gn), Rt === null ? On = ti : Rt.sibling = ti, Rt = ti);
|
|
21177
21177
|
return u && hn.forEach(function(WO) {
|
|
21178
21178
|
return f(ye, WO);
|
|
21179
21179
|
}), Yn && Hg(ye, gn), On;
|
|
21180
21180
|
}
|
|
21181
21181
|
function Wr(ye, be, xe, Ne) {
|
|
21182
21182
|
if (xe == null) throw Error("An iterable object provided no iterator.");
|
|
21183
|
-
for (var ht = null, On = null,
|
|
21184
|
-
|
|
21185
|
-
var WO = je(ye,
|
|
21183
|
+
for (var ht = null, On = null, Rt = be, hn = be = 0, gn = null, ti = null, io = xe.next(); Rt !== null && !io.done; hn++, io = xe.next()) {
|
|
21184
|
+
Rt.index > hn ? (gn = Rt, Rt = null) : gn = Rt.sibling;
|
|
21185
|
+
var WO = je(ye, Rt, io.value, Ne);
|
|
21186
21186
|
if (WO === null) {
|
|
21187
|
-
|
|
21187
|
+
Rt === null && (Rt = gn);
|
|
21188
21188
|
break;
|
|
21189
21189
|
}
|
|
21190
|
-
ti =
|
|
21190
|
+
ti = _t(ye, WO, io.value, ti), u && Rt && WO.alternate === null && f(ye, Rt), be = q(WO, be, hn), On === null ? ht = WO : On.sibling = WO, On = WO, Rt = gn;
|
|
21191
21191
|
}
|
|
21192
|
-
if (io.done) return g(ye,
|
|
21193
|
-
if (
|
|
21194
|
-
for (; !io.done; hn++, io = xe.next())
|
|
21192
|
+
if (io.done) return g(ye, Rt), Yn && Hg(ye, hn), ht;
|
|
21193
|
+
if (Rt === null) {
|
|
21194
|
+
for (; !io.done; hn++, io = xe.next()) Rt = Ve(ye, io.value, Ne), Rt !== null && (ti = _t(ye, Rt, io.value, ti), be = q(Rt, be, hn), On === null ? ht = Rt : On.sibling = Rt, On = Rt);
|
|
21195
21195
|
return Yn && Hg(ye, hn), ht;
|
|
21196
21196
|
}
|
|
21197
|
-
for (
|
|
21198
|
-
return u &&
|
|
21197
|
+
for (Rt = S(Rt); !io.done; hn++, io = xe.next()) gn = We(Rt, ye, hn, io.value, Ne), gn !== null && (ti = _t(ye, gn, io.value, ti), u && gn.alternate !== null && Rt.delete(gn.key === null ? hn : gn.key), be = q(gn, be, hn), On === null ? ht = gn : On.sibling = gn, On = gn);
|
|
21198
|
+
return u && Rt.forEach(function(hKe) {
|
|
21199
21199
|
return f(ye, hKe);
|
|
21200
21200
|
}), Yn && Hg(ye, hn), ht;
|
|
21201
21201
|
}
|
|
@@ -21246,8 +21246,8 @@ Incoming: %s`, Ae, "[" + f.join(", ") + "]", "[" + u.join(", ") + "]");
|
|
|
21246
21246
|
if (wa(xe)) return ht = ya(xe._debugInfo), ye = Bt(ye, be, xe, Ne), wn = ht, ye;
|
|
21247
21247
|
if (T(xe)) {
|
|
21248
21248
|
if (ht = ya(xe._debugInfo), On = T(xe), typeof On != "function") throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");
|
|
21249
|
-
var
|
|
21250
|
-
return
|
|
21249
|
+
var Rt = On.call(xe);
|
|
21250
|
+
return Rt === xe ? (ye.tag !== 0 || Object.prototype.toString.call(ye.type) !== "[object GeneratorFunction]" || Object.prototype.toString.call(Rt) !== "[object Generator]") && (Zse || console.error("Using Iterators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. You can also use an Iterable that can iterate multiple times over the same items."), Zse = true) : xe.entries !== On || O8 || (console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."), O8 = true), ye = Wr(ye, be, Rt, Ne), wn = ht, ye;
|
|
21251
21251
|
}
|
|
21252
21252
|
if (typeof xe.then == "function") return ht = ya(xe._debugInfo), ye = Dn(ye, be, $R(xe), Ne), wn = ht, ye;
|
|
21253
21253
|
if (xe.$$typeof === kd) return Dn(ye, be, tR(ye, xe), Ne);
|
|
@@ -21264,16 +21264,16 @@ Incoming: %s`, Ae, "[" + f.join(", ") + "]", "[" + u.join(", ") + "]");
|
|
|
21264
21264
|
return Y0 = null, On;
|
|
21265
21265
|
} catch (ti) {
|
|
21266
21266
|
if (ti === zS || ti === s4) throw ti;
|
|
21267
|
-
var
|
|
21268
|
-
|
|
21269
|
-
var hn =
|
|
21270
|
-
if (
|
|
21267
|
+
var Rt = h(29, ti, null, ye.mode);
|
|
21268
|
+
Rt.lanes = Ne, Rt.return = ye;
|
|
21269
|
+
var hn = Rt._debugInfo = wn;
|
|
21270
|
+
if (Rt._debugOwner = ye._debugOwner, Rt._debugTask = ye._debugTask, hn != null) {
|
|
21271
21271
|
for (var gn = hn.length - 1; 0 <= gn; gn--) if (typeof hn[gn].stack == "string") {
|
|
21272
|
-
|
|
21272
|
+
Rt._debugOwner = hn[gn], Rt._debugTask = hn[gn].debugTask;
|
|
21273
21273
|
break;
|
|
21274
21274
|
}
|
|
21275
21275
|
}
|
|
21276
|
-
return
|
|
21276
|
+
return Rt;
|
|
21277
21277
|
} finally {
|
|
21278
21278
|
wn = ht;
|
|
21279
21279
|
}
|
|
@@ -23280,7 +23280,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
23280
23280
|
function Rl(u) {
|
|
23281
23281
|
if ((dr & hs) !== El && En !== 0) return En & -En;
|
|
23282
23282
|
var f = Ue.T;
|
|
23283
|
-
return f !== null ? (f._updatedFibers || (f._updatedFibers = /* @__PURE__ */ new Set()), f._updatedFibers.add(u), u = O$, u !== 0 ? u : t9()) :
|
|
23283
|
+
return f !== null ? (f._updatedFibers || (f._updatedFibers = /* @__PURE__ */ new Set()), f._updatedFibers.add(u), u = O$, u !== 0 ? u : t9()) : kt();
|
|
23284
23284
|
}
|
|
23285
23285
|
function hoe() {
|
|
23286
23286
|
ql === 0 && (ql = (En & 536870912) === 0 || Yn ? ge() : 536870912);
|
|
@@ -23712,7 +23712,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
23712
23712
|
else {
|
|
23713
23713
|
var Ve = F.ownerDocument || document, je = Ve && Ve.defaultView || window;
|
|
23714
23714
|
if (je.getSelection) {
|
|
23715
|
-
var We = je.getSelection(),
|
|
23715
|
+
var We = je.getSelection(), _t = F.textContent.length, Bt = Math.min(ae.start, _t), Wr = ae.end === void 0 ? Bt : Math.min(ae.end, _t);
|
|
23716
23716
|
!We.extend && Bt > Wr && (I = Wr, Wr = Bt, Bt = I);
|
|
23717
23717
|
var Dn = Sre(F, Bt), ye = Sre(F, Wr);
|
|
23718
23718
|
if (Dn && ye && (We.rangeCount !== 1 || We.anchorNode !== Dn.node || We.anchorOffset !== Dn.offset || We.focusNode !== ye.node || We.focusOffset !== ye.offset)) {
|
|
@@ -24196,7 +24196,7 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
24196
24196
|
e: {
|
|
24197
24197
|
var je = pse.get(u);
|
|
24198
24198
|
if (je !== void 0) {
|
|
24199
|
-
var We = HR,
|
|
24199
|
+
var We = HR, _t = u;
|
|
24200
24200
|
switch (u) {
|
|
24201
24201
|
case "keypress":
|
|
24202
24202
|
if (M_(g) === 0) break e;
|
|
@@ -24205,10 +24205,10 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
24205
24205
|
We = $He;
|
|
24206
24206
|
break;
|
|
24207
24207
|
case "focusin":
|
|
24208
|
-
|
|
24208
|
+
_t = "focus", We = M9;
|
|
24209
24209
|
break;
|
|
24210
24210
|
case "focusout":
|
|
24211
|
-
|
|
24211
|
+
_t = "blur", We = M9;
|
|
24212
24212
|
break;
|
|
24213
24213
|
case "beforeblur":
|
|
24214
24214
|
case "afterblur":
|
|
@@ -24283,7 +24283,7 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
24283
24283
|
if (be = xe.stateNode, xe = xe.tag, xe !== 5 && xe !== 26 && xe !== 27 || be === null || Dn === null || (xe = Yx(ye, Dn), xe != null && Bt.push(dS(ye, xe, be))), Wr) break;
|
|
24284
24284
|
ye = ye.return;
|
|
24285
24285
|
}
|
|
24286
|
-
0 < Bt.length && (je = new We(je,
|
|
24286
|
+
0 < Bt.length && (je = new We(je, _t, null, g, De), Ve.push({
|
|
24287
24287
|
event: je,
|
|
24288
24288
|
listeners: Bt
|
|
24289
24289
|
}));
|
|
@@ -24291,10 +24291,10 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
24291
24291
|
}
|
|
24292
24292
|
if ((f & 7) === 0) {
|
|
24293
24293
|
e: {
|
|
24294
|
-
if (je = u === "mouseover" || u === "pointerover", We = u === "mouseout" || u === "pointerout", je && g !== vS && (
|
|
24295
|
-
if ((We || je) && (je = De.window === De ? De : (je = De.ownerDocument) ? je.defaultView || je.parentWindow : window, We ? (
|
|
24296
|
-
if (Bt = tse, xe = "onMouseLeave", Dn = "onMouseEnter", ye = "mouse", (u === "pointerout" || u === "pointerover") && (Bt = rse, xe = "onPointerLeave", Dn = "onPointerEnter", ye = "pointer"), Wr = We == null ? je : $i(We), be =
|
|
24297
|
-
for (Bt = We, Dn =
|
|
24294
|
+
if (je = u === "mouseover" || u === "pointerover", We = u === "mouseout" || u === "pointerout", je && g !== vS && (_t = g.relatedTarget || g.fromElement) && (kn(_t) || _t[_p])) break e;
|
|
24295
|
+
if ((We || je) && (je = De.window === De ? De : (je = De.ownerDocument) ? je.defaultView || je.parentWindow : window, We ? (_t = g.relatedTarget || g.toElement, We = Oe, _t = _t ? kn(_t) : null, _t !== null && (Wr = w(_t), Bt = _t.tag, _t !== Wr || Bt !== 5 && Bt !== 27 && Bt !== 6) && (_t = null)) : (We = null, _t = Oe), We !== _t)) {
|
|
24296
|
+
if (Bt = tse, xe = "onMouseLeave", Dn = "onMouseEnter", ye = "mouse", (u === "pointerout" || u === "pointerover") && (Bt = rse, xe = "onPointerLeave", Dn = "onPointerEnter", ye = "pointer"), Wr = We == null ? je : $i(We), be = _t == null ? je : $i(_t), je = new Bt(xe, ye + "leave", We, g, De), je.target = Wr, je.relatedTarget = be, xe = null, kn(De) === Oe && (Bt = new Bt(Dn, ye + "enter", _t, g, De), Bt.target = be, Bt.relatedTarget = Wr, xe = Bt), Wr = xe, We && _t) t: {
|
|
24297
|
+
for (Bt = We, Dn = _t, ye = 0, be = Bt; be; be = m0(be)) ye++;
|
|
24298
24298
|
for (be = 0, xe = Dn; xe; xe = m0(xe)) be++;
|
|
24299
24299
|
for (; 0 < ye - be; ) Bt = m0(Bt), ye--;
|
|
24300
24300
|
for (; 0 < be - ye; ) Dn = m0(Dn), be--;
|
|
@@ -24305,7 +24305,7 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
24305
24305
|
Bt = null;
|
|
24306
24306
|
}
|
|
24307
24307
|
else Bt = null;
|
|
24308
|
-
We !== null && Yoe(Ve, je, We, Bt, false),
|
|
24308
|
+
We !== null && Yoe(Ve, je, We, Bt, false), _t !== null && Wr !== null && Yoe(Ve, Wr, _t, Bt, true);
|
|
24309
24309
|
}
|
|
24310
24310
|
}
|
|
24311
24311
|
e: {
|
|
@@ -24347,24 +24347,24 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
24347
24347
|
if (Z9) e: {
|
|
24348
24348
|
switch (u) {
|
|
24349
24349
|
case "compositionstart":
|
|
24350
|
-
var
|
|
24350
|
+
var Rt = "onCompositionStart";
|
|
24351
24351
|
break e;
|
|
24352
24352
|
case "compositionend":
|
|
24353
|
-
|
|
24353
|
+
Rt = "onCompositionEnd";
|
|
24354
24354
|
break e;
|
|
24355
24355
|
case "compositionupdate":
|
|
24356
|
-
|
|
24356
|
+
Rt = "onCompositionUpdate";
|
|
24357
24357
|
break e;
|
|
24358
24358
|
}
|
|
24359
|
-
|
|
24359
|
+
Rt = void 0;
|
|
24360
24360
|
}
|
|
24361
|
-
else k0 ? mre(u, g) && (
|
|
24362
|
-
|
|
24363
|
-
event:
|
|
24361
|
+
else k0 ? mre(u, g) && (Rt = "onCompositionEnd") : u === "keydown" && g.keyCode === ise && (Rt = "onCompositionStart");
|
|
24362
|
+
Rt && (ose && g.locale !== "ko" && (k0 || Rt !== "onCompositionStart" ? Rt === "onCompositionEnd" && k0 && (On = hre()) : (Rp = De, N9 = "value" in Rp ? Rp.value : Rp.textContent, k0 = true)), ht = XR(Oe, Rt), 0 < ht.length && (Rt = new nse(Rt, u, null, g, De), Ve.push({
|
|
24363
|
+
event: Rt,
|
|
24364
24364
|
listeners: ht
|
|
24365
|
-
}), On ?
|
|
24365
|
+
}), On ? Rt.data = On : (On = gre(g), On !== null && (Rt.data = On)))), (On = _He ? iFe(u, g) : oFe(u, g)) && (Rt = XR(Oe, "onBeforeInput"), 0 < Rt.length && (ht = new OHe("onBeforeInput", "beforeinput", null, g, De), Ve.push({
|
|
24366
24366
|
event: ht,
|
|
24367
|
-
listeners:
|
|
24367
|
+
listeners: Rt
|
|
24368
24368
|
}), ht.data = On)), GFe(Ve, u, Oe, g, De);
|
|
24369
24369
|
}
|
|
24370
24370
|
Voe(Ve, f);
|
|
@@ -24930,12 +24930,12 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
24930
24930
|
ere(u, je, We);
|
|
24931
24931
|
return;
|
|
24932
24932
|
case "option":
|
|
24933
|
-
for (var
|
|
24933
|
+
for (var _t in g) if (je = g[_t], g.hasOwnProperty(_t) && je != null && !S.hasOwnProperty(_t)) switch (_t) {
|
|
24934
24934
|
case "selected":
|
|
24935
24935
|
u.selected = false;
|
|
24936
24936
|
break;
|
|
24937
24937
|
default:
|
|
24938
|
-
qr(u, f,
|
|
24938
|
+
qr(u, f, _t, null, S, je);
|
|
24939
24939
|
}
|
|
24940
24940
|
for (ae in S) if (je = S[ae], We = g[ae], S.hasOwnProperty(ae) && je !== We && (je != null || We != null)) switch (ae) {
|
|
24941
24941
|
case "selected":
|
|
@@ -25980,7 +25980,7 @@ Check the render method of %s.`, j(Cl) || "Unknown")), S = gp(f), S.payload = {
|
|
|
25980
25980
|
}
|
|
25981
25981
|
function bBe() {
|
|
25982
25982
|
for (var u = /* @__PURE__ */ new Map(), f = 1, g = 0; 31 > g; g++) {
|
|
25983
|
-
var S =
|
|
25983
|
+
var S = Te(f);
|
|
25984
25984
|
u.set(f, S), f *= 2;
|
|
25985
25985
|
}
|
|
25986
25986
|
return u;
|
|
@@ -28735,7 +28735,7 @@ Check the top-level render call using <` + S + ">.");
|
|
|
28735
28735
|
}
|
|
28736
28736
|
}, VR.prototype.unstable_scheduleHydration = function(u) {
|
|
28737
28737
|
if (u) {
|
|
28738
|
-
var f =
|
|
28738
|
+
var f = kt();
|
|
28739
28739
|
u = {
|
|
28740
28740
|
blockedOn: null,
|
|
28741
28741
|
target: u,
|
|
@@ -31461,8 +31461,8 @@ ${n.join(`
|
|
|
31461
31461
|
"markdown",
|
|
31462
31462
|
"ipynb"
|
|
31463
31463
|
], ab = Ce({
|
|
31464
|
-
api_key:
|
|
31465
|
-
base_url:
|
|
31464
|
+
api_key: Pe().optional(),
|
|
31465
|
+
base_url: Pe().optional()
|
|
31466
31466
|
}).passthrough(), IPe = Ce({
|
|
31467
31467
|
completion: Ce({
|
|
31468
31468
|
activate_on_typing: et().default(true),
|
|
@@ -31474,7 +31474,7 @@ ${n.join(`
|
|
|
31474
31474
|
"custom"
|
|
31475
31475
|
])
|
|
31476
31476
|
]).default(false).transform((t) => t === true ? "github" : t),
|
|
31477
|
-
codeium_api_key:
|
|
31477
|
+
codeium_api_key: Pe().nullish()
|
|
31478
31478
|
}).passthrough().default({}),
|
|
31479
31479
|
save: Ce({
|
|
31480
31480
|
autosave: Wt([
|
|
@@ -31492,7 +31492,7 @@ ${n.join(`
|
|
|
31492
31492
|
"default",
|
|
31493
31493
|
"vim"
|
|
31494
31494
|
]).default("default"),
|
|
31495
|
-
overrides: tl(
|
|
31495
|
+
overrides: tl(Pe()).default({}),
|
|
31496
31496
|
destructive_delete: et().default(true)
|
|
31497
31497
|
}).passthrough().default({}),
|
|
31498
31498
|
runtime: Ce({
|
|
@@ -31511,7 +31511,7 @@ ${n.join(`
|
|
|
31511
31511
|
"autorun"
|
|
31512
31512
|
]).default("lazy"),
|
|
31513
31513
|
default_sql_output: Wt(YPe).default("auto"),
|
|
31514
|
-
default_auto_download:
|
|
31514
|
+
default_auto_download: Pt(Wt(NPe)).default([])
|
|
31515
31515
|
}).passthrough().default({}),
|
|
31516
31516
|
display: Ce({
|
|
31517
31517
|
theme: Wt([
|
|
@@ -31539,25 +31539,33 @@ ${n.join(`
|
|
|
31539
31539
|
manager: "pip"
|
|
31540
31540
|
}),
|
|
31541
31541
|
ai: Ce({
|
|
31542
|
-
rules:
|
|
31542
|
+
rules: Pe().default(""),
|
|
31543
31543
|
mode: Wt([
|
|
31544
31544
|
"manual",
|
|
31545
31545
|
"ask"
|
|
31546
31546
|
]).default("manual"),
|
|
31547
|
-
open_ai: ab.
|
|
31548
|
-
model: Te().optional()
|
|
31549
|
-
}).passthrough().optional(),
|
|
31547
|
+
open_ai: ab.optional(),
|
|
31550
31548
|
anthropic: ab.optional(),
|
|
31551
31549
|
google: ab.optional(),
|
|
31552
31550
|
ollama: ab.optional(),
|
|
31553
31551
|
open_ai_compatible: ab.optional(),
|
|
31554
31552
|
azure: ab.optional(),
|
|
31555
31553
|
bedrock: Ce({
|
|
31556
|
-
region_name:
|
|
31557
|
-
profile_name:
|
|
31558
|
-
aws_access_key_id:
|
|
31559
|
-
aws_secret_access_key:
|
|
31560
|
-
}).optional()
|
|
31554
|
+
region_name: Pe().optional(),
|
|
31555
|
+
profile_name: Pe().optional(),
|
|
31556
|
+
aws_access_key_id: Pe().optional(),
|
|
31557
|
+
aws_secret_access_key: Pe().optional()
|
|
31558
|
+
}).optional(),
|
|
31559
|
+
models: Ce({
|
|
31560
|
+
chat_model: Pe().nullish(),
|
|
31561
|
+
edit_model: Pe().nullish(),
|
|
31562
|
+
autocomplete_model: Pe().nullish(),
|
|
31563
|
+
displayed_models: Pt(Pe()).default([]),
|
|
31564
|
+
custom_models: Pt(Pe()).default([])
|
|
31565
|
+
}).default({
|
|
31566
|
+
displayed_models: [],
|
|
31567
|
+
custom_models: []
|
|
31568
|
+
})
|
|
31561
31569
|
}).passthrough().default({}),
|
|
31562
31570
|
experimental: Ce({
|
|
31563
31571
|
markdown: et().optional(),
|
|
@@ -31580,14 +31588,15 @@ ${n.join(`
|
|
|
31580
31588
|
ai: {
|
|
31581
31589
|
rules: "",
|
|
31582
31590
|
mode: "manual",
|
|
31583
|
-
open_ai: {}
|
|
31591
|
+
open_ai: {},
|
|
31592
|
+
models: {}
|
|
31584
31593
|
}
|
|
31585
|
-
}), COt =
|
|
31594
|
+
}), COt = Pe(), EOt = Wt(YPe).default("auto"), _I = Ce({
|
|
31586
31595
|
width: Wt(WPe).default("medium").transform((t) => t === "normal" ? "compact" : t),
|
|
31587
31596
|
app_title: COt.nullish(),
|
|
31588
|
-
css_file:
|
|
31589
|
-
html_head_file:
|
|
31590
|
-
auto_download:
|
|
31597
|
+
css_file: Pe().nullish(),
|
|
31598
|
+
html_head_file: Pe().nullish(),
|
|
31599
|
+
auto_download: Pt(Wt(NPe)).default([]),
|
|
31591
31600
|
sql_output: EOt
|
|
31592
31601
|
}).default({
|
|
31593
31602
|
width: "medium",
|
|
@@ -31637,8 +31646,8 @@ ${n.join(`
|
|
|
31637
31646
|
const VOt = ct((t) => WOt(t(sp)));
|
|
31638
31647
|
ct((t) => t(sp).display.code_editor_font_size);
|
|
31639
31648
|
function WOt(t) {
|
|
31640
|
-
var _a3, _b2, _c, _d, _e, _f2, _g2, _h2;
|
|
31641
|
-
return !!((_b2 = (_a3 = t.ai) == null ? void 0 : _a3.open_ai) == null ? void 0 : _b2.api_key) || !!((_d = (_c = t.ai) == null ? void 0 : _c.anthropic) == null ? void 0 : _d.api_key) || !!((_f2 = (_e = t.ai) == null ? void 0 : _e.google) == null ? void 0 : _f2.api_key) || !!((_h2 = (_g2 = t.ai) == null ? void 0 : _g2.
|
|
31649
|
+
var _a3, _b2, _c, _d, _e, _f2, _g2, _h2, _i2, _j2, _k2, _l, _m2, _n;
|
|
31650
|
+
return !!((_b2 = (_a3 = t.ai) == null ? void 0 : _a3.open_ai) == null ? void 0 : _b2.api_key) || !!((_d = (_c = t.ai) == null ? void 0 : _c.anthropic) == null ? void 0 : _d.api_key) || !!((_f2 = (_e = t.ai) == null ? void 0 : _e.google) == null ? void 0 : _f2.api_key) || !!((_h2 = (_g2 = t.ai) == null ? void 0 : _g2.azure) == null ? void 0 : _h2.api_key) || !!((_j2 = (_i2 = t.ai) == null ? void 0 : _i2.ollama) == null ? void 0 : _j2.api_key) || !!((_l = (_k2 = t.ai) == null ? void 0 : _k2.open_ai_compatible) == null ? void 0 : _l.api_key) || !!((_n = (_m2 = t.ai) == null ? void 0 : _m2.bedrock) == null ? void 0 : _n.profile_name);
|
|
31642
31651
|
}
|
|
31643
31652
|
const YOt = ct(jOt({}));
|
|
31644
31653
|
ct((t) => t(YOt).width);
|
|
@@ -32633,14 +32642,14 @@ ${n.join(`
|
|
|
32633
32642
|
case O:
|
|
32634
32643
|
return de;
|
|
32635
32644
|
default:
|
|
32636
|
-
var
|
|
32637
|
-
switch (
|
|
32645
|
+
var Te = de && de.$$typeof;
|
|
32646
|
+
switch (Te) {
|
|
32638
32647
|
case s:
|
|
32639
32648
|
case d:
|
|
32640
32649
|
case $:
|
|
32641
32650
|
case p:
|
|
32642
32651
|
case a:
|
|
32643
|
-
return
|
|
32652
|
+
return Te;
|
|
32644
32653
|
default:
|
|
32645
32654
|
return oe;
|
|
32646
32655
|
}
|
|
@@ -35720,7 +35729,7 @@ try {
|
|
|
35720
35729
|
b
|
|
35721
35730
|
]), V = N[e], L = V || N, { colorSchemes: B = O, components: K = h, cssVarPrefix: ie } = L, te = Object.keys(B).filter((Qe) => !!B[Qe]).join(","), le = k.useMemo(() => te.split(","), [
|
|
35722
35731
|
te
|
|
35723
|
-
]), ce = typeof a == "string" ? a : a.light, H = typeof a == "string" ? a : a.dark, ne = B[ce] && B[H] ? D : ((_b2 = (_a3 = B[L.defaultColorScheme]) == null ? void 0 : _a3.palette) == null ? void 0 : _b2.mode) || ((_c = L.palette) == null ? void 0 : _c.mode), { mode: me, setMode: J, systemMode: Z, lightColorScheme: oe, darkColorScheme: de, colorScheme:
|
|
35732
|
+
]), ce = typeof a == "string" ? a : a.light, H = typeof a == "string" ? a : a.dark, ne = B[ce] && B[H] ? D : ((_b2 = (_a3 = B[L.defaultColorScheme]) == null ? void 0 : _a3.palette) == null ? void 0 : _b2.mode) || ((_c = L.palette) == null ? void 0 : _c.mode), { mode: me, setMode: J, systemMode: Z, lightColorScheme: oe, darkColorScheme: de, colorScheme: Te, setColorScheme: we } = sgt({
|
|
35724
35733
|
supportedColorSchemes: le,
|
|
35725
35734
|
defaultLightColorScheme: ce,
|
|
35726
35735
|
defaultDarkColorScheme: H,
|
|
@@ -35731,7 +35740,7 @@ try {
|
|
|
35731
35740
|
storageWindow: C,
|
|
35732
35741
|
noSsr: U
|
|
35733
35742
|
});
|
|
35734
|
-
let Xe = me, ee =
|
|
35743
|
+
let Xe = me, ee = Te;
|
|
35735
35744
|
M && (Xe = W.mode, ee = W.colorScheme);
|
|
35736
35745
|
const he = k.useMemo(() => {
|
|
35737
35746
|
var _a4;
|
|
@@ -37581,8 +37590,8 @@ To suppress this warning, you need to explicitly provide the \`palette.${e}Chann
|
|
|
37581
37590
|
const r = wH({
|
|
37582
37591
|
props: e,
|
|
37583
37592
|
name: "MuiInputBase"
|
|
37584
|
-
}), { "aria-describedby": i, autoComplete: o, autoFocus: a, className: s, color: l, components: c = {}, componentsProps: d = {}, defaultValue: O, disabled: h, disableInjectingGlobalStyles: p, endAdornment: $, error: y, fullWidth: v = false, id: w, inputComponent: x = "input", inputProps: b = {}, inputRef: P, margin: Q, maxRows: T, minRows: _, multiline: C = false, name: j, onBlur: X, onChange: E, onClick: z, onFocus: D, onKeyDown: U, onKeyUp: G, placeholder: Y, readOnly: W, renderSuffix: M, rows: N, size: V, slotProps: L = {}, slots: B = {}, startAdornment: K, type: ie = "text", value: te, ...le } = r, ce = b.value != null ? b.value : te, { current: H } = k.useRef(ce != null), ne = k.useRef(), me = k.useCallback((
|
|
37585
|
-
|
|
37593
|
+
}), { "aria-describedby": i, autoComplete: o, autoFocus: a, className: s, color: l, components: c = {}, componentsProps: d = {}, defaultValue: O, disabled: h, disableInjectingGlobalStyles: p, endAdornment: $, error: y, fullWidth: v = false, id: w, inputComponent: x = "input", inputProps: b = {}, inputRef: P, margin: Q, maxRows: T, minRows: _, multiline: C = false, name: j, onBlur: X, onChange: E, onClick: z, onFocus: D, onKeyDown: U, onKeyUp: G, placeholder: Y, readOnly: W, renderSuffix: M, rows: N, size: V, slotProps: L = {}, slots: B = {}, startAdornment: K, type: ie = "text", value: te, ...le } = r, ce = b.value != null ? b.value : te, { current: H } = k.useRef(ce != null), ne = k.useRef(), me = k.useCallback((kt) => {
|
|
37594
|
+
kt && kt.nodeName !== "INPUT" && !kt.focus && console.error([
|
|
37586
37595
|
"MUI: You have provided a `inputComponent` to the input component",
|
|
37587
37596
|
"that does not correctly handle the `ref` prop.",
|
|
37588
37597
|
"Make sure the `ref` prop is called with a HTMLInputElement."
|
|
@@ -37594,7 +37603,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${e}Chann
|
|
|
37594
37603
|
}, [
|
|
37595
37604
|
de
|
|
37596
37605
|
]);
|
|
37597
|
-
const
|
|
37606
|
+
const Te = s$t({
|
|
37598
37607
|
props: r,
|
|
37599
37608
|
muiFormControl: de,
|
|
37600
37609
|
states: [
|
|
@@ -37607,7 +37616,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${e}Chann
|
|
|
37607
37616
|
"filled"
|
|
37608
37617
|
]
|
|
37609
37618
|
});
|
|
37610
|
-
|
|
37619
|
+
Te.focused = de ? de.focused : Z, k.useEffect(() => {
|
|
37611
37620
|
!de && h && Z && (oe(false), X && X());
|
|
37612
37621
|
}, [
|
|
37613
37622
|
de,
|
|
@@ -37615,8 +37624,8 @@ To suppress this warning, you need to explicitly provide the \`palette.${e}Chann
|
|
|
37615
37624
|
Z,
|
|
37616
37625
|
X
|
|
37617
37626
|
]);
|
|
37618
|
-
const we = de && de.onFilled, Xe = de && de.onEmpty, ee = k.useCallback((
|
|
37619
|
-
c$t(
|
|
37627
|
+
const we = de && de.onFilled, Xe = de && de.onEmpty, ee = k.useCallback((kt) => {
|
|
37628
|
+
c$t(kt) ? we && we() : Xe && Xe();
|
|
37620
37629
|
}, [
|
|
37621
37630
|
we,
|
|
37622
37631
|
Xe
|
|
@@ -37630,25 +37639,25 @@ To suppress this warning, you need to explicitly provide the \`palette.${e}Chann
|
|
|
37630
37639
|
ee,
|
|
37631
37640
|
H
|
|
37632
37641
|
]);
|
|
37633
|
-
const he = (
|
|
37634
|
-
D && D(
|
|
37635
|
-
}, ge = (
|
|
37636
|
-
X && X(
|
|
37637
|
-
}, Se = (
|
|
37642
|
+
const he = (kt) => {
|
|
37643
|
+
D && D(kt), b.onFocus && b.onFocus(kt), de && de.onFocus ? de.onFocus(kt) : oe(true);
|
|
37644
|
+
}, ge = (kt) => {
|
|
37645
|
+
X && X(kt), b.onBlur && b.onBlur(kt), de && de.onBlur ? de.onBlur(kt) : oe(false);
|
|
37646
|
+
}, Se = (kt, ...gt) => {
|
|
37638
37647
|
if (!H) {
|
|
37639
|
-
const bn =
|
|
37648
|
+
const bn = kt.target || ne.current;
|
|
37640
37649
|
if (bn == null) throw new Error("MUI: Expected valid input target. Did you use a custom `inputComponent` and forget to forward refs? See https://mui.com/r/input-component-ref-interface for more info.");
|
|
37641
37650
|
ee({
|
|
37642
37651
|
value: bn.value
|
|
37643
37652
|
});
|
|
37644
37653
|
}
|
|
37645
|
-
b.onChange && b.onChange(
|
|
37654
|
+
b.onChange && b.onChange(kt, ...gt), E && E(kt, ...gt);
|
|
37646
37655
|
};
|
|
37647
37656
|
k.useEffect(() => {
|
|
37648
37657
|
ee(ne.current);
|
|
37649
37658
|
}, []);
|
|
37650
|
-
const Ee = (
|
|
37651
|
-
ne.current &&
|
|
37659
|
+
const Ee = (kt) => {
|
|
37660
|
+
ne.current && kt.currentTarget === kt.target && ne.current.focus(), z && z(kt);
|
|
37652
37661
|
};
|
|
37653
37662
|
let _e = x, Qe = b;
|
|
37654
37663
|
C && _e === "input" && (N ? ((_ || T) && console.warn("MUI: You can not use the `minRows` or `maxRows` props when the input `rows` prop is set."), Qe = {
|
|
@@ -37662,8 +37671,8 @@ To suppress this warning, you need to explicitly provide the \`palette.${e}Chann
|
|
|
37662
37671
|
minRows: _,
|
|
37663
37672
|
...Qe
|
|
37664
37673
|
}, _e = B5e);
|
|
37665
|
-
const Re = (
|
|
37666
|
-
ee(
|
|
37674
|
+
const Re = (kt) => {
|
|
37675
|
+
ee(kt.animationName === "mui-auto-fill-cancel" ? ne.current : {
|
|
37667
37676
|
value: "x"
|
|
37668
37677
|
});
|
|
37669
37678
|
};
|
|
@@ -37675,16 +37684,16 @@ To suppress this warning, you need to explicitly provide the \`palette.${e}Chann
|
|
|
37675
37684
|
]);
|
|
37676
37685
|
const Ie = {
|
|
37677
37686
|
...r,
|
|
37678
|
-
color:
|
|
37679
|
-
disabled:
|
|
37687
|
+
color: Te.color || "primary",
|
|
37688
|
+
disabled: Te.disabled,
|
|
37680
37689
|
endAdornment: $,
|
|
37681
|
-
error:
|
|
37682
|
-
focused:
|
|
37690
|
+
error: Te.error,
|
|
37691
|
+
focused: Te.focused,
|
|
37683
37692
|
formControl: de,
|
|
37684
37693
|
fullWidth: v,
|
|
37685
|
-
hiddenLabel:
|
|
37694
|
+
hiddenLabel: Te.hiddenLabel,
|
|
37686
37695
|
multiline: C,
|
|
37687
|
-
size:
|
|
37696
|
+
size: Te.size,
|
|
37688
37697
|
startAdornment: K,
|
|
37689
37698
|
type: ie
|
|
37690
37699
|
}, Le = O$t(Ie), He = B.root || c.Root || h$t, Qt = L.root || d.root || {}, Lt = B.input || c.Input || p$t;
|
|
@@ -37711,18 +37720,18 @@ To suppress this warning, you need to explicitly provide the \`palette.${e}Chann
|
|
|
37711
37720
|
m.jsx(SH.Provider, {
|
|
37712
37721
|
value: null,
|
|
37713
37722
|
children: m.jsx(Lt, {
|
|
37714
|
-
"aria-invalid":
|
|
37723
|
+
"aria-invalid": Te.error,
|
|
37715
37724
|
"aria-describedby": i,
|
|
37716
37725
|
autoComplete: o,
|
|
37717
37726
|
autoFocus: a,
|
|
37718
37727
|
defaultValue: O,
|
|
37719
|
-
disabled:
|
|
37728
|
+
disabled: Te.disabled,
|
|
37720
37729
|
id: w,
|
|
37721
37730
|
onAnimationStart: Re,
|
|
37722
37731
|
name: j,
|
|
37723
37732
|
placeholder: Y,
|
|
37724
37733
|
readOnly: W,
|
|
37725
|
-
required:
|
|
37734
|
+
required: Te.required,
|
|
37726
37735
|
rows: N,
|
|
37727
37736
|
value: ce,
|
|
37728
37737
|
onKeyDown: U,
|
|
@@ -37745,7 +37754,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${e}Chann
|
|
|
37745
37754
|
}),
|
|
37746
37755
|
$,
|
|
37747
37756
|
M ? M({
|
|
37748
|
-
...
|
|
37757
|
+
...Te,
|
|
37749
37758
|
startAdornment: K
|
|
37750
37759
|
}) : null
|
|
37751
37760
|
]
|
|
@@ -39110,7 +39119,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${e}Chann
|
|
|
39110
39119
|
}, [
|
|
39111
39120
|
E,
|
|
39112
39121
|
w
|
|
39113
|
-
]),
|
|
39122
|
+
]), Te = k.useCallback((Se) => {
|
|
39114
39123
|
if (E(false), !!O) try {
|
|
39115
39124
|
z(r, e, O(Se));
|
|
39116
39125
|
} catch {
|
|
@@ -39136,7 +39145,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${e}Chann
|
|
|
39136
39145
|
sx: {
|
|
39137
39146
|
fontSize: ".8rem"
|
|
39138
39147
|
},
|
|
39139
|
-
onClick: () =>
|
|
39148
|
+
onClick: () => Te(v)
|
|
39140
39149
|
})
|
|
39141
39150
|
})
|
|
39142
39151
|
]
|
|
@@ -39208,7 +39217,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${e}Chann
|
|
|
39208
39217
|
te,
|
|
39209
39218
|
oe,
|
|
39210
39219
|
de,
|
|
39211
|
-
|
|
39220
|
+
Te
|
|
39212
39221
|
]), Xe = k.useMemo(() => Qk(e) === 0, [
|
|
39213
39222
|
e
|
|
39214
39223
|
]), ee = !Xe && !!(s && l), he = un((Se) => Se.keyRenderer), ge = k.useMemo(() => ({
|
|
@@ -39330,7 +39339,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${e}Chann
|
|
|
39330
39339
|
value: v,
|
|
39331
39340
|
setValue: w,
|
|
39332
39341
|
abortEditing: de,
|
|
39333
|
-
commitEditing:
|
|
39342
|
+
commitEditing: Te
|
|
39334
39343
|
}) : a ? m.jsx(a, {
|
|
39335
39344
|
...ge
|
|
39336
39345
|
}) : m.jsx(Zi, {
|
|
@@ -42592,7 +42601,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/alert-
|
|
|
42592
42601
|
size: "sm"
|
|
42593
42602
|
}
|
|
42594
42603
|
});
|
|
42595
|
-
|
|
42604
|
+
Tt = k.forwardRef((t, e) => {
|
|
42596
42605
|
const n = se.c(19);
|
|
42597
42606
|
let r, i, o, a, s, l;
|
|
42598
42607
|
n[0] !== t ? ({ className: r, variant: l, size: a, asChild: s, keyboardShortcut: i, ...o } = t, n[0] = t, n[1] = r, n[2] = i, n[3] = o, n[4] = a, n[5] = s, n[6] = l) : (r = n[1], i = n[2], o = n[3], a = n[4], s = n[5], l = n[6]);
|
|
@@ -42618,7 +42627,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/alert-
|
|
|
42618
42627
|
...o
|
|
42619
42628
|
}), n[15] = $, n[16] = o, n[17] = y, n[18] = v) : v = n[18], v;
|
|
42620
42629
|
});
|
|
42621
|
-
|
|
42630
|
+
Tt.displayName = "Button";
|
|
42622
42631
|
function dbt() {
|
|
42623
42632
|
const t = se.c(1), [e, n] = k.useState(document.fullscreenElement);
|
|
42624
42633
|
let r;
|
|
@@ -42812,9 +42821,9 @@ For more information, see https://radix-ui.com/primitives/docs/components/alert-
|
|
|
42812
42821
|
});
|
|
42813
42822
|
pbt.displayName = dke.displayName;
|
|
42814
42823
|
const MI = Ce({
|
|
42815
|
-
detail:
|
|
42824
|
+
detail: Pe()
|
|
42816
42825
|
}), wke = Ce({
|
|
42817
|
-
error:
|
|
42826
|
+
error: Pe()
|
|
42818
42827
|
});
|
|
42819
42828
|
function mbt(t) {
|
|
42820
42829
|
if (!t) return "Unknown error";
|
|
@@ -43061,8 +43070,8 @@ For more information, see https://radix-ui.com/primitives/docs/components/alert-
|
|
|
43061
43070
|
}
|
|
43062
43071
|
}
|
|
43063
43072
|
Hz._modelManager = xke;
|
|
43064
|
-
const JU =
|
|
43065
|
-
|
|
43073
|
+
const JU = Pt(Pt(Gn([
|
|
43074
|
+
Pe(),
|
|
43066
43075
|
Je()
|
|
43067
43076
|
]))), eV = tl(vg()), vbt = Fat("method", [
|
|
43068
43077
|
Ce({
|
|
@@ -43088,11 +43097,11 @@ For more information, see https://radix-ui.com/primitives/docs/components/alert-
|
|
|
43088
43097
|
method: fi("close")
|
|
43089
43098
|
})
|
|
43090
43099
|
]), wbt = md("marimo-anywidget").withData(Ce({
|
|
43091
|
-
jsUrl:
|
|
43092
|
-
jsHash:
|
|
43093
|
-
css:
|
|
43094
|
-
bufferPaths:
|
|
43095
|
-
|
|
43100
|
+
jsUrl: Pe(),
|
|
43101
|
+
jsHash: Pe(),
|
|
43102
|
+
css: Pe().nullish(),
|
|
43103
|
+
bufferPaths: Pt(Pt(Gn([
|
|
43104
|
+
Pe(),
|
|
43096
43105
|
Je()
|
|
43097
43106
|
]))).nullish(),
|
|
43098
43107
|
initialValue: Ce({}).passthrough()
|
|
@@ -44655,16 +44664,16 @@ For more information, see https://radix-ui.com/primitives/docs/components/alert-
|
|
|
44655
44664
|
class awt {
|
|
44656
44665
|
constructor() {
|
|
44657
44666
|
this.tagName = "marimo-button", this.validator = Ce({
|
|
44658
|
-
label:
|
|
44667
|
+
label: Pe(),
|
|
44659
44668
|
kind: C_e,
|
|
44660
44669
|
disabled: et().default(false),
|
|
44661
44670
|
fullWidth: et().default(false),
|
|
44662
|
-
tooltip:
|
|
44663
|
-
keyboardShortcut:
|
|
44671
|
+
tooltip: Pe().optional(),
|
|
44672
|
+
keyboardShortcut: Pe().optional()
|
|
44664
44673
|
});
|
|
44665
44674
|
}
|
|
44666
44675
|
render(e) {
|
|
44667
|
-
const { data: { disabled: n, kind: r, label: i, fullWidth: o, tooltip: a, keyboardShortcut: s } } = e, l = m.jsx(
|
|
44676
|
+
const { data: { disabled: n, kind: r, label: i, fullWidth: o, tooltip: a, keyboardShortcut: s } } = e, l = m.jsx(Tt, {
|
|
44668
44677
|
"data-testid": "marimo-plugin-button",
|
|
44669
44678
|
variant: swt(r),
|
|
44670
44679
|
disabled: n,
|
|
@@ -44956,7 +44965,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/alert-
|
|
|
44956
44965
|
constructor() {
|
|
44957
44966
|
this.tagName = "marimo-checkbox", this.validator = Ce({
|
|
44958
44967
|
initialValue: et(),
|
|
44959
|
-
label:
|
|
44968
|
+
label: Pe().nullable(),
|
|
44960
44969
|
disabled: et().optional()
|
|
44961
44970
|
});
|
|
44962
44971
|
}
|
|
@@ -53660,18 +53669,18 @@ For more information, see https://radix-ui.com/primitives/docs/components/alert-
|
|
|
53660
53669
|
let i, o;
|
|
53661
53670
|
return n[0] !== e || n[1] !== r ? (o = wPe(r, e), n[0] = e, n[1] = r, n[2] = o) : o = n[2], i = o, i;
|
|
53662
53671
|
}
|
|
53663
|
-
const $4e = k.lazy(() => import("./any-language-editor-
|
|
53672
|
+
const $4e = k.lazy(() => import("./any-language-editor-BEZBVKTd.js"));
|
|
53664
53673
|
class pQt {
|
|
53665
53674
|
constructor() {
|
|
53666
53675
|
this.tagName = "marimo-code-editor", this.validator = Ce({
|
|
53667
|
-
initialValue:
|
|
53668
|
-
language:
|
|
53669
|
-
placeholder:
|
|
53676
|
+
initialValue: Pe(),
|
|
53677
|
+
language: Pe().default("python"),
|
|
53678
|
+
placeholder: Pe(),
|
|
53670
53679
|
theme: Wt([
|
|
53671
53680
|
"light",
|
|
53672
53681
|
"dark"
|
|
53673
53682
|
]).optional(),
|
|
53674
|
-
label:
|
|
53683
|
+
label: Pe().nullable(),
|
|
53675
53684
|
disabled: et().optional(),
|
|
53676
53685
|
minHeight: Je().optional(),
|
|
53677
53686
|
maxHeight: Je().optional(),
|
|
@@ -55285,8 +55294,8 @@ Error message: ${w4e(n)}`,
|
|
|
55285
55294
|
dedupe: true
|
|
55286
55295
|
}, Y2t = (t, e, n) => {
|
|
55287
55296
|
const { cache: r, compare: i, suspense: o, fallbackData: a, revalidateOnMount: s, revalidateIfStale: l, refreshInterval: c, refreshWhenHidden: d, refreshWhenOffline: O, keepPreviousData: h } = n, [p, $, y, v] = wh.get(r), [w, x] = $K(t), b = k.useRef(false), P = k.useRef(false), Q = k.useRef(w), T = k.useRef(e), _ = k.useRef(n), C = () => _.current, j = () => C().isVisible() && C().isOnline(), [X, E, z, D] = A4e(r, w), U = k.useRef({}).current, G = Bn(a) ? Bn(n.fallback) ? Qs : n.fallback[w] : a, Y = (oe, de) => {
|
|
55288
|
-
for (const
|
|
55289
|
-
const we =
|
|
55297
|
+
for (const Te in U) {
|
|
55298
|
+
const we = Te;
|
|
55290
55299
|
if (we === "data") {
|
|
55291
55300
|
if (!i(oe[we], de[we]) && (!Bn(oe[we]) || !i(te, de[we]))) return false;
|
|
55292
55301
|
} else if (de[we] !== oe[we]) return false;
|
|
@@ -55300,7 +55309,7 @@ Error message: ${w4e(n)}`,
|
|
|
55300
55309
|
isLoading: true,
|
|
55301
55310
|
...Se
|
|
55302
55311
|
} : Se;
|
|
55303
|
-
},
|
|
55312
|
+
}, Te = X(), we = D(), Xe = de(Te), ee = Te === we ? Xe : de(we);
|
|
55304
55313
|
let he = Xe;
|
|
55305
55314
|
return [
|
|
55306
55315
|
() => {
|
|
@@ -55312,15 +55321,15 @@ Error message: ${w4e(n)}`,
|
|
|
55312
55321
|
}, [
|
|
55313
55322
|
r,
|
|
55314
55323
|
w
|
|
55315
|
-
]), M = O2t.useSyncExternalStore(k.useCallback((oe) => z(w, (de,
|
|
55316
|
-
Y(
|
|
55324
|
+
]), M = O2t.useSyncExternalStore(k.useCallback((oe) => z(w, (de, Te) => {
|
|
55325
|
+
Y(Te, de) || oe();
|
|
55317
55326
|
}), [
|
|
55318
55327
|
r,
|
|
55319
55328
|
w
|
|
55320
55329
|
]), W[0], W[1]), N = !b.current, V = p[w] && p[w].length > 0, L = M.data, B = Bn(L) ? G && D4e(G) ? bV(G) : G : L, K = M.error, ie = k.useRef(B), te = h ? Bn(L) ? Bn(ie.current) ? B : ie.current : L : B, le = V && !Bn(K) ? false : N && !Bn(s) ? s : C().isPaused() ? false : o ? Bn(B) ? false : l : Bn(B) || l, ce = !!(w && e && N && le), H = Bn(M.isValidating) ? ce : M.isValidating, ne = Bn(M.isLoading) ? ce : M.isLoading, me = k.useCallback(async (oe) => {
|
|
55321
55330
|
const de = T.current;
|
|
55322
55331
|
if (!w || !de || P.current || C().isPaused()) return false;
|
|
55323
|
-
let
|
|
55332
|
+
let Te, we, Xe = true;
|
|
55324
55333
|
const ee = oe || {}, he = !y[w] || !ee.dedupe, ge = () => uhe ? !P.current && w === Q.current && b.current : w === Q.current, Se = {
|
|
55325
55334
|
isValidating: false,
|
|
55326
55335
|
isLoading: false
|
|
@@ -55339,12 +55348,12 @@ Error message: ${w4e(n)}`,
|
|
|
55339
55348
|
}, n.loadingTimeout), y[w] = [
|
|
55340
55349
|
de(x),
|
|
55341
55350
|
NG()
|
|
55342
|
-
]), [
|
|
55351
|
+
]), [Te, we] = y[w], Te = await Te, he && setTimeout(_e, n.dedupingInterval), !y[w] || y[w][1] !== we) return he && ge() && C().onDiscarded(w), false;
|
|
55343
55352
|
Se.error = Qs;
|
|
55344
55353
|
const Re = $[w];
|
|
55345
55354
|
if (!Bn(Re) && (we <= Re[0] || we <= Re[1] || Re[1] === 0)) return Ee(), he && ge() && C().onDiscarded(w), false;
|
|
55346
55355
|
const Ie = X().data;
|
|
55347
|
-
Se.data = i(Ie,
|
|
55356
|
+
Se.data = i(Ie, Te) ? Ie : Te, he && ge() && C().onSuccess(Te, w, n);
|
|
55348
55357
|
} catch (Re) {
|
|
55349
55358
|
_e();
|
|
55350
55359
|
const Ie = C(), { shouldRetryOnError: Le } = Ie;
|
|
@@ -55389,9 +55398,9 @@ Error message: ${w4e(n)}`,
|
|
|
55389
55398
|
let oe;
|
|
55390
55399
|
function de() {
|
|
55391
55400
|
const we = Of(c) ? c(X().data) : c;
|
|
55392
|
-
we && oe !== -1 && (oe = setTimeout(
|
|
55401
|
+
we && oe !== -1 && (oe = setTimeout(Te, we));
|
|
55393
55402
|
}
|
|
55394
|
-
function
|
|
55403
|
+
function Te() {
|
|
55395
55404
|
!X().error && (d || C().isVisible()) && (O || C().isOnline()) ? me(vV).then(de) : de();
|
|
55396
55405
|
}
|
|
55397
55406
|
return de(), () => {
|
|
@@ -55511,7 +55520,7 @@ Error message: ${w4e(n)}`,
|
|
|
55511
55520
|
$
|
|
55512
55521
|
]);
|
|
55513
55522
|
const V = k.useCallback(async (Z, oe = "generate") => {
|
|
55514
|
-
var de,
|
|
55523
|
+
var de, Te;
|
|
55515
55524
|
G("submitted"), W(void 0);
|
|
55516
55525
|
const we = pV(Z.messages), Xe = we.length, ee = jG((de = we[we.length - 1]) == null ? void 0 : de.toolInvocations);
|
|
55517
55526
|
try {
|
|
@@ -55519,7 +55528,7 @@ Error message: ${w4e(n)}`,
|
|
|
55519
55528
|
M.current = ge;
|
|
55520
55529
|
const Se = hhe(j, x), Ee = hhe(z, x), _e = X.current;
|
|
55521
55530
|
Se(we, false);
|
|
55522
|
-
const Qe = i ? we : we.map(({ role: Ie, content: Le, experimental_attachments: He, data: Qt, annotations: Lt, toolInvocations:
|
|
55531
|
+
const Qe = i ? we : we.map(({ role: Ie, content: Le, experimental_attachments: He, data: Qt, annotations: Lt, toolInvocations: kt, parts: gt }) => ({
|
|
55523
55532
|
role: Ie,
|
|
55524
55533
|
content: Le,
|
|
55525
55534
|
...He !== void 0 && {
|
|
@@ -55531,8 +55540,8 @@ Error message: ${w4e(n)}`,
|
|
|
55531
55540
|
...Lt !== void 0 && {
|
|
55532
55541
|
annotations: Lt
|
|
55533
55542
|
},
|
|
55534
|
-
...
|
|
55535
|
-
toolInvocations:
|
|
55543
|
+
...kt !== void 0 && {
|
|
55544
|
+
toolInvocations: kt
|
|
55536
55545
|
},
|
|
55537
55546
|
...gt !== void 0 && {
|
|
55538
55547
|
parts: gt
|
|
@@ -55540,12 +55549,12 @@ Error message: ${w4e(n)}`,
|
|
|
55540
55549
|
})), Re = D.current;
|
|
55541
55550
|
await u2t({
|
|
55542
55551
|
api: t,
|
|
55543
|
-
body: (
|
|
55552
|
+
body: (Te = a == null ? void 0 : a({
|
|
55544
55553
|
id: P,
|
|
55545
55554
|
messages: we,
|
|
55546
55555
|
requestData: Z.data,
|
|
55547
55556
|
requestBody: Z.body
|
|
55548
|
-
})) != null ?
|
|
55557
|
+
})) != null ? Te : {
|
|
55549
55558
|
id: P,
|
|
55550
55559
|
messages: Qe,
|
|
55551
55560
|
data: Z.data,
|
|
@@ -55615,7 +55624,7 @@ Error message: ${w4e(n)}`,
|
|
|
55615
55624
|
w,
|
|
55616
55625
|
x,
|
|
55617
55626
|
P
|
|
55618
|
-
]), L = k.useCallback(async (Z, { data: oe, headers: de, body:
|
|
55627
|
+
]), L = k.useCallback(async (Z, { data: oe, headers: de, body: Te, experimental_attachments: we = Z.experimental_attachments } = {}) => {
|
|
55619
55628
|
var Xe, ee;
|
|
55620
55629
|
const he = await she(we), ge = X.current.concat({
|
|
55621
55630
|
...Z,
|
|
@@ -55627,18 +55636,18 @@ Error message: ${w4e(n)}`,
|
|
|
55627
55636
|
return V({
|
|
55628
55637
|
messages: ge,
|
|
55629
55638
|
headers: de,
|
|
55630
|
-
body:
|
|
55639
|
+
body: Te,
|
|
55631
55640
|
data: oe
|
|
55632
55641
|
});
|
|
55633
55642
|
}, [
|
|
55634
55643
|
V,
|
|
55635
55644
|
y
|
|
55636
55645
|
]), B = k.useCallback(async ({ data: Z, headers: oe, body: de } = {}) => {
|
|
55637
|
-
const
|
|
55638
|
-
if (
|
|
55639
|
-
const we =
|
|
55646
|
+
const Te = X.current;
|
|
55647
|
+
if (Te.length === 0) return null;
|
|
55648
|
+
const we = Te[Te.length - 1];
|
|
55640
55649
|
return V({
|
|
55641
|
-
messages: we.role === "assistant" ?
|
|
55650
|
+
messages: we.role === "assistant" ? Te.slice(0, -1) : Te,
|
|
55642
55651
|
headers: oe,
|
|
55643
55652
|
body: de,
|
|
55644
55653
|
data: Z
|
|
@@ -55665,8 +55674,8 @@ Error message: ${w4e(n)}`,
|
|
|
55665
55674
|
}, [
|
|
55666
55675
|
z
|
|
55667
55676
|
]), [ce, H] = k.useState(r), ne = k.useCallback(async (Z, oe = {}, de) => {
|
|
55668
|
-
var
|
|
55669
|
-
if ((
|
|
55677
|
+
var Te;
|
|
55678
|
+
if ((Te = Z == null ? void 0 : Z.preventDefault) == null || Te.call(Z), !ce && !oe.allowEmptySubmit) return;
|
|
55670
55679
|
de && (N.current = {
|
|
55671
55680
|
...N.current,
|
|
55672
55681
|
...de
|
|
@@ -55708,8 +55717,8 @@ Error message: ${w4e(n)}`,
|
|
|
55708
55717
|
...de[de.length - 1]
|
|
55709
55718
|
}
|
|
55710
55719
|
], false), U === "submitted" || U === "streaming") return;
|
|
55711
|
-
const
|
|
55712
|
-
E4e(
|
|
55720
|
+
const Te = de[de.length - 1];
|
|
55721
|
+
E4e(Te) && V({
|
|
55713
55722
|
messages: de
|
|
55714
55723
|
});
|
|
55715
55724
|
}, [
|
|
@@ -75408,7 +75417,7 @@ ${$}`);
|
|
|
75408
75417
|
const K = /* @__PURE__ */ new Map();
|
|
75409
75418
|
let ie;
|
|
75410
75419
|
const te = /* @__PURE__ */ new Map(), le = /* @__PURE__ */ new Map();
|
|
75411
|
-
let ce, H = new i.LinkedMap(), ne = /* @__PURE__ */ new Map(), me = /* @__PURE__ */ new Set(), J = /* @__PURE__ */ new Map(), Z = h.Off, oe = $.Text, de,
|
|
75420
|
+
let ce, H = new i.LinkedMap(), ne = /* @__PURE__ */ new Map(), me = /* @__PURE__ */ new Set(), J = /* @__PURE__ */ new Map(), Z = h.Off, oe = $.Text, de, Te = E.New;
|
|
75412
75421
|
const we = new o.Emitter(), Xe = new o.Emitter(), ee = new o.Emitter(), he = new o.Emitter(), ge = new o.Emitter(), Se = Y && Y.cancellationStrategy ? Y.cancellationStrategy : C.Message;
|
|
75413
75422
|
function Ee(fe) {
|
|
75414
75423
|
if (fe === null) throw new Error("Can't send requests with id null since the response can't be correlated.");
|
|
@@ -75426,18 +75435,18 @@ ${$}`);
|
|
|
75426
75435
|
function Ie(fe) {
|
|
75427
75436
|
}
|
|
75428
75437
|
function Le() {
|
|
75429
|
-
return
|
|
75438
|
+
return Te === E.Listening;
|
|
75430
75439
|
}
|
|
75431
75440
|
function He() {
|
|
75432
|
-
return
|
|
75441
|
+
return Te === E.Closed;
|
|
75433
75442
|
}
|
|
75434
75443
|
function Qt() {
|
|
75435
|
-
return
|
|
75444
|
+
return Te === E.Disposed;
|
|
75436
75445
|
}
|
|
75437
75446
|
function Lt() {
|
|
75438
|
-
(
|
|
75447
|
+
(Te === E.New || Te === E.Listening) && (Te = E.Closed, Xe.fire(void 0));
|
|
75439
75448
|
}
|
|
75440
|
-
function
|
|
75449
|
+
function kt(fe) {
|
|
75441
75450
|
we.fire([
|
|
75442
75451
|
fe,
|
|
75443
75452
|
void 0,
|
|
@@ -75447,7 +75456,7 @@ ${$}`);
|
|
|
75447
75456
|
function gt(fe) {
|
|
75448
75457
|
we.fire(fe);
|
|
75449
75458
|
}
|
|
75450
|
-
D.onClose(Lt), D.onError(
|
|
75459
|
+
D.onClose(Lt), D.onError(kt), U.onClose(Lt), U.onError(gt);
|
|
75451
75460
|
function bn() {
|
|
75452
75461
|
ce || H.size === 0 || (ce = (0, e.default)().timer.setImmediate(() => {
|
|
75453
75462
|
ce = void 0, Er();
|
|
@@ -75906,13 +75915,13 @@ ${JSON.stringify(fe, null, 4)}`);
|
|
|
75906
75915
|
},
|
|
75907
75916
|
dispose: () => {
|
|
75908
75917
|
if (Qt()) return;
|
|
75909
|
-
|
|
75918
|
+
Te = E.Disposed, ge.fire(void 0);
|
|
75910
75919
|
const fe = new r.ResponseError(r.ErrorCodes.PendingResponseRejected, "Pending response rejected since connection got disposed");
|
|
75911
75920
|
for (const Fe of ne.values()) Fe.reject(fe);
|
|
75912
75921
|
ne = /* @__PURE__ */ new Map(), J = /* @__PURE__ */ new Map(), me = /* @__PURE__ */ new Set(), H = new i.LinkedMap(), n.func(U.dispose) && U.dispose(), n.func(D.dispose) && D.dispose();
|
|
75913
75922
|
},
|
|
75914
75923
|
listen: () => {
|
|
75915
|
-
mc(), $a(),
|
|
75924
|
+
mc(), $a(), Te = E.Listening, D.listen($i);
|
|
75916
75925
|
},
|
|
75917
75926
|
inspect: () => {
|
|
75918
75927
|
(0, e.default)().console.log("inspect");
|
|
@@ -78953,10 +78962,10 @@ ${JSON.stringify(fe, null, 4)}`);
|
|
|
78953
78962
|
}
|
|
78954
78963
|
pe.isFull = Hr;
|
|
78955
78964
|
})(de || (t.TextDocumentContentChangeEvent = de = {}));
|
|
78956
|
-
var
|
|
78965
|
+
var Te;
|
|
78957
78966
|
(function(pe) {
|
|
78958
78967
|
pe.method = "textDocument/didChange", pe.messageDirection = e.MessageDirection.clientToServer, pe.type = new e.ProtocolNotificationType(pe.method);
|
|
78959
|
-
})(
|
|
78968
|
+
})(Te || (t.DidChangeTextDocumentNotification = Te = {}));
|
|
78960
78969
|
var we;
|
|
78961
78970
|
(function(pe) {
|
|
78962
78971
|
pe.method = "textDocument/didClose", pe.messageDirection = e.MessageDirection.clientToServer, pe.type = new e.ProtocolNotificationType(pe.method);
|
|
@@ -79021,10 +79030,10 @@ ${JSON.stringify(fe, null, 4)}`);
|
|
|
79021
79030
|
(function(pe) {
|
|
79022
79031
|
pe.Invoked = 1, pe.TriggerCharacter = 2, pe.ContentChange = 3;
|
|
79023
79032
|
})(Lt || (t.SignatureHelpTriggerKind = Lt = {}));
|
|
79024
|
-
var
|
|
79033
|
+
var kt;
|
|
79025
79034
|
(function(pe) {
|
|
79026
79035
|
pe.method = "textDocument/signatureHelp", pe.messageDirection = e.MessageDirection.clientToServer, pe.type = new e.ProtocolRequestType(pe.method);
|
|
79027
|
-
})(
|
|
79036
|
+
})(kt || (t.SignatureHelpRequest = kt = {}));
|
|
79028
79037
|
var gt;
|
|
79029
79038
|
(function(pe) {
|
|
79030
79039
|
pe.method = "textDocument/definition", pe.messageDirection = e.MessageDirection.clientToServer, pe.type = new e.ProtocolRequestType(pe.method);
|
|
@@ -82083,7 +82092,7 @@ Please report this to https://github.com/markedjs/marked.`, t) {
|
|
|
82083
82092
|
};
|
|
82084
82093
|
}
|
|
82085
82094
|
const Dge = new KEe(PZ, Ce({
|
|
82086
|
-
widths:
|
|
82095
|
+
widths: Pt(Gn([
|
|
82087
82096
|
Je(),
|
|
82088
82097
|
fi("contentWidth")
|
|
82089
82098
|
]).default("contentWidth"))
|
|
@@ -82696,7 +82705,7 @@ Please report this to https://github.com/markedjs/marked.`, t) {
|
|
|
82696
82705
|
}
|
|
82697
82706
|
const rje = It.define();
|
|
82698
82707
|
async function Sqt(t) {
|
|
82699
|
-
const { formatDialect: e, duckdb: n } = await import("./index-
|
|
82708
|
+
const { formatDialect: e, duckdb: n } = await import("./index-BlKMvB4M.js"), r = t.state.field(R6), i = og(t.state);
|
|
82700
82709
|
if (r.type !== "sql") {
|
|
82701
82710
|
Me.error("Language adapter is not SQL");
|
|
82702
82711
|
return;
|
|
@@ -82815,7 +82824,7 @@ Please report this to https://github.com/markedjs/marked.`, t) {
|
|
|
82815
82824
|
"go"
|
|
82816
82825
|
],
|
|
82817
82826
|
load() {
|
|
82818
|
-
return import("./index-
|
|
82827
|
+
return import("./index-tTeg75gM.js").then((t) => t.go());
|
|
82819
82828
|
}
|
|
82820
82829
|
}),
|
|
82821
82830
|
ze.of({
|
|
@@ -83080,7 +83089,7 @@ Please report this to https://github.com/markedjs/marked.`, t) {
|
|
|
83080
83089
|
"yml"
|
|
83081
83090
|
],
|
|
83082
83091
|
load() {
|
|
83083
|
-
return import("./index-
|
|
83092
|
+
return import("./index-DoM5KpwN.js").then((t) => t.yaml());
|
|
83084
83093
|
}
|
|
83085
83094
|
}),
|
|
83086
83095
|
ze.of({
|
|
@@ -84487,7 +84496,7 @@ Please report this to https://github.com/markedjs/marked.`, t) {
|
|
|
84487
84496
|
return t >= kZ && t <= lje ? t - kZ : t >= Jge && t <= Rqt ? t - Jge + 10 : t >= e$e && t <= Xqt ? t - e$e + 10 : -1;
|
|
84488
84497
|
}
|
|
84489
84498
|
const i$e = "marimo:sidebar", o$e = new HEe(Ce({
|
|
84490
|
-
selectedPanel:
|
|
84499
|
+
selectedPanel: Pe().optional().transform((t) => t),
|
|
84491
84500
|
isSidebarOpen: et(),
|
|
84492
84501
|
isTerminalOpen: et()
|
|
84493
84502
|
}), qqt);
|
|
@@ -86892,15 +86901,15 @@ ${t}
|
|
|
86892
86901
|
if (o.trigger && o.valueNode && s && c && y && v && w) {
|
|
86893
86902
|
const _ = o.trigger.getBoundingClientRect(), C = c.getBoundingClientRect(), j = o.valueNode.getBoundingClientRect(), X = w.getBoundingClientRect();
|
|
86894
86903
|
if (o.dir !== "rtl") {
|
|
86895
|
-
const J = X.left - C.left, Z = j.left - J, oe = _.left - Z, de = _.width + oe,
|
|
86904
|
+
const J = X.left - C.left, Z = j.left - J, oe = _.left - Z, de = _.width + oe, Te = Math.max(de, C.width), we = window.innerWidth - Yu, Xe = $j(Z, [
|
|
86896
86905
|
Yu,
|
|
86897
|
-
Math.max(Yu, we -
|
|
86906
|
+
Math.max(Yu, we - Te)
|
|
86898
86907
|
]);
|
|
86899
86908
|
s.style.minWidth = de + "px", s.style.left = Xe + "px";
|
|
86900
86909
|
} else {
|
|
86901
|
-
const J = C.right - X.right, Z = window.innerWidth - j.right - J, oe = window.innerWidth - _.right - Z, de = _.width + oe,
|
|
86910
|
+
const J = C.right - X.right, Z = window.innerWidth - j.right - J, oe = window.innerWidth - _.right - Z, de = _.width + oe, Te = Math.max(de, C.width), we = window.innerWidth - Yu, Xe = $j(Z, [
|
|
86902
86911
|
Yu,
|
|
86903
|
-
Math.max(Yu, we -
|
|
86912
|
+
Math.max(Yu, we - Te)
|
|
86904
86913
|
]);
|
|
86905
86914
|
s.style.minWidth = de + "px", s.style.right = Xe + "px";
|
|
86906
86915
|
}
|
|
@@ -87719,7 +87728,7 @@ ${t}
|
|
|
87719
87728
|
let U;
|
|
87720
87729
|
e[35] !== z ? (U = m.jsx(yn, {
|
|
87721
87730
|
content: "Format SQL",
|
|
87722
|
-
children: m.jsx(
|
|
87731
|
+
children: m.jsx(Tt, {
|
|
87723
87732
|
variant: "text",
|
|
87724
87733
|
size: "icon",
|
|
87725
87734
|
onClick: z,
|
|
@@ -99310,14 +99319,14 @@ ${t}
|
|
|
99310
99319
|
mqe() ? Z ? oe = "text" : J && (oe = "decimal") : z6() && (Z ? oe = "numeric" : J && (oe = "decimal"));
|
|
99311
99320
|
let de = (gt) => {
|
|
99312
99321
|
e.validate(gt) && e.setInputValue(gt);
|
|
99313
|
-
},
|
|
99322
|
+
}, Te = yo(t), we = k.useCallback((gt) => {
|
|
99314
99323
|
gt.key === "Enter" ? (D(), U()) : gt.continuePropagation();
|
|
99315
99324
|
}, [
|
|
99316
99325
|
D,
|
|
99317
99326
|
U
|
|
99318
99327
|
]), { isInvalid: Xe, validationErrors: ee, validationDetails: he } = e.displayValidation, { labelProps: ge, inputProps: Se, descriptionProps: Ee, errorMessageProps: _e } = JUt({
|
|
99319
99328
|
...T,
|
|
99320
|
-
...
|
|
99329
|
+
...Te,
|
|
99321
99330
|
name: void 0,
|
|
99322
99331
|
label: h,
|
|
99323
99332
|
autoFocus: O,
|
|
@@ -99375,7 +99384,7 @@ ${t}
|
|
|
99375
99384
|
allowFocusWhenDisabled: true,
|
|
99376
99385
|
isDisabled: !e.canIncrement,
|
|
99377
99386
|
onPressStart: Re
|
|
99378
|
-
}),
|
|
99387
|
+
}), kt = sr(ie, {
|
|
99379
99388
|
"aria-label": i || G.format("decrease", {
|
|
99380
99389
|
fieldLabel: Ie
|
|
99381
99390
|
}).trim(),
|
|
@@ -99398,7 +99407,7 @@ ${t}
|
|
|
99398
99407
|
labelProps: ge,
|
|
99399
99408
|
inputProps: Qe,
|
|
99400
99409
|
incrementButtonProps: Lt,
|
|
99401
|
-
decrementButtonProps:
|
|
99410
|
+
decrementButtonProps: kt,
|
|
99402
99411
|
errorMessageProps: _e,
|
|
99403
99412
|
descriptionProps: Ee,
|
|
99404
99413
|
isInvalid: Xe,
|
|
@@ -104704,7 +104713,7 @@ ${t}
|
|
|
104704
104713
|
e[3] !== n || e[4] !== t ? ($ = async (He, Qt) => {
|
|
104705
104714
|
const Lt = JSON.parse(Qt == null ? void 0 : Qt.body);
|
|
104706
104715
|
try {
|
|
104707
|
-
const
|
|
104716
|
+
const kt = await t.send_prompt({
|
|
104708
104717
|
messages: Lt.messages.map(YWt),
|
|
104709
104718
|
config: {
|
|
104710
104719
|
max_tokens: n.max_tokens,
|
|
@@ -104715,9 +104724,9 @@ ${t}
|
|
|
104715
104724
|
presence_penalty: n.presence_penalty
|
|
104716
104725
|
}
|
|
104717
104726
|
});
|
|
104718
|
-
return new Response(
|
|
104719
|
-
} catch (
|
|
104720
|
-
const bn =
|
|
104727
|
+
return new Response(kt);
|
|
104728
|
+
} catch (kt) {
|
|
104729
|
+
const bn = kt.message.split("failed with exception ").pop();
|
|
104721
104730
|
return new Response(bn, {
|
|
104722
104731
|
status: 400
|
|
104723
104732
|
});
|
|
@@ -104725,8 +104734,8 @@ ${t}
|
|
|
104725
104734
|
}, e[3] = n, e[4] = t, e[5] = $) : $ = e[5];
|
|
104726
104735
|
let y;
|
|
104727
104736
|
e[6] === Symbol.for("react.memo_cache_sentinel") ? (y = (He, Qt) => {
|
|
104728
|
-
const { usage: Lt, finishReason:
|
|
104729
|
-
o(void 0), a.current && (a.current.value = ""), Me.debug("Finished streaming message:", He), Me.debug("Token usage:", Lt), Me.debug("Finish reason:",
|
|
104737
|
+
const { usage: Lt, finishReason: kt } = Qt;
|
|
104738
|
+
o(void 0), a.current && (a.current.value = ""), Me.debug("Finished streaming message:", He), Me.debug("Token usage:", Lt), Me.debug("Finish reason:", kt);
|
|
104730
104739
|
}, e[6] = y) : y = e[6];
|
|
104731
104740
|
let v;
|
|
104732
104741
|
e[7] !== p || e[8] !== $ ? (v = {
|
|
@@ -104744,7 +104753,7 @@ ${t}
|
|
|
104744
104753
|
const Qt = w.findIndex((Lt) => Lt.id === He);
|
|
104745
104754
|
Qt !== -1 && (t.delete_chat_message({
|
|
104746
104755
|
index: Qt
|
|
104747
|
-
}), x((Lt) => Lt.filter((
|
|
104756
|
+
}), x((Lt) => Lt.filter((kt) => kt.id !== He)));
|
|
104748
104757
|
}, e[10] = w, e[11] = t, e[12] = x, e[13] = E) : E = e[13];
|
|
104749
104758
|
const z = E, D = GWt;
|
|
104750
104759
|
let U;
|
|
@@ -104757,17 +104766,17 @@ ${t}
|
|
|
104757
104766
|
Qt,
|
|
104758
104767
|
Lt && Lt.length > 0 && m.jsx("div", {
|
|
104759
104768
|
className: "mt-2",
|
|
104760
|
-
children: Lt.map((
|
|
104769
|
+
children: Lt.map((kt, gt) => m.jsxs("div", {
|
|
104761
104770
|
className: "flex items-baseline gap-2 ",
|
|
104762
104771
|
children: [
|
|
104763
|
-
D(
|
|
104772
|
+
D(kt),
|
|
104764
104773
|
m.jsx("a", {
|
|
104765
104774
|
className: uc({
|
|
104766
104775
|
variant: "text",
|
|
104767
104776
|
size: "icon"
|
|
104768
104777
|
}),
|
|
104769
|
-
href:
|
|
104770
|
-
download:
|
|
104778
|
+
href: kt.url,
|
|
104779
|
+
download: kt.name,
|
|
104771
104780
|
children: m.jsx(MSe, {
|
|
104772
104781
|
className: "size-3"
|
|
104773
104782
|
})
|
|
@@ -104817,7 +104826,7 @@ ${t}
|
|
|
104817
104826
|
let ce;
|
|
104818
104827
|
e[29] !== te ? (ce = m.jsx("div", {
|
|
104819
104828
|
className: "absolute top-0 right-0 flex justify-end z-10 border border-(--slate-6) bg-inherit rounded-bl-lg",
|
|
104820
|
-
children: m.jsx(
|
|
104829
|
+
children: m.jsx(Tt, {
|
|
104821
104830
|
variant: "text",
|
|
104822
104831
|
size: "icon",
|
|
104823
104832
|
onClick: te,
|
|
@@ -104889,7 +104898,7 @@ ${t}
|
|
|
104889
104898
|
m.jsx($x, {
|
|
104890
104899
|
size: "small"
|
|
104891
104900
|
}),
|
|
104892
|
-
m.jsx(
|
|
104901
|
+
m.jsx(Tt, {
|
|
104893
104902
|
variant: "link",
|
|
104894
104903
|
size: "sm",
|
|
104895
104904
|
onClick: () => _(),
|
|
@@ -104905,7 +104914,7 @@ ${t}
|
|
|
104905
104914
|
m.jsx(Bm, {
|
|
104906
104915
|
error: C
|
|
104907
104916
|
}),
|
|
104908
|
-
m.jsx(
|
|
104917
|
+
m.jsx(Tt, {
|
|
104909
104918
|
variant: "outline",
|
|
104910
104919
|
size: "sm",
|
|
104911
104920
|
onClick: () => j(),
|
|
@@ -104935,8 +104944,8 @@ ${t}
|
|
|
104935
104944
|
config: n,
|
|
104936
104945
|
onChange: r
|
|
104937
104946
|
}), e[52] = n, e[53] = t.showConfigurationControls, e[54] = de) : de = e[54];
|
|
104938
|
-
let
|
|
104939
|
-
e[55] !== t.prompts || e[56] !== P ? (
|
|
104947
|
+
let Te;
|
|
104948
|
+
e[55] !== t.prompts || e[56] !== P ? (Te = t.prompts.length > 0 && m.jsx(UWt, {
|
|
104940
104949
|
prompts: t.prompts,
|
|
104941
104950
|
onSelect: (He) => {
|
|
104942
104951
|
P(He), requestAnimationFrame(() => {
|
|
@@ -104944,7 +104953,7 @@ ${t}
|
|
|
104944
104953
|
(_b2 = (_a3 = l.current) == null ? void 0 : _a3.view) == null ? void 0 : _b2.focus(), Yqt((_c = l.current) == null ? void 0 : _c.view);
|
|
104945
104954
|
});
|
|
104946
104955
|
}
|
|
104947
|
-
}), e[55] = t.prompts, e[56] = P, e[57] =
|
|
104956
|
+
}), e[55] = t.prompts, e[56] = P, e[57] = Te) : Te = e[57];
|
|
104948
104957
|
const we = t.maxHeight ? `${t.maxHeight / 2}px` : void 0;
|
|
104949
104958
|
let Xe;
|
|
104950
104959
|
e[58] === Symbol.for("react.memo_cache_sentinel") ? (Xe = (He, Qt) => {
|
|
@@ -104983,7 +104992,7 @@ ${t}
|
|
|
104983
104992
|
]
|
|
104984
104993
|
}), e[68] = i, e[69] = ge) : ge = e[69];
|
|
104985
104994
|
let Se;
|
|
104986
|
-
e[70] !== i ? (Se = i && i.length > 0 && m.jsx(
|
|
104995
|
+
e[70] !== i ? (Se = i && i.length > 0 && m.jsx(Tt, {
|
|
104987
104996
|
type: "button",
|
|
104988
104997
|
variant: "text",
|
|
104989
104998
|
size: "sm",
|
|
@@ -104997,7 +105006,7 @@ ${t}
|
|
|
104997
105006
|
let Ee;
|
|
104998
105007
|
e[72] !== t.allowAttachments || e[73] !== Y ? (Ee = Y && m.jsxs(m.Fragment, {
|
|
104999
105008
|
children: [
|
|
105000
|
-
m.jsx(
|
|
105009
|
+
m.jsx(Tt, {
|
|
105001
105010
|
type: "button",
|
|
105002
105011
|
variant: "text",
|
|
105003
105012
|
size: "sm",
|
|
@@ -105027,7 +105036,7 @@ ${t}
|
|
|
105027
105036
|
className: "h-5 w-5"
|
|
105028
105037
|
}), e[75] = Qe) : Qe = e[75];
|
|
105029
105038
|
let Re;
|
|
105030
|
-
e[76] !== _e ? (Re = m.jsx(
|
|
105039
|
+
e[76] !== _e ? (Re = m.jsx(Tt, {
|
|
105031
105040
|
type: "submit",
|
|
105032
105041
|
disabled: _e,
|
|
105033
105042
|
variant: "outline",
|
|
@@ -105036,13 +105045,13 @@ ${t}
|
|
|
105036
105045
|
children: Qe
|
|
105037
105046
|
}), e[76] = _e, e[77] = Re) : Re = e[77];
|
|
105038
105047
|
let Ie;
|
|
105039
|
-
e[78] !== oe || e[79] !== de || e[80] !==
|
|
105048
|
+
e[78] !== oe || e[79] !== de || e[80] !== Te || e[81] !== ee || e[82] !== he || e[83] !== ge || e[84] !== Se || e[85] !== Ee || e[86] !== Re ? (Ie = m.jsxs("form", {
|
|
105040
105049
|
onSubmit: oe,
|
|
105041
105050
|
ref: s,
|
|
105042
105051
|
className: "flex w-full border-t border-(--slate-6) px-2 py-1 items-center",
|
|
105043
105052
|
children: [
|
|
105044
105053
|
de,
|
|
105045
|
-
|
|
105054
|
+
Te,
|
|
105046
105055
|
ee,
|
|
105047
105056
|
he,
|
|
105048
105057
|
ge,
|
|
@@ -105050,7 +105059,7 @@ ${t}
|
|
|
105050
105059
|
Ee,
|
|
105051
105060
|
Re
|
|
105052
105061
|
]
|
|
105053
|
-
}), e[78] = oe, e[79] = de, e[80] =
|
|
105062
|
+
}), e[78] = oe, e[79] = de, e[80] = Te, e[81] = ee, e[82] = he, e[83] = ge, e[84] = Se, e[85] = Ee, e[86] = Re, e[87] = Ie) : Ie = e[87];
|
|
105054
105063
|
let Le;
|
|
105055
105064
|
return e[88] !== ie || e[89] !== ce || e[90] !== Z || e[91] !== Ie ? (Le = m.jsxs("div", {
|
|
105056
105065
|
className: "flex flex-col h-full bg-(--slate-1) rounded-lg shadow border border-(--slate-6) overflow-hidden relative",
|
|
@@ -105115,7 +105124,7 @@ ${t}
|
|
|
105115
105124
|
content: "Configuration",
|
|
105116
105125
|
children: m.jsx(g_, {
|
|
105117
105126
|
asChild: true,
|
|
105118
|
-
children: m.jsx(
|
|
105127
|
+
children: m.jsx(Tt, {
|
|
105119
105128
|
variant: "outline",
|
|
105120
105129
|
size: "sm",
|
|
105121
105130
|
className: "border-none shadow-initial",
|
|
@@ -105205,7 +105214,7 @@ ${t}
|
|
|
105205
105214
|
content: "Select a prompt",
|
|
105206
105215
|
children: m.jsx(Km, {
|
|
105207
105216
|
asChild: true,
|
|
105208
|
-
children: m.jsx(
|
|
105217
|
+
children: m.jsx(Tt, {
|
|
105209
105218
|
variant: "outline",
|
|
105210
105219
|
size: "sm",
|
|
105211
105220
|
className: "border-none shadow-initial",
|
|
@@ -105335,7 +105344,7 @@ ${t}
|
|
|
105335
105344
|
})
|
|
105336
105345
|
}), e[23] = p, e[24] = b) : b = e[24];
|
|
105337
105346
|
let P;
|
|
105338
|
-
e[25] !== w || e[26] !== y ? (P = m.jsx(
|
|
105347
|
+
e[25] !== w || e[26] !== y ? (P = m.jsx(Tt, {
|
|
105339
105348
|
onClick: w,
|
|
105340
105349
|
size: "xs",
|
|
105341
105350
|
disabled: y,
|
|
@@ -105410,7 +105419,7 @@ ${t}
|
|
|
105410
105419
|
return t == null || t.trim() === "";
|
|
105411
105420
|
}
|
|
105412
105421
|
const KWt = md("marimo-chatbot").withData(Ce({
|
|
105413
|
-
prompts:
|
|
105422
|
+
prompts: Pt(Pe()).default(Ef.EMPTY),
|
|
105414
105423
|
showConfigurationControls: et(),
|
|
105415
105424
|
maxHeight: Je().optional(),
|
|
105416
105425
|
config: Ce({
|
|
@@ -105423,17 +105432,17 @@ ${t}
|
|
|
105423
105432
|
}),
|
|
105424
105433
|
allowAttachments: Gn([
|
|
105425
105434
|
et(),
|
|
105426
|
-
|
|
105435
|
+
Pe().array()
|
|
105427
105436
|
])
|
|
105428
105437
|
})).withFunctions({
|
|
105429
105438
|
get_chat_history: Ro.input(Ce({})).output(Ce({
|
|
105430
|
-
messages:
|
|
105439
|
+
messages: Pt(Ce({
|
|
105431
105440
|
role: Wt([
|
|
105432
105441
|
"system",
|
|
105433
105442
|
"user",
|
|
105434
105443
|
"assistant"
|
|
105435
105444
|
]),
|
|
105436
|
-
content:
|
|
105445
|
+
content: Pe()
|
|
105437
105446
|
}))
|
|
105438
105447
|
})),
|
|
105439
105448
|
delete_chat_history: Ro.input(Ce({})).output(m5()),
|
|
@@ -105441,17 +105450,17 @@ ${t}
|
|
|
105441
105450
|
index: Je()
|
|
105442
105451
|
})).output(m5()),
|
|
105443
105452
|
send_prompt: Ro.input(Ce({
|
|
105444
|
-
messages:
|
|
105453
|
+
messages: Pt(Ce({
|
|
105445
105454
|
role: Wt([
|
|
105446
105455
|
"system",
|
|
105447
105456
|
"user",
|
|
105448
105457
|
"assistant"
|
|
105449
105458
|
]),
|
|
105450
|
-
content:
|
|
105451
|
-
attachments:
|
|
105452
|
-
name:
|
|
105453
|
-
contentType:
|
|
105454
|
-
url:
|
|
105459
|
+
content: Pe(),
|
|
105460
|
+
attachments: Pt(Ce({
|
|
105461
|
+
name: Pe().optional(),
|
|
105462
|
+
contentType: Pe().optional(),
|
|
105463
|
+
url: Pe()
|
|
105455
105464
|
})).optional()
|
|
105456
105465
|
})),
|
|
105457
105466
|
config: Ce({
|
|
@@ -105462,7 +105471,7 @@ ${t}
|
|
|
105462
105471
|
frequency_penalty: Je(),
|
|
105463
105472
|
presence_penalty: Je()
|
|
105464
105473
|
})
|
|
105465
|
-
})).output(
|
|
105474
|
+
})).output(Pe())
|
|
105466
105475
|
}).renderer((t) => {
|
|
105467
105476
|
var _a3;
|
|
105468
105477
|
return m.jsx(pl, {
|
|
@@ -109128,14 +109137,14 @@ ${t}
|
|
|
109128
109137
|
const Mee = (t) => {
|
|
109129
109138
|
const e = se.c(8), { onApply: n, onClear: r, clearButtonDisabled: i } = t;
|
|
109130
109139
|
let o;
|
|
109131
|
-
e[0] !== n ? (o = m.jsx(
|
|
109140
|
+
e[0] !== n ? (o = m.jsx(Tt, {
|
|
109132
109141
|
variant: "link",
|
|
109133
109142
|
size: "sm",
|
|
109134
109143
|
onClick: n,
|
|
109135
109144
|
children: "Apply"
|
|
109136
109145
|
}), e[0] = n, e[1] = o) : o = e[1];
|
|
109137
109146
|
let a;
|
|
109138
|
-
e[2] !== i || e[3] !== r ? (a = m.jsx(
|
|
109147
|
+
e[2] !== i || e[3] !== r ? (a = m.jsx(Tt, {
|
|
109139
109148
|
variant: "linkDestructive",
|
|
109140
109149
|
size: "sm",
|
|
109141
109150
|
className: "",
|
|
@@ -110153,7 +110162,7 @@ ${t}
|
|
|
110153
110162
|
children: [
|
|
110154
110163
|
m.jsx(zWt, {
|
|
110155
110164
|
className: "absolute top-2 right-2",
|
|
110156
|
-
children: m.jsx(
|
|
110165
|
+
children: m.jsx(Tt, {
|
|
110157
110166
|
variant: "link",
|
|
110158
110167
|
size: "sm",
|
|
110159
110168
|
onClick: () => t(false),
|
|
@@ -113008,27 +113017,27 @@ ${t}
|
|
|
113008
113017
|
b.x = T(n, b), b.X = T(r, b), b.c = T(e, b), P.x = T(n, P), P.X = T(r, P), P.c = T(e, P);
|
|
113009
113018
|
function T(ne, me) {
|
|
113010
113019
|
return function(J) {
|
|
113011
|
-
var Z = [], oe = -1, de = 0,
|
|
113012
|
-
for (J instanceof Date || (J = /* @__PURE__ */ new Date(+J)); ++oe <
|
|
113020
|
+
var Z = [], oe = -1, de = 0, Te = ne.length, we, Xe, ee;
|
|
113021
|
+
for (J instanceof Date || (J = /* @__PURE__ */ new Date(+J)); ++oe < Te; ) ne.charCodeAt(oe) === 37 && (Z.push(ne.slice(de, oe)), (Xe = u1e[we = ne.charAt(++oe)]) != null ? we = ne.charAt(++oe) : Xe = we === "e" ? " " : "0", (ee = me[we]) && (we = ee(J, Xe)), Z.push(we), de = oe + 1);
|
|
113013
113022
|
return Z.push(ne.slice(de, oe)), Z.join("");
|
|
113014
113023
|
};
|
|
113015
113024
|
}
|
|
113016
113025
|
function _(ne, me) {
|
|
113017
113026
|
return function(J) {
|
|
113018
|
-
var Z = f2(1900, void 0, 1), oe = C(Z, ne, J += "", 0), de,
|
|
113027
|
+
var Z = f2(1900, void 0, 1), oe = C(Z, ne, J += "", 0), de, Te;
|
|
113019
113028
|
if (oe != J.length) return null;
|
|
113020
113029
|
if ("Q" in Z) return new Date(Z.Q);
|
|
113021
113030
|
if ("s" in Z) return new Date(Z.s * 1e3 + ("L" in Z ? Z.L : 0));
|
|
113022
113031
|
if (me && !("Z" in Z) && (Z.Z = 0), "p" in Z && (Z.H = Z.H % 12 + Z.p * 12), Z.m === void 0 && (Z.m = "q" in Z ? Z.q : 0), "V" in Z) {
|
|
113023
113032
|
if (Z.V < 1 || Z.V > 53) return null;
|
|
113024
|
-
"w" in Z || (Z.w = 1), "Z" in Z ? (de = sY(f2(Z.y, 0, 1)),
|
|
113025
|
-
} else ("W" in Z || "U" in Z) && ("w" in Z || (Z.w = "u" in Z ? Z.u % 7 : "W" in Z ? 1 : 0),
|
|
113033
|
+
"w" in Z || (Z.w = 1), "Z" in Z ? (de = sY(f2(Z.y, 0, 1)), Te = de.getUTCDay(), de = Te > 4 || Te === 0 ? Zj.ceil(de) : Zj(de), de = Uy.offset(de, (Z.V - 1) * 7), Z.y = de.getUTCFullYear(), Z.m = de.getUTCMonth(), Z.d = de.getUTCDate() + (Z.w + 6) % 7) : (de = aY(f2(Z.y, 0, 1)), Te = de.getDay(), de = Te > 4 || Te === 0 ? Mj.ceil(de) : Mj(de), de = Ay.offset(de, (Z.V - 1) * 7), Z.y = de.getFullYear(), Z.m = de.getMonth(), Z.d = de.getDate() + (Z.w + 6) % 7);
|
|
113034
|
+
} else ("W" in Z || "U" in Z) && ("w" in Z || (Z.w = "u" in Z ? Z.u % 7 : "W" in Z ? 1 : 0), Te = "Z" in Z ? sY(f2(Z.y, 0, 1)).getUTCDay() : aY(f2(Z.y, 0, 1)).getDay(), Z.m = 0, Z.d = "W" in Z ? (Z.w + 6) % 7 + Z.W * 7 - (Te + 5) % 7 : Z.w + Z.U * 7 - (Te + 6) % 7);
|
|
113026
113035
|
return "Z" in Z ? (Z.H += Z.Z / 100 | 0, Z.M += Z.Z % 100, sY(Z)) : aY(Z);
|
|
113027
113036
|
};
|
|
113028
113037
|
}
|
|
113029
113038
|
function C(ne, me, J, Z) {
|
|
113030
|
-
for (var oe = 0, de = me.length,
|
|
113031
|
-
if (Z >=
|
|
113039
|
+
for (var oe = 0, de = me.length, Te = J.length, we, Xe; oe < de; ) {
|
|
113040
|
+
if (Z >= Te) return -1;
|
|
113032
113041
|
if (we = me.charCodeAt(oe++), we === 37) {
|
|
113033
113042
|
if (we = me.charAt(oe++), Xe = Q[we in u1e ? me.charAt(oe++) : we], !Xe || (Z = Xe(ne, J, Z)) < 0) return -1;
|
|
113034
113043
|
} else if (we != J.charCodeAt(Z++)) return -1;
|
|
@@ -115132,7 +115141,7 @@ ${t}
|
|
|
115132
115141
|
includeCharts: false,
|
|
115133
115142
|
usePreComputedValues: false
|
|
115134
115143
|
});
|
|
115135
|
-
const z8e = ue.createContext(Uv.EMPTY), SFt = ue.lazy(() => import("./index-
|
|
115144
|
+
const z8e = ue.createContext(Uv.EMPTY), SFt = ue.lazy(() => import("./index-Du9BJSvj.js").then((t) => t.a).then((t) => ({
|
|
115136
115145
|
default: t.VegaLite
|
|
115137
115146
|
}))), QFt = P8e(), PFt = (t) => {
|
|
115138
115147
|
const e = se.c(24), { columnId: n } = t, r = ue.use(z8e), { theme: i } = Od();
|
|
@@ -115419,7 +115428,7 @@ ${t}
|
|
|
115419
115428
|
]
|
|
115420
115429
|
}), e[3] = o) : o = e[3];
|
|
115421
115430
|
let a;
|
|
115422
|
-
e[4] !== t.resetErrorBoundary ? (a = m.jsx(
|
|
115431
|
+
e[4] !== t.resetErrorBoundary ? (a = m.jsx(Tt, {
|
|
115423
115432
|
"data-testid": "reset-error-boundary-button",
|
|
115424
115433
|
onClick: t.resetErrorBoundary,
|
|
115425
115434
|
variant: "outline",
|
|
@@ -115640,7 +115649,7 @@ ${t}
|
|
|
115640
115649
|
className: "h-3 w-3 mr-2"
|
|
115641
115650
|
}), e[6] = c) : c = e[6];
|
|
115642
115651
|
let d;
|
|
115643
|
-
e[7] !== s.title || e[8] !== l ? (d = m.jsxs(
|
|
115652
|
+
e[7] !== s.title || e[8] !== l ? (d = m.jsxs(Tt, {
|
|
115644
115653
|
size: "xs",
|
|
115645
115654
|
variant: "outline",
|
|
115646
115655
|
className: "my-2 font-normal",
|
|
@@ -115928,7 +115937,7 @@ ${t}
|
|
|
115928
115937
|
children: m.jsxs("div", {
|
|
115929
115938
|
className: "flex flex-row gap-2 items-center",
|
|
115930
115939
|
children: [
|
|
115931
|
-
m.jsxs(
|
|
115940
|
+
m.jsxs(Tt, {
|
|
115932
115941
|
size: "xs",
|
|
115933
115942
|
variant: "link",
|
|
115934
115943
|
className: "my-2 font-normal mx-0 px-0",
|
|
@@ -118013,7 +118022,7 @@ ${t}
|
|
|
118013
118022
|
], ZHt = (t) => {
|
|
118014
118023
|
const e = se.c(17);
|
|
118015
118024
|
let n;
|
|
118016
|
-
e[0] === Symbol.for("react.memo_cache_sentinel") ? (n = m.jsxs(
|
|
118025
|
+
e[0] === Symbol.for("react.memo_cache_sentinel") ? (n = m.jsxs(Tt, {
|
|
118017
118026
|
"data-testid": "download-as-button",
|
|
118018
118027
|
size: "xs",
|
|
118019
118028
|
variant: "link",
|
|
@@ -118190,7 +118199,7 @@ ${t}
|
|
|
118190
118199
|
" selected"
|
|
118191
118200
|
]
|
|
118192
118201
|
}),
|
|
118193
|
-
m.jsxs(
|
|
118202
|
+
m.jsxs(Tt, {
|
|
118194
118203
|
size: "xs",
|
|
118195
118204
|
"data-testid": "select-all-button",
|
|
118196
118205
|
variant: "link",
|
|
@@ -118214,7 +118223,7 @@ ${t}
|
|
|
118214
118223
|
" selected"
|
|
118215
118224
|
]
|
|
118216
118225
|
}),
|
|
118217
|
-
m.jsx(
|
|
118226
|
+
m.jsx(Tt, {
|
|
118218
118227
|
size: "xs",
|
|
118219
118228
|
"data-testid": "clear-selection-button",
|
|
118220
118229
|
variant: "link",
|
|
@@ -118294,7 +118303,7 @@ ${t}
|
|
|
118294
118303
|
m.jsxs("div", {
|
|
118295
118304
|
className: "flex items-end space-x-2",
|
|
118296
118305
|
children: [
|
|
118297
|
-
m.jsxs(
|
|
118306
|
+
m.jsxs(Tt, {
|
|
118298
118307
|
size: "xs",
|
|
118299
118308
|
variant: "outline",
|
|
118300
118309
|
"data-testid": "first-page-button",
|
|
@@ -118312,7 +118321,7 @@ ${t}
|
|
|
118312
118321
|
})
|
|
118313
118322
|
]
|
|
118314
118323
|
}),
|
|
118315
|
-
m.jsxs(
|
|
118324
|
+
m.jsxs(Tt, {
|
|
118316
118325
|
size: "xs",
|
|
118317
118326
|
variant: "outline",
|
|
118318
118327
|
"data-testid": "previous-page-button",
|
|
@@ -118350,7 +118359,7 @@ ${t}
|
|
|
118350
118359
|
})
|
|
118351
118360
|
]
|
|
118352
118361
|
}),
|
|
118353
|
-
m.jsxs(
|
|
118362
|
+
m.jsxs(Tt, {
|
|
118354
118363
|
size: "xs",
|
|
118355
118364
|
variant: "outline",
|
|
118356
118365
|
"data-testid": "next-page-button",
|
|
@@ -118368,7 +118377,7 @@ ${t}
|
|
|
118368
118377
|
})
|
|
118369
118378
|
]
|
|
118370
118379
|
}),
|
|
118371
|
-
m.jsxs(
|
|
118380
|
+
m.jsxs(Tt, {
|
|
118372
118381
|
size: "xs",
|
|
118373
118382
|
variant: "outline",
|
|
118374
118383
|
"data-testid": "last-page-button",
|
|
@@ -118470,7 +118479,7 @@ ${t}
|
|
|
118470
118479
|
children: [
|
|
118471
118480
|
e && t && m.jsx(yn, {
|
|
118472
118481
|
content: "Search",
|
|
118473
|
-
children: m.jsx(
|
|
118482
|
+
children: m.jsx(Tt, {
|
|
118474
118483
|
variant: "text",
|
|
118475
118484
|
size: "xs",
|
|
118476
118485
|
className: "mb-0",
|
|
@@ -118482,7 +118491,7 @@ ${t}
|
|
|
118482
118491
|
}),
|
|
118483
118492
|
h && m.jsx(yn, {
|
|
118484
118493
|
content: "Chart builder",
|
|
118485
|
-
children: m.jsx(
|
|
118494
|
+
children: m.jsx(Tt, {
|
|
118486
118495
|
variant: "text",
|
|
118487
118496
|
size: "xs",
|
|
118488
118497
|
className: "mb-0",
|
|
@@ -118496,7 +118505,7 @@ ${t}
|
|
|
118496
118505
|
children: [
|
|
118497
118506
|
m.jsx(yn, {
|
|
118498
118507
|
content: "Toggle row viewer",
|
|
118499
|
-
children: m.jsx(
|
|
118508
|
+
children: m.jsx(Tt, {
|
|
118500
118509
|
variant: "text",
|
|
118501
118510
|
size: "xs",
|
|
118502
118511
|
onClick: () => y("row-viewer"),
|
|
@@ -118507,7 +118516,7 @@ ${t}
|
|
|
118507
118516
|
}),
|
|
118508
118517
|
p && m.jsx(yn, {
|
|
118509
118518
|
content: "Toggle column explorer",
|
|
118510
|
-
children: m.jsx(
|
|
118519
|
+
children: m.jsx(Tt, {
|
|
118511
118520
|
variant: "text",
|
|
118512
118521
|
size: "xs",
|
|
118513
118522
|
onClick: () => y("column-explorer"),
|
|
@@ -118803,7 +118812,7 @@ ${l}`
|
|
|
118803
118812
|
children: j
|
|
118804
118813
|
}), e[22] = j, e[23] = y, e[24] = X) : X = e[24];
|
|
118805
118814
|
let E;
|
|
118806
|
-
e[25] !== c || e[26] !== h || e[27] !== n ? (E = n && c && m.jsxs(
|
|
118815
|
+
e[25] !== c || e[26] !== h || e[27] !== n ? (E = n && c && m.jsxs(Tt, {
|
|
118807
118816
|
size: "xs",
|
|
118808
118817
|
variant: "outline",
|
|
118809
118818
|
onClick: h,
|
|
@@ -118817,7 +118826,7 @@ ${l}`
|
|
|
118817
118826
|
let z;
|
|
118818
118827
|
e[29] !== O ? (z = O && !Oz() && m.jsx(yn, {
|
|
118819
118828
|
content: "Attach pdb to the exception point.",
|
|
118820
|
-
children: m.jsxs(
|
|
118829
|
+
children: m.jsxs(Tt, {
|
|
118821
118830
|
size: "xs",
|
|
118822
118831
|
variant: "outline",
|
|
118823
118832
|
onClick: () => {
|
|
@@ -118836,7 +118845,7 @@ ${l}`
|
|
|
118836
118845
|
let D;
|
|
118837
118846
|
e[31] === Symbol.for("react.memo_cache_sentinel") ? (D = m.jsx(Km, {
|
|
118838
118847
|
asChild: true,
|
|
118839
|
-
children: m.jsxs(
|
|
118848
|
+
children: m.jsxs(Tt, {
|
|
118840
118849
|
size: "xs",
|
|
118841
118850
|
variant: "text",
|
|
118842
118851
|
children: [
|
|
@@ -119038,7 +119047,7 @@ ${l}`
|
|
|
119038
119047
|
return "\u2753";
|
|
119039
119048
|
}
|
|
119040
119049
|
}
|
|
119041
|
-
const uKt = ue.lazy(() => import("./index-
|
|
119050
|
+
const uKt = ue.lazy(() => import("./index-Du9BJSvj.js").then((t) => t.a).then((t) => ({
|
|
119042
119051
|
default: t.VegaLite
|
|
119043
119052
|
}))), pg = k.memo((t) => {
|
|
119044
119053
|
const e = se.c(44), { message: n, onRefactorWithAI: r, cellId: i, wrapText: o } = t, { theme: a } = Od();
|
|
@@ -119346,7 +119355,7 @@ ${l}`
|
|
|
119346
119355
|
e[9] === Symbol.for("react.memo_cache_sentinel") ? ($ = m.jsx(yn, {
|
|
119347
119356
|
content: "Fullscreen",
|
|
119348
119357
|
side: "left",
|
|
119349
|
-
children: m.jsx(
|
|
119358
|
+
children: m.jsx(Tt, {
|
|
119350
119359
|
"data-testid": "fullscreen-output-button",
|
|
119351
119360
|
className: "hover-action hover:bg-muted p-1 hover:border-border border border-transparent",
|
|
119352
119361
|
onClick: p,
|
|
@@ -119360,7 +119369,7 @@ ${l}`
|
|
|
119360
119369
|
})
|
|
119361
119370
|
}), e[9] = $) : $ = e[9];
|
|
119362
119371
|
let y;
|
|
119363
|
-
e[10] !== i || e[11] !== s || e[12] !== c || e[13] !== l ? (y = (c || s) && !i && m.jsx(
|
|
119372
|
+
e[10] !== i || e[11] !== s || e[12] !== c || e[13] !== l ? (y = (c || s) && !i && m.jsx(Tt, {
|
|
119364
119373
|
"data-testid": "expand-output-button",
|
|
119365
119374
|
className: $e("hover:border-border border border-transparent hover:bg-muted", !s && "hover-action"),
|
|
119366
119375
|
onClick: () => l(!s),
|
|
@@ -119740,7 +119749,7 @@ ${l}`
|
|
|
119740
119749
|
children: [
|
|
119741
119750
|
m.jsx(bK, {
|
|
119742
119751
|
className: "absolute top-2 right-2",
|
|
119743
|
-
children: m.jsx(
|
|
119752
|
+
children: m.jsx(Tt, {
|
|
119744
119753
|
variant: "link",
|
|
119745
119754
|
size: "xs",
|
|
119746
119755
|
children: i ?? "Close"
|
|
@@ -119949,7 +119958,7 @@ ${l}`
|
|
|
119949
119958
|
function _Kt(t) {
|
|
119950
119959
|
return !t || Object.keys(t).length === 0 ? "auto" : mr.mapValues(t, (e) => e === "date" || e === "time" ? "string" : e === "datetime" ? "date" : e);
|
|
119951
119960
|
}
|
|
119952
|
-
const RKt = ue.lazy(() => import("./glide-data-editor-
|
|
119961
|
+
const RKt = ue.lazy(() => import("./glide-data-editor-BO89WttR.js").then(async (m4) => {
|
|
119953
119962
|
await m4.__tla;
|
|
119954
119963
|
return m4;
|
|
119955
119964
|
}).then((t) => t.g)), XKt = md("marimo-data-editor", {
|
|
@@ -119958,26 +119967,26 @@ ${l}`
|
|
|
119958
119967
|
]
|
|
119959
119968
|
}).withData(Ce({
|
|
119960
119969
|
initialValue: Ce({
|
|
119961
|
-
edits:
|
|
119970
|
+
edits: Pt(Ce({
|
|
119962
119971
|
rowIdx: Je(),
|
|
119963
|
-
columnId:
|
|
119972
|
+
columnId: Pe(),
|
|
119964
119973
|
value: _y()
|
|
119965
119974
|
}))
|
|
119966
119975
|
}),
|
|
119967
|
-
label:
|
|
119976
|
+
label: Pe().nullable(),
|
|
119968
119977
|
data: Gn([
|
|
119969
|
-
|
|
119970
|
-
|
|
119978
|
+
Pe(),
|
|
119979
|
+
Pt(Ce({}).passthrough())
|
|
119971
119980
|
]),
|
|
119972
|
-
fieldTypes:
|
|
119981
|
+
fieldTypes: Pt(Mh([
|
|
119973
119982
|
xP.string(),
|
|
119974
119983
|
Mh([
|
|
119975
119984
|
Wt(SD),
|
|
119976
|
-
|
|
119985
|
+
Pe()
|
|
119977
119986
|
])
|
|
119978
119987
|
])).nullish(),
|
|
119979
119988
|
editableColumns: Gn([
|
|
119980
|
-
|
|
119989
|
+
Pt(Pe()),
|
|
119981
119990
|
fi("all")
|
|
119982
119991
|
]),
|
|
119983
119992
|
columnSizingMode: Wt([
|
|
@@ -121073,7 +121082,7 @@ ${l}`
|
|
|
121073
121082
|
let Re, Ie;
|
|
121074
121083
|
const Le = _e(), He = ee.type === Jj.BLUR || ee.type === Jj.FOCUS_OUT, Qt = !GKt(Ee._f) && !e.resolver && !ft(n.errors, ge) && !Ee._f.deps || MKt(He, ft(n.touchedFields, ge), n.isSubmitted, p, h), Lt = AL(ge, s, He);
|
|
121075
121084
|
or(o, ge, Le), He ? (Ee._f.onBlur && Ee._f.onBlur(ee), l && l(0)) : Ee._f.onChange && Ee._f.onChange(ee);
|
|
121076
|
-
const
|
|
121085
|
+
const kt = T(ge, Le, He, false), gt = !vs(kt) || Lt;
|
|
121077
121086
|
if (!He && O.values.next({
|
|
121078
121087
|
name: ge,
|
|
121079
121088
|
type: ee.type,
|
|
@@ -121082,7 +121091,7 @@ ${l}`
|
|
|
121082
121091
|
}
|
|
121083
121092
|
}), Qt) return d.isValid && (e.mode === "onBlur" && He ? v() : He || v()), gt && O.state.next({
|
|
121084
121093
|
name: ge,
|
|
121085
|
-
...Lt ? {} :
|
|
121094
|
+
...Lt ? {} : kt
|
|
121086
121095
|
});
|
|
121087
121096
|
if (!He && Lt && O.state.next({
|
|
121088
121097
|
...n
|
|
@@ -121099,7 +121108,7 @@ ${l}`
|
|
|
121099
121108
|
], true), Re = (await UL(Ee, s.disabled, o, $, e.shouldUseNativeValidation))[ge], w([
|
|
121100
121109
|
ge
|
|
121101
121110
|
]), Qe(Le), Se && (Re ? Ie = false : d.isValid && (Ie = await X(r, true)));
|
|
121102
|
-
Se && (Ee._f.deps && V(Ee._f.deps), _(ge, Ie, Re,
|
|
121111
|
+
Se && (Ee._f.deps && V(Ee._f.deps), _(ge, Ie, Re, kt));
|
|
121103
121112
|
}
|
|
121104
121113
|
}, N = (ee, he) => {
|
|
121105
121114
|
if (ft(n.errors, he) && ee.focus) return ee.focus(), 1;
|
|
@@ -125279,16 +125288,16 @@ ${n}
|
|
|
125279
125288
|
item: ne,
|
|
125280
125289
|
scrollTop: J,
|
|
125281
125290
|
viewport: H
|
|
125282
|
-
}))), Y), Vt(at(Fo(dn(T), r, dn(G, itn), dn(X, iX), dn(j, iX), dn(U), dn(_), dn(M), dn(V), dn(N)), sn(([, , , , , , , H]) => !H), Et(([H, [ne, me], J, Z, oe, de,
|
|
125291
|
+
}))), Y), Vt(at(Fo(dn(T), r, dn(G, itn), dn(X, iX), dn(j, iX), dn(U), dn(_), dn(M), dn(V), dn(N)), sn(([, , , , , , , H]) => !H), Et(([H, [ne, me], J, Z, oe, de, Te, , we, Xe]) => {
|
|
125283
125292
|
const { column: ee, row: he } = J, { height: ge, width: Se } = Z, { width: Ee } = oe;
|
|
125284
|
-
if (
|
|
125293
|
+
if (Te === 0 && (H === 0 || Ee === 0)) return k0e;
|
|
125285
125294
|
if (Se === 0) {
|
|
125286
|
-
const
|
|
125287
|
-
return rtn(X0e(
|
|
125295
|
+
const kt = qte(Xe, H), gt = kt + Math.max(Te - 1, 0);
|
|
125296
|
+
return rtn(X0e(kt, gt, de));
|
|
125288
125297
|
}
|
|
125289
125298
|
const _e = rWe(Ee, Se, ee);
|
|
125290
125299
|
let Qe, Re;
|
|
125291
|
-
we ? ne === 0 && me === 0 &&
|
|
125300
|
+
we ? ne === 0 && me === 0 && Te > 0 ? (Qe = 0, Re = Te - 1) : (Qe = _e * cq((ne + he) / (ge + he)), Re = _e * _0e((me + he) / (ge + he)) - 1, Re = RY(H - 1, BP(Re, _e - 1)), Qe = RY(Re, BP(0, Qe))) : (Qe = 0, Re = -1);
|
|
125292
125301
|
const Ie = X0e(Qe, Re, de), { bottom: Le, top: He } = C0e(oe, J, Z, Ie), Qt = _0e(H / _e), Lt = Qt * ge + (Qt - 1) * he - Le;
|
|
125293
125302
|
return {
|
|
125294
125303
|
bottom: Le,
|
|
@@ -125316,12 +125325,12 @@ ${n}
|
|
|
125316
125325
|
startIndex: H[0].index
|
|
125317
125326
|
})), Oi(zVe), km(0)));
|
|
125318
125327
|
Vt(le, p.scrollSeekRangeChanged), Vt(at(E, qn(j, X, T, G), Et(([H, ne, me, J, Z]) => {
|
|
125319
|
-
const oe = WVe(H), { align: de, behavior:
|
|
125328
|
+
const oe = WVe(H), { align: de, behavior: Te, offset: we } = oe;
|
|
125320
125329
|
let Xe = oe.index;
|
|
125321
125330
|
Xe === "LAST" && (Xe = J - 1), Xe = BP(0, Xe, RY(J - 1, Xe));
|
|
125322
125331
|
let ee = BL(ne, Z, me, Xe);
|
|
125323
125332
|
return de === "end" ? ee = R0e(ee - ne.height + me.height) : de === "center" && (ee = R0e(ee - ne.height / 2 + me.height / 2)), we && (ee += we), {
|
|
125324
|
-
behavior:
|
|
125333
|
+
behavior: Te,
|
|
125325
125334
|
top: ee
|
|
125326
125335
|
};
|
|
125327
125336
|
})), l);
|
|
@@ -125678,16 +125687,16 @@ ${n}
|
|
|
125678
125687
|
e[62] !== X ? (de = m.jsx(rD, {
|
|
125679
125688
|
children: X
|
|
125680
125689
|
}), e[62] = X, e[63] = de) : de = e[63];
|
|
125681
|
-
let
|
|
125682
|
-
e[64] !== ie || e[65] !== B ? (
|
|
125690
|
+
let Te;
|
|
125691
|
+
e[64] !== ie || e[65] !== B ? (Te = {
|
|
125683
125692
|
isSelected: B,
|
|
125684
125693
|
onSelect: ie
|
|
125685
|
-
}, e[64] = ie, e[65] = B, e[66] =
|
|
125694
|
+
}, e[64] = ie, e[65] = B, e[66] = Te) : Te = e[66];
|
|
125686
125695
|
let we;
|
|
125687
|
-
e[67] !== n || e[68] !==
|
|
125688
|
-
value:
|
|
125696
|
+
e[67] !== n || e[68] !== Te ? (we = m.jsx(oWe, {
|
|
125697
|
+
value: Te,
|
|
125689
125698
|
children: n
|
|
125690
|
-
}), e[67] = n, e[68] =
|
|
125699
|
+
}), e[67] = n, e[68] = Te, e[69] = we) : we = e[69];
|
|
125691
125700
|
let Xe;
|
|
125692
125701
|
e[70] !== de || e[71] !== we ? (Xe = m.jsxs(nD, {
|
|
125693
125702
|
className: "max-h-60 py-.5",
|
|
@@ -125776,9 +125785,9 @@ ${n}
|
|
|
125776
125785
|
class mtn {
|
|
125777
125786
|
constructor() {
|
|
125778
125787
|
this.tagName = "marimo-multiselect", this.validator = Ce({
|
|
125779
|
-
initialValue:
|
|
125780
|
-
label:
|
|
125781
|
-
options:
|
|
125788
|
+
initialValue: Pt(Pe()),
|
|
125789
|
+
label: Pe().nullable(),
|
|
125790
|
+
options: Pt(Pe()),
|
|
125782
125791
|
fullWidth: et().default(false),
|
|
125783
125792
|
maxSelections: Je().optional()
|
|
125784
125793
|
});
|
|
@@ -126107,7 +126116,7 @@ ${n}
|
|
|
126107
126116
|
return e[3] !== r ? (o = m.jsx(yn, {
|
|
126108
126117
|
content: "Copy code",
|
|
126109
126118
|
usePortal: false,
|
|
126110
|
-
children: m.jsx(
|
|
126119
|
+
children: m.jsx(Tt, {
|
|
126111
126120
|
onClick: r,
|
|
126112
126121
|
size: "xs",
|
|
126113
126122
|
className: "py-0",
|
|
@@ -126126,7 +126135,7 @@ ${n}
|
|
|
126126
126135
|
return e[1] !== t.onClick ? (r = m.jsx(yn, {
|
|
126127
126136
|
content: "Hide code",
|
|
126128
126137
|
usePortal: false,
|
|
126129
|
-
children: m.jsx(
|
|
126138
|
+
children: m.jsx(Tt, {
|
|
126130
126139
|
onClick: t.onClick,
|
|
126131
126140
|
size: "xs",
|
|
126132
126141
|
className: "py-0",
|
|
@@ -126168,7 +126177,7 @@ ${n}
|
|
|
126168
126177
|
return e[4] !== i ? (a = m.jsx(yn, {
|
|
126169
126178
|
content: "Add code to notebook",
|
|
126170
126179
|
usePortal: false,
|
|
126171
|
-
children: m.jsx(
|
|
126180
|
+
children: m.jsx(Tt, {
|
|
126172
126181
|
onClick: i,
|
|
126173
126182
|
size: "xs",
|
|
126174
126183
|
className: "py-0",
|
|
@@ -126596,7 +126605,7 @@ ${n}
|
|
|
126596
126605
|
className: "text-xs text-muted-foreground font-mono",
|
|
126597
126606
|
children: w
|
|
126598
126607
|
}),
|
|
126599
|
-
m.jsx(
|
|
126608
|
+
m.jsx(Tt, {
|
|
126600
126609
|
variant: "ghost",
|
|
126601
126610
|
size: "sm",
|
|
126602
126611
|
onClick: () => $(x),
|
|
@@ -126607,7 +126616,7 @@ ${n}
|
|
|
126607
126616
|
})
|
|
126608
126617
|
]
|
|
126609
126618
|
}, x)),
|
|
126610
|
-
m.jsxs(
|
|
126619
|
+
m.jsxs(Tt, {
|
|
126611
126620
|
variant: "outline",
|
|
126612
126621
|
size: "sm",
|
|
126613
126622
|
onClick: h,
|
|
@@ -127710,7 +127719,7 @@ ${n}
|
|
|
127710
127719
|
w
|
|
127711
127720
|
]
|
|
127712
127721
|
}), t[21] = d, t[22] = O, t[23] = y, t[24] = b) : b = t[24], b;
|
|
127713
|
-
}, inn = ue.lazy(() => import("./index-
|
|
127722
|
+
}, inn = ue.lazy(() => import("./index-Du9BJSvj.js").then((t) => t.a).then((t) => ({
|
|
127714
127723
|
default: t.Vega
|
|
127715
127724
|
}))), onn = (t) => {
|
|
127716
127725
|
const e = se.c(8), { baseSpec: n, data: r, height: i } = t, { theme: o } = Od();
|
|
@@ -127759,7 +127768,7 @@ ${n}
|
|
|
127759
127768
|
step: Je().optional(),
|
|
127760
127769
|
maxbins: Je().optional()
|
|
127761
127770
|
}), Lte = Ce({
|
|
127762
|
-
field:
|
|
127771
|
+
field: Pe().optional(),
|
|
127763
127772
|
type: Wt([
|
|
127764
127773
|
...SD,
|
|
127765
127774
|
es
|
|
@@ -127782,7 +127791,7 @@ ${n}
|
|
|
127782
127791
|
maxbins: Je().default(b1)
|
|
127783
127792
|
}), mWe = Ce({
|
|
127784
127793
|
general: Ce({
|
|
127785
|
-
title:
|
|
127794
|
+
title: Pe().optional(),
|
|
127786
127795
|
xColumn: EY.optional(),
|
|
127787
127796
|
yColumn: EY.optional(),
|
|
127788
127797
|
colorByColumn: EY.optional(),
|
|
@@ -127794,12 +127803,12 @@ ${n}
|
|
|
127794
127803
|
stacking: et().optional()
|
|
127795
127804
|
}).optional(),
|
|
127796
127805
|
xAxis: Ce({
|
|
127797
|
-
label:
|
|
127806
|
+
label: Pe().optional(),
|
|
127798
127807
|
width: Je().optional(),
|
|
127799
127808
|
bin: CY.optional()
|
|
127800
127809
|
}).optional(),
|
|
127801
127810
|
yAxis: Ce({
|
|
127802
|
-
label:
|
|
127811
|
+
label: Pe().optional(),
|
|
127803
127812
|
height: Je().optional(),
|
|
127804
127813
|
bin: CY.optional()
|
|
127805
127814
|
}).optional(),
|
|
@@ -127808,9 +127817,9 @@ ${n}
|
|
|
127808
127817
|
...rVe,
|
|
127809
127818
|
tO
|
|
127810
127819
|
]).default(tO),
|
|
127811
|
-
scheme:
|
|
127812
|
-
range:
|
|
127813
|
-
domain:
|
|
127820
|
+
scheme: Pe().default(TD).optional(),
|
|
127821
|
+
range: Pt(Pe()).optional(),
|
|
127822
|
+
domain: Pt(Pe()).optional(),
|
|
127814
127823
|
bin: CY.optional()
|
|
127815
127824
|
}).optional(),
|
|
127816
127825
|
style: Ce({
|
|
@@ -127819,8 +127828,8 @@ ${n}
|
|
|
127819
127828
|
}).optional(),
|
|
127820
127829
|
tooltips: Ce({
|
|
127821
127830
|
auto: et(),
|
|
127822
|
-
fields:
|
|
127823
|
-
field:
|
|
127831
|
+
fields: Pt(Ce({
|
|
127832
|
+
field: Pe(),
|
|
127824
127833
|
type: Wt(SD)
|
|
127825
127834
|
}))
|
|
127826
127835
|
}).default({
|
|
@@ -127855,12 +127864,12 @@ ${n}
|
|
|
127855
127864
|
};
|
|
127856
127865
|
}
|
|
127857
127866
|
const Fte = "marimo:charts:v2", cnn = Ce({
|
|
127858
|
-
tabName:
|
|
127859
|
-
chartType:
|
|
127867
|
+
tabName: Pe().transform((t) => t),
|
|
127868
|
+
chartType: Pe().transform((t) => t),
|
|
127860
127869
|
config: mWe
|
|
127861
|
-
}), unn =
|
|
127862
|
-
|
|
127863
|
-
|
|
127870
|
+
}), unn = Pt(Mh([
|
|
127871
|
+
Pe().transform((t) => t),
|
|
127872
|
+
Pt(cnn)
|
|
127864
127873
|
])), jY = new KEe(Fte, unn, () => []), $We = {
|
|
127865
127874
|
getItem: (t) => {
|
|
127866
127875
|
try {
|
|
@@ -127951,7 +127960,7 @@ ${n}
|
|
|
127951
127960
|
]
|
|
127952
127961
|
}, U));
|
|
127953
127962
|
let C;
|
|
127954
|
-
e[5] !== $ ? (C = m.jsx(
|
|
127963
|
+
e[5] !== $ ? (C = m.jsx(Tt, {
|
|
127955
127964
|
variant: "text",
|
|
127956
127965
|
size: "icon",
|
|
127957
127966
|
onClick: $,
|
|
@@ -128111,7 +128120,7 @@ ${n}
|
|
|
128111
128120
|
className: `relative flex flex-col gap-2 overflow-auto px-2 py-3 scrollbar-thin transition-width duration-200 ${d ? "w-8" : "w-[300px]"}`,
|
|
128112
128121
|
children: [
|
|
128113
128122
|
!d && T,
|
|
128114
|
-
m.jsx(
|
|
128123
|
+
m.jsx(Tt, {
|
|
128115
128124
|
variant: "outline",
|
|
128116
128125
|
size: "icon",
|
|
128117
128126
|
className: "border-border ml-auto",
|
|
@@ -128370,7 +128379,7 @@ ${n}
|
|
|
128370
128379
|
let c;
|
|
128371
128380
|
e[6] !== n || e[7] !== r ? (c = r ? n.slice(0, r).join(", ") : n.join(", "), e[6] = n, e[7] = r, e[8] = c) : c = e[8];
|
|
128372
128381
|
let d;
|
|
128373
|
-
return e[9] !== s || e[10] !== l || e[11] !== c ? (d = m.jsxs(
|
|
128382
|
+
return e[9] !== s || e[10] !== l || e[11] !== c ? (d = m.jsxs(Tt, {
|
|
128374
128383
|
variant: "outline",
|
|
128375
128384
|
size: "xs",
|
|
128376
128385
|
onClick: s,
|
|
@@ -128381,7 +128390,7 @@ ${n}
|
|
|
128381
128390
|
c
|
|
128382
128391
|
]
|
|
128383
128392
|
}), e[9] = s, e[10] = l, e[11] = c, e[12] = d) : d = e[12], d;
|
|
128384
|
-
}, Qnn = ue.lazy(() => import("./index-
|
|
128393
|
+
}, Qnn = ue.lazy(() => import("./index-Du9BJSvj.js").then((t) => t.a).then((t) => ({
|
|
128385
128394
|
default: t.VegaLite
|
|
128386
128395
|
})));
|
|
128387
128396
|
function Pnn({ error: t, missingPackages: e, refetchPreview: n }) {
|
|
@@ -128473,7 +128482,7 @@ ${n}
|
|
|
128473
128482
|
return e[8] !== l ? (d = m.jsx(yn, {
|
|
128474
128483
|
content: "Add chart to notebook",
|
|
128475
128484
|
delayDuration: 400,
|
|
128476
|
-
children: m.jsx(
|
|
128485
|
+
children: m.jsx(Tt, {
|
|
128477
128486
|
variant: "outline",
|
|
128478
128487
|
size: "icon",
|
|
128479
128488
|
className: "z-10 bg-background absolute right-1 -top-0.5",
|
|
@@ -128567,7 +128576,7 @@ ${n}
|
|
|
128567
128576
|
e[8] !== n ? (p = m.jsx(yn, {
|
|
128568
128577
|
content: "Copy column name",
|
|
128569
128578
|
delayDuration: 400,
|
|
128570
|
-
children: m.jsx(
|
|
128579
|
+
children: m.jsx(Tt, {
|
|
128571
128580
|
variant: "text",
|
|
128572
128581
|
size: "icon",
|
|
128573
128582
|
className: "group-hover:opacity-100 opacity-0 hover:bg-muted text-muted-foreground hover:text-foreground",
|
|
@@ -128855,7 +128864,7 @@ ${n}
|
|
|
128855
128864
|
o && m.jsxs("div", {
|
|
128856
128865
|
className: "flex flex-row gap-1 items-center",
|
|
128857
128866
|
children: [
|
|
128858
|
-
m.jsx(
|
|
128867
|
+
m.jsx(Tt, {
|
|
128859
128868
|
variant: "link",
|
|
128860
128869
|
size: "xs",
|
|
128861
128870
|
className: "pr-0",
|
|
@@ -128867,7 +128876,7 @@ ${n}
|
|
|
128867
128876
|
})
|
|
128868
128877
|
]
|
|
128869
128878
|
}),
|
|
128870
|
-
m.jsx(
|
|
128879
|
+
m.jsx(Tt, {
|
|
128871
128880
|
variant: "outline",
|
|
128872
128881
|
size: "xs",
|
|
128873
128882
|
className: `${w} ml-auto`,
|
|
@@ -128876,7 +128885,7 @@ ${n}
|
|
|
128876
128885
|
"aria-label": "Go to first row",
|
|
128877
128886
|
children: m.jsx(YSe, {})
|
|
128878
128887
|
}),
|
|
128879
|
-
m.jsx(
|
|
128888
|
+
m.jsx(Tt, {
|
|
128880
128889
|
variant: "outline",
|
|
128881
128890
|
size: "xs",
|
|
128882
128891
|
className: w,
|
|
@@ -128889,7 +128898,7 @@ ${n}
|
|
|
128889
128898
|
className: "text-xs",
|
|
128890
128899
|
children: h ? `Row ${t + 1}` : `Row ${t + 1} of ${hUe(n)}`
|
|
128891
128900
|
}),
|
|
128892
|
-
m.jsx(
|
|
128901
|
+
m.jsx(Tt, {
|
|
128893
128902
|
variant: "outline",
|
|
128894
128903
|
size: "xs",
|
|
128895
128904
|
className: w,
|
|
@@ -128898,7 +128907,7 @@ ${n}
|
|
|
128898
128907
|
"aria-label": "Next row",
|
|
128899
128908
|
children: m.jsx(Ny, {})
|
|
128900
128909
|
}),
|
|
128901
|
-
m.jsx(
|
|
128910
|
+
m.jsx(Tt, {
|
|
128902
128911
|
variant: "outline",
|
|
128903
128912
|
size: "xs",
|
|
128904
128913
|
className: w,
|
|
@@ -129628,7 +129637,7 @@ ${n}
|
|
|
129628
129637
|
if (K.constraints.collapsible) {
|
|
129629
129638
|
const H = ce.map((de) => de.constraints), { collapsedSize: ne = 0, panelSize: me = 0, minSize: J = 0, pivotIndices: Z } = B$(ce, K, le), oe = ie ?? J;
|
|
129630
129639
|
if (Ph(me, ne)) {
|
|
129631
|
-
const de = P.current.get(K.id),
|
|
129640
|
+
const de = P.current.get(K.id), Te = de != null && de >= oe ? de : oe, Xe = Hb(ce, K) === ce.length - 1 ? me - Te : Te - me, ee = hP({
|
|
129632
129641
|
delta: Xe,
|
|
129633
129642
|
initialLayout: le,
|
|
129634
129643
|
panelConstraints: H,
|
|
@@ -129700,11 +129709,11 @@ ${n}
|
|
|
129700
129709
|
ce.preventDefault();
|
|
129701
129710
|
const H = p.current;
|
|
129702
129711
|
if (!H) return () => null;
|
|
129703
|
-
const { direction: ne, dragState: me, id: J, keyboardResizeBy: Z, onLayout: oe } = T.current, { layout: de, panelDataArray:
|
|
129712
|
+
const { direction: ne, dragState: me, id: J, keyboardResizeBy: Z, onLayout: oe } = T.current, { layout: de, panelDataArray: Te } = _.current, { initialLayout: we } = me ?? {}, Xe = QWe(J, K, H);
|
|
129704
129713
|
let ee = crn(ce, K, ne, me, Z, H);
|
|
129705
129714
|
const he = ne === "horizontal";
|
|
129706
129715
|
he && ie && (ee = -ee);
|
|
129707
|
-
const ge =
|
|
129716
|
+
const ge = Te.map((_e) => _e.constraints), Se = hP({
|
|
129708
129717
|
delta: ee,
|
|
129709
129718
|
initialLayout: we ?? de,
|
|
129710
129719
|
panelConstraints: ge,
|
|
@@ -129712,7 +129721,7 @@ ${n}
|
|
|
129712
129721
|
prevLayout: de,
|
|
129713
129722
|
trigger: wWe(ce) ? "keyboard" : "mouse-or-touch"
|
|
129714
129723
|
}), Ee = !aX(de, Se);
|
|
129715
|
-
(xWe(ce) || SWe(ce)) && Q.current != ee && (Q.current = ee, !Ee && ee !== 0 ? he ? qY(K, ee < 0 ? Hnn : Knn) : qY(K, ee < 0 ? Jnn : ern) : qY(K, 0)), Ee && (w(Se), _.current.layout = Se, oe && oe(Se), _b(
|
|
129724
|
+
(xWe(ce) || SWe(ce)) && Q.current != ee && (Q.current = ee, !Ee && ee !== 0 ? he ? qY(K, ee < 0 ? Hnn : Knn) : qY(K, ee < 0 ? Jnn : ern) : qY(K, 0)), Ee && (w(Se), _.current.layout = Se, oe && oe(Se), _b(Te, Se, b.current));
|
|
129716
129725
|
};
|
|
129717
129726
|
}, []), Y = k.useCallback((K, ie) => {
|
|
129718
129727
|
const { onLayout: te } = T.current, { layout: le, panelDataArray: ce } = _.current, H = ce.map((de) => de.constraints), { panelSize: ne, pivotIndices: me } = B$(ce, K, le);
|
|
@@ -129961,14 +129970,14 @@ ${n}
|
|
|
129961
129970
|
number: xP.number().describe(Kt.of({
|
|
129962
129971
|
label: "Value"
|
|
129963
129972
|
})),
|
|
129964
|
-
string:
|
|
129973
|
+
string: Pe().min(1).describe(Kt.of({
|
|
129965
129974
|
label: "Value"
|
|
129966
129975
|
})),
|
|
129967
|
-
stringColumnValues:
|
|
129976
|
+
stringColumnValues: Pe().min(1).describe(Kt.of({
|
|
129968
129977
|
label: "Value",
|
|
129969
129978
|
special: "column_values"
|
|
129970
129979
|
})),
|
|
129971
|
-
stringMultiColumnValues:
|
|
129980
|
+
stringMultiColumnValues: Pt(Pe()).min(1).describe(Kt.of({
|
|
129972
129981
|
label: "Value",
|
|
129973
129982
|
special: "column_values"
|
|
129974
129983
|
})),
|
|
@@ -129980,7 +129989,7 @@ ${n}
|
|
|
129980
129989
|
label: "Value",
|
|
129981
129990
|
special: "datetime"
|
|
129982
129991
|
})),
|
|
129983
|
-
time:
|
|
129992
|
+
time: Pe().regex(/^\d{2}:\d{2}(:\d{2})?$/).describe(Kt.of({
|
|
129984
129993
|
label: "Value",
|
|
129985
129994
|
special: "time"
|
|
129986
129995
|
}))
|
|
@@ -130096,16 +130105,16 @@ ${n}
|
|
|
130096
130105
|
].flat();
|
|
130097
130106
|
return n.length === 0 ? true : n.some((r) => r.safeParse(e).success);
|
|
130098
130107
|
}
|
|
130099
|
-
const Zl = (t, e) => t[e] ? t[e] : [], hq =
|
|
130108
|
+
const Zl = (t, e) => t[e] ? t[e] : [], hq = Pt(Mh([
|
|
130100
130109
|
xP.string(),
|
|
130101
130110
|
Mh([
|
|
130102
130111
|
Wt(SD),
|
|
130103
|
-
|
|
130112
|
+
Pe()
|
|
130104
130113
|
])
|
|
130105
|
-
])), Xx =
|
|
130114
|
+
])), Xx = Pe().min(1, "Required").or(Je()).transform((t) => t).describe(Kt.of({
|
|
130106
130115
|
label: "Column",
|
|
130107
130116
|
special: "column_id"
|
|
130108
|
-
})), R_ =
|
|
130117
|
+
})), R_ = Pt(Xx.describe(Kt.of({
|
|
130109
130118
|
special: "column_id"
|
|
130110
130119
|
}))).min(1, "At least one column is required").default([]).describe(Kt.of({
|
|
130111
130120
|
label: "Columns"
|
|
@@ -130125,7 +130134,7 @@ ${n}
|
|
|
130125
130134
|
}).describe(Kt.of({})), Srn = Ce({
|
|
130126
130135
|
type: fi("rename_column"),
|
|
130127
130136
|
column_id: Xx,
|
|
130128
|
-
new_column_id:
|
|
130137
|
+
new_column_id: Pe().min(1, "Required").transform((t) => t).describe(Kt.of({
|
|
130129
130138
|
label: "New column name"
|
|
130130
130139
|
}))
|
|
130131
130140
|
}), Qrn = Ce({
|
|
@@ -130160,7 +130169,7 @@ ${n}
|
|
|
130160
130169
|
]).default("keep_rows").describe(Kt.of({
|
|
130161
130170
|
special: "radio_group"
|
|
130162
130171
|
})),
|
|
130163
|
-
where:
|
|
130172
|
+
where: Pt(ene).min(1).transform((t) => t.filter((e) => wrn(e.operator, e.value))).describe(Kt.of({
|
|
130164
130173
|
label: "Value"
|
|
130165
130174
|
})).default([
|
|
130166
130175
|
{
|
|
@@ -130181,7 +130190,7 @@ ${n}
|
|
|
130181
130190
|
}).describe(Kt.of({})), krn = Ce({
|
|
130182
130191
|
type: fi("aggregate"),
|
|
130183
130192
|
column_ids: R_,
|
|
130184
|
-
aggregations:
|
|
130193
|
+
aggregations: Pt(Wt(zWe)).min(1, "At least one aggregation is required").default([
|
|
130185
130194
|
"count"
|
|
130186
130195
|
]).describe(Kt.of({
|
|
130187
130196
|
label: "Aggregations"
|
|
@@ -130242,11 +130251,11 @@ ${n}
|
|
|
130242
130251
|
Ern,
|
|
130243
130252
|
jrn
|
|
130244
130253
|
]), qrn = Ce({
|
|
130245
|
-
transforms:
|
|
130254
|
+
transforms: Pt(tne)
|
|
130246
130255
|
}), nh = Gn([
|
|
130247
130256
|
Je(),
|
|
130248
130257
|
Lat(),
|
|
130249
|
-
|
|
130258
|
+
Pe()
|
|
130250
130259
|
]).nullable(), L0e = Ce({
|
|
130251
130260
|
total: Je().nullable(),
|
|
130252
130261
|
nulls: Je().nullable(),
|
|
@@ -130262,33 +130271,33 @@ ${n}
|
|
|
130262
130271
|
p25: nh,
|
|
130263
130272
|
p75: nh,
|
|
130264
130273
|
p95: nh
|
|
130265
|
-
}), zrn =
|
|
130274
|
+
}), zrn = Pt(Ce({
|
|
130266
130275
|
bin_start: Gn([
|
|
130267
130276
|
Je(),
|
|
130268
|
-
|
|
130277
|
+
Pe(),
|
|
130269
130278
|
vue(Date)
|
|
130270
130279
|
]),
|
|
130271
130280
|
bin_end: Gn([
|
|
130272
130281
|
Je(),
|
|
130273
|
-
|
|
130282
|
+
Pe(),
|
|
130274
130283
|
vue(Date)
|
|
130275
130284
|
]),
|
|
130276
130285
|
count: Je()
|
|
130277
|
-
})), Drn =
|
|
130278
|
-
value:
|
|
130286
|
+
})), Drn = Pt(Ce({
|
|
130287
|
+
value: Pe(),
|
|
130279
130288
|
count: Je()
|
|
130280
130289
|
})), Arn = md("marimo-table").withData(Ce({
|
|
130281
130290
|
initialValue: Gn([
|
|
130282
|
-
|
|
130283
|
-
|
|
130284
|
-
rowId:
|
|
130285
|
-
columnName:
|
|
130291
|
+
Pt(Je()),
|
|
130292
|
+
Pt(Ce({
|
|
130293
|
+
rowId: Pe(),
|
|
130294
|
+
columnName: Pe()
|
|
130286
130295
|
}))
|
|
130287
130296
|
]),
|
|
130288
|
-
label:
|
|
130297
|
+
label: Pe().nullable(),
|
|
130289
130298
|
data: Gn([
|
|
130290
|
-
|
|
130291
|
-
|
|
130299
|
+
Pe(),
|
|
130300
|
+
Pt(Ce({}).passthrough())
|
|
130292
130301
|
]),
|
|
130293
130302
|
totalRows: Gn([
|
|
130294
130303
|
Je(),
|
|
@@ -130316,14 +130325,14 @@ ${n}
|
|
|
130316
130325
|
showColumnExplorer: et().default(true),
|
|
130317
130326
|
showChartBuilder: et().default(true),
|
|
130318
130327
|
rowHeaders: hq,
|
|
130319
|
-
freezeColumnsLeft:
|
|
130320
|
-
freezeColumnsRight:
|
|
130328
|
+
freezeColumnsLeft: Pt(Pe()).optional(),
|
|
130329
|
+
freezeColumnsRight: Pt(Pe()).optional(),
|
|
130321
130330
|
textJustifyColumns: tl(Wt([
|
|
130322
130331
|
"left",
|
|
130323
130332
|
"center",
|
|
130324
130333
|
"right"
|
|
130325
130334
|
])).optional(),
|
|
130326
|
-
wrappedColumns:
|
|
130335
|
+
wrappedColumns: Pt(Pe()).optional(),
|
|
130327
130336
|
fieldTypes: hq.nullish(),
|
|
130328
130337
|
totalColumns: Je(),
|
|
130329
130338
|
maxColumns: Gn([
|
|
@@ -130341,33 +130350,33 @@ ${n}
|
|
|
130341
130350
|
"json",
|
|
130342
130351
|
"parquet"
|
|
130343
130352
|
])
|
|
130344
|
-
})).output(
|
|
130353
|
+
})).output(Pe()),
|
|
130345
130354
|
get_column_summaries: Ro.input(Ce({
|
|
130346
130355
|
precompute: et()
|
|
130347
130356
|
})).output(Ce({
|
|
130348
130357
|
data: Gn([
|
|
130349
|
-
|
|
130350
|
-
|
|
130358
|
+
Pe(),
|
|
130359
|
+
Pt(Ce({}).passthrough())
|
|
130351
130360
|
]).nullable(),
|
|
130352
|
-
stats: tl(
|
|
130353
|
-
bin_values: tl(
|
|
130354
|
-
value_counts: tl(
|
|
130361
|
+
stats: tl(Pe(), L0e),
|
|
130362
|
+
bin_values: tl(Pe(), zrn),
|
|
130363
|
+
value_counts: tl(Pe(), Drn),
|
|
130355
130364
|
is_disabled: et().optional()
|
|
130356
130365
|
})),
|
|
130357
130366
|
search: Ro.input(Ce({
|
|
130358
130367
|
sort: Ce({
|
|
130359
|
-
by:
|
|
130368
|
+
by: Pe(),
|
|
130360
130369
|
descending: et()
|
|
130361
130370
|
}).optional(),
|
|
130362
|
-
query:
|
|
130363
|
-
filters:
|
|
130371
|
+
query: Pe().optional(),
|
|
130372
|
+
filters: Pt(ene).optional(),
|
|
130364
130373
|
page_number: Je(),
|
|
130365
130374
|
page_size: Je(),
|
|
130366
130375
|
max_columns: Je().nullable().optional()
|
|
130367
130376
|
})).output(Ce({
|
|
130368
130377
|
data: Gn([
|
|
130369
|
-
|
|
130370
|
-
|
|
130378
|
+
Pe(),
|
|
130379
|
+
Pt(Ce({}).passthrough())
|
|
130371
130380
|
]),
|
|
130372
130381
|
total_rows: Gn([
|
|
130373
130382
|
Je(),
|
|
@@ -130376,14 +130385,14 @@ ${n}
|
|
|
130376
130385
|
cell_styles: tl(tl(Ce({}).passthrough())).nullable()
|
|
130377
130386
|
})),
|
|
130378
130387
|
get_row_ids: Ro.input(Ce({}).passthrough()).output(Ce({
|
|
130379
|
-
row_ids:
|
|
130388
|
+
row_ids: Pt(Je()),
|
|
130380
130389
|
all_rows: et(),
|
|
130381
|
-
error:
|
|
130390
|
+
error: Pe().nullable()
|
|
130382
130391
|
})),
|
|
130383
130392
|
get_data_url: Ro.input(Ce({}).passthrough()).output(Ce({
|
|
130384
130393
|
data_url: Gn([
|
|
130385
|
-
|
|
130386
|
-
|
|
130394
|
+
Pe(),
|
|
130395
|
+
Pt(Ce({}).passthrough())
|
|
130387
130396
|
]),
|
|
130388
130397
|
format: Wt([
|
|
130389
130398
|
"csv",
|
|
@@ -130392,21 +130401,21 @@ ${n}
|
|
|
130392
130401
|
])
|
|
130393
130402
|
})),
|
|
130394
130403
|
calculate_top_k_rows: Ro.input(Ce({
|
|
130395
|
-
column:
|
|
130404
|
+
column: Pe(),
|
|
130396
130405
|
k: Je()
|
|
130397
130406
|
})).output(Ce({
|
|
130398
|
-
data:
|
|
130407
|
+
data: Pt(Mh([
|
|
130399
130408
|
vg(),
|
|
130400
130409
|
Je()
|
|
130401
130410
|
]))
|
|
130402
130411
|
})),
|
|
130403
130412
|
preview_column: Ro.input(Ce({
|
|
130404
|
-
column:
|
|
130413
|
+
column: Pe()
|
|
130405
130414
|
})).output(Ce({
|
|
130406
|
-
chart_spec:
|
|
130407
|
-
chart_code:
|
|
130408
|
-
error:
|
|
130409
|
-
missing_packages:
|
|
130415
|
+
chart_spec: Pe().nullable(),
|
|
130416
|
+
chart_code: Pe().nullable(),
|
|
130417
|
+
error: Pe().nullable(),
|
|
130418
|
+
missing_packages: Pt(Pe()).nullable(),
|
|
130410
130419
|
stats: L0e.nullable()
|
|
130411
130420
|
}))
|
|
130412
130421
|
}).renderer((t) => m.jsx(AWe, {
|
|
@@ -130429,7 +130438,7 @@ ${n}
|
|
|
130429
130438
|
let s;
|
|
130430
130439
|
return e[0] === Symbol.for("react.memo_cache_sentinel") ? (s = m.jsx("div", {
|
|
130431
130440
|
className: "flex h-20 items-center justify-center",
|
|
130432
|
-
children: m.jsxs(
|
|
130441
|
+
children: m.jsxs(Tt, {
|
|
130433
130442
|
variant: "outline",
|
|
130434
130443
|
size: "xs",
|
|
130435
130444
|
onClick: () => a(false),
|
|
@@ -130617,8 +130626,8 @@ ${n}
|
|
|
130617
130626
|
b(!x);
|
|
130618
130627
|
}, e[71] = x, e[72] = ne) : ne = e[72];
|
|
130619
130628
|
const me = ne, J = (E == null ? void 0 : E.rows) ?? Ef.EMPTY, Z = U && !D, oe = (E == null ? void 0 : E.totalRows) ?? t.totalRows, de = (E == null ? void 0 : E.cellStyles) ?? t.cellStyles;
|
|
130620
|
-
let
|
|
130621
|
-
e[73] !== r || e[74] !== ie || e[75] !== y || e[76] !== Y || e[77] !== d || e[78] !== t || e[79] !== h || e[80] !== s || e[81] !== J || e[82] !== Z || e[83] !== oe || e[84] !== de || e[85] !== me ? (
|
|
130629
|
+
let Te;
|
|
130630
|
+
e[73] !== r || e[74] !== ie || e[75] !== y || e[76] !== Y || e[77] !== d || e[78] !== t || e[79] !== h || e[80] !== s || e[81] !== J || e[82] !== Z || e[83] !== oe || e[84] !== de || e[85] !== me ? (Te = m.jsx(Vrn, {
|
|
130622
130631
|
...t,
|
|
130623
130632
|
data: J,
|
|
130624
130633
|
columnSummaries: ie,
|
|
@@ -130636,8 +130645,8 @@ ${n}
|
|
|
130636
130645
|
toggleDisplayHeader: me,
|
|
130637
130646
|
getRow: Y,
|
|
130638
130647
|
cellId: r
|
|
130639
|
-
}), e[73] = r, e[74] = ie, e[75] = y, e[76] = Y, e[77] = d, e[78] = t, e[79] = h, e[80] = s, e[81] = J, e[82] = Z, e[83] = oe, e[84] = de, e[85] = me, e[86] =
|
|
130640
|
-
const we =
|
|
130648
|
+
}), e[73] = r, e[74] = ie, e[75] = y, e[76] = Y, e[77] = d, e[78] = t, e[79] = h, e[80] = s, e[81] = J, e[82] = Z, e[83] = oe, e[84] = de, e[85] = me, e[86] = Te) : Te = e[86];
|
|
130649
|
+
const we = Te;
|
|
130641
130650
|
let Xe;
|
|
130642
130651
|
e[87] !== r || e[88] !== we || e[89] !== x || e[90] !== t.fieldTypes || e[91] !== t.get_data_url || e[92] !== t.showChartBuilder ? (Xe = t.showChartBuilder ? m.jsx(hnn, {
|
|
130643
130652
|
displayHeader: x,
|
|
@@ -130669,14 +130678,14 @@ ${n}
|
|
|
130669
130678
|
]), J = $ ?? xD(e), Z = Om(J), oe = k.useMemo(() => r === "all" ? Z : Z.slice(0, r), [
|
|
130670
130679
|
r,
|
|
130671
130680
|
Z
|
|
130672
|
-
]), de = Om(p),
|
|
130681
|
+
]), de = Om(p), Te = Om(G), we = Om(Y), Xe = Om(me), ee = oe.length;
|
|
130673
130682
|
$ || (h = false);
|
|
130674
130683
|
const he = k.useMemo(() => vUe({
|
|
130675
130684
|
rowHeaders: de,
|
|
130676
130685
|
selection: o,
|
|
130677
130686
|
chartSpecModel: Xe,
|
|
130678
130687
|
fieldTypes: oe,
|
|
130679
|
-
textJustifyColumns:
|
|
130688
|
+
textJustifyColumns: Te,
|
|
130680
130689
|
wrappedColumns: we,
|
|
130681
130690
|
showDataTypes: h,
|
|
130682
130691
|
calculateTopKRows: L
|
|
@@ -130686,7 +130695,7 @@ ${n}
|
|
|
130686
130695
|
Xe,
|
|
130687
130696
|
de,
|
|
130688
130697
|
oe,
|
|
130689
|
-
|
|
130698
|
+
Te,
|
|
130690
130699
|
we,
|
|
130691
130700
|
L
|
|
130692
130701
|
]), ge = k.useMemo(() => Object.fromEntries((a || []).map((Ie) => [
|
|
@@ -131374,11 +131383,11 @@ ${n}
|
|
|
131374
131383
|
class Oin {
|
|
131375
131384
|
constructor() {
|
|
131376
131385
|
this.tagName = "marimo-date", this.validator = Ce({
|
|
131377
|
-
initialValue:
|
|
131378
|
-
label:
|
|
131379
|
-
start:
|
|
131380
|
-
stop:
|
|
131381
|
-
step:
|
|
131386
|
+
initialValue: Pe(),
|
|
131387
|
+
label: Pe().nullable(),
|
|
131388
|
+
start: Pe(),
|
|
131389
|
+
stop: Pe(),
|
|
131390
|
+
step: Pe().optional(),
|
|
131382
131391
|
fullWidth: et().default(false),
|
|
131383
131392
|
disabled: et().optional()
|
|
131384
131393
|
});
|
|
@@ -131429,13 +131438,13 @@ ${n}
|
|
|
131429
131438
|
constructor() {
|
|
131430
131439
|
this.tagName = "marimo-date-range", this.validator = Ce({
|
|
131431
131440
|
initialValue: Mh([
|
|
131432
|
-
|
|
131433
|
-
|
|
131441
|
+
Pe(),
|
|
131442
|
+
Pe()
|
|
131434
131443
|
]),
|
|
131435
|
-
label:
|
|
131436
|
-
start:
|
|
131437
|
-
stop:
|
|
131438
|
-
step:
|
|
131444
|
+
label: Pe().nullable(),
|
|
131445
|
+
start: Pe(),
|
|
131446
|
+
stop: Pe(),
|
|
131447
|
+
step: Pe().optional(),
|
|
131439
131448
|
fullWidth: et().default(false),
|
|
131440
131449
|
disabled: et().optional()
|
|
131441
131450
|
});
|
|
@@ -131494,11 +131503,11 @@ ${n}
|
|
|
131494
131503
|
class gin {
|
|
131495
131504
|
constructor() {
|
|
131496
131505
|
this.tagName = "marimo-datetime", this.validator = Ce({
|
|
131497
|
-
initialValue:
|
|
131498
|
-
label:
|
|
131499
|
-
start:
|
|
131500
|
-
stop:
|
|
131501
|
-
step:
|
|
131506
|
+
initialValue: Pe(),
|
|
131507
|
+
label: Pe().nullable(),
|
|
131508
|
+
start: Pe(),
|
|
131509
|
+
stop: Pe(),
|
|
131510
|
+
step: Pe().optional(),
|
|
131502
131511
|
fullWidth: et().default(false),
|
|
131503
131512
|
disabled: et().optional()
|
|
131504
131513
|
});
|
|
@@ -131547,8 +131556,8 @@ ${n}
|
|
|
131547
131556
|
class yin {
|
|
131548
131557
|
constructor() {
|
|
131549
131558
|
this.tagName = "marimo-dict", this.validator = Ce({
|
|
131550
|
-
label:
|
|
131551
|
-
elementIds: tl(
|
|
131559
|
+
label: Pe().nullable(),
|
|
131560
|
+
elementIds: tl(Pe(), Pe())
|
|
131552
131561
|
});
|
|
131553
131562
|
}
|
|
131554
131563
|
render(e) {
|
|
@@ -131680,9 +131689,9 @@ ${n}
|
|
|
131680
131689
|
class Sin {
|
|
131681
131690
|
constructor() {
|
|
131682
131691
|
this.tagName = "marimo-dropdown", this.validator = Ce({
|
|
131683
|
-
initialValue:
|
|
131684
|
-
label:
|
|
131685
|
-
options:
|
|
131692
|
+
initialValue: Pt(Pe()),
|
|
131693
|
+
label: Pe().nullable(),
|
|
131694
|
+
options: Pt(Pe()),
|
|
131686
131695
|
allowSelectNone: et(),
|
|
131687
131696
|
fullWidth: et().default(false),
|
|
131688
131697
|
searchable: et().default(false)
|
|
@@ -131753,9 +131762,9 @@ ${n}
|
|
|
131753
131762
|
fullWidth: s,
|
|
131754
131763
|
children: y
|
|
131755
131764
|
}), e[19] = s, e[20] = l, e[21] = n, e[22] = y, e[23] = v) : v = e[23], v;
|
|
131756
|
-
}, Pin = ue.lazy(() => import("./ConnectedDataExplorerComponent-
|
|
131757
|
-
label:
|
|
131758
|
-
data:
|
|
131765
|
+
}, Pin = ue.lazy(() => import("./ConnectedDataExplorerComponent-Bnyf0wrs.js")), Tin = md("marimo-data-explorer").withData(Ce({
|
|
131766
|
+
label: Pe().nullish(),
|
|
131767
|
+
data: Pe()
|
|
131759
131768
|
})).renderer((t) => m.jsx(pl, {
|
|
131760
131769
|
children: m.jsx(Pin, {
|
|
131761
131770
|
...t.data,
|
|
@@ -132284,7 +132293,7 @@ ${n}
|
|
|
132284
132293
|
if (t instanceof Nm) return a === "random_number_button" ? m.jsx(Kn, {
|
|
132285
132294
|
control: e.control,
|
|
132286
132295
|
name: n,
|
|
132287
|
-
render: ({ field: l }) => m.jsxs(
|
|
132296
|
+
render: ({ field: l }) => m.jsxs(Tt, {
|
|
132288
132297
|
size: "xs",
|
|
132289
132298
|
"data-testid": "marimo-plugin-data-frames-random-number-button",
|
|
132290
132299
|
variant: "secondary",
|
|
@@ -132529,7 +132538,7 @@ ${n}
|
|
|
132529
132538
|
}), e[30] = T) : T = e[30];
|
|
132530
132539
|
let _;
|
|
132531
132540
|
e[31] !== Q ? (_ = m.jsx("div", {
|
|
132532
|
-
children: m.jsxs(
|
|
132541
|
+
children: m.jsxs(Tt, {
|
|
132533
132542
|
size: "xs",
|
|
132534
132543
|
"data-testid": "marimo-plugin-data-frames-add-array-item",
|
|
132535
132544
|
variant: "text",
|
|
@@ -133393,7 +133402,7 @@ ${n}
|
|
|
133393
133402
|
}),
|
|
133394
133403
|
m.jsx(dYe, {
|
|
133395
133404
|
onAdd: x,
|
|
133396
|
-
children: m.jsx(
|
|
133405
|
+
children: m.jsx(Tt, {
|
|
133397
133406
|
"data-testid": "marimo-plugin-data-frames-add-transform",
|
|
133398
133407
|
variant: "text",
|
|
133399
133408
|
size: "xs",
|
|
@@ -133443,7 +133452,7 @@ ${n}
|
|
|
133443
133452
|
children: s
|
|
133444
133453
|
}), e[9] = s, e[10] = l) : l = e[10];
|
|
133445
133454
|
let c;
|
|
133446
|
-
e[11] === Symbol.for("react.memo_cache_sentinel") ? (c = m.jsxs(
|
|
133455
|
+
e[11] === Symbol.for("react.memo_cache_sentinel") ? (c = m.jsxs(Tt, {
|
|
133447
133456
|
"data-testid": "marimo-plugin-data-frames-add-transform",
|
|
133448
133457
|
variant: "text",
|
|
133449
133458
|
className: "w-full rounded-none m-0 hover:text-accent-foreground",
|
|
@@ -133547,44 +133556,44 @@ ${n}
|
|
|
133547
133556
|
t.stopPropagation(), window.open("https://github.com/marimo-team/marimo/issues/new?title=New%20dataframe%20transform:&labels=enhancement&template=feature_request.yaml", "_blank");
|
|
133548
133557
|
}
|
|
133549
133558
|
const fon = md("marimo-dataframe").withData(Ce({
|
|
133550
|
-
label:
|
|
133559
|
+
label: Pe().nullish(),
|
|
133551
133560
|
pageSize: Je().default(5),
|
|
133552
|
-
columns:
|
|
133553
|
-
|
|
133554
|
-
|
|
133555
|
-
|
|
133561
|
+
columns: Pt(Mh([
|
|
133562
|
+
Pe().or(Je()),
|
|
133563
|
+
Pe(),
|
|
133564
|
+
Pe()
|
|
133556
133565
|
])).transform((t) => {
|
|
133557
133566
|
const e = /* @__PURE__ */ new Map();
|
|
133558
133567
|
return t.forEach(([n, r]) => e.set(n, r)), e;
|
|
133559
133568
|
})
|
|
133560
133569
|
})).withFunctions({
|
|
133561
133570
|
get_dataframe: Ro.input(Ce({})).output(Ce({
|
|
133562
|
-
url:
|
|
133571
|
+
url: Pe(),
|
|
133563
133572
|
total_rows: Je(),
|
|
133564
133573
|
row_headers: hq,
|
|
133565
133574
|
field_types: hq,
|
|
133566
|
-
python_code:
|
|
133567
|
-
sql_code:
|
|
133575
|
+
python_code: Pe().nullish(),
|
|
133576
|
+
sql_code: Pe().nullish()
|
|
133568
133577
|
})),
|
|
133569
133578
|
get_column_values: Ro.input(Ce({
|
|
133570
|
-
column:
|
|
133579
|
+
column: Pe()
|
|
133571
133580
|
})).output(Ce({
|
|
133572
|
-
values:
|
|
133581
|
+
values: Pt(vg()),
|
|
133573
133582
|
too_many_values: et()
|
|
133574
133583
|
})),
|
|
133575
133584
|
search: Ro.input(Ce({
|
|
133576
133585
|
sort: Ce({
|
|
133577
|
-
by:
|
|
133586
|
+
by: Pe(),
|
|
133578
133587
|
descending: et()
|
|
133579
133588
|
}).optional(),
|
|
133580
|
-
query:
|
|
133581
|
-
filters:
|
|
133589
|
+
query: Pe().optional(),
|
|
133590
|
+
filters: Pt(ene).optional(),
|
|
133582
133591
|
page_number: Je(),
|
|
133583
133592
|
page_size: Je()
|
|
133584
133593
|
})).output(Ce({
|
|
133585
133594
|
data: Gn([
|
|
133586
|
-
|
|
133587
|
-
|
|
133595
|
+
Pe(),
|
|
133596
|
+
Pt(Ce({}).passthrough())
|
|
133588
133597
|
]),
|
|
133589
133598
|
total_rows: Je()
|
|
133590
133599
|
}))
|
|
@@ -133875,20 +133884,20 @@ ${n}
|
|
|
133875
133884
|
};
|
|
133876
133885
|
}
|
|
133877
133886
|
const $on = md("marimo-file-browser").withData(Ce({
|
|
133878
|
-
initialPath:
|
|
133879
|
-
filetypes:
|
|
133880
|
-
selectionMode:
|
|
133887
|
+
initialPath: Pe(),
|
|
133888
|
+
filetypes: Pt(Pe()),
|
|
133889
|
+
selectionMode: Pe(),
|
|
133881
133890
|
multiple: et(),
|
|
133882
|
-
label:
|
|
133891
|
+
label: Pe().nullable(),
|
|
133883
133892
|
restrictNavigation: et()
|
|
133884
133893
|
})).withFunctions({
|
|
133885
133894
|
list_directory: Ro.input(Ce({
|
|
133886
|
-
path:
|
|
133895
|
+
path: Pe()
|
|
133887
133896
|
})).output(Ce({
|
|
133888
|
-
files:
|
|
133889
|
-
id:
|
|
133890
|
-
path:
|
|
133891
|
-
name:
|
|
133897
|
+
files: Pt(Ce({
|
|
133898
|
+
id: Pe(),
|
|
133899
|
+
path: Pe(),
|
|
133900
|
+
name: Pe(),
|
|
133892
133901
|
is_directory: et()
|
|
133893
133902
|
})),
|
|
133894
133903
|
total_count: Je(),
|
|
@@ -134063,7 +134072,7 @@ ${n}
|
|
|
134063
134072
|
}),
|
|
134064
134073
|
m.jsx("div", {
|
|
134065
134074
|
className: "justify-self-end",
|
|
134066
|
-
children: m.jsx(
|
|
134075
|
+
children: m.jsx(Tt, {
|
|
134067
134076
|
size: "xs",
|
|
134068
134077
|
variant: "link",
|
|
134069
134078
|
className: "w-full",
|
|
@@ -139628,8 +139637,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
139628
139637
|
]), me = k.useCallback(function(Qe, Re) {
|
|
139629
139638
|
var Ie = [], Le = [];
|
|
139630
139639
|
Qe.forEach(function(He) {
|
|
139631
|
-
var Qt = gYe(He, X), Lt = UY(Qt, 2),
|
|
139632
|
-
if (
|
|
139640
|
+
var Qt = gYe(He, X), Lt = UY(Qt, 2), kt = Lt[0], gt = Lt[1], bn = $Ye(He, a, o), kn = UY(bn, 2), Er = kn[0], $i = kn[1], re = j ? j(He) : null;
|
|
139641
|
+
if (kt && Er && !re) Ie.push(He);
|
|
139633
139642
|
else {
|
|
139634
139643
|
var ke = [
|
|
139635
139644
|
gt,
|
|
@@ -139722,7 +139731,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
139722
139731
|
N({
|
|
139723
139732
|
type: "focus"
|
|
139724
139733
|
});
|
|
139725
|
-
}, []),
|
|
139734
|
+
}, []), Te = k.useCallback(function() {
|
|
139726
139735
|
N({
|
|
139727
139736
|
type: "blur"
|
|
139728
139737
|
});
|
|
@@ -139741,12 +139750,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
139741
139750
|
_ && Re.stopPropagation();
|
|
139742
139751
|
}, Se = k.useMemo(function() {
|
|
139743
139752
|
return function() {
|
|
139744
|
-
var Qe = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, Re = Qe.refKey, Ie = Re === void 0 ? "ref" : Re, Le = Qe.role, He = Qe.onKeyDown, Qt = Qe.onFocus, Lt = Qe.onBlur,
|
|
139753
|
+
var Qe = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, Re = Qe.refKey, Ie = Re === void 0 ? "ref" : Re, Le = Qe.role, He = Qe.onKeyDown, Qt = Qe.onFocus, Lt = Qe.onBlur, kt = Qe.onClick, gt = Qe.onDragEnter, bn = Qe.onDragOver, kn = Qe.onDragLeave, Er = Qe.onDrop, $i = gq(Qe, ian);
|
|
139745
139754
|
return ji(ji(iF({
|
|
139746
139755
|
onKeyDown: ee(Zd(He, oe)),
|
|
139747
139756
|
onFocus: ee(Zd(Qt, de)),
|
|
139748
|
-
onBlur: ee(Zd(Lt,
|
|
139749
|
-
onClick: Xe(Zd(
|
|
139757
|
+
onBlur: ee(Zd(Lt, Te)),
|
|
139758
|
+
onClick: Xe(Zd(kt, we)),
|
|
139750
139759
|
onDragEnter: he(Zd(gt, ce)),
|
|
139751
139760
|
onDragOver: he(Zd(bn, H)),
|
|
139752
139761
|
onDragLeave: he(Zd(kn, ne)),
|
|
@@ -139760,7 +139769,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
139760
139769
|
U,
|
|
139761
139770
|
oe,
|
|
139762
139771
|
de,
|
|
139763
|
-
|
|
139772
|
+
Te,
|
|
139764
139773
|
we,
|
|
139765
139774
|
ce,
|
|
139766
139775
|
H,
|
|
@@ -139870,13 +139879,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
139870
139879
|
class man {
|
|
139871
139880
|
constructor() {
|
|
139872
139881
|
this.tagName = "marimo-file", this.validator = Ce({
|
|
139873
|
-
filetypes:
|
|
139882
|
+
filetypes: Pt(Pe()),
|
|
139874
139883
|
multiple: et(),
|
|
139875
139884
|
kind: Wt([
|
|
139876
139885
|
"button",
|
|
139877
139886
|
"area"
|
|
139878
139887
|
]),
|
|
139879
|
-
label:
|
|
139888
|
+
label: Pe().nullable(),
|
|
139880
139889
|
max_size: Je()
|
|
139881
139890
|
});
|
|
139882
139891
|
}
|
|
@@ -140196,22 +140205,22 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
140196
140205
|
}, e);
|
|
140197
140206
|
}
|
|
140198
140207
|
const Qan = md("marimo-form").withData(Ce({
|
|
140199
|
-
label:
|
|
140200
|
-
elementId:
|
|
140208
|
+
label: Pe().nullable(),
|
|
140209
|
+
elementId: Pe(),
|
|
140201
140210
|
bordered: et().default(true),
|
|
140202
140211
|
loading: et().default(false),
|
|
140203
|
-
submitButtonLabel:
|
|
140204
|
-
submitButtonTooltip:
|
|
140212
|
+
submitButtonLabel: Pe().default("Submit"),
|
|
140213
|
+
submitButtonTooltip: Pe().optional(),
|
|
140205
140214
|
submitButtonDisabled: et().default(false),
|
|
140206
140215
|
clearOnSubmit: et().default(false),
|
|
140207
140216
|
showClearButton: et().default(false),
|
|
140208
|
-
clearButtonLabel:
|
|
140209
|
-
clearButtonTooltip:
|
|
140217
|
+
clearButtonLabel: Pe().default("Clear"),
|
|
140218
|
+
clearButtonTooltip: Pe().optional(),
|
|
140210
140219
|
shouldValidate: et().optional()
|
|
140211
140220
|
})).withFunctions({
|
|
140212
140221
|
validate: Ro.input(Ce({
|
|
140213
140222
|
value: _y()
|
|
140214
|
-
})).output(
|
|
140223
|
+
})).output(Pe().nullish())
|
|
140215
140224
|
}).renderer(({ data: t, functions: e, ...n }) => m.jsx(pl, {
|
|
140216
140225
|
children: m.jsx(Tan, {
|
|
140217
140226
|
...t,
|
|
@@ -140268,7 +140277,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
140268
140277
|
children: n
|
|
140269
140278
|
}), e[17] = n, e[18] = G) : G = e[18];
|
|
140270
140279
|
let Y;
|
|
140271
|
-
e[19] !== $ || e[20] !== y || e[21] !== p ? (Y = p && cbe(m.jsx(
|
|
140280
|
+
e[19] !== $ || e[20] !== y || e[21] !== p ? (Y = p && cbe(m.jsx(Tt, {
|
|
140272
140281
|
"data-testid": "marimo-plugin-form-clear-button",
|
|
140273
140282
|
variant: "text",
|
|
140274
140283
|
onClick: (ie) => {
|
|
@@ -140282,7 +140291,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
140282
140291
|
className: "h-4 w-4 mr-2 animate-spin"
|
|
140283
140292
|
}), e[23] = l, e[24] = M) : M = e[24];
|
|
140284
140293
|
let N;
|
|
140285
|
-
e[25] !== c || e[26] !== W || e[27] !== M || e[28] !== P ? (N = m.jsxs(
|
|
140294
|
+
e[25] !== c || e[26] !== W || e[27] !== M || e[28] !== P ? (N = m.jsxs(Tt, {
|
|
140286
140295
|
"data-testid": "marimo-plugin-form-submit-button",
|
|
140287
140296
|
variant: P,
|
|
140288
140297
|
disabled: W,
|
|
@@ -140377,7 +140386,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
140377
140386
|
const kan = (t) => {
|
|
140378
140387
|
const e = se.c(12), { onStart: n, onStop: r, status: i, time: o } = t;
|
|
140379
140388
|
let a;
|
|
140380
|
-
e[0] !== n || e[1] !== i ? (a = i === "stopped" && m.jsx(
|
|
140389
|
+
e[0] !== n || e[1] !== i ? (a = i === "stopped" && m.jsx(Tt, {
|
|
140381
140390
|
"data-testid": "audio-recorder-start",
|
|
140382
140391
|
variant: "secondary",
|
|
140383
140392
|
onClick: n,
|
|
@@ -140389,7 +140398,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
140389
140398
|
})
|
|
140390
140399
|
}), e[0] = n, e[1] = i, e[2] = a) : a = e[2];
|
|
140391
140400
|
let s;
|
|
140392
|
-
e[3] !== r || e[4] !== i ? (s = i === "recording" && m.jsxs(
|
|
140401
|
+
e[3] !== r || e[4] !== i ? (s = i === "recording" && m.jsxs(Tt, {
|
|
140393
140402
|
"data-testid": "audio-recorder-pause",
|
|
140394
140403
|
variant: "secondary",
|
|
140395
140404
|
onClick: r,
|
|
@@ -140523,7 +140532,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
140523
140532
|
class jan {
|
|
140524
140533
|
constructor() {
|
|
140525
140534
|
this.tagName = "marimo-microphone", this.validator = Ce({
|
|
140526
|
-
label:
|
|
140535
|
+
label: Pe().nullish()
|
|
140527
140536
|
});
|
|
140528
140537
|
}
|
|
140529
140538
|
render(e) {
|
|
@@ -140569,7 +140578,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
140569
140578
|
constructor() {
|
|
140570
140579
|
this.tagName = "marimo-number", this.validator = Ce({
|
|
140571
140580
|
initialValue: Je().nullish(),
|
|
140572
|
-
label:
|
|
140581
|
+
label: Pe().nullable(),
|
|
140573
140582
|
start: Je().nullish(),
|
|
140574
140583
|
stop: Je().nullish(),
|
|
140575
140584
|
step: Je().optional(),
|
|
@@ -140640,7 +140649,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
140640
140649
|
Ce({
|
|
140641
140650
|
type: fi("ACK")
|
|
140642
140651
|
}),
|
|
140643
|
-
|
|
140652
|
+
Pe()
|
|
140644
140653
|
]).nullable()
|
|
140645
140654
|
});
|
|
140646
140655
|
function zC(t, e) {
|
|
@@ -140692,15 +140701,15 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
140692
140701
|
}
|
|
140693
140702
|
}
|
|
140694
140703
|
const Nan = md("marimo-panel").withData(Ce({
|
|
140695
|
-
extension:
|
|
140704
|
+
extension: Pe().nullable(),
|
|
140696
140705
|
docs_json: tl(_y()),
|
|
140697
140706
|
render_json: Ce({
|
|
140698
|
-
roots: tl(
|
|
140707
|
+
roots: tl(Pe())
|
|
140699
140708
|
}).catchall(_y())
|
|
140700
140709
|
})).withFunctions({
|
|
140701
140710
|
send_to_widget: Ro.input(Ce({
|
|
140702
140711
|
message: _y(),
|
|
140703
|
-
buffers:
|
|
140712
|
+
buffers: Pt(Pe())
|
|
140704
140713
|
})).output(m5().optional())
|
|
140705
140714
|
}).renderer((t) => m.jsx(Ian, {
|
|
140706
140715
|
...t
|
|
@@ -140885,7 +140894,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
140885
140894
|
});
|
|
140886
140895
|
}
|
|
140887
140896
|
}
|
|
140888
|
-
const Fan = k.lazy(() => import("./react-plotly-
|
|
140897
|
+
const Fan = k.lazy(() => import("./react-plotly-Cid1a4Ex.js").then((t) => t.r));
|
|
140889
140898
|
function VY(t) {
|
|
140890
140899
|
return {
|
|
140891
140900
|
autosize: t.layout.width === void 0,
|
|
@@ -141081,10 +141090,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
141081
141090
|
class isn {
|
|
141082
141091
|
constructor() {
|
|
141083
141092
|
this.tagName = "marimo-radio", this.validator = Ce({
|
|
141084
|
-
initialValue:
|
|
141093
|
+
initialValue: Pe().nullable(),
|
|
141085
141094
|
inline: et().default(false),
|
|
141086
|
-
label:
|
|
141087
|
-
options:
|
|
141095
|
+
label: Pe().nullable(),
|
|
141096
|
+
options: Pt(Pe()),
|
|
141088
141097
|
disabled: et().optional()
|
|
141089
141098
|
});
|
|
141090
141099
|
}
|
|
@@ -141232,12 +141241,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
141232
141241
|
class asn {
|
|
141233
141242
|
constructor() {
|
|
141234
141243
|
this.tagName = "marimo-range-slider", this.validator = Ce({
|
|
141235
|
-
initialValue:
|
|
141236
|
-
label:
|
|
141244
|
+
initialValue: Pt(Je()),
|
|
141245
|
+
label: Pe().nullable(),
|
|
141237
141246
|
start: Je(),
|
|
141238
141247
|
stop: Je(),
|
|
141239
141248
|
step: Je().optional(),
|
|
141240
|
-
steps:
|
|
141249
|
+
steps: Pt(Je()).nullable(),
|
|
141241
141250
|
debounce: et().default(false),
|
|
141242
141251
|
orientation: Wt([
|
|
141243
141252
|
"horizontal",
|
|
@@ -141421,7 +141430,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
141421
141430
|
return WY;
|
|
141422
141431
|
}
|
|
141423
141432
|
var csn = lsn();
|
|
141424
|
-
const sF = gu(csn), KT = 0.1, fbe =
|
|
141433
|
+
const sF = gu(csn), KT = 0.1, fbe = Pe().superRefine((t, e) => {
|
|
141425
141434
|
try {
|
|
141426
141435
|
sF(t) < KT && e.addIssue({
|
|
141427
141436
|
code: st.custom,
|
|
@@ -141439,7 +141448,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
141439
141448
|
class usn {
|
|
141440
141449
|
constructor() {
|
|
141441
141450
|
this.tagName = "marimo-refresh", this.validator = Ce({
|
|
141442
|
-
options:
|
|
141451
|
+
options: Pt(Gn([
|
|
141443
141452
|
fbe,
|
|
141444
141453
|
Je().min(KT)
|
|
141445
141454
|
])).default([]),
|
|
@@ -141447,7 +141456,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
141447
141456
|
fbe,
|
|
141448
141457
|
Je().min(KT)
|
|
141449
141458
|
]).optional(),
|
|
141450
|
-
label:
|
|
141459
|
+
label: Pe().nullable()
|
|
141451
141460
|
});
|
|
141452
141461
|
}
|
|
141453
141462
|
render(e) {
|
|
@@ -141484,7 +141493,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
141484
141493
|
children: m.jsxs("span", {
|
|
141485
141494
|
className: "inline-flex items-center text-secondary-foreground rounded shadow-sm-solid",
|
|
141486
141495
|
children: [
|
|
141487
|
-
m.jsx(
|
|
141496
|
+
m.jsx(Tt, {
|
|
141488
141497
|
"data-testid": "marimo-plugin-refresh-button",
|
|
141489
141498
|
variant: "secondary",
|
|
141490
141499
|
size: "icon",
|
|
@@ -141520,11 +141529,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
141520
141529
|
constructor() {
|
|
141521
141530
|
this.tagName = "marimo-slider", this.validator = Ce({
|
|
141522
141531
|
initialValue: Je(),
|
|
141523
|
-
label:
|
|
141532
|
+
label: Pe().nullable(),
|
|
141524
141533
|
start: Je(),
|
|
141525
141534
|
stop: Je(),
|
|
141526
141535
|
step: Je().optional(),
|
|
141527
|
-
steps:
|
|
141536
|
+
steps: Pt(Je()).nullable(),
|
|
141528
141537
|
debounce: et().default(false),
|
|
141529
141538
|
orientation: Wt([
|
|
141530
141539
|
"horizontal",
|
|
@@ -141767,7 +141776,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
141767
141776
|
constructor() {
|
|
141768
141777
|
this.tagName = "marimo-switch", this.validator = Ce({
|
|
141769
141778
|
initialValue: et(),
|
|
141770
|
-
label:
|
|
141779
|
+
label: Pe().nullable(),
|
|
141771
141780
|
disabled: et().optional()
|
|
141772
141781
|
});
|
|
141773
141782
|
}
|
|
@@ -141800,7 +141809,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
141800
141809
|
class Ssn {
|
|
141801
141810
|
constructor() {
|
|
141802
141811
|
this.tagName = "marimo-tabs", this.validator = Ce({
|
|
141803
|
-
tabs:
|
|
141812
|
+
tabs: Pt(Pe())
|
|
141804
141813
|
});
|
|
141805
141814
|
}
|
|
141806
141815
|
render(e) {
|
|
@@ -141855,9 +141864,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
141855
141864
|
class ksn {
|
|
141856
141865
|
constructor() {
|
|
141857
141866
|
this.tagName = "marimo-text-area", this.validator = Ce({
|
|
141858
|
-
initialValue:
|
|
141859
|
-
placeholder:
|
|
141860
|
-
label:
|
|
141867
|
+
initialValue: Pe(),
|
|
141868
|
+
placeholder: Pe(),
|
|
141869
|
+
label: Pe().nullable(),
|
|
141861
141870
|
maxLength: Je().optional(),
|
|
141862
141871
|
minLength: Je().optional(),
|
|
141863
141872
|
disabled: et().optional(),
|
|
@@ -141981,9 +141990,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
141981
141990
|
class Rsn {
|
|
141982
141991
|
constructor() {
|
|
141983
141992
|
this.tagName = "marimo-text", this.validator = Ce({
|
|
141984
|
-
initialValue:
|
|
141985
|
-
placeholder:
|
|
141986
|
-
label:
|
|
141993
|
+
initialValue: Pe(),
|
|
141994
|
+
placeholder: Pe(),
|
|
141995
|
+
label: Pe().nullable(),
|
|
141987
141996
|
kind: Wt([
|
|
141988
141997
|
"text",
|
|
141989
141998
|
"password",
|
|
@@ -142133,14 +142142,14 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
142133
142142
|
if (!e) return true;
|
|
142134
142143
|
switch (t) {
|
|
142135
142144
|
case "email":
|
|
142136
|
-
return
|
|
142145
|
+
return Pe().email().safeParse(e).success;
|
|
142137
142146
|
case "url":
|
|
142138
|
-
return
|
|
142147
|
+
return Pe().url().safeParse(e).success;
|
|
142139
142148
|
default:
|
|
142140
142149
|
return true;
|
|
142141
142150
|
}
|
|
142142
142151
|
}
|
|
142143
|
-
const Esn = ue.lazy(() => import("./vega-component-
|
|
142152
|
+
const Esn = ue.lazy(() => import("./vega-component-CWZkaqO3.js"));
|
|
142144
142153
|
class jsn {
|
|
142145
142154
|
constructor() {
|
|
142146
142155
|
this.tagName = "marimo-vega", this.validator = Ce({
|
|
@@ -142152,7 +142161,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
142152
142161
|
]).default(true),
|
|
142153
142162
|
fieldSelection: Gn([
|
|
142154
142163
|
et(),
|
|
142155
|
-
|
|
142164
|
+
Pt(Pe())
|
|
142156
142165
|
]).default(true)
|
|
142157
142166
|
});
|
|
142158
142167
|
}
|
|
@@ -142169,7 +142178,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
142169
142178
|
class qsn {
|
|
142170
142179
|
constructor() {
|
|
142171
142180
|
this.tagName = "marimo-accordion", this.validator = Ce({
|
|
142172
|
-
labels:
|
|
142181
|
+
labels: Pt(Pe()),
|
|
142173
142182
|
multiple: et()
|
|
142174
142183
|
});
|
|
142175
142184
|
}
|
|
@@ -142242,7 +142251,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
142242
142251
|
class Asn {
|
|
142243
142252
|
constructor() {
|
|
142244
142253
|
this.tagName = "marimo-callout-output", this.validator = Ce({
|
|
142245
|
-
html:
|
|
142254
|
+
html: Pe(),
|
|
142246
142255
|
kind: C_e
|
|
142247
142256
|
});
|
|
142248
142257
|
}
|
|
@@ -142257,9 +142266,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
142257
142266
|
class Gsn {
|
|
142258
142267
|
constructor() {
|
|
142259
142268
|
this.tagName = "marimo-carousel", this.validator = Ce({
|
|
142260
|
-
index:
|
|
142269
|
+
index: Pe().nullish(),
|
|
142261
142270
|
height: Gn([
|
|
142262
|
-
|
|
142271
|
+
Pe(),
|
|
142263
142272
|
Je()
|
|
142264
142273
|
]).nullish()
|
|
142265
142274
|
}), this.cssStyles = [
|
|
@@ -142278,16 +142287,16 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
142278
142287
|
});
|
|
142279
142288
|
}
|
|
142280
142289
|
}
|
|
142281
|
-
const Msn = ue.lazy(() => import("./slides-component-
|
|
142282
|
-
data:
|
|
142290
|
+
const Msn = ue.lazy(() => import("./slides-component-DIZ-8MOa.js")), Zsn = md("marimo-download").withData(Ce({
|
|
142291
|
+
data: Pe(),
|
|
142283
142292
|
disabled: et().default(false),
|
|
142284
|
-
filename:
|
|
142285
|
-
label:
|
|
142293
|
+
filename: Pe().nullish(),
|
|
142294
|
+
label: Pe().nullish(),
|
|
142286
142295
|
lazy: et().default(false)
|
|
142287
142296
|
})).withFunctions({
|
|
142288
142297
|
load: Ro.input(Ce({})).output(Ce({
|
|
142289
|
-
data:
|
|
142290
|
-
filename:
|
|
142298
|
+
data: Pe(),
|
|
142299
|
+
filename: Pe().nullish()
|
|
142291
142300
|
}))
|
|
142292
142301
|
}).renderer((t) => m.jsx(Lsn, {
|
|
142293
142302
|
data: t.data,
|
|
@@ -142328,19 +142337,19 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
142328
142337
|
a
|
|
142329
142338
|
]
|
|
142330
142339
|
});
|
|
142331
|
-
}, Fsn = ue.lazy(() => import("./ImageComparisonComponent-
|
|
142340
|
+
}, Fsn = ue.lazy(() => import("./ImageComparisonComponent-W4jgM4-_.js"));
|
|
142332
142341
|
class Bsn {
|
|
142333
142342
|
constructor() {
|
|
142334
142343
|
this.tagName = "marimo-image-comparison", this.validator = Ce({
|
|
142335
|
-
beforeSrc:
|
|
142336
|
-
afterSrc:
|
|
142344
|
+
beforeSrc: Pe(),
|
|
142345
|
+
afterSrc: Pe(),
|
|
142337
142346
|
value: Je().min(0).max(100).default(50),
|
|
142338
142347
|
direction: Wt([
|
|
142339
142348
|
"horizontal",
|
|
142340
142349
|
"vertical"
|
|
142341
142350
|
]).default("horizontal"),
|
|
142342
|
-
width:
|
|
142343
|
-
height:
|
|
142351
|
+
width: Pe().optional(),
|
|
142352
|
+
height: Pe().optional()
|
|
142344
142353
|
});
|
|
142345
142354
|
}
|
|
142346
142355
|
render(e) {
|
|
@@ -142357,7 +142366,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
142357
142366
|
class Hsn {
|
|
142358
142367
|
constructor() {
|
|
142359
142368
|
this.tagName = "marimo-json-output", this.validator = Ce({
|
|
142360
|
-
name:
|
|
142369
|
+
name: Pe().nullish(),
|
|
142361
142370
|
jsonData: _y(),
|
|
142362
142371
|
valueTypes: Wt([
|
|
142363
142372
|
"json",
|
|
@@ -142382,7 +142391,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
142382
142391
|
showLoadingIndicator: et().default(false)
|
|
142383
142392
|
})).withFunctions({
|
|
142384
142393
|
load: Ro.input(Ce({})).output(Ce({
|
|
142385
|
-
html:
|
|
142394
|
+
html: Pe()
|
|
142386
142395
|
}))
|
|
142387
142396
|
}).renderer((t) => m.jsx(Jsn, {
|
|
142388
142397
|
value: t.value,
|
|
@@ -142428,12 +142437,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
142428
142437
|
class eln {
|
|
142429
142438
|
constructor() {
|
|
142430
142439
|
this.tagName = "marimo-mime-renderer", this.validator = Ce({
|
|
142431
|
-
mime:
|
|
142440
|
+
mime: Pe().transform((e) => e),
|
|
142432
142441
|
data: Gn([
|
|
142433
|
-
|
|
142442
|
+
Pe(),
|
|
142434
142443
|
m5(),
|
|
142435
142444
|
tl(_y()),
|
|
142436
|
-
|
|
142445
|
+
Pt(vg())
|
|
142437
142446
|
])
|
|
142438
142447
|
});
|
|
142439
142448
|
}
|
|
@@ -142450,7 +142459,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
142450
142459
|
class tln {
|
|
142451
142460
|
constructor() {
|
|
142452
142461
|
this.tagName = "marimo-mermaid", this.validator = Ce({
|
|
142453
|
-
diagram:
|
|
142462
|
+
diagram: Pe()
|
|
142454
142463
|
});
|
|
142455
142464
|
}
|
|
142456
142465
|
render(e) {
|
|
@@ -142459,7 +142468,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
142459
142468
|
});
|
|
142460
142469
|
}
|
|
142461
142470
|
}
|
|
142462
|
-
const nln = k.lazy(() => import("./mermaid-
|
|
142471
|
+
const nln = k.lazy(() => import("./mermaid-CV0e6U-W.js").then(async (m4) => {
|
|
142463
142472
|
await m4.__tla;
|
|
142464
142473
|
return m4;
|
|
142465
142474
|
}).then((t) => t.ar));
|
|
@@ -143757,8 +143766,8 @@ Defaulting to \`null\`.`;
|
|
|
143757
143766
|
class Oln {
|
|
143758
143767
|
constructor() {
|
|
143759
143768
|
this.tagName = "marimo-progress", this.validator = Ce({
|
|
143760
|
-
title:
|
|
143761
|
-
subtitle:
|
|
143769
|
+
title: Pe().optional(),
|
|
143770
|
+
subtitle: Pe().optional(),
|
|
143762
143771
|
progress: Gn([
|
|
143763
143772
|
Je(),
|
|
143764
143773
|
et()
|
|
@@ -144209,7 +144218,7 @@ Defaulting to \`null\`.`;
|
|
|
144209
144218
|
class bln {
|
|
144210
144219
|
constructor() {
|
|
144211
144220
|
this.tagName = "marimo-routes", this.validator = Ce({
|
|
144212
|
-
routes:
|
|
144221
|
+
routes: Pt(Pe())
|
|
144213
144222
|
});
|
|
144214
144223
|
}
|
|
144215
144224
|
render(e) {
|
|
@@ -144264,12 +144273,12 @@ Defaulting to \`null\`.`;
|
|
|
144264
144273
|
constructor() {
|
|
144265
144274
|
this.tagName = "marimo-stat", this.validator = Ce({
|
|
144266
144275
|
value: Gn([
|
|
144267
|
-
|
|
144276
|
+
Pe(),
|
|
144268
144277
|
Je(),
|
|
144269
144278
|
et()
|
|
144270
144279
|
]).optional(),
|
|
144271
|
-
label:
|
|
144272
|
-
caption:
|
|
144280
|
+
label: Pe().optional(),
|
|
144281
|
+
caption: Pe().optional(),
|
|
144273
144282
|
bordered: et().default(false),
|
|
144274
144283
|
direction: Wt([
|
|
144275
144284
|
"increase",
|
|
@@ -144450,15 +144459,15 @@ Defaulting to \`null\`.`;
|
|
|
144450
144459
|
r(e);
|
|
144451
144460
|
})(Cln, function(n) {
|
|
144452
144461
|
function r(H) {
|
|
144453
|
-
return function(me, J, Z, oe, de,
|
|
144462
|
+
return function(me, J, Z, oe, de, Te, we) {
|
|
144454
144463
|
return H(me, J, we);
|
|
144455
144464
|
};
|
|
144456
144465
|
}
|
|
144457
144466
|
function i(H) {
|
|
144458
144467
|
return function(me, J, Z, oe) {
|
|
144459
144468
|
if (!me || !J || typeof me != "object" || typeof J != "object") return H(me, J, Z, oe);
|
|
144460
|
-
var de = oe.get(me),
|
|
144461
|
-
if (de &&
|
|
144469
|
+
var de = oe.get(me), Te = oe.get(J);
|
|
144470
|
+
if (de && Te) return de === J && Te === me;
|
|
144462
144471
|
oe.set(me, J), oe.set(J, me);
|
|
144463
144472
|
var we = H(me, J, Z, oe);
|
|
144464
144473
|
return oe.delete(me), oe.delete(J), we;
|
|
@@ -144481,7 +144490,7 @@ Defaulting to \`null\`.`;
|
|
|
144481
144490
|
}
|
|
144482
144491
|
var c = "[object Arguments]", d = "[object Boolean]", O = "[object Date]", h = "[object RegExp]", p = "[object Map]", $ = "[object Number]", y = "[object Object]", v = "[object Set]", w = "[object String]", x = Object.prototype.toString;
|
|
144483
144492
|
function b(H) {
|
|
144484
|
-
var ne = H.areArraysEqual, me = H.areDatesEqual, J = H.areMapsEqual, Z = H.areObjectsEqual, oe = H.areRegExpsEqual, de = H.areSetsEqual,
|
|
144493
|
+
var ne = H.areArraysEqual, me = H.areDatesEqual, J = H.areMapsEqual, Z = H.areObjectsEqual, oe = H.areRegExpsEqual, de = H.areSetsEqual, Te = H.createIsNestedEqual, we = Te(Xe);
|
|
144485
144494
|
function Xe(ee, he, ge) {
|
|
144486
144495
|
if (ee === he) return true;
|
|
144487
144496
|
if (!ee || !he || typeof ee != "object" || typeof he != "object") return ee !== ee && he !== he;
|
|
@@ -144508,11 +144517,11 @@ Defaulting to \`null\`.`;
|
|
|
144508
144517
|
if (!Z) return false;
|
|
144509
144518
|
if (!H.size) return true;
|
|
144510
144519
|
var oe = {}, de = 0;
|
|
144511
|
-
return H.forEach(function(
|
|
144520
|
+
return H.forEach(function(Te, we) {
|
|
144512
144521
|
if (Z) {
|
|
144513
144522
|
var Xe = false, ee = 0;
|
|
144514
144523
|
ne.forEach(function(he, ge) {
|
|
144515
|
-
!Xe && !oe[ee] && (Xe = me(we, ge, de, ee, H, ne, J) && me(
|
|
144524
|
+
!Xe && !oe[ee] && (Xe = me(we, ge, de, ee, H, ne, J) && me(Te, he, we, ge, H, ne, J)) && (oe[ee] = true), ee++;
|
|
144516
144525
|
}), de++, Z = Xe;
|
|
144517
144526
|
}
|
|
144518
144527
|
}), Z;
|
|
@@ -144523,8 +144532,8 @@ Defaulting to \`null\`.`;
|
|
|
144523
144532
|
if (Object.keys(ne).length !== oe) return false;
|
|
144524
144533
|
for (var de; oe-- > 0; ) {
|
|
144525
144534
|
if (de = Z[oe], de === j) {
|
|
144526
|
-
var
|
|
144527
|
-
if ((
|
|
144535
|
+
var Te = !!H.$$typeof, we = !!ne.$$typeof;
|
|
144536
|
+
if ((Te || we) && Te !== we) return false;
|
|
144528
144537
|
}
|
|
144529
144538
|
if (!X.call(ne, de) || !me(H[de], ne[de], de, de, H, ne, J)) return false;
|
|
144530
144539
|
}
|
|
@@ -144539,11 +144548,11 @@ Defaulting to \`null\`.`;
|
|
|
144539
144548
|
if (!Z) return false;
|
|
144540
144549
|
if (!H.size) return true;
|
|
144541
144550
|
var oe = {};
|
|
144542
|
-
return H.forEach(function(de,
|
|
144551
|
+
return H.forEach(function(de, Te) {
|
|
144543
144552
|
if (Z) {
|
|
144544
144553
|
var we = false, Xe = 0;
|
|
144545
144554
|
ne.forEach(function(ee, he) {
|
|
144546
|
-
!we && !oe[Xe] && (we = me(de, ee,
|
|
144555
|
+
!we && !oe[Xe] && (we = me(de, ee, Te, he, H, ne, J)) && (oe[Xe] = true), Xe++;
|
|
144547
144556
|
}), Z = we;
|
|
144548
144557
|
}
|
|
144549
144558
|
}), Z;
|
|
@@ -144644,7 +144653,7 @@ Defaulting to \`null\`.`;
|
|
|
144644
144653
|
}
|
|
144645
144654
|
function r(J) {
|
|
144646
144655
|
let Z = 0, oe;
|
|
144647
|
-
for (let de = 0,
|
|
144656
|
+
for (let de = 0, Te = J.length; de < Te; de++) oe = J[de].y + J[de].h, oe > Z && (Z = oe);
|
|
144648
144657
|
return Z;
|
|
144649
144658
|
}
|
|
144650
144659
|
function i(J) {
|
|
@@ -144654,7 +144663,7 @@ Defaulting to \`null\`.`;
|
|
|
144654
144663
|
}
|
|
144655
144664
|
function o(J, Z) {
|
|
144656
144665
|
const oe = Array(J.length);
|
|
144657
|
-
for (let de = 0,
|
|
144666
|
+
for (let de = 0, Te = J.length; de < Te; de++) Z.i === J[de].i ? oe[de] = Z : oe[de] = J[de];
|
|
144658
144667
|
return oe;
|
|
144659
144668
|
}
|
|
144660
144669
|
function a(J, Z, oe) {
|
|
@@ -144697,10 +144706,10 @@ Defaulting to \`null\`.`;
|
|
|
144697
144706
|
return !(J.i === Z.i || J.x + J.w <= Z.x || J.x >= Z.x + Z.w || J.y + J.h <= Z.y || J.y >= Z.y + Z.h);
|
|
144698
144707
|
}
|
|
144699
144708
|
function O(J, Z, oe, de) {
|
|
144700
|
-
const
|
|
144709
|
+
const Te = b(J), we = K(J, Z), Xe = Array(J.length);
|
|
144701
144710
|
for (let ee = 0, he = we.length; ee < he; ee++) {
|
|
144702
144711
|
let ge = s(we[ee]);
|
|
144703
|
-
ge.static || (ge = $(
|
|
144712
|
+
ge.static || (ge = $(Te, ge, Z, oe, we, de), Te.push(ge)), Xe[J.indexOf(we[ee])] = ge, ge.moved = false;
|
|
144704
144713
|
}
|
|
144705
144714
|
return Xe;
|
|
144706
144715
|
}
|
|
@@ -144709,29 +144718,29 @@ Defaulting to \`null\`.`;
|
|
|
144709
144718
|
y: "h"
|
|
144710
144719
|
};
|
|
144711
144720
|
function p(J, Z, oe, de) {
|
|
144712
|
-
const
|
|
144721
|
+
const Te = h[de];
|
|
144713
144722
|
Z[de] += 1;
|
|
144714
144723
|
const we = J.map((Xe) => Xe.i).indexOf(Z.i);
|
|
144715
144724
|
for (let Xe = we + 1; Xe < J.length; Xe++) {
|
|
144716
144725
|
const ee = J[Xe];
|
|
144717
144726
|
if (!ee.static) {
|
|
144718
144727
|
if (ee.y > Z.y + Z.h) break;
|
|
144719
|
-
d(Z, ee) && p(J, ee, oe + Z[
|
|
144728
|
+
d(Z, ee) && p(J, ee, oe + Z[Te], de);
|
|
144720
144729
|
}
|
|
144721
144730
|
}
|
|
144722
144731
|
Z[de] = oe;
|
|
144723
144732
|
}
|
|
144724
|
-
function $(J, Z, oe, de,
|
|
144733
|
+
function $(J, Z, oe, de, Te, we) {
|
|
144725
144734
|
const Xe = oe === "vertical", ee = oe === "horizontal";
|
|
144726
144735
|
if (Xe) for (Z.y = Math.min(r(J), Z.y); Z.y > 0 && !w(J, Z); ) Z.y--;
|
|
144727
144736
|
else if (ee) for (; Z.x > 0 && !w(J, Z); ) Z.x--;
|
|
144728
144737
|
let he;
|
|
144729
|
-
for (; (he = w(J, Z)) && !(oe === null && we); ) if (ee ? p(
|
|
144738
|
+
for (; (he = w(J, Z)) && !(oe === null && we); ) if (ee ? p(Te, Z, he.x + he.w, "x") : p(Te, Z, he.y + he.h, "y"), ee && Z.x + Z.w > de) for (Z.x = de - Z.w, Z.y++; Z.x > 0 && !w(J, Z); ) Z.x--;
|
|
144730
144739
|
return Z.y = Math.max(Z.y, 0), Z.x = Math.max(Z.x, 0), Z;
|
|
144731
144740
|
}
|
|
144732
144741
|
function y(J, Z) {
|
|
144733
144742
|
const oe = b(J);
|
|
144734
|
-
for (let de = 0,
|
|
144743
|
+
for (let de = 0, Te = J.length; de < Te; de++) {
|
|
144735
144744
|
const we = J[de];
|
|
144736
144745
|
if (we.x + we.w > Z.cols && (we.x = Z.cols - we.w), we.x < 0 && (we.x = 0, we.w = Z.cols), !we.static) oe.push(we);
|
|
144737
144746
|
else for (; w(oe, we); ) we.y++;
|
|
@@ -144750,7 +144759,7 @@ Defaulting to \`null\`.`;
|
|
|
144750
144759
|
function b(J) {
|
|
144751
144760
|
return J.filter((Z) => Z.static);
|
|
144752
144761
|
}
|
|
144753
|
-
function P(J, Z, oe, de,
|
|
144762
|
+
function P(J, Z, oe, de, Te, we, Xe, ee, he) {
|
|
144754
144763
|
if (Z.static && Z.isDraggable !== true || Z.y === de && Z.x === oe) return J;
|
|
144755
144764
|
`${Z.i}${String(oe)}${String(de)}${Z.x}${Z.y}`;
|
|
144756
144765
|
const ge = Z.x, Se = Z.y;
|
|
@@ -144762,12 +144771,12 @@ Defaulting to \`null\`.`;
|
|
|
144762
144771
|
if (Re && we) return `${Z.i}`, Z.x = ge, Z.y = Se, Z.moved = false, J;
|
|
144763
144772
|
for (let Ie = 0, Le = Qe.length; Ie < Le; Ie++) {
|
|
144764
144773
|
const He = Qe[Ie];
|
|
144765
|
-
`${Z.i}${Z.x}${Z.y}${He.i}${He.x}${He.y}`, !He.moved && (He.static ? J = Q(J, He, Z,
|
|
144774
|
+
`${Z.i}${Z.x}${Z.y}${He.i}${He.x}${He.y}`, !He.moved && (He.static ? J = Q(J, He, Z, Te, Xe) : J = Q(J, Z, He, Te, Xe));
|
|
144766
144775
|
}
|
|
144767
144776
|
return J;
|
|
144768
144777
|
}
|
|
144769
|
-
function Q(J, Z, oe, de,
|
|
144770
|
-
const Xe =
|
|
144778
|
+
function Q(J, Z, oe, de, Te, we) {
|
|
144779
|
+
const Xe = Te === "horizontal", ee = Te === "vertical", he = Z.static;
|
|
144771
144780
|
if (de) {
|
|
144772
144781
|
de = false;
|
|
144773
144782
|
const Ee = {
|
|
@@ -144778,48 +144787,48 @@ Defaulting to \`null\`.`;
|
|
|
144778
144787
|
i: "-1"
|
|
144779
144788
|
}, _e = w(J, Ee), Qe = _e && _e.y + _e.h > Z.y, Re = _e && Z.x + Z.w > _e.x;
|
|
144780
144789
|
if (_e) {
|
|
144781
|
-
if (Qe && ee) return P(J, oe, void 0, Z.y + 1, de, he,
|
|
144782
|
-
if (Qe &&
|
|
144783
|
-
if (Re && Xe) return P(J, Z, oe.x, void 0, de, he,
|
|
144784
|
-
} else return `${oe.i}${Ee.x}${Ee.y}`, P(J, oe, Xe ? Ee.x : void 0, ee ? Ee.y : void 0, de, he,
|
|
144790
|
+
if (Qe && ee) return P(J, oe, void 0, Z.y + 1, de, he, Te);
|
|
144791
|
+
if (Qe && Te == null) return Z.y = oe.y, oe.y = oe.y + oe.h, J;
|
|
144792
|
+
if (Re && Xe) return P(J, Z, oe.x, void 0, de, he, Te);
|
|
144793
|
+
} else return `${oe.i}${Ee.x}${Ee.y}`, P(J, oe, Xe ? Ee.x : void 0, ee ? Ee.y : void 0, de, he, Te);
|
|
144785
144794
|
}
|
|
144786
144795
|
const ge = Xe ? oe.x + 1 : void 0, Se = ee ? oe.y + 1 : void 0;
|
|
144787
|
-
return ge == null && Se == null ? J : P(J, oe, Xe ? oe.x + 1 : void 0, ee ? oe.y + 1 : void 0, de, he,
|
|
144796
|
+
return ge == null && Se == null ? J : P(J, oe, Xe ? oe.x + 1 : void 0, ee ? oe.y + 1 : void 0, de, he, Te);
|
|
144788
144797
|
}
|
|
144789
144798
|
function T(J) {
|
|
144790
144799
|
return J * 100 + "%";
|
|
144791
144800
|
}
|
|
144792
144801
|
const _ = (J, Z, oe, de) => J + oe > de ? Z : oe, C = (J, Z, oe) => J < 0 ? Z : oe, j = (J) => Math.max(0, J), X = (J) => Math.max(0, J), E = (J, Z, oe) => {
|
|
144793
|
-
let { left: de, height:
|
|
144794
|
-
const Xe = J.top - (
|
|
144802
|
+
let { left: de, height: Te, width: we } = Z;
|
|
144803
|
+
const Xe = J.top - (Te - J.height);
|
|
144795
144804
|
return {
|
|
144796
144805
|
left: de,
|
|
144797
144806
|
width: we,
|
|
144798
|
-
height: C(Xe, J.height,
|
|
144807
|
+
height: C(Xe, J.height, Te),
|
|
144799
144808
|
top: X(Xe)
|
|
144800
144809
|
};
|
|
144801
144810
|
}, z = (J, Z, oe) => {
|
|
144802
|
-
let { top: de, left:
|
|
144811
|
+
let { top: de, left: Te, height: we, width: Xe } = Z;
|
|
144803
144812
|
return {
|
|
144804
144813
|
top: de,
|
|
144805
144814
|
height: we,
|
|
144806
144815
|
width: _(J.left, J.width, Xe, oe),
|
|
144807
|
-
left: j(
|
|
144816
|
+
left: j(Te)
|
|
144808
144817
|
};
|
|
144809
144818
|
}, D = (J, Z, oe) => {
|
|
144810
|
-
let { top: de, height:
|
|
144819
|
+
let { top: de, height: Te, width: we } = Z;
|
|
144811
144820
|
const Xe = J.left - (we - J.width);
|
|
144812
144821
|
return {
|
|
144813
|
-
height:
|
|
144822
|
+
height: Te,
|
|
144814
144823
|
width: Xe < 0 ? J.width : _(J.left, J.width, we, oe),
|
|
144815
144824
|
top: X(de),
|
|
144816
144825
|
left: j(Xe)
|
|
144817
144826
|
};
|
|
144818
144827
|
}, U = (J, Z, oe) => {
|
|
144819
|
-
let { top: de, left:
|
|
144828
|
+
let { top: de, left: Te, height: we, width: Xe } = Z;
|
|
144820
144829
|
return {
|
|
144821
144830
|
width: Xe,
|
|
144822
|
-
left:
|
|
144831
|
+
left: Te,
|
|
144823
144832
|
height: C(de, J.height, we),
|
|
144824
144833
|
top: X(de)
|
|
144825
144834
|
};
|
|
@@ -144842,14 +144851,14 @@ Defaulting to \`null\`.`;
|
|
|
144842
144851
|
}
|
|
144843
144852
|
};
|
|
144844
144853
|
function V(J, Z, oe, de) {
|
|
144845
|
-
const
|
|
144846
|
-
return
|
|
144854
|
+
const Te = N[J];
|
|
144855
|
+
return Te ? Te(Z, {
|
|
144847
144856
|
...Z,
|
|
144848
144857
|
...oe
|
|
144849
144858
|
}, de) : oe;
|
|
144850
144859
|
}
|
|
144851
144860
|
function L(J) {
|
|
144852
|
-
let { top: Z, left: oe, width: de, height:
|
|
144861
|
+
let { top: Z, left: oe, width: de, height: Te } = J;
|
|
144853
144862
|
const we = `translate(${oe}px,${Z}px)`;
|
|
144854
144863
|
return {
|
|
144855
144864
|
transform: we,
|
|
@@ -144858,17 +144867,17 @@ Defaulting to \`null\`.`;
|
|
|
144858
144867
|
msTransform: we,
|
|
144859
144868
|
OTransform: we,
|
|
144860
144869
|
width: `${de}px`,
|
|
144861
|
-
height: `${
|
|
144870
|
+
height: `${Te}px`,
|
|
144862
144871
|
position: "absolute"
|
|
144863
144872
|
};
|
|
144864
144873
|
}
|
|
144865
144874
|
function B(J) {
|
|
144866
|
-
let { top: Z, left: oe, width: de, height:
|
|
144875
|
+
let { top: Z, left: oe, width: de, height: Te } = J;
|
|
144867
144876
|
return {
|
|
144868
144877
|
top: `${Z}px`,
|
|
144869
144878
|
left: `${oe}px`,
|
|
144870
144879
|
width: `${de}px`,
|
|
144871
|
-
height: `${
|
|
144880
|
+
height: `${Te}px`,
|
|
144872
144881
|
position: "absolute"
|
|
144873
144882
|
};
|
|
144874
144883
|
}
|
|
@@ -144885,7 +144894,7 @@ Defaulting to \`null\`.`;
|
|
|
144885
144894
|
return Z.x > oe.x || Z.x === oe.x && Z.y > oe.y ? 1 : -1;
|
|
144886
144895
|
});
|
|
144887
144896
|
}
|
|
144888
|
-
function le(J, Z, oe, de,
|
|
144897
|
+
function le(J, Z, oe, de, Te) {
|
|
144889
144898
|
J = J || [];
|
|
144890
144899
|
const we = [];
|
|
144891
144900
|
e.default.Children.forEach(Z, (ee) => {
|
|
@@ -144907,7 +144916,7 @@ Defaulting to \`null\`.`;
|
|
|
144907
144916
|
const Xe = y(we, {
|
|
144908
144917
|
cols: oe
|
|
144909
144918
|
});
|
|
144910
|
-
return
|
|
144919
|
+
return Te ? Xe : O(Xe, de, oe);
|
|
144911
144920
|
}
|
|
144912
144921
|
function ce(J) {
|
|
144913
144922
|
let Z = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "Layout";
|
|
@@ -144918,7 +144927,7 @@ Defaulting to \`null\`.`;
|
|
|
144918
144927
|
"h"
|
|
144919
144928
|
];
|
|
144920
144929
|
if (!Array.isArray(J)) throw new Error(Z + " must be an array!");
|
|
144921
|
-
for (let de = 0,
|
|
144930
|
+
for (let de = 0, Te = J.length; de < Te; de++) {
|
|
144922
144931
|
const we = J[de];
|
|
144923
144932
|
for (let Xe = 0; Xe < oe.length; Xe++) {
|
|
144924
144933
|
const ee = oe[Xe], he = we[ee];
|
|
@@ -147822,8 +147831,8 @@ Defaulting to \`null\`.`;
|
|
|
147822
147831
|
}, B = () => {
|
|
147823
147832
|
b.onDragStop();
|
|
147824
147833
|
}, e[75] = b, e[76] = V, e[77] = L, e[78] = B) : (V = e[76], L = e[77], B = e[78]), K = vcn, ie = Q, te = Q, le = Q, ce = Q ? `.${cF}` : "noop";
|
|
147825
|
-
let
|
|
147826
|
-
e[79] !== l ? (
|
|
147834
|
+
let kt;
|
|
147835
|
+
e[79] !== l ? (kt = (gt) => l.has(gt.id), e[79] = l, e[80] = kt) : kt = e[80], H = i.filter(kt).map((gt) => {
|
|
147827
147836
|
const bn = _e.get(gt.id), kn = n.scrollableCells.has(gt.id) ?? false, Er = n.cellSide.get(gt.id), $i = m.jsx(uF, {
|
|
147828
147837
|
code: gt.code,
|
|
147829
147838
|
mode: o,
|
|
@@ -147896,7 +147905,7 @@ Defaulting to \`null\`.`;
|
|
|
147896
147905
|
}
|
|
147897
147906
|
return oe;
|
|
147898
147907
|
}
|
|
147899
|
-
let de,
|
|
147908
|
+
let de, Te, we, Xe, ee, he;
|
|
147900
147909
|
if (e[110] !== i || e[111] !== oe || e[112] !== l || e[113] !== O || e[114] !== n || e[115] !== o || e[116] !== r || e[117] !== _) {
|
|
147901
147910
|
let _e;
|
|
147902
147911
|
e[125] !== l ? (_e = (Le) => !l.has(Le.id), e[125] = l, e[126] = _e) : _e = e[126];
|
|
@@ -147924,10 +147933,10 @@ Defaulting to \`null\`.`;
|
|
|
147924
147933
|
e[136] === Symbol.for("react.memo_cache_sentinel") ? (Xe = $e("relative flex z-10 flex-1 overflow-hidden"), Re = $e("grow overflow-auto transparent-when-disconnected"), e[136] = Xe, e[137] = Re) : (Xe = e[136], Re = e[137]), e[138] !== oe ? (ee = m.jsx("div", {
|
|
147925
147934
|
className: Re,
|
|
147926
147935
|
children: oe
|
|
147927
|
-
}), e[138] = oe, e[139] = ee) : ee = e[139], de = "flex-none flex flex-col w-[300px] p-2 pb-20 gap-2 overflow-auto bg-(--slate-2) border-t border-x rounded-t shadow-sm transparent-when-disconnected mx-2 mt-4", e[140] === Symbol.for("react.memo_cache_sentinel") ? (
|
|
147936
|
+
}), e[138] = oe, e[139] = ee) : ee = e[139], de = "flex-none flex flex-col w-[300px] p-2 pb-20 gap-2 overflow-auto bg-(--slate-2) border-t border-x rounded-t shadow-sm transparent-when-disconnected mx-2 mt-4", e[140] === Symbol.for("react.memo_cache_sentinel") ? (Te = m.jsx("div", {
|
|
147928
147937
|
className: "text font-bold text-(--slate-20) shrink-0",
|
|
147929
147938
|
children: "Outputs"
|
|
147930
|
-
}), e[140] =
|
|
147939
|
+
}), e[140] = Te) : Te = e[140];
|
|
147931
147940
|
let Ie;
|
|
147932
147941
|
e[141] !== n.columns || e[142] !== n.rowHeight || e[143] !== o ? (Ie = (Le) => m.jsx("div", {
|
|
147933
147942
|
draggable: true,
|
|
@@ -147952,16 +147961,16 @@ Defaulting to \`null\`.`;
|
|
|
147952
147961
|
status: Le.status,
|
|
147953
147962
|
hidden: false
|
|
147954
147963
|
})
|
|
147955
|
-
}, Le.id), e[141] = n.columns, e[142] = n.rowHeight, e[143] = o, e[144] = Ie) : Ie = e[144], we = Qe.map(Ie), e[110] = i, e[111] = oe, e[112] = l, e[113] = O, e[114] = n, e[115] = o, e[116] = r, e[117] = _, e[118] = de, e[119] =
|
|
147956
|
-
} else de = e[118],
|
|
147964
|
+
}, Le.id), e[141] = n.columns, e[142] = n.rowHeight, e[143] = o, e[144] = Ie) : Ie = e[144], we = Qe.map(Ie), e[110] = i, e[111] = oe, e[112] = l, e[113] = O, e[114] = n, e[115] = o, e[116] = r, e[117] = _, e[118] = de, e[119] = Te, e[120] = we, e[121] = Xe, e[122] = ee, e[123] = he, e[124] = oe;
|
|
147965
|
+
} else de = e[118], Te = e[119], we = e[120], Xe = e[121], ee = e[122], he = e[123], oe = e[124];
|
|
147957
147966
|
let ge;
|
|
147958
|
-
e[145] !== de || e[146] !==
|
|
147967
|
+
e[145] !== de || e[146] !== Te || e[147] !== we ? (ge = m.jsxs("div", {
|
|
147959
147968
|
className: de,
|
|
147960
147969
|
children: [
|
|
147961
|
-
|
|
147970
|
+
Te,
|
|
147962
147971
|
we
|
|
147963
147972
|
]
|
|
147964
|
-
}), e[145] = de, e[146] =
|
|
147973
|
+
}), e[145] = de, e[146] = Te, e[147] = we, e[148] = ge) : ge = e[148];
|
|
147965
147974
|
let Se;
|
|
147966
147975
|
e[149] !== Xe || e[150] !== ee || e[151] !== ge ? (Se = m.jsxs("div", {
|
|
147967
147976
|
className: Xe,
|
|
@@ -148324,7 +148333,7 @@ Defaulting to \`null\`.`;
|
|
|
148324
148333
|
rowHeight: Je().min(1),
|
|
148325
148334
|
maxWidth: Je().optional(),
|
|
148326
148335
|
bordered: et().optional(),
|
|
148327
|
-
cells:
|
|
148336
|
+
cells: Pt(Ce({
|
|
148328
148337
|
position: Mh([
|
|
148329
148338
|
Je(),
|
|
148330
148339
|
Je(),
|
|
@@ -148405,7 +148414,7 @@ Defaulting to \`null\`.`;
|
|
|
148405
148414
|
cellSide: /* @__PURE__ */ new Map(),
|
|
148406
148415
|
cells: []
|
|
148407
148416
|
})
|
|
148408
|
-
}, xcn = ue.lazy(() => import("./slides-component-
|
|
148417
|
+
}, xcn = ue.lazy(() => import("./slides-component-DIZ-8MOa.js")), Scn = (t) => {
|
|
148409
148418
|
const e = se.c(11), { cells: n, mode: r } = t, i = r === "read";
|
|
148410
148419
|
let o;
|
|
148411
148420
|
if (e[0] !== n || e[1] !== r) {
|
|
@@ -160236,7 +160245,7 @@ Defaulting to \`null\`.`;
|
|
|
160236
160245
|
function np() {
|
|
160237
160246
|
for (var t = arguments.length - 1; t >= 0; t--) ki.cc.push(arguments[t]);
|
|
160238
160247
|
}
|
|
160239
|
-
function
|
|
160248
|
+
function Ct() {
|
|
160240
160249
|
return np.apply(null, arguments), true;
|
|
160241
160250
|
}
|
|
160242
160251
|
function Gwe(t, e) {
|
|
@@ -160287,98 +160296,98 @@ Defaulting to \`null\`.`;
|
|
|
160287
160296
|
co.lex = true;
|
|
160288
160297
|
function ws(t) {
|
|
160289
160298
|
function e(n) {
|
|
160290
|
-
return n == t ?
|
|
160299
|
+
return n == t ? Ct() : t == ";" ? np() : Ct(e);
|
|
160291
160300
|
}
|
|
160292
160301
|
return e;
|
|
160293
160302
|
}
|
|
160294
160303
|
function jh(t) {
|
|
160295
|
-
return t == "@" ?
|
|
160304
|
+
return t == "@" ? Ct(jF) : t == "var" ? Ct(Go("vardef"), Rne, ws(";"), co) : t == "keyword a" ? Ct(Go("form"), ru, jh, co) : t == "keyword b" ? Ct(Go("form"), jh, co) : t == "{" ? Ct(Go("}"), EF, qF, co, qq) : t == ";" ? Ct() : t == "attribute" ? Ct(tMe) : t == "function" ? Ct(ik) : t == "for" ? Ct(Go("form"), ws("("), Go(")"), dbn, ws(")"), co, jh, co) : t == "variable" ? Ct(Go("stat"), lbn) : t == "switch" ? Ct(Go("form"), ru, Go("}", "switch"), ws("{"), qF, co, co) : t == "case" ? Ct(ru, ws(":")) : t == "default" ? Ct(ws(":")) : t == "catch" ? Ct(Go("form"), EF, ws("("), iMe, ws(")"), jh, co, qq) : t == "import" ? Ct(nMe, ws(";")) : t == "typedef" ? Ct(sbn) : np(Go("stat"), ru, ws(";"), co);
|
|
160296
160305
|
}
|
|
160297
160306
|
function ru(t) {
|
|
160298
|
-
return KGe.hasOwnProperty(t) || t == "type" ?
|
|
160307
|
+
return KGe.hasOwnProperty(t) || t == "type" ? Ct($f) : t == "function" ? Ct(ik) : t == "keyword c" ? Ct(SN) : t == "(" ? Ct(Go(")"), SN, ws(")"), co, $f) : t == "operator" ? Ct(ru) : t == "[" ? Ct(Go("]"), Ww(SN, "]"), co, $f) : t == "{" ? Ct(Go("}"), Ww(ubn, "}"), co, $f) : Ct();
|
|
160299
160308
|
}
|
|
160300
160309
|
function SN(t) {
|
|
160301
160310
|
return t.match(/[;\}\)\],]/) ? np() : np(ru);
|
|
160302
160311
|
}
|
|
160303
160312
|
function $f(t, e) {
|
|
160304
|
-
if (t == "operator" && /\+\+|--/.test(e)) return
|
|
160305
|
-
if (t == "operator" || t == ":") return
|
|
160313
|
+
if (t == "operator" && /\+\+|--/.test(e)) return Ct($f);
|
|
160314
|
+
if (t == "operator" || t == ":") return Ct(ru);
|
|
160306
160315
|
if (t != ";") {
|
|
160307
|
-
if (t == "(") return
|
|
160308
|
-
if (t == ".") return
|
|
160309
|
-
if (t == "[") return
|
|
160316
|
+
if (t == "(") return Ct(Go(")"), Ww(ru, ")"), co, $f);
|
|
160317
|
+
if (t == ".") return Ct(cbn, $f);
|
|
160318
|
+
if (t == "[") return Ct(Go("]"), ru, ws("]"), co, $f);
|
|
160310
160319
|
}
|
|
160311
160320
|
}
|
|
160312
160321
|
function tMe(t) {
|
|
160313
|
-
if (t == "attribute") return
|
|
160314
|
-
if (t == "function") return
|
|
160315
|
-
if (t == "var") return
|
|
160322
|
+
if (t == "attribute") return Ct(tMe);
|
|
160323
|
+
if (t == "function") return Ct(ik);
|
|
160324
|
+
if (t == "var") return Ct(Rne);
|
|
160316
160325
|
}
|
|
160317
160326
|
function jF(t) {
|
|
160318
|
-
if (t == ":" || t == "variable") return
|
|
160319
|
-
if (t == "(") return
|
|
160327
|
+
if (t == ":" || t == "variable") return Ct(jF);
|
|
160328
|
+
if (t == "(") return Ct(Go(")"), Ww(abn, ")"), co, jh);
|
|
160320
160329
|
}
|
|
160321
160330
|
function abn(t) {
|
|
160322
|
-
if (t == "variable") return
|
|
160331
|
+
if (t == "variable") return Ct();
|
|
160323
160332
|
}
|
|
160324
160333
|
function nMe(t, e) {
|
|
160325
|
-
if (t == "variable" && /[A-Z]/.test(e.charAt(0))) return eMe(e),
|
|
160326
|
-
if (t == "variable" || t == "property" || t == "." || e == "*") return
|
|
160334
|
+
if (t == "variable" && /[A-Z]/.test(e.charAt(0))) return eMe(e), Ct();
|
|
160335
|
+
if (t == "variable" || t == "property" || t == "." || e == "*") return Ct(nMe);
|
|
160327
160336
|
}
|
|
160328
160337
|
function sbn(t, e) {
|
|
160329
|
-
if (t == "variable" && /[A-Z]/.test(e.charAt(0))) return eMe(e),
|
|
160330
|
-
if (t == "type" && /[A-Z]/.test(e.charAt(0))) return
|
|
160338
|
+
if (t == "variable" && /[A-Z]/.test(e.charAt(0))) return eMe(e), Ct();
|
|
160339
|
+
if (t == "type" && /[A-Z]/.test(e.charAt(0))) return Ct();
|
|
160331
160340
|
}
|
|
160332
160341
|
function lbn(t) {
|
|
160333
|
-
return t == ":" ?
|
|
160342
|
+
return t == ":" ? Ct(co, jh) : np($f, ws(";"), co);
|
|
160334
160343
|
}
|
|
160335
160344
|
function cbn(t) {
|
|
160336
|
-
if (t == "variable") return ki.marked = "property",
|
|
160345
|
+
if (t == "variable") return ki.marked = "property", Ct();
|
|
160337
160346
|
}
|
|
160338
160347
|
function ubn(t) {
|
|
160339
|
-
if (t == "variable" && (ki.marked = "property"), KGe.hasOwnProperty(t)) return
|
|
160348
|
+
if (t == "variable" && (ki.marked = "property"), KGe.hasOwnProperty(t)) return Ct(ws(":"), ru);
|
|
160340
160349
|
}
|
|
160341
160350
|
function Ww(t, e) {
|
|
160342
160351
|
function n(r) {
|
|
160343
|
-
return r == "," ?
|
|
160352
|
+
return r == "," ? Ct(t, n) : r == e ? Ct() : Ct(ws(e));
|
|
160344
160353
|
}
|
|
160345
160354
|
return function(r) {
|
|
160346
|
-
return r == e ?
|
|
160355
|
+
return r == e ? Ct() : np(t, n);
|
|
160347
160356
|
};
|
|
160348
160357
|
}
|
|
160349
160358
|
function qF(t) {
|
|
160350
|
-
return t == "}" ?
|
|
160359
|
+
return t == "}" ? Ct() : np(jh, qF);
|
|
160351
160360
|
}
|
|
160352
160361
|
function Rne(t, e) {
|
|
160353
|
-
return t == "variable" ? (O7(e),
|
|
160362
|
+
return t == "variable" ? (O7(e), Ct(h7, rMe)) : Ct();
|
|
160354
160363
|
}
|
|
160355
160364
|
function rMe(t, e) {
|
|
160356
|
-
if (e == "=") return
|
|
160357
|
-
if (t == ",") return
|
|
160365
|
+
if (e == "=") return Ct(ru, rMe);
|
|
160366
|
+
if (t == ",") return Ct(Rne);
|
|
160358
160367
|
}
|
|
160359
160368
|
function dbn(t, e) {
|
|
160360
|
-
return t == "variable" ? (O7(e),
|
|
160369
|
+
return t == "variable" ? (O7(e), Ct(fbn, ru)) : np();
|
|
160361
160370
|
}
|
|
160362
160371
|
function fbn(t, e) {
|
|
160363
|
-
if (e == "in") return
|
|
160372
|
+
if (e == "in") return Ct();
|
|
160364
160373
|
}
|
|
160365
160374
|
function ik(t, e) {
|
|
160366
|
-
if (t == "variable" || t == "type") return O7(e),
|
|
160367
|
-
if (e == "new") return
|
|
160368
|
-
if (t == "(") return
|
|
160375
|
+
if (t == "variable" || t == "type") return O7(e), Ct(ik);
|
|
160376
|
+
if (e == "new") return Ct(ik);
|
|
160377
|
+
if (t == "(") return Ct(Go(")"), EF, Ww(iMe, ")"), co, h7, jh, qq);
|
|
160369
160378
|
}
|
|
160370
160379
|
function h7(t) {
|
|
160371
|
-
if (t == ":") return
|
|
160380
|
+
if (t == ":") return Ct(Obn);
|
|
160372
160381
|
}
|
|
160373
160382
|
function Obn(t) {
|
|
160374
|
-
if (t == "type" || t == "variable") return
|
|
160375
|
-
if (t == "{") return
|
|
160383
|
+
if (t == "type" || t == "variable") return Ct();
|
|
160384
|
+
if (t == "{") return Ct(Go("}"), Ww(hbn, "}"), co);
|
|
160376
160385
|
}
|
|
160377
160386
|
function hbn(t) {
|
|
160378
|
-
if (t == "variable") return
|
|
160387
|
+
if (t == "variable") return Ct(h7);
|
|
160379
160388
|
}
|
|
160380
160389
|
function iMe(t, e) {
|
|
160381
|
-
if (t == "variable") return O7(e),
|
|
160390
|
+
if (t == "variable") return O7(e), Ct(h7);
|
|
160382
160391
|
}
|
|
160383
160392
|
const oMe = {
|
|
160384
160393
|
name: "haxe",
|
|
@@ -171199,7 +171208,7 @@ Defaulting to \`null\`.`;
|
|
|
171199
171208
|
let l;
|
|
171200
171209
|
e[4] !== a ? (l = m.jsx(yn, {
|
|
171201
171210
|
content: "Next line",
|
|
171202
|
-
children: m.jsx(
|
|
171211
|
+
children: m.jsx(Tt, {
|
|
171203
171212
|
variant: "text",
|
|
171204
171213
|
size: "icon",
|
|
171205
171214
|
"data-testid": "debugger-next-button",
|
|
@@ -171218,7 +171227,7 @@ Defaulting to \`null\`.`;
|
|
|
171218
171227
|
let h;
|
|
171219
171228
|
e[10] !== c ? (h = m.jsx(yn, {
|
|
171220
171229
|
content: "Continue execution",
|
|
171221
|
-
children: m.jsx(
|
|
171230
|
+
children: m.jsx(Tt, {
|
|
171222
171231
|
variant: "text",
|
|
171223
171232
|
size: "icon",
|
|
171224
171233
|
"data-testid": "debugger-continue-button",
|
|
@@ -171237,7 +171246,7 @@ Defaulting to \`null\`.`;
|
|
|
171237
171246
|
let y;
|
|
171238
171247
|
e[15] !== p ? (y = m.jsx(yn, {
|
|
171239
171248
|
content: "Print stack trace",
|
|
171240
|
-
children: m.jsx(
|
|
171249
|
+
children: m.jsx(Tt, {
|
|
171241
171250
|
variant: "text",
|
|
171242
171251
|
size: "icon",
|
|
171243
171252
|
"data-testid": "debugger-stack-button",
|
|
@@ -171256,7 +171265,7 @@ Defaulting to \`null\`.`;
|
|
|
171256
171265
|
let x;
|
|
171257
171266
|
e[20] !== v ? (x = m.jsx(yn, {
|
|
171258
171267
|
content: "Help",
|
|
171259
|
-
children: m.jsx(
|
|
171268
|
+
children: m.jsx(Tt, {
|
|
171260
171269
|
variant: "text",
|
|
171261
171270
|
size: "icon",
|
|
171262
171271
|
"data-testid": "debugger-help-button",
|
|
@@ -171268,7 +171277,7 @@ Defaulting to \`null\`.`;
|
|
|
171268
171277
|
let b;
|
|
171269
171278
|
e[22] !== r ? (b = r && m.jsx(yn, {
|
|
171270
171279
|
content: "Clear",
|
|
171271
|
-
children: m.jsx(
|
|
171280
|
+
children: m.jsx(Tt, {
|
|
171272
171281
|
variant: "text",
|
|
171273
171282
|
size: "icon",
|
|
171274
171283
|
"data-testid": "debugger-clear-button",
|
|
@@ -171591,7 +171600,7 @@ Defaulting to \`null\`.`;
|
|
|
171591
171600
|
return Me.warn("Failed to get version from mount config"), null;
|
|
171592
171601
|
}
|
|
171593
171602
|
}
|
|
171594
|
-
const u5n = c5n() || "0.14.18-
|
|
171603
|
+
const u5n = c5n() || "0.14.18-dev14", d5n = ct(u5n), f5n = ct(true);
|
|
171595
171604
|
ct(null);
|
|
171596
171605
|
function O5n() {
|
|
171597
171606
|
const t = fn.get(h5n);
|
|
@@ -172015,7 +172024,7 @@ Defaulting to \`null\`.`;
|
|
|
172015
172024
|
let O;
|
|
172016
172025
|
e[17] === Symbol.for("react.memo_cache_sentinel") ? (O = m.jsx(Km, {
|
|
172017
172026
|
asChild: true,
|
|
172018
|
-
children: m.jsx(
|
|
172027
|
+
children: m.jsx(Tt, {
|
|
172019
172028
|
variant: "secondary",
|
|
172020
172029
|
size: "xs",
|
|
172021
172030
|
children: m.jsx(xtt, {
|
|
@@ -172556,7 +172565,7 @@ Defaulting to \`null\`.`;
|
|
|
172556
172565
|
const eTn = () => fn.get(d5n), lSe = (t) => {
|
|
172557
172566
|
const e = se.c(6), { tooltip: n, icon: r, action: i } = t;
|
|
172558
172567
|
let o;
|
|
172559
|
-
e[0] !== i || e[1] !== r ? (o = m.jsx(
|
|
172568
|
+
e[0] !== i || e[1] !== r ? (o = m.jsx(Tt, {
|
|
172560
172569
|
size: "icon",
|
|
172561
172570
|
variant: "outline",
|
|
172562
172571
|
className: "bg-background h-5 w-5 mb-0",
|
|
@@ -172818,7 +172827,7 @@ ${r}
|
|
|
172818
172827
|
const r = t.querySelector(Ua.editorTagName);
|
|
172819
172828
|
return r ? lTn(r.dataset.initialValue) : "";
|
|
172820
172829
|
}
|
|
172821
|
-
const BF = ct(false), LLe = ct(false), cSe = ct((t) => t(LLe) && t(BF) === false), uTn = "/assets/worker-
|
|
172830
|
+
const BF = ct(false), LLe = ct(false), cSe = ct((t) => t(LLe) && t(BF) === false), uTn = "/assets/worker-IDMFdmDA.js";
|
|
172822
172831
|
class a5 {
|
|
172823
172832
|
static get INSTANCE() {
|
|
172824
172833
|
const e = "_marimo_private_IslandsPyodideBridge";
|
|
@@ -173034,7 +173043,7 @@ export {
|
|
|
173034
173043
|
n1e as aP,
|
|
173035
173044
|
bf as aQ,
|
|
173036
173045
|
$e as aR,
|
|
173037
|
-
|
|
173046
|
+
Tt as aS,
|
|
173038
173047
|
jft as aT,
|
|
173039
173048
|
SB as aU,
|
|
173040
173049
|
M2e as aV,
|