@versini/sassysaint 8.7.1 → 8.7.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,5 +1,5 @@
1
1
  import { jsx as dp } from "react/jsx-runtime";
2
- import { getDefaultExportFromCjs as Qo } from "./App.DzXI0pGu.js";
2
+ import { getDefaultExportFromCjs as Qo } from "./App.D97Aojcs.js";
3
3
  import cp, { useState as pp, useEffect as up } from "react";
4
4
  var os = { exports: {} }, fp = os.exports, _o;
5
5
  function gp() {
@@ -3,10 +3,10 @@ var Lr = (e, n, t) => n in e ? zr(e, n, { enumerable: !0, configurable: !0, writ
3
3
  var Re = (e, n, t) => Lr(e, typeof n != "symbol" ? n + "" : n, t);
4
4
  import * as ln from "react/jsx-runtime";
5
5
  import { jsx as te, jsxs as Pn, Fragment as Nr } from "react/jsx-runtime";
6
- import { getDefaultExportFromCjs as Ot, ChatContext as _r, E as vr, Re as Xn } from "./App.DzXI0pGu.js";
6
+ import { getDefaultExportFromCjs as Ot, ChatContext as _r, E as vr, Re as Xn } from "./App.D97Aojcs.js";
7
7
  import zn from "clsx";
8
8
  import Mt, { useState as Be, useEffect as Ze, useRef as be, useCallback as Rr, useContext as Or } from "react";
9
- import { re as Mr, unObfuscate as Fr, obfuscate as Dr, LOCAL_STORAGE_PREFIX as Br, LOCAL_STORAGE_CHAT_DETAILS as jr, convertCamelCaseToReadable as Hr, ROLE_INTERNAL as Vr } from "./index.DLtYEoNn.js";
9
+ import { re as Mr, unObfuscate as Fr, obfuscate as Dr, LOCAL_STORAGE_PREFIX as Br, LOCAL_STORAGE_CHAT_DETAILS as jr, convertCamelCaseToReadable as Hr, ROLE_INTERNAL as Vr } from "./index.Ca6Mve0V.js";
10
10
  const Ft = ({
11
11
  children: e,
12
12
  fill: n,
@@ -6846,7 +6846,7 @@ class Su {
6846
6846
  if (!this.remarkGfm) {
6847
6847
  const { default: n } = await import(
6848
6848
  /* webpackChunkName: "LazyRemarkGfm" */
6849
- "./index.OW0mX9-i.js"
6849
+ "./index.Cs31ZTJ_.js"
6850
6850
  );
6851
6851
  this.remarkGfm = n;
6852
6852
  }
@@ -6857,7 +6857,7 @@ class Su {
6857
6857
  Au("https://cdn.jsdelivr.net/npm/katex@latest/dist/katex.min.css");
6858
6858
  const { default: n } = await import(
6859
6859
  /* webpackChunkName: "LazyRehypeKatex" */
6860
- "./index.CuJquMyi.js"
6860
+ "./index.CGmjp_R_.js"
6861
6861
  );
6862
6862
  this.rehypeKatex = n;
6863
6863
  }
@@ -6867,7 +6867,7 @@ class Su {
6867
6867
  if (!this.remarkMath) {
6868
6868
  const { default: n } = await import(
6869
6869
  /* webpackChunkName: "LazyRemarkMath" */
6870
- "./index.B_lFLK0t.js"
6870
+ "./index.Mu1_o3ck.js"
6871
6871
  );
6872
6872
  this.remarkMath = n;
6873
6873
  }
@@ -6877,7 +6877,7 @@ class Su {
6877
6877
  if (!this.rehypeHighlight) {
6878
6878
  const { default: n } = await import(
6879
6879
  /* webpackChunkName: "LazyRehypeHighlight" */
6880
- "./index.CcnCG-yf.js"
6880
+ "./index.C8AWx_NS.js"
6881
6881
  );
6882
6882
  this.rehypeHighlight = n;
6883
6883
  }
@@ -1,7 +1,7 @@
1
1
  var bs = Object.defineProperty;
2
2
  var ps = (e, t, n) => t in e ? bs(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var qe = (e, t, n) => ps(e, typeof t != "symbol" ? t + "" : t, n);
4
- import { createContext as xe, createSignal as R, createEffect as U, createMemo as D, createComponent as m, delegateEvents as rr, onMount as Nt, Portal as Oo, Show as K, insert as k, createRenderEffect as V, className as F, sortFns as Vn, mutationSortFns as Gn, on as ut, setAttribute as A, getQueryStatusColor as xs, getMutationStatusColor as _t, spread as ws, mergeProps as W, getQueryStatusColorByLabel as $s, displayValue as pn, For as Cs, batch as Ss, onCleanup as j, useContext as we, clearDelegatedEvents as ks, splitProps as re, createUniqueId as Ne, serialize as Es, Index as Ds, updateNestedDataByPath as or, template as q, use as Dn, convertRemToPixels as zr, getSidedProp as Ms, getQueryStatusLabel as Pt, untrack as zt, createRoot as Rr, Dynamic as As, addEventListener as Fs, stringify as Ts, Match as zn, Switch as Is, deleteNestedDataByPath as Ls, useTransition as Ps, createComputed as Os, getPreferredColorScheme as qs } from "./index.DLtYEoNn.js";
4
+ import { createContext as xe, createSignal as R, createEffect as U, createMemo as D, createComponent as m, delegateEvents as rr, onMount as Nt, Portal as Oo, Show as K, insert as k, createRenderEffect as V, className as F, sortFns as Vn, mutationSortFns as Gn, on as ut, setAttribute as A, getQueryStatusColor as xs, getMutationStatusColor as _t, spread as ws, mergeProps as W, getQueryStatusColorByLabel as $s, displayValue as pn, For as Cs, batch as Ss, onCleanup as j, useContext as we, clearDelegatedEvents as ks, splitProps as re, createUniqueId as Ne, serialize as Es, Index as Ds, updateNestedDataByPath as or, template as q, use as Dn, convertRemToPixels as zr, getSidedProp as Ms, getQueryStatusLabel as Pt, untrack as zt, createRoot as Rr, Dynamic as As, addEventListener as Fs, stringify as Ts, Match as zn, Switch as Is, deleteNestedDataByPath as Ls, useTransition as Ps, createComputed as Os, getPreferredColorScheme as qs } from "./index.Ca6Mve0V.js";
5
5
  var _s = (e) => e != null, zs = (e) => e.filter(_s);
6
6
  function Rs(e) {
7
7
  return (...t) => {
@@ -1,4 +1,4 @@
1
- import { convert as A, convertElement as u } from "./ChatBubbleAssistant.pudOgy2d.js";
1
+ import { convert as A, convertElement as u } from "./ChatBubbleAssistant.Rc6ePsRQ.js";
2
2
  const f = (
3
3
  // Note: overloads like this are needed to support optional generics.
4
4
  /**
@@ -1,6 +1,6 @@
1
- import { getDefaultExportFromCjs as kn } from "./App.DzXI0pGu.js";
2
- import { visit as In } from "./ChatBubbleAssistant.pudOgy2d.js";
3
- import { toText as Cn } from "./index.PFowj2Sl.js";
1
+ import { getDefaultExportFromCjs as kn } from "./App.D97Aojcs.js";
2
+ import { visit as In } from "./ChatBubbleAssistant.Rc6ePsRQ.js";
3
+ import { toText as Cn } from "./index.BbIzG4NZ.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 { parse as _t, parse$1 as er, visitParents as Za, SKIP as Ja } from "./ChatBubbleAssistant.pudOgy2d.js";
2
- import { toText as Qa } from "./index.PFowj2Sl.js";
1
+ import { parse as _t, parse$1 as er, visitParents as Za, SKIP as Ja } from "./ChatBubbleAssistant.Rc6ePsRQ.js";
2
+ import { toText as Qa } from "./index.BbIzG4NZ.js";
3
3
  class ye {
4
4
  /**
5
5
  * @constructor
@@ -3367,7 +3367,7 @@ var Xu = (e, t = !1) => {
3367
3367
  const t = Ua(() => {
3368
3368
  const r = this, [n] = f(this, wt), [s] = f(this, Et), [i] = f(this, St), [a] = f(this, vt), [o] = f(this, gt);
3369
3369
  let c;
3370
- return f(this, Tt) ? c = f(this, Tt) : (c = ka(() => import("./J3FDRF32.DBAchxL4.js")), w(this, Tt, c)), xo(f(this, Wt), f(this, bt)), va(c, Aa({
3370
+ return f(this, Tt) ? c = f(this, Tt) : (c = ka(() => import("./J3FDRF32.CKseBlF5.js")), w(this, Tt, c)), xo(f(this, Wt), f(this, bt)), va(c, Aa({
3371
3371
  get queryFlavor() {
3372
3372
  return f(r, jt);
3373
3373
  },
@@ -5509,7 +5509,15 @@ const ll = (e) => ke(
5509
5509
  theme: c,
5510
5510
  transition: l,
5511
5511
  icon: d
5512
- }), ts = "av-button", Mr = "icon", Sn = "button", yn = "link", bl = ({
5512
+ });
5513
+ function jd(e, t) {
5514
+ for (const [r, n] of Object.entries(e))
5515
+ for (const s of n)
5516
+ if (new RegExp(`^${s}(-.+|[a-zA-Z0-9]+)?$`).test(t))
5517
+ return r;
5518
+ return null;
5519
+ }
5520
+ const ts = "av-button", Mr = "icon", Sn = "button", yn = "link", bl = ({
5513
5521
  type: e,
5514
5522
  size: t,
5515
5523
  labelRight: r,
@@ -7036,7 +7044,7 @@ try {
7036
7044
  });
7037
7045
  } catch {
7038
7046
  }
7039
- const yu = "ASK! ME! ANYTHING!", Pi = "Callisto", pu = "Log in", gu = "Sign in with a Passkey", jd = "Log out", bu = "Password", qd = "Usage", Wd = "Profile", Jd = "Settings", Yd = "Chat history", zd = "About", Qd = "Type your question here", Xd = "{{clipboard}}", Zd = `Sometimes, ${Pi} hallucinates. Review important details.`, ef = "Prompts are pre-filled menus available on the main screen, to help you quickly start requests. If you select the 'Temporary Chat' checkbox, the corresponding chat will not be saved. If you select the 'Clipboard Access' checkbox, your clipboard content (if any) will be provided to the request.", tf = "Default provider set to", rf = "Chat successfully deleted!", nf = {
7047
+ const yu = "ASK! ME! ANYTHING!", Pi = "Callisto", pu = "Log in", gu = "Sign in with a Passkey", qd = "Log out", bu = "Password", Wd = "Usage", Jd = "Profile", Yd = "Settings", zd = "Chat history", Qd = "About", Xd = "Type your question here", Zd = "{{clipboard}}", ef = `Sometimes, ${Pi} hallucinates. Review important details.`, tf = "Prompts are pre-filled menus available on the main screen, to help you quickly start requests. If you select the 'Temporary Chat' checkbox, the corresponding chat will not be saved. If you select the 'Clipboard Access' checkbox, your clipboard content (if any) will be provided to the request.", rf = "Default provider set to", nf = "Chat successfully deleted!", sf = {
7040
7048
  PREFERENCES: {
7041
7049
  TITLE: "User profile",
7042
7050
  NAME: "Name",
@@ -7206,7 +7214,7 @@ const yu = "ASK! ME! ANYTHING!", Pi = "Callisto", pu = "Log in", gu = "Sign in w
7206
7214
  ) });
7207
7215
  }, Su = new URL(document.location.href).searchParams, ss = !!Su.get("debug") || !1, vu = Mi(() => import(
7208
7216
  /* webpackChunkName: "LazyApp" */
7209
- "./App.DzXI0pGu.js"
7217
+ "./App.D97Aojcs.js"
7210
7218
  ).then((e) => e.App)), Tu = new ia(), is = ({
7211
7219
  isComponent: e,
7212
7220
  headerHeight: t
@@ -7229,7 +7237,7 @@ const yu = "ASK! ME! ANYTHING!", Pi = "Callisto", pu = "Log in", gu = "Sign in w
7229
7237
  endpoint: process.env.PUBLIC_AUTH_SERVER_URL,
7230
7238
  children: /* @__PURE__ */ y(is, { isComponent: e, headerHeight: t })
7231
7239
  }
7232
- ) : /* @__PURE__ */ y(Zn, { clientId: es, domain: r, debug: ss, children: /* @__PURE__ */ y(is, { isComponent: e, headerHeight: t }) }), sf = ({ domain: e, headerHeight: t }) => /* @__PURE__ */ y(
7240
+ ) : /* @__PURE__ */ y(Zn, { clientId: es, domain: r, debug: ss, children: /* @__PURE__ */ y(is, { isComponent: e, headerHeight: t }) }), af = ({ domain: e, headerHeight: t }) => /* @__PURE__ */ y(
7233
7241
  Au,
7234
7242
  {
7235
7243
  isComponent: !0,
@@ -7238,28 +7246,28 @@ const yu = "ASK! ME! ANYTHING!", Pi = "Callisto", pu = "Log in", gu = "Sign in w
7238
7246
  }
7239
7247
  );
7240
7248
  export {
7241
- zd as ABOUT_TITLE,
7249
+ Qd as ABOUT_TITLE,
7242
7250
  Ed as ACTION_RESET_PROMPT,
7243
7251
  gd as ACTION_SEARCH,
7244
7252
  bd as ACTION_SORT,
7245
7253
  wd as ACTION_TOGGLE_PROMPT,
7246
7254
  Pi as APP_NAME,
7247
7255
  ki as C,
7248
- nf as CARDS,
7249
- Xd as CLIPBOARD_PROMPT,
7256
+ sf as CARDS,
7257
+ Zd as CLIPBOARD_PROMPT,
7250
7258
  md as DEFAULT_AI_PROVIDER,
7251
7259
  Cd as DEFAULT_ICON_ACTION_SIZE,
7252
7260
  ju as Dynamic,
7253
7261
  hd as ERROR_MESSAGE,
7254
- Zd as FOOTER_DISCLAIMER,
7262
+ ef as FOOTER_DISCLAIMER,
7255
7263
  $u as For,
7256
7264
  Ld as GRANTS,
7257
- Yd as HISTORY_TITLE,
7265
+ zd as HISTORY_TITLE,
7258
7266
  $r as I,
7259
7267
  ql as I$1,
7260
7268
  _d as INFINITE_SCROLL_LIMIT,
7261
7269
  Rd as INFINITE_SCROLL_THRESHOLD,
7262
- Qd as INPUT_PLACEHOLDER_TEXT,
7270
+ Xd as INPUT_PLACEHOLDER_TEXT,
7263
7271
  Uu as Index,
7264
7272
  Jl as L,
7265
7273
  vd as LOCAL_STORAGE_CHAT_DETAILS,
@@ -7268,12 +7276,12 @@ export {
7268
7276
  kd as LOCAL_STORAGE_REASONING_DISCLOSURE,
7269
7277
  Td as LOCAL_STORAGE_SEARCH,
7270
7278
  Ad as LOCAL_STORAGE_SORT,
7271
- jd as LOG_OUT,
7279
+ qd as LOG_OUT,
7272
7280
  wu as Logo,
7273
7281
  ot as M,
7274
7282
  Fu as Match,
7275
- Wd as PROFILE_TITLE,
7276
- ef as PROMPTS_DESCRIPTION,
7283
+ Jd as PROFILE_TITLE,
7284
+ tf as PROMPTS_DESCRIPTION,
7277
7285
  Od as PROMPT_CLASSNAME,
7278
7286
  Nd as PROMPT_EDITABLE_AREA_CLASSNAME,
7279
7287
  pd as PROVIDER_ANTHROPIC,
@@ -7283,17 +7291,17 @@ export {
7283
7291
  fd as ROLE_INTERNAL,
7284
7292
  ud as ROLE_USER,
7285
7293
  Hl as S,
7286
- Jd as SETTINGS_TITLE,
7287
- sf as SassySaint,
7294
+ Yd as SETTINGS_TITLE,
7295
+ af as SassySaint,
7288
7296
  Ku as Show,
7289
7297
  _r as Subscribable,
7290
7298
  Hu as Switch,
7291
- rf as TOAST_CHAT_DELETED,
7292
- tf as TOAST_PROVIDER_CHANGED,
7299
+ nf as TOAST_CHAT_DELETED,
7300
+ rf as TOAST_PROVIDER_CHANGED,
7293
7301
  xd as UI_BUTTON_SCROLL_BUFFER,
7294
7302
  Dd as UI_DEFAULT_MAIN_HEIGHT,
7295
7303
  Pd as UI_FOOTER_BUFFER,
7296
- qd as USAGE_TITLE,
7304
+ Wd as USAGE_TITLE,
7297
7305
  Ba as addEventListener,
7298
7306
  Nu as batch,
7299
7307
  Va as className,
@@ -7315,6 +7323,7 @@ export {
7315
7323
  Xu as displayValue,
7316
7324
  Tn as fe,
7317
7325
  Xi as fetchState,
7326
+ jd as findProvider,
7318
7327
  ws as focusManager,
7319
7328
  Md as getCurrentGeoLocation,
7320
7329
  yl as getMainPaddingClass,
@@ -1,4 +1,4 @@
1
- import { convert as se, visitParents as Pe, unicodeWhitespace as I, unicodePunctuation as N, normalizeIdentifier as _, classifyCharacter as $, visit as Me, EXIT as _e, toString as ce, asciiAlphanumeric as Z, asciiAlpha as P, markdownLineEndingOrSpace as A, asciiControl as Oe, factorySpace as S, blankLine as je, splice as q, resolveAll as Be, markdownLineEnding as R, markdownSpace as L, combineExtensions as $e } from "./ChatBubbleAssistant.pudOgy2d.js";
1
+ import { convert as se, visitParents as Pe, unicodeWhitespace as I, unicodePunctuation as N, normalizeIdentifier as _, classifyCharacter as $, visit as Me, EXIT as _e, toString as ce, asciiAlphanumeric as Z, asciiAlpha as P, markdownLineEndingOrSpace as A, asciiControl as Oe, factorySpace as S, blankLine as je, splice as q, resolveAll as Be, markdownLineEnding as R, markdownSpace as L, combineExtensions as $e } from "./ChatBubbleAssistant.Rc6ePsRQ.js";
2
2
  import { longestStreak as We } 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 "./ChatBubbleAssistant.pudOgy2d.js";
1
+ import { factorySpace as M, markdownLineEnding as g } from "./ChatBubbleAssistant.Rc6ePsRQ.js";
2
2
  import { longestStreak as q } from "./index.Cyw5OC0t.js";
3
3
  function b() {
4
4
  return {
@@ -1,5 +1,5 @@
1
1
  import "react/jsx-runtime";
2
- import { SassySaint as a } from "../../chunks/index.DLtYEoNn.js";
2
+ import { SassySaint as a } from "../../chunks/index.Ca6Mve0V.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.DLtYEoNn.js";
1
+ import { SassySaint as r } from "./chunks/index.Ca6Mve0V.js";
2
2
  /*!
3
- @sassysaint/client v8.7.1
3
+ @sassysaint/client v8.7.2
4
4
  © 2025 gizmette.com
5
5
  */
6
6
  try {
7
7
  window.__VERSINI_SASSY_GLOBAL__ || (window.__VERSINI_SASSY_GLOBAL__ = {
8
- version: "8.7.1",
9
- buildTime: "03/13/2025 05:09 PM EDT",
8
+ version: "8.7.2",
9
+ buildTime: "03/13/2025 06:41 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.7.1",
3
+ "version": "8.7.2",
4
4
  "license": "MIT",
5
5
  "author": "Arno Versini",
6
6
  "publishConfig": {
@@ -30,7 +30,7 @@
30
30
  "react-dom": "^18.3.1 || ^19.0.0"
31
31
  },
32
32
  "devDependencies": {
33
- "@sassysaint/client": "8.7.1",
33
+ "@sassysaint/client": "8.7.2",
34
34
  "@versini/ui-styles": "3.2.11"
35
35
  },
36
36
  "dependencies": {
@@ -41,5 +41,5 @@
41
41
  "sideEffects": [
42
42
  "**/*.css"
43
43
  ],
44
- "gitHead": "9af30b52abc9719f89873373666fcb0d0c631ec6"
44
+ "gitHead": "9c0c8645faaa246557a54ebe5b6cfe68d1ca246b"
45
45
  }