@versini/sassysaint 8.106.0 → 8.107.0
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.s7GI6rKD.js → AboutChangelog.SjeBKoP3.js} +2 -2
- package/dist/chunks/{AboutEntry.C1pRBz7A.js → AboutEntry.Dx70PfSW.js} +7 -7
- package/dist/chunks/{App.BeuOuicv.js → App.CRK1D8_p.js} +30 -32
- package/dist/chunks/Bubble.BfOIcmYO.js +183 -0
- package/dist/chunks/{Chart.C88S0q6n.js → Chart.BDkv6_qF.js} +2 -2
- package/dist/chunks/{ChatBubbleAssistant.nUmdAzup.js → ChatBubbleAssistant.BXp6-ZoJ.js} +462 -430
- package/dist/chunks/{ChatBubbleUser.BUuPXYPp.js → ChatBubbleUser.BcziRDGl.js} +3 -3
- package/dist/chunks/{ChatHistoryTable.BIjlz3xY.js → ChatHistoryTable.Dh8i_P43.js} +51 -51
- package/dist/chunks/{HistoryEntry.B-078Lxf.js → HistoryEntry.CRqDuJuI.js} +29 -28
- package/dist/chunks/{LoginEntry.B2RvYN-T.js → LoginEntry.MulnQ2ox.js} +4 -4
- package/dist/chunks/{LogoEntry.1MaZ0gB8.js → LogoEntry.DYecYZ2Y.js} +23 -23
- package/dist/chunks/{MemoriesEntry.DpL1iLZb.js → MemoriesEntry.agins9xZ.js} +39 -39
- package/dist/chunks/{ProfileEntry.T8wth0Is.js → ProfileEntry.DcvJm9lG.js} +4 -4
- package/dist/chunks/{SettingsEntry.CjOxw1Yx.js → SettingsEntry.CjUNaeTF.js} +34 -34
- package/dist/chunks/{Table.Bgj47jSZ.js → Table.CAFliCT0.js} +1 -1
- package/dist/chunks/{UsageEntry.B4I_GNgi.js → UsageEntry._XHUaG2y.js} +5 -5
- package/dist/chunks/{index.BBcCFGIa.js → index.BxFuyW85.js} +1 -1
- package/dist/chunks/{index.BV0ooasI.js → index.CGRIKPif.js} +1 -1
- package/dist/chunks/{index.DlzoJhEl.js → index.COrehOGK.js} +197 -183
- package/dist/chunks/{index.CzK9z_fW.js → index.COvsBKt7.js} +2 -2
- package/dist/chunks/{index.B3dMRcN0.js → index.ClDN1LM3.js} +3 -3
- package/dist/chunks/{index.C09CfrST.js → index.Cvhs29M0.js} +1 -1
- package/dist/chunks/{index.DbqNbLqk.js → index.D2r8OZJ8.js} +1 -1
- package/dist/chunks/{index.DaJTH3fN.js → index.DnIWTzcM.js} +1 -1
- package/dist/chunks/{index.lXY3xvX_.js → index.mPjUzcCU.js} +1 -1
- package/dist/chunks/{useMarkdown.BNKEX2AA.js → useMarkdown.B8MP9bLa.js} +7 -7
- package/dist/components/SassySaint/SassySaint.js +1 -1
- package/dist/index.js +4 -4
- package/dist/style.css +2 -2
- package/package.json +3 -3
- package/dist/chunks/index.B-dNm2To.js +0 -153
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as e, jsxs as r, Fragment as I } from "react/jsx-runtime";
|
|
2
|
-
import { n as Te, LOCAL_STORAGE_PREFIX as ee, LOCAL_STORAGE_SORT_MEMORY_DIRECTION as we, LOCAL_STORAGE_SORT_MEMORY_COLUMN as ve, useUserMemories as De, useExpiredMemories as Ee, useDeleteMemory as Me, useDeleteAllActiveMemories as be, useDeleteAllExpiredMemories as Re, useUpdateMemory as Ie, useRestoreMemory as Le } from "./index.
|
|
3
|
-
import { L as b, j as f, Button as B, e as
|
|
4
|
-
import { Panel as
|
|
5
|
-
import { H as oe, F as ne, q as v, O as
|
|
2
|
+
import { n as Te, LOCAL_STORAGE_PREFIX as ee, LOCAL_STORAGE_SORT_MEMORY_DIRECTION as we, LOCAL_STORAGE_SORT_MEMORY_COLUMN as ve, useUserMemories as De, useExpiredMemories as Ee, useDeleteMemory as Me, useDeleteAllActiveMemories as be, useDeleteAllExpiredMemories as Re, useUpdateMemory as Ie, useRestoreMemory as Le } from "./index.COrehOGK.js";
|
|
3
|
+
import { L as b, j as f, Button as B, e as c, ButtonIcon as L, IconEdit as Oe, IconDelete as te, IconRestore as _e } from "./LogoEntry.DYecYZ2Y.js";
|
|
4
|
+
import { Panel as se, Toggle as O, CancelButton as ae, useLocalStorage as re, ConfirmationPanel as ie, ResponsiveTooltip as _ } from "./App.CRK1D8_p.js";
|
|
5
|
+
import { H as oe, F as ne, q as v, O as s, J as z, Y as le, G as ce } from "./Table.CAFliCT0.js";
|
|
6
6
|
import C from "clsx";
|
|
7
7
|
import { useState as N, useEffect as ze, useRef as q } from "react";
|
|
8
|
-
import { TextArea as Be } from "./index.
|
|
8
|
+
import { TextArea as Be } from "./index.Cvhs29M0.js";
|
|
9
9
|
const Pe = ({
|
|
10
10
|
open: k,
|
|
11
11
|
onOpenChange: D,
|
|
@@ -29,7 +29,7 @@ const Pe = ({
|
|
|
29
29
|
}
|
|
30
30
|
}, T = l.trim().length >= 3, h = l.trim() !== d.trim() || A !== (o?.expiration || "none");
|
|
31
31
|
return /* @__PURE__ */ e(
|
|
32
|
-
|
|
32
|
+
se,
|
|
33
33
|
{
|
|
34
34
|
open: k,
|
|
35
35
|
onOpenChange: D,
|
|
@@ -182,11 +182,11 @@ const Pe = ({
|
|
|
182
182
|
}, je = ({ open: k, onOpenChange: D, user: d }) => {
|
|
183
183
|
const o = q(null), { getAccessToken: y } = Te(), [E] = N(void 0), [l, M] = N("active"), [A, p] = re({
|
|
184
184
|
key: ee + we,
|
|
185
|
-
initialValue:
|
|
185
|
+
initialValue: c.DESC
|
|
186
186
|
}), [P, T] = re({
|
|
187
187
|
key: ee + ve,
|
|
188
188
|
initialValue: "createdAt"
|
|
189
|
-
}), [h, n] = N(A ||
|
|
189
|
+
}), [h, n] = N(A || c.DESC), [u, R] = N(
|
|
190
190
|
P || "createdAt"
|
|
191
191
|
), { data: w, isLoading: H, isError: $ } = De({
|
|
192
192
|
user: d,
|
|
@@ -305,7 +305,7 @@ const Pe = ({
|
|
|
305
305
|
}
|
|
306
306
|
),
|
|
307
307
|
/* @__PURE__ */ e(
|
|
308
|
-
|
|
308
|
+
se,
|
|
309
309
|
{
|
|
310
310
|
open: k,
|
|
311
311
|
onOpenChange: (t) => D(t),
|
|
@@ -371,7 +371,7 @@ const Pe = ({
|
|
|
371
371
|
),
|
|
372
372
|
children: l === "active" ? /* @__PURE__ */ r(I, { children: [
|
|
373
373
|
H && /* @__PURE__ */ e("p", { className: "m-0", children: "Loading memories..." }),
|
|
374
|
-
$ && /* @__PURE__ */ e("p", { className: "m-0 text-
|
|
374
|
+
$ && /* @__PURE__ */ e("p", { className: "m-0 text-copy-error-light", children: "Failed to load memories." }),
|
|
375
375
|
!H && !$ && (w && w.items.length > 0 ? /* @__PURE__ */ r(
|
|
376
376
|
oe,
|
|
377
377
|
{
|
|
@@ -382,8 +382,8 @@ const Pe = ({
|
|
|
382
382
|
caption: Z(w),
|
|
383
383
|
children: [
|
|
384
384
|
/* @__PURE__ */ e(ne, { children: /* @__PURE__ */ r(v, { children: [
|
|
385
|
-
/* @__PURE__ */ e(
|
|
386
|
-
/* @__PURE__ */ e(
|
|
385
|
+
/* @__PURE__ */ e(s, { className: "sr-only", children: "Row" }),
|
|
386
|
+
/* @__PURE__ */ e(s, { children: "Memory" }),
|
|
387
387
|
/* @__PURE__ */ e(
|
|
388
388
|
z,
|
|
389
389
|
{
|
|
@@ -395,7 +395,7 @@ const Pe = ({
|
|
|
395
395
|
sortedCell: u,
|
|
396
396
|
onClick: () => {
|
|
397
397
|
R("createdAt"), T("createdAt"), n((t) => {
|
|
398
|
-
const i = t ===
|
|
398
|
+
const i = t === c.ASC ? c.DESC : c.ASC;
|
|
399
399
|
return p(i), i;
|
|
400
400
|
});
|
|
401
401
|
},
|
|
@@ -413,35 +413,35 @@ const Pe = ({
|
|
|
413
413
|
sortedCell: u,
|
|
414
414
|
onClick: () => {
|
|
415
415
|
R("expiresAt"), T("expiresAt"), n((t) => {
|
|
416
|
-
const i = t ===
|
|
416
|
+
const i = t === c.ASC ? c.DESC : c.ASC;
|
|
417
417
|
return p(i), i;
|
|
418
418
|
});
|
|
419
419
|
},
|
|
420
420
|
children: "Expires"
|
|
421
421
|
}
|
|
422
422
|
),
|
|
423
|
-
/* @__PURE__ */ e(
|
|
423
|
+
/* @__PURE__ */ e(s, { align: "right", children: "Actions" })
|
|
424
424
|
] }) }),
|
|
425
425
|
/* @__PURE__ */ e(le, { children: [...w.items].sort((t, i) => {
|
|
426
426
|
if (u === "createdAt") {
|
|
427
427
|
const a = t.createdAt ? new Date(t.createdAt).getTime() : 0, m = i.createdAt ? new Date(i.createdAt).getTime() : 0;
|
|
428
|
-
return h ===
|
|
428
|
+
return h === c.ASC ? a - m : m - a;
|
|
429
429
|
}
|
|
430
430
|
if (u === "expiresAt") {
|
|
431
431
|
const a = t.expiresAt ? new Date(t.expiresAt).getTime() : Number.MAX_SAFE_INTEGER, m = i.expiresAt ? new Date(i.expiresAt).getTime() : Number.MAX_SAFE_INTEGER;
|
|
432
|
-
return h ===
|
|
432
|
+
return h === c.ASC ? a - m : m - a;
|
|
433
433
|
}
|
|
434
434
|
return 0;
|
|
435
435
|
}).map((t, i) => /* @__PURE__ */ r(v, { children: [
|
|
436
436
|
/* @__PURE__ */ e(
|
|
437
|
-
|
|
437
|
+
s,
|
|
438
438
|
{
|
|
439
439
|
className: C("dark:text-copy-medium"),
|
|
440
440
|
children: i + 1
|
|
441
441
|
}
|
|
442
442
|
),
|
|
443
443
|
/* @__PURE__ */ e(
|
|
444
|
-
|
|
444
|
+
s,
|
|
445
445
|
{
|
|
446
446
|
className: C(
|
|
447
447
|
"dark:text-copy-lighter",
|
|
@@ -455,7 +455,7 @@ const Pe = ({
|
|
|
455
455
|
}
|
|
456
456
|
),
|
|
457
457
|
/* @__PURE__ */ e(
|
|
458
|
-
|
|
458
|
+
s,
|
|
459
459
|
{
|
|
460
460
|
className: C(
|
|
461
461
|
"dark:text-copy-medium",
|
|
@@ -465,7 +465,7 @@ const Pe = ({
|
|
|
465
465
|
}
|
|
466
466
|
),
|
|
467
467
|
/* @__PURE__ */ e(
|
|
468
|
-
|
|
468
|
+
s,
|
|
469
469
|
{
|
|
470
470
|
className: C(
|
|
471
471
|
"dark:text-copy-medium",
|
|
@@ -475,7 +475,7 @@ const Pe = ({
|
|
|
475
475
|
}
|
|
476
476
|
),
|
|
477
477
|
/* @__PURE__ */ e(
|
|
478
|
-
|
|
478
|
+
s,
|
|
479
479
|
{
|
|
480
480
|
className: "align-top border-l border-table-light dark:border-table-dark",
|
|
481
481
|
align: "right",
|
|
@@ -529,7 +529,7 @@ const Pe = ({
|
|
|
529
529
|
noBorder: !0,
|
|
530
530
|
label: "Delete memory",
|
|
531
531
|
variant: "primary",
|
|
532
|
-
iconClassName: "text-
|
|
532
|
+
iconClassName: "text-copy-error-dark dark:text-copy-error-light",
|
|
533
533
|
disabled: F.isPending,
|
|
534
534
|
onClick: () => W(
|
|
535
535
|
t.memoryId,
|
|
@@ -548,17 +548,17 @@ const Pe = ({
|
|
|
548
548
|
}
|
|
549
549
|
)
|
|
550
550
|
] }, t.memoryId)) }),
|
|
551
|
-
/* @__PURE__ */ e(
|
|
551
|
+
/* @__PURE__ */ e(ce, { children: /* @__PURE__ */ e(v, { children: /* @__PURE__ */ e(s, { colSpan: 5, children: Z(w) }) }) })
|
|
552
552
|
]
|
|
553
553
|
}
|
|
554
554
|
) : /* @__PURE__ */ e("p", { className: "m-0 italic opacity-70", children: "No memories stored." }))
|
|
555
555
|
] }) : /* @__PURE__ */ r(I, { children: [
|
|
556
556
|
X && /* @__PURE__ */ e("p", { className: "m-0", children: "Loading expired memories..." }),
|
|
557
|
-
V && /* @__PURE__ */ e("p", { className: "m-0 text-
|
|
557
|
+
V && /* @__PURE__ */ e("p", { className: "m-0 text-copy-error-light", children: "Failed to load expired memories." }),
|
|
558
558
|
!X && !V && (g && g.items.length > 0 ? /* @__PURE__ */ r(oe, { stickyHeader: !0, stickyFooter: !0, compact: !0, mode: "alt-system", children: [
|
|
559
559
|
/* @__PURE__ */ e(ne, { children: /* @__PURE__ */ r(v, { children: [
|
|
560
|
-
/* @__PURE__ */ e(
|
|
561
|
-
/* @__PURE__ */ e(
|
|
560
|
+
/* @__PURE__ */ e(s, { className: "sr-only", children: "Row" }),
|
|
561
|
+
/* @__PURE__ */ e(s, { children: "Memory" }),
|
|
562
562
|
/* @__PURE__ */ e(
|
|
563
563
|
z,
|
|
564
564
|
{
|
|
@@ -570,7 +570,7 @@ const Pe = ({
|
|
|
570
570
|
sortedCell: u,
|
|
571
571
|
onClick: () => {
|
|
572
572
|
R("createdAt"), T("createdAt"), n((t) => {
|
|
573
|
-
const i = t ===
|
|
573
|
+
const i = t === c.ASC ? c.DESC : c.ASC;
|
|
574
574
|
return p(i), i;
|
|
575
575
|
});
|
|
576
576
|
},
|
|
@@ -588,35 +588,35 @@ const Pe = ({
|
|
|
588
588
|
sortedCell: u,
|
|
589
589
|
onClick: () => {
|
|
590
590
|
R("expiresAt"), T("expiresAt"), n((t) => {
|
|
591
|
-
const i = t ===
|
|
591
|
+
const i = t === c.ASC ? c.DESC : c.ASC;
|
|
592
592
|
return p(i), i;
|
|
593
593
|
});
|
|
594
594
|
},
|
|
595
595
|
children: "Expired"
|
|
596
596
|
}
|
|
597
597
|
),
|
|
598
|
-
/* @__PURE__ */ e(
|
|
598
|
+
/* @__PURE__ */ e(s, { align: "right", children: "Actions" })
|
|
599
599
|
] }) }),
|
|
600
600
|
/* @__PURE__ */ e(le, { children: [...g.items].sort((t, i) => {
|
|
601
601
|
if (u === "createdAt") {
|
|
602
602
|
const a = t.createdAt ? new Date(t.createdAt).getTime() : 0, m = i.createdAt ? new Date(i.createdAt).getTime() : 0;
|
|
603
|
-
return h ===
|
|
603
|
+
return h === c.ASC ? a - m : m - a;
|
|
604
604
|
}
|
|
605
605
|
if (u === "expiresAt") {
|
|
606
606
|
const a = t.expiresAt ? new Date(t.expiresAt).getTime() : Number.MAX_SAFE_INTEGER, m = i.expiresAt ? new Date(i.expiresAt).getTime() : Number.MAX_SAFE_INTEGER;
|
|
607
|
-
return h ===
|
|
607
|
+
return h === c.ASC ? a - m : m - a;
|
|
608
608
|
}
|
|
609
609
|
return 0;
|
|
610
610
|
}).map((t, i) => /* @__PURE__ */ r(v, { children: [
|
|
611
611
|
/* @__PURE__ */ e(
|
|
612
|
-
|
|
612
|
+
s,
|
|
613
613
|
{
|
|
614
614
|
className: C("dark:text-copy-medium"),
|
|
615
615
|
children: i + 1
|
|
616
616
|
}
|
|
617
617
|
),
|
|
618
618
|
/* @__PURE__ */ e(
|
|
619
|
-
|
|
619
|
+
s,
|
|
620
620
|
{
|
|
621
621
|
className: C(
|
|
622
622
|
"dark:text-copy-lighter",
|
|
@@ -630,7 +630,7 @@ const Pe = ({
|
|
|
630
630
|
}
|
|
631
631
|
),
|
|
632
632
|
/* @__PURE__ */ e(
|
|
633
|
-
|
|
633
|
+
s,
|
|
634
634
|
{
|
|
635
635
|
className: C(
|
|
636
636
|
"dark:text-copy-medium",
|
|
@@ -640,7 +640,7 @@ const Pe = ({
|
|
|
640
640
|
}
|
|
641
641
|
),
|
|
642
642
|
/* @__PURE__ */ e(
|
|
643
|
-
|
|
643
|
+
s,
|
|
644
644
|
{
|
|
645
645
|
className: C(
|
|
646
646
|
"dark:text-copy-medium",
|
|
@@ -650,7 +650,7 @@ const Pe = ({
|
|
|
650
650
|
}
|
|
651
651
|
),
|
|
652
652
|
/* @__PURE__ */ e(
|
|
653
|
-
|
|
653
|
+
s,
|
|
654
654
|
{
|
|
655
655
|
className: "align-top border-l border-table-light dark:border-table-dark",
|
|
656
656
|
align: "right",
|
|
@@ -698,7 +698,7 @@ const Pe = ({
|
|
|
698
698
|
noBorder: !0,
|
|
699
699
|
label: "Delete memory",
|
|
700
700
|
variant: "primary",
|
|
701
|
-
iconClassName: "text-
|
|
701
|
+
iconClassName: "text-copy-error-dark dark:text-copy-error-light",
|
|
702
702
|
disabled: F.isPending,
|
|
703
703
|
onClick: () => W(
|
|
704
704
|
t.memoryId,
|
|
@@ -717,7 +717,7 @@ const Pe = ({
|
|
|
717
717
|
}
|
|
718
718
|
)
|
|
719
719
|
] }, t.memoryId)) }),
|
|
720
|
-
/* @__PURE__ */ e(
|
|
720
|
+
/* @__PURE__ */ e(ce, { children: /* @__PURE__ */ e(v, { children: /* @__PURE__ */ r(s, { colSpan: 5, children: [
|
|
721
721
|
g.total,
|
|
722
722
|
" expired memor",
|
|
723
723
|
g.total === 1 ? "y" : "ies",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsxs as t, Fragment as H, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { preloadToast as K, showSuccessToast as O, showErrorToast as W, ConfirmationPanel as Y, LazyToastContainerWrapper as $, Panel as V, CancelButton as q } from "./App.
|
|
3
|
-
import { useUniqueId as J, CARDS as s, L as u, j as i, Button as Q, ButtonIcon as X, IconPasskey as L, PROFILE_TITLE as Z } from "./LogoEntry.
|
|
2
|
+
import { preloadToast as K, showSuccessToast as O, showErrorToast as W, ConfirmationPanel as Y, LazyToastContainerWrapper as $, Panel as V, CancelButton as q } from "./App.CRK1D8_p.js";
|
|
3
|
+
import { useUniqueId as J, CARDS as s, L as u, j as i, Button as Q, ButtonIcon as X, IconPasskey as L, PROFILE_TITLE as Z } from "./LogoEntry.DYecYZ2Y.js";
|
|
4
4
|
import { useState as m, useMemo as ee, useCallback as N, useRef as ae } from "react";
|
|
5
|
-
import { n as ne, useUserPreferences as se, useServerCapabilities as re, p as te, setUserPlan as le, renderDataAsList as ie, st as ce, isTauri as oe } from "./index.
|
|
6
|
-
import { Card as h } from "./index.
|
|
5
|
+
import { n as ne, useUserPreferences as se, useServerCapabilities as re, p as te, setUserPlan as le, renderDataAsList as ie, st as ce, isTauri as oe } from "./index.COrehOGK.js";
|
|
6
|
+
import { Card as h } from "./index.mPjUzcCU.js";
|
|
7
7
|
import de from "clsx";
|
|
8
8
|
const me = () => {
|
|
9
9
|
const {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsxs as n, jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { n as Ve, useEntitlements as Fe, useUserPreferences as We, w as ie, LOCAL_STORAGE_OLED_MODE as $e, LOCAL_STORAGE_FULL_SCREEN as ze, e as de, canEvaluateModels as He, W as Ye, getCacheInfo as qe, isServiceWorkerEnabled as Ke, V as Qe, K as ue, applyOledMode as me, getCurrentGeoLocation as Je, graphQLRequest as he, handleServiceWorkerToggle as Xe, SERVICE_TYPES as fe } from "./index.
|
|
3
|
-
import { AppContext as Ze, SETTINGS_TITLE as et, CARDS as r, Button as
|
|
4
|
-
import { Card as f } from "./index.
|
|
5
|
-
import { useCapability as
|
|
6
|
-
import { TextArea as Ne } from "./index.
|
|
2
|
+
import { n as Ve, useEntitlements as Fe, useUserPreferences as We, w as ie, LOCAL_STORAGE_OLED_MODE as $e, LOCAL_STORAGE_FULL_SCREEN as ze, e as de, canEvaluateModels as He, W as Ye, getCacheInfo as qe, isServiceWorkerEnabled as Ke, V as Qe, K as ue, applyOledMode as me, getCurrentGeoLocation as Je, graphQLRequest as he, handleServiceWorkerToggle as Xe, SERVICE_TYPES as fe } from "./index.COrehOGK.js";
|
|
3
|
+
import { AppContext as Ze, SETTINGS_TITLE as et, CARDS as r, Button as Ee, PROMPTS_DESCRIPTION as tt, L as ot, j as pe, APP_SET_OLED_MODE as Se, APP_SET_FULL_SCREEN as ge } from "./LogoEntry.DYecYZ2Y.js";
|
|
4
|
+
import { Card as f } from "./index.mPjUzcCU.js";
|
|
5
|
+
import { useCapability as be, useLocalStorage as Te, Panel as st, Toggle as l, CancelButton as at } from "./App.CRK1D8_p.js";
|
|
6
|
+
import { TextArea as Ne } from "./index.Cvhs29M0.js";
|
|
7
7
|
import { useRef as nt, useContext as rt, useState as s, useMemo as lt, useCallback as ct, useEffect as Ce } from "react";
|
|
8
|
-
const
|
|
8
|
+
const pt = ({
|
|
9
9
|
open: ye,
|
|
10
10
|
onOpenChange: A
|
|
11
11
|
}) => {
|
|
@@ -16,17 +16,17 @@ const Et = ({
|
|
|
16
16
|
} = We({
|
|
17
17
|
user: R?.username,
|
|
18
18
|
getAccessToken: I
|
|
19
|
-
}), [G,
|
|
19
|
+
}), [G, b] = s({
|
|
20
20
|
loadingLocation: !1
|
|
21
21
|
}), [L, U] = s({
|
|
22
22
|
prompts: []
|
|
23
|
-
}), [j, V] = s(""), [F,
|
|
23
|
+
}), [j, V] = s(""), [F, T] = s(""), [W, $] = s(!1), [z, H] = s(!1), [N, Y] = s(!1), [C, q] = s(!1), [K, Q] = s(!1), [D, J] = s(!1), [E, X] = s(null), [Z, ee] = s(!1), [te, oe] = s(!1), se = be(ie.TOOL.MEMORIES), ae = be(ie.ADDON.REASONING), [i, we] = Te({
|
|
24
24
|
key: $e,
|
|
25
25
|
initialValue: !1
|
|
26
|
-
}), [u, Le] =
|
|
26
|
+
}), [u, Le] = Te({
|
|
27
27
|
key: ze,
|
|
28
28
|
initialValue: !1
|
|
29
|
-
}), [m, M] = s(!1), [
|
|
29
|
+
}), [m, M] = s(!1), [p, _] = s(!1), [ne, re] = s(de), De = lt(() => He(w, B) ? Ye(w) : !1, [w, B]), Me = (e) => {
|
|
30
30
|
oe(e);
|
|
31
31
|
}, _e = (e) => {
|
|
32
32
|
$(e);
|
|
@@ -72,18 +72,18 @@ const Et = ({
|
|
|
72
72
|
}), C !== N && (await Xe(C), Y(C)), m !== i && (we(m), me(m), g({
|
|
73
73
|
type: Se,
|
|
74
74
|
payload: { oledMode: m }
|
|
75
|
-
})),
|
|
75
|
+
})), p !== u && (Le(p), g({
|
|
76
76
|
type: ge,
|
|
77
|
-
payload: { fullScreen:
|
|
78
|
-
})), x(),
|
|
77
|
+
payload: { fullScreen: p }
|
|
78
|
+
})), x(), b({
|
|
79
79
|
loadingLocation: !1
|
|
80
80
|
});
|
|
81
81
|
} catch {
|
|
82
82
|
}
|
|
83
83
|
}, Ge = async () => {
|
|
84
|
-
|
|
84
|
+
b({
|
|
85
85
|
loadingLocation: !0
|
|
86
|
-
}),
|
|
86
|
+
}), T("...");
|
|
87
87
|
try {
|
|
88
88
|
const e = Date.now(), a = await Je(), y = await he({
|
|
89
89
|
accessToken: await I(),
|
|
@@ -95,11 +95,11 @@ const Et = ({
|
|
|
95
95
|
}), h = Date.now() - e;
|
|
96
96
|
h < 2e3 && await new Promise((je) => setTimeout(je, 2e3 - h));
|
|
97
97
|
const { city: d, state: c, country: S, displayName: P } = y.data, Ue = d && c && S ? `${d}, ${c}, ${S}` : P;
|
|
98
|
-
|
|
98
|
+
b({
|
|
99
99
|
loadingLocation: !1
|
|
100
|
-
}),
|
|
100
|
+
}), T(Ue);
|
|
101
101
|
} catch {
|
|
102
|
-
|
|
102
|
+
b({
|
|
103
103
|
loadingLocation: !1
|
|
104
104
|
});
|
|
105
105
|
}
|
|
@@ -107,7 +107,7 @@ const Et = ({
|
|
|
107
107
|
m !== i && (M(i), me(i), g({
|
|
108
108
|
type: Se,
|
|
109
109
|
payload: { oledMode: i }
|
|
110
|
-
})),
|
|
110
|
+
})), p !== u && (_(u), g({
|
|
111
111
|
type: ge,
|
|
112
112
|
payload: { fullScreen: u }
|
|
113
113
|
})), x(), A(!1);
|
|
@@ -147,7 +147,7 @@ const Et = ({
|
|
|
147
147
|
return Ce(() => {
|
|
148
148
|
if (!o)
|
|
149
149
|
return;
|
|
150
|
-
o.instructions && V(o.instructions), o.location &&
|
|
150
|
+
o.instructions && V(o.instructions), o.location && T(o.location), o.tags && U({ prompts: o.tags }), o.sendOnEnter !== void 0 && $(o.sendOnEnter), o.useMemory !== void 0 && H(o.useMemory), o.showDetails !== void 0 && oe(o.showDetails), o.showReasoningButton !== void 0 && Q(o.showReasoningButton), o.useNestedModelSelection !== void 0 && J(o.useNestedModelSelection), o.themeMode !== void 0 && re(o.themeMode);
|
|
151
151
|
const e = Ke();
|
|
152
152
|
Y(e), q(e), M(i), _(u);
|
|
153
153
|
}, [o, i, u]), Ce(() => {
|
|
@@ -169,7 +169,7 @@ const Et = ({
|
|
|
169
169
|
alignHorizontal: "flex-end",
|
|
170
170
|
className: "pb-8 sm:pb-0",
|
|
171
171
|
children: [
|
|
172
|
-
/* @__PURE__ */ t(
|
|
172
|
+
/* @__PURE__ */ t(pe, { children: /* @__PURE__ */ t(
|
|
173
173
|
at,
|
|
174
174
|
{
|
|
175
175
|
onOpenChange: le,
|
|
@@ -177,8 +177,8 @@ const Et = ({
|
|
|
177
177
|
ref: v
|
|
178
178
|
}
|
|
179
179
|
) }),
|
|
180
|
-
/* @__PURE__ */ t(
|
|
181
|
-
|
|
180
|
+
/* @__PURE__ */ t(pe, { children: /* @__PURE__ */ t(
|
|
181
|
+
Ee,
|
|
182
182
|
{
|
|
183
183
|
mode: "light",
|
|
184
184
|
focusMode: "light",
|
|
@@ -291,13 +291,13 @@ const Et = ({
|
|
|
291
291
|
label: "Location",
|
|
292
292
|
value: F,
|
|
293
293
|
onChange: (e) => {
|
|
294
|
-
|
|
294
|
+
T(e.target.value);
|
|
295
295
|
},
|
|
296
296
|
helperText: "Enter your location or press auto-detect."
|
|
297
297
|
}
|
|
298
298
|
),
|
|
299
299
|
/* @__PURE__ */ t(
|
|
300
|
-
|
|
300
|
+
Ee,
|
|
301
301
|
{
|
|
302
302
|
className: "mt-2",
|
|
303
303
|
size: "small",
|
|
@@ -466,7 +466,7 @@ const Et = ({
|
|
|
466
466
|
subLabel: r.SETTINGS_ADVANCED.FULL_SCREEN_DESCRIPTION,
|
|
467
467
|
name: "enable-full-screen",
|
|
468
468
|
onChange: Re,
|
|
469
|
-
checked:
|
|
469
|
+
checked: p
|
|
470
470
|
}
|
|
471
471
|
),
|
|
472
472
|
/* @__PURE__ */ t(
|
|
@@ -483,18 +483,18 @@ const Et = ({
|
|
|
483
483
|
checked: C
|
|
484
484
|
}
|
|
485
485
|
),
|
|
486
|
-
N && /* @__PURE__ */ n("div", { className: "mt-4 p-3 border border-dashed border-
|
|
487
|
-
/* @__PURE__ */ t("h3", { className: "m-0 mb-2 text-xs uppercase
|
|
488
|
-
|
|
486
|
+
N && /* @__PURE__ */ n("div", { className: "mt-4 p-3 border border-dashed border-border-medium dark:border-border-medium rounded @container/optimizations", children: [
|
|
487
|
+
/* @__PURE__ */ t("h3", { className: "m-0 mb-2 text-xs uppercase", children: "Cache Info" }),
|
|
488
|
+
E ? /* @__PURE__ */ n("div", { className: "text-xs space-y-2", children: [
|
|
489
489
|
/* @__PURE__ */ n("p", { className: "m-0", children: [
|
|
490
490
|
"Version: ",
|
|
491
|
-
/* @__PURE__ */ t("strong", { children:
|
|
491
|
+
/* @__PURE__ */ t("strong", { children: E.version })
|
|
492
492
|
] }),
|
|
493
493
|
/* @__PURE__ */ n("p", { className: "m-0", children: [
|
|
494
494
|
"Total Items: ",
|
|
495
|
-
/* @__PURE__ */ t("strong", { children:
|
|
495
|
+
/* @__PURE__ */ t("strong", { children: E.totalItems })
|
|
496
496
|
] }),
|
|
497
|
-
|
|
497
|
+
E.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(
|
|
498
498
|
"li",
|
|
499
499
|
{
|
|
500
500
|
className: "truncate text-xs text-copy-dark dark:text-copy-light overflow-hidden text-ellipsis",
|
|
@@ -503,7 +503,7 @@ const Et = ({
|
|
|
503
503
|
},
|
|
504
504
|
a
|
|
505
505
|
)) }) }, e.name)),
|
|
506
|
-
|
|
506
|
+
E.totalItems === 0 && !Z && /* @__PURE__ */ t("p", { className: "italic m-0 opacity-70", children: "No cached assets yet." })
|
|
507
507
|
] }) : /* @__PURE__ */ t("p", { className: "text-xs opacity-70 m-0", children: Z ? "Loading cache info..." : "No cache info available." })
|
|
508
508
|
] })
|
|
509
509
|
]
|
|
@@ -514,5 +514,5 @@ const Et = ({
|
|
|
514
514
|
) : null;
|
|
515
515
|
};
|
|
516
516
|
export {
|
|
517
|
-
|
|
517
|
+
pt as SettingsPanel
|
|
518
518
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as l, jsxs as b, Fragment as I } from "react/jsx-runtime";
|
|
2
2
|
import c from "clsx";
|
|
3
3
|
import x, { useContext as _ } from "react";
|
|
4
|
-
import { ButtonIcon as C, e as k } from "./LogoEntry.
|
|
4
|
+
import { ButtonIcon as C, e as k } from "./LogoEntry.DYecYZ2Y.js";
|
|
5
5
|
/*!
|
|
6
6
|
@versini/ui-button v11.0.0
|
|
7
7
|
© 2025 gizmette.com
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as d, jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { n as X, useUserChatStats as Z, LOCAL_STORAGE_PREFIX as M, LOCAL_STORAGE_USAGE_VIEW_MODE as J, LOCAL_STORAGE_USAGE_TIME_RANGE as Q, LOCAL_STORAGE_USAGE_SELECTED_MONTH as $, useChatsUsage as ee, renderDataAsList as te } from "./index.
|
|
3
|
-
import { useUniqueId as ne, TIME_RANGES as e, USAGE_TITLE as re, CARDS as T, L as h, j as c, TIME_RANGE_LABELS as k, MONTHS as N, ButtonIcon as u, IconChart as le, IconSelected as H, IconUnSelected as b, IconPrevious as se, IconNext as ae } from "./LogoEntry.
|
|
4
|
-
import { Card as P } from "./index.
|
|
5
|
-
import { useLocalStorage as g, Panel as oe, DropdownMenu as ie, DropdownMenuGroupLabel as ce, DropdownMenuItem as G, DropdownMenuSub as de, CancelButton as Te, pluralize as D } from "./App.
|
|
2
|
+
import { n as X, useUserChatStats as Z, LOCAL_STORAGE_PREFIX as M, LOCAL_STORAGE_USAGE_VIEW_MODE as J, LOCAL_STORAGE_USAGE_TIME_RANGE as Q, LOCAL_STORAGE_USAGE_SELECTED_MONTH as $, useChatsUsage as ee, renderDataAsList as te } from "./index.COrehOGK.js";
|
|
3
|
+
import { useUniqueId as ne, TIME_RANGES as e, USAGE_TITLE as re, CARDS as T, L as h, j as c, TIME_RANGE_LABELS as k, MONTHS as N, ButtonIcon as u, IconChart as le, IconSelected as H, IconUnSelected as b, IconPrevious as se, IconNext as ae } from "./LogoEntry.DYecYZ2Y.js";
|
|
4
|
+
import { Card as P } from "./index.mPjUzcCU.js";
|
|
5
|
+
import { useLocalStorage as g, Panel as oe, DropdownMenu as ie, DropdownMenuGroupLabel as ce, DropdownMenuItem as G, DropdownMenuSub as de, CancelButton as Te, pluralize as D } from "./App.CRK1D8_p.js";
|
|
6
6
|
import { useRef as ue, useState as U, Suspense as Ee, lazy as Se } from "react";
|
|
7
7
|
const a = [0, 3, 6, 9], s = {
|
|
8
8
|
TOKEN: "token",
|
|
@@ -16,7 +16,7 @@ const a = [0, 3, 6, 9], s = {
|
|
|
16
16
|
], Ae = Se(
|
|
17
17
|
() => import(
|
|
18
18
|
/* webpackChunkName: "chart-highcharts" */
|
|
19
|
-
"./Chart.
|
|
19
|
+
"./Chart.BDkv6_qF.js"
|
|
20
20
|
)
|
|
21
21
|
), Ne = ({
|
|
22
22
|
open: v,
|
|
@@ -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.B8MP9bLa.js";
|
|
2
2
|
import { longestStreak as qe } from "./index.Cyw5OC0t.js";
|
|
3
3
|
function ne(e, n) {
|
|
4
4
|
const t = String(e);
|