@backmatter/studio 0.0.18 → 0.0.20
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/chunks/{UiKitApp-DkuQBiQZ.js → UiKitApp-C269OA8v.js} +528 -481
- package/dist/chunks/{WorkspaceRoutes-DVvb3N-V.js → WorkspaceRoutes-B4B5jjje.js} +24376 -23915
- package/dist/chunks/{dashboard-B4FITg6c.js → dashboard-DeNgythd.js} +586 -565
- package/dist/chunks/{index-CegtXnEI.js → index-7-TtXaMq.js} +104 -104
- package/dist/dashboard.js +2 -2
- package/dist/index.js +166 -159
- package/dist/site-widget.css +25 -6
- package/dist/site-widget.js +6925 -6840
- package/dist/studio.css +171 -36
- package/package.json +2 -2
- package/src/api.ts +48 -1
- package/src/chat/ChatMessage.tsx +4 -4
- package/src/chat/ChatProvider.tsx +6 -0
- package/src/chat/chat-helpers.ts +54 -2
- package/src/chrome/CommandPalette.tsx +3 -3
- package/src/chrome/ContentExplorerSidebar.tsx +421 -74
- package/src/chrome/WorkspaceStatusBar.tsx +24 -24
- package/src/chrome/commit-error.ts +48 -60
- package/src/chrome/commit-failure.tsx +2 -2
- package/src/chrome/content-path-tree.ts +4 -0
- package/src/chrome/explorer-row-menu.ts +28 -0
- package/src/chrome/folder-create-context.ts +14 -0
- package/src/chrome/use-publish-check.ts +75 -0
- package/src/fields/FieldControl.tsx +173 -62
- package/src/pages/BlocksList.tsx +38 -3
- package/src/pages/DocEditorPage.tsx +47 -64
- package/src/pages/EmbedPublishPage.tsx +13 -5
- package/src/pages/GithubConnectPage.tsx +1 -1
- package/src/pages/LoginPage.tsx +67 -5
- package/src/pages/MediaFieldInput.tsx +155 -63
- package/src/pages/MediaGalleryPage.tsx +56 -3
- package/src/pages/PreviewAddress.tsx +30 -0
- package/src/pages/WorkspaceHomePage.tsx +1 -1
- package/src/pages/ui-kit/colors.tsx +2 -0
- package/src/pages/ui-kit/fields.tsx +60 -0
- package/src/styles/themes.ts +2 -0
- package/src/styles/tokens.stylex.ts +1 -0
- package/src/ui/Button.tsx +14 -0
- package/src/ui/Field.tsx +12 -1
- package/src/ui/Input.tsx +191 -97
- package/src/ui/popup.ts +13 -6
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var Rs = Object.defineProperty;
|
|
2
2
|
var Es = (r, e, t) => e in r ? Rs(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t;
|
|
3
3
|
var M = (r, e, t) => Es(r, typeof e != "symbol" ? e + "" : e, t);
|
|
4
|
-
import {
|
|
4
|
+
import { aN as Bt, aO as Bs, aP as a0, aQ as ct, aR as xt, aS as ea, aT as Gn, aU as Is, aV as Ls, aW as Ds, aX as La, aY as Ps, aZ as Os, a_ as Le, a$ as qs } from "./WorkspaceRoutes-B4B5jjje.js";
|
|
5
5
|
function Fs() {
|
|
6
6
|
return {
|
|
7
7
|
enter: {
|
|
@@ -286,7 +286,7 @@ var Js = /([A-Z])/g, Ys = (r) => r.replace(Js, "-$1").toLowerCase(), Ks = {
|
|
|
286
286
|
"<": "<",
|
|
287
287
|
'"': """,
|
|
288
288
|
"'": "'"
|
|
289
|
-
},
|
|
289
|
+
}, Zs = /[&><"']/g, fe = (r) => String(r).replace(Zs, (e) => Ks[e]), f0 = (r) => r.type === "ordgroup" || r.type === "color" ? r.body.length === 1 ? f0(r.body[0]) : r : r.type === "font" ? f0(r.body) : r, Qs = /* @__PURE__ */ new Set(["mathord", "textord", "atom"]), We = (r) => Qs.has(f0(r).type), eo = (r) => {
|
|
290
290
|
var e = /^[\x00-\x20]*([^\\/#?]*?)(:|�*58|�*3a|&colon)/i.exec(r);
|
|
291
291
|
return e ? e[2] !== ":" || !/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(e[1]) ? null : e[1].toLowerCase() : "_relative";
|
|
292
292
|
}, Tr = {
|
|
@@ -459,7 +459,7 @@ class ta {
|
|
|
459
459
|
return !!a;
|
|
460
460
|
}
|
|
461
461
|
}
|
|
462
|
-
class
|
|
462
|
+
class Ze {
|
|
463
463
|
constructor(e, t, a) {
|
|
464
464
|
this.id = void 0, this.size = void 0, this.cramped = void 0, this.id = e, this.size = t, this.cramped = a;
|
|
465
465
|
}
|
|
@@ -509,7 +509,7 @@ class Qe {
|
|
|
509
509
|
return this.size >= 2;
|
|
510
510
|
}
|
|
511
511
|
}
|
|
512
|
-
var ra = 0, b0 = 1, St = 2, $e = 3, Ft = 4, Ne = 5, kt = 6, ye = 7, Ie = [new
|
|
512
|
+
var ra = 0, b0 = 1, St = 2, $e = 3, Ft = 4, Ne = 5, kt = 6, ye = 7, Ie = [new Ze(ra, 0, !1), new Ze(b0, 0, !0), new Ze(St, 1, !1), new Ze($e, 1, !0), new Ze(Ft, 2, !1), new Ze(Ne, 2, !0), new Ze(kt, 3, !1), new Ze(ye, 3, !0)], no = [Ft, Ne, Ft, Ne, kt, ye, kt, ye], io = [Ne, Ne, Ne, Ne, ye, ye, ye, ye], so = [St, $e, Ft, Ne, kt, ye, kt, ye], oo = [$e, $e, Ne, Ne, ye, ye, ye, ye], lo = [b0, b0, $e, $e, Ne, Ne, ye, ye], uo = [ra, b0, St, $e, St, $e, St, $e], H = {
|
|
513
513
|
DISPLAY: Ie[ra],
|
|
514
514
|
TEXT: Ie[St],
|
|
515
515
|
SCRIPT: Ie[Ft],
|
|
@@ -1078,7 +1078,7 @@ var Mr = {
|
|
|
1078
1078
|
mu: !0
|
|
1079
1079
|
}, $n = function(e) {
|
|
1080
1080
|
return typeof e != "string" && (e = e.unit), e in Mr || e in ko || e === "ex";
|
|
1081
|
-
},
|
|
1081
|
+
}, Q = function(e, t) {
|
|
1082
1082
|
var a;
|
|
1083
1083
|
if (e.unit in Mr)
|
|
1084
1084
|
a = Mr[e.unit] / t.fontMetrics().ptPerEm / t.sizeMultiplier;
|
|
@@ -4197,8 +4197,8 @@ G = "𝕜";
|
|
|
4197
4197
|
u(c, m, F, "k", G);
|
|
4198
4198
|
u(z, m, x, "k", G);
|
|
4199
4199
|
for (var lt = 0; lt < 10; lt++) {
|
|
4200
|
-
var
|
|
4201
|
-
G = String.fromCharCode(55349, 57294 + lt), u(c, m, F,
|
|
4200
|
+
var Qe = lt.toString();
|
|
4201
|
+
G = String.fromCharCode(55349, 57294 + lt), u(c, m, F, Qe, G), u(z, m, x, Qe, G), G = String.fromCharCode(55349, 57314 + lt), u(c, m, F, Qe, G), u(z, m, x, Qe, G), G = String.fromCharCode(55349, 57324 + lt), u(c, m, F, Qe, G), u(z, m, x, Qe, G), G = String.fromCharCode(55349, 57334 + lt), u(c, m, F, Qe, G), u(z, m, x, Qe, G);
|
|
4202
4202
|
}
|
|
4203
4203
|
var Nr = "ÐÞþ";
|
|
4204
4204
|
for (var or = 0; or < Nr.length; or++) {
|
|
@@ -4515,7 +4515,7 @@ var _r = {
|
|
|
4515
4515
|
var q = N(["vlist-t"], I);
|
|
4516
4516
|
return I.length === 2 && q.classes.push("vlist-t2"), q.height = g, q.depth = -p, q;
|
|
4517
4517
|
}, Jn = (r, e) => {
|
|
4518
|
-
var t = N(["mspace"], [], e), a =
|
|
4518
|
+
var t = N(["mspace"], [], e), a = Q(r, e);
|
|
4519
4519
|
return t.style.marginRight = B(a), t;
|
|
4520
4520
|
}, o0 = (r, e, t) => {
|
|
4521
4521
|
var a, n;
|
|
@@ -4609,7 +4609,7 @@ var _r = {
|
|
|
4609
4609
|
preserveAspectRatio: "xMinYMin"
|
|
4610
4610
|
}), o = it(["overlay"], [l], t);
|
|
4611
4611
|
return o.height = i, o.style.height = B(i), o.style.width = B(n), o;
|
|
4612
|
-
},
|
|
4612
|
+
}, Z = {
|
|
4613
4613
|
number: 3,
|
|
4614
4614
|
unit: "mu"
|
|
4615
4615
|
}, ut = {
|
|
@@ -4620,16 +4620,16 @@ var _r = {
|
|
|
4620
4620
|
unit: "mu"
|
|
4621
4621
|
}, qo = {
|
|
4622
4622
|
mord: {
|
|
4623
|
-
mop:
|
|
4623
|
+
mop: Z,
|
|
4624
4624
|
mbin: ut,
|
|
4625
4625
|
mrel: Fe,
|
|
4626
|
-
minner:
|
|
4626
|
+
minner: Z
|
|
4627
4627
|
},
|
|
4628
4628
|
mop: {
|
|
4629
|
-
mord:
|
|
4630
|
-
mop:
|
|
4629
|
+
mord: Z,
|
|
4630
|
+
mop: Z,
|
|
4631
4631
|
mrel: Fe,
|
|
4632
|
-
minner:
|
|
4632
|
+
minner: Z
|
|
4633
4633
|
},
|
|
4634
4634
|
mbin: {
|
|
4635
4635
|
mord: ut,
|
|
@@ -4645,48 +4645,48 @@ var _r = {
|
|
|
4645
4645
|
},
|
|
4646
4646
|
mopen: {},
|
|
4647
4647
|
mclose: {
|
|
4648
|
-
mop:
|
|
4648
|
+
mop: Z,
|
|
4649
4649
|
mbin: ut,
|
|
4650
4650
|
mrel: Fe,
|
|
4651
|
-
minner:
|
|
4651
|
+
minner: Z
|
|
4652
4652
|
},
|
|
4653
4653
|
mpunct: {
|
|
4654
|
-
mord:
|
|
4655
|
-
mop:
|
|
4654
|
+
mord: Z,
|
|
4655
|
+
mop: Z,
|
|
4656
4656
|
mrel: Fe,
|
|
4657
|
-
mopen:
|
|
4658
|
-
mclose:
|
|
4659
|
-
mpunct:
|
|
4660
|
-
minner:
|
|
4657
|
+
mopen: Z,
|
|
4658
|
+
mclose: Z,
|
|
4659
|
+
mpunct: Z,
|
|
4660
|
+
minner: Z
|
|
4661
4661
|
},
|
|
4662
4662
|
minner: {
|
|
4663
|
-
mord:
|
|
4664
|
-
mop:
|
|
4663
|
+
mord: Z,
|
|
4664
|
+
mop: Z,
|
|
4665
4665
|
mbin: ut,
|
|
4666
4666
|
mrel: Fe,
|
|
4667
|
-
mopen:
|
|
4668
|
-
mpunct:
|
|
4669
|
-
minner:
|
|
4667
|
+
mopen: Z,
|
|
4668
|
+
mpunct: Z,
|
|
4669
|
+
minner: Z
|
|
4670
4670
|
}
|
|
4671
4671
|
}, Fo = {
|
|
4672
4672
|
mord: {
|
|
4673
|
-
mop:
|
|
4673
|
+
mop: Z
|
|
4674
4674
|
},
|
|
4675
4675
|
mop: {
|
|
4676
|
-
mord:
|
|
4677
|
-
mop:
|
|
4676
|
+
mord: Z,
|
|
4677
|
+
mop: Z
|
|
4678
4678
|
},
|
|
4679
4679
|
mbin: {},
|
|
4680
4680
|
mrel: {},
|
|
4681
4681
|
mopen: {},
|
|
4682
4682
|
mclose: {
|
|
4683
|
-
mop:
|
|
4683
|
+
mop: Z
|
|
4684
4684
|
},
|
|
4685
4685
|
mpunct: {},
|
|
4686
4686
|
minner: {
|
|
4687
|
-
mop:
|
|
4687
|
+
mop: Z
|
|
4688
4688
|
}
|
|
4689
|
-
},
|
|
4689
|
+
}, Zn = {}, x0 = {}, S0 = {};
|
|
4690
4690
|
function L(r) {
|
|
4691
4691
|
for (var {
|
|
4692
4692
|
type: e,
|
|
@@ -4707,7 +4707,7 @@ function L(r) {
|
|
|
4707
4707
|
primitive: !!a.primitive,
|
|
4708
4708
|
handler: n
|
|
4709
4709
|
}, o = 0; o < t.length; ++o)
|
|
4710
|
-
|
|
4710
|
+
Zn[t[o]] = l;
|
|
4711
4711
|
e && (i && (x0[e] = i), s && (S0[e] = s));
|
|
4712
4712
|
}
|
|
4713
4713
|
function dt(r) {
|
|
@@ -4780,7 +4780,7 @@ var k0 = function(e) {
|
|
|
4780
4780
|
}, Lr = function(e, t, a, n, i) {
|
|
4781
4781
|
n && e.push(n);
|
|
4782
4782
|
for (var s = 0; s < e.length; s++) {
|
|
4783
|
-
var l = e[s], o =
|
|
4783
|
+
var l = e[s], o = Qn(l);
|
|
4784
4784
|
if (o) {
|
|
4785
4785
|
Lr(o.children, t, a, null, i);
|
|
4786
4786
|
continue;
|
|
@@ -4795,10 +4795,10 @@ var k0 = function(e) {
|
|
|
4795
4795
|
})(s);
|
|
4796
4796
|
}
|
|
4797
4797
|
n && e.pop();
|
|
4798
|
-
},
|
|
4798
|
+
}, Qn = function(e) {
|
|
4799
4799
|
return e instanceof Mt || e instanceof L0 || e instanceof zt && e.hasClass("enclosing") ? e : null;
|
|
4800
4800
|
}, Dr = function(e, t) {
|
|
4801
|
-
var a =
|
|
4801
|
+
var a = Qn(e);
|
|
4802
4802
|
if (a) {
|
|
4803
4803
|
var n = a.children;
|
|
4804
4804
|
if (n.length) {
|
|
@@ -5114,7 +5114,7 @@ var Xo = [
|
|
|
5114
5114
|
1.728,
|
|
5115
5115
|
2.074,
|
|
5116
5116
|
2.488
|
|
5117
|
-
],
|
|
5117
|
+
], Za = function(e, t) {
|
|
5118
5118
|
return t.size < 2 ? e : Xo[e - 1][t.size - 1];
|
|
5119
5119
|
};
|
|
5120
5120
|
class Ge {
|
|
@@ -5148,7 +5148,7 @@ class Ge {
|
|
|
5148
5148
|
havingStyle(e) {
|
|
5149
5149
|
return this.style === e ? this : this.extend({
|
|
5150
5150
|
style: e,
|
|
5151
|
-
size:
|
|
5151
|
+
size: Za(this.textSize, e)
|
|
5152
5152
|
});
|
|
5153
5153
|
}
|
|
5154
5154
|
/**
|
|
@@ -5176,7 +5176,7 @@ class Ge {
|
|
|
5176
5176
|
*/
|
|
5177
5177
|
havingBaseStyle(e) {
|
|
5178
5178
|
e = e || this.style.text();
|
|
5179
|
-
var t =
|
|
5179
|
+
var t = Za(Ge.BASESIZE, e);
|
|
5180
5180
|
return this.size === t && this.textSize === Ge.BASESIZE && this.style === e ? this : this.extend({
|
|
5181
5181
|
style: e,
|
|
5182
5182
|
size: t
|
|
@@ -5362,7 +5362,7 @@ var ri = function(e) {
|
|
|
5362
5362
|
}, O0 = function(e) {
|
|
5363
5363
|
var t = new E("mo", [new ie(Ko[e.replace(/^\\/, "")])]);
|
|
5364
5364
|
return t.setAttribute("stretchy", "true"), t;
|
|
5365
|
-
},
|
|
5365
|
+
}, Zo = {
|
|
5366
5366
|
// path(s), minWidth, height, align
|
|
5367
5367
|
overrightarrow: [["rightarrow"], 0.888, 522, "xMaxYMin"],
|
|
5368
5368
|
overleftarrow: [["leftarrow"], 0.888, 522, "xMinYMin"],
|
|
@@ -5411,10 +5411,10 @@ var ri = function(e) {
|
|
|
5411
5411
|
xrightleftarrows: [["baraboveleftarrow", "rightarrowabovebar"], 1.75, 901],
|
|
5412
5412
|
xrightequilibrium: [["baraboveshortleftharpoon", "rightharpoonaboveshortbar"], 1.75, 716],
|
|
5413
5413
|
xleftequilibrium: [["shortbaraboveleftharpoon", "shortrightharpoonabovebar"], 1.75, 716]
|
|
5414
|
-
},
|
|
5414
|
+
}, Qo = /* @__PURE__ */ new Set(["widehat", "widecheck", "widetilde", "utilde"]), q0 = function(e, t) {
|
|
5415
5415
|
function a() {
|
|
5416
5416
|
var l = 4e5, o = e.label.slice(1);
|
|
5417
|
-
if (
|
|
5417
|
+
if (Qo.has(o) && "base" in e) {
|
|
5418
5418
|
var h = e.base.type === "ordgroup" ? e.base.body.length : 1, d, p, g;
|
|
5419
5419
|
if (h > 5)
|
|
5420
5420
|
o === "widehat" || o === "widecheck" ? (d = 420, l = 2364, g = 0.42, p = o + "4") : (d = 312, l = 2340, g = 0.34, p = "tilde4");
|
|
@@ -5434,7 +5434,7 @@ var ri = function(e) {
|
|
|
5434
5434
|
height: g
|
|
5435
5435
|
};
|
|
5436
5436
|
} else {
|
|
5437
|
-
var T = [], A =
|
|
5437
|
+
var T = [], A = Zo[o];
|
|
5438
5438
|
if (!A)
|
|
5439
5439
|
throw new Error('No SVG data for "' + o + '".');
|
|
5440
5440
|
var [k, C, _] = A, I = _ / 1e3, P = k.length, O, j;
|
|
@@ -5925,7 +5925,7 @@ var il = {
|
|
|
5925
5925
|
V: "\\downarrow",
|
|
5926
5926
|
"|": "\\Vert",
|
|
5927
5927
|
".": "no arrow"
|
|
5928
|
-
},
|
|
5928
|
+
}, Qa = () => ({
|
|
5929
5929
|
type: "styling",
|
|
5930
5930
|
body: [],
|
|
5931
5931
|
mode: "math",
|
|
@@ -5984,7 +5984,7 @@ function ll(r) {
|
|
|
5984
5984
|
throw new R("Expected \\\\ or \\cr or \\end", r.nextToken);
|
|
5985
5985
|
}
|
|
5986
5986
|
for (var a = [], n = [a], i = 0; i < e.length; i++) {
|
|
5987
|
-
for (var s = e[i], l =
|
|
5987
|
+
for (var s = e[i], l = Qa(), o = 0; o < s.length; o++)
|
|
5988
5988
|
if (!en(s[o]))
|
|
5989
5989
|
l.body.push(s[o]);
|
|
5990
5990
|
else {
|
|
@@ -6022,7 +6022,7 @@ function ll(r) {
|
|
|
6022
6022
|
// CD is always displaystyle.
|
|
6023
6023
|
resetFont: !0
|
|
6024
6024
|
};
|
|
6025
|
-
a.push(S), l =
|
|
6025
|
+
a.push(S), l = Qa();
|
|
6026
6026
|
}
|
|
6027
6027
|
i % 2 === 0 ? a.push(l) : a.shift(), a = [], n.push(a);
|
|
6028
6028
|
}
|
|
@@ -6201,11 +6201,11 @@ L({
|
|
|
6201
6201
|
// not within tabular/array environments.
|
|
6202
6202
|
htmlBuilder(r, e) {
|
|
6203
6203
|
var t = N(["mspace"], [], e);
|
|
6204
|
-
return r.newLine && (t.classes.push("newline"), r.size && (t.style.marginTop = B(
|
|
6204
|
+
return r.newLine && (t.classes.push("newline"), r.size && (t.style.marginTop = B(Q(r.size, e)))), t;
|
|
6205
6205
|
},
|
|
6206
6206
|
mathmlBuilder(r, e) {
|
|
6207
6207
|
var t = new E("mspace");
|
|
6208
|
-
return r.newLine && (t.setAttribute("linebreak", "newline"), r.size && t.setAttribute("height", B(
|
|
6208
|
+
return r.newLine && (t.setAttribute("linebreak", "newline"), r.size && t.setAttribute("height", B(Q(r.size, e)))), t;
|
|
6209
6209
|
}
|
|
6210
6210
|
});
|
|
6211
6211
|
var qr = {
|
|
@@ -6779,10 +6779,10 @@ var j0 = (r, e) => {
|
|
|
6779
6779
|
if (a === "sout")
|
|
6780
6780
|
i = N(["stretchy", "sout"]), i.height = e.fontMetrics().defaultRuleThickness / n, s = -0.5 * e.fontMetrics().xHeight;
|
|
6781
6781
|
else if (a === "phase") {
|
|
6782
|
-
var o =
|
|
6782
|
+
var o = Q({
|
|
6783
6783
|
number: 0.6,
|
|
6784
6784
|
unit: "pt"
|
|
6785
|
-
}, e), h =
|
|
6785
|
+
}, e), h = Q({
|
|
6786
6786
|
number: 0.35,
|
|
6787
6787
|
unit: "ex"
|
|
6788
6788
|
}, e), d = e.havingBaseSizing();
|
|
@@ -7175,7 +7175,7 @@ var Oe = function(e, t) {
|
|
|
7175
7175
|
var v = t.havingStyle(H.SCRIPT).sizeMultiplier;
|
|
7176
7176
|
g = 0.2778 * (v / t.sizeMultiplier);
|
|
7177
7177
|
}
|
|
7178
|
-
var w = e.colSeparationType === "CD" ?
|
|
7178
|
+
var w = e.colSeparationType === "CD" ? Q({
|
|
7179
7179
|
number: 3,
|
|
7180
7180
|
unit: "ex"
|
|
7181
7181
|
}, t) : 12 * p, S = 3 * p, T = e.arraystretch * w, A = 0.7 * T, k = 0.3 * T, C = 0;
|
|
@@ -7200,7 +7200,7 @@ var Oe = function(e, t) {
|
|
|
7200
7200
|
O < q.depth && (O = q.depth), P < q.height && (P = q.height), j.cells[n] = q;
|
|
7201
7201
|
}
|
|
7202
7202
|
var K = e.rowGaps[a], te = 0;
|
|
7203
|
-
K && (te =
|
|
7203
|
+
K && (te = Q(K, t), te > 0 && (te += k, O < te && (O = te), te = 0)), e.addJot && a < e.body.length - 1 && (O += S), j.height = P, j.depth = O, C += P, j.pos = C, C += O + te, o[a] = j, _(s[a + 1]);
|
|
7204
7204
|
}
|
|
7205
7205
|
var V = C / 2 + t.fontMetrics().axisHeight, Je = e.cols || [], re = [], he, Ce, ft = [];
|
|
7206
7206
|
if (e.tags && e.tags.some((t0) => t0))
|
|
@@ -7238,12 +7238,12 @@ var Oe = function(e, t) {
|
|
|
7238
7238
|
}
|
|
7239
7239
|
var _a = [];
|
|
7240
7240
|
for (a = 0; a < i; ++a) {
|
|
7241
|
-
var
|
|
7242
|
-
if (
|
|
7243
|
-
var As =
|
|
7244
|
-
|
|
7241
|
+
var Zt = o[a], Qt = Zt.cells[n];
|
|
7242
|
+
if (Qt) {
|
|
7243
|
+
var As = Zt.pos - V;
|
|
7244
|
+
Qt.depth = Zt.depth, Qt.height = Zt.height, _a.push({
|
|
7245
7245
|
type: "elem",
|
|
7246
|
-
elem:
|
|
7246
|
+
elem: Qt,
|
|
7247
7247
|
shift: As
|
|
7248
7248
|
});
|
|
7249
7249
|
}
|
|
@@ -7782,7 +7782,7 @@ var Sl = (r, e) => {
|
|
|
7782
7782
|
}
|
|
7783
7783
|
i = e.havingStyle(n);
|
|
7784
7784
|
var h = W(r.denom, i, e), d, p, g;
|
|
7785
|
-
r.hasBarLine ? (r.barSize ? (p =
|
|
7785
|
+
r.hasBarLine ? (r.barSize ? (p = Q(r.barSize, e), d = At("frac-line", e, p)) : d = At("frac-line", e), p = d.height, g = d.height) : (d = null, p = 0, g = e.fontMetrics().defaultRuleThickness);
|
|
7786
7786
|
var v, w, S;
|
|
7787
7787
|
t.size === H.DISPLAY.size ? (v = e.fontMetrics().num1, p > 0 ? w = 3 * g : w = 7 * g, S = e.fontMetrics().denom1) : (p > 0 ? (v = e.fontMetrics().num2, w = g) : (v = e.fontMetrics().num3, w = 3 * g), S = e.fontMetrics().denom2);
|
|
7788
7788
|
var T;
|
|
@@ -7831,7 +7831,7 @@ var Sl = (r, e) => {
|
|
|
7831
7831
|
if (!r.hasBarLine)
|
|
7832
7832
|
t.setAttribute("linethickness", "0px");
|
|
7833
7833
|
else if (r.barSize) {
|
|
7834
|
-
var a =
|
|
7834
|
+
var a = Q(r.barSize, e);
|
|
7835
7835
|
t.setAttribute("linethickness", B(a));
|
|
7836
7836
|
}
|
|
7837
7837
|
if (r.leftDelim != null || r.rightDelim != null) {
|
|
@@ -8408,10 +8408,10 @@ L({
|
|
|
8408
8408
|
} : a.formatUnsupportedCmd("\\includegraphics");
|
|
8409
8409
|
},
|
|
8410
8410
|
htmlBuilder: (r, e) => {
|
|
8411
|
-
var t =
|
|
8412
|
-
r.totalheight.number > 0 && (a =
|
|
8411
|
+
var t = Q(r.height, e), a = 0;
|
|
8412
|
+
r.totalheight.number > 0 && (a = Q(r.totalheight, e) - t);
|
|
8413
8413
|
var n = 0;
|
|
8414
|
-
r.width.number > 0 && (n =
|
|
8414
|
+
r.width.number > 0 && (n = Q(r.width, e));
|
|
8415
8415
|
var i = {
|
|
8416
8416
|
height: B(t + a)
|
|
8417
8417
|
};
|
|
@@ -8422,9 +8422,9 @@ L({
|
|
|
8422
8422
|
mathmlBuilder: (r, e) => {
|
|
8423
8423
|
var t = new E("mglyph", []);
|
|
8424
8424
|
t.setAttribute("alt", r.alt);
|
|
8425
|
-
var a =
|
|
8426
|
-
if (r.totalheight.number > 0 && (n =
|
|
8427
|
-
var i =
|
|
8425
|
+
var a = Q(r.height, e), n = 0;
|
|
8426
|
+
if (r.totalheight.number > 0 && (n = Q(r.totalheight, e) - a, t.setAttribute("valign", B(-n))), t.setAttribute("height", B(a + n)), r.width.number > 0) {
|
|
8427
|
+
var i = Q(r.width, e);
|
|
8428
8428
|
t.setAttribute("width", B(i));
|
|
8429
8429
|
}
|
|
8430
8430
|
return t.setAttribute("src", r.src), t;
|
|
@@ -8458,7 +8458,7 @@ L({
|
|
|
8458
8458
|
return Jn(r.dimension, e);
|
|
8459
8459
|
},
|
|
8460
8460
|
mathmlBuilder(r, e) {
|
|
8461
|
-
var t =
|
|
8461
|
+
var t = Q(r.dimension, e);
|
|
8462
8462
|
return new ti(t);
|
|
8463
8463
|
}
|
|
8464
8464
|
});
|
|
@@ -9058,7 +9058,7 @@ L({
|
|
|
9058
9058
|
};
|
|
9059
9059
|
},
|
|
9060
9060
|
htmlBuilder(r, e) {
|
|
9061
|
-
var t = W(r.body, e), a =
|
|
9061
|
+
var t = W(r.body, e), a = Q(r.dy, e);
|
|
9062
9062
|
return U({
|
|
9063
9063
|
positionType: "shift",
|
|
9064
9064
|
positionData: -a,
|
|
@@ -9114,11 +9114,11 @@ L({
|
|
|
9114
9114
|
};
|
|
9115
9115
|
},
|
|
9116
9116
|
htmlBuilder(r, e) {
|
|
9117
|
-
var t = N(["mord", "rule"], [], e), a =
|
|
9117
|
+
var t = N(["mord", "rule"], [], e), a = Q(r.width, e), n = Q(r.height, e), i = r.shift ? Q(r.shift, e) : 0;
|
|
9118
9118
|
return t.style.borderRightWidth = B(a), t.style.borderTopWidth = B(n), t.style.bottom = B(i), t.width = a, t.height = n + i, t.depth = -i, t.maxFontSize = n * 1.125 * e.sizeMultiplier, t;
|
|
9119
9119
|
},
|
|
9120
9120
|
mathmlBuilder(r, e) {
|
|
9121
|
-
var t =
|
|
9121
|
+
var t = Q(r.width, e), a = Q(r.height, e), n = r.shift ? Q(r.shift, e) : 0, i = e.color && e.getColor() || "black", s = new E("mspace");
|
|
9122
9122
|
s.setAttribute("mathbackground", i), s.setAttribute("width", B(t)), s.setAttribute("height", B(a));
|
|
9123
9123
|
var l = new E("mpadded", [s]);
|
|
9124
9124
|
return n >= 0 ? l.setAttribute("height", B(n)) : (l.setAttribute("height", B(n)), l.setAttribute("depth", B(-n))), l.setAttribute("voffset", B(n)), l;
|
|
@@ -9725,7 +9725,7 @@ L({
|
|
|
9725
9725
|
return a.setAttribute("mathvariant", "monospace"), a;
|
|
9726
9726
|
}
|
|
9727
9727
|
});
|
|
9728
|
-
var gn = (r) => r.body.replace(/ /g, r.star ? "␣" : " "), et =
|
|
9728
|
+
var gn = (r) => r.body.replace(/ /g, r.star ? "␣" : " "), et = Zn, Ei = `[ \r
|
|
9729
9729
|
]`, El = "\\\\[a-zA-Z@]+", Bl = "\\\\[^\uD800-\uDFFF]", Il = "(" + El + ")" + Ei + "*", Ll = `\\\\(
|
|
9730
9730
|
|[ \r ]+
|
|
9731
9731
|
?)[ \r ]*`, $r = "[̀-ͯ]", Dl = new RegExp($r + "+$"), Pl = "(" + Ei + "+)|" + // whitespace
|
|
@@ -12003,15 +12003,15 @@ function Kl(r) {
|
|
|
12003
12003
|
return va(r);
|
|
12004
12004
|
}
|
|
12005
12005
|
function va(r) {
|
|
12006
|
-
return Array.isArray(r) ?
|
|
12006
|
+
return Array.isArray(r) ? Zl(r) : r instanceof RegExp ? r : typeof r == "object" ? Ql(r) : r;
|
|
12007
12007
|
}
|
|
12008
|
-
function
|
|
12008
|
+
function Zl(r) {
|
|
12009
12009
|
let e = [];
|
|
12010
12010
|
for (let t = 0, a = r.length; t < a; t++)
|
|
12011
12011
|
e[t] = va(r[t]);
|
|
12012
12012
|
return e;
|
|
12013
12013
|
}
|
|
12014
|
-
function
|
|
12014
|
+
function Ql(r) {
|
|
12015
12015
|
let e = {};
|
|
12016
12016
|
for (let t in r)
|
|
12017
12017
|
e[t] = va(r[t]);
|
|
@@ -12825,7 +12825,7 @@ var Yt = class {
|
|
|
12825
12825
|
_getCachedCompiledWhilePatterns(e, t) {
|
|
12826
12826
|
return this._cachedCompiledWhilePatterns || (this._cachedCompiledWhilePatterns = new Wt(), this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences ? this._while.clone() : this._while)), this._while.hasBackReferences && this._cachedCompiledWhilePatterns.setSource(0, t || ""), this._cachedCompiledWhilePatterns;
|
|
12827
12827
|
}
|
|
12828
|
-
},
|
|
12828
|
+
}, Zi = class de {
|
|
12829
12829
|
static createCaptureRule(e, t, a, n, i) {
|
|
12830
12830
|
return e.registerRule((s) => new w1(t, s, a, n, i));
|
|
12831
12831
|
}
|
|
@@ -12939,7 +12939,7 @@ var Yt = class {
|
|
|
12939
12939
|
hasMissingPatterns: (e ? e.length : 0) !== n.length
|
|
12940
12940
|
};
|
|
12941
12941
|
}
|
|
12942
|
-
}, Ut = class
|
|
12942
|
+
}, Ut = class Qi {
|
|
12943
12943
|
constructor(e, t) {
|
|
12944
12944
|
M(this, "source");
|
|
12945
12945
|
M(this, "ruleId");
|
|
@@ -12960,7 +12960,7 @@ var Yt = class {
|
|
|
12960
12960
|
this.hasAnchor ? this._anchorCache = this._buildAnchorCache() : this._anchorCache = null, this.ruleId = t, typeof this.source == "string" ? this.hasBackReferences = y1.test(this.source) : this.hasBackReferences = !1;
|
|
12961
12961
|
}
|
|
12962
12962
|
clone() {
|
|
12963
|
-
return new
|
|
12963
|
+
return new Qi(this.source, this.ruleId);
|
|
12964
12964
|
}
|
|
12965
12965
|
setSource(e) {
|
|
12966
12966
|
this.source !== e && (this.source = e, this.hasAnchor && (this._anchorCache = this._buildAnchorCache()));
|
|
@@ -13405,7 +13405,7 @@ function _1(r, e, t, a, n, i, s, l) {
|
|
|
13405
13405
|
);
|
|
13406
13406
|
}
|
|
13407
13407
|
function zn(r, e, t, a, n) {
|
|
13408
|
-
const i = C0(e, N0), s =
|
|
13408
|
+
const i = C0(e, N0), s = Zi.getCompiledRuleId(t, a, n.repository);
|
|
13409
13409
|
for (const l of i)
|
|
13410
13410
|
r.push({
|
|
13411
13411
|
debugSelector: e,
|
|
@@ -13546,7 +13546,7 @@ var E1 = class {
|
|
|
13546
13546
|
};
|
|
13547
13547
|
}
|
|
13548
13548
|
_tokenize(r, e, t, a) {
|
|
13549
|
-
this._rootId === -1 && (this._rootId =
|
|
13549
|
+
this._rootId === -1 && (this._rootId = Zi.getCompiledRuleId(
|
|
13550
13550
|
this._grammar.repository.$self,
|
|
13551
13551
|
this,
|
|
13552
13552
|
this._grammar.repository
|
|
@@ -14206,7 +14206,7 @@ const ya = ns({
|
|
|
14206
14206
|
html: U1,
|
|
14207
14207
|
li: X1,
|
|
14208
14208
|
optgroup: K1,
|
|
14209
|
-
option:
|
|
14209
|
+
option: Z1,
|
|
14210
14210
|
p: V1,
|
|
14211
14211
|
rp: _n,
|
|
14212
14212
|
rt: _n,
|
|
@@ -14214,7 +14214,7 @@ const ya = ns({
|
|
|
14214
14214
|
td: Rn,
|
|
14215
14215
|
tfoot: tu,
|
|
14216
14216
|
th: Rn,
|
|
14217
|
-
thead:
|
|
14217
|
+
thead: Q1,
|
|
14218
14218
|
tr: ru
|
|
14219
14219
|
});
|
|
14220
14220
|
function Sr(r, e, t) {
|
|
@@ -14254,11 +14254,11 @@ function K1(r, e, t) {
|
|
|
14254
14254
|
const a = ce(t, e);
|
|
14255
14255
|
return !a || a.type === "element" && a.tagName === "optgroup";
|
|
14256
14256
|
}
|
|
14257
|
-
function
|
|
14257
|
+
function Z1(r, e, t) {
|
|
14258
14258
|
const a = ce(t, e);
|
|
14259
14259
|
return !a || a.type === "element" && (a.tagName === "option" || a.tagName === "optgroup");
|
|
14260
14260
|
}
|
|
14261
|
-
function
|
|
14261
|
+
function Q1(r, e, t) {
|
|
14262
14262
|
const a = ce(t, e);
|
|
14263
14263
|
return !!(a && a.type === "element" && (a.tagName === "tbody" || a.tagName === "tfoot"));
|
|
14264
14264
|
}
|
|
@@ -14612,7 +14612,7 @@ function Kr(r) {
|
|
|
14612
14612
|
return typeof r == "string" ? r : Object.entries(r).map(([e, t]) => `${e}:${t}`).join(";");
|
|
14613
14613
|
}
|
|
14614
14614
|
const cs = /* @__PURE__ */ new WeakMap();
|
|
14615
|
-
function
|
|
14615
|
+
function Z0(r, e) {
|
|
14616
14616
|
cs.set(r, e);
|
|
14617
14617
|
}
|
|
14618
14618
|
function Vt(r) {
|
|
@@ -15154,7 +15154,7 @@ function Uu(r, e, t, a, n) {
|
|
|
15154
15154
|
e.name,
|
|
15155
15155
|
t.name
|
|
15156
15156
|
);
|
|
15157
|
-
return
|
|
15157
|
+
return Z0(i.tokens, s), i.tokens;
|
|
15158
15158
|
}
|
|
15159
15159
|
function ka(r, e, t, a, n) {
|
|
15160
15160
|
const i = _0(t, n), {
|
|
@@ -15323,7 +15323,7 @@ function ms(r, e, t) {
|
|
|
15323
15323
|
})),
|
|
15324
15324
|
n[0].state.lang
|
|
15325
15325
|
) : void 0;
|
|
15326
|
-
return l &&
|
|
15326
|
+
return l && Z0(s, l), s;
|
|
15327
15327
|
}
|
|
15328
15328
|
function Yu(...r) {
|
|
15329
15329
|
const e = r.map(() => []), t = r.length;
|
|
@@ -15366,7 +15366,7 @@ function B0(r, e, t) {
|
|
|
15366
15366
|
if (o = Vt(v), h && xa !== h && !g.find((A) => A.color === h))
|
|
15367
15367
|
throw new ae(`\`themes\` option must contain the defaultColor key \`${h}\``);
|
|
15368
15368
|
const w = g.map((A) => r.getTheme(A.theme)), S = g.map((A) => A.color);
|
|
15369
|
-
i = v.map((A) => A.map((k) => Nu(k, S, d, h, p))), o &&
|
|
15369
|
+
i = v.map((A) => A.map((k) => Nu(k, S, d, h, p))), o && Z0(i, o);
|
|
15370
15370
|
const T = g.map((A) => _0(A.theme, t));
|
|
15371
15371
|
n = In(g, w, T, d, h, "fg", p), a = In(g, w, T, d, h, "bg", p), s = `shiki-themes ${w.map((A) => A.name).join(" ")}`, l = h ? void 0 : [n, a].join(";");
|
|
15372
15372
|
} else if ("theme" in t) {
|
|
@@ -15427,7 +15427,7 @@ function I0(r, e, t, a = {
|
|
|
15427
15427
|
mergeWhitespaces: p = !0,
|
|
15428
15428
|
mergeSameStyleTokens: g = !1
|
|
15429
15429
|
} = t;
|
|
15430
|
-
p === !0 ? i =
|
|
15430
|
+
p === !0 ? i = Zu(i) : p === "never" && (i = Qu(i)), g && (i = ec(i));
|
|
15431
15431
|
const v = {
|
|
15432
15432
|
...a,
|
|
15433
15433
|
get source() {
|
|
@@ -15572,9 +15572,9 @@ function Ku(r, e, t, a = Vt(r)) {
|
|
|
15572
15572
|
let w = s;
|
|
15573
15573
|
for (const C of n)
|
|
15574
15574
|
w = ((k = C == null ? void 0 : C.root) == null ? void 0 : k.call(v, w)) || w;
|
|
15575
|
-
return a &&
|
|
15575
|
+
return a && Z0(w, a), w;
|
|
15576
15576
|
}
|
|
15577
|
-
function
|
|
15577
|
+
function Zu(r) {
|
|
15578
15578
|
return r.map((e) => {
|
|
15579
15579
|
const t = [];
|
|
15580
15580
|
let a = "", n;
|
|
@@ -15594,7 +15594,7 @@ function Qu(r) {
|
|
|
15594
15594
|
}), t;
|
|
15595
15595
|
});
|
|
15596
15596
|
}
|
|
15597
|
-
function
|
|
15597
|
+
function Qu(r) {
|
|
15598
15598
|
return r.map((e) => e.flatMap((t) => {
|
|
15599
15599
|
if (t.content.match(/^\s+$/))
|
|
15600
15600
|
return t;
|
|
@@ -18197,10 +18197,10 @@ let me = null;
|
|
|
18197
18197
|
function Ac(r) {
|
|
18198
18198
|
throw new Ta(r.UTF8ToString(r.getLastOnigError()));
|
|
18199
18199
|
}
|
|
18200
|
-
class
|
|
18200
|
+
class Q0 {
|
|
18201
18201
|
constructor(e) {
|
|
18202
18202
|
le(this, "utf16Length"), le(this, "utf8Length"), le(this, "utf16Value"), le(this, "utf8Value"), le(this, "utf16OffsetToUtf8"), le(this, "utf8OffsetToUtf16");
|
|
18203
|
-
const t = e.length, a =
|
|
18203
|
+
const t = e.length, a = Q0._utf8ByteLength(e), n = a !== t, i = n ? new Uint32Array(t + 1) : null;
|
|
18204
18204
|
n && (i[t] = a);
|
|
18205
18205
|
const s = n ? new Uint32Array(a + 1) : null;
|
|
18206
18206
|
n && (s[a] = t);
|
|
@@ -18240,7 +18240,7 @@ const er = class Be {
|
|
|
18240
18240
|
if (le(this, "id", ++Be.LAST_ID), le(this, "_onigBinding"), le(this, "content"), le(this, "utf16Length"), le(this, "utf8Length"), le(this, "utf16OffsetToUtf8"), le(this, "utf8OffsetToUtf16"), le(this, "ptr"), !me)
|
|
18241
18241
|
throw new Ta("Must invoke loadWasm first.");
|
|
18242
18242
|
this._onigBinding = me, this.content = e;
|
|
18243
|
-
const t = new
|
|
18243
|
+
const t = new Q0(e);
|
|
18244
18244
|
this.utf16Length = t.utf16Length, this.utf8Length = t.utf8Length, this.utf16OffsetToUtf8 = t.utf16OffsetToUtf8, this.utf8OffsetToUtf16 = t.utf8OffsetToUtf16, this.utf8Length < 1e4 && !Be._sharedPtrInUse ? (Be._sharedPtr || (Be._sharedPtr = me.omalloc(1e4)), Be._sharedPtrInUse = !0, me.HEAPU8.set(t.utf8Value, Be._sharedPtr), this.ptr = Be._sharedPtr) : this.ptr = t.createString(me);
|
|
18245
18245
|
}
|
|
18246
18246
|
convertUtf8OffsetToUtf16(e) {
|
|
@@ -18263,7 +18263,7 @@ class Tc {
|
|
|
18263
18263
|
throw new Ta("Must invoke loadWasm first.");
|
|
18264
18264
|
const t = [], a = [];
|
|
18265
18265
|
for (let l = 0, o = e.length; l < o; l++) {
|
|
18266
|
-
const h = new
|
|
18266
|
+
const h = new Q0(e[l]);
|
|
18267
18267
|
t[l] = h.createString(me), a[l] = h.utf8Length;
|
|
18268
18268
|
}
|
|
18269
18269
|
const n = me.omalloc(4 * e.length);
|
|
@@ -18716,7 +18716,7 @@ function ws(r) {
|
|
|
18716
18716
|
const e = [r.lang, r.meta ?? ""].filter((l) => !!l).join(" "), t = e.match(Gc), a = (s = t == null ? void 0 : t.groups) == null ? void 0 : s.title, n = r.lang && !r.lang.includes("showLineNumbers") && !r.lang.includes("title=") ? r.lang : "text", i = e.includes("showLineNumbers");
|
|
18717
18717
|
return { title: a, lang: n, showLineNumbers: i };
|
|
18718
18718
|
}
|
|
18719
|
-
const
|
|
18719
|
+
const Zr = (r) => r.reduce((e, t) => (t.type === "mdxJsxAttribute" && (e[t.name] = t), e), {}), Qr = (r, e) => {
|
|
18720
18720
|
const t = r[e];
|
|
18721
18721
|
if (!t)
|
|
18722
18722
|
return null;
|
|
@@ -18804,11 +18804,11 @@ function Kc(r) {
|
|
|
18804
18804
|
const e = r.split(/[\\/]/).pop() ?? "", t = e.lastIndexOf(".");
|
|
18805
18805
|
return t <= 0 ? "" : e.slice(t);
|
|
18806
18806
|
}
|
|
18807
|
-
const
|
|
18807
|
+
const Zc = { join: Yc, extname: Kc };
|
|
18808
18808
|
function Pt(r) {
|
|
18809
18809
|
return r.startsWith("\\\\?\\") ? r : r.replace(/\\/g, "/");
|
|
18810
18810
|
}
|
|
18811
|
-
const
|
|
18811
|
+
const Qc = /^https?:\/\//, qn = (r) => (r == null ? void 0 : r.type) === "paragraph" && Array.isArray(r.children) && r.children.length > 1, Ss = (r) => Ue("zoom", r), eh = (r, e) => Qc.test(r) ? r : r.startsWith("/") ? `${e}${r}` : `${e}/${r}`, th = (r, { alt: e, width: t, height: a, zoom: n }) => {
|
|
18812
18812
|
const i = t !== void 0 ? Ue("width", t) : void 0, s = a !== void 0 ? Ue("height", a) : void 0, l = n !== void 0 ? Ss(n) : void 0;
|
|
18813
18813
|
return Y0("Image", [], [Se("src", r), Se("alt", e), i, s, l]);
|
|
18814
18814
|
}, Fn = "./public", rh = ({ imageDir: r, basePath: e } = { imageDir: Fn }) => (r = r ?? Fn, () => async (a, n, i) => {
|
|
@@ -18827,7 +18827,7 @@ const Zc = /^https?:\/\//, qn = (r) => (r == null ? void 0 : r.type) === "paragr
|
|
|
18827
18827
|
});
|
|
18828
18828
|
const l = /* @__PURE__ */ new Map();
|
|
18829
18829
|
for (const o of s) {
|
|
18830
|
-
const h =
|
|
18830
|
+
const h = Zc.join(r, o);
|
|
18831
18831
|
l.has(o) || console.error("Image not found", h);
|
|
18832
18832
|
}
|
|
18833
18833
|
Le(a, "image", (o, h, d) => {
|
|
@@ -18843,9 +18843,9 @@ const Zc = /^https?:\/\//, qn = (r) => (r == null ? void 0 : r.type) === "paragr
|
|
|
18843
18843
|
{ type: "mdxJsxTextElement", name: "Image" }
|
|
18844
18844
|
], (o, h, d) => {
|
|
18845
18845
|
o = o;
|
|
18846
|
-
const p =
|
|
18846
|
+
const p = Zr(o.attributes);
|
|
18847
18847
|
let g = On(p, "width"), v = On(p, "height");
|
|
18848
|
-
const w =
|
|
18848
|
+
const w = Qr(p, "src");
|
|
18849
18849
|
let S = w ? Pt(decodeURI(w)) : void 0;
|
|
18850
18850
|
if (S) {
|
|
18851
18851
|
e && (p.src.value = eh(S, e));
|
|
@@ -18886,13 +18886,13 @@ const Zc = /^https?:\/\//, qn = (r) => (r == null ? void 0 : r.type) === "paragr
|
|
|
18886
18886
|
}, oh = () => (r) => {
|
|
18887
18887
|
const e = xs(r, { type: "mdxJsxFlowElement", name: "Tabs" });
|
|
18888
18888
|
for (const { node: t, index: a, parent: n } of e) {
|
|
18889
|
-
const i =
|
|
18889
|
+
const i = Zr(t.attributes);
|
|
18890
18890
|
if (i.items)
|
|
18891
18891
|
continue;
|
|
18892
|
-
const s =
|
|
18892
|
+
const s = Qr(i, "groupId"), l = [];
|
|
18893
18893
|
for (const p of t.children)
|
|
18894
18894
|
if (p.type === "mdxJsxFlowElement" && p.name === "Tab") {
|
|
18895
|
-
const g =
|
|
18895
|
+
const g = Zr(p.attributes), v = Qr(g, "value");
|
|
18896
18896
|
v && l.push(v);
|
|
18897
18897
|
}
|
|
18898
18898
|
const o = jr(l.map((p) => X0(p))), h = [];
|
package/dist/dashboard.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as a, i as s } from "./chunks/dashboard-
|
|
2
|
-
import {
|
|
1
|
+
import { A as a, i as s } from "./chunks/dashboard-DeNgythd.js";
|
|
2
|
+
import { G as t, H as f } from "./chunks/WorkspaceRoutes-B4B5jjje.js";
|
|
3
3
|
export {
|
|
4
4
|
a as DashboardApp,
|
|
5
5
|
t as configureStudio,
|