@versini/sassysaint 8.45.4 → 8.45.6
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.LWPPo7H9.js} +2 -2
- package/dist/chunks/{AboutEntry.z1IGd8nH.js → AboutEntry.BFBDyy6h.js} +6 -6
- package/dist/chunks/App.Cwzj_7TG.js +10560 -0
- package/dist/chunks/{Chart.fnP0GZlV.js → Chart.BxV8to7Z.js} +2 -2
- package/dist/chunks/{ChatBubbleAssistant.C214h3Za.js → ChatBubbleAssistant.Bp18OzE9.js} +12 -12
- package/dist/chunks/ChatHistoryTable.BVjiHyBX.js +649 -0
- package/dist/chunks/{HistoryEntry.Bg8wGgO6.js → HistoryEntry.C16tGap4.js} +27 -27
- package/dist/chunks/{LNWAZHJI.CgXWR3aC.js → LNWAZHJI.CED6wpxJ.js} +1 -1
- package/dist/chunks/{ProfileEntry.llkfgZbz.js → ProfileEntry.DsI-YgqO.js} +5 -5
- package/dist/chunks/SettingsEntry.CIijARba.js +889 -0
- package/dist/chunks/{UsageEntry.Dt5P9AhJ.js → UsageEntry.DrEbNjpo.js} +7 -7
- package/dist/chunks/{index.aLXAYIRa.js → index.BFk_wbyz.js} +1 -1
- package/dist/chunks/{index.0hUxtRYc.js → index.BHaXd0Ws.js} +1 -1
- package/dist/chunks/{index.Brh2cWqI.js → index.C_uGQmmV.js} +1 -1
- package/dist/chunks/{index.DXnBFV0d.js → index.CvSvQRF0.js} +2 -2
- package/dist/chunks/{index.xegEqIYd.js → index.Ddqbg8Ks.js} +1506 -1455
- package/dist/chunks/{index.Cdz3tBE5.js → index.Des5u3uL.js} +3 -3
- package/dist/chunks/index.LWF-Ggi7.js +249 -0
- package/dist/chunks/{useMarkdown.CWlc3oNt.js → useMarkdown.CR3mLjmN.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,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.Cwzj_7TG.js";
|
2
|
+
import { visit as In } from "./useMarkdown.CR3mLjmN.js";
|
3
|
+
import { toText as Cn } from "./index.C_uGQmmV.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.Ddqbg8Ks.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
|
+
};
|