@versini/sassysaint 8.17.1 → 8.17.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.
@@ -4,12 +4,12 @@ var Bo = (e) => {
4
4
  var Yr = (e, t, r) => t.has(e) || Bo("Cannot " + r);
5
5
  var O = (e, t, r) => (Yr(e, t, "read from private field"), r ? r.call(e) : t.get(e)), pe = (e, t, r) => t.has(e) ? Bo("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, r), le = (e, t, r, a) => (Yr(e, t, "write to private field"), a ? a.call(e, r) : t.set(e, r), r), fe = (e, t, r) => (Yr(e, t, "access private method"), r);
6
6
  import { jsx as l, jsxs as N, Fragment as de } from "react/jsx-runtime";
7
- import { Subscribable as Wi, pendingThenable as Po, resolveEnabled as Ue, shallowEqualObjects as ma, resolveStaleTime as xr, noop as pa, isServer as ga, isValidTimeout as zo, focusManager as qi, fetchState as Yi, replaceData as Vo, notifyManager as Jn, timeUntilStale as Ji, shouldThrowError as Ki, useQueryClient as Qi, I as oe, ACTION_SORT as ya, ACTION_SEARCH as Kn, ACTION_RESET_PROMPT as Qn, ACTION_TOGGLE_PROMPT as Xn, re as Ce, DEFAULT_ICON_ACTION_SIZE as qe, Qr as Oe, isElectron as ba, isProbablyiPhone as va, L as rr, j as je, C as bt, LOCAL_STORAGE_PREFIX as vt, LOCAL_STORAGE_PRIVATE_DISCLOSURE as Xi, LOCAL_STORAGE_REASONING_DISCLOSURE as Zi, TOAST_CHAT_SAVED as el, toastOptions as Ir, TOAST_PROVIDER_CHANGED as Zn, PROMPT_CLASSNAME as tl, PROMPT_EDITABLE_AREA_CLASSNAME as rl, ERROR_MESSAGE as al, ROLE_INTERNAL as _a, CLIPBOARD_PROMPT as Fo, isProbablyMobile as st, qr as es, GRANTS as ts, INPUT_PLACEHOLDER_TEXT as Uo, FOOTER_DISCLAIMER as ol, S as Me, renderDataAsList as Sr, CARDS as ce, pluralize as qt, ABOUT_TITLE as nl, INFINITE_SCROLL_LIMIT as Ho, INFINITE_SCROLL_THRESHOLD as Go, LOCAL_STORAGE_SORT as rs, APP_CLASSNAME as as, TOAST_CHAT_DELETED as sl, LOCAL_STORAGE_SEARCH as os, HISTORY_TITLE as il, fe as ll, debounce as cl, x as dl, l as jo, PROFILE_TITLE as ul, LOCAL_STORAGE_CHAT_DETAILS as fl, SETTINGS_TITLE as hl, APP_NAME as ml, PROMPTS_DESCRIPTION as pl, getCurrentGeoLocation as gl, USAGE_TITLE as yl, LOG_OUT as Wo, getMessageContaintWrapperClass as bl, UI_FOOTER_BUFFER as ns, UI_BUTTON_SCROLL_BUFFER as vl, Logo as _l, UI_DEFAULT_MAIN_HEIGHT as qo, getMainPaddingClass as Yo, r as wl } from "./index.B-X7LBAb.js";
7
+ import { Subscribable as Wi, pendingThenable as Po, resolveEnabled as Ue, shallowEqualObjects as ma, resolveStaleTime as xr, noop as pa, isServer as ga, isValidTimeout as zo, focusManager as qi, fetchState as Yi, replaceData as Vo, notifyManager as Jn, timeUntilStale as Ji, shouldThrowError as Ki, useQueryClient as Qi, I as oe, ACTION_SORT as ya, ACTION_SEARCH as Kn, ACTION_RESET_PROMPT as Qn, ACTION_TOGGLE_PROMPT as Xn, re as Ce, DEFAULT_ICON_ACTION_SIZE as qe, Qr as Oe, isElectron as ba, isProbablyiPhone as va, L as rr, j as je, C as bt, LOCAL_STORAGE_PREFIX as vt, LOCAL_STORAGE_PRIVATE_DISCLOSURE as Xi, LOCAL_STORAGE_REASONING_DISCLOSURE as Zi, TOAST_CHAT_SAVED as el, toastOptions as Ir, TOAST_PROVIDER_CHANGED as Zn, PROMPT_CLASSNAME as tl, PROMPT_EDITABLE_AREA_CLASSNAME as rl, ERROR_MESSAGE as al, ROLE_INTERNAL as _a, CLIPBOARD_PROMPT as Fo, isProbablyMobile as st, qr as es, INPUT_PLACEHOLDER_TEXT as Uo, FOOTER_DISCLAIMER as ol, S as Me, renderDataAsList as Sr, CARDS as ce, pluralize as qt, ABOUT_TITLE as nl, INFINITE_SCROLL_LIMIT as Ho, INFINITE_SCROLL_THRESHOLD as Go, LOCAL_STORAGE_SORT as ts, APP_CLASSNAME as rs, TOAST_CHAT_DELETED as sl, LOCAL_STORAGE_SEARCH as as, HISTORY_TITLE as il, fe as ll, debounce as cl, x as dl, l as jo, PROFILE_TITLE as ul, LOCAL_STORAGE_CHAT_DETAILS as fl, SETTINGS_TITLE as hl, APP_NAME as ml, PROMPTS_DESCRIPTION as pl, getCurrentGeoLocation as gl, USAGE_TITLE as yl, LOG_OUT as Wo, getMessageContaintWrapperClass as bl, UI_FOOTER_BUFFER as os, UI_BUTTON_SCROLL_BUFFER as vl, Logo as _l, UI_DEFAULT_MAIN_HEIGHT as qo, getMainPaddingClass as Yo, r as wl } from "./index.COHKFzFG.js";
8
8
  import * as ae from "react";
9
- import F, { useEffect as P, useRef as L, useState as z, useCallback as J, useSyncExternalStore as ss, useMemo as $e, useId as Mr, useContext as te, useLayoutEffect as be, isValidElement as Dr, cloneElement as ro, createContext as is, useDebugValue as kl, forwardRef as ls, Suspense as ao, lazy as oo, Fragment as xl, useReducer as Gt } from "react";
9
+ import F, { useEffect as P, useRef as L, useState as z, useCallback as J, useSyncExternalStore as ns, useMemo as $e, useId as Mr, useContext as te, useLayoutEffect as be, isValidElement as Dr, cloneElement as ro, createContext as ss, useDebugValue as kl, forwardRef as is, Suspense as ao, lazy as oo, Fragment as xl, useReducer as Gt } from "react";
10
10
  import g from "clsx";
11
- import { useMergeRefs as no, FloatingPortal as cs, FloatingOverlay as Tl, FloatingFocusManager as ds, useFloating as us, useClick as fs, useDismiss as hs, useRole as ms, useInteractions as ps, FloatingTree as El, useFloatingTree as gs, useFloatingNodeId as Cl, useListItem as ys, autoUpdate as Il, offset as Sl, flip as Nl, shift as Rl, useListNavigation as Al, useTypeahead as Ol, FloatingNode as $l, FloatingList as Ll } from "@floating-ui/react";
12
- var Ee, K, er, _e, pt, Rt, rt, at, tr, At, Ot, gt, yt, ot, $t, ee, jt, wa, ka, xa, Ta, Ea, Ca, Ia, bs, Yn, Ml = (Yn = class extends Wi {
11
+ import { useMergeRefs as no, FloatingPortal as ls, FloatingOverlay as Tl, FloatingFocusManager as cs, useFloating as ds, useClick as us, useDismiss as fs, useRole as hs, useInteractions as ms, FloatingTree as El, useFloatingTree as ps, useFloatingNodeId as Cl, useListItem as gs, autoUpdate as Il, offset as Sl, flip as Nl, shift as Rl, useListNavigation as Al, useTypeahead as Ol, FloatingNode as $l, FloatingList as Ll } from "@floating-ui/react";
12
+ var Ee, K, er, _e, pt, Rt, rt, at, tr, At, Ot, gt, yt, ot, $t, ee, jt, wa, ka, xa, Ta, Ea, Ca, Ia, ys, Yn, Ml = (Yn = class extends Wi {
13
13
  constructor(t, r) {
14
14
  super();
15
15
  pe(this, ee);
@@ -216,7 +216,7 @@ var Ee, K, er, _e, pt, Rt, rt, at, tr, At, Ot, gt, yt, ot, $t, ee, jt, wa, ka, x
216
216
  return O(this, _e)[i] !== t[i] && s.has(i);
217
217
  });
218
218
  };
219
- fe(this, ee, bs).call(this, { listeners: a() });
219
+ fe(this, ee, ys).call(this, { listeners: a() });
220
220
  }
221
221
  onQueryUpdate() {
222
222
  this.updateResult(), this.hasListeners() && fe(this, ee, Ta).call(this);
@@ -258,7 +258,7 @@ var Ee, K, er, _e, pt, Rt, rt, at, tr, At, Ot, gt, yt, ot, $t, ee, jt, wa, ka, x
258
258
  return;
259
259
  const r = O(this, K);
260
260
  le(this, K, t), le(this, er, t.state), this.hasListeners() && (r == null || r.removeObserver(this), t.addObserver(this));
261
- }, bs = function(t) {
261
+ }, ys = function(t) {
262
262
  Jn.batch(() => {
263
263
  t.listeners && this.listeners.forEach((r) => {
264
264
  r(O(this, _e));
@@ -406,7 +406,7 @@ const Kl = ({
406
406
  }
407
407
  )
408
408
  }
409
- ), vs = ({
409
+ ), bs = ({
410
410
  className: e,
411
411
  viewBox: t,
412
412
  title: r,
@@ -602,7 +602,7 @@ const Kl = ({
602
602
  /* @__PURE__ */ l("path", { d: "m392.4 21.7-30.1 30 97.9 97.9 30.1-30.1c21.9-21.9 21.9-57.3 0-79.2l-18.7-18.6c-21.9-21.9-57.3-21.9-79.2 0m-52.7 52.6L172.4 241.7c-6.1 6.1-10.8 13.6-13.5 21.9l-29.6 88.8c-2.9 8.6-.6 18.1 5.8 24.6s15.9 8.7 24.6 5.8l88.8-29.6c8.2-2.7 15.7-7.4 21.9-13.5l167.3-167.4z" })
603
603
  ]
604
604
  }
605
- ), _s = ({
605
+ ), vs = ({
606
606
  className: e,
607
607
  viewBox: t,
608
608
  title: r,
@@ -749,7 +749,7 @@ const Kl = ({
749
749
  /* @__PURE__ */ l("path", { d: "M419.2 227.2 316.7 124.7 46.1 395.4c-18.7 18.7-18.7 49.1 0 67.9l34.6 34.6c18.7 18.7 49.1 18.7 67.9 0z" })
750
750
  ]
751
751
  }
752
- ), ws = ({
752
+ ), _s = ({
753
753
  className: e,
754
754
  viewBox: t,
755
755
  title: r,
@@ -1063,26 +1063,26 @@ function _c(e, t) {
1063
1063
  return !1;
1064
1064
  return s !== u ? !1 : !!(c && (h.toLowerCase() === c.toLowerCase() || t.code.replace("Key", "").toLowerCase() === c.toLowerCase()));
1065
1065
  }
1066
- function ks(e) {
1066
+ function ws(e) {
1067
1067
  return (t) => _c(vc(e), t);
1068
1068
  }
1069
1069
  function wc(e) {
1070
1070
  return (t) => {
1071
1071
  const r = "nativeEvent" in t ? t.nativeEvent : t;
1072
1072
  e.forEach(([a, o, n = { preventDefault: !0 }]) => {
1073
- ks(a)(r) && (n.preventDefault && t.preventDefault(), o(r));
1073
+ ws(a)(r) && (n.preventDefault && t.preventDefault(), o(r));
1074
1074
  });
1075
1075
  };
1076
1076
  }
1077
1077
  function kc(e, t, r = !1) {
1078
1078
  return e.target instanceof HTMLElement ? (r || !e.target.isContentEditable) && !t.includes(e.target.tagName) : !0;
1079
1079
  }
1080
- function xs(e, t = ["INPUT", "TEXTAREA", "SELECT"], r = !1) {
1080
+ function ks(e, t = ["INPUT", "TEXTAREA", "SELECT"], r = !1) {
1081
1081
  P(() => {
1082
1082
  const a = (o) => {
1083
1083
  e.forEach(
1084
1084
  ([n, s, c = { preventDefault: !0 }]) => {
1085
- ks(n)(o) && kc(o, t, r) && (c.preventDefault && o.preventDefault(), s(o));
1085
+ ws(n)(o) && kc(o, t, r) && (c.preventDefault && o.preventDefault(), s(o));
1086
1086
  }
1087
1087
  );
1088
1088
  };
@@ -1104,22 +1104,22 @@ function Tc() {
1104
1104
  e.current = !1;
1105
1105
  }), []), J(() => e.current, []);
1106
1106
  }
1107
- function Ts(e, t) {
1107
+ function xs(e, t) {
1108
1108
  window.dispatchEvent(new StorageEvent("storage", { key: e, newValue: t }));
1109
1109
  }
1110
1110
  const Xo = (e, t) => {
1111
1111
  const r = JSON.stringify(
1112
1112
  typeof t == "function" ? t() : t
1113
1113
  );
1114
- window.localStorage.setItem(e, r), Ts(e, r);
1114
+ window.localStorage.setItem(e, r), xs(e, r);
1115
1115
  }, Ec = (e) => {
1116
- window.localStorage.removeItem(e), Ts(e, null);
1116
+ window.localStorage.removeItem(e), xs(e, null);
1117
1117
  }, Zo = (e) => window.localStorage.getItem(e), Cc = (e) => (window.addEventListener("storage", e), () => window.removeEventListener("storage", e));
1118
1118
  function _t({
1119
1119
  key: e,
1120
1120
  initialValue: t
1121
1121
  }) {
1122
- const r = ss(Cc, () => Zo(e)), a = J(
1122
+ const r = ns(Cc, () => Zo(e)), a = J(
1123
1123
  (s) => {
1124
1124
  try {
1125
1125
  const c = typeof s == "function" ? s(JSON.parse(r)) : s;
@@ -1152,7 +1152,7 @@ const Ic = {
1152
1152
  bottom: 0,
1153
1153
  right: 0
1154
1154
  };
1155
- function Es(e) {
1155
+ function Ts(e) {
1156
1156
  const t = Tc(), r = L(0), a = L(null), [o, n] = z(Ic), s = $e(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((c) => {
1157
1157
  const i = c[0];
1158
1158
  i && (cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
@@ -1317,7 +1317,7 @@ const Br = "thead", lo = "tfoot", It = "tbody", He = {
1317
1317
  )
1318
1318
  }), Mc = ({
1319
1319
  buttonClassName: e
1320
- }) => g("rounded-none text-sm", e), tn = "av-button", co = "icon", Cs = "button", Na = "link", Dc = ({
1320
+ }) => g("rounded-none text-sm", e), tn = "av-button", co = "icon", Es = "button", Na = "link", Dc = ({
1321
1321
  type: e,
1322
1322
  size: t,
1323
1323
  labelRight: r,
@@ -1327,7 +1327,7 @@ const Br = "thead", lo = "tfoot", It = "tbody", He = {
1327
1327
  }) => {
1328
1328
  const s = "max-h-8 py-0 px-2", c = "max-h-9 h-8 px-3", i = "max-h-12 py-2 px-4";
1329
1329
  switch (e) {
1330
- case Cs:
1330
+ case Es:
1331
1331
  case Na:
1332
1332
  return g({
1333
1333
  [s]: t === "small",
@@ -1361,7 +1361,7 @@ const Br = "thead", lo = "tfoot", It = "tbody", He = {
1361
1361
  }) => {
1362
1362
  const o = "text-sm font-medium", n = "text-base font-medium", s = "text-lg font-medium";
1363
1363
  switch (e) {
1364
- case Cs:
1364
+ case Es:
1365
1365
  case Na:
1366
1366
  return g({
1367
1367
  "text-center": e === Na,
@@ -1613,7 +1613,7 @@ const Br = "thead", lo = "tfoot", It = "tbody", He = {
1613
1613
  )), Yc = (e, t, r) => {
1614
1614
  var a;
1615
1615
  !t && (!document.activeElement || document.activeElement !== e.currentTarget) && typeof ((a = e == null ? void 0 : e.currentTarget) == null ? void 0 : a.focus) == "function" && e.currentTarget.focus(), typeof r == "function" && r(e);
1616
- }, Is = F.forwardRef((e, t) => {
1616
+ }, Cs = F.forwardRef((e, t) => {
1617
1617
  const { onClick: r, noInternalClick: a = !1, ...o } = e;
1618
1618
  return /* @__PURE__ */ l(
1619
1619
  "button",
@@ -1626,7 +1626,7 @@ const Br = "thead", lo = "tfoot", It = "tbody", He = {
1626
1626
  }
1627
1627
  );
1628
1628
  });
1629
- Is.displayName = "BaseButton";
1629
+ Cs.displayName = "BaseButton";
1630
1630
  function Jc() {
1631
1631
  const e = L(!1);
1632
1632
  return P(() => (e.current = !0, () => {
@@ -1676,7 +1676,7 @@ const Xc = {
1676
1676
  // px-3 x 2
1677
1677
  large: 16 * 2
1678
1678
  // px-4 x 2
1679
- }, ed = 2, Ss = F.forwardRef(
1679
+ }, ed = 2, Is = F.forwardRef(
1680
1680
  ({
1681
1681
  children: e,
1682
1682
  disabled: t = !1,
@@ -1732,7 +1732,7 @@ const Xc = {
1732
1732
  u,
1733
1733
  k
1734
1734
  ]), /* @__PURE__ */ N(
1735
- Is,
1735
+ Cs,
1736
1736
  {
1737
1737
  ref: G,
1738
1738
  className: v,
@@ -1770,7 +1770,7 @@ const Xc = {
1770
1770
  label: r,
1771
1771
  labelInnerClass: a
1772
1772
  }) => /* @__PURE__ */ l("span", { ref: e, className: t, children: r && /* @__PURE__ */ l("span", { className: a, children: r }) });
1773
- Ss.displayName = "ButtonIcon";
1773
+ Is.displayName = "ButtonIcon";
1774
1774
  /*!
1775
1775
  @versini/ui-button v6.0.5
1776
1776
  © 2025 gizmette.com
@@ -1784,7 +1784,7 @@ try {
1784
1784
  });
1785
1785
  } catch {
1786
1786
  }
1787
- const Ns = F.forwardRef(
1787
+ const Ss = F.forwardRef(
1788
1788
  ({
1789
1789
  children: e,
1790
1790
  mode: t = "system",
@@ -1810,7 +1810,7 @@ const Ns = F.forwardRef(
1810
1810
  }
1811
1811
  ) : "";
1812
1812
  return /* @__PURE__ */ l("div", { className: s, children: /* @__PURE__ */ l(
1813
- Ss,
1813
+ Is,
1814
1814
  {
1815
1815
  className: g("justify-center", r),
1816
1816
  ref: n,
@@ -1822,7 +1822,7 @@ const Ns = F.forwardRef(
1822
1822
  ) });
1823
1823
  }
1824
1824
  );
1825
- Ns.displayName = "ButtonSort";
1825
+ Ss.displayName = "ButtonSort";
1826
1826
  const uo = ({
1827
1827
  children: e,
1828
1828
  fill: t,
@@ -2082,7 +2082,7 @@ const Vt = F.createContext({
2082
2082
  "aria-sort": i === He.ASC && d === f ? "ascending" : i === He.DESC && d === f ? "descending" : "other",
2083
2083
  ...u,
2084
2084
  children: /* @__PURE__ */ l(
2085
- Ns,
2085
+ Ss,
2086
2086
  {
2087
2087
  active: d === f,
2088
2088
  className: h,
@@ -2155,7 +2155,7 @@ function gd(e, t, r = 300) {
2155
2155
  });
2156
2156
  });
2157
2157
  }
2158
- function Rs({ enter: e, exit: t, appendPosition: r = !1, collapse: a = !0, collapseDuration: o = 300 }) {
2158
+ function Ns({ enter: e, exit: t, appendPosition: r = !1, collapse: a = !0, collapseDuration: o = 300 }) {
2159
2159
  return function({ children: n, position: s, preventExitTransition: c, done: i, nodeRef: d, isIn: f, playToast: u }) {
2160
2160
  let h = r ? `${e}--${s}` : e, m = r ? `${t}--${s}` : t, p = L(0);
2161
2161
  return be(() => {
@@ -2172,9 +2172,9 @@ function Rs({ enter: e, exit: t, appendPosition: r = !1, collapse: a = !0, colla
2172
2172
  };
2173
2173
  }
2174
2174
  function on(e, t) {
2175
- return { content: As(e.content, e.props), containerId: e.props.containerId, id: e.props.toastId, theme: e.props.theme, type: e.props.type, data: e.props.data || {}, isLoading: e.props.isLoading, icon: e.props.icon, reason: e.removalReason, status: t };
2175
+ return { content: Rs(e.content, e.props), containerId: e.props.containerId, id: e.props.toastId, theme: e.props.theme, type: e.props.type, data: e.props.data || {}, isLoading: e.props.isLoading, icon: e.props.icon, reason: e.removalReason, status: t };
2176
2176
  }
2177
- function As(e, t, r = !1) {
2177
+ function Rs(e, t, r = !1) {
2178
2178
  return Dr(e) && !wt(e.type) ? ro(e, { closeToast: t.closeToast, toastProps: t, data: t.data, isPaused: r }) : Ze(e) ? e({ closeToast: t.closeToast, toastProps: t, data: t.data, isPaused: r }) : e;
2179
2179
  }
2180
2180
  function yd({ closeToast: e, theme: t, ariaLabel: r = "close" }) {
@@ -2190,7 +2190,7 @@ function bd({ delay: e, isRunning: t, closeToast: r, type: a = "default", hide:
2190
2190
  } };
2191
2191
  return F.createElement("div", { className: "Toastify__progress-bar--wrp", "data-hidden": u }, F.createElement("div", { className: `Toastify__progress-bar--bg Toastify__progress-bar-theme--${f} Toastify__progress-bar--${a}` }), F.createElement("div", { role: "progressbar", "aria-hidden": u ? "true" : "false", "aria-label": "notification timer", className: p, style: h, ...y }));
2192
2192
  }
2193
- var vd = 1, Os = () => `${vd++}`;
2193
+ var vd = 1, As = () => `${vd++}`;
2194
2194
  function _d(e, t, r) {
2195
2195
  let a = 1, o = 0, n = [], s = [], c = t, i = /* @__PURE__ */ new Map(), d = /* @__PURE__ */ new Set(), f = (w) => (d.add(w), () => d.delete(w)), u = () => {
2196
2196
  s = Array.from(i.values()), d.forEach((w) => w());
@@ -2250,15 +2250,15 @@ function _d(e, t, r) {
2250
2250
  return (k = i.get(w)) == null ? void 0 : k.isActive;
2251
2251
  }, getSnapshot: () => s };
2252
2252
  }
2253
- var ke = /* @__PURE__ */ new Map(), Kt = [], Oa = /* @__PURE__ */ new Set(), wd = (e) => Oa.forEach((t) => t(e)), $s = () => ke.size > 0;
2253
+ var ke = /* @__PURE__ */ new Map(), Kt = [], Oa = /* @__PURE__ */ new Set(), wd = (e) => Oa.forEach((t) => t(e)), Os = () => ke.size > 0;
2254
2254
  function kd() {
2255
- Kt.forEach((e) => Ms(e.content, e.options)), Kt = [];
2255
+ Kt.forEach((e) => Ls(e.content, e.options)), Kt = [];
2256
2256
  }
2257
2257
  var xd = (e, { containerId: t }) => {
2258
2258
  var r;
2259
2259
  return (r = ke.get(t || 1)) == null ? void 0 : r.toasts.get(e);
2260
2260
  };
2261
- function Ls(e, t) {
2261
+ function $s(e, t) {
2262
2262
  var r;
2263
2263
  if (t) return !!((r = ke.get(t)) != null && r.isToastActive(e));
2264
2264
  let a = !1;
@@ -2267,7 +2267,7 @@ function Ls(e, t) {
2267
2267
  }), a;
2268
2268
  }
2269
2269
  function Td(e) {
2270
- if (!$s()) {
2270
+ if (!Os()) {
2271
2271
  Kt = Kt.filter((t) => e != null && t.options.toastId !== e);
2272
2272
  return;
2273
2273
  }
@@ -2286,8 +2286,8 @@ var Ed = (e = {}) => {
2286
2286
  t.props.limit && (!e.containerId || t.id === e.containerId) && t.clearQueue();
2287
2287
  });
2288
2288
  };
2289
- function Ms(e, t) {
2290
- Aa(e) && ($s() || Kt.push({ content: e, options: t }), ke.forEach((r) => {
2289
+ function Ls(e, t) {
2290
+ Aa(e) && (Os() || Kt.push({ content: e, options: t }), ke.forEach((r) => {
2291
2291
  r.buildToast(e, t);
2292
2292
  }));
2293
2293
  }
@@ -2295,7 +2295,7 @@ function Cd(e) {
2295
2295
  var t;
2296
2296
  (t = ke.get(e.containerId || 1)) == null || t.setToggle(e.id, e.fn);
2297
2297
  }
2298
- function Ds(e, t) {
2298
+ function Ms(e, t) {
2299
2299
  ke.forEach((r) => {
2300
2300
  (t == null || !(t != null && t.containerId) || (t == null ? void 0 : t.containerId) === r.id) && r.toggle(e, t == null ? void 0 : t.id);
2301
2301
  });
@@ -2323,10 +2323,10 @@ function Sd(e) {
2323
2323
  };
2324
2324
  }
2325
2325
  function Nd(e) {
2326
- return e && (wt(e.toastId) || ar(e.toastId)) ? e.toastId : Os();
2326
+ return e && (wt(e.toastId) || ar(e.toastId)) ? e.toastId : As();
2327
2327
  }
2328
2328
  function or(e, t) {
2329
- return Ms(e, t), t.toastId;
2329
+ return Ls(e, t), t.toastId;
2330
2330
  }
2331
2331
  function Pr(e, t) {
2332
2332
  return { ...t, type: t && t.type || e, toastId: Nd(t) };
@@ -2363,11 +2363,11 @@ function Ad(e) {
2363
2363
  }
2364
2364
  Z.dismiss = Ad;
2365
2365
  Z.clearWaitingQueue = Ed;
2366
- Z.isActive = Ls;
2366
+ Z.isActive = $s;
2367
2367
  Z.update = (e, t = {}) => {
2368
2368
  let r = xd(e, t);
2369
2369
  if (r) {
2370
- let { props: a, content: o } = r, n = { delay: 100, ...a, ...t, toastId: t.toastId || e, updateId: Os() };
2370
+ let { props: a, content: o } = r, n = { delay: 100, ...a, ...t, toastId: t.toastId || e, updateId: As() };
2371
2371
  n.toastId !== e && (n.staleId = e);
2372
2372
  let s = n.render || o;
2373
2373
  delete n.render, or(s, n);
@@ -2377,13 +2377,13 @@ Z.done = (e) => {
2377
2377
  Z.update(e, { progress: 1 });
2378
2378
  };
2379
2379
  Z.onChange = Sd;
2380
- Z.play = (e) => Ds(!0, e);
2381
- Z.pause = (e) => Ds(!1, e);
2380
+ Z.play = (e) => Ms(!0, e);
2381
+ Z.pause = (e) => Ms(!1, e);
2382
2382
  function Od(e) {
2383
2383
  var t;
2384
2384
  let { subscribe: r, getSnapshot: a, setProps: o } = L(Id(e)).current;
2385
2385
  o(e);
2386
- let n = (t = ss(r, a, a)) == null ? void 0 : t.slice();
2386
+ let n = (t = ns(r, a, a)) == null ? void 0 : t.slice();
2387
2387
  function s(c) {
2388
2388
  if (!n) return [];
2389
2389
  let i = /* @__PURE__ */ new Map();
@@ -2392,7 +2392,7 @@ function Od(e) {
2392
2392
  i.has(f) || i.set(f, []), i.get(f).push(d);
2393
2393
  }), Array.from(i, (d) => c(d[0], d[1]));
2394
2394
  }
2395
- return { getToastToRender: s, isToastActive: Ls, count: n == null ? void 0 : n.length };
2395
+ return { getToastToRender: s, isToastActive: $s, count: n == null ? void 0 : n.length };
2396
2396
  }
2397
2397
  function $d(e) {
2398
2398
  let [t, r] = z(!1), [a, o] = z(!1), n = L(null), s = L({ start: 0, delta: 0, removalDistance: 0, canCloseOnClick: !0, canDrag: !1, didMove: !1 }).current, { autoClose: c, pauseOnHover: i, closeToast: d, onClick: f, closeOnClick: u } = e;
@@ -2477,8 +2477,8 @@ function Fd({ theme: e, type: t, isLoading: r, icon: a }) {
2477
2477
  }
2478
2478
  var Ud = (e) => {
2479
2479
  let { isRunning: t, preventExitTransition: r, toastRef: a, eventHandlers: o, playToast: n } = $d(e), { closeButton: s, children: c, autoClose: i, onClick: d, type: f, hideProgressBar: u, closeToast: h, transition: m, position: p, className: y, style: b, progressClassName: _, updateId: w, role: k, progress: C, rtl: I, toastId: v, deleteToast: x, isIn: E, isLoading: T, closeOnClick: S, theme: R, ariaLabel: $ } = e, A = g("Toastify__toast", `Toastify__toast-theme--${R}`, `Toastify__toast--${f}`, { "Toastify__toast--rtl": I }, { "Toastify__toast--close-on-click": S }), D = Ze(y) ? y({ rtl: I, position: p, type: f, defaultClassName: A }) : g(A, y), V = Fd(e), M = !!C || !i, G = { closeToast: h, type: f, theme: R }, q = null;
2480
- return s === !1 || (Ze(s) ? q = s(G) : Dr(s) ? q = ro(s, G) : q = yd(G)), F.createElement(m, { isIn: E, done: x, position: p, preventExitTransition: r, nodeRef: a, playToast: n }, F.createElement("div", { id: v, tabIndex: 0, onClick: d, "data-in": E, className: D, ...o, style: b, ref: a, ...E && { role: k, "aria-label": $ } }, V != null && F.createElement("div", { className: g("Toastify__toast-icon", { "Toastify--animate-icon Toastify__zoom-enter": !T }) }, V), As(c, e, !t), q, !e.customProgressBar && F.createElement(bd, { ...w && !M ? { key: `p-${w}` } : {}, rtl: I, theme: R, delay: i, isRunning: t, isIn: E, closeToast: h, hide: u, type: f, className: _, controlledProgress: M, progress: C || 0 })));
2481
- }, Bs = (e, t = !1) => ({ enter: `Toastify--animate Toastify__${e}-enter`, exit: `Toastify--animate Toastify__${e}-exit`, appendPosition: t }), Hd = Rs(Bs("bounce", !0)), Nr = Rs(Bs("slide", !0)), Gd = { position: "top-right", transition: Hd, autoClose: 5e3, closeButton: !0, pauseOnHover: !0, pauseOnFocusLoss: !0, draggable: "touch", draggablePercent: 80, draggableDirection: "x", role: "alert", theme: "light", "aria-label": "Notifications Alt+T", hotKeys: (e) => e.altKey && e.code === "KeyT" };
2480
+ return s === !1 || (Ze(s) ? q = s(G) : Dr(s) ? q = ro(s, G) : q = yd(G)), F.createElement(m, { isIn: E, done: x, position: p, preventExitTransition: r, nodeRef: a, playToast: n }, F.createElement("div", { id: v, tabIndex: 0, onClick: d, "data-in": E, className: D, ...o, style: b, ref: a, ...E && { role: k, "aria-label": $ } }, V != null && F.createElement("div", { className: g("Toastify__toast-icon", { "Toastify--animate-icon Toastify__zoom-enter": !T }) }, V), Rs(c, e, !t), q, !e.customProgressBar && F.createElement(bd, { ...w && !M ? { key: `p-${w}` } : {}, rtl: I, theme: R, delay: i, isRunning: t, isIn: E, closeToast: h, hide: u, type: f, className: _, controlledProgress: M, progress: C || 0 })));
2481
+ }, Ds = (e, t = !1) => ({ enter: `Toastify--animate Toastify__${e}-enter`, exit: `Toastify--animate Toastify__${e}-exit`, appendPosition: t }), Hd = Ns(Ds("bounce", !0)), Nr = Ns(Ds("slide", !0)), Gd = { position: "top-right", transition: Hd, autoClose: 5e3, closeButton: !0, pauseOnHover: !0, pauseOnFocusLoss: !0, draggable: "touch", draggablePercent: 80, draggableDirection: "x", role: "alert", theme: "light", "aria-label": "Notifications Alt+T", hotKeys: (e) => e.altKey && e.code === "KeyT" };
2482
2482
  function La(e) {
2483
2483
  let t = { ...Gd, ...e }, r = e.stacked, [a, o] = z(!0), n = L(null), { getToastToRender: s, isToastActive: c, count: i } = Od(t), { className: d, style: f, rtl: u, containerId: h, hotKeys: m } = t;
2484
2484
  function p(b) {
@@ -2515,7 +2515,7 @@ function La(e) {
2515
2515
  return F.createElement("div", { tabIndex: -1, className: p(b), "data-stacked": r, style: w, key: `c-${b}` }, _.map(({ content: k, props: C }) => F.createElement(Ud, { ...C, stacked: r, collapseAll: y, isIn: c(C.toastId, C.containerId), key: `t-${C.key}` }, k)));
2516
2516
  }));
2517
2517
  }
2518
- const Yt = "FOOTER_BOTTOM", Ma = "FOOTER_TOP", Tr = "APP_SET_FOOTER_POSITION", Ps = "APP_SET_FOOTER_HEIGHT", jd = (e, t) => {
2518
+ const Yt = "FOOTER_BOTTOM", Ma = "FOOTER_TOP", Tr = "APP_SET_FOOTER_POSITION", Bs = "APP_SET_FOOTER_HEIGHT", jd = (e, t) => {
2519
2519
  switch (t.type) {
2520
2520
  case Tr:
2521
2521
  return {
@@ -2523,7 +2523,7 @@ const Yt = "FOOTER_BOTTOM", Ma = "FOOTER_TOP", Tr = "APP_SET_FOOTER_POSITION", P
2523
2523
  footerPosition: t.payload.footerPosition,
2524
2524
  footerOffset: t.payload.footerOffset
2525
2525
  };
2526
- case Ps:
2526
+ case Bs:
2527
2527
  return {
2528
2528
  ...e,
2529
2529
  footerHeight: t.payload.footerHeight
@@ -2531,10 +2531,10 @@ const Yt = "FOOTER_BOTTOM", Ma = "FOOTER_TOP", Tr = "APP_SET_FOOTER_POSITION", P
2531
2531
  default:
2532
2532
  return e;
2533
2533
  }
2534
- }, mt = "CHAT_SET_STATUS", zs = "CHAT_SET_USAGE", Lt = "CHAT_SET_ATTACHMENTS", fo = "CHAT_SET_PROVIDER", xt = "CHAT_RESET", Wd = (e, t) => {
2534
+ }, mt = "CHAT_SET_STATUS", Ps = "CHAT_SET_USAGE", Lt = "CHAT_SET_ATTACHMENTS", fo = "CHAT_SET_PROVIDER", xt = "CHAT_RESET", Wd = (e, t) => {
2535
2535
  var r, a, o, n, s, c;
2536
2536
  switch (t.type) {
2537
- case zs:
2537
+ case Ps:
2538
2538
  return {
2539
2539
  ...e,
2540
2540
  usage: t.payload.usage
@@ -2843,7 +2843,7 @@ const Yt = "FOOTER_BOTTOM", Ma = "FOOTER_TOP", Tr = "APP_SET_FOOTER_POSITION", P
2843
2843
  } catch (a) {
2844
2844
  return console.error(a), { status: 500, data: [] };
2845
2845
  }
2846
- }, Vs = async ({
2846
+ }, zs = async ({
2847
2847
  provider: e,
2848
2848
  accessToken: t,
2849
2849
  username: r
@@ -2975,7 +2975,7 @@ const Yt = "FOOTER_BOTTOM", Ma = "FOOTER_TOP", Tr = "APP_SET_FOOTER_POSITION", P
2975
2975
  return Promise.reject(o);
2976
2976
  }
2977
2977
  };
2978
- var Fs = "vercel.ai.error", Zd = Symbol.for(Fs), Us, eu = class Hs extends Error {
2978
+ var Vs = "vercel.ai.error", Zd = Symbol.for(Vs), Fs, eu = class Us extends Error {
2979
2979
  /**
2980
2980
  * Creates an AI SDK Error.
2981
2981
  *
@@ -2989,7 +2989,7 @@ var Fs = "vercel.ai.error", Zd = Symbol.for(Fs), Us, eu = class Hs extends Error
2989
2989
  message: r,
2990
2990
  cause: a
2991
2991
  }) {
2992
- super(r), this[Us] = !0, this.name = t, this.cause = a;
2992
+ super(r), this[Fs] = !0, this.name = t, this.cause = a;
2993
2993
  }
2994
2994
  /**
2995
2995
  * Checks if the given error is an AI SDK Error.
@@ -2997,56 +2997,56 @@ var Fs = "vercel.ai.error", Zd = Symbol.for(Fs), Us, eu = class Hs extends Error
2997
2997
  * @returns {boolean} True if the error is an AI SDK Error, false otherwise.
2998
2998
  */
2999
2999
  static isInstance(t) {
3000
- return Hs.hasMarker(t, Fs);
3000
+ return Us.hasMarker(t, Vs);
3001
3001
  }
3002
3002
  static hasMarker(t, r) {
3003
3003
  const a = Symbol.for(r);
3004
3004
  return t != null && typeof t == "object" && a in t && typeof t[a] == "boolean" && t[a] === !0;
3005
3005
  }
3006
3006
  };
3007
- Us = Zd;
3007
+ Fs = Zd;
3008
3008
  var Dt = eu;
3009
- function Gs(e) {
3009
+ function Hs(e) {
3010
3010
  return e == null ? "unknown error" : typeof e == "string" ? e : e instanceof Error ? e.message : JSON.stringify(e);
3011
3011
  }
3012
- var js = "AI_InvalidArgumentError", Ws = `vercel.ai.error.${js}`, tu = Symbol.for(Ws), qs, ru = class extends Dt {
3012
+ var Gs = "AI_InvalidArgumentError", js = `vercel.ai.error.${Gs}`, tu = Symbol.for(js), Ws, ru = class extends Dt {
3013
3013
  constructor({
3014
3014
  message: e,
3015
3015
  cause: t,
3016
3016
  argument: r
3017
3017
  }) {
3018
- super({ name: js, message: e, cause: t }), this[qs] = !0, this.argument = r;
3018
+ super({ name: Gs, message: e, cause: t }), this[Ws] = !0, this.argument = r;
3019
3019
  }
3020
3020
  static isInstance(e) {
3021
- return Dt.hasMarker(e, Ws);
3021
+ return Dt.hasMarker(e, js);
3022
3022
  }
3023
3023
  };
3024
- qs = tu;
3025
- var Ys = "AI_JSONParseError", Js = `vercel.ai.error.${Ys}`, au = Symbol.for(Js), Ks, nn = class extends Dt {
3024
+ Ws = tu;
3025
+ var qs = "AI_JSONParseError", Ys = `vercel.ai.error.${qs}`, au = Symbol.for(Ys), Js, nn = class extends Dt {
3026
3026
  constructor({ text: e, cause: t }) {
3027
3027
  super({
3028
- name: Ys,
3028
+ name: qs,
3029
3029
  message: `JSON parsing failed: Text: ${e}.
3030
- Error message: ${Gs(t)}`,
3030
+ Error message: ${Hs(t)}`,
3031
3031
  cause: t
3032
- }), this[Ks] = !0, this.text = e;
3032
+ }), this[Js] = !0, this.text = e;
3033
3033
  }
3034
3034
  static isInstance(e) {
3035
- return Dt.hasMarker(e, Js);
3035
+ return Dt.hasMarker(e, Ys);
3036
3036
  }
3037
3037
  };
3038
- Ks = au;
3039
- var Qs = "AI_TypeValidationError", Xs = `vercel.ai.error.${Qs}`, ou = Symbol.for(Xs), Zs, nu = class Da extends Dt {
3038
+ Js = au;
3039
+ var Ks = "AI_TypeValidationError", Qs = `vercel.ai.error.${Ks}`, ou = Symbol.for(Qs), Xs, nu = class Da extends Dt {
3040
3040
  constructor({ value: t, cause: r }) {
3041
3041
  super({
3042
- name: Qs,
3042
+ name: Ks,
3043
3043
  message: `Type validation failed: Value: ${JSON.stringify(t)}.
3044
- Error message: ${Gs(r)}`,
3044
+ Error message: ${Hs(r)}`,
3045
3045
  cause: r
3046
- }), this[Zs] = !0, this.value = t;
3046
+ }), this[Xs] = !0, this.value = t;
3047
3047
  }
3048
3048
  static isInstance(t) {
3049
- return Dt.hasMarker(t, Xs);
3049
+ return Dt.hasMarker(t, Qs);
3050
3050
  }
3051
3051
  /**
3052
3052
  * Wraps an error into a TypeValidationError.
@@ -3065,7 +3065,7 @@ Error message: ${Gs(r)}`,
3065
3065
  return Da.isInstance(r) && r.value === t ? r : new Da({ value: t, cause: r });
3066
3066
  }
3067
3067
  };
3068
- Zs = ou;
3068
+ Xs = ou;
3069
3069
  var sn = nu;
3070
3070
  let su = (e, t = 21) => (r = t) => {
3071
3071
  let a = "", o = r | 0;
@@ -3073,7 +3073,7 @@ let su = (e, t = 21) => (r = t) => {
3073
3073
  a += e[Math.random() * e.length | 0];
3074
3074
  return a;
3075
3075
  };
3076
- function ei(e) {
3076
+ function Zs(e) {
3077
3077
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
3078
3078
  }
3079
3079
  var ft = { exports: {} }, ln;
@@ -3150,7 +3150,7 @@ function iu() {
3150
3150
  return ft.exports = n, ft.exports.default = n, ft.exports.parse = n, ft.exports.safeParse = s, ft.exports.scan = o, ft.exports;
3151
3151
  }
3152
3152
  var lu = /* @__PURE__ */ iu();
3153
- const cu = /* @__PURE__ */ ei(lu);
3153
+ const cu = /* @__PURE__ */ Zs(lu);
3154
3154
  var du = ({
3155
3155
  prefix: e,
3156
3156
  size: t = 16,
@@ -4115,7 +4115,7 @@ function Pa(e) {
4115
4115
  return Math.max(t, (a = r.step) != null ? a : 0);
4116
4116
  }, 0);
4117
4117
  }
4118
- function ti(e) {
4118
+ function ei(e) {
4119
4119
  var t;
4120
4120
  return (t = e.parts) != null ? t : [
4121
4121
  ...e.toolInvocations ? e.toolInvocations.map((r) => ({
@@ -4135,7 +4135,7 @@ function ti(e) {
4135
4135
  function Xr(e) {
4136
4136
  return e.map((t) => ({
4137
4137
  ...t,
4138
- parts: ti(t)
4138
+ parts: ei(t)
4139
4139
  }));
4140
4140
  }
4141
4141
  function za(e, t) {
@@ -4202,11 +4202,11 @@ function Wu({
4202
4202
  r > 1 && // ensure there is a last message:
4203
4203
  n != null && // ensure we actually have new steps (to prevent infinite loops in case of errors):
4204
4204
  (a.length > t || Pa(n.toolInvocations) !== e) && // check that next step is possible:
4205
- ri(n) && // limit the number of automatic steps:
4205
+ ti(n) && // limit the number of automatic steps:
4206
4206
  ((o = Pa(n.toolInvocations)) != null ? o : 0) < r
4207
4207
  );
4208
4208
  }
4209
- function ri(e) {
4209
+ function ti(e) {
4210
4210
  if (e.role !== "assistant")
4211
4211
  return !1;
4212
4212
  const t = e.parts.reduce((a, o, n) => o.type === "step-start" ? n : a, -1), r = e.parts.slice(t + 1).filter((a) => a.type === "tool-invocation");
@@ -4351,7 +4351,7 @@ function Ku() {
4351
4351
  return hn || (hn = 1, process.env.NODE_ENV === "production" ? mr.exports = /* @__PURE__ */ Yu() : mr.exports = /* @__PURE__ */ Ju()), mr.exports;
4352
4352
  }
4353
4353
  var Qu = /* @__PURE__ */ Ku();
4354
- const ai = 0, oi = 1, ni = 2, mn = 3;
4354
+ const ri = 0, ai = 1, oi = 2, mn = 3;
4355
4355
  var pn = Object.prototype.hasOwnProperty;
4356
4356
  function Va(e, t) {
4357
4357
  var r, a;
@@ -4380,7 +4380,7 @@ const Xe = /* @__PURE__ */ new WeakMap(), nt = () => {
4380
4380
  ), Fa = Object, X = (e) => e === we, Ge = (e) => typeof e == "function", lt = (e, t) => ({
4381
4381
  ...e,
4382
4382
  ...t
4383
- }), si = (e) => Ge(e.then), ta = {}, pr = {}, yo = "undefined", sr = typeof window != yo, Ua = typeof document != yo, Xu = sr && "Deno" in window, Zu = () => sr && typeof window.requestAnimationFrame != yo, ii = (e, t) => {
4383
+ }), ni = (e) => Ge(e.then), ta = {}, pr = {}, yo = "undefined", sr = typeof window != yo, Ua = typeof document != yo, Xu = sr && "Deno" in window, Zu = () => sr && typeof window.requestAnimationFrame != yo, si = (e, t) => {
4384
4384
  const r = Xe.get(e);
4385
4385
  return [
4386
4386
  // Getter
@@ -4465,7 +4465,7 @@ const Wa = (e) => {
4465
4465
  };
4466
4466
  let cf = 0;
4467
4467
  const qa = () => ++cf;
4468
- async function li(...e) {
4468
+ async function ii(...e) {
4469
4469
  const [t, r, a, o] = e, n = lt({
4470
4470
  populateCache: !0,
4471
4471
  throwOnError: !0
@@ -4487,9 +4487,9 @@ async function li(...e) {
4487
4487
  async function u(h) {
4488
4488
  const [m] = bo(h);
4489
4489
  if (!m) return;
4490
- const [p, y] = ii(t, m), [b, _, w, k] = Xe.get(t), C = () => {
4490
+ const [p, y] = si(t, m), [b, _, w, k] = Xe.get(t), C = () => {
4491
4491
  const A = b[m];
4492
- return (Ge(n.revalidate) ? n.revalidate(p().data, h) : n.revalidate !== !1) && (delete w[m], delete k[m], A && A[0]) ? A[0](ni).then(() => p().data) : p().data;
4492
+ return (Ge(n.revalidate) ? n.revalidate(p().data, h) : n.revalidate !== !1) && (delete w[m], delete k[m], A && A[0]) ? A[0](oi).then(() => p().data) : p().data;
4493
4493
  };
4494
4494
  if (e.length < 3)
4495
4495
  return C();
@@ -4509,7 +4509,7 @@ async function li(...e) {
4509
4509
  } catch (A) {
4510
4510
  v = A;
4511
4511
  }
4512
- if (I && si(I))
4512
+ if (I && ni(I))
4513
4513
  if (I = await I.catch((A) => {
4514
4514
  v = A;
4515
4515
  }), x !== _[m][0]) {
@@ -4549,7 +4549,7 @@ const bn = (e, t) => {
4549
4549
  e[r][0] && e[r][0](t);
4550
4550
  }, df = (e, t) => {
4551
4551
  if (!Xe.has(e)) {
4552
- const r = lt(nf, t), a = {}, o = li.bind(we, e);
4552
+ const r = lt(nf, t), a = {}, o = ii.bind(we, e);
4553
4553
  let n = nt;
4554
4554
  const s = {}, c = (f, u) => {
4555
4555
  const h = s[f] || [];
@@ -4570,7 +4570,7 @@ const bn = (e, t) => {
4570
4570
  i,
4571
4571
  c
4572
4572
  ]), !Qt)) {
4573
- const f = r.initFocus(setTimeout.bind(we, bn.bind(we, a, ai))), u = r.initReconnect(setTimeout.bind(we, bn.bind(we, a, oi)));
4573
+ const f = r.initFocus(setTimeout.bind(we, bn.bind(we, a, ri))), u = r.initReconnect(setTimeout.bind(we, bn.bind(we, a, ai)));
4574
4574
  n = () => {
4575
4575
  f && f(), u && u(), Xe.delete(e);
4576
4576
  };
@@ -4590,7 +4590,7 @@ const bn = (e, t) => {
4590
4590
  }, uf = (e, t, r, a, o) => {
4591
4591
  const n = r.errorRetryCount, s = o.retryCount, c = ~~((Math.random() + 0.5) * (1 << (s < 8 ? s : 8))) * r.errorRetryInterval;
4592
4592
  !X(n) && s > n || setTimeout(a, c, o);
4593
- }, ff = Va, [ci, hf] = df(/* @__PURE__ */ new Map()), mf = lt(
4593
+ }, ff = Va, [li, hf] = df(/* @__PURE__ */ new Map()), mf = lt(
4594
4594
  {
4595
4595
  // events
4596
4596
  onLoadingSlow: nt,
@@ -4611,7 +4611,7 @@ const bn = (e, t) => {
4611
4611
  // providers
4612
4612
  compare: ff,
4613
4613
  isPaused: () => !1,
4614
- cache: ci,
4614
+ cache: li,
4615
4615
  mutate: hf,
4616
4616
  fallback: {}
4617
4617
  },
@@ -4624,8 +4624,8 @@ const bn = (e, t) => {
4624
4624
  a && n && (r.use = a.concat(n)), o && s && (r.fallback = lt(o, s));
4625
4625
  }
4626
4626
  return r;
4627
- }, gf = is({}), yf = "$inf$", di = sr && window.__SWR_DEVTOOLS_USE__, bf = di ? window.__SWR_DEVTOOLS_USE__ : [], vf = () => {
4628
- di && (window.__SWR_DEVTOOLS_REACT__ = F);
4627
+ }, gf = ss({}), yf = "$inf$", ci = sr && window.__SWR_DEVTOOLS_USE__, bf = ci ? window.__SWR_DEVTOOLS_USE__ : [], vf = () => {
4628
+ ci && (window.__SWR_DEVTOOLS_REACT__ = F);
4629
4629
  }, _f = (e) => Ge(e[1]) ? [
4630
4630
  e[0],
4631
4631
  e[1],
@@ -4635,7 +4635,7 @@ const bn = (e, t) => {
4635
4635
  null,
4636
4636
  (e[1] === null ? e[2] : e[1]) || {}
4637
4637
  ], wf = () => lt(mf, te(gf)), kf = (e) => (t, r, a) => e(t, r && ((...n) => {
4638
- const [s] = bo(t), [, , , c] = Xe.get(ci);
4638
+ const [s] = bo(t), [, , , c] = Xe.get(li);
4639
4639
  if (s.startsWith(yf))
4640
4640
  return r(...n);
4641
4641
  const i = c[s];
@@ -4677,7 +4677,7 @@ const na = F.use || // This extra generic is to avoid TypeScript mixing up the g
4677
4677
  }), sa = {
4678
4678
  dedupe: !0
4679
4679
  }, Cf = (e, t, r) => {
4680
- const { cache: a, compare: o, suspense: n, fallbackData: s, revalidateOnMount: c, revalidateIfStale: i, refreshInterval: d, refreshWhenHidden: f, refreshWhenOffline: u, keepPreviousData: h } = r, [m, p, y, b] = Xe.get(a), [_, w] = bo(e), k = L(!1), C = L(!1), I = L(_), v = L(t), x = L(r), E = () => x.current, T = () => E().isVisible() && E().isOnline(), [S, R, $, A] = ii(a, _), D = L({}).current, V = X(s) ? X(r.fallback) ? we : r.fallback[_] : s, M = (B, H) => {
4680
+ const { cache: a, compare: o, suspense: n, fallbackData: s, revalidateOnMount: c, revalidateIfStale: i, refreshInterval: d, refreshWhenHidden: f, refreshWhenOffline: u, keepPreviousData: h } = r, [m, p, y, b] = Xe.get(a), [_, w] = bo(e), k = L(!1), C = L(!1), I = L(_), v = L(t), x = L(r), E = () => x.current, T = () => E().isVisible() && E().isOnline(), [S, R, $, A] = si(a, _), D = L({}).current, V = X(s) ? X(r.fallback) ? we : r.fallback[_] : s, M = (B, H) => {
4681
4681
  for (const W in D) {
4682
4682
  const j = W;
4683
4683
  if (j === "data") {
@@ -4716,7 +4716,7 @@ const na = F.use || // This extra generic is to avoid TypeScript mixing up the g
4716
4716
  a,
4717
4717
  _
4718
4718
  ]
4719
- ), G[0], G[1]), Q = !k.current, ue = m[_] && m[_].length > 0, Le = q.data, xe = X(Le) ? V && si(V) ? na(V) : V : Le, Be = q.error, Je = L(xe), Y = h ? X(Le) ? X(Je.current) ? xe : Je.current : Le : xe, se = ue && !X(Be) ? !1 : Q && !X(c) ? c : E().isPaused() ? !1 : n ? X(xe) ? !1 : i : X(xe) || i, re = !!(_ && t && Q && se), he = X(q.isValidating) ? re : q.isValidating, Te = X(q.isLoading) ? re : q.isLoading, ye = J(
4719
+ ), G[0], G[1]), Q = !k.current, ue = m[_] && m[_].length > 0, Le = q.data, xe = X(Le) ? V && ni(V) ? na(V) : V : Le, Be = q.error, Je = L(xe), Y = h ? X(Le) ? X(Je.current) ? xe : Je.current : Le : xe, se = ue && !X(Be) ? !1 : Q && !X(c) ? c : E().isPaused() ? !1 : n ? X(xe) ? !1 : i : X(xe) || i, re = !!(_ && t && Q && se), he = X(q.isValidating) ? re : q.isValidating, Te = X(q.isLoading) ? re : q.isLoading, ye = J(
4720
4720
  async (B) => {
4721
4721
  const H = v.current;
4722
4722
  if (!_ || !H || C.current || E().isPaused())
@@ -4781,7 +4781,7 @@ const na = F.use || // This extra generic is to avoid TypeScript mixing up the g
4781
4781
  ]
4782
4782
  ), ut = J(
4783
4783
  // Use callback to make sure `keyRef.current` returns latest result every time
4784
- (...B) => li(a, I.current, ...B),
4784
+ (...B) => ii(a, I.current, ...B),
4785
4785
  // eslint-disable-next-line react-hooks/exhaustive-deps
4786
4786
  []
4787
4787
  );
@@ -4792,13 +4792,13 @@ const na = F.use || // This extra generic is to avoid TypeScript mixing up the g
4792
4792
  const B = ye.bind(we, sa);
4793
4793
  let H = 0;
4794
4794
  const j = Ef(_, m, (me, Se = {}) => {
4795
- if (me == ai) {
4795
+ if (me == ri) {
4796
4796
  const ie = Date.now();
4797
4797
  E().revalidateOnFocus && ie > H && T() && (H = ie + E().focusThrottleInterval, B());
4798
- } else if (me == oi)
4798
+ } else if (me == ai)
4799
4799
  E().revalidateOnReconnect && T() && B();
4800
4800
  else {
4801
- if (me == ni)
4801
+ if (me == oi)
4802
4802
  return ye();
4803
4803
  if (me == mn)
4804
4804
  return ye(Se);
@@ -4878,7 +4878,7 @@ function If() {
4878
4878
  return ia = e, ia;
4879
4879
  }
4880
4880
  var Sf = /* @__PURE__ */ If();
4881
- const Nf = /* @__PURE__ */ ei(Sf);
4881
+ const Nf = /* @__PURE__ */ Zs(Sf);
4882
4882
  function _n(e, t) {
4883
4883
  return t != null ? Nf(e, t) : e;
4884
4884
  }
@@ -5068,7 +5068,7 @@ function Af({
5068
5068
  id: (me = U.id) != null ? me : y(),
5069
5069
  createdAt: (Se = U.createdAt) != null ? Se : /* @__PURE__ */ new Date(),
5070
5070
  experimental_attachments: ie.length > 0 ? ie : void 0,
5071
- parts: ti(U)
5071
+ parts: ei(U)
5072
5072
  });
5073
5073
  return ue({ messages: ne, headers: H, body: W, data: B });
5074
5074
  },
@@ -5149,7 +5149,7 @@ function Af({
5149
5149
  ), D === "submitted" || D === "streaming")
5150
5150
  return;
5151
5151
  const W = H[H.length - 1];
5152
- ri(W) && ue({ messages: H });
5152
+ ti(W) && ue({ messages: H });
5153
5153
  },
5154
5154
  [T, D, ue]
5155
5155
  );
@@ -5178,9 +5178,9 @@ const wn = () => ({
5178
5178
  onError: /* @__PURE__ */ new Set(),
5179
5179
  onResponse: /* @__PURE__ */ new Set(),
5180
5180
  onToolCall: /* @__PURE__ */ new Set()
5181
- }), ui = is(null);
5181
+ }), di = ss(null);
5182
5182
  function Tt(e = {}) {
5183
- const t = te(ui);
5183
+ const t = te(di);
5184
5184
  if (!t)
5185
5185
  throw new Error("useAiChat must be used within a AiChatProvider");
5186
5186
  const r = L(e);
@@ -5233,7 +5233,7 @@ function Of({
5233
5233
  onToolCall: s
5234
5234
  });
5235
5235
  return /* @__PURE__ */ l(
5236
- ui.Provider,
5236
+ di.Provider,
5237
5237
  {
5238
5238
  value: {
5239
5239
  chat: c,
@@ -5251,6 +5251,8 @@ const $f = "z-20", Lf = "z-10", Mf = "user", Ar = "assistant", Fr = "OpenAI", vo
5251
5251
  Vf
5252
5252
  ],
5253
5253
  [_o]: [Ff]
5254
+ }, ui = {
5255
+ REASONING: "sassy:advanced:reasoning"
5254
5256
  }, Hf = "x-callisto-chat-id", Gf = (e) => {
5255
5257
  for (const [t, r] of Object.entries(
5256
5258
  Uf
@@ -6390,7 +6392,7 @@ const Mh = ({
6390
6392
  }
6391
6393
  });
6392
6394
  };
6393
- xs(
6395
+ ks(
6394
6396
  [
6395
6397
  [
6396
6398
  "mod+N",
@@ -7052,15 +7054,15 @@ function nm({
7052
7054
  open: t,
7053
7055
  onOpenChange: r
7054
7056
  } = {}) {
7055
- const [a, o] = ae.useState(e), [n, s] = ae.useState(), [c, i] = ae.useState(), d = t ?? a, f = r ?? o, u = us({
7057
+ const [a, o] = ae.useState(e), [n, s] = ae.useState(), [c, i] = ae.useState(), d = t ?? a, f = r ?? o, u = ds({
7056
7058
  open: d,
7057
7059
  onOpenChange: f
7058
- }), h = u.context, m = fs(h, {
7060
+ }), h = u.context, m = us(h, {
7059
7061
  enabled: t == null
7060
- }), p = hs(h, {
7062
+ }), p = fs(h, {
7061
7063
  outsidePress: !1,
7062
7064
  outsidePressEvent: "mousedown"
7063
- }), y = ms(h), b = ps([m, p, y]);
7065
+ }), y = hs(h), b = ms([m, p, y]);
7064
7066
  return ae.useMemo(
7065
7067
  () => ({
7066
7068
  open: d,
@@ -7096,7 +7098,7 @@ const im = ae.forwardRef(function(e, t) {
7096
7098
  [`${n}`]: n,
7097
7099
  "bg-black sm:bg-black/[.8]": !n
7098
7100
  });
7099
- return /* @__PURE__ */ l(cs, { children: /* @__PURE__ */ l(Tl, { className: c, lockScroll: !0, children: /* @__PURE__ */ l(ds, { context: r, children: /* @__PURE__ */ l(
7101
+ return /* @__PURE__ */ l(ls, { children: /* @__PURE__ */ l(Tl, { className: c, lockScroll: !0, children: /* @__PURE__ */ l(cs, { context: r, children: /* @__PURE__ */ l(
7100
7102
  "div",
7101
7103
  {
7102
7104
  ref: o,
@@ -7380,7 +7382,7 @@ const dt = ({
7380
7382
  return t.displayName || t.name || "Component";
7381
7383
  }
7382
7384
  return "Element";
7383
- }, Si = ls(
7385
+ }, Si = is(
7384
7386
  ({
7385
7387
  trigger: e,
7386
7388
  children: t,
@@ -7391,7 +7393,7 @@ const dt = ({
7391
7393
  focusMode: s = "system",
7392
7394
  ...c
7393
7395
  }, i) => {
7394
- const [d, f] = z(!1), [u, h] = z(!1), [m, p] = z(null), y = L([]), b = L([]), _ = te(Qa), w = gs(), k = Cl(), C = ys(), { floatingStyles: I, refs: v, context: x } = us({
7396
+ const [d, f] = z(!1), [u, h] = z(!1), [m, p] = z(null), y = L([]), b = L([]), _ = te(Qa), w = ps(), k = Cl(), C = gs(), { floatingStyles: I, refs: v, context: x } = ds({
7395
7397
  nodeId: k,
7396
7398
  open: d,
7397
7399
  onOpenChange: (Q) => {
@@ -7401,11 +7403,11 @@ const dt = ({
7401
7403
  strategy: "fixed",
7402
7404
  middleware: [Sl({ mainAxis: 10 }), Nl(), Rl()],
7403
7405
  whileElementsMounted: Il
7404
- }), E = fs(x, {
7406
+ }), E = us(x, {
7405
7407
  event: "mousedown",
7406
7408
  toggle: !0,
7407
7409
  ignoreMouse: !1
7408
- }), T = ms(x, { role: "menu" }), S = hs(x, { bubbles: !0 }), R = Al(x, {
7410
+ }), T = hs(x, { role: "menu" }), S = fs(x, { bubbles: !0 }), R = Al(x, {
7409
7411
  listRef: y,
7410
7412
  activeIndex: m,
7411
7413
  nested: !1,
@@ -7415,7 +7417,7 @@ const dt = ({
7415
7417
  listRef: b,
7416
7418
  onMatch: d ? p : void 0,
7417
7419
  activeIndex: m
7418
- }), { getReferenceProps: A, getFloatingProps: D, getItemProps: V } = ps([E, T, S, R, $]), M = Ln(e) === "Button" || Ln(e) === "ButtonIcon", G = M ? {
7420
+ }), { getReferenceProps: A, getFloatingProps: D, getItemProps: V } = ms([E, T, S, R, $]), M = Ln(e) === "Button" || Ln(e) === "ButtonIcon", G = M ? {
7419
7421
  noInternalClick: M,
7420
7422
  focusMode: s,
7421
7423
  mode: n
@@ -7457,8 +7459,8 @@ const dt = ({
7457
7459
  setHasFocusInside: h,
7458
7460
  isOpen: d
7459
7461
  },
7460
- children: /* @__PURE__ */ l(Ll, { elementsRef: y, labelsRef: b, children: d && /* @__PURE__ */ l(cs, { children: /* @__PURE__ */ l(
7461
- ds,
7462
+ children: /* @__PURE__ */ l(Ll, { elementsRef: y, labelsRef: b, children: d && /* @__PURE__ */ l(ls, { children: /* @__PURE__ */ l(
7463
+ cs,
7462
7464
  {
7463
7465
  context: x,
7464
7466
  modal: !1,
@@ -7480,7 +7482,7 @@ const dt = ({
7480
7482
  )
7481
7483
  ] });
7482
7484
  }
7483
- ), Wr = ls((e, t) => /* @__PURE__ */ l(El, { children: /* @__PURE__ */ l(Si, { ...e, ref: t }) }));
7485
+ ), Wr = is((e, t) => /* @__PURE__ */ l(El, { children: /* @__PURE__ */ l(Si, { ...e, ref: t }) }));
7484
7486
  Wr.displayName = "Menu";
7485
7487
  Si.displayName = "MenuComponent";
7486
7488
  const hm = ({
@@ -7578,7 +7580,7 @@ const Qe = ae.forwardRef(
7578
7580
  ...c
7579
7581
  }, i) => {
7580
7582
  let d = "";
7581
- const f = ae.useContext(Qa), u = ys({ label: t ? null : e }), h = gs(), m = no([u.ref, i]);
7583
+ const f = ae.useContext(Qa), u = gs({ label: t ? null : e }), h = ps(), m = no([u.ref, i]);
7582
7584
  if (a && o)
7583
7585
  return /* @__PURE__ */ l(
7584
7586
  "div",
@@ -7977,17 +7979,17 @@ const gm = (e) => {
7977
7979
  {
7978
7980
  id: Fr,
7979
7981
  label: "OpenAI",
7980
- icon: ws
7982
+ icon: _s
7981
7983
  },
7982
7984
  {
7983
7985
  id: vo,
7984
7986
  label: "Anthropic",
7985
- icon: vs
7987
+ icon: bs
7986
7988
  },
7987
7989
  {
7988
7990
  id: _o,
7989
7991
  label: "Google Gemini",
7990
- icon: _s
7992
+ icon: vs
7991
7993
  }
7992
7994
  ], _m = ({ className: e }) => {
7993
7995
  const {
@@ -8000,7 +8002,7 @@ const gm = (e) => {
8000
8002
  getAccessToken: n
8001
8003
  }), u = async (h) => {
8002
8004
  try {
8003
- a(it()), o([]), h !== (f == null ? void 0 : f.provider) && (await Vs({
8005
+ a(it()), o([]), h !== (f == null ? void 0 : f.provider) && (await zs({
8004
8006
  provider: h,
8005
8007
  accessToken: await n(),
8006
8008
  username: (s == null ? void 0 : s.username) || ""
@@ -8181,7 +8183,7 @@ const gm = (e) => {
8181
8183
  } = Tt({
8182
8184
  onFinish: (Y, { usage: se }) => {
8183
8185
  _(), i({
8184
- type: zs,
8186
+ type: Ps,
8185
8187
  payload: {
8186
8188
  usage: se.totalTokens
8187
8189
  }
@@ -8312,7 +8314,7 @@ const gm = (e) => {
8312
8314
  }, Je = (Y) => {
8313
8315
  q(), $(Y);
8314
8316
  };
8315
- return xs([
8317
+ return ks([
8316
8318
  [
8317
8319
  "mod+K",
8318
8320
  () => {
@@ -8344,7 +8346,7 @@ const gm = (e) => {
8344
8346
  (async () => {
8345
8347
  if (st())
8346
8348
  return;
8347
- const Y = await t(), se = await es(Y, [ts.REASONING]);
8349
+ const Y = await t(), se = await es(Y, [ui.REASONING]);
8348
8350
  a(se);
8349
8351
  })();
8350
8352
  }, [t]), P(() => {
@@ -8423,10 +8425,10 @@ const gm = (e) => {
8423
8425
  } = te(Ie), {
8424
8426
  state: { footerHeight: o, footerPosition: n },
8425
8427
  dispatch: s
8426
- } = te(ko), { messages: c } = Tt(), { height: i } = Sc(), { height: d } = Nc(), [f, u] = Es();
8428
+ } = te(ko), { messages: c } = Tt(), { height: i } = Sc(), { height: d } = Nc(), [f, u] = Ts();
8427
8429
  return P(() => {
8428
8430
  o !== u.height && s({
8429
- type: Ps,
8431
+ type: Bs,
8430
8432
  payload: {
8431
8433
  footerHeight: u.height
8432
8434
  }
@@ -8501,7 +8503,7 @@ const gm = (e) => {
8501
8503
  }, Vm = oo(
8502
8504
  () => import(
8503
8505
  /* webpackChunkName: "LazyAboutChangelog" */
8504
- "./AboutChangelog.BxF339jF.js"
8506
+ "./AboutChangelog.cSF5fWBe.js"
8505
8507
  )
8506
8508
  ), Fm = () => {
8507
8509
  const e = Jt(), t = Jt(), { data: r, isSuccess: a } = Jd(), { data: o, isSuccess: n } = Kd(), s = (r == null ? void 0 : r.version) || "", c = (r == null ? void 0 : r.models) || [];
@@ -8512,8 +8514,8 @@ const gm = (e) => {
8512
8514
  header: ce.ABOUT.TITLE_CLIENT,
8513
8515
  className: "prose-dark dark:prose-lighter mb-4",
8514
8516
  children: Sr(e, {
8515
- [ce.ABOUT.VERSION]: "8.17.1",
8516
- [ce.ABOUT.BUILD_TIMESTAMP]: "05/17/2025 07:35 PM EDT"
8517
+ [ce.ABOUT.VERSION]: "8.17.2",
8518
+ [ce.ABOUT.BUILD_TIMESTAMP]: "05/18/2025 09:07 AM EDT"
8517
8519
  })
8518
8520
  }
8519
8521
  ),
@@ -8543,9 +8545,9 @@ const gm = (e) => {
8543
8545
  open: e,
8544
8546
  onOpenChange: t
8545
8547
  }) => /* @__PURE__ */ l(Ht, { open: e, onOpenChange: t, title: nl, children: /* @__PURE__ */ l(Fm, {}) }), Hm = {
8546
- [vo]: vs,
8547
- [Fr]: ws,
8548
- [_o]: _s
8548
+ [vo]: bs,
8549
+ [Fr]: _s,
8550
+ [_o]: vs
8549
8551
  }, Gm = ({
8550
8552
  filteredHistory: e,
8551
8553
  dispatch: t,
@@ -8564,7 +8566,7 @@ const gm = (e) => {
8564
8566
  setChatId: y,
8565
8567
  setInitialMessages: b
8566
8568
  } = te(Ie), { setInput: _ } = Tt(), [, w] = _t({
8567
- key: vt + rs,
8569
+ key: vt + ts,
8568
8570
  initialValue: h.sortDirection
8569
8571
  }), { refetch: k } = nr({
8570
8572
  user: o == null ? void 0 : o.username,
@@ -8620,7 +8622,7 @@ const gm = (e) => {
8620
8622
  id: T.id
8621
8623
  }
8622
8624
  });
8623
- G.status === 200 && (G.data.provider !== D && (await Vs({
8625
+ G.status === 200 && (G.data.provider !== D && (await zs({
8624
8626
  provider: G.data.provider,
8625
8627
  accessToken: $,
8626
8628
  username: A
@@ -8683,7 +8685,7 @@ const gm = (e) => {
8683
8685
  ]
8684
8686
  }
8685
8687
  ),
8686
- /* @__PURE__ */ l("div", { className: as, children: /* @__PURE__ */ l(La, { containerId: "history-table" }) }),
8688
+ /* @__PURE__ */ l("div", { className: rs, children: /* @__PURE__ */ l(La, { containerId: "history-table" }) }),
8687
8689
  /* @__PURE__ */ N(od, { stickyHeader: !0, stickyFooter: !0, compact: !0, children: [
8688
8690
  /* @__PURE__ */ l(nd, { children: /* @__PURE__ */ N(Kr, { children: [
8689
8691
  /* @__PURE__ */ l(ze, { className: "sr-only", children: "Row" }),
@@ -8803,7 +8805,7 @@ const gm = (e) => {
8803
8805
  sortDirection: f,
8804
8806
  getAccessToken: r
8805
8807
  }), [, p] = _t({
8806
- key: vt + os,
8808
+ key: vt + as,
8807
8809
  initialValue: i.searchString
8808
8810
  });
8809
8811
  P(() => {
@@ -9864,7 +9866,7 @@ const Tp = ({
9864
9866
  ) : null;
9865
9867
  }, ht = [0, 3, 6, 9], Ep = oo(() => import(
9866
9868
  /* webpackChunkName: "LazyChart" */
9867
- "./Chart.BvRURUdv.js"
9869
+ "./Chart.DH0hJKIt.js"
9868
9870
  )), Cp = ({
9869
9871
  open: e,
9870
9872
  onOpenChange: t
@@ -9970,7 +9972,7 @@ const Tp = ({
9970
9972
  (async () => {
9971
9973
  if (!st())
9972
9974
  return;
9973
- const x = await r(), E = await es(x, [ts.REASONING]);
9975
+ const x = await r(), E = await es(x, [ui.REASONING]);
9974
9976
  p(E);
9975
9977
  })();
9976
9978
  }, [r]), /* @__PURE__ */ N(de, { children: [
@@ -11492,7 +11494,7 @@ const Eg = ({ content: e }) => /* @__PURE__ */ l(
11492
11494
  ), qn = 2, Cg = oo(
11493
11495
  () => import(
11494
11496
  /* webpackChunkName: "LazyMessageAssistant" */
11495
- "./ChatBubbleAssistant.CnmnTFFI.js"
11497
+ "./ChatBubbleAssistant.B8FA0KWK.js"
11496
11498
  )
11497
11499
  ), Ig = F.memo(
11498
11500
  ({
@@ -11562,7 +11564,7 @@ const Eg = ({ content: e }) => /* @__PURE__ */ l(
11562
11564
  return P(() => {
11563
11565
  i && u();
11564
11566
  }, [i, u]), P(() => {
11565
- d.current = n === Yt ? s + c + ns + vl : 0;
11567
+ d.current = n === Yt ? s + c + os + vl : 0;
11566
11568
  }, [n, s, c]), /* @__PURE__ */ N(de, { children: [
11567
11569
  /* @__PURE__ */ N("div", { className: f, ref: a, children: [
11568
11570
  /* @__PURE__ */ l(_l, {}),
@@ -11584,11 +11586,11 @@ function ji({
11584
11586
  isComponent: e = !1,
11585
11587
  headerHeight: t = 0
11586
11588
  }) {
11587
- const { user: r, getAccessToken: a } = Oe(), [o, n] = z(`${qo}px`), [s, c] = Es(), [i, d] = z(it()), [f, u] = z([]), [h] = _t({
11588
- key: vt + os,
11589
+ const { user: r, getAccessToken: a } = Oe(), [o, n] = z(`${qo}px`), [s, c] = Ts(), [i, d] = z(it()), [f, u] = z([]), [h] = _t({
11590
+ key: vt + as,
11589
11591
  initialValue: ""
11590
11592
  }), [m] = _t({
11591
- key: vt + rs,
11593
+ key: vt + ts,
11592
11594
  initialValue: He.ASC
11593
11595
  }), [p, y] = Gt(jd, {
11594
11596
  footerPosition: "FOOTER_TOP",
@@ -11635,7 +11637,7 @@ function ji({
11635
11637
  if (p.footerPosition === "FOOTER_BOTTOM") {
11636
11638
  const x = `calc(${c.height}px + 20px)`;
11637
11639
  n(
11638
- `calc(100svh - ${t}px - ${x} - ${p.footerHeight}px - ${p.footerOffset}px - ${ns}px)`
11640
+ `calc(100svh - ${t}px - ${x} - ${p.footerHeight}px - ${p.footerOffset}px - ${os}px)`
11639
11641
  );
11640
11642
  } else
11641
11643
  n(`${qo}px`);
@@ -11678,7 +11680,7 @@ function ji({
11678
11680
  }
11679
11681
  },
11680
11682
  children: [
11681
- /* @__PURE__ */ N("div", { className: as, children: [
11683
+ /* @__PURE__ */ N("div", { className: rs, children: [
11682
11684
  /* @__PURE__ */ l(La, { containerId: "toggle-save" }),
11683
11685
  /* @__PURE__ */ l(La, { containerId: "toggle-provider" })
11684
11686
  ] }),
@@ -11730,6 +11732,6 @@ export {
11730
11732
  _t as E,
11731
11733
  Fi as Me,
11732
11734
  xc as b,
11733
- ei as getDefaultExportFromCjs,
11735
+ Zs as getDefaultExportFromCjs,
11734
11736
  tg as ze
11735
11737
  };