@versini/sassysaint 8.45.4 → 8.45.5
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.Dm7CeWzJ.js → AboutChangelog.BpN2wOS7.js} +2 -2
- package/dist/chunks/{AboutEntry.z1IGd8nH.js → AboutEntry.Dhj2VuZW.js} +5 -5
- package/dist/chunks/App.D11WrOhS.js +11446 -0
- package/dist/chunks/{Chart.fnP0GZlV.js → Chart.CIxXVKbK.js} +2 -2
- package/dist/chunks/{ChatBubbleAssistant.C214h3Za.js → ChatBubbleAssistant.BL27OUc-.js} +12 -12
- package/dist/chunks/ChatHistoryTable.DiJXlug9.js +649 -0
- package/dist/chunks/{HistoryEntry.Bg8wGgO6.js → HistoryEntry.C-g2zSt5.js} +27 -27
- package/dist/chunks/{LNWAZHJI.CgXWR3aC.js → LNWAZHJI.rjyRVWgx.js} +1 -1
- package/dist/chunks/{ProfileEntry.llkfgZbz.js → ProfileEntry.D9_uLmwO.js} +6 -6
- package/dist/chunks/SettingsEntry.CqtonnjU.js +889 -0
- package/dist/chunks/{UsageEntry.Dt5P9AhJ.js → UsageEntry.llD6nb8y.js} +7 -7
- package/dist/chunks/{index.Cdz3tBE5.js → index.5rAVjSln.js} +3 -3
- package/dist/chunks/index.BXSqY8t-.js +249 -0
- package/dist/chunks/{index.DXnBFV0d.js → index.C6rTHYVc.js} +2 -2
- package/dist/chunks/{index.aLXAYIRa.js → index.Ch7-8kkf.js} +1 -1
- package/dist/chunks/{index.xegEqIYd.js → index.D8CPTDrL.js} +1222 -1258
- package/dist/chunks/{index.Brh2cWqI.js → index.rezmsiOZ.js} +1 -1
- package/dist/chunks/{index.0hUxtRYc.js → index.ydUD8HKp.js} +1 -1
- package/dist/chunks/{useMarkdown.CWlc3oNt.js → useMarkdown.Cu3gwotw.js} +502 -502
- package/dist/components/SassySaint/SassySaint.js +1 -1
- package/dist/index.js +4 -4
- package/package.json +5 -5
- package/dist/chunks/App.Dxe8LDdD.js +0 -12621
- package/dist/chunks/ChatHistoryTable.CHWU2-BC.js +0 -1205
- package/dist/chunks/SettingsEntry.mv_g2-2P.js +0 -1064
- package/dist/chunks/index.CyMvgyLB.js +0 -804
@@ -1,15 +1,15 @@
|
|
1
1
|
import { jsxs as l, jsx as e } from "react/jsx-runtime";
|
2
|
-
import { n as f,
|
3
|
-
import {
|
2
|
+
import { n as f, i as U, USAGE_TITLE as v, S as h, renderDataAsList as E, CARDS as n, L, j as M, C as m, pluralize as i } from "./index.D8CPTDrL.js";
|
3
|
+
import { useUserChatStats as _, useChatsUsage as D, se as z } from "./App.D11WrOhS.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.CIxXVKbK.js"
|
8
8
|
)), b = ({
|
9
9
|
open: S,
|
10
10
|
onOpenChange: I
|
11
11
|
}) => {
|
12
|
-
const { getAccessToken: d, user: u } = f(), p =
|
12
|
+
const { getAccessToken: d, user: u } = f(), p = U(), { data: s, isSuccess: A } = _({
|
13
13
|
user: u?.username,
|
14
14
|
getAccessToken: d
|
15
15
|
}), { data: r, isSuccess: g } = D({
|
@@ -29,7 +29,7 @@ const t = [0, 3, 6, 9], j = B(() => import(
|
|
29
29
|
{
|
30
30
|
open: S,
|
31
31
|
onOpenChange: I,
|
32
|
-
title:
|
32
|
+
title: v,
|
33
33
|
animation: !0,
|
34
34
|
animationType: "fade",
|
35
35
|
children: [
|
@@ -39,7 +39,7 @@ const t = [0, 3, 6, 9], j = B(() => import(
|
|
39
39
|
header: n.MAIN_STATISTICS.TITLE,
|
40
40
|
className: "prose-dark dark:prose-lighter min-h-[170px]",
|
41
41
|
noBorder: !0,
|
42
|
-
children: A ?
|
42
|
+
children: A ? E(
|
43
43
|
p,
|
44
44
|
{
|
45
45
|
[i(n.MAIN_STATISTICS.TOTAL, s.totalChats)]: s.totalChats,
|
@@ -65,7 +65,7 @@ const t = [0, 3, 6, 9], j = B(() => import(
|
|
65
65
|
children: g && r && r.tokenUsage && r.tokenUsage.series && r.tokenUsage.series.length ? /* @__PURE__ */ l(P, { fallback: /* @__PURE__ */ e("div", {}), children: [
|
66
66
|
/* @__PURE__ */ e("div", { className: "pt-4" }),
|
67
67
|
/* @__PURE__ */ e(j, { tokenUsage: r.tokenUsage.series, page: a }),
|
68
|
-
/* @__PURE__ */ e(
|
68
|
+
/* @__PURE__ */ e(L, { className: "mt-2", alignHorizontal: "center", children: /* @__PURE__ */ l(M, { children: [
|
69
69
|
/* @__PURE__ */ e(
|
70
70
|
m,
|
71
71
|
{
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { getDefaultExportFromCjs as kn } from "./App.
|
2
|
-
import { visit as In } from "./useMarkdown.
|
3
|
-
import { toText as Cn } from "./index.
|
1
|
+
import { getDefaultExportFromCjs as kn } from "./App.D11WrOhS.js";
|
2
|
+
import { visit as In } from "./useMarkdown.Cu3gwotw.js";
|
3
|
+
import { toText as Cn } from "./index.rezmsiOZ.js";
|
4
4
|
function xn(e) {
|
5
5
|
const t = e.regex, i = e.COMMENT("//", "$", { contains: [{ begin: /\\\n/ }] }), a = "decltype\\(auto\\)", r = "[a-zA-Z_]\\w*::", d = "(?!struct)(" + a + "|" + t.optional(r) + "[a-zA-Z_]\\w*" + t.optional("<[^<>]+>") + ")", c = {
|
6
6
|
className: "type",
|
@@ -0,0 +1,249 @@
|
|
1
|
+
import { jsxs as p, jsx as i } from "react/jsx-runtime";
|
2
|
+
import { te as B } from "./index.D8CPTDrL.js";
|
3
|
+
import { useState as I, useEffect as k } from "react";
|
4
|
+
import s from "clsx";
|
5
|
+
const h = "av-bubble", w = ({
|
6
|
+
children: e,
|
7
|
+
fill: t,
|
8
|
+
viewBox: l,
|
9
|
+
className: a,
|
10
|
+
defaultViewBox: o,
|
11
|
+
size: n,
|
12
|
+
title: r,
|
13
|
+
semantic: d = !1,
|
14
|
+
...b
|
15
|
+
}) => {
|
16
|
+
const u = s(n, a);
|
17
|
+
return /* @__PURE__ */ p(
|
18
|
+
"svg",
|
19
|
+
{
|
20
|
+
xmlns: "http://www.w3.org/2000/svg",
|
21
|
+
className: u,
|
22
|
+
viewBox: l || o,
|
23
|
+
fill: t || "currentColor",
|
24
|
+
role: "img",
|
25
|
+
"aria-hidden": !d,
|
26
|
+
focusable: !1,
|
27
|
+
...b,
|
28
|
+
children: [
|
29
|
+
r && d && /* @__PURE__ */ i("title", { children: r }),
|
30
|
+
e
|
31
|
+
]
|
32
|
+
}
|
33
|
+
);
|
34
|
+
};
|
35
|
+
/*!
|
36
|
+
@versini/ui-svgicon v4.2.1
|
37
|
+
© 2025 gizmette.com
|
38
|
+
*/
|
39
|
+
try {
|
40
|
+
window.__VERSINI_UI_SVGICON__ || (window.__VERSINI_UI_SVGICON__ = {
|
41
|
+
version: "4.2.1",
|
42
|
+
buildTime: "08/27/2025 08:27 AM EDT",
|
43
|
+
homepage: "https://github.com/aversini/ui-components",
|
44
|
+
license: "MIT"
|
45
|
+
});
|
46
|
+
} catch {
|
47
|
+
}
|
48
|
+
const M = ({
|
49
|
+
className: e,
|
50
|
+
viewBox: t,
|
51
|
+
title: l,
|
52
|
+
monotone: a,
|
53
|
+
...o
|
54
|
+
}) => /* @__PURE__ */ p(
|
55
|
+
w,
|
56
|
+
{
|
57
|
+
defaultViewBox: "0 0 448 512",
|
58
|
+
size: "size-5",
|
59
|
+
viewBox: t,
|
60
|
+
className: e,
|
61
|
+
title: l || "Copied",
|
62
|
+
...o,
|
63
|
+
children: [
|
64
|
+
/* @__PURE__ */ i(
|
65
|
+
"path",
|
66
|
+
{
|
67
|
+
d: "M0 96v320c0 35.3 28.7 64 64 64h320c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64C28.7 32 0 60.7 0 96m104 160c0-6.1 2.3-12.3 7-17 9.4-9.4 24.6-9.4 33.9 0l47 47 111-111c4.7-4.7 10.8-7 17-7s12.3 2.3 17 7c2.3 2.3 4.1 5 5.3 7.9.6 1.5 1 2.9 1.3 4.4.2 1.1.3 2.2.3 2.2.1 1.2.1 1.2.1 2.5-.1 1.5-.1 1.9-.1 2.3-.1.7-.2 1.5-.3 2.2-.3 1.5-.7 3-1.3 4.4-1.2 2.9-2.9 5.6-5.3 7.9l-128 128c-4.7 4.7-10.8 7-17 7s-12.3-2.3-17-7l-64-64c-4.7-4.7-7-10.8-7-17z",
|
68
|
+
opacity: ".4"
|
69
|
+
}
|
70
|
+
),
|
71
|
+
/* @__PURE__ */ i("path", { d: "M337 175c9.4 9.4 9.4 24.6 0 33.9L209 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L303 175c9.4-9.4 24.6-9.4 33.9 0z" })
|
72
|
+
]
|
73
|
+
}
|
74
|
+
), T = ({
|
75
|
+
className: e,
|
76
|
+
viewBox: t,
|
77
|
+
title: l,
|
78
|
+
monotone: a,
|
79
|
+
...o
|
80
|
+
}) => /* @__PURE__ */ i(
|
81
|
+
w,
|
82
|
+
{
|
83
|
+
defaultViewBox: "0 0 512 512",
|
84
|
+
size: "size-5",
|
85
|
+
viewBox: t,
|
86
|
+
className: e,
|
87
|
+
title: l || "Copy",
|
88
|
+
...o,
|
89
|
+
children: /* @__PURE__ */ i("path", { d: "M64 464h224c8.8 0 16-7.2 16-16v-64h48v64c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V224c0-35.3 28.7-64 64-64h64v48H64c-8.8 0-16 7.2-16 16v224c0 8.8 7.2 16 16 16m160-160h224c8.8 0 16-7.2 16-16V64c0-8.8-7.2-16-16-16H224c-8.8 0-16 7.2-16 16v224c0 8.8 7.2 16 16 16m-64-16V64c0-35.3 28.7-64 64-64h224c35.3 0 64 28.7 64 64v224c0 35.3-28.7 64-64 64H224c-35.3 0-64-28.7-64-64" })
|
90
|
+
}
|
91
|
+
);
|
92
|
+
/*!
|
93
|
+
@versini/ui-icons v4.11.0
|
94
|
+
© 2025 gizmette.com
|
95
|
+
*/
|
96
|
+
try {
|
97
|
+
window.__VERSINI_UI_ICONS__ || (window.__VERSINI_UI_ICONS__ = {
|
98
|
+
version: "4.11.0",
|
99
|
+
buildTime: "08/27/2025 08:28 AM EDT",
|
100
|
+
homepage: "https://github.com/aversini/ui-components",
|
101
|
+
license: "MIT"
|
102
|
+
});
|
103
|
+
} catch {
|
104
|
+
}
|
105
|
+
const E = ({ kind: e, noMaxWidth: t }) => s("px-4 py-2", {
|
106
|
+
"max-w-xs sm:max-w-md md:max-w-2xl": !t,
|
107
|
+
"lg:max-w-3xl": e === "left" && !t
|
108
|
+
}), C = ({ kind: e }) => s({
|
109
|
+
"bg-surface-lighter dark:bg-surface-dark": e === "left",
|
110
|
+
"bg-surface-accent": e === "right"
|
111
|
+
}), V = ({ kind: e }) => s(
|
112
|
+
"prose prose-dark dark:prose-lighter",
|
113
|
+
"prose-blockquote:my-1",
|
114
|
+
"prose-ol:my-1 prose-ul:my-1",
|
115
|
+
{
|
116
|
+
"text-copy-lighter": e === "right"
|
117
|
+
}
|
118
|
+
), S = ({ kind: e, tail: t }) => {
|
119
|
+
if (t)
|
120
|
+
return s(
|
121
|
+
`${h}-${e}-tail`,
|
122
|
+
"rounded-3xl",
|
123
|
+
"relative",
|
124
|
+
"before:content-['']",
|
125
|
+
"before:w-3",
|
126
|
+
"before:h-2",
|
127
|
+
"before:absolute",
|
128
|
+
"before:bottom-0",
|
129
|
+
{
|
130
|
+
"last-bubble-right:before:right-[2px] last-bubble-right:before:border-l-[8px] last-bubble-right:before:border-l-surface-accent last-bubble-right:before:rounded-bl-[100%]": e === "right",
|
131
|
+
"last-bubble-left:before:left-[2px] last-bubble-left:before:border-r-[8px] last-bubble-left:before:border-r-surface-lighter last-bubble-left:dark:before:border-r-surface-dark last-bubble-left:before:rounded-br-[100%]": e === "left"
|
132
|
+
}
|
133
|
+
);
|
134
|
+
if (!t)
|
135
|
+
return s("rounded-b-xl", {
|
136
|
+
"rounded-tr-xl": e === "left",
|
137
|
+
"rounded-tl-xl": e === "right"
|
138
|
+
});
|
139
|
+
}, z = ({
|
140
|
+
kind: e,
|
141
|
+
className: t,
|
142
|
+
contentClassName: l,
|
143
|
+
noMaxWidth: a,
|
144
|
+
tail: o
|
145
|
+
}) => {
|
146
|
+
const n = s(
|
147
|
+
h,
|
148
|
+
`${h}-${e}`,
|
149
|
+
"flex items-start",
|
150
|
+
{
|
151
|
+
"flex-row-reverse": e === "right"
|
152
|
+
},
|
153
|
+
t
|
154
|
+
), r = s(
|
155
|
+
`${h}-content`,
|
156
|
+
"flex flex-col empty:hidden",
|
157
|
+
E({ kind: e, noMaxWidth: a }),
|
158
|
+
V({ kind: e }),
|
159
|
+
C({ kind: e }),
|
160
|
+
S({ kind: e, tail: o }),
|
161
|
+
l
|
162
|
+
), d = "pr-2 pt-1 text-end text-xs text-copy-light", b = s("flex flex-col-reverse sm:flex-row", {
|
163
|
+
"ml-2": e === "left" && !o,
|
164
|
+
"mr-2": e === "right" && !o,
|
165
|
+
"ml-1": e === "left" && o,
|
166
|
+
"mr-1": e === "right" && o
|
167
|
+
});
|
168
|
+
return {
|
169
|
+
wrapper: n,
|
170
|
+
main: r,
|
171
|
+
footer: d,
|
172
|
+
copyButton: b
|
173
|
+
};
|
174
|
+
}, O = "FOOTER_EMPTY", A = ({
|
175
|
+
children: e,
|
176
|
+
kind: t = "left",
|
177
|
+
className: l,
|
178
|
+
contentClassName: a,
|
179
|
+
footer: o,
|
180
|
+
rawFooter: n,
|
181
|
+
copyToClipboard: r,
|
182
|
+
copyToClipboardFocusMode: d = "system",
|
183
|
+
copyToClipboardMode: b = "system",
|
184
|
+
noMaxWidth: u = !1,
|
185
|
+
tail: v = !1
|
186
|
+
}) => {
|
187
|
+
const [m, _] = I(!1), f = z({
|
188
|
+
kind: t,
|
189
|
+
className: l,
|
190
|
+
contentClassName: a,
|
191
|
+
noMaxWidth: u,
|
192
|
+
tail: v
|
193
|
+
}), N = !!r && (typeof r == "function" || typeof r == "string" || typeof e == "string"), y = () => {
|
194
|
+
_(!0), typeof r == "function" ? r(e) : typeof r == "string" ? navigator.clipboard.writeText(r) : typeof e == "string" && navigator.clipboard.writeText(e);
|
195
|
+
};
|
196
|
+
return k(() => {
|
197
|
+
let c;
|
198
|
+
return m && (c = window.setTimeout(() => {
|
199
|
+
_(!1);
|
200
|
+
}, 3e3)), () => {
|
201
|
+
clearTimeout(c);
|
202
|
+
};
|
203
|
+
}, [m]), /* @__PURE__ */ p("div", { className: f.wrapper, children: [
|
204
|
+
/* @__PURE__ */ p("div", { children: [
|
205
|
+
/* @__PURE__ */ i("div", { className: f.main, children: e }),
|
206
|
+
o && Object.keys(o).map((c, g) => {
|
207
|
+
const x = o[c];
|
208
|
+
return x === O ? /* @__PURE__ */ i("div", { className: "prose-p:m-0", children: /* @__PURE__ */ i("p", { className: f.footer, "aria-hidden": "true", children: /* @__PURE__ */ i("span", { className: "invisible", children: " " }) }) }, `${c}-${g}`) : x ? /* @__PURE__ */ i("div", { className: "prose-p:m-0", children: /* @__PURE__ */ p("p", { className: f.footer, children: [
|
209
|
+
c,
|
210
|
+
": ",
|
211
|
+
x
|
212
|
+
] }) }, `${c}-${g}`) : null;
|
213
|
+
}),
|
214
|
+
n && n
|
215
|
+
] }),
|
216
|
+
N && /* @__PURE__ */ i("div", { className: f.copyButton, children: /* @__PURE__ */ i(
|
217
|
+
B,
|
218
|
+
{
|
219
|
+
noBorder: !0,
|
220
|
+
noBackground: !0,
|
221
|
+
size: "small",
|
222
|
+
mode: b,
|
223
|
+
focusMode: d,
|
224
|
+
label: m ? "Copied to clipboard" : "Copy to clipboard",
|
225
|
+
onClick: y,
|
226
|
+
disabled: m,
|
227
|
+
children: m ? /* @__PURE__ */ i(M, { size: "size-3" }) : /* @__PURE__ */ i(T, { size: "size-3" })
|
228
|
+
}
|
229
|
+
) })
|
230
|
+
] });
|
231
|
+
};
|
232
|
+
/*!
|
233
|
+
@versini/ui-bubble v6.0.1
|
234
|
+
© 2025 gizmette.com
|
235
|
+
*/
|
236
|
+
try {
|
237
|
+
window.__VERSINI_UI_BUBBLE__ || (window.__VERSINI_UI_BUBBLE__ = {
|
238
|
+
version: "6.0.1",
|
239
|
+
buildTime: "09/01/2025 04:02 PM EDT",
|
240
|
+
homepage: "https://github.com/aversini/ui-components",
|
241
|
+
license: "MIT"
|
242
|
+
});
|
243
|
+
} catch {
|
244
|
+
}
|
245
|
+
export {
|
246
|
+
h as BUBBLE_CLASSNAME,
|
247
|
+
O as BUBBLE_FOOTER_EMPTY,
|
248
|
+
A as Bubble
|
249
|
+
};
|
@@ -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.Cu3gwotw.js";
|
2
|
+
import { toText as Ca } from "./index.rezmsiOZ.js";
|
3
3
|
const Gt = /[#.]/g;
|
4
4
|
function qa(r, e) {
|
5
5
|
const t = r || "", a = {};
|
@@ -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.Cu3gwotw.js";
|
2
2
|
import { longestStreak as qe } from "./index.Cyw5OC0t.js";
|
3
3
|
function ne(e, n) {
|
4
4
|
const t = String(e);
|