@versini/sassysaint 8.100.0 → 8.100.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (25) hide show
  1. package/dist/chunks/{AboutChangelog.DA361mHf.js → AboutChangelog.NV9c4zu9.js} +3 -3
  2. package/dist/chunks/{AboutEntry.COmeuxq_.js → AboutEntry.B8B0ulN6.js} +5 -5
  3. package/dist/chunks/{App.BLNMkw5x.js → App.BfyhD1Is.js} +16 -16
  4. package/dist/chunks/{Chart.GBOvQ25I.js → Chart.CJJIRIO9.js} +2 -2
  5. package/dist/chunks/{ChatBubbleAssistant.De5psmEG.js → ChatBubbleAssistant.adcBGcpp.js} +4 -4
  6. package/dist/chunks/{ChatBubbleUser.DF9Axp_4.js → ChatBubbleUser.CXly9gYQ.js} +6 -6
  7. package/dist/chunks/{ChatHistoryTable.rOFYnFKa.js → ChatHistoryTable.alwto-Wv.js} +3 -3
  8. package/dist/chunks/{HistoryEntry.DnG7vXnm.js → HistoryEntry.Dh7QyCNv.js} +3 -3
  9. package/dist/chunks/{MemoriesEntry.rleSeGKZ.js → MemoriesEntry.AmCbEJfB.js} +4 -4
  10. package/dist/chunks/{ProfileEntry.ZVmjBCNA.js → ProfileEntry.C3BxlQGg.js} +2 -2
  11. package/dist/chunks/{SettingsEntry.azCvMpSB.js → SettingsEntry.hGsfag3d.js} +3 -3
  12. package/dist/chunks/{UsageEntry.CK1PBjs3.js → UsageEntry.DAkfTVaL.js} +3 -3
  13. package/dist/chunks/{index.DfrHJ6QJ.js → index.9loiM090.js} +1 -1
  14. package/dist/chunks/{index.CYzDnVAL.js → index.BAM4EGuH.js} +1 -1
  15. package/dist/chunks/{index.Bz0fwQT2.js → index.BJes-5-x.js} +1 -1
  16. package/dist/chunks/{index.CgmhTYJp.js → index.BNqWCx81.js} +165 -165
  17. package/dist/chunks/{index.Dw8chhdS.js → index.C1wy_PTQ.js} +4 -4
  18. package/dist/chunks/{index.iTnfwVri.js → index.CMU-TVY5.js} +1 -1
  19. package/dist/chunks/{index.DlepPi73.js → index.DL0WWM_h.js} +2 -2
  20. package/dist/chunks/{index.CY7OKrvt.js → index.gyo2b-1e.js} +3 -3
  21. package/dist/chunks/{index.Bil3-QBE.js → index.hR1pzubk.js} +22 -22
  22. package/dist/chunks/{useMarkdown.DhNvct2e.js → useMarkdown.DpauRT9M.js} +9 -9
  23. package/dist/components/SassySaint/SassySaint.js +1 -1
  24. package/dist/index.js +4 -4
  25. package/package.json +3 -3
@@ -1,10 +1,10 @@
1
1
  import { jsx as l, jsxs as E, Fragment as Kr } from "react/jsx-runtime";
2
2
  import * as Y from "react";
3
- import re, { createContext as Gt, useReducer as Vr, useCallback as P, useRef as B, useEffect as O, useSyncExternalStore as Gr, useContext as ze, useState as Z, useMemo as Be, useId as rn, useLayoutEffect as st, Suspense as sn, lazy as nn } from "react";
3
+ import re, { createContext as Gt, useReducer as Vr, useCallback as N, useRef as B, useEffect as O, useSyncExternalStore as Gr, useContext as ze, useState as Z, useMemo as Be, useId as rn, useLayoutEffect as st, Suspense as sn, lazy as nn } from "react";
4
4
  import m from "clsx";
5
5
  let an = "standard";
6
6
  var k, U = ((k = {})[k.NewChat = 0] = "NewChat", k[k.Prompts = 1] = "Prompts", k[k.Attachment = 2] = "Attachment", k[k.PrivateChat = 3] = "PrivateChat", k[k.Reasoning = 4] = "Reasoning", k[k.Send = 5] = "Send", k[k.Header = 6] = "Header", k[k.Provider = 7] = "Provider", k[k.Logo = 8] = "Logo", k[k.Placeholder = 9] = "Placeholder", k[k.Footer = 10] = "Footer", k);
7
- let _c = "user", Ac = "assistant", ft = "OpenAI", zt = "Anthropic", qt = "Google", on = "Perplexity", cn = ft, ln = [ft, zt, qt], zr = "gpt-5.2", qr = "gpt-5-mini", Wr = "gpt-5-nano", jr = "gpt-4.1-nano", Qr = "claude-haiku-4-5", Yr = "claude-sonnet-4-5", Jr = "gemini-2.5-flash", Xr = "gemini-3-pro-preview", Zr = "sonar", es = "sonar-pro", Rc = { [zr]: "GPT-5.2", [qr]: "GPT-5 Mini", [Wr]: "GPT-5 Nano", [jr]: "GPT-4.1 Nano", [Qr]: "Claude Haiku 4.5", [Yr]: "Claude Sonnet 4.5", [Jr]: "Gemini 2.5 Flash", [Xr]: "Gemini 3 Pro", [Zr]: "Sonar", [es]: "Sonar Pro" }, ts = { [ft]: [jr, zr, qr, Wr], [zt]: [Qr, Yr], [qt]: [Jr, Xr], [on]: [Zr, es] }, Oc = "x-diggidy-chat-id", Cc = "timestamp", kc = "tokenUsage", L = "Diggidy", Mc = { TOOL: { MEMORIES: "getUserMemories" }, ADDON: { ATTACHMENTS: "addon:attachments", REASONING: "addon:reasoning" } }, Nc = (e) => {
7
+ let _c = "user", Ac = "assistant", ft = "OpenAI", zt = "Anthropic", qt = "Google", on = "Perplexity", cn = ft, ln = [ft, zt, qt], zr = "gpt-5.2", qr = "gpt-5-mini", Wr = "gpt-5-nano", jr = "gpt-4.1-nano", Qr = "claude-haiku-4-5", Yr = "claude-sonnet-4-5", Jr = "gemini-2.5-flash", Xr = "gemini-3-pro-preview", Zr = "sonar", es = "sonar-pro", Rc = { [zr]: "GPT-5.2", [qr]: "GPT-5 Mini", [Wr]: "GPT-5 Nano", [jr]: "GPT-4.1 Nano", [Qr]: "Claude Haiku 4.5", [Yr]: "Claude Sonnet 4.5", [Jr]: "Gemini 2.5 Flash", [Xr]: "Gemini 3 Pro", [Zr]: "Sonar", [es]: "Sonar Pro" }, ts = { [ft]: [jr, zr, qr, Wr], [zt]: [Qr, Yr], [qt]: [Jr, Xr], [on]: [Zr, es] }, Oc = "x-diggidy-chat-id", Cc = "timestamp", kc = "tokenUsage", L = "Diggidy", Pc = { TOOL: { MEMORIES: "getUserMemories" }, ADDON: { ATTACHMENTS: "addon:attachments", REASONING: "addon:reasoning" } }, Mc = (e) => {
8
8
  if (!e || e.length === 0) return [];
9
9
  let t = /* @__PURE__ */ new Set();
10
10
  for (let r of e) for (let [s, n] of Object.entries(ts)) n.includes(r) && (s === ft || s === zt || s === qt) && t.add(s);
@@ -17,7 +17,7 @@ let _c = "user", Ac = "assistant", ft = "OpenAI", zt = "Anthropic", qt = "Google
17
17
  break;
18
18
  }
19
19
  return t;
20
- }, Pc = (e) => {
20
+ }, Nc = (e) => {
21
21
  for (let t of un(e).values()) if (t.length > 1) return !0;
22
22
  return !1;
23
23
  }, xc = (e, t) => !!e && !!t && t.length !== 0 && t.includes(e);
@@ -117,7 +117,7 @@ function X() {
117
117
  function gn(e, t) {
118
118
  return typeof e == "function" ? e(t) : e;
119
119
  }
120
- function Nt(e) {
120
+ function Mt(e) {
121
121
  return typeof e == "number" && e >= 0 && e !== 1 / 0;
122
122
  }
123
123
  function rs(e, t) {
@@ -178,7 +178,7 @@ function Ke(e, t) {
178
178
  return e === t ? !0 : typeof e != typeof t ? !1 : e && t && typeof e == "object" && typeof t == "object" ? Object.keys(t).every((r) => Ke(e[r], t[r])) : !1;
179
179
  }
180
180
  var En = Object.prototype.hasOwnProperty;
181
- function Pt(e, t) {
181
+ function Nt(e, t) {
182
182
  if (e === t)
183
183
  return e;
184
184
  const r = or(e) && or(t);
@@ -195,7 +195,7 @@ function Pt(e, t) {
195
195
  o[d] = u;
196
196
  continue;
197
197
  }
198
- const p = Pt(h, u);
198
+ const p = Nt(h, u);
199
199
  o[d] = p, p === h && c++;
200
200
  }
201
201
  return n === i && c === n ? e : o;
@@ -234,13 +234,13 @@ function Lt(e, t, r) {
234
234
  if (r.structuralSharing !== !1) {
235
235
  if (process.env.NODE_ENV !== "production")
236
236
  try {
237
- return Pt(e, t);
237
+ return Nt(e, t);
238
238
  } catch (s) {
239
239
  throw console.error(
240
240
  `Structural sharing requires data to be JSON serializable. To fix this, turn off structuralSharing or return JSON-serializable data from your queryFn. [${r.queryHash}]: ${s}`
241
241
  ), s;
242
242
  }
243
- return Pt(e, t);
243
+ return Nt(e, t);
244
244
  }
245
245
  return t;
246
246
  }
@@ -458,8 +458,8 @@ function is(e) {
458
458
  Promise.resolve(g).then(h).catch((b) => {
459
459
  if (a())
460
460
  return;
461
- const x = e.retry ?? (ve ? 0 : 3), A = e.retryDelay ?? An, J = typeof A == "function" ? A(r, b) : A, M = x === !0 || typeof x == "number" && r < x || typeof x == "function" && x(r, b);
462
- if (t || !M) {
461
+ const x = e.retry ?? (ve ? 0 : 3), A = e.retryDelay ?? An, J = typeof A == "function" ? A(r, b) : A, P = x === !0 || typeof x == "number" && r < x || typeof x == "function" && x(r, b);
462
+ if (t || !P) {
463
463
  u(b);
464
464
  return;
465
465
  }
@@ -485,7 +485,7 @@ var os = class {
485
485
  this.clearGcTimeout();
486
486
  }
487
487
  scheduleGc() {
488
- this.clearGcTimeout(), Nt(this.gcTime) && (this.#e = Te.setTimeout(() => {
488
+ this.clearGcTimeout(), Mt(this.gcTime) && (this.#e = Te.setTimeout(() => {
489
489
  this.optionalRemove();
490
490
  }, this.gcTime));
491
491
  }
@@ -917,7 +917,7 @@ var On = class extends De {
917
917
  this.options.staleTime,
918
918
  this.#t
919
919
  );
920
- if (ve || this.#n.isStale || !Nt(e))
920
+ if (ve || this.#n.isStale || !Mt(e))
921
921
  return;
922
922
  const r = rs(this.#n.dataUpdatedAt, e) + 1;
923
923
  this.#l = Te.setTimeout(() => {
@@ -928,7 +928,7 @@ var On = class extends De {
928
928
  return (typeof this.options.refetchInterval == "function" ? this.options.refetchInterval(this.#t) : this.options.refetchInterval) ?? !1;
929
929
  }
930
930
  #E(e) {
931
- this.#b(), this.#c = e, !(ve || te(this.options.enabled, this.#t) === !1 || !Nt(this.#c) || this.#c === 0) && (this.#u = Te.setInterval(() => {
931
+ this.#b(), this.#c = e, !(ve || te(this.options.enabled, this.#t) === !1 || !Mt(this.#c) || this.#c === 0) && (this.#u = Te.setInterval(() => {
932
932
  (this.options.refetchIntervalInBackground || jt.isFocused()) && this.#d();
933
933
  }, this.#c));
934
934
  }
@@ -975,7 +975,7 @@ var On = class extends De {
975
975
  this.#a = I;
976
976
  }
977
977
  this.#a && (p = this.#a, u = this.#h, y = Date.now(), g = "error");
978
- const b = d.fetchStatus === "fetching", x = g === "pending", A = g === "error", J = x && b, M = u !== void 0, N = {
978
+ const b = d.fetchStatus === "fetching", x = g === "pending", A = g === "error", J = x && b, P = u !== void 0, M = {
979
979
  status: g,
980
980
  fetchStatus: d.fetchStatus,
981
981
  isPending: x,
@@ -994,10 +994,10 @@ var On = class extends De {
994
994
  isFetchedAfterMount: d.dataUpdateCount > c.dataUpdateCount || d.errorUpdateCount > c.errorUpdateCount,
995
995
  isFetching: b,
996
996
  isRefetching: b && !x,
997
- isLoadingError: A && !M,
997
+ isLoadingError: A && !P,
998
998
  isPaused: d.fetchStatus === "paused",
999
999
  isPlaceholderData: h,
1000
- isRefetchError: A && M,
1000
+ isRefetchError: A && P,
1001
1001
  isStale: Qt(e, t),
1002
1002
  refetch: this.refetch,
1003
1003
  promise: this.#o,
@@ -1005,9 +1005,9 @@ var On = class extends De {
1005
1005
  };
1006
1006
  if (this.options.experimental_prefetchInRender) {
1007
1007
  const I = (R) => {
1008
- N.status === "error" ? R.reject(N.error) : N.data !== void 0 && R.resolve(N.data);
1008
+ M.status === "error" ? R.reject(M.error) : M.data !== void 0 && R.resolve(M.data);
1009
1009
  }, G = () => {
1010
- const R = this.#o = N.promise = Dt();
1010
+ const R = this.#o = M.promise = Dt();
1011
1011
  I(R);
1012
1012
  }, C = this.#o;
1013
1013
  switch (C.status) {
@@ -1015,14 +1015,14 @@ var On = class extends De {
1015
1015
  e.queryHash === r.queryHash && I(C);
1016
1016
  break;
1017
1017
  case "fulfilled":
1018
- (N.status === "error" || N.data !== C.value) && G();
1018
+ (M.status === "error" || M.data !== C.value) && G();
1019
1019
  break;
1020
1020
  case "rejected":
1021
- (N.status !== "error" || N.error !== C.reason) && G();
1021
+ (M.status !== "error" || M.error !== C.reason) && G();
1022
1022
  break;
1023
1023
  }
1024
1024
  }
1025
- return N;
1025
+ return M;
1026
1026
  }
1027
1027
  updateResult() {
1028
1028
  const e = this.#n, t = this.createResult(this.#t, this.options);
@@ -1116,14 +1116,14 @@ function fr(e) {
1116
1116
  meta: t.options.meta
1117
1117
  };
1118
1118
  return h(se), se;
1119
- })(), A = await u(x), { maxPages: J } = t.options, M = S ? bn : Sn;
1119
+ })(), A = await u(x), { maxPages: J } = t.options, P = S ? bn : Sn;
1120
1120
  return {
1121
- pages: M(y.pages, A, J),
1122
- pageParams: M(y.pageParams, g, J)
1121
+ pages: P(y.pages, A, J),
1122
+ pageParams: P(y.pageParams, g, J)
1123
1123
  };
1124
1124
  };
1125
1125
  if (n && a.length) {
1126
- const y = n === "backward", g = y ? Mn : pr, S = {
1126
+ const y = n === "backward", g = y ? Pn : pr, S = {
1127
1127
  pages: a,
1128
1128
  pageParams: i
1129
1129
  }, b = g(s, S);
@@ -1161,10 +1161,10 @@ function pr(e, { pages: t, pageParams: r }) {
1161
1161
  r
1162
1162
  ) : void 0;
1163
1163
  }
1164
- function Mn(e, { pages: t, pageParams: r }) {
1164
+ function Pn(e, { pages: t, pageParams: r }) {
1165
1165
  return t.length > 0 ? e.getPreviousPageParam?.(t[0], t, r[0], r) : void 0;
1166
1166
  }
1167
- var Nn = class extends os {
1167
+ var Mn = class extends os {
1168
1168
  #e;
1169
1169
  #t;
1170
1170
  #r;
@@ -1380,7 +1380,7 @@ function ls() {
1380
1380
  submittedAt: 0
1381
1381
  };
1382
1382
  }
1383
- var Pn = class extends De {
1383
+ var Nn = class extends De {
1384
1384
  constructor(e = {}) {
1385
1385
  super(), this.config = e, this.#e = /* @__PURE__ */ new Set(), this.#t = /* @__PURE__ */ new Map(), this.#r = 0;
1386
1386
  }
@@ -1388,7 +1388,7 @@ var Pn = class extends De {
1388
1388
  #t;
1389
1389
  #r;
1390
1390
  build(e, t, r) {
1391
- const s = new Nn({
1391
+ const s = new Mn({
1392
1392
  client: e,
1393
1393
  mutationCache: this,
1394
1394
  mutationId: ++this.#r,
@@ -1636,7 +1636,7 @@ var xn = class extends De {
1636
1636
  #o;
1637
1637
  #a;
1638
1638
  constructor(e = {}) {
1639
- this.#e = e.queryCache || new Ln(), this.#t = e.mutationCache || new Pn(), this.#r = e.defaultOptions || {}, this.#n = /* @__PURE__ */ new Map(), this.#s = /* @__PURE__ */ new Map(), this.#i = 0;
1639
+ this.#e = e.queryCache || new Ln(), this.#t = e.mutationCache || new Nn(), this.#r = e.defaultOptions || {}, this.#n = /* @__PURE__ */ new Map(), this.#s = /* @__PURE__ */ new Map(), this.#i = 0;
1640
1640
  }
1641
1641
  mount() {
1642
1642
  this.#i++, this.#i === 1 && (this.#o = jt.subscribe(async (e) => {
@@ -2578,7 +2578,7 @@ async function va(e, t) {
2578
2578
  return e.k ? Fe(e.k) : Er(e, e, t, !0);
2579
2579
  throw new Error("unreachable");
2580
2580
  }
2581
- const Pe = (e) => e?.[Symbol.toStringTag], Ht = (e, t, r) => {
2581
+ const Ne = (e) => e?.[Symbol.toStringTag], Ht = (e, t, r) => {
2582
2582
  if (t.use !== void 0) {
2583
2583
  let s;
2584
2584
  switch (r) {
@@ -2631,7 +2631,7 @@ const Pe = (e) => e?.[Symbol.toStringTag], Ht = (e, t, r) => {
2631
2631
  if (!gs(t))
2632
2632
  throw new TypeError(ps(e, t, "CryptoKey", "KeyObject", "JSON Web Key", "Uint8Array"));
2633
2633
  if (t.type !== "secret")
2634
- throw new TypeError(`${Pe(t)} instances for symmetric algorithms must be of type "secret"`);
2634
+ throw new TypeError(`${Ne(t)} instances for symmetric algorithms must be of type "secret"`);
2635
2635
  }
2636
2636
  }, _a = (e, t, r) => {
2637
2637
  if (Yt(t))
@@ -2650,20 +2650,20 @@ const Pe = (e) => e?.[Symbol.toStringTag], Ht = (e, t, r) => {
2650
2650
  if (!gs(t))
2651
2651
  throw new TypeError(ps(e, t, "CryptoKey", "KeyObject", "JSON Web Key"));
2652
2652
  if (t.type === "secret")
2653
- throw new TypeError(`${Pe(t)} instances for asymmetric algorithms must not be of type "secret"`);
2653
+ throw new TypeError(`${Ne(t)} instances for asymmetric algorithms must not be of type "secret"`);
2654
2654
  if (t.type === "public")
2655
2655
  switch (r) {
2656
2656
  case "sign":
2657
- throw new TypeError(`${Pe(t)} instances for asymmetric algorithm signing must be of type "private"`);
2657
+ throw new TypeError(`${Ne(t)} instances for asymmetric algorithm signing must be of type "private"`);
2658
2658
  case "decrypt":
2659
- throw new TypeError(`${Pe(t)} instances for asymmetric algorithm decryption must be of type "private"`);
2659
+ throw new TypeError(`${Ne(t)} instances for asymmetric algorithm decryption must be of type "private"`);
2660
2660
  }
2661
2661
  if (t.type === "private")
2662
2662
  switch (r) {
2663
2663
  case "verify":
2664
- throw new TypeError(`${Pe(t)} instances for asymmetric algorithm verifying must be of type "public"`);
2664
+ throw new TypeError(`${Ne(t)} instances for asymmetric algorithm verifying must be of type "public"`);
2665
2665
  case "encrypt":
2666
- throw new TypeError(`${Pe(t)} instances for asymmetric algorithm encryption must be of type "public"`);
2666
+ throw new TypeError(`${Ne(t)} instances for asymmetric algorithm encryption must be of type "public"`);
2667
2667
  }
2668
2668
  };
2669
2669
  function Aa(e, t, r) {
@@ -2791,7 +2791,7 @@ async function ka(e, t, r) {
2791
2791
  const y = { payload: p };
2792
2792
  return e.protected !== void 0 && (y.protectedHeader = s), e.header !== void 0 && (y.unprotectedHeader = e.header), f ? { ...y, key: u } : y;
2793
2793
  }
2794
- async function Ma(e, t, r) {
2794
+ async function Pa(e, t, r) {
2795
2795
  if (e instanceof Uint8Array && (e = Le.decode(e)), typeof e != "string")
2796
2796
  throw new W("Compact JWS must be a string or Uint8Array");
2797
2797
  const { 0: s, 1: n, 2: a, length: i } = e.split(".");
@@ -2800,7 +2800,7 @@ async function Ma(e, t, r) {
2800
2800
  const o = await ka({ payload: n, protected: s, signature: a }, t, r), c = { payload: o.payload, protectedHeader: o.protectedHeader };
2801
2801
  return typeof t == "function" ? { ...c, key: o.key } : c;
2802
2802
  }
2803
- const Na = (e) => Math.floor(e.getTime() / 1e3), ws = 60, Ss = ws * 60, Jt = Ss * 24, Pa = Jt * 7, xa = Jt * 365.25, La = /^(\+|\-)? ?(\d+|\d+\.\d+) ?(seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)(?: (ago|from now))?$/i;
2803
+ const Ma = (e) => Math.floor(e.getTime() / 1e3), ws = 60, Ss = ws * 60, Jt = Ss * 24, Na = Jt * 7, xa = Jt * 365.25, La = /^(\+|\-)? ?(\d+|\d+\.\d+) ?(seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)(?: (ago|from now))?$/i;
2804
2804
  function wr(e) {
2805
2805
  const t = La.exec(e);
2806
2806
  if (!t || t[4] && t[1])
@@ -2837,7 +2837,7 @@ function wr(e) {
2837
2837
  case "week":
2838
2838
  case "weeks":
2839
2839
  case "w":
2840
- n = Math.round(r * Pa);
2840
+ n = Math.round(r * Na);
2841
2841
  break;
2842
2842
  default:
2843
2843
  n = Math.round(r * xa);
@@ -2882,7 +2882,7 @@ function $a(e, t, r = {}) {
2882
2882
  default:
2883
2883
  throw new TypeError("Invalid clockTolerance option type");
2884
2884
  }
2885
- const { currentDate: u } = r, p = Na(u || /* @__PURE__ */ new Date());
2885
+ const { currentDate: u } = r, p = Ma(u || /* @__PURE__ */ new Date());
2886
2886
  if ((s.iat !== void 0 || f) && typeof s.iat != "number")
2887
2887
  throw new ne('"iat" claim must be a number', s, "iat", "invalid");
2888
2888
  if (s.nbf !== void 0) {
@@ -2907,7 +2907,7 @@ function $a(e, t, r = {}) {
2907
2907
  return s;
2908
2908
  }
2909
2909
  async function Ua(e, t, r) {
2910
- const s = await Ma(e, t, r);
2910
+ const s = await Pa(e, t, r);
2911
2911
  if (s.protectedHeader.crit?.includes("b64") && s.protectedHeader.b64 === !1)
2912
2912
  throw new de("JWTs MUST NOT use unencoded payload");
2913
2913
  const n = { payload: $a(s.protectedHeader, s.payload, r), protectedHeader: s.protectedHeader };
@@ -3364,7 +3364,7 @@ const Ir = (e, t) => {
3364
3364
  window.localStorage.removeItem(e), As(e, null);
3365
3365
  }, _r = (e) => window.localStorage.getItem(e), ii = (e) => (window.addEventListener("storage", e), () => window.removeEventListener("storage", e));
3366
3366
  function je({ key: e, initialValue: t }) {
3367
- const r = Gr(ii, () => _r(e)), s = P((i) => {
3367
+ const r = Gr(ii, () => _r(e)), s = N((i) => {
3368
3368
  try {
3369
3369
  const o = typeof i == "function" ? i(JSON.parse(r)) : i;
3370
3370
  o == null ? ai(e) : Ir(e, o);
@@ -3374,12 +3374,12 @@ function je({ key: e, initialValue: t }) {
3374
3374
  }, [
3375
3375
  e,
3376
3376
  r
3377
- ]), n = P(() => {
3377
+ ]), n = N(() => {
3378
3378
  s(t);
3379
3379
  }, [
3380
3380
  t,
3381
3381
  s
3382
- ]), a = P(() => {
3382
+ ]), a = N(() => {
3383
3383
  s(null);
3384
3384
  }, [
3385
3385
  s
@@ -3524,7 +3524,7 @@ const Ce = "Your session has expired. For your security, please log in again to
3524
3524
  schema: Ye.VERIFY_AUTHENTICATION,
3525
3525
  method: "verifyPasskeyAuthentication"
3526
3526
  }
3527
- }, Me = async ({
3527
+ }, Pe = async ({
3528
3528
  accessToken: e,
3529
3529
  type: t,
3530
3530
  clientId: r,
@@ -3581,7 +3581,7 @@ const Ce = "Your session has expired. For your security, please log in again to
3581
3581
  } catch (n) {
3582
3582
  return console.error(n), { status: ce, data: [] };
3583
3583
  }
3584
- }, pi = process.env.NODE_ENV === "production", yi = !pi, Ms = {
3584
+ }, pi = process.env.NODE_ENV === "production", yi = !pi, Ps = {
3585
3585
  isLoading: !0,
3586
3586
  isAuthenticated: !1,
3587
3587
  user: void 0,
@@ -3787,28 +3787,28 @@ class bi {
3787
3787
  };
3788
3788
  }
3789
3789
  }
3790
- const Ne = () => {
3790
+ const Me = () => {
3791
3791
  throw new Error(fi);
3792
- }, Ns = Gt({
3792
+ }, Ms = Gt({
3793
3793
  isAuthenticated: !1,
3794
3794
  isLoading: !1,
3795
- login: Ne,
3796
- logout: Ne,
3797
- getAccessToken: Ne,
3798
- getIdToken: Ne,
3799
- registeringForPasskey: Ne,
3800
- loginWithPasskey: Ne,
3795
+ login: Me,
3796
+ logout: Me,
3797
+ getAccessToken: Me,
3798
+ getIdToken: Me,
3799
+ registeringForPasskey: Me,
3800
+ loginWithPasskey: Me,
3801
3801
  logoutReason: "",
3802
3802
  authenticationType: ""
3803
3803
  }), Ti = () => ({
3804
- ...ze(Ns)
3805
- }), vi = (e) => P(
3804
+ ...ze(Ms)
3805
+ }), vi = (e) => N(
3806
3806
  (...t) => {
3807
3807
  e && console.info(`==> [Auth ${Date.now()}]: `, ...t);
3808
3808
  },
3809
3809
  [e]
3810
3810
  ), Ii = re.createContext({
3811
- state: Ms,
3811
+ state: Ps,
3812
3812
  dispatch: () => {
3813
3813
  }
3814
3814
  }), _i = (e, t) => t?.type === Ue ? {
@@ -3840,7 +3840,7 @@ const Ne = () => {
3840
3840
  endpoint: a = yi ? "https://auth.gizmette.local.com:3003" : "https://mylogin.gizmette.com/auth"
3841
3841
  }) => {
3842
3842
  const [i, o] = Vr(_i, {
3843
- ...Ms,
3843
+ ...Ps,
3844
3844
  debug: n
3845
3845
  }), c = vi(n), f = B(!1), [d, h, , u] = je({
3846
3846
  key: `${Qe}::${r}::@@user@@`
@@ -3850,17 +3850,17 @@ const Ne = () => {
3850
3850
  {
3851
3851
  key: `${Qe}::${r}::@@refresh@@`
3852
3852
  }
3853
- ), [A, J, , M] = je({
3853
+ ), [A, J, , P] = je({
3854
3854
  key: `${Qe}::${r}::@@nonce@@`
3855
- }), se = new bi(p, S), N = P(() => {
3856
- c("removeLocalStorage: removing local storage"), u(), g(), x(), M();
3855
+ }), se = new bi(p, S), M = N(() => {
3856
+ c("removeLocalStorage: removing local storage"), u(), g(), x(), P();
3857
3857
  }, [
3858
3858
  g,
3859
3859
  u,
3860
- M,
3860
+ P,
3861
3861
  x,
3862
3862
  c
3863
- ]), I = P(
3863
+ ]), I = N(
3864
3864
  (T) => {
3865
3865
  c(
3866
3866
  "removeStateAndLocalStorage: removing state and local storage with reason: ",
@@ -3870,10 +3870,10 @@ const Ne = () => {
3870
3870
  payload: {
3871
3871
  logoutReason: T || Ce
3872
3872
  }
3873
- }), N(), o({ type: Ue, payload: { isLoading: !1 } });
3873
+ }), M(), o({ type: Ue, payload: { isLoading: !1 } });
3874
3874
  },
3875
- [N, c]
3876
- ), G = P(
3875
+ [M, c]
3876
+ ), G = N(
3877
3877
  async (T) => {
3878
3878
  c("invalidateAndLogout: invalidating and logging out");
3879
3879
  const { user: _ } = i, v = _?.userId || mi(d);
@@ -3923,7 +3923,7 @@ const Ne = () => {
3923
3923
  };
3924
3924
  }, [i.isLoading, d, G, c]);
3925
3925
  const C = async (T, _) => {
3926
- o({ type: Ue, payload: { isLoading: !0 } }), N();
3926
+ o({ type: Ue, payload: { isLoading: !0 } }), M();
3927
3927
  const v = _t();
3928
3928
  J(v), c("login: Logging in with password");
3929
3929
  const { code_verifier: ge, code_challenge: Ee } = await ja(), nr = await wi({
@@ -3993,7 +3993,7 @@ const Ne = () => {
3993
3993
  }
3994
3994
  }, ee = () => i.isAuthenticated && d ? d : "", me = async () => {
3995
3995
  const { user: T } = i;
3996
- let _ = await Me({
3996
+ let _ = await Pe({
3997
3997
  endpoint: a,
3998
3998
  accessToken: p,
3999
3999
  clientId: r,
@@ -4009,7 +4009,7 @@ const Ne = () => {
4009
4009
  const v = await ti({
4010
4010
  optionsJSON: _.data
4011
4011
  });
4012
- return _ = await Me({
4012
+ return _ = await Pe({
4013
4013
  endpoint: a,
4014
4014
  accessToken: p,
4015
4015
  clientId: r,
@@ -4022,7 +4022,7 @@ const Ne = () => {
4022
4022
  }
4023
4023
  }), !!(_.status && _.data.length > 0);
4024
4024
  } catch {
4025
- return await Me({
4025
+ return await Pe({
4026
4026
  endpoint: a,
4027
4027
  accessToken: p,
4028
4028
  clientId: r,
@@ -4037,11 +4037,11 @@ const Ne = () => {
4037
4037
  }
4038
4038
  return !1;
4039
4039
  }, Ae = async () => {
4040
- o({ type: Ue, payload: { isLoading: !0 } }), N();
4040
+ o({ type: Ue, payload: { isLoading: !0 } }), M();
4041
4041
  const T = _t();
4042
4042
  J(T), c("loginWithPasskey");
4043
4043
  const _ = _t();
4044
- let v = await Me({
4044
+ let v = await Pe({
4045
4045
  endpoint: a,
4046
4046
  accessToken: p,
4047
4047
  clientId: r,
@@ -4056,7 +4056,7 @@ const Ne = () => {
4056
4056
  const ge = await ni({
4057
4057
  optionsJSON: v.data
4058
4058
  });
4059
- return v = await Me({
4059
+ return v = await Pe({
4060
4060
  endpoint: a,
4061
4061
  accessToken: p,
4062
4062
  clientId: r,
@@ -4082,7 +4082,7 @@ const Ne = () => {
4082
4082
  }
4083
4083
  }), !0) : (I(At), !1);
4084
4084
  } catch {
4085
- return await Me({
4085
+ return await Pe({
4086
4086
  endpoint: a,
4087
4087
  accessToken: p,
4088
4088
  clientId: r,
@@ -4100,7 +4100,7 @@ const Ne = () => {
4100
4100
  return !1;
4101
4101
  };
4102
4102
  return /* @__PURE__ */ l(Ii.Provider, { value: { state: i, dispatch: o }, children: /* @__PURE__ */ l(
4103
- Ns.Provider,
4103
+ Ms.Provider,
4104
4104
  {
4105
4105
  value: {
4106
4106
  ...i,
@@ -4128,7 +4128,7 @@ try {
4128
4128
  });
4129
4129
  } catch {
4130
4130
  }
4131
- const Ps = () => {
4131
+ const Ns = () => {
4132
4132
  const e = ze(bs);
4133
4133
  if (!e)
4134
4134
  throw new Error("useAuth must be used within an AuthHookProvider");
@@ -4277,7 +4277,7 @@ function ki(e) {
4277
4277
  nanoseconds: Math.trunc(kr(e * 1e6) % 1e3)
4278
4278
  };
4279
4279
  }
4280
- function Mi(e) {
4280
+ function Pi(e) {
4281
4281
  return {
4282
4282
  days: e / 86400000n,
4283
4283
  hours: e / 3600000n % 24n,
@@ -4288,7 +4288,7 @@ function Mi(e) {
4288
4288
  nanoseconds: 0n
4289
4289
  };
4290
4290
  }
4291
- function Ni(e) {
4291
+ function Mi(e) {
4292
4292
  switch (typeof e) {
4293
4293
  case "number": {
4294
4294
  if (Number.isFinite(e))
@@ -4296,11 +4296,11 @@ function Ni(e) {
4296
4296
  break;
4297
4297
  }
4298
4298
  case "bigint":
4299
- return Mi(e);
4299
+ return Pi(e);
4300
4300
  }
4301
4301
  throw new TypeError("Expected a finite number or bigint");
4302
4302
  }
4303
- const Pi = (e) => e === 0 || e === 0n, xi = (e, t) => t === 1 || t === 1n ? e : `${e}s`, Li = 1e-7, Di = 24n * 60n * 60n * 1000n;
4303
+ const Ni = (e) => e === 0 || e === 0n, xi = (e, t) => t === 1 || t === 1n ? e : `${e}s`, Li = 1e-7, Di = 24n * 60n * 60n * 1000n;
4304
4304
  function $i(e, t) {
4305
4305
  const r = typeof e == "bigint";
4306
4306
  if (!r && !Number.isFinite(e))
@@ -4313,7 +4313,7 @@ function $i(e, t) {
4313
4313
  const u = Math.floor(d * 10 ** h + Li);
4314
4314
  return (Math.round(u) / 10 ** h).toFixed(h);
4315
4315
  }, i = (d, h, u, p) => {
4316
- if (!((n.length === 0 || !t.colonNotation) && Pi(d) && !(t.colonNotation && u === "m"))) {
4316
+ if (!((n.length === 0 || !t.colonNotation) && Ni(d) && !(t.colonNotation && u === "m"))) {
4317
4317
  if (p ??= String(d), t.colonNotation) {
4318
4318
  const y = p.includes(".") ? p.split(".")[0].length : p.length, g = n.length > 0 ? 2 : 1;
4319
4319
  p = "0".repeat(Math.max(0, g - y)) + p;
@@ -4321,7 +4321,7 @@ function $i(e, t) {
4321
4321
  p += t.verbose ? " " + xi(h, d) : u;
4322
4322
  n.push(p);
4323
4323
  }
4324
- }, o = Ni(e), c = BigInt(o.days);
4324
+ }, o = Mi(e), c = BigInt(o.days);
4325
4325
  if (t.hideYearAndDays ? i(BigInt(c) * 24n + BigInt(o.hours), "hour", "h") : (t.hideYear ? i(c, "day", "d") : (i(c / 365n, "year", "y"), i(c % 365n, "day", "d")), i(Number(o.hours), "hour", "h")), i(Number(o.minutes), "minute", "m"), !t.hideSeconds)
4326
4326
  if (t.separateMilliseconds || t.formatSubMilliseconds || !t.colonNotation && e < 1e3 && !t.subSecondsAsDecimals) {
4327
4327
  const d = Number(o.seconds), h = Number(o.milliseconds), u = Number(o.microseconds), p = Number(o.nanoseconds);
@@ -5028,7 +5028,7 @@ const zi = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
5028
5028
  type: V.GET_CHAT,
5029
5029
  getAccessToken: t
5030
5030
  })
5031
- }), Ml = ({
5031
+ }), Pl = ({
5032
5032
  getAccessToken: e
5033
5033
  }) => {
5034
5034
  const t = le();
@@ -5052,7 +5052,7 @@ const zi = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
5052
5052
  t.invalidateQueries({ queryKey: [K.CHATS, s.userId] });
5053
5053
  }
5054
5054
  });
5055
- }, Nl = ({
5055
+ }, Ml = ({
5056
5056
  getAccessToken: e
5057
5057
  }) => {
5058
5058
  const t = le();
@@ -5069,7 +5069,7 @@ const zi = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
5069
5069
  t.invalidateQueries({ queryKey: [K.CHATS, s.userId] });
5070
5070
  }
5071
5071
  });
5072
- }, Pl = ({
5072
+ }, Nl = ({
5073
5073
  getAccessToken: e
5074
5074
  }) => {
5075
5075
  const t = le();
@@ -5282,7 +5282,7 @@ const zi = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
5282
5282
  }
5283
5283
  }, Gs = Gt(
5284
5284
  void 0
5285
- ), Mr = {
5285
+ ), Pr = {
5286
5286
  capabilities: /* @__PURE__ */ new Set(),
5287
5287
  allowedModels: [],
5288
5288
  version: null,
@@ -5292,10 +5292,10 @@ const zi = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
5292
5292
  getAccessToken: t,
5293
5293
  children: r
5294
5294
  }) => {
5295
- const [s, n] = Z(Mr), a = Be(
5295
+ const [s, n] = Z(Pr), a = Be(
5296
5296
  () => e ? `entitlements:${e}` : null,
5297
5297
  [e]
5298
- ), i = P(() => {
5298
+ ), i = N(() => {
5299
5299
  if (!a)
5300
5300
  return !1;
5301
5301
  try {
@@ -5346,7 +5346,7 @@ const zi = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
5346
5346
  } catch {
5347
5347
  }
5348
5348
  }, [o.data, a]);
5349
- const c = P(
5349
+ const c = N(
5350
5350
  (h) => {
5351
5351
  const u = h?.entitlements;
5352
5352
  if (u && (n({
@@ -5368,8 +5368,8 @@ const zi = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
5368
5368
  }
5369
5369
  },
5370
5370
  [a]
5371
- ), f = P(() => {
5372
- if (n(Mr), a)
5371
+ ), f = N(() => {
5372
+ if (n(Pr), a)
5373
5373
  try {
5374
5374
  sessionStorage.removeItem(a);
5375
5375
  } catch {
@@ -5392,13 +5392,13 @@ function Kl() {
5392
5392
  return e;
5393
5393
  }
5394
5394
  /*!
5395
- @versini/ui-button v10.0.1
5395
+ @versini/ui-button v10.0.2
5396
5396
  © 2025 gizmette.com
5397
5397
  */
5398
5398
  try {
5399
5399
  window.__VERSINI_UI_BUTTON__ || (window.__VERSINI_UI_BUTTON__ = {
5400
- version: "10.0.1",
5401
- buildTime: "12/12/2025 10:28 AM EST",
5400
+ version: "10.0.2",
5401
+ buildTime: "12/13/2025 02:40 PM EST",
5402
5402
  homepage: "https://www.npmjs.com/package/@versini/ui-button",
5403
5403
  license: "MIT"
5404
5404
  });
@@ -5418,27 +5418,27 @@ const io = (e, t, r) => {
5418
5418
  });
5419
5419
  tr.displayName = "BaseButton";
5420
5420
  /*!
5421
- @versini/ui-button v10.0.1
5421
+ @versini/ui-button v10.0.2
5422
5422
  © 2025 gizmette.com
5423
5423
  */
5424
5424
  try {
5425
5425
  window.__VERSINI_UI_BUTTON__ || (window.__VERSINI_UI_BUTTON__ = {
5426
- version: "10.0.1",
5427
- buildTime: "12/12/2025 10:28 AM EST",
5426
+ version: "10.0.2",
5427
+ buildTime: "12/13/2025 02:40 PM EST",
5428
5428
  homepage: "https://www.npmjs.com/package/@versini/ui-button",
5429
5429
  license: "MIT"
5430
5430
  });
5431
5431
  } catch {
5432
5432
  }
5433
- const Nr = "av-button";
5433
+ const Mr = "av-button";
5434
5434
  /*!
5435
- @versini/ui-button v10.0.1
5435
+ @versini/ui-button v10.0.2
5436
5436
  © 2025 gizmette.com
5437
5437
  */
5438
5438
  try {
5439
5439
  window.__VERSINI_UI_BUTTON__ || (window.__VERSINI_UI_BUTTON__ = {
5440
- version: "10.0.1",
5441
- buildTime: "12/12/2025 10:28 AM EST",
5440
+ version: "10.0.2",
5441
+ buildTime: "12/13/2025 02:40 PM EST",
5442
5442
  homepage: "https://www.npmjs.com/package/@versini/ui-button",
5443
5443
  license: "MIT"
5444
5444
  });
@@ -5675,7 +5675,7 @@ const mt = "icon", rr = "button", Bt = "link", oo = ({ type: e, size: t, labelRi
5675
5675
  }), m(n, r);
5676
5676
  }, Eo = ({ animated: e }) => m({
5677
5677
  "transition-opacity duration-300 ease-in-out": e
5678
- }), zs = ({ type: e, className: t, raw: r, mode: s, focusMode: n, disabled: a, fullWidth: i, size: o, noBorder: c, labelRight: f, labelLeft: d, noBackground: h, variant: u, truncate: p, align: y, radius: g, animated: S }) => (u || (u = "primary"), r ? m(Nr, t) : m(Nr, lo({
5678
+ }), zs = ({ type: e, className: t, raw: r, mode: s, focusMode: n, disabled: a, fullWidth: i, size: o, noBorder: c, labelRight: f, labelLeft: d, noBackground: h, variant: u, truncate: p, align: y, radius: g, animated: S }) => (u || (u = "primary"), r ? m(Mr, t) : m(Mr, lo({
5679
5679
  mode: s,
5680
5680
  variant: u,
5681
5681
  noBackground: h,
@@ -5719,13 +5719,13 @@ const mt = "icon", rr = "button", Bt = "link", oo = ({ type: e, size: t, labelRi
5719
5719
  "transition-[width] duration-300 ease-in": e === mt && S
5720
5720
  }), t));
5721
5721
  /*!
5722
- @versini/ui-button v10.0.1
5722
+ @versini/ui-button v10.0.2
5723
5723
  © 2025 gizmette.com
5724
5724
  */
5725
5725
  try {
5726
5726
  window.__VERSINI_UI_BUTTON__ || (window.__VERSINI_UI_BUTTON__ = {
5727
- version: "10.0.1",
5728
- buildTime: "12/12/2025 10:28 AM EST",
5727
+ version: "10.0.2",
5728
+ buildTime: "12/13/2025 02:40 PM EST",
5729
5729
  homepage: "https://www.npmjs.com/package/@versini/ui-button",
5730
5730
  license: "MIT"
5731
5731
  });
@@ -5768,7 +5768,7 @@ try {
5768
5768
  });
5769
5769
  } catch {
5770
5770
  }
5771
- const Pr = [
5771
+ const Nr = [
5772
5772
  "mousedown",
5773
5773
  "touchstart"
5774
5774
  ];
@@ -5782,8 +5782,8 @@ function Vl(e, t, r) {
5782
5782
  r.every((f) => !!f && !a.composedPath().includes(f)) && !o && e();
5783
5783
  } else s.current && !s.current.contains(i) && e();
5784
5784
  };
5785
- return Pr.forEach((a) => document.addEventListener(a, n)), () => {
5786
- Pr.forEach((a) => document.removeEventListener(a, n));
5785
+ return Nr.forEach((a) => document.addEventListener(a, n)), () => {
5786
+ Nr.forEach((a) => document.removeEventListener(a, n));
5787
5787
  };
5788
5788
  }, [
5789
5789
  e,
@@ -5823,7 +5823,7 @@ const wo = () => {
5823
5823
  e.current.clear(), Je--, Je === 0 && So();
5824
5824
  };
5825
5825
  }, []);
5826
- const t = P(() => {
5826
+ const t = N(() => {
5827
5827
  try {
5828
5828
  if (navigator?.vibrate) {
5829
5829
  navigator.vibrate(Ct);
@@ -5834,7 +5834,7 @@ const wo = () => {
5834
5834
  }
5835
5835
  }, []);
5836
5836
  return {
5837
- haptic: P((s = 1) => {
5837
+ haptic: N((s = 1) => {
5838
5838
  if (!(typeof window > "u") && !(s < 1)) {
5839
5839
  if (navigator?.vibrate && s > 1) {
5840
5840
  const n = [];
@@ -5922,11 +5922,11 @@ function ql(e, t = [
5922
5922
  ]);
5923
5923
  }
5924
5924
  function Wl(e, t) {
5925
- const [r, s] = Z(!1), n = B(null), a = B(null), i = P(() => {
5925
+ const [r, s] = Z(!1), n = B(null), a = B(null), i = N(() => {
5926
5926
  s((c) => (!c && (!n.current || n.current === -1) && (n.current = window.setInterval(a.current, t)), !0));
5927
5927
  }, [
5928
5928
  t
5929
- ]), o = P(() => {
5929
+ ]), o = N(() => {
5930
5930
  s(!1), window.clearInterval(n.current || -1), n.current = -1;
5931
5931
  }, []);
5932
5932
  return O(() => (a.current = e, r && i(), o), [
@@ -5943,7 +5943,7 @@ function Wl(e, t) {
5943
5943
  function jl() {
5944
5944
  const e = B(null), [t, r] = Z(!1);
5945
5945
  return {
5946
- ref: P((n) => {
5946
+ ref: N((n) => {
5947
5947
  typeof IntersectionObserver < "u" && (n && !e.current ? e.current = new IntersectionObserver((a) => r(a.some((i) => i.isIntersecting))) : e.current?.disconnect(), n ? e.current?.observe(n) : r(!1));
5948
5948
  }, []),
5949
5949
  inViewport: t
@@ -5953,7 +5953,7 @@ function Io() {
5953
5953
  const e = B(!1);
5954
5954
  return O(() => (e.current = !0, () => {
5955
5955
  e.current = !1;
5956
- }), []), P(() => e.current, []);
5956
+ }), []), N(() => e.current, []);
5957
5957
  }
5958
5958
  function js(e, t) {
5959
5959
  window.dispatchEvent(new StorageEvent("storage", {
@@ -5968,7 +5968,7 @@ const Lr = (e, t) => {
5968
5968
  window.localStorage.removeItem(e), js(e, null);
5969
5969
  }, Dr = (e) => window.localStorage.getItem(e), Ao = (e) => (window.addEventListener("storage", e), () => window.removeEventListener("storage", e));
5970
5970
  function Ql({ key: e, initialValue: t }) {
5971
- const s = Gr(Ao, () => Dr(e)), n = P((o) => {
5971
+ const s = Gr(Ao, () => Dr(e)), n = N((o) => {
5972
5972
  try {
5973
5973
  const c = typeof o == "function" ? o(JSON.parse(s)) : o;
5974
5974
  c == null ? _o(e) : Lr(e, c);
@@ -5978,12 +5978,12 @@ function Ql({ key: e, initialValue: t }) {
5978
5978
  }, [
5979
5979
  e,
5980
5980
  s
5981
- ]), a = P(() => {
5981
+ ]), a = N(() => {
5982
5982
  n(t);
5983
5983
  }, [
5984
5984
  t,
5985
5985
  n
5986
- ]), i = P(() => {
5986
+ ]), i = N(() => {
5987
5987
  n(null);
5988
5988
  }, [
5989
5989
  n
@@ -6091,7 +6091,7 @@ function Jl() {
6091
6091
  const [e, t] = Z({
6092
6092
  width: 0,
6093
6093
  height: 0
6094
- }), r = P(() => {
6094
+ }), r = N(() => {
6095
6095
  t({
6096
6096
  width: window.innerWidth || 0,
6097
6097
  height: window.innerHeight || 0
@@ -6103,7 +6103,7 @@ function Xl() {
6103
6103
  const [e, t] = Z({
6104
6104
  width: 0,
6105
6105
  height: 0
6106
- }), r = P(() => {
6106
+ }), r = N(() => {
6107
6107
  t({
6108
6108
  width: window?.visualViewport?.width || window.innerWidth || 0,
6109
6109
  height: window?.visualViewport?.height || window.innerHeight || 0
@@ -6120,13 +6120,13 @@ function Xl() {
6120
6120
  ]), e;
6121
6121
  }
6122
6122
  /*!
6123
- @versini/ui-button v10.0.1
6123
+ @versini/ui-button v10.0.2
6124
6124
  © 2025 gizmette.com
6125
6125
  */
6126
6126
  try {
6127
6127
  window.__VERSINI_UI_BUTTON__ || (window.__VERSINI_UI_BUTTON__ = {
6128
- version: "10.0.1",
6129
- buildTime: "12/12/2025 10:28 AM EST",
6128
+ version: "10.0.2",
6129
+ buildTime: "12/13/2025 02:40 PM EST",
6130
6130
  homepage: "https://www.npmjs.com/package/@versini/ui-button",
6131
6131
  license: "MIT"
6132
6132
  });
@@ -6140,7 +6140,7 @@ const Xe = {
6140
6140
  small: 16,
6141
6141
  medium: 24,
6142
6142
  large: 32
6143
- }, Co = 2, ko = 300, Kt = /* @__PURE__ */ re.forwardRef(({ children: e, disabled: t = !1, mode: r = "system", focusMode: s = "system", fullWidth: n = !1, className: a, type: i = "button", raw: o = !1, noBorder: c = !1, "aria-label": f, label: d, size: h = "medium", labelRight: u, labelLeft: p, noBackground: y = !1, align: g = "center", radius: S = "large", variant: b = "secondary", iconClassName: x, animated: A = !1, ...J }, M) => {
6143
+ }, Co = 2, ko = 300, Kt = /* @__PURE__ */ re.forwardRef(({ children: e, disabled: t = !1, mode: r = "system", focusMode: s = "system", fullWidth: n = !1, className: a, type: i = "button", raw: o = !1, noBorder: c = !1, "aria-label": f, label: d, size: h = "medium", labelRight: u, labelLeft: p, noBackground: y = !1, align: g = "center", radius: S = "large", variant: b = "secondary", iconClassName: x, animated: A = !1, ...J }, P) => {
6144
6144
  const se = zs({
6145
6145
  type: mt,
6146
6146
  mode: r,
@@ -6158,7 +6158,7 @@ const Xe = {
6158
6158
  radius: S,
6159
6159
  variant: b,
6160
6160
  animated: A
6161
- }), N = go({
6161
+ }), M = go({
6162
6162
  mode: r,
6163
6163
  raw: o,
6164
6164
  iconClassName: x,
@@ -6166,7 +6166,7 @@ const Xe = {
6166
6166
  }), I = Eo({
6167
6167
  animated: A
6168
6168
  }), G = "flex items-center justify-center relative w-full h-full overflow-hidden", [C, R] = tt(), [D, ee] = tt(), [me, Ae] = tt(), T = B(0), _ = B(null), v = B(null), ge = Qs([
6169
- M,
6169
+ P,
6170
6170
  _
6171
6171
  ]);
6172
6172
  return st(() => {
@@ -6214,7 +6214,7 @@ const Xe = {
6214
6214
  }),
6215
6215
  /* @__PURE__ */ l("span", {
6216
6216
  ref: me,
6217
- className: N,
6217
+ className: M,
6218
6218
  children: e
6219
6219
  }),
6220
6220
  /* @__PURE__ */ l(Ur, {
@@ -6252,7 +6252,7 @@ try {
6252
6252
  });
6253
6253
  } catch {
6254
6254
  }
6255
- const rt = "av-card", Mo = ({ className: e, headerClassName: t, bodyClassName: r, footerClassName: s, mode: n, compact: a, noBorder: i }) => {
6255
+ const rt = "av-card", Po = ({ className: e, headerClassName: t, bodyClassName: r, footerClassName: s, mode: n, compact: a, noBorder: i }) => {
6256
6256
  const o = m(rt, "rounded-md", {
6257
6257
  "border-none": i,
6258
6258
  border: !i,
@@ -6279,7 +6279,7 @@ const rt = "av-card", Mo = ({ className: e, headerClassName: t, bodyClassName: r
6279
6279
  footer: d
6280
6280
  };
6281
6281
  };
6282
- function No({ id: e, content: t, userAriaLabelledby: r, className: s }) {
6282
+ function Mo({ id: e, content: t, userAriaLabelledby: r, className: s }) {
6283
6283
  return typeof t == "string" ? /* @__PURE__ */ l("h2", {
6284
6284
  id: e,
6285
6285
  className: s,
@@ -6293,9 +6293,9 @@ function No({ id: e, content: t, userAriaLabelledby: r, className: s }) {
6293
6293
  children: t
6294
6294
  }) : null;
6295
6295
  }
6296
- const Po = ({ header: e, headerClassName: t, footer: r, footerClassName: s, children: n, className: a, bodyClassName: i, "aria-labelledby": o, mode: c = "system", compact: f = !1, noBorder: d = !1, ...h }) => {
6296
+ const No = ({ header: e, headerClassName: t, footer: r, footerClassName: s, children: n, className: a, bodyClassName: i, "aria-labelledby": o, mode: c = "system", compact: f = !1, noBorder: d = !1, ...h }) => {
6297
6297
  let u = null, p = null;
6298
- const y = typeof e == "string", g = Ys(rt), S = Mo({
6298
+ const y = typeof e == "string", g = Ys(rt), S = Po({
6299
6299
  className: a,
6300
6300
  headerClassName: t,
6301
6301
  bodyClassName: i,
@@ -6313,7 +6313,7 @@ const Po = ({ header: e, headerClassName: t, footer: r, footerClassName: s, chil
6313
6313
  className: S.body,
6314
6314
  ...h,
6315
6315
  children: [
6316
- /* @__PURE__ */ l(No, {
6316
+ /* @__PURE__ */ l(Mo, {
6317
6317
  ...u && {
6318
6318
  id: u
6319
6319
  },
@@ -6906,7 +6906,7 @@ const w = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
6906
6906
  d: "M270.3 112.9c-2.7-5.5-8.3-8.9-14.3-8.9s-11.7 3.5-14.3 8.9l-36.2 73.4-81.1 11.8c-6 .9-11 5.1-12.9 10.9s-.3 12.2 4 16.4l58.6 57.2-13.8 80.7c-1 6 1.4 12.1 6.4 15.6s11.5 4.1 16.9 1.2l72.4-38 72.5 38.1c5.4 2.8 11.9 2.4 16.9-1.2s7.4-9.6 6.4-15.6L338 282.7l58.6-57.2c4.4-4.3 5.9-10.6 4-16.4s-6.9-10-12.9-10.9l-81-11.8-36.2-73.4z"
6907
6907
  })
6908
6908
  ]
6909
- }), Mu = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(w, {
6909
+ }), Pu = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(w, {
6910
6910
  defaultViewBox: "0 0 512 512",
6911
6911
  size: "size-5",
6912
6912
  viewBox: t,
@@ -6922,7 +6922,7 @@ const w = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
6922
6922
  d: "M256 32a224 224 0 1 1 0 448 224 224 0 1 1 0-448m0 480a256 256 0 1 0 0-512 256 256 0 1 0 0 512m14.3-399.1c-2.7-5.5-8.3-8.9-14.3-8.9s-11.7 3.5-14.3 8.9l-36.2 73.4-81 11.8c-6 .9-11 5.1-12.9 10.9s-.3 12.2 4 16.4l58.6 57.2-13.8 80.7c-1 6 1.4 12.1 6.4 15.6s11.5 4.1 16.8 1.2l72.4-38 72.5 38.1c5.4 2.8 11.9 2.4 16.9-1.2s7.4-9.6 6.4-15.6L338 282.7l58.6-57.2c4.4-4.3 5.9-10.6 4-16.4s-6.9-10-12.9-10.9l-81.1-11.8-36.2-73.4zm-40 95.1 25.7-51.8 25.6 51.9c2.3 4.7 6.8 8 12 8.8l57.3 8.3-41.5 40.4c-3.8 3.7-5.5 9-4.6 14.2l9.8 57.1-51.2-26.9c-4.7-2.5-10.2-2.5-14.9 0l-51.2 26.9 9.8-57.1c.9-5.2-.8-10.5-4.6-14.2L161 225.1l57.3-8.3c5.2-.8 9.7-4 12-8.8"
6923
6923
  })
6924
6924
  ]
6925
- }), Nu = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(w, {
6925
+ }), Mu = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(w, {
6926
6926
  defaultViewBox: "0 0 448 512",
6927
6927
  size: "size-5",
6928
6928
  viewBox: t,
@@ -6938,7 +6938,7 @@ const w = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
6938
6938
  d: "M224 32c-53 0-96 43-96 96v64h240c44.2 0 80 35.8 80 80v160c0 44.2-35.8 80-80 80H80c-44.2 0-80-35.8-80-80V272c0-44.2 35.8-80 80-80h16v-64C96 57.3 153.3 0 224 0c58 0 107 38.6 122.7 91.4 2.5 8.5-2.3 17.4-10.8 19.9s-17.4-2.3-19.9-10.8C304.2 60.9 267.5 32 224 32M80 224c-26.5 0-48 21.5-48 48v160c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V272c0-26.5-21.5-48-48-48zm184 144h-80c-8.8 0-16-7.2-16-16s7.2-16 16-16h80c8.8 0 16 7.2 16 16s-7.2 16-16 16"
6939
6939
  })
6940
6940
  ]
6941
- }), Pu = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ l(w, {
6941
+ }), Nu = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ l(w, {
6942
6942
  defaultViewBox: "0 0 512 512",
6943
6943
  size: "size-5",
6944
6944
  viewBox: t,
@@ -7216,7 +7216,7 @@ try {
7216
7216
  });
7217
7217
  } catch {
7218
7218
  }
7219
- const en = "av-text-input", zo = "av-text-input-wrapper", Mt = "av-text-input-helper-text", qo = ({ mode: e }) => m({
7219
+ const en = "av-text-input", zo = "av-text-input-wrapper", Pt = "av-text-input-helper-text", qo = ({ mode: e }) => m({
7220
7220
  "bg-surface-darker text-copy-lighter caret-copy-light": e === "dark",
7221
7221
  "bg-surface-lighter text-copy-dark caret-copy-dark": e === "light",
7222
7222
  "bg-surface-lighter text-copy-dark caret-copy-dark dark:bg-surface-darker dark:text-copy-lighter dark:caret-copy-light": e === "system",
@@ -7254,16 +7254,16 @@ const en = "av-text-input", zo = "av-text-input-wrapper", Mt = "av-text-input-he
7254
7254
  if (t)
7255
7255
  return "";
7256
7256
  if (s)
7257
- return m(Mt, "absolute px-2 cursor-not-allowed opacity-50 font-medium");
7257
+ return m(Pt, "absolute px-2 cursor-not-allowed opacity-50 font-medium");
7258
7258
  if (!e)
7259
- return m(Mt, "absolute px-2 font-medium", {
7259
+ return m(Pt, "absolute px-2 font-medium", {
7260
7260
  "text-copy-lighter": r === "dark",
7261
7261
  "text-copy-dark": r === "light",
7262
7262
  "text-copy-dark dark:text-copy-lighter": r === "system",
7263
7263
  "text-copy-lighter dark:text-copy-dark": r === "alt-system"
7264
7264
  });
7265
7265
  if (e)
7266
- return m(Mt, "absolute px-2 font-medium", {
7266
+ return m(Pt, "absolute px-2 font-medium", {
7267
7267
  "text-copy-error-light bg-surface-darker": r === "dark",
7268
7268
  "text-copy-error-dark": r === "light",
7269
7269
  "text-copy-error-dark dark:text-copy-error-light dark:bg-surface-darker": r === "system",
@@ -7318,7 +7318,7 @@ const en = "av-text-input", zo = "av-text-input-wrapper", Mt = "av-text-input-he
7318
7318
  rightElement: S
7319
7319
  };
7320
7320
  }, sr = /* @__PURE__ */ re.forwardRef(({ id: e, name: t, label: r, error: s = !1, raw: n = !1, className: a, inputClassName: i, mode: o = "system", focusMode: c = "system", disabled: f = !1, noBorder: d = !1, labelId: h, labelHidden: u = !1, type: p = "text", helperText: y = "", rightElement: g, rightElementClassName: S, size: b = "md", ...x }, A) => {
7321
- const [J, M] = tt(), [se, N] = Z(0), I = Ys({
7321
+ const [J, P] = tt(), [se, M] = Z(0), I = Ys({
7322
7322
  id: e,
7323
7323
  prefix: `${en}-`
7324
7324
  }), G = `${t} error, ${y}`, C = B(null), R = B(null), D = {
@@ -7355,9 +7355,9 @@ const en = "av-text-input", zo = "av-text-input-wrapper", Mt = "av-text-input-he
7355
7355
  rightElementClassName: S
7356
7356
  });
7357
7357
  return st(() => {
7358
- M && M.width && N(M.width + 18 + 10);
7358
+ P && P.width && M(P.width + 18 + 10);
7359
7359
  }, [
7360
- M
7360
+ P
7361
7361
  ]), st(() => {
7362
7362
  const { label: me, helperText: Ae } = D[b];
7363
7363
  C?.current?.style.setProperty("--av-text-input-label", me), R?.current?.style.setProperty("--av-text-input-helper-text", Ae);
@@ -7427,7 +7427,7 @@ const Xo = 500, Zo = 5e3, ec = 2e4, tn = /* @__PURE__ */ re.forwardRef(({ name:
7427
7427
  }), S = B(!0), b = B(null), x = B(null), A = Qs([
7428
7428
  h,
7429
7429
  x
7430
- ]), J = u ? "Show" : "Hide", M = () => {
7430
+ ]), J = u ? "Show" : "Hide", P = () => {
7431
7431
  b.current && clearTimeout(b.current), S.current || (b.current = setTimeout(() => {
7432
7432
  S.current = !0, p(!0), g({
7433
7433
  announcementTimeout: Zo,
@@ -7438,20 +7438,20 @@ const Xo = 500, Zo = 5e3, ec = 2e4, tn = /* @__PURE__ */ re.forwardRef(({ name:
7438
7438
  }, se = (R) => {
7439
7439
  R.preventDefault();
7440
7440
  const D = !S.current;
7441
- S.current = D, M(), p(D), g({
7441
+ S.current = D, P(), p(D), g({
7442
7442
  announcementTimeout: Xo,
7443
7443
  politeness: "assertive",
7444
7444
  message: D ? "Characters hidden" : "Characters showing"
7445
7445
  }), n && n(D);
7446
- }, N = (R) => {
7446
+ }, M = (R) => {
7447
7447
  const { relatedTarget: D } = R;
7448
7448
  x.current?.parentElement?.contains(D) || c && c();
7449
7449
  }, I = (R) => {
7450
- M(), i && i(R), N(R);
7450
+ P(), i && i(R), M(R);
7451
7451
  }, G = (R) => {
7452
- M(), o && o(R);
7452
+ P(), o && o(R);
7453
7453
  }, C = (R) => {
7454
- M(), a && a(R);
7454
+ P(), a && a(R);
7455
7455
  };
7456
7456
  return O(() => () => {
7457
7457
  b.current && clearTimeout(b.current);
@@ -7471,7 +7471,7 @@ const Xo = 500, Zo = 5e3, ec = 2e4, tn = /* @__PURE__ */ re.forwardRef(({ name:
7471
7471
  ref: h,
7472
7472
  label: J,
7473
7473
  onClick: se,
7474
- onBlur: N,
7474
+ onBlur: M,
7475
7475
  disabled: t
7476
7476
  }),
7477
7477
  ...d
@@ -7693,7 +7693,7 @@ const tc = "ASK! ME! ANYTHING!", rc = "Log in with a password", sc = "Log in wit
7693
7693
  }, [t, e]);
7694
7694
  return O(() => {
7695
7695
  r?.cssVariables && pc(r.cssVariables);
7696
- }, [r]), [P(
7696
+ }, [r]), [N(
7697
7697
  (n) => r?.colors[n] || "",
7698
7698
  [r]
7699
7699
  ), U];
@@ -7735,7 +7735,7 @@ const tc = "ASK! ME! ANYTHING!", rc = "Log in with a password", sc = "Log in wit
7735
7735
  }
7736
7736
  );
7737
7737
  }, gc = () => {
7738
- const { login: e, logoutReason: t, loginWithPasskey: r } = Ps(), [s, n] = Z(""), [a, i] = Z(""), [o, c] = Z(!0), [f, d] = Z({
7738
+ const { login: e, logoutReason: t, loginWithPasskey: r } = Ns(), [s, n] = Z(""), [a, i] = Z(""), [o, c] = Z(!0), [f, d] = Z({
7739
7739
  username: "",
7740
7740
  password: ""
7741
7741
  }), h = async (u) => {
@@ -7757,7 +7757,7 @@ const tc = "ASK! ME! ANYTHING!", rc = "Log in with a password", sc = "Log in wit
7757
7757
  children: /* @__PURE__ */ l(mc, {})
7758
7758
  }
7759
7759
  ),
7760
- /* @__PURE__ */ l("form", { className: "mt-5", onSubmit: h, children: /* @__PURE__ */ l(Ho, { alignHorizontal: "center", children: /* @__PURE__ */ l(be, { span: 6, children: /* @__PURE__ */ E(Po, { mode: "dark", children: [
7760
+ /* @__PURE__ */ l("form", { className: "mt-5", onSubmit: h, children: /* @__PURE__ */ l(Ho, { alignHorizontal: "center", children: /* @__PURE__ */ l(be, { span: 6, children: /* @__PURE__ */ E(No, { mode: "dark", children: [
7761
7761
  /* @__PURE__ */ l(be, { span: 12, className: "mt-7", children: a && /* @__PURE__ */ l("div", { className: "p-2 text-sm text-center text-copy-error-light bg-surface-darker", children: a }) }),
7762
7762
  /* @__PURE__ */ l(be, { span: 12, children: /* @__PURE__ */ l(
7763
7763
  sr,
@@ -7844,12 +7844,12 @@ const tc = "ASK! ME! ANYTHING!", rc = "Log in with a password", sc = "Log in wit
7844
7844
  ] });
7845
7845
  }, Ec = new URL(document.location.href).searchParams, Fr = !!Ec.get("debug") || !1, wc = nn(() => import(
7846
7846
  /* webpackChunkName: "LazyApp" */
7847
- "./App.BLNMkw5x.js"
7847
+ "./App.BfyhD1Is.js"
7848
7848
  ).then((e) => e.App)), Sc = new Dn(), Br = ({
7849
7849
  isComponent: e,
7850
7850
  headerHeight: t
7851
7851
  }) => {
7852
- const { isAuthenticated: r, isLoading: s, user: n, getAccessToken: a } = Ps();
7852
+ const { isAuthenticated: r, isLoading: s, user: n, getAccessToken: a } = Ns();
7853
7853
  return s ? /* @__PURE__ */ l("div", {}) : r ? /* @__PURE__ */ l(sn, { fallback: /* @__PURE__ */ l("div", {}), children: /* @__PURE__ */ l($n, { client: Sc, children: /* @__PURE__ */ l(
7854
7854
  ao,
7855
7855
  {
@@ -7906,7 +7906,7 @@ export {
7906
7906
  Kt as ButtonIcon,
7907
7907
  ad as CARDS,
7908
7908
  Wu as CLIPBOARD_PROMPT,
7909
- Po as Card,
7909
+ No as Card,
7910
7910
  ud as ChatContext,
7911
7911
  hl as DEFAULT_ICON_ACTION_SIZE,
7912
7912
  Bc as ERROR_MESSAGE,
@@ -7961,9 +7961,9 @@ export {
7961
7961
  Ou as IconSettings,
7962
7962
  Cu as IconSliders,
7963
7963
  ku as IconStarInCircle,
7964
- Mu as IconStarInCircleLight,
7965
- Pu as IconUnSelected,
7966
- Nu as IconUnlockedLight,
7964
+ Pu as IconStarInCircleLight,
7965
+ Nu as IconUnSelected,
7966
+ Mu as IconUnlockedLight,
7967
7967
  Lc as K,
7968
7968
  Ho as L,
7969
7969
  al as LOCAL_STORAGE_CHAT_ID,
@@ -8011,7 +8011,7 @@ export {
8011
8011
  fl as UI_FOOTER_BUFFER,
8012
8012
  Lu as USAGE_TITLE,
8013
8013
  L as V,
8014
- Pc as W,
8014
+ Nc as W,
8015
8015
  ft as a,
8016
8016
  od as appReducer,
8017
8017
  ro as applyOledMode,
@@ -8037,8 +8037,8 @@ export {
8037
8037
  Bs as isTauri,
8038
8038
  be as j,
8039
8039
  xc as j$1,
8040
- Nc as k,
8041
- Ps as n,
8040
+ Mc as k,
8041
+ Ns as n,
8042
8042
  _c as n$1,
8043
8043
  qi as numberFormatter,
8044
8044
  Ac as o,
@@ -8059,7 +8059,7 @@ export {
8059
8059
  Vl as useClickOutside,
8060
8060
  Ul as useDeleteAllActiveMemories,
8061
8061
  Hl as useDeleteAllExpiredMemories,
8062
- Nl as useDeleteChat,
8062
+ Ml as useDeleteChat,
8063
8063
  $l as useDeleteMemory,
8064
8064
  Kl as useEntitlements,
8065
8065
  Fl as useExpiredMemories,
@@ -8072,10 +8072,10 @@ export {
8072
8072
  le as useQueryClient,
8073
8073
  tt as useResizeObserver,
8074
8074
  Bl as useRestoreMemory,
8075
- Ml as useSaveChat,
8075
+ Pl as useSaveChat,
8076
8076
  Al as useServerCapabilities,
8077
8077
  yc as useTheme,
8078
- Pl as useToggleFavoriteChat,
8078
+ Nl as useToggleFavoriteChat,
8079
8079
  Yl as useUncontrolled,
8080
8080
  Ys as useUniqueId,
8081
8081
  Dl as useUpdateMemory,
@@ -8086,7 +8086,7 @@ export {
8086
8086
  Xl as useVisualViewportSize,
8087
8087
  vl as utilities,
8088
8088
  kc as v,
8089
- Mc as w,
8089
+ Pc as w,
8090
8090
  un as x,
8091
8091
  Cc as y
8092
8092
  };