@versini/sassysaint 8.12.3 → 8.12.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -13,7 +13,7 @@ var Wt = (e, t, r, n) => ({
13
13
  });
14
14
  import { jsx as p, jsxs as re, Fragment as lr } from "react/jsx-runtime";
15
15
  import * as ae from "react";
16
- import ke, { useReducer as as, useCallback as Te, useRef as Q, useEffect as ge, createContext as Ti, useContext as os, useSyncExternalStore as Ii, useLayoutEffect as ur, useState as Ae, useMemo as Er, useId as cs, Suspense as ki, lazy as Ri } from "react";
16
+ import ke, { useReducer as as, useCallback as Te, useRef as Q, useEffect as ge, createContext as Ai, useContext as os, useSyncExternalStore as Ti, useLayoutEffect as ur, useState as Ae, useMemo as Er, useId as cs, Suspense as Ii, lazy as ki } from "react";
17
17
  import b from "clsx";
18
18
  var Sr = class {
19
19
  constructor() {
@@ -34,19 +34,19 @@ var Sr = class {
34
34
  }, Ar = typeof window > "u" || "Deno" in globalThis;
35
35
  function oe() {
36
36
  }
37
- function Oi(e, t) {
37
+ function Ri(e, t) {
38
38
  return typeof e == "function" ? e(t) : e;
39
39
  }
40
- function Ci(e) {
40
+ function Oi(e) {
41
41
  return typeof e == "number" && e >= 0 && e !== 1 / 0;
42
42
  }
43
- function _i(e, t) {
43
+ function Ci(e, t) {
44
44
  return Math.max(e + (t || 0) - Date.now(), 0);
45
45
  }
46
46
  function En(e, t) {
47
47
  return typeof e == "function" ? e(t) : e;
48
48
  }
49
- function Ni(e, t) {
49
+ function _i(e, t) {
50
50
  return typeof e == "function" ? e(t) : e;
51
51
  }
52
52
  function Sn(e, t) {
@@ -95,7 +95,7 @@ function Ct(e) {
95
95
  );
96
96
  }
97
97
  function _t(e, t) {
98
- return e === t ? !0 : typeof e != typeof t ? !1 : e && t && typeof e == "object" && typeof t == "object" ? !Object.keys(t).some((r) => !_t(e[r], t[r])) : !1;
98
+ return e === t ? !0 : typeof e != typeof t ? !1 : e && t && typeof e == "object" && typeof t == "object" ? Object.keys(t).every((r) => _t(e[r], t[r])) : !1;
99
99
  }
100
100
  function Wr(e, t) {
101
101
  if (e === t)
@@ -112,7 +112,7 @@ function Wr(e, t) {
112
112
  }
113
113
  return t;
114
114
  }
115
- function Au(e, t) {
115
+ function mu(e, t) {
116
116
  if (!t || Object.keys(e).length !== Object.keys(t).length)
117
117
  return !1;
118
118
  for (const r in e)
@@ -135,12 +135,12 @@ function Jr(e) {
135
135
  function In(e) {
136
136
  return Object.prototype.toString.call(e) === "[object Object]";
137
137
  }
138
- function Pi(e) {
138
+ function Ni(e) {
139
139
  return new Promise((t) => {
140
140
  setTimeout(t, e);
141
141
  });
142
142
  }
143
- function xi(e, t, r) {
143
+ function Pi(e, t, r) {
144
144
  if (typeof r.structuralSharing == "function")
145
145
  return r.structuralSharing(e, t);
146
146
  if (r.structuralSharing !== !1) {
@@ -156,11 +156,11 @@ function xi(e, t, r) {
156
156
  }
157
157
  return t;
158
158
  }
159
- function Di(e, t, r = 0) {
159
+ function xi(e, t, r = 0) {
160
160
  const n = [...e, t];
161
161
  return r && n.length > r ? n.slice(1) : n;
162
162
  }
163
- function Mi(e, t, r = 0) {
163
+ function Di(e, t, r = 0) {
164
164
  const n = [t, ...e];
165
165
  return r && n.length > r ? n.slice(0, -1) : n;
166
166
  }
@@ -170,7 +170,7 @@ function ls(e, t) {
170
170
  `Attempted to invoke queryFn when set to skipToken. This is likely a configuration error. Query hash: '${e.queryHash}'`
171
171
  ), !e.queryFn && (t != null && t.initialPromise) ? () => t.initialPromise : !e.queryFn || e.queryFn === dr ? () => Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)) : e.queryFn;
172
172
  }
173
- var He, _e, nt, Yn, Li = (Yn = class extends Sr {
173
+ var He, _e, nt, Yn, Mi = (Yn = class extends Sr {
174
174
  constructor() {
175
175
  super();
176
176
  I(this, He);
@@ -211,7 +211,7 @@ var He, _e, nt, Yn, Li = (Yn = class extends Sr {
211
211
  var t;
212
212
  return typeof f(this, He) == "boolean" ? f(this, He) : ((t = globalThis.document) == null ? void 0 : t.visibilityState) !== "hidden";
213
213
  }
214
- }, He = new WeakMap(), _e = new WeakMap(), nt = new WeakMap(), Yn), us = new Li(), st, Ne, it, Xn, $i = (Xn = class extends Sr {
214
+ }, He = new WeakMap(), _e = new WeakMap(), nt = new WeakMap(), Yn), us = new Mi(), st, Ne, it, Xn, Li = (Xn = class extends Sr {
215
215
  constructor() {
216
216
  super();
217
217
  I(this, st, !0);
@@ -245,8 +245,8 @@ var He, _e, nt, Yn, Li = (Yn = class extends Sr {
245
245
  isOnline() {
246
246
  return f(this, st);
247
247
  }
248
- }, st = new WeakMap(), Ne = new WeakMap(), it = new WeakMap(), Xn), Nt = new $i();
249
- function Ui() {
248
+ }, st = new WeakMap(), Ne = new WeakMap(), it = new WeakMap(), Xn), Nt = new Li();
249
+ function $i() {
250
250
  let e, t;
251
251
  const r = new Promise((s, i) => {
252
252
  e = s, t = i;
@@ -268,7 +268,7 @@ function Ui() {
268
268
  }), t(s);
269
269
  }, r;
270
270
  }
271
- function Ki(e) {
271
+ function Ui(e) {
272
272
  return Math.min(1e3 * 2 ** e, 3e4);
273
273
  }
274
274
  function ds(e) {
@@ -284,7 +284,7 @@ function Pr(e) {
284
284
  }
285
285
  function hs(e) {
286
286
  let t = !1, r = 0, n = !1, s;
287
- const i = Ui(), a = (g) => {
287
+ const i = $i(), a = (g) => {
288
288
  var v;
289
289
  n || (h(new fs(g)), (v = e.abort) == null || v.call(e));
290
290
  }, o = () => {
@@ -319,12 +319,12 @@ function hs(e) {
319
319
  var L;
320
320
  if (n)
321
321
  return;
322
- const O = e.retry ?? (Ar ? 0 : 3), T = e.retryDelay ?? Ki, R = typeof T == "function" ? T(r, k) : T, C = O === !0 || typeof O == "number" && r < O || typeof O == "function" && O(r, k);
322
+ const O = e.retry ?? (Ar ? 0 : 3), T = e.retryDelay ?? Ui, R = typeof T == "function" ? T(r, k) : T, C = O === !0 || typeof O == "number" && r < O || typeof O == "function" && O(r, k);
323
323
  if (t || !C) {
324
324
  h(k);
325
325
  return;
326
326
  }
327
- r++, (L = e.onFail) == null || L.call(e, r, k), Pi(R).then(() => l() ? void 0 : y()).then(() => {
327
+ r++, (L = e.onFail) == null || L.call(e, r, k), Ni(R).then(() => l() ? void 0 : y()).then(() => {
328
328
  t ? h(k) : m();
329
329
  });
330
330
  });
@@ -339,13 +339,13 @@ function hs(e) {
339
339
  start: () => (d() ? m() : y().then(m), i)
340
340
  };
341
341
  }
342
- var Hi = (e) => setTimeout(e, 0);
343
- function Fi() {
342
+ var Ki = (e) => setTimeout(e, 0);
343
+ function Hi() {
344
344
  let e = [], t = 0, r = (o) => {
345
345
  o();
346
346
  }, n = (o) => {
347
347
  o();
348
- }, s = Hi;
348
+ }, s = Ki;
349
349
  const i = (o) => {
350
350
  t ? e.push(o) : s(() => {
351
351
  r(o);
@@ -399,7 +399,7 @@ function Fi() {
399
399
  }
400
400
  };
401
401
  }
402
- var te = Fi(), Fe, Zn, ys = (Zn = class {
402
+ var te = Hi(), Fe, Zn, ys = (Zn = class {
403
403
  constructor() {
404
404
  I(this, Fe);
405
405
  }
@@ -407,7 +407,7 @@ var te = Fi(), Fe, Zn, ys = (Zn = class {
407
407
  this.clearGcTimeout();
408
408
  }
409
409
  scheduleGc() {
410
- this.clearGcTimeout(), Ci(this.gcTime) && w(this, Fe, setTimeout(() => {
410
+ this.clearGcTimeout(), Oi(this.gcTime) && w(this, Fe, setTimeout(() => {
411
411
  this.optionalRemove();
412
412
  }, this.gcTime));
413
413
  }
@@ -420,7 +420,7 @@ var te = Fi(), Fe, Zn, ys = (Zn = class {
420
420
  clearGcTimeout() {
421
421
  f(this, Fe) && (clearTimeout(f(this, Fe)), w(this, Fe, void 0));
422
422
  }
423
- }, Fe = new WeakMap(), Zn), at, ot, se, Be, z, Kt, Ve, ce, Ee, es, Bi = (es = class extends ys {
423
+ }, Fe = new WeakMap(), Zn), at, ot, se, Be, z, Kt, Ve, ce, Ee, es, Fi = (es = class extends ys {
424
424
  constructor(t) {
425
425
  super();
426
426
  I(this, ce);
@@ -431,7 +431,7 @@ var te = Fi(), Fe, Zn, ys = (Zn = class {
431
431
  I(this, z);
432
432
  I(this, Kt);
433
433
  I(this, Ve);
434
- w(this, Ve, !1), w(this, Kt, t.defaultOptions), this.setOptions(t.options), this.observers = [], w(this, Be, t.client), w(this, se, f(this, Be).getQueryCache()), this.queryKey = t.queryKey, this.queryHash = t.queryHash, w(this, at, ji(this.options)), this.state = t.state ?? f(this, at), this.scheduleGc();
434
+ w(this, Ve, !1), w(this, Kt, t.defaultOptions), this.setOptions(t.options), this.observers = [], w(this, Be, t.client), w(this, se, f(this, Be).getQueryCache()), this.queryKey = t.queryKey, this.queryHash = t.queryHash, w(this, at, Vi(this.options)), this.state = t.state ?? f(this, at), this.scheduleGc();
435
435
  }
436
436
  get meta() {
437
437
  return this.options.meta;
@@ -447,7 +447,7 @@ var te = Fi(), Fe, Zn, ys = (Zn = class {
447
447
  !this.observers.length && this.state.fetchStatus === "idle" && f(this, se).remove(this);
448
448
  }
449
449
  setData(t, r) {
450
- const n = xi(this.state.data, t, this.options);
450
+ const n = Pi(this.state.data, t, this.options);
451
451
  return J(this, ce, Ee).call(this, {
452
452
  data: n,
453
453
  type: "success",
@@ -471,7 +471,7 @@ var te = Fi(), Fe, Zn, ys = (Zn = class {
471
471
  }
472
472
  isActive() {
473
473
  return this.observers.some(
474
- (t) => Ni(t.options.enabled, this) !== !1
474
+ (t) => _i(t.options.enabled, this) !== !1
475
475
  );
476
476
  }
477
477
  isDisabled() {
@@ -483,7 +483,7 @@ var te = Fi(), Fe, Zn, ys = (Zn = class {
483
483
  ) : this.state.data === void 0;
484
484
  }
485
485
  isStaleByTime(t = 0) {
486
- return this.state.isInvalidated || this.state.data === void 0 || !_i(this.state.dataUpdatedAt, t);
486
+ return this.state.isInvalidated || this.state.data === void 0 || !Ci(this.state.dataUpdatedAt, t);
487
487
  }
488
488
  onFocus() {
489
489
  var r;
@@ -629,7 +629,7 @@ var te = Fi(), Fe, Zn, ys = (Zn = class {
629
629
  case "fetch":
630
630
  return {
631
631
  ...n,
632
- ...Vi(n.data, this.options),
632
+ ...Bi(n.data, this.options),
633
633
  fetchMeta: t.meta ?? null
634
634
  };
635
635
  case "success":
@@ -677,7 +677,7 @@ var te = Fi(), Fe, Zn, ys = (Zn = class {
677
677
  }), f(this, se).notify({ query: this, type: "updated", action: t });
678
678
  });
679
679
  }, es);
680
- function Vi(e, t) {
680
+ function Bi(e, t) {
681
681
  return {
682
682
  fetchFailureCount: 0,
683
683
  fetchFailureReason: null,
@@ -688,7 +688,7 @@ function Vi(e, t) {
688
688
  }
689
689
  };
690
690
  }
691
- function ji(e) {
691
+ function Vi(e) {
692
692
  const t = typeof e.initialData == "function" ? e.initialData() : e.initialData, r = t !== void 0, n = r ? typeof e.initialDataUpdatedAt == "function" ? e.initialDataUpdatedAt() : e.initialDataUpdatedAt : 0;
693
693
  return {
694
694
  data: t,
@@ -705,7 +705,7 @@ function ji(e) {
705
705
  fetchStatus: "idle"
706
706
  };
707
707
  }
708
- var he, ts, Gi = (ts = class extends Sr {
708
+ var he, ts, ji = (ts = class extends Sr {
709
709
  constructor(t = {}) {
710
710
  super();
711
711
  I(this, he);
@@ -714,7 +714,7 @@ var he, ts, Gi = (ts = class extends Sr {
714
714
  build(t, r, n) {
715
715
  const s = r.queryKey, i = r.queryHash ?? dn(s, r);
716
716
  let a = this.get(i);
717
- return a || (a = new Bi({
717
+ return a || (a = new Fi({
718
718
  client: t,
719
719
  queryKey: s,
720
720
  queryHash: i,
@@ -777,14 +777,14 @@ var he, ts, Gi = (ts = class extends Sr {
777
777
  });
778
778
  });
779
779
  }
780
- }, he = new WeakMap(), ts), ye, ee, je, me, Ce, rs, qi = (rs = class extends ys {
780
+ }, he = new WeakMap(), ts), ye, ee, je, me, Ce, rs, Gi = (rs = class extends ys {
781
781
  constructor(t) {
782
782
  super();
783
783
  I(this, me);
784
784
  I(this, ye);
785
785
  I(this, ee);
786
786
  I(this, je);
787
- this.mutationId = t.mutationId, w(this, ee, t.mutationCache), w(this, ye, []), this.state = t.state || Wi(), this.setOptions(t.options), this.scheduleGc();
787
+ this.mutationId = t.mutationId, w(this, ee, t.mutationCache), w(this, ye, []), this.state = t.state || qi(), this.setOptions(t.options), this.scheduleGc();
788
788
  }
789
789
  setOptions(t) {
790
790
  this.options = t, this.updateGcTime(this.options.gcTime);
@@ -961,7 +961,7 @@ var he, ts, Gi = (ts = class extends Sr {
961
961
  });
962
962
  });
963
963
  }, rs);
964
- function Wi() {
964
+ function qi() {
965
965
  return {
966
966
  context: void 0,
967
967
  data: void 0,
@@ -974,7 +974,7 @@ function Wi() {
974
974
  submittedAt: 0
975
975
  };
976
976
  }
977
- var Se, le, Ht, ns, Ji = (ns = class extends Sr {
977
+ var Se, le, Ht, ns, Wi = (ns = class extends Sr {
978
978
  constructor(t = {}) {
979
979
  super();
980
980
  I(this, Se);
@@ -983,7 +983,7 @@ var Se, le, Ht, ns, Ji = (ns = class extends Sr {
983
983
  this.config = t, w(this, Se, /* @__PURE__ */ new Set()), w(this, le, /* @__PURE__ */ new Map()), w(this, Ht, 0);
984
984
  }
985
985
  build(t, r, n) {
986
- const s = new qi({
986
+ const s = new Gi({
987
987
  mutationCache: this,
988
988
  mutationId: ++Wt(this, Ht)._,
989
989
  options: t.defaultMutationOptions(r),
@@ -1102,14 +1102,14 @@ function kn(e) {
1102
1102
  v(L);
1103
1103
  const H = await k(
1104
1104
  L
1105
- ), { maxPages: S } = t.options, A = C ? Mi : Di;
1105
+ ), { maxPages: S } = t.options, A = C ? Di : xi;
1106
1106
  return {
1107
1107
  pages: A(T.pages, H, S),
1108
1108
  pageParams: A(T.pageParams, R, S)
1109
1109
  };
1110
1110
  };
1111
1111
  if (s && i.length) {
1112
- const T = s === "backward", R = T ? zi : Rn, C = {
1112
+ const T = s === "backward", R = T ? Ji : Rn, C = {
1113
1113
  pages: i,
1114
1114
  pageParams: a
1115
1115
  }, L = R(n, C);
@@ -1151,11 +1151,11 @@ function Rn(e, { pages: t, pageParams: r }) {
1151
1151
  r
1152
1152
  ) : void 0;
1153
1153
  }
1154
- function zi(e, { pages: t, pageParams: r }) {
1154
+ function Ji(e, { pages: t, pageParams: r }) {
1155
1155
  var n;
1156
1156
  return t.length > 0 ? (n = e.getPreviousPageParam) == null ? void 0 : n.call(e, t[0], t, r[0], r) : void 0;
1157
1157
  }
1158
- var U, Pe, xe, ct, lt, De, ut, dt, ss, Qi = (ss = class {
1158
+ var U, Pe, xe, ct, lt, De, ut, dt, ss, zi = (ss = class {
1159
1159
  constructor(e = {}) {
1160
1160
  I(this, U);
1161
1161
  I(this, Pe);
@@ -1165,7 +1165,7 @@ var U, Pe, xe, ct, lt, De, ut, dt, ss, Qi = (ss = class {
1165
1165
  I(this, De);
1166
1166
  I(this, ut);
1167
1167
  I(this, dt);
1168
- w(this, U, e.queryCache || new Gi()), w(this, Pe, e.mutationCache || new Ji()), w(this, xe, e.defaultOptions || {}), w(this, ct, /* @__PURE__ */ new Map()), w(this, lt, /* @__PURE__ */ new Map()), w(this, De, 0);
1168
+ w(this, U, e.queryCache || new ji()), w(this, Pe, e.mutationCache || new Wi()), w(this, xe, e.defaultOptions || {}), w(this, ct, /* @__PURE__ */ new Map()), w(this, lt, /* @__PURE__ */ new Map()), w(this, De, 0);
1169
1169
  }
1170
1170
  mount() {
1171
1171
  Wt(this, De)._++, f(this, De) === 1 && (w(this, ut, us.subscribe(async (e) => {
@@ -1209,7 +1209,7 @@ var U, Pe, xe, ct, lt, De, ut, dt, ss, Qi = (ss = class {
1209
1209
  setQueryData(e, t, r) {
1210
1210
  const n = this.defaultQueryOptions({ queryKey: e }), s = f(this, U).get(
1211
1211
  n.queryHash
1212
- ), i = s == null ? void 0 : s.state.data, a = Oi(t, i);
1212
+ ), i = s == null ? void 0 : s.state.data, a = Ri(t, i);
1213
1213
  if (a !== void 0)
1214
1214
  return f(this, U).build(this, n).setData(a, { ...r, manual: !0 });
1215
1215
  }
@@ -1363,20 +1363,20 @@ var U, Pe, xe, ct, lt, De, ut, dt, ss, Qi = (ss = class {
1363
1363
  }
1364
1364
  }, U = new WeakMap(), Pe = new WeakMap(), xe = new WeakMap(), ct = new WeakMap(), lt = new WeakMap(), De = new WeakMap(), ut = new WeakMap(), dt = new WeakMap(), ss), ms = ae.createContext(
1365
1365
  void 0
1366
- ), Yi = (e) => {
1366
+ ), Qi = (e) => {
1367
1367
  const t = ae.useContext(ms);
1368
1368
  if (e)
1369
1369
  return e;
1370
1370
  if (!t)
1371
1371
  throw new Error("No QueryClient set, use QueryClientProvider to set one");
1372
1372
  return t;
1373
- }, Xi = ({
1373
+ }, Yi = ({
1374
1374
  client: e,
1375
1375
  children: t
1376
1376
  }) => (ae.useEffect(() => (e.mount(), () => {
1377
1377
  e.unmount();
1378
- }), [e]), /* @__PURE__ */ p(ms.Provider, { value: e, children: t })), Zi = (e, t) => e === t, fr = Symbol("solid-proxy"), ps = typeof Proxy == "function", hr = {
1379
- equals: Zi
1378
+ }), [e]), /* @__PURE__ */ p(ms.Provider, { value: e, children: t })), Xi = (e, t) => e === t, fr = Symbol("solid-proxy"), ps = typeof Proxy == "function", hr = {
1379
+ equals: Xi
1380
1380
  }, gs = As, Re = 1, yr = 2, bs = {
1381
1381
  owned: null,
1382
1382
  cleanups: null,
@@ -1407,7 +1407,7 @@ function ne(e, t) {
1407
1407
  }, n = (s) => (typeof s == "function" && (s = s(r.value)), Ss(r, s));
1408
1408
  return [Es.bind(r), n];
1409
1409
  }
1410
- function ea(e, t, r) {
1410
+ function Zi(e, t, r) {
1411
1411
  const n = Ir(e, t, !0, Re);
1412
1412
  St(n);
1413
1413
  }
@@ -1416,7 +1416,7 @@ function We(e, t, r) {
1416
1416
  St(n);
1417
1417
  }
1418
1418
  function ws(e, t, r) {
1419
- gs = ua;
1419
+ gs = la;
1420
1420
  const n = Ir(e, t, !1, Re);
1421
1421
  (!r || !r.render) && (n.user = !0), Ie ? Ie.push(n) : St(n);
1422
1422
  }
@@ -1425,10 +1425,10 @@ function q(e, t, r) {
1425
1425
  const n = Ir(e, t, !0, 0);
1426
1426
  return n.observers = null, n.observerSlots = null, n.comparator = r.equals || void 0, St(n), Es.bind(n);
1427
1427
  }
1428
- function ta(e) {
1428
+ function ea(e) {
1429
1429
  return e && typeof e == "object" && "then" in e;
1430
1430
  }
1431
- function ra(e, t, r) {
1431
+ function ta(e, t, r) {
1432
1432
  let n, s, i;
1433
1433
  n = !0, s = e, i = {};
1434
1434
  let a = null, o = xr, c = !1, l = "initialValue" in i, d = typeof n == "function" && q(n);
@@ -1468,7 +1468,7 @@ function ra(e, t, r) {
1468
1468
  refetching: S
1469
1469
  })
1470
1470
  );
1471
- return ta(P) ? (a = P, "value" in P ? (P.status === "success" ? R(a, P.value, void 0, A) : R(a, void 0, zr(P.value), A), P) : (c = !0, queueMicrotask(() => c = !1), be(() => {
1471
+ return ea(P) ? (a = P, "value" in P ? (P.status === "success" ? R(a, P.value, void 0, A) : R(a, void 0, zr(P.value), A), P) : (c = !0, queueMicrotask(() => c = !1), be(() => {
1472
1472
  T(l ? "refreshing" : "pending"), k();
1473
1473
  }, !1), P.then(
1474
1474
  (N) => R(P, N, void 0, A),
@@ -1496,7 +1496,7 @@ function ra(e, t, r) {
1496
1496
  return h();
1497
1497
  }
1498
1498
  }
1499
- }), d ? ea(() => H(!1)) : H(!1), [
1499
+ }), d ? Zi(() => H(!1)) : H(!1), [
1500
1500
  L,
1501
1501
  {
1502
1502
  refetch: H,
@@ -1504,7 +1504,7 @@ function ra(e, t, r) {
1504
1504
  }
1505
1505
  ];
1506
1506
  }
1507
- function Tu(e) {
1507
+ function pu(e) {
1508
1508
  return be(e, !1);
1509
1509
  }
1510
1510
  function W(e) {
@@ -1517,7 +1517,7 @@ function W(e) {
1517
1517
  M = t;
1518
1518
  }
1519
1519
  }
1520
- function Iu(e, t, r) {
1520
+ function gu(e, t, r) {
1521
1521
  const n = Array.isArray(e);
1522
1522
  let s, i = r && r.defer;
1523
1523
  return (a) => {
@@ -1532,16 +1532,16 @@ function Iu(e, t, r) {
1532
1532
  return s = o, c;
1533
1533
  };
1534
1534
  }
1535
- function na(e) {
1535
+ function ra(e) {
1536
1536
  ws(() => W(e));
1537
1537
  }
1538
1538
  function Pt(e) {
1539
1539
  return _ === null || (_.cleanups === null ? _.cleanups = [e] : _.cleanups.push(e)), e;
1540
1540
  }
1541
- function sa() {
1541
+ function na() {
1542
1542
  return _;
1543
1543
  }
1544
- function ia(e, t) {
1544
+ function sa(e, t) {
1545
1545
  const r = _, n = M;
1546
1546
  _ = e, M = null;
1547
1547
  try {
@@ -1552,7 +1552,7 @@ function ia(e, t) {
1552
1552
  _ = r, M = n;
1553
1553
  }
1554
1554
  }
1555
- function aa(e) {
1555
+ function ia(e) {
1556
1556
  const t = M, r = _;
1557
1557
  return Promise.resolve().then(() => {
1558
1558
  M = t, _ = r;
@@ -1560,19 +1560,19 @@ function aa(e) {
1560
1560
  return be(e, !1), M = _ = null, n ? n.done : void 0;
1561
1561
  });
1562
1562
  }
1563
- var [oa, ku] = /* @__PURE__ */ ne(!1);
1564
- function Ru() {
1565
- return [oa, aa];
1563
+ var [aa, bu] = /* @__PURE__ */ ne(!1);
1564
+ function wu() {
1565
+ return [aa, ia];
1566
1566
  }
1567
- function Ou(e, t) {
1567
+ function vu(e, t) {
1568
1568
  const r = Symbol("context");
1569
1569
  return {
1570
1570
  id: r,
1571
- Provider: da(r),
1571
+ Provider: ua(r),
1572
1572
  defaultValue: e
1573
1573
  };
1574
1574
  }
1575
- function Cu(e) {
1575
+ function Eu(e) {
1576
1576
  let t;
1577
1577
  return _ && _.context && (t = _.context[e.id]) !== void 0 ? t : e.defaultValue;
1578
1578
  }
@@ -1611,13 +1611,13 @@ function St(e) {
1611
1611
  if (!e.fn) return;
1612
1612
  xt(e);
1613
1613
  const t = Tr;
1614
- ca(
1614
+ oa(
1615
1615
  e,
1616
1616
  e.value,
1617
1617
  t
1618
1618
  );
1619
1619
  }
1620
- function ca(e, t, r) {
1620
+ function oa(e, t, r) {
1621
1621
  let n;
1622
1622
  const s = _, i = M;
1623
1623
  M = _ = e;
@@ -1667,12 +1667,12 @@ function be(e, t) {
1667
1667
  t || (Y = []), Ie ? r = !0 : Ie = [], Tr++;
1668
1668
  try {
1669
1669
  const n = e();
1670
- return la(r), n;
1670
+ return ca(r), n;
1671
1671
  } catch (n) {
1672
1672
  r || (Ie = null), Y = null, fn(n);
1673
1673
  }
1674
1674
  }
1675
- function la(e) {
1675
+ function ca(e) {
1676
1676
  if (Y && (As(Y), Y = null), e) return;
1677
1677
  const t = Ie;
1678
1678
  Ie = null, t.length && be(() => gs(t), !1);
@@ -1680,7 +1680,7 @@ function la(e) {
1680
1680
  function As(e) {
1681
1681
  for (let t = 0; t < e.length; t++) mr(e[t]);
1682
1682
  }
1683
- function ua(e) {
1683
+ function la(e) {
1684
1684
  let t, r = 0;
1685
1685
  for (t = 0; t < e.length; t++) {
1686
1686
  const n = e[t];
@@ -1748,7 +1748,7 @@ function Qr(e) {
1748
1748
  }
1749
1749
  return e;
1750
1750
  }
1751
- function da(e, t) {
1751
+ function ua(e, t) {
1752
1752
  return function(n) {
1753
1753
  let s;
1754
1754
  return We(
@@ -1764,7 +1764,7 @@ var Yr = Symbol("fallback");
1764
1764
  function gr(e) {
1765
1765
  for (let t = 0; t < e.length; t++) e[t]();
1766
1766
  }
1767
- function fa(e, t, r = {}) {
1767
+ function da(e, t, r = {}) {
1768
1768
  let n = [], s = [], i = [], a = 0, o = t.length > 1 ? [] : null;
1769
1769
  return Pt(() => gr(i)), () => {
1770
1770
  let c = e() || [], l = c.length, d, u;
@@ -1799,7 +1799,7 @@ function fa(e, t, r = {}) {
1799
1799
  }
1800
1800
  };
1801
1801
  }
1802
- function ha(e, t, r = {}) {
1802
+ function fa(e, t, r = {}) {
1803
1803
  let n = [], s = [], i = [], a = [], o = 0, c;
1804
1804
  return Pt(() => gr(i)), () => {
1805
1805
  const l = e() || [], d = l.length;
@@ -1819,7 +1819,7 @@ function ha(e, t, r = {}) {
1819
1819
  }
1820
1820
  };
1821
1821
  }
1822
- function ya(e, t) {
1822
+ function ha(e, t) {
1823
1823
  return W(() => e(t || {}));
1824
1824
  }
1825
1825
  function zt() {
@@ -1852,13 +1852,13 @@ var Xr = {
1852
1852
  function Dr(e) {
1853
1853
  return (e = typeof e == "function" ? e() : e) ? e : {};
1854
1854
  }
1855
- function ma() {
1855
+ function ya() {
1856
1856
  for (let e = 0, t = this.length; e < t; ++e) {
1857
1857
  const r = this[e]();
1858
1858
  if (r !== void 0) return r;
1859
1859
  }
1860
1860
  }
1861
- function pa(...e) {
1861
+ function ma(...e) {
1862
1862
  let t = !1;
1863
1863
  for (let a = 0; a < e.length; a++) {
1864
1864
  const o = e[a];
@@ -1900,7 +1900,7 @@ function pa(...e) {
1900
1900
  n[d] = u.get ? {
1901
1901
  enumerable: !0,
1902
1902
  configurable: !0,
1903
- get: ma.bind(r[d] = [u.get.bind(o)])
1903
+ get: ya.bind(r[d] = [u.get.bind(o)])
1904
1904
  } : u.value !== void 0 ? u : void 0;
1905
1905
  else {
1906
1906
  const h = r[d];
@@ -1915,7 +1915,7 @@ function pa(...e) {
1915
1915
  }
1916
1916
  return s;
1917
1917
  }
1918
- function ga(e, ...t) {
1918
+ function pa(e, ...t) {
1919
1919
  if (ps && fr in e) {
1920
1920
  const s = new Set(t.length > 1 ? t.flat() : t[0]), i = t.map((a) => new Proxy(
1921
1921
  {
@@ -1958,11 +1958,11 @@ function ga(e, ...t) {
1958
1958
  }
1959
1959
  return [...n, r];
1960
1960
  }
1961
- function ba(e) {
1961
+ function ga(e) {
1962
1962
  let t, r;
1963
1963
  const n = (s) => {
1964
1964
  if (!t) {
1965
- const [a] = ra(() => (r || (r = e())).then((o) => o.default));
1965
+ const [a] = ta(() => (r || (r = e())).then((o) => o.default));
1966
1966
  t = a;
1967
1967
  }
1968
1968
  let i;
@@ -1972,24 +1972,24 @@ function ba(e) {
1972
1972
  };
1973
1973
  return n.preload = () => r || ((r = e()).then((s) => t = () => s.default), r), n;
1974
1974
  }
1975
- var wa = 0;
1976
- function _u() {
1977
- return `cl-${wa++}`;
1975
+ var ba = 0;
1976
+ function Su() {
1977
+ return `cl-${ba++}`;
1978
1978
  }
1979
1979
  var Is = (e) => `Stale read from <${e}>.`;
1980
- function Nu(e) {
1980
+ function Au(e) {
1981
1981
  const t = "fallback" in e && {
1982
1982
  fallback: () => e.fallback
1983
1983
  };
1984
- return q(fa(() => e.each, e.children, t || void 0));
1984
+ return q(da(() => e.each, e.children, t || void 0));
1985
1985
  }
1986
- function Pu(e) {
1986
+ function Tu(e) {
1987
1987
  const t = "fallback" in e && {
1988
1988
  fallback: () => e.fallback
1989
1989
  };
1990
- return q(ha(() => e.each, e.children, t || void 0));
1990
+ return q(fa(() => e.each, e.children, t || void 0));
1991
1991
  }
1992
- function xu(e) {
1992
+ function Iu(e) {
1993
1993
  const t = e.keyed, r = q(() => e.when, void 0, void 0), n = t ? r : q(r, void 0, {
1994
1994
  equals: (s, i) => !s == !i
1995
1995
  });
@@ -2013,7 +2013,7 @@ function xu(e) {
2013
2013
  void 0
2014
2014
  );
2015
2015
  }
2016
- function Du(e) {
2016
+ function ku(e) {
2017
2017
  const t = vs(() => e.children), r = q(() => {
2018
2018
  const n = t(), s = Array.isArray(n) ? n : [n];
2019
2019
  let i = () => {
@@ -2049,10 +2049,10 @@ function Du(e) {
2049
2049
  void 0
2050
2050
  );
2051
2051
  }
2052
- function Mu(e) {
2052
+ function Ru(e) {
2053
2053
  return e;
2054
2054
  }
2055
- var va = [
2055
+ var wa = [
2056
2056
  "allowfullscreen",
2057
2057
  "async",
2058
2058
  "autofocus",
@@ -2078,7 +2078,7 @@ var va = [
2078
2078
  "reversed",
2079
2079
  "seamless",
2080
2080
  "selected"
2081
- ], Ea = /* @__PURE__ */ new Set([
2081
+ ], va = /* @__PURE__ */ new Set([
2082
2082
  "className",
2083
2083
  "value",
2084
2084
  "readOnly",
@@ -2086,16 +2086,16 @@ var va = [
2086
2086
  "isMap",
2087
2087
  "noModule",
2088
2088
  "playsInline",
2089
- ...va
2090
- ]), Sa = /* @__PURE__ */ new Set([
2089
+ ...wa
2090
+ ]), Ea = /* @__PURE__ */ new Set([
2091
2091
  "innerHTML",
2092
2092
  "textContent",
2093
2093
  "innerText",
2094
2094
  "children"
2095
- ]), Aa = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(null), {
2095
+ ]), Sa = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(null), {
2096
2096
  className: "class",
2097
2097
  htmlFor: "for"
2098
- }), Ta = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(null), {
2098
+ }), Aa = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(null), {
2099
2099
  class: "className",
2100
2100
  formnovalidate: {
2101
2101
  $: "formNoValidate",
@@ -2120,11 +2120,11 @@ var va = [
2120
2120
  TEXTAREA: 1
2121
2121
  }
2122
2122
  });
2123
- function Ia(e, t) {
2124
- const r = Ta[e];
2123
+ function Ta(e, t) {
2124
+ const r = Aa[e];
2125
2125
  return typeof r == "object" ? r[t] ? r.$ : void 0 : r;
2126
2126
  }
2127
- var ka = /* @__PURE__ */ new Set([
2127
+ var Ia = /* @__PURE__ */ new Set([
2128
2128
  "beforeinput",
2129
2129
  "click",
2130
2130
  "dblclick",
@@ -2147,7 +2147,7 @@ var ka = /* @__PURE__ */ new Set([
2147
2147
  "touchend",
2148
2148
  "touchmove",
2149
2149
  "touchstart"
2150
- ]), Ra = /* @__PURE__ */ new Set([
2150
+ ]), ka = /* @__PURE__ */ new Set([
2151
2151
  "altGlyph",
2152
2152
  "altGlyphDef",
2153
2153
  "altGlyphItem",
@@ -2225,11 +2225,11 @@ var ka = /* @__PURE__ */ new Set([
2225
2225
  "use",
2226
2226
  "view",
2227
2227
  "vkern"
2228
- ]), Oa = {
2228
+ ]), Ra = {
2229
2229
  xlink: "http://www.w3.org/1999/xlink",
2230
2230
  xml: "http://www.w3.org/XML/1998/namespace"
2231
2231
  };
2232
- function Ca(e, t, r) {
2232
+ function Oa(e, t, r) {
2233
2233
  let n = r.length, s = t.length, i = n, a = 0, o = 0, c = t[s - 1].nextSibling, l = null;
2234
2234
  for (; a < s || o < i; ) {
2235
2235
  if (t[a] === r[o]) {
@@ -2269,7 +2269,7 @@ function Ca(e, t, r) {
2269
2269
  }
2270
2270
  }
2271
2271
  var It = "_$DX_DELEGATE";
2272
- function _a(e, t, r, n = {}) {
2272
+ function Ca(e, t, r, n = {}) {
2273
2273
  let s;
2274
2274
  return qe((i) => {
2275
2275
  s = i, t === document ? e() : en(t, e(), t.firstChild ? null : void 0, r);
@@ -2277,7 +2277,7 @@ function _a(e, t, r, n = {}) {
2277
2277
  s(), t.textContent = "";
2278
2278
  };
2279
2279
  }
2280
- function Lu(e, t, r, n) {
2280
+ function Ou(e, t, r, n) {
2281
2281
  let s;
2282
2282
  const i = () => {
2283
2283
  const o = document.createElement("template");
@@ -2285,14 +2285,14 @@ function Lu(e, t, r, n) {
2285
2285
  }, a = () => (s || (s = i())).cloneNode(!0);
2286
2286
  return a.cloneNode = a, a;
2287
2287
  }
2288
- function Na(e, t = window.document) {
2288
+ function _a(e, t = window.document) {
2289
2289
  const r = t[It] || (t[It] = /* @__PURE__ */ new Set());
2290
2290
  for (let n = 0, s = e.length; n < s; n++) {
2291
2291
  const i = e[n];
2292
2292
  r.has(i) || (r.add(i), t.addEventListener(i, ks));
2293
2293
  }
2294
2294
  }
2295
- function $u(e = window.document) {
2295
+ function Cu(e = window.document) {
2296
2296
  if (e[It]) {
2297
2297
  for (let t of e[It].keys()) e.removeEventListener(t, ks);
2298
2298
  delete e[It];
@@ -2301,16 +2301,16 @@ function $u(e = window.document) {
2301
2301
  function Zr(e, t, r) {
2302
2302
  r == null ? e.removeAttribute(t) : e.setAttribute(t, r);
2303
2303
  }
2304
- function Pa(e, t, r, n) {
2304
+ function Na(e, t, r, n) {
2305
2305
  n == null ? e.removeAttributeNS(t, r) : e.setAttributeNS(t, r, n);
2306
2306
  }
2307
- function xa(e, t, r) {
2307
+ function Pa(e, t, r) {
2308
2308
  r ? e.setAttribute(t, "") : e.removeAttribute(t);
2309
2309
  }
2310
- function Da(e, t) {
2310
+ function xa(e, t) {
2311
2311
  t == null ? e.removeAttribute("class") : e.className = t;
2312
2312
  }
2313
- function Ma(e, t, r, n) {
2313
+ function Da(e, t, r, n) {
2314
2314
  if (n)
2315
2315
  Array.isArray(r) ? (e[`$$${t}`] = r[0], e[`$$${t}Data`] = r[1]) : e[`$$${t}`] = r;
2316
2316
  else if (Array.isArray(r)) {
@@ -2318,7 +2318,7 @@ function Ma(e, t, r, n) {
2318
2318
  e.addEventListener(t, r[0] = (i) => s.call(e, r[1], i));
2319
2319
  } else e.addEventListener(t, r, typeof r != "function" && r);
2320
2320
  }
2321
- function La(e, t, r = {}) {
2321
+ function Ma(e, t, r = {}) {
2322
2322
  const n = Object.keys(t || {}), s = Object.keys(r);
2323
2323
  let i, a;
2324
2324
  for (i = 0, a = s.length; i < a; i++) {
@@ -2331,7 +2331,7 @@ function La(e, t, r = {}) {
2331
2331
  }
2332
2332
  return r;
2333
2333
  }
2334
- function $a(e, t, r) {
2334
+ function La(e, t, r) {
2335
2335
  if (!t) return r ? Zr(e, "style") : t;
2336
2336
  const n = e.style;
2337
2337
  if (typeof t == "string") return n.cssText = t;
@@ -2343,20 +2343,20 @@ function $a(e, t, r) {
2343
2343
  s = t[i], s !== r[i] && (n.setProperty(i, s), r[i] = s);
2344
2344
  return r;
2345
2345
  }
2346
- function Ua(e, t = {}, r, n) {
2346
+ function $a(e, t = {}, r, n) {
2347
2347
  const s = {};
2348
2348
  return n || We(
2349
2349
  () => s.children = Dt(e, t.children, s.children)
2350
- ), We(() => typeof t.ref == "function" && Ka(t.ref, e)), We(() => Ha(e, t, r, !0, s, !0)), s;
2350
+ ), We(() => typeof t.ref == "function" && Ua(t.ref, e)), We(() => Ka(e, t, r, !0, s, !0)), s;
2351
2351
  }
2352
- function Ka(e, t, r) {
2352
+ function Ua(e, t, r) {
2353
2353
  return W(() => e(t, r));
2354
2354
  }
2355
2355
  function en(e, t, r, n) {
2356
2356
  if (r !== void 0 && !n && (n = []), typeof t != "function") return Dt(e, t, n, r);
2357
2357
  We((s) => Dt(e, t(), s, r), n);
2358
2358
  }
2359
- function Ha(e, t, r, n, s = {}, i = !1) {
2359
+ function Ka(e, t, r, n, s = {}, i = !1) {
2360
2360
  t || (t = {});
2361
2361
  for (const a in s)
2362
2362
  if (!(a in t)) {
@@ -2370,7 +2370,7 @@ function Ha(e, t, r, n, s = {}, i = !1) {
2370
2370
  s[a] = Cn(e, a, o, s[a], r, i, t);
2371
2371
  }
2372
2372
  }
2373
- function Fa(e) {
2373
+ function Ha(e) {
2374
2374
  return e.toLowerCase().replace(/-([a-z])/g, (t, r) => r.toUpperCase());
2375
2375
  }
2376
2376
  function On(e, t, r) {
@@ -2380,8 +2380,8 @@ function On(e, t, r) {
2380
2380
  }
2381
2381
  function Cn(e, t, r, n, s, i, a) {
2382
2382
  let o, c, l, d, u;
2383
- if (t === "style") return $a(e, r, n);
2384
- if (t === "classList") return La(e, r, n);
2383
+ if (t === "style") return La(e, r, n);
2384
+ if (t === "classList") return Ma(e, r, n);
2385
2385
  if (r === n) return n;
2386
2386
  if (t === "ref")
2387
2387
  i || r(e);
@@ -2392,21 +2392,21 @@ function Cn(e, t, r, n, s, i, a) {
2392
2392
  const h = t.slice(10);
2393
2393
  n && e.removeEventListener(h, n, !0), r && e.addEventListener(h, r, !0);
2394
2394
  } else if (t.slice(0, 2) === "on") {
2395
- const h = t.slice(2).toLowerCase(), y = ka.has(h);
2395
+ const h = t.slice(2).toLowerCase(), y = Ia.has(h);
2396
2396
  if (!y && n) {
2397
2397
  const m = Array.isArray(n) ? n[0] : n;
2398
2398
  e.removeEventListener(h, m);
2399
2399
  }
2400
- (y || r) && (Ma(e, h, r, y), y && Na([h]));
2400
+ (y || r) && (Da(e, h, r, y), y && _a([h]));
2401
2401
  } else if (t.slice(0, 5) === "attr:")
2402
2402
  Zr(e, t.slice(5), r);
2403
2403
  else if (t.slice(0, 5) === "bool:")
2404
- xa(e, t.slice(5), r);
2405
- else if ((u = t.slice(0, 5) === "prop:") || (l = Sa.has(t)) || !s && ((d = Ia(t, e.tagName)) || (c = Ea.has(t))) || (o = e.nodeName.includes("-") || "is" in a))
2406
- u && (t = t.slice(5), c = !0), t === "class" || t === "className" ? Da(e, r) : o && !c && !l ? e[Fa(t)] = r : e[d || t] = r;
2404
+ Pa(e, t.slice(5), r);
2405
+ else if ((u = t.slice(0, 5) === "prop:") || (l = Ea.has(t)) || !s && ((d = Ta(t, e.tagName)) || (c = va.has(t))) || (o = e.nodeName.includes("-") || "is" in a))
2406
+ u && (t = t.slice(5), c = !0), t === "class" || t === "className" ? xa(e, r) : o && !c && !l ? e[Ha(t)] = r : e[d || t] = r;
2407
2407
  else {
2408
- const h = s && t.indexOf(":") > -1 && Oa[t.split(":")[0]];
2409
- h ? Pa(e, h, t, r) : Zr(e, Aa[t] || t, r);
2408
+ const h = s && t.indexOf(":") > -1 && Ra[t.split(":")[0]];
2409
+ h ? Na(e, h, t, r) : Zr(e, Sa[t] || t, r);
2410
2410
  }
2411
2411
  return r;
2412
2412
  }
@@ -2471,7 +2471,7 @@ function Dt(e, t, r, n, s) {
2471
2471
  return We(() => r = Dt(e, o, r, n, !0)), () => r;
2472
2472
  if (o.length === 0) {
2473
2473
  if (r = Qe(e, r, n), a) return r;
2474
- } else c ? r.length === 0 ? _n(e, o, n) : Ca(e, r, o) : (r && Qe(e), _n(e, o));
2474
+ } else c ? r.length === 0 ? _n(e, o, n) : Oa(e, r, o) : (r && Qe(e), _n(e, o));
2475
2475
  r = o;
2476
2476
  } else if (t.nodeType) {
2477
2477
  if (Array.isArray(r)) {
@@ -2526,16 +2526,16 @@ function Qe(e, t, r, n) {
2526
2526
  } else e.insertBefore(s, r);
2527
2527
  return [s];
2528
2528
  }
2529
- var Ba = "http://www.w3.org/2000/svg";
2529
+ var Fa = "http://www.w3.org/2000/svg";
2530
2530
  function Rs(e, t = !1) {
2531
- return t ? document.createElementNS(Ba, e) : document.createElement(e);
2531
+ return t ? document.createElementNS(Fa, e) : document.createElement(e);
2532
2532
  }
2533
- function Uu(e) {
2534
- const { useShadow: t } = e, r = document.createTextNode(""), n = () => e.mount || document.body, s = sa();
2533
+ function _u(e) {
2534
+ const { useShadow: t } = e, r = document.createTextNode(""), n = () => e.mount || document.body, s = na();
2535
2535
  let i;
2536
2536
  return ws(
2537
2537
  () => {
2538
- i || (i = ia(s, () => q(() => e.children)));
2538
+ i || (i = sa(s, () => q(() => e.children)));
2539
2539
  const a = n();
2540
2540
  if (a instanceof HTMLHeadElement) {
2541
2541
  const [o, c] = ne(!1), l = () => c(!0);
@@ -2558,7 +2558,7 @@ function Uu(e) {
2558
2558
  }
2559
2559
  ), r;
2560
2560
  }
2561
- function Va(e, t) {
2561
+ function Ba(e, t) {
2562
2562
  const r = q(e);
2563
2563
  return q(() => {
2564
2564
  const n = r();
@@ -2566,16 +2566,16 @@ function Va(e, t) {
2566
2566
  case "function":
2567
2567
  return W(() => n(t));
2568
2568
  case "string":
2569
- const s = Ra.has(n), i = Rs(n, s);
2570
- return Ua(i, t, s), i;
2569
+ const s = ka.has(n), i = Rs(n, s);
2570
+ return $a(i, t, s), i;
2571
2571
  }
2572
2572
  });
2573
2573
  }
2574
- function Ku(e) {
2575
- const [, t] = ga(e, ["component"]);
2576
- return Va(() => e.component, t);
2574
+ function Nu(e) {
2575
+ const [, t] = pa(e, ["component"]);
2576
+ return Ba(() => e.component, t);
2577
2577
  }
2578
- var ja = class {
2578
+ var Va = class {
2579
2579
  constructor() {
2580
2580
  this.keyToValue = /* @__PURE__ */ new Map(), this.valueToKey = /* @__PURE__ */ new Map();
2581
2581
  }
@@ -2593,7 +2593,7 @@ var ja = class {
2593
2593
  }
2594
2594
  }, Os = class {
2595
2595
  constructor(e) {
2596
- this.generateIdentifier = e, this.kv = new ja();
2596
+ this.generateIdentifier = e, this.kv = new Va();
2597
2597
  }
2598
2598
  register(e, t) {
2599
2599
  this.kv.getByValue(e) || (t || (t = this.generateIdentifier(e)), this.kv.set(t, e));
@@ -2607,7 +2607,7 @@ var ja = class {
2607
2607
  getValue(e) {
2608
2608
  return this.kv.getByKey(e);
2609
2609
  }
2610
- }, Ga = class extends Os {
2610
+ }, ja = class extends Os {
2611
2611
  constructor() {
2612
2612
  super((e) => e.name), this.classToAllowedProps = /* @__PURE__ */ new Map();
2613
2613
  }
@@ -2618,7 +2618,7 @@ var ja = class {
2618
2618
  return this.classToAllowedProps.get(e);
2619
2619
  }
2620
2620
  };
2621
- function qa(e) {
2621
+ function Ga(e) {
2622
2622
  if ("values" in Object)
2623
2623
  return Object.values(e);
2624
2624
  const t = [];
@@ -2626,8 +2626,8 @@ function qa(e) {
2626
2626
  e.hasOwnProperty(r) && t.push(e[r]);
2627
2627
  return t;
2628
2628
  }
2629
- function Wa(e, t) {
2630
- const r = qa(e);
2629
+ function qa(e, t) {
2630
+ const r = Ga(e);
2631
2631
  if ("find" in r)
2632
2632
  return r.find(t);
2633
2633
  const n = r;
@@ -2650,7 +2650,7 @@ function Nn(e, t) {
2650
2650
  return n;
2651
2651
  }
2652
2652
  }
2653
- var Ja = class {
2653
+ var Wa = class {
2654
2654
  constructor() {
2655
2655
  this.transfomers = {};
2656
2656
  }
@@ -2658,12 +2658,12 @@ var Ja = class {
2658
2658
  this.transfomers[e.name] = e;
2659
2659
  }
2660
2660
  findApplicable(e) {
2661
- return Wa(this.transfomers, (t) => t.isApplicable(e));
2661
+ return qa(this.transfomers, (t) => t.isApplicable(e));
2662
2662
  }
2663
2663
  findByName(e) {
2664
2664
  return this.transfomers[e];
2665
2665
  }
2666
- }, za = (e) => Object.prototype.toString.call(e).slice(8, -1), Cs = (e) => typeof e > "u", Qa = (e) => e === null, Mt = (e) => typeof e != "object" || e === null || e === Object.prototype ? !1 : Object.getPrototypeOf(e) === null ? !0 : Object.getPrototypeOf(e) === Object.prototype, rn = (e) => Mt(e) && Object.keys(e).length === 0, $e = (e) => Array.isArray(e), Ya = (e) => typeof e == "string", Xa = (e) => typeof e == "number" && !isNaN(e), Za = (e) => typeof e == "boolean", eo = (e) => e instanceof RegExp, Lt = (e) => e instanceof Map, $t = (e) => e instanceof Set, _s = (e) => za(e) === "Symbol", to = (e) => e instanceof Date && !isNaN(e.valueOf()), ro = (e) => e instanceof Error, Pn = (e) => typeof e == "number" && isNaN(e), no = (e) => Za(e) || Qa(e) || Cs(e) || Xa(e) || Ya(e) || _s(e), so = (e) => typeof e == "bigint", io = (e) => e === 1 / 0 || e === -1 / 0, ao = (e) => ArrayBuffer.isView(e) && !(e instanceof DataView), oo = (e) => e instanceof URL, Ns = (e) => e.replace(/\./g, "\\."), Mr = (e) => e.map(String).map(Ns).join("."), kt = (e) => {
2666
+ }, Ja = (e) => Object.prototype.toString.call(e).slice(8, -1), Cs = (e) => typeof e > "u", za = (e) => e === null, Mt = (e) => typeof e != "object" || e === null || e === Object.prototype ? !1 : Object.getPrototypeOf(e) === null ? !0 : Object.getPrototypeOf(e) === Object.prototype, rn = (e) => Mt(e) && Object.keys(e).length === 0, $e = (e) => Array.isArray(e), Qa = (e) => typeof e == "string", Ya = (e) => typeof e == "number" && !isNaN(e), Xa = (e) => typeof e == "boolean", Za = (e) => e instanceof RegExp, Lt = (e) => e instanceof Map, $t = (e) => e instanceof Set, _s = (e) => Ja(e) === "Symbol", eo = (e) => e instanceof Date && !isNaN(e.valueOf()), to = (e) => e instanceof Error, Pn = (e) => typeof e == "number" && isNaN(e), ro = (e) => Xa(e) || za(e) || Cs(e) || Ya(e) || Qa(e) || _s(e), no = (e) => typeof e == "bigint", so = (e) => e === 1 / 0 || e === -1 / 0, io = (e) => ArrayBuffer.isView(e) && !(e instanceof DataView), ao = (e) => e instanceof URL, Ns = (e) => e.replace(/\./g, "\\."), Mr = (e) => e.map(String).map(Ns).join("."), kt = (e) => {
2667
2667
  const t = [];
2668
2668
  let r = "";
2669
2669
  for (let s = 0; s < e.length; s++) {
@@ -2692,9 +2692,9 @@ function de(e, t, r, n) {
2692
2692
  var Ps = [
2693
2693
  de(Cs, "undefined", () => null, () => {
2694
2694
  }),
2695
- de(so, "bigint", (e) => e.toString(), (e) => typeof BigInt < "u" ? BigInt(e) : e),
2696
- de(to, "Date", (e) => e.toISOString(), (e) => new Date(e)),
2697
- de(ro, "Error", (e, t) => {
2695
+ de(no, "bigint", (e) => e.toString(), (e) => typeof BigInt < "u" ? BigInt(e) : e),
2696
+ de(eo, "Date", (e) => e.toISOString(), (e) => new Date(e)),
2697
+ de(to, "Error", (e, t) => {
2698
2698
  const r = {
2699
2699
  name: e.name,
2700
2700
  message: e.message
@@ -2708,7 +2708,7 @@ var Ps = [
2708
2708
  r[n] = e[n];
2709
2709
  }), r;
2710
2710
  }),
2711
- de(eo, "regexp", (e) => "" + e, (e) => {
2711
+ de(Za, "regexp", (e) => "" + e, (e) => {
2712
2712
  const t = e.slice(1, e.lastIndexOf("/")), r = e.slice(e.lastIndexOf("/") + 1);
2713
2713
  return new RegExp(t, r);
2714
2714
  }),
@@ -2721,9 +2721,9 @@ var Ps = [
2721
2721
  (e) => new Set(e)
2722
2722
  ),
2723
2723
  de(Lt, "map", (e) => [...e.entries()], (e) => new Map(e)),
2724
- de((e) => Pn(e) || io(e), "number", (e) => Pn(e) ? "NaN" : e > 0 ? "Infinity" : "-Infinity", Number),
2724
+ de((e) => Pn(e) || so(e), "number", (e) => Pn(e) ? "NaN" : e > 0 ? "Infinity" : "-Infinity", Number),
2725
2725
  de((e) => e === 0 && 1 / e === -1 / 0, "number", () => "-0", Number),
2726
- de(oo, "URL", (e) => e.toString(), (e) => new URL(e))
2726
+ de(ao, "URL", (e) => e.toString(), (e) => new URL(e))
2727
2727
  ];
2728
2728
  function kr(e, t, r, n) {
2729
2729
  return {
@@ -2738,7 +2738,7 @@ var xs = kr((e, t) => _s(e) ? !!t.symbolRegistry.getIdentifier(e) : !1, (e, t) =
2738
2738
  if (!n)
2739
2739
  throw new Error("Trying to deserialize unknown symbol");
2740
2740
  return n;
2741
- }), co = [
2741
+ }), oo = [
2742
2742
  Int8Array,
2743
2743
  Uint8Array,
2744
2744
  Int16Array,
@@ -2748,8 +2748,8 @@ var xs = kr((e, t) => _s(e) ? !!t.symbolRegistry.getIdentifier(e) : !1, (e, t) =
2748
2748
  Float32Array,
2749
2749
  Float64Array,
2750
2750
  Uint8ClampedArray
2751
- ].reduce((e, t) => (e[t.name] = t, e), {}), Ds = kr(ao, (e) => ["typed-array", e.constructor.name], (e) => [...e], (e, t) => {
2752
- const r = co[t[1]];
2751
+ ].reduce((e, t) => (e[t.name] = t, e), {}), Ds = kr(io, (e) => ["typed-array", e.constructor.name], (e) => [...e], (e, t) => {
2752
+ const r = oo[t[1]];
2753
2753
  if (!r)
2754
2754
  throw new Error("Trying to deserialize unknown typed array");
2755
2755
  return new r(e);
@@ -2775,8 +2775,8 @@ var Ls = kr(Ms, (e, t) => ["class", t.classRegistry.getIdentifier(e.constructor)
2775
2775
  if (!n)
2776
2776
  throw new Error("Trying to deserialize unknown custom value");
2777
2777
  return n.deserialize(e);
2778
- }), lo = [Ls, xs, $s, Ds], xn = (e, t) => {
2779
- const r = Nn(lo, (s) => s.isApplicable(e, t));
2778
+ }), co = [Ls, xs, $s, Ds], xn = (e, t) => {
2779
+ const r = Nn(co, (s) => s.isApplicable(e, t));
2780
2780
  if (r)
2781
2781
  return {
2782
2782
  value: r.transform(e, t),
@@ -2792,7 +2792,7 @@ var Ls = kr(Ms, (e, t) => ["class", t.classRegistry.getIdentifier(e.constructor)
2792
2792
  Ps.forEach((e) => {
2793
2793
  Us[e.annotation] = e;
2794
2794
  });
2795
- var uo = (e, t, r) => {
2795
+ var lo = (e, t, r) => {
2796
2796
  if ($e(t))
2797
2797
  switch (t[0]) {
2798
2798
  case "symbol":
@@ -2826,7 +2826,7 @@ function Ks(e) {
2826
2826
  if (ir(e, "constructor"))
2827
2827
  throw new Error("constructor is not allowed as a property");
2828
2828
  }
2829
- var fo = (e, t) => {
2829
+ var uo = (e, t) => {
2830
2830
  Ks(t);
2831
2831
  for (let r = 0; r < t.length; r++) {
2832
2832
  const n = t[r];
@@ -2907,14 +2907,14 @@ function sn(e, t, r = []) {
2907
2907
  sn(i, t, [...r, ...kt(a)]);
2908
2908
  }), t(n, r);
2909
2909
  }
2910
- function ho(e, t, r) {
2910
+ function fo(e, t, r) {
2911
2911
  return sn(t, (n, s) => {
2912
- e = nn(e, s, (i) => uo(i, n, r));
2912
+ e = nn(e, s, (i) => lo(i, n, r));
2913
2913
  }), e;
2914
2914
  }
2915
- function yo(e, t) {
2915
+ function ho(e, t) {
2916
2916
  function r(n, s) {
2917
- const i = fo(e, kt(s));
2917
+ const i = uo(e, kt(s));
2918
2918
  n.map(kt).forEach((a) => {
2919
2919
  e = nn(e, a, () => i);
2920
2920
  });
@@ -2928,12 +2928,12 @@ function yo(e, t) {
2928
2928
  wt(t, r);
2929
2929
  return e;
2930
2930
  }
2931
- var mo = (e, t) => Mt(e) || $e(e) || Lt(e) || $t(e) || Ms(e, t);
2932
- function po(e, t, r) {
2931
+ var yo = (e, t) => Mt(e) || $e(e) || Lt(e) || $t(e) || Ms(e, t);
2932
+ function mo(e, t, r) {
2933
2933
  const n = r.get(e);
2934
2934
  n ? n.push(t) : r.set(e, [t]);
2935
2935
  }
2936
- function go(e, t) {
2936
+ function po(e, t) {
2937
2937
  const r = {};
2938
2938
  let n;
2939
2939
  return e.forEach((s) => {
@@ -2945,16 +2945,16 @@ function go(e, t) {
2945
2945
  }), n ? rn(r) ? [n] : [n, r] : rn(r) ? void 0 : r;
2946
2946
  }
2947
2947
  var Hs = (e, t, r, n, s = [], i = [], a = /* @__PURE__ */ new Map()) => {
2948
- const o = no(e);
2948
+ const o = ro(e);
2949
2949
  if (!o) {
2950
- po(e, s, t);
2950
+ mo(e, s, t);
2951
2951
  const y = a.get(e);
2952
2952
  if (y)
2953
2953
  return n ? {
2954
2954
  transformedValue: null
2955
2955
  } : y;
2956
2956
  }
2957
- if (!mo(e, r)) {
2957
+ if (!yo(e, r)) {
2958
2958
  const y = xn(e, r), m = y ? {
2959
2959
  transformedValue: y.value,
2960
2960
  annotations: [y.type]
@@ -2991,13 +2991,13 @@ function Fs(e) {
2991
2991
  function Dn(e) {
2992
2992
  return Fs(e) === "Array";
2993
2993
  }
2994
- function bo(e) {
2994
+ function go(e) {
2995
2995
  if (Fs(e) !== "Object")
2996
2996
  return !1;
2997
2997
  const t = Object.getPrototypeOf(e);
2998
2998
  return !!t && t.constructor === Object && t === Object.prototype;
2999
2999
  }
3000
- function wo(e, t, r, n, s) {
3000
+ function bo(e, t, r, n, s) {
3001
3001
  const i = {}.propertyIsEnumerable.call(n, t) ? "enumerable" : "nonenumerable";
3002
3002
  i === "enumerable" && (e[t] = r), s && i === "nonenumerable" && Object.defineProperty(e, t, {
3003
3003
  value: r,
@@ -3009,14 +3009,14 @@ function wo(e, t, r, n, s) {
3009
3009
  function an(e, t = {}) {
3010
3010
  if (Dn(e))
3011
3011
  return e.map((s) => an(s, t));
3012
- if (!bo(e))
3012
+ if (!go(e))
3013
3013
  return e;
3014
3014
  const r = Object.getOwnPropertyNames(e), n = Object.getOwnPropertySymbols(e);
3015
3015
  return [...r, ...n].reduce((s, i) => {
3016
3016
  if (Dn(t.props) && !t.props.includes(i))
3017
3017
  return s;
3018
3018
  const a = e[i], o = an(a, t);
3019
- return wo(s, i, o, e, t.nonenumerable), s;
3019
+ return bo(s, i, o, e, t.nonenumerable), s;
3020
3020
  }, {});
3021
3021
  }
3022
3022
  var x = class {
@@ -3024,7 +3024,7 @@ var x = class {
3024
3024
  * @param dedupeReferentialEqualities If true, SuperJSON will make sure only one instance of referentially equal objects are serialized and the rest are replaced with `null`.
3025
3025
  */
3026
3026
  constructor({ dedupe: e = !1 } = {}) {
3027
- this.classRegistry = new Ga(), this.symbolRegistry = new Os((t) => t.description ?? ""), this.customTransformerRegistry = new Ja(), this.allowedErrorProps = [], this.dedupe = e;
3027
+ this.classRegistry = new ja(), this.symbolRegistry = new Os((t) => t.description ?? ""), this.customTransformerRegistry = new Wa(), this.allowedErrorProps = [], this.dedupe = e;
3028
3028
  }
3029
3029
  serialize(e) {
3030
3030
  const t = /* @__PURE__ */ new Map(), r = Hs(e, t, this, this.dedupe), n = {
@@ -3034,7 +3034,7 @@ var x = class {
3034
3034
  ...n.meta,
3035
3035
  values: r.annotations
3036
3036
  });
3037
- const s = go(t, this.dedupe);
3037
+ const s = po(t, this.dedupe);
3038
3038
  return s && (n.meta = {
3039
3039
  ...n.meta,
3040
3040
  referentialEqualities: s
@@ -3043,7 +3043,7 @@ var x = class {
3043
3043
  deserialize(e) {
3044
3044
  const { json: t, meta: r } = e;
3045
3045
  let n = an(t);
3046
- return r != null && r.values && (n = ho(n, r.values, this)), r != null && r.referentialEqualities && (n = yo(n, r.referentialEqualities)), n;
3046
+ return r != null && r.values && (n = fo(n, r.values, this)), r != null && r.referentialEqualities && (n = ho(n, r.referentialEqualities)), n;
3047
3047
  }
3048
3048
  stringify(e) {
3049
3049
  return JSON.stringify(this.serialize(e));
@@ -3076,44 +3076,44 @@ x.registerClass = x.defaultInstance.registerClass.bind(x.defaultInstance);
3076
3076
  x.registerSymbol = x.defaultInstance.registerSymbol.bind(x.defaultInstance);
3077
3077
  x.registerCustom = x.defaultInstance.registerCustom.bind(x.defaultInstance);
3078
3078
  x.allowErrorProps = x.defaultInstance.allowErrorProps.bind(x.defaultInstance);
3079
- var vo = x.serialize, Hu = x.stringify;
3080
- function Fu(e) {
3079
+ var wo = x.serialize, Pu = x.stringify;
3080
+ function xu(e) {
3081
3081
  return e.state.fetchStatus === "fetching" ? "fetching" : e.getObserversCount() ? e.state.fetchStatus === "paused" ? "paused" : e.isStale() ? "stale" : "fresh" : "inactive";
3082
3082
  }
3083
- function Bu(e, t) {
3083
+ function Du(e, t) {
3084
3084
  return `${e}${t.charAt(0).toUpperCase() + t.slice(1)}`;
3085
3085
  }
3086
- function Vu({
3086
+ function Mu({
3087
3087
  queryState: e,
3088
3088
  observerCount: t,
3089
3089
  isStale: r
3090
3090
  }) {
3091
3091
  return e.fetchStatus === "fetching" ? "blue" : t ? e.fetchStatus === "paused" ? "purple" : r ? "yellow" : "green" : "gray";
3092
3092
  }
3093
- function ju({
3093
+ function Lu({
3094
3094
  status: e,
3095
3095
  isPaused: t
3096
3096
  }) {
3097
3097
  return t ? "purple" : e === "error" ? "red" : e === "pending" ? "yellow" : e === "success" ? "green" : "gray";
3098
3098
  }
3099
- function Gu(e) {
3099
+ function $u(e) {
3100
3100
  return e === "fresh" ? "green" : e === "stale" ? "yellow" : e === "paused" ? "purple" : e === "inactive" ? "gray" : "blue";
3101
3101
  }
3102
- var qu = (e, t = !1) => {
3102
+ var Uu = (e, t = !1) => {
3103
3103
  const {
3104
3104
  json: r
3105
- } = vo(e);
3105
+ } = wo(e);
3106
3106
  return JSON.stringify(r, null, t ? 2 : void 0);
3107
- }, Qt = (e) => e.state.fetchStatus !== "idle" ? 0 : e.getObserversCount() ? e.isStale() ? 2 : 1 : 3, Eo = (e, t) => e.queryHash.localeCompare(t.queryHash), Bs = (e, t) => e.state.dataUpdatedAt < t.state.dataUpdatedAt ? 1 : -1, So = (e, t) => Qt(e) === Qt(t) ? Bs(e, t) : Qt(e) > Qt(t) ? 1 : -1, Wu = {
3108
- status: So,
3109
- "query hash": Eo,
3107
+ }, Qt = (e) => e.state.fetchStatus !== "idle" ? 0 : e.getObserversCount() ? e.isStale() ? 2 : 1 : 3, vo = (e, t) => e.queryHash.localeCompare(t.queryHash), Bs = (e, t) => e.state.dataUpdatedAt < t.state.dataUpdatedAt ? 1 : -1, Eo = (e, t) => Qt(e) === Qt(t) ? Bs(e, t) : Qt(e) > Qt(t) ? 1 : -1, Ku = {
3108
+ status: Eo,
3109
+ "query hash": vo,
3110
3110
  "last updated": Bs
3111
- }, Yt = (e) => e.state.isPaused ? 0 : e.state.status === "error" ? 2 : e.state.status === "pending" ? 1 : 3, Vs = (e, t) => e.state.submittedAt < t.state.submittedAt ? 1 : -1, Ao = (e, t) => Yt(e) === Yt(t) ? Vs(e, t) : Yt(e) > Yt(t) ? 1 : -1, Ju = {
3112
- status: Ao,
3111
+ }, Yt = (e) => e.state.isPaused ? 0 : e.state.status === "error" ? 2 : e.state.status === "pending" ? 1 : 3, Vs = (e, t) => e.state.submittedAt < t.state.submittedAt ? 1 : -1, So = (e, t) => Yt(e) === Yt(t) ? Vs(e, t) : Yt(e) > Yt(t) ? 1 : -1, Hu = {
3112
+ status: So,
3113
3113
  "last updated": Vs
3114
- }, zu = (e) => e * parseFloat(getComputedStyle(document.documentElement).fontSize), Qu = () => {
3114
+ }, Fu = (e) => e * parseFloat(getComputedStyle(document.documentElement).fontSize), Bu = () => {
3115
3115
  const [e, t] = ne("dark");
3116
- return na(() => {
3116
+ return ra(() => {
3117
3117
  const r = window.matchMedia("(prefers-color-scheme: dark)");
3118
3118
  t(r.matches ? "dark" : "light");
3119
3119
  const n = (s) => {
@@ -3181,11 +3181,11 @@ var qu = (e, t = !1) => {
3181
3181
  return r[n] = Zt(r[n], s), r;
3182
3182
  }
3183
3183
  return e;
3184
- }, To = (e, t) => {
3184
+ }, Ao = (e, t) => {
3185
3185
  if (!e || document.querySelector("#_goober") || (t == null ? void 0 : t.querySelector("#_goober"))) return;
3186
3186
  const n = document.createElement("style"), s = document.createTextNode("");
3187
3187
  n.appendChild(s), n.id = "_goober", n.setAttribute("nonce", e), t ? t.appendChild(n) : document.head.appendChild(n);
3188
- }, ft, Ft, Bt, Vt, Ge, jt, ht, yt, mt, pt, gt, bt, Gt, is, Io = (is = class {
3188
+ }, ft, Ft, Bt, Vt, Ge, jt, ht, yt, mt, pt, gt, bt, Gt, is, To = (is = class {
3189
3189
  constructor(e) {
3190
3190
  I(this, ft);
3191
3191
  I(this, Ft);
@@ -3232,10 +3232,10 @@ var qu = (e, t = !1) => {
3232
3232
  mount(e) {
3233
3233
  if (f(this, Ge))
3234
3234
  throw new Error("Devtools is already mounted");
3235
- const t = _a(() => {
3235
+ const t = Ca(() => {
3236
3236
  const r = this, [n] = f(this, yt), [s] = f(this, mt), [i] = f(this, pt), [a] = f(this, gt), [o] = f(this, ft);
3237
3237
  let c;
3238
- return f(this, bt) ? c = f(this, bt) : (c = ba(() => import("./CPIOZS5X.DT19NwLf.js")), w(this, bt, c)), To(f(this, jt), f(this, ht)), ya(c, pa({
3238
+ return f(this, bt) ? c = f(this, bt) : (c = ga(() => import("./CPIOZS5X.Cb1-Hob1.js")), w(this, bt, c)), Ao(f(this, jt), f(this, ht)), ha(c, ma({
3239
3239
  get queryFlavor() {
3240
3240
  return f(r, Bt);
3241
3241
  },
@@ -3275,8 +3275,8 @@ var qu = (e, t = !1) => {
3275
3275
  (e = f(this, Gt)) == null || e.call(this), w(this, Ge, !1);
3276
3276
  }
3277
3277
  }, ft = new WeakMap(), Ft = new WeakMap(), Bt = new WeakMap(), Vt = new WeakMap(), Ge = new WeakMap(), jt = new WeakMap(), ht = new WeakMap(), yt = new WeakMap(), mt = new WeakMap(), pt = new WeakMap(), gt = new WeakMap(), bt = new WeakMap(), Gt = new WeakMap(), is);
3278
- function ko(e) {
3279
- const t = Yi(e.client), r = ae.useRef(null), {
3278
+ function Io(e) {
3279
+ const t = Qi(e.client), r = ae.useRef(null), {
3280
3280
  buttonPosition: n,
3281
3281
  position: s,
3282
3282
  initialIsOpen: i,
@@ -3284,7 +3284,7 @@ function ko(e) {
3284
3284
  styleNonce: o,
3285
3285
  shadowDOMTarget: c
3286
3286
  } = e, [l] = ae.useState(
3287
- new Io({
3287
+ new To({
3288
3288
  client: t,
3289
3289
  queryFlavor: "React Query",
3290
3290
  version: "5",
@@ -3311,9 +3311,9 @@ function ko(e) {
3311
3311
  l.unmount();
3312
3312
  }), [l]), /* @__PURE__ */ p("div", { dir: "ltr", className: "tsqd-parent-container", ref: r });
3313
3313
  }
3314
- var Ro = process.env.NODE_ENV !== "development" ? function() {
3314
+ var ko = process.env.NODE_ENV !== "development" ? function() {
3315
3315
  return null;
3316
- } : ko, Oo = Object.defineProperty, Co = (e, t, r) => t in e ? Oo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Lr = (e, t, r) => Co(e, typeof t != "symbol" ? t + "" : t, r);
3316
+ } : Io, Ro = Object.defineProperty, Oo = (e, t, r) => t in e ? Ro(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Lr = (e, t, r) => Oo(e, typeof t != "symbol" ? t + "" : t, r);
3317
3317
  /*!
3318
3318
  @versini/auth-provider v7.5.3
3319
3319
  © 2025 gizmette.com
@@ -3341,9 +3341,9 @@ function br(e) {
3341
3341
  return i;
3342
3342
  }
3343
3343
  function hn() {
3344
- return _o.stubThis((globalThis == null ? void 0 : globalThis.PublicKeyCredential) !== void 0 && typeof globalThis.PublicKeyCredential == "function");
3344
+ return Co.stubThis((globalThis == null ? void 0 : globalThis.PublicKeyCredential) !== void 0 && typeof globalThis.PublicKeyCredential == "function");
3345
3345
  }
3346
- const _o = {
3346
+ const Co = {
3347
3347
  stubThis: (e) => e
3348
3348
  };
3349
3349
  function js(e) {
@@ -3375,7 +3375,7 @@ let G = class extends Error {
3375
3375
  }), this.name = s ?? n.name, this.code = r;
3376
3376
  }
3377
3377
  };
3378
- function No({ error: e, options: t }) {
3378
+ function _o({ error: e, options: t }) {
3379
3379
  var n, s, i;
3380
3380
  const { publicKey: r } = t;
3381
3381
  if (!r)
@@ -3462,7 +3462,7 @@ function No({ error: e, options: t }) {
3462
3462
  }
3463
3463
  return e;
3464
3464
  }
3465
- class Po {
3465
+ class No {
3466
3466
  constructor() {
3467
3467
  Object.defineProperty(this, "controller", {
3468
3468
  enumerable: !0,
@@ -3486,12 +3486,12 @@ class Po {
3486
3486
  }
3487
3487
  }
3488
3488
  }
3489
- const qs = new Po(), xo = ["cross-platform", "platform"];
3489
+ const qs = new No(), Po = ["cross-platform", "platform"];
3490
3490
  function Ws(e) {
3491
- if (e && !(xo.indexOf(e) < 0))
3491
+ if (e && !(Po.indexOf(e) < 0))
3492
3492
  return e;
3493
3493
  }
3494
- async function Do(e) {
3494
+ async function xo(e) {
3495
3495
  var m;
3496
3496
  !e.optionsJSON && e.challenge && (console.warn("startRegistration() was not called correctly. It will try to continue with the provided options, but this call should be refactored to use the expected call structure instead. See https://simplewebauthn.dev/docs/packages/browser#typeerror-cannot-read-properties-of-undefined-reading-challenge for more information."), e = { optionsJSON: e });
3497
3497
  const { optionsJSON: t, useAutoRegister: r = !1 } = e;
@@ -3511,7 +3511,7 @@ async function Do(e) {
3511
3511
  try {
3512
3512
  i = await navigator.credentials.create(s);
3513
3513
  } catch (g) {
3514
- throw No({ error: g, options: s });
3514
+ throw _o({ error: g, options: s });
3515
3515
  }
3516
3516
  if (!i)
3517
3517
  throw new Error("Registration was not completed");
@@ -3560,7 +3560,7 @@ function $r(e, t) {
3560
3560
  console.warn(`The browser extension that intercepted this WebAuthn API call incorrectly implemented ${e}. You should report this error to them.
3561
3561
  `, t);
3562
3562
  }
3563
- function Mo() {
3563
+ function Do() {
3564
3564
  if (!hn())
3565
3565
  return Ur.stubThis(new Promise((t) => t(!1)));
3566
3566
  const e = globalThis.PublicKeyCredential;
@@ -3569,7 +3569,7 @@ function Mo() {
3569
3569
  const Ur = {
3570
3570
  stubThis: (e) => e
3571
3571
  };
3572
- function Lo({ error: e, options: t }) {
3572
+ function Mo({ error: e, options: t }) {
3573
3573
  const { publicKey: r } = t;
3574
3574
  if (!r)
3575
3575
  throw Error("options was missing required publicKey property");
@@ -3610,7 +3610,7 @@ function Lo({ error: e, options: t }) {
3610
3610
  }
3611
3611
  return e;
3612
3612
  }
3613
- async function $o(e) {
3613
+ async function Lo(e) {
3614
3614
  var y, m;
3615
3615
  !e.optionsJSON && e.challenge && (console.warn("startAuthentication() was not called correctly. It will try to continue with the provided options, but this call should be refactored to use the expected call structure instead. See https://simplewebauthn.dev/docs/packages/browser#typeerror-cannot-read-properties-of-undefined-reading-challenge for more information."), e = { optionsJSON: e });
3616
3616
  const { optionsJSON: t, useBrowserAutofill: r = !1, verifyBrowserAutofillInput: n = !0 } = e;
@@ -3624,7 +3624,7 @@ async function $o(e) {
3624
3624
  allowCredentials: s
3625
3625
  }, a = {};
3626
3626
  if (r) {
3627
- if (!await Mo())
3627
+ if (!await Do())
3628
3628
  throw Error("Browser does not support WebAuthn autofill");
3629
3629
  if (document.querySelectorAll("input[autocomplete$='webauthn']").length < 1 && n)
3630
3630
  throw Error('No <input> with "webauthn" as the only or last value in its `autocomplete` attribute was detected');
@@ -3635,7 +3635,7 @@ async function $o(e) {
3635
3635
  try {
3636
3636
  o = await navigator.credentials.get(a);
3637
3637
  } catch (g) {
3638
- throw Lo({ error: g, options: a });
3638
+ throw Mo({ error: g, options: a });
3639
3639
  }
3640
3640
  if (!o)
3641
3641
  throw new Error("Authentication was not completed");
@@ -3655,7 +3655,7 @@ async function $o(e) {
3655
3655
  authenticatorAttachment: Ws(o.authenticatorAttachment)
3656
3656
  };
3657
3657
  }
3658
- var Uo = Object.defineProperty, Ko = (e, t, r) => t in e ? Uo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, K = (e, t, r) => Ko(e, typeof t != "symbol" ? t + "" : t, r);
3658
+ var $o = Object.defineProperty, Uo = (e, t, r) => t in e ? $o(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, K = (e, t, r) => Uo(e, typeof t != "symbol" ? t + "" : t, r);
3659
3659
  /*!
3660
3660
  @versini/auth-common v4.2.1
3661
3661
  © 2025 gizmette.com
@@ -3684,7 +3684,7 @@ const Rt = {
3684
3684
  AUTH_TYPE_KEY: "auth_type",
3685
3685
  SCOPES_KEY: "scopes",
3686
3686
  ISSUER: "gizmette.com"
3687
- }, Ho = `-----BEGIN PUBLIC KEY-----
3687
+ }, Ko = `-----BEGIN PUBLIC KEY-----
3688
3688
  MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAsF6i3Jd9fY/3COqCw/m7
3689
3689
  w5PKyTYLGAI2I6SIIdpe6i6DOCbEkmDz7LdVsBqwNtVi8gvWYIj+8ol6rU3qu1v5
3690
3690
  i1Jd45GSK4kzkVdgCmQZbM5ak0KI99q5wsrAIzUd+LRJ2HRvWtr5IYdsIiXaQjle
@@ -3698,14 +3698,14 @@ awIDAQAB
3698
3698
  LOGIN: "login",
3699
3699
  REFRESH: "refresh"
3700
3700
  }, er = new TextEncoder(), vt = new TextDecoder();
3701
- function Fo(...e) {
3701
+ function Ho(...e) {
3702
3702
  const t = e.reduce((s, { length: i }) => s + i, 0), r = new Uint8Array(t);
3703
3703
  let n = 0;
3704
3704
  for (const s of e)
3705
3705
  r.set(s, n), n += s.length;
3706
3706
  return r;
3707
3707
  }
3708
- function Bo(e) {
3708
+ function Fo(e) {
3709
3709
  if (Uint8Array.fromBase64)
3710
3710
  return Uint8Array.fromBase64(e);
3711
3711
  const t = atob(e), r = new Uint8Array(t.length);
@@ -3721,7 +3721,7 @@ function Ot(e) {
3721
3721
  let t = e;
3722
3722
  t instanceof Uint8Array && (t = vt.decode(t)), t = t.replace(/-/g, "+").replace(/_/g, "/").replace(/\s/g, "");
3723
3723
  try {
3724
- return Bo(t);
3724
+ return Fo(t);
3725
3725
  } catch {
3726
3726
  throw new TypeError("The input to be decoded is not correctly encoded.");
3727
3727
  }
@@ -3784,7 +3784,7 @@ function At(e, t) {
3784
3784
  function Kr(e) {
3785
3785
  return parseInt(e.name.slice(4), 10);
3786
3786
  }
3787
- function Vo(e) {
3787
+ function Bo(e) {
3788
3788
  switch (e) {
3789
3789
  case "ES256":
3790
3790
  return "P-256";
@@ -3796,11 +3796,11 @@ function Vo(e) {
3796
3796
  throw new Error("unreachable");
3797
3797
  }
3798
3798
  }
3799
- function jo(e, t) {
3799
+ function Vo(e, t) {
3800
3800
  if (!e.usages.includes(t))
3801
3801
  throw new TypeError(`CryptoKey does not support this operation, its usages must include ${t}.`);
3802
3802
  }
3803
- function Go(e, t, r) {
3803
+ function jo(e, t, r) {
3804
3804
  switch (t) {
3805
3805
  case "HS256":
3806
3806
  case "HS384":
@@ -3843,7 +3843,7 @@ function Go(e, t, r) {
3843
3843
  case "ES512": {
3844
3844
  if (!At(e.algorithm, "ECDSA"))
3845
3845
  throw ve("ECDSA");
3846
- const n = Vo(t);
3846
+ const n = Bo(t);
3847
3847
  if (e.algorithm.namedCurve !== n)
3848
3848
  throw ve(n, "algorithm.namedCurve");
3849
3849
  break;
@@ -3851,7 +3851,7 @@ function Go(e, t, r) {
3851
3851
  default:
3852
3852
  throw new TypeError("CryptoKey does not support this operation");
3853
3853
  }
3854
- jo(e, r);
3854
+ Vo(e, r);
3855
3855
  }
3856
3856
  function Ys(e, t, ...r) {
3857
3857
  var n;
@@ -3861,7 +3861,7 @@ function Ys(e, t, ...r) {
3861
3861
  } else r.length === 2 ? e += `one of type ${r[0]} or ${r[1]}.` : e += `of type ${r[0]}.`;
3862
3862
  return t == null ? e += ` Received ${t}` : typeof t == "function" && t.name ? e += ` Received function ${t.name}` : typeof t == "object" && t != null && (n = t.constructor) != null && n.name && (e += ` Received an instance of ${t.constructor.name}`), e;
3863
3863
  }
3864
- const qo = (e, ...t) => Ys("Key must be ", e, ...t);
3864
+ const Go = (e, ...t) => Ys("Key must be ", e, ...t);
3865
3865
  function Xs(e, t, ...r) {
3866
3866
  return Ys(`Key for the ${e} algorithm must be `, t, ...r);
3867
3867
  }
@@ -3871,7 +3871,7 @@ function Zs(e) {
3871
3871
  function ei(e) {
3872
3872
  return (e == null ? void 0 : e[Symbol.toStringTag]) === "KeyObject";
3873
3873
  }
3874
- const ti = (e) => Zs(e) || ei(e), Wo = (...e) => {
3874
+ const ti = (e) => Zs(e) || ei(e), qo = (...e) => {
3875
3875
  const t = e.filter(Boolean);
3876
3876
  if (t.length === 0 || t.length === 1)
3877
3877
  return !0;
@@ -3890,11 +3890,11 @@ const ti = (e) => Zs(e) || ei(e), Wo = (...e) => {
3890
3890
  }
3891
3891
  return !0;
3892
3892
  };
3893
- function Jo(e) {
3893
+ function Wo(e) {
3894
3894
  return typeof e == "object" && e !== null;
3895
3895
  }
3896
3896
  const Ut = (e) => {
3897
- if (!Jo(e) || Object.prototype.toString.call(e) !== "[object Object]")
3897
+ if (!Wo(e) || Object.prototype.toString.call(e) !== "[object Object]")
3898
3898
  return !1;
3899
3899
  if (Object.getPrototypeOf(e) === null)
3900
3900
  return !0;
@@ -3902,7 +3902,7 @@ const Ut = (e) => {
3902
3902
  for (; Object.getPrototypeOf(t) !== null; )
3903
3903
  t = Object.getPrototypeOf(t);
3904
3904
  return Object.getPrototypeOf(e) === t;
3905
- }, zo = (e, t) => {
3905
+ }, Jo = (e, t) => {
3906
3906
  if (e.startsWith("RS") || e.startsWith("PS")) {
3907
3907
  const { modulusLength: r } = t.algorithm;
3908
3908
  if (typeof r != "number" || r < 2048)
@@ -3915,7 +3915,7 @@ const Ut = (e) => {
3915
3915
  return !1;
3916
3916
  const s = e.subarray(n, n + t.length);
3917
3917
  return s.length !== t.length ? !1 : s.every((i, a) => i === t[a]) || ar(e, t, n + 1);
3918
- }, Qo = (e) => {
3918
+ }, zo = (e) => {
3919
3919
  switch (!0) {
3920
3920
  case ar(e, [42, 134, 72, 206, 61, 3, 1, 7]):
3921
3921
  return "P-256";
@@ -3926,7 +3926,7 @@ const Ut = (e) => {
3926
3926
  default:
3927
3927
  return;
3928
3928
  }
3929
- }, Yo = async (e, t, r, n, s) => {
3929
+ }, Qo = async (e, t, r, n, s) => {
3930
3930
  let i, a;
3931
3931
  const o = new Uint8Array(atob(r.replace(e, "")).split("").map((c) => c.charCodeAt(0)));
3932
3932
  switch (n) {
@@ -3962,7 +3962,7 @@ const Ut = (e) => {
3962
3962
  case "ECDH-ES+A128KW":
3963
3963
  case "ECDH-ES+A192KW":
3964
3964
  case "ECDH-ES+A256KW": {
3965
- const c = Qo(o);
3965
+ const c = zo(o);
3966
3966
  i = c != null && c.startsWith("P-") ? { name: "ECDH", namedCurve: c } : { name: "X25519" }, a = [];
3967
3967
  break;
3968
3968
  }
@@ -3974,8 +3974,8 @@ const Ut = (e) => {
3974
3974
  throw new Me('Invalid or unsupported "alg" (Algorithm) value');
3975
3975
  }
3976
3976
  return crypto.subtle.importKey(t, o, i, !0, a);
3977
- }, Xo = (e, t, r) => Yo(/(?:-----(?:BEGIN|END) PUBLIC KEY-----|\s)/g, "spki", e, t);
3978
- function Zo(e) {
3977
+ }, Yo = (e, t, r) => Qo(/(?:-----(?:BEGIN|END) PUBLIC KEY-----|\s)/g, "spki", e, t);
3978
+ function Xo(e) {
3979
3979
  let t, r;
3980
3980
  switch (e.kty) {
3981
3981
  case "RSA": {
@@ -4048,18 +4048,18 @@ function Zo(e) {
4048
4048
  }
4049
4049
  return { algorithm: t, keyUsages: r };
4050
4050
  }
4051
- const ec = async (e) => {
4051
+ const Zo = async (e) => {
4052
4052
  if (!e.alg)
4053
4053
  throw new TypeError('"alg" argument is required when "jwk.alg" is not present');
4054
- const { algorithm: t, keyUsages: r } = Zo(e), n = { ...e };
4054
+ const { algorithm: t, keyUsages: r } = Xo(e), n = { ...e };
4055
4055
  return delete n.alg, delete n.use, crypto.subtle.importKey("jwk", n, t, e.ext ?? !e.d, e.key_ops ?? r);
4056
4056
  };
4057
- async function tc(e, t, r) {
4057
+ async function ec(e, t, r) {
4058
4058
  if (e.indexOf("-----BEGIN PUBLIC KEY-----") !== 0)
4059
4059
  throw new TypeError('"spki" must be SPKI formatted string');
4060
- return Xo(e, t);
4060
+ return Yo(e, t);
4061
4061
  }
4062
- const rc = (e, t, r, n, s) => {
4062
+ const tc = (e, t, r, n, s) => {
4063
4063
  if (s.crit !== void 0 && (n == null ? void 0 : n.crit) === void 0)
4064
4064
  throw new e('"crit" (Critical) Header Parameter MUST be integrity protected');
4065
4065
  if (!n || n.crit === void 0)
@@ -4077,7 +4077,7 @@ const rc = (e, t, r, n, s) => {
4077
4077
  throw new e(`Extension Header Parameter "${a}" MUST be integrity protected`);
4078
4078
  }
4079
4079
  return new Set(n.crit);
4080
- }, nc = (e, t) => {
4080
+ }, rc = (e, t) => {
4081
4081
  if (t !== void 0 && (!Array.isArray(t) || t.some((r) => typeof r != "string")))
4082
4082
  throw new TypeError(`"${e}" option must be an array of strings`);
4083
4083
  if (t)
@@ -4086,13 +4086,13 @@ const rc = (e, t, r, n, s) => {
4086
4086
  function yn(e) {
4087
4087
  return Ut(e) && typeof e.kty == "string";
4088
4088
  }
4089
- function sc(e) {
4089
+ function nc(e) {
4090
4090
  return e.kty !== "oct" && typeof e.d == "string";
4091
4091
  }
4092
- function ic(e) {
4092
+ function sc(e) {
4093
4093
  return e.kty !== "oct" && typeof e.d > "u";
4094
4094
  }
4095
- function ac(e) {
4095
+ function ic(e) {
4096
4096
  return e.kty === "oct" && typeof e.k == "string";
4097
4097
  }
4098
4098
  let Le;
@@ -4101,9 +4101,9 @@ const Mn = async (e, t, r, n = !1) => {
4101
4101
  let s = Le.get(e);
4102
4102
  if (s != null && s[r])
4103
4103
  return s[r];
4104
- const i = await ec({ ...t, alg: r });
4104
+ const i = await Zo({ ...t, alg: r });
4105
4105
  return n && Object.freeze(e), s ? s[r] = i : Le.set(e, { [r]: i }), i;
4106
- }, oc = (e, t) => {
4106
+ }, ac = (e, t) => {
4107
4107
  var r;
4108
4108
  Le || (Le = /* @__PURE__ */ new WeakMap());
4109
4109
  let n = Le.get(e);
@@ -4189,7 +4189,7 @@ const Mn = async (e, t, r, n = !1) => {
4189
4189
  if (!a)
4190
4190
  throw new TypeError("given KeyObject instance cannot be used for this algorithm");
4191
4191
  return n ? n[t] = a : Le.set(e, { [t]: a }), a;
4192
- }, cc = async (e, t) => {
4192
+ }, oc = async (e, t) => {
4193
4193
  if (e instanceof Uint8Array || Zs(e))
4194
4194
  return e;
4195
4195
  if (ei(e)) {
@@ -4197,7 +4197,7 @@ const Mn = async (e, t, r, n = !1) => {
4197
4197
  return e.export();
4198
4198
  if ("toCryptoKey" in e && typeof e.toCryptoKey == "function")
4199
4199
  try {
4200
- return oc(e, t);
4200
+ return ac(e, t);
4201
4201
  } catch (n) {
4202
4202
  if (n instanceof TypeError)
4203
4203
  throw n;
@@ -4252,10 +4252,10 @@ const Mn = async (e, t, r, n = !1) => {
4252
4252
  throw new TypeError(`Invalid key for this operation, its "key_ops" must include "${i}" when present`);
4253
4253
  }
4254
4254
  return !0;
4255
- }, lc = (e, t, r) => {
4255
+ }, cc = (e, t, r) => {
4256
4256
  if (!(t instanceof Uint8Array)) {
4257
4257
  if (yn(t)) {
4258
- if (ac(t) && cn(e, t, r))
4258
+ if (ic(t) && cn(e, t, r))
4259
4259
  return;
4260
4260
  throw new TypeError('JSON Web Key for symmetric algorithms must have JWK "kty" (Key Type) equal to "oct" and the JWK "k" (Key Value) present');
4261
4261
  }
@@ -4264,17 +4264,17 @@ const Mn = async (e, t, r, n = !1) => {
4264
4264
  if (t.type !== "secret")
4265
4265
  throw new TypeError(`${tt(t)} instances for symmetric algorithms must be of type "secret"`);
4266
4266
  }
4267
- }, uc = (e, t, r) => {
4267
+ }, lc = (e, t, r) => {
4268
4268
  if (yn(t))
4269
4269
  switch (r) {
4270
4270
  case "decrypt":
4271
4271
  case "sign":
4272
- if (sc(t) && cn(e, t, r))
4272
+ if (nc(t) && cn(e, t, r))
4273
4273
  return;
4274
4274
  throw new TypeError("JSON Web Key for this operation be a private JWK");
4275
4275
  case "encrypt":
4276
4276
  case "verify":
4277
- if (ic(t) && cn(e, t, r))
4277
+ if (sc(t) && cn(e, t, r))
4278
4278
  return;
4279
4279
  throw new TypeError("JSON Web Key for this operation be a public JWK");
4280
4280
  }
@@ -4296,9 +4296,9 @@ const Mn = async (e, t, r, n = !1) => {
4296
4296
  case "encrypt":
4297
4297
  throw new TypeError(`${tt(t)} instances for asymmetric algorithm encryption must be of type "public"`);
4298
4298
  }
4299
- }, dc = (e, t, r) => {
4300
- e.startsWith("HS") || e === "dir" || e.startsWith("PBES2") || /^A(?:128|192|256)(?:GCM)?(?:KW)?$/.test(e) || /^A(?:128|192|256)CBC-HS(?:256|384|512)$/.test(e) ? lc(e, t, r) : uc(e, t, r);
4301
- }, fc = (e, t) => {
4299
+ }, uc = (e, t, r) => {
4300
+ e.startsWith("HS") || e === "dir" || e.startsWith("PBES2") || /^A(?:128|192|256)(?:GCM)?(?:KW)?$/.test(e) || /^A(?:128|192|256)CBC-HS(?:256|384|512)$/.test(e) ? cc(e, t, r) : lc(e, t, r);
4301
+ }, dc = (e, t) => {
4302
4302
  const r = `SHA-${e.slice(-3)}`;
4303
4303
  switch (e) {
4304
4304
  case "HS256":
@@ -4323,24 +4323,24 @@ const Mn = async (e, t, r, n = !1) => {
4323
4323
  default:
4324
4324
  throw new Me(`alg ${e} is not supported either by JOSE or your javascript runtime`);
4325
4325
  }
4326
- }, hc = async (e, t, r) => {
4326
+ }, fc = async (e, t, r) => {
4327
4327
  if (t instanceof Uint8Array) {
4328
4328
  if (!e.startsWith("HS"))
4329
- throw new TypeError(qo(t, "CryptoKey", "KeyObject", "JSON Web Key"));
4329
+ throw new TypeError(Go(t, "CryptoKey", "KeyObject", "JSON Web Key"));
4330
4330
  return crypto.subtle.importKey("raw", t, { hash: `SHA-${e.slice(-3)}`, name: "HMAC" }, !1, [r]);
4331
4331
  }
4332
- return Go(t, e, r), t;
4333
- }, yc = async (e, t, r, n) => {
4334
- const s = await hc(e, t, "verify");
4335
- zo(e, s);
4336
- const i = fc(e, s.algorithm);
4332
+ return jo(t, e, r), t;
4333
+ }, hc = async (e, t, r, n) => {
4334
+ const s = await fc(e, t, "verify");
4335
+ Jo(e, s);
4336
+ const i = dc(e, s.algorithm);
4337
4337
  try {
4338
4338
  return await crypto.subtle.verify(i, s, r, n);
4339
4339
  } catch {
4340
4340
  return !1;
4341
4341
  }
4342
4342
  };
4343
- async function mc(e, t, r) {
4343
+ async function yc(e, t, r) {
4344
4344
  if (!Ut(e))
4345
4345
  throw new B("Flattened JWS must be an object");
4346
4346
  if (e.protected === void 0 && e.header === void 0)
@@ -4361,19 +4361,19 @@ async function mc(e, t, r) {
4361
4361
  } catch {
4362
4362
  throw new B("JWS Protected Header is invalid");
4363
4363
  }
4364
- if (!Wo(n, e.header))
4364
+ if (!qo(n, e.header))
4365
4365
  throw new B("JWS Protected and JWS Unprotected Header Parameter names must be disjoint");
4366
4366
  const s = {
4367
4367
  ...n,
4368
4368
  ...e.header
4369
- }, i = rc(B, /* @__PURE__ */ new Map([["b64", !0]]), r == null ? void 0 : r.crit, n, s);
4369
+ }, i = tc(B, /* @__PURE__ */ new Map([["b64", !0]]), r == null ? void 0 : r.crit, n, s);
4370
4370
  let a = !0;
4371
4371
  if (i.has("b64") && (a = n.b64, typeof a != "boolean"))
4372
4372
  throw new B('The "b64" (base64url-encode payload) Header Parameter must be a boolean');
4373
4373
  const { alg: o } = s;
4374
4374
  if (typeof o != "string" || !o)
4375
4375
  throw new B('JWS "alg" (Algorithm) Header Parameter missing or invalid');
4376
- const c = r && nc("algorithms", r.algorithms);
4376
+ const c = r && rc("algorithms", r.algorithms);
4377
4377
  if (c && !c.has(o))
4378
4378
  throw new zs('"alg" (Algorithm) Header Parameter value not allowed');
4379
4379
  if (a) {
@@ -4382,16 +4382,16 @@ async function mc(e, t, r) {
4382
4382
  } else if (typeof e.payload != "string" && !(e.payload instanceof Uint8Array))
4383
4383
  throw new B("JWS Payload must be a string or an Uint8Array instance");
4384
4384
  let l = !1;
4385
- typeof t == "function" && (t = await t(n, e), l = !0), dc(o, t, "verify");
4386
- const d = Fo(er.encode(e.protected ?? ""), er.encode("."), typeof e.payload == "string" ? er.encode(e.payload) : e.payload);
4385
+ typeof t == "function" && (t = await t(n, e), l = !0), uc(o, t, "verify");
4386
+ const d = Ho(er.encode(e.protected ?? ""), er.encode("."), typeof e.payload == "string" ? er.encode(e.payload) : e.payload);
4387
4387
  let u;
4388
4388
  try {
4389
4389
  u = Ot(e.signature);
4390
4390
  } catch {
4391
4391
  throw new B("Failed to base64url decode the signature");
4392
4392
  }
4393
- const h = await cc(t, o);
4394
- if (!await yc(o, h, u, d))
4393
+ const h = await oc(t, o);
4394
+ if (!await hc(o, h, u, d))
4395
4395
  throw new Qs();
4396
4396
  let y;
4397
4397
  if (a)
@@ -4404,17 +4404,17 @@ async function mc(e, t, r) {
4404
4404
  const m = { payload: y };
4405
4405
  return e.protected !== void 0 && (m.protectedHeader = n), e.header !== void 0 && (m.unprotectedHeader = e.header), l ? { ...m, key: h } : m;
4406
4406
  }
4407
- async function pc(e, t, r) {
4407
+ async function mc(e, t, r) {
4408
4408
  if (e instanceof Uint8Array && (e = vt.decode(e)), typeof e != "string")
4409
4409
  throw new B("Compact JWS must be a string or Uint8Array");
4410
4410
  const { 0: n, 1: s, 2: i, length: a } = e.split(".");
4411
4411
  if (a !== 3)
4412
4412
  throw new B("Invalid Compact JWS");
4413
- const o = await mc({ payload: s, protected: n, signature: i }, t, r), c = { payload: o.payload, protectedHeader: o.protectedHeader };
4413
+ const o = await yc({ payload: s, protected: n, signature: i }, t, r), c = { payload: o.payload, protectedHeader: o.protectedHeader };
4414
4414
  return typeof t == "function" ? { ...c, key: o.key } : c;
4415
4415
  }
4416
- const gc = (e) => Math.floor(e.getTime() / 1e3), ri = 60, ni = ri * 60, mn = ni * 24, bc = mn * 7, wc = mn * 365.25, vc = /^(\+|\-)? ?(\d+|\d+\.\d+) ?(seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)(?: (ago|from now))?$/i, Ln = (e) => {
4417
- const t = vc.exec(e);
4416
+ const pc = (e) => Math.floor(e.getTime() / 1e3), ri = 60, ni = ri * 60, mn = ni * 24, gc = mn * 7, bc = mn * 365.25, wc = /^(\+|\-)? ?(\d+|\d+\.\d+) ?(seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)(?: (ago|from now))?$/i, Ln = (e) => {
4417
+ const t = wc.exec(e);
4418
4418
  if (!t || t[4] && t[1])
4419
4419
  throw new TypeError("Invalid time period format");
4420
4420
  const r = parseFloat(t[2]), n = t[3].toLowerCase();
@@ -4449,15 +4449,15 @@ const gc = (e) => Math.floor(e.getTime() / 1e3), ri = 60, ni = ri * 60, mn = ni
4449
4449
  case "week":
4450
4450
  case "weeks":
4451
4451
  case "w":
4452
- s = Math.round(r * bc);
4452
+ s = Math.round(r * gc);
4453
4453
  break;
4454
4454
  default:
4455
- s = Math.round(r * wc);
4455
+ s = Math.round(r * bc);
4456
4456
  break;
4457
4457
  }
4458
4458
  return t[1] === "-" || t[4] === "ago" ? -s : s;
4459
- }, $n = (e) => e.toLowerCase().replace(/^application\//, ""), Ec = (e, t) => typeof e == "string" ? t.includes(e) : Array.isArray(e) ? t.some(Set.prototype.has.bind(new Set(e))) : !1;
4460
- function Sc(e, t, r = {}) {
4459
+ }, $n = (e) => e.toLowerCase().replace(/^application\//, ""), vc = (e, t) => typeof e == "string" ? t.includes(e) : Array.isArray(e) ? t.some(Set.prototype.has.bind(new Set(e))) : !1;
4460
+ function Ec(e, t, r = {}) {
4461
4461
  let n;
4462
4462
  try {
4463
4463
  n = JSON.parse(vt.decode(t));
@@ -4477,7 +4477,7 @@ function Sc(e, t, r = {}) {
4477
4477
  throw new ie('unexpected "iss" claim value', n, "iss", "check_failed");
4478
4478
  if (o && n.sub !== o)
4479
4479
  throw new ie('unexpected "sub" claim value', n, "sub", "check_failed");
4480
- if (c && !Ec(n.aud, typeof c == "string" ? [c] : c))
4480
+ if (c && !vc(n.aud, typeof c == "string" ? [c] : c))
4481
4481
  throw new ie('unexpected "aud" claim value', n, "aud", "check_failed");
4482
4482
  let u;
4483
4483
  switch (typeof r.clockTolerance) {
@@ -4493,7 +4493,7 @@ function Sc(e, t, r = {}) {
4493
4493
  default:
4494
4494
  throw new TypeError("Invalid clockTolerance option type");
4495
4495
  }
4496
- const { currentDate: h } = r, y = gc(h || /* @__PURE__ */ new Date());
4496
+ const { currentDate: h } = r, y = pc(h || /* @__PURE__ */ new Date());
4497
4497
  if ((n.iat !== void 0 || l) && typeof n.iat != "number")
4498
4498
  throw new ie('"iat" claim must be a number', n, "iat", "invalid");
4499
4499
  if (n.nbf !== void 0) {
@@ -4517,15 +4517,15 @@ function Sc(e, t, r = {}) {
4517
4517
  }
4518
4518
  return n;
4519
4519
  }
4520
- async function Ac(e, t, r) {
4520
+ async function Sc(e, t, r) {
4521
4521
  var n;
4522
- const s = await pc(e, t, r);
4522
+ const s = await mc(e, t, r);
4523
4523
  if ((n = s.protectedHeader.crit) != null && n.includes("b64") && s.protectedHeader.b64 === !1)
4524
4524
  throw new fe("JWTs MUST NOT use unencoded payload");
4525
- const i = { payload: Sc(s.protectedHeader, s.payload, r), protectedHeader: s.protectedHeader };
4525
+ const i = { payload: Ec(s.protectedHeader, s.payload, r), protectedHeader: s.protectedHeader };
4526
4526
  return typeof t == "function" ? { ...i, key: s.key } : i;
4527
4527
  }
4528
- function Tc(e) {
4528
+ function Ac(e) {
4529
4529
  if (typeof e != "string")
4530
4530
  throw new fe("JWTs must use Compact JWS serialization, JWT must be a string");
4531
4531
  const { 1: t, length: r } = e.split(".");
@@ -4553,65 +4553,65 @@ function Tc(e) {
4553
4553
  }
4554
4554
  const Et = async (e) => {
4555
4555
  try {
4556
- const t = F.ALG, r = await tc(Ho, t);
4557
- return await Ac(e, r, {
4556
+ const t = F.ALG, r = await ec(Ko, t);
4557
+ return await Sc(e, r, {
4558
4558
  issuer: F.ISSUER
4559
4559
  });
4560
4560
  } catch {
4561
4561
  return;
4562
4562
  }
4563
- }, Ic = (e) => {
4563
+ }, Tc = (e) => {
4564
4564
  try {
4565
- return Tc(e);
4565
+ return Ac(e);
4566
4566
  } catch {
4567
4567
  return;
4568
4568
  }
4569
4569
  }, V = [];
4570
4570
  for (let e = 0; e < 256; ++e)
4571
4571
  V.push((e + 256).toString(16).slice(1));
4572
- function kc(e, t = 0) {
4572
+ function Ic(e, t = 0) {
4573
4573
  return (V[e[t + 0]] + V[e[t + 1]] + V[e[t + 2]] + V[e[t + 3]] + "-" + V[e[t + 4]] + V[e[t + 5]] + "-" + V[e[t + 6]] + V[e[t + 7]] + "-" + V[e[t + 8]] + V[e[t + 9]] + "-" + V[e[t + 10]] + V[e[t + 11]] + V[e[t + 12]] + V[e[t + 13]] + V[e[t + 14]] + V[e[t + 15]]).toLowerCase();
4574
4574
  }
4575
4575
  let Hr;
4576
- const Rc = new Uint8Array(16);
4577
- function Oc() {
4576
+ const kc = new Uint8Array(16);
4577
+ function Rc() {
4578
4578
  if (!Hr) {
4579
4579
  if (typeof crypto > "u" || !crypto.getRandomValues)
4580
4580
  throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
4581
4581
  Hr = crypto.getRandomValues.bind(crypto);
4582
4582
  }
4583
- return Hr(Rc);
4583
+ return Hr(kc);
4584
4584
  }
4585
- const Cc = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), Un = { randomUUID: Cc };
4585
+ const Oc = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), Un = { randomUUID: Oc };
4586
4586
  function Kn(e, t, r) {
4587
4587
  var n;
4588
4588
  if (Un.randomUUID && !e)
4589
4589
  return Un.randomUUID();
4590
4590
  e = e || {};
4591
- const s = e.random ?? ((n = e.rng) == null ? void 0 : n.call(e)) ?? Oc();
4591
+ const s = e.random ?? ((n = e.rng) == null ? void 0 : n.call(e)) ?? Rc();
4592
4592
  if (s.length < 16)
4593
4593
  throw new Error("Random bytes length must be >= 16");
4594
- return s[6] = s[6] & 15 | 64, s[8] = s[8] & 63 | 128, kc(s);
4594
+ return s[6] = s[6] & 15 | 64, s[8] = s[8] & 63 | 128, Ic(s);
4595
4595
  }
4596
- const Hn = globalThis.crypto, _c = (e) => `${Kn()}${Kn()}`.slice(0, e), Nc = (e) => btoa(
4596
+ const Hn = globalThis.crypto, Cc = (e) => `${Kn()}${Kn()}`.slice(0, e), _c = (e) => btoa(
4597
4597
  [...new Uint8Array(e)].map((t) => String.fromCharCode(t)).join("")
4598
4598
  );
4599
- async function Pc(e) {
4599
+ async function Nc(e) {
4600
4600
  if (!Hn.subtle)
4601
4601
  throw new Error(
4602
4602
  "crypto.subtle is available only in secure contexts (HTTPS)."
4603
4603
  );
4604
4604
  const t = new TextEncoder().encode(e), r = await Hn.subtle.digest("SHA-256", t);
4605
- return Nc(r).replace(/\+/g, "-").replace(/\//g, "_").replace(/=+$/, "");
4605
+ return _c(r).replace(/\+/g, "-").replace(/\//g, "_").replace(/=+$/, "");
4606
4606
  }
4607
- async function xc(e) {
4608
- const t = _c(43), r = await Pc(t);
4607
+ async function Pc(e) {
4608
+ const t = Cc(43), r = await Nc(t);
4609
4609
  return {
4610
4610
  code_verifier: t,
4611
4611
  code_challenge: r
4612
4612
  };
4613
4613
  }
4614
- const td = async (e, t) => {
4614
+ const Wu = async (e, t) => {
4615
4615
  var r;
4616
4616
  const n = await Et(e);
4617
4617
  if (!n || !Array.isArray((r = n.payload) == null ? void 0 : r[F.SCOPES_KEY]))
@@ -4629,18 +4629,18 @@ const Fn = (e, t) => {
4629
4629
  typeof t == "function" ? t() : t
4630
4630
  );
4631
4631
  window.localStorage.setItem(e, r), si(e, r);
4632
- }, Dc = (e) => {
4632
+ }, xc = (e) => {
4633
4633
  window.localStorage.removeItem(e), si(e, null);
4634
- }, Bn = (e) => window.localStorage.getItem(e), Mc = (e) => (window.addEventListener("storage", e), () => window.removeEventListener("storage", e));
4634
+ }, Bn = (e) => window.localStorage.getItem(e), Dc = (e) => (window.addEventListener("storage", e), () => window.removeEventListener("storage", e));
4635
4635
  function tr({
4636
4636
  key: e,
4637
4637
  initialValue: t
4638
4638
  }) {
4639
- const r = Ii(Mc, () => Bn(e)), n = Te(
4639
+ const r = Ti(Dc, () => Bn(e)), n = Te(
4640
4640
  (a) => {
4641
4641
  try {
4642
4642
  const o = typeof a == "function" ? a(JSON.parse(r)) : a;
4643
- o == null ? Dc(e) : Fn(e, o);
4643
+ o == null ? xc(e) : Fn(e, o);
4644
4644
  } catch (o) {
4645
4645
  console.warn(o);
4646
4646
  }
@@ -4662,31 +4662,31 @@ function tr({
4662
4662
  const j = [];
4663
4663
  for (let e = 0; e < 256; ++e)
4664
4664
  j.push((e + 256).toString(16).slice(1));
4665
- function Lc(e, t = 0) {
4665
+ function Mc(e, t = 0) {
4666
4666
  return (j[e[t + 0]] + j[e[t + 1]] + j[e[t + 2]] + j[e[t + 3]] + "-" + j[e[t + 4]] + j[e[t + 5]] + "-" + j[e[t + 6]] + j[e[t + 7]] + "-" + j[e[t + 8]] + j[e[t + 9]] + "-" + j[e[t + 10]] + j[e[t + 11]] + j[e[t + 12]] + j[e[t + 13]] + j[e[t + 14]] + j[e[t + 15]]).toLowerCase();
4667
4667
  }
4668
4668
  let Fr;
4669
- const $c = new Uint8Array(16);
4670
- function Uc() {
4669
+ const Lc = new Uint8Array(16);
4670
+ function $c() {
4671
4671
  if (!Fr) {
4672
4672
  if (typeof crypto > "u" || !crypto.getRandomValues)
4673
4673
  throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
4674
4674
  Fr = crypto.getRandomValues.bind(crypto);
4675
4675
  }
4676
- return Fr($c);
4676
+ return Fr(Lc);
4677
4677
  }
4678
- const Kc = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), Vn = { randomUUID: Kc };
4678
+ const Uc = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), Vn = { randomUUID: Uc };
4679
4679
  function Br(e, t, r) {
4680
4680
  var s;
4681
4681
  if (Vn.randomUUID && !e)
4682
4682
  return Vn.randomUUID();
4683
4683
  e = e || {};
4684
- const n = e.random ?? ((s = e.rng) == null ? void 0 : s.call(e)) ?? Uc();
4684
+ const n = e.random ?? ((s = e.rng) == null ? void 0 : s.call(e)) ?? $c();
4685
4685
  if (n.length < 16)
4686
4686
  throw new Error("Random bytes length must be >= 16");
4687
- return n[6] = n[6] & 15 | 64, n[8] = n[8] & 63 | 128, Lc(n);
4687
+ return n[6] = n[6] & 15 | 64, n[8] = n[8] & 63 | 128, Mc(n);
4688
4688
  }
4689
- const Ye = "Your session has expired. For your security, please log in again to continue.", Hc = "Your session has been successfully terminated.", Vr = "Login failed. Please try again.", Fc = "Error getting access token, please re-authenticate.", Bc = "You forgot to wrap your component in <AuthProvider>.", rr = "@@auth@@", Tt = "LOADING", or = "LOGIN", ii = "LOGOUT", qt = "success", we = "failure", ai = "include", oi = "POST", ci = "application/json", nr = {
4689
+ const Ye = "Your session has expired. For your security, please log in again to continue.", Kc = "Your session has been successfully terminated.", Vr = "Login failed. Please try again.", Hc = "Error getting access token, please re-authenticate.", Fc = "You forgot to wrap your component in <AuthProvider>.", rr = "@@auth@@", Tt = "LOADING", or = "LOGIN", ii = "LOGOUT", qt = "success", we = "failure", ai = "include", oi = "POST", ci = "application/json", nr = {
4690
4690
  GET_REGISTRATION_OPTIONS: `mutation GetPasskeyRegistrationOptions(
4691
4691
  $clientId: String!,
4692
4692
  $username: String!,
@@ -4841,21 +4841,21 @@ const Ye = "Your session has expired. For your security, please log in again to
4841
4841
  } catch (s) {
4842
4842
  return console.error(s), { status: we, data: [] };
4843
4843
  }
4844
- }, Vc = process.env.NODE_ENV === "production", jc = !Vc, li = {
4844
+ }, Bc = process.env.NODE_ENV === "production", Vc = !Bc, li = {
4845
4845
  isLoading: !0,
4846
4846
  isAuthenticated: !1,
4847
4847
  user: void 0,
4848
4848
  logoutReason: "",
4849
4849
  debug: !1,
4850
4850
  authenticationType: ""
4851
- }, Gc = (e) => {
4851
+ }, jc = (e) => {
4852
4852
  try {
4853
- const t = Ic(e);
4853
+ const t = Tc(e);
4854
4854
  return t ? t[F.USER_ID_KEY] : "";
4855
4855
  } catch {
4856
4856
  return "";
4857
4857
  }
4858
- }, qc = async ({
4858
+ }, Gc = async ({
4859
4859
  userId: e,
4860
4860
  clientId: t,
4861
4861
  domain: r,
@@ -4881,7 +4881,7 @@ const Ye = "Your session has expired. For your security, please log in again to
4881
4881
  status: we
4882
4882
  };
4883
4883
  }
4884
- }, Wc = async ({
4884
+ }, qc = async ({
4885
4885
  username: e,
4886
4886
  password: t,
4887
4887
  clientId: r,
@@ -4927,7 +4927,7 @@ const Ye = "Your session has expired. For your security, please log in again to
4927
4927
  status: !1
4928
4928
  };
4929
4929
  }
4930
- }, Jc = async ({
4930
+ }, Wc = async ({
4931
4931
  nonce: e,
4932
4932
  clientId: t,
4933
4933
  code_challenge: r,
@@ -4958,7 +4958,7 @@ const Ye = "Your session has expired. For your security, please log in again to
4958
4958
  data: ""
4959
4959
  };
4960
4960
  }
4961
- }, zc = async ({
4961
+ }, Jc = async ({
4962
4962
  clientId: e,
4963
4963
  userId: t,
4964
4964
  nonce: r,
@@ -4996,7 +4996,7 @@ const Ye = "Your session has expired. For your security, please log in again to
4996
4996
  };
4997
4997
  }
4998
4998
  };
4999
- class Qc {
4999
+ class zc {
5000
5000
  constructor(t = null, r = null) {
5001
5001
  Lr(this, "refreshTokenPromise", null), Lr(this, "accessToken"), Lr(this, "refreshToken"), this.accessToken = t || "", this.refreshToken = r || "";
5002
5002
  }
@@ -5029,7 +5029,7 @@ class Qc {
5029
5029
  }) {
5030
5030
  const a = await Et(this.refreshToken);
5031
5031
  if (a && a.payload[F.USER_ID_KEY] !== "") {
5032
- const o = await zc({
5032
+ const o = await Jc({
5033
5033
  endpoint: t,
5034
5034
  clientId: r,
5035
5035
  userId: n,
@@ -5051,14 +5051,14 @@ class Qc {
5051
5051
  };
5052
5052
  }
5053
5053
  }
5054
- const Yc = (e) => Te(
5054
+ const Qc = (e) => Te(
5055
5055
  (...t) => {
5056
5056
  e && console.info(`==> [Auth ${Date.now()}]: `, ...t);
5057
5057
  },
5058
5058
  [e]
5059
5059
  ), et = () => {
5060
- throw new Error(Bc);
5061
- }, ui = Ti({
5060
+ throw new Error(Fc);
5061
+ }, ui = Ai({
5062
5062
  isAuthenticated: !1,
5063
5063
  isLoading: !1,
5064
5064
  login: et,
@@ -5069,11 +5069,11 @@ const Yc = (e) => Te(
5069
5069
  loginWithPasskey: et,
5070
5070
  logoutReason: "",
5071
5071
  authenticationType: ""
5072
- }), Xc = ke.createContext({
5072
+ }), Yc = ke.createContext({
5073
5073
  state: li,
5074
5074
  dispatch: () => {
5075
5075
  }
5076
- }), Zc = (e, t) => (t == null ? void 0 : t.type) === Tt ? {
5076
+ }), Xc = (e, t) => (t == null ? void 0 : t.type) === Tt ? {
5077
5077
  ...e,
5078
5078
  isLoading: t.payload.isLoading
5079
5079
  } : (t == null ? void 0 : t.type) === or ? {
@@ -5096,12 +5096,12 @@ const Yc = (e) => Te(
5096
5096
  clientId: r,
5097
5097
  domain: n = "",
5098
5098
  debug: s = !1,
5099
- endpoint: i = jc ? "https://auth.gizmette.local.com:3003" : "https://mylogin.gizmette.com/auth"
5099
+ endpoint: i = Vc ? "https://auth.gizmette.local.com:3003" : "https://mylogin.gizmette.com/auth"
5100
5100
  }) => {
5101
- const [a, o] = as(Zc, {
5101
+ const [a, o] = as(Xc, {
5102
5102
  ...li,
5103
5103
  debug: s
5104
- }), c = Yc(s), l = Q(!1), [d, u, , h] = tr({
5104
+ }), c = Qc(s), l = Q(!1), [d, u, , h] = tr({
5105
5105
  key: `${rr}::${r}::@@user@@`
5106
5106
  }), [y, m, , g] = tr({
5107
5107
  key: `${rr}::${r}::@@access@@`
@@ -5111,7 +5111,7 @@ const Yc = (e) => Te(
5111
5111
  }
5112
5112
  ), [T, R, , C] = tr({
5113
5113
  key: `${rr}::${r}::@@nonce@@`
5114
- }), L = new Qc(y, v), H = Te(() => {
5114
+ }), L = new zc(y, v), H = Te(() => {
5115
5115
  c("removeLocalStorage: removing local storage"), h(), g(), O(), C();
5116
5116
  }, [
5117
5117
  g,
@@ -5135,10 +5135,10 @@ const Yc = (e) => Te(
5135
5135
  ), A = Te(
5136
5136
  async (E) => {
5137
5137
  c("invalidateAndLogout: invalidating and logging out");
5138
- const { user: $ } = a, D = ($ == null ? void 0 : $.userId) || Gc(d);
5138
+ const { user: $ } = a, D = ($ == null ? void 0 : $.userId) || jc(d);
5139
5139
  D || c(
5140
5140
  "invalidateAndLogout: user cannot be identified, logging out without userId"
5141
- ), await qc({
5141
+ ), await Gc({
5142
5142
  userId: D,
5143
5143
  clientId: r,
5144
5144
  domain: n,
@@ -5185,14 +5185,14 @@ const Yc = (e) => Te(
5185
5185
  o({ type: Tt, payload: { isLoading: !0 } }), H();
5186
5186
  const D = Br();
5187
5187
  R(D), c("login: Logging in with password");
5188
- const { code_verifier: Je, code_challenge: Ai } = await xc(), wn = await Jc({
5188
+ const { code_verifier: Je, code_challenge: Si } = await Pc(), wn = await Wc({
5189
5189
  endpoint: i,
5190
5190
  nonce: D,
5191
5191
  clientId: r,
5192
- code_challenge: Ai
5192
+ code_challenge: Si
5193
5193
  });
5194
5194
  if (wn.status) {
5195
- const ze = await Wc({
5195
+ const ze = await qc({
5196
5196
  endpoint: i,
5197
5197
  username: E,
5198
5198
  password: $,
@@ -5219,7 +5219,7 @@ const Yc = (e) => Te(
5219
5219
  }
5220
5220
  return !1;
5221
5221
  }, N = async (E) => {
5222
- E == null || E.preventDefault(), await A(Hc);
5222
+ E == null || E.preventDefault(), await A(Kc);
5223
5223
  }, X = async () => {
5224
5224
  const { isAuthenticated: E, user: $ } = a;
5225
5225
  try {
@@ -5248,7 +5248,7 @@ const Yc = (e) => Te(
5248
5248
  } catch {
5249
5249
  return c(
5250
5250
  "getAccessToken: exception occurred, invalidating and logging out"
5251
- ), await A(Fc), "";
5251
+ ), await A(Hc), "";
5252
5252
  }
5253
5253
  }, Z = () => a.isAuthenticated && d ? d : "", ue = async () => {
5254
5254
  const { user: E } = a;
@@ -5265,7 +5265,7 @@ const Yc = (e) => Te(
5265
5265
  });
5266
5266
  if ($.status)
5267
5267
  try {
5268
- const D = await Do({
5268
+ const D = await xo({
5269
5269
  optionsJSON: $.data
5270
5270
  });
5271
5271
  return $ = await Ze({
@@ -5312,7 +5312,7 @@ const Yc = (e) => Te(
5312
5312
  });
5313
5313
  if (D.status)
5314
5314
  try {
5315
- const Je = await $o({
5315
+ const Je = await Lo({
5316
5316
  optionsJSON: D.data
5317
5317
  });
5318
5318
  return D = await Ze({
@@ -5358,7 +5358,7 @@ const Yc = (e) => Te(
5358
5358
  }
5359
5359
  return !1;
5360
5360
  };
5361
- return /* @__PURE__ */ p(Xc.Provider, { value: { state: a, dispatch: o }, children: /* @__PURE__ */ p(
5361
+ return /* @__PURE__ */ p(Yc.Provider, { value: { state: a, dispatch: o }, children: /* @__PURE__ */ p(
5362
5362
  ui.Provider,
5363
5363
  {
5364
5364
  value: {
@@ -5373,13 +5373,9 @@ const Yc = (e) => Te(
5373
5373
  children: e
5374
5374
  }
5375
5375
  ) });
5376
- }, di = (e = ui) => os(e), rd = "data", nd = "I'm having trouble right now. Please try again later.", sd = "action-search", id = "action-sort", ad = "action-toggle-prompt", od = "action-reset-prompt", cd = "sassy-saint-", ld = "details", ud = "search", dd = "sort", fd = "private-disclosure", hd = "reasoning-disclosure", Gn = "b44c68f0-e5b3-4a1d-a3e3-df8632b0223b", yd = 10, md = 30, pd = "av-prompt", gd = "av-prompt-editable", bd = "size-5 sm:size-4", wd = 30, vd = 10, Ed = 130, Sd = {
5376
+ }, di = (e = ui) => os(e), Ju = "data", zu = "I'm having trouble right now. Please try again later.", Qu = "action-search", Yu = "action-sort", Xu = "action-toggle-prompt", Zu = "action-reset-prompt", ed = "sassy-saint-", td = "details", rd = "search", nd = "sort", sd = "private-disclosure", id = "reasoning-disclosure", Gn = "b44c68f0-e5b3-4a1d-a3e3-df8632b0223b", ad = 10, od = 30, cd = "av-prompt", ld = "av-prompt-editable", ud = "size-5 sm:size-4", dd = 30, fd = 10, hd = 130, yd = {
5377
5377
  REASONING: "sassy:advanced:reasoning"
5378
- }, Ad = "user", Td = "assistant", fi = "OpenAI", el = "Anthropic", tl = "Google", Id = fi, rl = "claude-3", nl = "gpt-4", sl = "o3", il = "gemini", al = {
5379
- [el]: [rl],
5380
- [fi]: [nl, sl],
5381
- [tl]: [il]
5382
- }, ol = process.env.NODE_ENV === "production", hi = !ol, cl = hi ? "gizmette.local.com" : "gizmette.com", kd = async () => {
5378
+ }, Zc = process.env.NODE_ENV === "production", fi = !Zc, el = fi ? "gizmette.local.com" : "gizmette.com", md = async () => {
5383
5379
  const e = {
5384
5380
  /**
5385
5381
  * A boolean value that indicates the application would
@@ -5428,21 +5424,21 @@ const Yc = (e) => Te(
5428
5424
  e
5429
5425
  );
5430
5426
  });
5431
- }, Rd = (e) => window.btoa(
5427
+ }, pd = (e) => window.btoa(
5432
5428
  encodeURIComponent(e).replace(
5433
5429
  /%([0-9A-F]{2})/g,
5434
5430
  function(r, n) {
5435
5431
  return String.fromCharCode(+`0x${n}`);
5436
5432
  }
5437
5433
  )
5438
- ), Od = (e) => decodeURIComponent(
5434
+ ), gd = (e) => decodeURIComponent(
5439
5435
  window.atob(e).split("").map(function(t) {
5440
5436
  return `%${`00${t.charCodeAt(0).toString(16)}`.slice(-2)}`;
5441
5437
  }).join("")
5442
- ), Cd = (e, t) => t ? Object.keys(t).map((r) => /* @__PURE__ */ p("dl", { className: "my-0", children: /* @__PURE__ */ re("div", { className: "flex items-center justify-between", children: [
5438
+ ), bd = (e, t) => t ? Object.keys(t).map((r) => /* @__PURE__ */ p("dl", { className: "my-0", children: /* @__PURE__ */ re("div", { className: "flex items-center justify-between", children: [
5443
5439
  /* @__PURE__ */ p("dt", { className: "my-1 inline-block font-bold text-copy-dark dark:text-copy-lighter", children: r }),
5444
5440
  /* @__PURE__ */ p("dd", { className: "my-1 inline-block", children: t[r] })
5445
- ] }) }, `${e}-${r}`)) : null, ll = ({
5441
+ ] }) }, `${e}-${r}`)) : null, tl = ({
5446
5442
  isAuthenticated: e,
5447
5443
  extraClass: t
5448
5444
  }) => b(
@@ -5451,20 +5447,20 @@ const Yc = (e) => Te(
5451
5447
  "flex-1 overflow-y-auto",
5452
5448
  e ? "pt-0" : "pt-10",
5453
5449
  t
5454
- ), ul = ({
5450
+ ), rl = ({
5455
5451
  extraClass: e
5456
- } = {}) => b("px-2 sm:px-0", e), _d = (e, t) => t === 1 ? e : `${e}s`, Nd = (e, t) => {
5452
+ } = {}) => b("px-2 sm:px-0", e), wd = (e, t) => t === 1 ? e : `${e}s`, vd = (e, t) => {
5457
5453
  let r;
5458
5454
  return (...n) => {
5459
5455
  window.clearTimeout(r), r = window.setTimeout(() => e(...n), t);
5460
5456
  };
5461
- }, dl = () => !!(window != null && window.__VERSINI_CALLISTO_ELECTRON__), yi = () => window.innerWidth < 403, Pd = () => {
5462
- const e = ["iPhone Simulator", "iPhone"].includes(navigator.platform) || navigator.userAgent.includes("Mac") && "ontouchend" in document || window.indexedDB !== null, t = /iPhone/.test(navigator.userAgent), r = yi(), n = navigator.maxTouchPoints > 1;
5457
+ }, nl = () => !!(window != null && window.__VERSINI_CALLISTO_ELECTRON__), hi = () => window.innerWidth < 403, Ed = () => {
5458
+ const e = ["iPhone Simulator", "iPhone"].includes(navigator.platform) || navigator.userAgent.includes("Mac") && "ontouchend" in document || window.indexedDB !== null, t = /iPhone/.test(navigator.userAgent), r = hi(), n = navigator.maxTouchPoints > 1;
5463
5459
  return e && t && r && n;
5464
- }, xd = (e) => {
5460
+ }, Sd = (e) => {
5465
5461
  const t = e.replace(/([A-Z])/g, " $1");
5466
5462
  return t.charAt(0).toUpperCase() + t.slice(1);
5467
- }, Dd = ({
5463
+ }, Ad = ({
5468
5464
  autoClose: e = 3e3,
5469
5465
  containerId: t,
5470
5466
  position: r = "top-center",
@@ -5488,14 +5484,7 @@ const Yc = (e) => Te(
5488
5484
  theme: c,
5489
5485
  transition: l,
5490
5486
  icon: d
5491
- }), Md = (e) => {
5492
- for (const [t, r] of Object.entries(
5493
- al
5494
- ))
5495
- if (r.some((n) => e.startsWith(n)))
5496
- return t;
5497
- return null;
5498
- }, qn = "av-button", Cr = "icon", pn = "button", ln = "link", fl = ({
5487
+ }), qn = "av-button", Cr = "icon", pn = "button", ln = "link", sl = ({
5499
5488
  type: e,
5500
5489
  size: t,
5501
5490
  labelRight: r,
@@ -5531,7 +5520,7 @@ const Yc = (e) => Te(
5531
5520
  "h-12": t === "large" && i && (r || n)
5532
5521
  });
5533
5522
  }
5534
- }, hl = ({
5523
+ }, il = ({
5535
5524
  type: e,
5536
5525
  size: t,
5537
5526
  labelRight: r,
@@ -5554,7 +5543,7 @@ const Yc = (e) => Te(
5554
5543
  [a]: t === "large" && (r || n)
5555
5544
  });
5556
5545
  }
5557
- }, yl = ({
5546
+ }, al = ({
5558
5547
  mode: e,
5559
5548
  noBackground: t,
5560
5549
  truncate: r,
@@ -5590,7 +5579,7 @@ const Yc = (e) => Te(
5590
5579
  return b("not-prose text-copy-lighter", {
5591
5580
  truncate: r
5592
5581
  });
5593
- }, ml = ({
5582
+ }, ol = ({
5594
5583
  mode: e,
5595
5584
  noBackground: t,
5596
5585
  variant: r
@@ -5620,13 +5609,13 @@ const Yc = (e) => Te(
5620
5609
  if (r === "selected")
5621
5610
  return "bg-action-selected-dark";
5622
5611
  }
5623
- }, pl = ({
5612
+ }, cl = ({
5624
5613
  radius: e
5625
5614
  }) => b({
5626
5615
  "rounded-full": e === "large",
5627
5616
  "rounded-md": e === "medium",
5628
5617
  "rounded-xs": e === "small"
5629
- }), gl = ({
5618
+ }), ll = ({
5630
5619
  mode: e,
5631
5620
  disabled: t,
5632
5621
  variant: r
@@ -5656,7 +5645,7 @@ const Yc = (e) => Te(
5656
5645
  });
5657
5646
  if (r === "selected")
5658
5647
  return "hover:text-copy-light-hover hover:bg-action-selected-dark-hover";
5659
- }, bl = ({
5648
+ }, ul = ({
5660
5649
  mode: e,
5661
5650
  disabled: t,
5662
5651
  variant: r
@@ -5686,7 +5675,7 @@ const Yc = (e) => Te(
5686
5675
  });
5687
5676
  if (r === "selected")
5688
5677
  return "active:text-copy-lighter-active active:bg-action-selected-dark-active";
5689
- }, wl = ({
5678
+ }, dl = ({
5690
5679
  mode: e,
5691
5680
  noBorder: t,
5692
5681
  variant: r
@@ -5716,14 +5705,14 @@ const Yc = (e) => Te(
5716
5705
  });
5717
5706
  if (r === "selected")
5718
5707
  return "border border-border-selected-dark";
5719
- }, vl = ({
5708
+ }, fl = ({
5720
5709
  focusMode: e
5721
5710
  }) => b("focus:outline", "focus:outline-2", "focus:outline-offset-2", {
5722
5711
  "focus:outline-focus-dark": e === "dark",
5723
5712
  "focus:outline-focus-light": e === "light",
5724
5713
  "focus:outline-focus-light dark:focus:outline-focus-dark": e === "alt-system",
5725
5714
  "focus:outline-focus-dark dark:focus:outline-focus-light": e === "system"
5726
- }), El = ({
5715
+ }), hl = ({
5727
5716
  mode: e,
5728
5717
  raw: t,
5729
5718
  iconClassName: r
@@ -5735,11 +5724,11 @@ const Yc = (e) => Te(
5735
5724
  "dark:text-copy-accent-dark": e === "system"
5736
5725
  },
5737
5726
  r
5738
- ), Sl = ({
5727
+ ), yl = ({
5739
5728
  animated: e
5740
5729
  }) => b({
5741
5730
  "transition-opacity duration-300 ease-in": e
5742
- }), mi = ({
5731
+ }), yi = ({
5743
5732
  type: e,
5744
5733
  className: t,
5745
5734
  raw: r,
@@ -5759,15 +5748,15 @@ const Yc = (e) => Te(
5759
5748
  animated: v
5760
5749
  }) => (h || (h = "primary"), r ? b(qn, t) : b(
5761
5750
  qn,
5762
- yl({
5751
+ al({
5763
5752
  mode: n,
5764
5753
  variant: h,
5765
5754
  noBackground: u,
5766
5755
  truncate: y
5767
5756
  }),
5768
- ml({ mode: n, noBackground: u, variant: h }),
5769
- pl({ radius: g }),
5770
- fl({
5757
+ ol({ mode: n, noBackground: u, variant: h }),
5758
+ cl({ radius: g }),
5759
+ sl({
5771
5760
  type: e,
5772
5761
  size: o,
5773
5762
  labelRight: l,
@@ -5775,11 +5764,11 @@ const Yc = (e) => Te(
5775
5764
  align: m,
5776
5765
  animated: v
5777
5766
  }),
5778
- hl({ type: e, size: o, labelRight: l, labelLeft: d }),
5779
- wl({ mode: n, variant: h, noBorder: c }),
5780
- vl({ focusMode: s }),
5781
- gl({ mode: n, variant: h, disabled: i }),
5782
- bl({ mode: n, variant: h, disabled: i }),
5767
+ il({ type: e, size: o, labelRight: l, labelLeft: d }),
5768
+ dl({ mode: n, variant: h, noBorder: c }),
5769
+ fl({ focusMode: s }),
5770
+ ll({ mode: n, variant: h, disabled: i }),
5771
+ ul({ mode: n, variant: h, disabled: i }),
5783
5772
  {
5784
5773
  "w-full": a,
5785
5774
  "disabled:cursor-not-allowed disabled:opacity-50": i
@@ -5788,7 +5777,7 @@ const Yc = (e) => Te(
5788
5777
  "transition-[width] duration-300 ease-in-out": e === Cr && v
5789
5778
  }),
5790
5779
  t
5791
- )), Al = (e, t, r) => {
5780
+ )), ml = (e, t, r) => {
5792
5781
  var n;
5793
5782
  !t && (!document.activeElement || document.activeElement !== e.currentTarget) && typeof ((n = e == null ? void 0 : e.currentTarget) == null ? void 0 : n.focus) == "function" && e.currentTarget.focus(), typeof r == "function" && r(e);
5794
5783
  }, gn = ke.forwardRef((e, t) => {
@@ -5798,14 +5787,14 @@ const Yc = (e) => Te(
5798
5787
  {
5799
5788
  ref: t,
5800
5789
  onClick: (i) => {
5801
- Al(i, n, r);
5790
+ ml(i, n, r);
5802
5791
  },
5803
5792
  ...s
5804
5793
  }
5805
5794
  );
5806
5795
  });
5807
5796
  gn.displayName = "BaseButton";
5808
- const pi = ke.forwardRef(
5797
+ const mi = ke.forwardRef(
5809
5798
  ({
5810
5799
  children: e,
5811
5800
  disabled: t = !1,
@@ -5821,7 +5810,7 @@ const pi = ke.forwardRef(
5821
5810
  radius: u = "large",
5822
5811
  ...h
5823
5812
  }, y) => {
5824
- const m = mi({
5813
+ const m = yi({
5825
5814
  type: pn,
5826
5815
  mode: r,
5827
5816
  focusMode: n,
@@ -5847,14 +5836,14 @@ const pi = ke.forwardRef(
5847
5836
  );
5848
5837
  }
5849
5838
  );
5850
- pi.displayName = "Button";
5851
- function Tl() {
5839
+ mi.displayName = "Button";
5840
+ function pl() {
5852
5841
  const e = Q(!1);
5853
5842
  return ge(() => (e.current = !0, () => {
5854
5843
  e.current = !1;
5855
5844
  }), []), Te(() => e.current, []);
5856
5845
  }
5857
- function Il(e) {
5846
+ function gl(e) {
5858
5847
  return Er(() => e.every((t) => t == null) ? () => {
5859
5848
  } : (t) => {
5860
5849
  e.forEach((r) => {
@@ -5862,7 +5851,7 @@ function Il(e) {
5862
5851
  });
5863
5852
  }, e);
5864
5853
  }
5865
- const kl = {
5854
+ const bl = {
5866
5855
  x: 0,
5867
5856
  y: 0,
5868
5857
  width: 0,
@@ -5873,7 +5862,7 @@ const kl = {
5873
5862
  right: 0
5874
5863
  };
5875
5864
  function jr(e) {
5876
- const t = Tl(), r = Q(0), n = Q(null), [s, i] = Ae(kl), a = Er(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((o) => {
5865
+ const t = pl(), r = Q(0), n = Q(null), [s, i] = Ae(bl), a = Er(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((o) => {
5877
5866
  const c = o[0];
5878
5867
  c && (cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
5879
5868
  n.current && t() && i(c.contentRect);
@@ -5883,21 +5872,21 @@ function jr(e) {
5883
5872
  a == null || a.disconnect(), r.current && cancelAnimationFrame(r.current);
5884
5873
  }), [a, e]), [n, s];
5885
5874
  }
5886
- const Rl = {
5875
+ const wl = {
5887
5876
  small: 24,
5888
5877
  // w-6
5889
5878
  medium: 32,
5890
5879
  // w-8
5891
5880
  large: 48
5892
5881
  // w-12
5893
- }, Ol = {
5882
+ }, vl = {
5894
5883
  small: 8 * 2,
5895
5884
  // px-2 x 2
5896
5885
  medium: 12 * 2,
5897
5886
  // px-3 x 2
5898
5887
  large: 16 * 2
5899
5888
  // px-4 x 2
5900
- }, Cl = 2, wr = ke.forwardRef(
5889
+ }, El = 2, wr = ke.forwardRef(
5901
5890
  ({
5902
5891
  children: e,
5903
5892
  disabled: t = !1,
@@ -5921,7 +5910,7 @@ const Rl = {
5921
5910
  animated: T = !1,
5922
5911
  ...R
5923
5912
  }, C) => {
5924
- const L = mi({
5913
+ const L = yi({
5925
5914
  type: Cr,
5926
5915
  mode: r,
5927
5916
  focusMode: n,
@@ -5938,11 +5927,11 @@ const Rl = {
5938
5927
  radius: v,
5939
5928
  variant: k,
5940
5929
  animated: T
5941
- }), H = El({ mode: r, raw: o, iconClassName: O }), S = Sl({ animated: T }), [A, P] = jr(), [N, X] = jr(), [Z, ue] = jr(), Oe = Q(0), E = Q(null), $ = Il([C, E]);
5930
+ }), H = hl({ mode: r, raw: o, iconClassName: O }), S = yl({ animated: T }), [A, P] = jr(), [N, X] = jr(), [Z, ue] = jr(), Oe = Q(0), E = Q(null), $ = gl([C, E]);
5942
5931
  return ur(() => {
5943
- Z && Z.current && T && (Oe.current = ue.width + Ol[u] + (c ? 0 : Cl));
5932
+ Z && Z.current && T && (Oe.current = ue.width + vl[u] + (c ? 0 : El));
5944
5933
  }, [ue, Z, u, c, T]), ur(() => {
5945
- E && E.current && T && (h && A && P.width > 0 ? (A.current && (A.current.style.opacity = "100"), E.current.style.width = `${P.width + Oe.current}px`) : y && X.width > 0 ? (N.current && (N.current.style.opacity = "100"), E.current.style.width = `${X.width + Oe.current}px`) : (A.current && (A.current.style.opacity = "0"), N.current && (N.current.style.opacity = "0"), E.current.style.width = `${Rl[u]}px`));
5934
+ E && E.current && T && (h && A && P.width > 0 ? (A.current && (A.current.style.opacity = "100"), E.current.style.width = `${P.width + Oe.current}px`) : y && X.width > 0 ? (N.current && (N.current.style.opacity = "100"), E.current.style.width = `${X.width + Oe.current}px`) : (A.current && (A.current.style.opacity = "0"), N.current && (N.current.style.opacity = "0"), E.current.style.width = `${wl[u]}px`));
5946
5935
  }, [
5947
5936
  P,
5948
5937
  h,
@@ -6005,7 +5994,7 @@ try {
6005
5994
  });
6006
5995
  } catch {
6007
5996
  }
6008
- const _l = ke.forwardRef(
5997
+ const Sl = ke.forwardRef(
6009
5998
  ({
6010
5999
  children: e,
6011
6000
  mode: t = "system",
@@ -6043,7 +6032,7 @@ const _l = ke.forwardRef(
6043
6032
  ) });
6044
6033
  }
6045
6034
  );
6046
- _l.displayName = "ButtonSort";
6035
+ Sl.displayName = "ButtonSort";
6047
6036
  /*!
6048
6037
  @versini/ui-card v4.0.1
6049
6038
  © 2025 gizmette.com
@@ -6058,11 +6047,11 @@ try {
6058
6047
  } catch {
6059
6048
  }
6060
6049
  const cr = "av-card";
6061
- function Nl(e) {
6050
+ function Al(e) {
6062
6051
  const t = cs();
6063
6052
  return `${e}${t}`;
6064
6053
  }
6065
- const Pl = ({
6054
+ const Tl = ({
6066
6055
  className: e,
6067
6056
  headerClassName: t,
6068
6057
  bodyClassName: r,
@@ -6102,7 +6091,7 @@ const Pl = ({
6102
6091
  footer: d
6103
6092
  };
6104
6093
  };
6105
- function xl({
6094
+ function Il({
6106
6095
  id: e,
6107
6096
  content: t,
6108
6097
  userAriaLabelledby: r,
@@ -6110,7 +6099,7 @@ function xl({
6110
6099
  }) {
6111
6100
  return typeof t == "string" ? /* @__PURE__ */ p("h2", { id: e, className: n, children: t }) : r ? /* @__PURE__ */ p("div", { className: n, children: t }) : t ? /* @__PURE__ */ p("div", { className: n, id: e, children: t }) : null;
6112
6101
  }
6113
- const Dl = ({
6102
+ const kl = ({
6114
6103
  header: e,
6115
6104
  headerClassName: t,
6116
6105
  footer: r,
@@ -6125,7 +6114,7 @@ const Dl = ({
6125
6114
  ...u
6126
6115
  }) => {
6127
6116
  let h = null, y = null;
6128
- const m = typeof e == "string", g = Nl(cr), v = Pl({
6117
+ const m = typeof e == "string", g = Al(cr), v = Tl({
6129
6118
  className: i,
6130
6119
  headerClassName: t,
6131
6120
  bodyClassName: a,
@@ -6144,7 +6133,7 @@ const Dl = ({
6144
6133
  ...u,
6145
6134
  children: [
6146
6135
  /* @__PURE__ */ p(
6147
- xl,
6136
+ Il,
6148
6137
  {
6149
6138
  ...h && { id: h },
6150
6139
  content: e,
@@ -6200,7 +6189,7 @@ try {
6200
6189
  });
6201
6190
  } catch {
6202
6191
  }
6203
- const Ml = ({
6192
+ const Rl = ({
6204
6193
  className: e,
6205
6194
  viewBox: t,
6206
6195
  title: r,
@@ -6217,7 +6206,7 @@ const Ml = ({
6217
6206
  ...s,
6218
6207
  children: /* @__PURE__ */ p("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" })
6219
6208
  }
6220
- ), Ll = ({
6209
+ ), Ol = ({
6221
6210
  className: e,
6222
6211
  viewBox: t,
6223
6212
  title: r,
@@ -6243,7 +6232,7 @@ const Ml = ({
6243
6232
  /* @__PURE__ */ p("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" })
6244
6233
  ]
6245
6234
  }
6246
- ), $l = ({
6235
+ ), Cl = ({
6247
6236
  className: e,
6248
6237
  viewBox: t,
6249
6238
  title: r,
@@ -6279,7 +6268,7 @@ const Ml = ({
6279
6268
  ]
6280
6269
  }
6281
6270
  );
6282
- }, Ul = ({
6271
+ }, _l = ({
6283
6272
  className: e,
6284
6273
  viewBox: t,
6285
6274
  title: r,
@@ -6332,7 +6321,7 @@ try {
6332
6321
  });
6333
6322
  } catch {
6334
6323
  }
6335
- const Kl = "av-main", Hl = ({
6324
+ const Nl = "av-main", Pl = ({
6336
6325
  children: e,
6337
6326
  className: t,
6338
6327
  raw: r = !1,
@@ -6341,7 +6330,7 @@ const Kl = "av-main", Hl = ({
6341
6330
  ...i
6342
6331
  }) => {
6343
6332
  const a = b(
6344
- Kl,
6333
+ Nl,
6345
6334
  {
6346
6335
  "mt-2 sm:mt-3": !r && !n,
6347
6336
  "p-2": !r && !s,
@@ -6350,10 +6339,10 @@ const Kl = "av-main", Hl = ({
6350
6339
  t
6351
6340
  );
6352
6341
  return /* @__PURE__ */ p("main", { className: a, ...i, children: e });
6353
- }, Fl = "av-flexgrid", sr = "av-flexgrid-item", vr = 0.25, un = ke.createContext({
6342
+ }, xl = "av-flexgrid", sr = "av-flexgrid-item", vr = 0.25, un = ke.createContext({
6354
6343
  columnGap: 0,
6355
6344
  rowGap: 0
6356
- }), Bl = ({
6345
+ }), Dl = ({
6357
6346
  children: e,
6358
6347
  className: t,
6359
6348
  columnGap: r = 1,
@@ -6379,7 +6368,7 @@ const Kl = "av-main", Hl = ({
6379
6368
  marginLeft: r * -1 * vr + "rem",
6380
6369
  marginTop: n * -1 * vr + "rem"
6381
6370
  }, u = b(
6382
- Fl,
6371
+ xl,
6383
6372
  "box-border flex flex-wrap"
6384
6373
  ), h = { columnGap: r, rowGap: n };
6385
6374
  return t ? /* @__PURE__ */ p("div", { className: t, children: /* @__PURE__ */ p("div", { className: u, style: d, ...l, children: /* @__PURE__ */ p(un.Provider, { value: h, children: e }) }) }) : /* @__PURE__ */ p("div", { className: u, style: d, ...l, children: /* @__PURE__ */ p(un.Provider, { value: h, children: e }) });
@@ -6456,7 +6445,7 @@ const Kl = "av-main", Hl = ({
6456
6445
  "lg:basis-full": e === 12 && t === "lg",
6457
6446
  "xl:basis-full": e === 12 && t === "xl",
6458
6447
  "2xl:basis-full": e === 12 && t === "2xl"
6459
- }), Vl = ({
6448
+ }), Ml = ({
6460
6449
  className: e,
6461
6450
  span: t
6462
6451
  }) => {
@@ -6488,7 +6477,7 @@ const Kl = "av-main", Hl = ({
6488
6477
  const { columnGap: s, rowGap: i } = os(un), a = {
6489
6478
  paddingLeft: s * vr + "rem",
6490
6479
  paddingTop: i * vr + "rem"
6491
- }, o = Vl({
6480
+ }, o = Ml({
6492
6481
  className: t,
6493
6482
  span: r
6494
6483
  });
@@ -6507,14 +6496,14 @@ try {
6507
6496
  });
6508
6497
  } catch {
6509
6498
  }
6510
- const gi = "av-text-input", jl = "av-text-input-wrapper", qr = "av-text-input-helper-text";
6511
- function Gl() {
6499
+ const pi = "av-text-input", Ll = "av-text-input-wrapper", qr = "av-text-input-helper-text";
6500
+ function $l() {
6512
6501
  const e = Q(!1);
6513
6502
  return ge(() => (e.current = !0, () => {
6514
6503
  e.current = !1;
6515
6504
  }), []), Te(() => e.current, []);
6516
6505
  }
6517
- const ql = {
6506
+ const Ul = {
6518
6507
  x: 0,
6519
6508
  y: 0,
6520
6509
  width: 0,
@@ -6524,8 +6513,8 @@ const ql = {
6524
6513
  bottom: 0,
6525
6514
  right: 0
6526
6515
  };
6527
- function Wl(e) {
6528
- const t = Gl(), r = Q(0), n = Q(null), [s, i] = Ae(ql), a = Er(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((o) => {
6516
+ function Kl(e) {
6517
+ const t = $l(), r = Q(0), n = Q(null), [s, i] = Ae(Ul), a = Er(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((o) => {
6529
6518
  const c = o[0];
6530
6519
  c && (cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
6531
6520
  n.current && t() && i(c.contentRect);
@@ -6535,7 +6524,7 @@ function Wl(e) {
6535
6524
  a == null || a.disconnect(), r.current && cancelAnimationFrame(r.current);
6536
6525
  }), [a, e]), [n, s];
6537
6526
  }
6538
- function Jl(e) {
6527
+ function Hl(e) {
6539
6528
  const t = cs();
6540
6529
  if (!e)
6541
6530
  return t;
@@ -6546,7 +6535,7 @@ function Jl(e) {
6546
6535
  return typeof r == "number" || typeof r == "string" ? `${n}${r}` : `${n}${t}`;
6547
6536
  }
6548
6537
  }
6549
- const bi = "SET_ANNOUNCEMENT", wi = "CLEAR_ANNOUNCEMENT", zl = {
6538
+ const gi = "SET_ANNOUNCEMENT", bi = "CLEAR_ANNOUNCEMENT", Fl = {
6550
6539
  alert: null,
6551
6540
  alertdialog: null,
6552
6541
  log: "polite",
@@ -6554,14 +6543,14 @@ const bi = "SET_ANNOUNCEMENT", wi = "CLEAR_ANNOUNCEMENT", zl = {
6554
6543
  progressbar: null,
6555
6544
  status: "polite",
6556
6545
  timer: "assertive"
6557
- }, Ql = (e, t) => {
6546
+ }, Bl = (e, t) => {
6558
6547
  switch (t == null ? void 0 : t.type) {
6559
- case bi:
6548
+ case gi:
6560
6549
  return {
6561
6550
  ...e,
6562
6551
  announcement: t.payload
6563
6552
  };
6564
- case wi:
6553
+ case bi:
6565
6554
  return {
6566
6555
  ...e,
6567
6556
  announcement: null
@@ -6569,12 +6558,12 @@ const bi = "SET_ANNOUNCEMENT", wi = "CLEAR_ANNOUNCEMENT", zl = {
6569
6558
  default:
6570
6559
  return e;
6571
6560
  }
6572
- }, Yl = ({
6561
+ }, Vl = ({
6573
6562
  onAnnouncementClear: e,
6574
6563
  dispatch: t
6575
6564
  }) => {
6576
6565
  t({
6577
- type: wi
6566
+ type: bi
6578
6567
  }), typeof e == "function" && e();
6579
6568
  }, Jn = ({
6580
6569
  children: e,
@@ -6584,16 +6573,16 @@ const bi = "SET_ANNOUNCEMENT", wi = "CLEAR_ANNOUNCEMENT", zl = {
6584
6573
  dispatch: s
6585
6574
  }) => {
6586
6575
  clearTimeout(r.current), e !== null && s({
6587
- type: bi,
6576
+ type: gi,
6588
6577
  payload: e
6589
6578
  }), t && (r.current = setTimeout(
6590
- () => Yl({
6579
+ () => Vl({
6591
6580
  onAnnouncementClear: n,
6592
6581
  dispatch: s
6593
6582
  }),
6594
6583
  t
6595
6584
  ));
6596
- }, Xl = ({
6585
+ }, jl = ({
6597
6586
  children: e,
6598
6587
  announcementTimeoutRef: t,
6599
6588
  announcementDelay: r,
@@ -6616,7 +6605,7 @@ const bi = "SET_ANNOUNCEMENT", wi = "CLEAR_ANNOUNCEMENT", zl = {
6616
6605
  dispatch: a
6617
6606
  });
6618
6607
  };
6619
- function vi({
6608
+ function wi({
6620
6609
  children: e,
6621
6610
  className: t,
6622
6611
  politeness: r,
@@ -6627,12 +6616,12 @@ function vi({
6627
6616
  visible: o,
6628
6617
  ...c
6629
6618
  }) {
6630
- const l = Q(null), d = Q(null), [u, h] = as(Ql, {
6619
+ const l = Q(null), d = Q(null), [u, h] = as(Bl, {
6631
6620
  announcement: null
6632
6621
  });
6633
6622
  let y = r;
6634
- typeof y > "u" && (y = n ? zl[n] : "assertive"), ge(() => {
6635
- Xl({
6623
+ typeof y > "u" && (y = n ? Fl[n] : "assertive"), ge(() => {
6624
+ jl({
6636
6625
  announcementTimeoutRef: l,
6637
6626
  announcementDelay: s,
6638
6627
  children: e,
@@ -6674,21 +6663,21 @@ try {
6674
6663
  });
6675
6664
  } catch {
6676
6665
  }
6677
- const Zl = ({
6666
+ const Gl = ({
6678
6667
  mode: e
6679
6668
  }) => b({
6680
6669
  "bg-surface-darker text-copy-lighter caret-copy-light": e === "dark",
6681
6670
  "bg-surface-lighter text-copy-dark caret-copy-dark": e === "light",
6682
6671
  "bg-surface-lighter text-copy-dark caret-copy-dark dark:bg-surface-darker dark:text-copy-lighter dark:caret-copy-light": e === "system",
6683
6672
  "bg-surface-darker text-copy-lighter caret-copy-light dark:bg-surface-lighter dark:text-copy-dark dark:caret-copy-dark": e === "alt-system"
6684
- }), eu = ({
6673
+ }), ql = ({
6685
6674
  focusMode: e
6686
6675
  }) => b("focus:outline focus:outline-2 focus:outline-offset-2", {
6687
6676
  "focus:outline-focus-dark": e === "dark",
6688
6677
  "focus:outline-focus-light": e === "light",
6689
6678
  "focus:outline-focus-light dark:focus:outline-focus-dark": e === "alt-system",
6690
6679
  "focus:outline-focus-dark dark:focus:outline-focus-light": e === "system"
6691
- }), tu = ({
6680
+ }), Wl = ({
6692
6681
  noBorder: e,
6693
6682
  error: t
6694
6683
  }) => b("border-2", {
@@ -6696,7 +6685,7 @@ const Zl = ({
6696
6685
  "focus:border-border-dark": !e && t,
6697
6686
  "border-border-error-dark": !e && t,
6698
6687
  "border-transparent": e
6699
- }), ru = ({
6688
+ }), Jl = ({
6700
6689
  disabled: e,
6701
6690
  raw: t,
6702
6691
  error: r,
@@ -6720,7 +6709,7 @@ const Zl = ({
6720
6709
  "text-copy-error-dark dark:text-copy-error-light dark:bg-surface-darker": n === "system",
6721
6710
  "text-copy-lighter dark:text-copy-error-dark": n === "alt-system"
6722
6711
  });
6723
- }, nu = ({
6712
+ }, zl = ({
6724
6713
  error: e,
6725
6714
  raw: t,
6726
6715
  mode: r,
@@ -6747,7 +6736,7 @@ const Zl = ({
6747
6736
  "text-copy-error-dark dark:text-copy-error-light dark:bg-surface-darker": r === "system",
6748
6737
  "dark:text-copy-error-dark text-copy-error-light bg-surface-darker": r === "alt-system"
6749
6738
  });
6750
- }, su = ({
6739
+ }, Ql = ({
6751
6740
  className: e,
6752
6741
  inputClassName: t,
6753
6742
  raw: r,
@@ -6761,7 +6750,7 @@ const Zl = ({
6761
6750
  }) => {
6762
6751
  const d = r ? e : b(
6763
6752
  "relative flex w-full flex-col justify-center",
6764
- jl,
6753
+ Ll,
6765
6754
  e
6766
6755
  );
6767
6756
  let u = "";
@@ -6783,22 +6772,22 @@ const Zl = ({
6783
6772
  break;
6784
6773
  }
6785
6774
  const h = r ? b(t) : b(
6786
- gi,
6775
+ pi,
6787
6776
  u,
6788
6777
  "rounded-md text-base px-4",
6789
- Zl({ mode: a }),
6790
- eu({ focusMode: o }),
6791
- tu({ noBorder: s, error: i }),
6778
+ Gl({ mode: a }),
6779
+ ql({ focusMode: o }),
6780
+ Wl({ noBorder: s, error: i }),
6792
6781
  {
6793
6782
  "disabled:cursor-not-allowed disabled:opacity-50": n
6794
6783
  },
6795
6784
  t
6796
- ), y = r ? void 0 : "sr-only", m = ru({
6785
+ ), y = r ? void 0 : "sr-only", m = Jl({
6797
6786
  disabled: n,
6798
6787
  raw: r,
6799
6788
  error: i,
6800
6789
  mode: a
6801
- }), g = nu({
6790
+ }), g = zl({
6802
6791
  error: i,
6803
6792
  raw: r,
6804
6793
  mode: a,
@@ -6834,13 +6823,13 @@ const Zl = ({
6834
6823
  size: k = "md",
6835
6824
  ...O
6836
6825
  }, T) => {
6837
- const [R, C] = Wl(), [L, H] = Ae(0), S = Jl({ id: e, prefix: `${gi}-` }), A = `${t} error, ${m}`, P = Q(null), N = Q(null), X = {
6826
+ const [R, C] = Kl(), [L, H] = Ae(0), S = Hl({ id: e, prefix: `${pi}-` }), A = `${t} error, ${m}`, P = Q(null), N = Q(null), X = {
6838
6827
  xs: { label: "-25px", helperText: "30px" },
6839
6828
  sm: { label: "-29px", helperText: "34px" },
6840
6829
  md: { label: "-33px", helperText: "38px" },
6841
6830
  lg: { label: "-15px", helperText: "22px" },
6842
6831
  xl: { label: "-19px", helperText: "25px" }
6843
- }, Z = su({
6832
+ }, Z = Ql({
6844
6833
  className: i,
6845
6834
  inputClassName: a,
6846
6835
  error: n,
@@ -6914,12 +6903,12 @@ const Zl = ({
6914
6903
  children: g
6915
6904
  }
6916
6905
  ),
6917
- n && m && /* @__PURE__ */ p(vi, { politeness: "polite", clearAnnouncementDelay: 500, children: A })
6906
+ n && m && /* @__PURE__ */ p(wi, { politeness: "polite", clearAnnouncementDelay: 500, children: A })
6918
6907
  ] });
6919
6908
  }
6920
6909
  );
6921
6910
  bn.displayName = "TextInput";
6922
- function iu(e) {
6911
+ function Yl(e) {
6923
6912
  return Er(() => e.every((t) => t == null) ? () => {
6924
6913
  } : (t) => {
6925
6914
  e.forEach((r) => {
@@ -6927,7 +6916,7 @@ function iu(e) {
6927
6916
  });
6928
6917
  }, e);
6929
6918
  }
6930
- const au = 500, ou = 5e3, cu = 2e4, Ei = ke.forwardRef(
6919
+ const Xl = 500, Zl = 5e3, eu = 2e4, vi = ke.forwardRef(
6931
6920
  ({
6932
6921
  name: e,
6933
6922
  disabled: t,
@@ -6944,19 +6933,19 @@ const au = 500, ou = 5e3, cu = 2e4, Ei = ke.forwardRef(
6944
6933
  const [h, y] = Ae(!0), [m, g] = Ae({
6945
6934
  message: null,
6946
6935
  politeness: null
6947
- }), v = Q(!0), k = Q(null), O = Q(null), T = iu([u, O]), R = h ? "Show" : "Hide", C = () => {
6936
+ }), v = Q(!0), k = Q(null), O = Q(null), T = Yl([u, O]), R = h ? "Show" : "Hide", C = () => {
6948
6937
  k.current && clearTimeout(k.current), v.current || (k.current = setTimeout(() => {
6949
6938
  v.current = !0, y(!0), g({
6950
- announcementTimeout: ou,
6939
+ announcementTimeout: Zl,
6951
6940
  politeness: "polite",
6952
6941
  message: `${r} hiding characters`
6953
6942
  }), s && s(!0);
6954
- }, cu));
6943
+ }, eu));
6955
6944
  }, L = (N) => {
6956
6945
  N.preventDefault();
6957
6946
  const X = !v.current;
6958
6947
  v.current = X, C(), y(X), g({
6959
- announcementTimeout: au,
6948
+ announcementTimeout: Xl,
6960
6949
  politeness: "assertive",
6961
6950
  message: X ? "Characters hidden" : "Characters showing"
6962
6951
  }), s && s(X);
@@ -6997,7 +6986,7 @@ const au = 500, ou = 5e3, cu = 2e4, Ei = ke.forwardRef(
6997
6986
  }
6998
6987
  ),
6999
6988
  /* @__PURE__ */ p(
7000
- vi,
6989
+ wi,
7001
6990
  {
7002
6991
  role: "status",
7003
6992
  politeness: m.politeness,
@@ -7008,7 +6997,7 @@ const au = 500, ou = 5e3, cu = 2e4, Ei = ke.forwardRef(
7008
6997
  ] });
7009
6998
  }
7010
6999
  );
7011
- Ei.displayName = "TextInputMask";
7000
+ vi.displayName = "TextInputMask";
7012
7001
  /*!
7013
7002
  @versini/ui-textinput v4.0.1
7014
7003
  © 2025 gizmette.com
@@ -7022,17 +7011,17 @@ try {
7022
7011
  });
7023
7012
  } catch {
7024
7013
  }
7025
- const lu = "ASK! ME! ANYTHING!", Si = "Callisto", uu = "Log in", du = "Sign in with a Passkey", Ld = "Log out", fu = "Password", $d = "Usage", Ud = "Profile", Kd = "Settings", Hd = "Chat history", Fd = "About", Bd = "Type your question here", Vd = "{{clipboard}}", jd = `Sometimes, ${Si} hallucinates. Review important details.`, Gd = "Prompts are pre-filled menus available on the main screen, to help you quickly start requests. If you select the 'Private Chat' checkbox, the corresponding chat will not be saved. If you select the 'Clipboard Access' checkbox, your clipboard content (if any) will be provided to the request.", qd = "Default provider set to", Wd = "Chat successfully deleted!", Jd = "Chat successfully saved!", zd = "av-sassy", Qd = {
7014
+ const tu = "ASK! ME! ANYTHING!", Ei = "Callisto", ru = "Log in", nu = "Sign in with a Passkey", Td = "Log out", su = "Password", Id = "Usage", kd = "Profile", Rd = "Settings", Od = "Chat history", Cd = "About", _d = "Type your question here", Nd = "{{clipboard}}", Pd = `Sometimes, ${Ei} hallucinates. Review important details.`, xd = "Prompts are pre-filled menus available on the main screen, to help you quickly start requests. If you select the 'Private Chat' checkbox, the corresponding chat will not be saved. If you select the 'Clipboard Access' checkbox, your clipboard content (if any) will be provided to the request.", Dd = "Default provider set to", Md = "Chat successfully deleted!", Ld = "Chat successfully saved!", $d = "av-sassy", Ud = {
7026
7015
  0: ["January", "February", "March"],
7027
7016
  3: ["April", "May", "June"],
7028
7017
  6: ["July", "August", "September"],
7029
7018
  9: ["October", "November", "December"]
7030
- }, Yd = {
7019
+ }, Kd = {
7031
7020
  0: ["Jan", "Feb", "Mar"],
7032
7021
  3: ["Apr", "May", "Jun"],
7033
7022
  6: ["Jul", "Aug", "Sep"],
7034
7023
  9: ["Oct", "Nov", "Dec"]
7035
- }, Xd = {
7024
+ }, Hd = {
7036
7025
  PREFERENCES: {
7037
7026
  TITLE: "User profile",
7038
7027
  NAME: "Name",
@@ -7065,24 +7054,24 @@ const lu = "ASK! ME! ANYTHING!", Si = "Callisto", uu = "Log in", du = "Sign in w
7065
7054
  TITLE: "Chat Details",
7066
7055
  INSTRUCTION: "This option adds individual statistics for each messages under their respective bubbles, such as model name, and more."
7067
7056
  }
7068
- }, hu = () => /* @__PURE__ */ re(
7057
+ }, iu = () => /* @__PURE__ */ re(
7069
7058
  "div",
7070
7059
  {
7071
7060
  className: b(
7072
7061
  {
7073
- "mt-4": yi()
7062
+ "mt-4": hi()
7074
7063
  },
7075
7064
  "flex items-center justify-center text-slate-300"
7076
7065
  ),
7077
7066
  children: [
7078
- /* @__PURE__ */ p("div", { className: "basis-1/4", children: /* @__PURE__ */ p(Ml, {}) }),
7067
+ /* @__PURE__ */ p("div", { className: "basis-1/4", children: /* @__PURE__ */ p(Rl, {}) }),
7079
7068
  /* @__PURE__ */ re("div", { className: "prose prose-sm prose-light md:prose-base prose-h1:mb-0 prose-h2:mt-0", children: [
7080
- /* @__PURE__ */ p("h1", { children: Si }),
7081
- /* @__PURE__ */ p("h2", { children: lu })
7069
+ /* @__PURE__ */ p("h1", { children: Ei }),
7070
+ /* @__PURE__ */ p("h2", { children: tu })
7082
7071
  ] })
7083
7072
  ]
7084
7073
  }
7085
- ), yu = () => {
7074
+ ), au = () => {
7086
7075
  const { login: e, logoutReason: t, loginWithPasskey: r } = di(), [n, s] = Ae(""), [i, a] = Ae(""), [o, c] = Ae(!0), [l, d] = Ae({
7087
7076
  username: "",
7088
7077
  password: ""
@@ -7098,9 +7087,9 @@ const lu = "ASK! ME! ANYTHING!", Si = "Callisto", uu = "Log in", du = "Sign in w
7098
7087
  }), ge(() => {
7099
7088
  t && a(t);
7100
7089
  }, [t]), /* @__PURE__ */ p(lr, { children: /* @__PURE__ */ re(
7101
- Hl,
7090
+ Pl,
7102
7091
  {
7103
- className: ul({
7092
+ className: rl({
7104
7093
  extraClass: "mt-5"
7105
7094
  }),
7106
7095
  noMargin: !0,
@@ -7109,13 +7098,13 @@ const lu = "ASK! ME! ANYTHING!", Si = "Callisto", uu = "Log in", du = "Sign in w
7109
7098
  /* @__PURE__ */ p(
7110
7099
  "div",
7111
7100
  {
7112
- className: ll({
7101
+ className: tl({
7113
7102
  extraClass: "rounded-md"
7114
7103
  }),
7115
- children: /* @__PURE__ */ p(hu, {})
7104
+ children: /* @__PURE__ */ p(iu, {})
7116
7105
  }
7117
7106
  ),
7118
- /* @__PURE__ */ p("form", { className: "mt-5", onSubmit: u, children: /* @__PURE__ */ p(Bl, { alignHorizontal: "center", children: /* @__PURE__ */ p(Ke, { span: 6, children: /* @__PURE__ */ re(Dl, { mode: "dark", children: [
7107
+ /* @__PURE__ */ p("form", { className: "mt-5", onSubmit: u, children: /* @__PURE__ */ p(Dl, { alignHorizontal: "center", children: /* @__PURE__ */ p(Ke, { span: 6, children: /* @__PURE__ */ re(kl, { mode: "dark", children: [
7119
7108
  /* @__PURE__ */ p(Ke, { span: 12, className: "mt-7", children: i && /* @__PURE__ */ p("div", { className: "p-2 text-sm text-center text-copy-error-light bg-surface-darker", children: i }) }),
7120
7109
  /* @__PURE__ */ p(Ke, { span: 12, children: /* @__PURE__ */ p(
7121
7110
  bn,
@@ -7139,7 +7128,7 @@ const lu = "ASK! ME! ANYTHING!", Si = "Callisto", uu = "Log in", du = "Sign in w
7139
7128
  }
7140
7129
  ) }),
7141
7130
  /* @__PURE__ */ p(Ke, { span: 12, children: /* @__PURE__ */ p(
7142
- Ei,
7131
+ vi,
7143
7132
  {
7144
7133
  className: "mt-7",
7145
7134
  required: !0,
@@ -7149,14 +7138,14 @@ const lu = "ASK! ME! ANYTHING!", Si = "Callisto", uu = "Log in", du = "Sign in w
7149
7138
  mode: "dark",
7150
7139
  focusMode: "light",
7151
7140
  name: "password",
7152
- label: fu,
7141
+ label: su,
7153
7142
  rightElement: /* @__PURE__ */ p(
7154
7143
  wr,
7155
7144
  {
7156
7145
  focusMode: "light",
7157
7146
  mode: "dark",
7158
7147
  label: o ? "Show" : "Hide",
7159
- children: o ? /* @__PURE__ */ p(Ul, {}) : /* @__PURE__ */ p(Ll, {})
7148
+ children: o ? /* @__PURE__ */ p(_l, {}) : /* @__PURE__ */ p(Ol, {})
7160
7149
  }
7161
7150
  ),
7162
7151
  onMaskChange: c,
@@ -7171,7 +7160,7 @@ const lu = "ASK! ME! ANYTHING!", Si = "Callisto", uu = "Log in", du = "Sign in w
7171
7160
  }
7172
7161
  ) }),
7173
7162
  /* @__PURE__ */ p(Ke, { span: 12, children: /* @__PURE__ */ p(
7174
- pi,
7163
+ mi,
7175
7164
  {
7176
7165
  mode: "light",
7177
7166
  focusMode: "light",
@@ -7179,10 +7168,10 @@ const lu = "ASK! ME! ANYTHING!", Si = "Callisto", uu = "Log in", du = "Sign in w
7179
7168
  noBorder: !0,
7180
7169
  type: "submit",
7181
7170
  className: "mt-7",
7182
- children: uu
7171
+ children: ru
7183
7172
  }
7184
7173
  ) }),
7185
- !dl() && /* @__PURE__ */ re(lr, { children: [
7174
+ !nl() && /* @__PURE__ */ re(lr, { children: [
7186
7175
  /* @__PURE__ */ p(Ke, { span: 12, children: /* @__PURE__ */ p("div", { className: "text-center text-copy-light mt-2 mb-2", children: "or" }) }),
7187
7176
  /* @__PURE__ */ p(Ke, { span: 12, children: /* @__PURE__ */ p(
7188
7177
  wr,
@@ -7192,9 +7181,9 @@ const lu = "ASK! ME! ANYTHING!", Si = "Callisto", uu = "Log in", du = "Sign in w
7192
7181
  focusMode: "light",
7193
7182
  fullWidth: !0,
7194
7183
  className: "mb-4",
7195
- labelRight: du,
7184
+ labelRight: nu,
7196
7185
  onClick: r,
7197
- children: /* @__PURE__ */ p($l, { size: "size-7" })
7186
+ children: /* @__PURE__ */ p(Cl, { size: "size-7" })
7198
7187
  }
7199
7188
  ) })
7200
7189
  ] })
@@ -7202,23 +7191,23 @@ const lu = "ASK! ME! ANYTHING!", Si = "Callisto", uu = "Log in", du = "Sign in w
7202
7191
  ]
7203
7192
  }
7204
7193
  ) });
7205
- }, mu = new URL(document.location.href).searchParams, zn = !!mu.get("debug") || !1, pu = Ri(() => import(
7194
+ }, ou = new URL(document.location.href).searchParams, zn = !!ou.get("debug") || !1, cu = ki(() => import(
7206
7195
  /* webpackChunkName: "LazyApp" */
7207
- "./App.CpbwczH1.js"
7208
- ).then((e) => e.App)), gu = new Qi(), Qn = ({
7196
+ "./App.CVZ99NTb.js"
7197
+ ).then((e) => e.App)), lu = new zi(), Qn = ({
7209
7198
  isComponent: e,
7210
7199
  headerHeight: t
7211
7200
  }) => {
7212
7201
  const { isAuthenticated: r } = di();
7213
- return r ? /* @__PURE__ */ p(ki, { fallback: /* @__PURE__ */ p("div", {}), children: /* @__PURE__ */ re(Xi, { client: gu, children: [
7214
- /* @__PURE__ */ p(Ro, {}),
7215
- /* @__PURE__ */ p(pu, { isComponent: e, headerHeight: t })
7216
- ] }) }) : /* @__PURE__ */ p(yu, {});
7217
- }, bu = ({
7202
+ return r ? /* @__PURE__ */ p(Ii, { fallback: /* @__PURE__ */ p("div", {}), children: /* @__PURE__ */ re(Yi, { client: lu, children: [
7203
+ /* @__PURE__ */ p(ko, {}),
7204
+ /* @__PURE__ */ p(cu, { isComponent: e, headerHeight: t })
7205
+ ] }) }) : /* @__PURE__ */ p(au, {});
7206
+ }, uu = ({
7218
7207
  isComponent: e = !1,
7219
7208
  headerHeight: t = 0,
7220
- domain: r = cl
7221
- }) => hi ? /* @__PURE__ */ p(
7209
+ domain: r = el
7210
+ }) => fi ? /* @__PURE__ */ p(
7222
7211
  jn,
7223
7212
  {
7224
7213
  clientId: Gn,
@@ -7227,8 +7216,8 @@ const lu = "ASK! ME! ANYTHING!", Si = "Callisto", uu = "Log in", du = "Sign in w
7227
7216
  endpoint: process.env.PUBLIC_AUTH_SERVER_URL,
7228
7217
  children: /* @__PURE__ */ p(Qn, { isComponent: e, headerHeight: t })
7229
7218
  }
7230
- ) : /* @__PURE__ */ p(jn, { clientId: Gn, domain: r, debug: zn, children: /* @__PURE__ */ p(Qn, { isComponent: e, headerHeight: t }) }), Zd = ({ domain: e, headerHeight: t }) => /* @__PURE__ */ p(
7231
- bu,
7219
+ ) : /* @__PURE__ */ p(jn, { clientId: Gn, domain: r, debug: zn, children: /* @__PURE__ */ p(Qn, { isComponent: e, headerHeight: t }) }), Fd = ({ domain: e, headerHeight: t }) => /* @__PURE__ */ p(
7220
+ uu,
7232
7221
  {
7233
7222
  isComponent: !0,
7234
7223
  domain: e,
@@ -7236,139 +7225,132 @@ const lu = "ASK! ME! ANYTHING!", Si = "Callisto", uu = "Log in", du = "Sign in w
7236
7225
  }
7237
7226
  );
7238
7227
  export {
7239
- Fd as ABOUT_TITLE,
7240
- od as ACTION_RESET_PROMPT,
7241
- sd as ACTION_SEARCH,
7242
- id as ACTION_SORT,
7243
- ad as ACTION_TOGGLE_PROMPT,
7244
- zd as APP_CLASSNAME,
7245
- Si as APP_NAME,
7246
- pi as C,
7247
- Xd as CARDS,
7248
- Vd as CLIPBOARD_PROMPT,
7249
- bd as DEFAULT_ICON_ACTION_SIZE,
7250
- Ku as Dynamic,
7251
- fi as E,
7252
- nd as ERROR_MESSAGE,
7253
- jd as FOOTER_DISCLAIMER,
7254
- Nu as For,
7255
- Sd as GRANTS,
7256
- Hd as HISTORY_TITLE,
7228
+ Cd as ABOUT_TITLE,
7229
+ Zu as ACTION_RESET_PROMPT,
7230
+ Qu as ACTION_SEARCH,
7231
+ Yu as ACTION_SORT,
7232
+ Xu as ACTION_TOGGLE_PROMPT,
7233
+ $d as APP_CLASSNAME,
7234
+ Ei as APP_NAME,
7235
+ mi as C,
7236
+ Hd as CARDS,
7237
+ Nd as CLIPBOARD_PROMPT,
7238
+ ud as DEFAULT_ICON_ACTION_SIZE,
7239
+ Nu as Dynamic,
7240
+ zu as ERROR_MESSAGE,
7241
+ Pd as FOOTER_DISCLAIMER,
7242
+ Au as For,
7243
+ yd as GRANTS,
7244
+ Od as HISTORY_TITLE,
7257
7245
  _r as I,
7258
- Hl as I$1,
7259
- md as INFINITE_SCROLL_LIMIT,
7260
- yd as INFINITE_SCROLL_THRESHOLD,
7261
- Bd as INPUT_PLACEHOLDER_TEXT,
7262
- Pu as Index,
7263
- Bl as L,
7264
- ld as LOCAL_STORAGE_CHAT_DETAILS,
7265
- cd as LOCAL_STORAGE_PREFIX,
7266
- fd as LOCAL_STORAGE_PRIVATE_DISCLOSURE,
7267
- hd as LOCAL_STORAGE_REASONING_DISCLOSURE,
7268
- ud as LOCAL_STORAGE_SEARCH,
7269
- dd as LOCAL_STORAGE_SORT,
7270
- Ld as LOG_OUT,
7271
- hu as Logo,
7272
- Mu as Match,
7273
- el as O,
7274
- Ud as PROFILE_TITLE,
7275
- Gd as PROMPTS_DESCRIPTION,
7276
- pd as PROMPT_CLASSNAME,
7277
- gd as PROMPT_EDITABLE_AREA_CLASSNAME,
7278
- Uu as Portal,
7246
+ Pl as I$1,
7247
+ od as INFINITE_SCROLL_LIMIT,
7248
+ ad as INFINITE_SCROLL_THRESHOLD,
7249
+ _d as INPUT_PLACEHOLDER_TEXT,
7250
+ Tu as Index,
7251
+ Dl as L,
7252
+ td as LOCAL_STORAGE_CHAT_DETAILS,
7253
+ ed as LOCAL_STORAGE_PREFIX,
7254
+ sd as LOCAL_STORAGE_PRIVATE_DISCLOSURE,
7255
+ id as LOCAL_STORAGE_REASONING_DISCLOSURE,
7256
+ rd as LOCAL_STORAGE_SEARCH,
7257
+ nd as LOCAL_STORAGE_SORT,
7258
+ Td as LOG_OUT,
7259
+ iu as Logo,
7260
+ Ru as Match,
7261
+ kd as PROFILE_TITLE,
7262
+ xd as PROMPTS_DESCRIPTION,
7263
+ cd as PROMPT_CLASSNAME,
7264
+ ld as PROMPT_EDITABLE_AREA_CLASSNAME,
7265
+ _u as Portal,
7279
7266
  di as Qr,
7280
- rd as ROLE_INTERNAL,
7281
- Dl as S,
7282
- Kd as SETTINGS_TITLE,
7283
- Zd as SassySaint,
7284
- xu as Show,
7267
+ Ju as ROLE_INTERNAL,
7268
+ kl as S,
7269
+ Rd as SETTINGS_TITLE,
7270
+ Fd as SassySaint,
7271
+ Iu as Show,
7285
7272
  Sr as Subscribable,
7286
- Du as Switch,
7287
- Id as T,
7288
- Wd as TOAST_CHAT_DELETED,
7289
- Jd as TOAST_CHAT_SAVED,
7290
- qd as TOAST_PROVIDER_CHANGED,
7291
- Qd as TRIMESTERS,
7292
- Yd as TRIMESTERS_SHORT,
7293
- vd as UI_BUTTON_SCROLL_BUFFER,
7294
- Ed as UI_DEFAULT_MAIN_HEIGHT,
7295
- wd as UI_FOOTER_BUFFER,
7296
- $d as USAGE_TITLE,
7297
- Td as _,
7298
- Ma as addEventListener,
7299
- Tu as batch,
7300
- Da as className,
7301
- $u as clearDelegatedEvents,
7302
- xd as convertCamelCaseToReadable,
7303
- zu as convertRemToPixels,
7304
- ya as createComponent,
7305
- ea as createComputed,
7306
- Ou as createContext,
7273
+ ku as Switch,
7274
+ Md as TOAST_CHAT_DELETED,
7275
+ Ld as TOAST_CHAT_SAVED,
7276
+ Dd as TOAST_PROVIDER_CHANGED,
7277
+ Ud as TRIMESTERS,
7278
+ Kd as TRIMESTERS_SHORT,
7279
+ fd as UI_BUTTON_SCROLL_BUFFER,
7280
+ hd as UI_DEFAULT_MAIN_HEIGHT,
7281
+ dd as UI_FOOTER_BUFFER,
7282
+ Id as USAGE_TITLE,
7283
+ Da as addEventListener,
7284
+ pu as batch,
7285
+ xa as className,
7286
+ Cu as clearDelegatedEvents,
7287
+ Sd as convertCamelCaseToReadable,
7288
+ Fu as convertRemToPixels,
7289
+ ha as createComponent,
7290
+ Zi as createComputed,
7291
+ vu as createContext,
7307
7292
  ws as createEffect,
7308
7293
  q as createMemo,
7309
7294
  We as createRenderEffect,
7310
7295
  qe as createRoot,
7311
7296
  ne as createSignal,
7312
- _u as createUniqueId,
7313
- Nd as debounce,
7314
- Na as delegateEvents,
7297
+ Su as createUniqueId,
7298
+ vd as debounce,
7299
+ _a as delegateEvents,
7315
7300
  Zt as deleteNestedDataByPath,
7316
- qu as displayValue,
7301
+ Uu as displayValue,
7317
7302
  bn as fe,
7318
- Vi as fetchState,
7319
- Md as findProvider,
7303
+ Bi as fetchState,
7320
7304
  us as focusManager,
7321
- kd as getCurrentGeoLocation,
7322
- ul as getMainPaddingClass,
7323
- ll as getMessageContaintWrapperClass,
7324
- ju as getMutationStatusColor,
7325
- Qu as getPreferredColorScheme,
7326
- Vu as getQueryStatusColor,
7327
- Gu as getQueryStatusColorByLabel,
7328
- Fu as getQueryStatusLabel,
7329
- Bu as getSidedProp,
7305
+ md as getCurrentGeoLocation,
7306
+ rl as getMainPaddingClass,
7307
+ tl as getMessageContaintWrapperClass,
7308
+ Lu as getMutationStatusColor,
7309
+ Bu as getPreferredColorScheme,
7310
+ Mu as getQueryStatusColor,
7311
+ $u as getQueryStatusColorByLabel,
7312
+ xu as getQueryStatusLabel,
7313
+ Du as getSidedProp,
7330
7314
  en as insert,
7331
- dl as isElectron,
7332
- yi as isProbablyMobile,
7333
- Pd as isProbablyiPhone,
7315
+ nl as isElectron,
7316
+ hi as isProbablyMobile,
7317
+ Ed as isProbablyiPhone,
7334
7318
  Ar as isServer,
7335
- Ci as isValidTimeout,
7319
+ Oi as isValidTimeout,
7336
7320
  Ke as j,
7337
- $l as l,
7338
- pa as mergeProps,
7339
- Ju as mutationSortFns,
7321
+ Cl as l,
7322
+ ma as mergeProps,
7323
+ Hu as mutationSortFns,
7340
7324
  oe as noop,
7341
7325
  te as notifyManager,
7342
- Rd as obfuscate,
7343
- Iu as on,
7326
+ pd as obfuscate,
7327
+ gu as on,
7344
7328
  Pt as onCleanup,
7345
- na as onMount,
7346
- Ui as pendingThenable,
7347
- _d as pluralize,
7348
- td as qr,
7329
+ ra as onMount,
7330
+ $i as pendingThenable,
7331
+ wd as pluralize,
7332
+ Wu as qr,
7349
7333
  wr as re,
7350
- Cd as renderDataAsList,
7351
- xi as replaceData,
7352
- Ni as resolveEnabled,
7334
+ bd as renderDataAsList,
7335
+ Pi as replaceData,
7336
+ _i as resolveEnabled,
7353
7337
  En as resolveStaleTime,
7354
- Ad as s,
7355
- vo as serialize,
7338
+ wo as serialize,
7356
7339
  Zr as setAttribute,
7357
- Au as shallowEqualObjects,
7358
- Wu as sortFns,
7359
- ga as splitProps,
7360
- Ua as spread,
7361
- Hu as stringify,
7362
- tl as t,
7363
- Lu as template,
7364
- _i as timeUntilStale,
7365
- Dd as toastOptions,
7366
- Od as unObfuscate,
7340
+ mu as shallowEqualObjects,
7341
+ Ku as sortFns,
7342
+ pa as splitProps,
7343
+ $a as spread,
7344
+ Pu as stringify,
7345
+ Ou as template,
7346
+ Ci as timeUntilStale,
7347
+ Ad as toastOptions,
7348
+ gd as unObfuscate,
7367
7349
  W as untrack,
7368
7350
  Xt as updateNestedDataByPath,
7369
- Ka as use,
7370
- Cu as useContext,
7371
- Yi as useQueryClient,
7372
- Ru as useTransition,
7351
+ Ua as use,
7352
+ Eu as useContext,
7353
+ Qi as useQueryClient,
7354
+ wu as useTransition,
7373
7355
  Rt as x
7374
7356
  };