@versini/sassysaint 5.5.9 → 5.5.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
- import { jsx as l, jsxs as N, Fragment as fe } from "react/jsx-runtime";
2
- import z, { createContext as sr, useReducer as wt, useRef as $, useCallback as q, useEffect as Q, useContext as Tt, useSyncExternalStore as ir, useId as It, useState as j, useLayoutEffect as nt, useMemo as kt, lazy as St, Suspense as _t } from "react";
1
+ import { jsx as l, jsxs as C, Fragment as Oe } from "react/jsx-runtime";
2
+ import z, { createContext as nr, useReducer as Tt, useRef as $, useCallback as q, useEffect as Q, useContext as It, useSyncExternalStore as or, useId as St, useState as j, useLayoutEffect as ot, useMemo as _t, lazy as sr, Suspense as ir } from "react";
3
3
  import g from "clsx";
4
- var cr = Object.defineProperty, lr = (e, t, r) => t in e ? cr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ue = (e, t, r) => lr(e, typeof t != "symbol" ? t + "" : t, r);
4
+ var cr = Object.defineProperty, lr = (e, t, r) => t in e ? cr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ke = (e, t, r) => lr(e, typeof t != "symbol" ? t + "" : t, r);
5
5
  /*!
6
6
  @versini/auth-provider v7.4.0
7
7
  © 2024 gizmette.com
@@ -22,24 +22,24 @@ function J(e) {
22
22
  r += String.fromCharCode(a);
23
23
  return btoa(r).replace(/\+/g, "-").replace(/\//g, "_").replace(/=/g, "");
24
24
  }
25
- function Re(e) {
25
+ function ve(e) {
26
26
  const t = e.replace(/-/g, "+").replace(/_/g, "/"), r = (4 - t.length % 4) % 4, a = t.padEnd(t.length + r, "="), n = atob(a), o = new ArrayBuffer(n.length), s = new Uint8Array(o);
27
27
  for (let i = 0; i < n.length; i++)
28
28
  s[i] = n.charCodeAt(i);
29
29
  return o;
30
30
  }
31
- function Xe() {
31
+ function Ze() {
32
32
  return (window == null ? void 0 : window.PublicKeyCredential) !== void 0 && typeof window.PublicKeyCredential == "function";
33
33
  }
34
- function At(e) {
34
+ function kt(e) {
35
35
  const { id: t } = e;
36
36
  return {
37
37
  ...e,
38
- id: Re(t),
38
+ id: ve(t),
39
39
  transports: e.transports
40
40
  };
41
41
  }
42
- function vt(e) {
42
+ function At(e) {
43
43
  return e === "localhost" || /^([a-z0-9]+(-[a-z0-9]+)*\.)+[a-z]{2,}$/i.test(e);
44
44
  }
45
45
  let R = class extends Error {
@@ -97,7 +97,7 @@ function dr({ error: e, options: t }) {
97
97
  });
98
98
  if (e.name === "SecurityError") {
99
99
  const o = window.location.hostname;
100
- if (vt(o)) {
100
+ if (At(o)) {
101
101
  if (r.rp.id !== o)
102
102
  return new R({
103
103
  message: `The RP ID "${r.rp.id}" is invalid for this domain`,
@@ -141,25 +141,25 @@ class ur {
141
141
  }
142
142
  }
143
143
  }
144
- const Rt = new ur(), hr = ["cross-platform", "platform"];
145
- function Nt(e) {
144
+ const vt = new ur(), hr = ["cross-platform", "platform"];
145
+ function Rt(e) {
146
146
  if (e && !(hr.indexOf(e) < 0))
147
147
  return e;
148
148
  }
149
149
  async function mr(e) {
150
150
  var u;
151
- if (!Xe())
151
+ if (!Ze())
152
152
  throw new Error("WebAuthn is not supported in this browser");
153
153
  const t = { publicKey: {
154
154
  ...e,
155
- challenge: Re(e.challenge),
155
+ challenge: ve(e.challenge),
156
156
  user: {
157
157
  ...e.user,
158
- id: Re(e.user.id)
158
+ id: ve(e.user.id)
159
159
  },
160
- excludeCredentials: (u = e.excludeCredentials) == null ? void 0 : u.map(At)
160
+ excludeCredentials: (u = e.excludeCredentials) == null ? void 0 : u.map(kt)
161
161
  } };
162
- t.signal = Rt.createNewAbortSignal();
162
+ t.signal = vt.createNewAbortSignal();
163
163
  let r;
164
164
  try {
165
165
  r = await navigator.credentials.create(t);
@@ -176,7 +176,7 @@ async function mr(e) {
176
176
  try {
177
177
  d = o.getPublicKeyAlgorithm();
178
178
  } catch (c) {
179
- Ke("getPublicKeyAlgorithm()", c);
179
+ He("getPublicKeyAlgorithm()", c);
180
180
  }
181
181
  let m;
182
182
  if (typeof o.getPublicKey == "function")
@@ -184,14 +184,14 @@ async function mr(e) {
184
184
  const c = o.getPublicKey();
185
185
  c !== null && (m = J(c));
186
186
  } catch (c) {
187
- Ke("getPublicKey()", c);
187
+ He("getPublicKey()", c);
188
188
  }
189
189
  let p;
190
190
  if (typeof o.getAuthenticatorData == "function")
191
191
  try {
192
192
  p = J(o.getAuthenticatorData());
193
193
  } catch (c) {
194
- Ke("getAuthenticatorData()", c);
194
+ He("getAuthenticatorData()", c);
195
195
  }
196
196
  return {
197
197
  id: a,
@@ -206,15 +206,15 @@ async function mr(e) {
206
206
  },
207
207
  type: s,
208
208
  clientExtensionResults: r.getClientExtensionResults(),
209
- authenticatorAttachment: Nt(r.authenticatorAttachment)
209
+ authenticatorAttachment: Rt(r.authenticatorAttachment)
210
210
  };
211
211
  }
212
- function Ke(e, t) {
212
+ function He(e, t) {
213
213
  console.warn(`The browser extension that intercepted this WebAuthn API call incorrectly implemented ${e}. You should report this error to them.
214
214
  `, t);
215
215
  }
216
216
  function pr() {
217
- if (!Xe())
217
+ if (!Ze())
218
218
  return new Promise((t) => t(!1));
219
219
  const e = window.PublicKeyCredential;
220
220
  return e.isConditionalMediationAvailable === void 0 ? new Promise((t) => t(!1)) : e.isConditionalMediationAvailable();
@@ -239,7 +239,7 @@ function gr({ error: e, options: t }) {
239
239
  });
240
240
  if (e.name === "SecurityError") {
241
241
  const a = window.location.hostname;
242
- if (vt(a)) {
242
+ if (At(a)) {
243
243
  if (r.rpId !== a)
244
244
  return new R({
245
245
  message: `The RP ID "${r.rpId}" is invalid for this domain`,
@@ -262,13 +262,13 @@ function gr({ error: e, options: t }) {
262
262
  }
263
263
  async function yr(e, t = !1) {
264
264
  var u, c;
265
- if (!Xe())
265
+ if (!Ze())
266
266
  throw new Error("WebAuthn is not supported in this browser");
267
267
  let r;
268
- ((u = e.allowCredentials) == null ? void 0 : u.length) !== 0 && (r = (c = e.allowCredentials) == null ? void 0 : c.map(At));
268
+ ((u = e.allowCredentials) == null ? void 0 : u.length) !== 0 && (r = (c = e.allowCredentials) == null ? void 0 : c.map(kt));
269
269
  const a = {
270
270
  ...e,
271
- challenge: Re(e.challenge),
271
+ challenge: ve(e.challenge),
272
272
  allowCredentials: r
273
273
  }, n = {};
274
274
  if (t) {
@@ -278,7 +278,7 @@ async function yr(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 = Rt.createNewAbortSignal();
281
+ n.publicKey = a, n.signal = vt.createNewAbortSignal();
282
282
  let o;
283
283
  try {
284
284
  o = await navigator.credentials.get(n);
@@ -300,7 +300,7 @@ async function yr(e, t = !1) {
300
300
  },
301
301
  type: m,
302
302
  clientExtensionResults: o.getClientExtensionResults(),
303
- authenticatorAttachment: Nt(o.authenticatorAttachment)
303
+ authenticatorAttachment: Rt(o.authenticatorAttachment)
304
304
  };
305
305
  }
306
306
  /*!
@@ -323,7 +323,7 @@ const ue = {
323
323
  CODE: "code",
324
324
  REFRESH_TOKEN: "refresh_token",
325
325
  PASSKEY: "passkey"
326
- }, xt = {
326
+ }, Nt = {
327
327
  CLIENT_ID: "X-Auth-ClientId"
328
328
  }, A = {
329
329
  ALG: "RS256",
@@ -351,7 +351,7 @@ awIDAQAB
351
351
  LOGOUT: "logout",
352
352
  LOGIN: "login",
353
353
  REFRESH: "refresh"
354
- }, De = crypto, Ct = (e) => e instanceof CryptoKey, we = new TextEncoder(), be = new TextDecoder();
354
+ }, De = crypto, xt = (e) => e instanceof CryptoKey, Ee = new TextEncoder(), fe = new TextDecoder();
355
355
  function br(...e) {
356
356
  const t = e.reduce((n, { length: o }) => n + o, 0), r = new Uint8Array(t);
357
357
  let a = 0;
@@ -366,111 +366,111 @@ const Er = (e) => {
366
366
  return r;
367
367
  }, X = (e) => {
368
368
  let t = e;
369
- t instanceof Uint8Array && (t = be.decode(t)), t = t.replace(/-/g, "+").replace(/_/g, "/").replace(/\s/g, "");
369
+ t instanceof Uint8Array && (t = fe.decode(t)), t = t.replace(/-/g, "+").replace(/_/g, "/").replace(/\s/g, "");
370
370
  try {
371
371
  return Er(t);
372
372
  } catch {
373
373
  throw new TypeError("The input to be decoded is not correctly encoded.");
374
374
  }
375
375
  };
376
- let C = class extends Error {
376
+ let O = class extends Error {
377
377
  constructor(t, r) {
378
378
  var a;
379
379
  super(t, r), this.code = "ERR_JOSE_GENERIC", this.name = this.constructor.name, (a = Error.captureStackTrace) == null || a.call(Error, this, this.constructor);
380
380
  }
381
381
  };
382
- C.code = "ERR_JOSE_GENERIC";
383
- let D = class extends C {
382
+ O.code = "ERR_JOSE_GENERIC";
383
+ let D = class extends O {
384
384
  constructor(t, r, a = "unspecified", n = "unspecified") {
385
385
  super(t, { cause: { claim: a, reason: n, payload: r } }), this.code = "ERR_JWT_CLAIM_VALIDATION_FAILED", this.claim = a, this.reason = n, this.payload = r;
386
386
  }
387
387
  };
388
388
  D.code = "ERR_JWT_CLAIM_VALIDATION_FAILED";
389
- class ze extends C {
389
+ class Fe extends O {
390
390
  constructor(t, r, a = "unspecified", n = "unspecified") {
391
391
  super(t, { cause: { claim: a, reason: n, payload: r } }), this.code = "ERR_JWT_EXPIRED", this.claim = a, this.reason = n, this.payload = r;
392
392
  }
393
393
  }
394
- ze.code = "ERR_JWT_EXPIRED";
395
- class Ot extends C {
394
+ Fe.code = "ERR_JWT_EXPIRED";
395
+ class Ct extends O {
396
396
  constructor() {
397
397
  super(...arguments), this.code = "ERR_JOSE_ALG_NOT_ALLOWED";
398
398
  }
399
399
  }
400
- Ot.code = "ERR_JOSE_ALG_NOT_ALLOWED";
401
- let L = class extends C {
400
+ Ct.code = "ERR_JOSE_ALG_NOT_ALLOWED";
401
+ let L = class extends O {
402
402
  constructor() {
403
403
  super(...arguments), this.code = "ERR_JOSE_NOT_SUPPORTED";
404
404
  }
405
405
  };
406
406
  L.code = "ERR_JOSE_NOT_SUPPORTED";
407
- class wr extends C {
407
+ class wr extends O {
408
408
  constructor(t = "decryption operation failed", r) {
409
409
  super(t, r), this.code = "ERR_JWE_DECRYPTION_FAILED";
410
410
  }
411
411
  }
412
412
  wr.code = "ERR_JWE_DECRYPTION_FAILED";
413
- class Tr extends C {
413
+ class Tr extends O {
414
414
  constructor() {
415
415
  super(...arguments), this.code = "ERR_JWE_INVALID";
416
416
  }
417
417
  }
418
418
  Tr.code = "ERR_JWE_INVALID";
419
- let k = class extends C {
419
+ let S = class extends O {
420
420
  constructor() {
421
421
  super(...arguments), this.code = "ERR_JWS_INVALID";
422
422
  }
423
423
  };
424
- k.code = "ERR_JWS_INVALID";
425
- let B = class extends C {
424
+ S.code = "ERR_JWS_INVALID";
425
+ let B = class extends O {
426
426
  constructor() {
427
427
  super(...arguments), this.code = "ERR_JWT_INVALID";
428
428
  }
429
429
  };
430
430
  B.code = "ERR_JWT_INVALID";
431
- class Ir extends C {
431
+ class Ir extends O {
432
432
  constructor() {
433
433
  super(...arguments), this.code = "ERR_JWK_INVALID";
434
434
  }
435
435
  }
436
436
  Ir.code = "ERR_JWK_INVALID";
437
- class kr extends C {
437
+ class Sr extends O {
438
438
  constructor() {
439
439
  super(...arguments), this.code = "ERR_JWKS_INVALID";
440
440
  }
441
441
  }
442
- kr.code = "ERR_JWKS_INVALID";
443
- class Sr extends C {
442
+ Sr.code = "ERR_JWKS_INVALID";
443
+ class _r extends O {
444
444
  constructor(t = "no applicable key found in the JSON Web Key Set", r) {
445
445
  super(t, r), this.code = "ERR_JWKS_NO_MATCHING_KEY";
446
446
  }
447
447
  }
448
- Sr.code = "ERR_JWKS_NO_MATCHING_KEY";
449
- class _r extends C {
448
+ _r.code = "ERR_JWKS_NO_MATCHING_KEY";
449
+ class kr extends O {
450
450
  constructor(t = "multiple matching keys found in the JSON Web Key Set", r) {
451
451
  super(t, r), this.code = "ERR_JWKS_MULTIPLE_MATCHING_KEYS";
452
452
  }
453
453
  }
454
- _r.code = "ERR_JWKS_MULTIPLE_MATCHING_KEYS";
455
- class Ar extends C {
454
+ kr.code = "ERR_JWKS_MULTIPLE_MATCHING_KEYS";
455
+ class Ar extends O {
456
456
  constructor(t = "request timed out", r) {
457
457
  super(t, r), this.code = "ERR_JWKS_TIMEOUT";
458
458
  }
459
459
  }
460
460
  Ar.code = "ERR_JWKS_TIMEOUT";
461
- class Pt extends C {
461
+ class Ot extends O {
462
462
  constructor(t = "signature verification failed", r) {
463
463
  super(t, r), this.code = "ERR_JWS_SIGNATURE_VERIFICATION_FAILED";
464
464
  }
465
465
  }
466
- Pt.code = "ERR_JWS_SIGNATURE_VERIFICATION_FAILED";
466
+ Ot.code = "ERR_JWS_SIGNATURE_VERIFICATION_FAILED";
467
467
  function Y(e, t = "algorithm.name") {
468
468
  return new TypeError(`CryptoKey does not support this operation, its ${t} must be ${e}`);
469
469
  }
470
- function Te(e, t) {
470
+ function we(e, t) {
471
471
  return e.name === t;
472
472
  }
473
- function He(e) {
473
+ function We(e) {
474
474
  return parseInt(e.name.slice(4), 10);
475
475
  }
476
476
  function vr(e) {
@@ -500,30 +500,30 @@ function Nr(e, t, ...r) {
500
500
  case "HS256":
501
501
  case "HS384":
502
502
  case "HS512": {
503
- if (!Te(e.algorithm, "HMAC"))
503
+ if (!we(e.algorithm, "HMAC"))
504
504
  throw Y("HMAC");
505
505
  const a = parseInt(t.slice(2), 10);
506
- if (He(e.algorithm.hash) !== a)
506
+ if (We(e.algorithm.hash) !== a)
507
507
  throw Y(`SHA-${a}`, "algorithm.hash");
508
508
  break;
509
509
  }
510
510
  case "RS256":
511
511
  case "RS384":
512
512
  case "RS512": {
513
- if (!Te(e.algorithm, "RSASSA-PKCS1-v1_5"))
513
+ if (!we(e.algorithm, "RSASSA-PKCS1-v1_5"))
514
514
  throw Y("RSASSA-PKCS1-v1_5");
515
515
  const a = parseInt(t.slice(2), 10);
516
- if (He(e.algorithm.hash) !== a)
516
+ if (We(e.algorithm.hash) !== a)
517
517
  throw Y(`SHA-${a}`, "algorithm.hash");
518
518
  break;
519
519
  }
520
520
  case "PS256":
521
521
  case "PS384":
522
522
  case "PS512": {
523
- if (!Te(e.algorithm, "RSA-PSS"))
523
+ if (!we(e.algorithm, "RSA-PSS"))
524
524
  throw Y("RSA-PSS");
525
525
  const a = parseInt(t.slice(2), 10);
526
- if (He(e.algorithm.hash) !== a)
526
+ if (We(e.algorithm.hash) !== a)
527
527
  throw Y(`SHA-${a}`, "algorithm.hash");
528
528
  break;
529
529
  }
@@ -535,7 +535,7 @@ function Nr(e, t, ...r) {
535
535
  case "ES256":
536
536
  case "ES384":
537
537
  case "ES512": {
538
- if (!Te(e.algorithm, "ECDSA"))
538
+ if (!we(e.algorithm, "ECDSA"))
539
539
  throw Y("ECDSA");
540
540
  const a = vr(t);
541
541
  if (e.algorithm.namedCurve !== a)
@@ -547,7 +547,7 @@ function Nr(e, t, ...r) {
547
547
  }
548
548
  Rr(e, r);
549
549
  }
550
- function Dt(e, t, ...r) {
550
+ function Pt(e, t, ...r) {
551
551
  var a;
552
552
  if (r = r.filter(Boolean), r.length > 2) {
553
553
  const n = r.pop();
@@ -555,11 +555,11 @@ function Dt(e, t, ...r) {
555
555
  } else r.length === 2 ? e += `one of type ${r[0]} or ${r[1]}.` : e += `of type ${r[0]}.`;
556
556
  return t == null ? e += ` Received ${t}` : typeof t == "function" && t.name ? e += ` Received function ${t.name}` : typeof t == "object" && t != null && (a = t.constructor) != null && a.name && (e += ` Received an instance of ${t.constructor.name}`), e;
557
557
  }
558
- const ot = (e, ...t) => Dt("Key must be ", e, ...t);
559
- function Lt(e, t, ...r) {
560
- return Dt(`Key for the ${e} algorithm must be `, t, ...r);
558
+ const st = (e, ...t) => Pt("Key must be ", e, ...t);
559
+ function Dt(e, t, ...r) {
560
+ return Pt(`Key for the ${e} algorithm must be `, t, ...r);
561
561
  }
562
- const $t = (e) => Ct(e) ? !0 : (e == null ? void 0 : e[Symbol.toStringTag]) === "KeyObject", Ne = ["CryptoKey"], xr = (...e) => {
562
+ const Lt = (e) => xt(e) ? !0 : (e == null ? void 0 : e[Symbol.toStringTag]) === "KeyObject", Re = ["CryptoKey"], xr = (...e) => {
563
563
  const t = e.filter(Boolean);
564
564
  if (t.length === 0 || t.length === 1)
565
565
  return !0;
@@ -682,7 +682,7 @@ function $r(e) {
682
682
  }
683
683
  return { algorithm: t, keyUsages: r };
684
684
  }
685
- const Mt = async (e) => {
685
+ const $t = async (e) => {
686
686
  if (!e.alg)
687
687
  throw new TypeError('"alg" argument is required when "jwk.alg" is not present');
688
688
  const { algorithm: t, keyUsages: r } = $r(e), a = [
@@ -691,26 +691,26 @@ const Mt = async (e) => {
691
691
  e.key_ops ?? r
692
692
  ], n = { ...e };
693
693
  return delete n.alg, delete n.use, De.subtle.importKey("jwk", n, ...a);
694
- }, Ut = (e) => X(e);
694
+ }, Mt = (e) => X(e);
695
695
  let ae, ne;
696
- const Kt = (e) => (e == null ? void 0 : e[Symbol.toStringTag]) === "KeyObject", xe = async (e, t, r, a, n = !1) => {
696
+ const Ut = (e) => (e == null ? void 0 : e[Symbol.toStringTag]) === "KeyObject", Ne = async (e, t, r, a, n = !1) => {
697
697
  let o = e.get(t);
698
698
  if (o != null && o[a])
699
699
  return o[a];
700
- const s = await Mt({ ...r, alg: a });
700
+ const s = await $t({ ...r, alg: a });
701
701
  return n && Object.freeze(t), o ? o[a] = s : e.set(t, { [a]: s }), s;
702
702
  }, Mr = (e, t) => {
703
- if (Kt(e)) {
703
+ if (Ut(e)) {
704
704
  let r = e.export({ format: "jwk" });
705
- return delete r.d, delete r.dp, delete r.dq, delete r.p, delete r.q, delete r.qi, r.k ? Ut(r.k) : (ne || (ne = /* @__PURE__ */ new WeakMap()), xe(ne, e, r, t));
705
+ return delete r.d, delete r.dp, delete r.dq, delete r.p, delete r.q, delete r.qi, r.k ? Mt(r.k) : (ne || (ne = /* @__PURE__ */ new WeakMap()), Ne(ne, e, r, t));
706
706
  }
707
- return me(e) ? e.k ? X(e.k) : (ne || (ne = /* @__PURE__ */ new WeakMap()), xe(ne, e, e, t, !0)) : e;
707
+ return me(e) ? e.k ? X(e.k) : (ne || (ne = /* @__PURE__ */ new WeakMap()), Ne(ne, e, e, t, !0)) : e;
708
708
  }, Ur = (e, t) => {
709
- if (Kt(e)) {
709
+ if (Ut(e)) {
710
710
  let r = e.export({ format: "jwk" });
711
- return r.k ? Ut(r.k) : (ae || (ae = /* @__PURE__ */ new WeakMap()), xe(ae, e, r, t));
711
+ return r.k ? Mt(r.k) : (ae || (ae = /* @__PURE__ */ new WeakMap()), Ne(ae, e, r, t));
712
712
  }
713
- return me(e) ? e.k ? X(e.k) : (ae || (ae = /* @__PURE__ */ new WeakMap()), xe(ae, e, e, t, !0)) : e;
713
+ return me(e) ? e.k ? X(e.k) : (ae || (ae = /* @__PURE__ */ new WeakMap()), Ne(ae, e, e, t, !0)) : e;
714
714
  }, Kr = { normalizePublicKey: Mr, normalizePrivateKey: Ur }, F = (e, t, r = 0) => {
715
715
  r === 0 && (t.unshift(t.length), t.unshift(6));
716
716
  const a = e.indexOf(t[0], r);
@@ -718,7 +718,7 @@ const Kt = (e) => (e == null ? void 0 : e[Symbol.toStringTag]) === "KeyObject",
718
718
  return !1;
719
719
  const n = e.subarray(a, a + t.length);
720
720
  return n.length !== t.length ? !1 : n.every((o, s) => o === t[s]) || F(e, t, a + 1);
721
- }, st = (e) => {
721
+ }, it = (e) => {
722
722
  switch (!0) {
723
723
  case F(e, [42, 134, 72, 206, 61, 3, 1, 7]):
724
724
  return "P-256";
@@ -773,12 +773,12 @@ const Kt = (e) => (e == null ? void 0 : e[Symbol.toStringTag]) === "KeyObject",
773
773
  case "ECDH-ES+A128KW":
774
774
  case "ECDH-ES+A192KW":
775
775
  case "ECDH-ES+A256KW": {
776
- const d = st(i);
776
+ const d = it(i);
777
777
  o = d.startsWith("P-") ? { name: "ECDH", namedCurve: d } : { name: d }, s = [];
778
778
  break;
779
779
  }
780
780
  case "EdDSA":
781
- o = { name: st(i) }, s = ["verify"];
781
+ o = { name: it(i) }, s = ["verify"];
782
782
  break;
783
783
  default:
784
784
  throw new L('Invalid or unsupported "alg" (Algorithm) value');
@@ -803,12 +803,12 @@ async function Br(e, t) {
803
803
  throw new L('RSA JWK "oth" (Other Primes Info) Parameter value is not supported');
804
804
  case "EC":
805
805
  case "OKP":
806
- return Mt({ ...e, alg: t });
806
+ return $t({ ...e, alg: t });
807
807
  default:
808
808
  throw new L('Unsupported "kty" (Key Type) Parameter value');
809
809
  }
810
810
  }
811
- const de = (e) => e == null ? void 0 : e[Symbol.toStringTag], Fe = (e, t, r) => {
811
+ const de = (e) => e == null ? void 0 : e[Symbol.toStringTag], je = (e, t, r) => {
812
812
  var a, n;
813
813
  if (t.use !== void 0 && t.use !== "sig")
814
814
  throw new TypeError("Invalid key for this operation, when present its use must be sig");
@@ -820,12 +820,12 @@ const de = (e) => e == null ? void 0 : e[Symbol.toStringTag], Fe = (e, t, r) =>
820
820
  }, Jr = (e, t, r, a) => {
821
821
  if (!(t instanceof Uint8Array)) {
822
822
  if (a && me(t)) {
823
- if (Lr(t) && Fe(e, t, r))
823
+ if (Lr(t) && je(e, t, r))
824
824
  return;
825
825
  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');
826
826
  }
827
- if (!$t(t))
828
- throw new TypeError(Lt(e, t, ...Ne, "Uint8Array", a ? "JSON Web Key" : null));
827
+ if (!Lt(t))
828
+ throw new TypeError(Dt(e, t, ...Re, "Uint8Array", a ? "JSON Web Key" : null));
829
829
  if (t.type !== "secret")
830
830
  throw new TypeError(`${de(t)} instances for symmetric algorithms must be of type "secret"`);
831
831
  }
@@ -833,16 +833,16 @@ const de = (e) => e == null ? void 0 : e[Symbol.toStringTag], Fe = (e, t, r) =>
833
833
  if (a && me(t))
834
834
  switch (r) {
835
835
  case "sign":
836
- if (Pr(t) && Fe(e, t, r))
836
+ if (Pr(t) && je(e, t, r))
837
837
  return;
838
838
  throw new TypeError("JSON Web Key for this operation be a private JWK");
839
839
  case "verify":
840
- if (Dr(t) && Fe(e, t, r))
840
+ if (Dr(t) && je(e, t, r))
841
841
  return;
842
842
  throw new TypeError("JSON Web Key for this operation be a public JWK");
843
843
  }
844
- if (!$t(t))
845
- throw new TypeError(Lt(e, t, ...Ne, a ? "JSON Web Key" : null));
844
+ if (!Lt(t))
845
+ throw new TypeError(Dt(e, t, ...Re, a ? "JSON Web Key" : null));
846
846
  if (t.type === "secret")
847
847
  throw new TypeError(`${de(t)} instances for asymmetric algorithms must not be of type "secret"`);
848
848
  if (r === "sign" && t.type === "public")
@@ -854,11 +854,11 @@ const de = (e) => e == null ? void 0 : e[Symbol.toStringTag], Fe = (e, t, r) =>
854
854
  if (t.algorithm && r === "encrypt" && t.type === "private")
855
855
  throw new TypeError(`${de(t)} instances for asymmetric algorithm encryption must be of type "public"`);
856
856
  };
857
- function Ht(e, t, r, a) {
857
+ function Kt(e, t, r, a) {
858
858
  t.startsWith("HS") || t === "dir" || t.startsWith("PBES2") || /^A\d{3}(?:GCM)?KW$/.test(t) ? Jr(t, r, a, e) : Vr(t, r, a, e);
859
859
  }
860
- Ht.bind(void 0, !1);
861
- const it = Ht.bind(void 0, !0);
860
+ Kt.bind(void 0, !1);
861
+ const ct = Kt.bind(void 0, !0);
862
862
  function Yr(e, t, r, a, n) {
863
863
  if (n.crit !== void 0 && (a == null ? void 0 : a.crit) === void 0)
864
864
  throw new e('"crit" (Critical) Header Parameter MUST be integrity protected');
@@ -910,14 +910,14 @@ function Fr(e, t) {
910
910
  }
911
911
  }
912
912
  async function jr(e, t, r) {
913
- if (t = await Kr.normalizePublicKey(t, e), Ct(t))
913
+ if (t = await Kr.normalizePublicKey(t, e), xt(t))
914
914
  return Nr(t, e, r), t;
915
915
  if (t instanceof Uint8Array) {
916
916
  if (!e.startsWith("HS"))
917
- throw new TypeError(ot(t, ...Ne));
917
+ throw new TypeError(st(t, ...Re));
918
918
  return De.subtle.importKey("raw", t, { hash: `SHA-${e.slice(-3)}`, name: "HMAC" }, !1, [r]);
919
919
  }
920
- throw new TypeError(ot(t, ...Ne, "Uint8Array", "JSON Web Key"));
920
+ throw new TypeError(st(t, ...Re, "Uint8Array", "JSON Web Key"));
921
921
  }
922
922
  const qr = async (e, t, r, a) => {
923
923
  const n = await jr(e, t, "verify");
@@ -931,77 +931,77 @@ const qr = async (e, t, r, a) => {
931
931
  };
932
932
  async function Xr(e, t, r) {
933
933
  if (!he(e))
934
- throw new k("Flattened JWS must be an object");
934
+ throw new S("Flattened JWS must be an object");
935
935
  if (e.protected === void 0 && e.header === void 0)
936
- throw new k('Flattened JWS must have either of the "protected" or "header" members');
936
+ throw new S('Flattened JWS must have either of the "protected" or "header" members');
937
937
  if (e.protected !== void 0 && typeof e.protected != "string")
938
- throw new k("JWS Protected Header incorrect type");
938
+ throw new S("JWS Protected Header incorrect type");
939
939
  if (e.payload === void 0)
940
- throw new k("JWS Payload missing");
940
+ throw new S("JWS Payload missing");
941
941
  if (typeof e.signature != "string")
942
- throw new k("JWS Signature missing or incorrect type");
942
+ throw new S("JWS Signature missing or incorrect type");
943
943
  if (e.header !== void 0 && !he(e.header))
944
- throw new k("JWS Unprotected Header incorrect type");
944
+ throw new S("JWS Unprotected Header incorrect type");
945
945
  let a = {};
946
946
  if (e.protected)
947
947
  try {
948
948
  const f = X(e.protected);
949
- a = JSON.parse(be.decode(f));
949
+ a = JSON.parse(fe.decode(f));
950
950
  } catch {
951
- throw new k("JWS Protected Header is invalid");
951
+ throw new S("JWS Protected Header is invalid");
952
952
  }
953
953
  if (!xr(a, e.header))
954
- throw new k("JWS Protected and JWS Unprotected Header Parameter names must be disjoint");
954
+ throw new S("JWS Protected and JWS Unprotected Header Parameter names must be disjoint");
955
955
  const n = {
956
956
  ...a,
957
957
  ...e.header
958
- }, o = Yr(k, /* @__PURE__ */ new Map([["b64", !0]]), r == null ? void 0 : r.crit, a, n);
958
+ }, o = Yr(S, /* @__PURE__ */ new Map([["b64", !0]]), r == null ? void 0 : r.crit, a, n);
959
959
  let s = !0;
960
960
  if (o.has("b64") && (s = a.b64, typeof s != "boolean"))
961
- throw new k('The "b64" (base64url-encode payload) Header Parameter must be a boolean');
961
+ throw new S('The "b64" (base64url-encode payload) Header Parameter must be a boolean');
962
962
  const { alg: i } = n;
963
963
  if (typeof i != "string" || !i)
964
- throw new k('JWS "alg" (Algorithm) Header Parameter missing or invalid');
964
+ throw new S('JWS "alg" (Algorithm) Header Parameter missing or invalid');
965
965
  const d = zr("algorithms", r.algorithms);
966
966
  if (d && !d.has(i))
967
- throw new Ot('"alg" (Algorithm) Header Parameter value not allowed');
967
+ throw new Ct('"alg" (Algorithm) Header Parameter value not allowed');
968
968
  if (s) {
969
969
  if (typeof e.payload != "string")
970
- throw new k("JWS Payload must be a string");
970
+ throw new S("JWS Payload must be a string");
971
971
  } else if (typeof e.payload != "string" && !(e.payload instanceof Uint8Array))
972
- throw new k("JWS Payload must be a string or an Uint8Array instance");
972
+ throw new S("JWS Payload must be a string or an Uint8Array instance");
973
973
  let m = !1;
974
- typeof t == "function" ? (t = await t(a, e), m = !0, it(i, t, "verify"), me(t) && (t = await Br(t, i))) : it(i, t, "verify");
975
- const p = br(we.encode(e.protected ?? ""), we.encode("."), typeof e.payload == "string" ? we.encode(e.payload) : e.payload);
974
+ typeof t == "function" ? (t = await t(a, e), m = !0, ct(i, t, "verify"), me(t) && (t = await Br(t, i))) : ct(i, t, "verify");
975
+ const p = br(Ee.encode(e.protected ?? ""), Ee.encode("."), typeof e.payload == "string" ? Ee.encode(e.payload) : e.payload);
976
976
  let u;
977
977
  try {
978
978
  u = X(e.signature);
979
979
  } catch {
980
- throw new k("Failed to base64url decode the signature");
980
+ throw new S("Failed to base64url decode the signature");
981
981
  }
982
982
  if (!await qr(i, t, u, p))
983
- throw new Pt();
983
+ throw new Ot();
984
984
  let c;
985
985
  if (s)
986
986
  try {
987
987
  c = X(e.payload);
988
988
  } catch {
989
- throw new k("Failed to base64url decode the payload");
989
+ throw new S("Failed to base64url decode the payload");
990
990
  }
991
- else typeof e.payload == "string" ? c = we.encode(e.payload) : c = e.payload;
991
+ else typeof e.payload == "string" ? c = Ee.encode(e.payload) : c = e.payload;
992
992
  const h = { payload: c };
993
993
  return e.protected !== void 0 && (h.protectedHeader = a), e.header !== void 0 && (h.unprotectedHeader = e.header), m ? { ...h, key: t } : h;
994
994
  }
995
995
  async function Qr(e, t, r) {
996
- if (e instanceof Uint8Array && (e = be.decode(e)), typeof e != "string")
997
- throw new k("Compact JWS must be a string or Uint8Array");
996
+ if (e instanceof Uint8Array && (e = fe.decode(e)), typeof e != "string")
997
+ throw new S("Compact JWS must be a string or Uint8Array");
998
998
  const { 0: a, 1: n, 2: o, length: s } = e.split(".");
999
999
  if (s !== 3)
1000
- throw new k("Invalid Compact JWS");
1000
+ throw new S("Invalid Compact JWS");
1001
1001
  const i = await Xr({ payload: n, protected: a, signature: o }, t, r), d = { payload: i.payload, protectedHeader: i.protectedHeader };
1002
1002
  return typeof t == "function" ? { ...d, key: i.key } : d;
1003
1003
  }
1004
- const Zr = (e) => Math.floor(e.getTime() / 1e3), Wt = 60, Gt = Wt * 60, Qe = Gt * 24, ea = Qe * 7, ta = Qe * 365.25, ra = /^(\+|\-)? ?(\d+|\d+\.\d+) ?(seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)(?: (ago|from now))?$/i, ct = (e) => {
1004
+ const Zr = (e) => Math.floor(e.getTime() / 1e3), Ht = 60, Wt = Ht * 60, et = Wt * 24, ea = et * 7, ta = et * 365.25, ra = /^(\+|\-)? ?(\d+|\d+\.\d+) ?(seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)(?: (ago|from now))?$/i, lt = (e) => {
1005
1005
  const t = ra.exec(e);
1006
1006
  if (!t || t[4] && t[1])
1007
1007
  throw new TypeError("Invalid time period format");
@@ -1020,19 +1020,19 @@ const Zr = (e) => Math.floor(e.getTime() / 1e3), Wt = 60, Gt = Wt * 60, Qe = Gt
1020
1020
  case "min":
1021
1021
  case "mins":
1022
1022
  case "m":
1023
- n = Math.round(r * Wt);
1023
+ n = Math.round(r * Ht);
1024
1024
  break;
1025
1025
  case "hour":
1026
1026
  case "hours":
1027
1027
  case "hr":
1028
1028
  case "hrs":
1029
1029
  case "h":
1030
- n = Math.round(r * Gt);
1030
+ n = Math.round(r * Wt);
1031
1031
  break;
1032
1032
  case "day":
1033
1033
  case "days":
1034
1034
  case "d":
1035
- n = Math.round(r * Qe);
1035
+ n = Math.round(r * et);
1036
1036
  break;
1037
1037
  case "week":
1038
1038
  case "weeks":
@@ -1044,16 +1044,16 @@ const Zr = (e) => Math.floor(e.getTime() / 1e3), Wt = 60, Gt = Wt * 60, Qe = Gt
1044
1044
  break;
1045
1045
  }
1046
1046
  return t[1] === "-" || t[4] === "ago" ? -n : n;
1047
- }, lt = (e) => e.toLowerCase().replace(/^application\//, ""), aa = (e, t) => typeof e == "string" ? t.includes(e) : Array.isArray(e) ? t.some(Set.prototype.has.bind(new Set(e))) : !1, na = (e, t, r = {}) => {
1047
+ }, dt = (e) => e.toLowerCase().replace(/^application\//, ""), aa = (e, t) => typeof e == "string" ? t.includes(e) : Array.isArray(e) ? t.some(Set.prototype.has.bind(new Set(e))) : !1, na = (e, t, r = {}) => {
1048
1048
  let a;
1049
1049
  try {
1050
- a = JSON.parse(be.decode(t));
1050
+ a = JSON.parse(fe.decode(t));
1051
1051
  } catch {
1052
1052
  }
1053
1053
  if (!he(a))
1054
1054
  throw new B("JWT Claims Set must be a top-level JSON object");
1055
1055
  const { typ: n } = r;
1056
- if (n && (typeof e.typ != "string" || lt(e.typ) !== lt(n)))
1056
+ if (n && (typeof e.typ != "string" || dt(e.typ) !== dt(n)))
1057
1057
  throw new D('unexpected "typ" JWT header value', a, "typ", "check_failed");
1058
1058
  const { requiredClaims: o = [], issuer: s, subject: i, audience: d, maxTokenAge: m } = r, p = [...o];
1059
1059
  m !== void 0 && p.push("iat"), d !== void 0 && p.push("aud"), i !== void 0 && p.push("sub"), s !== void 0 && p.push("iss");
@@ -1069,7 +1069,7 @@ const Zr = (e) => Math.floor(e.getTime() / 1e3), Wt = 60, Gt = Wt * 60, Qe = Gt
1069
1069
  let u;
1070
1070
  switch (typeof r.clockTolerance) {
1071
1071
  case "string":
1072
- u = ct(r.clockTolerance);
1072
+ u = lt(r.clockTolerance);
1073
1073
  break;
1074
1074
  case "number":
1075
1075
  u = r.clockTolerance;
@@ -1093,12 +1093,12 @@ const Zr = (e) => Math.floor(e.getTime() / 1e3), Wt = 60, Gt = Wt * 60, Qe = Gt
1093
1093
  if (typeof a.exp != "number")
1094
1094
  throw new D('"exp" claim must be a number', a, "exp", "invalid");
1095
1095
  if (a.exp <= h - u)
1096
- throw new ze('"exp" claim timestamp check failed', a, "exp", "check_failed");
1096
+ throw new Fe('"exp" claim timestamp check failed', a, "exp", "check_failed");
1097
1097
  }
1098
1098
  if (m) {
1099
- const f = h - a.iat, E = typeof m == "number" ? m : ct(m);
1099
+ const f = h - a.iat, E = typeof m == "number" ? m : lt(m);
1100
1100
  if (f - u > E)
1101
- throw new ze('"iat" claim timestamp check failed (too far in the past)', a, "iat", "check_failed");
1101
+ throw new Fe('"iat" claim timestamp check failed (too far in the past)', a, "iat", "check_failed");
1102
1102
  if (f < 0 - u)
1103
1103
  throw new D('"iat" claim timestamp check failed (it should be in the past)', a, "iat", "check_failed");
1104
1104
  }
@@ -1131,7 +1131,7 @@ function ia(e) {
1131
1131
  }
1132
1132
  let n;
1133
1133
  try {
1134
- n = JSON.parse(be.decode(a));
1134
+ n = JSON.parse(fe.decode(a));
1135
1135
  } catch {
1136
1136
  throw new B("Failed to parse the decoded payload as JSON");
1137
1137
  }
@@ -1154,39 +1154,39 @@ const ye = async (e) => {
1154
1154
  } catch {
1155
1155
  return;
1156
1156
  }
1157
- }, S = [];
1157
+ }, _ = [];
1158
1158
  for (let e = 0; e < 256; ++e)
1159
- S.push((e + 256).toString(16).slice(1));
1159
+ _.push((e + 256).toString(16).slice(1));
1160
1160
  function la(e, t = 0) {
1161
- return (S[e[t + 0]] + S[e[t + 1]] + S[e[t + 2]] + S[e[t + 3]] + "-" + S[e[t + 4]] + S[e[t + 5]] + "-" + S[e[t + 6]] + S[e[t + 7]] + "-" + S[e[t + 8]] + S[e[t + 9]] + "-" + S[e[t + 10]] + S[e[t + 11]] + S[e[t + 12]] + S[e[t + 13]] + S[e[t + 14]] + S[e[t + 15]]).toLowerCase();
1161
+ return (_[e[t + 0]] + _[e[t + 1]] + _[e[t + 2]] + _[e[t + 3]] + "-" + _[e[t + 4]] + _[e[t + 5]] + "-" + _[e[t + 6]] + _[e[t + 7]] + "-" + _[e[t + 8]] + _[e[t + 9]] + "-" + _[e[t + 10]] + _[e[t + 11]] + _[e[t + 12]] + _[e[t + 13]] + _[e[t + 14]] + _[e[t + 15]]).toLowerCase();
1162
1162
  }
1163
- let We;
1163
+ let Ge;
1164
1164
  const da = new Uint8Array(16);
1165
1165
  function ua() {
1166
- if (!We) {
1166
+ if (!Ge) {
1167
1167
  if (typeof crypto > "u" || !crypto.getRandomValues)
1168
1168
  throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
1169
- We = crypto.getRandomValues.bind(crypto);
1169
+ Ge = crypto.getRandomValues.bind(crypto);
1170
1170
  }
1171
- return We(da);
1171
+ return Ge(da);
1172
1172
  }
1173
- const ha = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), dt = { randomUUID: ha };
1174
- function ut(e, t, r) {
1175
- if (dt.randomUUID && !t && !e)
1176
- return dt.randomUUID();
1173
+ const ha = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), ut = { randomUUID: ha };
1174
+ function ht(e, t, r) {
1175
+ if (ut.randomUUID && !t && !e)
1176
+ return ut.randomUUID();
1177
1177
  e = e || {};
1178
1178
  const a = e.random || (e.rng || ua)();
1179
1179
  return a[6] = a[6] & 15 | 64, a[8] = a[8] & 63 | 128, la(a);
1180
1180
  }
1181
- const ht = globalThis.crypto, ma = (e) => `${ut()}${ut()}`.slice(0, e), pa = (e) => btoa(
1181
+ const mt = globalThis.crypto, ma = (e) => `${ht()}${ht()}`.slice(0, e), pa = (e) => btoa(
1182
1182
  [...new Uint8Array(e)].map((t) => String.fromCharCode(t)).join("")
1183
1183
  );
1184
1184
  async function ga(e) {
1185
- if (!ht.subtle)
1185
+ if (!mt.subtle)
1186
1186
  throw new Error(
1187
1187
  "crypto.subtle is available only in secure contexts (HTTPS)."
1188
1188
  );
1189
- const t = new TextEncoder().encode(e), r = await ht.subtle.digest("SHA-256", t);
1189
+ const t = new TextEncoder().encode(e), r = await mt.subtle.digest("SHA-256", t);
1190
1190
  return pa(r).replace(/\+/g, "-").replace(/\//g, "_").replace(/=+$/, "");
1191
1191
  }
1192
1192
  async function ya(e) {
@@ -1196,26 +1196,26 @@ async function ya(e) {
1196
1196
  code_challenge: r
1197
1197
  };
1198
1198
  }
1199
- function Bt(e, t) {
1199
+ function Gt(e, t) {
1200
1200
  window.dispatchEvent(new StorageEvent("storage", { key: e, newValue: t }));
1201
1201
  }
1202
- const mt = (e, t) => {
1202
+ const pt = (e, t) => {
1203
1203
  const r = JSON.stringify(
1204
1204
  typeof t == "function" ? t() : t
1205
1205
  );
1206
- window.localStorage.setItem(e, r), Bt(e, r);
1206
+ window.localStorage.setItem(e, r), Gt(e, r);
1207
1207
  }, fa = (e) => {
1208
- window.localStorage.removeItem(e), Bt(e, null);
1209
- }, pt = (e) => window.localStorage.getItem(e), ba = (e) => (window.addEventListener("storage", e), () => window.removeEventListener("storage", e));
1210
- function Ie({
1208
+ window.localStorage.removeItem(e), Gt(e, null);
1209
+ }, gt = (e) => window.localStorage.getItem(e), ba = (e) => (window.addEventListener("storage", e), () => window.removeEventListener("storage", e));
1210
+ function Te({
1211
1211
  key: e,
1212
1212
  initialValue: t
1213
1213
  }) {
1214
- const r = ir(ba, () => pt(e)), a = q(
1214
+ const r = or(ba, () => gt(e)), a = q(
1215
1215
  (s) => {
1216
1216
  try {
1217
1217
  const i = typeof s == "function" ? s(JSON.parse(r)) : s;
1218
- i == null ? fa(e) : mt(e, i);
1218
+ i == null ? fa(e) : pt(e, i);
1219
1219
  } catch (i) {
1220
1220
  console.warn(i);
1221
1221
  }
@@ -1228,40 +1228,40 @@ function Ie({
1228
1228
  }, [a]);
1229
1229
  return Q(() => {
1230
1230
  try {
1231
- pt(e) === null && typeof t < "u" && mt(e, t);
1231
+ gt(e) === null && typeof t < "u" && pt(e, t);
1232
1232
  } catch (s) {
1233
1233
  console.warn(s);
1234
1234
  }
1235
1235
  }, [e, t]), [r ? JSON.parse(r) : null, a, n, o];
1236
1236
  }
1237
- const _ = [];
1237
+ const k = [];
1238
1238
  for (let e = 0; e < 256; ++e)
1239
- _.push((e + 256).toString(16).slice(1));
1239
+ k.push((e + 256).toString(16).slice(1));
1240
1240
  function Ea(e, t = 0) {
1241
- return (_[e[t + 0]] + _[e[t + 1]] + _[e[t + 2]] + _[e[t + 3]] + "-" + _[e[t + 4]] + _[e[t + 5]] + "-" + _[e[t + 6]] + _[e[t + 7]] + "-" + _[e[t + 8]] + _[e[t + 9]] + "-" + _[e[t + 10]] + _[e[t + 11]] + _[e[t + 12]] + _[e[t + 13]] + _[e[t + 14]] + _[e[t + 15]]).toLowerCase();
1241
+ return (k[e[t + 0]] + k[e[t + 1]] + k[e[t + 2]] + k[e[t + 3]] + "-" + k[e[t + 4]] + k[e[t + 5]] + "-" + k[e[t + 6]] + k[e[t + 7]] + "-" + k[e[t + 8]] + k[e[t + 9]] + "-" + k[e[t + 10]] + k[e[t + 11]] + k[e[t + 12]] + k[e[t + 13]] + k[e[t + 14]] + k[e[t + 15]]).toLowerCase();
1242
1242
  }
1243
- let Ge;
1243
+ let Be;
1244
1244
  const wa = new Uint8Array(16);
1245
1245
  function Ta() {
1246
- if (!Ge) {
1246
+ if (!Be) {
1247
1247
  if (typeof crypto > "u" || !crypto.getRandomValues)
1248
1248
  throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
1249
- Ge = crypto.getRandomValues.bind(crypto);
1249
+ Be = crypto.getRandomValues.bind(crypto);
1250
1250
  }
1251
- return Ge(wa);
1251
+ return Be(wa);
1252
1252
  }
1253
- const Ia = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), gt = { randomUUID: Ia };
1254
- function Be(e, t, r) {
1255
- if (gt.randomUUID && !t && !e)
1256
- return gt.randomUUID();
1253
+ const Ia = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), yt = { randomUUID: Ia };
1254
+ function Je(e, t, r) {
1255
+ if (yt.randomUUID && !t && !e)
1256
+ return yt.randomUUID();
1257
1257
  e = e || {};
1258
1258
  const a = e.random || (e.rng || Ta)();
1259
1259
  return a[6] = a[6] & 15 | 64, a[8] = a[8] & 63 | 128, Ea(a);
1260
1260
  }
1261
- const oe = "Your session has expired. For your security, please log in again to continue.", ka = "Your session has been successfully terminated.", Je = "Login failed. Please try again.", Sa = "Error getting access token, please re-authenticate.", _a = "You forgot to wrap your component in <AuthProvider>.", Ce = {
1261
+ const oe = "Your session has expired. For your security, please log in again to continue.", Sa = "Your session has been successfully terminated.", Ve = "Login failed. Please try again.", _a = "Error getting access token, please re-authenticate.", ka = "You forgot to wrap your component in <AuthProvider>.", xe = {
1262
1262
  dev: "https://auth.gizmette.local.com:3003",
1263
1263
  prod: "https://mylogin.gizmette.com/auth"
1264
- }, ke = "@@auth@@", ge = "LOADING", Ae = "LOGIN", Jt = "LOGOUT", Ee = "success", V = "failure", Vt = "include", Yt = "POST", zt = "application/json", Se = {
1264
+ }, Ie = "@@auth@@", ge = "LOADING", ke = "LOGIN", Bt = "LOGOUT", be = "success", V = "failure", Jt = "include", Vt = "POST", Yt = "application/json", Se = {
1265
1265
  GET_REGISTRATION_OPTIONS: `mutation GetPasskeyRegistrationOptions(
1266
1266
  $clientId: String!,
1267
1267
  $username: String!,
@@ -1367,14 +1367,14 @@ const oe = "Your session has expired. For your security, please log in again to
1367
1367
  }) => {
1368
1368
  try {
1369
1369
  const n = `Bearer ${e}`, o = await fetch(
1370
- Ft ? `${Ce.dev}/graphql` : `${Ce.prod}/graphql`,
1370
+ zt ? `${xe.dev}/graphql` : `${xe.prod}/graphql`,
1371
1371
  {
1372
- credentials: Vt,
1373
- method: Yt,
1372
+ credentials: Jt,
1373
+ method: Vt,
1374
1374
  headers: {
1375
1375
  authorization: n,
1376
- "Content-Type": zt,
1377
- [xt.CLIENT_ID]: `${r}`
1376
+ "Content-Type": Yt,
1377
+ [Nt.CLIENT_ID]: `${r}`
1378
1378
  },
1379
1379
  body: JSON.stringify({
1380
1380
  query: t.schema,
@@ -1386,7 +1386,7 @@ const oe = "Your session has expired. For your security, please log in again to
1386
1386
  return { status: V, data: [] };
1387
1387
  const { data: s } = await o.json();
1388
1388
  return {
1389
- status: Ee,
1389
+ status: be,
1390
1390
  data: s[t.method]
1391
1391
  };
1392
1392
  } catch (n) {
@@ -1399,13 +1399,13 @@ const oe = "Your session has expired. For your security, please log in again to
1399
1399
  }) => {
1400
1400
  try {
1401
1401
  const a = await fetch(
1402
- Ft ? `${Ce.dev}/${e}` : `${Ce.prod}/${e}`,
1402
+ zt ? `${xe.dev}/${e}` : `${xe.prod}/${e}`,
1403
1403
  {
1404
- credentials: Vt,
1405
- method: Yt,
1404
+ credentials: Jt,
1405
+ method: Vt,
1406
1406
  headers: {
1407
- "Content-Type": zt,
1408
- [xt.CLIENT_ID]: `${t}`
1407
+ "Content-Type": Yt,
1408
+ [Nt.CLIENT_ID]: `${t}`
1409
1409
  },
1410
1410
  body: JSON.stringify(r)
1411
1411
  }
@@ -1414,13 +1414,13 @@ const oe = "Your session has expired. For your security, please log in again to
1414
1414
  return { status: V, data: [] };
1415
1415
  const { data: n } = await a.json();
1416
1416
  return {
1417
- status: Ee,
1417
+ status: be,
1418
1418
  data: n || []
1419
1419
  };
1420
1420
  } catch (a) {
1421
1421
  return console.error(a), { status: V, data: [] };
1422
1422
  }
1423
- }, Aa = process.env.NODE_ENV === "production", Ft = !Aa, jt = {
1423
+ }, Aa = process.env.NODE_ENV === "production", zt = !Aa, Ft = {
1424
1424
  isLoading: !0,
1425
1425
  isAuthenticated: !1,
1426
1426
  user: void 0,
@@ -1519,7 +1519,7 @@ const oe = "Your session has expired. For your security, please log in again to
1519
1519
  }
1520
1520
  });
1521
1521
  return (a = n == null ? void 0 : n.data) != null && a.code ? {
1522
- status: Ee,
1522
+ status: be,
1523
1523
  data: n.data.code
1524
1524
  } : {
1525
1525
  status: V,
@@ -1569,7 +1569,7 @@ const oe = "Your session has expired. For your security, please log in again to
1569
1569
  };
1570
1570
  class Oa {
1571
1571
  constructor(t = null, r = null) {
1572
- Ue(this, "refreshTokenPromise", null), Ue(this, "accessToken"), Ue(this, "refreshToken"), this.accessToken = t || "", this.refreshToken = r || "";
1572
+ Ke(this, "refreshTokenPromise", null), Ke(this, "accessToken"), Ke(this, "refreshToken"), this.accessToken = t || "", this.refreshToken = r || "";
1573
1573
  }
1574
1574
  async refreshtoken({
1575
1575
  clientId: t,
@@ -1606,7 +1606,7 @@ class Oa {
1606
1606
  domain: n
1607
1607
  });
1608
1608
  return s.status ? (this.accessToken = s.accessToken, this.refreshToken = s.refreshToken, {
1609
- status: Ee,
1609
+ status: be,
1610
1610
  newAccessToken: s.accessToken,
1611
1611
  newRefreshToken: s.refreshToken
1612
1612
  }) : {
@@ -1624,8 +1624,8 @@ const Pa = (e) => q(
1624
1624
  },
1625
1625
  [e]
1626
1626
  ), ce = () => {
1627
- throw new Error(_a);
1628
- }, qt = sr({
1627
+ throw new Error(ka);
1628
+ }, jt = nr({
1629
1629
  isAuthenticated: !1,
1630
1630
  isLoading: !1,
1631
1631
  login: ce,
@@ -1637,20 +1637,20 @@ const Pa = (e) => q(
1637
1637
  logoutReason: "",
1638
1638
  authenticationType: ""
1639
1639
  }), Da = z.createContext({
1640
- state: jt,
1640
+ state: Ft,
1641
1641
  dispatch: () => {
1642
1642
  }
1643
1643
  }), La = (e, t) => (t == null ? void 0 : t.type) === ge ? {
1644
1644
  ...e,
1645
1645
  isLoading: t.payload.isLoading
1646
- } : (t == null ? void 0 : t.type) === Ae ? {
1646
+ } : (t == null ? void 0 : t.type) === ke ? {
1647
1647
  ...e,
1648
1648
  isLoading: !1,
1649
1649
  isAuthenticated: !0,
1650
1650
  user: t.payload.user,
1651
1651
  authenticationType: t.payload.authenticationType,
1652
1652
  logoutReason: ""
1653
- } : (t == null ? void 0 : t.type) === Jt ? {
1653
+ } : (t == null ? void 0 : t.type) === Bt ? {
1654
1654
  ...e,
1655
1655
  isLoading: !1,
1656
1656
  isAuthenticated: !1,
@@ -1664,20 +1664,20 @@ const Pa = (e) => q(
1664
1664
  domain: a = "",
1665
1665
  debug: n = !1
1666
1666
  }) => {
1667
- const [o, s] = wt(La, {
1668
- ...jt,
1667
+ const [o, s] = Tt(La, {
1668
+ ...Ft,
1669
1669
  debug: n
1670
- }), i = Pa(n), d = $(!1), [m, p, , u] = Ie({
1671
- key: `${ke}::${r}::@@user@@`
1672
- }), [c, h, , f] = Ie({
1673
- key: `${ke}::${r}::@@access@@`
1674
- }), [E, w, , I] = Ie(
1670
+ }), i = Pa(n), d = $(!1), [m, p, , u] = Te({
1671
+ key: `${Ie}::${r}::@@user@@`
1672
+ }), [c, h, , f] = Te({
1673
+ key: `${Ie}::${r}::@@access@@`
1674
+ }), [E, w, , I] = Te(
1675
1675
  {
1676
- key: `${ke}::${r}::@@refresh@@`
1676
+ key: `${Ie}::${r}::@@refresh@@`
1677
1677
  }
1678
- ), [M, U, , K] = Ie({
1679
- key: `${ke}::${r}::@@nonce@@`
1680
- }), O = new Oa(c, E), H = q(() => {
1678
+ ), [M, U, , K] = Te({
1679
+ key: `${Ie}::${r}::@@nonce@@`
1680
+ }), N = new Oa(c, E), H = q(() => {
1681
1681
  i("removeLocalStorage: removing local storage"), u(), f(), I(), K();
1682
1682
  }, [
1683
1683
  f,
@@ -1691,7 +1691,7 @@ const Pa = (e) => q(
1691
1691
  "removeStateAndLocalStorage: removing state and local storage with reason: ",
1692
1692
  y
1693
1693
  ), s({
1694
- type: Jt,
1694
+ type: Bt,
1695
1695
  payload: {
1696
1696
  logoutReason: y || oe
1697
1697
  }
@@ -1719,7 +1719,7 @@ const Pa = (e) => q(
1719
1719
  try {
1720
1720
  const y = await ye(m);
1721
1721
  y && y.payload[A.USER_ID_KEY] !== "" ? (i("useEffect: setting the authentication state"), s({
1722
- type: Ae,
1722
+ type: ke,
1723
1723
  payload: {
1724
1724
  authenticationType: y.payload[A.AUTH_TYPE_KEY],
1725
1725
  user: {
@@ -1740,14 +1740,14 @@ const Pa = (e) => q(
1740
1740
  }, [o.isLoading, m, x, i]);
1741
1741
  const pe = async (y, T) => {
1742
1742
  s({ type: ge, payload: { isLoading: !0 } }), H();
1743
- const b = Be();
1743
+ const b = Je();
1744
1744
  U(b), i("login: Logging in with password");
1745
- const { code_verifier: te, code_challenge: or } = await ya(), at = await xa({
1745
+ const { code_verifier: te, code_challenge: ar } = await ya(), nt = await xa({
1746
1746
  nonce: b,
1747
1747
  clientId: r,
1748
- code_challenge: or
1748
+ code_challenge: ar
1749
1749
  });
1750
- if (at.status) {
1750
+ if (nt.status) {
1751
1751
  const re = await Na({
1752
1752
  username: y,
1753
1753
  password: T,
@@ -1755,13 +1755,13 @@ const Pa = (e) => q(
1755
1755
  sessionExpiration: t,
1756
1756
  nonce: b,
1757
1757
  type: ue.CODE,
1758
- code: at.data,
1758
+ code: nt.data,
1759
1759
  code_verifier: te,
1760
1760
  domain: a,
1761
1761
  ua: navigator.userAgent
1762
1762
  });
1763
1763
  return re.status ? (p(re.idToken), h(re.accessToken), w(re.refreshToken), s({
1764
- type: Ae,
1764
+ type: ke,
1765
1765
  payload: {
1766
1766
  authenticationType: ue.CODE,
1767
1767
  user: {
@@ -1770,11 +1770,11 @@ const Pa = (e) => q(
1770
1770
  email: re.email
1771
1771
  }
1772
1772
  }
1773
- }), !0) : (W(Je), !1);
1773
+ }), !0) : (W(Ve), !1);
1774
1774
  }
1775
1775
  return !1;
1776
1776
  }, Z = async (y) => {
1777
- y == null || y.preventDefault(), await x(ka);
1777
+ y == null || y.preventDefault(), await x(Sa);
1778
1778
  }, v = async () => {
1779
1779
  const { isAuthenticated: y, user: T } = o;
1780
1780
  try {
@@ -1786,7 +1786,7 @@ const Pa = (e) => q(
1786
1786
  return c;
1787
1787
  }
1788
1788
  i("getAccessToken: invalid access token, trying to refresh it");
1789
- const b = await O.refreshtoken({
1789
+ const b = await N.refreshtoken({
1790
1790
  clientId: r,
1791
1791
  userId: T.userId,
1792
1792
  nonce: M,
@@ -1802,7 +1802,7 @@ const Pa = (e) => q(
1802
1802
  } catch {
1803
1803
  return i(
1804
1804
  "getAccessToken: exception occurred, invalidating and logging out"
1805
- ), await x(Sa), "";
1805
+ ), await x(_a), "";
1806
1806
  }
1807
1807
  }, P = () => o.isAuthenticated && m ? m : "", G = async () => {
1808
1808
  const { user: y } = o;
@@ -1846,9 +1846,9 @@ const Pa = (e) => q(
1846
1846
  return !1;
1847
1847
  }, ee = async () => {
1848
1848
  s({ type: ge, payload: { isLoading: !0 } }), H();
1849
- const y = Be();
1849
+ const y = Je();
1850
1850
  U(y), i("loginWithPasskey");
1851
- const T = Be();
1851
+ const T = Je();
1852
1852
  let b = await ie({
1853
1853
  accessToken: c,
1854
1854
  clientId: r,
@@ -1874,8 +1874,8 @@ const Pa = (e) => q(
1874
1874
  sessionExpiration: t,
1875
1875
  ua: navigator.userAgent
1876
1876
  }
1877
- }), b.data.status === Ee ? (p(b.data.idToken), h(b.data.accessToken), w(b.data.refreshToken), s({
1878
- type: Ae,
1877
+ }), b.data.status === be ? (p(b.data.idToken), h(b.data.accessToken), w(b.data.refreshToken), s({
1878
+ type: ke,
1879
1879
  payload: {
1880
1880
  authenticationType: ue.PASSKEY,
1881
1881
  user: {
@@ -1884,7 +1884,7 @@ const Pa = (e) => q(
1884
1884
  email: b.data.email
1885
1885
  }
1886
1886
  }
1887
- }), !0) : (W(Je), !1);
1887
+ }), !0) : (W(Ve), !1);
1888
1888
  } catch {
1889
1889
  return await ie({
1890
1890
  accessToken: c,
@@ -1898,12 +1898,12 @@ const Pa = (e) => q(
1898
1898
  domain: a,
1899
1899
  sessionExpiration: t
1900
1900
  }
1901
- }), W(Je), !1;
1901
+ }), W(Ve), !1;
1902
1902
  }
1903
1903
  return !1;
1904
1904
  };
1905
1905
  return /* @__PURE__ */ l(Da.Provider, { value: { state: o, dispatch: s }, children: /* @__PURE__ */ l(
1906
- qt.Provider,
1906
+ jt.Provider,
1907
1907
  {
1908
1908
  value: {
1909
1909
  ...o,
@@ -1917,7 +1917,7 @@ const Pa = (e) => q(
1917
1917
  children: e
1918
1918
  }
1919
1919
  ) });
1920
- }, Ze = (e = qt) => Tt(e), ao = "user", no = "assistant", oo = "system", so = "internal", io = "hidden", co = "I'm having trouble right now. Please try again later.", lo = "OpenAI", uo = "OpenAI", ho = "Anthropic", mo = 128e3, po = "action-message", go = "action-reset", yo = "action-model", fo = "action-restore", bo = "action-streaming", Eo = "action-engine", wo = "action-search", To = "action-sort", Io = "action-toggle-tag", ko = "action-reset-tags", So = "action-set-tags", _o = "sassy-saint-", Ao = "details", vo = "search", Ro = "sort", No = "engine-toggle", xo = "==stats==", Ma = "b44c68f0-e5b3-4a1d-a3e3-df8632b0223b", yt = (e) => Number.isFinite(e) ? e : 0;
1920
+ }, qt = (e = jt) => It(e), io = "user", co = "assistant", lo = "system", uo = "internal", ho = "hidden", mo = "I'm having trouble right now. Please try again later.", po = "OpenAI", go = "OpenAI", yo = "Anthropic", fo = 128e3, bo = "action-message", Eo = "action-reset", wo = "action-model", To = "action-restore", Io = "action-streaming", So = "action-engine", _o = "action-search", ko = "action-sort", Ao = "action-toggle-tag", vo = "action-reset-tags", Ro = "action-set-tags", No = "sassy-saint-", xo = "details", Co = "search", Oo = "sort", Po = "engine-toggle", Do = "==stats==", Ma = "b44c68f0-e5b3-4a1d-a3e3-df8632b0223b", ft = (e) => Number.isFinite(e) ? e : 0;
1921
1921
  function Ua(e) {
1922
1922
  return {
1923
1923
  days: Math.trunc(e / 864e5),
@@ -1925,8 +1925,8 @@ function Ua(e) {
1925
1925
  minutes: Math.trunc(e / 6e4 % 60),
1926
1926
  seconds: Math.trunc(e / 1e3 % 60),
1927
1927
  milliseconds: Math.trunc(e % 1e3),
1928
- microseconds: Math.trunc(yt(e * 1e3) % 1e3),
1929
- nanoseconds: Math.trunc(yt(e * 1e6) % 1e3)
1928
+ microseconds: Math.trunc(ft(e * 1e3) % 1e3),
1929
+ nanoseconds: Math.trunc(ft(e * 1e6) % 1e3)
1930
1930
  };
1931
1931
  }
1932
1932
  function Ka(e) {
@@ -1997,7 +1997,7 @@ function Va(e, t) {
1997
1997
  const m = t.colonNotation ? ":" : " ";
1998
1998
  return typeof t.unitCount == "number" && (n = n.slice(0, Math.max(t.unitCount, 1))), a + n.join(m);
1999
1999
  }
2000
- const Ya = process.env.NODE_ENV === "production", Xt = !Ya, za = Xt ? "gizmette.local.com" : "gizmette.com", Co = async () => {
2000
+ const Ya = process.env.NODE_ENV === "production", za = !Ya, Fa = za ? "gizmette.local.com" : "gizmette.com", Lo = async () => {
2001
2001
  const e = {
2002
2002
  /**
2003
2003
  * A boolean value that indicates the application would
@@ -2046,11 +2046,11 @@ const Ya = process.env.NODE_ENV === "production", Xt = !Ya, za = Xt ? "gizmette.
2046
2046
  e
2047
2047
  );
2048
2048
  });
2049
- }, Oo = (e, t) => t ? Object.keys(t).map((r) => /* @__PURE__ */ l("dl", { className: "my-0", children: /* @__PURE__ */ N("div", { className: "flex items-center justify-between", children: [
2049
+ }, $o = (e, t) => t ? Object.keys(t).map((r) => /* @__PURE__ */ l("dl", { className: "my-0", children: /* @__PURE__ */ C("div", { className: "flex items-center justify-between", children: [
2050
2050
  /* @__PURE__ */ l("dt", { className: "my-1 inline-block font-bold text-copy-dark dark:text-copy-lighter", children: r }),
2051
2051
  /* @__PURE__ */ l("dd", { className: "my-1 inline-block", children: t[r] })
2052
2052
  ] }) }, `${e}-${r}`)) : null;
2053
- function Po({
2053
+ function Mo({
2054
2054
  data: e,
2055
2055
  formatter: t = (r) => r
2056
2056
  }) {
@@ -2062,114 +2062,157 @@ function Po({
2062
2062
  );
2063
2063
  return t(a ? a / r.length : 0);
2064
2064
  }
2065
- const Do = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length - 1].message.role === e, Lo = new Intl.NumberFormat("en", {
2065
+ const Uo = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length - 1].message.role === e, Ko = new Intl.NumberFormat("en", {
2066
2066
  style: "decimal",
2067
2067
  signDisplay: "never",
2068
2068
  minimumFractionDigits: 0,
2069
2069
  maximumFractionDigits: 0
2070
- }), $o = (e) => e > 0 ? Va(e, {
2070
+ }), Ho = (e) => e > 0 ? Va(e, {
2071
2071
  secondsDecimalDigits: 2,
2072
2072
  unitCount: 2
2073
- }) : "N/A", Fa = (e) => g(
2074
- "flex-1 overflow-y-auto rounded-md bg-slate-900 px-4 pb-10 text-base leading-6 text-slate-300 shadow-sm sm:text-base sm:leading-7",
2075
- e || Xt ? "pt-0" : "pt-10"
2076
- ), Mo = (e, t) => t === 1 ? e : `${e}s`, Uo = (e, t) => {
2073
+ }) : "N/A", ja = ({
2074
+ isAuthenticated: e,
2075
+ extraClass: t
2076
+ }) => g(
2077
+ "flex-1 overflow-y-auto bg-slate-900 px-4 pb-10 text-base leading-6 text-slate-300 shadow-sm sm:text-base sm:leading-7",
2078
+ e ? "pt-0" : "pt-10",
2079
+ t
2080
+ ), qa = ({
2081
+ extraClass: e
2082
+ }) => g("px-2 sm:px-0", e), Wo = (e, t) => t === 1 ? e : `${e}s`, Go = (e, t) => {
2077
2083
  let r;
2078
2084
  return (...a) => {
2079
2085
  window.clearTimeout(r), r = window.setTimeout(() => e(...a), t);
2080
2086
  };
2081
- }, ft = "av-button", et = "icon", Qt = "button", ja = "link", qa = ({
2087
+ }, bt = "av-button", $e = "icon", tt = "button", qe = "link", Xa = ({
2082
2088
  type: e,
2083
2089
  size: t,
2084
2090
  labelRight: r,
2085
2091
  labelLeft: a,
2086
2092
  align: n
2087
2093
  }) => {
2088
- const o = "text-sm font-medium max-h-8 py-0 px-2", s = "text-base font-medium max-h-9 py-1 px-3", i = "text-lg font-medium max-h-12 py-2 px-4";
2094
+ const o = "max-h-8 py-0 px-2", s = "max-h-9 py-1 px-3", i = "max-h-12 py-2 px-4";
2089
2095
  switch (e) {
2090
- case Qt:
2096
+ case tt:
2097
+ case qe:
2091
2098
  return g({
2092
2099
  [o]: t === "small",
2093
2100
  [s]: t === "medium",
2094
2101
  [i]: t === "large"
2095
2102
  });
2096
- case ja:
2097
- return g("text-center", {
2098
- [o]: t === "small",
2099
- [s]: t === "medium",
2100
- [i]: t === "large"
2101
- });
2102
- case et:
2103
+ case $e:
2103
2104
  return g("inline-flex items-center", {
2104
2105
  "justify-center": n === "center",
2105
2106
  "justify-start": n === "left",
2106
2107
  "justify-end": n === "right",
2107
2108
  "h-6 w-6 p-0": t === "small" && !(r || a),
2108
- "h-6 px-2 text-sm font-medium": t === "small" && (r || a),
2109
+ "h-6 px-2": t === "small" && (r || a),
2109
2110
  "h-8 w-8 p-1": t === "medium" && !(r || a),
2110
- "h-8 px-3 text-base font-medium": t === "medium" && (r || a),
2111
+ "h-8 px-3": t === "medium" && (r || a),
2111
2112
  "h-12 w-12 p-2": t === "large" && !(r || a),
2112
- "h-12 px-4 text-lg font-medium": t === "large" && (r || a)
2113
+ "h-12 px-4": t === "large" && (r || a)
2113
2114
  });
2114
2115
  }
2115
- }, Xa = ({
2116
+ }, Qa = ({
2117
+ type: e,
2118
+ size: t,
2119
+ labelRight: r,
2120
+ labelLeft: a
2121
+ }) => {
2122
+ const n = "text-sm font-medium", o = "text-base font-medium", s = "text-lg font-medium";
2123
+ switch (e) {
2124
+ case tt:
2125
+ case qe:
2126
+ return g({
2127
+ "text-center": e === qe,
2128
+ [n]: t === "small",
2129
+ [o]: t === "medium",
2130
+ [s]: t === "large"
2131
+ });
2132
+ case $e:
2133
+ return g({
2134
+ [n]: t === "small" && (r || a),
2135
+ [o]: t === "medium" && (r || a),
2136
+ [s]: t === "large" && (r || a)
2137
+ });
2138
+ }
2139
+ }, Za = ({
2116
2140
  mode: e,
2117
2141
  noBackground: t,
2118
2142
  noTruncate: r,
2119
- variant: a,
2120
- radius: n
2143
+ variant: a
2121
2144
  }) => {
2122
2145
  if (t)
2123
- return g("not-prose", {
2124
- "rounded-full": n === "large",
2125
- "rounded-md": n === "medium",
2126
- "rounded-sm": n === "small"
2127
- });
2146
+ return "not-prose";
2128
2147
  if (a === "primary")
2129
2148
  return g("not-prose", {
2130
- "rounded-full": n === "large",
2131
- "rounded-md": n === "medium",
2132
- "rounded-sm": n === "small",
2133
2149
  truncate: !r,
2134
- "bg-action-dark text-copy-light": e === "dark",
2135
- "bg-action-light text-copy-lighter": e === "light",
2136
- "bg-action-dark text-copy-light dark:bg-action-light dark:text-copy-lighter": e === "system",
2137
- "bg-action-light text-copy-lighter dark:bg-action-dark dark:text-copy-light": e === "alt-system"
2150
+ "text-copy-light": e === "dark",
2151
+ "text-copy-lighter": e === "light",
2152
+ "text-copy-light dark:text-copy-lighter": e === "system",
2153
+ "text-copy-lighter dark:text-copy-light": e === "alt-system"
2138
2154
  });
2139
2155
  if (a === "secondary")
2140
2156
  return g("not-prose", {
2141
- "rounded-full": n === "large",
2142
- "rounded-md": n === "medium",
2143
- "rounded-sm": n === "small",
2144
2157
  truncate: !r,
2145
- "bg-action-dark text-copy-light": e === "light",
2146
- "bg-action-light text-copy-lighter": e === "dark",
2147
- "bg-action-dark text-copy-light dark:bg-action-light dark:text-copy-lighter": e === "alt-system",
2148
- "bg-action-light text-copy-lighter dark:bg-action-dark dark:text-copy-light": e === "system"
2158
+ "text-copy-light": e === "light",
2159
+ "text-copy-lighter": e === "dark",
2160
+ "text-copy-light dark:text-copy-lighter": e === "alt-system",
2161
+ "text-copy-lighter dark:text-copy-light": e === "system"
2149
2162
  });
2150
2163
  if (a === "danger")
2151
2164
  return g("not-prose", {
2152
- "rounded-full": n === "large",
2153
- "rounded-md": n === "medium",
2154
- "rounded-sm": n === "small",
2155
2165
  truncate: !r,
2156
- "bg-action-danger-dark text-copy-light": e === "dark",
2157
- "bg-action-danger-light text-copy-lighter": e === "light",
2158
- "bg-action-danger-dark text-copy-light dark:bg-action-danger-light dark:text-copy-lighter": e === "system",
2159
- "bg-action-danger-light text-copy-lighter dark:bg-action-danger-dark dark:text-copy-light": e === "alt-system"
2166
+ "text-copy-light": e === "dark",
2167
+ "text-copy-lighter": e === "light",
2168
+ "text-copy-light dark:text-copy-lighter": e === "system",
2169
+ "text-copy-lighter dark:text-copy-light": e === "alt-system"
2160
2170
  });
2161
2171
  if (a === "selected")
2162
2172
  return g("not-prose", {
2163
- "rounded-full": n === "large",
2164
- "rounded-md": n === "medium",
2165
- "rounded-sm": n === "small",
2166
2173
  truncate: !r,
2167
- "bg-action-selected-dark text-copy-light": e === "dark",
2168
- "bg-action-selected-light text-copy-lighter": e === "light",
2169
- "bg-action-selected-dark text-copy-light dark:bg-action-selected-light dark:text-copy-lighter": e === "system",
2170
- "bg-action-selected-light text-copy-lighter dark:bg-action-selected-dark dark:text-copy-light": e === "alt-system"
2174
+ "text-copy-light": e === "dark",
2175
+ "text-copy-lighter": e === "light",
2176
+ "text-copy-light dark:text-copy-lighter": e === "system",
2177
+ "text-copy-lighter dark:text-copy-light": e === "alt-system"
2171
2178
  });
2172
- }, Qa = ({
2179
+ }, en = ({
2180
+ mode: e,
2181
+ noBackground: t,
2182
+ variant: r
2183
+ }) => {
2184
+ if (!t) {
2185
+ if (r === "primary")
2186
+ return g({
2187
+ "bg-action-dark": e === "dark",
2188
+ "bg-action-light": e === "light",
2189
+ "bg-action-dark dark:bg-action-light": e === "system",
2190
+ "bg-action-light dark:bg-action-dark": e === "alt-system"
2191
+ });
2192
+ if (r === "secondary")
2193
+ return g({
2194
+ "bg-action-dark": e === "light",
2195
+ "bg-action-light": e === "dark",
2196
+ "bg-action-dark dark:bg-action-light": e === "alt-system",
2197
+ "bg-action-light dark:bg-action-dark": e === "system"
2198
+ });
2199
+ if (r === "danger")
2200
+ return g({
2201
+ "bg-action-danger-dark": e === "dark",
2202
+ "bg-action-danger-light": e === "light",
2203
+ "bg-action-danger-dark dark:bg-action-danger-light": e === "system",
2204
+ "bg-action-danger-light dark:bg-action-danger-dark": e === "alt-system"
2205
+ });
2206
+ if (r === "selected")
2207
+ return "bg-action-selected-dark";
2208
+ }
2209
+ }, tn = ({
2210
+ radius: e
2211
+ }) => g({
2212
+ "rounded-full": e === "large",
2213
+ "rounded-md": e === "medium",
2214
+ "rounded-sm": e === "small"
2215
+ }), rn = ({
2173
2216
  mode: e,
2174
2217
  disabled: t,
2175
2218
  variant: r
@@ -2198,13 +2241,8 @@ const Do = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
2198
2241
  "hover:bg-action-danger-light-hover dark:hover:bg-action-danger-dark-hover": e === "alt-system"
2199
2242
  });
2200
2243
  if (r === "selected")
2201
- return g("hover:text-copy-light-hover", {
2202
- "hover:bg-action-selected-dark-hover": e === "dark",
2203
- "hover:bg-action-selected-light-hover": e === "light",
2204
- "hover:bg-action-selected-dark-hover dark:hover:bg-action-selected-light-hover": e === "system",
2205
- "hover:bg-action-selected-light-hover dark:hover:bg-action-selected-dark-hover": e === "alt-system"
2206
- });
2207
- }, Za = ({
2244
+ return "hover:text-copy-light-hover hover:bg-action-selected-dark-hover";
2245
+ }, an = ({
2208
2246
  mode: e,
2209
2247
  disabled: t,
2210
2248
  variant: r
@@ -2233,13 +2271,8 @@ const Do = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
2233
2271
  "active:bg-action-danger-light-active dark:active:bg-action-danger-dark-active": e === "alt-system"
2234
2272
  });
2235
2273
  if (r === "selected")
2236
- return g("active:text-copy-lighter-active", {
2237
- "active:bg-action-selected-dark-active": e === "dark",
2238
- "active:bg-action-selected-light-active": e === "light",
2239
- "active:bg-action-selected-dark-active dark:active:bg-action-selected-light-active": e === "system",
2240
- "active:bg-action-selected-light-active dark:active:bg-action-selected-dark-active": e === "alt-system"
2241
- });
2242
- }, en = ({
2274
+ return "active:text-copy-lighter-active active:bg-action-selected-dark-active";
2275
+ }, nn = ({
2243
2276
  mode: e,
2244
2277
  noBorder: t,
2245
2278
  variant: r
@@ -2268,20 +2301,15 @@ const Do = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
2268
2301
  "border-border-danger-medium dark:border-border-danger-dark": e === "alt-system"
2269
2302
  });
2270
2303
  if (r === "selected")
2271
- return g("border", {
2272
- "border-border-selected-dark": e === "dark",
2273
- "border-border-selected-medium": e === "light",
2274
- "border-border-selected-dark dark:border-border-selected-medium": e === "system",
2275
- "border-border-selected-medium dark:border-border-selected-dark": e === "alt-system"
2276
- });
2277
- }, tn = ({
2304
+ return "border border-border-selected-dark";
2305
+ }, on = ({
2278
2306
  focusMode: e
2279
2307
  }) => g("focus:outline", "focus:outline-2", "focus:outline-offset-2", {
2280
2308
  "focus:outline-focus-dark": e === "dark",
2281
2309
  "focus:outline-focus-light": e === "light",
2282
2310
  "focus:outline-focus-light dark:focus:outline-focus-dark": e === "alt-system",
2283
2311
  "focus:outline-focus-dark dark:focus:outline-focus-light": e === "system"
2284
- }), tt = ({
2312
+ }), rt = ({
2285
2313
  type: e,
2286
2314
  className: t,
2287
2315
  raw: r,
@@ -2298,49 +2326,51 @@ const Do = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
2298
2326
  noTruncate: h,
2299
2327
  align: f,
2300
2328
  radius: E
2301
- }) => (c || (c = "primary"), r ? g(ft, t) : g(
2302
- ft,
2303
- Xa({
2329
+ }) => (c || (c = "primary"), r ? g(bt, t) : g(
2330
+ bt,
2331
+ Za({
2304
2332
  mode: a,
2305
2333
  variant: c,
2306
2334
  noBackground: u,
2307
- noTruncate: h,
2308
- radius: E
2335
+ noTruncate: h
2309
2336
  }),
2310
- qa({
2337
+ en({ mode: a, noBackground: u, variant: c }),
2338
+ tn({ radius: E }),
2339
+ Xa({
2311
2340
  type: e,
2312
2341
  size: i,
2313
2342
  labelRight: m,
2314
2343
  labelLeft: p,
2315
2344
  align: f
2316
2345
  }),
2317
- en({ mode: a, variant: c, noBorder: d }),
2318
- tn({ focusMode: n }),
2319
- Qa({ mode: a, variant: c, disabled: o }),
2320
- Za({ mode: a, variant: c, disabled: o }),
2346
+ Qa({ type: e, size: i, labelRight: m, labelLeft: p }),
2347
+ nn({ mode: a, variant: c, noBorder: d }),
2348
+ on({ focusMode: n }),
2349
+ rn({ mode: a, variant: c, disabled: o }),
2350
+ an({ mode: a, variant: c, disabled: o }),
2321
2351
  {
2322
2352
  "w-full": s,
2323
2353
  "disabled:cursor-not-allowed disabled:opacity-50": o
2324
2354
  },
2325
2355
  t
2326
- )), rn = (e, t, r) => {
2356
+ )), sn = (e, t, r) => {
2327
2357
  var a;
2328
2358
  !t && (!document.activeElement || document.activeElement !== e.currentTarget) && typeof ((a = e == null ? void 0 : e.currentTarget) == null ? void 0 : a.focus) == "function" && e.currentTarget.focus(), typeof r == "function" && r(e);
2329
- }, $e = z.forwardRef((e, t) => {
2359
+ }, Me = z.forwardRef((e, t) => {
2330
2360
  const { onClick: r, noInternalClick: a = !1, ...n } = e;
2331
2361
  return /* @__PURE__ */ l(
2332
2362
  "button",
2333
2363
  {
2334
2364
  ref: t,
2335
2365
  onClick: (o) => {
2336
- rn(o, a, r);
2366
+ sn(o, a, r);
2337
2367
  },
2338
2368
  ...n
2339
2369
  }
2340
2370
  );
2341
2371
  });
2342
- $e.displayName = "BaseButton";
2343
- const Zt = z.forwardRef(
2372
+ Me.displayName = "BaseButton";
2373
+ const Xt = z.forwardRef(
2344
2374
  ({
2345
2375
  children: e,
2346
2376
  disabled: t = !1,
@@ -2356,8 +2386,8 @@ const Zt = z.forwardRef(
2356
2386
  radius: u = "large",
2357
2387
  ...c
2358
2388
  }, h) => {
2359
- const f = tt({
2360
- type: Qt,
2389
+ const f = rt({
2390
+ type: tt,
2361
2391
  mode: r,
2362
2392
  focusMode: a,
2363
2393
  fullWidth: n,
@@ -2371,7 +2401,7 @@ const Zt = z.forwardRef(
2371
2401
  radius: u
2372
2402
  });
2373
2403
  return /* @__PURE__ */ l(
2374
- $e,
2404
+ Me,
2375
2405
  {
2376
2406
  ref: h,
2377
2407
  className: f,
@@ -2382,8 +2412,8 @@ const Zt = z.forwardRef(
2382
2412
  );
2383
2413
  }
2384
2414
  );
2385
- Zt.displayName = "Button";
2386
- const je = z.forwardRef(
2415
+ Xt.displayName = "Button";
2416
+ const Xe = z.forwardRef(
2387
2417
  ({
2388
2418
  children: e,
2389
2419
  disabled: t = !1,
@@ -2402,10 +2432,11 @@ const je = z.forwardRef(
2402
2432
  noBackground: f = !1,
2403
2433
  align: E = "center",
2404
2434
  radius: w = "large",
2405
- ...I
2406
- }, M) => {
2407
- const U = tt({
2408
- type: et,
2435
+ variant: I = "primary",
2436
+ ...M
2437
+ }, U) => {
2438
+ const K = rt({
2439
+ type: $e,
2409
2440
  mode: r,
2410
2441
  focusMode: a,
2411
2442
  fullWidth: n,
@@ -2418,46 +2449,47 @@ const je = z.forwardRef(
2418
2449
  labelLeft: h,
2419
2450
  noBackground: f,
2420
2451
  align: E,
2421
- radius: w
2422
- }), K = g({
2452
+ radius: w,
2453
+ variant: I
2454
+ }), N = g({
2423
2455
  "text-copy-accent-dark": r === "light" && !i,
2424
2456
  "text-copy-light": r === "dark" && !i,
2425
2457
  "text-copy-accent-dark dark:text-copy-light": r === "alt-system" && !i,
2426
2458
  "text-copy-light dark:text-copy-accent-dark": r === "system" && !i
2427
2459
  });
2428
- return /* @__PURE__ */ N(
2429
- $e,
2460
+ return /* @__PURE__ */ C(
2461
+ Me,
2430
2462
  {
2431
- ref: M,
2432
- className: U,
2463
+ ref: U,
2464
+ className: K,
2433
2465
  disabled: t,
2434
2466
  type: s,
2435
2467
  "aria-label": m || p,
2436
- ...I,
2468
+ ...M,
2437
2469
  children: [
2438
2470
  h && /* @__PURE__ */ l("span", { className: "pr-2", children: h }),
2439
- /* @__PURE__ */ l("div", { className: K, children: e }),
2471
+ /* @__PURE__ */ l("div", { className: N, children: e }),
2440
2472
  c && /* @__PURE__ */ l("span", { className: "pl-2", children: c })
2441
2473
  ]
2442
2474
  }
2443
2475
  );
2444
2476
  }
2445
2477
  );
2446
- je.displayName = "ButtonIcon";
2478
+ Xe.displayName = "ButtonIcon";
2447
2479
  /*!
2448
- @versini/ui-button v3.2.1
2480
+ @versini/ui-button v3.2.2
2449
2481
  © 2025 gizmette.com
2450
2482
  */
2451
2483
  try {
2452
2484
  window.__VERSINI_UI_BUTTON__ || (window.__VERSINI_UI_BUTTON__ = {
2453
- version: "3.2.1",
2454
- buildTime: "01/01/2025 07:31 PM EST",
2485
+ version: "3.2.2",
2486
+ buildTime: "01/02/2025 05:13 PM EST",
2455
2487
  homepage: "https://github.com/aversini/ui-components",
2456
2488
  license: "MIT"
2457
2489
  });
2458
2490
  } catch {
2459
2491
  }
2460
- const an = z.forwardRef(
2492
+ const cn = z.forwardRef(
2461
2493
  ({
2462
2494
  children: e,
2463
2495
  disabled: t = !1,
@@ -2479,8 +2511,8 @@ const an = z.forwardRef(
2479
2511
  radius: I = "large",
2480
2512
  ...M
2481
2513
  }, U) => {
2482
- const K = tt({
2483
- type: et,
2514
+ const K = rt({
2515
+ type: $e,
2484
2516
  mode: r,
2485
2517
  focusMode: a,
2486
2518
  fullWidth: n,
@@ -2494,7 +2526,7 @@ const an = z.forwardRef(
2494
2526
  noBackground: f,
2495
2527
  align: E,
2496
2528
  radius: I
2497
- }), O = g({
2529
+ }), N = g({
2498
2530
  "text-copy-accent-dark": r === "light" && !i,
2499
2531
  "text-copy-light": r === "dark" && !i,
2500
2532
  "text-copy-accent-dark dark:text-copy-light": r === "alt-system" && !i,
@@ -2516,8 +2548,8 @@ const an = z.forwardRef(
2516
2548
  "after:border-table-light dark:after:border-table-dark": r === "alt-system"
2517
2549
  }
2518
2550
  ) : "";
2519
- return /* @__PURE__ */ l("div", { className: H, children: /* @__PURE__ */ N(
2520
- $e,
2551
+ return /* @__PURE__ */ l("div", { className: H, children: /* @__PURE__ */ C(
2552
+ Me,
2521
2553
  {
2522
2554
  ref: U,
2523
2555
  className: K,
@@ -2527,33 +2559,33 @@ const an = z.forwardRef(
2527
2559
  ...M,
2528
2560
  children: [
2529
2561
  h && /* @__PURE__ */ l("span", { className: "pr-2", children: h }),
2530
- /* @__PURE__ */ l("div", { className: O, children: e }),
2562
+ /* @__PURE__ */ l("div", { className: N, children: e }),
2531
2563
  c && /* @__PURE__ */ l("span", { className: "pl-2", children: c })
2532
2564
  ]
2533
2565
  }
2534
2566
  ) });
2535
2567
  }
2536
2568
  );
2537
- an.displayName = "ButtonSort";
2569
+ cn.displayName = "ButtonSort";
2538
2570
  /*!
2539
- @versini/ui-card v2.0.5
2540
- © 2024 gizmette.com
2571
+ @versini/ui-card v2.0.6
2572
+ © 2025 gizmette.com
2541
2573
  */
2542
2574
  try {
2543
2575
  window.__VERSINI_UI_CARD__ || (window.__VERSINI_UI_CARD__ = {
2544
- version: "2.0.5",
2545
- buildTime: "12/30/2024 07:48 PM EST",
2576
+ version: "2.0.6",
2577
+ buildTime: "01/02/2025 05:13 PM EST",
2546
2578
  homepage: "https://github.com/aversini/ui-components",
2547
2579
  license: "MIT"
2548
2580
  });
2549
2581
  } catch {
2550
2582
  }
2551
- const ve = "av-card";
2552
- function nn(e) {
2553
- const t = It();
2583
+ const Ae = "av-card";
2584
+ function ln(e) {
2585
+ const t = St();
2554
2586
  return `${e}${t}`;
2555
2587
  }
2556
- const on = ({
2588
+ const dn = ({
2557
2589
  className: e,
2558
2590
  headerClassName: t,
2559
2591
  bodyClassName: r,
@@ -2563,7 +2595,7 @@ const on = ({
2563
2595
  noBorder: s
2564
2596
  }) => {
2565
2597
  const i = g(
2566
- ve,
2598
+ Ae,
2567
2599
  "rounded-md",
2568
2600
  {
2569
2601
  "border-none": s,
@@ -2577,7 +2609,7 @@ const on = ({
2577
2609
  "border-border-accent bg-surface-dark text-copy-light dark:border-border-dark dark:bg-surface-lighter dark:text-copy-dark": n === "alt-system"
2578
2610
  },
2579
2611
  e
2580
- ), d = t || g(`${ve}__header mt-0 border-b-2`, {
2612
+ ), d = t || g(`${Ae}__header mt-0 border-b-2`, {
2581
2613
  "text-copy-light border-border-accent": n === "darker",
2582
2614
  "border-border-accent": n === "dark",
2583
2615
  "border-border-medium": n === "light",
@@ -2585,7 +2617,7 @@ const on = ({
2585
2617
  "border-border-accent dark:border-border-medium": n === "alt-system",
2586
2618
  "mb-4": !o,
2587
2619
  "mb-2": o
2588
- }), m = g(r), p = a || g(`${ve}__footer pt-2`);
2620
+ }), m = g(r), p = a || g(`${Ae}__footer pt-2`);
2589
2621
  return {
2590
2622
  wrapper: i,
2591
2623
  header: d,
@@ -2593,7 +2625,7 @@ const on = ({
2593
2625
  footer: p
2594
2626
  };
2595
2627
  };
2596
- function sn({
2628
+ function un({
2597
2629
  id: e,
2598
2630
  content: t,
2599
2631
  userAriaLabelledby: r,
@@ -2601,7 +2633,7 @@ function sn({
2601
2633
  }) {
2602
2634
  return typeof t == "string" ? /* @__PURE__ */ l("h2", { id: e, className: a, children: t }) : r ? /* @__PURE__ */ l("div", { className: a, children: t }) : t ? /* @__PURE__ */ l("div", { className: a, id: e, children: t }) : null;
2603
2635
  }
2604
- const cn = ({
2636
+ const hn = ({
2605
2637
  header: e,
2606
2638
  headerClassName: t,
2607
2639
  footer: r,
@@ -2616,7 +2648,7 @@ const cn = ({
2616
2648
  ...u
2617
2649
  }) => {
2618
2650
  let c = null, h = null;
2619
- const f = typeof e == "string", E = nn(ve), w = on({
2651
+ const f = typeof e == "string", E = ln(Ae), w = dn({
2620
2652
  className: o,
2621
2653
  headerClassName: t,
2622
2654
  bodyClassName: s,
@@ -2625,7 +2657,7 @@ const cn = ({
2625
2657
  compact: m,
2626
2658
  noBorder: p
2627
2659
  });
2628
- return f ? (c = E, h = c) : !f && e && i ? (c = null, h = i) : !f && e && !i ? (c = E, h = c) : (c = null, h = i || null), /* @__PURE__ */ l("div", { className: w.wrapper, children: /* @__PURE__ */ N(
2660
+ return f ? (c = E, h = c) : !f && e && i ? (c = null, h = i) : !f && e && !i ? (c = E, h = c) : (c = null, h = i || null), /* @__PURE__ */ l("div", { className: w.wrapper, children: /* @__PURE__ */ C(
2629
2661
  "section",
2630
2662
  {
2631
2663
  ...h && {
@@ -2635,7 +2667,7 @@ const cn = ({
2635
2667
  ...u,
2636
2668
  children: [
2637
2669
  /* @__PURE__ */ l(
2638
- sn,
2670
+ un,
2639
2671
  {
2640
2672
  ...c && { id: c },
2641
2673
  content: e,
@@ -2648,7 +2680,7 @@ const cn = ({
2648
2680
  ]
2649
2681
  }
2650
2682
  ) });
2651
- }, Me = ({
2683
+ }, Ue = ({
2652
2684
  children: e,
2653
2685
  fill: t,
2654
2686
  viewBox: r,
@@ -2660,7 +2692,7 @@ const cn = ({
2660
2692
  ...d
2661
2693
  }) => {
2662
2694
  const m = g(o, a);
2663
- return /* @__PURE__ */ N(fe, { children: [
2695
+ return /* @__PURE__ */ C(Oe, { children: [
2664
2696
  /* @__PURE__ */ l(
2665
2697
  "svg",
2666
2698
  {
@@ -2679,20 +2711,20 @@ const cn = ({
2679
2711
  ] });
2680
2712
  };
2681
2713
  /*!
2682
- @versini/ui-svgicon v3.0.2
2714
+ @versini/ui-svgicon v3.0.3
2683
2715
  © 2025 gizmette.com
2684
2716
  */
2685
2717
  try {
2686
2718
  window.__VERSINI_UI_SVGICON__ || (window.__VERSINI_UI_SVGICON__ = {
2687
- version: "3.0.2",
2688
- buildTime: "01/01/2025 07:31 PM EST",
2719
+ version: "3.0.3",
2720
+ buildTime: "01/02/2025 05:13 PM EST",
2689
2721
  homepage: "https://github.com/aversini/ui-components",
2690
2722
  license: "MIT"
2691
2723
  });
2692
2724
  } catch {
2693
2725
  }
2694
- const ln = ({ className: e, viewBox: t, ...r }) => /* @__PURE__ */ l(
2695
- Me,
2726
+ const mn = ({ className: e, viewBox: t, ...r }) => /* @__PURE__ */ l(
2727
+ Ue,
2696
2728
  {
2697
2729
  defaultViewBox: "0 0 1200 500",
2698
2730
  viewBox: t,
@@ -2709,14 +2741,14 @@ const ln = ({ className: e, viewBox: t, ...r }) => /* @__PURE__ */ l(
2709
2741
  }
2710
2742
  ) })
2711
2743
  }
2712
- ), dn = ({
2744
+ ), pn = ({
2713
2745
  className: e,
2714
2746
  viewBox: t,
2715
2747
  title: r,
2716
2748
  monotone: a,
2717
2749
  ...n
2718
- }) => /* @__PURE__ */ N(
2719
- Me,
2750
+ }) => /* @__PURE__ */ C(
2751
+ Ue,
2720
2752
  {
2721
2753
  defaultViewBox: "0 0 640 512",
2722
2754
  size: "size-5",
@@ -2735,7 +2767,7 @@ const ln = ({ className: e, viewBox: t, ...r }) => /* @__PURE__ */ l(
2735
2767
  /* @__PURE__ */ l("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.1L9.2 42.9C-1.2 34.7-3.1 19.6 5.1 9.2z" })
2736
2768
  ]
2737
2769
  }
2738
- ), un = ({
2770
+ ), gn = ({
2739
2771
  className: e,
2740
2772
  viewBox: t,
2741
2773
  title: r,
@@ -2743,8 +2775,8 @@ const ln = ({ className: e, viewBox: t, ...r }) => /* @__PURE__ */ l(
2743
2775
  ...n
2744
2776
  }) => {
2745
2777
  const o = a ? "1" : "0.4";
2746
- return /* @__PURE__ */ N(
2747
- Me,
2778
+ return /* @__PURE__ */ C(
2779
+ Ue,
2748
2780
  {
2749
2781
  defaultViewBox: "0 0 190 190",
2750
2782
  size: "size-5",
@@ -2772,14 +2804,14 @@ const ln = ({ className: e, viewBox: t, ...r }) => /* @__PURE__ */ l(
2772
2804
  ]
2773
2805
  }
2774
2806
  );
2775
- }, hn = ({
2807
+ }, yn = ({
2776
2808
  className: e,
2777
2809
  viewBox: t,
2778
2810
  title: r,
2779
2811
  monotone: a,
2780
2812
  ...n
2781
- }) => /* @__PURE__ */ N(
2782
- Me,
2813
+ }) => /* @__PURE__ */ C(
2814
+ Ue,
2783
2815
  {
2784
2816
  defaultViewBox: "0 0 576 512",
2785
2817
  size: "size-5",
@@ -2800,44 +2832,52 @@ const ln = ({ className: e, viewBox: t, ...r }) => /* @__PURE__ */ l(
2800
2832
  }
2801
2833
  );
2802
2834
  /*!
2803
- @versini/ui-icons v3.1.0
2835
+ @versini/ui-icons v3.1.1
2804
2836
  © 2025 gizmette.com
2805
2837
  */
2806
2838
  try {
2807
2839
  window.__VERSINI_UI_ICONS__ || (window.__VERSINI_UI_ICONS__ = {
2808
- version: "3.1.0",
2809
- buildTime: "01/01/2025 07:31 PM EST",
2840
+ version: "3.1.1",
2841
+ buildTime: "01/02/2025 05:13 PM EST",
2810
2842
  homepage: "https://github.com/aversini/ui-components",
2811
2843
  license: "MIT"
2812
2844
  });
2813
2845
  } catch {
2814
2846
  }
2815
2847
  /*!
2816
- @versini/ui-main v2.0.5
2817
- © 2024 gizmette.com
2848
+ @versini/ui-main v2.1.1
2849
+ © 2025 gizmette.com
2818
2850
  */
2819
2851
  try {
2820
2852
  window.__VERSINI_UI_MAIN__ || (window.__VERSINI_UI_MAIN__ = {
2821
- version: "2.0.5",
2822
- buildTime: "12/30/2024 07:48 PM EST",
2853
+ version: "2.1.1",
2854
+ buildTime: "01/02/2025 05:13 PM EST",
2823
2855
  homepage: "https://github.com/aversini/ui-components",
2824
2856
  license: "MIT"
2825
2857
  });
2826
2858
  } catch {
2827
2859
  }
2828
- const mn = "av-main", pn = ({ children: e, className: t, raw: r = !1 }) => {
2829
- const a = g(
2830
- mn,
2860
+ const fn = "av-main", bn = ({
2861
+ children: e,
2862
+ className: t,
2863
+ raw: r = !1,
2864
+ noMargin: a = !1,
2865
+ noPadding: n = !1
2866
+ }) => {
2867
+ const o = g(
2868
+ fn,
2831
2869
  {
2832
- "mt-2 flex w-full flex-col p-2 sm:mt-3 md:mx-auto md:max-w-4xl": !r
2870
+ "mt-2 sm:mt-3": !r && !a,
2871
+ "p-2": !r && !n,
2872
+ "flex w-full flex-col md:mx-auto md:max-w-4xl": !r
2833
2873
  },
2834
2874
  t
2835
2875
  );
2836
- return /* @__PURE__ */ l("main", { className: a, children: e });
2837
- }, gn = "av-flexgrid", _e = "av-flexgrid-item", Oe = 0.25, qe = z.createContext({
2876
+ return /* @__PURE__ */ l("main", { className: o, children: e });
2877
+ }, En = "av-flexgrid", _e = "av-flexgrid-item", Ce = 0.25, Qe = z.createContext({
2838
2878
  columnGap: 0,
2839
2879
  rowGap: 0
2840
- }), bt = ({
2880
+ }), Et = ({
2841
2881
  children: e,
2842
2882
  className: t,
2843
2883
  columnGap: r = 1,
@@ -2860,14 +2900,14 @@ const mn = "av-main", pn = ({ children: e, className: t, raw: r = !1 }) => {
2860
2900
  * by the columnGap and rowGap that will be applied
2861
2901
  * to all FlexgridItems (see context and paddings).
2862
2902
  */
2863
- marginLeft: r * -1 * Oe + "rem",
2864
- marginTop: a * -1 * Oe + "rem"
2903
+ marginLeft: r * -1 * Ce + "rem",
2904
+ marginTop: a * -1 * Ce + "rem"
2865
2905
  }, u = g(
2866
- gn,
2906
+ En,
2867
2907
  "box-border flex flex-wrap"
2868
2908
  ), c = { columnGap: r, rowGap: a };
2869
- return t ? /* @__PURE__ */ l("div", { className: t, children: /* @__PURE__ */ l("div", { className: u, style: p, ...m, children: /* @__PURE__ */ l(qe.Provider, { value: c, children: e }) }) }) : /* @__PURE__ */ l("div", { className: u, style: p, ...m, children: /* @__PURE__ */ l(qe.Provider, { value: c, children: e }) });
2870
- }, Ve = (e, t) => g({
2909
+ return t ? /* @__PURE__ */ l("div", { className: t, children: /* @__PURE__ */ l("div", { className: u, style: p, ...m, children: /* @__PURE__ */ l(Qe.Provider, { value: c, children: e }) }) }) : /* @__PURE__ */ l("div", { className: u, style: p, ...m, children: /* @__PURE__ */ l(Qe.Provider, { value: c, children: e }) });
2910
+ }, Ye = (e, t) => g({
2871
2911
  "basis-1/12": e === 1 && !t,
2872
2912
  "sm:basis-1/12": e === 1 && t === "sm",
2873
2913
  "md:basis-1/12": e === 1 && t === "md",
@@ -2940,7 +2980,7 @@ const mn = "av-main", pn = ({ children: e, className: t, raw: r = !1 }) => {
2940
2980
  "lg:basis-full": e === 12 && t === "lg",
2941
2981
  "xl:basis-full": e === 12 && t === "xl",
2942
2982
  "2xl:basis-full": e === 12 && t === "2xl"
2943
- }), yn = ({
2983
+ }), wn = ({
2944
2984
  className: e,
2945
2985
  span: t
2946
2986
  }) => {
@@ -2948,14 +2988,14 @@ const mn = "av-main", pn = ({ children: e, className: t, raw: r = !1 }) => {
2948
2988
  return g(e, _e, "box-border basis-auto");
2949
2989
  if (typeof t == "number")
2950
2990
  return g(e, _e, "box-border max-w-full", {
2951
- [`${Ve(t)}`]: !0
2991
+ [`${Ye(t)}`]: !0
2952
2992
  });
2953
2993
  if (typeof t == "string")
2954
2994
  return g(e, _e, "box-border basis-auto", {
2955
2995
  "max-w-full grow": t === "auto"
2956
2996
  });
2957
2997
  if (typeof t == "object") {
2958
- const r = Object.entries(t).map(([a, n]) => a === "fallback" ? Ve(n) : Ve(n, a));
2998
+ const r = Object.entries(t).map(([a, n]) => a === "fallback" ? Ye(n) : Ye(n, a));
2959
2999
  return g(
2960
3000
  e,
2961
3001
  _e,
@@ -2969,36 +3009,36 @@ const mn = "av-main", pn = ({ children: e, className: t, raw: r = !1 }) => {
2969
3009
  span: r,
2970
3010
  ...a
2971
3011
  }) => {
2972
- const { columnGap: n, rowGap: o } = Tt(qe), s = {
2973
- paddingLeft: n * Oe + "rem",
2974
- paddingTop: o * Oe + "rem"
2975
- }, i = yn({
3012
+ const { columnGap: n, rowGap: o } = It(Qe), s = {
3013
+ paddingLeft: n * Ce + "rem",
3014
+ paddingTop: o * Ce + "rem"
3015
+ }, i = wn({
2976
3016
  className: t,
2977
3017
  span: r
2978
3018
  });
2979
3019
  return /* @__PURE__ */ l("div", { className: i, style: s, ...a, children: e });
2980
3020
  };
2981
3021
  /*!
2982
- @versini/ui-system v2.0.6
2983
- © 2024 gizmette.com
3022
+ @versini/ui-system v2.0.7
3023
+ © 2025 gizmette.com
2984
3024
  */
2985
3025
  try {
2986
3026
  window.__VERSINI_UI_SYSTEM__ || (window.__VERSINI_UI_SYSTEM__ = {
2987
- version: "2.0.6",
2988
- buildTime: "12/30/2024 07:48 PM EST",
3027
+ version: "2.0.7",
3028
+ buildTime: "01/02/2025 05:13 PM EST",
2989
3029
  homepage: "https://github.com/aversini/ui-components",
2990
3030
  license: "MIT"
2991
3031
  });
2992
3032
  } catch {
2993
3033
  }
2994
- const er = "av-text-input", fn = "av-text-input-wrapper", Ye = "av-text-input-helper-text";
2995
- function bn() {
3034
+ const Qt = "av-text-input", Tn = "av-text-input-wrapper", ze = "av-text-input-helper-text";
3035
+ function In() {
2996
3036
  const e = $(!1);
2997
3037
  return Q(() => (e.current = !0, () => {
2998
3038
  e.current = !1;
2999
3039
  }), []), q(() => e.current, []);
3000
3040
  }
3001
- const En = {
3041
+ const Sn = {
3002
3042
  x: 0,
3003
3043
  y: 0,
3004
3044
  width: 0,
@@ -3008,8 +3048,8 @@ const En = {
3008
3048
  bottom: 0,
3009
3049
  right: 0
3010
3050
  };
3011
- function wn(e) {
3012
- const t = bn(), r = $(0), a = $(null), [n, o] = j(En), s = kt(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((i) => {
3051
+ function _n(e) {
3052
+ const t = In(), r = $(0), a = $(null), [n, o] = j(Sn), s = _t(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((i) => {
3013
3053
  const d = i[0];
3014
3054
  d && (cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
3015
3055
  a.current && t() && o(d.contentRect);
@@ -3019,8 +3059,8 @@ function wn(e) {
3019
3059
  s == null || s.disconnect(), r.current && cancelAnimationFrame(r.current);
3020
3060
  }), [s, e]), [a, n];
3021
3061
  }
3022
- function Tn(e) {
3023
- const t = It();
3062
+ function kn(e) {
3063
+ const t = St();
3024
3064
  if (!e)
3025
3065
  return t;
3026
3066
  if (typeof e == "number" || typeof e == "string")
@@ -3030,7 +3070,7 @@ function Tn(e) {
3030
3070
  return typeof r == "number" || typeof r == "string" ? `${a}${r}` : `${a}${t}`;
3031
3071
  }
3032
3072
  }
3033
- const tr = "SET_ANNOUNCEMENT", rr = "CLEAR_ANNOUNCEMENT", In = {
3073
+ const Zt = "SET_ANNOUNCEMENT", er = "CLEAR_ANNOUNCEMENT", An = {
3034
3074
  alert: null,
3035
3075
  alertdialog: null,
3036
3076
  log: "polite",
@@ -3038,14 +3078,14 @@ const tr = "SET_ANNOUNCEMENT", rr = "CLEAR_ANNOUNCEMENT", In = {
3038
3078
  progressbar: null,
3039
3079
  status: "polite",
3040
3080
  timer: "assertive"
3041
- }, kn = (e, t) => {
3081
+ }, vn = (e, t) => {
3042
3082
  switch (t == null ? void 0 : t.type) {
3043
- case tr:
3083
+ case Zt:
3044
3084
  return {
3045
3085
  ...e,
3046
3086
  announcement: t.payload
3047
3087
  };
3048
- case rr:
3088
+ case er:
3049
3089
  return {
3050
3090
  ...e,
3051
3091
  announcement: null
@@ -3053,14 +3093,14 @@ const tr = "SET_ANNOUNCEMENT", rr = "CLEAR_ANNOUNCEMENT", In = {
3053
3093
  default:
3054
3094
  return e;
3055
3095
  }
3056
- }, Sn = ({
3096
+ }, Rn = ({
3057
3097
  onAnnouncementClear: e,
3058
3098
  dispatch: t
3059
3099
  }) => {
3060
3100
  t({
3061
- type: rr
3101
+ type: er
3062
3102
  }), typeof e == "function" && e();
3063
- }, Et = ({
3103
+ }, wt = ({
3064
3104
  children: e,
3065
3105
  clearAnnouncementDelay: t,
3066
3106
  clearAnnouncementTimeoutRef: r,
@@ -3068,16 +3108,16 @@ const tr = "SET_ANNOUNCEMENT", rr = "CLEAR_ANNOUNCEMENT", In = {
3068
3108
  dispatch: n
3069
3109
  }) => {
3070
3110
  clearTimeout(r.current), e !== null && n({
3071
- type: tr,
3111
+ type: Zt,
3072
3112
  payload: e
3073
3113
  }), t && (r.current = setTimeout(
3074
- () => Sn({
3114
+ () => Rn({
3075
3115
  onAnnouncementClear: a,
3076
3116
  dispatch: n
3077
3117
  }),
3078
3118
  t
3079
3119
  ));
3080
- }, _n = ({
3120
+ }, Nn = ({
3081
3121
  children: e,
3082
3122
  announcementTimeoutRef: t,
3083
3123
  announcementDelay: r,
@@ -3086,13 +3126,13 @@ const tr = "SET_ANNOUNCEMENT", rr = "CLEAR_ANNOUNCEMENT", In = {
3086
3126
  onAnnouncementClear: o,
3087
3127
  dispatch: s
3088
3128
  }) => {
3089
- clearTimeout(t.current), r ? t.current = setTimeout(Et, r, {
3129
+ clearTimeout(t.current), r ? t.current = setTimeout(wt, r, {
3090
3130
  children: e,
3091
3131
  clearAnnouncementDelay: a,
3092
3132
  clearAnnouncementTimeoutRef: n,
3093
3133
  onAnnouncementClear: o,
3094
3134
  dispatch: s
3095
- }) : Et({
3135
+ }) : wt({
3096
3136
  children: e,
3097
3137
  clearAnnouncementDelay: a,
3098
3138
  clearAnnouncementTimeoutRef: n,
@@ -3100,7 +3140,7 @@ const tr = "SET_ANNOUNCEMENT", rr = "CLEAR_ANNOUNCEMENT", In = {
3100
3140
  dispatch: s
3101
3141
  });
3102
3142
  };
3103
- function ar({
3143
+ function tr({
3104
3144
  children: e,
3105
3145
  className: t,
3106
3146
  politeness: r,
@@ -3111,12 +3151,12 @@ function ar({
3111
3151
  visible: i,
3112
3152
  ...d
3113
3153
  }) {
3114
- const m = $(null), p = $(null), [u, c] = wt(kn, {
3154
+ const m = $(null), p = $(null), [u, c] = Tt(vn, {
3115
3155
  announcement: null
3116
3156
  });
3117
3157
  let h = r;
3118
- typeof h > "u" && (h = a ? In[a] : "assertive"), Q(() => {
3119
- _n({
3158
+ typeof h > "u" && (h = a ? An[a] : "assertive"), Q(() => {
3159
+ Nn({
3120
3160
  announcementTimeoutRef: m,
3121
3161
  announcementDelay: n,
3122
3162
  children: e,
@@ -3146,33 +3186,33 @@ function ar({
3146
3186
  );
3147
3187
  }
3148
3188
  /*!
3149
- @versini/ui-liveregion v1.2.7
3150
- © 2024 gizmette.com
3189
+ @versini/ui-liveregion v1.2.8
3190
+ © 2025 gizmette.com
3151
3191
  */
3152
3192
  try {
3153
3193
  window.__VERSINI_UI_LIVEREGION__ || (window.__VERSINI_UI_LIVEREGION__ = {
3154
- version: "1.2.7",
3155
- buildTime: "12/30/2024 07:48 PM EST",
3194
+ version: "1.2.8",
3195
+ buildTime: "01/02/2025 05:13 PM EST",
3156
3196
  homepage: "https://github.com/aversini/ui-components",
3157
3197
  license: "MIT"
3158
3198
  });
3159
3199
  } catch {
3160
3200
  }
3161
- const An = ({
3201
+ const xn = ({
3162
3202
  mode: e
3163
3203
  }) => g({
3164
3204
  "bg-surface-darker text-copy-lighter caret-copy-light": e === "dark",
3165
3205
  "bg-surface-lighter text-copy-dark caret-copy-dark": e === "light",
3166
3206
  "bg-surface-lighter text-copy-dark caret-copy-dark dark:bg-surface-darker dark:text-copy-lighter dark:caret-copy-light": e === "system",
3167
3207
  "bg-surface-darker text-copy-lighter caret-copy-light dark:bg-surface-lighter dark:text-copy-dark dark:caret-copy-dark": e === "alt-system"
3168
- }), vn = ({
3208
+ }), Cn = ({
3169
3209
  focusMode: e
3170
3210
  }) => g("focus:outline focus:outline-2 focus:outline-offset-2", {
3171
3211
  "focus:outline-focus-dark": e === "dark",
3172
3212
  "focus:outline-focus-light": e === "light",
3173
3213
  "focus:outline-focus-light dark:focus:outline-focus-dark": e === "alt-system",
3174
3214
  "focus:outline-focus-dark dark:focus:outline-focus-light": e === "system"
3175
- }), Rn = ({
3215
+ }), On = ({
3176
3216
  noBorder: e,
3177
3217
  error: t
3178
3218
  }) => g("border-2", {
@@ -3180,7 +3220,7 @@ const An = ({
3180
3220
  "focus:border-border-dark": !e && t,
3181
3221
  "border-border-error-dark": !e && t,
3182
3222
  "border-transparent": e
3183
- }), Nn = ({
3223
+ }), Pn = ({
3184
3224
  disabled: e,
3185
3225
  raw: t,
3186
3226
  error: r,
@@ -3204,7 +3244,7 @@ const An = ({
3204
3244
  "text-copy-error-dark dark:text-copy-error-light dark:bg-surface-darker": a === "system",
3205
3245
  "text-copy-lighter dark:text-copy-error-dark": a === "alt-system"
3206
3246
  });
3207
- }, xn = ({
3247
+ }, Dn = ({
3208
3248
  error: e,
3209
3249
  raw: t,
3210
3250
  mode: r,
@@ -3214,24 +3254,24 @@ const An = ({
3214
3254
  return "";
3215
3255
  if (a)
3216
3256
  return g(
3217
- Ye,
3257
+ ze,
3218
3258
  "absolute px-2 cursor-not-allowed opacity-50 font-medium"
3219
3259
  );
3220
3260
  if (!e)
3221
- return g(Ye, "absolute px-2 font-medium", {
3261
+ return g(ze, "absolute px-2 font-medium", {
3222
3262
  "text-copy-lighter": r === "dark",
3223
3263
  "text-copy-dark": r === "light",
3224
3264
  "text-copy-dark dark:text-copy-lighter": r === "system",
3225
3265
  "text-copy-lighter dark:text-copy-dark": r === "alt-system"
3226
3266
  });
3227
3267
  if (e)
3228
- return g(Ye, "absolute px-2 font-medium", {
3268
+ return g(ze, "absolute px-2 font-medium", {
3229
3269
  "text-copy-error-light bg-surface-darker": r === "dark",
3230
3270
  "text-copy-error-dark": r === "light",
3231
3271
  "text-copy-error-dark dark:text-copy-error-light dark:bg-surface-darker": r === "system",
3232
3272
  "dark:text-copy-error-dark text-copy-error-light bg-surface-darker": r === "alt-system"
3233
3273
  });
3234
- }, Cn = ({
3274
+ }, Ln = ({
3235
3275
  className: e,
3236
3276
  inputClassName: t,
3237
3277
  raw: r,
@@ -3245,7 +3285,7 @@ const An = ({
3245
3285
  }) => {
3246
3286
  const p = r ? e : g(
3247
3287
  "relative flex w-full flex-col justify-center",
3248
- fn,
3288
+ Tn,
3249
3289
  e
3250
3290
  );
3251
3291
  let u = "";
@@ -3267,22 +3307,22 @@ const An = ({
3267
3307
  break;
3268
3308
  }
3269
3309
  const c = r ? g(t) : g(
3270
- er,
3310
+ Qt,
3271
3311
  u,
3272
3312
  "rounded-md text-base px-4",
3273
- An({ mode: s }),
3274
- vn({ focusMode: i }),
3275
- Rn({ noBorder: n, error: o }),
3313
+ xn({ mode: s }),
3314
+ Cn({ focusMode: i }),
3315
+ On({ noBorder: n, error: o }),
3276
3316
  {
3277
3317
  "disabled:cursor-not-allowed disabled:opacity-50": a
3278
3318
  },
3279
3319
  t
3280
- ), h = r ? void 0 : "sr-only", f = Nn({
3320
+ ), h = r ? void 0 : "sr-only", f = Pn({
3281
3321
  disabled: a,
3282
3322
  raw: r,
3283
3323
  error: o,
3284
3324
  mode: s
3285
- }), E = xn({
3325
+ }), E = Dn({
3286
3326
  error: o,
3287
3327
  raw: r,
3288
3328
  mode: s,
@@ -3296,7 +3336,7 @@ const An = ({
3296
3336
  helperText: E,
3297
3337
  rightElement: w
3298
3338
  };
3299
- }, rt = z.forwardRef(
3339
+ }, at = z.forwardRef(
3300
3340
  ({
3301
3341
  id: e,
3302
3342
  name: t,
@@ -3318,13 +3358,13 @@ const An = ({
3318
3358
  size: I = "md",
3319
3359
  ...M
3320
3360
  }, U) => {
3321
- const [K, O] = wn(), [H, W] = j(0), x = Tn({ id: e, prefix: `${er}-` }), pe = `${t} error, ${f}`, Z = $(null), v = $(null), P = {
3361
+ const [K, N] = _n(), [H, W] = j(0), x = kn({ id: e, prefix: `${Qt}-` }), pe = `${t} error, ${f}`, Z = $(null), v = $(null), P = {
3322
3362
  xs: { label: "-25px", helperText: "30px" },
3323
3363
  sm: { label: "-29px", helperText: "34px" },
3324
3364
  md: { label: "-33px", helperText: "38px" },
3325
3365
  lg: { label: "-15px", helperText: "22px" },
3326
3366
  xl: { label: "-19px", helperText: "25px" }
3327
- }, G = Cn({
3367
+ }, G = Ln({
3328
3368
  className: o,
3329
3369
  inputClassName: s,
3330
3370
  error: a,
@@ -3336,16 +3376,16 @@ const An = ({
3336
3376
  size: I,
3337
3377
  rightElementClassName: w
3338
3378
  });
3339
- return nt(() => {
3340
- O && O.width && W(O.width + 18 + 10);
3341
- }, [O]), nt(() => {
3379
+ return ot(() => {
3380
+ N && N.width && W(N.width + 18 + 10);
3381
+ }, [N]), ot(() => {
3342
3382
  var ee, y;
3343
3383
  const { label: T, helperText: b } = P[I];
3344
3384
  (ee = Z == null ? void 0 : Z.current) == null || ee.style.setProperty("--av-text-input-label", T), (y = v == null ? void 0 : v.current) == null || y.style.setProperty(
3345
3385
  "--av-text-input-helper-text",
3346
3386
  b
3347
3387
  );
3348
- }, [I]), /* @__PURE__ */ N("div", { className: G.wrapper, children: [
3388
+ }, [I]), /* @__PURE__ */ C("div", { className: G.wrapper, children: [
3349
3389
  /* @__PURE__ */ l(
3350
3390
  "label",
3351
3391
  {
@@ -3398,20 +3438,20 @@ const An = ({
3398
3438
  children: E
3399
3439
  }
3400
3440
  ),
3401
- a && f && /* @__PURE__ */ l(ar, { politeness: "polite", clearAnnouncementDelay: 500, children: pe })
3441
+ a && f && /* @__PURE__ */ l(tr, { politeness: "polite", clearAnnouncementDelay: 500, children: pe })
3402
3442
  ] });
3403
3443
  }
3404
3444
  );
3405
- rt.displayName = "TextInput";
3406
- function On(e) {
3407
- return kt(() => e.every((t) => t == null) ? () => {
3445
+ at.displayName = "TextInput";
3446
+ function $n(e) {
3447
+ return _t(() => e.every((t) => t == null) ? () => {
3408
3448
  } : (t) => {
3409
3449
  e.forEach((r) => {
3410
3450
  typeof r == "function" ? r(t) : r != null && (r.current = t);
3411
3451
  });
3412
3452
  }, e);
3413
3453
  }
3414
- const Pn = 500, Dn = 5e3, Ln = 2e4, nr = z.forwardRef(
3454
+ const Mn = 500, Un = 5e3, Kn = 2e4, rr = z.forwardRef(
3415
3455
  ({
3416
3456
  name: e,
3417
3457
  disabled: t,
@@ -3428,19 +3468,19 @@ const Pn = 500, Dn = 5e3, Ln = 2e4, nr = z.forwardRef(
3428
3468
  const [c, h] = j(!0), [f, E] = j({
3429
3469
  message: null,
3430
3470
  politeness: null
3431
- }), w = $(!0), I = $(null), M = $(null), U = On([u, M]), K = c ? "Show" : "Hide", O = () => {
3471
+ }), w = $(!0), I = $(null), M = $(null), U = $n([u, M]), K = c ? "Show" : "Hide", N = () => {
3432
3472
  I.current && clearTimeout(I.current), w.current || (I.current = setTimeout(() => {
3433
3473
  w.current = !0, h(!0), E({
3434
- announcementTimeout: Dn,
3474
+ announcementTimeout: Un,
3435
3475
  politeness: "polite",
3436
3476
  message: `${r} hiding characters`
3437
3477
  }), n && n(!0);
3438
- }, Ln));
3478
+ }, Kn));
3439
3479
  }, H = (v) => {
3440
3480
  v.preventDefault();
3441
3481
  const P = !w.current;
3442
- w.current = P, O(), h(P), E({
3443
- announcementTimeout: Pn,
3482
+ w.current = P, N(), h(P), E({
3483
+ announcementTimeout: Mn,
3444
3484
  politeness: "assertive",
3445
3485
  message: P ? "Characters hidden" : "Characters showing"
3446
3486
  }), n && n(P);
@@ -3449,17 +3489,17 @@ const Pn = 500, Dn = 5e3, Ln = 2e4, nr = z.forwardRef(
3449
3489
  const { relatedTarget: G } = v, ee = (P = M.current) == null ? void 0 : P.parentElement;
3450
3490
  ee != null && ee.contains(G) || d && d();
3451
3491
  }, x = (v) => {
3452
- O(), s && s(v), W(v);
3492
+ N(), s && s(v), W(v);
3453
3493
  }, pe = (v) => {
3454
- O(), i && i(v);
3494
+ N(), i && i(v);
3455
3495
  }, Z = (v) => {
3456
- O(), o && o(v);
3496
+ N(), o && o(v);
3457
3497
  };
3458
3498
  return Q(() => () => {
3459
3499
  I.current && clearTimeout(I.current);
3460
- }, []), /* @__PURE__ */ N(fe, { children: [
3500
+ }, []), /* @__PURE__ */ C(Oe, { children: [
3461
3501
  /* @__PURE__ */ l(
3462
- rt,
3502
+ at,
3463
3503
  {
3464
3504
  ref: U,
3465
3505
  name: e,
@@ -3481,7 +3521,7 @@ const Pn = 500, Dn = 5e3, Ln = 2e4, nr = z.forwardRef(
3481
3521
  }
3482
3522
  ),
3483
3523
  /* @__PURE__ */ l(
3484
- ar,
3524
+ tr,
3485
3525
  {
3486
3526
  role: "status",
3487
3527
  politeness: f.politeness,
@@ -3492,21 +3532,21 @@ const Pn = 500, Dn = 5e3, Ln = 2e4, nr = z.forwardRef(
3492
3532
  ] });
3493
3533
  }
3494
3534
  );
3495
- nr.displayName = "TextInputMask";
3535
+ rr.displayName = "TextInputMask";
3496
3536
  /*!
3497
- @versini/ui-textinput v2.0.5
3498
- © 2024 gizmette.com
3537
+ @versini/ui-textinput v2.0.6
3538
+ © 2025 gizmette.com
3499
3539
  */
3500
3540
  try {
3501
3541
  window.__VERSINI_UI_TEXTINPUT__ || (window.__VERSINI_UI_TEXTINPUT__ = {
3502
- version: "2.0.5",
3503
- buildTime: "12/30/2024 07:48 PM EST",
3542
+ version: "2.0.6",
3543
+ buildTime: "01/02/2025 05:13 PM EST",
3504
3544
  homepage: "https://github.com/aversini/ui-components",
3505
3545
  license: "MIT"
3506
3546
  });
3507
3547
  } catch {
3508
3548
  }
3509
- const $n = "ASK! ME! ANYTHING!", Mn = "Callisto", Un = "Log in", Kn = "Sign in with a Passkey", Ko = "Log out", Hn = "Password", Ho = "Send", Wo = "Profile", Go = "Settings", Bo = "Chat history", Jo = "About", Vo = "Type your question here", Yo = "<clipboard>", zo = "N/A", Fo = "Tags are pre-filled buttons available on the main screen, to help you quickly start requests. The label is used for the button, and the content is what will be inserted in the chat when the button is pressed. You can use the special placeholder <clipboard> to automatically insert the content of your clipboard.", jo = {
3549
+ const Hn = "ASK! ME! ANYTHING!", Wn = "Callisto", Gn = "Log in", Bn = "Sign in with a Passkey", Bo = "Log out", Jn = "Password", Jo = "Send", Vo = "Profile", Yo = "Settings", zo = "Chat history", Fo = "About", jo = "Type your question here", qo = "<clipboard>", Xo = "N/A", Qo = "Tags are pre-filled buttons available on the main screen, to help you quickly start requests. The label is used for the button, and the content is what will be inserted in the chat when the button is pressed. You can use the special placeholder <clipboard> to automatically insert the content of your clipboard.", Zo = {
3510
3550
  PREFERENCES: {
3511
3551
  TITLE: "User profile",
3512
3552
  NAME: "Name",
@@ -3543,25 +3583,14 @@ const $n = "ASK! ME! ANYTHING!", Mn = "Callisto", Un = "Log in", Kn = "Sign in w
3543
3583
  SETTINGS_ENGINE: {
3544
3584
  TITLE: "AI Engine"
3545
3585
  }
3546
- }, Wn = St(
3547
- () => import(
3548
- /* webpackChunkName: "LazyHeader" */
3549
- "./LazyHeader.DmyF2sJC.js"
3550
- )
3551
- ), Gn = () => {
3552
- const { isAuthenticated: e } = Ze();
3553
- return /* @__PURE__ */ N(fe, { children: [
3554
- e && /* @__PURE__ */ l(_t, { fallback: /* @__PURE__ */ l("div", {}), children: /* @__PURE__ */ l(Wn, {}) }),
3555
- /* @__PURE__ */ N("div", { className: "flex items-center justify-center", children: [
3556
- /* @__PURE__ */ l("div", { className: "basis-1/4", children: /* @__PURE__ */ l(ln, {}) }),
3557
- /* @__PURE__ */ N("div", { className: "prose prose-sm prose-light md:prose-base prose-h1:mb-0 prose-h2:mt-0", children: [
3558
- /* @__PURE__ */ l("h1", { children: Mn }),
3559
- /* @__PURE__ */ l("h2", { children: $n })
3560
- ] })
3561
- ] })
3562
- ] });
3563
- }, Bn = () => {
3564
- const { login: e, logoutReason: t, loginWithPasskey: r } = Ze(), [a, n] = j(""), [o, s] = j(""), [i, d] = j(!0), [m, p] = j({
3586
+ }, Vn = () => /* @__PURE__ */ C("div", { className: "flex items-center justify-center", children: [
3587
+ /* @__PURE__ */ l("div", { className: "basis-1/4", children: /* @__PURE__ */ l(mn, {}) }),
3588
+ /* @__PURE__ */ C("div", { className: "prose prose-sm prose-light md:prose-base prose-h1:mb-0 prose-h2:mt-0", children: [
3589
+ /* @__PURE__ */ l("h1", { children: Wn }),
3590
+ /* @__PURE__ */ l("h2", { children: Hn })
3591
+ ] })
3592
+ ] }), Yn = () => {
3593
+ const { login: e, logoutReason: t, loginWithPasskey: r } = qt(), [a, n] = j(""), [o, s] = j(""), [i, d] = j(!0), [m, p] = j({
3565
3594
  username: "",
3566
3595
  password: ""
3567
3596
  }), u = async (c) => {
@@ -3575,155 +3604,172 @@ const $n = "ASK! ME! ANYTHING!", Mn = "Callisto", Un = "Log in", Kn = "Sign in w
3575
3604
  }, 500);
3576
3605
  }), Q(() => {
3577
3606
  t && s(t);
3578
- }, [t]), /* @__PURE__ */ l(fe, { children: /* @__PURE__ */ N(pn, { children: [
3579
- /* @__PURE__ */ l("div", { className: Fa(), children: /* @__PURE__ */ l(Gn, {}) }),
3580
- /* @__PURE__ */ N("form", { className: "mt-5", onSubmit: u, children: [
3581
- /* @__PURE__ */ l(bt, { alignHorizontal: "center", rowGap: 7, children: /* @__PURE__ */ l(le, { span: 6, children: /* @__PURE__ */ N(cn, { mode: "dark", children: [
3582
- /* @__PURE__ */ l(le, { span: 12, children: o && /* @__PURE__ */ l("div", { className: "p-2 text-sm text-center text-copy-error-light bg-surface-darker", children: o }) }),
3583
- /* @__PURE__ */ l(le, { span: 12, children: /* @__PURE__ */ l(
3584
- rt,
3585
- {
3586
- required: !0,
3587
- autoCapitalize: "off",
3588
- autoComplete: "off",
3589
- autoCorrect: "off",
3590
- mode: "dark",
3591
- focusMode: "light",
3592
- name: "username",
3593
- label: "Username",
3594
- onChange: (c) => {
3595
- p({
3596
- ...m,
3597
- username: c.target.value
3598
- }), n("");
3599
- },
3600
- error: a !== ""
3601
- }
3602
- ) }),
3603
- /* @__PURE__ */ l(le, { span: 12, children: /* @__PURE__ */ l(
3604
- nr,
3605
- {
3606
- required: !0,
3607
- autoCapitalize: "off",
3608
- autoComplete: "off",
3609
- autoCorrect: "off",
3610
- mode: "dark",
3611
- focusMode: "light",
3612
- name: "password",
3613
- label: Hn,
3614
- rightElement: /* @__PURE__ */ l(je, { focusMode: "light", mode: "dark", children: i ? /* @__PURE__ */ l(hn, {}) : /* @__PURE__ */ l(dn, {}) }),
3615
- onMaskChange: d,
3616
- onChange: (c) => {
3617
- p({
3618
- ...m,
3619
- password: c.target.value
3620
- }), n("");
3621
- },
3622
- error: a !== "",
3623
- helperText: a
3624
- }
3625
- ) }),
3626
- /* @__PURE__ */ l(le, { span: 12, children: /* @__PURE__ */ l(
3627
- Zt,
3607
+ }, [t]), /* @__PURE__ */ l(Oe, { children: /* @__PURE__ */ C(
3608
+ bn,
3609
+ {
3610
+ className: qa({
3611
+ extraClass: "mt-5"
3612
+ }),
3613
+ noMargin: !0,
3614
+ noPadding: !0,
3615
+ children: [
3616
+ /* @__PURE__ */ l(
3617
+ "div",
3628
3618
  {
3629
- mode: "light",
3630
- focusMode: "light",
3631
- fullWidth: !0,
3632
- noBorder: !0,
3633
- type: "submit",
3634
- className: "mb-4 mt-6",
3635
- children: Un
3619
+ className: ja({
3620
+ extraClass: "rounded-md"
3621
+ }),
3622
+ children: /* @__PURE__ */ l(Vn, {})
3636
3623
  }
3637
- ) })
3638
- ] }) }) }),
3639
- /* @__PURE__ */ l("div", { className: "text-center text-copy-light", children: "or" }),
3640
- /* @__PURE__ */ l(bt, { alignHorizontal: "center", children: /* @__PURE__ */ l(le, { span: 6, children: /* @__PURE__ */ l(
3641
- je,
3642
- {
3643
- mode: "dark",
3644
- focusMode: "light",
3645
- fullWidth: !0,
3646
- noBorder: !0,
3647
- className: "mb-4 mt-1",
3648
- labelRight: Kn,
3649
- onClick: r,
3650
- children: /* @__PURE__ */ l(un, { size: "size-7" })
3651
- }
3652
- ) }) })
3653
- ] })
3654
- ] }) });
3655
- }, Jn = new URL(document.location.href).searchParams, Vn = !!Jn.get("debug") || !1, Yn = St(
3656
- () => import(
3657
- /* webpackChunkName: "LazyApp" */
3658
- "./LazyApp.CFM3xjO9.js"
3659
- ).then((e) => e.LazyApp)
3660
- ), zn = ({ isComponent: e }) => {
3661
- const { isAuthenticated: t } = Ze();
3662
- return t ? /* @__PURE__ */ l(_t, { fallback: /* @__PURE__ */ l("div", {}), children: /* @__PURE__ */ l(Yn, { isComponent: e }) }) : /* @__PURE__ */ l(Bn, {});
3663
- }, Fn = ({
3624
+ ),
3625
+ /* @__PURE__ */ C("form", { className: "mt-5", onSubmit: u, children: [
3626
+ /* @__PURE__ */ l(Et, { alignHorizontal: "center", rowGap: 7, children: /* @__PURE__ */ l(le, { span: 6, children: /* @__PURE__ */ C(hn, { mode: "dark", children: [
3627
+ /* @__PURE__ */ l(le, { span: 12, children: o && /* @__PURE__ */ l("div", { className: "p-2 text-sm text-center text-copy-error-light bg-surface-darker", children: o }) }),
3628
+ /* @__PURE__ */ l(le, { span: 12, children: /* @__PURE__ */ l(
3629
+ at,
3630
+ {
3631
+ required: !0,
3632
+ autoCapitalize: "off",
3633
+ autoComplete: "off",
3634
+ autoCorrect: "off",
3635
+ mode: "dark",
3636
+ focusMode: "light",
3637
+ name: "username",
3638
+ label: "Username",
3639
+ onChange: (c) => {
3640
+ p({
3641
+ ...m,
3642
+ username: c.target.value
3643
+ }), n("");
3644
+ },
3645
+ error: a !== ""
3646
+ }
3647
+ ) }),
3648
+ /* @__PURE__ */ l(le, { span: 12, children: /* @__PURE__ */ l(
3649
+ rr,
3650
+ {
3651
+ required: !0,
3652
+ autoCapitalize: "off",
3653
+ autoComplete: "off",
3654
+ autoCorrect: "off",
3655
+ mode: "dark",
3656
+ focusMode: "light",
3657
+ name: "password",
3658
+ label: Jn,
3659
+ rightElement: /* @__PURE__ */ l(Xe, { focusMode: "light", mode: "dark", children: i ? /* @__PURE__ */ l(yn, {}) : /* @__PURE__ */ l(pn, {}) }),
3660
+ onMaskChange: d,
3661
+ onChange: (c) => {
3662
+ p({
3663
+ ...m,
3664
+ password: c.target.value
3665
+ }), n("");
3666
+ },
3667
+ error: a !== "",
3668
+ helperText: a
3669
+ }
3670
+ ) }),
3671
+ /* @__PURE__ */ l(le, { span: 12, children: /* @__PURE__ */ l(
3672
+ Xt,
3673
+ {
3674
+ mode: "light",
3675
+ focusMode: "light",
3676
+ fullWidth: !0,
3677
+ noBorder: !0,
3678
+ type: "submit",
3679
+ className: "mb-4 mt-6",
3680
+ children: Gn
3681
+ }
3682
+ ) })
3683
+ ] }) }) }),
3684
+ /* @__PURE__ */ l("div", { className: "text-center text-copy-light", children: "or" }),
3685
+ /* @__PURE__ */ l(Et, { alignHorizontal: "center", children: /* @__PURE__ */ l(le, { span: 6, children: /* @__PURE__ */ l(
3686
+ Xe,
3687
+ {
3688
+ variant: "selected",
3689
+ mode: "dark",
3690
+ focusMode: "light",
3691
+ fullWidth: !0,
3692
+ className: "mb-4 mt-1",
3693
+ labelRight: Bn,
3694
+ onClick: r,
3695
+ children: /* @__PURE__ */ l(gn, { size: "size-7" })
3696
+ }
3697
+ ) }) })
3698
+ ] })
3699
+ ]
3700
+ }
3701
+ ) });
3702
+ }, zn = new URL(document.location.href).searchParams, Fn = !!zn.get("debug") || !1, jn = sr(() => import(
3703
+ /* webpackChunkName: "LazyApp" */
3704
+ "./App.CbBMiVHr.js"
3705
+ ).then((e) => e.App)), qn = ({ isComponent: e }) => {
3706
+ const { isAuthenticated: t } = qt();
3707
+ return t ? /* @__PURE__ */ l(ir, { fallback: /* @__PURE__ */ l("div", {}), children: /* @__PURE__ */ l(jn, { isComponent: e }) }) : /* @__PURE__ */ l(Yn, {});
3708
+ }, Xn = ({
3664
3709
  isComponent: e = !1,
3665
- domain: t = za
3666
- }) => /* @__PURE__ */ l(fe, { children: /* @__PURE__ */ l($a, { clientId: Ma, domain: t, debug: Vn, children: /* @__PURE__ */ l(zn, { isComponent: e }) }) }), qo = ({ domain: e }) => /* @__PURE__ */ l(Fn, { isComponent: !0, domain: e });
3710
+ domain: t = Fa
3711
+ }) => /* @__PURE__ */ l(Oe, { children: /* @__PURE__ */ l($a, { clientId: Ma, domain: t, debug: Fn, children: /* @__PURE__ */ l(qn, { isComponent: e }) }) }), es = ({ domain: e }) => /* @__PURE__ */ l(Xn, { isComponent: !0, domain: e });
3667
3712
  export {
3668
- Jo as ABOUT_TITLE,
3669
- Eo as ACTION_ENGINE,
3670
- po as ACTION_MESSAGE,
3671
- yo as ACTION_MODEL,
3672
- go as ACTION_RESET,
3673
- ko as ACTION_RESET_TAGS,
3674
- fo as ACTION_RESTORE,
3675
- wo as ACTION_SEARCH,
3676
- So as ACTION_SET_TAGS,
3677
- To as ACTION_SORT,
3678
- bo as ACTION_STREAMING,
3679
- Io as ACTION_TOGGLE_TAG,
3680
- Mn as APP_NAME,
3681
- Zt as C,
3682
- jo as CARDS,
3683
- Yo as CLIPBOARD_TAG,
3684
- lo as DEFAULT_AI_ENGINE,
3685
- ho as ENGINE_ANTHROPIC,
3686
- uo as ENGINE_OPENAI,
3687
- co as ERROR_MESSAGE,
3688
- mo as GPT4_MAX_TOKENS,
3689
- Bo as HISTORY_TITLE,
3690
- bt as L,
3691
- Ao as LOCAL_STORAGE_CHAT_DETAILS,
3692
- No as LOCAL_STORAGE_ENGINE_TOGGLE,
3693
- _o as LOCAL_STORAGE_PREFIX,
3694
- vo as LOCAL_STORAGE_SEARCH,
3695
- Ro as LOCAL_STORAGE_SORT,
3696
- Ko as LOG_OUT,
3713
+ Fo as ABOUT_TITLE,
3714
+ So as ACTION_ENGINE,
3715
+ bo as ACTION_MESSAGE,
3716
+ wo as ACTION_MODEL,
3717
+ Eo as ACTION_RESET,
3718
+ vo as ACTION_RESET_TAGS,
3719
+ To as ACTION_RESTORE,
3720
+ _o as ACTION_SEARCH,
3721
+ Ro as ACTION_SET_TAGS,
3722
+ ko as ACTION_SORT,
3723
+ Io as ACTION_STREAMING,
3724
+ Ao as ACTION_TOGGLE_TAG,
3725
+ Wn as APP_NAME,
3726
+ Xt as C,
3727
+ Zo as CARDS,
3728
+ qo as CLIPBOARD_TAG,
3729
+ po as DEFAULT_AI_ENGINE,
3730
+ yo as ENGINE_ANTHROPIC,
3731
+ go as ENGINE_OPENAI,
3732
+ mo as ERROR_MESSAGE,
3733
+ fo as GPT4_MAX_TOKENS,
3734
+ zo as HISTORY_TITLE,
3735
+ Et as L,
3736
+ xo as LOCAL_STORAGE_CHAT_DETAILS,
3737
+ Po as LOCAL_STORAGE_ENGINE_TOGGLE,
3738
+ No as LOCAL_STORAGE_PREFIX,
3739
+ Co as LOCAL_STORAGE_SEARCH,
3740
+ Oo as LOCAL_STORAGE_SORT,
3741
+ Bo as LOG_OUT,
3742
+ Vn as Logo,
3697
3743
  ue as M,
3698
- Gn as MessagesContainerHeader,
3699
- zo as NA,
3700
- je as O,
3701
- Wo as PROFILE_TITLE,
3702
- cn as R,
3703
- no as ROLE_ASSISTANT,
3704
- io as ROLE_HIDDEN,
3705
- so as ROLE_INTERNAL,
3706
- oo as ROLE_SYSTEM,
3707
- ao as ROLE_USER,
3708
- Ho as SEND,
3709
- Go as SETTINGS_TITLE,
3710
- xo as STATS_SEPARATOR,
3711
- qo as SassySaint,
3712
- Fo as TAGS_DESCRIPTION,
3713
- Vo as TYPE_QUESTION,
3714
- pn as _,
3715
- Uo as debounce,
3716
- $o as durationFormatter,
3717
- Po as extractAverage,
3718
- Me as g,
3719
- Co as getCurrentGeoLocation,
3720
- Fa as getMessageContaintWrapperClass,
3721
- Do as isLastMessageFromRole,
3744
+ Xo as NA,
3745
+ Xe as P,
3746
+ Vo as PROFILE_TITLE,
3747
+ hn as R,
3748
+ co as ROLE_ASSISTANT,
3749
+ ho as ROLE_HIDDEN,
3750
+ uo as ROLE_INTERNAL,
3751
+ lo as ROLE_SYSTEM,
3752
+ io as ROLE_USER,
3753
+ Jo as SEND,
3754
+ Yo as SETTINGS_TITLE,
3755
+ Do as STATS_SEPARATOR,
3756
+ es as SassySaint,
3757
+ Qo as TAGS_DESCRIPTION,
3758
+ jo as TYPE_QUESTION,
3759
+ Go as debounce,
3760
+ Ho as durationFormatter,
3761
+ Mo as extractAverage,
3762
+ Ue as g,
3763
+ Lo as getCurrentGeoLocation,
3764
+ qa as getMainPaddingClass,
3765
+ ja as getMessageContaintWrapperClass,
3766
+ Uo as isLastMessageFromRole,
3722
3767
  le as j,
3723
- Lo as numberFormatter,
3724
- Mo as pluralize,
3725
- Oo as renderDataAsList,
3726
- Ze as un,
3727
- rt as ye,
3728
- un as z
3768
+ Ko as numberFormatter,
3769
+ Wo as pluralize,
3770
+ bn as r,
3771
+ $o as renderDataAsList,
3772
+ qt as un,
3773
+ at as ye,
3774
+ gn as z
3729
3775
  };