@cedros/login-react 0.0.31 → 0.0.32

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.
package/dist/index.js CHANGED
@@ -1,47 +1,47 @@
1
- import { f as He, h as Js, u as et, i as Xs, j as Zs, k as Pe, w as jr, g as eo, b as zr, t as Vr, c as we, a as Hr, D as Qe, l as Qr, r as to, m as zt, n as Kr, o as ro, p as Yr, q as tt } from "./useAuth-CVLv2oKA.js";
2
- import { C as cl, x as ll, s as dl } from "./useAuth-CVLv2oKA.js";
1
+ import { f as He, h as Gs, u as et, i as Js, j as Xs, k as Pe, w as qr, g as Zs, b as jr, t as zr, c as we, a as Vr, D as Qe, l as Hr, r as eo, m as zt, n as Qr, o as to, p as Kr, q as tt } from "./useAuth-CVLv2oKA.js";
2
+ import { C as nl, x as al, s as il } from "./useAuth-CVLv2oKA.js";
3
3
  import { u as te, A as ae, h as W, a as ve } from "./useCedrosLogin-CFfID-0i.js";
4
- import { b as hl, c as pl } from "./useCedrosLogin-CFfID-0i.js";
4
+ import { b as ll, c as dl } from "./useCedrosLogin-CFfID-0i.js";
5
5
  import { jsx as e, jsxs as i, Fragment as $ } from "react/jsx-runtime";
6
- import { useState as k, useRef as J, useMemo as q, useEffect as _, useCallback as x, useId as $r, Fragment as so, Component as oo, createContext as no, useContext as Gr } from "react";
6
+ import { useState as k, useRef as J, useMemo as q, useEffect as _, useCallback as x, useId as Yr, Fragment as ro, Component as so, createContext as oo, useContext as $r } from "react";
7
7
  import { L as j } from "./LoadingSpinner-6vml-zwr.js";
8
- import { a as Jr, s as ao } from "./sanitization-CQ-H1MSg.js";
9
- import { b as Xr, E as io, a as co, P as he, O as Zr } from "./EmailRegisterForm-CCEuQA-w.js";
10
- import { T as fl, u as gl, c as wl } from "./EmailRegisterForm-CCEuQA-w.js";
11
- import { b as es, v as rt } from "./validation-B8kMV3BL.js";
8
+ import { a as Gr, s as no } from "./sanitization-CQ-H1MSg.js";
9
+ import { b as Jr, E as ao, a as io, P as he, O as Xr } from "./EmailRegisterForm-CCEuQA-w.js";
10
+ import { T as hl, u as pl, c as ml } from "./EmailRegisterForm-CCEuQA-w.js";
11
+ import { b as Zr, v as rt } from "./validation-B8kMV3BL.js";
12
12
  import { E as X } from "./ErrorMessage-CcEK0pYO.js";
13
- import { G as lo } from "./GoogleLoginButton-CFlqxvU-.js";
14
- import { u as bl } from "./GoogleLoginButton-CFlqxvU-.js";
15
- import { S as uo } from "./SolanaLoginButton-DHsiug1Y.js";
16
- import { r as vl, u as kl } from "./SolanaLoginButton-DHsiug1Y.js";
17
- import { c as ho, d as po, u as mo, a as fo, M as go, I as wo, b as yo, P as bo } from "./PermissionsSection-DNzOL1xW.js";
18
- import { u as Ao } from "./useSystemSettings-rgskaDqP.js";
19
- import { C as vo, S as ts, a as ko, u as No, A as Co } from "./AutosaveStatus-f-jw25Ay.js";
20
- import { u as Eo, O as So } from "./useOrgs-C90KT9KP.js";
21
- import { A as xo, a as Po } from "./AdminDepositList-BUm_ZcAW.js";
22
- import { A as Lo, a as Mo, b as To, c as Bo } from "./AdminWithdrawalHistory-C76bkbjX.js";
23
- import { u as Ro, A as Io, a as Do } from "./useUsersStatsSummary-5DJwzntC.js";
24
- import { b as Cl } from "./useUsersStatsSummary-5DJwzntC.js";
25
- import { S as rs } from "./StatsBar-BX-hHtTq.js";
26
- import { P as Uo } from "./plugin-BbExid4E.js";
27
- import { I as Sl, A as xl, C as Pl, c as Ll, c as Ml, u as Tl } from "./plugin-BbExid4E.js";
28
- import { A as Fo } from "./AuthenticationSettings-DIVk0OP8.js";
29
- import { E as _o } from "./EmbeddedWalletSettings-Dmi-EQ7W.js";
30
- import { A as Wo, S as Oo, P as qo } from "./EmailSettings-BAuQtEfM.js";
31
- import { E as Rl } from "./EmailSettings-BAuQtEfM.js";
32
- import { C as jo } from "./CreditSystemSettings-C6ed3yp7.js";
33
- import { S as zo } from "./ServerSettings-BT9weFPz.js";
34
- import { b as Vo, c as Ho, s as ss, g as os, p as ns, a as as, d as Qo, e as Ko } from "./shamir-R8ddesFt.js";
35
- import { u as Dl } from "./useAdminDeposits-C76B2Q_8.js";
36
- import { S as Yo } from "./WebhookSettings-ufiGTmbG.js";
37
- import { W as Fl } from "./WebhookSettings-ufiGTmbG.js";
13
+ import { G as co } from "./GoogleLoginButton-6ip-vudk.js";
14
+ import { u as gl } from "./GoogleLoginButton-6ip-vudk.js";
15
+ import { d as or, S as lo } from "./SolanaLoginButton-B04dib6X.js";
16
+ import { r as yl, u as bl } from "./SolanaLoginButton-B04dib6X.js";
17
+ import { c as uo, d as ho, u as po, a as mo, M as fo, I as go, b as wo, P as yo } from "./PermissionsSection-DNzOL1xW.js";
18
+ import { u as bo } from "./useSystemSettings-rgskaDqP.js";
19
+ import { C as Ao, S as es, a as vo, u as ko, A as No } from "./AutosaveStatus-f-jw25Ay.js";
20
+ import { u as Co, O as Eo } from "./useOrgs-C90KT9KP.js";
21
+ import { A as So, a as xo } from "./AdminDepositList-BUm_ZcAW.js";
22
+ import { A as Po, a as Lo, b as Mo, c as To } from "./AdminWithdrawalHistory-C76bkbjX.js";
23
+ import { u as Bo, A as Ro, a as Io } from "./useUsersStatsSummary-5DJwzntC.js";
24
+ import { b as vl } from "./useUsersStatsSummary-5DJwzntC.js";
25
+ import { S as ts } from "./StatsBar-BX-hHtTq.js";
26
+ import { P as Do } from "./plugin-BbExid4E.js";
27
+ import { I as Nl, A as Cl, C as El, c as Sl, c as xl, u as Pl } from "./plugin-BbExid4E.js";
28
+ import { A as Uo } from "./AuthenticationSettings-DIVk0OP8.js";
29
+ import { E as Fo } from "./EmbeddedWalletSettings-Dmi-EQ7W.js";
30
+ import { A as _o, S as Wo, P as Oo } from "./EmailSettings-BAuQtEfM.js";
31
+ import { E as Ml } from "./EmailSettings-BAuQtEfM.js";
32
+ import { C as qo } from "./CreditSystemSettings-C6ed3yp7.js";
33
+ import { S as jo } from "./ServerSettings-BT9weFPz.js";
34
+ import { b as zo, c as Vo, s as rs, g as ss, p as os, a as ns, d as Ho, e as Qo } from "./shamir-R8ddesFt.js";
35
+ import { u as Bl } from "./useAdminDeposits-C76B2Q_8.js";
36
+ import { S as Ko } from "./WebhookSettings-ufiGTmbG.js";
37
+ import { W as Il } from "./WebhookSettings-ufiGTmbG.js";
38
38
  function Ke(t) {
39
39
  return t instanceof Uint8Array || ArrayBuffer.isView(t) && t.constructor.name === "Uint8Array";
40
40
  }
41
- function is(t, r) {
41
+ function as(t, r) {
42
42
  return Array.isArray(r) ? r.length === 0 ? !0 : t ? r.every((o) => typeof o == "string") : r.every((o) => Number.isSafeInteger(o)) : !1;
43
43
  }
44
- function $o(t) {
44
+ function Yo(t) {
45
45
  if (typeof t != "function")
46
46
  throw new Error("function expected");
47
47
  return !0;
@@ -60,20 +60,20 @@ function $e(t) {
60
60
  throw new Error("array expected");
61
61
  }
62
62
  function Ge(t, r) {
63
- if (!is(!0, r))
63
+ if (!as(!0, r))
64
64
  throw new Error(`${t}: array of strings expected`);
65
65
  }
66
- function cs(t, r) {
67
- if (!is(!1, r))
66
+ function is(t, r) {
67
+ if (!as(!1, r))
68
68
  throw new Error(`${t}: array of numbers expected`);
69
69
  }
70
70
  // @__NO_SIDE_EFFECTS__
71
- function Go(...t) {
71
+ function $o(...t) {
72
72
  const r = (n) => n, o = (n, l) => (c) => n(l(c)), a = t.map((n) => n.encode).reduceRight(o, r), s = t.map((n) => n.decode).reduce(o, r);
73
73
  return { encode: a, decode: s };
74
74
  }
75
75
  // @__NO_SIDE_EFFECTS__
76
- function Jo(t) {
76
+ function Go(t) {
77
77
  const r = typeof t == "string" ? t.split("") : t, o = r.length;
78
78
  Ge("alphabet", r);
79
79
  const a = new Map(r.map((s, n) => [s, n]));
@@ -93,14 +93,14 @@ function Jo(t) {
93
93
  };
94
94
  }
95
95
  // @__NO_SIDE_EFFECTS__
96
- function Xo(t = "") {
96
+ function Jo(t = "") {
97
97
  return Ye("join", t), {
98
98
  encode: (r) => (Ge("join.decode", r), r.join(t)),
99
99
  decode: (r) => (Ye("join.decode", r), r.split(t))
100
100
  };
101
101
  }
102
102
  // @__NO_SIDE_EFFECTS__
103
- function Zo(t, r = "=") {
103
+ function Xo(t, r = "=") {
104
104
  return Le(t), Ye("padding", r), {
105
105
  encode(o) {
106
106
  for (Ge("padding.encode", o); o.length * t % 8; )
@@ -154,7 +154,7 @@ function _t(t, r, o) {
154
154
  s.push(0);
155
155
  return s.reverse();
156
156
  }
157
- const ls = (t, r) => r === 0 ? t : ls(r, t % r), Je = /* @__NO_SIDE_EFFECTS__ */ (t, r) => t + (r - ls(t, r)), dt = /* @__PURE__ */ (() => {
157
+ const cs = (t, r) => r === 0 ? t : cs(r, t % r), Je = /* @__NO_SIDE_EFFECTS__ */ (t, r) => t + (r - cs(t, r)), dt = /* @__PURE__ */ (() => {
158
158
  let t = [];
159
159
  for (let r = 0; r < 40; r++)
160
160
  t.push(2 ** r);
@@ -188,7 +188,7 @@ function Wt(t, r, o, a) {
188
188
  return a && n > 0 && d.push(s >>> 0), d;
189
189
  }
190
190
  // @__NO_SIDE_EFFECTS__
191
- function en(t) {
191
+ function Zo(t) {
192
192
  Le(t);
193
193
  const r = 2 ** 8;
194
194
  return {
@@ -197,11 +197,11 @@ function en(t) {
197
197
  throw new Error("radix.encode input should be Uint8Array");
198
198
  return _t(Array.from(o), r, t);
199
199
  },
200
- decode: (o) => (cs("radix.decode", o), Uint8Array.from(_t(o, t, r)))
200
+ decode: (o) => (is("radix.decode", o), Uint8Array.from(_t(o, t, r)))
201
201
  };
202
202
  }
203
203
  // @__NO_SIDE_EFFECTS__
204
- function tn(t, r = !1) {
204
+ function en(t, r = !1) {
205
205
  if (Le(t), t <= 0 || t > 32)
206
206
  throw new Error("radix2: bits should be in (0..32]");
207
207
  if (/* @__PURE__ */ Je(8, t) > 32 || /* @__PURE__ */ Je(t, 8) > 32)
@@ -212,11 +212,11 @@ function tn(t, r = !1) {
212
212
  throw new Error("radix2.encode input should be Uint8Array");
213
213
  return Wt(Array.from(o), 8, t, !r);
214
214
  },
215
- decode: (o) => (cs("radix2.decode", o), Uint8Array.from(Wt(o, t, 8, r)))
215
+ decode: (o) => (is("radix2.decode", o), Uint8Array.from(Wt(o, t, 8, r)))
216
216
  };
217
217
  }
218
- function rn(t, r) {
219
- return Le(t), $o(r), {
218
+ function tn(t, r) {
219
+ return Le(t), Yo(r), {
220
220
  encode(o) {
221
221
  if (!Ke(o))
222
222
  throw new Error("checksum.encode: input should be Uint8Array");
@@ -235,49 +235,49 @@ function rn(t, r) {
235
235
  };
236
236
  }
237
237
  const Oe = {
238
- alphabet: Jo,
239
- chain: Go,
240
- checksum: rn,
238
+ alphabet: Go,
239
+ chain: $o,
240
+ checksum: tn,
241
241
  convertRadix: _t,
242
242
  convertRadix2: Wt,
243
- radix: en,
244
- radix2: tn,
245
- join: Xo,
246
- padding: Zo
243
+ radix: Zo,
244
+ radix2: en,
245
+ join: Jo,
246
+ padding: Xo
247
247
  };
248
- const sn = (t) => t[0] === "あいこくしん";
249
- function on(t) {
248
+ const rn = (t) => t[0] === "あいこくしん";
249
+ function sn(t) {
250
250
  if (typeof t != "string")
251
251
  throw new TypeError("invalid mnemonic type: " + typeof t);
252
252
  return t.normalize("NFKD");
253
253
  }
254
- function nn(t) {
255
- const r = on(t), o = r.split(" ");
254
+ function on(t) {
255
+ const r = sn(t), o = r.split(" ");
256
256
  if (![12, 15, 18, 21, 24].includes(o.length))
257
257
  throw new Error("Invalid mnemonic");
258
258
  return { nfkd: r, words: o };
259
259
  }
260
- function ds(t) {
261
- Vo(t, 16, 20, 24, 28, 32);
260
+ function ls(t) {
261
+ zo(t, 16, 20, 24, 28, 32);
262
262
  }
263
- const an = (t) => {
263
+ const nn = (t) => {
264
264
  const r = 8 - t.length / 4;
265
- return new Uint8Array([Ho(t)[0] >> r << r]);
265
+ return new Uint8Array([Vo(t)[0] >> r << r]);
266
266
  };
267
- function us(t) {
267
+ function ds(t) {
268
268
  if (!Array.isArray(t) || t.length !== 2048 || typeof t[0] != "string")
269
269
  throw new Error("Wordlist: expected array of 2048 strings");
270
270
  return t.forEach((r) => {
271
271
  if (typeof r != "string")
272
272
  throw new Error("wordlist: non-string element: " + r);
273
- }), Oe.chain(Oe.checksum(1, an), Oe.radix2(11, !0), Oe.alphabet(t));
273
+ }), Oe.chain(Oe.checksum(1, nn), Oe.radix2(11, !0), Oe.alphabet(t));
274
274
  }
275
275
  function Vt(t, r) {
276
- const { words: o } = nn(t), a = us(r).decode(o);
277
- return ds(a), a;
276
+ const { words: o } = on(t), a = ds(r).decode(o);
277
+ return ls(a), a;
278
278
  }
279
- function hs(t, r) {
280
- return ds(t), us(r).encode(t).join(sn(r) ? " " : " ");
279
+ function us(t, r) {
280
+ return ls(t), ds(r).encode(t).join(rn(r) ? " " : " ");
281
281
  }
282
282
  function Ht(t, r) {
283
283
  try {
@@ -2336,15 +2336,15 @@ zero
2336
2336
  zone
2337
2337
  zoo`.split(`
2338
2338
  `), le = 12;
2339
- function cn(t) {
2339
+ function an(t) {
2340
2340
  if (t.length !== 16)
2341
2341
  throw new Error(`Invalid share length: expected 16, got ${t.length}`);
2342
- const o = hs(t, ye).split(" ");
2342
+ const o = us(t, ye).split(" ");
2343
2343
  if (o.length !== le)
2344
2344
  throw new Error(`Unexpected word count: expected ${le}, got ${o.length}`);
2345
2345
  return o;
2346
2346
  }
2347
- function ln(t) {
2347
+ function cn(t) {
2348
2348
  if (t.length !== le)
2349
2349
  throw new Error(`Invalid word count: expected ${le}, got ${t.length}`);
2350
2350
  const r = t.join(" ").toLowerCase().trim();
@@ -2355,15 +2355,15 @@ function ln(t) {
2355
2355
  throw new Error(`Invalid entropy length: expected 16, got ${o.length}`);
2356
2356
  return He(o);
2357
2357
  }
2358
- function dn(t) {
2358
+ function ln(t) {
2359
2359
  if (t.length !== 16)
2360
2360
  throw new Error(`Invalid seed length: expected 16, got ${t.length}`);
2361
- const o = hs(t, ye).split(" ");
2361
+ const o = us(t, ye).split(" ");
2362
2362
  if (o.length !== le)
2363
2363
  throw new Error(`Unexpected word count: expected ${le}, got ${o.length}`);
2364
2364
  return o;
2365
2365
  }
2366
- function un(t) {
2366
+ function dn(t) {
2367
2367
  if (t.length !== le)
2368
2368
  throw new Error(`Invalid word count: expected ${le}, got ${t.length}`);
2369
2369
  const r = t.join(" ").toLowerCase().trim();
@@ -2372,9 +2372,9 @@ function un(t) {
2372
2372
  const o = Vt(r, ye);
2373
2373
  if (o.length !== 16)
2374
2374
  throw new Error(`Invalid entropy length: expected 16, got ${o.length}`);
2375
- return Js(o);
2375
+ return Gs(o);
2376
2376
  }
2377
- function ps(t) {
2377
+ function hs(t) {
2378
2378
  if (t.length !== le)
2379
2379
  return !1;
2380
2380
  const r = t.join(" ").toLowerCase().trim();
@@ -2383,20 +2383,20 @@ function ps(t) {
2383
2383
  function qe(t) {
2384
2384
  return ye.includes(t.toLowerCase().trim());
2385
2385
  }
2386
- function hn(t, r = 5) {
2386
+ function un(t, r = 5) {
2387
2387
  const o = t.toLowerCase().trim();
2388
2388
  return o.length === 0 ? [] : ye.filter((a) => a.startsWith(o)).slice(0, r);
2389
2389
  }
2390
- function pn(t) {
2390
+ function hn(t) {
2391
2391
  const r = [];
2392
2392
  for (let o = 0; o < t.length; o += 4)
2393
2393
  r.push(t.slice(o, o + 4));
2394
2394
  return r;
2395
2395
  }
2396
- function mn(t) {
2396
+ function pn(t) {
2397
2397
  return t.toLowerCase().replace(/[,\n\r\t]+/g, " ").split(/\s+/).map((r) => r.trim()).filter((r) => r.length > 0);
2398
2398
  }
2399
- function Tc({
2399
+ function Pc({
2400
2400
  className: t = "",
2401
2401
  variant: r = "default",
2402
2402
  size: o = "md",
@@ -2464,7 +2464,7 @@ function Tc({
2464
2464
  }
2465
2465
  );
2466
2466
  if (c && l) {
2467
- const A = l.name || l.email || "User", S = Jr(l.picture);
2467
+ const A = l.name || l.email || "User", S = Gr(l.picture);
2468
2468
  return (
2469
2469
  // L-08: Added keyboard handler and ref for accessibility
2470
2470
  /* @__PURE__ */ i("div", { className: "cedros-user-menu", ref: h, onKeyDown: v, children: [
@@ -2547,12 +2547,12 @@ function Qt() {
2547
2547
  retryAttempts: t.retryAttempts
2548
2548
  }),
2549
2549
  [t.serverUrl, t.requestTimeout, t.retryAttempts]
2550
- ), { checkLimit: d, getRemainingAttempts: u } = Xr({
2550
+ ), { checkLimit: d, getRemainingAttempts: u } = Jr({
2551
2551
  maxAttempts: 3,
2552
2552
  windowMs: 3e5
2553
2553
  }), m = x(
2554
2554
  async (p) => {
2555
- if (!es(p)) {
2555
+ if (!Zr(p)) {
2556
2556
  const h = {
2557
2557
  code: "VALIDATION_ERROR",
2558
2558
  message: "Please enter a valid email address"
@@ -2606,10 +2606,10 @@ function Qt() {
2606
2606
  remainingAttempts: u()
2607
2607
  };
2608
2608
  }
2609
- function fn(t) {
2609
+ function mn(t) {
2610
2610
  return typeof t == "object" && t !== null && "mfaRequired" in t && t.mfaRequired === !0;
2611
2611
  }
2612
- function gn() {
2612
+ function fn() {
2613
2613
  const { config: t, _internal: r } = te(), [o, a] = k(!1), [s, n] = k(!1), [l, c] = k(null), d = q(
2614
2614
  () => new ae({
2615
2615
  baseUrl: t.serverUrl,
@@ -2617,12 +2617,12 @@ function gn() {
2617
2617
  retryAttempts: t.retryAttempts
2618
2618
  }),
2619
2619
  [t.serverUrl, t.requestTimeout, t.retryAttempts]
2620
- ), { checkLimit: u, getRemainingAttempts: m } = Xr({
2620
+ ), { checkLimit: u, getRemainingAttempts: m } = Jr({
2621
2621
  maxAttempts: 3,
2622
2622
  windowMs: 3e5
2623
2623
  }), f = x(
2624
2624
  async (h) => {
2625
- if (!es(h)) {
2625
+ if (!Zr(h)) {
2626
2626
  const y = {
2627
2627
  code: "VALIDATION_ERROR",
2628
2628
  message: "Please enter a valid email address"
@@ -2666,7 +2666,7 @@ function gn() {
2666
2666
  token: h
2667
2667
  }
2668
2668
  );
2669
- return fn(y) || (t.callbacks?.onLoginSuccess?.(y.user, "email"), r?.handleLoginSuccess(y.user, y.tokens)), y;
2669
+ return mn(y) || (t.callbacks?.onLoginSuccess?.(y.user, "email"), r?.handleLoginSuccess(y.user, y.tokens)), y;
2670
2670
  } catch (y) {
2671
2671
  const b = W(y, "Unable to verify the sign-in link. Please try again.");
2672
2672
  throw c(b), b;
@@ -2689,7 +2689,7 @@ function gn() {
2689
2689
  remainingAttempts: m()
2690
2690
  };
2691
2691
  }
2692
- const wn = {
2692
+ const gn = {
2693
2693
  reset: {
2694
2694
  subtitle: "Enter your email address and we'll send you a link to reset your password.",
2695
2695
  button: "Send reset link",
@@ -2709,13 +2709,13 @@ const wn = {
2709
2709
  ] })
2710
2710
  }
2711
2711
  };
2712
- function yn({
2712
+ function wn({
2713
2713
  mode: t = "reset",
2714
2714
  onSuccess: r,
2715
2715
  onCancel: o,
2716
2716
  className: a = ""
2717
2717
  }) {
2718
- const [s, n] = k(""), l = Qt(), c = gn(), d = $r(), u = t === "instantLink" ? { submit: c.sendInstantLink, isLoading: c.isLoading, isSuccess: c.isSuccess, error: c.error, clearError: c.clearError } : { submit: l.forgotPassword, isLoading: l.isLoading, isSuccess: l.isSuccess, error: l.error, clearError: l.clearError }, m = wn[t], f = async (g) => {
2718
+ const [s, n] = k(""), l = Qt(), c = fn(), d = Yr(), u = t === "instantLink" ? { submit: c.sendInstantLink, isLoading: c.isLoading, isSuccess: c.isSuccess, error: c.error, clearError: c.clearError } : { submit: l.forgotPassword, isLoading: l.isLoading, isSuccess: l.isSuccess, error: l.error, clearError: l.clearError }, m = gn[t], f = async (g) => {
2719
2719
  g.preventDefault();
2720
2720
  try {
2721
2721
  await u.submit(s), r?.();
@@ -2807,7 +2807,7 @@ function yn({
2807
2807
  ] })
2808
2808
  ] });
2809
2809
  }
2810
- const bn = {
2810
+ const yn = {
2811
2811
  loading: !1,
2812
2812
  loaded: !1,
2813
2813
  error: null,
@@ -2842,7 +2842,7 @@ const bn = {
2842
2842
  this.loading = !1, this.loaded = !1, this.error = null, this.callbacks = [];
2843
2843
  }
2844
2844
  };
2845
- function An() {
2845
+ function bn() {
2846
2846
  const { config: t, _internal: r } = te(), [o, a] = k(!1), [s, n] = k(!1), [l, c] = k(null), [d, u] = k(null), m = J(t), f = q(
2847
2847
  () => new ae({
2848
2848
  baseUrl: t.serverUrl,
@@ -2873,7 +2873,7 @@ function An() {
2873
2873
  });
2874
2874
  }
2875
2875
  };
2876
- return bn.load().then(() => {
2876
+ return yn.load().then(() => {
2877
2877
  h && y();
2878
2878
  }).catch(() => {
2879
2879
  h && c({
@@ -2932,13 +2932,13 @@ function An() {
2932
2932
  clearPendingLink: p
2933
2933
  };
2934
2934
  }
2935
- function ms() {
2935
+ function ps() {
2936
2936
  if (typeof window > "u" || typeof navigator > "u")
2937
2937
  return !1;
2938
2938
  const t = navigator.userAgent.toLowerCase(), r = (navigator.platform || "").toLowerCase();
2939
2939
  return !!(/iphone|ipad|ipod/.test(t) || r.includes("mac") || /macintosh/.test(t) || r === "macintel" && navigator.maxTouchPoints > 1);
2940
2940
  }
2941
- function vn({
2941
+ function An({
2942
2942
  onSuccess: t,
2943
2943
  onError: r,
2944
2944
  className: o = "",
@@ -2947,7 +2947,7 @@ function vn({
2947
2947
  disabled: n = !1,
2948
2948
  hideOnNonApple: l = !0
2949
2949
  }) {
2950
- const { signIn: c, isLoading: d, isInitialized: u } = An(), [m] = k(() => ms());
2950
+ const { signIn: c, isLoading: d, isInitialized: u } = bn(), [m] = k(() => ps());
2951
2951
  if (l && !m)
2952
2952
  return null;
2953
2953
  const f = async () => {
@@ -2994,12 +2994,12 @@ function vn({
2994
2994
  function oe(t, r) {
2995
2995
  if (!t) throw new Error(r);
2996
2996
  }
2997
- function kn(t) {
2997
+ function vn(t) {
2998
2998
  return t.replace(/-/g, "+").replace(/_/g, "/");
2999
2999
  }
3000
3000
  function Xe(t) {
3001
3001
  oe(typeof t == "string" && t.length > 0, "Expected base64url string");
3002
- const r = kn(t), o = r + "=".repeat((4 - r.length % 4) % 4), a = atob(o), s = new Uint8Array(a.length);
3002
+ const r = vn(t), o = r + "=".repeat((4 - r.length % 4) % 4), a = atob(o), s = new Uint8Array(a.length);
3003
3003
  for (let n = 0; n < a.length; n++) s[n] = a.charCodeAt(n);
3004
3004
  return s.buffer;
3005
3005
  }
@@ -3009,7 +3009,7 @@ function Ce(t) {
3009
3009
  for (let s = 0; s < r.length; s++) o += String.fromCharCode(r[s]);
3010
3010
  return btoa(o).replace(/\+/g, "-").replace(/\//g, "_").replace(/=+$/g, "");
3011
3011
  }
3012
- function fs(t) {
3012
+ function ms(t) {
3013
3013
  oe(typeof t == "object" && t !== null, "Invalid credential descriptor");
3014
3014
  const r = t;
3015
3015
  return oe(typeof r.type == "string", "Invalid credential descriptor type"), oe(typeof r.id == "string", "Invalid credential descriptor id"), {
@@ -3024,7 +3024,7 @@ function ut(t) {
3024
3024
  oe(r && typeof r == "object", "Missing creation options.publicKey"), oe(typeof r.challenge == "string", "Missing creation challenge"), oe(typeof r.rp == "object" && r.rp !== null, "Missing rp"), oe(typeof r.user == "object" && r.user !== null, "Missing user");
3025
3025
  const o = r.rp, a = r.user;
3026
3026
  oe(typeof o.name == "string", "Missing rp.name"), oe(typeof a.id == "string", "Missing user.id"), oe(typeof a.name == "string", "Missing user.name"), oe(typeof a.displayName == "string", "Missing user.displayName");
3027
- const s = Array.isArray(r.excludeCredentials) ? r.excludeCredentials.map(fs) : void 0, n = Array.isArray(r.pubKeyCredParams) ? r.pubKeyCredParams.map((c) => ({
3027
+ const s = Array.isArray(r.excludeCredentials) ? r.excludeCredentials.map(ms) : void 0, n = Array.isArray(r.pubKeyCredParams) ? r.pubKeyCredParams.map((c) => ({
3028
3028
  type: c.type,
3029
3029
  alg: c.alg
3030
3030
  })) : [], l = {
@@ -3047,11 +3047,11 @@ function ut(t) {
3047
3047
  };
3048
3048
  return l.hints = ["client-device"], l;
3049
3049
  }
3050
- function or(t) {
3050
+ function nr(t) {
3051
3051
  oe(t && typeof t == "object", "Missing request options");
3052
3052
  const r = t.publicKey;
3053
3053
  oe(r && typeof r == "object", "Missing request options.publicKey"), oe(typeof r.challenge == "string", "Missing request challenge");
3054
- const o = Array.isArray(r.allowCredentials) ? r.allowCredentials.map(fs) : void 0, a = {
3054
+ const o = Array.isArray(r.allowCredentials) ? r.allowCredentials.map(ms) : void 0, a = {
3055
3055
  challenge: Xe(r.challenge),
3056
3056
  rpId: typeof r.rpId == "string" ? r.rpId : void 0,
3057
3057
  timeout: typeof r.timeout == "number" ? r.timeout : void 0,
@@ -3086,7 +3086,7 @@ function Te(t) {
3086
3086
  response: s
3087
3087
  };
3088
3088
  }
3089
- function Nn() {
3089
+ function kn() {
3090
3090
  if (typeof window < "u") {
3091
3091
  const t = window.location?.hostname, r = t === "localhost" || t === "127.0.0.1" || t?.endsWith(".localhost");
3092
3092
  if (!(window.isSecureContext === !0) && !r)
@@ -3102,7 +3102,7 @@ function Be(t) {
3102
3102
  message: "Passkeys require HTTPS and a correctly configured relying party (WEBAUTHN_RP_ID / WEBAUTHN_RP_ORIGIN)"
3103
3103
  } : null;
3104
3104
  }
3105
- function gs() {
3105
+ function fs() {
3106
3106
  const { config: t, _internal: r } = te(), [o, a] = k(!1), [s, n] = k(null), l = q(
3107
3107
  () => new ae({
3108
3108
  baseUrl: t.serverUrl,
@@ -3112,7 +3112,7 @@ function gs() {
3112
3112
  getAccessToken: r?.getAccessToken
3113
3113
  }),
3114
3114
  [r?.getAccessToken, t.serverUrl, t.requestTimeout, t.retryAttempts]
3115
- ), c = x(() => n(null), []), d = Nn(), u = x(
3115
+ ), c = x(() => n(null), []), d = kn(), u = x(
3116
3116
  async (w) => {
3117
3117
  if (!d) {
3118
3118
  const p = {
@@ -3126,7 +3126,7 @@ function gs() {
3126
3126
  const p = await l.post(
3127
3127
  "/webauthn/auth/options",
3128
3128
  { email: w?.email }
3129
- ), h = or(p.options), y = await navigator.credentials.get({
3129
+ ), h = nr(p.options), y = await navigator.credentials.get({
3130
3130
  publicKey: h
3131
3131
  });
3132
3132
  if (!y)
@@ -3243,7 +3243,7 @@ function gs() {
3243
3243
  const b = await l.post(
3244
3244
  "/webauthn/auth/options",
3245
3245
  {}
3246
- ), v = or(b.options), N = await navigator.credentials.get({
3246
+ ), v = nr(b.options), N = await navigator.credentials.get({
3247
3247
  publicKey: v
3248
3248
  });
3249
3249
  if (!N)
@@ -3274,13 +3274,13 @@ function gs() {
3274
3274
  signupWithPasskey: f
3275
3275
  };
3276
3276
  }
3277
- function Cn({
3277
+ function Nn({
3278
3278
  onSuccess: t,
3279
3279
  className: r = "",
3280
3280
  children: o,
3281
3281
  disabled: a
3282
3282
  }) {
3283
- const { continueWithPasskey: s, isLoading: n, isSupported: l } = gs(), c = a || !l || n;
3283
+ const { continueWithPasskey: s, isLoading: n, isSupported: l } = fs(), c = a || !l || n;
3284
3284
  return /* @__PURE__ */ i(
3285
3285
  "button",
3286
3286
  {
@@ -3295,13 +3295,13 @@ function Cn({
3295
3295
  disabled: c,
3296
3296
  "aria-disabled": c,
3297
3297
  children: [
3298
- n ? /* @__PURE__ */ e(j, { size: "sm" }) : /* @__PURE__ */ e("span", { className: "cedros-social-icon", "aria-hidden": "true", children: /* @__PURE__ */ e(En, {}) }),
3298
+ n ? /* @__PURE__ */ e(j, { size: "sm" }) : /* @__PURE__ */ e("span", { className: "cedros-social-icon", "aria-hidden": "true", children: /* @__PURE__ */ e(Cn, {}) }),
3299
3299
  /* @__PURE__ */ e("span", { children: o ?? "Continue with Passkey" })
3300
3300
  ]
3301
3301
  }
3302
3302
  );
3303
3303
  }
3304
- function En() {
3304
+ function Cn() {
3305
3305
  return /* @__PURE__ */ i(
3306
3306
  "svg",
3307
3307
  {
@@ -3327,44 +3327,11 @@ function En() {
3327
3327
  }
3328
3328
  );
3329
3329
  }
3330
- const Sn = [
3331
- "phantom",
3332
- "solflare",
3333
- "backpack",
3334
- "glow",
3335
- "slope",
3336
- "sollet",
3337
- "coin98",
3338
- "clover",
3339
- "mathWallet",
3340
- "ledger",
3341
- "torus",
3342
- "walletconnect"
3343
- ];
3344
- function nr(t) {
3345
- if (!t || typeof t != "object") return !1;
3346
- const r = t;
3347
- return typeof r.connect == "function" || typeof r.signMessage == "function" || typeof r.signTransaction == "function" || "isConnected" in r;
3348
- }
3349
- function xn() {
3350
- return typeof navigator < "u" && /Android/i.test(navigator.userAgent);
3351
- }
3352
- function ar() {
3353
- if (typeof window > "u")
3354
- return !1;
3355
- const t = window;
3356
- for (const r of Sn) {
3357
- const o = t[r];
3358
- if (o && typeof o == "object" && "solana" in o && nr(o.solana))
3359
- return !0;
3360
- }
3361
- return !!(nr(t.solana) || xn());
3362
- }
3363
3330
  const Re = ["login", "register"];
3364
3331
  function Kt({ onSuccess: t, className: r = "", defaultTab: o = "login" }) {
3365
- const { config: a, socialButtonOrder: s } = te(), [n, l] = k(o), [c, d] = k("form"), [u, m] = k(() => ar()), [f] = k(() => ms());
3332
+ const { config: a, socialButtonOrder: s } = te(), [n, l] = k(o), [c, d] = k("form"), [u, m] = k(() => or()), [f] = k(() => ps());
3366
3333
  _(() => {
3367
- const P = () => m(ar());
3334
+ const P = () => m(or());
3368
3335
  return P(), window.addEventListener("load", P), window.addEventListener("focus", P), () => {
3369
3336
  window.removeEventListener("load", P), window.removeEventListener("focus", P);
3370
3337
  };
@@ -3403,17 +3370,17 @@ function Kt({ onSuccess: t, className: r = "", defaultTab: o = "login" }) {
3403
3370
  solana: !0,
3404
3371
  webauthn: !0
3405
3372
  }, h = p.email !== !1, y = p.google !== !1 && a.googleClientId, b = p.apple !== !1 && a.appleClientId && f, v = p.solana !== !1 && u, N = p.webauthn !== !1, E = h && (y || b || v || N);
3406
- return c === "forgotPassword" ? /* @__PURE__ */ e("div", { className: `cedros-login-form ${r}`, children: /* @__PURE__ */ e(yn, { mode: g, onCancel: () => d("form") }) }) : /* @__PURE__ */ i("div", { className: `cedros-login-form ${r}`, children: [
3373
+ return c === "forgotPassword" ? /* @__PURE__ */ e("div", { className: `cedros-login-form ${r}`, children: /* @__PURE__ */ e(wn, { mode: g, onCancel: () => d("form") }) }) : /* @__PURE__ */ i("div", { className: `cedros-login-form ${r}`, children: [
3407
3374
  (N || y || b || v) && (() => {
3408
3375
  const P = {
3409
- webauthn: N ? /* @__PURE__ */ e(Cn, { onSuccess: t }) : null,
3410
- google: y ? /* @__PURE__ */ e(lo, { onSuccess: t }) : null,
3411
- apple: b ? /* @__PURE__ */ e(vn, { onSuccess: t }) : null,
3412
- solana: v ? /* @__PURE__ */ e(uo, { onSuccess: t }) : null
3376
+ webauthn: N ? /* @__PURE__ */ e(Nn, { onSuccess: t }) : null,
3377
+ google: y ? /* @__PURE__ */ e(co, { onSuccess: t }) : null,
3378
+ apple: b ? /* @__PURE__ */ e(An, { onSuccess: t }) : null,
3379
+ solana: v ? /* @__PURE__ */ e(lo, { onSuccess: t }) : null
3413
3380
  };
3414
3381
  return /* @__PURE__ */ e("div", { className: "cedros-social-buttons", children: (s ?? ["webauthn", "google", "apple", "solana"]).map((S) => {
3415
3382
  const L = P[S];
3416
- return L ? /* @__PURE__ */ e(so, { children: L }, S) : null;
3383
+ return L ? /* @__PURE__ */ e(ro, { children: L }, S) : null;
3417
3384
  }) });
3418
3385
  })(),
3419
3386
  E && /* @__PURE__ */ e("div", { className: "cedros-divider", children: /* @__PURE__ */ e("span", { children: "Or continue with" }) }),
@@ -3457,14 +3424,14 @@ function Kt({ onSuccess: t, className: r = "", defaultTab: o = "login" }) {
3457
3424
  id: `cedros-tabpanel-${n}`,
3458
3425
  "aria-labelledby": `cedros-tab-${n}`,
3459
3426
  children: n === "login" ? /* @__PURE__ */ e(
3460
- io,
3427
+ ao,
3461
3428
  {
3462
3429
  onSuccess: t,
3463
3430
  onSwitchToRegister: () => l("register"),
3464
3431
  onForgotPassword: () => d("forgotPassword")
3465
3432
  }
3466
3433
  ) : /* @__PURE__ */ e(
3467
- co,
3434
+ io,
3468
3435
  {
3469
3436
  onSuccess: t,
3470
3437
  onSwitchToLogin: () => l("login")
@@ -3475,7 +3442,7 @@ function Kt({ onSuccess: t, className: r = "", defaultTab: o = "login" }) {
3475
3442
  ] })
3476
3443
  ] });
3477
3444
  }
3478
- class Pn extends oo {
3445
+ class En extends so {
3479
3446
  constructor(r) {
3480
3447
  super(r), this.state = {
3481
3448
  hasError: !1,
@@ -3540,7 +3507,7 @@ class Pn extends oo {
3540
3507
  ] }) }) : s;
3541
3508
  }
3542
3509
  }
3543
- function Bc({ className: t = "", title: r = "Sign in to your account" }) {
3510
+ function Lc({ className: t = "", title: r = "Sign in to your account" }) {
3544
3511
  const { isModalOpen: o, closeModal: a } = te(), s = J(null), n = J(null), l = J(a);
3545
3512
  if (_(() => {
3546
3513
  l.current = a;
@@ -3601,14 +3568,14 @@ function Bc({ className: t = "", title: r = "Sign in to your account" }) {
3601
3568
  }
3602
3569
  )
3603
3570
  ] }),
3604
- /* @__PURE__ */ e("div", { className: "cedros-modal-content", children: /* @__PURE__ */ e(Pn, { children: /* @__PURE__ */ e(Kt, { onSuccess: a }) }) })
3571
+ /* @__PURE__ */ e("div", { className: "cedros-modal-content", children: /* @__PURE__ */ e(En, { children: /* @__PURE__ */ e(Kt, { onSuccess: a }) }) })
3605
3572
  ]
3606
3573
  }
3607
3574
  )
3608
3575
  }
3609
3576
  );
3610
3577
  }
3611
- function Rc({
3578
+ function Mc({
3612
3579
  token: t,
3613
3580
  onSuccess: r,
3614
3581
  onLoginClick: o,
@@ -3716,7 +3683,7 @@ function Rc({
3716
3683
  ] });
3717
3684
  }
3718
3685
  function Ot({ org: t, size: r = "lg", className: o = "" }) {
3719
- const a = Jr(t.logoUrl), s = r === "lg" ? "cedros-org-avatar-lg" : "", n = ["cedros-org-avatar", s, o].filter(Boolean).join(" "), l = ["cedros-org-avatar-placeholder", s, o].filter(Boolean).join(" ");
3686
+ const a = Gr(t.logoUrl), s = r === "lg" ? "cedros-org-avatar-lg" : "", n = ["cedros-org-avatar", s, o].filter(Boolean).join(" "), l = ["cedros-org-avatar-placeholder", s, o].filter(Boolean).join(" ");
3720
3687
  return a ? /* @__PURE__ */ e(
3721
3688
  "img",
3722
3689
  {
@@ -3727,7 +3694,7 @@ function Ot({ org: t, size: r = "lg", className: o = "" }) {
3727
3694
  }
3728
3695
  ) : /* @__PURE__ */ e("div", { className: l, children: t.name[0]?.toUpperCase() || "?" });
3729
3696
  }
3730
- function Ic({
3697
+ function Tc({
3731
3698
  orgs: t,
3732
3699
  activeOrg: r,
3733
3700
  isLoading: o = !1,
@@ -3783,9 +3750,9 @@ function Ic({
3783
3750
  r ? /* @__PURE__ */ i($, { children: [
3784
3751
  /* @__PURE__ */ e(Ot, { org: r, size: "sm" }),
3785
3752
  /* @__PURE__ */ e("span", { className: "cedros-org-selector-name", children: r.name }),
3786
- /* @__PURE__ */ e(ir, { role: r.membership.role })
3753
+ /* @__PURE__ */ e(ar, { role: r.membership.role })
3787
3754
  ] }) : /* @__PURE__ */ e("span", { className: "cedros-org-selector-placeholder", children: l }),
3788
- /* @__PURE__ */ e(Ln, { isOpen: c })
3755
+ /* @__PURE__ */ e(Sn, { isOpen: c })
3789
3756
  ]
3790
3757
  }
3791
3758
  ),
@@ -3801,8 +3768,8 @@ function Ic({
3801
3768
  children: [
3802
3769
  /* @__PURE__ */ e(Ot, { org: w, size: "sm" }),
3803
3770
  /* @__PURE__ */ e("span", { className: "cedros-org-selector-item-name", children: w.name }),
3804
- /* @__PURE__ */ e(ir, { role: w.membership.role }),
3805
- w.id === r?.id && /* @__PURE__ */ e(Mn, {})
3771
+ /* @__PURE__ */ e(ar, { role: w.membership.role }),
3772
+ w.id === r?.id && /* @__PURE__ */ e(xn, {})
3806
3773
  ]
3807
3774
  }
3808
3775
  ) }, w.id)) }),
@@ -3815,7 +3782,7 @@ function Ic({
3815
3782
  className: "cedros-org-selector-create",
3816
3783
  onClick: f,
3817
3784
  children: [
3818
- /* @__PURE__ */ e(Tn, {}),
3785
+ /* @__PURE__ */ e(Pn, {}),
3819
3786
  /* @__PURE__ */ e("span", { children: "Create organization" })
3820
3787
  ]
3821
3788
  }
@@ -3824,10 +3791,10 @@ function Ic({
3824
3791
  ] })
3825
3792
  ] });
3826
3793
  }
3827
- function ir({ role: t }) {
3794
+ function ar({ role: t }) {
3828
3795
  return /* @__PURE__ */ e("span", { className: `cedros-org-role cedros-org-role-${t}`, children: t });
3829
3796
  }
3830
- function Ln({ isOpen: t }) {
3797
+ function Sn({ isOpen: t }) {
3831
3798
  return /* @__PURE__ */ e(
3832
3799
  "svg",
3833
3800
  {
@@ -3850,7 +3817,7 @@ function Ln({ isOpen: t }) {
3850
3817
  }
3851
3818
  );
3852
3819
  }
3853
- function Mn() {
3820
+ function xn() {
3854
3821
  return /* @__PURE__ */ e(
3855
3822
  "svg",
3856
3823
  {
@@ -3873,7 +3840,7 @@ function Mn() {
3873
3840
  }
3874
3841
  );
3875
3842
  }
3876
- function Tn() {
3843
+ function Pn() {
3877
3844
  return /* @__PURE__ */ e(
3878
3845
  "svg",
3879
3846
  {
@@ -3896,7 +3863,7 @@ function Tn() {
3896
3863
  }
3897
3864
  );
3898
3865
  }
3899
- function Bn() {
3866
+ function Ln() {
3900
3867
  return /* @__PURE__ */ e("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ e(
3901
3868
  "path",
3902
3869
  {
@@ -3908,7 +3875,7 @@ function Bn() {
3908
3875
  }
3909
3876
  ) });
3910
3877
  }
3911
- function Rn() {
3878
+ function Mn() {
3912
3879
  return /* @__PURE__ */ e(
3913
3880
  "svg",
3914
3881
  {
@@ -3931,7 +3898,7 @@ function Rn() {
3931
3898
  }
3932
3899
  );
3933
3900
  }
3934
- function In() {
3901
+ function Tn() {
3935
3902
  return /* @__PURE__ */ e("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ e(
3936
3903
  "path",
3937
3904
  {
@@ -3943,7 +3910,7 @@ function In() {
3943
3910
  }
3944
3911
  ) });
3945
3912
  }
3946
- function Dn({
3913
+ function Bn({
3947
3914
  orgs: t,
3948
3915
  activeOrg: r,
3949
3916
  isLoading: o,
@@ -3973,17 +3940,17 @@ function Dn({
3973
3940
  /* @__PURE__ */ e("span", { className: `cedros-org-role cedros-org-role-${n.membership.role}`, children: n.membership.role }),
3974
3941
  n.isPersonal && /* @__PURE__ */ e("span", { className: "cedros-org-personal-badge", children: "Personal" })
3975
3942
  ] }),
3976
- n.id === r?.id && /* @__PURE__ */ e(Rn, {})
3943
+ n.id === r?.id && /* @__PURE__ */ e(Mn, {})
3977
3944
  ]
3978
3945
  }
3979
3946
  ) }, n.id)) }),
3980
3947
  s && /* @__PURE__ */ i("button", { type: "button", className: "cedros-org-switcher-create", onClick: s, children: [
3981
- /* @__PURE__ */ e(In, {}),
3948
+ /* @__PURE__ */ e(Tn, {}),
3982
3949
  /* @__PURE__ */ e("span", { children: "Create new organization" })
3983
3950
  ] })
3984
3951
  ] });
3985
3952
  }
3986
- function Un({ isLoading: t, onSubmit: r, onCancel: o }) {
3953
+ function Rn({ isLoading: t, onSubmit: r, onCancel: o }) {
3987
3954
  const [a, s] = k(""), [n, l] = k(""), [c, d] = k(null), u = x((f) => {
3988
3955
  s(f);
3989
3956
  const g = f.toLowerCase().replace(/\s+/g, "-").replace(/[^a-z0-9-]/g, "").substring(0, 50);
@@ -4069,7 +4036,7 @@ function Un({ isLoading: t, onSubmit: r, onCancel: o }) {
4069
4036
  ] })
4070
4037
  ] });
4071
4038
  }
4072
- function Dc({
4039
+ function Bc({
4073
4040
  isOpen: t,
4074
4041
  onClose: r,
4075
4042
  orgs: o,
@@ -4081,7 +4048,7 @@ function Dc({
4081
4048
  className: d = ""
4082
4049
  }) {
4083
4050
  return t ? /* @__PURE__ */ e(
4084
- Fn,
4051
+ In,
4085
4052
  {
4086
4053
  onClose: r,
4087
4054
  orgs: o,
@@ -4094,7 +4061,7 @@ function Dc({
4094
4061
  }
4095
4062
  ) : null;
4096
4063
  }
4097
- function Fn({
4064
+ function In({
4098
4065
  onClose: t,
4099
4066
  orgs: r,
4100
4067
  activeOrg: o,
@@ -4149,12 +4116,12 @@ function Fn({
4149
4116
  children: [
4150
4117
  /* @__PURE__ */ i("div", { className: "cedros-modal-header", children: [
4151
4118
  /* @__PURE__ */ e("h2", { id: "org-switcher-title", className: "cedros-modal-title", children: d === "list" ? "Switch Organization" : "Create Organization" }),
4152
- /* @__PURE__ */ e("button", { type: "button", className: "cedros-modal-close", onClick: t, "aria-label": "Close", children: /* @__PURE__ */ e(Bn, {}) })
4119
+ /* @__PURE__ */ e("button", { type: "button", className: "cedros-modal-close", onClick: t, "aria-label": "Close", children: /* @__PURE__ */ e(Ln, {}) })
4153
4120
  ] }),
4154
4121
  /* @__PURE__ */ i("div", { className: "cedros-modal-body", children: [
4155
4122
  s && /* @__PURE__ */ e(X, { error: s }),
4156
4123
  d === "list" ? /* @__PURE__ */ e(
4157
- Dn,
4124
+ Bn,
4158
4125
  {
4159
4126
  orgs: r,
4160
4127
  activeOrg: o,
@@ -4163,7 +4130,7 @@ function Fn({
4163
4130
  onCreateClick: l ? () => u("create") : void 0
4164
4131
  }
4165
4132
  ) : /* @__PURE__ */ e(
4166
- Un,
4133
+ Rn,
4167
4134
  {
4168
4135
  isLoading: a,
4169
4136
  onSubmit: p,
@@ -4175,7 +4142,7 @@ function Fn({
4175
4142
  }
4176
4143
  ) });
4177
4144
  }
4178
- function _n({
4145
+ function Dn({
4179
4146
  sessions: t,
4180
4147
  isLoading: r = !1,
4181
4148
  error: o,
@@ -4205,10 +4172,10 @@ function _n({
4205
4172
  /* @__PURE__ */ e("span", { children: "Loading sessions..." })
4206
4173
  ] }) : o ? /* @__PURE__ */ e("div", { className: `cedros-session-list ${s}`, children: /* @__PURE__ */ e(X, { error: o }) }) : t.length === 0 ? /* @__PURE__ */ e("div", { className: `cedros-session-list cedros-session-list-empty ${s}`, children: /* @__PURE__ */ e("p", { children: "No active sessions found." }) }) : /* @__PURE__ */ i("div", { className: `cedros-session-list ${s}`, children: [
4207
4174
  c && /* @__PURE__ */ i("div", { className: "cedros-session-success", role: "status", children: [
4208
- /* @__PURE__ */ e(Vn, {}),
4175
+ /* @__PURE__ */ e(qn, {}),
4209
4176
  /* @__PURE__ */ e("span", { children: "All other sessions have been revoked." })
4210
4177
  ] }),
4211
- /* @__PURE__ */ e("ul", { className: "cedros-session-items", children: t.map((g) => /* @__PURE__ */ e(Wn, { session: g }, g.id)) }),
4178
+ /* @__PURE__ */ e("ul", { className: "cedros-session-items", children: t.map((g) => /* @__PURE__ */ e(Un, { session: g }, g.id)) }),
4212
4179
  a && m > 0 && /* @__PURE__ */ e("div", { className: "cedros-session-actions", children: /* @__PURE__ */ e(
4213
4180
  "button",
4214
4181
  {
@@ -4224,10 +4191,10 @@ function _n({
4224
4191
  ) })
4225
4192
  ] });
4226
4193
  }
4227
- function Wn({ session: t }) {
4228
- const r = On(t.userAgent), o = jn(t.expiresAt);
4194
+ function Un({ session: t }) {
4195
+ const r = Fn(t.userAgent), o = Wn(t.expiresAt);
4229
4196
  return /* @__PURE__ */ i("li", { className: `cedros-session-item ${t.isCurrent ? "cedros-session-item-current" : ""}`, children: [
4230
- /* @__PURE__ */ e("div", { className: "cedros-session-item-icon", children: /* @__PURE__ */ e(zn, { userAgent: t.userAgent }) }),
4197
+ /* @__PURE__ */ e("div", { className: "cedros-session-item-icon", children: /* @__PURE__ */ e(On, { userAgent: t.userAgent }) }),
4231
4198
  /* @__PURE__ */ i("div", { className: "cedros-session-item-info", children: [
4232
4199
  /* @__PURE__ */ i("div", { className: "cedros-session-item-main", children: [
4233
4200
  /* @__PURE__ */ i("span", { className: "cedros-session-item-device", children: [
@@ -4244,14 +4211,14 @@ function Wn({ session: t }) {
4244
4211
  ] }),
4245
4212
  /* @__PURE__ */ i("span", { className: "cedros-session-item-created", children: [
4246
4213
  "Started ",
4247
- qn(t.createdAt)
4214
+ _n(t.createdAt)
4248
4215
  ] }),
4249
4216
  o && /* @__PURE__ */ e("span", { className: "cedros-session-expiring", children: "Expires soon" })
4250
4217
  ] })
4251
4218
  ] })
4252
4219
  ] });
4253
4220
  }
4254
- function On(t) {
4221
+ function Fn(t) {
4255
4222
  if (!t)
4256
4223
  return { browser: "Unknown browser", os: "Unknown device" };
4257
4224
  let r = "Unknown browser";
@@ -4259,7 +4226,7 @@ function On(t) {
4259
4226
  let o = "Unknown device";
4260
4227
  return t.includes("Windows") ? o = "Windows" : t.includes("Mac") ? o = "macOS" : t.includes("Linux") ? o = "Linux" : t.includes("iPhone") || t.includes("iPad") ? o = "iOS" : t.includes("Android") && (o = "Android"), { browser: r, os: o };
4261
4228
  }
4262
- function qn(t) {
4229
+ function _n(t) {
4263
4230
  const r = new Date(t), a = (/* @__PURE__ */ new Date()).getTime() - r.getTime(), s = Math.floor(a / (1e3 * 60)), n = Math.floor(a / (1e3 * 60 * 60)), l = Math.floor(a / (1e3 * 60 * 60 * 24));
4264
4231
  return s < 1 ? "just now" : s < 60 ? `${s} minute${s > 1 ? "s" : ""} ago` : n < 24 ? `${n} hour${n > 1 ? "s" : ""} ago` : l < 7 ? `${l} day${l > 1 ? "s" : ""} ago` : r.toLocaleDateString(void 0, {
4265
4232
  year: "numeric",
@@ -4267,11 +4234,11 @@ function qn(t) {
4267
4234
  day: "numeric"
4268
4235
  });
4269
4236
  }
4270
- function jn(t) {
4237
+ function Wn(t) {
4271
4238
  const r = new Date(t), o = /* @__PURE__ */ new Date(), a = 3600 * 1e3;
4272
4239
  return r.getTime() - o.getTime() < a;
4273
4240
  }
4274
- function zn({ userAgent: t }) {
4241
+ function On({ userAgent: t }) {
4275
4242
  return t?.includes("iPhone") || t?.includes("iPad") || t?.includes("Android") ? /* @__PURE__ */ i(
4276
4243
  "svg",
4277
4244
  {
@@ -4303,7 +4270,7 @@ function zn({ userAgent: t }) {
4303
4270
  }
4304
4271
  );
4305
4272
  }
4306
- function Vn() {
4273
+ function qn() {
4307
4274
  return /* @__PURE__ */ e(
4308
4275
  "svg",
4309
4276
  {
@@ -4326,12 +4293,12 @@ function Vn() {
4326
4293
  }
4327
4294
  );
4328
4295
  }
4329
- function Hn({
4296
+ function jn({
4330
4297
  words: t,
4331
4298
  onConfirm: r,
4332
4299
  className: o = ""
4333
4300
  }) {
4334
- const [a, s] = k(!1), [n, l] = k(!1), c = J(null), d = pn(t), u = x(async () => {
4301
+ const [a, s] = k(!1), [n, l] = k(!1), c = J(null), d = hn(t), u = x(async () => {
4335
4302
  try {
4336
4303
  await navigator.clipboard.writeText(t.join(" ")), s(!0), c.current !== null && window.clearTimeout(c.current), c.current = window.setTimeout(() => s(!1), 2e3);
4337
4304
  } catch {
@@ -4424,18 +4391,18 @@ function Hn({
4424
4391
  ] })
4425
4392
  ] });
4426
4393
  }
4427
- function Qn({
4394
+ function zn({
4428
4395
  onSubmit: t,
4429
4396
  onCancel: r,
4430
4397
  isSubmitting: o = !1,
4431
4398
  error: a,
4432
4399
  className: s = ""
4433
4400
  }) {
4434
- const [n, l] = k(Array(le).fill("")), [c, d] = k(null), [u, m] = k([]), [f, g] = k(null), w = $r(), p = J(null), h = x(
4401
+ const [n, l] = k(Array(le).fill("")), [c, d] = k(null), [u, m] = k([]), [f, g] = k(null), w = Yr(), p = J(null), h = x(
4435
4402
  (A, S) => {
4436
4403
  const L = [...n];
4437
4404
  if (L[A] = S.toLowerCase().trim(), l(L), S.length > 0) {
4438
- const C = hn(S, 5);
4405
+ const C = un(S, 5);
4439
4406
  m(C);
4440
4407
  } else
4441
4408
  m([]);
@@ -4467,7 +4434,7 @@ function Qn({
4467
4434
  },
4468
4435
  [c, n]
4469
4436
  ), N = x((A) => {
4470
- const S = A.clipboardData.getData("text"), L = mn(S);
4437
+ const S = A.clipboardData.getData("text"), L = pn(S);
4471
4438
  L.length === le && (A.preventDefault(), l(L), g(null));
4472
4439
  }, []), E = x(
4473
4440
  (A) => {
@@ -4480,7 +4447,7 @@ function Qn({
4480
4447
  g(`Invalid words: ${L.map((C) => `#${C.index}`).join(", ")}`);
4481
4448
  return;
4482
4449
  }
4483
- if (!ps(n)) {
4450
+ if (!hs(n)) {
4484
4451
  g("Invalid recovery phrase - please check your words");
4485
4452
  return;
4486
4453
  }
@@ -4559,10 +4526,10 @@ function Qn({
4559
4526
  }
4560
4527
  );
4561
4528
  }
4562
- function Uc({ capabilities: t, className: r = "" }) {
4529
+ function Rc({ capabilities: t, className: r = "" }) {
4563
4530
  if (t.allSupported)
4564
4531
  return null;
4565
- const o = Xs(t), a = Zs();
4532
+ const o = Js(t), a = Xs();
4566
4533
  return /* @__PURE__ */ i("div", { className: `cedros-capability-warning ${r}`, role: "alert", children: [
4567
4534
  /* @__PURE__ */ i("div", { className: "cedros-warning-header", children: [
4568
4535
  /* @__PURE__ */ e(
@@ -4636,11 +4603,11 @@ function Uc({ capabilities: t, className: r = "" }) {
4636
4603
  ] })
4637
4604
  ] });
4638
4605
  }
4639
- const Kn = ["share_c_only", "full_seed", "none"];
4640
- function Yn(t) {
4641
- return t && Kn.includes(t) ? t : "share_c_only";
4606
+ const Vn = ["share_c_only", "full_seed", "none"];
4607
+ function Hn(t) {
4608
+ return t && Vn.includes(t) ? t : "share_c_only";
4642
4609
  }
4643
- const $n = {
4610
+ const Qn = {
4644
4611
  walletEnabled: !1,
4645
4612
  recoveryMode: "share_c_only",
4646
4613
  unlockTtlSeconds: 900,
@@ -4649,7 +4616,7 @@ const $n = {
4649
4616
  refetch: async () => {
4650
4617
  }
4651
4618
  };
4652
- function ws() {
4619
+ function gs() {
4653
4620
  const t = ve(), [r, o] = k(null), [a, s] = k(!!t), [n, l] = k(null), c = q(() => t ? new ae({
4654
4621
  baseUrl: t.config.serverUrl,
4655
4622
  timeoutMs: t.config.requestTimeout,
@@ -4661,7 +4628,7 @@ function ws() {
4661
4628
  const u = await c.get("/discovery");
4662
4629
  u.wallet ? o({
4663
4630
  enabled: u.wallet.enabled,
4664
- recoveryMode: Yn(u.wallet.recoveryMode),
4631
+ recoveryMode: Hn(u.wallet.recoveryMode),
4665
4632
  unlockTtlSeconds: u.wallet.unlockTtlSeconds
4666
4633
  }) : o({
4667
4634
  enabled: !1,
@@ -4689,11 +4656,11 @@ function ws() {
4689
4656
  isLoading: a,
4690
4657
  error: n,
4691
4658
  refetch: d
4692
- } : $n;
4659
+ } : Qn;
4693
4660
  }
4694
- function Gn() {
4695
- const { user: t } = te(), { enroll: r } = Pe(), { recoveryMode: o } = ws(), [a, s] = k({ step: "idle" }), [n, l] = k(!1), c = J([]), d = x(() => {
4696
- jr(...c.current), c.current = [];
4661
+ function Kn() {
4662
+ const { user: t } = te(), { enroll: r } = Pe(), { recoveryMode: o } = gs(), [a, s] = k({ step: "idle" }), [n, l] = k(!1), c = J([]), d = x(() => {
4663
+ qr(...c.current), c.current = [];
4697
4664
  }, []);
4698
4665
  _(() => () => {
4699
4666
  d();
@@ -4701,11 +4668,11 @@ function Gn() {
4701
4668
  const u = x(
4702
4669
  async (p, h, y, b) => {
4703
4670
  s({ step: "generating_seed" });
4704
- const v = eo();
4671
+ const v = Zs();
4705
4672
  c.current.push(v), s({ step: "splitting_shares" });
4706
- const { shareA: N, shareB: E, shareC: P } = ss(v);
4673
+ const { shareA: N, shareB: E, shareC: P } = rs(v);
4707
4674
  c.current.push(N, E, P), s({ step: "encrypting_shares" });
4708
- const A = await zr(N, Vr(h)), S = os(v), L = ns(S);
4675
+ const A = await jr(N, zr(h)), S = ss(v), L = os(S);
4709
4676
  s({ step: "uploading" });
4710
4677
  const C = {
4711
4678
  solanaPubkey: L,
@@ -4725,7 +4692,7 @@ function Gn() {
4725
4692
  solanaPubkey: L
4726
4693
  });
4727
4694
  else {
4728
- const B = o === "full_seed" ? dn(v) : cn(He(P));
4695
+ const B = o === "full_seed" ? ln(v) : an(He(P));
4729
4696
  s({
4730
4697
  step: "showing_recovery",
4731
4698
  recoveryPhrase: B,
@@ -4742,7 +4709,7 @@ function Gn() {
4742
4709
  }
4743
4710
  l(!0), d();
4744
4711
  try {
4745
- const h = Hr(), y = await as(p, h, Qe);
4712
+ const h = Vr(), y = await ns(p, h, Qe);
4746
4713
  c.current.push(y), await u("password", y, h);
4747
4714
  } catch (h) {
4748
4715
  s({
@@ -4761,12 +4728,12 @@ function Gn() {
4761
4728
  }
4762
4729
  l(!0), d();
4763
4730
  try {
4764
- const p = Qr(), h = we(p);
4731
+ const p = Hr(), h = we(p);
4765
4732
  s({ step: "registering_passkey" });
4766
4733
  let y;
4767
4734
  try {
4768
4735
  const v = new TextEncoder().encode(t.id), N = t.name ?? t.email ?? "User", E = t.email ?? t.id;
4769
- y = (await to(
4736
+ y = (await eo(
4770
4737
  v,
4771
4738
  E,
4772
4739
  N,
@@ -4778,7 +4745,7 @@ function Gn() {
4778
4745
  y = (await zt(h)).prfOutput;
4779
4746
  }
4780
4747
  c.current.push(y);
4781
- const b = await Kr(y, p);
4748
+ const b = await Qr(y, p);
4782
4749
  c.current.push(b), await u("passkey", b, void 0, h);
4783
4750
  } catch (p) {
4784
4751
  s({
@@ -4806,7 +4773,7 @@ function Gn() {
4806
4773
  isEnrolling: n
4807
4774
  };
4808
4775
  }
4809
- function Jn({
4776
+ function Yn({
4810
4777
  onComplete: t,
4811
4778
  onCancel: r,
4812
4779
  className: o = "",
@@ -4819,7 +4786,7 @@ function Jn({
4819
4786
  confirmRecoveryPhrase: d,
4820
4787
  cancel: u,
4821
4788
  isEnrolling: m
4822
- } = Gn(), f = () => a || "password", [g, w] = k(f), [p, h] = k(""), [y, b] = k(""), [v, N] = k(null);
4789
+ } = Kn(), f = () => a || "password", [g, w] = k(f), [p, h] = k(""), [y, b] = k(""), [v, N] = k(null);
4823
4790
  _(() => {
4824
4791
  w(f());
4825
4792
  }, [s?.id, a]);
@@ -4884,7 +4851,7 @@ function Jn({
4884
4851
  ] }) }) }) : n.step === "uploading" ? /* @__PURE__ */ e("div", { className: `cedros-wallet-enrollment ${o}`, "aria-busy": "true", children: /* @__PURE__ */ i("div", { className: "cedros-enrollment-progress", role: "status", "aria-live": "polite", children: [
4885
4852
  /* @__PURE__ */ e("div", { className: "cedros-spinner", "aria-hidden": "true" }),
4886
4853
  /* @__PURE__ */ e("p", { children: "Saving wallet..." })
4887
- ] }) }) : n.step === "showing_recovery" && n.recoveryPhrase ? /* @__PURE__ */ e("div", { className: `cedros-wallet-enrollment ${o}`, children: /* @__PURE__ */ e(Hn, { words: n.recoveryPhrase, onConfirm: A }) }) : n.step === "complete" ? /* @__PURE__ */ e("div", { className: `cedros-wallet-enrollment ${o}`, children: /* @__PURE__ */ i("div", { className: "cedros-enrollment-complete", children: [
4854
+ ] }) }) : n.step === "showing_recovery" && n.recoveryPhrase ? /* @__PURE__ */ e("div", { className: `cedros-wallet-enrollment ${o}`, children: /* @__PURE__ */ e(jn, { words: n.recoveryPhrase, onConfirm: A }) }) : n.step === "complete" ? /* @__PURE__ */ e("div", { className: `cedros-wallet-enrollment ${o}`, children: /* @__PURE__ */ i("div", { className: "cedros-enrollment-complete", children: [
4888
4855
  /* @__PURE__ */ i(
4889
4856
  "svg",
4890
4857
  {
@@ -5108,7 +5075,7 @@ function Jn({
5108
5075
  ] })
5109
5076
  ] });
5110
5077
  }
5111
- function Xn() {
5078
+ function $n() {
5112
5079
  const { user: t } = te(), { signTransaction: r } = Pe(), [o, a] = k(!1), [s, n] = k(null), l = x(
5113
5080
  async (d, u) => {
5114
5081
  if (!t) {
@@ -5119,9 +5086,9 @@ function Xn() {
5119
5086
  try {
5120
5087
  const m = {
5121
5088
  transaction: we(d),
5122
- ...u ? { credential: ro(u) } : {}
5089
+ ...u ? { credential: to(u) } : {}
5123
5090
  }, f = await r(m);
5124
- return Yr(f.signature);
5091
+ return Kr(f.signature);
5125
5092
  } catch (m) {
5126
5093
  const f = m instanceof Error ? m.message : "Signing failed";
5127
5094
  throw n(f), m;
@@ -5138,7 +5105,7 @@ function Xn() {
5138
5105
  clearError: c
5139
5106
  };
5140
5107
  }
5141
- function Zn() {
5108
+ function Gn() {
5142
5109
  const { getMaterial: t } = Pe(), [r, o] = k(!1), [a, s] = k(null), n = x(async () => {
5143
5110
  o(!0), s(null);
5144
5111
  try {
@@ -5172,7 +5139,7 @@ function Zn() {
5172
5139
  clearError: l
5173
5140
  };
5174
5141
  }
5175
- function ea({
5142
+ function Jn({
5176
5143
  mode: t,
5177
5144
  isLoading: r = !1,
5178
5145
  error: o,
@@ -5189,7 +5156,7 @@ function ea({
5189
5156
  s?.();
5190
5157
  }, [s]), f = t === "register" ? "Set Up Passkey" : "Verify with Passkey", g = t === "register" ? "Create a passkey to securely encrypt your wallet on this device. You will use your fingerprint, face, or device PIN." : "Use your passkey to unlock your wallet. You will be prompted for biometric verification.";
5191
5158
  return /* @__PURE__ */ i("div", { className: `cedros-passkey-prompt ${d}`, children: [
5192
- /* @__PURE__ */ e("div", { className: "cedros-passkey-icon", children: r ? /* @__PURE__ */ e(ra, {}) : o ? /* @__PURE__ */ e(sa, {}) : /* @__PURE__ */ e(ta, {}) }),
5159
+ /* @__PURE__ */ e("div", { className: "cedros-passkey-icon", children: r ? /* @__PURE__ */ e(Zn, {}) : o ? /* @__PURE__ */ e(ea, {}) : /* @__PURE__ */ e(Xn, {}) }),
5193
5160
  /* @__PURE__ */ e("h3", { className: "cedros-passkey-title", children: l ?? f }),
5194
5161
  /* @__PURE__ */ e("p", { className: "cedros-passkey-description", children: c ?? g }),
5195
5162
  o && /* @__PURE__ */ e("div", { className: "cedros-passkey-error", role: "alert", children: /* @__PURE__ */ e("p", { children: o }) }),
@@ -5243,7 +5210,7 @@ function ea({
5243
5210
  ] })
5244
5211
  ] });
5245
5212
  }
5246
- function ta() {
5213
+ function Xn() {
5247
5214
  return /* @__PURE__ */ i(
5248
5215
  "svg",
5249
5216
  {
@@ -5268,13 +5235,13 @@ function ta() {
5268
5235
  }
5269
5236
  );
5270
5237
  }
5271
- function ra() {
5238
+ function Zn() {
5272
5239
  return /* @__PURE__ */ i("svg", { viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", className: "cedros-spinner", children: [
5273
5240
  /* @__PURE__ */ e("circle", { cx: "12", cy: "12", r: "9", stroke: "currentColor", strokeWidth: "2", opacity: "0.25" }),
5274
5241
  /* @__PURE__ */ e("path", { d: "M12 3a9 9 0 0 1 9 9", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round" })
5275
5242
  ] });
5276
5243
  }
5277
- function sa() {
5244
+ function ea() {
5278
5245
  return /* @__PURE__ */ i(
5279
5246
  "svg",
5280
5247
  {
@@ -5292,7 +5259,7 @@ function sa() {
5292
5259
  }
5293
5260
  );
5294
5261
  }
5295
- function oa({
5262
+ function ta({
5296
5263
  onUnlock: t,
5297
5264
  onCancel: r,
5298
5265
  showCancel: o = !0,
@@ -5300,7 +5267,7 @@ function oa({
5300
5267
  className: s = ""
5301
5268
  }) {
5302
5269
  te();
5303
- const { unlock: n, getMaterial: l, isLoading: c } = Pe(), { getPasskeyCredential: d, isAuthenticating: u } = Zn(), [m, f] = k("idle"), [g, w] = k(a ?? null), [p, h] = k(""), [y, b] = k(null);
5270
+ const { unlock: n, getMaterial: l, isLoading: c } = Pe(), { getPasskeyCredential: d, isAuthenticating: u } = Gn(), [m, f] = k("idle"), [g, w] = k(a ?? null), [p, h] = k(""), [y, b] = k(null);
5304
5271
  _(() => {
5305
5272
  a !== void 0 && w(a);
5306
5273
  }, [a]);
@@ -5347,7 +5314,7 @@ function oa({
5347
5314
  switch (m) {
5348
5315
  case "idle":
5349
5316
  return /* @__PURE__ */ i("div", { className: "cedros-wallet-unlock-idle", children: [
5350
- /* @__PURE__ */ e("div", { className: "cedros-wallet-unlock-icon", children: /* @__PURE__ */ e(na, {}) }),
5317
+ /* @__PURE__ */ e("div", { className: "cedros-wallet-unlock-icon", children: /* @__PURE__ */ e(ra, {}) }),
5351
5318
  /* @__PURE__ */ e("h3", { className: "cedros-wallet-unlock-title", children: "Wallet Locked" }),
5352
5319
  /* @__PURE__ */ e("p", { className: "cedros-wallet-unlock-description", children: "Unlock your wallet to sign transactions." }),
5353
5320
  /* @__PURE__ */ e(
@@ -5400,7 +5367,7 @@ function oa({
5400
5367
  /* @__PURE__ */ e("h3", { className: "cedros-wallet-unlock-title", children: "Verify with Passkey" }),
5401
5368
  /* @__PURE__ */ e("p", { className: "cedros-wallet-unlock-description", children: "Use your passkey to unlock your wallet." }),
5402
5369
  /* @__PURE__ */ e(
5403
- ea,
5370
+ Jn,
5404
5371
  {
5405
5372
  mode: "authenticate",
5406
5373
  isLoading: C,
@@ -5422,13 +5389,13 @@ function oa({
5422
5389
  ] });
5423
5390
  case "unlocked":
5424
5391
  return /* @__PURE__ */ i("div", { className: "cedros-wallet-unlock-success", children: [
5425
- /* @__PURE__ */ e("div", { className: "cedros-wallet-unlock-icon", children: /* @__PURE__ */ e(aa, {}) }),
5392
+ /* @__PURE__ */ e("div", { className: "cedros-wallet-unlock-icon", children: /* @__PURE__ */ e(sa, {}) }),
5426
5393
  /* @__PURE__ */ e("h3", { className: "cedros-wallet-unlock-title", children: "Wallet Unlocked" }),
5427
5394
  /* @__PURE__ */ e("p", { className: "cedros-wallet-unlock-description", children: "Your wallet is ready to sign transactions." })
5428
5395
  ] });
5429
5396
  case "error":
5430
5397
  return /* @__PURE__ */ i("div", { className: "cedros-wallet-unlock-error", children: [
5431
- /* @__PURE__ */ e("div", { className: "cedros-wallet-unlock-icon", children: /* @__PURE__ */ e(ia, {}) }),
5398
+ /* @__PURE__ */ e("div", { className: "cedros-wallet-unlock-icon", children: /* @__PURE__ */ e(oa, {}) }),
5432
5399
  /* @__PURE__ */ e("h3", { className: "cedros-wallet-unlock-title", children: "Unlock Failed" }),
5433
5400
  /* @__PURE__ */ e("p", { className: "cedros-wallet-unlock-description", children: y ?? "Failed to unlock wallet. Please try again." }),
5434
5401
  /* @__PURE__ */ i("div", { className: "cedros-wallet-unlock-actions", children: [
@@ -5456,7 +5423,7 @@ function oa({
5456
5423
  };
5457
5424
  return /* @__PURE__ */ e("div", { className: `cedros-wallet-unlock ${s}`, children: B() });
5458
5425
  }
5459
- function na() {
5426
+ function ra() {
5460
5427
  return /* @__PURE__ */ i("svg", { width: "48", height: "48", viewBox: "0 0 48 48", fill: "none", "aria-hidden": "true", children: [
5461
5428
  /* @__PURE__ */ e(
5462
5429
  "rect",
@@ -5475,7 +5442,7 @@ function na() {
5475
5442
  /* @__PURE__ */ e("circle", { cx: "24", cy: "32", r: "3", fill: "currentColor" })
5476
5443
  ] });
5477
5444
  }
5478
- function aa() {
5445
+ function sa() {
5479
5446
  return /* @__PURE__ */ i("svg", { width: "48", height: "48", viewBox: "0 0 48 48", fill: "none", "aria-hidden": "true", children: [
5480
5447
  /* @__PURE__ */ e(
5481
5448
  "circle",
@@ -5501,7 +5468,7 @@ function aa() {
5501
5468
  )
5502
5469
  ] });
5503
5470
  }
5504
- function ia() {
5471
+ function oa() {
5505
5472
  return /* @__PURE__ */ i("svg", { width: "48", height: "48", viewBox: "0 0 48 48", fill: "none", "aria-hidden": "true", children: [
5506
5473
  /* @__PURE__ */ e(
5507
5474
  "circle",
@@ -5525,9 +5492,9 @@ function ia() {
5525
5492
  )
5526
5493
  ] });
5527
5494
  }
5528
- function ca() {
5529
- const { recover: t, getShareBForRecovery: r } = Pe(), { recoveryMode: o } = ws(), [a, s] = k({ step: "idle" }), [n, l] = k(!1), c = J([]), d = x(() => {
5530
- jr(...c.current), c.current = [];
5495
+ function na() {
5496
+ const { recover: t, getShareBForRecovery: r } = Pe(), { recoveryMode: o } = gs(), [a, s] = k({ step: "idle" }), [n, l] = k(!1), c = J([]), d = x(() => {
5497
+ qr(...c.current), c.current = [];
5531
5498
  }, []);
5532
5499
  _(() => () => {
5533
5500
  d();
@@ -5536,27 +5503,27 @@ function ca() {
5536
5503
  async (f, g, w) => {
5537
5504
  l(!0), d();
5538
5505
  try {
5539
- if (s({ step: "validating" }), !ps(f))
5506
+ if (s({ step: "validating" }), !hs(f))
5540
5507
  throw new Error("Invalid recovery phrase. Please check your words.");
5541
5508
  let p;
5542
5509
  if (o === "share_c_only") {
5543
- const L = ln(f);
5510
+ const L = cn(f);
5544
5511
  c.current.push(L);
5545
- const C = we(L), B = await r({ shareC: C }), T = Yr(B.shareB);
5546
- c.current.push(T), p = Qo(He(T), He(L)), c.current.push(p);
5512
+ const C = we(L), B = await r({ shareC: C }), T = Kr(B.shareB);
5513
+ c.current.push(T), p = Ho(He(T), He(L)), c.current.push(p);
5547
5514
  } else
5548
- p = un(f), c.current.push(p);
5549
- const h = os(p), y = ns(h), { shareA: b, shareB: v } = ss(p);
5515
+ p = dn(f), c.current.push(p);
5516
+ const h = ss(p), y = os(h), { shareA: b, shareB: v } = rs(p);
5550
5517
  c.current.push(b, v), s({ step: "encrypting" });
5551
5518
  let N, E, P;
5552
5519
  if (g === "passkey") {
5553
- const L = Qr();
5520
+ const L = Hr();
5554
5521
  P = we(L);
5555
5522
  const C = await zt(P);
5556
- c.current.push(C.prfOutput), N = await Kr(C.prfOutput, L), c.current.push(N);
5523
+ c.current.push(C.prfOutput), N = await Qr(C.prfOutput, L), c.current.push(N);
5557
5524
  } else
5558
- E = Hr(), N = await as(w, E, Qe), c.current.push(N);
5559
- const A = await zr(b, Vr(N));
5525
+ E = Vr(), N = await ns(w, E, Qe), c.current.push(N);
5526
+ const A = await jr(b, zr(N));
5560
5527
  s({ step: "uploading" });
5561
5528
  const S = {
5562
5529
  solanaPubkey: y,
@@ -5586,13 +5553,13 @@ function ca() {
5586
5553
  isRecovering: n
5587
5554
  };
5588
5555
  }
5589
- function la({
5556
+ function aa({
5590
5557
  onComplete: t,
5591
5558
  onCancel: r,
5592
5559
  className: o = "",
5593
5560
  defaultAuthMethod: a = "password"
5594
5561
  }) {
5595
- const { state: s, startRecovery: n, cancel: l, isRecovering: c } = ca(), [d, u] = k([]), [m, f] = k(!1), [g, w] = k(a), [p, h] = k(""), [y, b] = k(""), [v, N] = k(null), E = x((C) => {
5562
+ const { state: s, startRecovery: n, cancel: l, isRecovering: c } = na(), [d, u] = k([]), [m, f] = k(!1), [g, w] = k(a), [p, h] = k(""), [y, b] = k(""), [v, N] = k(null), E = x((C) => {
5596
5563
  u(C), f(!0);
5597
5564
  }, []), P = x(
5598
5565
  async (C) => {
@@ -5617,7 +5584,7 @@ function la({
5617
5584
  t?.();
5618
5585
  }, [t]);
5619
5586
  return s.step === "validating" || s.step === "encrypting" || s.step === "uploading" ? /* @__PURE__ */ e("div", { className: `cedros-wallet-recovery ${o}`, children: /* @__PURE__ */ i("div", { className: "cedros-wallet-recovery-progress", children: [
5620
- /* @__PURE__ */ e("div", { className: "cedros-wallet-recovery-icon", children: /* @__PURE__ */ e(da, {}) }),
5587
+ /* @__PURE__ */ e("div", { className: "cedros-wallet-recovery-icon", children: /* @__PURE__ */ e(ia, {}) }),
5621
5588
  /* @__PURE__ */ i("h3", { className: "cedros-wallet-recovery-title", children: [
5622
5589
  s.step === "validating" && "Validating Recovery Phrase",
5623
5590
  s.step === "encrypting" && "Encrypting Wallet",
@@ -5629,7 +5596,7 @@ function la({
5629
5596
  s.step === "uploading" && "Uploading encrypted wallet data..."
5630
5597
  ] })
5631
5598
  ] }) }) : s.step === "complete" ? /* @__PURE__ */ e("div", { className: `cedros-wallet-recovery ${o}`, children: /* @__PURE__ */ i("div", { className: "cedros-wallet-recovery-success", children: [
5632
- /* @__PURE__ */ e("div", { className: "cedros-wallet-recovery-icon", children: /* @__PURE__ */ e(ua, {}) }),
5599
+ /* @__PURE__ */ e("div", { className: "cedros-wallet-recovery-icon", children: /* @__PURE__ */ e(ca, {}) }),
5633
5600
  /* @__PURE__ */ e("h3", { className: "cedros-wallet-recovery-title", children: "Wallet Recovered" }),
5634
5601
  /* @__PURE__ */ i("p", { className: "cedros-wallet-recovery-description", children: [
5635
5602
  "Your wallet has been successfully recovered and secured with your new",
@@ -5647,7 +5614,7 @@ function la({
5647
5614
  }
5648
5615
  ) })
5649
5616
  ] }) }) : s.step === "error" ? /* @__PURE__ */ e("div", { className: `cedros-wallet-recovery ${o}`, children: /* @__PURE__ */ i("div", { className: "cedros-wallet-recovery-error", children: [
5650
- /* @__PURE__ */ e("div", { className: "cedros-wallet-recovery-icon", children: /* @__PURE__ */ e(ha, {}) }),
5617
+ /* @__PURE__ */ e("div", { className: "cedros-wallet-recovery-icon", children: /* @__PURE__ */ e(la, {}) }),
5651
5618
  /* @__PURE__ */ e("h3", { className: "cedros-wallet-recovery-title", children: "Recovery Failed" }),
5652
5619
  /* @__PURE__ */ e("p", { className: "cedros-wallet-recovery-description", children: s.error ?? "An error occurred during recovery. Please try again." }),
5653
5620
  /* @__PURE__ */ e("div", { className: "cedros-wallet-recovery-actions", children: /* @__PURE__ */ e(
@@ -5730,7 +5697,7 @@ function la({
5730
5697
  ] })
5731
5698
  ] }),
5732
5699
  g === "passkey" && /* @__PURE__ */ i("div", { className: "cedros-passkey-info", children: [
5733
- /* @__PURE__ */ e(pa, {}),
5700
+ /* @__PURE__ */ e(da, {}),
5734
5701
  /* @__PURE__ */ e("p", { children: "Use your passkey (Touch ID, Face ID, or Windows Hello) to secure your wallet." })
5735
5702
  ] }),
5736
5703
  /* @__PURE__ */ i("div", { className: "cedros-wallet-recovery-actions", children: [
@@ -5760,7 +5727,7 @@ function la({
5760
5727
  /* @__PURE__ */ e("p", { className: "cedros-wallet-recovery-description", children: "Enter your 12-word recovery phrase to restore your wallet." })
5761
5728
  ] }),
5762
5729
  /* @__PURE__ */ e(
5763
- Qn,
5730
+ zn,
5764
5731
  {
5765
5732
  onSubmit: E,
5766
5733
  onCancel: A,
@@ -5769,7 +5736,7 @@ function la({
5769
5736
  )
5770
5737
  ] }) });
5771
5738
  }
5772
- function da() {
5739
+ function ia() {
5773
5740
  return /* @__PURE__ */ i(
5774
5741
  "svg",
5775
5742
  {
@@ -5805,7 +5772,7 @@ function da() {
5805
5772
  }
5806
5773
  );
5807
5774
  }
5808
- function ua() {
5775
+ function ca() {
5809
5776
  return /* @__PURE__ */ i("svg", { width: "48", height: "48", viewBox: "0 0 48 48", fill: "none", "aria-hidden": "true", children: [
5810
5777
  /* @__PURE__ */ e(
5811
5778
  "circle",
@@ -5831,7 +5798,7 @@ function ua() {
5831
5798
  )
5832
5799
  ] });
5833
5800
  }
5834
- function ha() {
5801
+ function la() {
5835
5802
  return /* @__PURE__ */ i("svg", { width: "48", height: "48", viewBox: "0 0 48 48", fill: "none", "aria-hidden": "true", children: [
5836
5803
  /* @__PURE__ */ e(
5837
5804
  "circle",
@@ -5855,7 +5822,7 @@ function ha() {
5855
5822
  )
5856
5823
  ] });
5857
5824
  }
5858
- function pa() {
5825
+ function da() {
5859
5826
  return /* @__PURE__ */ i(
5860
5827
  "svg",
5861
5828
  {
@@ -5873,7 +5840,7 @@ function pa() {
5873
5840
  }
5874
5841
  );
5875
5842
  }
5876
- function ma({
5843
+ function ua({
5877
5844
  address: t,
5878
5845
  label: r = "Wallet Address",
5879
5846
  showCopy: o = !0,
@@ -5997,7 +5964,7 @@ function ma({
5997
5964
  u && /* @__PURE__ */ e("p", { className: "cedros-input-hint", role: "status", children: u })
5998
5965
  ] });
5999
5966
  }
6000
- function fa({
5967
+ function ha({
6001
5968
  status: t,
6002
5969
  publicKey: r,
6003
5970
  onLock: o,
@@ -6010,7 +5977,7 @@ function fa({
6010
5977
  }) {
6011
5978
  const u = t !== void 0, m = tt(), f = u ? t : m.status, g = u ? r ?? null : m.solanaPubkey, w = u ? null : m.error, p = u ? () => {
6012
5979
  } : m.refresh, h = u ? () => {
6013
- } : m.clearError, y = ga(f, w);
5980
+ } : m.clearError, y = pa(f, w);
6014
5981
  return c ? /* @__PURE__ */ i("div", { className: `cedros-wallet-status cedros-wallet-status-compact ${d}`, children: [
6015
5982
  /* @__PURE__ */ e(
6016
5983
  "span",
@@ -6020,14 +5987,14 @@ function fa({
6020
5987
  }
6021
5988
  ),
6022
5989
  /* @__PURE__ */ e("span", { className: "cedros-wallet-status-label", children: y.label }),
6023
- g && /* @__PURE__ */ e("span", { className: "cedros-wallet-status-pubkey", title: g, children: wa(g) })
5990
+ g && /* @__PURE__ */ e("span", { className: "cedros-wallet-status-pubkey", title: g, children: ma(g) })
6024
5991
  ] }) : /* @__PURE__ */ i("div", { className: `cedros-wallet-status ${d}`, children: [
6025
5992
  /* @__PURE__ */ i("div", { className: "cedros-wallet-status-header", children: [
6026
5993
  /* @__PURE__ */ e(
6027
5994
  "div",
6028
5995
  {
6029
5996
  className: `cedros-wallet-status-icon cedros-wallet-status-icon-${y.color}`,
6030
- children: /* @__PURE__ */ e(ya, { status: f })
5997
+ children: /* @__PURE__ */ e(fa, { status: f })
6031
5998
  }
6032
5999
  ),
6033
6000
  /* @__PURE__ */ i("div", { className: "cedros-wallet-status-info", children: [
@@ -6035,7 +6002,7 @@ function fa({
6035
6002
  /* @__PURE__ */ e("p", { className: "cedros-wallet-status-description", children: y.description })
6036
6003
  ] })
6037
6004
  ] }),
6038
- g && /* @__PURE__ */ e("div", { className: "cedros-wallet-status-pubkey-full", children: /* @__PURE__ */ e(ma, { address: g }) }),
6005
+ g && /* @__PURE__ */ e("div", { className: "cedros-wallet-status-pubkey-full", children: /* @__PURE__ */ e(ua, { address: g }) }),
6039
6006
  w && /* @__PURE__ */ i("div", { className: "cedros-wallet-status-error-box", role: "alert", children: [
6040
6007
  /* @__PURE__ */ e("p", { children: w }),
6041
6008
  /* @__PURE__ */ e(
@@ -6088,7 +6055,7 @@ function fa({
6088
6055
  ] })
6089
6056
  ] });
6090
6057
  }
6091
- function ga(t, r) {
6058
+ function pa(t, r) {
6092
6059
  switch (t) {
6093
6060
  case "loading":
6094
6061
  return {
@@ -6129,10 +6096,10 @@ function ga(t, r) {
6129
6096
  };
6130
6097
  }
6131
6098
  }
6132
- function wa(t) {
6099
+ function ma(t) {
6133
6100
  return t.length <= 12 ? t : `${t.slice(0, 4)}...${t.slice(-4)}`;
6134
6101
  }
6135
- function ya({ status: t }) {
6102
+ function fa({ status: t }) {
6136
6103
  switch (t) {
6137
6104
  case "loading":
6138
6105
  return /* @__PURE__ */ i("svg", { viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", className: "cedros-spinner", children: [
@@ -6217,7 +6184,7 @@ function ya({ status: t }) {
6217
6184
  return null;
6218
6185
  }
6219
6186
  }
6220
- function Fc({ className: t = "", showActions: r = !0 }) {
6187
+ function Ic({ className: t = "", showActions: r = !0 }) {
6221
6188
  const o = tt(), [a, s] = k("status"), n = q(() => {
6222
6189
  switch (a) {
6223
6190
  case "enroll":
@@ -6258,7 +6225,7 @@ function Fc({ className: t = "", showActions: r = !0 }) {
6258
6225
  )
6259
6226
  ] }),
6260
6227
  a === "status" && /* @__PURE__ */ e(
6261
- fa,
6228
+ ha,
6262
6229
  {
6263
6230
  onEnroll: () => s("enroll"),
6264
6231
  onUnlock: () => s("unlock"),
@@ -6267,7 +6234,7 @@ function Fc({ className: t = "", showActions: r = !0 }) {
6267
6234
  }
6268
6235
  ),
6269
6236
  a === "enroll" && /* @__PURE__ */ e(
6270
- Jn,
6237
+ Yn,
6271
6238
  {
6272
6239
  onComplete: () => {
6273
6240
  c();
@@ -6276,7 +6243,7 @@ function Fc({ className: t = "", showActions: r = !0 }) {
6276
6243
  }
6277
6244
  ),
6278
6245
  a === "unlock" && /* @__PURE__ */ e(
6279
- oa,
6246
+ ta,
6280
6247
  {
6281
6248
  onUnlock: () => {
6282
6249
  d();
@@ -6313,7 +6280,7 @@ function Fc({ className: t = "", showActions: r = !0 }) {
6313
6280
  ] })
6314
6281
  ] }) }),
6315
6282
  a === "recover" && /* @__PURE__ */ e(
6316
- la,
6283
+ aa,
6317
6284
  {
6318
6285
  onComplete: () => {
6319
6286
  u();
@@ -6323,12 +6290,12 @@ function Fc({ className: t = "", showActions: r = !0 }) {
6323
6290
  )
6324
6291
  ] });
6325
6292
  }
6326
- function _c({
6293
+ function Dc({
6327
6294
  showDescriptions: t = !0,
6328
6295
  className: r = "",
6329
6296
  onSave: o
6330
6297
  }) {
6331
- const { settings: a, isLoading: s, isUpdating: n, error: l, fetchSettings: c, updateSettings: d } = Ao(), [u, m] = k({}), [f, g] = k(null), [w, p] = k(!1);
6298
+ const { settings: a, isLoading: s, isUpdating: n, error: l, fetchSettings: c, updateSettings: d } = bo(), [u, m] = k({}), [f, g] = k(null), [w, p] = k(!1);
6332
6299
  _(() => {
6333
6300
  c();
6334
6301
  }, [c]), _(() => {
@@ -6365,7 +6332,7 @@ function _c({
6365
6332
  f && /* @__PURE__ */ e(X, { error: f }),
6366
6333
  w && /* @__PURE__ */ e("div", { className: "cedros-settings-success", children: "Settings saved successfully." }),
6367
6334
  E.map((P) => /* @__PURE__ */ e(
6368
- ba,
6335
+ ga,
6369
6336
  {
6370
6337
  category: P,
6371
6338
  settings: a[P],
@@ -6404,20 +6371,20 @@ function _c({
6404
6371
  ] })
6405
6372
  ] });
6406
6373
  }
6407
- const cr = Object.keys(ko);
6408
- function ba({
6374
+ const ir = Object.keys(vo);
6375
+ function ga({
6409
6376
  category: t,
6410
6377
  settings: r,
6411
6378
  edits: o,
6412
6379
  showDescription: a,
6413
6380
  onChange: s
6414
6381
  }) {
6415
- const n = vo[t] || {
6382
+ const n = Ao[t] || {
6416
6383
  label: t,
6417
6384
  description: "",
6418
6385
  icon: ""
6419
6386
  }, l = q(() => [...r].sort((c, d) => {
6420
- const u = cr.indexOf(c.key), m = cr.indexOf(d.key);
6387
+ const u = ir.indexOf(c.key), m = ir.indexOf(d.key);
6421
6388
  return (u === -1 ? 1 / 0 : u) - (m === -1 ? 1 / 0 : m);
6422
6389
  }), [r]);
6423
6390
  return /* @__PURE__ */ i("section", { className: "cedros-settings-section", children: [
@@ -6428,10 +6395,10 @@ function ba({
6428
6395
  a && n.description && /* @__PURE__ */ e("p", { className: "cedros-settings-section-description", children: n.description })
6429
6396
  ] })
6430
6397
  ] }),
6431
- /* @__PURE__ */ e(ts, { settings: l, edits: o, onChange: s })
6398
+ /* @__PURE__ */ e(es, { settings: l, edits: o, onChange: s })
6432
6399
  ] });
6433
6400
  }
6434
- class Aa {
6401
+ class wa {
6435
6402
  client;
6436
6403
  constructor(r, o, a) {
6437
6404
  this.client = new ae({ baseUrl: r, timeoutMs: o, retryAttempts: a });
@@ -6459,9 +6426,9 @@ class Aa {
6459
6426
  }
6460
6427
  }
6461
6428
  }
6462
- function ys() {
6429
+ function ws() {
6463
6430
  const { config: t } = te(), [r, o] = k(null), [a, s] = k(!1), [n, l] = k(!1), [c, d] = k(null), u = J(0), m = q(
6464
- () => new Aa(t.serverUrl, t.requestTimeout, t.retryAttempts),
6431
+ () => new wa(t.serverUrl, t.requestTimeout, t.retryAttempts),
6465
6432
  [t.serverUrl, t.requestTimeout, t.retryAttempts]
6466
6433
  ), f = J(m);
6467
6434
  f.current = m;
@@ -6502,13 +6469,13 @@ function ys() {
6502
6469
  createAdmin: w
6503
6470
  };
6504
6471
  }
6505
- const va = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, lr = 8;
6506
- function ka(t) {
6472
+ const ya = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, cr = 8;
6473
+ function ba(t) {
6507
6474
  const r = {};
6508
- return t.email ? va.test(t.email) || (r.email = "Invalid email format") : r.email = "Email is required", t.password ? t.password.length < lr && (r.password = `Password must be at least ${lr} characters`) : r.password = "Password is required", t.confirmPassword ? t.password !== t.confirmPassword && (r.confirmPassword = "Passwords do not match") : r.confirmPassword = "Please confirm your password", r;
6475
+ return t.email ? ya.test(t.email) || (r.email = "Invalid email format") : r.email = "Email is required", t.password ? t.password.length < cr && (r.password = `Password must be at least ${cr} characters`) : r.password = "Password is required", t.confirmPassword ? t.password !== t.confirmPassword && (r.confirmPassword = "Passwords do not match") : r.confirmPassword = "Please confirm your password", r;
6509
6476
  }
6510
- function Na({ onComplete: t, className: r = "" }) {
6511
- const { status: o, isLoading: a, isCreating: s, error: n, checkStatus: l, createAdmin: c } = ys(), [d, u] = k({
6477
+ function Aa({ onComplete: t, className: r = "" }) {
6478
+ const { status: o, isLoading: a, isCreating: s, error: n, checkStatus: l, createAdmin: c } = ws(), [d, u] = k({
6512
6479
  email: "",
6513
6480
  password: "",
6514
6481
  confirmPassword: "",
@@ -6526,7 +6493,7 @@ function Na({ onComplete: t, className: r = "" }) {
6526
6493
  ), h = x(
6527
6494
  async (y) => {
6528
6495
  y.preventDefault();
6529
- const b = ka(d);
6496
+ const b = ba(d);
6530
6497
  if (Object.keys(b).length > 0) {
6531
6498
  f(b);
6532
6499
  return;
@@ -6716,23 +6683,23 @@ function Na({ onComplete: t, className: r = "" }) {
6716
6683
  ] })
6717
6684
  ] }) });
6718
6685
  }
6719
- const Ca = ["security", "rate_limit"];
6720
- function Wc({ className: t }) {
6686
+ const va = ["security", "rate_limit"];
6687
+ function Uc({ className: t }) {
6721
6688
  return /* @__PURE__ */ e(
6722
- Yo,
6689
+ Ko,
6723
6690
  {
6724
6691
  title: "Security",
6725
6692
  description: "Configure CORS, cookies, sessions, JWT, and rate limiting settings.",
6726
- categories: Ca,
6693
+ categories: va,
6727
6694
  className: t
6728
6695
  }
6729
6696
  );
6730
6697
  }
6731
- const dr = [
6698
+ const lr = [
6732
6699
  { id: "email", label: "Email", category: "email" },
6733
6700
  { id: "webhooks", label: "Webhooks", category: "webhook" }
6734
6701
  ];
6735
- function Ea({ className: t }) {
6702
+ function ka({ className: t }) {
6736
6703
  const {
6737
6704
  settings: r,
6738
6705
  edits: o,
@@ -6743,18 +6710,18 @@ function Ea({ className: t }) {
6743
6710
  fetchSettings: c,
6744
6711
  handleChange: d,
6745
6712
  getEffectiveValue: u
6746
- } = No(), [m, f] = k("email");
6713
+ } = ko(), [m, f] = k("email");
6747
6714
  _(() => {
6748
6715
  c();
6749
6716
  }, [c]);
6750
- const g = dr.find((E) => E.id === m), w = g?.category ?? "", h = (u("email_provider") || "custom") === "custom", y = u("email_smtp_host"), b = !h || y != null && y !== "", v = q(() => {
6717
+ const g = lr.find((E) => E.id === m), w = g?.category ?? "", h = (u("email_provider") || "custom") === "custom", y = u("email_smtp_host"), b = !h || y != null && y !== "", v = q(() => {
6751
6718
  const E = r[w] ?? [];
6752
6719
  if (m !== "email") return E;
6753
- const P = h ? Wo : Oo;
6720
+ const P = h ? _o : Wo;
6754
6721
  return E.filter((A) => P.includes(A.key)).sort((A, S) => P.indexOf(A.key) - P.indexOf(S.key));
6755
6722
  }, [r, w, m, h]), N = (E, P) => {
6756
6723
  if (d(E, P), E === "email_provider" && P !== "custom") {
6757
- const A = qo[P];
6724
+ const A = Oo[P];
6758
6725
  A && (d("email_smtp_host", A), d("email_smtp_port", "587"), d("email_smtp_tls", "true"));
6759
6726
  }
6760
6727
  };
@@ -6767,10 +6734,10 @@ function Ea({ className: t }) {
6767
6734
  /* @__PURE__ */ e("h2", { className: "cedros-settings-page-title", children: "Auth Messages" }),
6768
6735
  /* @__PURE__ */ e("p", { className: "cedros-settings-page-description", children: "Configure email delivery for verification emails, password resets, and instant link login. Webhook notifications can be sent to Discord or Slack." })
6769
6736
  ] }),
6770
- /* @__PURE__ */ e(Co, { status: s, error: n })
6737
+ /* @__PURE__ */ e(No, { status: s, error: n })
6771
6738
  ] }),
6772
6739
  m === "email" && !b && /* @__PURE__ */ e("div", { className: "cedros-settings-warning-banner", children: "Email features (verification, password reset, instant link) are disabled until SMTP is configured. Select a provider or enter custom SMTP settings below." }),
6773
- /* @__PURE__ */ e("div", { className: "cedros-admin-tabs cedros-admin-tabs--line", children: dr.map((E) => /* @__PURE__ */ e(
6740
+ /* @__PURE__ */ e("div", { className: "cedros-admin-tabs cedros-admin-tabs--line", children: lr.map((E) => /* @__PURE__ */ e(
6774
6741
  "button",
6775
6742
  {
6776
6743
  type: "button",
@@ -6787,7 +6754,7 @@ function Ea({ className: t }) {
6787
6754
  g?.label ?? "this section",
6788
6755
  "."
6789
6756
  ] }) }) : /* @__PURE__ */ e(
6790
- ts,
6757
+ es,
6791
6758
  {
6792
6759
  settings: v,
6793
6760
  edits: o,
@@ -6980,7 +6947,7 @@ const ue = {
6980
6947
  ]
6981
6948
  }
6982
6949
  )
6983
- }, Sa = [
6950
+ }, Na = [
6984
6951
  // Top-level menu items
6985
6952
  { id: "users", label: "Users", icon: ue.users },
6986
6953
  { id: "team", label: "Team", icon: ue.members },
@@ -6999,7 +6966,7 @@ const ue = {
6999
6966
  },
7000
6967
  { id: "settings-server", label: "Auth Server", icon: ue.server, group: "Configuration" }
7001
6968
  ];
7002
- function Oc({
6969
+ function Fc({
7003
6970
  title: t = "Dashboard",
7004
6971
  sections: r = [
7005
6972
  "users",
@@ -7020,17 +6987,17 @@ function Oc({
7020
6987
  onLogoutClick: c,
7021
6988
  className: d = ""
7022
6989
  }) {
7023
- const [u, m] = k(o), [f, g] = k(!0), { user: w, logout: p } = te(), { activeOrg: h, role: y, isLoading: b, fetchOrgs: v, hasPermission: N } = Eo(), { status: E, isLoading: P, checkStatus: A } = ys(), { features: S, isLoading: L } = ho(), { canAccess: C } = po(), B = x(
6990
+ const [u, m] = k(o), [f, g] = k(!0), { user: w, logout: p } = te(), { activeOrg: h, role: y, isLoading: b, fetchOrgs: v, hasPermission: N } = Co(), { status: E, isLoading: P, checkStatus: A } = ws(), { features: S, isLoading: L } = uo(), { canAccess: C } = ho(), B = x(
7024
6991
  (U) => {
7025
6992
  m(U), n?.(U);
7026
6993
  },
7027
6994
  [n]
7028
- ), T = Sa.filter((U) => !(!r.includes(U.id) || U.requiredFeature && !S[U.requiredFeature] || !C(U.id))), M = T.find((U) => U.id === u), R = !M && !L;
6995
+ ), T = Na.filter((U) => !(!r.includes(U.id) || U.requiredFeature && !S[U.requiredFeature] || !C(U.id))), M = T.find((U) => U.id === u), R = !M && !L;
7029
6996
  return _(() => {
7030
6997
  v(), A();
7031
6998
  }, [v, A]), _(() => {
7032
6999
  R && T.length > 0 && m("users");
7033
- }, [R, T.length]), !P && E?.needsSetup ? /* @__PURE__ */ e("div", { className: `cedros-admin cedros-dashboard cedros-dashboard--setup ${d}`, children: /* @__PURE__ */ e(Na, { onComplete: () => A() }) }) : (b || P || L) && !h ? /* @__PURE__ */ i("div", { className: `cedros-admin cedros-dashboard cedros-dashboard--loading ${d}`, children: [
7000
+ }, [R, T.length]), !P && E?.needsSetup ? /* @__PURE__ */ e("div", { className: `cedros-admin cedros-dashboard cedros-dashboard--setup ${d}`, children: /* @__PURE__ */ e(Aa, { onComplete: () => A() }) }) : (b || P || L) && !h ? /* @__PURE__ */ i("div", { className: `cedros-admin cedros-dashboard cedros-dashboard--loading ${d}`, children: [
7034
7001
  /* @__PURE__ */ e(j, {}),
7035
7002
  /* @__PURE__ */ e("span", { className: "cedros-dashboard__loading-text", children: "Loading..." })
7036
7003
  ] }) : u === "team" && !h ? /* @__PURE__ */ e("div", { className: `cedros-admin cedros-dashboard ${d}`, children: /* @__PURE__ */ e(X, { error: "No organization selected. Please select an organization first." }) }) : /* @__PURE__ */ i("div", { className: `cedros-admin cedros-dashboard ${d}`, children: [
@@ -7094,7 +7061,7 @@ function Oc({
7094
7061
  ] })
7095
7062
  ] }),
7096
7063
  w && /* @__PURE__ */ e("div", { className: "cedros-dashboard__sidebar-footer", children: /* @__PURE__ */ e(
7097
- Uo,
7064
+ Do,
7098
7065
  {
7099
7066
  name: w.name,
7100
7067
  email: w.email,
@@ -7111,9 +7078,9 @@ function Oc({
7111
7078
  /* @__PURE__ */ e("span", { className: "cedros-dashboard__breadcrumb-current", children: M?.label })
7112
7079
  ] }) }),
7113
7080
  /* @__PURE__ */ i("div", { className: "cedros-dashboard__content", children: [
7114
- u === "users" && /* @__PURE__ */ e(xa, { pageSize: s, currentUserId: w?.id }),
7081
+ u === "users" && /* @__PURE__ */ e(Ca, { pageSize: s, currentUserId: w?.id }),
7115
7082
  u === "team" && h && /* @__PURE__ */ e(
7116
- Pa,
7083
+ Ea,
7117
7084
  {
7118
7085
  orgId: h.id,
7119
7086
  currentUserId: w?.id,
@@ -7121,31 +7088,31 @@ function Oc({
7121
7088
  role: y
7122
7089
  }
7123
7090
  ),
7124
- u === "deposits" && /* @__PURE__ */ e(La, { pageSize: s, refreshInterval: a }),
7125
- u === "withdrawals" && /* @__PURE__ */ e(Ma, { pageSize: s, refreshInterval: a }),
7126
- u === "settings-auth" && /* @__PURE__ */ e("div", { className: "cedros-dashboard__section", children: /* @__PURE__ */ e(Fo, {}) }),
7127
- u === "settings-wallet" && /* @__PURE__ */ e("div", { className: "cedros-dashboard__section", children: /* @__PURE__ */ e(_o, {}) }),
7128
- u === "settings-messaging" && /* @__PURE__ */ e("div", { className: "cedros-dashboard__section", children: /* @__PURE__ */ e(Ea, {}) }),
7129
- u === "settings-credits" && /* @__PURE__ */ e("div", { className: "cedros-dashboard__section", children: /* @__PURE__ */ e(jo, {}) }),
7130
- u === "settings-server" && /* @__PURE__ */ e("div", { className: "cedros-dashboard__section", children: /* @__PURE__ */ e(zo, {}) })
7091
+ u === "deposits" && /* @__PURE__ */ e(Sa, { pageSize: s, refreshInterval: a }),
7092
+ u === "withdrawals" && /* @__PURE__ */ e(xa, { pageSize: s, refreshInterval: a }),
7093
+ u === "settings-auth" && /* @__PURE__ */ e("div", { className: "cedros-dashboard__section", children: /* @__PURE__ */ e(Uo, {}) }),
7094
+ u === "settings-wallet" && /* @__PURE__ */ e("div", { className: "cedros-dashboard__section", children: /* @__PURE__ */ e(Fo, {}) }),
7095
+ u === "settings-messaging" && /* @__PURE__ */ e("div", { className: "cedros-dashboard__section", children: /* @__PURE__ */ e(ka, {}) }),
7096
+ u === "settings-credits" && /* @__PURE__ */ e("div", { className: "cedros-dashboard__section", children: /* @__PURE__ */ e(qo, {}) }),
7097
+ u === "settings-server" && /* @__PURE__ */ e("div", { className: "cedros-dashboard__section", children: /* @__PURE__ */ e(jo, {}) })
7131
7098
  ] })
7132
7099
  ] })
7133
7100
  ] });
7134
7101
  }
7135
- function xa({ pageSize: t, currentUserId: r }) {
7136
- const [o, a] = k(null), { statsItems: s, isLoading: n, error: l, refresh: c } = Ro();
7102
+ function Ca({ pageSize: t, currentUserId: r }) {
7103
+ const [o, a] = k(null), { statsItems: s, isLoading: n, error: l, refresh: c } = Bo();
7137
7104
  return o ? /* @__PURE__ */ e("div", { className: "cedros-dashboard__section", children: /* @__PURE__ */ e(
7138
- Io,
7105
+ Ro,
7139
7106
  {
7140
7107
  userId: o.id,
7141
7108
  currentUserId: r,
7142
7109
  onBack: () => a(null)
7143
7110
  }
7144
7111
  ) }) : /* @__PURE__ */ i("div", { className: "cedros-dashboard__section", children: [
7145
- /* @__PURE__ */ e(rs, { stats: s, isLoading: n, onRefresh: c }),
7112
+ /* @__PURE__ */ e(ts, { stats: s, isLoading: n, onRefresh: c }),
7146
7113
  l && /* @__PURE__ */ e("p", { className: "cedros-admin-error-inline", children: l }),
7147
7114
  /* @__PURE__ */ e(
7148
- Do,
7115
+ Io,
7149
7116
  {
7150
7117
  pageSize: t,
7151
7118
  currentUserId: r,
@@ -7154,7 +7121,7 @@ function xa({ pageSize: t, currentUserId: r }) {
7154
7121
  )
7155
7122
  ] });
7156
7123
  }
7157
- function Pa({ orgId: t, currentUserId: r, hasPermission: o, role: a }) {
7124
+ function Ea({ orgId: t, currentUserId: r, hasPermission: o, role: a }) {
7158
7125
  const [s, n] = k("members"), {
7159
7126
  members: l,
7160
7127
  isLoading: c,
@@ -7162,7 +7129,7 @@ function Pa({ orgId: t, currentUserId: r, hasPermission: o, role: a }) {
7162
7129
  fetchMembers: u,
7163
7130
  updateMemberRole: m,
7164
7131
  removeMember: f
7165
- } = mo(t), {
7132
+ } = po(t), {
7166
7133
  invites: g,
7167
7134
  isLoading: w,
7168
7135
  error: p,
@@ -7170,7 +7137,7 @@ function Pa({ orgId: t, currentUserId: r, hasPermission: o, role: a }) {
7170
7137
  createInvite: y,
7171
7138
  cancelInvite: b,
7172
7139
  resendInvite: v
7173
- } = fo(t);
7140
+ } = mo(t);
7174
7141
  _(() => {
7175
7142
  u(), h();
7176
7143
  }, [u, h]);
@@ -7180,7 +7147,7 @@ function Pa({ orgId: t, currentUserId: r, hasPermission: o, role: a }) {
7180
7147
  ), S = A.owner ?? 0, L = A.admin ?? 0, C = A.member ?? 0;
7181
7148
  return /* @__PURE__ */ i("div", { className: "cedros-dashboard__team", children: [
7182
7149
  /* @__PURE__ */ e(
7183
- rs,
7150
+ ts,
7184
7151
  {
7185
7152
  stats: [
7186
7153
  { label: "Owners", value: S },
@@ -7230,7 +7197,7 @@ function Pa({ orgId: t, currentUserId: r, hasPermission: o, role: a }) {
7230
7197
  ] }),
7231
7198
  /* @__PURE__ */ i("div", { className: "cedros-admin-tab-content", role: "tabpanel", children: [
7232
7199
  s === "members" && /* @__PURE__ */ e(
7233
- go,
7200
+ fo,
7234
7201
  {
7235
7202
  members: l,
7236
7203
  currentUserId: r,
@@ -7246,7 +7213,7 @@ function Pa({ orgId: t, currentUserId: r, hasPermission: o, role: a }) {
7246
7213
  N && /* @__PURE__ */ i("div", { className: "cedros-dashboard__section", children: [
7247
7214
  /* @__PURE__ */ e("div", { className: "cedros-dashboard__section-header", children: /* @__PURE__ */ e("h3", { className: "cedros-dashboard__section-title", children: "Send Invitation" }) }),
7248
7215
  /* @__PURE__ */ e(
7249
- wo,
7216
+ go,
7250
7217
  {
7251
7218
  onSubmit: y,
7252
7219
  isLoading: w,
@@ -7255,7 +7222,7 @@ function Pa({ orgId: t, currentUserId: r, hasPermission: o, role: a }) {
7255
7222
  )
7256
7223
  ] }),
7257
7224
  /* @__PURE__ */ e("div", { className: "cedros-dashboard__section", children: /* @__PURE__ */ e(
7258
- yo,
7225
+ wo,
7259
7226
  {
7260
7227
  invites: g,
7261
7228
  isLoading: w,
@@ -7266,14 +7233,14 @@ function Pa({ orgId: t, currentUserId: r, hasPermission: o, role: a }) {
7266
7233
  }
7267
7234
  ) })
7268
7235
  ] }),
7269
- s === "permissions" && a === "owner" && /* @__PURE__ */ e(bo, { userRole: a })
7236
+ s === "permissions" && a === "owner" && /* @__PURE__ */ e(yo, { userRole: a })
7270
7237
  ] })
7271
7238
  ] });
7272
7239
  }
7273
- function La({ pageSize: t, refreshInterval: r }) {
7240
+ function Sa({ pageSize: t, refreshInterval: r }) {
7274
7241
  const [o, a] = k("");
7275
7242
  return /* @__PURE__ */ i("div", { className: "cedros-dashboard__deposits", children: [
7276
- /* @__PURE__ */ e(xo, { refreshInterval: r }),
7243
+ /* @__PURE__ */ e(So, { refreshInterval: r }),
7277
7244
  /* @__PURE__ */ i("div", { className: "cedros-dashboard__deposits-list", children: [
7278
7245
  /* @__PURE__ */ e("div", { className: "cedros-dashboard__toolbar", children: /* @__PURE__ */ i("div", { className: "cedros-dashboard__filter", children: [
7279
7246
  /* @__PURE__ */ e("label", { className: "cedros-dashboard__filter-label", htmlFor: "status-filter", children: "Status" }),
@@ -7298,7 +7265,7 @@ function La({ pageSize: t, refreshInterval: r }) {
7298
7265
  )
7299
7266
  ] }) }),
7300
7267
  /* @__PURE__ */ e(
7301
- Po,
7268
+ xo,
7302
7269
  {
7303
7270
  statusFilter: o || void 0,
7304
7271
  pageSize: t,
@@ -7308,27 +7275,27 @@ function La({ pageSize: t, refreshInterval: r }) {
7308
7275
  ] })
7309
7276
  ] });
7310
7277
  }
7311
- function Ma({ pageSize: t, refreshInterval: r }) {
7278
+ function xa({ pageSize: t, refreshInterval: r }) {
7312
7279
  return /* @__PURE__ */ i("div", { className: "cedros-dashboard__withdrawals", children: [
7313
- /* @__PURE__ */ e(Lo, { refreshInterval: r }),
7280
+ /* @__PURE__ */ e(Po, { refreshInterval: r }),
7314
7281
  /* @__PURE__ */ e("p", { className: "cedros-dashboard__text-muted", children: "Track deposits through the withdrawal pipeline: privacy period, ready for processing, and completed." }),
7315
7282
  /* @__PURE__ */ i("div", { className: "cedros-dashboard__pipeline", children: [
7283
+ /* @__PURE__ */ e(Lo, { pageSize: t, refreshInterval: r }),
7316
7284
  /* @__PURE__ */ e(Mo, { pageSize: t, refreshInterval: r }),
7317
- /* @__PURE__ */ e(To, { pageSize: t, refreshInterval: r }),
7318
- /* @__PURE__ */ e(Bo, { pageSize: t, refreshInterval: r })
7285
+ /* @__PURE__ */ e(To, { pageSize: t, refreshInterval: r })
7319
7286
  ] })
7320
7287
  ] });
7321
7288
  }
7322
- var Ee = {}, ht, ur;
7323
- function Ta() {
7324
- return ur || (ur = 1, ht = function() {
7289
+ var Ee = {}, ht, dr;
7290
+ function Pa() {
7291
+ return dr || (dr = 1, ht = function() {
7325
7292
  return typeof Promise == "function" && Promise.prototype && Promise.prototype.then;
7326
7293
  }), ht;
7327
7294
  }
7328
- var pt = {}, Ae = {}, hr;
7295
+ var pt = {}, Ae = {}, ur;
7329
7296
  function ke() {
7330
- if (hr) return Ae;
7331
- hr = 1;
7297
+ if (ur) return Ae;
7298
+ ur = 1;
7332
7299
  let t;
7333
7300
  const r = [
7334
7301
  0,
@@ -7395,9 +7362,9 @@ function ke() {
7395
7362
  return t(a);
7396
7363
  }, Ae;
7397
7364
  }
7398
- var mt = {}, pr;
7365
+ var mt = {}, hr;
7399
7366
  function Yt() {
7400
- return pr || (pr = 1, (function(t) {
7367
+ return hr || (hr = 1, (function(t) {
7401
7368
  t.L = { bit: 1 }, t.M = { bit: 0 }, t.Q = { bit: 3 }, t.H = { bit: 2 };
7402
7369
  function r(o) {
7403
7370
  if (typeof o != "string")
@@ -7432,10 +7399,10 @@ function Yt() {
7432
7399
  };
7433
7400
  })(mt)), mt;
7434
7401
  }
7435
- var ft, mr;
7436
- function Ba() {
7437
- if (mr) return ft;
7438
- mr = 1;
7402
+ var ft, pr;
7403
+ function La() {
7404
+ if (pr) return ft;
7405
+ pr = 1;
7439
7406
  function t() {
7440
7407
  this.buffer = [], this.length = 0;
7441
7408
  }
@@ -7457,10 +7424,10 @@ function Ba() {
7457
7424
  }
7458
7425
  }, ft = t, ft;
7459
7426
  }
7460
- var gt, fr;
7461
- function Ra() {
7462
- if (fr) return gt;
7463
- fr = 1;
7427
+ var gt, mr;
7428
+ function Ma() {
7429
+ if (mr) return gt;
7430
+ mr = 1;
7464
7431
  function t(r) {
7465
7432
  if (!r || r < 1)
7466
7433
  throw new Error("BitMatrix size must be defined and greater than 0");
@@ -7477,9 +7444,9 @@ function Ra() {
7477
7444
  return this.reservedBit[r * this.size + o];
7478
7445
  }, gt = t, gt;
7479
7446
  }
7480
- var wt = {}, gr;
7481
- function Ia() {
7482
- return gr || (gr = 1, (function(t) {
7447
+ var wt = {}, fr;
7448
+ function Ta() {
7449
+ return fr || (fr = 1, (function(t) {
7483
7450
  const r = ke().getSymbolSize;
7484
7451
  t.getRowColCoords = function(a) {
7485
7452
  if (a === 1) return [];
@@ -7498,10 +7465,10 @@ function Ia() {
7498
7465
  };
7499
7466
  })(wt)), wt;
7500
7467
  }
7501
- var yt = {}, wr;
7502
- function Da() {
7503
- if (wr) return yt;
7504
- wr = 1;
7468
+ var yt = {}, gr;
7469
+ function Ba() {
7470
+ if (gr) return yt;
7471
+ gr = 1;
7505
7472
  const t = ke().getSymbolSize, r = 7;
7506
7473
  return yt.getPositions = function(a) {
7507
7474
  const s = t(a);
@@ -7515,9 +7482,9 @@ function Da() {
7515
7482
  ];
7516
7483
  }, yt;
7517
7484
  }
7518
- var bt = {}, yr;
7519
- function Ua() {
7520
- return yr || (yr = 1, (function(t) {
7485
+ var bt = {}, wr;
7486
+ function Ra() {
7487
+ return wr || (wr = 1, (function(t) {
7521
7488
  t.Patterns = {
7522
7489
  PATTERN000: 0,
7523
7490
  PATTERN001: 1,
@@ -7613,10 +7580,10 @@ function Ua() {
7613
7580
  };
7614
7581
  })(bt)), bt;
7615
7582
  }
7616
- var je = {}, br;
7617
- function bs() {
7618
- if (br) return je;
7619
- br = 1;
7583
+ var je = {}, yr;
7584
+ function ys() {
7585
+ if (yr) return je;
7586
+ yr = 1;
7620
7587
  const t = Yt(), r = [
7621
7588
  // L M Q H
7622
7589
  1,
@@ -7970,10 +7937,10 @@ function bs() {
7970
7937
  }
7971
7938
  }, je;
7972
7939
  }
7973
- var At = {}, Ie = {}, Ar;
7974
- function Fa() {
7975
- if (Ar) return Ie;
7976
- Ar = 1;
7940
+ var At = {}, Ie = {}, br;
7941
+ function Ia() {
7942
+ if (br) return Ie;
7943
+ br = 1;
7977
7944
  const t = new Uint8Array(512), r = new Uint8Array(256);
7978
7945
  return (function() {
7979
7946
  let a = 1;
@@ -7990,10 +7957,10 @@ function Fa() {
7990
7957
  return a === 0 || s === 0 ? 0 : t[r[a] + r[s]];
7991
7958
  }, Ie;
7992
7959
  }
7993
- var vr;
7994
- function _a() {
7995
- return vr || (vr = 1, (function(t) {
7996
- const r = Fa();
7960
+ var Ar;
7961
+ function Da() {
7962
+ return Ar || (Ar = 1, (function(t) {
7963
+ const r = Ia();
7997
7964
  t.mul = function(a, s) {
7998
7965
  const n = new Uint8Array(a.length + s.length - 1);
7999
7966
  for (let l = 0; l < a.length; l++)
@@ -8019,11 +7986,11 @@ function _a() {
8019
7986
  };
8020
7987
  })(At)), At;
8021
7988
  }
8022
- var vt, kr;
8023
- function Wa() {
8024
- if (kr) return vt;
8025
- kr = 1;
8026
- const t = _a();
7989
+ var vt, vr;
7990
+ function Ua() {
7991
+ if (vr) return vt;
7992
+ vr = 1;
7993
+ const t = Da();
8027
7994
  function r(o) {
8028
7995
  this.genPoly = void 0, this.degree = o, this.degree && this.initialize(this.degree);
8029
7996
  }
@@ -8042,16 +8009,16 @@ function Wa() {
8042
8009
  return n;
8043
8010
  }, vt = r, vt;
8044
8011
  }
8045
- var kt = {}, Nt = {}, Ct = {}, Nr;
8046
- function As() {
8047
- return Nr || (Nr = 1, Ct.isValid = function(r) {
8012
+ var kt = {}, Nt = {}, Ct = {}, kr;
8013
+ function bs() {
8014
+ return kr || (kr = 1, Ct.isValid = function(r) {
8048
8015
  return !isNaN(r) && r >= 1 && r <= 40;
8049
8016
  }), Ct;
8050
8017
  }
8051
- var fe = {}, Cr;
8052
- function vs() {
8053
- if (Cr) return fe;
8054
- Cr = 1;
8018
+ var fe = {}, Nr;
8019
+ function As() {
8020
+ if (Nr) return fe;
8021
+ Nr = 1;
8055
8022
  const t = "[0-9]+", r = "[A-Z $%*+\\-./:]+";
8056
8023
  let o = "(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";
8057
8024
  o = o.replace(/u/g, "\\u");
@@ -8067,10 +8034,10 @@ function vs() {
8067
8034
  return l.test(d);
8068
8035
  }, fe;
8069
8036
  }
8070
- var Er;
8037
+ var Cr;
8071
8038
  function Ne() {
8072
- return Er || (Er = 1, (function(t) {
8073
- const r = As(), o = vs();
8039
+ return Cr || (Cr = 1, (function(t) {
8040
+ const r = bs(), o = As();
8074
8041
  t.NUMERIC = {
8075
8042
  id: "Numeric",
8076
8043
  bit: 1,
@@ -8129,10 +8096,10 @@ function Ne() {
8129
8096
  };
8130
8097
  })(Nt)), Nt;
8131
8098
  }
8132
- var Sr;
8133
- function Oa() {
8134
- return Sr || (Sr = 1, (function(t) {
8135
- const r = ke(), o = bs(), a = Yt(), s = Ne(), n = As(), l = 7973, c = r.getBCHDigit(l);
8099
+ var Er;
8100
+ function Fa() {
8101
+ return Er || (Er = 1, (function(t) {
8102
+ const r = ke(), o = ys(), a = Yt(), s = Ne(), n = bs(), l = 7973, c = r.getBCHDigit(l);
8136
8103
  function d(g, w, p) {
8137
8104
  for (let h = 1; h <= 40; h++)
8138
8105
  if (w <= t.getCapacity(h, p, g))
@@ -8195,10 +8162,10 @@ function Oa() {
8195
8162
  };
8196
8163
  })(kt)), kt;
8197
8164
  }
8198
- var Et = {}, xr;
8199
- function qa() {
8200
- if (xr) return Et;
8201
- xr = 1;
8165
+ var Et = {}, Sr;
8166
+ function _a() {
8167
+ if (Sr) return Et;
8168
+ Sr = 1;
8202
8169
  const t = ke(), r = 1335, o = 21522, a = t.getBCHDigit(r);
8203
8170
  return Et.getEncodedBits = function(n, l) {
8204
8171
  const c = n.bit << 3 | l;
@@ -8208,10 +8175,10 @@ function qa() {
8208
8175
  return (c << 10 | d) ^ o;
8209
8176
  }, Et;
8210
8177
  }
8211
- var St = {}, xt, Pr;
8212
- function ja() {
8213
- if (Pr) return xt;
8214
- Pr = 1;
8178
+ var St = {}, xt, xr;
8179
+ function Wa() {
8180
+ if (xr) return xt;
8181
+ xr = 1;
8215
8182
  const t = Ne();
8216
8183
  function r(o) {
8217
8184
  this.mode = t.NUMERIC, this.data = o.toString();
@@ -8230,10 +8197,10 @@ function ja() {
8230
8197
  c > 0 && (n = this.data.substr(s), l = parseInt(n, 10), a.put(l, c * 3 + 1));
8231
8198
  }, xt = r, xt;
8232
8199
  }
8233
- var Pt, Lr;
8234
- function za() {
8235
- if (Lr) return Pt;
8236
- Lr = 1;
8200
+ var Pt, Pr;
8201
+ function Oa() {
8202
+ if (Pr) return Pt;
8203
+ Pr = 1;
8237
8204
  const t = Ne(), r = [
8238
8205
  "0",
8239
8206
  "1",
@@ -8299,10 +8266,10 @@ function za() {
8299
8266
  this.data.length % 2 && s.put(r.indexOf(this.data[n]), 6);
8300
8267
  }, Pt = o, Pt;
8301
8268
  }
8302
- var Lt, Mr;
8303
- function Va() {
8304
- if (Mr) return Lt;
8305
- Mr = 1;
8269
+ var Lt, Lr;
8270
+ function qa() {
8271
+ if (Lr) return Lt;
8272
+ Lr = 1;
8306
8273
  const t = Ne();
8307
8274
  function r(o) {
8308
8275
  this.mode = t.BYTE, typeof o == "string" ? this.data = new TextEncoder().encode(o) : this.data = new Uint8Array(o);
@@ -8318,10 +8285,10 @@ function Va() {
8318
8285
  o.put(this.data[a], 8);
8319
8286
  }, Lt = r, Lt;
8320
8287
  }
8321
- var Mt, Tr;
8322
- function Ha() {
8323
- if (Tr) return Mt;
8324
- Tr = 1;
8288
+ var Mt, Mr;
8289
+ function ja() {
8290
+ if (Mr) return Mt;
8291
+ Mr = 1;
8325
8292
  const t = Ne(), r = ke();
8326
8293
  function o(a) {
8327
8294
  this.mode = t.KANJI, this.data = a;
@@ -8349,9 +8316,9 @@ Make sure your charset is UTF-8`
8349
8316
  }
8350
8317
  }, Mt = o, Mt;
8351
8318
  }
8352
- var Tt = { exports: {} }, Br;
8353
- function Qa() {
8354
- return Br || (Br = 1, (function(t) {
8319
+ var Tt = { exports: {} }, Tr;
8320
+ function za() {
8321
+ return Tr || (Tr = 1, (function(t) {
8355
8322
  var r = {
8356
8323
  single_source_shortest_paths: function(o, a, s) {
8357
8324
  var n = {}, l = {};
@@ -8417,10 +8384,10 @@ function Qa() {
8417
8384
  t.exports = r;
8418
8385
  })(Tt)), Tt.exports;
8419
8386
  }
8420
- var Rr;
8421
- function Ka() {
8422
- return Rr || (Rr = 1, (function(t) {
8423
- const r = Ne(), o = ja(), a = za(), s = Va(), n = Ha(), l = vs(), c = ke(), d = Qa();
8387
+ var Br;
8388
+ function Va() {
8389
+ return Br || (Br = 1, (function(t) {
8390
+ const r = Ne(), o = Wa(), a = Oa(), s = qa(), n = ja(), l = As(), c = ke(), d = za();
8424
8391
  function u(b) {
8425
8392
  return unescape(encodeURIComponent(b)).length;
8426
8393
  }
@@ -8551,11 +8518,11 @@ function Ka() {
8551
8518
  };
8552
8519
  })(St)), St;
8553
8520
  }
8554
- var Ir;
8555
- function Ya() {
8556
- if (Ir) return pt;
8557
- Ir = 1;
8558
- const t = ke(), r = Yt(), o = Ba(), a = Ra(), s = Ia(), n = Da(), l = Ua(), c = bs(), d = Wa(), u = Oa(), m = qa(), f = Ne(), g = Ka();
8521
+ var Rr;
8522
+ function Ha() {
8523
+ if (Rr) return pt;
8524
+ Rr = 1;
8525
+ const t = ke(), r = Yt(), o = La(), a = Ma(), s = Ta(), n = Ba(), l = Ra(), c = ys(), d = Ua(), u = Fa(), m = _a(), f = Ne(), g = Va();
8559
8526
  function w(A, S) {
8560
8527
  const L = A.size, C = n.getPositions(S);
8561
8528
  for (let B = 0; B < C.length; B++) {
@@ -8688,9 +8655,9 @@ Minimum version required to store current data is: ` + T + `.
8688
8655
  return typeof L < "u" && (C = r.from(L.errorCorrectionLevel, r.M), B = u.from(L.version), T = l.from(L.maskPattern), L.toSJISFunc && t.setToSJISFunction(L.toSJISFunc)), P(S, B, C, T);
8689
8656
  }, pt;
8690
8657
  }
8691
- var Bt = {}, Rt = {}, Dr;
8692
- function ks() {
8693
- return Dr || (Dr = 1, (function(t) {
8658
+ var Bt = {}, Rt = {}, Ir;
8659
+ function vs() {
8660
+ return Ir || (Ir = 1, (function(t) {
8694
8661
  function r(o) {
8695
8662
  if (typeof o == "number" && (o = o.toString()), typeof o != "string")
8696
8663
  throw new Error("Color should be defined as hex string");
@@ -8742,10 +8709,10 @@ function ks() {
8742
8709
  };
8743
8710
  })(Rt)), Rt;
8744
8711
  }
8745
- var Ur;
8746
- function $a() {
8747
- return Ur || (Ur = 1, (function(t) {
8748
- const r = ks();
8712
+ var Dr;
8713
+ function Qa() {
8714
+ return Dr || (Dr = 1, (function(t) {
8715
+ const r = vs();
8749
8716
  function o(s, n, l) {
8750
8717
  s.clearRect(0, 0, n.width, n.height), n.style || (n.style = {}), n.height = l, n.width = l, n.style.height = l + "px", n.style.width = l + "px";
8751
8718
  }
@@ -8769,11 +8736,11 @@ function $a() {
8769
8736
  };
8770
8737
  })(Bt)), Bt;
8771
8738
  }
8772
- var It = {}, Fr;
8773
- function Ga() {
8774
- if (Fr) return It;
8775
- Fr = 1;
8776
- const t = ks();
8739
+ var It = {}, Ur;
8740
+ function Ka() {
8741
+ if (Ur) return It;
8742
+ Ur = 1;
8743
+ const t = vs();
8777
8744
  function r(s, n) {
8778
8745
  const l = s.a / 255, c = n + '="' + s.hex + '"';
8779
8746
  return l < 1 ? c + " " + n + '-opacity="' + l.toFixed(2).slice(1) + '"' : c;
@@ -8796,11 +8763,11 @@ function Ga() {
8796
8763
  return typeof c == "function" && c(null, y), y;
8797
8764
  }, It;
8798
8765
  }
8799
- var _r;
8800
- function Ja() {
8801
- if (_r) return Ee;
8802
- _r = 1;
8803
- const t = Ta(), r = Ya(), o = $a(), a = Ga();
8766
+ var Fr;
8767
+ function Ya() {
8768
+ if (Fr) return Ee;
8769
+ Fr = 1;
8770
+ const t = Pa(), r = Ha(), o = Qa(), a = Ka();
8804
8771
  function s(n, l, c, d, u) {
8805
8772
  const m = [].slice.call(arguments, 1), f = m.length, g = typeof m[f - 1] == "function";
8806
8773
  if (!g && !t())
@@ -8832,12 +8799,12 @@ function Ja() {
8832
8799
  return a.render(n, c);
8833
8800
  }), Ee;
8834
8801
  }
8835
- var Xa = Ja();
8836
- const Za = /* @__PURE__ */ Ko(Xa);
8837
- function ei({ value: t, size: r = 200, alt: o = "QR code", className: a = "" }) {
8802
+ var $a = Ya();
8803
+ const Ga = /* @__PURE__ */ Qo($a);
8804
+ function Ja({ value: t, size: r = 200, alt: o = "QR code", className: a = "" }) {
8838
8805
  const s = J(null), [n, l] = k(null);
8839
8806
  return _(() => {
8840
- !s.current || !t || Za.toCanvas(s.current, t, {
8807
+ !s.current || !t || Ga.toCanvas(s.current, t, {
8841
8808
  width: r,
8842
8809
  margin: 2,
8843
8810
  color: {
@@ -8870,7 +8837,7 @@ function ei({ value: t, size: r = 200, alt: o = "QR code", className: a = "" })
8870
8837
  }
8871
8838
  );
8872
8839
  }
8873
- function Ns() {
8840
+ function ks() {
8874
8841
  const { config: t, _internal: r } = te(), [o, a] = k(null), [s, n] = k("idle"), [l, c] = k(null), [d, u] = k(!1), [m, f] = k(null), g = q(
8875
8842
  () => new ae({
8876
8843
  baseUrl: t.serverUrl,
@@ -8988,8 +8955,8 @@ function Ns() {
8988
8955
  reset: N
8989
8956
  };
8990
8957
  }
8991
- function Cs({ onSuccess: t, onCancel: r, className: o = "" }) {
8992
- const { setupState: a, setupData: s, isLoading: n, error: l, beginSetup: c, enableTotp: d, clearError: u, reset: m } = Ns(), [f, g] = k("qr"), [w, p] = k(""), [h, y] = k(!1), [b, v] = k(!1), N = J(null);
8958
+ function Ns({ onSuccess: t, onCancel: r, className: o = "" }) {
8959
+ const { setupState: a, setupData: s, isLoading: n, error: l, beginSetup: c, enableTotp: d, clearError: u, reset: m } = ks(), [f, g] = k("qr"), [w, p] = k(""), [h, y] = k(!1), [b, v] = k(!1), N = J(null);
8993
8960
  _(() => {
8994
8961
  a === "idle" && c().catch(() => {
8995
8962
  });
@@ -9068,7 +9035,7 @@ function Cs({ onSuccess: t, onCancel: r, className: o = "" }) {
9068
9035
  f === "qr" && /* @__PURE__ */ i("div", { className: "cedros-totp-step", children: [
9069
9036
  /* @__PURE__ */ e("h3", { className: "cedros-totp-title", children: "Scan QR code" }),
9070
9037
  /* @__PURE__ */ e("p", { className: "cedros-totp-description", children: "Use your authenticator app to scan this QR code." }),
9071
- /* @__PURE__ */ e("div", { className: "cedros-totp-qr", children: /* @__PURE__ */ e(ei, { value: s.otpauthUri, size: 200, alt: "QR code for authenticator app" }) }),
9038
+ /* @__PURE__ */ e("div", { className: "cedros-totp-qr", children: /* @__PURE__ */ e(Ja, { value: s.otpauthUri, size: 200, alt: "QR code for authenticator app" }) }),
9072
9039
  /* @__PURE__ */ i("div", { className: "cedros-totp-manual", children: [
9073
9040
  /* @__PURE__ */ e("p", { className: "cedros-totp-manual-label", children: "Or enter this code manually:" }),
9074
9041
  /* @__PURE__ */ i("div", { className: "cedros-totp-secret", children: [
@@ -9157,7 +9124,7 @@ function Cs({ onSuccess: t, onCancel: r, className: o = "" }) {
9157
9124
  /* @__PURE__ */ e("h3", { className: "cedros-totp-title", children: "Verify setup" }),
9158
9125
  /* @__PURE__ */ e("p", { className: "cedros-totp-description", children: "Enter the 6-digit code from your authenticator app to complete setup." }),
9159
9126
  /* @__PURE__ */ e(
9160
- Zr,
9127
+ Xr,
9161
9128
  {
9162
9129
  value: w,
9163
9130
  onChange: p,
@@ -9195,8 +9162,8 @@ function Cs({ onSuccess: t, onCancel: r, className: o = "" }) {
9195
9162
  ] })
9196
9163
  ] }) : null;
9197
9164
  }
9198
- function ti({ onStatusChange: t, className: r = "" }) {
9199
- const { status: o, isLoading: a, error: s, getStatus: n, disableTotp: l, regenerateBackupCodes: c, clearError: d } = Ns(), [u, m] = k("status"), [f, g] = k(""), [w, p] = k(""), [h, y] = k(null), [b, v] = k(!1), [N, E] = k(null);
9165
+ function Xa({ onStatusChange: t, className: r = "" }) {
9166
+ const { status: o, isLoading: a, error: s, getStatus: n, disableTotp: l, regenerateBackupCodes: c, clearError: d } = ks(), [u, m] = k("status"), [f, g] = k(""), [w, p] = k(""), [h, y] = k(null), [b, v] = k(!1), [N, E] = k(null);
9200
9167
  _(() => {
9201
9168
  n().catch(() => {
9202
9169
  });
@@ -9237,7 +9204,7 @@ function ti({ onStatusChange: t, className: r = "" }) {
9237
9204
  children: "Retry"
9238
9205
  }
9239
9206
  )
9240
- ] }) : u === "setup" ? /* @__PURE__ */ e("div", { className: `cedros-totp-settings ${r}`, children: /* @__PURE__ */ e(Cs, { onSuccess: P, onCancel: () => m("status") }) }) : u === "disable" ? /* @__PURE__ */ e("div", { className: `cedros-totp-settings ${r}`, children: /* @__PURE__ */ i("div", { className: "cedros-totp-panel", children: [
9207
+ ] }) : u === "setup" ? /* @__PURE__ */ e("div", { className: `cedros-totp-settings ${r}`, children: /* @__PURE__ */ e(Ns, { onSuccess: P, onCancel: () => m("status") }) }) : u === "disable" ? /* @__PURE__ */ e("div", { className: `cedros-totp-settings ${r}`, children: /* @__PURE__ */ i("div", { className: "cedros-totp-panel", children: [
9241
9208
  /* @__PURE__ */ e("h3", { className: "cedros-totp-title", children: "Disable two-factor authentication" }),
9242
9209
  /* @__PURE__ */ e("p", { className: "cedros-totp-description cedros-totp-warning", children: "This will make your account less secure. Enter your password to confirm." }),
9243
9210
  N && /* @__PURE__ */ e("div", { className: "cedros-totp-error", children: /* @__PURE__ */ e(
@@ -9320,7 +9287,7 @@ function ti({ onStatusChange: t, className: r = "" }) {
9320
9287
  }
9321
9288
  ) }),
9322
9289
  /* @__PURE__ */ e("div", { className: "cedros-totp-verify-input", children: /* @__PURE__ */ e(
9323
- Zr,
9290
+ Xr,
9324
9291
  {
9325
9292
  value: w,
9326
9293
  onChange: p,
@@ -9404,7 +9371,7 @@ function ti({ onStatusChange: t, className: r = "" }) {
9404
9371
  )
9405
9372
  ] }) });
9406
9373
  }
9407
- class ri {
9374
+ class Za {
9408
9375
  client;
9409
9376
  constructor(r, o, a, s) {
9410
9377
  this.client = new ae({ baseUrl: r, timeoutMs: o, retryAttempts: a, getAccessToken: s });
@@ -9438,7 +9405,7 @@ class ri {
9438
9405
  }
9439
9406
  function st() {
9440
9407
  const { config: t, authState: r, _internal: o } = te(), [a, s] = k(!1), [n, l] = k(null), c = q(
9441
- () => new ri(
9408
+ () => new Za(
9442
9409
  t.serverUrl,
9443
9410
  t.requestTimeout,
9444
9411
  t.retryAttempts,
@@ -9486,7 +9453,7 @@ function st() {
9486
9453
  clearError: d
9487
9454
  };
9488
9455
  }
9489
- function qc({
9456
+ function _c({
9490
9457
  onPasswordChange: t,
9491
9458
  onClose: r,
9492
9459
  className: o = ""
@@ -9632,7 +9599,7 @@ function qc({
9632
9599
  ) })
9633
9600
  ] }) });
9634
9601
  }
9635
- class si {
9602
+ class ei {
9636
9603
  client;
9637
9604
  constructor(r, o, a, s) {
9638
9605
  this.client = new ae({ baseUrl: r, timeoutMs: o, retryAttempts: a, getAccessToken: s });
@@ -9659,9 +9626,9 @@ class si {
9659
9626
  }
9660
9627
  }
9661
9628
  }
9662
- function Es() {
9629
+ function Cs() {
9663
9630
  const { config: t, authState: r, _internal: o } = te(), [a, s] = k([]), [n, l] = k(!1), [c, d] = k(null), u = q(
9664
- () => new si(
9631
+ () => new ei(
9665
9632
  t.serverUrl,
9666
9633
  t.requestTimeout,
9667
9634
  t.retryAttempts,
@@ -9710,7 +9677,7 @@ function Es() {
9710
9677
  clearError: m
9711
9678
  };
9712
9679
  }
9713
- function oi({
9680
+ function ti({
9714
9681
  onPasswordChange: t,
9715
9682
  onCancel: r,
9716
9683
  className: o = ""
@@ -9805,8 +9772,8 @@ function oi({
9805
9772
  ] })
9806
9773
  ] }) });
9807
9774
  }
9808
- function ni({ onPasswordChange: t, className: r = "" }) {
9809
- const { user: o, refreshUser: a } = et(), { isLoading: s, error: n, updateProfile: l, clearError: c } = st(), { credentials: d } = Es(), {
9775
+ function ri({ onPasswordChange: t, className: r = "" }) {
9776
+ const { user: o, refreshUser: a } = et(), { isLoading: s, error: n, updateProfile: l, clearError: c } = st(), { credentials: d } = Cs(), {
9810
9777
  forgotPassword: u,
9811
9778
  isLoading: m,
9812
9779
  isSuccess: f,
@@ -9836,7 +9803,7 @@ function ni({ onPasswordChange: t, className: r = "" }) {
9836
9803
  }
9837
9804
  }, [o?.email, u]);
9838
9805
  return p === "change-password" ? /* @__PURE__ */ e(
9839
- oi,
9806
+ ti,
9840
9807
  {
9841
9808
  onPasswordChange: t,
9842
9809
  onCancel: () => h("view"),
@@ -9900,7 +9867,7 @@ function ni({ onPasswordChange: t, className: r = "" }) {
9900
9867
  onClick: P,
9901
9868
  title: "Edit name",
9902
9869
  "aria-label": "Edit name",
9903
- children: /* @__PURE__ */ e(ai, {})
9870
+ children: /* @__PURE__ */ e(si, {})
9904
9871
  }
9905
9872
  )
9906
9873
  ] }),
@@ -9963,7 +9930,7 @@ function ni({ onPasswordChange: t, className: r = "" }) {
9963
9930
  ] })
9964
9931
  ] }) });
9965
9932
  }
9966
- function ai() {
9933
+ function si() {
9967
9934
  return /* @__PURE__ */ i("svg", { width: "14", height: "14", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
9968
9935
  /* @__PURE__ */ e(
9969
9936
  "path",
@@ -9987,7 +9954,7 @@ function ai() {
9987
9954
  )
9988
9955
  ] });
9989
9956
  }
9990
- const Ss = {
9957
+ const Es = {
9991
9958
  password: "Email & Password",
9992
9959
  oauth_google: "Google",
9993
9960
  oauth_apple: "Apple",
@@ -9997,14 +9964,14 @@ const Ss = {
9997
9964
  totp: "Authenticator App (2FA)",
9998
9965
  sso_oidc: "Single Sign-On"
9999
9966
  };
10000
- function ii({
9967
+ function oi({
10001
9968
  onLinkGoogle: t,
10002
9969
  onLinkApple: r,
10003
9970
  onAddPasskey: o,
10004
9971
  onLinkSolana: a,
10005
9972
  className: s = ""
10006
9973
  }) {
10007
- const { credentials: n, isLoading: l, error: c, unlinkCredential: d, clearError: u, fetchCredentials: m } = Es(), { registerPasskey: f, isSupported: g } = gs(), [w, p] = k(null), [h, y] = k(!1), b = x(async () => {
9974
+ const { credentials: n, isLoading: l, error: c, unlinkCredential: d, clearError: u, fetchCredentials: m } = Cs(), { registerPasskey: f, isSupported: g } = fs(), [w, p] = k(null), [h, y] = k(!1), b = x(async () => {
10008
9975
  if (o) {
10009
9976
  o();
10010
9977
  return;
@@ -10018,7 +9985,7 @@ function ii({
10018
9985
  }
10019
9986
  }, [o, f, m]), v = x(
10020
9987
  async (C) => {
10021
- const B = C.label || Ss[C.credentialType];
9988
+ const B = C.label || Es[C.credentialType];
10022
9989
  if (window.confirm(
10023
9990
  `Remove "${B}" as a sign-in method? You won't be able to sign in with it anymore.`
10024
9991
  )) {
@@ -10046,7 +10013,7 @@ function ii({
10046
10013
  ),
10047
10014
  n.length === 0 && !l && /* @__PURE__ */ e("p", { className: "cedros-linked-accounts-empty", children: "No linked sign-in methods found." }),
10048
10015
  n.length > 0 && /* @__PURE__ */ e("ul", { className: "cedros-linked-credential-list", children: n.map((C) => /* @__PURE__ */ e(
10049
- ci,
10016
+ ni,
10050
10017
  {
10051
10018
  credential: C,
10052
10019
  isUnlinking: w === C.id,
@@ -10064,7 +10031,7 @@ function ii({
10064
10031
  className: "cedros-button cedros-button-outline cedros-button-sm",
10065
10032
  onClick: t,
10066
10033
  children: [
10067
- /* @__PURE__ */ e(xs, {}),
10034
+ /* @__PURE__ */ e(Ss, {}),
10068
10035
  " Google"
10069
10036
  ]
10070
10037
  }
@@ -10076,7 +10043,7 @@ function ii({
10076
10043
  className: "cedros-button cedros-button-outline cedros-button-sm",
10077
10044
  onClick: r,
10078
10045
  children: [
10079
- /* @__PURE__ */ e(Ps, {}),
10046
+ /* @__PURE__ */ e(xs, {}),
10080
10047
  " Apple"
10081
10048
  ]
10082
10049
  }
@@ -10101,7 +10068,7 @@ function ii({
10101
10068
  className: "cedros-button cedros-button-outline cedros-button-sm",
10102
10069
  onClick: a,
10103
10070
  children: [
10104
- /* @__PURE__ */ e(Ls, {}),
10071
+ /* @__PURE__ */ e(Ps, {}),
10105
10072
  " Solana"
10106
10073
  ]
10107
10074
  }
@@ -10110,22 +10077,22 @@ function ii({
10110
10077
  ] })
10111
10078
  ] });
10112
10079
  }
10113
- function ci({
10080
+ function ni({
10114
10081
  credential: t,
10115
10082
  isUnlinking: r,
10116
10083
  onUnlink: o
10117
10084
  }) {
10118
- const a = t.label || Ss[t.credentialType], s = li[t.credentialType] || di;
10085
+ const a = t.label || Es[t.credentialType], s = ai[t.credentialType] || ii;
10119
10086
  return /* @__PURE__ */ i("li", { className: "cedros-linked-credential", children: [
10120
10087
  /* @__PURE__ */ e("div", { className: "cedros-linked-credential__icon", children: /* @__PURE__ */ e(s, {}) }),
10121
10088
  /* @__PURE__ */ i("div", { className: "cedros-linked-credential__info", children: [
10122
10089
  /* @__PURE__ */ e("span", { className: "cedros-linked-credential__name", children: a }),
10123
10090
  /* @__PURE__ */ i("span", { className: "cedros-linked-credential__meta", children: [
10124
10091
  "Added ",
10125
- Wr(t.createdAt),
10092
+ _r(t.createdAt),
10126
10093
  t.lastUsedAt && /* @__PURE__ */ i($, { children: [
10127
10094
  " · Last used ",
10128
- Wr(t.lastUsedAt)
10095
+ _r(t.lastUsedAt)
10129
10096
  ] }),
10130
10097
  t.isPrimary && /* @__PURE__ */ e($, { children: " · Primary" })
10131
10098
  ] })
@@ -10143,34 +10110,34 @@ function ci({
10143
10110
  ) })
10144
10111
  ] });
10145
10112
  }
10146
- function Wr(t) {
10113
+ function _r(t) {
10147
10114
  const r = new Date(t), a = (/* @__PURE__ */ new Date()).getTime() - r.getTime(), s = Math.floor(a / (1e3 * 60)), n = Math.floor(a / (1e3 * 60 * 60)), l = Math.floor(a / (1e3 * 60 * 60 * 24));
10148
10115
  return s < 1 ? "just now" : s < 60 ? `${s}m ago` : n < 24 ? `${n}h ago` : l < 30 ? `${l}d ago` : r.toLocaleDateString(void 0, { year: "numeric", month: "short", day: "numeric" });
10149
10116
  }
10150
- const li = {
10151
- password: ui,
10152
- oauth_google: xs,
10153
- oauth_apple: Ps,
10154
- solana: Ls,
10117
+ const ai = {
10118
+ password: ci,
10119
+ oauth_google: Ss,
10120
+ oauth_apple: xs,
10121
+ solana: Ps,
10155
10122
  webauthn_passkey: qt,
10156
10123
  webauthn_security_key: qt,
10157
- totp: hi,
10158
- sso_oidc: pi
10124
+ totp: li,
10125
+ sso_oidc: di
10159
10126
  };
10160
- function di() {
10127
+ function ii() {
10161
10128
  return /* @__PURE__ */ i("svg", { width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
10162
10129
  /* @__PURE__ */ e("circle", { cx: "12", cy: "12", r: "10", stroke: "currentColor", strokeWidth: "1.5" }),
10163
10130
  /* @__PURE__ */ e("path", { d: "M12 8v4m0 4h.01", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" })
10164
10131
  ] });
10165
10132
  }
10166
- function ui() {
10133
+ function ci() {
10167
10134
  return /* @__PURE__ */ i("svg", { width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
10168
10135
  /* @__PURE__ */ e("rect", { x: "3", y: "11", width: "18", height: "11", rx: "2", stroke: "currentColor", strokeWidth: "1.5" }),
10169
10136
  /* @__PURE__ */ e("path", { d: "M7 11V7a5 5 0 0110 0v4", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" }),
10170
10137
  /* @__PURE__ */ e("circle", { cx: "12", cy: "16", r: "1.5", fill: "currentColor" })
10171
10138
  ] });
10172
10139
  }
10173
- function xs() {
10140
+ function Ss() {
10174
10141
  return /* @__PURE__ */ i("svg", { width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
10175
10142
  /* @__PURE__ */ e("path", { d: "M21.8 12.2c0-.7-.1-1.4-.2-2H12v3.8h5.5a4.7 4.7 0 01-2 3.1v2.5h3.3c1.9-1.7 3-4.3 3-7.4z", fill: "#4285F4" }),
10176
10143
  /* @__PURE__ */ e("path", { d: "M12 22c2.7 0 5-.9 6.6-2.4l-3.3-2.5c-.9.6-2 1-3.3 1-2.5 0-4.7-1.7-5.4-4H3.2v2.6A10 10 0 0012 22z", fill: "#34A853" }),
@@ -10178,7 +10145,7 @@ function xs() {
10178
10145
  /* @__PURE__ */ e("path", { d: "M12 5.9c1.4 0 2.7.5 3.7 1.4l2.8-2.8A10 10 0 0012 2 10 10 0 003.2 7.3l3.4 2.6C7.3 7.6 9.5 5.9 12 5.9z", fill: "#EA4335" })
10179
10146
  ] });
10180
10147
  }
10181
- function Ps() {
10148
+ function xs() {
10182
10149
  return /* @__PURE__ */ e("svg", { width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ e(
10183
10150
  "path",
10184
10151
  {
@@ -10187,7 +10154,7 @@ function Ps() {
10187
10154
  }
10188
10155
  ) });
10189
10156
  }
10190
- function Ls() {
10157
+ function Ps() {
10191
10158
  return /* @__PURE__ */ i("svg", { width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
10192
10159
  /* @__PURE__ */ e("rect", { x: "2", y: "6", width: "20", height: "14", rx: "2", stroke: "currentColor", strokeWidth: "1.5" }),
10193
10160
  /* @__PURE__ */ e("path", { d: "M2 10h20", stroke: "currentColor", strokeWidth: "1.5" }),
@@ -10201,13 +10168,13 @@ function qt() {
10201
10168
  /* @__PURE__ */ e("path", { d: "M17 14v4m0 0v2m0-2h-2m2 0h2", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" })
10202
10169
  ] });
10203
10170
  }
10204
- function hi() {
10171
+ function li() {
10205
10172
  return /* @__PURE__ */ i("svg", { width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
10206
10173
  /* @__PURE__ */ e("rect", { x: "5", y: "2", width: "14", height: "20", rx: "2", stroke: "currentColor", strokeWidth: "1.5" }),
10207
10174
  /* @__PURE__ */ e("path", { d: "M9 12h6M12 9v6", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" })
10208
10175
  ] });
10209
10176
  }
10210
- function pi() {
10177
+ function di() {
10211
10178
  return /* @__PURE__ */ i("svg", { width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
10212
10179
  /* @__PURE__ */ e("rect", { x: "3", y: "3", width: "8", height: "8", rx: "1", stroke: "currentColor", strokeWidth: "1.5" }),
10213
10180
  /* @__PURE__ */ e("rect", { x: "13", y: "3", width: "8", height: "8", rx: "1", stroke: "currentColor", strokeWidth: "1.5" }),
@@ -10215,7 +10182,7 @@ function pi() {
10215
10182
  /* @__PURE__ */ e("rect", { x: "13", y: "13", width: "8", height: "8", rx: "1", stroke: "currentColor", strokeWidth: "1.5" })
10216
10183
  ] });
10217
10184
  }
10218
- class mi {
10185
+ class ui {
10219
10186
  client;
10220
10187
  constructor(r, o, a, s) {
10221
10188
  this.client = new ae({ baseUrl: r, timeoutMs: o, retryAttempts: a, getAccessToken: s });
@@ -10241,9 +10208,9 @@ class mi {
10241
10208
  }
10242
10209
  }
10243
10210
  }
10244
- function fi() {
10211
+ function hi() {
10245
10212
  const { config: t, authState: r, _internal: o } = te(), [a, s] = k([]), [n, l] = k(!1), [c, d] = k(null), u = q(
10246
- () => new mi(
10213
+ () => new ui(
10247
10214
  t.serverUrl,
10248
10215
  t.requestTimeout,
10249
10216
  t.retryAttempts,
@@ -10288,12 +10255,12 @@ function fi() {
10288
10255
  otherSessionCount: g
10289
10256
  };
10290
10257
  }
10291
- const gi = {
10258
+ const pi = {
10292
10259
  profile: "Profile",
10293
10260
  security: "Security",
10294
10261
  linked: "Linked Accounts"
10295
- }, wi = ["profile", "security", "linked"];
10296
- function jc({
10262
+ }, mi = ["profile", "security", "linked"];
10263
+ function Wc({
10297
10264
  defaultTab: t = "profile",
10298
10265
  onClose: r,
10299
10266
  onPasswordChange: o,
@@ -10304,9 +10271,9 @@ function jc({
10304
10271
  onLinkSolana: c,
10305
10272
  className: d = ""
10306
10273
  }) {
10307
- const [u, m] = k(t), { sessions: f, isLoading: g, error: w, revokeAllSessions: p } = fi();
10274
+ const [u, m] = k(t), { sessions: f, isLoading: g, error: w, revokeAllSessions: p } = hi();
10308
10275
  return /* @__PURE__ */ i("div", { className: `cedros-account-settings ${d}`, children: [
10309
- /* @__PURE__ */ e("div", { className: "cedros-account-tabs--line", role: "tablist", children: wi.map((h) => /* @__PURE__ */ e(
10276
+ /* @__PURE__ */ e("div", { className: "cedros-account-tabs--line", role: "tablist", children: mi.map((h) => /* @__PURE__ */ e(
10310
10277
  "button",
10311
10278
  {
10312
10279
  type: "button",
@@ -10314,16 +10281,16 @@ function jc({
10314
10281
  "aria-selected": u === h,
10315
10282
  className: `cedros-account-tab ${u === h ? "cedros-account-tab-active" : ""}`,
10316
10283
  onClick: () => m(h),
10317
- children: gi[h]
10284
+ children: pi[h]
10318
10285
  },
10319
10286
  h
10320
10287
  )) }),
10321
10288
  /* @__PURE__ */ i("div", { className: "cedros-account-tab-content", role: "tabpanel", children: [
10322
- u === "profile" && /* @__PURE__ */ e(ni, { onPasswordChange: o }),
10289
+ u === "profile" && /* @__PURE__ */ e(ri, { onPasswordChange: o }),
10323
10290
  u === "security" && /* @__PURE__ */ i("div", { className: "cedros-account-security", children: [
10324
- /* @__PURE__ */ e(ti, { onStatusChange: a }),
10291
+ /* @__PURE__ */ e(Xa, { onStatusChange: a }),
10325
10292
  /* @__PURE__ */ e(
10326
- _n,
10293
+ Dn,
10327
10294
  {
10328
10295
  sessions: f,
10329
10296
  isLoading: g,
@@ -10335,7 +10302,7 @@ function jc({
10335
10302
  )
10336
10303
  ] }),
10337
10304
  u === "linked" && /* @__PURE__ */ e(
10338
- ii,
10305
+ oi,
10339
10306
  {
10340
10307
  onLinkGoogle: s,
10341
10308
  onLinkApple: n,
@@ -10355,16 +10322,16 @@ function jc({
10355
10322
  ) })
10356
10323
  ] });
10357
10324
  }
10358
- function zc({ onComplete: t, className: r }) {
10325
+ function Oc({ onComplete: t, className: r }) {
10359
10326
  return /* @__PURE__ */ i("div", { className: `cedros-mfa-setup-prompt ${r ?? ""}`, children: [
10360
10327
  /* @__PURE__ */ i("div", { className: "cedros-mfa-setup-prompt__header", children: [
10361
10328
  /* @__PURE__ */ e("h2", { className: "cedros-mfa-setup-prompt__title", children: "Two-factor authentication required" }),
10362
10329
  /* @__PURE__ */ e("p", { className: "cedros-mfa-setup-prompt__description", children: "Your administrator requires you to set up two-factor authentication before continuing. This adds an extra layer of security to your account." })
10363
10330
  ] }),
10364
- /* @__PURE__ */ e("div", { className: "cedros-mfa-setup-prompt__body", children: /* @__PURE__ */ e(Cs, { onSuccess: t }) })
10331
+ /* @__PURE__ */ e("div", { className: "cedros-mfa-setup-prompt__body", children: /* @__PURE__ */ e(Ns, { onSuccess: t }) })
10365
10332
  ] });
10366
10333
  }
10367
- function Vc({
10334
+ function qc({
10368
10335
  onComplete: t,
10369
10336
  onSkip: r,
10370
10337
  className: o
@@ -10438,7 +10405,7 @@ function Vc({
10438
10405
  ] })
10439
10406
  ] });
10440
10407
  }
10441
- function yi() {
10408
+ function fi() {
10442
10409
  const t = ve(), [r, o] = k(!1), [a, s] = k(null), n = q(() => t ? new ae({
10443
10410
  baseUrl: t.config.serverUrl,
10444
10411
  timeoutMs: t.config.requestTimeout,
@@ -10578,7 +10545,7 @@ function yi() {
10578
10545
  clearError: l
10579
10546
  };
10580
10547
  }
10581
- function Ms({
10548
+ function Ls({
10582
10549
  tokens: t,
10583
10550
  selectedToken: r,
10584
10551
  onSelect: o,
@@ -10703,11 +10670,11 @@ function Ms({
10703
10670
  function $t(t, r) {
10704
10671
  return r.privateDepositsEnabled && t >= r.privateMinUsd ? "private" : t >= r.publicMinUsd ? "public" : "sol_micro";
10705
10672
  }
10706
- const Gt = "data:image/webp;base64,UklGRkACAABXRUJQVlA4IDQCAACQDQCdASo8ADwAPjEWiUMiISEUBFQgAwSgB4Z/TeLt3XMAoQH23eph0gPMB+sn+M9tvngOsA9ADwgPg3/cH9sfZciikEBuA1AB+nf+84CUkAVvA2x4xvyobR+mBaYhjUv/ewHb4hTqOnP38rzsxZX2inOSciAA/v7uqvqGdpWcjjrfMDFaNHumTog38t3yor0kbjn631VsX61cAC749wWuAX74u/f/hpeDFqS/ci8E1g94wk9UVs7BHqtv7f/M9iT1u5ITJV0Gv6tE/CW5j/nVR6yExJ6JoDRDOWQ8zVpWH92r3Lnbnc4WJpOchbRT3H5rv//6PP+F//4ehLUlR/4tkRUKZu/yOa26+sywmY+Xc1X2lXMcUv7+eQ7+FBE7bhKc7htieBfH4eR134AVaILL7PWA2FjzAjfaP1Lgirqoq/ZooE8jVD/b4g3J3O3/TG/4ajHe6clnAI/4NdwrnHX0P/quBU03HqSsQ0qsEMAuhrH/jn+YtDzmjm8q/cGJ44qvi24Hn+G1kxz2XP2S/Gp7ri5cMlo+muuwBjyNJnnEcTt/5cRdYS2cbEBZtpINWj3PuC1EOsd/8cTepSpxODcJHLzktfC1PHW3Pgoh3J5PHjW3TCQ1Wlu/wP8e8OPfNm48BODGChioj3ezblqrOBV+cI+hLi7ReJdvBF/4jY+/Un0asuWnrA6kRNpgOeO8wyl4Ryhkrff+9R1SpyPYP+5T3EuWWLZaCn0bGzyk97S3VAAAAAA=", bi = 1e4, Ze = 1e3, Ts = 3;
10707
- function Ai(t) {
10673
+ const Gt = "data:image/webp;base64,UklGRkACAABXRUJQVlA4IDQCAACQDQCdASo8ADwAPjEWiUMiISEUBFQgAwSgB4Z/TeLt3XMAoQH23eph0gPMB+sn+M9tvngOsA9ADwgPg3/cH9sfZciikEBuA1AB+nf+84CUkAVvA2x4xvyobR+mBaYhjUv/ewHb4hTqOnP38rzsxZX2inOSciAA/v7uqvqGdpWcjjrfMDFaNHumTog38t3yor0kbjn631VsX61cAC749wWuAX74u/f/hpeDFqS/ci8E1g94wk9UVs7BHqtv7f/M9iT1u5ITJV0Gv6tE/CW5j/nVR6yExJ6JoDRDOWQ8zVpWH92r3Lnbnc4WJpOchbRT3H5rv//6PP+F//4ehLUlR/4tkRUKZu/yOa26+sywmY+Xc1X2lXMcUv7+eQ7+FBE7bhKc7htieBfH4eR134AVaILL7PWA2FjzAjfaP1Lgirqoq/ZooE8jVD/b4g3J3O3/TG/4ajHe6clnAI/4NdwrnHX0P/quBU03HqSsQ0qsEMAuhrH/jn+YtDzmjm8q/cGJ44qvi24Hn+G1kxz2XP2S/Gp7ri5cMlo+muuwBjyNJnnEcTt/5cRdYS2cbEBZtpINWj3PuC1EOsd/8cTepSpxODcJHLzktfC1PHW3Pgoh3J5PHjW3TCQ1Wlu/wP8e8OPfNm48BODGChioj3ezblqrOBV+cI+hLi7ReJdvBF/4jY+/Un0asuWnrA6kRNpgOeO8wyl4Ryhkrff+9R1SpyPYP+5T3EuWWLZaCn0bGzyk97S3VAAAAAA=", gi = 1e4, Ze = 1e3, Ms = 3;
10674
+ function wi(t) {
10708
10675
  return Number.isFinite(t) ? `$${Math.round(t)}` : "$0";
10709
10676
  }
10710
- function vi(t, r) {
10677
+ function yi(t, r) {
10711
10678
  switch (t) {
10712
10679
  case "private":
10713
10680
  return {
@@ -10724,7 +10691,7 @@ function vi(t, r) {
10724
10691
  case "sol_micro":
10725
10692
  return {
10726
10693
  label: "SOL Only",
10727
- detail: `SOL only under ${Ai(r.solMicroMaxUsd)}`,
10694
+ detail: `SOL only under ${wi(r.solMicroMaxUsd)}`,
10728
10695
  note: "Small deposits must be sent in SOL and are visible on-chain. Increase the amount to use tokens."
10729
10696
  };
10730
10697
  }
@@ -10732,34 +10699,34 @@ function vi(t, r) {
10732
10699
  function Jt(t, r, o) {
10733
10700
  return Math.min(Math.max(t, r), o);
10734
10701
  }
10735
- function ki(t, r) {
10702
+ function bi(t, r) {
10736
10703
  if (r <= 0) return 0;
10737
10704
  const o = Jt(t / r, 0, 1);
10738
- return Math.round(Math.pow(o, 1 / Ts) * Ze);
10705
+ return Math.round(Math.pow(o, 1 / Ms) * Ze);
10739
10706
  }
10740
- function Ni(t, r) {
10707
+ function Ai(t, r) {
10741
10708
  const o = Jt(t / Ze, 0, 1);
10742
- return r * Math.pow(o, Ts);
10709
+ return r * Math.pow(o, Ms);
10743
10710
  }
10744
- function Bs(t) {
10711
+ function Ts(t) {
10745
10712
  return t < 10 ? 0.01 : t < 100 ? 1 : t < 500 ? 5 : t < 1e3 ? 10 : t < 5e3 ? 25 : 50;
10746
10713
  }
10747
- function Ci(t) {
10714
+ function vi(t) {
10748
10715
  return t < 1 ? 2 : 0;
10749
10716
  }
10750
- function Or(t) {
10751
- const r = Bs(t), o = Math.round(t / r) * r, a = Ci(r);
10717
+ function Wr(t) {
10718
+ const r = Ts(t), o = Math.round(t / r) * r, a = vi(r);
10752
10719
  return Number(o.toFixed(a));
10753
10720
  }
10754
- function Rs({
10721
+ function Bs({
10755
10722
  config: t,
10756
10723
  valueUsd: r,
10757
10724
  onChange: o,
10758
- maxUsd: a = bi,
10725
+ maxUsd: a = gi,
10759
10726
  disabled: s = !1,
10760
10727
  className: n = ""
10761
10728
  }) {
10762
- const l = Jt(Number.isFinite(r) ? r : 0, 0, a), c = q(() => $t(l, t), [l, t]), d = vi(c, t), u = ki(l, a), m = u / Ze * 100;
10729
+ const l = Jt(Number.isFinite(r) ? r : 0, 0, a), c = q(() => $t(l, t), [l, t]), d = yi(c, t), u = bi(l, a), m = u / Ze * 100;
10763
10730
  return /* @__PURE__ */ i("div", { className: `cedros-tiered-slider ${n}`, children: [
10764
10731
  /* @__PURE__ */ i("div", { className: "cedros-tiered-slider-input-row", children: [
10765
10732
  /* @__PURE__ */ i("div", { className: "cedros-tiered-slider-input", children: [
@@ -10769,11 +10736,11 @@ function Rs({
10769
10736
  {
10770
10737
  type: "number",
10771
10738
  value: l || "",
10772
- onChange: (f) => o(Or(parseFloat(f.target.value) || 0)),
10739
+ onChange: (f) => o(Wr(parseFloat(f.target.value) || 0)),
10773
10740
  placeholder: "Enter amount",
10774
10741
  disabled: s,
10775
10742
  min: 0,
10776
- step: Bs(l),
10743
+ step: Ts(l),
10777
10744
  className: "cedros-deposit-flow-input cedros-tiered-slider-input-field",
10778
10745
  "aria-label": "Deposit amount"
10779
10746
  }
@@ -10795,7 +10762,7 @@ function Rs({
10795
10762
  max: Ze,
10796
10763
  step: 1,
10797
10764
  value: u,
10798
- onChange: (f) => o(Or(Ni(parseFloat(f.target.value), a))),
10765
+ onChange: (f) => o(Wr(Ai(parseFloat(f.target.value), a))),
10799
10766
  className: "cedros-tiered-slider-range",
10800
10767
  style: {
10801
10768
  background: `linear-gradient(to right, var(--cedros-primary) 0%, var(--cedros-primary) ${m}%, var(--cedros-border) ${m}%, var(--cedros-border) 100%)`
@@ -10807,10 +10774,10 @@ function Rs({
10807
10774
  d.note && /* @__PURE__ */ e("div", { className: "cedros-tiered-slider-note", children: d.note })
10808
10775
  ] });
10809
10776
  }
10810
- function Ei(t) {
10777
+ function ki(t) {
10811
10778
  return t.companyFeePercent > 0 || t.feePolicy === "user_pays_all" || t.feePolicy === "user_pays_swap" || t.feePolicy === "user_pays_privacy";
10812
10779
  }
10813
- function Si(t, r, o) {
10780
+ function Ni(t, r, o) {
10814
10781
  const { feePolicy: a, privacyFeePercent: s, swapFeePercent: n, companyFeePercent: l } = t;
10815
10782
  let c = l;
10816
10783
  return o || (a === "user_pays_all" ? (c += n, r && (c += s)) : a === "user_pays_privacy" && r ? c += s : a === "user_pays_swap" && (c += n)), c;
@@ -10826,8 +10793,8 @@ const Ve = 1e9, Se = {
10826
10793
  symbol: "OTHER",
10827
10794
  name: "Other",
10828
10795
  decimals: 6
10829
- }, Is = 1e4;
10830
- function xi(t, r) {
10796
+ }, Rs = 1e4;
10797
+ function Ci(t, r) {
10831
10798
  const o = r < t.publicMinUsd, a = r >= t.privateMinUsd, s = [], n = !o && a && (t.feePolicy === "user_pays_all" || t.feePolicy === "user_pays_privacy") && (t.privacyFeeFixedLamports > 0 || t.privacyFeePercent > 0), l = !o && (t.feePolicy === "user_pays_all" || t.feePolicy === "user_pays_swap") && (t.swapFeeFixedLamports > 0 || t.swapFeePercent > 0), c = t.companyFeeFixedLamports > 0 || t.companyFeePercent > 0;
10832
10799
  if (n) {
10833
10800
  const d = t.privacyFeeFixedLamports / Ve, u = t.privacyFeePercent, m = d * t.solPriceUsd, f = r * (u / 100);
@@ -10843,8 +10810,8 @@ function xi(t, r) {
10843
10810
  }
10844
10811
  return s;
10845
10812
  }
10846
- function Ds(t, r, o) {
10847
- const a = xi(t, r), s = o < 0.01 ? 0.01 : o;
10813
+ function Is(t, r, o) {
10814
+ const a = Ci(t, r), s = o < 0.01 ? 0.01 : o;
10848
10815
  if (a.length === 0)
10849
10816
  return `Total: $${s.toFixed(2)}`;
10850
10817
  const n = a.reduce((p, h) => p + h.solAmount, 0), l = a.reduce((p, h) => p + h.percent, 0), c = { fee: 7, sol: 8, rate: 7, usd: 8 }, d = (p) => {
@@ -10854,38 +10821,38 @@ function Ds(t, r, o) {
10854
10821
  return [u, m, ...a.map(d), m, g].join(`
10855
10822
  `);
10856
10823
  }
10857
- function Pi(t) {
10824
+ function Ei(t) {
10858
10825
  const r = [], o = t.privacyFeeFixedLamports > 0 || t.privacyFeePercent > 0, a = t.swapFeeFixedLamports > 0 || t.swapFeePercent > 0, s = t.companyFeeFixedLamports > 0 || t.companyFeePercent > 0;
10859
10826
  return o && r.push("Privacy Cash fee"), a && r.push("swap fee"), s && r.push("company service fee"), r.length === 0 ? "No processing fees apply to deposits." : "A small fee may apply. We'll show exact totals before you confirm.";
10860
10827
  }
10861
10828
  function ot(t, r) {
10862
10829
  if (r <= 0) return 0;
10863
- const o = r < t.publicMinUsd, a = r >= t.privateMinUsd, s = Si(t, a, o);
10830
+ const o = r < t.publicMinUsd, a = r >= t.privateMinUsd, s = Ni(t, a, o);
10864
10831
  let n = t.companyFeeFixedLamports;
10865
10832
  o || (a && (t.feePolicy === "user_pays_all" || t.feePolicy === "user_pays_privacy") && (n += t.privacyFeeFixedLamports), (t.feePolicy === "user_pays_all" || t.feePolicy === "user_pays_swap") && (n += t.swapFeeFixedLamports));
10866
10833
  const l = n / Ve * t.solPriceUsd, c = r * (s / 100);
10867
10834
  return l + c;
10868
10835
  }
10869
- function Us(t, r, o) {
10836
+ function Ds(t, r, o) {
10870
10837
  return t === "sol" ? "SOL" : t === "single-token" ? r.symbol : o.some((s) => s.symbol === "USDC") ? "SOL or USDC" : "SOL or supported tokens";
10871
10838
  }
10872
- function qr(t) {
10839
+ function Or(t) {
10873
10840
  return t.map((r) => r.trim()).filter(Boolean);
10874
10841
  }
10875
- const Fs = /* @__PURE__ */ new Set(["USDC", "USDT", "USD1", "PYUSD", "USDH", "CASH"]);
10876
- function _s(t, r, o) {
10877
- if (Fs.has(t.symbol)) return 1;
10842
+ const Us = /* @__PURE__ */ new Set(["USDC", "USDT", "USD1", "PYUSD", "USDH", "CASH"]);
10843
+ function Fs(t, r, o) {
10844
+ if (Us.has(t.symbol)) return 1;
10878
10845
  const a = r.tokenPrices?.[t.symbol];
10879
10846
  if (a && a > 0) return a;
10880
10847
  if (t.symbol === "SOL") return r.solPriceUsd || null;
10881
10848
  const s = o?.[t.symbol];
10882
10849
  return s && s > 0 ? s : null;
10883
10850
  }
10884
- function Ws(t, r) {
10885
- const o = Fs.has(r) ? 2 : 4;
10851
+ function _s(t, r) {
10852
+ const o = Us.has(r) ? 2 : 4;
10886
10853
  return t.toFixed(o);
10887
10854
  }
10888
- function Hc({
10855
+ function jc({
10889
10856
  config: t,
10890
10857
  currencyMode: r,
10891
10858
  depositMethod: o,
@@ -10908,7 +10875,7 @@ function Hc({
10908
10875
  siteName: N,
10909
10876
  explainerConfig: E
10910
10877
  }) {
10911
- const { deposit: P, getStatus: A, error: S, clearError: L } = yi(), C = tt(), B = qr(t.quickActionTokens), T = qr(t.customTokenSymbols), M = q(() => {
10878
+ const { deposit: P, getStatus: A, error: S, clearError: L } = fi(), C = tt(), B = Or(t.quickActionTokens), T = Or(t.customTokenSymbols), M = q(() => {
10912
10879
  const O = t.customTokens ?? [];
10913
10880
  if (O.length === 0) return a;
10914
10881
  const H = new Set(a.map((Z) => Z.symbol)), Y = [...a];
@@ -10926,11 +10893,11 @@ function Hc({
10926
10893
  if (T.length === 0) return M;
10927
10894
  const O = M.filter((H) => T.includes(H.symbol));
10928
10895
  return O.length > 0 ? O : M;
10929
- }, [M, T]), I = t.privateDepositsEnabled, U = o ? o === "sign" && !I ? "receive" : o : I && C.hasExternalWallet ? "sign" : "receive", ee = B[0] ? M.find((O) => O.symbol === B[0]) : void 0, pe = r === "sol" ? Se : r === "single-token" ? ee ?? M.find((O) => O.symbol === "USDC") ?? M[0] ?? Se : s ?? ee ?? M.find((O) => O.symbol === "USDC") ?? M.find((O) => O.symbol !== "SOL") ?? M[0] ?? Se, re = x(() => v ? "explainer" : "unlock", [v]), [Q, D] = k(re), [F, K] = k(pe), [se, ne] = k(""), [ge, me] = k(null), [V, z] = k(null), [G, de] = k(null), [be, Zt] = k(null), [nt, Me] = k(!1), [zs, at] = k(!1), [De, er] = k(null);
10896
+ }, [M, T]), I = t.privateDepositsEnabled, U = o ? o === "sign" && !I ? "receive" : o : I && C.hasExternalWallet ? "sign" : "receive", ee = B[0] ? M.find((O) => O.symbol === B[0]) : void 0, pe = r === "sol" ? Se : r === "single-token" ? ee ?? M.find((O) => O.symbol === "USDC") ?? M[0] ?? Se : s ?? ee ?? M.find((O) => O.symbol === "USDC") ?? M.find((O) => O.symbol !== "SOL") ?? M[0] ?? Se, re = x(() => v ? "explainer" : "unlock", [v]), [Q, D] = k(re), [F, K] = k(pe), [se, ne] = k(""), [ge, me] = k(null), [V, z] = k(null), [G, de] = k(null), [be, Zt] = k(null), [nt, Me] = k(!1), [js, at] = k(!1), [De, er] = k(null);
10930
10897
  _(() => {
10931
10898
  D(re()), K(pe), ne(""), me(null), z(null), de(null), Zt(null), Me(!1), at(!1), er(null), L();
10932
10899
  }, [r, U, pe, L, re]);
10933
- const Vs = n ?? t.privateMinSol, Hs = l, Ue = parseFloat(se), tr = C.status === "enrolled_locked" || C.status === "enrolled_unlocked" || C.status === "unlocked", it = tr && C.isUnlocked, ct = tr && !C.isUnlocked, rr = x(() => {
10900
+ const zs = n ?? t.privateMinSol, Vs = l, Ue = parseFloat(se), tr = C.status === "enrolled_locked" || C.status === "enrolled_unlocked" || C.status === "unlocked", it = tr && C.isUnlocked, ct = tr && !C.isUnlocked, rr = x(() => {
10934
10901
  let Y = U === "sign" ? [
10935
10902
  { key: "unlock", label: "Authorize" },
10936
10903
  { key: "confirm", label: "Send" },
@@ -10943,9 +10910,9 @@ function Hc({
10943
10910
  { key: "success", label: "Complete" }
10944
10911
  ];
10945
10912
  return v && (Y = [{ key: "explainer", label: "Info" }, ...Y]), Y;
10946
- }, [U, v])(), Qs = rr.findIndex((O) => O.key === Q), sr = x((O) => {
10913
+ }, [U, v])(), Hs = rr.findIndex((O) => O.key === Q), sr = x((O) => {
10947
10914
  K(O);
10948
- }, []), Ks = x(
10915
+ }, []), Qs = x(
10949
10916
  async (O) => {
10950
10917
  if (!f) {
10951
10918
  D(U === "sign" ? "confirm" : "show-address");
@@ -10963,7 +10930,7 @@ function Hc({
10963
10930
  }
10964
10931
  },
10965
10932
  [f, U, Ue, F]
10966
- ), Ys = x(
10933
+ ), Ks = x(
10967
10934
  async (O, H) => {
10968
10935
  L(), z(null), D("signing");
10969
10936
  const Y = O ?? Ue, Z = H ?? F;
@@ -11028,7 +10995,7 @@ function Hc({
11028
10995
  d,
11029
10996
  L
11030
10997
  ]
11031
- ), $s = x(() => {
10998
+ ), Ys = x(() => {
11032
10999
  D("waiting");
11033
11000
  }, []), lt = x(async () => {
11034
11001
  const O = be || C.solanaPubkey;
@@ -11115,12 +11082,12 @@ function Hc({
11115
11082
  G,
11116
11083
  c
11117
11084
  ]);
11118
- const Gs = x(() => {
11085
+ const $s = x(() => {
11119
11086
  D(re()), ne(""), me(null), z(null), L();
11120
11087
  }, [re, L]);
11121
11088
  return t.enabled ? /* @__PURE__ */ i("div", { className: `cedros-deposit-flow ${g}`, children: [
11122
11089
  w && Q !== "error" && /* @__PURE__ */ e("div", { className: "cedros-deposit-flow-steps", children: rr.map((O, H) => {
11123
- const Y = Qs >= H, Z = O.key === Q;
11090
+ const Y = Hs >= H, Z = O.key === Q;
11124
11091
  return /* @__PURE__ */ i(
11125
11092
  "div",
11126
11093
  {
@@ -11141,7 +11108,7 @@ function Hc({
11141
11108
  }) }),
11142
11109
  /* @__PURE__ */ i("div", { className: "cedros-deposit-flow-content", children: [
11143
11110
  Q === "explainer" && /* @__PURE__ */ e(
11144
- Li,
11111
+ Si,
11145
11112
  {
11146
11113
  siteName: N,
11147
11114
  config: E,
@@ -11154,29 +11121,29 @@ function Hc({
11154
11121
  }
11155
11122
  ),
11156
11123
  Q === "unlock" && /* @__PURE__ */ e(
11157
- Mi,
11124
+ xi,
11158
11125
  {
11159
11126
  token: F,
11160
11127
  tokens: R,
11161
11128
  currencyMode: r,
11162
11129
  depositMethod: U,
11163
- isAuthorizing: zs,
11130
+ isAuthorizing: js,
11164
11131
  error: V,
11165
- onAuthorize: Ks,
11132
+ onAuthorize: Qs,
11166
11133
  onBack: v ? () => D("explainer") : void 0,
11167
11134
  onCancel: u
11168
11135
  }
11169
11136
  ),
11170
11137
  Q === "confirm" && U === "sign" && /* @__PURE__ */ e(
11171
- Ti,
11138
+ Pi,
11172
11139
  {
11173
11140
  token: F,
11174
11141
  tokens: M,
11175
11142
  quickActionSymbols: B,
11176
11143
  customTokenSymbols: T,
11177
11144
  currencyMode: r,
11178
- minAmount: Vs,
11179
- maxAmount: Hs,
11145
+ minAmount: zs,
11146
+ maxAmount: Vs,
11180
11147
  depositAddress: be || C.solanaPubkey,
11181
11148
  walletReady: it || h,
11182
11149
  needsUnlock: ct && !h,
@@ -11186,14 +11153,14 @@ function Hc({
11186
11153
  onCopy: lt,
11187
11154
  onTokenSelect: sr,
11188
11155
  onUnlockRequired: m,
11189
- onConfirm: (O, H) => Ys(O, H),
11156
+ onConfirm: (O, H) => Ks(O, H),
11190
11157
  onBack: () => D("unlock"),
11191
11158
  onCancel: u
11192
11159
  }
11193
11160
  ),
11194
- Q === "signing" && /* @__PURE__ */ e(Bi, { depositAddress: C.solanaPubkey }),
11161
+ Q === "signing" && /* @__PURE__ */ e(Li, { depositAddress: C.solanaPubkey }),
11195
11162
  Q === "show-address" && /* @__PURE__ */ e(
11196
- Ri,
11163
+ Mi,
11197
11164
  {
11198
11165
  token: F,
11199
11166
  tokens: M,
@@ -11208,13 +11175,13 @@ function Hc({
11208
11175
  onCopy: lt,
11209
11176
  onTokenSelect: sr,
11210
11177
  onAmountChange: er,
11211
- onSent: $s,
11178
+ onSent: Ys,
11212
11179
  onBack: () => D("unlock"),
11213
11180
  onCancel: u
11214
11181
  }
11215
11182
  ),
11216
11183
  Q === "waiting" && /* @__PURE__ */ e(
11217
- Ii,
11184
+ Ti,
11218
11185
  {
11219
11186
  token: F,
11220
11187
  depositAddress: be || C.solanaPubkey,
@@ -11223,9 +11190,9 @@ function Hc({
11223
11190
  onCopy: lt
11224
11191
  }
11225
11192
  ),
11226
- Q === "success" && ge && /* @__PURE__ */ e(Di, { result: ge, config: t, onNewDeposit: Gs }),
11193
+ Q === "success" && ge && /* @__PURE__ */ e(Bi, { result: ge, config: t, onNewDeposit: $s }),
11227
11194
  Q === "error" && /* @__PURE__ */ e(
11228
- Ui,
11195
+ Ri,
11229
11196
  {
11230
11197
  error: V || S || "An error occurred",
11231
11198
  onRetry: () => D("confirm"),
@@ -11235,7 +11202,7 @@ function Hc({
11235
11202
  ] })
11236
11203
  ] }) : /* @__PURE__ */ e("div", { className: `cedros-deposit-flow cedros-deposit-flow-disabled ${g}`, children: /* @__PURE__ */ e("p", { children: "Deposits are not currently available." }) });
11237
11204
  }
11238
- function Li({
11205
+ function Si({
11239
11206
  siteName: t,
11240
11207
  config: r,
11241
11208
  depositConfig: o,
@@ -11245,7 +11212,7 @@ function Li({
11245
11212
  onContinue: l,
11246
11213
  onCancel: c
11247
11214
  }) {
11248
- const d = r?.title ?? "How Deposits Work", u = r?.exchangeName ?? "Coinbase", m = ao(r?.exchangeUrl) ?? "https://www.coinbase.com", f = r?.showExchangeSuggestion !== !1, g = Us(a, s, n), w = t ? `${t} uses the Solana blockchain to process secure, private payments.` : "This site uses the Solana blockchain to process secure, private payments.", p = r?.body ?? w, h = Ei(o), y = Pi(o);
11215
+ const d = r?.title ?? "How Deposits Work", u = r?.exchangeName ?? "Coinbase", m = no(r?.exchangeUrl) ?? "https://www.coinbase.com", f = r?.showExchangeSuggestion !== !1, g = Ds(a, s, n), w = t ? `${t} uses the Solana blockchain to process secure, private payments.` : "This site uses the Solana blockchain to process secure, private payments.", p = r?.body ?? w, h = ki(o), y = Ei(o);
11249
11216
  return /* @__PURE__ */ i("div", { className: "cedros-deposit-flow-step", children: [
11250
11217
  /* @__PURE__ */ e("h4", { className: "cedros-deposit-flow-step-title", children: d }),
11251
11218
  /* @__PURE__ */ e("p", { className: "cedros-deposit-flow-step-desc", children: p }),
@@ -11303,7 +11270,7 @@ function Li({
11303
11270
  ] })
11304
11271
  ] });
11305
11272
  }
11306
- function Mi({
11273
+ function xi({
11307
11274
  token: t,
11308
11275
  tokens: r,
11309
11276
  currencyMode: o,
@@ -11313,7 +11280,7 @@ function Mi({
11313
11280
  onAuthorize: l,
11314
11281
  onBack: c
11315
11282
  }) {
11316
- const [d, u] = k(""), m = Us(o, t, r), f = (g) => {
11283
+ const [d, u] = k(""), m = Ds(o, t, r), f = (g) => {
11317
11284
  g.preventDefault(), d.trim() && l(d);
11318
11285
  };
11319
11286
  return /* @__PURE__ */ i("div", { className: "cedros-deposit-flow-step", children: [
@@ -11361,7 +11328,7 @@ function Mi({
11361
11328
  ] })
11362
11329
  ] });
11363
11330
  }
11364
- function Ti({
11331
+ function Pi({
11365
11332
  token: t,
11366
11333
  tokens: r,
11367
11334
  quickActionSymbols: o,
@@ -11384,7 +11351,7 @@ function Ti({
11384
11351
  const [v, N] = k(g.privateMinUsd), [E, P] = k(!1), [A, S] = k(!1), [L, C] = k(0), [B, T] = k(null), R = $t(v, g) === "sol_micro", I = t.symbol === xe.symbol, U = q(() => {
11385
11352
  const V = a.length === 0 ? r : r.filter((de) => a.includes(de.symbol)), z = V.length > 0 ? V : r;
11386
11353
  return z.some((de) => de.symbol === xe.symbol) ? z : [...z, xe];
11387
- }, [r, a]), ee = ot(g, v), pe = ee < 0.01 ? 0.01 : ee, re = I ? "Fees: calculated after deposit" : `Fees: $${pe.toFixed(2)} total`, Q = I ? "" : Ds(g, v, ee), D = _s(R ? Se : t, g), F = D ? v / D : t.symbol === "SOL" && g.solPriceUsd > 0 ? v / g.solPriceUsd : v, K = F ? Ws(F, R ? "SOL" : t.symbol) : null, ne = v - ee <= 0 && v > 0, ge = !I && v > 0 && !ne && F >= n && F <= l;
11354
+ }, [r, a]), ee = ot(g, v), pe = ee < 0.01 ? 0.01 : ee, re = I ? "Fees: calculated after deposit" : `Fees: $${pe.toFixed(2)} total`, Q = I ? "" : Is(g, v, ee), D = Fs(R ? Se : t, g), F = D ? v / D : t.symbol === "SOL" && g.solPriceUsd > 0 ? v / g.solPriceUsd : v, K = F ? _s(F, R ? "SOL" : t.symbol) : null, ne = v - ee <= 0 && v > 0, ge = !I && v > 0 && !ne && F >= n && F <= l;
11388
11355
  _(() => {
11389
11356
  if (s === "multi-token")
11390
11357
  if (R && t.symbol !== "SOL") {
@@ -11441,7 +11408,7 @@ function Ti({
11441
11408
  )
11442
11409
  ] }),
11443
11410
  E && /* @__PURE__ */ e("div", { className: "cedros-deposit-flow-token-custom", children: /* @__PURE__ */ e(
11444
- Ms,
11411
+ Ls,
11445
11412
  {
11446
11413
  tokens: U,
11447
11414
  selectedToken: t,
@@ -11451,12 +11418,12 @@ function Ti({
11451
11418
  ) })
11452
11419
  ] }),
11453
11420
  /* @__PURE__ */ e("div", { className: "cedros-deposit-flow-field", children: /* @__PURE__ */ e(
11454
- Rs,
11421
+ Bs,
11455
11422
  {
11456
11423
  config: g,
11457
11424
  valueUsd: v,
11458
11425
  onChange: N,
11459
- maxUsd: Is
11426
+ maxUsd: Rs
11460
11427
  }
11461
11428
  ) }),
11462
11429
  /* @__PURE__ */ i("div", { className: "cedros-deposit-flow-field", children: [
@@ -11562,7 +11529,7 @@ function Ti({
11562
11529
  ] })
11563
11530
  ] });
11564
11531
  }
11565
- function Bi({ depositAddress: t }) {
11532
+ function Li({ depositAddress: t }) {
11566
11533
  return /* @__PURE__ */ i("div", { className: "cedros-deposit-flow-step cedros-deposit-flow-step-centered", children: [
11567
11534
  /* @__PURE__ */ e("div", { className: "cedros-deposit-flow-spinner" }),
11568
11535
  /* @__PURE__ */ e("h4", { className: "cedros-deposit-flow-step-title", children: "Signing Transfer" }),
@@ -11578,7 +11545,7 @@ function Bi({ depositAddress: t }) {
11578
11545
  ] })
11579
11546
  ] });
11580
11547
  }
11581
- function Ri({
11548
+ function Mi({
11582
11549
  token: t,
11583
11550
  tokens: r,
11584
11551
  quickActionSymbols: o,
@@ -11598,7 +11565,7 @@ function Ri({
11598
11565
  const [h, y] = k(u.privateMinUsd), [b, v] = k(!1), [N, E] = k(!1), [P, A] = k(0), [S, L] = k(null), B = $t(h, u) === "sol_micro", T = t.symbol === xe.symbol, M = q(() => {
11599
11566
  const F = a.length === 0 ? r : r.filter((ne) => a.includes(ne.symbol)), K = F.length > 0 ? F : r;
11600
11567
  return K.some((ne) => ne.symbol === xe.symbol) ? K : [...K, xe];
11601
- }, [r, a]), R = ot(u, h), I = R < 0.01 ? 0.01 : R, U = T ? "Fees: calculated after deposit" : `Fees: $${I.toFixed(2)} total`, ee = T ? "" : Ds(u, h, R), pe = T || h > 0, re = _s(B ? Se : t, u, s), Q = re ? h / re : null, D = Q ? Ws(Q, t.symbol) : null;
11568
+ }, [r, a]), R = ot(u, h), I = R < 0.01 ? 0.01 : R, U = T ? "Fees: calculated after deposit" : `Fees: $${I.toFixed(2)} total`, ee = T ? "" : Is(u, h, R), pe = T || h > 0, re = Fs(B ? Se : t, u, s), Q = re ? h / re : null, D = Q ? _s(Q, t.symbol) : null;
11602
11569
  return _(() => {
11603
11570
  if (n === "multi-token")
11604
11571
  if (B && t.symbol !== "SOL") {
@@ -11653,7 +11620,7 @@ function Ri({
11653
11620
  )
11654
11621
  ] }),
11655
11622
  b && /* @__PURE__ */ e("div", { className: "cedros-deposit-flow-token-custom", children: /* @__PURE__ */ e(
11656
- Ms,
11623
+ Ls,
11657
11624
  {
11658
11625
  tokens: M,
11659
11626
  selectedToken: t,
@@ -11665,12 +11632,12 @@ function Ri({
11665
11632
  !T && /* @__PURE__ */ i("div", { className: "cedros-deposit-flow-field", children: [
11666
11633
  /* @__PURE__ */ e("label", { className: "cedros-deposit-flow-label", children: "Deposit Amount" }),
11667
11634
  /* @__PURE__ */ e(
11668
- Rs,
11635
+ Bs,
11669
11636
  {
11670
11637
  config: u,
11671
11638
  valueUsd: h,
11672
11639
  onChange: y,
11673
- maxUsd: Is
11640
+ maxUsd: Rs
11674
11641
  }
11675
11642
  )
11676
11643
  ] }),
@@ -11755,7 +11722,7 @@ function Ri({
11755
11722
  /* @__PURE__ */ e("p", { className: "cedros-deposit-flow-step-desc", children: "Your embedded wallet is not set up. Please complete wallet enrollment first." })
11756
11723
  ] });
11757
11724
  }
11758
- function Ii({ token: t, depositAddress: r, copied: o, feeLine: a, onCopy: s }) {
11725
+ function Ti({ token: t, depositAddress: r, copied: o, feeLine: a, onCopy: s }) {
11759
11726
  return /* @__PURE__ */ i("div", { className: "cedros-deposit-flow-step cedros-deposit-flow-step-centered", children: [
11760
11727
  /* @__PURE__ */ e("div", { className: "cedros-deposit-flow-spinner" }),
11761
11728
  /* @__PURE__ */ e("h4", { className: "cedros-deposit-flow-step-title", children: "Waiting for Deposit" }),
@@ -11812,7 +11779,7 @@ function Ii({ token: t, depositAddress: r, copied: o, feeLine: a, onCopy: s }) {
11812
11779
  ] })
11813
11780
  ] });
11814
11781
  }
11815
- function Di({ result: t, config: r, onNewDeposit: o }) {
11782
+ function Bi({ result: t, config: r, onNewDeposit: o }) {
11816
11783
  const a = t.token ?? Se, s = a.symbol === "SOL" && r.solPriceUsd > 0 ? t.amount * r.solPriceUsd : t.amount, n = ot(r, s), l = Math.max(s - n, 0), c = n < 0.01 ? 0.01 : n;
11817
11784
  return /* @__PURE__ */ i("div", { className: "cedros-deposit-flow-step cedros-deposit-flow-step-centered", children: [
11818
11785
  /* @__PURE__ */ e("div", { className: "cedros-deposit-flow-success-icon", children: "✓" }),
@@ -11892,7 +11859,7 @@ function Di({ result: t, config: r, onNewDeposit: o }) {
11892
11859
  ) })
11893
11860
  ] });
11894
11861
  }
11895
- function Ui({ error: t, onRetry: r, onCancel: o }) {
11862
+ function Ri({ error: t, onRetry: r, onCancel: o }) {
11896
11863
  return /* @__PURE__ */ i("div", { className: "cedros-deposit-flow-step cedros-deposit-flow-step-centered", children: [
11897
11864
  /* @__PURE__ */ e("div", { className: "cedros-deposit-flow-error-icon", children: "✕" }),
11898
11865
  /* @__PURE__ */ e("h4", { className: "cedros-deposit-flow-step-title", children: "Deposit Failed" }),
@@ -11919,7 +11886,7 @@ function Ui({ error: t, onRetry: r, onCancel: o }) {
11919
11886
  ] })
11920
11887
  ] });
11921
11888
  }
11922
- const Fi = "data:image/webp;base64,UklGRmIEAABXRUJQVlA4WAoAAAAIAAAAOwAAOwAAVlA4IIIDAADwDwCdASo8ADwAPm0qkUWkIqGWDVeYQAbEtgBOmZMBu+H816ov3b8R8R2g2FXtxdyh5s3+A60v0APLi9ktgGB/LZjWNAXqgpE6jfW0NF+P4xEhH2L7M+26iGwrTjjcQegyCZqxs+ifvZANjWd279diqZNKUrgOTVtjJGtW4IVtRhMECd5aWVgAAP7nDv3UY/8f1l//xTP/FM/8NU8c9g//sC3+bX/1HZXsNsM57VKG2LVf1a0KdncWO8uPo/Oh79m9ZqjJZwXfPXuvwkK+WDOl6+N8C2Ux6no/V/zkoucKK/JZek7MR5sS8TknXB+6BuVDXou9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mij+aTAKZvg716IHfHX0/JMeFfmAnsZ39Q0qkfdPtq6+CxbGZ7wKDsK/8l/MVGuyd6faJFt5wyoOXuNrr3JC9EoBmjcOzkVw/6RNP49poZ1xzsX3q7B4HGfI/XSfRQq3HeZ2j12d0E3gCAube4oExaT1sx/v8F+f61QOsGdSaqM2im6qOGkSRkrRQ7L8hvS8vEYJeVkAbFvX5ov7e/egYYNToMHj651c5/rCVYtB9Ned6GvGN8R0x3t7+lsf8+ofhHRzpyvwxd6c5pREZVOKnXzplhJ61mki4JmAAAABFWElGugAAAEV4aWYAAElJKgAIAAAABgASAQMAAQAAAAEAAAAaAQUAAQAAAFYAAAAbAQUAAQAAAF4AAAAoAQMAAQAAAAIAAAATAgMAAQAAAAEAAABphwQAAQAAAGYAAAAAAAAASAAAAAEAAABIAAAAAQAAAAYAAJAHAAQAAAAwMjEwAZEHAAQAAAABAgMAAKAHAAQAAAAwMTAwAaADAAEAAAD//wAAAqAEAAEAAAA8AAAAA6AEAAEAAAA8AAAAAAAAAA==", zi = "data:image/svg+xml,%3csvg%20width='88'%20height='88'%20viewBox='0%200%2088%2088'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='88'%20height='88'%20fill='url(%23paint0_linear_170_79)'/%3e%3crect%20x='25.6665'%20y='25.6667'%20width='11'%20height='36.6667'%20rx='1.83333'%20fill='white'/%3e%3crect%20x='51.3335'%20y='25.6667'%20width='11'%20height='36.6667'%20rx='1.83333'%20fill='white'/%3e%3crect%20x='29.3335'%20y='40.3333'%20width='29.3333'%20height='7.33333'%20fill='white'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_170_79'%20x1='-75.3077'%20y1='-55'%20x2='146.302'%20y2='148.167'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FF00FF'/%3e%3cstop%20offset='0.531673'%20stop-color='%237A84FF'/%3e%3cstop%20offset='1'%20stop-color='%2305FAFF'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%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orewhLh60ci/S0BRBuItNMc+v1+vxl0YyS5it4AAAEVYSUa6AAAARXhpZgAASUkqAAgAAAAGABIBAwABAAAAAQAAABoBBQABAAAAVgAAABsBBQABAAAAXgAAACgBAwABAAAAAgAAABMCAwABAAAAAQAAAGmHBAABAAAAZgAAAAAAAABIAAAAAQAAAEgAAAABAAAABgAAkAcABAAAADAyMTABkQcABAAAAAECAwAAoAcABAAAADAxMDABoAMAAQAAAP//AAACoAQAAQAAADwAAAADoAQAAQAAADwAAAAAAAAA", Hi = "data:image/svg+xml,%3csvg%20width='868'%20height='868'%20viewBox='0%200%20868%20868'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='434'%20cy='434'%20r='434'%20fill='%231B262D'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M234.563%20184H640.697C650.387%20184%20659.339%20189.164%20664.172%20197.542L782.495%20402.657C788.631%20413.294%20786.808%20426.72%20778.056%20435.346L452.368%20756.327C441.818%20766.724%20424.846%20766.724%20414.296%20756.327L89.0484%20435.78C80.0927%20426.954%2078.4157%20413.136%2085.0013%20402.433L211.48%20196.884C216.405%20188.879%20225.146%20184%20234.563%20184ZM588.257%20275.577V333.129H472.567V373.032C553.82%20377.296%20614.782%20394.81%20615.234%20415.802L615.231%20459.563C614.779%20480.556%20553.82%20498.069%20472.567%20502.333V600.259H395.746V502.333C314.492%20498.069%20253.531%20480.555%20253.078%20459.563L253.081%20415.802C253.533%20394.81%20314.492%20377.296%20395.746%20373.032V333.129H280.055V275.577H588.257ZM434.156%20472.268C520.868%20472.268%20593.345%20457.459%20611.082%20437.683C596.041%20420.912%20541.636%20407.713%20472.567%20404.089V445.867C460.187%20446.516%20447.336%20446.858%20434.156%20446.858C420.976%20446.858%20408.125%20446.516%20395.746%20445.867V404.089C326.676%20407.713%20272.271%20420.912%20257.23%20437.683C274.968%20457.459%20347.444%20472.268%20434.156%20472.268Z'%20fill='%23009393'/%3e%3c/svg%3e", Qi = [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UepEspqPLoYLQ73TfmL+1LwKxyTV3gEu6WnxBPWPLnYIGYN9U47ZNlB+NgHgYtKTyii6060RAG+wN32WUVFxCZw0HMHnHFgwxD34L/anlpS7mOrjKgyuGYhFC7iHqTQHuoAO1ekBHV+rndnbETKfa1F7LxNLYq+dmJyytmQrJUCGjelorI1m/TMQNiFVrY4FCI1Gl2W1JsZsw9zA+Bh3JmjkC0H5/0JV6JotNMatJIZ4v5PqwJe3r8xd+FNS3ynccdu+xtVdc27qwVdoomciZD5oXYey9KAFSAKO594sBKZNWUJTLXnt0BJbdF8FkQYvg3DQajYY2p+ixd5Ag7o92gw0pVVDDOP+WQxiEmKqgWJyTBsnsBk2Bxi2Unsv8S/4PmE8Hy/vy+Mij+aTAKZvg716IHfHX0/JMeFfmAnsZ39Q0qkfdPtq6+CxbGZ7wKDsK/8l/MVGuyd6faJFt5wyoOXuNrr3JC9EoBmjcOzkVw/6RNP49poZ1xzsX3q7B4HGfI/XSfRQq3HeZ2j12d0E3gCAube4oExaT1sx/v8F+f61QOsGdSaqM2im6qOGkSRkrRQ7L8hvS8vEYJeVkAbFvX5ov7e/egYYNToMHj651c5/rCVYtB9Ned6GvGN8R0x3t7+lsf8+ofhHRzpyvwxd6c5pREZVOKnXzplhJ61mki4JmAAAABFWElGugAAAEV4aWYAAElJKgAIAAAABgASAQMAAQAAAAEAAAAaAQUAAQAAAFYAAAAbAQUAAQAAAF4AAAAoAQMAAQAAAAIAAAATAgMAAQAAAAEAAABphwQAAQAAAGYAAAAAAAAASAAAAAEAAABIAAAAAQAAAAYAAJAHAAQAAAAwMjEwAZEHAAQAAAABAgMAAKAHAAQAAAAwMTAwAaADAAEAAAD//wAAAqAEAAEAAAA8AAAAA6AEAAEAAAA8AAAAAAAAAA==", Oi = "data:image/svg+xml,%3csvg%20width='88'%20height='88'%20viewBox='0%200%2088%2088'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='88'%20height='88'%20fill='url(%23paint0_linear_170_79)'/%3e%3crect%20x='25.6665'%20y='25.6667'%20width='11'%20height='36.6667'%20rx='1.83333'%20fill='white'/%3e%3crect%20x='51.3335'%20y='25.6667'%20width='11'%20height='36.6667'%20rx='1.83333'%20fill='white'/%3e%3crect%20x='29.3335'%20y='40.3333'%20width='29.3333'%20height='7.33333'%20fill='white'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_170_79'%20x1='-75.3077'%20y1='-55'%20x2='146.302'%20y2='148.167'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FF00FF'/%3e%3cstop%20offset='0.531673'%20stop-color='%237A84FF'/%3e%3cstop%20offset='1'%20stop-color='%2305FAFF'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", qi = "data:image/webp;base64,UklGRh4HAABXRUJQVlA4WAoAAAAYAAAAOwAAOwAAQUxQSNwBAAABkFxbexpJnyR3z8y+ajXMkAnjnnOgbUUxEAHjkpldWQwzFUn6v3PGVNI/AUQEA7dt49gN3PXavTlfQDeNAeyqg4PL5buRyOhteXlwcJWtHU8qzUIBs+30g7/s4N8Hp7cZFAtpDc7Bbr8xplB8iFJBYvBC4fjGdgvnElqdwc6XFPGRnQxehC93wjgzbxRYf1UYA+dkiJSrG1DMV6zDoW+MkQmMkd8Owdl5AsvOM3gm0geeXwY7R/Tu0EcmM3re6cF2Rr/kTJiBMmPZh+2q/wtm4ozD9qrB0tucMhunvL0Upg1n6JmRnmda4HCckVkZeRyuMWjjF0peCD9vhK3jAgMzM/BCDQ576225m/bCwcA+qzS/PLUwDrsr1ZDdcAa3KtWQWzDYPKZoQDjeDJyoVEdOAPf0cA/Lf1F0IPy1fG8VWmXvgF4LnoOLDFoIvPiaUQuRr99pNr8dUZEj0YToQnfjreaQd7oL6T6Tuu+C7juo++6rfnOUv3W631jNb7v+P8U+1ZDAZxZG9R+q/e+GxcbPuRcRftkIq+pVVD2Srjdr94TDnJ6w7MGqedFhH1bVA6t67zk9/3ctzw+YAhvSc431KExyjjNHQ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XhPclSgFkqeU1W2eNqW2zShCWkQkgfE1HAoNX3z+CQcRQJq+HkC2nSjFdFYT8UNYNS6lYcyVWzEnOos1qpsNRxnLqY2Dl5CCT3Yeg/qT8chfF9ZadFvzNTEIDlARoN//7IU23MtuLdpsAjsiGfBHuR7y4lemYPdD/9Cuff9Qn/r/xlhmB5x2Y9Z1yME3aANAb5+u3lYz01zUlWwakKVmv9fhaeu/YzQ7BXLlcb+cbaIF5t/COmObnt20zaTfjad542f7p7f2Xea134nvyPYS+EAgjM+GufHvl9tXCrrRbH0pn7kH2XEGx9VbO4mY54+QZa5kPr0j3AOEtKd7SJWjlg5TQfgIuB6KoLGainSwF+pPdiCmzEzAOa1eFwn//2VdDMeq42/bKH8U4orewhLh60ci/S0BRBuItNMc+v1+vxl0YyS5it4AAAEVYSUa6AAAARXhpZgAASUkqAAgAAAAGABIBAwABAAAAAQAAABoBBQABAAAAVgAAABsBBQABAAAAXgAAACgBAwABAAAAAgAAABMCAwABAAAAAQAAAGmHBAABAAAAZgAAAAAAAABIAAAAAQAAAEgAAAABAAAABgAAkAcABAAAADAyMTABkQcABAAAAAECAwAAoAcABAAAADAxMDABoAMAAQAAAP//AAACoAQAAQAAADwAAAADoAQAAQAAADwAAAAAAAAA", ji = "data:image/svg+xml,%3csvg%20width='868'%20height='868'%20viewBox='0%200%20868%20868'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='434'%20cy='434'%20r='434'%20fill='%231B262D'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M234.563%20184H640.697C650.387%20184%20659.339%20189.164%20664.172%20197.542L782.495%20402.657C788.631%20413.294%20786.808%20426.72%20778.056%20435.346L452.368%20756.327C441.818%20766.724%20424.846%20766.724%20414.296%20756.327L89.0484%20435.78C80.0927%20426.954%2078.4157%20413.136%2085.0013%20402.433L211.48%20196.884C216.405%20188.879%20225.146%20184%20234.563%20184ZM588.257%20275.577V333.129H472.567V373.032C553.82%20377.296%20614.782%20394.81%20615.234%20415.802L615.231%20459.563C614.779%20480.556%20553.82%20498.069%20472.567%20502.333V600.259H395.746V502.333C314.492%20498.069%20253.531%20480.555%20253.078%20459.563L253.081%20415.802C253.533%20394.81%20314.492%20377.296%20395.746%20373.032V333.129H280.055V275.577H588.257ZM434.156%20472.268C520.868%20472.268%20593.345%20457.459%20611.082%20437.683C596.041%20420.912%20541.636%20407.713%20472.567%20404.089V445.867C460.187%20446.516%20447.336%20446.858%20434.156%20446.858C420.976%20446.858%20408.125%20446.516%20395.746%20445.867V404.089C326.676%20407.713%20272.271%20420.912%20257.23%20437.683C274.968%20457.459%20347.444%20472.268%20434.156%20472.268Z'%20fill='%23009393'/%3e%3c/svg%3e", zi = [
11923
11890
  {
11924
11891
  mint: "So11111111111111111111111111111111111111112",
11925
11892
  symbol: "SOL",
@@ -11932,66 +11899,66 @@ const Fi = "data:image/webp;base64,UklGRmIEAABXRUJQVlA4WAoAAAAIAAAAOwAAOwAAVlA4I
11932
11899
  symbol: "USDC",
11933
11900
  name: "Circle USD",
11934
11901
  decimals: 6,
11935
- logoUrl: ji
11902
+ logoUrl: Wi
11936
11903
  },
11937
11904
  {
11938
11905
  mint: "Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB",
11939
11906
  symbol: "USDT",
11940
11907
  name: "Tether USD",
11941
11908
  decimals: 6,
11942
- logoUrl: Hi
11909
+ logoUrl: ji
11943
11910
  },
11944
11911
  {
11945
11912
  mint: "HzwqbKZw8HxMN6bF2yFZNrht3c2iXXzpKcFu7uBEDKtr",
11946
11913
  symbol: "EURC",
11947
11914
  name: "Circle Euro",
11948
11915
  decimals: 6,
11949
- logoUrl: Wi
11916
+ logoUrl: Ui
11950
11917
  },
11951
11918
  {
11952
11919
  mint: "USD1ttGY1N17NEEHLmELoaybftRBUSErhqYiQzvEmuB",
11953
11920
  symbol: "USD1",
11954
11921
  name: "WLFI USD",
11955
11922
  decimals: 6,
11956
- logoUrl: Vi
11923
+ logoUrl: qi
11957
11924
  },
11958
11925
  {
11959
11926
  mint: "2b1kV6DkPAnxd5ixfnxCpjxmKwqjjaYmCZfHsFu24GXo",
11960
11927
  symbol: "PYUSD",
11961
11928
  name: "PayPal USD",
11962
11929
  decimals: 6,
11963
- logoUrl: qi
11930
+ logoUrl: _i
11964
11931
  },
11965
11932
  {
11966
11933
  mint: "USDH1SM1ojwWUga67PGrgFWUHibbjqMvuMaDkRJTgkX",
11967
11934
  symbol: "USDH",
11968
11935
  name: "Hubble USD",
11969
11936
  decimals: 6,
11970
- logoUrl: zi
11937
+ logoUrl: Oi
11971
11938
  },
11972
11939
  {
11973
11940
  mint: "CASHVDm2wsJXfhj6VWxb7GiMdoLc17Du7paH4bNr5woT",
11974
11941
  symbol: "CASH",
11975
11942
  name: "Stripe USD",
11976
11943
  decimals: 6,
11977
- logoUrl: _i
11944
+ logoUrl: Di
11978
11945
  },
11979
11946
  {
11980
11947
  mint: "DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263",
11981
11948
  symbol: "BONK",
11982
11949
  name: "Bonk",
11983
11950
  decimals: 5,
11984
- logoUrl: Fi
11951
+ logoUrl: Ii
11985
11952
  },
11986
11953
  {
11987
11954
  mint: "oreoU2P8bN6jkk3jbaiVxYnG1dCXcYxwhwyK9jSybcp",
11988
11955
  symbol: "ORE",
11989
11956
  name: "Ore",
11990
11957
  decimals: 11,
11991
- logoUrl: Oi
11958
+ logoUrl: Fi
11992
11959
  }
11993
11960
  ];
11994
- function Os() {
11961
+ function Ws() {
11995
11962
  const t = ve(), [r, o] = k(!1), [a, s] = k(null), n = q(() => t ? new ae({
11996
11963
  baseUrl: t.config.serverUrl,
11997
11964
  timeoutMs: t.config.requestTimeout,
@@ -12051,14 +12018,14 @@ function Os() {
12051
12018
  clearError: l
12052
12019
  };
12053
12020
  }
12054
- function Qc({
12021
+ function zc({
12055
12022
  showAllCurrencies: t = !1,
12056
12023
  refreshInterval: r = 0,
12057
12024
  compact: o = !1,
12058
12025
  className: a = "",
12059
12026
  onLoad: s
12060
12027
  }) {
12061
- const { getBalance: n, getAllBalances: l, isLoading: c, error: d, clearError: u } = Os(), [m, f] = k([]), [g, w] = k(null), p = x(async () => {
12028
+ const { getBalance: n, getAllBalances: l, isLoading: c, error: d, clearError: u } = Ws(), [m, f] = k([]), [g, w] = k(null), p = x(async () => {
12062
12029
  try {
12063
12030
  if (t) {
12064
12031
  const h = await l();
@@ -12146,11 +12113,11 @@ const Dt = [
12146
12113
  txTypes: ["refund", "adjustment", "bonus", "credit"]
12147
12114
  }
12148
12115
  ];
12149
- function Ki(t, r) {
12116
+ function Vi(t, r) {
12150
12117
  const o = t < 0, a = Math.abs(t), s = r.toUpperCase() === "SOL", l = a / Math.pow(10, s ? 9 : 6), c = o ? "-" : "+";
12151
12118
  return s ? `${c}${l.toFixed(4)} SOL` : `${c}$${l.toFixed(2)}`;
12152
12119
  }
12153
- function Yi(t) {
12120
+ function Hi(t) {
12154
12121
  const r = new Date(t), o = /* @__PURE__ */ new Date(), a = o.getTime() - r.getTime(), s = Math.floor(a / (1e3 * 60 * 60 * 24));
12155
12122
  if (s === 0) {
12156
12123
  const n = Math.floor(a / 36e5);
@@ -12166,7 +12133,7 @@ function Yi(t) {
12166
12133
  year: r.getFullYear() !== o.getFullYear() ? "numeric" : void 0
12167
12134
  });
12168
12135
  }
12169
- function $i(t) {
12136
+ function Qi(t) {
12170
12137
  return t ? {
12171
12138
  deposit: "Deposit",
12172
12139
  spend: "Usage",
@@ -12178,11 +12145,11 @@ function $i(t) {
12178
12145
  credit: "Credit"
12179
12146
  }[t.toLowerCase()] || t : "Transaction";
12180
12147
  }
12181
- function Gi(t, r) {
12148
+ function Ki(t, r) {
12182
12149
  const o = (t || "").toLowerCase();
12183
12150
  return o === "deposit" ? "↓" : o === "spend" || o === "usage" || o === "charge" ? "↑" : o === "refund" ? "←" : o === "bonus" || o === "credit" ? "★" : r ? "+" : "−";
12184
12151
  }
12185
- function Kc({
12152
+ function Vc({
12186
12153
  defaultTab: t = "all",
12187
12154
  pageSize: r = 10,
12188
12155
  refreshInterval: o = 0,
@@ -12190,7 +12157,7 @@ function Kc({
12190
12157
  onLoad: s,
12191
12158
  onTransactionClick: n
12192
12159
  }) {
12193
- const { getHistory: l, isLoading: c, error: d, clearError: u } = Os(), [m, f] = k(t), [g, w] = k([]), [p, h] = k(0), [y, b] = k(0), [v, N] = k(null), E = Dt.find((M) => M.key === m) || Dt[0], P = q(() => E.txTypes === null ? g : g.filter((M) => {
12160
+ const { getHistory: l, isLoading: c, error: d, clearError: u } = Ws(), [m, f] = k(t), [g, w] = k([]), [p, h] = k(0), [y, b] = k(0), [v, N] = k(null), E = Dt.find((M) => M.key === m) || Dt[0], P = q(() => E.txTypes === null ? g : g.filter((M) => {
12194
12161
  const R = M.txType || "";
12195
12162
  return E.txTypes.some((I) => R.toLowerCase().includes(I.toLowerCase()));
12196
12163
  }), [g, E.txTypes]), A = x(async () => {
@@ -12292,23 +12259,23 @@ function Kc({
12292
12259
  "div",
12293
12260
  {
12294
12261
  className: `cedros-tx-icon ${R ? "cedros-tx-icon-positive" : "cedros-tx-icon-negative"}`,
12295
- children: Gi(M.txType, R)
12262
+ children: Ki(M.txType, R)
12296
12263
  }
12297
12264
  ),
12298
12265
  /* @__PURE__ */ i("div", { className: "cedros-tx-content", children: [
12299
12266
  /* @__PURE__ */ i("div", { className: "cedros-tx-row-main", children: [
12300
- /* @__PURE__ */ e("span", { className: "cedros-tx-type", children: $i(M.txType) }),
12267
+ /* @__PURE__ */ e("span", { className: "cedros-tx-type", children: Qi(M.txType) }),
12301
12268
  /* @__PURE__ */ e(
12302
12269
  "span",
12303
12270
  {
12304
12271
  className: `cedros-tx-amount ${R ? "cedros-tx-amount-positive" : "cedros-tx-amount-negative"}`,
12305
- children: Ki(M.amountLamports, M.currency)
12272
+ children: Vi(M.amountLamports, M.currency)
12306
12273
  }
12307
12274
  )
12308
12275
  ] }),
12309
12276
  /* @__PURE__ */ i("div", { className: "cedros-tx-row-details", children: [
12310
12277
  /* @__PURE__ */ e("span", { className: "cedros-tx-description", children: M.description }),
12311
- /* @__PURE__ */ e("span", { className: "cedros-tx-date", children: Yi(M.createdAt) })
12278
+ /* @__PURE__ */ e("span", { className: "cedros-tx-date", children: Hi(M.createdAt) })
12312
12279
  ] })
12313
12280
  ] })
12314
12281
  ]
@@ -12347,7 +12314,7 @@ function Kc({
12347
12314
  ] })
12348
12315
  ] });
12349
12316
  }
12350
- function qs() {
12317
+ function Os() {
12351
12318
  const t = ve(), [r, o] = k(!1), [a, s] = k(null), [n, l] = k(null), c = q(() => t ? new ae({
12352
12319
  baseUrl: t.config.serverUrl,
12353
12320
  timeoutMs: t.config.requestTimeout,
@@ -12433,7 +12400,7 @@ function qs() {
12433
12400
  lastResult: n
12434
12401
  };
12435
12402
  }
12436
- const Ut = "So11111111111111111111111111111111111111112", Ji = {
12403
+ const Ut = "So11111111111111111111111111111111111111112", Yi = {
12437
12404
  EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v: "USDC",
12438
12405
  Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB: "USDT",
12439
12406
  HzwqbKZw8HxMN6bF2yFZNrht3c2iXXzpKcFu7uBEDKtr: "EURC",
@@ -12444,7 +12411,7 @@ const Ut = "So11111111111111111111111111111111111111112", Ji = {
12444
12411
  DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263: "BONK",
12445
12412
  oreoU2P8bN6jkk3jbaiVxYnG1dCXcYxwhwyK9jSybcp: "ORE"
12446
12413
  };
12447
- function Xi(t) {
12414
+ function $i(t) {
12448
12415
  return t.length < 32 || t.length > 50 ? !1 : /^[1-9A-HJ-NP-Za-km-z]+$/.test(t);
12449
12416
  }
12450
12417
  function Ft(t) {
@@ -12456,13 +12423,13 @@ function ze(t, r) {
12456
12423
  maximumFractionDigits: Math.min(r, 6)
12457
12424
  });
12458
12425
  }
12459
- function Yc({
12426
+ function Hc({
12460
12427
  onSuccess: t,
12461
12428
  onError: r,
12462
12429
  onCancel: o,
12463
12430
  className: a = ""
12464
12431
  }) {
12465
- const s = ve(), { withdrawSol: n, withdrawSpl: l, getBalances: c, isSubmitting: d, error: u, clearError: m } = qs(), [f, g] = k("loading"), [w, p] = k([]), [h, y] = k(null), [b, v] = k(""), [N, E] = k(""), [P, A] = k(null), [S, L] = k(null), [C, B] = k(null), T = s?.config.solana?.network ?? "mainnet-beta", M = q(() => {
12432
+ const s = ve(), { withdrawSol: n, withdrawSpl: l, getBalances: c, isSubmitting: d, error: u, clearError: m } = Os(), [f, g] = k("loading"), [w, p] = k([]), [h, y] = k(null), [b, v] = k(""), [N, E] = k(""), [P, A] = k(null), [S, L] = k(null), [C, B] = k(null), T = s?.config.solana?.network ?? "mainnet-beta", M = q(() => {
12466
12433
  if (!P?.txSignature) return "";
12467
12434
  const D = `https://explorer.solana.com/tx/${P.txSignature}`;
12468
12435
  return T === "mainnet-beta" ? D : `${D}?cluster=${encodeURIComponent(T)}`;
@@ -12487,7 +12454,7 @@ function Yc({
12487
12454
  displayBalance: ze(String(F.solLamports), 9)
12488
12455
  });
12489
12456
  for (const se of F.tokens) {
12490
- const ne = Ji[se.mint] ?? Ft(se.mint);
12457
+ const ne = Yi[se.mint] ?? Ft(se.mint);
12491
12458
  K.push({
12492
12459
  symbol: ne,
12493
12460
  mint: se.mint,
@@ -12518,7 +12485,7 @@ function Yc({
12518
12485
  L("Destination address is required");
12519
12486
  return;
12520
12487
  }
12521
- if (!Xi(b.trim())) {
12488
+ if (!$i(b.trim())) {
12522
12489
  L("Invalid Solana address");
12523
12490
  return;
12524
12491
  }
@@ -12773,16 +12740,16 @@ function Yc({
12773
12740
  ] })
12774
12741
  ] }) : null;
12775
12742
  }
12776
- function Zi(t, r) {
12743
+ function Gi(t, r) {
12777
12744
  if (t === "sol") return "SOL";
12778
12745
  if (!r) return "SPL";
12779
- const o = Qi.find((a) => a.mint === r);
12746
+ const o = zi.find((a) => a.mint === r);
12780
12747
  return o ? o.symbol : `${r.slice(0, 4)}...${r.slice(-4)}`;
12781
12748
  }
12782
- function ec(t) {
12749
+ function Ji(t) {
12783
12750
  return t.length <= 12 ? t : `${t.slice(0, 4)}...${t.slice(-4)}`;
12784
12751
  }
12785
- function tc(t) {
12752
+ function Xi(t) {
12786
12753
  const r = new Date(t), o = /* @__PURE__ */ new Date(), a = o.getTime() - r.getTime(), s = Math.floor(a / (1e3 * 60 * 60 * 24));
12787
12754
  if (s === 0) {
12788
12755
  const n = Math.floor(a / 36e5);
@@ -12798,13 +12765,13 @@ function tc(t) {
12798
12765
  year: r.getFullYear() !== o.getFullYear() ? "numeric" : void 0
12799
12766
  });
12800
12767
  }
12801
- function $c({
12768
+ function Qc({
12802
12769
  pageSize: t = 10,
12803
12770
  className: r = "",
12804
12771
  onTransactionClick: o,
12805
12772
  explorerUrl: a = "https://solscan.io"
12806
12773
  }) {
12807
- const { getHistory: s, error: n, clearError: l } = qs(), [c, d] = k([]), [u, m] = k(0), [f, g] = k(0), [w, p] = k(!1), [h, y] = k(null), b = x(async () => {
12774
+ const { getHistory: s, error: n, clearError: l } = Os(), [c, d] = k([]), [u, m] = k(0), [f, g] = k(0), [w, p] = k(!1), [h, y] = k(null), b = x(async () => {
12808
12775
  p(!0);
12809
12776
  try {
12810
12777
  const P = await s(t, f);
@@ -12855,7 +12822,7 @@ function $c({
12855
12822
  ] }),
12856
12823
  c.length === 0 ? /* @__PURE__ */ e("div", { className: "cedros-tx-empty", children: /* @__PURE__ */ e("p", { className: "cedros-tx-empty-message", children: "No withdrawal history yet." }) }) : /* @__PURE__ */ i($, { children: [
12857
12824
  /* @__PURE__ */ e("div", { className: "cedros-tx-list", children: c.map((P) => {
12858
- const A = Zi(P.tokenType, P.tokenMint);
12825
+ const A = Gi(P.tokenType, P.tokenMint);
12859
12826
  return /* @__PURE__ */ i(
12860
12827
  "div",
12861
12828
  {
@@ -12891,7 +12858,7 @@ function $c({
12891
12858
  target: "_blank",
12892
12859
  rel: "noopener noreferrer",
12893
12860
  onClick: (S) => S.stopPropagation(),
12894
- children: ec(P.destination)
12861
+ children: Ji(P.destination)
12895
12862
  }
12896
12863
  ),
12897
12864
  " · ",
@@ -12906,7 +12873,7 @@ function $c({
12906
12873
  }
12907
12874
  )
12908
12875
  ] }),
12909
- /* @__PURE__ */ e("span", { className: "cedros-tx-date", children: tc(P.createdAt) })
12876
+ /* @__PURE__ */ e("span", { className: "cedros-tx-date", children: Xi(P.createdAt) })
12910
12877
  ] })
12911
12878
  ] })
12912
12879
  ]
@@ -12945,7 +12912,7 @@ function $c({
12945
12912
  ] })
12946
12913
  ] });
12947
12914
  }
12948
- function Gc({
12915
+ function Kc({
12949
12916
  brandLogo: t,
12950
12917
  brandName: r,
12951
12918
  title: o = "Welcome back",
@@ -12971,7 +12938,7 @@ function Gc({
12971
12938
  s && /* @__PURE__ */ e("p", { className: "cedros-terms-footer", children: s })
12972
12939
  ] });
12973
12940
  }
12974
- function Jc({
12941
+ function Yc({
12975
12942
  brandName: t = "Your Brand",
12976
12943
  brandLogo: r,
12977
12944
  tagline: o = "Your tagline goes here. Make it compelling.",
@@ -12995,14 +12962,14 @@ function Jc({
12995
12962
  ] }) })
12996
12963
  ] });
12997
12964
  }
12998
- function Xc() {
12965
+ function $c() {
12999
12966
  const { config: t, _internal: r } = te(), [o, a] = k({
13000
12967
  allowed: !1,
13001
12968
  reason: void 0,
13002
12969
  isLoading: !1,
13003
12970
  error: null
13004
12971
  }), s = q(
13005
- () => new So(
12972
+ () => new Eo(
13006
12973
  t.serverUrl,
13007
12974
  t.requestTimeout,
13008
12975
  t.retryAttempts,
@@ -13049,7 +13016,7 @@ function Xc() {
13049
13016
  checkAuthorization: n
13050
13017
  };
13051
13018
  }
13052
- function Zc() {
13019
+ function Gc() {
13053
13020
  const { listAllWallets: t, createDerivedWallet: r, deleteDerivedWallet: o } = Pe(), [a, s] = k([]), [n, l] = k(!1), [c, d] = k(null), u = x(async () => {
13054
13021
  l(!0), d(null);
13055
13022
  try {
@@ -13099,7 +13066,7 @@ function Zc() {
13099
13066
  clearError: g
13100
13067
  };
13101
13068
  }
13102
- function el() {
13069
+ function Jc() {
13103
13070
  const t = ve(), [r, o] = k(!1), [a, s] = k(null), [n, l] = k(null), c = q(() => t ? new ae({
13104
13071
  baseUrl: t.config.serverUrl,
13105
13072
  timeoutMs: t.config.requestTimeout,
@@ -13147,13 +13114,13 @@ function el() {
13147
13114
  clearError: m
13148
13115
  };
13149
13116
  }
13150
- function tl(t = {}) {
13117
+ function Xc(t = {}) {
13151
13118
  const { onExternalSign: r } = t, { solanaPubkey: o, hasExternalWallet: a, status: s, isUnlocked: n } = tt(), {
13152
13119
  signTransaction: l,
13153
13120
  isSigning: c,
13154
13121
  error: d,
13155
13122
  clearError: u
13156
- } = Xn(), m = q(() => a && r ? "external" : s === "enrolled_locked" || s === "enrolled_unlocked" ? "sss" : "none", [a, r, s]), f = m !== "none", g = s === "enrolled_locked" || s === "enrolled_unlocked";
13123
+ } = $n(), m = q(() => a && r ? "external" : s === "enrolled_locked" || s === "enrolled_unlocked" ? "sss" : "none", [a, r, s]), f = m !== "none", g = s === "enrolled_locked" || s === "enrolled_unlocked";
13157
13124
  return {
13158
13125
  signTransaction: x(
13159
13126
  async (p, h) => {
@@ -13184,7 +13151,7 @@ function tl(t = {}) {
13184
13151
  clearError: u
13185
13152
  };
13186
13153
  }
13187
- function rl() {
13154
+ function Zc() {
13188
13155
  const { config: t, _internal: r } = te(), [o, a] = k(null), [s, n] = k(!1), [l, c] = k(null), d = q(
13189
13156
  () => new ae({
13190
13157
  baseUrl: t.serverUrl,
@@ -13214,7 +13181,7 @@ function rl() {
13214
13181
  error: l
13215
13182
  };
13216
13183
  }
13217
- const Xt = no(null), jt = {
13184
+ const Xt = oo(null), jt = {
13218
13185
  auth: {
13219
13186
  email: "Email",
13220
13187
  password: "Password",
@@ -13271,160 +13238,160 @@ const Xt = no(null), jt = {
13271
13238
  strong: "Strong"
13272
13239
  }
13273
13240
  };
13274
- function rc(t, r) {
13275
- return js(t, r);
13241
+ function Zi(t, r) {
13242
+ return qs(t, r);
13276
13243
  }
13277
- function js(t, r) {
13244
+ function qs(t, r) {
13278
13245
  const o = { ...t };
13279
13246
  for (const a in r)
13280
13247
  if (Object.prototype.hasOwnProperty.call(r, a)) {
13281
13248
  const s = t[a], n = r[a];
13282
- typeof s == "object" && s !== null && typeof n == "object" && n !== null ? o[a] = js(
13249
+ typeof s == "object" && s !== null && typeof n == "object" && n !== null ? o[a] = qs(
13283
13250
  s,
13284
13251
  n
13285
13252
  ) : n !== void 0 && (o[a] = n);
13286
13253
  }
13287
13254
  return o;
13288
13255
  }
13289
- function sl({
13256
+ function el({
13290
13257
  children: t,
13291
13258
  locale: r = "en",
13292
13259
  translations: o
13293
13260
  }) {
13294
- const a = q(() => ({ t: o ? rc(jt, o) : jt, locale: r }), [o, r]);
13261
+ const a = q(() => ({ t: o ? Zi(jt, o) : jt, locale: r }), [o, r]);
13295
13262
  return /* @__PURE__ */ e(Xt.Provider, { value: a, children: t });
13296
13263
  }
13297
- function ol() {
13298
- return Gr(Xt)?.t ?? jt;
13264
+ function tl() {
13265
+ return $r(Xt)?.t ?? jt;
13299
13266
  }
13300
- function nl() {
13301
- return Gr(Xt)?.locale ?? "en";
13267
+ function rl() {
13268
+ return $r(Xt)?.locale ?? "en";
13302
13269
  }
13303
13270
  export {
13304
- jc as AccountSettings,
13305
- Po as AdminDepositList,
13306
- xo as AdminDepositStats,
13307
- Sl as AdminIcons,
13308
- Mo as AdminPrivacyPeriodDeposits,
13309
- xl as AdminShell,
13310
- Do as AdminUserList,
13311
- Bo as AdminWithdrawalHistory,
13312
- To as AdminWithdrawalQueue,
13313
- Lo as AdminWithdrawalStats,
13314
- vn as AppleLoginButton,
13315
- Fo as AuthenticationSettings,
13316
- Pl as CEDROS_LOGIN_SECTION_IDS,
13317
- Uc as CapabilityWarning,
13318
- Oc as CedrosAdminDashboard,
13319
- cl as CedrosLoginProvider,
13320
- Vc as CompleteAccountPrompt,
13321
- Qc as CreditBalance,
13322
- jo as CreditSystemSettings,
13323
- Hc as DepositFlow,
13324
- io as EmailLoginForm,
13325
- co as EmailRegisterForm,
13326
- Rl as EmailSettings,
13327
- _o as EmbeddedWalletSettings,
13328
- Pn as ErrorBoundary,
13271
+ Wc as AccountSettings,
13272
+ xo as AdminDepositList,
13273
+ So as AdminDepositStats,
13274
+ Nl as AdminIcons,
13275
+ Lo as AdminPrivacyPeriodDeposits,
13276
+ Cl as AdminShell,
13277
+ Io as AdminUserList,
13278
+ To as AdminWithdrawalHistory,
13279
+ Mo as AdminWithdrawalQueue,
13280
+ Po as AdminWithdrawalStats,
13281
+ An as AppleLoginButton,
13282
+ Uo as AuthenticationSettings,
13283
+ El as CEDROS_LOGIN_SECTION_IDS,
13284
+ Rc as CapabilityWarning,
13285
+ Fc as CedrosAdminDashboard,
13286
+ nl as CedrosLoginProvider,
13287
+ qc as CompleteAccountPrompt,
13288
+ zc as CreditBalance,
13289
+ qo as CreditSystemSettings,
13290
+ jc as DepositFlow,
13291
+ ao as EmailLoginForm,
13292
+ io as EmailRegisterForm,
13293
+ Ml as EmailSettings,
13294
+ Fo as EmbeddedWalletSettings,
13295
+ En as ErrorBoundary,
13329
13296
  X as ErrorMessage,
13330
- yn as ForgotPasswordForm,
13331
- Gc as FullPageLayout,
13332
- lo as GoogleLoginButton,
13333
- Kc as History,
13334
- sl as I18nProvider,
13335
- wo as InviteForm,
13336
- yo as InviteList,
13337
- ii as LinkedAccounts,
13297
+ wn as ForgotPasswordForm,
13298
+ Kc as FullPageLayout,
13299
+ co as GoogleLoginButton,
13300
+ Vc as History,
13301
+ el as I18nProvider,
13302
+ go as InviteForm,
13303
+ wo as InviteList,
13304
+ oi as LinkedAccounts,
13338
13305
  j as LoadingSpinner,
13339
- Tc as LoginButton,
13306
+ Pc as LoginButton,
13340
13307
  Kt as LoginForm,
13341
- Bc as LoginModal,
13342
- go as MemberList,
13343
- zc as MfaSetupPrompt,
13344
- Ic as OrgSelector,
13345
- Dc as OrgSwitcher,
13346
- Zr as OtpInput,
13347
- Cn as PasskeyLoginButton,
13348
- ea as PasskeyPrompt,
13308
+ Lc as LoginModal,
13309
+ fo as MemberList,
13310
+ Oc as MfaSetupPrompt,
13311
+ Tc as OrgSelector,
13312
+ Bc as OrgSwitcher,
13313
+ Xr as OtpInput,
13314
+ Nn as PasskeyLoginButton,
13315
+ Jn as PasskeyPrompt,
13349
13316
  he as PasswordInput,
13350
- jo as PrivacyCashSettings,
13351
- Uo as ProfileDropdown,
13352
- ni as ProfileTab,
13353
- Hn as RecoveryPhraseDisplay,
13354
- Qn as RecoveryPhraseInput,
13355
- Rc as ResetPasswordForm,
13356
- Qi as SUPPORTED_TOKENS,
13357
- Wc as SecuritySettings,
13358
- zo as ServerSettings,
13359
- _n as SessionList,
13360
- Yo as SettingsPageLayout,
13361
- Na as SetupWizard,
13362
- uo as SolanaLoginButton,
13363
- Jc as SplitPageLayout,
13364
- _c as SystemSettings,
13365
- Rs as TieredAmountSlider,
13366
- Ms as TokenSelector,
13367
- ti as TotpSettings,
13368
- Cs as TotpSetup,
13369
- fl as TotpVerify,
13370
- qc as UserProfileSettings,
13371
- ma as WalletAddressRow,
13372
- Jn as WalletEnrollment,
13373
- Fc as WalletManager,
13374
- la as WalletRecovery,
13375
- fa as WalletStatus,
13376
- oa as WalletUnlock,
13377
- Fl as WebhookSettings,
13378
- Yc as WithdrawalFlow,
13379
- $c as WithdrawalHistory,
13380
- Ll as cedrosLoginPlugin,
13317
+ qo as PrivacyCashSettings,
13318
+ Do as ProfileDropdown,
13319
+ ri as ProfileTab,
13320
+ jn as RecoveryPhraseDisplay,
13321
+ zn as RecoveryPhraseInput,
13322
+ Mc as ResetPasswordForm,
13323
+ zi as SUPPORTED_TOKENS,
13324
+ Uc as SecuritySettings,
13325
+ jo as ServerSettings,
13326
+ Dn as SessionList,
13327
+ Ko as SettingsPageLayout,
13328
+ Aa as SetupWizard,
13329
+ lo as SolanaLoginButton,
13330
+ Yc as SplitPageLayout,
13331
+ Dc as SystemSettings,
13332
+ Bs as TieredAmountSlider,
13333
+ Ls as TokenSelector,
13334
+ Xa as TotpSettings,
13335
+ Ns as TotpSetup,
13336
+ hl as TotpVerify,
13337
+ _c as UserProfileSettings,
13338
+ ua as WalletAddressRow,
13339
+ Yn as WalletEnrollment,
13340
+ Ic as WalletManager,
13341
+ aa as WalletRecovery,
13342
+ ha as WalletStatus,
13343
+ ta as WalletUnlock,
13344
+ Il as WebhookSettings,
13345
+ Hc as WithdrawalFlow,
13346
+ Qc as WithdrawalHistory,
13347
+ Sl as cedrosLoginPlugin,
13381
13348
  jt as defaultTranslations,
13382
- ll as getEmbeddedWalletInfo,
13349
+ al as getEmbeddedWalletInfo,
13383
13350
  $t as getTierForAmount,
13384
- dl as isEmbeddedWalletAvailable,
13385
- Ml as loginPlugin,
13386
- rc as mergeTranslations,
13387
- vl as registerMobileWallet,
13388
- Dl as useAdminDeposits,
13389
- Tl as useAdminShell,
13390
- Cl as useAdminUsers,
13391
- An as useAppleAuth,
13351
+ il as isEmbeddedWalletAvailable,
13352
+ xl as loginPlugin,
13353
+ Zi as mergeTranslations,
13354
+ yl as registerMobileWallet,
13355
+ Bl as useAdminDeposits,
13356
+ Pl as useAdminShell,
13357
+ vl as useAdminUsers,
13358
+ bn as useAppleAuth,
13392
13359
  et as useAuth,
13393
- hl as useAuthState,
13394
- pl as useAuthUI,
13395
- Xc as useAuthorize,
13360
+ ll as useAuthState,
13361
+ dl as useAuthUI,
13362
+ $c as useAuthorize,
13396
13363
  te as useCedrosLogin,
13397
- Es as useCredentials,
13398
- Os as useCredits,
13399
- yi as useDeposit,
13400
- gl as useEmailAuth,
13401
- bl as useGoogleAuth,
13402
- gn as useInstantLink,
13403
- fo as useInvites,
13404
- nl as useLocale,
13405
- mo as useMembers,
13406
- Eo as useOrgs,
13407
- Zn as usePasskeySigning,
13364
+ Cs as useCredentials,
13365
+ Ws as useCredits,
13366
+ fi as useDeposit,
13367
+ pl as useEmailAuth,
13368
+ gl as useGoogleAuth,
13369
+ fn as useInstantLink,
13370
+ mo as useInvites,
13371
+ rl as useLocale,
13372
+ po as useMembers,
13373
+ Co as useOrgs,
13374
+ Gn as usePasskeySigning,
13408
13375
  Qt as usePasswordReset,
13409
- el as usePendingRecovery,
13410
- rl as usePostLogin,
13376
+ Jc as usePendingRecovery,
13377
+ Zc as usePostLogin,
13411
13378
  st as useProfile,
13412
- ho as useServerFeatures,
13413
- fi as useSessions,
13414
- ys as useSetup,
13415
- kl as useSolanaAuth,
13416
- Ao as useSystemSettings,
13417
- Ns as useTotp,
13418
- wl as useTotpVerify,
13419
- tl as useTransactionSigning,
13420
- ol as useTranslations,
13379
+ uo as useServerFeatures,
13380
+ hi as useSessions,
13381
+ ws as useSetup,
13382
+ bl as useSolanaAuth,
13383
+ bo as useSystemSettings,
13384
+ ks as useTotp,
13385
+ ml as useTotpVerify,
13386
+ Xc as useTransactionSigning,
13387
+ tl as useTranslations,
13421
13388
  tt as useWallet,
13422
- Gn as useWalletEnrollment,
13389
+ Kn as useWalletEnrollment,
13423
13390
  Pe as useWalletMaterial,
13424
- ca as useWalletRecovery,
13425
- Xn as useWalletSigning,
13426
- Zc as useWallets,
13427
- gs as useWebAuthn,
13428
- qs as useWithdrawal,
13391
+ na as useWalletRecovery,
13392
+ $n as useWalletSigning,
13393
+ Gc as useWallets,
13394
+ fs as useWebAuthn,
13395
+ Os as useWithdrawal,
13429
13396
  rt as validatePassword
13430
13397
  };