@versini/sassysaint 8.39.11 → 8.40.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  import { jsx as Tp } from "react/jsx-runtime";
2
- import { getDefaultExportFromCjs as ln } from "./App.DMY0Cxus.js";
2
+ import { getDefaultExportFromCjs as ln } from "./App.B9gc6fg7.js";
3
3
  import Ap, { useState as Cp, useEffect as Pp } from "react";
4
- import { TRIMESTERS as rn, TRIMESTERS_SHORT as Op, isProbablyMobile as Lp } from "./index.DuXItDG_.js";
4
+ import { TRIMESTERS as rn, TRIMESTERS_SHORT as Op, isProbablyMobile as Lp } from "./index.CrPLofea.js";
5
5
  var ls = { exports: {} }, Ep = ls.exports, on;
6
6
  function Ip() {
7
7
  return on || (on = 1, (function(ve, ne) {
@@ -1,16 +1,16 @@
1
1
  import { jsx as A } from "react/jsx-runtime";
2
- import { ChatContext as R, E as _, Me as k, Oe as M } from "./App.DMY0Cxus.js";
3
- import L from "clsx";
4
- import N, { useState as E, useRef as S, useEffect as b, useContext as w } from "react";
5
- import { LOCAL_STORAGE_PREFIX as F, LOCAL_STORAGE_CHAT_DETAILS as G, convertCamelCaseToReadable as U, numberFormatter as y, pluralize as I, ROLE_INTERNAL as P } from "./index.DuXItDG_.js";
6
- import { useMarkdown as v } from "./useMarkdown.DmhrTtGF.js";
7
- const D = 2, j = D * 1e3, h = "", q = (e) => e * (2 - e);
2
+ import { LOCAL_STORAGE_PREFIX as k, LOCAL_STORAGE_CHAT_DETAILS as R, convertCamelCaseToReadable as _, numberFormatter as w, pluralize as F, re as G } from "./index.CrPLofea.js";
3
+ import { ChatContext as N, E as U, Me as y, Oe as S } from "./App.B9gc6fg7.js";
4
+ import b from "clsx";
5
+ import P, { useState as h, useRef as g, useEffect as L, useContext as v } from "react";
6
+ import { useMarkdown as I } from "./useMarkdown.4lWqmQ_l.js";
7
+ const D = 2, j = D * 1e3, M = "", q = (e) => e * (2 - e);
8
8
  function V(e, a = !0) {
9
- const [i, C] = E(0), [c, p] = E(0), [t, T] = E(e), r = S(0), o = S(0);
10
- return t !== e && (T(e), p(e.startsWith(t) ? i : 0)), b(() => {
9
+ const [i, C] = h(0), [c, p] = h(0), [t, T] = h(e), r = g(0), o = g(0);
10
+ return t !== e && (T(e), p(e.startsWith(t) ? i : 0)), L(() => {
11
11
  if (!a)
12
12
  return;
13
- const u = e.split(h).length, s = (l) => {
13
+ const u = e.split(M).length, s = (l) => {
14
14
  o.current || (o.current = l);
15
15
  const m = l - o.current, f = Math.min(m / j, 1), n = q(f), O = c + (u - c) * n;
16
16
  C(Math.floor(O)), f < 1 && (r.current = requestAnimationFrame(s));
@@ -18,13 +18,13 @@ function V(e, a = !0) {
18
18
  return o.current = 0, r.current = requestAnimationFrame(s), () => {
19
19
  r.current && cancelAnimationFrame(r.current);
20
20
  };
21
- }, [c, e, a]), a ? e.split(h).slice(0, i).join(h) : e;
21
+ }, [c, e, a]), a ? e.split(M).slice(0, i).join(M) : e;
22
22
  }
23
23
  const d = {
24
24
  MODEL: "Model",
25
25
  PLUGIN: "Plugin",
26
26
  USAGE: "Session usage"
27
- }, g = L("max-w-[99cqw] mt-3"), x = L("max-w-xs", "sm:max-w-3xl", "prose-li:ps-3"), X = N.memo(
27
+ }, x = b("max-w-[99cqw] mt-3"), E = b("max-w-xs", "sm:max-w-3xl", "prose-li:ps-3"), X = P.memo(
28
28
  ({
29
29
  content: e,
30
30
  annotations: a,
@@ -35,35 +35,35 @@ const d = {
35
35
  }) => {
36
36
  const t = V(e, c), {
37
37
  state: { streaming: T, restoredModel: r, tokenUsage: o }
38
- } = w(R), u = a?.model || r, s = o, [l, m] = v(), [f] = _({
39
- key: F + G,
38
+ } = v(N), u = a?.model || r, s = o, [l, m] = I(), [f] = U({
39
+ key: k + R,
40
40
  initialValue: !1
41
41
  });
42
42
  let n;
43
43
  return f && (n = {
44
44
  [d.MODEL]: u || null,
45
- [d.PLUGIN]: i ? U(i) : null
46
- }, s && (p ? n[d.USAGE] = `${y.format(s)} ${I("token", s)}` : n[d.USAGE] = k)), b(() => {
45
+ [d.PLUGIN]: i ? _(i) : null
46
+ }, s && (p ? n[d.USAGE] = `${w.format(s)} ${F("token", s)}` : n[d.USAGE] = y)), L(() => {
47
47
  t && m(t);
48
- }, [t, m]), C === P ? /* @__PURE__ */ A(
49
- M,
48
+ }, [t, m]), C === G ? /* @__PURE__ */ A(
49
+ S,
50
50
  {
51
51
  tail: !0,
52
- className: g,
53
- contentClassName: x,
52
+ className: x,
53
+ contentClassName: E,
54
54
  noMaxWidth: !0,
55
55
  children: /* @__PURE__ */ A("div", { className: "flex items-center justify-center italic text-copy-error-dark dark:text-red-300", children: l })
56
56
  }
57
57
  ) : /* @__PURE__ */ A(
58
- M,
58
+ S,
59
59
  {
60
60
  tail: !0,
61
61
  copyToClipboardMode: "dark",
62
62
  copyToClipboardFocusMode: "light",
63
63
  copyToClipboard: T ? "loading..." : e,
64
64
  footer: n,
65
- className: g,
66
- contentClassName: x,
65
+ className: x,
66
+ contentClassName: E,
67
67
  noMaxWidth: !0,
68
68
  children: l
69
69
  }
@@ -1,6 +1,6 @@
1
1
  import { jsxs as h, jsx as e, Fragment as ne } from "react/jsx-runtime";
2
- import { I as z, INFINITE_SCROLL_THRESHOLD as F, CARDS as ce, pluralize as ie, ue as I, numberFormatter as le, isProbablyMobile as de, n as Y, INFINITE_SCROLL_LIMIT as U, LOCAL_STORAGE_PREFIX as v, LOCAL_STORAGE_SORT_TIMESTAMP as me, LOCAL_STORAGE_SORT_TOKEN_USAGE as he, LOCAL_STORAGE_SORT as ue, APP_CLASSNAME as pe, ACTION_SORT as Ce, TOAST_CHAT_DELETED as Se, TOAST_PROVIDER_CHANGED as Te, LOCAL_STORAGE_SEARCH as ge, HISTORY_TITLE as Ee, pe as xe, debounce as fe, ACTION_SEARCH as ye } from "./index.DuXItDG_.js";
3
- import { De as Ae, He as De, qe as k, ue as A, pe as M, Ge as Oe, Fe as Re, Pe as C, Ye as V, st as $, de as Ne, a as ve, p as we, p$1 as Me, E$1 as _e, a$1 as ke, i$1 as Ie, HistoryContext as K, ChatContext as W, useAiChat as be, E as w, E$2 as y, useUserPreferences as Le, ConfirmationPanel as ze, LazyToastContainerWrapper as He, mutateCall as B, SERVICE_TYPES as G, showErrorToast as Pe, setNewProvider as Ue, CHAT_SET_PROVIDER as Ve, showSuccessToast as $e, CHAT_SET_STATUS as Be, useChatsHistory as Ge, tt as Fe, a$2 as Ye } from "./App.DMY0Cxus.js";
2
+ import { I as z, ue$1 as A, Ae as M, INFINITE_SCROLL_THRESHOLD as F, CARDS as ce, pluralize as ie, ue as I, numberFormatter as le, de, isProbablyMobile as me, E as he, a as ue, i as Ce, n as Y, INFINITE_SCROLL_LIMIT as U, LOCAL_STORAGE_PREFIX as v, LOCAL_STORAGE_SORT_TIMESTAMP as pe, LOCAL_STORAGE_SORT_TOKEN_USAGE as Se, LOCAL_STORAGE_SORT as Te, APP_CLASSNAME as ge, ACTION_SORT as Ee, TOAST_CHAT_DELETED as xe, TOAST_PROVIDER_CHANGED as fe, LOCAL_STORAGE_SEARCH as ye, HISTORY_TITLE as Ae, pe$1 as De, debounce as Oe, ACTION_SEARCH as Re } from "./index.CrPLofea.js";
3
+ import { De as Ne, He as ve, qe as k, Ge as we, Fe as Me, Pe as p, Ye as V, st as $, a as _e, p as ke, p$1 as Ie, HistoryContext as K, ChatContext as W, useAiChat as be, E as w, E$1 as y, useUserPreferences as Le, ConfirmationPanel as ze, LazyToastContainerWrapper as He, mutateCall as B, SERVICE_TYPES as G, showErrorToast as Pe, setNewProvider as Ue, CHAT_SET_PROVIDER as Ve, showSuccessToast as $e, CHAT_SET_STATUS as Be, useChatsHistory as Ge, tt as Fe, a$1 as Ye } from "./App.B9gc6fg7.js";
4
4
  import { Fragment as Ke, useRef as b, useState as L, useContext as _, useCallback as We, useEffect as j } from "react";
5
5
  const je = ({
6
6
  className: c,
@@ -81,9 +81,9 @@ const je = ({
81
81
  ]
82
82
  }
83
83
  ), Je = {
84
- [Ie]: Me,
85
- [ke]: we,
86
- [_e]: ve
84
+ [Ce]: Ie,
85
+ [ue]: ke,
86
+ [he]: _e
87
87
  }, r = {
88
88
  ROW: "row",
89
89
  TIMESTAMP: A,
@@ -112,10 +112,10 @@ const je = ({
112
112
  onClickDelete: E,
113
113
  infinityScrollMarkerRef: x
114
114
  }) => {
115
- const l = de() ? Qe : Ze, D = (t) => {
115
+ const l = me() ? Qe : Ze, D = (t) => {
116
116
  switch (t) {
117
117
  case r.ROW:
118
- return /* @__PURE__ */ e(C, { className: "sr-only", children: "Row" }, t);
118
+ return /* @__PURE__ */ e(p, { className: "sr-only", children: "Row" }, t);
119
119
  case r.TIMESTAMP:
120
120
  return /* @__PURE__ */ e(
121
121
  V,
@@ -133,9 +133,9 @@ const je = ({
133
133
  t
134
134
  );
135
135
  case r.SUMMARY:
136
- return /* @__PURE__ */ e(C, { className: "text-xs sm:text-sm", children: "Summary" }, t);
136
+ return /* @__PURE__ */ e(p, { className: "text-xs sm:text-sm", children: "Summary" }, t);
137
137
  case r.PROVIDER:
138
- return /* @__PURE__ */ e(C, { className: "text-xs sm:text-sm", children: "Provider" }, t);
138
+ return /* @__PURE__ */ e(p, { className: "text-xs sm:text-sm", children: "Provider" }, t);
139
139
  case r.TOKEN_USAGE:
140
140
  return /* @__PURE__ */ e(
141
141
  V,
@@ -153,17 +153,17 @@ const je = ({
153
153
  t
154
154
  );
155
155
  case r.ACTIONS:
156
- return /* @__PURE__ */ e(C, { className: "text-xs sm:text-sm text-right", children: "Actions" }, t);
156
+ return /* @__PURE__ */ e(p, { className: "text-xs sm:text-sm text-right", children: "Actions" }, t);
157
157
  default:
158
158
  return null;
159
159
  }
160
160
  }, f = (t, s, T) => {
161
161
  switch (t) {
162
162
  case r.ROW:
163
- return /* @__PURE__ */ e(C, { children: T + 1 }, t);
163
+ return /* @__PURE__ */ e(p, { children: T + 1 }, t);
164
164
  case r.TIMESTAMP:
165
165
  return /* @__PURE__ */ e(
166
- C,
166
+ p,
167
167
  {
168
168
  component: "th",
169
169
  scope: "row",
@@ -175,7 +175,7 @@ const je = ({
175
175
  case r.SUMMARY: {
176
176
  const S = s.summary || (s.messages.length > 0 ? s.messages[0]?.content : "");
177
177
  return /* @__PURE__ */ e(
178
- C,
178
+ p,
179
179
  {
180
180
  className: "max-w-[100px] text-white sm:max-w-full text-xs sm:text-sm",
181
181
  style: {
@@ -187,9 +187,9 @@ const je = ({
187
187
  );
188
188
  }
189
189
  case r.PROVIDER: {
190
- const S = s.model ? Ne(s.model) : null, O = S ? Je[S] : null;
190
+ const S = s.model ? de(s.model) : null, O = S ? Je[S] : null;
191
191
  return /* @__PURE__ */ e(
192
- C,
192
+ p,
193
193
  {
194
194
  component: "th",
195
195
  scope: "row",
@@ -209,7 +209,7 @@ const je = ({
209
209
  }
210
210
  case r.TOKEN_USAGE:
211
211
  return /* @__PURE__ */ e(
212
- C,
212
+ p,
213
213
  {
214
214
  className: "text-gray-400 text-xs sm:text-sm",
215
215
  align: "right",
@@ -218,7 +218,7 @@ const je = ({
218
218
  t
219
219
  );
220
220
  case r.ACTIONS:
221
- return /* @__PURE__ */ e(C, { children: /* @__PURE__ */ h("div", { className: "flex flex-col items-end sm:flex-row gap-2", children: [
221
+ return /* @__PURE__ */ e(p, { children: /* @__PURE__ */ h("div", { className: "flex flex-col items-end sm:flex-row gap-2", children: [
222
222
  /* @__PURE__ */ e(
223
223
  $,
224
224
  {
@@ -268,15 +268,15 @@ const je = ({
268
268
  return null;
269
269
  }
270
270
  };
271
- return /* @__PURE__ */ h(Ae, { stickyHeader: !0, stickyFooter: !0, compact: !0, children: [
272
- /* @__PURE__ */ e(De, { children: /* @__PURE__ */ e(k, { children: l.map((t) => D(t)) }) }),
273
- /* @__PURE__ */ e(Oe, { children: c.slice(0, d).map((t, s) => t?.messages?.length > 0 ? /* @__PURE__ */ h(Ke, { children: [
271
+ return /* @__PURE__ */ h(Ne, { stickyHeader: !0, stickyFooter: !0, compact: !0, children: [
272
+ /* @__PURE__ */ e(ve, { children: /* @__PURE__ */ e(k, { children: l.map((t) => D(t)) }) }),
273
+ /* @__PURE__ */ e(we, { children: c.slice(0, d).map((t, s) => t?.messages?.length > 0 ? /* @__PURE__ */ h(Ke, { children: [
274
274
  s === d - F && /* @__PURE__ */ e("tr", { ref: x }),
275
275
  /* @__PURE__ */ e(k, { children: l.map(
276
276
  (T) => f(T, t, s)
277
277
  ) })
278
278
  ] }, `${ce.HISTORY.TITLE}-${t.id}-${s}`) : null) }),
279
- /* @__PURE__ */ e(Re, { children: /* @__PURE__ */ e(k, { children: /* @__PURE__ */ e(C, { colSpan: 1e3, children: /* @__PURE__ */ e("div", { children: ie(
279
+ /* @__PURE__ */ e(Me, { children: /* @__PURE__ */ e(k, { children: /* @__PURE__ */ e(p, { colSpan: 1e3, children: /* @__PURE__ */ e("div", { children: ie(
280
280
  `${c.length} chat`,
281
281
  c.length
282
282
  ) }) }) }) })
@@ -302,29 +302,29 @@ const je = ({
302
302
  setChatId: g,
303
303
  setInitialMessages: q
304
304
  } = _(W), { setInput: X } = be(), [H, P] = w({
305
- key: v + me,
305
+ key: v + pe,
306
306
  initialValue: y.DESC
307
307
  }), [J, Q] = w({
308
- key: v + he,
308
+ key: v + Se,
309
309
  initialValue: y.ASC
310
310
  }), [, Z] = w({
311
- key: v + ue,
311
+ key: v + Te,
312
312
  initialValue: A
313
313
  }), { refetch: ee } = Le({
314
314
  user: i?.username,
315
315
  getAccessToken: E
316
316
  }), te = (a) => {
317
- const p = s.sortedCell === a;
317
+ const C = s.sortedCell === a;
318
318
  let n, R;
319
319
  switch (a) {
320
320
  case A:
321
- R = P, n = p ? s.sortDirection : H;
321
+ R = P, n = C ? s.sortDirection : H;
322
322
  break;
323
323
  case M:
324
- R = Q, n = p ? s.sortDirection : J;
324
+ R = Q, n = C ? s.sortDirection : J;
325
325
  break;
326
326
  default:
327
- R = P, n = p ? s.sortDirection : H;
327
+ R = P, n = C ? s.sortDirection : H;
328
328
  break;
329
329
  }
330
330
  let N;
@@ -337,7 +337,7 @@ const je = ({
337
337
  break;
338
338
  }
339
339
  R(N), Z(a), T({
340
- type: Ce,
340
+ type: Ee,
341
341
  payload: {
342
342
  sortedCell: a,
343
343
  sortDirection: N
@@ -353,7 +353,7 @@ const je = ({
353
353
  userId: i?.username || "",
354
354
  id: a.id
355
355
  }
356
- }), m(""), await Pe(Se, {
356
+ }), m(""), await Pe(xe, {
357
357
  autoClose: 2e3,
358
358
  containerId: "history-table"
359
359
  });
@@ -361,8 +361,8 @@ const je = ({
361
361
  }
362
362
  }, re = async (a) => {
363
363
  try {
364
- const p = await E(), n = await B({
365
- accessToken: p,
364
+ const C = await E(), n = await B({
365
+ accessToken: C,
366
366
  type: G.GET_CHAT,
367
367
  params: {
368
368
  id: a.id
@@ -370,7 +370,7 @@ const je = ({
370
370
  });
371
371
  n.status === 200 && (n.data.provider !== O && (await Ue({
372
372
  provider: n.data.provider,
373
- accessToken: p,
373
+ accessToken: C,
374
374
  username: i?.username || ""
375
375
  }), o({
376
376
  type: Ve,
@@ -378,7 +378,7 @@ const je = ({
378
378
  provider: n.data.provider
379
379
  }
380
380
  }), ee(), await $e(
381
- `${Te} ${n.data.provider}`,
381
+ `${fe} ${n.data.provider}`,
382
382
  {
383
383
  containerId: "toggle-provider"
384
384
  }
@@ -405,8 +405,8 @@ const je = ({
405
405
  const a = {
406
406
  // root: null,
407
407
  rootMargin: "20px"
408
- }, p = new IntersectionObserver(oe, a);
409
- x.current && p.observe(x.current);
408
+ }, C = new IntersectionObserver(oe, a);
409
+ x.current && C.observe(x.current);
410
410
  }), /* @__PURE__ */ h(ne, { children: [
411
411
  /* @__PURE__ */ h(
412
412
  ze,
@@ -436,7 +436,7 @@ const je = ({
436
436
  ]
437
437
  }
438
438
  ),
439
- /* @__PURE__ */ e("div", { className: pe, children: /* @__PURE__ */ e(He, { containerId: "history-table" }) }),
439
+ /* @__PURE__ */ e("div", { className: ge, children: /* @__PURE__ */ e(He, { containerId: "history-table" }) }),
440
440
  /* @__PURE__ */ e(
441
441
  et,
442
442
  {
@@ -462,7 +462,7 @@ const je = ({
462
462
  sortedCell: l.sortedCell || A,
463
463
  getAccessToken: d
464
464
  }), [, s] = w({
465
- key: v + ge,
465
+ key: v + ye,
466
466
  initialValue: l.searchString
467
467
  });
468
468
  j(() => {
@@ -470,10 +470,10 @@ const je = ({
470
470
  }, [f]);
471
471
  const T = async (g) => {
472
472
  s(g), D({
473
- type: ye,
473
+ type: Re,
474
474
  payload: { searchString: g }
475
475
  });
476
- }, S = fe((g) => {
476
+ }, S = Oe((g) => {
477
477
  T(g.target.value.trim());
478
478
  }, 500);
479
479
  return /* @__PURE__ */ h(
@@ -481,14 +481,14 @@ const je = ({
481
481
  {
482
482
  open: c,
483
483
  onOpenChange: o,
484
- title: Ee,
484
+ title: Ae,
485
485
  animation: !0,
486
486
  animationType: "fade",
487
487
  children: [
488
488
  /* @__PURE__ */ e("form", { autoComplete: "off", onSubmit: async (g) => {
489
489
  g.preventDefault();
490
490
  }, children: /* @__PURE__ */ e(
491
- xe,
491
+ De,
492
492
  {
493
493
  placeholder: "Search",
494
494
  labelHidden: !0,
@@ -1,4 +1,4 @@
1
- import { createContext as xe, createSignal as z, onMount as Dt, createEffect as B, createMemo as q, createComponent as m, Portal as qo, memo as me, Show as R, template as _, insert as k, createRenderEffect as N, className as A, clearDelegatedEvents as bs, delegateEvents as ir, useContext as we, onCleanup as U, sortFns as Hn, mutationSortFns as Vn, on as ct, setAttribute as D, getSidedProp as xs, use as Dn, batch as ws, getQueryStatusLabel as Ot, getMutationStatusColor as Rt, getQueryStatusColor as $s, getQueryStatusColorByLabel as Cs, displayValue as xn, For as Ss, convertRemToPixels as Kr, untrack as Kt, useTransition as ks, spread as Es, mergeProps as j, createRoot as Br, serialize as Ms, Index as Ds, updateNestedDataByPath as sr, addEventListener as As, stringify as Ts, Match as zn, Switch as Fs, deleteNestedDataByPath as Is, createUniqueId as Be, splitProps as X, Dynamic as Ps, createComputed as Ls, getPreferredColorScheme as Os } from "./index.DuXItDG_.js";
1
+ import { createContext as xe, createSignal as z, onMount as Dt, createEffect as B, createMemo as q, createComponent as m, Portal as qo, memo as me, Show as R, template as _, insert as k, createRenderEffect as N, className as A, clearDelegatedEvents as bs, delegateEvents as ir, useContext as we, onCleanup as U, sortFns as Hn, mutationSortFns as Vn, on as ct, setAttribute as D, getSidedProp as xs, use as Dn, batch as ws, getQueryStatusLabel as Ot, getMutationStatusColor as Rt, getQueryStatusColor as $s, getQueryStatusColorByLabel as Cs, displayValue as xn, For as Ss, convertRemToPixels as Kr, untrack as Kt, useTransition as ks, spread as Es, mergeProps as j, createRoot as Br, serialize as Ms, Index as Ds, updateNestedDataByPath as sr, addEventListener as As, stringify as Ts, Match as zn, Switch as Fs, deleteNestedDataByPath as Is, createUniqueId as Be, splitProps as X, Dynamic as Ps, createComputed as Ls, getPreferredColorScheme as Os } from "./index.CrPLofea.js";
2
2
  var qs = (e) => e != null, _s = (e) => e.filter(qs);
3
3
  function Rs(e) {
4
4
  return (...t) => {
@@ -1,6 +1,6 @@
1
1
  import { jsxs as t, Fragment as m, jsx as e } from "react/jsx-runtime";
2
- import { i as h, nt as S, tt as R } from "./App.DMY0Cxus.js";
3
- import { n as u, S as a, renderDataAsList as N, CARDS as r, isTauri as P, ue as T, l as E, L as p, j as l, PROFILE_TITLE as C } from "./index.DuXItDG_.js";
2
+ import { i as h, nt as S, tt as R } from "./App.B9gc6fg7.js";
3
+ import { n as u, S as a, renderDataAsList as N, CARDS as r, isTauri as P, ue as T, l as E, L as p, j as l, PROFILE_TITLE as C } from "./index.CrPLofea.js";
4
4
  const A = () => {
5
5
  const { isAuthenticated: n, user: i, registeringForPasskey: o, authenticationType: c } = u(), d = h(), s = i?.username || "";
6
6
  return n && s ? /* @__PURE__ */ t(m, { children: [
@@ -1,6 +1,6 @@
1
1
  import { jsxs as v, jsx as s } from "react/jsx-runtime";
2
- import { n as Ee, LOCAL_STORAGE_PREFIX as ne, LOCAL_STORAGE_CHAT_DETAILS as Te, LOCAL_STORAGE_SERVICE_WORKER as Ne, isServiceWorkerEnabled as ve, SETTINGS_TITLE as _e, S as V, CARDS as P, APP_NAME as we, C as re, PROMPTS_DESCRIPTION as Ce, L as Se, j as se, getCurrentGeoLocation as Ie, handleServiceWorkerToggle as Ae } from "./index.DuXItDG_.js";
3
- import { useUserPreferences as Le, E as le, tt as Re, mutateCall as ce, SERVICE_TYPES as ie } from "./App.DMY0Cxus.js";
2
+ import { n as Ee, LOCAL_STORAGE_PREFIX as ne, LOCAL_STORAGE_CHAT_DETAILS as Te, LOCAL_STORAGE_SERVICE_WORKER as Ne, isServiceWorkerEnabled as ve, SETTINGS_TITLE as _e, S as V, CARDS as P, pe as we, C as re, PROMPTS_DESCRIPTION as Ce, L as Se, j as se, getCurrentGeoLocation as Ie, handleServiceWorkerToggle as Ae } from "./index.CrPLofea.js";
3
+ import { useUserPreferences as Le, E as le, tt as Re, mutateCall as ce, SERVICE_TYPES as ie } from "./App.B9gc6fg7.js";
4
4
  import Oe, { useRef as _, useState as g, useLayoutEffect as j, useMemo as me, useEffect as X, useId as Me, useReducer as De, useCallback as Pe } from "react";
5
5
  import i from "clsx";
6
6
  const fe = "av-text-area", Be = "av-text-area-wrapper", ae = "av-text-area-helper-text", Ge = "av-text-area__control--right", He = "av-text-area__control--left";
@@ -1,10 +1,10 @@
1
1
  import { jsxs as l, jsx as e } from "react/jsx-runtime";
2
- import { n as f, USAGE_TITLE as U, S as h, renderDataAsList as v, CARDS as n, L as E, j as L, C as m, pluralize as i } from "./index.DuXItDG_.js";
3
- import { i as M, useUserChatStats as _, useChatsUsage as D, tt as z } from "./App.DMY0Cxus.js";
2
+ import { n as f, USAGE_TITLE as U, S as h, renderDataAsList as v, CARDS as n, L as E, j as L, C as m, pluralize as i } from "./index.CrPLofea.js";
3
+ import { i as M, useUserChatStats as _, useChatsUsage as D, tt as z } from "./App.B9gc6fg7.js";
4
4
  import { useState as O, Suspense as P, lazy as B } from "react";
5
5
  const t = [0, 3, 6, 9], j = B(() => import(
6
6
  /* webpackChunkName: "LazyChart" */
7
- "./Chart.CEWRx_BY.js"
7
+ "./Chart.C49WdExM.js"
8
8
  )), b = ({
9
9
  open: S,
10
10
  onOpenChange: I
@@ -1,4 +1,4 @@
1
- import { convert as E, convertElement as u } from "./useMarkdown.DmhrTtGF.js";
1
+ import { convert as E, convertElement as u } from "./useMarkdown.4lWqmQ_l.js";
2
2
  const f = (
3
3
  // Note: overloads like this are needed to support optional generics.
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { convert as se, visitParents as Me, unicodeWhitespace as I, unicodePunctuation as N, normalizeIdentifier as _, classifyCharacter as W, visit as _e, toString as ce, EXIT as Oe, asciiAlphanumeric as Z, asciiAlpha as P, markdownLineEndingOrSpace as A, asciiControl as je, blankLine as Be, factorySpace as S, splice as q, resolveAll as We, markdownLineEnding as R, markdownSpace as T, combineExtensions as $e } from "./useMarkdown.DmhrTtGF.js";
1
+ import { convert as se, visitParents as Me, unicodeWhitespace as I, unicodePunctuation as N, normalizeIdentifier as _, classifyCharacter as W, visit as _e, toString as ce, EXIT as Oe, asciiAlphanumeric as Z, asciiAlpha as P, markdownLineEndingOrSpace as A, asciiControl as je, blankLine as Be, factorySpace as S, splice as q, resolveAll as We, markdownLineEnding as R, markdownSpace as T, combineExtensions as $e } from "./useMarkdown.4lWqmQ_l.js";
2
2
  import { longestStreak as qe } from "./index.Cyw5OC0t.js";
3
3
  function ne(e, n) {
4
4
  const t = String(e);