@versini/sassysaint 5.5.32 → 5.5.34

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,6 +1,6 @@
1
1
  import { jsxs as h, jsx as a, Fragment as M } from "react/jsx-runtime";
2
- import { g as D, un as G, R as $, CARDS as C, renderDataAsList as he, pluralize as ge, ABOUT_TITLE as ht, L as X, j as A, C as F, INFINITE_SCROLL_LIMIT as Be, INFINITE_SCROLL_THRESHOLD as Oe, LOCAL_STORAGE_PREFIX as _e, LOCAL_STORAGE_SORT as gt, P as le, ACTION_RESET as pt, ACTION_RESTORE as ft, ACTION_SORT as Pe, LOCAL_STORAGE_SEARCH as bt, HISTORY_TITLE as yt, ye as Ee, ACTION_SEARCH as kt, debounce as vt, M as xt, z as $e, durationFormatter as Nt, PROFILE_TITLE as wt, PROMPTS_DESCRIPTION as Et, DEFAULT_AI_ENGINE as Ct, LOCAL_STORAGE_CHAT_DETAILS as Tt, SETTINGS_TITLE as _t, ENGINE_OPENAI as Q, ENGINE_ANTHROPIC as re, APP_NAME as It, getCurrentGeoLocation as St, LOG_OUT as De } from "./index.kTiw0vKw.js";
3
- import { i as pe, useServerCapabilities as Lt, HistoryContext as je, E as Ie, ge as At, he as Rt, ue as Ne, ie as P, ye as zt, me as Mt, p as Bt, i$1 as Ot, be as Pt, serviceCall as ce, SERVICE_TYPES as ie, f as ae, AppContext as We, useChatsHistory as $t, useUserChatStats as Dt, useUserPreferences as Ye, me$1 as Vt, R as oe, P as Ht } from "./App.Df2lQC7R.js";
2
+ import { g as D, un as G, R as P, CARDS as C, renderDataAsList as he, pluralize as ge, ABOUT_TITLE as ht, L as X, j as L, C as F, INFINITE_SCROLL_LIMIT as Be, INFINITE_SCROLL_THRESHOLD as Oe, LOCAL_STORAGE_PREFIX as _e, LOCAL_STORAGE_SORT as gt, P as le, ACTION_RESET as pt, ACTION_RESTORE as ft, ACTION_SORT as $e, LOCAL_STORAGE_SEARCH as bt, HISTORY_TITLE as yt, ye as Ee, ACTION_SEARCH as kt, debounce as vt, M as xt, z as Pe, durationFormatter as Nt, PROFILE_TITLE as wt, PROMPTS_DESCRIPTION as Et, DEFAULT_AI_ENGINE as Ct, LOCAL_STORAGE_CHAT_DETAILS as Tt, SETTINGS_TITLE as _t, ENGINE_OPENAI as Q, ENGINE_ANTHROPIC as re, APP_NAME as It, getCurrentGeoLocation as St, LOG_OUT as De } from "./index.VGoUE96U.js";
3
+ import { i as pe, useServerCapabilities as At, HistoryContext as je, E as Ie, ge as Lt, he as Rt, ue as Ne, ie as $, ye as zt, me as Mt, p as Bt, i$1 as Ot, be as $t, serviceCall as ce, SERVICE_TYPES as ie, f as ae, AppContext as We, useChatsHistory as Pt, useUserChatStats as Dt, useUserPreferences as Ye, me$1 as Vt, R as oe, P as Ht } from "./App.BcFxPLnZ.js";
4
4
  import * as S from "react";
5
5
  import be, { useId as Se, useRef as _, useEffect as V, useState as w, useContext as fe, useCallback as Ke, Fragment as Ut, useLayoutEffect as ne, useMemo as Xe, useReducer as Ft } from "react";
6
6
  import m from "clsx";
@@ -288,13 +288,13 @@ const Zt = ({
288
288
  }
289
289
  );
290
290
  /*!
291
- @versini/ui-panel v1.3.7
291
+ @versini/ui-panel v1.3.10
292
292
  © 2025 gizmette.com
293
293
  */
294
294
  try {
295
295
  window.__VERSINI_UI_PANEL__ || (window.__VERSINI_UI_PANEL__ = {
296
- version: "1.3.7",
297
- buildTime: "01/13/2025 05:57 AM EST",
296
+ version: "1.3.10",
297
+ buildTime: "01/14/2025 10:39 AM EST",
298
298
  homepage: "https://github.com/aversini/ui-components",
299
299
  license: "MIT"
300
300
  });
@@ -568,7 +568,7 @@ const Ve = "av-messagebox", He = "av-panel", Ue = "av-button", ye = "icon", qe =
568
568
  )), br = (e, r, t) => {
569
569
  var o;
570
570
  !r && (!document.activeElement || document.activeElement !== e.currentTarget) && typeof ((o = e == null ? void 0 : e.currentTarget) == null ? void 0 : o.focus) == "function" && e.currentTarget.focus(), typeof t == "function" && t(e);
571
- }, Le = be.forwardRef((e, r) => {
571
+ }, Ae = be.forwardRef((e, r) => {
572
572
  const { onClick: t, noInternalClick: o = !1, ...n } = e;
573
573
  return /* @__PURE__ */ a(
574
574
  "button",
@@ -581,7 +581,7 @@ const Ve = "av-messagebox", He = "av-panel", Ue = "av-button", ye = "icon", qe =
581
581
  }
582
582
  );
583
583
  });
584
- Le.displayName = "BaseButton";
584
+ Ae.displayName = "BaseButton";
585
585
  const Je = be.forwardRef(
586
586
  ({
587
587
  children: e,
@@ -627,7 +627,7 @@ const Je = be.forwardRef(
627
627
  "dark:text-copy-accent-dark": t === "system" && !c
628
628
  });
629
629
  return /* @__PURE__ */ h(
630
- Le,
630
+ Ae,
631
631
  {
632
632
  ref: b,
633
633
  className: E,
@@ -646,13 +646,13 @@ const Je = be.forwardRef(
646
646
  );
647
647
  Je.displayName = "ButtonIcon";
648
648
  /*!
649
- @versini/ui-button v4.0.7
649
+ @versini/ui-button v4.0.10
650
650
  © 2025 gizmette.com
651
651
  */
652
652
  try {
653
653
  window.__VERSINI_UI_BUTTON__ || (window.__VERSINI_UI_BUTTON__ = {
654
- version: "4.0.7",
655
- buildTime: "01/13/2025 05:57 AM EST",
654
+ version: "4.0.10",
655
+ buildTime: "01/14/2025 10:39 AM EST",
656
656
  homepage: "https://github.com/aversini/ui-components",
657
657
  license: "MIT"
658
658
  });
@@ -718,7 +718,7 @@ const yr = be.forwardRef(
718
718
  }
719
719
  ) : "";
720
720
  return /* @__PURE__ */ a("div", { className: H, children: /* @__PURE__ */ h(
721
- Le,
721
+ Ae,
722
722
  {
723
723
  ref: b,
724
724
  className: E,
@@ -767,13 +767,13 @@ const kr = ({
767
767
  ] });
768
768
  };
769
769
  /*!
770
- @versini/ui-svgicon v4.0.1
770
+ @versini/ui-svgicon v4.0.3
771
771
  © 2025 gizmette.com
772
772
  */
773
773
  try {
774
774
  window.__VERSINI_UI_SVGICON__ || (window.__VERSINI_UI_SVGICON__ = {
775
- version: "4.0.1",
776
- buildTime: "01/13/2025 05:57 AM EST",
775
+ version: "4.0.3",
776
+ buildTime: "01/14/2025 10:39 AM EST",
777
777
  homepage: "https://github.com/aversini/ui-components",
778
778
  license: "MIT"
779
779
  });
@@ -798,13 +798,13 @@ const vr = ({
798
798
  }
799
799
  );
800
800
  /*!
801
- @versini/ui-icons v4.4.0
801
+ @versini/ui-icons v4.4.2
802
802
  © 2025 gizmette.com
803
803
  */
804
804
  try {
805
805
  window.__VERSINI_UI_ICONS__ || (window.__VERSINI_UI_ICONS__ = {
806
- version: "4.4.0",
807
- buildTime: "01/13/2025 05:57 AM EST",
806
+ version: "4.4.2",
807
+ buildTime: "01/14/2025 10:39 AM EST",
808
808
  homepage: "https://github.com/aversini/ui-components",
809
809
  license: "MIT"
810
810
  });
@@ -885,13 +885,13 @@ const wr = S.forwardRef(function(e, r) {
885
885
  }) });
886
886
  });
887
887
  /*!
888
- @versini/ui-modal v1.2.1
888
+ @versini/ui-modal v1.2.4
889
889
  © 2025 gizmette.com
890
890
  */
891
891
  try {
892
892
  window.__VERSINI_UI_MODAL__ || (window.__VERSINI_UI_MODAL__ = {
893
- version: "1.2.1",
894
- buildTime: "01/13/2025 05:57 AM EST",
893
+ version: "1.2.4",
894
+ buildTime: "01/14/2025 10:39 AM EST",
895
895
  homepage: "https://github.com/aversini/ui-components",
896
896
  license: "MIT"
897
897
  });
@@ -958,23 +958,23 @@ const se = "panel", me = "messagebox", _r = ({
958
958
  data: o,
959
959
  error: n,
960
960
  isLoading: s
961
- } = Lt({
961
+ } = At({
962
962
  getAccessToken: e
963
963
  }), l = (o == null ? void 0 : o.plugins) || [], c = (o == null ? void 0 : o.version) || "", u = (o == null ? void 0 : o.models) || [];
964
964
  return /* @__PURE__ */ h(M, { children: [
965
965
  /* @__PURE__ */ a("div", { className: "mb-4", children: /* @__PURE__ */ a(
966
- $,
966
+ P,
967
967
  {
968
968
  header: C.ABOUT.TITLE_CLIENT,
969
969
  className: "prose-dark dark:prose-lighter",
970
970
  children: he(r, {
971
- [C.ABOUT.VERSION]: "5.20.1",
972
- [C.ABOUT.BUILD_TIMESTAMP]: "01/13/2025 11:30 AM EST"
971
+ [C.ABOUT.VERSION]: "5.20.3",
972
+ [C.ABOUT.BUILD_TIMESTAMP]: "01/14/2025 01:08 PM EST"
973
973
  })
974
974
  }
975
975
  ) }),
976
976
  n || s ? null : /* @__PURE__ */ a(
977
- $,
977
+ P,
978
978
  {
979
979
  header: C.ABOUT.TITLE_SERVER,
980
980
  className: "prose-dark dark:prose-lighter",
@@ -1003,7 +1003,7 @@ const se = "panel", me = "messagebox", _r = ({
1003
1003
  onOpenChange: r,
1004
1004
  title: n.title,
1005
1005
  footer: /* @__PURE__ */ h(X, { columnGap: 2, alignHorizontal: "flex-end", children: [
1006
- /* @__PURE__ */ a(A, { children: /* @__PURE__ */ a(
1006
+ /* @__PURE__ */ a(L, { children: /* @__PURE__ */ a(
1007
1007
  F,
1008
1008
  {
1009
1009
  mode: "dark",
@@ -1015,7 +1015,7 @@ const se = "panel", me = "messagebox", _r = ({
1015
1015
  children: n.cancelAction
1016
1016
  }
1017
1017
  ) }),
1018
- /* @__PURE__ */ a(A, { children: /* @__PURE__ */ a(
1018
+ /* @__PURE__ */ a(L, { children: /* @__PURE__ */ a(
1019
1019
  F,
1020
1020
  {
1021
1021
  mode: "dark",
@@ -1030,7 +1030,7 @@ const se = "panel", me = "messagebox", _r = ({
1030
1030
  ] }),
1031
1031
  children: o
1032
1032
  }
1033
- ), Lr = async (e, r, t, o) => {
1033
+ ), Ar = async (e, r, t, o) => {
1034
1034
  try {
1035
1035
  const n = await ce({
1036
1036
  accessToken: o,
@@ -1052,7 +1052,7 @@ const se = "panel", me = "messagebox", _r = ({
1052
1052
  }), t(!1));
1053
1053
  } catch {
1054
1054
  }
1055
- }, Ar = ({
1055
+ }, Lr = ({
1056
1056
  filteredHistory: e,
1057
1057
  dispatch: r,
1058
1058
  onOpenChange: t,
@@ -1072,7 +1072,7 @@ const se = "panel", me = "messagebox", _r = ({
1072
1072
  switch (g.sortDirection) {
1073
1073
  case ae.ASC:
1074
1074
  f(ae.DESC), i({
1075
- type: Pe,
1075
+ type: $e,
1076
1076
  payload: {
1077
1077
  sortedCell: b,
1078
1078
  sortDirection: ae.DESC
@@ -1081,7 +1081,7 @@ const se = "panel", me = "messagebox", _r = ({
1081
1081
  break;
1082
1082
  default:
1083
1083
  f(ae.ASC), i({
1084
- type: Pe,
1084
+ type: $e,
1085
1085
  payload: {
1086
1086
  sortedCell: b,
1087
1087
  sortDirection: ae.ASC
@@ -1140,9 +1140,9 @@ const se = "panel", me = "messagebox", _r = ({
1140
1140
  ]
1141
1141
  }
1142
1142
  ),
1143
- /* @__PURE__ */ h(At, { stickyHeader: !0, stickyFooter: !0, compact: !0, children: [
1143
+ /* @__PURE__ */ h(Lt, { stickyHeader: !0, stickyFooter: !0, compact: !0, children: [
1144
1144
  /* @__PURE__ */ a(Rt, { children: /* @__PURE__ */ h(Ne, { children: [
1145
- /* @__PURE__ */ a(P, { className: "sr-only", children: "Row" }),
1145
+ /* @__PURE__ */ a($, { className: "sr-only", children: "Row" }),
1146
1146
  /* @__PURE__ */ a(
1147
1147
  zt,
1148
1148
  {
@@ -1157,18 +1157,18 @@ const se = "panel", me = "messagebox", _r = ({
1157
1157
  children: "Date"
1158
1158
  }
1159
1159
  ),
1160
- /* @__PURE__ */ a(P, { className: "text-xs sm:text-sm", children: "First message" }),
1161
- /* @__PURE__ */ a(P, { className: "text-xs sm:text-sm", children: "Model" }),
1162
- /* @__PURE__ */ a(P, { className: "text-xs sm:text-sm text-right", children: "Actions" })
1160
+ /* @__PURE__ */ a($, { className: "text-xs sm:text-sm", children: "First message" }),
1161
+ /* @__PURE__ */ a($, { className: "text-xs sm:text-sm", children: "Model" }),
1162
+ /* @__PURE__ */ a($, { className: "text-xs sm:text-sm text-right", children: "Actions" })
1163
1163
  ] }) }),
1164
1164
  /* @__PURE__ */ a(Mt, { children: e.slice(0, p).map((b, E) => {
1165
1165
  var I, H;
1166
1166
  return ((I = b == null ? void 0 : b.messages) == null ? void 0 : I.length) > 0 ? /* @__PURE__ */ h(Ut, { children: [
1167
1167
  E === p - Oe && /* @__PURE__ */ a("tr", { ref: l }),
1168
1168
  /* @__PURE__ */ h(Ne, { children: [
1169
- /* @__PURE__ */ a(P, { children: E + 1 }),
1169
+ /* @__PURE__ */ a($, { children: E + 1 }),
1170
1170
  /* @__PURE__ */ a(
1171
- P,
1171
+ $,
1172
1172
  {
1173
1173
  component: "th",
1174
1174
  scope: "row",
@@ -1177,7 +1177,7 @@ const se = "panel", me = "messagebox", _r = ({
1177
1177
  }
1178
1178
  ),
1179
1179
  /* @__PURE__ */ a(
1180
- P,
1180
+ $,
1181
1181
  {
1182
1182
  className: "max-w-[100px] text-white sm:max-w-full text-xs sm:text-sm",
1183
1183
  style: {
@@ -1187,7 +1187,7 @@ const se = "panel", me = "messagebox", _r = ({
1187
1187
  }
1188
1188
  ),
1189
1189
  /* @__PURE__ */ h(
1190
- P,
1190
+ $,
1191
1191
  {
1192
1192
  component: "th",
1193
1193
  scope: "row",
@@ -1199,7 +1199,7 @@ const se = "panel", me = "messagebox", _r = ({
1199
1199
  ]
1200
1200
  }
1201
1201
  ),
1202
- /* @__PURE__ */ h(P, { align: "right", children: [
1202
+ /* @__PURE__ */ h($, { align: "right", children: [
1203
1203
  /* @__PURE__ */ a(
1204
1204
  le,
1205
1205
  {
@@ -1209,7 +1209,7 @@ const se = "panel", me = "messagebox", _r = ({
1209
1209
  label: "Restore chat",
1210
1210
  onClick: async () => {
1211
1211
  const B = await s();
1212
- Lr(
1212
+ Ar(
1213
1213
  b,
1214
1214
  r,
1215
1215
  t,
@@ -1240,7 +1240,7 @@ const se = "panel", me = "messagebox", _r = ({
1240
1240
  ] })
1241
1241
  ] }, `${C.HISTORY.TITLE}-${b.id}-${E}`) : null;
1242
1242
  }) }),
1243
- /* @__PURE__ */ a(Pt, { children: /* @__PURE__ */ a(Ne, { children: /* @__PURE__ */ a(P, { colSpan: 1e3, children: /* @__PURE__ */ a("div", { children: ge(
1243
+ /* @__PURE__ */ a($t, { children: /* @__PURE__ */ a(Ne, { children: /* @__PURE__ */ a($, { colSpan: 1e3, children: /* @__PURE__ */ a("div", { children: ge(
1244
1244
  `${e.length} chat`,
1245
1245
  e.length
1246
1246
  ) }) }) }) })
@@ -1250,7 +1250,7 @@ const se = "panel", me = "messagebox", _r = ({
1250
1250
  open: e,
1251
1251
  onOpenChange: r
1252
1252
  }) => {
1253
- const { getAccessToken: t, user: o } = G(), { dispatch: n } = fe(We), { state: s, dispatch: l } = fe(je), { data: c, mutate: u } = $t({
1253
+ const { getAccessToken: t, user: o } = G(), { dispatch: n } = fe(We), { state: s, dispatch: l } = fe(je), { data: c, mutate: u } = Pt({
1254
1254
  keys: [
1255
1255
  o == null ? void 0 : o.username,
1256
1256
  s.searchString,
@@ -1310,7 +1310,7 @@ const se = "panel", me = "messagebox", _r = ({
1310
1310
  }
1311
1311
  ) }),
1312
1312
  /* @__PURE__ */ a("div", { className: "flex flex-col gap-2 sm:flex-row max-h-[60vh] min-h-[60vh]", children: /* @__PURE__ */ a(
1313
- Ar,
1313
+ Lr,
1314
1314
  {
1315
1315
  mutate: u,
1316
1316
  filteredHistory: k,
@@ -1323,7 +1323,7 @@ const se = "panel", me = "messagebox", _r = ({
1323
1323
  const { isAuthenticated: r, user: t, registeringForPasskey: o, authenticationType: n } = G(), s = pe(), l = pe(), c = (t == null ? void 0 : t.username) || "";
1324
1324
  return r && c ? /* @__PURE__ */ h(M, { children: [
1325
1325
  /* @__PURE__ */ a(
1326
- $,
1326
+ P,
1327
1327
  {
1328
1328
  header: C.PREFERENCES.TITLE,
1329
1329
  className: "prose-dark dark:prose-lighter",
@@ -1334,12 +1334,12 @@ const se = "panel", me = "messagebox", _r = ({
1334
1334
  }
1335
1335
  ),
1336
1336
  n !== xt.PASSKEY && /* @__PURE__ */ h(
1337
- $,
1337
+ P,
1338
1338
  {
1339
1339
  className: "prose-dark dark:prose-lighter mt-4",
1340
1340
  header: /* @__PURE__ */ a("h2", { className: "m-0", children: /* @__PURE__ */ h(X, { columnGap: 3, alignVertical: "center", children: [
1341
- /* @__PURE__ */ a(A, { children: /* @__PURE__ */ a($e, { size: "size-8" }) }),
1342
- /* @__PURE__ */ a(A, { children: /* @__PURE__ */ a("div", { children: C.PREFERENCES.PASSKEY_TITLE }) })
1341
+ /* @__PURE__ */ a(L, { children: /* @__PURE__ */ a(Pe, { size: "size-8" }) }),
1342
+ /* @__PURE__ */ a(L, { children: /* @__PURE__ */ a("div", { children: C.PREFERENCES.PASSKEY_TITLE }) })
1343
1343
  ] }) }),
1344
1344
  children: [
1345
1345
  /* @__PURE__ */ a("p", { children: C.PREFERENCES.PASSKEY_INSTRUCTIONS }),
@@ -1350,14 +1350,14 @@ const se = "panel", me = "messagebox", _r = ({
1350
1350
  className: "mt-2",
1351
1351
  onClick: o,
1352
1352
  labelLeft: C.PREFERENCES.PASSKEY_BUTTON,
1353
- children: /* @__PURE__ */ a($e, { size: "size-5", monotone: !0 })
1353
+ children: /* @__PURE__ */ a(Pe, { size: "size-5", monotone: !0 })
1354
1354
  }
1355
1355
  )
1356
1356
  ]
1357
1357
  }
1358
1358
  ),
1359
1359
  /* @__PURE__ */ a(
1360
- $,
1360
+ P,
1361
1361
  {
1362
1362
  header: C.MAIN_STATISTICS.TITLE,
1363
1363
  className: "prose-dark dark:prose-lighter mt-4",
@@ -1385,20 +1385,20 @@ const se = "panel", me = "messagebox", _r = ({
1385
1385
  return s || l ? null : /* @__PURE__ */ a(J, { open: e, onOpenChange: r, title: wt, children: /* @__PURE__ */ a(zr, { stats: n }) });
1386
1386
  };
1387
1387
  /*!
1388
- @versini/ui-textarea v3.0.1
1388
+ @versini/ui-textarea v3.0.4
1389
1389
  © 2025 gizmette.com
1390
1390
  */
1391
1391
  try {
1392
1392
  window.__VERSINI_UI_TEXTAREA__ || (window.__VERSINI_UI_TEXTAREA__ = {
1393
- version: "3.0.1",
1394
- buildTime: "01/06/2025 08:00 PM EST",
1393
+ version: "3.0.4",
1394
+ buildTime: "01/14/2025 10:39 AM EST",
1395
1395
  homepage: "https://github.com/aversini/ui-components",
1396
1396
  license: "MIT"
1397
1397
  });
1398
1398
  } catch {
1399
1399
  }
1400
- const tt = "av-text-area", Br = "av-text-area-wrapper", we = "av-text-area-helper-text", Or = "av-text-area__control--right", Pr = "av-text-area__control--left";
1401
- function $r() {
1400
+ const tt = "av-text-area", Br = "av-text-area-wrapper", we = "av-text-area-helper-text", Or = "av-text-area__control--right", $r = "av-text-area__control--left";
1401
+ function Pr() {
1402
1402
  const e = _(!1);
1403
1403
  return V(() => (e.current = !0, () => {
1404
1404
  e.current = !1;
@@ -1423,7 +1423,7 @@ const Vr = {
1423
1423
  right: 0
1424
1424
  };
1425
1425
  function Fe(e) {
1426
- const r = $r(), t = _(0), o = _(null), [n, s] = w(Vr), l = Xe(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((c) => {
1426
+ const r = Pr(), t = _(0), o = _(null), [n, s] = w(Vr), l = Xe(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((c) => {
1427
1427
  const u = c[0];
1428
1428
  u && (cancelAnimationFrame(t.current), t.current = requestAnimationFrame(() => {
1429
1429
  o.current && r() && s(u.contentRect);
@@ -1579,13 +1579,13 @@ function Yr({
1579
1579
  );
1580
1580
  }
1581
1581
  /*!
1582
- @versini/ui-liveregion v1.3.1
1582
+ @versini/ui-liveregion v1.3.3
1583
1583
  © 2025 gizmette.com
1584
1584
  */
1585
1585
  try {
1586
1586
  window.__VERSINI_UI_LIVEREGION__ || (window.__VERSINI_UI_LIVEREGION__ = {
1587
- version: "1.3.1",
1588
- buildTime: "01/06/2025 08:00 PM EST",
1587
+ version: "1.3.3",
1588
+ buildTime: "01/14/2025 10:39 AM EST",
1589
1589
  homepage: "https://github.com/aversini/ui-components",
1590
1590
  license: "MIT"
1591
1591
  });
@@ -1718,7 +1718,7 @@ const Kr = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
1718
1718
  raw: t,
1719
1719
  mode: c,
1720
1720
  disabled: n
1721
- }), v = t ? void 0 : m(Or, "absolute"), y = t ? void 0 : m(Pr, "absolute");
1721
+ }), v = t ? void 0 : m(Or, "absolute"), y = t ? void 0 : m($r, "absolute");
1722
1722
  return {
1723
1723
  wrapper: p,
1724
1724
  textArea: k,
@@ -1770,7 +1770,7 @@ const Kr = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
1770
1770
  ...I
1771
1771
  }, H) => {
1772
1772
  var B;
1773
- const R = _(null), de = Dr([H, R]), [N, z] = Fe(), [Z, j] = Fe(), q = _(80), W = _(-25), O = _(null), ee = _(30), te = _(null), Y = Ur({ id: e, prefix: `${tt}-` }), [Ae, ot] = w(0), [Re, nt] = w(0), [st, ze] = w(
1773
+ const R = _(null), de = Dr([H, R]), [N, z] = Fe(), [Z, j] = Fe(), q = _(80), W = _(-25), O = _(null), ee = _(30), te = _(null), Y = Ur({ id: e, prefix: `${tt}-` }), [Le, ot] = w(0), [Re, nt] = w(0), [st, ze] = w(
1774
1774
  !!(!v && f)
1775
1775
  ), lt = `${r} error, ${f}`, K = ea({
1776
1776
  className: s,
@@ -1787,19 +1787,19 @@ const Kr = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
1787
1787
  value: d,
1788
1788
  initialControlledDelay: 20,
1789
1789
  defaultValue: p,
1790
- onChange: (L) => {
1790
+ onChange: (A) => {
1791
1791
  T && T({
1792
1792
  target: {
1793
- value: L
1793
+ value: A
1794
1794
  }
1795
1795
  });
1796
1796
  }
1797
- }), it = (L) => {
1798
- ct(L.target.value);
1799
- }, dt = (L) => {
1800
- v && f && ze(!0), b && b(L);
1801
- }, mt = (L) => {
1802
- v && f && !U && ze(!1), E && E(L);
1797
+ }), it = (A) => {
1798
+ ct(A.target.value);
1799
+ }, dt = (A) => {
1800
+ v && f && ze(!0), b && b(A);
1801
+ }, mt = (A) => {
1802
+ v && f && !U && ze(!1), E && E(A);
1803
1803
  };
1804
1804
  return ne(() => {
1805
1805
  z && z.width && ot(z.width + 18 + 10);
@@ -1809,14 +1809,14 @@ const Kr = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
1809
1809
  n || R && R.current && U !== void 0 && (R.current.style.height = "inherit", R.current.style.height = R.current.scrollHeight + "px");
1810
1810
  }, [U, n]), ne(() => {
1811
1811
  n || setTimeout(() => {
1812
- var L;
1813
- (L = O == null ? void 0 : O.current) == null || L.style.setProperty(
1812
+ var A;
1813
+ (A = O == null ? void 0 : O.current) == null || A.style.setProperty(
1814
1814
  "--av-text-area-wrapper-transition",
1815
1815
  U ? "none" : "all 0.2s ease-out"
1816
1816
  );
1817
1817
  }, 0);
1818
1818
  }, [U, n]), ne(() => {
1819
- var L, Me;
1819
+ var A, Me;
1820
1820
  if (!n && R && R.current && U !== void 0) {
1821
1821
  const { labelOffset: ve, helperTextOffset: xe, scrollHeight: ut } = ta({
1822
1822
  scrollHeight: R.current.scrollHeight,
@@ -1824,7 +1824,7 @@ const Kr = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
1824
1824
  currentLabelOffset: W.current,
1825
1825
  currentHelperTextOffset: ee.current
1826
1826
  });
1827
- ve && (W.current = ve, (L = O == null ? void 0 : O.current) == null || L.style.setProperty(
1827
+ ve && (W.current = ve, (A = O == null ? void 0 : O.current) == null || A.style.setProperty(
1828
1828
  "--av-text-area-label",
1829
1829
  `${ve}px`
1830
1830
  )), xe && (ee.current = xe, (Me = te == null ? void 0 : te.current) == null || Me.style.setProperty(
@@ -1865,11 +1865,11 @@ const Kr = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
1865
1865
  rows: 1,
1866
1866
  ...f && { "aria-describedby": `${Y}-helper` },
1867
1867
  ...o && { "aria-invalid": "true" },
1868
- ...y && !x && !n && { style: { paddingRight: Ae } },
1868
+ ...y && !x && !n && { style: { paddingRight: Le } },
1869
1869
  ...x && !y && !n && { style: { paddingLeft: Re } },
1870
1870
  ...y && x && !n && {
1871
1871
  style: {
1872
- paddingRight: Ae,
1872
+ paddingRight: Le,
1873
1873
  paddingLeft: Re
1874
1874
  }
1875
1875
  },
@@ -1913,13 +1913,13 @@ const Kr = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
1913
1913
  );
1914
1914
  Te.displayName = "TextArea";
1915
1915
  /*!
1916
- @versini/ui-toggle v3.0.1
1916
+ @versini/ui-toggle v3.0.4
1917
1917
  © 2025 gizmette.com
1918
1918
  */
1919
1919
  try {
1920
1920
  window.__VERSINI_UI_TOGGLE__ || (window.__VERSINI_UI_TOGGLE__ = {
1921
- version: "3.0.1",
1922
- buildTime: "01/06/2025 08:00 PM EST",
1921
+ version: "3.0.4",
1922
+ buildTime: "01/14/2025 10:39 AM EST",
1923
1923
  homepage: "https://github.com/aversini/ui-components",
1924
1924
  license: "MIT"
1925
1925
  });
@@ -2094,7 +2094,7 @@ const ra = "av-toggle", aa = () => m("peer", "h-6", "w-11", "rounded-full"), oa
2094
2094
  alignHorizontal: "flex-end",
2095
2095
  className: "pb-8 sm:pb-0",
2096
2096
  children: [
2097
- /* @__PURE__ */ a(A, { children: /* @__PURE__ */ a(
2097
+ /* @__PURE__ */ a(L, { children: /* @__PURE__ */ a(
2098
2098
  F,
2099
2099
  {
2100
2100
  mode: "dark",
@@ -2104,7 +2104,7 @@ const ra = "av-toggle", aa = () => m("peer", "h-6", "w-11", "rounded-full"), oa
2104
2104
  children: "Cancel"
2105
2105
  }
2106
2106
  ) }),
2107
- /* @__PURE__ */ a(A, { children: /* @__PURE__ */ a(
2107
+ /* @__PURE__ */ a(L, { children: /* @__PURE__ */ a(
2108
2108
  F,
2109
2109
  {
2110
2110
  mode: "dark",
@@ -2122,13 +2122,13 @@ const ra = "av-toggle", aa = () => m("peer", "h-6", "w-11", "rounded-full"), oa
2122
2122
  children: [
2123
2123
  /* @__PURE__ */ a("p", { children: Et }),
2124
2124
  u.prompts && u.prompts.map((i) => /* @__PURE__ */ h(
2125
- $,
2125
+ P,
2126
2126
  {
2127
2127
  header: `Prompt ${i.slot + 1}`,
2128
2128
  className: "prose-dark dark:prose-lighter mb-2",
2129
2129
  children: [
2130
2130
  /* @__PURE__ */ h(X, { className: "mt-8 mb-6", columnGap: 2, rowGap: 6, children: [
2131
- /* @__PURE__ */ a(A, { span: 12, children: /* @__PURE__ */ a(
2131
+ /* @__PURE__ */ a(L, { span: 12, children: /* @__PURE__ */ a(
2132
2132
  Ee,
2133
2133
  {
2134
2134
  label: "Label",
@@ -2144,7 +2144,7 @@ const ra = "av-toggle", aa = () => m("peer", "h-6", "w-11", "rounded-full"), oa
2144
2144
  }
2145
2145
  }
2146
2146
  ) }),
2147
- /* @__PURE__ */ a(A, { span: 12, children: /* @__PURE__ */ a(
2147
+ /* @__PURE__ */ a(L, { span: 12, children: /* @__PURE__ */ a(
2148
2148
  Ee,
2149
2149
  {
2150
2150
  label: "Content",
@@ -2268,7 +2268,7 @@ const ra = "av-toggle", aa = () => m("peer", "h-6", "w-11", "rounded-full"), oa
2268
2268
  alignHorizontal: "flex-end",
2269
2269
  className: "pb-8 sm:pb-0",
2270
2270
  children: [
2271
- /* @__PURE__ */ a(A, { children: /* @__PURE__ */ a(
2271
+ /* @__PURE__ */ a(L, { children: /* @__PURE__ */ a(
2272
2272
  F,
2273
2273
  {
2274
2274
  mode: "dark",
@@ -2278,7 +2278,7 @@ const ra = "av-toggle", aa = () => m("peer", "h-6", "w-11", "rounded-full"), oa
2278
2278
  children: "Cancel"
2279
2279
  }
2280
2280
  ) }),
2281
- /* @__PURE__ */ a(A, { children: /* @__PURE__ */ a(
2281
+ /* @__PURE__ */ a(L, { children: /* @__PURE__ */ a(
2282
2282
  F,
2283
2283
  {
2284
2284
  mode: "dark",
@@ -2296,7 +2296,7 @@ const ra = "av-toggle", aa = () => m("peer", "h-6", "w-11", "rounded-full"), oa
2296
2296
  children: /* @__PURE__ */ h(M, { children: [
2297
2297
  u && /* @__PURE__ */ a(ma, { open: u, onOpenChange: d }),
2298
2298
  /* @__PURE__ */ h(
2299
- $,
2299
+ P,
2300
2300
  {
2301
2301
  header: C.SETTINGS_ENGINE.TITLE,
2302
2302
  className: "prose-dark dark:prose-lighter",
@@ -2350,7 +2350,7 @@ const ra = "av-toggle", aa = () => m("peer", "h-6", "w-11", "rounded-full"), oa
2350
2350
  }
2351
2351
  ),
2352
2352
  /* @__PURE__ */ h(
2353
- $,
2353
+ P,
2354
2354
  {
2355
2355
  header: "Custom Instructions",
2356
2356
  className: "prose-dark dark:prose-lighter mt-4",
@@ -2380,7 +2380,7 @@ const ra = "av-toggle", aa = () => m("peer", "h-6", "w-11", "rounded-full"), oa
2380
2380
  }
2381
2381
  ),
2382
2382
  /* @__PURE__ */ h(
2383
- $,
2383
+ P,
2384
2384
  {
2385
2385
  header: "Location",
2386
2386
  className: "prose-dark dark:prose-lighter mt-4",
@@ -2447,12 +2447,12 @@ const ra = "av-toggle", aa = () => m("peer", "h-6", "w-11", "rounded-full"), oa
2447
2447
  /* @__PURE__ */ a(ua, { open: n, onOpenChange: s }),
2448
2448
  l && /* @__PURE__ */ a(Rr, { open: l, onOpenChange: c }),
2449
2449
  /* @__PURE__ */ a(Sr, { open: u, onOpenChange: d }),
2450
- /* @__PURE__ */ a("div", { className: "bg-slate-900 py-4 px-4 rounded-t-md", children: /* @__PURE__ */ a(X, { alignHorizontal: "flex-end", alignVertical: "center", children: /* @__PURE__ */ a(A, { children: /* @__PURE__ */ a(X, { children: /* @__PURE__ */ a(A, { children: /* @__PURE__ */ h(
2450
+ /* @__PURE__ */ a("div", { className: "bg-slate-900 py-4 px-4 rounded-t-md", children: /* @__PURE__ */ a(X, { alignHorizontal: "flex-end", alignVertical: "center", children: /* @__PURE__ */ a(L, { children: /* @__PURE__ */ a(X, { children: /* @__PURE__ */ a(L, { children: /* @__PURE__ */ h(
2451
2451
  Vt,
2452
2452
  {
2453
2453
  mode: "dark",
2454
2454
  focusMode: "light",
2455
- trigger: /* @__PURE__ */ a(le, { children: /* @__PURE__ */ a(sr, {}) }),
2455
+ trigger: /* @__PURE__ */ a(le, { label: "Settings", children: /* @__PURE__ */ a(sr, {}) }),
2456
2456
  defaultPlacement: "bottom-end",
2457
2457
  children: [
2458
2458
  /* @__PURE__ */ a(
@@ -1,6 +1,6 @@
1
1
  import { jsx as We, jsxs as P0, Fragment as Sa } from "react/jsx-runtime";
2
- import { convert as _s, getDefaultExportFromCjs as Ss, visit as Na, find as Ns, parse as Sn, parse$1 as Nn, normalize as kn, svg as ks, html as Ts, visitParents as Ms, SKIP as As, longestStreak as Os, factorySpace as xr, markdownLineEnding as $t, Markdown as Rs, remarkGfm as Cs } from "./MessageAssistant.BCLp8Epo.js";
3
- import { P as Is, L as Ds, j as Ls } from "./index.kTiw0vKw.js";
2
+ import { convert as _s, getDefaultExportFromCjs as Ss, visit as Na, find as Ns, parse as Sn, parse$1 as Nn, normalize as kn, svg as ks, html as Ts, visitParents as Ms, SKIP as As, longestStreak as Os, factorySpace as xr, markdownLineEnding as $t, Markdown as Rs, remarkGfm as Cs } from "./MessageAssistant.wYO5jy_g.js";
3
+ import { P as Is, L as Ds, j as Ls } from "./index.VGoUE96U.js";
4
4
  import Bs, { useState as zs, useEffect as Ps } from "react";
5
5
  import Fs from "clsx";
6
6
  const ka = ({
@@ -34,13 +34,13 @@ const ka = ({
34
34
  ] });
35
35
  };
36
36
  /*!
37
- @versini/ui-svgicon v4.0.1
37
+ @versini/ui-svgicon v4.0.3
38
38
  © 2025 gizmette.com
39
39
  */
40
40
  try {
41
41
  window.__VERSINI_UI_SVGICON__ || (window.__VERSINI_UI_SVGICON__ = {
42
- version: "4.0.1",
43
- buildTime: "01/13/2025 05:57 AM EST",
42
+ version: "4.0.3",
43
+ buildTime: "01/14/2025 10:39 AM EST",
44
44
  homepage: "https://github.com/aversini/ui-components",
45
45
  license: "MIT"
46
46
  });
@@ -98,13 +98,13 @@ const Us = ({
98
98
  }
99
99
  );
100
100
  /*!
101
- @versini/ui-icons v4.4.0
101
+ @versini/ui-icons v4.4.2
102
102
  © 2025 gizmette.com
103
103
  */
104
104
  try {
105
105
  window.__VERSINI_UI_ICONS__ || (window.__VERSINI_UI_ICONS__ = {
106
- version: "4.4.0",
107
- buildTime: "01/13/2025 05:57 AM EST",
106
+ version: "4.4.2",
107
+ buildTime: "01/14/2025 10:39 AM EST",
108
108
  homepage: "https://github.com/aversini/ui-components",
109
109
  license: "MIT"
110
110
  });