@blockend/widget 1.0.61-beta.1 → 1.0.61-beta.3

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.
Files changed (112) hide show
  1. package/dist/AdvancedSettings-BDdJbtcK.js +30 -0
  2. package/dist/{AllRoutes-3rJ_6MZA.js → AllRoutes-BrDSLkEx.js} +201 -198
  3. package/dist/{Box-k1E75YNB.js → Box-BTMntOnW.js} +1 -1
  4. package/dist/{EstGas-NmdlnuTV.js → EstGas-CELSR_co.js} +377 -370
  5. package/dist/{Grow-DHSmig3g.js → Grow--O3Q7qBB.js} +196 -192
  6. package/dist/{InputComp-Q8pjLoPE.js → InputComp-CIMBouQg.js} +3 -3
  7. package/dist/{LoadRoute-C2z-mW9G.js → LoadRoute-DP9HswK0.js} +4 -4
  8. package/dist/{QuotesProgress-BD5CQpZ-.js → QuotesProgress-DXyVWF9h.js} +1 -1
  9. package/dist/{SwapAsset-Kx0ombNP.js → SwapAsset-d01boR2k.js} +1 -1
  10. package/dist/{Tooltip-Dx9YIENU.js → Tooltip-BGRxmZUc.js} +9 -6
  11. package/dist/{TxnButton-CWOz7URH.js → TxnButton-DUhnDCLZ.js} +65 -62
  12. package/dist/{add-D_aca-vE.js → add-BEjMXwS0.js} +1 -1
  13. package/dist/{all-wallets-D4BSWfpK.js → all-wallets-D5ejBd2J.js} +1 -1
  14. package/dist/{app-store-ST0Ravfg.js → app-store-DyLpIyGe.js} +1 -1
  15. package/dist/{apple-DaFtNkdI.js → apple-LF95M9ZO.js} +1 -1
  16. package/dist/{arrow-bottom-CuRXWFcr.js → arrow-bottom-WAJ3nKw-.js} +1 -1
  17. package/dist/{arrow-bottom-circle-xfTEwf8w.js → arrow-bottom-circle-BZnCDzRx.js} +1 -1
  18. package/dist/{arrow-left-Z346mTvE.js → arrow-left-iCLozbpY.js} +1 -1
  19. package/dist/{arrow-right-CUIO0t26.js → arrow-right-BbAPnR2v.js} +1 -1
  20. package/dist/{arrow-top-DmqPBsC5.js → arrow-top-Cam7P0Cq.js} +1 -1
  21. package/dist/{bank-BO1ZejV3.js → bank-CisGvOQw.js} +1 -1
  22. package/dist/{basic-P5IuMVWt.js → basic-D4ipPfXU.js} +4 -4
  23. package/dist/{browser-R_yTVBVl.js → browser-DuEN7q3p.js} +1 -1
  24. package/dist/{card-CmQJzq49.js → card-CsdJWKWP.js} +1 -1
  25. package/dist/{ccip-Vdbs2YPx.js → ccip-BKlgnW-G.js} +1 -1
  26. package/dist/{checkmark-BUj82mTz.js → checkmark-DGMpHO3y.js} +1 -1
  27. package/dist/{checkmark-bold-4sXAvyEi.js → checkmark-bold-CK87kMR1.js} +1 -1
  28. package/dist/{chevron-bottom-BHRgOLsC.js → chevron-bottom-C2O1FTiz.js} +1 -1
  29. package/dist/{chevron-left-eVq5zb9x.js → chevron-left-BxFuIrMa.js} +1 -1
  30. package/dist/{chevron-right-BqbdhgX8.js → chevron-right-B5hvp_03.js} +1 -1
  31. package/dist/{chevron-top-lFcz1Dk9.js → chevron-top-D_8IACK2.js} +1 -1
  32. package/dist/{chrome-store-CJjs0q6Z.js → chrome-store-u5HETQ34.js} +1 -1
  33. package/dist/{clock-LxWBSJ_V.js → clock-B_BvmsVw.js} +1 -1
  34. package/dist/{close-CJEyeA8d.js → close-D4borsFC.js} +1 -1
  35. package/dist/{coinPlaceholder-A0px2L1V.js → coinPlaceholder-BdKcXcQe.js} +1 -1
  36. package/dist/{compass-CKpEE3QF.js → compass-CeU27UPb.js} +1 -1
  37. package/dist/{copy-BGAVbyLK.js → copy-DnmfkWJf.js} +1 -1
  38. package/dist/{core-UMj0YuPY.js → core-R_avBv6F.js} +390 -324
  39. package/dist/{cursor-CdRK37lV.js → cursor-DFsrHX7h.js} +1 -1
  40. package/dist/{cursor-transparent-DCtZPn6M.js → cursor-transparent-C2Jspzlk.js} +1 -1
  41. package/dist/{desktop-BpmiexI7.js → desktop-Cvb4Bs-W.js} +1 -1
  42. package/dist/{disconnect-CmRL6rxR.js → disconnect-Cc3TuHcw.js} +1 -1
  43. package/dist/{discord-CgA8etyT.js → discord-BulP9OPs.js} +1 -1
  44. package/dist/{down-veMPztmj.js → down-DMOxb9X6.js} +4 -3
  45. package/dist/{etherscan-B0Iz4J9k.js → etherscan-CLV4G1N3.js} +1 -1
  46. package/dist/{exclamation-triangle-Box_8laE.js → exclamation-triangle-CTNxc0i0.js} +1 -1
  47. package/dist/{extension-CT5kynXr.js → extension-NL920RFJ.js} +1 -1
  48. package/dist/{external-link-BmAqCUs9.js → external-link-C06xueBw.js} +1 -1
  49. package/dist/{facebook-CzlMPtlk.js → facebook-CUngbGFi.js} +1 -1
  50. package/dist/{farcaster-Z3KYAnFk.js → farcaster-DyF7oe3m.js} +1 -1
  51. package/dist/{filters-CVtviD0v.js → filters-NTcvQCDK.js} +1 -1
  52. package/dist/{getChainIds-DDKgS0TA.js → getChainIds-BPyuIG49.js} +6 -4
  53. package/dist/{getCosmosAddress-D-BxI1sZ.js → getCosmosAddress-BxqNvT5E.js} +1331 -1330
  54. package/dist/{github-KjnPjzGN.js → github-C7AEFANq.js} +1 -1
  55. package/dist/{google-CnyCazMS.js → google-D2eY5g0j.js} +1 -1
  56. package/dist/{hamburger-DkyOLKDt.js → hamburger-BBUxDW1l.js} +436 -427
  57. package/dist/{help-circle-BoN3xTWx.js → help-circle-BsreVT6h.js} +1 -1
  58. package/dist/{id-tq8aEw5U.js → id-9IHoTVmk.js} +1 -1
  59. package/dist/{image-DBC1q2_n.js → image-CpxDCWP0.js} +1 -1
  60. package/dist/{index-C57ebjbd.js → index-AVgT1tC7.js} +78 -78
  61. package/dist/{index-37soHOzC.js → index-B5HYIYdX.js} +2 -2
  62. package/dist/{index-CrdvyxIs.js → index-BAPYRpZ5.js} +19 -14
  63. package/dist/{index-BnfXeC9U.js → index-BBHRfWRe.js} +32 -21
  64. package/dist/{index-BrUFU9w4.js → index-BK-LO8mS.js} +1151 -1134
  65. package/dist/{index-DTish3yr.js → index-Bl2UpALc.js} +3 -1
  66. package/dist/{index-nbo2VFYc.js → index-Bsolq3x5.js} +4 -4
  67. package/dist/{index-Dq-7CifU.js → index-Bx-p5owo.js} +342 -341
  68. package/dist/{index-u8Ded5qw.js → index-CsFCcGQR.js} +32 -18
  69. package/dist/{index-BMJemt0T.js → index-CtucwqhS.js} +1 -1
  70. package/dist/{index-DwgdKTri.js → index-CufwKYsS.js} +1 -1
  71. package/dist/{index-B6Hd7MNh.js → index-DGEhy5MB.js} +5108 -5038
  72. package/dist/{index.es-CXA8FwxC.js → index.es-BU0GM1mV.js} +978 -958
  73. package/dist/{index.es-CwOZPtUM.js → index.es-DW2t7BAn.js} +1 -1
  74. package/dist/index.es.js +1 -1
  75. package/dist/{info-B-ADkq2O.js → info-LwvH4jJX.js} +1 -1
  76. package/dist/{info-circle-CzjFim13.js → info-circle-CpntIlZG.js} +1 -1
  77. package/dist/{lightbulb-BzGUazBJ.js → lightbulb-D2pTnP9p.js} +1 -1
  78. package/dist/{mail-CEB7w3xW.js → mail-DJG_2nFe.js} +1 -1
  79. package/dist/{mobile-D2As9Lxy.js → mobile-CfN1g0ky.js} +1 -1
  80. package/dist/{more-B3qgSPHK.js → more-D_MQ1sJN.js} +1 -1
  81. package/dist/{network-placeholder-D3v1VNVd.js → network-placeholder-DIblWZzB.js} +1 -1
  82. package/dist/{nftPlaceholder-7uzR-QgE.js → nftPlaceholder-BbumxxR8.js} +1 -1
  83. package/dist/{off-B5fhwDTB.js → off-BYUrtwej.js} +1 -1
  84. package/dist/{play-store-fmnI2qeP.js → play-store-iblBb5XO.js} +1 -1
  85. package/dist/{plus-BPrwB2BV.js → plus-D85wdmHo.js} +1 -1
  86. package/dist/{qr-code-DRh63vJj.js → qr-code-Dcybxb7U.js} +1 -1
  87. package/dist/{recycle-horizontal-DGw86E5g.js → recycle-horizontal-Bd8ilzW8.js} +1 -1
  88. package/dist/{refresh-Dg7iaYhB.js → refresh-Dj6GhAr5.js} +1 -1
  89. package/dist/{reown-logo-tiOXXURu.js → reown-logo-BUsYR2sc.js} +1 -1
  90. package/dist/{search-eG23Hr6c.js → search-AZfspUWP.js} +1 -1
  91. package/dist/{send-BOwE6eLM.js → send-CpZ6YcVZ.js} +1 -1
  92. package/dist/{swapHorizontal-ywv205Wi.js → swapHorizontal-Bp6G13yq.js} +1 -1
  93. package/dist/{swapHorizontalBold-CzmBehA5.js → swapHorizontalBold-h5BpqwRP.js} +1 -1
  94. package/dist/{swapHorizontalMedium-BLbLZusS.js → swapHorizontalMedium-C5OGmd3s.js} +1 -1
  95. package/dist/{swapHorizontalRoundedBold-N_SHWa3r.js → swapHorizontalRoundedBold-C_TWWmM4.js} +1 -1
  96. package/dist/{swapVertical-EAZRQhGp.js → swapVertical-DDcdq1Iq.js} +1 -1
  97. package/dist/{telegram-n36fCk1z.js → telegram-6IwaAWkg.js} +1 -1
  98. package/dist/{three-dots-0tBgmH4A.js → three-dots-CC-EXoV7.js} +1 -1
  99. package/dist/{twitch-BhZ8ahtd.js → twitch-01WYlxYB.js} +1 -1
  100. package/dist/{twitterIcon-DfNmxt1B.js → twitterIcon-CBqQ3gr4.js} +1 -1
  101. package/dist/{unsupportedProp-D3sAzZYG.js → unsupportedProp-CwqpQh-r.js} +1 -1
  102. package/dist/{useRegisterError-Bo2lp0sa.js → useRegisterError-ByOKmamU.js} +41 -37
  103. package/dist/{verify-CWXFpftr.js → verify-BswPw1i0.js} +1 -1
  104. package/dist/{verify-filled-DP3y-Kx3.js → verify-filled-DukpwPr3.js} +1 -1
  105. package/dist/{w3m-modal-CwwnoSKf.js → w3m-modal-B9D1Uz6O.js} +2 -2
  106. package/dist/{wallet-pQYrlhSS.js → wallet-Bj7JS51P.js} +1 -1
  107. package/dist/{wallet-placeholder-CFNKM5lP.js → wallet-placeholder-ntA_yGUg.js} +1 -1
  108. package/dist/{walletconnect-CAtjZJiV.js → walletconnect-C2YXIR96.js} +1 -1
  109. package/dist/{warning-circle-BOE2EoE9.js → warning-circle-Bug2jkco.js} +1 -1
  110. package/dist/{x-BqcRzM19.js → x-BEvzIigT.js} +1 -1
  111. package/package.json +1 -1
  112. package/dist/AdvancedSettings-BSHVKOx8.js +0 -60
@@ -1,10 +1,10 @@
1
1
  import { jsxs as b, jsx as t, Fragment as k } from "react/jsx-runtime";
2
- import { u as n, S as W } from "./index-B6Hd7MNh.js";
2
+ import { u as n, S as W } from "./index-DGEhy5MB.js";
3
3
  import { useState as S, useRef as x } from "react";
4
- import { u as j, i as I, W as D, F, f as p, c as u, z as R } from "./useRegisterError-Bo2lp0sa.js";
4
+ import { u as j, i as I, W as D, F, f as p, c as u, z as R } from "./useRegisterError-ByOKmamU.js";
5
5
  import { useAccount as T, useBalance as A } from "wagmi";
6
6
  import "@dynamic-labs/sdk-react-core";
7
- import { c as B, r as G } from "./index-Dq-7CifU.js";
7
+ import { c as B, r as G } from "./index-Bx-p5owo.js";
8
8
  function H({ amount: w, setAmount: l, fetchBalance: M, getCoinBalance: h, isBalanceLoading: f }) {
9
9
  var d, o;
10
10
  const s = n((a) => a.configuration), e = n((a) => a.fromCoin), r = n((a) => a.fromChain), { isAnyWalletConnected: g } = j({ chainData: r }), [$, z] = S(40), { address: N } = T(), v = x(), { defaultCoin: y } = I;
@@ -1,13 +1,13 @@
1
1
  import { jsx as e, jsxs as t, Fragment as m } from "react/jsx-runtime";
2
2
  import { t as te } from "./truncate-D9t92mVX.js";
3
- import { u as r, S as o, l as we } from "./index-B6Hd7MNh.js";
3
+ import { u as r, S as o, l as we } from "./index-DGEhy5MB.js";
4
4
  import { useState as ie, useEffect as le } from "react";
5
5
  import { s as a } from "./WidgetForm.module-QHJ0-m5f.js";
6
6
  import { G as ce, C as de, S as me } from "./clockIcon-C2W5xvyt.js";
7
- import { S as re } from "./down-veMPztmj.js";
7
+ import { S as re } from "./down-DMOxb9X6.js";
8
8
  import { e as se } from "./ethertousd-CC_ezooz.js";
9
- import { O as H } from "./index-DwgdKTri.js";
10
- import { F as J, i as ae } from "./useRegisterError-Bo2lp0sa.js";
9
+ import { O as H } from "./index-CufwKYsS.js";
10
+ import { F as J, i as ae } from "./useRegisterError-ByOKmamU.js";
11
11
  function oe({ fill: n }) {
12
12
  return /* @__PURE__ */ e(
13
13
  "svg",
@@ -1,6 +1,6 @@
1
1
  import { jsxs as o, jsx as a, Fragment as m } from "react/jsx-runtime";
2
2
  import { s as l } from "./WidgetForm.module-QHJ0-m5f.js";
3
- import { u as g } from "./index-B6Hd7MNh.js";
3
+ import { u as g } from "./index-DGEhy5MB.js";
4
4
  function y({ routesData: x, routes: e, quoteTimer: n, amount: c }) {
5
5
  var s, b, d, w;
6
6
  const r = g((i) => i.configuration), t = g((i) => i.gradient);
@@ -1,5 +1,5 @@
1
1
  import { jsxs as s, jsx as t } from "react/jsx-runtime";
2
- import { u as a } from "./index-B6Hd7MNh.js";
2
+ import { u as a } from "./index-DGEhy5MB.js";
3
3
  function w({ fill1: o, fill2: r }) {
4
4
  return /* @__PURE__ */ s(
5
5
  "svg",
@@ -1,8 +1,8 @@
1
- import { b as go, g as To, i as yo, _ as vo, p as B, d as n, e as D, s as Q, f as Ve, h as Po, j as ze, P as e } from "./index-B6Hd7MNh.js";
1
+ import { b as go, g as To, i as yo, _ as vo, p as B, d as n, e as D, s as Q, f as Ve, h as Po, j as ze, P as e } from "./index-DGEhy5MB.js";
2
2
  import * as p from "react";
3
- import { G as Be, b as wo, u as Ro, a as Co, P as He } from "./Grow-DHSmig3g.js";
3
+ import { G as Be, b as wo, u as Ro, a as Co, P as He } from "./Grow--O3Q7qBB.js";
4
4
  import { jsx as j, jsxs as Se } from "react/jsx-runtime";
5
- import { j as xo, q as I, l as Ue, s as Oo, b as Eo, n as Mo, D as A, E as _o, w as No } from "./useRegisterError-Bo2lp0sa.js";
5
+ import { j as xo, q as I, l as Ue, s as Oo, b as Eo, n as Mo, D as A, E as _o, w as No } from "./useRegisterError-ByOKmamU.js";
6
6
  function Lo(r) {
7
7
  return To("MuiTooltip", r);
8
8
  }
@@ -231,7 +231,8 @@ const ko = /* @__PURE__ */ p.forwardRef(function(t, s) {
231
231
  current: o
232
232
  } = p.useRef(Pe !== void 0);
233
233
  p.useEffect(() => {
234
- l && l.disabled && !o && m !== "" && l.tagName.toLowerCase();
234
+ l && l.disabled && !o && m !== "" && l.tagName.toLowerCase() === "button" && console.error(["MUI: You are providing a disabled `button` child to the Tooltip component.", "A disabled element does not fire events.", "Tooltip needs to listen to the child element's events to display the title.", "", "Add a simple wrapper element, such as a `span`."].join(`
235
+ `));
235
236
  }, [m, l, o]);
236
237
  }
237
238
  const q = Co(Je), T = p.useRef(), N = Ue(() => {
@@ -309,10 +310,12 @@ const ko = /* @__PURE__ */ p.forwardRef(function(t, s) {
309
310
  onMouseMove: co
310
311
  } : {});
311
312
  B.env.NODE_ENV !== "production" && (a["data-mui-internal-clone-element"] = !0, p.useEffect(() => {
312
- l && l.getAttribute("data-mui-internal-clone-element");
313
+ l && !l.getAttribute("data-mui-internal-clone-element") && console.error(["MUI: The `children` component of the Tooltip is not forwarding its props correctly.", "Please make sure that props are spread on the same element that the ref is applied to."].join(`
314
+ `));
313
315
  }, [l]));
314
316
  const v = {};
315
- Ke || (a.onTouchStart = io, a.onTouchEnd = lo), he || (a.onMouseOver = k($, a.onMouseOver), a.onMouseLeave = k(G, a.onMouseLeave), H || (v.onMouseOver = $, v.onMouseLeave = G)), qe || (a.onFocus = k(De, a.onFocus), a.onBlur = k($e, a.onBlur), H || (v.onFocus = De, v.onBlur = $e)), B.env.NODE_ENV !== "production" && c.props.title;
317
+ Ke || (a.onTouchStart = io, a.onTouchEnd = lo), he || (a.onMouseOver = k($, a.onMouseOver), a.onMouseLeave = k(G, a.onMouseLeave), H || (v.onMouseOver = $, v.onMouseLeave = G)), qe || (a.onFocus = k(De, a.onFocus), a.onBlur = k($e, a.onBlur), H || (v.onFocus = De, v.onBlur = $e)), B.env.NODE_ENV !== "production" && c.props.title && console.error(["MUI: You have provided a `title` prop to the child of <Tooltip />.", `Remove this title prop \`${c.props.title}\` or the Tooltip component.`].join(`
318
+ `));
316
319
  const uo = p.useMemo(() => {
317
320
  var o;
318
321
  let i = [{
@@ -1,41 +1,41 @@
1
1
  import { jsx as G } from "react/jsx-runtime";
2
2
  import { useState as v, useEffect as z } from "react";
3
3
  import { useDynamicContext as xe, useSwitchNetwork as Me, useIsLoggedIn as Oe } from "@dynamic-labs/sdk-react-core";
4
- import { a as _, u as h, aA as Re, aB as pe } from "./index-B6Hd7MNh.js";
4
+ import { a as _, u as N, aA as Re, aB as ge } from "./index-DGEhy5MB.js";
5
5
  import { s as S } from "./WidgetForm.module-QHJ0-m5f.js";
6
6
  import { useAccount as Ve, useConfig as qe, useSwitchChain as Pe, useBalance as _e } from "wagmi";
7
- import { u as ge, d as Qe, c as He, C as ye } from "./useRegisterError-Bo2lp0sa.js";
7
+ import { u as pe, d as Qe, c as He, C as ye } from "./useRegisterError-ByOKmamU.js";
8
8
  import { v as Je } from "./validError-CDlJpg_f.js";
9
- import { u as Ke, g as Ue, p as Xe } from "./index-Dq-7CifU.js";
9
+ import { u as Ke, g as Ue, p as Xe } from "./index-Bx-p5owo.js";
10
10
  function Ye(n) {
11
- const { wallet: u, address: l } = _(), [N, B] = v(0);
11
+ const { wallet: g, address: a } = _(), [h, B] = v(0);
12
12
  async function x() {
13
- const F = await window.tronWeb.trx.getBalance(l);
13
+ const F = await window.tronWeb.trx.getBalance(a);
14
14
  B(F / Math.pow(10, 6));
15
15
  }
16
16
  return z(() => {
17
- l && (n == null ? void 0 : n.networkType) === "tron" && x();
18
- }, [l, n == null ? void 0 : n.networkType]), { tronBal: N };
17
+ a && (n == null ? void 0 : n.networkType) === "tron" && x();
18
+ }, [a, n == null ? void 0 : n.networkType]), { tronBal: h };
19
19
  }
20
20
  function A(n) {
21
- if (n.key.toLowerCase() === "backpacksol")
21
+ if (console.log(n, "primary wallet"), n.key.toLowerCase() === "backpacksol")
22
22
  return !0;
23
23
  }
24
24
  function Ze() {
25
- const [n, u] = v(0), l = h((x) => x.fromChain), { primaryWallet: N } = xe();
25
+ const [n, g] = v(0), a = N((x) => x.fromChain), { primaryWallet: h } = xe();
26
26
  async function B() {
27
- let x = await N.getBalance();
28
- u(Number(x) || 0);
27
+ let x = await h.getBalance();
28
+ g(Number(x) || 0);
29
29
  }
30
30
  return z(() => {
31
- (l.networkType === "btc" || l.networkType === "sui") && B();
32
- }, [l.networkType, N]), n;
31
+ (a.networkType === "btc" || a.networkType === "sui") && B();
32
+ }, [a.networkType, h]), n;
33
33
  }
34
- function lt({ routesData: n, routes: u, amount: l, isAmountTyped: N, handleShowWallet: B, setConnectWalletField: x, handleConfirmClose: F, balanceSol: L, getCoinBalance: Te, handleSuccess: Q }) {
34
+ function lt({ routesData: n, routes: g, amount: a, isAmountTyped: h, handleShowWallet: B, setConnectWalletField: x, handleConfirmClose: F, balanceSol: L, getCoinBalance: Te, handleSuccess: Q }) {
35
35
  var C, ee, te, se, re, ce, ne, ie, de, ae, le, oe, we;
36
- const w = h((s) => s.gradient), I = h((s) => s.configuration), e = h((s) => s.fromChain), i = h((s) => s.fromCoin), r = h((s) => s.toChain), b = h((s) => s.toCoin), { isConnected: j, address: H, chain: m } = Ve(), { address: J, isConnected: We } = _(), Ie = qe(), me = Me(), { getBothWalletConnection: he, getConnectWallet: Ne } = ge({
36
+ const w = N((s) => s.gradient), I = N((s) => s.configuration), e = N((s) => s.fromChain), i = N((s) => s.fromCoin), r = N((s) => s.toChain), b = N((s) => s.toCoin), { isConnected: j, address: H, chain: m } = Ve(), { address: J, isConnected: We } = _(), Ie = qe(), me = Me(), { getBothWalletConnection: Ne, getConnectWallet: he } = pe({
37
37
  chainData: e
38
- }), { connected: K, address: U, disconnect: De } = _(), M = h((s) => s.toDisconnect), d = h((s) => s.customWallet), { getWallet: Be } = ge({ chainData: e }), fe = Ne(e, r), [O, Ge] = v("101"), { tronBal: R } = Ye(e), { cosmosBalance: X } = Ke(), Y = Ze(), V = ((C = e.chain) == null ? void 0 : C.length) && ((ee = r.chain) == null ? void 0 : ee.length), q = ((te = i.address) == null ? void 0 : te.length) && ((se = b.address) == null ? void 0 : se.length), Se = Qe(), Z = Re(), { switchChain: ke, switchChainAsync: $e, isPending: Ee } = Pe({
38
+ }), { connected: K, address: U, disconnect: De } = _(), M = N((s) => s.toDisconnect), d = N((s) => s.customWallet), { getWallet: Be } = pe({ chainData: e }), fe = he(e, r), [O, Ge] = v("101"), { tronBal: R } = Ye(e), { cosmosBalance: X } = Ke(), Y = Ze(), V = ((C = e.chain) == null ? void 0 : C.length) && ((ee = r.chain) == null ? void 0 : ee.length), q = ((te = i.address) == null ? void 0 : te.length) && ((se = b.address) == null ? void 0 : se.length), Se = Qe(), Z = Re(), { switchChain: ke, switchChainAsync: Ee, isPending: $e } = Pe({
39
39
  chainId: Number((e == null ? void 0 : e.chainId) || "0"),
40
40
  config: Ie,
41
41
  throwForSwitchChainNotSupported: !0,
@@ -47,7 +47,7 @@ function lt({ routesData: n, routes: u, amount: l, isAmountTyped: N, handleShowW
47
47
  token: "",
48
48
  chainId: Number((e == null ? void 0 : e.chainId) || 0),
49
49
  enabled: (e == null ? void 0 : e.networkType) == "evm"
50
- }), W = He(Te || 0, 11), [o, a] = v({
50
+ }), W = He(Te || 0, 11), [o, l] = v({
51
51
  text: "",
52
52
  isGradient: !1,
53
53
  color: "bw-bg-border-primary"
@@ -55,27 +55,30 @@ function lt({ routesData: n, routes: u, amount: l, isAmountTyped: N, handleShowW
55
55
  async function Fe() {
56
56
  if ((e == null ? void 0 : e.networkType) === "evm" && Number((e == null ? void 0 : e.chainId) || "0") !== (m == null ? void 0 : m.id))
57
57
  try {
58
- await $e({ chainId: Number((e == null ? void 0 : e.chainId) || "0") });
59
- } catch {
58
+ await Ee({ chainId: Number((e == null ? void 0 : e.chainId) || "0") });
59
+ } catch (s) {
60
+ console.log(s, "err");
60
61
  }
61
62
  else if ((e == null ? void 0 : e.networkType) === "sol" && O !== ((e == null ? void 0 : e.chainId) == "eclipse-svm" ? "201" : "101"))
62
63
  try {
63
64
  let s = await me({ wallet: p, network: e.chainId == "eclipse-svm" ? "201" : "101" });
64
65
  D();
65
- } catch {
66
+ } catch (s) {
67
+ console.log(s, "err");
66
68
  }
67
- else (e == null ? void 0 : e.networkType) === "sui" ? (Z.emit(pe.TransactionStarted, {
69
+ else (e == null ? void 0 : e.networkType) === "sui" ? (Z.emit(ge.TransactionStarted, {
68
70
  ...n
69
- }), f && (Q(!1), F())) : (Z.emit(pe.TransactionStarted, {
71
+ }), f && (Q(!1), F())) : (Z.emit(ge.TransactionStarted, {
70
72
  ...n
71
73
  }), f && (Q(!1), F()));
72
74
  }
73
- const { primaryWallet: p } = xe(), P = Oe(), f = (e == null ? void 0 : e.networkType) === r.networkType ? !!((ce = (re = Be(e)) == null ? void 0 : re.address) != null && ce.length) : he(e == null ? void 0 : e.networkType, (d == null ? void 0 : d.length) > 30 ? "customWallet" : r == null ? void 0 : r.networkType), D = async () => {
75
+ const { primaryWallet: p } = xe(), P = Oe(), f = (e == null ? void 0 : e.networkType) === r.networkType ? !!((ce = (re = Be(e)) == null ? void 0 : re.address) != null && ce.length) : Ne(e == null ? void 0 : e.networkType, (d == null ? void 0 : d.length) > 30 ? "customWallet" : r == null ? void 0 : r.networkType), D = async () => {
74
76
  if (p)
75
77
  try {
76
78
  const s = await p.getNetwork();
77
- Ge(s);
78
- } catch {
79
+ console.log("Current network:", s), Ge(s);
80
+ } catch (s) {
81
+ console.error("Error getting network:", s);
79
82
  }
80
83
  else
81
84
  return;
@@ -83,67 +86,67 @@ function lt({ routesData: n, routes: u, amount: l, isAmountTyped: N, handleShowW
83
86
  z(() => {
84
87
  D();
85
88
  }, [p]);
86
- function k(s, g) {
87
- let y = s / Math.pow(10, g);
88
- return y < 1e-6 ? y.toFixed(20) : y;
89
+ function k(s, y) {
90
+ let u = s / Math.pow(10, y);
91
+ return u < 1e-6 ? u.toFixed(20) : u;
89
92
  }
90
93
  function Le() {
91
94
  var s;
92
95
  return Number(((s = T == null ? void 0 : T.data) == null ? void 0 : s.formatted) || 0);
93
96
  }
94
97
  function je(s) {
95
- var g;
96
- return Number(((g = X[Xe(s.address)]) == null ? void 0 : g.amount) || 0) / Math.pow(10, s.decimals);
98
+ var y;
99
+ return Number(((y = X[Xe(s.address)]) == null ? void 0 : y.amount) || 0) / Math.pow(10, s.decimals);
97
100
  }
98
101
  function Ae() {
99
- var E;
102
+ var $;
100
103
  let s = {};
101
- async function g(t, c) {
102
- let $ = Object.keys(s);
104
+ async function y(t, c) {
105
+ let E = Object.keys(s);
103
106
  s[t == null ? void 0 : t.chainId] ? (s[t == null ? void 0 : t.chainId].amountInToken += c.amountInToken, s[t == null ? void 0 : t.chainId].gas += k(c.amountInToken, t == null ? void 0 : t.decimals)) : s[t == null ? void 0 : t.chainId] = {
104
107
  amountInToken: c.amountInToken,
105
108
  gas: k(c.amountInToken, t == null ? void 0 : t.decimals),
106
109
  token: t,
107
110
  nativeBal: (d == null ? void 0 : d.length) > 30 && !M && (t == null ? void 0 : t.chainId) == (r == null ? void 0 : r.chainId) && (r == null ? void 0 : r.chainId) !== (e == null ? void 0 : e.chainId) ? 0 : (t == null ? void 0 : t.networkType) == "sol" ? L : (t == null ? void 0 : t.networkType) == "tron" ? R : (t == null ? void 0 : t.networkType) == "btc" || (t == null ? void 0 : t.networkType) == "sui" ? Y : (t == null ? void 0 : t.networkType) == "cosmos" ? je(t) : (t == null ? void 0 : t.networkType) == "tron" ? Ue(J) : Le(),
108
111
  isFromChain: (e == null ? void 0 : e.chainId) === (t == null ? void 0 : t.chainId.toString()),
109
- order: (e == null ? void 0 : e.chainId) === (t == null ? void 0 : t.chainId) ? 1 : (r == null ? void 0 : r.chainId) === (t == null ? void 0 : t.chainId) ? 2 : $.length > 2 ? 3 : 2
112
+ order: (e == null ? void 0 : e.chainId) === (t == null ? void 0 : t.chainId) ? 1 : (r == null ? void 0 : r.chainId) === (t == null ? void 0 : t.chainId) ? 2 : E.length > 2 ? 3 : 2
110
113
  };
111
114
  }
112
- (E = n == null ? void 0 : n.fee) == null || E.forEach((t) => {
115
+ ($ = n == null ? void 0 : n.fee) == null || $.forEach((t) => {
113
116
  const { token: c } = t;
114
- t.source.toLowerCase() == "from_source_wallet" && g(c, t);
117
+ t.source.toLowerCase() == "from_source_wallet" && y(c, t);
115
118
  });
116
- let y = W;
117
- if (Number(l) > Number(y))
118
- a({
119
+ let u = W;
120
+ if (console.log(Number(u), Number(a), s, "coinBalance"), Number(a) > Number(u))
121
+ l({
119
122
  text: `Insufficient Balance ${i.coin || ""}`,
120
123
  isGradient: !1,
121
124
  color: "bw-bg-border-primary"
122
125
  });
123
126
  else if ((T != null && T.isLoading || T.isFetching) && (e == null ? void 0 : e.networkType) === "evm" || (typeof L > "u" || L === null) && (e == null ? void 0 : e.networkType) === "sol" || !R && (e == null ? void 0 : e.networkType) === "tron")
124
- a({
127
+ l({
125
128
  text: "Fetching Balance..",
126
129
  isGradient: !1,
127
130
  color: "bw-bg-border-primary"
128
131
  });
129
132
  else {
130
- let t = Object.values(s).sort((c, $) => c.order - $.order);
133
+ let t = Object.values(s).sort((c, E) => c.order - E.order);
131
134
  t.some((c) => {
132
- var $, be, ue;
133
- return c != null && c.isFromChain && Number(l) <= Number(y) && Number(c.nativeBal) - Number(l) < c.gas && (i != null && i.isNative) || Number(l) <= Number(y) && Number(c.nativeBal) < c.gas && !(i != null && i.isNative) && (c != null && c.isFromChain) ? (a({
134
- text: `Insufficient ${(($ = c == null ? void 0 : c.token) == null ? void 0 : $.symbol) || ""} for gas on ${c.token.blockchain}`,
135
+ var E, be, ue;
136
+ return c != null && c.isFromChain && Number(a) <= Number(u) && Number(c.nativeBal) - Number(a) < c.gas && (i != null && i.isNative) || Number(a) <= Number(u) && Number(c.nativeBal) < c.gas && !(i != null && i.isNative) && (c != null && c.isFromChain) ? (l({
137
+ text: `Insufficient ${((E = c == null ? void 0 : c.token) == null ? void 0 : E.symbol) || ""} for gas on ${c.token.blockchain}`,
135
138
  isGradient: !1,
136
139
  color: "bw-bg-border-primary"
137
- }), !0) : c.nativeBal < c.gas && !((d == null ? void 0 : d.length) > 30 && ((be = c == null ? void 0 : c.token) == null ? void 0 : be.chainId) == (r == null ? void 0 : r.chainId)) ? (a({
140
+ }), !0) : c.nativeBal < c.gas && !((d == null ? void 0 : d.length) > 30 && ((be = c == null ? void 0 : c.token) == null ? void 0 : be.chainId) == (r == null ? void 0 : r.chainId)) ? (l({
138
141
  text: `Insufficient ${((ue = c == null ? void 0 : c.token) == null ? void 0 : ue.symbol) || ""} for gas on ${c.token.blockchain}`,
139
142
  isGradient: !1,
140
143
  color: "bw-bg-border-primary"
141
- }), !0) : (a({
144
+ }), !0) : (l({
142
145
  text: "",
143
146
  isGradient: !0,
144
147
  color: w || S.gradientbutton
145
148
  }), !0);
146
- }), t.length == 0 && (n != null && n.gasless || (n == null ? void 0 : n.provider) == "meson") && a({
149
+ }), t.length == 0 && (n != null && n.gasless || (n == null ? void 0 : n.provider) == "meson") && l({
147
150
  text: "",
148
151
  isGradient: !0,
149
152
  color: w || S.gradientbutton
@@ -151,53 +154,53 @@ function lt({ routesData: n, routes: u, amount: l, isAmountTyped: N, handleShowW
151
154
  }
152
155
  }
153
156
  z(() => {
154
- var s, g, y;
155
- !i.coin.length || !(b != null && b.coin.length) ? a({
157
+ var s, y, u;
158
+ !i.coin.length || !(b != null && b.coin.length) ? l({
156
159
  text: "Select Token",
157
160
  isGradient: !0,
158
161
  color: w || S.gradientbutton
159
- }) : f ? typeof l < "u" && Number(l || 0) <= 0 ? a({
162
+ }) : f ? typeof a < "u" && Number(a || 0) <= 0 ? l({
160
163
  text: "Enter Amount",
161
164
  isGradient: !1,
162
165
  color: "bw-bg-border-primary"
163
- }) : u.isFetching || !N ? a({
166
+ }) : g.isFetching || !h ? l({
164
167
  text: "Loading Routes...",
165
168
  isGradient: !1,
166
169
  color: "bw-bg-border-primary"
167
- }) : e.chainId === "eclipse-svm" && !A(p) ? a({
170
+ }) : e.chainId === "eclipse-svm" && !A(p) ? l({
168
171
  text: `Select ${e.name} wallet`,
169
172
  isGradient: !0,
170
173
  color: w || S.gradientbutton
171
- }) : r.chainId === "eclipse-svm" && e.chainId !== "eclipse-svm" && !A(p) && d.length < 30 ? a({
174
+ }) : r.chainId === "eclipse-svm" && e.chainId !== "eclipse-svm" && !A(p) && d.length < 30 ? l({
172
175
  text: "Enter recipient wallet address",
173
176
  isGradient: !0,
174
177
  color: w || S.gradientbutton
175
- }) : (i == null ? void 0 : i.address) === (b == null ? void 0 : b.address) && (e == null ? void 0 : e.chainId) === (r == null ? void 0 : r.chainId) && !(d != null && d.length) || (e == null ? void 0 : e.networkType) === "evm" && H === d && (i == null ? void 0 : i.address) === (b == null ? void 0 : b.address) && (e == null ? void 0 : e.chainId) === (r == null ? void 0 : r.chainId) || (e == null ? void 0 : e.networkType) === "sol" && (p == null ? void 0 : p.address) === d && (i == null ? void 0 : i.address) === (b == null ? void 0 : b.address) && (e == null ? void 0 : e.chainId) === (r == null ? void 0 : r.chainId) ? a({
178
+ }) : (i == null ? void 0 : i.address) === (b == null ? void 0 : b.address) && (e == null ? void 0 : e.chainId) === (r == null ? void 0 : r.chainId) && !(d != null && d.length) || (e == null ? void 0 : e.networkType) === "evm" && H === d && (i == null ? void 0 : i.address) === (b == null ? void 0 : b.address) && (e == null ? void 0 : e.chainId) === (r == null ? void 0 : r.chainId) || (e == null ? void 0 : e.networkType) === "sol" && (p == null ? void 0 : p.address) === d && (i == null ? void 0 : i.address) === (b == null ? void 0 : b.address) && (e == null ? void 0 : e.chainId) === (r == null ? void 0 : r.chainId) ? l({
176
179
  text: "From and To asset can not be the same!",
177
180
  isGradient: !1,
178
181
  color: "bw-bg-border-primary"
179
- }) : (y = (g = (s = u == null ? void 0 : u.data) == null ? void 0 : s.data) == null ? void 0 : g.quotes) != null && y.length ? u != null && u.error ? a({
182
+ }) : (u = (y = (s = g == null ? void 0 : g.data) == null ? void 0 : s.data) == null ? void 0 : y.quotes) != null && u.length ? g != null && g.error ? l({
180
183
  text: "Failed to fetch Quotes",
181
184
  isGradient: !1,
182
185
  color: "bw-bg-border-primary"
183
- }) : j && Number((e == null ? void 0 : e.chainId) || "0") !== (m == null ? void 0 : m.id) && (e == null ? void 0 : e.networkType) === "evm" || P && ((e == null ? void 0 : e.chainId) === "eclipse-svm" ? "201" : "101") !== O && (e == null ? void 0 : e.networkType) === "sol" ? a({
186
+ }) : j && Number((e == null ? void 0 : e.chainId) || "0") !== (m == null ? void 0 : m.id) && (e == null ? void 0 : e.networkType) === "evm" || P && ((e == null ? void 0 : e.chainId) === "eclipse-svm" ? "201" : "101") !== O && (e == null ? void 0 : e.networkType) === "sol" ? l({
184
187
  text: `Switch Chain to ${e.chain}`,
185
188
  isGradient: !0,
186
189
  color: w || S.gradientbutton
187
- }) : Ae() : a({
190
+ }) : Ae() : l({
188
191
  text: "No Routes Found",
189
192
  isGradient: !1,
190
193
  color: "bw-bg-border-primary"
191
- }) : a({
194
+ }) : l({
192
195
  text: "",
193
196
  isGradient: !0,
194
197
  color: w || S.gradientbutton
195
198
  });
196
- }, [O, p, i, b, l, e, r, (ne = T.data) == null ? void 0 : ne.formatted, n, T.isFetching, T.isLoading, j, W, f, u.isFetching, m == null ? void 0 : m.id, N, R, L, d, Y, X, J]);
199
+ }, [O, p, i, b, a, e, r, (ne = T.data) == null ? void 0 : ne.formatted, n, T.isFetching, T.isLoading, j, W, f, g.isFetching, m == null ? void 0 : m.id, h, R, L, d, Y, X, J]);
197
200
  let ve = [`switch chain to ${(ie = e.chain) == null ? void 0 : ie.toLowerCase()}`, `select ${(de = e.chain) == null ? void 0 : de.toLowerCase()} wallet`, "connect custom wallet", "enter recipient wallet address"];
198
201
  function ze() {
199
- var s, g, y, E;
200
- return f ? u.isFetching ? !0 : o.text.length ? !ve.includes((s = o.text) == null ? void 0 : s.toLowerCase()) : !((E = (y = (g = u.data) == null ? void 0 : g.data) == null ? void 0 : y.quotes) != null && E.length) : !1;
202
+ var s, y, u, $;
203
+ return f ? g.isFetching ? !0 : o.text.length ? !ve.includes((s = o.text) == null ? void 0 : s.toLowerCase()) : !(($ = (u = (y = g.data) == null ? void 0 : y.data) == null ? void 0 : u.quotes) != null && $.length) : !1;
201
204
  }
202
205
  return /* @__PURE__ */ G(
203
206
  "button",
@@ -213,7 +216,7 @@ function lt({ routesData: n, routes: u, amount: l, isAmountTyped: N, handleShowW
213
216
  onClick: () => {
214
217
  f || (B(!0), ((e == null ? void 0 : e.networkType) !== "evm" && j || (e == null ? void 0 : e.networkType) !== "sol" && P && p !== null || (e == null ? void 0 : e.networkType) !== "tron" && K && U) && !M ? x("from") : j && (r == null ? void 0 : r.networkType) !== "evm" || P && (r == null ? void 0 : r.networkType) !== "sol" || (r == null ? void 0 : r.networkType) !== "tron" && K && U || M ? x("to") : x("from")), e.chainId === "eclipse-svm" && !A(p) ? (B(!0), x("from")) : r.chainId === "eclipse-svm" && e.chainId !== "eclipse-svm" && !A(p) && d.length < 30 ? (B(!0), x("to")) : Fe();
215
218
  },
216
- children: /* @__PURE__ */ G("div", { className: "bw-rounded-sm bw-bg-background-container bw-flex bw-items-center bw-justify-center b-w-full bw-h-full", children: /* @__PURE__ */ G("p", { className: "bw-relative bw-z-20", children: V && q ? Ee ? /* @__PURE__ */ G("div", { className: "bw-w-[30px] bw-flex bw-text-text-secondary bw-justify-center bw-items-center bw-h-[30px]", children: /* @__PURE__ */ G(ye, { size: 22, thickness: 5, color: "inherit" }) }) : f ? o.text.length ? o.text : "Start Transaction" : `Connect ${fe} Wallet` : /* @__PURE__ */ G("div", { className: "bw-w-[30px] bw-flex bw-text-text-secondary bw-justify-center bw-items-center bw-h-[30px]", children: /* @__PURE__ */ G(ye, { size: 22, thickness: 5, color: "inherit" }) }) }) })
219
+ children: /* @__PURE__ */ G("div", { className: "bw-rounded-sm bw-bg-background-container bw-flex bw-items-center bw-justify-center b-w-full bw-h-full", children: /* @__PURE__ */ G("p", { className: "bw-relative bw-z-20", children: V && q ? $e ? /* @__PURE__ */ G("div", { className: "bw-w-[30px] bw-flex bw-text-text-secondary bw-justify-center bw-items-center bw-h-[30px]", children: /* @__PURE__ */ G(ye, { size: 22, thickness: 5, color: "inherit" }) }) : f ? o.text.length ? o.text : "Start Transaction" : `Connect ${fe} Wallet` : /* @__PURE__ */ G("div", { className: "bw-w-[30px] bw-flex bw-text-text-secondary bw-justify-center bw-items-center bw-h-[30px]", children: /* @__PURE__ */ G(ye, { size: 22, thickness: 5, color: "inherit" }) }) }) })
217
220
  }
218
221
  );
219
222
  }
@@ -1,4 +1,4 @@
1
- import { m as l } from "./core-UMj0YuPY.js";
1
+ import { m as l } from "./core-R_avBv6F.js";
2
2
  const o = l`<svg
3
3
  width="14"
4
4
  height="14"
@@ -1,4 +1,4 @@
1
- import { m as a } from "./core-UMj0YuPY.js";
1
+ import { m as a } from "./core-R_avBv6F.js";
2
2
  const o = a`<svg fill="none" viewBox="0 0 24 24">
3
3
  <path
4
4
  style="fill: var(--wui-color-accent-100);"
@@ -1,4 +1,4 @@
1
- import { m as a } from "./core-UMj0YuPY.js";
1
+ import { m as a } from "./core-R_avBv6F.js";
2
2
  const e = a`
3
3
  <svg width="36" height="36">
4
4
  <path
@@ -1,4 +1,4 @@
1
- import { m as l } from "./core-UMj0YuPY.js";
1
+ import { m as l } from "./core-R_avBv6F.js";
2
2
  const f = l`<svg fill="none" viewBox="0 0 40 40">
3
3
  <g clip-path="url(#a)">
4
4
  <g clip-path="url(#b)">
@@ -1,4 +1,4 @@
1
- import { m as o } from "./core-UMj0YuPY.js";
1
+ import { m as o } from "./core-R_avBv6F.js";
2
2
  const e = o`<svg fill="none" viewBox="0 0 14 15">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { m as C } from "./core-UMj0YuPY.js";
1
+ import { m as C } from "./core-R_avBv6F.js";
2
2
  const e = C`<svg
3
3
  fill="none"
4
4
  viewBox="0 0 21 20"
@@ -1,4 +1,4 @@
1
- import { m as e } from "./core-UMj0YuPY.js";
1
+ import { m as e } from "./core-R_avBv6F.js";
2
2
  const o = e`<svg fill="none" viewBox="0 0 14 15">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { m as l } from "./core-UMj0YuPY.js";
1
+ import { m as l } from "./core-R_avBv6F.js";
2
2
  const e = l`<svg fill="none" viewBox="0 0 14 15">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { m as o } from "./core-UMj0YuPY.js";
1
+ import { m as o } from "./core-R_avBv6F.js";
2
2
  const e = o`<svg fill="none" viewBox="0 0 14 15">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { m as e } from "./core-UMj0YuPY.js";
1
+ import { m as e } from "./core-R_avBv6F.js";
2
2
  const o = e`<svg
3
3
  xmlns="http://www.w3.org/2000/svg"
4
4
  width="12"
@@ -1,6 +1,6 @@
1
- import { i as D, e as G, r as q, a as A, x as c, C as U, A as M, O as tt, b as z, E as et, R as O, c as Ut, d as K, f as N, S as pe, g as Cn, W as fe, h as Ze, j as vi, T as ti, k as Xt, M as on, l as rn, m as Dt, n as yi, o as $n } from "./core-UMj0YuPY.js";
2
- import { n as u, c as B, o as W, r as E, U as ht, e as Rn, f as En, a as In } from "./index-C57ebjbd.js";
3
- import { n as Wn } from "./index-B6Hd7MNh.js";
1
+ import { i as D, e as G, r as q, a as A, x as c, C as U, A as M, O as tt, b as z, E as et, R as O, c as Ut, d as K, f as N, S as pe, g as Cn, W as fe, h as Ze, j as vi, T as ti, k as Xt, M as on, l as rn, m as Dt, n as yi, o as $n } from "./core-R_avBv6F.js";
2
+ import { n as u, c as B, o as W, r as E, U as ht, e as Rn, f as En, a as In } from "./index-AVgT1tC7.js";
3
+ import { n as Wn } from "./index-DGEhy5MB.js";
4
4
  const Sn = D`
5
5
  :host {
6
6
  position: relative;
@@ -899,7 +899,7 @@ let xt = class extends A {
899
899
  tabIdx=${W(this.tabIdx)}
900
900
  ></w3m-connect-recommended-widget>`;
901
901
  default:
902
- return null;
902
+ return console.warn(`Unknown connector type: ${h}`), null;
903
903
  }
904
904
  });
905
905
  }
@@ -1,4 +1,4 @@
1
- import { m as l } from "./core-UMj0YuPY.js";
1
+ import { m as l } from "./core-R_avBv6F.js";
2
2
  const a = l`<svg fill="none" viewBox="0 0 20 20">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { m as C } from "./core-UMj0YuPY.js";
1
+ import { m as C } from "./core-R_avBv6F.js";
2
2
  const l = C`<svg
3
3
  xmlns="http://www.w3.org/2000/svg"
4
4
  width="12"
@@ -1,4 +1,4 @@
1
- import { ad as L, ae as b, af as F, ag as N, ah as P, ai as w, aj as S, ak as E, al as $, am as C, an as I, ao as m, ap as G, aq as R, ar as k, as as y, at as O, au as q, av as T, aw as v, ax as D, ay as A, az as H } from "./index-B6Hd7MNh.js";
1
+ import { ad as L, ae as b, af as F, ag as N, ah as P, ai as w, aj as S, ak as E, al as $, am as C, an as I, ao as m, ap as G, aq as R, ar as k, as as y, at as O, au as q, av as T, aw as v, ax as D, ay as A, az as H } from "./index-DGEhy5MB.js";
2
2
  const h = "/docs/contract/encodeErrorResult";
3
3
  function x(t) {
4
4
  const { abi: s, errorName: a, args: r } = t;
@@ -1,4 +1,4 @@
1
- import { m as e } from "./core-UMj0YuPY.js";
1
+ import { m as e } from "./core-R_avBv6F.js";
2
2
  const o = e`<svg
3
3
  width="28"
4
4
  height="28"
@@ -1,4 +1,4 @@
1
- import { m as e } from "./core-UMj0YuPY.js";
1
+ import { m as e } from "./core-R_avBv6F.js";
2
2
  const o = e`<svg fill="none" viewBox="0 0 14 14">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { m as o } from "./core-UMj0YuPY.js";
1
+ import { m as o } from "./core-R_avBv6F.js";
2
2
  const e = o`<svg fill="none" viewBox="0 0 16 16">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { m as e } from "./core-UMj0YuPY.js";
1
+ import { m as e } from "./core-R_avBv6F.js";
2
2
  const o = e`<svg fill="none" viewBox="0 0 16 16">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { m as l } from "./core-UMj0YuPY.js";
1
+ import { m as l } from "./core-R_avBv6F.js";
2
2
  const o = l`<svg fill="none" viewBox="0 0 16 16">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { m as l } from "./core-UMj0YuPY.js";
1
+ import { m as l } from "./core-R_avBv6F.js";
2
2
  const e = l`<svg fill="none" viewBox="0 0 16 16">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { m as t } from "./core-UMj0YuPY.js";
1
+ import { m as t } from "./core-R_avBv6F.js";
2
2
  const o = t`<svg width="36" height="36" fill="none">
3
3
  <path
4
4
  fill="#fff"
@@ -1,4 +1,4 @@
1
- import { m as C } from "./core-UMj0YuPY.js";
1
+ import { m as C } from "./core-R_avBv6F.js";
2
2
  const l = C`<svg width="14" height="14" viewBox="0 0 14 14" fill="none">
3
3
  <path
4
4
  fill-rule="evenodd"
@@ -1,4 +1,4 @@
1
- import { m as l } from "./core-UMj0YuPY.js";
1
+ import { m as l } from "./core-R_avBv6F.js";
2
2
  const o = l`<svg fill="none" viewBox="0 0 16 16">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { m as l } from "./core-UMj0YuPY.js";
1
+ import { m as l } from "./core-R_avBv6F.js";
2
2
  const o = l`<svg fill="none" viewBox="0 0 20 20">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { m as l } from "./core-UMj0YuPY.js";
1
+ import { m as l } from "./core-R_avBv6F.js";
2
2
  const e = l`<svg fill="none" viewBox="0 0 16 16">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { m as C } from "./core-UMj0YuPY.js";
1
+ import { m as C } from "./core-R_avBv6F.js";
2
2
  const o = C`<svg
3
3
  xmlns="http://www.w3.org/2000/svg"
4
4
  width="16"