@versini/sassysaint 8.107.2 → 8.107.4

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.
Files changed (33) hide show
  1. package/dist/chunks/{AboutChangelog.-F_kMw74.js → AboutChangelog.DeRcKN5H.js} +2 -2
  2. package/dist/chunks/{AboutEntry.DR75PxCw.js → AboutEntry.6mTHwkfb.js} +7 -7
  3. package/dist/chunks/{App.3M79T1qj.js → App.DTjbiLAP.js} +1753 -2012
  4. package/dist/chunks/{Bubble.CA6Nm1l0.js → Bubble.ltolxxta.js} +47 -86
  5. package/dist/chunks/{Chart.DwZeH0GA.js → Chart.BzOmOhOW.js} +2 -2
  6. package/dist/chunks/{ChatBubbleAssistant.Bm-gE-ev.js → ChatBubbleAssistant.lGE_8ao1.js} +200 -213
  7. package/dist/chunks/{ChatBubbleUser.lLvteBf3.js → ChatBubbleUser.DC661ePq.js} +28 -41
  8. package/dist/chunks/{ChatHistoryTable.yS0g-92Q.js → ChatHistoryTable.BkRFWpsA.js} +108 -125
  9. package/dist/chunks/{Table.AnN2X7VF.js → DeleteButtonIcon.P0LgJDjE.js} +125 -116
  10. package/dist/chunks/{HistoryEntry.DfNmYlfN.js → HistoryEntry.uUjsDuT0.js} +6 -6
  11. package/dist/chunks/{LoginEntry.BccxHPtX.js → LoginEntry.BGZdTDwf.js} +4 -4
  12. package/dist/chunks/{LogoEntry.CFw0uv25.js → LogoEntry.Bpddd0yA.js} +301 -430
  13. package/dist/chunks/{MemoriesEntry.Cdao1cmo.js → MemoriesEntry.BYQm9cuU.js} +164 -169
  14. package/dist/chunks/{ProfileEntry.b8NaUHNW.js → ProfileEntry.BqcZXSeT.js} +4 -4
  15. package/dist/chunks/{SettingsEntry.CjuYtYSp.js → SettingsEntry.BdC5Vyof.js} +5 -5
  16. package/dist/chunks/{UsageEntry.cp-aSBF9.js → UsageEntry._O8Q6TwS.js} +5 -5
  17. package/dist/chunks/index.Bi0z4EE1.js +90 -0
  18. package/dist/chunks/{index.CgpXJ39e.js → index.BlviGqw0.js} +4 -4
  19. package/dist/chunks/{index.BSdZTOf6.js → index.BxbWxVtd.js} +1 -1
  20. package/dist/chunks/index.C70LcKzU.js +279 -0
  21. package/dist/chunks/{index.CLVeqfU3.js → index.CYcieK1H.js} +34 -47
  22. package/dist/chunks/{index.Dbw9MfpE.js → index.CaofbEIP.js} +3 -19
  23. package/dist/chunks/{index.B6FhZIr6.js → index.D2nN0rC6.js} +1 -1
  24. package/dist/chunks/{index.DhQEm5fx.js → index.DG-VhqKw.js} +1 -1
  25. package/dist/chunks/{index.DYkMD3_1.js → index.DuxTgnco.js} +56 -69
  26. package/dist/chunks/{index.DHLA2Fes.js → index.s8Izh8-Q.js} +2 -2
  27. package/dist/chunks/{useMarkdown.CoVPoXwW.js → useMarkdown.DjEZz9lH.js} +316 -329
  28. package/dist/components/SassySaint/SassySaint.js +1 -1
  29. package/dist/index.js +3 -7
  30. package/dist/style.css +1 -14
  31. package/package.json +5 -5
  32. package/dist/chunks/index.BAdB50GZ.js +0 -103
  33. package/dist/chunks/index.CyKPGk1D.js +0 -305
@@ -1,9 +1,9 @@
1
1
  import { jsxs as t, Fragment as H, jsx as e } from "react/jsx-runtime";
2
- import { preloadToast as K, showSuccessToast as O, showErrorToast as W, ConfirmationPanel as Y, LazyToastContainerWrapper as $, Panel as V, CancelButton as q } from "./App.3M79T1qj.js";
3
- import { useUniqueId as J, CARDS as s, L as u, j as i, Button as Q, ButtonIcon as X, IconPasskey as L, PROFILE_TITLE as Z } from "./LogoEntry.CFw0uv25.js";
2
+ import { preloadToast as K, showSuccessToast as O, showErrorToast as W, ConfirmationPanel as Y, LazyToastContainerWrapper as $, Panel as V, CancelButton as q } from "./App.DTjbiLAP.js";
3
+ import { useUniqueId as J, CARDS as s, L as u, j as i, Button as Q, ButtonIcon as X, IconPasskey as L, PROFILE_TITLE as Z } from "./LogoEntry.Bpddd0yA.js";
4
4
  import { useState as m, useMemo as ee, useCallback as N, useRef as ae } from "react";
5
- import { n as ne, useUserPreferences as se, useServerCapabilities as re, p as te, setUserPlan as le, renderDataAsList as ie, st as ce, isTauri as oe } from "./index.Dbw9MfpE.js";
6
- import { Card as h } from "./index.CLVeqfU3.js";
5
+ import { n as ne, useUserPreferences as se, useServerCapabilities as re, p as te, setUserPlan as le, renderDataAsList as ie, st as ce, isTauri as oe } from "./index.CaofbEIP.js";
6
+ import { Card as h } from "./index.CYcieK1H.js";
7
7
  import de from "clsx";
8
8
  const me = () => {
9
9
  const {
@@ -1,9 +1,9 @@
1
1
  import { jsxs as n, jsx as t } from "react/jsx-runtime";
2
- import { n as Ve, useEntitlements as Fe, useUserPreferences as We, w as ie, LOCAL_STORAGE_OLED_MODE as $e, LOCAL_STORAGE_FULL_SCREEN as ze, e as de, canEvaluateModels as He, W as Ye, getCacheInfo as qe, isServiceWorkerEnabled as Ke, V as Qe, K as ue, applyOledMode as me, getCurrentGeoLocation as Je, graphQLRequest as he, handleServiceWorkerToggle as Xe, SERVICE_TYPES as fe } from "./index.Dbw9MfpE.js";
3
- import { AppContext as Ze, SETTINGS_TITLE as et, CARDS as r, Button as Ee, PROMPTS_DESCRIPTION as tt, L as ot, j as pe, APP_SET_OLED_MODE as Se, APP_SET_FULL_SCREEN as ge } from "./LogoEntry.CFw0uv25.js";
4
- import { Card as f } from "./index.CLVeqfU3.js";
5
- import { useCapability as be, useLocalStorage as Te, Panel as st, Toggle as l, CancelButton as at } from "./App.3M79T1qj.js";
6
- import { TextArea as Ne } from "./index.CyKPGk1D.js";
2
+ import { n as Ve, useEntitlements as Fe, useUserPreferences as We, w as ie, LOCAL_STORAGE_OLED_MODE as $e, LOCAL_STORAGE_FULL_SCREEN as ze, e as de, canEvaluateModels as He, W as Ye, getCacheInfo as qe, isServiceWorkerEnabled as Ke, V as Qe, K as ue, applyOledMode as me, getCurrentGeoLocation as Je, graphQLRequest as he, handleServiceWorkerToggle as Xe, SERVICE_TYPES as fe } from "./index.CaofbEIP.js";
3
+ import { AppContext as Ze, SETTINGS_TITLE as et, CARDS as r, Button as Ee, PROMPTS_DESCRIPTION as tt, L as ot, j as pe, APP_SET_OLED_MODE as Se, APP_SET_FULL_SCREEN as ge } from "./LogoEntry.Bpddd0yA.js";
4
+ import { Card as f } from "./index.CYcieK1H.js";
5
+ import { useCapability as be, useLocalStorage as Te, Panel as st, Toggle as l, CancelButton as at } from "./App.DTjbiLAP.js";
6
+ import { TextArea as Ne } from "./index.C70LcKzU.js";
7
7
  import { useRef as nt, useContext as rt, useState as s, useMemo as lt, useCallback as ct, useEffect as Ce } from "react";
8
8
  const pt = ({
9
9
  open: ye,
@@ -1,8 +1,8 @@
1
1
  import { jsxs as d, jsx as t } from "react/jsx-runtime";
2
- import { n as X, useUserChatStats as Z, LOCAL_STORAGE_PREFIX as M, LOCAL_STORAGE_USAGE_VIEW_MODE as J, LOCAL_STORAGE_USAGE_TIME_RANGE as Q, LOCAL_STORAGE_USAGE_SELECTED_MONTH as $, useChatsUsage as ee, renderDataAsList as te } from "./index.Dbw9MfpE.js";
3
- import { useUniqueId as ne, TIME_RANGES as e, USAGE_TITLE as re, CARDS as T, L as h, j as c, TIME_RANGE_LABELS as k, MONTHS as N, ButtonIcon as u, IconChart as le, IconSelected as H, IconUnSelected as b, IconPrevious as se, IconNext as ae } from "./LogoEntry.CFw0uv25.js";
4
- import { Card as P } from "./index.CLVeqfU3.js";
5
- import { useLocalStorage as g, Panel as oe, DropdownMenu as ie, DropdownMenuGroupLabel as ce, DropdownMenuItem as G, DropdownMenuSub as de, CancelButton as Te, pluralize as D } from "./App.3M79T1qj.js";
2
+ import { n as X, useUserChatStats as Z, LOCAL_STORAGE_PREFIX as M, LOCAL_STORAGE_USAGE_VIEW_MODE as J, LOCAL_STORAGE_USAGE_TIME_RANGE as Q, LOCAL_STORAGE_USAGE_SELECTED_MONTH as $, useChatsUsage as ee, renderDataAsList as te } from "./index.CaofbEIP.js";
3
+ import { useUniqueId as ne, TIME_RANGES as e, USAGE_TITLE as re, CARDS as T, L as h, j as c, TIME_RANGE_LABELS as k, MONTHS as N, ButtonIcon as u, IconChart as le, IconSelected as H, IconUnSelected as b, IconPrevious as se, IconNext as ae } from "./LogoEntry.Bpddd0yA.js";
4
+ import { Card as P } from "./index.CYcieK1H.js";
5
+ import { useLocalStorage as g, Panel as oe, DropdownMenu as ie, DropdownMenuGroupLabel as ce, DropdownMenuItem as G, DropdownMenuSub as de, CancelButton as Te, pluralize as D } from "./App.DTjbiLAP.js";
6
6
  import { useRef as ue, useState as U, Suspense as Ee, lazy as Se } from "react";
7
7
  const a = [0, 3, 6, 9], s = {
8
8
  TOKEN: "token",
@@ -16,7 +16,7 @@ const a = [0, 3, 6, 9], s = {
16
16
  ], Ae = Se(
17
17
  () => import(
18
18
  /* webpackChunkName: "chart-highcharts" */
19
- "./Chart.DwZeH0GA.js"
19
+ "./Chart.BzOmOhOW.js"
20
20
  )
21
21
  ), Ne = ({
22
22
  open: v,
@@ -0,0 +1,90 @@
1
+ import { jsx as O } from "react/jsx-runtime";
2
+ import C from "clsx";
3
+ import { useRef as i, useReducer as L, useEffect as g } from "react";
4
+ const c = "SET_ANNOUNCEMENT", E = "CLEAR_ANNOUNCEMENT", v = {
5
+ alert: null,
6
+ alertdialog: null,
7
+ log: "polite",
8
+ marquee: null,
9
+ progressbar: null,
10
+ status: "polite",
11
+ timer: "assertive"
12
+ }, y = (t, e) => {
13
+ switch (e?.type) {
14
+ case c:
15
+ return {
16
+ ...t,
17
+ announcement: e.payload
18
+ };
19
+ case E:
20
+ return {
21
+ ...t,
22
+ announcement: null
23
+ };
24
+ default:
25
+ return t;
26
+ }
27
+ }, R = ({ onAnnouncementClear: t, dispatch: e }) => {
28
+ e({
29
+ type: E
30
+ }), typeof t == "function" && t();
31
+ }, N = ({ children: t, clearAnnouncementDelay: e, clearAnnouncementTimeoutRef: r, onAnnouncementClear: s, dispatch: o }) => {
32
+ clearTimeout(r.current), t !== null && o({
33
+ type: c,
34
+ payload: t
35
+ }), e && (r.current = setTimeout(() => R({
36
+ onAnnouncementClear: s,
37
+ dispatch: o
38
+ }), e));
39
+ }, U = ({ children: t, announcementTimeoutRef: e, announcementDelay: r, clearAnnouncementDelay: s, clearAnnouncementTimeoutRef: o, onAnnouncementClear: u, dispatch: l }) => {
40
+ clearTimeout(e.current), r ? e.current = setTimeout(N, r, {
41
+ children: t,
42
+ clearAnnouncementDelay: s,
43
+ clearAnnouncementTimeoutRef: o,
44
+ onAnnouncementClear: u,
45
+ dispatch: l
46
+ }) : N({
47
+ children: t,
48
+ clearAnnouncementDelay: s,
49
+ clearAnnouncementTimeoutRef: o,
50
+ onAnnouncementClear: u,
51
+ dispatch: l
52
+ });
53
+ };
54
+ function x({ children: t, className: e, politeness: r, role: s = null, announcementDelay: o, clearAnnouncementDelay: u, onAnnouncementClear: l, visible: f, ...a }) {
55
+ const p = i(null), T = i(null), [m, _] = L(y, {
56
+ announcement: null
57
+ });
58
+ let n = r;
59
+ typeof n > "u" && (n = s ? v[s] : "assertive"), g(() => {
60
+ U({
61
+ announcementTimeoutRef: p,
62
+ announcementDelay: o,
63
+ children: t,
64
+ clearAnnouncementDelay: u,
65
+ clearAnnouncementTimeoutRef: T,
66
+ onAnnouncementClear: l,
67
+ dispatch: _
68
+ });
69
+ }, [
70
+ t,
71
+ o,
72
+ u,
73
+ l
74
+ ]);
75
+ const d = C(e, {
76
+ "sr-only": !f
77
+ });
78
+ return /* @__PURE__ */ O("div", {
79
+ "aria-live": n,
80
+ ...s && {
81
+ role: s
82
+ },
83
+ className: d,
84
+ ...a,
85
+ children: m.announcement
86
+ });
87
+ }
88
+ export {
89
+ x as LiveRegion
90
+ };
@@ -1,6 +1,6 @@
1
- import { getDefaultExportFromCjs as kn } from "./App.3M79T1qj.js";
2
- import { visit as In } from "./useMarkdown.CoVPoXwW.js";
3
- import { toText as Cn } from "./index.B6FhZIr6.js";
1
+ import { getDefaultExportFromCjs as kn } from "./App.DTjbiLAP.js";
2
+ import { visit as In } from "./useMarkdown.DjEZz9lH.js";
3
+ import { toText as Cn } from "./index.D2nN0rC6.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",
@@ -13247,7 +13247,7 @@ function ea() {
13247
13247
  super(s), this.name = "HTMLInjectionError", this.html = _;
13248
13248
  }
13249
13249
  }
13250
- const nt = i, ht = a, Nt = Symbol("nomatch"), un = 7, yt = function(n) {
13250
+ const nt = i, ht = a, Nt = /* @__PURE__ */ Symbol("nomatch"), un = 7, yt = function(n) {
13251
13251
  const s = /* @__PURE__ */ Object.create(null), _ = /* @__PURE__ */ Object.create(null), R = [];
13252
13252
  let Y = !0;
13253
13253
  const Z = "Could not find the language '{}', did you forget to load/include a language module?", T = { disableAutodetect: !0, name: "Plain text", contains: [] };
@@ -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.CoVPoXwW.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.DjEZz9lH.js";
2
2
  import { longestStreak as qe } from "./index.Cyw5OC0t.js";
3
3
  function ne(e, n) {
4
4
  const t = String(e);
@@ -0,0 +1,279 @@
1
+ import { jsxs as ne, jsx as k } from "react/jsx-runtime";
2
+ import { useMergeRefs as oe, useResizeObserver as W, useUniqueId as ce } from "./LogoEntry.Bpddd0yA.js";
3
+ import le, { useState as L, useEffect as ie, useRef as b, useLayoutEffect as _ } from "react";
4
+ import { LiveRegion as ue } from "./index.Bi0z4EE1.js";
5
+ import o from "clsx";
6
+ function de({ value: e, defaultValue: a, finalValue: r, onChange: s = () => {
7
+ }, initialControlledDelay: t = 0 }) {
8
+ const [n, l] = L(!1), [i, u] = L(a !== void 0 ? a : r), x = (p) => {
9
+ u(p), s?.(p);
10
+ };
11
+ return ie(() => {
12
+ (async () => e !== void 0 && !n && t > 0 && (await new Promise((p) => setTimeout(p, t)), l(!0)))();
13
+ }, [
14
+ e,
15
+ t,
16
+ n
17
+ ]), e !== void 0 ? !n && t > 0 ? [
18
+ "",
19
+ s,
20
+ !0
21
+ ] : [
22
+ e,
23
+ s,
24
+ !0
25
+ ] : [
26
+ i,
27
+ x,
28
+ !1
29
+ ];
30
+ }
31
+ const B = "av-text-area", fe = "av-text-area-wrapper", I = "av-text-area-helper-text", xe = "av-text-area__control--right", pe = "av-text-area__control--left", ye = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hidden px-4 py-7", he = ({ mode: e }) => o({
32
+ "bg-surface-darker text-copy-lighter caret-copy-light": e === "dark",
33
+ "bg-surface-lighter text-copy-dark caret-copy-dark": e === "light",
34
+ "bg-surface-lighter text-copy-dark caret-copy-dark dark:bg-surface-darker dark:text-copy-lighter dark:caret-copy-light": e === "system",
35
+ "bg-surface-darker text-copy-lighter caret-copy-light dark:bg-surface-lighter dark:text-copy-dark dark:caret-copy-dark": e === "alt-system"
36
+ }), ge = ({ focusMode: e }) => o("focus:outline-2 focus:outline-offset-2", {
37
+ "focus:outline-focus-dark": e === "dark",
38
+ "focus:outline-focus-light": e === "light",
39
+ "focus:outline-focus-light dark:focus:outline-focus-dark": e === "alt-system",
40
+ "focus:outline-focus-dark dark:focus:outline-focus-light": e === "system"
41
+ }), ke = ({ noBorder: e, error: a }) => o("border-2", {
42
+ "border-border-dark": !e && !a,
43
+ "focus:border-border-dark": !e && a,
44
+ "border-border-error-dark": !e && a,
45
+ "border-transparent": e
46
+ }), Ae = ({ disabled: e, raw: a, error: r, mode: s, leftElement: t, rightElement: n }) => {
47
+ if (a)
48
+ return "";
49
+ if (e)
50
+ return o("transform translate-y-0 scale-100 absolute px-2 cursor-not-allowed opacity-50 font-medium", {
51
+ "translate-x-2.5": n === !0 && !t || !n && !t
52
+ });
53
+ if (!r)
54
+ return o("absolute px-2 cursor-text font-medium transform translate-y-0 scale-100", {
55
+ "translate-x-2.5": n === !0 && !t || !n && !t,
56
+ "text-copy-medium": s === "dark",
57
+ "text-copy-dark": s === "light",
58
+ "text-copy-dark dark:text-copy-medium": s === "system",
59
+ "text-copy-medium dark:text-copy-dark": s === "alt-system"
60
+ });
61
+ if (r)
62
+ return o("absolute px-2 cursor-text font-medium transform translate-y-0 scale-100", {
63
+ "translate-x-2.5": n === !0 && !t || !n && !t,
64
+ "text-copy-medium": s === "dark",
65
+ "text-copy-error-dark": s === "light",
66
+ "text-copy-error-dark dark:text-copy-error-light": s === "system",
67
+ "text-copy-medium dark:text-copy-error-dark": s === "alt-system"
68
+ });
69
+ }, Te = ({ error: e, raw: a, mode: r, disabled: s }) => {
70
+ if (a)
71
+ return "";
72
+ if (s)
73
+ return o(I, "absolute px-2 cursor-not-allowed opacity-50 font-medium");
74
+ if (!e)
75
+ return o(I, "absolute px-2 font-medium", {
76
+ "text-copy-medium": r === "dark",
77
+ "text-copy-dark": r === "light",
78
+ "text-copy-dark dark:text-copy-medium": r === "system",
79
+ "text-copy-medium dark:text-copy-dark": r === "alt-system"
80
+ });
81
+ if (e)
82
+ return o(I, "absolute px-2 font-medium", {
83
+ "text-copy-error-light": r === "dark",
84
+ "text-copy-error-dark": r === "light",
85
+ "text-copy-error-dark dark:text-copy-error-light": r === "system",
86
+ "dark:text-copy-error-dark text-copy-error-light": r === "alt-system"
87
+ });
88
+ }, be = ({ className: e, textAreaClassName: a, raw: r, focusMode: s, disabled: t, noBorder: n, error: l, mode: i, leftElement: u, rightElement: x }) => {
89
+ const p = r ? e : o("relative flex w-full flex-col justify-center", fe, e), N = r ? o(a) : o(B, a, ye(), he({
90
+ mode: i
91
+ }), ge({
92
+ focusMode: s
93
+ }), ke({
94
+ noBorder: n,
95
+ error: l
96
+ }), {
97
+ "disabled:cursor-not-allowed disabled:opacity-50": t
98
+ }), E = r ? void 0 : "sr-only", C = Ae({
99
+ disabled: t,
100
+ raw: r,
101
+ error: l,
102
+ mode: i,
103
+ rightElement: x,
104
+ leftElement: u
105
+ }), d = Te({
106
+ error: l,
107
+ raw: r,
108
+ mode: i,
109
+ disabled: t
110
+ }), m = r ? void 0 : o(xe, "absolute"), y = r ? void 0 : o(pe, "absolute");
111
+ return {
112
+ wrapper: p,
113
+ textArea: N,
114
+ accessibleLabel: E,
115
+ visibleLabel: C,
116
+ helperText: d,
117
+ rightElement: m,
118
+ leftElement: y
119
+ };
120
+ }, me = ({ scrollHeight: e, currentHeight: a, currentLabelOffset: r = 0, currentHelperTextOffset: s = 0 }) => {
121
+ let l, i;
122
+ if (e > 0 && e !== a) {
123
+ const u = e - a, x = Math.abs(u / 24);
124
+ l = r + -1 * Math.sign(u) * (12 * x), i = s + Math.sign(u) * (12 * x);
125
+ }
126
+ return {
127
+ labelOffset: l,
128
+ helperTextOffset: i,
129
+ scrollHeight: e
130
+ };
131
+ }, Re = /* @__PURE__ */ le.forwardRef(({ id: e, name: a, label: r, error: s = !1, raw: t = !1, className: n, textAreaClassName: l, mode: i = "system", focusMode: u = "system", value: x, defaultValue: p, disabled: N = !1, noBorder: E = !1, labelId: C, helperText: d = "", helperTextOnFocus: m = !1, rightElement: y, leftElement: A, onChange: P, onFocus: F, onBlur: $, ...D }, Y) => {
132
+ const f = b(null), z = oe([
133
+ Y,
134
+ f
135
+ ]), [q, O] = W(), [V, T] = W(), H = b(80), M = b(-25), v = b(null), w = b(30), X = b(null), R = ce({
136
+ id: e,
137
+ prefix: `${B}-`
138
+ }), [U, J] = L(0), [j, K] = L(0), [Q, G] = L(!!(!m && d)), Z = `${a} error, ${d}`, g = be({
139
+ className: n,
140
+ textAreaClassName: l,
141
+ error: s,
142
+ raw: t,
143
+ focusMode: u,
144
+ disabled: N,
145
+ noBorder: E,
146
+ mode: i,
147
+ rightElement: !!y,
148
+ leftElement: !!A
149
+ }), [h, ee] = de({
150
+ value: x,
151
+ initialControlledDelay: 20,
152
+ defaultValue: p,
153
+ onChange: (c) => {
154
+ P && P({
155
+ target: {
156
+ value: c
157
+ }
158
+ });
159
+ }
160
+ }), te = (c) => {
161
+ ee(c.target.value);
162
+ }, re = (c) => {
163
+ m && d && G(!0), F && F(c);
164
+ }, se = (c) => {
165
+ m && d && !h && G(!1), $ && $(c);
166
+ };
167
+ return _(() => {
168
+ O && O.width && J(O.width + 18 + 10);
169
+ }, [
170
+ O
171
+ ]), _(() => {
172
+ T && T.width && K(T.width + 18 + 10);
173
+ }, [
174
+ T
175
+ ]), _(() => {
176
+ t || f && f.current && h !== void 0 && (f.current.style.height = "inherit", f.current.style.height = f.current.scrollHeight + "px");
177
+ }, [
178
+ h,
179
+ t
180
+ ]), _(() => {
181
+ t || setTimeout(() => {
182
+ v?.current?.style.setProperty("--av-text-area-wrapper-transition", h ? "none" : "all 0.2s ease-out");
183
+ }, 0);
184
+ }, [
185
+ h,
186
+ t
187
+ ]), _(() => {
188
+ if (!t && f && f.current && h !== void 0) {
189
+ const { labelOffset: c, helperTextOffset: S, scrollHeight: ae } = me({
190
+ scrollHeight: f.current.scrollHeight,
191
+ currentHeight: H.current,
192
+ currentLabelOffset: M.current,
193
+ currentHelperTextOffset: w.current
194
+ });
195
+ c && (M.current = c, v?.current?.style.setProperty("--av-text-area-label", `${c}px`)), S && (w.current = S, X?.current?.style.setProperty("--av-text-area-helper-text", `${S}px`)), H.current = ae || H.current;
196
+ }
197
+ }, [
198
+ h,
199
+ t
200
+ ]), T.width > 0 && v?.current?.style.setProperty("--tw-translate-x", `${12 + T.width + 5}px`), /* @__PURE__ */ ne("div", {
201
+ className: g.wrapper,
202
+ children: [
203
+ /* @__PURE__ */ k("label", {
204
+ htmlFor: R,
205
+ id: C,
206
+ className: g.accessibleLabel,
207
+ children: r
208
+ }),
209
+ A && /* @__PURE__ */ k("div", {
210
+ ref: V,
211
+ className: g.leftElement,
212
+ children: A
213
+ }),
214
+ /* @__PURE__ */ k("textarea", {
215
+ ref: z,
216
+ id: R,
217
+ name: a,
218
+ disabled: N,
219
+ placeholder: t ? void 0 : " ",
220
+ className: g.textArea,
221
+ rows: 1,
222
+ ...d && {
223
+ "aria-describedby": `${R}-helper`
224
+ },
225
+ ...s && {
226
+ "aria-invalid": "true"
227
+ },
228
+ ...y && !A && !t && {
229
+ style: {
230
+ paddingRight: U
231
+ }
232
+ },
233
+ ...A && !y && !t && {
234
+ style: {
235
+ paddingLeft: j
236
+ }
237
+ },
238
+ ...y && A && !t && {
239
+ style: {
240
+ paddingRight: U,
241
+ paddingLeft: j
242
+ }
243
+ },
244
+ value: h,
245
+ onChange: te,
246
+ onFocus: re,
247
+ onBlur: se,
248
+ ...D
249
+ }),
250
+ !t && /* @__PURE__ */ k("label", {
251
+ ref: v,
252
+ "aria-hidden": !0,
253
+ htmlFor: R,
254
+ className: `${g.visibleLabel}`,
255
+ children: r
256
+ }),
257
+ Q && /* @__PURE__ */ k("div", {
258
+ ref: X,
259
+ id: `${R}-helper`,
260
+ className: g.helperText,
261
+ children: d
262
+ }),
263
+ y && /* @__PURE__ */ k("div", {
264
+ ref: q,
265
+ className: g.rightElement,
266
+ children: y
267
+ }),
268
+ s && d && /* @__PURE__ */ k(ue, {
269
+ politeness: "polite",
270
+ clearAnnouncementDelay: 500,
271
+ children: Z
272
+ })
273
+ ]
274
+ });
275
+ });
276
+ Re.displayName = "TextArea";
277
+ export {
278
+ Re as TextArea
279
+ };
@@ -1,85 +1,72 @@
1
- import { jsx as o, jsxs as _ } from "react/jsx-runtime";
2
- import { useUniqueId as x } from "./LogoEntry.CFw0uv25.js";
1
+ import { jsx as o, jsxs as x } from "react/jsx-runtime";
2
+ import { useUniqueId as v } from "./LogoEntry.Bpddd0yA.js";
3
3
  import u from "clsx";
4
- /*!
5
- @versini/ui-card v6.0.0
6
- © 2025 gizmette.com
7
- */
8
- try {
9
- window.__VERSINI_UI_CARD__ || (window.__VERSINI_UI_CARD__ = {
10
- version: "6.0.0",
11
- buildTime: "12/16/2025 06:22 PM EST",
12
- homepage: "https://www.npmjs.com/package/@versini/ui-card",
13
- license: "MIT"
14
- });
15
- } catch {
16
- }
17
- const f = "av-card", I = ({ className: e, headerClassName: d, bodyClassName: c, footerClassName: t, mode: r, compact: i, noBorder: n }) => {
4
+ const f = "av-card", A = ({ className: d, headerClassName: e, bodyClassName: c, footerClassName: t, mode: r, compact: l, noBorder: n }) => {
18
5
  const a = u(f, "rounded-md", {
19
6
  "border-none": n,
20
7
  border: !n,
21
- "p-4": !i,
22
- "p-1 sm:p-2": i,
8
+ "p-4": !l,
9
+ "p-1 sm:p-2": l,
23
10
  "border-border-accent bg-surface-darker text-copy-light": r === "darker",
24
11
  "border-border-accent bg-surface-dark text-copy-light": r === "dark",
25
12
  "border-border-dark bg-surface-lighter text-copy-dark": r === "light",
26
13
  "border-border-dark bg-surface-lighter text-copy-dark dark:border-border-accent dark:bg-surface-dark dark:text-copy-light": r === "system",
27
14
  "border-border-accent bg-surface-dark text-copy-light dark:border-border-dark dark:bg-surface-lighter dark:text-copy-dark": r === "alt-system"
28
- }, e), g = d || u(`${f}__header mt-0 border-b`, {
15
+ }, d), k = e || u(`${f}__header mt-0 border-b`, {
29
16
  "text-copy-light border-border-accent": r === "darker",
30
17
  "border-border-accent": r === "dark",
31
18
  "border-border-medium": r === "light",
32
19
  "border-border-medium dark:border-border-accent": r === "system",
33
20
  "border-border-accent dark:border-border-medium": r === "alt-system",
34
- "mb-4": !i,
35
- "mb-2": i
36
- }), k = u(c), p = t || u(`${f}__footer pt-2`);
21
+ "mb-4": !l,
22
+ "mb-2": l
23
+ }), g = u(c), p = t || u(`${f}__footer pt-2`);
37
24
  return {
38
25
  wrapper: a,
39
- header: g,
40
- body: k,
26
+ header: k,
27
+ body: g,
41
28
  footer: p
42
29
  };
43
30
  };
44
- function w({ id: e, content: d, userAriaLabelledby: c, className: t }) {
45
- return typeof d == "string" ? /* @__PURE__ */ o("h2", {
46
- id: e,
31
+ function C({ id: d, content: e, userAriaLabelledby: c, className: t }) {
32
+ return typeof e == "string" ? /* @__PURE__ */ o("h2", {
33
+ id: d,
47
34
  className: t,
48
- children: d
35
+ children: e
49
36
  }) : c ? /* @__PURE__ */ o("div", {
50
37
  className: t,
51
- children: d
52
- }) : d ? /* @__PURE__ */ o("div", {
38
+ children: e
39
+ }) : e ? /* @__PURE__ */ o("div", {
53
40
  className: t,
54
- id: e,
55
- children: d
41
+ id: d,
42
+ children: e
56
43
  }) : null;
57
44
  }
58
- const N = ({ header: e, headerClassName: d, footer: c, footerClassName: t, children: r, className: i, bodyClassName: n, "aria-labelledby": a, mode: g = "system", compact: k = !1, noBorder: p = !1, ...y }) => {
59
- let s = null, l = null;
60
- const h = typeof e == "string", m = x(f), b = I({
61
- className: i,
62
- headerClassName: d,
45
+ const I = ({ header: d, headerClassName: e, footer: c, footerClassName: t, children: r, className: l, bodyClassName: n, "aria-labelledby": a, mode: k = "system", compact: g = !1, noBorder: p = !1, ...m }) => {
46
+ let s = null, i = null;
47
+ const h = typeof d == "string", y = v(f), b = A({
48
+ className: l,
49
+ headerClassName: e,
63
50
  bodyClassName: n,
64
51
  footerClassName: t,
65
- mode: g,
66
- compact: k,
52
+ mode: k,
53
+ compact: g,
67
54
  noBorder: p
68
55
  });
69
- return h ? (s = m, l = s) : !h && e && a ? (s = null, l = a) : !h && e && !a ? (s = m, l = s) : (s = null, l = a || null), /* @__PURE__ */ o("div", {
56
+ return h ? (s = y, i = s) : !h && d && a ? (s = null, i = a) : !h && d && !a ? (s = y, i = s) : (s = null, i = a || null), /* @__PURE__ */ o("div", {
70
57
  className: b.wrapper,
71
- children: /* @__PURE__ */ _("section", {
72
- ...l && {
73
- "aria-labelledby": l
58
+ children: /* @__PURE__ */ x("section", {
59
+ ...i && {
60
+ "aria-labelledby": i
74
61
  },
75
62
  className: b.body,
76
- ...y,
63
+ ...m,
77
64
  children: [
78
- /* @__PURE__ */ o(w, {
65
+ /* @__PURE__ */ o(C, {
79
66
  ...s && {
80
67
  id: s
81
68
  },
82
- content: e,
69
+ content: d,
83
70
  className: b.header,
84
71
  userAriaLabelledby: a
85
72
  }),
@@ -95,5 +82,5 @@ const N = ({ header: e, headerClassName: d, footer: c, footerClassName: t, child
95
82
  });
96
83
  };
97
84
  export {
98
- N as Card
85
+ I as Card
99
86
  };
@@ -252,7 +252,7 @@ function ws(e, t, r = 0) {
252
252
  const s = [t, ...e];
253
253
  return r && s.length > r ? s.slice(0, -1) : s;
254
254
  }
255
- var Ue = Symbol();
255
+ var Ue = /* @__PURE__ */ Symbol();
256
256
  function pr(e, t) {
257
257
  return process.env.NODE_ENV !== "production" && e.queryFn === Ue && console.error(
258
258
  `Attempted to invoke queryFn when set to skipToken. This is likely a configuration error. Query hash: '${e.queryHash}'`
@@ -1959,10 +1959,6 @@ function se(e, t) {
1959
1959
  throw n.error;
1960
1960
  return { ...n, mutate: a, mutateAsync: n.mutate };
1961
1961
  }
1962
- /*!
1963
- @versini/auth-common v4.6.1
1964
- © 2025 gizmette.com
1965
- */
1966
1962
  try {
1967
1963
  window.__VERSINI_AUTH_COMMON__ || (window.__VERSINI_AUTH_COMMON__ = {
1968
1964
  version: "4.6.1",
@@ -3000,10 +2996,6 @@ async function Vn(e) {
3000
2996
  }
3001
2997
  const Mr = ft(null);
3002
2998
  var Jn = Object.defineProperty, Yn = (e, t, r) => t in e ? Jn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ye = (e, t, r) => Yn(e, typeof t != "symbol" ? t + "" : t, r);
3003
- /*!
3004
- @versini/auth-provider v8.1.1
3005
- © 2025 gizmette.com
3006
- */
3007
2999
  try {
3008
3000
  window.__VERSINI_AUTH_CLIENT__ || (window.__VERSINI_AUTH_CLIENT__ = {
3009
3001
  version: "8.1.1",
@@ -3338,10 +3330,6 @@ async function na(e) {
3338
3330
  authenticatorAttachment: Ur(o.authenticatorAttachment)
3339
3331
  };
3340
3332
  }
3341
- /*!
3342
- @versini/ui-hooks v5.2.0
3343
- © 2025 gizmette.com
3344
- */
3345
3333
  try {
3346
3334
  window.__VERSINI_UI_HOOKS__ || (window.__VERSINI_UI_HOOKS__ = {
3347
3335
  version: "5.2.0",
@@ -4115,10 +4103,6 @@ const me = () => {
4115
4103
  }
4116
4104
  ) });
4117
4105
  };
4118
- /*!
4119
- @versini/auth-provider v8.1.1
4120
- © 2025 gizmette.com
4121
- */
4122
4106
  try {
4123
4107
  window.__VERSINI_AUTH_CLIENT__ || (window.__VERSINI_AUTH_CLIENT__ = {
4124
4108
  version: "8.1.1",
@@ -5262,11 +5246,11 @@ function go() {
5262
5246
  }
5263
5247
  const Wa = new URL(document.location.href).searchParams, Zt = !!Wa.get("debug") || !1, Ba = tr(() => import(
5264
5248
  /* webpackChunkName: "LazyApp" */
5265
- "./App.3M79T1qj.js"
5249
+ "./App.DTjbiLAP.js"
5266
5250
  ).then((e) => e.App)), Qa = tr(
5267
5251
  () => import(
5268
5252
  /* webpackChunkName: "LazyLogin" */
5269
- "./LoginEntry.BccxHPtX.js"
5253
+ "./LoginEntry.BGZdTDwf.js"
5270
5254
  )
5271
5255
  ), ja = new Ns(), er = ({
5272
5256
  isComponent: e,
@@ -1,4 +1,4 @@
1
- import { convert as E, convertElement as u } from "./useMarkdown.CoVPoXwW.js";
1
+ import { convert as E, convertElement as u } from "./useMarkdown.DjEZz9lH.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 { factorySpace as M, markdownLineEnding as g } from "./useMarkdown.CoVPoXwW.js";
1
+ import { factorySpace as M, markdownLineEnding as g } from "./useMarkdown.DjEZz9lH.js";
2
2
  import { longestStreak as q } from "./index.Cyw5OC0t.js";
3
3
  function b() {
4
4
  return {