@versini/sassysaint 8.24.8 → 8.25.1

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,16 +1,16 @@
1
1
  import { jsxs as C, jsx as l } from "react/jsx-runtime";
2
- import { n as Te, LOCAL_STORAGE_PREFIX as Ne, LOCAL_STORAGE_CHAT_DETAILS as ve, SETTINGS_TITLE as we, S as G, CARDS as U, APP_NAME as _e, C as Z, PROMPTS_DESCRIPTION as Ce, L as Ae, j as ne, isProbablyMobile as Ie, getCurrentGeoLocation as Se } from "./index.CxVK8gmr.js";
3
- import { useUserPreferences as Le, E as Re, rr as Me, mutateCall as le, SERVICE_TYPES as se } from "./App.CU8DPgBK.js";
4
- import Oe, { useRef as w, useState as x, useLayoutEffect as $, useMemo as de, useEffect as V, useId as De, useReducer as Pe, useCallback as Be } from "react";
2
+ import { n as Te, LOCAL_STORAGE_PREFIX as Ne, LOCAL_STORAGE_CHAT_DETAILS as ve, SETTINGS_TITLE as we, S as G, CARDS as U, APP_NAME as _e, C as Z, PROMPTS_DESCRIPTION as Ce, L as Ae, j as ne, getCurrentGeoLocation as Ie } from "./index.Ryu4fNCl.js";
3
+ import { useUserPreferences as Se, E as Le, rr as Re, mutateCall as le, SERVICE_TYPES as se } from "./App.BeMVpu5U.js";
4
+ import Me, { useRef as w, useState as x, useLayoutEffect as $, useMemo as de, useEffect as V, useId as Oe, useReducer as De, useCallback as Pe } from "react";
5
5
  import i from "clsx";
6
- const ue = "av-text-area", He = "av-text-area-wrapper", ee = "av-text-area-helper-text", Ge = "av-text-area__control--right", Ue = "av-text-area__control--left";
7
- function $e() {
6
+ const ue = "av-text-area", Be = "av-text-area-wrapper", ee = "av-text-area-helper-text", He = "av-text-area__control--right", Ge = "av-text-area__control--left";
7
+ function Ue() {
8
8
  const e = w(!1);
9
9
  return V(() => (e.current = !0, () => {
10
10
  e.current = !1;
11
- }), []), Be(() => e.current, []);
11
+ }), []), Pe(() => e.current, []);
12
12
  }
13
- function Ve(e) {
13
+ function $e(e) {
14
14
  return de(() => e.every((r) => r == null) ? () => {
15
15
  } : (r) => {
16
16
  e.forEach((a) => {
@@ -18,7 +18,7 @@ function Ve(e) {
18
18
  });
19
19
  }, [...e]);
20
20
  }
21
- const Fe = {
21
+ const Ve = {
22
22
  x: 0,
23
23
  y: 0,
24
24
  width: 0,
@@ -29,7 +29,7 @@ const Fe = {
29
29
  right: 0
30
30
  };
31
31
  function ce(e) {
32
- const r = $e(), a = w(0), o = w(null), [t, s] = x(Fe), c = de(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((d) => {
32
+ const r = Ue(), a = w(0), o = w(null), [t, s] = x(Ve), c = de(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((d) => {
33
33
  const m = d[0];
34
34
  m && (cancelAnimationFrame(a.current), a.current = requestAnimationFrame(() => {
35
35
  o.current && r() && s(m.contentRect);
@@ -39,7 +39,7 @@ function ce(e) {
39
39
  c?.disconnect(), a.current && cancelAnimationFrame(a.current);
40
40
  }), [c, e]), [o, t];
41
41
  }
42
- function ze({
42
+ function Fe({
43
43
  value: e,
44
44
  defaultValue: r,
45
45
  finalValue: a,
@@ -58,8 +58,8 @@ function ze({
58
58
  ), c(!0)))();
59
59
  }, [e, t, s]), e !== void 0 ? !s && t > 0 ? ["", o, !0] : [e, o, !0] : [d, f, !1];
60
60
  }
61
- function je(e) {
62
- const r = De();
61
+ function ze(e) {
62
+ const r = Oe();
63
63
  if (!e)
64
64
  return r;
65
65
  if (typeof e == "number" || typeof e == "string")
@@ -69,7 +69,7 @@ function je(e) {
69
69
  return typeof a == "number" || typeof a == "string" ? `${o}${a}` : `${o}${r}`;
70
70
  }
71
71
  }
72
- const me = "SET_ANNOUNCEMENT", fe = "CLEAR_ANNOUNCEMENT", Xe = {
72
+ const me = "SET_ANNOUNCEMENT", fe = "CLEAR_ANNOUNCEMENT", je = {
73
73
  alert: null,
74
74
  alertdialog: null,
75
75
  log: "polite",
@@ -77,7 +77,7 @@ const me = "SET_ANNOUNCEMENT", fe = "CLEAR_ANNOUNCEMENT", Xe = {
77
77
  progressbar: null,
78
78
  status: "polite",
79
79
  timer: "assertive"
80
- }, Ye = (e, r) => {
80
+ }, Xe = (e, r) => {
81
81
  switch (r?.type) {
82
82
  case me:
83
83
  return {
@@ -92,7 +92,7 @@ const me = "SET_ANNOUNCEMENT", fe = "CLEAR_ANNOUNCEMENT", Xe = {
92
92
  default:
93
93
  return e;
94
94
  }
95
- }, qe = ({
95
+ }, Ye = ({
96
96
  onAnnouncementClear: e,
97
97
  dispatch: r
98
98
  }) => {
@@ -110,13 +110,13 @@ const me = "SET_ANNOUNCEMENT", fe = "CLEAR_ANNOUNCEMENT", Xe = {
110
110
  type: me,
111
111
  payload: e
112
112
  }), r && (a.current = setTimeout(
113
- () => qe({
113
+ () => Ye({
114
114
  onAnnouncementClear: o,
115
115
  dispatch: t
116
116
  }),
117
117
  r
118
118
  ));
119
- }, Ke = ({
119
+ }, qe = ({
120
120
  children: e,
121
121
  announcementTimeoutRef: r,
122
122
  announcementDelay: a,
@@ -139,7 +139,7 @@ const me = "SET_ANNOUNCEMENT", fe = "CLEAR_ANNOUNCEMENT", Xe = {
139
139
  dispatch: c
140
140
  });
141
141
  };
142
- function We({
142
+ function Ke({
143
143
  children: e,
144
144
  className: r,
145
145
  politeness: a,
@@ -150,12 +150,12 @@ function We({
150
150
  visible: d,
151
151
  ...m
152
152
  }) {
153
- const f = w(null), h = w(null), [E, S] = Pe(Ye, {
153
+ const f = w(null), h = w(null), [E, S] = De(Xe, {
154
154
  announcement: null
155
155
  });
156
156
  let _ = a;
157
- typeof _ > "u" && (_ = o ? Xe[o] : "assertive"), V(() => {
158
- Ke({
157
+ typeof _ > "u" && (_ = o ? je[o] : "assertive"), V(() => {
158
+ qe({
159
159
  announcementTimeoutRef: f,
160
160
  announcementDelay: t,
161
161
  children: e,
@@ -197,19 +197,19 @@ try {
197
197
  });
198
198
  } catch {
199
199
  }
200
- const Qe = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hidden px-4 py-7", Je = ({ mode: e }) => i({
200
+ const We = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hidden px-4 py-7", Qe = ({ mode: e }) => i({
201
201
  "bg-surface-darker text-copy-lighter caret-copy-light": e === "dark",
202
202
  "bg-surface-lighter text-copy-dark caret-copy-dark": e === "light",
203
203
  "bg-surface-lighter text-copy-dark caret-copy-dark dark:bg-surface-darker dark:text-copy-lighter dark:caret-copy-light": e === "system",
204
204
  "bg-surface-darker text-copy-lighter caret-copy-light dark:bg-surface-lighter dark:text-copy-dark dark:caret-copy-dark": e === "alt-system"
205
- }), Ze = ({
205
+ }), Je = ({
206
206
  focusMode: e
207
207
  }) => i("focus:outline focus:outline-2 focus:outline-offset-2", {
208
208
  "focus:outline-focus-dark": e === "dark",
209
209
  "focus:outline-focus-light": e === "light",
210
210
  "focus:outline-focus-light dark:focus:outline-focus-dark": e === "alt-system",
211
211
  "focus:outline-focus-dark dark:focus:outline-focus-light": e === "system"
212
- }), et = ({
212
+ }), Ze = ({
213
213
  noBorder: e,
214
214
  error: r
215
215
  }) => i("border-2", {
@@ -217,7 +217,7 @@ const Qe = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
217
217
  "focus:border-border-dark": !e && r,
218
218
  "border-border-error-dark": !e && r,
219
219
  "border-transparent": e
220
- }), tt = ({
220
+ }), et = ({
221
221
  disabled: e,
222
222
  raw: r,
223
223
  error: a,
@@ -256,7 +256,7 @@ const Qe = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
256
256
  "text-copy-medium dark:text-copy-error-dark": o === "alt-system"
257
257
  }
258
258
  );
259
- }, rt = ({
259
+ }, tt = ({
260
260
  error: e,
261
261
  raw: r,
262
262
  mode: a,
@@ -283,7 +283,7 @@ const Qe = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
283
283
  "text-copy-error-dark dark:text-copy-error-light": a === "system",
284
284
  "dark:text-copy-error-dark text-copy-error-light": a === "alt-system"
285
285
  });
286
- }, at = ({
286
+ }, rt = ({
287
287
  className: e,
288
288
  textAreaClassName: r,
289
289
  raw: a,
@@ -297,34 +297,34 @@ const Qe = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
297
297
  }) => {
298
298
  const h = a ? e : i(
299
299
  "relative flex w-full flex-col justify-center",
300
- He,
300
+ Be,
301
301
  e
302
302
  ), E = a ? i(r) : i(
303
303
  ue,
304
304
  r,
305
- Qe(),
306
- Je({ mode: d }),
307
- Ze({ focusMode: o }),
308
- et({
305
+ We(),
306
+ Qe({ mode: d }),
307
+ Je({ focusMode: o }),
308
+ Ze({
309
309
  noBorder: s,
310
310
  error: c
311
311
  }),
312
312
  {
313
313
  "disabled:cursor-not-allowed disabled:opacity-50": t
314
314
  }
315
- ), S = a ? void 0 : "sr-only", _ = tt({
315
+ ), S = a ? void 0 : "sr-only", _ = et({
316
316
  disabled: t,
317
317
  raw: a,
318
318
  error: c,
319
319
  mode: d,
320
320
  rightElement: f,
321
321
  leftElement: m
322
- }), p = rt({
322
+ }), p = tt({
323
323
  error: c,
324
324
  raw: a,
325
325
  mode: d,
326
326
  disabled: t
327
- }), L = a ? void 0 : i(Ge, "absolute"), T = a ? void 0 : i(Ue, "absolute");
327
+ }), L = a ? void 0 : i(He, "absolute"), T = a ? void 0 : i(Ge, "absolute");
328
328
  return {
329
329
  wrapper: h,
330
330
  textArea: E,
@@ -334,7 +334,7 @@ const Qe = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
334
334
  rightElement: L,
335
335
  leftElement: T
336
336
  };
337
- }, ot = ({
337
+ }, at = ({
338
338
  scrollHeight: e,
339
339
  currentHeight: r,
340
340
  currentLabelOffset: a = 0,
@@ -350,7 +350,7 @@ const Qe = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
350
350
  helperTextOffset: s,
351
351
  scrollHeight: e
352
352
  };
353
- }, te = Oe.forwardRef(
353
+ }, te = Me.forwardRef(
354
354
  ({
355
355
  id: e,
356
356
  name: r,
@@ -376,9 +376,9 @@ const Qe = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
376
376
  ...Y
377
377
  }, q) => {
378
378
  var j;
379
- const N = w(null), K = Ve([q, N]), [X, R] = ce(), [n, u] = ce(), I = w(80), D = w(-25), g = w(null), k = w(30), y = w(null), v = je({ id: e, prefix: `${ue}-` }), [P, W] = x(0), [re, pe] = x(0), [he, ae] = x(
379
+ const N = w(null), K = $e([q, N]), [X, R] = ce(), [n, u] = ce(), I = w(80), D = w(-25), g = w(null), k = w(30), y = w(null), v = ze({ id: e, prefix: `${ue}-` }), [P, W] = x(0), [re, pe] = x(0), [he, ae] = x(
380
380
  !!(!L && p)
381
- ), ge = `${r} error, ${p}`, O = at({
381
+ ), ge = `${r} error, ${p}`, O = rt({
382
382
  className: s,
383
383
  textAreaClassName: c,
384
384
  error: o,
@@ -389,7 +389,7 @@ const Qe = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
389
389
  mode: d,
390
390
  rightElement: !!T,
391
391
  leftElement: !!A
392
- }), [M, ye] = ze({
392
+ }), [M, ye] = Fe({
393
393
  value: f,
394
394
  initialControlledDelay: 20,
395
395
  defaultValue: h,
@@ -424,7 +424,7 @@ const Qe = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
424
424
  }, [M, t]), $(() => {
425
425
  var b, oe;
426
426
  if (!t && N && N.current && M !== void 0) {
427
- const { labelOffset: Q, helperTextOffset: J, scrollHeight: Ee } = ot({
427
+ const { labelOffset: Q, helperTextOffset: J, scrollHeight: Ee } = at({
428
428
  scrollHeight: N.current.scrollHeight,
429
429
  currentHeight: I.current,
430
430
  currentLabelOffset: D.current,
@@ -513,7 +513,7 @@ const Qe = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
513
513
  children: T
514
514
  }
515
515
  ),
516
- o && p && /* @__PURE__ */ l(We, { politeness: "polite", clearAnnouncementDelay: 500, children: ge })
516
+ o && p && /* @__PURE__ */ l(Ke, { politeness: "polite", clearAnnouncementDelay: 500, children: ge })
517
517
  ] });
518
518
  }
519
519
  );
@@ -531,7 +531,7 @@ try {
531
531
  });
532
532
  } catch {
533
533
  }
534
- const nt = "av-toggle", lt = () => i("peer", "h-6", "w-11", "rounded-full"), st = ({
534
+ const ot = "av-toggle", nt = () => i("peer", "h-6", "w-11", "rounded-full"), lt = ({
535
535
  focusMode: e
536
536
  }) => i(
537
537
  "peer-focus:outline",
@@ -543,14 +543,14 @@ const nt = "av-toggle", lt = () => i("peer", "h-6", "w-11", "rounded-full"), st
543
543
  "peer-focus:outline-focus-light dark:peer-focus:outline-focus-dark": e === "alt-system",
544
544
  "peer-focus:outline-focus-dark dark:peer-focus:outline-focus-light": e === "system"
545
545
  }
546
- ), ct = () => i(
546
+ ), st = () => i(
547
547
  "peer-checked:after:translate-x-full",
548
548
  // background color when checked
549
549
  "peer-checked:bg-violet-500",
550
550
  // knob circle and border color when checked
551
551
  "peer-checked:after:bg-white",
552
552
  "peer-checked:after:border-white"
553
- ), it = () => i(
553
+ ), ct = () => i(
554
554
  "after:left-[2px]",
555
555
  "after:top-[2px]",
556
556
  "after:border",
@@ -562,7 +562,7 @@ const nt = "av-toggle", lt = () => i("peer", "h-6", "w-11", "rounded-full"), st
562
562
  "after:rounded-full",
563
563
  "after:transition-all",
564
564
  "after:content-['']"
565
- ), dt = ({
565
+ ), it = ({
566
566
  mode: e,
567
567
  noBorder: r
568
568
  }) => i({
@@ -571,7 +571,7 @@ const nt = "av-toggle", lt = () => i("peer", "h-6", "w-11", "rounded-full"), st
571
571
  "border-border-light bg-surface-darker": e === "dark",
572
572
  "border-border-light bg-surface-darker dark:border-border-dark dark:bg-surface-medium": e === "alt-system",
573
573
  "border-border-dark bg-surface-medium dark:border-border-light dark:bg-surface-darker": e === "system"
574
- }), ut = ({
574
+ }), dt = ({
575
575
  mode: e,
576
576
  labelHidden: r
577
577
  }) => r ? "sr-only" : i("ml-2 text-sm", {
@@ -579,11 +579,11 @@ const nt = "av-toggle", lt = () => i("peer", "h-6", "w-11", "rounded-full"), st
579
579
  "text-copy-lighter": e === "dark",
580
580
  "text-copy-lighter dark:text-copy-dark": e === "alt-system",
581
581
  "text-copy-dark dark:text-copy-lighter": e === "system"
582
- }), mt = ({ className: e }) => i(
583
- nt,
582
+ }), ut = ({ className: e }) => i(
583
+ ot,
584
584
  "relative flex cursor-pointer items-center",
585
585
  e
586
- ), ft = ({
586
+ ), mt = ({
587
587
  mode: e,
588
588
  focusMode: r,
589
589
  labelHidden: a,
@@ -591,15 +591,15 @@ const nt = "av-toggle", lt = () => i("peer", "h-6", "w-11", "rounded-full"), st
591
591
  noBorder: t
592
592
  }) => ({
593
593
  toggle: i(
594
- lt(),
595
- dt({ mode: e, noBorder: t }),
596
- st({ focusMode: r }),
597
- it(),
598
- ct()
594
+ nt(),
595
+ it({ mode: e, noBorder: t }),
596
+ lt({ focusMode: r }),
597
+ ct(),
598
+ st()
599
599
  ),
600
- label: ut({ mode: e, labelHidden: a }),
600
+ label: dt({ mode: e, labelHidden: a }),
601
601
  input: "peer sr-only",
602
- wrapper: mt({ className: o })
602
+ wrapper: ut({ className: o })
603
603
  }), B = ({
604
604
  checked: e = !1,
605
605
  onChange: r,
@@ -611,7 +611,7 @@ const nt = "av-toggle", lt = () => i("peer", "h-6", "w-11", "rounded-full"), st
611
611
  className: d,
612
612
  noBorder: m = !1
613
613
  }) => {
614
- const f = ft({
614
+ const f = mt({
615
615
  mode: s,
616
616
  focusMode: c,
617
617
  labelHidden: o,
@@ -648,7 +648,7 @@ try {
648
648
  });
649
649
  } catch {
650
650
  }
651
- const kt = ({
651
+ const bt = ({
652
652
  open: e,
653
653
  onOpenChange: r
654
654
  }) => {
@@ -656,14 +656,14 @@ const kt = ({
656
656
  data: t,
657
657
  isSuccess: s,
658
658
  refetch: c
659
- } = Le({
659
+ } = Se({
660
660
  user: o?.username,
661
661
  getAccessToken: a
662
662
  }), [d, m] = x({
663
663
  loadingLocation: !1
664
664
  }), [f, h] = x({
665
665
  prompts: []
666
- }), [E, S] = x(""), [_, p] = x(""), [L, T] = x(!1), [A, H] = x(!1), [F, z] = Re({
666
+ }), [E, S] = x(""), [_, p] = x(""), [L, T] = x(!1), [A, H] = x(!1), [F, z] = Le({
667
667
  key: Ne + ve,
668
668
  initialValue: !1
669
669
  }), Y = (n) => {
@@ -697,7 +697,7 @@ const kt = ({
697
697
  loadingLocation: !0
698
698
  }), p("...");
699
699
  try {
700
- const n = Date.now(), u = await Se(), I = await le({
700
+ const n = Date.now(), u = await Ie(), I = await le({
701
701
  accessToken: await a(),
702
702
  type: se.GET_LOCATION,
703
703
  params: {
@@ -745,9 +745,8 @@ const kt = ({
745
745
  return V(() => {
746
746
  t?.instructions && S(t.instructions), t?.location && p(t.location), t?.tags && h({ prompts: t.tags }), t?.sendOnEnter !== void 0 && T(t.sendOnEnter), t?.useMemory !== void 0 && H(t.useMemory);
747
747
  }, [t]), s ? /* @__PURE__ */ C(
748
- Me,
748
+ Re,
749
749
  {
750
- animation: !Ie(),
751
750
  open: e,
752
751
  onOpenChange: X,
753
752
  title: we,
@@ -965,5 +964,5 @@ const kt = ({
965
964
  ) : null;
966
965
  };
967
966
  export {
968
- kt as SettingsPanel
967
+ bt as SettingsPanel
969
968
  };
@@ -0,0 +1,87 @@
1
+ import { jsxs as l, jsx as e } from "react/jsx-runtime";
2
+ import { n as f, USAGE_TITLE as U, S as T, renderDataAsList as v, CARDS as n, L as E, j as L, C as S, pluralize as i } from "./index.Ryu4fNCl.js";
3
+ import { i as M, useUserChatStats as _, useChatsUsage as D, rr as z } from "./App.BeMVpu5U.js";
4
+ import { useState as O, Suspense as P, lazy as j } from "react";
5
+ const s = [0, 3, 6, 9], G = j(() => import(
6
+ /* webpackChunkName: "LazyChart" */
7
+ "./Chart.Bpkp6pxX.js"
8
+ )), w = ({
9
+ open: m,
10
+ onOpenChange: I
11
+ }) => {
12
+ const { getAccessToken: d, user: u } = f(), p = M(), { data: t, isSuccess: A } = _({
13
+ user: u?.username,
14
+ getAccessToken: d
15
+ }), { data: r, isSuccess: g } = D({
16
+ user: u?.username,
17
+ getAccessToken: d
18
+ }), C = Math.floor((/* @__PURE__ */ new Date()).getMonth() / 3) * 3, [a, h] = O(C), x = (o) => {
19
+ o.preventDefault();
20
+ const c = (s.indexOf(a) + 1) % s.length;
21
+ h(s[c]);
22
+ }, k = (o) => {
23
+ o.preventDefault();
24
+ const c = (s.indexOf(a) - 1 + s.length) % s.length;
25
+ h(s[c]);
26
+ };
27
+ return /* @__PURE__ */ l(z, { open: m, onOpenChange: I, title: U, children: [
28
+ /* @__PURE__ */ e(
29
+ T,
30
+ {
31
+ header: n.MAIN_STATISTICS.TITLE,
32
+ className: "prose-dark dark:prose-lighter min-h-[170px]",
33
+ children: A ? v(
34
+ p,
35
+ {
36
+ [i(n.MAIN_STATISTICS.TOTAL, t.totalChats)]: t.totalChats,
37
+ [i(
38
+ n.MAIN_STATISTICS.TOTAL_PRIVATE,
39
+ t.privateChats
40
+ )]: t.privateChats,
41
+ [i(
42
+ n.MAIN_STATISTICS.TOTAL_DELETED,
43
+ t.deletedChats
44
+ )]: t.deletedChats
45
+ },
46
+ !0
47
+ ) : null
48
+ }
49
+ ),
50
+ /* @__PURE__ */ e(
51
+ T,
52
+ {
53
+ header: n.MAIN_STATISTICS.USAGE,
54
+ className: "prose-dark dark:prose-lighter mt-4 min-h-[535px]",
55
+ children: g && r && r.tokenUsage && r.tokenUsage.series && r.tokenUsage.series.length ? /* @__PURE__ */ l(P, { fallback: /* @__PURE__ */ e("div", {}), children: [
56
+ /* @__PURE__ */ e("div", { className: "pt-4" }),
57
+ /* @__PURE__ */ e(G, { tokenUsage: r.tokenUsage.series, page: a }),
58
+ /* @__PURE__ */ e(E, { className: "mt-2", alignHorizontal: "center", children: /* @__PURE__ */ l(L, { children: [
59
+ /* @__PURE__ */ e(
60
+ S,
61
+ {
62
+ onClick: k,
63
+ className: "mr-2",
64
+ size: "small",
65
+ noBorder: !0,
66
+ children: "Previous"
67
+ }
68
+ ),
69
+ /* @__PURE__ */ e(
70
+ S,
71
+ {
72
+ onClick: x,
73
+ className: "mr-2",
74
+ size: "small",
75
+ noBorder: !0,
76
+ children: "Next"
77
+ }
78
+ )
79
+ ] }) })
80
+ ] }) : null
81
+ }
82
+ )
83
+ ] });
84
+ };
85
+ export {
86
+ w as Usage
87
+ };
@@ -1,6 +1,6 @@
1
- import { getDefaultExportFromCjs as kn } from "./App.CU8DPgBK.js";
2
- import { visit as In } from "./useMarkdown.BP64kEQI.js";
3
- import { toText as Cn } from "./index.CkC1cqoG.js";
1
+ import { getDefaultExportFromCjs as kn } from "./App.BeMVpu5U.js";
2
+ import { visit as In } from "./useMarkdown.DzobZvVM.js";
3
+ import { toText as Cn } from "./index.DoY59F_M.js";
4
4
  function xn(e) {
5
5
  const t = e.regex, i = e.COMMENT("//", "$", { contains: [{ begin: /\\\n/ }] }), a = "decltype\\(auto\\)", r = "[a-zA-Z_]\\w*::", d = "(?!struct)(" + a + "|" + t.optional(r) + "[a-zA-Z_]\\w*" + t.optional("<[^<>]+>") + ")", c = {
6
6
  className: "type",
@@ -1,4 +1,4 @@
1
- import { factorySpace as M, markdownLineEnding as g } from "./useMarkdown.BP64kEQI.js";
1
+ import { factorySpace as M, markdownLineEnding as g } from "./useMarkdown.DzobZvVM.js";
2
2
  import { longestStreak as q } from "./index.Cyw5OC0t.js";
3
3
  function b() {
4
4
  return {
@@ -1,5 +1,5 @@
1
- import { find as Aa, parse as Ft, parse$1 as Ht, normalize as Pt, html as Ta, svg as Ba, visitParents as Na, SKIP as Da } from "./useMarkdown.BP64kEQI.js";
2
- import { toText as Ca } from "./index.CkC1cqoG.js";
1
+ import { find as Aa, parse as Ft, parse$1 as Ht, normalize as Pt, html as Ta, svg as Ba, visitParents as Na, SKIP as Da } from "./useMarkdown.DzobZvVM.js";
2
+ import { toText as Ca } from "./index.DoY59F_M.js";
3
3
  const Gt = /[#.]/g;
4
4
  function qa(r, e) {
5
5
  const t = r || "", a = {};
@@ -1,4 +1,4 @@
1
- import { convert as E, convertElement as u } from "./useMarkdown.BP64kEQI.js";
1
+ import { convert as E, convertElement as u } from "./useMarkdown.DzobZvVM.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.BP64kEQI.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.DzobZvVM.js";
2
2
  import { longestStreak as qe } from "./index.Cyw5OC0t.js";
3
3
  function ne(e, n) {
4
4
  const t = String(e);
@@ -3179,7 +3179,7 @@ var au = (e, t = !1) => {
3179
3179
  const t = Ni(() => {
3180
3180
  const r = this, [n] = this.#i, [s] = this.#c, [i] = this.#l, [a] = this.#u, [o] = this.#e;
3181
3181
  let c;
3182
- return this.#d ? c = this.#d : (c = wi(() => import("./I3HPI4QX.DlQpQsgt.js")), this.#d = c), Aa(this.#o, this.#a), yi(c, gi({
3182
+ return this.#d ? c = this.#d : (c = wi(() => import("./I3HPI4QX.CZKfF4QS.js")), this.#d = c), Aa(this.#o, this.#a), yi(c, gi({
3183
3183
  get queryFlavor() {
3184
3184
  return r.#r;
3185
3185
  },
@@ -7299,7 +7299,7 @@ Press Ctrl+Enter to send it or Enter for new line.`, Xu = "{{clipboard}}", Zu =
7299
7299
  );
7300
7300
  }, _l = new URL(document.location.href).searchParams, nn = !!_l.get("debug") || !1, Cl = Rs(() => import(
7301
7301
  /* webpackChunkName: "LazyApp" */
7302
- "./App.CU8DPgBK.js"
7302
+ "./App.BeMVpu5U.js"
7303
7303
  ).then((e) => e.App)), Nl = new Ys(), sn = ({
7304
7304
  isComponent: e,
7305
7305
  headerHeight: t
@@ -1,8 +1,8 @@
1
1
  import * as rn from "react/jsx-runtime";
2
2
  import { jsx as se, jsxs as Pn, Fragment as Er } from "react/jsx-runtime";
3
- import { le as Ir, unObfuscate as Tr, obfuscate as Pr } from "./index.CxVK8gmr.js";
3
+ import { le as Ir, unObfuscate as Tr, obfuscate as Pr } from "./index.Ryu4fNCl.js";
4
4
  import Ar, { useState as Lt, useEffect as _t, useRef as Re, useCallback as zr } from "react";
5
- import { getDefaultExportFromCjs as vt } from "./App.CU8DPgBK.js";
5
+ import { getDefaultExportFromCjs as vt } from "./App.BeMVpu5U.js";
6
6
  import Lr from "clsx";
7
7
  const Nt = ({
8
8
  children: e,
@@ -6867,7 +6867,7 @@ class ou {
6867
6867
  if (!this.remarkGfm) {
6868
6868
  const { default: n } = await import(
6869
6869
  /* webpackChunkName: "LazyRemarkGfm" */
6870
- "./index.CRciMWyd.js"
6870
+ "./index.Dw1w26Sa.js"
6871
6871
  );
6872
6872
  this.remarkGfm = n;
6873
6873
  }
@@ -6878,7 +6878,7 @@ class ou {
6878
6878
  pu("https://cdn.jsdelivr.net/npm/katex@latest/dist/katex.min.css");
6879
6879
  const { default: n } = await import(
6880
6880
  /* webpackChunkName: "LazyRehypeKatex" */
6881
- "./index.CRbaU3g8.js"
6881
+ "./index.Cdwqyz44.js"
6882
6882
  );
6883
6883
  this.rehypeKatex = n;
6884
6884
  }
@@ -6888,7 +6888,7 @@ class ou {
6888
6888
  if (!this.remarkMath) {
6889
6889
  const { default: n } = await import(
6890
6890
  /* webpackChunkName: "LazyRemarkMath" */
6891
- "./index.D4ynJuQN.js"
6891
+ "./index.CWHaDvJC.js"
6892
6892
  );
6893
6893
  this.remarkMath = n;
6894
6894
  }
@@ -6898,7 +6898,7 @@ class ou {
6898
6898
  if (!this.rehypeHighlight) {
6899
6899
  const { default: n } = await import(
6900
6900
  /* webpackChunkName: "LazyRehypeHighlight" */
6901
- "./index.BmP4cAmg.js"
6901
+ "./index.C6GUxeYR.js"
6902
6902
  );
6903
6903
  this.rehypeHighlight = n;
6904
6904
  }
@@ -1,5 +1,5 @@
1
1
  import "react/jsx-runtime";
2
- import { SassySaint as a } from "../../chunks/index.CxVK8gmr.js";
2
+ import { SassySaint as a } from "../../chunks/index.Ryu4fNCl.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.CxVK8gmr.js";
1
+ import { SassySaint as r } from "./chunks/index.Ryu4fNCl.js";
2
2
  /*!
3
- @sassysaint/client v8.24.8
3
+ @sassysaint/client v8.25.1
4
4
  © 2025 gizmette.com
5
5
  */
6
6
  try {
7
7
  window.__VERSINI_SASSY_GLOBAL__ || (window.__VERSINI_SASSY_GLOBAL__ = {
8
- version: "8.24.8",
9
- buildTime: "07/13/2025 01:27 PM EDT",
8
+ version: "8.25.1",
9
+ buildTime: "07/14/2025 11:05 AM EDT",
10
10
  license: "MIT"
11
11
  });
12
12
  } catch {