@omniviewdev/ai-ui 3.0.0 → 3.0.2
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/ai-ui.css +1 -1
- package/dist/index.js +257 -257
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as Wt from "react";
|
|
2
2
|
import ze, { forwardRef as q, useRef as be, useEffect as fe, useState as ge, useCallback as qt, useImperativeHandle as to, memo as bi, createContext as Bn, useContext as $n } from "react";
|
|
3
|
-
import { Avatar as no, Button as ce, Chip as Qe, IconButton as he, Banner as Ne, Select as
|
|
3
|
+
import { Avatar as no, Button as ce, Chip as Qe, IconButton as he, Banner as Ne, Select as je, Card as Pe, Spinner as wi, Collapsible as Hn, CollapsibleContent as Vn, Tooltip as xe, List as Xe, Checkbox as ln, Separator as ro, Blockquote as io, Link as lo, Table as et, CodeBlock as vi, Code as oo, StatRow as Le, Skeleton as so } from "@omniviewdev/base-ui";
|
|
4
4
|
import { flushSync as ao } from "react-dom";
|
|
5
5
|
function _i(t) {
|
|
6
6
|
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
|
|
@@ -35,7 +35,7 @@ function co() {
|
|
|
35
35
|
function t(I) {
|
|
36
36
|
if (I == null) return null;
|
|
37
37
|
if (typeof I == "function")
|
|
38
|
-
return I.$$typeof ===
|
|
38
|
+
return I.$$typeof === R ? null : I.displayName || I.name || null;
|
|
39
39
|
if (typeof I == "string") return I;
|
|
40
40
|
switch (I) {
|
|
41
41
|
case k:
|
|
@@ -204,8 +204,8 @@ React keys must be passed directly to JSX without using spread:
|
|
|
204
204
|
}
|
|
205
205
|
if (X = null, y !== void 0 && (r(y), X = "" + y), o(B) && (r(B.key), X = "" + B.key), "key" in B) {
|
|
206
206
|
y = {};
|
|
207
|
-
for (var
|
|
208
|
-
|
|
207
|
+
for (var Re in B)
|
|
208
|
+
Re !== "key" && (y[Re] = B[Re]);
|
|
209
209
|
} else y = B;
|
|
210
210
|
return X && s(
|
|
211
211
|
y,
|
|
@@ -225,7 +225,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
225
225
|
function d(I) {
|
|
226
226
|
return typeof I == "object" && I !== null && I.$$typeof === p;
|
|
227
227
|
}
|
|
228
|
-
var f = ze, p = /* @__PURE__ */ Symbol.for("react.transitional.element"), g = /* @__PURE__ */ Symbol.for("react.portal"), k = /* @__PURE__ */ Symbol.for("react.fragment"), x = /* @__PURE__ */ Symbol.for("react.strict_mode"), w = /* @__PURE__ */ Symbol.for("react.profiler"), v = /* @__PURE__ */ Symbol.for("react.consumer"), C = /* @__PURE__ */ Symbol.for("react.context"), A = /* @__PURE__ */ Symbol.for("react.forward_ref"), S = /* @__PURE__ */ Symbol.for("react.suspense"), L = /* @__PURE__ */ Symbol.for("react.suspense_list"), z = /* @__PURE__ */ Symbol.for("react.memo"), N = /* @__PURE__ */ Symbol.for("react.lazy"), _ = /* @__PURE__ */ Symbol.for("react.activity"),
|
|
228
|
+
var f = ze, p = /* @__PURE__ */ Symbol.for("react.transitional.element"), g = /* @__PURE__ */ Symbol.for("react.portal"), k = /* @__PURE__ */ Symbol.for("react.fragment"), x = /* @__PURE__ */ Symbol.for("react.strict_mode"), w = /* @__PURE__ */ Symbol.for("react.profiler"), v = /* @__PURE__ */ Symbol.for("react.consumer"), C = /* @__PURE__ */ Symbol.for("react.context"), A = /* @__PURE__ */ Symbol.for("react.forward_ref"), S = /* @__PURE__ */ Symbol.for("react.suspense"), L = /* @__PURE__ */ Symbol.for("react.suspense_list"), z = /* @__PURE__ */ Symbol.for("react.memo"), N = /* @__PURE__ */ Symbol.for("react.lazy"), _ = /* @__PURE__ */ Symbol.for("react.activity"), R = /* @__PURE__ */ Symbol.for("react.client.reference"), T = f.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, F = Object.prototype.hasOwnProperty, O = Array.isArray, j = console.createTask ? console.createTask : function() {
|
|
229
229
|
return null;
|
|
230
230
|
};
|
|
231
231
|
f = {
|
|
@@ -236,7 +236,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
236
236
|
var M, V = {}, G = f.react_stack_bottom_frame.bind(
|
|
237
237
|
f,
|
|
238
238
|
l
|
|
239
|
-
)(), te =
|
|
239
|
+
)(), te = j(e(l)), b = {};
|
|
240
240
|
pt.Fragment = k, pt.jsx = function(I, B, y) {
|
|
241
241
|
var Q = 1e4 > T.recentlyCreatedOwnerStacks++;
|
|
242
242
|
return c(
|
|
@@ -245,7 +245,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
245
245
|
y,
|
|
246
246
|
!1,
|
|
247
247
|
Q ? Error("react-stack-top-frame") : G,
|
|
248
|
-
Q ?
|
|
248
|
+
Q ? j(e(I)) : te
|
|
249
249
|
);
|
|
250
250
|
}, pt.jsxs = function(I, B, y) {
|
|
251
251
|
var Q = 1e4 > T.recentlyCreatedOwnerStacks++;
|
|
@@ -255,7 +255,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
255
255
|
y,
|
|
256
256
|
!0,
|
|
257
257
|
Q ? Error("react-stack-top-frame") : G,
|
|
258
|
-
Q ?
|
|
258
|
+
Q ? j(e(I)) : te
|
|
259
259
|
);
|
|
260
260
|
};
|
|
261
261
|
})()), pt;
|
|
@@ -426,11 +426,11 @@ function Ci(t) {
|
|
|
426
426
|
}, n.attr), Ci(n.child)));
|
|
427
427
|
}
|
|
428
428
|
function K(t) {
|
|
429
|
-
return (n) => /* @__PURE__ */ ze.createElement(
|
|
429
|
+
return (n) => /* @__PURE__ */ ze.createElement(Ro, Ut({
|
|
430
430
|
attr: Yt({}, t.attr)
|
|
431
431
|
}, n), Ci(t.child));
|
|
432
432
|
}
|
|
433
|
-
function
|
|
433
|
+
function Ro(t) {
|
|
434
434
|
var n = (r) => {
|
|
435
435
|
var {
|
|
436
436
|
attr: e,
|
|
@@ -453,7 +453,7 @@ function jo(t) {
|
|
|
453
453
|
};
|
|
454
454
|
return _r !== void 0 ? /* @__PURE__ */ ze.createElement(_r.Consumer, null, (r) => n(r)) : n(Si);
|
|
455
455
|
}
|
|
456
|
-
function
|
|
456
|
+
function jo(t) {
|
|
457
457
|
return K({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "path", attr: { d: "M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z" }, child: [] }] })(t);
|
|
458
458
|
}
|
|
459
459
|
function Ii(t) {
|
|
@@ -510,7 +510,7 @@ function Vo(t) {
|
|
|
510
510
|
function Ei(t) {
|
|
511
511
|
return K({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "path", attr: { d: "M12 2v4" }, child: [] }, { tag: "path", attr: { d: "m16.2 7.8 2.9-2.9" }, child: [] }, { tag: "path", attr: { d: "M18 12h4" }, child: [] }, { tag: "path", attr: { d: "m16.2 16.2 2.9 2.9" }, child: [] }, { tag: "path", attr: { d: "M12 18v4" }, child: [] }, { tag: "path", attr: { d: "m4.9 19.1 2.9-2.9" }, child: [] }, { tag: "path", attr: { d: "M2 12h4" }, child: [] }, { tag: "path", attr: { d: "m4.9 4.9 2.9 2.9" }, child: [] }] })(t);
|
|
512
512
|
}
|
|
513
|
-
function
|
|
513
|
+
function Ri(t) {
|
|
514
514
|
return K({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "rect", attr: { width: "18", height: "18", x: "3", y: "3", rx: "2", ry: "2" }, child: [] }, { tag: "circle", attr: { cx: "9", cy: "9", r: "2" }, child: [] }, { tag: "path", attr: { d: "m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21" }, child: [] }] })(t);
|
|
515
515
|
}
|
|
516
516
|
function Wo(t) {
|
|
@@ -525,7 +525,7 @@ function Uo(t) {
|
|
|
525
525
|
function vt(t) {
|
|
526
526
|
return K({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "path", attr: { d: "M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z" }, child: [] }, { tag: "path", attr: { d: "M14 2v4a2 2 0 0 0 2 2h4" }, child: [] }] })(t);
|
|
527
527
|
}
|
|
528
|
-
function
|
|
528
|
+
function ji(t) {
|
|
529
529
|
return K({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "ellipse", attr: { cx: "12", cy: "5", rx: "9", ry: "3" }, child: [] }, { tag: "path", attr: { d: "M3 5V19A9 3 0 0 0 21 19V5" }, child: [] }, { tag: "path", attr: { d: "M3 12A9 3 0 0 0 21 12" }, child: [] }] })(t);
|
|
530
530
|
}
|
|
531
531
|
function Ti(t) {
|
|
@@ -612,7 +612,7 @@ const ts = {
|
|
|
612
612
|
e[11] !== l || e[12] !== a || e[13] !== d || e[14] !== f || e[15] !== p ? (g = /* @__PURE__ */ m.jsx(no, { src: a, name: l, alt: d, fallbackIcon: f, size: "sm", color: p, shape: "circle", deterministic: !0 }), e[11] = l, e[12] = a, e[13] = d, e[14] = f, e[15] = p, e[16] = g) : g = e[16];
|
|
613
613
|
let k;
|
|
614
614
|
return e[17] !== r || e[18] !== o || e[19] !== s || e[20] !== c || e[21] !== h || e[22] !== g ? (k = /* @__PURE__ */ m.jsx("div", { ref: r, className: c, "data-ov-role": s, "aria-label": h, ...o, children: g }), e[17] = r, e[18] = o, e[19] = s, e[20] = c, e[21] = h, e[22] = g, e[23] = k) : k = e[23], k;
|
|
615
|
-
}), ss = "
|
|
615
|
+
}), ss = "_Root_12qto_7", as = "_Textarea_12qto_27", us = "_Toolbar_12qto_47", cs = "_ToolbarStart_12qto_65", hs = "_ToolbarEnd_12qto_71", mt = {
|
|
616
616
|
Root: ss,
|
|
617
617
|
Textarea: as,
|
|
618
618
|
Toolbar: us,
|
|
@@ -648,27 +648,27 @@ const ts = {
|
|
|
648
648
|
}, e[14] = N) : N = e[14];
|
|
649
649
|
let _;
|
|
650
650
|
e[15] !== g ? (_ = [g, z], e[15] = g, e[16] = _) : _ = e[16], fe(N, _);
|
|
651
|
-
let
|
|
652
|
-
e[17] !== w ? (
|
|
651
|
+
let R;
|
|
652
|
+
e[17] !== w ? (R = () => {
|
|
653
653
|
w && A.current?.focus();
|
|
654
|
-
}, e[17] = w, e[18] =
|
|
654
|
+
}, e[17] = w, e[18] = R) : R = e[18];
|
|
655
655
|
let T;
|
|
656
|
-
e[19] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (T = [], e[19] = T) : T = e[19], fe(
|
|
656
|
+
e[19] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (T = [], e[19] = T) : T = e[19], fe(R, T);
|
|
657
657
|
let F, O;
|
|
658
658
|
e[20] !== x || e[21] !== v ? (F = () => {
|
|
659
659
|
v && S.current && !x && requestAnimationFrame(() => {
|
|
660
660
|
A.current?.focus();
|
|
661
661
|
}), S.current = x;
|
|
662
662
|
}, O = [x, v], e[20] = x, e[21] = v, e[22] = F, e[23] = O) : (F = e[22], O = e[23]), fe(F, O);
|
|
663
|
-
let
|
|
664
|
-
e[24] !== C ? (
|
|
663
|
+
let j, M;
|
|
664
|
+
e[24] !== C ? (j = () => {
|
|
665
665
|
if (!C)
|
|
666
666
|
return;
|
|
667
667
|
const X = () => {
|
|
668
668
|
!A.current || A.current.disabled || A.current.focus();
|
|
669
669
|
};
|
|
670
670
|
return window.addEventListener("focus", X), () => window.removeEventListener("focus", X);
|
|
671
|
-
}, M = [C], e[24] = C, e[25] =
|
|
671
|
+
}, M = [C], e[24] = C, e[25] = j, e[26] = M) : (j = e[25], M = e[26]), fe(j, M);
|
|
672
672
|
let V;
|
|
673
673
|
e[27] !== x || e[28] !== s || e[29] !== g ? (V = (X) => {
|
|
674
674
|
if (X.key === "Enter" && !X.shiftKey) {
|
|
@@ -1305,7 +1305,7 @@ function ws({
|
|
|
1305
1305
|
}
|
|
1306
1306
|
return { startIndex: o, endIndex: s };
|
|
1307
1307
|
}
|
|
1308
|
-
const
|
|
1308
|
+
const Rr = typeof document < "u" ? Wt.useLayoutEffect : Wt.useEffect;
|
|
1309
1309
|
function vs({
|
|
1310
1310
|
useFlushSync: t = !0,
|
|
1311
1311
|
...n
|
|
@@ -1319,7 +1319,7 @@ function vs({
|
|
|
1319
1319
|
}, [i] = Wt.useState(
|
|
1320
1320
|
() => new bs(e)
|
|
1321
1321
|
);
|
|
1322
|
-
return i.setOptions(e),
|
|
1322
|
+
return i.setOptions(e), Rr(() => i._didMount(), []), Rr(() => i._willUpdate()), i;
|
|
1323
1323
|
}
|
|
1324
1324
|
function _s(t) {
|
|
1325
1325
|
return vs({
|
|
@@ -1397,8 +1397,8 @@ const Ss = "_Wrapper_z9c8w_1", Cs = "_Root_z9c8w_9", Is = "_Inner_z9c8w_16", As
|
|
|
1397
1397
|
" New messages"
|
|
1398
1398
|
] })
|
|
1399
1399
|
] });
|
|
1400
|
-
}),
|
|
1401
|
-
Root:
|
|
1400
|
+
}), Rs = "_Root_a2lv9_1", js = {
|
|
1401
|
+
Root: Rs
|
|
1402
1402
|
}, xg = q(function(n, r) {
|
|
1403
1403
|
const e = H.c(17);
|
|
1404
1404
|
let i, l, o, s;
|
|
@@ -1410,7 +1410,7 @@ const Ss = "_Wrapper_z9c8w_1", Cs = "_Root_z9c8w_9", Is = "_Inner_z9c8w_16", As
|
|
|
1410
1410
|
} = n, e[0] = n, e[1] = i, e[2] = l, e[3] = o, e[4] = s) : (i = e[1], l = e[2], o = e[3], s = e[4]), s.length === 0)
|
|
1411
1411
|
return null;
|
|
1412
1412
|
let a;
|
|
1413
|
-
e[5] !== i ? (a = $(
|
|
1413
|
+
e[5] !== i ? (a = $(js.Root, i), e[5] = i, e[6] = a) : a = e[6];
|
|
1414
1414
|
let u;
|
|
1415
1415
|
if (e[7] !== l || e[8] !== s) {
|
|
1416
1416
|
let h;
|
|
@@ -1460,8 +1460,8 @@ const Ss = "_Wrapper_z9c8w_1", Cs = "_Root_z9c8w_9", Is = "_Inner_z9c8w_16", As
|
|
|
1460
1460
|
e[29] !== l || e[30] !== g || e[31] !== c ? (N = c && /* @__PURE__ */ m.jsx(he, { size: "sm", variant: "ghost", color: l === "positive" ? "brand" : "neutral", "aria-label": "Positive feedback", onClick: g, children: /* @__PURE__ */ m.jsx(zo, { size: 14 }) }), e[29] = l, e[30] = g, e[31] = c, e[32] = N) : N = e[32];
|
|
1461
1461
|
let _;
|
|
1462
1462
|
e[33] !== l || e[34] !== x || e[35] !== c ? (_ = c && /* @__PURE__ */ m.jsx(he, { size: "sm", variant: "ghost", color: l === "negative" ? "brand" : "neutral", "aria-label": "Negative feedback", onClick: x, children: /* @__PURE__ */ m.jsx(Po, { size: 14 }) }), e[33] = l, e[34] = x, e[35] = c, e[36] = _) : _ = e[36];
|
|
1463
|
-
let
|
|
1464
|
-
return e[37] !== r || e[38] !== f || e[39] !== N || e[40] !== _ || e[41] !== w || e[42] !== v || e[43] !== C || e[44] !== A || e[45] !== S || e[46] !== L || e[47] !== z ? (
|
|
1463
|
+
let R;
|
|
1464
|
+
return e[37] !== r || e[38] !== f || e[39] !== N || e[40] !== _ || e[41] !== w || e[42] !== v || e[43] !== C || e[44] !== A || e[45] !== S || e[46] !== L || e[47] !== z ? (R = /* @__PURE__ */ m.jsxs("div", { ref: r, className: w, ...f, children: [
|
|
1465
1465
|
v,
|
|
1466
1466
|
C,
|
|
1467
1467
|
A,
|
|
@@ -1470,7 +1470,7 @@ const Ss = "_Wrapper_z9c8w_1", Cs = "_Root_z9c8w_9", Is = "_Inner_z9c8w_16", As
|
|
|
1470
1470
|
z,
|
|
1471
1471
|
N,
|
|
1472
1472
|
_
|
|
1473
|
-
] }), e[37] = r, e[38] = f, e[39] = N, e[40] = _, e[41] = w, e[42] = v, e[43] = C, e[44] = A, e[45] = S, e[46] = L, e[47] = z, e[48] =
|
|
1473
|
+
] }), e[37] = r, e[38] = f, e[39] = N, e[40] = _, e[41] = w, e[42] = v, e[43] = C, e[44] = A, e[45] = S, e[46] = L, e[47] = z, e[48] = R) : R = e[48], R;
|
|
1474
1474
|
}), Ns = "_Root_awjyl_1", zs = {
|
|
1475
1475
|
Root: Ns
|
|
1476
1476
|
}, yg = q(function(n, r) {
|
|
@@ -1530,7 +1530,7 @@ const Ss = "_Wrapper_z9c8w_1", Cs = "_Root_z9c8w_9", Is = "_Inner_z9c8w_16", As
|
|
|
1530
1530
|
}, Fs = {
|
|
1531
1531
|
file: /* @__PURE__ */ m.jsx(vt, { size: 12 }),
|
|
1532
1532
|
tool: /* @__PURE__ */ m.jsx(To, { size: 12 }),
|
|
1533
|
-
database: /* @__PURE__ */ m.jsx(
|
|
1533
|
+
database: /* @__PURE__ */ m.jsx(ji, { size: 12 })
|
|
1534
1534
|
}, wg = q(function(n, r) {
|
|
1535
1535
|
const e = H.c(25);
|
|
1536
1536
|
let i, l, o, s;
|
|
@@ -1589,7 +1589,7 @@ const $s = "_Root_gv0rg_1", Hs = "_Avatar_gv0rg_10", Vs = "_Messages_gv0rg_14",
|
|
|
1589
1589
|
c,
|
|
1590
1590
|
h
|
|
1591
1591
|
] }), e[12] = r, e[13] = s, e[14] = a, e[15] = u, e[16] = c, e[17] = h, e[18] = d) : d = e[18], d;
|
|
1592
|
-
}), Ws = "
|
|
1592
|
+
}), Ws = "_Root_1cidc_1", qs = "_Title_1cidc_9", Us = "_Model_1cidc_18", Ys = "_Actions_1cidc_23", Pt = {
|
|
1593
1593
|
Root: Ws,
|
|
1594
1594
|
Title: qs,
|
|
1595
1595
|
Model: Us,
|
|
@@ -1647,8 +1647,8 @@ const $s = "_Root_gv0rg_1", Hs = "_Avatar_gv0rg_10", Vs = "_Messages_gv0rg_14",
|
|
|
1647
1647
|
} = n, e[0] = n, e[1] = i, e[2] = l, e[3] = o, e[4] = s, e[5] = a, e[6] = u, e[7] = c, e[8] = h, e[9] = d) : (i = e[1], l = e[2], o = e[3], s = e[4], a = e[5], u = e[6], c = e[7], h = e[8], d = e[9]);
|
|
1648
1648
|
const f = u === void 0 ? "sm" : u, p = c === void 0 ? "outline" : c, g = h === void 0 ? !0 : h;
|
|
1649
1649
|
let k;
|
|
1650
|
-
e[10] !== s ? (k = (
|
|
1651
|
-
|
|
1650
|
+
e[10] !== s ? (k = (R) => {
|
|
1651
|
+
R != null && s && s(R);
|
|
1652
1652
|
}, e[10] = s, e[11] = k) : k = e[11];
|
|
1653
1653
|
const x = k;
|
|
1654
1654
|
let w;
|
|
@@ -1656,20 +1656,20 @@ const $s = "_Root_gv0rg_1", Hs = "_Avatar_gv0rg_10", Vs = "_Messages_gv0rg_14",
|
|
|
1656
1656
|
let v;
|
|
1657
1657
|
e[14] !== g ? (v = g ? /* @__PURE__ */ m.jsx(Pi, { size: 14 }) : void 0, e[14] = g, e[15] = v) : v = e[15];
|
|
1658
1658
|
let C;
|
|
1659
|
-
e[16] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (C = /* @__PURE__ */ m.jsx(
|
|
1659
|
+
e[16] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (C = /* @__PURE__ */ m.jsx(je.Value, { placeholder: "Select model" }), e[16] = C) : C = e[16];
|
|
1660
1660
|
let A;
|
|
1661
|
-
e[17] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (A = /* @__PURE__ */ m.jsx(
|
|
1661
|
+
e[17] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (A = /* @__PURE__ */ m.jsx(je.Icon, { children: /* @__PURE__ */ m.jsx(Et, { size: 12 }) }), e[17] = A) : A = e[17];
|
|
1662
1662
|
let S;
|
|
1663
|
-
e[18] !== v ? (S = /* @__PURE__ */ m.jsxs(
|
|
1663
|
+
e[18] !== v ? (S = /* @__PURE__ */ m.jsxs(je.Trigger, { startDecorator: v, children: [
|
|
1664
1664
|
C,
|
|
1665
1665
|
A
|
|
1666
1666
|
] }), e[18] = v, e[19] = S) : S = e[19];
|
|
1667
1667
|
let L;
|
|
1668
1668
|
e[20] !== o ? (L = o.map(Ks), e[20] = o, e[21] = L) : L = e[21];
|
|
1669
1669
|
let z;
|
|
1670
|
-
e[22] !== L ? (z = /* @__PURE__ */ m.jsx(
|
|
1670
|
+
e[22] !== L ? (z = /* @__PURE__ */ m.jsx(je.Portal, { children: /* @__PURE__ */ m.jsx(je.Positioner, { sideOffset: 6, children: /* @__PURE__ */ m.jsx(je.Popup, { children: /* @__PURE__ */ m.jsx(je.List, { children: L }) }) }) }), e[22] = L, e[23] = z) : z = e[23];
|
|
1671
1671
|
let N;
|
|
1672
|
-
e[24] !== l || e[25] !== x || e[26] !== f || e[27] !== z || e[28] !== S || e[29] !== d || e[30] !== p ? (N = /* @__PURE__ */ m.jsxs(
|
|
1672
|
+
e[24] !== l || e[25] !== x || e[26] !== f || e[27] !== z || e[28] !== S || e[29] !== d || e[30] !== p ? (N = /* @__PURE__ */ m.jsxs(je, { value: d, onValueChange: x, disabled: l, variant: p, color: "neutral", size: f, children: [
|
|
1673
1673
|
S,
|
|
1674
1674
|
z
|
|
1675
1675
|
] }), e[24] = l, e[25] = x, e[26] = f, e[27] = z, e[28] = S, e[29] = d, e[30] = p, e[31] = N) : N = e[31];
|
|
@@ -1677,8 +1677,8 @@ const $s = "_Root_gv0rg_1", Hs = "_Avatar_gv0rg_10", Vs = "_Messages_gv0rg_14",
|
|
|
1677
1677
|
return e[32] !== r || e[33] !== a || e[34] !== N || e[35] !== w ? (_ = /* @__PURE__ */ m.jsx("div", { ref: r, className: w, ...a, children: N }), e[32] = r, e[33] = a, e[34] = N, e[35] = w, e[36] = _) : _ = e[36], _;
|
|
1678
1678
|
});
|
|
1679
1679
|
function Ks(t) {
|
|
1680
|
-
return /* @__PURE__ */ m.jsxs(
|
|
1681
|
-
/* @__PURE__ */ m.jsx(
|
|
1680
|
+
return /* @__PURE__ */ m.jsxs(je.Item, { value: t.id, children: [
|
|
1681
|
+
/* @__PURE__ */ m.jsx(je.ItemText, { children: t.name }),
|
|
1682
1682
|
t.description && /* @__PURE__ */ m.jsx("span", { className: Di.ItemDescription, children: t.description })
|
|
1683
1683
|
] }, t.id);
|
|
1684
1684
|
}
|
|
@@ -1694,7 +1694,7 @@ function na(t) {
|
|
|
1694
1694
|
}
|
|
1695
1695
|
const ra = {
|
|
1696
1696
|
file: vt,
|
|
1697
|
-
image:
|
|
1697
|
+
image: Ri,
|
|
1698
1698
|
code: vt,
|
|
1699
1699
|
document: vt
|
|
1700
1700
|
}, Cg = q(function(n, r) {
|
|
@@ -1754,7 +1754,7 @@ const ra = {
|
|
|
1754
1754
|
const f = u ? "Retrying..." : c;
|
|
1755
1755
|
let p;
|
|
1756
1756
|
return e[9] !== l || e[10] !== r || e[11] !== o || e[12] !== u || e[13] !== h || e[14] !== f ? (p = /* @__PURE__ */ m.jsx(ce, { ref: r, className: h, variant: "outline", color: "neutral", size: "sm", disabled: u, onClick: l, startDecorator: d, ...o, children: f }), e[9] = l, e[10] = r, e[11] = o, e[12] = u, e[13] = h, e[14] = f, e[15] = p) : p = e[15], p;
|
|
1757
|
-
}), oa = "
|
|
1757
|
+
}), oa = "_Root_1muz5_1", sa = "_Textarea_1muz5_11", aa = "_Actions_1muz5_29", un = {
|
|
1758
1758
|
Root: oa,
|
|
1759
1759
|
Textarea: sa,
|
|
1760
1760
|
Actions: aa
|
|
@@ -1791,24 +1791,24 @@ const ra = {
|
|
|
1791
1791
|
e[21] !== i ? (N = $(un.Root, i), e[21] = i, e[22] = N) : N = e[22];
|
|
1792
1792
|
let _;
|
|
1793
1793
|
e[23] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (_ = (V) => g(V.target.value), e[23] = _) : _ = e[23];
|
|
1794
|
-
let
|
|
1795
|
-
e[24] !== S || e[25] !== a || e[26] !== d || e[27] !== p ? (
|
|
1794
|
+
let R;
|
|
1795
|
+
e[24] !== S || e[25] !== a || e[26] !== d || e[27] !== p ? (R = /* @__PURE__ */ m.jsx("textarea", { ref: k, className: un.Textarea, value: p, onChange: _, onKeyDown: S, placeholder: a, disabled: d, rows: 3 }), e[24] = S, e[25] = a, e[26] = d, e[27] = p, e[28] = R) : R = e[28];
|
|
1796
1796
|
let T;
|
|
1797
1797
|
e[29] !== o || e[30] !== d ? (T = /* @__PURE__ */ m.jsx(ce, { variant: "ghost", color: "neutral", size: "sm", onClick: o, disabled: d, children: "Cancel" }), e[29] = o, e[30] = d, e[31] = T) : T = e[31];
|
|
1798
1798
|
let F;
|
|
1799
1799
|
e[32] !== d ? (F = d ? /* @__PURE__ */ m.jsx(wi, { size: "sm" }) : void 0, e[32] = d, e[33] = F) : F = e[33];
|
|
1800
1800
|
let O;
|
|
1801
1801
|
e[34] !== z || e[35] !== C || e[36] !== F ? (O = /* @__PURE__ */ m.jsx(ce, { variant: "solid", color: "brand", size: "sm", onClick: z, disabled: C, startDecorator: F, children: "Save" }), e[34] = z, e[35] = C, e[36] = F, e[37] = O) : O = e[37];
|
|
1802
|
-
let
|
|
1803
|
-
e[38] !== T || e[39] !== O ? (
|
|
1802
|
+
let j;
|
|
1803
|
+
e[38] !== T || e[39] !== O ? (j = /* @__PURE__ */ m.jsxs("div", { className: un.Actions, children: [
|
|
1804
1804
|
T,
|
|
1805
1805
|
O
|
|
1806
|
-
] }), e[38] = T, e[39] = O, e[40] =
|
|
1806
|
+
] }), e[38] = T, e[39] = O, e[40] = j) : j = e[40];
|
|
1807
1807
|
let M;
|
|
1808
|
-
return e[41] !== r || e[42] !== u || e[43] !==
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
] }), e[41] = r, e[42] = u, e[43] =
|
|
1808
|
+
return e[41] !== r || e[42] !== u || e[43] !== R || e[44] !== j || e[45] !== N ? (M = /* @__PURE__ */ m.jsxs("div", { ref: r, className: N, ...u, children: [
|
|
1809
|
+
R,
|
|
1810
|
+
j
|
|
1811
|
+
] }), e[41] = r, e[42] = u, e[43] = R, e[44] = j, e[45] = N, e[46] = M) : M = e[46], M;
|
|
1812
1812
|
}), ua = "_Root_at0hz_1", ca = {
|
|
1813
1813
|
Root: ua
|
|
1814
1814
|
}, Eg = q(function({
|
|
@@ -1853,7 +1853,7 @@ const ra = {
|
|
|
1853
1853
|
Label: fa,
|
|
1854
1854
|
Dots: da,
|
|
1855
1855
|
Dot: pa
|
|
1856
|
-
},
|
|
1856
|
+
}, Rg = q(function(n, r) {
|
|
1857
1857
|
const e = H.c(14);
|
|
1858
1858
|
let i, l, o;
|
|
1859
1859
|
e[0] !== n ? ({
|
|
@@ -1878,7 +1878,7 @@ const ra = {
|
|
|
1878
1878
|
] }), e[9] = r, e[10] = o, e[11] = s, e[12] = a, e[13] = c) : c = e[13], c;
|
|
1879
1879
|
}), ma = "_Root_1bde1_1", ga = {
|
|
1880
1880
|
Root: ma
|
|
1881
|
-
},
|
|
1881
|
+
}, jg = q(function(n, r) {
|
|
1882
1882
|
const e = H.c(16);
|
|
1883
1883
|
let i, l, o, s, a;
|
|
1884
1884
|
e[0] !== n ? ({
|
|
@@ -1977,31 +1977,31 @@ const Tg = q(function({
|
|
|
1977
1977
|
M = !0, G != null && cancelAnimationFrame(G);
|
|
1978
1978
|
};
|
|
1979
1979
|
}, [r]);
|
|
1980
|
-
const C = r ? f : n ?? "", A = r ? g : i, S = l ?? (r ? x : 0), [L, z] = ge(e), [N, _] = ge(S),
|
|
1980
|
+
const C = r ? f : n ?? "", A = r ? g : i, S = l ?? (r ? x : 0), [L, z] = ge(e), [N, _] = ge(S), R = be(null), T = be(!1);
|
|
1981
1981
|
fe(() => {
|
|
1982
1982
|
if (A)
|
|
1983
|
-
|
|
1984
|
-
else if (
|
|
1985
|
-
const M = Date.now() -
|
|
1986
|
-
_(M),
|
|
1983
|
+
R.current === null && (R.current = Date.now(), z(!0));
|
|
1984
|
+
else if (R.current !== null) {
|
|
1985
|
+
const M = Date.now() - R.current;
|
|
1986
|
+
_(M), R.current = null;
|
|
1987
1987
|
}
|
|
1988
1988
|
}, [A]), fe(() => {
|
|
1989
1989
|
S > 0 && _(S);
|
|
1990
1990
|
}, [S]), fe(() => {
|
|
1991
|
-
if (s && !A && L && !T.current &&
|
|
1991
|
+
if (s && !A && L && !T.current && R.current === null && N > 0) {
|
|
1992
1992
|
const M = setTimeout(() => {
|
|
1993
1993
|
z(!1), T.current = !0;
|
|
1994
1994
|
}, a);
|
|
1995
1995
|
return () => clearTimeout(M);
|
|
1996
1996
|
}
|
|
1997
1997
|
}, [A, L, s, a, N]);
|
|
1998
|
-
const F = qt(() => z((M) => !M), []), O = l ?? N,
|
|
1998
|
+
const F = qt(() => z((M) => !M), []), O = l ?? N, j = {
|
|
1999
1999
|
isOpen: L,
|
|
2000
2000
|
isStreaming: A,
|
|
2001
2001
|
duration: O,
|
|
2002
2002
|
toggle: F
|
|
2003
2003
|
};
|
|
2004
|
-
return /* @__PURE__ */ m.jsx(Mi.Provider, { value:
|
|
2004
|
+
return /* @__PURE__ */ m.jsx(Mi.Provider, { value: j, children: /* @__PURE__ */ m.jsxs("div", { ref: d, className: $(Ae.Root, c), "data-ov-expanded": L ? "true" : "false", "data-ov-streaming": A ? "true" : "false", ...h, children: [
|
|
2005
2005
|
u ?? /* @__PURE__ */ m.jsxs("button", { type: "button", className: Ae.Trigger, onClick: F, "aria-expanded": L, children: [
|
|
2006
2006
|
/* @__PURE__ */ m.jsx("span", { className: Ae.BrainIcon, "aria-hidden": "true", children: /* @__PURE__ */ m.jsx(Un, { size: 16 }) }),
|
|
2007
2007
|
/* @__PURE__ */ m.jsx("span", { className: Ae.Label, children: Fi(A, A ? void 0 : O || void 0) }),
|
|
@@ -2035,12 +2035,12 @@ function Lg(t) {
|
|
|
2035
2035
|
let h;
|
|
2036
2036
|
return n[11] !== l || n[12] !== i || n[13] !== u || n[14] !== c || n[15] !== a ? (h = /* @__PURE__ */ m.jsx("button", { type: "button", className: u, onClick: a, "aria-expanded": l, ...i, children: c }), n[11] = l, n[12] = i, n[13] = u, n[14] = c, n[15] = a, n[16] = h) : h = n[16], h;
|
|
2037
2037
|
}
|
|
2038
|
-
const Ia = "
|
|
2038
|
+
const Ia = "_Root_168ew_1", Aa = "_Header_168ew_12", Ea = "_HeaderIcon_168ew_38", Ra = "_HeaderLabel_168ew_45", ja = "_HeaderChevron_168ew_50", Ta = "_CollapseContent_168ew_65", La = "_Step_168ew_76", Na = "_StepIndicator_168ew_83", za = "_StepIcon_168ew_92", Pa = "_StepLine_168ew_120", Oa = "_StepBody_168ew_133", Da = "_StepLabel_168ew_142", Ma = "_StepDescription_168ew_156", Fa = "_StepTags_168ew_165", Ba = "_StepTag_168ew_165", $a = "_StepFile_168ew_180", Ha = "_StepFileName_168ew_189", Va = "_StepImage_168ew_199", Wa = "_StepImageContent_168ew_206", qa = "_StepImageCaption_168ew_218", oe = {
|
|
2039
2039
|
Root: Ia,
|
|
2040
2040
|
Header: Aa,
|
|
2041
2041
|
HeaderIcon: Ea,
|
|
2042
|
-
HeaderLabel:
|
|
2043
|
-
HeaderChevron:
|
|
2042
|
+
HeaderLabel: Ra,
|
|
2043
|
+
HeaderChevron: ja,
|
|
2044
2044
|
CollapseContent: Ta,
|
|
2045
2045
|
Step: La,
|
|
2046
2046
|
StepIndicator: Na,
|
|
@@ -2099,13 +2099,13 @@ const Ng = q(function(n, r) {
|
|
|
2099
2099
|
e[20] !== i || e[21] !== c || e[22] !== A ? (N = A ? c.map(Za) : i, e[20] = i, e[21] = c, e[22] = A, e[23] = N) : N = e[23];
|
|
2100
2100
|
let _;
|
|
2101
2101
|
e[24] !== N ? (_ = /* @__PURE__ */ m.jsx(Vn, { children: /* @__PURE__ */ m.jsx("div", { className: oe.CollapseContent, children: N }) }), e[24] = N, e[25] = _) : _ = e[25];
|
|
2102
|
-
let
|
|
2103
|
-
e[26] !== f || e[27] !== _ ? (
|
|
2102
|
+
let R;
|
|
2103
|
+
e[26] !== f || e[27] !== _ ? (R = /* @__PURE__ */ m.jsx(Hn, { open: f, children: _ }), e[26] = f, e[27] = _, e[28] = R) : R = e[28];
|
|
2104
2104
|
let T;
|
|
2105
|
-
e[29] !== r || e[30] !== u || e[31] !==
|
|
2105
|
+
e[29] !== r || e[30] !== u || e[31] !== R || e[32] !== S || e[33] !== L || e[34] !== z ? (T = /* @__PURE__ */ m.jsxs("div", { ref: r, className: S, "data-ov-open": L, role: "list", ...u, children: [
|
|
2106
2106
|
z,
|
|
2107
|
-
|
|
2108
|
-
] }), e[29] = r, e[30] = u, e[31] =
|
|
2107
|
+
R
|
|
2108
|
+
] }), e[29] = r, e[30] = u, e[31] = R, e[32] = S, e[33] = L, e[34] = z, e[35] = T) : T = e[35];
|
|
2109
2109
|
let F;
|
|
2110
2110
|
return e[36] !== C || e[37] !== T ? (F = /* @__PURE__ */ m.jsx(Bi.Provider, { value: C, children: T }), e[36] = C, e[37] = T, e[38] = F) : F = e[38], F;
|
|
2111
2111
|
});
|
|
@@ -2241,7 +2241,7 @@ const Ka = {
|
|
|
2241
2241
|
resource: Zo,
|
|
2242
2242
|
log: Fo,
|
|
2243
2243
|
config: Wn,
|
|
2244
|
-
query:
|
|
2244
|
+
query: ji,
|
|
2245
2245
|
url: Wo
|
|
2246
2246
|
};
|
|
2247
2247
|
function Dg(t) {
|
|
@@ -2317,7 +2317,7 @@ function Ja(t) {
|
|
|
2317
2317
|
function Za(t) {
|
|
2318
2318
|
return /* @__PURE__ */ m.jsx(Ga, { icon: t.icon, label: t.label, description: t.description ?? t.content, status: t.status, tags: t.tags, role: "listitem", children: t.children }, t.id);
|
|
2319
2319
|
}
|
|
2320
|
-
const eu = "
|
|
2320
|
+
const eu = "_Root_plra9_1", tu = "_Header_plra9_8", nu = "_StatusIcon_plra9_31", ru = "_Name_plra9_53", iu = "_Duration_plra9_59", lu = "_Chevron_plra9_64", ou = "_Arguments_plra9_74", su = "_ResultContent_plra9_88", He = {
|
|
2321
2321
|
Root: eu,
|
|
2322
2322
|
Header: tu,
|
|
2323
2323
|
StatusIcon: nu,
|
|
@@ -2358,26 +2358,26 @@ const uu = q(function(n, r) {
|
|
|
2358
2358
|
let z;
|
|
2359
2359
|
e[19] !== o ? (z = $(He.Root, o), e[19] = o, e[20] = z) : z = e[20];
|
|
2360
2360
|
const N = A ? k : void 0, _ = !A;
|
|
2361
|
-
let
|
|
2362
|
-
e[21] !== h ? (
|
|
2361
|
+
let R;
|
|
2362
|
+
e[21] !== h ? (R = h === "running" ? /* @__PURE__ */ m.jsx(wi, { size: "sm" }) : (() => {
|
|
2363
2363
|
const B = ns[h];
|
|
2364
2364
|
return /* @__PURE__ */ m.jsx(B, { size: 14 });
|
|
2365
|
-
})(), e[21] = h, e[22] =
|
|
2365
|
+
})(), e[21] = h, e[22] = R) : R = e[22];
|
|
2366
2366
|
let T;
|
|
2367
|
-
e[23] !== h || e[24] !==
|
|
2367
|
+
e[23] !== h || e[24] !== R ? (T = /* @__PURE__ */ m.jsx("span", { className: He.StatusIcon, "data-ov-status": h, children: R }), e[23] = h, e[24] = R, e[25] = T) : T = e[25];
|
|
2368
2368
|
let F;
|
|
2369
2369
|
e[26] !== u ? (F = /* @__PURE__ */ m.jsx("span", { className: He.Name, children: u }), e[26] = u, e[27] = F) : F = e[27];
|
|
2370
2370
|
let O;
|
|
2371
2371
|
e[28] !== s ? (O = s != null && /* @__PURE__ */ m.jsx("span", { className: He.Duration, children: au(s) }), e[28] = s, e[29] = O) : O = e[29];
|
|
2372
|
-
let
|
|
2373
|
-
e[30] !== k || e[31] !== A ? (
|
|
2372
|
+
let j;
|
|
2373
|
+
e[30] !== k || e[31] !== A ? (j = A && /* @__PURE__ */ m.jsx("span", { className: He.Chevron, "data-ov-open": k ? "true" : "false", "aria-hidden": "true", children: /* @__PURE__ */ m.jsx(Et, { size: 14 }) }), e[30] = k, e[31] = A, e[32] = j) : j = e[32];
|
|
2374
2374
|
let M;
|
|
2375
|
-
e[33] !== F || e[34] !== O || e[35] !==
|
|
2375
|
+
e[33] !== F || e[34] !== O || e[35] !== j || e[36] !== N || e[37] !== _ || e[38] !== T || e[39] !== L ? (M = /* @__PURE__ */ m.jsxs("button", { type: "button", className: He.Header, onClick: L, "aria-expanded": N, disabled: _, children: [
|
|
2376
2376
|
T,
|
|
2377
2377
|
F,
|
|
2378
2378
|
O,
|
|
2379
|
-
|
|
2380
|
-
] }), e[33] = F, e[34] = O, e[35] =
|
|
2379
|
+
j
|
|
2380
|
+
] }), e[33] = F, e[34] = O, e[35] = j, e[36] = N, e[37] = _, e[38] = T, e[39] = L, e[40] = M) : M = e[40];
|
|
2381
2381
|
let V;
|
|
2382
2382
|
e[41] !== i ? (V = i && /* @__PURE__ */ m.jsx("pre", { className: He.Arguments, children: /* @__PURE__ */ m.jsx("code", { children: JSON.stringify(i, null, 2) }) }), e[41] = i, e[42] = V) : V = e[42];
|
|
2383
2383
|
let G;
|
|
@@ -2398,7 +2398,7 @@ const uu = q(function(n, r) {
|
|
|
2398
2398
|
function cu(t) {
|
|
2399
2399
|
return !t;
|
|
2400
2400
|
}
|
|
2401
|
-
const hu = "
|
|
2401
|
+
const hu = "_Root_oda8c_1", fu = {
|
|
2402
2402
|
Root: hu
|
|
2403
2403
|
}, Fg = q(function(n, r) {
|
|
2404
2404
|
const e = H.c(21);
|
|
@@ -2550,9 +2550,9 @@ const gu = "_Root_13i7w_1", xu = "_Status_13i7w_16", ku = "_StatusDot_13i7w_25",
|
|
|
2550
2550
|
function Eu(t) {
|
|
2551
2551
|
return /* @__PURE__ */ m.jsx(Xe.Item, { itemKey: t.id, textValue: t.label, children: /* @__PURE__ */ m.jsx(Cu, { label: t.label, status: t.status, detail: t.detail }) }, t.id);
|
|
2552
2552
|
}
|
|
2553
|
-
const
|
|
2554
|
-
Root:
|
|
2555
|
-
IconBadge:
|
|
2553
|
+
const Ru = "_Root_w9hlh_1", ju = "_IconBadge_w9hlh_8", Tu = "_Content_w9hlh_22", Lu = "_Header_w9hlh_30", Nu = "_Label_w9hlh_36", zu = "_Tool_w9hlh_46", Pu = "_Description_w9hlh_54", Ou = "_CodeBlock_w9hlh_63", Du = "_Code_w9hlh_63", Mu = "_CodeCollapsed_w9hlh_84", Fu = "_ShowMore_w9hlh_89", Bu = "_Scope_w9hlh_108", $u = "_ScopeLabel_w9hlh_116", Hu = "_ScopeValue_w9hlh_121", Vu = "_AllowGroup_w9hlh_134", me = {
|
|
2554
|
+
Root: Ru,
|
|
2555
|
+
IconBadge: ju,
|
|
2556
2556
|
Content: Tu,
|
|
2557
2557
|
Header: Lu,
|
|
2558
2558
|
Label: Nu,
|
|
@@ -2603,33 +2603,33 @@ const ju = "_Root_w9hlh_1", Ru = "_IconBadge_w9hlh_8", Tu = "_Content_w9hlh_22",
|
|
|
2603
2603
|
] }), e[20] = l, e[21] = f, e[22] = x, e[23] = k, e[24] = N) : N = e[24];
|
|
2604
2604
|
let _;
|
|
2605
2605
|
e[25] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (_ = /* @__PURE__ */ m.jsx("span", { className: me.ScopeLabel, children: "Scope" }), e[25] = _) : _ = e[25];
|
|
2606
|
-
let
|
|
2607
|
-
e[26] !== h ? (
|
|
2606
|
+
let R;
|
|
2607
|
+
e[26] !== h ? (R = /* @__PURE__ */ m.jsxs("div", { className: me.Scope, children: [
|
|
2608
2608
|
_,
|
|
2609
2609
|
/* @__PURE__ */ m.jsx("code", { className: me.ScopeValue, children: h })
|
|
2610
|
-
] }), e[26] = h, e[27] =
|
|
2610
|
+
] }), e[26] = h, e[27] = R) : R = e[27];
|
|
2611
2611
|
let T;
|
|
2612
|
-
e[28] !==
|
|
2612
|
+
e[28] !== R || e[29] !== L || e[30] !== z || e[31] !== N ? (T = /* @__PURE__ */ m.jsxs(Pe.Row, { align: "start", gap: "sm", children: [
|
|
2613
2613
|
A,
|
|
2614
2614
|
/* @__PURE__ */ m.jsxs("div", { className: me.Content, children: [
|
|
2615
2615
|
S,
|
|
2616
2616
|
L,
|
|
2617
2617
|
z,
|
|
2618
2618
|
N,
|
|
2619
|
-
|
|
2619
|
+
R
|
|
2620
2620
|
] })
|
|
2621
|
-
] }), e[28] =
|
|
2621
|
+
] }), e[28] = R, e[29] = L, e[30] = z, e[31] = N, e[32] = T) : T = e[32];
|
|
2622
2622
|
let F;
|
|
2623
2623
|
e[33] !== u ? (F = /* @__PURE__ */ m.jsx(ce, { size: "sm", variant: "soft", color: "danger", onClick: u, children: "Deny" }), e[33] = u, e[34] = F) : F = e[34];
|
|
2624
2624
|
let O;
|
|
2625
2625
|
e[35] !== s ? (O = /* @__PURE__ */ m.jsx(ce, { size: "sm", variant: "solid", color: "neutral", onClick: s, children: "Allow" }), e[35] = s, e[36] = O) : O = e[36];
|
|
2626
|
-
let
|
|
2627
|
-
e[37] !== a ? (
|
|
2626
|
+
let j;
|
|
2627
|
+
e[37] !== a ? (j = a && /* @__PURE__ */ m.jsx(ce, { size: "sm", variant: "ghost", color: "neutral", onClick: a, children: "Always Allow" }), e[37] = a, e[38] = j) : j = e[38];
|
|
2628
2628
|
let M;
|
|
2629
|
-
e[39] !== O || e[40] !==
|
|
2629
|
+
e[39] !== O || e[40] !== j ? (M = /* @__PURE__ */ m.jsxs("div", { className: me.AllowGroup, children: [
|
|
2630
2630
|
O,
|
|
2631
|
-
|
|
2632
|
-
] }), e[39] = O, e[40] =
|
|
2631
|
+
j
|
|
2632
|
+
] }), e[39] = O, e[40] = j, e[41] = M) : M = e[41];
|
|
2633
2633
|
let V;
|
|
2634
2634
|
e[42] !== F || e[43] !== M ? (V = /* @__PURE__ */ m.jsxs(Pe.Footer, { children: [
|
|
2635
2635
|
F,
|
|
@@ -2651,7 +2651,7 @@ function Uu(t, n) {
|
|
|
2651
2651
|
).trim();
|
|
2652
2652
|
}
|
|
2653
2653
|
const Yu = /^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u, Gu = /^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u, Xu = {};
|
|
2654
|
-
function
|
|
2654
|
+
function jr(t, n) {
|
|
2655
2655
|
return (Xu.jsx ? Gu : Yu).test(t);
|
|
2656
2656
|
}
|
|
2657
2657
|
const Ku = /[ \t\n\f\r]/g;
|
|
@@ -2661,7 +2661,7 @@ function Qu(t) {
|
|
|
2661
2661
|
function Tr(t) {
|
|
2662
2662
|
return t.replace(Ku, "") === "";
|
|
2663
2663
|
}
|
|
2664
|
-
class
|
|
2664
|
+
class Rt {
|
|
2665
2665
|
/**
|
|
2666
2666
|
* @param {SchemaType['property']} property
|
|
2667
2667
|
* Property.
|
|
@@ -2676,14 +2676,14 @@ class jt {
|
|
|
2676
2676
|
this.normal = r, this.property = n, e && (this.space = e);
|
|
2677
2677
|
}
|
|
2678
2678
|
}
|
|
2679
|
-
|
|
2680
|
-
|
|
2681
|
-
|
|
2679
|
+
Rt.prototype.normal = {};
|
|
2680
|
+
Rt.prototype.property = {};
|
|
2681
|
+
Rt.prototype.space = void 0;
|
|
2682
2682
|
function $i(t, n) {
|
|
2683
2683
|
const r = {}, e = {};
|
|
2684
2684
|
for (const i of t)
|
|
2685
2685
|
Object.assign(r, i.property), Object.assign(e, i.normal);
|
|
2686
|
-
return new
|
|
2686
|
+
return new Rt(r, e, n);
|
|
2687
2687
|
}
|
|
2688
2688
|
function En(t) {
|
|
2689
2689
|
return t.toLowerCase();
|
|
@@ -2714,22 +2714,22 @@ we.prototype.property = "";
|
|
|
2714
2714
|
we.prototype.spaceSeparated = !1;
|
|
2715
2715
|
we.prototype.space = void 0;
|
|
2716
2716
|
let Ju = 0;
|
|
2717
|
-
const Y = Je(), se = Je(),
|
|
2717
|
+
const Y = Je(), se = Je(), Rn = Je(), P = Je(), le = Je(), st = Je(), _e = Je();
|
|
2718
2718
|
function Je() {
|
|
2719
2719
|
return 2 ** ++Ju;
|
|
2720
2720
|
}
|
|
2721
|
-
const
|
|
2721
|
+
const jn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2722
2722
|
__proto__: null,
|
|
2723
2723
|
boolean: Y,
|
|
2724
2724
|
booleanish: se,
|
|
2725
2725
|
commaOrSpaceSeparated: _e,
|
|
2726
2726
|
commaSeparated: st,
|
|
2727
2727
|
number: P,
|
|
2728
|
-
overloadedBoolean:
|
|
2728
|
+
overloadedBoolean: Rn,
|
|
2729
2729
|
spaceSeparated: le
|
|
2730
2730
|
}, Symbol.toStringTag, { value: "Module" })), cn = (
|
|
2731
2731
|
/** @type {ReadonlyArray<keyof typeof types>} */
|
|
2732
|
-
Object.keys(
|
|
2732
|
+
Object.keys(jn)
|
|
2733
2733
|
);
|
|
2734
2734
|
class Yn extends we {
|
|
2735
2735
|
/**
|
|
@@ -2750,7 +2750,7 @@ class Yn extends we {
|
|
|
2750
2750
|
if (super(n, r), Lr(this, "space", i), typeof e == "number")
|
|
2751
2751
|
for (; ++l < cn.length; ) {
|
|
2752
2752
|
const o = cn[l];
|
|
2753
|
-
Lr(this, cn[l], (e &
|
|
2753
|
+
Lr(this, cn[l], (e & jn[o]) === jn[o]);
|
|
2754
2754
|
}
|
|
2755
2755
|
}
|
|
2756
2756
|
}
|
|
@@ -2769,7 +2769,7 @@ function ut(t) {
|
|
|
2769
2769
|
);
|
|
2770
2770
|
t.mustUseProperty && t.mustUseProperty.includes(e) && (l.mustUseProperty = !0), n[e] = l, r[En(e)] = e, r[En(l.attribute)] = e;
|
|
2771
2771
|
}
|
|
2772
|
-
return new
|
|
2772
|
+
return new Rt(n, r, t.space);
|
|
2773
2773
|
}
|
|
2774
2774
|
const Hi = ut({
|
|
2775
2775
|
properties: {
|
|
@@ -2881,7 +2881,7 @@ const Zu = ut({
|
|
|
2881
2881
|
dir: null,
|
|
2882
2882
|
dirName: null,
|
|
2883
2883
|
disabled: Y,
|
|
2884
|
-
download:
|
|
2884
|
+
download: Rn,
|
|
2885
2885
|
draggable: se,
|
|
2886
2886
|
encType: null,
|
|
2887
2887
|
enterKeyHint: null,
|
|
@@ -2894,7 +2894,7 @@ const Zu = ut({
|
|
|
2894
2894
|
formTarget: null,
|
|
2895
2895
|
headers: le,
|
|
2896
2896
|
height: P,
|
|
2897
|
-
hidden:
|
|
2897
|
+
hidden: Rn,
|
|
2898
2898
|
high: P,
|
|
2899
2899
|
href: null,
|
|
2900
2900
|
hrefLang: null,
|
|
@@ -3840,15 +3840,15 @@ function uc() {
|
|
|
3840
3840
|
x = x || {};
|
|
3841
3841
|
var w = 1, v = 1;
|
|
3842
3842
|
function C(O) {
|
|
3843
|
-
var
|
|
3844
|
-
|
|
3843
|
+
var j = O.match(n);
|
|
3844
|
+
j && (w += j.length);
|
|
3845
3845
|
var M = O.lastIndexOf(a);
|
|
3846
3846
|
v = ~M ? O.length - M : v + O.length;
|
|
3847
3847
|
}
|
|
3848
3848
|
function A() {
|
|
3849
3849
|
var O = { line: w, column: v };
|
|
3850
|
-
return function(
|
|
3851
|
-
return
|
|
3850
|
+
return function(j) {
|
|
3851
|
+
return j.position = new S(O), N(), j;
|
|
3852
3852
|
};
|
|
3853
3853
|
}
|
|
3854
3854
|
function S(O) {
|
|
@@ -3856,48 +3856,48 @@ function uc() {
|
|
|
3856
3856
|
}
|
|
3857
3857
|
S.prototype.content = k;
|
|
3858
3858
|
function L(O) {
|
|
3859
|
-
var
|
|
3859
|
+
var j = new Error(
|
|
3860
3860
|
x.source + ":" + w + ":" + v + ": " + O
|
|
3861
3861
|
);
|
|
3862
|
-
if (
|
|
3862
|
+
if (j.reason = O, j.filename = x.source, j.line = w, j.column = v, j.source = k, !x.silent) throw j;
|
|
3863
3863
|
}
|
|
3864
3864
|
function z(O) {
|
|
3865
|
-
var
|
|
3866
|
-
if (
|
|
3867
|
-
var M =
|
|
3868
|
-
return C(M), k = k.slice(M.length),
|
|
3865
|
+
var j = O.exec(k);
|
|
3866
|
+
if (j) {
|
|
3867
|
+
var M = j[0];
|
|
3868
|
+
return C(M), k = k.slice(M.length), j;
|
|
3869
3869
|
}
|
|
3870
3870
|
}
|
|
3871
3871
|
function N() {
|
|
3872
3872
|
z(r);
|
|
3873
3873
|
}
|
|
3874
3874
|
function _(O) {
|
|
3875
|
-
var
|
|
3876
|
-
for (O = O || [];
|
|
3877
|
-
|
|
3875
|
+
var j;
|
|
3876
|
+
for (O = O || []; j = R(); )
|
|
3877
|
+
j !== !1 && O.push(j);
|
|
3878
3878
|
return O;
|
|
3879
3879
|
}
|
|
3880
|
-
function
|
|
3880
|
+
function R() {
|
|
3881
3881
|
var O = A();
|
|
3882
3882
|
if (!(u != k.charAt(0) || c != k.charAt(1))) {
|
|
3883
|
-
for (var
|
|
3884
|
-
++
|
|
3885
|
-
if (
|
|
3883
|
+
for (var j = 2; h != k.charAt(j) && (c != k.charAt(j) || u != k.charAt(j + 1)); )
|
|
3884
|
+
++j;
|
|
3885
|
+
if (j += 2, h === k.charAt(j - 1))
|
|
3886
3886
|
return L("End of comment missing");
|
|
3887
|
-
var M = k.slice(2,
|
|
3888
|
-
return v += 2, C(M), k = k.slice(
|
|
3887
|
+
var M = k.slice(2, j - 2);
|
|
3888
|
+
return v += 2, C(M), k = k.slice(j), v += 2, O({
|
|
3889
3889
|
type: d,
|
|
3890
3890
|
comment: M
|
|
3891
3891
|
});
|
|
3892
3892
|
}
|
|
3893
3893
|
}
|
|
3894
3894
|
function T() {
|
|
3895
|
-
var O = A(),
|
|
3896
|
-
if (
|
|
3897
|
-
if (
|
|
3895
|
+
var O = A(), j = z(e);
|
|
3896
|
+
if (j) {
|
|
3897
|
+
if (R(), !z(i)) return L("property missing ':'");
|
|
3898
3898
|
var M = z(l), V = O({
|
|
3899
3899
|
type: f,
|
|
3900
|
-
property: g(
|
|
3900
|
+
property: g(j[0].replace(t, h)),
|
|
3901
3901
|
value: M ? g(M[0].replace(t, h)) : h
|
|
3902
3902
|
});
|
|
3903
3903
|
return z(o), V;
|
|
@@ -3906,8 +3906,8 @@ function uc() {
|
|
|
3906
3906
|
function F() {
|
|
3907
3907
|
var O = [];
|
|
3908
3908
|
_(O);
|
|
3909
|
-
for (var
|
|
3910
|
-
|
|
3909
|
+
for (var j; j = T(); )
|
|
3910
|
+
j !== !1 && (O.push(j), _(O));
|
|
3911
3911
|
return O;
|
|
3912
3912
|
}
|
|
3913
3913
|
return N(), F();
|
|
@@ -4147,7 +4147,7 @@ function wc(t, n, r) {
|
|
|
4147
4147
|
const e = t.schema;
|
|
4148
4148
|
let i = e;
|
|
4149
4149
|
n.tagName.toLowerCase() === "svg" && e.space === "html" && (i = Gn, t.schema = i), t.ancestors.push(n);
|
|
4150
|
-
const l = Zi(t, n.tagName, !1), o =
|
|
4150
|
+
const l = Zi(t, n.tagName, !1), o = Rc(t, n);
|
|
4151
4151
|
let s = Jn(t, n);
|
|
4152
4152
|
return kc.has(n.tagName) && (s = s.filter(function(a) {
|
|
4153
4153
|
return typeof a == "string" ? !Qu(a) : !0;
|
|
@@ -4173,7 +4173,7 @@ function Sc(t, n, r) {
|
|
|
4173
4173
|
const e = t.schema;
|
|
4174
4174
|
let i = e;
|
|
4175
4175
|
n.name === "svg" && e.space === "html" && (i = Gn, t.schema = i), t.ancestors.push(n);
|
|
4176
|
-
const l = n.name === null ? t.Fragment : Zi(t, n.name, !0), o =
|
|
4176
|
+
const l = n.name === null ? t.Fragment : Zi(t, n.name, !0), o = jc(t, n), s = Jn(t, n);
|
|
4177
4177
|
return Ji(t, o, l, n), Qn(o, s), t.ancestors.pop(), t.schema = e, t.create(n, l, o, r);
|
|
4178
4178
|
}
|
|
4179
4179
|
function Cc(t, n, r) {
|
|
@@ -4217,7 +4217,7 @@ function Ec(t, n) {
|
|
|
4217
4217
|
);
|
|
4218
4218
|
}
|
|
4219
4219
|
}
|
|
4220
|
-
function
|
|
4220
|
+
function Rc(t, n) {
|
|
4221
4221
|
const r = {};
|
|
4222
4222
|
let e, i;
|
|
4223
4223
|
for (i in n.properties)
|
|
@@ -4237,7 +4237,7 @@ function jc(t, n) {
|
|
|
4237
4237
|
}
|
|
4238
4238
|
return r;
|
|
4239
4239
|
}
|
|
4240
|
-
function
|
|
4240
|
+
function jc(t, n) {
|
|
4241
4241
|
const r = {};
|
|
4242
4242
|
for (const e of n.attributes)
|
|
4243
4243
|
if (e.type === "mdxJsxExpressionAttribute")
|
|
@@ -4327,7 +4327,7 @@ function Zi(t, n, r) {
|
|
|
4327
4327
|
const i = n.split(".");
|
|
4328
4328
|
let l = -1, o;
|
|
4329
4329
|
for (; ++l < i.length; ) {
|
|
4330
|
-
const s =
|
|
4330
|
+
const s = jr(i[l]) ? { type: "Identifier", name: i[l] } : { type: "Literal", value: i[l] };
|
|
4331
4331
|
o = o ? {
|
|
4332
4332
|
type: "MemberExpression",
|
|
4333
4333
|
object: o,
|
|
@@ -4338,7 +4338,7 @@ function Zi(t, n, r) {
|
|
|
4338
4338
|
}
|
|
4339
4339
|
e = o;
|
|
4340
4340
|
} else
|
|
4341
|
-
e =
|
|
4341
|
+
e = jr(n) && !/^[a-z]/.test(n) ? { type: "Identifier", name: n } : { type: "Literal", value: n };
|
|
4342
4342
|
if (e.type === "Literal") {
|
|
4343
4343
|
const i = (
|
|
4344
4344
|
/** @type {string | number} */
|
|
@@ -4829,7 +4829,7 @@ function Qc(t, n, r) {
|
|
|
4829
4829
|
return r(f);
|
|
4830
4830
|
}
|
|
4831
4831
|
}
|
|
4832
|
-
const
|
|
4832
|
+
const jt = {
|
|
4833
4833
|
partial: !0,
|
|
4834
4834
|
tokenize: Jc
|
|
4835
4835
|
};
|
|
@@ -4979,20 +4979,20 @@ function ih(t, n, r) {
|
|
|
4979
4979
|
function A(S, L, z) {
|
|
4980
4980
|
let N = 0;
|
|
4981
4981
|
return _;
|
|
4982
|
-
function _(
|
|
4983
|
-
return S.enter("lineEnding"), S.consume(
|
|
4982
|
+
function _(j) {
|
|
4983
|
+
return S.enter("lineEnding"), S.consume(j), S.exit("lineEnding"), R;
|
|
4984
4984
|
}
|
|
4985
|
-
function j
|
|
4986
|
-
return S.enter("codeFencedFence"), J(
|
|
4985
|
+
function R(j) {
|
|
4986
|
+
return S.enter("codeFencedFence"), J(j) ? ee(S, T, "linePrefix", e.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(j) : T(j);
|
|
4987
4987
|
}
|
|
4988
|
-
function T(
|
|
4989
|
-
return
|
|
4988
|
+
function T(j) {
|
|
4989
|
+
return j === s ? (S.enter("codeFencedFenceSequence"), F(j)) : z(j);
|
|
4990
4990
|
}
|
|
4991
|
-
function F(
|
|
4992
|
-
return
|
|
4991
|
+
function F(j) {
|
|
4992
|
+
return j === s ? (N++, S.consume(j), F) : N >= o ? (S.exit("codeFencedFenceSequence"), J(j) ? ee(S, O, "whitespace")(j) : O(j)) : z(j);
|
|
4993
4993
|
}
|
|
4994
|
-
function O(
|
|
4995
|
-
return
|
|
4994
|
+
function O(j) {
|
|
4995
|
+
return j === null || W(j) ? (S.exit("codeFencedFence"), L(j)) : z(j);
|
|
4996
4996
|
}
|
|
4997
4997
|
}
|
|
4998
4998
|
}
|
|
@@ -5552,7 +5552,7 @@ function Eh(t, n, r) {
|
|
|
5552
5552
|
return c === null || c === 35 || re(c) ? (t.exit("atxHeadingText"), s(c)) : (t.consume(c), u);
|
|
5553
5553
|
}
|
|
5554
5554
|
}
|
|
5555
|
-
const
|
|
5555
|
+
const Rh = [
|
|
5556
5556
|
"address",
|
|
5557
5557
|
"article",
|
|
5558
5558
|
"aside",
|
|
@@ -5615,7 +5615,7 @@ const jh = [
|
|
|
5615
5615
|
"tr",
|
|
5616
5616
|
"track",
|
|
5617
5617
|
"ul"
|
|
5618
|
-
], Yr = ["pre", "script", "style", "textarea"],
|
|
5618
|
+
], Yr = ["pre", "script", "style", "textarea"], jh = {
|
|
5619
5619
|
concrete: !0,
|
|
5620
5620
|
name: "htmlFlow",
|
|
5621
5621
|
resolveTo: Nh,
|
|
@@ -5662,7 +5662,7 @@ function zh(t, n, r) {
|
|
|
5662
5662
|
function k(y) {
|
|
5663
5663
|
if (y === null || y === 47 || y === 62 || re(y)) {
|
|
5664
5664
|
const Q = y === 47, ae = o.toLowerCase();
|
|
5665
|
-
return !Q && !l && Yr.includes(ae) ? (i = 1, e.interrupt ? n(y) : T(y)) :
|
|
5665
|
+
return !Q && !l && Yr.includes(ae) ? (i = 1, e.interrupt ? n(y) : T(y)) : Rh.includes(o.toLowerCase()) ? (i = 6, Q ? (t.consume(y), x) : e.interrupt ? n(y) : T(y)) : (i = 7, e.interrupt && !e.parser.lazy[e.now().line] ? r(y) : l ? w(y) : v(y));
|
|
5666
5666
|
}
|
|
5667
5667
|
return y === 45 || de(y) ? (t.consume(y), o += String.fromCharCode(y), k) : r(y);
|
|
5668
5668
|
}
|
|
@@ -5694,10 +5694,10 @@ function zh(t, n, r) {
|
|
|
5694
5694
|
return y === 47 || y === 62 || J(y) ? v(y) : r(y);
|
|
5695
5695
|
}
|
|
5696
5696
|
function _(y) {
|
|
5697
|
-
return y === 62 ? (t.consume(y),
|
|
5697
|
+
return y === 62 ? (t.consume(y), R) : r(y);
|
|
5698
5698
|
}
|
|
5699
|
-
function
|
|
5700
|
-
return y === null || W(y) ? T(y) : J(y) ? (t.consume(y),
|
|
5699
|
+
function R(y) {
|
|
5700
|
+
return y === null || W(y) ? T(y) : J(y) ? (t.consume(y), R) : r(y);
|
|
5701
5701
|
}
|
|
5702
5702
|
function T(y) {
|
|
5703
5703
|
return y === 45 && i === 2 ? (t.consume(y), M) : y === 60 && i === 1 ? (t.consume(y), V) : y === 62 && i === 4 ? (t.consume(y), I) : y === 63 && i === 3 ? (t.consume(y), b) : y === 93 && i === 5 ? (t.consume(y), te) : W(y) && (i === 6 || i === 7) ? (t.exit("htmlFlowData"), t.check(Th, B, F)(y)) : y === null || W(y) ? (t.exit("htmlFlowData"), F(y)) : (t.consume(y), T);
|
|
@@ -5706,9 +5706,9 @@ function zh(t, n, r) {
|
|
|
5706
5706
|
return t.check(Lh, O, B)(y);
|
|
5707
5707
|
}
|
|
5708
5708
|
function O(y) {
|
|
5709
|
-
return t.enter("lineEnding"), t.consume(y), t.exit("lineEnding"),
|
|
5709
|
+
return t.enter("lineEnding"), t.consume(y), t.exit("lineEnding"), j;
|
|
5710
5710
|
}
|
|
5711
|
-
function
|
|
5711
|
+
function j(y) {
|
|
5712
5712
|
return y === null || W(y) ? F(y) : (t.enter("htmlFlowData"), T(y));
|
|
5713
5713
|
}
|
|
5714
5714
|
function M(y) {
|
|
@@ -5750,7 +5750,7 @@ function Ph(t, n, r) {
|
|
|
5750
5750
|
function Oh(t, n, r) {
|
|
5751
5751
|
return e;
|
|
5752
5752
|
function e(i) {
|
|
5753
|
-
return t.enter("lineEnding"), t.consume(i), t.exit("lineEnding"), t.attempt(
|
|
5753
|
+
return t.enter("lineEnding"), t.consume(i), t.exit("lineEnding"), t.attempt(jt, n, r);
|
|
5754
5754
|
}
|
|
5755
5755
|
}
|
|
5756
5756
|
const Dh = {
|
|
@@ -5820,21 +5820,21 @@ function Mh(t, n, r) {
|
|
|
5820
5820
|
return b === 47 ? (t.consume(b), M) : b === 58 || b === 95 || ke(b) ? (t.consume(b), _) : W(b) ? (o = N, V(b)) : J(b) ? (t.consume(b), N) : M(b);
|
|
5821
5821
|
}
|
|
5822
5822
|
function _(b) {
|
|
5823
|
-
return b === 45 || b === 46 || b === 58 || b === 95 || de(b) ? (t.consume(b), _) :
|
|
5823
|
+
return b === 45 || b === 46 || b === 58 || b === 95 || de(b) ? (t.consume(b), _) : R(b);
|
|
5824
5824
|
}
|
|
5825
|
-
function
|
|
5826
|
-
return b === 61 ? (t.consume(b), T) : W(b) ? (o =
|
|
5825
|
+
function R(b) {
|
|
5826
|
+
return b === 61 ? (t.consume(b), T) : W(b) ? (o = R, V(b)) : J(b) ? (t.consume(b), R) : N(b);
|
|
5827
5827
|
}
|
|
5828
5828
|
function T(b) {
|
|
5829
5829
|
return b === null || b === 60 || b === 61 || b === 62 || b === 96 ? r(b) : b === 34 || b === 39 ? (t.consume(b), i = b, F) : W(b) ? (o = T, V(b)) : J(b) ? (t.consume(b), T) : (t.consume(b), O);
|
|
5830
5830
|
}
|
|
5831
5831
|
function F(b) {
|
|
5832
|
-
return b === i ? (t.consume(b), i = void 0,
|
|
5832
|
+
return b === i ? (t.consume(b), i = void 0, j) : b === null ? r(b) : W(b) ? (o = F, V(b)) : (t.consume(b), F);
|
|
5833
5833
|
}
|
|
5834
5834
|
function O(b) {
|
|
5835
5835
|
return b === null || b === 34 || b === 39 || b === 60 || b === 61 || b === 96 ? r(b) : b === 47 || b === 62 || re(b) ? N(b) : (t.consume(b), O);
|
|
5836
5836
|
}
|
|
5837
|
-
function
|
|
5837
|
+
function j(b) {
|
|
5838
5838
|
return b === 47 || b === 62 || re(b) ? N(b) : r(b);
|
|
5839
5839
|
}
|
|
5840
5840
|
function M(b) {
|
|
@@ -6089,7 +6089,7 @@ function nf(t, n, r) {
|
|
|
6089
6089
|
}
|
|
6090
6090
|
function u(f) {
|
|
6091
6091
|
return t.enter("listItemMarker"), t.consume(f), t.exit("listItemMarker"), e.containerState.marker = e.containerState.marker || f, t.check(
|
|
6092
|
-
|
|
6092
|
+
jt,
|
|
6093
6093
|
// Can’t be empty when interrupting.
|
|
6094
6094
|
e.interrupt ? r : c,
|
|
6095
6095
|
t.attempt(ef, d, h)
|
|
@@ -6107,7 +6107,7 @@ function nf(t, n, r) {
|
|
|
6107
6107
|
}
|
|
6108
6108
|
function rf(t, n, r) {
|
|
6109
6109
|
const e = this;
|
|
6110
|
-
return e.containerState._closeFlow = void 0, t.check(
|
|
6110
|
+
return e.containerState._closeFlow = void 0, t.check(jt, i, l);
|
|
6111
6111
|
function i(s) {
|
|
6112
6112
|
return e.containerState.furtherBlankLines = e.containerState.furtherBlankLines || e.containerState.initialBlankLine, ee(t, n, "listItemIndent", e.containerState.size + 1)(s);
|
|
6113
6113
|
}
|
|
@@ -6195,7 +6195,7 @@ const cf = {
|
|
|
6195
6195
|
function hf(t) {
|
|
6196
6196
|
const n = this, r = t.attempt(
|
|
6197
6197
|
// Try to parse a blank line.
|
|
6198
|
-
|
|
6198
|
+
jt,
|
|
6199
6199
|
e,
|
|
6200
6200
|
// Try to parse initial flow (essentially, only code).
|
|
6201
6201
|
t.attempt(this.parser.constructs.flowInitial, i, ee(t, t.attempt(this.parser.constructs.flow, i, t.attempt(mh, i)), "linePrefix"))
|
|
@@ -6331,7 +6331,7 @@ const gf = {
|
|
|
6331
6331
|
35: Ih,
|
|
6332
6332
|
42: Vt,
|
|
6333
6333
|
45: [Gr, Vt],
|
|
6334
|
-
60:
|
|
6334
|
+
60: jh,
|
|
6335
6335
|
61: Gr,
|
|
6336
6336
|
95: Vt,
|
|
6337
6337
|
96: Ur,
|
|
@@ -6403,71 +6403,71 @@ function If(t, n, r) {
|
|
|
6403
6403
|
};
|
|
6404
6404
|
let c = n.tokenize.call(u, a);
|
|
6405
6405
|
return n.resolveAll && l.push(n), u;
|
|
6406
|
-
function h(
|
|
6407
|
-
return o = Ce(o,
|
|
6406
|
+
function h(R) {
|
|
6407
|
+
return o = Ce(o, R), k(), o[o.length - 1] !== null ? [] : (z(n, 0), u.events = Zt(l, u.events, u), u.events);
|
|
6408
6408
|
}
|
|
6409
|
-
function d(
|
|
6410
|
-
return Ef(f(
|
|
6409
|
+
function d(R, T) {
|
|
6410
|
+
return Ef(f(R), T);
|
|
6411
6411
|
}
|
|
6412
|
-
function f(
|
|
6413
|
-
return Af(o,
|
|
6412
|
+
function f(R) {
|
|
6413
|
+
return Af(o, R);
|
|
6414
6414
|
}
|
|
6415
6415
|
function p() {
|
|
6416
6416
|
const {
|
|
6417
|
-
_bufferIndex:
|
|
6417
|
+
_bufferIndex: R,
|
|
6418
6418
|
_index: T,
|
|
6419
6419
|
line: F,
|
|
6420
6420
|
column: O,
|
|
6421
|
-
offset:
|
|
6421
|
+
offset: j
|
|
6422
6422
|
} = e;
|
|
6423
6423
|
return {
|
|
6424
|
-
_bufferIndex:
|
|
6424
|
+
_bufferIndex: R,
|
|
6425
6425
|
_index: T,
|
|
6426
6426
|
line: F,
|
|
6427
6427
|
column: O,
|
|
6428
|
-
offset:
|
|
6428
|
+
offset: j
|
|
6429
6429
|
};
|
|
6430
6430
|
}
|
|
6431
|
-
function g(
|
|
6432
|
-
i[
|
|
6431
|
+
function g(R) {
|
|
6432
|
+
i[R.line] = R.column, _();
|
|
6433
6433
|
}
|
|
6434
6434
|
function k() {
|
|
6435
|
-
let
|
|
6435
|
+
let R;
|
|
6436
6436
|
for (; e._index < o.length; ) {
|
|
6437
6437
|
const T = o[e._index];
|
|
6438
6438
|
if (typeof T == "string")
|
|
6439
|
-
for (
|
|
6439
|
+
for (R = e._index, e._bufferIndex < 0 && (e._bufferIndex = 0); e._index === R && e._bufferIndex < T.length; )
|
|
6440
6440
|
x(T.charCodeAt(e._bufferIndex));
|
|
6441
6441
|
else
|
|
6442
6442
|
x(T);
|
|
6443
6443
|
}
|
|
6444
6444
|
}
|
|
6445
|
-
function x(
|
|
6446
|
-
c = c(
|
|
6445
|
+
function x(R) {
|
|
6446
|
+
c = c(R);
|
|
6447
6447
|
}
|
|
6448
|
-
function w(
|
|
6449
|
-
W(
|
|
6448
|
+
function w(R) {
|
|
6449
|
+
W(R) ? (e.line++, e.column = 1, e.offset += R === -3 ? 2 : 1, _()) : R !== -1 && (e.column++, e.offset++), e._bufferIndex < 0 ? e._index++ : (e._bufferIndex++, e._bufferIndex === // Points w/ non-negative `_bufferIndex` reference
|
|
6450
6450
|
// strings.
|
|
6451
6451
|
/** @type {string} */
|
|
6452
|
-
o[e._index].length && (e._bufferIndex = -1, e._index++)), u.previous =
|
|
6452
|
+
o[e._index].length && (e._bufferIndex = -1, e._index++)), u.previous = R;
|
|
6453
6453
|
}
|
|
6454
|
-
function v(
|
|
6454
|
+
function v(R, T) {
|
|
6455
6455
|
const F = T || {};
|
|
6456
|
-
return F.type =
|
|
6456
|
+
return F.type = R, F.start = p(), u.events.push(["enter", F, u]), s.push(F), F;
|
|
6457
6457
|
}
|
|
6458
|
-
function C(
|
|
6458
|
+
function C(R) {
|
|
6459
6459
|
const T = s.pop();
|
|
6460
6460
|
return T.end = p(), u.events.push(["exit", T, u]), T;
|
|
6461
6461
|
}
|
|
6462
|
-
function A(
|
|
6463
|
-
z(
|
|
6462
|
+
function A(R, T) {
|
|
6463
|
+
z(R, T.from);
|
|
6464
6464
|
}
|
|
6465
|
-
function S(
|
|
6465
|
+
function S(R, T) {
|
|
6466
6466
|
T.restore();
|
|
6467
6467
|
}
|
|
6468
|
-
function L(
|
|
6468
|
+
function L(R, T) {
|
|
6469
6469
|
return F;
|
|
6470
|
-
function F(O,
|
|
6470
|
+
function F(O, j, M) {
|
|
6471
6471
|
let V, G, te, b;
|
|
6472
6472
|
return Array.isArray(O) ? (
|
|
6473
6473
|
/* c8 ignore next 1 */
|
|
@@ -6482,10 +6482,10 @@ function If(t, n, r) {
|
|
|
6482
6482
|
function I(ie) {
|
|
6483
6483
|
return X;
|
|
6484
6484
|
function X(ue) {
|
|
6485
|
-
const
|
|
6485
|
+
const Re = ue !== null && ie[ue], $e = ue !== null && ie.null, Lt = [
|
|
6486
6486
|
// To do: add more extension tests.
|
|
6487
6487
|
/* c8 ignore next 2 */
|
|
6488
|
-
...Array.isArray(
|
|
6488
|
+
...Array.isArray(Re) ? Re : Re ? [Re] : [],
|
|
6489
6489
|
...Array.isArray($e) ? $e : $e ? [$e] : []
|
|
6490
6490
|
];
|
|
6491
6491
|
return B(Lt)(ue);
|
|
@@ -6509,24 +6509,24 @@ function If(t, n, r) {
|
|
|
6509
6509
|
}
|
|
6510
6510
|
}
|
|
6511
6511
|
function Q(ie) {
|
|
6512
|
-
return
|
|
6512
|
+
return R(te, b), j;
|
|
6513
6513
|
}
|
|
6514
6514
|
function ae(ie) {
|
|
6515
6515
|
return b.restore(), ++G < V.length ? y(V[G]) : M;
|
|
6516
6516
|
}
|
|
6517
6517
|
}
|
|
6518
6518
|
}
|
|
6519
|
-
function z(
|
|
6520
|
-
|
|
6519
|
+
function z(R, T) {
|
|
6520
|
+
R.resolveAll && !l.includes(R) && l.push(R), R.resolve && Se(u.events, T, u.events.length - T, R.resolve(u.events.slice(T), u)), R.resolveTo && (u.events = R.resolveTo(u.events, u));
|
|
6521
6521
|
}
|
|
6522
6522
|
function N() {
|
|
6523
|
-
const
|
|
6523
|
+
const R = p(), T = u.previous, F = u.currentConstruct, O = u.events.length, j = Array.from(s);
|
|
6524
6524
|
return {
|
|
6525
6525
|
from: O,
|
|
6526
6526
|
restore: M
|
|
6527
6527
|
};
|
|
6528
6528
|
function M() {
|
|
6529
|
-
e =
|
|
6529
|
+
e = R, u.previous = T, u.currentConstruct = F, u.events.length = O, s = j, _();
|
|
6530
6530
|
}
|
|
6531
6531
|
}
|
|
6532
6532
|
function _() {
|
|
@@ -6587,7 +6587,7 @@ function Ef(t, n) {
|
|
|
6587
6587
|
}
|
|
6588
6588
|
return e.join("");
|
|
6589
6589
|
}
|
|
6590
|
-
function
|
|
6590
|
+
function Rf(t) {
|
|
6591
6591
|
const e = {
|
|
6592
6592
|
constructs: (
|
|
6593
6593
|
/** @type {FullNormalizedExtension} */
|
|
@@ -6609,7 +6609,7 @@ function jf(t) {
|
|
|
6609
6609
|
}
|
|
6610
6610
|
}
|
|
6611
6611
|
}
|
|
6612
|
-
function
|
|
6612
|
+
function jf(t) {
|
|
6613
6613
|
for (; !ol(t); )
|
|
6614
6614
|
;
|
|
6615
6615
|
return t;
|
|
@@ -6665,7 +6665,7 @@ function zf(t, n, r) {
|
|
|
6665
6665
|
}
|
|
6666
6666
|
const fl = {}.hasOwnProperty;
|
|
6667
6667
|
function Pf(t, n, r) {
|
|
6668
|
-
return n && typeof n == "object" && (r = n, n = void 0), Of(r)(Rf(
|
|
6668
|
+
return n && typeof n == "object" && (r = n, n = void 0), Of(r)(jf(Rf(r).document().write(Tf()(t, n, !0))));
|
|
6669
6669
|
}
|
|
6670
6670
|
function Of(t) {
|
|
6671
6671
|
const n = {
|
|
@@ -6718,7 +6718,7 @@ function Of(t) {
|
|
|
6718
6718
|
atxHeading: a(),
|
|
6719
6719
|
atxHeadingSequence: A,
|
|
6720
6720
|
autolink: a(),
|
|
6721
|
-
autolinkEmail:
|
|
6721
|
+
autolinkEmail: Re,
|
|
6722
6722
|
autolinkProtocol: ue,
|
|
6723
6723
|
blockQuote: a(),
|
|
6724
6724
|
characterEscapeValue: _,
|
|
@@ -6732,7 +6732,7 @@ function Of(t) {
|
|
|
6732
6732
|
codeFencedFenceMeta: p,
|
|
6733
6733
|
codeFlowValue: _,
|
|
6734
6734
|
codeIndented: a(x),
|
|
6735
|
-
codeText: a(
|
|
6735
|
+
codeText: a(j),
|
|
6736
6736
|
codeTextData: _,
|
|
6737
6737
|
data: _,
|
|
6738
6738
|
definition: a(),
|
|
@@ -6749,7 +6749,7 @@ function Of(t) {
|
|
|
6749
6749
|
image: a(V),
|
|
6750
6750
|
label: te,
|
|
6751
6751
|
labelText: G,
|
|
6752
|
-
lineEnding:
|
|
6752
|
+
lineEnding: R,
|
|
6753
6753
|
link: a(M),
|
|
6754
6754
|
listItem: a(),
|
|
6755
6755
|
listOrdered: a(),
|
|
@@ -6976,7 +6976,7 @@ function Of(t) {
|
|
|
6976
6976
|
const D = this.stack.pop();
|
|
6977
6977
|
D.value += this.sliceSerialize(E), D.position.end = Ve(E.end);
|
|
6978
6978
|
}
|
|
6979
|
-
function
|
|
6979
|
+
function R(E) {
|
|
6980
6980
|
const D = this.stack[this.stack.length - 1];
|
|
6981
6981
|
if (this.data.atHardBreak) {
|
|
6982
6982
|
const U = D.children[D.children.length - 1];
|
|
@@ -6996,7 +6996,7 @@ function Of(t) {
|
|
|
6996
6996
|
const E = this.resume(), D = this.stack[this.stack.length - 1];
|
|
6997
6997
|
D.value = E;
|
|
6998
6998
|
}
|
|
6999
|
-
function
|
|
6999
|
+
function j() {
|
|
7000
7000
|
const E = this.resume(), D = this.stack[this.stack.length - 1];
|
|
7001
7001
|
D.value = E;
|
|
7002
7002
|
}
|
|
@@ -7067,7 +7067,7 @@ function Of(t) {
|
|
|
7067
7067
|
const D = this.stack[this.stack.length - 1];
|
|
7068
7068
|
D.url = this.sliceSerialize(E);
|
|
7069
7069
|
}
|
|
7070
|
-
function
|
|
7070
|
+
function Re(E) {
|
|
7071
7071
|
_.call(this, E);
|
|
7072
7072
|
const D = this.stack[this.stack.length - 1];
|
|
7073
7073
|
D.url = "mailto:" + this.sliceSerialize(E);
|
|
@@ -7990,7 +7990,7 @@ const Pn = {}.hasOwnProperty, Id = {};
|
|
|
7990
7990
|
function Ad(t, n) {
|
|
7991
7991
|
const r = n || Id, e = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map(), l = /* @__PURE__ */ new Map(), o = { ...cd, ...r.handlers }, s = {
|
|
7992
7992
|
all: u,
|
|
7993
|
-
applyData:
|
|
7993
|
+
applyData: Rd,
|
|
7994
7994
|
definitionById: e,
|
|
7995
7995
|
footnoteById: i,
|
|
7996
7996
|
footnoteCounts: l,
|
|
@@ -8018,7 +8018,7 @@ function Ad(t, n) {
|
|
|
8018
8018
|
}
|
|
8019
8019
|
return Kt(c);
|
|
8020
8020
|
}
|
|
8021
|
-
return (s.options.unknownHandler ||
|
|
8021
|
+
return (s.options.unknownHandler || jd)(s, c, h);
|
|
8022
8022
|
}
|
|
8023
8023
|
function u(c) {
|
|
8024
8024
|
const h = [];
|
|
@@ -8042,7 +8042,7 @@ function Ad(t, n) {
|
|
|
8042
8042
|
function Ed(t, n) {
|
|
8043
8043
|
t.position && (n.position = mc(t));
|
|
8044
8044
|
}
|
|
8045
|
-
function
|
|
8045
|
+
function Rd(t, n) {
|
|
8046
8046
|
let r = n;
|
|
8047
8047
|
if (t && t.data) {
|
|
8048
8048
|
const e = t.data.hName, i = t.data.hChildren, l = t.data.hProperties;
|
|
@@ -8057,7 +8057,7 @@ function jd(t, n) {
|
|
|
8057
8057
|
}
|
|
8058
8058
|
return r;
|
|
8059
8059
|
}
|
|
8060
|
-
function
|
|
8060
|
+
function jd(t, n) {
|
|
8061
8061
|
const r = n.data || {}, e = "value" in n && !(Pn.call(r, "hProperties") || Pn.call(r, "hChildren")) ? { type: "text", value: n.value } : {
|
|
8062
8062
|
type: "element",
|
|
8063
8063
|
tagName: "div",
|
|
@@ -9613,13 +9613,13 @@ function Ep(t) {
|
|
|
9613
9613
|
t
|
|
9614
9614
|
);
|
|
9615
9615
|
}
|
|
9616
|
-
function
|
|
9616
|
+
function Rp(t) {
|
|
9617
9617
|
const n = this.resume(), r = this.stack[this.stack.length - 1];
|
|
9618
9618
|
r.type, r.identifier = Ee(
|
|
9619
9619
|
this.sliceSerialize(t)
|
|
9620
9620
|
).toLowerCase(), r.label = n;
|
|
9621
9621
|
}
|
|
9622
|
-
function
|
|
9622
|
+
function jp(t) {
|
|
9623
9623
|
this.exit(t);
|
|
9624
9624
|
}
|
|
9625
9625
|
function Tp(t) {
|
|
@@ -9651,8 +9651,8 @@ function zp() {
|
|
|
9651
9651
|
gfmFootnoteDefinition: Ep
|
|
9652
9652
|
},
|
|
9653
9653
|
exit: {
|
|
9654
|
-
gfmFootnoteCallString:
|
|
9655
|
-
gfmFootnoteCall:
|
|
9654
|
+
gfmFootnoteCallString: Rp,
|
|
9655
|
+
gfmFootnoteCall: jp,
|
|
9656
9656
|
gfmFootnoteDefinitionLabelString: Tp,
|
|
9657
9657
|
gfmFootnoteDefinition: Lp
|
|
9658
9658
|
}
|
|
@@ -10079,8 +10079,8 @@ function El(t, n, r, e) {
|
|
|
10079
10079
|
function o1() {
|
|
10080
10080
|
return "!";
|
|
10081
10081
|
}
|
|
10082
|
-
|
|
10083
|
-
function
|
|
10082
|
+
Rl.peek = s1;
|
|
10083
|
+
function Rl(t, n, r, e) {
|
|
10084
10084
|
const i = t.referenceType, l = r.enter("imageReference");
|
|
10085
10085
|
let o = r.enter("label");
|
|
10086
10086
|
const s = r.createTracker(e);
|
|
@@ -10103,8 +10103,8 @@ function jl(t, n, r, e) {
|
|
|
10103
10103
|
function s1() {
|
|
10104
10104
|
return "!";
|
|
10105
10105
|
}
|
|
10106
|
-
|
|
10107
|
-
function
|
|
10106
|
+
jl.peek = a1;
|
|
10107
|
+
function jl(t, n, r) {
|
|
10108
10108
|
let e = t.value || "", i = "`", l = -1;
|
|
10109
10109
|
for (; new RegExp("(^|[^`])" + i + "([^`]|$)").test(e); )
|
|
10110
10110
|
i += "`";
|
|
@@ -10388,8 +10388,8 @@ const Ol = {
|
|
|
10388
10388
|
heading: i1,
|
|
10389
10389
|
html: Al,
|
|
10390
10390
|
image: El,
|
|
10391
|
-
imageReference:
|
|
10392
|
-
inlineCode:
|
|
10391
|
+
imageReference: Rl,
|
|
10392
|
+
inlineCode: jl,
|
|
10393
10393
|
link: Ll,
|
|
10394
10394
|
linkReference: Nl,
|
|
10395
10395
|
list: d1,
|
|
@@ -10444,14 +10444,14 @@ function gi(t) {
|
|
|
10444
10444
|
}
|
|
10445
10445
|
function E1(t) {
|
|
10446
10446
|
let n = this.resume();
|
|
10447
|
-
this.data.inTable && (n = n.replace(/\\([\\|])/g,
|
|
10447
|
+
this.data.inTable && (n = n.replace(/\\([\\|])/g, R1));
|
|
10448
10448
|
const r = this.stack[this.stack.length - 1];
|
|
10449
10449
|
r.type, r.value = n, this.exit(t);
|
|
10450
10450
|
}
|
|
10451
|
-
function
|
|
10451
|
+
function R1(t, n) {
|
|
10452
10452
|
return n === "|" ? n : t;
|
|
10453
10453
|
}
|
|
10454
|
-
function
|
|
10454
|
+
function j1(t) {
|
|
10455
10455
|
const n = t || {}, r = n.tableCellPadding, e = n.tablePipeAlign, i = n.stringLength, l = r ? " " : "|";
|
|
10456
10456
|
return {
|
|
10457
10457
|
unsafe: [
|
|
@@ -10595,7 +10595,7 @@ function O1(t) {
|
|
|
10595
10595
|
pp(),
|
|
10596
10596
|
Pp(t),
|
|
10597
10597
|
Fp(),
|
|
10598
|
-
|
|
10598
|
+
j1(t),
|
|
10599
10599
|
L1()
|
|
10600
10600
|
]
|
|
10601
10601
|
};
|
|
@@ -10961,7 +10961,7 @@ function Z1(t, n, r) {
|
|
|
10961
10961
|
}
|
|
10962
10962
|
}
|
|
10963
10963
|
function em(t, n, r) {
|
|
10964
|
-
return t.check(
|
|
10964
|
+
return t.check(jt, n, t.attempt(G1, n, r));
|
|
10965
10965
|
}
|
|
10966
10966
|
function tm(t) {
|
|
10967
10967
|
t.exit("gfmFootnoteDefinition");
|
|
@@ -11139,14 +11139,14 @@ function am(t, n, r) {
|
|
|
11139
11139
|
let i = 0, l = 0, o;
|
|
11140
11140
|
return s;
|
|
11141
11141
|
function s(_) {
|
|
11142
|
-
let
|
|
11143
|
-
for (;
|
|
11144
|
-
const O = e.events[
|
|
11142
|
+
let R = e.events.length - 1;
|
|
11143
|
+
for (; R > -1; ) {
|
|
11144
|
+
const O = e.events[R][1].type;
|
|
11145
11145
|
if (O === "lineEnding" || // Note: markdown-rs uses `whitespace` instead of `linePrefix`
|
|
11146
|
-
O === "linePrefix")
|
|
11146
|
+
O === "linePrefix") R--;
|
|
11147
11147
|
else break;
|
|
11148
11148
|
}
|
|
11149
|
-
const T =
|
|
11149
|
+
const T = R > -1 ? e.events[R][1].type : null, F = T === "tableHead" || T === "tableRow" ? S : a;
|
|
11150
11150
|
return F === S && e.parser.lazy[e.now().line] ? r(_) : F(_);
|
|
11151
11151
|
}
|
|
11152
11152
|
function a(_) {
|
|
@@ -11412,7 +11412,7 @@ const xm = "_Root_1gufk_1", km = "_CodeBlockWrapper_1gufk_91", ym = "_InlineCode
|
|
|
11412
11412
|
}, [n]);
|
|
11413
11413
|
const k = n ? c : r ?? "", x = n ? d : e ?? !1;
|
|
11414
11414
|
return /* @__PURE__ */ m.jsx("div", { ref: u, className: $(Fn.Root, s), "data-ov-streaming": x ? "true" : "false", "data-ov-cursor": i ? "true" : "false", ...a, children: /* @__PURE__ */ m.jsx(rp, { remarkPlugins: bm, skipHtml: !0, components: wm, children: k }) });
|
|
11415
|
-
}), vm = "
|
|
11415
|
+
}), vm = "_Root_11q47_1", _m = "_Header_11q47_8", Sm = "_Filename_11q47_24", Cm = "_HeaderActions_11q47_39", Ht = {
|
|
11416
11416
|
Root: vm,
|
|
11417
11417
|
Header: _m,
|
|
11418
11418
|
Filename: Sm,
|
|
@@ -11475,9 +11475,9 @@ const xm = "_Root_1gufk_1", km = "_CodeBlockWrapper_1gufk_91", ym = "_InlineCode
|
|
|
11475
11475
|
h,
|
|
11476
11476
|
d
|
|
11477
11477
|
] }), e[19] = h, e[20] = d, e[21] = f) : f = e[21], f;
|
|
11478
|
-
}), Em = "_Root_nujwp_1",
|
|
11478
|
+
}), Em = "_Root_nujwp_1", Rm = "_Title_nujwp_7", yi = {
|
|
11479
11479
|
Root: Em,
|
|
11480
|
-
Title:
|
|
11480
|
+
Title: Rm
|
|
11481
11481
|
}, Yg = q(function(n, r) {
|
|
11482
11482
|
const e = H.c(20);
|
|
11483
11483
|
let i, l, o, s;
|
|
@@ -11549,8 +11549,8 @@ const xm = "_Root_1gufk_1", km = "_CodeBlockWrapper_1gufk_91", ym = "_InlineCode
|
|
|
11549
11549
|
p,
|
|
11550
11550
|
k
|
|
11551
11551
|
] }), e[20] = r, e[21] = s, e[22] = c, e[23] = d, e[24] = p, e[25] = k, e[26] = x) : x = e[26], x;
|
|
11552
|
-
}),
|
|
11553
|
-
Root:
|
|
11552
|
+
}), jm = "_Root_1ekka_1", Tm = "_Frame_1ekka_7", Lm = "_Placeholder_1ekka_15", Nm = "_PlaceholderIcon_1ekka_21", zm = "_PlaceholderLabel_1ekka_33", Pm = "_Image_1ekka_38", Om = "_ImageLoaded_1ekka_47", Dm = "_Prompt_1ekka_51", We = {
|
|
11553
|
+
Root: jm,
|
|
11554
11554
|
Frame: Tm,
|
|
11555
11555
|
Placeholder: Lm,
|
|
11556
11556
|
PlaceholderIcon: Nm,
|
|
@@ -11589,7 +11589,7 @@ const xm = "_Root_1gufk_1", km = "_CodeBlockWrapper_1gufk_91", ym = "_InlineCode
|
|
|
11589
11589
|
e[15] !== h || e[16] !== x ? (A = x && /* @__PURE__ */ m.jsxs("div", { className: We.Placeholder, children: [
|
|
11590
11590
|
/* @__PURE__ */ m.jsx(so, { variant: "rectangular", width: "100%", height: "100%", animation: "wave" }),
|
|
11591
11591
|
/* @__PURE__ */ m.jsxs("div", { className: We.PlaceholderIcon, children: [
|
|
11592
|
-
/* @__PURE__ */ m.jsx(
|
|
11592
|
+
/* @__PURE__ */ m.jsx(Ri, { size: 32 }),
|
|
11593
11593
|
h && /* @__PURE__ */ m.jsx("span", { className: We.PlaceholderLabel, children: "Generating…" })
|
|
11594
11594
|
] })
|
|
11595
11595
|
] }), e[15] = h, e[16] = x, e[17] = A) : A = e[17];
|
|
@@ -11647,7 +11647,7 @@ const xm = "_Root_1gufk_1", km = "_CodeBlockWrapper_1gufk_91", ym = "_InlineCode
|
|
|
11647
11647
|
let f;
|
|
11648
11648
|
e[9] !== i ? (f = $(i), e[9] = i, e[10] = f) : f = e[10];
|
|
11649
11649
|
let p;
|
|
11650
|
-
e[11] !== c ? (p = c != null && /* @__PURE__ */ m.jsxs(Le.Item, { icon: /* @__PURE__ */ m.jsx(
|
|
11650
|
+
e[11] !== c ? (p = c != null && /* @__PURE__ */ m.jsxs(Le.Item, { icon: /* @__PURE__ */ m.jsx(jo, {}), children: [
|
|
11651
11651
|
c.toFixed(2),
|
|
11652
11652
|
" tok/sec"
|
|
11653
11653
|
] }), e[11] = c, e[12] = p) : p = e[12];
|
|
@@ -11761,28 +11761,28 @@ const xm = "_Root_1gufk_1", km = "_CodeBlockWrapper_1gufk_91", ym = "_InlineCode
|
|
|
11761
11761
|
e[20] !== o ? (N = /* @__PURE__ */ m.jsx("p", { className: An.Description, children: o }), e[20] = o, e[21] = N) : N = e[21];
|
|
11762
11762
|
let _;
|
|
11763
11763
|
e[22] !== c ? (_ = c && /* @__PURE__ */ m.jsx("code", { className: An.Resource, children: c }), e[22] = c, e[23] = _) : _ = e[23];
|
|
11764
|
-
let
|
|
11765
|
-
e[24] !== _ || e[25] !== z || e[26] !== N ? (
|
|
11764
|
+
let R;
|
|
11765
|
+
e[24] !== _ || e[25] !== z || e[26] !== N ? (R = /* @__PURE__ */ m.jsxs(Ne.Content, { children: [
|
|
11766
11766
|
z,
|
|
11767
11767
|
N,
|
|
11768
11768
|
_
|
|
11769
|
-
] }), e[24] = _, e[25] = z, e[26] = N, e[27] =
|
|
11769
|
+
] }), e[24] = _, e[25] = z, e[26] = N, e[27] = R) : R = e[27];
|
|
11770
11770
|
let T;
|
|
11771
11771
|
e[28] !== k || e[29] !== a ? (T = /* @__PURE__ */ m.jsx(ce, { size: "sm", variant: "ghost", color: "neutral", onClick: a, children: k }), e[28] = k, e[29] = a, e[30] = T) : T = e[30];
|
|
11772
11772
|
const F = g ? "danger" : "brand", O = l ?? v;
|
|
11773
|
-
let
|
|
11774
|
-
e[31] !== u || e[32] !== F || e[33] !== O ? (
|
|
11773
|
+
let j;
|
|
11774
|
+
e[31] !== u || e[32] !== F || e[33] !== O ? (j = /* @__PURE__ */ m.jsx(ce, { size: "sm", variant: "solid", color: F, onClick: u, children: O }), e[31] = u, e[32] = F, e[33] = O, e[34] = j) : j = e[34];
|
|
11775
11775
|
let M;
|
|
11776
|
-
e[35] !== T || e[36] !==
|
|
11776
|
+
e[35] !== T || e[36] !== j ? (M = /* @__PURE__ */ m.jsxs(Ne.Actions, { children: [
|
|
11777
11777
|
T,
|
|
11778
|
-
|
|
11779
|
-
] }), e[35] = T, e[36] =
|
|
11778
|
+
j
|
|
11779
|
+
] }), e[35] = T, e[36] = j, e[37] = M) : M = e[37];
|
|
11780
11780
|
let V;
|
|
11781
|
-
return e[38] !== r || e[39] !== h || e[40] !==
|
|
11781
|
+
return e[38] !== r || e[39] !== h || e[40] !== R || e[41] !== M || e[42] !== C || e[43] !== A || e[44] !== L || e[45] !== p ? (V = /* @__PURE__ */ m.jsxs(Ne, { ref: r, color: C, variant: "outline", size: "sm", className: A, role: "alertdialog", "aria-label": p, ...h, children: [
|
|
11782
11782
|
L,
|
|
11783
|
-
|
|
11783
|
+
R,
|
|
11784
11784
|
M
|
|
11785
|
-
] }), e[38] = r, e[39] = h, e[40] =
|
|
11785
|
+
] }), e[38] = r, e[39] = h, e[40] = R, e[41] = M, e[42] = C, e[43] = A, e[44] = L, e[45] = p, e[46] = V) : V = e[46], V;
|
|
11786
11786
|
}), Xm = "_Root_13o3d_1", Km = "_Selector_13o3d_5", Qm = "_Indicator_13o3d_16", hr = {
|
|
11787
11787
|
Root: Xm,
|
|
11788
11788
|
Selector: Km,
|
|
@@ -11897,7 +11897,7 @@ const e2 = q(function(n, r) {
|
|
|
11897
11897
|
" of ",
|
|
11898
11898
|
o
|
|
11899
11899
|
] }), e[5] = o, e[6] = r, e[7] = l, e[8] = a, e[9] = u, e[10] = c) : c = e[10], c;
|
|
11900
|
-
}), tg = "
|
|
11900
|
+
}), tg = "_Root_d0s2h_1", ng = "_Header_d0s2h_19", rg = "_Title_d0s2h_27", ig = "_Description_d0s2h_45", lg = "_Close_d0s2h_55", og = "_Actions_d0s2h_60", sg = "_Action_d0s2h_60", ag = "_TooltipTrigger_d0s2h_76", ug = "_Content_d0s2h_80", Fe = {
|
|
11901
11901
|
Root: tg,
|
|
11902
11902
|
Header: ng,
|
|
11903
11903
|
Title: rg,
|
|
@@ -12064,7 +12064,7 @@ export {
|
|
|
12064
12064
|
Sg as AIModelSelector,
|
|
12065
12065
|
Ig as AIRetryButton,
|
|
12066
12066
|
Yg as AISources,
|
|
12067
|
-
|
|
12067
|
+
jg as AIStopButton,
|
|
12068
12068
|
Gg as AITokenUsage,
|
|
12069
12069
|
$g as AgentControls,
|
|
12070
12070
|
Cu as AgentStatusItem,
|
|
@@ -12091,6 +12091,6 @@ export {
|
|
|
12091
12091
|
uu as ToolCall,
|
|
12092
12092
|
Bg as ToolCallList,
|
|
12093
12093
|
Fg as ToolResult,
|
|
12094
|
-
|
|
12094
|
+
Rg as TypingIndicator
|
|
12095
12095
|
};
|
|
12096
12096
|
//# sourceMappingURL=index.js.map
|