@versini/sassysaint 6.3.0 → 6.3.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/{App.Cs5nDf5j.js → App.BFCImKH0.js} +1955 -1930
- package/dist/chunks/{MarkdownWithExtra.D8ZfI-qm.js → MarkdownWithExtra.Bl6HpvHJ.js} +25 -26
- package/dist/chunks/{MessageAssistant.CusoDhOy.js → MessageAssistant.qaZbh4Yy.js} +3 -3
- package/dist/chunks/{index.Cs6TmwRi.js → index.BCDhh50h.js} +43 -42
- package/dist/chunks/{index.BcqQB62k.js → index.Cq7JogXN.js} +35 -35
- package/dist/components/SassySaint/SassySaint.js +1 -1
- package/dist/index.js +4 -4
- package/dist/style.css +1 -1
- package/package.json +4 -4
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as Ve, jsxs as P0, Fragment as ka } from "react/jsx-runtime";
|
|
2
|
-
import { convert as _s, getDefaultExportFromCjs as Ss, visit as Na, find as ks, parse as kn, parse$1 as Nn, normalize as Tn, svg as Ns, html as Ts, visitParents as As, SKIP as Ms, longestStreak as Os, factorySpace as _r, markdownLineEnding as Vt, Markdown as Rs, remarkGfm as Cs } from "./MessageAssistant.
|
|
3
|
-
import { Y as Is, L as Ds, j as Ls } from "./index.
|
|
2
|
+
import { convert as _s, getDefaultExportFromCjs as Ss, visit as Na, find as ks, parse as kn, parse$1 as Nn, normalize as Tn, svg as Ns, html as Ts, visitParents as As, SKIP as Ms, longestStreak as Os, factorySpace as _r, markdownLineEnding as Vt, Markdown as Rs, remarkGfm as Cs } from "./MessageAssistant.qaZbh4Yy.js";
|
|
3
|
+
import { Y as Is, L as Ds, j as Ls } from "./index.BCDhh50h.js";
|
|
4
4
|
import zs, { useState as Bs, useEffect as Fs } from "react";
|
|
5
5
|
import Ps from "clsx";
|
|
6
6
|
const Ta = ({
|
|
@@ -91,13 +91,13 @@ const Us = ({
|
|
|
91
91
|
}
|
|
92
92
|
);
|
|
93
93
|
/*!
|
|
94
|
-
@versini/ui-icons v4.
|
|
94
|
+
@versini/ui-icons v4.6.0
|
|
95
95
|
© 2025 gizmette.com
|
|
96
96
|
*/
|
|
97
97
|
try {
|
|
98
98
|
window.__VERSINI_UI_ICONS__ || (window.__VERSINI_UI_ICONS__ = {
|
|
99
|
-
version: "4.
|
|
100
|
-
buildTime: "01/20/2025
|
|
99
|
+
version: "4.6.0",
|
|
100
|
+
buildTime: "01/20/2025 04:20 PM EST",
|
|
101
101
|
homepage: "https://github.com/aversini/ui-components",
|
|
102
102
|
license: "MIT"
|
|
103
103
|
});
|
|
@@ -26612,19 +26612,19 @@ const o1 = () => (t) => {
|
|
|
26612
26612
|
var r, n;
|
|
26613
26613
|
e.tagName === "code" && ((n = (r = e.children) == null ? void 0 : r[0]) != null && n.value) && (e.properties["data-raw-code"] = e.children[0].value);
|
|
26614
26614
|
});
|
|
26615
|
-
},
|
|
26615
|
+
}, l1 = (t) => t.children.props["data-raw-code"] || "", p1 = ({
|
|
26616
26616
|
content: t
|
|
26617
|
-
}) =>
|
|
26618
|
-
|
|
26619
|
-
|
|
26620
|
-
|
|
26621
|
-
|
|
26622
|
-
|
|
26623
|
-
|
|
26617
|
+
}) => /* @__PURE__ */ Ve(
|
|
26618
|
+
Rs,
|
|
26619
|
+
{
|
|
26620
|
+
components: {
|
|
26621
|
+
pre: (e) => {
|
|
26622
|
+
const { node: r, ...n } = e;
|
|
26623
|
+
return /* @__PURE__ */ P0(ka, { children: [
|
|
26624
26624
|
/* @__PURE__ */ Ve(Ds, { alignHorizontal: "flex-end", children: /* @__PURE__ */ Ve(Ls, { children: /* @__PURE__ */ Ve(
|
|
26625
26625
|
Aa,
|
|
26626
26626
|
{
|
|
26627
|
-
copyToClipboard: () =>
|
|
26627
|
+
copyToClipboard: () => l1(n),
|
|
26628
26628
|
labelRight: "copy code",
|
|
26629
26629
|
radius: "small",
|
|
26630
26630
|
className: "mb-2 px-1"
|
|
@@ -26633,19 +26633,18 @@ const o1 = () => (t) => {
|
|
|
26633
26633
|
/* @__PURE__ */ Ve(
|
|
26634
26634
|
"pre",
|
|
26635
26635
|
{
|
|
26636
|
-
...
|
|
26637
|
-
|
|
26638
|
-
className: "text-xs max-w-[90cqw] sm:max-w-[100cqw]"
|
|
26636
|
+
...n,
|
|
26637
|
+
className: "text-xs my-0 max-w-[90cqw] sm:max-w-[100cqw] "
|
|
26639
26638
|
}
|
|
26640
26639
|
)
|
|
26641
|
-
] })
|
|
26642
|
-
}
|
|
26643
|
-
|
|
26644
|
-
|
|
26645
|
-
|
|
26646
|
-
|
|
26647
|
-
|
|
26648
|
-
|
|
26640
|
+
] });
|
|
26641
|
+
}
|
|
26642
|
+
},
|
|
26643
|
+
remarkPlugins: [Cs, s1],
|
|
26644
|
+
rehypePlugins: [o1, Ml, Zu],
|
|
26645
|
+
children: t
|
|
26646
|
+
}
|
|
26647
|
+
);
|
|
26649
26648
|
export {
|
|
26650
|
-
|
|
26649
|
+
p1 as default
|
|
26651
26650
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as en, jsx as re, Fragment as nr } from "react/jsx-runtime";
|
|
2
|
-
import { AppContext as di, E as yi, le$1 as ct } from "./App.
|
|
2
|
+
import { AppContext as di, E as yi, le$1 as ct } from "./App.BFCImKH0.js";
|
|
3
3
|
import hn from "clsx";
|
|
4
4
|
import { lazy as ki, useContext as xi, Suspense as bi } from "react";
|
|
5
|
-
import { LOCAL_STORAGE_PREFIX as wi, LOCAL_STORAGE_CHAT_DETAILS as Si, durationFormatter as Ci } from "./index.
|
|
5
|
+
import { LOCAL_STORAGE_PREFIX as wi, LOCAL_STORAGE_CHAT_DETAILS as Si, durationFormatter as Ci } from "./index.BCDhh50h.js";
|
|
6
6
|
function tr(e) {
|
|
7
7
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
8
8
|
}
|
|
@@ -8653,7 +8653,7 @@ function Qc(e) {
|
|
|
8653
8653
|
const Yc = ki(
|
|
8654
8654
|
() => import(
|
|
8655
8655
|
/* webpackChunkName: "LazyMarkdownWithExtra" */
|
|
8656
|
-
"./MarkdownWithExtra.
|
|
8656
|
+
"./MarkdownWithExtra.Bl6HpvHJ.js"
|
|
8657
8657
|
)
|
|
8658
8658
|
), Ln = {
|
|
8659
8659
|
MODEL: "Model",
|
|
@@ -1917,7 +1917,7 @@ const Pa = (e) => q(
|
|
|
1917
1917
|
children: e
|
|
1918
1918
|
}
|
|
1919
1919
|
) });
|
|
1920
|
-
}, zt = (e = jt) => Tt(e), co = "user", lo = "assistant", uo = "system", mo = "internal", ho = "hidden", po = "I'm having trouble right now. Please try again later.", fo = "OpenAI", go = "OpenAI", yo = "Anthropic", bo = "action-message", Eo = "action-reset", wo = "action-model", To = "action-restore", Io = "action-streaming", So = "action-search", _o = "action-sort", ko = "action-toggle-prompt", Ao = "action-reset-prompt", Ro = "sassy-saint-", No = "details", vo = "search", xo = "sort", Co = "private-disclosure", Oo = "==stats==", $a = "b44c68f0-e5b3-4a1d-a3e3-df8632b0223b", Po = 10, Do = 30, Lo = "av-prompt", Mo = "av-prompt-editable", yt = (e) => Number.isFinite(e) ? e : 0;
|
|
1920
|
+
}, zt = (e = jt) => Tt(e), co = "user", lo = "assistant", uo = "system", mo = "internal", ho = "hidden", po = "I'm having trouble right now. Please try again later.", fo = "OpenAI", go = "OpenAI", yo = "Anthropic", bo = "action-message", Eo = "action-reset", wo = "action-model", To = "action-restore", Io = "action-streaming", So = "action-search", _o = "action-sort", ko = "action-toggle-prompt", Ao = "action-reset-prompt", Ro = "sassy-saint-", No = "details", vo = "search", xo = "sort", Co = "private-disclosure", Oo = "==stats==", $a = "b44c68f0-e5b3-4a1d-a3e3-df8632b0223b", Po = 10, Do = 30, Lo = "av-prompt", Mo = "av-prompt-editable", $o = "size-4", yt = (e) => Number.isFinite(e) ? e : 0;
|
|
1921
1921
|
function Ua(e) {
|
|
1922
1922
|
return {
|
|
1923
1923
|
days: Math.trunc(e / 864e5),
|
|
@@ -1997,7 +1997,7 @@ function Va(e, t) {
|
|
|
1997
1997
|
const h = t.colonNotation ? ":" : " ";
|
|
1998
1998
|
return typeof t.unitCount == "number" && (n = n.slice(0, Math.max(t.unitCount, 1))), a + n.join(h);
|
|
1999
1999
|
}
|
|
2000
|
-
const Ya = process.env.NODE_ENV === "production", Fa = !Ya, ja = Fa ? "gizmette.local.com" : "gizmette.com",
|
|
2000
|
+
const Ya = process.env.NODE_ENV === "production", Fa = !Ya, ja = Fa ? "gizmette.local.com" : "gizmette.com", Uo = async () => {
|
|
2001
2001
|
const e = {
|
|
2002
2002
|
/**
|
|
2003
2003
|
* A boolean value that indicates the application would
|
|
@@ -2046,10 +2046,10 @@ const Ya = process.env.NODE_ENV === "production", Fa = !Ya, ja = Fa ? "gizmette.
|
|
|
2046
2046
|
e
|
|
2047
2047
|
);
|
|
2048
2048
|
});
|
|
2049
|
-
},
|
|
2049
|
+
}, Ko = (e, t) => t ? Object.keys(t).map((r) => /* @__PURE__ */ l("dl", { className: "my-0", children: /* @__PURE__ */ O("div", { className: "flex items-center justify-between", children: [
|
|
2050
2050
|
/* @__PURE__ */ l("dt", { className: "my-1 inline-block font-bold text-copy-dark dark:text-copy-lighter", children: r }),
|
|
2051
2051
|
/* @__PURE__ */ l("dd", { className: "my-1 inline-block", children: t[r] })
|
|
2052
|
-
] }) }, `${e}-${r}`)) : null,
|
|
2052
|
+
] }) }, `${e}-${r}`)) : null, Ho = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length - 1].message.role === e, Wo = (e) => e > 0 ? Va(e, {
|
|
2053
2053
|
secondsDecimalDigits: 2,
|
|
2054
2054
|
unitCount: 2
|
|
2055
2055
|
}) : "N/A", za = ({
|
|
@@ -2061,7 +2061,7 @@ const Ya = process.env.NODE_ENV === "production", Fa = !Ya, ja = Fa ? "gizmette.
|
|
|
2061
2061
|
t
|
|
2062
2062
|
), qa = ({
|
|
2063
2063
|
extraClass: e
|
|
2064
|
-
}) => f("px-2 sm:px-0", e),
|
|
2064
|
+
}) => f("px-2 sm:px-0", e), Bo = (e, t) => t === 1 ? e : `${e}s`, Go = (e, t) => {
|
|
2065
2065
|
let r;
|
|
2066
2066
|
return (...a) => {
|
|
2067
2067
|
window.clearTimeout(r), r = window.setTimeout(() => e(...a), t);
|
|
@@ -2454,7 +2454,7 @@ const qe = F.forwardRef(
|
|
|
2454
2454
|
...K,
|
|
2455
2455
|
children: [
|
|
2456
2456
|
m && /* @__PURE__ */ l("span", { className: "pr-2", children: m }),
|
|
2457
|
-
/* @__PURE__ */ l("
|
|
2457
|
+
/* @__PURE__ */ l("span", { className: P, children: e }),
|
|
2458
2458
|
c && /* @__PURE__ */ l("span", { className: "pl-2", children: c })
|
|
2459
2459
|
]
|
|
2460
2460
|
}
|
|
@@ -2463,13 +2463,13 @@ const qe = F.forwardRef(
|
|
|
2463
2463
|
);
|
|
2464
2464
|
qe.displayName = "ButtonIcon";
|
|
2465
2465
|
/*!
|
|
2466
|
-
@versini/ui-button v4.1.
|
|
2466
|
+
@versini/ui-button v4.1.5
|
|
2467
2467
|
© 2025 gizmette.com
|
|
2468
2468
|
*/
|
|
2469
2469
|
try {
|
|
2470
2470
|
window.__VERSINI_UI_BUTTON__ || (window.__VERSINI_UI_BUTTON__ = {
|
|
2471
|
-
version: "4.1.
|
|
2472
|
-
buildTime: "01/
|
|
2471
|
+
version: "4.1.5",
|
|
2472
|
+
buildTime: "01/24/2025 09:19 AM EST",
|
|
2473
2473
|
homepage: "https://github.com/aversini/ui-components",
|
|
2474
2474
|
license: "MIT"
|
|
2475
2475
|
});
|
|
@@ -2554,13 +2554,13 @@ const ln = F.forwardRef(
|
|
|
2554
2554
|
);
|
|
2555
2555
|
ln.displayName = "ButtonSort";
|
|
2556
2556
|
/*!
|
|
2557
|
-
@versini/ui-card v3.0.
|
|
2557
|
+
@versini/ui-card v3.0.12
|
|
2558
2558
|
© 2025 gizmette.com
|
|
2559
2559
|
*/
|
|
2560
2560
|
try {
|
|
2561
2561
|
window.__VERSINI_UI_CARD__ || (window.__VERSINI_UI_CARD__ = {
|
|
2562
|
-
version: "3.0.
|
|
2563
|
-
buildTime: "01/
|
|
2562
|
+
version: "3.0.12",
|
|
2563
|
+
buildTime: "01/25/2025 11:56 AM EST",
|
|
2564
2564
|
homepage: "https://github.com/aversini/ui-components",
|
|
2565
2565
|
license: "MIT"
|
|
2566
2566
|
});
|
|
@@ -2816,13 +2816,13 @@ const pn = ({
|
|
|
2816
2816
|
}
|
|
2817
2817
|
);
|
|
2818
2818
|
/*!
|
|
2819
|
-
@versini/ui-icons v4.6.
|
|
2819
|
+
@versini/ui-icons v4.6.1
|
|
2820
2820
|
© 2025 gizmette.com
|
|
2821
2821
|
*/
|
|
2822
2822
|
try {
|
|
2823
2823
|
window.__VERSINI_UI_ICONS__ || (window.__VERSINI_UI_ICONS__ = {
|
|
2824
|
-
version: "4.6.
|
|
2825
|
-
buildTime: "01/
|
|
2824
|
+
version: "4.6.1",
|
|
2825
|
+
buildTime: "01/21/2025 01:33 PM EST",
|
|
2826
2826
|
homepage: "https://github.com/aversini/ui-components",
|
|
2827
2827
|
license: "MIT"
|
|
2828
2828
|
});
|
|
@@ -3176,7 +3176,7 @@ function er({
|
|
|
3176
3176
|
try {
|
|
3177
3177
|
window.__VERSINI_UI_LIVEREGION__ || (window.__VERSINI_UI_LIVEREGION__ = {
|
|
3178
3178
|
version: "1.3.7",
|
|
3179
|
-
buildTime: "01/
|
|
3179
|
+
buildTime: "01/25/2025 11:56 AM EST",
|
|
3180
3180
|
homepage: "https://github.com/aversini/ui-components",
|
|
3181
3181
|
license: "MIT"
|
|
3182
3182
|
});
|
|
@@ -3518,19 +3518,19 @@ const Kn = 500, Hn = 5e3, Wn = 2e4, tr = F.forwardRef(
|
|
|
3518
3518
|
);
|
|
3519
3519
|
tr.displayName = "TextInputMask";
|
|
3520
3520
|
/*!
|
|
3521
|
-
@versini/ui-textinput v3.0.
|
|
3521
|
+
@versini/ui-textinput v3.0.12
|
|
3522
3522
|
© 2025 gizmette.com
|
|
3523
3523
|
*/
|
|
3524
3524
|
try {
|
|
3525
3525
|
window.__VERSINI_UI_TEXTINPUT__ || (window.__VERSINI_UI_TEXTINPUT__ = {
|
|
3526
|
-
version: "3.0.
|
|
3527
|
-
buildTime: "01/
|
|
3526
|
+
version: "3.0.12",
|
|
3527
|
+
buildTime: "01/25/2025 11:56 AM EST",
|
|
3528
3528
|
homepage: "https://github.com/aversini/ui-components",
|
|
3529
3529
|
license: "MIT"
|
|
3530
3530
|
});
|
|
3531
3531
|
} catch {
|
|
3532
3532
|
}
|
|
3533
|
-
const Bn = "ASK! ME! ANYTHING!", rr = "Callisto", Gn = "Log in", Jn = "Sign in with a Passkey",
|
|
3533
|
+
const Bn = "ASK! ME! ANYTHING!", rr = "Callisto", Gn = "Log in", Jn = "Sign in with a Passkey", Jo = "Log out", Vn = "Password", Vo = "Profile", Yo = "Settings", Fo = "Chat history", jo = "About", zo = "Type your question here", qo = "{{clipboard}}", Xo = `Sometimes, ${rr} hallucinates. Review important details.`, Qo = "Prompts 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.", Zo = {
|
|
3534
3534
|
PREFERENCES: {
|
|
3535
3535
|
TITLE: "User profile",
|
|
3536
3536
|
NAME: "Name",
|
|
@@ -3693,16 +3693,16 @@ const Bn = "ASK! ME! ANYTHING!", rr = "Callisto", Gn = "Log in", Jn = "Sign in w
|
|
|
3693
3693
|
) });
|
|
3694
3694
|
}, jn = new URL(document.location.href).searchParams, zn = !!jn.get("debug") || !1, qn = sr(() => import(
|
|
3695
3695
|
/* webpackChunkName: "LazyApp" */
|
|
3696
|
-
"./App.
|
|
3696
|
+
"./App.BFCImKH0.js"
|
|
3697
3697
|
).then((e) => e.App)), Xn = ({ isComponent: e }) => {
|
|
3698
3698
|
const { isAuthenticated: t } = zt();
|
|
3699
3699
|
return t ? /* @__PURE__ */ l(ir, { fallback: /* @__PURE__ */ l("div", {}), children: /* @__PURE__ */ l(qn, { isComponent: e }) }) : /* @__PURE__ */ l(Fn, {});
|
|
3700
3700
|
}, Qn = ({
|
|
3701
3701
|
isComponent: e = !1,
|
|
3702
3702
|
domain: t = ja
|
|
3703
|
-
}) => /* @__PURE__ */ l(Ma, { clientId: $a, domain: t, debug: zn, children: /* @__PURE__ */ l(Xn, { isComponent: e }) }),
|
|
3703
|
+
}) => /* @__PURE__ */ l(Ma, { clientId: $a, domain: t, debug: zn, children: /* @__PURE__ */ l(Xn, { isComponent: e }) }), es = ({ domain: e }) => /* @__PURE__ */ l(Qn, { isComponent: !0, domain: e });
|
|
3704
3704
|
export {
|
|
3705
|
-
|
|
3705
|
+
jo as ABOUT_TITLE,
|
|
3706
3706
|
bo as ACTION_MESSAGE,
|
|
3707
3707
|
wo as ACTION_MODEL,
|
|
3708
3708
|
Eo as ACTION_RESET,
|
|
@@ -3714,14 +3714,15 @@ export {
|
|
|
3714
3714
|
ko as ACTION_TOGGLE_PROMPT,
|
|
3715
3715
|
rr as APP_NAME,
|
|
3716
3716
|
qt as C,
|
|
3717
|
-
|
|
3718
|
-
|
|
3717
|
+
Zo as CARDS,
|
|
3718
|
+
qo as CLIPBOARD_PROMPT,
|
|
3719
3719
|
fo as DEFAULT_AI_ENGINE,
|
|
3720
|
+
$o as DEFAULT_ICON_ACTION_SIZE,
|
|
3720
3721
|
yo as ENGINE_ANTHROPIC,
|
|
3721
3722
|
go as ENGINE_OPENAI,
|
|
3722
3723
|
po as ERROR_MESSAGE,
|
|
3723
|
-
|
|
3724
|
-
|
|
3724
|
+
Xo as FOOTER_DISCLAIMER,
|
|
3725
|
+
Fo as HISTORY_TITLE,
|
|
3725
3726
|
Do as INFINITE_SCROLL_LIMIT,
|
|
3726
3727
|
Po as INFINITE_SCROLL_THRESHOLD,
|
|
3727
3728
|
Tn as L,
|
|
@@ -3730,11 +3731,11 @@ export {
|
|
|
3730
3731
|
Co as LOCAL_STORAGE_PRIVATE_DISCLOSURE,
|
|
3731
3732
|
vo as LOCAL_STORAGE_SEARCH,
|
|
3732
3733
|
xo as LOCAL_STORAGE_SORT,
|
|
3733
|
-
|
|
3734
|
+
Jo as LOG_OUT,
|
|
3734
3735
|
Yn as Logo,
|
|
3735
3736
|
ue as M,
|
|
3736
|
-
|
|
3737
|
-
|
|
3737
|
+
Vo as PROFILE_TITLE,
|
|
3738
|
+
Qo as PROMPTS_DESCRIPTION,
|
|
3738
3739
|
Lo as PROMPT_CLASSNAME,
|
|
3739
3740
|
Mo as PROMPT_EDITABLE_AREA_CLASSNAME,
|
|
3740
3741
|
hn as R,
|
|
@@ -3743,23 +3744,23 @@ export {
|
|
|
3743
3744
|
mo as ROLE_INTERNAL,
|
|
3744
3745
|
uo as ROLE_SYSTEM,
|
|
3745
3746
|
co as ROLE_USER,
|
|
3746
|
-
|
|
3747
|
+
Yo as SETTINGS_TITLE,
|
|
3747
3748
|
Oo as STATS_SEPARATOR,
|
|
3748
|
-
|
|
3749
|
-
|
|
3749
|
+
es as SassySaint,
|
|
3750
|
+
zo as TYPE_QUESTION,
|
|
3750
3751
|
qe as Y,
|
|
3751
|
-
|
|
3752
|
-
|
|
3753
|
-
$e as
|
|
3754
|
-
|
|
3752
|
+
Go as debounce,
|
|
3753
|
+
Wo as durationFormatter,
|
|
3754
|
+
$e as f,
|
|
3755
|
+
at as fe,
|
|
3756
|
+
Uo as getCurrentGeoLocation,
|
|
3755
3757
|
qa as getMainPaddingClass,
|
|
3756
3758
|
za as getMessageContaintWrapperClass,
|
|
3757
|
-
|
|
3759
|
+
Ho as isLastMessageFromRole,
|
|
3758
3760
|
te as j,
|
|
3759
3761
|
gn as l,
|
|
3760
|
-
|
|
3762
|
+
Bo as pluralize,
|
|
3761
3763
|
En as r,
|
|
3762
|
-
|
|
3763
|
-
zt as un
|
|
3764
|
-
at as ye
|
|
3764
|
+
Ko as renderDataAsList,
|
|
3765
|
+
zt as un
|
|
3765
3766
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as i, jsx as e, Fragment as z } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import { i as me, useServerCapabilities as ft, Ie as ce, HistoryContext as Me, E as Ce, ConfirmationPanel as
|
|
2
|
+
import { f as V, un as F, R as B, CARDS as N, renderDataAsList as de, pluralize as ue, ABOUT_TITLE as Qe, INFINITE_SCROLL_LIMIT as Se, INFINITE_SCROLL_THRESHOLD as ve, LOCAL_STORAGE_PREFIX as ke, LOCAL_STORAGE_SORT as Je, Y as oe, ACTION_RESET as Ze, ACTION_RESTORE as et, ACTION_SORT as Ae, LOCAL_STORAGE_SEARCH as tt, HISTORY_TITLE as rt, fe as be, C as X, ACTION_SEARCH as nt, debounce as at, M as ot, L as q, j as P, l as Ie, durationFormatter as st, PROFILE_TITLE as lt, PROMPTS_DESCRIPTION as ct, DEFAULT_AI_ENGINE as it, LOCAL_STORAGE_CHAT_DETAILS as dt, SETTINGS_TITLE as ut, ENGINE_OPENAI as W, ENGINE_ANTHROPIC as ee, APP_NAME as mt, getCurrentGeoLocation as ht, LOG_OUT as _e } from "./index.BCDhh50h.js";
|
|
3
|
+
import { i as me, useServerCapabilities as ft, Ie as ce, HistoryContext as Me, E as Ce, ConfirmationPanel as Oe, ge as pt, he as gt, ue as ge, le as O, ye as yt, me as bt, p as xt, z as kt, be as Ct, serviceCall as se, SERVICE_TYPES as le, p$1 as te, AppContext as Pe, useChatsHistory as Et, useUserChatStats as Tt, useUserPreferences as ze, m as Nt, _e as wt, me$1 as St, R as re, P as vt } from "./App.BFCImKH0.js";
|
|
4
4
|
import At, { useRef as S, useState as C, useContext as he, useCallback as Be, useEffect as H, Fragment as It, useLayoutEffect as ne, useMemo as He, useId as _t, useReducer as Rt } from "react";
|
|
5
5
|
import y from "clsx";
|
|
6
6
|
const Lt = ({
|
|
@@ -55,7 +55,7 @@ const Lt = ({
|
|
|
55
55
|
/* @__PURE__ */ e("path", { d: "M163.8 0c-12.1 0-23.2 6.8-28.6 17.7L128 32H32C14.3 32 0 46.3 0 64s14.3 32 32 32h384c17.7 0 32-14.3 32-32s-14.3-32-32-32h-96l-7.2-14.3C307.4 6.8 296.3 0 284.2 0z" })
|
|
56
56
|
]
|
|
57
57
|
}
|
|
58
|
-
),
|
|
58
|
+
), Ot = ({
|
|
59
59
|
className: t,
|
|
60
60
|
viewBox: a,
|
|
61
61
|
title: o,
|
|
@@ -81,7 +81,7 @@ const Lt = ({
|
|
|
81
81
|
/* @__PURE__ */ e("path", { d: "M256 128c13.3 0 24 10.7 24 24v94.1l65 65c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-72-72c-4.5-4.5-7-10.6-7-17V152c0-13.3 10.7-24 24-24z" })
|
|
82
82
|
]
|
|
83
83
|
}
|
|
84
|
-
),
|
|
84
|
+
), Pt = ({
|
|
85
85
|
className: t,
|
|
86
86
|
viewBox: a,
|
|
87
87
|
title: o,
|
|
@@ -217,8 +217,8 @@ const Lt = ({
|
|
|
217
217
|
header: N.ABOUT.TITLE_CLIENT,
|
|
218
218
|
className: "prose-dark dark:prose-lighter",
|
|
219
219
|
children: de(a, {
|
|
220
|
-
[N.ABOUT.VERSION]: "6.3.
|
|
221
|
-
[N.ABOUT.BUILD_TIMESTAMP]: "01/
|
|
220
|
+
[N.ABOUT.VERSION]: "6.3.2",
|
|
221
|
+
[N.ABOUT.BUILD_TIMESTAMP]: "01/25/2025 12:37 PM EST"
|
|
222
222
|
})
|
|
223
223
|
}
|
|
224
224
|
) }),
|
|
@@ -321,7 +321,7 @@ const Lt = ({
|
|
|
321
321
|
s.current && w.observe(s.current);
|
|
322
322
|
}), /* @__PURE__ */ i(z, { children: [
|
|
323
323
|
/* @__PURE__ */ i(
|
|
324
|
-
|
|
324
|
+
Oe,
|
|
325
325
|
{
|
|
326
326
|
showConfirmation: u,
|
|
327
327
|
setShowConfirmation: f,
|
|
@@ -350,7 +350,7 @@ const Lt = ({
|
|
|
350
350
|
),
|
|
351
351
|
/* @__PURE__ */ i(pt, { stickyHeader: !0, stickyFooter: !0, compact: !0, children: [
|
|
352
352
|
/* @__PURE__ */ e(gt, { children: /* @__PURE__ */ i(ge, { children: [
|
|
353
|
-
/* @__PURE__ */ e(
|
|
353
|
+
/* @__PURE__ */ e(O, { className: "sr-only", children: "Row" }),
|
|
354
354
|
/* @__PURE__ */ e(
|
|
355
355
|
yt,
|
|
356
356
|
{
|
|
@@ -365,18 +365,18 @@ const Lt = ({
|
|
|
365
365
|
children: "Date"
|
|
366
366
|
}
|
|
367
367
|
),
|
|
368
|
-
/* @__PURE__ */ e(
|
|
369
|
-
/* @__PURE__ */ e(
|
|
370
|
-
/* @__PURE__ */ e(
|
|
368
|
+
/* @__PURE__ */ e(O, { className: "text-xs sm:text-sm", children: "First message" }),
|
|
369
|
+
/* @__PURE__ */ e(O, { className: "text-xs sm:text-sm", children: "Model" }),
|
|
370
|
+
/* @__PURE__ */ e(O, { className: "text-xs sm:text-sm text-right", children: "Actions" })
|
|
371
371
|
] }) }),
|
|
372
372
|
/* @__PURE__ */ e(bt, { children: t.slice(0, p).map((m, w) => {
|
|
373
373
|
var I, D;
|
|
374
374
|
return ((I = m == null ? void 0 : m.messages) == null ? void 0 : I.length) > 0 ? /* @__PURE__ */ i(It, { children: [
|
|
375
375
|
w === p - ve && /* @__PURE__ */ e("tr", { ref: s }),
|
|
376
376
|
/* @__PURE__ */ i(ge, { children: [
|
|
377
|
-
/* @__PURE__ */ e(
|
|
377
|
+
/* @__PURE__ */ e(O, { children: w + 1 }),
|
|
378
378
|
/* @__PURE__ */ e(
|
|
379
|
-
|
|
379
|
+
O,
|
|
380
380
|
{
|
|
381
381
|
component: "th",
|
|
382
382
|
scope: "row",
|
|
@@ -385,7 +385,7 @@ const Lt = ({
|
|
|
385
385
|
}
|
|
386
386
|
),
|
|
387
387
|
/* @__PURE__ */ e(
|
|
388
|
-
|
|
388
|
+
O,
|
|
389
389
|
{
|
|
390
390
|
className: "max-w-[100px] text-white sm:max-w-full text-xs sm:text-sm",
|
|
391
391
|
style: {
|
|
@@ -395,7 +395,7 @@ const Lt = ({
|
|
|
395
395
|
}
|
|
396
396
|
),
|
|
397
397
|
/* @__PURE__ */ i(
|
|
398
|
-
|
|
398
|
+
O,
|
|
399
399
|
{
|
|
400
400
|
component: "th",
|
|
401
401
|
scope: "row",
|
|
@@ -407,7 +407,7 @@ const Lt = ({
|
|
|
407
407
|
]
|
|
408
408
|
}
|
|
409
409
|
),
|
|
410
|
-
/* @__PURE__ */ i(
|
|
410
|
+
/* @__PURE__ */ i(O, { align: "right", children: [
|
|
411
411
|
/* @__PURE__ */ e(
|
|
412
412
|
oe,
|
|
413
413
|
{
|
|
@@ -448,7 +448,7 @@ const Lt = ({
|
|
|
448
448
|
] })
|
|
449
449
|
] }, `${N.HISTORY.TITLE}-${m.id}-${w}`) : null;
|
|
450
450
|
}) }),
|
|
451
|
-
/* @__PURE__ */ e(Ct, { children: /* @__PURE__ */ e(ge, { children: /* @__PURE__ */ e(
|
|
451
|
+
/* @__PURE__ */ e(Ct, { children: /* @__PURE__ */ e(ge, { children: /* @__PURE__ */ e(O, { colSpan: 1e3, children: /* @__PURE__ */ e("div", { children: ue(
|
|
452
452
|
`${t.length} chat`,
|
|
453
453
|
t.length
|
|
454
454
|
) }) }) }) })
|
|
@@ -458,7 +458,7 @@ const Lt = ({
|
|
|
458
458
|
open: t,
|
|
459
459
|
onOpenChange: a
|
|
460
460
|
}) => {
|
|
461
|
-
const { getAccessToken: o, user: n } = F(), { state: r, dispatch: c } = he(
|
|
461
|
+
const { getAccessToken: o, user: n } = F(), { state: r, dispatch: c } = he(Pe), { state: s, dispatch: d } = he(Me), { data: u, mutate: f } = Et({
|
|
462
462
|
keys: [
|
|
463
463
|
n == null ? void 0 : n.username,
|
|
464
464
|
s.searchString,
|
|
@@ -547,8 +547,8 @@ const Lt = ({
|
|
|
547
547
|
{
|
|
548
548
|
className: "prose-dark dark:prose-lighter mt-4",
|
|
549
549
|
header: /* @__PURE__ */ e("h2", { className: "m-0", children: /* @__PURE__ */ i(q, { columnGap: 3, alignVertical: "center", children: [
|
|
550
|
-
/* @__PURE__ */ e(
|
|
551
|
-
/* @__PURE__ */ e(
|
|
550
|
+
/* @__PURE__ */ e(P, { children: /* @__PURE__ */ e(Ie, { size: "size-8" }) }),
|
|
551
|
+
/* @__PURE__ */ e(P, { children: /* @__PURE__ */ e("div", { children: N.PREFERENCES.PASSKEY_TITLE }) })
|
|
552
552
|
] }) }),
|
|
553
553
|
children: [
|
|
554
554
|
/* @__PURE__ */ e("p", { children: N.PREFERENCES.PASSKEY_INSTRUCTIONS }),
|
|
@@ -594,13 +594,13 @@ const Lt = ({
|
|
|
594
594
|
return c || s ? null : /* @__PURE__ */ e(ce, { open: t, onOpenChange: a, title: lt, children: /* @__PURE__ */ e(Yt, { stats: r }) });
|
|
595
595
|
};
|
|
596
596
|
/*!
|
|
597
|
-
@versini/ui-textarea v3.0.
|
|
597
|
+
@versini/ui-textarea v3.0.12
|
|
598
598
|
© 2025 gizmette.com
|
|
599
599
|
*/
|
|
600
600
|
try {
|
|
601
601
|
window.__VERSINI_UI_TEXTAREA__ || (window.__VERSINI_UI_TEXTAREA__ = {
|
|
602
|
-
version: "3.0.
|
|
603
|
-
buildTime: "01/
|
|
602
|
+
version: "3.0.12",
|
|
603
|
+
buildTime: "01/25/2025 11:56 AM EST",
|
|
604
604
|
homepage: "https://github.com/aversini/ui-components",
|
|
605
605
|
license: "MIT"
|
|
606
606
|
});
|
|
@@ -794,7 +794,7 @@ function or({
|
|
|
794
794
|
try {
|
|
795
795
|
window.__VERSINI_UI_LIVEREGION__ || (window.__VERSINI_UI_LIVEREGION__ = {
|
|
796
796
|
version: "1.3.7",
|
|
797
|
-
buildTime: "01/
|
|
797
|
+
buildTime: "01/25/2025 11:56 AM EST",
|
|
798
798
|
homepage: "https://github.com/aversini/ui-components",
|
|
799
799
|
license: "MIT"
|
|
800
800
|
});
|
|
@@ -1310,7 +1310,7 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
|
|
|
1310
1310
|
alignHorizontal: "flex-end",
|
|
1311
1311
|
className: "pb-8 sm:pb-0",
|
|
1312
1312
|
children: [
|
|
1313
|
-
/* @__PURE__ */ e(
|
|
1313
|
+
/* @__PURE__ */ e(P, { children: /* @__PURE__ */ e(
|
|
1314
1314
|
X,
|
|
1315
1315
|
{
|
|
1316
1316
|
mode: "dark",
|
|
@@ -1320,7 +1320,7 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
|
|
|
1320
1320
|
children: "Cancel"
|
|
1321
1321
|
}
|
|
1322
1322
|
) }),
|
|
1323
|
-
/* @__PURE__ */ e(
|
|
1323
|
+
/* @__PURE__ */ e(P, { children: /* @__PURE__ */ e(
|
|
1324
1324
|
X,
|
|
1325
1325
|
{
|
|
1326
1326
|
mode: "dark",
|
|
@@ -1344,7 +1344,7 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
|
|
|
1344
1344
|
className: "prose-dark dark:prose-lighter mb-2",
|
|
1345
1345
|
children: [
|
|
1346
1346
|
/* @__PURE__ */ i(q, { className: "mt-8 mb-6", columnGap: 2, rowGap: 6, children: [
|
|
1347
|
-
/* @__PURE__ */ e(
|
|
1347
|
+
/* @__PURE__ */ e(P, { span: 12, children: /* @__PURE__ */ e(
|
|
1348
1348
|
be,
|
|
1349
1349
|
{
|
|
1350
1350
|
label: "Label",
|
|
@@ -1360,7 +1360,7 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
|
|
|
1360
1360
|
}
|
|
1361
1361
|
}
|
|
1362
1362
|
) }),
|
|
1363
|
-
/* @__PURE__ */ e(
|
|
1363
|
+
/* @__PURE__ */ e(P, { span: 12, children: /* @__PURE__ */ e(
|
|
1364
1364
|
be,
|
|
1365
1365
|
{
|
|
1366
1366
|
label: "Content",
|
|
@@ -1503,7 +1503,7 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
|
|
|
1503
1503
|
alignHorizontal: "flex-end",
|
|
1504
1504
|
className: "pb-8 sm:pb-0",
|
|
1505
1505
|
children: [
|
|
1506
|
-
/* @__PURE__ */ e(
|
|
1506
|
+
/* @__PURE__ */ e(P, { children: /* @__PURE__ */ e(
|
|
1507
1507
|
X,
|
|
1508
1508
|
{
|
|
1509
1509
|
mode: "dark",
|
|
@@ -1513,7 +1513,7 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
|
|
|
1513
1513
|
children: "Cancel"
|
|
1514
1514
|
}
|
|
1515
1515
|
) }),
|
|
1516
|
-
/* @__PURE__ */ e(
|
|
1516
|
+
/* @__PURE__ */ e(P, { children: /* @__PURE__ */ e(
|
|
1517
1517
|
X,
|
|
1518
1518
|
{
|
|
1519
1519
|
mode: "dark",
|
|
@@ -1652,7 +1652,7 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
|
|
|
1652
1652
|
}
|
|
1653
1653
|
);
|
|
1654
1654
|
}, _r = () => {
|
|
1655
|
-
const { logout: t } = F(), { state: a } = he(
|
|
1655
|
+
const { logout: t } = F(), { state: a } = he(Pe), [o, n] = C(!1), [r, c] = C(!1), [s, d] = C(!1), [u, f] = C(!1), [p, b] = C(!1), x = () => {
|
|
1656
1656
|
n(!o);
|
|
1657
1657
|
}, l = () => {
|
|
1658
1658
|
c(!r);
|
|
@@ -1665,7 +1665,7 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
|
|
|
1665
1665
|
};
|
|
1666
1666
|
return /* @__PURE__ */ i(z, { children: [
|
|
1667
1667
|
/* @__PURE__ */ e(
|
|
1668
|
-
|
|
1668
|
+
Oe,
|
|
1669
1669
|
{
|
|
1670
1670
|
showConfirmation: p,
|
|
1671
1671
|
setShowConfirmation: b,
|
|
@@ -1682,7 +1682,7 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
|
|
|
1682
1682
|
/* @__PURE__ */ e(Nr, { open: r, onOpenChange: c }),
|
|
1683
1683
|
s && /* @__PURE__ */ e(Ut, { open: s, onOpenChange: d }),
|
|
1684
1684
|
/* @__PURE__ */ e(Vt, { open: u, onOpenChange: f }),
|
|
1685
|
-
/* @__PURE__ */ e("div", { className: "bg-slate-900 py-4 px-4 rounded-t-md", children: /* @__PURE__ */ e(q, { alignHorizontal: "flex-end", alignVertical: "center", children: /* @__PURE__ */ e(
|
|
1685
|
+
/* @__PURE__ */ e("div", { className: "bg-slate-900 py-4 px-4 rounded-t-md", children: /* @__PURE__ */ e(q, { alignHorizontal: "flex-end", alignVertical: "center", children: /* @__PURE__ */ e(P, { children: /* @__PURE__ */ e(q, { children: /* @__PURE__ */ e(P, { children: /* @__PURE__ */ e(
|
|
1686
1686
|
wt,
|
|
1687
1687
|
{
|
|
1688
1688
|
label: "Profile, Settings, etc.",
|
|
@@ -1717,7 +1717,7 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
|
|
|
1717
1717
|
{
|
|
1718
1718
|
label: "History",
|
|
1719
1719
|
onClick: h,
|
|
1720
|
-
icon: /* @__PURE__ */ e(
|
|
1720
|
+
icon: /* @__PURE__ */ e(Ot, {})
|
|
1721
1721
|
}
|
|
1722
1722
|
),
|
|
1723
1723
|
/* @__PURE__ */ e(
|
|
@@ -1725,7 +1725,7 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
|
|
|
1725
1725
|
{
|
|
1726
1726
|
label: "About",
|
|
1727
1727
|
onClick: T,
|
|
1728
|
-
icon: /* @__PURE__ */ e(
|
|
1728
|
+
icon: /* @__PURE__ */ e(Pt, {})
|
|
1729
1729
|
}
|
|
1730
1730
|
),
|
|
1731
1731
|
a && a.id && !a.isComponent && /* @__PURE__ */ i(z, { children: [
|
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.BCDhh50h.js";
|
|
2
2
|
/*!
|
|
3
|
-
@sassysaint/client v6.3.
|
|
3
|
+
@sassysaint/client v6.3.2
|
|
4
4
|
© 2025 gizmette.com
|
|
5
5
|
*/
|
|
6
6
|
try {
|
|
7
7
|
window.__VERSINI_SASSY_GLOBAL__ || (window.__VERSINI_SASSY_GLOBAL__ = {
|
|
8
|
-
version: "6.3.
|
|
9
|
-
buildTime: "01/
|
|
8
|
+
version: "6.3.2",
|
|
9
|
+
buildTime: "01/25/2025 12:37 PM EST",
|
|
10
10
|
license: "MIT"
|
|
11
11
|
});
|
|
12
12
|
} catch {
|