@versini/sassysaint 4.3.1 → 4.3.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,6 +1,6 @@
1
1
  import { jsxs as f, jsx as n, Fragment as j } from "react/jsx-runtime";
2
- import { O as re, s as ne, S as te, isLastMessageFromRole as G, x as q, CANCEL as oe, CLEAR as ae, ACTION_RESET as Y, ROLE_ASSISTANT as h, ROLE_INTERNAL as w, ROLE_USER as I, qr as L, ROLE_SYSTEM as le, ROLE_HIDDEN as ce, MODEL_GPT4 as J, STATS_SEPARATOR as V, ACTION_MODEL as Q, ACTION_MESSAGE as x, TYPE_QUESTION as de, SEND as ie, ACTION_STREAMING as W, ERROR_MESSAGE as me, getMessageContaintWrapperClass as pe, MessagesContainerHeader as ue, ACTION_SEARCH as ge, ACTION_SORT as ye, ACTION_RESTORE as fe, c as he, AppFooter as Ce, LOCAL_STORAGE_PREFIX as H, LOCAL_STORAGE_SEARCH as Te, LOCAL_STORAGE_SORT as Se } from "./index.BlSrPZWf.js";
3
- import { g as X, AppContext as N, restCall as xe, At as Ee, E as z, serviceCall as ve, SERVICE_TYPES as be, HistoryContext as Ae, k as Re } from "./useLocalStorage.C4iGBmg7.js";
2
+ import { O as re, s as ne, S as te, isLastMessageFromRole as G, x as q, CANCEL as oe, CLEAR as ae, ACTION_RESET as Y, ROLE_ASSISTANT as h, ROLE_INTERNAL as w, ROLE_USER as I, qr as L, ROLE_SYSTEM as le, ROLE_HIDDEN as ce, MODEL_GPT4 as J, STATS_SEPARATOR as V, ACTION_MODEL as Q, ACTION_MESSAGE as x, TYPE_QUESTION as de, SEND as ie, ACTION_STREAMING as W, ERROR_MESSAGE as me, getMessageContaintWrapperClass as pe, MessagesContainerHeader as ue, ACTION_SEARCH as ge, ACTION_SORT as ye, ACTION_RESTORE as fe, c as he, AppFooter as Ce, LOCAL_STORAGE_PREFIX as H, LOCAL_STORAGE_SEARCH as Te, LOCAL_STORAGE_SORT as Se } from "./index.CRgG-bmB.js";
3
+ import { g as X, AppContext as N, restCall as xe, At as Ee, E as z, serviceCall as ve, SERVICE_TYPES as be, HistoryContext as Ae, k as Re } from "./useLocalStorage.RmxGoFAM.js";
4
4
  import { useState as M, useEffect as S, useContext as _, useRef as C, lazy as Ne, Suspense as B, useReducer as U } from "react";
5
5
  import T from "clsx";
6
6
  const ke = ({
@@ -179,7 +179,7 @@ const Ue = () => {
179
179
  children: s != null && s.streaming ? oe : ae
180
180
  }
181
181
  ) }) : null;
182
- }, F = Ne(() => import("./LazyMessageAssistant.9TRoCl8r.js").then((e) => e.LazyMessageAssistant)), $e = () => {
182
+ }, F = Ne(() => import("./LazyMessageAssistant.BEgtWJif.js").then((e) => e.LazyMessageAssistant)), $e = () => {
183
183
  const { state: e } = _(N);
184
184
  return /* @__PURE__ */ f(j, { children: [
185
185
  e && e.messages.length > 0 && e.messages.map((s, o) => {
@@ -1,8 +1,8 @@
1
1
  import { jsxs as d, jsx as t, Fragment as w } from "react/jsx-runtime";
2
- import { O as z, i$1 as le, N as de, p as De, o as Oe, g as v, N$1 as B, CARDS as f, renderDataAsList as j, pluralize as Q, ABOUT_TITLE as ze, MODEL_GPT4 as Be, numberFormatter as Pe, durationFormatter as Ce, NA as Ve, ROLE_ASSISTANT as Fe, extractAverage as $e, GPT4_MAX_TOKENS as Ge, qr as V, STATS as Te, b as re, j$1 as P, x as O, LOCAL_STORAGE_PREFIX as ce, LOCAL_STORAGE_SORT as Ue, ACTION_RESET as je, ACTION_RESTORE as Ye, truncate as Ke, ACTION_SORT as oe, LOCAL_STORAGE_SEARCH as We, G as Xe, ACTION_SEARCH as qe, HISTORY_TITLE as Je, getCurrentGeoLocation as Qe, LOCAL_STORAGE_CHAT_DETAILS as Ze, W as et, v as ue, PROFILE_TITLE as tt, LOG_OUT as me } from "./index.BlSrPZWf.js";
2
+ import { O as z, i$1 as le, N as de, p as De, o as Oe, g as v, N$1 as B, CARDS as f, renderDataAsList as j, pluralize as Q, ABOUT_TITLE as ze, MODEL_GPT4 as Be, numberFormatter as Pe, durationFormatter as Ce, NA as Ve, ROLE_ASSISTANT as Fe, extractAverage as $e, GPT4_MAX_TOKENS as Ge, qr as V, STATS as Te, b as re, j$1 as P, x as O, LOCAL_STORAGE_PREFIX as ce, LOCAL_STORAGE_SORT as Ue, ACTION_RESET as je, ACTION_RESTORE as Ye, truncate as Ke, ACTION_SORT as oe, LOCAL_STORAGE_SEARCH as We, G as Xe, ACTION_SEARCH as qe, HISTORY_TITLE as Je, getCurrentGeoLocation as Qe, LOCAL_STORAGE_CHAT_DETAILS as Ze, W as et, v as ue, PROFILE_TITLE as tt, LOG_OUT as me } from "./index.CRgG-bmB.js";
3
3
  import * as ne from "react";
4
4
  import ot, { forwardRef as Ne, useState as T, useRef as Y, useContext as L, useEffect as _, Suspense as at, lazy as nt, useId as st, useMemo as rt } from "react";
5
- import { g as ct, AppContext as Z, serviceCall as R, SERVICE_TYPES as H, HistoryContext as Se, E as ie, k as I, et as it, at as lt, lt as ae, J as M, ct as dt, st as ut, rt as mt, At as he } from "./useLocalStorage.C4iGBmg7.js";
5
+ import { g as ct, AppContext as Z, serviceCall as R, SERVICE_TYPES as H, HistoryContext as Se, E as ie, k as I, et as it, at as lt, lt as ae, J as M, ct as dt, st as ut, rt as mt, At as he } from "./useLocalStorage.RmxGoFAM.js";
6
6
  import b from "clsx";
7
7
  import { useFloatingTree as Ee, useFloatingNodeId as ht, useListItem as ye, useFloating as pt, offset as ft, flip as gt, shift as Ct, autoUpdate as Tt, useClick as Nt, useRole as St, useDismiss as Et, useListNavigation as yt, useTypeahead as wt, useInteractions as bt, useMergeRefs as we, FloatingNode as kt, FloatingList as It, FloatingPortal as vt, FloatingFocusManager as xt, FloatingTree as At } from "@floating-ui/react";
8
8
  const se = ne.createContext({
@@ -30,8 +30,8 @@ const se = ne.createContext({
30
30
  trigger: e,
31
31
  children: o,
32
32
  label: a = "Open menu",
33
- defaultPlacement: n = "bottom-start",
34
- onOpenChange: s,
33
+ defaultPlacement: s = "bottom-start",
34
+ onOpenChange: n,
35
35
  spacing: r,
36
36
  mode: l = "system",
37
37
  focusMode: m = "system",
@@ -41,9 +41,9 @@ const se = ne.createContext({
41
41
  nodeId: x,
42
42
  open: u,
43
43
  onOpenChange: (G) => {
44
- g(G), s == null || s(G);
44
+ g(G), n == null || n(G);
45
45
  },
46
- placement: n,
46
+ placement: s,
47
47
  strategy: "fixed",
48
48
  middleware: [ft({ mainAxis: 10 }), gt(), Ct()],
49
49
  whileElementsMounted: Tt
@@ -80,12 +80,12 @@ const se = ne.createContext({
80
80
  if (!E)
81
81
  return;
82
82
  function G() {
83
- g(!1), s == null || s(!1);
83
+ g(!1), n == null || n(!1);
84
84
  }
85
85
  return E.events.on("click", G), () => {
86
86
  E.events.off("click", G);
87
87
  };
88
- }, [E, s]), _(() => {
88
+ }, [E, n]), _(() => {
89
89
  u && E && E.events.emit("menuopen", { nodeId: x });
90
90
  }, [E, u, x]), /* @__PURE__ */ d(kt, { id: x, children: [
91
91
  _e,
@@ -125,13 +125,13 @@ const se = ne.createContext({
125
125
  ), ke = Ne((e, o) => /* @__PURE__ */ t(At, { children: /* @__PURE__ */ t(be, { ...e, ref: o }) }));
126
126
  ke.displayName = "Menu";
127
127
  be.displayName = "MenuComponent";
128
- const D = ne.forwardRef(({ label: e, disabled: o, icon: a, ...n }, s) => {
128
+ const D = ne.forwardRef(({ label: e, disabled: o, icon: a, ...s }, n) => {
129
129
  const r = ne.useContext(se), l = ye({ label: o ? null : e }), m = Ee();
130
130
  return /* @__PURE__ */ d(
131
131
  "button",
132
132
  {
133
- ...n,
134
- ref: we([l.ref, s]),
133
+ ...s,
134
+ ref: we([l.ref, n]),
135
135
  role: "menuitem",
136
136
  className: "m-0 flex w-full rounded-md border border-transparent bg-none px-3 py-2 text-left text-base outline-none focus:border focus:border-border-medium focus:bg-surface-lighter focus:underline disabled:cursor-not-allowed disabled:text-copy-medium sm:py-1",
137
137
  tabIndex: 0,
@@ -139,11 +139,11 @@ const D = ne.forwardRef(({ label: e, disabled: o, icon: a, ...n }, s) => {
139
139
  ...r.getItemProps({
140
140
  onClick(c) {
141
141
  var i;
142
- (i = n.onClick) == null || i.call(n, c), m == null || m.events.emit("click");
142
+ (i = s.onClick) == null || i.call(s, c), m == null || m.events.emit("click");
143
143
  },
144
144
  onFocus(c) {
145
145
  var i;
146
- (i = n.onFocus) == null || i.call(n, c), r.setHasFocusInside(!0);
146
+ (i = s.onFocus) == null || i.call(s, c), r.setHasFocusInside(!0);
147
147
  }
148
148
  }),
149
149
  children: [
@@ -161,8 +161,8 @@ const Mt = ({ className: e, ...o }) => {
161
161
  className: e,
162
162
  viewBox: o,
163
163
  spacing: a,
164
- title: n,
165
- monotone: s,
164
+ title: s,
165
+ monotone: n,
166
166
  ...r
167
167
  }) => /* @__PURE__ */ t(
168
168
  ct,
@@ -172,7 +172,7 @@ const Mt = ({ className: e, ...o }) => {
172
172
  viewBox: o,
173
173
  className: e,
174
174
  spacing: a,
175
- title: n || "Close",
175
+ title: s || "Close",
176
176
  ...r,
177
177
  children: /* @__PURE__ */ t("path", { d: "M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3l105.4 105.3c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256l105.3-105.4z" })
178
178
  }
@@ -197,15 +197,15 @@ const Mt = ({ className: e, ...o }) => {
197
197
  header: "p-4 mb-0",
198
198
  close: "p-4"
199
199
  }), W = (e) => nt(
200
- () => import("./index.Bzt9pToY.DmOBHHnp.js").then((o) => ({
200
+ () => import("./index.Bzt9pToY.Dod1oVcG.js").then((o) => ({
201
201
  default: o[e]
202
202
  }))
203
203
  ), Lt = W("Modal"), _t = W("ModalClose"), Dt = W("ModalContent"), Ot = W("ModalDescription"), zt = W("ModalHeading"), F = ({
204
204
  open: e,
205
205
  onOpenChange: o,
206
206
  title: a,
207
- children: n,
208
- footer: s,
207
+ children: s,
208
+ footer: n,
209
209
  borderMode: r = "light",
210
210
  kind: l = U,
211
211
  className: m
@@ -233,8 +233,8 @@ const Mt = ({ className: e, ...o }) => {
233
233
  ),
234
234
  /* @__PURE__ */ t(zt, { className: i.header, children: a })
235
235
  ] }),
236
- /* @__PURE__ */ t(Ot, { className: i.content, children: n }),
237
- s && /* @__PURE__ */ t("div", { className: i.footer, children: s })
236
+ /* @__PURE__ */ t(Ot, { className: i.content, children: s }),
237
+ n && /* @__PURE__ */ t("div", { className: i.footer, children: n })
238
238
  ] }) }) });
239
239
  }, Bt = () => b("peer", "h-6", "w-11", "rounded-full"), Pt = ({
240
240
  focusMode: e
@@ -292,25 +292,25 @@ const Mt = ({ className: e, ...o }) => {
292
292
  mode: e,
293
293
  focusMode: o,
294
294
  labelHidden: a,
295
- spacing: n,
296
- noBorder: s
295
+ spacing: s,
296
+ noBorder: n
297
297
  }) => ({
298
298
  toggle: b(
299
299
  Bt(),
300
- $t({ mode: e, noBorder: s }),
300
+ $t({ mode: e, noBorder: n }),
301
301
  Pt({ focusMode: o }),
302
302
  Ft(),
303
303
  Vt()
304
304
  ),
305
305
  label: Gt({ mode: e, labelHidden: a }),
306
306
  input: "peer sr-only",
307
- wrapper: Ut({ spacing: n })
307
+ wrapper: Ut({ spacing: s })
308
308
  }), Yt = ({
309
309
  checked: e = !1,
310
310
  onChange: o,
311
311
  label: a,
312
- labelHidden: n = !1,
313
- name: s,
312
+ labelHidden: s = !1,
313
+ name: n,
314
314
  mode: r = "system",
315
315
  focusMode: l = "system",
316
316
  spacing: m,
@@ -319,7 +319,7 @@ const Mt = ({ className: e, ...o }) => {
319
319
  const i = jt({
320
320
  mode: r,
321
321
  focusMode: l,
322
- labelHidden: n,
322
+ labelHidden: s,
323
323
  spacing: m,
324
324
  noBorder: c
325
325
  }), u = (g) => {
@@ -329,7 +329,7 @@ const Mt = ({ className: e, ...o }) => {
329
329
  /* @__PURE__ */ t(
330
330
  "input",
331
331
  {
332
- name: s,
332
+ name: n,
333
333
  checked: e,
334
334
  type: "checkbox",
335
335
  className: i.input,
@@ -343,8 +343,8 @@ const Mt = ({ className: e, ...o }) => {
343
343
  className: e,
344
344
  viewBox: o,
345
345
  spacing: a,
346
- title: n,
347
- monotone: s,
346
+ title: s,
347
+ monotone: n,
348
348
  ...r
349
349
  }) => /* @__PURE__ */ d(
350
350
  v,
@@ -354,13 +354,13 @@ const Mt = ({ className: e, ...o }) => {
354
354
  viewBox: o,
355
355
  className: e,
356
356
  spacing: a,
357
- title: n || "Back",
357
+ title: s || "Back",
358
358
  ...r,
359
359
  children: [
360
360
  /* @__PURE__ */ t(
361
361
  "path",
362
362
  {
363
- opacity: s ? "1" : "0.4",
363
+ opacity: n ? "1" : "0.4",
364
364
  d: "M288.4 93.4c2.9-17.4 19.4-29.2 36.9-26.3C431.3 84.9 512 177 512 288c0 123.7-100.3 224-224 224C177 512 84.9 431.3 67.1 325.3c-2.9-17.4 8.8-33.9 26.3-36.9s33.9 8.8 36.9 26.3C142.9 390.4 208.8 448 288 448c88.4 0 160-71.6 160-160c0-79.2-57.6-145.1-133.3-157.8c-17.4-2.9-29.2-19.4-26.3-36.9z"
365
365
  }
366
366
  ),
@@ -371,8 +371,8 @@ const Mt = ({ className: e, ...o }) => {
371
371
  className: e,
372
372
  viewBox: o,
373
373
  spacing: a,
374
- title: n,
375
- monotone: s,
374
+ title: s,
375
+ monotone: n,
376
376
  ...r
377
377
  }) => /* @__PURE__ */ d(
378
378
  v,
@@ -382,13 +382,13 @@ const Mt = ({ className: e, ...o }) => {
382
382
  viewBox: o,
383
383
  className: e,
384
384
  spacing: a,
385
- title: n || "Chart",
385
+ title: s || "Chart",
386
386
  ...r,
387
387
  children: [
388
388
  /* @__PURE__ */ t(
389
389
  "path",
390
390
  {
391
- opacity: s ? "1" : "0.4",
391
+ opacity: n ? "1" : "0.4",
392
392
  d: "M160 80c0-26.5 21.5-48 48-48h32c26.5 0 48 21.5 48 48V432c0 26.5-21.5 48-48 48H208c-26.5 0-48-21.5-48-48V80z"
393
393
  }
394
394
  ),
@@ -399,8 +399,8 @@ const Mt = ({ className: e, ...o }) => {
399
399
  className: e,
400
400
  viewBox: o,
401
401
  spacing: a,
402
- title: n,
403
- monotone: s,
402
+ title: s,
403
+ monotone: n,
404
404
  ...r
405
405
  }) => /* @__PURE__ */ d(
406
406
  v,
@@ -410,13 +410,13 @@ const Mt = ({ className: e, ...o }) => {
410
410
  viewBox: o,
411
411
  className: e,
412
412
  spacing: a,
413
- title: n || "Delete",
413
+ title: s || "Delete",
414
414
  ...r,
415
415
  children: [
416
416
  /* @__PURE__ */ t(
417
417
  "path",
418
418
  {
419
- opacity: s ? "1" : "0.4",
419
+ opacity: n ? "1" : "0.4",
420
420
  d: "M416 96H32V448c0 35.3 28.7 64 64 64H352c35.3 0 64-28.7 64-64V96zM144 176V400c0 8.8-7.2 16-16 16s-16-7.2-16-16V176c0-8.8 7.2-16 16-16s16 7.2 16 16zm96 0V400c0 8.8-7.2 16-16 16s-16-7.2-16-16V176c0-8.8 7.2-16 16-16s16 7.2 16 16zm96 0V400c0 8.8-7.2 16-16 16s-16-7.2-16-16V176c0-8.8 7.2-16 16-16s16 7.2 16 16z"
421
421
  }
422
422
  ),
@@ -427,8 +427,8 @@ const Mt = ({ className: e, ...o }) => {
427
427
  className: e,
428
428
  viewBox: o,
429
429
  spacing: a,
430
- title: n,
431
- monotone: s,
430
+ title: s,
431
+ monotone: n,
432
432
  ...r
433
433
  }) => /* @__PURE__ */ d(
434
434
  v,
@@ -438,13 +438,13 @@ const Mt = ({ className: e, ...o }) => {
438
438
  viewBox: o,
439
439
  className: e,
440
440
  spacing: a,
441
- title: n || "Edit",
441
+ title: s || "Edit",
442
442
  ...r,
443
443
  children: [
444
444
  /* @__PURE__ */ t(
445
445
  "path",
446
446
  {
447
- opacity: s ? "1" : "0.4",
447
+ opacity: n ? "1" : "0.4",
448
448
  d: "M0 160c0-53 43-96 96-96h96c17.7 0 32 14.3 32 32s-14.3 32-32 32H96c-17.7 0-32 14.3-32 32V416c0 17.7 14.3 32 32 32H352c17.7 0 32-14.3 32-32V320c0-17.7 14.3-32 32-32s32 14.3 32 32v96c0 53-43 96-96 96H96c-53 0-96-43-96-96V160z"
449
449
  }
450
450
  ),
@@ -455,8 +455,8 @@ const Mt = ({ className: e, ...o }) => {
455
455
  className: e,
456
456
  viewBox: o,
457
457
  spacing: a,
458
- title: n,
459
- monotone: s,
458
+ title: s,
459
+ monotone: n,
460
460
  ...r
461
461
  }) => /* @__PURE__ */ d(
462
462
  v,
@@ -466,13 +466,13 @@ const Mt = ({ className: e, ...o }) => {
466
466
  viewBox: o,
467
467
  className: e,
468
468
  spacing: a,
469
- title: n || "History",
469
+ title: s || "History",
470
470
  ...r,
471
471
  children: [
472
472
  /* @__PURE__ */ t(
473
473
  "path",
474
474
  {
475
- opacity: s ? "1" : "0.4",
475
+ opacity: n ? "1" : "0.4",
476
476
  d: "M120.2 120.2C155 85.5 203 64 256 64c106 0 192 86 192 192s-86 192-192 192c-40.8 0-78.6-12.7-109.7-34.4c-14.5-10.1-34.4-6.6-44.6 7.9s-6.6 34.4 7.9 44.6C151.2 495 201.7 512 256 512c141.4 0 256-114.6 256-256S397.4 0 256 0C185.3 0 121.3 28.7 75 75L41 41C25.9 25.9 0 36.6 0 57.9V168c0 13.3 10.7 24 24 24H134.1c21.4 0 32.1-25.9 17-41l-30.8-30.8z"
477
477
  }
478
478
  ),
@@ -483,8 +483,8 @@ const Mt = ({ className: e, ...o }) => {
483
483
  className: e,
484
484
  viewBox: o,
485
485
  spacing: a,
486
- title: n,
487
- monotone: s,
486
+ title: s,
487
+ monotone: n,
488
488
  ...r
489
489
  }) => /* @__PURE__ */ d(
490
490
  v,
@@ -494,7 +494,7 @@ const Mt = ({ className: e, ...o }) => {
494
494
  viewBox: o,
495
495
  className: e,
496
496
  spacing: a,
497
- title: n || "Info",
497
+ title: s || "Info",
498
498
  ...r,
499
499
  children: [
500
500
  /* @__PURE__ */ t(
@@ -511,8 +511,8 @@ const Mt = ({ className: e, ...o }) => {
511
511
  className: e,
512
512
  viewBox: o,
513
513
  spacing: a,
514
- title: n,
515
- monotone: s,
514
+ title: s,
515
+ monotone: n,
516
516
  ...r
517
517
  }) => /* @__PURE__ */ d(
518
518
  v,
@@ -522,7 +522,7 @@ const Mt = ({ className: e, ...o }) => {
522
522
  viewBox: o,
523
523
  className: e,
524
524
  spacing: a,
525
- title: n || "Profile",
525
+ title: s || "Profile",
526
526
  ...r,
527
527
  children: [
528
528
  /* @__PURE__ */ t(
@@ -539,8 +539,8 @@ const Mt = ({ className: e, ...o }) => {
539
539
  className: e,
540
540
  viewBox: o,
541
541
  spacing: a,
542
- title: n,
543
- monotone: s,
542
+ title: s,
543
+ monotone: n,
544
544
  ...r
545
545
  }) => /* @__PURE__ */ d(
546
546
  v,
@@ -550,13 +550,13 @@ const Mt = ({ className: e, ...o }) => {
550
550
  viewBox: o,
551
551
  className: e,
552
552
  spacing: a,
553
- title: n || "Restore",
553
+ title: s || "Restore",
554
554
  ...r,
555
555
  children: [
556
556
  /* @__PURE__ */ t(
557
557
  "path",
558
558
  {
559
- opacity: s ? "1" : "0.4",
559
+ opacity: n ? "1" : "0.4",
560
560
  d: "M208 64H432c8.8 0 16 7.2 16 16V304c0 8.8-7.2 16-16 16H416v64h16c44.2 0 80-35.8 80-80V80c0-44.2-35.8-80-80-80H208c-44.2 0-80 35.8-80 80V96h64V80c0-8.8 7.2-16 16-16z"
561
561
  }
562
562
  ),
@@ -567,8 +567,8 @@ const Mt = ({ className: e, ...o }) => {
567
567
  className: e,
568
568
  viewBox: o,
569
569
  spacing: a,
570
- title: n,
571
- monotone: s,
570
+ title: s,
571
+ monotone: n,
572
572
  ...r
573
573
  }) => /* @__PURE__ */ t(
574
574
  v,
@@ -578,7 +578,7 @@ const Mt = ({ className: e, ...o }) => {
578
578
  viewBox: o,
579
579
  className: e,
580
580
  spacing: a,
581
- title: n || "Settings",
581
+ title: s || "Settings",
582
582
  ...r,
583
583
  children: /* @__PURE__ */ t("path", { d: "M8 256a56 56 0 1 1 112 0A56 56 0 1 1 8 256zm160 0a56 56 0 1 1 112 0 56 56 0 1 1 -112 0zm216-56a56 56 0 1 1 0 112 56 56 0 1 1 0-112z" })
584
584
  }
@@ -587,16 +587,16 @@ function K(e) {
587
587
  return st();
588
588
  }
589
589
  const oo = ({ stats: e }) => {
590
- const o = (e == null ? void 0 : e.plugins) || [], a = (e == null ? void 0 : e.version) || "", n = (e == null ? void 0 : e.models) || [], s = K(), r = K();
590
+ const o = (e == null ? void 0 : e.plugins) || [], a = (e == null ? void 0 : e.version) || "", s = (e == null ? void 0 : e.models) || [], n = K(), r = K();
591
591
  return /* @__PURE__ */ d(w, { children: [
592
592
  /* @__PURE__ */ t("div", { className: "mb-4", children: /* @__PURE__ */ t(
593
593
  B,
594
594
  {
595
595
  header: f.ABOUT.TITLE_CLIENT,
596
596
  className: "prose-dark dark:prose-lighter",
597
- children: j(s, {
598
- [f.ABOUT.VERSION]: "4.3.1",
599
- [f.ABOUT.BUILD_TIMESTAMP]: "09/06/2024 06:47 PM EDT"
597
+ children: j(n, {
598
+ [f.ABOUT.VERSION]: "4.3.2",
599
+ [f.ABOUT.BUILD_TIMESTAMP]: "09/07/2024 08:44 AM EDT"
600
600
  })
601
601
  }
602
602
  ) }),
@@ -607,7 +607,7 @@ const oo = ({ stats: e }) => {
607
607
  className: "prose-dark dark:prose-lighter",
608
608
  children: j(r, {
609
609
  [f.ABOUT.VERSION]: a,
610
- [Q(f.ABOUT.ENGINE, n.length)]: /* @__PURE__ */ t(w, { children: n.map((l) => /* @__PURE__ */ t("div", { className: "text-right", children: l }, l)) }),
610
+ [Q(f.ABOUT.ENGINE, s.length)]: /* @__PURE__ */ t(w, { children: s.map((l) => /* @__PURE__ */ t("div", { className: "text-right", children: l }, l)) }),
611
611
  [Q(f.ABOUT.PLUGIN, o.length)]: /* @__PURE__ */ t(w, { children: o.map((l) => /* @__PURE__ */ t("div", { className: "text-right", children: l }, l)) })
612
612
  })
613
613
  }
@@ -624,8 +624,8 @@ const oo = ({ stats: e }) => {
624
624
  return Ve;
625
625
  const o = e.filter(
626
626
  (a) => {
627
- var n, s;
628
- return ((n = a == null ? void 0 : a.message) == null ? void 0 : n.role) === Fe && typeof ((s = a == null ? void 0 : a.message) == null ? void 0 : s.processingTime) == "number";
627
+ var s, n;
628
+ return ((s = a == null ? void 0 : a.message) == null ? void 0 : s.role) === Fe && typeof ((n = a == null ? void 0 : a.message) == null ? void 0 : n.processingTime) == "number";
629
629
  }
630
630
  ).map((a) => a.message.processingTime);
631
631
  return $e({
@@ -636,17 +636,17 @@ const oo = ({ stats: e }) => {
636
636
  isAuthenticated: e,
637
637
  stats: o
638
638
  }) => {
639
- const { state: a } = L(Z), n = Ge - Number(a == null ? void 0 : a.usage), s = K(), r = K();
639
+ const { state: a } = L(Z), s = Ge - Number(a == null ? void 0 : a.usage), n = K(), r = K();
640
640
  return e ? /* @__PURE__ */ d(w, { children: [
641
641
  a && a.messages.length > 0 && /* @__PURE__ */ t("div", { className: "mb-4", children: /* @__PURE__ */ t(
642
642
  B,
643
643
  {
644
644
  header: f.CURRENT_STATISTICS.TITLE,
645
645
  className: "prose-dark dark:prose-lighter",
646
- children: j(s, {
646
+ children: j(n, {
647
647
  [f.CURRENT_STATISTICS.MODEL_NAME]: (a == null ? void 0 : a.model) || Be,
648
648
  [f.CURRENT_STATISTICS.TOKENS_USED]: a == null ? void 0 : a.usage,
649
- [f.CURRENT_STATISTICS.REMAINING_TOKENS]: Pe.format(n),
649
+ [f.CURRENT_STATISTICS.REMAINING_TOKENS]: Pe.format(s),
650
650
  [f.CURRENT_STATISTICS.PROCESSING_TIME]: so(a == null ? void 0 : a.messages)
651
651
  })
652
652
  }
@@ -669,10 +669,10 @@ const oo = ({ stats: e }) => {
669
669
  open: e,
670
670
  onOpenChange: o
671
671
  }) => {
672
- const [a, n] = T({
672
+ const [a, s] = T({
673
673
  averageProcessingTimes: 0,
674
674
  totalChats: 0
675
- }), { isAuthenticated: s, getAccessToken: r, user: l } = V();
675
+ }), { isAuthenticated: n, getAccessToken: r, user: l } = V();
676
676
  return _(() => {
677
677
  !e || !l || (async () => {
678
678
  try {
@@ -683,24 +683,24 @@ const oo = ({ stats: e }) => {
683
683
  userId: l.username
684
684
  }
685
685
  });
686
- m.status === 200 && n(m.data);
686
+ m.status === 200 && s(m.data);
687
687
  } catch {
688
688
  }
689
689
  })();
690
- }, [e, r, l]), /* @__PURE__ */ t(F, { open: e, onOpenChange: o, title: Te, children: /* @__PURE__ */ t(ro, { isAuthenticated: s, stats: a }) });
690
+ }, [e, r, l]), /* @__PURE__ */ t(F, { open: e, onOpenChange: o, title: Te, children: /* @__PURE__ */ t(ro, { isAuthenticated: n, stats: a }) });
691
691
  }, Ie = ({
692
692
  showConfirmation: e,
693
693
  setShowConfirmation: o,
694
694
  action: a,
695
- children: n,
696
- customStrings: s
695
+ children: s,
696
+ customStrings: n
697
697
  }) => /* @__PURE__ */ t(
698
698
  F,
699
699
  {
700
700
  kind: "messagebox",
701
701
  open: e,
702
702
  onOpenChange: o,
703
- title: s.title,
703
+ title: n.title,
704
704
  footer: /* @__PURE__ */ d(re, { columnGap: 2, alignHorizontal: "flex-end", children: [
705
705
  /* @__PURE__ */ t(P, { children: /* @__PURE__ */ t(
706
706
  O,
@@ -711,7 +711,7 @@ const oo = ({ stats: e }) => {
711
711
  onClick: () => {
712
712
  o(!1);
713
713
  },
714
- children: s.cancelAction
714
+ children: n.cancelAction
715
715
  }
716
716
  ) }),
717
717
  /* @__PURE__ */ t(P, { children: /* @__PURE__ */ t(
@@ -723,44 +723,44 @@ const oo = ({ stats: e }) => {
723
723
  onClick: () => {
724
724
  o(!1), a();
725
725
  },
726
- children: s.confirmAction
726
+ children: n.confirmAction
727
727
  }
728
728
  ) })
729
729
  ] }),
730
- children: n
730
+ children: s
731
731
  }
732
732
  );
733
733
  var io = typeof window < "u", lo = function(e, o) {
734
734
  return io ? window.matchMedia(e).matches : (process.env.NODE_ENV !== "production" && console.warn("`useMedia` When server side rendering, defaultState should be defined to prevent a hydration mismatches."), !1);
735
735
  }, uo = function(e, o) {
736
- var a = T(lo(e)), n = a[0], s = a[1];
736
+ var a = T(lo(e)), s = a[0], n = a[1];
737
737
  return _(function() {
738
738
  var r = !0, l = window.matchMedia(e), m = function() {
739
- r && s(!!l.matches);
739
+ r && n(!!l.matches);
740
740
  };
741
- return l.addEventListener("change", m), s(l.matches), function() {
741
+ return l.addEventListener("change", m), n(l.matches), function() {
742
742
  r = !1, l.removeEventListener("change", m);
743
743
  };
744
- }, [e]), n;
744
+ }, [e]), s;
745
745
  };
746
- const mo = async (e, o, a, n) => {
746
+ const mo = async (e, o, a, s) => {
747
747
  try {
748
- const s = await R({
749
- accessToken: n,
748
+ const n = await R({
749
+ accessToken: s,
750
750
  type: H.GET_CHAT,
751
751
  params: {
752
752
  id: e.id
753
753
  }
754
754
  });
755
- s.status === 200 && (o({
755
+ n.status === 200 && (o({
756
756
  type: je
757
757
  }), o({
758
758
  type: Ye,
759
759
  payload: {
760
760
  id: e.id,
761
- model: s.data.model,
762
- usage: s.data.usage,
763
- messages: s.data.messages
761
+ model: n.data.model,
762
+ usage: n.data.usage,
763
+ messages: n.data.messages
764
764
  }
765
765
  }), a(!1));
766
766
  } catch {
@@ -772,10 +772,10 @@ const mo = async (e, o, a, n) => {
772
772
  filteredHistory: e,
773
773
  setFilteredHistory: o,
774
774
  dispatch: a,
775
- onOpenChange: n
775
+ onOpenChange: s
776
776
  }) => {
777
777
  var k;
778
- const { user: s, getAccessToken: r } = V(), l = Y({
778
+ const { user: n, getAccessToken: r } = V(), l = Y({
779
779
  id: 0,
780
780
  timestamp: "",
781
781
  message: ""
@@ -840,7 +840,7 @@ const mo = async (e, o, a, n) => {
840
840
  accessToken: await r(),
841
841
  type: H.DELETE_CHAT,
842
842
  params: {
843
- userId: (s == null ? void 0 : s.username) || "",
843
+ userId: (n == null ? void 0 : n.username) || "",
844
844
  id: h.id
845
845
  }
846
846
  });
@@ -915,7 +915,7 @@ const mo = async (e, o, a, n) => {
915
915
  mo(
916
916
  h,
917
917
  a,
918
- n,
918
+ s,
919
919
  x
920
920
  );
921
921
  },
@@ -951,7 +951,7 @@ const mo = async (e, o, a, n) => {
951
951
  function ge(e, o) {
952
952
  return o ? e.filter(
953
953
  (a) => a.messages.some(
954
- (n) => n.content !== null && n.content.toLowerCase().includes(o.toLowerCase())
954
+ (s) => s.content !== null && s.content.toLowerCase().includes(o.toLowerCase())
955
955
  )
956
956
  ) : e;
957
957
  }
@@ -959,7 +959,7 @@ const po = ({
959
959
  onOpenChange: e,
960
960
  historyData: o
961
961
  }) => {
962
- const { isAuthenticated: a } = V(), n = Y(null), { dispatch: s } = L(Z), { state: r, dispatch: l } = L(Se), [, m] = ie({
962
+ const { isAuthenticated: a } = V(), s = Y(null), { dispatch: n } = L(Z), { state: r, dispatch: l } = L(Se), [, m] = ie({
963
963
  key: ce + We,
964
964
  initialValue: r.searchString
965
965
  }), c = rt(() => o, [o]), [i, u] = T({
@@ -989,7 +989,7 @@ const po = ({
989
989
  /* @__PURE__ */ t("form", { autoComplete: "off", onSubmit: C, children: /* @__PURE__ */ t(
990
990
  Xe,
991
991
  {
992
- ref: n,
992
+ ref: s,
993
993
  defaultValue: r.searchString,
994
994
  focusMode: "light",
995
995
  name: "Search",
@@ -1006,7 +1006,7 @@ const po = ({
1006
1006
  size: "small",
1007
1007
  onClick: () => {
1008
1008
  var p;
1009
- g(""), (p = n.current) != null && p.value && (n.current.value = "", n.current.focus());
1009
+ g(""), (p = s.current) != null && p.value && (s.current.value = "", s.current.focus());
1010
1010
  },
1011
1011
  children: "Reset"
1012
1012
  }
@@ -1019,7 +1019,7 @@ const po = ({
1019
1019
  {
1020
1020
  filteredHistory: i,
1021
1021
  setFilteredHistory: u,
1022
- dispatch: s,
1022
+ dispatch: n,
1023
1023
  onOpenChange: e
1024
1024
  }
1025
1025
  ) })
@@ -1032,7 +1032,7 @@ const po = ({
1032
1032
  open: e,
1033
1033
  onOpenChange: o
1034
1034
  }) => {
1035
- const { getAccessToken: a, user: n } = V(), [s, r] = T({
1035
+ const { getAccessToken: a, user: s } = V(), [n, r] = T({
1036
1036
  loaded: !1,
1037
1037
  content: "",
1038
1038
  loadingLocation: !1,
@@ -1044,9 +1044,9 @@ const po = ({
1044
1044
  accessToken: await a(),
1045
1045
  type: H.SET_CUSTOM_INSTRUCTIONS,
1046
1046
  params: {
1047
- user: n == null ? void 0 : n.username,
1048
- instructions: s.content,
1049
- location: s.location
1047
+ user: s == null ? void 0 : s.username,
1048
+ instructions: n.content,
1049
+ location: n.location
1050
1050
  }
1051
1051
  });
1052
1052
  } catch {
@@ -1085,7 +1085,7 @@ const po = ({
1085
1085
  }
1086
1086
  };
1087
1087
  return _(() => {
1088
- if (!e || !n) {
1088
+ if (!e || !s) {
1089
1089
  r({
1090
1090
  loaded: !1,
1091
1091
  loadingLocation: !1,
@@ -1100,7 +1100,7 @@ const po = ({
1100
1100
  accessToken: await a(),
1101
1101
  type: H.GET_CUSTOM_INSTRUCTIONS,
1102
1102
  params: {
1103
- user: n.username
1103
+ user: s.username
1104
1104
  }
1105
1105
  });
1106
1106
  c.status === 200 && r((i) => ({
@@ -1112,7 +1112,7 @@ const po = ({
1112
1112
  } catch {
1113
1113
  }
1114
1114
  })();
1115
- }, [n, e]), /* @__PURE__ */ t(w, { children: s.loaded && /* @__PURE__ */ d(
1115
+ }, [s, e]), /* @__PURE__ */ t(w, { children: n.loaded && /* @__PURE__ */ d(
1116
1116
  F,
1117
1117
  {
1118
1118
  open: e,
@@ -1157,7 +1157,7 @@ const po = ({
1157
1157
  autoCorrect: "off",
1158
1158
  name: "customInstructions",
1159
1159
  label: "Custom Instructions",
1160
- value: s.content,
1160
+ value: n.content,
1161
1161
  onChange: (c) => {
1162
1162
  r((i) => ({
1163
1163
  ...i,
@@ -1176,8 +1176,8 @@ const po = ({
1176
1176
  mode: "dark",
1177
1177
  focusMode: "light",
1178
1178
  name: "location",
1179
- label: "Location",
1180
- value: s.location,
1179
+ label: n.loadingLocation ? "..." : "Location",
1180
+ value: n.location,
1181
1181
  onChange: (c) => {
1182
1182
  r((i) => ({
1183
1183
  ...i,
@@ -1185,26 +1185,26 @@ const po = ({
1185
1185
  location: c.target.value
1186
1186
  }));
1187
1187
  },
1188
- helperText: "Enter your location or press auto-detect.",
1189
- rightElement: /* @__PURE__ */ t(
1190
- O,
1191
- {
1192
- size: "small",
1193
- noBorder: !0,
1194
- mode: "light",
1195
- focusMode: "light",
1196
- disabled: s.loadingLocation,
1197
- onClick: m,
1198
- children: s.loadingLocation ? "Detecting..." : "Auto-detect"
1199
- }
1200
- )
1188
+ helperText: "Enter your location or press auto-detect."
1189
+ }
1190
+ ),
1191
+ /* @__PURE__ */ t(
1192
+ O,
1193
+ {
1194
+ spacing: { t: 2 },
1195
+ noBorder: !0,
1196
+ mode: "dark",
1197
+ focusMode: "light",
1198
+ disabled: n.loadingLocation,
1199
+ onClick: m,
1200
+ children: n.loadingLocation ? "Detecting..." : "Auto-detect"
1201
1201
  }
1202
1202
  )
1203
1203
  ]
1204
1204
  }
1205
1205
  ) });
1206
1206
  }, Co = () => {
1207
- const { isAuthenticated: e, user: o, registeringForPasskey: a, authenticationType: n } = V(), [s, r] = ie({
1207
+ const { isAuthenticated: e, user: o, registeringForPasskey: a, authenticationType: s } = V(), [n, r] = ie({
1208
1208
  key: ce + Ze,
1209
1209
  initialValue: !1
1210
1210
  }), [l, m] = T(!1), c = K(), i = (o == null ? void 0 : o.username) || "", u = (N) => {
@@ -1237,7 +1237,7 @@ const po = ({
1237
1237
  label: f.PREFERENCES.ENGINE_DETAILS,
1238
1238
  name: f.PREFERENCES.ENGINE_DETAILS,
1239
1239
  onChange: u,
1240
- checked: s
1240
+ checked: n
1241
1241
  }
1242
1242
  )
1243
1243
  }),
@@ -1254,7 +1254,7 @@ const po = ({
1254
1254
  ]
1255
1255
  }
1256
1256
  ),
1257
- n !== et.PASSKEY && /* @__PURE__ */ d(
1257
+ s !== et.PASSKEY && /* @__PURE__ */ d(
1258
1258
  B,
1259
1259
  {
1260
1260
  spacing: { t: 4 },
@@ -1283,14 +1283,14 @@ const po = ({
1283
1283
  open: e,
1284
1284
  onOpenChange: o
1285
1285
  }) => /* @__PURE__ */ t(F, { open: e, onOpenChange: o, title: tt, children: /* @__PURE__ */ t(Co, {}) }), ko = () => {
1286
- const { state: e } = L(Z), [o, a] = T(!1), [n, s] = T(!1), [r, l] = T(!1), [m, c] = T(!1), [i, u] = T([]), [g, N] = T(!1), [C, p] = T({
1286
+ const { state: e } = L(Z), [o, a] = T(!1), [s, n] = T(!1), [r, l] = T(!1), [m, c] = T(!1), [i, u] = T([]), [g, N] = T(!1), [C, p] = T({
1287
1287
  done: !1,
1288
1288
  progress: !1,
1289
1289
  timestamp: Date.now()
1290
1290
  }), { logout: y, getAccessToken: k, user: h } = V(), S = () => {
1291
1291
  a(!o);
1292
1292
  }, E = () => {
1293
- s(!n);
1293
+ n(!s);
1294
1294
  }, x = () => {
1295
1295
  l(!r);
1296
1296
  }, ee = () => {
@@ -1343,7 +1343,7 @@ const po = ({
1343
1343
  }
1344
1344
  ),
1345
1345
  /* @__PURE__ */ t(To, { open: o, onOpenChange: a }),
1346
- /* @__PURE__ */ t(co, { open: n, onOpenChange: s }),
1346
+ /* @__PURE__ */ t(co, { open: s, onOpenChange: n }),
1347
1347
  /* @__PURE__ */ t(
1348
1348
  fo,
1349
1349
  {
@@ -1,5 +1,5 @@
1
1
  import { jsx as _i } from "react/jsx-runtime";
2
- import { convert as Si, getDefaultExportFromCjs as Ni, visit as ki, find as Ti, parse as z0, parse$1 as P0, normalize as F0, svg as Mi, html as Ai, visitParents as Oi, SKIP as Ri, longestStreak as Ci, factorySpace as Xt, markdownLineEnding as xt, Markdown as Ii, remarkGfm as Di } from "./LazyMessageAssistant.9TRoCl8r.js";
2
+ import { convert as Si, getDefaultExportFromCjs as Ni, visit as ki, find as Ti, parse as z0, parse$1 as P0, normalize as F0, svg as Mi, html as Ai, visitParents as Oi, SKIP as Ri, longestStreak as Ci, factorySpace as Xt, markdownLineEnding as xt, Markdown as Ii, remarkGfm as Di } from "./LazyMessageAssistant.BEgtWJif.js";
3
3
  const U0 = (
4
4
  // Note: overloads like this are needed to support optional generics.
5
5
  /**
@@ -1,8 +1,8 @@
1
1
  import { jsxs as He, jsx as re, Fragment as or } from "react/jsx-runtime";
2
- import { c$1 as ot, S as at, LOCAL_STORAGE_PREFIX as wi, LOCAL_STORAGE_CHAT_DETAILS as Si, durationFormatter as Ci } from "./index.BlSrPZWf.js";
3
- import { AppContext as Ei, E as Ai } from "./useLocalStorage.C4iGBmg7.js";
2
+ import { c$1 as ot, S as at, LOCAL_STORAGE_PREFIX as wi, LOCAL_STORAGE_CHAT_DETAILS as Si, durationFormatter as Ci } from "./index.CRgG-bmB.js";
3
+ import { AppContext as Ei, E as Ai } from "./useLocalStorage.RmxGoFAM.js";
4
4
  import { lazy as Ii, useContext as Ti, Suspense as Pi } from "react";
5
- import { T as ut } from "./App.C232zHGs.js";
5
+ import { T as ut } from "./App.CZfioAEh.js";
6
6
  import cn from "clsx";
7
7
  const Li = ({
8
8
  spinnerRef: e,
@@ -8618,7 +8618,7 @@ function sf(e) {
8618
8618
  i.push(af(n)), o.push(Tc()), l.push(Pc(n));
8619
8619
  }
8620
8620
  const cf = Ii(
8621
- () => import("./LazyMarkdownWithExtra.CacXy27y.js")
8621
+ () => import("./LazyMarkdownWithExtra.B3ZL10Il.js")
8622
8622
  ), In = {
8623
8623
  MODEL: "Model",
8624
8624
  PLUGIN: "Plugin",
@@ -3,7 +3,7 @@ import y from "clsx";
3
3
  import * as c from "react";
4
4
  import { useRef as C, useReducer as M, useEffect as _, useId as x } from "react";
5
5
  import { useMergeRefs as S, FloatingPortal as F, FloatingOverlay as O, FloatingFocusManager as P, useFloating as k, useClick as L, useDismiss as V, useRole as B, useInteractions as U } from "@floating-ui/react";
6
- import { S as j } from "./index.BlSrPZWf.js";
6
+ import { S as j } from "./index.CRgG-bmB.js";
7
7
  const b = "SET_ANNOUNCEMENT", w = "CLEAR_ANNOUNCEMENT", q = {
8
8
  alert: null,
9
9
  alertdialog: null,
@@ -3337,7 +3337,7 @@ const xn = "ASK! ME! ANYTHING!", er = "Sassy Saint", Cn = "gizmette.com", On = "
3337
3337
  row1: /* @__PURE__ */ I("div", { children: [
3338
3338
  er,
3339
3339
  " v",
3340
- "4.3.1",
3340
+ "4.3.2",
3341
3341
  " - ",
3342
3342
  $n,
3343
3343
  Qe && e && e.models.length > 0 && e.models[0] === "development" ? " - Development Mode" : ""
@@ -3349,7 +3349,7 @@ const xn = "ASK! ME! ANYTHING!", er = "Sassy Saint", Cn = "gizmette.com", On = "
3349
3349
  Cn
3350
3350
  ] })
3351
3351
  }
3352
- ), Mn = wt(() => import("./LazyHeader.BcKwtFsD.js")), Un = () => {
3352
+ ), Mn = wt(() => import("./LazyHeader.Do8wpv96.js")), Un = () => {
3353
3353
  const { isAuthenticated: e } = qe();
3354
3354
  return /* @__PURE__ */ I(le, { children: [
3355
3355
  e && /* @__PURE__ */ c(Tt, { fallback: /* @__PURE__ */ c("div", {}), children: /* @__PURE__ */ c(Mn, {}) }),
@@ -3456,7 +3456,7 @@ const xn = "ASK! ME! ANYTHING!", er = "Sassy Saint", Cn = "gizmette.com", On = "
3456
3456
  ] }),
3457
3457
  /* @__PURE__ */ c(Ln, {})
3458
3458
  ] });
3459
- }, Kn = new URL(document.location.href).searchParams, Bn = !!Kn.get("debug") || !1, Wn = wt(() => import("./App.C232zHGs.js").then((e) => e.App)), Gn = ({ isComponent: e }) => {
3459
+ }, Kn = new URL(document.location.href).searchParams, Bn = !!Kn.get("debug") || !1, Wn = wt(() => import("./App.CZfioAEh.js").then((e) => e.App)), Gn = ({ isComponent: e }) => {
3460
3460
  const { isAuthenticated: t } = qe();
3461
3461
  return t ? /* @__PURE__ */ c(Tt, { fallback: /* @__PURE__ */ c("div", {}), children: /* @__PURE__ */ c(Wn, { isComponent: e }) }) : /* @__PURE__ */ c(Hn, {});
3462
3462
  }, Vn = ({
@@ -1,7 +1,7 @@
1
1
  import { jsxs as x, Fragment as fe, jsx as l } from "react/jsx-runtime";
2
2
  import i from "clsx";
3
3
  import H, { useContext as O, useRef as N, useState as J, useLayoutEffect as L, useSyncExternalStore as ke, useCallback as q, useEffect as _e } from "react";
4
- import { A as xe, i as we, f as Ne, S as Te, f$1 as ve, V as Se, j as Ce, F as Ie, r as Ee, o as He, n as ae, l as Oe, a as j, MODEL_GPT4 as Ae } from "./index.BlSrPZWf.js";
4
+ import { A as xe, i as we, f as Ne, S as Te, f$1 as ve, V as Se, j as Ce, F as Ie, r as Ee, o as He, n as ae, l as Oe, a as j, MODEL_GPT4 as Ae } from "./index.CRgG-bmB.js";
5
5
  const $e = (e) => {
6
6
  let r = "";
7
7
  if (typeof e == "number" || typeof e == "string")
@@ -1,5 +1,5 @@
1
1
  import "react/jsx-runtime";
2
- import { SassySaint as a } from "../../chunks/index.BlSrPZWf.js";
2
+ import { SassySaint as a } from "../../chunks/index.CRgG-bmB.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.BlSrPZWf.js";
1
+ import { SassySaint as r } from "./chunks/index.CRgG-bmB.js";
2
2
  /*!
3
- @sassysaint/client v4.3.1
3
+ @sassysaint/client v4.3.2
4
4
  © 2024 gizmette.com
5
5
  */
6
6
  try {
7
7
  window.__VERSINI_SASSY_GLOBAL__ || (window.__VERSINI_SASSY_GLOBAL__ = {
8
- version: "4.3.1",
9
- buildTime: "09/06/2024 06:47 PM EDT",
8
+ version: "4.3.2",
9
+ buildTime: "09/07/2024 08:44 AM EDT",
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": "4.3.1",
3
+ "version": "4.3.2",
4
4
  "license": "MIT",
5
5
  "author": "Arno Versini",
6
6
  "publishConfig": {
@@ -30,7 +30,7 @@
30
30
  "react-dom": "18.3.1"
31
31
  },
32
32
  "devDependencies": {
33
- "@sassysaint/client": "4.3.1",
33
+ "@sassysaint/client": "4.3.2",
34
34
  "@versini/ui-styles": "1.9.5"
35
35
  },
36
36
  "dependencies": {
@@ -41,5 +41,5 @@
41
41
  "sideEffects": [
42
42
  "**/*.css"
43
43
  ],
44
- "gitHead": "8d922e620c1b0070601bc6d133a26db3494de7ae"
44
+ "gitHead": "9ed8db6de097ceb26cdd28010d6673035d35e45e"
45
45
  }