@versini/sassysaint 8.39.6 → 8.39.10
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.
- package/dist/chunks/{AboutChangelog.a2Bzn4Eo.js → AboutChangelog.CCL6woFi.js} +2 -2
- package/dist/chunks/{AboutEntry.DxPtaPEk.js → AboutEntry.CdUMph5q.js} +6 -6
- package/dist/chunks/{App.ql9isVIc.js → App.fCKFZhqI.js} +383 -383
- package/dist/chunks/{Chart.CwNra_YH.js → Chart.BDCtfHpJ.js} +2 -2
- package/dist/chunks/{ChatBubbleAssistant.CQbS8Zq_.js → ChatBubbleAssistant.DNqS0sbL.js} +3 -3
- package/dist/chunks/{HistoryEntry.Cxmb9IYc.js → HistoryEntry.DzQ2MSaZ.js} +2 -2
- package/dist/chunks/{LNWAZHJI.BSA9TPhT.js → LNWAZHJI.D7CCdvNo.js} +1 -1
- package/dist/chunks/{ProfileEntry.B2zkafi7.js → ProfileEntry.YotUrCiu.js} +2 -2
- package/dist/chunks/{SettingsEntry.naNpxEMO.js → SettingsEntry.CnnDhK6w.js} +11 -11
- package/dist/chunks/{UsageEntry.sGs1a2k3.js → UsageEntry.D2ZOKNfK.js} +3 -3
- package/dist/chunks/{index.B3qDmkDC.js → index.7uobAuKV.js} +2 -2
- package/dist/chunks/{index.Cz-TQ0No.js → index.CVlucvO6.js} +3 -3
- package/dist/chunks/{index.EgVuydNA.js → index.Dx6oN_z4.js} +1 -1
- package/dist/chunks/{index.C-cxhR4V.js → index.Dym4y9es.js} +1062 -1059
- package/dist/chunks/{index.DN-9K8gb.js → index.RXuXaAsE.js} +1 -1
- package/dist/chunks/{index.B5E1cHaY.js → index.f7-kYhdF.js} +1 -1
- package/dist/chunks/{useMarkdown.2uVXEX2E.js → useMarkdown.ClVoAzdf.js} +6 -6
- package/dist/components/SassySaint/SassySaint.js +1 -1
- package/dist/index.js +4 -4
- package/dist/style.css +2 -2
- package/package.json +6 -6
@@ -1,5 +1,5 @@
|
|
1
1
|
import { jsx as i, jsxs as T, Fragment as me } from "react/jsx-runtime";
|
2
|
-
import { Subscribable as yo, pendingThenable as _a, resolveEnabled as ke, shallowEqualObjects as Er, resolveStaleTime as gt, noop as _r, isServer as Sr, isValidTimeout as Sa, focusManager as bo, fetchState as vo, replaceData as Ta, notifyManager as xs, timeUntilStale as wo, shouldThrowError as ko, useQueryClient as Eo, I as ae, ACTION_SORT as _o, ACTION_SEARCH as So, ACTION_RESET_PROMPT as Cs, ACTION_TOGGLE_PROMPT as Is, isProbablyiPhone as Ee, ue as xe, DEFAULT_ICON_ACTION_SIZE as Te, isTauri as Wt, n as Ve, L as Rs, j as yt, C as xa, LOCAL_STORAGE_PREFIX as Kt, LOCAL_STORAGE_PRIVATE_DISCLOSURE as To, LOCAL_STORAGE_REASONING_DISCLOSURE as xo, TOAST_CHAT_SAVED as Co, PROMPT_CLASSNAME as Io, PROMPT_EDITABLE_AREA_CLASSNAME as Ro, ERROR_MESSAGE as Ao, ROLE_INTERNAL as Tr, CLIPBOARD_PROMPT as Ca, isProbablyMobile as Ge, INPUT_PLACEHOLDER_TEXT_MOBILE as Ia, INPUT_PLACEHOLDER_TEXT_ENTER as Ra, INPUT_PLACEHOLDER_TEXT_CMD_ENTER as Aa, FOOTER_DISCLAIMERS as Na, INPUT_BOTTOM_OFFSET_EXTRA as No, INPUT_BOTTOM_OFFSET_IPHONE as Oo, INPUT_BOTTOM_OFFSET as As, TOAST_PROVIDER_CHANGED as $o, LOG_OUT as Oa, getMessageContaintWrapperClass as Po, UI_FOOTER_BUFFER as Ns, UI_BUTTON_SCROLL_BUFFER as Mo, Logo as Lo, UI_DEFAULT_MAIN_HEIGHT as $a, APP_CLASSNAME as Do, getMainPaddingClass as Pa, r as Bo, LOCAL_STORAGE_SORT as Uo, LOCAL_STORAGE_SEARCH as Vo } from "./index.
|
2
|
+
import { Subscribable as yo, pendingThenable as _a, resolveEnabled as ke, shallowEqualObjects as Er, resolveStaleTime as gt, noop as _r, isServer as Sr, isValidTimeout as Sa, focusManager as bo, fetchState as vo, replaceData as Ta, notifyManager as xs, timeUntilStale as wo, shouldThrowError as ko, useQueryClient as Eo, I as ae, ACTION_SORT as _o, ACTION_SEARCH as So, ACTION_RESET_PROMPT as Cs, ACTION_TOGGLE_PROMPT as Is, isProbablyiPhone as Ee, ue as xe, DEFAULT_ICON_ACTION_SIZE as Te, isTauri as Wt, n as Ve, L as Rs, j as yt, C as xa, LOCAL_STORAGE_PREFIX as Kt, LOCAL_STORAGE_PRIVATE_DISCLOSURE as To, LOCAL_STORAGE_REASONING_DISCLOSURE as xo, TOAST_CHAT_SAVED as Co, PROMPT_CLASSNAME as Io, PROMPT_EDITABLE_AREA_CLASSNAME as Ro, ERROR_MESSAGE as Ao, ROLE_INTERNAL as Tr, CLIPBOARD_PROMPT as Ca, isProbablyMobile as Ge, INPUT_PLACEHOLDER_TEXT_MOBILE as Ia, INPUT_PLACEHOLDER_TEXT_ENTER as Ra, INPUT_PLACEHOLDER_TEXT_CMD_ENTER as Aa, FOOTER_DISCLAIMERS as Na, INPUT_BOTTOM_OFFSET_EXTRA as No, INPUT_BOTTOM_OFFSET_IPHONE as Oo, INPUT_BOTTOM_OFFSET as As, TOAST_PROVIDER_CHANGED as $o, LOG_OUT as Oa, getMessageContaintWrapperClass as Po, UI_FOOTER_BUFFER as Ns, UI_BUTTON_SCROLL_BUFFER as Mo, Logo as Lo, UI_DEFAULT_MAIN_HEIGHT as $a, APP_CLASSNAME as Do, getMainPaddingClass as Pa, r as Bo, LOCAL_STORAGE_SORT as Uo, LOCAL_STORAGE_SEARCH as Vo } from "./index.Dym4y9es.js";
|
3
3
|
import * as Y from "react";
|
4
4
|
import Z, { useEffect as N, useRef as R, useState as z, useCallback as W, useSyncExternalStore as Ho, useMemo as he, useId as Gr, useContext as X, useLayoutEffect as Ne, createContext as Jr, useDebugValue as zo, forwardRef as Os, Suspense as $s, lazy as it, useReducer as St } from "react";
|
5
5
|
import p from "clsx";
|
@@ -957,13 +957,13 @@ const fi = ({
|
|
957
957
|
return /* @__PURE__ */ i("header", { className: m, ...u, children: /* @__PURE__ */ i("div", { className: d, children: e }) });
|
958
958
|
};
|
959
959
|
/*!
|
960
|
-
@versini/ui-header v4.0.
|
960
|
+
@versini/ui-header v4.0.7
|
961
961
|
© 2025 gizmette.com
|
962
962
|
*/
|
963
963
|
try {
|
964
964
|
window.__VERSINI_UI_HEADER__ || (window.__VERSINI_UI_HEADER__ = {
|
965
|
-
version: "4.0.
|
966
|
-
buildTime: "08/
|
965
|
+
version: "4.0.7",
|
966
|
+
buildTime: "08/14/2025 06:06 PM EDT",
|
967
967
|
homepage: "https://github.com/aversini/ui-components",
|
968
968
|
license: "MIT"
|
969
969
|
});
|
@@ -1635,13 +1635,13 @@ const Tt = {
|
|
1635
1635
|
);
|
1636
1636
|
Qs.displayName = "ButtonIcon";
|
1637
1637
|
/*!
|
1638
|
-
@versini/ui-button v7.1.
|
1638
|
+
@versini/ui-button v7.1.2
|
1639
1639
|
© 2025 gizmette.com
|
1640
1640
|
*/
|
1641
1641
|
try {
|
1642
1642
|
window.__VERSINI_UI_BUTTON__ || (window.__VERSINI_UI_BUTTON__ = {
|
1643
|
-
version: "7.1.
|
1644
|
-
buildTime: "08/
|
1643
|
+
version: "7.1.2",
|
1644
|
+
buildTime: "08/14/2025 06:04 PM EDT",
|
1645
1645
|
homepage: "https://github.com/aversini/ui-components",
|
1646
1646
|
license: "MIT"
|
1647
1647
|
});
|
@@ -1944,7 +1944,7 @@ const lt = Z.createContext({
|
|
1944
1944
|
)
|
1945
1945
|
}), Sc = ({
|
1946
1946
|
buttonClassName: e
|
1947
|
-
}) => p("rounded-none text-sm", e),
|
1947
|
+
}) => p("rounded-none text-sm", e), Ym = ({
|
1948
1948
|
children: e,
|
1949
1949
|
mode: t = "system",
|
1950
1950
|
caption: r,
|
@@ -1983,7 +1983,7 @@ const lt = Z.createContext({
|
|
1983
1983
|
)
|
1984
1984
|
}
|
1985
1985
|
);
|
1986
|
-
},
|
1986
|
+
}, Qm = ({
|
1987
1987
|
children: e,
|
1988
1988
|
className: t,
|
1989
1989
|
...r
|
@@ -1996,7 +1996,7 @@ const lt = Z.createContext({
|
|
1996
1996
|
stickyHeader: a.stickyHeader
|
1997
1997
|
});
|
1998
1998
|
return /* @__PURE__ */ i("thead", { className: s, ...r, children: e });
|
1999
|
-
},
|
1999
|
+
}, Xm = ({
|
2000
2000
|
children: e,
|
2001
2001
|
className: t,
|
2002
2002
|
...r
|
@@ -2009,10 +2009,10 @@ const lt = Z.createContext({
|
|
2009
2009
|
stickyFooter: a.stickyFooter
|
2010
2010
|
});
|
2011
2011
|
return /* @__PURE__ */ i("tfoot", { className: s, ...r, children: e });
|
2012
|
-
},
|
2012
|
+
}, Zm = ({ children: e, ...t }) => {
|
2013
2013
|
const r = X(lt);
|
2014
2014
|
return r.cellWrapper = rt, /* @__PURE__ */ i("tbody", { ...t, children: e });
|
2015
|
-
},
|
2015
|
+
}, ef = ({
|
2016
2016
|
children: e,
|
2017
2017
|
className: t,
|
2018
2018
|
...r
|
@@ -2038,7 +2038,7 @@ const lt = Z.createContext({
|
|
2038
2038
|
align: a
|
2039
2039
|
});
|
2040
2040
|
return a ? /* @__PURE__ */ i(o, { className: c, ...s, children: /* @__PURE__ */ i("div", { className: l, children: e }) }) : /* @__PURE__ */ i(o, { className: c, ...s, children: e });
|
2041
|
-
},
|
2041
|
+
}, tf = ({
|
2042
2042
|
align: e,
|
2043
2043
|
children: t,
|
2044
2044
|
buttonClassName: r,
|
@@ -2080,13 +2080,13 @@ const lt = Z.createContext({
|
|
2080
2080
|
);
|
2081
2081
|
};
|
2082
2082
|
/*!
|
2083
|
-
@versini/ui-table v4.0.
|
2083
|
+
@versini/ui-table v4.0.13
|
2084
2084
|
© 2025 gizmette.com
|
2085
2085
|
*/
|
2086
2086
|
try {
|
2087
2087
|
window.__VERSINI_UI_TABLE__ || (window.__VERSINI_UI_TABLE__ = {
|
2088
|
-
version: "4.0.
|
2089
|
-
buildTime: "08/
|
2088
|
+
version: "4.0.13",
|
2089
|
+
buildTime: "08/14/2025 06:06 PM EDT",
|
2090
2090
|
homepage: "https://github.com/aversini/ui-components",
|
2091
2091
|
license: "MIT"
|
2092
2092
|
});
|
@@ -4796,13 +4796,13 @@ const is = ({
|
|
4796
4796
|
CHANGELOGS: "changelogs",
|
4797
4797
|
PREFERENCES: "preferences",
|
4798
4798
|
USAGE: "usage"
|
4799
|
-
},
|
4799
|
+
}, rf = () => ct({
|
4800
4800
|
queryKey: [dt.CAPABILITIES],
|
4801
4801
|
queryFn: async () => await ut({
|
4802
4802
|
type: He.GET_SERVER_CAPABILITIES,
|
4803
4803
|
noAuth: !0
|
4804
4804
|
})
|
4805
|
-
}),
|
4805
|
+
}), af = () => ct({
|
4806
4806
|
queryKey: [dt.CHANGELOGS],
|
4807
4807
|
queryFn: async () => await ut({
|
4808
4808
|
type: He.GET_CHANGELOGS,
|
@@ -4823,7 +4823,7 @@ const is = ({
|
|
4823
4823
|
type: He.GET_USER_PREFERENCES,
|
4824
4824
|
getAccessToken: t
|
4825
4825
|
})
|
4826
|
-
}),
|
4826
|
+
}), sf = ({
|
4827
4827
|
user: e,
|
4828
4828
|
getAccessToken: t
|
4829
4829
|
}) => ct({
|
@@ -4859,7 +4859,7 @@ const is = ({
|
|
4859
4859
|
type: He.GET_CHATS,
|
4860
4860
|
getAccessToken: s
|
4861
4861
|
})
|
4862
|
-
}),
|
4862
|
+
}), nf = ({
|
4863
4863
|
user: e,
|
4864
4864
|
month: t,
|
4865
4865
|
year: r = (/* @__PURE__ */ new Date()).getFullYear().toString(),
|
@@ -4925,9 +4925,9 @@ const is = ({
|
|
4925
4925
|
],
|
4926
4926
|
[Pn]: [xd],
|
4927
4927
|
[vd]: [Cd]
|
4928
|
-
}, Mn = {
|
4929
|
-
REASONING:
|
4930
|
-
},
|
4928
|
+
}, Rd = "sassy:advanced:reasoning", Mn = {
|
4929
|
+
REASONING: Rd
|
4930
|
+
}, Ad = "x-callisto-chat-id", of = (e) => {
|
4931
4931
|
for (const [t, r] of Object.entries(
|
4932
4932
|
Id
|
4933
4933
|
))
|
@@ -4971,7 +4971,7 @@ const is = ({
|
|
4971
4971
|
dispatch: () => {
|
4972
4972
|
}
|
4973
4973
|
});
|
4974
|
-
var
|
4974
|
+
var Nd = Object.defineProperty, Od = (e, t, r) => t in e ? Nd(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, se = (e, t, r) => Od(e, typeof t != "symbol" ? t + "" : t, r);
|
4975
4975
|
/*!
|
4976
4976
|
@versini/auth-common v4.5.0
|
4977
4977
|
© 2025 gizmette.com
|
@@ -4985,14 +4985,14 @@ try {
|
|
4985
4985
|
});
|
4986
4986
|
} catch {
|
4987
4987
|
}
|
4988
|
-
const
|
4988
|
+
const cf = {
|
4989
4989
|
PASSKEY: "passkey"
|
4990
4990
|
}, st = {
|
4991
4991
|
ALG: "RS256",
|
4992
4992
|
SCOPES_KEY: "scopes",
|
4993
4993
|
SCOPE_KEY: "scope",
|
4994
4994
|
ISSUER: "gizmette.com"
|
4995
|
-
},
|
4995
|
+
}, $d = `-----BEGIN PUBLIC KEY-----
|
4996
4996
|
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAsF6i3Jd9fY/3COqCw/m7
|
4997
4997
|
w5PKyTYLGAI2I6SIIdpe6i6DOCbEkmDz7LdVsBqwNtVi8gvWYIj+8ol6rU3qu1v5
|
4998
4998
|
i1Jd45GSK4kzkVdgCmQZbM5ak0KI99q5wsrAIzUd+LRJ2HRvWtr5IYdsIiXaQjle
|
@@ -5001,14 +5001,14 @@ l0haqjMk0UoNPPE8iYBWUHQJJE1Dqstj65d6Eh5g64Pao25y4cmYJbKjiblIGEkE
|
|
5001
5001
|
sjqybA9mARAqh9k/eiIopecWSiffNQTwVQVd2I9ZH3BalhEXHlqFgrjz51kFqg81
|
5002
5002
|
awIDAQAB
|
5003
5003
|
-----END PUBLIC KEY-----`, Nt = new TextEncoder(), vt = new TextDecoder();
|
5004
|
-
function
|
5004
|
+
function Pd(...e) {
|
5005
5005
|
const t = e.reduce((s, { length: n }) => s + n, 0), r = new Uint8Array(t);
|
5006
5006
|
let a = 0;
|
5007
5007
|
for (const s of e)
|
5008
5008
|
r.set(s, a), a += s.length;
|
5009
5009
|
return r;
|
5010
5010
|
}
|
5011
|
-
function
|
5011
|
+
function Md(e) {
|
5012
5012
|
if (Uint8Array.fromBase64)
|
5013
5013
|
return Uint8Array.fromBase64(e);
|
5014
5014
|
const t = atob(e), r = new Uint8Array(t.length);
|
@@ -5024,7 +5024,7 @@ function Vt(e) {
|
|
5024
5024
|
let t = e;
|
5025
5025
|
t instanceof Uint8Array && (t = vt.decode(t)), t = t.replace(/-/g, "+").replace(/_/g, "/").replace(/\s/g, "");
|
5026
5026
|
try {
|
5027
|
-
return
|
5027
|
+
return Md(t);
|
5028
5028
|
} catch {
|
5029
5029
|
throw new TypeError("The input to be decoded is not correctly encoded.");
|
5030
5030
|
}
|
@@ -5087,7 +5087,7 @@ function ht(e, t) {
|
|
5087
5087
|
function pr(e) {
|
5088
5088
|
return parseInt(e.name.slice(4), 10);
|
5089
5089
|
}
|
5090
|
-
function
|
5090
|
+
function Ld(e) {
|
5091
5091
|
switch (e) {
|
5092
5092
|
case "ES256":
|
5093
5093
|
return "P-256";
|
@@ -5099,11 +5099,11 @@ function Md(e) {
|
|
5099
5099
|
throw new Error("unreachable");
|
5100
5100
|
}
|
5101
5101
|
}
|
5102
|
-
function
|
5102
|
+
function Dd(e, t) {
|
5103
5103
|
if (!e.usages.includes(t))
|
5104
5104
|
throw new TypeError(`CryptoKey does not support this operation, its usages must include ${t}.`);
|
5105
5105
|
}
|
5106
|
-
function
|
5106
|
+
function Bd(e, t, r) {
|
5107
5107
|
switch (t) {
|
5108
5108
|
case "HS256":
|
5109
5109
|
case "HS384":
|
@@ -5146,7 +5146,7 @@ function Dd(e, t, r) {
|
|
5146
5146
|
case "ES512": {
|
5147
5147
|
if (!ht(e.algorithm, "ECDSA"))
|
5148
5148
|
throw Ie("ECDSA");
|
5149
|
-
const a =
|
5149
|
+
const a = Ld(t);
|
5150
5150
|
if (e.algorithm.namedCurve !== a)
|
5151
5151
|
throw Ie(a, "algorithm.namedCurve");
|
5152
5152
|
break;
|
@@ -5154,7 +5154,7 @@ function Dd(e, t, r) {
|
|
5154
5154
|
default:
|
5155
5155
|
throw new TypeError("CryptoKey does not support this operation");
|
5156
5156
|
}
|
5157
|
-
|
5157
|
+
Dd(e, r);
|
5158
5158
|
}
|
5159
5159
|
function Bn(e, t, ...r) {
|
5160
5160
|
var a;
|
@@ -5164,7 +5164,7 @@ function Bn(e, t, ...r) {
|
|
5164
5164
|
} else r.length === 2 ? e += `one of type ${r[0]} or ${r[1]}.` : e += `of type ${r[0]}.`;
|
5165
5165
|
return t == null ? e += ` Received ${t}` : typeof t == "function" && t.name ? e += ` Received function ${t.name}` : typeof t == "object" && t != null && (a = t.constructor) != null && a.name && (e += ` Received an instance of ${t.constructor.name}`), e;
|
5166
5166
|
}
|
5167
|
-
const
|
5167
|
+
const Ud = (e, ...t) => Bn("Key must be ", e, ...t);
|
5168
5168
|
function Un(e, t, ...r) {
|
5169
5169
|
return Bn(`Key for the ${e} algorithm must be `, t, ...r);
|
5170
5170
|
}
|
@@ -5174,7 +5174,7 @@ function Vn(e) {
|
|
5174
5174
|
function Hn(e) {
|
5175
5175
|
return e?.[Symbol.toStringTag] === "KeyObject";
|
5176
5176
|
}
|
5177
|
-
const zn = (e) => Vn(e) || Hn(e),
|
5177
|
+
const zn = (e) => Vn(e) || Hn(e), Vd = (...e) => {
|
5178
5178
|
const t = e.filter(Boolean);
|
5179
5179
|
if (t.length === 0 || t.length === 1)
|
5180
5180
|
return !0;
|
@@ -5193,11 +5193,11 @@ const zn = (e) => Vn(e) || Hn(e), Ud = (...e) => {
|
|
5193
5193
|
}
|
5194
5194
|
return !0;
|
5195
5195
|
};
|
5196
|
-
function
|
5196
|
+
function Hd(e) {
|
5197
5197
|
return typeof e == "object" && e !== null;
|
5198
5198
|
}
|
5199
5199
|
const Yt = (e) => {
|
5200
|
-
if (!
|
5200
|
+
if (!Hd(e) || Object.prototype.toString.call(e) !== "[object Object]")
|
5201
5201
|
return !1;
|
5202
5202
|
if (Object.getPrototypeOf(e) === null)
|
5203
5203
|
return !0;
|
@@ -5205,7 +5205,7 @@ const Yt = (e) => {
|
|
5205
5205
|
for (; Object.getPrototypeOf(t) !== null; )
|
5206
5206
|
t = Object.getPrototypeOf(t);
|
5207
5207
|
return Object.getPrototypeOf(e) === t;
|
5208
|
-
},
|
5208
|
+
}, zd = (e, t) => {
|
5209
5209
|
if (e.startsWith("RS") || e.startsWith("PS")) {
|
5210
5210
|
const { modulusLength: r } = t.algorithm;
|
5211
5211
|
if (typeof r != "number" || r < 2048)
|
@@ -5218,7 +5218,7 @@ const Yt = (e) => {
|
|
5218
5218
|
return !1;
|
5219
5219
|
const s = e.subarray(a, a + t.length);
|
5220
5220
|
return s.length !== t.length ? !1 : s.every((n, o) => n === t[o]) || Ht(e, t, a + 1);
|
5221
|
-
},
|
5221
|
+
}, Fd = (e) => {
|
5222
5222
|
switch (!0) {
|
5223
5223
|
case Ht(e, [42, 134, 72, 206, 61, 3, 1, 7]):
|
5224
5224
|
return "P-256";
|
@@ -5229,7 +5229,7 @@ const Yt = (e) => {
|
|
5229
5229
|
default:
|
5230
5230
|
return;
|
5231
5231
|
}
|
5232
|
-
},
|
5232
|
+
}, Wd = async (e, t, r, a, s) => {
|
5233
5233
|
let n, o;
|
5234
5234
|
const c = new Uint8Array(atob(r.replace(e, "")).split("").map((l) => l.charCodeAt(0)));
|
5235
5235
|
switch (a) {
|
@@ -5265,7 +5265,7 @@ const Yt = (e) => {
|
|
5265
5265
|
case "ECDH-ES+A128KW":
|
5266
5266
|
case "ECDH-ES+A192KW":
|
5267
5267
|
case "ECDH-ES+A256KW": {
|
5268
|
-
const l =
|
5268
|
+
const l = Fd(c);
|
5269
5269
|
n = l != null && l.startsWith("P-") ? { name: "ECDH", namedCurve: l } : { name: "X25519" }, o = [];
|
5270
5270
|
break;
|
5271
5271
|
}
|
@@ -5277,8 +5277,8 @@ const Yt = (e) => {
|
|
5277
5277
|
throw new Le('Invalid or unsupported "alg" (Algorithm) value');
|
5278
5278
|
}
|
5279
5279
|
return crypto.subtle.importKey(t, c, n, !0, o);
|
5280
|
-
},
|
5281
|
-
function
|
5280
|
+
}, Kd = (e, t, r) => Wd(/(?:-----(?:BEGIN|END) PUBLIC KEY-----|\s)/g, "spki", e, t);
|
5281
|
+
function jd(e) {
|
5282
5282
|
let t, r;
|
5283
5283
|
switch (e.kty) {
|
5284
5284
|
case "RSA": {
|
@@ -5351,18 +5351,18 @@ function Kd(e) {
|
|
5351
5351
|
}
|
5352
5352
|
return { algorithm: t, keyUsages: r };
|
5353
5353
|
}
|
5354
|
-
const
|
5354
|
+
const Gd = async (e) => {
|
5355
5355
|
if (!e.alg)
|
5356
5356
|
throw new TypeError('"alg" argument is required when "jwk.alg" is not present');
|
5357
|
-
const { algorithm: t, keyUsages: r } =
|
5357
|
+
const { algorithm: t, keyUsages: r } = jd(e), a = { ...e };
|
5358
5358
|
return delete a.alg, delete a.use, crypto.subtle.importKey("jwk", a, t, e.ext ?? !e.d, e.key_ops ?? r);
|
5359
5359
|
};
|
5360
|
-
async function
|
5360
|
+
async function Jd(e, t, r) {
|
5361
5361
|
if (e.indexOf("-----BEGIN PUBLIC KEY-----") !== 0)
|
5362
5362
|
throw new TypeError('"spki" must be SPKI formatted string');
|
5363
|
-
return
|
5363
|
+
return Kd(e, t);
|
5364
5364
|
}
|
5365
|
-
const
|
5365
|
+
const qd = (e, t, r, a, s) => {
|
5366
5366
|
if (s.crit !== void 0 && a?.crit === void 0)
|
5367
5367
|
throw new e('"crit" (Critical) Header Parameter MUST be integrity protected');
|
5368
5368
|
if (!a || a.crit === void 0)
|
@@ -5380,7 +5380,7 @@ const Jd = (e, t, r, a, s) => {
|
|
5380
5380
|
throw new e(`Extension Header Parameter "${o}" MUST be integrity protected`);
|
5381
5381
|
}
|
5382
5382
|
return new Set(a.crit);
|
5383
|
-
},
|
5383
|
+
}, Yd = (e, t) => {
|
5384
5384
|
if (t !== void 0 && (!Array.isArray(t) || t.some((r) => typeof r != "string")))
|
5385
5385
|
throw new TypeError(`"${e}" option must be an array of strings`);
|
5386
5386
|
if (t)
|
@@ -5389,13 +5389,13 @@ const Jd = (e, t, r, a, s) => {
|
|
5389
5389
|
function ua(e) {
|
5390
5390
|
return Yt(e) && typeof e.kty == "string";
|
5391
5391
|
}
|
5392
|
-
function
|
5392
|
+
function Qd(e) {
|
5393
5393
|
return e.kty !== "oct" && typeof e.d == "string";
|
5394
5394
|
}
|
5395
|
-
function
|
5395
|
+
function Xd(e) {
|
5396
5396
|
return e.kty !== "oct" && typeof e.d > "u";
|
5397
5397
|
}
|
5398
|
-
function
|
5398
|
+
function Zd(e) {
|
5399
5399
|
return e.kty === "oct" && typeof e.k == "string";
|
5400
5400
|
}
|
5401
5401
|
let De;
|
@@ -5404,9 +5404,9 @@ const cs = async (e, t, r, a = !1) => {
|
|
5404
5404
|
let s = De.get(e);
|
5405
5405
|
if (s != null && s[r])
|
5406
5406
|
return s[r];
|
5407
|
-
const n = await
|
5407
|
+
const n = await Gd({ ...t, alg: r });
|
5408
5408
|
return a && Object.freeze(e), s ? s[r] = n : De.set(e, { [r]: n }), n;
|
5409
|
-
},
|
5409
|
+
}, eu = (e, t) => {
|
5410
5410
|
var r;
|
5411
5411
|
De || (De = /* @__PURE__ */ new WeakMap());
|
5412
5412
|
let a = De.get(e);
|
@@ -5492,7 +5492,7 @@ const cs = async (e, t, r, a = !1) => {
|
|
5492
5492
|
if (!o)
|
5493
5493
|
throw new TypeError("given KeyObject instance cannot be used for this algorithm");
|
5494
5494
|
return a ? a[t] = o : De.set(e, { [t]: o }), o;
|
5495
|
-
},
|
5495
|
+
}, tu = async (e, t) => {
|
5496
5496
|
if (e instanceof Uint8Array || Vn(e))
|
5497
5497
|
return e;
|
5498
5498
|
if (Hn(e)) {
|
@@ -5500,7 +5500,7 @@ const cs = async (e, t, r, a = !1) => {
|
|
5500
5500
|
return e.export();
|
5501
5501
|
if ("toCryptoKey" in e && typeof e.toCryptoKey == "function")
|
5502
5502
|
try {
|
5503
|
-
return
|
5503
|
+
return eu(e, t);
|
5504
5504
|
} catch (a) {
|
5505
5505
|
if (a instanceof TypeError)
|
5506
5506
|
throw a;
|
@@ -5555,10 +5555,10 @@ const cs = async (e, t, r, a = !1) => {
|
|
5555
5555
|
throw new TypeError(`Invalid key for this operation, its "key_ops" must include "${n}" when present`);
|
5556
5556
|
}
|
5557
5557
|
return !0;
|
5558
|
-
},
|
5558
|
+
}, ru = (e, t, r) => {
|
5559
5559
|
if (!(t instanceof Uint8Array)) {
|
5560
5560
|
if (ua(t)) {
|
5561
|
-
if (
|
5561
|
+
if (Zd(t) && Hr(e, t, r))
|
5562
5562
|
return;
|
5563
5563
|
throw new TypeError('JSON Web Key for symmetric algorithms must have JWK "kty" (Key Type) equal to "oct" and the JWK "k" (Key Value) present');
|
5564
5564
|
}
|
@@ -5567,17 +5567,17 @@ const cs = async (e, t, r, a = !1) => {
|
|
5567
5567
|
if (t.type !== "secret")
|
5568
5568
|
throw new TypeError(`${tt(t)} instances for symmetric algorithms must be of type "secret"`);
|
5569
5569
|
}
|
5570
|
-
},
|
5570
|
+
}, au = (e, t, r) => {
|
5571
5571
|
if (ua(t))
|
5572
5572
|
switch (r) {
|
5573
5573
|
case "decrypt":
|
5574
5574
|
case "sign":
|
5575
|
-
if (
|
5575
|
+
if (Qd(t) && Hr(e, t, r))
|
5576
5576
|
return;
|
5577
5577
|
throw new TypeError("JSON Web Key for this operation be a private JWK");
|
5578
5578
|
case "encrypt":
|
5579
5579
|
case "verify":
|
5580
|
-
if (
|
5580
|
+
if (Xd(t) && Hr(e, t, r))
|
5581
5581
|
return;
|
5582
5582
|
throw new TypeError("JSON Web Key for this operation be a public JWK");
|
5583
5583
|
}
|
@@ -5599,9 +5599,9 @@ const cs = async (e, t, r, a = !1) => {
|
|
5599
5599
|
case "encrypt":
|
5600
5600
|
throw new TypeError(`${tt(t)} instances for asymmetric algorithm encryption must be of type "public"`);
|
5601
5601
|
}
|
5602
|
-
},
|
5603
|
-
e.startsWith("HS") || e === "dir" || e.startsWith("PBES2") || /^A(?:128|192|256)(?:GCM)?(?:KW)?$/.test(e) || /^A(?:128|192|256)CBC-HS(?:256|384|512)$/.test(e) ?
|
5604
|
-
},
|
5602
|
+
}, su = (e, t, r) => {
|
5603
|
+
e.startsWith("HS") || e === "dir" || e.startsWith("PBES2") || /^A(?:128|192|256)(?:GCM)?(?:KW)?$/.test(e) || /^A(?:128|192|256)CBC-HS(?:256|384|512)$/.test(e) ? ru(e, t, r) : au(e, t, r);
|
5604
|
+
}, nu = (e, t) => {
|
5605
5605
|
const r = `SHA-${e.slice(-3)}`;
|
5606
5606
|
switch (e) {
|
5607
5607
|
case "HS256":
|
@@ -5626,24 +5626,24 @@ const cs = async (e, t, r, a = !1) => {
|
|
5626
5626
|
default:
|
5627
5627
|
throw new Le(`alg ${e} is not supported either by JOSE or your javascript runtime`);
|
5628
5628
|
}
|
5629
|
-
},
|
5629
|
+
}, ou = async (e, t, r) => {
|
5630
5630
|
if (t instanceof Uint8Array) {
|
5631
5631
|
if (!e.startsWith("HS"))
|
5632
|
-
throw new TypeError(
|
5632
|
+
throw new TypeError(Ud(t, "CryptoKey", "KeyObject", "JSON Web Key"));
|
5633
5633
|
return crypto.subtle.importKey("raw", t, { hash: `SHA-${e.slice(-3)}`, name: "HMAC" }, !1, [r]);
|
5634
5634
|
}
|
5635
|
-
return
|
5636
|
-
},
|
5637
|
-
const s = await
|
5638
|
-
|
5639
|
-
const n =
|
5635
|
+
return Bd(t, e, r), t;
|
5636
|
+
}, iu = async (e, t, r, a) => {
|
5637
|
+
const s = await ou(e, t, "verify");
|
5638
|
+
zd(e, s);
|
5639
|
+
const n = nu(e, s.algorithm);
|
5640
5640
|
try {
|
5641
5641
|
return await crypto.subtle.verify(n, s, r, a);
|
5642
5642
|
} catch {
|
5643
5643
|
return !1;
|
5644
5644
|
}
|
5645
5645
|
};
|
5646
|
-
async function
|
5646
|
+
async function cu(e, t, r) {
|
5647
5647
|
if (!Yt(e))
|
5648
5648
|
throw new oe("Flattened JWS must be an object");
|
5649
5649
|
if (e.protected === void 0 && e.header === void 0)
|
@@ -5664,19 +5664,19 @@ async function iu(e, t, r) {
|
|
5664
5664
|
} catch {
|
5665
5665
|
throw new oe("JWS Protected Header is invalid");
|
5666
5666
|
}
|
5667
|
-
if (!
|
5667
|
+
if (!Vd(a, e.header))
|
5668
5668
|
throw new oe("JWS Protected and JWS Unprotected Header Parameter names must be disjoint");
|
5669
5669
|
const s = {
|
5670
5670
|
...a,
|
5671
5671
|
...e.header
|
5672
|
-
}, n =
|
5672
|
+
}, n = qd(oe, /* @__PURE__ */ new Map([["b64", !0]]), r?.crit, a, s);
|
5673
5673
|
let o = !0;
|
5674
5674
|
if (n.has("b64") && (o = a.b64, typeof o != "boolean"))
|
5675
5675
|
throw new oe('The "b64" (base64url-encode payload) Header Parameter must be a boolean');
|
5676
5676
|
const { alg: c } = s;
|
5677
5677
|
if (typeof c != "string" || !c)
|
5678
5678
|
throw new oe('JWS "alg" (Algorithm) Header Parameter missing or invalid');
|
5679
|
-
const l = r &&
|
5679
|
+
const l = r && Yd("algorithms", r.algorithms);
|
5680
5680
|
if (l && !l.has(c))
|
5681
5681
|
throw new Ln('"alg" (Algorithm) Header Parameter value not allowed');
|
5682
5682
|
if (o) {
|
@@ -5685,16 +5685,16 @@ async function iu(e, t, r) {
|
|
5685
5685
|
} else if (typeof e.payload != "string" && !(e.payload instanceof Uint8Array))
|
5686
5686
|
throw new oe("JWS Payload must be a string or an Uint8Array instance");
|
5687
5687
|
let u = !1;
|
5688
|
-
typeof t == "function" && (t = await t(a, e), u = !0),
|
5689
|
-
const m =
|
5688
|
+
typeof t == "function" && (t = await t(a, e), u = !0), su(c, t, "verify");
|
5689
|
+
const m = Pd(Nt.encode(e.protected ?? ""), Nt.encode("."), typeof e.payload == "string" ? Nt.encode(e.payload) : e.payload);
|
5690
5690
|
let d;
|
5691
5691
|
try {
|
5692
5692
|
d = Vt(e.signature);
|
5693
5693
|
} catch {
|
5694
5694
|
throw new oe("Failed to base64url decode the signature");
|
5695
5695
|
}
|
5696
|
-
const h = await
|
5697
|
-
if (!await
|
5696
|
+
const h = await tu(t, c);
|
5697
|
+
if (!await iu(c, h, d, m))
|
5698
5698
|
throw new Dn();
|
5699
5699
|
let f;
|
5700
5700
|
if (o)
|
@@ -5707,17 +5707,17 @@ async function iu(e, t, r) {
|
|
5707
5707
|
const y = { payload: f };
|
5708
5708
|
return e.protected !== void 0 && (y.protectedHeader = a), e.header !== void 0 && (y.unprotectedHeader = e.header), u ? { ...y, key: h } : y;
|
5709
5709
|
}
|
5710
|
-
async function
|
5710
|
+
async function lu(e, t, r) {
|
5711
5711
|
if (e instanceof Uint8Array && (e = vt.decode(e)), typeof e != "string")
|
5712
5712
|
throw new oe("Compact JWS must be a string or Uint8Array");
|
5713
5713
|
const { 0: a, 1: s, 2: n, length: o } = e.split(".");
|
5714
5714
|
if (o !== 3)
|
5715
5715
|
throw new oe("Invalid Compact JWS");
|
5716
|
-
const c = await
|
5716
|
+
const c = await cu({ payload: s, protected: a, signature: n }, t, r), l = { payload: c.payload, protectedHeader: c.protectedHeader };
|
5717
5717
|
return typeof t == "function" ? { ...l, key: c.key } : l;
|
5718
5718
|
}
|
5719
|
-
const
|
5720
|
-
const t =
|
5719
|
+
const du = (e) => Math.floor(e.getTime() / 1e3), Fn = 60, Wn = Fn * 60, ha = Wn * 24, uu = ha * 7, hu = ha * 365.25, mu = /^(\+|\-)? ?(\d+|\d+\.\d+) ?(seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)(?: (ago|from now))?$/i, ls = (e) => {
|
5720
|
+
const t = mu.exec(e);
|
5721
5721
|
if (!t || t[4] && t[1])
|
5722
5722
|
throw new TypeError("Invalid time period format");
|
5723
5723
|
const r = parseFloat(t[2]), a = t[3].toLowerCase();
|
@@ -5752,15 +5752,15 @@ const lu = (e) => Math.floor(e.getTime() / 1e3), Fn = 60, Wn = Fn * 60, ha = Wn
|
|
5752
5752
|
case "week":
|
5753
5753
|
case "weeks":
|
5754
5754
|
case "w":
|
5755
|
-
s = Math.round(r *
|
5755
|
+
s = Math.round(r * uu);
|
5756
5756
|
break;
|
5757
5757
|
default:
|
5758
|
-
s = Math.round(r *
|
5758
|
+
s = Math.round(r * hu);
|
5759
5759
|
break;
|
5760
5760
|
}
|
5761
5761
|
return t[1] === "-" || t[4] === "ago" ? -s : s;
|
5762
|
-
}, ds = (e) => e.toLowerCase().replace(/^application\//, ""),
|
5763
|
-
function
|
5762
|
+
}, ds = (e) => e.toLowerCase().replace(/^application\//, ""), fu = (e, t) => typeof e == "string" ? t.includes(e) : Array.isArray(e) ? t.some(Set.prototype.has.bind(new Set(e))) : !1;
|
5763
|
+
function pu(e, t, r = {}) {
|
5764
5764
|
let a;
|
5765
5765
|
try {
|
5766
5766
|
a = JSON.parse(vt.decode(t));
|
@@ -5780,7 +5780,7 @@ function fu(e, t, r = {}) {
|
|
5780
5780
|
throw new we('unexpected "iss" claim value', a, "iss", "check_failed");
|
5781
5781
|
if (c && a.sub !== c)
|
5782
5782
|
throw new we('unexpected "sub" claim value', a, "sub", "check_failed");
|
5783
|
-
if (l && !
|
5783
|
+
if (l && !fu(a.aud, typeof l == "string" ? [l] : l))
|
5784
5784
|
throw new we('unexpected "aud" claim value', a, "aud", "check_failed");
|
5785
5785
|
let d;
|
5786
5786
|
switch (typeof r.clockTolerance) {
|
@@ -5796,7 +5796,7 @@ function fu(e, t, r = {}) {
|
|
5796
5796
|
default:
|
5797
5797
|
throw new TypeError("Invalid clockTolerance option type");
|
5798
5798
|
}
|
5799
|
-
const { currentDate: h } = r, f =
|
5799
|
+
const { currentDate: h } = r, f = du(h || /* @__PURE__ */ new Date());
|
5800
5800
|
if ((a.iat !== void 0 || u) && typeof a.iat != "number")
|
5801
5801
|
throw new we('"iat" claim must be a number', a, "iat", "invalid");
|
5802
5802
|
if (a.nbf !== void 0) {
|
@@ -5820,29 +5820,29 @@ function fu(e, t, r = {}) {
|
|
5820
5820
|
}
|
5821
5821
|
return a;
|
5822
5822
|
}
|
5823
|
-
async function
|
5823
|
+
async function gu(e, t, r) {
|
5824
5824
|
var a;
|
5825
|
-
const s = await
|
5825
|
+
const s = await lu(e, t, r);
|
5826
5826
|
if ((a = s.protectedHeader.crit) != null && a.includes("b64") && s.protectedHeader.b64 === !1)
|
5827
5827
|
throw new da("JWTs MUST NOT use unencoded payload");
|
5828
|
-
const n = { payload:
|
5828
|
+
const n = { payload: pu(s.protectedHeader, s.payload, r), protectedHeader: s.protectedHeader };
|
5829
5829
|
return typeof t == "function" ? { ...n, key: s.key } : n;
|
5830
5830
|
}
|
5831
|
-
const
|
5831
|
+
const yu = async (e) => {
|
5832
5832
|
try {
|
5833
|
-
const t = st.ALG, r = await
|
5834
|
-
return await
|
5833
|
+
const t = st.ALG, r = await Jd($d, t);
|
5834
|
+
return await gu(e, r, {
|
5835
5835
|
issuer: st.ISSUER
|
5836
5836
|
});
|
5837
5837
|
} catch {
|
5838
5838
|
return;
|
5839
5839
|
}
|
5840
|
-
},
|
5840
|
+
}, bu = [];
|
5841
5841
|
for (let e = 0; e < 256; ++e)
|
5842
|
-
|
5842
|
+
bu.push((e + 256).toString(16).slice(1));
|
5843
5843
|
typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto);
|
5844
5844
|
const Kn = async (e, t) => {
|
5845
|
-
const r = await
|
5845
|
+
const r = await yu(e);
|
5846
5846
|
if (!r || !r.payload)
|
5847
5847
|
return !1;
|
5848
5848
|
let a = [];
|
@@ -5855,8 +5855,8 @@ const Kn = async (e, t) => {
|
|
5855
5855
|
return Array.isArray(t) ? t.every((s) => a.includes(s)) : Object.keys(t).some(
|
5856
5856
|
(s) => t[s].every((n) => a.includes(n))
|
5857
5857
|
);
|
5858
|
-
},
|
5859
|
-
function
|
5858
|
+
}, vu = "av-tooltip", wu = "av-tooltip-arrow", us = ["mousedown", "touchstart"];
|
5859
|
+
function ku(e, t, r) {
|
5860
5860
|
const a = R(null);
|
5861
5861
|
return N(() => {
|
5862
5862
|
const s = (n) => {
|
@@ -5877,7 +5877,7 @@ function wu(e, t, r) {
|
|
5877
5877
|
};
|
5878
5878
|
}, [e, r, t]), a;
|
5879
5879
|
}
|
5880
|
-
function
|
5880
|
+
function Eu(e, t) {
|
5881
5881
|
const [r, a] = z(!1), s = R(null), n = R(null), o = W(() => {
|
5882
5882
|
a((l) => (!l && (!s.current || s.current === -1) && (s.current = window.setInterval(n.current, t)), !0));
|
5883
5883
|
}, [t]), c = W(() => {
|
@@ -5885,42 +5885,42 @@ function ku(e, t) {
|
|
5885
5885
|
}, []);
|
5886
5886
|
return N(() => (n.current = e, r && o(), c), [e, r, o, c]), { start: o, stop: c, active: r };
|
5887
5887
|
}
|
5888
|
-
const Ot = (e, t = "px") => typeof e > "u" ? "" : `${Math.round(e)}${t}`,
|
5888
|
+
const Ot = (e, t = "px") => typeof e > "u" ? "" : `${Math.round(e)}${t}`, _u = () => p("absolute top-0 left-0 w-max py-1 px-2 rounded-sm text-sm z-50"), hs = ({
|
5889
5889
|
mode: e
|
5890
5890
|
}) => p({
|
5891
5891
|
"bg-surface-darker": e === "dark" || e === "system",
|
5892
5892
|
"bg-surface-light": e === "light" || e === "alt-system",
|
5893
5893
|
"dark:bg-surface-light": e === "system",
|
5894
5894
|
"dark:bg-surface-darker": e === "alt-system"
|
5895
|
-
}),
|
5895
|
+
}), Su = ({
|
5896
5896
|
mode: e
|
5897
5897
|
}) => p({
|
5898
5898
|
"text-copy-light": e === "dark" || e === "system",
|
5899
5899
|
"text-copy-dark": e === "light" || e === "alt-system",
|
5900
5900
|
"dark:text-copy-dark": e === "system",
|
5901
5901
|
"dark:text-copy-light": e === "alt-system"
|
5902
|
-
}),
|
5902
|
+
}), Tu = () => p("absolute", "size-2", "transform rotate-45"), xu = ({
|
5903
5903
|
mode: e,
|
5904
5904
|
className: t,
|
5905
5905
|
tooltipClassName: r,
|
5906
5906
|
arrowClassName: a
|
5907
5907
|
}) => {
|
5908
5908
|
const s = p("relative inline-block", t), n = p(
|
5909
|
-
|
5910
|
-
|
5909
|
+
vu,
|
5910
|
+
_u(),
|
5911
5911
|
hs({ mode: e }),
|
5912
|
-
|
5912
|
+
Su({ mode: e }),
|
5913
5913
|
r
|
5914
5914
|
), o = p(
|
5915
|
-
|
5916
|
-
|
5915
|
+
wu,
|
5916
|
+
Tu(),
|
5917
5917
|
hs({ mode: e }),
|
5918
5918
|
a
|
5919
5919
|
);
|
5920
5920
|
return { tooltip: n, arrow: o, wrapper: s };
|
5921
|
-
},
|
5921
|
+
}, Cu = ({ delay: e = 300 }) => ({
|
5922
5922
|
animation: `av-tooltip-fade-in ${e}ms ease-in-out`
|
5923
|
-
}),
|
5923
|
+
}), Iu = 5e3, Oe = ({
|
5924
5924
|
trigger: e,
|
5925
5925
|
label: t,
|
5926
5926
|
placement: r = "top",
|
@@ -5930,16 +5930,16 @@ const Ot = (e, t = "px") => typeof e > "u" ? "" : `${Math.round(e)}${t}`, Eu = (
|
|
5930
5930
|
tooltipClassName: o,
|
5931
5931
|
arrowClassName: c
|
5932
5932
|
}) => {
|
5933
|
-
const l =
|
5933
|
+
const l = ku(() => {
|
5934
5934
|
g.stop(), y(!1);
|
5935
|
-
}), u = R(null), m = R(null), [d, h] = z(!1), [f, y] = z(!1), g =
|
5935
|
+
}), u = R(null), m = R(null), [d, h] = z(!1), [f, y] = z(!1), g = Eu(() => {
|
5936
5936
|
y(!1);
|
5937
|
-
},
|
5937
|
+
}, Iu), w = xu({
|
5938
5938
|
mode: a,
|
5939
5939
|
className: n,
|
5940
5940
|
tooltipClassName: o,
|
5941
5941
|
arrowClassName: c
|
5942
|
-
}), b =
|
5942
|
+
}), b = Cu({ delay: s }), x = W(async () => {
|
5943
5943
|
if (l.current && u.current && m.current) {
|
5944
5944
|
const {
|
5945
5945
|
x: v,
|
@@ -6015,19 +6015,19 @@ const Ot = (e, t = "px") => typeof e > "u" ? "" : `${Math.round(e)}${t}`, Eu = (
|
|
6015
6015
|
);
|
6016
6016
|
};
|
6017
6017
|
/*!
|
6018
|
-
@versini/ui-tooltip v2.1.
|
6018
|
+
@versini/ui-tooltip v2.1.3
|
6019
6019
|
© 2025 gizmette.com
|
6020
6020
|
*/
|
6021
6021
|
try {
|
6022
6022
|
window.__VERSINI_UI_TOOLTIP__ || (window.__VERSINI_UI_TOOLTIP__ = {
|
6023
|
-
version: "2.1.
|
6024
|
-
buildTime: "08/
|
6023
|
+
version: "2.1.3",
|
6024
|
+
buildTime: "08/14/2025 06:07 PM EDT",
|
6025
6025
|
homepage: "https://github.com/aversini/ui-components",
|
6026
6026
|
license: "MIT"
|
6027
6027
|
});
|
6028
6028
|
} catch {
|
6029
6029
|
}
|
6030
|
-
const
|
6030
|
+
const Ru = ({
|
6031
6031
|
className: e,
|
6032
6032
|
onClick: t
|
6033
6033
|
}) => /* @__PURE__ */ i(
|
@@ -6059,7 +6059,7 @@ function jn(e, t) {
|
|
6059
6059
|
};
|
6060
6060
|
}, [e, t]);
|
6061
6061
|
}
|
6062
|
-
const
|
6062
|
+
const Au = ({
|
6063
6063
|
className: e
|
6064
6064
|
}) => {
|
6065
6065
|
const { getAccessToken: t } = Ve(), {
|
@@ -6152,7 +6152,7 @@ const Ru = ({
|
|
6152
6152
|
)
|
6153
6153
|
}
|
6154
6154
|
);
|
6155
|
-
}, ms = "av-messagebox", $t = "av-panel", fs = "av-button", ma = "icon", Gn = "button", zr = "link",
|
6155
|
+
}, ms = "av-messagebox", $t = "av-panel", fs = "av-button", ma = "icon", Gn = "button", zr = "link", Nu = ({
|
6156
6156
|
type: e,
|
6157
6157
|
size: t,
|
6158
6158
|
labelRight: r,
|
@@ -6188,7 +6188,7 @@ const Ru = ({
|
|
6188
6188
|
"h-12": t === "large" && n && (r || a)
|
6189
6189
|
});
|
6190
6190
|
}
|
6191
|
-
},
|
6191
|
+
}, Ou = ({
|
6192
6192
|
type: e,
|
6193
6193
|
size: t,
|
6194
6194
|
labelRight: r,
|
@@ -6211,7 +6211,7 @@ const Ru = ({
|
|
6211
6211
|
[o]: t === "large" && (r || a)
|
6212
6212
|
});
|
6213
6213
|
}
|
6214
|
-
},
|
6214
|
+
}, $u = ({
|
6215
6215
|
mode: e,
|
6216
6216
|
noBackground: t,
|
6217
6217
|
truncate: r,
|
@@ -6247,7 +6247,7 @@ const Ru = ({
|
|
6247
6247
|
return p("not-prose text-copy-lighter", {
|
6248
6248
|
truncate: r
|
6249
6249
|
});
|
6250
|
-
},
|
6250
|
+
}, Pu = ({
|
6251
6251
|
mode: e,
|
6252
6252
|
noBackground: t,
|
6253
6253
|
variant: r
|
@@ -6277,13 +6277,13 @@ const Ru = ({
|
|
6277
6277
|
if (r === "selected")
|
6278
6278
|
return "bg-action-selected-dark";
|
6279
6279
|
}
|
6280
|
-
},
|
6280
|
+
}, Mu = ({
|
6281
6281
|
radius: e
|
6282
6282
|
}) => p({
|
6283
6283
|
"rounded-full": e === "large",
|
6284
6284
|
"rounded-md": e === "medium",
|
6285
6285
|
"rounded-xs": e === "small"
|
6286
|
-
}),
|
6286
|
+
}), Lu = ({
|
6287
6287
|
mode: e,
|
6288
6288
|
disabled: t,
|
6289
6289
|
variant: r
|
@@ -6321,7 +6321,7 @@ const Ru = ({
|
|
6321
6321
|
});
|
6322
6322
|
if (r === "selected")
|
6323
6323
|
return "hover:text-copy-light-hover hover:bg-action-selected-dark-hover";
|
6324
|
-
},
|
6324
|
+
}, Du = ({
|
6325
6325
|
mode: e,
|
6326
6326
|
disabled: t,
|
6327
6327
|
variant: r
|
@@ -6359,7 +6359,7 @@ const Ru = ({
|
|
6359
6359
|
});
|
6360
6360
|
if (r === "selected")
|
6361
6361
|
return "active:text-copy-lighter-active active:bg-action-selected-dark-active";
|
6362
|
-
},
|
6362
|
+
}, Bu = ({
|
6363
6363
|
mode: e,
|
6364
6364
|
noBorder: t,
|
6365
6365
|
variant: r
|
@@ -6389,14 +6389,14 @@ const Ru = ({
|
|
6389
6389
|
});
|
6390
6390
|
if (r === "selected")
|
6391
6391
|
return "border border-border-selected-dark";
|
6392
|
-
},
|
6392
|
+
}, Uu = ({
|
6393
6393
|
focusMode: e
|
6394
6394
|
}) => p("focus:outline", "focus:outline-2", "focus:outline-offset-2", {
|
6395
6395
|
"focus:outline-focus-dark": e === "dark",
|
6396
6396
|
"focus:outline-focus-light": e === "light",
|
6397
6397
|
"focus:outline-focus-light dark:focus:outline-focus-dark": e === "alt-system",
|
6398
6398
|
"focus:outline-focus-dark dark:focus:outline-focus-light": e === "system"
|
6399
|
-
}),
|
6399
|
+
}), Vu = ({
|
6400
6400
|
mode: e,
|
6401
6401
|
raw: t,
|
6402
6402
|
iconClassName: r,
|
@@ -6423,11 +6423,11 @@ const Ru = ({
|
|
6423
6423
|
} : a === "selected" && (s = {
|
6424
6424
|
"text-copy-lighter": !0
|
6425
6425
|
}), p(s, r);
|
6426
|
-
},
|
6426
|
+
}, Hu = ({
|
6427
6427
|
animated: e
|
6428
6428
|
}) => p({
|
6429
6429
|
"transition-opacity duration-300 ease-in-out": e
|
6430
|
-
}),
|
6430
|
+
}), zu = ({
|
6431
6431
|
type: e,
|
6432
6432
|
className: t,
|
6433
6433
|
raw: r,
|
@@ -6447,15 +6447,15 @@ const Ru = ({
|
|
6447
6447
|
animated: w
|
6448
6448
|
}) => (h || (h = "primary"), r ? p(fs, t) : p(
|
6449
6449
|
fs,
|
6450
|
-
|
6450
|
+
$u({
|
6451
6451
|
mode: a,
|
6452
6452
|
variant: h,
|
6453
6453
|
noBackground: d,
|
6454
6454
|
truncate: f
|
6455
6455
|
}),
|
6456
|
-
|
6457
|
-
|
6458
|
-
|
6456
|
+
Pu({ mode: a, noBackground: d, variant: h }),
|
6457
|
+
Mu({ radius: g }),
|
6458
|
+
Nu({
|
6459
6459
|
type: e,
|
6460
6460
|
size: c,
|
6461
6461
|
labelRight: u,
|
@@ -6463,11 +6463,11 @@ const Ru = ({
|
|
6463
6463
|
align: y,
|
6464
6464
|
animated: w
|
6465
6465
|
}),
|
6466
|
-
|
6467
|
-
|
6468
|
-
|
6469
|
-
Mu({ mode: a, variant: h, disabled: n }),
|
6466
|
+
Ou({ type: e, size: c, labelRight: u, labelLeft: m }),
|
6467
|
+
Bu({ mode: a, variant: h, noBorder: l }),
|
6468
|
+
Uu({ focusMode: s }),
|
6470
6469
|
Lu({ mode: a, variant: h, disabled: n }),
|
6470
|
+
Du({ mode: a, variant: h, disabled: n }),
|
6471
6471
|
{
|
6472
6472
|
"w-full": o,
|
6473
6473
|
"disabled:cursor-not-allowed disabled:opacity-50": n
|
@@ -6476,7 +6476,7 @@ const Ru = ({
|
|
6476
6476
|
"transition-[width] duration-300 ease-in": w
|
6477
6477
|
}),
|
6478
6478
|
t
|
6479
|
-
)),
|
6479
|
+
)), Fu = (e, t, r) => {
|
6480
6480
|
!t && (!document.activeElement || document.activeElement !== e.currentTarget) && typeof e?.currentTarget?.focus == "function" && e.currentTarget.focus(), typeof r == "function" && r(e);
|
6481
6481
|
}, Jn = Z.forwardRef((e, t) => {
|
6482
6482
|
const { onClick: r, noInternalClick: a = !1, ...s } = e;
|
@@ -6485,20 +6485,20 @@ const Ru = ({
|
|
6485
6485
|
{
|
6486
6486
|
ref: t,
|
6487
6487
|
onClick: (n) => {
|
6488
|
-
|
6488
|
+
Fu(n, a, r);
|
6489
6489
|
},
|
6490
6490
|
...s
|
6491
6491
|
}
|
6492
6492
|
);
|
6493
6493
|
});
|
6494
6494
|
Jn.displayName = "BaseButton";
|
6495
|
-
function
|
6495
|
+
function Wu() {
|
6496
6496
|
const e = R(!1);
|
6497
6497
|
return N(() => (e.current = !0, () => {
|
6498
6498
|
e.current = !1;
|
6499
6499
|
}), []), W(() => e.current, []);
|
6500
6500
|
}
|
6501
|
-
function
|
6501
|
+
function Ku(e) {
|
6502
6502
|
return he(() => e.every((t) => t == null) ? () => {
|
6503
6503
|
} : (t) => {
|
6504
6504
|
e.forEach((r) => {
|
@@ -6506,7 +6506,7 @@ function Wu(e) {
|
|
6506
6506
|
});
|
6507
6507
|
}, [...e]);
|
6508
6508
|
}
|
6509
|
-
const
|
6509
|
+
const ju = {
|
6510
6510
|
x: 0,
|
6511
6511
|
y: 0,
|
6512
6512
|
width: 0,
|
@@ -6517,7 +6517,7 @@ const Ku = {
|
|
6517
6517
|
right: 0
|
6518
6518
|
};
|
6519
6519
|
function gr(e) {
|
6520
|
-
const t =
|
6520
|
+
const t = Wu(), r = R(0), a = R(null), [s, n] = z(ju), o = he(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((c) => {
|
6521
6521
|
const l = c[0];
|
6522
6522
|
l && (cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
|
6523
6523
|
a.current && t() && n(l.contentRect);
|
@@ -6534,14 +6534,14 @@ const Pt = {
|
|
6534
6534
|
// w-8
|
6535
6535
|
large: 48
|
6536
6536
|
// w-12
|
6537
|
-
},
|
6537
|
+
}, Gu = {
|
6538
6538
|
small: 16,
|
6539
6539
|
// px-2 x 2
|
6540
6540
|
medium: 24,
|
6541
6541
|
// px-3 x 2
|
6542
6542
|
large: 32
|
6543
6543
|
// px-4 x 2
|
6544
|
-
},
|
6544
|
+
}, Ju = 2, qu = 300, fa = Z.forwardRef(
|
6545
6545
|
({
|
6546
6546
|
children: e,
|
6547
6547
|
disabled: t = !1,
|
@@ -6565,7 +6565,7 @@ const Pt = {
|
|
6565
6565
|
animated: S = !1,
|
6566
6566
|
...P
|
6567
6567
|
}, C) => {
|
6568
|
-
const v =
|
6568
|
+
const v = zu({
|
6569
6569
|
type: ma,
|
6570
6570
|
mode: r,
|
6571
6571
|
focusMode: a,
|
@@ -6582,15 +6582,15 @@ const Pt = {
|
|
6582
6582
|
radius: w,
|
6583
6583
|
variant: b,
|
6584
6584
|
animated: S
|
6585
|
-
}), k =
|
6585
|
+
}), k = Vu({ mode: r, raw: c, iconClassName: x, variant: b }), E = Hu({ animated: S }), I = "flex items-center justify-center relative w-full h-full overflow-hidden", [_, A] = gr(), [O, K] = gr(), [M, G] = gr(), Q = R(0), U = R(null), D = R(null), q = Ku([C, U]);
|
6586
6586
|
return Ne(() => {
|
6587
|
-
M && M.current && S && (Q.current = G.width +
|
6587
|
+
M && M.current && S && (Q.current = G.width + Gu[d] + (l ? 0 : Ju), U.current && !U.current.style.width && (U.current.style.width = `${Pt[d]}px`));
|
6588
6588
|
}, [G, M, d, l, S]), Ne(() => {
|
6589
6589
|
if (U && U.current && S) {
|
6590
6590
|
let F = Pt[d];
|
6591
6591
|
h && _ && A.width > 0 ? F = A.width + Q.current : f && O && K.width > 0 && (F = K.width + Q.current), D.current && clearTimeout(D.current), F !== parseInt(U.current.style.width || "0", 10) && (_.current && (_.current.style.opacity = "0"), O.current && (O.current.style.opacity = "0"), U.current.style.width = `${F}px`, F > Pt[d] && (D.current = setTimeout(() => {
|
6592
6592
|
_.current && h && (_.current.style.opacity = "1"), O.current && f && (O.current.style.opacity = "1"), D.current = null;
|
6593
|
-
},
|
6593
|
+
}, qu * 0.8))), F === Pt[d] && (_.current && (_.current.style.opacity = "0"), O.current && (O.current.style.opacity = "0"));
|
6594
6594
|
}
|
6595
6595
|
}, [
|
6596
6596
|
A,
|
@@ -6655,19 +6655,19 @@ const Pt = {
|
|
6655
6655
|
);
|
6656
6656
|
fa.displayName = "ButtonIcon";
|
6657
6657
|
/*!
|
6658
|
-
@versini/ui-button v7.1.
|
6658
|
+
@versini/ui-button v7.1.2
|
6659
6659
|
© 2025 gizmette.com
|
6660
6660
|
*/
|
6661
6661
|
try {
|
6662
6662
|
window.__VERSINI_UI_BUTTON__ || (window.__VERSINI_UI_BUTTON__ = {
|
6663
|
-
version: "7.1.
|
6664
|
-
buildTime: "08/
|
6663
|
+
version: "7.1.2",
|
6664
|
+
buildTime: "08/14/2025 06:04 PM EDT",
|
6665
6665
|
homepage: "https://github.com/aversini/ui-components",
|
6666
6666
|
license: "MIT"
|
6667
6667
|
});
|
6668
6668
|
} catch {
|
6669
6669
|
}
|
6670
|
-
const
|
6670
|
+
const Yu = Z.forwardRef(
|
6671
6671
|
({
|
6672
6672
|
children: e,
|
6673
6673
|
mode: t = "system",
|
@@ -6707,8 +6707,8 @@ const qu = Z.forwardRef(
|
|
6707
6707
|
) });
|
6708
6708
|
}
|
6709
6709
|
);
|
6710
|
-
|
6711
|
-
const
|
6710
|
+
Yu.displayName = "ButtonSort";
|
6711
|
+
const Qu = ({
|
6712
6712
|
children: e,
|
6713
6713
|
fill: t,
|
6714
6714
|
viewBox: r,
|
@@ -6751,14 +6751,14 @@ try {
|
|
6751
6751
|
});
|
6752
6752
|
} catch {
|
6753
6753
|
}
|
6754
|
-
const
|
6754
|
+
const Xu = ({
|
6755
6755
|
className: e,
|
6756
6756
|
viewBox: t,
|
6757
6757
|
title: r,
|
6758
6758
|
monotone: a,
|
6759
6759
|
...s
|
6760
6760
|
}) => /* @__PURE__ */ i(
|
6761
|
-
|
6761
|
+
Qu,
|
6762
6762
|
{
|
6763
6763
|
defaultViewBox: "0 0 384 512",
|
6764
6764
|
size: "size-5",
|
@@ -6789,7 +6789,7 @@ try {
|
|
6789
6789
|
} catch {
|
6790
6790
|
}
|
6791
6791
|
const qn = Y.createContext(null);
|
6792
|
-
function
|
6792
|
+
function Zu({
|
6793
6793
|
initialOpen: e = !1,
|
6794
6794
|
open: t,
|
6795
6795
|
onOpenChange: r
|
@@ -6823,14 +6823,14 @@ const Zt = () => {
|
|
6823
6823
|
throw new Error("Modal components must be wrapped in <Modal />");
|
6824
6824
|
return e;
|
6825
6825
|
};
|
6826
|
-
function
|
6826
|
+
function eh({
|
6827
6827
|
children: e,
|
6828
6828
|
...t
|
6829
6829
|
}) {
|
6830
|
-
const r =
|
6830
|
+
const r = Zu(t);
|
6831
6831
|
return /* @__PURE__ */ i(qn.Provider, { value: r, children: e });
|
6832
6832
|
}
|
6833
|
-
const
|
6833
|
+
const th = Y.forwardRef(function(e, t) {
|
6834
6834
|
const { context: r, ...a } = Zt(), s = qr([a.refs.setFloating, t]);
|
6835
6835
|
if (!r.open)
|
6836
6836
|
return null;
|
@@ -6848,13 +6848,13 @@ const eh = Y.forwardRef(function(e, t) {
|
|
6848
6848
|
children: o.children
|
6849
6849
|
}
|
6850
6850
|
) }) }) });
|
6851
|
-
}),
|
6851
|
+
}), rh = Y.forwardRef(function({ children: e, ...t }, r) {
|
6852
6852
|
const { setLabelId: a } = Zt(), s = Gr();
|
6853
6853
|
return Y.useLayoutEffect(() => (a(s), () => a(void 0)), [s, a]), /* @__PURE__ */ i("h1", { ...t, ref: r, id: s, children: e });
|
6854
|
-
}),
|
6854
|
+
}), ah = Y.forwardRef(function({ children: e, ...t }, r) {
|
6855
6855
|
const { setDescriptionId: a } = Zt(), s = Gr();
|
6856
6856
|
return Y.useLayoutEffect(() => (a(s), () => a(void 0)), [s, a]), /* @__PURE__ */ i("div", { ...t, ref: r, id: s, children: e });
|
6857
|
-
}),
|
6857
|
+
}), sh = Y.forwardRef(function(e, t) {
|
6858
6858
|
const { setOpen: r } = Zt(), { trigger: a, className: s, ...n } = e, o = Y.useCallback(() => r(!1), [r]);
|
6859
6859
|
return /* @__PURE__ */ i("div", { className: s, children: Y.cloneElement(a, {
|
6860
6860
|
ref: t,
|
@@ -6869,13 +6869,13 @@ const eh = Y.forwardRef(function(e, t) {
|
|
6869
6869
|
try {
|
6870
6870
|
window.__VERSINI_UI_MODAL__ || (window.__VERSINI_UI_MODAL__ = {
|
6871
6871
|
version: "2.0.6",
|
6872
|
-
buildTime: "08/
|
6872
|
+
buildTime: "08/14/2025 06:05 PM EDT",
|
6873
6873
|
homepage: "https://github.com/aversini/ui-components",
|
6874
6874
|
license: "MIT"
|
6875
6875
|
});
|
6876
6876
|
} catch {
|
6877
6877
|
}
|
6878
|
-
const je = "panel", Mt = "messagebox",
|
6878
|
+
const je = "panel", Mt = "messagebox", nh = ({
|
6879
6879
|
className: e,
|
6880
6880
|
kind: t,
|
6881
6881
|
borderMode: r,
|
@@ -6900,7 +6900,7 @@ const je = "panel", Mt = "messagebox", sh = ({
|
|
6900
6900
|
footer: "flex grow flex-col sm:p-4 p-2",
|
6901
6901
|
header: "sm:p-4 mb-0 p-2",
|
6902
6902
|
close: "sm:p-4 p-2"
|
6903
|
-
}),
|
6903
|
+
}), oh = "slide", gs = "fade", ih = ({
|
6904
6904
|
open: e,
|
6905
6905
|
onOpenChange: t,
|
6906
6906
|
title: r,
|
@@ -6910,14 +6910,14 @@ const je = "panel", Mt = "messagebox", sh = ({
|
|
6910
6910
|
kind: o = je,
|
6911
6911
|
className: c,
|
6912
6912
|
animation: l = !1,
|
6913
|
-
animationType: u =
|
6913
|
+
animationType: u = oh,
|
6914
6914
|
maxWidth: m = "medium"
|
6915
6915
|
}) => {
|
6916
6916
|
const d = R(""), [h, f] = z(
|
6917
6917
|
l ? u === gs ? { opacity: 0 } : {
|
6918
6918
|
transform: "translateY(-100vh)"
|
6919
6919
|
} : {}
|
6920
|
-
), y =
|
6920
|
+
), y = nh({
|
6921
6921
|
className: c,
|
6922
6922
|
kind: o,
|
6923
6923
|
borderMode: n,
|
@@ -6942,10 +6942,10 @@ const je = "panel", Mt = "messagebox", sh = ({
|
|
6942
6942
|
}, 100);
|
6943
6943
|
return () => clearTimeout(g);
|
6944
6944
|
}
|
6945
|
-
}, [e, l, u]), /* @__PURE__ */ i(me, { children: e && /* @__PURE__ */ i(
|
6945
|
+
}, [e, l, u]), /* @__PURE__ */ i(me, { children: e && /* @__PURE__ */ i(eh, { open: e, onOpenChange: t, children: /* @__PURE__ */ T(th, { className: y.main, style: h, children: [
|
6946
6946
|
/* @__PURE__ */ T("div", { className: "flex flex-row-reverse items-center justify-between", children: [
|
6947
6947
|
/* @__PURE__ */ i(
|
6948
|
-
|
6948
|
+
sh,
|
6949
6949
|
{
|
6950
6950
|
className: y.close,
|
6951
6951
|
trigger: /* @__PURE__ */ i(
|
@@ -6955,25 +6955,25 @@ const je = "panel", Mt = "messagebox", sh = ({
|
|
6955
6955
|
focusMode: "light",
|
6956
6956
|
noBorder: !0,
|
6957
6957
|
label: "Close",
|
6958
|
-
children: /* @__PURE__ */ i(
|
6958
|
+
children: /* @__PURE__ */ i(Xu, { monotone: !0 })
|
6959
6959
|
}
|
6960
6960
|
)
|
6961
6961
|
}
|
6962
6962
|
),
|
6963
|
-
/* @__PURE__ */ i(
|
6963
|
+
/* @__PURE__ */ i(rh, { className: y.header, children: r })
|
6964
6964
|
] }),
|
6965
|
-
/* @__PURE__ */ i(
|
6965
|
+
/* @__PURE__ */ i(ah, { className: y.content, children: a }),
|
6966
6966
|
s && /* @__PURE__ */ i("div", { className: y.footer, children: s })
|
6967
6967
|
] }) }) });
|
6968
6968
|
};
|
6969
6969
|
/*!
|
6970
|
-
@versini/ui-panel v2.2.
|
6970
|
+
@versini/ui-panel v2.2.6
|
6971
6971
|
© 2025 gizmette.com
|
6972
6972
|
*/
|
6973
6973
|
try {
|
6974
6974
|
window.__VERSINI_UI_PANEL__ || (window.__VERSINI_UI_PANEL__ = {
|
6975
|
-
version: "2.2.
|
6976
|
-
buildTime: "08/
|
6975
|
+
version: "2.2.6",
|
6976
|
+
buildTime: "08/14/2025 06:05 PM EDT",
|
6977
6977
|
homepage: "https://github.com/aversini/ui-components",
|
6978
6978
|
license: "MIT"
|
6979
6979
|
});
|
@@ -6988,7 +6988,7 @@ const qe = ({
|
|
6988
6988
|
noCancelAction: n = !1,
|
6989
6989
|
primaryActionVariant: o = "danger"
|
6990
6990
|
}) => /* @__PURE__ */ i(
|
6991
|
-
|
6991
|
+
ih,
|
6992
6992
|
{
|
6993
6993
|
kind: "messagebox",
|
6994
6994
|
open: e,
|
@@ -7235,7 +7235,7 @@ const qe = ({
|
|
7235
7235
|
), er = Os((e, t) => /* @__PURE__ */ i(jo, { children: /* @__PURE__ */ i(Qn, { ...e, ref: t }) }));
|
7236
7236
|
er.displayName = "Menu";
|
7237
7237
|
Qn.displayName = "MenuComponent";
|
7238
|
-
const
|
7238
|
+
const ch = ({
|
7239
7239
|
children: e,
|
7240
7240
|
fill: t,
|
7241
7241
|
viewBox: r,
|
@@ -7278,14 +7278,14 @@ try {
|
|
7278
7278
|
});
|
7279
7279
|
} catch {
|
7280
7280
|
}
|
7281
|
-
const
|
7281
|
+
const lh = ({
|
7282
7282
|
className: e,
|
7283
7283
|
viewBox: t,
|
7284
7284
|
title: r,
|
7285
7285
|
monotone: a,
|
7286
7286
|
...s
|
7287
7287
|
}) => /* @__PURE__ */ T(
|
7288
|
-
|
7288
|
+
ch,
|
7289
7289
|
{
|
7290
7290
|
defaultViewBox: "0 0 448 512",
|
7291
7291
|
size: "size-5",
|
@@ -7370,7 +7370,7 @@ const Re = Y.forwardRef(
|
|
7370
7370
|
}
|
7371
7371
|
}),
|
7372
7372
|
children: [
|
7373
|
-
o && /* @__PURE__ */ i(
|
7373
|
+
o && /* @__PURE__ */ i(lh, { className: "mr-2", size: "size-4" }),
|
7374
7374
|
r,
|
7375
7375
|
e && /* @__PURE__ */ i("span", { className: u, children: e })
|
7376
7376
|
]
|
@@ -7379,7 +7379,7 @@ const Re = Y.forwardRef(
|
|
7379
7379
|
}
|
7380
7380
|
);
|
7381
7381
|
Re.displayName = "MenuItem";
|
7382
|
-
const
|
7382
|
+
const dh = ({ className: e, ...t }) => {
|
7383
7383
|
const r = p(e, "my-1 border-t border-border-medium");
|
7384
7384
|
return /* @__PURE__ */ i("div", { className: r, ...t });
|
7385
7385
|
}, Xn = ({
|
@@ -7393,24 +7393,24 @@ const lh = ({ className: e, ...t }) => {
|
|
7393
7393
|
return /* @__PURE__ */ i("div", { className: r, ...t });
|
7394
7394
|
};
|
7395
7395
|
/*!
|
7396
|
-
@versini/ui-menu v4.0.
|
7396
|
+
@versini/ui-menu v4.0.9
|
7397
7397
|
© 2025 gizmette.com
|
7398
7398
|
*/
|
7399
7399
|
try {
|
7400
7400
|
window.__VERSINI_UI_MENU__ || (window.__VERSINI_UI_MENU__ = {
|
7401
|
-
version: "4.0.
|
7402
|
-
buildTime: "08/
|
7401
|
+
version: "4.0.9",
|
7402
|
+
buildTime: "08/14/2025 06:06 PM EDT",
|
7403
7403
|
homepage: "https://github.com/aversini/ui-components",
|
7404
7404
|
license: "MIT"
|
7405
7405
|
});
|
7406
7406
|
} catch {
|
7407
7407
|
}
|
7408
|
-
const
|
7408
|
+
const uh = (e) => {
|
7409
7409
|
for (let t = 0; t < e.length; t++)
|
7410
7410
|
if (e[t].enabled)
|
7411
7411
|
return !0;
|
7412
7412
|
return !1;
|
7413
|
-
},
|
7413
|
+
}, hh = ({
|
7414
7414
|
className: e,
|
7415
7415
|
defaultPlacement: t = "top-start"
|
7416
7416
|
}) => {
|
@@ -7429,7 +7429,7 @@ const dh = (e) => {
|
|
7429
7429
|
prompt: y
|
7430
7430
|
}
|
7431
7431
|
});
|
7432
|
-
}, d = u && l && l.tags &&
|
7432
|
+
}, d = u && l && l.tags && uh(l.tags), h = /* @__PURE__ */ T(
|
7433
7433
|
er,
|
7434
7434
|
{
|
7435
7435
|
mode: "dark",
|
@@ -7571,7 +7571,7 @@ const dh = (e) => {
|
|
7571
7571
|
] });
|
7572
7572
|
};
|
7573
7573
|
let yr = null, br = null;
|
7574
|
-
const eo = async () => (yr || (yr = import("./index.B8EJY2WR.js")), yr), to = async () => (br || (br = import("./index.
|
7574
|
+
const eo = async () => (yr || (yr = import("./index.B8EJY2WR.js")), yr), to = async () => (br || (br = import("./index.Dym4y9es.js").then((e) => e.utilities)), br), mh = async () => {
|
7575
7575
|
try {
|
7576
7576
|
await Promise.all([eo(), to()]);
|
7577
7577
|
} catch {
|
@@ -7592,7 +7592,7 @@ const eo = async () => (yr || (yr = import("./index.B8EJY2WR.js")), yr), to = as
|
|
7592
7592
|
}, 100);
|
7593
7593
|
} catch {
|
7594
7594
|
}
|
7595
|
-
}, ao = (e, t) => ro(e, "success", t),
|
7595
|
+
}, ao = (e, t) => ro(e, "success", t), hf = (e, t) => ro(e, "error", t), so = ({
|
7596
7596
|
className: e
|
7597
7597
|
}) => {
|
7598
7598
|
const { user: t, getAccessToken: r } = Ve(), {
|
@@ -7677,7 +7677,7 @@ const eo = async () => (yr || (yr = import("./index.B8EJY2WR.js")), yr), to = as
|
|
7677
7677
|
}
|
7678
7678
|
)
|
7679
7679
|
] });
|
7680
|
-
},
|
7680
|
+
}, fh = ({
|
7681
7681
|
className: e
|
7682
7682
|
}) => {
|
7683
7683
|
const {
|
@@ -7705,7 +7705,7 @@ const eo = async () => (yr || (yr = import("./index.B8EJY2WR.js")), yr), to = as
|
|
7705
7705
|
)
|
7706
7706
|
}
|
7707
7707
|
);
|
7708
|
-
},
|
7708
|
+
}, ph = [".pdf", ".txt"], gh = [
|
7709
7709
|
".js",
|
7710
7710
|
".cjs",
|
7711
7711
|
".mjs",
|
@@ -7720,30 +7720,30 @@ const eo = async () => (yr || (yr = import("./index.B8EJY2WR.js")), yr), to = as
|
|
7720
7720
|
".json",
|
7721
7721
|
".md"
|
7722
7722
|
], vr = [
|
7723
|
-
...
|
7724
|
-
...
|
7725
|
-
], Wr = 400 * 1024,
|
7723
|
+
...ph,
|
7724
|
+
...gh
|
7725
|
+
], Wr = 400 * 1024, yh = "text/plain", bh = () => p(
|
7726
7726
|
"relative rounded-md text-base h-auto min-w-28 overflow-hidden pt-2"
|
7727
|
-
), bs = () => p("bg-surface-darker"),
|
7727
|
+
), bs = () => p("bg-surface-darker"), vh = () => p("text-copy-lighter caret-copy-light"), wh = () => p(
|
7728
7728
|
"has-[.av-prompt-editable:focus]:outline",
|
7729
7729
|
"has-[.av-prompt-editable:focus]:outline-2",
|
7730
7730
|
"has-[.av-prompt-editable:focus]:outline-offset-2",
|
7731
7731
|
"has-[.av-prompt-editable:focus]:outline-focus-light"
|
7732
|
-
),
|
7732
|
+
), kh = () => p(
|
7733
7733
|
"peer",
|
7734
7734
|
"text-base resize-none overflow-hidden w-full text-inherit outline-none",
|
7735
7735
|
"h-6 pr-2 pl-4"
|
7736
|
-
),
|
7736
|
+
), Eh = ({ className: e }) => {
|
7737
7737
|
const t = p(
|
7738
7738
|
Io,
|
7739
|
-
yh(),
|
7740
|
-
bs(),
|
7741
7739
|
bh(),
|
7740
|
+
bs(),
|
7742
7741
|
vh(),
|
7742
|
+
wh(),
|
7743
7743
|
e
|
7744
7744
|
), r = p(
|
7745
7745
|
Ro,
|
7746
|
-
|
7746
|
+
kh(),
|
7747
7747
|
bs()
|
7748
7748
|
);
|
7749
7749
|
return {
|
@@ -7755,15 +7755,15 @@ const eo = async () => (yr || (yr = import("./index.B8EJY2WR.js")), yr), to = as
|
|
7755
7755
|
return "0 Bytes";
|
7756
7756
|
const t = 1024, r = ["Bytes", "KB", "MB", "GB"], a = Math.floor(Math.log(e) / Math.log(t));
|
7757
7757
|
return parseFloat((e / Math.pow(t, a)).toFixed(2)) + " " + r[a];
|
7758
|
-
}, no = (e) => e.reduce((t, r) => t + r.size, 0),
|
7758
|
+
}, no = (e) => e.reduce((t, r) => t + r.size, 0), _h = (e) => e.type ? e : new File(
|
7759
7759
|
[e],
|
7760
7760
|
// Use the original file content
|
7761
7761
|
e.name,
|
7762
7762
|
{
|
7763
|
-
type:
|
7763
|
+
type: yh,
|
7764
7764
|
lastModified: e.lastModified
|
7765
7765
|
}
|
7766
|
-
),
|
7766
|
+
), Sh = ({
|
7767
7767
|
files: e,
|
7768
7768
|
clearFile: t
|
7769
7769
|
}) => e && e.length > 0 && /* @__PURE__ */ T("div", { className: "px-4 py-2", children: [
|
@@ -7802,9 +7802,9 @@ const eo = async () => (yr || (yr = import("./index.B8EJY2WR.js")), yr), to = as
|
|
7802
7802
|
" ",
|
7803
7803
|
zt(Wr)
|
7804
7804
|
] })
|
7805
|
-
] }), oo = 24,
|
7806
|
-
e.current && (e.current.style.height = `${
|
7807
|
-
},
|
7805
|
+
] }), oo = 24, Th = 500, io = 2, xh = 5, Ch = oo * io, vs = xh * oo, Ih = "ready", Rh = "streaming", Ah = "error", Nh = "submitted", Lt = (e) => {
|
7806
|
+
e.current && (e.current.style.height = `${Ch}px`);
|
7807
|
+
}, Oh = () => {
|
7808
7808
|
const { user: e, getAccessToken: t } = Ve(), { setInputFocus: r } = An(), [a, s] = z(!1), [n, o] = z(null), [c, l] = z(!1), [u, m] = z(!1), {
|
7809
7809
|
dispatch: d,
|
7810
7810
|
state: { reasoning: h, streaming: f, aborted: y, lastResetTimestamp: g, attachments: w }
|
@@ -7818,7 +7818,7 @@ const eo = async () => (yr || (yr = import("./index.B8EJY2WR.js")), yr), to = as
|
|
7818
7818
|
}), { data: C } = Xt({
|
7819
7819
|
user: e?.username,
|
7820
7820
|
getAccessToken: t
|
7821
|
-
}), v = R(null), k = R(null), E = R(!1), I = R(0), _ = R(null), A = R(null), O = Ji(), K =
|
7821
|
+
}), v = R(null), k = R(null), E = R(!1), I = R(0), _ = R(null), A = R(null), O = Ji(), K = Eh({
|
7822
7822
|
className: ""
|
7823
7823
|
}), {
|
7824
7824
|
input: M,
|
@@ -7839,25 +7839,25 @@ const eo = async () => (yr || (yr = import("./index.B8EJY2WR.js")), yr), to = as
|
|
7839
7839
|
}
|
7840
7840
|
}), ye = W(
|
7841
7841
|
async (J) => {
|
7842
|
-
J ===
|
7842
|
+
J === Ih && d({
|
7843
7843
|
type: at,
|
7844
7844
|
payload: {
|
7845
7845
|
loading: !1,
|
7846
7846
|
streaming: !1
|
7847
7847
|
}
|
7848
|
-
}), J ===
|
7848
|
+
}), J === Nh && d({
|
7849
7849
|
type: at,
|
7850
7850
|
payload: {
|
7851
7851
|
loading: !0,
|
7852
7852
|
streaming: !1
|
7853
7853
|
}
|
7854
|
-
}), J ===
|
7854
|
+
}), J === Rh && d({
|
7855
7855
|
type: at,
|
7856
7856
|
payload: {
|
7857
7857
|
loading: !1,
|
7858
7858
|
streaming: !0
|
7859
7859
|
}
|
7860
|
-
}), J ===
|
7860
|
+
}), J === Ah && setTimeout(() => {
|
7861
7861
|
y || (d({
|
7862
7862
|
type: at,
|
7863
7863
|
payload: {
|
@@ -7945,7 +7945,7 @@ const eo = async () => (yr || (yr = import("./index.B8EJY2WR.js")), yr), to = as
|
|
7945
7945
|
let ie;
|
7946
7946
|
if (n && n.length > 0) {
|
7947
7947
|
const V = Array.from(n).map(
|
7948
|
-
(B) =>
|
7948
|
+
(B) => _h(B)
|
7949
7949
|
), $ = new DataTransfer();
|
7950
7950
|
V.forEach((B) => $.items.add(B)), ie = $.files;
|
7951
7951
|
}
|
@@ -7953,7 +7953,7 @@ const eo = async () => (yr || (yr = import("./index.B8EJY2WR.js")), yr), to = as
|
|
7953
7953
|
headers: {
|
7954
7954
|
"Content-Type": "application/json",
|
7955
7955
|
authorization: `Bearer ${te}`,
|
7956
|
-
[
|
7956
|
+
[Ad]: F
|
7957
7957
|
},
|
7958
7958
|
body: {
|
7959
7959
|
reasoning: h
|
@@ -7987,7 +7987,7 @@ const eo = async () => (yr || (yr = import("./index.B8EJY2WR.js")), yr), to = as
|
|
7987
7987
|
}
|
7988
7988
|
g > 0 && g !== I.current ? (I.current = g, setTimeout(() => {
|
7989
7989
|
A.current && (!M && Lt(A), A.current.focus());
|
7990
|
-
},
|
7990
|
+
}, Th)) : f === !1 && !M && (Lt(A), !Ee() && A.current && A.current.focus());
|
7991
7991
|
}, [g, f, M]), N(() => {
|
7992
7992
|
b.lastTriggeredTimestamp && setTimeout(() => {
|
7993
7993
|
fe();
|
@@ -8057,13 +8057,13 @@ const eo = async () => (yr || (yr = import("./index.B8EJY2WR.js")), yr), to = as
|
|
8057
8057
|
}
|
8058
8058
|
)
|
8059
8059
|
] }),
|
8060
|
-
/* @__PURE__ */ i(
|
8060
|
+
/* @__PURE__ */ i(Sh, { files: n, clearFile: Pe }),
|
8061
8061
|
/* @__PURE__ */ T("div", { className: "p-2 flex items-center", children: [
|
8062
|
-
/* @__PURE__ */ i(
|
8063
|
-
/* @__PURE__ */ i(
|
8064
|
-
/* @__PURE__ */ i(
|
8062
|
+
/* @__PURE__ */ i(fh, { className: "order-7 ml-auto" }),
|
8063
|
+
/* @__PURE__ */ i(Au, { className: "order-1 mr-4 sm:mr-2" }),
|
8064
|
+
/* @__PURE__ */ i(hh, { className: "order-2 mr-4 sm:mr-2" }),
|
8065
8065
|
/* @__PURE__ */ i(
|
8066
|
-
|
8066
|
+
Ru,
|
8067
8067
|
{
|
8068
8068
|
className: "order-3 mr-4 sm:mr-2",
|
8069
8069
|
onClick: Fe
|
@@ -8077,7 +8077,7 @@ const eo = async () => (yr || (yr = import("./index.B8EJY2WR.js")), yr), to = as
|
|
8077
8077
|
] })
|
8078
8078
|
] }) })
|
8079
8079
|
] });
|
8080
|
-
}, mt = "--sassy-bottom",
|
8080
|
+
}, mt = "--sassy-bottom", $h = ({ isComponent: e }) => {
|
8081
8081
|
const {
|
8082
8082
|
state: { loading: t, streaming: r, restoring: a }
|
8083
8083
|
} = X(_e), {
|
@@ -8169,7 +8169,7 @@ const eo = async () => (yr || (yr = import("./index.B8EJY2WR.js")), yr), to = as
|
|
8169
8169
|
yd
|
8170
8170
|
),
|
8171
8171
|
children: [
|
8172
|
-
/* @__PURE__ */ i(
|
8172
|
+
/* @__PURE__ */ i(Oh, {}),
|
8173
8173
|
/* @__PURE__ */ i("div", { className: "w-full text-center text-xs text-slate-300 pt-2", children: c })
|
8174
8174
|
]
|
8175
8175
|
}
|
@@ -8190,14 +8190,14 @@ const eo = async () => (yr || (yr = import("./index.B8EJY2WR.js")), yr), to = as
|
|
8190
8190
|
label: "Google Gemini",
|
8191
8191
|
icon: _i
|
8192
8192
|
}
|
8193
|
-
],
|
8193
|
+
], Ph = ({ className: e }) => {
|
8194
8194
|
const {
|
8195
8195
|
dispatch: t,
|
8196
8196
|
state: { privateChat: r },
|
8197
8197
|
setChatId: a,
|
8198
8198
|
setInitialMessages: s
|
8199
8199
|
} = X(_e), { getAccessToken: n, user: o } = Ve(), { status: c } = Qe(), [l, u] = z(!1), m = W(() => {
|
8200
|
-
l || (
|
8200
|
+
l || (mh(), u(!0));
|
8201
8201
|
}, [l]), { isSuccess: d, refetch: h, data: f } = Xt({
|
8202
8202
|
user: o?.username,
|
8203
8203
|
getAccessToken: n
|
@@ -8266,42 +8266,42 @@ const eo = async () => (yr || (yr = import("./index.B8EJY2WR.js")), yr), to = as
|
|
8266
8266
|
trigger: b
|
8267
8267
|
}
|
8268
8268
|
) : /* @__PURE__ */ i("div", { className: e, children: b });
|
8269
|
-
},
|
8270
|
-
() => import("./ProfileEntry.
|
8269
|
+
}, Mh = it(
|
8270
|
+
() => import("./ProfileEntry.YotUrCiu.js").then((e) => ({
|
8271
8271
|
default: e.Profile
|
8272
8272
|
}))
|
8273
|
-
),
|
8274
|
-
() => import("./SettingsEntry.
|
8273
|
+
), Lh = it(
|
8274
|
+
() => import("./SettingsEntry.CnnDhK6w.js").then((e) => ({
|
8275
8275
|
default: e.SettingsPanel
|
8276
8276
|
}))
|
8277
|
-
),
|
8278
|
-
() => import("./HistoryEntry.
|
8277
|
+
), Dh = it(
|
8278
|
+
() => import("./HistoryEntry.DzQ2MSaZ.js").then((e) => ({
|
8279
8279
|
default: e.HistoryPanel
|
8280
8280
|
}))
|
8281
|
-
), Dh = it(
|
8282
|
-
() => import("./AboutEntry.DxPtaPEk.js").then((e) => ({ default: e.About }))
|
8283
8281
|
), Bh = it(
|
8284
|
-
() => import("./
|
8285
|
-
), Uh = (
|
8282
|
+
() => import("./AboutEntry.CdUMph5q.js").then((e) => ({ default: e.About }))
|
8283
|
+
), Uh = it(
|
8284
|
+
() => import("./UsageEntry.D2ZOKNfK.js").then((e) => ({ default: e.Usage }))
|
8285
|
+
), Vh = ({ type: e, open: t, onOpenChange: r }) => t ? /* @__PURE__ */ i($s, { fallback: /* @__PURE__ */ i("div", {}), children: (() => {
|
8286
8286
|
switch (e) {
|
8287
8287
|
case "profile":
|
8288
|
-
return /* @__PURE__ */ i(Ph, { open: t, onOpenChange: r });
|
8289
|
-
case "settings":
|
8290
8288
|
return /* @__PURE__ */ i(Mh, { open: t, onOpenChange: r });
|
8291
|
-
case "
|
8289
|
+
case "settings":
|
8292
8290
|
return /* @__PURE__ */ i(Lh, { open: t, onOpenChange: r });
|
8293
|
-
case "
|
8291
|
+
case "history":
|
8294
8292
|
return /* @__PURE__ */ i(Dh, { open: t, onOpenChange: r });
|
8295
|
-
case "
|
8293
|
+
case "about":
|
8296
8294
|
return /* @__PURE__ */ i(Bh, { open: t, onOpenChange: r });
|
8295
|
+
case "usage":
|
8296
|
+
return /* @__PURE__ */ i(Uh, { open: t, onOpenChange: r });
|
8297
8297
|
default:
|
8298
8298
|
return null;
|
8299
8299
|
}
|
8300
|
-
})() }) : null,
|
8300
|
+
})() }) : null, Hh = ({
|
8301
8301
|
isComponent: e = !1
|
8302
8302
|
}) => {
|
8303
8303
|
const { logout: t, getAccessToken: r } = Ve(), [a, s] = z(null), [n, o] = z(!1), [c, l] = z(!1), [u, m] = z(!1), d = W(() => {
|
8304
|
-
u || (import("./ProfileEntry.
|
8304
|
+
u || (import("./ProfileEntry.YotUrCiu.js"), import("./SettingsEntry.CnnDhK6w.js"), import("./HistoryEntry.DzQ2MSaZ.js"), import("./AboutEntry.CdUMph5q.js"), import("./UsageEntry.D2ZOKNfK.js"), m(!0));
|
8305
8305
|
}, [u]), h = W((w) => {
|
8306
8306
|
s(w);
|
8307
8307
|
}, []), f = W(() => {
|
@@ -8351,7 +8351,7 @@ const eo = async () => (yr || (yr = import("./index.B8EJY2WR.js")), yr), to = as
|
|
8351
8351
|
}
|
8352
8352
|
),
|
8353
8353
|
/* @__PURE__ */ i(
|
8354
|
-
|
8354
|
+
Vh,
|
8355
8355
|
{
|
8356
8356
|
type: a,
|
8357
8357
|
open: a !== null,
|
@@ -8366,7 +8366,7 @@ const eo = async () => (yr || (yr = import("./index.B8EJY2WR.js")), yr), to = as
|
|
8366
8366
|
rowGap: 0,
|
8367
8367
|
columnGap: 0,
|
8368
8368
|
children: [
|
8369
|
-
/* @__PURE__ */ i(yt, { children: /* @__PURE__ */ i(
|
8369
|
+
/* @__PURE__ */ i(yt, { children: /* @__PURE__ */ i(Ph, { className: " mr-4 sm:mr-2" }) }),
|
8370
8370
|
/* @__PURE__ */ i(yt, { children: Ge() && /* @__PURE__ */ T(me, { children: [
|
8371
8371
|
n && /* @__PURE__ */ i(Zn, { className: "mr-4 sm:mr-2" }),
|
8372
8372
|
/* @__PURE__ */ i(Yn, { className: "mr-4 sm:mr-2" }),
|
@@ -8437,7 +8437,7 @@ const eo = async () => (yr || (yr = import("./index.B8EJY2WR.js")), yr), to = as
|
|
8437
8437
|
}
|
8438
8438
|
),
|
8439
8439
|
!e && /* @__PURE__ */ T(me, { children: [
|
8440
|
-
/* @__PURE__ */ i(
|
8440
|
+
/* @__PURE__ */ i(dh, {}),
|
8441
8441
|
/* @__PURE__ */ i(
|
8442
8442
|
Re,
|
8443
8443
|
{
|
@@ -8456,7 +8456,7 @@ const eo = async () => (yr || (yr = import("./index.B8EJY2WR.js")), yr), to = as
|
|
8456
8456
|
}
|
8457
8457
|
) })
|
8458
8458
|
] });
|
8459
|
-
},
|
8459
|
+
}, zh = ({
|
8460
8460
|
show: e,
|
8461
8461
|
bottom: t,
|
8462
8462
|
onClick: r,
|
@@ -8501,7 +8501,7 @@ const eo = async () => (yr || (yr = import("./index.B8EJY2WR.js")), yr), to = as
|
|
8501
8501
|
}
|
8502
8502
|
)
|
8503
8503
|
}
|
8504
|
-
) : null, Ft = "av-bubble", ws = "av-button", pa = "icon", co = "button", Kr = "link",
|
8504
|
+
) : null, Ft = "av-bubble", ws = "av-button", pa = "icon", co = "button", Kr = "link", Fh = ({
|
8505
8505
|
type: e,
|
8506
8506
|
size: t,
|
8507
8507
|
labelRight: r,
|
@@ -8537,7 +8537,7 @@ const eo = async () => (yr || (yr = import("./index.B8EJY2WR.js")), yr), to = as
|
|
8537
8537
|
"h-12": t === "large" && n && (r || a)
|
8538
8538
|
});
|
8539
8539
|
}
|
8540
|
-
},
|
8540
|
+
}, Wh = ({
|
8541
8541
|
type: e,
|
8542
8542
|
size: t,
|
8543
8543
|
labelRight: r,
|
@@ -8560,7 +8560,7 @@ const eo = async () => (yr || (yr = import("./index.B8EJY2WR.js")), yr), to = as
|
|
8560
8560
|
[o]: t === "large" && (r || a)
|
8561
8561
|
});
|
8562
8562
|
}
|
8563
|
-
},
|
8563
|
+
}, Kh = ({
|
8564
8564
|
mode: e,
|
8565
8565
|
noBackground: t,
|
8566
8566
|
truncate: r,
|
@@ -8596,7 +8596,7 @@ const eo = async () => (yr || (yr = import("./index.B8EJY2WR.js")), yr), to = as
|
|
8596
8596
|
return p("not-prose text-copy-lighter", {
|
8597
8597
|
truncate: r
|
8598
8598
|
});
|
8599
|
-
},
|
8599
|
+
}, jh = ({
|
8600
8600
|
mode: e,
|
8601
8601
|
noBackground: t,
|
8602
8602
|
variant: r
|
@@ -8626,13 +8626,13 @@ const eo = async () => (yr || (yr = import("./index.B8EJY2WR.js")), yr), to = as
|
|
8626
8626
|
if (r === "selected")
|
8627
8627
|
return "bg-action-selected-dark";
|
8628
8628
|
}
|
8629
|
-
},
|
8629
|
+
}, Gh = ({
|
8630
8630
|
radius: e
|
8631
8631
|
}) => p({
|
8632
8632
|
"rounded-full": e === "large",
|
8633
8633
|
"rounded-md": e === "medium",
|
8634
8634
|
"rounded-xs": e === "small"
|
8635
|
-
}),
|
8635
|
+
}), Jh = ({
|
8636
8636
|
mode: e,
|
8637
8637
|
disabled: t,
|
8638
8638
|
variant: r
|
@@ -8670,7 +8670,7 @@ const eo = async () => (yr || (yr = import("./index.B8EJY2WR.js")), yr), to = as
|
|
8670
8670
|
});
|
8671
8671
|
if (r === "selected")
|
8672
8672
|
return "hover:text-copy-light-hover hover:bg-action-selected-dark-hover";
|
8673
|
-
},
|
8673
|
+
}, qh = ({
|
8674
8674
|
mode: e,
|
8675
8675
|
disabled: t,
|
8676
8676
|
variant: r
|
@@ -8708,7 +8708,7 @@ const eo = async () => (yr || (yr = import("./index.B8EJY2WR.js")), yr), to = as
|
|
8708
8708
|
});
|
8709
8709
|
if (r === "selected")
|
8710
8710
|
return "active:text-copy-lighter-active active:bg-action-selected-dark-active";
|
8711
|
-
},
|
8711
|
+
}, Yh = ({
|
8712
8712
|
mode: e,
|
8713
8713
|
noBorder: t,
|
8714
8714
|
variant: r
|
@@ -8738,14 +8738,14 @@ const eo = async () => (yr || (yr = import("./index.B8EJY2WR.js")), yr), to = as
|
|
8738
8738
|
});
|
8739
8739
|
if (r === "selected")
|
8740
8740
|
return "border border-border-selected-dark";
|
8741
|
-
},
|
8741
|
+
}, Qh = ({
|
8742
8742
|
focusMode: e
|
8743
8743
|
}) => p("focus:outline", "focus:outline-2", "focus:outline-offset-2", {
|
8744
8744
|
"focus:outline-focus-dark": e === "dark",
|
8745
8745
|
"focus:outline-focus-light": e === "light",
|
8746
8746
|
"focus:outline-focus-light dark:focus:outline-focus-dark": e === "alt-system",
|
8747
8747
|
"focus:outline-focus-dark dark:focus:outline-focus-light": e === "system"
|
8748
|
-
}),
|
8748
|
+
}), Xh = ({
|
8749
8749
|
mode: e,
|
8750
8750
|
raw: t,
|
8751
8751
|
iconClassName: r,
|
@@ -8772,11 +8772,11 @@ const eo = async () => (yr || (yr = import("./index.B8EJY2WR.js")), yr), to = as
|
|
8772
8772
|
} : a === "selected" && (s = {
|
8773
8773
|
"text-copy-lighter": !0
|
8774
8774
|
}), p(s, r);
|
8775
|
-
},
|
8775
|
+
}, Zh = ({
|
8776
8776
|
animated: e
|
8777
8777
|
}) => p({
|
8778
8778
|
"transition-opacity duration-300 ease-in-out": e
|
8779
|
-
}),
|
8779
|
+
}), em = ({
|
8780
8780
|
type: e,
|
8781
8781
|
className: t,
|
8782
8782
|
raw: r,
|
@@ -8796,15 +8796,15 @@ const eo = async () => (yr || (yr = import("./index.B8EJY2WR.js")), yr), to = as
|
|
8796
8796
|
animated: w
|
8797
8797
|
}) => (h || (h = "primary"), r ? p(ws, t) : p(
|
8798
8798
|
ws,
|
8799
|
-
|
8799
|
+
Kh({
|
8800
8800
|
mode: a,
|
8801
8801
|
variant: h,
|
8802
8802
|
noBackground: d,
|
8803
8803
|
truncate: f
|
8804
8804
|
}),
|
8805
|
-
|
8806
|
-
|
8807
|
-
|
8805
|
+
jh({ mode: a, noBackground: d, variant: h }),
|
8806
|
+
Gh({ radius: g }),
|
8807
|
+
Fh({
|
8808
8808
|
type: e,
|
8809
8809
|
size: c,
|
8810
8810
|
labelRight: u,
|
@@ -8812,11 +8812,11 @@ const eo = async () => (yr || (yr = import("./index.B8EJY2WR.js")), yr), to = as
|
|
8812
8812
|
align: y,
|
8813
8813
|
animated: w
|
8814
8814
|
}),
|
8815
|
-
|
8816
|
-
|
8817
|
-
|
8818
|
-
Gh({ mode: a, variant: h, disabled: n }),
|
8815
|
+
Wh({ type: e, size: c, labelRight: u, labelLeft: m }),
|
8816
|
+
Yh({ mode: a, variant: h, noBorder: l }),
|
8817
|
+
Qh({ focusMode: s }),
|
8819
8818
|
Jh({ mode: a, variant: h, disabled: n }),
|
8819
|
+
qh({ mode: a, variant: h, disabled: n }),
|
8820
8820
|
{
|
8821
8821
|
"w-full": o,
|
8822
8822
|
"disabled:cursor-not-allowed disabled:opacity-50": n
|
@@ -8825,7 +8825,7 @@ const eo = async () => (yr || (yr = import("./index.B8EJY2WR.js")), yr), to = as
|
|
8825
8825
|
"transition-[width] duration-300 ease-in": w
|
8826
8826
|
}),
|
8827
8827
|
t
|
8828
|
-
)),
|
8828
|
+
)), tm = (e, t, r) => {
|
8829
8829
|
!t && (!document.activeElement || document.activeElement !== e.currentTarget) && typeof e?.currentTarget?.focus == "function" && e.currentTarget.focus(), typeof r == "function" && r(e);
|
8830
8830
|
}, lo = Z.forwardRef((e, t) => {
|
8831
8831
|
const { onClick: r, noInternalClick: a = !1, ...s } = e;
|
@@ -8834,20 +8834,20 @@ const eo = async () => (yr || (yr = import("./index.B8EJY2WR.js")), yr), to = as
|
|
8834
8834
|
{
|
8835
8835
|
ref: t,
|
8836
8836
|
onClick: (n) => {
|
8837
|
-
|
8837
|
+
tm(n, a, r);
|
8838
8838
|
},
|
8839
8839
|
...s
|
8840
8840
|
}
|
8841
8841
|
);
|
8842
8842
|
});
|
8843
8843
|
lo.displayName = "BaseButton";
|
8844
|
-
function
|
8844
|
+
function rm() {
|
8845
8845
|
const e = R(!1);
|
8846
8846
|
return N(() => (e.current = !0, () => {
|
8847
8847
|
e.current = !1;
|
8848
8848
|
}), []), W(() => e.current, []);
|
8849
8849
|
}
|
8850
|
-
function
|
8850
|
+
function am(e) {
|
8851
8851
|
return he(() => e.every((t) => t == null) ? () => {
|
8852
8852
|
} : (t) => {
|
8853
8853
|
e.forEach((r) => {
|
@@ -8855,7 +8855,7 @@ function rm(e) {
|
|
8855
8855
|
});
|
8856
8856
|
}, [...e]);
|
8857
8857
|
}
|
8858
|
-
const
|
8858
|
+
const sm = {
|
8859
8859
|
x: 0,
|
8860
8860
|
y: 0,
|
8861
8861
|
width: 0,
|
@@ -8866,7 +8866,7 @@ const am = {
|
|
8866
8866
|
right: 0
|
8867
8867
|
};
|
8868
8868
|
function wr(e) {
|
8869
|
-
const t =
|
8869
|
+
const t = rm(), r = R(0), a = R(null), [s, n] = z(sm), o = he(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((c) => {
|
8870
8870
|
const l = c[0];
|
8871
8871
|
l && (cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
|
8872
8872
|
a.current && t() && n(l.contentRect);
|
@@ -8883,14 +8883,14 @@ const Bt = {
|
|
8883
8883
|
// w-8
|
8884
8884
|
large: 48
|
8885
8885
|
// w-12
|
8886
|
-
},
|
8886
|
+
}, nm = {
|
8887
8887
|
small: 16,
|
8888
8888
|
// px-2 x 2
|
8889
8889
|
medium: 24,
|
8890
8890
|
// px-3 x 2
|
8891
8891
|
large: 32
|
8892
8892
|
// px-4 x 2
|
8893
|
-
},
|
8893
|
+
}, om = 2, im = 300, ga = Z.forwardRef(
|
8894
8894
|
({
|
8895
8895
|
children: e,
|
8896
8896
|
disabled: t = !1,
|
@@ -8914,7 +8914,7 @@ const Bt = {
|
|
8914
8914
|
animated: S = !1,
|
8915
8915
|
...P
|
8916
8916
|
}, C) => {
|
8917
|
-
const v =
|
8917
|
+
const v = em({
|
8918
8918
|
type: pa,
|
8919
8919
|
mode: r,
|
8920
8920
|
focusMode: a,
|
@@ -8931,15 +8931,15 @@ const Bt = {
|
|
8931
8931
|
radius: w,
|
8932
8932
|
variant: b,
|
8933
8933
|
animated: S
|
8934
|
-
}), k =
|
8934
|
+
}), k = Xh({ mode: r, raw: c, iconClassName: x, variant: b }), E = Zh({ animated: S }), I = "flex items-center justify-center relative w-full h-full overflow-hidden", [_, A] = wr(), [O, K] = wr(), [M, G] = wr(), Q = R(0), U = R(null), D = R(null), q = am([C, U]);
|
8935
8935
|
return Ne(() => {
|
8936
|
-
M && M.current && S && (Q.current = G.width +
|
8936
|
+
M && M.current && S && (Q.current = G.width + nm[d] + (l ? 0 : om), U.current && !U.current.style.width && (U.current.style.width = `${Bt[d]}px`));
|
8937
8937
|
}, [G, M, d, l, S]), Ne(() => {
|
8938
8938
|
if (U && U.current && S) {
|
8939
8939
|
let F = Bt[d];
|
8940
8940
|
h && _ && A.width > 0 ? F = A.width + Q.current : f && O && K.width > 0 && (F = K.width + Q.current), D.current && clearTimeout(D.current), F !== parseInt(U.current.style.width || "0", 10) && (_.current && (_.current.style.opacity = "0"), O.current && (O.current.style.opacity = "0"), U.current.style.width = `${F}px`, F > Bt[d] && (D.current = setTimeout(() => {
|
8941
8941
|
_.current && h && (_.current.style.opacity = "1"), O.current && f && (O.current.style.opacity = "1"), D.current = null;
|
8942
|
-
},
|
8942
|
+
}, im * 0.8))), F === Bt[d] && (_.current && (_.current.style.opacity = "0"), O.current && (O.current.style.opacity = "0"));
|
8943
8943
|
}
|
8944
8944
|
}, [
|
8945
8945
|
A,
|
@@ -9004,19 +9004,19 @@ const Bt = {
|
|
9004
9004
|
);
|
9005
9005
|
ga.displayName = "ButtonIcon";
|
9006
9006
|
/*!
|
9007
|
-
@versini/ui-button v7.1.
|
9007
|
+
@versini/ui-button v7.1.2
|
9008
9008
|
© 2025 gizmette.com
|
9009
9009
|
*/
|
9010
9010
|
try {
|
9011
9011
|
window.__VERSINI_UI_BUTTON__ || (window.__VERSINI_UI_BUTTON__ = {
|
9012
|
-
version: "7.1.
|
9013
|
-
buildTime: "08/
|
9012
|
+
version: "7.1.2",
|
9013
|
+
buildTime: "08/14/2025 06:04 PM EDT",
|
9014
9014
|
homepage: "https://github.com/aversini/ui-components",
|
9015
9015
|
license: "MIT"
|
9016
9016
|
});
|
9017
9017
|
} catch {
|
9018
9018
|
}
|
9019
|
-
const
|
9019
|
+
const cm = Z.forwardRef(
|
9020
9020
|
({
|
9021
9021
|
children: e,
|
9022
9022
|
mode: t = "system",
|
@@ -9056,7 +9056,7 @@ const im = Z.forwardRef(
|
|
9056
9056
|
) });
|
9057
9057
|
}
|
9058
9058
|
);
|
9059
|
-
|
9059
|
+
cm.displayName = "ButtonSort";
|
9060
9060
|
const uo = ({
|
9061
9061
|
children: e,
|
9062
9062
|
fill: t,
|
@@ -9100,7 +9100,7 @@ try {
|
|
9100
9100
|
});
|
9101
9101
|
} catch {
|
9102
9102
|
}
|
9103
|
-
const
|
9103
|
+
const lm = ({
|
9104
9104
|
className: e,
|
9105
9105
|
viewBox: t,
|
9106
9106
|
title: r,
|
@@ -9126,7 +9126,7 @@ const cm = ({
|
|
9126
9126
|
/* @__PURE__ */ i("path", { d: "M337 175c9.4 9.4 9.4 24.6 0 33.9L209 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L303 175c9.4-9.4 24.6-9.4 33.9 0z" })
|
9127
9127
|
]
|
9128
9128
|
}
|
9129
|
-
),
|
9129
|
+
), dm = ({
|
9130
9130
|
className: e,
|
9131
9131
|
viewBox: t,
|
9132
9132
|
title: r,
|
@@ -9157,20 +9157,20 @@ try {
|
|
9157
9157
|
});
|
9158
9158
|
} catch {
|
9159
9159
|
}
|
9160
|
-
const
|
9160
|
+
const um = ({ kind: e, noMaxWidth: t }) => p("px-4 py-2", {
|
9161
9161
|
"max-w-xs sm:max-w-md md:max-w-2xl": !t,
|
9162
9162
|
"lg:max-w-3xl": e === "left" && !t
|
9163
|
-
}),
|
9163
|
+
}), hm = ({ kind: e }) => p({
|
9164
9164
|
"bg-surface-lighter dark:bg-surface-dark": e === "left",
|
9165
9165
|
"bg-surface-accent": e === "right"
|
9166
|
-
}),
|
9166
|
+
}), mm = ({ kind: e }) => p(
|
9167
9167
|
"prose prose-dark dark:prose-lighter",
|
9168
9168
|
"prose-blockquote:my-1",
|
9169
9169
|
"prose-ol:my-1 prose-ul:my-1",
|
9170
9170
|
{
|
9171
9171
|
"text-copy-lighter": e === "right"
|
9172
9172
|
}
|
9173
|
-
),
|
9173
|
+
), fm = ({ kind: e, tail: t }) => {
|
9174
9174
|
if (t)
|
9175
9175
|
return p(
|
9176
9176
|
`${Ft}-${e}-tail`,
|
@@ -9191,7 +9191,7 @@ const dm = ({ kind: e, noMaxWidth: t }) => p("px-4 py-2", {
|
|
9191
9191
|
"rounded-tr-xl": e === "left",
|
9192
9192
|
"rounded-tl-xl": e === "right"
|
9193
9193
|
});
|
9194
|
-
},
|
9194
|
+
}, pm = ({
|
9195
9195
|
kind: e,
|
9196
9196
|
className: t,
|
9197
9197
|
contentClassName: r,
|
@@ -9209,10 +9209,10 @@ const dm = ({ kind: e, noMaxWidth: t }) => p("px-4 py-2", {
|
|
9209
9209
|
), o = p(
|
9210
9210
|
`${Ft}-content`,
|
9211
9211
|
"flex flex-col empty:hidden",
|
9212
|
-
|
9212
|
+
um({ kind: e, noMaxWidth: a }),
|
9213
|
+
mm({ kind: e }),
|
9213
9214
|
hm({ kind: e }),
|
9214
|
-
|
9215
|
-
mm({ kind: e, tail: s }),
|
9215
|
+
fm({ kind: e, tail: s }),
|
9216
9216
|
r
|
9217
9217
|
), c = "pr-2 pt-1 text-end text-xs text-copy-light", l = p("flex flex-col-reverse sm:flex-row", {
|
9218
9218
|
"ml-2": e === "left" && !s,
|
@@ -9226,7 +9226,7 @@ const dm = ({ kind: e, noMaxWidth: t }) => p("px-4 py-2", {
|
|
9226
9226
|
footer: c,
|
9227
9227
|
copyButton: l
|
9228
9228
|
};
|
9229
|
-
},
|
9229
|
+
}, gm = "FOOTER_EMPTY", ya = ({
|
9230
9230
|
children: e,
|
9231
9231
|
kind: t = "left",
|
9232
9232
|
className: r,
|
@@ -9239,7 +9239,7 @@ const dm = ({ kind: e, noMaxWidth: t }) => p("px-4 py-2", {
|
|
9239
9239
|
noMaxWidth: u = !1,
|
9240
9240
|
tail: m = !1
|
9241
9241
|
}) => {
|
9242
|
-
const [d, h] = z(!1), f =
|
9242
|
+
const [d, h] = z(!1), f = pm({
|
9243
9243
|
kind: t,
|
9244
9244
|
className: r,
|
9245
9245
|
contentClassName: a,
|
@@ -9260,7 +9260,7 @@ const dm = ({ kind: e, noMaxWidth: t }) => p("px-4 py-2", {
|
|
9260
9260
|
/* @__PURE__ */ i("div", { className: f.main, children: e }),
|
9261
9261
|
s && Object.keys(s).map((w, b) => {
|
9262
9262
|
const x = s[w];
|
9263
|
-
return x ===
|
9263
|
+
return x === gm ? /* @__PURE__ */ i("div", { className: "prose-p:m-0", children: /* @__PURE__ */ i("p", { className: f.footer, "aria-hidden": "true", children: /* @__PURE__ */ i("span", { className: "invisible", children: " " }) }) }, `${w}-${b}`) : x ? /* @__PURE__ */ i("div", { className: "prose-p:m-0", children: /* @__PURE__ */ T("p", { className: f.footer, children: [
|
9264
9264
|
w,
|
9265
9265
|
": ",
|
9266
9266
|
x
|
@@ -9279,19 +9279,19 @@ const dm = ({ kind: e, noMaxWidth: t }) => p("px-4 py-2", {
|
|
9279
9279
|
label: d ? "Copied to clipboard" : "Copy to clipboard",
|
9280
9280
|
onClick: g,
|
9281
9281
|
disabled: d,
|
9282
|
-
children: d ? /* @__PURE__ */ i(
|
9282
|
+
children: d ? /* @__PURE__ */ i(lm, { size: "size-3" }) : /* @__PURE__ */ i(dm, { size: "size-3" })
|
9283
9283
|
}
|
9284
9284
|
) })
|
9285
9285
|
] });
|
9286
9286
|
};
|
9287
9287
|
/*!
|
9288
|
-
@versini/ui-bubble v5.0.
|
9288
|
+
@versini/ui-bubble v5.0.3
|
9289
9289
|
© 2025 gizmette.com
|
9290
9290
|
*/
|
9291
9291
|
try {
|
9292
9292
|
window.__VERSINI_UI_BUBBLE__ || (window.__VERSINI_UI_BUBBLE__ = {
|
9293
|
-
version: "5.0.
|
9294
|
-
buildTime: "08/
|
9293
|
+
version: "5.0.3",
|
9294
|
+
buildTime: "08/14/2025 06:06 PM EDT",
|
9295
9295
|
homepage: "https://github.com/aversini/ui-components",
|
9296
9296
|
license: "MIT"
|
9297
9297
|
});
|
@@ -9332,19 +9332,19 @@ const Es = "av-spinner", ho = ({
|
|
9332
9332
|
] });
|
9333
9333
|
};
|
9334
9334
|
/*!
|
9335
|
-
@versini/ui-spinner v4.0.
|
9335
|
+
@versini/ui-spinner v4.0.7
|
9336
9336
|
© 2025 gizmette.com
|
9337
9337
|
*/
|
9338
9338
|
try {
|
9339
9339
|
window.__VERSINI_UI_SPINNER__ || (window.__VERSINI_UI_SPINNER__ = {
|
9340
|
-
version: "4.0.
|
9341
|
-
buildTime: "08/
|
9340
|
+
version: "4.0.7",
|
9341
|
+
buildTime: "08/14/2025 06:07 PM EDT",
|
9342
9342
|
homepage: "https://github.com/aversini/ui-components",
|
9343
9343
|
license: "MIT"
|
9344
9344
|
});
|
9345
9345
|
} catch {
|
9346
9346
|
}
|
9347
|
-
const _s = "av-button", tr = "icon", ba = "button", jr = "link",
|
9347
|
+
const _s = "av-button", tr = "icon", ba = "button", jr = "link", ym = ({
|
9348
9348
|
type: e,
|
9349
9349
|
size: t,
|
9350
9350
|
labelRight: r,
|
@@ -9380,7 +9380,7 @@ const _s = "av-button", tr = "icon", ba = "button", jr = "link", gm = ({
|
|
9380
9380
|
"h-12": t === "large" && n && (r || a)
|
9381
9381
|
});
|
9382
9382
|
}
|
9383
|
-
},
|
9383
|
+
}, bm = ({
|
9384
9384
|
type: e,
|
9385
9385
|
size: t,
|
9386
9386
|
labelRight: r,
|
@@ -9403,7 +9403,7 @@ const _s = "av-button", tr = "icon", ba = "button", jr = "link", gm = ({
|
|
9403
9403
|
[o]: t === "large" && (r || a)
|
9404
9404
|
});
|
9405
9405
|
}
|
9406
|
-
},
|
9406
|
+
}, vm = ({
|
9407
9407
|
mode: e,
|
9408
9408
|
noBackground: t,
|
9409
9409
|
truncate: r,
|
@@ -9439,7 +9439,7 @@ const _s = "av-button", tr = "icon", ba = "button", jr = "link", gm = ({
|
|
9439
9439
|
return p("not-prose text-copy-lighter", {
|
9440
9440
|
truncate: r
|
9441
9441
|
});
|
9442
|
-
},
|
9442
|
+
}, wm = ({
|
9443
9443
|
mode: e,
|
9444
9444
|
noBackground: t,
|
9445
9445
|
variant: r
|
@@ -9469,13 +9469,13 @@ const _s = "av-button", tr = "icon", ba = "button", jr = "link", gm = ({
|
|
9469
9469
|
if (r === "selected")
|
9470
9470
|
return "bg-action-selected-dark";
|
9471
9471
|
}
|
9472
|
-
},
|
9472
|
+
}, km = ({
|
9473
9473
|
radius: e
|
9474
9474
|
}) => p({
|
9475
9475
|
"rounded-full": e === "large",
|
9476
9476
|
"rounded-md": e === "medium",
|
9477
9477
|
"rounded-xs": e === "small"
|
9478
|
-
}),
|
9478
|
+
}), Em = ({
|
9479
9479
|
mode: e,
|
9480
9480
|
disabled: t,
|
9481
9481
|
variant: r
|
@@ -9513,7 +9513,7 @@ const _s = "av-button", tr = "icon", ba = "button", jr = "link", gm = ({
|
|
9513
9513
|
});
|
9514
9514
|
if (r === "selected")
|
9515
9515
|
return "hover:text-copy-light-hover hover:bg-action-selected-dark-hover";
|
9516
|
-
},
|
9516
|
+
}, _m = ({
|
9517
9517
|
mode: e,
|
9518
9518
|
disabled: t,
|
9519
9519
|
variant: r
|
@@ -9551,7 +9551,7 @@ const _s = "av-button", tr = "icon", ba = "button", jr = "link", gm = ({
|
|
9551
9551
|
});
|
9552
9552
|
if (r === "selected")
|
9553
9553
|
return "active:text-copy-lighter-active active:bg-action-selected-dark-active";
|
9554
|
-
},
|
9554
|
+
}, Sm = ({
|
9555
9555
|
mode: e,
|
9556
9556
|
noBorder: t,
|
9557
9557
|
variant: r
|
@@ -9581,14 +9581,14 @@ const _s = "av-button", tr = "icon", ba = "button", jr = "link", gm = ({
|
|
9581
9581
|
});
|
9582
9582
|
if (r === "selected")
|
9583
9583
|
return "border border-border-selected-dark";
|
9584
|
-
},
|
9584
|
+
}, Tm = ({
|
9585
9585
|
focusMode: e
|
9586
9586
|
}) => p("focus:outline", "focus:outline-2", "focus:outline-offset-2", {
|
9587
9587
|
"focus:outline-focus-dark": e === "dark",
|
9588
9588
|
"focus:outline-focus-light": e === "light",
|
9589
9589
|
"focus:outline-focus-light dark:focus:outline-focus-dark": e === "alt-system",
|
9590
9590
|
"focus:outline-focus-dark dark:focus:outline-focus-light": e === "system"
|
9591
|
-
}),
|
9591
|
+
}), xm = ({
|
9592
9592
|
mode: e,
|
9593
9593
|
raw: t,
|
9594
9594
|
iconClassName: r,
|
@@ -9615,7 +9615,7 @@ const _s = "av-button", tr = "icon", ba = "button", jr = "link", gm = ({
|
|
9615
9615
|
} : a === "selected" && (s = {
|
9616
9616
|
"text-copy-lighter": !0
|
9617
9617
|
}), p(s, r);
|
9618
|
-
},
|
9618
|
+
}, Cm = ({
|
9619
9619
|
animated: e
|
9620
9620
|
}) => p({
|
9621
9621
|
"transition-opacity duration-300 ease-in-out": e
|
@@ -9639,15 +9639,15 @@ const _s = "av-button", tr = "icon", ba = "button", jr = "link", gm = ({
|
|
9639
9639
|
animated: w
|
9640
9640
|
}) => (h || (h = "primary"), r ? p(_s, t) : p(
|
9641
9641
|
_s,
|
9642
|
-
|
9642
|
+
vm({
|
9643
9643
|
mode: a,
|
9644
9644
|
variant: h,
|
9645
9645
|
noBackground: d,
|
9646
9646
|
truncate: f
|
9647
9647
|
}),
|
9648
|
-
|
9649
|
-
|
9650
|
-
|
9648
|
+
wm({ mode: a, noBackground: d, variant: h }),
|
9649
|
+
km({ radius: g }),
|
9650
|
+
ym({
|
9651
9651
|
type: e,
|
9652
9652
|
size: c,
|
9653
9653
|
labelRight: u,
|
@@ -9655,11 +9655,11 @@ const _s = "av-button", tr = "icon", ba = "button", jr = "link", gm = ({
|
|
9655
9655
|
align: y,
|
9656
9656
|
animated: w
|
9657
9657
|
}),
|
9658
|
-
|
9659
|
-
|
9660
|
-
|
9661
|
-
km({ mode: a, variant: h, disabled: n }),
|
9658
|
+
bm({ type: e, size: c, labelRight: u, labelLeft: m }),
|
9659
|
+
Sm({ mode: a, variant: h, noBorder: l }),
|
9660
|
+
Tm({ focusMode: s }),
|
9662
9661
|
Em({ mode: a, variant: h, disabled: n }),
|
9662
|
+
_m({ mode: a, variant: h, disabled: n }),
|
9663
9663
|
{
|
9664
9664
|
"w-full": o,
|
9665
9665
|
"disabled:cursor-not-allowed disabled:opacity-50": n
|
@@ -9668,7 +9668,7 @@ const _s = "av-button", tr = "icon", ba = "button", jr = "link", gm = ({
|
|
9668
9668
|
"transition-[width] duration-300 ease-in": e === tr && w
|
9669
9669
|
}),
|
9670
9670
|
t
|
9671
|
-
)),
|
9671
|
+
)), Im = (e, t, r) => {
|
9672
9672
|
!t && (!document.activeElement || document.activeElement !== e.currentTarget) && typeof e?.currentTarget?.focus == "function" && e.currentTarget.focus(), typeof r == "function" && r(e);
|
9673
9673
|
}, va = Z.forwardRef((e, t) => {
|
9674
9674
|
const { onClick: r, noInternalClick: a = !1, ...s } = e;
|
@@ -9677,7 +9677,7 @@ const _s = "av-button", tr = "icon", ba = "button", jr = "link", gm = ({
|
|
9677
9677
|
{
|
9678
9678
|
ref: t,
|
9679
9679
|
onClick: (n) => {
|
9680
|
-
|
9680
|
+
Im(n, a, r);
|
9681
9681
|
},
|
9682
9682
|
...s
|
9683
9683
|
}
|
@@ -9727,13 +9727,13 @@ const fo = Z.forwardRef(
|
|
9727
9727
|
}
|
9728
9728
|
);
|
9729
9729
|
fo.displayName = "Button";
|
9730
|
-
function
|
9730
|
+
function Rm() {
|
9731
9731
|
const e = R(!1);
|
9732
9732
|
return N(() => (e.current = !0, () => {
|
9733
9733
|
e.current = !1;
|
9734
9734
|
}), []), W(() => e.current, []);
|
9735
9735
|
}
|
9736
|
-
function
|
9736
|
+
function Am(e) {
|
9737
9737
|
return he(() => e.every((t) => t == null) ? () => {
|
9738
9738
|
} : (t) => {
|
9739
9739
|
e.forEach((r) => {
|
@@ -9741,7 +9741,7 @@ function Rm(e) {
|
|
9741
9741
|
});
|
9742
9742
|
}, [...e]);
|
9743
9743
|
}
|
9744
|
-
const
|
9744
|
+
const Nm = {
|
9745
9745
|
x: 0,
|
9746
9746
|
y: 0,
|
9747
9747
|
width: 0,
|
@@ -9752,7 +9752,7 @@ const Am = {
|
|
9752
9752
|
right: 0
|
9753
9753
|
};
|
9754
9754
|
function kr(e) {
|
9755
|
-
const t =
|
9755
|
+
const t = Rm(), r = R(0), a = R(null), [s, n] = z(Nm), o = he(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((c) => {
|
9756
9756
|
const l = c[0];
|
9757
9757
|
l && (cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
|
9758
9758
|
a.current && t() && n(l.contentRect);
|
@@ -9769,14 +9769,14 @@ const Ut = {
|
|
9769
9769
|
// w-8
|
9770
9770
|
large: 48
|
9771
9771
|
// w-12
|
9772
|
-
},
|
9772
|
+
}, Om = {
|
9773
9773
|
small: 16,
|
9774
9774
|
// px-2 x 2
|
9775
9775
|
medium: 24,
|
9776
9776
|
// px-3 x 2
|
9777
9777
|
large: 32
|
9778
9778
|
// px-4 x 2
|
9779
|
-
},
|
9779
|
+
}, $m = 2, Pm = 300, po = Z.forwardRef(
|
9780
9780
|
({
|
9781
9781
|
children: e,
|
9782
9782
|
disabled: t = !1,
|
@@ -9817,15 +9817,15 @@ const Ut = {
|
|
9817
9817
|
radius: w,
|
9818
9818
|
variant: b,
|
9819
9819
|
animated: S
|
9820
|
-
}), k =
|
9820
|
+
}), k = xm({ mode: r, raw: c, iconClassName: x, variant: b }), E = Cm({ animated: S }), I = "flex items-center justify-center relative w-full h-full overflow-hidden", [_, A] = kr(), [O, K] = kr(), [M, G] = kr(), Q = R(0), U = R(null), D = R(null), q = Am([C, U]);
|
9821
9821
|
return Ne(() => {
|
9822
|
-
M && M.current && S && (Q.current = G.width +
|
9822
|
+
M && M.current && S && (Q.current = G.width + Om[d] + (l ? 0 : $m), U.current && !U.current.style.width && (U.current.style.width = `${Ut[d]}px`));
|
9823
9823
|
}, [G, M, d, l, S]), Ne(() => {
|
9824
9824
|
if (U && U.current && S) {
|
9825
9825
|
let F = Ut[d];
|
9826
9826
|
h && _ && A.width > 0 ? F = A.width + Q.current : f && O && K.width > 0 && (F = K.width + Q.current), D.current && clearTimeout(D.current), F !== parseInt(U.current.style.width || "0", 10) && (_.current && (_.current.style.opacity = "0"), O.current && (O.current.style.opacity = "0"), U.current.style.width = `${F}px`, F > Ut[d] && (D.current = setTimeout(() => {
|
9827
9827
|
_.current && h && (_.current.style.opacity = "1"), O.current && f && (O.current.style.opacity = "1"), D.current = null;
|
9828
|
-
},
|
9828
|
+
}, Pm * 0.8))), F === Ut[d] && (_.current && (_.current.style.opacity = "0"), O.current && (O.current.style.opacity = "0"));
|
9829
9829
|
}
|
9830
9830
|
}, [
|
9831
9831
|
A,
|
@@ -9890,19 +9890,19 @@ const Ut = {
|
|
9890
9890
|
);
|
9891
9891
|
po.displayName = "ButtonIcon";
|
9892
9892
|
/*!
|
9893
|
-
@versini/ui-button v7.1.
|
9893
|
+
@versini/ui-button v7.1.2
|
9894
9894
|
© 2025 gizmette.com
|
9895
9895
|
*/
|
9896
9896
|
try {
|
9897
9897
|
window.__VERSINI_UI_BUTTON__ || (window.__VERSINI_UI_BUTTON__ = {
|
9898
|
-
version: "7.1.
|
9899
|
-
buildTime: "08/
|
9898
|
+
version: "7.1.2",
|
9899
|
+
buildTime: "08/14/2025 06:04 PM EDT",
|
9900
9900
|
homepage: "https://github.com/aversini/ui-components",
|
9901
9901
|
license: "MIT"
|
9902
9902
|
});
|
9903
9903
|
} catch {
|
9904
9904
|
}
|
9905
|
-
const
|
9905
|
+
const Mm = Z.forwardRef(
|
9906
9906
|
({
|
9907
9907
|
children: e,
|
9908
9908
|
mode: t = "system",
|
@@ -9942,10 +9942,10 @@ const Pm = Z.forwardRef(
|
|
9942
9942
|
) });
|
9943
9943
|
}
|
9944
9944
|
);
|
9945
|
-
|
9946
|
-
const
|
9945
|
+
Mm.displayName = "ButtonSort";
|
9946
|
+
const Lm = 200, Dm = ({
|
9947
9947
|
string: e,
|
9948
|
-
idealLength: t =
|
9948
|
+
idealLength: t = Lm
|
9949
9949
|
}) => {
|
9950
9950
|
if (e.length <= t)
|
9951
9951
|
return { string: e, isTruncated: !1 };
|
@@ -9956,7 +9956,7 @@ const Mm = 200, Lm = ({
|
|
9956
9956
|
string: e.slice(0, t + r),
|
9957
9957
|
isTruncated: !0
|
9958
9958
|
};
|
9959
|
-
},
|
9959
|
+
}, Bm = ({
|
9960
9960
|
children: e,
|
9961
9961
|
length: t = 200,
|
9962
9962
|
mode: r = "system",
|
@@ -9965,7 +9965,7 @@ const Mm = 200, Lm = ({
|
|
9965
9965
|
const [s, n] = z(!1);
|
9966
9966
|
if (typeof e != "string")
|
9967
9967
|
return e;
|
9968
|
-
const { string: o, isTruncated: c } =
|
9968
|
+
const { string: o, isTruncated: c } = Dm({
|
9969
9969
|
string: e,
|
9970
9970
|
idealLength: t
|
9971
9971
|
});
|
@@ -9987,19 +9987,19 @@ const Mm = 200, Lm = ({
|
|
9987
9987
|
] });
|
9988
9988
|
};
|
9989
9989
|
/*!
|
9990
|
-
@versini/ui-truncate v4.0.
|
9990
|
+
@versini/ui-truncate v4.0.13
|
9991
9991
|
© 2025 gizmette.com
|
9992
9992
|
*/
|
9993
9993
|
try {
|
9994
9994
|
window.__VERSINI_UI_TRUNCATE__ || (window.__VERSINI_UI_TRUNCATE__ = {
|
9995
|
-
version: "4.0.
|
9996
|
-
buildTime: "08/
|
9995
|
+
version: "4.0.13",
|
9996
|
+
buildTime: "08/14/2025 06:06 PM EDT",
|
9997
9997
|
homepage: "https://github.com/aversini/ui-components",
|
9998
9998
|
license: "MIT"
|
9999
9999
|
});
|
10000
10000
|
} catch {
|
10001
10001
|
}
|
10002
|
-
const
|
10002
|
+
const Um = ({ content: e }) => /* @__PURE__ */ i(
|
10003
10003
|
ya,
|
10004
10004
|
{
|
10005
10005
|
tail: !0,
|
@@ -10007,14 +10007,14 @@ const Bm = ({ content: e }) => /* @__PURE__ */ i(
|
|
10007
10007
|
copyToClipboard: e,
|
10008
10008
|
copyToClipboardFocusMode: "light",
|
10009
10009
|
className: "mt-3",
|
10010
|
-
children: /* @__PURE__ */ i(
|
10010
|
+
children: /* @__PURE__ */ i(Bm, { mode: "light", focusMode: "light", children: e })
|
10011
10011
|
}
|
10012
|
-
), Ts = 1,
|
10012
|
+
), Ts = 1, Vm = 150, Hm = it(
|
10013
10013
|
() => import(
|
10014
10014
|
/* webpackChunkName: "LazyMessageAssistant" */
|
10015
|
-
"./ChatBubbleAssistant.
|
10015
|
+
"./ChatBubbleAssistant.DNqS0sbL.js"
|
10016
10016
|
)
|
10017
|
-
),
|
10017
|
+
), zm = Z.memo(
|
10018
10018
|
({
|
10019
10019
|
role: e,
|
10020
10020
|
content: t,
|
@@ -10028,7 +10028,7 @@ const Bm = ({ content: e }) => /* @__PURE__ */ i(
|
|
10028
10028
|
);
|
10029
10029
|
return N(() => {
|
10030
10030
|
if (s && o && t && t.trim().length >= Ts) {
|
10031
|
-
const d = Date.now() - l.current, h =
|
10031
|
+
const d = Date.now() - l.current, h = Vm - d;
|
10032
10032
|
if (h > 0) {
|
10033
10033
|
const f = setTimeout(
|
10034
10034
|
() => c(!1),
|
@@ -10038,8 +10038,8 @@ const Bm = ({ content: e }) => /* @__PURE__ */ i(
|
|
10038
10038
|
}
|
10039
10039
|
c(!1);
|
10040
10040
|
}
|
10041
|
-
}, [t, o, s]), e === On && t ? /* @__PURE__ */ i(
|
10042
|
-
|
10041
|
+
}, [t, o, s]), e === On && t ? /* @__PURE__ */ i(Um, { content: t }) : (e === qt || e === Tr) && s && (n === "submitted" || n === "streaming") && o ? /* @__PURE__ */ i(ya, { tail: !0, children: /* @__PURE__ */ i(ho, { type: "dots" }) }) : (e === qt || e === Tr) && t && t.trim().length >= Ts ? /* @__PURE__ */ i($s, { fallback: /* @__PURE__ */ i("span", {}), children: /* @__PURE__ */ i(
|
10042
|
+
Hm,
|
10043
10043
|
{
|
10044
10044
|
role: e,
|
10045
10045
|
content: t,
|
@@ -10050,7 +10050,7 @@ const Bm = ({ content: e }) => /* @__PURE__ */ i(
|
|
10050
10050
|
}
|
10051
10051
|
) }) : null;
|
10052
10052
|
}
|
10053
|
-
),
|
10053
|
+
), Fm = () => {
|
10054
10054
|
const { messages: e, status: t } = Qe(), r = e ? e.map((n, o) => n.role === qt ? o : -1).filter((n) => n !== -1).pop() : -1, a = e && e.length > 0 ? e[e.length - 1] : null, s = (t === "submitted" || t === "streaming") && a?.role === On;
|
10055
10055
|
return e && e.length > 0 ? /* @__PURE__ */ T("div", { className: "space-y-6 mt-2 @container", children: [
|
10056
10056
|
e?.map((n, o) => {
|
@@ -10072,7 +10072,7 @@ const Bm = ({ content: e }) => /* @__PURE__ */ i(
|
|
10072
10072
|
}), m = u && u.length > 0 ? u.filter(Boolean).join(`
|
10073
10073
|
`) : void 0, d = n.role === qt && o === r;
|
10074
10074
|
return /* @__PURE__ */ i(
|
10075
|
-
|
10075
|
+
zm,
|
10076
10076
|
{
|
10077
10077
|
role: n.role,
|
10078
10078
|
content: m,
|
@@ -10086,7 +10086,7 @@ const Bm = ({ content: e }) => /* @__PURE__ */ i(
|
|
10086
10086
|
}),
|
10087
10087
|
s && /* @__PURE__ */ i(ya, { tail: !0, children: /* @__PURE__ */ i(ho, { type: "dots" }) })
|
10088
10088
|
] }) : null;
|
10089
|
-
},
|
10089
|
+
}, Wm = () => {
|
10090
10090
|
const { isAuthenticated: e } = Ve(), { ref: t, inViewport: r } = Fi(), a = R(null), s = R(null), { isVirtualKeyboardActive: n } = An(), {
|
10091
10091
|
state: { footerPosition: o, footerHeight: c, footerOffset: l }
|
10092
10092
|
} = X(la), {
|
@@ -10109,12 +10109,12 @@ const Bm = ({ content: e }) => /* @__PURE__ */ i(
|
|
10109
10109
|
}, [o, c, l]), /* @__PURE__ */ T(me, { children: [
|
10110
10110
|
/* @__PURE__ */ T("div", { className: h, ref: a, children: [
|
10111
10111
|
/* @__PURE__ */ i(Lo, { className: y }),
|
10112
|
-
/* @__PURE__ */ i(
|
10112
|
+
/* @__PURE__ */ i(Fm, {}),
|
10113
10113
|
/* @__PURE__ */ i("div", { ref: t, className: "scroll-marker" }),
|
10114
10114
|
/* @__PURE__ */ i("div", { ref: s, className: "pt-20" })
|
10115
10115
|
] }),
|
10116
10116
|
/* @__PURE__ */ i(
|
10117
|
-
|
10117
|
+
zh,
|
10118
10118
|
{
|
10119
10119
|
show: !r && o === Je,
|
10120
10120
|
bottom: d.current,
|
@@ -10235,7 +10235,7 @@ function go({
|
|
10235
10235
|
className: Pa({
|
10236
10236
|
extraClass: "mt-5"
|
10237
10237
|
}),
|
10238
|
-
children: /* @__PURE__ */ i(
|
10238
|
+
children: /* @__PURE__ */ i(Hh, { isComponent: e })
|
10239
10239
|
}
|
10240
10240
|
),
|
10241
10241
|
/* @__PURE__ */ i(
|
@@ -10249,10 +10249,10 @@ function go({
|
|
10249
10249
|
style: {
|
10250
10250
|
height: s
|
10251
10251
|
},
|
10252
|
-
children: /* @__PURE__ */ i(
|
10252
|
+
children: /* @__PURE__ */ i(Wm, {})
|
10253
10253
|
}
|
10254
10254
|
),
|
10255
|
-
/* @__PURE__ */ i(
|
10255
|
+
/* @__PURE__ */ i($h, { isComponent: e })
|
10256
10256
|
]
|
10257
10257
|
}
|
10258
10258
|
)
|
@@ -10264,51 +10264,51 @@ function go({
|
|
10264
10264
|
) });
|
10265
10265
|
}
|
10266
10266
|
go.displayName = "App";
|
10267
|
-
const
|
10267
|
+
const mf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, default: go }, Symbol.toStringTag, { value: "Module" }));
|
10268
10268
|
export {
|
10269
|
-
|
10270
|
-
|
10269
|
+
mf as App,
|
10270
|
+
zh as ButtonScroll,
|
10271
10271
|
tn as CHAT_SET_PROVIDER,
|
10272
10272
|
at as CHAT_SET_STATUS,
|
10273
10273
|
_e as ChatContext,
|
10274
10274
|
qe as ConfirmationPanel,
|
10275
|
-
|
10275
|
+
Ym as De,
|
10276
10276
|
jt as E,
|
10277
10277
|
ft as E$1,
|
10278
|
-
|
10279
|
-
|
10280
|
-
|
10281
|
-
Ym as He,
|
10278
|
+
Xm as Fe,
|
10279
|
+
Zm as Ge,
|
10280
|
+
Qm as He,
|
10282
10281
|
ia as HistoryContext,
|
10283
10282
|
is as LazyToastContainerWrapper,
|
10284
|
-
|
10283
|
+
gm as Me,
|
10285
10284
|
ya as Oe,
|
10286
10285
|
Tc as Pe,
|
10287
10286
|
He as SERVICE_TYPES,
|
10288
|
-
|
10287
|
+
tf as Ye,
|
10289
10288
|
_i as a,
|
10290
10289
|
oa as a$1,
|
10291
10290
|
vi as a$2,
|
10292
10291
|
Fi as b,
|
10292
|
+
of as de,
|
10293
10293
|
yn as getDefaultExportFromCjs,
|
10294
10294
|
Ji as i,
|
10295
10295
|
$n as i$1,
|
10296
10296
|
rn as mutateCall,
|
10297
|
-
|
10297
|
+
cf as nt,
|
10298
10298
|
Ri as p,
|
10299
10299
|
pi as p$1,
|
10300
|
-
|
10300
|
+
ef as qe,
|
10301
10301
|
Pc as setNewProvider,
|
10302
|
-
|
10302
|
+
hf as showErrorToast,
|
10303
10303
|
ao as showSuccessToast,
|
10304
10304
|
Oe as st,
|
10305
|
-
|
10305
|
+
ih as tt,
|
10306
10306
|
Qe as useAiChat,
|
10307
|
-
|
10307
|
+
af as useChangelogs,
|
10308
10308
|
Nn as useChatsHistory,
|
10309
|
-
|
10310
|
-
|
10311
|
-
|
10309
|
+
nf as useChatsUsage,
|
10310
|
+
rf as useServerCapabilities,
|
10311
|
+
sf as useUserChatStats,
|
10312
10312
|
Xt as useUserPreferences,
|
10313
10313
|
Pn as y
|
10314
10314
|
};
|