@versini/sassysaint 5.4.15 → 5.5.0
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.CmWxSgb_.js → LazyApp.kPg_JpHE.js} +492 -470
- package/dist/chunks/{LazyHeader.CmyI3orp.js → LazyHeader.C5vQHuXo.js} +167 -141
- package/dist/chunks/{LazyMarkdownWithExtra.bTU0zWSE.js → LazyMarkdownWithExtra.DUBrzBhM.js} +2 -2
- package/dist/chunks/{LazyMessageAssistant.BkIqe55j.js → LazyMessageAssistant.CJ_QpOdB.js} +4 -4
- package/dist/chunks/{index.Dn9p043U.js → index.CqSoo2Fx.js} +443 -429
- package/dist/chunks/{index.D8QVMbN9.js → index.UHRCFkiB.js} +54 -62
- package/dist/components/SassySaint/SassySaint.js +1 -1
- package/dist/index.js +4 -4
- package/package.json +4 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as l, jsxs as N, Fragment as fe } from "react/jsx-runtime";
|
|
2
|
-
import z, { createContext as sr, useReducer as wt, useRef as
|
|
2
|
+
import z, { createContext as sr, useReducer as wt, useRef as $, useCallback as q, useEffect as Q, useContext as Tt, useSyncExternalStore as ir, useId as It, useState as j, useLayoutEffect as nt, useMemo as kt, lazy as St, Suspense as _t } from "react";
|
|
3
3
|
import g from "clsx";
|
|
4
4
|
var cr = Object.defineProperty, lr = (e, t, r) => t in e ? cr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ue = (e, t, r) => lr(e, typeof t != "symbol" ? t + "" : t, r);
|
|
5
5
|
/*!
|
|
@@ -559,7 +559,7 @@ const ot = (e, ...t) => Dt("Key must be ", e, ...t);
|
|
|
559
559
|
function Lt(e, t, ...r) {
|
|
560
560
|
return Dt(`Key for the ${e} algorithm must be `, t, ...r);
|
|
561
561
|
}
|
|
562
|
-
const
|
|
562
|
+
const $t = (e) => Ct(e) ? !0 : (e == null ? void 0 : e[Symbol.toStringTag]) === "KeyObject", Ne = ["CryptoKey"], xr = (...e) => {
|
|
563
563
|
const t = e.filter(Boolean);
|
|
564
564
|
if (t.length === 0 || t.length === 1)
|
|
565
565
|
return !0;
|
|
@@ -610,7 +610,7 @@ function Dr(e) {
|
|
|
610
610
|
function Lr(e) {
|
|
611
611
|
return me(e) && e.kty === "oct" && typeof e.k == "string";
|
|
612
612
|
}
|
|
613
|
-
function
|
|
613
|
+
function $r(e) {
|
|
614
614
|
let t, r;
|
|
615
615
|
switch (e.kty) {
|
|
616
616
|
case "RSA": {
|
|
@@ -682,10 +682,10 @@ function Mr(e) {
|
|
|
682
682
|
}
|
|
683
683
|
return { algorithm: t, keyUsages: r };
|
|
684
684
|
}
|
|
685
|
-
const
|
|
685
|
+
const Mt = async (e) => {
|
|
686
686
|
if (!e.alg)
|
|
687
687
|
throw new TypeError('"alg" argument is required when "jwk.alg" is not present');
|
|
688
|
-
const { algorithm: t, keyUsages: r } =
|
|
688
|
+
const { algorithm: t, keyUsages: r } = $r(e), a = [
|
|
689
689
|
t,
|
|
690
690
|
e.ext ?? !1,
|
|
691
691
|
e.key_ops ?? r
|
|
@@ -697,9 +697,9 @@ const Kt = (e) => (e == null ? void 0 : e[Symbol.toStringTag]) === "KeyObject",
|
|
|
697
697
|
let o = e.get(t);
|
|
698
698
|
if (o != null && o[a])
|
|
699
699
|
return o[a];
|
|
700
|
-
const s = await
|
|
700
|
+
const s = await Mt({ ...r, alg: a });
|
|
701
701
|
return n && Object.freeze(t), o ? o[a] = s : e.set(t, { [a]: s }), s;
|
|
702
|
-
},
|
|
702
|
+
}, Mr = (e, t) => {
|
|
703
703
|
if (Kt(e)) {
|
|
704
704
|
let r = e.export({ format: "jwk" });
|
|
705
705
|
return delete r.d, delete r.dp, delete r.dq, delete r.p, delete r.q, delete r.qi, r.k ? Ut(r.k) : (ne || (ne = /* @__PURE__ */ new WeakMap()), xe(ne, e, r, t));
|
|
@@ -711,7 +711,7 @@ const Kt = (e) => (e == null ? void 0 : e[Symbol.toStringTag]) === "KeyObject",
|
|
|
711
711
|
return r.k ? Ut(r.k) : (ae || (ae = /* @__PURE__ */ new WeakMap()), xe(ae, e, r, t));
|
|
712
712
|
}
|
|
713
713
|
return me(e) ? e.k ? X(e.k) : (ae || (ae = /* @__PURE__ */ new WeakMap()), xe(ae, e, e, t, !0)) : e;
|
|
714
|
-
}, Kr = { normalizePublicKey:
|
|
714
|
+
}, Kr = { normalizePublicKey: Mr, normalizePrivateKey: Ur }, F = (e, t, r = 0) => {
|
|
715
715
|
r === 0 && (t.unshift(t.length), t.unshift(6));
|
|
716
716
|
const a = e.indexOf(t[0], r);
|
|
717
717
|
if (a === -1)
|
|
@@ -803,7 +803,7 @@ async function Br(e, t) {
|
|
|
803
803
|
throw new L('RSA JWK "oth" (Other Primes Info) Parameter value is not supported');
|
|
804
804
|
case "EC":
|
|
805
805
|
case "OKP":
|
|
806
|
-
return
|
|
806
|
+
return Mt({ ...e, alg: t });
|
|
807
807
|
default:
|
|
808
808
|
throw new L('Unsupported "kty" (Key Type) Parameter value');
|
|
809
809
|
}
|
|
@@ -824,7 +824,7 @@ const de = (e) => e == null ? void 0 : e[Symbol.toStringTag], Fe = (e, t, r) =>
|
|
|
824
824
|
return;
|
|
825
825
|
throw new TypeError('JSON Web Key for symmetric algorithms must have JWK "kty" (Key Type) equal to "oct" and the JWK "k" (Key Value) present');
|
|
826
826
|
}
|
|
827
|
-
if (
|
|
827
|
+
if (!$t(t))
|
|
828
828
|
throw new TypeError(Lt(e, t, ...Ne, "Uint8Array", a ? "JSON Web Key" : null));
|
|
829
829
|
if (t.type !== "secret")
|
|
830
830
|
throw new TypeError(`${de(t)} instances for symmetric algorithms must be of type "secret"`);
|
|
@@ -841,7 +841,7 @@ const de = (e) => e == null ? void 0 : e[Symbol.toStringTag], Fe = (e, t, r) =>
|
|
|
841
841
|
return;
|
|
842
842
|
throw new TypeError("JSON Web Key for this operation be a public JWK");
|
|
843
843
|
}
|
|
844
|
-
if (
|
|
844
|
+
if (!$t(t))
|
|
845
845
|
throw new TypeError(Lt(e, t, ...Ne, a ? "JSON Web Key" : null));
|
|
846
846
|
if (t.type === "secret")
|
|
847
847
|
throw new TypeError(`${de(t)} instances for asymmetric algorithms must not be of type "secret"`);
|
|
@@ -1657,7 +1657,7 @@ const Pa = (e) => q(
|
|
|
1657
1657
|
user: void 0,
|
|
1658
1658
|
authenticationType: "",
|
|
1659
1659
|
logoutReason: t.payload.logoutReason
|
|
1660
|
-
} : e,
|
|
1660
|
+
} : e, $a = ({
|
|
1661
1661
|
children: e,
|
|
1662
1662
|
sessionExpiration: t,
|
|
1663
1663
|
clientId: r,
|
|
@@ -1667,7 +1667,7 @@ const Pa = (e) => q(
|
|
|
1667
1667
|
const [o, s] = wt(La, {
|
|
1668
1668
|
...jt,
|
|
1669
1669
|
debug: n
|
|
1670
|
-
}), i = Pa(n), d =
|
|
1670
|
+
}), i = Pa(n), d = $(!1), [m, p, , u] = Ie({
|
|
1671
1671
|
key: `${ke}::${r}::@@user@@`
|
|
1672
1672
|
}), [c, h, , f] = Ie({
|
|
1673
1673
|
key: `${ke}::${r}::@@access@@`
|
|
@@ -1675,7 +1675,7 @@ const Pa = (e) => q(
|
|
|
1675
1675
|
{
|
|
1676
1676
|
key: `${ke}::${r}::@@refresh@@`
|
|
1677
1677
|
}
|
|
1678
|
-
), [
|
|
1678
|
+
), [M, U, , K] = Ie({
|
|
1679
1679
|
key: `${ke}::${r}::@@nonce@@`
|
|
1680
1680
|
}), O = new Oa(c, E), H = q(() => {
|
|
1681
1681
|
i("removeLocalStorage: removing local storage"), u(), f(), I(), K();
|
|
@@ -1789,7 +1789,7 @@ const Pa = (e) => q(
|
|
|
1789
1789
|
const b = await O.refreshtoken({
|
|
1790
1790
|
clientId: r,
|
|
1791
1791
|
userId: T.userId,
|
|
1792
|
-
nonce:
|
|
1792
|
+
nonce: M,
|
|
1793
1793
|
domain: a
|
|
1794
1794
|
});
|
|
1795
1795
|
return b.status && b.status === "success" && b.newAccessToken ? (h(b.newAccessToken), w(b.newRefreshToken), b.newAccessToken) : (i(
|
|
@@ -1917,7 +1917,7 @@ const Pa = (e) => q(
|
|
|
1917
1917
|
children: e
|
|
1918
1918
|
}
|
|
1919
1919
|
) });
|
|
1920
|
-
}, Ze = (e = qt) => Tt(e), ao = "user", no = "assistant", oo = "system", so = "internal", io = "hidden", co = "I'm having trouble right now. Please try again later.", lo = "OpenAI", uo = "OpenAI", ho = "Anthropic", mo = 128e3, po = "action-message", go = "action-reset", yo = "action-model", fo = "action-restore", bo = "action-streaming", Eo = "action-engine", wo = "action-search", To = "action-sort", Io = "action-toggle-tag", ko = "action-reset-tags", So = "action-set-tags", _o = "sassy-saint-", Ao = "details", vo = "search", Ro = "sort", No = "engine-toggle", xo = "==stats==",
|
|
1920
|
+
}, Ze = (e = qt) => Tt(e), ao = "user", no = "assistant", oo = "system", so = "internal", io = "hidden", co = "I'm having trouble right now. Please try again later.", lo = "OpenAI", uo = "OpenAI", ho = "Anthropic", mo = 128e3, po = "action-message", go = "action-reset", yo = "action-model", fo = "action-restore", bo = "action-streaming", Eo = "action-engine", wo = "action-search", To = "action-sort", Io = "action-toggle-tag", ko = "action-reset-tags", So = "action-set-tags", _o = "sassy-saint-", Ao = "details", vo = "search", Ro = "sort", No = "engine-toggle", xo = "==stats==", Ma = "b44c68f0-e5b3-4a1d-a3e3-df8632b0223b", yt = (e) => Number.isFinite(e) ? e : 0;
|
|
1921
1921
|
function Ua(e) {
|
|
1922
1922
|
return {
|
|
1923
1923
|
days: Math.trunc(e / 864e5),
|
|
@@ -2067,13 +2067,13 @@ const Do = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
|
|
|
2067
2067
|
signDisplay: "never",
|
|
2068
2068
|
minimumFractionDigits: 0,
|
|
2069
2069
|
maximumFractionDigits: 0
|
|
2070
|
-
}),
|
|
2070
|
+
}), $o = (e) => e > 0 ? Va(e, {
|
|
2071
2071
|
secondsDecimalDigits: 2,
|
|
2072
2072
|
unitCount: 2
|
|
2073
2073
|
}) : "N/A", Fa = (e) => g(
|
|
2074
2074
|
"flex-1 space-y-6 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-4" : "pt-10"
|
|
2076
|
-
),
|
|
2076
|
+
), Mo = (e, t) => t === 1 ? e : `${e}s`, Uo = (e, t) => {
|
|
2077
2077
|
let r;
|
|
2078
2078
|
return (...a) => {
|
|
2079
2079
|
window.clearTimeout(r), r = window.setTimeout(() => e(...a), t);
|
|
@@ -2326,7 +2326,7 @@ const Do = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
|
|
|
2326
2326
|
)), rn = (e, t, r) => {
|
|
2327
2327
|
var a;
|
|
2328
2328
|
!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);
|
|
2329
|
-
},
|
|
2329
|
+
}, $e = z.forwardRef((e, t) => {
|
|
2330
2330
|
const { onClick: r, noInternalClick: a = !1, ...n } = e;
|
|
2331
2331
|
return /* @__PURE__ */ l(
|
|
2332
2332
|
"button",
|
|
@@ -2339,7 +2339,7 @@ const Do = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
|
|
|
2339
2339
|
}
|
|
2340
2340
|
);
|
|
2341
2341
|
});
|
|
2342
|
-
|
|
2342
|
+
$e.displayName = "BaseButton";
|
|
2343
2343
|
const Zt = z.forwardRef(
|
|
2344
2344
|
({
|
|
2345
2345
|
children: e,
|
|
@@ -2371,7 +2371,7 @@ const Zt = z.forwardRef(
|
|
|
2371
2371
|
radius: u
|
|
2372
2372
|
});
|
|
2373
2373
|
return /* @__PURE__ */ l(
|
|
2374
|
-
|
|
2374
|
+
$e,
|
|
2375
2375
|
{
|
|
2376
2376
|
ref: h,
|
|
2377
2377
|
className: f,
|
|
@@ -2403,7 +2403,7 @@ const je = z.forwardRef(
|
|
|
2403
2403
|
align: E = "center",
|
|
2404
2404
|
radius: w = "large",
|
|
2405
2405
|
...I
|
|
2406
|
-
},
|
|
2406
|
+
}, M) => {
|
|
2407
2407
|
const U = tt({
|
|
2408
2408
|
type: et,
|
|
2409
2409
|
mode: r,
|
|
@@ -2426,9 +2426,9 @@ const je = z.forwardRef(
|
|
|
2426
2426
|
"text-copy-light dark:text-copy-accent-dark": r === "system" && !i
|
|
2427
2427
|
});
|
|
2428
2428
|
return /* @__PURE__ */ N(
|
|
2429
|
-
|
|
2429
|
+
$e,
|
|
2430
2430
|
{
|
|
2431
|
-
ref:
|
|
2431
|
+
ref: M,
|
|
2432
2432
|
className: U,
|
|
2433
2433
|
disabled: t,
|
|
2434
2434
|
type: s,
|
|
@@ -2477,7 +2477,7 @@ const an = z.forwardRef(
|
|
|
2477
2477
|
align: E = "center",
|
|
2478
2478
|
active: w = !1,
|
|
2479
2479
|
radius: I = "large",
|
|
2480
|
-
|
|
2480
|
+
...M
|
|
2481
2481
|
}, U) => {
|
|
2482
2482
|
const K = tt({
|
|
2483
2483
|
type: et,
|
|
@@ -2517,14 +2517,14 @@ const an = z.forwardRef(
|
|
|
2517
2517
|
}
|
|
2518
2518
|
) : "";
|
|
2519
2519
|
return /* @__PURE__ */ l("div", { className: H, children: /* @__PURE__ */ N(
|
|
2520
|
-
|
|
2520
|
+
$e,
|
|
2521
2521
|
{
|
|
2522
2522
|
ref: U,
|
|
2523
2523
|
className: K,
|
|
2524
2524
|
disabled: t,
|
|
2525
2525
|
type: s,
|
|
2526
2526
|
"aria-label": m || p,
|
|
2527
|
-
|
|
2527
|
+
...M,
|
|
2528
2528
|
children: [
|
|
2529
2529
|
h && /* @__PURE__ */ l("span", { className: "pr-2", children: h }),
|
|
2530
2530
|
/* @__PURE__ */ l("div", { className: O, children: e }),
|
|
@@ -2648,7 +2648,7 @@ const cn = ({
|
|
|
2648
2648
|
]
|
|
2649
2649
|
}
|
|
2650
2650
|
) });
|
|
2651
|
-
},
|
|
2651
|
+
}, Me = ({
|
|
2652
2652
|
children: e,
|
|
2653
2653
|
fill: t,
|
|
2654
2654
|
viewBox: r,
|
|
@@ -2692,7 +2692,7 @@ try {
|
|
|
2692
2692
|
} catch {
|
|
2693
2693
|
}
|
|
2694
2694
|
const ln = ({ className: e, viewBox: t, ...r }) => /* @__PURE__ */ l(
|
|
2695
|
-
|
|
2695
|
+
Me,
|
|
2696
2696
|
{
|
|
2697
2697
|
defaultViewBox: "0 0 1200 500",
|
|
2698
2698
|
viewBox: t,
|
|
@@ -2716,7 +2716,7 @@ const ln = ({ className: e, viewBox: t, ...r }) => /* @__PURE__ */ l(
|
|
|
2716
2716
|
monotone: a,
|
|
2717
2717
|
...n
|
|
2718
2718
|
}) => /* @__PURE__ */ N(
|
|
2719
|
-
|
|
2719
|
+
Me,
|
|
2720
2720
|
{
|
|
2721
2721
|
defaultViewBox: "0 0 640 512",
|
|
2722
2722
|
size: "size-5",
|
|
@@ -2744,7 +2744,7 @@ const ln = ({ className: e, viewBox: t, ...r }) => /* @__PURE__ */ l(
|
|
|
2744
2744
|
}) => {
|
|
2745
2745
|
const o = a ? "1" : "0.4";
|
|
2746
2746
|
return /* @__PURE__ */ N(
|
|
2747
|
-
|
|
2747
|
+
Me,
|
|
2748
2748
|
{
|
|
2749
2749
|
defaultViewBox: "0 0 190 190",
|
|
2750
2750
|
size: "size-5",
|
|
@@ -2779,7 +2779,7 @@ const ln = ({ className: e, viewBox: t, ...r }) => /* @__PURE__ */ l(
|
|
|
2779
2779
|
monotone: a,
|
|
2780
2780
|
...n
|
|
2781
2781
|
}) => /* @__PURE__ */ N(
|
|
2782
|
-
|
|
2782
|
+
Me,
|
|
2783
2783
|
{
|
|
2784
2784
|
defaultViewBox: "0 0 576 512",
|
|
2785
2785
|
size: "size-5",
|
|
@@ -2993,7 +2993,7 @@ try {
|
|
|
2993
2993
|
}
|
|
2994
2994
|
const er = "av-text-input", fn = "av-text-input-wrapper", Ye = "av-text-input-helper-text";
|
|
2995
2995
|
function bn() {
|
|
2996
|
-
const e =
|
|
2996
|
+
const e = $(!1);
|
|
2997
2997
|
return Q(() => (e.current = !0, () => {
|
|
2998
2998
|
e.current = !1;
|
|
2999
2999
|
}), []), q(() => e.current, []);
|
|
@@ -3009,7 +3009,7 @@ const En = {
|
|
|
3009
3009
|
right: 0
|
|
3010
3010
|
};
|
|
3011
3011
|
function wn(e) {
|
|
3012
|
-
const t = bn(), r =
|
|
3012
|
+
const t = bn(), r = $(0), a = $(null), [n, o] = j(En), s = kt(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((i) => {
|
|
3013
3013
|
const d = i[0];
|
|
3014
3014
|
d && (cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
|
|
3015
3015
|
a.current && t() && o(d.contentRect);
|
|
@@ -3111,7 +3111,7 @@ function ar({
|
|
|
3111
3111
|
visible: i,
|
|
3112
3112
|
...d
|
|
3113
3113
|
}) {
|
|
3114
|
-
const m =
|
|
3114
|
+
const m = $(null), p = $(null), [u, c] = wt(kn, {
|
|
3115
3115
|
announcement: null
|
|
3116
3116
|
});
|
|
3117
3117
|
let h = r;
|
|
@@ -3316,9 +3316,9 @@ const An = ({
|
|
|
3316
3316
|
rightElement: E,
|
|
3317
3317
|
rightElementClassName: w,
|
|
3318
3318
|
size: I = "md",
|
|
3319
|
-
|
|
3319
|
+
...M
|
|
3320
3320
|
}, U) => {
|
|
3321
|
-
const [K, O] = wn(), [H, W] = j(0), x = Tn({ id: e, prefix: `${er}-` }), pe = `${t} error, ${f}`, Z =
|
|
3321
|
+
const [K, O] = wn(), [H, W] = j(0), x = Tn({ id: e, prefix: `${er}-` }), pe = `${t} error, ${f}`, Z = $(null), v = $(null), P = {
|
|
3322
3322
|
xs: { label: "-25px", helperText: "30px" },
|
|
3323
3323
|
sm: { label: "-29px", helperText: "34px" },
|
|
3324
3324
|
md: { label: "-33px", helperText: "38px" },
|
|
@@ -3368,7 +3368,7 @@ const An = ({
|
|
|
3368
3368
|
...f && { "aria-describedby": `${x}-helper` },
|
|
3369
3369
|
...a && { "aria-invalid": "true" },
|
|
3370
3370
|
...E && !n && { style: { paddingRight: H } },
|
|
3371
|
-
|
|
3371
|
+
...M
|
|
3372
3372
|
}
|
|
3373
3373
|
),
|
|
3374
3374
|
!n && !c && /* @__PURE__ */ l(
|
|
@@ -3428,7 +3428,7 @@ const Pn = 500, Dn = 5e3, Ln = 2e4, nr = z.forwardRef(
|
|
|
3428
3428
|
const [c, h] = j(!0), [f, E] = j({
|
|
3429
3429
|
message: null,
|
|
3430
3430
|
politeness: null
|
|
3431
|
-
}), w =
|
|
3431
|
+
}), w = $(!0), I = $(null), M = $(null), U = On([u, M]), K = c ? "Show" : "Hide", O = () => {
|
|
3432
3432
|
I.current && clearTimeout(I.current), w.current || (I.current = setTimeout(() => {
|
|
3433
3433
|
w.current = !0, h(!0), E({
|
|
3434
3434
|
announcementTimeout: Dn,
|
|
@@ -3446,7 +3446,7 @@ const Pn = 500, Dn = 5e3, Ln = 2e4, nr = z.forwardRef(
|
|
|
3446
3446
|
}), n && n(P);
|
|
3447
3447
|
}, W = (v) => {
|
|
3448
3448
|
var P;
|
|
3449
|
-
const { relatedTarget: G } = v, ee = (P =
|
|
3449
|
+
const { relatedTarget: G } = v, ee = (P = M.current) == null ? void 0 : P.parentElement;
|
|
3450
3450
|
ee != null && ee.contains(G) || d && d();
|
|
3451
3451
|
}, x = (v) => {
|
|
3452
3452
|
O(), s && s(v), W(v);
|
|
@@ -3506,14 +3506,7 @@ try {
|
|
|
3506
3506
|
});
|
|
3507
3507
|
} catch {
|
|
3508
3508
|
}
|
|
3509
|
-
const
|
|
3510
|
-
ACTION_WHILE_STREAMING: {
|
|
3511
|
-
content: "Cancel chat"
|
|
3512
|
-
},
|
|
3513
|
-
ACTION_WHILE_NOT_STREAMING: {
|
|
3514
|
-
content: "New chat"
|
|
3515
|
-
}
|
|
3516
|
-
}, Fo = "N/A", jo = "Tags are pre-filled buttons available on the main screen, to help you quickly start requests. The label is used for the button, and the content is what will be inserted in the chat when the button is pressed. You can use the special placeholder <clipboard> to automatically insert the content of your clipboard.", qo = {
|
|
3509
|
+
const $n = "ASK! ME! ANYTHING!", Mn = "LeeLou", Un = "Log in", Kn = "Sign in with a Passkey", Ko = "Log out", Hn = "Password", Ho = "Send", Wo = "Profile", Go = "Statistics", Bo = "Chat history", Jo = "About", Vo = "Type your question here", Yo = "<clipboard>", zo = "N/A", Fo = "Tags are pre-filled buttons available on the main screen, to help you quickly start requests. The label is used for the button, and the content is what will be inserted in the chat when the button is pressed. You can use the special placeholder <clipboard> to automatically insert the content of your clipboard.", jo = {
|
|
3517
3510
|
PREFERENCES: {
|
|
3518
3511
|
TITLE: "User settings",
|
|
3519
3512
|
NAME: "Name",
|
|
@@ -3550,7 +3543,7 @@ const Mn = "ASK! ME! ANYTHING!", $n = "LeeLou", Un = "Log in", Kn = "Sign in wit
|
|
|
3550
3543
|
}, Wn = St(
|
|
3551
3544
|
() => import(
|
|
3552
3545
|
/* webpackChunkName: "LazyHeader" */
|
|
3553
|
-
"./LazyHeader.
|
|
3546
|
+
"./LazyHeader.C5vQHuXo.js"
|
|
3554
3547
|
)
|
|
3555
3548
|
), Gn = () => {
|
|
3556
3549
|
const { isAuthenticated: e } = Ze();
|
|
@@ -3559,8 +3552,8 @@ const Mn = "ASK! ME! ANYTHING!", $n = "LeeLou", Un = "Log in", Kn = "Sign in wit
|
|
|
3559
3552
|
/* @__PURE__ */ N("div", { className: "flex items-center justify-center", children: [
|
|
3560
3553
|
/* @__PURE__ */ l("div", { className: "basis-1/4", children: /* @__PURE__ */ l(ln, {}) }),
|
|
3561
3554
|
/* @__PURE__ */ N("div", { className: "prose prose-sm prose-light md:prose-base prose-h1:mb-0 prose-h2:mt-0", children: [
|
|
3562
|
-
/* @__PURE__ */ l("h1", { children:
|
|
3563
|
-
/* @__PURE__ */ l("h2", { children:
|
|
3555
|
+
/* @__PURE__ */ l("h1", { children: Mn }),
|
|
3556
|
+
/* @__PURE__ */ l("h2", { children: $n })
|
|
3564
3557
|
] })
|
|
3565
3558
|
] })
|
|
3566
3559
|
] });
|
|
@@ -3659,7 +3652,7 @@ const Mn = "ASK! ME! ANYTHING!", $n = "LeeLou", Un = "Log in", Kn = "Sign in wit
|
|
|
3659
3652
|
}, Jn = new URL(document.location.href).searchParams, Vn = !!Jn.get("debug") || !1, Yn = St(
|
|
3660
3653
|
() => import(
|
|
3661
3654
|
/* webpackChunkName: "LazyApp" */
|
|
3662
|
-
"./LazyApp.
|
|
3655
|
+
"./LazyApp.kPg_JpHE.js"
|
|
3663
3656
|
).then((e) => e.LazyApp)
|
|
3664
3657
|
), zn = ({ isComponent: e }) => {
|
|
3665
3658
|
const { isAuthenticated: t } = Ze();
|
|
@@ -3667,7 +3660,7 @@ const Mn = "ASK! ME! ANYTHING!", $n = "LeeLou", Un = "Log in", Kn = "Sign in wit
|
|
|
3667
3660
|
}, Fn = ({
|
|
3668
3661
|
isComponent: e = !1,
|
|
3669
3662
|
domain: t = za
|
|
3670
|
-
}) => /* @__PURE__ */ l(fe, { children: /* @__PURE__ */ l(
|
|
3663
|
+
}) => /* @__PURE__ */ l(fe, { children: /* @__PURE__ */ l($a, { clientId: Ma, domain: t, debug: Vn, children: /* @__PURE__ */ l(zn, { isComponent: e }) }) }), qo = ({ domain: e }) => /* @__PURE__ */ l(Fn, { isComponent: !0, domain: e });
|
|
3671
3664
|
export {
|
|
3672
3665
|
Jo as ABOUT_TITLE,
|
|
3673
3666
|
Eo as ACTION_ENGINE,
|
|
@@ -3681,9 +3674,9 @@ export {
|
|
|
3681
3674
|
To as ACTION_SORT,
|
|
3682
3675
|
bo as ACTION_STREAMING,
|
|
3683
3676
|
Io as ACTION_TOGGLE_TAG,
|
|
3684
|
-
|
|
3677
|
+
Mn as APP_NAME,
|
|
3685
3678
|
Zt as C,
|
|
3686
|
-
|
|
3679
|
+
jo as CARDS,
|
|
3687
3680
|
Yo as CLIPBOARD_TAG,
|
|
3688
3681
|
lo as DEFAULT_AI_ENGINE,
|
|
3689
3682
|
ho as ENGINE_ANTHROPIC,
|
|
@@ -3700,7 +3693,7 @@ export {
|
|
|
3700
3693
|
Ko as LOG_OUT,
|
|
3701
3694
|
ue as M,
|
|
3702
3695
|
Gn as MessagesContainerHeader,
|
|
3703
|
-
|
|
3696
|
+
zo as NA,
|
|
3704
3697
|
je as O,
|
|
3705
3698
|
Wo as PROFILE_TITLE,
|
|
3706
3699
|
cn as R,
|
|
@@ -3712,21 +3705,20 @@ export {
|
|
|
3712
3705
|
Ho as SEND,
|
|
3713
3706
|
Go as STATS,
|
|
3714
3707
|
xo as STATS_SEPARATOR,
|
|
3715
|
-
|
|
3716
|
-
|
|
3717
|
-
zo as TOOLBOX,
|
|
3708
|
+
qo as SassySaint,
|
|
3709
|
+
Fo as TAGS_DESCRIPTION,
|
|
3718
3710
|
Vo as TYPE_QUESTION,
|
|
3719
3711
|
pn as _,
|
|
3720
3712
|
Uo as debounce,
|
|
3721
|
-
|
|
3713
|
+
$o as durationFormatter,
|
|
3722
3714
|
Po as extractAverage,
|
|
3723
|
-
|
|
3715
|
+
Me as g,
|
|
3724
3716
|
Co as getCurrentGeoLocation,
|
|
3725
3717
|
Fa as getMessageContaintWrapperClass,
|
|
3726
3718
|
Do as isLastMessageFromRole,
|
|
3727
3719
|
le as j,
|
|
3728
3720
|
Lo as numberFormatter,
|
|
3729
|
-
|
|
3721
|
+
Mo as pluralize,
|
|
3730
3722
|
Oo as renderDataAsList,
|
|
3731
3723
|
Ze as un,
|
|
3732
3724
|
rt as ye,
|
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.UHRCFkiB.js";
|
|
2
2
|
/*!
|
|
3
|
-
@sassysaint/client v5.
|
|
3
|
+
@sassysaint/client v5.13.0
|
|
4
4
|
© 2024 gizmette.com
|
|
5
5
|
*/
|
|
6
6
|
try {
|
|
7
7
|
window.__VERSINI_SASSY_GLOBAL__ || (window.__VERSINI_SASSY_GLOBAL__ = {
|
|
8
|
-
version: "5.
|
|
9
|
-
buildTime: "12/31/2024
|
|
8
|
+
version: "5.13.0",
|
|
9
|
+
buildTime: "12/31/2024 06:58 PM 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.
|
|
3
|
+
"version": "5.5.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Arno Versini",
|
|
6
6
|
"publishConfig": {
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
"react-dom": "^18.3.1 || ^19.0.0"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@sassysaint/client": "5.
|
|
34
|
-
"@versini/ui-styles": "2.
|
|
33
|
+
"@sassysaint/client": "5.13.0",
|
|
34
|
+
"@versini/ui-styles": "2.1.0"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@versini/ui-hooks": "4.3.0",
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
"sideEffects": [
|
|
42
42
|
"**/*.css"
|
|
43
43
|
],
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "ffcb824a08490db8d6577f89e93f438b5c3cd820"
|
|
45
45
|
}
|