@versini/sassysaint 8.73.0 → 8.73.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 (27) hide show
  1. package/dist/chunks/{AboutChangelog.Cp9PopiO.js → AboutChangelog.BGbXeM1V.js} +2 -2
  2. package/dist/chunks/{AboutEntry.BOb5_aZI.js → AboutEntry.B6zksAh7.js} +7 -7
  3. package/dist/chunks/{App.Ck78giBC.js → App.tbzd8U0K.js} +125 -125
  4. package/dist/chunks/{Chart.C1dgaS-F.js → Chart.D2MV2w_Q.js} +2 -2
  5. package/dist/chunks/{ChatBubbleAssistant.CT2jmjen.js → ChatBubbleAssistant.RzH26aLB.js} +17 -17
  6. package/dist/chunks/{ChatBubbleUser.CM1FzHNQ.js → ChatBubbleUser.CBnoxqes.js} +3 -3
  7. package/dist/chunks/{ChatHistoryTable._Rzl_5Sk.js → ChatHistoryTable.C6I638cE.js} +62 -61
  8. package/dist/chunks/HistoryEntry.CwveusV0.js +333 -0
  9. package/dist/chunks/{ProfileEntry.Naot3F9p.js → ProfileEntry.BSOMcinm.js} +21 -21
  10. package/dist/chunks/{SettingsEntry.Du0GDXgA.js → SettingsEntry.SHZazp-B.js} +69 -63
  11. package/dist/chunks/{Table.JtsJZQLY.js → Table.DwbGRt2o.js} +2 -2
  12. package/dist/chunks/{UsageEntry.C18Kaf6V.js → UsageEntry.BOtq-YTl.js} +3 -3
  13. package/dist/chunks/{UserMemoriesPanel.C9gXdvcN.js → UserMemoriesPanel.BdWYKyp5.js} +4 -4
  14. package/dist/chunks/{index.ce_hM2eo.js → index.BO_yfOl7.js} +3 -3
  15. package/dist/chunks/{index.D0pvrKFC.js → index.CREsouo5.js} +1 -1
  16. package/dist/chunks/{index.DTBMKq5O.js → index.CqtcPR4A.js} +177 -174
  17. package/dist/chunks/{index.GppF30Qs.js → index.Cxd_WImT.js} +13 -13
  18. package/dist/chunks/{index.DBqrJ-of.js → index.DX8g0zp_.js} +2 -2
  19. package/dist/chunks/{index.Ce0bioPG.js → index.Dxke1YD_.js} +1 -1
  20. package/dist/chunks/{index.BYZBF4_0.js → index.Tr3TVoxP.js} +1 -1
  21. package/dist/chunks/{index.DdEAWm8o.js → index.zCqfAEjf.js} +1 -1
  22. package/dist/chunks/{useMarkdown.CfYCs10-.js → useMarkdown.DBF4PL2-.js} +6 -6
  23. package/dist/components/SassySaint/SassySaint.js +1 -1
  24. package/dist/index.js +4 -4
  25. package/dist/style.css +1 -1
  26. package/package.json +3 -3
  27. package/dist/chunks/HistoryEntry.DM6RInwR.js +0 -326
@@ -1,5 +1,5 @@
1
1
  import { jsx as l, jsxs as T, Fragment as Me } from "react/jsx-runtime";
2
- import { I as J, ACTION_SORT as bs, ACTION_SEARCH as ws, ACTION_RESET_PROMPT as Eo, ACTION_TOGGLE_PROMPT as To, LOCAL_STORAGE_PREFIX as je, LOCAL_STORAGE_CHAT_ID as So, n as ve, isDev as Is, isPWAMode as xo, useChat as Es, B as Ts, te as Se, DEFAULT_ICON_ACTION_SIZE as ze, isTauri as Kt, useUserPreferences as We, isProbablyiPhone as Ve, serverUrl as ko, useEntitlements as Gr, L as Ar, j as ct, C as mn, LOCAL_STORAGE_PRIVATE_DISCLOSURE as Ss, nt as Qt, LOCAL_STORAGE_REASONING_DISCLOSURE as xs, useSaveChat as ks, TOAST_CHAT_SAVED as Cs, PROMPT_CLASSNAME as Ns, PROMPT_EDITABLE_AREA_CLASSNAME as zs, useChatsHistory as As, i as Os, Et as Co, ERROR_MESSAGE as Ms, E as It, CLIPBOARD_PROMPT as hn, INPUT_PLACEHOLDER_TEXT_MOBILE as fn, INPUT_PLACEHOLDER_TEXT_ENTER as gn, INPUT_PLACEHOLDER_TEXT_CMD_ENTER as vn, isProbablyMobile as Or, K as $s, FOOTER_DISCLAIMERS as yn, h as No, isProbablyiPad as Rs, INPUT_BOTTOM_OFFSET_EXTRA as _n, INPUT_BOTTOM_OFFSET_IPHONE as Ps, INPUT_BOTTOM_OFFSET_IPAD as Zs, INPUT_BOTTOM_OFFSET as zo, getLayoutPaddingClass as Mr, canEvaluateModels as bn, st as Ds, r as Ls, O as Bs, c as Us, H as js, x as yr, setNewProvider as wn, TOAST_PROVIDER_CHANGED as In, useQueryClient as Vs, LOG_OUT as En, e as Ao, Y as Tn, useServerCapabilities as Fs, getMessageContaintWrapperClass as Hs, UI_FOOTER_BUFFER as Oo, UI_BUTTON_SCROLL_BUFFER as Js, Logo as Gs, UI_DEFAULT_MAIN_HEIGHT as Sn, applyOledMode as Ws, UI_DEFAULT_MAIN_HEIGHT_IPHONE as qs, APP_CLASSNAME as Ys, Z as xn, J as Xs, LOCAL_STORAGE_SORT as Ks, LOCAL_STORAGE_SEARCH as Qs, LOCAL_STORAGE_OLED_MODE as ei, LOCAL_STORAGE_SORT_TIMESTAMP as ti, LOCAL_STORAGE_SORT_TOKEN_USAGE as ri, TOAST_CACHE_ENABLED as ni, TOAST_CACHE_DISABLED as oi } from "./index.DTBMKq5O.js";
2
+ import { I as J, ACTION_SORT as bs, ACTION_SEARCH as ws, ACTION_RESET_PROMPT as Eo, ACTION_TOGGLE_PROMPT as To, LOCAL_STORAGE_PREFIX as je, LOCAL_STORAGE_CHAT_ID as So, n as ve, isDev as Is, isPWAMode as xo, useChat as Es, F as Ts, te as Se, DEFAULT_ICON_ACTION_SIZE as ze, isTauri as Qt, useUserPreferences as We, isProbablyiPhone as Ve, serverUrl as ko, useEntitlements as Gr, L as Ar, j as ct, C as mn, LOCAL_STORAGE_PRIVATE_DISCLOSURE as Ss, ot as Kt, LOCAL_STORAGE_REASONING_DISCLOSURE as xs, useSaveChat as ks, TOAST_CHAT_SAVED as Cs, PROMPT_CLASSNAME as Ns, PROMPT_EDITABLE_AREA_CLASSNAME as zs, useChatsHistory as As, i as Os, rt as Co, ERROR_MESSAGE as Ms, E as It, CLIPBOARD_PROMPT as hn, INPUT_PLACEHOLDER_TEXT_MOBILE as fn, INPUT_PLACEHOLDER_TEXT_ENTER as gn, INPUT_PLACEHOLDER_TEXT_CMD_ENTER as vn, isProbablyMobile as Or, Z as $s, FOOTER_DISCLAIMERS as yn, h as No, isProbablyiPad as Rs, INPUT_BOTTOM_OFFSET_EXTRA as _n, INPUT_BOTTOM_OFFSET_IPHONE as Ps, INPUT_BOTTOM_OFFSET_IPAD as Zs, INPUT_BOTTOM_OFFSET as zo, getLayoutPaddingClass as Mr, canEvaluateModels as bn, et as Ds, r as Ls, O as Bs, c as Us, V as js, j$1 as yr, setNewProvider as wn, TOAST_PROVIDER_CHANGED as In, useQueryClient as Vs, LOG_OUT as En, e as Ao, b as Tn, useServerCapabilities as Fs, getMessageContaintWrapperClass as Hs, UI_FOOTER_BUFFER as Oo, UI_BUTTON_SCROLL_BUFFER as Js, Logo as Gs, UI_DEFAULT_MAIN_HEIGHT as Sn, applyOledMode as Ws, UI_DEFAULT_MAIN_HEIGHT_IPHONE as qs, APP_CLASSNAME as Ys, J as xn, Q as Xs, LOCAL_STORAGE_SORT as Qs, LOCAL_STORAGE_SEARCH as Ks, LOCAL_STORAGE_OLED_MODE as ei, LOCAL_STORAGE_SORT_TIMESTAMP as ti, LOCAL_STORAGE_SORT_TOKEN_USAGE as ri, TOAST_CACHE_ENABLED as ni, TOAST_CACHE_DISABLED as oi } from "./index.CqtcPR4A.js";
3
3
  import * as ie from "react";
4
4
  import pt, { useRef as j, useEffect as $, useCallback as D, useState as R, useSyncExternalStore as Ht, createContext as ai, useContext as ne, useId as Mo, forwardRef as $o, useMemo as Ne, Suspense as er, lazy as Re, useReducer as Pt, useLayoutEffect as si } from "react";
5
5
  import z from "clsx";
@@ -728,7 +728,7 @@ const Ai = ({
728
728
  /* @__PURE__ */ l("path", { d: "M511.6 36.9c1.9-12.1-3.4-24.3-13.5-31.2s-23.3-7.5-34-1.4l-448 256C5.5 266.3-.7 277.8.1 290s8.4 22.9 19.6 27.6L160 376v93c0 23.8 19.3 43 43 43 13.1 0 25.4-5.9 33.6-16.1l52.8-66h.1l114.2 47.6c9.1 3.8 19.4 3.2 28-1.6s14.5-13.3 16-23l64-416zm-253 380.2-47 58.8c-2.1 2.6-5.3 4.1-8.6 4.1-6.1 0-11-4.9-11-11v-79.7zm43.1-16.7-96.6-40.3 269-289.6L416 448l-114.2-47.6zM450.5 48.8 173.6 347 32 288z" })
729
729
  ]
730
730
  }
731
- ), Ki = ({
731
+ ), Qi = ({
732
732
  className: e,
733
733
  viewBox: t,
734
734
  title: r,
@@ -745,7 +745,7 @@ const Ai = ({
745
745
  ...o,
746
746
  children: /* @__PURE__ */ l("path", { d: "M432 256a48 48 0 1 1-96 0 48 48 0 1 1 96 0m-160 0a48 48 0 1 1-96 0 48 48 0 1 1 96 0M64 304a48 48 0 1 1 0-96 48 48 0 1 1 0 96" })
747
747
  }
748
- ), Qi = ({
748
+ ), Ki = ({
749
749
  className: e,
750
750
  viewBox: t,
751
751
  title: r,
@@ -848,16 +848,16 @@ var Fe = rc;
848
848
  function Xo(e) {
849
849
  return e == null ? "unknown error" : typeof e == "string" ? e : e instanceof Error ? e.message : JSON.stringify(e);
850
850
  }
851
- var Ko = "AI_InvalidArgumentError", Qo = `vercel.ai.error.${Ko}`, nc = Symbol.for(Qo), ea, oc = class extends Fe {
851
+ var Qo = "AI_InvalidArgumentError", Ko = `vercel.ai.error.${Qo}`, nc = Symbol.for(Ko), ea, oc = class extends Fe {
852
852
  constructor({
853
853
  message: e,
854
854
  cause: t,
855
855
  argument: r
856
856
  }) {
857
- super({ name: Ko, message: e, cause: t }), this[ea] = !0, this.argument = r;
857
+ super({ name: Qo, message: e, cause: t }), this[ea] = !0, this.argument = r;
858
858
  }
859
859
  static isInstance(e) {
860
- return Fe.hasMarker(e, Qo);
860
+ return Fe.hasMarker(e, Ko);
861
861
  }
862
862
  };
863
863
  ea = nc;
@@ -1085,7 +1085,7 @@ function Yr(e) {
1085
1085
  function Xr(e) {
1086
1086
  return e == null;
1087
1087
  }
1088
- function Kr(e) {
1088
+ function Qr(e) {
1089
1089
  const t = e.startsWith("^") ? 1 : 0, r = e.endsWith("$") ? e.length - 1 : e.length;
1090
1090
  return e.slice(t, r);
1091
1091
  }
@@ -1298,7 +1298,7 @@ function Je(e, t, r) {
1298
1298
  }
1299
1299
  return delete n.inst, delete n.continue, t?.reportInput || delete n.input, n;
1300
1300
  }
1301
- function Qr(e) {
1301
+ function Kr(e) {
1302
1302
  return Array.isArray(e) ? "array" : typeof e == "string" ? "string" : "unknown";
1303
1303
  }
1304
1304
  function Tt(...e) {
@@ -1410,7 +1410,7 @@ function qc(e) {
1410
1410
  const Yc = (e) => {
1411
1411
  const t = e ? `[\\s\\S]{${e?.minimum ?? 0},${e?.maximum ?? ""}}` : "[\\s\\S]*";
1412
1412
  return new RegExp(`^${t}$`);
1413
- }, Xc = /^\d+$/, Kc = /^-?\d+(?:\.\d+)?/i, Qc = /true|false/i, el = /null/i, tl = /^[^A-Z]*$/, rl = /^[^a-z]*$/, ue = /* @__PURE__ */ _("$ZodCheck", (e, t) => {
1413
+ }, Xc = /^\d+$/, Qc = /^-?\d+(?:\.\d+)?/i, Kc = /true|false/i, el = /null/i, tl = /^[^A-Z]*$/, rl = /^[^a-z]*$/, ue = /* @__PURE__ */ _("$ZodCheck", (e, t) => {
1414
1414
  var r;
1415
1415
  e._zod ?? (e._zod = {}), e._zod.def = t, (r = e._zod).onattach ?? (r.onattach = []);
1416
1416
  }), ya = {
@@ -1535,7 +1535,7 @@ const Yc = (e) => {
1535
1535
  const o = n.value;
1536
1536
  if (o.length <= t.maximum)
1537
1537
  return;
1538
- const i = Qr(o);
1538
+ const i = Kr(o);
1539
1539
  n.issues.push({
1540
1540
  origin: i,
1541
1541
  code: "too_big",
@@ -1558,7 +1558,7 @@ const Yc = (e) => {
1558
1558
  const o = n.value;
1559
1559
  if (o.length >= t.minimum)
1560
1560
  return;
1561
- const i = Qr(o);
1561
+ const i = Kr(o);
1562
1562
  n.issues.push({
1563
1563
  origin: i,
1564
1564
  code: "too_small",
@@ -1581,7 +1581,7 @@ const Yc = (e) => {
1581
1581
  const o = n.value, a = o.length;
1582
1582
  if (a === t.length)
1583
1583
  return;
1584
- const i = Qr(o), s = a > t.length;
1584
+ const i = Kr(o), s = a > t.length;
1585
1585
  n.issues.push({
1586
1586
  origin: i,
1587
1587
  ...s ? { code: "too_big", maximum: t.length } : { code: "too_small", minimum: t.length },
@@ -1975,7 +1975,7 @@ const Ul = /* @__PURE__ */ _("$ZodJWT", (e, t) => {
1975
1975
  });
1976
1976
  };
1977
1977
  }), Ia = /* @__PURE__ */ _("$ZodNumber", (e, t) => {
1978
- V.init(e, t), e._zod.pattern = e._zod.bag.pattern ?? Kc, e._zod.parse = (r, n) => {
1978
+ V.init(e, t), e._zod.pattern = e._zod.bag.pattern ?? Qc, e._zod.parse = (r, n) => {
1979
1979
  if (t.coerce)
1980
1980
  try {
1981
1981
  r.value = Number(r.value);
@@ -1996,7 +1996,7 @@ const Ul = /* @__PURE__ */ _("$ZodJWT", (e, t) => {
1996
1996
  }), jl = /* @__PURE__ */ _("$ZodNumber", (e, t) => {
1997
1997
  ol.init(e, t), Ia.init(e, t);
1998
1998
  }), Vl = /* @__PURE__ */ _("$ZodBoolean", (e, t) => {
1999
- V.init(e, t), e._zod.pattern = Qc, e._zod.parse = (r, n) => {
1999
+ V.init(e, t), e._zod.pattern = Kc, e._zod.parse = (r, n) => {
2000
2000
  if (t.coerce)
2001
2001
  try {
2002
2002
  r.value = !!r.value;
@@ -2200,7 +2200,7 @@ const Ea = /* @__PURE__ */ _("$ZodUnion", (e, t) => {
2200
2200
  }), L(e._zod, "pattern", () => {
2201
2201
  if (t.options.every((r) => r._zod.pattern)) {
2202
2202
  const r = t.options.map((n) => n._zod.pattern);
2203
- return new RegExp(`^(${r.map((n) => Kr(n.source)).join("|")})$`);
2203
+ return new RegExp(`^(${r.map((n) => Qr(n.source)).join("|")})$`);
2204
2204
  }
2205
2205
  }), e._zod.parse = (r, n) => {
2206
2206
  let o = !1;
@@ -2376,7 +2376,7 @@ const Xl = /* @__PURE__ */ _("$ZodRecord", (e, t) => {
2376
2376
  }
2377
2377
  return a.length ? Promise.all(a).then(() => r) : r;
2378
2378
  };
2379
- }), Kl = /* @__PURE__ */ _("$ZodEnum", (e, t) => {
2379
+ }), Ql = /* @__PURE__ */ _("$ZodEnum", (e, t) => {
2380
2380
  V.init(e, t);
2381
2381
  const r = ca(t.entries);
2382
2382
  e._zod.values = new Set(r), e._zod.pattern = new RegExp(`^(${r.filter((n) => hc.has(typeof n)).map((n) => typeof n == "string" ? At(n) : n.toString()).join("|")})$`), e._zod.parse = (n, o) => {
@@ -2388,7 +2388,7 @@ const Xl = /* @__PURE__ */ _("$ZodRecord", (e, t) => {
2388
2388
  inst: e
2389
2389
  }), n;
2390
2390
  };
2391
- }), Ql = /* @__PURE__ */ _("$ZodLiteral", (e, t) => {
2391
+ }), Kl = /* @__PURE__ */ _("$ZodLiteral", (e, t) => {
2392
2392
  V.init(e, t), e._zod.values = new Set(t.values), e._zod.pattern = new RegExp(`^(${t.values.map((r) => typeof r == "string" ? At(r) : r ? r.toString() : String(r)).join("|")})$`), e._zod.parse = (r, n) => {
2393
2393
  const o = r.value;
2394
2394
  return e._zod.values.has(o) || r.issues.push({
@@ -2410,12 +2410,12 @@ const Xl = /* @__PURE__ */ _("$ZodRecord", (e, t) => {
2410
2410
  }), tu = /* @__PURE__ */ _("$ZodOptional", (e, t) => {
2411
2411
  V.init(e, t), e._zod.optin = "optional", e._zod.optout = "optional", L(e._zod, "values", () => t.innerType._zod.values ? /* @__PURE__ */ new Set([...t.innerType._zod.values, void 0]) : void 0), L(e._zod, "pattern", () => {
2412
2412
  const r = t.innerType._zod.pattern;
2413
- return r ? new RegExp(`^(${Kr(r.source)})?$`) : void 0;
2413
+ return r ? new RegExp(`^(${Qr(r.source)})?$`) : void 0;
2414
2414
  }), e._zod.parse = (r, n) => t.innerType._zod.optin === "optional" ? t.innerType._zod.run(r, n) : r.value === void 0 ? r : t.innerType._zod.run(r, n);
2415
2415
  }), ru = /* @__PURE__ */ _("$ZodNullable", (e, t) => {
2416
2416
  V.init(e, t), L(e._zod, "optin", () => t.innerType._zod.optin), L(e._zod, "optout", () => t.innerType._zod.optout), L(e._zod, "pattern", () => {
2417
2417
  const r = t.innerType._zod.pattern;
2418
- return r ? new RegExp(`^(${Kr(r.source)}|null)$`) : void 0;
2418
+ return r ? new RegExp(`^(${Qr(r.source)}|null)$`) : void 0;
2419
2419
  }), L(e._zod, "values", () => t.innerType._zod.values ? /* @__PURE__ */ new Set([...t.innerType._zod.values, null]) : void 0), e._zod.parse = (r, n) => r.value === null ? r : t.innerType._zod.run(r, n);
2420
2420
  }), nu = /* @__PURE__ */ _("$ZodDefault", (e, t) => {
2421
2421
  V.init(e, t), e._zod.optin = "optional", L(e._zod, "values", () => t.innerType._zod.values), e._zod.parse = (r, n) => {
@@ -2946,10 +2946,10 @@ function Yu() {
2946
2946
  function Xu() {
2947
2947
  return Ot((e) => e.toLowerCase());
2948
2948
  }
2949
- function Ku() {
2949
+ function Qu() {
2950
2950
  return Ot((e) => e.toUpperCase());
2951
2951
  }
2952
- function Qu(e, t, r) {
2952
+ function Ku(e, t, r) {
2953
2953
  return new e({
2954
2954
  type: "array",
2955
2955
  element: t,
@@ -3546,7 +3546,7 @@ const dd = (e, t) => {
3546
3546
  ]
3547
3547
  }
3548
3548
  // { parent: true }
3549
- ), e.clone = (r, n) => nt(e, r, n), e.brand = () => e, e.register = ((r, n) => (r.add(e, n), e)), e.parse = (r, n) => pd(e, r, n, { callee: e.parse }), e.safeParse = (r, n) => hd(e, r, n), e.parseAsync = async (r, n) => md(e, r, n, { callee: e.parseAsync }), e.safeParseAsync = async (r, n) => Ca(e, r, n), e.spa = e.safeParseAsync, e.refine = (r, n) => e.check(cp(r, n)), e.superRefine = (r) => e.check(lp(r)), e.overwrite = (r) => e.check(Ot(r)), e.optional = () => Q(e), e.nullable = () => Qn(e), e.nullish = () => Q(Qn(e)), e.nonoptional = (r) => Qd(e, r), e.array = () => qe(e), e.or = (r) => oe([e, r]), e.and = (r) => jd(e, r), e.transform = (r) => eo(e, Gd(r)), e.default = (r) => Yd(e, r), e.prefault = (r) => Kd(e, r), e.catch = (r) => tp(e, r), e.pipe = (r) => eo(e, r), e.readonly = () => op(e), e.describe = (r) => {
3549
+ ), e.clone = (r, n) => nt(e, r, n), e.brand = () => e, e.register = ((r, n) => (r.add(e, n), e)), e.parse = (r, n) => pd(e, r, n, { callee: e.parse }), e.safeParse = (r, n) => hd(e, r, n), e.parseAsync = async (r, n) => md(e, r, n, { callee: e.parseAsync }), e.safeParseAsync = async (r, n) => Ca(e, r, n), e.spa = e.safeParseAsync, e.refine = (r, n) => e.check(cp(r, n)), e.superRefine = (r) => e.check(lp(r)), e.overwrite = (r) => e.check(Ot(r)), e.optional = () => K(e), e.nullable = () => Kn(e), e.nullish = () => K(Kn(e)), e.nonoptional = (r) => Kd(e, r), e.array = () => qe(e), e.or = (r) => oe([e, r]), e.and = (r) => jd(e, r), e.transform = (r) => eo(e, Gd(r)), e.default = (r) => Yd(e, r), e.prefault = (r) => Qd(e, r), e.catch = (r) => tp(e, r), e.pipe = (r) => eo(e, r), e.readonly = () => op(e), e.describe = (r) => {
3550
3550
  const n = e.clone();
3551
3551
  return gt.add(n, { description: r }), n;
3552
3552
  }, Object.defineProperty(e, "description", {
@@ -3562,7 +3562,7 @@ const dd = (e, t) => {
3562
3562
  }, e.isOptional = () => e.safeParse(void 0).success, e.isNullable = () => e.safeParse(null).success, e)), Na = /* @__PURE__ */ _("_ZodString", (e, t) => {
3563
3563
  en.init(e, t), W.init(e, t);
3564
3564
  const r = e._zod.bag;
3565
- e.format = r.format ?? null, e.minLength = r.minimum ?? null, e.maxLength = r.maximum ?? null, e.regex = (...n) => e.check(Vu(...n)), e.includes = (...n) => e.check(Ju(...n)), e.startsWith = (...n) => e.check(Gu(...n)), e.endsWith = (...n) => e.check(Wu(...n)), e.min = (...n) => e.check(or(...n)), e.max = (...n) => e.check(xa(...n)), e.length = (...n) => e.check(ka(...n)), e.nonempty = (...n) => e.check(or(1, ...n)), e.lowercase = (n) => e.check(Fu(n)), e.uppercase = (n) => e.check(Hu(n)), e.trim = () => e.check(Yu()), e.normalize = (...n) => e.check(qu(...n)), e.toLowerCase = () => e.check(Xu()), e.toUpperCase = () => e.check(Ku());
3565
+ e.format = r.format ?? null, e.minLength = r.minimum ?? null, e.maxLength = r.maximum ?? null, e.regex = (...n) => e.check(Vu(...n)), e.includes = (...n) => e.check(Ju(...n)), e.startsWith = (...n) => e.check(Gu(...n)), e.endsWith = (...n) => e.check(Wu(...n)), e.min = (...n) => e.check(or(...n)), e.max = (...n) => e.check(xa(...n)), e.length = (...n) => e.check(ka(...n)), e.nonempty = (...n) => e.check(or(1, ...n)), e.lowercase = (n) => e.check(Fu(n)), e.uppercase = (n) => e.check(Hu(n)), e.trim = () => e.check(Yu()), e.normalize = (...n) => e.check(qu(...n)), e.toLowerCase = () => e.check(Xu()), e.toUpperCase = () => e.check(Qu());
3566
3566
  }), fd = /* @__PURE__ */ _("ZodString", (e, t) => {
3567
3567
  en.init(e, t), Na.init(e, t), e.email = (r) => e.check(mu(gd, r)), e.url = (r) => e.check(yu(vd, r)), e.jwt = (r) => e.check(Ou(Ad, r)), e.emoji = (r) => e.check(_u(yd, r)), e.guid = (r) => e.check(Jn(Xn, r)), e.uuid = (r) => e.check(hu(Bt, r)), e.uuidv4 = (r) => e.check(fu(Bt, r)), e.uuidv6 = (r) => e.check(gu(Bt, r)), e.uuidv7 = (r) => e.check(vu(Bt, r)), e.nanoid = (r) => e.check(bu(_d, r)), e.guid = (r) => e.check(Jn(Xn, r)), e.cuid = (r) => e.check(wu(bd, r)), e.cuid2 = (r) => e.check(Iu(wd, r)), e.ulid = (r) => e.check(Eu(Id, r)), e.base64 = (r) => e.check(Sa(za, r)), e.base64url = (r) => e.check(zu(Nd, r)), e.xid = (r) => e.check(Tu(Ed, r)), e.ksuid = (r) => e.check(Su(Td, r)), e.ipv4 = (r) => e.check(xu(Sd, r)), e.ipv6 = (r) => e.check(ku(xd, r)), e.cidrv4 = (r) => e.check(Cu(kd, r)), e.cidrv6 = (r) => e.check(Nu(Cd, r)), e.e164 = (r) => e.check(Au(zd, r)), e.datetime = (r) => e.check(od(r)), e.date = (r) => e.check(sd(r)), e.time = (r) => e.check(cd(r)), e.duration = (r) => e.check(ud(r));
3568
3568
  });
@@ -3614,7 +3614,7 @@ const Nd = /* @__PURE__ */ _("ZodBase64URL", (e, t) => {
3614
3614
  }), Ad = /* @__PURE__ */ _("ZodJWT", (e, t) => {
3615
3615
  Ul.init(e, t), Y.init(e, t);
3616
3616
  }), Oa = /* @__PURE__ */ _("ZodNumber", (e, t) => {
3617
- Ia.init(e, t), W.init(e, t), e.gt = (n, o) => e.check(Wn(n, o)), e.gte = (n, o) => e.check(Ir(n, o)), e.min = (n, o) => e.check(Ir(n, o)), e.lt = (n, o) => e.check(Gn(n, o)), e.lte = (n, o) => e.check(wr(n, o)), e.max = (n, o) => e.check(wr(n, o)), e.int = (n) => e.check(Kn(n)), e.safe = (n) => e.check(Kn(n)), e.positive = (n) => e.check(Wn(0, n)), e.nonnegative = (n) => e.check(Ir(0, n)), e.negative = (n) => e.check(Gn(0, n)), e.nonpositive = (n) => e.check(wr(0, n)), e.multipleOf = (n, o) => e.check(qn(n, o)), e.step = (n, o) => e.check(qn(n, o)), e.finite = () => e;
3617
+ Ia.init(e, t), W.init(e, t), e.gt = (n, o) => e.check(Wn(n, o)), e.gte = (n, o) => e.check(Ir(n, o)), e.min = (n, o) => e.check(Ir(n, o)), e.lt = (n, o) => e.check(Gn(n, o)), e.lte = (n, o) => e.check(wr(n, o)), e.max = (n, o) => e.check(wr(n, o)), e.int = (n) => e.check(Qn(n)), e.safe = (n) => e.check(Qn(n)), e.positive = (n) => e.check(Wn(0, n)), e.nonnegative = (n) => e.check(Ir(0, n)), e.negative = (n) => e.check(Gn(0, n)), e.nonpositive = (n) => e.check(wr(0, n)), e.multipleOf = (n, o) => e.check(qn(n, o)), e.step = (n, o) => e.check(qn(n, o)), e.finite = () => e;
3618
3618
  const r = e._zod.bag;
3619
3619
  e.minValue = Math.max(r.minimum ?? Number.NEGATIVE_INFINITY, r.exclusiveMinimum ?? Number.NEGATIVE_INFINITY) ?? null, e.maxValue = Math.min(r.maximum ?? Number.POSITIVE_INFINITY, r.exclusiveMaximum ?? Number.POSITIVE_INFINITY) ?? null, e.isInt = (r.format ?? "").includes("int") || Number.isSafeInteger(r.multipleOf ?? 0.5), e.isFinite = !0, e.format = r.format ?? null;
3620
3620
  });
@@ -3624,7 +3624,7 @@ function St(e) {
3624
3624
  const Od = /* @__PURE__ */ _("ZodNumberFormat", (e, t) => {
3625
3625
  jl.init(e, t), Oa.init(e, t);
3626
3626
  });
3627
- function Kn(e) {
3627
+ function Qn(e) {
3628
3628
  return Du(Od, e);
3629
3629
  }
3630
3630
  const Md = /* @__PURE__ */ _("ZodBoolean", (e, t) => {
@@ -3655,7 +3655,7 @@ const Dd = /* @__PURE__ */ _("ZodArray", (e, t) => {
3655
3655
  Gl.init(e, t), W.init(e, t), e.element = t.element, e.min = (r, n) => e.check(or(r, n)), e.nonempty = (r) => e.check(or(1, r)), e.max = (r, n) => e.check(xa(r, n)), e.length = (r, n) => e.check(ka(r, n)), e.unwrap = () => e.element;
3656
3656
  });
3657
3657
  function qe(e, t) {
3658
- return Qu(Dd, e, t);
3658
+ return Ku(Dd, e, t);
3659
3659
  }
3660
3660
  const tn = /* @__PURE__ */ _("ZodObject", (e, t) => {
3661
3661
  Wl.init(e, t), W.init(e, t), L(e, "shape", () => t.shape), e.keyof = () => Fd(Object.keys(e._zod.def.shape)), e.catchall = (r) => e.clone({ ...e._zod.def, catchall: r }), e.passthrough = () => e.clone({ ...e._zod.def, catchall: pe() }), e.loose = () => e.clone({ ...e._zod.def, catchall: pe() }), e.strict = () => e.clone({ ...e._zod.def, catchall: Ma() }), e.strip = () => e.clone({ ...e._zod.def, catchall: void 0 }), e.extend = (r) => _c(e, r), e.merge = (r) => bc(e, r), e.pick = (r) => vc(e, r), e.omit = (r) => yc(e, r), e.partial = (...r) => wc(Ra, e, r[0]), e.required = (...r) => Ic(Pa, e, r[0]);
@@ -3733,7 +3733,7 @@ function Dr(e, t, r) {
3733
3733
  });
3734
3734
  }
3735
3735
  const Lr = /* @__PURE__ */ _("ZodEnum", (e, t) => {
3736
- Kl.init(e, t), W.init(e, t), e.enum = t.entries, e.options = Object.values(t.entries);
3736
+ Ql.init(e, t), W.init(e, t), e.enum = t.entries, e.options = Object.values(t.entries);
3737
3737
  const r = new Set(Object.keys(t.entries));
3738
3738
  e.extract = (n, o) => {
3739
3739
  const a = {};
@@ -3772,7 +3772,7 @@ function Fd(e, t) {
3772
3772
  });
3773
3773
  }
3774
3774
  const Hd = /* @__PURE__ */ _("ZodLiteral", (e, t) => {
3775
- Ql.init(e, t), W.init(e, t), e.values = new Set(t.values), Object.defineProperty(e, "value", {
3775
+ Kl.init(e, t), W.init(e, t), e.values = new Set(t.values), Object.defineProperty(e, "value", {
3776
3776
  get() {
3777
3777
  if (t.values.length > 1)
3778
3778
  throw new Error("This schema contains multiple valid literal values. Use `.values` instead.");
@@ -3810,7 +3810,7 @@ function Gd(e) {
3810
3810
  const Ra = /* @__PURE__ */ _("ZodOptional", (e, t) => {
3811
3811
  tu.init(e, t), W.init(e, t), e.unwrap = () => e._zod.def.innerType;
3812
3812
  });
3813
- function Q(e) {
3813
+ function K(e) {
3814
3814
  return new Ra({
3815
3815
  type: "optional",
3816
3816
  innerType: e
@@ -3819,7 +3819,7 @@ function Q(e) {
3819
3819
  const Wd = /* @__PURE__ */ _("ZodNullable", (e, t) => {
3820
3820
  ru.init(e, t), W.init(e, t), e.unwrap = () => e._zod.def.innerType;
3821
3821
  });
3822
- function Qn(e) {
3822
+ function Kn(e) {
3823
3823
  return new Wd({
3824
3824
  type: "nullable",
3825
3825
  innerType: e
@@ -3840,7 +3840,7 @@ function Yd(e, t) {
3840
3840
  const Xd = /* @__PURE__ */ _("ZodPrefault", (e, t) => {
3841
3841
  ou.init(e, t), W.init(e, t), e.unwrap = () => e._zod.def.innerType;
3842
3842
  });
3843
- function Kd(e, t) {
3843
+ function Qd(e, t) {
3844
3844
  return new Xd({
3845
3845
  type: "prefault",
3846
3846
  innerType: e,
@@ -3852,7 +3852,7 @@ function Kd(e, t) {
3852
3852
  const Pa = /* @__PURE__ */ _("ZodNonOptional", (e, t) => {
3853
3853
  au.init(e, t), W.init(e, t), e.unwrap = () => e._zod.def.innerType;
3854
3854
  });
3855
- function Qd(e, t) {
3855
+ function Kd(e, t) {
3856
3856
  return new Pa({
3857
3857
  type: "nonoptional",
3858
3858
  innerType: e,
@@ -4763,10 +4763,10 @@ var Yp = (e, t) => {
4763
4763
  allOf: [r, n].filter((o) => o !== void 0)
4764
4764
  };
4765
4765
  };
4766
- function Kp(e, t) {
4766
+ function Qp(e, t) {
4767
4767
  return U(e.type._def, t);
4768
4768
  }
4769
- function Qp(e, t) {
4769
+ function Kp(e, t) {
4770
4770
  const n = {
4771
4771
  type: "array",
4772
4772
  uniqueItems: !0,
@@ -4859,11 +4859,11 @@ var nm = (e, t) => U(e.innerType._def, t), om = (e, t, r) => {
4859
4859
  case N.ZodMap:
4860
4860
  return Lp(e, r);
4861
4861
  case N.ZodSet:
4862
- return Qp(e, r);
4862
+ return Kp(e, r);
4863
4863
  case N.ZodLazy:
4864
4864
  return () => e.getter()._def;
4865
4865
  case N.ZodPromise:
4866
- return Kp(e, r);
4866
+ return Qp(e, r);
4867
4867
  case N.ZodNaN:
4868
4868
  case N.ZodNever:
4869
4869
  return Up();
@@ -6110,27 +6110,27 @@ var Pm = () => ({
6110
6110
  name: E(),
6111
6111
  version: E()
6112
6112
  }), an = lt({
6113
- _meta: Q(P({}).loose())
6113
+ _meta: K(P({}).loose())
6114
6114
  }), kt = an, Lm = P({
6115
6115
  method: E(),
6116
- params: Q(an)
6116
+ params: K(an)
6117
6117
  }), Bm = lt({
6118
- experimental: Q(P({}).loose()),
6119
- logging: Q(P({}).loose()),
6120
- prompts: Q(
6118
+ experimental: K(P({}).loose()),
6119
+ logging: K(P({}).loose()),
6120
+ prompts: K(
6121
6121
  lt({
6122
- listChanged: Q(te())
6122
+ listChanged: K(te())
6123
6123
  })
6124
6124
  ),
6125
- resources: Q(
6125
+ resources: K(
6126
6126
  lt({
6127
- subscribe: Q(te()),
6128
- listChanged: Q(te())
6127
+ subscribe: K(te()),
6128
+ listChanged: K(te())
6129
6129
  })
6130
6130
  ),
6131
- tools: Q(
6131
+ tools: K(
6132
6132
  lt({
6133
- listChanged: Q(te())
6133
+ listChanged: K(te())
6134
6134
  })
6135
6135
  )
6136
6136
  });
@@ -6138,16 +6138,16 @@ kt.extend({
6138
6138
  protocolVersion: E(),
6139
6139
  capabilities: Bm,
6140
6140
  serverInfo: Dm,
6141
- instructions: Q(E())
6141
+ instructions: K(E())
6142
6142
  });
6143
6143
  var Um = kt.extend({
6144
- nextCursor: Q(E())
6144
+ nextCursor: K(E())
6145
6145
  }), jm = P({
6146
6146
  name: E(),
6147
- description: Q(E()),
6147
+ description: K(E()),
6148
6148
  inputSchema: P({
6149
6149
  type: C("object"),
6150
- properties: Q(P({}).loose())
6150
+ properties: K(P({}).loose())
6151
6151
  }).loose()
6152
6152
  }).loose();
6153
6153
  Um.extend({
@@ -6160,7 +6160,7 @@ var Vm = P({
6160
6160
  type: C("image"),
6161
6161
  data: Aa(),
6162
6162
  mimeType: E()
6163
- }).loose(), Ka = P({
6163
+ }).loose(), Qa = P({
6164
6164
  /**
6165
6165
  * The URI of this resource.
6166
6166
  */
@@ -6168,10 +6168,10 @@ var Vm = P({
6168
6168
  /**
6169
6169
  * The MIME type of this resource, if known.
6170
6170
  */
6171
- mimeType: Q(E())
6172
- }).loose(), Hm = Ka.extend({
6171
+ mimeType: K(E())
6172
+ }).loose(), Hm = Qa.extend({
6173
6173
  text: E()
6174
- }), Jm = Ka.extend({
6174
+ }), Jm = Qa.extend({
6175
6175
  blob: Aa()
6176
6176
  }), Gm = P({
6177
6177
  type: C("resource"),
@@ -6200,14 +6200,14 @@ var pr = "2.0", Wm = P({
6200
6200
  error: P({
6201
6201
  code: St().int(),
6202
6202
  message: E(),
6203
- data: Q(pe())
6203
+ data: K(pe())
6204
6204
  })
6205
6205
  }).strict(), Xm = P({
6206
6206
  jsonrpc: C(pr)
6207
6207
  }).merge(
6208
6208
  P({
6209
6209
  method: E(),
6210
- params: Q(an)
6210
+ params: K(an)
6211
6211
  })
6212
6212
  ).strict();
6213
6213
  oe([
@@ -6216,7 +6216,7 @@ oe([
6216
6216
  qm,
6217
6217
  Ym
6218
6218
  ]);
6219
- async function Km(e) {
6219
+ async function Qm(e) {
6220
6220
  if (e == null)
6221
6221
  return [];
6222
6222
  if (!globalThis.FileList || !(e instanceof globalThis.FileList))
@@ -6239,7 +6239,7 @@ async function Km(e) {
6239
6239
  })
6240
6240
  );
6241
6241
  }
6242
- var Qm = class {
6242
+ var Km = class {
6243
6243
  constructor({
6244
6244
  api: e = "/api/chat",
6245
6245
  credentials: t,
@@ -6323,7 +6323,7 @@ var Qm = class {
6323
6323
  throw new Error("The response body is empty.");
6324
6324
  return this.processResponseStream(m.body);
6325
6325
  }
6326
- }, sn = class extends Qm {
6326
+ }, sn = class extends Km {
6327
6327
  constructor(e = {}) {
6328
6328
  super(e);
6329
6329
  }
@@ -6368,7 +6368,7 @@ var Qm = class {
6368
6368
  let w;
6369
6369
  if ("text" in d || "files" in d ? w = {
6370
6370
  parts: [
6371
- ...Array.isArray(d.files) ? d.files : await Km(d.files),
6371
+ ...Array.isArray(d.files) ? d.files : await Qm(d.files),
6372
6372
  ..."text" in d && d.text != null ? [{ type: "text", text: d.text }] : []
6373
6373
  ]
6374
6374
  } : w = d, d.messageId != null) {
@@ -6609,22 +6609,22 @@ function $e(e, t, r) {
6609
6609
  return n[6] = n[6] & 15 | 64, n[8] = n[8] & 63 | 128, th(n);
6610
6610
  }
6611
6611
  let xr = null, kr = null;
6612
- const Qa = async () => (xr || (xr = import(
6612
+ const Ka = async () => (xr || (xr = import(
6613
6613
  /* webpackChunkName: "toast-react-toastify" */
6614
6614
  "./index.790ujKXR.js"
6615
6615
  )), xr), es = async () => (kr || (kr = import(
6616
6616
  /* webpackChunkName: "toast-utilities" */
6617
- "./index.DTBMKq5O.js"
6617
+ "./index.CqtcPR4A.js"
6618
6618
  ).then((e) => e.utilities)), kr), ah = async () => {
6619
6619
  try {
6620
- await Promise.all([Qa(), es()]);
6620
+ await Promise.all([Ka(), es()]);
6621
6621
  } catch {
6622
6622
  }
6623
6623
  }, ts = async (e, t = "success", r) => {
6624
6624
  try {
6625
6625
  window.dispatchEvent(new CustomEvent("toast-request"));
6626
6626
  const [{ toast: n, Slide: o }, { toastOptions: a }] = await Promise.all([
6627
- Qa(),
6627
+ Ka(),
6628
6628
  es()
6629
6629
  ]), i = a({
6630
6630
  ...r,
@@ -7244,7 +7244,7 @@ const Nh = ({
7244
7244
  );
7245
7245
  function cs(e, t) {
7246
7246
  $(() => {
7247
- if (Kt() && typeof window < "u")
7247
+ if (Qt() && typeof window < "u")
7248
7248
  return window.__VERSINI_DIGGIDY_TAURI_EVENTS__ && (window.__VERSINI_DIGGIDY_TAURI_EVENTS__[e] = t), () => {
7249
7249
  window.__VERSINI_DIGGIDY_TAURI_EVENTS__ && (window.__VERSINI_DIGGIDY_TAURI_EVENTS__[e] = null);
7250
7250
  };
@@ -7280,13 +7280,13 @@ const zh = ({
7280
7280
  [
7281
7281
  "mod+N",
7282
7282
  () => {
7283
- Kt() && h();
7283
+ Qt() && h();
7284
7284
  }
7285
7285
  ],
7286
7286
  [
7287
7287
  "mod+T",
7288
7288
  () => {
7289
- Kt() && h();
7289
+ Qt() && h();
7290
7290
  }
7291
7291
  ]
7292
7292
  ],
@@ -7517,7 +7517,7 @@ try {
7517
7517
  });
7518
7518
  } catch {
7519
7519
  }
7520
- const Ee = "panel", Ke = "messagebox", Uh = ({
7520
+ const Ee = "panel", Qe = "messagebox", Uh = ({
7521
7521
  className: e,
7522
7522
  kind: t,
7523
7523
  borderMode: r,
@@ -7544,13 +7544,13 @@ const Ee = "panel", Ke = "messagebox", Uh = ({
7544
7544
  /**
7545
7545
  * Messagebox styles
7546
7546
  */
7547
- [`${Ah} rounded-lg border-2`]: t === Ke,
7548
- "w-[95%] sm:w-[50%] md:max-w-2xl": t === Ke && !e,
7549
- "max-h-[20%]": t === Ke && i === "small",
7550
- "max-h-[50%]": t === Ke && i === "medium",
7551
- "max-h-[95%]": t === Ke && i === "large",
7552
- "border-border-dark": r === "dark" && t === Ke,
7553
- "border-border-accent": r === "light" && t === Ke,
7547
+ [`${Ah} rounded-lg border-2`]: t === Qe,
7548
+ "w-[95%] sm:w-[50%] md:max-w-2xl": t === Qe && !e,
7549
+ "max-h-[20%]": t === Qe && i === "small",
7550
+ "max-h-[50%]": t === Qe && i === "medium",
7551
+ "max-h-[95%]": t === Qe && i === "large",
7552
+ "border-border-dark": r === "dark" && t === Qe,
7553
+ "border-border-accent": r === "light" && t === Qe,
7554
7554
  [`${e}`]: !!e
7555
7555
  }),
7556
7556
  content: "flex flex-col py-2 sm:py-4 sm:px-4 px-2 overflow-y-auto",
@@ -7708,7 +7708,7 @@ const Fh = "av-toggle", Hh = ({ narrow: e }) => z(
7708
7708
  Fh,
7709
7709
  "relative flex cursor-pointer items-center",
7710
7710
  e
7711
- ), Kh = ({
7711
+ ), Qh = ({
7712
7712
  mode: e,
7713
7713
  focusMode: t,
7714
7714
  labelHidden: r,
@@ -7727,7 +7727,7 @@ const Fh = "av-toggle", Hh = ({ narrow: e }) => z(
7727
7727
  label: Yh({ labelHidden: r, labelMode: i, mode: e }),
7728
7728
  input: "peer sr-only",
7729
7729
  wrapper: Xh({ className: n })
7730
- }), Qh = ({
7730
+ }), Kh = ({
7731
7731
  checked: e = !1,
7732
7732
  onChange: t,
7733
7733
  label: r,
@@ -7741,7 +7741,7 @@ const Fh = "av-toggle", Hh = ({ narrow: e }) => z(
7741
7741
  narrow: p = !1,
7742
7742
  noHaptic: d = !1
7743
7743
  }) => {
7744
- const { haptic: f } = bi(), g = Kh({
7744
+ const { haptic: f } = bi(), g = Qh({
7745
7745
  mode: a,
7746
7746
  focusMode: i,
7747
7747
  labelHidden: n,
@@ -7832,7 +7832,7 @@ const rt = ({
7832
7832
  columnGap: 2,
7833
7833
  children: [
7834
7834
  /* @__PURE__ */ l(ct, { span: "auto", children: /* @__PURE__ */ l(
7835
- Qh,
7835
+ Kh,
7836
7836
  {
7837
7837
  narrow: !0,
7838
7838
  mode: "dark",
@@ -7872,7 +7872,7 @@ const rt = ({
7872
7872
  } = ne(xe), [u, c] = R(!1), [p, d] = R(!1), [f, g] = R(!1), [m, h] = Oe({
7873
7873
  key: je + Ss,
7874
7874
  initialValue: ""
7875
- }), y = lr(Qt.TOOL.MEMORIES), { data: w, isSuccess: b } = We({
7875
+ }), y = lr(Kt.TOOL.MEMORIES), { data: w, isSuccess: b } = We({
7876
7876
  user: r?.username,
7877
7877
  getAccessToken: t
7878
7878
  }), I = (x) => {
@@ -8076,7 +8076,7 @@ const Yt = ie.createContext({
8076
8076
  focusMode: i = "system",
8077
8077
  ...s
8078
8078
  }, u) => {
8079
- const [c, p] = R(!1), [d, f] = R(!1), [g, m] = R(null), [h, y] = R(!1), w = j([]), b = j([]), I = ne(Yt), v = Fo(), x = di(), A = Vo(), k = Ho({ label: r !== "Open menu" ? r : null }), O = A != null, { floatingStyles: M, refs: Z, context: K } = Do({
8079
+ const [c, p] = R(!1), [d, f] = R(!1), [g, m] = R(null), [h, y] = R(!1), w = j([]), b = j([]), I = ne(Yt), v = Fo(), x = di(), A = Vo(), k = Ho({ label: r !== "Open menu" ? r : null }), O = A != null, { floatingStyles: M, refs: Z, context: Q } = Do({
8080
8080
  nodeId: x,
8081
8081
  open: c,
8082
8082
  onOpenChange: (he) => {
@@ -8096,21 +8096,21 @@ const Yt = ie.createContext({
8096
8096
  Zo()
8097
8097
  ],
8098
8098
  whileElementsMounted: pi
8099
- }), le = mi(K, {
8099
+ }), le = mi(Q, {
8100
8100
  enabled: O && h,
8101
8101
  delay: { open: 75 },
8102
8102
  handleClose: hi({ blockPointerEvents: !0 })
8103
- }), Ze = Lo(K, {
8103
+ }), Ze = Lo(Q, {
8104
8104
  event: "mousedown",
8105
8105
  toggle: !O || !h,
8106
8106
  ignoreMouse: O && h
8107
- }), F = Uo(K, { role: "menu" }), de = Bo(K, { bubbles: !0 }), De = fi(K, {
8107
+ }), F = Uo(Q, { role: "menu" }), de = Bo(Q, { bubbles: !0 }), De = fi(Q, {
8108
8108
  listRef: w,
8109
8109
  activeIndex: g,
8110
8110
  nested: O,
8111
8111
  onNavigate: m,
8112
8112
  loop: !0
8113
- }), ye = gi(K, {
8113
+ }), ye = gi(Q, {
8114
8114
  listRef: b,
8115
8115
  onMatch: c ? m : void 0,
8116
8116
  activeIndex: g
@@ -8202,7 +8202,7 @@ const Yt = ie.createContext({
8202
8202
  children: /* @__PURE__ */ l(Cn, { elementsRef: w, labelsRef: b, children: c && /* @__PURE__ */ l($r, { children: /* @__PURE__ */ l(
8203
8203
  Rr,
8204
8204
  {
8205
- context: K,
8205
+ context: Q,
8206
8206
  modal: !1,
8207
8207
  initialFocus: -1,
8208
8208
  returnFocus: !1,
@@ -8254,7 +8254,7 @@ const Yt = ie.createContext({
8254
8254
  children: /* @__PURE__ */ l(Cn, { elementsRef: w, labelsRef: b, children: c && /* @__PURE__ */ l($r, { children: /* @__PURE__ */ l(
8255
8255
  Rr,
8256
8256
  {
8257
- context: K,
8257
+ context: Q,
8258
8258
  modal: !1,
8259
8259
  initialFocus: 0,
8260
8260
  returnFocus: !0,
@@ -8707,7 +8707,7 @@ const af = (e) => {
8707
8707
  ".html",
8708
8708
  ".json",
8709
8709
  ".md"
8710
- ], Qe = [
8710
+ ], Ke = [
8711
8711
  ...df,
8712
8712
  ...pf
8713
8713
  ], Jr = 400 * 1024, mf = "text/plain", hf = () => z(
@@ -8800,7 +8800,7 @@ const af = (e) => {
8800
8800
  ] }), ds = 24, wf = 500, ps = 2, If = 5, Ef = ds * ps, bo = If * ds, Tf = "ready", Sf = "streaming", xf = "error", kf = "submitted", Vt = (e) => {
8801
8801
  e.current && (e.current.style.height = `${Ef}px`);
8802
8802
  }, Cf = () => {
8803
- const { user: e, getAccessToken: t } = ve(), r = lr(Qt.ADDON.ATTACHMENTS), n = lr(Qt.ADDON.REASONING), { allowedModels: o } = Gr(), [a, i] = R(null), [s, u] = R(!1), [c, p] = R(!1), {
8803
+ const { user: e, getAccessToken: t } = ve(), r = lr(Kt.ADDON.ATTACHMENTS), n = lr(Kt.ADDON.REASONING), { allowedModels: o } = Gr(), [a, i] = R(null), [s, u] = R(!1), [c, p] = R(!1), {
8804
8804
  dispatch: d,
8805
8805
  state: {
8806
8806
  reasoning: f,
@@ -8823,7 +8823,7 @@ const af = (e) => {
8823
8823
  }), { data: O } = We({
8824
8824
  user: e?.username,
8825
8825
  getAccessToken: t
8826
- }), M = j(null), Z = j(null), K = j(!1), le = j(0), Ze = j(null), F = j(null), de = Os(), De = yf({
8826
+ }), M = j(null), Z = j(null), Q = j(!1), le = j(0), Ze = j(null), F = j(null), de = Os(), De = yf({
8827
8827
  oledMode: A,
8828
8828
  className: ""
8829
8829
  }), ye = n && O?.showReasoningButton, { setMessages: mt, status: ot, id: $t, sendMessage: ht, input: _e, setInput: Ae } = Ye({
@@ -8937,7 +8937,7 @@ const af = (e) => {
8937
8937
  let Xe = !1;
8938
8938
  for (const be of re) {
8939
8939
  const gr = "." + be.name.split(".").pop()?.toLowerCase();
8940
- Qe.includes(gr) ? Be.some(
8940
+ Ke.includes(gr) ? Be.some(
8941
8941
  (vr) => vr.name === be.name && vr.size === be.size && vr.lastModified === be.lastModified
8942
8942
  ) || Be.push(be) : Xe = !0;
8943
8943
  }
@@ -8948,7 +8948,7 @@ const af = (e) => {
8948
8948
  return;
8949
8949
  }
8950
8950
  if (Xe) {
8951
- const be = Qe.length > 1 ? `${Qe.slice(0, -1).join(", ")} and ${Qe[Qe.length - 1]}` : Qe[0];
8951
+ const be = Ke.length > 1 ? `${Ke.slice(0, -1).join(", ")} and ${Ke[Ke.length - 1]}` : Ke[0];
8952
8952
  M.current = `Only ${be} files are allowed.`, u(!0);
8953
8953
  return;
8954
8954
  }
@@ -9020,8 +9020,8 @@ const af = (e) => {
9020
9020
  });
9021
9021
  }
9022
9022
  }, [I, v, Ae]), $(() => {
9023
- if (K.current === !1) {
9024
- K.current = !0, !_e && Vt(F);
9023
+ if (Q.current === !1) {
9024
+ Q.current = !0, !_e && Vt(F);
9025
9025
  return;
9026
9026
  }
9027
9027
  h > 0 && h !== le.current ? (le.current = h, setTimeout(() => {
@@ -9078,7 +9078,7 @@ const af = (e) => {
9078
9078
  onChange: fs,
9079
9079
  className: "hidden",
9080
9080
  multiple: !0,
9081
- accept: Qe.join(","),
9081
+ accept: Ke.join(","),
9082
9082
  "aria-label": "Upload files"
9083
9083
  }
9084
9084
  )
@@ -9252,8 +9252,8 @@ const af = (e) => {
9252
9252
  }), y = Ne(() => {
9253
9253
  if (bn(u, c)) {
9254
9254
  const M = Ds(u), Z = zr.filter(
9255
- (K) => M.includes(
9256
- K.id
9255
+ (Q) => M.includes(
9256
+ Q.id
9257
9257
  )
9258
9258
  );
9259
9259
  return Z.length > 0 ? Z : zr;
@@ -9291,9 +9291,9 @@ const af = (e) => {
9291
9291
  accessToken: await a(),
9292
9292
  username: i?.username || ""
9293
9293
  }), m();
9294
- const K = yr[Z] || Z;
9294
+ const Q = yr[Z] || Z;
9295
9295
  await Ct(
9296
- `${In} ${M} (${K})`,
9296
+ `${In} ${M} (${Q})`,
9297
9297
  {
9298
9298
  containerId: "toggle-provider"
9299
9299
  }
@@ -9376,43 +9376,43 @@ const af = (e) => {
9376
9376
  trigger: O
9377
9377
  }
9378
9378
  ),
9379
- k && /* @__PURE__ */ l("span", { className: "text-xs text-surface-medium font-medium select-none", children: k })
9379
+ k && /* @__PURE__ */ l("span", { className: "text-xs text-surface-light font-medium select-none", children: k })
9380
9380
  ] }) : /* @__PURE__ */ l("div", { className: e, children: O });
9381
9381
  }, Af = Re(
9382
9382
  () => import(
9383
9383
  /* webpackChunkName: "modal-chunk" */
9384
- "./ProfileEntry.Naot3F9p.js"
9384
+ "./ProfileEntry.BSOMcinm.js"
9385
9385
  ).then((e) => ({
9386
9386
  default: e.Profile
9387
9387
  }))
9388
9388
  ), Of = Re(
9389
9389
  () => import(
9390
9390
  /* webpackChunkName: "modal-chunk" */
9391
- "./SettingsEntry.Du0GDXgA.js"
9391
+ "./SettingsEntry.SHZazp-B.js"
9392
9392
  ).then((e) => ({
9393
9393
  default: e.SettingsPanel
9394
9394
  }))
9395
9395
  ), Mf = Re(
9396
9396
  () => import(
9397
9397
  /* webpackChunkName: "modal-chunk" */
9398
- "./HistoryEntry.DM6RInwR.js"
9398
+ "./HistoryEntry.CwveusV0.js"
9399
9399
  ).then((e) => ({
9400
9400
  default: e.HistoryPanel
9401
9401
  }))
9402
9402
  ), $f = Re(
9403
9403
  () => import(
9404
9404
  /* webpackChunkName: "modal-chunk" */
9405
- "./AboutEntry.BOb5_aZI.js"
9405
+ "./AboutEntry.B6zksAh7.js"
9406
9406
  ).then((e) => ({ default: e.About }))
9407
9407
  ), Rf = Re(
9408
9408
  () => import(
9409
9409
  /* webpackChunkName: "modal-chunk" */
9410
- "./UsageEntry.C18Kaf6V.js"
9410
+ "./UsageEntry.BOtq-YTl.js"
9411
9411
  ).then((e) => ({ default: e.Usage }))
9412
9412
  ), Pf = Re(
9413
9413
  () => import(
9414
9414
  /* webpackChunkName: "modal-chunk" */
9415
- "./UserMemoriesPanel.C9gXdvcN.js"
9415
+ "./UserMemoriesPanel.BdWYKyp5.js"
9416
9416
  ).then(
9417
9417
  (e) => ({ default: e.default })
9418
9418
  )
@@ -9452,7 +9452,7 @@ const af = (e) => {
9452
9452
  const { logout: t, getAccessToken: r, user: n } = ve(), o = Vs(), { data: a, isSuccess: i } = We({
9453
9453
  user: n?.username,
9454
9454
  getAccessToken: r
9455
- }), [s, u] = R(null), [c, p] = R(!1), [d, f] = R(!1), [g, m] = R(!1), h = lr(Qt.TOOL.MEMORIES);
9455
+ }), [s, u] = R(null), [c, p] = R(!1), [d, f] = R(!1), [g, m] = R(!1), h = lr(Kt.TOOL.MEMORIES);
9456
9456
  $(() => {
9457
9457
  i && a && h && m(a?.useMemory ?? !1);
9458
9458
  }, [i, a, h]);
@@ -9460,23 +9460,23 @@ const af = (e) => {
9460
9460
  d || Promise.all([
9461
9461
  import(
9462
9462
  /* webpackChunkName: "modal-chunk" */
9463
- "./ProfileEntry.Naot3F9p.js"
9463
+ "./ProfileEntry.BSOMcinm.js"
9464
9464
  ),
9465
9465
  import(
9466
9466
  /* webpackChunkName: "modal-chunk" */
9467
- "./SettingsEntry.Du0GDXgA.js"
9467
+ "./SettingsEntry.SHZazp-B.js"
9468
9468
  ),
9469
9469
  import(
9470
9470
  /* webpackChunkName: "modal-chunk" */
9471
- "./HistoryEntry.DM6RInwR.js"
9471
+ "./HistoryEntry.CwveusV0.js"
9472
9472
  ),
9473
9473
  import(
9474
9474
  /* webpackChunkName: "modal-chunk" */
9475
- "./AboutEntry.BOb5_aZI.js"
9475
+ "./AboutEntry.B6zksAh7.js"
9476
9476
  ),
9477
9477
  import(
9478
9478
  /* webpackChunkName: "modal-chunk" */
9479
- "./UsageEntry.C18Kaf6V.js"
9479
+ "./UsageEntry.BOtq-YTl.js"
9480
9480
  )
9481
9481
  ]).finally(() => f(!0));
9482
9482
  }, [d]), w = D((A) => {
@@ -9497,7 +9497,7 @@ const af = (e) => {
9497
9497
  [
9498
9498
  "mod+,",
9499
9499
  () => {
9500
- Kt() && w("settings");
9500
+ Qt() && w("settings");
9501
9501
  }
9502
9502
  ]
9503
9503
  ],
@@ -9558,7 +9558,7 @@ const af = (e) => {
9558
9558
  label: "Settings",
9559
9559
  onMouseEnter: y,
9560
9560
  onFocus: y,
9561
- children: /* @__PURE__ */ l(Ki, {})
9561
+ children: /* @__PURE__ */ l(Qi, {})
9562
9562
  }
9563
9563
  ),
9564
9564
  defaultPlacement: "bottom-end",
@@ -9576,7 +9576,7 @@ const af = (e) => {
9576
9576
  {
9577
9577
  label: "Settings",
9578
9578
  onClick: () => w("settings"),
9579
- icon: /* @__PURE__ */ l(Qi, {})
9579
+ icon: /* @__PURE__ */ l(Ki, {})
9580
9580
  }
9581
9581
  ),
9582
9582
  /* @__PURE__ */ l(
@@ -9724,18 +9724,18 @@ try {
9724
9724
  } catch {
9725
9725
  }
9726
9726
  const Uf = Re(
9727
- () => import("./index.BYZBF4_0.js").then((e) => ({ default: e.Bubble }))
9727
+ () => import("./index.Tr3TVoxP.js").then((e) => ({ default: e.Bubble }))
9728
9728
  ), dn = (e) => /* @__PURE__ */ l(er, { fallback: /* @__PURE__ */ l("span", { className: "inline-block" }), children: /* @__PURE__ */ l(Uf, { ...e }) });
9729
9729
  dn.displayName = "AsyncBubble";
9730
9730
  const Io = 1, jf = 150, Vf = Re(
9731
9731
  () => import(
9732
9732
  /* webpackChunkName: "LazyMessageAssistant" */
9733
- "./ChatBubbleAssistant.CT2jmjen.js"
9733
+ "./ChatBubbleAssistant.RzH26aLB.js"
9734
9734
  )
9735
9735
  ), Ff = Re(
9736
9736
  () => import(
9737
9737
  /* webpackChunkName: "LazyMessageUser" */
9738
- "./ChatBubbleUser.CM1FzHNQ.js"
9738
+ "./ChatBubbleUser.CBnoxqes.js"
9739
9739
  )
9740
9740
  ), Hf = pt.memo(
9741
9741
  ({
@@ -9872,10 +9872,10 @@ function hs({
9872
9872
  headerHeight: t = 0
9873
9873
  }) {
9874
9874
  const { user: r, getAccessToken: n } = ve(), [o, a] = R(`${Sn}px`), [i, s] = No(), [u, c] = R($e()), [p, d] = R([]), [f] = Oe({
9875
- key: je + Qs,
9875
+ key: je + Ks,
9876
9876
  initialValue: ""
9877
9877
  }), [g] = Oe({
9878
- key: je + Ks,
9878
+ key: je + Qs,
9879
9879
  initialValue: xn
9880
9880
  }), [m] = Oe({
9881
9881
  key: je + ti,
@@ -9912,7 +9912,7 @@ function hs({
9912
9912
  ), [M, Z] = Pt(lh, {
9913
9913
  prompt: "",
9914
9914
  lastTriggeredTimestamp: 0
9915
- }), [K, le] = Pt(ih, {
9915
+ }), [Q, le] = Pt(ih, {
9916
9916
  provider: "",
9917
9917
  // OpenAI, Anthropic, etc.
9918
9918
  privateChat: !1,
@@ -9940,7 +9940,7 @@ function hs({
9940
9940
  setChatId: c,
9941
9941
  setInitialMessages: d,
9942
9942
  dispatchChat: le,
9943
- stateProvider: K.provider
9943
+ stateProvider: Q.provider
9944
9944
  }), $(() => {
9945
9945
  document.getElementById("root")?.classList.replace("app-hidden", "fadeIn");
9946
9946
  }, []), $(() => {
@@ -9988,7 +9988,7 @@ function hs({
9988
9988
  xe.Provider,
9989
9989
  {
9990
9990
  value: {
9991
- state: K,
9991
+ state: Q,
9992
9992
  dispatch: le,
9993
9993
  setChatId: c,
9994
9994
  setInitialMessages: d
@@ -10055,7 +10055,7 @@ export {
10055
10055
  xe as ChatContext,
10056
10056
  rt as ConfirmationPanel,
10057
10057
  Oe as E,
10058
- Qh as G,
10058
+ Kh as G,
10059
10059
  is as HistoryContext,
10060
10060
  fo as LazyToastContainerWrapper,
10061
10061
  ut as e,