@versini/sassysaint 8.34.1 → 8.35.0

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,7 +1,7 @@
1
1
  import { jsx as Tp } from "react/jsx-runtime";
2
- import { getDefaultExportFromCjs as ln } from "./App.DVJXfflH.js";
2
+ import { getDefaultExportFromCjs as ln } from "./App.DCSCEeDu.js";
3
3
  import Ap, { useState as Cp, useEffect as Pp } from "react";
4
- import { TRIMESTERS as rn, TRIMESTERS_SHORT as Op, isProbablyMobile as Lp } from "./index.B64I2W7q.js";
4
+ import { TRIMESTERS as rn, TRIMESTERS_SHORT as Op, isProbablyMobile as Lp } from "./index.JQwwuZH2.js";
5
5
  var ls = { exports: {} }, Ep = ls.exports, on;
6
6
  function Ip() {
7
7
  return on || (on = 1, function(ve, ne) {
@@ -1,9 +1,9 @@
1
1
  import { jsx as T } from "react/jsx-runtime";
2
- import { ChatContext as b, E as _, Me as N, Oe as S } from "./App.DVJXfflH.js";
2
+ import { ChatContext as b, E as _, Me as N, Oe as S } from "./App.DCSCEeDu.js";
3
3
  import L from "clsx";
4
4
  import k, { useState as E, useRef as g, useEffect as O, useContext as w } from "react";
5
- import { LOCAL_STORAGE_PREFIX as F, LOCAL_STORAGE_CHAT_DETAILS as G, convertCamelCaseToReadable as U, numberFormatter as I, pluralize as P, ROLE_INTERNAL as v } from "./index.B64I2W7q.js";
6
- import { useMarkdown as y } from "./useMarkdown.BmruVgkF.js";
5
+ import { LOCAL_STORAGE_PREFIX as F, LOCAL_STORAGE_CHAT_DETAILS as G, convertCamelCaseToReadable as U, numberFormatter as I, pluralize as P, ROLE_INTERNAL as v } from "./index.JQwwuZH2.js";
6
+ import { useMarkdown as y } from "./useMarkdown.BLLzDS29.js";
7
7
  const D = 2, j = D * 1e3, h = "", q = (e) => e * (2 - e);
8
8
  function V(e, a = !0) {
9
9
  const [i, C] = E(0), [c, p] = E(0), [t, A] = E(e), r = g(0), s = g(0);
@@ -1,6 +1,6 @@
1
1
  import { jsxs as a, jsx as e, Fragment as te } from "react/jsx-runtime";
2
- import { I as H, n as j, INFINITE_SCROLL_LIMIT as P, INFINITE_SCROLL_THRESHOLD as V, LOCAL_STORAGE_PREFIX as q, LOCAL_STORAGE_SORT as se, APP_CLASSNAME as ae, numberFormatter as re, ue as z, CARDS as oe, pluralize as ne, ACTION_SORT as $, isProbablyMobile as ce, TOAST_CHAT_DELETED as ie, TOAST_PROVIDER_CHANGED as le, LOCAL_STORAGE_SEARCH as de, HISTORY_TITLE as me, pe as he, debounce as ue, ACTION_SEARCH as pe } from "./index.B64I2W7q.js";
3
- import { HistoryContext as W, ChatContext as X, useAiChat as Ce, E as J, useUserPreferences as ge, ConfirmationPanel as ye, LazyToastContainerWrapper as Se, De as xe, He as fe, qe as R, Pe as n, Ye as F, Ge as Te, k as ve, a as we, p as De, p$1 as Ee, st as U, Fe as Ne, mutateCall as G, SERVICE_TYPES as Y, showErrorToast as Ae, E$1 as f, O as Ie, n as be, o as ke, setNewProvider as Re, CHAT_SET_PROVIDER as ze, showSuccessToast as _e, CHAT_SET_STATUS as Le, useChatsHistory as He, tt as Oe, a$1 as Me } from "./App.DVJXfflH.js";
2
+ import { I as H, n as j, INFINITE_SCROLL_LIMIT as P, INFINITE_SCROLL_THRESHOLD as V, LOCAL_STORAGE_PREFIX as q, LOCAL_STORAGE_SORT as se, APP_CLASSNAME as ae, numberFormatter as re, ue as z, CARDS as oe, pluralize as ne, ACTION_SORT as $, isProbablyMobile as ce, TOAST_CHAT_DELETED as ie, TOAST_PROVIDER_CHANGED as le, LOCAL_STORAGE_SEARCH as de, HISTORY_TITLE as me, pe as he, debounce as ue, ACTION_SEARCH as pe } from "./index.JQwwuZH2.js";
3
+ import { HistoryContext as W, ChatContext as X, useAiChat as Ce, E as J, useUserPreferences as ge, ConfirmationPanel as ye, LazyToastContainerWrapper as Se, De as xe, He as fe, qe as R, Pe as n, Ye as F, Ge as Te, k as ve, a as we, p as De, p$1 as Ee, st as U, Fe as Ne, mutateCall as G, SERVICE_TYPES as Y, showErrorToast as Ae, E$1 as f, O as Ie, n as be, o as ke, setNewProvider as Re, CHAT_SET_PROVIDER as ze, showSuccessToast as _e, CHAT_SET_STATUS as Le, useChatsHistory as He, tt as Oe, a$1 as Me } from "./App.DCSCEeDu.js";
4
4
  import { useRef as _, useState as A, useContext as I, useCallback as Be, useEffect as L, Fragment as Pe } from "react";
5
5
  const Ve = ({
6
6
  className: r,
@@ -1,4 +1,4 @@
1
- import { createContext as xe, createSignal as z, onMount as Dt, createEffect as B, createMemo as q, createComponent as m, Portal as qo, memo as me, Show as R, template as _, insert as k, createRenderEffect as N, className as A, clearDelegatedEvents as bs, delegateEvents as ir, useContext as we, onCleanup as U, sortFns as Hn, mutationSortFns as Vn, on as ct, setAttribute as D, getSidedProp as xs, use as Dn, batch as ws, getQueryStatusLabel as Ot, getMutationStatusColor as Rt, getQueryStatusColor as $s, getQueryStatusColorByLabel as Cs, displayValue as xn, For as Ss, convertRemToPixels as Kr, untrack as Kt, useTransition as ks, spread as Es, mergeProps as j, createRoot as Br, serialize as Ms, Index as Ds, updateNestedDataByPath as sr, addEventListener as As, stringify as Ts, Match as zn, Switch as Fs, deleteNestedDataByPath as Is, createUniqueId as Be, splitProps as X, Dynamic as Ps, createComputed as Ls, getPreferredColorScheme as Os } from "./index.B64I2W7q.js";
1
+ import { createContext as xe, createSignal as z, onMount as Dt, createEffect as B, createMemo as q, createComponent as m, Portal as qo, memo as me, Show as R, template as _, insert as k, createRenderEffect as N, className as A, clearDelegatedEvents as bs, delegateEvents as ir, useContext as we, onCleanup as U, sortFns as Hn, mutationSortFns as Vn, on as ct, setAttribute as D, getSidedProp as xs, use as Dn, batch as ws, getQueryStatusLabel as Ot, getMutationStatusColor as Rt, getQueryStatusColor as $s, getQueryStatusColorByLabel as Cs, displayValue as xn, For as Ss, convertRemToPixels as Kr, untrack as Kt, useTransition as ks, spread as Es, mergeProps as j, createRoot as Br, serialize as Ms, Index as Ds, updateNestedDataByPath as sr, addEventListener as As, stringify as Ts, Match as zn, Switch as Fs, deleteNestedDataByPath as Is, createUniqueId as Be, splitProps as X, Dynamic as Ps, createComputed as Ls, getPreferredColorScheme as Os } from "./index.JQwwuZH2.js";
2
2
  var qs = (e) => e != null, _s = (e) => e.filter(qs);
3
3
  function Rs(e) {
4
4
  return (...t) => {
@@ -1,36 +1,38 @@
1
1
  import { jsxs as n, Fragment as m, jsx as e } from "react/jsx-runtime";
2
- import { i as h, nt as S, tt as R } from "./App.DVJXfflH.js";
3
- import { n as N, S as E, renderDataAsList as P, CARDS as r, isTauri as T, ue as p, l, L as u, j as a, PROFILE_TITLE as C } from "./index.B64I2W7q.js";
2
+ import { i as h, nt as S, tt as R } from "./App.DCSCEeDu.js";
3
+ import { n as N, S as E, renderDataAsList as P, CARDS as r, isTauri as u, ue as T, l, L as p, j as o, PROFILE_TITLE as C } from "./index.JQwwuZH2.js";
4
4
  const A = () => {
5
- const { isAuthenticated: t, user: i, registeringForPasskey: c, authenticationType: o } = N(), d = h(), s = i?.username || "";
5
+ const { isAuthenticated: t, user: i, registeringForPasskey: a, authenticationType: c } = N(), d = h(), s = i?.username || "";
6
6
  return t && s ? /* @__PURE__ */ n(m, { children: [
7
7
  /* @__PURE__ */ e(
8
8
  E,
9
9
  {
10
10
  header: r.PREFERENCES.TITLE,
11
11
  className: "prose-dark dark:prose-lighter",
12
+ noBorder: !0,
12
13
  children: P(d, {
13
14
  [r.PREFERENCES.NAME]: s,
14
15
  [r.PREFERENCES.EMAIL]: i?.email || ""
15
16
  })
16
17
  }
17
18
  ),
18
- o !== S.PASSKEY && !T() && /* @__PURE__ */ n(
19
+ c !== S.PASSKEY && !u() && /* @__PURE__ */ n(
19
20
  E,
20
21
  {
21
22
  className: "prose-dark dark:prose-lighter mt-4",
22
- header: /* @__PURE__ */ e("h2", { className: "m-0", children: /* @__PURE__ */ n(u, { columnGap: 3, alignVertical: "center", children: [
23
- /* @__PURE__ */ e(a, { children: /* @__PURE__ */ e(l, { size: "size-8" }) }),
24
- /* @__PURE__ */ e(a, { children: /* @__PURE__ */ e("div", { children: r.PREFERENCES.PASSKEY_TITLE }) })
23
+ noBorder: !0,
24
+ header: /* @__PURE__ */ e("h2", { className: "m-0", children: /* @__PURE__ */ n(p, { columnGap: 3, alignVertical: "center", children: [
25
+ /* @__PURE__ */ e(o, { children: /* @__PURE__ */ e(l, { size: "size-8" }) }),
26
+ /* @__PURE__ */ e(o, { children: /* @__PURE__ */ e("div", { children: r.PREFERENCES.PASSKEY_TITLE }) })
25
27
  ] }) }),
26
28
  children: [
27
29
  /* @__PURE__ */ e("p", { children: r.PREFERENCES.PASSKEY_INSTRUCTIONS }),
28
30
  /* @__PURE__ */ e(
29
- p,
31
+ T,
30
32
  {
31
33
  size: "small",
32
34
  className: "mt-2",
33
- onClick: c,
35
+ onClick: a,
34
36
  labelLeft: r.PREFERENCES.PASSKEY_BUTTON,
35
37
  children: /* @__PURE__ */ e(l, { size: "size-5", monotone: !0 })
36
38
  }
@@ -1,9 +1,9 @@
1
1
  import { jsxs as v, jsx as s } from "react/jsx-runtime";
2
- import { n as Ee, LOCAL_STORAGE_PREFIX as ne, LOCAL_STORAGE_CHAT_DETAILS as Te, LOCAL_STORAGE_SERVICE_WORKER as Ne, isServiceWorkerEnabled as ve, SETTINGS_TITLE as _e, S as V, CARDS as P, APP_NAME as we, C as re, PROMPTS_DESCRIPTION as Ce, L as Se, j as se, getCurrentGeoLocation as Ie, handleServiceWorkerToggle as Ae } from "./index.B64I2W7q.js";
3
- import { useUserPreferences as Le, E as le, tt as Re, mutateCall as ce, SERVICE_TYPES as ie } from "./App.DVJXfflH.js";
2
+ import { n as Ee, LOCAL_STORAGE_PREFIX as ne, LOCAL_STORAGE_CHAT_DETAILS as Te, LOCAL_STORAGE_SERVICE_WORKER as Ne, isServiceWorkerEnabled as ve, SETTINGS_TITLE as _e, S as V, CARDS as P, APP_NAME as we, C as re, PROMPTS_DESCRIPTION as Ce, L as Se, j as se, getCurrentGeoLocation as Ie, handleServiceWorkerToggle as Ae } from "./index.JQwwuZH2.js";
3
+ import { useUserPreferences as Le, E as le, tt as Re, mutateCall as ce, SERVICE_TYPES as ie } from "./App.DCSCEeDu.js";
4
4
  import Oe, { useRef as _, useState as g, useLayoutEffect as j, useMemo as me, useEffect as X, useId as Me, useReducer as De, useCallback as Pe } from "react";
5
5
  import i from "clsx";
6
- const fe = "av-text-area", Ge = "av-text-area-wrapper", ae = "av-text-area-helper-text", Be = "av-text-area__control--right", He = "av-text-area__control--left";
6
+ const fe = "av-text-area", Be = "av-text-area-wrapper", ae = "av-text-area-helper-text", Ge = "av-text-area__control--right", He = "av-text-area__control--left";
7
7
  function Ue() {
8
8
  const e = _(!1);
9
9
  return X(() => (e.current = !0, () => {
@@ -297,7 +297,7 @@ const Ke = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
297
297
  }) => {
298
298
  const p = r ? e : i(
299
299
  "relative flex w-full flex-col justify-center",
300
- Ge,
300
+ Be,
301
301
  e
302
302
  ), b = r ? i(a) : i(
303
303
  fe,
@@ -324,7 +324,7 @@ const Ke = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
324
324
  raw: r,
325
325
  mode: d,
326
326
  disabled: t
327
- }), I = r ? void 0 : i(Be, "absolute"), k = r ? void 0 : i(He, "absolute");
327
+ }), I = r ? void 0 : i(Ge, "absolute"), k = r ? void 0 : i(He, "absolute");
328
328
  return {
329
329
  wrapper: p,
330
330
  textArea: b,
@@ -375,7 +375,7 @@ const Ke = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
375
375
  onBlur: F,
376
376
  ...q
377
377
  }, K) => {
378
- const x = _(null), J = Ve([K, x]), [Z, B] = de(), [Q, A] = de(), W = _(80), z = _(-25), L = _(null), n = _(30), h = _(null), E = We({ id: e, prefix: `${fe}-` }), [H, R] = g(0), [y, T] = g(0), [M, U] = g(
378
+ const x = _(null), J = Ve([K, x]), [Z, G] = de(), [Q, A] = de(), W = _(80), z = _(-25), L = _(null), n = _(30), h = _(null), E = We({ id: e, prefix: `${fe}-` }), [H, R] = g(0), [y, T] = g(0), [M, U] = g(
379
379
  !!(!I && f)
380
380
  ), ee = `${a} error, ${f}`, D = rt({
381
381
  className: l,
@@ -407,8 +407,8 @@ const Ke = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
407
407
  I && f && !O && U(!1), F && F(N);
408
408
  };
409
409
  return j(() => {
410
- B && B.width && R(B.width + 18 + 10);
411
- }, [B]), j(() => {
410
+ G && G.width && R(G.width + 18 + 10);
411
+ }, [G]), j(() => {
412
412
  A && A.width && T(A.width + 18 + 10);
413
413
  }, [A]), j(() => {
414
414
  t || x && x.current && O !== void 0 && (x.current.style.height = "inherit", x.current.style.height = x.current.scrollHeight + "px");
@@ -543,7 +543,7 @@ const ot = "av-toggle", nt = () => i("peer", "h-6", "w-11", "rounded-full"), st
543
543
  ), lt = () => i(
544
544
  "peer-checked:after:translate-x-full",
545
545
  // background color when checked
546
- "peer-checked:bg-violet-500",
546
+ "peer-checked:bg-action-light",
547
547
  // knob circle and border color when checked
548
548
  "peer-checked:after:bg-white",
549
549
  "peer-checked:after:border-white"
@@ -564,10 +564,10 @@ const ot = "av-toggle", nt = () => i("peer", "h-6", "w-11", "rounded-full"), st
564
564
  noBorder: a
565
565
  }) => i({
566
566
  border: !a,
567
- "border-border-dark bg-surface-medium": e === "light",
567
+ "border-border-medium bg-surface-medium": e === "light",
568
568
  "border-border-light bg-surface-darker": e === "dark",
569
569
  "border-border-light bg-surface-darker dark:border-border-dark dark:bg-surface-medium": e === "alt-system",
570
- "border-border-dark bg-surface-medium dark:border-border-light dark:bg-surface-darker": e === "system"
570
+ "border-border-medium bg-surface-medium dark:border-border-light dark:bg-surface-darker": e === "system"
571
571
  }), dt = ({
572
572
  mode: e,
573
573
  labelHidden: a
@@ -597,7 +597,7 @@ const ot = "av-toggle", nt = () => i("peer", "h-6", "w-11", "rounded-full"), st
597
597
  label: dt({ mode: e, labelHidden: r }),
598
598
  input: "peer sr-only",
599
599
  wrapper: ut({ className: o })
600
- }), G = ({
600
+ }), B = ({
601
601
  checked: e = !1,
602
602
  onChange: a,
603
603
  label: r,
@@ -633,13 +633,13 @@ const ot = "av-toggle", nt = () => i("peer", "h-6", "w-11", "rounded-full"), st
633
633
  ] });
634
634
  };
635
635
  /*!
636
- @versini/ui-toggle v4.0.6
636
+ @versini/ui-toggle v4.0.7
637
637
  © 2025 gizmette.com
638
638
  */
639
639
  try {
640
640
  window.__VERSINI_UI_TOGGLE__ || (window.__VERSINI_UI_TOGGLE__ = {
641
- version: "4.0.6",
642
- buildTime: "08/07/2025 04:11 PM EDT",
641
+ version: "4.0.7",
642
+ buildTime: "08/07/2025 07:27 PM EDT",
643
643
  homepage: "https://github.com/aversini/ui-components",
644
644
  license: "MIT"
645
645
  });
@@ -670,7 +670,7 @@ const bt = ({
670
670
  K(n);
671
671
  }, Z = (n) => {
672
672
  k(n);
673
- }, B = (n) => {
673
+ }, G = (n) => {
674
674
  $(n);
675
675
  }, Q = async (n) => {
676
676
  x(n), F(n), await Ae(n);
@@ -790,13 +790,13 @@ const bt = ({
790
790
  {
791
791
  header: P.SETTINGS_DETAILS.TITLE,
792
792
  className: "prose-dark dark:prose-lighter",
793
+ noBorder: !0,
793
794
  children: [
794
795
  /* @__PURE__ */ s("p", { className: "text-sm", children: P.SETTINGS_DETAILS.DETAILS }),
795
796
  /* @__PURE__ */ s(
796
- G,
797
+ B,
797
798
  {
798
799
  className: "mt-2",
799
- noBorder: !0,
800
800
  label: "Show Message Statistics",
801
801
  name: "show-message-statistics",
802
802
  onChange: J,
@@ -805,10 +805,9 @@ const bt = ({
805
805
  ),
806
806
  /* @__PURE__ */ s("p", { className: "text-sm mt-5", children: P.SETTINGS_DETAILS.SEND_ON_ENTER }),
807
807
  /* @__PURE__ */ s(
808
- G,
808
+ B,
809
809
  {
810
810
  className: "mt-2",
811
- noBorder: !0,
812
811
  label: "Send Message on Enter",
813
812
  name: "send-message-on-enter",
814
813
  onChange: Z,
@@ -817,13 +816,12 @@ const bt = ({
817
816
  ),
818
817
  /* @__PURE__ */ s("p", { className: "text-sm mt-5", children: P.SETTINGS_DETAILS.USE_MEMORY }),
819
818
  /* @__PURE__ */ s(
820
- G,
819
+ B,
821
820
  {
822
821
  className: "mt-2",
823
- noBorder: !0,
824
822
  label: "Use Memory",
825
823
  name: "use-memory",
826
- onChange: B,
824
+ onChange: G,
827
825
  checked: C
828
826
  }
829
827
  )
@@ -835,6 +833,7 @@ const bt = ({
835
833
  {
836
834
  header: "Custom Instructions",
837
835
  className: "prose-dark dark:prose-lighter mt-4",
836
+ noBorder: !0,
838
837
  children: [
839
838
  /* @__PURE__ */ v("p", { className: "text-sm", children: [
840
839
  "What would you like ",
@@ -860,46 +859,54 @@ const bt = ({
860
859
  ]
861
860
  }
862
861
  ),
863
- /* @__PURE__ */ v(V, { header: "Location", className: "prose-dark dark:prose-lighter mt-4", children: [
864
- /* @__PURE__ */ s("p", { className: "text-sm", children: "You can share your location to receive customized responses based on your area." }),
865
- /* @__PURE__ */ s(
866
- oe,
867
- {
868
- mode: "alt-system",
869
- name: "location",
870
- label: "Location",
871
- value: w,
872
- onChange: (n) => {
873
- f(n.target.value);
874
- },
875
- helperText: "Enter your location or press auto-detect."
876
- }
877
- ),
878
- /* @__PURE__ */ s(
879
- re,
880
- {
881
- className: "mt-2",
882
- size: "small",
883
- noBorder: !0,
884
- variant: "secondary",
885
- disabled: d.loadingLocation,
886
- onClick: W,
887
- children: d.loadingLocation ? "Detecting..." : "Auto-detect"
888
- }
889
- )
890
- ] }),
862
+ /* @__PURE__ */ v(
863
+ V,
864
+ {
865
+ header: "Location",
866
+ className: "prose-dark dark:prose-lighter mt-4",
867
+ noBorder: !0,
868
+ children: [
869
+ /* @__PURE__ */ s("p", { className: "text-sm", children: "You can share your location to receive customized responses based on your area." }),
870
+ /* @__PURE__ */ s(
871
+ oe,
872
+ {
873
+ mode: "alt-system",
874
+ name: "location",
875
+ label: "Location",
876
+ value: w,
877
+ onChange: (n) => {
878
+ f(n.target.value);
879
+ },
880
+ helperText: "Enter your location or press auto-detect."
881
+ }
882
+ ),
883
+ /* @__PURE__ */ s(
884
+ re,
885
+ {
886
+ className: "mt-2",
887
+ size: "small",
888
+ noBorder: !0,
889
+ variant: "secondary",
890
+ disabled: d.loadingLocation,
891
+ onClick: W,
892
+ children: d.loadingLocation ? "Detecting..." : "Auto-detect"
893
+ }
894
+ )
895
+ ]
896
+ }
897
+ ),
891
898
  /* @__PURE__ */ v(
892
899
  V,
893
900
  {
894
901
  header: P.SETTINGS_CACHING.TITLE,
895
902
  className: "prose-dark dark:prose-lighter mt-4",
903
+ noBorder: !0,
896
904
  children: [
897
905
  /* @__PURE__ */ s("p", { className: "text-sm", children: P.SETTINGS_CACHING.DESCRIPTION }),
898
906
  /* @__PURE__ */ s(
899
- G,
907
+ B,
900
908
  {
901
909
  className: "mt-2",
902
- noBorder: !0,
903
910
  label: "Enable Assets Caching",
904
911
  name: "enable-service-worker",
905
912
  onChange: Q,
@@ -914,6 +921,7 @@ const bt = ({
914
921
  {
915
922
  header: P.SETTINGS_PROMPTS.TITLE,
916
923
  className: "prose-dark dark:prose-lighter mt-4",
924
+ noBorder: !0,
917
925
  children: [
918
926
  /* @__PURE__ */ s("p", { className: "text-sm", children: Ce }),
919
927
  m.prompts && m.prompts.slice(0, 3).map((n) => /* @__PURE__ */ v(
@@ -926,7 +934,7 @@ const bt = ({
926
934
  children: [
927
935
  /* @__PURE__ */ s("p", { className: "text-sm", children: n.description }),
928
936
  /* @__PURE__ */ s(
929
- G,
937
+ B,
930
938
  {
931
939
  mode: "dark",
932
940
  className: "mt-2",
@@ -943,7 +951,7 @@ const bt = ({
943
951
  }
944
952
  ),
945
953
  /* @__PURE__ */ s(
946
- G,
954
+ B,
947
955
  {
948
956
  mode: "dark",
949
957
  className: "mt-2",
@@ -960,7 +968,7 @@ const bt = ({
960
968
  }
961
969
  ),
962
970
  /* @__PURE__ */ s(
963
- G,
971
+ B,
964
972
  {
965
973
  mode: "dark",
966
974
  className: "mt-2",
@@ -1,15 +1,15 @@
1
1
  import { jsxs as l, jsx as e } from "react/jsx-runtime";
2
- import { n as f, USAGE_TITLE as U, S as T, renderDataAsList as v, CARDS as n, L as E, j as L, C as S, pluralize as i } from "./index.B64I2W7q.js";
3
- import { i as M, useUserChatStats as _, useChatsUsage as D, tt as z } from "./App.DVJXfflH.js";
4
- import { useState as O, Suspense as P, lazy as j } from "react";
5
- const s = [0, 3, 6, 9], G = j(() => import(
2
+ import { n as f, USAGE_TITLE as U, S as T, renderDataAsList as v, CARDS as n, L as E, j as L, C as S, pluralize as i } from "./index.JQwwuZH2.js";
3
+ import { i as M, useUserChatStats as _, useChatsUsage as D, tt as z } from "./App.DCSCEeDu.js";
4
+ import { useState as O, Suspense as P, lazy as B } from "react";
5
+ const t = [0, 3, 6, 9], j = B(() => import(
6
6
  /* webpackChunkName: "LazyChart" */
7
- "./Chart.CiDkqY3g.js"
7
+ "./Chart.jZDpolhQ.js"
8
8
  )), w = ({
9
9
  open: m,
10
10
  onOpenChange: I
11
11
  }) => {
12
- const { getAccessToken: d, user: u } = f(), p = M(), { data: t, isSuccess: A } = _({
12
+ const { getAccessToken: d, user: u } = f(), p = M(), { data: s, isSuccess: A } = _({
13
13
  user: u?.username,
14
14
  getAccessToken: d
15
15
  }), { data: r, isSuccess: g } = D({
@@ -17,12 +17,12 @@ const s = [0, 3, 6, 9], G = j(() => import(
17
17
  getAccessToken: d
18
18
  }), C = Math.floor((/* @__PURE__ */ new Date()).getMonth() / 3) * 3, [a, h] = O(C), x = (o) => {
19
19
  o.preventDefault();
20
- const c = (s.indexOf(a) + 1) % s.length;
21
- h(s[c]);
20
+ const c = (t.indexOf(a) + 1) % t.length;
21
+ h(t[c]);
22
22
  }, k = (o) => {
23
23
  o.preventDefault();
24
- const c = (s.indexOf(a) - 1 + s.length) % s.length;
25
- h(s[c]);
24
+ const c = (t.indexOf(a) - 1 + t.length) % t.length;
25
+ h(t[c]);
26
26
  };
27
27
  return /* @__PURE__ */ l(z, { open: m, onOpenChange: I, title: U, children: [
28
28
  /* @__PURE__ */ e(
@@ -30,18 +30,19 @@ const s = [0, 3, 6, 9], G = j(() => import(
30
30
  {
31
31
  header: n.MAIN_STATISTICS.TITLE,
32
32
  className: "prose-dark dark:prose-lighter min-h-[170px]",
33
+ noBorder: !0,
33
34
  children: A ? v(
34
35
  p,
35
36
  {
36
- [i(n.MAIN_STATISTICS.TOTAL, t.totalChats)]: t.totalChats,
37
+ [i(n.MAIN_STATISTICS.TOTAL, s.totalChats)]: s.totalChats,
37
38
  [i(
38
39
  n.MAIN_STATISTICS.TOTAL_PRIVATE,
39
- t.privateChats
40
- )]: t.privateChats,
40
+ s.privateChats
41
+ )]: s.privateChats,
41
42
  [i(
42
43
  n.MAIN_STATISTICS.TOTAL_DELETED,
43
- t.deletedChats
44
- )]: t.deletedChats
44
+ s.deletedChats
45
+ )]: s.deletedChats
45
46
  },
46
47
  !0
47
48
  ) : null
@@ -52,9 +53,10 @@ const s = [0, 3, 6, 9], G = j(() => import(
52
53
  {
53
54
  header: n.MAIN_STATISTICS.USAGE,
54
55
  className: "prose-dark dark:prose-lighter mt-4 min-h-[535px]",
56
+ noBorder: !0,
55
57
  children: g && r && r.tokenUsage && r.tokenUsage.series && r.tokenUsage.series.length ? /* @__PURE__ */ l(P, { fallback: /* @__PURE__ */ e("div", {}), children: [
56
58
  /* @__PURE__ */ e("div", { className: "pt-4" }),
57
- /* @__PURE__ */ e(G, { tokenUsage: r.tokenUsage.series, page: a }),
59
+ /* @__PURE__ */ e(j, { tokenUsage: r.tokenUsage.series, page: a }),
58
60
  /* @__PURE__ */ e(E, { className: "mt-2", alignHorizontal: "center", children: /* @__PURE__ */ l(L, { children: [
59
61
  /* @__PURE__ */ e(
60
62
  S,
@@ -1,5 +1,5 @@
1
- import { find as Aa, parse as Ft, parse$1 as Ht, normalize as Pt, html as Ta, svg as Ba, visitParents as Na, SKIP as Da } from "./useMarkdown.BmruVgkF.js";
2
- import { toText as Ca } from "./index.BwILOwas.js";
1
+ import { find as Aa, parse as Ft, parse$1 as Ht, normalize as Pt, html as Ta, svg as Ba, visitParents as Na, SKIP as Da } from "./useMarkdown.BLLzDS29.js";
2
+ import { toText as Ca } from "./index.D9gw5Emx.js";
3
3
  const Gt = /[#.]/g;
4
4
  function qa(r, e) {
5
5
  const t = r || "", a = {};
@@ -1,6 +1,6 @@
1
- import { getDefaultExportFromCjs as kn } from "./App.DVJXfflH.js";
2
- import { visit as In } from "./useMarkdown.BmruVgkF.js";
3
- import { toText as Cn } from "./index.BwILOwas.js";
1
+ import { getDefaultExportFromCjs as kn } from "./App.DCSCEeDu.js";
2
+ import { visit as In } from "./useMarkdown.BLLzDS29.js";
3
+ import { toText as Cn } from "./index.D9gw5Emx.js";
4
4
  function xn(e) {
5
5
  const t = e.regex, i = e.COMMENT("//", "$", { contains: [{ begin: /\\\n/ }] }), a = "decltype\\(auto\\)", r = "[a-zA-Z_]\\w*::", d = "(?!struct)(" + a + "|" + t.optional(r) + "[a-zA-Z_]\\w*" + t.optional("<[^<>]+>") + ")", c = {
6
6
  className: "type",
@@ -1,4 +1,4 @@
1
- import { convert as E, convertElement as u } from "./useMarkdown.BmruVgkF.js";
1
+ import { convert as E, convertElement as u } from "./useMarkdown.BLLzDS29.js";
2
2
  const f = (
3
3
  // Note: overloads like this are needed to support optional generics.
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { convert as se, visitParents as Me, unicodeWhitespace as I, unicodePunctuation as N, normalizeIdentifier as _, classifyCharacter as W, visit as _e, toString as ce, EXIT as Oe, asciiAlphanumeric as Z, asciiAlpha as P, markdownLineEndingOrSpace as A, asciiControl as je, blankLine as Be, factorySpace as S, splice as q, resolveAll as We, markdownLineEnding as R, markdownSpace as T, combineExtensions as $e } from "./useMarkdown.BmruVgkF.js";
1
+ import { convert as se, visitParents as Me, unicodeWhitespace as I, unicodePunctuation as N, normalizeIdentifier as _, classifyCharacter as W, visit as _e, toString as ce, EXIT as Oe, asciiAlphanumeric as Z, asciiAlpha as P, markdownLineEndingOrSpace as A, asciiControl as je, blankLine as Be, factorySpace as S, splice as q, resolveAll as We, markdownLineEnding as R, markdownSpace as T, combineExtensions as $e } from "./useMarkdown.BLLzDS29.js";
2
2
  import { longestStreak as qe } from "./index.Cyw5OC0t.js";
3
3
  function ne(e, n) {
4
4
  const t = String(e);
@@ -1,4 +1,4 @@
1
- import { factorySpace as M, markdownLineEnding as g } from "./useMarkdown.BmruVgkF.js";
1
+ import { factorySpace as M, markdownLineEnding as g } from "./useMarkdown.BLLzDS29.js";
2
2
  import { longestStreak as q } from "./index.Cyw5OC0t.js";
3
3
  function b() {
4
4
  return {
@@ -3078,7 +3078,7 @@ var gu = (e, t = !1) => {
3078
3078
  const t = Li(() => {
3079
3079
  const r = this, [n] = this.#i, [s] = this.#c, [i] = this.#l, [o] = this.#u, [a] = this.#f, [c] = this.#e;
3080
3080
  let d;
3081
- return this.#d ? d = this.#d : (d = Ii(() => import("./LNWAZHJI.CJPTHLsr.js")), this.#d = d), Ca(this.#o, this.#a), Ei(d, Ti({
3081
+ return this.#d ? d = this.#d : (d = Ii(() => import("./LNWAZHJI.DucKAHzu.js")), this.#d = d), Ca(this.#o, this.#a), Ei(d, Ti({
3082
3082
  get queryFlavor() {
3083
3083
  return r.#r;
3084
3084
  },
@@ -7338,7 +7338,7 @@ Press Ctrl+Enter to send it or Enter for new line.`, ud = "{{clipboard}}", M = "
7338
7338
  );
7339
7339
  }, Fl = new URL(document.location.href).searchParams, on = !!Fl.get("debug") || !1, Kl = Ds(() => import(
7340
7340
  /* webpackChunkName: "LazyApp" */
7341
- "./App.DVJXfflH.js"
7341
+ "./App.DCSCEeDu.js"
7342
7342
  ).then((e) => e.App)), Hl = new si(), cn = ({
7343
7343
  isComponent: e,
7344
7344
  headerHeight: t
@@ -1,8 +1,8 @@
1
1
  import * as rn from "react/jsx-runtime";
2
2
  import { jsx as ae, jsxs as Pn, Fragment as Ir } from "react/jsx-runtime";
3
- import { ue as Tr, isTauri as Pr, unObfuscate as Ar, obfuscate as zr } from "./index.B64I2W7q.js";
3
+ import { ue as Tr, isTauri as Pr, unObfuscate as Ar, obfuscate as zr } from "./index.JQwwuZH2.js";
4
4
  import Lr, { useState as Lt, useEffect as _t, useCallback as vt, useRef as Re } from "react";
5
- import { getDefaultExportFromCjs as Nt } from "./App.DVJXfflH.js";
5
+ import { getDefaultExportFromCjs as Nt } from "./App.DCSCEeDu.js";
6
6
  import _r from "clsx";
7
7
  const Rt = ({
8
8
  children: e,
@@ -6897,7 +6897,7 @@ class su {
6897
6897
  if (!this.remarkGfm) {
6898
6898
  const { default: n } = await import(
6899
6899
  /* webpackChunkName: "LazyRemarkGfm" */
6900
- "./index.C7sc1QRo.js"
6900
+ "./index.DOBzYZBm.js"
6901
6901
  );
6902
6902
  this.remarkGfm = n;
6903
6903
  }
@@ -6908,7 +6908,7 @@ class su {
6908
6908
  mu("https://cdn.jsdelivr.net/npm/katex@latest/dist/katex.min.css");
6909
6909
  const { default: n } = await import(
6910
6910
  /* webpackChunkName: "LazyRehypeKatex" */
6911
- "./index.DmDLWLMi.js"
6911
+ "./index.Bcs1SNB7.js"
6912
6912
  );
6913
6913
  this.rehypeKatex = n;
6914
6914
  }
@@ -6918,7 +6918,7 @@ class su {
6918
6918
  if (!this.remarkMath) {
6919
6919
  const { default: n } = await import(
6920
6920
  /* webpackChunkName: "LazyRemarkMath" */
6921
- "./index.CejjIes6.js"
6921
+ "./index.DgZtT_J4.js"
6922
6922
  );
6923
6923
  this.remarkMath = n;
6924
6924
  }
@@ -6928,7 +6928,7 @@ class su {
6928
6928
  if (!this.rehypeHighlight) {
6929
6929
  const { default: n } = await import(
6930
6930
  /* webpackChunkName: "LazyRehypeHighlight" */
6931
- "./index.BjFj5vL4.js"
6931
+ "./index.C6zTF9ZF.js"
6932
6932
  );
6933
6933
  this.rehypeHighlight = n;
6934
6934
  }
@@ -1,5 +1,5 @@
1
1
  import "react/jsx-runtime";
2
- import { SassySaint as a } from "../../chunks/index.B64I2W7q.js";
2
+ import { SassySaint as a } from "../../chunks/index.JQwwuZH2.js";
3
3
  export {
4
4
  a as SassySaint
5
5
  };
package/dist/index.js CHANGED
@@ -1,12 +1,12 @@
1
- import { SassySaint as r } from "./chunks/index.B64I2W7q.js";
1
+ import { SassySaint as r } from "./chunks/index.JQwwuZH2.js";
2
2
  /*!
3
- @sassysaint/client v8.34.1
3
+ @sassysaint/client v8.35.0
4
4
  © 2025 gizmette.com
5
5
  */
6
6
  try {
7
7
  window.__VERSINI_SASSY_GLOBAL__ || (window.__VERSINI_SASSY_GLOBAL__ = {
8
- version: "8.34.1",
9
- buildTime: "08/07/2025 05:07 PM EDT",
8
+ version: "8.35.0",
9
+ buildTime: "08/08/2025 10:36 AM EDT",
10
10
  license: "MIT"
11
11
  });
12
12
  } catch {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@versini/sassysaint",
3
- "version": "8.34.1",
3
+ "version": "8.35.0",
4
4
  "license": "MIT",
5
5
  "author": "Arno Versini",
6
6
  "publishConfig": {
@@ -31,7 +31,7 @@
31
31
  "react-dom": "^18.3.1 || ^19.0.0"
32
32
  },
33
33
  "devDependencies": {
34
- "@sassysaint/client": "8.34.1",
34
+ "@sassysaint/client": "8.35.0",
35
35
  "@tailwindcss/vite": "4.1.11",
36
36
  "@versini/ui-styles": "6.0.0"
37
37
  },
@@ -43,5 +43,5 @@
43
43
  "sideEffects": [
44
44
  "**/*.css"
45
45
  ],
46
- "gitHead": "cf390781b57e38c0ef31e451f9f71de8c072d7b3"
46
+ "gitHead": "fbe76f83ede67df93201685e5b0e851fb4e4b20f"
47
47
  }