@backmatter/studio 0.0.9 → 0.0.10
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-b8qFsmA-.js → UiKitApp-BxvTwsko.js} +195 -186
- package/dist/chunks/{dashboard-BNUcbYU0.js → dashboard-8rjkfEXl.js} +1 -1
- package/dist/dashboard.js +1 -1
- package/dist/site-widget.js +84 -75
- package/package.json +1 -1
- package/src/preview-frame.tsx +19 -4
- package/src/site-bar.tsx +21 -2
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as s, jsx as t, Fragment as U } from "react/jsx-runtime";
|
|
2
|
-
import { K as
|
|
2
|
+
import { K as $, P as ue, Q as Zt, p as Rt, U as Qt, f as at, V as Fe, W as Jt, X as en, Y as tn, Z as nn, _ as rn, z as on, k as an, $ as sn, a0 as ln, a1 as cn, a2 as He, a3 as me, a4 as Ne, a5 as st, a6 as dn, a7 as un, T as hn, a8 as pn, a9 as gn, aa as mn, ab as fn, ac as bn, ad as xn, y as vn, ae as $n, N as kn, af as wn } from "./WorkspaceRoutes-BKKEkAq7.js";
|
|
3
3
|
import { useRef as k, useState as f, useLayoutEffect as te, useCallback as Ke, useEffect as z, useMemo as yn, useId as Ue } from "react";
|
|
4
4
|
import { createPortal as Me } from "react-dom";
|
|
5
|
-
import { L as Nn, a as lt } from "./dashboard-
|
|
5
|
+
import { L as Nn, a as lt } from "./dashboard-8rjkfEXl.js";
|
|
6
6
|
function O({
|
|
7
7
|
title: n,
|
|
8
8
|
lede: r,
|
|
@@ -10,8 +10,8 @@ function O({
|
|
|
10
10
|
}) {
|
|
11
11
|
return /* @__PURE__ */ s("div", { className: "x78zum5 xdt5ytf x14n5cft x1kozois", children: [
|
|
12
12
|
/* @__PURE__ */ s("header", { className: "x78zum5 xdt5ytf x1ndbd79 xiky8lt", children: [
|
|
13
|
-
/* @__PURE__ */ t(
|
|
14
|
-
/* @__PURE__ */ t(
|
|
13
|
+
/* @__PURE__ */ t($, { as: "h1", size: "display", weight: "semibold", children: n }),
|
|
14
|
+
/* @__PURE__ */ t($, { tone: "muted", size: "sm", children: r })
|
|
15
15
|
] }),
|
|
16
16
|
/* @__PURE__ */ t("div", { className: "x78zum5 xdt5ytf x14n5cft", children: o })
|
|
17
17
|
] });
|
|
@@ -35,7 +35,7 @@ function b({
|
|
|
35
35
|
/* @__PURE__ */ t("div", { className: "x78zum5 xdt5ytf x1qjc9v5 x3smv4v xh8yej3 xeuugli", children: r })
|
|
36
36
|
] });
|
|
37
37
|
}
|
|
38
|
-
const
|
|
38
|
+
const P = [
|
|
39
39
|
{
|
|
40
40
|
slug: "colors",
|
|
41
41
|
title: "Colors",
|
|
@@ -98,10 +98,10 @@ const T = [
|
|
|
98
98
|
}
|
|
99
99
|
];
|
|
100
100
|
function Mn(n) {
|
|
101
|
-
const r =
|
|
101
|
+
const r = P.find((o) => o.slug === n);
|
|
102
102
|
return r ? r.slug : "colors";
|
|
103
103
|
}
|
|
104
|
-
const ct =
|
|
104
|
+
const ct = P.find((n) => n.slug === "buttons"), En = ["primary", "secondary", "ghost", "danger"];
|
|
105
105
|
function Cn() {
|
|
106
106
|
return /* @__PURE__ */ t(O, { title: ct.title, lede: ct.lede, children: /* @__PURE__ */ t(Ee, { children: En.map((n) => /* @__PURE__ */ t(b, { label: n, children: /* @__PURE__ */ s(Sn, { children: [
|
|
107
107
|
/* @__PURE__ */ t(ue, { variant: n, children: n }),
|
|
@@ -109,7 +109,7 @@ function Cn() {
|
|
|
109
109
|
/* @__PURE__ */ t(Zt, { variant: n, to: "/__ui/buttons", children: "link" })
|
|
110
110
|
] }) }, n)) }) });
|
|
111
111
|
}
|
|
112
|
-
const dt =
|
|
112
|
+
const dt = P.find((n) => n.slug === "colors");
|
|
113
113
|
function zn() {
|
|
114
114
|
return /* @__PURE__ */ t(O, { title: dt.title, lede: dt.lede, children: /* @__PURE__ */ t("div", { className: "xrvj5dj x1sipb5g x11cgr9k x1kk4rku", children: Rn.map(([n, r]) => /* @__PURE__ */ s("figure", { className: "x78zum5 xdt5ytf x3smv4v x1ghz6dp xeuugli", children: [
|
|
115
115
|
/* @__PURE__ */ t("div", { ...Rt(w.chip, r) }),
|
|
@@ -212,17 +212,17 @@ function ut(n, r, o, a = "en") {
|
|
|
212
212
|
return !r || !o ? d : `${d}${Qt(o, r.type, r.slug, r.locale, a)}`;
|
|
213
213
|
}
|
|
214
214
|
const he = "cubic-bezier(0.23, 1, 0.32, 1)", Oe = "cubic-bezier(0.55, 0, 1, 0.45)", In = "cubic-bezier(0.32, 0.72, 0, 1)", _n = 550, An = 300, Ln = 750, Bn = 360, It = "backmatter.devbar.mode";
|
|
215
|
-
function
|
|
215
|
+
function Pn(n) {
|
|
216
216
|
const r = n.activity ?? null, o = r ? r.type : n.siteMode === "preview" && n.changeCount > 0 ? "changes" : "idle", a = o === "published" ? "live" : n.siteMode;
|
|
217
217
|
return { mode: a, row: o, modeLabel: a === "preview" ? "Exit preview" : "Enter preview", announce: a === "preview" ? "Preview on, drafts visible" : "Live site" };
|
|
218
218
|
}
|
|
219
|
-
function
|
|
219
|
+
function Tn(n, r) {
|
|
220
220
|
return {
|
|
221
221
|
x: r.left + r.width / 2 - n.left,
|
|
222
222
|
y: r.top + r.height / 2 - n.top
|
|
223
223
|
};
|
|
224
224
|
}
|
|
225
|
-
function
|
|
225
|
+
function Wn(n, r) {
|
|
226
226
|
return Math.abs(r - n) > 1;
|
|
227
227
|
}
|
|
228
228
|
function se() {
|
|
@@ -279,6 +279,11 @@ function Ve(n, r) {
|
|
|
279
279
|
}
|
|
280
280
|
const be = "backmatter-preview-frame";
|
|
281
281
|
function Gn() {
|
|
282
|
+
if (typeof navigator > "u") return Promise.resolve(void 0);
|
|
283
|
+
const n = navigator.userAgentData;
|
|
284
|
+
return n != null && n.getHighEntropyValues ? n.getHighEntropyValues(["platformVersion"]).then((r) => r.platformVersion) : Promise.resolve(void 0);
|
|
285
|
+
}
|
|
286
|
+
function Xn() {
|
|
282
287
|
return typeof navigator > "u" ? _t : Ve(navigator.userAgent);
|
|
283
288
|
}
|
|
284
289
|
function bt(n) {
|
|
@@ -290,10 +295,10 @@ function bt(n) {
|
|
|
290
295
|
if (Number.isFinite(o) && o >= 0) return o;
|
|
291
296
|
}
|
|
292
297
|
}
|
|
293
|
-
return
|
|
298
|
+
return Xn();
|
|
294
299
|
}
|
|
295
300
|
const Lt = "oklch(0.56 0.21 295)";
|
|
296
|
-
function
|
|
301
|
+
function Yn({
|
|
297
302
|
active: n,
|
|
298
303
|
radius: r
|
|
299
304
|
}) {
|
|
@@ -304,10 +309,8 @@ function Xn({
|
|
|
304
309
|
return;
|
|
305
310
|
}
|
|
306
311
|
const h = navigator.userAgent;
|
|
307
|
-
m(Ve(h))
|
|
308
|
-
|
|
309
|
-
u != null && u.getHighEntropyValues && u.getHighEntropyValues(["platformVersion"]).then((p) => {
|
|
310
|
-
m(Ve(h, p.platformVersion));
|
|
312
|
+
m(Ve(h)), Gn().then((u) => {
|
|
313
|
+
u !== void 0 && m(Ve(h, u));
|
|
311
314
|
});
|
|
312
315
|
}, [r]), te(() => {
|
|
313
316
|
const h = o.current, u = a.current;
|
|
@@ -320,7 +323,7 @@ function Xn({
|
|
|
320
323
|
{ duration: 700, delay: 180, easing: he }
|
|
321
324
|
);
|
|
322
325
|
}, [n]), /* @__PURE__ */ s(U, { children: [
|
|
323
|
-
/* @__PURE__ */ t("style", { children:
|
|
326
|
+
/* @__PURE__ */ t("style", { children: Zn }),
|
|
324
327
|
/* @__PURE__ */ t(
|
|
325
328
|
"div",
|
|
326
329
|
{
|
|
@@ -334,7 +337,7 @@ function Xn({
|
|
|
334
337
|
)
|
|
335
338
|
] });
|
|
336
339
|
}
|
|
337
|
-
const
|
|
340
|
+
const Zn = `
|
|
338
341
|
.${be} {
|
|
339
342
|
position: fixed;
|
|
340
343
|
inset: 0;
|
|
@@ -362,11 +365,11 @@ const Yn = `
|
|
|
362
365
|
opacity: 1;
|
|
363
366
|
}
|
|
364
367
|
}
|
|
365
|
-
`, e = "backmatter-devbar",
|
|
368
|
+
`, e = "backmatter-devbar", Qn = "/api/backmatter/preview", Jn = 10, er = 360;
|
|
366
369
|
function xt(n, r) {
|
|
367
370
|
return `${n}:${r.trim().toLowerCase()}`;
|
|
368
371
|
}
|
|
369
|
-
function
|
|
372
|
+
function tr({
|
|
370
373
|
label: n,
|
|
371
374
|
branch: r,
|
|
372
375
|
tree: o,
|
|
@@ -377,7 +380,7 @@ function er({
|
|
|
377
380
|
changeCount: u,
|
|
378
381
|
lineDiff: p,
|
|
379
382
|
activity: c = null,
|
|
380
|
-
previewEntryPath: R =
|
|
383
|
+
previewEntryPath: R = Qn,
|
|
381
384
|
siteMode: y = "preview",
|
|
382
385
|
frame: D = !1,
|
|
383
386
|
frameRadius: X,
|
|
@@ -393,14 +396,14 @@ function er({
|
|
|
393
396
|
onSignOut: j,
|
|
394
397
|
onPublishAnchor: Y
|
|
395
398
|
}) {
|
|
396
|
-
const le = k(null), ce = k(null), Z = k(null), G = k(null), x = k(null), A = k(null),
|
|
399
|
+
const le = k(null), ce = k(null), Z = k(null), G = k(null), x = k(null), A = k(null), T = k(null), Q = k(null), [ne, pe] = f(null), re = Ke((i) => {
|
|
397
400
|
if (le.current = i, !i) {
|
|
398
401
|
pe(null);
|
|
399
402
|
return;
|
|
400
403
|
}
|
|
401
404
|
const l = i.shadowRoot ?? i.attachShadow({ mode: "open" });
|
|
402
|
-
pe((
|
|
403
|
-
}, []), [ie, xe] = f(null), [F, L] = f(null), [
|
|
405
|
+
pe((v) => v === l ? v : l);
|
|
406
|
+
}, []), [ie, xe] = f(null), [F, L] = f(null), [ve, Ce] = f(y), [ze, Tt] = f(!1), Re = k(!1), oe = k(null), Ge = k(0), Xe = k(!1), Ye = k(!1), W = k({
|
|
404
407
|
toggleHidden: () => {
|
|
405
408
|
},
|
|
406
409
|
onModeKey: (i) => {
|
|
@@ -410,7 +413,7 @@ function er({
|
|
|
410
413
|
openDashboard: () => !1,
|
|
411
414
|
openShortcuts: () => {
|
|
412
415
|
}
|
|
413
|
-
}), Ze = k(!0), [Ie,
|
|
416
|
+
}), Ze = k(!0), [Ie, Wt] = f("system"), [_e, Qe] = f(!0), [Je, et] = f(!0), [Ht, $e] = f("main"), [Dt, qt] = f(""), [Ae, Le] = f(null), [tt, jt] = f("en");
|
|
414
417
|
z(() => {
|
|
415
418
|
const i = a == null ? void 0 : a.workspaceId;
|
|
416
419
|
if (!i) {
|
|
@@ -418,8 +421,8 @@ function er({
|
|
|
418
421
|
return;
|
|
419
422
|
}
|
|
420
423
|
let l = !1;
|
|
421
|
-
return at(i).then(({ workspace:
|
|
422
|
-
l || (Le(
|
|
424
|
+
return at(i).then(({ workspace: v }) => {
|
|
425
|
+
l || (Le(v.slug), jt(v.locales[0] ?? "en"));
|
|
423
426
|
}).catch(() => {
|
|
424
427
|
l || Le(null);
|
|
425
428
|
}), () => {
|
|
@@ -431,11 +434,11 @@ function er({
|
|
|
431
434
|
[N, a, Ae, tt]
|
|
432
435
|
), Ft = Ke((i) => {
|
|
433
436
|
Z.current = i, !(i && !(i.getRootNode() instanceof ShadowRoot)) && xe(i);
|
|
434
|
-
}, []),
|
|
437
|
+
}, []), Pe = Pn({ siteMode: ve, changeCount: u, activity: c }), de = Pe.mode, Kt = (c == null ? void 0 : c.type) === "editing" ? `editing:${c.field}` : (c == null ? void 0 : c.type) === "publishing" ? `publishing:${c.steps.map((i) => `${i.state}:${i.label}`).join("|")}` : (c == null ? void 0 : c.type) === "published" ? `published:${c.sha}` : "", Te = `${ve}|${Pe.row}|${u}|${(p == null ? void 0 : p.added) ?? ""}|${(p == null ? void 0 : p.removed) ?? ""}|${n}|${Kt}`;
|
|
435
438
|
z(() => {
|
|
436
439
|
qt(location.host);
|
|
437
440
|
const i = je(), l = qn(i);
|
|
438
|
-
et(gt(i, pt, !0)),
|
|
441
|
+
et(gt(i, pt, !0)), Wt(l), Qe(gt(i, ht, !0));
|
|
439
442
|
}, []), z(() => {
|
|
440
443
|
if (kt(Ie), Ie !== "system" || typeof matchMedia != "function") return;
|
|
441
444
|
const i = matchMedia("(prefers-color-scheme: dark)"), l = () => kt("system");
|
|
@@ -443,7 +446,7 @@ function er({
|
|
|
443
446
|
}, [Ie]), z(() => (document.documentElement.classList.toggle("backmatter-blocks", _e), () => document.documentElement.classList.remove("backmatter-blocks")), [_e]), z(() => {
|
|
444
447
|
const i = le.current;
|
|
445
448
|
if (!i) return;
|
|
446
|
-
const l = document.documentElement,
|
|
449
|
+
const l = document.documentElement, v = `${e}-pointing`, H = () => i.classList.toggle(v, l.classList.contains("backmatter-pointing"));
|
|
447
450
|
H();
|
|
448
451
|
const J = new MutationObserver(H);
|
|
449
452
|
return J.observe(l, { attributes: !0, attributeFilter: ["class"] }), () => J.disconnect();
|
|
@@ -456,14 +459,14 @@ function er({
|
|
|
456
459
|
}, [y, d]), z(() => {
|
|
457
460
|
if (!F) return;
|
|
458
461
|
function i(l) {
|
|
459
|
-
const
|
|
460
|
-
|
|
462
|
+
const v = ce.current;
|
|
463
|
+
v && l.composedPath().includes(v) || L(null);
|
|
461
464
|
}
|
|
462
465
|
return document.addEventListener("pointerdown", i), () => document.removeEventListener("pointerdown", i);
|
|
463
466
|
}, [F]), te(() => {
|
|
464
|
-
const i = Z.current, l =
|
|
465
|
-
!i || !l || F !== "settings" ||
|
|
466
|
-
}, [F, ie,
|
|
467
|
+
const i = Z.current, l = T.current;
|
|
468
|
+
!i || !l || F !== "settings" || cr(i, l);
|
|
469
|
+
}, [F, ie, Te]), te(() => {
|
|
467
470
|
if (!Y) return;
|
|
468
471
|
const i = A.current;
|
|
469
472
|
if (!h || !i) {
|
|
@@ -474,31 +477,31 @@ function er({
|
|
|
474
477
|
return l(), window.addEventListener("resize", l), window.addEventListener("scroll", l, !0), () => {
|
|
475
478
|
window.removeEventListener("resize", l), window.removeEventListener("scroll", l, !0);
|
|
476
479
|
};
|
|
477
|
-
}, [h, Y,
|
|
480
|
+
}, [h, Y, Te, ie]), z(() => {
|
|
478
481
|
function i(l) {
|
|
479
|
-
if (!
|
|
482
|
+
if (!ar(l.composedPath()[0] ?? null)) {
|
|
480
483
|
if ((l.metaKey || l.ctrlKey) && l.key === ".") {
|
|
481
|
-
l.preventDefault(),
|
|
484
|
+
l.preventDefault(), W.current.toggleHidden();
|
|
482
485
|
return;
|
|
483
486
|
}
|
|
484
487
|
if ((l.metaKey || l.ctrlKey) && l.shiftKey && l.key.toLowerCase() === "p") {
|
|
485
488
|
l.preventDefault();
|
|
486
|
-
const
|
|
487
|
-
if (
|
|
488
|
-
|
|
489
|
+
const v = x.current;
|
|
490
|
+
if (!v || v.disabled) return;
|
|
491
|
+
W.current.onModeKey(v);
|
|
489
492
|
return;
|
|
490
493
|
}
|
|
491
494
|
if ((l.metaKey || l.ctrlKey) && !l.shiftKey && l.key.toLowerCase() === "d") {
|
|
492
|
-
if (!
|
|
495
|
+
if (!W.current.openDashboard()) return;
|
|
493
496
|
l.preventDefault();
|
|
494
497
|
return;
|
|
495
498
|
}
|
|
496
499
|
if (l.key === "?" && !l.metaKey && !l.ctrlKey && !l.altKey) {
|
|
497
|
-
l.preventDefault(),
|
|
500
|
+
l.preventDefault(), W.current.openShortcuts();
|
|
498
501
|
return;
|
|
499
502
|
}
|
|
500
503
|
if (l.key === "Escape") {
|
|
501
|
-
|
|
504
|
+
W.current.onEscape();
|
|
502
505
|
return;
|
|
503
506
|
}
|
|
504
507
|
Jt(l) === "chat" && L(null);
|
|
@@ -536,13 +539,13 @@ function er({
|
|
|
536
539
|
const J = i.offsetWidth;
|
|
537
540
|
if (Ge.current = J, l) return;
|
|
538
541
|
const B = G.current;
|
|
539
|
-
if (B && (se() ? B.animate([{ opacity: 0 }, { opacity: 1 }], { duration: 150, easing: "ease", fill: "backwards" }) : qe(B, { delay: 40, blur: !0 })), se() || !
|
|
542
|
+
if (B && (se() ? B.animate([{ opacity: 0 }, { opacity: 1 }], { duration: 150, easing: "ease", fill: "backwards" }) : qe(B, { delay: 40, blur: !0 })), se() || !Wn(H, J)) return;
|
|
540
543
|
const Yt = i.animate(
|
|
541
544
|
[{ width: `${H}px` }, { width: `${J}px` }],
|
|
542
545
|
{ duration: 380, easing: In }
|
|
543
546
|
);
|
|
544
547
|
Yt.id = "w";
|
|
545
|
-
}, [ne,
|
|
548
|
+
}, [ne, Te, I, y]);
|
|
546
549
|
const ke = (c == null ? void 0 : c.type) === "published" ? c.sha : "";
|
|
547
550
|
te(() => {
|
|
548
551
|
const i = Q.current;
|
|
@@ -558,21 +561,21 @@ function er({
|
|
|
558
561
|
const i = window.setTimeout(_, 3200);
|
|
559
562
|
return () => window.clearTimeout(i);
|
|
560
563
|
}, [ke, _]);
|
|
561
|
-
function
|
|
562
|
-
if (d || i ===
|
|
563
|
-
const
|
|
564
|
-
if (
|
|
565
|
-
const H =
|
|
566
|
-
|
|
564
|
+
function We(i, l) {
|
|
565
|
+
if (d || i === ve || i === "preview" && !S) return;
|
|
566
|
+
const v = Z.current;
|
|
567
|
+
if (v) {
|
|
568
|
+
const H = Tn(v.getBoundingClientRect(), l.getBoundingClientRect());
|
|
569
|
+
v.style.setProperty("--ox", `${H.x}px`), v.style.setProperty("--oy", `${H.y}px`);
|
|
567
570
|
}
|
|
568
571
|
i === "live" && (L(null), m && E(), h && g()), oe.current = i, De(i), Ce(i), i === "preview" ? S == null || S() : C();
|
|
569
572
|
}
|
|
570
573
|
function nt(i) {
|
|
571
574
|
if (Re.current === i) return;
|
|
572
|
-
Re.current = i, L(null),
|
|
575
|
+
Re.current = i, L(null), Tt(i);
|
|
573
576
|
const l = Z.current;
|
|
574
577
|
if (!l || !(l.getRootNode() instanceof ShadowRoot)) return;
|
|
575
|
-
const
|
|
578
|
+
const v = l.getRootNode(), H = v instanceof ShadowRoot ? v.activeElement : null;
|
|
576
579
|
if (i && H instanceof HTMLElement && H.blur(), l.getAnimations().filter((B) => B.id === "hide" || B.id === "rise").forEach((B) => B.cancel()), se()) {
|
|
577
580
|
const B = l.animate(
|
|
578
581
|
[{ opacity: i ? 1 : 0 }, { opacity: i ? 0 : 1 }],
|
|
@@ -595,7 +598,7 @@ function er({
|
|
|
595
598
|
);
|
|
596
599
|
J.id = "rise", G.current && qe(G.current, { delay: 140 });
|
|
597
600
|
}
|
|
598
|
-
|
|
601
|
+
W.current.openDashboard = () => N ? ((async () => {
|
|
599
602
|
let i = Be ?? N;
|
|
600
603
|
if (a != null && a.workspaceId && a.type && a.slug && !Ae)
|
|
601
604
|
try {
|
|
@@ -604,9 +607,9 @@ function er({
|
|
|
604
607
|
} catch {
|
|
605
608
|
}
|
|
606
609
|
location.assign(i);
|
|
607
|
-
})(), !0) : !1,
|
|
608
|
-
|
|
609
|
-
},
|
|
610
|
+
})(), !0) : !1, W.current.openShortcuts = () => {
|
|
611
|
+
$e("shortcuts"), L("settings");
|
|
612
|
+
}, W.current.toggleHidden = () => nt(!Re.current), W.current.onModeKey = (i) => We(de === "preview" ? "live" : "preview", i), W.current.onEscape = () => {
|
|
610
613
|
if (F) {
|
|
611
614
|
L(null);
|
|
612
615
|
return;
|
|
@@ -618,25 +621,25 @@ function er({
|
|
|
618
621
|
(c == null ? void 0 : c.type) === "editing" && (M == null || M());
|
|
619
622
|
};
|
|
620
623
|
function rt(i) {
|
|
621
|
-
d || (L(null), h && g(),
|
|
624
|
+
d || (L(null), h && g(), ve === "live" && Ze.current && We("preview", i), E());
|
|
622
625
|
}
|
|
623
626
|
function Vt() {
|
|
624
627
|
d || (L(null), m && E(), g());
|
|
625
628
|
}
|
|
626
629
|
Ze.current = Je;
|
|
627
630
|
function Ut(i) {
|
|
628
|
-
h && g(),
|
|
631
|
+
h && g(), $e(i), L((l) => l === "settings" && i === "main" ? null : "settings");
|
|
629
632
|
}
|
|
630
633
|
function Ot() {
|
|
631
634
|
h && g(), L((i) => i === "page" ? null : "page");
|
|
632
635
|
}
|
|
633
636
|
const Gt = !!d || de === "live" && !S, Xt = !a || u <= 0, we = /* @__PURE__ */ t(
|
|
634
|
-
|
|
637
|
+
nr,
|
|
635
638
|
{
|
|
636
639
|
mode: de,
|
|
637
640
|
disabled: Gt,
|
|
638
641
|
buttonRef: x,
|
|
639
|
-
onClick: (i) =>
|
|
642
|
+
onClick: (i) => We(de === "preview" ? "live" : "preview", i.currentTarget)
|
|
640
643
|
}
|
|
641
644
|
);
|
|
642
645
|
let ge;
|
|
@@ -653,7 +656,7 @@ function er({
|
|
|
653
656
|
we,
|
|
654
657
|
/* @__PURE__ */ t("span", { className: `${e}-steps`, children: c.steps.map((i, l) => /* @__PURE__ */ s("span", { className: `${e}-step`, children: [
|
|
655
658
|
l > 0 ? /* @__PURE__ */ t("span", { className: `${e}-dash`, "aria-hidden": !0, children: "—" }) : null,
|
|
656
|
-
/* @__PURE__ */ t(
|
|
659
|
+
/* @__PURE__ */ t(or, { state: i.state }),
|
|
657
660
|
/* @__PURE__ */ t("span", { children: i.label })
|
|
658
661
|
] }, `${i.label}:${l}`)) })
|
|
659
662
|
] }) : (c == null ? void 0 : c.type) === "published" ? ge = /* @__PURE__ */ s(U, { children: [
|
|
@@ -669,7 +672,7 @@ function er({
|
|
|
669
672
|
] }),
|
|
670
673
|
/* @__PURE__ */ t("button", { type: "button", className: `${e}-btn`, onClick: () => (q ?? C)(), children: "View live" }),
|
|
671
674
|
/* @__PURE__ */ t(
|
|
672
|
-
|
|
675
|
+
vt,
|
|
673
676
|
{
|
|
674
677
|
pressed: m,
|
|
675
678
|
disabled: !a,
|
|
@@ -680,7 +683,7 @@ function er({
|
|
|
680
683
|
] }) : ge = /* @__PURE__ */ s(U, { children: [
|
|
681
684
|
we,
|
|
682
685
|
/* @__PURE__ */ t(
|
|
683
|
-
|
|
686
|
+
br,
|
|
684
687
|
{
|
|
685
688
|
label: n,
|
|
686
689
|
doc: a,
|
|
@@ -693,7 +696,7 @@ function er({
|
|
|
693
696
|
),
|
|
694
697
|
/* @__PURE__ */ t("span", { className: `${e}-rule`, "aria-hidden": !0 }),
|
|
695
698
|
/* @__PURE__ */ t(
|
|
696
|
-
|
|
699
|
+
vt,
|
|
697
700
|
{
|
|
698
701
|
pressed: m,
|
|
699
702
|
disabled: !a,
|
|
@@ -702,7 +705,7 @@ function er({
|
|
|
702
705
|
}
|
|
703
706
|
),
|
|
704
707
|
/* @__PURE__ */ t(
|
|
705
|
-
|
|
708
|
+
rr,
|
|
706
709
|
{
|
|
707
710
|
buttonRef: A,
|
|
708
711
|
open: h,
|
|
@@ -712,16 +715,16 @@ function er({
|
|
|
712
715
|
}
|
|
713
716
|
),
|
|
714
717
|
/* @__PURE__ */ t(
|
|
715
|
-
|
|
718
|
+
sr,
|
|
716
719
|
{
|
|
717
|
-
buttonRef:
|
|
720
|
+
buttonRef: T,
|
|
718
721
|
open: F === "settings",
|
|
719
722
|
onClick: () => Ut("main")
|
|
720
723
|
}
|
|
721
724
|
)
|
|
722
725
|
] });
|
|
723
726
|
const it = /* @__PURE__ */ s(U, { children: [
|
|
724
|
-
/* @__PURE__ */ t("style", { children:
|
|
727
|
+
/* @__PURE__ */ t("style", { children: wr }),
|
|
725
728
|
/* @__PURE__ */ s(
|
|
726
729
|
"div",
|
|
727
730
|
{
|
|
@@ -730,7 +733,7 @@ function er({
|
|
|
730
733
|
"data-mode": de,
|
|
731
734
|
"data-branch": r || void 0,
|
|
732
735
|
children: [
|
|
733
|
-
D ? /* @__PURE__ */ t(
|
|
736
|
+
D ? /* @__PURE__ */ t(Yn, { active: de === "preview", radius: X }) : null,
|
|
734
737
|
/* @__PURE__ */ s(
|
|
735
738
|
"footer",
|
|
736
739
|
{
|
|
@@ -754,12 +757,12 @@ function er({
|
|
|
754
757
|
}
|
|
755
758
|
) : null
|
|
756
759
|
] }),
|
|
757
|
-
/* @__PURE__ */ t("div", { className: `${e}-sr`, "aria-live": "polite", children:
|
|
760
|
+
/* @__PURE__ */ t("div", { className: `${e}-sr`, "aria-live": "polite", children: Pe.announce })
|
|
758
761
|
]
|
|
759
762
|
}
|
|
760
763
|
),
|
|
761
764
|
/* @__PURE__ */ t(
|
|
762
|
-
|
|
765
|
+
lr,
|
|
763
766
|
{
|
|
764
767
|
open: F === "settings",
|
|
765
768
|
pane: Ht,
|
|
@@ -775,10 +778,10 @@ function er({
|
|
|
775
778
|
onPreviewAgent: (i) => {
|
|
776
779
|
et(i), mt(je(), pt, i);
|
|
777
780
|
},
|
|
778
|
-
onShortcuts: () =>
|
|
779
|
-
onBack: () =>
|
|
781
|
+
onShortcuts: () => $e("shortcuts"),
|
|
782
|
+
onBack: () => $e("main"),
|
|
780
783
|
onDashboard: () => {
|
|
781
|
-
|
|
784
|
+
W.current.openDashboard();
|
|
782
785
|
},
|
|
783
786
|
onHide: () => nt(!0),
|
|
784
787
|
onSwitchBranch: r ? () => L("branch") : void 0,
|
|
@@ -786,7 +789,7 @@ function er({
|
|
|
786
789
|
}
|
|
787
790
|
),
|
|
788
791
|
r ? /* @__PURE__ */ t(
|
|
789
|
-
|
|
792
|
+
xr,
|
|
790
793
|
{
|
|
791
794
|
branch: r,
|
|
792
795
|
tree: o,
|
|
@@ -802,11 +805,17 @@ function er({
|
|
|
802
805
|
)
|
|
803
806
|
] });
|
|
804
807
|
return /* @__PURE__ */ s("div", { ref: re, className: `${e}-host`, "data-backmatter-devbar": "", children: [
|
|
805
|
-
/* @__PURE__ */ t("style", { children:
|
|
806
|
-
ne ? Me(it, ne) : /* @__PURE__ */ t(
|
|
808
|
+
/* @__PURE__ */ t("style", { children: kr }),
|
|
809
|
+
ne ? Me(it, ne) : /* @__PURE__ */ t(
|
|
810
|
+
"template",
|
|
811
|
+
{
|
|
812
|
+
shadowrootmode: "open",
|
|
813
|
+
children: it
|
|
814
|
+
}
|
|
815
|
+
)
|
|
807
816
|
] });
|
|
808
817
|
}
|
|
809
|
-
function
|
|
818
|
+
function nr({
|
|
810
819
|
mode: n,
|
|
811
820
|
disabled: r,
|
|
812
821
|
buttonRef: o,
|
|
@@ -826,13 +835,13 @@ function tr({
|
|
|
826
835
|
disabled: r,
|
|
827
836
|
onClick: a,
|
|
828
837
|
children: [
|
|
829
|
-
/* @__PURE__ */ t(
|
|
838
|
+
/* @__PURE__ */ t(ir, { exit: d }),
|
|
830
839
|
d ? "Exit preview" : "Enter preview"
|
|
831
840
|
]
|
|
832
841
|
}
|
|
833
842
|
);
|
|
834
843
|
}
|
|
835
|
-
function
|
|
844
|
+
function vt({
|
|
836
845
|
pressed: n,
|
|
837
846
|
disabled: r,
|
|
838
847
|
shortcut: o,
|
|
@@ -858,7 +867,7 @@ function $t({
|
|
|
858
867
|
}
|
|
859
868
|
);
|
|
860
869
|
}
|
|
861
|
-
function
|
|
870
|
+
function rr({
|
|
862
871
|
buttonRef: n,
|
|
863
872
|
open: r,
|
|
864
873
|
count: o,
|
|
@@ -888,13 +897,13 @@ function nr({
|
|
|
888
897
|
}
|
|
889
898
|
);
|
|
890
899
|
}
|
|
891
|
-
function
|
|
900
|
+
function ir({ exit: n }) {
|
|
892
901
|
return n ? /* @__PURE__ */ t("svg", { className: `${e}-mark`, width: "12", height: "12", viewBox: "0 0 12 12", "aria-hidden": !0, children: /* @__PURE__ */ t("path", { d: "M3 3l6 6M9 3 3 9", stroke: "currentColor", strokeWidth: "1.25", strokeLinecap: "round" }) }) : /* @__PURE__ */ s("svg", { className: `${e}-mark`, width: "12", height: "12", viewBox: "0 0 12 12", "aria-hidden": !0, children: [
|
|
893
902
|
/* @__PURE__ */ t("circle", { cx: "6", cy: "6", r: "3.25", stroke: "currentColor", strokeWidth: "1.25" }),
|
|
894
903
|
/* @__PURE__ */ t("circle", { cx: "6", cy: "6", r: "1.35", fill: "currentColor" })
|
|
895
904
|
] });
|
|
896
905
|
}
|
|
897
|
-
function
|
|
906
|
+
function or({ state: n }) {
|
|
898
907
|
return n === "done" ? /* @__PURE__ */ t("span", { className: `${e}-done`, "aria-hidden": !0, children: "✓" }) : n === "active" ? /* @__PURE__ */ t("span", { className: `${e}-spin`, "aria-hidden": !0 }) : /* @__PURE__ */ t("span", { className: `${e}-ring`, "aria-hidden": !0 });
|
|
899
908
|
}
|
|
900
909
|
function qe(n, r = {}) {
|
|
@@ -913,12 +922,12 @@ function qe(n, r = {}) {
|
|
|
913
922
|
);
|
|
914
923
|
});
|
|
915
924
|
}
|
|
916
|
-
function
|
|
925
|
+
function ar(n) {
|
|
917
926
|
if (!(n instanceof HTMLElement)) return !1;
|
|
918
927
|
const r = n.tagName;
|
|
919
928
|
return r === "INPUT" || r === "TEXTAREA" || r === "SELECT" ? !0 : n.isContentEditable;
|
|
920
929
|
}
|
|
921
|
-
function
|
|
930
|
+
function sr({
|
|
922
931
|
buttonRef: n,
|
|
923
932
|
open: r,
|
|
924
933
|
onClick: o
|
|
@@ -937,7 +946,7 @@ function ar({
|
|
|
937
946
|
}
|
|
938
947
|
);
|
|
939
948
|
}
|
|
940
|
-
function
|
|
949
|
+
function lr({
|
|
941
950
|
open: n,
|
|
942
951
|
pane: r,
|
|
943
952
|
hostName: o,
|
|
@@ -969,7 +978,7 @@ function sr({
|
|
|
969
978
|
}, [n]), !n || !d) return null;
|
|
970
979
|
const M = o && a ? `${o} · ${a}` : o || a || "", q = r === "shortcuts" ? /* @__PURE__ */ s("div", { role: "dialog", "aria-labelledby": C, className: `${e}-menu ${e}-settings`, children: [
|
|
971
980
|
/* @__PURE__ */ t("div", { className: `${e}-settings-head`, children: /* @__PURE__ */ s("button", { type: "button", className: `${e}-settings-back`, onClick: y, children: [
|
|
972
|
-
/* @__PURE__ */ t(
|
|
981
|
+
/* @__PURE__ */ t(Pt, {}),
|
|
973
982
|
/* @__PURE__ */ t("span", { id: C, children: "Shortcuts" })
|
|
974
983
|
] }) }),
|
|
975
984
|
/* @__PURE__ */ t(fe, { label: "Toggle preview", keys: `${g}⇧P` }),
|
|
@@ -983,18 +992,18 @@ function sr({
|
|
|
983
992
|
M ? /* @__PURE__ */ t("span", { className: `${e}-settings-place`, children: M }) : null
|
|
984
993
|
] }),
|
|
985
994
|
/* @__PURE__ */ s("div", { className: `${e}-settings-row`, children: [
|
|
986
|
-
/* @__PURE__ */ t(
|
|
995
|
+
/* @__PURE__ */ t(ur, {}),
|
|
987
996
|
/* @__PURE__ */ t("span", { children: "Highlight editable blocks" }),
|
|
988
|
-
/* @__PURE__ */ t(
|
|
997
|
+
/* @__PURE__ */ t($t, { on: m, label: "Highlight editable blocks", onClick: () => p(!m) })
|
|
989
998
|
] }),
|
|
990
999
|
/* @__PURE__ */ s("div", { className: `${e}-settings-row`, children: [
|
|
991
|
-
/* @__PURE__ */ t(
|
|
1000
|
+
/* @__PURE__ */ t(hr, {}),
|
|
992
1001
|
/* @__PURE__ */ t("span", { children: "Preview when Agent edits" }),
|
|
993
|
-
/* @__PURE__ */ t(
|
|
1002
|
+
/* @__PURE__ */ t($t, { on: h, label: "Preview when Agent edits", onClick: () => c(!h) })
|
|
994
1003
|
] }),
|
|
995
1004
|
/* @__PURE__ */ t("div", { className: `${e}-settings-rule` }),
|
|
996
1005
|
u ? /* @__PURE__ */ s("button", { type: "button", className: `${e}-settings-action`, onClick: D, children: [
|
|
997
|
-
/* @__PURE__ */ t(
|
|
1006
|
+
/* @__PURE__ */ t(pr, {}),
|
|
998
1007
|
/* @__PURE__ */ t("span", { children: "Open in dashboard" }),
|
|
999
1008
|
/* @__PURE__ */ s("kbd", { className: `${e}-kbd`, children: [
|
|
1000
1009
|
g,
|
|
@@ -1007,12 +1016,12 @@ function sr({
|
|
|
1007
1016
|
a ? /* @__PURE__ */ t("span", { className: `${e}-settings-email`, children: a }) : null
|
|
1008
1017
|
] }) : null,
|
|
1009
1018
|
/* @__PURE__ */ s("button", { type: "button", className: `${e}-settings-action`, onClick: R, children: [
|
|
1010
|
-
/* @__PURE__ */ t(
|
|
1019
|
+
/* @__PURE__ */ t(gr, {}),
|
|
1011
1020
|
/* @__PURE__ */ t("span", { children: "Keyboard shortcuts" }),
|
|
1012
1021
|
/* @__PURE__ */ t("kbd", { className: `${e}-kbd`, children: "?" })
|
|
1013
1022
|
] }),
|
|
1014
1023
|
/* @__PURE__ */ s("button", { type: "button", className: `${e}-settings-action`, "aria-keyshortcuts": "Meta+. Control+.", onClick: X, children: [
|
|
1015
|
-
/* @__PURE__ */ t(
|
|
1024
|
+
/* @__PURE__ */ t(mr, {}),
|
|
1016
1025
|
/* @__PURE__ */ t("span", { children: "Hide toolbar" }),
|
|
1017
1026
|
/* @__PURE__ */ s("kbd", { className: `${e}-kbd`, children: [
|
|
1018
1027
|
g,
|
|
@@ -1022,7 +1031,7 @@ function sr({
|
|
|
1022
1031
|
N ? /* @__PURE__ */ s(U, { children: [
|
|
1023
1032
|
/* @__PURE__ */ t("div", { className: `${e}-settings-rule` }),
|
|
1024
1033
|
/* @__PURE__ */ s("button", { type: "button", className: `${e}-settings-action`, onClick: N, children: [
|
|
1025
|
-
/* @__PURE__ */ t(
|
|
1034
|
+
/* @__PURE__ */ t(fr, {}),
|
|
1026
1035
|
/* @__PURE__ */ t("span", { children: "Sign out" }),
|
|
1027
1036
|
S ? /* @__PURE__ */ t("span", { className: `${e}-settings-email`, children: S }) : null
|
|
1028
1037
|
] })
|
|
@@ -1036,7 +1045,7 @@ function fe({ label: n, keys: r }) {
|
|
|
1036
1045
|
/* @__PURE__ */ t("kbd", { className: `${e}-kbd`, children: r })
|
|
1037
1046
|
] });
|
|
1038
1047
|
}
|
|
1039
|
-
function
|
|
1048
|
+
function $t({ on: n, label: r, onClick: o }) {
|
|
1040
1049
|
return /* @__PURE__ */ t(
|
|
1041
1050
|
"button",
|
|
1042
1051
|
{
|
|
@@ -1050,44 +1059,44 @@ function vt({ on: n, label: r, onClick: o }) {
|
|
|
1050
1059
|
}
|
|
1051
1060
|
);
|
|
1052
1061
|
}
|
|
1053
|
-
function
|
|
1062
|
+
function cr(n, r) {
|
|
1054
1063
|
const o = n.getBoundingClientRect(), a = r.getBoundingClientRect();
|
|
1055
1064
|
n.style.setProperty("--menu-right", `${Math.max(0, o.right - a.right)}px`);
|
|
1056
1065
|
}
|
|
1057
|
-
function
|
|
1058
|
-
const o = n.getBoundingClientRect(), a = r.getBoundingClientRect(), d = Math.min(
|
|
1066
|
+
function dr(n, r) {
|
|
1067
|
+
const o = n.getBoundingClientRect(), a = r.getBoundingClientRect(), d = Math.min(er, window.innerWidth - 32);
|
|
1059
1068
|
let h = a.left + a.width / 2 - o.left - d / 2;
|
|
1060
1069
|
const u = 16, p = u - o.left, c = window.innerWidth - u - d - o.left;
|
|
1061
1070
|
n.style.setProperty("--menu-x", `${Math.max(p, Math.min(h, c))}px`);
|
|
1062
1071
|
}
|
|
1063
|
-
function
|
|
1072
|
+
function ur() {
|
|
1064
1073
|
return /* @__PURE__ */ s("svg", { className: `${e}-settings-icon`, width: "16", height: "16", viewBox: "0 0 16 16", "aria-hidden": !0, children: [
|
|
1065
1074
|
/* @__PURE__ */ t("path", { d: "M3 3h4.2v4.2H3zM8.8 3H13v4.2H8.8zM3 8.8h4.2V13H3z", fill: "none", stroke: "currentColor", strokeWidth: "1.3" }),
|
|
1066
1075
|
/* @__PURE__ */ t("path", { d: "M8.8 10.2h4.2", stroke: "currentColor", strokeWidth: "1.3", strokeLinecap: "round", strokeDasharray: "1.4 1.5" })
|
|
1067
1076
|
] });
|
|
1068
1077
|
}
|
|
1069
|
-
function
|
|
1078
|
+
function hr() {
|
|
1070
1079
|
return /* @__PURE__ */ s("svg", { className: `${e}-settings-icon`, width: "16", height: "16", viewBox: "0 0 16 16", "aria-hidden": !0, children: [
|
|
1071
1080
|
/* @__PURE__ */ t("path", { d: "M1.6 8S4 3.8 8 3.8 14.4 8 14.4 8 12 12.2 8 12.2 1.6 8 1.6 8Z", fill: "none", stroke: "currentColor", strokeWidth: "1.3" }),
|
|
1072
1081
|
/* @__PURE__ */ t("circle", { cx: "8", cy: "8", r: "1.8", fill: "none", stroke: "currentColor", strokeWidth: "1.3" })
|
|
1073
1082
|
] });
|
|
1074
1083
|
}
|
|
1075
|
-
function
|
|
1084
|
+
function pr() {
|
|
1076
1085
|
return /* @__PURE__ */ t("svg", { className: `${e}-settings-icon`, width: "16", height: "16", viewBox: "0 0 16 16", "aria-hidden": !0, children: /* @__PURE__ */ t("path", { d: "M2.5 2.5h4.2v4.2H2.5zM9.3 2.5h4.2v4.2H9.3zM2.5 9.3h4.2v4.2H2.5zM9.3 9.3h4.2v4.2H9.3z", fill: "none", stroke: "currentColor", strokeWidth: "1.3" }) });
|
|
1077
1086
|
}
|
|
1078
|
-
function
|
|
1087
|
+
function gr() {
|
|
1079
1088
|
return /* @__PURE__ */ s("svg", { className: `${e}-settings-icon`, width: "16", height: "16", viewBox: "0 0 16 16", "aria-hidden": !0, children: [
|
|
1080
1089
|
/* @__PURE__ */ t("rect", { x: "1.8", y: "3.6", width: "12.4", height: "8.8", rx: "1.4", fill: "none", stroke: "currentColor", strokeWidth: "1.3" }),
|
|
1081
1090
|
/* @__PURE__ */ t("path", { d: "M4 6.2h.1M6.4 6.2h.1M8.8 6.2h.1M11.2 6.2h.1M4.8 8.4h6.4", stroke: "currentColor", strokeWidth: "1.3", strokeLinecap: "round" })
|
|
1082
1091
|
] });
|
|
1083
1092
|
}
|
|
1084
|
-
function
|
|
1093
|
+
function mr() {
|
|
1085
1094
|
return /* @__PURE__ */ s("svg", { className: `${e}-settings-icon`, width: "16", height: "16", viewBox: "0 0 16 16", "aria-hidden": !0, children: [
|
|
1086
1095
|
/* @__PURE__ */ t("path", { d: "M2 8s2.2-3.6 6-3.6S14 8 14 8s-2.2 3.6-6 3.6S2 8 2 8Z", fill: "none", stroke: "currentColor", strokeWidth: "1.3" }),
|
|
1087
1096
|
/* @__PURE__ */ t("path", { d: "M3 13 13 3", stroke: "currentColor", strokeWidth: "1.3", strokeLinecap: "round" })
|
|
1088
1097
|
] });
|
|
1089
1098
|
}
|
|
1090
|
-
function
|
|
1099
|
+
function fr() {
|
|
1091
1100
|
return /* @__PURE__ */ s("svg", { className: `${e}-settings-icon`, width: "16", height: "16", viewBox: "0 0 16 16", "aria-hidden": !0, children: [
|
|
1092
1101
|
/* @__PURE__ */ t("path", { d: "M6.5 3.2H3.8v9.6h2.7", fill: "none", stroke: "currentColor", strokeWidth: "1.3", strokeLinecap: "round" }),
|
|
1093
1102
|
/* @__PURE__ */ t("path", { d: "M7 8h6.2M11 5.4 13.6 8 11 10.6", fill: "none", stroke: "currentColor", strokeWidth: "1.3", strokeLinecap: "round", strokeLinejoin: "round" })
|
|
@@ -1105,7 +1114,7 @@ function kt(n) {
|
|
|
1105
1114
|
const r = typeof matchMedia == "function" && matchMedia("(prefers-color-scheme: dark)").matches, o = jn(n, r) === "dark", a = document.documentElement;
|
|
1106
1115
|
a.dataset.theme = o ? "dark" : "light", a.style.colorScheme = n === "system" ? "light dark" : o ? "dark" : "light", a.classList.toggle("dark", o), a.classList.toggle("light", !o);
|
|
1107
1116
|
}
|
|
1108
|
-
function
|
|
1117
|
+
function br({
|
|
1109
1118
|
label: n,
|
|
1110
1119
|
doc: r,
|
|
1111
1120
|
dashboardHref: o,
|
|
@@ -1123,16 +1132,16 @@ function fr({
|
|
|
1123
1132
|
}, [d]), te(() => {
|
|
1124
1133
|
const x = M.current;
|
|
1125
1134
|
if (!d || !a || !x) return;
|
|
1126
|
-
const A = () =>
|
|
1135
|
+
const A = () => dr(a, x);
|
|
1127
1136
|
return A(), window.addEventListener("resize", A), () => window.removeEventListener("resize", A);
|
|
1128
1137
|
}, [d, a]);
|
|
1129
1138
|
const le = Ke(
|
|
1130
|
-
(x, A,
|
|
1139
|
+
(x, A, T) => {
|
|
1131
1140
|
if (!r) return;
|
|
1132
1141
|
const Q = ++j.current, ne = S.trim(), pe = xt(r.workspaceId, ne);
|
|
1133
|
-
A ? I(!0) :
|
|
1142
|
+
A ? I(!0) : T != null && T.silent || D(!0), tn(r.workspaceId, {
|
|
1134
1143
|
q: ne || void 0,
|
|
1135
|
-
limit:
|
|
1144
|
+
limit: Jn,
|
|
1136
1145
|
offset: x,
|
|
1137
1146
|
current: r
|
|
1138
1147
|
}).then((re) => {
|
|
@@ -1150,10 +1159,10 @@ function fr({
|
|
|
1150
1159
|
);
|
|
1151
1160
|
z(() => {
|
|
1152
1161
|
if (!d || !r) return;
|
|
1153
|
-
const x = S.trim(), A = xt(r.workspaceId, x),
|
|
1154
|
-
|
|
1162
|
+
const x = S.trim(), A = xt(r.workspaceId, x), T = Y.current.get(A);
|
|
1163
|
+
T && (p(T.rows), R(T.total), C(null));
|
|
1155
1164
|
const Q = window.setTimeout(
|
|
1156
|
-
() => le(0, !1, { silent: !!
|
|
1165
|
+
() => le(0, !1, { silent: !!T }),
|
|
1157
1166
|
x ? 200 : 0
|
|
1158
1167
|
);
|
|
1159
1168
|
return () => window.clearTimeout(Q);
|
|
@@ -1235,14 +1244,14 @@ function fr({
|
|
|
1235
1244
|
onClick: h,
|
|
1236
1245
|
children: [
|
|
1237
1246
|
/* @__PURE__ */ t("span", { children: n }),
|
|
1238
|
-
/* @__PURE__ */ t(
|
|
1247
|
+
/* @__PURE__ */ t(Pt, {})
|
|
1239
1248
|
]
|
|
1240
1249
|
}
|
|
1241
1250
|
),
|
|
1242
1251
|
G && a ? Me(G, a) : null
|
|
1243
1252
|
] });
|
|
1244
1253
|
}
|
|
1245
|
-
function
|
|
1254
|
+
function xr({
|
|
1246
1255
|
branch: n,
|
|
1247
1256
|
tree: r,
|
|
1248
1257
|
workspaceId: o,
|
|
@@ -1267,7 +1276,7 @@ function br({
|
|
|
1267
1276
|
g = !0;
|
|
1268
1277
|
};
|
|
1269
1278
|
}, [m, o, u, n]), !m || !d) return null;
|
|
1270
|
-
const E = u ?
|
|
1279
|
+
const E = u ? vr(u.map((g) => ({ key: g, label: g })), N) : null;
|
|
1271
1280
|
return Me(
|
|
1272
1281
|
/* @__PURE__ */ t("div", { id: S, role: "menu", "aria-label": "Branches", className: `${e}-menu ${e}-page-menu`, children: o ? /* @__PURE__ */ t(
|
|
1273
1282
|
Bt,
|
|
@@ -1348,10 +1357,10 @@ function Bt({
|
|
|
1348
1357
|
] }) : null
|
|
1349
1358
|
] });
|
|
1350
1359
|
}
|
|
1351
|
-
function
|
|
1360
|
+
function Pt() {
|
|
1352
1361
|
return /* @__PURE__ */ t("svg", { className: `${e}-chevron`, width: "10", height: "10", viewBox: "0 0 12 12", fill: "none", "aria-hidden": !0, children: /* @__PURE__ */ t("path", { d: "M2.5 4.5 6 8l3.5-3.5", stroke: "currentColor", strokeWidth: "1.25", strokeLinecap: "round", strokeLinejoin: "round" }) });
|
|
1353
1362
|
}
|
|
1354
|
-
function
|
|
1363
|
+
function vr(n, r) {
|
|
1355
1364
|
const o = r.trim().toLowerCase();
|
|
1356
1365
|
return o ? n.filter((a) => a.label.toLowerCase().includes(o)) : [...n];
|
|
1357
1366
|
}
|
|
@@ -1372,7 +1381,7 @@ async function $r(n) {
|
|
|
1372
1381
|
const m = n.previewEntryPath.includes("?") ? "&" : "?";
|
|
1373
1382
|
a(`${n.previewEntryPath}${m}ticket=${encodeURIComponent(d.ticket)}`);
|
|
1374
1383
|
}
|
|
1375
|
-
const
|
|
1384
|
+
const kr = `
|
|
1376
1385
|
.${e}-host {
|
|
1377
1386
|
position: absolute;
|
|
1378
1387
|
width: 0;
|
|
@@ -1391,7 +1400,7 @@ html.backmatter-blocks [data-backmatter-block] {
|
|
|
1391
1400
|
outline: 1.5px solid oklch(0.56 0.21 295);
|
|
1392
1401
|
outline-offset: 2px;
|
|
1393
1402
|
}
|
|
1394
|
-
`,
|
|
1403
|
+
`, wr = `
|
|
1395
1404
|
.${e}-root {
|
|
1396
1405
|
--preview: ${Lt};
|
|
1397
1406
|
--preview-hover: oklch(0.50 0.20 295);
|
|
@@ -2000,20 +2009,20 @@ html.backmatter-blocks [data-backmatter-block] {
|
|
|
2000
2009
|
:host(.${e}-pointing) .${e} * { cursor: pointer !important; }
|
|
2001
2010
|
:host(.${e}-pointing) .${e} button:disabled { cursor: default !important; }
|
|
2002
2011
|
`, Se = () => {
|
|
2003
|
-
},
|
|
2012
|
+
}, yr = {
|
|
2004
2013
|
position: "relative",
|
|
2005
2014
|
height: 96,
|
|
2006
2015
|
overflow: "hidden",
|
|
2007
2016
|
transform: "translateZ(0)",
|
|
2008
2017
|
"--bm-devbar-right": "auto",
|
|
2009
2018
|
"--bm-devbar-left": "12px"
|
|
2010
|
-
},
|
|
2019
|
+
}, Nr = {
|
|
2011
2020
|
locale: "en",
|
|
2012
2021
|
type: "page",
|
|
2013
2022
|
slug: "home",
|
|
2014
2023
|
workspaceId: "ws_sample"
|
|
2015
2024
|
};
|
|
2016
|
-
function
|
|
2025
|
+
function Sr() {
|
|
2017
2026
|
const [n, r] = f(0);
|
|
2018
2027
|
return /* @__PURE__ */ s("div", { style: { display: "flex", flexDirection: "column", gap: 40 }, children: [
|
|
2019
2028
|
/* @__PURE__ */ t("style", { children: `
|
|
@@ -2123,12 +2132,12 @@ function K({
|
|
|
2123
2132
|
}) {
|
|
2124
2133
|
return /* @__PURE__ */ s("section", { style: { display: "flex", flexDirection: "column" }, children: [
|
|
2125
2134
|
/* @__PURE__ */ t("h2", { className: "ui-kit-devbar-label", children: r }),
|
|
2126
|
-
/* @__PURE__ */ t("div", { className: "ui-kit-devbar-stage", style:
|
|
2127
|
-
|
|
2135
|
+
/* @__PURE__ */ t("div", { className: "ui-kit-devbar-stage", style: yr, children: /* @__PURE__ */ t(
|
|
2136
|
+
tr,
|
|
2128
2137
|
{
|
|
2129
2138
|
label: "page/home",
|
|
2130
2139
|
branch: a,
|
|
2131
|
-
doc: m ?
|
|
2140
|
+
doc: m ? Nr : null,
|
|
2132
2141
|
siteMode: o,
|
|
2133
2142
|
exiting: d,
|
|
2134
2143
|
chatOpen: h,
|
|
@@ -2146,8 +2155,8 @@ function K({
|
|
|
2146
2155
|
) })
|
|
2147
2156
|
] });
|
|
2148
2157
|
}
|
|
2149
|
-
const wt =
|
|
2150
|
-
function
|
|
2158
|
+
const wt = P.find((n) => n.slug === "feedback");
|
|
2159
|
+
function Mr() {
|
|
2151
2160
|
return /* @__PURE__ */ t(O, { title: wt.title, lede: wt.lede, children: /* @__PURE__ */ s(Ee, { children: [
|
|
2152
2161
|
/* @__PURE__ */ t(b, { label: "StatusBar", block: !0, children: /* @__PURE__ */ s(He, { children: [
|
|
2153
2162
|
/* @__PURE__ */ t(me, { children: "main" }),
|
|
@@ -2158,12 +2167,12 @@ function Sr() {
|
|
|
2158
2167
|
/* @__PURE__ */ t(me, { children: "Unsaved" })
|
|
2159
2168
|
] }) }),
|
|
2160
2169
|
/* @__PURE__ */ t(b, { label: "danger", block: !0, children: /* @__PURE__ */ t(He, { children: /* @__PURE__ */ t(me, { tone: "danger", children: "Save failed" }) }) }),
|
|
2161
|
-
/* @__PURE__ */ t(b, { label: "success", children: /* @__PURE__ */ t(
|
|
2162
|
-
/* @__PURE__ */ t(b, { label: "danger", children: /* @__PURE__ */ t(
|
|
2170
|
+
/* @__PURE__ */ t(b, { label: "success", children: /* @__PURE__ */ t($, { tone: "success", children: "Success" }) }),
|
|
2171
|
+
/* @__PURE__ */ t(b, { label: "danger", children: /* @__PURE__ */ t($, { tone: "danger", children: "Danger" }) })
|
|
2163
2172
|
] }) });
|
|
2164
2173
|
}
|
|
2165
|
-
const yt =
|
|
2166
|
-
function
|
|
2174
|
+
const yt = P.find((n) => n.slug === "fields");
|
|
2175
|
+
function Er() {
|
|
2167
2176
|
const [n, r] = f("en");
|
|
2168
2177
|
return /* @__PURE__ */ t(O, { title: yt.title, lede: yt.lede, children: /* @__PURE__ */ s(Ee, { children: [
|
|
2169
2178
|
/* @__PURE__ */ t(b, { label: "Input", block: !0, children: /* @__PURE__ */ t(Ne, { label: "Text", hint: "Shown under the field.", children: /* @__PURE__ */ t(st, { defaultValue: "Ada Lovelace", autoComplete: "off", spellCheck: !1 }) }) }),
|
|
@@ -2187,15 +2196,15 @@ title: Hello
|
|
|
2187
2196
|
Paragraph.` }) }) })
|
|
2188
2197
|
] }) });
|
|
2189
2198
|
}
|
|
2190
|
-
const Nt =
|
|
2191
|
-
function
|
|
2199
|
+
const Nt = P.find((n) => n.slug === "lists");
|
|
2200
|
+
function Cr() {
|
|
2192
2201
|
return /* @__PURE__ */ t(O, { title: Nt.title, lede: Nt.lede, children: /* @__PURE__ */ t(b, { label: "List", block: !0, children: /* @__PURE__ */ s(Nn, { children: [
|
|
2193
2202
|
/* @__PURE__ */ t(lt, { to: "/__ui/lists", title: "hello", meta: "en" }),
|
|
2194
2203
|
/* @__PURE__ */ t(lt, { to: "/__ui/lists", title: "about", meta: "da" })
|
|
2195
2204
|
] }) }) });
|
|
2196
2205
|
}
|
|
2197
|
-
const St =
|
|
2198
|
-
function
|
|
2206
|
+
const St = P.find((n) => n.slug === "overlays");
|
|
2207
|
+
function zr() {
|
|
2199
2208
|
const [n, r] = f(!1);
|
|
2200
2209
|
return /* @__PURE__ */ t(hn, { children: /* @__PURE__ */ t(O, { title: St.title, lede: St.lede, children: /* @__PURE__ */ s(Ee, { children: [
|
|
2201
2210
|
/* @__PURE__ */ s(b, { label: "ConfirmDialog", children: [
|
|
@@ -2216,8 +2225,8 @@ function Cr() {
|
|
|
2216
2225
|
/* @__PURE__ */ t(b, { label: "Tooltip", children: /* @__PURE__ */ t(gn, { label: "Sample tooltip", children: /* @__PURE__ */ t(ue, { variant: "secondary", children: "Hover" }) }) })
|
|
2217
2226
|
] }) }) });
|
|
2218
2227
|
}
|
|
2219
|
-
const Mt =
|
|
2220
|
-
function
|
|
2228
|
+
const Mt = P.find((n) => n.slug === "sections");
|
|
2229
|
+
function Rr() {
|
|
2221
2230
|
return /* @__PURE__ */ s(O, { title: Mt.title, lede: Mt.lede, children: [
|
|
2222
2231
|
/* @__PURE__ */ t(b, { label: "PageHeader", block: !0, children: /* @__PURE__ */ t(
|
|
2223
2232
|
mn,
|
|
@@ -2229,13 +2238,13 @@ function zr() {
|
|
|
2229
2238
|
}
|
|
2230
2239
|
) }),
|
|
2231
2240
|
/* @__PURE__ */ t(b, { label: "Panel", block: !0, children: /* @__PURE__ */ t(bn, { children: /* @__PURE__ */ s(xn, { children: [
|
|
2232
|
-
/* @__PURE__ */ t(
|
|
2233
|
-
/* @__PURE__ */ t(
|
|
2241
|
+
/* @__PURE__ */ t($, { children: "First line" }),
|
|
2242
|
+
/* @__PURE__ */ t($, { children: "Second line" })
|
|
2234
2243
|
] }) }) })
|
|
2235
2244
|
] });
|
|
2236
2245
|
}
|
|
2237
|
-
const Et =
|
|
2238
|
-
function
|
|
2246
|
+
const Et = P.find((n) => n.slug === "surfaces");
|
|
2247
|
+
function Ir() {
|
|
2239
2248
|
return /* @__PURE__ */ s(O, { title: Et.title, lede: Et.lede, children: [
|
|
2240
2249
|
/* @__PURE__ */ t(b, { label: "Space", children: /* @__PURE__ */ s("div", { className: "x78zum5 x1a02dak xuk3077 x1n5939r", children: [
|
|
2241
2250
|
/* @__PURE__ */ t(ee, { label: "xs", bar: V.xs }),
|
|
@@ -2250,12 +2259,12 @@ function Rr() {
|
|
|
2250
2259
|
/* @__PURE__ */ t(ee, { label: "md", box: V.radiusMd })
|
|
2251
2260
|
] }) }),
|
|
2252
2261
|
/* @__PURE__ */ t(b, { label: "Backgrounds", children: /* @__PURE__ */ s("div", { className: "xk7greg x13oidi x86kjsi", children: [
|
|
2253
|
-
/* @__PURE__ */ t(
|
|
2262
|
+
/* @__PURE__ */ t($, { size: "xs", tone: "muted", mono: !0, children: "bgApp" }),
|
|
2254
2263
|
/* @__PURE__ */ s("div", { className: "xk7greg x13oidi x1jtkcfc", children: [
|
|
2255
|
-
/* @__PURE__ */ t(
|
|
2264
|
+
/* @__PURE__ */ t($, { size: "xs", tone: "muted", mono: !0, children: "bgSidebar" }),
|
|
2256
2265
|
/* @__PURE__ */ s("div", { className: "xk7greg x13oidi x1d0qn7y", children: [
|
|
2257
|
-
/* @__PURE__ */ t(
|
|
2258
|
-
/* @__PURE__ */ t("div", { className: "xk7greg x13oidi x1hb2obb xmkeg23 x1y0btm7 x1j0qoeq", children: /* @__PURE__ */ t(
|
|
2266
|
+
/* @__PURE__ */ t($, { size: "xs", tone: "muted", mono: !0, children: "bgPanel" }),
|
|
2267
|
+
/* @__PURE__ */ t("div", { className: "xk7greg x13oidi x1hb2obb xmkeg23 x1y0btm7 x1j0qoeq", children: /* @__PURE__ */ t($, { size: "xs", mono: !0, children: "bgSurface" }) })
|
|
2259
2268
|
] })
|
|
2260
2269
|
] })
|
|
2261
2270
|
] }) })
|
|
@@ -2268,7 +2277,7 @@ function ee({
|
|
|
2268
2277
|
}) {
|
|
2269
2278
|
return /* @__PURE__ */ s("div", { className: "x78zum5 xdt5ytf x1cy8zhl x3smv4v", children: [
|
|
2270
2279
|
/* @__PURE__ */ t("div", { ...Rt(r ? V.bar : V.radiusBox, r, o) }),
|
|
2271
|
-
/* @__PURE__ */ t(
|
|
2280
|
+
/* @__PURE__ */ t($, { size: "xs", tone: "muted", mono: !0, children: n })
|
|
2272
2281
|
] });
|
|
2273
2282
|
}
|
|
2274
2283
|
const V = {
|
|
@@ -2319,41 +2328,41 @@ const V = {
|
|
|
2319
2328
|
kaIpWk: "x13oidi",
|
|
2320
2329
|
$$css: !0
|
|
2321
2330
|
}
|
|
2322
|
-
}, Ct =
|
|
2323
|
-
function
|
|
2331
|
+
}, Ct = P.find((n) => n.slug === "type");
|
|
2332
|
+
function _r() {
|
|
2324
2333
|
return /* @__PURE__ */ s(O, { title: Ct.title, lede: Ct.lede, children: [
|
|
2325
|
-
/* @__PURE__ */ t(b, { label: "display", children: /* @__PURE__ */ t(
|
|
2326
|
-
/* @__PURE__ */ t(b, { label: "xl", children: /* @__PURE__ */ t(
|
|
2327
|
-
/* @__PURE__ */ t(b, { label: "lg", children: /* @__PURE__ */ t(
|
|
2328
|
-
/* @__PURE__ */ t(b, { label: "md", children: /* @__PURE__ */ t(
|
|
2329
|
-
/* @__PURE__ */ t(b, { label: "sm", children: /* @__PURE__ */ t(
|
|
2330
|
-
/* @__PURE__ */ t(b, { label: "xs", children: /* @__PURE__ */ t(
|
|
2331
|
-
/* @__PURE__ */ t(b, { label: "muted", children: /* @__PURE__ */ t(
|
|
2332
|
-
/* @__PURE__ */ t(b, { label: "danger", children: /* @__PURE__ */ t(
|
|
2333
|
-
/* @__PURE__ */ t(b, { label: "success", children: /* @__PURE__ */ t(
|
|
2334
|
-
/* @__PURE__ */ t(b, { label: "mono", children: /* @__PURE__ */ t(
|
|
2334
|
+
/* @__PURE__ */ t(b, { label: "display", children: /* @__PURE__ */ t($, { size: "display", weight: "semibold", children: "Display" }) }),
|
|
2335
|
+
/* @__PURE__ */ t(b, { label: "xl", children: /* @__PURE__ */ t($, { size: "xl", weight: "semibold", children: "Title" }) }),
|
|
2336
|
+
/* @__PURE__ */ t(b, { label: "lg", children: /* @__PURE__ */ t($, { size: "lg", weight: "medium", children: "Heading" }) }),
|
|
2337
|
+
/* @__PURE__ */ t(b, { label: "md", children: /* @__PURE__ */ t($, { children: "Body" }) }),
|
|
2338
|
+
/* @__PURE__ */ t(b, { label: "sm", children: /* @__PURE__ */ t($, { size: "sm", children: "Small" }) }),
|
|
2339
|
+
/* @__PURE__ */ t(b, { label: "xs", children: /* @__PURE__ */ t($, { size: "xs", weight: "semibold", children: "Overline" }) }),
|
|
2340
|
+
/* @__PURE__ */ t(b, { label: "muted", children: /* @__PURE__ */ t($, { tone: "muted", size: "sm", children: "Muted" }) }),
|
|
2341
|
+
/* @__PURE__ */ t(b, { label: "danger", children: /* @__PURE__ */ t($, { tone: "danger", children: "Danger" }) }),
|
|
2342
|
+
/* @__PURE__ */ t(b, { label: "success", children: /* @__PURE__ */ t($, { tone: "success", children: "Success" }) }),
|
|
2343
|
+
/* @__PURE__ */ t(b, { label: "mono", children: /* @__PURE__ */ t($, { mono: !0, size: "sm", children: "content/blog/hello.mdx" }) })
|
|
2335
2344
|
] });
|
|
2336
2345
|
}
|
|
2337
|
-
const
|
|
2346
|
+
const Ar = {
|
|
2338
2347
|
colors: zn,
|
|
2339
|
-
type:
|
|
2340
|
-
surfaces:
|
|
2341
|
-
sections:
|
|
2348
|
+
type: _r,
|
|
2349
|
+
surfaces: Ir,
|
|
2350
|
+
sections: Rr,
|
|
2342
2351
|
buttons: Cn,
|
|
2343
|
-
fields:
|
|
2344
|
-
lists:
|
|
2345
|
-
overlays:
|
|
2346
|
-
feedback:
|
|
2347
|
-
devbar:
|
|
2352
|
+
fields: Er,
|
|
2353
|
+
lists: Cr,
|
|
2354
|
+
overlays: zr,
|
|
2355
|
+
feedback: Mr,
|
|
2356
|
+
devbar: Lr
|
|
2348
2357
|
};
|
|
2349
|
-
function
|
|
2350
|
-
const n =
|
|
2351
|
-
return /* @__PURE__ */ t(O, { title: n.title, lede: n.lede, children: /* @__PURE__ */ t(
|
|
2358
|
+
function Lr() {
|
|
2359
|
+
const n = P.find((r) => r.slug === "devbar");
|
|
2360
|
+
return /* @__PURE__ */ t(O, { title: n.title, lede: n.lede, children: /* @__PURE__ */ t(Sr, {}) });
|
|
2352
2361
|
}
|
|
2353
|
-
const zt =
|
|
2362
|
+
const zt = P.map((n) => ({
|
|
2354
2363
|
...n,
|
|
2355
|
-
Page:
|
|
2356
|
-
})),
|
|
2364
|
+
Page: Ar[n.slug]
|
|
2365
|
+
})), Br = [{
|
|
2357
2366
|
value: "system",
|
|
2358
2367
|
label: "System"
|
|
2359
2368
|
}, {
|
|
@@ -2362,25 +2371,25 @@ const zt = T.map((n) => ({
|
|
|
2362
2371
|
}, {
|
|
2363
2372
|
value: "dark",
|
|
2364
2373
|
label: "Dark"
|
|
2365
|
-
}],
|
|
2366
|
-
function
|
|
2374
|
+
}], Pr = ["Foundations", "Components", "Host"];
|
|
2375
|
+
function jr() {
|
|
2367
2376
|
const {
|
|
2368
2377
|
pathname: n
|
|
2369
|
-
} =
|
|
2378
|
+
} = vn(), r = n.replace(/\/$/, "") || "/", o = r === "/__ui" ? void 0 : r.slice(6), a = Mn(o), {
|
|
2370
2379
|
preference: d,
|
|
2371
2380
|
setPreference: m
|
|
2372
|
-
} =
|
|
2381
|
+
} = $n();
|
|
2373
2382
|
if (r !== `/__ui/${a}`)
|
|
2374
2383
|
return /* @__PURE__ */ t(kn, { to: `/__ui/${a}`, replace: !0 });
|
|
2375
2384
|
const u = zt.find((p) => p.slug === a).Page;
|
|
2376
2385
|
return /* @__PURE__ */ s("div", { className: "x78zum5 xdt5ytf x1ov3xa9 x86kjsi xqjzbou xnezs1t", children: [
|
|
2377
2386
|
/* @__PURE__ */ s("header", { className: "x78zum5 x6s0dn4 x1qughib x11cgr9k x173sf5p x15jjofa xso031l x1q0q8m5 x4b2zrn x1hb2obb", children: [
|
|
2378
|
-
/* @__PURE__ */ t(
|
|
2379
|
-
/* @__PURE__ */ t("div", { className: "x78zum5 x1a02dak x3smv4v", role: "group", "aria-label": "Theme", children:
|
|
2387
|
+
/* @__PURE__ */ t($, { as: "p", size: "lg", weight: "semibold", children: "UI kit" }),
|
|
2388
|
+
/* @__PURE__ */ t("div", { className: "x78zum5 x1a02dak x3smv4v", role: "group", "aria-label": "Theme", children: Br.map((p) => /* @__PURE__ */ t(ue, { variant: d === p.value ? "primary" : "secondary", "aria-pressed": d === p.value, onClick: () => m(p.value), children: p.label }, p.value)) })
|
|
2380
2389
|
] }),
|
|
2381
2390
|
/* @__PURE__ */ s("div", { className: "x78zum5 x98rzlu x2lwn1j", children: [
|
|
2382
|
-
/* @__PURE__ */ t("nav", { className: "x16grhtn x2lah0s x1odjw0f xk7greg x1jtkcfc xs1s249 x32b0ac xpozbvl", "aria-label": "UI kit", children:
|
|
2383
|
-
/* @__PURE__ */ t(
|
|
2391
|
+
/* @__PURE__ */ t("nav", { className: "x16grhtn x2lah0s x1odjw0f xk7greg x1jtkcfc xs1s249 x32b0ac xpozbvl", "aria-label": "UI kit", children: Pr.map((p) => /* @__PURE__ */ s("div", { className: "x78zum5 xdt5ytf xpw8yq9 x31bu4j", children: [
|
|
2392
|
+
/* @__PURE__ */ t($, { as: "p", size: "xs", tone: "muted", weight: "semibold", children: p }),
|
|
2384
2393
|
zt.filter((c) => c.group === p).map((c) => /* @__PURE__ */ t(wn, { to: `/__ui/${c.slug}`, className: "x1lliihq x1heor9g x1hl2dhg", children: ({
|
|
2385
2394
|
isActive: R
|
|
2386
2395
|
}) => /* @__PURE__ */ t("span", { ...{
|
|
@@ -2397,5 +2406,5 @@ function qr() {
|
|
|
2397
2406
|
] });
|
|
2398
2407
|
}
|
|
2399
2408
|
export {
|
|
2400
|
-
|
|
2409
|
+
jr as UiKitApp
|
|
2401
2410
|
};
|