@versini/sassysaint 8.42.0 → 8.42.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,7 +1,7 @@
1
1
  import { jsx as Tp } from "react/jsx-runtime";
2
- import { getDefaultExportFromCjs as ln } from "./App.DXta-gvo.js";
2
+ import { getDefaultExportFromCjs as ln } from "./App.LB-VjAKc.js";
3
3
  import Ap, { useState as Cp, useEffect as Pp } from "react";
4
- import { TRIMESTERS as rn, TRIMESTERS_SHORT as Op, isProbablyMobile as Lp } from "./index.DO75xJrQ.js";
4
+ import { TRIMESTERS as rn, TRIMESTERS_SHORT as Op, isProbablyMobile as Lp } from "./index.BelZuQjs.js";
5
5
  var ls = { exports: {} }, Ep = ls.exports, on;
6
6
  function Ip() {
7
7
  return on || (on = 1, (function(ve, ne) {
@@ -1,9 +1,9 @@
1
1
  import { jsx as T } from "react/jsx-runtime";
2
- import { n as F, convertCamelCaseToReadable as O, numberFormatter as P, pluralize as R, re as v } from "./index.DO75xJrQ.js";
3
- import { ChatContext as y, useUserPreferences as G, Me as L, Oe as A } from "./App.DXta-gvo.js";
2
+ import { n as F, convertCamelCaseToReadable as O, numberFormatter as P, pluralize as R, re as v } from "./index.BelZuQjs.js";
3
+ import { ChatContext as y, useUserPreferences as G, Me as L, Oe as A } from "./App.LB-VjAKc.js";
4
4
  import E from "clsx";
5
5
  import D, { useState as x, useRef as S, useEffect as U, useContext as _ } from "react";
6
- import { useMarkdown as j } from "./useMarkdown.ngn9Ceqg.js";
6
+ import { useMarkdown as j } from "./useMarkdown.FF5vDuZM.js";
7
7
  const q = 2, I = q * 1e3, b = "", W = (e) => e * (2 - e);
8
8
  function $(e, n = !0) {
9
9
  const [a, p] = x(0), [i, C] = x(0), [t, h] = x(e), r = S(0), s = S(0);
@@ -1,6 +1,6 @@
1
1
  import { jsxs as h, jsx as e, Fragment as ne } from "react/jsx-runtime";
2
- import { I as z, ue$1 as A, Ae as M, INFINITE_SCROLL_THRESHOLD as F, CARDS as ce, pluralize as ie, ue as I, numberFormatter as le, de, isProbablyMobile as me, E as he, a as ue, i as pe, n as Y, INFINITE_SCROLL_LIMIT as U, LOCAL_STORAGE_PREFIX as v, LOCAL_STORAGE_SORT_TIMESTAMP as Ce, LOCAL_STORAGE_SORT_TOKEN_USAGE as Se, LOCAL_STORAGE_SORT as Te, APP_CLASSNAME as ge, ACTION_SORT as Ee, TOAST_CHAT_DELETED as xe, TOAST_PROVIDER_CHANGED as fe, LOCAL_STORAGE_SEARCH as ye, HISTORY_TITLE as Ae, pe$1 as De, debounce as Oe, ACTION_SEARCH as Re } from "./index.DO75xJrQ.js";
3
- import { De as Ne, He as ve, qe as k, Ge as we, Fe as Me, Pe as C, Ye as $, st as V, a as _e, p$1 as ke, p$2 as Ie, HistoryContext as K, ChatContext as W, useAiChat as be, E as w, E$1 as y, useUserPreferences as Le, ConfirmationPanel as ze, LazyToastContainerWrapper as He, mutateCall as B, SERVICE_TYPES as G, showErrorToast as Pe, setNewProvider as Ue, CHAT_SET_PROVIDER as $e, showSuccessToast as Ve, CHAT_SET_STATUS as Be, useChatsHistory as Ge, tt as Fe, a$1 as Ye } from "./App.DXta-gvo.js";
2
+ import { I as z, ue$1 as A, Ae as M, INFINITE_SCROLL_THRESHOLD as F, CARDS as ce, pluralize as ie, ue as I, numberFormatter as le, de, isProbablyMobile as me, E as he, a as ue, i as pe, n as Y, INFINITE_SCROLL_LIMIT as U, LOCAL_STORAGE_PREFIX as v, LOCAL_STORAGE_SORT_TIMESTAMP as Ce, LOCAL_STORAGE_SORT_TOKEN_USAGE as Se, LOCAL_STORAGE_SORT as Te, APP_CLASSNAME as ge, ACTION_SORT as Ee, TOAST_CHAT_DELETED as xe, TOAST_PROVIDER_CHANGED as fe, LOCAL_STORAGE_SEARCH as ye, HISTORY_TITLE as Ae, pe$1 as De, debounce as Oe, ACTION_SEARCH as Re } from "./index.BelZuQjs.js";
3
+ import { De as Ne, He as ve, qe as k, Ge as we, Fe as Me, Pe as C, Ye as V, st as $, p$1 as _e, z as ke, p$2 as Ie, HistoryContext as K, ChatContext as W, useAiChat as be, E as w, E$1 as y, useUserPreferences as Le, ConfirmationPanel as ze, LazyToastContainerWrapper as He, mutateCall as B, SERVICE_TYPES as G, showErrorToast as Pe, setNewProvider as Ue, CHAT_SET_PROVIDER as Ve, showSuccessToast as $e, CHAT_SET_STATUS as Be, useChatsHistory as Ge, tt as Fe, a as Ye } from "./App.LB-VjAKc.js";
4
4
  import { Fragment as Ke, useRef as b, useState as L, useContext as _, useCallback as We, useEffect as j } from "react";
5
5
  const je = ({
6
6
  className: c,
@@ -118,7 +118,7 @@ const je = ({
118
118
  return /* @__PURE__ */ e(C, { className: "sr-only", children: "Row" }, t);
119
119
  case r.TIMESTAMP:
120
120
  return /* @__PURE__ */ e(
121
- $,
121
+ V,
122
122
  {
123
123
  buttonClassName: "text-xs sm:text-sm",
124
124
  cellId: A,
@@ -138,7 +138,7 @@ const je = ({
138
138
  return /* @__PURE__ */ e(C, { className: "text-xs sm:text-sm", children: "Provider" }, t);
139
139
  case r.TOKEN_USAGE:
140
140
  return /* @__PURE__ */ e(
141
- $,
141
+ V,
142
142
  {
143
143
  buttonClassName: "text-xs sm:text-sm",
144
144
  cellId: M,
@@ -220,7 +220,7 @@ const je = ({
220
220
  case r.ACTIONS:
221
221
  return /* @__PURE__ */ e(C, { children: /* @__PURE__ */ h("div", { className: "flex flex-col items-end sm:flex-row gap-2", children: [
222
222
  /* @__PURE__ */ e(
223
- V,
223
+ $,
224
224
  {
225
225
  label: "Restore chat",
226
226
  mode: "alt-system",
@@ -242,7 +242,7 @@ const je = ({
242
242
  }
243
243
  ),
244
244
  /* @__PURE__ */ e(
245
- V,
245
+ $,
246
246
  {
247
247
  label: "Delete chat",
248
248
  mode: "alt-system",
@@ -373,11 +373,11 @@ const je = ({
373
373
  accessToken: p,
374
374
  username: i?.username || ""
375
375
  }), o({
376
- type: $e,
376
+ type: Ve,
377
377
  payload: {
378
378
  provider: n.data.provider
379
379
  }
380
- }), ee(), await Ve(
380
+ }), ee(), await $e(
381
381
  `${fe} ${n.data.provider}`,
382
382
  {
383
383
  containerId: "toggle-provider"
@@ -1,4 +1,4 @@
1
- import { createContext as xe, createSignal as z, onMount as Dt, createEffect as B, createMemo as q, createComponent as m, Portal as qo, memo as me, Show as R, template as _, insert as k, createRenderEffect as N, className as A, clearDelegatedEvents as bs, delegateEvents as ir, useContext as we, onCleanup as U, sortFns as Hn, mutationSortFns as Vn, on as ct, setAttribute as D, getSidedProp as xs, use as Dn, batch as ws, getQueryStatusLabel as Ot, getMutationStatusColor as Rt, getQueryStatusColor as $s, getQueryStatusColorByLabel as Cs, displayValue as xn, For as Ss, convertRemToPixels as Kr, untrack as Kt, useTransition as ks, spread as Es, mergeProps as j, createRoot as Br, serialize as Ms, Index as Ds, updateNestedDataByPath as sr, addEventListener as As, stringify as Ts, Match as zn, Switch as Fs, deleteNestedDataByPath as Is, createUniqueId as Be, splitProps as X, Dynamic as Ps, createComputed as Ls, getPreferredColorScheme as Os } from "./index.DO75xJrQ.js";
1
+ import { createContext as xe, createSignal as z, onMount as Dt, createEffect as B, createMemo as q, createComponent as m, Portal as qo, memo as me, Show as R, template as _, insert as k, createRenderEffect as N, className as A, clearDelegatedEvents as bs, delegateEvents as ir, useContext as we, onCleanup as U, sortFns as Hn, mutationSortFns as Vn, on as ct, setAttribute as D, getSidedProp as xs, use as Dn, batch as ws, getQueryStatusLabel as Ot, getMutationStatusColor as Rt, getQueryStatusColor as $s, getQueryStatusColorByLabel as Cs, displayValue as xn, For as Ss, convertRemToPixels as Kr, untrack as Kt, useTransition as ks, spread as Es, mergeProps as j, createRoot as Br, serialize as Ms, Index as Ds, updateNestedDataByPath as sr, addEventListener as As, stringify as Ts, Match as zn, Switch as Fs, deleteNestedDataByPath as Is, createUniqueId as Be, splitProps as X, Dynamic as Ps, createComputed as Ls, getPreferredColorScheme as Os } from "./index.BelZuQjs.js";
2
2
  var qs = (e) => e != null, _s = (e) => e.filter(qs);
3
3
  function Rs(e) {
4
4
  return (...t) => {
@@ -1,6 +1,6 @@
1
1
  import { jsxs as t, Fragment as m, jsx as e } from "react/jsx-runtime";
2
- import { i as h, nt as S, tt as R } from "./App.DXta-gvo.js";
3
- import { n as u, S as a, renderDataAsList as N, CARDS as r, isTauri as P, ue as T, l as E, L as p, j as l, PROFILE_TITLE as C } from "./index.DO75xJrQ.js";
2
+ import { i as h, nt as S, tt as R } from "./App.LB-VjAKc.js";
3
+ import { n as u, S as a, renderDataAsList as N, CARDS as r, isTauri as P, ue as T, l as E, L as p, j as l, PROFILE_TITLE as C } from "./index.BelZuQjs.js";
4
4
  const A = () => {
5
5
  const { isAuthenticated: n, user: i, registeringForPasskey: o, authenticationType: c } = u(), d = h(), s = i?.username || "";
6
6
  return n && s ? /* @__PURE__ */ t(m, { children: [
@@ -1,6 +1,6 @@
1
1
  import { jsxs as v, jsx as s } from "react/jsx-runtime";
2
- import { n as ke, LOCAL_STORAGE_PREFIX as xe, LOCAL_STORAGE_SERVICE_WORKER as Ee, isServiceWorkerEnabled as Te, SETTINGS_TITLE as Ne, S as V, CARDS as P, pe as ve, C as re, PROMPTS_DESCRIPTION as we, L as _e, j as ne, getCurrentGeoLocation as Ce, handleServiceWorkerToggle as Se } from "./index.DO75xJrQ.js";
3
- import { useUserPreferences as Ie, E as Ae, tt as Le, mutateCall as se, SERVICE_TYPES as le } from "./App.DXta-gvo.js";
2
+ import { n as ke, LOCAL_STORAGE_PREFIX as xe, LOCAL_STORAGE_SERVICE_WORKER as Ee, isServiceWorkerEnabled as Te, SETTINGS_TITLE as Ne, S as V, CARDS as P, pe as ve, C as re, PROMPTS_DESCRIPTION as we, L as _e, j as ne, getCurrentGeoLocation as Ce, handleServiceWorkerToggle as Se } from "./index.BelZuQjs.js";
3
+ import { useUserPreferences as Ie, E as Ae, tt as Le, mutateCall as se, SERVICE_TYPES as le } from "./App.LB-VjAKc.js";
4
4
  import Re, { useRef as w, useState as g, useLayoutEffect as j, useMemo as de, useEffect as X, useId as Me, useReducer as Oe, useCallback as De } from "react";
5
5
  import i from "clsx";
6
6
  const ue = "av-text-area", Pe = "av-text-area-wrapper", ae = "av-text-area-helper-text", Be = "av-text-area__control--right", Ge = "av-text-area__control--left";
@@ -1,10 +1,10 @@
1
1
  import { jsxs as l, jsx as e } from "react/jsx-runtime";
2
- import { n as f, USAGE_TITLE as U, S as h, renderDataAsList as v, CARDS as n, L as E, j as L, C as m, pluralize as i } from "./index.DO75xJrQ.js";
3
- import { i as M, useUserChatStats as _, useChatsUsage as D, tt as z } from "./App.DXta-gvo.js";
2
+ import { n as f, USAGE_TITLE as U, S as h, renderDataAsList as v, CARDS as n, L as E, j as L, C as m, pluralize as i } from "./index.BelZuQjs.js";
3
+ import { i as M, useUserChatStats as _, useChatsUsage as D, tt as z } from "./App.LB-VjAKc.js";
4
4
  import { useState as O, Suspense as P, lazy as B } from "react";
5
5
  const t = [0, 3, 6, 9], j = B(() => import(
6
6
  /* webpackChunkName: "LazyChart" */
7
- "./Chart.Cr3ZeKqI.js"
7
+ "./Chart.C5bHgMnj.js"
8
8
  )), b = ({
9
9
  open: S,
10
10
  onOpenChange: I
@@ -1,6 +1,6 @@
1
- import { getDefaultExportFromCjs as kn } from "./App.DXta-gvo.js";
2
- import { visit as In } from "./useMarkdown.ngn9Ceqg.js";
3
- import { toText as Cn } from "./index.CQ3UIheu.js";
1
+ import { getDefaultExportFromCjs as kn } from "./App.LB-VjAKc.js";
2
+ import { visit as In } from "./useMarkdown.FF5vDuZM.js";
3
+ import { toText as Cn } from "./index.Cuvb46-v.js";
4
4
  function xn(e) {
5
5
  const t = e.regex, i = e.COMMENT("//", "$", { contains: [{ begin: /\\\n/ }] }), a = "decltype\\(auto\\)", r = "[a-zA-Z_]\\w*::", d = "(?!struct)(" + a + "|" + t.optional(r) + "[a-zA-Z_]\\w*" + t.optional("<[^<>]+>") + ")", c = {
6
6
  className: "type",
@@ -1,5 +1,5 @@
1
- import { find as Aa, parse as Ft, parse$1 as Ht, normalize as Pt, html as Ta, svg as Ba, visitParents as Na, SKIP as Da } from "./useMarkdown.ngn9Ceqg.js";
2
- import { toText as Ca } from "./index.CQ3UIheu.js";
1
+ import { find as Aa, parse as Ft, parse$1 as Ht, normalize as Pt, html as Ta, svg as Ba, visitParents as Na, SKIP as Da } from "./useMarkdown.FF5vDuZM.js";
2
+ import { toText as Ca } from "./index.Cuvb46-v.js";
3
3
  const Gt = /[#.]/g;
4
4
  function qa(r, e) {
5
5
  const t = r || "", a = {};