@versini/sassysaint 2.0.0 → 2.0.2

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.
@@ -3,13 +3,13 @@ import V, { createContext as nr, useReducer as ft, useRef as W, useCallback as z
3
3
  import g from "clsx";
4
4
  var ir = Object.defineProperty, cr = (e, t, r) => t in e ? ir(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Le = (e, t, r) => cr(e, typeof t != "symbol" ? t + "" : t, r);
5
5
  /*!
6
- @versini/auth-provider v7.0.0
6
+ @versini/auth-provider v7.1.1
7
7
  © 2024 gizmette.com
8
8
  */
9
9
  try {
10
10
  window.__VERSINI_AUTH_CLIENT__ || (window.__VERSINI_AUTH_CLIENT__ = {
11
- version: "7.0.0",
12
- buildTime: "08/19/2024 06:11 PM EDT",
11
+ version: "7.1.1",
12
+ buildTime: "08/25/2024 03:19 PM EDT",
13
13
  homepage: "https://github.com/aversini/auth-client",
14
14
  license: "MIT"
15
15
  });
@@ -47,7 +47,7 @@ let k = class extends Error {
47
47
  super(t, { cause: a }), this.name = n ?? a.name, this.code = r;
48
48
  }
49
49
  };
50
- function lr({ error: e, options: t }) {
50
+ function dr({ error: e, options: t }) {
51
51
  var a, n;
52
52
  const { publicKey: r } = t;
53
53
  if (!r)
@@ -125,7 +125,7 @@ function lr({ error: e, options: t }) {
125
125
  }
126
126
  return e;
127
127
  }
128
- class dr {
128
+ class lr {
129
129
  createNewAbortSignal() {
130
130
  if (this.controller) {
131
131
  const r = new Error("Cancelling existing WebAuthn API call for new one");
@@ -141,8 +141,8 @@ class dr {
141
141
  }
142
142
  }
143
143
  }
144
- const At = new dr(), ur = ["cross-platform", "platform"];
145
- function vt(e) {
144
+ const vt = new lr(), ur = ["cross-platform", "platform"];
145
+ function At(e) {
146
146
  if (e && !(ur.indexOf(e) < 0))
147
147
  return e;
148
148
  }
@@ -159,12 +159,12 @@ async function mr(e) {
159
159
  },
160
160
  excludeCredentials: (m = e.excludeCredentials) == null ? void 0 : m.map(It)
161
161
  } };
162
- t.signal = At.createNewAbortSignal();
162
+ t.signal = vt.createNewAbortSignal();
163
163
  let r;
164
164
  try {
165
165
  r = await navigator.credentials.create(t);
166
- } catch (l) {
167
- throw lr({ error: l, options: t });
166
+ } catch (d) {
167
+ throw dr({ error: d, options: t });
168
168
  }
169
169
  if (!r)
170
170
  throw new Error("Registration was not completed");
@@ -175,23 +175,23 @@ async function mr(e) {
175
175
  if (typeof o.getPublicKeyAlgorithm == "function")
176
176
  try {
177
177
  u = o.getPublicKeyAlgorithm();
178
- } catch (l) {
179
- Me("getPublicKeyAlgorithm()", l);
178
+ } catch (d) {
179
+ Me("getPublicKeyAlgorithm()", d);
180
180
  }
181
- let p;
181
+ let h;
182
182
  if (typeof o.getPublicKey == "function")
183
183
  try {
184
- const l = o.getPublicKey();
185
- l !== null && (p = L(l));
186
- } catch (l) {
187
- Me("getPublicKey()", l);
184
+ const d = o.getPublicKey();
185
+ d !== null && (h = L(d));
186
+ } catch (d) {
187
+ Me("getPublicKey()", d);
188
188
  }
189
- let h;
189
+ let p;
190
190
  if (typeof o.getAuthenticatorData == "function")
191
191
  try {
192
- h = L(o.getAuthenticatorData());
193
- } catch (l) {
194
- Me("getAuthenticatorData()", l);
192
+ p = L(o.getAuthenticatorData());
193
+ } catch (d) {
194
+ Me("getAuthenticatorData()", d);
195
195
  }
196
196
  return {
197
197
  id: a,
@@ -201,12 +201,12 @@ async function mr(e) {
201
201
  clientDataJSON: L(o.clientDataJSON),
202
202
  transports: i,
203
203
  publicKeyAlgorithm: u,
204
- publicKey: p,
205
- authenticatorData: h
204
+ publicKey: h,
205
+ authenticatorData: p
206
206
  },
207
207
  type: s,
208
208
  clientExtensionResults: r.getClientExtensionResults(),
209
- authenticatorAttachment: vt(r.authenticatorAttachment)
209
+ authenticatorAttachment: At(r.authenticatorAttachment)
210
210
  };
211
211
  }
212
212
  function Me(e, t) {
@@ -261,11 +261,11 @@ function pr({ error: e, options: t }) {
261
261
  return e;
262
262
  }
263
263
  async function gr(e, t = !1) {
264
- var m, l;
264
+ var m, d;
265
265
  if (!ze())
266
266
  throw new Error("WebAuthn is not supported in this browser");
267
267
  let r;
268
- ((m = e.allowCredentials) == null ? void 0 : m.length) !== 0 && (r = (l = e.allowCredentials) == null ? void 0 : l.map(It));
268
+ ((m = e.allowCredentials) == null ? void 0 : m.length) !== 0 && (r = (d = e.allowCredentials) == null ? void 0 : d.map(It));
269
269
  const a = {
270
270
  ...e,
271
271
  challenge: Ie(e.challenge),
@@ -278,29 +278,29 @@ async function gr(e, t = !1) {
278
278
  throw Error('No <input> with "webauthn" as the only or last value in its `autocomplete` attribute was detected');
279
279
  n.mediation = "conditional", a.allowCredentials = [];
280
280
  }
281
- n.publicKey = a, n.signal = At.createNewAbortSignal();
281
+ n.publicKey = a, n.signal = vt.createNewAbortSignal();
282
282
  let o;
283
283
  try {
284
284
  o = await navigator.credentials.get(n);
285
- } catch (d) {
286
- throw pr({ error: d, options: n });
285
+ } catch (l) {
286
+ throw pr({ error: l, options: n });
287
287
  }
288
288
  if (!o)
289
289
  throw new Error("Authentication was not completed");
290
- const { id: s, rawId: i, response: u, type: p } = o;
291
- let h;
292
- return u.userHandle && (h = L(u.userHandle)), {
290
+ const { id: s, rawId: i, response: u, type: h } = o;
291
+ let p;
292
+ return u.userHandle && (p = L(u.userHandle)), {
293
293
  id: s,
294
294
  rawId: L(i),
295
295
  response: {
296
296
  authenticatorData: L(u.authenticatorData),
297
297
  clientDataJSON: L(u.clientDataJSON),
298
298
  signature: L(u.signature),
299
- userHandle: h
299
+ userHandle: p
300
300
  },
301
- type: p,
301
+ type: h,
302
302
  clientExtensionResults: o.getClientExtensionResults(),
303
- authenticatorAttachment: vt(o.authenticatorAttachment)
303
+ authenticatorAttachment: At(o.authenticatorAttachment)
304
304
  };
305
305
  }
306
306
  /*!
@@ -310,7 +310,7 @@ async function gr(e, t = !1) {
310
310
  try {
311
311
  window.__VERSINI_AUTH_COMMON__ || (window.__VERSINI_AUTH_COMMON__ = {
312
312
  version: "4.0.0",
313
- buildTime: "08/19/2024 06:11 PM EDT",
313
+ buildTime: "08/25/2024 03:19 PM EDT",
314
314
  homepage: "https://github.com/aversini/auth-client",
315
315
  license: "MIT"
316
316
  });
@@ -350,7 +350,7 @@ awIDAQAB
350
350
  LOGOUT: "logout",
351
351
  LOGIN: "login",
352
352
  REFRESH: "refresh"
353
- }, Ne = crypto, _t = (e) => e instanceof CryptoKey, ue = new TextEncoder(), le = new TextDecoder();
353
+ }, Ne = crypto, _t = (e) => e instanceof CryptoKey, ue = new TextEncoder(), de = new TextDecoder();
354
354
  function yr(...e) {
355
355
  const t = e.reduce((n, { length: o }) => n + o, 0), r = new Uint8Array(t);
356
356
  let a = 0;
@@ -365,7 +365,7 @@ const br = (e) => {
365
365
  return r;
366
366
  }, se = (e) => {
367
367
  let t = e;
368
- t instanceof Uint8Array && (t = le.decode(t)), t = t.replace(/-/g, "+").replace(/_/g, "/").replace(/\s/g, "");
368
+ t instanceof Uint8Array && (t = de.decode(t)), t = t.replace(/-/g, "+").replace(/_/g, "/").replace(/\s/g, "");
369
369
  try {
370
370
  return br(t);
371
371
  } catch {
@@ -413,7 +413,7 @@ class Y extends q {
413
413
  return "ERR_JOSE_NOT_SUPPORTED";
414
414
  }
415
415
  }
416
- let v = class extends q {
416
+ let A = class extends q {
417
417
  constructor() {
418
418
  super(...arguments), this.code = "ERR_JWS_INVALID";
419
419
  }
@@ -531,7 +531,7 @@ const rt = (e, ...t) => Rt("Key must be ", e, ...t);
531
531
  function Nt(e, t, ...r) {
532
532
  return Rt(`Key for the ${e} algorithm must be `, t, ...r);
533
533
  }
534
- const xt = (e) => _t(e) ? !0 : (e == null ? void 0 : e[Symbol.toStringTag]) === "KeyObject", Se = ["CryptoKey"], Ar = (...e) => {
534
+ const xt = (e) => _t(e) ? !0 : (e == null ? void 0 : e[Symbol.toStringTag]) === "KeyObject", Se = ["CryptoKey"], vr = (...e) => {
535
535
  const t = e.filter(Boolean);
536
536
  if (t.length === 0 || t.length === 1)
537
537
  return !0;
@@ -550,11 +550,11 @@ const xt = (e) => _t(e) ? !0 : (e == null ? void 0 : e[Symbol.toStringTag]) ===
550
550
  }
551
551
  return !0;
552
552
  };
553
- function vr(e) {
553
+ function Ar(e) {
554
554
  return typeof e == "object" && e !== null;
555
555
  }
556
- function Ae(e) {
557
- if (!vr(e) || Object.prototype.toString.call(e) !== "[object Object]")
556
+ function ve(e) {
557
+ if (!Ar(e) || Object.prototype.toString.call(e) !== "[object Object]")
558
558
  return !1;
559
559
  if (Object.getPrototypeOf(e) === null)
560
560
  return !0;
@@ -840,74 +840,74 @@ const Gr = async (e, t, r, a) => {
840
840
  }
841
841
  };
842
842
  async function Wr(e, t, r) {
843
- if (!Ae(e))
844
- throw new v("Flattened JWS must be an object");
843
+ if (!ve(e))
844
+ throw new A("Flattened JWS must be an object");
845
845
  if (e.protected === void 0 && e.header === void 0)
846
- throw new v('Flattened JWS must have either of the "protected" or "header" members');
846
+ throw new A('Flattened JWS must have either of the "protected" or "header" members');
847
847
  if (e.protected !== void 0 && typeof e.protected != "string")
848
- throw new v("JWS Protected Header incorrect type");
848
+ throw new A("JWS Protected Header incorrect type");
849
849
  if (e.payload === void 0)
850
- throw new v("JWS Payload missing");
850
+ throw new A("JWS Payload missing");
851
851
  if (typeof e.signature != "string")
852
- throw new v("JWS Signature missing or incorrect type");
853
- if (e.header !== void 0 && !Ae(e.header))
854
- throw new v("JWS Unprotected Header incorrect type");
852
+ throw new A("JWS Signature missing or incorrect type");
853
+ if (e.header !== void 0 && !ve(e.header))
854
+ throw new A("JWS Unprotected Header incorrect type");
855
855
  let a = {};
856
856
  if (e.protected)
857
857
  try {
858
858
  const f = se(e.protected);
859
- a = JSON.parse(le.decode(f));
859
+ a = JSON.parse(de.decode(f));
860
860
  } catch {
861
- throw new v("JWS Protected Header is invalid");
861
+ throw new A("JWS Protected Header is invalid");
862
862
  }
863
- if (!Ar(a, e.header))
864
- throw new v("JWS Protected and JWS Unprotected Header Parameter names must be disjoint");
863
+ if (!vr(a, e.header))
864
+ throw new A("JWS Protected and JWS Unprotected Header Parameter names must be disjoint");
865
865
  const n = {
866
866
  ...a,
867
867
  ...e.header
868
- }, o = Ur(v, /* @__PURE__ */ new Map([["b64", !0]]), r == null ? void 0 : r.crit, a, n);
868
+ }, o = Ur(A, /* @__PURE__ */ new Map([["b64", !0]]), r == null ? void 0 : r.crit, a, n);
869
869
  let s = !0;
870
870
  if (o.has("b64") && (s = a.b64, typeof s != "boolean"))
871
- throw new v('The "b64" (base64url-encode payload) Header Parameter must be a boolean');
871
+ throw new A('The "b64" (base64url-encode payload) Header Parameter must be a boolean');
872
872
  const { alg: i } = n;
873
873
  if (typeof i != "string" || !i)
874
- throw new v('JWS "alg" (Algorithm) Header Parameter missing or invalid');
874
+ throw new A('JWS "alg" (Algorithm) Header Parameter missing or invalid');
875
875
  const u = r && Hr("algorithms", r.algorithms);
876
876
  if (u && !u.has(i))
877
877
  throw new Er('"alg" (Algorithm) Header Parameter value not allowed');
878
878
  if (s) {
879
879
  if (typeof e.payload != "string")
880
- throw new v("JWS Payload must be a string");
880
+ throw new A("JWS Payload must be a string");
881
881
  } else if (typeof e.payload != "string" && !(e.payload instanceof Uint8Array))
882
- throw new v("JWS Payload must be a string or an Uint8Array instance");
883
- let p = !1;
884
- typeof t == "function" && (t = await t(a, e), p = !0), Mr(i, t, "verify");
885
- const h = yr(ue.encode(e.protected ?? ""), ue.encode("."), typeof e.payload == "string" ? ue.encode(e.payload) : e.payload);
882
+ throw new A("JWS Payload must be a string or an Uint8Array instance");
883
+ let h = !1;
884
+ typeof t == "function" && (t = await t(a, e), h = !0), Mr(i, t, "verify");
885
+ const p = yr(ue.encode(e.protected ?? ""), ue.encode("."), typeof e.payload == "string" ? ue.encode(e.payload) : e.payload);
886
886
  let m;
887
887
  try {
888
888
  m = se(e.signature);
889
889
  } catch {
890
- throw new v("Failed to base64url decode the signature");
890
+ throw new A("Failed to base64url decode the signature");
891
891
  }
892
- if (!await Gr(i, t, m, h))
892
+ if (!await Gr(i, t, m, p))
893
893
  throw new wr();
894
- let l;
894
+ let d;
895
895
  if (s)
896
896
  try {
897
- l = se(e.payload);
897
+ d = se(e.payload);
898
898
  } catch {
899
- throw new v("Failed to base64url decode the payload");
899
+ throw new A("Failed to base64url decode the payload");
900
900
  }
901
- else typeof e.payload == "string" ? l = ue.encode(e.payload) : l = e.payload;
902
- const d = { payload: l };
903
- return e.protected !== void 0 && (d.protectedHeader = a), e.header !== void 0 && (d.unprotectedHeader = e.header), p ? { ...d, key: t } : d;
901
+ else typeof e.payload == "string" ? d = ue.encode(e.payload) : d = e.payload;
902
+ const l = { payload: d };
903
+ return e.protected !== void 0 && (l.protectedHeader = a), e.header !== void 0 && (l.unprotectedHeader = e.header), h ? { ...l, key: t } : l;
904
904
  }
905
905
  async function Vr(e, t, r) {
906
- if (e instanceof Uint8Array && (e = le.decode(e)), typeof e != "string")
907
- throw new v("Compact JWS must be a string or Uint8Array");
906
+ if (e instanceof Uint8Array && (e = de.decode(e)), typeof e != "string")
907
+ throw new A("Compact JWS must be a string or Uint8Array");
908
908
  const { 0: a, 1: n, 2: o, length: s } = e.split(".");
909
909
  if (s !== 3)
910
- throw new v("Invalid Compact JWS");
910
+ throw new A("Invalid Compact JWS");
911
911
  const i = await Wr({ payload: n, protected: a, signature: o }, t, r), u = { payload: i.payload, protectedHeader: i.protectedHeader };
912
912
  return typeof t == "function" ? { ...u, key: i.key } : u;
913
913
  }
@@ -957,17 +957,17 @@ const Jr = (e) => Math.floor(e.getTime() / 1e3), Dt = 60, $t = Dt * 60, je = $t
957
957
  }, ot = (e) => e.toLowerCase().replace(/^application\//, ""), jr = (e, t) => typeof e == "string" ? t.includes(e) : Array.isArray(e) ? t.some(Set.prototype.has.bind(new Set(e))) : !1, qr = (e, t, r = {}) => {
958
958
  let a;
959
959
  try {
960
- a = JSON.parse(le.decode(t));
960
+ a = JSON.parse(de.decode(t));
961
961
  } catch {
962
962
  }
963
- if (!Ae(a))
963
+ if (!ve(a))
964
964
  throw new G("JWT Claims Set must be a top-level JSON object");
965
965
  const { typ: n } = r;
966
966
  if (n && (typeof e.typ != "string" || ot(e.typ) !== ot(n)))
967
967
  throw new $('unexpected "typ" JWT header value', a, "typ", "check_failed");
968
- const { requiredClaims: o = [], issuer: s, subject: i, audience: u, maxTokenAge: p } = r, h = [...o];
969
- p !== void 0 && h.push("iat"), u !== void 0 && h.push("aud"), i !== void 0 && h.push("sub"), s !== void 0 && h.push("iss");
970
- for (const f of new Set(h.reverse()))
968
+ const { requiredClaims: o = [], issuer: s, subject: i, audience: u, maxTokenAge: h } = r, p = [...o];
969
+ h !== void 0 && p.push("iat"), u !== void 0 && p.push("aud"), i !== void 0 && p.push("sub"), s !== void 0 && p.push("iss");
970
+ for (const f of new Set(p.reverse()))
971
971
  if (!(f in a))
972
972
  throw new $(`missing required "${f}" claim`, a, f, "missing");
973
973
  if (s && !(Array.isArray(s) ? s : [s]).includes(a.iss))
@@ -990,23 +990,23 @@ const Jr = (e) => Math.floor(e.getTime() / 1e3), Dt = 60, $t = Dt * 60, je = $t
990
990
  default:
991
991
  throw new TypeError("Invalid clockTolerance option type");
992
992
  }
993
- const { currentDate: l } = r, d = Jr(l || /* @__PURE__ */ new Date());
994
- if ((a.iat !== void 0 || p) && typeof a.iat != "number")
993
+ const { currentDate: d } = r, l = Jr(d || /* @__PURE__ */ new Date());
994
+ if ((a.iat !== void 0 || h) && typeof a.iat != "number")
995
995
  throw new $('"iat" claim must be a number', a, "iat", "invalid");
996
996
  if (a.nbf !== void 0) {
997
997
  if (typeof a.nbf != "number")
998
998
  throw new $('"nbf" claim must be a number', a, "nbf", "invalid");
999
- if (a.nbf > d + m)
999
+ if (a.nbf > l + m)
1000
1000
  throw new $('"nbf" claim timestamp check failed', a, "nbf", "check_failed");
1001
1001
  }
1002
1002
  if (a.exp !== void 0) {
1003
1003
  if (typeof a.exp != "number")
1004
1004
  throw new $('"exp" claim must be a number', a, "exp", "invalid");
1005
- if (a.exp <= d - m)
1005
+ if (a.exp <= l - m)
1006
1006
  throw new tt('"exp" claim timestamp check failed', a, "exp", "check_failed");
1007
1007
  }
1008
- if (p) {
1009
- const f = d - a.iat, E = typeof p == "number" ? p : nt(p);
1008
+ if (h) {
1009
+ const f = l - a.iat, E = typeof h == "number" ? h : nt(h);
1010
1010
  if (f - m > E)
1011
1011
  throw new tt('"iat" claim timestamp check failed (too far in the past)', a, "iat", "check_failed");
1012
1012
  if (f < 0 - m)
@@ -1041,11 +1041,11 @@ function Zr(e) {
1041
1041
  }
1042
1042
  let n;
1043
1043
  try {
1044
- n = JSON.parse(le.decode(a));
1044
+ n = JSON.parse(de.decode(a));
1045
1045
  } catch {
1046
1046
  throw new G("Failed to parse the decoded payload as JSON");
1047
1047
  }
1048
- if (!Ae(n))
1048
+ if (!ve(n))
1049
1049
  throw new G("Invalid JWT Claims Set");
1050
1050
  return n;
1051
1051
  }
@@ -1109,23 +1109,23 @@ async function ca(e) {
1109
1109
  function Lt(e, t) {
1110
1110
  window.dispatchEvent(new StorageEvent("storage", { key: e, newValue: t }));
1111
1111
  }
1112
- const lt = (e, t) => {
1112
+ const dt = (e, t) => {
1113
1113
  const r = JSON.stringify(
1114
1114
  typeof t == "function" ? t() : t
1115
1115
  );
1116
1116
  window.localStorage.setItem(e, r), Lt(e, r);
1117
- }, la = (e) => {
1117
+ }, da = (e) => {
1118
1118
  window.localStorage.removeItem(e), Lt(e, null);
1119
- }, dt = (e) => window.localStorage.getItem(e), da = (e) => (window.addEventListener("storage", e), () => window.removeEventListener("storage", e));
1119
+ }, lt = (e) => window.localStorage.getItem(e), la = (e) => (window.addEventListener("storage", e), () => window.removeEventListener("storage", e));
1120
1120
  function pe({
1121
1121
  key: e,
1122
1122
  initialValue: t
1123
1123
  }) {
1124
- const r = or(da, () => dt(e)), a = z(
1124
+ const r = or(la, () => lt(e)), a = z(
1125
1125
  (s) => {
1126
1126
  try {
1127
1127
  const i = typeof s == "function" ? s(JSON.parse(r)) : s;
1128
- i == null ? la(e) : lt(e, i);
1128
+ i == null ? da(e) : dt(e, i);
1129
1129
  } catch (i) {
1130
1130
  console.warn(i);
1131
1131
  }
@@ -1138,17 +1138,17 @@ function pe({
1138
1138
  }, [a]);
1139
1139
  return j(() => {
1140
1140
  try {
1141
- dt(e) === null && typeof t < "u" && lt(e, t);
1141
+ lt(e) === null && typeof t < "u" && dt(e, t);
1142
1142
  } catch (s) {
1143
1143
  console.warn(s);
1144
1144
  }
1145
1145
  }, [e, t]), [r ? JSON.parse(r) : null, a, n, o];
1146
1146
  }
1147
- var A = [];
1147
+ var v = [];
1148
1148
  for (var Ge = 0; Ge < 256; ++Ge)
1149
- A.push((Ge + 256).toString(16).slice(1));
1149
+ v.push((Ge + 256).toString(16).slice(1));
1150
1150
  function ua(e, t = 0) {
1151
- return (A[e[t + 0]] + A[e[t + 1]] + A[e[t + 2]] + A[e[t + 3]] + "-" + A[e[t + 4]] + A[e[t + 5]] + "-" + A[e[t + 6]] + A[e[t + 7]] + "-" + A[e[t + 8]] + A[e[t + 9]] + "-" + A[e[t + 10]] + A[e[t + 11]] + A[e[t + 12]] + A[e[t + 13]] + A[e[t + 14]] + A[e[t + 15]]).toLowerCase();
1151
+ 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();
1152
1152
  }
1153
1153
  var ge, ma = new Uint8Array(16);
1154
1154
  function ha() {
@@ -1167,10 +1167,10 @@ function We(e, t, r) {
1167
1167
  var a = e.random || (e.rng || ha)();
1168
1168
  return a[6] = a[6] & 15 | 64, a[8] = a[8] & 63 | 128, ua(a);
1169
1169
  }
1170
- const X = "Your session has expired. For your security, please log in again to continue.", ga = "Your session has been successfully terminated.", Ve = "Login failed. Please try again.", fa = "Error getting access token, please re-authenticate.", ya = "You forgot to wrap your component in <AuthProvider>.", ve = {
1170
+ const X = "Your session has expired. For your security, please log in again to continue.", ga = "Your session has been successfully terminated.", Ve = "Login failed. Please try again.", fa = "Error getting access token, please re-authenticate.", ya = "You forgot to wrap your component in <AuthProvider>.", Ae = {
1171
1171
  dev: "https://auth.gizmette.local.com:3003",
1172
1172
  prod: "https://mylogin.gizmette.com/auth"
1173
- }, fe = "@@auth@@", oe = "LOADING", we = "LOGIN", Mt = "LOGOUT", de = "success", M = "failure", Ut = "include", Ht = "POST", Kt = "application/json", ye = {
1173
+ }, fe = "@@auth@@", oe = "LOADING", we = "LOGIN", Mt = "LOGOUT", le = "success", M = "failure", Ut = "include", Ht = "POST", Kt = "application/json", ye = {
1174
1174
  GET_REGISTRATION_OPTIONS: `mutation GetPasskeyRegistrationOptions(
1175
1175
  $clientId: String!,
1176
1176
  $username: String!,
@@ -1232,14 +1232,16 @@ const X = "Your session has expired. For your security, please log in again to c
1232
1232
  $authentication: AuthenticationOptionsInput!,
1233
1233
  $nonce: String!,
1234
1234
  $domain: String,
1235
- $sessionExpiration: String) {
1235
+ $sessionExpiration: String,
1236
+ $ua: String) {
1236
1237
  verifyPasskeyAuthentication(
1237
1238
  clientId: $clientId,
1238
1239
  id: $id,
1239
1240
  authentication: $authentication,
1240
1241
  nonce: $nonce,
1241
1242
  domain: $domain,
1242
- sessionExpiration: $sessionExpiration) {
1243
+ sessionExpiration: $sessionExpiration,
1244
+ ua: $ua) {
1243
1245
  status,
1244
1246
  idToken,
1245
1247
  accessToken,
@@ -1272,28 +1274,28 @@ const X = "Your session has expired. For your security, please log in again to c
1272
1274
  params: a = {}
1273
1275
  }) => {
1274
1276
  try {
1275
- const n = a, o = `Bearer ${e}`, s = await fetch(
1276
- Bt ? `${ve.dev}/graphql` : `${ve.prod}/graphql`,
1277
+ const n = `Bearer ${e}`, o = await fetch(
1278
+ Bt ? `${Ae.dev}/graphql` : `${Ae.prod}/graphql`,
1277
1279
  {
1278
1280
  credentials: Ut,
1279
1281
  method: Ht,
1280
1282
  headers: {
1281
- authorization: o,
1283
+ authorization: n,
1282
1284
  "Content-Type": Kt,
1283
1285
  [kt.CLIENT_ID]: `${r}`
1284
1286
  },
1285
1287
  body: JSON.stringify({
1286
1288
  query: t.schema,
1287
- variables: n
1289
+ variables: a
1288
1290
  })
1289
1291
  }
1290
1292
  );
1291
- if (s.status !== 200)
1293
+ if (o.status !== 200)
1292
1294
  return { status: M, data: [] };
1293
- const { data: i } = await s.json();
1295
+ const { data: s } = await o.json();
1294
1296
  return {
1295
- status: de,
1296
- data: i[t.method]
1297
+ status: le,
1298
+ data: s[t.method]
1297
1299
  };
1298
1300
  } catch (n) {
1299
1301
  return console.error(n), { status: M, data: [] };
@@ -1305,7 +1307,7 @@ const X = "Your session has expired. For your security, please log in again to c
1305
1307
  }) => {
1306
1308
  try {
1307
1309
  const a = await fetch(
1308
- Bt ? `${ve.dev}/${e}` : `${ve.prod}/${e}`,
1310
+ Bt ? `${Ae.dev}/${e}` : `${Ae.prod}/${e}`,
1309
1311
  {
1310
1312
  credentials: Ut,
1311
1313
  method: Ht,
@@ -1320,7 +1322,7 @@ const X = "Your session has expired. For your security, please log in again to c
1320
1322
  return { status: M, data: [] };
1321
1323
  const { data: n } = await a.json();
1322
1324
  return {
1323
- status: de,
1325
+ status: le,
1324
1326
  data: n || []
1325
1327
  };
1326
1328
  } catch (a) {
@@ -1370,11 +1372,12 @@ const X = "Your session has expired. For your security, please log in again to c
1370
1372
  sessionExpiration: o,
1371
1373
  code: s,
1372
1374
  code_verifier: i,
1373
- domain: u
1375
+ domain: u,
1376
+ ua: h
1374
1377
  }) => {
1375
1378
  var p;
1376
1379
  try {
1377
- const h = await xe({
1380
+ const m = await xe({
1378
1381
  type: Re.LOGIN,
1379
1382
  clientId: r,
1380
1383
  params: {
@@ -1385,14 +1388,15 @@ const X = "Your session has expired. For your security, please log in again to c
1385
1388
  nonce: a,
1386
1389
  code: s,
1387
1390
  code_verifier: i,
1388
- domain: u
1391
+ domain: u,
1392
+ ua: h
1389
1393
  }
1390
- }), m = await ie((p = h == null ? void 0 : h.data) == null ? void 0 : p.idToken);
1391
- return m && m.payload[R.USER_ID_KEY] !== "" && m.payload[R.NONCE_KEY] === a ? {
1392
- idToken: h.data.idToken,
1393
- accessToken: h.data.accessToken,
1394
- refreshToken: h.data.refreshToken,
1395
- userId: m.payload[R.USER_ID_KEY],
1394
+ }), d = await ie((p = m == null ? void 0 : m.data) == null ? void 0 : p.idToken);
1395
+ return d && d.payload[R.USER_ID_KEY] !== "" && d.payload[R.NONCE_KEY] === a ? {
1396
+ idToken: m.data.idToken,
1397
+ accessToken: m.data.accessToken,
1398
+ refreshToken: m.data.refreshToken,
1399
+ userId: d.payload[R.USER_ID_KEY],
1396
1400
  status: !0
1397
1401
  } : {
1398
1402
  status: !1
@@ -1419,7 +1423,7 @@ const X = "Your session has expired. For your security, please log in again to c
1419
1423
  }
1420
1424
  });
1421
1425
  return (a = n == null ? void 0 : n.data) != null && a.code ? {
1422
- status: de,
1426
+ status: le,
1423
1427
  data: n.data.code
1424
1428
  } : {
1425
1429
  status: M,
@@ -1467,7 +1471,7 @@ const X = "Your session has expired. For your security, please log in again to c
1467
1471
  };
1468
1472
  }
1469
1473
  };
1470
- class Aa {
1474
+ class va {
1471
1475
  constructor(t = null, r = null) {
1472
1476
  Le(this, "refreshTokenPromise", null), Le(this, "accessToken"), Le(this, "refreshToken"), this.accessToken = t || "", this.refreshToken = r || "";
1473
1477
  }
@@ -1506,7 +1510,7 @@ class Aa {
1506
1510
  domain: n
1507
1511
  });
1508
1512
  return s.status ? (this.accessToken = s.accessToken, this.refreshToken = s.refreshToken, {
1509
- status: de,
1513
+ status: le,
1510
1514
  newAccessToken: s.accessToken,
1511
1515
  newRefreshToken: s.refreshToken
1512
1516
  }) : {
@@ -1518,7 +1522,7 @@ class Aa {
1518
1522
  };
1519
1523
  }
1520
1524
  }
1521
- const va = (e) => z(
1525
+ const Aa = (e) => z(
1522
1526
  (...t) => {
1523
1527
  e && console.info(`==> [Auth ${Date.now()}]: `, ...t);
1524
1528
  },
@@ -1564,9 +1568,9 @@ const va = (e) => z(
1564
1568
  const [o, s] = ft(_a, {
1565
1569
  ...Gt,
1566
1570
  debug: n
1567
- }), i = va(n), u = W(!1), [p, h, , m] = pe({
1571
+ }), i = Aa(n), u = W(!1), [h, p, , m] = pe({
1568
1572
  key: `${fe}::${r}::@@user@@`
1569
- }), [l, d, , f] = pe({
1573
+ }), [d, l, , f] = pe({
1570
1574
  key: `${fe}::${r}::@@access@@`
1571
1575
  }), [E, _, , w] = pe(
1572
1576
  {
@@ -1574,7 +1578,7 @@ const va = (e) => z(
1574
1578
  }
1575
1579
  ), [U, H, , O] = pe({
1576
1580
  key: `${fe}::${r}::@@nonce@@`
1577
- }), ae = new Aa(l, E), P = z(() => {
1581
+ }), ae = new va(d, E), P = z(() => {
1578
1582
  i("removeLocalStorage: removing local storage"), m(), f(), w(), O();
1579
1583
  }, [
1580
1584
  f,
@@ -1598,7 +1602,7 @@ const va = (e) => z(
1598
1602
  ), x = z(
1599
1603
  async (y) => {
1600
1604
  i("invalidateAndLogout: invalidating and logging out");
1601
- const { user: T } = o, b = (T == null ? void 0 : T.userId) || Ea(p);
1605
+ const { user: T } = o, b = (T == null ? void 0 : T.userId) || Ea(h);
1602
1606
  b || i(
1603
1607
  "invalidateAndLogout: user cannot be identified, logging out without userId"
1604
1608
  ), await wa({
@@ -1607,13 +1611,13 @@ const va = (e) => z(
1607
1611
  domain: a
1608
1612
  }), N(y || X);
1609
1613
  },
1610
- [p, o, r, a, N, i]
1614
+ [h, o, r, a, N, i]
1611
1615
  );
1612
1616
  j(() => {
1613
1617
  if (!u.current)
1614
- return o.isLoading && p !== null ? (async () => {
1618
+ return o.isLoading && h !== null ? (async () => {
1615
1619
  try {
1616
- const y = await ie(p);
1620
+ const y = await ie(h);
1617
1621
  y && y.payload[R.USER_ID_KEY] !== "" ? (i("useEffect: setting the authentication state"), s({
1618
1622
  type: we,
1619
1623
  payload: {
@@ -1631,7 +1635,7 @@ const va = (e) => z(
1631
1635
  })() : (i("useEffect: setting the loading state to false"), s({ type: oe, payload: { isLoading: !1 } })), () => {
1632
1636
  u.current = !0;
1633
1637
  };
1634
- }, [o.isLoading, p, x, i]);
1638
+ }, [o.isLoading, h, x, i]);
1635
1639
  const D = async (y, T) => {
1636
1640
  s({ type: oe, payload: { isLoading: !0 } }), P();
1637
1641
  const b = We();
@@ -1651,9 +1655,10 @@ const va = (e) => z(
1651
1655
  type: Q,
1652
1656
  code: et.data,
1653
1657
  code_verifier: rr,
1654
- domain: a
1658
+ domain: a,
1659
+ ua: navigator.userAgent
1655
1660
  });
1656
- return ne.status ? (h(ne.idToken), d(ne.accessToken), _(ne.refreshToken), s({
1661
+ return ne.status ? (p(ne.idToken), l(ne.accessToken), _(ne.refreshToken), s({
1657
1662
  type: we,
1658
1663
  payload: {
1659
1664
  user: {
@@ -1670,11 +1675,11 @@ const va = (e) => z(
1670
1675
  const { isAuthenticated: y, user: T } = o;
1671
1676
  try {
1672
1677
  if (y && T && T.userId) {
1673
- if (l) {
1678
+ if (d) {
1674
1679
  i("getAccessToken");
1675
- const Q = await ie(l);
1680
+ const Q = await ie(d);
1676
1681
  if (Q && Q.payload[R.USER_ID_KEY] !== "")
1677
- return l;
1682
+ return d;
1678
1683
  }
1679
1684
  i("getAccessToken: invalid access token, trying to refresh it");
1680
1685
  const b = await ae.refreshtoken({
@@ -1683,7 +1688,7 @@ const va = (e) => z(
1683
1688
  nonce: U,
1684
1689
  domain: a
1685
1690
  });
1686
- return b.status && b.status === "success" && b.newAccessToken ? (d(b.newAccessToken), _(b.newRefreshToken), b.newAccessToken) : (i(
1691
+ return b.status && b.status === "success" && b.newAccessToken ? (l(b.newAccessToken), _(b.newRefreshToken), b.newAccessToken) : (i(
1687
1692
  "getAccessToken: invalid refresh token, need to re-authenticate"
1688
1693
  ), await x(X), "");
1689
1694
  }
@@ -1695,10 +1700,10 @@ const va = (e) => z(
1695
1700
  "getAccessToken: exception occurred, invalidating and logging out"
1696
1701
  ), await x(fa), "";
1697
1702
  }
1698
- }, C = () => o.isAuthenticated && p ? p : "", K = async () => {
1703
+ }, C = () => o.isAuthenticated && h ? h : "", K = async () => {
1699
1704
  const { user: y } = o;
1700
1705
  let T = await ee({
1701
- accessToken: l,
1706
+ accessToken: d,
1702
1707
  clientId: r,
1703
1708
  type: Z.GET_REGISTRATION_OPTIONS,
1704
1709
  params: {
@@ -1711,7 +1716,7 @@ const va = (e) => z(
1711
1716
  try {
1712
1717
  const b = await mr(T.data);
1713
1718
  return T = await ee({
1714
- accessToken: l,
1719
+ accessToken: d,
1715
1720
  clientId: r,
1716
1721
  type: Z.VERIFY_REGISTRATION,
1717
1722
  params: {
@@ -1723,7 +1728,7 @@ const va = (e) => z(
1723
1728
  }), !!(T.status && T.data.length > 0);
1724
1729
  } catch {
1725
1730
  return await ee({
1726
- accessToken: l,
1731
+ accessToken: d,
1727
1732
  clientId: r,
1728
1733
  type: Z.VERIFY_REGISTRATION,
1729
1734
  params: {
@@ -1741,7 +1746,7 @@ const va = (e) => z(
1741
1746
  H(y), i("loginWithPasskey");
1742
1747
  const T = We();
1743
1748
  let b = await ee({
1744
- accessToken: l,
1749
+ accessToken: d,
1745
1750
  clientId: r,
1746
1751
  type: Z.GET_AUTHENTICATION_OPTIONS,
1747
1752
  params: {
@@ -1753,7 +1758,7 @@ const va = (e) => z(
1753
1758
  try {
1754
1759
  const Q = await gr(b.data);
1755
1760
  return b = await ee({
1756
- accessToken: l,
1761
+ accessToken: d,
1757
1762
  clientId: r,
1758
1763
  type: Z.VERIFY_AUTHENTICATION,
1759
1764
  params: {
@@ -1762,9 +1767,10 @@ const va = (e) => z(
1762
1767
  authentication: Q,
1763
1768
  nonce: y,
1764
1769
  domain: a,
1765
- sessionExpiration: t
1770
+ sessionExpiration: t,
1771
+ ua: navigator.userAgent
1766
1772
  }
1767
- }), b.data.status === de ? (h(b.data.idToken), d(b.data.accessToken), _(b.data.refreshToken), s({
1773
+ }), b.data.status === le ? (p(b.data.idToken), l(b.data.accessToken), _(b.data.refreshToken), s({
1768
1774
  type: we,
1769
1775
  payload: {
1770
1776
  user: {
@@ -1775,7 +1781,7 @@ const va = (e) => z(
1775
1781
  }), !0) : (N(Ve), !1);
1776
1782
  } catch {
1777
1783
  return await ee({
1778
- accessToken: l,
1784
+ accessToken: d,
1779
1785
  clientId: r,
1780
1786
  type: Z.VERIFY_AUTHENTICATION,
1781
1787
  params: {
@@ -1849,25 +1855,25 @@ function Ma(e, t) {
1849
1855
  const a = e < 0 ? "-" : "";
1850
1856
  e = e < 0 ? -e : e, t.colonNotation && (t.compact = !1, t.formatSubMilliseconds = !1, t.separateMilliseconds = !1, t.verbose = !1), t.compact && (t.unitCount = 1, t.secondsDecimalDigits = 0, t.millisecondsDecimalDigits = 0);
1851
1857
  let n = [];
1852
- const o = (h, m) => {
1853
- const l = Math.floor(h * 10 ** m + $a);
1854
- return (Math.round(l) / 10 ** m).toFixed(m);
1855
- }, s = (h, m, l, d) => {
1856
- if (!((n.length === 0 || !t.colonNotation) && Pa(h) && !(t.colonNotation && l === "m"))) {
1857
- if (d ?? (d = String(h)), t.colonNotation) {
1858
- const f = d.includes(".") ? d.split(".")[0].length : d.length, E = n.length > 0 ? 2 : 1;
1859
- d = "0".repeat(Math.max(0, E - f)) + d;
1858
+ const o = (p, m) => {
1859
+ const d = Math.floor(p * 10 ** m + $a);
1860
+ return (Math.round(d) / 10 ** m).toFixed(m);
1861
+ }, s = (p, m, d, l) => {
1862
+ if (!((n.length === 0 || !t.colonNotation) && Pa(p) && !(t.colonNotation && d === "m"))) {
1863
+ if (l ?? (l = String(p)), t.colonNotation) {
1864
+ const f = l.includes(".") ? l.split(".")[0].length : l.length, E = n.length > 0 ? 2 : 1;
1865
+ l = "0".repeat(Math.max(0, E - f)) + l;
1860
1866
  } else
1861
- d += t.verbose ? " " + Da(m, h) : l;
1862
- n.push(d);
1867
+ l += t.verbose ? " " + Da(m, p) : d;
1868
+ n.push(l);
1863
1869
  }
1864
1870
  }, i = Oa(e), u = BigInt(i.days);
1865
1871
  if (s(u / 365n, "year", "y"), s(u % 365n, "day", "d"), s(Number(i.hours), "hour", "h"), s(Number(i.minutes), "minute", "m"), t.separateMilliseconds || t.formatSubMilliseconds || !t.colonNotation && e < 1e3) {
1866
- const h = Number(i.seconds), m = Number(i.milliseconds), l = Number(i.microseconds), d = Number(i.nanoseconds);
1867
- if (s(h, "second", "s"), t.formatSubMilliseconds)
1868
- s(m, "millisecond", "ms"), s(l, "microsecond", "µs"), s(d, "nanosecond", "ns");
1872
+ const p = Number(i.seconds), m = Number(i.milliseconds), d = Number(i.microseconds), l = Number(i.nanoseconds);
1873
+ if (s(p, "second", "s"), t.formatSubMilliseconds)
1874
+ s(m, "millisecond", "ms"), s(d, "microsecond", "µs"), s(l, "nanosecond", "ns");
1869
1875
  else {
1870
- const f = m + l / 1e3 + d / 1e6, E = typeof t.millisecondsDecimalDigits == "number" ? t.millisecondsDecimalDigits : 0, _ = f >= 1 ? Math.round(f) : Math.ceil(f), w = E ? f.toFixed(E) : _;
1876
+ const f = m + d / 1e3 + l / 1e6, E = typeof t.millisecondsDecimalDigits == "number" ? t.millisecondsDecimalDigits : 0, _ = f >= 1 ? Math.round(f) : Math.ceil(f), w = E ? f.toFixed(E) : _;
1871
1877
  s(
1872
1878
  Number.parseFloat(w),
1873
1879
  "millisecond",
@@ -1876,15 +1882,15 @@ function Ma(e, t) {
1876
1882
  );
1877
1883
  }
1878
1884
  } else {
1879
- const h = (r ? Number(e % La) : e) / 1e3 % 60, m = typeof t.secondsDecimalDigits == "number" ? t.secondsDecimalDigits : 1, l = o(h, m), d = t.keepDecimalsOnWholeSeconds ? l : l.replace(/\.0+$/, "");
1880
- s(Number.parseFloat(d), "second", "s", d);
1885
+ const p = (r ? Number(e % La) : e) / 1e3 % 60, m = typeof t.secondsDecimalDigits == "number" ? t.secondsDecimalDigits : 1, d = o(p, m), l = t.keepDecimalsOnWholeSeconds ? d : d.replace(/\.0+$/, "");
1886
+ s(Number.parseFloat(l), "second", "s", l);
1881
1887
  }
1882
1888
  if (n.length === 0)
1883
1889
  return a + "0" + (t.verbose ? " milliseconds" : "ms");
1884
- const p = t.colonNotation ? ":" : " ";
1885
- return typeof t.unitCount == "number" && (n = n.slice(0, Math.max(t.unitCount, 1))), a + n.join(p);
1890
+ const h = t.colonNotation ? ":" : " ";
1891
+ return typeof t.unitCount == "number" && (n = n.slice(0, Math.max(t.unitCount, 1))), a + n.join(h);
1886
1892
  }
1887
- const Ua = process.env.NODE_ENV === "production", Qe = !Ua, Ha = Qe ? "gizmette.local.com" : "gizmette.com", Ao = (e, t) => e.length > t ? e.substring(0, t) + "..." : e, Vt = (e, t) => {
1893
+ const Ua = process.env.NODE_ENV === "production", Qe = !Ua, Ha = Qe ? "gizmette.local.com" : "gizmette.com", vo = (e, t) => e.length > t ? e.substring(0, t) + "..." : e, Vt = (e, t) => {
1888
1894
  const r = e < 0 ? t ? "W" : "S" : t ? "E" : "N", a = 0 | Math.abs(e), n = 0 | Math.abs(e) * 60 % 60, o = (0 | Math.abs(e) * 60 % 1 * 6e3) / 100;
1889
1895
  return {
1890
1896
  dir: r,
@@ -1892,7 +1898,7 @@ const Ua = process.env.NODE_ENV === "production", Qe = !Ua, Ha = Qe ? "gizmette.
1892
1898
  min: n,
1893
1899
  sec: o
1894
1900
  };
1895
- }, vo = (e) => {
1901
+ }, Ao = (e) => {
1896
1902
  if (!e && e !== 0)
1897
1903
  return "N/A";
1898
1904
  const t = Vt(e, !1);
@@ -2152,23 +2158,23 @@ const xo = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
2152
2158
  fullWidth: s,
2153
2159
  size: i,
2154
2160
  noBorder: u,
2155
- labelRight: p,
2156
- labelLeft: h,
2161
+ labelRight: h,
2162
+ labelLeft: p,
2157
2163
  spacing: m,
2158
- noBackground: l,
2159
- variant: d,
2164
+ noBackground: d,
2165
+ variant: l,
2160
2166
  noTruncate: f,
2161
2167
  align: E
2162
- }) => (d || (d = "primary"), r ? g(ht, t) : g(
2168
+ }) => (l || (l = "primary"), r ? g(ht, t) : g(
2163
2169
  ht,
2164
2170
  t,
2165
2171
  Ce(m),
2166
- Ja({ mode: a, variant: d, noBackground: l, noTruncate: f }),
2167
- Va({ type: e, size: i, labelRight: p, labelLeft: h, align: E }),
2168
- za({ mode: a, variant: d, noBorder: u }),
2172
+ Ja({ mode: a, variant: l, noBackground: d, noTruncate: f }),
2173
+ Va({ type: e, size: i, labelRight: h, labelLeft: p, align: E }),
2174
+ za({ mode: a, variant: l, noBorder: u }),
2169
2175
  ja({ focusMode: n }),
2170
- Fa({ mode: a, variant: d, disabled: o }),
2171
- Ya({ mode: a, variant: d, disabled: o }),
2176
+ Fa({ mode: a, variant: l, disabled: o }),
2177
+ Ya({ mode: a, variant: l, disabled: o }),
2172
2178
  {
2173
2179
  "w-full": s,
2174
2180
  "disabled:cursor-not-allowed disabled:opacity-50": o
@@ -2203,11 +2209,11 @@ const Ye = V.forwardRef(
2203
2209
  type: s = "button",
2204
2210
  raw: i = !1,
2205
2211
  noBorder: u = !1,
2206
- "aria-label": p,
2207
- label: h,
2212
+ "aria-label": h,
2213
+ label: p,
2208
2214
  size: m = "medium",
2209
- labelRight: l,
2210
- labelLeft: d,
2215
+ labelRight: d,
2216
+ labelLeft: l,
2211
2217
  spacing: f,
2212
2218
  noBackground: E = !1,
2213
2219
  align: _ = "center",
@@ -2223,8 +2229,8 @@ const Ye = V.forwardRef(
2223
2229
  className: o,
2224
2230
  noBorder: u,
2225
2231
  size: m,
2226
- labelRight: l,
2227
- labelLeft: d,
2232
+ labelRight: d,
2233
+ labelLeft: l,
2228
2234
  spacing: f,
2229
2235
  noBackground: E,
2230
2236
  align: _
@@ -2241,12 +2247,12 @@ const Ye = V.forwardRef(
2241
2247
  className: H,
2242
2248
  disabled: t,
2243
2249
  type: s,
2244
- "aria-label": p || h,
2250
+ "aria-label": h || p,
2245
2251
  ...w,
2246
2252
  children: [
2247
- d && /* @__PURE__ */ c("span", { className: "pr-2", children: d }),
2253
+ l && /* @__PURE__ */ c("span", { className: "pr-2", children: l }),
2248
2254
  /* @__PURE__ */ c("div", { className: O, children: e }),
2249
- l && /* @__PURE__ */ c("span", { className: "pl-2", children: l })
2255
+ d && /* @__PURE__ */ c("span", { className: "pl-2", children: d })
2250
2256
  ]
2251
2257
  }
2252
2258
  );
@@ -2264,11 +2270,11 @@ const zt = V.forwardRef(
2264
2270
  size: s = "medium",
2265
2271
  raw: i = !1,
2266
2272
  noBorder: u = !1,
2267
- spacing: p,
2268
- variant: h = "primary",
2273
+ spacing: h,
2274
+ variant: p = "primary",
2269
2275
  noTruncate: m = !1,
2270
- ...l
2271
- }, d) => {
2276
+ ...d
2277
+ }, l) => {
2272
2278
  const f = Yt({
2273
2279
  type: Ft,
2274
2280
  mode: r,
@@ -2279,17 +2285,17 @@ const zt = V.forwardRef(
2279
2285
  className: o,
2280
2286
  size: s,
2281
2287
  noBorder: u,
2282
- spacing: p,
2283
- variant: h,
2288
+ spacing: h,
2289
+ variant: p,
2284
2290
  noTruncate: m
2285
2291
  });
2286
2292
  return /* @__PURE__ */ c(
2287
2293
  Xe,
2288
2294
  {
2289
- ref: d,
2295
+ ref: l,
2290
2296
  className: f,
2291
2297
  disabled: t,
2292
- ...l,
2298
+ ...d,
2293
2299
  children: e
2294
2300
  }
2295
2301
  );
@@ -2326,7 +2332,7 @@ const Xa = ({
2326
2332
  "border-border-dark bg-surface-lighter text-copy-dark dark:border-border-accent dark:bg-surface-dark dark:text-copy-light": o === "system",
2327
2333
  "border-border-accent bg-surface-dark text-copy-light dark:border-border-dark dark:bg-surface-lighter dark:text-copy-dark": o === "alt-system"
2328
2334
  }
2329
- ), p = t || g(`${Te}__header mt-0 border-b-2`, {
2335
+ ), h = t || g(`${Te}__header mt-0 border-b-2`, {
2330
2336
  "text-copy-light border-border-accent": o === "darker",
2331
2337
  "border-border-accent": o === "dark",
2332
2338
  "border-border-medium": o === "light",
@@ -2334,11 +2340,11 @@ const Xa = ({
2334
2340
  "border-border-accent dark:border-border-medium": o === "alt-system",
2335
2341
  "mb-4": !s,
2336
2342
  "mb-2": s
2337
- }), h = g(r), m = a || g(`${Te}__footer pt-2`);
2343
+ }), p = g(r), m = a || g(`${Te}__footer pt-2`);
2338
2344
  return {
2339
2345
  wrapper: u,
2340
- header: p,
2341
- body: h,
2346
+ header: h,
2347
+ body: p,
2342
2348
  footer: m
2343
2349
  };
2344
2350
  };
@@ -2360,35 +2366,35 @@ const en = ({
2360
2366
  bodyClassName: s,
2361
2367
  "aria-labelledby": i,
2362
2368
  spacing: u,
2363
- mode: p = "system",
2364
- compact: h = !1,
2369
+ mode: h = "system",
2370
+ compact: p = !1,
2365
2371
  noBorder: m = !1,
2366
- ...l
2372
+ ...d
2367
2373
  }) => {
2368
- let d = null, f = null;
2374
+ let l = null, f = null;
2369
2375
  const E = typeof e == "string", _ = Qa(Te), w = Xa({
2370
2376
  className: o,
2371
2377
  headerClassName: t,
2372
2378
  bodyClassName: s,
2373
2379
  footerClassName: a,
2374
2380
  spacing: u,
2375
- mode: p,
2376
- compact: h,
2381
+ mode: h,
2382
+ compact: p,
2377
2383
  noBorder: m
2378
2384
  });
2379
- return E ? (d = _, f = d) : !E && e && i ? (d = null, f = i) : !E && e && !i ? (d = _, f = d) : (d = null, f = i || null), /* @__PURE__ */ c("div", { className: w.wrapper, children: /* @__PURE__ */ I(
2385
+ return E ? (l = _, f = l) : !E && e && i ? (l = null, f = i) : !E && e && !i ? (l = _, f = l) : (l = null, f = i || null), /* @__PURE__ */ c("div", { className: w.wrapper, children: /* @__PURE__ */ I(
2380
2386
  "section",
2381
2387
  {
2382
2388
  ...f && {
2383
2389
  "aria-labelledby": f
2384
2390
  },
2385
2391
  className: w.body,
2386
- ...l,
2392
+ ...d,
2387
2393
  children: [
2388
2394
  /* @__PURE__ */ c(
2389
2395
  Za,
2390
2396
  {
2391
- ...d && { id: d },
2397
+ ...l && { id: l },
2392
2398
  content: e,
2393
2399
  className: w.header,
2394
2400
  userAriaLabelledby: i
@@ -2432,13 +2438,13 @@ const en = ({
2432
2438
  return /* @__PURE__ */ c("main", { className: n, children: e });
2433
2439
  };
2434
2440
  /*!
2435
- @versini/ui-components v5.21.1
2441
+ @versini/ui-components v5.21.2
2436
2442
  © 2024 gizmette.com
2437
2443
  */
2438
2444
  try {
2439
2445
  window.__VERSINI_UI_GLOBAL__ || (window.__VERSINI_UI_GLOBAL__ = {
2440
- version: "5.21.1",
2441
- buildTime: "08/07/2024 09:49 AM EDT",
2446
+ version: "5.21.2",
2447
+ buildTime: "08/25/2024 02:12 PM EDT",
2442
2448
  homepage: "https://github.com/aversini/ui-components",
2443
2449
  license: "MIT"
2444
2450
  });
@@ -2510,7 +2516,7 @@ const jt = "SET_ANNOUNCEMENT", qt = "CLEAR_ANNOUNCEMENT", on = {
2510
2516
  }),
2511
2517
  t
2512
2518
  ));
2513
- }, ln = ({
2519
+ }, dn = ({
2514
2520
  children: e,
2515
2521
  announcementTimeoutRef: t,
2516
2522
  announcementDelay: r,
@@ -2544,19 +2550,19 @@ function Qt({
2544
2550
  visible: i,
2545
2551
  ...u
2546
2552
  }) {
2547
- const p = W(), h = W(), [m, l] = ft(sn, {
2553
+ const h = W(), p = W(), [m, d] = ft(sn, {
2548
2554
  announcement: null
2549
2555
  });
2550
- let d = r;
2551
- typeof d > "u" && (d = a ? on[a] : "assertive"), j(() => {
2552
- ln({
2553
- announcementTimeoutRef: p,
2556
+ let l = r;
2557
+ typeof l > "u" && (l = a ? on[a] : "assertive"), j(() => {
2558
+ dn({
2559
+ announcementTimeoutRef: h,
2554
2560
  announcementDelay: n,
2555
2561
  children: e,
2556
2562
  clearAnnouncementDelay: o,
2557
- clearAnnouncementTimeoutRef: h,
2563
+ clearAnnouncementTimeoutRef: p,
2558
2564
  onAnnouncementClear: s,
2559
- dispatch: l
2565
+ dispatch: d
2560
2566
  });
2561
2567
  }, [
2562
2568
  e,
@@ -2570,7 +2576,7 @@ function Qt({
2570
2576
  return /* @__PURE__ */ c(
2571
2577
  "div",
2572
2578
  {
2573
- "aria-live": d,
2579
+ "aria-live": l,
2574
2580
  ...a && { role: a },
2575
2581
  className: f,
2576
2582
  ...u,
@@ -2591,7 +2597,7 @@ try {
2591
2597
  });
2592
2598
  } catch {
2593
2599
  }
2594
- const dn = (e) => {
2600
+ const ln = (e) => {
2595
2601
  let t = "";
2596
2602
  if (typeof e == "number" || typeof e == "string")
2597
2603
  t = "m-" + e;
@@ -2715,12 +2721,12 @@ const gn = ({
2715
2721
  mode: i,
2716
2722
  focusMode: u
2717
2723
  }) => {
2718
- const p = r ? e : g(
2724
+ const h = r ? e : g(
2719
2725
  "relative flex w-full flex-col justify-center",
2720
2726
  un,
2721
2727
  e,
2722
- dn(s)
2723
- ), h = r ? g(t) : g(
2728
+ ln(s)
2729
+ ), p = r ? g(t) : g(
2724
2730
  Xt,
2725
2731
  t,
2726
2732
  "h-12 rounded-md px-4 text-base",
@@ -2730,23 +2736,23 @@ const gn = ({
2730
2736
  {
2731
2737
  "disabled:cursor-not-allowed disabled:opacity-50": a
2732
2738
  }
2733
- ), m = r ? void 0 : "sr-only", l = bn({
2739
+ ), m = r ? void 0 : "sr-only", d = bn({
2734
2740
  disabled: a,
2735
2741
  raw: r,
2736
2742
  error: o,
2737
2743
  mode: i
2738
- }), d = En({
2744
+ }), l = En({
2739
2745
  error: o,
2740
2746
  raw: r,
2741
2747
  mode: i,
2742
2748
  disabled: a
2743
2749
  });
2744
2750
  return {
2745
- wrapper: p,
2746
- input: h,
2751
+ wrapper: h,
2752
+ input: p,
2747
2753
  accessibleLabel: m,
2748
- visibleLabel: l,
2749
- helperText: d,
2754
+ visibleLabel: d,
2755
+ helperText: l,
2750
2756
  rightElement: r ? void 0 : "absolute right-3"
2751
2757
  };
2752
2758
  }, Ze = V.forwardRef(
@@ -2760,11 +2766,11 @@ const gn = ({
2760
2766
  inputClassName: s,
2761
2767
  mode: i = "system",
2762
2768
  focusMode: u = "system",
2763
- disabled: p = !1,
2764
- noBorder: h = !1,
2769
+ disabled: h = !1,
2770
+ noBorder: p = !1,
2765
2771
  labelId: m,
2766
- labelHidden: l = !1,
2767
- type: d = "text",
2772
+ labelHidden: d = !1,
2773
+ type: l = "text",
2768
2774
  helperText: f = "",
2769
2775
  rightElement: E,
2770
2776
  spacing: _,
@@ -2776,8 +2782,8 @@ const gn = ({
2776
2782
  error: a,
2777
2783
  raw: n,
2778
2784
  focusMode: u,
2779
- disabled: p,
2780
- noBorder: h,
2785
+ disabled: h,
2786
+ noBorder: p,
2781
2787
  spacing: _,
2782
2788
  mode: i
2783
2789
  });
@@ -2799,8 +2805,8 @@ const gn = ({
2799
2805
  ref: U,
2800
2806
  id: N,
2801
2807
  name: t,
2802
- type: d,
2803
- disabled: p,
2808
+ type: l,
2809
+ disabled: h,
2804
2810
  placeholder: n ? void 0 : " ",
2805
2811
  className: D.input,
2806
2812
  ...f && { "aria-describedby": `${N}-helper` },
@@ -2809,7 +2815,7 @@ const gn = ({
2809
2815
  ...w
2810
2816
  }
2811
2817
  ),
2812
- !n && !l && /* @__PURE__ */ c(
2818
+ !n && !d && /* @__PURE__ */ c(
2813
2819
  "label",
2814
2820
  {
2815
2821
  "aria-hidden": !0,
@@ -2850,14 +2856,14 @@ const Tn = 500, In = 5e3, Sn = 2e4, Zt = V.forwardRef(
2850
2856
  onBlur: s,
2851
2857
  onFocus: i,
2852
2858
  onTextInputMaskBlur: u,
2853
- rightElement: p,
2854
- spacing: h,
2859
+ rightElement: h,
2860
+ spacing: p,
2855
2861
  ...m
2856
- }, l) => {
2857
- const [d, f] = F(!0), [E, _] = F({
2862
+ }, d) => {
2863
+ const [l, f] = F(!0), [E, _] = F({
2858
2864
  message: null,
2859
2865
  politeness: null
2860
- }), w = W(!0), U = W(), H = W(null), O = an([l, H]), ae = d ? "Show" : "Hide", P = () => {
2866
+ }), w = W(!0), U = W(), H = W(null), O = an([d, H]), ae = l ? "Show" : "Hide", P = () => {
2861
2867
  clearTimeout(U.current), w.current || (U.current = window.setTimeout(() => {
2862
2868
  w.current = !0, f(!0), _({
2863
2869
  announcementTimeout: In,
@@ -2894,14 +2900,14 @@ const Tn = 500, In = 5e3, Sn = 2e4, Zt = V.forwardRef(
2894
2900
  name: e,
2895
2901
  label: r,
2896
2902
  labelHidden: a,
2897
- type: d ? "password" : "text",
2903
+ type: l ? "password" : "text",
2898
2904
  disabled: t,
2899
- spacing: h,
2905
+ spacing: p,
2900
2906
  onBlur: D,
2901
2907
  onFocus: Pe,
2902
2908
  onChange: De,
2903
- rightElement: V.cloneElement(p, {
2904
- ref: l,
2909
+ rightElement: V.cloneElement(h, {
2910
+ ref: d,
2905
2911
  label: ae,
2906
2912
  onClick: N,
2907
2913
  onBlur: x,
@@ -2936,7 +2942,7 @@ try {
2936
2942
  });
2937
2943
  } catch {
2938
2944
  }
2939
- const An = (e) => {
2945
+ const vn = (e) => {
2940
2946
  let t = "";
2941
2947
  if (typeof e == "number" || typeof e == "string")
2942
2948
  t = "m-" + e;
@@ -2955,10 +2961,10 @@ const An = (e) => {
2955
2961
  spacing: s,
2956
2962
  title: i,
2957
2963
  semantic: u = !1,
2958
- ...p
2964
+ ...h
2959
2965
  }) => {
2960
- const h = An(s), m = g(
2961
- h,
2966
+ const p = vn(s), m = g(
2967
+ p,
2962
2968
  a || o
2963
2969
  );
2964
2970
  return /* @__PURE__ */ I(ce, { children: [
@@ -2972,7 +2978,7 @@ const An = (e) => {
2972
2978
  role: "img",
2973
2979
  "aria-hidden": !u,
2974
2980
  focusable: !1,
2975
- ...p,
2981
+ ...h,
2976
2982
  children: e
2977
2983
  }
2978
2984
  ),
@@ -2992,7 +2998,7 @@ try {
2992
2998
  });
2993
2999
  } catch {
2994
3000
  }
2995
- const vn = ({
3001
+ const An = ({
2996
3002
  className: e,
2997
3003
  viewBox: t,
2998
3004
  spacing: r,
@@ -3144,8 +3150,8 @@ const Nn = (e) => {
3144
3150
  direction: s = "row",
3145
3151
  alignHorizontal: i = "normal",
3146
3152
  alignVertical: u = "normal",
3147
- spacing: p,
3148
- ...h
3153
+ spacing: h,
3154
+ ...p
3149
3155
  }) => {
3150
3156
  const m = {
3151
3157
  flexDirection: s,
@@ -3160,12 +3166,12 @@ const Nn = (e) => {
3160
3166
  */
3161
3167
  marginLeft: r * -1 * ke + "rem",
3162
3168
  marginTop: a * -1 * ke + "rem"
3163
- }, l = g(
3169
+ }, d = g(
3164
3170
  xn,
3165
3171
  t,
3166
3172
  "box-border flex flex-wrap"
3167
- ), d = { columnGap: r, rowGap: a }, f = p ? "div" : V.Fragment;
3168
- return /* @__PURE__ */ c(f, { ...p ? { className: Nn(p) } : {}, children: /* @__PURE__ */ c("div", { className: l, style: m, ...h, children: /* @__PURE__ */ c(er.Provider, { value: d, children: e }) }) });
3173
+ ), l = { columnGap: r, rowGap: a }, f = h ? "div" : V.Fragment;
3174
+ return /* @__PURE__ */ c(f, { ...h ? { className: Nn(h) } : {}, children: /* @__PURE__ */ c("div", { className: d, style: m, ...p, children: /* @__PURE__ */ c(er.Provider, { value: l, children: e }) }) });
3169
3175
  }, Fe = (e, t) => g({
3170
3176
  "basis-1/12": e === 1 && !t,
3171
3177
  "sm:basis-1/12": e === 1 && t === "sm",
@@ -3278,13 +3284,13 @@ const Nn = (e) => {
3278
3284
  return /* @__PURE__ */ c("div", { className: i, style: s, ...a, children: e });
3279
3285
  };
3280
3286
  /*!
3281
- @versini/ui-system v1.4.3
3287
+ @versini/ui-system v1.4.4
3282
3288
  © 2024 gizmette.com
3283
3289
  */
3284
3290
  try {
3285
3291
  window.__VERSINI_UI_SYSTEM__ || (window.__VERSINI_UI_SYSTEM__ = {
3286
- version: "1.4.3",
3287
- buildTime: "08/07/2024 09:49 AM EDT",
3292
+ version: "1.4.4",
3293
+ buildTime: "08/25/2024 02:12 PM EDT",
3288
3294
  homepage: "https://github.com/aversini/ui-components",
3289
3295
  license: "MIT"
3290
3296
  });
@@ -3331,7 +3337,7 @@ const On = "ASK! ME! ANYTHING!", tr = "Sassy Saint", Pn = "gizmette.com", Dn = "
3331
3337
  row1: /* @__PURE__ */ I("div", { children: [
3332
3338
  tr,
3333
3339
  " v",
3334
- "4.0.0",
3340
+ "4.0.1",
3335
3341
  " - ",
3336
3342
  Mn,
3337
3343
  Qe && e && e.models.length > 0 && e.models[0] === "development" ? " - Development Mode" : ""
@@ -3343,12 +3349,12 @@ const On = "ASK! ME! ANYTHING!", tr = "Sassy Saint", Pn = "gizmette.com", Dn = "
3343
3349
  Pn
3344
3350
  ] })
3345
3351
  }
3346
- ), Hn = wt(() => import("./LazyHeader.kRDKzfpE.js")), Kn = () => {
3352
+ ), Hn = wt(() => import("./LazyHeader.BVB91lqV.js")), Kn = () => {
3347
3353
  const { isAuthenticated: e } = qe();
3348
3354
  return /* @__PURE__ */ I(ce, { children: [
3349
3355
  e && /* @__PURE__ */ c(Tt, { fallback: /* @__PURE__ */ c("div", {}), children: /* @__PURE__ */ c(Hn, {}) }),
3350
3356
  /* @__PURE__ */ I("div", { className: "flex items-center justify-center", children: [
3351
- /* @__PURE__ */ c("div", { className: "basis-1/4", children: /* @__PURE__ */ c(vn, {}) }),
3357
+ /* @__PURE__ */ c("div", { className: "basis-1/4", children: /* @__PURE__ */ c(An, {}) }),
3352
3358
  /* @__PURE__ */ I("div", { className: "prose prose-sm prose-light md:prose-base prose-h1:mb-0 prose-h2:mt-0", children: [
3353
3359
  /* @__PURE__ */ c("h1", { children: tr }),
3354
3360
  /* @__PURE__ */ c("h2", { children: On })
@@ -3356,17 +3362,17 @@ const On = "ASK! ME! ANYTHING!", tr = "Sassy Saint", Pn = "gizmette.com", Dn = "
3356
3362
  ] })
3357
3363
  ] });
3358
3364
  }, Bn = () => {
3359
- const { login: e, logoutReason: t, loginWithPasskey: r } = qe(), [a, n] = F(""), [o, s] = F(""), [i, u] = F(!0), [p, h] = F({
3365
+ const { login: e, logoutReason: t, loginWithPasskey: r } = qe(), [a, n] = F(""), [o, s] = F(""), [i, u] = F(!0), [h, p] = F({
3360
3366
  username: "",
3361
3367
  password: ""
3362
- }), m = async (l) => {
3363
- l.preventDefault(), await e(p.username, p.password) || (s(""), n("Invalid username or password"));
3368
+ }), m = async (d) => {
3369
+ d.preventDefault(), await e(h.username, h.password) || (s(""), n("Invalid username or password"));
3364
3370
  };
3365
3371
  return j(() => {
3366
- var l;
3367
- (l = document.getElementById("logo")) == null || l.classList.add("fadeOut"), setTimeout(() => {
3368
- var d;
3369
- (d = document.getElementById("root")) == null || d.classList.replace("app-hidden", "fadeIn");
3372
+ var d;
3373
+ (d = document.getElementById("logo")) == null || d.classList.add("fadeOut"), setTimeout(() => {
3374
+ var l;
3375
+ (l = document.getElementById("root")) == null || l.classList.replace("app-hidden", "fadeIn");
3370
3376
  }, 500);
3371
3377
  }), j(() => {
3372
3378
  t && s(t);
@@ -3387,10 +3393,10 @@ const On = "ASK! ME! ANYTHING!", tr = "Sassy Saint", Pn = "gizmette.com", Dn = "
3387
3393
  focusMode: "light",
3388
3394
  name: "username",
3389
3395
  label: "Username",
3390
- onChange: (l) => {
3391
- h({
3392
- ...p,
3393
- username: l.target.value
3396
+ onChange: (d) => {
3397
+ p({
3398
+ ...h,
3399
+ username: d.target.value
3394
3400
  }), n("");
3395
3401
  },
3396
3402
  error: a !== ""
@@ -3409,10 +3415,10 @@ const On = "ASK! ME! ANYTHING!", tr = "Sassy Saint", Pn = "gizmette.com", Dn = "
3409
3415
  label: Ln,
3410
3416
  rightElement: /* @__PURE__ */ c(Ye, { focusMode: "light", mode: "dark", children: i ? /* @__PURE__ */ c(Rn, {}) : /* @__PURE__ */ c(kn, {}) }),
3411
3417
  onMaskChange: u,
3412
- onChange: (l) => {
3413
- h({
3414
- ...p,
3415
- password: l.target.value
3418
+ onChange: (d) => {
3419
+ p({
3420
+ ...h,
3421
+ password: d.target.value
3416
3422
  }), n("");
3417
3423
  },
3418
3424
  error: a !== "",
@@ -3450,14 +3456,14 @@ const On = "ASK! ME! ANYTHING!", tr = "Sassy Saint", Pn = "gizmette.com", Dn = "
3450
3456
  ] }),
3451
3457
  /* @__PURE__ */ c(Un, {})
3452
3458
  ] });
3453
- }, Gn = new URL(document.location.href).searchParams, Wn = !!Gn.get("debug") || !1, Vn = wt(() => import("./App.B5-6f2Kg.js").then((e) => e.App)), Jn = ({ isComponent: e }) => {
3459
+ }, Gn = new URL(document.location.href).searchParams, Wn = !!Gn.get("debug") || !1, Vn = wt(() => import("./App.8nM0tteo.js").then((e) => e.App)), Jn = ({ isComponent: e }) => {
3454
3460
  const { isAuthenticated: t } = qe();
3455
3461
  return t ? /* @__PURE__ */ c(Tt, { fallback: /* @__PURE__ */ c("div", {}), children: /* @__PURE__ */ c(Vn, { isComponent: e }) }) : /* @__PURE__ */ c(Bn, {});
3456
3462
  }, Fn = ({
3457
3463
  isComponent: e = !1,
3458
3464
  domain: t = Ha
3459
3465
  }) => /* @__PURE__ */ c(ce, { children: /* @__PURE__ */ c(Ra, { clientId: Na, domain: t, debug: Wn, children: /* @__PURE__ */ c(Jn, { isComponent: e }) }) }), Yn = ({ domain: e }) => /* @__PURE__ */ c(Fn, { isComponent: !0, domain: e });
3460
- Yn.displayName = "SassySaint-3.4.8";
3466
+ Yn.displayName = "SassySaint-4.0.1";
3461
3467
  export {
3462
3468
  Yt as A,
3463
3469
  zo as ABOUT_TITLE,
@@ -3507,7 +3513,7 @@ export {
3507
3513
  gt as b,
3508
3514
  rn as c,
3509
3515
  Mo as c$1,
3510
- vo as convertLatitudeToDMS,
3516
+ Ao as convertLatitudeToDMS,
3511
3517
  ko as convertLongitudeToDMS,
3512
3518
  Oo as durationFormatter,
3513
3519
  No as extractAverage,
@@ -3524,13 +3530,13 @@ export {
3524
3530
  Bo as l,
3525
3531
  Uo as n,
3526
3532
  Co as numberFormatter,
3527
- dn as o,
3533
+ ln as o,
3528
3534
  Go as p,
3529
3535
  Po as pluralize,
3530
3536
  Ho as r,
3531
3537
  Ro as renderDataAsList,
3532
3538
  Do as s,
3533
- Ao as truncate,
3539
+ vo as truncate,
3534
3540
  zt as x,
3535
3541
  qe as zr
3536
3542
  };