@versini/sassysaint 8.74.2 → 8.75.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 (27) hide show
  1. package/dist/chunks/{AboutChangelog.CKksZqHG.js → AboutChangelog.B-ISSR7l.js} +2 -2
  2. package/dist/chunks/{AboutEntry.glCt_1V2.js → AboutEntry.DrUARPjo.js} +7 -7
  3. package/dist/chunks/{App.fPigJREV.js → App.D58BIK-t.js} +16 -16
  4. package/dist/chunks/{Chart.B9hB35Ov.js → Chart.BSERLsUR.js} +2 -2
  5. package/dist/chunks/{ChatBubbleAssistant.cQmeFm3l.js → ChatBubbleAssistant.Biu6NFb6.js} +4 -4
  6. package/dist/chunks/{ChatBubbleUser.QckqWgJe.js → ChatBubbleUser.ZlrQ6y0L.js} +3 -3
  7. package/dist/chunks/{ChatHistoryTable.DTewVIoT.js → ChatHistoryTable.Bjzq0jXS.js} +37 -63
  8. package/dist/chunks/{HistoryEntry.CTG2HMFf.js → HistoryEntry.feqJtRTV.js} +3 -3
  9. package/dist/chunks/{ProfileEntry.DYYzBE5s.js → ProfileEntry.B8yuMCEl.js} +2 -2
  10. package/dist/chunks/{SettingsEntry.D29H8z_6.js → SettingsEntry.DBzoen7C.js} +3 -3
  11. package/dist/chunks/{Table.4AY7ytZo.js → Table.BdYF4eSq.js} +83 -56
  12. package/dist/chunks/{UsageEntry.BUPgYfi_.js → UsageEntry.BVPC-rT8.js} +3 -3
  13. package/dist/chunks/UserMemoriesPanel.Dun6Xh1A.js +769 -0
  14. package/dist/chunks/{index.DWl4Hcyk.js → index.3yc2BaIg.js} +899 -794
  15. package/dist/chunks/{index.CpOVLW1-.js → index.B5xEHWE9.js} +1 -1
  16. package/dist/chunks/{index.C58UQ9Se.js → index.CS-FSWLu.js} +1 -1
  17. package/dist/chunks/{index.B87G0G-b.js → index.CtIazJ3c.js} +1 -1
  18. package/dist/chunks/{index.BqIB-hbB.js → index.D1gDsFSj.js} +3 -3
  19. package/dist/chunks/{index.ChttSd_v.js → index.DiXRu8Y4.js} +2 -2
  20. package/dist/chunks/{index.x0F3_X3L.js → index.bZe39l-0.js} +1 -1
  21. package/dist/chunks/{index.i2-wyoMZ.js → index.ttAvuNwj.js} +1 -1
  22. package/dist/chunks/{useMarkdown.CDrOqrBw.js → useMarkdown.Bp7kgBs6.js} +6 -6
  23. package/dist/components/SassySaint/SassySaint.js +1 -1
  24. package/dist/index.js +4 -4
  25. package/dist/style.css +1 -1
  26. package/package.json +3 -3
  27. package/dist/chunks/UserMemoriesPanel.Dpnz-uAb.js +0 -429
@@ -1,16 +1,16 @@
1
- import { jsxs as _, jsx as r } from "react/jsx-runtime";
2
- import { I as f, b$1 as v } from "./index.DWl4Hcyk.js";
1
+ import { jsxs as p, jsx as r } from "react/jsx-runtime";
2
+ import { I as u, b$1 as f } from "./index.3yc2BaIg.js";
3
3
  import C, { useContext as b } from "react";
4
4
  import o from "clsx";
5
- import { e as k } from "./App.fPigJREV.js";
5
+ import { e as k } from "./App.D58BIK-t.js";
6
6
  const L = ({
7
7
  className: e,
8
8
  viewBox: a,
9
9
  title: t,
10
10
  monotone: s,
11
11
  ...l
12
- }) => /* @__PURE__ */ _(
13
- f,
12
+ }) => /* @__PURE__ */ p(
13
+ u,
14
14
  {
15
15
  defaultViewBox: "0 0 448 512",
16
16
  size: "size-5",
@@ -29,6 +29,32 @@ const L = ({
29
29
  /* @__PURE__ */ r("path", { d: "M163.8 0c-12.1 0-23.2 6.8-28.6 17.7L128 32H32C14.3 32 0 46.3 0 64s14.3 32 32 32h384c17.7 0 32-14.3 32-32s-14.3-32-32-32h-96l-7.2-14.3C307.4 6.8 296.3 0 284.2 0z" })
30
30
  ]
31
31
  }
32
+ ), O = ({
33
+ className: e,
34
+ viewBox: a,
35
+ title: t,
36
+ monotone: s,
37
+ ...l
38
+ }) => /* @__PURE__ */ p(
39
+ u,
40
+ {
41
+ defaultViewBox: "0 0 512 512",
42
+ size: "size-5",
43
+ viewBox: a,
44
+ className: e,
45
+ title: t || "Restore",
46
+ ...l,
47
+ children: [
48
+ /* @__PURE__ */ r(
49
+ "path",
50
+ {
51
+ d: "M128 80v16h64V80c0-8.8 7.2-16 16-16h224c8.8 0 16 7.2 16 16v224c0 8.8-7.2 16-16 16h-16v64h16c44.2 0 80-35.8 80-80V80c0-44.2-35.8-80-80-80H208c-44.2 0-80 35.8-80 80",
52
+ opacity: s ? "1" : "0.4"
53
+ }
54
+ ),
55
+ /* @__PURE__ */ r("path", { d: "M64 128c-35.3 0-64 28.7-64 64v256c0 35.3 28.7 64 64 64h256c35.3 0 64-28.7 64-64V192c0-35.3-28.7-64-64-64zm32 64h192c17.7 0 32 14.3 32 32s-14.3 32-32 32H96c-17.7 0-32-14.3-32-32s14.3-32 32-32" })
56
+ ]
57
+ }
32
58
  ), N = ({
33
59
  children: e,
34
60
  fill: a,
@@ -41,7 +67,7 @@ const L = ({
41
67
  ...c
42
68
  }) => {
43
69
  const m = o(d, s);
44
- return /* @__PURE__ */ _(
70
+ return /* @__PURE__ */ p(
45
71
  "svg",
46
72
  {
47
73
  xmlns: "http://www.w3.org/2000/svg",
@@ -78,7 +104,7 @@ const z = ({
78
104
  title: t,
79
105
  monotone: s,
80
106
  ...l
81
- }) => /* @__PURE__ */ _(
107
+ }) => /* @__PURE__ */ p(
82
108
  N,
83
109
  {
84
110
  defaultViewBox: "0 0 576 512",
@@ -98,13 +124,13 @@ const z = ({
98
124
  /* @__PURE__ */ r("path", { d: "M137.4 470.6c12.5 12.5 32.8 12.5 45.3 0l96-96c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 370.7V64c0-17.7-14.3-32-32-32s-32 14.3-32 32v306.7l-41.4-41.3c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l96 96z" })
99
125
  ]
100
126
  }
101
- ), I = ({
127
+ ), V = ({
102
128
  className: e,
103
129
  viewBox: a,
104
130
  title: t,
105
131
  monotone: s,
106
132
  ...l
107
- }) => /* @__PURE__ */ _(
133
+ }) => /* @__PURE__ */ p(
108
134
  N,
109
135
  {
110
136
  defaultViewBox: "0 0 576 512",
@@ -124,13 +150,13 @@ const z = ({
124
150
  /* @__PURE__ */ r("path", { d: "M128 480c9 0 17.5-3.8 23.6-10.4l88-96c11.9-13 11.1-33.3-2-45.2s-33.3-11.1-45.2 2L160 365.7V64c0-17.7-14.3-32-32-32S96 46.3 96 64v301.7l-32.4-35.3c-11.9-13-32.2-13.9-45.2-2s-13.9 32.2-2 45.2l88 96c6.1 6.6 14.6 10.4 23.6 10.4" })
125
151
  ]
126
152
  }
127
- ), V = ({
153
+ ), I = ({
128
154
  className: e,
129
155
  viewBox: a,
130
156
  title: t,
131
157
  monotone: s,
132
158
  ...l
133
- }) => /* @__PURE__ */ _(
159
+ }) => /* @__PURE__ */ p(
134
160
  N,
135
161
  {
136
162
  defaultViewBox: "0 0 576 512",
@@ -164,13 +190,13 @@ try {
164
190
  });
165
191
  } catch {
166
192
  }
167
- const g = C.createContext({
193
+ const y = C.createContext({
168
194
  mode: "light",
169
195
  cellWrapper: "thead",
170
196
  stickyHeader: !1,
171
197
  stickyFooter: !1,
172
198
  compact: !1
173
- }), x = "thead", u = "tfoot", p = "tbody", B = ({
199
+ }), x = "thead", w = "tfoot", _ = "tbody", B = ({
174
200
  mode: e,
175
201
  className: a,
176
202
  wrapperClassName: t,
@@ -205,7 +231,7 @@ const g = C.createContext({
205
231
  "text-copy-light dark:text-copy-dark": e === "system",
206
232
  "text-copy-dark dark:text-copy-light": e === "alt-system"
207
233
  })
208
- }), S = ({
234
+ }), H = ({
209
235
  className: e,
210
236
  stickyHeader: a,
211
237
  mode: t
@@ -218,7 +244,7 @@ const g = C.createContext({
218
244
  "shadow-[rgb(65_65_65_/30%)_0_0.5rem_1rem] dark:shadow-[rgb(190_190_190_/20%)_0_0.5rem_1rem]": a && t === "alt-system"
219
245
  },
220
246
  e
221
- ), H = ({
247
+ ), M = ({
222
248
  className: e,
223
249
  stickyFooter: a,
224
250
  mode: t
@@ -231,11 +257,11 @@ const g = C.createContext({
231
257
  "shadow-[rgb(65_65_65_/30%)_-0_0.5rem_1rem] dark:shadow-[rgb(190_190_190_/20%)_0_-0.5rem_1rem]": a && t === "alt-system"
232
258
  },
233
259
  e
234
- ), M = ({
260
+ ), S = ({
235
261
  mode: e,
236
262
  className: a,
237
263
  cellWrapper: t
238
- }) => t === x || t === u ? o(
264
+ }) => t === x || t === w ? o(
239
265
  {
240
266
  "bg-table-head-dark": e === "dark" || e === "system",
241
267
  "bg-table-head-light": e === "light" || e === "alt-system",
@@ -247,13 +273,13 @@ const g = C.createContext({
247
273
  "border-b last:border-0",
248
274
  {
249
275
  "border-table-dark": e === "dark" || e === "system",
250
- "odd:bg-table-dark-odd even:bg-table-dark-even": t === p && e === "dark",
276
+ "odd:bg-table-dark-odd even:bg-table-dark-even": t === _ && e === "dark",
251
277
  "border-table-light": e === "light" || e === "alt-system",
252
- "odd:bg-table-light-odd even:bg-table-light-even": t === p && e === "light",
278
+ "odd:bg-table-light-odd even:bg-table-light-even": t === _ && e === "light",
253
279
  "dark:border-table-light": e === "system",
254
- "odd:bg-table-dark-odd even:bg-table-dark-even dark:odd:bg-table-light-odd dark:even:bg-table-light-even": t === p && e === "system",
280
+ "odd:bg-table-dark-odd even:bg-table-dark-even dark:odd:bg-table-light-odd dark:even:bg-table-light-even": t === _ && e === "system",
255
281
  "dark:border-table-dark": e === "alt-system",
256
- "odd:bg-table-light-odd even:bg-table-light-even dark:odd:bg-table-dark-odd dark:even:bg-table-dark-even": t === p && e === "alt-system"
282
+ "odd:bg-table-light-odd even:bg-table-light-even dark:odd:bg-table-dark-odd dark:even:bg-table-dark-even": t === _ && e === "alt-system"
257
283
  },
258
284
  a
259
285
  ), W = ({
@@ -274,15 +300,15 @@ const g = C.createContext({
274
300
  "text-copy-dark": s === "light" || s === "alt-system",
275
301
  "dark:text-copy-dark": s === "system",
276
302
  "dark:text-copy-light": s === "alt-system",
277
- "px-4 py-3": !t && (e === x || e === u),
278
- "p-4": !t && e === p,
303
+ "px-4 py-3": !t && (e === x || e === w),
304
+ "p-4": !t && e === _,
279
305
  "px-2 py-1.5": t
280
306
  },
281
307
  a
282
308
  )
283
309
  }), E = ({
284
310
  buttonClassName: e
285
- }) => o("rounded-none text-sm", e), O = ({
311
+ }) => o("rounded-none text-sm", e), G = ({
286
312
  children: e,
287
313
  mode: a = "system",
288
314
  caption: t,
@@ -295,7 +321,7 @@ const g = C.createContext({
295
321
  stickyFooter: m,
296
322
  ...h
297
323
  }) => {
298
- const y = B({
324
+ const g = B({
299
325
  mode: a,
300
326
  className: d,
301
327
  wrapperClassName: n,
@@ -303,59 +329,59 @@ const g = C.createContext({
303
329
  stickyFooter: m
304
330
  });
305
331
  return /* @__PURE__ */ r(
306
- g.Provider,
332
+ y.Provider,
307
333
  {
308
334
  value: { mode: a, stickyHeader: c, stickyFooter: m, compact: s },
309
335
  children: /* @__PURE__ */ r(
310
336
  "div",
311
337
  {
312
- className: y.wrapper,
338
+ className: g.wrapper,
313
339
  ...i && {
314
340
  style: { maxHeight: i }
315
341
  },
316
- children: /* @__PURE__ */ _("table", { className: y.table, summary: l, ...h, children: [
317
- t && /* @__PURE__ */ r("caption", { className: y.caption, children: t }),
342
+ children: /* @__PURE__ */ p("table", { className: g.table, summary: l, ...h, children: [
343
+ t && /* @__PURE__ */ r("caption", { className: g.caption, children: t }),
318
344
  e
319
345
  ] })
320
346
  }
321
347
  )
322
348
  }
323
349
  );
324
- }, G = ({
350
+ }, P = ({
325
351
  children: e,
326
352
  className: a,
327
353
  ...t
328
354
  }) => {
329
- const s = b(g);
355
+ const s = b(y);
330
356
  s.cellWrapper = x;
331
- const l = S({
357
+ const l = H({
332
358
  className: a,
333
359
  mode: s.mode,
334
360
  stickyHeader: s.stickyHeader
335
361
  });
336
362
  return /* @__PURE__ */ r("thead", { className: l, ...t, children: e });
337
- }, P = ({
363
+ }, A = ({
338
364
  children: e,
339
365
  className: a,
340
366
  ...t
341
367
  }) => {
342
- const s = b(g);
343
- s.cellWrapper = u;
344
- const l = H({
368
+ const s = b(y);
369
+ s.cellWrapper = w;
370
+ const l = M({
345
371
  className: a,
346
372
  mode: s.mode,
347
373
  stickyFooter: s.stickyFooter
348
374
  });
349
375
  return /* @__PURE__ */ r("tfoot", { className: l, ...t, children: e });
350
- }, A = ({ children: e, ...a }) => {
351
- const t = b(g);
352
- return t.cellWrapper = p, /* @__PURE__ */ r("tbody", { ...a, children: e });
353
- }, $ = ({
376
+ }, $ = ({ children: e, ...a }) => {
377
+ const t = b(y);
378
+ return t.cellWrapper = _, /* @__PURE__ */ r("tbody", { ...a, children: e });
379
+ }, q = ({
354
380
  children: e,
355
381
  className: a,
356
382
  ...t
357
383
  }) => {
358
- const s = b(g), l = M({
384
+ const s = b(y), l = S({
359
385
  mode: s.mode,
360
386
  cellWrapper: s.cellWrapper,
361
387
  className: a
@@ -368,7 +394,7 @@ const g = C.createContext({
368
394
  align: s,
369
395
  ...l
370
396
  }) => {
371
- const d = b(g), n = a || (d.cellWrapper === x ? "th" : "td"), { mainClasses: i, alignClasses: c } = W({
397
+ const d = b(y), n = a || (d.cellWrapper === x ? "th" : "td"), { mainClasses: i, alignClasses: c } = W({
372
398
  cellWrapper: d.cellWrapper,
373
399
  className: t,
374
400
  mode: d.mode,
@@ -376,7 +402,7 @@ const g = C.createContext({
376
402
  align: s
377
403
  });
378
404
  return s ? /* @__PURE__ */ r(n, { className: i, ...l, children: /* @__PURE__ */ r("div", { className: c, children: e }) }) : /* @__PURE__ */ r(n, { className: i, ...l, children: e });
379
- }, q = ({
405
+ }, J = ({
380
406
  align: e,
381
407
  children: a,
382
408
  buttonClassName: t,
@@ -388,9 +414,9 @@ const g = C.createContext({
388
414
  sortDirection: c,
389
415
  sortedCell: m,
390
416
  cellId: h,
391
- ...y
417
+ ...g
392
418
  }) => {
393
- const w = E({ buttonClassName: t });
419
+ const v = E({ buttonClassName: t });
394
420
  return /* @__PURE__ */ r(
395
421
  F,
396
422
  {
@@ -398,12 +424,12 @@ const g = C.createContext({
398
424
  className: s,
399
425
  role: "columnheader",
400
426
  "aria-sort": c === k.ASC && m === h ? "ascending" : c === k.DESC && m === h ? "descending" : "other",
401
- ...y,
427
+ ...g,
402
428
  children: /* @__PURE__ */ r(
403
- v,
429
+ f,
404
430
  {
405
431
  active: m === h,
406
- className: w,
432
+ className: v,
407
433
  onClick: i,
408
434
  align: e,
409
435
  noBorder: !0,
@@ -411,19 +437,20 @@ const g = C.createContext({
411
437
  mode: n,
412
438
  fullWidth: !0,
413
439
  labelRight: a,
414
- children: c === k.ASC && m === h ? /* @__PURE__ */ r(V, { className: "size-4", monotone: !0 }) : c === k.DESC && m === h ? /* @__PURE__ */ r(I, { className: "size-4", monotone: !0 }) : /* @__PURE__ */ r(z, { className: "size-4", monotone: !0 })
440
+ children: c === k.ASC && m === h ? /* @__PURE__ */ r(I, { className: "size-4", monotone: !0 }) : c === k.DESC && m === h ? /* @__PURE__ */ r(V, { className: "size-4", monotone: !0 }) : /* @__PURE__ */ r(z, { className: "size-4", monotone: !0 })
415
441
  }
416
442
  )
417
443
  }
418
444
  );
419
445
  };
420
446
  export {
421
- G as D,
422
- q as F,
423
- $ as G,
424
- A as H,
447
+ P as D,
448
+ J as F,
449
+ q as G,
450
+ $ as H,
425
451
  F as M,
426
- P as U,
427
- O as j,
428
- L as l
452
+ A as U,
453
+ G as j,
454
+ L as l,
455
+ O as n
429
456
  };
@@ -1,13 +1,13 @@
1
1
  import { jsxs as l, jsx as e } from "react/jsx-runtime";
2
- import { n as f, i as v, useUserChatStats as _, useChatsUsage as z, USAGE_TITLE as B, S as g, renderDataAsList as P, CARDS as a, L as p, j as A, C as i, pluralize as h } from "./index.DWl4Hcyk.js";
3
- import { oe as H } from "./App.fPigJREV.js";
2
+ import { n as f, i as v, useUserChatStats as _, useChatsUsage as z, USAGE_TITLE as B, S as g, renderDataAsList as P, CARDS as a, L as p, j as A, C as i, pluralize as h } from "./index.3yc2BaIg.js";
3
+ import { oe as H } from "./App.D58BIK-t.js";
4
4
  import { useState as C, Suspense as K, lazy as j } from "react";
5
5
  const s = [0, 3, 6, 9], n = {
6
6
  TOKEN: "token",
7
7
  MODEL: "model"
8
8
  }, w = j(() => import(
9
9
  /* webpackChunkName: "LazyChart" */
10
- "./Chart.B9hB35Ov.js"
10
+ "./Chart.BSERLsUR.js"
11
11
  )), R = ({
12
12
  open: k,
13
13
  onOpenChange: E