@versini/sassysaint 8.45.6 → 8.47.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.
Files changed (23) hide show
  1. package/dist/chunks/{AboutChangelog.LWPPo7H9.js → AboutChangelog.BEFkfDbw.js} +2 -2
  2. package/dist/chunks/{AboutEntry.BFBDyy6h.js → AboutEntry.COf0szTU.js} +7 -7
  3. package/dist/chunks/{App.Cwzj_7TG.js → App.D5cZDwje.js} +3282 -4188
  4. package/dist/chunks/{Chart.BxV8to7Z.js → Chart.B1R22nbJ.js} +2 -2
  5. package/dist/chunks/{ChatBubbleAssistant.Bp18OzE9.js → ChatBubbleAssistant.B9tlf_JH.js} +10 -10
  6. package/dist/chunks/{ChatHistoryTable.BVjiHyBX.js → ChatHistoryTable.CJfAtX8B.js} +25 -25
  7. package/dist/chunks/{HistoryEntry.C16tGap4.js → HistoryEntry.BbDPEPVY.js} +31 -31
  8. package/dist/chunks/{LNWAZHJI.CED6wpxJ.js → LNWAZHJI.C8sP3-rc.js} +1 -1
  9. package/dist/chunks/{ProfileEntry.DsI-YgqO.js → ProfileEntry.BUTgNPlp.js} +2 -2
  10. package/dist/chunks/{SettingsEntry.CIijARba.js → SettingsEntry.DGB3xOzh.js} +316 -311
  11. package/dist/chunks/{UsageEntry.DrEbNjpo.js → UsageEntry.Bu5CcqG2.js} +8 -8
  12. package/dist/chunks/{index.C_uGQmmV.js → index.BIMh7ysv.js} +1 -1
  13. package/dist/chunks/{index.Des5u3uL.js → index.BqV1_7Z2.js} +3 -3
  14. package/dist/chunks/{index.BFk_wbyz.js → index.Cfb0MIIn.js} +1 -1
  15. package/dist/chunks/{index.BHaXd0Ws.js → index.D9C8rL2L.js} +1 -1
  16. package/dist/chunks/{index.LWF-Ggi7.js → index.DHJP8zY7.js} +1 -1
  17. package/dist/chunks/{index.CvSvQRF0.js → index.DzixovoY.js} +2 -2
  18. package/dist/chunks/{index.Ddqbg8Ks.js → index.yZ_0qNLI.js} +2985 -2108
  19. package/dist/chunks/{useMarkdown.CR3mLjmN.js → useMarkdown.BNxkjyeo.js} +6 -6
  20. package/dist/components/SassySaint/SassySaint.js +1 -1
  21. package/dist/index.js +4 -4
  22. package/dist/style.css +1 -1
  23. package/package.json +3 -3
@@ -1,7 +1,7 @@
1
1
  import { jsx as Tp } from "react/jsx-runtime";
2
- import { getDefaultExportFromCjs as ln } from "./App.Cwzj_7TG.js";
2
+ import { getDefaultExportFromCjs as ln } from "./App.D5cZDwje.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.Ddqbg8Ks.js";
4
+ import { TRIMESTERS as rn, TRIMESTERS_SHORT as Op, isProbablyMobile as Lp } from "./index.yZ_0qNLI.js";
5
5
  var ls = { exports: {} }, Ep = ls.exports, on;
6
6
  function Ip() {
7
7
  return on || (on = 1, (function(ve, ne) {
@@ -1,10 +1,10 @@
1
1
  import { jsx as M } from "react/jsx-runtime";
2
- import { n as N, convertCamelCaseToReadable as O, numberFormatter as P, pluralize as R, ne as y } from "./index.Ddqbg8Ks.js";
3
- import { BUBBLE_FOOTER_EMPTY as L } from "./index.LWF-Ggi7.js";
2
+ import { n as N, useUserPreferences as O, convertCamelCaseToReadable as P, numberFormatter as R, pluralize as y, re as L } from "./index.yZ_0qNLI.js";
3
+ import { BUBBLE_FOOTER_EMPTY as _ } from "./index.DHJP8zY7.js";
4
4
  import U from "clsx";
5
- import _, { useState as b, useRef as A, useEffect as w, useContext as v } from "react";
6
- import { ChatContext as B, useUserPreferences as G, AsyncBubble as E } from "./App.Cwzj_7TG.js";
7
- import { useMarkdown as D } from "./useMarkdown.CR3mLjmN.js";
5
+ import v, { useState as b, useRef as A, useEffect as w, useContext as B } from "react";
6
+ import { ChatContext as G, AsyncBubble as E } from "./App.D5cZDwje.js";
7
+ import { useMarkdown as D } from "./useMarkdown.BNxkjyeo.js";
8
8
  const j = 2, q = j * 1e3, x = "", I = (e) => e * (2 - e);
9
9
  function W(e, n = !0) {
10
10
  const [a, p] = b(0), [i, C] = b(0), [t, T] = b(e), r = A(0), s = A(0);
@@ -25,7 +25,7 @@ const d = {
25
25
  MODEL: "Model",
26
26
  PLUGIN: "Plugin",
27
27
  USAGE: "Session usage"
28
- }, S = U("max-w-[99cqw] mt-3"), k = U("max-w-xs", "sm:max-w-3xl", "prose-li:ps-3"), Q = _.memo(
28
+ }, S = U("max-w-[99cqw] mt-3"), k = U("max-w-xs", "sm:max-w-3xl", "prose-li:ps-3"), Q = v.memo(
29
29
  ({
30
30
  content: e,
31
31
  annotations: n,
@@ -36,17 +36,17 @@ const d = {
36
36
  }) => {
37
37
  const t = W(e, i), {
38
38
  state: { streaming: T, restoredModel: r, tokenUsage: s }
39
- } = v(B), u = n?.model || r, o = s, [c, l] = D(), { user: m, getAccessToken: h } = N(), { data: g } = G({
39
+ } = B(G), u = n?.model || r, o = s, [c, l] = D(), { user: m, getAccessToken: h } = N(), { data: g } = O({
40
40
  user: m?.username,
41
41
  getAccessToken: h
42
42
  }), F = g?.showDetails || !1;
43
43
  let f;
44
44
  return F && (f = {
45
45
  [d.MODEL]: u || null,
46
- [d.PLUGIN]: a ? O(a) : null
47
- }, o && (C ? f[d.USAGE] = `${P.format(o)} ${R("token", o)}` : f[d.USAGE] = L)), w(() => {
46
+ [d.PLUGIN]: a ? P(a) : null
47
+ }, o && (C ? f[d.USAGE] = `${R.format(o)} ${y("token", o)}` : f[d.USAGE] = _)), w(() => {
48
48
  t && l(t);
49
- }, [t, l]), p === y ? /* @__PURE__ */ M(
49
+ }, [t, l]), p === L ? /* @__PURE__ */ M(
50
50
  E,
51
51
  {
52
52
  tail: !0,
@@ -1,15 +1,15 @@
1
- import { jsxs as y, jsx as t } from "react/jsx-runtime";
2
- import { I as V, b as A, ue as M, pe as S, INFINITE_SCROLL_THRESHOLD as B, CARDS as D, pluralize as H, te as T, numberFormatter as U, Ae as W, isProbablyMobile as F, E as P, a as L, i$1 as G } from "./index.Ddqbg8Ks.js";
3
- import { e as w, st as E, p$1 as j, z as Y, p$2 as K } from "./App.Cwzj_7TG.js";
1
+ import { jsxs as _, jsx as t } from "react/jsx-runtime";
2
+ import { I as V, b as A, ue as M, Oe as S, INFINITE_SCROLL_THRESHOLD as B, CARDS as D, pluralize as H, te as T, numberFormatter as U, Ae as W, isProbablyMobile as F, y as P, i$1 as L, E as G } from "./index.yZ_0qNLI.js";
3
+ import { e as w, st as E, p$1 as j, z as Y, p$2 as K } from "./App.D5cZDwje.js";
4
4
  import $, { useContext as N, Fragment as q } from "react";
5
- import _ from "clsx";
5
+ import y from "clsx";
6
6
  const J = ({
7
7
  className: e,
8
8
  viewBox: a,
9
9
  title: s,
10
10
  monotone: r,
11
11
  ...l
12
- }) => /* @__PURE__ */ y(
12
+ }) => /* @__PURE__ */ _(
13
13
  V,
14
14
  {
15
15
  defaultViewBox: "0 0 448 512",
@@ -35,7 +35,7 @@ const J = ({
35
35
  title: s,
36
36
  monotone: r,
37
37
  ...l
38
- }) => /* @__PURE__ */ y(
38
+ }) => /* @__PURE__ */ _(
39
39
  V,
40
40
  {
41
41
  defaultViewBox: "0 0 512 512",
@@ -66,8 +66,8 @@ const J = ({
66
66
  semantic: g = !1,
67
67
  ...n
68
68
  }) => {
69
- const m = _(d, r);
70
- return /* @__PURE__ */ y(
69
+ const m = y(d, r);
70
+ return /* @__PURE__ */ _(
71
71
  "svg",
72
72
  {
73
73
  xmlns: "http://www.w3.org/2000/svg",
@@ -104,7 +104,7 @@ const X = ({
104
104
  title: s,
105
105
  monotone: r,
106
106
  ...l
107
- }) => /* @__PURE__ */ y(
107
+ }) => /* @__PURE__ */ _(
108
108
  z,
109
109
  {
110
110
  defaultViewBox: "0 0 576 512",
@@ -130,7 +130,7 @@ const X = ({
130
130
  title: s,
131
131
  monotone: r,
132
132
  ...l
133
- }) => /* @__PURE__ */ y(
133
+ }) => /* @__PURE__ */ _(
134
134
  z,
135
135
  {
136
136
  defaultViewBox: "0 0 576 512",
@@ -156,7 +156,7 @@ const X = ({
156
156
  title: s,
157
157
  monotone: r,
158
158
  ...l
159
- }) => /* @__PURE__ */ y(
159
+ }) => /* @__PURE__ */ _(
160
160
  z,
161
161
  {
162
162
  defaultViewBox: "0 0 576 512",
@@ -203,7 +203,7 @@ const k = $.createContext({
203
203
  stickyHeader: r,
204
204
  stickyFooter: l
205
205
  }) => ({
206
- wrapper: _(
206
+ wrapper: y(
207
207
  "not-prose relative w-full rounded-lg shadow-md",
208
208
  {
209
209
  "overflow-x-auto": !r && !l,
@@ -219,13 +219,13 @@ const k = $.createContext({
219
219
  },
220
220
  s
221
221
  ),
222
- table: _("my-0 w-full text-left text-sm", a, {
222
+ table: y("my-0 w-full text-left text-sm", a, {
223
223
  "text-copy-light": e === "dark",
224
224
  "text-copy-dark": e === "light",
225
225
  "text-copy-light dark:text-copy-dark": e === "system",
226
226
  "text-copy-dark dark:text-copy-light": e === "alt-system"
227
227
  }),
228
- caption: _("py-2 text-sm font-bold", {
228
+ caption: y("py-2 text-sm font-bold", {
229
229
  "text-copy-light": e === "dark",
230
230
  "text-copy-dark": e === "light",
231
231
  "text-copy-light dark:text-copy-dark": e === "system",
@@ -235,7 +235,7 @@ const k = $.createContext({
235
235
  className: e,
236
236
  stickyHeader: a,
237
237
  mode: s
238
- }) => _(
238
+ }) => y(
239
239
  {
240
240
  "sticky top-0 z-10": a,
241
241
  "shadow-[rgb(190_190_190_/20%)_0_0.5rem_1rem]": a && s === "dark",
@@ -248,7 +248,7 @@ const k = $.createContext({
248
248
  className: e,
249
249
  stickyFooter: a,
250
250
  mode: s
251
- }) => _(
251
+ }) => y(
252
252
  {
253
253
  "sticky bottom-0 z-10": a,
254
254
  "shadow-[rgb(190_190_190_/20%)_0_-0.5rem_1rem]": a && s === "dark",
@@ -261,7 +261,7 @@ const k = $.createContext({
261
261
  mode: e,
262
262
  className: a,
263
263
  cellWrapper: s
264
- }) => s === v || s === I ? _(
264
+ }) => s === v || s === I ? y(
265
265
  {
266
266
  "bg-table-head-dark": e === "dark" || e === "system",
267
267
  "bg-table-head-light": e === "light" || e === "alt-system",
@@ -269,7 +269,7 @@ const k = $.createContext({
269
269
  "dark:bg-table-head-dark": e === "alt-system"
270
270
  },
271
271
  a
272
- ) : _(
272
+ ) : y(
273
273
  "border-b last:border-0",
274
274
  {
275
275
  "border-table-dark": e === "dark" || e === "system",
@@ -289,12 +289,12 @@ const k = $.createContext({
289
289
  mode: r,
290
290
  align: l
291
291
  }) => ({
292
- alignClasses: _({
292
+ alignClasses: y({
293
293
  "flex justify-start text-left": l === "left",
294
294
  "flex justify-center text-center": l === "center",
295
295
  "flex justify-end text-right": l === "right"
296
296
  }),
297
- mainClasses: _(
297
+ mainClasses: y(
298
298
  {
299
299
  "text-copy-light": r === "dark" || r === "system",
300
300
  "text-copy-dark": r === "light" || r === "alt-system",
@@ -308,7 +308,7 @@ const k = $.createContext({
308
308
  )
309
309
  }), ce = ({
310
310
  buttonClassName: e
311
- }) => _("rounded-none text-sm", e), oe = ({
311
+ }) => y("rounded-none text-sm", e), oe = ({
312
312
  children: e,
313
313
  mode: a = "system",
314
314
  caption: s,
@@ -339,7 +339,7 @@ const k = $.createContext({
339
339
  ...g && {
340
340
  style: { maxHeight: g }
341
341
  },
342
- children: /* @__PURE__ */ y("table", { className: c.table, summary: l, ...x, children: [
342
+ children: /* @__PURE__ */ _("table", { className: c.table, summary: l, ...x, children: [
343
343
  s && /* @__PURE__ */ t("caption", { className: c.caption, children: s }),
344
344
  e
345
345
  ] })
@@ -580,7 +580,7 @@ const k = $.createContext({
580
580
  c
581
581
  );
582
582
  case o.ACTIONS:
583
- return /* @__PURE__ */ t(h, { children: /* @__PURE__ */ y("div", { className: "flex flex-col items-end sm:flex-row gap-2", children: [
583
+ return /* @__PURE__ */ t(h, { children: /* @__PURE__ */ _("div", { className: "flex flex-col items-end sm:flex-row gap-2", children: [
584
584
  /* @__PURE__ */ t(
585
585
  E,
586
586
  {
@@ -630,9 +630,9 @@ const k = $.createContext({
630
630
  return null;
631
631
  }
632
632
  };
633
- return /* @__PURE__ */ y(oe, { stickyHeader: !0, stickyFooter: !0, compact: !0, children: [
633
+ return /* @__PURE__ */ _(oe, { stickyHeader: !0, stickyFooter: !0, compact: !0, children: [
634
634
  /* @__PURE__ */ t(ie, { children: /* @__PURE__ */ t(C, { children: n.map((c) => m(c)) }) }),
635
- /* @__PURE__ */ t(de, { children: e.slice(0, s).map((c, i) => c?.messages?.length > 0 ? /* @__PURE__ */ y(q, { children: [
635
+ /* @__PURE__ */ t(de, { children: e.slice(0, s).map((c, i) => c?.messages?.length > 0 ? /* @__PURE__ */ _(q, { children: [
636
636
  i === s - B && /* @__PURE__ */ t("tr", { ref: p }),
637
637
  /* @__PURE__ */ t(C, { children: n.map(
638
638
  (f) => x(f, c, i)
@@ -1,7 +1,7 @@
1
1
  import { jsxs as m, jsx as t, Fragment as J } from "react/jsx-runtime";
2
- import { I as Q, n as z, INFINITE_SCROLL_LIMIT as H, INFINITE_SCROLL_THRESHOLD as Z, LOCAL_STORAGE_PREFIX as g, LOCAL_STORAGE_SORT_TIMESTAMP as ee, LOCAL_STORAGE_SORT_TOKEN_USAGE as te, LOCAL_STORAGE_SORT as ae, ue as A, APP_CLASSNAME as re, ACTION_SORT as se, pe as oe, TOAST_CHAT_DELETED as ne, TOAST_PROVIDER_CHANGED as ie, LOCAL_STORAGE_SEARCH as ce, HISTORY_TITLE as le, Y as de, debounce as he, te as me, ACTION_SEARCH as ue } from "./index.Ddqbg8Ks.js";
3
- import { HistoryContext as M, ChatContext as P, useAiChat as Se, E as D, e as h, useUserPreferences as Ce, ConfirmationPanel as pe, LazyToastContainerWrapper as Te, mutateCall as N, SERVICE_TYPES as x, showErrorToast as fe, setNewProvider as ye, CHAT_SET_PROVIDER as Ee, showSuccessToast as ge, CHAT_SET_STATUS as Ae, useChatsHistory as De, se as _e, a as Ie } from "./App.Cwzj_7TG.js";
4
- import { useRef as R, useState as L, useContext as _, useCallback as Oe, useEffect as V, Suspense as Re, lazy as Le } from "react";
2
+ import { I as Q, n as z, INFINITE_SCROLL_LIMIT as H, INFINITE_SCROLL_THRESHOLD as Z, LOCAL_STORAGE_PREFIX as g, LOCAL_STORAGE_SORT_TIMESTAMP as ee, LOCAL_STORAGE_SORT_TOKEN_USAGE as te, LOCAL_STORAGE_SORT as ae, ue as A, useUserPreferences as re, APP_CLASSNAME as se, mutateCall as N, SERVICE_TYPES as x, setNewProvider as oe, ACTION_SORT as ne, Oe as ie, TOAST_CHAT_DELETED as ce, TOAST_PROVIDER_CHANGED as le, useChatsHistory as de, LOCAL_STORAGE_SEARCH as he, HISTORY_TITLE as me, Y as ue, debounce as Se, te as Ce, ACTION_SEARCH as pe } from "./index.yZ_0qNLI.js";
3
+ import { HistoryContext as M, ChatContext as P, useAiChat as Te, E as D, e as h, ConfirmationPanel as fe, LazyToastContainerWrapper as ye, showErrorToast as Ee, CHAT_SET_PROVIDER as ge, showSuccessToast as Ae, CHAT_SET_STATUS as De, se as _e, a as Oe } from "./App.D5cZDwje.js";
4
+ import { useRef as R, useState as L, useContext as _, useCallback as Ie, useEffect as V, Suspense as Re, lazy as Le } from "react";
5
5
  const ve = ({
6
6
  className: i,
7
7
  viewBox: l,
@@ -31,7 +31,7 @@ const ve = ({
31
31
  ), ke = Le(
32
32
  () => import(
33
33
  /* webpackChunkName: "history-table" */
34
- "./ChatHistoryTable.BVjiHyBX.js"
34
+ "./ChatHistoryTable.CJfAtX8B.js"
35
35
  ).then((i) => ({ default: i.ChatHistoryTable }))
36
36
  ), be = ({
37
37
  filteredHistory: i,
@@ -43,9 +43,9 @@ const ve = ({
43
43
  id: "",
44
44
  timestamp: "",
45
45
  message: ""
46
- }), [o, f] = L(!1), [T, I] = L(
46
+ }), [o, f] = L(!1), [T, O] = L(
47
47
  H + Z
48
- ), { state: n, dispatch: y } = _(M), O = {
48
+ ), { state: n, dispatch: y } = _(M), I = {
49
49
  searchString: n.searchString || "",
50
50
  sortDirection: n.sortDirection || h.DESC,
51
51
  sortedCell: n.sortedCell || A
@@ -53,7 +53,7 @@ const ve = ({
53
53
  state: { provider: v },
54
54
  setChatId: c,
55
55
  setInitialMessages: G
56
- } = _(P), { setInput: U } = Se(), [k, b] = D({
56
+ } = _(P), { setInput: U } = Te(), [k, b] = D({
57
57
  key: g + ee,
58
58
  initialValue: h.DESC
59
59
  }), [F, B] = D({
@@ -62,7 +62,7 @@ const ve = ({
62
62
  }), [, Y] = D({
63
63
  key: g + ae,
64
64
  initialValue: A
65
- }), { refetch: $ } = Ce({
65
+ }), { refetch: $ } = re({
66
66
  user: d?.username,
67
67
  getAccessToken: C
68
68
  }), j = (e) => {
@@ -72,7 +72,7 @@ const ve = ({
72
72
  case A:
73
73
  E = b, a = r ? n.sortDirection : k;
74
74
  break;
75
- case oe:
75
+ case ie:
76
76
  E = B, a = r ? n.sortDirection : F;
77
77
  break;
78
78
  default:
@@ -81,7 +81,7 @@ const ve = ({
81
81
  }
82
82
  const w = a === h.ASC ? h.DESC : h.ASC;
83
83
  E(w), Y(e), y({
84
- type: se,
84
+ type: ne,
85
85
  payload: {
86
86
  sortedCell: e,
87
87
  sortDirection: w
@@ -97,7 +97,7 @@ const ve = ({
97
97
  userId: d?.username || "",
98
98
  id: e.id
99
99
  }
100
- }), S(""), await fe(ne, {
100
+ }), S(""), await Ee(ce, {
101
101
  autoClose: 2e3,
102
102
  containerId: "history-table"
103
103
  });
@@ -112,22 +112,22 @@ const ve = ({
112
112
  id: e.id
113
113
  }
114
114
  });
115
- a.status === 200 && (a.data.provider !== v && (await ye({
115
+ a.status === 200 && (a.data.provider !== v && (await oe({
116
116
  provider: a.data.provider,
117
117
  accessToken: r,
118
118
  username: d?.username || ""
119
119
  }), l({
120
- type: Ee,
120
+ type: ge,
121
121
  payload: {
122
122
  provider: a.data.provider
123
123
  }
124
- }), $(), await ge(
125
- `${ie} ${a.data.provider}`,
124
+ }), $(), await Ae(
125
+ `${le} ${a.data.provider}`,
126
126
  {
127
127
  containerId: "toggle-provider"
128
128
  }
129
129
  )), l({
130
- type: Ae,
130
+ type: De,
131
131
  payload: {
132
132
  restoring: !0,
133
133
  restoredModel: a.data?.model || "",
@@ -142,8 +142,8 @@ const ve = ({
142
142
  timestamp: e.timestamp,
143
143
  message: e.messages.length > 0 ? e.messages[0]?.content : ""
144
144
  }, f(!o);
145
- }, q = Oe((e) => {
146
- e[0].isIntersecting && I((a) => a + H);
145
+ }, q = Ie((e) => {
146
+ e[0].isIntersecting && O((a) => a + H);
147
147
  }, []);
148
148
  return V(() => {
149
149
  const e = {
@@ -153,7 +153,7 @@ const ve = ({
153
153
  p.current && r.observe(p.current);
154
154
  }), /* @__PURE__ */ m(J, { children: [
155
155
  /* @__PURE__ */ m(
156
- pe,
156
+ fe,
157
157
  {
158
158
  showConfirmation: o,
159
159
  setShowConfirmation: f,
@@ -180,12 +180,12 @@ const ve = ({
180
180
  ]
181
181
  }
182
182
  ),
183
- /* @__PURE__ */ t("div", { className: re, children: /* @__PURE__ */ t(Te, { containerId: "history-table" }) }),
183
+ /* @__PURE__ */ t("div", { className: se, children: /* @__PURE__ */ t(ye, { containerId: "history-table" }) }),
184
184
  /* @__PURE__ */ t(Re, { fallback: /* @__PURE__ */ t("div", {}), children: /* @__PURE__ */ t(
185
185
  ke,
186
186
  {
187
187
  filteredHistory: i,
188
- historyState: O,
188
+ historyState: I,
189
189
  lastEntryToLoad: T,
190
190
  onClickSort: j,
191
191
  onClickRestore: W,
@@ -198,7 +198,7 @@ const ve = ({
198
198
  open: i,
199
199
  onOpenChange: l
200
200
  }) => {
201
- const { getAccessToken: u, user: S } = z(), { dispatch: d } = _(P), [C, p] = L([]), s = R(null), { state: o, dispatch: f } = _(M), { data: T, refetch: I } = De({
201
+ const { getAccessToken: u, user: S } = z(), { dispatch: d } = _(P), [C, p] = L([]), s = R(null), { state: o, dispatch: f } = _(M), { data: T, refetch: O } = de({
202
202
  enabled: i,
203
203
  user: S?.username || "",
204
204
  searchString: o.searchString || "",
@@ -206,7 +206,7 @@ const ve = ({
206
206
  sortedCell: o.sortedCell || A,
207
207
  getAccessToken: u
208
208
  }), [, n] = D({
209
- key: g + ce,
209
+ key: g + he,
210
210
  initialValue: o.searchString
211
211
  });
212
212
  V(() => {
@@ -214,10 +214,10 @@ const ve = ({
214
214
  }, [T]);
215
215
  const y = async (c) => {
216
216
  n(c), f({
217
- type: ue,
217
+ type: pe,
218
218
  payload: { searchString: c }
219
219
  });
220
- }, O = he((c) => {
220
+ }, I = Se((c) => {
221
221
  y(c.target.value.trim());
222
222
  }, 500);
223
223
  return /* @__PURE__ */ m(
@@ -225,14 +225,14 @@ const ve = ({
225
225
  {
226
226
  open: i,
227
227
  onOpenChange: l,
228
- title: le,
228
+ title: me,
229
229
  animation: !0,
230
230
  animationType: "fade",
231
231
  children: [
232
232
  /* @__PURE__ */ t("form", { autoComplete: "off", onSubmit: async (c) => {
233
233
  c.preventDefault();
234
234
  }, children: /* @__PURE__ */ t(
235
- de,
235
+ ue,
236
236
  {
237
237
  placeholder: "Search",
238
238
  labelHidden: !0,
@@ -246,10 +246,10 @@ const ve = ({
246
246
  mode: "light",
247
247
  name: "Search",
248
248
  label: "Search",
249
- onChange: O,
249
+ onChange: I,
250
250
  className: "my-2",
251
251
  rightElement: /* @__PURE__ */ t("div", { className: "text-copy-dark", children: /* @__PURE__ */ t(
252
- me,
252
+ Ce,
253
253
  {
254
254
  mode: "dark",
255
255
  focusMode: "dark",
@@ -259,7 +259,7 @@ const ve = ({
259
259
  y(""), s.current?.value && (s.current.value = "", s.current.focus());
260
260
  },
261
261
  disabled: o.searchString === "",
262
- children: o.searchString !== "" ? /* @__PURE__ */ t(Ie, { monotone: !0, size: "size-3" }) : /* @__PURE__ */ t(ve, { monotone: !0, size: "size-3" })
262
+ children: o.searchString !== "" ? /* @__PURE__ */ t(Oe, { monotone: !0, size: "size-3" }) : /* @__PURE__ */ t(ve, { monotone: !0, size: "size-3" })
263
263
  }
264
264
  ) })
265
265
  }
@@ -267,7 +267,7 @@ const ve = ({
267
267
  /* @__PURE__ */ t("div", { className: "flex flex-col sm:flex-row max-h-[75vh] min-h-[60vh]", children: /* @__PURE__ */ t(
268
268
  be,
269
269
  {
270
- mutate: I,
270
+ mutate: O,
271
271
  filteredHistory: C,
272
272
  dispatch: d,
273
273
  onOpenChange: l
@@ -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.Ddqbg8Ks.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.yZ_0qNLI.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 { se as h } from "./App.Cwzj_7TG.js";
3
- import { n as S, i as R, S as a, renderDataAsList as N, CARDS as r, it as P, isTauri as u, te as T, l as E, L as p, j as l, PROFILE_TITLE as C } from "./index.Ddqbg8Ks.js";
2
+ import { se as h } from "./App.D5cZDwje.js";
3
+ import { n as S, i as R, S as a, renderDataAsList as N, CARDS as r, it as P, isTauri as u, te as T, l as E, L as p, j as l, PROFILE_TITLE as C } from "./index.yZ_0qNLI.js";
4
4
  const A = () => {
5
5
  const { isAuthenticated: n, user: i, registeringForPasskey: o, authenticationType: c } = S(), d = R(), s = i?.username || "";
6
6
  return n && s ? /* @__PURE__ */ t(m, { children: [