@dogeos/dogeos-sdk 3.1.0-beta.2 → 3.2.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -12,36 +12,37 @@
12
12
  })();
13
13
 
14
14
  import { jsxs as C, jsx as o, Fragment as Bt } from "react/jsx-runtime";
15
- import { createContext as ht, useState as Y, useRef as ce, useEffect as J, useMemo as y, useContext as W, useCallback as O } from "react";
16
- import { Button as k, BackIcon as Mt, CloseIcon as Wt, OkIcon as Vt, CopyIcon as Lr, Image as fe, PowerIcon as Yr, DownIcon as Zr, Spinner as ue, Skeleton as Jr, Modal as Xt, Link as Ue, TomoLogoIcon as Dr, Card as Fr, CardBody as Hr, Tabs as Qr, Tab as Kr, Chip as $n, SearchIcon as qr, Input as Nt, SearchOutlinedIcon as Ur, addToast as Gr, RightArrowIcon as jn, ModalHeader as Rr, ModalBody as _r, ModalContent as $r, TomoUIProvider as es, ToastProvider as ns } from "@tomo-inc/tomo-ui";
17
- import { isMobile as jt, loadConnectors as Tt, isWagmiConnector as ts, connect as Et, switchChain as et, addChain as rs, signInWithWallet as ss, signMessage as is, setWalletConnectConfig as os } from "@tomo-inc/wallet-adaptor-base";
18
- import { useQuery as Tn, useMutation as En, QueryClientProvider as cs, QueryClient as as } from "@tanstack/react-query";
19
- import ls from "copy-to-clipboard";
20
- import ds from "qr-code-styling";
21
- import { useConfig as nt, useConnect as As, useAccount as fs, useDisconnect as us, createConnector as gs } from "wagmi";
22
- import { EmbeddedWallet as vs } from "@tomo-inc/embedded-wallet-providers";
23
- import { getAddress as Je, SwitchChainError as tt, numberToHex as rt, UserRejectedRequestError as G, withRetry as ms, withTimeout as ps, ResourceUnavailableRpcError as An } from "viem";
24
- const Cs = "@dogeos/dogeos-sdk", xs = "3.1.0-beta.2", st = {
25
- name: Cs,
26
- version: xs
15
+ import { createContext as ht, useState as Y, useRef as ce, useEffect as J, useMemo as y, useContext as M, useCallback as O } from "react";
16
+ import { Button as L, BackIcon as Wt, CloseIcon as Mt, OkIcon as Vt, CopyIcon as Zr, Image as fe, PowerIcon as Jr, DownIcon as Dr, Spinner as ue, Skeleton as Fr, Modal as Xt, Link as Ue, TomoLogoIcon as Hr, Card as Qr, CardBody as Kr, Tabs as qr, Tab as Ur, Chip as $n, SearchIcon as Gr, Input as Nt, SearchOutlinedIcon as Rr, addToast as _r, RightArrowIcon as jn, ModalHeader as $r, ModalBody as es, ModalContent as ns, TomoUIProvider as ts, ToastProvider as rs } from "@tomo-inc/tomo-ui";
17
+ import { isMobile as jt, loadConnectors as Tt, isWagmiConnector as ss, connect as Et, switchChain as et, addChain as is, signInWithWallet as os, signMessage as cs, setWalletConnectConfig as as } from "@tomo-inc/wallet-adaptor-base";
18
+ import { useQuery as Tn, useMutation as En, QueryClientProvider as ls, QueryClient as ds } from "@tanstack/react-query";
19
+ import As from "copy-to-clipboard";
20
+ import fs from "qr-code-styling";
21
+ import { useConfig as nt, useConnect as us, useAccount as gs, useDisconnect as vs, createConnector as ms } from "wagmi";
22
+ import { EmbeddedWallet as ps } from "@tomo-inc/embedded-wallet-providers";
23
+ import { getAddress as Je, SwitchChainError as tt, numberToHex as rt, UserRejectedRequestError as G, withRetry as Cs, withTimeout as xs, ResourceUnavailableRpcError as An } from "viem";
24
+ const bs = "@dogeos/dogeos-sdk", zs = "3.2.0-beta.2", st = {
25
+ name: bs,
26
+ version: zs
27
27
  };
28
- var bs = Object.defineProperty, zs = (e, n) => {
28
+ var Is = Object.defineProperty, ws = (e, n) => {
29
29
  for (var t in n)
30
- bs(e, t, { get: n[t], enumerable: !0 });
31
- }, Is = {};
32
- zs(Is, {
33
- clear: () => Bs,
34
- get: () => ws,
35
- remove: () => ys,
36
- set: () => Ps,
30
+ Is(e, t, { get: n[t], enumerable: !0 });
31
+ }, Ps = {};
32
+ ws(Ps, {
33
+ clear: () => Ws,
34
+ get: () => ys,
35
+ isKeyExist: () => St,
36
+ remove: () => hs,
37
+ set: () => Bs,
37
38
  setKeyNS: () => Ms
38
39
  });
39
- var We = "tomo-";
40
- function ws(e) {
40
+ var Me = "tomo-";
41
+ function ys(e) {
41
42
  if (typeof window > "u")
42
43
  return null;
43
- const n = We + e;
44
- if (!hs(n))
44
+ const n = Me + e;
45
+ if (!St(n))
45
46
  return null;
46
47
  let t = null;
47
48
  try {
@@ -52,7 +53,7 @@ function ws(e) {
52
53
  }
53
54
  return t !== null && Object.prototype.hasOwnProperty.call(t, "type") && Object.prototype.hasOwnProperty.call(t, "data") ? t.data : null;
54
55
  }
55
- function Ps(e, n, t) {
56
+ function Bs(e, n, t) {
56
57
  if (typeof window > "u")
57
58
  return !1;
58
59
  let r;
@@ -64,29 +65,29 @@ function Ps(e, n, t) {
64
65
  type: typeof n
65
66
  });
66
67
  try {
67
- return r.setItem(We + e, s), !0;
68
+ return r.setItem(Me + e, s), !0;
68
69
  } catch (i) {
69
- i?.name?.toUpperCase().indexOf("QUOTA") >= 0 && (window.localStorage.clear(), r.setItem(We + e, s));
70
+ i?.name?.toUpperCase().indexOf("QUOTA") >= 0 && (window.localStorage.clear(), r.setItem(Me + e, s));
70
71
  }
71
72
  return !1;
72
73
  }
73
- function ys(e) {
74
+ function hs(e) {
74
75
  if (typeof window > "u")
75
76
  return;
76
- const n = We + e;
77
+ const n = Me + e;
77
78
  window.localStorage.removeItem(n), window.sessionStorage.removeItem(n);
78
79
  }
79
- function Bs() {
80
+ function Ws() {
80
81
  typeof window > "u" || (window?.localStorage?.clear(), window?.sessionStorage?.clear());
81
82
  }
82
- function hs(e) {
83
+ function St(e) {
83
84
  return typeof window > "u" ? !1 : Object.prototype.hasOwnProperty.call(window.localStorage, e) || Object.prototype.hasOwnProperty.call(window.sessionStorage, e);
84
85
  }
85
86
  function Ms(e) {
86
- typeof e == "string" && e !== "" && (We = e);
87
+ typeof e == "string" && e !== "" && (Me = e);
87
88
  }
88
89
  var T = /* @__PURE__ */ ((e) => (e.BITCOIN = "bitcoin", e.DOGECOIN = "dogecoin", e.EVM = "evm", e.SOLANA = "solana", e.APTOS = "aptos", e.COSMOS = "cosmos", e.TON = "ton", e.TRON = "tron", e.SUI = "sui", e))(T || {});
89
- const X = ht(null), St = ({ testnet: e, ...n }) => /* @__PURE__ */ C(
90
+ const X = ht(null), Ot = ({ testnet: e, ...n }) => /* @__PURE__ */ C(
90
91
  "svg",
91
92
  {
92
93
  "aria-hidden": "true",
@@ -153,7 +154,7 @@ const X = ht(null), St = ({ testnet: e, ...n }) => /* @__PURE__ */ C(
153
154
  ] })
154
155
  ]
155
156
  }
156
- ), Sn = ({ ...e }) => /* @__PURE__ */ o(St, { testnet: !0, ...e }), Ge = ({ testnet: e, ...n }) => {
157
+ ), Sn = ({ ...e }) => /* @__PURE__ */ o(Ot, { testnet: !0, ...e }), Ge = ({ testnet: e, ...n }) => {
157
158
  let t = "var(--ck-chain-ethereum-01, #627EEA)", r = "var(--ck-chain-ethereum-02, #ffffff)";
158
159
  return e && (t = "linear-gradient(180deg, #8995A9 0%, #627EEA 99.48%)", r = "#fff"), /* @__PURE__ */ C(
159
160
  "svg",
@@ -282,7 +283,7 @@ const X = ht(null), St = ({ testnet: e, ...n }) => /* @__PURE__ */ C(
282
283
  /* @__PURE__ */ o("clipPath", { id: "clip0_101_1146", children: /* @__PURE__ */ o("rect", { width: "20", height: "20", fill: "white" }) }),
283
284
  /* @__PURE__ */ o("clipPath", { id: "clip1_101_1146", children: /* @__PURE__ */ o("rect", { width: "13.125", height: "10", fill: "white", transform: "translate(3.75 5)" }) })
284
285
  ] })
285
- ] }), Ws = ({ ...e }) => /* @__PURE__ */ C("svg", { width: "32", height: "32", viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: [
286
+ ] }), Vs = ({ ...e }) => /* @__PURE__ */ C("svg", { width: "32", height: "32", viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: [
286
287
  /* @__PURE__ */ o("circle", { cx: "16", cy: "16", r: "16", fill: "black" }),
287
288
  /* @__PURE__ */ o(
288
289
  "mask",
@@ -352,7 +353,7 @@ const X = ht(null), St = ({ testnet: e, ...n }) => /* @__PURE__ */ C(
352
353
  ] })
353
354
  ]
354
355
  }
355
- ), Ot = ({ ...e }) => /* @__PURE__ */ C("svg", { width: "56", height: "56", viewBox: "0 0 56 56", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: [
356
+ ), Lt = ({ ...e }) => /* @__PURE__ */ C("svg", { width: "56", height: "56", viewBox: "0 0 56 56", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: [
356
357
  /* @__PURE__ */ o("foreignObject", { x: "-2.16759", y: "-2.16759", width: "60.3349", height: "60.3352", children: /* @__PURE__ */ o(
357
358
  "div",
358
359
  {
@@ -470,32 +471,32 @@ const X = ht(null), St = ({ testnet: e, ...n }) => /* @__PURE__ */ C(
470
471
  }
471
472
  )
472
473
  ] })
473
- ] }), Vs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
474
+ ] }), Xs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
474
475
  __proto__: null,
475
476
  Apots: tn,
476
477
  Doge: On,
477
478
  Ethereum: Ge,
478
- KnownChain: St,
479
- Movement: Ws,
479
+ KnownChain: Ot,
480
+ Movement: Vs,
480
481
  Solana: rn,
481
482
  UnknownChain: Sn,
482
- UnsupportChain: Ot
483
+ UnsupportChain: Lt
483
484
  }, Symbol.toStringTag, { value: "Module" })), ze = ({ icon: e, iconName: n, className: t, iconProps: r, iconUrl: s }) => {
484
485
  if (s)
485
486
  return /* @__PURE__ */ o("div", { className: t, children: /* @__PURE__ */ o("img", { src: s, alt: n || "chain", "data-icon": "chain-icon", width: "100%", height: "100%" }) });
486
487
  if (typeof e == "string")
487
488
  return /* @__PURE__ */ o("div", { className: t, children: /* @__PURE__ */ o("img", { src: e, alt: n || "chain", "data-icon": "chain-icon", width: "100%", height: "100%" }) });
488
- const i = e || Vs?.[n] || Sn;
489
+ const i = e || Xs?.[n] || Sn;
489
490
  return /* @__PURE__ */ o("div", { className: t, children: /* @__PURE__ */ o(i, { "data-icon": "chain-icon", width: "100%", height: "100%", ...r }) });
490
- }, Xs = "https://web3-assets.tomo.inc/api/chains", it = "https://web3-assets.tomo.inc";
491
+ }, Ns = "https://web3-assets.tomo.inc/api/chains", it = "https://web3-assets.tomo.inc";
491
492
  let De = null, Pe = null;
492
- function Ns(e) {
493
+ function js(e) {
493
494
  return !e || e.startsWith("http://") || e.startsWith("https://") ? e : e.startsWith("/") ? `${it}${e}` : `${it}/${e}`;
494
495
  }
495
496
  async function kt() {
496
497
  return De || Pe || (Pe = (async () => {
497
498
  try {
498
- const e = await fetch(Xs);
499
+ const e = await fetch(Ns);
499
500
  if (!e.ok)
500
501
  throw new Error(`Failed to fetch chains: ${e.statusText}`);
501
502
  const n = await e.json();
@@ -503,23 +504,23 @@ async function kt() {
503
504
  throw new Error("Invalid chains API response");
504
505
  return De = n.data.map((t) => ({
505
506
  ...t,
506
- icon: Ns(t.icon)
507
+ icon: js(t.icon)
507
508
  })), De;
508
509
  } catch (e) {
509
510
  throw console.error("Error fetching chains from API:", e), Pe = null, e;
510
511
  }
511
512
  })(), Pe);
512
513
  }
513
- const js = "1a91e3dace36e2be3bf030a65679fe82";
514
- function kn(e) {
514
+ const Ts = "1a91e3dace36e2be3bf030a65679fe82";
515
+ function Ln(e) {
515
516
  const [n, t] = e.split(":");
516
517
  return { type: n.toLowerCase(), id: t };
517
518
  }
518
519
  function H(e) {
519
- const { type: n, id: t } = kn(e);
520
- return n === "aptos" ? "aptos" : n === "solana" ? "solana" : n === "eip155" ? "evm" : n === "dogecoin" || n === "bip122" && t === js ? "dogecoin" : "evm";
520
+ const { type: n, id: t } = Ln(e);
521
+ return n === "aptos" ? "aptos" : n === "solana" ? "solana" : n === "eip155" ? "evm" : n === "dogecoin" || n === "bip122" && t === Ts ? "dogecoin" : "evm";
521
522
  }
522
- function Lt() {
523
+ function Yt() {
523
524
  const { data: e, isLoading: n, error: t, refetch: r } = Tn({
524
525
  queryKey: ["chains"],
525
526
  queryFn: kt,
@@ -535,10 +536,10 @@ function Lt() {
535
536
  refetch: r
536
537
  };
537
538
  }
538
- const Ln = () => {
539
+ const kn = () => {
539
540
  const [e, n] = Y(!1), t = ce(null), r = (s) => {
540
541
  try {
541
- return ls(s), n(!0), t.current = setTimeout(() => n(!1), 1200), !0;
542
+ return As(s), n(!0), t.current = setTimeout(() => n(!1), 1200), !0;
542
543
  } catch (i) {
543
544
  return console.warn("Copy failed, but continuing execution:", i), !1;
544
545
  }
@@ -553,7 +554,7 @@ const Ln = () => {
553
554
  function bn(e) {
554
555
  return new Promise((n) => setTimeout(n, e));
555
556
  }
556
- function Yt(e) {
557
+ function Zt(e) {
557
558
  if (!e || typeof e != "string")
558
559
  return !1;
559
560
  const n = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, t = /^[a-zA-Z0-9._+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/;
@@ -562,12 +563,12 @@ function Yt(e) {
562
563
  const r = e.split("@")[0];
563
564
  return !(r.startsWith(".") || r.endsWith(".") || r.includes(".."));
564
565
  }
565
- function Ts(e) {
566
- return !e || e.trim().length === 0 ? "Please enter your email address" : Yt(e) ? null : "Please enter a valid email address";
566
+ function Es(e) {
567
+ return !e || e.trim().length === 0 ? "Please enter your email address" : Zt(e) ? null : "Please enter a valid email address";
567
568
  }
568
569
  const Yn = {
569
570
  WALLET_STATE: "tomo_wallet_state"
570
- }, Es = (e) => {
571
+ }, Ss = (e) => {
571
572
  try {
572
573
  const n = {
573
574
  ...e,
@@ -577,16 +578,16 @@ const Yn = {
577
578
  } catch (n) {
578
579
  console.error("Failed to save wallet state:", n);
579
580
  }
580
- }, Ss = () => {
581
+ }, Os = () => {
581
582
  try {
582
583
  const e = localStorage.getItem(Yn.WALLET_STATE);
583
584
  if (!e) return null;
584
585
  const n = JSON.parse(e);
585
- return Date.now() - n.timestamp > 10080 * 60 * 1e3 ? (Zt(), null) : n;
586
+ return Date.now() - n.timestamp > 10080 * 60 * 1e3 ? (Jt(), null) : n;
586
587
  } catch (e) {
587
588
  return console.error("Failed to get wallet state:", e), null;
588
589
  }
589
- }, Zt = () => {
590
+ }, Jt = () => {
590
591
  try {
591
592
  localStorage.removeItem(Yn.WALLET_STATE);
592
593
  } catch (e) {
@@ -597,7 +598,7 @@ function ot(e, n) {
597
598
  const t = e.info?.uuid, r = t ? n.has(t) : !1, s = e.isInstalled === !0;
598
599
  return r && s ? 0 : !r && s ? 1 : r && !s ? 2 : 3;
599
600
  }
600
- function Os(e, n) {
601
+ function Ls(e, n) {
601
602
  const t = new Set(e.map((c) => c.info?.uuid).filter(Boolean)), r = (c, l) => ot(c, t) - ot(l, t), s = /* @__PURE__ */ new Set();
602
603
  return [[...e, ...n].filter((c) => {
603
604
  const l = c.info?.uuid;
@@ -638,19 +639,19 @@ const q = {
638
639
  evm: Ge,
639
640
  // Evm chains - fallback icons (will be replaced by API data)
640
641
  evm_1: Ge,
641
- unsupported: Ot
642
+ unsupported: Lt
642
643
  };
643
- function Ls(e, n) {
644
+ function Ys(e, n) {
644
645
  if (n?.icon)
645
646
  return () => n.icon;
646
- const t = H(e), { id: r } = kn(e), s = t === "evm" ? `evm_${r}` : t;
647
+ const t = H(e), { id: r } = Ln(e), s = t === "evm" ? `evm_${r}` : t;
647
648
  return ae[s] || Sn;
648
649
  }
649
- function Jt(e) {
650
+ function Dt(e) {
650
651
  const n = { ...ae };
651
652
  return e.forEach((t) => {
652
- const r = H(t.chainId), { id: s } = kn(t.chainId), i = r === "evm" ? `evm_${s}` : t.chainId;
653
- t.icon ? n[i] = () => t.icon : n[i] = Ls(t.chainId, t);
653
+ const r = H(t.chainId), { id: s } = Ln(t.chainId), i = r === "evm" ? `evm_${s}` : t.chainId;
654
+ t.icon ? n[i] = () => t.icon : n[i] = Ys(t.chainId, t);
654
655
  }), n;
655
656
  }
656
657
  const fn = {
@@ -671,10 +672,10 @@ function se(e) {
671
672
  ...e
672
673
  };
673
674
  }
674
- const Dt = "2.38.2";
675
+ const Ft = "2.38.2";
675
676
  let un = {
676
677
  getDocsUrl: ({ docsBaseUrl: e, docsPath: n = "", docsSlug: t }) => n ? `${e ?? "https://viem.sh"}${n}${t ? `#${t}` : ""}` : void 0,
677
- version: `viem@${Dt}`
678
+ version: `viem@${Ft}`
678
679
  }, h = class zn extends Error {
679
680
  constructor(n, t = {}) {
680
681
  const r = t.cause instanceof zn ? t.cause.details : t.cause?.message ? t.cause.message : t.details, s = t.cause instanceof zn && t.cause.docsPath || t.docsPath, i = un.getDocsUrl?.({ ...t, docsPath: s }), a = [
@@ -716,21 +717,21 @@ let un = {
716
717
  configurable: !0,
717
718
  writable: !0,
718
719
  value: "BaseError"
719
- }), this.details = r, this.docsPath = s, this.metaMessages = t.metaMessages, this.name = t.name ?? this.name, this.shortMessage = n, this.version = Dt;
720
+ }), this.details = r, this.docsPath = s, this.metaMessages = t.metaMessages, this.name = t.name ?? this.name, this.shortMessage = n, this.version = Ft;
720
721
  }
721
722
  walk(n) {
722
- return Ft(this, n);
723
+ return Ht(this, n);
723
724
  }
724
725
  };
725
- function Ft(e, n) {
726
- return n?.(e) ? e : e && typeof e == "object" && "cause" in e && e.cause !== void 0 ? Ft(e.cause, n) : n ? null : e;
726
+ function Ht(e, n) {
727
+ return n?.(e) ? e : e && typeof e == "object" && "cause" in e && e.cause !== void 0 ? Ht(e.cause, n) : n ? null : e;
727
728
  }
728
- class Ys extends h {
729
+ class Zs extends h {
729
730
  constructor({ max: n, min: t, signed: r, size: s, value: i }) {
730
731
  super(`Number "${i}" is not in safe ${s ? `${s * 8}-bit ${r ? "signed" : "unsigned"} ` : ""}integer range ${n ? `(${t} to ${n})` : `(above ${t})`}`, { name: "IntegerOutOfRangeError" });
731
732
  }
732
733
  }
733
- class Zs extends h {
734
+ class Js extends h {
734
735
  constructor({ givenSize: n, maxSize: t }) {
735
736
  super(`Size cannot exceed ${t} bytes. Given size: ${n} bytes.`, { name: "SizeOverflowError" });
736
737
  }
@@ -747,36 +748,36 @@ function Re(e, { dir: n = "left" } = {}) {
747
748
  r++;
748
749
  return t = n === "left" ? t.slice(r) : t.slice(0, t.length - r), typeof e == "string" ? (t.length === 1 && n === "right" && (t = `${t}0`), `0x${t.length % 2 === 1 ? `0${t}` : t}`) : t;
749
750
  }
750
- class Js extends h {
751
+ class Ds extends h {
751
752
  constructor({ offset: n, position: t, size: r }) {
752
753
  super(`Slice ${t === "start" ? "starting" : "ending"} at offset "${n}" is out-of-bounds (size: ${r}).`, { name: "SliceOffsetOutOfBoundsError" });
753
754
  }
754
755
  }
755
- class Ht extends h {
756
+ class Qt extends h {
756
757
  constructor({ size: n, targetSize: t, type: r }) {
757
758
  super(`${r.charAt(0).toUpperCase()}${r.slice(1).toLowerCase()} size (${n}) exceeds padding size (${t}).`, { name: "SizeExceedsPaddingSizeError" });
758
759
  }
759
760
  }
760
761
  function Ie(e, { dir: n, size: t = 32 } = {}) {
761
- return typeof e == "string" ? Ds(e, { dir: n, size: t }) : Fs(e, { dir: n, size: t });
762
+ return typeof e == "string" ? Fs(e, { dir: n, size: t }) : Hs(e, { dir: n, size: t });
762
763
  }
763
- function Ds(e, { dir: n, size: t = 32 } = {}) {
764
+ function Fs(e, { dir: n, size: t = 32 } = {}) {
764
765
  if (t === null)
765
766
  return e;
766
767
  const r = e.replace("0x", "");
767
768
  if (r.length > t * 2)
768
- throw new Ht({
769
+ throw new Qt({
769
770
  size: Math.ceil(r.length / 2),
770
771
  targetSize: t,
771
772
  type: "hex"
772
773
  });
773
774
  return `0x${r[n === "right" ? "padEnd" : "padStart"](t * 2, "0")}`;
774
775
  }
775
- function Fs(e, { dir: n, size: t = 32 } = {}) {
776
+ function Hs(e, { dir: n, size: t = 32 } = {}) {
776
777
  if (t === null)
777
778
  return e;
778
779
  if (e.length > t)
779
- throw new Ht({
780
+ throw new Qt({
780
781
  size: e.length,
781
782
  targetSize: t,
782
783
  type: "bytes"
@@ -788,18 +789,18 @@ function Fs(e, { dir: n, size: t = 32 } = {}) {
788
789
  }
789
790
  return r;
790
791
  }
791
- const Hs = /* @__PURE__ */ Array.from({ length: 256 }, (e, n) => n.toString(16).padStart(2, "0"));
792
- function Me(e, n = {}) {
793
- return typeof e == "number" || typeof e == "bigint" ? P(e, n) : typeof e == "string" ? qs(e, n) : typeof e == "boolean" ? Qs(e, n) : ee(e, n);
792
+ const Qs = /* @__PURE__ */ Array.from({ length: 256 }, (e, n) => n.toString(16).padStart(2, "0"));
793
+ function We(e, n = {}) {
794
+ return typeof e == "number" || typeof e == "bigint" ? P(e, n) : typeof e == "string" ? Us(e, n) : typeof e == "boolean" ? Ks(e, n) : ee(e, n);
794
795
  }
795
- function Qs(e, n = {}) {
796
+ function Ks(e, n = {}) {
796
797
  const t = `0x${Number(e)}`;
797
798
  return typeof n.size == "number" ? (we(t, { size: n.size }), Ie(t, { size: n.size })) : t;
798
799
  }
799
800
  function ee(e, n = {}) {
800
801
  let t = "";
801
802
  for (let s = 0; s < e.length; s++)
802
- t += Hs[e[s]];
803
+ t += Qs[e[s]];
803
804
  const r = `0x${t}`;
804
805
  return typeof n.size == "number" ? (we(r, { size: n.size }), Ie(r, { dir: "right", size: n.size })) : r;
805
806
  }
@@ -810,7 +811,7 @@ function P(e, n = {}) {
810
811
  const a = typeof i == "bigint" && t ? -i - 1n : 0;
811
812
  if (i && s > i || s < a) {
812
813
  const l = typeof e == "bigint" ? "n" : "";
813
- throw new Ys({
814
+ throw new Zs({
814
815
  max: i ? `${i}${l}` : void 0,
815
816
  min: `${a}${l}`,
816
817
  signed: t,
@@ -821,16 +822,16 @@ function P(e, n = {}) {
821
822
  const c = `0x${(t && s < 0 ? (1n << BigInt(r * 8)) + BigInt(s) : s).toString(16)}`;
822
823
  return r ? Ie(c, { size: r }) : c;
823
824
  }
824
- const Ks = /* @__PURE__ */ new TextEncoder();
825
- function qs(e, n = {}) {
826
- const t = Ks.encode(e);
825
+ const qs = /* @__PURE__ */ new TextEncoder();
826
+ function Us(e, n = {}) {
827
+ const t = qs.encode(e);
827
828
  return ee(t, n);
828
829
  }
829
- const Us = /* @__PURE__ */ new TextEncoder();
830
- function Qt(e, n = {}) {
831
- return typeof e == "number" || typeof e == "bigint" ? Rs(e, n) : typeof e == "boolean" ? Gs(e, n) : Te(e) ? le(e, n) : Kt(e, n);
830
+ const Gs = /* @__PURE__ */ new TextEncoder();
831
+ function Kt(e, n = {}) {
832
+ return typeof e == "number" || typeof e == "bigint" ? _s(e, n) : typeof e == "boolean" ? Rs(e, n) : Te(e) ? le(e, n) : qt(e, n);
832
833
  }
833
- function Gs(e, n = {}) {
834
+ function Rs(e, n = {}) {
834
835
  const t = new Uint8Array(1);
835
836
  return t[0] = Number(e), typeof n.size == "number" ? (we(t, { size: n.size }), Ie(t, { size: n.size })) : t;
836
837
  }
@@ -864,17 +865,17 @@ function le(e, n = {}) {
864
865
  }
865
866
  return i;
866
867
  }
867
- function Rs(e, n) {
868
+ function _s(e, n) {
868
869
  const t = P(e, n);
869
870
  return le(t);
870
871
  }
871
- function Kt(e, n = {}) {
872
- const t = Us.encode(e);
872
+ function qt(e, n = {}) {
873
+ const t = Gs.encode(e);
873
874
  return typeof n.size == "number" ? (we(t, { size: n.size }), Ie(t, { dir: "right", size: n.size })) : t;
874
875
  }
875
876
  function we(e, { size: n }) {
876
877
  if (be(e) > n)
877
- throw new Zs({
878
+ throw new Js({
878
879
  givenSize: be(e),
879
880
  maxSize: n
880
881
  });
@@ -907,7 +908,7 @@ function Zn(e, n) {
907
908
  type: e
908
909
  });
909
910
  }
910
- const qt = {
911
+ const Ut = {
911
912
  "0x0": "legacy",
912
913
  "0x1": "eip2930",
913
914
  "0x2": "eip1559",
@@ -928,12 +929,12 @@ function Jn(e, n) {
928
929
  nonce: e.nonce ? _e(e.nonce) : void 0,
929
930
  to: e.to ? e.to : null,
930
931
  transactionIndex: e.transactionIndex ? Number(e.transactionIndex) : null,
931
- type: e.type ? qt[e.type] : void 0,
932
+ type: e.type ? Ut[e.type] : void 0,
932
933
  typeHex: e.type ? e.type : void 0,
933
934
  value: e.value ? BigInt(e.value) : void 0,
934
935
  v: e.v ? BigInt(e.v) : void 0
935
936
  };
936
- return e.authorizationList && (t.authorizationList = $s(e.authorizationList)), t.yParity = (() => {
937
+ return e.authorizationList && (t.authorizationList = ei(e.authorizationList)), t.yParity = (() => {
937
938
  if (e.yParity)
938
939
  return Number(e.yParity);
939
940
  if (typeof t.v == "bigint") {
@@ -946,8 +947,8 @@ function Jn(e, n) {
946
947
  }
947
948
  })(), t.type === "legacy" && (delete t.accessList, delete t.maxFeePerBlobGas, delete t.maxFeePerGas, delete t.maxPriorityFeePerGas, delete t.yParity), t.type === "eip2930" && (delete t.maxFeePerBlobGas, delete t.maxFeePerGas, delete t.maxPriorityFeePerGas), t.type === "eip1559" && delete t.maxFeePerBlobGas, t;
948
949
  }
949
- const _s = /* @__PURE__ */ Zn("transaction", Jn);
950
- function $s(e) {
950
+ const $s = /* @__PURE__ */ Zn("transaction", Jn);
951
+ function ei(e) {
951
952
  return e.map((n) => ({
952
953
  address: n.address,
953
954
  chainId: Number(n.chainId),
@@ -957,7 +958,7 @@ function $s(e) {
957
958
  yParity: Number(n.yParity)
958
959
  }));
959
960
  }
960
- function ei(e, n) {
961
+ function ni(e, n) {
961
962
  const t = (e.transactions ?? []).map((r) => typeof r == "string" ? r : Jn(r));
962
963
  return {
963
964
  ...e,
@@ -977,8 +978,8 @@ function ei(e, n) {
977
978
  totalDifficulty: e.totalDifficulty ? BigInt(e.totalDifficulty) : null
978
979
  };
979
980
  }
980
- const ni = /* @__PURE__ */ Zn("block", ei);
981
- function ti(e, { args: n, eventName: t } = {}) {
981
+ const ti = /* @__PURE__ */ Zn("block", ni);
982
+ function ri(e, { args: n, eventName: t } = {}) {
982
983
  return {
983
984
  ...e,
984
985
  blockHash: e.blockHash ? e.blockHash : null,
@@ -989,11 +990,11 @@ function ti(e, { args: n, eventName: t } = {}) {
989
990
  ...t ? { args: n, eventName: t } : {}
990
991
  };
991
992
  }
992
- const ri = {
993
+ const si = {
993
994
  "0x0": "reverted",
994
995
  "0x1": "success"
995
996
  };
996
- function si(e, n) {
997
+ function ii(e, n) {
997
998
  const t = {
998
999
  ...e,
999
1000
  blockNumber: e.blockNumber ? BigInt(e.blockNumber) : null,
@@ -1001,26 +1002,26 @@ function si(e, n) {
1001
1002
  cumulativeGasUsed: e.cumulativeGasUsed ? BigInt(e.cumulativeGasUsed) : null,
1002
1003
  effectiveGasPrice: e.effectiveGasPrice ? BigInt(e.effectiveGasPrice) : null,
1003
1004
  gasUsed: e.gasUsed ? BigInt(e.gasUsed) : null,
1004
- logs: e.logs ? e.logs.map((r) => ti(r)) : null,
1005
+ logs: e.logs ? e.logs.map((r) => ri(r)) : null,
1005
1006
  to: e.to ? e.to : null,
1006
1007
  transactionIndex: e.transactionIndex ? _e(e.transactionIndex) : null,
1007
- status: e.status ? ri[e.status] : null,
1008
- type: e.type ? qt[e.type] || e.type : null
1008
+ status: e.status ? si[e.status] : null,
1009
+ type: e.type ? Ut[e.type] || e.type : null
1009
1010
  };
1010
1011
  return e.blobGasPrice && (t.blobGasPrice = BigInt(e.blobGasPrice)), e.blobGasUsed && (t.blobGasUsed = BigInt(e.blobGasUsed)), t;
1011
1012
  }
1012
- const ii = /* @__PURE__ */ Zn("transactionReceipt", si), oi = {
1013
+ const oi = /* @__PURE__ */ Zn("transactionReceipt", ii), ci = {
1013
1014
  legacy: "0x0",
1014
1015
  eip2930: "0x1",
1015
1016
  eip1559: "0x2",
1016
1017
  eip4844: "0x3",
1017
1018
  eip7702: "0x4"
1018
1019
  };
1019
- function ci(e, n) {
1020
+ function ai(e, n) {
1020
1021
  const t = {};
1021
- return typeof e.authorizationList < "u" && (t.authorizationList = ai(e.authorizationList)), typeof e.accessList < "u" && (t.accessList = e.accessList), typeof e.blobVersionedHashes < "u" && (t.blobVersionedHashes = e.blobVersionedHashes), typeof e.blobs < "u" && (typeof e.blobs[0] != "string" ? t.blobs = e.blobs.map((r) => ee(r)) : t.blobs = e.blobs), typeof e.data < "u" && (t.data = e.data), typeof e.from < "u" && (t.from = e.from), typeof e.gas < "u" && (t.gas = P(e.gas)), typeof e.gasPrice < "u" && (t.gasPrice = P(e.gasPrice)), typeof e.maxFeePerBlobGas < "u" && (t.maxFeePerBlobGas = P(e.maxFeePerBlobGas)), typeof e.maxFeePerGas < "u" && (t.maxFeePerGas = P(e.maxFeePerGas)), typeof e.maxPriorityFeePerGas < "u" && (t.maxPriorityFeePerGas = P(e.maxPriorityFeePerGas)), typeof e.nonce < "u" && (t.nonce = P(e.nonce)), typeof e.to < "u" && (t.to = e.to), typeof e.type < "u" && (t.type = oi[e.type]), typeof e.value < "u" && (t.value = P(e.value)), t;
1022
+ return typeof e.authorizationList < "u" && (t.authorizationList = li(e.authorizationList)), typeof e.accessList < "u" && (t.accessList = e.accessList), typeof e.blobVersionedHashes < "u" && (t.blobVersionedHashes = e.blobVersionedHashes), typeof e.blobs < "u" && (typeof e.blobs[0] != "string" ? t.blobs = e.blobs.map((r) => ee(r)) : t.blobs = e.blobs), typeof e.data < "u" && (t.data = e.data), typeof e.from < "u" && (t.from = e.from), typeof e.gas < "u" && (t.gas = P(e.gas)), typeof e.gasPrice < "u" && (t.gasPrice = P(e.gasPrice)), typeof e.maxFeePerBlobGas < "u" && (t.maxFeePerBlobGas = P(e.maxFeePerBlobGas)), typeof e.maxFeePerGas < "u" && (t.maxFeePerGas = P(e.maxFeePerGas)), typeof e.maxPriorityFeePerGas < "u" && (t.maxPriorityFeePerGas = P(e.maxPriorityFeePerGas)), typeof e.nonce < "u" && (t.nonce = P(e.nonce)), typeof e.to < "u" && (t.to = e.to), typeof e.type < "u" && (t.type = ci[e.type]), typeof e.value < "u" && (t.value = P(e.value)), t;
1022
1023
  }
1023
- function ai(e) {
1024
+ function li(e) {
1024
1025
  return e.map((n) => ({
1025
1026
  address: n.address,
1026
1027
  r: n.r ? P(BigInt(n.r)) : n.r,
@@ -1042,17 +1043,17 @@ class at extends h {
1042
1043
  });
1043
1044
  }
1044
1045
  }
1045
- class li extends h {
1046
+ class di extends h {
1046
1047
  constructor({ length: n, position: t }) {
1047
1048
  super(`Position \`${t}\` is out of bounds (\`0 < position < ${n}\`).`, { name: "PositionOutOfBoundsError" });
1048
1049
  }
1049
1050
  }
1050
- class di extends h {
1051
+ class Ai extends h {
1051
1052
  constructor({ count: n, limit: t }) {
1052
1053
  super(`Recursive read limit of \`${t}\` exceeded (recursive read count: \`${n}\`).`, { name: "RecursiveReadLimitExceededError" });
1053
1054
  }
1054
1055
  }
1055
- const Ai = {
1056
+ const fi = {
1056
1057
  bytes: new Uint8Array(),
1057
1058
  dataView: new DataView(new ArrayBuffer(0)),
1058
1059
  position: 0,
@@ -1061,14 +1062,14 @@ const Ai = {
1061
1062
  recursiveReadLimit: Number.POSITIVE_INFINITY,
1062
1063
  assertReadLimit() {
1063
1064
  if (this.recursiveReadCount >= this.recursiveReadLimit)
1064
- throw new di({
1065
+ throw new Ai({
1065
1066
  count: this.recursiveReadCount + 1,
1066
1067
  limit: this.recursiveReadLimit
1067
1068
  });
1068
1069
  },
1069
1070
  assertPosition(e) {
1070
1071
  if (e < 0 || e > this.bytes.length - 1)
1071
- throw new li({
1072
+ throw new di({
1072
1073
  length: this.bytes.length,
1073
1074
  position: e
1074
1075
  });
@@ -1174,19 +1175,19 @@ const Ai = {
1174
1175
  this.positionReadCount.set(this.position, e + 1), e > 0 && this.recursiveReadCount++;
1175
1176
  }
1176
1177
  };
1177
- function Ut(e, { recursiveReadLimit: n = 8192 } = {}) {
1178
- const t = Object.create(Ai);
1178
+ function Gt(e, { recursiveReadLimit: n = 8192 } = {}) {
1179
+ const t = Object.create(fi);
1179
1180
  return t.bytes = e, t.dataView = new DataView(e.buffer, e.byteOffset, e.byteLength), t.positionReadCount = /* @__PURE__ */ new Map(), t.recursiveReadLimit = n, t;
1180
1181
  }
1181
1182
  function de(e, n = "hex") {
1182
- const t = Gt(e), r = Ut(new Uint8Array(t.length));
1183
+ const t = Rt(e), r = Gt(new Uint8Array(t.length));
1183
1184
  return t.encode(r), n === "hex" ? ee(r.bytes) : r.bytes;
1184
1185
  }
1185
- function Gt(e) {
1186
- return Array.isArray(e) ? fi(e.map((n) => Gt(n))) : ui(e);
1186
+ function Rt(e) {
1187
+ return Array.isArray(e) ? ui(e.map((n) => Rt(n))) : gi(e);
1187
1188
  }
1188
- function fi(e) {
1189
- const n = e.reduce((s, i) => s + i.length, 0), t = Rt(n);
1189
+ function ui(e) {
1190
+ const n = e.reduce((s, i) => s + i.length, 0), t = _t(n);
1190
1191
  return {
1191
1192
  length: n <= 55 ? 1 + n : 1 + t + n,
1192
1193
  encode(s) {
@@ -1196,8 +1197,8 @@ function fi(e) {
1196
1197
  }
1197
1198
  };
1198
1199
  }
1199
- function ui(e) {
1200
- const n = typeof e == "string" ? le(e) : e, t = Rt(n.length);
1200
+ function gi(e) {
1201
+ const n = typeof e == "string" ? le(e) : e, t = _t(n.length);
1201
1202
  return {
1202
1203
  length: n.length === 1 && n[0] < 128 ? 1 : n.length <= 55 ? 1 + n.length : 1 + t + n.length,
1203
1204
  encode(s) {
@@ -1205,7 +1206,7 @@ function ui(e) {
1205
1206
  }
1206
1207
  };
1207
1208
  }
1208
- function Rt(e) {
1209
+ function _t(e) {
1209
1210
  if (e < 2 ** 8)
1210
1211
  return 1;
1211
1212
  if (e < 2 ** 16)
@@ -1216,14 +1217,14 @@ function Rt(e) {
1216
1217
  return 4;
1217
1218
  throw new h("Length is too large.");
1218
1219
  }
1219
- const gi = {
1220
+ const vi = {
1220
1221
  gwei: 9,
1221
1222
  wei: 18
1222
- }, vi = {
1223
+ }, mi = {
1223
1224
  ether: -9,
1224
1225
  wei: 9
1225
1226
  };
1226
- function _t(e, n) {
1227
+ function $t(e, n) {
1227
1228
  let t = e.toString();
1228
1229
  const r = t.startsWith("-");
1229
1230
  r && (t = t.slice(1)), t = t.padStart(n, "0");
@@ -1233,18 +1234,18 @@ function _t(e, n) {
1233
1234
  ];
1234
1235
  return i = i.replace(/(0+)$/, ""), `${r ? "-" : ""}${s || "0"}${i ? `.${i}` : ""}`;
1235
1236
  }
1236
- function mi(e, n = "wei") {
1237
- return _t(e, gi[n]);
1237
+ function pi(e, n = "wei") {
1238
+ return $t(e, vi[n]);
1238
1239
  }
1239
1240
  function oe(e, n = "wei") {
1240
- return _t(e, vi[n]);
1241
+ return $t(e, mi[n]);
1241
1242
  }
1242
- function $t(e) {
1243
+ function er(e) {
1243
1244
  const n = Object.entries(e).map(([r, s]) => s === void 0 || s === !1 ? null : [r, s]).filter(Boolean), t = n.reduce((r, [s]) => Math.max(r, s.length), 0);
1244
1245
  return n.map(([r, s]) => ` ${`${r}:`.padEnd(t + 1)} ${s}`).join(`
1245
1246
  `);
1246
1247
  }
1247
- class pi extends h {
1248
+ class Ci extends h {
1248
1249
  constructor() {
1249
1250
  super([
1250
1251
  "Cannot specify both a `gasPrice` and a `maxFeePerGas`/`maxPriorityFeePerGas`.",
@@ -1253,20 +1254,20 @@ class pi extends h {
1253
1254
  `), { name: "FeeConflictError" });
1254
1255
  }
1255
1256
  }
1256
- class Ci extends h {
1257
+ class xi extends h {
1257
1258
  constructor({ v: n }) {
1258
1259
  super(`Invalid \`v\` value "${n}". Expected 27 or 28.`, {
1259
1260
  name: "InvalidLegacyVError"
1260
1261
  });
1261
1262
  }
1262
1263
  }
1263
- class xi extends h {
1264
+ class bi extends h {
1264
1265
  constructor({ transaction: n }) {
1265
1266
  super("Cannot infer a transaction type from provided transaction.", {
1266
1267
  metaMessages: [
1267
1268
  "Provided Transaction:",
1268
1269
  "{",
1269
- $t(n),
1270
+ er(n),
1270
1271
  "}",
1271
1272
  "",
1272
1273
  "To infer the type, either provide:",
@@ -1281,33 +1282,33 @@ class xi extends h {
1281
1282
  });
1282
1283
  }
1283
1284
  }
1284
- class bi extends h {
1285
+ class zi extends h {
1285
1286
  constructor({ storageKey: n }) {
1286
1287
  super(`Size for storage key "${n}" is invalid. Expected 32 bytes. Got ${Math.floor((n.length - 2) / 2)} bytes.`, { name: "InvalidStorageKeySizeError" });
1287
1288
  }
1288
1289
  }
1289
- function zi(e) {
1290
+ function Ii(e) {
1290
1291
  if (!e || e.length === 0)
1291
1292
  return [];
1292
1293
  const n = [];
1293
1294
  for (const t of e) {
1294
1295
  const { chainId: r, nonce: s, ...i } = t, a = t.address;
1295
1296
  n.push([
1296
- r ? Me(r) : "0x",
1297
+ r ? We(r) : "0x",
1297
1298
  a,
1298
- s ? Me(s) : "0x",
1299
+ s ? We(s) : "0x",
1299
1300
  ...Se({}, i)
1300
1301
  ]);
1301
1302
  }
1302
1303
  return n;
1303
1304
  }
1304
- function er(e) {
1305
+ function nr(e) {
1305
1306
  const { kzg: n } = e, t = e.to ?? (typeof e.blobs[0] == "string" ? "hex" : "bytes"), r = typeof e.blobs[0] == "string" ? e.blobs.map((i) => le(i)) : e.blobs, s = [];
1306
1307
  for (const i of r)
1307
1308
  s.push(Uint8Array.from(n.blobToKzgCommitment(i)));
1308
1309
  return t === "bytes" ? s : s.map((i) => ee(i));
1309
1310
  }
1310
- function nr(e) {
1311
+ function tr(e) {
1311
1312
  const { kzg: n } = e, t = e.to ?? (typeof e.blobs[0] == "string" ? "hex" : "bytes"), r = typeof e.blobs[0] == "string" ? e.blobs.map((a) => le(a)) : e.blobs, s = typeof e.commitments[0] == "string" ? e.commitments.map((a) => le(a)) : e.commitments, i = [];
1312
1313
  for (let a = 0; a < r.length; a++) {
1313
1314
  const c = r[a], l = s[a];
@@ -1315,7 +1316,7 @@ function nr(e) {
1315
1316
  }
1316
1317
  return t === "bytes" ? i : i.map((a) => ee(a));
1317
1318
  }
1318
- function Ii(e) {
1319
+ function wi(e) {
1319
1320
  return e instanceof Uint8Array || ArrayBuffer.isView(e) && e.constructor.name === "Uint8Array";
1320
1321
  }
1321
1322
  function lt(e) {
@@ -1323,7 +1324,7 @@ function lt(e) {
1323
1324
  throw new Error("positive integer expected, got " + e);
1324
1325
  }
1325
1326
  function Ve(e, ...n) {
1326
- if (!Ii(e))
1327
+ if (!wi(e))
1327
1328
  throw new Error("Uint8Array expected");
1328
1329
  if (n.length > 0 && !n.includes(e.length))
1329
1330
  throw new Error("Uint8Array expected of length " + n + ", got length=" + e.length);
@@ -1334,13 +1335,13 @@ function $e(e, n = !0) {
1334
1335
  if (n && e.finished)
1335
1336
  throw new Error("Hash#digest() has already been called");
1336
1337
  }
1337
- function tr(e, n) {
1338
+ function rr(e, n) {
1338
1339
  Ve(e);
1339
1340
  const t = n.outputLen;
1340
1341
  if (e.length < t)
1341
1342
  throw new Error("digestInto() expects output buffer of length at least " + t);
1342
1343
  }
1343
- function wi(e) {
1344
+ function Pi(e) {
1344
1345
  return new Uint32Array(e.buffer, e.byteOffset, Math.floor(e.byteLength / 4));
1345
1346
  }
1346
1347
  function Xe(...e) {
@@ -1353,27 +1354,27 @@ function gn(e) {
1353
1354
  function K(e, n) {
1354
1355
  return e << 32 - n | e >>> n;
1355
1356
  }
1356
- const Pi = new Uint8Array(new Uint32Array([287454020]).buffer)[0] === 68;
1357
- function yi(e) {
1357
+ const yi = new Uint8Array(new Uint32Array([287454020]).buffer)[0] === 68;
1358
+ function Bi(e) {
1358
1359
  return e << 24 & 4278190080 | e << 8 & 16711680 | e >>> 8 & 65280 | e >>> 24 & 255;
1359
1360
  }
1360
- function Bi(e) {
1361
+ function hi(e) {
1361
1362
  for (let n = 0; n < e.length; n++)
1362
- e[n] = yi(e[n]);
1363
+ e[n] = Bi(e[n]);
1363
1364
  return e;
1364
1365
  }
1365
- const dt = Pi ? (e) => e : Bi;
1366
- function hi(e) {
1366
+ const dt = yi ? (e) => e : hi;
1367
+ function Wi(e) {
1367
1368
  if (typeof e != "string")
1368
1369
  throw new Error("string expected");
1369
1370
  return new Uint8Array(new TextEncoder().encode(e));
1370
1371
  }
1371
1372
  function Dn(e) {
1372
- return typeof e == "string" && (e = hi(e)), Ve(e), e;
1373
+ return typeof e == "string" && (e = Wi(e)), Ve(e), e;
1373
1374
  }
1374
- class rr {
1375
+ class sr {
1375
1376
  }
1376
- function sr(e) {
1377
+ function ir(e) {
1377
1378
  const n = (r) => e().update(Dn(r)).digest(), t = e();
1378
1379
  return n.outputLen = t.outputLen, n.blockLen = t.blockLen, n.create = () => e(), n;
1379
1380
  }
@@ -1383,13 +1384,13 @@ function Mi(e, n, t, r) {
1383
1384
  const s = BigInt(32), i = BigInt(4294967295), a = Number(t >> s & i), c = Number(t & i), l = r ? 4 : 0, d = r ? 0 : 4;
1384
1385
  e.setUint32(n + l, a, r), e.setUint32(n + d, c, r);
1385
1386
  }
1386
- function Wi(e, n, t) {
1387
+ function Vi(e, n, t) {
1387
1388
  return e & n ^ ~e & t;
1388
1389
  }
1389
- function Vi(e, n, t) {
1390
+ function Xi(e, n, t) {
1390
1391
  return e & n ^ e & t ^ n & t;
1391
1392
  }
1392
- class Xi extends rr {
1393
+ class Ni extends sr {
1393
1394
  constructor(n, t, r, s) {
1394
1395
  super(), this.finished = !1, this.length = 0, this.pos = 0, this.destroyed = !1, this.blockLen = n, this.outputLen = t, this.padOffset = r, this.isLE = s, this.buffer = new Uint8Array(n), this.view = gn(this.buffer);
1395
1396
  }
@@ -1409,7 +1410,7 @@ class Xi extends rr {
1409
1410
  return this.length += n.length, this.roundClean(), this;
1410
1411
  }
1411
1412
  digestInto(n) {
1412
- $e(this), tr(n, this), this.finished = !0;
1413
+ $e(this), rr(n, this), this.finished = !0;
1413
1414
  const { buffer: t, view: r, blockLen: s, isLE: i } = this;
1414
1415
  let { pos: a } = this;
1415
1416
  t[a++] = 128, Xe(this.buffer.subarray(a)), this.padOffset > s - a && (this.process(r, 0), a = 0);
@@ -1450,19 +1451,19 @@ const ne = /* @__PURE__ */ Uint32Array.from([
1450
1451
  528734635,
1451
1452
  1541459225
1452
1453
  ]), Fe = /* @__PURE__ */ BigInt(2 ** 32 - 1), At = /* @__PURE__ */ BigInt(32);
1453
- function Ni(e, n = !1) {
1454
+ function ji(e, n = !1) {
1454
1455
  return n ? { h: Number(e & Fe), l: Number(e >> At & Fe) } : { h: Number(e >> At & Fe) | 0, l: Number(e & Fe) | 0 };
1455
1456
  }
1456
- function ji(e, n = !1) {
1457
+ function Ti(e, n = !1) {
1457
1458
  const t = e.length;
1458
1459
  let r = new Uint32Array(t), s = new Uint32Array(t);
1459
1460
  for (let i = 0; i < t; i++) {
1460
- const { h: a, l: c } = Ni(e[i], n);
1461
+ const { h: a, l: c } = ji(e[i], n);
1461
1462
  [r[i], s[i]] = [a, c];
1462
1463
  }
1463
1464
  return [r, s];
1464
1465
  }
1465
- const Ti = (e, n, t) => e << t | n >>> 32 - t, Ei = (e, n, t) => n << t | e >>> 32 - t, Si = (e, n, t) => n << t - 32 | e >>> 64 - t, Oi = (e, n, t) => e << t - 32 | n >>> 64 - t, ki = /* @__PURE__ */ Uint32Array.from([
1466
+ const Ei = (e, n, t) => e << t | n >>> 32 - t, Si = (e, n, t) => n << t | e >>> 32 - t, Oi = (e, n, t) => n << t - 32 | e >>> 64 - t, Li = (e, n, t) => e << t - 32 | n >>> 64 - t, ki = /* @__PURE__ */ Uint32Array.from([
1466
1467
  1116352408,
1467
1468
  1899447441,
1468
1469
  3049323471,
@@ -1528,7 +1529,7 @@ const Ti = (e, n, t) => e << t | n >>> 32 - t, Ei = (e, n, t) => n << t | e >>>
1528
1529
  3204031479,
1529
1530
  3329325298
1530
1531
  ]), te = /* @__PURE__ */ new Uint32Array(64);
1531
- class Li extends Xi {
1532
+ class Yi extends Ni {
1532
1533
  constructor(n = 32) {
1533
1534
  super(64, n, 8, !1), this.A = ne[0] | 0, this.B = ne[1] | 0, this.C = ne[2] | 0, this.D = ne[3] | 0, this.E = ne[4] | 0, this.F = ne[5] | 0, this.G = ne[6] | 0, this.H = ne[7] | 0;
1534
1535
  }
@@ -1549,7 +1550,7 @@ class Li extends Xi {
1549
1550
  }
1550
1551
  let { A: r, B: s, C: i, D: a, E: c, F: l, G: d, H: f } = this;
1551
1552
  for (let A = 0; A < 64; A++) {
1552
- const u = K(c, 6) ^ K(c, 11) ^ K(c, 25), v = f + u + Wi(c, l, d) + ki[A] + te[A] | 0, g = (K(r, 2) ^ K(r, 13) ^ K(r, 22)) + Vi(r, s, i) | 0;
1553
+ const u = K(c, 6) ^ K(c, 11) ^ K(c, 25), v = f + u + Vi(c, l, d) + ki[A] + te[A] | 0, g = (K(r, 2) ^ K(r, 13) ^ K(r, 22)) + Xi(r, s, i) | 0;
1553
1554
  f = d, d = l, l = c, c = a + v | 0, a = i, i = s, s = r, r = v + g | 0;
1554
1555
  }
1555
1556
  r = r + this.A | 0, s = s + this.B | 0, i = i + this.C | 0, a = a + this.D | 0, c = c + this.E | 0, l = l + this.F | 0, d = d + this.G | 0, f = f + this.H | 0, this.set(r, s, i, a, c, l, d, f);
@@ -1561,28 +1562,28 @@ class Li extends Xi {
1561
1562
  this.set(0, 0, 0, 0, 0, 0, 0, 0), Xe(this.buffer);
1562
1563
  }
1563
1564
  }
1564
- const Yi = /* @__PURE__ */ sr(() => new Li()), Zi = Yi;
1565
- function Ji(e, n) {
1566
- return Zi(Te(e, { strict: !1 }) ? Qt(e) : e);
1565
+ const Zi = /* @__PURE__ */ ir(() => new Yi()), Ji = Zi;
1566
+ function Di(e, n) {
1567
+ return Ji(Te(e, { strict: !1 }) ? Kt(e) : e);
1567
1568
  }
1568
- function Di(e) {
1569
- const { commitment: n, version: t = 1 } = e, r = e.to ?? (typeof n == "string" ? "hex" : "bytes"), s = Ji(n);
1569
+ function Fi(e) {
1570
+ const { commitment: n, version: t = 1 } = e, r = e.to ?? (typeof n == "string" ? "hex" : "bytes"), s = Di(n);
1570
1571
  return s.set([t], 0), r === "bytes" ? s : ee(s);
1571
1572
  }
1572
- function Fi(e) {
1573
+ function Hi(e) {
1573
1574
  const { commitments: n, version: t } = e, r = e.to ?? (typeof n[0] == "string" ? "hex" : "bytes"), s = [];
1574
1575
  for (const i of n)
1575
- s.push(Di({
1576
+ s.push(Fi({
1576
1577
  commitment: i,
1577
1578
  to: r,
1578
1579
  version: t
1579
1580
  }));
1580
1581
  return s;
1581
1582
  }
1582
- const ft = 6, ir = 32, Fn = 4096, or = ir * Fn, ut = or * ft - // terminator byte (0x80).
1583
+ const ft = 6, or = 32, Fn = 4096, cr = or * Fn, ut = cr * ft - // terminator byte (0x80).
1583
1584
  1 - // zero byte (0x00) appended to each field element.
1584
- 1 * Fn * ft, cr = 1;
1585
- class Hi extends h {
1585
+ 1 * Fn * ft, ar = 1;
1586
+ class Qi extends h {
1586
1587
  constructor({ maxSize: n, size: t }) {
1587
1588
  super("Blob size is too large.", {
1588
1589
  metaMessages: [`Max: ${n} bytes`, `Given: ${t} bytes`],
@@ -1590,12 +1591,12 @@ class Hi extends h {
1590
1591
  });
1591
1592
  }
1592
1593
  }
1593
- class ar extends h {
1594
+ class lr extends h {
1594
1595
  constructor() {
1595
1596
  super("Blob data must not be empty.", { name: "EmptyBlobError" });
1596
1597
  }
1597
1598
  }
1598
- class Qi extends h {
1599
+ class Ki extends h {
1599
1600
  constructor({ hash: n, size: t }) {
1600
1601
  super(`Versioned hash "${n}" size is invalid.`, {
1601
1602
  metaMessages: ["Expected: 32", `Received: ${t}`],
@@ -1603,33 +1604,33 @@ class Qi extends h {
1603
1604
  });
1604
1605
  }
1605
1606
  }
1606
- class Ki extends h {
1607
+ class qi extends h {
1607
1608
  constructor({ hash: n, version: t }) {
1608
1609
  super(`Versioned hash "${n}" version is invalid.`, {
1609
1610
  metaMessages: [
1610
- `Expected: ${cr}`,
1611
+ `Expected: ${ar}`,
1611
1612
  `Received: ${t}`
1612
1613
  ],
1613
1614
  name: "InvalidVersionedHashVersionError"
1614
1615
  });
1615
1616
  }
1616
1617
  }
1617
- function qi(e) {
1618
+ function Ui(e) {
1618
1619
  const n = e.to ?? (typeof e.data == "string" ? "hex" : "bytes"), t = typeof e.data == "string" ? le(e.data) : e.data, r = be(t);
1619
1620
  if (!r)
1620
- throw new ar();
1621
+ throw new lr();
1621
1622
  if (r > ut)
1622
- throw new Hi({
1623
+ throw new Qi({
1623
1624
  maxSize: ut,
1624
1625
  size: r
1625
1626
  });
1626
1627
  const s = [];
1627
1628
  let i = !0, a = 0;
1628
1629
  for (; i; ) {
1629
- const c = Ut(new Uint8Array(or));
1630
+ const c = Gt(new Uint8Array(cr));
1630
1631
  let l = 0;
1631
1632
  for (; l < Fn; ) {
1632
- const d = t.slice(a, a + (ir - 1));
1633
+ const d = t.slice(a, a + (or - 1));
1633
1634
  if (c.pushByte(0), c.pushBytes(d), d.length < 31) {
1634
1635
  c.pushByte(128), i = !1;
1635
1636
  break;
@@ -1640,8 +1641,8 @@ function qi(e) {
1640
1641
  }
1641
1642
  return n === "bytes" ? s.map((c) => c.bytes) : s.map((c) => ee(c.bytes));
1642
1643
  }
1643
- function Ui(e) {
1644
- const { data: n, kzg: t, to: r } = e, s = e.blobs ?? qi({ data: n, to: r }), i = e.commitments ?? er({ blobs: s, kzg: t, to: r }), a = e.proofs ?? nr({ blobs: s, commitments: i, kzg: t, to: r }), c = [];
1644
+ function Gi(e) {
1645
+ const { data: n, kzg: t, to: r } = e, s = e.blobs ?? Ui({ data: n, to: r }), i = e.commitments ?? nr({ blobs: s, kzg: t, to: r }), a = e.proofs ?? tr({ blobs: s, commitments: i, kzg: t, to: r }), c = [];
1645
1646
  for (let l = 0; l < s.length; l++)
1646
1647
  c.push({
1647
1648
  blob: s[l],
@@ -1793,7 +1794,7 @@ Object.defineProperty(hn, "nodeMessage", {
1793
1794
  writable: !0,
1794
1795
  value: /intrinsic gas too high|gas limit reached/
1795
1796
  });
1796
- class Mn extends h {
1797
+ class Wn extends h {
1797
1798
  constructor({ cause: n, gas: t } = {}) {
1798
1799
  super(`The amount of gas ${t ? `(${t}) ` : ""}provided for the transaction is too low.`, {
1799
1800
  cause: n,
@@ -1801,13 +1802,13 @@ class Mn extends h {
1801
1802
  });
1802
1803
  }
1803
1804
  }
1804
- Object.defineProperty(Mn, "nodeMessage", {
1805
+ Object.defineProperty(Wn, "nodeMessage", {
1805
1806
  enumerable: !0,
1806
1807
  configurable: !0,
1807
1808
  writable: !0,
1808
1809
  value: /intrinsic gas too low/
1809
1810
  });
1810
- class Wn extends h {
1811
+ class Mn extends h {
1811
1812
  constructor({ cause: n }) {
1812
1813
  super("The transaction type is not supported for this chain.", {
1813
1814
  cause: n,
@@ -1815,7 +1816,7 @@ class Wn extends h {
1815
1816
  });
1816
1817
  }
1817
1818
  }
1818
- Object.defineProperty(Wn, "nodeMessage", {
1819
+ Object.defineProperty(Mn, "nodeMessage", {
1819
1820
  enumerable: !0,
1820
1821
  configurable: !0,
1821
1822
  writable: !0,
@@ -1838,7 +1839,7 @@ Object.defineProperty(Ne, "nodeMessage", {
1838
1839
  writable: !0,
1839
1840
  value: /max priority fee per gas higher than max fee per gas|tip higher than fee cap/
1840
1841
  });
1841
- class lr extends h {
1842
+ class dr extends h {
1842
1843
  constructor({ cause: n }) {
1843
1844
  super(`An error occurred while executing: ${n?.shortMessage}`, {
1844
1845
  cause: n,
@@ -1846,7 +1847,7 @@ class lr extends h {
1846
1847
  });
1847
1848
  }
1848
1849
  }
1849
- class dr extends Map {
1850
+ class Ar extends Map {
1850
1851
  constructor(n) {
1851
1852
  super(), Object.defineProperty(this, "maxSize", {
1852
1853
  enumerable: !0,
@@ -1867,16 +1868,16 @@ class dr extends Map {
1867
1868
  return this;
1868
1869
  }
1869
1870
  }
1870
- const Gi = BigInt(0), ye = BigInt(1), Ri = BigInt(2), _i = BigInt(7), $i = BigInt(256), eo = BigInt(113), Ar = [], fr = [], ur = [];
1871
+ const Ri = BigInt(0), ye = BigInt(1), _i = BigInt(2), $i = BigInt(7), eo = BigInt(256), no = BigInt(113), fr = [], ur = [], gr = [];
1871
1872
  for (let e = 0, n = ye, t = 1, r = 0; e < 24; e++) {
1872
- [t, r] = [r, (2 * t + 3 * r) % 5], Ar.push(2 * (5 * r + t)), fr.push((e + 1) * (e + 2) / 2 % 64);
1873
- let s = Gi;
1873
+ [t, r] = [r, (2 * t + 3 * r) % 5], fr.push(2 * (5 * r + t)), ur.push((e + 1) * (e + 2) / 2 % 64);
1874
+ let s = Ri;
1874
1875
  for (let i = 0; i < 7; i++)
1875
- n = (n << ye ^ (n >> _i) * eo) % $i, n & Ri && (s ^= ye << (ye << /* @__PURE__ */ BigInt(i)) - ye);
1876
- ur.push(s);
1876
+ n = (n << ye ^ (n >> $i) * no) % eo, n & _i && (s ^= ye << (ye << /* @__PURE__ */ BigInt(i)) - ye);
1877
+ gr.push(s);
1877
1878
  }
1878
- const gr = ji(ur, !0), no = gr[0], to = gr[1], gt = (e, n, t) => t > 32 ? Si(e, n, t) : Ti(e, n, t), vt = (e, n, t) => t > 32 ? Oi(e, n, t) : Ei(e, n, t);
1879
- function ro(e, n = 24) {
1879
+ const vr = Ti(gr, !0), to = vr[0], ro = vr[1], gt = (e, n, t) => t > 32 ? Oi(e, n, t) : Ei(e, n, t), vt = (e, n, t) => t > 32 ? Li(e, n, t) : Si(e, n, t);
1880
+ function so(e, n = 24) {
1880
1881
  const t = new Uint32Array(10);
1881
1882
  for (let r = 24 - n; r < 24; r++) {
1882
1883
  for (let a = 0; a < 10; a++)
@@ -1888,7 +1889,7 @@ function ro(e, n = 24) {
1888
1889
  }
1889
1890
  let s = e[2], i = e[3];
1890
1891
  for (let a = 0; a < 24; a++) {
1891
- const c = fr[a], l = gt(s, i, c), d = vt(s, i, c), f = Ar[a];
1892
+ const c = ur[a], l = gt(s, i, c), d = vt(s, i, c), f = fr[a];
1892
1893
  s = e[f], i = e[f + 1], e[f] = l, e[f + 1] = d;
1893
1894
  }
1894
1895
  for (let a = 0; a < 50; a += 10) {
@@ -1897,22 +1898,22 @@ function ro(e, n = 24) {
1897
1898
  for (let c = 0; c < 10; c++)
1898
1899
  e[a + c] ^= ~t[(c + 2) % 10] & t[(c + 4) % 10];
1899
1900
  }
1900
- e[0] ^= no[r], e[1] ^= to[r];
1901
+ e[0] ^= to[r], e[1] ^= ro[r];
1901
1902
  }
1902
1903
  Xe(t);
1903
1904
  }
1904
- class Hn extends rr {
1905
+ class Hn extends sr {
1905
1906
  // NOTE: we accept arguments in bytes instead of bits here.
1906
1907
  constructor(n, t, r, s = !1, i = 24) {
1907
1908
  if (super(), this.pos = 0, this.posOut = 0, this.finished = !1, this.destroyed = !1, this.enableXOF = !1, this.blockLen = n, this.suffix = t, this.outputLen = r, this.enableXOF = s, this.rounds = i, lt(r), !(0 < n && n < 200))
1908
1909
  throw new Error("only keccak-f1600 function is supported");
1909
- this.state = new Uint8Array(200), this.state32 = wi(this.state);
1910
+ this.state = new Uint8Array(200), this.state32 = Pi(this.state);
1910
1911
  }
1911
1912
  clone() {
1912
1913
  return this._cloneInto();
1913
1914
  }
1914
1915
  keccak() {
1915
- dt(this.state32), ro(this.state32, this.rounds), dt(this.state32), this.posOut = 0, this.pos = 0;
1916
+ dt(this.state32), so(this.state32, this.rounds), dt(this.state32), this.posOut = 0, this.pos = 0;
1916
1917
  }
1917
1918
  update(n) {
1918
1919
  $e(this), n = Dn(n), Ve(n);
@@ -1951,7 +1952,7 @@ class Hn extends rr {
1951
1952
  return lt(n), this.xofInto(new Uint8Array(n));
1952
1953
  }
1953
1954
  digestInto(n) {
1954
- if (tr(n, this), this.finished)
1955
+ if (rr(n, this), this.finished)
1955
1956
  throw new Error("digest() was already called");
1956
1957
  return this.writeInto(n), this.destroy(), n;
1957
1958
  }
@@ -1966,52 +1967,52 @@ class Hn extends rr {
1966
1967
  return n || (n = new Hn(t, r, s, a, i)), n.state32.set(this.state32), n.pos = this.pos, n.posOut = this.posOut, n.finished = this.finished, n.rounds = i, n.suffix = r, n.outputLen = s, n.enableXOF = a, n.destroyed = this.destroyed, n;
1967
1968
  }
1968
1969
  }
1969
- const so = (e, n, t) => sr(() => new Hn(n, e, t)), io = so(1, 136, 256 / 8);
1970
- function oo(e, n) {
1971
- return io(Te(e, { strict: !1 }) ? Qt(e) : e);
1972
- }
1973
- const vn = /* @__PURE__ */ new dr(8192);
1970
+ const io = (e, n, t) => ir(() => new Hn(n, e, t)), oo = io(1, 136, 256 / 8);
1974
1971
  function co(e, n) {
1972
+ return oo(Te(e, { strict: !1 }) ? Kt(e) : e);
1973
+ }
1974
+ const vn = /* @__PURE__ */ new Ar(8192);
1975
+ function ao(e, n) {
1975
1976
  if (vn.has(`${e}.${n}`))
1976
1977
  return vn.get(`${e}.${n}`);
1977
- const t = e.substring(2).toLowerCase(), r = oo(Kt(t)), s = t.split("");
1978
+ const t = e.substring(2).toLowerCase(), r = co(qt(t)), s = t.split("");
1978
1979
  for (let a = 0; a < 40; a += 2)
1979
1980
  r[a >> 1] >> 4 >= 8 && s[a] && (s[a] = s[a].toUpperCase()), (r[a >> 1] & 15) >= 8 && s[a + 1] && (s[a + 1] = s[a + 1].toUpperCase());
1980
1981
  const i = `0x${s.join("")}`;
1981
1982
  return vn.set(`${e}.${n}`, i), i;
1982
1983
  }
1983
- const ao = /^0x[a-fA-F0-9]{40}$/, mn = /* @__PURE__ */ new dr(8192);
1984
+ const lo = /^0x[a-fA-F0-9]{40}$/, mn = /* @__PURE__ */ new Ar(8192);
1984
1985
  function $(e, n) {
1985
1986
  const { strict: t = !0 } = n ?? {}, r = `${e}.${t}`;
1986
1987
  if (mn.has(r))
1987
1988
  return mn.get(r);
1988
- const s = ao.test(e) ? e.toLowerCase() === e ? !0 : t ? co(e) === e : !0 : !1;
1989
+ const s = lo.test(e) ? e.toLowerCase() === e ? !0 : t ? ao(e) === e : !0 : !1;
1989
1990
  return mn.set(r, s), s;
1990
1991
  }
1991
- function lo(e, n, t, { strict: r } = {}) {
1992
- return Te(e, { strict: !1 }) ? fo(e, n, t, {
1992
+ function Ao(e, n, t, { strict: r } = {}) {
1993
+ return Te(e, { strict: !1 }) ? uo(e, n, t, {
1993
1994
  strict: r
1994
- }) : Ao(e, n, t, {
1995
+ }) : fo(e, n, t, {
1995
1996
  strict: r
1996
1997
  });
1997
1998
  }
1998
- function vr(e, n, t) {
1999
+ function mr(e, n, t) {
1999
2000
  if (be(e) !== t - n)
2000
- throw new Js({
2001
+ throw new Ds({
2001
2002
  offset: t,
2002
2003
  position: "end",
2003
2004
  size: be(e)
2004
2005
  });
2005
2006
  }
2006
- function Ao(e, n, t, { strict: r } = {}) {
2007
+ function fo(e, n, t, { strict: r } = {}) {
2007
2008
  const s = e.slice(n, t);
2008
- return r && vr(s, n, t), s;
2009
+ return r && mr(s, n, t), s;
2009
2010
  }
2010
- function fo(e, n, t, { strict: r } = {}) {
2011
+ function uo(e, n, t, { strict: r } = {}) {
2011
2012
  const s = `0x${e.replace("0x", "").slice(n * 2, t * 2)}`;
2012
- return r && vr(s, n, t), s;
2013
+ return r && mr(s, n, t), s;
2013
2014
  }
2014
- function uo(e) {
2015
+ function go(e) {
2015
2016
  const { authorizationList: n } = e;
2016
2017
  if (n)
2017
2018
  for (const t of n) {
@@ -2023,17 +2024,17 @@ function uo(e) {
2023
2024
  }
2024
2025
  Qn(e);
2025
2026
  }
2026
- function go(e) {
2027
+ function vo(e) {
2027
2028
  const { blobVersionedHashes: n } = e;
2028
2029
  if (n) {
2029
2030
  if (n.length === 0)
2030
- throw new ar();
2031
+ throw new lr();
2031
2032
  for (const t of n) {
2032
- const r = be(t), s = _e(lo(t, 0, 1));
2033
+ const r = be(t), s = _e(Ao(t, 0, 1));
2033
2034
  if (r !== 32)
2034
- throw new Qi({ hash: t, size: r });
2035
- if (s !== cr)
2036
- throw new Ki({
2035
+ throw new Ki({ hash: t, size: r });
2036
+ if (s !== ar)
2037
+ throw new qi({
2037
2038
  hash: t,
2038
2039
  version: s
2039
2040
  });
@@ -2052,7 +2053,7 @@ function Qn(e) {
2052
2053
  if (t && r && t > r)
2053
2054
  throw new Ne({ maxFeePerGas: r, maxPriorityFeePerGas: t });
2054
2055
  }
2055
- function vo(e) {
2056
+ function mo(e) {
2056
2057
  const { chainId: n, maxPriorityFeePerGas: t, gasPrice: r, maxFeePerGas: s, to: i } = e;
2057
2058
  if (n <= 0)
2058
2059
  throw new on({ chainId: n });
@@ -2063,7 +2064,7 @@ function vo(e) {
2063
2064
  if (r && r > sn)
2064
2065
  throw new Ae({ maxFeePerGas: r });
2065
2066
  }
2066
- function mo(e) {
2067
+ function po(e) {
2067
2068
  const { chainId: n, maxPriorityFeePerGas: t, gasPrice: r, maxFeePerGas: s, to: i } = e;
2068
2069
  if (i && !$(i))
2069
2070
  throw new _({ address: i });
@@ -2074,7 +2075,7 @@ function mo(e) {
2074
2075
  if (r && r > sn)
2075
2076
  throw new Ae({ maxFeePerGas: r });
2076
2077
  }
2077
- function po(e) {
2078
+ function Co(e) {
2078
2079
  if (e.type)
2079
2080
  return e.type;
2080
2081
  if (typeof e.authorizationList < "u")
@@ -2085,7 +2086,7 @@ function po(e) {
2085
2086
  return "eip1559";
2086
2087
  if (typeof e.gasPrice < "u")
2087
2088
  return typeof e.accessList < "u" ? "eip2930" : "legacy";
2088
- throw new xi({ transaction: e });
2089
+ throw new bi({ transaction: e });
2089
2090
  }
2090
2091
  function cn(e) {
2091
2092
  if (!e || e.length === 0)
@@ -2095,21 +2096,21 @@ function cn(e) {
2095
2096
  const { address: r, storageKeys: s } = e[t];
2096
2097
  for (let i = 0; i < s.length; i++)
2097
2098
  if (s[i].length - 2 !== 64)
2098
- throw new bi({ storageKey: s[i] });
2099
+ throw new zi({ storageKey: s[i] });
2099
2100
  if (!$(r, { strict: !1 }))
2100
2101
  throw new _({ address: r });
2101
2102
  n.push([r, s]);
2102
2103
  }
2103
2104
  return n;
2104
2105
  }
2105
- function Co(e, n) {
2106
- const t = po(e);
2107
- return t === "eip1559" ? zo(e, n) : t === "eip2930" ? Io(e, n) : t === "eip4844" ? bo(e, n) : t === "eip7702" ? xo(e, n) : wo(e, n);
2108
- }
2109
2106
  function xo(e, n) {
2107
+ const t = Co(e);
2108
+ return t === "eip1559" ? Io(e, n) : t === "eip2930" ? wo(e, n) : t === "eip4844" ? zo(e, n) : t === "eip7702" ? bo(e, n) : Po(e, n);
2109
+ }
2110
+ function bo(e, n) {
2110
2111
  const { authorizationList: t, chainId: r, gas: s, nonce: i, to: a, value: c, maxFeePerGas: l, maxPriorityFeePerGas: d, accessList: f, data: A } = e;
2111
- uo(e);
2112
- const u = cn(f), v = zi(t);
2112
+ go(e);
2113
+ const u = cn(f), v = Ii(t);
2113
2114
  return Ee([
2114
2115
  "0x04",
2115
2116
  de([
@@ -2127,20 +2128,20 @@ function xo(e, n) {
2127
2128
  ])
2128
2129
  ]);
2129
2130
  }
2130
- function bo(e, n) {
2131
+ function zo(e, n) {
2131
2132
  const { chainId: t, gas: r, nonce: s, to: i, value: a, maxFeePerBlobGas: c, maxFeePerGas: l, maxPriorityFeePerGas: d, accessList: f, data: A } = e;
2132
- go(e);
2133
+ vo(e);
2133
2134
  let u = e.blobVersionedHashes, v = e.sidecars;
2134
2135
  if (e.blobs && (typeof u > "u" || typeof v > "u")) {
2135
- const w = typeof e.blobs[0] == "string" ? e.blobs : e.blobs.map((z) => ee(z)), L = e.kzg, b = er({
2136
+ const w = typeof e.blobs[0] == "string" ? e.blobs : e.blobs.map((z) => ee(z)), k = e.kzg, b = nr({
2136
2137
  blobs: w,
2137
- kzg: L
2138
+ kzg: k
2138
2139
  });
2139
- if (typeof u > "u" && (u = Fi({
2140
+ if (typeof u > "u" && (u = Hi({
2140
2141
  commitments: b
2141
2142
  })), typeof v > "u") {
2142
- const z = nr({ blobs: w, commitments: b, kzg: L });
2143
- v = Ui({ blobs: w, commitments: b, proofs: z });
2143
+ const z = tr({ blobs: w, commitments: b, kzg: k });
2144
+ v = Gi({ blobs: w, commitments: b, proofs: z });
2144
2145
  }
2145
2146
  }
2146
2147
  const m = cn(f), g = [
@@ -2159,8 +2160,8 @@ function bo(e, n) {
2159
2160
  ], p = [], I = [], x = [];
2160
2161
  if (v)
2161
2162
  for (let w = 0; w < v.length; w++) {
2162
- const { blob: L, commitment: b, proof: z } = v[w];
2163
- p.push(L), I.push(b), x.push(z);
2163
+ const { blob: k, commitment: b, proof: z } = v[w];
2164
+ p.push(k), I.push(b), x.push(z);
2164
2165
  }
2165
2166
  return Ee([
2166
2167
  "0x03",
@@ -2168,7 +2169,7 @@ function bo(e, n) {
2168
2169
  de(v ? [g, p, I, x] : g)
2169
2170
  ]);
2170
2171
  }
2171
- function zo(e, n) {
2172
+ function Io(e, n) {
2172
2173
  const { chainId: t, gas: r, nonce: s, to: i, value: a, maxFeePerGas: c, maxPriorityFeePerGas: l, accessList: d, data: f } = e;
2173
2174
  Qn(e);
2174
2175
  const A = cn(d), u = [
@@ -2188,9 +2189,9 @@ function zo(e, n) {
2188
2189
  de(u)
2189
2190
  ]);
2190
2191
  }
2191
- function Io(e, n) {
2192
+ function wo(e, n) {
2192
2193
  const { chainId: t, gas: r, data: s, nonce: i, to: a, value: c, accessList: l, gasPrice: d } = e;
2193
- vo(e);
2194
+ mo(e);
2194
2195
  const f = cn(l), A = [
2195
2196
  P(t),
2196
2197
  i ? P(i) : "0x",
@@ -2207,9 +2208,9 @@ function Io(e, n) {
2207
2208
  de(A)
2208
2209
  ]);
2209
2210
  }
2210
- function wo(e, n) {
2211
+ function Po(e, n) {
2211
2212
  const { chainId: t = 0, gas: r, data: s, nonce: i, to: a, value: c, gasPrice: l } = e;
2212
- mo(e);
2213
+ po(e);
2213
2214
  let d = [
2214
2215
  i ? P(i) : "0x",
2215
2216
  l ? P(l) : "0x",
@@ -2226,7 +2227,7 @@ function wo(e, n) {
2226
2227
  return BigInt(t * 2) + BigInt(35n + n.v - 27n);
2227
2228
  const v = 27n + (n.v === 27n ? 0n : 1n);
2228
2229
  if (n.v !== v)
2229
- throw new Ci({ v: n.v });
2230
+ throw new xi({ v: n.v });
2230
2231
  return v;
2231
2232
  })(), A = Re(n.r), u = Re(n.s);
2232
2233
  d = [
@@ -2254,7 +2255,7 @@ function Se(e, n) {
2254
2255
  const i = Re(t.r), a = Re(t.s);
2255
2256
  return [typeof s == "number" ? s ? P(1) : "0x" : r === 0n ? "0x" : r === 1n ? P(1) : r === 27n ? "0x" : P(1), i === "0x00" ? "0x" : i, a === "0x00" ? "0x" : a];
2256
2257
  }
2257
- const Po = {
2258
+ const yo = {
2258
2259
  gasPriceOracle: { address: "0x420000000000000000000000000000000000000F" },
2259
2260
  l1Block: { address: "0x4200000000000000000000000000000000000015" },
2260
2261
  l2CrossDomainMessenger: {
@@ -2265,8 +2266,8 @@ const Po = {
2265
2266
  l2ToL1MessagePasser: {
2266
2267
  address: "0x4200000000000000000000000000000000000016"
2267
2268
  }
2268
- }, yo = {
2269
- block: /* @__PURE__ */ ni({
2269
+ }, Bo = {
2270
+ block: /* @__PURE__ */ ti({
2270
2271
  format(e) {
2271
2272
  return {
2272
2273
  transactions: e.transactions?.map((t) => {
@@ -2279,13 +2280,13 @@ const Po = {
2279
2280
  };
2280
2281
  }
2281
2282
  }),
2282
- transaction: /* @__PURE__ */ _s({
2283
+ transaction: /* @__PURE__ */ $s({
2283
2284
  format(e) {
2284
2285
  const n = {};
2285
2286
  return e.type === "0x7e" && (n.isSystemTx = e.isSystemTx, n.mint = e.mint ? me(e.mint) : void 0, n.sourceHash = e.sourceHash, n.type = "deposit"), n;
2286
2287
  }
2287
2288
  }),
2288
- transactionReceipt: /* @__PURE__ */ ii({
2289
+ transactionReceipt: /* @__PURE__ */ oi({
2289
2290
  format(e) {
2290
2291
  return {
2291
2292
  l1GasPrice: e.l1GasPrice ? me(e.l1GasPrice) : null,
@@ -2296,21 +2297,21 @@ const Po = {
2296
2297
  }
2297
2298
  })
2298
2299
  };
2299
- function Bo(e, n) {
2300
- return Wo(e) ? Mo(e) : Co(e, n);
2300
+ function ho(e, n) {
2301
+ return Vo(e) ? Mo(e) : xo(e, n);
2301
2302
  }
2302
- const ho = {
2303
- transaction: Bo
2303
+ const Wo = {
2304
+ transaction: ho
2304
2305
  };
2305
2306
  function Mo(e) {
2306
- Vo(e);
2307
+ Xo(e);
2307
2308
  const { sourceHash: n, data: t, from: r, gas: s, isSystemTx: i, mint: a, to: c, value: l } = e, d = [
2308
2309
  n,
2309
2310
  r,
2310
2311
  c ?? "0x",
2311
- a ? Me(a) : "0x",
2312
- l ? Me(l) : "0x",
2313
- s ? Me(s) : "0x",
2312
+ a ? We(a) : "0x",
2313
+ l ? We(l) : "0x",
2314
+ s ? We(s) : "0x",
2314
2315
  i ? "0x1" : "0x",
2315
2316
  t ?? "0x"
2316
2317
  ];
@@ -2319,10 +2320,10 @@ function Mo(e) {
2319
2320
  de(d)
2320
2321
  ]);
2321
2322
  }
2322
- function Wo(e) {
2323
+ function Vo(e) {
2323
2324
  return e.type === "deposit" || typeof e.sourceHash < "u";
2324
2325
  }
2325
- function Vo(e) {
2326
+ function Xo(e) {
2326
2327
  const { from: n, to: t } = e;
2327
2328
  if (n && !$(n))
2328
2329
  throw new _({ address: n });
@@ -2331,10 +2332,10 @@ function Vo(e) {
2331
2332
  }
2332
2333
  const en = {
2333
2334
  blockTime: 2e3,
2334
- contracts: Po,
2335
- formatters: yo,
2336
- serializers: ho
2337
- }, mr = /* @__PURE__ */ se({
2335
+ contracts: yo,
2336
+ formatters: Bo,
2337
+ serializers: Wo
2338
+ }, pr = /* @__PURE__ */ se({
2338
2339
  id: 42161,
2339
2340
  name: "Arbitrum One",
2340
2341
  nativeCurrency: { name: "Ether", symbol: "ETH", decimals: 18 },
@@ -2408,7 +2409,7 @@ const en = {
2408
2409
  ({
2409
2410
  ...Kn
2410
2411
  });
2411
- const pr = /* @__PURE__ */ se({
2412
+ const Cr = /* @__PURE__ */ se({
2412
2413
  id: 56,
2413
2414
  name: "BNB Smart Chain",
2414
2415
  blockTime: 750,
@@ -2437,7 +2438,7 @@ const pr = /* @__PURE__ */ se({
2437
2438
  function qn(e) {
2438
2439
  return typeof e == "string" ? { address: e, type: "json-rpc" } : e;
2439
2440
  }
2440
- class Xo extends h {
2441
+ class No extends h {
2441
2442
  constructor({ docsPath: n } = {}) {
2442
2443
  super([
2443
2444
  "Could not find an Account to execute with this Action.",
@@ -2454,7 +2455,7 @@ function mt(e) {
2454
2455
  return e.reduce((n, { slot: t, value: r }) => `${n} ${t}: ${r}
2455
2456
  `, "");
2456
2457
  }
2457
- function No(e) {
2458
+ function jo(e) {
2458
2459
  return e.reduce((n, { address: t, ...r }) => {
2459
2460
  let s = `${n} ${t}:
2460
2461
  `;
@@ -2467,13 +2468,13 @@ function No(e) {
2467
2468
  }, ` State Override:
2468
2469
  `).slice(0, -1);
2469
2470
  }
2470
- class jo extends h {
2471
+ class To extends h {
2471
2472
  constructor(n, { account: t, docsPath: r, chain: s, data: i, gas: a, gasPrice: c, maxFeePerGas: l, maxPriorityFeePerGas: d, nonce: f, to: A, value: u, stateOverride: v }) {
2472
2473
  const m = t ? qn(t) : void 0;
2473
- let g = $t({
2474
+ let g = er({
2474
2475
  from: m?.address,
2475
2476
  to: A,
2476
- value: typeof u < "u" && `${mi(u)} ${s?.nativeCurrency?.symbol || "ETH"}`,
2477
+ value: typeof u < "u" && `${pi(u)} ${s?.nativeCurrency?.symbol || "ETH"}`,
2477
2478
  data: i,
2478
2479
  gas: a,
2479
2480
  gasPrice: typeof c < "u" && `${oe(c)} gwei`,
@@ -2482,7 +2483,7 @@ class jo extends h {
2482
2483
  nonce: f
2483
2484
  });
2484
2485
  v && (g += `
2485
- ${No(v)}`), super(n.shortMessage, {
2486
+ ${jo(v)}`), super(n.shortMessage, {
2486
2487
  cause: n,
2487
2488
  docsPath: r,
2488
2489
  metaMessages: [
@@ -2499,7 +2500,7 @@ ${No(v)}`), super(n.shortMessage, {
2499
2500
  }), this.cause = n;
2500
2501
  }
2501
2502
  }
2502
- function To(e, n) {
2503
+ function Eo(e, n) {
2503
2504
  const t = (e.details || "").toLowerCase(), r = e instanceof h ? e.walk((s) => s?.code === pe.code) : e;
2504
2505
  return r instanceof h ? new pe({
2505
2506
  cause: e,
@@ -2513,25 +2514,25 @@ function To(e, n) {
2513
2514
  }) : In.nodeMessage.test(t) ? new In({
2514
2515
  cause: e,
2515
2516
  maxFeePerGas: n?.maxFeePerGas
2516
- }) : wn.nodeMessage.test(t) ? new wn({ cause: e, nonce: n?.nonce }) : Pn.nodeMessage.test(t) ? new Pn({ cause: e, nonce: n?.nonce }) : yn.nodeMessage.test(t) ? new yn({ cause: e, nonce: n?.nonce }) : Bn.nodeMessage.test(t) ? new Bn({ cause: e }) : hn.nodeMessage.test(t) ? new hn({ cause: e, gas: n?.gas }) : Mn.nodeMessage.test(t) ? new Mn({ cause: e, gas: n?.gas }) : Wn.nodeMessage.test(t) ? new Wn({ cause: e }) : Ne.nodeMessage.test(t) ? new Ne({
2517
+ }) : wn.nodeMessage.test(t) ? new wn({ cause: e, nonce: n?.nonce }) : Pn.nodeMessage.test(t) ? new Pn({ cause: e, nonce: n?.nonce }) : yn.nodeMessage.test(t) ? new yn({ cause: e, nonce: n?.nonce }) : Bn.nodeMessage.test(t) ? new Bn({ cause: e }) : hn.nodeMessage.test(t) ? new hn({ cause: e, gas: n?.gas }) : Wn.nodeMessage.test(t) ? new Wn({ cause: e, gas: n?.gas }) : Mn.nodeMessage.test(t) ? new Mn({ cause: e }) : Ne.nodeMessage.test(t) ? new Ne({
2517
2518
  cause: e,
2518
2519
  maxFeePerGas: n?.maxFeePerGas,
2519
2520
  maxPriorityFeePerGas: n?.maxPriorityFeePerGas
2520
- }) : new lr({
2521
+ }) : new dr({
2521
2522
  cause: e
2522
2523
  });
2523
2524
  }
2524
- function Eo(e, { docsPath: n, ...t }) {
2525
+ function So(e, { docsPath: n, ...t }) {
2525
2526
  const r = (() => {
2526
- const s = To(e, t);
2527
- return s instanceof lr ? e : s;
2527
+ const s = Eo(e, t);
2528
+ return s instanceof dr ? e : s;
2528
2529
  })();
2529
- return new jo(r, {
2530
+ return new To(r, {
2530
2531
  docsPath: n,
2531
2532
  ...t
2532
2533
  });
2533
2534
  }
2534
- function So(e, { format: n }) {
2535
+ function Oo(e, { format: n }) {
2535
2536
  if (!n)
2536
2537
  return {};
2537
2538
  const t = {};
@@ -2543,14 +2544,14 @@ function So(e, { format: n }) {
2543
2544
  const s = n(e || {});
2544
2545
  return r(s), t;
2545
2546
  }
2546
- function Oo(e) {
2547
+ function Lo(e) {
2547
2548
  const { account: n, gasPrice: t, maxFeePerGas: r, maxPriorityFeePerGas: s, to: i } = e, a = n ? qn(n) : void 0;
2548
2549
  if (a && !$(a.address))
2549
2550
  throw new _({ address: a.address });
2550
2551
  if (i && !$(i))
2551
2552
  throw new _({ address: i });
2552
2553
  if (typeof t < "u" && (typeof r < "u" || typeof s < "u"))
2553
- throw new pi();
2554
+ throw new Ci();
2554
2555
  if (r && r > sn)
2555
2556
  throw new Ae({ maxFeePerGas: r });
2556
2557
  if (s && r && s > r)
@@ -2559,14 +2560,14 @@ function Oo(e) {
2559
2560
  async function ko(e, n) {
2560
2561
  const { account: t = e.account } = n;
2561
2562
  if (!t)
2562
- throw new Xo();
2563
+ throw new No();
2563
2564
  const r = qn(t);
2564
2565
  try {
2565
2566
  const { accessList: s, blockNumber: i, blockTag: a, data: c, gas: l, gasPrice: d, maxFeePerGas: f, maxPriorityFeePerGas: A, nonce: u, to: v, value: m, ...g } = n, I = (typeof i == "bigint" ? P(i) : void 0) || a;
2566
- Oo(n);
2567
- const x = e.chain?.formatters?.transactionRequest?.format, L = (x || ci)({
2567
+ Lo(n);
2568
+ const x = e.chain?.formatters?.transactionRequest?.format, k = (x || ai)({
2568
2569
  // Pick out extra data that might exist on the chain's transaction request type.
2569
- ...So(g, { format: x }),
2570
+ ...Oo(g, { format: x }),
2570
2571
  from: r?.address,
2571
2572
  accessList: s,
2572
2573
  data: c,
@@ -2577,24 +2578,24 @@ async function ko(e, n) {
2577
2578
  nonce: u,
2578
2579
  to: v,
2579
2580
  value: m
2580
- }, "estimateGas"), { baseFeePerGas: b, gasLimit: z, priorityFeePerGas: M } = await e.request({
2581
+ }, "estimateGas"), { baseFeePerGas: b, gasLimit: z, priorityFeePerGas: W } = await e.request({
2581
2582
  method: "linea_estimateGas",
2582
- params: I ? [L, I] : [L]
2583
+ params: I ? [k, I] : [k]
2583
2584
  });
2584
2585
  return {
2585
2586
  baseFeePerGas: BigInt(b),
2586
2587
  gasLimit: BigInt(z),
2587
- priorityFeePerGas: BigInt(M)
2588
+ priorityFeePerGas: BigInt(W)
2588
2589
  };
2589
2590
  } catch (s) {
2590
- throw Eo(s, {
2591
+ throw So(s, {
2591
2592
  ...n,
2592
2593
  account: r,
2593
2594
  chain: e.chain
2594
2595
  });
2595
2596
  }
2596
2597
  }
2597
- const Lo = {
2598
+ const Yo = {
2598
2599
  fees: {
2599
2600
  estimateFeesPerGas: pt,
2600
2601
  async maxPriorityFeePerGas({ block: e, client: n, request: t }) {
@@ -2623,8 +2624,8 @@ async function pt({ client: e, multiply: n, request: t, type: r }) {
2623
2624
  return null;
2624
2625
  }
2625
2626
  }
2626
- const Cr = /* @__PURE__ */ se({
2627
- ...Lo,
2627
+ const xr = /* @__PURE__ */ se({
2628
+ ...Yo,
2628
2629
  id: 59144,
2629
2630
  name: "Linea Mainnet",
2630
2631
  nativeCurrency: { name: "Linea Ether", symbol: "ETH", decimals: 18 },
@@ -2657,7 +2658,7 @@ const Cr = /* @__PURE__ */ se({
2657
2658
  },
2658
2659
  ensTlds: [".linea.eth"],
2659
2660
  testnet: !1
2660
- }), xr = /* @__PURE__ */ se({
2661
+ }), br = /* @__PURE__ */ se({
2661
2662
  id: 1,
2662
2663
  name: "Ethereum",
2663
2664
  nativeCurrency: { name: "Ether", symbol: "ETH", decimals: 18 },
@@ -2684,7 +2685,7 @@ const Cr = /* @__PURE__ */ se({
2684
2685
  blockCreated: 14353601
2685
2686
  }
2686
2687
  }
2687
- }), he = 1, br = /* @__PURE__ */ se({
2688
+ }), he = 1, zr = /* @__PURE__ */ se({
2688
2689
  ...en,
2689
2690
  id: 10,
2690
2691
  name: "OP Mainnet",
@@ -2729,7 +2730,7 @@ const Cr = /* @__PURE__ */ se({
2729
2730
  }
2730
2731
  },
2731
2732
  sourceId: he
2732
- }), zr = /* @__PURE__ */ se({
2733
+ }), Ir = /* @__PURE__ */ se({
2733
2734
  id: 137,
2734
2735
  name: "Polygon",
2735
2736
  nativeCurrency: { name: "POL", symbol: "POL", decimals: 18 },
@@ -2751,7 +2752,7 @@ const Cr = /* @__PURE__ */ se({
2751
2752
  blockCreated: 25770160
2752
2753
  }
2753
2754
  }
2754
- }), Yo = {
2755
+ }), Zo = {
2755
2756
  id: 1,
2756
2757
  name: "Solana",
2757
2758
  nativeCurrency: {
@@ -2768,7 +2769,7 @@ const Cr = /* @__PURE__ */ se({
2768
2769
  icon: rn,
2769
2770
  name: "Solana"
2770
2771
  }
2771
- }, Zo = {
2772
+ }, Jo = {
2772
2773
  id: 1,
2773
2774
  name: "Aptos",
2774
2775
  nativeCurrency: {
@@ -2785,7 +2786,7 @@ const Cr = /* @__PURE__ */ se({
2785
2786
  icon: tn,
2786
2787
  name: "Aptos"
2787
2788
  }
2788
- }, Jo = {
2789
+ }, Do = {
2789
2790
  id: 1,
2790
2791
  name: "Dogecoin",
2791
2792
  nativeCurrency: {
@@ -2803,12 +2804,12 @@ const Cr = /* @__PURE__ */ se({
2803
2804
  name: "Dogecoin"
2804
2805
  }
2805
2806
  }, Ce = {
2806
- evm: [xr, pr, br, mr, Cr, Kn, zr],
2807
- solana: [Yo],
2808
- aptos: [Zo],
2809
- dogecoin: [Jo]
2810
- }, Ir = (e, n, t) => {
2811
- const { apiChains: r = [] } = t || {}, s = r.length > 0 ? Jt(r) : ae, i = [], a = e?.aptos || [];
2807
+ evm: [br, Cr, zr, pr, xr, Kn, Ir],
2808
+ solana: [Zo],
2809
+ aptos: [Jo],
2810
+ dogecoin: [Do]
2811
+ }, wr = (e, n, t) => {
2812
+ const { apiChains: r = [] } = t || {}, s = r.length > 0 ? Dt(r) : ae, i = [], a = e?.aptos || [];
2812
2813
  a.length > 0 ? a.forEach((A) => {
2813
2814
  const u = r.find((v) => H(v.chainId) === "aptos");
2814
2815
  i.push({
@@ -2938,14 +2939,14 @@ const Cr = /* @__PURE__ */ se({
2938
2939
  }), i.filter((A) => A.chainId !== "solana:mainnet-beta" && A.chainId !== "aptos:1");
2939
2940
  };
2940
2941
  var V = /* @__PURE__ */ ((e) => (e.Loading = "LOADING", e.WalletList = "WALLET_LIST", e.WalletSearch = "WALLET_SEARCH", e.WalletSelectProviders = "WALLET_SELECT_PROVIDERS", e.WalletInstallGuide = "WALLET_INSTALL_GUIDE", e.Connecting = "CONNECTING", e.Error = "ERROR", e.Account = "ACCOUNT", e.SelectChains = "SELECT_CHAINS", e.ChangeNetwork = "CHANGE_NETWORK", e.SignInWallet = "SIGN_IN_WALLET", e.WalletConnect = "WALLET_CONNECT", e.UnsupportChain = "UNSUPPORT_CHAIN", e.WalletHome = "WALLET_HOME", e))(V || {});
2941
- const Do = ({ title: e, onBack: n, onClose: t, rightContent: r, hideCloseButton: s }) => {
2942
- const i = y(() => n ? /* @__PURE__ */ o(k, { isIconOnly: !0, color: "default", size: "sm", variant: "light", onPress: n, radius: "full", className: "p-0", children: /* @__PURE__ */ o(Mt, {}) }) : null, [n]);
2942
+ const Fo = ({ title: e, onBack: n, onClose: t, rightContent: r, hideCloseButton: s }) => {
2943
+ const i = y(() => n ? /* @__PURE__ */ o(L, { isIconOnly: !0, color: "default", size: "sm", variant: "light", onPress: n, radius: "full", className: "p-0", children: /* @__PURE__ */ o(Wt, {}) }) : null, [n]);
2943
2944
  return /* @__PURE__ */ C("div", { className: "flex items-center justify-between px-0 py-3", children: [
2944
2945
  i,
2945
2946
  /* @__PURE__ */ o("div", { className: "font-medium text-lg", children: e }),
2946
2947
  /* @__PURE__ */ C("div", { className: "flex items-center gap-3", children: [
2947
2948
  r,
2948
- s ? null : /* @__PURE__ */ o(k, { isIconOnly: !0, color: "default", size: "sm", variant: "light", onPress: t, radius: "full", className: "p-0", children: /* @__PURE__ */ o(Wt, { className: "text-xl" }) })
2949
+ s ? null : /* @__PURE__ */ o(L, { isIconOnly: !0, color: "default", size: "sm", variant: "light", onPress: t, radius: "full", className: "p-0", children: /* @__PURE__ */ o(Mt, { className: "text-xl" }) })
2949
2950
  ] })
2950
2951
  ] });
2951
2952
  }, F = ({
@@ -2956,12 +2957,12 @@ const Do = ({ title: e, onBack: n, onClose: t, rightContent: r, hideCloseButton:
2956
2957
  headerRightContent: s,
2957
2958
  hideCloseButton: i
2958
2959
  }) => {
2959
- const a = W(X);
2960
+ const a = M(X);
2960
2961
  if (!a)
2961
2962
  throw new Error("WalletConnectContext not found");
2962
2963
  return /* @__PURE__ */ C("div", { className: "flex flex-col gap-3 min-h-0 flex-1", children: [
2963
2964
  /* @__PURE__ */ o(
2964
- Do,
2965
+ Fo,
2965
2966
  {
2966
2967
  title: n,
2967
2968
  onBack: t,
@@ -2974,21 +2975,21 @@ const Do = ({ title: e, onBack: n, onClose: t, rightContent: r, hideCloseButton:
2974
2975
  ),
2975
2976
  /* @__PURE__ */ o("div", { className: "flex-1 flex flex-col min-h-0", children: e })
2976
2977
  ] });
2977
- }, Fo = () => {
2978
- const e = W(X);
2978
+ }, Ho = () => {
2979
+ const e = M(X);
2979
2980
  if (!e)
2980
2981
  throw new Error("WalletConnectContext not found");
2981
- const { copied: n, copy: t } = Ln(), { chains: r } = Lt(), { account: s, disconnect: i } = e, a = s.currentWallet?.info?.name || "Wallet", c = s.currentWallet?.info?.icon, l = s.address, d = s.chainType, f = s.chainId, A = f ? Number(BigInt(f || "0").toString()) : void 0, u = s.currentWallet, v = O(async () => {
2982
+ const { copied: n, copy: t } = kn(), { chains: r } = Yt(), { account: s, disconnect: i } = e, a = s.currentWallet?.info?.name || "Wallet", c = s.currentWallet?.info?.icon, l = s.address, d = s.chainType, f = s.chainId, A = f ? Number(BigInt(f || "0").toString()) : void 0, u = s.currentWallet, v = O(async () => {
2982
2983
  try {
2983
2984
  if (!l) return;
2984
2985
  t(l);
2985
2986
  } catch (I) {
2986
2987
  console.error("Failed to copy address:", I);
2987
2988
  }
2988
- }, [l, t]), m = y(() => /* @__PURE__ */ o(k, { isIconOnly: !0, variant: "light", color: "default", className: "size-10", onPress: v, children: n ? /* @__PURE__ */ o(Vt, { className: "text-success size-6" }) : /* @__PURE__ */ o(Lr, { className: "text-foreground size-4" }) }), [v, n]);
2989
+ }, [l, t]), m = y(() => /* @__PURE__ */ o(L, { isIconOnly: !0, variant: "light", color: "default", className: "size-10", onPress: v, children: n ? /* @__PURE__ */ o(Vt, { className: "text-success size-6" }) : /* @__PURE__ */ o(Zr, { className: "text-foreground size-4" }) }), [v, n]);
2989
2990
  if (!u)
2990
2991
  return null;
2991
- const g = Ir(e.config?.chains, u?.connectors, {
2992
+ const g = wr(e.config?.chains, u?.connectors, {
2992
2993
  apiChains: r
2993
2994
  }), p = g.find((I) => {
2994
2995
  if (I.chainType !== d) return !1;
@@ -3012,12 +3013,12 @@ const Do = ({ title: e, onBack: n, onClose: t, rightContent: r, hideCloseButton:
3012
3013
  F,
3013
3014
  {
3014
3015
  title: /* @__PURE__ */ o(
3015
- k,
3016
+ L,
3016
3017
  {
3017
3018
  variant: "light",
3018
3019
  color: "default",
3019
3020
  onPress: () => e.modal.setView(V.SelectChains),
3020
- endContent: /* @__PURE__ */ o(Zr, { className: "size-4" }),
3021
+ endContent: /* @__PURE__ */ o(Dr, { className: "size-4" }),
3021
3022
  children: /* @__PURE__ */ C("div", { className: "flex items-center gap-2", children: [
3022
3023
  /* @__PURE__ */ o(
3023
3024
  ze,
@@ -3044,12 +3045,12 @@ const Do = ({ title: e, onBack: n, onClose: t, rightContent: r, hideCloseButton:
3044
3045
  m
3045
3046
  ] }),
3046
3047
  /* @__PURE__ */ o("div", { children: /* @__PURE__ */ o(
3047
- k,
3048
+ L,
3048
3049
  {
3049
3050
  color: "default",
3050
3051
  variant: "light",
3051
3052
  className: "w-full",
3052
- startContent: /* @__PURE__ */ o(Yr, { className: "size-4" }),
3053
+ startContent: /* @__PURE__ */ o(Jr, { className: "size-4" }),
3053
3054
  onPress: i,
3054
3055
  children: "Disconnect wallet"
3055
3056
  }
@@ -3065,7 +3066,7 @@ const Do = ({ title: e, onBack: n, onClose: t, rightContent: r, hideCloseButton:
3065
3066
  currentProvider: null,
3066
3067
  actionsLoading: !1,
3067
3068
  providers: {}
3068
- }, wr = () => {
3069
+ }, Pr = () => {
3069
3070
  const [e, n] = Y(Ct), [t, r] = Y("");
3070
3071
  return {
3071
3072
  walletState: e,
@@ -3073,14 +3074,14 @@ const Do = ({ title: e, onBack: n, onClose: t, rightContent: r, hideCloseButton:
3073
3074
  error: t,
3074
3075
  setError: r,
3075
3076
  resetWalletState: () => {
3076
- n(Ct), Zt();
3077
+ n(Ct), Jt();
3077
3078
  }
3078
3079
  };
3079
- }, Ho = () => {
3080
- const e = W(X), n = e?.modal.state;
3080
+ }, Qo = () => {
3081
+ const e = M(X), n = e?.modal.state;
3081
3082
  if (!e)
3082
3083
  throw new Error("WalletConnectContext not found");
3083
- const t = n?.chainType || "evm", r = n?.chainId || "", s = n?.name || "-", i = n?.chainInfo?.icon || "", { resetWalletState: a } = wr(), { mutate: c, isPending: l } = En({
3084
+ const t = n?.chainType || "evm", r = n?.chainId || "", s = n?.name || "-", i = n?.chainInfo?.icon || "", { resetWalletState: a } = Pr(), { mutate: c, isPending: l } = En({
3084
3085
  mutationKey: ["switchWallet"],
3085
3086
  mutationFn: async () => {
3086
3087
  a(), e.modal.setView(V.WalletSearch, {
@@ -3102,14 +3103,14 @@ const Do = ({ title: e, onBack: n, onClose: t, rightContent: r, hideCloseButton:
3102
3103
  " network. You need to connect with a new wallet."
3103
3104
  ] })
3104
3105
  ] }),
3105
- /* @__PURE__ */ C(k, { className: "w-full my-4", disabled: l, onPress: () => c(), children: [
3106
+ /* @__PURE__ */ C(L, { className: "w-full my-4", disabled: l, onPress: () => c(), children: [
3106
3107
  "Connect ",
3107
3108
  s,
3108
3109
  " wallet"
3109
3110
  ] })
3110
3111
  ] }) });
3111
3112
  }, Oe = () => {
3112
- const e = W(X);
3113
+ const e = M(X);
3113
3114
  return {
3114
3115
  connectWallet: O(
3115
3116
  async (t, r, s = "") => {
@@ -3140,7 +3141,7 @@ const Do = ({ title: e, onBack: n, onClose: t, rightContent: r, hideCloseButton:
3140
3141
  [e?.modal.setView, e?.connect]
3141
3142
  )
3142
3143
  };
3143
- }, Qo = ({
3144
+ }, Ko = ({
3144
3145
  iconSrc: e,
3145
3146
  iconAlt: n,
3146
3147
  variant: t
@@ -3157,8 +3158,8 @@ const Do = ({ title: e, onBack: n, onClose: t, rightContent: r, hideCloseButton:
3157
3158
  ] }) : /* @__PURE__ */ o("div", { className: "absolute inset-0 border-4 border-success rounded-full" }),
3158
3159
  e ? /* @__PURE__ */ o(fe, { src: e, alt: n || "Wallet", width: 64, height: 64, radius: "full", className: "relative z-10" }) : null,
3159
3160
  t === "success" ? /* @__PURE__ */ o("div", { className: "absolute -bottom-1 -right-1 w-6 h-6 rounded-full bg-success flex items-center justify-center border-2 border-white", children: /* @__PURE__ */ o("svg", { className: "w-4 h-4 text-white", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ o("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 3, d: "M5 13l4 4L19 7" }) }) }) : null
3160
- ] }), Ko = () => {
3161
- const e = W(X);
3161
+ ] }), qo = () => {
3162
+ const e = M(X);
3162
3163
  if (!e)
3163
3164
  throw new Error("WalletConnectContext not found");
3164
3165
  const { currentWallet: n } = e.account, { connectionStatus: t, error: r } = e.connection, { connectWallet: s } = Oe(), [i, a] = Y(!1), c = async () => {
@@ -3193,10 +3194,10 @@ const Do = ({ title: e, onBack: n, onClose: t, rightContent: r, hideCloseButton:
3193
3194
  }
3194
3195
  ) }) });
3195
3196
  return /* @__PURE__ */ o(F, { title: n?.info?.name || "Wallet", onBack: l, children: /* @__PURE__ */ C("div", { className: "flex flex-col items-center justify-center py-12 gap-6 flex-1", children: [
3196
- /* @__PURE__ */ o(Qo, { iconSrc: n?.info?.icon, iconAlt: n?.info?.name, variant: A }),
3197
+ /* @__PURE__ */ o(Ko, { iconSrc: n?.info?.icon, iconAlt: n?.info?.name, variant: A }),
3197
3198
  u(),
3198
3199
  f ? /* @__PURE__ */ o("div", { className: "w-full px-4", children: /* @__PURE__ */ o(
3199
- k,
3200
+ L,
3200
3201
  {
3201
3202
  isDisabled: i,
3202
3203
  startContent: i ? /* @__PURE__ */ o(
@@ -3221,8 +3222,8 @@ const Do = ({ title: e, onBack: n, onClose: t, rightContent: r, hideCloseButton:
3221
3222
  }, xt = ({ error: e, title: n }) => /* @__PURE__ */ C("div", { className: "flex flex-col items-center gap-2 text-sm text-foreground/60 text-center px-4", children: [
3222
3223
  /* @__PURE__ */ o("p", { className: "text-lg font-semibold text-foreground", children: n }),
3223
3224
  /* @__PURE__ */ o("p", { children: e })
3224
- ] }), qo = () => {
3225
- const e = W(X);
3225
+ ] }), Uo = () => {
3226
+ const e = M(X);
3226
3227
  if (!e)
3227
3228
  throw new Error("WalletConnectContext not found");
3228
3229
  const { error: n } = e.connection;
@@ -3230,11 +3231,11 @@ const Do = ({ title: e, onBack: n, onClose: t, rightContent: r, hideCloseButton:
3230
3231
  /* @__PURE__ */ o("div", { className: "text-danger text-5xl mb-4", children: "⚠️" }),
3231
3232
  /* @__PURE__ */ o("p", { className: "text-lg font-semibold mb-2 text-danger", children: "Connection Failed" }),
3232
3233
  /* @__PURE__ */ o("p", { className: "text-sm text-gray-600 dark:text-gray-400 mb-6 text-center", children: n }),
3233
- /* @__PURE__ */ o(k, { variant: "solid", color: "primary", onPress: () => {
3234
+ /* @__PURE__ */ o(L, { variant: "solid", color: "primary", onPress: () => {
3234
3235
  e.connection.setError(""), e.modal.setView(V.Connecting);
3235
3236
  }, children: "Try Again" })
3236
3237
  ] });
3237
- }, Uo = (e, n, t) => {
3238
+ }, Go = (e, n, t) => {
3238
3239
  e = e / 360, n = n / 100, t = t / 100;
3239
3240
  let r, s, i;
3240
3241
  if (n === 0)
@@ -3248,14 +3249,14 @@ const Do = ({ title: e, onBack: n, onClose: t, rightContent: r, hideCloseButton:
3248
3249
  return l.length === 1 ? `0${l}` : l;
3249
3250
  };
3250
3251
  return `#${a(r)}${a(s)}${a(i)}`.toUpperCase();
3251
- }, Go = (e, n = "#FCD436") => {
3252
+ }, Ro = (e, n = "#FCD436") => {
3252
3253
  const t = e.trim();
3253
3254
  if (t.startsWith("#"))
3254
3255
  return t.toUpperCase();
3255
3256
  const r = t.match(/(?:hsl\()?([0-9.]+)(?:deg)?,?\s+([0-9.]+)%,?\s+([0-9.]+)%\)?/);
3256
3257
  if (r) {
3257
3258
  const [, i, a, c] = r;
3258
- return Uo(parseFloat(i), parseFloat(a), parseFloat(c));
3259
+ return Go(parseFloat(i), parseFloat(a), parseFloat(c));
3259
3260
  }
3260
3261
  const s = t.match(/(?:rgb\()?([0-9]+),?\s+([0-9]+),?\s+([0-9]+)\)?/);
3261
3262
  if (s) {
@@ -3269,7 +3270,7 @@ const Do = ({ title: e, onBack: n, onClose: t, rightContent: r, hideCloseButton:
3269
3270
  }, bt = {
3270
3271
  DEFAULT: "#FCD436",
3271
3272
  foreground: "#12122A"
3272
- }, Pr = () => ({
3273
+ }, yr = () => ({
3273
3274
  prefix: "heroui",
3274
3275
  themes: {
3275
3276
  light: {
@@ -3289,12 +3290,12 @@ const Do = ({ title: e, onBack: n, onClose: t, rightContent: r, hideCloseButton:
3289
3290
  }
3290
3291
  }
3291
3292
  }
3292
- }), yr = ({ content: e, size: n = 280, logo: t, logoBackground: r }) => {
3293
+ }), Br = ({ content: e, size: n = 280, logo: t, logoBackground: r }) => {
3293
3294
  const s = ce(null), i = ce(null), [a, c] = Y("#FCD436");
3294
3295
  return J(() => {
3295
3296
  if (s.current) {
3296
3297
  const l = getComputedStyle(s.current), d = l.getPropertyValue("--heroui-primary").trim() || l.getPropertyValue("--primary").trim() || "#FCD436";
3297
- c(Go(d));
3298
+ c(Ro(d));
3298
3299
  }
3299
3300
  }, []), J(() => {
3300
3301
  if (!e || !s.current)
@@ -3331,41 +3332,41 @@ const Do = ({ title: e, onBack: n, onClose: t, rightContent: r, hideCloseButton:
3331
3332
  if (i.current)
3332
3333
  i.current.update(d);
3333
3334
  else {
3334
- const A = new ds(d);
3335
+ const A = new fs(d);
3335
3336
  i.current = A, l.innerHTML = "", A.append(l);
3336
3337
  }
3337
3338
  const f = l;
3338
3339
  return () => {
3339
3340
  f && i.current && (f.innerHTML = "", i.current = null);
3340
3341
  };
3341
- }, [e, n, t, r, a]), /* @__PURE__ */ o(Jr, { isLoaded: !!e, style: { width: n, height: n }, className: "rounded-lg", children: /* @__PURE__ */ o("div", { className: "flex items-center justify-center p-2 bg-background rounded-lg", children: /* @__PURE__ */ o("div", { ref: s }) }) });
3342
- }, Ro = ({ isOpen: e, onClose: n, onBack: t, url: r, logo: s, logoBackground: i, title: a }) => {
3343
- const { copy: c, copied: l } = Ln();
3342
+ }, [e, n, t, r, a]), /* @__PURE__ */ o(Fr, { isLoaded: !!e, style: { width: n, height: n }, className: "rounded-lg", children: /* @__PURE__ */ o("div", { className: "flex items-center justify-center p-2 bg-background rounded-lg", children: /* @__PURE__ */ o("div", { ref: s }) }) });
3343
+ }, _o = ({ isOpen: e, onClose: n, onBack: t, url: r, logo: s, logoBackground: i, title: a }) => {
3344
+ const { copy: c, copied: l } = kn();
3344
3345
  return /* @__PURE__ */ o(Xt, { isOpen: e, onClose: n, onBack: t, title: a, children: /* @__PURE__ */ C("div", { className: "flex flex-col items-center justify-center px-5 pb-6 gap-4", children: [
3345
3346
  /* @__PURE__ */ o("p", { className: "text-sm text-foreground/80 text-center", children: "Scan the QR code with your camera phone to get the app on iOS or Android." }),
3346
- /* @__PURE__ */ o(yr, { content: r, logo: s, logoBackground: i }),
3347
- /* @__PURE__ */ o(k, { variant: "bordered", size: "lg", fullWidth: !0, onPress: () => {
3347
+ /* @__PURE__ */ o(Br, { content: r, logo: s, logoBackground: i }),
3348
+ /* @__PURE__ */ o(L, { variant: "bordered", size: "lg", fullWidth: !0, onPress: () => {
3348
3349
  c(r);
3349
3350
  }, children: l ? "Copied!" : "Copy Link" })
3350
3351
  ] }) });
3351
- }, _o = () => {
3352
+ }, $o = () => {
3352
3353
  if (typeof window > "u") return "other";
3353
3354
  const e = window.navigator.userAgent.toLowerCase();
3354
3355
  return e.includes("chrome") && !e.includes("edge") && !e.includes("opera") ? "chrome" : e.includes("edge") ? "edge" : e.includes("firefox") ? "firefox" : e.includes("opera") || e.includes("opr") ? "opera" : e.includes("safari") && !e.includes("chrome") ? "safari" : "other";
3355
- }, $o = () => {
3356
+ }, ec = () => {
3356
3357
  if (typeof window > "u") return "desktop";
3357
3358
  const e = window.navigator.userAgent.toLowerCase();
3358
3359
  return /iphone|ipad|ipod/.test(e) ? "ios" : /android/.test(e) ? "android" : "desktop";
3359
- }, ec = (e) => {
3360
+ }, nc = (e) => {
3360
3361
  if (!e) return null;
3361
- const n = $o(), t = _o();
3362
+ const n = ec(), t = $o();
3362
3363
  return n === "ios" ? e.ios_install || e.mobile || e.homepage || null : n === "android" ? e.android_install || e.mobile || e.homepage || null : t === "chrome" ? e.chrome_install || e.homepage || null : t === "edge" ? e.edge || e.homepage || null : t === "firefox" ? e.firefox || e.homepage || null : t === "opera" ? e.opera || e.homepage || null : t === "safari" ? e.safari || e.homepage || null : e.homepage || e.mobile || null;
3363
- }, nc = (e) => {
3364
+ }, tc = (e) => {
3364
3365
  if (!e) return [];
3365
3366
  const n = [];
3366
3367
  return e.chrome_install && n.push({ label: "Chrome", url: e.chrome_install }), e.edge && n.push({ label: "Edge", url: e.edge }), e.firefox && n.push({ label: "Firefox", url: e.firefox }), e.opera && n.push({ label: "Opera", url: e.opera }), e.safari && n.push({ label: "Safari", url: e.safari }), e.ios_install && n.push({ label: "iOS", url: e.ios_install }), e.android_install && n.push({ label: "Android", url: e.android_install }), e.mobile && !n.find((t) => t.url === e.mobile) && n.push({ label: "Mobile App", url: e.mobile }), e.homepage && !n.find((t) => t.url === e.homepage) && n.push({ label: "Homepage", url: e.homepage }), n;
3367
- }, tc = () => {
3368
- const e = W(X);
3368
+ }, rc = () => {
3369
+ const e = M(X);
3369
3370
  if (!e)
3370
3371
  throw new Error("WalletConnectContext not found");
3371
3372
  const { currentWallet: n } = e.account, t = ce(!1);
@@ -3373,7 +3374,7 @@ const Do = ({ title: e, onBack: n, onClose: t, rightContent: r, hideCloseButton:
3373
3374
  !n && !t.current && (t.current = !0, e.modal.backView());
3374
3375
  }, [e.modal, n]), !n)
3375
3376
  return /* @__PURE__ */ o(F, { title: "Install Wallet", onBack: () => e.modal.backView(), children: /* @__PURE__ */ o("div", { className: "flex flex-col items-center justify-center py-12 gap-4", children: /* @__PURE__ */ o("p", { className: "text-sm text-foreground/60 text-center px-4", children: "Wallet not found. Going back..." }) }) });
3376
- const r = y(() => `Install ${n?.info?.name} Wallet`, [n?.info?.name]), s = y(() => n?.info, [n?.info]), i = y(() => ec(s?.links), [s?.links]), a = y(() => nc(s?.links), [s?.links]), [c, l] = Y({
3377
+ const r = y(() => `Install ${n?.info?.name} Wallet`, [n?.info?.name]), s = y(() => n?.info, [n?.info]), i = y(() => nc(s?.links), [s?.links]), a = y(() => tc(s?.links), [s?.links]), [c, l] = Y({
3377
3378
  isOpen: !1,
3378
3379
  url: ""
3379
3380
  }), d = () => {
@@ -3403,18 +3404,18 @@ const Do = ({ title: e, onBack: n, onClose: t, rightContent: r, hideCloseButton:
3403
3404
  s.name,
3404
3405
  ", please install the wallet extension or app."
3405
3406
  ] }),
3406
- i && /* @__PURE__ */ C(k, { variant: "solid", color: "primary", size: "lg", fullWidth: !0, onPress: d, className: "mb-4", children: [
3407
+ i && /* @__PURE__ */ C(L, { variant: "solid", color: "primary", size: "lg", fullWidth: !0, onPress: d, className: "mb-4", children: [
3407
3408
  "Install ",
3408
3409
  s.name
3409
3410
  ] }),
3410
3411
  a.length > 1 && /* @__PURE__ */ C("div", { className: "w-full", children: [
3411
3412
  /* @__PURE__ */ o("p", { className: "text-xs text-foreground/60 mb-2 text-center", children: "Or download from:" }),
3412
- /* @__PURE__ */ o("div", { className: "flex flex-wrap gap-2 justify-center", children: a.map((v, m) => /* @__PURE__ */ o(k, { variant: "bordered", size: "sm", onPress: () => f(v), children: v.label }, m)) })
3413
+ /* @__PURE__ */ o("div", { className: "flex flex-wrap gap-2 justify-center", children: a.map((v, m) => /* @__PURE__ */ o(L, { variant: "bordered", size: "sm", onPress: () => f(v), children: v.label }, m)) })
3413
3414
  ] }),
3414
3415
  /* @__PURE__ */ o("p", { className: "text-xs text-foreground/40 mt-6 text-center px-4", children: "After installing, refresh the page and try connecting again." })
3415
3416
  ] }),
3416
3417
  /* @__PURE__ */ o(
3417
- Ro,
3418
+ _o,
3418
3419
  {
3419
3420
  title: r,
3420
3421
  isOpen: c.isOpen,
@@ -3426,8 +3427,8 @@ const Do = ({ title: e, onBack: n, onClose: t, rightContent: r, hideCloseButton:
3426
3427
  }
3427
3428
  )
3428
3429
  ] });
3429
- }, rc = () => {
3430
- if (!W(X))
3430
+ }, sc = () => {
3431
+ if (!M(X))
3431
3432
  throw new Error("WalletConnectContext not found");
3432
3433
  return /* @__PURE__ */ o(F, { title: "Loading", children: /* @__PURE__ */ C("div", { className: "flex flex-col items-center justify-center py-12 gap-6 flex-1", children: [
3433
3434
  /* @__PURE__ */ o(
@@ -3445,8 +3446,8 @@ const Do = ({ title: e, onBack: n, onClose: t, rightContent: r, hideCloseButton:
3445
3446
  /* @__PURE__ */ o("p", { children: "Please wait while we set up your wallet connection..." })
3446
3447
  ] })
3447
3448
  ] }) });
3448
- }, Br = () => {
3449
- const e = W(X), { connectWallet: n } = Oe();
3449
+ }, hr = () => {
3450
+ const e = M(X), { connectWallet: n } = Oe();
3450
3451
  return {
3451
3452
  handleSelectWallet: O(
3452
3453
  (r, s) => {
@@ -3508,23 +3509,23 @@ const Do = ({ title: e, onBack: n, onClose: t, rightContent: r, hideCloseButton:
3508
3509
  url: typeof window < "u" ? window.location.origin : "",
3509
3510
  icons: ["https://tomo.inc/favicon.svg"]
3510
3511
  }
3511
- }, hr = "cTQxTUlSZXhwOXF6T2hnTHJVRzI6MTpjaQ", Mr = "362812706401-eppkpnqocdaejaf45ics815t22oe0j7l.apps.googleusercontent.com", He = {
3512
- stage: "dev",
3512
+ }, Wr = "cTQxTUlSZXhwOXF6T2hnTHJVRzI6MTpjaQ", Mr = "362812706401-eppkpnqocdaejaf45ics815t22oe0j7l.apps.googleusercontent.com", He = {
3513
+ stage: "prod-dogeos",
3513
3514
  name: "DogeOS Social Wallet",
3514
3515
  logo: "https://web3-assets.tomo.inc/assets/wallets/mydoge/wallet.svg",
3515
- xClientId: hr,
3516
+ xClientId: Wr,
3516
3517
  googleClientId: Mr,
3517
3518
  walletBaseUrl: "https://dogeos.embedded-wallet.tomo.inc/embed"
3518
3519
  }, zt = {
3519
3520
  basicLogins: ["email", "externalWallets"],
3520
3521
  socialLogins: [
3521
3522
  { type: "google", clientId: Mr },
3522
- { type: "x", clientId: hr }
3523
+ { type: "x", clientId: Wr }
3523
3524
  ]
3524
3525
  }, ie = {
3525
3526
  connectors: re.recommendedWallets,
3526
3527
  chains: {
3527
- evm: [xr, pr, br, mr, Cr, Kn, zr],
3528
+ evm: [br, Cr, zr, pr, xr, Kn, Ir],
3528
3529
  // solana: recommendedChains.solana,
3529
3530
  // aptos: recommendedChains.aptos,
3530
3531
  dogecoin: Ce.dogecoin
@@ -3573,17 +3574,17 @@ const Do = ({ title: e, onBack: n, onClose: t, rightContent: r, hideCloseButton:
3573
3574
  privacyPolicy: re.links.privacyPolicy,
3574
3575
  logo: "https://tomo.inc/favicon.svg"
3575
3576
  }
3576
- }, an = ht(null), sc = ["wallets", "all"], ic = (e) => () => {
3577
+ }, an = ht(null), ic = ["wallets", "all"], oc = (e) => () => {
3577
3578
  const n = e.length > 0 ? e : re.recommendedWallets || [], t = re.walletBaseUrl;
3578
3579
  return Tt({
3579
3580
  chainType: "all",
3580
3581
  recommendedConnectors: n,
3581
- connectorTypes: n.map((r) => ts(r) ? "wagmi" : "tomo"),
3582
+ connectorTypes: n.map((r) => ss(r) ? "wagmi" : "tomo"),
3582
3583
  options: {
3583
3584
  baseUrl: t
3584
3585
  }
3585
3586
  });
3586
- }, It = (e, n) => n === "all" ? e : e.filter((t) => !!t.connectors[n]), Wr = (e) => {
3587
+ }, It = (e, n) => n === "all" ? e : e.filter((t) => !!t.connectors[n]), Vr = (e) => {
3587
3588
  if (!e || !e.info)
3588
3589
  return null;
3589
3590
  const n = e.connectors;
@@ -3594,17 +3595,17 @@ const Do = ({ title: e, onBack: n, onClose: t, rightContent: r, hideCloseButton:
3594
3595
  isEmbeddedWallet: !0,
3595
3596
  logout: async () => e.logout()
3596
3597
  };
3597
- }, ke = (e, n = [], t) => {
3598
- const r = W(an)?.wallet ?? null, s = t?.embeddedWallet !== void 0 ? t.embeddedWallet : r, i = y(() => n.length > 0 ? n : re.recommendedWallets || [], [n]), a = y(
3599
- () => ic(i),
3598
+ }, Le = (e, n = [], t) => {
3599
+ const r = M(an)?.wallet ?? null, s = t?.embeddedWallet !== void 0 ? t.embeddedWallet : r, i = y(() => n.length > 0 ? n : re.recommendedWallets || [], [n]), a = y(
3600
+ () => oc(i),
3600
3601
  [i]
3601
3602
  // Only recreate when connectors ID changes
3602
3603
  ), c = Tn({
3603
- queryKey: sc,
3604
+ queryKey: ic,
3604
3605
  queryFn: a,
3605
3606
  // Refetch on window focus to update wallet installation status
3606
3607
  refetchOnWindowFocus: !0
3607
- }), l = y(() => s ? Wr(s) : null, [s]), d = y(() => {
3608
+ }), l = y(() => s ? Vr(s) : null, [s]), d = y(() => {
3608
3609
  if (!c.data)
3609
3610
  return;
3610
3611
  const f = Array.isArray(c.data.all) ? [...c.data.all] : [], A = Array.isArray(c.data.recommoned) ? [...c.data.recommoned] : [];
@@ -3619,11 +3620,11 @@ const Do = ({ title: e, onBack: n, onClose: t, rightContent: r, hideCloseButton:
3619
3620
  embeddedWalletConnector: l
3620
3621
  };
3621
3622
  }, Un = ({ extendContent: e }) => {
3622
- const n = W(X);
3623
+ const n = M(X);
3623
3624
  if (!n) return null;
3624
3625
  const { config: t } = n, { links: r } = t;
3625
3626
  return r ? /* @__PURE__ */ C("div", { className: "flex flex-col gap-2", children: [
3626
- e || /* @__PURE__ */ o(oc, {}),
3627
+ e || /* @__PURE__ */ o(cc, {}),
3627
3628
  /* @__PURE__ */ C(
3628
3629
  Ue,
3629
3630
  {
@@ -3634,13 +3635,13 @@ const Do = ({ title: e, onBack: n, onClose: t, rightContent: r, hideCloseButton:
3634
3635
  children: [
3635
3636
  /* @__PURE__ */ o("span", { children: "Powered by" }),
3636
3637
  r.logo && /* @__PURE__ */ o("img", { src: r.logo, alt: "logo", className: "w-4 h-4" }),
3637
- !r.logo && /* @__PURE__ */ o(Dr, {})
3638
+ !r.logo && /* @__PURE__ */ o(Hr, {})
3638
3639
  ]
3639
3640
  }
3640
3641
  )
3641
3642
  ] }) : null;
3642
- }, oc = () => {
3643
- const e = W(X);
3643
+ }, cc = () => {
3644
+ const e = M(X);
3644
3645
  if (!e) return null;
3645
3646
  const { config: n } = e, { links: t } = n;
3646
3647
  return t ? /* @__PURE__ */ C("div", { className: "text-xs text-[#A9A29D] text-center", children: [
@@ -3656,13 +3657,13 @@ const Do = ({ title: e, onBack: n, onClose: t, rightContent: r, hideCloseButton:
3656
3657
  "."
3657
3658
  ] })
3658
3659
  ] }) : null;
3659
- }, cc = ({ wallet: e, onSelectWallet: n }) => {
3660
+ }, ac = ({ wallet: e, onSelectWallet: n }) => {
3660
3661
  const { info: t, isInstalled: r } = e, s = y(() => {
3661
3662
  if (!r) return null;
3662
3663
  const i = t?.uuid === "walletConnect";
3663
3664
  return /* @__PURE__ */ o("span", { className: "text-xs line-height-[140px] font-normal text-[#A9A29D]", children: i ? "QR Code" : "Installed" });
3664
3665
  }, [t?.uuid, r]);
3665
- return /* @__PURE__ */ o(Fr, { isPressable: !0, isHoverable: !0, shadow: "none", radius: "sm", onPress: () => n?.(e), children: /* @__PURE__ */ C(Hr, { className: "flex flex-col items-center gap-1 px-0 py-2", children: [
3666
+ return /* @__PURE__ */ o(Qr, { isPressable: !0, isHoverable: !0, shadow: "none", radius: "sm", onPress: () => n?.(e), children: /* @__PURE__ */ C(Kr, { className: "flex flex-col items-center gap-1 px-0 py-2", children: [
3666
3667
  /* @__PURE__ */ o("div", { className: "p-1 h-[56px]", children: /* @__PURE__ */ o(fe, { src: t.icon, alt: t.name, width: 48, height: 48, removeWrapper: !0, radius: "md" }) }),
3667
3668
  /* @__PURE__ */ C("div", { className: "flex flex-col justify-center items-center scale-80 text-center", children: [
3668
3669
  /* @__PURE__ */ o("span", { className: "text-sm font-medium", children: t.name }),
@@ -3670,7 +3671,7 @@ const Do = ({ title: e, onBack: n, onClose: t, rightContent: r, hideCloseButton:
3670
3671
  ] })
3671
3672
  ] }) }, t.uuid);
3672
3673
  };
3673
- function ac({ wallets: e, loading: n, onSelectWallet: t }) {
3674
+ function lc({ wallets: e, loading: n, onSelectWallet: t }) {
3674
3675
  return n ? /* @__PURE__ */ o(
3675
3676
  ue,
3676
3677
  {
@@ -3681,15 +3682,15 @@ function ac({ wallets: e, loading: n, onSelectWallet: t }) {
3681
3682
  },
3682
3683
  className: "m-auto"
3683
3684
  }
3684
- ) : e.length === 0 ? /* @__PURE__ */ o("div", { className: "flex flex-col items-center justify-center py-12", children: /* @__PURE__ */ o("p", { className: "text-gray-600", children: "No wallets found" }) }) : /* @__PURE__ */ o("div", { className: "grid grid-cols-4", children: e.map((r) => /* @__PURE__ */ o(cc, { wallet: r, onSelectWallet: t }, r.info?.uuid)) });
3685
+ ) : e.length === 0 ? /* @__PURE__ */ o("div", { className: "flex flex-col items-center justify-center py-12", children: /* @__PURE__ */ o("p", { className: "text-gray-600", children: "No wallets found" }) }) : /* @__PURE__ */ o("div", { className: "grid grid-cols-4", children: e.map((r) => /* @__PURE__ */ o(ac, { wallet: r, onSelectWallet: t }, r.info?.uuid)) });
3685
3686
  }
3686
- const lc = {
3687
+ const dc = {
3687
3688
  evm: { tabKey: "evm", chainKey: "evm" },
3688
3689
  solana: { tabKey: "solana", chainKey: "solana" },
3689
3690
  aptos: { tabKey: "aptos", chainKey: "aptos" },
3690
3691
  dogecoin: { tabKey: "doge", chainKey: "dogecoin" }
3691
- }, dc = ({ selectedKey: e, onSelectionChange: n }) => {
3692
- const t = W(X), r = y(() => {
3692
+ }, Ac = ({ selectedKey: e, onSelectionChange: n }) => {
3693
+ const t = M(X), r = y(() => {
3693
3694
  const i = t?.config?.chains || {}, a = [
3694
3695
  {
3695
3696
  key: "all",
@@ -3698,7 +3699,7 @@ const lc = {
3698
3699
  }
3699
3700
  ];
3700
3701
  return Object.keys(i).forEach((c) => {
3701
- const l = lc[c];
3702
+ const l = dc[c];
3702
3703
  if (l) {
3703
3704
  const d = q[l.chainKey];
3704
3705
  a.push({
@@ -3710,31 +3711,31 @@ const lc = {
3710
3711
  }), a;
3711
3712
  }, [t?.config?.chains]), s = (i) => i.icon ? /* @__PURE__ */ o(ze, { icon: i.icon, className: "size-6 overflow-hidden rounded-full" }) : i.title;
3712
3713
  return /* @__PURE__ */ o(
3713
- Qr,
3714
+ qr,
3714
3715
  {
3715
3716
  variant: "bordered",
3716
3717
  fullWidth: !0,
3717
3718
  selectedKey: e,
3718
3719
  onSelectionChange: (i) => n(i),
3719
- children: r.map((i) => /* @__PURE__ */ o(Kr, { title: s(i) }, i.key))
3720
+ children: r.map((i) => /* @__PURE__ */ o(Ur, { title: s(i) }, i.key))
3720
3721
  }
3721
3722
  );
3722
- }, Ac = ({ wallet: e, onSelectWallet: n }) => {
3723
+ }, fc = ({ wallet: e, onSelectWallet: n }) => {
3723
3724
  const { info: t, isInstalled: r } = e, s = y(() => r ? t?.uuid === "walletConnect" ? /* @__PURE__ */ o($n, { className: "text-xs text-[#D7D3D0] border h-5", variant: "dot", children: "QR Code" }) : /* @__PURE__ */ o($n, { className: "text-xs text-[#D7D3D0] border h-5", variant: "dot", children: "Installed" }) : null, [t?.uuid, r]);
3724
3725
  return /* @__PURE__ */ o(
3725
- Xr,
3726
+ Nr,
3726
3727
  {
3727
3728
  onPress: () => n?.(e),
3728
- startContent: /* @__PURE__ */ o(Vr, { icon: t?.icon, title: t?.name }),
3729
+ startContent: /* @__PURE__ */ o(Xr, { icon: t?.icon, title: t?.name }),
3729
3730
  endContent: s
3730
3731
  },
3731
3732
  e.info.uuid
3732
3733
  );
3733
- }, Vr = ({ icon: e, title: n }) => /* @__PURE__ */ C("div", { className: "flex items-center gap-2", children: [
3734
+ }, Xr = ({ icon: e, title: n }) => /* @__PURE__ */ C("div", { className: "flex items-center gap-2", children: [
3734
3735
  typeof e == "string" ? /* @__PURE__ */ o(fe, { src: e, alt: n, width: 32, height: 32, radius: "md" }) : e,
3735
3736
  /* @__PURE__ */ o("span", { className: "text-sm font-medium text-foreground", children: n })
3736
- ] }), Xr = (e) => /* @__PURE__ */ o(
3737
- k,
3737
+ ] }), Nr = (e) => /* @__PURE__ */ o(
3738
+ L,
3738
3739
  {
3739
3740
  fullWidth: !0,
3740
3741
  size: "2xl",
@@ -3746,7 +3747,7 @@ const lc = {
3746
3747
  children: /* @__PURE__ */ o("span", {})
3747
3748
  }
3748
3749
  );
3749
- function fc({ wallets: e, loading: n, onSelectWallet: t }) {
3750
+ function uc({ wallets: e, loading: n, onSelectWallet: t }) {
3750
3751
  return n ? /* @__PURE__ */ o(
3751
3752
  ue,
3752
3753
  {
@@ -3757,29 +3758,29 @@ function fc({ wallets: e, loading: n, onSelectWallet: t }) {
3757
3758
  circle2: "border-b-primary"
3758
3759
  }
3759
3760
  }
3760
- ) : e.length === 0 ? /* @__PURE__ */ o("div", { className: "flex flex-col items-center justify-center py-12", children: /* @__PURE__ */ o("p", { className: "text-gray-600", children: "No wallets found" }) }) : /* @__PURE__ */ o("div", { className: "flex flex-col gap-2", children: e.map((r) => /* @__PURE__ */ o(Ac, { wallet: r, onSelectWallet: t }, r.info?.uuid)) });
3761
+ ) : e.length === 0 ? /* @__PURE__ */ o("div", { className: "flex flex-col items-center justify-center py-12", children: /* @__PURE__ */ o("p", { className: "text-gray-600", children: "No wallets found" }) }) : /* @__PURE__ */ o("div", { className: "flex flex-col gap-2", children: e.map((r) => /* @__PURE__ */ o(fc, { wallet: r, onSelectWallet: t }, r.info?.uuid)) });
3761
3762
  }
3762
- const uc = () => {
3763
- const e = W(X), { handleSelectWallet: n } = Br(), { data: t, isLoading: r } = ke("all", e?.config?.connectors), [s, i] = y(() => {
3763
+ const gc = () => {
3764
+ const e = M(X), { handleSelectWallet: n } = hr(), { data: t, isLoading: r } = Le("all", e?.config?.connectors), [s, i] = y(() => {
3764
3765
  const l = t?.recommended || [], d = t?.all || [];
3765
- return Os(l, d);
3766
+ return Ls(l, d);
3766
3767
  }, [t]), a = y(
3767
3768
  () => s?.filter((l) => !l.isEmbeddedWallet) || [],
3768
3769
  [s]
3769
3770
  );
3770
3771
  return /* @__PURE__ */ o(F, { title: "Connect your wallet", children: /* @__PURE__ */ C("div", { className: "flex flex-col gap-4", children: [
3771
- /* @__PURE__ */ o("div", { className: "space-y-2 h-[312px] max-h-[312px] overflow-y-auto [&::-webkit-scrollbar]:hidden [-ms-overflow-style:none] [scrollbar-width:none]", children: /* @__PURE__ */ o("div", { className: `flex flex-col gap-2 h-full ${r ? "justify-center" : ""}`, children: /* @__PURE__ */ o(fc, { loading: r, wallets: a, onSelectWallet: n }) }) }),
3772
+ /* @__PURE__ */ o("div", { className: "space-y-2 h-[312px] max-h-[312px] overflow-y-auto [&::-webkit-scrollbar]:hidden [-ms-overflow-style:none] [scrollbar-width:none]", children: /* @__PURE__ */ o("div", { className: `flex flex-col gap-2 h-full ${r ? "justify-center" : ""}`, children: /* @__PURE__ */ o(uc, { loading: r, wallets: a, onSelectWallet: n }) }) }),
3772
3773
  r ? null : /* @__PURE__ */ o(
3773
- Xr,
3774
+ Nr,
3774
3775
  {
3775
3776
  onPress: () => e?.modal.setView(V.WalletSearch),
3776
- startContent: /* @__PURE__ */ o(Vr, { icon: /* @__PURE__ */ o(qr, {}), title: "Search more wallets" }),
3777
+ startContent: /* @__PURE__ */ o(Xr, { icon: /* @__PURE__ */ o(Gr, {}), title: "Search more wallets" }),
3777
3778
  endContent: /* @__PURE__ */ o("span", { className: "text-[#A9A29D] text-sm", children: i.length })
3778
3779
  }
3779
3780
  ),
3780
3781
  /* @__PURE__ */ o(Un, {})
3781
3782
  ] }) });
3782
- }, gc = () => {
3783
+ }, vc = () => {
3783
3784
  const [e, n] = Y(0), [t, r] = Y(!1);
3784
3785
  return J(() => {
3785
3786
  if (typeof window < "u" && window.visualViewport) {
@@ -3801,13 +3802,13 @@ const uc = () => {
3801
3802
  };
3802
3803
  }
3803
3804
  }, []), { keyboardHeight: e, isKeyboardVisible: t };
3804
- }, vc = (e) => {
3805
+ }, mc = (e) => {
3805
3806
  const n = ce(null);
3806
3807
  return J(() => {
3807
3808
  n.current && (n.current.scrollTop = 0);
3808
3809
  }, e), n;
3809
- }, mc = Nt, pc = () => {
3810
- const e = W(X), { handleSelectWallet: n } = Br(), t = e?.modal.state, r = y(() => t?.chainType || "all", [t?.chainType]), { data: s, isLoading: i } = ke(r, e?.config?.connectors), a = y(() => s?.all || [], [s]), [c, l] = Y(""), { isKeyboardVisible: d, keyboardHeight: f } = gc(), A = y(() => a.filter((g) => g.info?.name?.toLowerCase().includes(c.toLowerCase())).filter((g) => !g.isEmbeddedWallet), [a, c]), u = vc([r]), v = y(() => d && f > 0 ? `${Math.max(180, 340 - f * 0.6)}px` : "340px", [d, f]), m = O(
3810
+ }, pc = Nt, Cc = () => {
3811
+ const e = M(X), { handleSelectWallet: n } = hr(), t = e?.modal.state, r = y(() => t?.chainType || "all", [t?.chainType]), { data: s, isLoading: i } = Le(r, e?.config?.connectors), a = y(() => s?.all || [], [s]), [c, l] = Y(""), { isKeyboardVisible: d, keyboardHeight: f } = vc(), A = y(() => a.filter((g) => g.info?.name?.toLowerCase().includes(c.toLowerCase())).filter((g) => !g.isEmbeddedWallet), [a, c]), u = mc([r]), v = y(() => d && f > 0 ? `${Math.max(180, 340 - f * 0.6)}px` : "340px", [d, f]), m = O(
3811
3812
  (g) => {
3812
3813
  e?.modal.setCurrentViewState({ chainType: g });
3813
3814
  },
@@ -3815,19 +3816,19 @@ const uc = () => {
3815
3816
  );
3816
3817
  return /* @__PURE__ */ o(F, { title: "All wallets", onBack: () => e?.modal.backView(), children: /* @__PURE__ */ C("div", { className: "flex flex-col gap-4 min-h-0", children: [
3817
3818
  /* @__PURE__ */ o(
3818
- dc,
3819
+ Ac,
3819
3820
  {
3820
3821
  selectedKey: t?.chainType || "all",
3821
3822
  onSelectionChange: (g) => m(g)
3822
3823
  }
3823
3824
  ),
3824
3825
  /* @__PURE__ */ o(
3825
- mc,
3826
+ pc,
3826
3827
  {
3827
3828
  placeholder: "Search wallet",
3828
3829
  value: c,
3829
3830
  onChange: (g) => l(g.target.value),
3830
- startContent: /* @__PURE__ */ o(Ur, {}),
3831
+ startContent: /* @__PURE__ */ o(Rr, {}),
3831
3832
  classNames: {
3832
3833
  inputWrapper: "rounded-full h-11"
3833
3834
  }
@@ -3843,7 +3844,7 @@ const uc = () => {
3843
3844
  maxHeight: v
3844
3845
  },
3845
3846
  children: /* @__PURE__ */ o("div", { className: `flex flex-col gap-2 h-full ${i ? "justify-center" : ""}`, children: /* @__PURE__ */ o(
3846
- ac,
3847
+ lc,
3847
3848
  {
3848
3849
  loading: i,
3849
3850
  wallets: A,
@@ -3854,16 +3855,16 @@ const uc = () => {
3854
3855
  ),
3855
3856
  /* @__PURE__ */ o(Un, {})
3856
3857
  ] }) });
3857
- }, Cc = () => W(an) || {
3858
+ }, xc = () => M(an) || {
3858
3859
  wallet: null,
3859
3860
  isAvailable: !1,
3860
3861
  message: null,
3861
3862
  connectedInfo: null,
3862
3863
  isLoading: !0,
3863
3864
  error: null
3864
- }, xc = (e = {}) => {
3865
- const { closeModalBeforeIframe: n = !0 } = e, [t, r] = Y(!1), s = W(X), i = Cc(), { embeddedWalletConnector: a } = ke("all"), { connectWallet: c } = Oe(), l = y(
3866
- () => a ?? (i.wallet ? Wr(i.wallet) : null),
3865
+ }, bc = (e = {}) => {
3866
+ const { closeModalBeforeIframe: n = !0 } = e, [t, r] = Y(!1), s = M(X), i = xc(), { embeddedWalletConnector: a } = Le("all"), { connectWallet: c } = Oe(), l = y(
3867
+ () => a ?? (i.wallet ? Vr(i.wallet) : null),
3867
3868
  [a, i.wallet]
3868
3869
  );
3869
3870
  if (!s)
@@ -3894,7 +3895,7 @@ const uc = () => {
3894
3895
  isLoading: t,
3895
3896
  handleEmailLogin: async (g) => {
3896
3897
  try {
3897
- const p = Ts(g);
3898
+ const p = Es(g);
3898
3899
  if (p && f(p), r(!0), !d || !i.wallet)
3899
3900
  return f("Embedded wallet initialization failed");
3900
3901
  const I = i.wallet;
@@ -3942,13 +3943,13 @@ const uc = () => {
3942
3943
  }
3943
3944
  }
3944
3945
  };
3945
- }, bc = () => {
3946
- const e = W(X);
3946
+ }, zc = () => {
3947
+ const e = M(X);
3947
3948
  if (!e)
3948
3949
  return { themeMode: "dark", themeType: "doge_dark" };
3949
- const { themeMode: n } = e.config || { themeMode: "dark" }, t = Pr();
3950
+ const { themeMode: n } = e.config || { themeMode: "dark" }, t = yr();
3950
3951
  return { themeMode: n, themeType: t, isDark: n === "dark" };
3951
- }, zc = ({
3952
+ }, Ic = ({
3952
3953
  text: e = "or",
3953
3954
  className: n = "",
3954
3955
  lineClassName: t = "bg-content2",
@@ -3957,7 +3958,7 @@ const uc = () => {
3957
3958
  /* @__PURE__ */ o("div", { className: `flex-1 h-px ${t}` }),
3958
3959
  /* @__PURE__ */ o("span", { className: r, children: e }),
3959
3960
  /* @__PURE__ */ o("div", { className: `flex-1 h-px ${t}` })
3960
- ] }), Ic = ({ isLoading: e = !1, text: n = "Loading..." }) => e ? /* @__PURE__ */ o("div", { className: "absolute inset-0 backdrop-blur-sm z-50 flex items-center justify-center", children: /* @__PURE__ */ C("div", { className: "flex flex-col items-center gap-3", children: [
3961
+ ] }), wc = ({ isLoading: e = !1, text: n = "Loading..." }) => e ? /* @__PURE__ */ o("div", { className: "absolute inset-0 backdrop-blur-sm z-50 flex items-center justify-center", children: /* @__PURE__ */ C("div", { className: "flex flex-col items-center gap-3", children: [
3961
3962
  /* @__PURE__ */ o(
3962
3963
  ue,
3963
3964
  {
@@ -3969,7 +3970,7 @@ const uc = () => {
3969
3970
  }
3970
3971
  ),
3971
3972
  /* @__PURE__ */ o("span", { className: "text-foreground text-sm font-medium", children: n })
3972
- ] }) }) : null, wc = ({ className: e, width: n = 24, height: t = 24 }) => /* @__PURE__ */ C(
3973
+ ] }) }) : null, Pc = ({ className: e, width: n = 24, height: t = 24 }) => /* @__PURE__ */ C(
3973
3974
  "svg",
3974
3975
  {
3975
3976
  width: n,
@@ -4009,7 +4010,7 @@ const uc = () => {
4009
4010
  )
4010
4011
  ]
4011
4012
  }
4012
- ), Pc = ({ className: e, width: n = 24, height: t = 24, fill: r = "white" }) => /* @__PURE__ */ o(
4013
+ ), yc = ({ className: e, width: n = 24, height: t = 24, fill: r = "white" }) => /* @__PURE__ */ o(
4013
4014
  "svg",
4014
4015
  {
4015
4016
  width: n,
@@ -4020,15 +4021,15 @@ const uc = () => {
4020
4021
  className: e,
4021
4022
  children: /* @__PURE__ */ o("path", { d: "M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z" })
4022
4023
  }
4023
- ), yc = Nt, Bc = () => {
4024
- const e = W(X), { isLoading: n, handleEmailLogin: t, handleGoogleLogin: r, handleXLogin: s } = xc({
4024
+ ), Bc = Nt, hc = () => {
4025
+ const e = M(X), { isLoading: n, handleEmailLogin: t, handleGoogleLogin: r, handleXLogin: s } = bc({
4025
4026
  closeModalBeforeIframe: !0
4026
4027
  });
4027
4028
  if (!e)
4028
4029
  throw new Error("WalletConnectContext not found");
4029
4030
  const [i, a] = Y(e.modal.state?.email || "");
4030
4031
  J(() => {
4031
- e.modal.state?.error && (Gr({
4032
+ e.modal.state?.error && (_r({
4032
4033
  title: e.modal.state.error,
4033
4034
  color: "danger",
4034
4035
  timeout: 3e3,
@@ -4039,7 +4040,7 @@ const uc = () => {
4039
4040
  await t(i);
4040
4041
  }, l = () => {
4041
4042
  e.modal.setView(V.WalletSearch);
4042
- }, { isDark: d } = bc();
4043
+ }, { isDark: d } = zc();
4043
4044
  return /* @__PURE__ */ C(
4044
4045
  F,
4045
4046
  {
@@ -4056,37 +4057,37 @@ const uc = () => {
4056
4057
  }
4057
4058
  ),
4058
4059
  children: [
4059
- /* @__PURE__ */ o(Ic, { isLoading: n || e.modal.state?.isLoading }),
4060
+ /* @__PURE__ */ o(wc, { isLoading: n || e.modal.state?.isLoading }),
4060
4061
  /* @__PURE__ */ C("div", { className: "flex flex-col justify-between min-h-0 flex-1 pt-8", children: [
4061
4062
  /* @__PURE__ */ C("div", { className: "flex flex-col gap-6", children: [
4062
4063
  /* @__PURE__ */ C("div", { className: "flex gap-3 pb-6", children: [
4063
4064
  /* @__PURE__ */ o(
4064
- k,
4065
+ L,
4065
4066
  {
4066
4067
  fullWidth: !0,
4067
4068
  size: "lg",
4068
4069
  variant: "bordered",
4069
4070
  className: "h-12 rounded-2xl border-primary bg-primary/10",
4070
4071
  onPress: s,
4071
- startContent: /* @__PURE__ */ o(Pc, { width: 20, height: 20, fill: d ? "white" : "black" }),
4072
+ startContent: /* @__PURE__ */ o(yc, { width: 20, height: 20, fill: d ? "white" : "black" }),
4072
4073
  children: /* @__PURE__ */ o("span", { className: "text-base font-medium", children: "Twitter" })
4073
4074
  }
4074
4075
  ),
4075
4076
  /* @__PURE__ */ o(
4076
- k,
4077
+ L,
4077
4078
  {
4078
4079
  fullWidth: !0,
4079
4080
  size: "lg",
4080
4081
  variant: "solid",
4081
4082
  className: "h-12 rounded-2xl bg-background",
4082
4083
  onPress: r,
4083
- startContent: /* @__PURE__ */ o(wc, { width: 20, height: 20 }),
4084
+ startContent: /* @__PURE__ */ o(Pc, { width: 20, height: 20 }),
4084
4085
  children: /* @__PURE__ */ o("span", { className: "text-base font-medium", children: "Google" })
4085
4086
  }
4086
4087
  )
4087
4088
  ] }),
4088
4089
  /* @__PURE__ */ o(
4089
- zc,
4090
+ Ic,
4090
4091
  {
4091
4092
  lineClassName: "h-[0.5px] bg-[#ebebf4]",
4092
4093
  textClassName: "text-[#8989ab] text-xs",
@@ -4095,7 +4096,7 @@ const uc = () => {
4095
4096
  ),
4096
4097
  /* @__PURE__ */ C("div", { className: "flex flex-col gap-5 items-center pb-8", children: [
4097
4098
  /* @__PURE__ */ o(
4098
- yc,
4099
+ Bc,
4099
4100
  {
4100
4101
  type: "email",
4101
4102
  placeholder: "Enter your email",
@@ -4108,7 +4109,7 @@ const uc = () => {
4108
4109
  autoComplete: "new-password",
4109
4110
  onKeyDown: (f) => {
4110
4111
  if (f.key === "Enter") {
4111
- if (!Yt(i))
4112
+ if (!Zt(i))
4112
4113
  return;
4113
4114
  c();
4114
4115
  }
@@ -4116,7 +4117,7 @@ const uc = () => {
4116
4117
  }
4117
4118
  ),
4118
4119
  /* @__PURE__ */ o(
4119
- k,
4120
+ L,
4120
4121
  {
4121
4122
  fullWidth: !0,
4122
4123
  size: "lg",
@@ -4134,8 +4135,8 @@ const uc = () => {
4134
4135
  ]
4135
4136
  }
4136
4137
  );
4137
- }, hc = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAAAgCAYAAADtwH1UAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAA4eSURBVHgBvVoJcBRVGv5eT8+Vc0KQSwKDIJccEWFFFIMu4oUQd9li0VUDuqulW0ZLYMtdkUR0Wa8iVlmUFosGXK+SLRFUVlcrBtcVF3DjxQqKDiEcUTEzuTNH9/7/6+7JZDJkjoB/5eV1v+7X781/fP///vcEUqS7KnRPs7Ot1AZRousoBnQvIDzGU91P1z4hUAdNr80OZW+tqhD+2P56TbGnJYRSBXqJDuov4IUOo7+An659AqjTIGpz7dgqLqnr2V/XPXV1X5YGQq4SNdtT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88jdBX30pLOF3E3+YTEoFAoMJqS7Apr9O+MJ96S40GUprih8Cp2pQfiqt2bsThI4NoYqrJeMMfsCPmRJ3hE3SKhkTUObN/4GfDmhuw9tklGNTUj035rbQpP/6n25TvEfzuefch/3mX31srdOUKpBgVtccoTEckFwdbp2F83kdwq61J+8rEXE7MFMKtuH7sbvzDPxstLS55MsISgk01BMEb84ZQRDRasqKnTncuvjhrJqbRBksmUZFoboH6773omD1Dhqynyimz5nd0dPjo8lpi/pc9xkzUIRNLiKX+HsxS3MNw/X824MDhIaSWNiMktVnhqW5GRMYeAbfbFCtMNU5NDGs+jDUbr+u3JahjvPJgVqY7ZezUGfNJAD6c5GBWwuUfW8KU2cs3CUW4Uw1PY4ktYfeJq4khQXhzvkC6xNucvzxzO4YXKvio41xSIc04oGXmhpTodbcFKEaySNZt7ny8f94vkOsO4qyD6YenbAkO2nCJkH52njdJMjL2LGjS+dP7rPUEOXxWlIObJcT84wnHSvYx48REpIJevQmpk1/o+iYbhbdriy9gDSUHr6fen09LR8Qm2v6tcs35EHc/21bxSUvhTVorZUGD3dqvCCMfpFgpC1Ind7aO7ALhP8d1ZFP5wsIq83BuBXnqtOZPc9hE6lllHs6toHKTdTCX0xZcYg/ncnhpHcylKIf3ezfRo6qMD+fGEx/WbXO28f7xHOrG+Vcv4o5n8/F0gq7avK7ex9ObXi322LJRSoyYQ+9Npc1fb8/j6cJnHE9HbaQNWwuu7X08fVedr/SdvR1zPv3ujKltoWxve9jtYUjKc7T7C5xtvglDA3U/n2yvnTbZm/h4eps8Xj6Hxk04f3k8XUMtcvs8nj6HSuL+GRxP/z/hFFWXpmDkiwAAAABJRU5ErkJggg==", Gn = () => {
4139
+ const e = M(X);
4139
4140
  if (!e)
4140
4141
  throw new Error("useAccount must be used within WalletConnectProvider");
4141
4142
  return {
@@ -4155,8 +4156,8 @@ const uc = () => {
4155
4156
  // signAndSendTransaction: context.signAndSendTransaction,
4156
4157
  // sendTransaction: context.sendTransaction,
4157
4158
  };
4158
- }, Wa = () => {
4159
- const e = W(X);
4159
+ }, Va = () => {
4160
+ const e = M(X);
4160
4161
  if (!e)
4161
4162
  throw new Error("useConnectors must be used within WalletConnectProvider");
4162
4163
  const n = y(() => e.account?.currentWallet?.connectors || null, [e.account?.currentWallet]), t = y(() => e.account?.currentProvider || null, [e.account?.currentProvider]);
@@ -4172,14 +4173,14 @@ function Mc(e = !1) {
4172
4173
  onOpenChange: a
4173
4174
  };
4174
4175
  }
4175
- const Wc = (e) => {
4176
+ const Vc = (e) => {
4176
4177
  const { isOpen: n, onOpen: t, onClose: r } = Mc(), [s, i] = Y(e), [a, c] = Y(null), [l, d] = Y([]);
4177
4178
  J(() => {
4178
4179
  s !== e && i(e);
4179
4180
  }, [e]);
4180
4181
  const f = O(
4181
4182
  (I, x, w) => {
4182
- s === I && !w || (w || d((L) => [...L, { view: s, state: a }]), i(I), c(x || null));
4183
+ s === I && !w || (w || d((k) => [...k, { view: s, state: a }]), i(I), c(x || null));
4183
4184
  },
4184
4185
  [s, a]
4185
4186
  ), A = O(() => {
@@ -4216,20 +4217,20 @@ const Wc = (e) => {
4216
4217
  setCurrentViewState: g
4217
4218
  };
4218
4219
  };
4219
- let xe = null, Nr = null;
4220
+ let xe = null, jr = null;
4220
4221
  function wt(e) {
4221
4222
  xe = e;
4222
4223
  }
4223
- function Vc() {
4224
+ function Xc() {
4224
4225
  return xe;
4225
4226
  }
4226
4227
  function pn(e) {
4227
- Nr = e;
4228
- }
4229
- function jr() {
4230
- return Nr;
4228
+ jr = e;
4231
4229
  }
4232
4230
  function Tr() {
4231
+ return jr;
4232
+ }
4233
+ function Er() {
4233
4234
  if (typeof window > "u")
4234
4235
  return xe;
4235
4236
  if (xe)
@@ -4248,32 +4249,32 @@ function ln() {
4248
4249
  return xe !== null;
4249
4250
  }
4250
4251
  function Rn() {
4251
- const e = Tr();
4252
+ const e = Er();
4252
4253
  return ln() ? e !== null : !1;
4253
4254
  }
4254
- function Er() {
4255
+ function Sr() {
4255
4256
  if (!ln())
4256
4257
  return null;
4257
- const e = Rn(), n = As();
4258
+ const e = Rn(), n = us();
4258
4259
  return e ? n : null;
4259
4260
  }
4260
- function Xc() {
4261
+ function Nc() {
4261
4262
  if (!ln())
4262
4263
  return null;
4263
- const e = Rn(), n = us();
4264
+ const e = Rn(), n = vs();
4264
4265
  return e ? n : null;
4265
4266
  }
4266
- function Nc() {
4267
+ function jc() {
4267
4268
  if (!ln())
4268
4269
  return null;
4269
- const e = Rn(), n = fs();
4270
+ const e = Rn(), n = gs();
4270
4271
  return e ? n : null;
4271
4272
  }
4272
4273
  function Xn(e, n, t) {
4273
- const r = Vc();
4274
+ const r = Xc();
4274
4275
  if (!r)
4275
4276
  return null;
4276
- const s = jr(), i = t || s || r.connectors;
4277
+ const s = Tr(), i = t || s || r.connectors;
4277
4278
  return !i || i.length === 0 ? null : i.find((a) => {
4278
4279
  const c = (a.id || "").toLowerCase(), l = (a.name || "").toLowerCase(), d = e.toLowerCase(), f = n?.toLowerCase();
4279
4280
  return c === d || c === f || l === d || l === f || c.includes(d) || l.includes(d);
@@ -4282,7 +4283,7 @@ function Xn(e, n, t) {
4282
4283
  const Cn = (e, n, t = "Wallet is performing an action, please wait...") => {
4283
4284
  if (e)
4284
4285
  throw n(t), new Error(t);
4285
- }, jc = ({
4286
+ }, Tc = ({
4286
4287
  walletState: e,
4287
4288
  modalState: n,
4288
4289
  setWalletState: t,
@@ -4290,10 +4291,10 @@ const Cn = (e, n, t = "Wallet is performing an action, please wait...") => {
4290
4291
  resetWalletState: s,
4291
4292
  setMainView: i
4292
4293
  }) => {
4293
- const { currentProvider: a, currentWallet: c, isConnected: l, actionsLoading: d } = e, A = W(an)?.connectedInfo ?? null, u = Er(), v = Xc(), m = jr(), g = O(
4294
+ const { currentProvider: a, currentWallet: c, isConnected: l, actionsLoading: d } = e, A = M(an)?.connectedInfo ?? null, u = Sr(), v = Nc(), m = Tr(), g = O(
4294
4295
  async (b) => {
4295
- const { wallet: z, chainType: M } = b, S = (z.connectors[M] || null)?.provider || null;
4296
- if (l && c?.info?.uuid === z.info.uuid && M === e.chainType)
4296
+ const { wallet: z, chainType: W } = b, S = (z.connectors[W] || null)?.provider || null;
4297
+ if (l && c?.info?.uuid === z.info.uuid && W === e.chainType)
4297
4298
  throw r("Wallet is already connected"), new Error("Wallet is already connected");
4298
4299
  if (!S && !jt())
4299
4300
  throw r("Provider not available for this chain type"), new Error("Provider not available for this chain type");
@@ -4311,15 +4312,15 @@ const Cn = (e, n, t = "Wallet is performing an action, please wait...") => {
4311
4312
  },
4312
4313
  {
4313
4314
  provider: S,
4314
- chainType: M,
4315
+ chainType: W,
4315
4316
  walletInfo: z.info
4316
4317
  }
4317
4318
  ), D = {
4318
4319
  address: B.address,
4319
4320
  chainId: B.chainId || "",
4320
- chainType: M
4321
+ chainType: W
4321
4322
  };
4322
- if (await bn(800), u && M === T.EVM && m)
4323
+ if (await bn(800), u && W === T.EVM && m)
4323
4324
  try {
4324
4325
  const N = Xn(z.info.uuid, z.info.rdns, m);
4325
4326
  if (N) {
@@ -4333,7 +4334,7 @@ const Cn = (e, n, t = "Wallet is performing an action, please wait...") => {
4333
4334
  console.warn("Failed to connect wagmi connector:", N);
4334
4335
  }
4335
4336
  const j = { ...e.providers };
4336
- if (j[M] = {
4337
+ if (j[W] = {
4337
4338
  provider: S,
4338
4339
  address: B.address,
4339
4340
  connectedAt: Date.now(),
@@ -4341,7 +4342,7 @@ const Cn = (e, n, t = "Wallet is performing an action, please wait...") => {
4341
4342
  }, z.isEmbeddedWallet && A) {
4342
4343
  if (A.evmProvider?.connected && A.evmProvider.address?.[0]) {
4343
4344
  const N = A.evmProvider.address[0];
4344
- if (M !== T.EVM || !j[T.EVM]) {
4345
+ if (W !== T.EVM || !j[T.EVM]) {
4345
4346
  const Q = (z.connectors[T.EVM] || null)?.provider || null;
4346
4347
  Q && (j[T.EVM] = {
4347
4348
  provider: Q,
@@ -4353,7 +4354,7 @@ const Cn = (e, n, t = "Wallet is performing an action, please wait...") => {
4353
4354
  }
4354
4355
  if (A.solanaProvider?.connected && A.solanaProvider.address?.[0]) {
4355
4356
  const N = A.solanaProvider.address[0];
4356
- if (M !== T.SOLANA || !j[T.SOLANA]) {
4357
+ if (W !== T.SOLANA || !j[T.SOLANA]) {
4357
4358
  const Q = (z.connectors[T.SOLANA] || null)?.provider || null;
4358
4359
  Q && (j[T.SOLANA] = {
4359
4360
  provider: Q,
@@ -4365,7 +4366,7 @@ const Cn = (e, n, t = "Wallet is performing an action, please wait...") => {
4365
4366
  }
4366
4367
  if (A.dogeProvider?.connected && A.dogeProvider.address?.[0]) {
4367
4368
  const N = A.dogeProvider.address[0];
4368
- if (M !== T.DOGECOIN || !j[T.DOGECOIN]) {
4369
+ if (W !== T.DOGECOIN || !j[T.DOGECOIN]) {
4369
4370
  const Q = (z.connectors[T.DOGECOIN] || null)?.provider || null;
4370
4371
  Q && (j[T.DOGECOIN] = {
4371
4372
  provider: Q,
@@ -4382,7 +4383,7 @@ const Cn = (e, n, t = "Wallet is performing an action, please wait...") => {
4382
4383
  isConnected: !0,
4383
4384
  address: B.address,
4384
4385
  chainId: B.chainId,
4385
- chainType: M,
4386
+ chainType: W,
4386
4387
  balance: "0.0",
4387
4388
  actionsLoading: !1,
4388
4389
  currentProvider: S,
@@ -4394,10 +4395,10 @@ const Cn = (e, n, t = "Wallet is performing an action, please wait...") => {
4394
4395
  connectedAt: Z.connectedAt,
4395
4396
  walletId: Z.walletId
4396
4397
  }));
4397
- return Es({
4398
+ return Ss({
4398
4399
  address: B.address,
4399
4400
  chainId: B.chainId,
4400
- chainType: M,
4401
+ chainType: W,
4401
4402
  // TODO: add balance
4402
4403
  balance: "0.0",
4403
4404
  walletInfo: {
@@ -4417,7 +4418,7 @@ const Cn = (e, n, t = "Wallet is performing an action, please wait...") => {
4417
4418
  chainType: T.EVM,
4418
4419
  account: { address: D.address, chainId: D.chainId },
4419
4420
  provider: S
4420
- }), t((N) => ({ ...N, chainId: fn.evm_1.chainId, chainType: M }))), D;
4421
+ }), t((N) => ({ ...N, chainId: fn.evm_1.chainId, chainType: W }))), D;
4421
4422
  } catch (B) {
4422
4423
  console.error("Connection failed:", B);
4423
4424
  const D = B instanceof Error ? B.message : "Connection failed";
@@ -4467,25 +4468,25 @@ const Cn = (e, n, t = "Wallet is performing an action, please wait...") => {
4467
4468
  ]), I = O(
4468
4469
  async ({ chainInfo: b, chainType: z }) => {
4469
4470
  Cn(d, r);
4470
- const M = b.id.toString(), E = {
4471
+ const W = b.id.toString(), E = {
4471
4472
  chainType: z,
4472
4473
  account: e,
4473
4474
  provider: e.currentProvider
4474
4475
  // Extract actual provider from ConnectorProvider
4475
4476
  }, S = {
4476
- chainId: M,
4477
+ chainId: W,
4477
4478
  chainName: b.name,
4478
- rpcUrls: b.rpcUrls.default.http,
4479
+ rpcUrls: [...b.rpcUrls.default.http],
4479
4480
  iconUrls: [],
4480
4481
  nativeCurrency: b.nativeCurrency,
4481
4482
  blockExplorerUrls: [b.blockExplorers?.default.url || ""]
4482
4483
  };
4483
4484
  try {
4484
- return t((B) => ({ ...B, actionsLoading: !0 })), await et(M, E), t((B) => ({ ...B, chainId: M, chainType: z })), !0;
4485
+ return t((B) => ({ ...B, actionsLoading: !0 })), await et(W, E), t((B) => ({ ...B, chainId: W, chainType: z })), !0;
4485
4486
  } catch (B) {
4486
4487
  if ((B && typeof B == "object" && "code" in B ? B.code : void 0) === 4902)
4487
4488
  try {
4488
- return await rs(S, E), !0;
4489
+ return await is(S, E), !0;
4489
4490
  } catch (j) {
4490
4491
  throw r(j instanceof Error ? j.message : "Add chain failed"), console.error("Add chain failed:", j), j;
4491
4492
  }
@@ -4500,7 +4501,7 @@ const Cn = (e, n, t = "Wallet is performing an action, please wait...") => {
4500
4501
  if (Cn(d, r), !e.isConnected || !e.currentProvider || !e.chainType)
4501
4502
  throw new Error("Wallet not connected");
4502
4503
  t((E) => ({ ...E, actionsLoading: !0 }));
4503
- const M = { ...{
4504
+ const W = { ...{
4504
4505
  scheme: "https",
4505
4506
  domain: typeof window < "u" ? window.location.host : "",
4506
4507
  statement: "Clicking Sign or Approve only means you have proved this wallet is owned by you. This request will not trigger any blockchain transaction or cost any gas fee.",
@@ -4509,7 +4510,7 @@ const Cn = (e, n, t = "Wallet is performing an action, please wait...") => {
4509
4510
  issuedAt: (/* @__PURE__ */ new Date()).toISOString()
4510
4511
  }, ...b || {} };
4511
4512
  try {
4512
- const E = await ss(M, {
4513
+ const E = await os(W, {
4513
4514
  chainType: e.chainType,
4514
4515
  account: {
4515
4516
  address: e.address,
@@ -4544,11 +4545,11 @@ const Cn = (e, n, t = "Wallet is performing an action, please wait...") => {
4544
4545
  async (b) => {
4545
4546
  if (Cn(d, r), !e.isConnected || !e.currentProvider || !e.chainType)
4546
4547
  throw new Error("Wallet not connected");
4547
- const { message: z, nonce: M } = b;
4548
+ const { message: z, nonce: W } = b;
4548
4549
  if (!z || z.length === 0)
4549
4550
  throw new Error("Message is required");
4550
- return t((S) => ({ ...S, actionsLoading: !0 })), await is(
4551
- { message: z, nonce: M || Math.random().toString(36).substring(7) },
4551
+ return t((S) => ({ ...S, actionsLoading: !0 })), await cs(
4552
+ { message: z, nonce: W || Math.random().toString(36).substring(7) },
4552
4553
  {
4553
4554
  chainType: e.chainType,
4554
4555
  account: {
@@ -4577,7 +4578,7 @@ const Cn = (e, n, t = "Wallet is performing an action, please wait...") => {
4577
4578
  t,
4578
4579
  r
4579
4580
  ]
4580
- ), L = O(
4581
+ ), k = O(
4581
4582
  (b) => t((z) => ({ ...z, currentWallet: b })),
4582
4583
  [t]
4583
4584
  );
@@ -4590,10 +4591,10 @@ const Cn = (e, n, t = "Wallet is performing an action, please wait...") => {
4590
4591
  // signTransaction,
4591
4592
  // signAndSendTransaction,
4592
4593
  // sendTransaction,
4593
- _setCurrentWallet: L
4594
+ _setCurrentWallet: k
4594
4595
  };
4595
- }, Va = () => {
4596
- const e = W(X);
4596
+ }, Xa = () => {
4597
+ const e = M(X);
4597
4598
  if (!e)
4598
4599
  throw new Error("useWalletConnect must be used within WalletConnectProvider");
4599
4600
  return {
@@ -4611,14 +4612,14 @@ const Cn = (e, n, t = "Wallet is performing an action, please wait...") => {
4611
4612
  connect: (n) => e.connect(n),
4612
4613
  disconnect: e.disconnect
4613
4614
  };
4614
- }, Tc = () => {
4615
+ }, Ec = () => {
4615
4616
  const { switchChain: e } = Gn();
4616
4617
  return En({
4617
4618
  mutationKey: ["switch-chain"],
4618
4619
  mutationFn: async (n) => e(n)
4619
4620
  });
4620
4621
  }, Pt = ({ chainType: e, chain: n }) => {
4621
- const { mutateAsync: t, isPending: r } = Tc(), s = W(X), { connectWallet: i } = Oe();
4622
+ const { mutateAsync: t, isPending: r } = Ec(), s = M(X), { connectWallet: i } = Oe();
4622
4623
  if (!n || !s)
4623
4624
  throw new Error(`Chain ${e} not found`);
4624
4625
  const { currentWallet: a } = s.account;
@@ -4660,7 +4661,7 @@ const Cn = (e, n, t = "Wallet is performing an action, please wait...") => {
4660
4661
  }
4661
4662
  };
4662
4663
  return /* @__PURE__ */ o(
4663
- k,
4664
+ L,
4664
4665
  {
4665
4666
  fullWidth: !0,
4666
4667
  size: "lg",
@@ -4682,7 +4683,7 @@ const Cn = (e, n, t = "Wallet is performing an action, please wait...") => {
4682
4683
  children: /* @__PURE__ */ o("span", { className: "flex-1 text-left text-sm font-medium", children: n?.chainInfo?.name })
4683
4684
  }
4684
4685
  );
4685
- }, Ec = ({ chains: e }) => {
4686
+ }, Sc = ({ chains: e }) => {
4686
4687
  const { chainType: n } = Gn(), { currentChains: t, otherChains: r } = y(() => {
4687
4688
  const s = [], i = [];
4688
4689
  return e.map((a) => {
@@ -4699,29 +4700,29 @@ const Cn = (e, n, t = "Wallet is performing an action, please wait...") => {
4699
4700
  }), /* @__PURE__ */ C("div", { className: "flex flex-col w-full text-foreground", children: [
4700
4701
  t[0]?.chainType === "evm" && /* @__PURE__ */ C("div", { className: "text-sm flex gap-2 mt-2 mb-4 items-center", children: [
4701
4702
  /* @__PURE__ */ o("span", { children: "EVM network" }),
4702
- /* @__PURE__ */ o("img", { src: hc, alt: "Evm chains", className: "h-4 w-auto" })
4703
+ /* @__PURE__ */ o("img", { src: Wc, alt: "Evm chains", className: "h-4 w-auto" })
4703
4704
  ] }),
4704
4705
  /* @__PURE__ */ o("div", { className: "flex flex-col gap-1 w-full mb-4", children: t?.map((s, i) => /* @__PURE__ */ o(Pt, { chainType: s.chainType, chain: s }, `${s.name}-${i}`)) }),
4705
4706
  /* @__PURE__ */ o("div", { className: "text-sm flex gap-2 mt-2 mb-4", children: /* @__PURE__ */ o("span", { children: "Other network" }) }),
4706
4707
  /* @__PURE__ */ o("div", { className: "flex flex-col gap-1 w-full mb-4", children: r?.map((s, i) => /* @__PURE__ */ o(Pt, { chainType: s.chainType, chain: s }, `${s.name}-${i}`)) })
4707
4708
  ] });
4708
- }, Sc = () => {
4709
- const e = W(X);
4709
+ }, Oc = () => {
4710
+ const e = M(X);
4710
4711
  if (!e)
4711
4712
  throw new Error("WalletConnectContext not found");
4712
4713
  const { currentWallet: n } = e.account;
4713
4714
  if (!n)
4714
4715
  throw new Error("Current wallet not found");
4715
- const { chains: t, isLoading: r } = Lt(), s = Ir(e.config?.chains, n?.connectors, {
4716
+ const { chains: t, isLoading: r } = Yt(), s = wr(e.config?.chains, n?.connectors, {
4716
4717
  apiChains: r ? void 0 : t
4717
4718
  });
4718
- return /* @__PURE__ */ o(F, { title: "Select network", onBack: () => e?.modal.backView(), children: /* @__PURE__ */ o("div", { className: "flex flex-col items-center justify-center min-h-0 h-full", children: r ? /* @__PURE__ */ o("div", { className: "flex items-center justify-center py-8", children: /* @__PURE__ */ o("span", { className: "text-foreground-500", children: "Loading chains..." }) }) : /* @__PURE__ */ o("div", { className: "w-full overflow-y-auto max-h-[60vh] pr-2", children: /* @__PURE__ */ o(Ec, { chains: s }) }) }) });
4719
- }, Oc = ({ chainType: e, onSelect: n }) => {
4719
+ return /* @__PURE__ */ o(F, { title: "Select network", onBack: () => e?.modal.backView(), children: /* @__PURE__ */ o("div", { className: "flex flex-col items-center justify-center min-h-0 h-full", children: r ? /* @__PURE__ */ o("div", { className: "flex items-center justify-center py-8", children: /* @__PURE__ */ o("span", { className: "text-foreground-500", children: "Loading chains..." }) }) : /* @__PURE__ */ o("div", { className: "w-full overflow-y-auto max-h-[60vh] pr-2", children: /* @__PURE__ */ o(Sc, { chains: s }) }) }) });
4720
+ }, Lc = ({ chainType: e, onSelect: n }) => {
4720
4721
  const t = q[e];
4721
4722
  if (!t)
4722
4723
  throw new Error(`Chain ${e} not found`);
4723
4724
  return /* @__PURE__ */ o(
4724
- k,
4725
+ L,
4725
4726
  {
4726
4727
  fullWidth: !0,
4727
4728
  color: "default",
@@ -4735,15 +4736,15 @@ const Cn = (e, n, t = "Wallet is performing an action, please wait...") => {
4735
4736
  }
4736
4737
  );
4737
4738
  }, kc = ({ providers: e, onSelect: n }) => /* @__PURE__ */ o("div", { className: "flex flex-col gap-2 w-full pb-6", children: e.map((t, r) => /* @__PURE__ */ o(
4738
- Oc,
4739
+ Lc,
4739
4740
  {
4740
4741
  chainType: t.chainType,
4741
4742
  provider: t.provider,
4742
4743
  onSelect: () => n(t.chainType)
4743
4744
  },
4744
4745
  `${t.chainType}-${t.protocol}-${r}`
4745
- )) }), Lc = () => {
4746
- const e = W(X);
4746
+ )) }), Yc = () => {
4747
+ const e = M(X);
4747
4748
  if (!e)
4748
4749
  throw new Error("WalletConnectContext not found");
4749
4750
  const { connectWallet: n } = Oe(), { currentWallet: t } = e.account;
@@ -4775,8 +4776,8 @@ const Cn = (e, n, t = "Wallet is performing an action, please wait...") => {
4775
4776
  ] }),
4776
4777
  /* @__PURE__ */ o(kc, { providers: s, onSelect: i })
4777
4778
  ] }) });
4778
- }, Yc = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUwIiBoZWlnaHQ9IjE1MCIgdmlld0JveD0iMCAwIDE1MCAxNTAiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwO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I3MC43OTA4IiB5MT0iODguMzMxNyIgeDI9IjE0Ni43NDQiIHkyPSI3Mi41MDkzIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+CjxzdG9wIHN0b3AtY29sb3I9IndoaXRlIiBzdG9wLW9wYWNpdHk9IjAuMiIvPgo8c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IndoaXRlIiBzdG9wLW9wYWNpdHk9IjAiLz4KPC9saW5lYXJHcmFkaWVudD4KPGxpbmVhckdyYWRpZW50IGlkPSJwYWludDZfbGluZWFyXzE0MV8xMDk0IiB4MT0iNjUuMjkxIiB5MT0iNTAuOTEyOSIgeDI9Ijk4LjU4NDMiIHkyPSI2NS41ODY0IiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+CjxzdG9wIHN0b3AtY29sb3I9IiNCQkZGQTEiLz4KPHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjQUNGRThCIi8+CjwvbGluZWFyR3JhZGllbnQ+CjwvZGVmcz4KPC9zdmc+Cg==", Dc = () => {
4780
+ const [e, n] = Y(!1), [t, r] = Y(null), s = M(X);
4780
4781
  if (!s)
4781
4782
  throw new Error("WalletConnectContext not found");
4782
4783
  const { onCancel: i, onConfirm: a } = s.modal.state, c = () => {
@@ -4796,13 +4797,13 @@ const Cn = (e, n, t = "Wallet is performing an action, please wait...") => {
4796
4797
  }, 1e3)), () => {
4797
4798
  l.current && (clearTimeout(l.current), l.current = null);
4798
4799
  }), [e, s.modal]), /* @__PURE__ */ o(F, { onClose: c, title: "Verify wallet ownership", onBack: c, children: /* @__PURE__ */ C("div", { className: "flex flex-col items-center justify-center py-6 gap-6 flex-1", children: [
4799
- /* @__PURE__ */ o(fe, { src: e ? Zc : Yc, alt: "Sign In Icon", className: "rounded-full" }),
4800
+ /* @__PURE__ */ o(fe, { src: e ? Jc : Zc, alt: "Sign In Icon", className: "rounded-full" }),
4800
4801
  /* @__PURE__ */ C("div", { className: "text-sm text-center", children: [
4801
4802
  /* @__PURE__ */ o("p", { className: "text-foreground", children: e ? "Ownership verified" : "Verify yourself as the owner of this wallet" }),
4802
4803
  t ? /* @__PURE__ */ o("p", { className: "text-foreground/60", children: t }) : e ? null : /* @__PURE__ */ o("p", { className: "text-foreground/60", children: "Please sign the message request in your wallet to continue." })
4803
4804
  ] }),
4804
4805
  /* @__PURE__ */ o("div", { className: "w-full px-4", children: /* @__PURE__ */ o(
4805
- k,
4806
+ L,
4806
4807
  {
4807
4808
  fullWidth: !0,
4808
4809
  size: "lg",
@@ -4824,15 +4825,15 @@ const Cn = (e, n, t = "Wallet is performing an action, please wait...") => {
4824
4825
  }
4825
4826
  ) })
4826
4827
  ] }) });
4827
- }, Dc = "Please reselect the network you want to switch to", Fc = ae.unsupported, Hc = () => {
4828
- const e = W(X);
4828
+ }, Fc = "Please reselect the network you want to switch to", Hc = ae.unsupported, Qc = () => {
4829
+ const e = M(X);
4829
4830
  if (!e)
4830
4831
  throw new Error("WalletConnectContext not found");
4831
4832
  const n = e.modal.state?.name || "-", t = () => {
4832
4833
  e?.modal.backView();
4833
4834
  };
4834
4835
  return /* @__PURE__ */ o(F, { title: "Select network", onBack: t, children: /* @__PURE__ */ C("div", { className: "flex flex-col items-center justify-center", children: [
4835
- /* @__PURE__ */ o("div", { className: "flex justify-center", children: /* @__PURE__ */ o(ze, { icon: Fc, className: "size-14 overflow-hidden rounded-full" }) }),
4836
+ /* @__PURE__ */ o("div", { className: "flex justify-center", children: /* @__PURE__ */ o(ze, { icon: Hc, className: "size-14 overflow-hidden rounded-full" }) }),
4836
4837
  /* @__PURE__ */ C("div", { className: "mt-6 flex flex-col justify-center items-center", children: [
4837
4838
  /* @__PURE__ */ C("div", { className: "text-t1 text-sm text-center", children: [
4838
4839
  "Current Wallet Does Not Support ",
@@ -4841,18 +4842,18 @@ const Cn = (e, n, t = "Wallet is performing an action, please wait...") => {
4841
4842
  n,
4842
4843
  " Chain"
4843
4844
  ] }),
4844
- /* @__PURE__ */ o("div", { className: "text-[#A9A29D] mt-2 text-sm text-center", children: Dc })
4845
+ /* @__PURE__ */ o("div", { className: "text-[#A9A29D] mt-2 text-sm text-center", children: Fc })
4845
4846
  ] }),
4846
- /* @__PURE__ */ o(k, { className: "w-full my-4", onPress: t, children: "Got it" })
4847
+ /* @__PURE__ */ o(L, { className: "w-full my-4", onPress: t, children: "Got it" })
4847
4848
  ] }) });
4848
- }, Qc = () => {
4849
- const e = W(X);
4849
+ }, Kc = () => {
4850
+ const e = M(X);
4850
4851
  if (!e)
4851
4852
  throw new Error("WalletConnectContext not found");
4852
4853
  const { currentWallet: n } = e.account;
4853
4854
  if (!n)
4854
4855
  throw new Error("Current wallet not found");
4855
- const [t, r] = Y(""), { copy: s, copied: i } = Ln(), a = () => {
4856
+ const [t, r] = Y(""), { copy: s, copied: i } = kn(), a = () => {
4856
4857
  s(t);
4857
4858
  }, c = e.modal.state?.chainType || "evm", l = y(() => n.providers?.[c]?.provider, [n, c]);
4858
4859
  return J(() => {
@@ -4878,58 +4879,58 @@ const Cn = (e, n, t = "Wallet is performing an action, please wait...") => {
4878
4879
  }, title: "Wallet Connect", children: /* @__PURE__ */ C("div", { className: "flex flex-col items-center justify-center px-5 pb-6 gap-4", children: [
4879
4880
  /* @__PURE__ */ o("p", { className: "text-sm text-foreground/80 text-center", children: "Scan the QR code with your wallet camera" }),
4880
4881
  /* @__PURE__ */ o(
4881
- yr,
4882
+ Br,
4882
4883
  {
4883
4884
  content: t,
4884
4885
  logo: n.info.icon,
4885
4886
  logoBackground: n.info.iconBackground
4886
4887
  }
4887
4888
  ),
4888
- /* @__PURE__ */ o(k, { variant: "light", size: "lg", fullWidth: !0, onPress: a, children: i ? "Copied!" : "Copy Link" })
4889
+ /* @__PURE__ */ o(L, { variant: "light", size: "lg", fullWidth: !0, onPress: a, children: i ? "Copied!" : "Copy Link" })
4889
4890
  ] }) });
4890
- }, Sr = {
4891
- [V.Loading]: () => /* @__PURE__ */ o(rc, {}),
4892
- [V.Error]: () => /* @__PURE__ */ o(qo, {}),
4893
- [V.Connecting]: () => /* @__PURE__ */ o(Ko, {}),
4894
- [V.WalletList]: () => /* @__PURE__ */ o(uc, {}),
4895
- [V.WalletSearch]: () => /* @__PURE__ */ o(pc, {}),
4896
- [V.WalletSelectProviders]: () => /* @__PURE__ */ o(Lc, {}),
4897
- [V.WalletInstallGuide]: () => /* @__PURE__ */ o(tc, {}),
4898
- [V.Account]: () => /* @__PURE__ */ o(Fo, {}),
4899
- [V.SelectChains]: () => /* @__PURE__ */ o(Sc, {}),
4900
- [V.ChangeNetwork]: () => /* @__PURE__ */ o(Ho, {}),
4901
- [V.SignInWallet]: () => /* @__PURE__ */ o(Jc, {}),
4902
- [V.WalletConnect]: () => /* @__PURE__ */ o(Qc, {}),
4903
- [V.UnsupportChain]: () => /* @__PURE__ */ o(Hc, {}),
4904
- [V.WalletHome]: () => /* @__PURE__ */ o(Bc, {})
4905
- }, Kc = (e) => {
4906
- const { hideHeader: n, hideBody: t, onBack: r, ...s } = e, i = y(() => r ? /* @__PURE__ */ o(k, { isIconOnly: !0, size: "sm", variant: "light", onPress: r, radius: "full", children: /* @__PURE__ */ o(Mt, {}) }) : null, [r]), a = y(() => n ? null : /* @__PURE__ */ C(Rr, { className: "flex items-center justify-between", children: [
4891
+ }, Or = {
4892
+ [V.Loading]: () => /* @__PURE__ */ o(sc, {}),
4893
+ [V.Error]: () => /* @__PURE__ */ o(Uo, {}),
4894
+ [V.Connecting]: () => /* @__PURE__ */ o(qo, {}),
4895
+ [V.WalletList]: () => /* @__PURE__ */ o(gc, {}),
4896
+ [V.WalletSearch]: () => /* @__PURE__ */ o(Cc, {}),
4897
+ [V.WalletSelectProviders]: () => /* @__PURE__ */ o(Yc, {}),
4898
+ [V.WalletInstallGuide]: () => /* @__PURE__ */ o(rc, {}),
4899
+ [V.Account]: () => /* @__PURE__ */ o(Ho, {}),
4900
+ [V.SelectChains]: () => /* @__PURE__ */ o(Oc, {}),
4901
+ [V.ChangeNetwork]: () => /* @__PURE__ */ o(Qo, {}),
4902
+ [V.SignInWallet]: () => /* @__PURE__ */ o(Dc, {}),
4903
+ [V.WalletConnect]: () => /* @__PURE__ */ o(Kc, {}),
4904
+ [V.UnsupportChain]: () => /* @__PURE__ */ o(Qc, {}),
4905
+ [V.WalletHome]: () => /* @__PURE__ */ o(hc, {})
4906
+ }, qc = (e) => {
4907
+ const { hideHeader: n, hideBody: t, onBack: r, ...s } = e, i = y(() => r ? /* @__PURE__ */ o(L, { isIconOnly: !0, size: "sm", variant: "light", onPress: r, radius: "full", children: /* @__PURE__ */ o(Wt, {}) }) : null, [r]), a = y(() => n ? null : /* @__PURE__ */ C($r, { className: "flex items-center justify-between", children: [
4907
4908
  i,
4908
4909
  /* @__PURE__ */ o("span", { children: e.title }),
4909
- /* @__PURE__ */ o(k, { isIconOnly: !0, size: "sm", variant: "light", onPress: e.onClose, radius: "full", children: /* @__PURE__ */ o(Wt, {}) })
4910
- ] }), [n, e.title, e.onClose, i]), c = y(() => t ? null : /* @__PURE__ */ o(_r, { className: "px-5", children: e.children }), [t, e.children]);
4910
+ /* @__PURE__ */ o(L, { isIconOnly: !0, size: "sm", variant: "light", onPress: e.onClose, radius: "full", children: /* @__PURE__ */ o(Mt, {}) })
4911
+ ] }), [n, e.title, e.onClose, i]), c = y(() => t ? null : /* @__PURE__ */ o(es, { className: "px-5", children: e.children }), [t, e.children]);
4911
4912
  return /* @__PURE__ */ o(
4912
4913
  Xt,
4913
4914
  {
4914
4915
  ...s,
4915
4916
  hideCloseButton: !0,
4916
4917
  portalContainer: document.getElementById("modal-container") || void 0,
4917
- children: /* @__PURE__ */ C($r, { className: "bg-content1", children: [
4918
+ children: /* @__PURE__ */ C(ns, { className: "bg-content1", children: [
4918
4919
  a,
4919
4920
  c
4920
4921
  ] })
4921
4922
  }
4922
4923
  );
4923
- }, qc = () => {
4924
- const e = W(X);
4924
+ }, Uc = () => {
4925
+ const e = M(X);
4925
4926
  if (!e)
4926
4927
  return null;
4927
4928
  const { modal: n, connection: t } = e, r = () => {
4928
- const s = Sr[n.view];
4929
+ const s = Or[n.view];
4929
4930
  return s ? s(e) : null;
4930
4931
  };
4931
4932
  return /* @__PURE__ */ o(
4932
- Kc,
4933
+ qc,
4933
4934
  {
4934
4935
  hideHeader: !0,
4935
4936
  isOpen: n.isOpen,
@@ -4940,23 +4941,23 @@ const Cn = (e, n, t = "Wallet is performing an action, please wait...") => {
4940
4941
  }
4941
4942
  );
4942
4943
  };
4943
- function Uc(e) {
4944
+ function Gc(e) {
4944
4945
  if (!e) return !0;
4945
4946
  const n = e.basicLogins?.includes("email") ?? !1, t = (e.socialLogins?.length ?? 0) > 0;
4946
4947
  return n || t;
4947
4948
  }
4948
- function Gc(e, n) {
4949
+ function Rc(e, n) {
4949
4950
  return n ? e?.error ? "error" : !e || e.isLoading ? "initializing" : e.wallet ? "ready" : "unavailable" : "disabled";
4950
4951
  }
4951
- function Rc(e, n) {
4952
+ function _c(e, n) {
4952
4953
  return n ? "connecting" : e ? "connected" : "disconnected";
4953
4954
  }
4954
- const _c = ["embeddedWallet"];
4955
- async function $c(e, n) {
4956
- const t = vs.getInstance(), r = await t.init({
4955
+ const $c = ["embeddedWallet"], Lr = "prod-dogeos";
4956
+ async function ea(e, n) {
4957
+ const t = ps.getInstance(), r = await t.init({
4957
4958
  ...e,
4958
4959
  clientId: e.clientId,
4959
- stage: e.stage || "prod"
4960
+ stage: e.stage || Lr
4960
4961
  });
4961
4962
  if (n?.aborted)
4962
4963
  throw new Error("Aborted");
@@ -4969,7 +4970,7 @@ async function $c(e, n) {
4969
4970
  connectedInfo: r.connectedInfo ?? null
4970
4971
  };
4971
4972
  }
4972
- const ea = ({
4973
+ const na = ({
4973
4974
  config: e,
4974
4975
  setMainView: n,
4975
4976
  defaultMainView: t,
@@ -4978,9 +4979,12 @@ const ea = ({
4978
4979
  themeMode: i
4979
4980
  }) => {
4980
4981
  const a = Tn({
4981
- queryKey: [..._c, e.clientId, e.stage ?? "prod"],
4982
- queryFn: ({ signal: A }) => $c(e, A),
4983
- enabled: r
4982
+ queryKey: [...$c, e.clientId, e.stage ?? Lr],
4983
+ queryFn: ({ signal: A }) => ea(e, A),
4984
+ enabled: r,
4985
+ refetchOnWindowFocus: !1,
4986
+ refetchOnReconnect: !1,
4987
+ staleTime: 1 / 0
4984
4988
  }), { data: c, isLoading: l, isError: d, error: f } = a;
4985
4989
  return J(() => {
4986
4990
  if (!r) {
@@ -5001,7 +5005,7 @@ const ea = ({
5001
5005
  isLoading: r && l,
5002
5006
  error: d ? f instanceof Error ? f : new Error("Failed to initialize embedded wallet") : null
5003
5007
  };
5004
- }, na = ({
5008
+ }, ta = ({
5005
5009
  setWalletState: e,
5006
5010
  currentWallet: n,
5007
5011
  isConnected: t,
@@ -5009,13 +5013,13 @@ const ea = ({
5009
5013
  embeddedWalletState: s,
5010
5014
  wagmiConfig: i
5011
5015
  }) => {
5012
- const a = ce(!1), { data: c } = ke("all", [], { embeddedWallet: s?.wallet ?? null }), l = y(() => c?.all || [], [c?.all]), d = Er(), f = Nc();
5016
+ const a = ce(!1), { data: c } = Le("all", [], { embeddedWallet: s?.wallet ?? null }), l = y(() => c?.all || [], [c?.all]), d = Sr(), f = jc();
5013
5017
  J(() => {
5014
5018
  if (a.current || t || n)
5015
5019
  return;
5016
5020
  const A = () => {
5017
5021
  try {
5018
- const v = s?.wallet, m = Ss();
5022
+ const v = s?.wallet, m = Os();
5019
5023
  if (!m) {
5020
5024
  a.current = !0;
5021
5025
  return;
@@ -5045,8 +5049,8 @@ const ea = ({
5045
5049
  console.log("No connected provider found in connectedInfo"), a.current = !0;
5046
5050
  return;
5047
5051
  }
5048
- const M = g?.connectors[z]?.provider;
5049
- if (!M) {
5052
+ const W = g?.connectors[z]?.provider;
5053
+ if (!W) {
5050
5054
  console.log("Provider not available for connected chain type:", z), a.current = !0;
5051
5055
  return;
5052
5056
  }
@@ -5070,8 +5074,8 @@ const ea = ({
5070
5074
  });
5071
5075
  }
5072
5076
  }
5073
- if (M && (D[z] = {
5074
- provider: M,
5077
+ if (W && (D[z] = {
5078
+ provider: W,
5075
5079
  address: B,
5076
5080
  connectedAt: Date.now(),
5077
5081
  walletId: g.info.uuid
@@ -5083,7 +5087,7 @@ const ea = ({
5083
5087
  chainType: z,
5084
5088
  balance: m.balance || "0.0",
5085
5089
  currentWallet: g,
5086
- currentProvider: M,
5090
+ currentProvider: W,
5087
5091
  providers: D
5088
5092
  })), d && z === T.EVM && i && f && !f.isConnected) {
5089
5093
  const j = Xn(g.info.uuid, g.info.rdns, void 0);
@@ -5098,9 +5102,9 @@ const ea = ({
5098
5102
  const x = m.chainType, w = {};
5099
5103
  if (m.providers && Array.isArray(m.providers))
5100
5104
  for (const b of m.providers) {
5101
- const z = b.chainType, M = l.find((E) => E.info.uuid === b.walletId);
5102
- if (M) {
5103
- const E = M.connectors[z]?.provider;
5105
+ const z = b.chainType, W = l.find((E) => E.info.uuid === b.walletId);
5106
+ if (W) {
5107
+ const E = W.connectors[z]?.provider;
5104
5108
  E && (w[z] = {
5105
5109
  provider: E,
5106
5110
  address: b.address,
@@ -5125,7 +5129,7 @@ const ea = ({
5125
5129
  currentProvider: I.provider,
5126
5130
  providers: w
5127
5131
  }));
5128
- const L = () => {
5132
+ const k = () => {
5129
5133
  e((b) => ({
5130
5134
  ...b,
5131
5135
  isConnected: !1,
@@ -5145,14 +5149,14 @@ const ea = ({
5145
5149
  walletInfo: g.info
5146
5150
  }
5147
5151
  ).then((b) => {
5148
- b?.address && b.address.toLowerCase() === m.address.toLowerCase() ? console.log("Restoring plugin wallet connection for:", g.info.name) : L();
5152
+ b?.address && b.address.toLowerCase() === m.address.toLowerCase() ? console.log("Restoring plugin wallet connection for:", g.info.name) : k();
5149
5153
  }).catch(() => {
5150
- L(), console.log("Failed to verify wallet connection");
5154
+ k(), console.log("Failed to verify wallet connection");
5151
5155
  }), d && m.chainType === T.EVM && i && f && !f.isConnected) {
5152
5156
  const b = Xn(g.info.uuid, g.info.rdns, void 0);
5153
5157
  if (b?.ready) {
5154
5158
  const z = m.chainId ? parseInt(m.chainId, 16) : void 0;
5155
- d.connectAsync({ connector: b, chainId: z }).catch((M) => console.warn("Failed to restore wagmi connection:", M));
5159
+ d.connectAsync({ connector: b, chainId: z }).catch((W) => console.warn("Failed to restore wagmi connection:", W));
5156
5160
  }
5157
5161
  }
5158
5162
  a.current = !0;
@@ -5173,11 +5177,11 @@ const ea = ({
5173
5177
  f
5174
5178
  ]);
5175
5179
  };
5176
- function ta(e) {
5180
+ function ra(e) {
5177
5181
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
5178
5182
  }
5179
5183
  var xn = { exports: {} }, yt;
5180
- function ra() {
5184
+ function sa() {
5181
5185
  return yt || (yt = 1, (function(e) {
5182
5186
  var n = Object.prototype.hasOwnProperty, t = "~";
5183
5187
  function r() {
@@ -5237,8 +5241,8 @@ function ra() {
5237
5241
  x[w - 1] = arguments[w];
5238
5242
  p.fn.apply(p.context, x);
5239
5243
  } else {
5240
- var L = p.length, b;
5241
- for (w = 0; w < L; w++)
5244
+ var k = p.length, b;
5245
+ for (w = 0; w < k; w++)
5242
5246
  switch (p[w].once && this.removeListener(d, p[w].fn, void 0, !0), I) {
5243
5247
  case 1:
5244
5248
  p[w].fn.call(p[w].context);
@@ -5283,9 +5287,9 @@ function ra() {
5283
5287
  }, c.prototype.off = c.prototype.removeListener, c.prototype.addListener = c.prototype.on, c.prefixed = t, c.EventEmitter = c, e.exports = c;
5284
5288
  })(xn)), xn.exports;
5285
5289
  }
5286
- var sa = ra();
5287
- const ia = /* @__PURE__ */ ta(sa);
5288
- class oa {
5290
+ var ia = sa();
5291
+ const oa = /* @__PURE__ */ ra(ia);
5292
+ class ca {
5289
5293
  constructor(n) {
5290
5294
  Object.defineProperty(this, "uid", {
5291
5295
  enumerable: !0,
@@ -5296,7 +5300,7 @@ class oa {
5296
5300
  enumerable: !0,
5297
5301
  configurable: !0,
5298
5302
  writable: !0,
5299
- value: new ia()
5303
+ value: new oa()
5300
5304
  });
5301
5305
  }
5302
5306
  on(n, t) {
@@ -5316,12 +5320,12 @@ class oa {
5316
5320
  return this._emitter.listenerCount(n);
5317
5321
  }
5318
5322
  }
5319
- function ca(e) {
5320
- return new oa(e);
5323
+ function aa(e) {
5324
+ return new ca(e);
5321
5325
  }
5322
5326
  const Nn = 256;
5323
5327
  let Qe = Nn, Ke;
5324
- function aa(e = 11) {
5328
+ function la(e = 11) {
5325
5329
  if (!Ke || Qe + e > Nn * 2) {
5326
5330
  Ke = "", Qe = 0;
5327
5331
  for (let n = 0; n < Nn; n++)
@@ -5329,18 +5333,18 @@ function aa(e = 11) {
5329
5333
  }
5330
5334
  return Ke.substring(Qe, Qe++ + e);
5331
5335
  }
5332
- const la = "2.22.1", da = () => `@wagmi/core@${la}`;
5333
- var Or = function(e, n, t, r) {
5336
+ const da = "2.22.1", Aa = () => `@wagmi/core@${da}`;
5337
+ var kr = function(e, n, t, r) {
5334
5338
  if (t === "a" && !r) throw new TypeError("Private accessor was defined without a getter");
5335
5339
  if (typeof n == "function" ? e !== n || !r : !n.has(e)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
5336
5340
  return t === "m" ? r : t === "a" ? r.call(e) : r ? r.value : n.get(e);
5337
- }, nn, kr;
5341
+ }, nn, Yr;
5338
5342
  class je extends Error {
5339
5343
  get docsBaseUrl() {
5340
5344
  return "https://wagmi.sh/core";
5341
5345
  }
5342
5346
  get version() {
5343
- return da();
5347
+ return Aa();
5344
5348
  }
5345
5349
  constructor(n, t = {}) {
5346
5350
  super(), nn.add(this), Object.defineProperty(this, "details", {
@@ -5383,13 +5387,13 @@ class je extends Error {
5383
5387
  `), t.cause && (this.cause = t.cause), this.details = r, this.docsPath = s, this.metaMessages = t.metaMessages, this.shortMessage = n;
5384
5388
  }
5385
5389
  walk(n) {
5386
- return Or(this, nn, "m", kr).call(this, this, n);
5390
+ return kr(this, nn, "m", Yr).call(this, this, n);
5387
5391
  }
5388
5392
  }
5389
- nn = /* @__PURE__ */ new WeakSet(), kr = function e(n, t) {
5390
- return t?.(n) ? n : n.cause ? Or(this, nn, "m", e).call(this, n.cause, t) : n;
5393
+ nn = /* @__PURE__ */ new WeakSet(), Yr = function e(n, t) {
5394
+ return t?.(n) ? n : n.cause ? kr(this, nn, "m", e).call(this, n.cause, t) : n;
5391
5395
  };
5392
- class Aa extends je {
5396
+ class fa extends je {
5393
5397
  constructor() {
5394
5398
  super("Chain not configured."), Object.defineProperty(this, "name", {
5395
5399
  enumerable: !0,
@@ -5420,7 +5424,7 @@ function _n(e = {}) {
5420
5424
  return d;
5421
5425
  }
5422
5426
  return typeof l == "object" ? l : typeof l == "string" ? {
5423
- ...fa[l] ?? {
5427
+ ...ua[l] ?? {
5424
5428
  id: l,
5425
5429
  name: `${l[0].toUpperCase()}${l.slice(1)}`,
5426
5430
  provider: `is${l[0].toUpperCase()}${l.slice(1)}`
@@ -5497,7 +5501,7 @@ function _n(e = {}) {
5497
5501
  throw new ve();
5498
5502
  i && (d.removeListener("chainChanged", i), i = void 0), c && (d.removeListener("disconnect", c), c = void 0), a || (a = this.onConnect.bind(this), d.on("connect", a));
5499
5503
  try {
5500
- await ps(() => (
5504
+ await xs(() => (
5501
5505
  // TODO: Remove explicit type for viem@3
5502
5506
  d.request({
5503
5507
  // `'wallet_revokePermissions'` added in `viem@2.10.3`
@@ -5548,7 +5552,7 @@ function _n(e = {}) {
5548
5552
  }
5549
5553
  throw new ve();
5550
5554
  }
5551
- return !!(await ms(() => this.getAccounts())).length;
5555
+ return !!(await Cs(() => this.getAccounts())).length;
5552
5556
  } catch {
5553
5557
  return !1;
5554
5558
  }
@@ -5559,7 +5563,7 @@ function _n(e = {}) {
5559
5563
  throw new ve();
5560
5564
  const u = l.chains.find((m) => m.id === f);
5561
5565
  if (!u)
5562
- throw new tt(new Aa());
5566
+ throw new tt(new fa());
5563
5567
  const v = new Promise((m) => {
5564
5568
  const g = ((p) => {
5565
5569
  "chainId" in p && p.chainId === f && (l.emitter.off("change", g), m());
@@ -5590,7 +5594,7 @@ function _n(e = {}) {
5590
5594
  ]);
5591
5595
  let w;
5592
5596
  d?.rpcUrls?.length ? w = d.rpcUrls : w = [u.rpcUrls.default?.http[0] ?? ""];
5593
- const L = {
5597
+ const k = {
5594
5598
  blockExplorerUrls: x,
5595
5599
  chainId: rt(f),
5596
5600
  chainName: d?.chainName ?? u.name,
@@ -5601,7 +5605,7 @@ function _n(e = {}) {
5601
5605
  return await Promise.all([
5602
5606
  A.request({
5603
5607
  method: "wallet_addEthereumChain",
5604
- params: [L]
5608
+ params: [k]
5605
5609
  }).then(async () => {
5606
5610
  if (await this.getChainId() === f)
5607
5611
  l.emitter.emit("change", { chainId: f });
@@ -5646,7 +5650,7 @@ function _n(e = {}) {
5646
5650
  }
5647
5651
  });
5648
5652
  }
5649
- const fa = {
5653
+ const ua = {
5650
5654
  coinbaseWallet: {
5651
5655
  id: "coinbaseWallet",
5652
5656
  name: "Coinbase Wallet",
@@ -5706,14 +5710,14 @@ function qe(e, n) {
5706
5710
  if (r && t(r))
5707
5711
  return r;
5708
5712
  }
5709
- function ua(e, n = T.EVM) {
5713
+ function ga(e, n = T.EVM) {
5710
5714
  if (!e.providers[n])
5711
5715
  return null;
5712
5716
  const t = e.providers[n]?.provider;
5713
5717
  if (!t)
5714
5718
  return null;
5715
5719
  const r = e.info, s = r.rdns || r.uuid || `wallet-${r.name.toLowerCase().replace(/\s+/g, "-")}`;
5716
- return gs((i) => ({
5720
+ return ms((i) => ({
5717
5721
  ..._n({
5718
5722
  target: () => ({
5719
5723
  id: s,
@@ -5729,14 +5733,14 @@ function ua(e, n = T.EVM) {
5729
5733
  emitter: i.emitter
5730
5734
  }));
5731
5735
  }
5732
- function ga(e, n = T.EVM, t) {
5736
+ function va(e, n = T.EVM, t) {
5733
5737
  const r = [];
5734
5738
  if (t.length === 0)
5735
5739
  return r;
5736
5740
  for (const s of e) {
5737
- const i = ua(s, n);
5741
+ const i = ga(s, n);
5738
5742
  if (i) {
5739
- const a = ca(aa());
5743
+ const a = aa(la());
5740
5744
  r.push(
5741
5745
  i({
5742
5746
  chains: t,
@@ -5747,36 +5751,36 @@ function ga(e, n = T.EVM, t) {
5747
5751
  }
5748
5752
  return r;
5749
5753
  }
5750
- function va(e, n = []) {
5754
+ function ma(e, n = []) {
5751
5755
  const t = [...n], r = (i) => "id" in i && i.id ? i.id : "options" in i && i.options ? i.options?.id ?? i.options?.name : void 0, s = new Set(n.map((i) => r(i)));
5752
5756
  for (const i of e)
5753
5757
  s.has(r(i)) || t.push(i);
5754
5758
  return t;
5755
5759
  }
5756
- const ma = ({
5760
+ const pa = ({
5757
5761
  children: e,
5758
5762
  contextConfig: n,
5759
5763
  defaultThemeConfig: t,
5760
5764
  defaultMainView: r,
5761
5765
  socialLoginEnabled: s
5762
5766
  }) => {
5763
- const [i, a] = Y(V.Loading), { walletState: c, setWalletState: l, error: d, setError: f, resetWalletState: A } = wr(), {
5767
+ const [i, a] = Y(V.Loading), { walletState: c, setWalletState: l, error: d, setError: f, resetWalletState: A } = Pr(), {
5764
5768
  wallet: u,
5765
5769
  isAvailable: v,
5766
5770
  isLoading: m,
5767
5771
  connectedInfo: g,
5768
5772
  message: p,
5769
5773
  error: I
5770
- } = ea({
5774
+ } = na({
5771
5775
  config: n.embeddedWalletConfig,
5772
5776
  setMainView: a,
5773
5777
  defaultMainView: r,
5774
5778
  enabled: s,
5775
5779
  defaultTheme: t,
5776
5780
  themeMode: n.themeMode
5777
- }), x = Wc(i), w = O(() => {
5781
+ }), x = Vc(i), w = O(() => {
5778
5782
  x.setView(c.isConnected ? V.Account : i), x.openModal();
5779
- }, [x, c.isConnected, i]), L = y(
5783
+ }, [x, c.isConnected, i]), k = y(
5780
5784
  () => ({
5781
5785
  isOpen: x.isOpen,
5782
5786
  view: x.view,
@@ -5804,7 +5808,7 @@ const ma = ({
5804
5808
  w,
5805
5809
  i
5806
5810
  ]
5807
- ), b = Rc(c.isConnected, c.isConnecting), z = y(
5811
+ ), b = _c(c.isConnected, c.isConnecting), z = y(
5808
5812
  () => ({
5809
5813
  connectionStatus: b,
5810
5814
  isConnected: c.isConnected,
@@ -5814,7 +5818,7 @@ const ma = ({
5814
5818
  setError: f
5815
5819
  }),
5816
5820
  [b, c.isConnected, c.isConnecting, d, f]
5817
- ), M = y(
5821
+ ), W = y(
5818
5822
  () => ({
5819
5823
  address: c.address,
5820
5824
  balance: c.balance,
@@ -5842,7 +5846,7 @@ const ma = ({
5842
5846
  }),
5843
5847
  [u, v, m, g, p, I]
5844
5848
  ), S = y(
5845
- () => Gc(E, s),
5849
+ () => Rc(E, s),
5846
5850
  [E, s]
5847
5851
  ), B = y(
5848
5852
  () => ({
@@ -5854,41 +5858,41 @@ const ma = ({
5854
5858
  ), D = y(
5855
5859
  () => ({
5856
5860
  config: n,
5857
- modal: L,
5861
+ modal: k,
5858
5862
  connection: z,
5859
- account: M,
5863
+ account: W,
5860
5864
  walletReady: B
5861
5865
  }),
5862
- [n, L, z, M, B]
5863
- ), j = ke("all", n?.connectors || [], { embeddedWallet: u }), U = n?.wagmi, N = U?.config;
5866
+ [n, k, z, W, B]
5867
+ ), j = Le("all", n?.connectors || [], { embeddedWallet: u }), U = n?.wagmi, N = U?.config;
5864
5868
  return J(() => {
5865
5869
  if (!N || !j.data) {
5866
5870
  pn(null);
5867
5871
  return;
5868
5872
  }
5869
- const Z = N.connectors ? [...N.connectors] : [], Q = N.chains ? [...N.chains] : [], Le = j?.data?.all?.filter((Ze) => Ze.connectors[T.EVM]), Ye = ga(Le || [], T.EVM, Q), ge = va(Ye, Z);
5873
+ const Z = N.connectors ? [...N.connectors] : [], Q = N.chains ? [...N.chains] : [], ke = j?.data?.all?.filter((Ze) => Ze.connectors[T.EVM]), Ye = va(ke || [], T.EVM, Q), ge = ma(Ye, Z);
5870
5874
  ge.length > 0 ? pn(ge) : pn(null);
5871
5875
  }, [j.data, N]), J(() => {
5872
- os(n?.walletConnectConfig || Vn);
5873
- }, [n?.walletConnectConfig]), na({
5876
+ as(n?.walletConnectConfig || Vn);
5877
+ }, [n?.walletConnectConfig]), ta({
5874
5878
  setWalletState: l,
5875
- currentWallet: M.currentWallet,
5879
+ currentWallet: W.currentWallet,
5876
5880
  isConnected: z.isConnected,
5877
5881
  walletStatus: S,
5878
5882
  embeddedWalletState: E,
5879
5883
  wagmiConfig: U
5880
5884
  }), J(() => {
5881
- const { isConnected: Z, chainType: Q, currentProvider: Le } = c;
5882
- if (!Z || Q !== T.EVM || !Le) return;
5885
+ const { isConnected: Z, chainType: Q, currentProvider: ke } = c;
5886
+ if (!Z || Q !== T.EVM || !ke) return;
5883
5887
  const Ye = (Ze) => {
5884
5888
  l((dn) => dn.chainId === Ze ? dn : { ...dn, chainId: Ze });
5885
- }, ge = Le;
5889
+ }, ge = ke;
5886
5890
  if (typeof ge.on == "function")
5887
5891
  return ge.on("chainChanged", Ye), () => {
5888
5892
  ge.removeListener?.("chainChanged", Ye);
5889
5893
  };
5890
5894
  }, [c.isConnected, c.chainType, c.currentProvider, l, c]), /* @__PURE__ */ o(an.Provider, { value: E, children: /* @__PURE__ */ o(X.Provider, { value: D, children: /* @__PURE__ */ o(
5891
- pa,
5895
+ Ca,
5892
5896
  {
5893
5897
  walletState: c,
5894
5898
  modalState: x,
@@ -5902,7 +5906,7 @@ const ma = ({
5902
5906
  }
5903
5907
  ) }) });
5904
5908
  };
5905
- function pa({
5909
+ function Ca({
5906
5910
  children: e,
5907
5911
  walletState: n,
5908
5912
  modalState: t,
@@ -5913,7 +5917,7 @@ function pa({
5913
5917
  defaultThemeConfig: c,
5914
5918
  themeMode: l
5915
5919
  }) {
5916
- const d = W(X), f = jc({
5920
+ const d = M(X), f = Tc({
5917
5921
  walletState: n,
5918
5922
  modalState: t,
5919
5923
  setWalletState: r,
@@ -5928,13 +5932,13 @@ function pa({
5928
5932
  [d, f]
5929
5933
  );
5930
5934
  return /* @__PURE__ */ o(X.Provider, { value: A, children: /* @__PURE__ */ C(
5931
- es,
5935
+ ts,
5932
5936
  {
5933
5937
  themeConfig: c,
5934
5938
  defaultTheme: l || "light",
5935
5939
  children: [
5936
5940
  /* @__PURE__ */ o(
5937
- ns,
5941
+ rs,
5938
5942
  {
5939
5943
  maxVisibleToasts: 3,
5940
5944
  placement: "top-center",
@@ -5946,19 +5950,19 @@ function pa({
5946
5950
  }
5947
5951
  ),
5948
5952
  e,
5949
- /* @__PURE__ */ o("div", { id: "modal-container", children: /* @__PURE__ */ o(qc, {}) })
5953
+ /* @__PURE__ */ o("div", { id: "modal-container", children: /* @__PURE__ */ o(Uc, {}) })
5950
5954
  ]
5951
5955
  }
5952
5956
  ) });
5953
5957
  }
5954
- const Ca = new as({
5958
+ const xa = new ds({
5955
5959
  defaultOptions: {
5956
5960
  queries: {
5957
5961
  refetchOnWindowFocus: !1
5958
5962
  }
5959
5963
  }
5960
- }), Xa = ({ children: e, config: n }) => {
5961
- const t = Tr(), r = y(() => {
5964
+ }), Na = ({ children: e, config: n }) => {
5965
+ const t = Er(), r = y(() => {
5962
5966
  const c = n || ie, l = c.login ? {
5963
5967
  basicLogins: c.login.basicLogins ?? [],
5964
5968
  socialLogins: c.login.socialLogins ?? []
@@ -5993,8 +5997,8 @@ const Ca = new as({
5993
5997
  }
5994
5998
  };
5995
5999
  return wt(t || null), v;
5996
- }, [n, t]), s = V.WalletHome, i = y(() => Uc(n?.login), [n?.login]), a = y(() => {
5997
- const c = Pr(), l = n?.theme;
6000
+ }, [n, t]), s = V.WalletHome, i = y(() => Gc(n?.login), [n?.login]), a = y(() => {
6001
+ const c = yr(), l = n?.theme;
5998
6002
  if (!l) return c;
5999
6003
  const d = c.themes ?? {}, f = l.themes ?? {}, A = (u, v) => {
6000
6004
  if (!v) return u ?? {};
@@ -6016,8 +6020,8 @@ const Ca = new as({
6016
6020
  }
6017
6021
  };
6018
6022
  }, [n?.theme]);
6019
- return typeof window > "u" ? null : /* @__PURE__ */ o(cs, { client: Ca, children: /* @__PURE__ */ o(
6020
- ma,
6023
+ return typeof window > "u" ? null : /* @__PURE__ */ o(ls, { client: xa, children: /* @__PURE__ */ o(
6024
+ pa,
6021
6025
  {
6022
6026
  contextConfig: r,
6023
6027
  defaultThemeConfig: a,
@@ -6026,12 +6030,12 @@ const Ca = new as({
6026
6030
  children: e
6027
6031
  }
6028
6032
  ) });
6029
- }, Na = ({ className: e, style: n }) => {
6030
- const t = W(X);
6033
+ }, ja = ({ className: e, style: n }) => {
6034
+ const t = M(X);
6031
6035
  if (!t)
6032
6036
  return console.error("WalletConnectEmbed must be used within WalletConnectProvider"), null;
6033
6037
  const s = t.connection.isConnected ? V.Account : t.modal.view, a = (() => {
6034
- const c = Sr[s];
6038
+ const c = Or[s];
6035
6039
  return c ? c(t) : null;
6036
6040
  })();
6037
6041
  return /* @__PURE__ */ o(
@@ -6043,14 +6047,14 @@ const Ca = new as({
6043
6047
  }
6044
6048
  );
6045
6049
  };
6046
- async function ja() {
6050
+ async function Ta() {
6047
6051
  let e = [];
6048
6052
  try {
6049
6053
  e = await kt();
6050
6054
  } catch (r) {
6051
6055
  console.warn("Failed to fetch chains from API, using default chains:", r);
6052
6056
  }
6053
- const n = e.length > 0 ? Jt(e) : ae, t = {};
6057
+ const n = e.length > 0 ? Dt(e) : ae, t = {};
6054
6058
  if (e.length > 0) {
6055
6059
  const r = e.filter((s) => H(s.chainId) === "aptos");
6056
6060
  r.length > 0 && (t.aptos = r.map((s) => ({
@@ -6115,7 +6119,7 @@ async function ja() {
6115
6119
  t.dogecoin = Ce.dogecoin || [];
6116
6120
  return t;
6117
6121
  }
6118
- async function Ta() {
6122
+ async function Ea() {
6119
6123
  try {
6120
6124
  return (await Tt({
6121
6125
  chainType: "all",
@@ -6140,12 +6144,12 @@ async function Ta() {
6140
6144
  typeof window < "u" && console.info(`[${st.name}] version: ${st.version}`);
6141
6145
  export {
6142
6146
  T as ChainTypeEnum,
6143
- Na as WalletConnectEmbed,
6144
- Xa as WalletConnectProvider,
6145
- ja as getChains,
6146
- Ta as getConnectors,
6147
+ ja as WalletConnectEmbed,
6148
+ Na as WalletConnectProvider,
6149
+ Ta as getChains,
6150
+ Ea as getConnectors,
6147
6151
  Gn as useAccount,
6148
- Wa as useConnectors,
6149
- Cc as useEmbeddedWallet,
6150
- Va as useWalletConnect
6152
+ Va as useConnectors,
6153
+ xc as useEmbeddedWallet,
6154
+ Xa as useWalletConnect
6151
6155
  };