@marimo-team/islands 0.25.3-dev500 → 0.25.3-dev501
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-BV2GFVYn.js → ConnectedDataExplorerComponent-DtwVgVpX.js} +13 -13
- package/dist/{ErrorBoundary-CpSSnt9y.js → ErrorBoundary-UjAniyR8.js} +8 -8
- package/dist/{abnfDiagram-VCTEODGH-1AWrWE-o.js → abnfDiagram-VCTEODGH-BbZOIueZ.js} +2 -2
- package/dist/{any-language-editor-Dqpg95i0.js → any-language-editor-yG-YmLaK.js} +2 -2
- package/dist/{architectureDiagram-5GKGNRK7-D0zM5fGn.js → architectureDiagram-5GKGNRK7-qjLjxapm.js} +1 -1
- package/dist/{assertNever-BQEDS5Ew.js → assertNever-DywGMo-S.js} +2 -2
- package/dist/{chat-ui-JmYr7eaD.js → chat-ui-CCmVFbcB.js} +41 -41
- package/dist/{check-BTnCP_6g.js → check-jchHMCfs.js} +1 -1
- package/dist/{chunk-IMKFNOWR-CTe-GyEo.js → chunk-IMKFNOWR-BzDY1_I7.js} +1 -1
- package/dist/{chunk-SHT3W25Y-mDvz0_Bb.js → chunk-SHT3W25Y-DbHsMKdo.js} +1 -1
- package/dist/{chunk-SVP7TREG-TQe5CTi-.js → chunk-SVP7TREG-CtwnwAE6.js} +1 -1
- package/dist/{chunk-TICWLB2K-DueGZcaL.js → chunk-TICWLB2K-C5Z5QMbO.js} +1 -1
- package/dist/{classDiagram-ZZMXUADV-C80WtbRl.js → classDiagram-ZZMXUADV-B8E5Hn78.js} +2 -2
- package/dist/{classDiagram-v2-VYDZK3BY-BGUFGXB1.js → classDiagram-v2-VYDZK3BY-DeGsK9bT.js} +2 -2
- package/dist/{code-visibility-CXdUXvjR.js → code-visibility-8tHEJpUk.js} +19 -19
- package/dist/{common-Bgx8DW-s.js → common-CxL4wPFF.js} +162 -162
- package/dist/{config-DbjezUyA.js → config-qTaTHnpE.js} +3 -3
- package/dist/{copy-icon-7bY-OuK1.js → copy-icon-BI7vZHEW.js} +2 -2
- package/dist/{createReducer-BTiEYD5d.js → createReducer-DdSLRfBT.js} +5 -5
- package/dist/{cynefinDiagram-5FMLGOSQ-B1FxtX7q.js → cynefinDiagram-5FMLGOSQ-NDedRwsw.js} +1 -1
- package/dist/{dagre-GXQ25YYZ-DsaxsLKR.js → dagre-GXQ25YYZ-De0sSZO7.js} +1 -1
- package/dist/{data-grid-overlay-editor-Db7nCoNJ.js → data-grid-overlay-editor-BKYGAMTU.js} +1 -1
- package/dist/{diagram-S7CK7UJ4-0_x8Q-Gz.js → diagram-S7CK7UJ4-wBtVl61y.js} +1 -1
- package/dist/{diagram-UQ7AKVKN-nvR7yqd-.js → diagram-UQ7AKVKN-CKWE3c1T.js} +1 -1
- package/dist/{diagram-VX7I27RA-BnEUU78X.js → diagram-VX7I27RA-D2Ac5198.js} +1 -1
- package/dist/{diagram-Z3DM3KII-BHX2x9ql.js → diagram-Z3DM3KII-CYaFOQcI.js} +1 -1
- package/dist/{dialog-CBKdXrw9.js → dialog-Ic6dh09m.js} +31 -31
- package/dist/{dropdown-menu-218IIk7S.js → dropdown-menu-Dhv4fcNl.js} +86 -86
- package/dist/{ebnfDiagram-PWID7BFC-DYZD7-aw.js → ebnfDiagram-PWID7BFC-Ds7f42dj.js} +2 -2
- package/dist/{erDiagram-RLTQ6QDP-Bv-0tHzX.js → erDiagram-RLTQ6QDP-b58Sz2Mc.js} +1 -1
- package/dist/{error-banner-cub3qDum.js → error-banner-CJVLr5_a.js} +15 -15
- package/dist/{error-entries-MZLN-feW.js → error-entries-BoO7a296.js} +378 -378
- package/dist/{feedback-button-Vn4lQguX.js → feedback-button-6ukwIFn4.js} +120 -120
- package/dist/{flowDiagram-HODETNUW-BV2Dug--.js → flowDiagram-HODETNUW-BH9U7VZK.js} +2 -2
- package/dist/{formats-CBWqzCiR.js → formats-BLNFWWhV.js} +1 -1
- package/dist/{glide-data-editor-SVSB_FrV.js → glide-data-editor-TUEJ7QJU.js} +11 -11
- package/dist/{glide-utils-DlglW_uh.js → glide-utils-Cn2_NadX.js} +2 -2
- package/dist/{globals-DLg0VAFW.js → globals-DdYss8Nz.js} +3 -3
- package/dist/{html-to-image-D6h4lzXj.js → html-to-image-rvMfQD46.js} +326 -326
- package/dist/{infoDiagram-27XIBGKW-xekhSKlY.js → infoDiagram-27XIBGKW-xbjwrcNi.js} +1 -1
- package/dist/{ishikawaDiagram-5VMMS53U-Coe7mUqv.js → ishikawaDiagram-5VMMS53U-DKtukhGS.js} +1 -1
- package/dist/{kanban-definition-UXKFOSKX-Znywqtyi.js → kanban-definition-UXKFOSKX-BEhlkZBb.js} +1 -1
- package/dist/main.js +5887 -5861
- package/dist/{mermaid-DRT7MewO.js → mermaid-D1CZDNoB.js} +34 -34
- package/dist/{mindmap-definition-YA3MSWOX-Do_NrRXE.js → mindmap-definition-YA3MSWOX-DQcnJPcV.js} +1 -1
- package/dist/{number-overlay-editor-Cl-4xrmj.js → number-overlay-editor-DvLF2HiC.js} +1 -1
- package/dist/{pegDiagram-XKGWAZYB-CTuwofVH.js → pegDiagram-XKGWAZYB-BFQuPYfI.js} +2 -2
- package/dist/{pencil-qedVMD6q.js → pencil-DVYzq-iR.js} +1 -1
- package/dist/{pieDiagram-E7YTZNPT-CFHRBvha.js → pieDiagram-E7YTZNPT-l7aqNrem.js} +1 -1
- package/dist/{process-output-MYh-Vr__.js → process-output-BXff1USQ.js} +4 -4
- package/dist/{railroadDiagram-O6MQD6OU-BJBqS4A3.js → railroadDiagram-O6MQD6OU-6R3C1lwQ.js} +2 -2
- package/dist/{requirementDiagram-BXWQKSXE-CoMoIh3b.js → requirementDiagram-BXWQKSXE-DdWYu8fn.js} +1 -1
- package/dist/{reveal-component-CSm--bq9.js → reveal-component-DuUxTG4p.js} +1008 -1008
- package/dist/{select-BcEi9lad.js → select-CDUxhHZg.js} +109 -109
- package/dist/{sequenceDiagram-WJ2MYXX4-Cu7Mpp-z.js → sequenceDiagram-WJ2MYXX4-Dzp0dgRc.js} +1 -1
- package/dist/{spec-AxyC1vc5.js → spec-ZAt4P01J.js} +4 -4
- package/dist/{stateDiagram-D77RDMKH-DX7_Rnib.js → stateDiagram-D77RDMKH-BGnTUhFJ.js} +2 -2
- package/dist/{stateDiagram-v2-MP3YSRHH-oFXVbGoo.js → stateDiagram-v2-MP3YSRHH-DsJbmDf1.js} +2 -2
- package/dist/{static-state-CqzVppxA.js → static-state-C4bAlKTU.js} +9 -9
- package/dist/{swimlanes-42K2YHIH-CxzCGtVZ.js → swimlanes-42K2YHIH-Bd4Bzh9r.js} +1 -1
- package/dist/{swimlanesDiagram-VR7AAH4N-1a1GRLNf.js → swimlanesDiagram-VR7AAH4N-BlY12Jf6.js} +2 -2
- package/dist/{timeline-definition-24CTP7MA-Pfn2awsU.js → timeline-definition-24CTP7MA-m0LanyCH.js} +1 -1
- package/dist/{toast-aYa8V5tR.js → toast-U3NpO2x3.js} +192 -192
- package/dist/{tooltip-CwQmweEz.js → tooltip-UzJukb3F.js} +65 -65
- package/dist/{use-restore-focus-DlX1CSiq.js → use-restore-focus-DaTVz6S6.js} +679 -668
- package/dist/{useDateFormatter-BAckjdIS.js → useDateFormatter-LQNtoXyh.js} +2 -2
- package/dist/{useDeepCompareMemoize-C6mte0N8.js → useDeepCompareMemoize-CmNbQ9TT.js} +1 -1
- package/dist/{useLifecycle-XZ5KJAFU.js → useLifecycle-DTMczKkf.js} +1 -1
- package/dist/{vega-component-_We1FoNw.js → vega-component-ZTdbCcwI.js} +6 -6
- package/dist/{vennDiagram-4TSXK5OY-DrIqDugg.js → vennDiagram-4TSXK5OY-BJ7vqDmn.js} +1 -1
- package/dist/{wardleyDiagram-VM6X3IG4-DBPVNfc3.js → wardleyDiagram-VM6X3IG4-D5kWacsn.js} +1 -1
- package/dist/{xychartDiagram-S5SC5T6Z-64Isocef.js → xychartDiagram-S5SC5T6Z-gr15Ws_z.js} +1 -1
- package/package.json +1 -1
|
@@ -2,26 +2,26 @@ import { a as e, i as t, n, r, t as i } from "./rolldown-runtime-BPCzCO3I.js";
|
|
|
2
2
|
import { g as a, h as o, p as s, r as c, s as l, t as u, u as d } from "./button-qQhINE7z.js";
|
|
3
3
|
import { t as f } from "./react-Bgs_wQh3.js";
|
|
4
4
|
import { t as p } from "./compiler-runtime-C5KHtL5D.js";
|
|
5
|
-
import { i as m, n as h, t as g } from "./copy-icon-
|
|
5
|
+
import { i as m, n as h, t as g } from "./copy-icon-BI7vZHEW.js";
|
|
6
6
|
import { c as _, l as v, o as y, r as b, s as x } from "./chunk-7TTQLYRW-DBSfUUe5.js";
|
|
7
|
-
import { c as S, h as C, i as w, l as T, s as ee, t as te, u as E } from "./tooltip-
|
|
8
|
-
import { a as D, i as ne, o as re, r as O, s as k, t as ie } from "./useLifecycle-
|
|
9
|
-
import { a as ae, c as oe, i as se, n as ce, o as le, r as ue, s as de, t as fe } from "./select-
|
|
10
|
-
import { J as pe, X as me, ht as he } from "./dropdown-menu-
|
|
11
|
-
import { c as ge, l as _e, n as ve } from "./config-
|
|
12
|
-
import { $ as A, A as j, At as ye, Bt as be, C as xe, D as Se, E as Ce, F as we, G as Te, Gt as Ee, I as De, Jt as Oe, L as ke, Lt as Ae, Mt as je, N as Me, Ot as Ne, Rt as Pe, S as Fe, St as Ie, Ut as Le, Vt as Re, W as ze, Wt as Be, Yt as Ve, _t as He, a as Ue, at as We, c as Ge, ct as Ke, dt as qe, en as Je, et as Ye, ft as Xe, g as Ze, gt as Qe, it as $e, k as et, lt as tt, m as nt, nn as rt, o as it, ot as at, p as ot, pt as st, qt as ct, s as lt, st as ut, tt as dt, ut as ft, v as pt, w as mt, y as ht } from "./error-entries-
|
|
13
|
-
import { n as gt } from "./assertNever-
|
|
7
|
+
import { c as S, h as C, i as w, l as T, s as ee, t as te, u as E } from "./tooltip-UzJukb3F.js";
|
|
8
|
+
import { a as D, i as ne, o as re, r as O, s as k, t as ie } from "./useLifecycle-DTMczKkf.js";
|
|
9
|
+
import { a as ae, c as oe, i as se, n as ce, o as le, r as ue, s as de, t as fe } from "./select-CDUxhHZg.js";
|
|
10
|
+
import { J as pe, X as me, ht as he } from "./dropdown-menu-Dhv4fcNl.js";
|
|
11
|
+
import { c as ge, l as _e, n as ve } from "./config-qTaTHnpE.js";
|
|
12
|
+
import { $ as A, A as j, At as ye, Bt as be, C as xe, D as Se, E as Ce, F as we, G as Te, Gt as Ee, I as De, Jt as Oe, L as ke, Lt as Ae, Mt as je, N as Me, Ot as Ne, Rt as Pe, S as Fe, St as Ie, Ut as Le, Vt as Re, W as ze, Wt as Be, Yt as Ve, _t as He, a as Ue, at as We, c as Ge, ct as Ke, dt as qe, en as Je, et as Ye, ft as Xe, g as Ze, gt as Qe, it as $e, k as et, lt as tt, m as nt, nn as rt, o as it, ot as at, p as ot, pt as st, qt as ct, s as lt, st as ut, tt as dt, ut as ft, v as pt, w as mt, y as ht } from "./error-entries-BoO7a296.js";
|
|
13
|
+
import { n as gt } from "./assertNever-DywGMo-S.js";
|
|
14
14
|
import { t as _t } from "./react-dom-DdqGVp5N.js";
|
|
15
15
|
import { t as vt } from "./jsx-runtime-D8btoEHk.js";
|
|
16
|
-
import {
|
|
17
|
-
import { h as nn } from "./error-banner-
|
|
16
|
+
import { Bt as M, Ct as N, Et as yt, Ht as P, It as bt, J as xt, Lt as St, Mt as Ct, Nt as wt, Pt as Tt, Rt as Et, Y as Dt, _n as Ot, an as kt, at as At, cn as jt, d as Mt, en as Nt, fn as Pt, ft as Ft, hn as It, in as Lt, l as Rt, ln as zt, mn as Bt, n as Vt, o as Ht, on as Ut, ot as Wt, pn as Gt, rn as Kt, s as qt, sn as Jt, tn as F, tt as Yt, u as Xt, ut as Zt, vn as Qt, x as $t, y as en, zt as tn } from "./use-restore-focus-DaTVz6S6.js";
|
|
17
|
+
import { h as nn } from "./error-banner-CJVLr5_a.js";
|
|
18
18
|
import { t as rn } from "./debounce-DrhhziJv.js";
|
|
19
19
|
import { t as an } from "./objects-DCmMvZtn.js";
|
|
20
20
|
import { t as on } from "./invariant-DLmrl-hA.js";
|
|
21
21
|
import { t as sn } from "./useEvent-BoN7U38T.js";
|
|
22
|
-
import { t as cn } from "./createReducer-
|
|
22
|
+
import { t as cn } from "./createReducer-DdSLRfBT.js";
|
|
23
23
|
import { $ as ln, At as un, B as dn, C as fn, Ct as pn, Dt as mn, G as hn, Gt as gn, H as _n, I as vn, L as yn, N as bn, Ot as xn, Rt as Sn, U as Cn, W as wn, a as I, bt as Tn, c as En, dt as Dn, ft as On, h as kn, it as An, kt as jn, mt as Mn, o as Nn, rt as Pn, st as Fn, vt as In, wt as Ln, x as Rn, xt as zn, y as Bn, yt as Vn, z as Hn } from "./dist-D92tYjLc.js";
|
|
24
|
-
import { c as Un, m as Wn, r as Gn } from "./static-state-
|
|
24
|
+
import { c as Un, m as Wn, r as Gn } from "./static-state-C4bAlKTU.js";
|
|
25
25
|
import { i as Kn, o as qn, r as Jn, s as Yn, t as Xn, u as Zn } from "./dist-BsE4gQHj.js";
|
|
26
26
|
import { i as Qn, n as $n } from "./arrays-DoQ-AILx.js";
|
|
27
27
|
import { n as er } from "./once-NnpX_HnX.js";
|
|
@@ -1890,8 +1890,8 @@ var Or = /* @__PURE__ */ i(((e) => {
|
|
|
1890
1890
|
}]]), z = vt(), wi = Object.defineProperty, Ti = (e, t) => wi(e, "name", {
|
|
1891
1891
|
value: t,
|
|
1892
1892
|
configurable: !0
|
|
1893
|
-
}), Ei = "Popover", [Di, Oi] =
|
|
1894
|
-
let { __scopePopover: t, children: n, open: r, defaultOpen: i, onOpenChange: a, modal: o = !1 } = e, s = ki(t), c = L.useRef(null), [l, u] = L.useState(!1), [d, f] = L.useState(0), [p, m] = L.useState(0), [h, g] =
|
|
1893
|
+
}), Ei = "Popover", [Di, Oi] = Ot(Ei, [E]), ki = E(), [Ai, ji] = Di(Ei), Mi = /* @__PURE__ */ Ti((e) => {
|
|
1894
|
+
let { __scopePopover: t, children: n, open: r, defaultOpen: i, onOpenChange: a, modal: o = !1 } = e, s = ki(t), c = L.useRef(null), [l, u] = L.useState(!1), [d, f] = L.useState(0), [p, m] = L.useState(0), [h, g] = Bt({
|
|
1895
1895
|
prop: r,
|
|
1896
1896
|
defaultProp: i ?? !1,
|
|
1897
1897
|
onChange: a,
|
|
@@ -1927,7 +1927,7 @@ var Or = /* @__PURE__ */ i(((e) => {
|
|
|
1927
1927
|
ref: t
|
|
1928
1928
|
});
|
|
1929
1929
|
}, "PopoverAnchor")), Fi = "PopoverTrigger", Ii = /* @__PURE__ */ L.forwardRef(/* @__PURE__ */ Ti(function(e, t) {
|
|
1930
|
-
let { __scopePopover: n, ...r } = e, i = ji(Fi, n), a = ki(n), o = s(t, i.triggerRef), c = /* @__PURE__ */ (0, z.jsx)(
|
|
1930
|
+
let { __scopePopover: n, ...r } = e, i = ji(Fi, n), a = ki(n), o = s(t, i.triggerRef), c = /* @__PURE__ */ (0, z.jsx)(Qt.button, {
|
|
1931
1931
|
type: "button",
|
|
1932
1932
|
"aria-haspopup": "dialog",
|
|
1933
1933
|
"aria-expanded": i.open,
|
|
@@ -1935,7 +1935,7 @@ var Or = /* @__PURE__ */ i(((e) => {
|
|
|
1935
1935
|
"data-state": Yi(i.open),
|
|
1936
1936
|
...r,
|
|
1937
1937
|
ref: o,
|
|
1938
|
-
onClick:
|
|
1938
|
+
onClick: It(e.onClick, i.onOpenToggle)
|
|
1939
1939
|
});
|
|
1940
1940
|
return i.hasCustomAnchor ? c : /* @__PURE__ */ (0, z.jsx)(S, {
|
|
1941
1941
|
asChild: !0,
|
|
@@ -1947,9 +1947,9 @@ var Or = /* @__PURE__ */ i(((e) => {
|
|
|
1947
1947
|
return /* @__PURE__ */ (0, z.jsx)(Ri, {
|
|
1948
1948
|
scope: t,
|
|
1949
1949
|
forceMount: n,
|
|
1950
|
-
children: /* @__PURE__ */ (0, z.jsx)(
|
|
1950
|
+
children: /* @__PURE__ */ (0, z.jsx)(Gt, {
|
|
1951
1951
|
present: n || a.open,
|
|
1952
|
-
children: /* @__PURE__ */ (0, z.jsx)(
|
|
1952
|
+
children: /* @__PURE__ */ (0, z.jsx)(Lt, {
|
|
1953
1953
|
asChild: !0,
|
|
1954
1954
|
container: i,
|
|
1955
1955
|
children: r
|
|
@@ -1958,7 +1958,7 @@ var Or = /* @__PURE__ */ i(((e) => {
|
|
|
1958
1958
|
});
|
|
1959
1959
|
}, "PopoverPortal"), Vi = "PopoverContent", Hi = /* @__PURE__ */ L.forwardRef(/* @__PURE__ */ Ti(function(e, t) {
|
|
1960
1960
|
let n = zi(Vi, e.__scopePopover), { forceMount: r = n.forceMount, ...i } = e, a = ji(Vi, e.__scopePopover);
|
|
1961
|
-
return /* @__PURE__ */ (0, z.jsx)(
|
|
1961
|
+
return /* @__PURE__ */ (0, z.jsx)(Gt, {
|
|
1962
1962
|
present: r || a.open,
|
|
1963
1963
|
children: a.modal ? /* @__PURE__ */ (0, z.jsx)(Wi, {
|
|
1964
1964
|
...i,
|
|
@@ -1969,11 +1969,11 @@ var Or = /* @__PURE__ */ i(((e) => {
|
|
|
1969
1969
|
})
|
|
1970
1970
|
});
|
|
1971
1971
|
}, "PopoverContent")), Ui = d("PopoverContent.RemoveScroll"), Wi = /* @__PURE__ */ L.forwardRef(/* @__PURE__ */ Ti(function(e, t) {
|
|
1972
|
-
let n = ji(Vi, e.__scopePopover), r = L.useRef(null), i = s(t, r), a = L.useRef(!1), { nodes: o, registry: c } =
|
|
1972
|
+
let n = ji(Vi, e.__scopePopover), r = L.useRef(null), i = s(t, r), a = L.useRef(!1), { nodes: o, registry: c } = jt();
|
|
1973
1973
|
return L.useEffect(() => {
|
|
1974
1974
|
let e = r.current;
|
|
1975
|
-
if (e) return
|
|
1976
|
-
}, []), /* @__PURE__ */ (0, z.jsx)(
|
|
1975
|
+
if (e) return Nt(e);
|
|
1976
|
+
}, []), /* @__PURE__ */ (0, z.jsx)(F, {
|
|
1977
1977
|
as: Ui,
|
|
1978
1978
|
allowPinchZoom: !0,
|
|
1979
1979
|
shards: L.useMemo(() => [r, ...o.map((e) => ({ current: e }))], [r, o]),
|
|
@@ -1984,14 +1984,14 @@ var Or = /* @__PURE__ */ i(((e) => {
|
|
|
1984
1984
|
branchRegistry: c,
|
|
1985
1985
|
trapFocus: n.open,
|
|
1986
1986
|
disableOutsidePointerEvents: !0,
|
|
1987
|
-
onCloseAutoFocus:
|
|
1987
|
+
onCloseAutoFocus: It(e.onCloseAutoFocus, (e) => {
|
|
1988
1988
|
e.preventDefault(), a.current || n.triggerRef.current?.focus();
|
|
1989
1989
|
}),
|
|
1990
|
-
onPointerDownOutside:
|
|
1990
|
+
onPointerDownOutside: It(e.onPointerDownOutside, (e) => {
|
|
1991
1991
|
let t = e.detail.originalEvent, n = t.button === 0 && t.ctrlKey === !0, r = t.button === 2 || n;
|
|
1992
1992
|
a.current = r;
|
|
1993
1993
|
}, { checkForDefaultPrevented: !1 }),
|
|
1994
|
-
onFocusOutside:
|
|
1994
|
+
onFocusOutside: It(e.onFocusOutside, (e) => e.preventDefault(), { checkForDefaultPrevented: !1 })
|
|
1995
1995
|
})
|
|
1996
1996
|
});
|
|
1997
1997
|
}, "PopoverContentModal")), Gi = /* @__PURE__ */ L.forwardRef(/* @__PURE__ */ Ti(function(e, t) {
|
|
@@ -2012,16 +2012,16 @@ var Or = /* @__PURE__ */ i(((e) => {
|
|
|
2012
2012
|
});
|
|
2013
2013
|
}, "PopoverContentNonModal")), Ki = /* @__PURE__ */ L.forwardRef(/* @__PURE__ */ Ti(function(e, t) {
|
|
2014
2014
|
let { __scopePopover: n, trapFocus: r, onOpenAutoFocus: i, onCloseAutoFocus: a, disableOutsidePointerEvents: o, onEscapeKeyDown: c, onPointerDownOutside: l, onFocusOutside: u, onInteractOutside: d, "aria-describedby": f, branchNodes: p, branchRegistry: m, ...h } = e, g = ji(Vi, n), _ = ki(n), [v, y] = L.useState(null), b = s(t, y);
|
|
2015
|
-
return
|
|
2015
|
+
return Jt(v), Kt(), /* @__PURE__ */ (0, z.jsx)(Ut, {
|
|
2016
2016
|
registry: m,
|
|
2017
|
-
children: /* @__PURE__ */ (0, z.jsx)(
|
|
2017
|
+
children: /* @__PURE__ */ (0, z.jsx)(kt, {
|
|
2018
2018
|
asChild: !0,
|
|
2019
2019
|
loop: !0,
|
|
2020
2020
|
trapped: r,
|
|
2021
2021
|
branches: p,
|
|
2022
2022
|
onMountAutoFocus: i,
|
|
2023
2023
|
onUnmountAutoFocus: a,
|
|
2024
|
-
children: /* @__PURE__ */ (0, z.jsx)(
|
|
2024
|
+
children: /* @__PURE__ */ (0, z.jsx)(zt, {
|
|
2025
2025
|
asChild: !0,
|
|
2026
2026
|
disableOutsidePointerEvents: o,
|
|
2027
2027
|
onInteractOutside: d,
|
|
@@ -2053,11 +2053,11 @@ var Or = /* @__PURE__ */ i(((e) => {
|
|
|
2053
2053
|
});
|
|
2054
2054
|
}, "PopoverContentImpl")), qi = "PopoverClose", Ji = /* @__PURE__ */ L.forwardRef(/* @__PURE__ */ Ti(function(e, t) {
|
|
2055
2055
|
let { __scopePopover: n, ...r } = e, i = ji(qi, n);
|
|
2056
|
-
return /* @__PURE__ */ (0, z.jsx)(
|
|
2056
|
+
return /* @__PURE__ */ (0, z.jsx)(Qt.button, {
|
|
2057
2057
|
type: "button",
|
|
2058
2058
|
...r,
|
|
2059
2059
|
ref: t,
|
|
2060
|
-
onClick:
|
|
2060
|
+
onClick: It(e.onClick, () => i.onOpenChange(!1))
|
|
2061
2061
|
});
|
|
2062
2062
|
}, "PopoverClose"));
|
|
2063
2063
|
function Yi(e) {
|
|
@@ -2110,7 +2110,7 @@ function Qi(e) {
|
|
|
2110
2110
|
}
|
|
2111
2111
|
async function $i(e, t) {
|
|
2112
2112
|
if (t.length === 0) return;
|
|
2113
|
-
let n = e.get(
|
|
2113
|
+
let n = e.get(yt);
|
|
2114
2114
|
if (n === null) {
|
|
2115
2115
|
a.warn("No notebook is open to run cells in");
|
|
2116
2116
|
return;
|
|
@@ -2119,7 +2119,7 @@ async function $i(e, t) {
|
|
|
2119
2119
|
try {
|
|
2120
2120
|
if (await ct(e), r ??= Ee(e, t), r === null) throw Error("No notebook is shown");
|
|
2121
2121
|
let { notebook_id: i } = await Qi(n);
|
|
2122
|
-
if (e.get(
|
|
2122
|
+
if (e.get(yt) !== n || !Be(e, r) || i !== r.notebook.id) {
|
|
2123
2123
|
Oe(e, r);
|
|
2124
2124
|
return;
|
|
2125
2125
|
}
|
|
@@ -2847,7 +2847,7 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
2847
2847
|
function vt(e, t) {
|
|
2848
2848
|
e.pendingLanes |= t, t !== 268435456 && (e.suspendedLanes = 0, e.pingedLanes = 0, e.warmLanes = 0);
|
|
2849
2849
|
}
|
|
2850
|
-
function
|
|
2850
|
+
function M(e, t, n, r, i, a) {
|
|
2851
2851
|
var o = e.pendingLanes;
|
|
2852
2852
|
e.pendingLanes = n, e.suspendedLanes = 0, e.pingedLanes = 0, e.warmLanes = 0, e.expiredLanes &= n, e.entangledLanes &= n, e.errorRecoveryDisabledLanes &= n, e.shellSuspendCounter = 0;
|
|
2853
2853
|
var s = e.entanglements, c = e.expirationTimes, l = e.hiddenUpdates;
|
|
@@ -2861,25 +2861,25 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
2861
2861
|
}
|
|
2862
2862
|
n &= ~d;
|
|
2863
2863
|
}
|
|
2864
|
-
r !== 0 &&
|
|
2864
|
+
r !== 0 && N(e, r, 0), a !== 0 && i === 0 && e.tag !== 0 && (e.suspendedLanes |= a & ~(o & ~t));
|
|
2865
2865
|
}
|
|
2866
|
-
function
|
|
2866
|
+
function N(e, t, n) {
|
|
2867
2867
|
e.pendingLanes |= t, e.suspendedLanes &= ~t;
|
|
2868
2868
|
var r = 31 - rt(t);
|
|
2869
2869
|
e.entangledLanes |= t, e.entanglements[r] = e.entanglements[r] | 1073741824 | n & 261930;
|
|
2870
2870
|
}
|
|
2871
|
-
function
|
|
2871
|
+
function yt(e, t) {
|
|
2872
2872
|
var n = e.entangledLanes |= t;
|
|
2873
2873
|
for (e = e.entanglements; n;) {
|
|
2874
2874
|
var r = 31 - rt(n), i = 1 << r;
|
|
2875
2875
|
i & t | e[r] & t && (e[r] |= t), n &= ~i;
|
|
2876
2876
|
}
|
|
2877
2877
|
}
|
|
2878
|
-
function
|
|
2878
|
+
function P(e, t) {
|
|
2879
2879
|
var n = t & -t;
|
|
2880
|
-
return n = n & 42 ? 1 :
|
|
2880
|
+
return n = n & 42 ? 1 : bt(n), (n & (e.suspendedLanes | t)) === 0 ? n : 0;
|
|
2881
2881
|
}
|
|
2882
|
-
function
|
|
2882
|
+
function bt(e) {
|
|
2883
2883
|
switch (e) {
|
|
2884
2884
|
case 2:
|
|
2885
2885
|
e = 1;
|
|
@@ -2917,14 +2917,14 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
2917
2917
|
}
|
|
2918
2918
|
return e;
|
|
2919
2919
|
}
|
|
2920
|
-
function
|
|
2920
|
+
function xt(e) {
|
|
2921
2921
|
return e &= -e, 2 < e ? 8 < e ? e & 134217727 ? 32 : 268435456 : 8 : 2;
|
|
2922
2922
|
}
|
|
2923
|
-
function
|
|
2923
|
+
function St() {
|
|
2924
2924
|
var e = j.p;
|
|
2925
2925
|
return e === 0 ? (e = window.event, e === void 0 ? 32 : Ch(e.type)) : e;
|
|
2926
2926
|
}
|
|
2927
|
-
function
|
|
2927
|
+
function Ct(e, t) {
|
|
2928
2928
|
var n = j.p;
|
|
2929
2929
|
try {
|
|
2930
2930
|
return j.p = e, t();
|
|
@@ -2932,17 +2932,17 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
2932
2932
|
j.p = n;
|
|
2933
2933
|
}
|
|
2934
2934
|
}
|
|
2935
|
-
var
|
|
2936
|
-
function
|
|
2937
|
-
delete e[
|
|
2935
|
+
var wt = Math.random().toString(36).slice(2), Tt = "__reactFiber$" + wt, Et = "__reactProps$" + wt, Dt = "__reactContainer$" + wt, Ot = "__reactEvents$" + wt, kt = "__reactListeners$" + wt, At = "__reactHandles$" + wt, jt = "__reactResources$" + wt, Mt = "__reactMarker$" + wt, Nt = "__reactLoad$" + wt;
|
|
2936
|
+
function Pt(e) {
|
|
2937
|
+
delete e[Tt], delete e[Et], delete e[kt], delete e[At];
|
|
2938
2938
|
}
|
|
2939
|
-
function
|
|
2939
|
+
function Ft(e) {
|
|
2940
2940
|
var t;
|
|
2941
|
-
if (t = e[
|
|
2941
|
+
if (t = e[Tt]) return t;
|
|
2942
2942
|
for (var n = e.parentNode; n;) {
|
|
2943
|
-
if (t = n[
|
|
2943
|
+
if (t = n[Dt] || n[Tt]) {
|
|
2944
2944
|
if (n = t.alternate, t.child !== null || n !== null && n.child !== null) for (e = fm(e); e !== null;) {
|
|
2945
|
-
if (n = e[
|
|
2945
|
+
if (n = e[Tt]) return n;
|
|
2946
2946
|
e = fm(e);
|
|
2947
2947
|
}
|
|
2948
2948
|
return t;
|
|
@@ -2951,49 +2951,49 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
2951
2951
|
}
|
|
2952
2952
|
return null;
|
|
2953
2953
|
}
|
|
2954
|
-
function
|
|
2955
|
-
if (e = e[
|
|
2954
|
+
function It(e) {
|
|
2955
|
+
if (e = e[Tt] || e[Dt]) {
|
|
2956
2956
|
var t = e.tag;
|
|
2957
2957
|
if (t === 5 || t === 6 || t === 13 || t === 31 || t === 26 || t === 27 || t === 3) return e;
|
|
2958
2958
|
}
|
|
2959
2959
|
return null;
|
|
2960
2960
|
}
|
|
2961
|
-
function
|
|
2961
|
+
function Lt(e) {
|
|
2962
2962
|
var t = e.tag;
|
|
2963
2963
|
if (t === 5 || t === 26 || t === 27 || t === 6) return e.stateNode;
|
|
2964
2964
|
throw Error(i(33));
|
|
2965
2965
|
}
|
|
2966
|
-
function
|
|
2967
|
-
var t = e[
|
|
2968
|
-
return t ||= e[
|
|
2966
|
+
function Rt(e) {
|
|
2967
|
+
var t = e[jt];
|
|
2968
|
+
return t ||= e[jt] = {
|
|
2969
2969
|
hoistableStyles: /* @__PURE__ */ new Map(),
|
|
2970
2970
|
hoistableScripts: /* @__PURE__ */ new Map()
|
|
2971
2971
|
}, t;
|
|
2972
2972
|
}
|
|
2973
|
+
function zt(e) {
|
|
2974
|
+
e[Mt] = !0;
|
|
2975
|
+
}
|
|
2973
2976
|
function Bt(e) {
|
|
2974
|
-
e[Nt] =
|
|
2977
|
+
e[Nt] = void 0;
|
|
2975
2978
|
}
|
|
2976
|
-
|
|
2977
|
-
|
|
2979
|
+
var Vt = /* @__PURE__ */ new Set(), Ht = {};
|
|
2980
|
+
function Ut(e, t) {
|
|
2981
|
+
Wt(e, t), Wt(e + "Capture", t);
|
|
2978
2982
|
}
|
|
2979
|
-
var Ht = /* @__PURE__ */ new Set(), Ut = {};
|
|
2980
2983
|
function Wt(e, t) {
|
|
2981
|
-
|
|
2982
|
-
}
|
|
2983
|
-
function Gt(e, t) {
|
|
2984
|
-
for (Ut[e] = t, e = 0; e < t.length; e++) Ht.add(t[e]);
|
|
2984
|
+
for (Ht[e] = t, e = 0; e < t.length; e++) Vt.add(t[e]);
|
|
2985
2985
|
}
|
|
2986
|
-
var
|
|
2987
|
-
function
|
|
2988
|
-
return Be.call(
|
|
2986
|
+
var Gt = RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"), Kt = {}, qt = {};
|
|
2987
|
+
function Jt(e) {
|
|
2988
|
+
return Be.call(qt, e) ? !0 : Be.call(Kt, e) ? !1 : Gt.test(e) ? qt[e] = !0 : (Kt[e] = !0, !1);
|
|
2989
2989
|
}
|
|
2990
|
-
var
|
|
2991
|
-
function
|
|
2992
|
-
var e =
|
|
2993
|
-
return
|
|
2990
|
+
var F = !1;
|
|
2991
|
+
function Yt() {
|
|
2992
|
+
var e = F;
|
|
2993
|
+
return F = !1, e;
|
|
2994
2994
|
}
|
|
2995
|
-
function
|
|
2996
|
-
if (
|
|
2995
|
+
function Xt(e, t, n) {
|
|
2996
|
+
if (Jt(t)) {
|
|
2997
2997
|
if (n === null) e.removeAttribute(t);
|
|
2998
2998
|
else {
|
|
2999
2999
|
switch (typeof n) {
|
|
@@ -3013,7 +3013,7 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
3013
3013
|
}
|
|
3014
3014
|
}
|
|
3015
3015
|
}
|
|
3016
|
-
function
|
|
3016
|
+
function Zt(e, t, n) {
|
|
3017
3017
|
if (n === null) e.removeAttribute(t);
|
|
3018
3018
|
else {
|
|
3019
3019
|
switch (typeof n) {
|
|
@@ -3027,7 +3027,7 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
3027
3027
|
e.setAttribute(t, n);
|
|
3028
3028
|
}
|
|
3029
3029
|
}
|
|
3030
|
-
function
|
|
3030
|
+
function Qt(e, t, n, r) {
|
|
3031
3031
|
if (r === null) e.removeAttribute(n);
|
|
3032
3032
|
else {
|
|
3033
3033
|
switch (typeof r) {
|
|
@@ -3041,7 +3041,7 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
3041
3041
|
e.setAttributeNS(t, n, r);
|
|
3042
3042
|
}
|
|
3043
3043
|
}
|
|
3044
|
-
function
|
|
3044
|
+
function $t(e) {
|
|
3045
3045
|
switch (typeof e) {
|
|
3046
3046
|
case "bigint":
|
|
3047
3047
|
case "boolean":
|
|
@@ -3052,11 +3052,11 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
3052
3052
|
default: return "";
|
|
3053
3053
|
}
|
|
3054
3054
|
}
|
|
3055
|
-
function
|
|
3055
|
+
function en(e) {
|
|
3056
3056
|
var t = e.type;
|
|
3057
3057
|
return (e = e.nodeName) && e.toLowerCase() === "input" && (t === "checkbox" || t === "radio");
|
|
3058
3058
|
}
|
|
3059
|
-
function
|
|
3059
|
+
function tn(e, t, n) {
|
|
3060
3060
|
var r = Object.getOwnPropertyDescriptor(e.constructor.prototype, t);
|
|
3061
3061
|
if (!e.hasOwnProperty(t) && r !== void 0 && typeof r.get == "function" && typeof r.set == "function") {
|
|
3062
3062
|
var i = r.get, a = r.set;
|
|
@@ -3083,8 +3083,8 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
3083
3083
|
}
|
|
3084
3084
|
function nn(e) {
|
|
3085
3085
|
if (!e._valueTracker) {
|
|
3086
|
-
var t =
|
|
3087
|
-
e._valueTracker =
|
|
3086
|
+
var t = en(e) ? "checked" : "value";
|
|
3087
|
+
e._valueTracker = tn(e, t, "" + e[t]);
|
|
3088
3088
|
}
|
|
3089
3089
|
}
|
|
3090
3090
|
function rn(e) {
|
|
@@ -3092,7 +3092,7 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
3092
3092
|
var t = e._valueTracker;
|
|
3093
3093
|
if (!t) return !0;
|
|
3094
3094
|
var n = t.getValue(), r = "";
|
|
3095
|
-
return e && (r =
|
|
3095
|
+
return e && (r = en(e) ? e.checked ? "true" : "false" : e.value), e = r, e !== n && (t.setValue(e), !0);
|
|
3096
3096
|
}
|
|
3097
3097
|
var an = /[\n"\\]/g;
|
|
3098
3098
|
function on(e) {
|
|
@@ -3101,7 +3101,7 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
3101
3101
|
});
|
|
3102
3102
|
}
|
|
3103
3103
|
function sn(e, t, n, r, i, a, o, s) {
|
|
3104
|
-
e.name = "", o != null && typeof o != "function" && typeof o != "symbol" && typeof o != "boolean" ? e.type = o : e.removeAttribute("type"), t == null ? o !== "submit" && o !== "reset" || e.removeAttribute("value") : o === "number" ? (t === 0 && e.value === "" || e.value != t) && (e.value = "" +
|
|
3104
|
+
e.name = "", o != null && typeof o != "function" && typeof o != "symbol" && typeof o != "boolean" ? e.type = o : e.removeAttribute("type"), t == null ? o !== "submit" && o !== "reset" || e.removeAttribute("value") : o === "number" ? (t === 0 && e.value === "" || e.value != t) && (e.value = "" + $t(t)) : e.value !== "" + $t(t) && (e.value = "" + $t(t)), t == null ? n == null ? r != null && e.removeAttribute("value") : ln(e, $t(n)) : o === "number" && e.value == t ? ln(e, $t(e.value)) : ln(e, $t(t)), i == null && a != null && (e.defaultChecked = !!a), i != null && (e.checked = i && typeof i != "function" && typeof i != "symbol"), s != null && typeof s != "function" && typeof s != "symbol" && typeof s != "boolean" ? e.name = "" + $t(s) : e.removeAttribute("name");
|
|
3105
3105
|
}
|
|
3106
3106
|
function cn(e, t, n, r, i, a, o, s) {
|
|
3107
3107
|
if (a != null && typeof a != "function" && typeof a != "symbol" && typeof a != "boolean" && (e.type = a), t != null || n != null) {
|
|
@@ -3109,7 +3109,7 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
3109
3109
|
nn(e);
|
|
3110
3110
|
return;
|
|
3111
3111
|
}
|
|
3112
|
-
n = n == null ? "" : "" +
|
|
3112
|
+
n = n == null ? "" : "" + $t(n), t = t == null ? n : "" + $t(t), s || t === e.value || (e.value = t), e.defaultValue = t;
|
|
3113
3113
|
}
|
|
3114
3114
|
r ??= i, r = typeof r != "function" && typeof r != "symbol" && !!r, e.checked = s ? e.checked : !!r, e.defaultChecked = !!r, o != null && typeof o != "function" && typeof o != "symbol" && typeof o != "boolean" && (e.name = o), nn(e);
|
|
3115
3115
|
}
|
|
@@ -3122,7 +3122,7 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
3122
3122
|
for (var i = 0; i < n.length; i++) t["$" + n[i]] = !0;
|
|
3123
3123
|
for (n = 0; n < e.length; n++) i = t.hasOwnProperty("$" + e[n].value), e[n].selected !== i && (e[n].selected = i), i && r && (e[n].defaultSelected = !0);
|
|
3124
3124
|
} else {
|
|
3125
|
-
for (n = "" +
|
|
3125
|
+
for (n = "" + $t(n), t = null, i = 0; i < e.length; i++) {
|
|
3126
3126
|
if (e[i].value === n) {
|
|
3127
3127
|
e[i].selected = !0, r && (e[i].defaultSelected = !0);
|
|
3128
3128
|
return;
|
|
@@ -3133,7 +3133,7 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
3133
3133
|
}
|
|
3134
3134
|
}
|
|
3135
3135
|
function dn(e, t, n) {
|
|
3136
|
-
t != null && (t = "" +
|
|
3136
|
+
t != null && (t = "" + $t(t), t !== e.value && (e.value = t), n == null) ? e.defaultValue !== t && (e.defaultValue = t) : e.defaultValue = n == null ? "" : "" + $t(n);
|
|
3137
3137
|
}
|
|
3138
3138
|
function fn(e, t, n, r) {
|
|
3139
3139
|
if (t == null) {
|
|
@@ -3147,7 +3147,7 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
3147
3147
|
}
|
|
3148
3148
|
n ??= "", t = n;
|
|
3149
3149
|
}
|
|
3150
|
-
n =
|
|
3150
|
+
n = $t(t), e.defaultValue = n, r = e.textContent, r === n && r !== "" && r !== null && (e.value = r), nn(e);
|
|
3151
3151
|
}
|
|
3152
3152
|
function pn(e, t) {
|
|
3153
3153
|
if (t) {
|
|
@@ -3167,8 +3167,8 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
3167
3167
|
function gn(e, t, n) {
|
|
3168
3168
|
if (t != null && typeof t != "object") throw Error(i(62));
|
|
3169
3169
|
if (e = e.style, n != null) {
|
|
3170
|
-
for (var r in n) !n.hasOwnProperty(r) || t != null && t.hasOwnProperty(r) || (r.indexOf("--") === 0 ? e.setProperty(r, "") : r === "float" ? e.cssFloat = "" : e[r] = "",
|
|
3171
|
-
for (var a in t) r = t[a], t.hasOwnProperty(a) && n[a] !== r && (hn(e, a, r),
|
|
3170
|
+
for (var r in n) !n.hasOwnProperty(r) || t != null && t.hasOwnProperty(r) || (r.indexOf("--") === 0 ? e.setProperty(r, "") : r === "float" ? e.cssFloat = "" : e[r] = "", F = !0);
|
|
3171
|
+
for (var a in t) r = t[a], t.hasOwnProperty(a) && n[a] !== r && (hn(e, a, r), F = !0);
|
|
3172
3172
|
} else for (var o in t) t.hasOwnProperty(o) && hn(e, o, t[o]);
|
|
3173
3173
|
}
|
|
3174
3174
|
function _n(e) {
|
|
@@ -3276,9 +3276,9 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
3276
3276
|
}
|
|
3277
3277
|
var wn = null, I = null;
|
|
3278
3278
|
function Tn(e) {
|
|
3279
|
-
var t =
|
|
3279
|
+
var t = It(e);
|
|
3280
3280
|
if (t && (e = t.stateNode)) {
|
|
3281
|
-
var n = e[
|
|
3281
|
+
var n = e[Et] || null;
|
|
3282
3282
|
a: switch (e = t.stateNode, t.type) {
|
|
3283
3283
|
case "input":
|
|
3284
3284
|
if (sn(e, n.value, n.defaultValue, n.defaultValue, n.checked, n.defaultChecked, n.type, n.name), t = n.name, n.type === "radio" && t != null) {
|
|
@@ -3286,7 +3286,7 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
3286
3286
|
for (n = n.querySelectorAll("input[name=\"" + on("" + t) + "\"][type=\"radio\"]"), t = 0; t < n.length; t++) {
|
|
3287
3287
|
var r = n[t];
|
|
3288
3288
|
if (r !== e && r.form === e.form) {
|
|
3289
|
-
var a = r[
|
|
3289
|
+
var a = r[Et] || null;
|
|
3290
3290
|
if (!a) throw Error(i(90));
|
|
3291
3291
|
sn(r, a.value, a.defaultValue, a.defaultValue, a.checked, a.defaultChecked, a.type, a.name);
|
|
3292
3292
|
}
|
|
@@ -3314,7 +3314,7 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
3314
3314
|
function On(e, t) {
|
|
3315
3315
|
var n = e.stateNode;
|
|
3316
3316
|
if (n === null) return null;
|
|
3317
|
-
var r = n[
|
|
3317
|
+
var r = n[Et] || null;
|
|
3318
3318
|
if (r === null) return null;
|
|
3319
3319
|
n = r[t];
|
|
3320
3320
|
a: switch (t) {
|
|
@@ -3627,7 +3627,7 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
3627
3627
|
Vf(e, 0);
|
|
3628
3628
|
}
|
|
3629
3629
|
function Ar(e) {
|
|
3630
|
-
if (rn(
|
|
3630
|
+
if (rn(Lt(e))) return e;
|
|
3631
3631
|
}
|
|
3632
3632
|
function jr(e, t) {
|
|
3633
3633
|
if (e === "change") return t;
|
|
@@ -3778,7 +3778,7 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
3778
3778
|
var oi = ai("animationend"), si = ai("animationiteration"), ci = ai("animationstart"), li = ai("transitionrun"), ui = ai("transitionstart"), di = ai("transitioncancel"), fi = ai("transitionend"), pi = /* @__PURE__ */ new Map(), mi = "abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error fullscreenChange fullscreenError gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");
|
|
3779
3779
|
mi.push("scrollEnd");
|
|
3780
3780
|
function hi(e, t) {
|
|
3781
|
-
pi.set(e, t),
|
|
3781
|
+
pi.set(e, t), Ut(t, [e]);
|
|
3782
3782
|
}
|
|
3783
3783
|
var gi = 0;
|
|
3784
3784
|
function _i(e, t) {
|
|
@@ -3987,7 +3987,7 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
3987
3987
|
}
|
|
3988
3988
|
function sa(e) {
|
|
3989
3989
|
var t = e.stateNode, n = e.type, r = e.memoizedProps;
|
|
3990
|
-
switch (t[
|
|
3990
|
+
switch (t[Tt] = e, t[Et] = r, n) {
|
|
3991
3991
|
case "dialog":
|
|
3992
3992
|
Q("cancel", t), Q("close", t);
|
|
3993
3993
|
break;
|
|
@@ -4567,7 +4567,7 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
4567
4567
|
function _o(e, t, n) {
|
|
4568
4568
|
if (t = t.updateQueue, t !== null && (t = t.shared, n & 4194048)) {
|
|
4569
4569
|
var r = t.lanes;
|
|
4570
|
-
r &= e.pendingLanes, n |= r, t.lanes = n,
|
|
4570
|
+
r &= e.pendingLanes, n |= r, t.lanes = n, yt(e, n);
|
|
4571
4571
|
}
|
|
4572
4572
|
}
|
|
4573
4573
|
function vo(e, t) {
|
|
@@ -5370,7 +5370,7 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
5370
5370
|
function pc(e, t, n) {
|
|
5371
5371
|
if (n & 4194048) {
|
|
5372
5372
|
var r = t.lanes;
|
|
5373
|
-
r &= e.pendingLanes, n |= r, t.lanes = n,
|
|
5373
|
+
r &= e.pendingLanes, n |= r, t.lanes = n, yt(e, n);
|
|
5374
5374
|
}
|
|
5375
5375
|
}
|
|
5376
5376
|
var mc = {
|
|
@@ -5824,7 +5824,7 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
5824
5824
|
else throw Error(i(558));
|
|
5825
5825
|
} else if (Nc || ba(e, t, n, !1), a = (n & e.childLanes) !== 0, Nc || a) {
|
|
5826
5826
|
if (wo.current === null) {
|
|
5827
|
-
if (r = Qu, r !== null && (s =
|
|
5827
|
+
if (r = Qu, r !== null && (s = P(r, n), s !== 0 && s !== o.retryLane)) throw o.retryLane = s, Ei(e, s), Nd(r, e, s), Mc;
|
|
5828
5828
|
Gd();
|
|
5829
5829
|
}
|
|
5830
5830
|
t = Hc(e, t, n);
|
|
@@ -5955,7 +5955,7 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
5955
5955
|
}
|
|
5956
5956
|
if (Nc || ba(e, t, c, !1), r = (c & e.childLanes) !== 0, Nc || r) {
|
|
5957
5957
|
if (wo.current !== null) return tl(e, t, c);
|
|
5958
|
-
if (r = Qu, r !== null && (a =
|
|
5958
|
+
if (r = Qu, r !== null && (a = P(r, c), a !== 0 && a !== s.retryLane)) throw s.retryLane = a, Ei(e, a), Nd(r, e, a), Mc;
|
|
5959
5959
|
return om(o) || Gd(), tl(e, t, c);
|
|
5960
5960
|
}
|
|
5961
5961
|
return om(o) ? (t.flags |= 192, t.child = e.child, null) : (e = s.treeContext, B = lm(o.nextSibling), na = t, V = !0, ra = null, ia = !1, e !== null && ta(t, e), t = $c(t, a.children), t.flags |= 134221824, t);
|
|
@@ -6303,7 +6303,7 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
6303
6303
|
default: o = typeof r.is == "string" ? s.createElement(a, { is: r.is }) : s.createElement(a);
|
|
6304
6304
|
}
|
|
6305
6305
|
}
|
|
6306
|
-
o[
|
|
6306
|
+
o[Tt] = t, o[Et] = r;
|
|
6307
6307
|
a: for (s = t.child; s !== null;) {
|
|
6308
6308
|
if (s.tag === 5 || s.tag === 6) o.appendChild(s.stateNode);
|
|
6309
6309
|
else if (s.tag !== 4 && s.tag !== 27 && s.child !== null) {
|
|
@@ -6343,8 +6343,8 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
6343
6343
|
case 27:
|
|
6344
6344
|
case 5: r = a.memoizedProps;
|
|
6345
6345
|
}
|
|
6346
|
-
e[
|
|
6347
|
-
} else e = lp(e).createTextNode(r), e[
|
|
6346
|
+
e[Tt] = t, e = !!(e.nodeValue === n || r !== null && !0 === r.suppressHydrationWarning || ep(e.nodeValue, n)), e || oa(t, !0);
|
|
6347
|
+
} else e = lp(e).createTextNode(r), e[Tt] = t, t.stateNode = e;
|
|
6348
6348
|
}
|
|
6349
6349
|
return vl(t), null;
|
|
6350
6350
|
case 31:
|
|
@@ -6353,7 +6353,7 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
6353
6353
|
if (e === null) {
|
|
6354
6354
|
if (!r) throw Error(i(318));
|
|
6355
6355
|
if (e = t.memoizedState, e = e === null ? null : e.dehydrated, !e) throw Error(i(557));
|
|
6356
|
-
e[
|
|
6356
|
+
e[Tt] = t;
|
|
6357
6357
|
} else da(), !(t.flags & 128) && (t.memoizedState = null), t.flags |= 4;
|
|
6358
6358
|
vl(t), e = !1;
|
|
6359
6359
|
} else n = fa(), e !== null && e.memoizedState !== null && (e.memoizedState.hydrationErrors = n), e = !0;
|
|
@@ -6367,7 +6367,7 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
6367
6367
|
if (e === null) {
|
|
6368
6368
|
if (!a) throw Error(i(318));
|
|
6369
6369
|
if (a = t.memoizedState, a = a === null ? null : a.dehydrated, !a) throw Error(i(317));
|
|
6370
|
-
a[
|
|
6370
|
+
a[Tt] = t;
|
|
6371
6371
|
} else da(), !(t.flags & 128) && (t.memoizedState = null), t.flags |= 4;
|
|
6372
6372
|
vl(t), a = !1;
|
|
6373
6373
|
} else a = fa(), e !== null && e.memoizedState !== null && (e.memoizedState.hydrationErrors = a), a = !0;
|
|
@@ -6627,7 +6627,7 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
6627
6627
|
function Pl(e, t, n) {
|
|
6628
6628
|
try {
|
|
6629
6629
|
var r = e.stateNode;
|
|
6630
|
-
ip(r, e.type, n, t), r[
|
|
6630
|
+
ip(r, e.type, n, t), r[Et] = t;
|
|
6631
6631
|
} catch (t) {
|
|
6632
6632
|
pf(e, e.return, t);
|
|
6633
6633
|
}
|
|
@@ -6650,19 +6650,19 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
6650
6650
|
}
|
|
6651
6651
|
function Ll(e, t, n, r) {
|
|
6652
6652
|
var i = e.tag;
|
|
6653
|
-
if (i === 5 || i === 6) i = e.stateNode, t ? (n.nodeType === 9 ? n.body : n.nodeName === "HTML" ? n.ownerDocument.body : n).insertBefore(i, t) : (t = n.nodeType === 9 ? n.body : n.nodeName === "HTML" ? n.ownerDocument.body : n, t.appendChild(i), n = n._reactRootContainer, n != null || t.onclick !== null || (t.onclick = xn)), Ol(e, r),
|
|
6653
|
+
if (i === 5 || i === 6) i = e.stateNode, t ? (n.nodeType === 9 ? n.body : n.nodeName === "HTML" ? n.ownerDocument.body : n).insertBefore(i, t) : (t = n.nodeType === 9 ? n.body : n.nodeName === "HTML" ? n.ownerDocument.body : n, t.appendChild(i), n = n._reactRootContainer, n != null || t.onclick !== null || (t.onclick = xn)), Ol(e, r), F = !0;
|
|
6654
6654
|
else if (i !== 4 && (i === 27 && (Ol(e, r), r = null, Sp(e.type) && (n = e.stateNode, t = null)), e = e.child, e !== null)) for (Ll(e, t, n, r), e = e.sibling; e !== null;) Ll(e, t, n, r), e = e.sibling;
|
|
6655
6655
|
}
|
|
6656
6656
|
function Rl(e, t, n, r) {
|
|
6657
6657
|
var i = e.tag;
|
|
6658
|
-
if (i === 5 || i === 6) i = e.stateNode, t ? n.insertBefore(i, t) : n.appendChild(i), Ol(e, r),
|
|
6658
|
+
if (i === 5 || i === 6) i = e.stateNode, t ? n.insertBefore(i, t) : n.appendChild(i), Ol(e, r), F = !0;
|
|
6659
6659
|
else if (i !== 4 && (i === 27 && (Ol(e, r), r = null, Sp(e.type) && (n = e.stateNode)), e = e.child, e !== null)) for (Rl(e, t, n, r), e = e.sibling; e !== null;) Rl(e, t, n, r), e = e.sibling;
|
|
6660
6660
|
}
|
|
6661
6661
|
function zl(e) {
|
|
6662
6662
|
var t = e.stateNode, n = e.memoizedProps;
|
|
6663
6663
|
try {
|
|
6664
6664
|
for (var r = e.type, i = t.attributes; i.length;) t.removeAttributeNode(i[0]);
|
|
6665
|
-
np(t, r, n), t[
|
|
6665
|
+
np(t, r, n), t[Tt] = e, t[Et] = n;
|
|
6666
6666
|
} catch (t) {
|
|
6667
6667
|
pf(e, e.return, t);
|
|
6668
6668
|
}
|
|
@@ -7017,7 +7017,7 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
7017
7017
|
break;
|
|
7018
7018
|
case 6:
|
|
7019
7019
|
try {
|
|
7020
|
-
e.stateNode.nodeValue = t ? "" : e.memoizedProps,
|
|
7020
|
+
e.stateNode.nodeValue = t ? "" : e.memoizedProps, F = !0;
|
|
7021
7021
|
} catch (t) {
|
|
7022
7022
|
pf(e, e.return, t);
|
|
7023
7023
|
}
|
|
@@ -7056,7 +7056,7 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
7056
7056
|
}
|
|
7057
7057
|
function yu(e) {
|
|
7058
7058
|
var t = e.alternate;
|
|
7059
|
-
t !== null && (e.alternate = null, yu(t)), e.child = null, e.deletions = null, e.sibling = null, e.tag === 5 && (t = e.stateNode, t !== null &&
|
|
7059
|
+
t !== null && (e.alternate = null, yu(t)), e.child = null, e.deletions = null, e.sibling = null, e.tag === 5 && (t = e.stateNode, t !== null && Pt(t)), e.stateNode = null, e.return = null, e.dependencies = null, e.memoizedProps = null, e.memoizedState = null, e.pendingProps = null, e.stateNode = null, e.updateQueue = null;
|
|
7060
7060
|
}
|
|
7061
7061
|
var bu = null, K = !1;
|
|
7062
7062
|
function q(e, t, n) {
|
|
@@ -7079,12 +7079,12 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
7079
7079
|
case 6:
|
|
7080
7080
|
if (n.tag === 6 && Al(n), r = bu, i = K, bu = null, q(e, t, n), bu = r, K = i, bu !== null) {
|
|
7081
7081
|
if (K) try {
|
|
7082
|
-
(bu.nodeType === 9 ? bu.body : bu.nodeName === "HTML" ? bu.ownerDocument.body : bu).removeChild(n.stateNode),
|
|
7082
|
+
(bu.nodeType === 9 ? bu.body : bu.nodeName === "HTML" ? bu.ownerDocument.body : bu).removeChild(n.stateNode), F = !0;
|
|
7083
7083
|
} catch (e) {
|
|
7084
7084
|
pf(n, t, e);
|
|
7085
7085
|
}
|
|
7086
7086
|
else try {
|
|
7087
|
-
bu.removeChild(n.stateNode),
|
|
7087
|
+
bu.removeChild(n.stateNode), F = !0;
|
|
7088
7088
|
} catch (e) {
|
|
7089
7089
|
pf(n, t, e);
|
|
7090
7090
|
}
|
|
@@ -7213,7 +7213,7 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
7213
7213
|
t = e.type, n = e.memoizedProps, a = o.ownerDocument || o;
|
|
7214
7214
|
b: switch (t) {
|
|
7215
7215
|
case "title":
|
|
7216
|
-
r = a.getElementsByTagName("title")[0], (!r || r[
|
|
7216
|
+
r = a.getElementsByTagName("title")[0], (!r || r[Mt] || r[Tt] || r.namespaceURI === "http://www.w3.org/2000/svg" || r.hasAttribute("itemprop")) && (r = a.createElement(t), a.head.insertBefore(r, a.querySelector("head > title"))), np(r, t, n), r[Tt] = e, zt(r), t = r;
|
|
7217
7217
|
break a;
|
|
7218
7218
|
case "link":
|
|
7219
7219
|
if (o = Gm("link", "href", a).get(t + (n.href || ""))) {
|
|
@@ -7235,7 +7235,7 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
7235
7235
|
break;
|
|
7236
7236
|
default: throw Error(i(468, t));
|
|
7237
7237
|
}
|
|
7238
|
-
r[
|
|
7238
|
+
r[Tt] = e, zt(r), t = r;
|
|
7239
7239
|
}
|
|
7240
7240
|
e.stateNode = t;
|
|
7241
7241
|
}
|
|
@@ -7251,7 +7251,7 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
7251
7251
|
if (o = au, au = !1, Eu(t, e, n), au = o, ku(e), a & 512 && (G || r === null || Dl(r, r.return)), e.flags & 32) {
|
|
7252
7252
|
t = e.stateNode;
|
|
7253
7253
|
try {
|
|
7254
|
-
pn(t, ""),
|
|
7254
|
+
pn(t, ""), F = !0;
|
|
7255
7255
|
} catch (t) {
|
|
7256
7256
|
pf(e, e.return, t);
|
|
7257
7257
|
}
|
|
@@ -7263,22 +7263,22 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
7263
7263
|
if (e.stateNode === null) throw Error(i(162));
|
|
7264
7264
|
t = e.memoizedProps, n = e.stateNode;
|
|
7265
7265
|
try {
|
|
7266
|
-
n.nodeValue = t,
|
|
7266
|
+
n.nodeValue = t, F = !0;
|
|
7267
7267
|
} catch (t) {
|
|
7268
7268
|
pf(e, e.return, t);
|
|
7269
7269
|
}
|
|
7270
7270
|
}
|
|
7271
7271
|
break;
|
|
7272
7272
|
case 3:
|
|
7273
|
-
if (
|
|
7273
|
+
if (F = !1, Wm = null, o = Du, Du = bm(t.containerInfo), Eu(t, e, n), Du = o, ku(e), a & 4 && r !== null && r.memoizedState.isDehydrated) try {
|
|
7274
7274
|
Hh(t.containerInfo);
|
|
7275
7275
|
} catch (t) {
|
|
7276
7276
|
pf(e, e.return, t);
|
|
7277
7277
|
}
|
|
7278
|
-
ou && (ou = !1, Au(e)),
|
|
7278
|
+
ou && (ou = !1, Au(e)), F = !1;
|
|
7279
7279
|
break;
|
|
7280
7280
|
case 4:
|
|
7281
|
-
a = au, au = iu, r =
|
|
7281
|
+
a = au, au = iu, r = Yt(), o = Du, Du = bm(e.stateNode.containerInfo), Eu(t, e, n), ku(e), Du = o, F && uu && (du = !0), F = r, au = a;
|
|
7282
7282
|
break;
|
|
7283
7283
|
case 12:
|
|
7284
7284
|
Eu(t, e, n), ku(e);
|
|
@@ -7298,7 +7298,7 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
7298
7298
|
Eu(t, e, n), ku(e), a & 4 && (t = e.updateQueue, t !== null && (e.updateQueue = null, Tu(e, t)));
|
|
7299
7299
|
break;
|
|
7300
7300
|
case 30:
|
|
7301
|
-
a & 512 && (G || r === null || Dl(r, r.return)), a =
|
|
7301
|
+
a & 512 && (G || r === null || Dl(r, r.return)), a = Yt(), o = uu, s = (n & 335544064) === n, c = e.memoizedProps, uu = s && yi(c.default, c.update) !== "none", Eu(t, e, n), ku(e), s && r !== null && F && (e.flags |= 4), uu = o, F = a;
|
|
7302
7302
|
break;
|
|
7303
7303
|
case 21: break;
|
|
7304
7304
|
case 7: a & 512 && (G || r === null || Dl(r, r.return)), r && r.stateNode !== null && (r.stateNode._fragmentFiber = e);
|
|
@@ -7745,7 +7745,7 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
7745
7745
|
}
|
|
7746
7746
|
}, Zu = typeof WeakMap == "function" ? WeakMap : Map, J = 0, Qu = null, Y = null, X = 0, Z = 0, $u = null, ed = !1, td = !1, nd = !1, rd = 0, id = 0, ad = 0, od = 0, sd = 0, cd = 0, ld = 0, ud = null, dd = null, fd = !1, pd = 0, md = 0, hd = Infinity, gd = null, _d = null, vd = 0, yd = null, bd = null, xd = 0, Sd = 0, Cd = null, wd = null, Td = null, Ed = null, Dd = null, Od = 0, kd = null;
|
|
7747
7747
|
function Ad() {
|
|
7748
|
-
return J & 2 && X !== 0 ? X & -X : A.T === null ?
|
|
7748
|
+
return J & 2 && X !== 0 ? X & -X : A.T === null ? St() : Pf();
|
|
7749
7749
|
}
|
|
7750
7750
|
function jd() {
|
|
7751
7751
|
if (cd === 0) {
|
|
@@ -7871,7 +7871,7 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
7871
7871
|
var a = 31 - rt(i), o = 1 << a;
|
|
7872
7872
|
r[a] = -1, i &= ~o;
|
|
7873
7873
|
}
|
|
7874
|
-
n !== 0 &&
|
|
7874
|
+
n !== 0 && N(e, n, t);
|
|
7875
7875
|
}
|
|
7876
7876
|
function Rd() {
|
|
7877
7877
|
return J & 6 ? !0 : (Df(0, !1), !1);
|
|
@@ -8104,7 +8104,7 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
8104
8104
|
}
|
|
8105
8105
|
function nf(e, t, n, r, i, a, o) {
|
|
8106
8106
|
var s = t.lanes | t.childLanes;
|
|
8107
|
-
if (Sd = s, s |= Ci,
|
|
8107
|
+
if (Sd = s, s |= Ci, M(e, n, s, r, i, a), Ed = null, (n & 335544064) === n ? (Dd = Pa(e), r = 10262) : (Dd = null, r = 10256), (t.subtreeFlags & r) !== 0 || (t.flags & r) !== 0 ? (e.callbackNode = null, e.callbackPriority = 0, yf(Ye, function() {
|
|
8108
8108
|
return df(), null;
|
|
8109
8109
|
})) : (e.callbackNode = null, e.callbackPriority = 0), Bl = !1, r = !!(t.flags & 13878), t.subtreeFlags & 13878 || r) {
|
|
8110
8110
|
r = A.T, A.T = null, i = j.p, j.p = 2, a = J, J |= 4;
|
|
@@ -8198,7 +8198,7 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
8198
8198
|
var e = Td;
|
|
8199
8199
|
Td = null, We();
|
|
8200
8200
|
var t = yd, n = bd, r = xd, i = wd, a = (r & 335544064) === r ? 10262 : 10256;
|
|
8201
|
-
if ((n.subtreeFlags & a) !== 0 || (n.flags & a) !== 0 ? vd = 5 : (vd = 0, bd = yd = null, lf(t, t.pendingLanes)), a = t.pendingLanes, a === 0 && (_d = null),
|
|
8201
|
+
if ((n.subtreeFlags & a) !== 0 || (n.flags & a) !== 0 ? vd = 5 : (vd = 0, bd = yd = null, lf(t, t.pendingLanes)), a = t.pendingLanes, a === 0 && (_d = null), xt(r), n = n.stateNode, tt && typeof tt.onCommitFiberRoot == "function") try {
|
|
8202
8202
|
tt.onCommitFiberRoot(et, n, void 0, (n.current.flags & 128) == 128);
|
|
8203
8203
|
} catch {}
|
|
8204
8204
|
if (i !== null) {
|
|
@@ -8226,7 +8226,7 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
8226
8226
|
if (vd !== 5) return !1;
|
|
8227
8227
|
var e = yd, t = Sd;
|
|
8228
8228
|
Sd = 0;
|
|
8229
|
-
var n =
|
|
8229
|
+
var n = xt(xd), r = A.T, a = j.p;
|
|
8230
8230
|
try {
|
|
8231
8231
|
j.p = 32 > n ? 32 : n, A.T = null, n = Cd, Cd = null;
|
|
8232
8232
|
var o = yd, s = xd;
|
|
@@ -8348,7 +8348,7 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
8348
8348
|
if (t = Qu, n = X, n = dt(e, e === t ? n : 0, e.cancelPendingCommit !== null || e.timeoutHandle !== -1), r = e.callbackNode, n === 0 || e === t && (Z === 2 || Z === 9) || e.cancelPendingCommit !== null) return r !== null && r !== null && He(r), e.callbackNode = null, e.callbackPriority = 0;
|
|
8349
8349
|
if (!(n & 3) || ft(e, n)) {
|
|
8350
8350
|
if (t = n & -n, t === e.callbackPriority) return t;
|
|
8351
|
-
switch (r !== null && He(r),
|
|
8351
|
+
switch (r !== null && He(r), xt(n)) {
|
|
8352
8352
|
case 2:
|
|
8353
8353
|
case 8:
|
|
8354
8354
|
n = Je;
|
|
@@ -8393,8 +8393,8 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
8393
8393
|
}
|
|
8394
8394
|
function If(e, t, n, r, i) {
|
|
8395
8395
|
if (t === "submit" && n && n.stateNode === i) {
|
|
8396
|
-
var a = Ff((i[
|
|
8397
|
-
o && (t = (t = o[
|
|
8396
|
+
var a = Ff((i[Et] || null).action), o = r.submitter;
|
|
8397
|
+
o && (t = (t = o[Et] || null) ? Ff(t.formAction) : o.getAttribute("formAction"), t !== null && (a = t, o = null));
|
|
8398
8398
|
var s = new Vn("action", "action", null, r, i);
|
|
8399
8399
|
e.push({
|
|
8400
8400
|
event: s,
|
|
@@ -8427,12 +8427,12 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
8427
8427
|
var Rf = mi[Lf];
|
|
8428
8428
|
hi(Rf.toLowerCase(), "on" + (Rf[0].toUpperCase() + Rf.slice(1)));
|
|
8429
8429
|
}
|
|
8430
|
-
hi(oi, "onAnimationEnd"), hi(si, "onAnimationIteration"), hi(ci, "onAnimationStart"), hi("dblclick", "onDoubleClick"), hi("focusin", "onFocus"), hi("focusout", "onBlur"), hi(li, "onTransitionRun"), hi(ui, "onTransitionStart"), hi(di, "onTransitionCancel"), hi(fi, "onTransitionEnd"),
|
|
8430
|
+
hi(oi, "onAnimationEnd"), hi(si, "onAnimationIteration"), hi(ci, "onAnimationStart"), hi("dblclick", "onDoubleClick"), hi("focusin", "onFocus"), hi("focusout", "onBlur"), hi(li, "onTransitionRun"), hi(ui, "onTransitionStart"), hi(di, "onTransitionCancel"), hi(fi, "onTransitionEnd"), Wt("onMouseEnter", ["mouseout", "mouseover"]), Wt("onMouseLeave", ["mouseout", "mouseover"]), Wt("onPointerEnter", ["pointerout", "pointerover"]), Wt("onPointerLeave", ["pointerout", "pointerover"]), Ut("onChange", "change click focusin focusout input keydown keyup selectionchange".split(" ")), Ut("onSelect", "focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")), Ut("onBeforeInput", [
|
|
8431
8431
|
"compositionend",
|
|
8432
8432
|
"keypress",
|
|
8433
8433
|
"textInput",
|
|
8434
8434
|
"paste"
|
|
8435
|
-
]),
|
|
8435
|
+
]), Ut("onCompositionEnd", "compositionend focusout keydown keypress keyup mousedown".split(" ")), Ut("onCompositionStart", "compositionstart focusout keydown keypress keyup mousedown".split(" ")), Ut("onCompositionUpdate", "compositionupdate focusout keydown keypress keyup mousedown".split(" "));
|
|
8436
8436
|
var zf = "abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "), Bf = new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(zf));
|
|
8437
8437
|
function Vf(e, t) {
|
|
8438
8438
|
t = !!(t & 4);
|
|
@@ -8466,8 +8466,8 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
8466
8466
|
}
|
|
8467
8467
|
}
|
|
8468
8468
|
function Q(e, t) {
|
|
8469
|
-
var n = t[
|
|
8470
|
-
n === void 0 && (n = t[
|
|
8469
|
+
var n = t[Ot];
|
|
8470
|
+
n === void 0 && (n = t[Ot] = /* @__PURE__ */ new Set());
|
|
8471
8471
|
var r = e + "__bubble";
|
|
8472
8472
|
n.has(r) || (Gf(t, e, 2, !1), n.add(r));
|
|
8473
8473
|
}
|
|
@@ -8478,7 +8478,7 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
8478
8478
|
var Uf = "_reactListening" + Math.random().toString(36).slice(2);
|
|
8479
8479
|
function Wf(e) {
|
|
8480
8480
|
if (!e[Uf]) {
|
|
8481
|
-
e[Uf] = !0,
|
|
8481
|
+
e[Uf] = !0, Vt.forEach(function(t) {
|
|
8482
8482
|
t !== "selectionchange" && (Bf.has(t) || Hf(t, !1, e), Hf(t, !0, e));
|
|
8483
8483
|
});
|
|
8484
8484
|
var t = e.nodeType === 9 ? e : e.ownerDocument;
|
|
@@ -8514,7 +8514,7 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
8514
8514
|
s = s.return;
|
|
8515
8515
|
}
|
|
8516
8516
|
for (; c !== null;) {
|
|
8517
|
-
if (s =
|
|
8517
|
+
if (s = Ft(c), s === null) return;
|
|
8518
8518
|
if (l = s.tag, l === 5 || l === 6 || l === 26 || l === 27) {
|
|
8519
8519
|
r = a = s;
|
|
8520
8520
|
continue a;
|
|
@@ -8624,11 +8624,11 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
8624
8624
|
}
|
|
8625
8625
|
if (!(t & 7)) {
|
|
8626
8626
|
a: {
|
|
8627
|
-
if (l = e === "mouseover" || e === "pointerover", c = e === "mouseout" || e === "pointerout", l && n !== Sn && (u = n.relatedTarget || n.fromElement) && (
|
|
8628
|
-
(c || l) && (u = i.window === i ? i : (l = i.ownerDocument) ? l.defaultView || l.parentWindow : window, c ? (l = n.relatedTarget || n.toElement, c = r, l = l ?
|
|
8627
|
+
if (l = e === "mouseover" || e === "pointerover", c = e === "mouseout" || e === "pointerout", l && n !== Sn && (u = n.relatedTarget || n.fromElement) && (Ft(u) || u[Dt])) break a;
|
|
8628
|
+
(c || l) && (u = i.window === i ? i : (l = i.ownerDocument) ? l.defaultView || l.parentWindow : window, c ? (l = n.relatedTarget || n.toElement, c = r, l = l ? Ft(l) : null, l !== null && (f = o(l), d = l.tag, l !== f || d !== 5 && d !== 27 && d !== 6) && (l = null)) : (c = null, l = r), c !== l && (d = Jn, g = "onMouseLeave", p = "onMouseEnter", m = "mouse", (e === "pointerout" || e === "pointerover") && (d = or, g = "onPointerLeave", p = "onPointerEnter", m = "pointer"), f = c == null ? u : Lt(c), h = l == null ? u : Lt(l), u = new d(g, m + "leave", c, n, i), u.target = f, u.relatedTarget = h, g = null, Ft(i) === r && (d = new d(p, m + "enter", l, n, i), d.target = h, d.relatedTarget = f, g = d), f = g, d = c && l ? w(c, l, Yf) : null, c !== null && Xf(s, u, c, d, !1), l !== null && f !== null && Xf(s, f, l, d, !0)));
|
|
8629
8629
|
}
|
|
8630
8630
|
a: {
|
|
8631
|
-
if (c = r ?
|
|
8631
|
+
if (c = r ? Lt(r) : window, l = c.nodeName && c.nodeName.toLowerCase(), l === "select" || l === "input" && c.type === "file") var _ = jr;
|
|
8632
8632
|
else if (Tr(c)) {
|
|
8633
8633
|
if (Mr) _ = L;
|
|
8634
8634
|
else {
|
|
@@ -8642,7 +8642,7 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
8642
8642
|
}
|
|
8643
8643
|
v && v(e, c, r);
|
|
8644
8644
|
}
|
|
8645
|
-
switch (v = r ?
|
|
8645
|
+
switch (v = r ? Lt(r) : window, e) {
|
|
8646
8646
|
case "focusin":
|
|
8647
8647
|
(Tr(v) || v.contentEditable === "true") && (Xr = v, Zr = r, Qr = null);
|
|
8648
8648
|
break;
|
|
@@ -8736,23 +8736,23 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
8736
8736
|
else return;
|
|
8737
8737
|
break;
|
|
8738
8738
|
case "className":
|
|
8739
|
-
|
|
8739
|
+
Zt(e, "class", r);
|
|
8740
8740
|
break;
|
|
8741
8741
|
case "tabIndex":
|
|
8742
|
-
|
|
8742
|
+
Zt(e, "tabindex", r);
|
|
8743
8743
|
break;
|
|
8744
8744
|
case "dir":
|
|
8745
8745
|
case "role":
|
|
8746
8746
|
case "viewBox":
|
|
8747
8747
|
case "width":
|
|
8748
8748
|
case "height":
|
|
8749
|
-
|
|
8749
|
+
Zt(e, n, r);
|
|
8750
8750
|
break;
|
|
8751
8751
|
case "style":
|
|
8752
8752
|
gn(e, r, o);
|
|
8753
8753
|
return;
|
|
8754
8754
|
case "data": if (t !== "object") {
|
|
8755
|
-
|
|
8755
|
+
Zt(e, "data", r);
|
|
8756
8756
|
break;
|
|
8757
8757
|
}
|
|
8758
8758
|
case "src":
|
|
@@ -8864,44 +8864,44 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
8864
8864
|
r == null || typeof r == "function" || typeof r == "symbol" || isNaN(r) ? e.removeAttribute(n) : e.setAttribute(n, r);
|
|
8865
8865
|
break;
|
|
8866
8866
|
case "popover":
|
|
8867
|
-
Q("beforetoggle", e), Q("toggle", e),
|
|
8867
|
+
Q("beforetoggle", e), Q("toggle", e), Xt(e, "popover", r);
|
|
8868
8868
|
break;
|
|
8869
8869
|
case "xlinkActuate":
|
|
8870
|
-
|
|
8870
|
+
Qt(e, "http://www.w3.org/1999/xlink", "xlink:actuate", r);
|
|
8871
8871
|
break;
|
|
8872
8872
|
case "xlinkArcrole":
|
|
8873
|
-
|
|
8873
|
+
Qt(e, "http://www.w3.org/1999/xlink", "xlink:arcrole", r);
|
|
8874
8874
|
break;
|
|
8875
8875
|
case "xlinkRole":
|
|
8876
|
-
|
|
8876
|
+
Qt(e, "http://www.w3.org/1999/xlink", "xlink:role", r);
|
|
8877
8877
|
break;
|
|
8878
8878
|
case "xlinkShow":
|
|
8879
|
-
|
|
8879
|
+
Qt(e, "http://www.w3.org/1999/xlink", "xlink:show", r);
|
|
8880
8880
|
break;
|
|
8881
8881
|
case "xlinkTitle":
|
|
8882
|
-
|
|
8882
|
+
Qt(e, "http://www.w3.org/1999/xlink", "xlink:title", r);
|
|
8883
8883
|
break;
|
|
8884
8884
|
case "xlinkType":
|
|
8885
|
-
|
|
8885
|
+
Qt(e, "http://www.w3.org/1999/xlink", "xlink:type", r);
|
|
8886
8886
|
break;
|
|
8887
8887
|
case "xmlBase":
|
|
8888
|
-
|
|
8888
|
+
Qt(e, "http://www.w3.org/XML/1998/namespace", "xml:base", r);
|
|
8889
8889
|
break;
|
|
8890
8890
|
case "xmlLang":
|
|
8891
|
-
|
|
8891
|
+
Qt(e, "http://www.w3.org/XML/1998/namespace", "xml:lang", r);
|
|
8892
8892
|
break;
|
|
8893
8893
|
case "xmlSpace":
|
|
8894
|
-
|
|
8894
|
+
Qt(e, "http://www.w3.org/XML/1998/namespace", "xml:space", r);
|
|
8895
8895
|
break;
|
|
8896
8896
|
case "is":
|
|
8897
|
-
|
|
8897
|
+
Xt(e, "is", r);
|
|
8898
8898
|
break;
|
|
8899
8899
|
case "innerText":
|
|
8900
8900
|
case "textContent": return;
|
|
8901
|
-
default: if (!(2 < n.length) || n[0] !== "o" && n[0] !== "O" || n[1] !== "n" && n[1] !== "N") n = vn.get(n) || n,
|
|
8901
|
+
default: if (!(2 < n.length) || n[0] !== "o" && n[0] !== "O" || n[1] !== "n" && n[1] !== "N") n = vn.get(n) || n, Xt(e, n, r);
|
|
8902
8902
|
else return;
|
|
8903
8903
|
}
|
|
8904
|
-
|
|
8904
|
+
F = !0;
|
|
8905
8905
|
}
|
|
8906
8906
|
function tp(e, t, n, r, a, o) {
|
|
8907
8907
|
switch (n) {
|
|
@@ -8938,16 +8938,16 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
8938
8938
|
case "innerText":
|
|
8939
8939
|
case "textContent": return;
|
|
8940
8940
|
default:
|
|
8941
|
-
if (!
|
|
8942
|
-
if (n[0] === "o" && n[1] === "n" && (a = n.endsWith("Capture"), o = n.slice(2, a ? n.length - 7 : void 0), t = e[
|
|
8941
|
+
if (!Ht.hasOwnProperty(n)) a: {
|
|
8942
|
+
if (n[0] === "o" && n[1] === "n" && (a = n.endsWith("Capture"), o = n.slice(2, a ? n.length - 7 : void 0), t = e[Et] || null, t = t == null ? null : t[n], typeof t == "function" && e.removeEventListener(o, t, a), typeof r == "function")) {
|
|
8943
8943
|
typeof t != "function" && t !== null && (n in e ? e[n] = null : e.hasAttribute(n) && e.removeAttribute(n)), e.addEventListener(o, r, a);
|
|
8944
8944
|
break a;
|
|
8945
8945
|
}
|
|
8946
|
-
|
|
8946
|
+
F = !0, n in e ? e[n] = r : !0 === r ? e.setAttribute(n, "") : Xt(e, n, r);
|
|
8947
8947
|
}
|
|
8948
8948
|
return;
|
|
8949
8949
|
}
|
|
8950
|
-
|
|
8950
|
+
F = !0;
|
|
8951
8951
|
}
|
|
8952
8952
|
function np(e, t, n) {
|
|
8953
8953
|
switch (t) {
|
|
@@ -9120,22 +9120,22 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
9120
9120
|
var m = r[p];
|
|
9121
9121
|
if (f = n[p], r.hasOwnProperty(p) && (m != null || f != null)) switch (p) {
|
|
9122
9122
|
case "type":
|
|
9123
|
-
m !== f && (
|
|
9123
|
+
m !== f && (F = !0), o = m;
|
|
9124
9124
|
break;
|
|
9125
9125
|
case "name":
|
|
9126
|
-
m !== f && (
|
|
9126
|
+
m !== f && (F = !0), a = m;
|
|
9127
9127
|
break;
|
|
9128
9128
|
case "checked":
|
|
9129
|
-
m !== f && (
|
|
9129
|
+
m !== f && (F = !0), u = m;
|
|
9130
9130
|
break;
|
|
9131
9131
|
case "defaultChecked":
|
|
9132
|
-
m !== f && (
|
|
9132
|
+
m !== f && (F = !0), d = m;
|
|
9133
9133
|
break;
|
|
9134
9134
|
case "value":
|
|
9135
|
-
m !== f && (
|
|
9135
|
+
m !== f && (F = !0), s = m;
|
|
9136
9136
|
break;
|
|
9137
9137
|
case "defaultValue":
|
|
9138
|
-
m !== f && (
|
|
9138
|
+
m !== f && (F = !0), c = m;
|
|
9139
9139
|
break;
|
|
9140
9140
|
case "children":
|
|
9141
9141
|
case "dangerouslySetInnerHTML":
|
|
@@ -9154,12 +9154,12 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
9154
9154
|
}
|
|
9155
9155
|
for (a in r) if (o = r[a], l = n[a], r.hasOwnProperty(a) && (o != null || l != null)) switch (a) {
|
|
9156
9156
|
case "value":
|
|
9157
|
-
o !== l && (
|
|
9157
|
+
o !== l && (F = !0), p = o;
|
|
9158
9158
|
break;
|
|
9159
9159
|
case "defaultValue":
|
|
9160
|
-
o !== l && (
|
|
9160
|
+
o !== l && (F = !0), c = o;
|
|
9161
9161
|
break;
|
|
9162
|
-
case "multiple": o !== l && (
|
|
9162
|
+
case "multiple": o !== l && (F = !0), s = o;
|
|
9163
9163
|
default: o !== l && $(e, t, a, o, r, l);
|
|
9164
9164
|
}
|
|
9165
9165
|
t = c, n = s, r = m, p == null ? !!r != !!n && (t == null ? un(e, !!n, n ? [] : "", !1) : un(e, !!n, t, !0)) : un(e, !!n, p, !1);
|
|
@@ -9172,10 +9172,10 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
9172
9172
|
}
|
|
9173
9173
|
for (s in r) if (a = r[s], o = n[s], r.hasOwnProperty(s) && (a != null || o != null)) switch (s) {
|
|
9174
9174
|
case "value":
|
|
9175
|
-
a !== o && (
|
|
9175
|
+
a !== o && (F = !0), p = a;
|
|
9176
9176
|
break;
|
|
9177
9177
|
case "defaultValue":
|
|
9178
|
-
a !== o && (
|
|
9178
|
+
a !== o && (F = !0), m = a;
|
|
9179
9179
|
break;
|
|
9180
9180
|
case "children": break;
|
|
9181
9181
|
case "dangerouslySetInnerHTML":
|
|
@@ -9194,7 +9194,7 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
9194
9194
|
}
|
|
9195
9195
|
for (l in r) if (p = r[l], m = n[l], r.hasOwnProperty(l) && p !== m && (p != null || m != null)) switch (l) {
|
|
9196
9196
|
case "selected":
|
|
9197
|
-
p !== m && (
|
|
9197
|
+
p !== m && (F = !0), e.selected = p && typeof p != "function" && typeof p != "symbol";
|
|
9198
9198
|
break;
|
|
9199
9199
|
default: $(e, t, l, p, r, m);
|
|
9200
9200
|
}
|
|
@@ -9282,7 +9282,7 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
9282
9282
|
return e === 1 && t === "foreignObject" ? 0 : e;
|
|
9283
9283
|
}
|
|
9284
9284
|
function fp(e, t, n, r) {
|
|
9285
|
-
return n = lp(n).createElement(e), n[
|
|
9285
|
+
return n = lp(n).createElement(e), n[Tt] = r, n[Et] = t, np(n, e, t), zt(n), n;
|
|
9286
9286
|
}
|
|
9287
9287
|
function pp(e, t) {
|
|
9288
9288
|
return e === "textarea" || e === "noscript" || typeof t.children == "string" || typeof t.children == "number" || typeof t.children == "bigint" || typeof t.dangerouslySetInnerHTML == "object" && t.dangerouslySetInnerHTML !== null && t.dangerouslySetInnerHTML.__html != null;
|
|
@@ -9320,7 +9320,7 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
9320
9320
|
n = e.ownerDocument.head, _m(n);
|
|
9321
9321
|
for (var a = n.firstChild; a;) {
|
|
9322
9322
|
var o = a.nextSibling, s = a.nodeName;
|
|
9323
|
-
a[
|
|
9323
|
+
a[Mt] || s === "SCRIPT" || s === "STYLE" || s === "LINK" && a.rel.toLowerCase() === "stylesheet" || n.removeChild(a), a = o;
|
|
9324
9324
|
}
|
|
9325
9325
|
} else n === "body" && _m(e.ownerDocument.body);
|
|
9326
9326
|
}
|
|
@@ -9651,7 +9651,7 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
9651
9651
|
return s = r && a && o & Node.DOCUMENT_POSITION_FOLLOWING && s & Node.DOCUMENT_POSITION_PRECEDING, t = r && t === e || a && i === e || c || s ? Node.DOCUMENT_POSITION_CONTAINED_BY : !r && t === e || !a && i === e ? Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC : o, t & Node.DOCUMENT_POSITION_DISCONNECTED || t & Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC || Xp(t, this._fragmentFiber, n[0], n[n.length - 1], e) ? t : Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC;
|
|
9652
9652
|
};
|
|
9653
9653
|
function Xp(e, t, n, r, i) {
|
|
9654
|
-
var a =
|
|
9654
|
+
var a = Ft(i);
|
|
9655
9655
|
if (e & Node.DOCUMENT_POSITION_CONTAINED_BY) {
|
|
9656
9656
|
if (n = !!a) a: {
|
|
9657
9657
|
for (; a !== null;) {
|
|
@@ -9748,7 +9748,7 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
9748
9748
|
case "HTML":
|
|
9749
9749
|
case "HEAD":
|
|
9750
9750
|
case "BODY":
|
|
9751
|
-
nm(n),
|
|
9751
|
+
nm(n), Pt(n);
|
|
9752
9752
|
continue;
|
|
9753
9753
|
case "SCRIPT":
|
|
9754
9754
|
case "STYLE": continue;
|
|
@@ -9767,7 +9767,7 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
9767
9767
|
var a = i.name == null ? null : "" + i.name;
|
|
9768
9768
|
if (i.type === "hidden" && e.getAttribute("name") === a) return e;
|
|
9769
9769
|
} else return e;
|
|
9770
|
-
} else if (!e[
|
|
9770
|
+
} else if (!e[Mt]) switch (t) {
|
|
9771
9771
|
case "meta":
|
|
9772
9772
|
if (!e.hasAttribute("itemprop")) break;
|
|
9773
9773
|
return e;
|
|
@@ -9891,11 +9891,11 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
9891
9891
|
var i = n[r];
|
|
9892
9892
|
n.hasOwnProperty(r) && i != null && $(e, t, r, null, rp, i);
|
|
9893
9893
|
}
|
|
9894
|
-
n.dangerouslySetInnerHTML != null && (e.textContent = ""), e.onclick === xn && (e.onclick = null),
|
|
9894
|
+
n.dangerouslySetInnerHTML != null && (e.textContent = ""), e.onclick === xn && (e.onclick = null), Pt(e);
|
|
9895
9895
|
}
|
|
9896
9896
|
function _m(e) {
|
|
9897
9897
|
for (var t = e.attributes; t.length;) e.removeAttributeNode(t[0]);
|
|
9898
|
-
|
|
9898
|
+
Pt(e);
|
|
9899
9899
|
}
|
|
9900
9900
|
var vm = /* @__PURE__ */ new Map(), ym = /* @__PURE__ */ new Set();
|
|
9901
9901
|
function bm(e) {
|
|
@@ -9922,7 +9922,7 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
9922
9922
|
return e || t;
|
|
9923
9923
|
}
|
|
9924
9924
|
function Cm(e) {
|
|
9925
|
-
var t =
|
|
9925
|
+
var t = It(e);
|
|
9926
9926
|
t !== null && t.tag === 5 && t.type === "form" ? nc(t) : xm.r(e);
|
|
9927
9927
|
}
|
|
9928
9928
|
var wm = typeof document > "u" ? null : document;
|
|
@@ -9934,7 +9934,7 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
9934
9934
|
rel: e,
|
|
9935
9935
|
crossOrigin: n,
|
|
9936
9936
|
href: t
|
|
9937
|
-
}, r.querySelector(i) === null && (t = r.createElement("link"), np(t, "link", e),
|
|
9937
|
+
}, r.querySelector(i) === null && (t = r.createElement("link"), np(t, "link", e), zt(t), r.head.appendChild(t)));
|
|
9938
9938
|
}
|
|
9939
9939
|
}
|
|
9940
9940
|
function Em(e) {
|
|
@@ -9962,9 +9962,9 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
9962
9962
|
as: t
|
|
9963
9963
|
}, n), vm.set(a, e), r.querySelector(i) !== null || t === "style" && r.querySelector(Fm(a)) || t === "script" && r.querySelector(zm(a))))) {
|
|
9964
9964
|
var o = r.createElement("link");
|
|
9965
|
-
np(o, "link", e), t === "style" && (o[
|
|
9966
|
-
|
|
9967
|
-
}),
|
|
9965
|
+
np(o, "link", e), t === "style" && (o[Nt] = !0, o.onload = o.onerror = function() {
|
|
9966
|
+
Bt(o);
|
|
9967
|
+
}), zt(o), r.head.appendChild(o);
|
|
9968
9968
|
}
|
|
9969
9969
|
}
|
|
9970
9970
|
}
|
|
@@ -9993,7 +9993,7 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
9993
9993
|
case "worker":
|
|
9994
9994
|
case "script": if (n.querySelector(zm(a))) return;
|
|
9995
9995
|
}
|
|
9996
|
-
r = n.createElement("link"), np(r, "link", e),
|
|
9996
|
+
r = n.createElement("link"), np(r, "link", e), zt(r), n.head.appendChild(r);
|
|
9997
9997
|
}
|
|
9998
9998
|
}
|
|
9999
9999
|
}
|
|
@@ -10001,7 +10001,7 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
10001
10001
|
xm.S(e, t, n);
|
|
10002
10002
|
var r = wm;
|
|
10003
10003
|
if (r && e) {
|
|
10004
|
-
var i =
|
|
10004
|
+
var i = Rt(r).hoistableStyles, a = Pm(e);
|
|
10005
10005
|
t ||= "default";
|
|
10006
10006
|
var o = i.get(a);
|
|
10007
10007
|
if (!o) {
|
|
@@ -10017,7 +10017,7 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
10017
10017
|
"data-precedence": t
|
|
10018
10018
|
}, n), (n = vm.get(a)) && Hm(e, n);
|
|
10019
10019
|
var c = o = r.createElement("link");
|
|
10020
|
-
|
|
10020
|
+
zt(c), np(c, "link", e), c._p = new Promise(function(e, t) {
|
|
10021
10021
|
c.onload = e, c.onerror = t;
|
|
10022
10022
|
}), c.addEventListener("load", function() {
|
|
10023
10023
|
s.loading |= 1;
|
|
@@ -10038,11 +10038,11 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
10038
10038
|
xm.X(e, t);
|
|
10039
10039
|
var n = wm;
|
|
10040
10040
|
if (n && e) {
|
|
10041
|
-
var r =
|
|
10041
|
+
var r = Rt(n).hoistableScripts, i = Rm(e), a = r.get(i);
|
|
10042
10042
|
a || (a = n.querySelector(zm(i)), a || (e = T({
|
|
10043
10043
|
src: e,
|
|
10044
10044
|
async: !0
|
|
10045
|
-
}, t), (t = vm.get(i)) && Um(e, t), a = n.createElement("script"),
|
|
10045
|
+
}, t), (t = vm.get(i)) && Um(e, t), a = n.createElement("script"), zt(a), np(a, "link", e), n.head.appendChild(a)), a = {
|
|
10046
10046
|
type: "script",
|
|
10047
10047
|
instance: a,
|
|
10048
10048
|
count: 1,
|
|
@@ -10054,12 +10054,12 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
10054
10054
|
xm.M(e, t);
|
|
10055
10055
|
var n = wm;
|
|
10056
10056
|
if (n && e) {
|
|
10057
|
-
var r =
|
|
10057
|
+
var r = Rt(n).hoistableScripts, i = Rm(e), a = r.get(i);
|
|
10058
10058
|
a || (a = n.querySelector(zm(i)), a || (e = T({
|
|
10059
10059
|
src: e,
|
|
10060
10060
|
async: !0,
|
|
10061
10061
|
type: "module"
|
|
10062
|
-
}, t), (t = vm.get(i)) && Um(e, t), a = n.createElement("script"),
|
|
10062
|
+
}, t), (t = vm.get(i)) && Um(e, t), a = n.createElement("script"), zt(a), np(a, "link", e), n.head.appendChild(a)), a = {
|
|
10063
10063
|
type: "script",
|
|
10064
10064
|
instance: a,
|
|
10065
10065
|
count: 1,
|
|
@@ -10073,7 +10073,7 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
10073
10073
|
switch (e) {
|
|
10074
10074
|
case "meta":
|
|
10075
10075
|
case "title": return null;
|
|
10076
|
-
case "style": return typeof n.precedence == "string" && typeof n.href == "string" ? (n = Pm(n.href), t =
|
|
10076
|
+
case "style": return typeof n.precedence == "string" && typeof n.href == "string" ? (n = Pm(n.href), t = Rt(a).hoistableStyles, r = t.get(n), r || (r = {
|
|
10077
10077
|
type: "style",
|
|
10078
10078
|
instance: null,
|
|
10079
10079
|
count: 0,
|
|
@@ -10087,7 +10087,7 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
10087
10087
|
case "link":
|
|
10088
10088
|
if (n.rel === "stylesheet" && typeof n.href == "string" && typeof n.precedence == "string") {
|
|
10089
10089
|
e = Pm(n.href);
|
|
10090
|
-
var o =
|
|
10090
|
+
var o = Rt(a).hoistableStyles, s = o.get(e);
|
|
10091
10091
|
if (s || (a = a.ownerDocument || a, s = {
|
|
10092
10092
|
type: "stylesheet",
|
|
10093
10093
|
instance: null,
|
|
@@ -10110,7 +10110,7 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
10110
10110
|
}
|
|
10111
10111
|
if (t && r !== null) throw Error(i(529, ""));
|
|
10112
10112
|
return null;
|
|
10113
|
-
case "script": return t = n.async, n = n.src, typeof n == "string" && t && typeof t != "function" && typeof t != "symbol" ? (n = Rm(n), t =
|
|
10113
|
+
case "script": return t = n.async, n = n.src, typeof n == "string" && t && typeof t != "function" && typeof t != "symbol" ? (n = Rm(n), t = Rt(a).hoistableScripts, r = t.get(n), r || (r = {
|
|
10114
10114
|
type: "script",
|
|
10115
10115
|
instance: null,
|
|
10116
10116
|
count: 0,
|
|
@@ -10138,11 +10138,11 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
10138
10138
|
}
|
|
10139
10139
|
function Lm(e, t, n, r) {
|
|
10140
10140
|
if (t = e.querySelector("link[rel=\"preload\"][as=\"style\"][" + t + "]")) {
|
|
10141
|
-
if (!0 !== t[
|
|
10141
|
+
if (!0 !== t[Nt]) {
|
|
10142
10142
|
r.loading = 1;
|
|
10143
10143
|
return;
|
|
10144
10144
|
}
|
|
10145
|
-
} else t = e.createElement("link"), t[
|
|
10145
|
+
} else t = e.createElement("link"), t[Nt] = !0, t.onload = t.onerror = Bt.bind(null, t), np(t, "link", n), zt(t), e.head.appendChild(t);
|
|
10146
10146
|
r.preload = t, t.addEventListener("load", function() {
|
|
10147
10147
|
return r.loading |= 1;
|
|
10148
10148
|
}), t.addEventListener("error", function() {
|
|
@@ -10159,24 +10159,24 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
10159
10159
|
if (t.count++, t.instance === null) switch (t.type) {
|
|
10160
10160
|
case "style":
|
|
10161
10161
|
var r = e.querySelector("style[data-href~=\"" + on(n.href) + "\"]");
|
|
10162
|
-
if (r) return t.instance = r,
|
|
10162
|
+
if (r) return t.instance = r, zt(r), r;
|
|
10163
10163
|
var a = T({}, n, {
|
|
10164
10164
|
"data-href": n.href,
|
|
10165
10165
|
"data-precedence": n.precedence,
|
|
10166
10166
|
href: null,
|
|
10167
10167
|
precedence: null
|
|
10168
10168
|
});
|
|
10169
|
-
return r = (e.ownerDocument || e).createElement("style"),
|
|
10169
|
+
return r = (e.ownerDocument || e).createElement("style"), zt(r), np(r, "style", a), Vm(r, n.precedence, e), t.instance = r;
|
|
10170
10170
|
case "stylesheet":
|
|
10171
10171
|
a = Pm(n.href);
|
|
10172
10172
|
var o = e.querySelector(Fm(a));
|
|
10173
|
-
if (o) return t.state.loading |= 4, t.instance = o,
|
|
10174
|
-
r = Im(n), (a = vm.get(a)) && Hm(r, a), o = (e.ownerDocument || e).createElement("link"),
|
|
10173
|
+
if (o) return t.state.loading |= 4, t.instance = o, zt(o), o;
|
|
10174
|
+
r = Im(n), (a = vm.get(a)) && Hm(r, a), o = (e.ownerDocument || e).createElement("link"), zt(o);
|
|
10175
10175
|
var s = o;
|
|
10176
10176
|
return s._p = new Promise(function(e, t) {
|
|
10177
10177
|
s.onload = e, s.onerror = t;
|
|
10178
10178
|
}), np(o, "link", r), t.state.loading |= 4, Vm(o, n.precedence, e), t.instance = o;
|
|
10179
|
-
case "script": return o = Rm(n.src), (a = e.querySelector(zm(o))) ? (t.instance = a,
|
|
10179
|
+
case "script": return o = Rm(n.src), (a = e.querySelector(zm(o))) ? (t.instance = a, zt(a), a) : (r = n, (a = vm.get(o)) && (r = T({}, n), Um(r, a)), e = e.ownerDocument || e, a = e.createElement("script"), zt(a), np(a, "link", r), e.head.appendChild(a), t.instance = a);
|
|
10180
10180
|
case "void": return null;
|
|
10181
10181
|
default: throw Error(i(443, t.type));
|
|
10182
10182
|
}
|
|
@@ -10206,7 +10206,7 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
10206
10206
|
if (r.has(e)) return r;
|
|
10207
10207
|
for (r.set(e, null), n = n.getElementsByTagName(e), i = 0; i < n.length; i++) {
|
|
10208
10208
|
var a = n[i];
|
|
10209
|
-
if (!(a[
|
|
10209
|
+
if (!(a[Mt] || a[Tt] || e === "link" && a.getAttribute("rel") === "stylesheet") && a.namespaceURI !== "http://www.w3.org/2000/svg") {
|
|
10210
10210
|
var o = a.getAttribute(t) || "";
|
|
10211
10211
|
o = e + o;
|
|
10212
10212
|
var s = r.get(o);
|
|
@@ -10253,10 +10253,10 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
10253
10253
|
if (n.instance === null) {
|
|
10254
10254
|
var i = Pm(r.href), a = t.querySelector(Fm(i));
|
|
10255
10255
|
if (a) {
|
|
10256
|
-
t = a._p, typeof t == "object" && t && typeof t.then == "function" && (e.count++, e = nh.bind(e), t.then(e, e)), n.state.loading |= 4, n.instance = a,
|
|
10256
|
+
t = a._p, typeof t == "object" && t && typeof t.then == "function" && (e.count++, e = nh.bind(e), t.then(e, e)), n.state.loading |= 4, n.instance = a, zt(a);
|
|
10257
10257
|
return;
|
|
10258
10258
|
}
|
|
10259
|
-
a = t.ownerDocument || t, r = Im(r), (i = vm.get(i)) && Hm(r, i), a = a.createElement("link"),
|
|
10259
|
+
a = t.ownerDocument || t, r = Im(r), (i = vm.get(i)) && Hm(r, i), a = a.createElement("link"), zt(a);
|
|
10260
10260
|
var o = a;
|
|
10261
10261
|
o._p = new Promise(function(e, t) {
|
|
10262
10262
|
o.onload = e, o.onerror = t;
|
|
@@ -10362,7 +10362,7 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
10362
10362
|
function hh(e) {
|
|
10363
10363
|
if (e.tag === 13 || e.tag === 31) {
|
|
10364
10364
|
var t = Ad();
|
|
10365
|
-
t =
|
|
10365
|
+
t = bt(t);
|
|
10366
10366
|
var n = Ei(e, t);
|
|
10367
10367
|
n !== null && Nd(n, e, t), ph(e, t);
|
|
10368
10368
|
}
|
|
@@ -10395,7 +10395,7 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
10395
10395
|
else if (Ph(i, e, t, n, r)) r.stopPropagation();
|
|
10396
10396
|
else if (Mh(e, r), t & 4 && -1 < jh.indexOf(e)) {
|
|
10397
10397
|
for (; i !== null;) {
|
|
10398
|
-
var a =
|
|
10398
|
+
var a = It(i);
|
|
10399
10399
|
if (a !== null) switch (a.tag) {
|
|
10400
10400
|
case 3:
|
|
10401
10401
|
if (a = a.stateNode, a.current.memoizedState.isDehydrated) {
|
|
@@ -10425,7 +10425,7 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
10425
10425
|
}
|
|
10426
10426
|
var xh = null;
|
|
10427
10427
|
function Sh(e) {
|
|
10428
|
-
if (xh = null, e =
|
|
10428
|
+
if (xh = null, e = Ft(e), e !== null) {
|
|
10429
10429
|
var t = o(e);
|
|
10430
10430
|
if (t === null) e = null;
|
|
10431
10431
|
else {
|
|
@@ -10559,7 +10559,7 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
10559
10559
|
eventSystemFlags: r,
|
|
10560
10560
|
nativeEvent: a,
|
|
10561
10561
|
targetContainers: [i]
|
|
10562
|
-
}, t !== null && (t =
|
|
10562
|
+
}, t !== null && (t = It(t), t !== null && mh(t)), e) : (e.eventSystemFlags |= r, t = e.targetContainers, i !== null && t.indexOf(i) === -1 && t.push(i), e);
|
|
10563
10563
|
}
|
|
10564
10564
|
function Ph(e, t, n, r, i) {
|
|
10565
10565
|
switch (t) {
|
|
@@ -10574,20 +10574,20 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
10574
10574
|
return !1;
|
|
10575
10575
|
}
|
|
10576
10576
|
function Fh(e) {
|
|
10577
|
-
var t =
|
|
10577
|
+
var t = Ft(e.target);
|
|
10578
10578
|
if (t !== null) {
|
|
10579
10579
|
var n = o(t);
|
|
10580
10580
|
if (n !== null) {
|
|
10581
10581
|
if (t = n.tag, t === 13) {
|
|
10582
10582
|
if (t = s(n), t !== null) {
|
|
10583
|
-
e.blockedOn = t,
|
|
10583
|
+
e.blockedOn = t, Ct(e.priority, function() {
|
|
10584
10584
|
hh(n);
|
|
10585
10585
|
});
|
|
10586
10586
|
return;
|
|
10587
10587
|
}
|
|
10588
10588
|
} else if (t === 31) {
|
|
10589
10589
|
if (t = c(n), t !== null) {
|
|
10590
|
-
e.blockedOn = t,
|
|
10590
|
+
e.blockedOn = t, Ct(e.priority, function() {
|
|
10591
10591
|
hh(n);
|
|
10592
10592
|
});
|
|
10593
10593
|
return;
|
|
@@ -10608,7 +10608,7 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
10608
10608
|
n = e.nativeEvent;
|
|
10609
10609
|
var r = new n.constructor(n.type, n);
|
|
10610
10610
|
Sn = r, n.target.dispatchEvent(r), Sn = null;
|
|
10611
|
-
} else return t =
|
|
10611
|
+
} else return t = It(n), t !== null && mh(t), e.blockedOn = n, !1;
|
|
10612
10612
|
t.shift();
|
|
10613
10613
|
}
|
|
10614
10614
|
return !0;
|
|
@@ -10632,7 +10632,7 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
10632
10632
|
if (Sh(r || n) === null) continue;
|
|
10633
10633
|
break;
|
|
10634
10634
|
}
|
|
10635
|
-
var a =
|
|
10635
|
+
var a = It(n);
|
|
10636
10636
|
a !== null && (e.splice(t, 3), t -= 3, ec(a, {
|
|
10637
10637
|
pending: !0,
|
|
10638
10638
|
data: i,
|
|
@@ -10653,12 +10653,12 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
10653
10653
|
}
|
|
10654
10654
|
for (; 0 < Ah.length && (n = Ah[0], n.blockedOn === null);) Fh(n), n.blockedOn === null && Ah.shift();
|
|
10655
10655
|
if (n = (e.ownerDocument || e).$$reactFormReplay, n != null) for (r = 0; r < n.length; r += 3) {
|
|
10656
|
-
var i = n[r], a = n[r + 1], o = i[
|
|
10656
|
+
var i = n[r], a = n[r + 1], o = i[Et] || null;
|
|
10657
10657
|
if (typeof a == "function") o || Vh(n);
|
|
10658
10658
|
else if (o) {
|
|
10659
10659
|
var s = null;
|
|
10660
10660
|
if (a && a.hasAttribute("formAction")) {
|
|
10661
|
-
if (i = a, o = a[
|
|
10661
|
+
if (i = a, o = a[Et] || null) s = o.formAction;
|
|
10662
10662
|
else if (Sh(i) !== null) continue;
|
|
10663
10663
|
} else s = o.action;
|
|
10664
10664
|
typeof s == "function" ? n[r + 1] = s : (n.splice(r, 3), r -= 3), Vh(n);
|
|
@@ -10710,7 +10710,7 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
10710
10710
|
if (e !== null) {
|
|
10711
10711
|
this._internalRoot = null;
|
|
10712
10712
|
var t = e.containerInfo;
|
|
10713
|
-
dh(e.current, 2, null, e, null, null), Rd(), t[
|
|
10713
|
+
dh(e.current, 2, null, e, null, null), Rd(), t[Dt] = null;
|
|
10714
10714
|
}
|
|
10715
10715
|
};
|
|
10716
10716
|
function Gh(e) {
|
|
@@ -10718,7 +10718,7 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
10718
10718
|
}
|
|
10719
10719
|
Gh.prototype.unstable_scheduleHydration = function(e) {
|
|
10720
10720
|
if (e) {
|
|
10721
|
-
var t =
|
|
10721
|
+
var t = St();
|
|
10722
10722
|
e = {
|
|
10723
10723
|
blockedOn: null,
|
|
10724
10724
|
target: e,
|
|
@@ -10751,7 +10751,7 @@ var V = B(), ra = B(), ia = B(), aa = B(), oa = B(), sa = /* @__PURE__ */ i(((e)
|
|
|
10751
10751
|
e.createRoot = function(e, t) {
|
|
10752
10752
|
if (!a(e)) throw Error(i(299));
|
|
10753
10753
|
var n = !1, r = "", o = Cc, s = wc, c = Tc;
|
|
10754
|
-
return t != null && (!0 === t.unstable_strictMode && (n = !0), t.identifierPrefix !== void 0 && (r = t.identifierPrefix), t.onUncaughtError !== void 0 && (o = t.onUncaughtError), t.onCaughtError !== void 0 && (s = t.onCaughtError), t.onRecoverableError !== void 0 && (c = t.onRecoverableError)), t = lh(e, 1, !1, null, null, n, r, null, o, s, c, Uh), e[
|
|
10754
|
+
return t != null && (!0 === t.unstable_strictMode && (n = !0), t.identifierPrefix !== void 0 && (r = t.identifierPrefix), t.onUncaughtError !== void 0 && (o = t.onUncaughtError), t.onCaughtError !== void 0 && (s = t.onCaughtError), t.onRecoverableError !== void 0 && (c = t.onRecoverableError)), t = lh(e, 1, !1, null, null, n, r, null, o, s, c, Uh), e[Dt] = t.current, Wf(e), new Wh(t);
|
|
10755
10755
|
};
|
|
10756
10756
|
})), ua = /* @__PURE__ */ i(((e, t) => {
|
|
10757
10757
|
function n() {
|
|
@@ -10768,14 +10768,14 @@ function fa(e, t) {
|
|
|
10768
10768
|
return {
|
|
10769
10769
|
dom: n,
|
|
10770
10770
|
mount() {
|
|
10771
|
-
r = (0, da.createRoot)(n), r.render(/* @__PURE__ */ (0, z.jsx)(
|
|
10772
|
-
store:
|
|
10771
|
+
r = (0, da.createRoot)(n), r.render(/* @__PURE__ */ (0, z.jsx)(St, {
|
|
10772
|
+
store: N,
|
|
10773
10773
|
children: /* @__PURE__ */ (0, z.jsx)(t, { view: e })
|
|
10774
10774
|
}));
|
|
10775
10775
|
},
|
|
10776
10776
|
update() {
|
|
10777
|
-
r?.render(/* @__PURE__ */ (0, z.jsx)(
|
|
10778
|
-
store:
|
|
10777
|
+
r?.render(/* @__PURE__ */ (0, z.jsx)(St, {
|
|
10778
|
+
store: N,
|
|
10779
10779
|
children: /* @__PURE__ */ (0, z.jsx)(t, { view: e })
|
|
10780
10780
|
}));
|
|
10781
10781
|
},
|
|
@@ -12529,7 +12529,7 @@ var po = {
|
|
|
12529
12529
|
line_timing: !1
|
|
12530
12530
|
};
|
|
12531
12531
|
function mo(e) {
|
|
12532
|
-
return
|
|
12532
|
+
return $t()?.experimental?.[e] ?? po[e];
|
|
12533
12533
|
}
|
|
12534
12534
|
function ho(e, t) {
|
|
12535
12535
|
Te().saveUserConfig({ config: { experimental: { [e]: t } } });
|
|
@@ -12771,16 +12771,16 @@ function To(e) {
|
|
|
12771
12771
|
var Eo = xo({
|
|
12772
12772
|
toSerializable: (e) => e,
|
|
12773
12773
|
fromSerializable: (e) => To(e)
|
|
12774
|
-
}), Do =
|
|
12774
|
+
}), Do = Ct("marimo:panel-layout", wo, Eo, { getOnInit: !0 });
|
|
12775
12775
|
function Oo(e) {
|
|
12776
|
-
let t =
|
|
12776
|
+
let t = N.get(Do);
|
|
12777
12777
|
return t.sidebar.includes(e) ? "sidebar" : t.developerPanel.includes(e) ? "developer-panel" : null;
|
|
12778
12778
|
}
|
|
12779
|
-
var ko = "marimo:sidebar", Ao = new we(
|
|
12780
|
-
selectedPanel:
|
|
12781
|
-
isSidebarOpen:
|
|
12782
|
-
isDeveloperPanelOpen:
|
|
12783
|
-
selectedDeveloperPanelTab:
|
|
12779
|
+
var ko = "marimo:sidebar", Ao = new we(Wt({
|
|
12780
|
+
selectedPanel: Zt().optional().transform((e) => e),
|
|
12781
|
+
isSidebarOpen: Dt(),
|
|
12782
|
+
isDeveloperPanelOpen: Dt().optional().default(!1),
|
|
12783
|
+
selectedDeveloperPanelTab: Zt().optional().default("errors").transform((e) => e)
|
|
12784
12784
|
}), jo);
|
|
12785
12785
|
function jo() {
|
|
12786
12786
|
return {
|
|
@@ -12837,7 +12837,7 @@ function Io() {
|
|
|
12837
12837
|
}
|
|
12838
12838
|
//#endregion
|
|
12839
12839
|
//#region src/core/config/capabilities.ts
|
|
12840
|
-
var Lo =
|
|
12840
|
+
var Lo = P({
|
|
12841
12841
|
terminal: !1,
|
|
12842
12842
|
pylsp: !1,
|
|
12843
12843
|
basedpyright: !1,
|
|
@@ -12845,11 +12845,11 @@ var Lo = N({
|
|
|
12845
12845
|
pyrefly: !1
|
|
12846
12846
|
});
|
|
12847
12847
|
function Ro(e) {
|
|
12848
|
-
return
|
|
12848
|
+
return N.get(Lo)?.[e] ?? !1;
|
|
12849
12849
|
}
|
|
12850
12850
|
//#endregion
|
|
12851
12851
|
//#region src/core/documentation/state.ts
|
|
12852
|
-
var zo =
|
|
12852
|
+
var zo = P({ documentation: null }), Bo = dn.mark({ class: "mo-cm-reactive-reference" });
|
|
12853
12853
|
dn.mark({ class: "mo-cm-reactive-reference-hover" });
|
|
12854
12854
|
var U = mn.define(), Vo = xn.define({
|
|
12855
12855
|
create() {
|
|
@@ -13011,12 +13011,12 @@ function Qo(e) {
|
|
|
13011
13011
|
return /\w/.test(n);
|
|
13012
13012
|
}
|
|
13013
13013
|
var $o = rn(async (e, t) => {
|
|
13014
|
-
if (
|
|
13014
|
+
if (N.get(Po).selectedPanel !== "documentation") return;
|
|
13015
13015
|
let n = await Xo({
|
|
13016
13016
|
view: e,
|
|
13017
13017
|
pos: t
|
|
13018
13018
|
});
|
|
13019
|
-
n !== "cancelled" &&
|
|
13019
|
+
n !== "cancelled" && N.set(zo, { documentation: n?.html ?? null });
|
|
13020
13020
|
}, 300);
|
|
13021
13021
|
_n.updateListener.of((e) => {
|
|
13022
13022
|
if (e.selectionSet && Qo(e.state)) {
|
|
@@ -13108,7 +13108,7 @@ var ss = xn.define({
|
|
|
13108
13108
|
message: i,
|
|
13109
13109
|
limitToType: "tooltip"
|
|
13110
13110
|
});
|
|
13111
|
-
return o &&
|
|
13111
|
+
return o && N.set(zo, { documentation: o.html ?? null }), e.view?.dispatch({ effects: rs.of(o ? os(o) : null) }), o ? null : Jo.asCompletionResult(e.pos, i);
|
|
13112
13112
|
};
|
|
13113
13113
|
//#endregion
|
|
13114
13114
|
//#region src/core/codemirror/completion/utils.ts
|
|
@@ -13900,7 +13900,7 @@ async function As(e, t) {
|
|
|
13900
13900
|
}
|
|
13901
13901
|
} else {
|
|
13902
13902
|
e.trim() === "" ? e = t.name : e.endsWith(`.${n}`) || (e = `${e}.${n}`);
|
|
13903
|
-
let r =
|
|
13903
|
+
let r = N.get(De), a = r ? ys.dirname(r) : null, o = a ? `${a}/public` : "public", s = await Te().sendCreateFileOrFolder({
|
|
13904
13904
|
path: o,
|
|
13905
13905
|
type: "file",
|
|
13906
13906
|
name: e,
|
|
@@ -14123,7 +14123,7 @@ var Vs = (e) => {
|
|
|
14123
14123
|
if (t.at(n - 1) === "{" || n === -1 || t.indexOf("}", n) > n) return null;
|
|
14124
14124
|
let r = e.matchBefore(/\w*$/);
|
|
14125
14125
|
if (!r) return null;
|
|
14126
|
-
let i = Fs(
|
|
14126
|
+
let i = Fs(N.get(yo), /* @__PURE__ */ new Set(), 99);
|
|
14127
14127
|
return {
|
|
14128
14128
|
from: r.from,
|
|
14129
14129
|
options: i,
|
|
@@ -20812,20 +20812,20 @@ function rf(e) {
|
|
|
20812
20812
|
//#endregion
|
|
20813
20813
|
//#region src/core/codemirror/lsp/utils.ts
|
|
20814
20814
|
function af(e) {
|
|
20815
|
-
return tf.is(e) ?
|
|
20815
|
+
return tf.is(e) ? N.get(lt).includes(tf.parse(e)) : !1;
|
|
20816
20816
|
}
|
|
20817
20817
|
function of() {
|
|
20818
|
-
return
|
|
20818
|
+
return N.get(ke)?.rootUri ?? "file:///";
|
|
20819
20819
|
}
|
|
20820
20820
|
function sf() {
|
|
20821
|
-
let e =
|
|
20821
|
+
let e = N.get(ke)?.rootUri;
|
|
20822
20822
|
return e ? [{
|
|
20823
20823
|
uri: e,
|
|
20824
20824
|
name: "marimo"
|
|
20825
20825
|
}] : [];
|
|
20826
20826
|
}
|
|
20827
20827
|
function cf() {
|
|
20828
|
-
return
|
|
20828
|
+
return N.get(ke)?.documentUri ?? "file:///__marimo_notebook__.py";
|
|
20829
20829
|
}
|
|
20830
20830
|
//#endregion
|
|
20831
20831
|
//#region src/core/codemirror/lsp/federated-lsp.ts
|
|
@@ -23407,8 +23407,8 @@ var { reducer: jh, createActions: Mh, valueAtom: Nh, useActions: Ph } = cn(Ah, {
|
|
|
23407
23407
|
columnsPreviews: r
|
|
23408
23408
|
};
|
|
23409
23409
|
}
|
|
23410
|
-
}), Fh =
|
|
23411
|
-
|
|
23410
|
+
}), Fh = P((e) => e(Nh).tables);
|
|
23411
|
+
P(/* @__PURE__ */ new Set()), P(!1);
|
|
23412
23412
|
//#endregion
|
|
23413
23413
|
//#region src/core/datasets/data-source-connections.ts
|
|
23414
23414
|
var Ih = /* @__PURE__ */ new Map([[Eh, {
|
|
@@ -23527,8 +23527,8 @@ var { reducer: Bh, createActions: Vh, valueAtom: Hh, useActions: Uh } = cn(zh, {
|
|
|
23527
23527
|
connectionsMap: u
|
|
23528
23528
|
};
|
|
23529
23529
|
}
|
|
23530
|
-
}), Wh =
|
|
23531
|
-
|
|
23530
|
+
}), Wh = P((e) => e(Hh).connectionsMap);
|
|
23531
|
+
P((e) => {
|
|
23532
23532
|
let t = new Map(e(Wh));
|
|
23533
23533
|
for (let e of Dh) {
|
|
23534
23534
|
let n = t.get(e);
|
|
@@ -23537,14 +23537,14 @@ N((e) => {
|
|
|
23537
23537
|
return Qn([...t.values()], (e) => +!!Dh.has(e.name));
|
|
23538
23538
|
});
|
|
23539
23539
|
function Gh(e) {
|
|
23540
|
-
let t =
|
|
23541
|
-
t.connectionsMap.has(e) &&
|
|
23540
|
+
let t = N.get(Hh);
|
|
23541
|
+
t.connectionsMap.has(e) && N.set(Hh, {
|
|
23542
23542
|
...t,
|
|
23543
23543
|
latestEngineSelected: e
|
|
23544
23544
|
});
|
|
23545
23545
|
}
|
|
23546
|
-
var Kh =
|
|
23547
|
-
let t =
|
|
23546
|
+
var Kh = P((e) => {
|
|
23547
|
+
let t = N.get(Fh), n = e(Hh).connectionsMap, r = /* @__PURE__ */ new Map();
|
|
23548
23548
|
for (let e of t) r.set(e.name, e);
|
|
23549
23549
|
for (let e of n.values()) for (let t of e.databases) {
|
|
23550
23550
|
let n = t.name === e.default_database || e.databases.length === 1, i = (o, s) => {
|
|
@@ -23614,17 +23614,17 @@ var Xh = new Jh(new Wo("validate-sql", async (e, t) => {
|
|
|
23614
23614
|
requestId: e,
|
|
23615
23615
|
...t
|
|
23616
23616
|
});
|
|
23617
|
-
}), { maxSize: 3 }), Zh =
|
|
23617
|
+
}), { maxSize: 3 }), Zh = P(/* @__PURE__ */ new Map());
|
|
23618
23618
|
function Qh(e) {
|
|
23619
|
-
let t =
|
|
23620
|
-
n.delete(e),
|
|
23619
|
+
let t = N.get(Zh), n = new Map(t);
|
|
23620
|
+
n.delete(e), N.set(Zh, n);
|
|
23621
23621
|
}
|
|
23622
23622
|
function $h() {
|
|
23623
|
-
|
|
23623
|
+
N.set(Zh, /* @__PURE__ */ new Map());
|
|
23624
23624
|
}
|
|
23625
23625
|
function eg({ cellId: e, errorMessage: t, dialect: n }) {
|
|
23626
|
-
let r =
|
|
23627
|
-
i.set(e, a),
|
|
23626
|
+
let r = N.get(Zh), i = new Map(r), a = n === "DuckDB" ? tg(t) : ng(t);
|
|
23627
|
+
i.set(e, a), N.set(Zh, i);
|
|
23628
23628
|
}
|
|
23629
23629
|
function tg(e) {
|
|
23630
23630
|
let { errorType: t, errorMessage: n } = ng(e), r = n, i, a = n.indexOf("LINE ");
|
|
@@ -24374,7 +24374,7 @@ function Hg(e, t) {
|
|
|
24374
24374
|
}
|
|
24375
24375
|
//#endregion
|
|
24376
24376
|
//#region src/core/codemirror/language/languages/sql/completion-store.ts
|
|
24377
|
-
var Ug =
|
|
24377
|
+
var Ug = P((e) => {
|
|
24378
24378
|
let t = e(Fh), n = new Fg();
|
|
24379
24379
|
for (let e of t) n.addTable([], e);
|
|
24380
24380
|
return n.build();
|
|
@@ -24384,7 +24384,7 @@ var Ug = N((e) => {
|
|
|
24384
24384
|
this.cache = new mr(10, { create: (e) => this.getConnectionSchema(e) });
|
|
24385
24385
|
}
|
|
24386
24386
|
getConnection(e) {
|
|
24387
|
-
return
|
|
24387
|
+
return N.get(Wh).get(e);
|
|
24388
24388
|
}
|
|
24389
24389
|
getConnectionSchema(e) {
|
|
24390
24390
|
let { default_database: t, databases: n, default_schema: r } = e, i = new Fg(), a = n.find((e) => e.name === t || n.length === 1);
|
|
@@ -24428,7 +24428,7 @@ var Ug = N((e) => {
|
|
|
24428
24428
|
getCompletionSource(e) {
|
|
24429
24429
|
let t = this.getConnection(e);
|
|
24430
24430
|
if (!t) return null;
|
|
24431
|
-
let n = () =>
|
|
24431
|
+
let n = () => N.get(Ug), r = this.cache.getOrCreate(t);
|
|
24432
24432
|
return {
|
|
24433
24433
|
dialect: Ch(t),
|
|
24434
24434
|
schema: r.shouldAddLocalTables ? {
|
|
@@ -24516,22 +24516,22 @@ var $g = er(async () => {
|
|
|
24516
24516
|
...e.default.keywords,
|
|
24517
24517
|
...t.default.keywords
|
|
24518
24518
|
};
|
|
24519
|
-
}), e_ =
|
|
24519
|
+
}), e_ = Ct("marimo:notebook-sql-mode", "default", So);
|
|
24520
24520
|
function t_() {
|
|
24521
|
-
let e = (0, R.c)(3), [t, n] =
|
|
24521
|
+
let e = (0, R.c)(3), [t, n] = Et(e_), r;
|
|
24522
24522
|
return e[0] !== n || e[1] !== t ? (r = {
|
|
24523
24523
|
sqlMode: t,
|
|
24524
24524
|
setSQLMode: n
|
|
24525
24525
|
}, e[0] = n, e[1] = t, e[2] = r) : r = e[2], r;
|
|
24526
24526
|
}
|
|
24527
24527
|
function n_() {
|
|
24528
|
-
return
|
|
24528
|
+
return N.get(e_);
|
|
24529
24529
|
}
|
|
24530
24530
|
//#endregion
|
|
24531
24531
|
//#region src/core/codemirror/language/languages/sql/sql.ts
|
|
24532
24532
|
var r_ = bh, i_ = "DuckDB", a_ = new In();
|
|
24533
24533
|
function o_() {
|
|
24534
|
-
let { latestEngineSelected: e, connectionsMap: t } =
|
|
24534
|
+
let { latestEngineSelected: e, connectionsMap: t } = N.get(Hh);
|
|
24535
24535
|
return e === null ? [...t.values()].reverse().find((e) => !Dh.has(e.name) && e.source !== "iceberg")?.name ?? "__marimo_duckdb" : e;
|
|
24536
24536
|
}
|
|
24537
24537
|
var s_ = class {
|
|
@@ -24590,7 +24590,7 @@ var s_ = class {
|
|
|
24590
24590
|
})
|
|
24591
24591
|
];
|
|
24592
24592
|
if (e?.diagnostics?.sql_linter ?? !1) {
|
|
24593
|
-
let e =
|
|
24593
|
+
let e = N.get(Xt), r = new f_({ getParserOptions: (e) => ({ database: y_(e) ?? i_ }) });
|
|
24594
24594
|
n.push(gh({
|
|
24595
24595
|
schema: __,
|
|
24596
24596
|
enableLinting: !0,
|
|
@@ -24912,13 +24912,13 @@ function O_(e) {
|
|
|
24912
24912
|
}
|
|
24913
24913
|
//#endregion
|
|
24914
24914
|
//#region src/core/codemirror/copilot/getCodes.ts
|
|
24915
|
-
var k_ =
|
|
24915
|
+
var k_ = P((e) => {
|
|
24916
24916
|
let t = e(Ze);
|
|
24917
24917
|
return an.fromEntries(t.cellIds.map((e) => {
|
|
24918
24918
|
let n = t.cellHandles[e]?.current?.editorViewOrNull;
|
|
24919
24919
|
return [e, n ? D_(n) : t.cellData[e]?.code ?? ""];
|
|
24920
24920
|
}));
|
|
24921
|
-
}), A_ =
|
|
24921
|
+
}), A_ = P((e) => e(Ze).cellIds), j_ = P((e) => N_(e(A_), e(yo))), M_ = P((e) => ({
|
|
24922
24922
|
cellIds: e(j_),
|
|
24923
24923
|
codes: e(k_)
|
|
24924
24924
|
}));
|
|
@@ -25293,7 +25293,7 @@ var fv = class {
|
|
|
25293
25293
|
} }), a.log("[lsp] Document re-synchronization complete");
|
|
25294
25294
|
}
|
|
25295
25295
|
getNotebookCode() {
|
|
25296
|
-
let { cellIds: e, codes: t } =
|
|
25296
|
+
let { cellIds: e, codes: t } = N.get(M_), n = this.getNotebookEditors();
|
|
25297
25297
|
return {
|
|
25298
25298
|
cellIds: e,
|
|
25299
25299
|
codes: an.fromEntries(e.map((e) => {
|
|
@@ -26121,18 +26121,18 @@ var Uv = "data:image/svg+xml,%3csvg%20role='img'%20viewBox='0%200%2024%2024'%20x
|
|
|
26121
26121
|
alt: n,
|
|
26122
26122
|
className: a
|
|
26123
26123
|
}), t[7] = n, t[8] = a, t[9] = i, t[10] = s) : s = t[10], s;
|
|
26124
|
-
}, ey = Mi, ty = Ii, ny =
|
|
26124
|
+
}, ey = Mi, ty = Ii, ny = Ht(Bi), ry = Ji, iy = qt(Hi), ay = L.forwardRef((e, t) => {
|
|
26125
26125
|
let n = (0, R.c)(22), r, i, a, s, c, l;
|
|
26126
26126
|
n[0] === e ? (r = n[1], i = n[2], a = n[3], s = n[4], c = n[5], l = n[6]) : ({className: r, align: a, sideOffset: s, portal: c, scrollable: l, ...i} = e, n[0] = e, n[1] = r, n[2] = i, n[3] = a, n[4] = s, n[5] = c, n[6] = l);
|
|
26127
26127
|
let u = a === void 0 ? "center" : a, d = s === void 0 ? 4 : s, f = c === void 0 || c, p = l !== void 0 && l, m = p && "overflow-auto", h;
|
|
26128
26128
|
n[7] !== r || n[8] !== m ? (h = o("z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-hidden animate-in data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2", r, m), n[7] = r, n[8] = m, n[9] = h) : h = n[9];
|
|
26129
|
-
let g = p ? `calc(var(--radix-popover-content-available-height) - ${
|
|
26129
|
+
let g = p ? `calc(var(--radix-popover-content-available-height) - ${Vt}px)` : void 0, _;
|
|
26130
26130
|
n[10] !== i.style || n[11] !== g ? (_ = {
|
|
26131
26131
|
...i.style,
|
|
26132
26132
|
maxHeight: g
|
|
26133
26133
|
}, n[10] = i.style, n[11] = g, n[12] = _) : _ = n[12];
|
|
26134
26134
|
let v;
|
|
26135
|
-
n[13] !== u || n[14] !== i || n[15] !== t || n[16] !== d || n[17] !== h || n[18] !== _ ? (v = /* @__PURE__ */ (0, z.jsx)(
|
|
26135
|
+
n[13] !== u || n[14] !== i || n[15] !== t || n[16] !== d || n[17] !== h || n[18] !== _ ? (v = /* @__PURE__ */ (0, z.jsx)(Rt, { children: /* @__PURE__ */ (0, z.jsx)(iy, {
|
|
26136
26136
|
ref: t,
|
|
26137
26137
|
align: u,
|
|
26138
26138
|
sideOffset: d,
|
|
@@ -26150,7 +26150,7 @@ var Uv = "data:image/svg+xml,%3csvg%20role='img'%20viewBox='0%200%2024%2024'%20x
|
|
|
26150
26150
|
ay.displayName = Hi.displayName;
|
|
26151
26151
|
//#endregion
|
|
26152
26152
|
//#region src/core/cells/add-missing-import.ts
|
|
26153
|
-
function oy({ moduleName: e, variableName: t, onAddImport: n, appStore: r =
|
|
26153
|
+
function oy({ moduleName: e, variableName: t, onAddImport: n, appStore: r = N }) {
|
|
26154
26154
|
if (t in r.get(yo)) return !1;
|
|
26155
26155
|
let { cellData: i, cellIds: a } = r.get(Ze), o = RegExp(`import[ \t]+${e}[ \t]+as[ \t]+${t}`, "g");
|
|
26156
26156
|
for (let e of a) if (o.test(i[e].code)) return !1;
|
|
@@ -26187,7 +26187,7 @@ function ly({ moduleName: e, variableName: t, autoInstantiate: n, createCell: r,
|
|
|
26187
26187
|
code: e,
|
|
26188
26188
|
skipIfCodeExists: !0,
|
|
26189
26189
|
focus: !1
|
|
26190
|
-
}) === null ? null : t, n && a !== null && $i(
|
|
26190
|
+
}) === null ? null : t, n && a !== null && $i(N, [a]);
|
|
26191
26191
|
}
|
|
26192
26192
|
}), a;
|
|
26193
26193
|
}
|
|
@@ -26197,7 +26197,7 @@ var uy = "marimo:notebook-col-sizes";
|
|
|
26197
26197
|
function dy() {
|
|
26198
26198
|
return { widths: [] };
|
|
26199
26199
|
}
|
|
26200
|
-
var fy = new Me(uy,
|
|
26200
|
+
var fy = new Me(uy, Wt({ widths: xt(Ft([At(), Yt("contentWidth")]).default("contentWidth")) }), dy);
|
|
26201
26201
|
function py(e, t) {
|
|
26202
26202
|
let n = fy.get(uy).widths, r = $n(n, e, t);
|
|
26203
26203
|
fy.set(uy, { widths: r });
|
|
@@ -26205,7 +26205,7 @@ function py(e, t) {
|
|
|
26205
26205
|
//#endregion
|
|
26206
26206
|
//#region src/core/cells/edit.ts
|
|
26207
26207
|
function my(e) {
|
|
26208
|
-
let t = e(
|
|
26208
|
+
let t = e(yt);
|
|
26209
26209
|
if (!t) throw Error("The notebook has no document to edit");
|
|
26210
26210
|
return t;
|
|
26211
26211
|
}
|
|
@@ -26279,7 +26279,7 @@ function Ey(e, t, n, r) {
|
|
|
26279
26279
|
let c = yy(i);
|
|
26280
26280
|
return c[i.columns.indexOf(a)].ids = $n(vy(a), o, s).flat(), Ty(e, t, c), !0;
|
|
26281
26281
|
}
|
|
26282
|
-
var Dy =
|
|
26282
|
+
var Dy = P(null, (e, t, { cellId: n, before: r, direction: i }) => {
|
|
26283
26283
|
if (i) {
|
|
26284
26284
|
let r = e(Xe), a = at(r, n), o = r.columns.indexOf(a), s = yy(r), c = i === "left" ? o - 1 : o + 1;
|
|
26285
26285
|
if (c < 0 || c >= s.length) return;
|
|
@@ -26290,7 +26290,7 @@ var Dy = N(null, (e, t, { cellId: n, before: r, direction: i }) => {
|
|
|
26290
26290
|
function Oy(e, t, { cellId: n, scroll: r = !0 }, i) {
|
|
26291
26291
|
Ey(e, t, n, (e, t) => i === "top" ? 0 : t.length - 1) && r && gy(t, n);
|
|
26292
26292
|
}
|
|
26293
|
-
var ky =
|
|
26293
|
+
var ky = P(null, (e, t, n) => Oy(e, t, n, "top")), Ay = P(null, (e, t, n) => Oy(e, t, n, "bottom")), jy = P(null, (e, t, { cellId: n, overCellId: r }) => {
|
|
26294
26294
|
let i = e(Xe), a = at(i, n), o = at(i, r);
|
|
26295
26295
|
if (a === o) {
|
|
26296
26296
|
Ey(e, t, n, (e, t) => t.indexOf(r));
|
|
@@ -26298,17 +26298,17 @@ var ky = N(null, (e, t, n) => Oy(e, t, n, "top")), Ay = N(null, (e, t, n) => Oy(
|
|
|
26298
26298
|
}
|
|
26299
26299
|
let s = _y(a, n), c = by(yy(i), new Set(s)), l = c[i.columns.indexOf(o)].ids, u = l.indexOf(r);
|
|
26300
26300
|
l.splice(u, 0, ...s), Ty(e, t, c);
|
|
26301
|
-
}), My =
|
|
26301
|
+
}), My = P(null, (e, t, { cellId: n, columnId: r }) => {
|
|
26302
26302
|
let i = e(Xe), a = Ke(i, r);
|
|
26303
26303
|
if (a === void 0) return;
|
|
26304
26304
|
let o = _y(at(i, n), n), s = by(yy(i), new Set(o));
|
|
26305
26305
|
s[i.columns.indexOf(a)].ids.unshift(...o), Ty(e, t, s);
|
|
26306
|
-
}), Ny =
|
|
26306
|
+
}), Ny = P(null, (e, t, { cellId: n, columnId: r, index: i }) => {
|
|
26307
26307
|
let a = e(Xe), o = Ke(a, r);
|
|
26308
26308
|
if (o === void 0) return;
|
|
26309
26309
|
let s = at(a, n), c = _y(s, n), l = yy(a), u = s.ids.indexOf(n), d = by(l, new Set(c)), f = d[a.columns.indexOf(o)].ids, p = Math.max(0, Math.min(i, o.ids.length));
|
|
26310
26310
|
s === o && u < p && (p -= c.length), f.splice(Math.max(0, Math.min(p, f.length)), 0, ...c), Ty(e, t, d);
|
|
26311
|
-
}), Py =
|
|
26311
|
+
}), Py = P(null, (e, t, { cellIds: n, targetCellId: r, position: i, previousPlacements: a }) => {
|
|
26312
26312
|
if (n.length === 0) return;
|
|
26313
26313
|
let o = e(Xe), s = new Set(n), c = by(yy(o), s), l = c[o.columns.indexOf(at(o, r))].ids, u = l.indexOf(r);
|
|
26314
26314
|
if (u === -1 ? u = l.length : i === "after" && (u += 1), l.splice(u, 0, ...n), Ty(e, t, c), a && a.length === n.length) {
|
|
@@ -26338,7 +26338,7 @@ function Fy(e, t, n, r) {
|
|
|
26338
26338
|
}
|
|
26339
26339
|
Ty(e, t, a);
|
|
26340
26340
|
}
|
|
26341
|
-
var Iy =
|
|
26341
|
+
var Iy = P(null, (e, t, { columnId: n }) => {
|
|
26342
26342
|
let r = e(Xe), i = r.columns.findIndex((e) => e.id === n);
|
|
26343
26343
|
if (i === -1) return;
|
|
26344
26344
|
let a = Ne.create(), o = yy(r);
|
|
@@ -26354,7 +26354,7 @@ var Iy = N(null, (e, t, { columnId: n }) => {
|
|
|
26354
26354
|
config: { column: i + 1 }
|
|
26355
26355
|
}, c === void 0 ? {} : { after: c }), Sy(s, o.slice(0, l))?.(e);
|
|
26356
26356
|
}), gy(t, a);
|
|
26357
|
-
}), Ly =
|
|
26357
|
+
}), Ly = P(null, (e, t, { cellId: n }) => {
|
|
26358
26358
|
let r = e(Xe), i = at(r, n), a = r.columns.indexOf(i), o = i.ids.indexOf(n);
|
|
26359
26359
|
if (a === 0 && o === 0) return;
|
|
26360
26360
|
let s = yy(r), c = st();
|
|
@@ -26365,21 +26365,21 @@ var Iy = N(null, (e, t, { columnId: n }) => {
|
|
|
26365
26365
|
id: o === 0 ? i.id : c,
|
|
26366
26366
|
ids: i.ids.slice(o)
|
|
26367
26367
|
}), Ty(e, t, s);
|
|
26368
|
-
}), Ry =
|
|
26368
|
+
}), Ry = P(null, (e, t, { columnId: n }) => {
|
|
26369
26369
|
let r = e(Xe), i = r.columns.findIndex((e) => e.id === n);
|
|
26370
26370
|
if (i === -1 || r.columns.length <= 1) return;
|
|
26371
26371
|
let a = yy(r), o = i === 0 ? 1 : i - 1;
|
|
26372
26372
|
a[o].ids = i === 0 ? [...a[i].ids, ...a[o].ids] : [...a[o].ids, ...a[i].ids], a.splice(i, 1), Ty(e, t, a);
|
|
26373
|
-
}), zy =
|
|
26373
|
+
}), zy = P(null, (e, t) => {
|
|
26374
26374
|
let n = e(Xe);
|
|
26375
26375
|
n.columns.length <= 1 || Ty(e, t, [{
|
|
26376
26376
|
id: n.columns[0].id,
|
|
26377
26377
|
ids: n.columns.flatMap((e) => [...e.ids])
|
|
26378
26378
|
}]);
|
|
26379
|
-
}), By =
|
|
26379
|
+
}), By = P(null, (e, t) => {
|
|
26380
26380
|
let n = e(Xe), r = yy(n).filter((e) => e.ids.length > 0);
|
|
26381
26381
|
r.length === n.columns.length || n.columns.length <= 1 || Ty(e, t, r);
|
|
26382
|
-
}), Vy =
|
|
26382
|
+
}), Vy = P(null, (e, t, { column: n, overColumn: r }) => {
|
|
26383
26383
|
if (n === r) return;
|
|
26384
26384
|
let i = yy(e(Xe)), a = i.findIndex(({ id: e }) => e === n), o = r === "_left_" ? a - 1 : r === "_right_" ? a + 1 : i.findIndex(({ id: e }) => e === r);
|
|
26385
26385
|
a === -1 || o < 0 || o >= i.length || (Ty(e, t, $n(i, a, o)), py(a, o));
|
|
@@ -26390,7 +26390,7 @@ function Hy(e, t) {
|
|
|
26390
26390
|
for (let n of e.cells.values()) if (n.code === t) return !0;
|
|
26391
26391
|
return !1;
|
|
26392
26392
|
}
|
|
26393
|
-
var Uy =
|
|
26393
|
+
var Uy = P(null, (e, t, n = {}) => {
|
|
26394
26394
|
let { code: r = "", focus: i = !0 } = n, a = hy(e);
|
|
26395
26395
|
if (n.skipIfCodeExists && Hy(a, r)) return null;
|
|
26396
26396
|
let o = e(Xe), s = {}, c = null, l;
|
|
@@ -26414,9 +26414,9 @@ var Uy = N(null, (e, t, n = {}) => {
|
|
|
26414
26414
|
config: d
|
|
26415
26415
|
}, s), c !== null && n.before && e.updateConfig(n.before, { column: null });
|
|
26416
26416
|
}), i && (rb(t, l === void 0 ? [] : ft(o, l)), gy(t, u), d.hide_code && t(dt, (e) => /* @__PURE__ */ new Set([...e, u]))), u;
|
|
26417
|
-
}), Wy =
|
|
26417
|
+
}), Wy = P(null, (e, t, { cellId: n, code: r }) => {
|
|
26418
26418
|
hy(e).cells.has(n) && t(my(e).editAtom, (e) => e.setCode(n, r));
|
|
26419
|
-
}), Gy =
|
|
26419
|
+
}), Gy = P(null, (e, t, { cellId: n }) => {
|
|
26420
26420
|
let r = e(Ze).cellHandles[n]?.current?.editorView;
|
|
26421
26421
|
if (!r) return null;
|
|
26422
26422
|
let { beforeCursorCode: i, afterCursorCode: a } = O_(r), o = E_(r.state, i);
|
|
@@ -26428,7 +26428,7 @@ var Uy = N(null, (e, t, n = {}) => {
|
|
|
26428
26428
|
code: a
|
|
26429
26429
|
}, { after: n });
|
|
26430
26430
|
}), qy(e, t, n), gy(t, s), s;
|
|
26431
|
-
}), Ky =
|
|
26431
|
+
}), Ky = P(null, (e, t, { cellId: n, newCellId: r, snapshot: i }) => {
|
|
26432
26432
|
let a = e(Ze).cellHandles[n]?.current?.editorView, o = a && E_(a.state, i);
|
|
26433
26433
|
a && o && a.dispatch(o);
|
|
26434
26434
|
let s = hy(e);
|
|
@@ -26446,7 +26446,7 @@ function Jy(e, t) {
|
|
|
26446
26446
|
Le(e, t);
|
|
26447
26447
|
for (let n of t) e.set(Yy, { cellId: n });
|
|
26448
26448
|
}
|
|
26449
|
-
var Yy =
|
|
26449
|
+
var Yy = P(null, (e, t, { cellId: n }) => {
|
|
26450
26450
|
let r = He(e, n), i = r && {
|
|
26451
26451
|
executionId: r.record.id,
|
|
26452
26452
|
seq: r.lastSeq ?? -1,
|
|
@@ -26459,17 +26459,17 @@ var Yy = N(null, (e, t, { cellId: n }) => {
|
|
|
26459
26459
|
clearedConsole: i
|
|
26460
26460
|
}
|
|
26461
26461
|
}));
|
|
26462
|
-
}), Xy =
|
|
26462
|
+
}), Xy = P(null, (e, t, { cellId: n }) => {
|
|
26463
26463
|
Jy({
|
|
26464
26464
|
get: e,
|
|
26465
26465
|
set: t
|
|
26466
26466
|
}, [n]);
|
|
26467
|
-
}), Zy =
|
|
26467
|
+
}), Zy = P(null, (e, t) => {
|
|
26468
26468
|
Jy({
|
|
26469
26469
|
get: e,
|
|
26470
26470
|
set: t
|
|
26471
26471
|
}, e(Ze).cellIds);
|
|
26472
|
-
}), Qy =
|
|
26472
|
+
}), Qy = P(null, (e, t, { cellId: n, before: r, create: i = !0 }) => {
|
|
26473
26473
|
if (n === "__scratch__") return;
|
|
26474
26474
|
let { visible: a } = at(e(Xe), n), o = a.indexOf(n), s = r ? o - 1 : o + 1;
|
|
26475
26475
|
o === -1 || s < 0 || s >= a.length ? i && t(Uy, r ? { before: n } : { after: n }) : $y(e, a[s], r ? "bottom" : "top");
|
|
@@ -26484,13 +26484,13 @@ function $y(e, t, n) {
|
|
|
26484
26484
|
variableName: void 0
|
|
26485
26485
|
});
|
|
26486
26486
|
}
|
|
26487
|
-
var eb =
|
|
26487
|
+
var eb = P(null, (e, t, { cellId: n, where: r }) => {
|
|
26488
26488
|
let { visible: i } = at(e(Xe), n), a = i.indexOf(n);
|
|
26489
26489
|
a !== -1 && $y(e, i[na(a + (r === "before" ? -1 : +(r === "after")), 0, i.length - 1)], r === "after" ? "top" : "bottom");
|
|
26490
|
-
}), tb =
|
|
26490
|
+
}), tb = P(null, (e) => {
|
|
26491
26491
|
let t = e(Xe).columns[0]?.visible[0];
|
|
26492
26492
|
t !== void 0 && ($y(e, t, void 0), Ce());
|
|
26493
|
-
}), nb =
|
|
26493
|
+
}), nb = P(null, (e) => {
|
|
26494
26494
|
let t = e(Xe).columns.at(-1)?.visible.at(-1);
|
|
26495
26495
|
t !== void 0 && ($y(e, t, void 0), mt());
|
|
26496
26496
|
});
|
|
@@ -26501,17 +26501,17 @@ function rb(e, t) {
|
|
|
26501
26501
|
return n;
|
|
26502
26502
|
});
|
|
26503
26503
|
}
|
|
26504
|
-
var ib =
|
|
26504
|
+
var ib = P(null, (e, t, { cellId: n }) => {
|
|
26505
26505
|
Je(e(be(n))) && (t($e, (e) => /* @__PURE__ */ new Set([...e, n])), gy(t, n));
|
|
26506
|
-
}), ab =
|
|
26506
|
+
}), ab = P(null, (e, t, { cellId: n }) => {
|
|
26507
26507
|
rb(t, [n]), gy(t, n);
|
|
26508
|
-
}), ob =
|
|
26508
|
+
}), ob = P(null, (e, t) => {
|
|
26509
26509
|
t($e, new Set(e(Ze).cellIds.filter((t) => Je(e(be(t))))));
|
|
26510
|
-
}), sb =
|
|
26510
|
+
}), sb = P(null, (e, t) => {
|
|
26511
26511
|
t($e, /* @__PURE__ */ new Set());
|
|
26512
|
-
}), cb =
|
|
26512
|
+
}), cb = P(null, (e, t, { cellId: n }) => {
|
|
26513
26513
|
rb(t, qe(e(Xe), n));
|
|
26514
|
-
}), lb =
|
|
26514
|
+
}), lb = P(null, (e, t, { code: n } = {}) => {
|
|
26515
26515
|
let { cellIds: r } = e(Ze);
|
|
26516
26516
|
if (r.includes("setup")) {
|
|
26517
26517
|
gy(t, je);
|
|
@@ -26524,7 +26524,7 @@ var ib = N(null, (e, t, { cellId: n }) => {
|
|
|
26524
26524
|
code: n ?? "",
|
|
26525
26525
|
...i.ids.length > 0 ? { before: i.ids[0] } : { endOf: i.id }
|
|
26526
26526
|
});
|
|
26527
|
-
}), ub =
|
|
26527
|
+
}), ub = P(null, (e, t, { code: n }) => {
|
|
26528
26528
|
let r = hy(e).cells.get(je);
|
|
26529
26529
|
if (r === void 0) {
|
|
26530
26530
|
t(lb, { code: n });
|
|
@@ -26535,7 +26535,7 @@ var ib = N(null, (e, t, { cellId: n }) => {
|
|
|
26535
26535
|
cellId: je,
|
|
26536
26536
|
code: i.trim() ? `${i.trimEnd()}\n\n${n}` : n
|
|
26537
26537
|
});
|
|
26538
|
-
}), db =
|
|
26538
|
+
}), db = P(null, (e, t, { cellIds: n }) => {
|
|
26539
26539
|
let r = hy(e), i = e(Ze), o = new Set(n);
|
|
26540
26540
|
for (let e of n) r.cells.has(e) || a.warn("Skipping delete for missing cellId", { cellId: e });
|
|
26541
26541
|
let s = r.order, c = s.flatMap((e) => {
|
|
@@ -26577,7 +26577,7 @@ var ib = N(null, (e, t, { cellId: n }) => {
|
|
|
26577
26577
|
}],
|
|
26578
26578
|
scrollKey: g
|
|
26579
26579
|
})), !0;
|
|
26580
|
-
}), fb =
|
|
26580
|
+
}), fb = P(null, (e, t) => {
|
|
26581
26581
|
let n = e(Ze).history.at(-1);
|
|
26582
26582
|
if (n === void 0) return;
|
|
26583
26583
|
if (n.type === "move") {
|
|
@@ -26605,7 +26605,7 @@ var ib = N(null, (e, t, { cellId: n }) => {
|
|
|
26605
26605
|
}));
|
|
26606
26606
|
});
|
|
26607
26607
|
function pb() {
|
|
26608
|
-
let { addLogs: e, reconcileDocument: t, resetCellRuntimes: n, ...r } = Fe(), i =
|
|
26608
|
+
let { addLogs: e, reconcileDocument: t, resetCellRuntimes: n, ...r } = Fe(), i = M(Uy), a = M(Qy), o = M(lb), s = M(ub), c = M(db), l = M(fb), u = M(eb), d = M(tb), f = M(nb), p = M(ib), m = M(ab), h = M(ob), g = M(sb), _ = M(Xy), v = M(Yy), y = M(Zy), b = M(cb), x = M(Dy), S = M(Ny), C = M(Py), w = M(jy), T = M(My), ee = M(ky), te = M(Ay), E = M(Iy), D = M(Ly), ne = M(Ry), re = M(zy), O = M(By), k = M(Vy), ie = M(Wy), ae = M(Gy), oe = M(Ky);
|
|
26609
26609
|
return (0, L.useMemo)(() => ({
|
|
26610
26610
|
...r,
|
|
26611
26611
|
setCellCode: ie,
|
|
@@ -26669,11 +26669,11 @@ var { reducer: hb, createActions: gb, valueAtom: _b, useActions: vb } = cn(mb, {
|
|
|
26669
26669
|
...e,
|
|
26670
26670
|
focusedCellId: null
|
|
26671
26671
|
})
|
|
26672
|
-
}), yb =
|
|
26672
|
+
}), yb = P((e) => e(_b).lastFocusedCellId);
|
|
26673
26673
|
function bb() {
|
|
26674
|
-
return
|
|
26674
|
+
return tn(yb);
|
|
26675
26675
|
}
|
|
26676
|
-
|
|
26676
|
+
P((e) => {
|
|
26677
26677
|
let t = e(yb);
|
|
26678
26678
|
return !t || t === "__scratch__" ? null : xb(e, t);
|
|
26679
26679
|
});
|
|
@@ -26695,7 +26695,7 @@ function xb(e, t) {
|
|
|
26695
26695
|
//#endregion
|
|
26696
26696
|
//#region src/components/editor/connections/components.tsx
|
|
26697
26697
|
function Sb() {
|
|
26698
|
-
let e = (0, R.c)(4), { createCell: t } = pb(), n = bb(), r =
|
|
26698
|
+
let e = (0, R.c)(4), { createCell: t } = pb(), n = bb(), r = tn(en), i;
|
|
26699
26699
|
return e[0] !== r || e[1] !== t || e[2] !== n ? (i = (e) => {
|
|
26700
26700
|
/\bmo\./.test(e) && sy({
|
|
26701
26701
|
autoInstantiate: r,
|
|
@@ -26723,9 +26723,9 @@ function Tb(e, t) {
|
|
|
26723
26723
|
let n = e.hidesWhen;
|
|
26724
26724
|
return n.kind === "dialect" ? n.substrings.some((e) => t.dialects.some((t) => t.includes(e))) : n.protocols.some((e) => t.storageProtocols.has(e)) ? !0 : n.backendTypes.some((e) => t.storageBackendTypes.has(e));
|
|
26725
26725
|
}
|
|
26726
|
-
var Eb =
|
|
26726
|
+
var Eb = P(0), Db, Ob = 0;
|
|
26727
26727
|
function kb() {
|
|
26728
|
-
let e =
|
|
26728
|
+
let e = N.get(Eb);
|
|
26729
26729
|
return (!Db || Ob !== e) && (Ob = e, Db = j().then(() => Yh.request({})).then((e) => e.sources).catch((t) => {
|
|
26730
26730
|
throw Ob === e && (Db = void 0), t;
|
|
26731
26731
|
})), Db;
|
|
@@ -26781,15 +26781,15 @@ var { reducer: Nb, createActions: Pb, valueAtom: Fb, useActions: Ib } = cn(Mb, {
|
|
|
26781
26781
|
namespaces: r
|
|
26782
26782
|
};
|
|
26783
26783
|
}
|
|
26784
|
-
}), Lb =
|
|
26784
|
+
}), Lb = P((e) => e(Fb).namespaces);
|
|
26785
26785
|
//#endregion
|
|
26786
26786
|
//#region src/hooks/useDataSourceDiscovery.ts
|
|
26787
26787
|
function Rb() {
|
|
26788
|
-
let e = (0, R.c)(2), t =
|
|
26788
|
+
let e = (0, R.c)(2), t = tn(Eb), n;
|
|
26789
26789
|
return e[0] === t ? n = e[1] : (n = [t], e[0] = t, e[1] = n), Dr(kb, n);
|
|
26790
26790
|
}
|
|
26791
26791
|
function zb(e) {
|
|
26792
|
-
let t = (0, R.c)(6), { data: n } = Rb(), r =
|
|
26792
|
+
let t = (0, R.c)(6), { data: n } = Rb(), r = tn(Wh), i = tn(Lb), a;
|
|
26793
26793
|
bb0: {
|
|
26794
26794
|
if (!n) {
|
|
26795
26795
|
let e;
|
|
@@ -26855,7 +26855,7 @@ var Gb = (e) => {
|
|
|
26855
26855
|
addDetectedDataSource: i
|
|
26856
26856
|
}), t[3] = i, t[4] = n, t[5] = r, t[6] = a) : a = t[6], a;
|
|
26857
26857
|
}, qb = (e) => {
|
|
26858
|
-
let t = (0, R.c)(42), { selectedEngine: n, onChange: r, cellId: i, detectedDataSources: a, addDetectedDataSource: o } = e, s =
|
|
26858
|
+
let t = (0, R.c)(42), { selectedEngine: n, onChange: r, cellId: i, detectedDataSources: a, addDetectedDataSource: o } = e, s = tn(Wh), c = [], l = [];
|
|
26859
26859
|
for (let [e, t] of s.entries()) Dh.has(e) ? c.push(t) : l.push(t);
|
|
26860
26860
|
let u = Ub(), d;
|
|
26861
26861
|
t[0] !== s || t[1] !== n ? (d = n && !s.has(n), t[0] = s, t[1] = n, t[2] = d) : d = t[2];
|
|
@@ -27385,7 +27385,7 @@ async function gx(e) {
|
|
|
27385
27385
|
});
|
|
27386
27386
|
if (!n || n.options.length === 0) return;
|
|
27387
27387
|
let r = e.split(".").pop() ?? e, i = n.options[0], a = n.options.find((e) => e.name === r) ?? i;
|
|
27388
|
-
a?.completion_info &&
|
|
27388
|
+
a?.completion_info && N.set(zo, { documentation: a.completion_info });
|
|
27389
27389
|
} catch (t) {
|
|
27390
27390
|
a.debug(`Doc lookup failed for "${e}"`, t);
|
|
27391
27391
|
}
|
|
@@ -27405,7 +27405,7 @@ var _x = (e) => {
|
|
|
27405
27405
|
onMouseLeave: o,
|
|
27406
27406
|
children: r
|
|
27407
27407
|
}), t[4] = r, t[5] = a, t[6] = o, t[7] = s) : s = t[7], s;
|
|
27408
|
-
}, vx =
|
|
27408
|
+
}, vx = P(!1);
|
|
27409
27409
|
//#endregion
|
|
27410
27410
|
//#region src/core/static/export-context.ts
|
|
27411
27411
|
function yx(e) {
|
|
@@ -27421,7 +27421,7 @@ function xx() {
|
|
|
27421
27421
|
return bx()?.trusted === !0;
|
|
27422
27422
|
}
|
|
27423
27423
|
function Sx() {
|
|
27424
|
-
if (
|
|
27424
|
+
if (N.get(vx) || xx() || N.get(en)) return !0;
|
|
27425
27425
|
try {
|
|
27426
27426
|
if (Gn() === "read") return !0;
|
|
27427
27427
|
} catch {}
|
|
@@ -27429,8 +27429,8 @@ function Sx() {
|
|
|
27429
27429
|
}
|
|
27430
27430
|
//#endregion
|
|
27431
27431
|
//#region src/plugins/core/sanitize.ts
|
|
27432
|
-
var Cx =
|
|
27433
|
-
let t = e(vx), n = e(
|
|
27432
|
+
var Cx = P((e) => {
|
|
27433
|
+
let t = e(vx), n = e(en);
|
|
27434
27434
|
if (t || n || xx()) return !1;
|
|
27435
27435
|
let r = !0;
|
|
27436
27436
|
try {
|
|
@@ -27441,7 +27441,7 @@ var Cx = N((e) => {
|
|
|
27441
27441
|
return !r;
|
|
27442
27442
|
});
|
|
27443
27443
|
function wx() {
|
|
27444
|
-
return
|
|
27444
|
+
return tn(Cx);
|
|
27445
27445
|
}
|
|
27446
27446
|
//#endregion
|
|
27447
27447
|
//#region src/plugins/core/RenderHTML.tsx
|
|
@@ -28123,19 +28123,19 @@ function MS() {
|
|
|
28123
28123
|
}
|
|
28124
28124
|
function NS(e, t) {
|
|
28125
28125
|
let n = (0, R.c)(4), { documentAtom: r } = MS(), i;
|
|
28126
|
-
return n[0] !== r || n[1] !== t || n[2] !== e ? (i = AS(r, e, t), n[0] = r, n[1] = t, n[2] = e, n[3] = i) : i = n[3],
|
|
28126
|
+
return n[0] !== r || n[1] !== t || n[2] !== e ? (i = AS(r, e, t), n[0] = r, n[1] = t, n[2] = e, n[3] = i) : i = n[3], tn(i);
|
|
28127
28127
|
}
|
|
28128
28128
|
function PS(e) {
|
|
28129
28129
|
return NS(e, "config");
|
|
28130
28130
|
}
|
|
28131
28131
|
function FS() {
|
|
28132
|
-
return
|
|
28132
|
+
return M(MS().editAtom);
|
|
28133
28133
|
}
|
|
28134
28134
|
//#endregion
|
|
28135
28135
|
//#region src/core/cells/outputs.ts
|
|
28136
28136
|
var IS = {}, LS = {};
|
|
28137
28137
|
function RS(e) {
|
|
28138
|
-
let t = (0, R.c)(14), { mode: n } =
|
|
28138
|
+
let t = (0, R.c)(14), { mode: n } = tn(Un), r = FS(), i = PS(e)?.expand_output ?? !1, a;
|
|
28139
28139
|
t[0] !== e || t[1] !== i ? (a = () => IS[e] ?? i, t[0] = e, t[1] = i, t[2] = a) : a = t[2];
|
|
28140
28140
|
let [o, s] = (0, L.useState)(a), c, l;
|
|
28141
28141
|
t[3] !== e || t[4] !== o ? (c = () => {
|
|
@@ -28161,7 +28161,7 @@ function BS(e) {
|
|
|
28161
28161
|
}
|
|
28162
28162
|
//#endregion
|
|
28163
28163
|
//#region src/plugins/impl/code/LazyAnyLanguageCodeMirror.tsx
|
|
28164
|
-
var VS = (0, L.lazy)(() => import("./any-language-editor-
|
|
28164
|
+
var VS = (0, L.lazy)(() => import("./any-language-editor-yG-YmLaK.js")), HS = [_n.lineWrapping], US = (0, L.createContext)(!0);
|
|
28165
28165
|
function WS(e, t) {
|
|
28166
28166
|
return e ? e === "python" ? {
|
|
28167
28167
|
language: e,
|
|
@@ -28184,7 +28184,7 @@ function WS(e, t) {
|
|
|
28184
28184
|
};
|
|
28185
28185
|
}
|
|
28186
28186
|
var GS = (e) => {
|
|
28187
|
-
let t = (0, R.c)(6), { code: n, language: r } = e, { createCell: i } = pb(), a = bb(), o =
|
|
28187
|
+
let t = (0, R.c)(6), { code: n, language: r } = e, { createCell: i } = pb(), a = bb(), o = tn(en), s;
|
|
28188
28188
|
return t[0] !== o || t[1] !== n || t[2] !== i || t[3] !== r || t[4] !== a ? (s = /* @__PURE__ */ (0, z.jsx)(u, {
|
|
28189
28189
|
size: "xs",
|
|
28190
28190
|
variant: "outline",
|
|
@@ -28202,7 +28202,7 @@ var GS = (e) => {
|
|
|
28202
28202
|
children: "Add to Notebook"
|
|
28203
28203
|
}), t[0] = o, t[1] = n, t[2] = i, t[3] = r, t[4] = a, t[5] = s) : s = t[5], s;
|
|
28204
28204
|
}, KS = (e) => {
|
|
28205
|
-
let t = (0, R.c)(18), { code: n, language: r } = e, { theme: i } =
|
|
28205
|
+
let t = (0, R.c)(18), { code: n, language: r } = e, { theme: i } = Mt(), a = (0, L.useContext)(US), [o, s] = (0, L.useState)(n);
|
|
28206
28206
|
o !== n && s(n);
|
|
28207
28207
|
let c;
|
|
28208
28208
|
t[0] === o ? c = t[1] : (c = async () => {
|