@versini/sassysaint 8.42.1 → 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.D2WHcogN.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.0TR3rglu.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.0TR3rglu.js";
3
- import { ChatContext as y, useUserPreferences as G, Me as L, Oe as A } from "./App.D2WHcogN.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.C13Ikwtc.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.0TR3rglu.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.D2WHcogN.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,
@@ -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.0TR3rglu.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.D2WHcogN.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.0TR3rglu.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.0TR3rglu.js";
3
- import { useUserPreferences as Ie, E as Ae, tt as Le, mutateCall as se, SERVICE_TYPES as le } from "./App.D2WHcogN.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.0TR3rglu.js";
3
- import { i as M, useUserChatStats as _, useChatsUsage as D, tt as z } from "./App.D2WHcogN.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.5S9Fn3n9.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.D2WHcogN.js";
2
- import { visit as In } from "./useMarkdown.C13Ikwtc.js";
3
- import { toText as Cn } from "./index.Ch8cACzl.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.C13Ikwtc.js";
2
- import { toText as Ca } from "./index.Ch8cACzl.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 = {};
@@ -3084,7 +3084,7 @@ var _u = (e, t = !1) => {
3084
3084
  const t = Li(() => {
3085
3085
  const r = this, [n] = this.#i, [s] = this.#c, [i] = this.#l, [o] = this.#u, [a] = this.#f, [c] = this.#e;
3086
3086
  let d;
3087
- return this.#d ? d = this.#d : (d = Ii(() => import("./LNWAZHJI.C9XhDaDp.js")), this.#d = d), Ca(this.#o, this.#a), Ei(d, Ti({
3087
+ return this.#d ? d = this.#d : (d = Ii(() => import("./LNWAZHJI.CsMjKeDy.js")), this.#d = d), Ca(this.#o, this.#a), Ei(d, Ti({
3088
3088
  get queryFlavor() {
3089
3089
  return r.#r;
3090
3090
  },
@@ -7362,7 +7362,7 @@ Press Ctrl+Enter to send it or Enter for new line.`, Nd = "{{clipboard}}", M = "
7362
7362
  );
7363
7363
  }, Yl = new URL(document.location.href).searchParams, sn = !!Yl.get("debug") || !1, Xl = Ds(() => import(
7364
7364
  /* webpackChunkName: "LazyApp" */
7365
- "./App.D2WHcogN.js"
7365
+ "./App.LB-VjAKc.js"
7366
7366
  ).then((e) => e.App)), Zl = new si(), an = ({
7367
7367
  isComponent: e,
7368
7368
  headerHeight: t
@@ -1,4 +1,4 @@
1
- import { convert as E, convertElement as u } from "./useMarkdown.C13Ikwtc.js";
1
+ import { convert as E, convertElement as u } from "./useMarkdown.FF5vDuZM.js";
2
2
  const f = (
3
3
  // Note: overloads like this are needed to support optional generics.
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { convert as se, visitParents as Me, unicodeWhitespace as I, unicodePunctuation as N, normalizeIdentifier as _, classifyCharacter as W, visit as _e, toString as ce, EXIT as Oe, asciiAlphanumeric as Z, asciiAlpha as P, markdownLineEndingOrSpace as A, asciiControl as je, blankLine as Be, factorySpace as S, splice as q, resolveAll as We, markdownLineEnding as R, markdownSpace as T, combineExtensions as $e } from "./useMarkdown.C13Ikwtc.js";
1
+ import { convert as se, visitParents as Me, unicodeWhitespace as I, unicodePunctuation as N, normalizeIdentifier as _, classifyCharacter as W, visit as _e, toString as ce, EXIT as Oe, asciiAlphanumeric as Z, asciiAlpha as P, markdownLineEndingOrSpace as A, asciiControl as je, blankLine as Be, factorySpace as S, splice as q, resolveAll as We, markdownLineEnding as R, markdownSpace as T, combineExtensions as $e } from "./useMarkdown.FF5vDuZM.js";
2
2
  import { longestStreak as qe } from "./index.Cyw5OC0t.js";
3
3
  function ne(e, n) {
4
4
  const t = String(e);
@@ -1,4 +1,4 @@
1
- import { factorySpace as M, markdownLineEnding as g } from "./useMarkdown.C13Ikwtc.js";
1
+ import { factorySpace as M, markdownLineEnding as g } from "./useMarkdown.FF5vDuZM.js";
2
2
  import { longestStreak as q } from "./index.Cyw5OC0t.js";
3
3
  function b() {
4
4
  return {
@@ -1,8 +1,8 @@
1
1
  import * as rn from "react/jsx-runtime";
2
2
  import { jsx as ae, jsxs as Pn, Fragment as Ir } from "react/jsx-runtime";
3
- import { ue as Tr, isTauri as Pr, unObfuscate as Ar, obfuscate as zr } from "./index.0TR3rglu.js";
3
+ import { ue as Tr, isTauri as Pr, unObfuscate as Ar, obfuscate as zr } from "./index.BelZuQjs.js";
4
4
  import Lr, { useState as Lt, useEffect as _t, useCallback as vt, useRef as Re } from "react";
5
- import { getDefaultExportFromCjs as Nt } from "./App.D2WHcogN.js";
5
+ import { getDefaultExportFromCjs as Nt } from "./App.LB-VjAKc.js";
6
6
  import _r from "clsx";
7
7
  const Rt = ({
8
8
  children: e,
@@ -6867,7 +6867,10 @@ const au = ({
6867
6867
  if (Pr() && e && uu(e)) {
6868
6868
  o.preventDefault(), o.stopPropagation();
6869
6869
  try {
6870
- const { openUrl: a } = await import("./index.CB_Hw3XI.js");
6870
+ const { openUrl: a } = await import(
6871
+ /* webpackChunkName: "tauri-plugin-opener" */
6872
+ "./index.CB_Hw3XI.js"
6873
+ );
6871
6874
  await a(e);
6872
6875
  } catch (a) {
6873
6876
  console.error("Failed to open external URL in Tauri:", a), window.open(e, n || "_blank");
@@ -6896,8 +6899,8 @@ class su {
6896
6899
  async loadGfm() {
6897
6900
  if (!this.remarkGfm) {
6898
6901
  const { default: n } = await import(
6899
- /* webpackChunkName: "LazyRemarkGfm" */
6900
- "./index.BlYckyAF.js"
6902
+ /* webpackChunkName: "md-remark-gfm" */
6903
+ "./index.DVMqsazP.js"
6901
6904
  );
6902
6905
  this.remarkGfm = n;
6903
6906
  }
@@ -6907,8 +6910,8 @@ class su {
6907
6910
  if (!this.rehypeKatex) {
6908
6911
  mu("https://cdn.jsdelivr.net/npm/katex@latest/dist/katex.min.css");
6909
6912
  const { default: n } = await import(
6910
- /* webpackChunkName: "LazyRehypeKatex" */
6911
- "./index.xk-gvDkE.js"
6913
+ /* webpackChunkName: "md-rehype-katex" */
6914
+ "./index.BMH9B-L4.js"
6912
6915
  );
6913
6916
  this.rehypeKatex = n;
6914
6917
  }
@@ -6917,8 +6920,8 @@ class su {
6917
6920
  async loadMath() {
6918
6921
  if (!this.remarkMath) {
6919
6922
  const { default: n } = await import(
6920
- /* webpackChunkName: "LazyRemarkMath" */
6921
- "./index.CjUeFxPM.js"
6923
+ /* webpackChunkName: "md-remark-math" */
6924
+ "./index.DXEgUSxs.js"
6922
6925
  );
6923
6926
  this.remarkMath = n;
6924
6927
  }
@@ -6927,8 +6930,8 @@ class su {
6927
6930
  async loadHighlight() {
6928
6931
  if (!this.rehypeHighlight) {
6929
6932
  const { default: n } = await import(
6930
- /* webpackChunkName: "LazyRehypeHighlight" */
6931
- "./index.DuDf8lDK.js"
6933
+ /* webpackChunkName: "md-rehype-highlight" */
6934
+ "./index.5cZ0mkHb.js"
6932
6935
  );
6933
6936
  this.rehypeHighlight = n;
6934
6937
  }
@@ -1,5 +1,5 @@
1
1
  import "react/jsx-runtime";
2
- import { SassySaint as a } from "../../chunks/index.0TR3rglu.js";
2
+ import { SassySaint as a } from "../../chunks/index.BelZuQjs.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.0TR3rglu.js";
1
+ import { SassySaint as r } from "./chunks/index.BelZuQjs.js";
2
2
  /*!
3
- @sassysaint/client v8.42.1
3
+ @sassysaint/client v8.42.2
4
4
  © 2025 gizmette.com
5
5
  */
6
6
  try {
7
7
  window.__VERSINI_SASSY_GLOBAL__ || (window.__VERSINI_SASSY_GLOBAL__ = {
8
- version: "8.42.1",
9
- buildTime: "08/27/2025 11:26 AM EDT",
8
+ version: "8.42.2",
9
+ buildTime: "08/27/2025 05:38 PM 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": "8.42.1",
3
+ "version": "8.42.2",
4
4
  "license": "MIT",
5
5
  "author": "Arno Versini",
6
6
  "publishConfig": {
@@ -33,7 +33,7 @@
33
33
  "react-dom": "^18.3.1 || ^19.0.0"
34
34
  },
35
35
  "devDependencies": {
36
- "@sassysaint/client": "8.42.1",
36
+ "@sassysaint/client": "8.42.2",
37
37
  "@tailwindcss/vite": "4.1.12",
38
38
  "@versini/ui-styles": "6.0.2"
39
39
  },
@@ -45,5 +45,5 @@
45
45
  "sideEffects": [
46
46
  "**/*.css"
47
47
  ],
48
- "gitHead": "005a8282d4fc1cc1d68f3cdb6a8b526085f6d1cf"
48
+ "gitHead": "d3747c1ad8b967a18306ffe131049b92d62afe2d"
49
49
  }