@versini/sassysaint 8.75.5 → 8.76.1

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.
Files changed (34) hide show
  1. package/dist/chunks/{AboutChangelog.74dx3has.js → AboutChangelog.Bi_-dpeZ.js} +10 -9
  2. package/dist/chunks/{AboutEntry.B9IooHpy.js → AboutEntry.CTwezLPC.js} +11 -11
  3. package/dist/chunks/App.CV0Bjlae.js +9011 -0
  4. package/dist/chunks/{Chart.D1WQEJfe.js → Chart.uzxgAiX2.js} +2 -2
  5. package/dist/chunks/{ChatBubbleAssistant.TGE3iwln.js → ChatBubbleAssistant.BVlp2GoO.js} +8 -8
  6. package/dist/chunks/ChatBubbleUser.BrWZttfQ.js +130 -0
  7. package/dist/chunks/ChatHistoryTable.uFTyBF2A.js +236 -0
  8. package/dist/chunks/HistoryEntry.ThaD-b5r.js +307 -0
  9. package/dist/chunks/{ProfileEntry.DiMarPYw.js → ProfileEntry.CyBWFkHS.js} +26 -26
  10. package/dist/chunks/{SettingsEntry.7sE9nOGN.js → SettingsEntry.QaYvHkdk.js} +39 -39
  11. package/dist/chunks/Table.Ckql2SnG.js +359 -0
  12. package/dist/chunks/{UsageEntry.CiY4OQtp.js → UsageEntry.CDzDYeHf.js} +19 -19
  13. package/dist/chunks/{UserMemoriesPanel.UDXZvvrL.js → UserMemoriesPanel.B6egCowo.js} +184 -210
  14. package/dist/chunks/{index.CiIBuo5O.js → index.A4p6x5_T.js} +1 -1
  15. package/dist/chunks/index.BXdpJpQs.js +266 -0
  16. package/dist/chunks/{index.C0asS70q.js → index.BdPmgM6G.js} +1 -1
  17. package/dist/chunks/index.C3aZ0rB_.js +142 -0
  18. package/dist/chunks/{index.D4tD4ovC.js → index.C4Rma01G.js} +3 -3
  19. package/dist/chunks/{index.p-Jh4Heo.js → index.C6T0AZQ_.js} +2 -2
  20. package/dist/chunks/{index.Bl8BpeHP.js → index.CgUGA3LA.js} +1 -1
  21. package/dist/chunks/index.rzw7MU5J.js +7894 -0
  22. package/dist/chunks/{useMarkdown.Cno1hTiv.js → useMarkdown.B4NWSGJz.js} +2004 -2130
  23. package/dist/components/SassySaint/SassySaint.js +1 -1
  24. package/dist/index.js +4 -4
  25. package/dist/style.css +2 -2
  26. package/package.json +5 -5
  27. package/dist/chunks/App.BmFE7_v_.js +0 -10006
  28. package/dist/chunks/ChatBubbleUser.DjSazwPr.js +0 -128
  29. package/dist/chunks/ChatHistoryTable.DKVkQOL_.js +0 -288
  30. package/dist/chunks/HistoryEntry.D-clB2ui.js +0 -333
  31. package/dist/chunks/Table.--YCSSgh.js +0 -456
  32. package/dist/chunks/index.-hzHawd8.js +0 -7203
  33. package/dist/chunks/index.BHHgvfWz.js +0 -357
  34. package/dist/chunks/index.WAJtnhmS.js +0 -249
@@ -1,357 +0,0 @@
1
- import { jsxs as oe, jsx as x } from "react/jsx-runtime";
2
- import { o as se, h$1 as U, i as ie, x as de } from "./index.-hzHawd8.js";
3
- import ce, { useState as _, useEffect as ne, useRef as b, useLayoutEffect as T } from "react";
4
- import s from "clsx";
5
- function ue({
6
- value: e,
7
- defaultValue: l,
8
- finalValue: r,
9
- onChange: a = () => {
10
- },
11
- initialControlledDelay: t = 0
12
- }) {
13
- const [o, i] = _(!1), [c, k] = _(
14
- l !== void 0 ? l : r
15
- ), v = (f) => {
16
- k(f), a?.(f);
17
- };
18
- return ne(() => {
19
- (async () => e !== void 0 && !o && t > 0 && (await new Promise(
20
- (f) => setTimeout(f, t)
21
- ), i(!0)))();
22
- }, [e, t, o]), e !== void 0 ? !o && t > 0 ? ["", a, !0] : [e, a, !0] : [c, v, !1];
23
- }
24
- const X = "av-text-area", fe = "av-text-area-wrapper", L = "av-text-area-helper-text", me = "av-text-area__control--right", pe = "av-text-area__control--left", he = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hidden px-4 py-7", xe = ({ mode: e }) => s({
25
- "bg-surface-darker text-copy-lighter caret-copy-light": e === "dark",
26
- "bg-surface-lighter text-copy-dark caret-copy-dark": e === "light",
27
- "bg-surface-lighter text-copy-dark caret-copy-dark dark:bg-surface-darker dark:text-copy-lighter dark:caret-copy-light": e === "system",
28
- "bg-surface-darker text-copy-lighter caret-copy-light dark:bg-surface-lighter dark:text-copy-dark dark:caret-copy-dark": e === "alt-system"
29
- }), ye = ({
30
- focusMode: e
31
- }) => s("focus:outline focus:outline-2 focus:outline-offset-2", {
32
- "focus:outline-focus-dark": e === "dark",
33
- "focus:outline-focus-light": e === "light",
34
- "focus:outline-focus-light dark:focus:outline-focus-dark": e === "alt-system",
35
- "focus:outline-focus-dark dark:focus:outline-focus-light": e === "system"
36
- }), ge = ({
37
- noBorder: e,
38
- error: l
39
- }) => s("border-2", {
40
- "border-border-dark": !e && !l,
41
- "focus:border-border-dark": !e && l,
42
- "border-border-error-dark": !e && l,
43
- "border-transparent": e
44
- }), be = ({
45
- disabled: e,
46
- raw: l,
47
- error: r,
48
- mode: a,
49
- leftElement: t,
50
- rightElement: o
51
- }) => {
52
- if (l)
53
- return "";
54
- if (e)
55
- return s(
56
- "transform translate-y-0 scale-100 absolute px-2 cursor-not-allowed opacity-50 font-medium",
57
- {
58
- "translate-x-[10px]": o === !0 && !t || !o && !t
59
- }
60
- );
61
- if (!r)
62
- return s(
63
- "absolute px-2 cursor-text font-medium transform translate-y-0 scale-100",
64
- {
65
- "translate-x-[10px]": o === !0 && !t || !o && !t,
66
- "text-copy-medium": a === "dark",
67
- "text-copy-dark": a === "light",
68
- "text-copy-dark dark:text-copy-medium": a === "system",
69
- "text-copy-medium dark:text-copy-dark": a === "alt-system"
70
- }
71
- );
72
- if (r)
73
- return s(
74
- "absolute px-2 cursor-text font-medium transform translate-y-0 scale-100",
75
- {
76
- "translate-x-[10px]": o === !0 && !t || !o && !t,
77
- "text-copy-medium": a === "dark",
78
- "text-copy-error-dark": a === "light",
79
- "text-copy-error-dark dark:text-copy-error-light": a === "system",
80
- "text-copy-medium dark:text-copy-error-dark": a === "alt-system"
81
- }
82
- );
83
- }, ke = ({
84
- error: e,
85
- raw: l,
86
- mode: r,
87
- disabled: a
88
- }) => {
89
- if (l)
90
- return "";
91
- if (a)
92
- return s(
93
- L,
94
- "absolute px-2 cursor-not-allowed opacity-50 font-medium"
95
- );
96
- if (!e)
97
- return s(L, "absolute px-2 font-medium", {
98
- "text-copy-medium": r === "dark",
99
- "text-copy-dark": r === "light",
100
- "text-copy-dark dark:text-copy-medium": r === "system",
101
- "text-copy-medium dark:text-copy-dark": r === "alt-system"
102
- });
103
- if (e)
104
- return s(L, "absolute px-2 font-medium", {
105
- "text-copy-error-light": r === "dark",
106
- "text-copy-error-dark": r === "light",
107
- "text-copy-error-dark dark:text-copy-error-light": r === "system",
108
- "dark:text-copy-error-dark text-copy-error-light": r === "alt-system"
109
- });
110
- }, ve = ({
111
- className: e,
112
- textAreaClassName: l,
113
- raw: r,
114
- focusMode: a,
115
- disabled: t,
116
- noBorder: o,
117
- error: i,
118
- mode: c,
119
- leftElement: k,
120
- rightElement: v
121
- }) => {
122
- const f = r ? e : s(
123
- "relative flex w-full flex-col justify-center",
124
- fe,
125
- e
126
- ), N = r ? s(l) : s(
127
- X,
128
- l,
129
- he(),
130
- xe({ mode: c }),
131
- ye({ focusMode: a }),
132
- ge({
133
- noBorder: o,
134
- error: i
135
- }),
136
- {
137
- "disabled:cursor-not-allowed disabled:opacity-50": t
138
- }
139
- ), M = r ? void 0 : "sr-only", R = be({
140
- disabled: t,
141
- raw: r,
142
- error: i,
143
- mode: c,
144
- rightElement: v,
145
- leftElement: k
146
- }), n = ke({
147
- error: i,
148
- raw: r,
149
- mode: c,
150
- disabled: t
151
- }), w = r ? void 0 : s(me, "absolute"), m = r ? void 0 : s(pe, "absolute");
152
- return {
153
- wrapper: f,
154
- textArea: N,
155
- accessibleLabel: M,
156
- visibleLabel: R,
157
- helperText: n,
158
- rightElement: w,
159
- leftElement: m
160
- };
161
- }, we = ({
162
- scrollHeight: e,
163
- currentHeight: l,
164
- currentLabelOffset: r = 0,
165
- currentHelperTextOffset: a = 0
166
- }) => {
167
- let t, o;
168
- if (e > 0 && e !== l) {
169
- const i = e - l, c = Math.abs(i / 24);
170
- t = r + -1 * Math.sign(i) * (12 * c), o = a + Math.sign(i) * (12 * c);
171
- }
172
- return {
173
- labelOffset: t,
174
- helperTextOffset: o,
175
- scrollHeight: e
176
- };
177
- }, Ee = ce.forwardRef(
178
- ({
179
- id: e,
180
- name: l,
181
- label: r,
182
- error: a = !1,
183
- raw: t = !1,
184
- className: o,
185
- textAreaClassName: i,
186
- mode: c = "system",
187
- focusMode: k = "system",
188
- value: v,
189
- defaultValue: f,
190
- disabled: N = !1,
191
- noBorder: M = !1,
192
- labelId: R,
193
- helperText: n = "",
194
- helperTextOnFocus: w = !1,
195
- rightElement: m,
196
- leftElement: y,
197
- onChange: O,
198
- onFocus: I,
199
- onBlur: B,
200
- ...q
201
- }, z) => {
202
- const u = b(null), G = se([z, u]), [J, A] = U(), [K, g] = U(), C = b(80), V = b(-25), $ = b(null), D = b(30), P = b(null), E = ie({ id: e, prefix: `${X}-` }), [j, Q] = _(0), [F, W] = _(0), [Z, S] = _(
203
- !!(!w && n)
204
- ), Y = `${l} error, ${n}`, h = ve({
205
- className: o,
206
- textAreaClassName: i,
207
- error: a,
208
- raw: t,
209
- focusMode: k,
210
- disabled: N,
211
- noBorder: M,
212
- mode: c,
213
- rightElement: !!m,
214
- leftElement: !!y
215
- }), [p, ee] = ue({
216
- value: v,
217
- initialControlledDelay: 20,
218
- defaultValue: f,
219
- onChange: (d) => {
220
- O && O({
221
- target: {
222
- value: d
223
- }
224
- });
225
- }
226
- }), te = (d) => {
227
- ee(d.target.value);
228
- }, re = (d) => {
229
- w && n && S(!0), I && I(d);
230
- }, ae = (d) => {
231
- w && n && !p && S(!1), B && B(d);
232
- };
233
- return T(() => {
234
- A && A.width && Q(A.width + 18 + 10);
235
- }, [A]), T(() => {
236
- g && g.width && W(g.width + 18 + 10);
237
- }, [g]), T(() => {
238
- t || u && u.current && p !== void 0 && (u.current.style.height = "inherit", u.current.style.height = u.current.scrollHeight + "px");
239
- }, [p, t]), T(() => {
240
- t || setTimeout(() => {
241
- $?.current?.style.setProperty(
242
- "--av-text-area-wrapper-transition",
243
- p ? "none" : "all 0.2s ease-out"
244
- );
245
- }, 0);
246
- }, [p, t]), T(() => {
247
- if (!t && u && u.current && p !== void 0) {
248
- const { labelOffset: d, helperTextOffset: H, scrollHeight: le } = we({
249
- scrollHeight: u.current.scrollHeight,
250
- currentHeight: C.current,
251
- currentLabelOffset: V.current,
252
- currentHelperTextOffset: D.current
253
- });
254
- d && (V.current = d, $?.current?.style.setProperty(
255
- "--av-text-area-label",
256
- `${d}px`
257
- )), H && (D.current = H, P?.current?.style.setProperty(
258
- "--av-text-area-helper-text",
259
- `${H}px`
260
- )), C.current = le || C.current;
261
- }
262
- }, [p, t]), g.width > 0 && $?.current?.style.setProperty(
263
- "--tw-translate-x",
264
- `${12 + g.width + 5}px`
265
- ), /* @__PURE__ */ oe("div", { className: h.wrapper, children: [
266
- /* @__PURE__ */ x(
267
- "label",
268
- {
269
- htmlFor: E,
270
- id: R,
271
- className: h.accessibleLabel,
272
- children: r
273
- }
274
- ),
275
- y && /* @__PURE__ */ x(
276
- "div",
277
- {
278
- ref: K,
279
- className: h.leftElement,
280
- children: y
281
- }
282
- ),
283
- /* @__PURE__ */ x(
284
- "textarea",
285
- {
286
- ref: G,
287
- id: E,
288
- name: l,
289
- disabled: N,
290
- placeholder: t ? void 0 : " ",
291
- className: h.textArea,
292
- rows: 1,
293
- ...n && { "aria-describedby": `${E}-helper` },
294
- ...a && { "aria-invalid": "true" },
295
- ...m && !y && !t && { style: { paddingRight: j } },
296
- ...y && !m && !t && { style: { paddingLeft: F } },
297
- ...m && y && !t && {
298
- style: {
299
- paddingRight: j,
300
- paddingLeft: F
301
- }
302
- },
303
- value: p,
304
- onChange: te,
305
- onFocus: re,
306
- onBlur: ae,
307
- ...q
308
- }
309
- ),
310
- !t && /* @__PURE__ */ x(
311
- "label",
312
- {
313
- ref: $,
314
- "aria-hidden": !0,
315
- htmlFor: E,
316
- className: `${h.visibleLabel}`,
317
- children: r
318
- }
319
- ),
320
- Z && /* @__PURE__ */ x(
321
- "div",
322
- {
323
- ref: P,
324
- id: `${E}-helper`,
325
- className: h.helperText,
326
- children: n
327
- }
328
- ),
329
- m && /* @__PURE__ */ x(
330
- "div",
331
- {
332
- ref: J,
333
- className: h.rightElement,
334
- children: m
335
- }
336
- ),
337
- a && n && /* @__PURE__ */ x(de, { politeness: "polite", clearAnnouncementDelay: 500, children: Y })
338
- ] });
339
- }
340
- );
341
- Ee.displayName = "TextArea";
342
- /*!
343
- @versini/ui-textarea v5.0.7
344
- © 2025 gizmette.com
345
- */
346
- try {
347
- window.__VERSINI_UI_TEXTAREA__ || (window.__VERSINI_UI_TEXTAREA__ = {
348
- version: "5.0.7",
349
- buildTime: "10/24/2025 07:46 PM EDT",
350
- homepage: "https://github.com/aversini/ui-components",
351
- license: "MIT"
352
- });
353
- } catch {
354
- }
355
- export {
356
- Ee as Re
357
- };
@@ -1,249 +0,0 @@
1
- import { jsxs as p, jsx as i } from "react/jsx-runtime";
2
- import { te as B } from "./index.-hzHawd8.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.2
37
- © 2025 gizmette.com
38
- */
39
- try {
40
- window.__VERSINI_UI_SVGICON__ || (window.__VERSINI_UI_SVGICON__ = {
41
- version: "4.2.2",
42
- buildTime: "10/24/2025 06:42 PM 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.14.1
94
- © 2025 gizmette.com
95
- */
96
- try {
97
- window.__VERSINI_UI_ICONS__ || (window.__VERSINI_UI_ICONS__ = {
98
- version: "4.14.1",
99
- buildTime: "10/24/2025 06:42 PM 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", P = ({
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.1.4
234
- © 2025 gizmette.com
235
- */
236
- try {
237
- window.__VERSINI_UI_BUBBLE__ || (window.__VERSINI_UI_BUBBLE__ = {
238
- version: "6.1.4",
239
- buildTime: "10/24/2025 07:48 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
- P as Bubble
249
- };