@versini/sassysaint 8.73.0 → 8.73.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (26) hide show
  1. package/dist/chunks/{AboutChangelog.Cp9PopiO.js → AboutChangelog.2b2DI_SN.js} +2 -2
  2. package/dist/chunks/{AboutEntry.BOb5_aZI.js → AboutEntry.BHq7KBa1.js} +7 -7
  3. package/dist/chunks/{App.Ck78giBC.js → App.DcQF9Hq9.js} +125 -125
  4. package/dist/chunks/{Chart.C1dgaS-F.js → Chart.DAdepX81.js} +2 -2
  5. package/dist/chunks/{ChatBubbleAssistant.CT2jmjen.js → ChatBubbleAssistant.BF3Bj7JJ.js} +17 -17
  6. package/dist/chunks/{ChatBubbleUser.CM1FzHNQ.js → ChatBubbleUser.B5uyfOKG.js} +3 -3
  7. package/dist/chunks/{ChatHistoryTable._Rzl_5Sk.js → ChatHistoryTable.BwjPu3FF.js} +8 -8
  8. package/dist/chunks/{HistoryEntry.DM6RInwR.js → HistoryEntry.Cj5Hwpkx.js} +16 -15
  9. package/dist/chunks/{ProfileEntry.Naot3F9p.js → ProfileEntry.Ce801i2m.js} +21 -21
  10. package/dist/chunks/{SettingsEntry.Du0GDXgA.js → SettingsEntry.fNHoX42W.js} +69 -63
  11. package/dist/chunks/{Table.JtsJZQLY.js → Table.J1RcsDNn.js} +2 -2
  12. package/dist/chunks/{UsageEntry.C18Kaf6V.js → UsageEntry.k-Ljpdg9.js} +3 -3
  13. package/dist/chunks/{UserMemoriesPanel.C9gXdvcN.js → UserMemoriesPanel.C0BI-Pbv.js} +4 -4
  14. package/dist/chunks/{index.BYZBF4_0.js → index.BqnKf1sr.js} +1 -1
  15. package/dist/chunks/{index.D0pvrKFC.js → index.C_OZL-ky.js} +1 -1
  16. package/dist/chunks/{index.ce_hM2eo.js → index.CauWbyr8.js} +3 -3
  17. package/dist/chunks/{index.GppF30Qs.js → index.CmXD-yP7.js} +13 -13
  18. package/dist/chunks/{index.Ce0bioPG.js → index.FbsVqChk.js} +1 -1
  19. package/dist/chunks/{index.DBqrJ-of.js → index.RnO-M1tm.js} +2 -2
  20. package/dist/chunks/{index.DdEAWm8o.js → index.nSgn5ZFo.js} +1 -1
  21. package/dist/chunks/{index.DTBMKq5O.js → index.uzB9FupG.js} +176 -173
  22. package/dist/chunks/{useMarkdown.CfYCs10-.js → useMarkdown.rLeRHXfb.js} +6 -6
  23. package/dist/components/SassySaint/SassySaint.js +1 -1
  24. package/dist/index.js +4 -4
  25. package/dist/style.css +1 -1
  26. package/package.json +3 -3
@@ -2007,10 +2007,12 @@ let we = class extends Error {
2007
2007
  }, ne = class extends we {
2008
2008
  static code = "ERR_JOSE_NOT_SUPPORTED";
2009
2009
  code = "ERR_JOSE_NOT_SUPPORTED";
2010
- }, L = class extends we {
2010
+ };
2011
+ class L extends we {
2011
2012
  static code = "ERR_JWS_INVALID";
2012
2013
  code = "ERR_JWS_INVALID";
2013
- }, se = class extends we {
2014
+ }
2015
+ let se = class extends we {
2014
2016
  static code = "ERR_JWT_INVALID";
2015
2017
  code = "ERR_JWT_INVALID";
2016
2018
  };
@@ -4199,18 +4201,19 @@ const Uc = "user", Fc = "assistant", Hc = "data", He = "OpenAI", dt = "Anthropic
4199
4201
  [dt]: [bs, Es],
4200
4202
  [ht]: [ws, Ss],
4201
4203
  [fs]: [vs, Ts]
4202
- }, ui = "claude-sonnet-4", di = "claude-3", hi = "gpt-", fi = "o3", mi = "o4", pi = "gemini", yi = "sonar", gi = {
4204
+ }, ui = "claude-sonnet-4", di = "claude-haiku-4", hi = "claude-3", fi = "gpt-", mi = "o3", pi = "o4", yi = "gemini", gi = "sonar", bi = {
4203
4205
  [dt]: [
4204
4206
  ui,
4205
- di
4207
+ di,
4208
+ hi
4206
4209
  ],
4207
4210
  [He]: [
4208
- hi,
4209
4211
  fi,
4210
- mi
4212
+ mi,
4213
+ pi
4211
4214
  ],
4212
- [ht]: [pi],
4213
- [fs]: [yi]
4215
+ [ht]: [yi],
4216
+ [fs]: [gi]
4214
4217
  }, Bc = "x-diggidy-chat-id", qc = "timestamp", Wc = "tokenUsage", k = "Diggidy", Vc = {
4215
4218
  TOOL: {
4216
4219
  MEMORIES: "getUserMemories"
@@ -4221,7 +4224,7 @@ const Uc = "user", Fc = "assistant", Hc = "data", He = "OpenAI", dt = "Anthropic
4221
4224
  }
4222
4225
  }, jc = (e) => {
4223
4226
  for (const [t, r] of Object.entries(
4224
- gi
4227
+ bi
4225
4228
  ))
4226
4229
  if (r.some((s) => e.startsWith(s)))
4227
4230
  return t;
@@ -4236,7 +4239,7 @@ const Uc = "user", Fc = "assistant", Hc = "data", He = "OpenAI", dt = "Anthropic
4236
4239
  ))
4237
4240
  a.includes(r) && (s === He || s === dt || s === ht) && t.add(s);
4238
4241
  return li.filter((r) => t.has(r));
4239
- }, bi = (e) => {
4242
+ }, Ei = (e) => {
4240
4243
  const t = /* @__PURE__ */ new Map();
4241
4244
  if (!e || e.length === 0)
4242
4245
  return t;
@@ -4250,19 +4253,19 @@ const Uc = "user", Fc = "assistant", Hc = "data", He = "OpenAI", dt = "Anthropic
4250
4253
  }
4251
4254
  return t;
4252
4255
  }, Jc = (e) => {
4253
- const t = bi(e);
4256
+ const t = Ei(e);
4254
4257
  for (const r of t.values())
4255
4258
  if (r.length > 1)
4256
4259
  return !0;
4257
4260
  return !1;
4258
4261
  }, Yc = (e, t) => !e || !t || t.length === 0 ? !1 : t.includes(e);
4259
- function Ei(e) {
4262
+ function wi(e) {
4260
4263
  return e ? new Set(e) : null;
4261
4264
  }
4262
- function wi(e, t, r) {
4265
+ function Si(e, t, r) {
4263
4266
  if (!t || Array.isArray(t) && t.length === 0)
4264
4267
  return !0;
4265
- const s = e instanceof Set ? e : Ei(e);
4268
+ const s = e instanceof Set ? e : wi(e);
4266
4269
  return !s || s.size === 0 ? !1 : typeof t == "string" ? s.has(t) : r?.any === !0 ? t.some((a) => s.has(a)) : t.every((a) => s.has(a));
4267
4270
  }
4268
4271
  const G = {
@@ -4534,12 +4537,12 @@ const G = {
4534
4537
  schema: G.DELETE_MEMORIES,
4535
4538
  method: "deleteMemories"
4536
4539
  }
4537
- }, Si = process.env.PUBLIC_SASSY_API_SERVER_URL, nt = async ({
4540
+ }, vi = process.env.PUBLIC_SASSY_API_SERVER_URL, nt = async ({
4538
4541
  query: e,
4539
4542
  data: t,
4540
4543
  headers: r = {},
4541
4544
  ...s
4542
- }) => await fetch(`${Si}/graphql`, {
4545
+ }) => await fetch(`${vi}/graphql`, {
4543
4546
  method: "POST",
4544
4547
  credentials: "include",
4545
4548
  headers: {
@@ -4634,7 +4637,7 @@ const G = {
4634
4637
  client: !0
4635
4638
  }
4636
4639
  })
4637
- }), vi = ({
4640
+ }), Ti = ({
4638
4641
  user: e,
4639
4642
  getAccessToken: t
4640
4643
  }) => fe({
@@ -4889,7 +4892,7 @@ const G = {
4889
4892
  allowedModels: [],
4890
4893
  version: null,
4891
4894
  status: "idle"
4892
- }, Ti = ({
4895
+ }, Ai = ({
4893
4896
  user: e,
4894
4897
  getAccessToken: t,
4895
4898
  children: r
@@ -4919,7 +4922,7 @@ const G = {
4919
4922
  W(() => {
4920
4923
  s.status === "idle" && i();
4921
4924
  }, [i, s.status]);
4922
- const o = vi({ user: e, getAccessToken: t });
4925
+ const o = Ti({ user: e, getAccessToken: t });
4923
4926
  W(() => {
4924
4927
  o.isLoading && s.status === "idle" && a((u) => ({ ...u, status: "loading" }));
4925
4928
  }, [o.isLoading, s.status]), W(() => {
@@ -4979,7 +4982,7 @@ const G = {
4979
4982
  }, [n]), d = ze(
4980
4983
  () => ({
4981
4984
  ...s,
4982
- check: (u, l) => s.status !== "ready" ? !1 : wi(s.capabilities, u, { any: l?.any }),
4985
+ check: (u, l) => s.status !== "ready" ? !1 : Si(s.capabilities, u, { any: l?.any }),
4983
4986
  loadFromProfile: c,
4984
4987
  reset: f
4985
4988
  }),
@@ -4994,7 +4997,7 @@ function hl() {
4994
4997
  return e;
4995
4998
  }
4996
4999
  const Ar = (e) => Number.isFinite(e) ? e : 0;
4997
- function Ai(e) {
5000
+ function Ii(e) {
4998
5001
  return {
4999
5002
  days: Math.trunc(e / 864e5),
5000
5003
  hours: Math.trunc(e / 36e5 % 24),
@@ -5005,7 +5008,7 @@ function Ai(e) {
5005
5008
  nanoseconds: Math.trunc(Ar(e * 1e6) % 1e3)
5006
5009
  };
5007
5010
  }
5008
- function Ii(e) {
5011
+ function _i(e) {
5009
5012
  return {
5010
5013
  days: e / 86400000n,
5011
5014
  hours: e / 3600000n % 24n,
@@ -5016,20 +5019,20 @@ function Ii(e) {
5016
5019
  nanoseconds: 0n
5017
5020
  };
5018
5021
  }
5019
- function _i(e) {
5022
+ function Ri(e) {
5020
5023
  switch (typeof e) {
5021
5024
  case "number": {
5022
5025
  if (Number.isFinite(e))
5023
- return Ai(e);
5026
+ return Ii(e);
5024
5027
  break;
5025
5028
  }
5026
5029
  case "bigint":
5027
- return Ii(e);
5030
+ return _i(e);
5028
5031
  }
5029
5032
  throw new TypeError("Expected a finite number or bigint");
5030
5033
  }
5031
- const Ri = (e) => e === 0 || e === 0n, Ci = (e, t) => t === 1 || t === 1n ? e : `${e}s`, Oi = 1e-7, ki = 24n * 60n * 60n * 1000n;
5032
- function Ni(e, t) {
5034
+ const Ci = (e) => e === 0 || e === 0n, Oi = (e, t) => t === 1 || t === 1n ? e : `${e}s`, ki = 1e-7, Ni = 24n * 60n * 60n * 1000n;
5035
+ function Pi(e, t) {
5033
5036
  const r = typeof e == "bigint";
5034
5037
  if (!r && !Number.isFinite(e))
5035
5038
  throw new TypeError("Expected a finite number or bigint");
@@ -5038,18 +5041,18 @@ function Ni(e, t) {
5038
5041
  e = e < 0 ? -e : e, t.colonNotation && (t.compact = !1, t.formatSubMilliseconds = !1, t.separateMilliseconds = !1, t.verbose = !1), t.compact && (t.unitCount = 1, t.secondsDecimalDigits = 0, t.millisecondsDecimalDigits = 0);
5039
5042
  let a = [];
5040
5043
  const n = (d, u) => {
5041
- const l = Math.floor(d * 10 ** u + Oi);
5044
+ const l = Math.floor(d * 10 ** u + ki);
5042
5045
  return (Math.round(l) / 10 ** u).toFixed(u);
5043
5046
  }, i = (d, u, l, m) => {
5044
- if (!((a.length === 0 || !t.colonNotation) && Ri(d) && !(t.colonNotation && l === "m"))) {
5047
+ if (!((a.length === 0 || !t.colonNotation) && Ci(d) && !(t.colonNotation && l === "m"))) {
5045
5048
  if (m ??= String(d), t.colonNotation) {
5046
5049
  const p = m.includes(".") ? m.split(".")[0].length : m.length, g = a.length > 0 ? 2 : 1;
5047
5050
  m = "0".repeat(Math.max(0, g - p)) + m;
5048
5051
  } else
5049
- m += t.verbose ? " " + Ci(u, d) : l;
5052
+ m += t.verbose ? " " + Oi(u, d) : l;
5050
5053
  a.push(m);
5051
5054
  }
5052
- }, o = _i(e), c = BigInt(o.days);
5055
+ }, o = Ri(e), c = BigInt(o.days);
5053
5056
  if (t.hideYearAndDays ? i(BigInt(c) * 24n + BigInt(o.hours), "hour", "h") : (t.hideYear ? i(c, "day", "d") : (i(c / 365n, "year", "y"), i(c % 365n, "day", "d")), i(Number(o.hours), "hour", "h")), i(Number(o.minutes), "minute", "m"), !t.hideSeconds)
5054
5057
  if (t.separateMilliseconds || t.formatSubMilliseconds || !t.colonNotation && e < 1e3 && !t.subSecondsAsDecimals) {
5055
5058
  const d = Number(o.seconds), u = Number(o.milliseconds), l = Number(o.microseconds), m = Number(o.nanoseconds);
@@ -5065,7 +5068,7 @@ function Ni(e, t) {
5065
5068
  );
5066
5069
  }
5067
5070
  } else {
5068
- const d = (r ? Number(e % ki) : e) / 1e3 % 60, u = typeof t.secondsDecimalDigits == "number" ? t.secondsDecimalDigits : 1, l = n(d, u), m = t.keepDecimalsOnWholeSeconds ? l : l.replace(/\.0+$/, "");
5071
+ const d = (r ? Number(e % Ni) : e) / 1e3 % 60, u = typeof t.secondsDecimalDigits == "number" ? t.secondsDecimalDigits : 1, l = n(d, u), m = t.keepDecimalsOnWholeSeconds ? l : l.replace(/\.0+$/, "");
5069
5072
  i(Number.parseFloat(m), "second", "s", m);
5070
5073
  }
5071
5074
  if (a.length === 0)
@@ -5081,17 +5084,17 @@ const _s = process.env.NODE_ENV === "production", jt = !_s, Rs = jt ? "gizmette.
5081
5084
  min: a,
5082
5085
  sec: n
5083
5086
  };
5084
- }, Pi = (e) => {
5087
+ }, $i = (e) => {
5085
5088
  if (!e && e !== 0)
5086
5089
  return "N/A";
5087
5090
  const t = Qt(e, !1);
5088
5091
  return `${t.deg}° ${t.min}' ${t.sec}" ${t.dir}`;
5089
- }, $i = (e) => {
5092
+ }, xi = (e) => {
5090
5093
  if (!e && e !== 0)
5091
5094
  return "N/A";
5092
5095
  const t = Qt(e, !0);
5093
5096
  return `${t.deg}° ${t.min}' ${t.sec}" ${t.dir}`;
5094
- }, xi = async () => {
5097
+ }, Mi = async () => {
5095
5098
  const e = {
5096
5099
  /**
5097
5100
  * A boolean value that indicates the application would like to receive the
@@ -5134,18 +5137,18 @@ const _s = process.env.NODE_ENV === "production", jt = !_s, Rs = jt ? "gizmette.
5134
5137
  e
5135
5138
  );
5136
5139
  });
5137
- }, Mi = (e) => window.btoa(
5140
+ }, Di = (e) => window.btoa(
5138
5141
  encodeURIComponent(e).replace(
5139
5142
  /%([0-9A-F]{2})/g,
5140
5143
  function(r, s) {
5141
5144
  return String.fromCharCode(+`0x${s}`);
5142
5145
  }
5143
5146
  )
5144
- ), Di = (e) => decodeURIComponent(
5147
+ ), Li = (e) => decodeURIComponent(
5145
5148
  window.atob(e).split("").map(function(t) {
5146
5149
  return `%${`00${t.charCodeAt(0).toString(16)}`.slice(-2)}`;
5147
5150
  }).join("")
5148
- ), Li = (e, t, r) => t ? Object.keys(t).map((s) => /* @__PURE__ */ h("dl", { className: "my-0", children: /* @__PURE__ */ V("div", { className: "flex items-center justify-between", children: [
5151
+ ), Ui = (e, t, r) => t ? Object.keys(t).map((s) => /* @__PURE__ */ h("dl", { className: "my-0", children: /* @__PURE__ */ V("div", { className: "flex items-center justify-between", children: [
5149
5152
  /* @__PURE__ */ h(
5150
5153
  "dt",
5151
5154
  {
@@ -5167,7 +5170,7 @@ const _s = process.env.NODE_ENV === "production", jt = !_s, Rs = jt ? "gizmette.
5167
5170
  }
5168
5171
  )
5169
5172
  ] }) }, `${e}-${s}`)) : null;
5170
- function Ui({
5173
+ function Fi({
5171
5174
  data: e,
5172
5175
  formatter: t = (r) => r
5173
5176
  }) {
@@ -5179,12 +5182,12 @@ function Ui({
5179
5182
  );
5180
5183
  return t(s ? s / r.length : 0);
5181
5184
  }
5182
- const Fi = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length - 1].message.role === e, Hi = new Intl.NumberFormat("en", {
5185
+ const Hi = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length - 1].message.role === e, Ki = new Intl.NumberFormat("en", {
5183
5186
  style: "decimal",
5184
5187
  signDisplay: "never",
5185
5188
  minimumFractionDigits: 0,
5186
5189
  maximumFractionDigits: 0
5187
- }), Ki = (e) => e > 0 ? Ni(e, {
5190
+ }), Gi = (e) => e > 0 ? Pi(e, {
5188
5191
  secondsDecimalDigits: 2,
5189
5192
  unitCount: 2
5190
5193
  }) : "N/A", Cs = ({
@@ -5204,21 +5207,21 @@ const Fi = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
5204
5207
  "sm:px-5 px-2",
5205
5208
  "transition-all ease-in-out duration-500",
5206
5209
  e
5207
- ), Gi = (e, t) => t === 1 ? e : `${e}s`, Bi = (e, t) => {
5210
+ ), Bi = (e, t) => t === 1 ? e : `${e}s`, qi = (e, t) => {
5208
5211
  let r;
5209
5212
  return (...s) => {
5210
5213
  window.clearTimeout(r), r = window.setTimeout(() => e(...s), t);
5211
5214
  };
5212
- }, ks = () => !!window?.__VERSINI_DIGGIDY_TAURI__, Ns = () => window.innerWidth < 403, Ps = () => window.innerWidth >= 403 && window.innerWidth <= 1220, qi = () => {
5215
+ }, ks = () => !!window?.__VERSINI_DIGGIDY_TAURI__, Ns = () => window.innerWidth < 403, Ps = () => window.innerWidth >= 403 && window.innerWidth <= 1220, Wi = () => {
5213
5216
  const e = ["iPhone Simulator", "iPhone"].includes(navigator.platform) || navigator.userAgent.includes("Mac") && "ontouchend" in document || window.indexedDB !== null, t = /iPhone/.test(navigator.userAgent), r = Ns(), s = navigator.maxTouchPoints > 1;
5214
5217
  return e && t && r && s;
5215
- }, Wi = () => {
5218
+ }, Vi = () => {
5216
5219
  const e = ["iPad Simulator", "iPad"].includes(navigator.platform) || navigator.userAgent.includes("Mac") && "ontouchend" in document || window.indexedDB !== null, t = Ps(), r = navigator.maxTouchPoints > 1;
5217
5220
  return e && t && r;
5218
- }, Vi = () => window.matchMedia("(display-mode: standalone)").matches || window.navigator.standalone === !0, ji = (e) => {
5221
+ }, ji = () => window.matchMedia("(display-mode: standalone)").matches || window.navigator.standalone === !0, Qi = (e) => {
5219
5222
  const t = e.replace(/([A-Z])/g, " $1");
5220
5223
  return t.charAt(0).toUpperCase() + t.slice(1);
5221
- }, Qi = ({
5224
+ }, Ji = ({
5222
5225
  autoClose: e = 3e3,
5223
5226
  containerId: t,
5224
5227
  position: r = "top-center",
@@ -5242,9 +5245,9 @@ const Fi = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
5242
5245
  theme: c,
5243
5246
  transition: f,
5244
5247
  icon: d
5245
- }), Ji = (e, t) => t === "ready" && !!e && e.length > 0, Yi = (e) => {
5248
+ }), Yi = (e, t) => t === "ready" && !!e && e.length > 0, zi = (e) => {
5246
5249
  e ? document.documentElement.setAttribute(Sr, "true") : document.documentElement.removeAttribute(Sr);
5247
- }, fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, DOMAIN: Rs, applyOledMode: Yi, canEvaluateModels: Ji, convertCamelCaseToReadable: ji, convertDDToDMS: Qt, convertLatitudeToDMS: Pi, convertLongitudeToDMS: $i, debounce: Bi, durationFormatter: Ki, extractAverage: Ui, getCurrentGeoLocation: xi, getLayoutPaddingClass: Os, getMessageContaintWrapperClass: Cs, isDev: jt, isLastMessageFromRole: Fi, isPWAMode: Vi, isProbablyMobile: Ns, isProbablyTablet: Ps, isProbablyiPad: Wi, isProbablyiPhone: qi, isProd: _s, isTauri: ks, numberFormatter: Hi, obfuscate: Mi, pluralize: Gi, renderDataAsList: Li, toastOptions: Qi, unObfuscate: Di }, Symbol.toStringTag, { value: "Module" })), Ir = "av-button", ft = "icon", Jt = "button", Lt = "link", zi = ({
5250
+ }, fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, DOMAIN: Rs, applyOledMode: zi, canEvaluateModels: Yi, convertCamelCaseToReadable: Qi, convertDDToDMS: Qt, convertLatitudeToDMS: $i, convertLongitudeToDMS: xi, debounce: qi, durationFormatter: Gi, extractAverage: Fi, getCurrentGeoLocation: Mi, getLayoutPaddingClass: Os, getMessageContaintWrapperClass: Cs, isDev: jt, isLastMessageFromRole: Hi, isPWAMode: ji, isProbablyMobile: Ns, isProbablyTablet: Ps, isProbablyiPad: Vi, isProbablyiPhone: Wi, isProd: _s, isTauri: ks, numberFormatter: Ki, obfuscate: Di, pluralize: Bi, renderDataAsList: Ui, toastOptions: Ji, unObfuscate: Li }, Symbol.toStringTag, { value: "Module" })), Ir = "av-button", ft = "icon", Jt = "button", Lt = "link", Xi = ({
5248
5251
  type: e,
5249
5252
  size: t,
5250
5253
  labelRight: r,
@@ -5280,7 +5283,7 @@ const Fi = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
5280
5283
  "h-12": t === "large" && n && (r || s)
5281
5284
  });
5282
5285
  }
5283
- }, Xi = ({
5286
+ }, Zi = ({
5284
5287
  type: e,
5285
5288
  size: t,
5286
5289
  labelRight: r,
@@ -5303,7 +5306,7 @@ const Fi = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
5303
5306
  [i]: t === "large" && (r || s)
5304
5307
  });
5305
5308
  }
5306
- }, Zi = ({
5309
+ }, eo = ({
5307
5310
  mode: e,
5308
5311
  noBackground: t,
5309
5312
  truncate: r,
@@ -5339,7 +5342,7 @@ const Fi = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
5339
5342
  return y("not-prose text-copy-lighter", {
5340
5343
  truncate: r
5341
5344
  });
5342
- }, eo = ({
5345
+ }, to = ({
5343
5346
  mode: e,
5344
5347
  noBackground: t,
5345
5348
  variant: r
@@ -5369,13 +5372,13 @@ const Fi = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
5369
5372
  if (r === "selected")
5370
5373
  return "bg-action-selected-dark";
5371
5374
  }
5372
- }, to = ({
5375
+ }, ro = ({
5373
5376
  radius: e
5374
5377
  }) => y({
5375
5378
  "rounded-full": e === "large",
5376
5379
  "rounded-md": e === "medium",
5377
5380
  "rounded-xs": e === "small"
5378
- }), ro = ({
5381
+ }), so = ({
5379
5382
  mode: e,
5380
5383
  disabled: t,
5381
5384
  variant: r
@@ -5413,7 +5416,7 @@ const Fi = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
5413
5416
  });
5414
5417
  if (r === "selected")
5415
5418
  return "hover:text-copy-light-hover hover:bg-action-selected-dark-hover";
5416
- }, so = ({
5419
+ }, ao = ({
5417
5420
  mode: e,
5418
5421
  disabled: t,
5419
5422
  variant: r
@@ -5451,7 +5454,7 @@ const Fi = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
5451
5454
  });
5452
5455
  if (r === "selected")
5453
5456
  return "active:text-copy-lighter-active active:bg-action-selected-dark-active";
5454
- }, ao = ({
5457
+ }, no = ({
5455
5458
  mode: e,
5456
5459
  noBorder: t,
5457
5460
  variant: r
@@ -5481,14 +5484,14 @@ const Fi = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
5481
5484
  });
5482
5485
  if (r === "selected")
5483
5486
  return "border border-border-selected-dark";
5484
- }, no = ({
5487
+ }, io = ({
5485
5488
  focusMode: e
5486
5489
  }) => y("focus:outline", "focus:outline-2", "focus:outline-offset-2", {
5487
5490
  "focus:outline-focus-dark": e === "dark",
5488
5491
  "focus:outline-focus-light": e === "light",
5489
5492
  "focus:outline-focus-light dark:focus:outline-focus-dark": e === "alt-system",
5490
5493
  "focus:outline-focus-dark dark:focus:outline-focus-light": e === "system"
5491
- }), io = ({
5494
+ }), oo = ({
5492
5495
  mode: e,
5493
5496
  raw: t,
5494
5497
  iconClassName: r,
@@ -5515,7 +5518,7 @@ const Fi = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
5515
5518
  } : s === "selected" && (a = {
5516
5519
  "text-copy-lighter": !0
5517
5520
  }), y(a, r);
5518
- }, oo = ({
5521
+ }, co = ({
5519
5522
  animated: e
5520
5523
  }) => y({
5521
5524
  "transition-opacity duration-300 ease-in-out": e
@@ -5539,15 +5542,15 @@ const Fi = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
5539
5542
  animated: b
5540
5543
  }) => (l || (l = "primary"), r ? y(Ir, t) : y(
5541
5544
  Ir,
5542
- Zi({
5545
+ eo({
5543
5546
  mode: s,
5544
5547
  variant: l,
5545
5548
  noBackground: u,
5546
5549
  truncate: m
5547
5550
  }),
5548
- eo({ mode: s, noBackground: u, variant: l }),
5549
- to({ radius: g }),
5550
- zi({
5551
+ to({ mode: s, noBackground: u, variant: l }),
5552
+ ro({ radius: g }),
5553
+ Xi({
5551
5554
  type: e,
5552
5555
  size: o,
5553
5556
  labelRight: f,
@@ -5555,11 +5558,11 @@ const Fi = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
5555
5558
  align: p,
5556
5559
  animated: b
5557
5560
  }),
5558
- Xi({ type: e, size: o, labelRight: f, labelLeft: d }),
5559
- ao({ mode: s, variant: l, noBorder: c }),
5560
- no({ focusMode: a }),
5561
- ro({ mode: s, variant: l, disabled: n }),
5561
+ Zi({ type: e, size: o, labelRight: f, labelLeft: d }),
5562
+ no({ mode: s, variant: l, noBorder: c }),
5563
+ io({ focusMode: a }),
5562
5564
  so({ mode: s, variant: l, disabled: n }),
5565
+ ao({ mode: s, variant: l, disabled: n }),
5563
5566
  {
5564
5567
  "w-full": i,
5565
5568
  "disabled:cursor-not-allowed disabled:opacity-50": n
@@ -5568,7 +5571,7 @@ const Fi = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
5568
5571
  "transition-[width] duration-300 ease-in": e === ft && b
5569
5572
  }),
5570
5573
  t
5571
- )), co = (e, t, r) => {
5574
+ )), lo = (e, t, r) => {
5572
5575
  !t && (!document.activeElement || document.activeElement !== e.currentTarget) && typeof e?.currentTarget?.focus == "function" && e.currentTarget.focus(), typeof r == "function" && r(e);
5573
5576
  }, Yt = oe.forwardRef((e, t) => {
5574
5577
  const { onClick: r, noInternalClick: s = !1, ...a } = e;
@@ -5577,7 +5580,7 @@ const Fi = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
5577
5580
  {
5578
5581
  ref: t,
5579
5582
  onClick: (n) => {
5580
- co(n, s, r);
5583
+ lo(n, s, r);
5581
5584
  },
5582
5585
  ...a
5583
5586
  }
@@ -5627,7 +5630,7 @@ const xs = oe.forwardRef(
5627
5630
  }
5628
5631
  );
5629
5632
  xs.displayName = "Button";
5630
- function lo() {
5633
+ function uo() {
5631
5634
  const e = j(!1);
5632
5635
  return W(() => (e.current = !0, () => {
5633
5636
  e.current = !1;
@@ -5641,7 +5644,7 @@ function Ms(e) {
5641
5644
  });
5642
5645
  }, [...e]);
5643
5646
  }
5644
- const uo = {
5647
+ const ho = {
5645
5648
  x: 0,
5646
5649
  y: 0,
5647
5650
  width: 0,
@@ -5652,7 +5655,7 @@ const uo = {
5652
5655
  right: 0
5653
5656
  };
5654
5657
  function Je(e) {
5655
- const t = lo(), r = j(0), s = j(null), [a, n] = ie(uo), i = ze(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((o) => {
5658
+ const t = uo(), r = j(0), s = j(null), [a, n] = ie(ho), i = ze(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((o) => {
5656
5659
  const c = o[0];
5657
5660
  c && (cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
5658
5661
  s.current && t() && n(c.contentRect);
@@ -5680,14 +5683,14 @@ const Ve = {
5680
5683
  // w-8
5681
5684
  large: 48
5682
5685
  // w-12
5683
- }, ho = {
5686
+ }, fo = {
5684
5687
  small: 16,
5685
5688
  // px-2 x 2
5686
5689
  medium: 24,
5687
5690
  // px-3 x 2
5688
5691
  large: 32
5689
5692
  // px-4 x 2
5690
- }, fo = 2, mo = 300, it = oe.forwardRef(
5693
+ }, mo = 2, po = 300, it = oe.forwardRef(
5691
5694
  ({
5692
5695
  children: e,
5693
5696
  disabled: t = !1,
@@ -5728,15 +5731,15 @@ const Ve = {
5728
5731
  radius: b,
5729
5732
  variant: E,
5730
5733
  animated: A
5731
- }), C = io({ mode: r, raw: o, iconClassName: O, variant: E }), v = oo({ animated: A }), x = "flex items-center justify-center relative w-full h-full overflow-hidden", [_, I] = Je(), [N, J] = Je(), [ce, Se] = Je(), w = j(0), T = j(null), S = j(null), le = Ms([R, T]);
5734
+ }), C = oo({ mode: r, raw: o, iconClassName: O, variant: E }), v = co({ animated: A }), x = "flex items-center justify-center relative w-full h-full overflow-hidden", [_, I] = Je(), [N, J] = Je(), [ce, Se] = Je(), w = j(0), T = j(null), S = j(null), le = Ms([R, T]);
5732
5735
  return Xe(() => {
5733
- ce && ce.current && A && (w.current = Se.width + ho[u] + (c ? 0 : fo), T.current && !T.current.style.width && (T.current.style.width = `${Ve[u]}px`));
5736
+ ce && ce.current && A && (w.current = Se.width + fo[u] + (c ? 0 : mo), T.current && !T.current.style.width && (T.current.style.width = `${Ve[u]}px`));
5734
5737
  }, [Se, ce, u, c, A]), Xe(() => {
5735
5738
  if (T && T.current && A) {
5736
5739
  let ue = Ve[u];
5737
5740
  l && _ && I.width > 0 ? ue = I.width + w.current : m && N && J.width > 0 && (ue = J.width + w.current), S.current && clearTimeout(S.current), ue !== parseInt(T.current.style.width || "0", 10) && (_.current && (_.current.style.opacity = "0"), N.current && (N.current.style.opacity = "0"), T.current.style.width = `${ue}px`, ue > Ve[u] && (S.current = setTimeout(() => {
5738
5741
  _.current && l && (_.current.style.opacity = "1"), N.current && m && (N.current.style.opacity = "1"), S.current = null;
5739
- }, mo * 0.8))), ue === Ve[u] && (_.current && (_.current.style.opacity = "0"), N.current && (N.current.style.opacity = "0"));
5742
+ }, po * 0.8))), ue === Ve[u] && (_.current && (_.current.style.opacity = "0"), N.current && (N.current.style.opacity = "0"));
5740
5743
  }
5741
5744
  }, [
5742
5745
  I,
@@ -5813,7 +5816,7 @@ try {
5813
5816
  });
5814
5817
  } catch {
5815
5818
  }
5816
- const po = oe.forwardRef(
5819
+ const yo = oe.forwardRef(
5817
5820
  ({
5818
5821
  children: e,
5819
5822
  mode: t = "system",
@@ -5853,8 +5856,8 @@ const po = oe.forwardRef(
5853
5856
  ) });
5854
5857
  }
5855
5858
  );
5856
- po.displayName = "ButtonSort";
5857
- const Ye = "av-card", yo = ({
5859
+ yo.displayName = "ButtonSort";
5860
+ const Ye = "av-card", go = ({
5858
5861
  className: e,
5859
5862
  headerClassName: t,
5860
5863
  bodyClassName: r,
@@ -5894,7 +5897,7 @@ const Ye = "av-card", yo = ({
5894
5897
  footer: d
5895
5898
  };
5896
5899
  };
5897
- function go({
5900
+ function bo({
5898
5901
  id: e,
5899
5902
  content: t,
5900
5903
  userAriaLabelledby: r,
@@ -5902,7 +5905,7 @@ function go({
5902
5905
  }) {
5903
5906
  return typeof t == "string" ? /* @__PURE__ */ h("h2", { id: e, className: s, children: t }) : r ? /* @__PURE__ */ h("div", { className: s, children: t }) : t ? /* @__PURE__ */ h("div", { className: s, id: e, children: t }) : null;
5904
5907
  }
5905
- const bo = ({
5908
+ const Eo = ({
5906
5909
  header: e,
5907
5910
  headerClassName: t,
5908
5911
  footer: r,
@@ -5917,7 +5920,7 @@ const bo = ({
5917
5920
  ...u
5918
5921
  }) => {
5919
5922
  let l = null, m = null;
5920
- const p = typeof e == "string", g = Ds(Ye), b = yo({
5923
+ const p = typeof e == "string", g = Ds(Ye), b = go({
5921
5924
  className: n,
5922
5925
  headerClassName: t,
5923
5926
  bodyClassName: i,
@@ -5936,7 +5939,7 @@ const bo = ({
5936
5939
  ...u,
5937
5940
  children: [
5938
5941
  /* @__PURE__ */ h(
5939
- go,
5942
+ bo,
5940
5943
  {
5941
5944
  ...l && { id: l },
5942
5945
  content: e,
@@ -6006,7 +6009,7 @@ try {
6006
6009
  });
6007
6010
  } catch {
6008
6011
  }
6009
- const Eo = ({
6012
+ const wo = ({
6010
6013
  className: e,
6011
6014
  viewBox: t,
6012
6015
  title: r,
@@ -6023,7 +6026,7 @@ const Eo = ({
6023
6026
  ...a,
6024
6027
  children: /* @__PURE__ */ h("path", { d: "M927.943 30.81c0-2.381-1.191-5.954-3.573-7.145-7.146-4.763-19.055-1.19-26.2 0-17.864 2.382-34.537 4.764-53.592 4.764-26.2 0-53.591-1.19-79.791-4.764-23.819-3.572-44.064-10.718-69.074-3.572-35.727 9.527-58.355 38.109-57.164 75.028 1.191 21.436-2.382 38.109-9.527 57.164-7.146 17.864-15.482 20.245-32.155 20.245-115.52 0-229.848-1.19-345.367 0h-63.119c-29.773 0-59.546 5.955-89.319 0-21.436-4.763-42.873-15.482-58.355-30.964-3.573-3.572-10.718-14.29-14.29-14.29-4.765 1.19-4.765 15.481-4.765 19.054 0 15.482 5.955 30.964 5.955 46.446s-7.145 28.582-11.91 42.873c-4.763 16.673-4.763 33.346-2.381 50.019 4.764 27.39 9.527 55.973 11.91 84.555 2.381 25.01 2.381 48.828 4.763 73.837 2.382 20.246 3.573 29.773 29.773 33.346 30.964 4.764 30.964-5.955 38.11-26.2 9.527-25.01 17.863-51.21 27.39-76.22 8.337-19.054 15.482-60.736 67.883-40.49 28.582 10.718 58.355 16.672 88.128 25.009 32.155 8.336 65.5 16.673 97.655 22.627 65.501 13.1 132.193 20.246 200.075 23.819 7.146 0 11.91 0 16.673 5.954 17.864 22.628-3.573 63.119 41.682 70.265 40.491 5.954 40.491-22.628 45.255-47.637 2.382-14.291 4.764-27.391 8.337-40.492 1.19-5.954 5.954-11.909 10.718-15.481 55.973-33.346 88.128-98.847 78.6-164.347-1.19-10.719-4.763-21.437-3.572-33.346 2.382-23.819 32.155-33.346 50.018-42.873 22.628-13.1 47.637-25.01 66.692-42.873 13.1-11.91 23.818-27.392 29.773-44.064 3.573-5.955 5.955-14.292 4.764-20.246M737.395 190.395c-2.381 25.01-13.1 36.919-35.727 41.682-40.491 8.337-66.692-19.054-54.783-58.355 8.337-26.2 17.864-51.21 29.773-75.028 11.91-23.818 22.628-23.818 36.919-1.19 17.864 28.581 27.391 59.545 23.818 92.891m38.11-109.564c-7.146 0-13.1-5.955-13.1-13.1 0-7.146 5.954-13.1 13.1-13.1 7.145 0 13.1 5.954 13.1 13.1 0 7.145-5.955 13.1-13.1 13.1" })
6025
6028
  }
6026
- ), wo = ({
6029
+ ), So = ({
6027
6030
  className: e,
6028
6031
  viewBox: t,
6029
6032
  title: r,
@@ -6049,7 +6052,7 @@ const Eo = ({
6049
6052
  /* @__PURE__ */ h("path", { d: "M5.1 9.2C13.3-1.2 28.4-3.1 38.8 5.1l592 464c10.4 8.2 12.3 23.3 4.1 33.7s-23.3 12.3-33.7 4.1l-592-464C-1.2 34.7-3.1 19.6 5.1 9.2" })
6050
6053
  ]
6051
6054
  }
6052
- ), So = ({
6055
+ ), vo = ({
6053
6056
  className: e,
6054
6057
  viewBox: t,
6055
6058
  title: r,
@@ -6085,7 +6088,7 @@ const Eo = ({
6085
6088
  ]
6086
6089
  }
6087
6090
  );
6088
- }, vo = ({
6091
+ }, To = ({
6089
6092
  className: e,
6090
6093
  viewBox: t,
6091
6094
  title: r,
@@ -6125,10 +6128,10 @@ try {
6125
6128
  });
6126
6129
  } catch {
6127
6130
  }
6128
- const To = "av-flexgrid", je = "av-flexgrid-item", ot = 0.25, Ut = oe.createContext({
6131
+ const Ao = "av-flexgrid", je = "av-flexgrid-item", ot = 0.25, Ut = oe.createContext({
6129
6132
  columnGap: 0,
6130
6133
  rowGap: 0
6131
- }), Ao = ({
6134
+ }), Io = ({
6132
6135
  children: e,
6133
6136
  className: t,
6134
6137
  columnGap: r = 1,
@@ -6154,7 +6157,7 @@ const To = "av-flexgrid", je = "av-flexgrid-item", ot = 0.25, Ut = oe.createCont
6154
6157
  marginLeft: r * -1 * ot + "rem",
6155
6158
  marginTop: s * -1 * ot + "rem"
6156
6159
  }, u = y(
6157
- To,
6160
+ Ao,
6158
6161
  "box-border flex flex-wrap"
6159
6162
  ), l = { columnGap: r, rowGap: s };
6160
6163
  return t ? /* @__PURE__ */ h("div", { className: t, children: /* @__PURE__ */ h("div", { className: u, style: d, ...f, children: /* @__PURE__ */ h(Ut.Provider, { value: l, children: e }) }) }) : /* @__PURE__ */ h("div", { className: u, style: d, ...f, children: /* @__PURE__ */ h(Ut.Provider, { value: l, children: e }) });
@@ -6231,7 +6234,7 @@ const To = "av-flexgrid", je = "av-flexgrid-item", ot = 0.25, Ut = oe.createCont
6231
6234
  "lg:basis-full": e === 12 && t === "lg",
6232
6235
  "xl:basis-full": e === 12 && t === "xl",
6233
6236
  "2xl:basis-full": e === 12 && t === "2xl"
6234
- }), Io = ({
6237
+ }), _o = ({
6235
6238
  className: e,
6236
6239
  span: t
6237
6240
  }) => {
@@ -6263,7 +6266,7 @@ const To = "av-flexgrid", je = "av-flexgrid-item", ot = 0.25, Ut = oe.createCont
6263
6266
  const { columnGap: a, rowGap: n } = ct(Ut), i = {
6264
6267
  paddingLeft: a * ot + "rem",
6265
6268
  paddingTop: n * ot + "rem"
6266
- }, o = Io({
6269
+ }, o = _o({
6267
6270
  className: t,
6268
6271
  span: r
6269
6272
  });
@@ -6282,7 +6285,7 @@ try {
6282
6285
  });
6283
6286
  } catch {
6284
6287
  }
6285
- const Ls = "SET_ANNOUNCEMENT", Us = "CLEAR_ANNOUNCEMENT", _o = {
6288
+ const Ls = "SET_ANNOUNCEMENT", Us = "CLEAR_ANNOUNCEMENT", Ro = {
6286
6289
  alert: null,
6287
6290
  alertdialog: null,
6288
6291
  log: "polite",
@@ -6290,7 +6293,7 @@ const Ls = "SET_ANNOUNCEMENT", Us = "CLEAR_ANNOUNCEMENT", _o = {
6290
6293
  progressbar: null,
6291
6294
  status: "polite",
6292
6295
  timer: "assertive"
6293
- }, Ro = (e, t) => {
6296
+ }, Co = (e, t) => {
6294
6297
  switch (t?.type) {
6295
6298
  case Ls:
6296
6299
  return {
@@ -6305,7 +6308,7 @@ const Ls = "SET_ANNOUNCEMENT", Us = "CLEAR_ANNOUNCEMENT", _o = {
6305
6308
  default:
6306
6309
  return e;
6307
6310
  }
6308
- }, Co = ({
6311
+ }, Oo = ({
6309
6312
  onAnnouncementClear: e,
6310
6313
  dispatch: t
6311
6314
  }) => {
@@ -6323,13 +6326,13 @@ const Ls = "SET_ANNOUNCEMENT", Us = "CLEAR_ANNOUNCEMENT", _o = {
6323
6326
  type: Ls,
6324
6327
  payload: e
6325
6328
  }), t && (r.current = setTimeout(
6326
- () => Co({
6329
+ () => Oo({
6327
6330
  onAnnouncementClear: s,
6328
6331
  dispatch: a
6329
6332
  }),
6330
6333
  t
6331
6334
  ));
6332
- }, Oo = ({
6335
+ }, ko = ({
6333
6336
  children: e,
6334
6337
  announcementTimeoutRef: t,
6335
6338
  announcementDelay: r,
@@ -6363,12 +6366,12 @@ function Fs({
6363
6366
  visible: o,
6364
6367
  ...c
6365
6368
  }) {
6366
- const f = j(null), d = j(null), [u, l] = Nr(Ro, {
6369
+ const f = j(null), d = j(null), [u, l] = Nr(Co, {
6367
6370
  announcement: null
6368
6371
  });
6369
6372
  let m = r;
6370
- typeof m > "u" && (m = s ? _o[s] : "assertive"), W(() => {
6371
- Oo({
6373
+ typeof m > "u" && (m = s ? Ro[s] : "assertive"), W(() => {
6374
+ ko({
6372
6375
  announcementTimeoutRef: f,
6373
6376
  announcementDelay: a,
6374
6377
  children: e,
@@ -6410,21 +6413,21 @@ try {
6410
6413
  });
6411
6414
  } catch {
6412
6415
  }
6413
- const Hs = "av-text-input", ko = "av-text-input-wrapper", Rt = "av-text-input-helper-text", No = ({
6416
+ const Hs = "av-text-input", No = "av-text-input-wrapper", Rt = "av-text-input-helper-text", Po = ({
6414
6417
  mode: e
6415
6418
  }) => y({
6416
6419
  "bg-surface-darker text-copy-lighter caret-copy-light": e === "dark",
6417
6420
  "bg-surface-lighter text-copy-dark caret-copy-dark": e === "light",
6418
6421
  "bg-surface-lighter text-copy-dark caret-copy-dark dark:bg-surface-darker dark:text-copy-lighter dark:caret-copy-light": e === "system",
6419
6422
  "bg-surface-darker text-copy-lighter caret-copy-light dark:bg-surface-lighter dark:text-copy-dark dark:caret-copy-dark": e === "alt-system"
6420
- }), Po = ({
6423
+ }), $o = ({
6421
6424
  focusMode: e
6422
6425
  }) => y("focus:outline focus:outline-2 focus:outline-offset-2", {
6423
6426
  "focus:outline-focus-dark": e === "dark",
6424
6427
  "focus:outline-focus-light": e === "light",
6425
6428
  "focus:outline-focus-light dark:focus:outline-focus-dark": e === "alt-system",
6426
6429
  "focus:outline-focus-dark dark:focus:outline-focus-light": e === "system"
6427
- }), $o = ({
6430
+ }), xo = ({
6428
6431
  noBorder: e,
6429
6432
  error: t
6430
6433
  }) => y("border-2", {
@@ -6432,7 +6435,7 @@ const Hs = "av-text-input", ko = "av-text-input-wrapper", Rt = "av-text-input-he
6432
6435
  "focus:border-border-dark": !e && t,
6433
6436
  "border-border-error-dark": !e && t,
6434
6437
  "border-transparent": e
6435
- }), xo = ({
6438
+ }), Mo = ({
6436
6439
  disabled: e,
6437
6440
  raw: t,
6438
6441
  error: r,
@@ -6456,7 +6459,7 @@ const Hs = "av-text-input", ko = "av-text-input-wrapper", Rt = "av-text-input-he
6456
6459
  "text-copy-error-dark dark:text-copy-error-light dark:bg-surface-darker": s === "system",
6457
6460
  "text-copy-lighter dark:text-copy-error-dark": s === "alt-system"
6458
6461
  });
6459
- }, Mo = ({
6462
+ }, Do = ({
6460
6463
  error: e,
6461
6464
  raw: t,
6462
6465
  mode: r,
@@ -6483,7 +6486,7 @@ const Hs = "av-text-input", ko = "av-text-input-wrapper", Rt = "av-text-input-he
6483
6486
  "text-copy-error-dark dark:text-copy-error-light dark:bg-surface-darker": r === "system",
6484
6487
  "dark:text-copy-error-dark text-copy-error-light bg-surface-darker": r === "alt-system"
6485
6488
  });
6486
- }, Do = ({
6489
+ }, Lo = ({
6487
6490
  className: e,
6488
6491
  inputClassName: t,
6489
6492
  raw: r,
@@ -6497,7 +6500,7 @@ const Hs = "av-text-input", ko = "av-text-input-wrapper", Rt = "av-text-input-he
6497
6500
  }) => {
6498
6501
  const d = r ? e : y(
6499
6502
  "relative flex w-full flex-col justify-center",
6500
- ko,
6503
+ No,
6501
6504
  e
6502
6505
  );
6503
6506
  let u = "";
@@ -6522,19 +6525,19 @@ const Hs = "av-text-input", ko = "av-text-input-wrapper", Rt = "av-text-input-he
6522
6525
  Hs,
6523
6526
  u,
6524
6527
  "rounded-md text-base px-4",
6525
- No({ mode: i }),
6526
- Po({ focusMode: o }),
6527
- $o({ noBorder: a, error: n }),
6528
+ Po({ mode: i }),
6529
+ $o({ focusMode: o }),
6530
+ xo({ noBorder: a, error: n }),
6528
6531
  {
6529
6532
  "disabled:cursor-not-allowed disabled:opacity-50": s
6530
6533
  },
6531
6534
  t
6532
- ), m = r ? void 0 : "sr-only", p = xo({
6535
+ ), m = r ? void 0 : "sr-only", p = Mo({
6533
6536
  disabled: s,
6534
6537
  raw: r,
6535
6538
  error: n,
6536
6539
  mode: i
6537
- }), g = Mo({
6540
+ }), g = Do({
6538
6541
  error: n,
6539
6542
  raw: r,
6540
6543
  mode: i,
@@ -6576,7 +6579,7 @@ const Hs = "av-text-input", ko = "av-text-input-wrapper", Rt = "av-text-input-he
6576
6579
  md: { label: "-33px", helperText: "38px" },
6577
6580
  lg: { label: "-15px", helperText: "22px" },
6578
6581
  xl: { label: "-19px", helperText: "25px" }
6579
- }, J = Do({
6582
+ }, J = Lo({
6580
6583
  className: n,
6581
6584
  inputClassName: i,
6582
6585
  error: s,
@@ -6654,7 +6657,7 @@ const Hs = "av-text-input", ko = "av-text-input-wrapper", Rt = "av-text-input-he
6654
6657
  }
6655
6658
  );
6656
6659
  zt.displayName = "TextInput";
6657
- const Lo = 500, Uo = 5e3, Fo = 2e4, Ks = oe.forwardRef(
6660
+ const Uo = 500, Fo = 5e3, Ho = 2e4, Ks = oe.forwardRef(
6658
6661
  ({
6659
6662
  name: e,
6660
6663
  disabled: t,
@@ -6674,16 +6677,16 @@ const Lo = 500, Uo = 5e3, Fo = 2e4, Ks = oe.forwardRef(
6674
6677
  }), b = j(!0), E = j(null), O = j(null), A = Ms([u, O]), K = l ? "Show" : "Hide", R = () => {
6675
6678
  E.current && clearTimeout(E.current), b.current || (E.current = setTimeout(() => {
6676
6679
  b.current = !0, m(!0), g({
6677
- announcementTimeout: Uo,
6680
+ announcementTimeout: Fo,
6678
6681
  politeness: "polite",
6679
6682
  message: `${r} hiding characters`
6680
6683
  }), a && a(!0);
6681
- }, Fo));
6684
+ }, Ho));
6682
6685
  }, z = (I) => {
6683
6686
  I.preventDefault();
6684
6687
  const N = !b.current;
6685
6688
  b.current = N, R(), m(N), g({
6686
- announcementTimeout: Lo,
6689
+ announcementTimeout: Uo,
6687
6690
  politeness: "assertive",
6688
6691
  message: N ? "Characters hidden" : "Characters showing"
6689
6692
  }), a && a(N);
@@ -6748,7 +6751,7 @@ try {
6748
6751
  });
6749
6752
  } catch {
6750
6753
  }
6751
- const Ho = "ASK! ME! ANYTHING!", Ko = "Log in with a password", Go = "Log in with a Passkey", ml = "Log out", Bo = "Password", pl = "Usage", yl = "Profile", gl = "Settings", bl = "Chat history", El = "About", Xt = "Type your message here.", wl = Xt, Sl = `${Xt}
6754
+ const Ko = "ASK! ME! ANYTHING!", Go = "Log in with a password", Bo = "Log in with a Passkey", ml = "Log out", qo = "Password", pl = "Usage", yl = "Profile", gl = "Settings", bl = "Chat history", El = "About", Xt = "Type your message here.", wl = Xt, Sl = `${Xt}
6752
6755
  Press Enter to send it or Shift+Enter for new line.`, vl = `${Xt}
6753
6756
  Press Ctrl+Enter to send it or Enter for new line.`, Tl = "{{clipboard}}", P = "Review important details.", Al = [
6754
6757
  `Sometimes, ${k} just makes stuff up. ${P}`,
@@ -6831,7 +6834,7 @@ Press Ctrl+Enter to send it or Enter for new line.`, Tl = "{{clipboard}}", P = "
6831
6834
  SEND_ON_ENTER: "The following option allows you to choose whether you want to send a message when you press Enter or if you want to use Ctrl+Enter (Cmd+Enter on Mac). If you choose to send a message on Enter, you will need use Shift+Enter to insert a new line.",
6832
6835
  USE_MEMORY: "The following option allows you to choose whether you want to enable memory for your chats. When enabled, Diggidy will remember your previous interactions and use them to provide more relevant responses."
6833
6836
  }
6834
- }, qo = ({
6837
+ }, Wo = ({
6835
6838
  className: e,
6836
6839
  isCapabilitiesSuccess: t,
6837
6840
  capabilities: r
@@ -6843,7 +6846,7 @@ Press Ctrl+Enter to send it or Enter for new line.`, Tl = "{{clipboard}}", P = "
6843
6846
  "flex items-center justify-center text-slate-300"
6844
6847
  ),
6845
6848
  children: [
6846
- /* @__PURE__ */ h("div", { className: "basis-1/4", children: /* @__PURE__ */ h(Eo, {}) }),
6849
+ /* @__PURE__ */ h("div", { className: "basis-1/4", children: /* @__PURE__ */ h(wo, {}) }),
6847
6850
  /* @__PURE__ */ V("div", { className: "prose prose-sm prose-light md:prose-base prose-h1:mb-0 prose-h2:mt-0", children: [
6848
6851
  /* @__PURE__ */ h("h1", { children: k }),
6849
6852
  /* @__PURE__ */ h(
@@ -6852,13 +6855,13 @@ Press Ctrl+Enter to send it or Enter for new line.`, Tl = "{{clipboard}}", P = "
6852
6855
  className: y({
6853
6856
  "text-red-500": t && r?.runningMode === "development"
6854
6857
  }),
6855
- children: Ho
6858
+ children: Ko
6856
6859
  }
6857
6860
  )
6858
6861
  ] })
6859
6862
  ]
6860
6863
  }
6861
- ), Wo = () => {
6864
+ ), Vo = () => {
6862
6865
  const { login: e, logoutReason: t, loginWithPasskey: r } = ls(), [s, a] = ie(""), [n, i] = ie(""), [o, c] = ie(!0), [f, d] = ie({
6863
6866
  username: "",
6864
6867
  password: ""
@@ -6878,10 +6881,10 @@ Press Ctrl+Enter to send it or Enter for new line.`, Tl = "{{clipboard}}", P = "
6878
6881
  className: Cs({
6879
6882
  extraClass: "rounded-md pb-10"
6880
6883
  }),
6881
- children: /* @__PURE__ */ h(qo, {})
6884
+ children: /* @__PURE__ */ h(Wo, {})
6882
6885
  }
6883
6886
  ),
6884
- /* @__PURE__ */ h("form", { className: "mt-5", onSubmit: u, children: /* @__PURE__ */ h(Ao, { alignHorizontal: "center", children: /* @__PURE__ */ h(ye, { span: 6, children: /* @__PURE__ */ V(bo, { mode: "dark", children: [
6887
+ /* @__PURE__ */ h("form", { className: "mt-5", onSubmit: u, children: /* @__PURE__ */ h(Io, { alignHorizontal: "center", children: /* @__PURE__ */ h(ye, { span: 6, children: /* @__PURE__ */ V(Eo, { mode: "dark", children: [
6885
6888
  /* @__PURE__ */ h(ye, { span: 12, className: "mt-7", children: n && /* @__PURE__ */ h("div", { className: "p-2 text-sm text-center text-copy-error-light bg-surface-darker", children: n }) }),
6886
6889
  /* @__PURE__ */ h(ye, { span: 12, children: /* @__PURE__ */ h(
6887
6890
  zt,
@@ -6915,14 +6918,14 @@ Press Ctrl+Enter to send it or Enter for new line.`, Tl = "{{clipboard}}", P = "
6915
6918
  mode: "dark",
6916
6919
  focusMode: "light",
6917
6920
  name: "password",
6918
- label: Bo,
6921
+ label: qo,
6919
6922
  rightElement: /* @__PURE__ */ h(
6920
6923
  it,
6921
6924
  {
6922
6925
  focusMode: "light",
6923
6926
  mode: "dark",
6924
6927
  label: o ? "Show" : "Hide",
6925
- children: o ? /* @__PURE__ */ h(vo, {}) : /* @__PURE__ */ h(wo, {})
6928
+ children: o ? /* @__PURE__ */ h(To, {}) : /* @__PURE__ */ h(So, {})
6926
6929
  }
6927
6930
  ),
6928
6931
  onMaskChange: c,
@@ -6945,7 +6948,7 @@ Press Ctrl+Enter to send it or Enter for new line.`, Tl = "{{clipboard}}", P = "
6945
6948
  noBorder: !0,
6946
6949
  type: "submit",
6947
6950
  className: "mt-7",
6948
- children: Ko
6951
+ children: Go
6949
6952
  }
6950
6953
  ) }),
6951
6954
  !ks() && /* @__PURE__ */ V(kr, { children: [
@@ -6958,31 +6961,31 @@ Press Ctrl+Enter to send it or Enter for new line.`, Tl = "{{clipboard}}", P = "
6958
6961
  focusMode: "light",
6959
6962
  fullWidth: !0,
6960
6963
  className: "mb-4",
6961
- labelRight: Go,
6964
+ labelRight: Bo,
6962
6965
  onClick: r,
6963
- children: /* @__PURE__ */ h(So, { size: "size-7" })
6966
+ children: /* @__PURE__ */ h(vo, { size: "size-7" })
6964
6967
  }
6965
6968
  ) })
6966
6969
  ] })
6967
6970
  ] }) }) }) })
6968
6971
  ] });
6969
- }, Vo = new URL(document.location.href).searchParams, Cr = !!Vo.get("debug") || !1, jo = Ws(() => import(
6972
+ }, jo = new URL(document.location.href).searchParams, Cr = !!jo.get("debug") || !1, Qo = Ws(() => import(
6970
6973
  /* webpackChunkName: "LazyApp" */
6971
- "./App.Ck78giBC.js"
6972
- ).then((e) => e.App)), Qo = new ma(), Or = ({
6974
+ "./App.DcQF9Hq9.js"
6975
+ ).then((e) => e.App)), Jo = new ma(), Or = ({
6973
6976
  isComponent: e,
6974
6977
  headerHeight: t
6975
6978
  }) => {
6976
6979
  const { isAuthenticated: r, isLoading: s, user: a, getAccessToken: n } = ls();
6977
- return s ? /* @__PURE__ */ h("div", {}) : r ? /* @__PURE__ */ h(qs, { fallback: /* @__PURE__ */ h("div", {}), children: /* @__PURE__ */ h(pa, { client: Qo, children: /* @__PURE__ */ h(
6978
- Ti,
6980
+ return s ? /* @__PURE__ */ h("div", {}) : r ? /* @__PURE__ */ h(qs, { fallback: /* @__PURE__ */ h("div", {}), children: /* @__PURE__ */ h(pa, { client: Jo, children: /* @__PURE__ */ h(
6981
+ Ai,
6979
6982
  {
6980
6983
  user: a?.username,
6981
6984
  getAccessToken: n,
6982
- children: /* @__PURE__ */ h(jo, { isComponent: e, headerHeight: t })
6985
+ children: /* @__PURE__ */ h(Qo, { isComponent: e, headerHeight: t })
6983
6986
  }
6984
- ) }) }) : /* @__PURE__ */ h(Wo, {});
6985
- }, Jo = ({
6987
+ ) }) }) : /* @__PURE__ */ h(Vo, {});
6988
+ }, Yo = ({
6986
6989
  isComponent: e = !1,
6987
6990
  headerHeight: t = 0,
6988
6991
  domain: r = Rs
@@ -7000,7 +7003,7 @@ Press Ctrl+Enter to send it or Enter for new line.`, Tl = "{{clipboard}}", P = "
7000
7003
  children: /* @__PURE__ */ h(Or, { isComponent: e, headerHeight: t })
7001
7004
  }
7002
7005
  ) : /* @__PURE__ */ h(wr, { clientId: vr, domain: r, debug: Cr, children: /* @__PURE__ */ h(Or, { isComponent: e, headerHeight: t }) })), Ml = ({ domain: e, headerHeight: t }) => /* @__PURE__ */ h(
7003
- Jo,
7006
+ Yo,
7004
7007
  {
7005
7008
  isComponent: !0,
7006
7009
  domain: e,
@@ -7008,22 +7011,22 @@ Press Ctrl+Enter to send it or Enter for new line.`, Tl = "{{clipboard}}", P = "
7008
7011
  }
7009
7012
  );
7010
7013
  export {
7014
+ k as $,
7011
7015
  El as ABOUT_TITLE,
7012
7016
  dc as ACTION_RESET_PROMPT,
7013
7017
  cc as ACTION_SEARCH,
7014
7018
  lc as ACTION_SORT,
7015
7019
  uc as ACTION_TOGGLE_PROMPT,
7016
7020
  Nl as APP_CLASSNAME,
7017
- Kc as B,
7018
7021
  xs as C,
7019
7022
  xl as CARDS,
7020
7023
  Tl as CLIPBOARD_PROMPT,
7021
7024
  Rc as DEFAULT_ICON_ACTION_SIZE,
7022
7025
  Fc as E,
7023
7026
  oc as ERROR_MESSAGE,
7024
- Yc as Et,
7027
+ Jc as Et,
7028
+ Kc as F,
7025
7029
  Al as FOOTER_DISCLAIMERS,
7026
- bi as H,
7027
7030
  bl as HISTORY_TITLE,
7028
7031
  mt as I,
7029
7032
  Ac as INFINITE_SCROLL_LIMIT,
@@ -7035,9 +7038,8 @@ export {
7035
7038
  vl as INPUT_PLACEHOLDER_TEXT_CMD_ENTER,
7036
7039
  Sl as INPUT_PLACEHOLDER_TEXT_ENTER,
7037
7040
  wl as INPUT_PLACEHOLDER_TEXT_MOBILE,
7038
- Wc as J,
7039
- Bc as K,
7040
- Ao as L,
7041
+ qc as J,
7042
+ Io as L,
7041
7043
  Sc as LOCAL_STORAGE_CHAT_ID,
7042
7044
  bc as LOCAL_STORAGE_FAVORITES_ONLY,
7043
7045
  vc as LOCAL_STORAGE_OLED_MODE,
@@ -7051,14 +7053,14 @@ export {
7051
7053
  mc as LOCAL_STORAGE_SORT_TIMESTAMP,
7052
7054
  pc as LOCAL_STORAGE_SORT_TOKEN_USAGE,
7053
7055
  ml as LOG_OUT,
7054
- qo as Logo,
7056
+ Wo as Logo,
7055
7057
  dt as O,
7056
7058
  yl as PROFILE_TITLE,
7057
7059
  Il as PROMPTS_DESCRIPTION,
7058
7060
  Ic as PROMPT_CLASSNAME,
7059
7061
  _c as PROMPT_EDITABLE_AREA_CLASSNAME,
7060
- k as Q,
7061
- bo as S,
7062
+ Wc as Q,
7063
+ Eo as S,
7062
7064
  B as SERVICE_TYPES,
7063
7065
  gl as SETTINGS_TITLE,
7064
7066
  Ml as SassySaint,
@@ -7074,19 +7076,20 @@ export {
7074
7076
  Nc as UI_DEFAULT_MAIN_HEIGHT_IPHONE,
7075
7077
  Cc as UI_FOOTER_BUFFER,
7076
7078
  pl as USAGE_TITLE,
7077
- Hc as Y,
7078
- zt as Y$1,
7079
- qc as Z,
7080
- Yi as applyOledMode,
7081
- po as b,
7079
+ Ei as V,
7080
+ zt as Y,
7081
+ Bc as Z,
7082
+ zi as applyOledMode,
7083
+ Hc as b,
7084
+ yo as b$1,
7082
7085
  ht as c,
7083
- Ji as canEvaluateModels,
7084
- ji as convertCamelCaseToReadable,
7085
- Bi as debounce,
7086
+ Yi as canEvaluateModels,
7087
+ Qi as convertCamelCaseToReadable,
7088
+ qi as debounce,
7086
7089
  Uc as e,
7087
- Jc as et,
7090
+ Qc as et,
7088
7091
  Lc as getCacheInfo,
7089
- xi as getCurrentGeoLocation,
7092
+ Mi as getCurrentGeoLocation,
7090
7093
  Os as getLayoutPaddingClass,
7091
7094
  Cs as getMessageContaintWrapperClass,
7092
7095
  me as graphQLRequest,
@@ -7094,30 +7097,31 @@ export {
7094
7097
  Dc as handleServiceWorkerToggle,
7095
7098
  Ds as i,
7096
7099
  jt as isDev,
7097
- Vi as isPWAMode,
7100
+ ji as isPWAMode,
7098
7101
  Ns as isProbablyMobile,
7099
- Wi as isProbablyiPad,
7100
- qi as isProbablyiPhone,
7102
+ Vi as isProbablyiPad,
7103
+ Wi as isProbablyiPhone,
7101
7104
  Dt as isServiceWorkerEnabled,
7102
7105
  ks as isTauri,
7103
7106
  xe as it,
7104
7107
  ye as j,
7105
- So as l,
7108
+ Gc as j$1,
7109
+ vo as l,
7106
7110
  ls as n,
7107
- Vc as nt,
7108
- Hi as numberFormatter,
7111
+ Ki as numberFormatter,
7109
7112
  Ms as o,
7110
- Mi as obfuscate,
7111
- jc as ot,
7112
- Gi as pluralize,
7113
+ Di as obfuscate,
7114
+ Vc as ot,
7115
+ Bi as pluralize,
7113
7116
  He as r,
7114
- Li as renderDataAsList,
7115
- Si as serverUrl,
7117
+ Ui as renderDataAsList,
7118
+ Yc as rt,
7119
+ vi as serverUrl,
7116
7120
  zc as setNewProvider,
7117
7121
  Xc as setUserPlan,
7118
- Qc as st,
7122
+ jc as st,
7119
7123
  it as te,
7120
- Di as unObfuscate,
7124
+ Li as unObfuscate,
7121
7125
  el as useChangelogs,
7122
7126
  sl as useChat,
7123
7127
  rl as useChatsHistory,
@@ -7133,8 +7137,7 @@ export {
7133
7137
  ll as useUpdateMemory,
7134
7138
  tl as useUserChatStats,
7135
7139
  cl as useUserMemories,
7136
- vi as useUserPreferences,
7140
+ Ti as useUserPreferences,
7137
7141
  fl as utilities,
7138
- Gc as x,
7139
- Fs as x$1
7142
+ Fs as x
7140
7143
  };