@versini/sassysaint 5.5.16 → 5.5.18

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.
@@ -1,14 +1,14 @@
1
- import { jsxs as k, jsx as l, Fragment as Y } from "react/jsx-runtime";
2
- import { g as me, ACTION_RESTORE as $t, ACTION_MESSAGE as q, ROLE_ASSISTANT as J, ACTION_RESET as qe, ACTION_MODEL as Je, ACTION_ENGINE as Ke, ACTION_STREAMING as Qe, ACTION_SORT as zt, ACTION_SEARCH as Mt, ACTION_SET_TAGS as Xe, ACTION_RESET_TAGS as Ye, ACTION_TOGGLE_TAG as Ze, DEFAULT_AI_ENGINE as V, P as et, un as Z, ROLE_SYSTEM as Lt, ROLE_INTERNAL as he, ROLE_HIDDEN as Ot, STATS_SEPARATOR as Be, CLIPBOARD_TAG as $e, TYPE_QUESTION as Vt, C as tt, SEND as Ht, ERROR_MESSAGE as Ut, ROLE_USER as le, L as Dt, j as Gt, isLastMessageFromRole as Pt, getMessageContaintWrapperClass as Ft, Logo as Wt, getMainPaddingClass as ze, r as jt, LOCAL_STORAGE_PREFIX as Me, LOCAL_STORAGE_SEARCH as qt, LOCAL_STORAGE_SORT as Jt } from "./index.DzbWJbnE.js";
3
- import i from "clsx";
4
- import I, { useRef as v, useEffect as x, useCallback as H, useSyncExternalStore as Kt, useState as S, useMemo as pe, useContext as A, useLayoutEffect as D, useId as Qt, useReducer as Q, lazy as rt, Suspense as ce } from "react";
1
+ import { jsxs as v, jsx as l, Fragment as Y } from "react/jsx-runtime";
2
+ import { g as me, ACTION_RESTORE as Bt, ACTION_MESSAGE as q, ROLE_ASSISTANT as J, ACTION_RESET as qe, ACTION_MODEL as Je, ACTION_ENGINE as Ke, ACTION_STREAMING as Qe, ACTION_SORT as zt, ACTION_SEARCH as Mt, ACTION_SET_TAGS as Xe, ACTION_RESET_TAGS as Ye, ACTION_TOGGLE_TAG as Ze, DEFAULT_AI_ENGINE as V, P as et, un as Z, ROLE_SYSTEM as Lt, ROLE_INTERNAL as he, ROLE_HIDDEN as Ot, STATS_SEPARATOR as $e, CLIPBOARD_TAG as Be, TYPE_QUESTION as Vt, C as tt, SEND as Ht, ERROR_MESSAGE as Ut, ROLE_USER as le, L as Dt, j as Gt, isLastMessageFromRole as Pt, getMessageContaintWrapperClass as Ft, Logo as Wt, getMainPaddingClass as ze, r as jt, LOCAL_STORAGE_PREFIX as Me, LOCAL_STORAGE_SEARCH as qt, LOCAL_STORAGE_SORT as Jt } from "./index.Dc-g6Ljy.js";
3
+ import s from "clsx";
4
+ import I, { useRef as k, useEffect as x, useCallback as H, useSyncExternalStore as Kt, useState as S, useMemo as pe, useContext as A, useLayoutEffect as D, useId as Qt, useReducer as Q, lazy as rt, Suspense as ce } from "react";
5
5
  const Xt = ({
6
6
  className: e,
7
7
  viewBox: t,
8
8
  title: r,
9
9
  monotone: a,
10
10
  ...o
11
- }) => /* @__PURE__ */ k(
11
+ }) => /* @__PURE__ */ v(
12
12
  me,
13
13
  {
14
14
  defaultViewBox: "0 0 448 512",
@@ -51,7 +51,7 @@ const Xt = ({
51
51
  title: r,
52
52
  monotone: a,
53
53
  ...o
54
- }) => /* @__PURE__ */ k(
54
+ }) => /* @__PURE__ */ v(
55
55
  me,
56
56
  {
57
57
  defaultViewBox: "0 0 384 512",
@@ -92,18 +92,18 @@ const er = "av-header", tr = ({
92
92
  mode: a = "system",
93
93
  noColors: o = !1,
94
94
  sticky: n = !1,
95
- noBorder: s = !1,
95
+ noBorder: i = !1,
96
96
  noMargin: c = !1,
97
97
  noPadding: d = !1
98
98
  }) => {
99
- const g = i(
99
+ const g = s(
100
100
  er,
101
101
  {
102
- "border-border-accent": a === "dark" && !r && !o && !s,
103
- "border-border-medium": a === "light" && !r && !o && !s,
104
- "border-border-accent dark:border-border-medium": a === "alt-system" && !r && !o && !s,
105
- "border-border-medium dark:border-border-accent": a === "system" && !r && !o && !s,
106
- "border-b-4": !r && !s,
102
+ "border-border-accent": a === "dark" && !r && !o && !i,
103
+ "border-border-medium": a === "light" && !r && !o && !i,
104
+ "border-border-accent dark:border-border-medium": a === "alt-system" && !r && !o && !i,
105
+ "border-border-medium dark:border-border-accent": a === "system" && !r && !o && !i,
106
+ "border-b-4": !r && !i,
107
107
  "border-transparent": !r && o,
108
108
  "bg-surface-dark": a === "dark" && !r && !o,
109
109
  "bg-surface-light": a === "light" && !r && !o,
@@ -112,7 +112,7 @@ const er = "av-header", tr = ({
112
112
  "sticky top-0 z-50": n
113
113
  },
114
114
  t
115
- ), u = i({
115
+ ), u = s({
116
116
  "mt-0": !c,
117
117
  "p-2": !d,
118
118
  "flex flex-col w-full md:mx-auto md:max-w-4xl": !r
@@ -133,7 +133,7 @@ function rr(e) {
133
133
  };
134
134
  }
135
135
  function ar(e, t) {
136
- const { alt: r, ctrl: a, meta: o, mod: n, shift: s, key: c } = e, { altKey: d, ctrlKey: g, metaKey: u, shiftKey: h, key: m } = t;
136
+ const { alt: r, ctrl: a, meta: o, mod: n, shift: i, key: c } = e, { altKey: d, ctrlKey: g, metaKey: u, shiftKey: h, key: m } = t;
137
137
  if (r !== d)
138
138
  return !1;
139
139
  if (n) {
@@ -141,7 +141,7 @@ function ar(e, t) {
141
141
  return !1;
142
142
  } else if (a !== g || o !== u)
143
143
  return !1;
144
- return s !== h ? !1 : !!(c && (m.toLowerCase() === c.toLowerCase() || t.code.replace("Key", "").toLowerCase() === c.toLowerCase()));
144
+ return i !== h ? !1 : !!(c && (m.toLowerCase() === c.toLowerCase() || t.code.replace("Key", "").toLowerCase() === c.toLowerCase()));
145
145
  }
146
146
  function or(e) {
147
147
  return (t) => ar(rr(e), t);
@@ -154,8 +154,8 @@ function nr(e) {
154
154
  });
155
155
  };
156
156
  }
157
- function ir() {
158
- const e = v(!1);
157
+ function sr() {
158
+ const e = k(!1);
159
159
  return x(() => (e.current = !0, () => {
160
160
  e.current = !1;
161
161
  }), []), H(() => e.current, []);
@@ -168,7 +168,7 @@ const Le = (e, t) => {
168
168
  typeof t == "function" ? t() : t
169
169
  );
170
170
  window.localStorage.setItem(e, r), at(e, r);
171
- }, sr = (e) => {
171
+ }, ir = (e) => {
172
172
  window.localStorage.removeItem(e), at(e, null);
173
173
  }, Oe = (e) => window.localStorage.getItem(e), lr = (e) => (window.addEventListener("storage", e), () => window.removeEventListener("storage", e));
174
174
  function Ve({
@@ -176,10 +176,10 @@ function Ve({
176
176
  initialValue: t
177
177
  }) {
178
178
  const r = Kt(lr, () => Oe(e)), a = H(
179
- (s) => {
179
+ (i) => {
180
180
  try {
181
- const c = typeof s == "function" ? s(JSON.parse(r)) : s;
182
- c == null ? sr(e) : Le(e, c);
181
+ const c = typeof i == "function" ? i(JSON.parse(r)) : i;
182
+ c == null ? ir(e) : Le(e, c);
183
183
  } catch (c) {
184
184
  console.warn(c);
185
185
  }
@@ -193,8 +193,8 @@ function Ve({
193
193
  return x(() => {
194
194
  try {
195
195
  Oe(e) === null && typeof t < "u" && Le(e, t);
196
- } catch (s) {
197
- console.warn(s);
196
+ } catch (i) {
197
+ console.warn(i);
198
198
  }
199
199
  }, [e, t]), [r ? JSON.parse(r) : null, a, o, n];
200
200
  }
@@ -209,24 +209,24 @@ const cr = {
209
209
  right: 0
210
210
  };
211
211
  function dr(e) {
212
- const t = ir(), r = v(0), a = v(null), [o, n] = S(cr), s = pe(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((c) => {
212
+ const t = sr(), r = k(0), a = k(null), [o, n] = S(cr), i = pe(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((c) => {
213
213
  const d = c[0];
214
214
  d && (cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
215
215
  a.current && t() && n(d.contentRect);
216
216
  }));
217
217
  }), [t]);
218
- return x(() => (a.current && (s == null || s.observe(a.current, e)), () => {
219
- s == null || s.disconnect(), r.current && cancelAnimationFrame(r.current);
220
- }), [s, e]), [a, o];
218
+ return x(() => (a.current && (i == null || i.observe(a.current, e)), () => {
219
+ i == null || i.disconnect(), r.current && cancelAnimationFrame(r.current);
220
+ }), [i, e]), [a, o];
221
221
  }
222
222
  /*!
223
- @versini/ui-table v3.0.1
223
+ @versini/ui-table v3.0.2
224
224
  © 2025 gizmette.com
225
225
  */
226
226
  try {
227
227
  window.__VERSINI_UI_TABLE__ || (window.__VERSINI_UI_TABLE__ = {
228
- version: "3.0.1",
229
- buildTime: "01/03/2025 11:20 AM EST",
228
+ version: "3.0.2",
229
+ buildTime: "01/04/2025 10:03 AM EST",
230
230
  homepage: "https://github.com/aversini/ui-components",
231
231
  license: "MIT"
232
232
  });
@@ -242,7 +242,7 @@ const ee = "thead", be = "tfoot", G = "tbody", j = {
242
242
  stickyHeader: a,
243
243
  stickyFooter: o
244
244
  }) => ({
245
- wrapper: i(
245
+ wrapper: s(
246
246
  "not-prose relative w-full rounded-lg shadow-md",
247
247
  {
248
248
  "overflow-x-auto": !a && !o,
@@ -258,13 +258,13 @@ const ee = "thead", be = "tfoot", G = "tbody", j = {
258
258
  },
259
259
  r
260
260
  ),
261
- table: i("my-0 w-full text-left text-sm", t, {
261
+ table: s("my-0 w-full text-left text-sm", t, {
262
262
  "text-copy-light": e === "dark",
263
263
  "text-copy-dark": e === "light",
264
264
  "text-copy-light dark:text-copy-dark": e === "system",
265
265
  "text-copy-dark dark:text-copy-light": e === "alt-system"
266
266
  }),
267
- caption: i("py-2 text-sm font-bold", {
267
+ caption: s("py-2 text-sm font-bold", {
268
268
  "text-copy-light": e === "dark",
269
269
  "text-copy-dark": e === "light",
270
270
  "text-copy-light dark:text-copy-dark": e === "system",
@@ -274,7 +274,7 @@ const ee = "thead", be = "tfoot", G = "tbody", j = {
274
274
  className: e,
275
275
  stickyHeader: t,
276
276
  mode: r
277
- }) => i(
277
+ }) => s(
278
278
  {
279
279
  "sticky top-0 z-10": t,
280
280
  "shadow-[rgb(190_190_190_/20%)_0_0.5rem_1rem]": t && r === "dark",
@@ -287,7 +287,7 @@ const ee = "thead", be = "tfoot", G = "tbody", j = {
287
287
  className: e,
288
288
  stickyFooter: t,
289
289
  mode: r
290
- }) => i(
290
+ }) => s(
291
291
  {
292
292
  "sticky bottom-0 z-10": t,
293
293
  "shadow-[rgb(190_190_190_/20%)_0_-0.5rem_1rem]": t && r === "dark",
@@ -300,7 +300,7 @@ const ee = "thead", be = "tfoot", G = "tbody", j = {
300
300
  mode: e,
301
301
  className: t,
302
302
  cellWrapper: r
303
- }) => r === ee || r === be ? i(
303
+ }) => r === ee || r === be ? s(
304
304
  {
305
305
  "bg-table-head-dark": e === "dark" || e === "system",
306
306
  "bg-table-head-light": e === "light" || e === "alt-system",
@@ -308,7 +308,7 @@ const ee = "thead", be = "tfoot", G = "tbody", j = {
308
308
  "dark:bg-table-head-dark": e === "alt-system"
309
309
  },
310
310
  t
311
- ) : i(
311
+ ) : s(
312
312
  "border-b last:border-0",
313
313
  {
314
314
  "border-table-dark": e === "dark" || e === "system",
@@ -328,12 +328,12 @@ const ee = "thead", be = "tfoot", G = "tbody", j = {
328
328
  mode: a,
329
329
  align: o
330
330
  }) => ({
331
- alignClasses: i({
331
+ alignClasses: s({
332
332
  "flex justify-start text-left": o === "left",
333
333
  "flex justify-center text-center": o === "center",
334
334
  "flex justify-end text-right": o === "right"
335
335
  }),
336
- mainClasses: i(
336
+ mainClasses: s(
337
337
  {
338
338
  "text-copy-light": a === "dark" || a === "system",
339
339
  "text-copy-dark": a === "light" || a === "alt-system",
@@ -347,24 +347,24 @@ const ee = "thead", be = "tfoot", G = "tbody", j = {
347
347
  )
348
348
  }), br = ({
349
349
  buttonClassName: e
350
- }) => i("rounded-none text-sm", e), He = "av-button", ye = "icon", ot = "button", de = "link", yr = ({
350
+ }) => s("rounded-none text-sm", e), He = "av-button", ye = "icon", ot = "button", de = "link", yr = ({
351
351
  type: e,
352
352
  size: t,
353
353
  labelRight: r,
354
354
  labelLeft: a,
355
355
  align: o
356
356
  }) => {
357
- const n = "max-h-8 py-0 px-2", s = "max-h-9 py-1 px-3", c = "max-h-12 py-2 px-4";
357
+ const n = "max-h-8 py-0 px-2", i = "max-h-9 py-1 px-3", c = "max-h-12 py-2 px-4";
358
358
  switch (e) {
359
359
  case ot:
360
360
  case de:
361
- return i({
361
+ return s({
362
362
  [n]: t === "small",
363
- [s]: t === "medium",
363
+ [i]: t === "medium",
364
364
  [c]: t === "large"
365
365
  });
366
366
  case ye:
367
- return i("inline-flex items-center", {
367
+ return s("inline-flex items-center", {
368
368
  "justify-center": o === "center",
369
369
  "justify-start": o === "left",
370
370
  "justify-end": o === "right",
@@ -382,24 +382,24 @@ const ee = "thead", be = "tfoot", G = "tbody", j = {
382
382
  labelRight: r,
383
383
  labelLeft: a
384
384
  }) => {
385
- const o = "text-sm font-medium", n = "text-base font-medium", s = "text-lg font-medium";
385
+ const o = "text-sm font-medium", n = "text-base font-medium", i = "text-lg font-medium";
386
386
  switch (e) {
387
387
  case ot:
388
388
  case de:
389
- return i({
389
+ return s({
390
390
  "text-center": e === de,
391
391
  [o]: t === "small",
392
392
  [n]: t === "medium",
393
- [s]: t === "large"
393
+ [i]: t === "large"
394
394
  });
395
395
  case ye:
396
- return i({
396
+ return s({
397
397
  [o]: t === "small" && (r || a),
398
398
  [n]: t === "medium" && (r || a),
399
- [s]: t === "large" && (r || a)
399
+ [i]: t === "large" && (r || a)
400
400
  });
401
401
  }
402
- }, kr = ({
402
+ }, vr = ({
403
403
  mode: e,
404
404
  noBackground: t,
405
405
  noTruncate: r,
@@ -408,59 +408,55 @@ const ee = "thead", be = "tfoot", G = "tbody", j = {
408
408
  if (t)
409
409
  return "not-prose";
410
410
  if (a === "primary")
411
- return i("not-prose", {
411
+ return s("not-prose", {
412
412
  truncate: !r,
413
- "text-copy-light": e === "dark",
414
- "text-copy-lighter": e === "light",
415
- "text-copy-light dark:text-copy-lighter": e === "system",
416
- "text-copy-lighter dark:text-copy-light": e === "alt-system"
413
+ "text-copy-light": e === "dark" || e === "system",
414
+ "text-copy-lighter": e === "light" || e === "alt-system",
415
+ "dark:text-copy-lighter": e === "system",
416
+ "dark:text-copy-light": e === "alt-system"
417
417
  });
418
418
  if (a === "secondary")
419
- return i("not-prose", {
419
+ return s("not-prose", {
420
420
  truncate: !r,
421
- "text-copy-light": e === "light",
422
- "text-copy-lighter": e === "dark",
423
- "text-copy-light dark:text-copy-lighter": e === "alt-system",
424
- "text-copy-lighter dark:text-copy-light": e === "system"
421
+ "text-copy-light": e === "light" || e === "system",
422
+ "text-copy-lighter": e === "dark" || e === "alt-system",
423
+ "dark:text-copy-lighter": e === "alt-system",
424
+ "dark:text-copy-light": e === "system"
425
425
  });
426
426
  if (a === "danger")
427
- return i("not-prose", {
427
+ return s("not-prose", {
428
428
  truncate: !r,
429
- "text-copy-light": e === "dark",
430
- "text-copy-lighter": e === "light",
431
- "text-copy-light dark:text-copy-lighter": e === "system",
432
- "text-copy-lighter dark:text-copy-light": e === "alt-system"
429
+ "text-copy-light": e === "dark" || e === "system",
430
+ "text-copy-lighter": e === "light" || e === "alt-system",
431
+ "dark:text-copy-lighter": e === "system",
432
+ "dark:text-copy-light": e === "alt-system"
433
433
  });
434
434
  if (a === "selected")
435
- return i("not-prose", {
436
- truncate: !r,
437
- "text-copy-light": e === "dark",
438
- "text-copy-lighter": e === "light",
439
- "text-copy-light dark:text-copy-lighter": e === "system",
440
- "text-copy-lighter dark:text-copy-light": e === "alt-system"
435
+ return s("not-prose text-copy-lighter", {
436
+ truncate: !r
441
437
  });
442
- }, vr = ({
438
+ }, kr = ({
443
439
  mode: e,
444
440
  noBackground: t,
445
441
  variant: r
446
442
  }) => {
447
443
  if (!t) {
448
444
  if (r === "primary")
449
- return i({
445
+ return s({
450
446
  "bg-action-dark": e === "dark",
451
447
  "bg-action-light": e === "light",
452
448
  "bg-action-dark dark:bg-action-light": e === "system",
453
449
  "bg-action-light dark:bg-action-dark": e === "alt-system"
454
450
  });
455
451
  if (r === "secondary")
456
- return i({
452
+ return s({
457
453
  "bg-action-dark": e === "light",
458
454
  "bg-action-light": e === "dark",
459
455
  "bg-action-dark dark:bg-action-light": e === "alt-system",
460
456
  "bg-action-light dark:bg-action-dark": e === "system"
461
457
  });
462
458
  if (r === "danger")
463
- return i({
459
+ return s({
464
460
  "bg-action-danger-dark": e === "dark",
465
461
  "bg-action-danger-light": e === "light",
466
462
  "bg-action-danger-dark dark:bg-action-danger-light": e === "system",
@@ -471,7 +467,7 @@ const ee = "thead", be = "tfoot", G = "tbody", j = {
471
467
  }
472
468
  }, xr = ({
473
469
  radius: e
474
- }) => i({
470
+ }) => s({
475
471
  "rounded-full": e === "large",
476
472
  "rounded-md": e === "medium",
477
473
  "rounded-sm": e === "small"
@@ -483,21 +479,21 @@ const ee = "thead", be = "tfoot", G = "tbody", j = {
483
479
  if (t)
484
480
  return "";
485
481
  if (r === "primary")
486
- return i("hover:text-copy-light-hover", {
482
+ return s("hover:text-copy-light-hover", {
487
483
  "hover:bg-action-dark-hover": e === "dark",
488
484
  "hover:bg-action-light-hover": e === "light",
489
485
  "hover:bg-action-dark-hover dark:hover:bg-action-light-hover": e === "system",
490
486
  "hover:bg-action-light-hover dark:hover:bg-action-dark-hover": e === "alt-system"
491
487
  });
492
488
  if (r === "secondary")
493
- return i("hover:text-copy-light-hover", {
489
+ return s("hover:text-copy-light-hover", {
494
490
  "hover:bg-action-dark-hover": e === "light",
495
491
  "hover:bg-action-light-hover": e === "dark",
496
492
  "hover:bg-action-dark-hover dark:hover:bg-action-light-hover": e === "alt-system",
497
493
  "hover:bg-action-light-hover dark:hover:bg-action-dark-hover": e === "system"
498
494
  });
499
495
  if (r === "danger")
500
- return i("hover:text-copy-light-hover", {
496
+ return s("hover:text-copy-light-hover", {
501
497
  "hover:bg-action-danger-dark-hover": e === "dark",
502
498
  "hover:bg-action-danger-light-hover": e === "light",
503
499
  "hover:bg-action-danger-dark-hover dark:hover:bg-action-danger-light-hover": e === "system",
@@ -513,21 +509,21 @@ const ee = "thead", be = "tfoot", G = "tbody", j = {
513
509
  if (t)
514
510
  return "";
515
511
  if (r === "primary")
516
- return i("active:text-copy-light-active", {
512
+ return s("active:text-copy-light-active", {
517
513
  "active:bg-action-dark-active": e === "dark",
518
514
  "active:bg-action-light-active": e === "light",
519
515
  "active:bg-action-dark-active dark:active:bg-action-light-active": e === "system",
520
516
  "active:bg-action-light-active dark:active:bg-action-dark-active": e === "alt-system"
521
517
  });
522
518
  if (r === "secondary")
523
- return i("active:text-copy-light-active", {
519
+ return s("active:text-copy-light-active", {
524
520
  "active:bg-action-dark-active": e === "light",
525
521
  "active:bg-action-light-active": e === "dark",
526
522
  "active:bg-action-dark-active dark:active:bg-action-light-active": e === "alt-system",
527
523
  "active:bg-action-light-active dark:active:bg-action-dark-active": e === "system"
528
524
  });
529
525
  if (r === "danger")
530
- return i("active:text-copy-lighter-active", {
526
+ return s("active:text-copy-lighter-active", {
531
527
  "active:bg-action-danger-dark-active": e === "dark",
532
528
  "active:bg-action-danger-light-active": e === "light",
533
529
  "active:bg-action-danger-dark-active dark:active:bg-action-danger-light-active": e === "system",
@@ -543,21 +539,21 @@ const ee = "thead", be = "tfoot", G = "tbody", j = {
543
539
  if (t)
544
540
  return "border border-transparent";
545
541
  if (r === "primary")
546
- return i("border", {
542
+ return s("border", {
547
543
  "border-border-dark": e === "dark",
548
544
  "border-border-accent": e === "light",
549
545
  "border-border-dark dark:border-border-accent": e === "system",
550
546
  "border-border-accent dark:border-border-dark": e === "alt-system"
551
547
  });
552
548
  if (r === "secondary")
553
- return i("border", {
549
+ return s("border", {
554
550
  "border-border-dark": e === "light",
555
551
  "border-border-accent": e === "dark",
556
552
  "border-border-dark dark:border-border-accent": e === "alt-system",
557
553
  "border-border-accent dark:border-border-dark": e === "system"
558
554
  });
559
555
  if (r === "danger")
560
- return i("border", {
556
+ return s("border", {
561
557
  "border-border-danger-dark": e === "dark",
562
558
  "border-border-danger-medium": e === "light",
563
559
  "border-border-danger-dark dark:border-border-danger-medium": e === "system",
@@ -567,7 +563,7 @@ const ee = "thead", be = "tfoot", G = "tbody", j = {
567
563
  return "border border-border-selected-dark";
568
564
  }, Nr = ({
569
565
  focusMode: e
570
- }) => i("focus:outline", "focus:outline-2", "focus:outline-offset-2", {
566
+ }) => s("focus:outline", "focus:outline-2", "focus:outline-offset-2", {
571
567
  "focus:outline-focus-dark": e === "dark",
572
568
  "focus:outline-focus-light": e === "light",
573
569
  "focus:outline-focus-light dark:focus:outline-focus-dark": e === "alt-system",
@@ -579,7 +575,7 @@ const ee = "thead", be = "tfoot", G = "tbody", j = {
579
575
  mode: a,
580
576
  focusMode: o,
581
577
  disabled: n,
582
- fullWidth: s,
578
+ fullWidth: i,
583
579
  size: c,
584
580
  noBorder: d,
585
581
  labelRight: g,
@@ -589,15 +585,15 @@ const ee = "thead", be = "tfoot", G = "tbody", j = {
589
585
  noTruncate: p,
590
586
  align: b,
591
587
  radius: f
592
- }) => (m || (m = "primary"), r ? i(He, t) : i(
588
+ }) => (m || (m = "primary"), r ? s(He, t) : s(
593
589
  He,
594
- kr({
590
+ vr({
595
591
  mode: a,
596
592
  variant: m,
597
593
  noBackground: h,
598
594
  noTruncate: p
599
595
  }),
600
- vr({ mode: a, noBackground: h, variant: m }),
596
+ kr({ mode: a, noBackground: h, variant: m }),
601
597
  xr({ radius: f }),
602
598
  yr({
603
599
  type: e,
@@ -612,7 +608,7 @@ const ee = "thead", be = "tfoot", G = "tbody", j = {
612
608
  _r({ mode: a, variant: m, disabled: n }),
613
609
  wr({ mode: a, variant: m, disabled: n }),
614
610
  {
615
- "w-full": s,
611
+ "w-full": i,
616
612
  "disabled:cursor-not-allowed disabled:opacity-50": n
617
613
  },
618
614
  t
@@ -634,19 +630,19 @@ const ee = "thead", be = "tfoot", G = "tbody", j = {
634
630
  });
635
631
  nt.displayName = "BaseButton";
636
632
  /*!
637
- @versini/ui-button v4.0.0
633
+ @versini/ui-button v4.0.1
638
634
  © 2025 gizmette.com
639
635
  */
640
636
  try {
641
637
  window.__VERSINI_UI_BUTTON__ || (window.__VERSINI_UI_BUTTON__ = {
642
- version: "4.0.0",
643
- buildTime: "01/03/2025 11:20 AM EST",
638
+ version: "4.0.1",
639
+ buildTime: "01/04/2025 10:02 AM EST",
644
640
  homepage: "https://github.com/aversini/ui-components",
645
641
  license: "MIT"
646
642
  });
647
643
  } catch {
648
644
  }
649
- const it = I.forwardRef(
645
+ const st = I.forwardRef(
650
646
  ({
651
647
  children: e,
652
648
  disabled: t = !1,
@@ -654,7 +650,7 @@ const it = I.forwardRef(
654
650
  focusMode: a = "system",
655
651
  fullWidth: o = !1,
656
652
  className: n,
657
- type: s = "button",
653
+ type: i = "button",
658
654
  raw: c = !1,
659
655
  noBorder: d = !1,
660
656
  "aria-label": g,
@@ -683,12 +679,12 @@ const it = I.forwardRef(
683
679
  noBackground: b,
684
680
  align: f,
685
681
  radius: _
686
- }), E = i({
682
+ }), E = s({
687
683
  "text-copy-accent-dark": r === "light" && !c,
688
684
  "text-copy-light": r === "dark" && !c,
689
685
  "text-copy-accent-dark dark:text-copy-light": r === "alt-system" && !c,
690
686
  "text-copy-light dark:text-copy-accent-dark": r === "system" && !c
691
- }), M = y ? i(
687
+ }), M = y ? s(
692
688
  "relative",
693
689
  "focus-within:static",
694
690
  "focus-within:after:border-transparent",
@@ -705,13 +701,13 @@ const it = I.forwardRef(
705
701
  "after:border-table-light dark:after:border-table-dark": r === "alt-system"
706
702
  }
707
703
  ) : "";
708
- return /* @__PURE__ */ l("div", { className: M, children: /* @__PURE__ */ k(
704
+ return /* @__PURE__ */ l("div", { className: M, children: /* @__PURE__ */ v(
709
705
  nt,
710
706
  {
711
707
  ref: N,
712
708
  className: R,
713
709
  disabled: t,
714
- type: s,
710
+ type: i,
715
711
  "aria-label": g || u,
716
712
  ...T,
717
713
  children: [
@@ -723,7 +719,7 @@ const it = I.forwardRef(
723
719
  ) });
724
720
  }
725
721
  );
726
- it.displayName = "ButtonSort";
722
+ st.displayName = "ButtonSort";
727
723
  const fe = ({
728
724
  children: e,
729
725
  fill: t,
@@ -731,12 +727,12 @@ const fe = ({
731
727
  className: a,
732
728
  defaultViewBox: o,
733
729
  size: n,
734
- title: s,
730
+ title: i,
735
731
  semantic: c = !1,
736
732
  ...d
737
733
  }) => {
738
- const g = i(n, a);
739
- return /* @__PURE__ */ k(Y, { children: [
734
+ const g = s(n, a);
735
+ return /* @__PURE__ */ v(Y, { children: [
740
736
  /* @__PURE__ */ l(
741
737
  "svg",
742
738
  {
@@ -751,7 +747,7 @@ const fe = ({
751
747
  children: e
752
748
  }
753
749
  ),
754
- s && c && /* @__PURE__ */ l("span", { className: "sr-only", children: s })
750
+ i && c && /* @__PURE__ */ l("span", { className: "sr-only", children: i })
755
751
  ] });
756
752
  };
757
753
  /*!
@@ -761,7 +757,7 @@ const fe = ({
761
757
  try {
762
758
  window.__VERSINI_UI_SVGICON__ || (window.__VERSINI_UI_SVGICON__ = {
763
759
  version: "4.0.0",
764
- buildTime: "01/03/2025 11:19 AM EST",
760
+ buildTime: "01/04/2025 10:02 AM EST",
765
761
  homepage: "https://github.com/aversini/ui-components",
766
762
  license: "MIT"
767
763
  });
@@ -773,7 +769,7 @@ const Cr = ({
773
769
  title: r,
774
770
  monotone: a,
775
771
  ...o
776
- }) => /* @__PURE__ */ k(
772
+ }) => /* @__PURE__ */ v(
777
773
  fe,
778
774
  {
779
775
  defaultViewBox: "0 0 576 512",
@@ -799,7 +795,7 @@ const Cr = ({
799
795
  title: r,
800
796
  monotone: a,
801
797
  ...o
802
- }) => /* @__PURE__ */ k(
798
+ }) => /* @__PURE__ */ v(
803
799
  fe,
804
800
  {
805
801
  defaultViewBox: "0 0 576 512",
@@ -825,7 +821,7 @@ const Cr = ({
825
821
  title: r,
826
822
  monotone: a,
827
823
  ...o
828
- }) => /* @__PURE__ */ k(
824
+ }) => /* @__PURE__ */ v(
829
825
  fe,
830
826
  {
831
827
  defaultViewBox: "0 0 576 512",
@@ -853,7 +849,7 @@ const Cr = ({
853
849
  try {
854
850
  window.__VERSINI_UI_ICONS__ || (window.__VERSINI_UI_ICONS__ = {
855
851
  version: "4.0.0",
856
- buildTime: "01/03/2025 11:19 AM EST",
852
+ buildTime: "01/04/2025 10:02 AM EST",
857
853
  homepage: "https://github.com/aversini/ui-components",
858
854
  license: "MIT"
859
855
  });
@@ -872,7 +868,7 @@ const P = I.createContext({
872
868
  compact: a,
873
869
  summary: o,
874
870
  className: n,
875
- wrapperClassName: s,
871
+ wrapperClassName: i,
876
872
  maxHeight: c,
877
873
  stickyHeader: d,
878
874
  stickyFooter: g,
@@ -881,7 +877,7 @@ const P = I.createContext({
881
877
  const h = gr({
882
878
  mode: t,
883
879
  className: n,
884
- wrapperClassName: s,
880
+ wrapperClassName: i,
885
881
  stickyHeader: d,
886
882
  stickyFooter: g
887
883
  });
@@ -896,7 +892,7 @@ const P = I.createContext({
896
892
  ...c && {
897
893
  style: { maxHeight: c }
898
894
  },
899
- children: /* @__PURE__ */ k("table", { className: h.table, summary: o, ...u, children: [
895
+ children: /* @__PURE__ */ v("table", { className: h.table, summary: o, ...u, children: [
900
896
  r && /* @__PURE__ */ l("caption", { className: h.caption, children: r }),
901
897
  e
902
898
  ] })
@@ -951,14 +947,14 @@ const P = I.createContext({
951
947
  align: a,
952
948
  ...o
953
949
  }) => {
954
- const n = A(P), s = t || (n.cellWrapper === ee ? "th" : "td"), { mainClasses: c, alignClasses: d } = pr({
950
+ const n = A(P), i = t || (n.cellWrapper === ee ? "th" : "td"), { mainClasses: c, alignClasses: d } = pr({
955
951
  cellWrapper: n.cellWrapper,
956
952
  className: r,
957
953
  mode: n.mode,
958
954
  compact: n.compact,
959
955
  align: a
960
956
  });
961
- return a ? /* @__PURE__ */ l(s, { className: c, ...o, children: /* @__PURE__ */ l("div", { className: d, children: e }) }) : /* @__PURE__ */ l(s, { className: c, ...o, children: e });
957
+ return a ? /* @__PURE__ */ l(i, { className: c, ...o, children: /* @__PURE__ */ l("div", { className: d, children: e }) }) : /* @__PURE__ */ l(i, { className: c, ...o, children: e });
962
958
  }, no = ({
963
959
  align: e,
964
960
  children: t,
@@ -966,7 +962,7 @@ const P = I.createContext({
966
962
  className: a,
967
963
  component: o,
968
964
  focusMode: n = "alt-system",
969
- mode: s = "alt-system",
965
+ mode: i = "alt-system",
970
966
  onClick: c,
971
967
  sortDirection: d,
972
968
  sortedCell: g,
@@ -983,7 +979,7 @@ const P = I.createContext({
983
979
  "aria-sort": d === j.ASC && g === u ? "ascending" : d === j.DESC && g === u ? "descending" : "other",
984
980
  ...h,
985
981
  children: /* @__PURE__ */ l(
986
- it,
982
+ st,
987
983
  {
988
984
  active: g === u,
989
985
  className: m,
@@ -991,7 +987,7 @@ const P = I.createContext({
991
987
  align: e,
992
988
  noBorder: !0,
993
989
  focusMode: n,
994
- mode: s,
990
+ mode: i,
995
991
  fullWidth: !0,
996
992
  labelRight: t,
997
993
  children: d === j.ASC && g === u ? /* @__PURE__ */ l(Rr, { className: "size-4", monotone: !0 }) : d === j.DESC && g === u ? /* @__PURE__ */ l(Ir, { className: "size-4", monotone: !0 }) : /* @__PURE__ */ l(Cr, { className: "size-4", monotone: !0 })
@@ -1002,29 +998,29 @@ const P = I.createContext({
1002
998
  }, w = [];
1003
999
  for (let e = 0; e < 256; ++e)
1004
1000
  w.push((e + 256).toString(16).slice(1));
1005
- function Br(e, t = 0) {
1001
+ function $r(e, t = 0) {
1006
1002
  return (w[e[t + 0]] + w[e[t + 1]] + w[e[t + 2]] + w[e[t + 3]] + "-" + w[e[t + 4]] + w[e[t + 5]] + "-" + w[e[t + 6]] + w[e[t + 7]] + "-" + w[e[t + 8]] + w[e[t + 9]] + "-" + w[e[t + 10]] + w[e[t + 11]] + w[e[t + 12]] + w[e[t + 13]] + w[e[t + 14]] + w[e[t + 15]]).toLowerCase();
1007
1003
  }
1008
- let ie;
1009
- const $r = new Uint8Array(16);
1004
+ let se;
1005
+ const Br = new Uint8Array(16);
1010
1006
  function zr() {
1011
- if (!ie) {
1007
+ if (!se) {
1012
1008
  if (typeof crypto > "u" || !crypto.getRandomValues)
1013
1009
  throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
1014
- ie = crypto.getRandomValues.bind(crypto);
1010
+ se = crypto.getRandomValues.bind(crypto);
1015
1011
  }
1016
- return ie($r);
1012
+ return se(Br);
1017
1013
  }
1018
1014
  const Mr = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), Ue = { randomUUID: Mr };
1019
- function ke(e, t, r) {
1015
+ function ve(e, t, r) {
1020
1016
  if (Ue.randomUUID && !t && !e)
1021
1017
  return Ue.randomUUID();
1022
1018
  e = e || {};
1023
1019
  const a = e.random || (e.rng || zr)();
1024
- return a[6] = a[6] & 15 | 64, a[8] = a[8] & 63 | 128, Br(a);
1020
+ return a[6] = a[6] & 15 | 64, a[8] = a[8] & 63 | 128, $r(a);
1025
1021
  }
1026
1022
  const Lr = (e, t) => {
1027
- if ((t == null ? void 0 : t.type) === $t) {
1023
+ if ((t == null ? void 0 : t.type) === Bt) {
1028
1024
  const r = t.payload.messages.map((a) => ({
1029
1025
  message: {
1030
1026
  role: a.role,
@@ -1044,18 +1040,18 @@ const Lr = (e, t) => {
1044
1040
  };
1045
1041
  }
1046
1042
  if ((t == null ? void 0 : t.type) === q) {
1047
- const r = t.payload.message.role, a = t.payload.message.content, o = t.payload.message.name, n = t.payload.message.processingTime, s = t.payload.message.messageId;
1043
+ const r = t.payload.message.role, a = t.payload.message.content, o = t.payload.message.name, n = t.payload.message.processingTime, i = t.payload.message.messageId;
1048
1044
  if (r !== "") {
1049
1045
  const c = {
1050
1046
  role: r,
1051
1047
  content: a,
1052
1048
  name: o,
1053
1049
  processingTime: n,
1054
- messageId: s
1050
+ messageId: i
1055
1051
  };
1056
1052
  if (r === J) {
1057
1053
  const d = e.messages.findIndex(
1058
- (g) => g.message.messageId === s
1054
+ (g) => g.message.messageId === i
1059
1055
  );
1060
1056
  if (d !== -1) {
1061
1057
  const g = e.messages.map((u, h) => h === d ? {
@@ -1094,7 +1090,7 @@ const Lr = (e, t) => {
1094
1090
  }
1095
1091
  }
1096
1092
  return (t == null ? void 0 : t.type) === qe ? {
1097
- id: ke(),
1093
+ id: ve(),
1098
1094
  model: e.model,
1099
1095
  engine: e.engine,
1100
1096
  usage: 0,
@@ -1257,7 +1253,7 @@ const Lr = (e, t) => {
1257
1253
  engine: $engine,
1258
1254
  tags: $tags)
1259
1255
  }`
1260
- }, st = {
1256
+ }, it = {
1261
1257
  GET_LOCATION: {
1262
1258
  schema: z.GET_LOCATION,
1263
1259
  method: "location"
@@ -1322,10 +1318,10 @@ const Lr = (e, t) => {
1322
1318
  });
1323
1319
  if (n.status !== 200)
1324
1320
  return { status: n.status, data: [] };
1325
- const { data: s, errors: c } = await n.json();
1321
+ const { data: i, errors: c } = await n.json();
1326
1322
  return {
1327
1323
  status: n.status,
1328
- data: s[t.method],
1324
+ data: i[t.method],
1329
1325
  errors: c
1330
1326
  };
1331
1327
  } catch (o) {
@@ -1370,7 +1366,7 @@ const Lr = (e, t) => {
1370
1366
  state: { searchString: "", sortedCell: "", sortDirection: "" },
1371
1367
  dispatch: () => {
1372
1368
  }
1373
- }), ve = I.createContext({
1369
+ }), ke = I.createContext({
1374
1370
  state: { tag: "" },
1375
1371
  dispatch: () => {
1376
1372
  }
@@ -1388,9 +1384,9 @@ try {
1388
1384
  });
1389
1385
  } catch {
1390
1386
  }
1391
- const dt = "av-text-area", Gr = "av-text-area-wrapper", se = "av-text-area-helper-text", Pr = "av-text-area__control--right", Fr = "av-text-area__control--left";
1387
+ const dt = "av-text-area", Gr = "av-text-area-wrapper", ie = "av-text-area-helper-text", Pr = "av-text-area__control--right", Fr = "av-text-area__control--left";
1392
1388
  function Wr() {
1393
- const e = v(!1);
1389
+ const e = k(!1);
1394
1390
  return x(() => (e.current = !0, () => {
1395
1391
  e.current = !1;
1396
1392
  }), []), H(() => e.current, []);
@@ -1414,15 +1410,15 @@ const qr = {
1414
1410
  right: 0
1415
1411
  };
1416
1412
  function De(e) {
1417
- const t = Wr(), r = v(0), a = v(null), [o, n] = S(qr), s = pe(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((c) => {
1413
+ const t = Wr(), r = k(0), a = k(null), [o, n] = S(qr), i = pe(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((c) => {
1418
1414
  const d = c[0];
1419
1415
  d && (cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
1420
1416
  a.current && t() && n(d.contentRect);
1421
1417
  }));
1422
1418
  }), [t]);
1423
- return x(() => (a.current && (s == null || s.observe(a.current, e)), () => {
1424
- s == null || s.disconnect(), r.current && cancelAnimationFrame(r.current);
1425
- }), [s, e]), [a, o];
1419
+ return x(() => (a.current && (i == null || i.observe(a.current, e)), () => {
1420
+ i == null || i.disconnect(), r.current && cancelAnimationFrame(r.current);
1421
+ }), [i, e]), [a, o];
1426
1422
  }
1427
1423
  function Jr({
1428
1424
  value: e,
@@ -1432,7 +1428,7 @@ function Jr({
1432
1428
  },
1433
1429
  initialControlledDelay: o = 0
1434
1430
  }) {
1435
- const [n, s] = S(!1), [c, d] = S(
1431
+ const [n, i] = S(!1), [c, d] = S(
1436
1432
  t !== void 0 ? t : r
1437
1433
  ), g = (u) => {
1438
1434
  d(u), a == null || a(u);
@@ -1440,7 +1436,7 @@ function Jr({
1440
1436
  return x(() => {
1441
1437
  (async () => e !== void 0 && !n && o > 0 && (await new Promise(
1442
1438
  (u) => setTimeout(u, o)
1443
- ), s(!0)))();
1439
+ ), i(!0)))();
1444
1440
  }, [e, o, n]), e !== void 0 ? !n && o > 0 ? ["", a, !0] : [e, a, !0] : [c, g, !1];
1445
1441
  }
1446
1442
  function Kr(e) {
@@ -1508,20 +1504,20 @@ const gt = "SET_ANNOUNCEMENT", ut = "CLEAR_ANNOUNCEMENT", Qr = {
1508
1504
  clearAnnouncementDelay: a,
1509
1505
  clearAnnouncementTimeoutRef: o,
1510
1506
  onAnnouncementClear: n,
1511
- dispatch: s
1507
+ dispatch: i
1512
1508
  }) => {
1513
1509
  clearTimeout(t.current), r ? t.current = setTimeout(Ge, r, {
1514
1510
  children: e,
1515
1511
  clearAnnouncementDelay: a,
1516
1512
  clearAnnouncementTimeoutRef: o,
1517
1513
  onAnnouncementClear: n,
1518
- dispatch: s
1514
+ dispatch: i
1519
1515
  }) : Ge({
1520
1516
  children: e,
1521
1517
  clearAnnouncementDelay: a,
1522
1518
  clearAnnouncementTimeoutRef: o,
1523
1519
  onAnnouncementClear: n,
1524
- dispatch: s
1520
+ dispatch: i
1525
1521
  });
1526
1522
  };
1527
1523
  function ea({
@@ -1531,11 +1527,11 @@ function ea({
1531
1527
  role: a = null,
1532
1528
  announcementDelay: o,
1533
1529
  clearAnnouncementDelay: n,
1534
- onAnnouncementClear: s,
1530
+ onAnnouncementClear: i,
1535
1531
  visible: c,
1536
1532
  ...d
1537
1533
  }) {
1538
- const g = v(null), u = v(null), [h, m] = Q(Xr, {
1534
+ const g = k(null), u = k(null), [h, m] = Q(Xr, {
1539
1535
  announcement: null
1540
1536
  });
1541
1537
  let p = r;
@@ -1546,16 +1542,16 @@ function ea({
1546
1542
  children: e,
1547
1543
  clearAnnouncementDelay: n,
1548
1544
  clearAnnouncementTimeoutRef: u,
1549
- onAnnouncementClear: s,
1545
+ onAnnouncementClear: i,
1550
1546
  dispatch: m
1551
1547
  });
1552
1548
  }, [
1553
1549
  e,
1554
1550
  o,
1555
1551
  n,
1556
- s
1552
+ i
1557
1553
  ]);
1558
- const b = i(t, {
1554
+ const b = s(t, {
1559
1555
  "sr-only": !c
1560
1556
  });
1561
1557
  return /* @__PURE__ */ l(
@@ -1582,14 +1578,14 @@ try {
1582
1578
  });
1583
1579
  } catch {
1584
1580
  }
1585
- const ta = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hidden px-4 py-7", ra = ({ mode: e }) => i({
1581
+ const ta = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hidden px-4 py-7", ra = ({ mode: e }) => s({
1586
1582
  "bg-surface-darker text-copy-lighter caret-copy-light": e === "dark",
1587
1583
  "bg-surface-lighter text-copy-dark caret-copy-dark": e === "light",
1588
1584
  "bg-surface-lighter text-copy-dark caret-copy-dark dark:bg-surface-darker dark:text-copy-lighter dark:caret-copy-light": e === "system",
1589
1585
  "bg-surface-darker text-copy-lighter caret-copy-light dark:bg-surface-lighter dark:text-copy-dark dark:caret-copy-dark": e === "alt-system"
1590
1586
  }), aa = ({
1591
1587
  focusMode: e
1592
- }) => i("focus:outline focus:outline-2 focus:outline-offset-2", {
1588
+ }) => s("focus:outline focus:outline-2 focus:outline-offset-2", {
1593
1589
  "focus:outline-focus-dark": e === "dark",
1594
1590
  "focus:outline-focus-light": e === "light",
1595
1591
  "focus:outline-focus-light dark:focus:outline-focus-dark": e === "alt-system",
@@ -1597,7 +1593,7 @@ const ta = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
1597
1593
  }), oa = ({
1598
1594
  noBorder: e,
1599
1595
  error: t
1600
- }) => i("border-2", {
1596
+ }) => s("border-2", {
1601
1597
  "border-border-dark": !e && !t,
1602
1598
  "focus:border-border-dark": !e && t,
1603
1599
  "border-border-error-dark": !e && t,
@@ -1613,14 +1609,14 @@ const ta = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
1613
1609
  if (t)
1614
1610
  return "";
1615
1611
  if (e)
1616
- return i(
1612
+ return s(
1617
1613
  "transform translate-y-0 scale-100 absolute px-2 cursor-not-allowed opacity-50 font-medium",
1618
1614
  {
1619
1615
  "translate-x-[12px]": n === !0 && !o || !n && !o
1620
1616
  }
1621
1617
  );
1622
1618
  if (!r)
1623
- return i(
1619
+ return s(
1624
1620
  "absolute px-2 cursor-text font-medium transform translate-y-0 scale-100",
1625
1621
  {
1626
1622
  "translate-x-[12px]": n === !0 && !o || !n && !o,
@@ -1631,7 +1627,7 @@ const ta = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
1631
1627
  }
1632
1628
  );
1633
1629
  if (r)
1634
- return i(
1630
+ return s(
1635
1631
  "absolute px-2 cursor-text font-medium transform translate-y-0 scale-100",
1636
1632
  {
1637
1633
  "translate-x-[12px]": n === !0 && !o || !n && !o,
@@ -1641,7 +1637,7 @@ const ta = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
1641
1637
  "text-copy-medium dark:text-copy-error-dark": a === "alt-system"
1642
1638
  }
1643
1639
  );
1644
- }, ia = ({
1640
+ }, sa = ({
1645
1641
  error: e,
1646
1642
  raw: t,
1647
1643
  mode: r,
@@ -1650,41 +1646,41 @@ const ta = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
1650
1646
  if (t)
1651
1647
  return "";
1652
1648
  if (a)
1653
- return i(
1654
- se,
1649
+ return s(
1650
+ ie,
1655
1651
  "absolute px-2 cursor-not-allowed opacity-50 font-medium"
1656
1652
  );
1657
1653
  if (!e)
1658
- return i(se, "absolute px-2 font-medium", {
1654
+ return s(ie, "absolute px-2 font-medium", {
1659
1655
  "text-copy-medium": r === "dark",
1660
1656
  "text-copy-dark": r === "light",
1661
1657
  "text-copy-dark dark:text-copy-medium": r === "system",
1662
1658
  "text-copy-medium dark:text-copy-dark": r === "alt-system"
1663
1659
  });
1664
1660
  if (e)
1665
- return i(se, "absolute px-2 font-medium", {
1661
+ return s(ie, "absolute px-2 font-medium", {
1666
1662
  "text-copy-error-light": r === "dark",
1667
1663
  "text-copy-error-dark": r === "light",
1668
1664
  "text-copy-error-dark dark:text-copy-error-light": r === "system",
1669
1665
  "dark:text-copy-error-dark text-copy-error-light": r === "alt-system"
1670
1666
  });
1671
- }, sa = ({
1667
+ }, ia = ({
1672
1668
  className: e,
1673
1669
  textAreaClassName: t,
1674
1670
  raw: r,
1675
1671
  focusMode: a,
1676
1672
  disabled: o,
1677
1673
  noBorder: n,
1678
- error: s,
1674
+ error: i,
1679
1675
  mode: c,
1680
1676
  leftElement: d,
1681
1677
  rightElement: g
1682
1678
  }) => {
1683
- const u = r ? e : i(
1679
+ const u = r ? e : s(
1684
1680
  "relative flex w-full flex-col justify-center",
1685
1681
  Gr,
1686
1682
  e
1687
- ), h = r ? i(t) : i(
1683
+ ), h = r ? s(t) : s(
1688
1684
  dt,
1689
1685
  t,
1690
1686
  ta(),
@@ -1692,7 +1688,7 @@ const ta = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
1692
1688
  aa({ focusMode: a }),
1693
1689
  oa({
1694
1690
  noBorder: n,
1695
- error: s
1691
+ error: i
1696
1692
  }),
1697
1693
  {
1698
1694
  "disabled:cursor-not-allowed disabled:opacity-50": o
@@ -1700,16 +1696,16 @@ const ta = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
1700
1696
  ), m = r ? void 0 : "sr-only", p = na({
1701
1697
  disabled: o,
1702
1698
  raw: r,
1703
- error: s,
1699
+ error: i,
1704
1700
  mode: c,
1705
1701
  rightElement: g,
1706
1702
  leftElement: d
1707
- }), b = ia({
1708
- error: s,
1703
+ }), b = sa({
1704
+ error: i,
1709
1705
  raw: r,
1710
1706
  mode: c,
1711
1707
  disabled: o
1712
- }), f = r ? void 0 : i(Pr, "absolute"), y = r ? void 0 : i(Fr, "absolute");
1708
+ }), f = r ? void 0 : s(Pr, "absolute"), y = r ? void 0 : s(Fr, "absolute");
1713
1709
  return {
1714
1710
  wrapper: u,
1715
1711
  textArea: h,
@@ -1727,8 +1723,8 @@ const ta = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
1727
1723
  }) => {
1728
1724
  let o, n;
1729
1725
  if (e > 0 && e !== t) {
1730
- const s = e - t, c = Math.abs(s / 24);
1731
- o = r + -1 * Math.sign(s) * (12 * c), n = a + Math.sign(s) * (12 * c);
1726
+ const i = e - t, c = Math.abs(i / 24);
1727
+ o = r + -1 * Math.sign(i) * (12 * c), n = a + Math.sign(i) * (12 * c);
1732
1728
  }
1733
1729
  return {
1734
1730
  labelOffset: o,
@@ -1743,7 +1739,7 @@ const ta = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
1743
1739
  error: a = !1,
1744
1740
  raw: o = !1,
1745
1741
  className: n,
1746
- textAreaClassName: s,
1742
+ textAreaClassName: i,
1747
1743
  mode: c = "system",
1748
1744
  focusMode: d = "system",
1749
1745
  value: g,
@@ -1761,11 +1757,11 @@ const ta = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
1761
1757
  ...E
1762
1758
  }, M) => {
1763
1759
  var Ne;
1764
- const B = v(null), xt = jr([M, B]), [_t, K] = De(), [wt, U] = De(), re = v(80), Ee = v(-25), L = v(null), Se = v(30), ae = v(null), W = Kr({ id: e, prefix: `${dt}-` }), [Ce, Tt] = S(0), [Ie, Nt] = S(0), [Et, Re] = S(
1760
+ const $ = k(null), xt = jr([M, $]), [_t, K] = De(), [wt, U] = De(), re = k(80), Ee = k(-25), L = k(null), Se = k(30), ae = k(null), W = Kr({ id: e, prefix: `${dt}-` }), [Ce, Tt] = S(0), [Ie, Nt] = S(0), [Et, Re] = S(
1765
1761
  !!(!f && b)
1766
- ), St = `${t} error, ${b}`, O = sa({
1762
+ ), St = `${t} error, ${b}`, O = ia({
1767
1763
  className: n,
1768
- textAreaClassName: s,
1764
+ textAreaClassName: i,
1769
1765
  error: a,
1770
1766
  raw: o,
1771
1767
  focusMode: d,
@@ -1774,7 +1770,7 @@ const ta = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
1774
1770
  mode: c,
1775
1771
  rightElement: !!y,
1776
1772
  leftElement: !!_
1777
- }), [$, Ct] = Jr({
1773
+ }), [B, Ct] = Jr({
1778
1774
  value: g,
1779
1775
  initialControlledDelay: 20,
1780
1776
  defaultValue: u,
@@ -1790,27 +1786,27 @@ const ta = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
1790
1786
  }, Rt = (C) => {
1791
1787
  f && b && Re(!0), N && N(C);
1792
1788
  }, At = (C) => {
1793
- f && b && !$ && Re(!1), R && R(C);
1789
+ f && b && !B && Re(!1), R && R(C);
1794
1790
  };
1795
1791
  return D(() => {
1796
1792
  K && K.width && Tt(K.width + 18 + 10);
1797
1793
  }, [K]), D(() => {
1798
1794
  U && U.width && Nt(U.width + 18 + 10);
1799
1795
  }, [U]), D(() => {
1800
- o || B && B.current && $ !== void 0 && (B.current.style.height = "inherit", B.current.style.height = B.current.scrollHeight + "px");
1801
- }, [$, o]), D(() => {
1796
+ o || $ && $.current && B !== void 0 && ($.current.style.height = "inherit", $.current.style.height = $.current.scrollHeight + "px");
1797
+ }, [B, o]), D(() => {
1802
1798
  o || setTimeout(() => {
1803
1799
  var C;
1804
1800
  (C = L == null ? void 0 : L.current) == null || C.style.setProperty(
1805
1801
  "--av-text-area-wrapper-transition",
1806
- $ ? "none" : "all 0.2s ease-out"
1802
+ B ? "none" : "all 0.2s ease-out"
1807
1803
  );
1808
1804
  }, 0);
1809
- }, [$, o]), D(() => {
1805
+ }, [B, o]), D(() => {
1810
1806
  var C, Ae;
1811
- if (!o && B && B.current && $ !== void 0) {
1812
- const { labelOffset: oe, helperTextOffset: ne, scrollHeight: Bt } = la({
1813
- scrollHeight: B.current.scrollHeight,
1807
+ if (!o && $ && $.current && B !== void 0) {
1808
+ const { labelOffset: oe, helperTextOffset: ne, scrollHeight: $t } = la({
1809
+ scrollHeight: $.current.scrollHeight,
1814
1810
  currentHeight: re.current,
1815
1811
  currentLabelOffset: Ee.current,
1816
1812
  currentHelperTextOffset: Se.current
@@ -1821,12 +1817,12 @@ const ta = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
1821
1817
  )), ne && (Se.current = ne, (Ae = ae == null ? void 0 : ae.current) == null || Ae.style.setProperty(
1822
1818
  "--av-text-area-helper-text",
1823
1819
  `${ne}px`
1824
- )), re.current = Bt || re.current;
1820
+ )), re.current = $t || re.current;
1825
1821
  }
1826
- }, [$, o]), U.width > 0 && ((Ne = L == null ? void 0 : L.current) == null || Ne.style.setProperty(
1822
+ }, [B, o]), U.width > 0 && ((Ne = L == null ? void 0 : L.current) == null || Ne.style.setProperty(
1827
1823
  "--tw-translate-x",
1828
1824
  `${12 + U.width + 5}px`
1829
- )), /* @__PURE__ */ k("div", { className: O.wrapper, children: [
1825
+ )), /* @__PURE__ */ v("div", { className: O.wrapper, children: [
1830
1826
  /* @__PURE__ */ l(
1831
1827
  "label",
1832
1828
  {
@@ -1864,7 +1860,7 @@ const ta = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
1864
1860
  paddingLeft: Ie
1865
1861
  }
1866
1862
  },
1867
- value: $,
1863
+ value: B,
1868
1864
  onChange: It,
1869
1865
  onFocus: Rt,
1870
1866
  onBlur: At,
@@ -1908,14 +1904,14 @@ const ca = ({
1908
1904
  focusMode: t = "light",
1909
1905
  radius: r = "small"
1910
1906
  }) => {
1911
- const { state: a, dispatch: o } = A(F), n = v(null), s = v(!1), c = (d) => {
1907
+ const { state: a, dispatch: o } = A(F), n = k(null), i = k(!1), c = (d) => {
1912
1908
  d.preventDefault(), o({
1913
1909
  type: qe
1914
1910
  });
1915
1911
  };
1916
1912
  return x(() => {
1917
1913
  var d;
1918
- (a == null ? void 0 : a.streaming) === !0 && !s.current && n.current && (s.current = !0, n.current.focus()), (a == null ? void 0 : a.streaming) === !1 && (s.current = !1, (d = n.current) == null || d.blur());
1914
+ (a == null ? void 0 : a.streaming) === !0 && !i.current && n.current && (i.current = !0, n.current.focus()), (a == null ? void 0 : a.streaming) === !1 && (i.current = !1, (d = n.current) == null || d.blur());
1919
1915
  }, [a]), /* @__PURE__ */ l(
1920
1916
  et,
1921
1917
  {
@@ -1946,7 +1942,7 @@ const ca = ({
1946
1942
  }
1947
1943
  });
1948
1944
  }, da = () => {
1949
- const { state: e, dispatch: t } = A(F), { state: r, dispatch: a } = A(ve), [o, n] = S(""), { getAccessToken: s, user: c } = Z(), d = v(null), g = v(
1945
+ const { state: e, dispatch: t } = A(F), { state: r, dispatch: a } = A(ke), [o, n] = S(""), { getAccessToken: i, user: c } = Z(), d = k(null), g = k(
1950
1946
  null
1951
1947
  );
1952
1948
  x(() => {
@@ -1960,7 +1956,7 @@ const ca = ({
1960
1956
  if (!(e.messages.length === 0 || h.message.role === J || h.message.role === Lt || h.message.role === he || h.message.role === Ot))
1961
1957
  try {
1962
1958
  const p = await Ur({
1963
- accessToken: await s(),
1959
+ accessToken: await i(),
1964
1960
  name: "generate",
1965
1961
  data: {
1966
1962
  messages: e.messages,
@@ -1971,7 +1967,7 @@ const ca = ({
1971
1967
  }
1972
1968
  });
1973
1969
  if (p && p.ok) {
1974
- const b = ke();
1970
+ const b = ve();
1975
1971
  g.current = p.body.getReader();
1976
1972
  const f = new TextDecoder();
1977
1973
  for (; ; ) {
@@ -1981,10 +1977,10 @@ const ca = ({
1981
1977
  X(t, !1);
1982
1978
  break;
1983
1979
  }
1984
- const T = f.decode(_, { stream: !0 }), N = T.indexOf(Be);
1980
+ const T = f.decode(_, { stream: !0 }), N = T.indexOf($e);
1985
1981
  if (N !== -1) {
1986
1982
  const R = T.substring(0, N), E = JSON.parse(
1987
- T.substring(N + Be.length)
1983
+ T.substring(N + $e.length)
1988
1984
  );
1989
1985
  t({
1990
1986
  type: Je,
@@ -2038,8 +2034,8 @@ const ca = ({
2038
2034
  return x(() => {
2039
2035
  if (r.tag !== "") {
2040
2036
  const h = r.tag.endsWith(":") && !r.tag.endsWith(": ") ? r.tag + " " : r.tag;
2041
- h.indexOf($e) !== -1 ? navigator.clipboard.readText().then((p) => {
2042
- n(h.replace($e, p));
2037
+ h.indexOf(Be) !== -1 ? navigator.clipboard.readText().then((p) => {
2038
+ n(h.replace(Be, p));
2043
2039
  }) : n(h), d.current && d.current.focus(), a({
2044
2040
  type: Ye
2045
2041
  });
@@ -2075,9 +2071,9 @@ const ca = ({
2075
2071
  }
2076
2072
  ) }) });
2077
2073
  }, ga = () => {
2078
- const { dispatch: e, state: t } = A(ve), { getAccessToken: r, user: a } = Z(), [o, n] = S({
2074
+ const { dispatch: e, state: t } = A(ke), { getAccessToken: r, user: a } = Z(), [o, n] = S({
2079
2075
  loaded: !1
2080
- }), s = "mt-2 flex justify-center rounded-md", c = (d, g) => {
2076
+ }), i = "mt-2 flex justify-center rounded-md", c = (d, g) => {
2081
2077
  d.preventDefault(), e({
2082
2078
  type: Ze,
2083
2079
  payload: {
@@ -2096,7 +2092,7 @@ const ca = ({
2096
2092
  try {
2097
2093
  const d = await ct({
2098
2094
  accessToken: await r(),
2099
- type: st.GET_USER_PREFERENCES,
2095
+ type: it.GET_USER_PREFERENCES,
2100
2096
  params: {
2101
2097
  user: a.username
2102
2098
  }
@@ -2112,7 +2108,7 @@ const ca = ({
2112
2108
  } catch {
2113
2109
  }
2114
2110
  })();
2115
- }, [a]), /* @__PURE__ */ l(Y, { children: /* @__PURE__ */ l(Dt, { alignHorizontal: "center", columnGap: 2, children: o && o.loaded && t.tags && t.tags.map((d) => d.enabled && d.label && d.content && /* @__PURE__ */ l(Gt, { children: /* @__PURE__ */ l("div", { className: s, children: /* @__PURE__ */ l(
2111
+ }, [a]), /* @__PURE__ */ l(Y, { children: /* @__PURE__ */ l(Dt, { alignHorizontal: "center", columnGap: 2, children: o && o.loaded && t.tags && t.tags.map((d) => d.enabled && d.label && d.content && /* @__PURE__ */ l(Gt, { children: /* @__PURE__ */ l("div", { className: i, children: /* @__PURE__ */ l(
2116
2112
  tt,
2117
2113
  {
2118
2114
  noBorder: !0,
@@ -2124,17 +2120,17 @@ const ca = ({
2124
2120
  }
2125
2121
  ) }) }, `tag-button-${d.slot}`)) }) });
2126
2122
  }, ua = () => {
2127
- const { state: e } = A(F), t = v(!1), r = window.innerWidth < 403, [a, o] = S(
2123
+ const { state: e } = A(F), t = k(!1), r = window.innerWidth < 403, [a, o] = S(
2128
2124
  r ? "bottom-10" : "top-[245px]"
2129
2125
  );
2130
2126
  return x(() => {
2131
2127
  r || e && (!t.current && e.streaming && o("bottom-10"), t.current = !!e.streaming);
2132
2128
  }, [e, r]), x(() => {
2133
2129
  r || (e && e.messages.length === 0 && o("top-[245px]"), e && !e.streaming && e.messages.length > 0 && o("bottom-10"));
2134
- }, [e, r]), /* @__PURE__ */ k(
2130
+ }, [e, r]), /* @__PURE__ */ v(
2135
2131
  "footer",
2136
2132
  {
2137
- className: i(
2133
+ className: s(
2138
2134
  "md:mx-auto md:max-w-4xl w-11/12 fixed left-1/2 transform -translate-x-1/2 z-1000",
2139
2135
  a
2140
2136
  ),
@@ -2146,13 +2142,13 @@ const ca = ({
2146
2142
  );
2147
2143
  };
2148
2144
  /*!
2149
- @versini/ui-bubble v3.0.0
2145
+ @versini/ui-bubble v3.0.1
2150
2146
  © 2025 gizmette.com
2151
2147
  */
2152
2148
  try {
2153
2149
  window.__VERSINI_UI_BUBBLE__ || (window.__VERSINI_UI_BUBBLE__ = {
2154
- version: "3.0.0",
2155
- buildTime: "01/03/2025 10:45 AM EST",
2150
+ version: "3.0.1",
2151
+ buildTime: "01/04/2025 10:03 AM EST",
2156
2152
  homepage: "https://github.com/aversini/ui-components",
2157
2153
  license: "MIT"
2158
2154
  });
@@ -2165,17 +2161,17 @@ const ma = "av-bubble", Fe = "av-button", te = "icon", ht = "button", ge = "link
2165
2161
  labelLeft: a,
2166
2162
  align: o
2167
2163
  }) => {
2168
- const n = "max-h-8 py-0 px-2", s = "max-h-9 py-1 px-3", c = "max-h-12 py-2 px-4";
2164
+ const n = "max-h-8 py-0 px-2", i = "max-h-9 py-1 px-3", c = "max-h-12 py-2 px-4";
2169
2165
  switch (e) {
2170
2166
  case ht:
2171
2167
  case ge:
2172
- return i({
2168
+ return s({
2173
2169
  [n]: t === "small",
2174
- [s]: t === "medium",
2170
+ [i]: t === "medium",
2175
2171
  [c]: t === "large"
2176
2172
  });
2177
2173
  case te:
2178
- return i("inline-flex items-center", {
2174
+ return s("inline-flex items-center", {
2179
2175
  "justify-center": o === "center",
2180
2176
  "justify-start": o === "left",
2181
2177
  "justify-end": o === "right",
@@ -2193,21 +2189,21 @@ const ma = "av-bubble", Fe = "av-button", te = "icon", ht = "button", ge = "link
2193
2189
  labelRight: r,
2194
2190
  labelLeft: a
2195
2191
  }) => {
2196
- const o = "text-sm font-medium", n = "text-base font-medium", s = "text-lg font-medium";
2192
+ const o = "text-sm font-medium", n = "text-base font-medium", i = "text-lg font-medium";
2197
2193
  switch (e) {
2198
2194
  case ht:
2199
2195
  case ge:
2200
- return i({
2196
+ return s({
2201
2197
  "text-center": e === ge,
2202
2198
  [o]: t === "small",
2203
2199
  [n]: t === "medium",
2204
- [s]: t === "large"
2200
+ [i]: t === "large"
2205
2201
  });
2206
2202
  case te:
2207
- return i({
2203
+ return s({
2208
2204
  [o]: t === "small" && (r || a),
2209
2205
  [n]: t === "medium" && (r || a),
2210
- [s]: t === "large" && (r || a)
2206
+ [i]: t === "large" && (r || a)
2211
2207
  });
2212
2208
  }
2213
2209
  }, ba = ({
@@ -2219,36 +2215,32 @@ const ma = "av-bubble", Fe = "av-button", te = "icon", ht = "button", ge = "link
2219
2215
  if (t)
2220
2216
  return "not-prose";
2221
2217
  if (a === "primary")
2222
- return i("not-prose", {
2218
+ return s("not-prose", {
2223
2219
  truncate: !r,
2224
- "text-copy-light": e === "dark",
2225
- "text-copy-lighter": e === "light",
2226
- "text-copy-light dark:text-copy-lighter": e === "system",
2227
- "text-copy-lighter dark:text-copy-light": e === "alt-system"
2220
+ "text-copy-light": e === "dark" || e === "system",
2221
+ "text-copy-lighter": e === "light" || e === "alt-system",
2222
+ "dark:text-copy-lighter": e === "system",
2223
+ "dark:text-copy-light": e === "alt-system"
2228
2224
  });
2229
2225
  if (a === "secondary")
2230
- return i("not-prose", {
2226
+ return s("not-prose", {
2231
2227
  truncate: !r,
2232
- "text-copy-light": e === "light",
2233
- "text-copy-lighter": e === "dark",
2234
- "text-copy-light dark:text-copy-lighter": e === "alt-system",
2235
- "text-copy-lighter dark:text-copy-light": e === "system"
2228
+ "text-copy-light": e === "light" || e === "system",
2229
+ "text-copy-lighter": e === "dark" || e === "alt-system",
2230
+ "dark:text-copy-lighter": e === "alt-system",
2231
+ "dark:text-copy-light": e === "system"
2236
2232
  });
2237
2233
  if (a === "danger")
2238
- return i("not-prose", {
2234
+ return s("not-prose", {
2239
2235
  truncate: !r,
2240
- "text-copy-light": e === "dark",
2241
- "text-copy-lighter": e === "light",
2242
- "text-copy-light dark:text-copy-lighter": e === "system",
2243
- "text-copy-lighter dark:text-copy-light": e === "alt-system"
2236
+ "text-copy-light": e === "dark" || e === "system",
2237
+ "text-copy-lighter": e === "light" || e === "alt-system",
2238
+ "dark:text-copy-lighter": e === "system",
2239
+ "dark:text-copy-light": e === "alt-system"
2244
2240
  });
2245
2241
  if (a === "selected")
2246
- return i("not-prose", {
2247
- truncate: !r,
2248
- "text-copy-light": e === "dark",
2249
- "text-copy-lighter": e === "light",
2250
- "text-copy-light dark:text-copy-lighter": e === "system",
2251
- "text-copy-lighter dark:text-copy-light": e === "alt-system"
2242
+ return s("not-prose text-copy-lighter", {
2243
+ truncate: !r
2252
2244
  });
2253
2245
  }, ya = ({
2254
2246
  mode: e,
@@ -2257,21 +2249,21 @@ const ma = "av-bubble", Fe = "av-button", te = "icon", ht = "button", ge = "link
2257
2249
  }) => {
2258
2250
  if (!t) {
2259
2251
  if (r === "primary")
2260
- return i({
2252
+ return s({
2261
2253
  "bg-action-dark": e === "dark",
2262
2254
  "bg-action-light": e === "light",
2263
2255
  "bg-action-dark dark:bg-action-light": e === "system",
2264
2256
  "bg-action-light dark:bg-action-dark": e === "alt-system"
2265
2257
  });
2266
2258
  if (r === "secondary")
2267
- return i({
2259
+ return s({
2268
2260
  "bg-action-dark": e === "light",
2269
2261
  "bg-action-light": e === "dark",
2270
2262
  "bg-action-dark dark:bg-action-light": e === "alt-system",
2271
2263
  "bg-action-light dark:bg-action-dark": e === "system"
2272
2264
  });
2273
2265
  if (r === "danger")
2274
- return i({
2266
+ return s({
2275
2267
  "bg-action-danger-dark": e === "dark",
2276
2268
  "bg-action-danger-light": e === "light",
2277
2269
  "bg-action-danger-dark dark:bg-action-danger-light": e === "system",
@@ -2282,11 +2274,11 @@ const ma = "av-bubble", Fe = "av-button", te = "icon", ht = "button", ge = "link
2282
2274
  }
2283
2275
  }, fa = ({
2284
2276
  radius: e
2285
- }) => i({
2277
+ }) => s({
2286
2278
  "rounded-full": e === "large",
2287
2279
  "rounded-md": e === "medium",
2288
2280
  "rounded-sm": e === "small"
2289
- }), ka = ({
2281
+ }), va = ({
2290
2282
  mode: e,
2291
2283
  disabled: t,
2292
2284
  variant: r
@@ -2294,21 +2286,21 @@ const ma = "av-bubble", Fe = "av-button", te = "icon", ht = "button", ge = "link
2294
2286
  if (t)
2295
2287
  return "";
2296
2288
  if (r === "primary")
2297
- return i("hover:text-copy-light-hover", {
2289
+ return s("hover:text-copy-light-hover", {
2298
2290
  "hover:bg-action-dark-hover": e === "dark",
2299
2291
  "hover:bg-action-light-hover": e === "light",
2300
2292
  "hover:bg-action-dark-hover dark:hover:bg-action-light-hover": e === "system",
2301
2293
  "hover:bg-action-light-hover dark:hover:bg-action-dark-hover": e === "alt-system"
2302
2294
  });
2303
2295
  if (r === "secondary")
2304
- return i("hover:text-copy-light-hover", {
2296
+ return s("hover:text-copy-light-hover", {
2305
2297
  "hover:bg-action-dark-hover": e === "light",
2306
2298
  "hover:bg-action-light-hover": e === "dark",
2307
2299
  "hover:bg-action-dark-hover dark:hover:bg-action-light-hover": e === "alt-system",
2308
2300
  "hover:bg-action-light-hover dark:hover:bg-action-dark-hover": e === "system"
2309
2301
  });
2310
2302
  if (r === "danger")
2311
- return i("hover:text-copy-light-hover", {
2303
+ return s("hover:text-copy-light-hover", {
2312
2304
  "hover:bg-action-danger-dark-hover": e === "dark",
2313
2305
  "hover:bg-action-danger-light-hover": e === "light",
2314
2306
  "hover:bg-action-danger-dark-hover dark:hover:bg-action-danger-light-hover": e === "system",
@@ -2316,7 +2308,7 @@ const ma = "av-bubble", Fe = "av-button", te = "icon", ht = "button", ge = "link
2316
2308
  });
2317
2309
  if (r === "selected")
2318
2310
  return "hover:text-copy-light-hover hover:bg-action-selected-dark-hover";
2319
- }, va = ({
2311
+ }, ka = ({
2320
2312
  mode: e,
2321
2313
  disabled: t,
2322
2314
  variant: r
@@ -2324,21 +2316,21 @@ const ma = "av-bubble", Fe = "av-button", te = "icon", ht = "button", ge = "link
2324
2316
  if (t)
2325
2317
  return "";
2326
2318
  if (r === "primary")
2327
- return i("active:text-copy-light-active", {
2319
+ return s("active:text-copy-light-active", {
2328
2320
  "active:bg-action-dark-active": e === "dark",
2329
2321
  "active:bg-action-light-active": e === "light",
2330
2322
  "active:bg-action-dark-active dark:active:bg-action-light-active": e === "system",
2331
2323
  "active:bg-action-light-active dark:active:bg-action-dark-active": e === "alt-system"
2332
2324
  });
2333
2325
  if (r === "secondary")
2334
- return i("active:text-copy-light-active", {
2326
+ return s("active:text-copy-light-active", {
2335
2327
  "active:bg-action-dark-active": e === "light",
2336
2328
  "active:bg-action-light-active": e === "dark",
2337
2329
  "active:bg-action-dark-active dark:active:bg-action-light-active": e === "alt-system",
2338
2330
  "active:bg-action-light-active dark:active:bg-action-dark-active": e === "system"
2339
2331
  });
2340
2332
  if (r === "danger")
2341
- return i("active:text-copy-lighter-active", {
2333
+ return s("active:text-copy-lighter-active", {
2342
2334
  "active:bg-action-danger-dark-active": e === "dark",
2343
2335
  "active:bg-action-danger-light-active": e === "light",
2344
2336
  "active:bg-action-danger-dark-active dark:active:bg-action-danger-light-active": e === "system",
@@ -2354,21 +2346,21 @@ const ma = "av-bubble", Fe = "av-button", te = "icon", ht = "button", ge = "link
2354
2346
  if (t)
2355
2347
  return "border border-transparent";
2356
2348
  if (r === "primary")
2357
- return i("border", {
2349
+ return s("border", {
2358
2350
  "border-border-dark": e === "dark",
2359
2351
  "border-border-accent": e === "light",
2360
2352
  "border-border-dark dark:border-border-accent": e === "system",
2361
2353
  "border-border-accent dark:border-border-dark": e === "alt-system"
2362
2354
  });
2363
2355
  if (r === "secondary")
2364
- return i("border", {
2356
+ return s("border", {
2365
2357
  "border-border-dark": e === "light",
2366
2358
  "border-border-accent": e === "dark",
2367
2359
  "border-border-dark dark:border-border-accent": e === "alt-system",
2368
2360
  "border-border-accent dark:border-border-dark": e === "system"
2369
2361
  });
2370
2362
  if (r === "danger")
2371
- return i("border", {
2363
+ return s("border", {
2372
2364
  "border-border-danger-dark": e === "dark",
2373
2365
  "border-border-danger-medium": e === "light",
2374
2366
  "border-border-danger-dark dark:border-border-danger-medium": e === "system",
@@ -2378,7 +2370,7 @@ const ma = "av-bubble", Fe = "av-button", te = "icon", ht = "button", ge = "link
2378
2370
  return "border border-border-selected-dark";
2379
2371
  }, _a = ({
2380
2372
  focusMode: e
2381
- }) => i("focus:outline", "focus:outline-2", "focus:outline-offset-2", {
2373
+ }) => s("focus:outline", "focus:outline-2", "focus:outline-offset-2", {
2382
2374
  "focus:outline-focus-dark": e === "dark",
2383
2375
  "focus:outline-focus-light": e === "light",
2384
2376
  "focus:outline-focus-light dark:focus:outline-focus-dark": e === "alt-system",
@@ -2390,7 +2382,7 @@ const ma = "av-bubble", Fe = "av-button", te = "icon", ht = "button", ge = "link
2390
2382
  mode: a,
2391
2383
  focusMode: o,
2392
2384
  disabled: n,
2393
- fullWidth: s,
2385
+ fullWidth: i,
2394
2386
  size: c,
2395
2387
  noBorder: d,
2396
2388
  labelRight: g,
@@ -2400,7 +2392,7 @@ const ma = "av-bubble", Fe = "av-button", te = "icon", ht = "button", ge = "link
2400
2392
  noTruncate: p,
2401
2393
  align: b,
2402
2394
  radius: f
2403
- }) => (m || (m = "primary"), r ? i(Fe, t) : i(
2395
+ }) => (m || (m = "primary"), r ? s(Fe, t) : s(
2404
2396
  Fe,
2405
2397
  ba({
2406
2398
  mode: a,
@@ -2420,10 +2412,10 @@ const ma = "av-bubble", Fe = "av-button", te = "icon", ht = "button", ge = "link
2420
2412
  pa({ type: e, size: c, labelRight: g, labelLeft: u }),
2421
2413
  xa({ mode: a, variant: m, noBorder: d }),
2422
2414
  _a({ focusMode: o }),
2423
- ka({ mode: a, variant: m, disabled: n }),
2424
2415
  va({ mode: a, variant: m, disabled: n }),
2416
+ ka({ mode: a, variant: m, disabled: n }),
2425
2417
  {
2426
- "w-full": s,
2418
+ "w-full": i,
2427
2419
  "disabled:cursor-not-allowed disabled:opacity-50": n
2428
2420
  },
2429
2421
  t
@@ -2452,7 +2444,7 @@ const bt = I.forwardRef(
2452
2444
  focusMode: a = "system",
2453
2445
  fullWidth: o = !1,
2454
2446
  className: n,
2455
- type: s = "button",
2447
+ type: i = "button",
2456
2448
  raw: c = !1,
2457
2449
  noBorder: d = !1,
2458
2450
  "aria-label": g,
@@ -2482,19 +2474,19 @@ const bt = I.forwardRef(
2482
2474
  align: f,
2483
2475
  radius: y,
2484
2476
  variant: _
2485
- }), E = i({
2477
+ }), E = s({
2486
2478
  "text-copy-accent-dark": r === "light" && !c,
2487
2479
  "text-copy-light": r === "dark" && !c,
2488
2480
  "text-copy-accent-dark dark:text-copy-light": r === "alt-system" && !c,
2489
2481
  "text-copy-light dark:text-copy-accent-dark": r === "system" && !c
2490
2482
  });
2491
- return /* @__PURE__ */ k(
2483
+ return /* @__PURE__ */ v(
2492
2484
  xe,
2493
2485
  {
2494
2486
  ref: N,
2495
2487
  className: R,
2496
2488
  disabled: t,
2497
- type: s,
2489
+ type: i,
2498
2490
  "aria-label": g || u,
2499
2491
  ...T,
2500
2492
  children: [
@@ -2508,13 +2500,13 @@ const bt = I.forwardRef(
2508
2500
  );
2509
2501
  bt.displayName = "ButtonIcon";
2510
2502
  /*!
2511
- @versini/ui-button v4.0.0
2503
+ @versini/ui-button v4.0.1
2512
2504
  © 2025 gizmette.com
2513
2505
  */
2514
2506
  try {
2515
2507
  window.__VERSINI_UI_BUTTON__ || (window.__VERSINI_UI_BUTTON__ = {
2516
- version: "4.0.0",
2517
- buildTime: "01/03/2025 10:45 AM EST",
2508
+ version: "4.0.1",
2509
+ buildTime: "01/04/2025 10:02 AM EST",
2518
2510
  homepage: "https://github.com/aversini/ui-components",
2519
2511
  license: "MIT"
2520
2512
  });
@@ -2528,7 +2520,7 @@ const Ta = I.forwardRef(
2528
2520
  focusMode: a = "system",
2529
2521
  fullWidth: o = !1,
2530
2522
  className: n,
2531
- type: s = "button",
2523
+ type: i = "button",
2532
2524
  raw: c = !1,
2533
2525
  noBorder: d = !1,
2534
2526
  "aria-label": g,
@@ -2557,12 +2549,12 @@ const Ta = I.forwardRef(
2557
2549
  noBackground: b,
2558
2550
  align: f,
2559
2551
  radius: _
2560
- }), E = i({
2552
+ }), E = s({
2561
2553
  "text-copy-accent-dark": r === "light" && !c,
2562
2554
  "text-copy-light": r === "dark" && !c,
2563
2555
  "text-copy-accent-dark dark:text-copy-light": r === "alt-system" && !c,
2564
2556
  "text-copy-light dark:text-copy-accent-dark": r === "system" && !c
2565
- }), M = y ? i(
2557
+ }), M = y ? s(
2566
2558
  "relative",
2567
2559
  "focus-within:static",
2568
2560
  "focus-within:after:border-transparent",
@@ -2579,13 +2571,13 @@ const Ta = I.forwardRef(
2579
2571
  "after:border-table-light dark:after:border-table-dark": r === "alt-system"
2580
2572
  }
2581
2573
  ) : "";
2582
- return /* @__PURE__ */ l("div", { className: M, children: /* @__PURE__ */ k(
2574
+ return /* @__PURE__ */ l("div", { className: M, children: /* @__PURE__ */ v(
2583
2575
  xe,
2584
2576
  {
2585
2577
  ref: N,
2586
2578
  className: R,
2587
2579
  disabled: t,
2588
- type: s,
2580
+ type: i,
2589
2581
  "aria-label": g || u,
2590
2582
  ...T,
2591
2583
  children: [
@@ -2605,12 +2597,12 @@ const yt = ({
2605
2597
  className: a,
2606
2598
  defaultViewBox: o,
2607
2599
  size: n,
2608
- title: s,
2600
+ title: i,
2609
2601
  semantic: c = !1,
2610
2602
  ...d
2611
2603
  }) => {
2612
- const g = i(n, a);
2613
- return /* @__PURE__ */ k(Y, { children: [
2604
+ const g = s(n, a);
2605
+ return /* @__PURE__ */ v(Y, { children: [
2614
2606
  /* @__PURE__ */ l(
2615
2607
  "svg",
2616
2608
  {
@@ -2625,7 +2617,7 @@ const yt = ({
2625
2617
  children: e
2626
2618
  }
2627
2619
  ),
2628
- s && c && /* @__PURE__ */ l("span", { className: "sr-only", children: s })
2620
+ i && c && /* @__PURE__ */ l("span", { className: "sr-only", children: i })
2629
2621
  ] });
2630
2622
  };
2631
2623
  /*!
@@ -2635,7 +2627,7 @@ const yt = ({
2635
2627
  try {
2636
2628
  window.__VERSINI_UI_SVGICON__ || (window.__VERSINI_UI_SVGICON__ = {
2637
2629
  version: "4.0.0",
2638
- buildTime: "01/03/2025 10:45 AM EST",
2630
+ buildTime: "01/04/2025 10:02 AM EST",
2639
2631
  homepage: "https://github.com/aversini/ui-components",
2640
2632
  license: "MIT"
2641
2633
  });
@@ -2647,7 +2639,7 @@ const Na = ({
2647
2639
  title: r,
2648
2640
  monotone: a,
2649
2641
  ...o
2650
- }) => /* @__PURE__ */ k(
2642
+ }) => /* @__PURE__ */ v(
2651
2643
  yt,
2652
2644
  {
2653
2645
  defaultViewBox: "0 0 448 512",
@@ -2692,41 +2684,41 @@ const Na = ({
2692
2684
  try {
2693
2685
  window.__VERSINI_UI_ICONS__ || (window.__VERSINI_UI_ICONS__ = {
2694
2686
  version: "4.0.0",
2695
- buildTime: "01/03/2025 10:45 AM EST",
2687
+ buildTime: "01/04/2025 10:02 AM EST",
2696
2688
  homepage: "https://github.com/aversini/ui-components",
2697
2689
  license: "MIT"
2698
2690
  });
2699
2691
  } catch {
2700
2692
  }
2701
- const Sa = () => "p-4 max-w-xs sm:max-w-md md:max-w-2xl", Ca = ({ kind: e }) => i({
2693
+ const Sa = () => "p-4 max-w-xs sm:max-w-md md:max-w-2xl", Ca = ({ kind: e }) => s({
2702
2694
  "bg-surface-lighter dark:bg-surface-dark": e === "left",
2703
2695
  "bg-surface-accent": e === "right"
2704
- }), Ia = ({ kind: e }) => i(
2696
+ }), Ia = ({ kind: e }) => s(
2705
2697
  "prose prose-dark dark:prose-lighter prose-p:my-3 prose-blockquote:my-3 prose-ol:my-3 prose-ul:my-3 prose-ul:prose-li:marker:text-black",
2706
2698
  {
2707
2699
  "text-copy-lighter": e === "right"
2708
2700
  }
2709
- ), Ra = ({ kind: e }) => i("rounded-b-xl", {
2701
+ ), Ra = ({ kind: e }) => s("rounded-b-xl", {
2710
2702
  "rounded-tr-xl": e === "left",
2711
2703
  "rounded-tl-xl": e === "right"
2712
2704
  }), Aa = ({
2713
2705
  kind: e,
2714
2706
  className: t
2715
2707
  }) => {
2716
- const r = i(
2708
+ const r = s(
2717
2709
  ma,
2718
2710
  "flex items-start",
2719
2711
  {
2720
2712
  "flex-row-reverse": e === "right"
2721
2713
  },
2722
2714
  t
2723
- ), a = i(
2715
+ ), a = s(
2724
2716
  "flex flex-col empty:hidden",
2725
2717
  Sa(),
2726
2718
  Ia({ kind: e }),
2727
2719
  Ca({ kind: e }),
2728
2720
  Ra({ kind: e })
2729
- ), o = "pr-2 pt-1 text-end text-xs text-copy-light", n = i("flex flex-col-reverse gap-2 sm:flex-row", {
2721
+ ), o = "pr-2 pt-1 text-end text-xs text-copy-light", n = s("flex flex-col-reverse gap-2 sm:flex-row", {
2730
2722
  "ml-2": e === "left",
2731
2723
  "mr-2": e === "right"
2732
2724
  });
@@ -2736,14 +2728,14 @@ const Sa = () => "p-4 max-w-xs sm:max-w-md md:max-w-2xl", Ca = ({ kind: e }) =>
2736
2728
  footer: o,
2737
2729
  copyButton: n
2738
2730
  };
2739
- }, Ba = ({
2731
+ }, $a = ({
2740
2732
  children: e,
2741
2733
  kind: t = "left",
2742
2734
  className: r,
2743
2735
  footer: a,
2744
2736
  rawFooter: o,
2745
2737
  copyToClipboard: n,
2746
- copyToClipboardFocusMode: s = "system",
2738
+ copyToClipboardFocusMode: i = "system",
2747
2739
  copyToClipboardMode: c = "system"
2748
2740
  }) => {
2749
2741
  const [d, g] = S(!1), u = Aa({ kind: t, className: r }), h = !!n && (typeof n == "function" || typeof n == "string" || typeof e == "string"), m = () => {
@@ -2756,10 +2748,10 @@ const Sa = () => "p-4 max-w-xs sm:max-w-md md:max-w-2xl", Ca = ({ kind: e }) =>
2756
2748
  }, 3e3)), () => {
2757
2749
  clearTimeout(p);
2758
2750
  };
2759
- }, [d]), /* @__PURE__ */ k("div", { className: u.wrapper, children: [
2760
- /* @__PURE__ */ k("div", { children: [
2751
+ }, [d]), /* @__PURE__ */ v("div", { className: u.wrapper, children: [
2752
+ /* @__PURE__ */ v("div", { children: [
2761
2753
  /* @__PURE__ */ l("div", { className: u.main, children: e }),
2762
- a && Object.keys(a).map((p) => a[p] ? /* @__PURE__ */ l("div", { className: "prose-p:m-0", children: /* @__PURE__ */ k("p", { className: u.footer, children: [
2754
+ a && Object.keys(a).map((p) => a[p] ? /* @__PURE__ */ l("div", { className: "prose-p:m-0", children: /* @__PURE__ */ v("p", { className: u.footer, children: [
2763
2755
  p,
2764
2756
  ": ",
2765
2757
  a[p]
@@ -2773,7 +2765,7 @@ const Sa = () => "p-4 max-w-xs sm:max-w-md md:max-w-2xl", Ca = ({ kind: e }) =>
2773
2765
  noBackground: !0,
2774
2766
  size: "small",
2775
2767
  mode: c,
2776
- focusMode: s,
2768
+ focusMode: i,
2777
2769
  label: d ? "Copied to clipboard" : "Copy to clipboard",
2778
2770
  onClick: m,
2779
2771
  disabled: d,
@@ -2781,24 +2773,24 @@ const Sa = () => "p-4 max-w-xs sm:max-w-md md:max-w-2xl", Ca = ({ kind: e }) =>
2781
2773
  }
2782
2774
  ) })
2783
2775
  ] });
2784
- }, We = "av-button", _e = "icon", we = "button", ue = "link", $a = ({
2776
+ }, We = "av-button", _e = "icon", we = "button", ue = "link", Ba = ({
2785
2777
  type: e,
2786
2778
  size: t,
2787
2779
  labelRight: r,
2788
2780
  labelLeft: a,
2789
2781
  align: o
2790
2782
  }) => {
2791
- const n = "max-h-8 py-0 px-2", s = "max-h-9 py-1 px-3", c = "max-h-12 py-2 px-4";
2783
+ const n = "max-h-8 py-0 px-2", i = "max-h-9 py-1 px-3", c = "max-h-12 py-2 px-4";
2792
2784
  switch (e) {
2793
2785
  case we:
2794
2786
  case ue:
2795
- return i({
2787
+ return s({
2796
2788
  [n]: t === "small",
2797
- [s]: t === "medium",
2789
+ [i]: t === "medium",
2798
2790
  [c]: t === "large"
2799
2791
  });
2800
2792
  case _e:
2801
- return i("inline-flex items-center", {
2793
+ return s("inline-flex items-center", {
2802
2794
  "justify-center": o === "center",
2803
2795
  "justify-start": o === "left",
2804
2796
  "justify-end": o === "right",
@@ -2816,21 +2808,21 @@ const Sa = () => "p-4 max-w-xs sm:max-w-md md:max-w-2xl", Ca = ({ kind: e }) =>
2816
2808
  labelRight: r,
2817
2809
  labelLeft: a
2818
2810
  }) => {
2819
- const o = "text-sm font-medium", n = "text-base font-medium", s = "text-lg font-medium";
2811
+ const o = "text-sm font-medium", n = "text-base font-medium", i = "text-lg font-medium";
2820
2812
  switch (e) {
2821
2813
  case we:
2822
2814
  case ue:
2823
- return i({
2815
+ return s({
2824
2816
  "text-center": e === ue,
2825
2817
  [o]: t === "small",
2826
2818
  [n]: t === "medium",
2827
- [s]: t === "large"
2819
+ [i]: t === "large"
2828
2820
  });
2829
2821
  case _e:
2830
- return i({
2822
+ return s({
2831
2823
  [o]: t === "small" && (r || a),
2832
2824
  [n]: t === "medium" && (r || a),
2833
- [s]: t === "large" && (r || a)
2825
+ [i]: t === "large" && (r || a)
2834
2826
  });
2835
2827
  }
2836
2828
  }, Ma = ({
@@ -2842,36 +2834,32 @@ const Sa = () => "p-4 max-w-xs sm:max-w-md md:max-w-2xl", Ca = ({ kind: e }) =>
2842
2834
  if (t)
2843
2835
  return "not-prose";
2844
2836
  if (a === "primary")
2845
- return i("not-prose", {
2837
+ return s("not-prose", {
2846
2838
  truncate: !r,
2847
- "text-copy-light": e === "dark",
2848
- "text-copy-lighter": e === "light",
2849
- "text-copy-light dark:text-copy-lighter": e === "system",
2850
- "text-copy-lighter dark:text-copy-light": e === "alt-system"
2839
+ "text-copy-light": e === "dark" || e === "system",
2840
+ "text-copy-lighter": e === "light" || e === "alt-system",
2841
+ "dark:text-copy-lighter": e === "system",
2842
+ "dark:text-copy-light": e === "alt-system"
2851
2843
  });
2852
2844
  if (a === "secondary")
2853
- return i("not-prose", {
2845
+ return s("not-prose", {
2854
2846
  truncate: !r,
2855
- "text-copy-light": e === "light",
2856
- "text-copy-lighter": e === "dark",
2857
- "text-copy-light dark:text-copy-lighter": e === "alt-system",
2858
- "text-copy-lighter dark:text-copy-light": e === "system"
2847
+ "text-copy-light": e === "light" || e === "system",
2848
+ "text-copy-lighter": e === "dark" || e === "alt-system",
2849
+ "dark:text-copy-lighter": e === "alt-system",
2850
+ "dark:text-copy-light": e === "system"
2859
2851
  });
2860
2852
  if (a === "danger")
2861
- return i("not-prose", {
2853
+ return s("not-prose", {
2862
2854
  truncate: !r,
2863
- "text-copy-light": e === "dark",
2864
- "text-copy-lighter": e === "light",
2865
- "text-copy-light dark:text-copy-lighter": e === "system",
2866
- "text-copy-lighter dark:text-copy-light": e === "alt-system"
2855
+ "text-copy-light": e === "dark" || e === "system",
2856
+ "text-copy-lighter": e === "light" || e === "alt-system",
2857
+ "dark:text-copy-lighter": e === "system",
2858
+ "dark:text-copy-light": e === "alt-system"
2867
2859
  });
2868
2860
  if (a === "selected")
2869
- return i("not-prose", {
2870
- truncate: !r,
2871
- "text-copy-light": e === "dark",
2872
- "text-copy-lighter": e === "light",
2873
- "text-copy-light dark:text-copy-lighter": e === "system",
2874
- "text-copy-lighter dark:text-copy-light": e === "alt-system"
2861
+ return s("not-prose text-copy-lighter", {
2862
+ truncate: !r
2875
2863
  });
2876
2864
  }, La = ({
2877
2865
  mode: e,
@@ -2880,21 +2868,21 @@ const Sa = () => "p-4 max-w-xs sm:max-w-md md:max-w-2xl", Ca = ({ kind: e }) =>
2880
2868
  }) => {
2881
2869
  if (!t) {
2882
2870
  if (r === "primary")
2883
- return i({
2871
+ return s({
2884
2872
  "bg-action-dark": e === "dark",
2885
2873
  "bg-action-light": e === "light",
2886
2874
  "bg-action-dark dark:bg-action-light": e === "system",
2887
2875
  "bg-action-light dark:bg-action-dark": e === "alt-system"
2888
2876
  });
2889
2877
  if (r === "secondary")
2890
- return i({
2878
+ return s({
2891
2879
  "bg-action-dark": e === "light",
2892
2880
  "bg-action-light": e === "dark",
2893
2881
  "bg-action-dark dark:bg-action-light": e === "alt-system",
2894
2882
  "bg-action-light dark:bg-action-dark": e === "system"
2895
2883
  });
2896
2884
  if (r === "danger")
2897
- return i({
2885
+ return s({
2898
2886
  "bg-action-danger-dark": e === "dark",
2899
2887
  "bg-action-danger-light": e === "light",
2900
2888
  "bg-action-danger-dark dark:bg-action-danger-light": e === "system",
@@ -2905,7 +2893,7 @@ const Sa = () => "p-4 max-w-xs sm:max-w-md md:max-w-2xl", Ca = ({ kind: e }) =>
2905
2893
  }
2906
2894
  }, Oa = ({
2907
2895
  radius: e
2908
- }) => i({
2896
+ }) => s({
2909
2897
  "rounded-full": e === "large",
2910
2898
  "rounded-md": e === "medium",
2911
2899
  "rounded-sm": e === "small"
@@ -2917,21 +2905,21 @@ const Sa = () => "p-4 max-w-xs sm:max-w-md md:max-w-2xl", Ca = ({ kind: e }) =>
2917
2905
  if (t)
2918
2906
  return "";
2919
2907
  if (r === "primary")
2920
- return i("hover:text-copy-light-hover", {
2908
+ return s("hover:text-copy-light-hover", {
2921
2909
  "hover:bg-action-dark-hover": e === "dark",
2922
2910
  "hover:bg-action-light-hover": e === "light",
2923
2911
  "hover:bg-action-dark-hover dark:hover:bg-action-light-hover": e === "system",
2924
2912
  "hover:bg-action-light-hover dark:hover:bg-action-dark-hover": e === "alt-system"
2925
2913
  });
2926
2914
  if (r === "secondary")
2927
- return i("hover:text-copy-light-hover", {
2915
+ return s("hover:text-copy-light-hover", {
2928
2916
  "hover:bg-action-dark-hover": e === "light",
2929
2917
  "hover:bg-action-light-hover": e === "dark",
2930
2918
  "hover:bg-action-dark-hover dark:hover:bg-action-light-hover": e === "alt-system",
2931
2919
  "hover:bg-action-light-hover dark:hover:bg-action-dark-hover": e === "system"
2932
2920
  });
2933
2921
  if (r === "danger")
2934
- return i("hover:text-copy-light-hover", {
2922
+ return s("hover:text-copy-light-hover", {
2935
2923
  "hover:bg-action-danger-dark-hover": e === "dark",
2936
2924
  "hover:bg-action-danger-light-hover": e === "light",
2937
2925
  "hover:bg-action-danger-dark-hover dark:hover:bg-action-danger-light-hover": e === "system",
@@ -2947,21 +2935,21 @@ const Sa = () => "p-4 max-w-xs sm:max-w-md md:max-w-2xl", Ca = ({ kind: e }) =>
2947
2935
  if (t)
2948
2936
  return "";
2949
2937
  if (r === "primary")
2950
- return i("active:text-copy-light-active", {
2938
+ return s("active:text-copy-light-active", {
2951
2939
  "active:bg-action-dark-active": e === "dark",
2952
2940
  "active:bg-action-light-active": e === "light",
2953
2941
  "active:bg-action-dark-active dark:active:bg-action-light-active": e === "system",
2954
2942
  "active:bg-action-light-active dark:active:bg-action-dark-active": e === "alt-system"
2955
2943
  });
2956
2944
  if (r === "secondary")
2957
- return i("active:text-copy-light-active", {
2945
+ return s("active:text-copy-light-active", {
2958
2946
  "active:bg-action-dark-active": e === "light",
2959
2947
  "active:bg-action-light-active": e === "dark",
2960
2948
  "active:bg-action-dark-active dark:active:bg-action-light-active": e === "alt-system",
2961
2949
  "active:bg-action-light-active dark:active:bg-action-dark-active": e === "system"
2962
2950
  });
2963
2951
  if (r === "danger")
2964
- return i("active:text-copy-lighter-active", {
2952
+ return s("active:text-copy-lighter-active", {
2965
2953
  "active:bg-action-danger-dark-active": e === "dark",
2966
2954
  "active:bg-action-danger-light-active": e === "light",
2967
2955
  "active:bg-action-danger-dark-active dark:active:bg-action-danger-light-active": e === "system",
@@ -2977,21 +2965,21 @@ const Sa = () => "p-4 max-w-xs sm:max-w-md md:max-w-2xl", Ca = ({ kind: e }) =>
2977
2965
  if (t)
2978
2966
  return "border border-transparent";
2979
2967
  if (r === "primary")
2980
- return i("border", {
2968
+ return s("border", {
2981
2969
  "border-border-dark": e === "dark",
2982
2970
  "border-border-accent": e === "light",
2983
2971
  "border-border-dark dark:border-border-accent": e === "system",
2984
2972
  "border-border-accent dark:border-border-dark": e === "alt-system"
2985
2973
  });
2986
2974
  if (r === "secondary")
2987
- return i("border", {
2975
+ return s("border", {
2988
2976
  "border-border-dark": e === "light",
2989
2977
  "border-border-accent": e === "dark",
2990
2978
  "border-border-dark dark:border-border-accent": e === "alt-system",
2991
2979
  "border-border-accent dark:border-border-dark": e === "system"
2992
2980
  });
2993
2981
  if (r === "danger")
2994
- return i("border", {
2982
+ return s("border", {
2995
2983
  "border-border-danger-dark": e === "dark",
2996
2984
  "border-border-danger-medium": e === "light",
2997
2985
  "border-border-danger-dark dark:border-border-danger-medium": e === "system",
@@ -3001,7 +2989,7 @@ const Sa = () => "p-4 max-w-xs sm:max-w-md md:max-w-2xl", Ca = ({ kind: e }) =>
3001
2989
  return "border border-border-selected-dark";
3002
2990
  }, Da = ({
3003
2991
  focusMode: e
3004
- }) => i("focus:outline", "focus:outline-2", "focus:outline-offset-2", {
2992
+ }) => s("focus:outline", "focus:outline-2", "focus:outline-offset-2", {
3005
2993
  "focus:outline-focus-dark": e === "dark",
3006
2994
  "focus:outline-focus-light": e === "light",
3007
2995
  "focus:outline-focus-light dark:focus:outline-focus-dark": e === "alt-system",
@@ -3013,7 +3001,7 @@ const Sa = () => "p-4 max-w-xs sm:max-w-md md:max-w-2xl", Ca = ({ kind: e }) =>
3013
3001
  mode: a,
3014
3002
  focusMode: o,
3015
3003
  disabled: n,
3016
- fullWidth: s,
3004
+ fullWidth: i,
3017
3005
  size: c,
3018
3006
  noBorder: d,
3019
3007
  labelRight: g,
@@ -3023,7 +3011,7 @@ const Sa = () => "p-4 max-w-xs sm:max-w-md md:max-w-2xl", Ca = ({ kind: e }) =>
3023
3011
  noTruncate: p,
3024
3012
  align: b,
3025
3013
  radius: f
3026
- }) => (m || (m = "primary"), r ? i(We, t) : i(
3014
+ }) => (m || (m = "primary"), r ? s(We, t) : s(
3027
3015
  We,
3028
3016
  Ma({
3029
3017
  mode: a,
@@ -3033,7 +3021,7 @@ const Sa = () => "p-4 max-w-xs sm:max-w-md md:max-w-2xl", Ca = ({ kind: e }) =>
3033
3021
  }),
3034
3022
  La({ mode: a, noBackground: h, variant: m }),
3035
3023
  Oa({ radius: f }),
3036
- $a({
3024
+ Ba({
3037
3025
  type: e,
3038
3026
  size: c,
3039
3027
  labelRight: g,
@@ -3046,7 +3034,7 @@ const Sa = () => "p-4 max-w-xs sm:max-w-md md:max-w-2xl", Ca = ({ kind: e }) =>
3046
3034
  Va({ mode: a, variant: m, disabled: n }),
3047
3035
  Ha({ mode: a, variant: m, disabled: n }),
3048
3036
  {
3049
- "w-full": s,
3037
+ "w-full": i,
3050
3038
  "disabled:cursor-not-allowed disabled:opacity-50": n
3051
3039
  },
3052
3040
  t
@@ -3067,7 +3055,7 @@ const Sa = () => "p-4 max-w-xs sm:max-w-md md:max-w-2xl", Ca = ({ kind: e }) =>
3067
3055
  );
3068
3056
  });
3069
3057
  Te.displayName = "BaseButton";
3070
- const kt = I.forwardRef(
3058
+ const vt = I.forwardRef(
3071
3059
  ({
3072
3060
  children: e,
3073
3061
  disabled: t = !1,
@@ -3075,7 +3063,7 @@ const kt = I.forwardRef(
3075
3063
  focusMode: a = "system",
3076
3064
  fullWidth: o = !1,
3077
3065
  className: n,
3078
- size: s = "medium",
3066
+ size: i = "medium",
3079
3067
  raw: c = !1,
3080
3068
  noBorder: d = !1,
3081
3069
  variant: g = "primary",
@@ -3091,7 +3079,7 @@ const kt = I.forwardRef(
3091
3079
  disabled: t,
3092
3080
  raw: c,
3093
3081
  className: n,
3094
- size: s,
3082
+ size: i,
3095
3083
  noBorder: d,
3096
3084
  variant: g,
3097
3085
  noTruncate: u,
@@ -3109,15 +3097,15 @@ const kt = I.forwardRef(
3109
3097
  );
3110
3098
  }
3111
3099
  );
3112
- kt.displayName = "Button";
3100
+ vt.displayName = "Button";
3113
3101
  /*!
3114
- @versini/ui-button v4.0.0
3102
+ @versini/ui-button v4.0.1
3115
3103
  © 2025 gizmette.com
3116
3104
  */
3117
3105
  try {
3118
3106
  window.__VERSINI_UI_BUTTON__ || (window.__VERSINI_UI_BUTTON__ = {
3119
- version: "4.0.0",
3120
- buildTime: "01/03/2025 10:45 AM EST",
3107
+ version: "4.0.1",
3108
+ buildTime: "01/04/2025 10:02 AM EST",
3121
3109
  homepage: "https://github.com/aversini/ui-components",
3122
3110
  license: "MIT"
3123
3111
  });
@@ -3131,7 +3119,7 @@ const Pa = I.forwardRef(
3131
3119
  focusMode: a = "system",
3132
3120
  fullWidth: o = !1,
3133
3121
  className: n,
3134
- type: s = "button",
3122
+ type: i = "button",
3135
3123
  raw: c = !1,
3136
3124
  noBorder: d = !1,
3137
3125
  "aria-label": g,
@@ -3160,12 +3148,12 @@ const Pa = I.forwardRef(
3160
3148
  noBackground: b,
3161
3149
  align: f,
3162
3150
  radius: _
3163
- }), E = i({
3151
+ }), E = s({
3164
3152
  "text-copy-accent-dark": r === "light" && !c,
3165
3153
  "text-copy-light": r === "dark" && !c,
3166
3154
  "text-copy-accent-dark dark:text-copy-light": r === "alt-system" && !c,
3167
3155
  "text-copy-light dark:text-copy-accent-dark": r === "system" && !c
3168
- }), M = y ? i(
3156
+ }), M = y ? s(
3169
3157
  "relative",
3170
3158
  "focus-within:static",
3171
3159
  "focus-within:after:border-transparent",
@@ -3182,13 +3170,13 @@ const Pa = I.forwardRef(
3182
3170
  "after:border-table-light dark:after:border-table-dark": r === "alt-system"
3183
3171
  }
3184
3172
  ) : "";
3185
- return /* @__PURE__ */ l("div", { className: M, children: /* @__PURE__ */ k(
3173
+ return /* @__PURE__ */ l("div", { className: M, children: /* @__PURE__ */ v(
3186
3174
  Te,
3187
3175
  {
3188
3176
  ref: N,
3189
3177
  className: R,
3190
3178
  disabled: t,
3191
- type: s,
3179
+ type: i,
3192
3180
  "aria-label": g || u,
3193
3181
  ...T,
3194
3182
  children: [
@@ -3223,14 +3211,14 @@ const Fa = 200, Wa = ({
3223
3211
  const [o, n] = S(!1);
3224
3212
  if (typeof e != "string")
3225
3213
  return e;
3226
- const { string: s, isTruncated: c } = Wa({
3214
+ const { string: i, isTruncated: c } = Wa({
3227
3215
  string: e,
3228
3216
  idealLength: t
3229
3217
  });
3230
- return /* @__PURE__ */ k("span", { style: { wordBreak: "break-word" }, children: [
3231
- o ? e : s,
3218
+ return /* @__PURE__ */ v("span", { style: { wordBreak: "break-word" }, children: [
3219
+ o ? e : i,
3232
3220
  c && /* @__PURE__ */ l(
3233
- kt,
3221
+ vt,
3234
3222
  {
3235
3223
  mode: r,
3236
3224
  focusMode: a,
@@ -3245,13 +3233,13 @@ const Fa = 200, Wa = ({
3245
3233
  ] });
3246
3234
  };
3247
3235
  /*!
3248
- @versini/ui-truncate v3.0.0
3236
+ @versini/ui-truncate v3.0.1
3249
3237
  © 2025 gizmette.com
3250
3238
  */
3251
3239
  try {
3252
3240
  window.__VERSINI_UI_TRUNCATE__ || (window.__VERSINI_UI_TRUNCATE__ = {
3253
- version: "3.0.0",
3254
- buildTime: "01/03/2025 10:45 AM EST",
3241
+ version: "3.0.1",
3242
+ buildTime: "01/04/2025 10:03 AM EST",
3255
3243
  homepage: "https://github.com/aversini/ui-components",
3256
3244
  license: "MIT"
3257
3245
  });
@@ -3260,15 +3248,15 @@ try {
3260
3248
  const je = rt(
3261
3249
  () => import(
3262
3250
  /* webpackChunkName: "LazyMessageAssistant" */
3263
- "./MessageAssistant.MGR6z7w8.js"
3251
+ "./MessageAssistant.D9gVxi35.js"
3264
3252
  ).then((e) => e.MessageAssistant)
3265
3253
  ), qa = () => {
3266
3254
  const { state: e } = A(F);
3267
- return /* @__PURE__ */ k("div", { className: "space-y-6 mt-2", children: [
3255
+ return /* @__PURE__ */ v("div", { className: "space-y-6 mt-2", children: [
3268
3256
  e && e.messages.length > 0 && e.messages.map((t, r) => {
3269
- const { role: a, content: o, name: n, processingTime: s } = t.message;
3270
- return (a === J || a === he) && o ? /* @__PURE__ */ l(ce, { fallback: /* @__PURE__ */ l("span", {}), children: /* @__PURE__ */ l(je, { name: n, processingTime: s, children: o }) }, `${r}-${a}`) : a === le && o ? /* @__PURE__ */ l(
3271
- Ba,
3257
+ const { role: a, content: o, name: n, processingTime: i } = t.message;
3258
+ return (a === J || a === he) && o ? /* @__PURE__ */ l(ce, { fallback: /* @__PURE__ */ l("span", {}), children: /* @__PURE__ */ l(je, { name: n, processingTime: i, children: o }) }, `${r}-${a}`) : a === le && o ? /* @__PURE__ */ l(
3259
+ $a,
3272
3260
  {
3273
3261
  kind: "right",
3274
3262
  copyToClipboard: o,
@@ -3281,10 +3269,10 @@ const je = rt(
3281
3269
  Pt(le, e) && /* @__PURE__ */ l(ce, { fallback: /* @__PURE__ */ l("span", {}), children: /* @__PURE__ */ l(je, { loading: !0 }) })
3282
3270
  ] });
3283
3271
  }, Ja = () => {
3284
- const { isAuthenticated: e } = Z(), { state: t } = A(F), [r, a] = S(!1), [o, n] = dr(), s = Ft({
3272
+ const { isAuthenticated: e } = Z(), { state: t } = A(F), [r, a] = S(!1), [o, n] = dr(), i = Ft({
3285
3273
  isAuthenticated: e,
3286
3274
  extraClass: "rounded-b-md"
3287
- }), c = v(!1), d = H(() => {
3275
+ }), c = k(!1), d = H(() => {
3288
3276
  const u = o.current;
3289
3277
  if (u) {
3290
3278
  const { scrollHeight: h, clientHeight: m, scrollTop: p } = u, b = h - m - p;
@@ -3310,11 +3298,11 @@ const je = rt(
3310
3298
  t && t.streaming && g();
3311
3299
  }, [t, g]), x(() => {
3312
3300
  t && (!c.current && t.streaming && d(), c.current = !!t.streaming);
3313
- }, [t, d]), /* @__PURE__ */ k("div", { className: s, ref: o, children: [
3301
+ }, [t, d]), /* @__PURE__ */ v("div", { className: i, ref: o, children: [
3314
3302
  r && /* @__PURE__ */ l("div", { className: "bottom-44 z-40 fixed left-1/2 transform -translate-x-1/2", children: /* @__PURE__ */ l(
3315
3303
  et,
3316
3304
  {
3317
- className: i(
3305
+ className: s(
3318
3306
  "dark:bg-slate-50 dark:hover:bg-slate-300 dark:active:bg-slate-400",
3319
3307
  "bg-slate-500 hover:bg-slate-600 active:bg-slate-700"
3320
3308
  ),
@@ -3338,18 +3326,18 @@ const je = rt(
3338
3326
  }, Ka = rt(
3339
3327
  () => import(
3340
3328
  /* webpackChunkName: "LazyHeader" */
3341
- "./HeaderToolbar.Dl0oFeb8.js"
3329
+ "./HeaderToolbar.BS7wgkaB.js"
3342
3330
  )
3343
3331
  );
3344
- function vt({ isComponent: e = !1 }) {
3345
- const t = v(!1), { getAccessToken: r, user: a, isAuthenticated: o } = Z(), [n] = Ve({
3332
+ function kt({ isComponent: e = !1 }) {
3333
+ const t = k(!1), { getAccessToken: r, user: a, isAuthenticated: o } = Z(), [n] = Ve({
3346
3334
  key: Me + qt,
3347
3335
  initialValue: ""
3348
- }), [s] = Ve({
3336
+ }), [i] = Ve({
3349
3337
  key: Me + Jt,
3350
3338
  initialValue: j.ASC
3351
3339
  }), [c, d] = Q(Lr, {
3352
- id: ke(),
3340
+ id: ve(),
3353
3341
  model: V,
3354
3342
  engine: V,
3355
3343
  usage: 0,
@@ -3359,7 +3347,7 @@ function vt({ isComponent: e = !1 }) {
3359
3347
  }), [g, u] = Q(Or, {
3360
3348
  searchString: n,
3361
3349
  sortedCell: "timestamp",
3362
- sortDirection: s
3350
+ sortDirection: i
3363
3351
  }), [h, m] = Q(Vr, {
3364
3352
  tag: "",
3365
3353
  tags: []
@@ -3376,7 +3364,7 @@ function vt({ isComponent: e = !1 }) {
3376
3364
  t.current = !0;
3377
3365
  const y = await ct({
3378
3366
  accessToken: await r(),
3379
- type: st.ABOUT,
3367
+ type: it.ABOUT,
3380
3368
  params: {
3381
3369
  user: a == null ? void 0 : a.username
3382
3370
  }
@@ -3403,8 +3391,8 @@ function vt({ isComponent: e = !1 }) {
3403
3391
  state: g,
3404
3392
  dispatch: u
3405
3393
  },
3406
- children: /* @__PURE__ */ k(
3407
- ve.Provider,
3394
+ children: /* @__PURE__ */ v(
3395
+ ke.Provider,
3408
3396
  {
3409
3397
  value: { state: h, dispatch: m },
3410
3398
  children: [
@@ -3439,23 +3427,23 @@ function vt({ isComponent: e = !1 }) {
3439
3427
  }
3440
3428
  ) });
3441
3429
  }
3442
- vt.displayName = "App";
3443
- const io = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, default: vt }, Symbol.toStringTag, { value: "Module" }));
3430
+ kt.displayName = "App";
3431
+ const so = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, default: kt }, Symbol.toStringTag, { value: "Module" }));
3444
3432
  export {
3445
- io as App,
3433
+ so as App,
3446
3434
  F as AppContext,
3447
3435
  Ve as E,
3448
3436
  Dr as HistoryContext,
3449
3437
  ca as NewChatButton,
3450
3438
  mt as Pe,
3451
- st as SERVICE_TYPES,
3452
- ve as TagsContext,
3439
+ it as SERVICE_TYPES,
3440
+ ke as TagsContext,
3453
3441
  ro as be,
3454
3442
  j as f,
3455
3443
  eo as ge,
3456
3444
  to as he,
3457
3445
  Ar as le,
3458
- Ba as le$1,
3446
+ $a as le$1,
3459
3447
  ao as me,
3460
3448
  ct as serviceCall,
3461
3449
  oo as ue,