@versini/sassysaint 8.1.7 → 8.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -555,7 +555,7 @@ function Qr(e, t, ...r) {
555
555
  } else r.length === 2 ? e += `one of type ${r[0]} or ${r[1]}.` : e += `of type ${r[0]}.`;
556
556
  return t == null ? e += ` Received ${t}` : typeof t == "function" && t.name ? e += ` Received function ${t.name}` : typeof t == "object" && t != null && (n = t.constructor) != null && n.name && (e += ` Received an instance of ${t.constructor.name}`), e;
557
557
  }
558
- const fr = (e, ...t) => Qr("Key must be ", e, ...t);
558
+ const hr = (e, ...t) => Qr("Key must be ", e, ...t);
559
559
  function Zr(e, t, ...r) {
560
560
  return Qr(`Key for the ${e} algorithm must be `, t, ...r);
561
561
  }
@@ -591,7 +591,7 @@ function Pe(e) {
591
591
  t = Object.getPrototypeOf(t);
592
592
  return Object.getPrototypeOf(e) === t;
593
593
  }
594
- const ha = (e, t) => {
594
+ const fa = (e, t) => {
595
595
  if (e.startsWith("RS") || e.startsWith("PS")) {
596
596
  const { modulusLength: r } = t.algorithm;
597
597
  if (typeof r != "number" || r < 2048)
@@ -601,7 +601,7 @@ const ha = (e, t) => {
601
601
  function De(e) {
602
602
  return Pe(e) && typeof e.kty == "string";
603
603
  }
604
- function fa(e) {
604
+ function ha(e) {
605
605
  return e.kty !== "oct" && typeof e.d == "string";
606
606
  }
607
607
  function ma(e) {
@@ -833,7 +833,7 @@ const Oe = (e) => e == null ? void 0 : e[Symbol.toStringTag], Vt = (e, t, r) =>
833
833
  if (n && De(t))
834
834
  switch (r) {
835
835
  case "sign":
836
- if (fa(t) && Vt(e, t, r))
836
+ if (ha(t) && Vt(e, t, r))
837
837
  return;
838
838
  throw new TypeError("JSON Web Key for this operation be a private JWK");
839
839
  case "verify":
@@ -909,19 +909,19 @@ function ka(e, t) {
909
909
  throw new ae(`alg ${e} is not supported either by JOSE or your javascript runtime`);
910
910
  }
911
911
  }
912
- async function Na(e, t, r) {
912
+ async function Ca(e, t, r) {
913
913
  if (t = await ba.normalizePublicKey(t, e), qr(t))
914
914
  return la(t, e, r), t;
915
915
  if (t instanceof Uint8Array) {
916
916
  if (!e.startsWith("HS"))
917
- throw new TypeError(fr(t, ...ot));
917
+ throw new TypeError(hr(t, ...ot));
918
918
  return ut.subtle.importKey("raw", t, { hash: `SHA-${e.slice(-3)}`, name: "HMAC" }, !1, [r]);
919
919
  }
920
- throw new TypeError(fr(t, ...ot, "Uint8Array", "JSON Web Key"));
920
+ throw new TypeError(hr(t, ...ot, "Uint8Array", "JSON Web Key"));
921
921
  }
922
- const Ca = async (e, t, r, n) => {
923
- const a = await Na(e, t, "verify");
924
- ha(e, a);
922
+ const Na = async (e, t, r, n) => {
923
+ const a = await Ca(e, t, "verify");
924
+ fa(e, a);
925
925
  const s = ka(e, a.algorithm);
926
926
  try {
927
927
  return await ut.subtle.verify(s, a, r, n);
@@ -979,7 +979,7 @@ async function Oa(e, t, r) {
979
979
  } catch {
980
980
  throw new H("Failed to base64url decode the signature");
981
981
  }
982
- if (!await Ca(i, t, u, f))
982
+ if (!await Na(i, t, u, f))
983
983
  throw new Xr();
984
984
  let l;
985
985
  if (o)
@@ -1258,7 +1258,7 @@ function vt(e, t, r) {
1258
1258
  const n = e.random || (e.rng || ts)();
1259
1259
  return n[6] = n[6] & 15 | 64, n[8] = n[8] & 63 | 128, Za(n);
1260
1260
  }
1261
- const ve = "Your session has expired. For your security, please log in again to continue.", ns = "Your session has been successfully terminated.", kt = "Login failed. Please try again.", as = "Error getting access token, please re-authenticate.", ss = "You forgot to wrap your component in <AuthProvider>.", ze = "@@auth@@", $e = "LOADING", rt = "LOGIN", ln = "LOGOUT", We = "success", ue = "failure", dn = "include", un = "POST", hn = "application/json", Xe = {
1261
+ const ve = "Your session has expired. For your security, please log in again to continue.", ns = "Your session has been successfully terminated.", kt = "Login failed. Please try again.", as = "Error getting access token, please re-authenticate.", ss = "You forgot to wrap your component in <AuthProvider>.", ze = "@@auth@@", $e = "LOADING", rt = "LOGIN", ln = "LOGOUT", We = "success", ue = "failure", dn = "include", un = "POST", fn = "application/json", Xe = {
1262
1262
  GET_REGISTRATION_OPTIONS: `mutation GetPasskeyRegistrationOptions(
1263
1263
  $clientId: String!,
1264
1264
  $username: String!,
@@ -1356,7 +1356,7 @@ const ve = "Your session has expired. For your security, please log in again to
1356
1356
  schema: Xe.VERIFY_AUTHENTICATION,
1357
1357
  method: "verifyPasskeyAuthentication"
1358
1358
  }
1359
- }, Ne = async ({
1359
+ }, Ce = async ({
1360
1360
  accessToken: e,
1361
1361
  type: t,
1362
1362
  clientId: r,
@@ -1369,7 +1369,7 @@ const ve = "Your session has expired. For your security, please log in again to
1369
1369
  method: un,
1370
1370
  headers: {
1371
1371
  authorization: s,
1372
- "Content-Type": hn,
1372
+ "Content-Type": fn,
1373
1373
  [jr.CLIENT_ID]: `${r}`
1374
1374
  },
1375
1375
  body: JSON.stringify({
@@ -1387,7 +1387,7 @@ const ve = "Your session has expired. For your security, please log in again to
1387
1387
  } catch (s) {
1388
1388
  return console.error(s), { status: ue, data: [] };
1389
1389
  }
1390
- }, ht = async ({
1390
+ }, ft = async ({
1391
1391
  type: e,
1392
1392
  clientId: t,
1393
1393
  params: r = {},
@@ -1398,7 +1398,7 @@ const ve = "Your session has expired. For your security, please log in again to
1398
1398
  credentials: dn,
1399
1399
  method: un,
1400
1400
  headers: {
1401
- "Content-Type": hn,
1401
+ "Content-Type": fn,
1402
1402
  [jr.CLIENT_ID]: `${t}`
1403
1403
  },
1404
1404
  body: JSON.stringify(r)
@@ -1413,7 +1413,7 @@ const ve = "Your session has expired. For your security, please log in again to
1413
1413
  } catch (a) {
1414
1414
  return console.error(a), { status: ue, data: [] };
1415
1415
  }
1416
- }, os = process.env.NODE_ENV === "production", is = !os, fn = {
1416
+ }, os = process.env.NODE_ENV === "production", is = !os, hn = {
1417
1417
  isLoading: !0,
1418
1418
  isAuthenticated: !1,
1419
1419
  user: void 0,
@@ -1437,7 +1437,7 @@ const ve = "Your session has expired. For your security, please log in again to
1437
1437
  var s;
1438
1438
  try {
1439
1439
  return {
1440
- status: ((s = await ht({
1440
+ status: ((s = await ft({
1441
1441
  endpoint: a,
1442
1442
  type: dt.LOGOUT,
1443
1443
  clientId: t,
@@ -1468,7 +1468,7 @@ const ve = "Your session has expired. For your security, please log in again to
1468
1468
  }) => {
1469
1469
  var u;
1470
1470
  try {
1471
- const l = await ht({
1471
+ const l = await ft({
1472
1472
  endpoint: f,
1473
1473
  type: dt.LOGIN,
1474
1474
  clientId: r,
@@ -1507,7 +1507,7 @@ const ve = "Your session has expired. For your security, please log in again to
1507
1507
  }) => {
1508
1508
  var a;
1509
1509
  try {
1510
- const s = await ht({
1510
+ const s = await ft({
1511
1511
  endpoint: n,
1512
1512
  type: dt.CODE,
1513
1513
  clientId: t,
@@ -1530,7 +1530,7 @@ const ve = "Your session has expired. For your security, please log in again to
1530
1530
  data: ""
1531
1531
  };
1532
1532
  }
1533
- }, hs = async ({
1533
+ }, fs = async ({
1534
1534
  clientId: e,
1535
1535
  userId: t,
1536
1536
  nonce: r,
@@ -1541,7 +1541,7 @@ const ve = "Your session has expired. For your security, please log in again to
1541
1541
  }) => {
1542
1542
  var i;
1543
1543
  try {
1544
- const c = await ht({
1544
+ const c = await ft({
1545
1545
  endpoint: o,
1546
1546
  type: dt.REFRESH,
1547
1547
  clientId: e,
@@ -1568,7 +1568,7 @@ const ve = "Your session has expired. For your security, please log in again to
1568
1568
  };
1569
1569
  }
1570
1570
  };
1571
- class fs {
1571
+ class hs {
1572
1572
  constructor(t = null, r = null) {
1573
1573
  Tt(this, "refreshTokenPromise", null), Tt(this, "accessToken"), Tt(this, "refreshToken"), this.accessToken = t || "", this.refreshToken = r || "";
1574
1574
  }
@@ -1601,7 +1601,7 @@ class fs {
1601
1601
  }) {
1602
1602
  const o = await Me(this.refreshToken);
1603
1603
  if (o && o.payload[F.USER_ID_KEY] !== "") {
1604
- const i = await hs({
1604
+ const i = await fs({
1605
1605
  endpoint: t,
1606
1606
  clientId: r,
1607
1607
  userId: n,
@@ -1628,21 +1628,21 @@ const ms = (e) => re(
1628
1628
  e && console.info(`==> [Auth ${Date.now()}]: `, ...t);
1629
1629
  },
1630
1630
  [e]
1631
- ), Ce = () => {
1631
+ ), Ne = () => {
1632
1632
  throw new Error(ss);
1633
1633
  }, mn = Vr({
1634
1634
  isAuthenticated: !1,
1635
1635
  isLoading: !1,
1636
- login: Ce,
1637
- logout: Ce,
1638
- getAccessToken: Ce,
1639
- getIdToken: Ce,
1640
- registeringForPasskey: Ce,
1641
- loginWithPasskey: Ce,
1636
+ login: Ne,
1637
+ logout: Ne,
1638
+ getAccessToken: Ne,
1639
+ getIdToken: Ne,
1640
+ registeringForPasskey: Ne,
1641
+ loginWithPasskey: Ne,
1642
1642
  logoutReason: "",
1643
1643
  authenticationType: ""
1644
1644
  }), ps = Z.createContext({
1645
- state: fn,
1645
+ state: hn,
1646
1646
  dispatch: () => {
1647
1647
  }
1648
1648
  }), gs = (e, t) => (t == null ? void 0 : t.type) === $e ? {
@@ -1671,7 +1671,7 @@ const ms = (e) => re(
1671
1671
  endpoint: s = is ? "https://auth.gizmette.local.com:3003" : "https://mylogin.gizmette.com/auth"
1672
1672
  }) => {
1673
1673
  const [o, i] = Wr(gs, {
1674
- ...fn,
1674
+ ...hn,
1675
1675
  debug: a
1676
1676
  }), c = ms(a), m = x(!1), [f, u, , l] = qe({
1677
1677
  key: `${ze}::${r}::@@user@@`
@@ -1683,7 +1683,7 @@ const ms = (e) => re(
1683
1683
  }
1684
1684
  ), [U, K, , I] = qe({
1685
1685
  key: `${ze}::${r}::@@nonce@@`
1686
- }), D = new fs(d, w), M = re(() => {
1686
+ }), D = new hs(d, w), M = re(() => {
1687
1687
  c("removeLocalStorage: removing local storage"), l(), y(), $(), I();
1688
1688
  }, [
1689
1689
  y,
@@ -1757,13 +1757,13 @@ const ms = (e) => re(
1757
1757
  i({ type: $e, payload: { isLoading: !0 } }), M();
1758
1758
  const T = vt();
1759
1759
  K(T), c("login: Logging in with password");
1760
- const { code_verifier: he, code_challenge: Et } = await za(), fe = await us({
1760
+ const { code_verifier: fe, code_challenge: Et } = await za(), he = await us({
1761
1761
  endpoint: s,
1762
1762
  nonce: T,
1763
1763
  clientId: r,
1764
1764
  code_challenge: Et
1765
1765
  });
1766
- if (fe.status) {
1766
+ if (he.status) {
1767
1767
  const X = await ds({
1768
1768
  endpoint: s,
1769
1769
  username: b,
@@ -1772,8 +1772,8 @@ const ms = (e) => re(
1772
1772
  sessionExpiration: t,
1773
1773
  nonce: T,
1774
1774
  type: xe.CODE,
1775
- code: fe.data,
1776
- code_verifier: he,
1775
+ code: he.data,
1776
+ code_verifier: fe,
1777
1777
  domain: n,
1778
1778
  ua: navigator.userAgent
1779
1779
  });
@@ -1798,8 +1798,8 @@ const ms = (e) => re(
1798
1798
  if (b && k && k.userId) {
1799
1799
  if (d) {
1800
1800
  c("getAccessToken");
1801
- const he = await Me(d);
1802
- if (he && he.payload[F.USER_ID_KEY] !== "")
1801
+ const fe = await Me(d);
1802
+ if (fe && fe.payload[F.USER_ID_KEY] !== "")
1803
1803
  return d;
1804
1804
  }
1805
1805
  c("getAccessToken: invalid access token, trying to refresh it");
@@ -1824,7 +1824,7 @@ const ms = (e) => re(
1824
1824
  }
1825
1825
  }, R = () => o.isAuthenticated && f ? f : "", V = async () => {
1826
1826
  const { user: b } = o;
1827
- let k = await Ne({
1827
+ let k = await Ce({
1828
1828
  endpoint: s,
1829
1829
  accessToken: d,
1830
1830
  clientId: r,
@@ -1838,7 +1838,7 @@ const ms = (e) => re(
1838
1838
  if (k.status)
1839
1839
  try {
1840
1840
  const T = await Yn(k.data);
1841
- return k = await Ne({
1841
+ return k = await Ce({
1842
1842
  endpoint: s,
1843
1843
  accessToken: d,
1844
1844
  clientId: r,
@@ -1851,7 +1851,7 @@ const ms = (e) => re(
1851
1851
  }
1852
1852
  }), !!(k.status && k.data.length > 0);
1853
1853
  } catch {
1854
- return await Ne({
1854
+ return await Ce({
1855
1855
  endpoint: s,
1856
1856
  accessToken: d,
1857
1857
  clientId: r,
@@ -1870,7 +1870,7 @@ const ms = (e) => re(
1870
1870
  const b = vt();
1871
1871
  K(b), c("loginWithPasskey");
1872
1872
  const k = vt();
1873
- let T = await Ne({
1873
+ let T = await Ce({
1874
1874
  endpoint: s,
1875
1875
  accessToken: d,
1876
1876
  clientId: r,
@@ -1882,8 +1882,8 @@ const ms = (e) => re(
1882
1882
  });
1883
1883
  if (T.status)
1884
1884
  try {
1885
- const he = await zn(T.data);
1886
- return T = await Ne({
1885
+ const fe = await zn(T.data);
1886
+ return T = await Ce({
1887
1887
  endpoint: s,
1888
1888
  accessToken: d,
1889
1889
  clientId: r,
@@ -1891,7 +1891,7 @@ const ms = (e) => re(
1891
1891
  params: {
1892
1892
  clientId: r,
1893
1893
  id: k,
1894
- authentication: he,
1894
+ authentication: fe,
1895
1895
  nonce: b,
1896
1896
  domain: n,
1897
1897
  sessionExpiration: t,
@@ -1909,7 +1909,7 @@ const ms = (e) => re(
1909
1909
  }
1910
1910
  }), !0) : (S(kt), !1);
1911
1911
  } catch {
1912
- return await Ne({
1912
+ return await Ce({
1913
1913
  endpoint: s,
1914
1914
  accessToken: d,
1915
1915
  clientId: r,
@@ -1942,7 +1942,7 @@ const ms = (e) => re(
1942
1942
  }
1943
1943
  ) });
1944
1944
  }, pn = (e = mn) => Zt(e), Oi = "user", xi = "assistant", Pi = "data", Di = "I'm having trouble right now. Please try again later.", Li = "OpenAI", $i = "OpenAI", Ui = "Anthropic", Mi = "action-search", Hi = "action-sort", Ki = "action-toggle-prompt", Vi = "action-reset-prompt", Wi = "sassy-saint-", Gi = "details", Bi = "search", Fi = "sort", Ji = "private-disclosure", Ar = "b44c68f0-e5b3-4a1d-a3e3-df8632b0223b", Yi = 10, ji = 30, qi = "av-prompt", zi = "av-prompt-editable", Xi = "size-5 sm:size-4", Qi = 30, Zi = 10, ec = 130;
1945
- var Qe = { exports: {} }, Nt = {};
1945
+ var Qe = { exports: {} }, Ct = {};
1946
1946
  /**
1947
1947
  * @license React
1948
1948
  * use-sync-external-store-shim.production.js
@@ -1954,7 +1954,7 @@ var Qe = { exports: {} }, Nt = {};
1954
1954
  */
1955
1955
  var Rr;
1956
1956
  function ys() {
1957
- if (Rr) return Nt;
1957
+ if (Rr) return Ct;
1958
1958
  Rr = 1;
1959
1959
  var e = Z;
1960
1960
  function t(u, l) {
@@ -1991,9 +1991,9 @@ function ys() {
1991
1991
  return l();
1992
1992
  }
1993
1993
  var f = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? m : i;
1994
- return Nt.useSyncExternalStore = e.useSyncExternalStore !== void 0 ? e.useSyncExternalStore : f, Nt;
1994
+ return Ct.useSyncExternalStore = e.useSyncExternalStore !== void 0 ? e.useSyncExternalStore : f, Ct;
1995
1995
  }
1996
- var Ct = {};
1996
+ var Nt = {};
1997
1997
  /**
1998
1998
  * @license React
1999
1999
  * use-sync-external-store-shim.development.js
@@ -2053,16 +2053,16 @@ function Es() {
2053
2053
  }
2054
2054
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
2055
2055
  var a = Z, s = typeof Object.is == "function" ? Object.is : e, o = a.useState, i = a.useEffect, c = a.useLayoutEffect, m = a.useDebugValue, f = !1, u = !1, l = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? n : t;
2056
- Ct.useSyncExternalStore = a.useSyncExternalStore !== void 0 ? a.useSyncExternalStore : l, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
2057
- }()), Ct;
2056
+ Nt.useSyncExternalStore = a.useSyncExternalStore !== void 0 ? a.useSyncExternalStore : l, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
2057
+ }()), Nt;
2058
2058
  }
2059
2059
  var kr;
2060
2060
  function bs() {
2061
2061
  return kr || (kr = 1, process.env.NODE_ENV === "production" ? Qe.exports = /* @__PURE__ */ ys() : Qe.exports = /* @__PURE__ */ Es()), Qe.exports;
2062
2062
  }
2063
2063
  var Ss = /* @__PURE__ */ bs();
2064
- const gn = 0, yn = 1, En = 2, Nr = 3;
2065
- var Cr = Object.prototype.hasOwnProperty;
2064
+ const gn = 0, yn = 1, En = 2, Cr = 3;
2065
+ var Nr = Object.prototype.hasOwnProperty;
2066
2066
  function Wt(e, t) {
2067
2067
  var r, n;
2068
2068
  if (e === t) return !0;
@@ -2077,7 +2077,7 @@ function Wt(e, t) {
2077
2077
  if (!r || typeof e == "object") {
2078
2078
  n = 0;
2079
2079
  for (r in e)
2080
- if (Cr.call(e, r) && ++n && !Cr.call(t, r) || !(r in t) || !Wt(e[r], t[r])) return !1;
2080
+ if (Nr.call(e, r) && ++n && !Nr.call(t, r) || !(r in t) || !Wt(e[r], t[r])) return !1;
2081
2081
  return Object.keys(t).length === n;
2082
2082
  }
2083
2083
  }
@@ -2135,17 +2135,17 @@ const _s = () => Ft, [Jt, Yt] = Ge && window.addEventListener ? [
2135
2135
  }, ks = {
2136
2136
  initFocus: As,
2137
2137
  initReconnect: Rs
2138
- }, Or = !Z.useId, He = !Ge || ws, Ns = (e) => Ts() ? window.requestAnimationFrame(e) : setTimeout(e, 1), xt = He ? se : Ue, Pt = typeof navigator < "u" && navigator.connection, xr = !He && Pt && ([
2138
+ }, Or = !Z.useId, He = !Ge || ws, Cs = (e) => Ts() ? window.requestAnimationFrame(e) : setTimeout(e, 1), xt = He ? se : Ue, Pt = typeof navigator < "u" && navigator.connection, xr = !He && Pt && ([
2139
2139
  "slow-2g",
2140
2140
  "2g"
2141
2141
  ].includes(Pt.effectiveType) || Pt.saveData), et = /* @__PURE__ */ new WeakMap(), Dt = (e, t) => Gt.prototype.toString.call(e) === `[object ${t}]`;
2142
- let Cs = 0;
2142
+ let Ns = 0;
2143
2143
  const jt = (e) => {
2144
2144
  const t = typeof e, r = Dt(e, "Date"), n = Dt(e, "RegExp"), a = Dt(e, "Object");
2145
2145
  let s, o;
2146
2146
  if (Gt(e) === e && !r && !n) {
2147
2147
  if (s = et.get(e), s) return s;
2148
- if (s = ++Cs + "~", et.set(e, s), Array.isArray(e)) {
2148
+ if (s = ++Ns + "~", et.set(e, s), Array.isArray(e)) {
2149
2149
  for (s = "@", o = 0; o < e.length; o++)
2150
2150
  s += jt(e[o]) + ",";
2151
2151
  et.set(e, s);
@@ -2160,7 +2160,7 @@ const jt = (e) => {
2160
2160
  } else
2161
2161
  s = r ? e.toJSON() : t == "symbol" ? e.toString() : t == "string" ? JSON.stringify(e) : "" + e;
2162
2162
  return s;
2163
- }, ft = (e) => {
2163
+ }, ht = (e) => {
2164
2164
  if (de(e))
2165
2165
  try {
2166
2166
  e = e();
@@ -2195,7 +2195,7 @@ async function wn(...e) {
2195
2195
  }
2196
2196
  return u(r);
2197
2197
  async function u(l) {
2198
- const [d] = ft(l);
2198
+ const [d] = ht(l);
2199
2199
  if (!d) return;
2200
2200
  const [p, y] = Sn(t, d), [w, g, $, U] = le.get(t), K = () => {
2201
2201
  const R = w[d];
@@ -2345,12 +2345,12 @@ const Pr = (e, t) => {
2345
2345
  null,
2346
2346
  (e[1] === null ? e[2] : e[1]) || {}
2347
2347
  ], Gs = () => Te($s, Zt(Ms)), _n = (e, t) => {
2348
- const [r, n] = ft(e), [, , , a] = le.get(nr);
2348
+ const [r, n] = ht(e), [, , , a] = le.get(nr);
2349
2349
  if (a[r]) return a[r];
2350
2350
  const s = t(n);
2351
2351
  return a[r] = s, s;
2352
2352
  }, Bs = (e) => (t, r, n) => e(t, r && ((...s) => {
2353
- const [o] = ft(t), [, , , i] = le.get(nr);
2353
+ const [o] = ht(t), [, , , i] = le.get(nr);
2354
2354
  if (o.startsWith(Hs))
2355
2355
  return r(...s);
2356
2356
  const c = i[o];
@@ -2392,29 +2392,29 @@ const Lt = Z.use || // This extra generic is to avoid TypeScript mixing up the g
2392
2392
  }), $t = {
2393
2393
  dedupe: !0
2394
2394
  }, js = (e, t, r) => {
2395
- const { cache: n, compare: a, suspense: s, fallbackData: o, revalidateOnMount: i, revalidateIfStale: c, refreshInterval: m, refreshWhenHidden: f, refreshWhenOffline: u, keepPreviousData: l } = r, [d, p, y, w] = le.get(n), [g, $] = ft(e), U = x(!1), K = x(!1), I = x(g), D = x(t), M = x(r), S = () => M.current, v = () => S().isVisible() && S().isOnline(), [P, A, O, R] = Sn(n, g), V = x({}).current, ee = _(o) ? _(r.fallback) ? q : r.fallback[g] : o, b = (N, C) => {
2395
+ const { cache: n, compare: a, suspense: s, fallbackData: o, revalidateOnMount: i, revalidateIfStale: c, refreshInterval: m, refreshWhenHidden: f, refreshWhenOffline: u, keepPreviousData: l } = r, [d, p, y, w] = le.get(n), [g, $] = ht(e), U = x(!1), K = x(!1), I = x(g), D = x(t), M = x(r), S = () => M.current, v = () => S().isVisible() && S().isOnline(), [P, A, O, R] = Sn(n, g), V = x({}).current, ee = _(o) ? _(r.fallback) ? q : r.fallback[g] : o, b = (C, N) => {
2396
2396
  for (const J in V) {
2397
2397
  const L = J;
2398
2398
  if (L === "data") {
2399
- if (!a(N[L], C[L]) && (!_(N[L]) || !a(Je, C[L])))
2399
+ if (!a(C[L], N[L]) && (!_(C[L]) || !a(Je, N[L])))
2400
2400
  return !1;
2401
- } else if (C[L] !== N[L])
2401
+ } else if (N[L] !== C[L])
2402
2402
  return !1;
2403
2403
  }
2404
2404
  return !0;
2405
2405
  }, k = Ke(() => {
2406
- const N = !g || !t ? !1 : _(i) ? S().isPaused() || s ? !1 : c !== !1 : i, C = (j) => {
2406
+ const C = !g || !t ? !1 : _(i) ? S().isPaused() || s ? !1 : c !== !1 : i, N = (j) => {
2407
2407
  const me = Te(j);
2408
- return delete me._k, N ? {
2408
+ return delete me._k, C ? {
2409
2409
  isValidating: !0,
2410
2410
  isLoading: !0,
2411
2411
  ...me
2412
2412
  } : me;
2413
- }, J = P(), L = R(), oe = C(J), Ie = J === L ? oe : C(L);
2413
+ }, J = P(), L = R(), oe = N(J), Ie = J === L ? oe : N(L);
2414
2414
  let W = oe;
2415
2415
  return [
2416
2416
  () => {
2417
- const j = C(P());
2417
+ const j = N(P());
2418
2418
  return b(j, W) ? (W.data = j.data, W.isLoading = j.isLoading, W.isValidating = j.isValidating, W.error = j.error, W) : (W = j, j);
2419
2419
  },
2420
2420
  () => Ie
@@ -2423,21 +2423,21 @@ const Lt = Z.use || // This extra generic is to avoid TypeScript mixing up the g
2423
2423
  n,
2424
2424
  g
2425
2425
  ]), T = Ss.useSyncExternalStore(re(
2426
- (N) => O(g, (C, J) => {
2427
- b(J, C) || N();
2426
+ (C) => O(g, (N, J) => {
2427
+ b(J, N) || C();
2428
2428
  }),
2429
2429
  // eslint-disable-next-line react-hooks/exhaustive-deps
2430
2430
  [
2431
2431
  n,
2432
2432
  g
2433
2433
  ]
2434
- ), k[0], k[1]), he = !U.current, Et = d[g] && d[g].length > 0, fe = T.data, X = _(fe) ? ee && bn(ee) ? Lt(ee) : ee : fe, Fe = T.error, bt = x(X), Je = l ? _(fe) ? _(bt.current) ? X : bt.current : fe : X, ir = Et && !_(Fe) ? !1 : he && !_(i) ? i : S().isPaused() ? !1 : s ? _(X) ? !1 : c : _(X) || c, cr = !!(g && t && he && ir), Ln = _(T.isValidating) ? cr : T.isValidating, $n = _(T.isLoading) ? cr : T.isLoading, Le = re(
2435
- async (N) => {
2436
- const C = D.current;
2437
- if (!g || !C || K.current || S().isPaused())
2434
+ ), k[0], k[1]), fe = !U.current, Et = d[g] && d[g].length > 0, he = T.data, X = _(he) ? ee && bn(ee) ? Lt(ee) : ee : he, Fe = T.error, bt = x(X), Je = l ? _(he) ? _(bt.current) ? X : bt.current : he : X, ir = Et && !_(Fe) ? !1 : fe && !_(i) ? i : S().isPaused() ? !1 : s ? _(X) ? !1 : c : _(X) || c, cr = !!(g && t && fe && ir), Ln = _(T.isValidating) ? cr : T.isValidating, $n = _(T.isLoading) ? cr : T.isLoading, Le = re(
2435
+ async (C) => {
2436
+ const N = D.current;
2437
+ if (!g || !N || K.current || S().isPaused())
2438
2438
  return !1;
2439
2439
  let J, L, oe = !0;
2440
- const Ie = N || {}, W = !y[g] || !Ie.dedupe, j = () => Or ? !K.current && g === I.current && U.current : g === I.current, me = {
2440
+ const Ie = C || {}, W = !y[g] || !Ie.dedupe, j = () => Or ? !K.current && g === I.current && U.current : g === I.current, me = {
2441
2441
  isValidating: !1,
2442
2442
  isLoading: !1
2443
2443
  }, dr = () => {
@@ -2445,15 +2445,15 @@ const Lt = Z.use || // This extra generic is to avoid TypeScript mixing up the g
2445
2445
  }, ur = () => {
2446
2446
  const te = y[g];
2447
2447
  te && te[1] === L && delete y[g];
2448
- }, hr = {
2448
+ }, fr = {
2449
2449
  isValidating: !0
2450
2450
  };
2451
- _(P().data) && (hr.isLoading = !0);
2451
+ _(P().data) && (fr.isLoading = !0);
2452
2452
  try {
2453
- if (W && (A(hr), r.loadingTimeout && _(P().data) && setTimeout(() => {
2453
+ if (W && (A(fr), r.loadingTimeout && _(P().data) && setTimeout(() => {
2454
2454
  oe && j() && S().onLoadingSlow(g, r);
2455
2455
  }, r.loadingTimeout), y[g] = [
2456
- C($),
2456
+ N($),
2457
2457
  qt()
2458
2458
  ]), [J, L] = y[g], J = await J, W && setTimeout(ur, r.dedupingInterval), !y[g] || y[g][1] !== L)
2459
2459
  return W && j() && S().onDiscarded(g), !1;
@@ -2471,7 +2471,7 @@ const Lt = Z.use || // This extra generic is to avoid TypeScript mixing up the g
2471
2471
  const pe = S(), { shouldRetryOnError: St } = pe;
2472
2472
  pe.isPaused() || (me.error = te, W && j() && (pe.onError(te, g, pe), (St === !0 || de(St) && St(te)) && (!S().revalidateOnFocus || !S().revalidateOnReconnect || v()) && pe.onErrorRetry(te, g, pe, (Un) => {
2473
2473
  const wt = d[g];
2474
- wt && wt[0] && wt[0](Nr, Un);
2474
+ wt && wt[0] && wt[0](Cr, Un);
2475
2475
  }, {
2476
2476
  retryCount: (Ie.retryCount || 0) + 1,
2477
2477
  dedupe: !0
@@ -2496,47 +2496,47 @@ const Lt = Z.use || // This extra generic is to avoid TypeScript mixing up the g
2496
2496
  ]
2497
2497
  ), lr = re(
2498
2498
  // Use callback to make sure `keyRef.current` returns latest result every time
2499
- (...N) => wn(n, I.current, ...N),
2499
+ (...C) => wn(n, I.current, ...C),
2500
2500
  // eslint-disable-next-line react-hooks/exhaustive-deps
2501
2501
  []
2502
2502
  );
2503
2503
  if (xt(() => {
2504
- D.current = t, M.current = r, _(fe) || (bt.current = fe);
2504
+ D.current = t, M.current = r, _(he) || (bt.current = he);
2505
2505
  }), xt(() => {
2506
2506
  if (!g) return;
2507
- const N = Le.bind(q, $t);
2508
- let C = 0;
2507
+ const C = Le.bind(q, $t);
2508
+ let N = 0;
2509
2509
  const L = Ys(g, d, (oe, Ie = {}) => {
2510
2510
  if (oe == gn) {
2511
2511
  const W = Date.now();
2512
- S().revalidateOnFocus && W > C && v() && (C = W + S().focusThrottleInterval, N());
2512
+ S().revalidateOnFocus && W > N && v() && (N = W + S().focusThrottleInterval, C());
2513
2513
  } else if (oe == yn)
2514
- S().revalidateOnReconnect && v() && N();
2514
+ S().revalidateOnReconnect && v() && C();
2515
2515
  else {
2516
2516
  if (oe == En)
2517
2517
  return Le();
2518
- if (oe == Nr)
2518
+ if (oe == Cr)
2519
2519
  return Le(Ie);
2520
2520
  }
2521
2521
  });
2522
2522
  return K.current = !1, I.current = g, U.current = !0, A({
2523
2523
  _k: $
2524
- }), ir && (_(X) || He ? N() : Ns(N)), () => {
2524
+ }), ir && (_(X) || He ? C() : Cs(C)), () => {
2525
2525
  K.current = !0, L();
2526
2526
  };
2527
2527
  }, [
2528
2528
  g
2529
2529
  ]), xt(() => {
2530
- let N;
2531
- function C() {
2530
+ let C;
2531
+ function N() {
2532
2532
  const L = de(m) ? m(P().data) : m;
2533
- L && N !== -1 && (N = setTimeout(J, L));
2533
+ L && C !== -1 && (C = setTimeout(J, L));
2534
2534
  }
2535
2535
  function J() {
2536
- !P().error && (f || S().isVisible()) && (u || S().isOnline()) ? Le($t).then(C) : C();
2536
+ !P().error && (f || S().isVisible()) && (u || S().isOnline()) ? Le($t).then(N) : N();
2537
2537
  }
2538
- return C(), () => {
2539
- N && (clearTimeout(N), N = -1);
2538
+ return N(), () => {
2539
+ C && (clearTimeout(C), C = -1);
2540
2540
  };
2541
2541
  }, [
2542
2542
  m,
@@ -2547,14 +2547,14 @@ const Lt = Z.use || // This extra generic is to avoid TypeScript mixing up the g
2547
2547
  if (!Or && He)
2548
2548
  throw new Error("Fallback data is required when using Suspense in SSR.");
2549
2549
  D.current = t, M.current = r, K.current = !1;
2550
- const N = w[g];
2551
- if (!_(N)) {
2552
- const C = lr(N);
2553
- Lt(C);
2550
+ const C = w[g];
2551
+ if (!_(C)) {
2552
+ const N = lr(C);
2553
+ Lt(N);
2554
2554
  }
2555
2555
  if (_(Fe)) {
2556
- const C = Le($t);
2557
- _(Je) || (C.status = "fulfilled", C.value = !0), Lt(C);
2556
+ const N = Le($t);
2557
+ _(Je) || (N.status = "fulfilled", N.value = !0), Lt(N);
2558
2558
  } else
2559
2559
  throw Fe;
2560
2560
  }
@@ -3044,25 +3044,48 @@ const co = process.env.NODE_ENV === "production", Rn = !co, lo = Rn ? "gizmette.
3044
3044
  extraClass: t
3045
3045
  }) => E(
3046
3046
  "px-4 pb-10",
3047
- "text-base leading-6 sm:text-base sm:leading-7",
3048
- "text-slate-300 bg-slate-900 shadow-sm",
3047
+ "bg-slate-900",
3049
3048
  "flex-1 overflow-y-auto",
3050
3049
  e ? "pt-0" : "pt-10",
3051
3050
  t
3052
- ), ho = ({
3051
+ ), fo = ({
3053
3052
  extraClass: e
3054
3053
  } = {}) => E("px-2 sm:px-0", e), dc = (e, t) => t === 1 ? e : `${e}s`, uc = (e, t) => {
3055
3054
  let r;
3056
3055
  return (...n) => {
3057
3056
  window.clearTimeout(r), r = window.setTimeout(() => e(...n), t);
3058
3057
  };
3059
- }, fo = () => !!(window != null && window.__VERSINI_CALLISTO_ELECTRON__), mo = () => window.innerWidth < 403, hc = () => {
3058
+ }, ho = () => !!(window != null && window.__VERSINI_CALLISTO_ELECTRON__), mo = () => window.innerWidth < 403, fc = () => {
3060
3059
  const e = ["iPhone Simulator", "iPhone"].includes(navigator.platform) || navigator.userAgent.includes("Mac") && "ontouchend" in document || window.indexedDB !== null, t = /iPhone/.test(navigator.userAgent), r = mo(), n = navigator.maxTouchPoints > 1;
3061
3060
  return e && t && r && n;
3062
- }, fc = (e) => {
3061
+ }, hc = (e) => {
3063
3062
  const t = e.replace(/([A-Z])/g, " $1");
3064
3063
  return t.charAt(0).toUpperCase() + t.slice(1);
3065
- }, $r = "av-button", gt = "icon", ar = "button", Xt = "link", po = ({
3064
+ }, mc = ({
3065
+ autoClose: e = 3e3,
3066
+ containerId: t,
3067
+ position: r = "top-center",
3068
+ hideProgressBar: n = !1,
3069
+ closeOnClick: a = !1,
3070
+ pauseOnHover: s = !0,
3071
+ draggable: o = !0,
3072
+ progress: i = void 0,
3073
+ theme: c = "colored",
3074
+ transition: m,
3075
+ icon: f = !1
3076
+ } = {}) => ({
3077
+ autoClose: e,
3078
+ containerId: t,
3079
+ position: r,
3080
+ hideProgressBar: n,
3081
+ closeOnClick: a,
3082
+ pauseOnHover: s,
3083
+ draggable: o,
3084
+ progress: i,
3085
+ theme: c,
3086
+ transition: m,
3087
+ icon: f
3088
+ }), $r = "av-button", gt = "icon", ar = "button", Xt = "link", po = ({
3066
3089
  type: e,
3067
3090
  size: t,
3068
3091
  labelRight: r,
@@ -3429,7 +3452,7 @@ function ko(e) {
3429
3452
  });
3430
3453
  }, e);
3431
3454
  }
3432
- const No = {
3455
+ const Co = {
3433
3456
  x: 0,
3434
3457
  y: 0,
3435
3458
  width: 0,
@@ -3440,7 +3463,7 @@ const No = {
3440
3463
  right: 0
3441
3464
  };
3442
3465
  function Ut(e) {
3443
- const t = vo(), r = x(0), n = x(null), [a, s] = Ee(No), o = Ke(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((i) => {
3466
+ const t = vo(), r = x(0), n = x(null), [a, s] = Ee(Co), o = Ke(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((i) => {
3444
3467
  const c = i[0];
3445
3468
  c && (cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
3446
3469
  n.current && t() && s(c.contentRect);
@@ -3450,7 +3473,7 @@ function Ut(e) {
3450
3473
  o == null || o.disconnect(), r.current && cancelAnimationFrame(r.current);
3451
3474
  }), [o, e]), [n, a];
3452
3475
  }
3453
- const Co = {
3476
+ const No = {
3454
3477
  small: 24,
3455
3478
  // w-6
3456
3479
  medium: 32,
@@ -3509,7 +3532,7 @@ const Co = {
3509
3532
  return Ue(() => {
3510
3533
  R && R.current && U && (ee.current = V.width + Oo[u] + (c ? 0 : xo));
3511
3534
  }, [V, R, u, c, U]), Ue(() => {
3512
- b && b.current && U && (l && v && P.width > 0 ? (v.current && (v.current.style.opacity = "100"), b.current.style.width = `${P.width + ee.current}px`) : d && O.width > 0 ? (A.current && (A.current.style.opacity = "100"), b.current.style.width = `${O.width + ee.current}px`) : (v.current && (v.current.style.opacity = "0"), A.current && (A.current.style.opacity = "0"), b.current.style.width = `${Co[u]}px`));
3535
+ b && b.current && U && (l && v && P.width > 0 ? (v.current && (v.current.style.opacity = "100"), b.current.style.width = `${P.width + ee.current}px`) : d && O.width > 0 ? (A.current && (A.current.style.opacity = "100"), b.current.style.width = `${O.width + ee.current}px`) : (v.current && (v.current.style.opacity = "0"), A.current && (A.current.style.opacity = "0"), b.current.style.width = `${No[u]}px`));
3513
3536
  }, [
3514
3537
  P,
3515
3538
  l,
@@ -4074,7 +4097,7 @@ try {
4074
4097
  });
4075
4098
  } catch {
4076
4099
  }
4077
- const Nn = "av-text-input", Yo = "av-text-input-wrapper", Ht = "av-text-input-helper-text";
4100
+ const Cn = "av-text-input", Yo = "av-text-input-wrapper", Ht = "av-text-input-helper-text";
4078
4101
  function jo() {
4079
4102
  const e = x(!1);
4080
4103
  return se(() => (e.current = !0, () => {
@@ -4113,7 +4136,7 @@ function Xo(e) {
4113
4136
  return typeof r == "number" || typeof r == "string" ? `${n}${r}` : `${n}${t}`;
4114
4137
  }
4115
4138
  }
4116
- const Cn = "SET_ANNOUNCEMENT", On = "CLEAR_ANNOUNCEMENT", Qo = {
4139
+ const Nn = "SET_ANNOUNCEMENT", On = "CLEAR_ANNOUNCEMENT", Qo = {
4117
4140
  alert: null,
4118
4141
  alertdialog: null,
4119
4142
  log: "polite",
@@ -4123,7 +4146,7 @@ const Cn = "SET_ANNOUNCEMENT", On = "CLEAR_ANNOUNCEMENT", Qo = {
4123
4146
  timer: "assertive"
4124
4147
  }, Zo = (e, t) => {
4125
4148
  switch (t == null ? void 0 : t.type) {
4126
- case Cn:
4149
+ case Nn:
4127
4150
  return {
4128
4151
  ...e,
4129
4152
  announcement: t.payload
@@ -4151,7 +4174,7 @@ const Cn = "SET_ANNOUNCEMENT", On = "CLEAR_ANNOUNCEMENT", Qo = {
4151
4174
  dispatch: a
4152
4175
  }) => {
4153
4176
  clearTimeout(r.current), e !== null && a({
4154
- type: Cn,
4177
+ type: Nn,
4155
4178
  payload: e
4156
4179
  }), t && (r.current = setTimeout(
4157
4180
  () => ei({
@@ -4350,7 +4373,7 @@ const ri = ({
4350
4373
  break;
4351
4374
  }
4352
4375
  const l = r ? E(t) : E(
4353
- Nn,
4376
+ Cn,
4354
4377
  u,
4355
4378
  "rounded-md text-base px-4",
4356
4379
  ri({ mode: o }),
@@ -4401,7 +4424,7 @@ const ri = ({
4401
4424
  size: g = "md",
4402
4425
  ...$
4403
4426
  }, U) => {
4404
- const [K, I] = zo(), [D, M] = Ee(0), S = Xo({ id: e, prefix: `${Nn}-` }), v = `${t} error, ${p}`, P = x(null), A = x(null), O = {
4427
+ const [K, I] = zo(), [D, M] = Ee(0), S = Xo({ id: e, prefix: `${Cn}-` }), v = `${t} error, ${p}`, P = x(null), A = x(null), O = {
4405
4428
  xs: { label: "-25px", helperText: "30px" },
4406
4429
  sm: { label: "-29px", helperText: "34px" },
4407
4430
  md: { label: "-33px", helperText: "38px" },
@@ -4589,7 +4612,7 @@ try {
4589
4612
  });
4590
4613
  } catch {
4591
4614
  }
4592
- const hi = "ASK! ME! ANYTHING!", Dn = "Callisto", fi = "Log in", mi = "Sign in with a Passkey", mc = "Log out", pi = "Password", pc = "Profile", gc = "Settings", yc = "Chat history", Ec = "About", bc = "Type your question here", Sc = "{{clipboard}}", wc = `Sometimes, ${Dn} hallucinates. Review important details.`, Tc = "Prompts are pre-filled menus available on the main screen, to help you quickly start requests. If you select the 'Temporary Chat' checkbox, the corresponding chat will not be saved. If you select the 'Clipboard Access' checkbox, your clipboard content (if any) will be provided to the request.", _c = {
4615
+ const fi = "ASK! ME! ANYTHING!", Dn = "Callisto", hi = "Log in", mi = "Sign in with a Passkey", pc = "Log out", pi = "Password", gc = "Profile", yc = "Settings", Ec = "Chat history", bc = "About", Sc = "Type your question here", wc = "{{clipboard}}", Tc = `Sometimes, ${Dn} hallucinates. Review important details.`, _c = "Prompts are pre-filled menus available on the main screen, to help you quickly start requests. If you select the 'Temporary Chat' checkbox, the corresponding chat will not be saved. If you select the 'Clipboard Access' checkbox, your clipboard content (if any) will be provided to the request.", Ic = "Default provider set to", Ac = "Chat successfully deleted!", Rc = {
4593
4616
  PREFERENCES: {
4594
4617
  TITLE: "User profile",
4595
4618
  NAME: "Name",
@@ -4628,11 +4651,11 @@ const hi = "ASK! ME! ANYTHING!", Dn = "Callisto", fi = "Log in", mi = "Sign in w
4628
4651
  TITLE: "Chat Details",
4629
4652
  INSTRUCTION: "This option adds individual statistics for each messages under their respective bubbles, such as model name, and more."
4630
4653
  }
4631
- }, gi = () => /* @__PURE__ */ Q("div", { className: "flex items-center justify-center", children: [
4654
+ }, gi = () => /* @__PURE__ */ Q("div", { className: "flex items-center justify-center text-slate-300", children: [
4632
4655
  /* @__PURE__ */ h("div", { className: "basis-1/4", children: /* @__PURE__ */ h(Mo, {}) }),
4633
4656
  /* @__PURE__ */ Q("div", { className: "prose prose-sm prose-light md:prose-base prose-h1:mb-0 prose-h2:mt-0", children: [
4634
4657
  /* @__PURE__ */ h("h1", { children: Dn }),
4635
- /* @__PURE__ */ h("h2", { children: hi })
4658
+ /* @__PURE__ */ h("h2", { children: fi })
4636
4659
  ] })
4637
4660
  ] }), yi = () => {
4638
4661
  const { login: e, logoutReason: t, loginWithPasskey: r } = pn(), [n, a] = Ee(""), [s, o] = Ee(""), [i, c] = Ee(!0), [m, f] = Ee({
@@ -4652,7 +4675,7 @@ const hi = "ASK! ME! ANYTHING!", Dn = "Callisto", fi = "Log in", mi = "Sign in w
4652
4675
  }, [t]), /* @__PURE__ */ h(at, { children: /* @__PURE__ */ Q(
4653
4676
  Go,
4654
4677
  {
4655
- className: ho({
4678
+ className: fo({
4656
4679
  extraClass: "mt-5"
4657
4680
  }),
4658
4681
  noMargin: !0,
@@ -4731,10 +4754,10 @@ const hi = "ASK! ME! ANYTHING!", Dn = "Callisto", fi = "Log in", mi = "Sign in w
4731
4754
  noBorder: !0,
4732
4755
  type: "submit",
4733
4756
  className: "mt-7",
4734
- children: fi
4757
+ children: hi
4735
4758
  }
4736
4759
  ) }),
4737
- !fo() && /* @__PURE__ */ Q(at, { children: [
4760
+ !ho() && /* @__PURE__ */ Q(at, { children: [
4738
4761
  /* @__PURE__ */ h(_e, { span: 12, children: /* @__PURE__ */ h("div", { className: "text-center text-copy-light mt-2 mb-2", children: "or" }) }),
4739
4762
  /* @__PURE__ */ h(_e, { span: 12, children: /* @__PURE__ */ h(
4740
4763
  ct,
@@ -4756,7 +4779,7 @@ const hi = "ASK! ME! ANYTHING!", Dn = "Callisto", fi = "Log in", mi = "Sign in w
4756
4779
  ) });
4757
4780
  }, Ei = new URL(document.location.href).searchParams, Hr = !!Ei.get("debug") || !1, bi = Kn(() => import(
4758
4781
  /* webpackChunkName: "LazyApp" */
4759
- "./App.CuPFhK5D.js"
4782
+ "./App.C5amtwmZ.js"
4760
4783
  ).then((e) => e.App)), Kr = ({
4761
4784
  isComponent: e,
4762
4785
  headerHeight: t
@@ -4776,7 +4799,7 @@ const hi = "ASK! ME! ANYTHING!", Dn = "Callisto", fi = "Log in", mi = "Sign in w
4776
4799
  endpoint: process.env.PUBLIC_AUTH_SERVER_URL,
4777
4800
  children: /* @__PURE__ */ h(Kr, { isComponent: e, headerHeight: t })
4778
4801
  }
4779
- ) : /* @__PURE__ */ h(Ir, { clientId: Ar, domain: r, debug: Hr, children: /* @__PURE__ */ h(Kr, { isComponent: e, headerHeight: t }) })), Ic = ({ domain: e, headerHeight: t }) => /* @__PURE__ */ h(
4802
+ ) : /* @__PURE__ */ h(Ir, { clientId: Ar, domain: r, debug: Hr, children: /* @__PURE__ */ h(Kr, { isComponent: e, headerHeight: t }) })), vc = ({ domain: e, headerHeight: t }) => /* @__PURE__ */ h(
4780
4803
  Si,
4781
4804
  {
4782
4805
  isComponent: !0,
@@ -4785,36 +4808,36 @@ const hi = "ASK! ME! ANYTHING!", Dn = "Callisto", fi = "Log in", mi = "Sign in w
4785
4808
  }
4786
4809
  );
4787
4810
  export {
4788
- Ec as ABOUT_TITLE,
4811
+ bc as ABOUT_TITLE,
4789
4812
  Vi as ACTION_RESET_PROMPT,
4790
4813
  Mi as ACTION_SEARCH,
4791
4814
  Hi as ACTION_SORT,
4792
4815
  Ki as ACTION_TOGGLE_PROMPT,
4793
4816
  Dn as APP_NAME,
4794
4817
  kn as C,
4795
- _c as CARDS,
4796
- Sc as CLIPBOARD_PROMPT,
4818
+ Rc as CARDS,
4819
+ wc as CLIPBOARD_PROMPT,
4797
4820
  Li as DEFAULT_AI_PROVIDER,
4798
4821
  Xi as DEFAULT_ICON_ACTION_SIZE,
4799
4822
  Di as ERROR_MESSAGE,
4800
- wc as FOOTER_DISCLAIMER,
4801
- yc as HISTORY_TITLE,
4823
+ Tc as FOOTER_DISCLAIMER,
4824
+ Ec as HISTORY_TITLE,
4802
4825
  yt as I,
4803
4826
  Go as I$1,
4804
4827
  ji as INFINITE_SCROLL_LIMIT,
4805
4828
  Yi as INFINITE_SCROLL_THRESHOLD,
4806
- bc as INPUT_PLACEHOLDER_TEXT,
4829
+ Sc as INPUT_PLACEHOLDER_TEXT,
4807
4830
  Fo as L,
4808
4831
  Gi as LOCAL_STORAGE_CHAT_DETAILS,
4809
4832
  Wi as LOCAL_STORAGE_PREFIX,
4810
4833
  Ji as LOCAL_STORAGE_PRIVATE_DISCLOSURE,
4811
4834
  Bi as LOCAL_STORAGE_SEARCH,
4812
4835
  Fi as LOCAL_STORAGE_SORT,
4813
- mc as LOG_OUT,
4836
+ pc as LOG_OUT,
4814
4837
  gi as Logo,
4815
4838
  xe as M,
4816
- pc as PROFILE_TITLE,
4817
- Tc as PROMPTS_DESCRIPTION,
4839
+ gc as PROFILE_TITLE,
4840
+ _c as PROMPTS_DESCRIPTION,
4818
4841
  qi as PROMPT_CLASSNAME,
4819
4842
  zi as PROMPT_EDITABLE_AREA_CLASSNAME,
4820
4843
  Ui as PROVIDER_ANTHROPIC,
@@ -4824,20 +4847,22 @@ export {
4824
4847
  Pi as ROLE_INTERNAL,
4825
4848
  Oi as ROLE_USER,
4826
4849
  Be as SERVICE_TYPES,
4827
- gc as SETTINGS_TITLE,
4828
- Ic as SassySaint,
4850
+ yc as SETTINGS_TITLE,
4851
+ vc as SassySaint,
4852
+ Ac as TOAST_CHAT_DELETED,
4853
+ Ic as TOAST_PROVIDER_CHANGED,
4829
4854
  Zi as UI_BUTTON_SCROLL_BUFFER,
4830
4855
  ec as UI_DEFAULT_MAIN_HEIGHT,
4831
4856
  Qi as UI_FOOTER_BUFFER,
4832
- fc as convertCamelCaseToReadable,
4857
+ hc as convertCamelCaseToReadable,
4833
4858
  uc as debounce,
4834
4859
  lc as durationFormatter,
4835
4860
  or as fe,
4836
4861
  ic as getCurrentGeoLocation,
4837
- ho as getMainPaddingClass,
4862
+ fo as getMainPaddingClass,
4838
4863
  uo as getMessageContaintWrapperClass,
4839
- fo as isElectron,
4840
- hc as isProbablyiPhone,
4864
+ ho as isElectron,
4865
+ fc as isProbablyiPhone,
4841
4866
  _e as j,
4842
4867
  Ko as l,
4843
4868
  dc as pluralize,
@@ -4846,6 +4871,7 @@ export {
4846
4871
  zs as serverUrl,
4847
4872
  zt as serviceCall,
4848
4873
  tc as setNewProvider,
4874
+ mc as toastOptions,
4849
4875
  pn as un,
4850
4876
  ac as useChatsHistory,
4851
4877
  sc as usePreloadChatsHistory,