@versini/sassysaint 8.72.0 → 8.72.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.Cq9mwfwv.js → AboutChangelog.CXOnXOxv.js} +2 -2
- package/dist/chunks/{AboutEntry.ruVpzfpU.js → AboutEntry.BqghyPht.js} +5 -5
- package/dist/chunks/{App.BOp4E81K.js → App.DiTqgtxP.js} +44 -44
- package/dist/chunks/{Chart.BVDTPl1g.js → Chart.zHnmf0lE.js} +2 -2
- package/dist/chunks/{ChatBubbleAssistant.lzkCRPLG.js → ChatBubbleAssistant.BCUcCov2.js} +4 -4
- package/dist/chunks/{ChatBubbleUser.GpHT9aqr.js → ChatBubbleUser.DeTLiCnK.js} +6 -6
- package/dist/chunks/{ChatHistoryTable.B6J50Lae.js → ChatHistoryTable.BLuVDrmn.js} +3 -3
- package/dist/chunks/{HistoryEntry.CZ4jl6nS.js → HistoryEntry.DfYIUhAQ.js} +3 -3
- package/dist/chunks/{ProfileEntry.CrCr1Bp7.js → ProfileEntry.AoEbtJwx.js} +2 -2
- package/dist/chunks/{SettingsEntry.JmLkVVd4.js → SettingsEntry.DxeR3V3h.js} +149 -127
- package/dist/chunks/{Table.BFDIw396.js → Table.DEwmX1g0.js} +6 -6
- package/dist/chunks/{UsageEntry.B65VL0SB.js → UsageEntry.Dm5VMDaB.js} +3 -3
- package/dist/chunks/{UserMemoriesPanel.BsWKxPUi.js → UserMemoriesPanel.DfUqGJlK.js} +4 -4
- package/dist/chunks/{index.DAmS0iMm.js → index.BWK5jDpV.js} +2 -2
- package/dist/chunks/{index.ClLIvwbP.js → index.C1N6IHak.js} +8 -8
- package/dist/chunks/{index.B07uAAXy.js → index.CjmLIeXl.js} +4 -4
- package/dist/chunks/{index.NXGZo6q_.js → index.Cs_I2oBS.js} +1 -1
- package/dist/chunks/{index.lwEWrGfp.js → index.D-zPjU38.js} +122 -119
- package/dist/chunks/{index.Sz1_o7rm.js → index.DMxEcskX.js} +1 -1
- package/dist/chunks/{index.AEvTjh_P.js → index.DyFmi5Zp.js} +3 -3
- package/dist/chunks/{index.RqmIaetn.js → index.TGXUnVDl.js} +1 -1
- package/dist/chunks/{useMarkdown.Ch0nplnG.js → useMarkdown.6gAYVpMt.js} +10 -10
- package/dist/components/SassySaint/SassySaint.js +1 -1
- package/dist/index.js +4 -4
- package/dist/style.css +2 -2
- package/package.json +6 -6
|
@@ -1,157 +1,166 @@
|
|
|
1
|
-
import { jsxs as s, jsx as t, Fragment as
|
|
2
|
-
import { n as
|
|
3
|
-
import { useCapability as
|
|
4
|
-
import { Re as
|
|
5
|
-
import { useState as n, useMemo as
|
|
6
|
-
const
|
|
7
|
-
open:
|
|
8
|
-
onOpenChange:
|
|
1
|
+
import { jsxs as s, jsx as t, Fragment as y } from "react/jsx-runtime";
|
|
2
|
+
import { n as ye, useEntitlements as Me, useUserPreferences as ve, nt as ae, LOCAL_STORAGE_OLED_MODE as Le, canEvaluateModels as Oe, et as _e, DATA_OLED_MODE as ne, getCacheInfo as Ae, isServiceWorkerEnabled as xe, SETTINGS_TITLE as Re, S as m, CARDS as r, Q as Be, C as M, PROMPTS_DESCRIPTION as Pe, L as Ge, j as re, getCurrentGeoLocation as Ue, graphQLRequest as le, handleServiceWorkerToggle as Ve, SERVICE_TYPES as ce } from "./index.D-zPjU38.js";
|
|
3
|
+
import { useCapability as ie, E as We, oe as $e, G as l } from "./App.DiTqgtxP.js";
|
|
4
|
+
import { Re as de } from "./index.CjmLIeXl.js";
|
|
5
|
+
import { useState as n, useMemo as ze, useCallback as me, useEffect as v } from "react";
|
|
6
|
+
const Qe = ({
|
|
7
|
+
open: ue,
|
|
8
|
+
onOpenChange: L
|
|
9
9
|
}) => {
|
|
10
|
-
const { getAccessToken:
|
|
10
|
+
const { getAccessToken: f, user: O } = ye(), { allowedModels: T, status: _ } = Me(), {
|
|
11
11
|
data: o,
|
|
12
|
-
isSuccess:
|
|
13
|
-
refetch:
|
|
14
|
-
} =
|
|
15
|
-
user:
|
|
16
|
-
getAccessToken:
|
|
12
|
+
isSuccess: he,
|
|
13
|
+
refetch: A
|
|
14
|
+
} = ve({
|
|
15
|
+
user: O?.username,
|
|
16
|
+
getAccessToken: f
|
|
17
17
|
}), [x, p] = n({
|
|
18
18
|
loadingLocation: !1
|
|
19
19
|
}), [C, R] = n({
|
|
20
20
|
prompts: []
|
|
21
|
-
}), [
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
K && U(e);
|
|
27
|
-
}, pe = (e) => {
|
|
28
|
-
V(e);
|
|
29
|
-
}, ge = (e) => {
|
|
30
|
-
X && z(e);
|
|
21
|
+
}), [B, P] = n(""), [G, E] = n(""), [U, V] = n(!1), [W, $] = n(!1), [g, z] = n(!1), [N, j] = n(!1), [H, Y] = n(!1), [q, F] = n(!1), [u, Q] = n(null), [K, J] = n(!1), [X, Z] = n(!1), ee = ie(ae.TOOL.MEMORIES), te = ie(ae.ADDON.REASONING), [I, pe] = We({
|
|
22
|
+
key: Le,
|
|
23
|
+
initialValue: !1
|
|
24
|
+
}), Ee = ze(() => Oe(T, _) ? _e(T) : !1, [T, _]), ge = (e) => {
|
|
25
|
+
Z(e);
|
|
31
26
|
}, Ne = (e) => {
|
|
32
|
-
|
|
33
|
-
}, Se =
|
|
27
|
+
V(e);
|
|
28
|
+
}, Se = (e) => {
|
|
29
|
+
ee && $(e);
|
|
30
|
+
}, fe = (e) => {
|
|
31
|
+
j(e);
|
|
32
|
+
}, Te = (e) => {
|
|
33
|
+
te && Y(e);
|
|
34
|
+
}, Ce = (e) => {
|
|
35
|
+
F(e);
|
|
36
|
+
}, b = me((e) => {
|
|
37
|
+
e ? document.documentElement.setAttribute(ne, "true") : document.documentElement.removeAttribute(ne);
|
|
38
|
+
}, []), Ie = (e) => {
|
|
39
|
+
pe(e), b(e);
|
|
40
|
+
}, be = async (e) => {
|
|
34
41
|
e.preventDefault();
|
|
35
42
|
try {
|
|
36
|
-
await
|
|
37
|
-
accessToken: await
|
|
38
|
-
type:
|
|
43
|
+
await le({
|
|
44
|
+
accessToken: await f(),
|
|
45
|
+
type: ce.SET_USER_PREFERENCES,
|
|
39
46
|
params: {
|
|
40
|
-
user:
|
|
41
|
-
instructions:
|
|
42
|
-
location:
|
|
47
|
+
user: O?.username,
|
|
48
|
+
instructions: B,
|
|
49
|
+
location: G,
|
|
43
50
|
provider: o?.provider,
|
|
44
51
|
tags: C.prompts,
|
|
45
|
-
sendOnEnter:
|
|
46
|
-
useMemory:
|
|
47
|
-
showDetails:
|
|
48
|
-
showReasoningButton:
|
|
49
|
-
useNestedModelSelection:
|
|
52
|
+
sendOnEnter: U,
|
|
53
|
+
useMemory: W,
|
|
54
|
+
showDetails: X,
|
|
55
|
+
showReasoningButton: H,
|
|
56
|
+
useNestedModelSelection: q
|
|
50
57
|
}
|
|
51
|
-
}),
|
|
58
|
+
}), N !== g && (await Ve(N), z(N)), A(), p({
|
|
52
59
|
loadingLocation: !1
|
|
53
60
|
});
|
|
54
61
|
} catch {
|
|
55
62
|
}
|
|
56
|
-
},
|
|
63
|
+
}, ke = async () => {
|
|
57
64
|
p({
|
|
58
65
|
loadingLocation: !0
|
|
59
|
-
}),
|
|
66
|
+
}), E("...");
|
|
60
67
|
try {
|
|
61
|
-
const e = Date.now(), a = await
|
|
62
|
-
accessToken: await
|
|
63
|
-
type:
|
|
68
|
+
const e = Date.now(), a = await Ue(), S = await le({
|
|
69
|
+
accessToken: await f(),
|
|
70
|
+
type: ce.GET_LOCATION,
|
|
64
71
|
params: {
|
|
65
72
|
latitude: a.latitude,
|
|
66
73
|
longitude: a.longitude
|
|
67
74
|
}
|
|
68
75
|
}), d = Date.now() - e;
|
|
69
|
-
d < 2e3 && await new Promise((
|
|
70
|
-
const { city: i, state:
|
|
76
|
+
d < 2e3 && await new Promise((De) => setTimeout(De, 2e3 - d));
|
|
77
|
+
const { city: i, state: c, country: h, displayName: D } = S.data, we = i && c && h ? `${i}, ${c}, ${h}` : D;
|
|
71
78
|
p({
|
|
72
79
|
loadingLocation: !1
|
|
73
|
-
}),
|
|
80
|
+
}), E(we);
|
|
74
81
|
} catch {
|
|
75
82
|
p({
|
|
76
83
|
loadingLocation: !1
|
|
77
84
|
});
|
|
78
85
|
}
|
|
79
|
-
},
|
|
80
|
-
|
|
81
|
-
},
|
|
86
|
+
}, oe = () => {
|
|
87
|
+
A(), L(!1);
|
|
88
|
+
}, k = ({
|
|
82
89
|
enabled: e = !1,
|
|
83
90
|
privateChat: a = !1,
|
|
84
|
-
clipboardAccess:
|
|
85
|
-
...
|
|
91
|
+
clipboardAccess: S = !1,
|
|
92
|
+
...w
|
|
86
93
|
}) => {
|
|
87
94
|
R((d) => {
|
|
88
|
-
const i = d.prompts,
|
|
89
|
-
...
|
|
95
|
+
const i = d.prompts, c = {
|
|
96
|
+
...w,
|
|
90
97
|
enabled: e,
|
|
91
98
|
privateChat: a,
|
|
92
|
-
clipboardAccess:
|
|
99
|
+
clipboardAccess: S
|
|
93
100
|
};
|
|
94
|
-
|
|
95
|
-
const
|
|
96
|
-
return
|
|
101
|
+
S ? c.content = c.content.replace(/{{clipboard}}/g, "") + " {{clipboard}}" : c.content = c.content.replace(/{{clipboard}}/g, "");
|
|
102
|
+
const h = i.findIndex((D) => D.slot === w.slot);
|
|
103
|
+
return h === -1 ? {
|
|
97
104
|
...d,
|
|
98
|
-
prompts: [...i, { ...
|
|
99
|
-
} : (i[
|
|
105
|
+
prompts: [...i, { ...c }]
|
|
106
|
+
} : (i[h] = c, {
|
|
100
107
|
...d,
|
|
101
108
|
prompts: [...i]
|
|
102
109
|
});
|
|
103
110
|
});
|
|
104
|
-
},
|
|
111
|
+
}, se = me(async () => {
|
|
105
112
|
try {
|
|
106
|
-
|
|
107
|
-
const e = await
|
|
108
|
-
|
|
113
|
+
J(!0);
|
|
114
|
+
const e = await Ae();
|
|
115
|
+
Q(e);
|
|
109
116
|
} catch {
|
|
110
117
|
} finally {
|
|
111
|
-
|
|
118
|
+
J(!1);
|
|
112
119
|
}
|
|
113
120
|
}, []);
|
|
114
|
-
return
|
|
121
|
+
return v(() => {
|
|
115
122
|
if (!o)
|
|
116
123
|
return;
|
|
117
|
-
o.instructions &&
|
|
118
|
-
const e =
|
|
119
|
-
|
|
120
|
-
}, [o]),
|
|
121
|
-
|
|
122
|
-
}, [
|
|
123
|
-
|
|
124
|
+
o.instructions && P(o.instructions), o.location && E(o.location), o.tags && R({ prompts: o.tags }), o.sendOnEnter !== void 0 && V(o.sendOnEnter), o.useMemory !== void 0 && $(o.useMemory), o.showDetails !== void 0 && Z(o.showDetails), o.showReasoningButton !== void 0 && Y(o.showReasoningButton), o.useNestedModelSelection !== void 0 && F(o.useNestedModelSelection);
|
|
125
|
+
const e = xe();
|
|
126
|
+
z(e), j(e);
|
|
127
|
+
}, [o]), v(() => {
|
|
128
|
+
g ? se() : Q(null);
|
|
129
|
+
}, [g, se]), v(() => {
|
|
130
|
+
b(I);
|
|
131
|
+
}, [I, b]), he ? /* @__PURE__ */ s(
|
|
132
|
+
$e,
|
|
124
133
|
{
|
|
125
|
-
open:
|
|
126
|
-
onOpenChange:
|
|
127
|
-
title:
|
|
134
|
+
open: ue,
|
|
135
|
+
onOpenChange: oe,
|
|
136
|
+
title: Re,
|
|
128
137
|
animation: !0,
|
|
129
138
|
animationType: "fade",
|
|
130
139
|
footer: /* @__PURE__ */ s(
|
|
131
|
-
|
|
140
|
+
Ge,
|
|
132
141
|
{
|
|
133
142
|
columnGap: 2,
|
|
134
143
|
alignHorizontal: "flex-end",
|
|
135
144
|
className: "pb-8 sm:pb-0",
|
|
136
145
|
children: [
|
|
137
|
-
/* @__PURE__ */ t(
|
|
138
|
-
|
|
146
|
+
/* @__PURE__ */ t(re, { children: /* @__PURE__ */ t(
|
|
147
|
+
M,
|
|
139
148
|
{
|
|
140
149
|
mode: "dark",
|
|
141
150
|
variant: "secondary",
|
|
142
151
|
focusMode: "light",
|
|
143
152
|
noBorder: !0,
|
|
144
|
-
onClick:
|
|
153
|
+
onClick: oe,
|
|
145
154
|
children: "Cancel"
|
|
146
155
|
}
|
|
147
156
|
) }),
|
|
148
|
-
/* @__PURE__ */ t(
|
|
149
|
-
|
|
157
|
+
/* @__PURE__ */ t(re, { children: /* @__PURE__ */ t(
|
|
158
|
+
M,
|
|
150
159
|
{
|
|
151
160
|
mode: "dark",
|
|
152
161
|
focusMode: "light",
|
|
153
162
|
onClick: async (e) => {
|
|
154
|
-
|
|
163
|
+
L(!1), await be(e);
|
|
155
164
|
},
|
|
156
165
|
children: "Save"
|
|
157
166
|
}
|
|
@@ -163,11 +172,11 @@ const $e = ({
|
|
|
163
172
|
/* @__PURE__ */ s(
|
|
164
173
|
m,
|
|
165
174
|
{
|
|
166
|
-
header:
|
|
175
|
+
header: r.SETTINGS_DETAILS.TITLE,
|
|
167
176
|
className: "prose-dark dark:prose-lighter",
|
|
168
177
|
noBorder: !0,
|
|
169
178
|
children: [
|
|
170
|
-
/* @__PURE__ */ t("p", { className: "text-sm", children:
|
|
179
|
+
/* @__PURE__ */ t("p", { className: "text-sm", children: r.SETTINGS_DETAILS.DETAILS }),
|
|
171
180
|
/* @__PURE__ */ t(
|
|
172
181
|
l,
|
|
173
182
|
{
|
|
@@ -176,11 +185,11 @@ const $e = ({
|
|
|
176
185
|
className: "mt-2",
|
|
177
186
|
label: "Show Message Statistics",
|
|
178
187
|
name: "show-message-statistics",
|
|
179
|
-
onChange:
|
|
180
|
-
checked:
|
|
188
|
+
onChange: ge,
|
|
189
|
+
checked: X
|
|
181
190
|
}
|
|
182
191
|
),
|
|
183
|
-
/* @__PURE__ */ t("p", { className: "text-sm mt-5", children:
|
|
192
|
+
/* @__PURE__ */ t("p", { className: "text-sm mt-5", children: r.SETTINGS_DETAILS.SEND_ON_ENTER }),
|
|
184
193
|
/* @__PURE__ */ t(
|
|
185
194
|
l,
|
|
186
195
|
{
|
|
@@ -189,12 +198,12 @@ const $e = ({
|
|
|
189
198
|
className: "mt-2",
|
|
190
199
|
label: "Send Message on Enter",
|
|
191
200
|
name: "send-message-on-enter",
|
|
192
|
-
onChange:
|
|
193
|
-
checked:
|
|
201
|
+
onChange: Ne,
|
|
202
|
+
checked: U
|
|
194
203
|
}
|
|
195
204
|
),
|
|
196
|
-
|
|
197
|
-
/* @__PURE__ */ t("p", { className: "text-sm mt-5", children:
|
|
205
|
+
ee && /* @__PURE__ */ s(y, { children: [
|
|
206
|
+
/* @__PURE__ */ t("p", { className: "text-sm mt-5", children: r.SETTINGS_DETAILS.USE_MEMORY }),
|
|
198
207
|
/* @__PURE__ */ t(
|
|
199
208
|
l,
|
|
200
209
|
{
|
|
@@ -203,8 +212,8 @@ const $e = ({
|
|
|
203
212
|
className: "mt-2",
|
|
204
213
|
label: "Use Memory",
|
|
205
214
|
name: "use-memory",
|
|
206
|
-
onChange:
|
|
207
|
-
checked:
|
|
215
|
+
onChange: Se,
|
|
216
|
+
checked: W
|
|
208
217
|
}
|
|
209
218
|
)
|
|
210
219
|
] })
|
|
@@ -220,11 +229,11 @@ const $e = ({
|
|
|
220
229
|
children: [
|
|
221
230
|
/* @__PURE__ */ s("p", { className: "text-sm", children: [
|
|
222
231
|
"What would you like ",
|
|
223
|
-
/* @__PURE__ */ t("em", { children:
|
|
232
|
+
/* @__PURE__ */ t("em", { children: Be }),
|
|
224
233
|
" to know about you to provide better responses?"
|
|
225
234
|
] }),
|
|
226
235
|
/* @__PURE__ */ t(
|
|
227
|
-
|
|
236
|
+
de,
|
|
228
237
|
{
|
|
229
238
|
mode: "alt-system",
|
|
230
239
|
autoCapitalize: "off",
|
|
@@ -232,9 +241,9 @@ const $e = ({
|
|
|
232
241
|
autoCorrect: "off",
|
|
233
242
|
name: "customInstructions",
|
|
234
243
|
label: "Custom Instructions",
|
|
235
|
-
value:
|
|
244
|
+
value: B,
|
|
236
245
|
onChange: (e) => {
|
|
237
|
-
|
|
246
|
+
P(e.target.value);
|
|
238
247
|
},
|
|
239
248
|
helperText: "Press ENTER to add a new line."
|
|
240
249
|
}
|
|
@@ -251,27 +260,27 @@ const $e = ({
|
|
|
251
260
|
children: [
|
|
252
261
|
/* @__PURE__ */ t("p", { className: "text-sm", children: "You can share your location to receive customized responses based on your area." }),
|
|
253
262
|
/* @__PURE__ */ t(
|
|
254
|
-
|
|
263
|
+
de,
|
|
255
264
|
{
|
|
256
265
|
mode: "alt-system",
|
|
257
266
|
name: "location",
|
|
258
267
|
label: "Location",
|
|
259
|
-
value:
|
|
268
|
+
value: G,
|
|
260
269
|
onChange: (e) => {
|
|
261
|
-
|
|
270
|
+
E(e.target.value);
|
|
262
271
|
},
|
|
263
272
|
helperText: "Enter your location or press auto-detect."
|
|
264
273
|
}
|
|
265
274
|
),
|
|
266
275
|
/* @__PURE__ */ t(
|
|
267
|
-
|
|
276
|
+
M,
|
|
268
277
|
{
|
|
269
278
|
className: "mt-2",
|
|
270
279
|
size: "small",
|
|
271
280
|
noBorder: !0,
|
|
272
281
|
variant: "secondary",
|
|
273
282
|
disabled: x.loadingLocation,
|
|
274
|
-
onClick:
|
|
283
|
+
onClick: ke,
|
|
275
284
|
children: x.loadingLocation ? "Detecting..." : "Auto-detect"
|
|
276
285
|
}
|
|
277
286
|
)
|
|
@@ -281,11 +290,11 @@ const $e = ({
|
|
|
281
290
|
/* @__PURE__ */ s(
|
|
282
291
|
m,
|
|
283
292
|
{
|
|
284
|
-
header:
|
|
293
|
+
header: r.SETTINGS_PROMPTS.TITLE,
|
|
285
294
|
className: "prose-dark dark:prose-lighter mt-4",
|
|
286
295
|
noBorder: !0,
|
|
287
296
|
children: [
|
|
288
|
-
/* @__PURE__ */ t("p", { className: "text-sm", children:
|
|
297
|
+
/* @__PURE__ */ t("p", { className: "text-sm", children: Pe }),
|
|
289
298
|
C.prompts && C.prompts.slice(0, 3).map((e) => /* @__PURE__ */ s(
|
|
290
299
|
m,
|
|
291
300
|
{
|
|
@@ -306,7 +315,7 @@ const $e = ({
|
|
|
306
315
|
label: "Enabled",
|
|
307
316
|
name: e.slot.toString(),
|
|
308
317
|
onChange: (a) => {
|
|
309
|
-
|
|
318
|
+
k({
|
|
310
319
|
...e,
|
|
311
320
|
enabled: a
|
|
312
321
|
});
|
|
@@ -325,7 +334,7 @@ const $e = ({
|
|
|
325
334
|
label: "Private Chat",
|
|
326
335
|
name: `private-${e.slot.toString()}`,
|
|
327
336
|
onChange: (a) => {
|
|
328
|
-
|
|
337
|
+
k({
|
|
329
338
|
...e,
|
|
330
339
|
privateChat: a
|
|
331
340
|
});
|
|
@@ -344,7 +353,7 @@ const $e = ({
|
|
|
344
353
|
label: "Use Clipboard",
|
|
345
354
|
name: `clipboard-${e.slot.toString()}`,
|
|
346
355
|
onChange: (a) => {
|
|
347
|
-
|
|
356
|
+
k({
|
|
348
357
|
...e,
|
|
349
358
|
clipboardAccess: a
|
|
350
359
|
});
|
|
@@ -362,12 +371,12 @@ const $e = ({
|
|
|
362
371
|
/* @__PURE__ */ s(
|
|
363
372
|
m,
|
|
364
373
|
{
|
|
365
|
-
header:
|
|
374
|
+
header: r.SETTINGS_ADVANCED.TITLE,
|
|
366
375
|
className: "prose-dark dark:prose-lighter mt-4 ",
|
|
367
376
|
noBorder: !0,
|
|
368
377
|
children: [
|
|
369
|
-
|
|
370
|
-
/* @__PURE__ */ t("p", { className: "text-sm", children:
|
|
378
|
+
te && /* @__PURE__ */ s(y, { children: [
|
|
379
|
+
/* @__PURE__ */ t("p", { className: "text-sm", children: r.SETTINGS_ADVANCED.REASONING_BUTTON_DESCRIPTION }),
|
|
371
380
|
/* @__PURE__ */ t(
|
|
372
381
|
l,
|
|
373
382
|
{
|
|
@@ -376,13 +385,13 @@ const $e = ({
|
|
|
376
385
|
className: "mt-2",
|
|
377
386
|
label: "Show Reasoning Button",
|
|
378
387
|
name: "show-reasoning-button",
|
|
379
|
-
onChange:
|
|
380
|
-
checked:
|
|
388
|
+
onChange: Te,
|
|
389
|
+
checked: H
|
|
381
390
|
}
|
|
382
391
|
)
|
|
383
392
|
] }),
|
|
384
|
-
|
|
385
|
-
/* @__PURE__ */ t("p", { className: "text-sm mt-5", children:
|
|
393
|
+
Ee && /* @__PURE__ */ s(y, { children: [
|
|
394
|
+
/* @__PURE__ */ t("p", { className: "text-sm mt-5", children: r.SETTINGS_ADVANCED.NESTED_MODEL_SELECTION_DESCRIPTION }),
|
|
386
395
|
/* @__PURE__ */ t(
|
|
387
396
|
l,
|
|
388
397
|
{
|
|
@@ -391,12 +400,12 @@ const $e = ({
|
|
|
391
400
|
className: "mt-2",
|
|
392
401
|
label: "Enable Model Selection",
|
|
393
402
|
name: "use-nested-model-selection",
|
|
394
|
-
onChange:
|
|
395
|
-
checked:
|
|
403
|
+
onChange: Ce,
|
|
404
|
+
checked: q
|
|
396
405
|
}
|
|
397
406
|
)
|
|
398
407
|
] }),
|
|
399
|
-
/* @__PURE__ */ t("p", { className: "text-sm mt-5", children:
|
|
408
|
+
/* @__PURE__ */ t("p", { className: "text-sm mt-5", children: r.SETTINGS_ADVANCED.CACHE_DESCRIPTION }),
|
|
400
409
|
/* @__PURE__ */ t(
|
|
401
410
|
l,
|
|
402
411
|
{
|
|
@@ -405,22 +414,35 @@ const $e = ({
|
|
|
405
414
|
className: "mt-2",
|
|
406
415
|
label: "Enable Assets Caching",
|
|
407
416
|
name: "enable-service-worker",
|
|
408
|
-
onChange:
|
|
409
|
-
checked:
|
|
417
|
+
onChange: fe,
|
|
418
|
+
checked: N
|
|
419
|
+
}
|
|
420
|
+
),
|
|
421
|
+
/* @__PURE__ */ t("p", { className: "text-sm mt-5", children: r.SETTINGS_ADVANCED.BACKGROUND_THEME_DESCRIPTION }),
|
|
422
|
+
/* @__PURE__ */ t(
|
|
423
|
+
l,
|
|
424
|
+
{
|
|
425
|
+
noBorder: !0,
|
|
426
|
+
narrow: !0,
|
|
427
|
+
className: "mt-2",
|
|
428
|
+
label: "Enable OLED Mode",
|
|
429
|
+
name: "enable-oled-mode",
|
|
430
|
+
onChange: Ie,
|
|
431
|
+
checked: I
|
|
410
432
|
}
|
|
411
433
|
),
|
|
412
|
-
|
|
434
|
+
g && /* @__PURE__ */ s("div", { className: "mt-4 p-3 border border-dashed border-neutral-700 dark:border-neutral-400 rounded @container/optimizations", children: [
|
|
413
435
|
/* @__PURE__ */ t("h3", { className: "m-0 mb-2 text-xs uppercase opacity-70", children: "Cache Info" }),
|
|
414
|
-
|
|
436
|
+
u ? /* @__PURE__ */ s("div", { className: "text-xs space-y-2", children: [
|
|
415
437
|
/* @__PURE__ */ s("p", { className: "m-0", children: [
|
|
416
438
|
"Version: ",
|
|
417
|
-
/* @__PURE__ */ t("strong", { children:
|
|
439
|
+
/* @__PURE__ */ t("strong", { children: u.version })
|
|
418
440
|
] }),
|
|
419
441
|
/* @__PURE__ */ s("p", { className: "m-0", children: [
|
|
420
442
|
"Total Items: ",
|
|
421
|
-
/* @__PURE__ */ t("strong", { children:
|
|
443
|
+
/* @__PURE__ */ t("strong", { children: u.totalItems })
|
|
422
444
|
] }),
|
|
423
|
-
|
|
445
|
+
u.caches.map((e) => /* @__PURE__ */ t("div", { children: /* @__PURE__ */ t("ul", { className: "not-prose font-mono mt-2 list-none w-[95cqw]", children: e.urls.map((a) => /* @__PURE__ */ t(
|
|
424
446
|
"li",
|
|
425
447
|
{
|
|
426
448
|
className: "truncate text-xs text-copy-dark dark:text-copy-light overflow-hidden text-ellipsis",
|
|
@@ -429,8 +451,8 @@ const $e = ({
|
|
|
429
451
|
},
|
|
430
452
|
a
|
|
431
453
|
)) }) }, e.name)),
|
|
432
|
-
|
|
433
|
-
] }) : /* @__PURE__ */ t("p", { className: "text-xs opacity-70 m-0", children:
|
|
454
|
+
u.totalItems === 0 && !K && /* @__PURE__ */ t("p", { className: "italic m-0 opacity-70", children: "No cached assets yet." })
|
|
455
|
+
] }) : /* @__PURE__ */ t("p", { className: "text-xs opacity-70 m-0", children: K ? "Loading cache info..." : "No cache info available." })
|
|
434
456
|
] })
|
|
435
457
|
]
|
|
436
458
|
}
|
|
@@ -440,5 +462,5 @@ const $e = ({
|
|
|
440
462
|
) : null;
|
|
441
463
|
};
|
|
442
464
|
export {
|
|
443
|
-
|
|
465
|
+
Qe as SettingsPanel
|
|
444
466
|
};
|
|
@@ -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.D-zPjU38.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.DiTqgtxP.js";
|
|
6
6
|
const L = ({
|
|
7
7
|
className: e,
|
|
8
8
|
viewBox: a,
|
|
@@ -66,7 +66,7 @@ const L = ({
|
|
|
66
66
|
try {
|
|
67
67
|
window.__VERSINI_UI_SVGICON__ || (window.__VERSINI_UI_SVGICON__ = {
|
|
68
68
|
version: "4.2.2",
|
|
69
|
-
buildTime: "10/
|
|
69
|
+
buildTime: "10/24/2025 06:42 PM EDT",
|
|
70
70
|
homepage: "https://github.com/aversini/ui-components",
|
|
71
71
|
license: "MIT"
|
|
72
72
|
});
|
|
@@ -152,13 +152,13 @@ const z = ({
|
|
|
152
152
|
}
|
|
153
153
|
);
|
|
154
154
|
/*!
|
|
155
|
-
@versini/ui-icons v4.14.
|
|
155
|
+
@versini/ui-icons v4.14.1
|
|
156
156
|
© 2025 gizmette.com
|
|
157
157
|
*/
|
|
158
158
|
try {
|
|
159
159
|
window.__VERSINI_UI_ICONS__ || (window.__VERSINI_UI_ICONS__ = {
|
|
160
|
-
version: "4.14.
|
|
161
|
-
buildTime: "10/
|
|
160
|
+
version: "4.14.1",
|
|
161
|
+
buildTime: "10/24/2025 06:42 PM EDT",
|
|
162
162
|
homepage: "https://github.com/aversini/ui-components",
|
|
163
163
|
license: "MIT"
|
|
164
164
|
});
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsxs as l, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { n as f, i as v, useUserChatStats as _, useChatsUsage as z, USAGE_TITLE as B, S as g, renderDataAsList as P, CARDS as a, L as p, j as A, C as i, pluralize as h } from "./index.
|
|
3
|
-
import { oe as H } from "./App.
|
|
2
|
+
import { n as f, i as v, useUserChatStats as _, useChatsUsage as z, USAGE_TITLE as B, S as g, renderDataAsList as P, CARDS as a, L as p, j as A, C as i, pluralize as h } from "./index.D-zPjU38.js";
|
|
3
|
+
import { oe as H } from "./App.DiTqgtxP.js";
|
|
4
4
|
import { useState as C, Suspense as K, lazy as j } from "react";
|
|
5
5
|
const s = [0, 3, 6, 9], n = {
|
|
6
6
|
TOKEN: "token",
|
|
7
7
|
MODEL: "model"
|
|
8
8
|
}, w = j(() => import(
|
|
9
9
|
/* webpackChunkName: "LazyChart" */
|
|
10
|
-
"./Chart.
|
|
10
|
+
"./Chart.zHnmf0lE.js"
|
|
11
11
|
)), R = ({
|
|
12
12
|
open: k,
|
|
13
13
|
onOpenChange: E
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsxs as l, jsx as e, Fragment as _ } from "react/jsx-runtime";
|
|
2
|
-
import { I as se, L as O, j as y, C as v, n as ce, LOCAL_STORAGE_PREFIX as q, LOCAL_STORAGE_SORT_MEMORY_DIRECTION as oe, LOCAL_STORAGE_SORT_MEMORY_COLUMN as ie, useUserMemories as ae, useDeleteMemory as de, useDeleteAllMemories as me, useUpdateMemory as he, te as B } from "./index.
|
|
3
|
-
import { oe as V, E as F, e as g, ConfirmationPanel as G, st as H } from "./App.
|
|
2
|
+
import { I as se, L as O, j as y, C as v, n as ce, LOCAL_STORAGE_PREFIX as q, LOCAL_STORAGE_SORT_MEMORY_DIRECTION as oe, LOCAL_STORAGE_SORT_MEMORY_COLUMN as ie, useUserMemories as ae, useDeleteMemory as de, useDeleteAllMemories as me, useUpdateMemory as he, te as B } from "./index.D-zPjU38.js";
|
|
3
|
+
import { oe as V, E as F, e as g, ConfirmationPanel as G, st as H } from "./App.DiTqgtxP.js";
|
|
4
4
|
import E from "clsx";
|
|
5
5
|
import { useState as x, useEffect as xe, useRef as j } from "react";
|
|
6
|
-
import { Re as ue } from "./index.
|
|
7
|
-
import { j as pe, D as fe, G as b, M as d, F as ge, H as ye, l as Ce, U as Ne } from "./Table.
|
|
6
|
+
import { Re as ue } from "./index.CjmLIeXl.js";
|
|
7
|
+
import { j as pe, D as fe, G as b, M as d, F as ge, H as ye, l as Ce, U as Ne } from "./Table.DEwmX1g0.js";
|
|
8
8
|
const Ae = ({
|
|
9
9
|
className: a,
|
|
10
10
|
viewBox: m,
|
|
@@ -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.6gAYVpMt.js";
|
|
2
|
+
import { toText as Ca } from "./index.Cs_I2oBS.js";
|
|
3
3
|
const Gt = /[#.]/g;
|
|
4
4
|
function qa(r, e) {
|
|
5
5
|
const t = r || "", a = {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as p, jsx as i } from "react/jsx-runtime";
|
|
2
|
-
import { te as B } from "./index.
|
|
2
|
+
import { te as B } from "./index.D-zPjU38.js";
|
|
3
3
|
import { useState as I, useEffect as k } from "react";
|
|
4
4
|
import s from "clsx";
|
|
5
5
|
const h = "av-bubble", w = ({
|
|
@@ -39,7 +39,7 @@ const h = "av-bubble", w = ({
|
|
|
39
39
|
try {
|
|
40
40
|
window.__VERSINI_UI_SVGICON__ || (window.__VERSINI_UI_SVGICON__ = {
|
|
41
41
|
version: "4.2.2",
|
|
42
|
-
buildTime: "10/
|
|
42
|
+
buildTime: "10/24/2025 06:42 PM EDT",
|
|
43
43
|
homepage: "https://github.com/aversini/ui-components",
|
|
44
44
|
license: "MIT"
|
|
45
45
|
});
|
|
@@ -90,13 +90,13 @@ const M = ({
|
|
|
90
90
|
}
|
|
91
91
|
);
|
|
92
92
|
/*!
|
|
93
|
-
@versini/ui-icons v4.14.
|
|
93
|
+
@versini/ui-icons v4.14.1
|
|
94
94
|
© 2025 gizmette.com
|
|
95
95
|
*/
|
|
96
96
|
try {
|
|
97
97
|
window.__VERSINI_UI_ICONS__ || (window.__VERSINI_UI_ICONS__ = {
|
|
98
|
-
version: "4.14.
|
|
99
|
-
buildTime: "10/
|
|
98
|
+
version: "4.14.1",
|
|
99
|
+
buildTime: "10/24/2025 06:42 PM EDT",
|
|
100
100
|
homepage: "https://github.com/aversini/ui-components",
|
|
101
101
|
license: "MIT"
|
|
102
102
|
});
|
|
@@ -230,13 +230,13 @@ const E = ({ kind: e, noMaxWidth: t }) => s("px-4 py-2", {
|
|
|
230
230
|
] });
|
|
231
231
|
};
|
|
232
232
|
/*!
|
|
233
|
-
@versini/ui-bubble v6.1.
|
|
233
|
+
@versini/ui-bubble v6.1.4
|
|
234
234
|
© 2025 gizmette.com
|
|
235
235
|
*/
|
|
236
236
|
try {
|
|
237
237
|
window.__VERSINI_UI_BUBBLE__ || (window.__VERSINI_UI_BUBBLE__ = {
|
|
238
|
-
version: "6.1.
|
|
239
|
-
buildTime: "10/
|
|
238
|
+
version: "6.1.4",
|
|
239
|
+
buildTime: "10/24/2025 07:48 PM EDT",
|
|
240
240
|
homepage: "https://github.com/aversini/ui-components",
|
|
241
241
|
license: "MIT"
|
|
242
242
|
});
|