@versini/sassysaint 8.58.0 → 8.58.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/{AboutChangelog.CB0dcRCM.js → AboutChangelog.BJb6evn9.js} +2 -2
- package/dist/chunks/{AboutEntry.DC6pIWQs.js → AboutEntry.CKS9KQYk.js} +7 -7
- package/dist/chunks/{App.B8ehtPCy.js → App.Bw24TFS-.js} +16 -16
- package/dist/chunks/{Chart.D-VIQysU.js → Chart.Cddg0IXQ.js} +2 -2
- package/dist/chunks/{ChatBubbleAssistant.CyJgR8J8.js → ChatBubbleAssistant.6-hK6qAF.js} +4 -4
- package/dist/chunks/{ChatBubbleUser.tWOit_f_.js → ChatBubbleUser.DpUR_1HU.js} +3 -3
- package/dist/chunks/{ChatHistoryTable.2v_Tv5Xj.js → ChatHistoryTable.BB5ESpr2.js} +13 -17
- package/dist/chunks/{HistoryEntry.Dh5bLuYX.js → HistoryEntry.BQlLgB9G.js} +3 -3
- package/dist/chunks/{ProfileEntry.Dno0c0_1.js → ProfileEntry.CuUO01aL.js} +2 -2
- package/dist/chunks/{SettingsEntry.IGOE-6JU.js → SettingsEntry.6T_vvycf.js} +34 -30
- package/dist/chunks/{Table.CAzmyLPU.js → Table.BLNonpLk.js} +2 -2
- package/dist/chunks/{UsageEntry.BStP6ETh.js → UsageEntry.CuWrk617.js} +3 -3
- package/dist/chunks/{UserMemoriesPanel.w335l_3o.js → UserMemoriesPanel.3ikfhdxH.js} +83 -75
- package/dist/chunks/{index.D3golFwx.js → index.BjpuOtB7.js} +2 -2
- package/dist/chunks/{index.BmuSGkDt.js → index.CQgBz9Dt.js} +1 -1
- package/dist/chunks/{index.CVdabB4A.js → index.CcOFJwqN.js} +1 -1
- package/dist/chunks/{index.CRS7yOjI.js → index.Cs8bFhFv.js} +1 -1
- package/dist/chunks/{index.Br-5S8Zv.js → index.Dgyiis4p.js} +2 -2
- package/dist/chunks/{index.Bm2rN-Q4.js → index.Ds-UToar.js} +1 -1
- package/dist/chunks/{index.CYzjDPpw.js → index.YTqgXQdg.js} +3 -3
- package/dist/chunks/{useMarkdown.B9WkUC07.js → useMarkdown.CskeXXFn.js} +6 -6
- package/dist/components/SassySaint/SassySaint.js +1 -1
- package/dist/index.js +4 -4
- package/dist/style.css +1 -1
- package/package.json +3 -3
@@ -1,7 +1,7 @@
|
|
1
1
|
import { jsxs as s, jsx as r } from "react/jsx-runtime";
|
2
|
-
import { p as m, ButtonScroll as n } from "./App.
|
2
|
+
import { p as m, ButtonScroll as n } from "./App.Bw24TFS-.js";
|
3
3
|
import { useRef as f, useCallback as u, useLayoutEffect as p } from "react";
|
4
|
-
import { useMarkdown as d } from "./useMarkdown.
|
4
|
+
import { useMarkdown as d } from "./useMarkdown.CskeXXFn.js";
|
5
5
|
const b = ({ content: o }) => {
|
6
6
|
const [l, t] = d(), { ref: a, inViewport: c } = m(), e = f(null), i = u(() => {
|
7
7
|
e.current && e.current.scrollIntoView({
|
@@ -1,15 +1,15 @@
|
|
1
1
|
import { jsxs as b, Fragment as l, jsx as e } from "react/jsx-runtime";
|
2
|
-
import { se as
|
3
|
-
import { i as d, useServerCapabilities as
|
2
|
+
import { se as g } from "./App.Bw24TFS-.js";
|
3
|
+
import { i as d, useServerCapabilities as A, useChangelogs as B, S as o, renderDataAsList as c, CARDS as r, pluralize as E, isProbablyMobile as I, ABOUT_TITLE as S } from "./index.BjpuOtB7.js";
|
4
4
|
import O from "clsx";
|
5
5
|
import { Suspense as C, lazy as U } from "react";
|
6
6
|
const L = U(
|
7
7
|
() => import(
|
8
8
|
/* webpackChunkName: "LazyAboutChangelog" */
|
9
|
-
"./AboutChangelog.
|
9
|
+
"./AboutChangelog.BJb6evn9.js"
|
10
10
|
)
|
11
11
|
), N = () => {
|
12
|
-
const s = d(), i = d(), { data: t, isSuccess: m } =
|
12
|
+
const s = d(), i = d(), { data: t, isSuccess: m } = A(), { data: T, isSuccess: h } = B(), p = t?.version || "", a = t?.models || [], u = t?.buildTime || "";
|
13
13
|
return /* @__PURE__ */ b(l, { children: [
|
14
14
|
/* @__PURE__ */ e(
|
15
15
|
o,
|
@@ -18,8 +18,8 @@ const L = U(
|
|
18
18
|
className: "prose-dark dark:prose-lighter mb-4",
|
19
19
|
noBorder: !0,
|
20
20
|
children: c(s, {
|
21
|
-
[r.ABOUT.VERSION]: "8.58.
|
22
|
-
[r.ABOUT.BUILD_TIMESTAMP]: "10/10/2025
|
21
|
+
[r.ABOUT.VERSION]: "8.58.2",
|
22
|
+
[r.ABOUT.BUILD_TIMESTAMP]: "10/10/2025 08:16 PM EDT"
|
23
23
|
})
|
24
24
|
}
|
25
25
|
),
|
@@ -54,7 +54,7 @@ const L = U(
|
|
54
54
|
open: s,
|
55
55
|
onOpenChange: i
|
56
56
|
}) => /* @__PURE__ */ e(
|
57
|
-
|
57
|
+
g,
|
58
58
|
{
|
59
59
|
open: s,
|
60
60
|
onOpenChange: i,
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { jsx as l, jsxs as k, Fragment as Ae } from "react/jsx-runtime";
|
2
|
-
import { I as G, ACTION_SORT as Ka, ACTION_SEARCH as es, ACTION_RESET_PROMPT as ro, ACTION_TOGGLE_PROMPT as no, oe as ts, te as ge, DEFAULT_ICON_ACTION_SIZE as be, isTauri as Bt, n as Ie, isProbablyiPhone as ze, serverUrl as oo, useEntitlements as rs, L as Ir, j as Ye, C as en, LOCAL_STORAGE_PREFIX as Xe, LOCAL_STORAGE_PRIVATE_DISCLOSURE as ns, Re as jt, useUserPreferences as er, LOCAL_STORAGE_REASONING_DISCLOSURE as os, useChatsHistory as ao, mutateCall as as, SERVICE_TYPES as ss, TOAST_CHAT_SAVED as is, PROMPT_CLASSNAME as cs, PROMPT_EDITABLE_AREA_CLASSNAME as ls, i as us, ERROR_MESSAGE as ds, c as pt, CLIPBOARD_PROMPT as tn, INPUT_PLACEHOLDER_TEXT_MOBILE as rn, INPUT_PLACEHOLDER_TEXT_ENTER as nn, INPUT_PLACEHOLDER_TEXT_CMD_ENTER as on, isProbablyMobile as Er, Ae as ps, FOOTER_DISCLAIMERS as an, h as so, isProbablyiPad as ms, INPUT_BOTTOM_OFFSET_EXTRA as sn, INPUT_BOTTOM_OFFSET_IPHONE as hs, INPUT_BOTTOM_OFFSET_IPAD as fs, INPUT_BOTTOM_OFFSET as io, getLayoutPaddingClass as Tr, i$1 as gs, E as vs, y as ys, setNewProvider as _s, TOAST_PROVIDER_CHANGED as bs, LOG_OUT as cn, a as co, ne as ln, useServerCapabilities as ws, getMessageContaintWrapperClass as Is, UI_FOOTER_BUFFER as lo, UI_BUTTON_SCROLL_BUFFER as Es, Logo as Ts, UI_DEFAULT_MAIN_HEIGHT as un, isPWAMode as Ss, UI_DEFAULT_MAIN_HEIGHT_IPHONE as ks, APP_CLASSNAME as xs, de as dn, Oe as Cs, LOCAL_STORAGE_SORT as Ns, LOCAL_STORAGE_SEARCH as zs, LOCAL_STORAGE_SORT_TIMESTAMP as As, LOCAL_STORAGE_SORT_TOKEN_USAGE as Os, TOAST_CACHE_ENABLED as Ms, TOAST_CACHE_DISABLED as $s } from "./index.
|
2
|
+
import { I as G, ACTION_SORT as Ka, ACTION_SEARCH as es, ACTION_RESET_PROMPT as ro, ACTION_TOGGLE_PROMPT as no, oe as ts, te as ge, DEFAULT_ICON_ACTION_SIZE as be, isTauri as Bt, n as Ie, isProbablyiPhone as ze, serverUrl as oo, useEntitlements as rs, L as Ir, j as Ye, C as en, LOCAL_STORAGE_PREFIX as Xe, LOCAL_STORAGE_PRIVATE_DISCLOSURE as ns, Re as jt, useUserPreferences as er, LOCAL_STORAGE_REASONING_DISCLOSURE as os, useChatsHistory as ao, mutateCall as as, SERVICE_TYPES as ss, TOAST_CHAT_SAVED as is, PROMPT_CLASSNAME as cs, PROMPT_EDITABLE_AREA_CLASSNAME as ls, i as us, ERROR_MESSAGE as ds, c as pt, CLIPBOARD_PROMPT as tn, INPUT_PLACEHOLDER_TEXT_MOBILE as rn, INPUT_PLACEHOLDER_TEXT_ENTER as nn, INPUT_PLACEHOLDER_TEXT_CMD_ENTER as on, isProbablyMobile as Er, Ae as ps, FOOTER_DISCLAIMERS as an, h as so, isProbablyiPad as ms, INPUT_BOTTOM_OFFSET_EXTRA as sn, INPUT_BOTTOM_OFFSET_IPHONE as hs, INPUT_BOTTOM_OFFSET_IPAD as fs, INPUT_BOTTOM_OFFSET as io, getLayoutPaddingClass as Tr, i$1 as gs, E as vs, y as ys, setNewProvider as _s, TOAST_PROVIDER_CHANGED as bs, LOG_OUT as cn, a as co, ne as ln, useServerCapabilities as ws, getMessageContaintWrapperClass as Is, UI_FOOTER_BUFFER as lo, UI_BUTTON_SCROLL_BUFFER as Es, Logo as Ts, UI_DEFAULT_MAIN_HEIGHT as un, isPWAMode as Ss, UI_DEFAULT_MAIN_HEIGHT_IPHONE as ks, APP_CLASSNAME as xs, de as dn, Oe as Cs, LOCAL_STORAGE_SORT as Ns, LOCAL_STORAGE_SEARCH as zs, LOCAL_STORAGE_SORT_TIMESTAMP as As, LOCAL_STORAGE_SORT_TOKEN_USAGE as Os, TOAST_CACHE_ENABLED as Ms, TOAST_CACHE_DISABLED as $s } from "./index.BjpuOtB7.js";
|
3
3
|
import * as ae from "react";
|
4
4
|
import ot, { useRef as J, useEffect as M, useState as P, useCallback as B, useSyncExternalStore as Pt, createContext as Ps, useContext as te, useId as uo, forwardRef as po, useMemo as tt, Suspense as Vt, lazy as Ee, useReducer as Tt, useLayoutEffect as Rs } from "react";
|
5
5
|
import O from "clsx";
|
@@ -6641,7 +6641,7 @@ const Na = async () => (vr || (vr = import(
|
|
6641
6641
|
"./index.BwP0kG4H.js"
|
6642
6642
|
)), vr), za = async () => (yr || (yr = import(
|
6643
6643
|
/* webpackChunkName: "toast-utilities" */
|
6644
|
-
"./index.
|
6644
|
+
"./index.BjpuOtB7.js"
|
6645
6645
|
).then((e) => e.utilities)), yr), Lm = async () => {
|
6646
6646
|
try {
|
6647
6647
|
await Promise.all([Na(), za()]);
|
@@ -9054,38 +9054,38 @@ const Ph = (e) => {
|
|
9054
9054
|
}, sf = Ee(
|
9055
9055
|
() => import(
|
9056
9056
|
/* webpackChunkName: "modal-chunk" */
|
9057
|
-
"./ProfileEntry.
|
9057
|
+
"./ProfileEntry.CuUO01aL.js"
|
9058
9058
|
).then((e) => ({
|
9059
9059
|
default: e.Profile
|
9060
9060
|
}))
|
9061
9061
|
), cf = Ee(
|
9062
9062
|
() => import(
|
9063
9063
|
/* webpackChunkName: "modal-chunk" */
|
9064
|
-
"./SettingsEntry.
|
9064
|
+
"./SettingsEntry.6T_vvycf.js"
|
9065
9065
|
).then((e) => ({
|
9066
9066
|
default: e.SettingsPanel
|
9067
9067
|
}))
|
9068
9068
|
), lf = Ee(
|
9069
9069
|
() => import(
|
9070
9070
|
/* webpackChunkName: "modal-chunk" */
|
9071
|
-
"./HistoryEntry.
|
9071
|
+
"./HistoryEntry.BQlLgB9G.js"
|
9072
9072
|
).then((e) => ({
|
9073
9073
|
default: e.HistoryPanel
|
9074
9074
|
}))
|
9075
9075
|
), uf = Ee(
|
9076
9076
|
() => import(
|
9077
9077
|
/* webpackChunkName: "modal-chunk" */
|
9078
|
-
"./AboutEntry.
|
9078
|
+
"./AboutEntry.CKS9KQYk.js"
|
9079
9079
|
).then((e) => ({ default: e.About }))
|
9080
9080
|
), df = Ee(
|
9081
9081
|
() => import(
|
9082
9082
|
/* webpackChunkName: "modal-chunk" */
|
9083
|
-
"./UsageEntry.
|
9083
|
+
"./UsageEntry.CuWrk617.js"
|
9084
9084
|
).then((e) => ({ default: e.Usage }))
|
9085
9085
|
), pf = Ee(
|
9086
9086
|
() => import(
|
9087
9087
|
/* webpackChunkName: "modal-chunk" */
|
9088
|
-
"./UserMemoriesPanel.
|
9088
|
+
"./UserMemoriesPanel.3ikfhdxH.js"
|
9089
9089
|
).then(
|
9090
9090
|
(e) => ({ default: e.default })
|
9091
9091
|
)
|
@@ -9126,23 +9126,23 @@ const Ph = (e) => {
|
|
9126
9126
|
i || Promise.all([
|
9127
9127
|
import(
|
9128
9128
|
/* webpackChunkName: "modal-chunk" */
|
9129
|
-
"./ProfileEntry.
|
9129
|
+
"./ProfileEntry.CuUO01aL.js"
|
9130
9130
|
),
|
9131
9131
|
import(
|
9132
9132
|
/* webpackChunkName: "modal-chunk" */
|
9133
|
-
"./SettingsEntry.
|
9133
|
+
"./SettingsEntry.6T_vvycf.js"
|
9134
9134
|
),
|
9135
9135
|
import(
|
9136
9136
|
/* webpackChunkName: "modal-chunk" */
|
9137
|
-
"./HistoryEntry.
|
9137
|
+
"./HistoryEntry.BQlLgB9G.js"
|
9138
9138
|
),
|
9139
9139
|
import(
|
9140
9140
|
/* webpackChunkName: "modal-chunk" */
|
9141
|
-
"./AboutEntry.
|
9141
|
+
"./AboutEntry.CKS9KQYk.js"
|
9142
9142
|
),
|
9143
9143
|
import(
|
9144
9144
|
/* webpackChunkName: "modal-chunk" */
|
9145
|
-
"./UsageEntry.
|
9145
|
+
"./UsageEntry.CuWrk617.js"
|
9146
9146
|
)
|
9147
9147
|
]).finally(() => s(!0));
|
9148
9148
|
}, [i]), p = B((m) => {
|
@@ -9388,18 +9388,18 @@ try {
|
|
9388
9388
|
} catch {
|
9389
9389
|
}
|
9390
9390
|
const vf = Ee(
|
9391
|
-
() => import("./index.
|
9391
|
+
() => import("./index.CcOFJwqN.js").then((e) => ({ default: e.Bubble }))
|
9392
9392
|
), Xr = (e) => /* @__PURE__ */ l(Vt, { fallback: /* @__PURE__ */ l("span", { className: "inline-block" }), children: /* @__PURE__ */ l(vf, { ...e }) });
|
9393
9393
|
Xr.displayName = "AsyncBubble";
|
9394
9394
|
const to = 1, yf = 150, _f = Ee(
|
9395
9395
|
() => import(
|
9396
9396
|
/* webpackChunkName: "LazyMessageAssistant" */
|
9397
|
-
"./ChatBubbleAssistant.
|
9397
|
+
"./ChatBubbleAssistant.6-hK6qAF.js"
|
9398
9398
|
)
|
9399
9399
|
), bf = Ee(
|
9400
9400
|
() => import(
|
9401
9401
|
/* webpackChunkName: "LazyMessageUser" */
|
9402
|
-
"./ChatBubbleUser.
|
9402
|
+
"./ChatBubbleUser.DpUR_1HU.js"
|
9403
9403
|
)
|
9404
9404
|
), wf = ot.memo(
|
9405
9405
|
({
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { jsx as Ap } from "react/jsx-runtime";
|
2
|
-
import { getDefaultExportFromCjs as ln } from "./App.
|
2
|
+
import { getDefaultExportFromCjs as ln } from "./App.Bw24TFS-.js";
|
3
3
|
import Cp, { useState as Pp, useEffect as Op } from "react";
|
4
|
-
import { TRIMESTERS as rn, TRIMESTERS_SHORT as Lp, isProbablyMobile as Ep } from "./index.
|
4
|
+
import { TRIMESTERS as rn, TRIMESTERS_SHORT as Lp, isProbablyMobile as Ep } from "./index.BjpuOtB7.js";
|
5
5
|
var ls = { exports: {} }, Ip = ls.exports, on;
|
6
6
|
function Dp() {
|
7
7
|
return on || (on = 1, (function(ke, ne) {
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import { jsx as M } from "react/jsx-runtime";
|
2
|
-
import { n as N, useUserPreferences as O, convertCamelCaseToReadable as P, numberFormatter as R, pluralize as y, ne as L } from "./index.
|
3
|
-
import { BUBBLE_FOOTER_EMPTY as _ } from "./index.
|
2
|
+
import { n as N, useUserPreferences as O, convertCamelCaseToReadable as P, numberFormatter as R, pluralize as y, ne as L } from "./index.BjpuOtB7.js";
|
3
|
+
import { BUBBLE_FOOTER_EMPTY as _ } from "./index.CcOFJwqN.js";
|
4
4
|
import w from "clsx";
|
5
5
|
import v, { useState as b, useRef as A, useEffect as U, useContext as B } from "react";
|
6
|
-
import { ChatContext as G, AsyncBubble as E } from "./App.
|
7
|
-
import { useMarkdown as D } from "./useMarkdown.
|
6
|
+
import { ChatContext as G, AsyncBubble as E } from "./App.Bw24TFS-.js";
|
7
|
+
import { useMarkdown as D } from "./useMarkdown.CskeXXFn.js";
|
8
8
|
const j = 2, q = j * 1e3, x = "", I = (e) => e * (2 - e);
|
9
9
|
function W(e, n = !0) {
|
10
10
|
const [a, p] = b(0), [i, C] = b(0), [t, T] = b(e), r = A(0), s = A(0);
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { jsx as n, Fragment as b, jsxs as A } from "react/jsx-runtime";
|
2
2
|
import { useState as C, useMemo as u, isValidElement as p, useEffect as I } from "react";
|
3
|
-
import { AsyncBubble as w } from "./App.
|
4
|
-
import { useMarkdown as _ } from "./useMarkdown.
|
5
|
-
import { C as M } from "./index.
|
3
|
+
import { AsyncBubble as w } from "./App.Bw24TFS-.js";
|
4
|
+
import { useMarkdown as _ } from "./useMarkdown.CskeXXFn.js";
|
5
|
+
import { C as M } from "./index.BjpuOtB7.js";
|
6
6
|
const R = 200, N = ({
|
7
7
|
string: e,
|
8
8
|
idealLength: r = R
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import { jsxs as m, jsx as e } from "react/jsx-runtime";
|
2
|
-
import { I as g, de as N, Oe as C, INFINITE_SCROLL_THRESHOLD as
|
3
|
-
import { st as u, p$1 as P, z as L, p$2 as V } from "./App.
|
2
|
+
import { I as g, de as N, Oe as C, INFINITE_SCROLL_THRESHOLD as A, CARDS as E, pluralize as y, te as p, numberFormatter as k, ue as b, isProbablyMobile as D, y as U, i$1 as B, E as I } from "./index.BjpuOtB7.js";
|
3
|
+
import { st as u, p$1 as P, z as L, p$2 as V } from "./App.Bw24TFS-.js";
|
4
4
|
import h from "clsx";
|
5
5
|
import { Fragment as $ } from "react";
|
6
|
-
import { j as _, D as H, G as M, H as Y, U as F, M as a, F as
|
6
|
+
import { j as _, D as H, G as M, H as Y, U as F, M as a, F as f, l as G } from "./Table.BLNonpLk.js";
|
7
7
|
const K = ({
|
8
8
|
className: c,
|
9
9
|
viewBox: l,
|
@@ -121,8 +121,9 @@ const K = ({
|
|
121
121
|
return /* @__PURE__ */ e(a, { className: "sr-only", children: "Row" }, s);
|
122
122
|
case t.TIMESTAMP:
|
123
123
|
return /* @__PURE__ */ e(
|
124
|
-
|
124
|
+
f,
|
125
125
|
{
|
126
|
+
focusMode: "system",
|
126
127
|
buttonClassName: "text-xs sm:text-sm",
|
127
128
|
cellId: N,
|
128
129
|
align: "left",
|
@@ -141,8 +142,9 @@ const K = ({
|
|
141
142
|
return /* @__PURE__ */ e(a, { className: "text-xs sm:text-sm", children: "Provider" }, s);
|
142
143
|
case t.TOKEN_USAGE:
|
143
144
|
return /* @__PURE__ */ e(
|
144
|
-
|
145
|
+
f,
|
145
146
|
{
|
147
|
+
focusMode: "system",
|
146
148
|
buttonClassName: "text-xs sm:text-sm",
|
147
149
|
cellId: C,
|
148
150
|
align: "right",
|
@@ -196,7 +198,7 @@ const K = ({
|
|
196
198
|
);
|
197
199
|
}
|
198
200
|
case t.PROVIDER: {
|
199
|
-
const d = r.model ? b(r.model) : null,
|
201
|
+
const d = r.model ? b(r.model) : null, R = d ? q[d] : null;
|
200
202
|
return /* @__PURE__ */ e(
|
201
203
|
a,
|
202
204
|
{
|
@@ -204,8 +206,8 @@ const K = ({
|
|
204
206
|
scope: "row",
|
205
207
|
className: h("dark:text-gray-400"),
|
206
208
|
align: "center",
|
207
|
-
children:
|
208
|
-
|
209
|
+
children: R ? /* @__PURE__ */ e(
|
210
|
+
R,
|
209
211
|
{
|
210
212
|
size: "size-4 sm:size-5",
|
211
213
|
semantic: !0,
|
@@ -232,12 +234,10 @@ const K = ({
|
|
232
234
|
u,
|
233
235
|
{
|
234
236
|
label: "Restore chat",
|
235
|
-
mode: "alt-system",
|
236
237
|
placement: "top",
|
237
238
|
trigger: /* @__PURE__ */ e(
|
238
239
|
p,
|
239
240
|
{
|
240
|
-
focusMode: "alt-system",
|
241
241
|
noBorder: !0,
|
242
242
|
label: "Restore chat",
|
243
243
|
variant: "primary",
|
@@ -254,12 +254,10 @@ const K = ({
|
|
254
254
|
u,
|
255
255
|
{
|
256
256
|
label: r.favoriteChat ? "Remove from favorites" : "Add to favorites",
|
257
|
-
mode: "alt-system",
|
258
257
|
placement: "top",
|
259
258
|
trigger: /* @__PURE__ */ e(
|
260
259
|
p,
|
261
260
|
{
|
262
|
-
focusMode: "alt-system",
|
263
261
|
noBorder: !0,
|
264
262
|
label: r.favoriteChat ? "Remove from favorites" : "Add to favorites",
|
265
263
|
variant: "primary",
|
@@ -275,12 +273,10 @@ const K = ({
|
|
275
273
|
u,
|
276
274
|
{
|
277
275
|
label: "Delete chat",
|
278
|
-
mode: "alt-system",
|
279
276
|
placement: "top",
|
280
277
|
trigger: /* @__PURE__ */ e(
|
281
278
|
p,
|
282
279
|
{
|
283
|
-
focusMode: "alt-system",
|
284
280
|
noBorder: !0,
|
285
281
|
label: "Delete chat",
|
286
282
|
variant: "primary",
|
@@ -301,12 +297,12 @@ const K = ({
|
|
301
297
|
return /* @__PURE__ */ m(_, { stickyHeader: !0, stickyFooter: !0, compact: !0, mode: "alt-system", children: [
|
302
298
|
/* @__PURE__ */ e(H, { children: /* @__PURE__ */ e(M, { children: v.map((s) => T(s)) }) }),
|
303
299
|
/* @__PURE__ */ e(Y, { children: c.slice(0, o).map((s, r) => s?.messages?.length > 0 ? /* @__PURE__ */ m($, { children: [
|
304
|
-
r === o -
|
300
|
+
r === o - A && /* @__PURE__ */ e("tr", { ref: S }),
|
305
301
|
/* @__PURE__ */ e(M, { children: v.map(
|
306
302
|
(x) => z(x, s, r)
|
307
303
|
) })
|
308
|
-
] }, `${
|
309
|
-
/* @__PURE__ */ e(F, { children: /* @__PURE__ */ e(M, { children: /* @__PURE__ */ e(a, { colSpan: 1e3, children: /* @__PURE__ */ e("div", { children:
|
304
|
+
] }, `${E.HISTORY.TITLE}-${s.id}-${r}`) : null) }),
|
305
|
+
/* @__PURE__ */ e(F, { children: /* @__PURE__ */ e(M, { children: /* @__PURE__ */ e(a, { colSpan: 1e3, children: /* @__PURE__ */ e("div", { children: y(
|
310
306
|
`${c.length} chat`,
|
311
307
|
c.length
|
312
308
|
) }) }) }) })
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { jsxs as n, jsx as t, Fragment as Q } from "react/jsx-runtime";
|
2
|
-
import { I as Z, n as P, INFINITE_SCROLL_LIMIT as G, INFINITE_SCROLL_THRESHOLD as ee, LOCAL_STORAGE_PREFIX as y, LOCAL_STORAGE_SORT_TIMESTAMP as te, LOCAL_STORAGE_SORT_TOKEN_USAGE as re, LOCAL_STORAGE_SORT as ae, de as L, useUserPreferences as se, APP_CLASSNAME as oe, mutateCall as b, SERVICE_TYPES as x, setNewProvider as ie, ACTION_SORT as ne, Oe as ce, TOAST_CHAT_DELETED as le, TOAST_PROVIDER_CHANGED as de, useChatsHistory as he, LOCAL_STORAGE_SEARCH as me, LOCAL_STORAGE_FAVORITES_ONLY as ue, HISTORY_TITLE as Ce, S as Se, Y as pe, debounce as Te, C as fe, ACTION_SEARCH as ye } from "./index.
|
3
|
-
import { HistoryContext as z, ChatContext as M, useAiChat as Ee, E, e as m, ConfirmationPanel as ge, LazyToastContainerWrapper as Ae, showErrorToast as _e, CHAT_SET_PROVIDER as Oe, showSuccessToast as De, CHAT_SET_STATUS as ve, se as Le, O as Re } from "./App.
|
2
|
+
import { I as Z, n as P, INFINITE_SCROLL_LIMIT as G, INFINITE_SCROLL_THRESHOLD as ee, LOCAL_STORAGE_PREFIX as y, LOCAL_STORAGE_SORT_TIMESTAMP as te, LOCAL_STORAGE_SORT_TOKEN_USAGE as re, LOCAL_STORAGE_SORT as ae, de as L, useUserPreferences as se, APP_CLASSNAME as oe, mutateCall as b, SERVICE_TYPES as x, setNewProvider as ie, ACTION_SORT as ne, Oe as ce, TOAST_CHAT_DELETED as le, TOAST_PROVIDER_CHANGED as de, useChatsHistory as he, LOCAL_STORAGE_SEARCH as me, LOCAL_STORAGE_FAVORITES_ONLY as ue, HISTORY_TITLE as Ce, S as Se, Y as pe, debounce as Te, C as fe, ACTION_SEARCH as ye } from "./index.BjpuOtB7.js";
|
3
|
+
import { HistoryContext as z, ChatContext as M, useAiChat as Ee, E, e as m, ConfirmationPanel as ge, LazyToastContainerWrapper as Ae, showErrorToast as _e, CHAT_SET_PROVIDER as Oe, showSuccessToast as De, CHAT_SET_STATUS as ve, se as Le, O as Re } from "./App.Bw24TFS-.js";
|
4
4
|
import { useRef as H, useState as F, useContext as R, useCallback as ke, useEffect as U, Suspense as Ie, lazy as we } from "react";
|
5
5
|
const Ne = ({
|
6
6
|
className: l,
|
@@ -31,7 +31,7 @@ const Ne = ({
|
|
31
31
|
), be = we(
|
32
32
|
() => import(
|
33
33
|
/* webpackChunkName: "history-table" */
|
34
|
-
"./ChatHistoryTable.
|
34
|
+
"./ChatHistoryTable.BB5ESpr2.js"
|
35
35
|
).then((l) => ({ default: l.ChatHistoryTable }))
|
36
36
|
), xe = ({
|
37
37
|
filteredHistory: l,
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { jsxs as t, Fragment as m, jsx as e } from "react/jsx-runtime";
|
2
|
-
import { se as h } from "./App.
|
3
|
-
import { n as S, i as R, S as a, renderDataAsList as N, CARDS as r, it as P, isTauri as u, te as T, l as E, L as p, j as l, PROFILE_TITLE as C } from "./index.
|
2
|
+
import { se as h } from "./App.Bw24TFS-.js";
|
3
|
+
import { n as S, i as R, S as a, renderDataAsList as N, CARDS as r, it as P, isTauri as u, te as T, l as E, L as p, j as l, PROFILE_TITLE as C } from "./index.BjpuOtB7.js";
|
4
4
|
const A = () => {
|
5
5
|
const { isAuthenticated: n, user: i, registeringForPasskey: o, authenticationType: c } = S(), d = R(), s = i?.username || "";
|
6
6
|
return n && s ? /* @__PURE__ */ t(m, { children: [
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import { jsxs as m, jsx as r, Fragment as de } from "react/jsx-runtime";
|
2
|
-
import { o as ge, h as me, i as ye, x as xe, n as be, useUserPreferences as ke, Re as Ee, getCacheInfo as Te, isServiceWorkerEnabled as Ne, SETTINGS_TITLE as we, S as U, CARDS as A, C as oe, le as ve, PROMPTS_DESCRIPTION as Se, L as Ce, j as ue, getCurrentGeoLocation as Ie, mutateCall as he, handleServiceWorkerToggle as Le, SERVICE_TYPES as pe } from "./index.
|
3
|
-
import { useCapability as _e, se as Me, O as
|
2
|
+
import { o as ge, h as me, i as ye, x as xe, n as be, useUserPreferences as ke, Re as Ee, getCacheInfo as Te, isServiceWorkerEnabled as Ne, SETTINGS_TITLE as we, S as U, CARDS as A, C as oe, le as ve, PROMPTS_DESCRIPTION as Se, L as Ce, j as ue, getCurrentGeoLocation as Ie, mutateCall as he, handleServiceWorkerToggle as Le, SERVICE_TYPES as pe } from "./index.BjpuOtB7.js";
|
3
|
+
import { useCapability as _e, se as Me, O as B } from "./App.Bw24TFS-.js";
|
4
4
|
import Pe, { useState as d, useEffect as ce, useRef as H, useLayoutEffect as X, useCallback as Oe } from "react";
|
5
|
-
import { UserMemoriesPanel as Ae } from "./UserMemoriesPanel.
|
5
|
+
import { UserMemoriesPanel as Ae } from "./UserMemoriesPanel.3ikfhdxH.js";
|
6
6
|
import g from "clsx";
|
7
|
-
function
|
7
|
+
function Be({
|
8
8
|
value: a,
|
9
9
|
defaultValue: n,
|
10
10
|
finalValue: o,
|
@@ -23,7 +23,7 @@ function Re({
|
|
23
23
|
), h(!0)))();
|
24
24
|
}, [a, e, c]), a !== void 0 ? !c && e > 0 ? ["", s, !0] : [a, s, !0] : [y, w, !1];
|
25
25
|
}
|
26
|
-
const fe = "av-text-area",
|
26
|
+
const fe = "av-text-area", Re = "av-text-area-wrapper", ne = "av-text-area-helper-text", De = "av-text-area__control--right", Ge = "av-text-area__control--left", Ue = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hidden px-4 py-7", He = ({ mode: a }) => g({
|
27
27
|
"bg-surface-darker text-copy-lighter caret-copy-light": a === "dark",
|
28
28
|
"bg-surface-lighter text-copy-dark caret-copy-dark": a === "light",
|
29
29
|
"bg-surface-lighter text-copy-dark caret-copy-dark dark:bg-surface-darker dark:text-copy-lighter dark:caret-copy-light": a === "system",
|
@@ -123,7 +123,7 @@ const fe = "av-text-area", De = "av-text-area-wrapper", ne = "av-text-area-helpe
|
|
123
123
|
}) => {
|
124
124
|
const x = o ? a : g(
|
125
125
|
"relative flex w-full flex-col justify-center",
|
126
|
-
|
126
|
+
Re,
|
127
127
|
a
|
128
128
|
), I = o ? g(n) : g(
|
129
129
|
fe,
|
@@ -138,7 +138,7 @@ const fe = "av-text-area", De = "av-text-area-wrapper", ne = "av-text-area-helpe
|
|
138
138
|
{
|
139
139
|
"disabled:cursor-not-allowed disabled:opacity-50": e
|
140
140
|
}
|
141
|
-
),
|
141
|
+
), R = o ? void 0 : "sr-only", D = We({
|
142
142
|
disabled: e,
|
143
143
|
raw: o,
|
144
144
|
error: h,
|
@@ -150,12 +150,12 @@ const fe = "av-text-area", De = "av-text-area-wrapper", ne = "av-text-area-helpe
|
|
150
150
|
raw: o,
|
151
151
|
mode: y,
|
152
152
|
disabled: e
|
153
|
-
}), S = o ? void 0 : g(
|
153
|
+
}), S = o ? void 0 : g(De, "absolute"), b = o ? void 0 : g(Ge, "absolute");
|
154
154
|
return {
|
155
155
|
wrapper: x,
|
156
156
|
textArea: I,
|
157
|
-
accessibleLabel:
|
158
|
-
visibleLabel:
|
157
|
+
accessibleLabel: R,
|
158
|
+
visibleLabel: D,
|
159
159
|
helperText: p,
|
160
160
|
rightElement: S,
|
161
161
|
leftElement: b
|
@@ -190,8 +190,8 @@ const fe = "av-text-area", De = "av-text-area-wrapper", ne = "av-text-area-helpe
|
|
190
190
|
value: w,
|
191
191
|
defaultValue: x,
|
192
192
|
disabled: I = !1,
|
193
|
-
noBorder:
|
194
|
-
labelId:
|
193
|
+
noBorder: R = !1,
|
194
|
+
labelId: D,
|
195
195
|
helperText: p = "",
|
196
196
|
helperTextOnFocus: S = !1,
|
197
197
|
rightElement: b,
|
@@ -210,11 +210,11 @@ const fe = "av-text-area", De = "av-text-area-wrapper", ne = "av-text-area-helpe
|
|
210
210
|
raw: e,
|
211
211
|
focusMode: T,
|
212
212
|
disabled: I,
|
213
|
-
noBorder:
|
213
|
+
noBorder: R,
|
214
214
|
mode: y,
|
215
215
|
rightElement: !!b,
|
216
216
|
leftElement: !!N
|
217
|
-
}), [f, Y] =
|
217
|
+
}), [f, Y] = Be({
|
218
218
|
value: w,
|
219
219
|
initialControlledDelay: 20,
|
220
220
|
defaultValue: x,
|
@@ -269,7 +269,7 @@ const fe = "av-text-area", De = "av-text-area-wrapper", ne = "av-text-area-helpe
|
|
269
269
|
"label",
|
270
270
|
{
|
271
271
|
htmlFor: P,
|
272
|
-
id:
|
272
|
+
id: D,
|
273
273
|
className: l.accessibleLabel,
|
274
274
|
children: o
|
275
275
|
}
|
@@ -369,7 +369,7 @@ const Ze = ({
|
|
369
369
|
loadingLocation: !1
|
370
370
|
}), [w, x] = d({
|
371
371
|
prompts: []
|
372
|
-
}), [I,
|
372
|
+
}), [I, R] = d(""), [D, p] = d(""), [S, b] = d(!1), [N, $] = d(!1), [L, V] = d(!1), [G, q] = d(!1), [u, J] = d(null), [K, _] = d(!1), [Q, v] = d(!1), [W, z] = d(!1), M = _e(Ee.TOOL.MEMORIES), Z = (t) => {
|
373
373
|
v(t);
|
374
374
|
}, ee = (t) => {
|
375
375
|
b(t);
|
@@ -386,7 +386,7 @@ const Ze = ({
|
|
386
386
|
params: {
|
387
387
|
user: s?.username,
|
388
388
|
instructions: I,
|
389
|
-
location:
|
389
|
+
location: D,
|
390
390
|
provider: e?.provider,
|
391
391
|
tags: w.prompts,
|
392
392
|
sendOnEnter: S,
|
@@ -460,7 +460,7 @@ const Ze = ({
|
|
460
460
|
return ce(() => {
|
461
461
|
if (!e)
|
462
462
|
return;
|
463
|
-
e.instructions &&
|
463
|
+
e.instructions && R(e.instructions), e.location && p(e.location), e.tags && x({ prompts: e.tags }), e.sendOnEnter !== void 0 && b(e.sendOnEnter), e.useMemory !== void 0 && $(e.useMemory), e.showDetails !== void 0 && v(e.showDetails);
|
464
464
|
const t = Ne();
|
465
465
|
V(t), q(t);
|
466
466
|
}, [e]), ce(() => {
|
@@ -516,8 +516,9 @@ const Ze = ({
|
|
516
516
|
children: [
|
517
517
|
/* @__PURE__ */ r("p", { className: "text-sm", children: A.SETTINGS_DETAILS.DETAILS }),
|
518
518
|
/* @__PURE__ */ r(
|
519
|
-
|
519
|
+
B,
|
520
520
|
{
|
521
|
+
noBorder: !0,
|
521
522
|
narrow: !0,
|
522
523
|
className: "mt-2",
|
523
524
|
label: "Show Message Statistics",
|
@@ -528,8 +529,9 @@ const Ze = ({
|
|
528
529
|
),
|
529
530
|
/* @__PURE__ */ r("p", { className: "text-sm mt-5", children: A.SETTINGS_DETAILS.SEND_ON_ENTER }),
|
530
531
|
/* @__PURE__ */ r(
|
531
|
-
|
532
|
+
B,
|
532
533
|
{
|
534
|
+
noBorder: !0,
|
533
535
|
narrow: !0,
|
534
536
|
className: "mt-2",
|
535
537
|
label: "Send Message on Enter",
|
@@ -541,8 +543,9 @@ const Ze = ({
|
|
541
543
|
M && /* @__PURE__ */ m(de, { children: [
|
542
544
|
/* @__PURE__ */ r("p", { className: "text-sm mt-5", children: A.SETTINGS_DETAILS.USE_MEMORY }),
|
543
545
|
/* @__PURE__ */ r(
|
544
|
-
|
546
|
+
B,
|
545
547
|
{
|
548
|
+
noBorder: !0,
|
546
549
|
narrow: !0,
|
547
550
|
className: "mt-2",
|
548
551
|
label: "Use Memory",
|
@@ -589,7 +592,7 @@ const Ze = ({
|
|
589
592
|
label: "Custom Instructions",
|
590
593
|
value: I,
|
591
594
|
onChange: (t) => {
|
592
|
-
|
595
|
+
R(t.target.value);
|
593
596
|
},
|
594
597
|
helperText: "Press ENTER to add a new line."
|
595
598
|
}
|
@@ -611,7 +614,7 @@ const Ze = ({
|
|
611
614
|
mode: "alt-system",
|
612
615
|
name: "location",
|
613
616
|
label: "Location",
|
614
|
-
value:
|
617
|
+
value: D,
|
615
618
|
onChange: (t) => {
|
616
619
|
p(t.target.value);
|
617
620
|
},
|
@@ -651,13 +654,13 @@ const Ze = ({
|
|
651
654
|
children: [
|
652
655
|
/* @__PURE__ */ r("p", { className: "text-sm", children: t.description }),
|
653
656
|
/* @__PURE__ */ r(
|
654
|
-
|
657
|
+
B,
|
655
658
|
{
|
659
|
+
noBorder: !0,
|
656
660
|
narrow: !0,
|
657
661
|
mode: "dark",
|
658
662
|
focusMode: "light",
|
659
663
|
className: "mt-2",
|
660
|
-
noBorder: !0,
|
661
664
|
label: "Enabled",
|
662
665
|
name: t.slot.toString(),
|
663
666
|
onChange: (l) => {
|
@@ -670,13 +673,13 @@ const Ze = ({
|
|
670
673
|
}
|
671
674
|
),
|
672
675
|
/* @__PURE__ */ r(
|
673
|
-
|
676
|
+
B,
|
674
677
|
{
|
678
|
+
noBorder: !0,
|
675
679
|
narrow: !0,
|
676
680
|
mode: "dark",
|
677
681
|
focusMode: "light",
|
678
682
|
className: "mt-2",
|
679
|
-
noBorder: !0,
|
680
683
|
label: "Private Chat",
|
681
684
|
name: `private-${t.slot.toString()}`,
|
682
685
|
onChange: (l) => {
|
@@ -689,13 +692,13 @@ const Ze = ({
|
|
689
692
|
}
|
690
693
|
),
|
691
694
|
/* @__PURE__ */ r(
|
692
|
-
|
695
|
+
B,
|
693
696
|
{
|
697
|
+
noBorder: !0,
|
694
698
|
narrow: !0,
|
695
699
|
mode: "dark",
|
696
700
|
focusMode: "light",
|
697
701
|
className: "mt-2",
|
698
|
-
noBorder: !0,
|
699
702
|
label: "Use Clipboard",
|
700
703
|
name: `clipboard-${t.slot.toString()}`,
|
701
704
|
onChange: (l) => {
|
@@ -723,8 +726,9 @@ const Ze = ({
|
|
723
726
|
children: [
|
724
727
|
/* @__PURE__ */ r("p", { className: "text-sm", children: A.SETTINGS_CACHING.DESCRIPTION }),
|
725
728
|
/* @__PURE__ */ r(
|
726
|
-
|
729
|
+
B,
|
727
730
|
{
|
731
|
+
noBorder: !0,
|
728
732
|
narrow: !0,
|
729
733
|
className: "mt-2",
|
730
734
|
label: "Enable Assets Caching",
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { jsxs as _, jsx as r } from "react/jsx-runtime";
|
2
|
-
import { I as f, b as v } from "./index.
|
2
|
+
import { I as f, b as v } from "./index.BjpuOtB7.js";
|
3
3
|
import C, { useContext as b } from "react";
|
4
4
|
import o from "clsx";
|
5
|
-
import { e as k } from "./App.
|
5
|
+
import { e as k } from "./App.Bw24TFS-.js";
|
6
6
|
const A = ({
|
7
7
|
className: e,
|
8
8
|
viewBox: a,
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import { jsxs as l, jsx as e } from "react/jsx-runtime";
|
2
|
-
import { n as f, i as U, useUserChatStats as v, useChatsUsage as E, USAGE_TITLE as L, S as h, renderDataAsList as M, CARDS as n, L as _, j as D, C as m, pluralize as i } from "./index.
|
3
|
-
import { se as z } from "./App.
|
2
|
+
import { n as f, i as U, useUserChatStats as v, useChatsUsage as E, USAGE_TITLE as L, S as h, renderDataAsList as M, CARDS as n, L as _, j as D, C as m, pluralize as i } from "./index.BjpuOtB7.js";
|
3
|
+
import { se as z } from "./App.Bw24TFS-.js";
|
4
4
|
import { useState as O, Suspense as P, lazy as B } from "react";
|
5
5
|
const t = [0, 3, 6, 9], j = B(() => import(
|
6
6
|
/* webpackChunkName: "LazyChart" */
|
7
|
-
"./Chart.
|
7
|
+
"./Chart.Cddg0IXQ.js"
|
8
8
|
)), b = ({
|
9
9
|
open: S,
|
10
10
|
onOpenChange: I
|