@versini/sassysaint 5.5.21 → 5.5.22
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.DhOL7eGv.js → App.DFYxrY2K.js} +3 -3
- package/dist/chunks/{HeaderToolbar.B4yR6iL0.js → HeaderToolbar.BGU_AqIy.js} +58 -56
- package/dist/chunks/{MarkdownWithExtra.BV7XoKnH.js → MarkdownWithExtra.AvaIS-YD.js} +2 -2
- package/dist/chunks/{MessageAssistant.Dv5-gw8Q.js → MessageAssistant.CBCztfay.js} +3 -3
- package/dist/chunks/{index.CEwE7VpW.js → index.DCj2DcOk.js} +1 -1
- package/dist/components/SassySaint/SassySaint.js +1 -1
- package/dist/index.js +4 -4
- package/package.json +3 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as v, jsx as l, Fragment as Y } from "react/jsx-runtime";
|
|
2
|
-
import { g as ge, ACTION_RESTORE as At, ACTION_MESSAGE as q, ROLE_ASSISTANT as K, ACTION_RESET as qe, ACTION_MODEL as Ke, ACTION_ENGINE as Je, ACTION_STREAMING as Qe, ACTION_SORT as Lt, ACTION_SEARCH as Mt, ACTION_SET_PROMPTS as Xe, ACTION_RESET_PROMPTS as Ye, ACTION_TOGGLE_PROMPT as Ze, DEFAULT_AI_ENGINE as U, P as et, un as Z, ROLE_SYSTEM as zt, ROLE_INTERNAL as he, ROLE_HIDDEN as Ot, STATS_SEPARATOR as Be, CLIPBOARD_PROMPT as Ae, TYPE_QUESTION as Ut, C as tt, SEND as Pt, ERROR_MESSAGE as Dt, ROLE_USER as le, L as Vt, j as Ht, isLastMessageFromRole as Ft, getMessageContaintWrapperClass as Gt, Logo as Wt, getMainPaddingClass as Le, r as jt, LOCAL_STORAGE_PREFIX as Me, LOCAL_STORAGE_SEARCH as qt, LOCAL_STORAGE_SORT as Kt } from "./index.
|
|
2
|
+
import { g as ge, ACTION_RESTORE as At, ACTION_MESSAGE as q, ROLE_ASSISTANT as K, ACTION_RESET as qe, ACTION_MODEL as Ke, ACTION_ENGINE as Je, ACTION_STREAMING as Qe, ACTION_SORT as Lt, ACTION_SEARCH as Mt, ACTION_SET_PROMPTS as Xe, ACTION_RESET_PROMPTS as Ye, ACTION_TOGGLE_PROMPT as Ze, DEFAULT_AI_ENGINE as U, P as et, un as Z, ROLE_SYSTEM as zt, ROLE_INTERNAL as he, ROLE_HIDDEN as Ot, STATS_SEPARATOR as Be, CLIPBOARD_PROMPT as Ae, TYPE_QUESTION as Ut, C as tt, SEND as Pt, ERROR_MESSAGE as Dt, ROLE_USER as le, L as Vt, j as Ht, isLastMessageFromRole as Ft, getMessageContaintWrapperClass as Gt, Logo as Wt, getMainPaddingClass as Le, r as jt, LOCAL_STORAGE_PREFIX as Me, LOCAL_STORAGE_SEARCH as qt, LOCAL_STORAGE_SORT as Kt } from "./index.DCj2DcOk.js";
|
|
3
3
|
import s from "clsx";
|
|
4
4
|
import I, { useRef as k, useEffect as x, useCallback as P, useSyncExternalStore as Jt, useState as S, useMemo as pe, useContext as $, useLayoutEffect as V, useId as Qt, useReducer as Q, lazy as rt, Suspense as ce } from "react";
|
|
5
5
|
const Xt = ({
|
|
@@ -3269,7 +3269,7 @@ try {
|
|
|
3269
3269
|
const je = rt(
|
|
3270
3270
|
() => import(
|
|
3271
3271
|
/* webpackChunkName: "LazyMessageAssistant" */
|
|
3272
|
-
"./MessageAssistant.
|
|
3272
|
+
"./MessageAssistant.CBCztfay.js"
|
|
3273
3273
|
).then((e) => e.MessageAssistant)
|
|
3274
3274
|
), qa = () => {
|
|
3275
3275
|
const { state: e } = $(G);
|
|
@@ -3347,7 +3347,7 @@ const je = rt(
|
|
|
3347
3347
|
}, Ja = rt(
|
|
3348
3348
|
() => import(
|
|
3349
3349
|
/* webpackChunkName: "LazyHeader" */
|
|
3350
|
-
"./HeaderToolbar.
|
|
3350
|
+
"./HeaderToolbar.BGU_AqIy.js"
|
|
3351
3351
|
)
|
|
3352
3352
|
);
|
|
3353
3353
|
function vt({ isComponent: e = !1 }) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as o, jsxs as y, Fragment as z } from "react/jsx-runtime";
|
|
2
|
-
import { g as A, R as O, CARDS as S, renderDataAsList as he, pluralize as fe, ABOUT_TITLE as Ft, L as
|
|
3
|
-
import { AppContext as ve, HistoryContext as ot, E as le, ge as rr, he as or, ue as xe, ie as P, ye as ar, me as nr, be as sr, serviceCall as $, SERVICE_TYPES as D, f as
|
|
2
|
+
import { g as A, R as O, CARDS as S, renderDataAsList as he, pluralize as fe, ABOUT_TITLE as Ft, L as Z, j as M, C as G, un as Q, INFINITE_SCROLL_LIMIT as Fe, INFINITE_SCROLL_THRESHOLD as Ge, LOCAL_STORAGE_PREFIX as ce, LOCAL_STORAGE_SORT as Gt, P as J, ACTION_RESET as et, ACTION_RESTORE as Vt, ACTION_SORT as Ve, LOCAL_STORAGE_SEARCH as Ut, HISTORY_TITLE as Ht, ye as Ee, ACTION_SEARCH as jt, debounce as Wt, M as Kt, z as Ue, durationFormatter as Yt, PROFILE_TITLE as Zt, PROMPTS_DESCRIPTION as qt, ACTION_SET_PROMPTS as Qt, DEFAULT_AI_ENGINE as me, LOCAL_STORAGE_ENGINE_TOGGLE as tt, LOCAL_STORAGE_CHAT_DETAILS as Xt, SETTINGS_TITLE as Jt, ENGINE_OPENAI as ne, ENGINE_ANTHROPIC as X, APP_NAME as er, ACTION_ENGINE as rt, getCurrentGeoLocation as tr, LOG_OUT as He } from "./index.DCj2DcOk.js";
|
|
3
|
+
import { AppContext as ve, HistoryContext as ot, E as le, ge as rr, he as or, ue as xe, ie as P, ye as ar, me as nr, be as sr, serviceCall as $, SERVICE_TYPES as D, f as K, PromptsContext as ir, Pe as je, NewChatButton as cr } from "./App.DFYxrY2K.js";
|
|
4
4
|
import * as f from "react";
|
|
5
|
-
import E, { useId as ze, forwardRef as at, useState as R, useRef as
|
|
5
|
+
import E, { useId as ze, forwardRef as at, useState as R, useRef as q, useContext as F, useEffect as V, useCallback as lr, Fragment as dr, useLayoutEffect as We } from "react";
|
|
6
6
|
import w from "clsx";
|
|
7
7
|
import { useFloatingTree as nt, useFloatingNodeId as ur, useListItem as st, useFloating as it, offset as mr, flip as hr, shift as fr, autoUpdate as gr, useClick as ct, useRole as lt, useDismiss as dt, useListNavigation as pr, useTypeahead as br, useInteractions as ut, useMergeRefs as Ae, FloatingNode as vr, FloatingList as yr, FloatingPortal as mt, FloatingFocusManager as ht, FloatingTree as kr, FloatingOverlay as wr } from "@floating-ui/react";
|
|
8
8
|
const ft = ({
|
|
@@ -355,7 +355,7 @@ const Te = f.createContext({
|
|
|
355
355
|
focusMode: i = "system",
|
|
356
356
|
...c
|
|
357
357
|
}, l) => {
|
|
358
|
-
const [d, u] = R(!1), [g, p] = R(!1), [v, h] = R(null), k =
|
|
358
|
+
const [d, u] = R(!1), [g, p] = R(!1), [v, h] = R(null), k = q([]), b = q([]), N = F(Te), x = nt(), m = ur(), C = st(), { floatingStyles: T, refs: L, context: _ } = it({
|
|
359
359
|
nodeId: m,
|
|
360
360
|
open: d,
|
|
361
361
|
onOpenChange: (ae) => {
|
|
@@ -369,7 +369,7 @@ const Te = f.createContext({
|
|
|
369
369
|
event: "mousedown",
|
|
370
370
|
toggle: !0,
|
|
371
371
|
ignoreMouse: !1
|
|
372
|
-
}),
|
|
372
|
+
}), U = lt(_, { role: "menu" }), H = dt(_, { bubbles: !0 }), j = pr(_, {
|
|
373
373
|
listRef: k,
|
|
374
374
|
activeIndex: v,
|
|
375
375
|
nested: !1,
|
|
@@ -379,7 +379,7 @@ const Te = f.createContext({
|
|
|
379
379
|
listRef: b,
|
|
380
380
|
onMatch: d ? h : void 0,
|
|
381
381
|
activeIndex: v
|
|
382
|
-
}), { getReferenceProps: oe, getFloatingProps: Ce, getItemProps: B } = ut([I,
|
|
382
|
+
}), { getReferenceProps: oe, getFloatingProps: Ce, getItemProps: B } = ut([I, U, H, j, re]), De = Ke(e) === "Button" || Ke(e) === "ButtonIcon", $t = De ? {
|
|
383
383
|
noInternalClick: De,
|
|
384
384
|
focusMode: i,
|
|
385
385
|
mode: s
|
|
@@ -398,7 +398,7 @@ const Te = f.createContext({
|
|
|
398
398
|
)
|
|
399
399
|
}
|
|
400
400
|
);
|
|
401
|
-
return
|
|
401
|
+
return V(() => {
|
|
402
402
|
if (!x)
|
|
403
403
|
return;
|
|
404
404
|
function ae() {
|
|
@@ -407,7 +407,7 @@ const Te = f.createContext({
|
|
|
407
407
|
return x.events.on("click", ae), () => {
|
|
408
408
|
x.events.off("click", ae);
|
|
409
409
|
};
|
|
410
|
-
}, [x, n]),
|
|
410
|
+
}, [x, n]), V(() => {
|
|
411
411
|
d && x && x.events.emit("menuopen", { nodeId: m });
|
|
412
412
|
}, [x, d, m]), /* @__PURE__ */ y(vr, { id: m, children: [
|
|
413
413
|
Dt,
|
|
@@ -447,7 +447,7 @@ const Te = f.createContext({
|
|
|
447
447
|
), _e = at((e, t) => /* @__PURE__ */ o(kr, { children: /* @__PURE__ */ o(pt, { ...e, ref: t }) }));
|
|
448
448
|
_e.displayName = "Menu";
|
|
449
449
|
pt.displayName = "MenuComponent";
|
|
450
|
-
const
|
|
450
|
+
const W = f.forwardRef(
|
|
451
451
|
({
|
|
452
452
|
label: e,
|
|
453
453
|
disabled: t,
|
|
@@ -498,7 +498,7 @@ const j = f.forwardRef(
|
|
|
498
498
|
));
|
|
499
499
|
}
|
|
500
500
|
);
|
|
501
|
-
|
|
501
|
+
W.displayName = "MenuItem";
|
|
502
502
|
const Mr = ({ className: e, ...t }) => {
|
|
503
503
|
const r = w(e, "my-1 border-t border-border-medium");
|
|
504
504
|
return /* @__PURE__ */ o("div", { className: r, ...t });
|
|
@@ -669,7 +669,7 @@ var Fr = [
|
|
|
669
669
|
});
|
|
670
670
|
return r.displayName = `Primitive.${t}`, { ...e, [t]: r };
|
|
671
671
|
}, {});
|
|
672
|
-
function
|
|
672
|
+
function Y(e, t, { checkForDefaultPrevented: r = !0 } = {}) {
|
|
673
673
|
return function(a) {
|
|
674
674
|
if (e == null || e(a), r === !1 || !a.defaultPrevented)
|
|
675
675
|
return t == null ? void 0 : t(a);
|
|
@@ -822,15 +822,15 @@ var Jr = f.forwardRef((e, t) => {
|
|
|
822
822
|
...g,
|
|
823
823
|
ref: v,
|
|
824
824
|
style: { outline: "none", ...e.style },
|
|
825
|
-
onMouseDown:
|
|
825
|
+
onMouseDown: Y(e.onMouseDown, () => {
|
|
826
826
|
T.current = !0;
|
|
827
827
|
}),
|
|
828
|
-
onFocus:
|
|
829
|
-
const
|
|
830
|
-
if (I.target === I.currentTarget &&
|
|
831
|
-
const
|
|
832
|
-
if (I.currentTarget.dispatchEvent(
|
|
833
|
-
const
|
|
828
|
+
onFocus: Y(e.onFocus, (I) => {
|
|
829
|
+
const U = !T.current;
|
|
830
|
+
if (I.target === I.currentTarget && U && !N) {
|
|
831
|
+
const H = new CustomEvent(Ie, Yr);
|
|
832
|
+
if (I.currentTarget.dispatchEvent(H), !H.defaultPrevented) {
|
|
833
|
+
const j = C().filter((B) => B.focusable), re = j.find((B) => B.active), oe = j.find((B) => B.id === k), Ce = [re, oe, ...j].filter(
|
|
834
834
|
Boolean
|
|
835
835
|
).map((B) => B.ref.current);
|
|
836
836
|
xt(Ce, u);
|
|
@@ -838,7 +838,7 @@ var Jr = f.forwardRef((e, t) => {
|
|
|
838
838
|
}
|
|
839
839
|
T.current = !1;
|
|
840
840
|
}),
|
|
841
|
-
onBlur:
|
|
841
|
+
onBlur: Y(e.onBlur, () => x(!1))
|
|
842
842
|
}
|
|
843
843
|
)
|
|
844
844
|
}
|
|
@@ -869,11 +869,11 @@ var Jr = f.forwardRef((e, t) => {
|
|
|
869
869
|
"data-orientation": d.orientation,
|
|
870
870
|
...i,
|
|
871
871
|
ref: t,
|
|
872
|
-
onMouseDown:
|
|
872
|
+
onMouseDown: Y(e.onMouseDown, (h) => {
|
|
873
873
|
a ? d.onItemFocus(l) : h.preventDefault();
|
|
874
874
|
}),
|
|
875
|
-
onFocus:
|
|
876
|
-
onKeyDown:
|
|
875
|
+
onFocus: Y(e.onFocus, () => d.onItemFocus(l)),
|
|
876
|
+
onKeyDown: Y(e.onKeyDown, (h) => {
|
|
877
877
|
if (h.key === "Tab" && h.shiftKey) {
|
|
878
878
|
d.onItemShiftTab();
|
|
879
879
|
return;
|
|
@@ -941,7 +941,7 @@ var ao = wt, no = Ct, so = "Toggle", It = f.forwardRef((e, t) => {
|
|
|
941
941
|
"data-disabled": e.disabled ? "" : void 0,
|
|
942
942
|
...s,
|
|
943
943
|
ref: t,
|
|
944
|
-
onClick:
|
|
944
|
+
onClick: Y(e.onClick, () => {
|
|
945
945
|
e.disabled || c(!i);
|
|
946
946
|
})
|
|
947
947
|
}
|
|
@@ -1812,8 +1812,8 @@ const se = "panel", ue = "messagebox", Go = ({
|
|
|
1812
1812
|
kind: i = se,
|
|
1813
1813
|
className: c
|
|
1814
1814
|
}) => {
|
|
1815
|
-
const l =
|
|
1816
|
-
return
|
|
1815
|
+
const l = q(""), d = Go({ className: c, kind: i, borderMode: s });
|
|
1816
|
+
return V(() => (e && (l.current = document.title, document.title = `${r} | ${l.current}`), () => {
|
|
1817
1817
|
e && (document.title = l.current);
|
|
1818
1818
|
}), [r, e]), /* @__PURE__ */ o(z, { children: e && /* @__PURE__ */ o(Bo, { open: e, onOpenChange: t, children: /* @__PURE__ */ y(Oo, { className: d.main, children: [
|
|
1819
1819
|
/* @__PURE__ */ y("div", { className: "flex flex-row-reverse items-center justify-between", children: [
|
|
@@ -1847,8 +1847,8 @@ const se = "panel", ue = "messagebox", Go = ({
|
|
|
1847
1847
|
header: S.ABOUT.TITLE_CLIENT,
|
|
1848
1848
|
className: "prose-dark dark:prose-lighter",
|
|
1849
1849
|
children: he(n, {
|
|
1850
|
-
[S.ABOUT.VERSION]: "5.19.
|
|
1851
|
-
[S.ABOUT.BUILD_TIMESTAMP]: "01/
|
|
1850
|
+
[S.ABOUT.VERSION]: "5.19.8",
|
|
1851
|
+
[S.ABOUT.BUILD_TIMESTAMP]: "01/05/2025 09:09 AM EST"
|
|
1852
1852
|
})
|
|
1853
1853
|
}
|
|
1854
1854
|
) }),
|
|
@@ -1884,7 +1884,7 @@ const se = "panel", ue = "messagebox", Go = ({
|
|
|
1884
1884
|
open: e,
|
|
1885
1885
|
onOpenChange: t,
|
|
1886
1886
|
title: n.title,
|
|
1887
|
-
footer: /* @__PURE__ */ y(
|
|
1887
|
+
footer: /* @__PURE__ */ y(Z, { columnGap: 2, alignHorizontal: "flex-end", children: [
|
|
1888
1888
|
/* @__PURE__ */ o(M, { children: /* @__PURE__ */ o(
|
|
1889
1889
|
G,
|
|
1890
1890
|
{
|
|
@@ -1941,7 +1941,7 @@ const se = "panel", ue = "messagebox", Go = ({
|
|
|
1941
1941
|
onOpenChange: a
|
|
1942
1942
|
}) => {
|
|
1943
1943
|
var x;
|
|
1944
|
-
const { user: n, getAccessToken: s } = Q(), i =
|
|
1944
|
+
const { user: n, getAccessToken: s } = Q(), i = q(null), c = q({
|
|
1945
1945
|
id: 0,
|
|
1946
1946
|
timestamp: "",
|
|
1947
1947
|
message: ""
|
|
@@ -1952,21 +1952,21 @@ const se = "panel", ue = "messagebox", Go = ({
|
|
|
1952
1952
|
initialValue: p.sortDirection
|
|
1953
1953
|
}), k = (m) => {
|
|
1954
1954
|
switch (p.sortDirection) {
|
|
1955
|
-
case
|
|
1956
|
-
h(
|
|
1955
|
+
case K.ASC:
|
|
1956
|
+
h(K.DESC), v({
|
|
1957
1957
|
type: Ve,
|
|
1958
1958
|
payload: {
|
|
1959
1959
|
sortedCell: m,
|
|
1960
|
-
sortDirection:
|
|
1960
|
+
sortDirection: K.DESC
|
|
1961
1961
|
}
|
|
1962
1962
|
});
|
|
1963
1963
|
break;
|
|
1964
1964
|
default:
|
|
1965
|
-
h(
|
|
1965
|
+
h(K.ASC), v({
|
|
1966
1966
|
type: Ve,
|
|
1967
1967
|
payload: {
|
|
1968
1968
|
sortedCell: m,
|
|
1969
|
-
sortDirection:
|
|
1969
|
+
sortDirection: K.ASC
|
|
1970
1970
|
}
|
|
1971
1971
|
});
|
|
1972
1972
|
break;
|
|
@@ -1992,7 +1992,7 @@ const se = "panel", ue = "messagebox", Go = ({
|
|
|
1992
1992
|
}, N = lr((m) => {
|
|
1993
1993
|
m[0].isIntersecting && g((T) => T + Fe);
|
|
1994
1994
|
}, []);
|
|
1995
|
-
return
|
|
1995
|
+
return V(() => {
|
|
1996
1996
|
const m = {
|
|
1997
1997
|
// root: null,
|
|
1998
1998
|
rootMargin: "20px"
|
|
@@ -2146,7 +2146,7 @@ const se = "panel", ue = "messagebox", Go = ({
|
|
|
2146
2146
|
searchString: e,
|
|
2147
2147
|
username: t,
|
|
2148
2148
|
accessToken: r,
|
|
2149
|
-
direction: a =
|
|
2149
|
+
direction: a = K.ASC
|
|
2150
2150
|
}) => {
|
|
2151
2151
|
if (!t)
|
|
2152
2152
|
return [];
|
|
@@ -2172,7 +2172,7 @@ const se = "panel", ue = "messagebox", Go = ({
|
|
|
2172
2172
|
open: e,
|
|
2173
2173
|
onOpenChange: t
|
|
2174
2174
|
}) => {
|
|
2175
|
-
const { isAuthenticated: r, getAccessToken: a, user: n } = Q(), s =
|
|
2175
|
+
const { isAuthenticated: r, getAccessToken: a, user: n } = Q(), s = q(null), i = q(!1), { dispatch: c } = F(ve), { state: l, dispatch: d } = F(ot), [, u] = le({
|
|
2176
2176
|
key: ce + Ut,
|
|
2177
2177
|
initialValue: l.searchString
|
|
2178
2178
|
}), [g, p] = R({
|
|
@@ -2197,7 +2197,9 @@ const se = "panel", ue = "messagebox", Go = ({
|
|
|
2197
2197
|
}, 500), k = async (b) => {
|
|
2198
2198
|
b.preventDefault();
|
|
2199
2199
|
};
|
|
2200
|
-
return
|
|
2200
|
+
return V(() => () => {
|
|
2201
|
+
i.current = !1;
|
|
2202
|
+
}, []), We(() => {
|
|
2201
2203
|
i.current || (async () => {
|
|
2202
2204
|
i.current = !0;
|
|
2203
2205
|
const b = await a(), N = await Je({
|
|
@@ -2216,7 +2218,7 @@ const se = "panel", ue = "messagebox", Go = ({
|
|
|
2216
2218
|
const b = [...g.data].sort((N, x) => {
|
|
2217
2219
|
if (l.sortedCell === "timestamp") {
|
|
2218
2220
|
const m = new Date(N[l.sortedCell]).getTime(), C = new Date(x[l.sortedCell]).getTime();
|
|
2219
|
-
return l.sortDirection ===
|
|
2221
|
+
return l.sortDirection === K.ASC ? m - C : C - m;
|
|
2220
2222
|
}
|
|
2221
2223
|
return 0;
|
|
2222
2224
|
});
|
|
@@ -2288,7 +2290,7 @@ const se = "panel", ue = "messagebox", Go = ({
|
|
|
2288
2290
|
O,
|
|
2289
2291
|
{
|
|
2290
2292
|
className: "prose-dark dark:prose-lighter mt-4",
|
|
2291
|
-
header: /* @__PURE__ */ o("h2", { className: "m-0", children: /* @__PURE__ */ y(
|
|
2293
|
+
header: /* @__PURE__ */ o("h2", { className: "m-0", children: /* @__PURE__ */ y(Z, { columnGap: 3, alignVertical: "center", children: [
|
|
2292
2294
|
/* @__PURE__ */ o(M, { children: /* @__PURE__ */ o(Ue, { size: "size-8" }) }),
|
|
2293
2295
|
/* @__PURE__ */ o(M, { children: /* @__PURE__ */ o("div", { children: S.PREFERENCES.PASSKEY_TITLE }) })
|
|
2294
2296
|
] }) }),
|
|
@@ -2329,7 +2331,7 @@ const se = "panel", ue = "messagebox", Go = ({
|
|
|
2329
2331
|
averageProcessingTimes: 0,
|
|
2330
2332
|
totalChats: 0
|
|
2331
2333
|
}), { getAccessToken: n, user: s } = Q();
|
|
2332
|
-
return
|
|
2334
|
+
return V(() => {
|
|
2333
2335
|
!e || !s || (async () => {
|
|
2334
2336
|
try {
|
|
2335
2337
|
const i = await $({
|
|
@@ -2514,7 +2516,7 @@ const Zo = "av-toggle", qo = () => w("peer", "h-6", "w-11", "rounded-full"), Qo
|
|
|
2514
2516
|
onOpenChange: t,
|
|
2515
2517
|
title: "Prompts",
|
|
2516
2518
|
footer: /* @__PURE__ */ y(
|
|
2517
|
-
|
|
2519
|
+
Z,
|
|
2518
2520
|
{
|
|
2519
2521
|
columnGap: 2,
|
|
2520
2522
|
alignHorizontal: "flex-end",
|
|
@@ -2555,7 +2557,7 @@ const Zo = "av-toggle", qo = () => w("peer", "h-6", "w-11", "rounded-full"), Qo
|
|
|
2555
2557
|
header: `Prompt ${u.slot + 1}`,
|
|
2556
2558
|
className: "prose-dark dark:prose-lighter mb-2",
|
|
2557
2559
|
children: [
|
|
2558
|
-
/* @__PURE__ */ y(
|
|
2560
|
+
/* @__PURE__ */ y(Z, { className: "mt-8 mb-6", columnGap: 2, rowGap: 6, children: [
|
|
2559
2561
|
/* @__PURE__ */ o(M, { span: 12, children: /* @__PURE__ */ o(
|
|
2560
2562
|
Ee,
|
|
2561
2563
|
{
|
|
@@ -2668,7 +2670,7 @@ const Zo = "av-toggle", qo = () => w("peer", "h-6", "w-11", "rounded-full"), Qo
|
|
|
2668
2670
|
}
|
|
2669
2671
|
}), _ = Date.now() - m;
|
|
2670
2672
|
if (_ < 2e3 && await new Promise((I) => setTimeout(I, 2e3 - _)), T.status === 200) {
|
|
2671
|
-
const { city: I, state:
|
|
2673
|
+
const { city: I, state: U, country: H, displayName: j } = T.data, re = I && U && H ? `${I}, ${U}, ${H}` : j;
|
|
2672
2674
|
l((oe) => ({
|
|
2673
2675
|
...oe,
|
|
2674
2676
|
loaded: !0,
|
|
@@ -2697,7 +2699,7 @@ const Zo = "av-toggle", qo = () => w("peer", "h-6", "w-11", "rounded-full"), Qo
|
|
|
2697
2699
|
}, x = () => {
|
|
2698
2700
|
i(!s);
|
|
2699
2701
|
};
|
|
2700
|
-
return
|
|
2702
|
+
return V(() => {
|
|
2701
2703
|
if (!e || !n) {
|
|
2702
2704
|
l({
|
|
2703
2705
|
loaded: !1,
|
|
@@ -2734,7 +2736,7 @@ const Zo = "av-toggle", qo = () => w("peer", "h-6", "w-11", "rounded-full"), Qo
|
|
|
2734
2736
|
onOpenChange: t,
|
|
2735
2737
|
title: Jt,
|
|
2736
2738
|
footer: /* @__PURE__ */ y(
|
|
2737
|
-
|
|
2739
|
+
Z,
|
|
2738
2740
|
{
|
|
2739
2741
|
columnGap: 2,
|
|
2740
2742
|
alignHorizontal: "flex-end",
|
|
@@ -2925,7 +2927,7 @@ const Zo = "av-toggle", qo = () => w("peer", "h-6", "w-11", "rounded-full"), Qo
|
|
|
2925
2927
|
}, _ = () => {
|
|
2926
2928
|
h(!v);
|
|
2927
2929
|
};
|
|
2928
|
-
return
|
|
2930
|
+
return V(() => {
|
|
2929
2931
|
e && e.engine && e.engine !== a && n(e.engine);
|
|
2930
2932
|
}, [e, a]), /* @__PURE__ */ y(z, { children: [
|
|
2931
2933
|
/* @__PURE__ */ o(
|
|
@@ -2944,11 +2946,11 @@ const Zo = "av-toggle", qo = () => w("peer", "h-6", "w-11", "rounded-full"), Qo
|
|
|
2944
2946
|
),
|
|
2945
2947
|
/* @__PURE__ */ o(Yo, { open: s, onOpenChange: i }),
|
|
2946
2948
|
/* @__PURE__ */ o(na, { open: c, onOpenChange: l }),
|
|
2947
|
-
/* @__PURE__ */ o(Wo, { open: d, onOpenChange: u }),
|
|
2949
|
+
d && /* @__PURE__ */ o(Wo, { open: d, onOpenChange: u }),
|
|
2948
2950
|
/* @__PURE__ */ o(Uo, { open: g, onOpenChange: p }),
|
|
2949
|
-
/* @__PURE__ */ o("div", { className: "bg-slate-900 py-4 px-4 rounded-t-md", children: /* @__PURE__ */ y(
|
|
2951
|
+
/* @__PURE__ */ o("div", { className: "bg-slate-900 py-4 px-4 rounded-t-md", children: /* @__PURE__ */ y(Z, { alignHorizontal: "space-between", alignVertical: "center", children: [
|
|
2950
2952
|
/* @__PURE__ */ o(M, { children: /* @__PURE__ */ o(cr, { mode: "dark", radius: "large" }) }),
|
|
2951
|
-
/* @__PURE__ */ o(M, { children: /* @__PURE__ */ y(
|
|
2953
|
+
/* @__PURE__ */ o(M, { children: /* @__PURE__ */ y(Z, { children: [
|
|
2952
2954
|
k && r && /* @__PURE__ */ o(M, { children: /* @__PURE__ */ o(
|
|
2953
2955
|
_e,
|
|
2954
2956
|
{
|
|
@@ -2956,7 +2958,7 @@ const Zo = "av-toggle", qo = () => w("peer", "h-6", "w-11", "rounded-full"), Qo
|
|
|
2956
2958
|
focusMode: "light",
|
|
2957
2959
|
trigger: /* @__PURE__ */ o(J, { className: "mr-2", children: e && e.engine === X ? /* @__PURE__ */ o(ft, {}) : /* @__PURE__ */ o(gt, {}) }),
|
|
2958
2960
|
defaultPlacement: "bottom-start",
|
|
2959
|
-
children: /* @__PURE__ */ o(
|
|
2961
|
+
children: /* @__PURE__ */ o(W, { raw: !0, ignoreClick: !0, children: /* @__PURE__ */ o(
|
|
2960
2962
|
ko,
|
|
2961
2963
|
{
|
|
2962
2964
|
size: "small",
|
|
@@ -2998,7 +3000,7 @@ const Zo = "av-toggle", qo = () => w("peer", "h-6", "w-11", "rounded-full"), Qo
|
|
|
2998
3000
|
defaultPlacement: "bottom-end",
|
|
2999
3001
|
children: [
|
|
3000
3002
|
/* @__PURE__ */ o(
|
|
3001
|
-
|
|
3003
|
+
W,
|
|
3002
3004
|
{
|
|
3003
3005
|
label: "Profile",
|
|
3004
3006
|
onClick: m,
|
|
@@ -3006,7 +3008,7 @@ const Zo = "av-toggle", qo = () => w("peer", "h-6", "w-11", "rounded-full"), Qo
|
|
|
3006
3008
|
}
|
|
3007
3009
|
),
|
|
3008
3010
|
/* @__PURE__ */ o(
|
|
3009
|
-
|
|
3011
|
+
W,
|
|
3010
3012
|
{
|
|
3011
3013
|
label: "Settings",
|
|
3012
3014
|
onClick: C,
|
|
@@ -3014,7 +3016,7 @@ const Zo = "av-toggle", qo = () => w("peer", "h-6", "w-11", "rounded-full"), Qo
|
|
|
3014
3016
|
}
|
|
3015
3017
|
),
|
|
3016
3018
|
/* @__PURE__ */ o(
|
|
3017
|
-
|
|
3019
|
+
W,
|
|
3018
3020
|
{
|
|
3019
3021
|
label: "History",
|
|
3020
3022
|
onClick: T,
|
|
@@ -3022,7 +3024,7 @@ const Zo = "av-toggle", qo = () => w("peer", "h-6", "w-11", "rounded-full"), Qo
|
|
|
3022
3024
|
}
|
|
3023
3025
|
),
|
|
3024
3026
|
/* @__PURE__ */ o(
|
|
3025
|
-
|
|
3027
|
+
W,
|
|
3026
3028
|
{
|
|
3027
3029
|
label: "About",
|
|
3028
3030
|
onClick: L,
|
|
@@ -3032,7 +3034,7 @@ const Zo = "av-toggle", qo = () => w("peer", "h-6", "w-11", "rounded-full"), Qo
|
|
|
3032
3034
|
e && e.id && !e.isComponent && /* @__PURE__ */ y(z, { children: [
|
|
3033
3035
|
/* @__PURE__ */ o(Mr, {}),
|
|
3034
3036
|
/* @__PURE__ */ o(
|
|
3035
|
-
|
|
3037
|
+
W,
|
|
3036
3038
|
{
|
|
3037
3039
|
label: "Log out",
|
|
3038
3040
|
onClick: _,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as We, 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 "./MessageAssistant.
|
|
3
|
-
import { P 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 "./MessageAssistant.CBCztfay.js";
|
|
3
|
+
import { P as Is, L as Ds, j as Ls } from "./index.DCj2DcOk.js";
|
|
4
4
|
import Bs, { useState as zs, useEffect as Ps } from "react";
|
|
5
5
|
import Fs from "clsx";
|
|
6
6
|
const ka = ({
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as Ye, jsx as re, Fragment as Jt } from "react/jsx-runtime";
|
|
2
|
-
import { AppContext as pi, E as hi, le as at } from "./App.
|
|
2
|
+
import { AppContext as pi, E as hi, le as at } from "./App.DFYxrY2K.js";
|
|
3
3
|
import sn from "clsx";
|
|
4
4
|
import { lazy as mi, useContext as gi, Suspense as di } from "react";
|
|
5
|
-
import { LOCAL_STORAGE_PREFIX as yi, LOCAL_STORAGE_CHAT_DETAILS as ki, durationFormatter as xi } from "./index.
|
|
5
|
+
import { LOCAL_STORAGE_PREFIX as yi, LOCAL_STORAGE_CHAT_DETAILS as ki, durationFormatter as xi } from "./index.DCj2DcOk.js";
|
|
6
6
|
/*!
|
|
7
7
|
@versini/ui-spinner v3.0.0
|
|
8
8
|
© 2025 gizmette.com
|
|
@@ -8651,7 +8651,7 @@ function Uc(e) {
|
|
|
8651
8651
|
const qc = mi(
|
|
8652
8652
|
() => import(
|
|
8653
8653
|
/* webpackChunkName: "LazyMarkdownWithExtra" */
|
|
8654
|
-
"./MarkdownWithExtra.
|
|
8654
|
+
"./MarkdownWithExtra.AvaIS-YD.js"
|
|
8655
8655
|
)
|
|
8656
8656
|
), Tn = {
|
|
8657
8657
|
MODEL: "Model",
|
|
@@ -3693,7 +3693,7 @@ const Hn = "ASK! ME! ANYTHING!", Wn = "Callisto", Bn = "Log in", Gn = "Sign in w
|
|
|
3693
3693
|
) });
|
|
3694
3694
|
}, zn = new URL(document.location.href).searchParams, Fn = !!zn.get("debug") || !1, jn = or(() => import(
|
|
3695
3695
|
/* webpackChunkName: "LazyApp" */
|
|
3696
|
-
"./App.
|
|
3696
|
+
"./App.DFYxrY2K.js"
|
|
3697
3697
|
).then((e) => e.App)), qn = ({ isComponent: e }) => {
|
|
3698
3698
|
const { isAuthenticated: t } = jt();
|
|
3699
3699
|
return t ? /* @__PURE__ */ l(sr, { fallback: /* @__PURE__ */ l("div", {}), children: /* @__PURE__ */ l(jn, { isComponent: e }) }) : /* @__PURE__ */ l(Yn, {});
|
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.DCj2DcOk.js";
|
|
2
2
|
/*!
|
|
3
|
-
@sassysaint/client v5.19.
|
|
3
|
+
@sassysaint/client v5.19.8
|
|
4
4
|
© 2025 gizmette.com
|
|
5
5
|
*/
|
|
6
6
|
try {
|
|
7
7
|
window.__VERSINI_SASSY_GLOBAL__ || (window.__VERSINI_SASSY_GLOBAL__ = {
|
|
8
|
-
version: "5.19.
|
|
9
|
-
buildTime: "01/
|
|
8
|
+
version: "5.19.8",
|
|
9
|
+
buildTime: "01/05/2025 09:09 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.22",
|
|
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.19.
|
|
33
|
+
"@sassysaint/client": "5.19.8",
|
|
34
34
|
"@versini/ui-styles": "3.0.0"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
"sideEffects": [
|
|
42
42
|
"**/*.css"
|
|
43
43
|
],
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "b9237a09ba150be004c61fd37a22938e1d88218b"
|
|
45
45
|
}
|