@versini/sassysaint 5.5.1 → 5.5.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/chunks/{LazyApp.DAIMaKbi.js → LazyApp.TMfqkS0t.js} +117 -120
- package/dist/chunks/{LazyHeader.WEVaxDaM.js → LazyHeader.ujJ_wqZx.js} +4 -4
- package/dist/chunks/{LazyMarkdownWithExtra.DoTeMT12.js → LazyMarkdownWithExtra.DbNrgEec.js} +2 -2
- package/dist/chunks/{LazyMessageAssistant.O9mWlBe_.js → LazyMessageAssistant.axz4vvCk.js} +73 -76
- package/dist/chunks/{index.DiAX0KiN.js → index.CSNLtEls.js} +3 -3
- package/dist/chunks/{index.Du-zwZIx.js → index.DL3JlbtG.js} +1 -2
- package/dist/components/SassySaint/SassySaint.js +1 -1
- package/dist/index.js +4 -4
- package/package.json +3 -3
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as s, jsxs as f, Fragment as R } from "react/jsx-runtime";
|
|
2
|
-
import { ACTION_RESTORE as xe, ACTION_MESSAGE as C, ROLE_ASSISTANT as S, ACTION_RESET as Te, ACTION_MODEL as oe, ACTION_ENGINE as ie, ACTION_STREAMING as de, ACTION_SORT as _e, ACTION_SEARCH as we, ACTION_SET_TAGS as se, ACTION_RESET_TAGS as ne, ACTION_TOGGLE_TAG as le, ROLE_INTERNAL as G, ROLE_USER as D, isLastMessageFromRole as Ne, un as O, getMessageContaintWrapperClass as Ee, MessagesContainerHeader as Ie, ROLE_SYSTEM as Ce, ROLE_HIDDEN as Se, DEFAULT_AI_ENGINE as A, STATS_SEPARATOR as Y, CLIPBOARD_TAG as q, TYPE_QUESTION as Re, C as ce, SEND as Be, ERROR_MESSAGE as Ae, L as Me, j as Le, _ as Oe, LOCAL_STORAGE_PREFIX as J, LOCAL_STORAGE_SEARCH as ze, LOCAL_STORAGE_SORT as Ue } from "./index.
|
|
3
|
-
import { AppContext as H, TagsContext as j, restCall as Ve,
|
|
4
|
-
import I, { useState as B, useEffect as E, lazy as
|
|
2
|
+
import { ACTION_RESTORE as xe, ACTION_MESSAGE as C, ROLE_ASSISTANT as S, ACTION_RESET as Te, ACTION_MODEL as oe, ACTION_ENGINE as ie, ACTION_STREAMING as de, ACTION_SORT as _e, ACTION_SEARCH as we, ACTION_SET_TAGS as se, ACTION_RESET_TAGS as ne, ACTION_TOGGLE_TAG as le, ROLE_INTERNAL as G, ROLE_USER as D, isLastMessageFromRole as Ne, un as O, getMessageContaintWrapperClass as Ee, MessagesContainerHeader as Ie, ROLE_SYSTEM as Ce, ROLE_HIDDEN as Se, DEFAULT_AI_ENGINE as A, STATS_SEPARATOR as Y, CLIPBOARD_TAG as q, TYPE_QUESTION as Re, C as ce, SEND as Be, ERROR_MESSAGE as Ae, L as Me, j as Le, _ as Oe, LOCAL_STORAGE_PREFIX as J, LOCAL_STORAGE_SEARCH as ze, LOCAL_STORAGE_SORT as Ue } from "./index.CSNLtEls.js";
|
|
3
|
+
import { AppContext as H, TagsContext as j, restCall as Ve, Fe as De, NewChatButton as $e, serviceCall as ge, SERVICE_TYPES as me, E as Q, HistoryContext as Ge, f as He } from "./index.DL3JlbtG.js";
|
|
4
|
+
import I, { useState as B, useEffect as E, lazy as je, useContext as L, Suspense as X, useRef as $, useReducer as U } from "react";
|
|
5
5
|
import d from "clsx";
|
|
6
|
-
function
|
|
6
|
+
function Pe(e) {
|
|
7
7
|
const t = e.toLowerCase().split("+").map((i) => i.trim()), r = {
|
|
8
8
|
alt: t.includes("alt"),
|
|
9
9
|
ctrl: t.includes("ctrl"),
|
|
@@ -16,7 +16,7 @@ function We(e) {
|
|
|
16
16
|
key: o
|
|
17
17
|
};
|
|
18
18
|
}
|
|
19
|
-
function
|
|
19
|
+
function We(e, t) {
|
|
20
20
|
const { alt: r, ctrl: a, meta: o, mod: i, shift: g, key: n } = e, { altKey: l, ctrlKey: m, metaKey: b, shiftKey: h, key: c } = t;
|
|
21
21
|
if (r !== l)
|
|
22
22
|
return !1;
|
|
@@ -27,42 +27,42 @@ function Fe(e, t) {
|
|
|
27
27
|
return !1;
|
|
28
28
|
return g !== h ? !1 : !!(n && (c.toLowerCase() === n.toLowerCase() || t.code.replace("Key", "").toLowerCase() === n.toLowerCase()));
|
|
29
29
|
}
|
|
30
|
-
function
|
|
31
|
-
return (t) =>
|
|
30
|
+
function Fe(e) {
|
|
31
|
+
return (t) => We(Pe(e), t);
|
|
32
32
|
}
|
|
33
|
-
function
|
|
33
|
+
function Ke(e) {
|
|
34
34
|
return (t) => {
|
|
35
35
|
const r = "nativeEvent" in t ? t.nativeEvent : t;
|
|
36
36
|
e.forEach(([a, o, i = { preventDefault: !0 }]) => {
|
|
37
|
-
|
|
37
|
+
Fe(a)(r) && (i.preventDefault && t.preventDefault(), o(r));
|
|
38
38
|
});
|
|
39
39
|
};
|
|
40
40
|
}
|
|
41
41
|
const y = [];
|
|
42
42
|
for (let e = 0; e < 256; ++e)
|
|
43
43
|
y.push((e + 256).toString(16).slice(1));
|
|
44
|
-
function
|
|
44
|
+
function Ye(e, t = 0) {
|
|
45
45
|
return (y[e[t + 0]] + y[e[t + 1]] + y[e[t + 2]] + y[e[t + 3]] + "-" + y[e[t + 4]] + y[e[t + 5]] + "-" + y[e[t + 6]] + y[e[t + 7]] + "-" + y[e[t + 8]] + y[e[t + 9]] + "-" + y[e[t + 10]] + y[e[t + 11]] + y[e[t + 12]] + y[e[t + 13]] + y[e[t + 14]] + y[e[t + 15]]).toLowerCase();
|
|
46
46
|
}
|
|
47
47
|
let V;
|
|
48
|
-
const
|
|
49
|
-
function
|
|
48
|
+
const qe = new Uint8Array(16);
|
|
49
|
+
function Je() {
|
|
50
50
|
if (!V) {
|
|
51
51
|
if (typeof crypto > "u" || !crypto.getRandomValues)
|
|
52
52
|
throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
|
|
53
53
|
V = crypto.getRandomValues.bind(crypto);
|
|
54
54
|
}
|
|
55
|
-
return V(
|
|
55
|
+
return V(qe);
|
|
56
56
|
}
|
|
57
|
-
const
|
|
57
|
+
const Qe = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), Z = { randomUUID: Qe };
|
|
58
58
|
function P(e, t, r) {
|
|
59
59
|
if (Z.randomUUID && !t && !e)
|
|
60
60
|
return Z.randomUUID();
|
|
61
61
|
e = e || {};
|
|
62
|
-
const a = e.random || (e.rng ||
|
|
63
|
-
return a[6] = a[6] & 15 | 64, a[8] = a[8] & 63 | 128,
|
|
62
|
+
const a = e.random || (e.rng || Je)();
|
|
63
|
+
return a[6] = a[6] & 15 | 64, a[8] = a[8] & 63 | 128, Ye(a);
|
|
64
64
|
}
|
|
65
|
-
const
|
|
65
|
+
const Xe = (e, t) => {
|
|
66
66
|
if ((t == null ? void 0 : t.type) === xe) {
|
|
67
67
|
const r = t.payload.messages.map((a) => ({
|
|
68
68
|
message: {
|
|
@@ -155,7 +155,7 @@ const Ze = (e, t) => {
|
|
|
155
155
|
...e,
|
|
156
156
|
streaming: t.payload.streaming
|
|
157
157
|
} : e;
|
|
158
|
-
},
|
|
158
|
+
}, Ze = (e, t) => {
|
|
159
159
|
switch (t == null ? void 0 : t.type) {
|
|
160
160
|
case we:
|
|
161
161
|
return {
|
|
@@ -172,7 +172,7 @@ const Ze = (e, t) => {
|
|
|
172
172
|
default:
|
|
173
173
|
return e;
|
|
174
174
|
}
|
|
175
|
-
},
|
|
175
|
+
}, et = (e, t) => {
|
|
176
176
|
switch (t == null ? void 0 : t.type) {
|
|
177
177
|
case le:
|
|
178
178
|
return {
|
|
@@ -206,7 +206,7 @@ try {
|
|
|
206
206
|
});
|
|
207
207
|
} catch {
|
|
208
208
|
}
|
|
209
|
-
const
|
|
209
|
+
const tt = "av-bubble", ee = "av-button", W = "icon", rt = "button", at = "link", ot = ({
|
|
210
210
|
type: e,
|
|
211
211
|
size: t,
|
|
212
212
|
labelRight: r,
|
|
@@ -215,13 +215,13 @@ const rt = "av-bubble", ee = "av-button", W = "icon", at = "button", ot = "link"
|
|
|
215
215
|
}) => {
|
|
216
216
|
const i = "text-sm font-medium max-h-8 py-0 px-2", g = "text-base font-medium max-h-9 py-1 px-3", n = "text-lg font-medium max-h-12 py-2 px-4";
|
|
217
217
|
switch (e) {
|
|
218
|
-
case
|
|
218
|
+
case rt:
|
|
219
219
|
return d({
|
|
220
220
|
[i]: t === "small",
|
|
221
221
|
[g]: t === "medium",
|
|
222
222
|
[n]: t === "large"
|
|
223
223
|
});
|
|
224
|
-
case
|
|
224
|
+
case at:
|
|
225
225
|
return d("text-center", {
|
|
226
226
|
[i]: t === "small",
|
|
227
227
|
[g]: t === "medium",
|
|
@@ -240,7 +240,7 @@ const rt = "av-bubble", ee = "av-button", W = "icon", at = "button", ot = "link"
|
|
|
240
240
|
"h-12 px-4 text-lg font-medium": t === "large" && (r || a)
|
|
241
241
|
});
|
|
242
242
|
}
|
|
243
|
-
},
|
|
243
|
+
}, it = ({
|
|
244
244
|
mode: e,
|
|
245
245
|
noBackground: t,
|
|
246
246
|
noTruncate: r,
|
|
@@ -297,7 +297,7 @@ const rt = "av-bubble", ee = "av-button", W = "icon", at = "button", ot = "link"
|
|
|
297
297
|
"bg-action-selected-dark text-copy-light dark:bg-action-selected-light dark:text-copy-lighter": e === "system",
|
|
298
298
|
"bg-action-selected-light text-copy-lighter dark:bg-action-selected-dark dark:text-copy-light": e === "alt-system"
|
|
299
299
|
});
|
|
300
|
-
},
|
|
300
|
+
}, dt = ({
|
|
301
301
|
mode: e,
|
|
302
302
|
disabled: t,
|
|
303
303
|
variant: r
|
|
@@ -332,7 +332,7 @@ const rt = "av-bubble", ee = "av-button", W = "icon", at = "button", ot = "link"
|
|
|
332
332
|
"hover:bg-action-selected-dark-hover dark:hover:bg-action-selected-light-hover": e === "system",
|
|
333
333
|
"hover:bg-action-selected-light-hover dark:hover:bg-action-selected-dark-hover": e === "alt-system"
|
|
334
334
|
});
|
|
335
|
-
},
|
|
335
|
+
}, st = ({
|
|
336
336
|
mode: e,
|
|
337
337
|
disabled: t,
|
|
338
338
|
variant: r
|
|
@@ -367,7 +367,7 @@ const rt = "av-bubble", ee = "av-button", W = "icon", at = "button", ot = "link"
|
|
|
367
367
|
"active:bg-action-selected-dark-active dark:active:bg-action-selected-light-active": e === "system",
|
|
368
368
|
"active:bg-action-selected-light-active dark:active:bg-action-selected-dark-active": e === "alt-system"
|
|
369
369
|
});
|
|
370
|
-
},
|
|
370
|
+
}, nt = ({
|
|
371
371
|
mode: e,
|
|
372
372
|
noBorder: t,
|
|
373
373
|
variant: r
|
|
@@ -402,7 +402,7 @@ const rt = "av-bubble", ee = "av-button", W = "icon", at = "button", ot = "link"
|
|
|
402
402
|
"border-border-selected-dark dark:border-border-selected-medium": e === "system",
|
|
403
403
|
"border-border-selected-medium dark:border-border-selected-dark": e === "alt-system"
|
|
404
404
|
});
|
|
405
|
-
},
|
|
405
|
+
}, lt = ({
|
|
406
406
|
focusMode: e
|
|
407
407
|
}) => d("focus:outline", "focus:outline-2", "focus:outline-offset-2", {
|
|
408
408
|
"focus:outline-focus-dark": e === "dark",
|
|
@@ -428,30 +428,30 @@ const rt = "av-bubble", ee = "av-button", W = "icon", at = "button", ot = "link"
|
|
|
428
428
|
radius: v
|
|
429
429
|
}) => (c || (c = "primary"), r ? d(ee, t) : d(
|
|
430
430
|
ee,
|
|
431
|
-
|
|
431
|
+
it({
|
|
432
432
|
mode: a,
|
|
433
433
|
variant: c,
|
|
434
434
|
noBackground: h,
|
|
435
435
|
noTruncate: u,
|
|
436
436
|
radius: v
|
|
437
437
|
}),
|
|
438
|
-
|
|
438
|
+
ot({
|
|
439
439
|
type: e,
|
|
440
440
|
size: n,
|
|
441
441
|
labelRight: m,
|
|
442
442
|
labelLeft: b,
|
|
443
443
|
align: p
|
|
444
444
|
}),
|
|
445
|
-
|
|
446
|
-
|
|
445
|
+
nt({ mode: a, variant: c, noBorder: l }),
|
|
446
|
+
lt({ focusMode: o }),
|
|
447
|
+
dt({ mode: a, variant: c, disabled: i }),
|
|
447
448
|
st({ mode: a, variant: c, disabled: i }),
|
|
448
|
-
nt({ mode: a, variant: c, disabled: i }),
|
|
449
449
|
{
|
|
450
450
|
"w-full": g,
|
|
451
451
|
"disabled:cursor-not-allowed disabled:opacity-50": i
|
|
452
452
|
},
|
|
453
453
|
t
|
|
454
|
-
)),
|
|
454
|
+
)), ct = (e, t, r) => {
|
|
455
455
|
var a;
|
|
456
456
|
!t && (!document.activeElement || document.activeElement !== e.currentTarget) && typeof ((a = e == null ? void 0 : e.currentTarget) == null ? void 0 : a.focus) == "function" && e.currentTarget.focus(), typeof r == "function" && r(e);
|
|
457
457
|
}, F = I.forwardRef((e, t) => {
|
|
@@ -461,7 +461,7 @@ const rt = "av-bubble", ee = "av-button", W = "icon", at = "button", ot = "link"
|
|
|
461
461
|
{
|
|
462
462
|
ref: t,
|
|
463
463
|
onClick: (i) => {
|
|
464
|
-
|
|
464
|
+
ct(i, a, r);
|
|
465
465
|
},
|
|
466
466
|
...o
|
|
467
467
|
}
|
|
@@ -542,7 +542,7 @@ try {
|
|
|
542
542
|
});
|
|
543
543
|
} catch {
|
|
544
544
|
}
|
|
545
|
-
const
|
|
545
|
+
const gt = I.forwardRef(
|
|
546
546
|
({
|
|
547
547
|
children: e,
|
|
548
548
|
disabled: t = !1,
|
|
@@ -619,7 +619,7 @@ const mt = I.forwardRef(
|
|
|
619
619
|
) });
|
|
620
620
|
}
|
|
621
621
|
);
|
|
622
|
-
|
|
622
|
+
gt.displayName = "ButtonSort";
|
|
623
623
|
const be = ({
|
|
624
624
|
children: e,
|
|
625
625
|
fill: t,
|
|
@@ -663,7 +663,7 @@ try {
|
|
|
663
663
|
});
|
|
664
664
|
} catch {
|
|
665
665
|
}
|
|
666
|
-
const
|
|
666
|
+
const mt = ({
|
|
667
667
|
className: e,
|
|
668
668
|
viewBox: t,
|
|
669
669
|
title: r,
|
|
@@ -689,7 +689,7 @@ const ut = ({
|
|
|
689
689
|
/* @__PURE__ */ s("path", { d: "M337 175c9.4 9.4 9.4 24.6 0 33.9L209 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L303 175c9.4-9.4 24.6-9.4 33.9 0z" })
|
|
690
690
|
]
|
|
691
691
|
}
|
|
692
|
-
),
|
|
692
|
+
), ut = ({
|
|
693
693
|
className: e,
|
|
694
694
|
viewBox: t,
|
|
695
695
|
title: r,
|
|
@@ -720,23 +720,23 @@ try {
|
|
|
720
720
|
});
|
|
721
721
|
} catch {
|
|
722
722
|
}
|
|
723
|
-
const
|
|
723
|
+
const ht = () => "p-4 max-w-xs sm:max-w-md md:max-w-2xl", bt = ({ kind: e }) => d({
|
|
724
724
|
"bg-surface-lighter dark:bg-surface-dark": e === "left",
|
|
725
725
|
"bg-surface-accent": e === "right"
|
|
726
|
-
}),
|
|
726
|
+
}), pt = ({ kind: e }) => d(
|
|
727
727
|
"prose prose-dark dark:prose-lighter prose-p:my-3 prose-blockquote:my-3 prose-ol:my-3 prose-ul:my-3 prose-ul:prose-li:marker:text-black",
|
|
728
728
|
{
|
|
729
729
|
"text-copy-lighter": e === "right"
|
|
730
730
|
}
|
|
731
|
-
),
|
|
731
|
+
), yt = ({ kind: e }) => d("rounded-b-xl", {
|
|
732
732
|
"rounded-tr-xl": e === "left",
|
|
733
733
|
"rounded-tl-xl": e === "right"
|
|
734
|
-
}),
|
|
734
|
+
}), vt = ({
|
|
735
735
|
kind: e,
|
|
736
736
|
className: t
|
|
737
737
|
}) => {
|
|
738
738
|
const r = d(
|
|
739
|
-
|
|
739
|
+
tt,
|
|
740
740
|
"flex items-start",
|
|
741
741
|
{
|
|
742
742
|
"flex-row-reverse": e === "right"
|
|
@@ -744,10 +744,10 @@ const bt = () => "p-4 max-w-xs sm:max-w-md md:max-w-2xl", pt = ({ kind: e }) =>
|
|
|
744
744
|
t
|
|
745
745
|
), a = d(
|
|
746
746
|
"flex flex-col empty:hidden",
|
|
747
|
-
|
|
748
|
-
yt({ kind: e }),
|
|
747
|
+
ht(),
|
|
749
748
|
pt({ kind: e }),
|
|
750
|
-
|
|
749
|
+
bt({ kind: e }),
|
|
750
|
+
yt({ kind: e })
|
|
751
751
|
), o = "pr-2 pt-1 text-end text-xs text-copy-light", i = d("flex flex-col-reverse gap-2 sm:flex-row", {
|
|
752
752
|
"ml-2": e === "left",
|
|
753
753
|
"mr-2": e === "right"
|
|
@@ -758,7 +758,7 @@ const bt = () => "p-4 max-w-xs sm:max-w-md md:max-w-2xl", pt = ({ kind: e }) =>
|
|
|
758
758
|
footer: o,
|
|
759
759
|
copyButton: i
|
|
760
760
|
};
|
|
761
|
-
},
|
|
761
|
+
}, ft = ({
|
|
762
762
|
children: e,
|
|
763
763
|
kind: t = "left",
|
|
764
764
|
className: r,
|
|
@@ -768,7 +768,7 @@ const bt = () => "p-4 max-w-xs sm:max-w-md md:max-w-2xl", pt = ({ kind: e }) =>
|
|
|
768
768
|
copyToClipboardFocusMode: g = "system",
|
|
769
769
|
copyToClipboardMode: n = "system"
|
|
770
770
|
}) => {
|
|
771
|
-
const [l, m] = B(!1), b =
|
|
771
|
+
const [l, m] = B(!1), b = vt({ kind: t, className: r }), h = !!i && (typeof i == "function" || typeof i == "string" || typeof e == "string"), c = () => {
|
|
772
772
|
m(!0), typeof i == "function" ? i(e) : typeof i == "string" ? navigator.clipboard.writeText(i) : typeof e == "string" && navigator.clipboard.writeText(e);
|
|
773
773
|
};
|
|
774
774
|
return E(() => {
|
|
@@ -799,11 +799,11 @@ const bt = () => "p-4 max-w-xs sm:max-w-md md:max-w-2xl", pt = ({ kind: e }) =>
|
|
|
799
799
|
label: l ? "Copied to clipboard" : "Copy to clipboard",
|
|
800
800
|
onClick: c,
|
|
801
801
|
disabled: l,
|
|
802
|
-
children: l ? /* @__PURE__ */ s(
|
|
802
|
+
children: l ? /* @__PURE__ */ s(mt, { size: "size-3" }) : /* @__PURE__ */ s(ut, { size: "size-3" })
|
|
803
803
|
}
|
|
804
804
|
) })
|
|
805
805
|
] });
|
|
806
|
-
}, te = "av-button", pe = "icon", ye = "button",
|
|
806
|
+
}, te = "av-button", pe = "icon", ye = "button", kt = "link", xt = ({
|
|
807
807
|
type: e,
|
|
808
808
|
size: t,
|
|
809
809
|
labelRight: r,
|
|
@@ -818,7 +818,7 @@ const bt = () => "p-4 max-w-xs sm:max-w-md md:max-w-2xl", pt = ({ kind: e }) =>
|
|
|
818
818
|
[g]: t === "medium",
|
|
819
819
|
[n]: t === "large"
|
|
820
820
|
});
|
|
821
|
-
case
|
|
821
|
+
case kt:
|
|
822
822
|
return d("text-center", {
|
|
823
823
|
[i]: t === "small",
|
|
824
824
|
[g]: t === "medium",
|
|
@@ -837,7 +837,7 @@ const bt = () => "p-4 max-w-xs sm:max-w-md md:max-w-2xl", pt = ({ kind: e }) =>
|
|
|
837
837
|
"h-12 px-4 text-lg font-medium": t === "large" && (r || a)
|
|
838
838
|
});
|
|
839
839
|
}
|
|
840
|
-
},
|
|
840
|
+
}, Tt = ({
|
|
841
841
|
mode: e,
|
|
842
842
|
noBackground: t,
|
|
843
843
|
noTruncate: r,
|
|
@@ -894,7 +894,7 @@ const bt = () => "p-4 max-w-xs sm:max-w-md md:max-w-2xl", pt = ({ kind: e }) =>
|
|
|
894
894
|
"bg-action-selected-dark text-copy-light dark:bg-action-selected-light dark:text-copy-lighter": e === "system",
|
|
895
895
|
"bg-action-selected-light text-copy-lighter dark:bg-action-selected-dark dark:text-copy-light": e === "alt-system"
|
|
896
896
|
});
|
|
897
|
-
},
|
|
897
|
+
}, _t = ({
|
|
898
898
|
mode: e,
|
|
899
899
|
disabled: t,
|
|
900
900
|
variant: r
|
|
@@ -929,7 +929,7 @@ const bt = () => "p-4 max-w-xs sm:max-w-md md:max-w-2xl", pt = ({ kind: e }) =>
|
|
|
929
929
|
"hover:bg-action-selected-dark-hover dark:hover:bg-action-selected-light-hover": e === "system",
|
|
930
930
|
"hover:bg-action-selected-light-hover dark:hover:bg-action-selected-dark-hover": e === "alt-system"
|
|
931
931
|
});
|
|
932
|
-
},
|
|
932
|
+
}, wt = ({
|
|
933
933
|
mode: e,
|
|
934
934
|
disabled: t,
|
|
935
935
|
variant: r
|
|
@@ -964,7 +964,7 @@ const bt = () => "p-4 max-w-xs sm:max-w-md md:max-w-2xl", pt = ({ kind: e }) =>
|
|
|
964
964
|
"active:bg-action-selected-dark-active dark:active:bg-action-selected-light-active": e === "system",
|
|
965
965
|
"active:bg-action-selected-light-active dark:active:bg-action-selected-dark-active": e === "alt-system"
|
|
966
966
|
});
|
|
967
|
-
},
|
|
967
|
+
}, Nt = ({
|
|
968
968
|
mode: e,
|
|
969
969
|
noBorder: t,
|
|
970
970
|
variant: r
|
|
@@ -999,7 +999,7 @@ const bt = () => "p-4 max-w-xs sm:max-w-md md:max-w-2xl", pt = ({ kind: e }) =>
|
|
|
999
999
|
"border-border-selected-dark dark:border-border-selected-medium": e === "system",
|
|
1000
1000
|
"border-border-selected-medium dark:border-border-selected-dark": e === "alt-system"
|
|
1001
1001
|
});
|
|
1002
|
-
},
|
|
1002
|
+
}, Et = ({
|
|
1003
1003
|
focusMode: e
|
|
1004
1004
|
}) => d("focus:outline", "focus:outline-2", "focus:outline-offset-2", {
|
|
1005
1005
|
"focus:outline-focus-dark": e === "dark",
|
|
@@ -1025,30 +1025,30 @@ const bt = () => "p-4 max-w-xs sm:max-w-md md:max-w-2xl", pt = ({ kind: e }) =>
|
|
|
1025
1025
|
radius: v
|
|
1026
1026
|
}) => (c || (c = "primary"), r ? d(te, t) : d(
|
|
1027
1027
|
te,
|
|
1028
|
-
|
|
1028
|
+
Tt({
|
|
1029
1029
|
mode: a,
|
|
1030
1030
|
variant: c,
|
|
1031
1031
|
noBackground: h,
|
|
1032
1032
|
noTruncate: u,
|
|
1033
1033
|
radius: v
|
|
1034
1034
|
}),
|
|
1035
|
-
|
|
1035
|
+
xt({
|
|
1036
1036
|
type: e,
|
|
1037
1037
|
size: n,
|
|
1038
1038
|
labelRight: m,
|
|
1039
1039
|
labelLeft: b,
|
|
1040
1040
|
align: p
|
|
1041
1041
|
}),
|
|
1042
|
-
|
|
1043
|
-
|
|
1042
|
+
Nt({ mode: a, variant: c, noBorder: l }),
|
|
1043
|
+
Et({ focusMode: o }),
|
|
1044
|
+
_t({ mode: a, variant: c, disabled: i }),
|
|
1044
1045
|
wt({ mode: a, variant: c, disabled: i }),
|
|
1045
|
-
Nt({ mode: a, variant: c, disabled: i }),
|
|
1046
1046
|
{
|
|
1047
1047
|
"w-full": g,
|
|
1048
1048
|
"disabled:cursor-not-allowed disabled:opacity-50": i
|
|
1049
1049
|
},
|
|
1050
1050
|
t
|
|
1051
|
-
)),
|
|
1051
|
+
)), It = (e, t, r) => {
|
|
1052
1052
|
var a;
|
|
1053
1053
|
!t && (!document.activeElement || document.activeElement !== e.currentTarget) && typeof ((a = e == null ? void 0 : e.currentTarget) == null ? void 0 : a.focus) == "function" && e.currentTarget.focus(), typeof r == "function" && r(e);
|
|
1054
1054
|
}, K = I.forwardRef((e, t) => {
|
|
@@ -1058,7 +1058,7 @@ const bt = () => "p-4 max-w-xs sm:max-w-md md:max-w-2xl", pt = ({ kind: e }) =>
|
|
|
1058
1058
|
{
|
|
1059
1059
|
ref: t,
|
|
1060
1060
|
onClick: (i) => {
|
|
1061
|
-
|
|
1061
|
+
It(i, a, r);
|
|
1062
1062
|
},
|
|
1063
1063
|
...o
|
|
1064
1064
|
}
|
|
@@ -1121,7 +1121,7 @@ try {
|
|
|
1121
1121
|
});
|
|
1122
1122
|
} catch {
|
|
1123
1123
|
}
|
|
1124
|
-
const
|
|
1124
|
+
const Ct = I.forwardRef(
|
|
1125
1125
|
({
|
|
1126
1126
|
children: e,
|
|
1127
1127
|
disabled: t = !1,
|
|
@@ -1198,10 +1198,10 @@ const St = I.forwardRef(
|
|
|
1198
1198
|
) });
|
|
1199
1199
|
}
|
|
1200
1200
|
);
|
|
1201
|
-
|
|
1202
|
-
const
|
|
1201
|
+
Ct.displayName = "ButtonSort";
|
|
1202
|
+
const St = 200, Rt = ({
|
|
1203
1203
|
string: e,
|
|
1204
|
-
idealLength: t =
|
|
1204
|
+
idealLength: t = St
|
|
1205
1205
|
}) => {
|
|
1206
1206
|
if (e.length <= t)
|
|
1207
1207
|
return { string: e, isTruncated: !1 };
|
|
@@ -1212,7 +1212,7 @@ const Rt = 200, Bt = ({
|
|
|
1212
1212
|
string: e.slice(0, t + r),
|
|
1213
1213
|
isTruncated: !0
|
|
1214
1214
|
};
|
|
1215
|
-
},
|
|
1215
|
+
}, Bt = ({
|
|
1216
1216
|
children: e,
|
|
1217
1217
|
length: t = 200,
|
|
1218
1218
|
mode: r = "system",
|
|
@@ -1221,7 +1221,7 @@ const Rt = 200, Bt = ({
|
|
|
1221
1221
|
const [o, i] = B(!1);
|
|
1222
1222
|
if (typeof e != "string")
|
|
1223
1223
|
return e;
|
|
1224
|
-
const { string: g, isTruncated: n } =
|
|
1224
|
+
const { string: g, isTruncated: n } = Rt({
|
|
1225
1225
|
string: e,
|
|
1226
1226
|
idealLength: t
|
|
1227
1227
|
});
|
|
@@ -1255,12 +1255,12 @@ try {
|
|
|
1255
1255
|
});
|
|
1256
1256
|
} catch {
|
|
1257
1257
|
}
|
|
1258
|
-
const re =
|
|
1258
|
+
const re = je(
|
|
1259
1259
|
() => import(
|
|
1260
1260
|
/* webpackChunkName: "LazyMessageAssistant" */
|
|
1261
|
-
"./LazyMessageAssistant.
|
|
1261
|
+
"./LazyMessageAssistant.axz4vvCk.js"
|
|
1262
1262
|
).then((e) => e.LazyMessageAssistant)
|
|
1263
|
-
),
|
|
1263
|
+
), At = () => {
|
|
1264
1264
|
const { state: e } = L(H);
|
|
1265
1265
|
return /* @__PURE__ */ f(R, { children: [
|
|
1266
1266
|
e && e.messages.length > 0 && e.messages.map((t, r) => {
|
|
@@ -1273,23 +1273,23 @@ const re = Pe(
|
|
|
1273
1273
|
children: o
|
|
1274
1274
|
}
|
|
1275
1275
|
) }, `${r}-${a}`) : a === D && o ? /* @__PURE__ */ s(
|
|
1276
|
-
|
|
1276
|
+
ft,
|
|
1277
1277
|
{
|
|
1278
1278
|
kind: "right",
|
|
1279
1279
|
copyToClipboard: o,
|
|
1280
1280
|
copyToClipboardFocusMode: "light",
|
|
1281
|
-
children: /* @__PURE__ */ s(
|
|
1281
|
+
children: /* @__PURE__ */ s(Bt, { mode: "light", focusMode: "light", children: o })
|
|
1282
1282
|
},
|
|
1283
1283
|
`${r}-${a}`
|
|
1284
1284
|
) : null;
|
|
1285
1285
|
}),
|
|
1286
1286
|
Ne(D, e) && /* @__PURE__ */ s(X, { fallback: /* @__PURE__ */ s("span", {}), children: /* @__PURE__ */ s(re, { loading: !0 }) })
|
|
1287
1287
|
] });
|
|
1288
|
-
},
|
|
1288
|
+
}, Mt = () => {
|
|
1289
1289
|
const { isAuthenticated: e } = O(), t = Ee(e);
|
|
1290
1290
|
return /* @__PURE__ */ s(R, { children: /* @__PURE__ */ f("div", { className: t, children: [
|
|
1291
1291
|
/* @__PURE__ */ s(Ie, {}),
|
|
1292
|
-
/* @__PURE__ */ s(
|
|
1292
|
+
/* @__PURE__ */ s(At, {})
|
|
1293
1293
|
] }) });
|
|
1294
1294
|
}, M = (e, t) => {
|
|
1295
1295
|
e({
|
|
@@ -1308,7 +1308,7 @@ const re = Pe(
|
|
|
1308
1308
|
}
|
|
1309
1309
|
}
|
|
1310
1310
|
});
|
|
1311
|
-
},
|
|
1311
|
+
}, Lt = () => {
|
|
1312
1312
|
const { state: e, dispatch: t } = L(H), { state: r, dispatch: a } = L(j), [o, i] = B(""), { getAccessToken: g, user: n } = O(), l = $(null), m = $(
|
|
1313
1313
|
null
|
|
1314
1314
|
);
|
|
@@ -1409,38 +1409,35 @@ const re = Pe(
|
|
|
1409
1409
|
}
|
|
1410
1410
|
}, [r, a]), E(() => {
|
|
1411
1411
|
e && e.usage === 0 && e.messages.length === 0 && l.current && l.current.focus();
|
|
1412
|
-
}, [e]), /* @__PURE__ */
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
) })
|
|
1442
|
-
] });
|
|
1443
|
-
}, zt = () => {
|
|
1412
|
+
}, [e]), /* @__PURE__ */ s(R, { children: /* @__PURE__ */ s("form", { className: "mt-2", onSubmit: b, children: /* @__PURE__ */ s(
|
|
1413
|
+
De,
|
|
1414
|
+
{
|
|
1415
|
+
mode: "dark",
|
|
1416
|
+
focusMode: "light",
|
|
1417
|
+
ref: l,
|
|
1418
|
+
name: "chat-input",
|
|
1419
|
+
label: Re,
|
|
1420
|
+
helperText: "Press ENTER to add a new line",
|
|
1421
|
+
helperTextOnFocus: !0,
|
|
1422
|
+
required: !0,
|
|
1423
|
+
value: o,
|
|
1424
|
+
onChange: (h) => i(h.target.value),
|
|
1425
|
+
onKeyDown: Ke([["mod+Enter", b]]),
|
|
1426
|
+
leftElement: /* @__PURE__ */ s($e, {}),
|
|
1427
|
+
rightElement: /* @__PURE__ */ s(
|
|
1428
|
+
ce,
|
|
1429
|
+
{
|
|
1430
|
+
disabled: e == null ? void 0 : e.streaming,
|
|
1431
|
+
noBorder: !0,
|
|
1432
|
+
type: "submit",
|
|
1433
|
+
mode: "light",
|
|
1434
|
+
focusMode: "light",
|
|
1435
|
+
children: Be
|
|
1436
|
+
}
|
|
1437
|
+
)
|
|
1438
|
+
}
|
|
1439
|
+
) }) });
|
|
1440
|
+
}, Ot = () => {
|
|
1444
1441
|
const { dispatch: e, state: t } = L(j), { getAccessToken: r, user: a } = O(), [o, i] = B({
|
|
1445
1442
|
loaded: !1
|
|
1446
1443
|
}), g = "mt-2 flex justify-center rounded-md", n = (l, m) => {
|
|
@@ -1496,8 +1493,8 @@ function ke({ isComponent: e = !1 }) {
|
|
|
1496
1493
|
initialValue: ""
|
|
1497
1494
|
}), [i] = Q({
|
|
1498
1495
|
key: J + Ue,
|
|
1499
|
-
initialValue:
|
|
1500
|
-
}), [g, n] = U(
|
|
1496
|
+
initialValue: He.ASC
|
|
1497
|
+
}), [g, n] = U(Xe, {
|
|
1501
1498
|
id: P(),
|
|
1502
1499
|
model: A,
|
|
1503
1500
|
engine: A,
|
|
@@ -1505,11 +1502,11 @@ function ke({ isComponent: e = !1 }) {
|
|
|
1505
1502
|
messages: [],
|
|
1506
1503
|
tags: [],
|
|
1507
1504
|
isComponent: e
|
|
1508
|
-
}), [l, m] = U(
|
|
1505
|
+
}), [l, m] = U(Ze, {
|
|
1509
1506
|
searchString: o,
|
|
1510
1507
|
sortedCell: "timestamp",
|
|
1511
1508
|
sortDirection: i
|
|
1512
|
-
}), [b, h] = U(
|
|
1509
|
+
}), [b, h] = U(et, {
|
|
1513
1510
|
tag: "",
|
|
1514
1511
|
tags: []
|
|
1515
1512
|
}), [c, u] = B({
|
|
@@ -1546,7 +1543,7 @@ function ke({ isComponent: e = !1 }) {
|
|
|
1546
1543
|
(v = document.getElementById("root")) == null || v.classList.replace("app-hidden", "fadeIn");
|
|
1547
1544
|
}, 500);
|
|
1548
1545
|
}), /* @__PURE__ */ s(H.Provider, { value: { state: g, dispatch: n, serverStats: c }, children: /* @__PURE__ */ s(
|
|
1549
|
-
|
|
1546
|
+
Ge.Provider,
|
|
1550
1547
|
{
|
|
1551
1548
|
value: {
|
|
1552
1549
|
state: l,
|
|
@@ -1557,10 +1554,10 @@ function ke({ isComponent: e = !1 }) {
|
|
|
1557
1554
|
{
|
|
1558
1555
|
value: { state: b, dispatch: h },
|
|
1559
1556
|
children: [
|
|
1560
|
-
/* @__PURE__ */ s(Oe, { className: "max-h-[calc(100svh_-_163px)]", children: /* @__PURE__ */ s(
|
|
1557
|
+
/* @__PURE__ */ s(Oe, { className: "max-h-[calc(100svh_-_163px)]", children: /* @__PURE__ */ s(Mt, {}) }),
|
|
1561
1558
|
/* @__PURE__ */ f("div", { className: "md:mx-auto md:max-w-4xl w-11/12 fixed bottom-10 left-1/2 transform -translate-x-1/2 z-1000", children: [
|
|
1562
|
-
/* @__PURE__ */ s(
|
|
1563
|
-
/* @__PURE__ */ s(
|
|
1559
|
+
/* @__PURE__ */ s(Ot, {}),
|
|
1560
|
+
/* @__PURE__ */ s(Lt, {})
|
|
1564
1561
|
] })
|
|
1565
1562
|
]
|
|
1566
1563
|
}
|
|
@@ -1569,8 +1566,8 @@ function ke({ isComponent: e = !1 }) {
|
|
|
1569
1566
|
) });
|
|
1570
1567
|
}
|
|
1571
1568
|
ke.displayName = "App";
|
|
1572
|
-
const
|
|
1569
|
+
const Gt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, default: ke }, Symbol.toStringTag, { value: "Module" }));
|
|
1573
1570
|
export {
|
|
1574
|
-
|
|
1575
|
-
|
|
1571
|
+
Gt as LazyApp,
|
|
1572
|
+
ft as ae
|
|
1576
1573
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as o, jsxs as y, Fragment as R } from "react/jsx-runtime";
|
|
2
|
-
import { g as z, R as P, CARDS as N, renderDataAsList as oe, pluralize as he, ABOUT_TITLE as Dt, DEFAULT_AI_ENGINE as te, numberFormatter as Vt, durationFormatter as Qe, NA as $t, ROLE_ASSISTANT as Ft, extractAverage as Ht, GPT4_MAX_TOKENS as Gt, un as Y, STATS as Xe, L as H, j as _, C as F, LOCAL_STORAGE_PREFIX as se, LOCAL_STORAGE_SORT as Ut, O as K, ACTION_RESET as Je, ACTION_RESTORE as jt, ACTION_SORT as Ve, LOCAL_STORAGE_SEARCH as Kt, ye as xe, ACTION_SEARCH as Wt, debounce as Yt, HISTORY_TITLE as qt, LOCAL_STORAGE_ENGINE_TOGGLE as et, ENGINE_OPENAI as Ce, ENGINE_ANTHROPIC as me, APP_NAME as Zt, ACTION_ENGINE as tt, getCurrentGeoLocation as Qt, TAGS_DESCRIPTION as Xt, ACTION_SET_TAGS as Jt, LOCAL_STORAGE_CHAT_DETAILS as er, M as tr, z as $e, PROFILE_TITLE as rr, LOG_OUT as Fe } from "./index.
|
|
3
|
-
import { AppContext as ie, serviceCall as D, SERVICE_TYPES as V, HistoryContext as rt, E as ce, ce as or, se as ar, he as Te, be as nr, oe as $, ge as sr, ne as ir, f as j, Fe as He, TagsContext as cr, NewChatButton as lr } from "./index.
|
|
2
|
+
import { g as z, R as P, CARDS as N, renderDataAsList as oe, pluralize as he, ABOUT_TITLE as Dt, DEFAULT_AI_ENGINE as te, numberFormatter as Vt, durationFormatter as Qe, NA as $t, ROLE_ASSISTANT as Ft, extractAverage as Ht, GPT4_MAX_TOKENS as Gt, un as Y, STATS as Xe, L as H, j as _, C as F, LOCAL_STORAGE_PREFIX as se, LOCAL_STORAGE_SORT as Ut, O as K, ACTION_RESET as Je, ACTION_RESTORE as jt, ACTION_SORT as Ve, LOCAL_STORAGE_SEARCH as Kt, ye as xe, ACTION_SEARCH as Wt, debounce as Yt, HISTORY_TITLE as qt, LOCAL_STORAGE_ENGINE_TOGGLE as et, ENGINE_OPENAI as Ce, ENGINE_ANTHROPIC as me, APP_NAME as Zt, ACTION_ENGINE as tt, getCurrentGeoLocation as Qt, TAGS_DESCRIPTION as Xt, ACTION_SET_TAGS as Jt, LOCAL_STORAGE_CHAT_DETAILS as er, M as tr, z as $e, PROFILE_TITLE as rr, LOG_OUT as Fe } from "./index.CSNLtEls.js";
|
|
3
|
+
import { AppContext as ie, serviceCall as D, SERVICE_TYPES as V, HistoryContext as rt, E as ce, ce as or, se as ar, he as Te, be as nr, oe as $, ge as sr, ne as ir, f as j, Fe as He, TagsContext as cr, NewChatButton as lr } from "./index.DL3JlbtG.js";
|
|
4
4
|
import * as f from "react";
|
|
5
5
|
import E, { useId as Ae, forwardRef as ot, useState as I, useRef as Z, useContext as B, useEffect as G } from "react";
|
|
6
6
|
import k from "clsx";
|
|
@@ -1775,8 +1775,8 @@ const ee = "panel", ue = "messagebox", Do = ({
|
|
|
1775
1775
|
header: N.ABOUT.TITLE_CLIENT,
|
|
1776
1776
|
className: "prose-dark dark:prose-lighter",
|
|
1777
1777
|
children: oe(n, {
|
|
1778
|
-
[N.ABOUT.VERSION]: "5.14.
|
|
1779
|
-
[N.ABOUT.BUILD_TIMESTAMP]: "
|
|
1778
|
+
[N.ABOUT.VERSION]: "5.14.1",
|
|
1779
|
+
[N.ABOUT.BUILD_TIMESTAMP]: "01/01/2025 11:42 AM EST"
|
|
1780
1780
|
})
|
|
1781
1781
|
}
|
|
1782
1782
|
) }),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as Ve, jsxs as P0, Fragment as Sa } from "react/jsx-runtime";
|
|
2
|
-
import { convert as _s, getDefaultExportFromCjs as Ss, visit as Na, find as Ns, parse as Sn, parse$1 as Nn, normalize as kn, svg as ks, html as Ts, visitParents as Ms, SKIP as As, longestStreak as Os, factorySpace as xr, markdownLineEnding as $t, Markdown as Rs, remarkGfm as Cs } from "./LazyMessageAssistant.
|
|
3
|
-
import { O as Is, L as Ds, j as Ls } from "./index.
|
|
2
|
+
import { convert as _s, getDefaultExportFromCjs as Ss, visit as Na, find as Ns, parse as Sn, parse$1 as Nn, normalize as kn, svg as ks, html as Ts, visitParents as Ms, SKIP as As, longestStreak as Os, factorySpace as xr, markdownLineEnding as $t, Markdown as Rs, remarkGfm as Cs } from "./LazyMessageAssistant.axz4vvCk.js";
|
|
3
|
+
import { O as Is, L as Ds, j as Ls } from "./index.CSNLtEls.js";
|
|
4
4
|
import Bs, { useState as zs, useEffect as Ps } from "react";
|
|
5
5
|
import Fs from "clsx";
|
|
6
6
|
const ka = ({
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { ae as at } from "./LazyApp.
|
|
3
|
-
import { AppContext as pi, E as hi } from "./index.
|
|
1
|
+
import { jsxs as Ye, jsx as re, Fragment as Jt } from "react/jsx-runtime";
|
|
2
|
+
import { ae as at } from "./LazyApp.TMfqkS0t.js";
|
|
3
|
+
import { AppContext as pi, E as hi } from "./index.DL3JlbtG.js";
|
|
4
4
|
import sn from "clsx";
|
|
5
5
|
import { lazy as mi, useContext as gi, Suspense as di } from "react";
|
|
6
|
-
import { LOCAL_STORAGE_PREFIX as yi, LOCAL_STORAGE_CHAT_DETAILS as ki, durationFormatter as xi } from "./index.
|
|
6
|
+
import { LOCAL_STORAGE_PREFIX as yi, LOCAL_STORAGE_CHAT_DETAILS as ki, durationFormatter as xi } from "./index.CSNLtEls.js";
|
|
7
7
|
/*!
|
|
8
8
|
@versini/ui-spinner v2.0.5
|
|
9
9
|
© 2024 gizmette.com
|
|
@@ -42,8 +42,8 @@ const ut = "av-spinner", bi = ({
|
|
|
42
42
|
"fill-copy-dark dark:fill-copy-accent": t === "system",
|
|
43
43
|
"fill-copy-accent dark:fill-copy-dark": t === "alt-system"
|
|
44
44
|
});
|
|
45
|
-
return /* @__PURE__ */
|
|
46
|
-
n === "dots" && /* @__PURE__ */
|
|
45
|
+
return /* @__PURE__ */ Ye("div", { ref: e, className: i, role: "status", children: [
|
|
46
|
+
n === "dots" && /* @__PURE__ */ Ye("svg", { className: "h-8 w-8", children: [
|
|
47
47
|
/* @__PURE__ */ re("circle", { className: o, cx: "6", cy: "50%", r: "3" }),
|
|
48
48
|
/* @__PURE__ */ re("circle", { className: o, cx: "50%", cy: "50%", r: "3" }),
|
|
49
49
|
/* @__PURE__ */ re("circle", { className: o, cx: "80%", cy: "50%", r: "3" })
|
|
@@ -78,7 +78,7 @@ function Ai(e) {
|
|
|
78
78
|
function ct(e) {
|
|
79
79
|
return e.replace(Ii, "") === "";
|
|
80
80
|
}
|
|
81
|
-
class
|
|
81
|
+
class Ue {
|
|
82
82
|
/**
|
|
83
83
|
* @constructor
|
|
84
84
|
* @param {Properties} property
|
|
@@ -89,15 +89,15 @@ class qe {
|
|
|
89
89
|
this.property = t, this.normal = n, r && (this.space = r);
|
|
90
90
|
}
|
|
91
91
|
}
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
92
|
+
Ue.prototype.property = {};
|
|
93
|
+
Ue.prototype.normal = {};
|
|
94
|
+
Ue.prototype.space = null;
|
|
95
95
|
function Zt(e, t) {
|
|
96
96
|
const n = {}, r = {};
|
|
97
97
|
let i = -1;
|
|
98
98
|
for (; ++i < e.length; )
|
|
99
99
|
Object.assign(n, e[i].property), Object.assign(r, e[i].normal);
|
|
100
|
-
return new
|
|
100
|
+
return new Ue(n, r, t);
|
|
101
101
|
}
|
|
102
102
|
function Pn(e) {
|
|
103
103
|
return e.toLowerCase();
|
|
@@ -163,7 +163,7 @@ function De(e) {
|
|
|
163
163
|
);
|
|
164
164
|
e.mustUseProperty && e.mustUseProperty.includes(r) && (o.mustUseProperty = !0), t[r] = o, n[Pn(r)] = r, n[Pn(o.attribute)] = r;
|
|
165
165
|
}
|
|
166
|
-
return new
|
|
166
|
+
return new Ue(t, n, e.space);
|
|
167
167
|
}
|
|
168
168
|
const nr = De({
|
|
169
169
|
space: "xlink",
|
|
@@ -1530,7 +1530,7 @@ function Ki(e, t) {
|
|
|
1530
1530
|
e.evaluater.evaluateExpression(r.expression)
|
|
1531
1531
|
);
|
|
1532
1532
|
}
|
|
1533
|
-
|
|
1533
|
+
He(e, t.position);
|
|
1534
1534
|
}
|
|
1535
1535
|
function Ji(e, t) {
|
|
1536
1536
|
if (t.data && t.data.estree && e.evaluater)
|
|
@@ -1538,7 +1538,7 @@ function Ji(e, t) {
|
|
|
1538
1538
|
/** @type {Child | undefined} */
|
|
1539
1539
|
e.evaluater.evaluateProgram(t.data.estree)
|
|
1540
1540
|
);
|
|
1541
|
-
|
|
1541
|
+
He(e, t.position);
|
|
1542
1542
|
}
|
|
1543
1543
|
function Zi(e, t, n) {
|
|
1544
1544
|
const r = e.schema;
|
|
@@ -1619,7 +1619,7 @@ function ll(e, t) {
|
|
|
1619
1619
|
e.evaluater.evaluateExpression(a.argument)
|
|
1620
1620
|
);
|
|
1621
1621
|
} else
|
|
1622
|
-
|
|
1622
|
+
He(e, t.position);
|
|
1623
1623
|
else {
|
|
1624
1624
|
const i = r.name;
|
|
1625
1625
|
let o;
|
|
@@ -1628,7 +1628,7 @@ function ll(e, t) {
|
|
|
1628
1628
|
const a = r.value.data.estree.body[0];
|
|
1629
1629
|
o = e.evaluater.evaluateExpression(a.expression);
|
|
1630
1630
|
} else
|
|
1631
|
-
|
|
1631
|
+
He(e, t.position);
|
|
1632
1632
|
else
|
|
1633
1633
|
o = r.value === null ? !0 : r.value;
|
|
1634
1634
|
n[i] = /** @type {Props[keyof Props]} */
|
|
@@ -1721,9 +1721,9 @@ function hr(e, t, n) {
|
|
|
1721
1721
|
}
|
|
1722
1722
|
if (e.evaluater)
|
|
1723
1723
|
return e.evaluater.evaluateExpression(r);
|
|
1724
|
-
|
|
1724
|
+
He(e);
|
|
1725
1725
|
}
|
|
1726
|
-
function
|
|
1726
|
+
function He(e, t) {
|
|
1727
1727
|
const n = new K(
|
|
1728
1728
|
"Cannot handle MDX estrees without `createEvaluater`",
|
|
1729
1729
|
{
|
|
@@ -2235,7 +2235,7 @@ function Tl(e, t, n) {
|
|
|
2235
2235
|
return n(p);
|
|
2236
2236
|
}
|
|
2237
2237
|
}
|
|
2238
|
-
const
|
|
2238
|
+
const qe = {
|
|
2239
2239
|
tokenize: Pl,
|
|
2240
2240
|
partial: !0
|
|
2241
2241
|
};
|
|
@@ -3021,7 +3021,7 @@ function co(e, t, n) {
|
|
|
3021
3021
|
function fo(e, t, n) {
|
|
3022
3022
|
return r;
|
|
3023
3023
|
function r(i) {
|
|
3024
|
-
return e.enter("lineEnding"), e.consume(i), e.exit("lineEnding"), e.attempt(
|
|
3024
|
+
return e.enter("lineEnding"), e.consume(i), e.exit("lineEnding"), e.attempt(qe, t, n);
|
|
3025
3025
|
}
|
|
3026
3026
|
}
|
|
3027
3027
|
const po = {
|
|
@@ -3354,7 +3354,7 @@ function Po(e, t) {
|
|
|
3354
3354
|
return e.enter("lineEnding"), e.consume(r), e.exit("lineEnding"), j(e, t, "linePrefix");
|
|
3355
3355
|
}
|
|
3356
3356
|
}
|
|
3357
|
-
const
|
|
3357
|
+
const Xe = {
|
|
3358
3358
|
name: "thematicBreak",
|
|
3359
3359
|
tokenize: Lo
|
|
3360
3360
|
};
|
|
@@ -3398,7 +3398,7 @@ function Do(e, t, n) {
|
|
|
3398
3398
|
if (r.containerState.type || (r.containerState.type = d, e.enter(d, {
|
|
3399
3399
|
_container: !0
|
|
3400
3400
|
})), d === "listUnordered")
|
|
3401
|
-
return e.enter("listItemPrefix"), p === 42 || p === 45 ? e.check(
|
|
3401
|
+
return e.enter("listItemPrefix"), p === 42 || p === 45 ? e.check(Xe, n, u)(p) : u(p);
|
|
3402
3402
|
if (!r.interrupt || p === 49)
|
|
3403
3403
|
return e.enter("listItemPrefix"), e.enter("listItemValue"), s(p);
|
|
3404
3404
|
}
|
|
@@ -3409,7 +3409,7 @@ function Do(e, t, n) {
|
|
|
3409
3409
|
}
|
|
3410
3410
|
function u(p) {
|
|
3411
3411
|
return e.enter("listItemMarker"), e.consume(p), e.exit("listItemMarker"), r.containerState.marker = r.containerState.marker || p, e.check(
|
|
3412
|
-
|
|
3412
|
+
qe,
|
|
3413
3413
|
// Can’t be empty when interrupting.
|
|
3414
3414
|
r.interrupt ? n : f,
|
|
3415
3415
|
e.attempt(
|
|
@@ -3431,7 +3431,7 @@ function Do(e, t, n) {
|
|
|
3431
3431
|
}
|
|
3432
3432
|
function Oo(e, t, n) {
|
|
3433
3433
|
const r = this;
|
|
3434
|
-
return r.containerState._closeFlow = void 0, e.check(
|
|
3434
|
+
return r.containerState._closeFlow = void 0, e.check(qe, i, o);
|
|
3435
3435
|
function i(a) {
|
|
3436
3436
|
return r.containerState.furtherBlankLines = r.containerState.furtherBlankLines || r.containerState.initialBlankLine, j(
|
|
3437
3437
|
e,
|
|
@@ -3533,7 +3533,7 @@ const Bo = {
|
|
|
3533
3533
|
function jo(e) {
|
|
3534
3534
|
const t = this, n = e.attempt(
|
|
3535
3535
|
// Try to parse a blank line.
|
|
3536
|
-
|
|
3536
|
+
qe,
|
|
3537
3537
|
r,
|
|
3538
3538
|
// Try to parse initial flow (essentially, only code).
|
|
3539
3539
|
e.attempt(
|
|
@@ -3894,11 +3894,11 @@ const Go = {
|
|
|
3894
3894
|
32: hn
|
|
3895
3895
|
}, Ko = {
|
|
3896
3896
|
35: no,
|
|
3897
|
-
42:
|
|
3898
|
-
45: [At,
|
|
3897
|
+
42: Xe,
|
|
3898
|
+
45: [At, Xe],
|
|
3899
3899
|
60: lo,
|
|
3900
3900
|
61: At,
|
|
3901
|
-
95:
|
|
3901
|
+
95: Xe,
|
|
3902
3902
|
96: Et,
|
|
3903
3903
|
126: Et
|
|
3904
3904
|
}, Jo = {
|
|
@@ -4952,12 +4952,12 @@ const Ba = {
|
|
|
4952
4952
|
tableRow: Fa,
|
|
4953
4953
|
text: Ma,
|
|
4954
4954
|
thematicBreak: Na,
|
|
4955
|
-
toml:
|
|
4956
|
-
yaml:
|
|
4957
|
-
definition:
|
|
4958
|
-
footnoteDefinition:
|
|
4955
|
+
toml: Ve,
|
|
4956
|
+
yaml: Ve,
|
|
4957
|
+
definition: Ve,
|
|
4958
|
+
footnoteDefinition: Ve
|
|
4959
4959
|
};
|
|
4960
|
-
function
|
|
4960
|
+
function Ve() {
|
|
4961
4961
|
}
|
|
4962
4962
|
const zr = -1, ln = 0, Ze = 1, en = 2, Qn = 3, Gn = 4, Xn = 5, Yn = 6, vr = 7, Dr = 8, Dt = typeof self == "object" ? self : globalThis, ja = (e, t) => {
|
|
4963
4963
|
const n = (i, o) => (e.set(o, i), i), r = (i) => {
|
|
@@ -5030,7 +5030,7 @@ const zr = -1, ln = 0, Ze = 1, en = 2, Qn = 3, Gn = 4, Xn = 5, Yn = 6, vr = 7, D
|
|
|
5030
5030
|
return [Yn, Le];
|
|
5031
5031
|
}
|
|
5032
5032
|
return n.includes("Array") ? [Ze, n] : n.includes("Error") ? [vr, n] : [en, n];
|
|
5033
|
-
},
|
|
5033
|
+
}, We = ([e, t]) => e === ln && (t === "function" || t === "symbol"), qa = (e, t, n, r) => {
|
|
5034
5034
|
const i = (l, a) => {
|
|
5035
5035
|
const s = r.push(l) - 1;
|
|
5036
5036
|
return n.set(a, s), s;
|
|
@@ -5078,7 +5078,7 @@ const zr = -1, ln = 0, Ze = 1, en = 2, Qn = 3, Gn = 4, Xn = 5, Yn = 6, vr = 7, D
|
|
|
5078
5078
|
return o(l.toJSON());
|
|
5079
5079
|
const f = [], c = i([a, f], l);
|
|
5080
5080
|
for (const h of Ua(l))
|
|
5081
|
-
(e || !
|
|
5081
|
+
(e || !We(Ne(l[h]))) && f.push([o(h), o(l[h])]);
|
|
5082
5082
|
return c;
|
|
5083
5083
|
}
|
|
5084
5084
|
case Qn:
|
|
@@ -5090,13 +5090,13 @@ const zr = -1, ln = 0, Ze = 1, en = 2, Qn = 3, Gn = 4, Xn = 5, Yn = 6, vr = 7, D
|
|
|
5090
5090
|
case Xn: {
|
|
5091
5091
|
const f = [], c = i([a, f], l);
|
|
5092
5092
|
for (const [h, p] of l)
|
|
5093
|
-
(e || !(
|
|
5093
|
+
(e || !(We(Ne(h)) || We(Ne(p)))) && f.push([o(h), o(p)]);
|
|
5094
5094
|
return c;
|
|
5095
5095
|
}
|
|
5096
5096
|
case Yn: {
|
|
5097
5097
|
const f = [], c = i([a, f], l);
|
|
5098
5098
|
for (const h of l)
|
|
5099
|
-
(e || !
|
|
5099
|
+
(e || !We(Ne(h))) && f.push(o(h));
|
|
5100
5100
|
return c;
|
|
5101
5101
|
}
|
|
5102
5102
|
}
|
|
@@ -5556,7 +5556,7 @@ const fe = { basename: pu, dirname: hu, extname: mu, join: gu, sep: "/" };
|
|
|
5556
5556
|
function pu(e, t) {
|
|
5557
5557
|
if (t !== void 0 && typeof t != "string")
|
|
5558
5558
|
throw new TypeError('"ext" argument must be a string');
|
|
5559
|
-
|
|
5559
|
+
$e(e);
|
|
5560
5560
|
let n = 0, r = -1, i = e.length, o;
|
|
5561
5561
|
if (t === void 0 || t.length === 0 || t.length > e.length) {
|
|
5562
5562
|
for (; i--; )
|
|
@@ -5582,7 +5582,7 @@ function pu(e, t) {
|
|
|
5582
5582
|
return n === r ? r = l : r < 0 && (r = e.length), e.slice(n, r);
|
|
5583
5583
|
}
|
|
5584
5584
|
function hu(e) {
|
|
5585
|
-
if (
|
|
5585
|
+
if ($e(e), e.length === 0)
|
|
5586
5586
|
return ".";
|
|
5587
5587
|
let t = -1, n = e.length, r;
|
|
5588
5588
|
for (; --n; )
|
|
@@ -5595,7 +5595,7 @@ function hu(e) {
|
|
|
5595
5595
|
return t < 0 ? e.codePointAt(0) === 47 ? "/" : "." : t === 1 && e.codePointAt(0) === 47 ? "//" : e.slice(0, t);
|
|
5596
5596
|
}
|
|
5597
5597
|
function mu(e) {
|
|
5598
|
-
|
|
5598
|
+
$e(e);
|
|
5599
5599
|
let t = e.length, n = -1, r = 0, i = -1, o = 0, l;
|
|
5600
5600
|
for (; t--; ) {
|
|
5601
5601
|
const a = e.codePointAt(t);
|
|
@@ -5615,11 +5615,11 @@ function mu(e) {
|
|
|
5615
5615
|
function gu(...e) {
|
|
5616
5616
|
let t = -1, n;
|
|
5617
5617
|
for (; ++t < e.length; )
|
|
5618
|
-
|
|
5618
|
+
$e(e[t]), e[t] && (n = n === void 0 ? e[t] : n + "/" + e[t]);
|
|
5619
5619
|
return n === void 0 ? "." : du(n);
|
|
5620
5620
|
}
|
|
5621
5621
|
function du(e) {
|
|
5622
|
-
|
|
5622
|
+
$e(e);
|
|
5623
5623
|
const t = e.codePointAt(0) === 47;
|
|
5624
5624
|
let n = yu(e, !t);
|
|
5625
5625
|
return n.length === 0 && !t && (n = "."), n.length > 0 && e.codePointAt(e.length - 1) === 47 && (n += "/"), t ? "/" + n : n;
|
|
@@ -5655,7 +5655,7 @@ function yu(e, t) {
|
|
|
5655
5655
|
}
|
|
5656
5656
|
return n;
|
|
5657
5657
|
}
|
|
5658
|
-
function
|
|
5658
|
+
function $e(e) {
|
|
5659
5659
|
if (typeof e != "string")
|
|
5660
5660
|
throw new TypeError(
|
|
5661
5661
|
"Path must be a string. Received " + JSON.stringify(e)
|
|
@@ -6274,7 +6274,7 @@ class Jn extends Cu {
|
|
|
6274
6274
|
*/
|
|
6275
6275
|
parse(t) {
|
|
6276
6276
|
this.freeze();
|
|
6277
|
-
const n =
|
|
6277
|
+
const n = Qe(t), r = this.parser || this.Parser;
|
|
6278
6278
|
return bn("parse", r), r(String(n), n);
|
|
6279
6279
|
}
|
|
6280
6280
|
/**
|
|
@@ -6323,7 +6323,7 @@ class Jn extends Cu {
|
|
|
6323
6323
|
const r = this;
|
|
6324
6324
|
return this.freeze(), bn("process", this.parser || this.Parser), wn("process", this.compiler || this.Compiler), n ? i(void 0, n) : new Promise(i);
|
|
6325
6325
|
function i(o, l) {
|
|
6326
|
-
const a =
|
|
6326
|
+
const a = Qe(t), s = (
|
|
6327
6327
|
/** @type {HeadTree extends undefined ? Node : HeadTree} */
|
|
6328
6328
|
/** @type {unknown} */
|
|
6329
6329
|
r.parse(a)
|
|
@@ -6428,7 +6428,7 @@ class Jn extends Cu {
|
|
|
6428
6428
|
const i = this.transformers;
|
|
6429
6429
|
return !r && typeof n == "function" && (r = n, n = void 0), r ? o(void 0, r) : new Promise(o);
|
|
6430
6430
|
function o(l, a) {
|
|
6431
|
-
const s =
|
|
6431
|
+
const s = Qe(n);
|
|
6432
6432
|
i.run(t, s, u);
|
|
6433
6433
|
function u(f, c, h) {
|
|
6434
6434
|
const p = (
|
|
@@ -6494,7 +6494,7 @@ class Jn extends Cu {
|
|
|
6494
6494
|
*/
|
|
6495
6495
|
stringify(t, n) {
|
|
6496
6496
|
this.freeze();
|
|
6497
|
-
const r =
|
|
6497
|
+
const r = Qe(n), i = this.compiler || this.Compiler;
|
|
6498
6498
|
return wn("stringify", i), jt(t), i(t, r);
|
|
6499
6499
|
}
|
|
6500
6500
|
/**
|
|
@@ -6637,7 +6637,7 @@ function Ht(e, t, n) {
|
|
|
6637
6637
|
"`" + e + "` finished async. Use `" + t + "` instead"
|
|
6638
6638
|
);
|
|
6639
6639
|
}
|
|
6640
|
-
function
|
|
6640
|
+
function Qe(e) {
|
|
6641
6641
|
return Au(e) ? e : new Rr(e);
|
|
6642
6642
|
}
|
|
6643
6643
|
function Au(e) {
|
|
@@ -6703,7 +6703,7 @@ function vu(e) {
|
|
|
6703
6703
|
components: o,
|
|
6704
6704
|
ignoreInvalidStyle: !0,
|
|
6705
6705
|
jsx: re,
|
|
6706
|
-
jsxs:
|
|
6706
|
+
jsxs: Ye,
|
|
6707
6707
|
passKeys: !0,
|
|
6708
6708
|
passNode: !0
|
|
6709
6709
|
});
|
|
@@ -8242,7 +8242,7 @@ function Ic(e, t, n) {
|
|
|
8242
8242
|
}
|
|
8243
8243
|
}
|
|
8244
8244
|
function Ac(e, t, n) {
|
|
8245
|
-
return e.check(
|
|
8245
|
+
return e.check(qe, t, e.attempt(bc, t, n));
|
|
8246
8246
|
}
|
|
8247
8247
|
function Tc(e) {
|
|
8248
8248
|
e.exit("gfmFootnoteDefinition");
|
|
@@ -8526,28 +8526,28 @@ function Rc(e, t) {
|
|
|
8526
8526
|
start: Object.assign({}, d.start),
|
|
8527
8527
|
// Note: correct end is set later.
|
|
8528
8528
|
end: Object.assign({}, d.end)
|
|
8529
|
-
}, h.add(n, 0, [["enter", f, t]])), i = d.type === "tableDelimiterRow" ? 2 : f ? 3 : 1) : i && (d.type === "data" || d.type === "tableDelimiterMarker" || d.type === "tableDelimiterFiller") ? (r = !1, l[2] === 0 && (o[1] !== 0 && (l[0] = l[1], c =
|
|
8529
|
+
}, h.add(n, 0, [["enter", f, t]])), i = d.type === "tableDelimiterRow" ? 2 : f ? 3 : 1) : i && (d.type === "data" || d.type === "tableDelimiterMarker" || d.type === "tableDelimiterFiller") ? (r = !1, l[2] === 0 && (o[1] !== 0 && (l[0] = l[1], c = Ge(
|
|
8530
8530
|
h,
|
|
8531
8531
|
t,
|
|
8532
8532
|
o,
|
|
8533
8533
|
i,
|
|
8534
8534
|
void 0,
|
|
8535
8535
|
c
|
|
8536
|
-
), o = [0, 0, 0, 0]), l[2] = n)) : d.type === "tableCellDivider" && (r ? r = !1 : (o[1] !== 0 && (l[0] = l[1], c =
|
|
8536
|
+
), o = [0, 0, 0, 0]), l[2] = n)) : d.type === "tableCellDivider" && (r ? r = !1 : (o[1] !== 0 && (l[0] = l[1], c = Ge(
|
|
8537
8537
|
h,
|
|
8538
8538
|
t,
|
|
8539
8539
|
o,
|
|
8540
8540
|
i,
|
|
8541
8541
|
void 0,
|
|
8542
8542
|
c
|
|
8543
|
-
)), o = l, l = [o[1], n, 0, 0])) : d.type === "tableHead" ? (a = !0, s = n) : d.type === "tableRow" || d.type === "tableDelimiterRow" ? (s = n, o[1] !== 0 ? (l[0] = l[1], c =
|
|
8543
|
+
)), o = l, l = [o[1], n, 0, 0])) : d.type === "tableHead" ? (a = !0, s = n) : d.type === "tableRow" || d.type === "tableDelimiterRow" ? (s = n, o[1] !== 0 ? (l[0] = l[1], c = Ge(
|
|
8544
8544
|
h,
|
|
8545
8545
|
t,
|
|
8546
8546
|
o,
|
|
8547
8547
|
i,
|
|
8548
8548
|
n,
|
|
8549
8549
|
c
|
|
8550
|
-
)) : l[1] !== 0 && (c =
|
|
8550
|
+
)) : l[1] !== 0 && (c = Ge(h, t, l, i, n, c)), i = 0) : i && (d.type === "data" || d.type === "tableDelimiterMarker" || d.type === "tableDelimiterFiller") && (l[3] = n);
|
|
8551
8551
|
}
|
|
8552
8552
|
for (s !== 0 && Yt(h, t, s, u, f), h.consume(t.events), n = -1; ++n < t.events.length; ) {
|
|
8553
8553
|
const p = t.events[n];
|
|
@@ -8555,7 +8555,7 @@ function Rc(e, t) {
|
|
|
8555
8555
|
}
|
|
8556
8556
|
return e;
|
|
8557
8557
|
}
|
|
8558
|
-
function
|
|
8558
|
+
function Ge(e, t, n, r, i, o) {
|
|
8559
8559
|
const l = r === 1 ? "tableHeader" : r === 2 ? "tableDelimiter" : "tableData", a = "tableContent";
|
|
8560
8560
|
n[0] !== 0 && (o.end = Object.assign({}, ze(t.events, n[0])), e.add(n[0], 0, [["exit", o, t]]));
|
|
8561
8561
|
const s = ze(t.events, n[1]);
|
|
@@ -8652,7 +8652,7 @@ function Uc(e) {
|
|
|
8652
8652
|
const qc = mi(
|
|
8653
8653
|
() => import(
|
|
8654
8654
|
/* webpackChunkName: "LazyMarkdownWithExtra" */
|
|
8655
|
-
"./LazyMarkdownWithExtra.
|
|
8655
|
+
"./LazyMarkdownWithExtra.DbNrgEec.js"
|
|
8656
8656
|
)
|
|
8657
8657
|
), Tn = {
|
|
8658
8658
|
MODEL: "Model",
|
|
@@ -8667,26 +8667,23 @@ const qc = mi(
|
|
|
8667
8667
|
const { state: i } = gi(pi), [o] = hi({
|
|
8668
8668
|
key: yi + ki,
|
|
8669
8669
|
initialValue: !1
|
|
8670
|
-
})
|
|
8671
|
-
|
|
8672
|
-
|
|
8673
|
-
|
|
8674
|
-
|
|
8675
|
-
|
|
8676
|
-
|
|
8677
|
-
|
|
8678
|
-
|
|
8679
|
-
|
|
8680
|
-
|
|
8681
|
-
|
|
8682
|
-
},
|
|
8683
|
-
children:
|
|
8684
|
-
|
|
8685
|
-
|
|
8686
|
-
|
|
8687
|
-
}
|
|
8688
|
-
)
|
|
8689
|
-
] });
|
|
8670
|
+
}), l = {
|
|
8671
|
+
[Tn.MODEL]: i && i.model && o ? i.model : null,
|
|
8672
|
+
[Tn.PLUGIN]: t && o ? t : null,
|
|
8673
|
+
[Tn.PROCESSING_TIME]: r && o ? xi(r) : null
|
|
8674
|
+
};
|
|
8675
|
+
return /* @__PURE__ */ re(Jt, { children: n ? /* @__PURE__ */ re(at, { children: /* @__PURE__ */ re(bi, { type: "dots" }) }) : /* @__PURE__ */ Ye(
|
|
8676
|
+
at,
|
|
8677
|
+
{
|
|
8678
|
+
copyToClipboard: e,
|
|
8679
|
+
copyToClipboardFocusMode: "light",
|
|
8680
|
+
footer: l,
|
|
8681
|
+
children: [
|
|
8682
|
+
e && (e.includes("$$") || e.includes("```")) && /* @__PURE__ */ re(di, { fallback: /* @__PURE__ */ re("div", {}), children: /* @__PURE__ */ re(qc, { content: e }) }),
|
|
8683
|
+
e && !e.includes("$$") && !e.includes("```") && /* @__PURE__ */ re(vu, { remarkPlugins: [Uc], children: e })
|
|
8684
|
+
]
|
|
8685
|
+
}
|
|
8686
|
+
) });
|
|
8690
8687
|
}, Jc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, MessageAssistant: Kt, default: Kt }, Symbol.toStringTag, { value: "Module" }));
|
|
8691
8688
|
export {
|
|
8692
8689
|
Jc as LazyMessageAssistant,
|
|
@@ -2071,7 +2071,7 @@ const Do = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
|
|
|
2071
2071
|
secondsDecimalDigits: 2,
|
|
2072
2072
|
unitCount: 2
|
|
2073
2073
|
}) : "N/A", Fa = (e) => g(
|
|
2074
|
-
"flex-1
|
|
2074
|
+
"flex-1 overflow-y-auto rounded-md bg-slate-900 px-4 pb-10 text-base leading-6 text-slate-300 shadow-sm sm:text-base sm:leading-7",
|
|
2075
2075
|
e || Xt ? "pt-0" : "pt-10"
|
|
2076
2076
|
), Mo = (e, t) => t === 1 ? e : `${e}s`, Uo = (e, t) => {
|
|
2077
2077
|
let r;
|
|
@@ -3543,7 +3543,7 @@ const $n = "ASK! ME! ANYTHING!", Mn = "LeeLou", Un = "Log in", Kn = "Sign in wit
|
|
|
3543
3543
|
}, Wn = St(
|
|
3544
3544
|
() => import(
|
|
3545
3545
|
/* webpackChunkName: "LazyHeader" */
|
|
3546
|
-
"./LazyHeader.
|
|
3546
|
+
"./LazyHeader.ujJ_wqZx.js"
|
|
3547
3547
|
)
|
|
3548
3548
|
), Gn = () => {
|
|
3549
3549
|
const { isAuthenticated: e } = Ze();
|
|
@@ -3652,7 +3652,7 @@ const $n = "ASK! ME! ANYTHING!", Mn = "LeeLou", Un = "Log in", Kn = "Sign in wit
|
|
|
3652
3652
|
}, Jn = new URL(document.location.href).searchParams, Vn = !!Jn.get("debug") || !1, Yn = St(
|
|
3653
3653
|
() => import(
|
|
3654
3654
|
/* webpackChunkName: "LazyApp" */
|
|
3655
|
-
"./LazyApp.
|
|
3655
|
+
"./LazyApp.TMfqkS0t.js"
|
|
3656
3656
|
).then((e) => e.LazyApp)
|
|
3657
3657
|
), zn = ({ isComponent: e }) => {
|
|
3658
3658
|
const { isAuthenticated: t } = Ze();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import C, { useSyncExternalStore as He, useCallback as P, useEffect as R, useContext as B, useRef as f, useState as $, useLayoutEffect as L, useMemo as me, useId as ze, useReducer as Le } from "react";
|
|
2
2
|
import { jsxs as N, jsx as c, Fragment as Ve } from "react/jsx-runtime";
|
|
3
|
-
import { g as ge, DEFAULT_AI_ENGINE as X, O as Oe, ACTION_RESET as Me } from "./index.
|
|
3
|
+
import { g as ge, DEFAULT_AI_ENGINE as X, O as Oe, ACTION_RESET as Me } from "./index.CSNLtEls.js";
|
|
4
4
|
import l from "clsx";
|
|
5
5
|
const Ue = ({
|
|
6
6
|
className: e,
|
|
@@ -1615,7 +1615,6 @@ export {
|
|
|
1615
1615
|
F as f,
|
|
1616
1616
|
Jt as ge,
|
|
1617
1617
|
Qt as he,
|
|
1618
|
-
Fe as m,
|
|
1619
1618
|
qt as ne,
|
|
1620
1619
|
ut as oe,
|
|
1621
1620
|
Ft as restCall,
|
package/dist/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { SassySaint as r } from "./chunks/index.
|
|
1
|
+
import { SassySaint as r } from "./chunks/index.CSNLtEls.js";
|
|
2
2
|
/*!
|
|
3
|
-
@sassysaint/client v5.14.
|
|
3
|
+
@sassysaint/client v5.14.1
|
|
4
4
|
© 2025 gizmette.com
|
|
5
5
|
*/
|
|
6
6
|
try {
|
|
7
7
|
window.__VERSINI_SASSY_GLOBAL__ || (window.__VERSINI_SASSY_GLOBAL__ = {
|
|
8
|
-
version: "5.14.
|
|
9
|
-
buildTime: "
|
|
8
|
+
version: "5.14.1",
|
|
9
|
+
buildTime: "01/01/2025 11:42 AM EST",
|
|
10
10
|
license: "MIT"
|
|
11
11
|
});
|
|
12
12
|
} catch {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@versini/sassysaint",
|
|
3
|
-
"version": "5.5.
|
|
3
|
+
"version": "5.5.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Arno Versini",
|
|
6
6
|
"publishConfig": {
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"react-dom": "^18.3.1 || ^19.0.0"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@sassysaint/client": "5.14.
|
|
33
|
+
"@sassysaint/client": "5.14.1",
|
|
34
34
|
"@versini/ui-styles": "2.1.0"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
"sideEffects": [
|
|
42
42
|
"**/*.css"
|
|
43
43
|
],
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "bbd45129120a19be54e629f525a23d49fbf79594"
|
|
45
45
|
}
|