@versini/sassysaint 8.34.2 → 8.35.1
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/{AboutChangelog.1N2d-4TQ.js → AboutChangelog.CXegI5ku.js} +2 -2
- package/dist/chunks/AboutEntry.B7Lg7snn.js +59 -0
- package/dist/chunks/{App.Dx9-zTHB.js → App.B7RCFKR8.js} +477 -462
- package/dist/chunks/{Chart.BZQyCveT.js → Chart.Cu-T9fO-.js} +2 -2
- package/dist/chunks/{ChatBubbleAssistant.CzWEbv8c.js → ChatBubbleAssistant.D2DBE01w.js} +3 -3
- package/dist/chunks/{HistoryEntry.cNivgXUK.js → HistoryEntry.DR1uwD9W.js} +2 -2
- package/dist/chunks/{LNWAZHJI.2ywI9eYE.js → LNWAZHJI.DQbWbXXZ.js} +1 -1
- package/dist/chunks/{ProfileEntry.sDQ3hEDB.js → ProfileEntry.BfqhkGd4.js} +11 -9
- package/dist/chunks/{SettingsEntry.Bxm2vlzw.js → SettingsEntry.DI6otfb9.js} +63 -51
- package/dist/chunks/{UsageEntry.CanqLKxk.js → UsageEntry.DrVt2tZr.js} +18 -16
- package/dist/chunks/{index.DmHrrtXp.js → index.1cJu1izS.js} +1 -1
- package/dist/chunks/{index.B6rltQz_.js → index.C4WQmphz.js} +3 -3
- package/dist/chunks/{index.BWMHqOIQ.js → index.CyPrdoGU.js} +2 -2
- package/dist/chunks/{index.DOg0VpsL.js → index.D4EO-rWf.js} +2 -2
- package/dist/chunks/{index.CC1vk8gw.js → index.DH3RgxqC.js} +1 -1
- package/dist/chunks/{index.CwVOslhQ.js → index.fmA7Znqa.js} +1 -1
- package/dist/chunks/{useMarkdown.DhPC7902.js → useMarkdown.ZnVSxoZ_.js} +6 -6
- package/dist/components/SassySaint/SassySaint.js +1 -1
- package/dist/index.js +4 -4
- package/package.json +3 -3
- package/dist/chunks/AboutEntry.D5y4ZF9S.js +0 -56
@@ -1,7 +1,7 @@
|
|
1
1
|
import { jsx as Tp } from "react/jsx-runtime";
|
2
|
-
import { getDefaultExportFromCjs as ln } from "./App.
|
2
|
+
import { getDefaultExportFromCjs as ln } from "./App.B7RCFKR8.js";
|
3
3
|
import Ap, { useState as Cp, useEffect as Pp } from "react";
|
4
|
-
import { TRIMESTERS as rn, TRIMESTERS_SHORT as Op, isProbablyMobile as Lp } from "./index.
|
4
|
+
import { TRIMESTERS as rn, TRIMESTERS_SHORT as Op, isProbablyMobile as Lp } from "./index.D4EO-rWf.js";
|
5
5
|
var ls = { exports: {} }, Ep = ls.exports, on;
|
6
6
|
function Ip() {
|
7
7
|
return on || (on = 1, function(ve, ne) {
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import { jsx as T } from "react/jsx-runtime";
|
2
|
-
import { ChatContext as b, E as _, Me as N, Oe as S } from "./App.
|
2
|
+
import { ChatContext as b, E as _, Me as N, Oe as S } from "./App.B7RCFKR8.js";
|
3
3
|
import L from "clsx";
|
4
4
|
import k, { useState as E, useRef as g, useEffect as O, useContext as w } from "react";
|
5
|
-
import { LOCAL_STORAGE_PREFIX as F, LOCAL_STORAGE_CHAT_DETAILS as G, convertCamelCaseToReadable as U, numberFormatter as I, pluralize as P, ROLE_INTERNAL as v } from "./index.
|
6
|
-
import { useMarkdown as y } from "./useMarkdown.
|
5
|
+
import { LOCAL_STORAGE_PREFIX as F, LOCAL_STORAGE_CHAT_DETAILS as G, convertCamelCaseToReadable as U, numberFormatter as I, pluralize as P, ROLE_INTERNAL as v } from "./index.D4EO-rWf.js";
|
6
|
+
import { useMarkdown as y } from "./useMarkdown.ZnVSxoZ_.js";
|
7
7
|
const D = 2, j = D * 1e3, h = "", q = (e) => e * (2 - e);
|
8
8
|
function V(e, a = !0) {
|
9
9
|
const [i, C] = E(0), [c, p] = E(0), [t, A] = E(e), r = g(0), s = g(0);
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { jsxs as a, jsx as e, Fragment as te } from "react/jsx-runtime";
|
2
|
-
import { I as H, n as j, INFINITE_SCROLL_LIMIT as P, INFINITE_SCROLL_THRESHOLD as V, LOCAL_STORAGE_PREFIX as q, LOCAL_STORAGE_SORT as se, APP_CLASSNAME as ae, numberFormatter as re, ue as z, CARDS as oe, pluralize as ne, ACTION_SORT as $, isProbablyMobile as ce, TOAST_CHAT_DELETED as ie, TOAST_PROVIDER_CHANGED as le, LOCAL_STORAGE_SEARCH as de, HISTORY_TITLE as me, pe as he, debounce as ue, ACTION_SEARCH as pe } from "./index.
|
3
|
-
import { HistoryContext as W, ChatContext as X, useAiChat as Ce, E as J, useUserPreferences as ge, ConfirmationPanel as ye, LazyToastContainerWrapper as Se, De as xe, He as fe, qe as R, Pe as n, Ye as F, Ge as Te, k as ve, a as we, p as De, p$1 as Ee, st as U, Fe as Ne, mutateCall as G, SERVICE_TYPES as Y, showErrorToast as Ae, E$1 as f, O as Ie, n as be,
|
2
|
+
import { I as H, n as j, INFINITE_SCROLL_LIMIT as P, INFINITE_SCROLL_THRESHOLD as V, LOCAL_STORAGE_PREFIX as q, LOCAL_STORAGE_SORT as se, APP_CLASSNAME as ae, numberFormatter as re, ue as z, CARDS as oe, pluralize as ne, ACTION_SORT as $, isProbablyMobile as ce, TOAST_CHAT_DELETED as ie, TOAST_PROVIDER_CHANGED as le, LOCAL_STORAGE_SEARCH as de, HISTORY_TITLE as me, pe as he, debounce as ue, ACTION_SEARCH as pe } from "./index.D4EO-rWf.js";
|
3
|
+
import { HistoryContext as W, ChatContext as X, useAiChat as Ce, E as J, useUserPreferences as ge, ConfirmationPanel as ye, LazyToastContainerWrapper as Se, De as xe, He as fe, qe as R, Pe as n, Ye as F, Ge as Te, k as ve, a as we, p as De, p$1 as Ee, st as U, Fe as Ne, mutateCall as G, SERVICE_TYPES as Y, showErrorToast as Ae, E$1 as f, O as Ie, n as be, t as ke, setNewProvider as Re, CHAT_SET_PROVIDER as ze, showSuccessToast as _e, CHAT_SET_STATUS as Le, useChatsHistory as He, tt as Oe, a$1 as Me } from "./App.B7RCFKR8.js";
|
4
4
|
import { useRef as _, useState as A, useContext as I, useCallback as Be, useEffect as L, Fragment as Pe } from "react";
|
5
5
|
const Ve = ({
|
6
6
|
className: r,
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { createContext as xe, createSignal as z, onMount as Dt, createEffect as B, createMemo as q, createComponent as m, Portal as qo, memo as me, Show as R, template as _, insert as k, createRenderEffect as N, className as A, clearDelegatedEvents as bs, delegateEvents as ir, useContext as we, onCleanup as U, sortFns as Hn, mutationSortFns as Vn, on as ct, setAttribute as D, getSidedProp as xs, use as Dn, batch as ws, getQueryStatusLabel as Ot, getMutationStatusColor as Rt, getQueryStatusColor as $s, getQueryStatusColorByLabel as Cs, displayValue as xn, For as Ss, convertRemToPixels as Kr, untrack as Kt, useTransition as ks, spread as Es, mergeProps as j, createRoot as Br, serialize as Ms, Index as Ds, updateNestedDataByPath as sr, addEventListener as As, stringify as Ts, Match as zn, Switch as Fs, deleteNestedDataByPath as Is, createUniqueId as Be, splitProps as X, Dynamic as Ps, createComputed as Ls, getPreferredColorScheme as Os } from "./index.
|
1
|
+
import { createContext as xe, createSignal as z, onMount as Dt, createEffect as B, createMemo as q, createComponent as m, Portal as qo, memo as me, Show as R, template as _, insert as k, createRenderEffect as N, className as A, clearDelegatedEvents as bs, delegateEvents as ir, useContext as we, onCleanup as U, sortFns as Hn, mutationSortFns as Vn, on as ct, setAttribute as D, getSidedProp as xs, use as Dn, batch as ws, getQueryStatusLabel as Ot, getMutationStatusColor as Rt, getQueryStatusColor as $s, getQueryStatusColorByLabel as Cs, displayValue as xn, For as Ss, convertRemToPixels as Kr, untrack as Kt, useTransition as ks, spread as Es, mergeProps as j, createRoot as Br, serialize as Ms, Index as Ds, updateNestedDataByPath as sr, addEventListener as As, stringify as Ts, Match as zn, Switch as Fs, deleteNestedDataByPath as Is, createUniqueId as Be, splitProps as X, Dynamic as Ps, createComputed as Ls, getPreferredColorScheme as Os } from "./index.D4EO-rWf.js";
|
2
2
|
var qs = (e) => e != null, _s = (e) => e.filter(qs);
|
3
3
|
function Rs(e) {
|
4
4
|
return (...t) => {
|
@@ -1,36 +1,38 @@
|
|
1
1
|
import { jsxs as n, Fragment as m, jsx as e } from "react/jsx-runtime";
|
2
|
-
import { i as h, nt as S, tt as R } from "./App.
|
3
|
-
import { n as N, S as E, renderDataAsList as P, CARDS as r, isTauri as
|
2
|
+
import { i as h, nt as S, tt as R } from "./App.B7RCFKR8.js";
|
3
|
+
import { n as N, S as E, renderDataAsList as P, CARDS as r, isTauri as u, ue as T, l, L as p, j as o, PROFILE_TITLE as C } from "./index.D4EO-rWf.js";
|
4
4
|
const A = () => {
|
5
|
-
const { isAuthenticated: t, user: i, registeringForPasskey:
|
5
|
+
const { isAuthenticated: t, user: i, registeringForPasskey: a, authenticationType: c } = N(), d = h(), s = i?.username || "";
|
6
6
|
return t && s ? /* @__PURE__ */ n(m, { children: [
|
7
7
|
/* @__PURE__ */ e(
|
8
8
|
E,
|
9
9
|
{
|
10
10
|
header: r.PREFERENCES.TITLE,
|
11
11
|
className: "prose-dark dark:prose-lighter",
|
12
|
+
noBorder: !0,
|
12
13
|
children: P(d, {
|
13
14
|
[r.PREFERENCES.NAME]: s,
|
14
15
|
[r.PREFERENCES.EMAIL]: i?.email || ""
|
15
16
|
})
|
16
17
|
}
|
17
18
|
),
|
18
|
-
|
19
|
+
c !== S.PASSKEY && !u() && /* @__PURE__ */ n(
|
19
20
|
E,
|
20
21
|
{
|
21
22
|
className: "prose-dark dark:prose-lighter mt-4",
|
22
|
-
|
23
|
-
|
24
|
-
/* @__PURE__ */ e(
|
23
|
+
noBorder: !0,
|
24
|
+
header: /* @__PURE__ */ e("h2", { className: "m-0", children: /* @__PURE__ */ n(p, { columnGap: 3, alignVertical: "center", children: [
|
25
|
+
/* @__PURE__ */ e(o, { children: /* @__PURE__ */ e(l, { size: "size-8" }) }),
|
26
|
+
/* @__PURE__ */ e(o, { children: /* @__PURE__ */ e("div", { children: r.PREFERENCES.PASSKEY_TITLE }) })
|
25
27
|
] }) }),
|
26
28
|
children: [
|
27
29
|
/* @__PURE__ */ e("p", { children: r.PREFERENCES.PASSKEY_INSTRUCTIONS }),
|
28
30
|
/* @__PURE__ */ e(
|
29
|
-
|
31
|
+
T,
|
30
32
|
{
|
31
33
|
size: "small",
|
32
34
|
className: "mt-2",
|
33
|
-
onClick:
|
35
|
+
onClick: a,
|
34
36
|
labelLeft: r.PREFERENCES.PASSKEY_BUTTON,
|
35
37
|
children: /* @__PURE__ */ e(l, { size: "size-5", monotone: !0 })
|
36
38
|
}
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import { jsxs as v, jsx as s } from "react/jsx-runtime";
|
2
|
-
import { n as Ee, LOCAL_STORAGE_PREFIX as ne, LOCAL_STORAGE_CHAT_DETAILS as Te, LOCAL_STORAGE_SERVICE_WORKER as Ne, isServiceWorkerEnabled as ve, SETTINGS_TITLE as _e, S as V, CARDS as P, APP_NAME as we, C as re, PROMPTS_DESCRIPTION as Ce, L as Se, j as se, getCurrentGeoLocation as Ie, handleServiceWorkerToggle as Ae } from "./index.
|
3
|
-
import { useUserPreferences as Le, E as le, tt as Re, mutateCall as ce, SERVICE_TYPES as ie } from "./App.
|
2
|
+
import { n as Ee, LOCAL_STORAGE_PREFIX as ne, LOCAL_STORAGE_CHAT_DETAILS as Te, LOCAL_STORAGE_SERVICE_WORKER as Ne, isServiceWorkerEnabled as ve, SETTINGS_TITLE as _e, S as V, CARDS as P, APP_NAME as we, C as re, PROMPTS_DESCRIPTION as Ce, L as Se, j as se, getCurrentGeoLocation as Ie, handleServiceWorkerToggle as Ae } from "./index.D4EO-rWf.js";
|
3
|
+
import { useUserPreferences as Le, E as le, tt as Re, mutateCall as ce, SERVICE_TYPES as ie } from "./App.B7RCFKR8.js";
|
4
4
|
import Oe, { useRef as _, useState as g, useLayoutEffect as j, useMemo as me, useEffect as X, useId as Me, useReducer as De, useCallback as Pe } from "react";
|
5
5
|
import i from "clsx";
|
6
|
-
const fe = "av-text-area",
|
6
|
+
const fe = "av-text-area", Be = "av-text-area-wrapper", ae = "av-text-area-helper-text", Ge = "av-text-area__control--right", He = "av-text-area__control--left";
|
7
7
|
function Ue() {
|
8
8
|
const e = _(!1);
|
9
9
|
return X(() => (e.current = !0, () => {
|
@@ -297,7 +297,7 @@ const Ke = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
|
|
297
297
|
}) => {
|
298
298
|
const p = r ? e : i(
|
299
299
|
"relative flex w-full flex-col justify-center",
|
300
|
-
|
300
|
+
Be,
|
301
301
|
e
|
302
302
|
), b = r ? i(a) : i(
|
303
303
|
fe,
|
@@ -324,7 +324,7 @@ const Ke = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
|
|
324
324
|
raw: r,
|
325
325
|
mode: d,
|
326
326
|
disabled: t
|
327
|
-
}), I = r ? void 0 : i(
|
327
|
+
}), I = r ? void 0 : i(Ge, "absolute"), k = r ? void 0 : i(He, "absolute");
|
328
328
|
return {
|
329
329
|
wrapper: p,
|
330
330
|
textArea: b,
|
@@ -375,7 +375,7 @@ const Ke = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
|
|
375
375
|
onBlur: F,
|
376
376
|
...q
|
377
377
|
}, K) => {
|
378
|
-
const x = _(null), J = Ve([K, x]), [Z,
|
378
|
+
const x = _(null), J = Ve([K, x]), [Z, G] = de(), [Q, A] = de(), W = _(80), z = _(-25), L = _(null), n = _(30), h = _(null), E = We({ id: e, prefix: `${fe}-` }), [H, R] = g(0), [y, T] = g(0), [M, U] = g(
|
379
379
|
!!(!I && f)
|
380
380
|
), ee = `${a} error, ${f}`, D = rt({
|
381
381
|
className: l,
|
@@ -407,8 +407,8 @@ const Ke = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
|
|
407
407
|
I && f && !O && U(!1), F && F(N);
|
408
408
|
};
|
409
409
|
return j(() => {
|
410
|
-
|
411
|
-
}, [
|
410
|
+
G && G.width && R(G.width + 18 + 10);
|
411
|
+
}, [G]), j(() => {
|
412
412
|
A && A.width && T(A.width + 18 + 10);
|
413
413
|
}, [A]), j(() => {
|
414
414
|
t || x && x.current && O !== void 0 && (x.current.style.height = "inherit", x.current.style.height = x.current.scrollHeight + "px");
|
@@ -468,11 +468,11 @@ const Ke = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
|
|
468
468
|
rows: 1,
|
469
469
|
...f && { "aria-describedby": `${E}-helper` },
|
470
470
|
...o && { "aria-invalid": "true" },
|
471
|
-
...k && !C && !t && { style: { paddingRight:
|
471
|
+
...k && !C && !t && { style: { paddingRight: H } },
|
472
472
|
...C && !k && !t && { style: { paddingLeft: y } },
|
473
473
|
...k && C && !t && {
|
474
474
|
style: {
|
475
|
-
paddingRight:
|
475
|
+
paddingRight: H,
|
476
476
|
paddingLeft: y
|
477
477
|
}
|
478
478
|
},
|
@@ -597,7 +597,7 @@ const ot = "av-toggle", nt = () => i("peer", "h-6", "w-11", "rounded-full"), st
|
|
597
597
|
label: dt({ mode: e, labelHidden: r }),
|
598
598
|
input: "peer sr-only",
|
599
599
|
wrapper: ut({ className: o })
|
600
|
-
}),
|
600
|
+
}), B = ({
|
601
601
|
checked: e = !1,
|
602
602
|
onChange: a,
|
603
603
|
label: r,
|
@@ -670,7 +670,7 @@ const bt = ({
|
|
670
670
|
K(n);
|
671
671
|
}, Z = (n) => {
|
672
672
|
k(n);
|
673
|
-
},
|
673
|
+
}, G = (n) => {
|
674
674
|
$(n);
|
675
675
|
}, Q = async (n) => {
|
676
676
|
x(n), F(n), await Ae(n);
|
@@ -724,17 +724,17 @@ const bt = ({
|
|
724
724
|
enabled: n = !1,
|
725
725
|
privateChat: h = !1,
|
726
726
|
clipboardAccess: E = !1,
|
727
|
-
...
|
727
|
+
...H
|
728
728
|
}) => {
|
729
729
|
p((R) => {
|
730
730
|
const y = R.prompts, T = {
|
731
|
-
...
|
731
|
+
...H,
|
732
732
|
enabled: n,
|
733
733
|
privateChat: h,
|
734
734
|
clipboardAccess: E
|
735
735
|
};
|
736
736
|
E ? T.content = T.content.replace(/{{clipboard}}/g, "") + " {{clipboard}}" : T.content = T.content.replace(/{{clipboard}}/g, "");
|
737
|
-
const M = y.findIndex((U) => U.slot ===
|
737
|
+
const M = y.findIndex((U) => U.slot === H.slot);
|
738
738
|
return M === -1 ? {
|
739
739
|
...R,
|
740
740
|
prompts: [...y, { ...T }]
|
@@ -790,10 +790,11 @@ const bt = ({
|
|
790
790
|
{
|
791
791
|
header: P.SETTINGS_DETAILS.TITLE,
|
792
792
|
className: "prose-dark dark:prose-lighter",
|
793
|
+
noBorder: !0,
|
793
794
|
children: [
|
794
795
|
/* @__PURE__ */ s("p", { className: "text-sm", children: P.SETTINGS_DETAILS.DETAILS }),
|
795
796
|
/* @__PURE__ */ s(
|
796
|
-
|
797
|
+
B,
|
797
798
|
{
|
798
799
|
className: "mt-2",
|
799
800
|
label: "Show Message Statistics",
|
@@ -804,7 +805,7 @@ const bt = ({
|
|
804
805
|
),
|
805
806
|
/* @__PURE__ */ s("p", { className: "text-sm mt-5", children: P.SETTINGS_DETAILS.SEND_ON_ENTER }),
|
806
807
|
/* @__PURE__ */ s(
|
807
|
-
|
808
|
+
B,
|
808
809
|
{
|
809
810
|
className: "mt-2",
|
810
811
|
label: "Send Message on Enter",
|
@@ -815,12 +816,12 @@ const bt = ({
|
|
815
816
|
),
|
816
817
|
/* @__PURE__ */ s("p", { className: "text-sm mt-5", children: P.SETTINGS_DETAILS.USE_MEMORY }),
|
817
818
|
/* @__PURE__ */ s(
|
818
|
-
|
819
|
+
B,
|
819
820
|
{
|
820
821
|
className: "mt-2",
|
821
822
|
label: "Use Memory",
|
822
823
|
name: "use-memory",
|
823
|
-
onChange:
|
824
|
+
onChange: G,
|
824
825
|
checked: C
|
825
826
|
}
|
826
827
|
)
|
@@ -832,6 +833,7 @@ const bt = ({
|
|
832
833
|
{
|
833
834
|
header: "Custom Instructions",
|
834
835
|
className: "prose-dark dark:prose-lighter mt-4",
|
836
|
+
noBorder: !0,
|
835
837
|
children: [
|
836
838
|
/* @__PURE__ */ v("p", { className: "text-sm", children: [
|
837
839
|
"What would you like ",
|
@@ -857,43 +859,52 @@ const bt = ({
|
|
857
859
|
]
|
858
860
|
}
|
859
861
|
),
|
860
|
-
/* @__PURE__ */ v(
|
861
|
-
|
862
|
-
|
863
|
-
|
864
|
-
|
865
|
-
|
866
|
-
|
867
|
-
|
868
|
-
|
869
|
-
|
870
|
-
|
871
|
-
|
872
|
-
|
873
|
-
|
874
|
-
|
875
|
-
|
876
|
-
|
877
|
-
|
878
|
-
|
879
|
-
|
880
|
-
|
881
|
-
|
882
|
-
|
883
|
-
|
884
|
-
|
885
|
-
|
886
|
-
|
887
|
-
|
862
|
+
/* @__PURE__ */ v(
|
863
|
+
V,
|
864
|
+
{
|
865
|
+
header: "Location",
|
866
|
+
className: "prose-dark dark:prose-lighter mt-4",
|
867
|
+
noBorder: !0,
|
868
|
+
children: [
|
869
|
+
/* @__PURE__ */ s("p", { className: "text-sm", children: "You can share your location to receive customized responses based on your area." }),
|
870
|
+
/* @__PURE__ */ s(
|
871
|
+
oe,
|
872
|
+
{
|
873
|
+
mode: "alt-system",
|
874
|
+
name: "location",
|
875
|
+
label: "Location",
|
876
|
+
value: w,
|
877
|
+
onChange: (n) => {
|
878
|
+
f(n.target.value);
|
879
|
+
},
|
880
|
+
helperText: "Enter your location or press auto-detect."
|
881
|
+
}
|
882
|
+
),
|
883
|
+
/* @__PURE__ */ s(
|
884
|
+
re,
|
885
|
+
{
|
886
|
+
className: "mt-2",
|
887
|
+
size: "small",
|
888
|
+
noBorder: !0,
|
889
|
+
variant: "secondary",
|
890
|
+
disabled: d.loadingLocation,
|
891
|
+
onClick: W,
|
892
|
+
children: d.loadingLocation ? "Detecting..." : "Auto-detect"
|
893
|
+
}
|
894
|
+
)
|
895
|
+
]
|
896
|
+
}
|
897
|
+
),
|
888
898
|
/* @__PURE__ */ v(
|
889
899
|
V,
|
890
900
|
{
|
891
901
|
header: P.SETTINGS_CACHING.TITLE,
|
892
902
|
className: "prose-dark dark:prose-lighter mt-4",
|
903
|
+
noBorder: !0,
|
893
904
|
children: [
|
894
905
|
/* @__PURE__ */ s("p", { className: "text-sm", children: P.SETTINGS_CACHING.DESCRIPTION }),
|
895
906
|
/* @__PURE__ */ s(
|
896
|
-
|
907
|
+
B,
|
897
908
|
{
|
898
909
|
className: "mt-2",
|
899
910
|
label: "Enable Assets Caching",
|
@@ -910,6 +921,7 @@ const bt = ({
|
|
910
921
|
{
|
911
922
|
header: P.SETTINGS_PROMPTS.TITLE,
|
912
923
|
className: "prose-dark dark:prose-lighter mt-4",
|
924
|
+
noBorder: !0,
|
913
925
|
children: [
|
914
926
|
/* @__PURE__ */ s("p", { className: "text-sm", children: Ce }),
|
915
927
|
m.prompts && m.prompts.slice(0, 3).map((n) => /* @__PURE__ */ v(
|
@@ -922,7 +934,7 @@ const bt = ({
|
|
922
934
|
children: [
|
923
935
|
/* @__PURE__ */ s("p", { className: "text-sm", children: n.description }),
|
924
936
|
/* @__PURE__ */ s(
|
925
|
-
|
937
|
+
B,
|
926
938
|
{
|
927
939
|
mode: "dark",
|
928
940
|
className: "mt-2",
|
@@ -939,7 +951,7 @@ const bt = ({
|
|
939
951
|
}
|
940
952
|
),
|
941
953
|
/* @__PURE__ */ s(
|
942
|
-
|
954
|
+
B,
|
943
955
|
{
|
944
956
|
mode: "dark",
|
945
957
|
className: "mt-2",
|
@@ -956,7 +968,7 @@ const bt = ({
|
|
956
968
|
}
|
957
969
|
),
|
958
970
|
/* @__PURE__ */ s(
|
959
|
-
|
971
|
+
B,
|
960
972
|
{
|
961
973
|
mode: "dark",
|
962
974
|
className: "mt-2",
|
@@ -1,15 +1,15 @@
|
|
1
1
|
import { jsxs as l, jsx as e } from "react/jsx-runtime";
|
2
|
-
import { n as f, USAGE_TITLE as U, S as T, renderDataAsList as v, CARDS as n, L as E, j as L, C as S, pluralize as i } from "./index.
|
3
|
-
import { i as M, useUserChatStats as _, useChatsUsage as D, tt as z } from "./App.
|
4
|
-
import { useState as O, Suspense as P, lazy as
|
5
|
-
const
|
2
|
+
import { n as f, USAGE_TITLE as U, S as T, renderDataAsList as v, CARDS as n, L as E, j as L, C as S, pluralize as i } from "./index.D4EO-rWf.js";
|
3
|
+
import { i as M, useUserChatStats as _, useChatsUsage as D, tt as z } from "./App.B7RCFKR8.js";
|
4
|
+
import { useState as O, Suspense as P, lazy as B } from "react";
|
5
|
+
const t = [0, 3, 6, 9], j = B(() => import(
|
6
6
|
/* webpackChunkName: "LazyChart" */
|
7
|
-
"./Chart.
|
7
|
+
"./Chart.Cu-T9fO-.js"
|
8
8
|
)), w = ({
|
9
9
|
open: m,
|
10
10
|
onOpenChange: I
|
11
11
|
}) => {
|
12
|
-
const { getAccessToken: d, user: u } = f(), p = M(), { data:
|
12
|
+
const { getAccessToken: d, user: u } = f(), p = M(), { data: s, isSuccess: A } = _({
|
13
13
|
user: u?.username,
|
14
14
|
getAccessToken: d
|
15
15
|
}), { data: r, isSuccess: g } = D({
|
@@ -17,12 +17,12 @@ const s = [0, 3, 6, 9], G = j(() => import(
|
|
17
17
|
getAccessToken: d
|
18
18
|
}), C = Math.floor((/* @__PURE__ */ new Date()).getMonth() / 3) * 3, [a, h] = O(C), x = (o) => {
|
19
19
|
o.preventDefault();
|
20
|
-
const c = (
|
21
|
-
h(
|
20
|
+
const c = (t.indexOf(a) + 1) % t.length;
|
21
|
+
h(t[c]);
|
22
22
|
}, k = (o) => {
|
23
23
|
o.preventDefault();
|
24
|
-
const c = (
|
25
|
-
h(
|
24
|
+
const c = (t.indexOf(a) - 1 + t.length) % t.length;
|
25
|
+
h(t[c]);
|
26
26
|
};
|
27
27
|
return /* @__PURE__ */ l(z, { open: m, onOpenChange: I, title: U, children: [
|
28
28
|
/* @__PURE__ */ e(
|
@@ -30,18 +30,19 @@ const s = [0, 3, 6, 9], G = j(() => import(
|
|
30
30
|
{
|
31
31
|
header: n.MAIN_STATISTICS.TITLE,
|
32
32
|
className: "prose-dark dark:prose-lighter min-h-[170px]",
|
33
|
+
noBorder: !0,
|
33
34
|
children: A ? v(
|
34
35
|
p,
|
35
36
|
{
|
36
|
-
[i(n.MAIN_STATISTICS.TOTAL,
|
37
|
+
[i(n.MAIN_STATISTICS.TOTAL, s.totalChats)]: s.totalChats,
|
37
38
|
[i(
|
38
39
|
n.MAIN_STATISTICS.TOTAL_PRIVATE,
|
39
|
-
|
40
|
-
)]:
|
40
|
+
s.privateChats
|
41
|
+
)]: s.privateChats,
|
41
42
|
[i(
|
42
43
|
n.MAIN_STATISTICS.TOTAL_DELETED,
|
43
|
-
|
44
|
-
)]:
|
44
|
+
s.deletedChats
|
45
|
+
)]: s.deletedChats
|
45
46
|
},
|
46
47
|
!0
|
47
48
|
) : null
|
@@ -52,9 +53,10 @@ const s = [0, 3, 6, 9], G = j(() => import(
|
|
52
53
|
{
|
53
54
|
header: n.MAIN_STATISTICS.USAGE,
|
54
55
|
className: "prose-dark dark:prose-lighter mt-4 min-h-[535px]",
|
56
|
+
noBorder: !0,
|
55
57
|
children: g && r && r.tokenUsage && r.tokenUsage.series && r.tokenUsage.series.length ? /* @__PURE__ */ l(P, { fallback: /* @__PURE__ */ e("div", {}), children: [
|
56
58
|
/* @__PURE__ */ e("div", { className: "pt-4" }),
|
57
|
-
/* @__PURE__ */ e(
|
59
|
+
/* @__PURE__ */ e(j, { tokenUsage: r.tokenUsage.series, page: a }),
|
58
60
|
/* @__PURE__ */ e(E, { className: "mt-2", alignHorizontal: "center", children: /* @__PURE__ */ l(L, { children: [
|
59
61
|
/* @__PURE__ */ e(
|
60
62
|
S,
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { getDefaultExportFromCjs as kn } from "./App.
|
2
|
-
import { visit as In } from "./useMarkdown.
|
3
|
-
import { toText as Cn } from "./index.
|
1
|
+
import { getDefaultExportFromCjs as kn } from "./App.B7RCFKR8.js";
|
2
|
+
import { visit as In } from "./useMarkdown.ZnVSxoZ_.js";
|
3
|
+
import { toText as Cn } from "./index.1cJu1izS.js";
|
4
4
|
function xn(e) {
|
5
5
|
const t = e.regex, i = e.COMMENT("//", "$", { contains: [{ begin: /\\\n/ }] }), a = "decltype\\(auto\\)", r = "[a-zA-Z_]\\w*::", d = "(?!struct)(" + a + "|" + t.optional(r) + "[a-zA-Z_]\\w*" + t.optional("<[^<>]+>") + ")", c = {
|
6
6
|
className: "type",
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { find as Aa, parse as Ft, parse$1 as Ht, normalize as Pt, html as Ta, svg as Ba, visitParents as Na, SKIP as Da } from "./useMarkdown.
|
2
|
-
import { toText as Ca } from "./index.
|
1
|
+
import { find as Aa, parse as Ft, parse$1 as Ht, normalize as Pt, html as Ta, svg as Ba, visitParents as Na, SKIP as Da } from "./useMarkdown.ZnVSxoZ_.js";
|
2
|
+
import { toText as Ca } from "./index.1cJu1izS.js";
|
3
3
|
const Gt = /[#.]/g;
|
4
4
|
function qa(r, e) {
|
5
5
|
const t = r || "", a = {};
|
@@ -3078,7 +3078,7 @@ var gu = (e, t = !1) => {
|
|
3078
3078
|
const t = Li(() => {
|
3079
3079
|
const r = this, [n] = this.#i, [s] = this.#c, [i] = this.#l, [o] = this.#u, [a] = this.#f, [c] = this.#e;
|
3080
3080
|
let d;
|
3081
|
-
return this.#d ? d = this.#d : (d = Ii(() => import("./LNWAZHJI.
|
3081
|
+
return this.#d ? d = this.#d : (d = Ii(() => import("./LNWAZHJI.DQbWbXXZ.js")), this.#d = d), Ca(this.#o, this.#a), Ei(d, Ti({
|
3082
3082
|
get queryFlavor() {
|
3083
3083
|
return r.#r;
|
3084
3084
|
},
|
@@ -7338,7 +7338,7 @@ Press Ctrl+Enter to send it or Enter for new line.`, ud = "{{clipboard}}", M = "
|
|
7338
7338
|
);
|
7339
7339
|
}, Fl = new URL(document.location.href).searchParams, on = !!Fl.get("debug") || !1, Kl = Ds(() => import(
|
7340
7340
|
/* webpackChunkName: "LazyApp" */
|
7341
|
-
"./App.
|
7341
|
+
"./App.B7RCFKR8.js"
|
7342
7342
|
).then((e) => e.App)), Hl = new si(), cn = ({
|
7343
7343
|
isComponent: e,
|
7344
7344
|
headerHeight: t
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { convert as se, visitParents as Me, unicodeWhitespace as I, unicodePunctuation as N, normalizeIdentifier as _, classifyCharacter as W, visit as _e, toString as ce, EXIT as Oe, asciiAlphanumeric as Z, asciiAlpha as P, markdownLineEndingOrSpace as A, asciiControl as je, blankLine as Be, factorySpace as S, splice as q, resolveAll as We, markdownLineEnding as R, markdownSpace as T, combineExtensions as $e } from "./useMarkdown.
|
1
|
+
import { convert as se, visitParents as Me, unicodeWhitespace as I, unicodePunctuation as N, normalizeIdentifier as _, classifyCharacter as W, visit as _e, toString as ce, EXIT as Oe, asciiAlphanumeric as Z, asciiAlpha as P, markdownLineEndingOrSpace as A, asciiControl as je, blankLine as Be, factorySpace as S, splice as q, resolveAll as We, markdownLineEnding as R, markdownSpace as T, combineExtensions as $e } from "./useMarkdown.ZnVSxoZ_.js";
|
2
2
|
import { longestStreak as qe } from "./index.Cyw5OC0t.js";
|
3
3
|
function ne(e, n) {
|
4
4
|
const t = String(e);
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import * as rn from "react/jsx-runtime";
|
2
2
|
import { jsx as ae, jsxs as Pn, Fragment as Ir } from "react/jsx-runtime";
|
3
|
-
import { ue as Tr, isTauri as Pr, unObfuscate as Ar, obfuscate as zr } from "./index.
|
3
|
+
import { ue as Tr, isTauri as Pr, unObfuscate as Ar, obfuscate as zr } from "./index.D4EO-rWf.js";
|
4
4
|
import Lr, { useState as Lt, useEffect as _t, useCallback as vt, useRef as Re } from "react";
|
5
|
-
import { getDefaultExportFromCjs as Nt } from "./App.
|
5
|
+
import { getDefaultExportFromCjs as Nt } from "./App.B7RCFKR8.js";
|
6
6
|
import _r from "clsx";
|
7
7
|
const Rt = ({
|
8
8
|
children: e,
|
@@ -6897,7 +6897,7 @@ class su {
|
|
6897
6897
|
if (!this.remarkGfm) {
|
6898
6898
|
const { default: n } = await import(
|
6899
6899
|
/* webpackChunkName: "LazyRemarkGfm" */
|
6900
|
-
"./index.
|
6900
|
+
"./index.DH3RgxqC.js"
|
6901
6901
|
);
|
6902
6902
|
this.remarkGfm = n;
|
6903
6903
|
}
|
@@ -6908,7 +6908,7 @@ class su {
|
|
6908
6908
|
mu("https://cdn.jsdelivr.net/npm/katex@latest/dist/katex.min.css");
|
6909
6909
|
const { default: n } = await import(
|
6910
6910
|
/* webpackChunkName: "LazyRehypeKatex" */
|
6911
|
-
"./index.
|
6911
|
+
"./index.CyPrdoGU.js"
|
6912
6912
|
);
|
6913
6913
|
this.rehypeKatex = n;
|
6914
6914
|
}
|
@@ -6918,7 +6918,7 @@ class su {
|
|
6918
6918
|
if (!this.remarkMath) {
|
6919
6919
|
const { default: n } = await import(
|
6920
6920
|
/* webpackChunkName: "LazyRemarkMath" */
|
6921
|
-
"./index.
|
6921
|
+
"./index.fmA7Znqa.js"
|
6922
6922
|
);
|
6923
6923
|
this.remarkMath = n;
|
6924
6924
|
}
|
@@ -6928,7 +6928,7 @@ class su {
|
|
6928
6928
|
if (!this.rehypeHighlight) {
|
6929
6929
|
const { default: n } = await import(
|
6930
6930
|
/* webpackChunkName: "LazyRehypeHighlight" */
|
6931
|
-
"./index.
|
6931
|
+
"./index.C4WQmphz.js"
|
6932
6932
|
);
|
6933
6933
|
this.rehypeHighlight = n;
|
6934
6934
|
}
|
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.D4EO-rWf.js";
|
2
2
|
/*!
|
3
|
-
@sassysaint/client v8.
|
3
|
+
@sassysaint/client v8.35.1
|
4
4
|
© 2025 gizmette.com
|
5
5
|
*/
|
6
6
|
try {
|
7
7
|
window.__VERSINI_SASSY_GLOBAL__ || (window.__VERSINI_SASSY_GLOBAL__ = {
|
8
|
-
version: "8.
|
9
|
-
buildTime: "08/
|
8
|
+
version: "8.35.1",
|
9
|
+
buildTime: "08/08/2025 10:53 AM EDT",
|
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": "8.
|
3
|
+
"version": "8.35.1",
|
4
4
|
"license": "MIT",
|
5
5
|
"author": "Arno Versini",
|
6
6
|
"publishConfig": {
|
@@ -31,7 +31,7 @@
|
|
31
31
|
"react-dom": "^18.3.1 || ^19.0.0"
|
32
32
|
},
|
33
33
|
"devDependencies": {
|
34
|
-
"@sassysaint/client": "8.
|
34
|
+
"@sassysaint/client": "8.35.1",
|
35
35
|
"@tailwindcss/vite": "4.1.11",
|
36
36
|
"@versini/ui-styles": "6.0.0"
|
37
37
|
},
|
@@ -43,5 +43,5 @@
|
|
43
43
|
"sideEffects": [
|
44
44
|
"**/*.css"
|
45
45
|
],
|
46
|
-
"gitHead": "
|
46
|
+
"gitHead": "18adc2e2e0af0d3c2cb50fcbcadccb8918a17986"
|
47
47
|
}
|