@versini/sassysaint 8.37.2 → 8.37.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  import { jsx as y, jsxs as X, Fragment as gr } from "react/jsx-runtime";
2
2
  import * as te from "react";
3
- import fe, { createContext as ln, useReducer as un, useCallback as ue, useRef as W, useEffect as Z, useSyncExternalStore as xs, useContext as br, useLayoutEffect as gt, useState as le, useMemo as Rt, useId as dn, Suspense as $s, lazy as Ds } from "react";
3
+ import fe, { createContext as ln, useReducer as un, useCallback as ue, useRef as j, useEffect as Z, useSyncExternalStore as xs, useContext as br, useLayoutEffect as gt, useState as le, useMemo as Rt, useId as dn, Suspense as $s, lazy as Ds } from "react";
4
4
  import g from "clsx";
5
5
  var _t = class {
6
6
  constructor() {
@@ -160,7 +160,7 @@ function fn(e, t) {
160
160
  function ql(e, t) {
161
161
  return typeof e == "function" ? e(...t) : !!e;
162
162
  }
163
- var js = class extends _t {
163
+ var Ws = class extends _t {
164
164
  #e;
165
165
  #t;
166
166
  #r;
@@ -197,7 +197,7 @@ var js = class extends _t {
197
197
  isFocused() {
198
198
  return typeof this.#e == "boolean" ? this.#e : globalThis.document?.visibilityState !== "hidden";
199
199
  }
200
- }, hn = new js(), Ws = class extends _t {
200
+ }, hn = new Ws(), js = class extends _t {
201
201
  #e = !0;
202
202
  #t;
203
203
  #r;
@@ -228,7 +228,7 @@ var js = class extends _t {
228
228
  isOnline() {
229
229
  return this.#e;
230
230
  }
231
- }, je = new Ws();
231
+ }, We = new js();
232
232
  function Gs() {
233
233
  let e, t;
234
234
  const r = new Promise((s, i) => {
@@ -255,7 +255,7 @@ function qs(e) {
255
255
  return Math.min(1e3 * 2 ** e, 3e4);
256
256
  }
257
257
  function mn(e) {
258
- return (e ?? "online") === "online" ? je.isOnline() : !0;
258
+ return (e ?? "online") === "online" ? We.isOnline() : !0;
259
259
  }
260
260
  var yn = class extends Error {
261
261
  constructor(e) {
@@ -273,7 +273,7 @@ function pn(e) {
273
273
  t = !0;
274
274
  }, c = () => {
275
275
  t = !1;
276
- }, d = () => hn.isFocused() && (e.networkMode === "always" || je.isOnline()) && e.canRun(), u = () => mn(e.networkMode) && e.canRun(), l = (p) => {
276
+ }, d = () => hn.isFocused() && (e.networkMode === "always" || We.isOnline()) && e.canRun(), u = () => mn(e.networkMode) && e.canRun(), l = (p) => {
277
277
  n || (n = !0, e.onSuccess?.(p), s?.(), i.resolve(p));
278
278
  }, f = (p) => {
279
279
  n || (n = !0, e.onError?.(p), s?.(), i.reject(p));
@@ -317,7 +317,7 @@ function pn(e) {
317
317
  };
318
318
  }
319
319
  var Js = (e) => setTimeout(e, 0);
320
- function Qs() {
320
+ function zs() {
321
321
  let e = [], t = 0, r = (a) => {
322
322
  a();
323
323
  }, n = (a) => {
@@ -376,7 +376,7 @@ function Qs() {
376
376
  }
377
377
  };
378
378
  }
379
- var z = Qs(), gn = class {
379
+ var Q = zs(), gn = class {
380
380
  #e;
381
381
  destroy() {
382
382
  this.clearGcTimeout();
@@ -395,7 +395,7 @@ var z = Qs(), gn = class {
395
395
  clearGcTimeout() {
396
396
  this.#e && (clearTimeout(this.#e), this.#e = void 0);
397
397
  }
398
- }, zs = class extends gn {
398
+ }, Qs = class extends gn {
399
399
  #e;
400
400
  #t;
401
401
  #r;
@@ -640,7 +640,7 @@ var z = Qs(), gn = class {
640
640
  };
641
641
  }
642
642
  };
643
- this.state = t(this.state), z.batch(() => {
643
+ this.state = t(this.state), Q.batch(() => {
644
644
  this.observers.forEach((r) => {
645
645
  r.onQueryUpdate();
646
646
  }), this.#r.notify({ query: this, type: "updated", action: e });
@@ -683,7 +683,7 @@ var Zs = class extends _t {
683
683
  build(e, t, r) {
684
684
  const n = t.queryKey, s = t.queryHash ?? wr(n, t);
685
685
  let i = this.get(s);
686
- return i || (i = new zs({
686
+ return i || (i = new Qs({
687
687
  client: e,
688
688
  queryKey: n,
689
689
  queryHash: s,
@@ -703,7 +703,7 @@ var Zs = class extends _t {
703
703
  t && (e.destroy(), t === e && this.#e.delete(e.queryHash), this.notify({ type: "removed", query: e }));
704
704
  }
705
705
  clear() {
706
- z.batch(() => {
706
+ Q.batch(() => {
707
707
  this.getAll().forEach((e) => {
708
708
  this.remove(e);
709
709
  });
@@ -726,21 +726,21 @@ var Zs = class extends _t {
726
726
  return Object.keys(e).length > 0 ? t.filter((r) => Pr(e, r)) : t;
727
727
  }
728
728
  notify(e) {
729
- z.batch(() => {
729
+ Q.batch(() => {
730
730
  this.listeners.forEach((t) => {
731
731
  t(e);
732
732
  });
733
733
  });
734
734
  }
735
735
  onFocus() {
736
- z.batch(() => {
736
+ Q.batch(() => {
737
737
  this.getAll().forEach((e) => {
738
738
  e.onFocus();
739
739
  });
740
740
  });
741
741
  }
742
742
  onOnline() {
743
- z.batch(() => {
743
+ Q.batch(() => {
744
744
  this.getAll().forEach((e) => {
745
745
  e.onOnline();
746
746
  });
@@ -912,7 +912,7 @@ var Zs = class extends _t {
912
912
  };
913
913
  }
914
914
  };
915
- this.state = t(this.state), z.batch(() => {
915
+ this.state = t(this.state), Q.batch(() => {
916
916
  this.#e.forEach((r) => {
917
917
  r.onMutationUpdate(e);
918
918
  }), this.#t.notify({
@@ -990,7 +990,7 @@ var ri = class extends _t {
990
990
  return typeof t == "string" ? this.#t.get(t)?.find((n) => n !== e && n.state.isPaused)?.continue() ?? Promise.resolve() : Promise.resolve();
991
991
  }
992
992
  clear() {
993
- z.batch(() => {
993
+ Q.batch(() => {
994
994
  this.#e.forEach((e) => {
995
995
  this.notify({ type: "removed", mutation: e });
996
996
  }), this.#e.clear(), this.#t.clear();
@@ -1009,7 +1009,7 @@ var ri = class extends _t {
1009
1009
  return this.getAll().filter((t) => xr(e, t));
1010
1010
  }
1011
1011
  notify(e) {
1012
- z.batch(() => {
1012
+ Q.batch(() => {
1013
1013
  this.listeners.forEach((t) => {
1014
1014
  t(e);
1015
1015
  });
@@ -1017,7 +1017,7 @@ var ri = class extends _t {
1017
1017
  }
1018
1018
  resumePausedMutations() {
1019
1019
  const e = this.getAll().filter((t) => t.state.isPaused);
1020
- return z.batch(
1020
+ return Q.batch(
1021
1021
  () => Promise.all(
1022
1022
  e.map((t) => t.continue().catch(re))
1023
1023
  )
@@ -1118,7 +1118,7 @@ var si = class {
1118
1118
  mount() {
1119
1119
  this.#o++, this.#o === 1 && (this.#a = hn.subscribe(async (e) => {
1120
1120
  e && (await this.resumePausedMutations(), this.#e.onFocus());
1121
- }), this.#i = je.subscribe(async (e) => {
1121
+ }), this.#i = We.subscribe(async (e) => {
1122
1122
  e && (await this.resumePausedMutations(), this.#e.onOnline());
1123
1123
  }));
1124
1124
  }
@@ -1160,7 +1160,7 @@ var si = class {
1160
1160
  return this.#e.build(this, n).setData(o, { ...r, manual: !0 });
1161
1161
  }
1162
1162
  setQueriesData(e, t, r) {
1163
- return z.batch(
1163
+ return Q.batch(
1164
1164
  () => this.#e.findAll(e).map(({ queryKey: n }) => [
1165
1165
  n,
1166
1166
  this.setQueryData(n, t, r)
@@ -1175,7 +1175,7 @@ var si = class {
1175
1175
  }
1176
1176
  removeQueries(e) {
1177
1177
  const t = this.#e;
1178
- z.batch(() => {
1178
+ Q.batch(() => {
1179
1179
  t.findAll(e).forEach((r) => {
1180
1180
  t.remove(r);
1181
1181
  });
@@ -1183,7 +1183,7 @@ var si = class {
1183
1183
  }
1184
1184
  resetQueries(e, t) {
1185
1185
  const r = this.#e;
1186
- return z.batch(() => (r.findAll(e).forEach((n) => {
1186
+ return Q.batch(() => (r.findAll(e).forEach((n) => {
1187
1187
  n.reset();
1188
1188
  }), this.refetchQueries(
1189
1189
  {
@@ -1194,13 +1194,13 @@ var si = class {
1194
1194
  )));
1195
1195
  }
1196
1196
  cancelQueries(e, t = {}) {
1197
- const r = { revert: !0, ...t }, n = z.batch(
1197
+ const r = { revert: !0, ...t }, n = Q.batch(
1198
1198
  () => this.#e.findAll(e).map((s) => s.cancel(r))
1199
1199
  );
1200
1200
  return Promise.all(n).then(re).catch(re);
1201
1201
  }
1202
1202
  invalidateQueries(e, t = {}) {
1203
- return z.batch(() => (this.#e.findAll(e).forEach((r) => {
1203
+ return Q.batch(() => (this.#e.findAll(e).forEach((r) => {
1204
1204
  r.invalidate();
1205
1205
  }), e?.refetchType === "none" ? Promise.resolve() : this.refetchQueries(
1206
1206
  {
@@ -1214,7 +1214,7 @@ var si = class {
1214
1214
  const r = {
1215
1215
  ...t,
1216
1216
  cancelRefetch: t.cancelRefetch ?? !0
1217
- }, n = z.batch(
1217
+ }, n = Q.batch(
1218
1218
  () => this.#e.findAll(e).filter((s) => !s.isDisabled() && !s.isStatic()).map((s) => {
1219
1219
  let i = s.fetch(void 0, r);
1220
1220
  return r.throwOnError || (i = i.catch(re)), s.state.fetchStatus === "paused" ? Promise.resolve() : i;
@@ -1243,7 +1243,7 @@ var si = class {
1243
1243
  return e.behavior = Mr(e.pages), this.ensureQueryData(e);
1244
1244
  }
1245
1245
  resumePausedMutations() {
1246
- return je.isOnline() ? this.#t.resumePausedMutations() : Promise.resolve();
1246
+ return We.isOnline() ? this.#t.resumePausedMutations() : Promise.resolve();
1247
1247
  }
1248
1248
  getQueryCache() {
1249
1249
  return this.#e;
@@ -1397,7 +1397,7 @@ function ui(e, t, r) {
1397
1397
  if (v !== void 0 && !o) throw v;
1398
1398
  return R;
1399
1399
  }
1400
- function Q(R = !0) {
1400
+ function z(R = !0) {
1401
1401
  if (R !== !1 && c) return;
1402
1402
  c = !1;
1403
1403
  const v = u ? u() : n;
@@ -1448,8 +1448,8 @@ function ui(e, t, r) {
1448
1448
  }
1449
1449
  });
1450
1450
  let L = I;
1451
- return u ? ci(() => (L = I, Q(!1))) : Q(!1), [q, {
1452
- refetch: (R) => Tn(L, () => Q(R)),
1451
+ return u ? ci(() => (L = I, z(!1))) : z(!1), [q, {
1452
+ refetch: (R) => Tn(L, () => z(R)),
1453
1453
  mutate: h
1454
1454
  }];
1455
1455
  }
@@ -1466,7 +1466,7 @@ function G(e) {
1466
1466
  x = t;
1467
1467
  }
1468
1468
  }
1469
- function Ql(e, t, r) {
1469
+ function zl(e, t, r) {
1470
1470
  const n = Array.isArray(e);
1471
1471
  let s, i = r && r.defer;
1472
1472
  return (o) => {
@@ -1484,7 +1484,7 @@ function Ql(e, t, r) {
1484
1484
  function di(e) {
1485
1485
  Sn(() => G(e));
1486
1486
  }
1487
- function We(e) {
1487
+ function je(e) {
1488
1488
  return I === null || (I.cleanups === null ? I.cleanups = [e] : I.cleanups.push(e)), e;
1489
1489
  }
1490
1490
  function fi() {
@@ -1509,7 +1509,7 @@ function hi(e) {
1509
1509
  return ae(e, !1), x = I = null, n ? n.done : void 0;
1510
1510
  });
1511
1511
  }
1512
- var [mi, zl] = /* @__PURE__ */ Y(!1);
1512
+ var [mi, Ql] = /* @__PURE__ */ Y(!1);
1513
1513
  function Yl() {
1514
1514
  return [mi, hi];
1515
1515
  }
@@ -1708,7 +1708,7 @@ function At(e) {
1708
1708
  }
1709
1709
  function wi(e, t, r = {}) {
1710
1710
  let n = [], s = [], i = [], o = 0, a = t.length > 1 ? [] : null;
1711
- return We(() => At(i)), () => {
1711
+ return je(() => At(i)), () => {
1712
1712
  let c = e() || [], d = c.length, u, l;
1713
1713
  return G(() => {
1714
1714
  let h, m, p, b, w, k, S, O, _;
@@ -1743,7 +1743,7 @@ function wi(e, t, r = {}) {
1743
1743
  }
1744
1744
  function vi(e, t, r = {}) {
1745
1745
  let n = [], s = [], i = [], o = [], a = 0, c;
1746
- return We(() => At(i)), () => {
1746
+ return je(() => At(i)), () => {
1747
1747
  const d = e() || [], u = d.length;
1748
1748
  return G(() => {
1749
1749
  if (u === 0)
@@ -2179,7 +2179,7 @@ function Vi(e, t, r = {}) {
2179
2179
  }
2180
2180
  return r;
2181
2181
  }
2182
- function ji(e, t, r) {
2182
+ function Wi(e, t, r) {
2183
2183
  if (!t) return r ? ar(e, "style") : t;
2184
2184
  const n = e.style;
2185
2185
  if (typeof t == "string") return n.cssText = t;
@@ -2191,7 +2191,7 @@ function ji(e, t, r) {
2191
2191
  s = t[i], s !== r[i] && (n.setProperty(i, s), r[i] = s);
2192
2192
  return r;
2193
2193
  }
2194
- function Wi(e, t = {}, r, n) {
2194
+ function ji(e, t = {}, r, n) {
2195
2195
  const s = {};
2196
2196
  return n || Te(() => s.children = qe(e, t.children, s.children)), Te(() => typeof t.ref == "function" && Gi(t.ref, e)), Te(() => qi(e, t, r, !0, s, !0)), s;
2197
2197
  }
@@ -2225,7 +2225,7 @@ function Ur(e, t, r) {
2225
2225
  }
2226
2226
  function Fr(e, t, r, n, s, i, o) {
2227
2227
  let a, c, d, u, l;
2228
- if (t === "style") return ji(e, r, n);
2228
+ if (t === "style") return Wi(e, r, n);
2229
2229
  if (t === "classList") return Vi(e, r, n);
2230
2230
  if (r === n) return n;
2231
2231
  if (t === "ref")
@@ -2367,9 +2367,9 @@ function ke(e, t, r, n) {
2367
2367
  } else e.insertBefore(s, r);
2368
2368
  return [s];
2369
2369
  }
2370
- var Qi = "http://www.w3.org/2000/svg";
2370
+ var zi = "http://www.w3.org/2000/svg";
2371
2371
  function Nn(e, t = !1) {
2372
- return t ? document.createElementNS(Qi, e) : document.createElement(e);
2372
+ return t ? document.createElementNS(zi, e) : document.createElement(e);
2373
2373
  }
2374
2374
  function lu(e) {
2375
2375
  const {
@@ -2381,7 +2381,7 @@ function lu(e) {
2381
2381
  const o = n();
2382
2382
  if (o instanceof HTMLHeadElement) {
2383
2383
  const [a, c] = Y(!1), d = () => c(!0);
2384
- Se((u) => or(o, () => a() ? u() : i(), null)), We(d);
2384
+ Se((u) => or(o, () => a() ? u() : i(), null)), je(d);
2385
2385
  } else {
2386
2386
  const a = Nn(e.isSVG ? "g" : "div", e.isSVG), c = t && a.attachShadow ? a.attachShadow({
2387
2387
  mode: "open"
@@ -2391,13 +2391,13 @@ function lu(e) {
2391
2391
  return r.parentNode;
2392
2392
  },
2393
2393
  configurable: !0
2394
- }), or(c, i), o.appendChild(a), e.ref && e.ref(a), We(() => o.removeChild(a));
2394
+ }), or(c, i), o.appendChild(a), e.ref && e.ref(a), je(() => o.removeChild(a));
2395
2395
  }
2396
2396
  }, void 0, {
2397
2397
  render: !0
2398
2398
  }), r;
2399
2399
  }
2400
- function zi(e, t) {
2400
+ function Qi(e, t) {
2401
2401
  const r = K(e);
2402
2402
  return K(() => {
2403
2403
  const n = r();
@@ -2406,13 +2406,13 @@ function zi(e, t) {
2406
2406
  return G(() => n(t));
2407
2407
  case "string":
2408
2408
  const s = $i.has(n), i = Nn(n, s);
2409
- return Wi(i, t, s), i;
2409
+ return ji(i, t, s), i;
2410
2410
  }
2411
2411
  });
2412
2412
  }
2413
2413
  function uu(e) {
2414
2414
  const [, t] = Ai(e, ["component"]);
2415
- return zi(() => e.component, t);
2415
+ return Qi(() => e.component, t);
2416
2416
  }
2417
2417
  var Yi = class {
2418
2418
  constructor() {
@@ -2502,7 +2502,7 @@ var ta = class {
2502
2502
  findByName(e) {
2503
2503
  return this.transfomers[e];
2504
2504
  }
2505
- }, ra = (e) => Object.prototype.toString.call(e).slice(8, -1), xn = (e) => typeof e > "u", na = (e) => e === null, Je = (e) => typeof e != "object" || e === null || e === Object.prototype ? !1 : Object.getPrototypeOf(e) === null ? !0 : Object.getPrototypeOf(e) === Object.prototype, lr = (e) => Je(e) && Object.keys(e).length === 0, we = (e) => Array.isArray(e), sa = (e) => typeof e == "string", ia = (e) => typeof e == "number" && !isNaN(e), aa = (e) => typeof e == "boolean", oa = (e) => e instanceof RegExp, Qe = (e) => e instanceof Map, ze = (e) => e instanceof Set, $n = (e) => ra(e) === "Symbol", ca = (e) => e instanceof Date && !isNaN(e.valueOf()), la = (e) => e instanceof Error, Br = (e) => typeof e == "number" && isNaN(e), ua = (e) => aa(e) || na(e) || xn(e) || ia(e) || sa(e) || $n(e), da = (e) => typeof e == "bigint", fa = (e) => e === 1 / 0 || e === -1 / 0, ha = (e) => ArrayBuffer.isView(e) && !(e instanceof DataView), ma = (e) => e instanceof URL, Dn = (e) => e.replace(/\./g, "\\."), Ht = (e) => e.map(String).map(Dn).join("."), Fe = (e) => {
2505
+ }, ra = (e) => Object.prototype.toString.call(e).slice(8, -1), xn = (e) => typeof e > "u", na = (e) => e === null, Je = (e) => typeof e != "object" || e === null || e === Object.prototype ? !1 : Object.getPrototypeOf(e) === null ? !0 : Object.getPrototypeOf(e) === Object.prototype, lr = (e) => Je(e) && Object.keys(e).length === 0, we = (e) => Array.isArray(e), sa = (e) => typeof e == "string", ia = (e) => typeof e == "number" && !isNaN(e), aa = (e) => typeof e == "boolean", oa = (e) => e instanceof RegExp, ze = (e) => e instanceof Map, Qe = (e) => e instanceof Set, $n = (e) => ra(e) === "Symbol", ca = (e) => e instanceof Date && !isNaN(e.valueOf()), la = (e) => e instanceof Error, Br = (e) => typeof e == "number" && isNaN(e), ua = (e) => aa(e) || na(e) || xn(e) || ia(e) || sa(e) || $n(e), da = (e) => typeof e == "bigint", fa = (e) => e === 1 / 0 || e === -1 / 0, ha = (e) => ArrayBuffer.isView(e) && !(e instanceof DataView), ma = (e) => e instanceof URL, Dn = (e) => e.replace(/\./g, "\\."), Ht = (e) => e.map(String).map(Dn).join("."), Fe = (e) => {
2506
2506
  const t = [];
2507
2507
  let r = "";
2508
2508
  for (let s = 0; s < e.length; s++) {
@@ -2552,14 +2552,14 @@ var Mn = [
2552
2552
  return new RegExp(t, r);
2553
2553
  }),
2554
2554
  ne(
2555
- ze,
2555
+ Qe,
2556
2556
  "set",
2557
2557
  // (sets only exist in es6+)
2558
2558
  // eslint-disable-next-line es5/no-es6-methods
2559
2559
  (e) => [...e.values()],
2560
2560
  (e) => new Set(e)
2561
2561
  ),
2562
- ne(Qe, "map", (e) => [...e.entries()], (e) => new Map(e)),
2562
+ ne(ze, "map", (e) => [...e.entries()], (e) => new Map(e)),
2563
2563
  ne((e) => Br(e) || fa(e), "number", (e) => Br(e) ? "NaN" : e > 0 ? "Infinity" : "-Infinity", Number),
2564
2564
  ne((e) => e === 0 && 1 / e === -1 / 0, "number", () => "-0", Number),
2565
2565
  ne(ma, "URL", (e) => e.toString(), (e) => new URL(e))
@@ -2671,9 +2671,9 @@ var ba = (e, t) => {
2671
2671
  Vn(t);
2672
2672
  for (let r = 0; r < t.length; r++) {
2673
2673
  const n = t[r];
2674
- if (ze(e))
2674
+ if (Qe(e))
2675
2675
  e = Pe(e, +n);
2676
- else if (Qe(e)) {
2676
+ else if (ze(e)) {
2677
2677
  const s = +n, i = +t[++r] == 0 ? "key" : "value", o = Pe(e, s);
2678
2678
  switch (i) {
2679
2679
  case "key":
@@ -2698,10 +2698,10 @@ var ba = (e, t) => {
2698
2698
  n = n[a];
2699
2699
  } else if (Je(n))
2700
2700
  n = n[o];
2701
- else if (ze(n)) {
2701
+ else if (Qe(n)) {
2702
2702
  const a = +o;
2703
2703
  n = Pe(n, a);
2704
- } else if (Qe(n)) {
2704
+ } else if (ze(n)) {
2705
2705
  if (i === t.length - 2)
2706
2706
  break;
2707
2707
  const c = +o, d = +t[++i] == 0 ? "key" : "value", u = Pe(n, c);
@@ -2716,11 +2716,11 @@ var ba = (e, t) => {
2716
2716
  }
2717
2717
  }
2718
2718
  const s = t[t.length - 1];
2719
- if (we(n) ? n[+s] = r(n[+s]) : Je(n) && (n[s] = r(n[s])), ze(n)) {
2719
+ if (we(n) ? n[+s] = r(n[+s]) : Je(n) && (n[s] = r(n[s])), Qe(n)) {
2720
2720
  const i = Pe(n, +s), o = r(i);
2721
2721
  i !== o && (n.delete(i), n.add(o));
2722
2722
  }
2723
- if (Qe(n)) {
2723
+ if (ze(n)) {
2724
2724
  const i = +t[t.length - 2], o = Pe(n, i);
2725
2725
  switch (+s == 0 ? "key" : "value") {
2726
2726
  case "key": {
@@ -2769,7 +2769,7 @@ function va(e, t) {
2769
2769
  xe(t, r);
2770
2770
  return e;
2771
2771
  }
2772
- var Ea = (e, t) => Je(e) || we(e) || Qe(e) || ze(e) || Fn(e, t);
2772
+ var Ea = (e, t) => Je(e) || we(e) || ze(e) || Qe(e) || Fn(e, t);
2773
2773
  function Sa(e, t, r) {
2774
2774
  const n = r.get(e);
2775
2775
  n ? n.push(t) : r.set(e, [t]);
@@ -2785,7 +2785,7 @@ function Ta(e, t) {
2785
2785
  i.length === 0 ? n = o.map(Ht) : r[Ht(i)] = o.map(Ht);
2786
2786
  }), n ? lr(r) ? [n] : [n, r] : lr(r) ? void 0 : r;
2787
2787
  }
2788
- var jn = (e, t, r, n, s = [], i = [], o = /* @__PURE__ */ new Map()) => {
2788
+ var Wn = (e, t, r, n, s = [], i = [], o = /* @__PURE__ */ new Map()) => {
2789
2789
  const a = ua(e);
2790
2790
  if (!a) {
2791
2791
  Sa(e, s, t);
@@ -2812,7 +2812,7 @@ var jn = (e, t, r, n, s = [], i = [], o = /* @__PURE__ */ new Map()) => {
2812
2812
  xe(d, (h, m) => {
2813
2813
  if (m === "__proto__" || m === "constructor" || m === "prototype")
2814
2814
  throw new Error(`Detected property ${m}. This is a prototype pollution risk, please remove it from your object.`);
2815
- const p = jn(h, t, r, n, [...s, m], [...i, e], o);
2815
+ const p = Wn(h, t, r, n, [...s, m], [...i, e], o);
2816
2816
  u[m] = p.transformedValue, we(p.annotations) ? l[m] = p.annotations : Je(p.annotations) && xe(p.annotations, (b, w) => {
2817
2817
  l[Dn(m) + "." + w] = b;
2818
2818
  });
@@ -2826,14 +2826,14 @@ var jn = (e, t, r, n, s = [], i = [], o = /* @__PURE__ */ new Map()) => {
2826
2826
  };
2827
2827
  return a || o.set(e, f), f;
2828
2828
  };
2829
- function Wn(e) {
2829
+ function jn(e) {
2830
2830
  return Object.prototype.toString.call(e).slice(8, -1);
2831
2831
  }
2832
- function jr(e) {
2833
- return Wn(e) === "Array";
2832
+ function Wr(e) {
2833
+ return jn(e) === "Array";
2834
2834
  }
2835
2835
  function Aa(e) {
2836
- if (Wn(e) !== "Object")
2836
+ if (jn(e) !== "Object")
2837
2837
  return !1;
2838
2838
  const t = Object.getPrototypeOf(e);
2839
2839
  return !!t && t.constructor === Object && t === Object.prototype;
@@ -2848,13 +2848,13 @@ function Ia(e, t, r, n, s) {
2848
2848
  });
2849
2849
  }
2850
2850
  function fr(e, t = {}) {
2851
- if (jr(e))
2851
+ if (Wr(e))
2852
2852
  return e.map((s) => fr(s, t));
2853
2853
  if (!Aa(e))
2854
2854
  return e;
2855
2855
  const r = Object.getOwnPropertyNames(e), n = Object.getOwnPropertySymbols(e);
2856
2856
  return [...r, ...n].reduce((s, i) => {
2857
- if (jr(t.props) && !t.props.includes(i))
2857
+ if (Wr(t.props) && !t.props.includes(i))
2858
2858
  return s;
2859
2859
  const o = e[i], a = fr(o, t);
2860
2860
  return Ia(s, i, a, e, t.nonenumerable), s;
@@ -2868,7 +2868,7 @@ var C = class {
2868
2868
  this.classRegistry = new Xi(), this.symbolRegistry = new Pn((t) => t.description ?? ""), this.customTransformerRegistry = new ta(), this.allowedErrorProps = [], this.dedupe = e;
2869
2869
  }
2870
2870
  serialize(e) {
2871
- const t = /* @__PURE__ */ new Map(), r = jn(e, t, this, this.dedupe), n = {
2871
+ const t = /* @__PURE__ */ new Map(), r = Wn(e, t, this, this.dedupe), n = {
2872
2872
  json: r.transformedValue
2873
2873
  };
2874
2874
  r.annotations && (n.meta = {
@@ -2960,7 +2960,7 @@ var gu = (e, t = !1) => {
2960
2960
  const n = (s) => {
2961
2961
  t(s.matches ? "dark" : "light");
2962
2962
  };
2963
- r.addEventListener("change", n), We(() => r.removeEventListener("change", n));
2963
+ r.addEventListener("change", n), je(() => r.removeEventListener("change", n));
2964
2964
  }), e;
2965
2965
  }, st = (e, t, r) => {
2966
2966
  if (t.length === 0)
@@ -3078,7 +3078,7 @@ var gu = (e, t = !1) => {
3078
3078
  const t = Li(() => {
3079
3079
  const r = this, [n] = this.#i, [s] = this.#c, [i] = this.#l, [o] = this.#u, [a] = this.#f, [c] = this.#e;
3080
3080
  let d;
3081
- return this.#d ? d = this.#d : (d = Ii(() => import("./LNWAZHJI.kV1mBimQ.js")), this.#d = d), Ca(this.#o, this.#a), Ei(d, Ti({
3081
+ return this.#d ? d = this.#d : (d = Ii(() => import("./LNWAZHJI.RLpJTh2O.js")), this.#d = d), Ca(this.#o, this.#a), Ei(d, Ti({
3082
3082
  get queryFlavor() {
3083
3083
  return r.#r;
3084
3084
  },
@@ -3134,7 +3134,7 @@ function Pa(e) {
3134
3134
  client: t,
3135
3135
  queryFlavor: "React Query",
3136
3136
  version: "5",
3137
- onlineManager: je,
3137
+ onlineManager: We,
3138
3138
  buttonPosition: n,
3139
3139
  position: s,
3140
3140
  initialIsOpen: i,
@@ -3180,7 +3180,7 @@ const Ke = {
3180
3180
  PASSKEY: "passkey"
3181
3181
  }, Jn = {
3182
3182
  CLIENT_ID: "X-Auth-ClientId"
3183
- }, j = {
3183
+ }, W = {
3184
3184
  ALG: "RS256",
3185
3185
  USER_ID_KEY: "sub",
3186
3186
  USERNAME_KEY: "username",
@@ -3249,12 +3249,12 @@ let hr = class extends ve {
3249
3249
  }
3250
3250
  };
3251
3251
  $(hr, "code", "ERR_JWT_EXPIRED");
3252
- let Qn = class extends ve {
3252
+ let zn = class extends ve {
3253
3253
  constructor() {
3254
3254
  super(...arguments), $(this, "code", "ERR_JOSE_ALG_NOT_ALLOWED");
3255
3255
  }
3256
3256
  };
3257
- $(Qn, "code", "ERR_JOSE_ALG_NOT_ALLOWED");
3257
+ $(zn, "code", "ERR_JOSE_ALG_NOT_ALLOWED");
3258
3258
  let ge = class extends ve {
3259
3259
  constructor() {
3260
3260
  super(...arguments), $(this, "code", "ERR_JOSE_NOT_SUPPORTED");
@@ -3273,12 +3273,12 @@ let se = class extends ve {
3273
3273
  }
3274
3274
  };
3275
3275
  $(se, "code", "ERR_JWT_INVALID");
3276
- let zn = class extends ve {
3276
+ let Qn = class extends ve {
3277
3277
  constructor(t = "signature verification failed", r) {
3278
3278
  super(t, r), $(this, "code", "ERR_JWS_SIGNATURE_VERIFICATION_FAILED");
3279
3279
  }
3280
3280
  };
3281
- $(zn, "code", "ERR_JWS_SIGNATURE_VERIFICATION_FAILED");
3281
+ $(Qn, "code", "ERR_JWS_SIGNATURE_VERIFICATION_FAILED");
3282
3282
  function ce(e, t = "algorithm.name") {
3283
3283
  return new TypeError(`CryptoKey does not support this operation, its ${t} must be ${e}`);
3284
3284
  }
@@ -3394,11 +3394,11 @@ const ts = (e) => Zn(e) || es(e), Va = (...e) => {
3394
3394
  }
3395
3395
  return !0;
3396
3396
  };
3397
- function ja(e) {
3397
+ function Wa(e) {
3398
3398
  return typeof e == "object" && e !== null;
3399
3399
  }
3400
3400
  const Ye = (e) => {
3401
- if (!ja(e) || Object.prototype.toString.call(e) !== "[object Object]")
3401
+ if (!Wa(e) || Object.prototype.toString.call(e) !== "[object Object]")
3402
3402
  return !1;
3403
3403
  if (Object.getPrototypeOf(e) === null)
3404
3404
  return !0;
@@ -3406,7 +3406,7 @@ const Ye = (e) => {
3406
3406
  for (; Object.getPrototypeOf(t) !== null; )
3407
3407
  t = Object.getPrototypeOf(t);
3408
3408
  return Object.getPrototypeOf(e) === t;
3409
- }, Wa = (e, t) => {
3409
+ }, ja = (e, t) => {
3410
3410
  if (e.startsWith("RS") || e.startsWith("PS")) {
3411
3411
  const { modulusLength: r } = t.algorithm;
3412
3412
  if (typeof r != "number" || r < 2048)
@@ -3479,7 +3479,7 @@ const Ye = (e) => {
3479
3479
  }
3480
3480
  return crypto.subtle.importKey(t, a, i, !0, o);
3481
3481
  }, Ja = (e, t, r) => qa(/(?:-----(?:BEGIN|END) PUBLIC KEY-----|\s)/g, "spki", e, t);
3482
- function Qa(e) {
3482
+ function za(e) {
3483
3483
  let t, r;
3484
3484
  switch (e.kty) {
3485
3485
  case "RSA": {
@@ -3552,10 +3552,10 @@ function Qa(e) {
3552
3552
  }
3553
3553
  return { algorithm: t, keyUsages: r };
3554
3554
  }
3555
- const za = async (e) => {
3555
+ const Qa = async (e) => {
3556
3556
  if (!e.alg)
3557
3557
  throw new TypeError('"alg" argument is required when "jwk.alg" is not present');
3558
- const { algorithm: t, keyUsages: r } = Qa(e), n = { ...e };
3558
+ const { algorithm: t, keyUsages: r } = za(e), n = { ...e };
3559
3559
  return delete n.alg, delete n.use, crypto.subtle.importKey("jwk", n, t, e.ext ?? !e.d, e.key_ops ?? r);
3560
3560
  };
3561
3561
  async function Ya(e, t, r) {
@@ -3600,12 +3600,12 @@ function ro(e) {
3600
3600
  return e.kty === "oct" && typeof e.k == "string";
3601
3601
  }
3602
3602
  let be;
3603
- const Wr = async (e, t, r, n = !1) => {
3603
+ const jr = async (e, t, r, n = !1) => {
3604
3604
  be || (be = /* @__PURE__ */ new WeakMap());
3605
3605
  let s = be.get(e);
3606
3606
  if (s != null && s[r])
3607
3607
  return s[r];
3608
- const i = await za({ ...t, alg: r });
3608
+ const i = await Qa({ ...t, alg: r });
3609
3609
  return n && Object.freeze(e), s ? s[r] = i : be.set(e, { [r]: i }), i;
3610
3610
  }, no = (e, t) => {
3611
3611
  var r;
@@ -3707,10 +3707,10 @@ const Wr = async (e, t, r, n = !1) => {
3707
3707
  throw n;
3708
3708
  }
3709
3709
  let r = e.export({ format: "jwk" });
3710
- return Wr(e, r, t);
3710
+ return jr(e, r, t);
3711
3711
  }
3712
3712
  if (Er(e))
3713
- return e.k ? He(e.k) : Wr(e, e, t, !0);
3713
+ return e.k ? He(e.k) : jr(e, e, t, !0);
3714
3714
  throw new Error("unreachable");
3715
3715
  }, Ne = (e) => e?.[Symbol.toStringTag], mr = (e, t, r) => {
3716
3716
  var n, s;
@@ -3836,7 +3836,7 @@ const Wr = async (e, t, r, n = !1) => {
3836
3836
  return Ha(t, e, r), t;
3837
3837
  }, uo = async (e, t, r, n) => {
3838
3838
  const s = await lo(e, t, "verify");
3839
- Wa(e, s);
3839
+ ja(e, s);
3840
3840
  const i = co(e, s.algorithm);
3841
3841
  try {
3842
3842
  return await crypto.subtle.verify(i, s, r, n);
@@ -3879,7 +3879,7 @@ async function fo(e, t, r) {
3879
3879
  throw new F('JWS "alg" (Algorithm) Header Parameter missing or invalid');
3880
3880
  const c = r && Za("algorithms", r.algorithms);
3881
3881
  if (c && !c.has(a))
3882
- throw new Qn('"alg" (Algorithm) Header Parameter value not allowed');
3882
+ throw new zn('"alg" (Algorithm) Header Parameter value not allowed');
3883
3883
  if (o) {
3884
3884
  if (typeof e.payload != "string")
3885
3885
  throw new F("JWS Payload must be a string");
@@ -3896,7 +3896,7 @@ async function fo(e, t, r) {
3896
3896
  }
3897
3897
  const f = await so(t, a);
3898
3898
  if (!await uo(a, f, l, u))
3899
- throw new zn();
3899
+ throw new Qn();
3900
3900
  let h;
3901
3901
  if (o)
3902
3902
  try {
@@ -4057,9 +4057,9 @@ function Eo(e) {
4057
4057
  }
4058
4058
  const Xe = async (e) => {
4059
4059
  try {
4060
- const t = j.ALG, r = await Ya(Ma, t);
4060
+ const t = W.ALG, r = await Ya(Ma, t);
4061
4061
  return await vo(e, r, {
4062
- issuer: j.ISSUER
4062
+ issuer: W.ISSUER
4063
4063
  });
4064
4064
  } catch {
4065
4065
  return;
@@ -4087,7 +4087,7 @@ function Io() {
4087
4087
  return Vt(Ao);
4088
4088
  }
4089
4089
  const ko = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), Jr = { randomUUID: ko };
4090
- function Qr(e, t, r) {
4090
+ function zr(e, t, r) {
4091
4091
  var n;
4092
4092
  if (Jr.randomUUID && !e)
4093
4093
  return Jr.randomUUID();
@@ -4097,15 +4097,15 @@ function Qr(e, t, r) {
4097
4097
  throw new Error("Random bytes length must be >= 16");
4098
4098
  return s[6] = s[6] & 15 | 64, s[8] = s[8] & 63 | 128, To(s);
4099
4099
  }
4100
- const zr = globalThis.crypto, Oo = (e) => `${Qr()}${Qr()}`.slice(0, e), Ro = (e) => btoa(
4100
+ const Qr = globalThis.crypto, Oo = (e) => `${zr()}${zr()}`.slice(0, e), Ro = (e) => btoa(
4101
4101
  [...new Uint8Array(e)].map((t) => String.fromCharCode(t)).join("")
4102
4102
  );
4103
4103
  async function _o(e) {
4104
- if (!zr.subtle)
4104
+ if (!Qr.subtle)
4105
4105
  throw new Error(
4106
4106
  "crypto.subtle is available only in secure contexts (HTTPS)."
4107
4107
  );
4108
- const t = new TextEncoder().encode(e), r = await zr.subtle.digest("SHA-256", t);
4108
+ const t = new TextEncoder().encode(e), r = await Qr.subtle.digest("SHA-256", t);
4109
4109
  return Ro(r).replace(/\+/g, "-").replace(/\//g, "_").replace(/=+$/, "");
4110
4110
  }
4111
4111
  async function Co(e) {
@@ -4116,7 +4116,7 @@ async function Co(e) {
4116
4116
  };
4117
4117
  }
4118
4118
  const ss = ln(null);
4119
- var No = Object.defineProperty, Po = (e, t, r) => t in e ? No(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, jt = (e, t, r) => Po(e, typeof t != "symbol" ? t + "" : t, r);
4119
+ var No = Object.defineProperty, Po = (e, t, r) => t in e ? No(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Wt = (e, t, r) => Po(e, typeof t != "symbol" ? t + "" : t, r);
4120
4120
  /*!
4121
4121
  @versini/auth-provider v8.0.4
4122
4122
  © 2025 gizmette.com
@@ -4324,7 +4324,7 @@ async function Lo(e) {
4324
4324
  try {
4325
4325
  l = c.getPublicKeyAlgorithm();
4326
4326
  } catch (m) {
4327
- Wt("getPublicKeyAlgorithm()", m);
4327
+ jt("getPublicKeyAlgorithm()", m);
4328
4328
  }
4329
4329
  let f;
4330
4330
  if (typeof c.getPublicKey == "function")
@@ -4332,14 +4332,14 @@ async function Lo(e) {
4332
4332
  const m = c.getPublicKey();
4333
4333
  m !== null && (f = ie(m));
4334
4334
  } catch (m) {
4335
- Wt("getPublicKey()", m);
4335
+ jt("getPublicKey()", m);
4336
4336
  }
4337
4337
  let h;
4338
4338
  if (typeof c.getAuthenticatorData == "function")
4339
4339
  try {
4340
4340
  h = ie(c.getAuthenticatorData());
4341
4341
  } catch (m) {
4342
- Wt("getAuthenticatorData()", m);
4342
+ jt("getAuthenticatorData()", m);
4343
4343
  }
4344
4344
  return {
4345
4345
  id: o,
@@ -4357,7 +4357,7 @@ async function Lo(e) {
4357
4357
  authenticatorAttachment: cs(i.authenticatorAttachment)
4358
4358
  };
4359
4359
  }
4360
- function Wt(e, t) {
4360
+ function jt(e, t) {
4361
4361
  console.warn(`The browser extension that intercepted this WebAuthn API call incorrectly implemented ${e}. You should report this error to them.
4362
4362
  `, t);
4363
4363
  }
@@ -4500,26 +4500,26 @@ function Vo(e, t = 0) {
4500
4500
  return (B[e[t + 0]] + B[e[t + 1]] + B[e[t + 2]] + B[e[t + 3]] + "-" + B[e[t + 4]] + B[e[t + 5]] + "-" + B[e[t + 6]] + B[e[t + 7]] + "-" + B[e[t + 8]] + B[e[t + 9]] + "-" + B[e[t + 10]] + B[e[t + 11]] + B[e[t + 12]] + B[e[t + 13]] + B[e[t + 14]] + B[e[t + 15]]).toLowerCase();
4501
4501
  }
4502
4502
  let qt;
4503
- const jo = new Uint8Array(16);
4504
- function Wo() {
4503
+ const Wo = new Uint8Array(16);
4504
+ function jo() {
4505
4505
  if (!qt) {
4506
4506
  if (typeof crypto > "u" || !crypto.getRandomValues)
4507
4507
  throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
4508
4508
  qt = crypto.getRandomValues.bind(crypto);
4509
4509
  }
4510
- return qt(jo);
4510
+ return qt(Wo);
4511
4511
  }
4512
4512
  const Go = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), Zr = { randomUUID: Go };
4513
4513
  function Jt(e, t, r) {
4514
4514
  if (Zr.randomUUID && !e)
4515
4515
  return Zr.randomUUID();
4516
4516
  e = e || {};
4517
- const n = e.random ?? e.rng?.() ?? Wo();
4517
+ const n = e.random ?? e.rng?.() ?? jo();
4518
4518
  if (n.length < 16)
4519
4519
  throw new Error("Random bytes length must be >= 16");
4520
4520
  return n[6] = n[6] & 15 | 64, n[8] = n[8] & 63 | 128, Vo(n);
4521
4521
  }
4522
- const Oe = "Your session has expired. For your security, please log in again to continue.", qo = "Your session has been successfully terminated.", Qt = "Login failed. Please try again.", Jo = "Error getting access token, please re-authenticate.", Qo = "You forgot to wrap your component in <AuthProvider>.", ct = "@@auth@@", Le = "LOADING", yt = "LOGIN", us = "LOGOUT", Ze = "success", oe = "failure", ds = "include", fs = "POST", hs = "application/json", lt = {
4522
+ const Oe = "Your session has expired. For your security, please log in again to continue.", qo = "Your session has been successfully terminated.", zt = "Login failed. Please try again.", Jo = "Error getting access token, please re-authenticate.", zo = "You forgot to wrap your component in <AuthProvider>.", ct = "@@auth@@", Le = "LOADING", yt = "LOGIN", us = "LOGOUT", Ze = "success", oe = "failure", ds = "include", fs = "POST", hs = "application/json", lt = {
4523
4523
  GET_REGISTRATION_OPTIONS: `mutation GetPasskeyRegistrationOptions(
4524
4524
  $clientId: String!,
4525
4525
  $username: String!,
@@ -4674,7 +4674,7 @@ const Oe = "Your session has expired. For your security, please log in again to
4674
4674
  } catch (s) {
4675
4675
  return console.error(s), { status: oe, data: [] };
4676
4676
  }
4677
- }, zo = process.env.NODE_ENV === "production", Yo = !zo, ms = {
4677
+ }, Qo = process.env.NODE_ENV === "production", Yo = !Qo, ms = {
4678
4678
  isLoading: !0,
4679
4679
  isAuthenticated: !1,
4680
4680
  user: void 0,
@@ -4684,7 +4684,7 @@ const Oe = "Your session has expired. For your security, please log in again to
4684
4684
  }, Xo = (e) => {
4685
4685
  try {
4686
4686
  const t = So(e);
4687
- return t ? t[j.USER_ID_KEY] : "";
4687
+ return t ? t[W.USER_ID_KEY] : "";
4688
4688
  } catch {
4689
4689
  return "";
4690
4690
  }
@@ -4743,12 +4743,12 @@ const Oe = "Your session has expired. For your security, please log in again to
4743
4743
  ua: d
4744
4744
  }
4745
4745
  }), f = await Xe(l?.data?.idToken);
4746
- return f && f.payload[j.USER_ID_KEY] !== "" && f.payload[j.NONCE_KEY] === n ? {
4746
+ return f && f.payload[W.USER_ID_KEY] !== "" && f.payload[W.NONCE_KEY] === n ? {
4747
4747
  idToken: l.data.idToken,
4748
4748
  accessToken: l.data.accessToken,
4749
4749
  refreshToken: l.data.refreshToken,
4750
- userId: f.payload[j.USER_ID_KEY],
4751
- email: f.payload[j.EMAIL_KEY],
4750
+ userId: f.payload[W.USER_ID_KEY],
4751
+ email: f.payload[W.EMAIL_KEY],
4752
4752
  status: !0
4753
4753
  } : {
4754
4754
  status: !1
@@ -4811,10 +4811,10 @@ const Oe = "Your session has expired. For your security, please log in again to
4811
4811
  domain: i
4812
4812
  }
4813
4813
  }), c = await Xe(a?.data?.accessToken);
4814
- return c && c.payload[j.USER_ID_KEY] !== "" && c.payload[j.NONCE_KEY] === r ? {
4814
+ return c && c.payload[W.USER_ID_KEY] !== "" && c.payload[W.NONCE_KEY] === r ? {
4815
4815
  accessToken: a.data.accessToken,
4816
4816
  refreshToken: a.data.refreshToken,
4817
- userId: c.payload[j.USER_ID_KEY],
4817
+ userId: c.payload[W.USER_ID_KEY],
4818
4818
  status: !0
4819
4819
  } : {
4820
4820
  status: !1
@@ -4827,7 +4827,7 @@ const Oe = "Your session has expired. For your security, please log in again to
4827
4827
  };
4828
4828
  class nc {
4829
4829
  constructor(t = null, r = null) {
4830
- jt(this, "refreshTokenPromise", null), jt(this, "accessToken"), jt(this, "refreshToken"), this.accessToken = t || "", this.refreshToken = r || "";
4830
+ Wt(this, "refreshTokenPromise", null), Wt(this, "accessToken"), Wt(this, "refreshToken"), this.accessToken = t || "", this.refreshToken = r || "";
4831
4831
  }
4832
4832
  async refreshtoken({
4833
4833
  clientId: t,
@@ -4857,7 +4857,7 @@ class nc {
4857
4857
  domain: i
4858
4858
  }) {
4859
4859
  const o = await Xe(this.refreshToken);
4860
- if (o && o.payload[j.USER_ID_KEY] !== "") {
4860
+ if (o && o.payload[W.USER_ID_KEY] !== "") {
4861
4861
  const a = await rc({
4862
4862
  endpoint: t,
4863
4863
  clientId: r,
@@ -4881,7 +4881,7 @@ class nc {
4881
4881
  }
4882
4882
  }
4883
4883
  const Ce = () => {
4884
- throw new Error(Qo);
4884
+ throw new Error(zo);
4885
4885
  }, ys = ln({
4886
4886
  isAuthenticated: !1,
4887
4887
  isLoading: !1,
@@ -4935,7 +4935,7 @@ const Ce = () => {
4935
4935
  const [o, a] = un(oc, {
4936
4936
  ...ms,
4937
4937
  debug: s
4938
- }), c = ic(s), d = W(!1), [u, l, , f] = ot({
4938
+ }), c = ic(s), d = j(!1), [u, l, , f] = ot({
4939
4939
  key: `${ct}::${r}::@@user@@`
4940
4940
  }), [h, m, , p] = ot({
4941
4941
  key: `${ct}::${r}::@@access@@`
@@ -4945,7 +4945,7 @@ const Ce = () => {
4945
4945
  }
4946
4946
  ), [S, O, , _] = ot({
4947
4947
  key: `${ct}::${r}::@@nonce@@`
4948
- }), q = new nc(h, b), Q = ue(() => {
4948
+ }), q = new nc(h, b), z = ue(() => {
4949
4949
  c("removeLocalStorage: removing local storage"), f(), p(), k(), _();
4950
4950
  }, [
4951
4951
  p,
@@ -4963,9 +4963,9 @@ const Ce = () => {
4963
4963
  payload: {
4964
4964
  logoutReason: T || Oe
4965
4965
  }
4966
- }), Q(), a({ type: Le, payload: { isLoading: !1 } });
4966
+ }), z(), a({ type: Le, payload: { isLoading: !1 } });
4967
4967
  },
4968
- [Q, c]
4968
+ [z, c]
4969
4969
  ), R = ue(
4970
4970
  async (T) => {
4971
4971
  c("invalidateAndLogout: invalidating and logging out");
@@ -4995,14 +4995,14 @@ const Ce = () => {
4995
4995
  return o.isLoading && u !== null ? (async () => {
4996
4996
  try {
4997
4997
  const T = await Xe(u);
4998
- T && T.payload[j.USER_ID_KEY] !== "" ? (c("useEffect: setting the authentication state"), a({
4998
+ T && T.payload[W.USER_ID_KEY] !== "" ? (c("useEffect: setting the authentication state"), a({
4999
4999
  type: yt,
5000
5000
  payload: {
5001
- authenticationType: T.payload[j.AUTH_TYPE_KEY],
5001
+ authenticationType: T.payload[W.AUTH_TYPE_KEY],
5002
5002
  user: {
5003
- userId: T.payload[j.USER_ID_KEY],
5004
- username: T.payload[j.USERNAME_KEY],
5005
- email: T.payload[j.EMAIL_KEY]
5003
+ userId: T.payload[W.USER_ID_KEY],
5004
+ username: T.payload[W.USERNAME_KEY],
5005
+ email: T.payload[W.EMAIL_KEY]
5006
5006
  }
5007
5007
  }
5008
5008
  })) : (c("useEffect: invalid JWT, invalidating and logging out"), await R(Oe));
@@ -5016,7 +5016,7 @@ const Ce = () => {
5016
5016
  };
5017
5017
  }, [o.isLoading, u, R, c]);
5018
5018
  const v = async (T, P) => {
5019
- a({ type: Le, payload: { isLoading: !0 } }), Q();
5019
+ a({ type: Le, payload: { isLoading: !0 } }), z();
5020
5020
  const A = Jt();
5021
5021
  O(A), c("login: Logging in with password");
5022
5022
  const { code_verifier: ye, code_challenge: pe } = await Co(), Nr = await tc({
@@ -5049,7 +5049,7 @@ const Ce = () => {
5049
5049
  email: Ie.email
5050
5050
  }
5051
5051
  }
5052
- }), !0) : (L(Qt), !1);
5052
+ }), !0) : (L(zt), !1);
5053
5053
  }
5054
5054
  return !1;
5055
5055
  }, N = async (T) => {
@@ -5061,7 +5061,7 @@ const Ce = () => {
5061
5061
  if (h) {
5062
5062
  c("getAccessToken");
5063
5063
  const ye = await Xe(h);
5064
- if (ye && ye.payload[j.USER_ID_KEY] !== "")
5064
+ if (ye && ye.payload[W.USER_ID_KEY] !== "")
5065
5065
  return h;
5066
5066
  }
5067
5067
  c("getAccessToken: invalid access token, trying to refresh it");
@@ -5130,7 +5130,7 @@ const Ce = () => {
5130
5130
  }
5131
5131
  return !1;
5132
5132
  }, Ae = async () => {
5133
- a({ type: Le, payload: { isLoading: !0 } }), Q();
5133
+ a({ type: Le, payload: { isLoading: !0 } }), z();
5134
5134
  const T = Jt();
5135
5135
  O(T), c("loginWithPasskey");
5136
5136
  const P = Jt();
@@ -5173,7 +5173,7 @@ const Ce = () => {
5173
5173
  email: A.data.email
5174
5174
  }
5175
5175
  }
5176
- }), !0) : (L(Qt), !1);
5176
+ }), !0) : (L(zt), !1);
5177
5177
  } catch {
5178
5178
  return await _e({
5179
5179
  endpoint: i,
@@ -5188,7 +5188,7 @@ const Ce = () => {
5188
5188
  domain: n,
5189
5189
  sessionExpiration: t
5190
5190
  }
5191
- }), L(Qt), !1;
5191
+ }), L(zt), !1;
5192
5192
  }
5193
5193
  return !1;
5194
5194
  };
@@ -5226,8 +5226,8 @@ const ps = () => {
5226
5226
  if (!e)
5227
5227
  throw new Error("useAuth must be used within an AuthHookProvider");
5228
5228
  return e;
5229
- }, Nu = "data", Pu = "I'm having trouble right now. Please try again later.", xu = "action-search", $u = "action-sort", Du = "action-toggle-prompt", Mu = "action-reset-prompt", gs = "sassy-saint-", Lu = "details", Uu = "search", Fu = "sort", Ku = "private-disclosure", Hu = "reasoning-disclosure", bs = "service-worker", tn = "b44c68f0-e5b3-4a1d-a3e3-df8632b0223b", Bu = 10, Vu = 30, ju = "av-prompt", Wu = "av-prompt-editable", Gu = "size-5 sm:size-4", qu = 30, Ju = 10, Qu = 130, zu = 16, Yu = 20, Xu = 76;
5230
- let zt = null;
5229
+ }, Nu = "data", Pu = "I'm having trouble right now. Please try again later.", xu = "action-search", $u = "action-sort", Du = "action-toggle-prompt", Mu = "action-reset-prompt", gs = "sassy-saint-", Lu = "details", Uu = "search", Fu = "sort", Ku = "private-disclosure", Hu = "reasoning-disclosure", bs = "service-worker", tn = "b44c68f0-e5b3-4a1d-a3e3-df8632b0223b", Bu = 10, Vu = 30, Wu = "av-prompt", ju = "av-prompt-editable", Gu = "size-5 sm:size-4", qu = 30, Ju = 10, zu = 130, Qu = 16, Yu = 20, Xu = 76;
5230
+ let Qt = null;
5231
5231
  function Ar() {
5232
5232
  return "serviceWorker" in navigator;
5233
5233
  }
@@ -5249,10 +5249,10 @@ async function ws() {
5249
5249
  if (!Ar())
5250
5250
  return console.warn("[SW] Service workers not supported"), !1;
5251
5251
  try {
5252
- return zt = await navigator.serviceWorker.register("/sw.js", {
5252
+ return Qt = await navigator.serviceWorker.register("/sw.js", {
5253
5253
  scope: "/"
5254
- }), zt.addEventListener("updatefound", () => {
5255
- const e = zt?.installing;
5254
+ }), Qt.addEventListener("updatefound", () => {
5255
+ const e = Qt?.installing;
5256
5256
  e && e.addEventListener("statechange", () => {
5257
5257
  e.state === "installed" && navigator.serviceWorker.controller && confirm(
5258
5258
  "A new version of the app is available. Reload to update?"
@@ -5578,7 +5578,7 @@ const Rc = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
5578
5578
  "justify-start": s === "left",
5579
5579
  "justify-end": s === "right",
5580
5580
  "h-6 w-6 p-0": t === "small" && !i && !(r || n),
5581
- "h-6 px-2": t === "small" && !i && (r || n),
5581
+ "h-6 px-1 sm:px-2": t === "small" && !i && (r || n),
5582
5582
  "h-8 w-8 p-1": t === "medium" && !i && !(r || n),
5583
5583
  "h-8 px-3": t === "medium" && !i && (r || n),
5584
5584
  "h-12 w-12 p-2": t === "large" && !i && !(r || n),
@@ -5792,14 +5792,14 @@ const Rc = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
5792
5792
  });
5793
5793
  if (r === "selected")
5794
5794
  return "border border-border-selected-dark";
5795
- }, jc = ({
5795
+ }, Wc = ({
5796
5796
  focusMode: e
5797
5797
  }) => g("focus:outline", "focus:outline-2", "focus:outline-offset-2", {
5798
5798
  "focus:outline-focus-dark": e === "dark",
5799
5799
  "focus:outline-focus-light": e === "light",
5800
5800
  "focus:outline-focus-light dark:focus:outline-focus-dark": e === "alt-system",
5801
5801
  "focus:outline-focus-dark dark:focus:outline-focus-light": e === "system"
5802
- }), Wc = ({
5802
+ }), jc = ({
5803
5803
  mode: e,
5804
5804
  raw: t,
5805
5805
  iconClassName: r,
@@ -5868,7 +5868,7 @@ const Rc = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
5868
5868
  }),
5869
5869
  Lc({ type: e, size: a, labelRight: d, labelLeft: u }),
5870
5870
  Vc({ mode: n, variant: f, noBorder: c }),
5871
- jc({ focusMode: s }),
5871
+ Wc({ focusMode: s }),
5872
5872
  Hc({ mode: n, variant: f, disabled: i }),
5873
5873
  Bc({ mode: n, variant: f, disabled: i }),
5874
5874
  {
@@ -5939,12 +5939,12 @@ const Os = fe.forwardRef(
5939
5939
  );
5940
5940
  Os.displayName = "Button";
5941
5941
  function Jc() {
5942
- const e = W(!1);
5942
+ const e = j(!1);
5943
5943
  return Z(() => (e.current = !0, () => {
5944
5944
  e.current = !1;
5945
5945
  }), []), ue(() => e.current, []);
5946
5946
  }
5947
- function Qc(e) {
5947
+ function zc(e) {
5948
5948
  return Rt(() => e.every((t) => t == null) ? () => {
5949
5949
  } : (t) => {
5950
5950
  e.forEach((r) => {
@@ -5952,7 +5952,7 @@ function Qc(e) {
5952
5952
  });
5953
5953
  }, [...e]);
5954
5954
  }
5955
- const zc = {
5955
+ const Qc = {
5956
5956
  x: 0,
5957
5957
  y: 0,
5958
5958
  width: 0,
@@ -5963,7 +5963,7 @@ const zc = {
5963
5963
  right: 0
5964
5964
  };
5965
5965
  function Yt(e) {
5966
- const t = Jc(), r = W(0), n = W(null), [s, i] = le(zc), o = Rt(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((a) => {
5966
+ const t = Jc(), r = j(0), n = j(null), [s, i] = le(Qc), o = Rt(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((a) => {
5967
5967
  const c = a[0];
5968
5968
  c && (cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
5969
5969
  n.current && t() && i(c.contentRect);
@@ -6028,7 +6028,7 @@ const ut = {
6028
6028
  radius: b,
6029
6029
  variant: w,
6030
6030
  animated: S
6031
- }), Q = Wc({ mode: r, raw: a, iconClassName: k, variant: w }), L = Gc({ animated: S }), R = "flex items-center justify-center relative w-full h-full overflow-hidden", [v, N] = Yt(), [E, U] = Yt(), [me, Ae] = Yt(), T = W(0), P = W(null), A = W(null), ye = Qc([_, P]);
6031
+ }), z = jc({ mode: r, raw: a, iconClassName: k, variant: w }), L = Gc({ animated: S }), R = "flex items-center justify-center relative w-full h-full overflow-hidden", [v, N] = Yt(), [E, U] = Yt(), [me, Ae] = Yt(), T = j(0), P = j(null), A = j(null), ye = zc([_, P]);
6032
6032
  return gt(() => {
6033
6033
  me && me.current && S && (T.current = Ae.width + Yc[l] + (c ? 0 : Xc), P.current && !P.current.style.width && (P.current.style.width = `${ut[l]}px`));
6034
6034
  }, [Ae, me, l, c, S]), gt(() => {
@@ -6069,7 +6069,7 @@ const ut = {
6069
6069
  initiallyHidden: S
6070
6070
  }
6071
6071
  ),
6072
- /* @__PURE__ */ y("span", { ref: me, className: Q, children: e }),
6072
+ /* @__PURE__ */ y("span", { ref: me, className: z, children: e }),
6073
6073
  /* @__PURE__ */ y(
6074
6074
  sn,
6075
6075
  {
@@ -6101,13 +6101,13 @@ const ut = {
6101
6101
  );
6102
6102
  kt.displayName = "ButtonIcon";
6103
6103
  /*!
6104
- @versini/ui-button v7.0.0
6104
+ @versini/ui-button v7.1.1
6105
6105
  © 2025 gizmette.com
6106
6106
  */
6107
6107
  try {
6108
6108
  window.__VERSINI_UI_BUTTON__ || (window.__VERSINI_UI_BUTTON__ = {
6109
- version: "7.0.0",
6110
- buildTime: "08/07/2025 04:11 PM EDT",
6109
+ version: "7.1.1",
6110
+ buildTime: "08/10/2025 01:26 PM EDT",
6111
6111
  homepage: "https://github.com/aversini/ui-components",
6112
6112
  license: "MIT"
6113
6113
  });
@@ -6141,10 +6141,12 @@ const el = fe.forwardRef(
6141
6141
  return /* @__PURE__ */ y("div", { className: o, children: /* @__PURE__ */ y(
6142
6142
  kt,
6143
6143
  {
6144
- className: g("justify-center", r),
6144
+ className: r,
6145
6145
  ref: i,
6146
6146
  mode: t,
6147
6147
  radius: "small",
6148
+ size: "small",
6149
+ align: "center",
6148
6150
  ...s,
6149
6151
  children: e
6150
6152
  }
@@ -6619,7 +6621,7 @@ try {
6619
6621
  }
6620
6622
  const Rs = "av-text-input", ml = "av-text-input-wrapper", Zt = "av-text-input-helper-text";
6621
6623
  function yl() {
6622
- const e = W(!1);
6624
+ const e = j(!1);
6623
6625
  return Z(() => (e.current = !0, () => {
6624
6626
  e.current = !1;
6625
6627
  }), []), ue(() => e.current, []);
@@ -6635,7 +6637,7 @@ const pl = {
6635
6637
  right: 0
6636
6638
  };
6637
6639
  function gl(e) {
6638
- const t = yl(), r = W(0), n = W(null), [s, i] = le(pl), o = Rt(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((a) => {
6640
+ const t = yl(), r = j(0), n = j(null), [s, i] = le(pl), o = Rt(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((a) => {
6639
6641
  const c = a[0];
6640
6642
  c && (cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
6641
6643
  n.current && t() && i(c.contentRect);
@@ -6737,7 +6739,7 @@ function Ns({
6737
6739
  visible: a,
6738
6740
  ...c
6739
6741
  }) {
6740
- const d = W(null), u = W(null), [l, f] = un(vl, {
6742
+ const d = j(null), u = j(null), [l, f] = un(vl, {
6741
6743
  announcement: null
6742
6744
  });
6743
6745
  let h = r;
@@ -6944,7 +6946,7 @@ const Tl = ({
6944
6946
  size: w = "md",
6945
6947
  ...k
6946
6948
  }, S) => {
6947
- const [O, _] = gl(), [q, Q] = le(0), L = bl({ id: e, prefix: `${Rs}-` }), R = `${t} error, ${m}`, v = W(null), N = W(null), E = {
6949
+ const [O, _] = gl(), [q, z] = le(0), L = bl({ id: e, prefix: `${Rs}-` }), R = `${t} error, ${m}`, v = j(null), N = j(null), E = {
6948
6950
  xs: { label: "-25px", helperText: "30px" },
6949
6951
  sm: { label: "-29px", helperText: "34px" },
6950
6952
  md: { label: "-33px", helperText: "38px" },
@@ -6963,7 +6965,7 @@ const Tl = ({
6963
6965
  rightElementClassName: b
6964
6966
  });
6965
6967
  return gt(() => {
6966
- _ && _.width && Q(_.width + 18 + 10);
6968
+ _ && _.width && z(_.width + 18 + 10);
6967
6969
  }, [_]), gt(() => {
6968
6970
  const { label: me, helperText: Ae } = E[w];
6969
6971
  v?.current?.style.setProperty("--av-text-input-label", me), N?.current?.style.setProperty(
@@ -7053,7 +7055,7 @@ const Cl = 500, Nl = 5e3, Pl = 2e4, Ps = fe.forwardRef(
7053
7055
  const [f, h] = le(!0), [m, p] = le({
7054
7056
  message: null,
7055
7057
  politeness: null
7056
- }), b = W(!0), w = W(null), k = W(null), S = _l([l, k]), O = f ? "Show" : "Hide", _ = () => {
7058
+ }), b = j(!0), w = j(null), k = j(null), S = _l([l, k]), O = f ? "Show" : "Hide", _ = () => {
7057
7059
  w.current && clearTimeout(w.current), b.current || (w.current = setTimeout(() => {
7058
7060
  b.current = !0, h(!0), p({
7059
7061
  announcementTimeout: Nl,
@@ -7069,11 +7071,11 @@ const Cl = 500, Nl = 5e3, Pl = 2e4, Ps = fe.forwardRef(
7069
7071
  politeness: "assertive",
7070
7072
  message: E ? "Characters hidden" : "Characters showing"
7071
7073
  }), s && s(E);
7072
- }, Q = (N) => {
7074
+ }, z = (N) => {
7073
7075
  const { relatedTarget: E } = N;
7074
7076
  k.current?.parentElement?.contains(E) || c && c();
7075
7077
  }, L = (N) => {
7076
- _(), o && o(N), Q(N);
7078
+ _(), o && o(N), z(N);
7077
7079
  }, R = (N) => {
7078
7080
  _(), a && a(N);
7079
7081
  }, v = (N) => {
@@ -7098,7 +7100,7 @@ const Cl = 500, Nl = 5e3, Pl = 2e4, Ps = fe.forwardRef(
7098
7100
  ref: l,
7099
7101
  label: O,
7100
7102
  onClick: q,
7101
- onBlur: Q,
7103
+ onBlur: z,
7102
7104
  disabled: t
7103
7105
  }),
7104
7106
  ...u
@@ -7338,7 +7340,7 @@ Press Ctrl+Enter to send it or Enter for new line.`, ud = "{{clipboard}}", M = "
7338
7340
  );
7339
7341
  }, Fl = new URL(document.location.href).searchParams, on = !!Fl.get("debug") || !1, Kl = Ds(() => import(
7340
7342
  /* webpackChunkName: "LazyApp" */
7341
- "./App.C5WP4O88.js"
7343
+ "./App.DUfwsVPe.js"
7342
7344
  ).then((e) => e.App)), Hl = new si(), cn = ({
7343
7345
  isComponent: e,
7344
7346
  headerHeight: t
@@ -7393,7 +7395,7 @@ export {
7393
7395
  Lt as I,
7394
7396
  Vu as INFINITE_SCROLL_LIMIT,
7395
7397
  Bu as INFINITE_SCROLL_THRESHOLD,
7396
- zu as INPUT_BOTTOM_OFFSET,
7398
+ Qu as INPUT_BOTTOM_OFFSET,
7397
7399
  Xu as INPUT_BOTTOM_OFFSET_EXTRA,
7398
7400
  Yu as INPUT_BOTTOM_OFFSET_IPHONE,
7399
7401
  ld as INPUT_PLACEHOLDER_TEXT_CMD_ENTER,
@@ -7413,8 +7415,8 @@ export {
7413
7415
  iu as Match,
7414
7416
  nd as PROFILE_TITLE,
7415
7417
  fd as PROMPTS_DESCRIPTION,
7416
- ju as PROMPT_CLASSNAME,
7417
- Wu as PROMPT_EDITABLE_AREA_CLASSNAME,
7418
+ Wu as PROMPT_CLASSNAME,
7419
+ ju as PROMPT_EDITABLE_AREA_CLASSNAME,
7418
7420
  lu as Portal,
7419
7421
  Nu as ROLE_INTERNAL,
7420
7422
  sl as S,
@@ -7429,7 +7431,7 @@ export {
7429
7431
  gd as TRIMESTERS,
7430
7432
  bd as TRIMESTERS_SHORT,
7431
7433
  Ju as UI_BUTTON_SCROLL_BUFFER,
7432
- Qu as UI_DEFAULT_MAIN_HEIGHT,
7434
+ zu as UI_DEFAULT_MAIN_HEIGHT,
7433
7435
  qu as UI_FOOTER_BUFFER,
7434
7436
  rd as USAGE_TITLE,
7435
7437
  Bi as addEventListener,
@@ -7477,11 +7479,11 @@ export {
7477
7479
  wu as mutationSortFns,
7478
7480
  ps as n,
7479
7481
  re as noop,
7480
- z as notifyManager,
7482
+ Q as notifyManager,
7481
7483
  _c as numberFormatter,
7482
7484
  Ac as obfuscate,
7483
- Ql as on,
7484
- We as onCleanup,
7485
+ zl as on,
7486
+ je as onCleanup,
7485
7487
  di as onMount,
7486
7488
  _r as pe,
7487
7489
  Gs as pendingThenable,
@@ -7497,7 +7499,7 @@ export {
7497
7499
  ql as shouldThrowError,
7498
7500
  bu as sortFns,
7499
7501
  Ai as splitProps,
7500
- Wi as spread,
7502
+ ji as spread,
7501
7503
  du as stringify,
7502
7504
  ou as template,
7503
7505
  Us as timeUntilStale,