@versini/sassysaint 6.4.1 → 6.4.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.
@@ -1,5 +1,5 @@
1
1
  import { jsx as l, jsxs as L, Fragment as _e } from "react/jsx-runtime";
2
- import { f as we, ACTION_RESTORE as Ea, ACTION_MESSAGE as ze, ROLE_ASSISTANT as Ue, ACTION_RESET as Oe, ACTION_MODEL as bn, ACTION_STREAMING as vn, ACTION_SORT as Ta, ACTION_SEARCH as Sa, ACTION_RESET_PROMPT as kn, ACTION_TOGGLE_PROMPT as wn, DEFAULT_AI_ENGINE as Ce, te as je, DEFAULT_ICON_ACTION_SIZE as be, L as Na, j as Br, C as Mr, LOCAL_STORAGE_PREFIX as Ht, LOCAL_STORAGE_PRIVATE_DISCLOSURE as Ca, un as Ge, ENGINE_ANTHROPIC as Nt, ENGINE_OPENAI as Vr, PROMPT_CLASSNAME as Ra, PROMPT_EDITABLE_AREA_CLASSNAME as Ia, ROLE_SYSTEM as La, ROLE_INTERNAL as lr, ROLE_HIDDEN as $a, STATS_SEPARATOR as Dr, CLIPBOARD_PROMPT as Pr, TYPE_QUESTION as Oa, ERROR_MESSAGE as Aa, ROLE_USER as Wt, FOOTER_DISCLAIMER as Ba, isLastMessageFromRole as Ma, getMessageContaintWrapperClass as Va, Logo as Da, getMainPaddingClass as zr, r as Pa, LOCAL_STORAGE_SEARCH as za, LOCAL_STORAGE_SORT as Ua } from "./index.CfjkM26U.js";
2
+ import { f as we, ACTION_RESTORE as Ea, ACTION_MESSAGE as ze, ROLE_ASSISTANT as Ue, ACTION_RESET as Oe, ACTION_MODEL as bn, ACTION_STREAMING as vn, ACTION_SORT as Ta, ACTION_SEARCH as Sa, ACTION_RESET_PROMPT as kn, ACTION_TOGGLE_PROMPT as wn, DEFAULT_AI_ENGINE as Ce, te as je, DEFAULT_ICON_ACTION_SIZE as be, L as Na, j as Br, C as Mr, LOCAL_STORAGE_PREFIX as Ht, LOCAL_STORAGE_PRIVATE_DISCLOSURE as Ca, un as Ge, ENGINE_ANTHROPIC as Nt, ENGINE_OPENAI as Vr, PROMPT_CLASSNAME as Ra, PROMPT_EDITABLE_AREA_CLASSNAME as Ia, ROLE_SYSTEM as La, ROLE_INTERNAL as lr, ROLE_HIDDEN as $a, STATS_SEPARATOR as Dr, CLIPBOARD_PROMPT as Pr, TYPE_QUESTION as Oa, ERROR_MESSAGE as Aa, ROLE_USER as Wt, FOOTER_DISCLAIMER as Ba, isLastMessageFromRole as Ma, getMessageContaintWrapperClass as Va, Logo as Da, getMainPaddingClass as zr, r as Pa, LOCAL_STORAGE_SEARCH as za, LOCAL_STORAGE_SORT as Ua } from "./index.HM1QCCV9.js";
3
3
  import f from "clsx";
4
4
  import * as J from "react";
5
5
  import F, { useEffect as M, useRef as T, useState as W, useCallback as X, useSyncExternalStore as Fa, useMemo as de, useId as dr, useLayoutEffect as ge, useContext as j, createContext as Ha, useDebugValue as Wa, forwardRef as xn, lazy as _n, Suspense as jt, useReducer as Ct } from "react";
@@ -2108,6 +2108,7 @@ const Vt = F.use || // This extra generic is to avoid TypeScript mixing up the g
2108
2108
  timestamp
2109
2109
  id
2110
2110
  model
2111
+ summary
2111
2112
  messages {
2112
2113
  content
2113
2114
  }
@@ -2123,6 +2124,7 @@ const Vt = F.use || // This extra generic is to avoid TypeScript mixing up the g
2123
2124
  chatById(id: $id) {
2124
2125
  model
2125
2126
  usage
2127
+ summary
2126
2128
  messages {
2127
2129
  content
2128
2130
  role
@@ -6251,7 +6253,7 @@ const Sl = ({ children: e }) => /* @__PURE__ */ l(
6251
6253
  ), yn = _n(
6252
6254
  () => import(
6253
6255
  /* webpackChunkName: "LazyMessageAssistant" */
6254
- "./MessageAssistant.BGPVUtl5.js"
6256
+ "./MessageAssistant.CQg-4XR4.js"
6255
6257
  ).then((e) => e.MessageAssistant)
6256
6258
  ), Nl = () => {
6257
6259
  const { state: e } = j(ue);
@@ -6278,7 +6280,7 @@ const Sl = ({ children: e }) => /* @__PURE__ */ l(
6278
6280
  }, Rl = _n(
6279
6281
  () => import(
6280
6282
  /* webpackChunkName: "LazyHeader" */
6281
- "./index.B2CHNioG.js"
6283
+ "./index.DCvn98ot.js"
6282
6284
  )
6283
6285
  );
6284
6286
  function ka({ isComponent: e = !1 }) {
@@ -1,6 +1,6 @@
1
1
  import { jsx as Ve, jsxs as P0, Fragment as ka } from "react/jsx-runtime";
2
- import { convert as _s, getDefaultExportFromCjs as Ss, visit as Na, find as ks, parse as kn, parse$1 as Nn, normalize as Tn, svg as Ns, html as Ts, visitParents as As, SKIP as Ms, longestStreak as Os, factorySpace as _r, markdownLineEnding as Vt, Markdown as Rs, remarkGfm as Cs } from "./MessageAssistant.BGPVUtl5.js";
3
- import { te as Is, L as Ds, j as Ls } from "./index.CfjkM26U.js";
2
+ import { convert as _s, getDefaultExportFromCjs as Ss, visit as Na, find as ks, parse as kn, parse$1 as Nn, normalize as Tn, svg as Ns, html as Ts, visitParents as As, SKIP as Ms, longestStreak as Os, factorySpace as _r, markdownLineEnding as Vt, Markdown as Rs, remarkGfm as Cs } from "./MessageAssistant.CQg-4XR4.js";
3
+ import { te as Is, L as Ds, j as Ls } from "./index.HM1QCCV9.js";
4
4
  import zs, { useState as Bs, useEffect as Fs } from "react";
5
5
  import Ps from "clsx";
6
6
  const Ta = ({
@@ -1,8 +1,8 @@
1
1
  import { jsxs as en, jsx as re, Fragment as nr } from "react/jsx-runtime";
2
- import { AppContext as di, E as yi, Ee as ct } from "./App.KB01Hp9h.js";
2
+ import { AppContext as di, E as yi, Ee as ct } from "./App.BNj5_p2P.js";
3
3
  import hn from "clsx";
4
4
  import { lazy as ki, useContext as xi, Suspense as bi } from "react";
5
- import { LOCAL_STORAGE_PREFIX as wi, LOCAL_STORAGE_CHAT_DETAILS as Si, durationFormatter as Ci } from "./index.CfjkM26U.js";
5
+ import { LOCAL_STORAGE_PREFIX as wi, LOCAL_STORAGE_CHAT_DETAILS as Si, durationFormatter as Ci } from "./index.HM1QCCV9.js";
6
6
  function tr(e) {
7
7
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
8
8
  }
@@ -8653,7 +8653,7 @@ function Qc(e) {
8653
8653
  const Yc = ki(
8654
8654
  () => import(
8655
8655
  /* webpackChunkName: "LazyMarkdownWithExtra" */
8656
- "./MarkdownWithExtra.B4DWJPGx.js"
8656
+ "./MarkdownWithExtra.BUqQb6yQ.js"
8657
8657
  )
8658
8658
  ), Ln = {
8659
8659
  MODEL: "Model",
@@ -1,7 +1,7 @@
1
- import { jsxs as i, jsx as e, Fragment as z } from "react/jsx-runtime";
2
- import { f as V, un as F, R as B, CARDS as N, renderDataAsList as de, pluralize as ue, ABOUT_TITLE as Qe, INFINITE_SCROLL_LIMIT as Se, INFINITE_SCROLL_THRESHOLD as ve, LOCAL_STORAGE_PREFIX as ke, LOCAL_STORAGE_SORT as Je, te as oe, ACTION_RESET as Ze, ACTION_RESTORE as et, ACTION_SORT as Ae, LOCAL_STORAGE_SEARCH as tt, HISTORY_TITLE as rt, fe as be, C as X, ACTION_SEARCH as nt, debounce as at, M as ot, L as q, j as O, l as Ie, durationFormatter as st, PROFILE_TITLE as lt, PROMPTS_DESCRIPTION as ct, DEFAULT_AI_ENGINE as it, LOCAL_STORAGE_CHAT_DETAILS as dt, SETTINGS_TITLE as ut, ENGINE_OPENAI as W, ENGINE_ANTHROPIC as ee, APP_NAME as mt, getCurrentGeoLocation as ht, LOG_OUT as _e } from "./index.CfjkM26U.js";
3
- import { i as me, useServerCapabilities as ft, Ye as ce, HistoryContext as Me, E as Ce, ConfirmationPanel as Pe, Ue as pt, Pe as gt, Fe as ge, Me as P, De as yt, We as bt, p as xt, z as kt, je as Ct, serviceCall as se, SERVICE_TYPES as le, B as te, AppContext as Oe, useChatsHistory as Et, useUserChatStats as Tt, useUserPreferences as ze, m as Nt, _e as wt, me as St, R as re, P as vt } from "./App.KB01Hp9h.js";
4
- import At, { useRef as S, useState as C, useContext as he, useCallback as Be, useEffect as H, Fragment as It, useLayoutEffect as ne, useMemo as He, useId as _t, useReducer as Rt } from "react";
1
+ import { jsxs as i, jsx as e, Fragment as O } from "react/jsx-runtime";
2
+ import { f as V, un as F, R as z, CARDS as N, renderDataAsList as de, pluralize as ue, ABOUT_TITLE as Qe, INFINITE_SCROLL_LIMIT as Se, INFINITE_SCROLL_THRESHOLD as ve, LOCAL_STORAGE_PREFIX as ke, LOCAL_STORAGE_SORT as Je, te as oe, ACTION_RESET as Ze, ACTION_RESTORE as et, ACTION_SORT as Ae, LOCAL_STORAGE_SEARCH as tt, HISTORY_TITLE as rt, fe as be, C as X, ACTION_SEARCH as nt, debounce as at, M as ot, L as q, j as P, l as Ie, durationFormatter as st, PROFILE_TITLE as lt, PROMPTS_DESCRIPTION as ct, DEFAULT_AI_ENGINE as it, LOCAL_STORAGE_CHAT_DETAILS as dt, SETTINGS_TITLE as ut, ENGINE_OPENAI as W, ENGINE_ANTHROPIC as ee, APP_NAME as mt, getCurrentGeoLocation as ht, LOG_OUT as _e } from "./index.HM1QCCV9.js";
3
+ import { i as me, useServerCapabilities as ft, Ye as ce, HistoryContext as Me, E as Ce, ConfirmationPanel as Pe, Ue as pt, Pe as gt, Fe as ge, Me as M, De as yt, We as bt, p as xt, z as kt, je as Ct, serviceCall as se, SERVICE_TYPES as le, B as te, AppContext as Oe, useChatsHistory as Et, useUserChatStats as Tt, useUserPreferences as ze, m as Nt, _e as wt, me as St, R as re, P as vt } from "./App.BNj5_p2P.js";
4
+ import At, { useRef as v, useState as C, useContext as he, useCallback as Be, useEffect as B, Fragment as It, useLayoutEffect as ne, useMemo as He, useId as _t, useReducer as Rt } from "react";
5
5
  import y from "clsx";
6
6
  const Lt = ({
7
7
  className: t,
@@ -209,28 +209,28 @@ const Lt = ({
209
209
  isLoading: c
210
210
  } = ft({
211
211
  getAccessToken: t
212
- }), s = (n == null ? void 0 : n.plugins) || [], d = (n == null ? void 0 : n.version) || "", u = (n == null ? void 0 : n.models) || [];
213
- return /* @__PURE__ */ i(z, { children: [
212
+ }), s = (n == null ? void 0 : n.plugins) || [], d = (n == null ? void 0 : n.version) || "", m = (n == null ? void 0 : n.models) || [];
213
+ return /* @__PURE__ */ i(O, { children: [
214
214
  /* @__PURE__ */ e("div", { className: "mb-4", children: /* @__PURE__ */ e(
215
- B,
215
+ z,
216
216
  {
217
217
  header: N.ABOUT.TITLE_CLIENT,
218
218
  className: "prose-dark dark:prose-lighter",
219
219
  children: de(a, {
220
- [N.ABOUT.VERSION]: "6.4.1",
221
- [N.ABOUT.BUILD_TIMESTAMP]: "01/27/2025 07:38 AM EST"
220
+ [N.ABOUT.VERSION]: "6.4.2",
221
+ [N.ABOUT.BUILD_TIMESTAMP]: "01/27/2025 11:19 AM EST"
222
222
  })
223
223
  }
224
224
  ) }),
225
225
  r || c ? null : /* @__PURE__ */ e(
226
- B,
226
+ z,
227
227
  {
228
228
  header: N.ABOUT.TITLE_SERVER,
229
229
  className: "prose-dark dark:prose-lighter",
230
230
  children: de(o, {
231
231
  [N.ABOUT.VERSION]: d,
232
- [ue(N.ABOUT.ENGINE, u.length)]: /* @__PURE__ */ e(z, { children: u.map((f) => /* @__PURE__ */ e("div", { className: "text-right", children: f }, f)) }),
233
- [ue(N.ABOUT.PLUGIN, s.length)]: /* @__PURE__ */ e(z, { children: s.map((f) => /* @__PURE__ */ e("div", { className: "text-right", children: f }, f)) })
232
+ [ue(N.ABOUT.ENGINE, m.length)]: /* @__PURE__ */ e(O, { children: m.map((f) => /* @__PURE__ */ e("div", { className: "text-right", children: f }, f)) }),
233
+ [ue(N.ABOUT.PLUGIN, s.length)]: /* @__PURE__ */ e(O, { children: s.map((f) => /* @__PURE__ */ e("div", { className: "text-right", children: f }, f)) })
234
234
  })
235
235
  }
236
236
  )
@@ -266,23 +266,23 @@ const Lt = ({
266
266
  onOpenChange: o,
267
267
  mutate: n
268
268
  }) => {
269
- var A;
270
- const { user: r, getAccessToken: c } = F(), s = S(null), d = S({
269
+ var I;
270
+ const { user: r, getAccessToken: c } = F(), s = v(null), d = v({
271
271
  id: 0,
272
272
  timestamp: "",
273
273
  message: ""
274
- }), [u, f] = C(!1), [p, b] = C(
274
+ }), [m, f] = C(!1), [p, b] = C(
275
275
  Se + ve
276
276
  ), { state: x, dispatch: l } = he(Me), [, h] = Ce({
277
277
  key: ke + Je,
278
278
  initialValue: x.sortDirection
279
- }), T = (m) => {
279
+ }), T = (u) => {
280
280
  switch (x.sortDirection) {
281
281
  case te.ASC:
282
282
  h(te.DESC), l({
283
283
  type: Ae,
284
284
  payload: {
285
- sortedCell: m,
285
+ sortedCell: u,
286
286
  sortDirection: te.DESC
287
287
  }
288
288
  });
@@ -291,39 +291,39 @@ const Lt = ({
291
291
  h(te.ASC), l({
292
292
  type: Ae,
293
293
  payload: {
294
- sortedCell: m,
294
+ sortedCell: u,
295
295
  sortDirection: te.ASC
296
296
  }
297
297
  });
298
298
  break;
299
299
  }
300
300
  }, E = async () => {
301
- const m = d.current;
301
+ const u = d.current;
302
302
  try {
303
303
  await se({
304
304
  accessToken: await c(),
305
305
  type: le.DELETE_CHAT,
306
306
  params: {
307
307
  userId: (r == null ? void 0 : r.username) || "",
308
- id: m.id
308
+ id: u.id
309
309
  }
310
310
  }), n();
311
311
  } catch {
312
312
  }
313
- }, g = Be((m) => {
314
- m[0].isIntersecting && b((I) => I + Se);
313
+ }, g = Be((u) => {
314
+ u[0].isIntersecting && b((R) => R + Se);
315
315
  }, []);
316
- return H(() => {
317
- const m = {
316
+ return B(() => {
317
+ const u = {
318
318
  // root: null,
319
319
  rootMargin: "20px"
320
- }, w = new IntersectionObserver(g, m);
320
+ }, w = new IntersectionObserver(g, u);
321
321
  s.current && w.observe(s.current);
322
- }), /* @__PURE__ */ i(z, { children: [
322
+ }), /* @__PURE__ */ i(O, { children: [
323
323
  /* @__PURE__ */ i(
324
324
  Pe,
325
325
  {
326
- showConfirmation: u,
326
+ showConfirmation: m,
327
327
  setShowConfirmation: f,
328
328
  action: E,
329
329
  customStrings: {
@@ -342,7 +342,7 @@ const Lt = ({
342
342
  /* @__PURE__ */ i("li", { children: [
343
343
  "First message:",
344
344
  " ",
345
- /* @__PURE__ */ e("span", { className: "text-lg", children: (A = d.current) == null ? void 0 : A.message })
345
+ /* @__PURE__ */ e("span", { className: "text-lg", children: (I = d.current) == null ? void 0 : I.message })
346
346
  ] })
347
347
  ] })
348
348
  ]
@@ -350,7 +350,7 @@ const Lt = ({
350
350
  ),
351
351
  /* @__PURE__ */ i(pt, { stickyHeader: !0, stickyFooter: !0, compact: !0, children: [
352
352
  /* @__PURE__ */ e(gt, { children: /* @__PURE__ */ i(ge, { children: [
353
- /* @__PURE__ */ e(P, { className: "sr-only", children: "Row" }),
353
+ /* @__PURE__ */ e(M, { className: "sr-only", children: "Row" }),
354
354
  /* @__PURE__ */ e(
355
355
  yt,
356
356
  {
@@ -365,49 +365,50 @@ const Lt = ({
365
365
  children: "Date"
366
366
  }
367
367
  ),
368
- /* @__PURE__ */ e(P, { className: "text-xs sm:text-sm", children: "First message" }),
369
- /* @__PURE__ */ e(P, { className: "text-xs sm:text-sm", children: "Model" }),
370
- /* @__PURE__ */ e(P, { className: "text-xs sm:text-sm text-right", children: "Actions" })
368
+ /* @__PURE__ */ e(M, { className: "text-xs sm:text-sm", children: "Summary" }),
369
+ /* @__PURE__ */ e(M, { className: "text-xs sm:text-sm", children: "Model" }),
370
+ /* @__PURE__ */ e(M, { className: "text-xs sm:text-sm text-right", children: "Actions" })
371
371
  ] }) }),
372
- /* @__PURE__ */ e(bt, { children: t.slice(0, p).map((m, w) => {
373
- var I, D;
374
- return ((I = m == null ? void 0 : m.messages) == null ? void 0 : I.length) > 0 ? /* @__PURE__ */ i(It, { children: [
372
+ /* @__PURE__ */ e(bt, { children: t.slice(0, p).map((u, w) => {
373
+ var H, D;
374
+ const R = u.summary || (u.messages.length > 0 ? (H = u.messages[0]) == null ? void 0 : H.content : "");
375
+ return ((D = u == null ? void 0 : u.messages) == null ? void 0 : D.length) > 0 ? /* @__PURE__ */ i(It, { children: [
375
376
  w === p - ve && /* @__PURE__ */ e("tr", { ref: s }),
376
377
  /* @__PURE__ */ i(ge, { children: [
377
- /* @__PURE__ */ e(P, { children: w + 1 }),
378
+ /* @__PURE__ */ e(M, { children: w + 1 }),
378
379
  /* @__PURE__ */ e(
379
- P,
380
+ M,
380
381
  {
381
382
  component: "th",
382
383
  scope: "row",
383
384
  className: "text-gray-400 sm:whitespace-nowrap text-xs sm:text-sm max-w-20 sm:max-w-none",
384
- children: m.timestamp.split(",")[0]
385
+ children: u.timestamp.split(",")[0]
385
386
  }
386
387
  ),
387
388
  /* @__PURE__ */ e(
388
- P,
389
+ M,
389
390
  {
390
391
  className: "max-w-[100px] text-white sm:max-w-full text-xs sm:text-sm",
391
392
  style: {
392
393
  wordBreak: "break-word"
393
394
  },
394
- children: m.messages.length > 0 ? (D = m.messages[0]) == null ? void 0 : D.content : ""
395
+ children: R
395
396
  }
396
397
  ),
397
398
  /* @__PURE__ */ i(
398
- P,
399
+ M,
399
400
  {
400
401
  component: "th",
401
402
  scope: "row",
402
403
  className: "text-gray-400",
403
404
  align: "center",
404
405
  children: [
405
- m.model && m.model.startsWith("claude") && /* @__PURE__ */ e(xt, { size: "size-4 sm:size-5" }),
406
- m.model && m.model.startsWith("gpt") && /* @__PURE__ */ e(kt, { size: "size-4 sm:size-5" })
406
+ u.model && u.model.startsWith("claude") && /* @__PURE__ */ e(xt, { size: "size-4 sm:size-5" }),
407
+ u.model && u.model.startsWith("gpt") && /* @__PURE__ */ e(kt, { size: "size-4 sm:size-5" })
407
408
  ]
408
409
  }
409
410
  ),
410
- /* @__PURE__ */ i(P, { align: "right", children: [
411
+ /* @__PURE__ */ i(M, { align: "right", children: [
411
412
  /* @__PURE__ */ e(
412
413
  oe,
413
414
  {
@@ -416,12 +417,12 @@ const Lt = ({
416
417
  noBorder: !0,
417
418
  label: "Restore chat",
418
419
  onClick: async () => {
419
- const L = await c();
420
+ const S = await c();
420
421
  Ft(
421
- m,
422
+ u,
422
423
  a,
423
424
  o,
424
- L
425
+ S
425
426
  );
426
427
  },
427
428
  children: /* @__PURE__ */ e(Bt, { size: "size-3", monotone: !0 })
@@ -434,21 +435,21 @@ const Lt = ({
434
435
  noBorder: !0,
435
436
  label: "Delete chat",
436
437
  onClick: () => {
437
- var L;
438
+ var S;
438
439
  d.current = {
439
- id: m.id,
440
- timestamp: m.timestamp,
441
- message: m.messages.length > 0 ? (L = m.messages[0]) == null ? void 0 : L.content : ""
442
- }, f(!u);
440
+ id: u.id,
441
+ timestamp: u.timestamp,
442
+ message: u.messages.length > 0 ? (S = u.messages[0]) == null ? void 0 : S.content : ""
443
+ }, f(!m);
443
444
  },
444
445
  children: /* @__PURE__ */ e("div", { className: "text-red-400", children: /* @__PURE__ */ e(Mt, { size: "size-3", monotone: !0 }) })
445
446
  }
446
447
  )
447
448
  ] })
448
449
  ] })
449
- ] }, `${N.HISTORY.TITLE}-${m.id}-${w}`) : null;
450
+ ] }, `${N.HISTORY.TITLE}-${u.id}-${w}`) : null;
450
451
  }) }),
451
- /* @__PURE__ */ e(Ct, { children: /* @__PURE__ */ e(ge, { children: /* @__PURE__ */ e(P, { colSpan: 1e3, children: /* @__PURE__ */ e("div", { children: ue(
452
+ /* @__PURE__ */ e(Ct, { children: /* @__PURE__ */ e(ge, { children: /* @__PURE__ */ e(M, { colSpan: 1e3, children: /* @__PURE__ */ e("div", { children: ue(
452
453
  `${t.length} chat`,
453
454
  t.length
454
455
  ) }) }) }) })
@@ -458,7 +459,7 @@ const Lt = ({
458
459
  open: t,
459
460
  onOpenChange: a
460
461
  }) => {
461
- const { getAccessToken: o, user: n } = F(), { state: r, dispatch: c } = he(Oe), { state: s, dispatch: d } = he(Me), { data: u, mutate: f } = Et({
462
+ const { getAccessToken: o, user: n } = F(), { state: r, dispatch: c } = he(Oe), { state: s, dispatch: d } = he(Me), { data: m, mutate: f } = Et({
462
463
  keys: [
463
464
  n == null ? void 0 : n.username,
464
465
  s.searchString,
@@ -466,13 +467,13 @@ const Lt = ({
466
467
  (r == null ? void 0 : r.lastTriggeredTimestamp) || 0
467
468
  ],
468
469
  getAccessToken: o
469
- }), p = S(null), [, b] = Ce({
470
+ }), p = v(null), [, b] = Ce({
470
471
  key: ke + tt,
471
472
  initialValue: s.searchString
472
473
  }), [x, l] = C([]);
473
- H(() => {
474
- u && l(u);
475
- }, [u]);
474
+ B(() => {
475
+ m && l(m);
476
+ }, [m]);
476
477
  const h = async (g) => {
477
478
  b(g), d({
478
479
  type: nt,
@@ -481,7 +482,7 @@ const Lt = ({
481
482
  }, T = at((g) => {
482
483
  h(g.target.value.trim());
483
484
  }, 500);
484
- return /* @__PURE__ */ e(ce, { open: t, onOpenChange: a, title: rt, children: /* @__PURE__ */ i(z, { children: [
485
+ return /* @__PURE__ */ e(ce, { open: t, onOpenChange: a, title: rt, children: /* @__PURE__ */ i(O, { children: [
485
486
  /* @__PURE__ */ e("form", { autoComplete: "off", onSubmit: async (g) => {
486
487
  g.preventDefault();
487
488
  }, children: /* @__PURE__ */ e(
@@ -530,9 +531,9 @@ const Lt = ({
530
531
  ] }) });
531
532
  }, Yt = ({ stats: t }) => {
532
533
  const { isAuthenticated: a, user: o, registeringForPasskey: n, authenticationType: r } = F(), c = me(), s = me(), d = (o == null ? void 0 : o.username) || "";
533
- return a && d ? /* @__PURE__ */ i(z, { children: [
534
+ return a && d ? /* @__PURE__ */ i(O, { children: [
534
535
  /* @__PURE__ */ e(
535
- B,
536
+ z,
536
537
  {
537
538
  header: N.PREFERENCES.TITLE,
538
539
  className: "prose-dark dark:prose-lighter",
@@ -543,12 +544,12 @@ const Lt = ({
543
544
  }
544
545
  ),
545
546
  r !== ot.PASSKEY && /* @__PURE__ */ i(
546
- B,
547
+ z,
547
548
  {
548
549
  className: "prose-dark dark:prose-lighter mt-4",
549
550
  header: /* @__PURE__ */ e("h2", { className: "m-0", children: /* @__PURE__ */ i(q, { columnGap: 3, alignVertical: "center", children: [
550
- /* @__PURE__ */ e(O, { children: /* @__PURE__ */ e(Ie, { size: "size-8" }) }),
551
- /* @__PURE__ */ e(O, { children: /* @__PURE__ */ e("div", { children: N.PREFERENCES.PASSKEY_TITLE }) })
551
+ /* @__PURE__ */ e(P, { children: /* @__PURE__ */ e(Ie, { size: "size-8" }) }),
552
+ /* @__PURE__ */ e(P, { children: /* @__PURE__ */ e("div", { children: N.PREFERENCES.PASSKEY_TITLE }) })
552
553
  ] }) }),
553
554
  children: [
554
555
  /* @__PURE__ */ e("p", { children: N.PREFERENCES.PASSKEY_INSTRUCTIONS }),
@@ -566,7 +567,7 @@ const Lt = ({
566
567
  }
567
568
  ),
568
569
  /* @__PURE__ */ e(
569
- B,
570
+ z,
570
571
  {
571
572
  header: N.MAIN_STATISTICS.TITLE,
572
573
  className: "prose-dark dark:prose-lighter mt-4",
@@ -608,8 +609,8 @@ try {
608
609
  }
609
610
  const De = "av-text-area", Kt = "av-text-area-wrapper", ye = "av-text-area-helper-text", Wt = "av-text-area__control--right", Xt = "av-text-area__control--left";
610
611
  function qt() {
611
- const t = S(!1);
612
- return H(() => (t.current = !0, () => {
612
+ const t = v(!1);
613
+ return B(() => (t.current = !0, () => {
613
614
  t.current = !1;
614
615
  }), []), Be(() => t.current, []);
615
616
  }
@@ -632,13 +633,13 @@ const Jt = {
632
633
  right: 0
633
634
  };
634
635
  function Re(t) {
635
- const a = qt(), o = S(0), n = S(null), [r, c] = C(Jt), s = He(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((d) => {
636
- const u = d[0];
637
- u && (cancelAnimationFrame(o.current), o.current = requestAnimationFrame(() => {
638
- n.current && a() && c(u.contentRect);
636
+ const a = qt(), o = v(0), n = v(null), [r, c] = C(Jt), s = He(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((d) => {
637
+ const m = d[0];
638
+ m && (cancelAnimationFrame(o.current), o.current = requestAnimationFrame(() => {
639
+ n.current && a() && c(m.contentRect);
639
640
  }));
640
641
  }), [a]);
641
- return H(() => (n.current && (s == null || s.observe(n.current, t)), () => {
642
+ return B(() => (n.current && (s == null || s.observe(n.current, t)), () => {
642
643
  s == null || s.disconnect(), o.current && cancelAnimationFrame(o.current);
643
644
  }), [s, t]), [n, r];
644
645
  }
@@ -650,12 +651,12 @@ function Zt({
650
651
  },
651
652
  initialControlledDelay: r = 0
652
653
  }) {
653
- const [c, s] = C(!1), [d, u] = C(
654
+ const [c, s] = C(!1), [d, m] = C(
654
655
  a !== void 0 ? a : o
655
656
  ), f = (p) => {
656
- u(p), n == null || n(p);
657
+ m(p), n == null || n(p);
657
658
  };
658
- return H(() => {
659
+ return B(() => {
659
660
  (async () => t !== void 0 && !c && r > 0 && (await new Promise(
660
661
  (p) => setTimeout(p, r)
661
662
  ), s(!0)))();
@@ -751,13 +752,13 @@ function or({
751
752
  clearAnnouncementDelay: c,
752
753
  onAnnouncementClear: s,
753
754
  visible: d,
754
- ...u
755
+ ...m
755
756
  }) {
756
- const f = S(null), p = S(null), [b, x] = Rt(rr, {
757
+ const f = v(null), p = v(null), [b, x] = Rt(rr, {
757
758
  announcement: null
758
759
  });
759
760
  let l = o;
760
- typeof l > "u" && (l = n ? tr[n] : "assertive"), H(() => {
761
+ typeof l > "u" && (l = n ? tr[n] : "assertive"), B(() => {
761
762
  ar({
762
763
  announcementTimeoutRef: f,
763
764
  announcementDelay: r,
@@ -782,7 +783,7 @@ function or({
782
783
  "aria-live": l,
783
784
  ...n && { role: n },
784
785
  className: h,
785
- ...u,
786
+ ...m,
786
787
  children: b.announcement
787
788
  }
788
789
  );
@@ -895,7 +896,7 @@ const sr = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
895
896
  noBorder: c,
896
897
  error: s,
897
898
  mode: d,
898
- leftElement: u,
899
+ leftElement: m,
899
900
  rightElement: f
900
901
  }) => {
901
902
  const p = o ? t : y(
@@ -921,7 +922,7 @@ const sr = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
921
922
  error: s,
922
923
  mode: d,
923
924
  rightElement: f,
924
- leftElement: u
925
+ leftElement: m
925
926
  }), h = ur({
926
927
  error: s,
927
928
  raw: o,
@@ -963,7 +964,7 @@ const sr = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
963
964
  className: c,
964
965
  textAreaClassName: s,
965
966
  mode: d = "system",
966
- focusMode: u = "system",
967
+ focusMode: m = "system",
967
968
  value: f,
968
969
  defaultValue: p,
969
970
  disabled: b = !1,
@@ -973,20 +974,20 @@ const sr = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
973
974
  helperTextOnFocus: T = !1,
974
975
  rightElement: E,
975
976
  leftElement: g,
976
- onChange: A,
977
- onFocus: m,
977
+ onChange: I,
978
+ onFocus: u,
978
979
  onBlur: w,
979
- ...I
980
- }, D) => {
981
- var L;
982
- const _ = S(null), ie = Qt([D, _]), [k, R] = Re(), [Q, G] = Re(), K = S(80), U = S(-25), M = S(null), J = S(30), Z = S(null), Y = er({ id: t, prefix: `${De}-` }), [Ee, Fe] = C(0), [Te, Ge] = C(0), [Ue, Ne] = C(
980
+ ...R
981
+ }, H) => {
982
+ var D;
983
+ const S = v(null), ie = Qt([H, S]), [k, _] = Re(), [Q, G] = Re(), K = v(80), U = v(-25), L = v(null), J = v(30), Z = v(null), Y = er({ id: t, prefix: `${De}-` }), [Ee, Fe] = C(0), [Te, Ge] = C(0), [Ue, Ne] = C(
983
984
  !!(!T && h)
984
985
  ), Ye = `${a} error, ${h}`, j = mr({
985
986
  className: c,
986
987
  textAreaClassName: s,
987
988
  error: n,
988
989
  raw: r,
989
- focusMode: u,
990
+ focusMode: m,
990
991
  disabled: b,
991
992
  noBorder: x,
992
993
  mode: d,
@@ -996,44 +997,44 @@ const sr = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
996
997
  value: f,
997
998
  initialControlledDelay: 20,
998
999
  defaultValue: p,
999
- onChange: (v) => {
1000
- A && A({
1000
+ onChange: (A) => {
1001
+ I && I({
1001
1002
  target: {
1002
- value: v
1003
+ value: A
1003
1004
  }
1004
1005
  });
1005
1006
  }
1006
- }), Ke = (v) => {
1007
- je(v.target.value);
1008
- }, We = (v) => {
1009
- T && h && Ne(!0), m && m(v);
1010
- }, Xe = (v) => {
1011
- T && h && !$ && Ne(!1), w && w(v);
1007
+ }), Ke = (A) => {
1008
+ je(A.target.value);
1009
+ }, We = (A) => {
1010
+ T && h && Ne(!0), u && u(A);
1011
+ }, Xe = (A) => {
1012
+ T && h && !$ && Ne(!1), w && w(A);
1012
1013
  };
1013
1014
  return ne(() => {
1014
- R && R.width && Fe(R.width + 18 + 10);
1015
- }, [R]), ne(() => {
1015
+ _ && _.width && Fe(_.width + 18 + 10);
1016
+ }, [_]), ne(() => {
1016
1017
  G && G.width && Ge(G.width + 18 + 10);
1017
1018
  }, [G]), ne(() => {
1018
- r || _ && _.current && $ !== void 0 && (_.current.style.height = "inherit", _.current.style.height = _.current.scrollHeight + "px");
1019
+ r || S && S.current && $ !== void 0 && (S.current.style.height = "inherit", S.current.style.height = S.current.scrollHeight + "px");
1019
1020
  }, [$, r]), ne(() => {
1020
1021
  r || setTimeout(() => {
1021
- var v;
1022
- (v = M == null ? void 0 : M.current) == null || v.style.setProperty(
1022
+ var A;
1023
+ (A = L == null ? void 0 : L.current) == null || A.style.setProperty(
1023
1024
  "--av-text-area-wrapper-transition",
1024
1025
  $ ? "none" : "all 0.2s ease-out"
1025
1026
  );
1026
1027
  }, 0);
1027
1028
  }, [$, r]), ne(() => {
1028
- var v, we;
1029
- if (!r && _ && _.current && $ !== void 0) {
1029
+ var A, we;
1030
+ if (!r && S && S.current && $ !== void 0) {
1030
1031
  const { labelOffset: fe, helperTextOffset: pe, scrollHeight: qe } = hr({
1031
- scrollHeight: _.current.scrollHeight,
1032
+ scrollHeight: S.current.scrollHeight,
1032
1033
  currentHeight: K.current,
1033
1034
  currentLabelOffset: U.current,
1034
1035
  currentHelperTextOffset: J.current
1035
1036
  });
1036
- fe && (U.current = fe, (v = M == null ? void 0 : M.current) == null || v.style.setProperty(
1037
+ fe && (U.current = fe, (A = L == null ? void 0 : L.current) == null || A.style.setProperty(
1037
1038
  "--av-text-area-label",
1038
1039
  `${fe}px`
1039
1040
  )), pe && (J.current = pe, (we = Z == null ? void 0 : Z.current) == null || we.style.setProperty(
@@ -1041,7 +1042,7 @@ const sr = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
1041
1042
  `${pe}px`
1042
1043
  )), K.current = qe || K.current;
1043
1044
  }
1044
- }, [$, r]), G.width > 0 && ((L = M == null ? void 0 : M.current) == null || L.style.setProperty(
1045
+ }, [$, r]), G.width > 0 && ((D = L == null ? void 0 : L.current) == null || D.style.setProperty(
1045
1046
  "--tw-translate-x",
1046
1047
  `${12 + G.width + 5}px`
1047
1048
  )), /* @__PURE__ */ i("div", { className: j.wrapper, children: [
@@ -1086,13 +1087,13 @@ const sr = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
1086
1087
  onChange: Ke,
1087
1088
  onFocus: We,
1088
1089
  onBlur: Xe,
1089
- ...I
1090
+ ...R
1090
1091
  }
1091
1092
  ),
1092
1093
  !r && /* @__PURE__ */ e(
1093
1094
  "label",
1094
1095
  {
1095
- ref: M,
1096
+ ref: L,
1096
1097
  "aria-hidden": !0,
1097
1098
  htmlFor: Y,
1098
1099
  className: `${j.visibleLabel}`,
@@ -1212,14 +1213,14 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
1212
1213
  mode: c = "system",
1213
1214
  focusMode: s = "system",
1214
1215
  className: d,
1215
- noBorder: u = !1
1216
+ noBorder: m = !1
1216
1217
  }) => {
1217
1218
  const f = Er({
1218
1219
  mode: c,
1219
1220
  focusMode: s,
1220
1221
  labelHidden: n,
1221
1222
  className: d,
1222
- noBorder: u
1223
+ noBorder: m
1223
1224
  }), p = (b) => {
1224
1225
  a == null || a(b.target.checked);
1225
1226
  };
@@ -1250,7 +1251,7 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
1250
1251
  keys: [n == null ? void 0 : n.username],
1251
1252
  getAccessToken: o,
1252
1253
  isPaused: !0
1253
- }), [u, f] = C({
1254
+ }), [m, f] = C({
1254
1255
  prompts: []
1255
1256
  }), p = ({
1256
1257
  slot: l,
@@ -1259,8 +1260,8 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
1259
1260
  content: E,
1260
1261
  privateChat: g = !1
1261
1262
  }) => {
1262
- f((A) => {
1263
- const m = A.prompts, w = {
1263
+ f((I) => {
1264
+ const u = I.prompts, w = {
1264
1265
  slot: l,
1265
1266
  label: T,
1266
1267
  content: E,
@@ -1268,13 +1269,13 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
1268
1269
  privateChat: g
1269
1270
  };
1270
1271
  console.info(`==> [${Date.now()}] : `, w);
1271
- const I = m.findIndex((D) => D.slot === l);
1272
- return I === -1 ? {
1273
- ...A,
1274
- prompts: [...m, { ...w, slot: l }]
1275
- } : (m[I] = w, {
1276
- ...A,
1277
- prompts: [...m]
1272
+ const R = u.findIndex((H) => H.slot === l);
1273
+ return R === -1 ? {
1274
+ ...I,
1275
+ prompts: [...u, { ...w, slot: l }]
1276
+ } : (u[R] = w, {
1277
+ ...I,
1278
+ prompts: [...u]
1278
1279
  });
1279
1280
  });
1280
1281
  }, b = async (l) => {
@@ -1285,7 +1286,7 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
1285
1286
  type: le.SET_USER_PREFERENCES,
1286
1287
  params: {
1287
1288
  user: n == null ? void 0 : n.username,
1288
- tags: u.prompts
1289
+ tags: m.prompts
1289
1290
  }
1290
1291
  });
1291
1292
  } catch {
@@ -1293,11 +1294,11 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
1293
1294
  }, x = () => {
1294
1295
  d({ ...r }), a(!1);
1295
1296
  };
1296
- return H(() => {
1297
+ return B(() => {
1297
1298
  r != null && r.tags && f({ prompts: r.tags });
1298
- }, [r]), H(() => {
1299
- console.info(`==> [${Date.now()}] localPrompts: `, u);
1300
- }, [u]), c || s ? null : /* @__PURE__ */ i(
1299
+ }, [r]), B(() => {
1300
+ console.info(`==> [${Date.now()}] localPrompts: `, m);
1301
+ }, [m]), c || s ? null : /* @__PURE__ */ i(
1301
1302
  ce,
1302
1303
  {
1303
1304
  open: t,
@@ -1310,7 +1311,7 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
1310
1311
  alignHorizontal: "flex-end",
1311
1312
  className: "pb-8 sm:pb-0",
1312
1313
  children: [
1313
- /* @__PURE__ */ e(O, { children: /* @__PURE__ */ e(
1314
+ /* @__PURE__ */ e(P, { children: /* @__PURE__ */ e(
1314
1315
  X,
1315
1316
  {
1316
1317
  mode: "dark",
@@ -1320,7 +1321,7 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
1320
1321
  children: "Cancel"
1321
1322
  }
1322
1323
  ) }),
1323
- /* @__PURE__ */ e(O, { children: /* @__PURE__ */ e(
1324
+ /* @__PURE__ */ e(P, { children: /* @__PURE__ */ e(
1324
1325
  X,
1325
1326
  {
1326
1327
  mode: "dark",
@@ -1337,14 +1338,14 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
1337
1338
  ),
1338
1339
  children: [
1339
1340
  /* @__PURE__ */ e("p", { children: ct }),
1340
- u.prompts && u.prompts.map((l) => /* @__PURE__ */ i(
1341
- B,
1341
+ m.prompts && m.prompts.map((l) => /* @__PURE__ */ i(
1342
+ z,
1342
1343
  {
1343
1344
  header: `Prompt ${l.slot + 1}`,
1344
1345
  className: "prose-dark dark:prose-lighter mb-2",
1345
1346
  children: [
1346
1347
  /* @__PURE__ */ i(q, { className: "mt-8 mb-6", columnGap: 2, rowGap: 6, children: [
1347
- /* @__PURE__ */ e(O, { span: 12, children: /* @__PURE__ */ e(
1348
+ /* @__PURE__ */ e(P, { span: 12, children: /* @__PURE__ */ e(
1348
1349
  be,
1349
1350
  {
1350
1351
  label: "Label",
@@ -1360,7 +1361,7 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
1360
1361
  }
1361
1362
  }
1362
1363
  ) }),
1363
- /* @__PURE__ */ e(O, { span: 12, children: /* @__PURE__ */ e(
1364
+ /* @__PURE__ */ e(P, { span: 12, children: /* @__PURE__ */ e(
1364
1365
  be,
1365
1366
  {
1366
1367
  label: "Content",
@@ -1433,14 +1434,14 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
1433
1434
  } = ze({
1434
1435
  keys: [n == null ? void 0 : n.username],
1435
1436
  getAccessToken: o
1436
- }), [u, f] = C(!1), [p, b] = C({
1437
+ }), [m, f] = C(!1), [p, b] = C({
1437
1438
  loadingLocation: !1
1438
- }), [x, l] = C(""), [h, T] = C(""), [E, g] = C(it), [A, m] = Ce({
1439
+ }), [x, l] = C(""), [h, T] = C(""), [E, g] = C(it), [I, u] = Ce({
1439
1440
  key: ke + dt,
1440
1441
  initialValue: !1
1441
1442
  }), w = (k) => {
1442
- m(k);
1443
- }, I = async (k) => {
1443
+ u(k);
1444
+ }, R = async (k) => {
1444
1445
  k.preventDefault();
1445
1446
  try {
1446
1447
  await se({
@@ -1457,21 +1458,21 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
1457
1458
  });
1458
1459
  } catch {
1459
1460
  }
1460
- }, D = async () => {
1461
+ }, H = async () => {
1461
1462
  b({
1462
1463
  loadingLocation: !0
1463
1464
  }), T("...");
1464
1465
  try {
1465
- const k = Date.now(), R = await ht(), Q = await se({
1466
+ const k = Date.now(), _ = await ht(), Q = await se({
1466
1467
  accessToken: await o(),
1467
1468
  type: le.GET_LOCATION,
1468
1469
  params: {
1469
- latitude: R.latitude,
1470
- longitude: R.longitude
1470
+ latitude: _.latitude,
1471
+ longitude: _.longitude
1471
1472
  }
1472
1473
  }), K = Date.now() - k;
1473
1474
  if (K < 2e3 && await new Promise((U) => setTimeout(U, 2e3 - K)), Q.status === 200) {
1474
- const { city: U, state: M, country: J, displayName: Z } = Q.data, Y = U && M && J ? `${U}, ${M}, ${J}` : Z;
1475
+ const { city: U, state: L, country: J, displayName: Z } = Q.data, Y = U && L && J ? `${U}, ${L}, ${J}` : Z;
1475
1476
  b({
1476
1477
  loadingLocation: !1
1477
1478
  }), T(Y);
@@ -1481,14 +1482,14 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
1481
1482
  });
1482
1483
  } catch {
1483
1484
  }
1484
- }, L = (k, R) => {
1485
- g(k ? R : R === W ? ee : W);
1486
- }, _ = () => {
1487
- f(!u);
1485
+ }, D = (k, _) => {
1486
+ g(k ? _ : _ === W ? ee : W);
1487
+ }, S = () => {
1488
+ f(!m);
1488
1489
  }, ie = () => {
1489
1490
  d({ ...r }), a(!1);
1490
1491
  };
1491
- return H(() => {
1492
+ return B(() => {
1492
1493
  r != null && r.instructions && l(r.instructions), r != null && r.location && T(r.location), r != null && r.engine && g(r.engine);
1493
1494
  }, [r]), c || s ? null : /* @__PURE__ */ e(
1494
1495
  ce,
@@ -1503,7 +1504,7 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
1503
1504
  alignHorizontal: "flex-end",
1504
1505
  className: "pb-8 sm:pb-0",
1505
1506
  children: [
1506
- /* @__PURE__ */ e(O, { children: /* @__PURE__ */ e(
1507
+ /* @__PURE__ */ e(P, { children: /* @__PURE__ */ e(
1507
1508
  X,
1508
1509
  {
1509
1510
  mode: "dark",
@@ -1513,14 +1514,14 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
1513
1514
  children: "Cancel"
1514
1515
  }
1515
1516
  ) }),
1516
- /* @__PURE__ */ e(O, { children: /* @__PURE__ */ e(
1517
+ /* @__PURE__ */ e(P, { children: /* @__PURE__ */ e(
1517
1518
  X,
1518
1519
  {
1519
1520
  mode: "dark",
1520
1521
  variant: "danger",
1521
1522
  focusMode: "light",
1522
1523
  onClick: async (k) => {
1523
- a(!1), await I(k);
1524
+ a(!1), await R(k);
1524
1525
  },
1525
1526
  children: "Save"
1526
1527
  }
@@ -1528,10 +1529,10 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
1528
1529
  ]
1529
1530
  }
1530
1531
  ),
1531
- children: /* @__PURE__ */ i(z, { children: [
1532
- u && /* @__PURE__ */ e(Tr, { open: u, onOpenChange: f }),
1532
+ children: /* @__PURE__ */ i(O, { children: [
1533
+ m && /* @__PURE__ */ e(Tr, { open: m, onOpenChange: f }),
1533
1534
  /* @__PURE__ */ i(
1534
- B,
1535
+ z,
1535
1536
  {
1536
1537
  header: N.SETTINGS_ENGINE.TITLE,
1537
1538
  className: "prose-dark dark:prose-lighter",
@@ -1543,7 +1544,7 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
1543
1544
  noBorder: !0,
1544
1545
  label: W,
1545
1546
  name: W,
1546
- onChange: (k) => L(k, W),
1547
+ onChange: (k) => D(k, W),
1547
1548
  checked: E === W
1548
1549
  }
1549
1550
  ),
@@ -1554,7 +1555,7 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
1554
1555
  noBorder: !0,
1555
1556
  label: ee,
1556
1557
  name: ee,
1557
- onChange: (k) => L(k, ee),
1558
+ onChange: (k) => D(k, ee),
1558
1559
  checked: E === ee
1559
1560
  }
1560
1561
  ),
@@ -1567,7 +1568,7 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
1567
1568
  label: "Show Message Statistics",
1568
1569
  name: "show-message-statistics",
1569
1570
  onChange: w,
1570
- checked: A
1571
+ checked: I
1571
1572
  }
1572
1573
  ),
1573
1574
  /* @__PURE__ */ e("h3", { className: "border-b-2 border-slate-400", children: "Prompts" }),
@@ -1576,7 +1577,7 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
1576
1577
  {
1577
1578
  className: "mt-2",
1578
1579
  size: "small",
1579
- onClick: _,
1580
+ onClick: S,
1580
1581
  labelLeft: "Edit Custom Prompts",
1581
1582
  children: /* @__PURE__ */ e(Nt, { size: "size-3", monotone: !0 })
1582
1583
  }
@@ -1585,7 +1586,7 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
1585
1586
  }
1586
1587
  ),
1587
1588
  /* @__PURE__ */ i(
1588
- B,
1589
+ z,
1589
1590
  {
1590
1591
  header: "Custom Instructions",
1591
1592
  className: "prose-dark dark:prose-lighter mt-4",
@@ -1615,7 +1616,7 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
1615
1616
  }
1616
1617
  ),
1617
1618
  /* @__PURE__ */ i(
1618
- B,
1619
+ z,
1619
1620
  {
1620
1621
  header: "Location",
1621
1622
  className: "prose-dark dark:prose-lighter mt-4",
@@ -1641,7 +1642,7 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
1641
1642
  size: "small",
1642
1643
  noBorder: !0,
1643
1644
  disabled: p.loadingLocation,
1644
- onClick: D,
1645
+ onClick: H,
1645
1646
  children: p.loadingLocation ? "Detecting..." : "Auto-detect"
1646
1647
  }
1647
1648
  )
@@ -1652,18 +1653,18 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
1652
1653
  }
1653
1654
  );
1654
1655
  }, _r = () => {
1655
- const { logout: t } = F(), { state: a } = he(Oe), [o, n] = C(!1), [r, c] = C(!1), [s, d] = C(!1), [u, f] = C(!1), [p, b] = C(!1), x = () => {
1656
+ const { logout: t } = F(), { state: a } = he(Oe), [o, n] = C(!1), [r, c] = C(!1), [s, d] = C(!1), [m, f] = C(!1), [p, b] = C(!1), x = () => {
1656
1657
  n(!o);
1657
1658
  }, l = () => {
1658
1659
  c(!r);
1659
1660
  }, h = () => {
1660
1661
  d(!s);
1661
1662
  }, T = () => {
1662
- f(!u);
1663
+ f(!m);
1663
1664
  }, E = () => {
1664
1665
  b(!p);
1665
1666
  };
1666
- return /* @__PURE__ */ i(z, { children: [
1667
+ return /* @__PURE__ */ i(O, { children: [
1667
1668
  /* @__PURE__ */ e(
1668
1669
  Pe,
1669
1670
  {
@@ -1681,8 +1682,8 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
1681
1682
  /* @__PURE__ */ e(jt, { open: o, onOpenChange: n }),
1682
1683
  /* @__PURE__ */ e(Nr, { open: r, onOpenChange: c }),
1683
1684
  s && /* @__PURE__ */ e(Ut, { open: s, onOpenChange: d }),
1684
- /* @__PURE__ */ e(Vt, { open: u, onOpenChange: f }),
1685
- /* @__PURE__ */ e("div", { className: "bg-slate-900 py-4 px-4 rounded-t-md", children: /* @__PURE__ */ e(q, { alignHorizontal: "flex-end", alignVertical: "center", children: /* @__PURE__ */ e(O, { children: /* @__PURE__ */ e(q, { children: /* @__PURE__ */ e(O, { children: /* @__PURE__ */ e(
1685
+ /* @__PURE__ */ e(Vt, { open: m, onOpenChange: f }),
1686
+ /* @__PURE__ */ e("div", { className: "bg-slate-900 py-4 px-4 rounded-t-md", children: /* @__PURE__ */ e(q, { alignHorizontal: "flex-end", alignVertical: "center", children: /* @__PURE__ */ e(P, { children: /* @__PURE__ */ e(q, { children: /* @__PURE__ */ e(P, { children: /* @__PURE__ */ e(
1686
1687
  wt,
1687
1688
  {
1688
1689
  label: "Profile, Settings, etc.",
@@ -1728,7 +1729,7 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
1728
1729
  icon: /* @__PURE__ */ e(Ot, {})
1729
1730
  }
1730
1731
  ),
1731
- a && a.id && !a.isComponent && /* @__PURE__ */ i(z, { children: [
1732
+ a && a.id && !a.isComponent && /* @__PURE__ */ i(O, { children: [
1732
1733
  /* @__PURE__ */ e(vt, {}),
1733
1734
  /* @__PURE__ */ e(
1734
1735
  re,
@@ -3734,7 +3734,7 @@ const qn = "ASK! ME! ANYTHING!", ar = "Callisto", Xn = "Log in", Qn = "Sign in w
3734
3734
  ) });
3735
3735
  }, ro = new URL(document.location.href).searchParams, ao = !!ro.get("debug") || !1, no = ir(() => import(
3736
3736
  /* webpackChunkName: "LazyApp" */
3737
- "./App.KB01Hp9h.js"
3737
+ "./App.BNj5_p2P.js"
3738
3738
  ).then((e) => e.App)), oo = ({ isComponent: e }) => {
3739
3739
  const { isAuthenticated: t } = zt();
3740
3740
  return t ? /* @__PURE__ */ l(cr, { fallback: /* @__PURE__ */ l("div", {}), children: /* @__PURE__ */ l(no, { isComponent: e }) }) : /* @__PURE__ */ l(to, {});
@@ -1,5 +1,5 @@
1
1
  import "react/jsx-runtime";
2
- import { SassySaint as a } from "../../chunks/index.CfjkM26U.js";
2
+ import { SassySaint as a } from "../../chunks/index.HM1QCCV9.js";
3
3
  export {
4
4
  a as SassySaint
5
5
  };
package/dist/index.js CHANGED
@@ -1,12 +1,12 @@
1
- import { SassySaint as r } from "./chunks/index.CfjkM26U.js";
1
+ import { SassySaint as r } from "./chunks/index.HM1QCCV9.js";
2
2
  /*!
3
- @sassysaint/client v6.4.1
3
+ @sassysaint/client v6.4.2
4
4
  © 2025 gizmette.com
5
5
  */
6
6
  try {
7
7
  window.__VERSINI_SASSY_GLOBAL__ || (window.__VERSINI_SASSY_GLOBAL__ = {
8
- version: "6.4.1",
9
- buildTime: "01/27/2025 07:38 AM EST",
8
+ version: "6.4.2",
9
+ buildTime: "01/27/2025 11:19 AM EST",
10
10
  license: "MIT"
11
11
  });
12
12
  } catch {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@versini/sassysaint",
3
- "version": "6.4.1",
3
+ "version": "6.4.2",
4
4
  "license": "MIT",
5
5
  "author": "Arno Versini",
6
6
  "publishConfig": {
@@ -30,7 +30,7 @@
30
30
  "react-dom": "^18.3.1 || ^19.0.0"
31
31
  },
32
32
  "devDependencies": {
33
- "@sassysaint/client": "6.4.1",
33
+ "@sassysaint/client": "6.4.2",
34
34
  "@versini/ui-styles": "3.2.6"
35
35
  },
36
36
  "dependencies": {
@@ -41,5 +41,5 @@
41
41
  "sideEffects": [
42
42
  "**/*.css"
43
43
  ],
44
- "gitHead": "46c890f2441e14ead6aed0196fb2e14777f73dbc"
44
+ "gitHead": "8e510fd7b37c56a053a353d0155871a77fb749d3"
45
45
  }