@blockend/widget 1.0.39-beta.1 → 1.0.39

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 (110) hide show
  1. package/dist/{AllRoutes-pVn5r2AF.js → AllRoutes-qDXVEBq_.js} +17 -17
  2. package/dist/{Box-2EhEu03K.js → Box-DkvAdVmJ.js} +1 -1
  3. package/dist/{EstGas-WwkfFHpv.js → EstGas-CwWMUtsV.js} +224 -54
  4. package/dist/{Grow-D4EVow-M.js → Grow-w3xFin50.js} +2 -2
  5. package/dist/{InputComp-DQBDoD71.js → InputComp-DRGHX0JB.js} +6 -6
  6. package/dist/{LoadRoute-42ZgErfe.js → LoadRoute-Dgxq32oV.js} +39 -39
  7. package/dist/{QuotesProgress-CTlZ7elT.js → QuotesProgress-mMpawJHx.js} +1 -1
  8. package/dist/{SwapAsset-CU5YEZ75.js → SwapAsset-Cm3PfEdc.js} +17 -4
  9. package/dist/{Tooltip-DSOAqpED.js → Tooltip-BQd46Vx1.js} +3 -3
  10. package/dist/{TxnButton-CfruxaOs.js → TxnButton-C7D4coqw.js} +19 -19
  11. package/dist/{add-DayuYwbp.js → add-DJRptrWn.js} +1 -1
  12. package/dist/{all-wallets-B7lOWwQ-.js → all-wallets-BEwoK0hI.js} +1 -1
  13. package/dist/{app-store-CWVen5K_.js → app-store-BO2d_fOI.js} +1 -1
  14. package/dist/{apple-Xce5ePDw.js → apple-D4_HcFag.js} +1 -1
  15. package/dist/{arrow-bottom-circle-m6M-yL2m.js → arrow-bottom-circle-Czbe973X.js} +1 -1
  16. package/dist/{arrow-bottom-CJ5QodIU.js → arrow-bottom-zyNIGfu0.js} +1 -1
  17. package/dist/{arrow-left-gbgYje3p.js → arrow-left-2Hi0GW--.js} +1 -1
  18. package/dist/{arrow-right-BWBYQ-3w.js → arrow-right-DsstxcUl.js} +1 -1
  19. package/dist/{arrow-top-TV0fK_PC.js → arrow-top-Dne06L8p.js} +1 -1
  20. package/dist/{bank-D5WUpbbn.js → bank-BmHmaR1d.js} +1 -1
  21. package/dist/{basic-yKyoIw_n.js → basic-Bhds2Wiy.js} +3 -3
  22. package/dist/{browser-C1Gw-601.js → browser-CjYfBUW5.js} +1 -1
  23. package/dist/{card-BGu7Ytfr.js → card-Bi7Hbsfs.js} +1 -1
  24. package/dist/{ccip-8pKaCE7W.js → ccip-B-yKJCDq.js} +1 -1
  25. package/dist/{checkmark-bold-C-Za8drF.js → checkmark-bold-CcJ3JQev.js} +1 -1
  26. package/dist/{checkmark-DXjp9482.js → checkmark-zC82vmPx.js} +1 -1
  27. package/dist/{chevron-bottom-pyAIkjST.js → chevron-bottom-mKbX_tpu.js} +1 -1
  28. package/dist/{chevron-left-Fo0wnlZX.js → chevron-left-CfsLd6Kh.js} +1 -1
  29. package/dist/{chevron-right-DkmxB-lW.js → chevron-right-Cis0mx_w.js} +1 -1
  30. package/dist/{chevron-top-r9CVQcQg.js → chevron-top-BZ7z4zOm.js} +1 -1
  31. package/dist/{chrome-store-CRlb0bJh.js → chrome-store-xJbsiNft.js} +1 -1
  32. package/dist/{clock-TqJS2h0Z.js → clock-BST36xyV.js} +1 -1
  33. package/dist/{close-C2cPb_3q.js → close-CUnRl6rj.js} +1 -1
  34. package/dist/{coinPlaceholder-D-_tUshz.js → coinPlaceholder-eRYldXBb.js} +1 -1
  35. package/dist/{compass-D-JOMMbC.js → compass-B53Amzmz.js} +1 -1
  36. package/dist/{copy-CS7IA_r_.js → copy-CeMF3vNH.js} +1 -1
  37. package/dist/{core-DbjedOio.js → core-Ba7AWU2F.js} +3 -3
  38. package/dist/{cursor-3K2-QZLT.js → cursor-BXkX3Iej.js} +1 -1
  39. package/dist/{cursor-transparent-DKdHMJra.js → cursor-transparent-vN3U0Y44.js} +1 -1
  40. package/dist/{desktop-CAxsE6Ga.js → desktop-CQcrUlG2.js} +1 -1
  41. package/dist/{disconnect-Dc-LNqNb.js → disconnect-DqjgPdZy.js} +1 -1
  42. package/dist/{discord-VfiQtaLg.js → discord-CAeZvfjm.js} +1 -1
  43. package/dist/{down-C69EIwo1.js → down-C7Cxaule.js} +4 -4
  44. package/dist/{etherscan-nfJcVg9R.js → etherscan-BepqbIgx.js} +1 -1
  45. package/dist/{exclamation-triangle-DaMU5L_4.js → exclamation-triangle-BQlxBTQb.js} +1 -1
  46. package/dist/{extension-BaO8FLXh.js → extension-DNJRGdDb.js} +1 -1
  47. package/dist/{external-link-B9oCkuPJ.js → external-link-CvRsvpXe.js} +1 -1
  48. package/dist/{facebook-nSdQubUH.js → facebook-C_xJkTY_.js} +1 -1
  49. package/dist/{farcaster-BtInSUqS.js → farcaster-BmW5dRUe.js} +1 -1
  50. package/dist/{filters-C9LrueAm.js → filters-BC3dndy5.js} +1 -1
  51. package/dist/{getChainIds-CQg6djVc.js → getChainIds-rz0R4QLM.js} +2 -2
  52. package/dist/{getCosmosAddress-Qwk5Y2WB.js → getCosmosAddress-DwtEOPre.js} +2 -2
  53. package/dist/{github-BVzfRJXr.js → github-SFKWAQKv.js} +1 -1
  54. package/dist/{google-C_Zkq44M.js → google-CTJCrgwS.js} +1 -1
  55. package/dist/{hamburger-Bss9ENTU.js → hamburger-Bz6xyfny.js} +5 -5
  56. package/dist/{help-circle-D9KC2TTg.js → help-circle-tDDI6xDF.js} +1 -1
  57. package/dist/{id-D5ODDUPi.js → id-HUj92mdR.js} +1 -1
  58. package/dist/{image-D9BguVkX.js → image-kh61TiAZ.js} +1 -1
  59. package/dist/{index-mLOjEWq5.js → index-51ZOYWe6.js} +46 -20
  60. package/dist/{index-B-LMuVus.js → index-BIrmH9KU.js} +6 -6
  61. package/dist/{index-DTTNs7X2.js → index-Bp8YmQ0W.js} +1 -1
  62. package/dist/{index-B-Y6H6ZT.js → index-C59cU9Oj.js} +2 -2
  63. package/dist/{index-Csnr5wYZ.js → index-COJO0042.js} +142 -116
  64. package/dist/{index-B8BzdUYX.js → index-CbrDck1Q.js} +396 -396
  65. package/dist/{index-D7cNHH01.js → index-CzOzce-R.js} +1 -1
  66. package/dist/{index-Bknn7U1s.js → index-DRvmXt-Y.js} +87 -41
  67. package/dist/{index-C3Yx39QI.js → index-DgfOGyG9.js} +109 -43
  68. package/dist/{index-CCJxyv13.js → index-MSX0Gdx1.js} +1723 -1723
  69. package/dist/{index-D1suJrBe.js → index-u7LhDe5x.js} +78 -78
  70. package/dist/{index.es-J7Adt0qn.js → index.es-BVl6m7Pn.js} +2 -2
  71. package/dist/{index.es-BvpkVeYn.js → index.es-CVMqdfN3.js} +1 -1
  72. package/dist/index.es.js +1 -1
  73. package/dist/{info-BbZu8EmP.js → info-CqS3XBRw.js} +1 -1
  74. package/dist/{info-circle-DC4d8t58.js → info-circle-rygiOkU3.js} +1 -1
  75. package/dist/{lightbulb-B_XHWcwO.js → lightbulb-CKEjyRaf.js} +1 -1
  76. package/dist/{mail-DUBlSWnW.js → mail-BWMwauvE.js} +1 -1
  77. package/dist/{mobile-DW7n1RaC.js → mobile-68osTp4b.js} +1 -1
  78. package/dist/{more-CHiJ0jdA.js → more-BC8GE3IW.js} +1 -1
  79. package/dist/{network-placeholder-fkXdFnU3.js → network-placeholder--GIoATy6.js} +1 -1
  80. package/dist/{nftPlaceholder-CzdJZ_xc.js → nftPlaceholder-Dp8gBk3E.js} +1 -1
  81. package/dist/{off-liaZCdZH.js → off-DBKQ2uD0.js} +1 -1
  82. package/dist/{play-store-Dlmh4PlW.js → play-store-DLXuifjq.js} +1 -1
  83. package/dist/{plus-QBGWemZZ.js → plus-B2UVpZoZ.js} +1 -1
  84. package/dist/{qr-code-2rARSIxP.js → qr-code-B70pCkf_.js} +1 -1
  85. package/dist/{recycle-horizontal-DByCihYW.js → recycle-horizontal-f1-LcR5k.js} +1 -1
  86. package/dist/{refresh-BFM457iN.js → refresh-DqxcTS2O.js} +1 -1
  87. package/dist/{reown-logo-C9dbpsPZ.js → reown-logo-DPYJPO0J.js} +1 -1
  88. package/dist/{search-_GMCgtU4.js → search-C2ANVg9Q.js} +1 -1
  89. package/dist/{send-CBnSvpXY.js → send-jEzvJdO5.js} +1 -1
  90. package/dist/{swapHorizontal-BiN3nSBx.js → swapHorizontal-DsfyOh5t.js} +1 -1
  91. package/dist/{swapHorizontalBold-CAWIrlnq.js → swapHorizontalBold-BklgdCvD.js} +1 -1
  92. package/dist/{swapHorizontalMedium-DrfkO94z.js → swapHorizontalMedium-xuE1OPS7.js} +1 -1
  93. package/dist/{swapHorizontalRoundedBold-DbJnc4Gs.js → swapHorizontalRoundedBold-DXR4a277.js} +1 -1
  94. package/dist/{swapVertical-nx3G0q67.js → swapVertical-BaTPHjiX.js} +1 -1
  95. package/dist/{telegram-BBmONWiX.js → telegram-nFLInMdI.js} +1 -1
  96. package/dist/{three-dots-CxLcYR_u.js → three-dots-CkFcJxrL.js} +1 -1
  97. package/dist/{twitch-BCER0FU2.js → twitch-DRXpD9lS.js} +1 -1
  98. package/dist/{twitterIcon-D7lNSGDl.js → twitterIcon-DILOWGoL.js} +1 -1
  99. package/dist/{unsupportedProp-Cgx_R3Ro.js → unsupportedProp-wLSeuqFw.js} +1 -1
  100. package/dist/{useRegisterError-CIj7yT4N.js → useRegisterError-Bcj3H5Px.js} +1 -1
  101. package/dist/{verify-BtPqlMYv.js → verify-dxcsdtk9.js} +1 -1
  102. package/dist/{verify-filled-D69dNjXa.js → verify-filled-BHXk8ei0.js} +1 -1
  103. package/dist/{w3m-modal-BRaqvs1m.js → w3m-modal-CLvDtp4W.js} +2 -2
  104. package/dist/{wallet-B0uYbj_y.js → wallet-j7M44X01.js} +1 -1
  105. package/dist/{wallet-placeholder-C64Kayjj.js → wallet-placeholder-8MIkVS8L.js} +1 -1
  106. package/dist/{walletconnect-Bl6U4E40.js → walletconnect-DP64PiDx.js} +1 -1
  107. package/dist/{warning-circle-DdcOPYkT.js → warning-circle-BLBqorXY.js} +1 -1
  108. package/dist/widget.css +1 -1
  109. package/dist/{x-PEBthjJm.js → x-jWwE-bx-.js} +1 -1
  110. package/package.json +1 -1
@@ -1,13 +1,13 @@
1
- import { jsx as e, jsxs as t, Fragment as m } from "react/jsx-runtime";
2
- import { t as te } from "./truncate-D9t92mVX.js";
3
- import { u as r, S as o, l as we } from "./index-CCJxyv13.js";
1
+ import { jsx as e, jsxs as w, Fragment as m } from "react/jsx-runtime";
2
+ import { t as we } from "./truncate-D9t92mVX.js";
3
+ import { u as r, S as o, l as te } from "./index-MSX0Gdx1.js";
4
4
  import { useState as ie, useEffect as le } from "react";
5
- import { s as a } from "./WidgetForm.module-QHJ0-m5f.js";
5
+ import { s } 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-C69EIwo1.js";
8
- import { e as se } from "./ethertousd-CC_ezooz.js";
9
- import { O as H } from "./index-DTTNs7X2.js";
10
- import { z as ae, F as J, i as oe } from "./useRegisterError-CIj7yT4N.js";
7
+ import { S as re } from "./down-C7Cxaule.js";
8
+ import { e as ae } from "./ethertousd-CC_ezooz.js";
9
+ import { O as H } from "./index-Bp8YmQ0W.js";
10
+ import { z as se, F as J, i as oe } from "./useRegisterError-Bcj3H5Px.js";
11
11
  function xe({ fill: n }) {
12
12
  return /* @__PURE__ */ e(
13
13
  "svg",
@@ -30,36 +30,36 @@ function xe({ fill: n }) {
30
30
  }
31
31
  function ke({ routes: n, handleShowAllRoutes: K, routesData: b, price: Q, amount: X, isRoutesEnabled: v }) {
32
32
  var y, N, F, u, S, k, C, $, E, j, I, L, U, A, G, O, T, z, M, R, _, B, V, q, W, P;
33
- const x = n.data, [c, Y] = ie(), l = r((i) => i.gradient), w = r((i) => i.configuration), h = r((i) => i.fromChain), g = r((i) => i.fromCoin), p = r((i) => i.toChain), d = r((i) => i.toCoin), { defaultCoin: D } = oe;
33
+ const x = n.data, [c, Y] = ie(), l = r((i) => i.gradient), t = r((i) => i.configuration), h = r((i) => i.fromChain), g = r((i) => i.fromCoin), p = r((i) => i.toChain), d = r((i) => i.toCoin), { defaultCoin: D } = oe;
34
34
  le(() => {
35
35
  var i;
36
36
  if (b) {
37
37
  let f = { amountInUSD: 0, amountInNative: 0 }, Z = {};
38
- (i = b == null ? void 0 : b.fee) == null || i.forEach((s) => {
39
- s.source == "FROM_SOURCE_WALLET" && (f.amountInUSD += Number(s.amountInUSD), f.amountInNative += Number(se(s.amountInToken, s.token.decimals)), Z = { ...s });
38
+ (i = b == null ? void 0 : b.fee) == null || i.forEach((a) => {
39
+ a.source == "FROM_SOURCE_WALLET" && (f.amountInUSD += Number(a.amountInUSD), f.amountInNative += Number(ae(a.amountInToken, a.token.decimals)), Z = { ...a });
40
40
  }), Y({ tempGasObj: f, token: Z });
41
41
  }
42
42
  }, [b]);
43
- let ee = (b == null ? void 0 : b.outputAmountDisplay) || "", be = ae(Q), ne = (N = (y = b == null ? void 0 : b.providerDetails) == null ? void 0 : y.logoUrl) != null && N.length ? (F = b == null ? void 0 : b.providerDetails) == null ? void 0 : F.logoUrl : D;
44
- return /* @__PURE__ */ e("div", { className: "bw-mt-2", children: (u = h == null ? void 0 : h.chain) != null && u.length && ((S = g == null ? void 0 : g.coin) != null && S.length) && ((k = p == null ? void 0 : p.chain) != null && k.length) && ((C = d == null ? void 0 : d.coin) != null && C.length) && X.length && v ? n.isSuccess && !((j = (E = ($ = n.data) == null ? void 0 : $.data) == null ? void 0 : E.quotes) != null && j.length) ? /* @__PURE__ */ e("div", { className: "bw-bg-background-container bw-text-text-secondary bw-flex bw-justify-center bw-items-center bw-h-[80px] bw-relative bw-flex-col bw-border bw-border-border-primary", children: "No Routes Available" }) : n.isSuccess || n.isLoading || n.isFetching ? /* @__PURE__ */ t("div", { children: [
45
- /* @__PURE__ */ t("div", { className: "bw-flex bw-items-center bw-justify-between", children: [
43
+ let ee = (b == null ? void 0 : b.outputAmountDisplay) || "", be = se(Q), ne = (N = (y = b == null ? void 0 : b.providerDetails) == null ? void 0 : y.logoUrl) != null && N.length ? (F = b == null ? void 0 : b.providerDetails) == null ? void 0 : F.logoUrl : D;
44
+ return /* @__PURE__ */ e("div", { className: "bw-mt-2", children: (u = h == null ? void 0 : h.chain) != null && u.length && ((S = g == null ? void 0 : g.coin) != null && S.length) && ((k = p == null ? void 0 : p.chain) != null && k.length) && ((C = d == null ? void 0 : d.coin) != null && C.length) && X.length && v ? n.isSuccess && !((j = (E = ($ = n.data) == null ? void 0 : $.data) == null ? void 0 : E.quotes) != null && j.length) ? /* @__PURE__ */ e("div", { className: "bw-bg-background-container bw-text-text-secondary bw-flex bw-justify-center bw-items-center bw-h-[80px] bw-relative bw-flex-col bw-border bw-border-border-primary", children: "No Routes Available" }) : n.isSuccess || n.isLoading || n.isFetching ? /* @__PURE__ */ w("div", { children: [
45
+ /* @__PURE__ */ w("div", { className: "bw-flex bw-items-center bw-justify-between", children: [
46
46
  " ",
47
- /* @__PURE__ */ t("p", { className: "bw-text-sm bw-font-medium bw-text-text-secondary", children: [
47
+ /* @__PURE__ */ w("p", { className: "bw-text-sm bw-font-medium bw-text-text-secondary", children: [
48
48
  "Get ",
49
49
  d.name
50
50
  ] }),
51
- n.isFetching ? /* @__PURE__ */ e(m, {}) : /* @__PURE__ */ e("div", { onClick: K, style: { ...w.gradientStyle }, className: `bw-w-[130px] bw-cursor-pointer bw-relative bw-p-[1px] bw-text-transparent bw-text-sm bw-font-normal bw-h-[18px] bw-rounded-xl ${l || `${a.overlayshow} ${(I = w.gradientStyle) != null && I.background ? "" : "bw-bg-gradient-to-r bw-from-[#A45EFF] bw-to-[#2CFFE4]"}`}`, children: /* @__PURE__ */ e("div", { className: " bw-w-full bw-h-full bw-text-text-secondary bw-relative bw-z-10 bw-bg-background-container bw-flex bw-justify-center bw-items-center bw-text-xs bw-font-normal bw-rounded-xl", children: "Show All Routes" }) })
51
+ n.isFetching ? /* @__PURE__ */ e(m, {}) : /* @__PURE__ */ e("div", { onClick: K, style: { ...t.gradientStyle }, className: `bw-w-[130px] bw-cursor-pointer bw-relative bw-p-[1px] bw-text-transparent bw-text-sm bw-font-normal bw-h-[18px] bw-rounded-xl ${l || `${s.overlayshow} ${(I = t.gradientStyle) != null && I.background ? "" : "bw-bg-gradient-to-r bw-from-[#A45EFF] bw-to-[#2CFFE4]"}`}`, children: /* @__PURE__ */ e("div", { className: " bw-w-full bw-h-full bw-text-text-secondary bw-relative bw-z-10 bw-bg-background-container bw-flex bw-justify-center bw-items-center bw-text-xs bw-font-normal bw-rounded-xl", children: "Show All Routes" }) })
52
52
  ] }),
53
- /* @__PURE__ */ t("div", { className: " bw-mt-2", children: [
54
- /* @__PURE__ */ t("div", { style: n.isFetching ? {} : { ...w.gradientStyle }, className: ` ${n.isFetching ? "bw-bg-background-secondary" : ` ${l || `${(L = w.gradientStyle) != null && L.background ? "" : "bw-bg-gradient-to-r bw-from-[#A45EFF] bw-to-[#2CFFE4]"} ${a.overlay}`} `} bw-relative bw-flex bw-justify-center bw-rounded-[8px] bw-w-full bw-p-[1px] bw-h-[86px] `, children: [
55
- /* @__PURE__ */ t("div", { className: "bw-w-full bw-h-full bw-flex bw-px-2 bw-pb-3 bw-items-center bw-justify-between bw-bg-background-container rbw-elative bw-z-10 bw-rounded-[8px]", children: [
56
- /* @__PURE__ */ t("div", { className: "bw-flex bw-items-start bw-gap-x-2", children: [
57
- d != null && d.image && !n.isFetching ? /* @__PURE__ */ e("img", { src: d.image, width: 30, height: 30, className: "bw-mt-1 bw-max-w-[30px] bw-max-h-[30px] bw-object-contain bw-bg-background-secondary bw-rounded-[50%]" }) : /* @__PURE__ */ e(m, {}),
58
- /* @__PURE__ */ t("div", { children: [
59
- n.isFetching ? /* @__PURE__ */ e(o, { className: "bw-bg-background-secondary bw-mt-3 bw-rounded-sm bw-h-[36px] bw-min-h-[36px]", animation: "wave", variant: "rectangular", height: 36, width: 250 }) : /* @__PURE__ */ e("p", { className: "bw-text-3xl bw-mb-1 bw-font-medium bw-text-text-primary", children: /* @__PURE__ */ e(H, { value: ee, decimal: 12 }) }),
60
- n.isFetching ? /* @__PURE__ */ e(o, { className: "bw-bg-background-secondary bw-mt-2 bw-rounded-sm bw-h-[20px] bw-w-[100px] bw-min-h-[20px]", variant: "rectangular", animation: "wave", height: 20, width: 100 }) : /* @__PURE__ */ t("div", { className: "bw-flex bw-items-center bw-gap-x-1", children: [
53
+ /* @__PURE__ */ w("div", { className: " bw-mt-2", children: [
54
+ /* @__PURE__ */ w("div", { style: n.isFetching ? {} : { ...t.gradientStyle }, className: ` ${n.isFetching ? "bw-bg-background-secondary" : ` ${l || `${(L = t.gradientStyle) != null && L.background ? "" : "bw-bg-gradient-to-r bw-from-[#A45EFF] bw-to-[#2CFFE4]"} ${s.overlay}`} `} bw-relative bw-flex bw-justify-center bw-rounded-[8px] bw-w-full bw-p-[1px] bw-h-[86px] `, children: [
55
+ /* @__PURE__ */ w("div", { className: "bw-w-full bw-h-full bw-flex bw-px-2 bw-pb-3 bw-items-center bw-justify-between bw-bg-background-card rbw-elative bw-z-10 bw-rounded-[8px]", children: [
56
+ /* @__PURE__ */ w("div", { className: "bw-flex bw-items-start bw-gap-x-2", children: [
57
+ d != null && d.image && !n.isFetching ? /* @__PURE__ */ e("img", { src: d.image, width: 30, height: 30, className: "bw-mt-1 bw-max-w-[30px] bw-max-h-[30px] bw-object-contain bw-bg-background-coin bw-rounded-[50%]" }) : /* @__PURE__ */ e(m, {}),
58
+ /* @__PURE__ */ w("div", { children: [
59
+ n.isFetching ? /* @__PURE__ */ e(o, { className: "bw-bg-background-loaderbar bw-mt-3 bw-rounded-sm bw-h-[36px] bw-min-h-[36px]", animation: "wave", variant: "rectangular", height: 36, width: 250 }) : /* @__PURE__ */ e("p", { className: "bw-text-3xl bw-mb-1 bw-font-medium bw-text-text-primary", children: /* @__PURE__ */ e(H, { value: ee, decimal: 12 }) }),
60
+ n.isFetching ? /* @__PURE__ */ e(o, { className: "bw-bg-background-loaderbar bw-mt-2 bw-rounded-sm bw-h-[20px] bw-w-[100px] bw-min-h-[20px]", variant: "rectangular", animation: "wave", height: 20, width: 100 }) : /* @__PURE__ */ w("div", { className: "bw-flex bw-items-center bw-gap-x-1", children: [
61
61
  /* @__PURE__ */ e(ce, { fill: "var(--tw-text-primary)" }),
62
- /* @__PURE__ */ t("p", { className: "bw-text-sm bw-font-medium bw-text-text-primary", children: [
62
+ /* @__PURE__ */ w("p", { className: "bw-text-sm bw-font-medium bw-text-text-primary", children: [
63
63
  "Total Fee:",
64
64
  " $",
65
65
  /* @__PURE__ */ e(J, { value: ((U = c == null ? void 0 : c.tempGasObj) == null ? void 0 : U.amountInUSD) || 0, options: { maxDecimals: 8 } }),
@@ -70,26 +70,26 @@ function ke({ routes: n, handleShowAllRoutes: K, routesData: b, price: Q, amount
70
70
  ] })
71
71
  ] })
72
72
  ] }),
73
- /* @__PURE__ */ t("div", { className: " bw-text-sm bw-font-medium bw-mt-2 bw-text-text-loaderbar ", children: [
74
- n.isFetching ? /* @__PURE__ */ e(o, { className: "bw-bg-background-secondary bw-w-[50px] bw-rounded-sm bw-h-[20px] bw-min-h-[20px]", variant: "rectangular", animation: "wave", height: 20, width: 50 }) : /* @__PURE__ */ t("p", { className: "bw-text-text-secondary bw-font-medium bw-text-sm", children: [
73
+ /* @__PURE__ */ w("div", { className: " bw-text-sm bw-font-medium bw-mt-2 bw-text-text-loaderbar ", children: [
74
+ n.isFetching ? /* @__PURE__ */ e(o, { className: "bw-bg-background-loaderbar bw-w-[50px] bw-rounded-sm bw-h-[20px] bw-min-h-[20px]", variant: "rectangular", animation: "wave", height: 20, width: 50 }) : /* @__PURE__ */ w("p", { className: "bw-text-text-secondary bw-font-medium bw-text-sm", children: [
75
75
  "$",
76
76
  /* @__PURE__ */ e(H, { value: be, decimal: 8 })
77
77
  ] }),
78
- n.isFetching ? /* @__PURE__ */ e(o, { className: "bw-bg-background-secondary bw-w-[50px] bw-mt-2 bw-rounded-sm bw-h-[20px] bw-min-h-[20px] ", variant: "rectangular", animation: "wave", height: 20, width: 50 }) : ((M = (z = (T = x == null ? void 0 : x.data) == null ? void 0 : T.quotes) == null ? void 0 : z[0]) == null ? void 0 : M._id) === b._id ? /* @__PURE__ */ e("div", { style: { ...w.gradientStyle }, className: `${l || `${(R = w.gradientStyle) != null && R.background ? "" : "bw-bg-gradient-to-r bw-from-[#A45EFF] bw-to-[#2CFFE4]"} `} bw-mt-3 bw-text-right bw-text-transparent bw-text-[10px] bw-font-bold bw-bg-clip-text ${a.gradienttext}`, children: "BEST" }) : /* @__PURE__ */ e(m, {})
78
+ n.isFetching ? /* @__PURE__ */ e(o, { className: "bw-bg-background-loaderbar bw-w-[50px] bw-mt-2 bw-rounded-sm bw-h-[20px] bw-min-h-[20px] ", variant: "rectangular", animation: "wave", height: 20, width: 50 }) : ((M = (z = (T = x == null ? void 0 : x.data) == null ? void 0 : T.quotes) == null ? void 0 : z[0]) == null ? void 0 : M._id) === b._id ? /* @__PURE__ */ e("div", { style: { ...t.gradientStyle }, className: `${l || `${(R = t.gradientStyle) != null && R.background ? "" : "bw-bg-gradient-to-r bw-from-[#A45EFF] bw-to-[#2CFFE4]"} `} bw-mt-3 bw-text-right bw-text-transparent bw-text-[10px] bw-font-bold bw-bg-clip-text ${s.gradienttext}`, children: "BEST" }) : /* @__PURE__ */ e(m, {})
79
79
  ] })
80
80
  ] }),
81
81
  n.isFetching ? /* @__PURE__ */ e("div", { className: "bw-absolute bw-w-[40px] bw-h-[40px] bw-bottom-[-35%] bw-z-20 ", children: /* @__PURE__ */ e(re, {}) }) : /* @__PURE__ */ e(m, {}),
82
- /* @__PURE__ */ t("div", { className: "bw-h-[18px] bw-w-max bw-z-10 bw-min-w-[200px] bw-bg-background-container bw-flex bw-items-center bw-absolute bw-bottom-[-10%]", children: [
83
- !n.isFetching && !we.isEmpty(b) ? /* @__PURE__ */ t("div", { className: "bw-flex bw-w-full bw-px-6 bw-items-center bw-gap-x-1", children: [
82
+ /* @__PURE__ */ w("div", { className: "bw-h-[18px] bw-w-max bw-z-10 bw-min-w-[200px] bw-bg-background-card bw-flex bw-items-center bw-absolute bw-bottom-[-10%]", children: [
83
+ !n.isFetching && !te.isEmpty(b) ? /* @__PURE__ */ w("div", { className: "bw-flex bw-w-full bw-px-6 bw-items-center bw-gap-x-1", children: [
84
84
  " ",
85
- /* @__PURE__ */ t("p", { className: "bw-text-sm bw-w-full bw-text-center bw-flex bw-justify-center bw-items-center bw-font-normal bw-my-1 bw-text-text-secondary", children: [
85
+ /* @__PURE__ */ w("p", { className: "bw-text-sm bw-w-full bw-text-center bw-flex bw-justify-center bw-items-center bw-font-normal bw-my-1 bw-text-text-secondary", children: [
86
86
  /* @__PURE__ */ e("span", { className: "bw-text-sm bw-font-light", children: "via" }),
87
87
  " ",
88
88
  /* @__PURE__ */ e("img", { src: ne, className: "bw-rounded-[50%] bw-mx-[4px] bw-min-w-[18px] bw-max-h-[18px] bw-min-h-[18px]", width: 18, height: 18 }),
89
89
  ((_ = b == null ? void 0 : b.providerDetails) == null ? void 0 : _.name) || "",
90
90
  ": ",
91
91
  b == null ? void 0 : b.protocolsUsed[0],
92
- ((B = b == null ? void 0 : b.protocolsUsed) == null ? void 0 : B.length) <= 1 ? "" : /* @__PURE__ */ t("span", { className: "bw-ml-1 bw-text-xs bw-font-normal", children: [
92
+ ((B = b == null ? void 0 : b.protocolsUsed) == null ? void 0 : B.length) <= 1 ? "" : /* @__PURE__ */ w("span", { className: "bw-ml-1 bw-text-xs bw-font-normal", children: [
93
93
  `+${((V = b == null ? void 0 : b.protocolsUsed) == null ? void 0 : V.length) - 1}`,
94
94
  " More"
95
95
  ] }),
@@ -97,22 +97,22 @@ function ke({ routes: n, handleShowAllRoutes: K, routesData: b, price: Q, amount
97
97
  ] }),
98
98
  " "
99
99
  ] }) : /* @__PURE__ */ e(m, {}),
100
- /* @__PURE__ */ e("div", { style: n.isFetching ? {} : { ...w.gradientStyle }, className: ` ${n.isFetching ? "bw-bg-background-secondary" : ` ${l || ` ${a.overlay} ${(q = w == null ? void 0 : w.gradientStyle) != null && q.background ? "" : "bw-bg-gradient-to-r bw-from-[#A45EFF] bw-to-[#2CFFE4]"}`}`} bw-absolute bw-right-0 bw-rounded-[50%] bw-w-[4px] bw-h-[4px] ` }),
101
- /* @__PURE__ */ e("div", { style: n.isFetching ? {} : { ...w.gradientStyle }, className: ` ${n.isFetching ? "bw-bg-background-secondary" : ` ${l || ` ${a.overlay} ${(W = w == null ? void 0 : w.gradientStyle) != null && W.background ? "" : "bw-bg-gradient-to-r bw-from-[#A45EFF] bw-to-[#2CFFE4]"}`}`} bw-absolute bw-rounded-[50%] bw-w-[4px] bw-h-[4px] ` })
100
+ /* @__PURE__ */ e("div", { style: n.isFetching ? {} : { ...t.gradientStyle }, className: ` ${n.isFetching ? "bw-bg-background-secondary" : ` ${l || ` ${s.overlay} ${(q = t == null ? void 0 : t.gradientStyle) != null && q.background ? "" : "bw-bg-gradient-to-r bw-from-[#A45EFF] bw-to-[#2CFFE4]"}`}`} bw-absolute bw-right-0 bw-rounded-[50%] bw-w-[4px] bw-h-[4px] ` }),
101
+ /* @__PURE__ */ e("div", { style: n.isFetching ? {} : { ...t.gradientStyle }, className: ` ${n.isFetching ? "bw-bg-background-secondary" : ` ${l || ` ${s.overlay} ${(W = t == null ? void 0 : t.gradientStyle) != null && W.background ? "" : "bw-bg-gradient-to-r bw-from-[#A45EFF] bw-to-[#2CFFE4]"}`}`} bw-absolute bw-rounded-[50%] bw-w-[4px] bw-h-[4px] ` })
102
102
  ] })
103
103
  ] }),
104
- /* @__PURE__ */ e("div", { className: "bw-bg-background-container bw-flex bw-items-center bw-w-[85%] bw-mx-auto bw-rounded-b-md bw-justify-center bw-h-[60px]", children: n.isFetching ? /* @__PURE__ */ e("div", { className: "bw-mt-6 bw-w-full bw-h-[20px]" }) : /* @__PURE__ */ t("div", { className: "bw-flex bw-items-center bw-gap-x-4 bw-mt-2 bw-bg-background-container bw-justify-center ", children: [
105
- /* @__PURE__ */ t("div", { className: "bw-flex bw-items-center bw-gap-x-1", children: [
104
+ /* @__PURE__ */ e("div", { className: "bw-bg-background-card bw-flex bw-items-center bw-w-[85%] bw-mx-auto bw-rounded-b-md bw-justify-center bw-h-[60px]", children: n.isFetching ? /* @__PURE__ */ e("div", { className: "bw-mt-6 bw-w-full bw-h-[20px]" }) : /* @__PURE__ */ w("div", { className: "bw-flex bw-items-center bw-gap-x-4 bw-mt-2 bw-bg-background-card bw-justify-center ", children: [
105
+ /* @__PURE__ */ w("div", { className: "bw-flex bw-items-center bw-gap-x-1", children: [
106
106
  /* @__PURE__ */ e(xe, { fill: "var(--tw-text-secondary)" }),
107
107
  /* @__PURE__ */ e("p", { className: "bw-text-sm bw-font-medium bw-text-text-secondary", children: "Fee" }),
108
108
  /* @__PURE__ */ e("p", { className: "bw-text-sm bw-line-through bw-font-medium bw-text-text-secondary", children: "0.1%" }),
109
109
  /* @__PURE__ */ e("p", { className: "bw-text-sm bw-font-medium bw-text-text-secondary", children: "0" })
110
110
  ] }),
111
- /* @__PURE__ */ t("div", { className: "bw-flex bw-items-center bw-gap-x-1", children: [
111
+ /* @__PURE__ */ w("div", { className: "bw-flex bw-items-center bw-gap-x-1", children: [
112
112
  /* @__PURE__ */ e(de, { fill: "var(--tw-text-secondary)" }),
113
- /* @__PURE__ */ e("p", { className: "bw-text-sm bw-font-medium bw-text-text-secondary", children: (b == null ? void 0 : b.estimatedTimeInSeconds) >= 90 ? `${Math.round(te(((b == null ? void 0 : b.estimatedTimeInSeconds) || 60) / 60, 2) || 0)}min` : `${(b == null ? void 0 : b.estimatedTimeInSeconds) || 60} secs` })
113
+ /* @__PURE__ */ e("p", { className: "bw-text-sm bw-font-medium bw-text-text-secondary", children: (b == null ? void 0 : b.estimatedTimeInSeconds) >= 90 ? `${Math.round(we(((b == null ? void 0 : b.estimatedTimeInSeconds) || 60) / 60, 2) || 0)}min` : `${(b == null ? void 0 : b.estimatedTimeInSeconds) || 60} secs` })
114
114
  ] }),
115
- /* @__PURE__ */ t("div", { className: " bw-gap-x-1 bw-flex bw-items-center bw-text-xs bw-font-normal bw-text-text-primary", children: [
115
+ /* @__PURE__ */ w("div", { className: " bw-gap-x-1 bw-flex bw-items-center bw-text-xs bw-font-normal bw-text-text-primary", children: [
116
116
  /* @__PURE__ */ e(me, { fill: "var(--tw-text-secondary)" }),
117
117
  /* @__PURE__ */ e("p", { className: "bw-text-sm bw-font-medium bw-text-text-secondary", children: `${((P = b == null ? void 0 : b.steps) == null ? void 0 : P.length) || ""} step` })
118
118
  ] })
@@ -1,6 +1,6 @@
1
1
  import { jsxs as w, jsx as t, Fragment as d } from "react/jsx-runtime";
2
2
  import { s as o } from "./WidgetForm.module-QHJ0-m5f.js";
3
- import { u as l, l as c } from "./index-CCJxyv13.js";
3
+ import { u as l, l as c } from "./index-MSX0Gdx1.js";
4
4
  function f({ routesData: i, routes: a, quoteTimer: n }) {
5
5
  var b;
6
6
  const r = l((s) => s.configuration), e = l((s) => s.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-CCJxyv13.js";
2
+ import { u as a } from "./index-MSX0Gdx1.js";
3
3
  function w({ fill1: o, fill2: r }) {
4
4
  return /* @__PURE__ */ s(
5
5
  "svg",
@@ -42,9 +42,22 @@ function w({ fill1: o, fill2: r }) {
42
42
  }
43
43
  function p({ handleSwap: o }) {
44
44
  var i, l;
45
- const r = a((n) => n.fromCoin), c = a((n) => n.toCoin);
46
- let e = ((i = r == null ? void 0 : r.coin) == null ? void 0 : i.length) && ((l = c.coin) == null ? void 0 : l.length);
47
- return /* @__PURE__ */ t("div", { onClick: o, className: `${e ? "" : "bw-pointer-events-none"} bw-absolute hover:bw-scale-[0.95] bw-border bw-border-border-primary bw-rounded-[50%] bw-cursor-pointer bw-bg-background-container bw-top-[33%] bw-right-[45%] `, children: /* @__PURE__ */ t(w, { fill1: "var(--tw-background-container)", fill2: e ? "var(--tw-text-primary)" : "var(--tw-text-secondary)" }) });
45
+ const r = a((e) => e.fromCoin), c = a((e) => e.toCoin);
46
+ let n = ((i = r == null ? void 0 : r.coin) == null ? void 0 : i.length) && ((l = c.coin) == null ? void 0 : l.length);
47
+ return /* @__PURE__ */ t(
48
+ "div",
49
+ {
50
+ onClick: o,
51
+ className: `${n ? "" : "bw-pointer-events-none"} bw-absolute hover:bw-scale-[0.95] bw-border bw-border-border-primary bw-rounded-[50%] bw-cursor-pointer bw-bg-background-container bw-top-[33%] bw-right-[45%] `,
52
+ children: /* @__PURE__ */ t(
53
+ w,
54
+ {
55
+ fill1: "var(--tw-background-card)",
56
+ fill2: n ? "var(--tw-text-primary)" : "var(--tw-text-secondary)"
57
+ }
58
+ )
59
+ }
60
+ );
48
61
  }
49
62
  export {
50
63
  p as default
@@ -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-CCJxyv13.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-MSX0Gdx1.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-D4EVow-M.js";
3
+ import { G as Be, b as wo, u as Ro, a as Co, P as He } from "./Grow-w3xFin50.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-CIj7yT4N.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-Bcj3H5Px.js";
6
6
  function Lo(r) {
7
7
  return To("MuiTooltip", r);
8
8
  }
@@ -1,18 +1,18 @@
1
1
  import { jsx as N } from "react/jsx-runtime";
2
2
  import { useState as q, useEffect as P } from "react";
3
3
  import { useSwitchNetwork as Fe, useDynamicContext as je, useIsLoggedIn as ze } from "@dynamic-labs/sdk-react-core";
4
- import { a as we, u as T, az as Ae, aA as ve } from "./index-CCJxyv13.js";
4
+ import { a as we, u as T, az as Ae, aA as ve } from "./index-MSX0Gdx1.js";
5
5
  import { s as f } from "./WidgetForm.module-QHJ0-m5f.js";
6
6
  import { useAccount as Me, useSwitchChain as Oe, useBalance as Re } from "wagmi";
7
- import { u as ae, d as Ve, c as qe, C as oe } from "./useRegisterError-CIj7yT4N.js";
8
- import "./getCosmosAddress-Qwk5Y2WB.js";
7
+ import { u as ae, d as Ve, c as qe, C as oe } from "./useRegisterError-Bcj3H5Px.js";
8
+ import "./getCosmosAddress-DwtEOPre.js";
9
9
  import { v as Pe } from "./validError-CDlJpg_f.js";
10
- import { u as _e, p as He } from "./index-Csnr5wYZ.js";
10
+ import { u as _e, p as He } from "./index-COJO0042.js";
11
11
  function Je(n) {
12
- const { wallet: h, address: g } = we(), [E, S] = q(0);
12
+ const { wallet: h, address: g } = we(), [E, G] = q(0);
13
13
  async function m() {
14
14
  const z = await window.tronWeb.trx.getBalance(g);
15
- S(z / Math.pow(10, 6));
15
+ G(z / Math.pow(10, 6));
16
16
  }
17
17
  return P(() => {
18
18
  g && (n == null ? void 0 : n.networkType) === "tron" && m();
@@ -22,7 +22,7 @@ function j(n) {
22
22
  if (n.key.toLowerCase() === "backpacksol")
23
23
  return !0;
24
24
  }
25
- function st({ routesData: n, routes: h, amount: g, isAmountTyped: E, handleShowWallet: S, setConnectWalletField: m, handleConfirmClose: z, balanceSol: L, getCoinBalance: be, handleSuccess: ue }) {
25
+ function st({ routesData: n, routes: h, amount: g, isAmountTyped: E, handleShowWallet: G, setConnectWalletField: m, handleConfirmClose: z, balanceSol: L, getCoinBalance: be, handleSuccess: ue }) {
26
26
  var Y, Z, W, k, D, C, ee, te, se, re, ce, ne, ie;
27
27
  const o = T((s) => s.gradient), x = T((s) => s.configuration), e = T((s) => s.fromChain), i = T((s) => s.fromCoin), r = T((s) => s.toChain), w = T((s) => s.toCoin), { isConnected: F, address: _, chain: I } = Me(), pe = Fe(), { getBothWalletConnection: ge, getConnectWallet: ye } = ae({
28
28
  chainData: e
@@ -57,9 +57,9 @@ function st({ routesData: n, routes: h, amount: g, isAmountTyped: E, handleShowW
57
57
  else
58
58
  me.emit(ve.TransactionStarted, {
59
59
  ...n
60
- }), B && (ue(!1), z());
60
+ }), ue(!1), z();
61
61
  }
62
- const { primaryWallet: b } = je(), V = ze(), B = (e == null ? void 0 : e.networkType) === r.networkType ? !!((C = (D = xe(e)) == null ? void 0 : D.address) != null && C.length) : ge(e == null ? void 0 : e.networkType, (d == null ? void 0 : d.length) > 30 ? "customWallet" : r == null ? void 0 : r.networkType), U = async () => {
62
+ const { primaryWallet: b } = je(), V = ze(), S = (e == null ? void 0 : e.networkType) === r.networkType ? !!((C = (D = xe(e)) == null ? void 0 : D.address) != null && C.length) : ge(e == null ? void 0 : e.networkType, (d == null ? void 0 : d.length) > 30 ? "customWallet" : r == null ? void 0 : r.networkType), U = async () => {
63
63
  if (b)
64
64
  try {
65
65
  const s = await b.getNetwork();
@@ -88,14 +88,14 @@ function st({ routesData: n, routes: h, amount: g, isAmountTyped: E, handleShowW
88
88
  var $;
89
89
  let s = {};
90
90
  function u(t, c) {
91
- let G = Object.keys(s);
91
+ let B = Object.keys(s);
92
92
  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 += X(c.amountInToken, t == null ? void 0 : t.decimals)) : s[t == null ? void 0 : t.chainId] = {
93
93
  amountInToken: c.amountInToken,
94
94
  gas: X(c.amountInToken, t == null ? void 0 : t.decimals),
95
95
  token: t,
96
96
  nativeBal: (d == null ? void 0 : d.length) > 30 && !A && (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" ? M : (t == null ? void 0 : t.networkType) == "cosmos" ? Se(t) : Ge(),
97
97
  isFromChain: (e == null ? void 0 : e.chainId) === (t == null ? void 0 : t.chainId.toString()),
98
- 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 : G.length > 2 ? 3 : 2
98
+ 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 : B.length > 2 ? 3 : 2
99
99
  };
100
100
  }
101
101
  ($ = n == null ? void 0 : n.fee) == null || $.forEach((t) => {
@@ -116,11 +116,11 @@ function st({ routesData: n, routes: h, amount: g, isAmountTyped: E, handleShowW
116
116
  color: "bw-bg-border-primary"
117
117
  });
118
118
  else {
119
- let t = Object.values(s).sort((c, G) => c.order - G.order);
119
+ let t = Object.values(s).sort((c, B) => c.order - B.order);
120
120
  t.some((c) => {
121
- var G, de, le;
121
+ var B, de, le;
122
122
  return c != null && c.isFromChain && Number(g) <= Number(p) && Number(c.nativeBal) - Number(g) < c.gas && (i != null && i.isNative) || Number(g) <= Number(p) && Number(c.nativeBal) < c.gas && !(i != null && i.isNative) && (c != null && c.isFromChain) ? (a({
123
- text: `Insufficient ${((G = c == null ? void 0 : c.token) == null ? void 0 : G.symbol) || ""} for gas on ${c.token.blockchain}`,
123
+ text: `Insufficient ${((B = c == null ? void 0 : c.token) == null ? void 0 : B.symbol) || ""} for gas on ${c.token.blockchain}`,
124
124
  isGradient: !1,
125
125
  color: "bw-bg-border-primary"
126
126
  }), !0) : c.nativeBal < c.gas && !((d == null ? void 0 : d.length) > 30 && ((de = c == null ? void 0 : c.token) == null ? void 0 : de.chainId) == (r == null ? void 0 : r.chainId)) ? (a({
@@ -145,7 +145,7 @@ function st({ routesData: n, routes: h, amount: g, isAmountTyped: E, handleShowW
145
145
  text: "Select Token",
146
146
  isGradient: !0,
147
147
  color: o || f.gradientbutton
148
- }) : B ? typeof g < "u" && Number(g || 0) <= 0 ? a({
148
+ }) : S ? typeof g < "u" && Number(g || 0) <= 0 ? a({
149
149
  text: "Enter Amount",
150
150
  isGradient: !1,
151
151
  color: "bw-bg-border-primary"
@@ -178,11 +178,11 @@ function st({ routesData: n, routes: h, amount: g, isAmountTyped: E, handleShowW
178
178
  isGradient: !0,
179
179
  color: o || f.gradientbutton
180
180
  });
181
- }, [v, b, i, w, g, e, r, (ee = y.data) == null ? void 0 : ee.formatted, n, y.isFetching, y.isLoading, F, Q, B, h.isFetching, I == null ? void 0 : I.id, E, M, L, d, K]);
181
+ }, [v, b, i, w, g, e, r, (ee = y.data) == null ? void 0 : ee.formatted, n, y.isFetching, y.isLoading, F, Q, S, h.isFetching, I == null ? void 0 : I.id, E, M, L, d, K]);
182
182
  let Ee = [`switch chain to ${(te = e.chain) == null ? void 0 : te.toLowerCase()}`, `select ${(se = e.chain) == null ? void 0 : se.toLowerCase()} wallet`, "connect custom wallet", "enter recipient wallet address"];
183
183
  function Le() {
184
184
  var s, u, p, $;
185
- return B ? h.isFetching ? !0 : l.text.length ? !Ee.includes((s = l.text) == null ? void 0 : s.toLowerCase()) : !(($ = (p = (u = h.data) == null ? void 0 : u.data) == null ? void 0 : p.quotes) != null && $.length) : !1;
185
+ return S ? h.isFetching ? !0 : l.text.length ? !Ee.includes((s = l.text) == null ? void 0 : s.toLowerCase()) : !(($ = (p = (u = h.data) == null ? void 0 : u.data) == null ? void 0 : p.quotes) != null && $.length) : !1;
186
186
  }
187
187
  return /* @__PURE__ */ N(
188
188
  "button",
@@ -196,9 +196,9 @@ function st({ routesData: n, routes: h, amount: g, isAmountTyped: E, handleShowW
196
196
  },
197
197
  className: `bw-w-full bw-rounded-sm bw-h-[52px] ${l != null && l.isGradient ? "bw-p-[3px]" : "bw-p-[1px]"} bw-mt-3 bw-border-0 bw-relative bw-z-0 disabled:bw-opacity-70 ${O && R && l.color} ${l.text.length > 29 ? "bw-text-xl" : "bw-text-2xl"} ${l != null && l.isGradient ? "bw-font-bold bw-text-text-primary" : "bw-font-normal bw-text-text-secondary"}`,
198
198
  onClick: () => {
199
- B || (S(!0), ((e == null ? void 0 : e.networkType) !== "evm" && F || (e == null ? void 0 : e.networkType) !== "sol" && V && b !== null || (e == null ? void 0 : e.networkType) !== "tron" && H && J) && !A ? m("from") : F && (r == null ? void 0 : r.networkType) !== "evm" || V && (r == null ? void 0 : r.networkType) !== "sol" || (r == null ? void 0 : r.networkType) !== "tron" && H && J || A ? m("to") : m("from")), e.chainId === "eclipse-svm" && !j(b) ? (S(!0), m("from")) : r.chainId === "eclipse-svm" && e.chainId !== "eclipse-svm" && !j(b) && d.length < 30 ? (S(!0), m("to")) : Be();
199
+ S || (G(!0), ((e == null ? void 0 : e.networkType) !== "evm" && F || (e == null ? void 0 : e.networkType) !== "sol" && V && b !== null || (e == null ? void 0 : e.networkType) !== "tron" && H && J) && !A ? m("from") : F && (r == null ? void 0 : r.networkType) !== "evm" || V && (r == null ? void 0 : r.networkType) !== "sol" || (r == null ? void 0 : r.networkType) !== "tron" && H && J || A ? m("to") : m("from")), e.chainId === "eclipse-svm" && !j(b) ? (G(!0), m("from")) : r.chainId === "eclipse-svm" && e.chainId !== "eclipse-svm" && !j(b) && d.length < 30 ? (G(!0), m("to")) : Be();
200
200
  },
201
- children: /* @__PURE__ */ N("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__ */ N("p", { className: "bw-relative bw-z-20", children: O && R ? fe ? /* @__PURE__ */ N("div", { className: "bw-w-[30px] bw-flex bw-text-text-secondary bw-justify-center bw-items-center bw-h-[30px]", children: /* @__PURE__ */ N(oe, { size: 22, thickness: 5, color: "inherit" }) }) : B ? l.text.length ? l.text : "Start Transaction" : `Connect ${Ie} Wallet` : /* @__PURE__ */ N("div", { className: "bw-w-[30px] bw-flex bw-text-text-secondary bw-justify-center bw-items-center bw-h-[30px]", children: /* @__PURE__ */ N(oe, { size: 22, thickness: 5, color: "inherit" }) }) }) })
201
+ children: /* @__PURE__ */ N("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__ */ N("p", { className: "bw-relative bw-z-20", children: O && R ? fe ? /* @__PURE__ */ N("div", { className: "bw-w-[30px] bw-flex bw-text-text-secondary bw-justify-center bw-items-center bw-h-[30px]", children: /* @__PURE__ */ N(oe, { size: 22, thickness: 5, color: "inherit" }) }) : S ? l.text.length ? l.text : "Start Transaction" : `Connect ${Ie} Wallet` : /* @__PURE__ */ N("div", { className: "bw-w-[30px] bw-flex bw-text-text-secondary bw-justify-center bw-items-center bw-h-[30px]", children: /* @__PURE__ */ N(oe, { size: 22, thickness: 5, color: "inherit" }) }) }) })
202
202
  }
203
203
  );
204
204
  }
@@ -1,4 +1,4 @@
1
- import { m as l } from "./core-DbjedOio.js";
1
+ import { m as l } from "./core-Ba7AWU2F.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-DbjedOio.js";
1
+ import { m as a } from "./core-Ba7AWU2F.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-DbjedOio.js";
1
+ import { m as a } from "./core-Ba7AWU2F.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-DbjedOio.js";
1
+ import { m as l } from "./core-Ba7AWU2F.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 C } from "./core-DbjedOio.js";
1
+ import { m as C } from "./core-Ba7AWU2F.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 o } from "./core-DbjedOio.js";
1
+ import { m as o } from "./core-Ba7AWU2F.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-DbjedOio.js";
1
+ import { m as e } from "./core-Ba7AWU2F.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-DbjedOio.js";
1
+ import { m as l } from "./core-Ba7AWU2F.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-DbjedOio.js";
1
+ import { m as o } from "./core-Ba7AWU2F.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-DbjedOio.js";
1
+ import { m as e } from "./core-Ba7AWU2F.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-DbjedOio.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-D1suJrBe.js";
3
- import { m as Wn } from "./index-CCJxyv13.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-Ba7AWU2F.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-u7LhDe5x.js";
3
+ import { m as Wn } from "./index-MSX0Gdx1.js";
4
4
  const Sn = D`
5
5
  :host {
6
6
  position: relative;
@@ -1,4 +1,4 @@
1
- import { m as l } from "./core-DbjedOio.js";
1
+ import { m as l } from "./core-Ba7AWU2F.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-DbjedOio.js";
1
+ import { m as C } from "./core-Ba7AWU2F.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 { ac as L, ad as b, ae as F, af as N, ag as P, ah as w, ai as S, aj as E, ak as $, al as C, am as I, an as m, ao as G, ap as R, aq as k, ar as y, as as O, at as q, au as T, av as v, aw as D, ax as A, ay as H } from "./index-CCJxyv13.js";
1
+ import { ac as L, ad as b, ae as F, af as N, ag as P, ah as w, ai as S, aj as E, ak as $, al as C, am as I, an as m, ao as G, ap as R, aq as k, ar as y, as as O, at as q, au as T, av as v, aw as D, ax as A, ay as H } from "./index-MSX0Gdx1.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-DbjedOio.js";
1
+ import { m as e } from "./core-Ba7AWU2F.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 e } from "./core-DbjedOio.js";
1
+ import { m as e } from "./core-Ba7AWU2F.js";
2
2
  const o = e`<svg
3
3
  width="28"
4
4
  height="28"
@@ -1,4 +1,4 @@
1
- import { m as o } from "./core-DbjedOio.js";
1
+ import { m as o } from "./core-Ba7AWU2F.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-DbjedOio.js";
1
+ import { m as e } from "./core-Ba7AWU2F.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-DbjedOio.js";
1
+ import { m as l } from "./core-Ba7AWU2F.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-DbjedOio.js";
1
+ import { m as l } from "./core-Ba7AWU2F.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-DbjedOio.js";
1
+ import { m as t } from "./core-Ba7AWU2F.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-DbjedOio.js";
1
+ import { m as C } from "./core-Ba7AWU2F.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-DbjedOio.js";
1
+ import { m as l } from "./core-Ba7AWU2F.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-DbjedOio.js";
1
+ import { m as l } from "./core-Ba7AWU2F.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-DbjedOio.js";
1
+ import { m as l } from "./core-Ba7AWU2F.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-DbjedOio.js";
1
+ import { m as C } from "./core-Ba7AWU2F.js";
2
2
  const o = C`<svg
3
3
  xmlns="http://www.w3.org/2000/svg"
4
4
  width="16"
@@ -1,6 +1,6 @@
1
1
  import { B as et } from "./index-DTish3yr.js";
2
- import { I as Wr, c as Zu, f as Tt, t as pt, a as U, g as re, b as us, C as Xu, d as Qu, e as ui, s as co, h as fl, i as er, k as Ti, A as ml, E as nt, j as eh, l as th, y as Ct, m as Ws, r as zr, O as Wo, o as kt, n as sh, p as zo, q as Ho, u as vn, N as Vo, P as ca, Q as rh, v as ih, w as nh, x as la, z as _r, B as wl, D as is, F as Vt, G as hs, H as Bt } from "./index.es-J7Adt0qn.js";
3
- import { p as Se } from "./index-CCJxyv13.js";
2
+ import { I as Wr, c as Zu, f as Tt, t as pt, a as U, g as re, b as us, C as Xu, d as Qu, e as ui, s as co, h as fl, i as er, k as Ti, A as ml, E as nt, j as eh, l as th, y as Ct, m as Ws, r as zr, O as Wo, o as kt, n as sh, p as zo, q as Ho, u as vn, N as Vo, P as ca, Q as rh, v as ih, w as nh, x as la, z as _r, B as wl, D as is, F as Vt, G as hs, H as Bt } from "./index.es-BVl6m7Pn.js";
3
+ import { p as Se } from "./index-MSX0Gdx1.js";
4
4
  import { formatUnits as oh, recoverAddress as ah, fallback as ua, http as Wi, toHex as ha } from "viem";
5
5
  const z = {
6
6
  WC_NAME_SUFFIX: ".reown.id",
@@ -14903,7 +14903,7 @@ class Yu extends NE {
14903
14903
  }
14904
14904
  async injectModalUi() {
14905
14905
  if (!pl && Z.isClient()) {
14906
- if (await import("./basic-yKyoIw_n.js"), await import("./w3m-modal-BRaqvs1m.js"), !document.querySelector("w3m-modal")) {
14906
+ if (await import("./basic-Bhds2Wiy.js"), await import("./w3m-modal-CLvDtp4W.js"), !document.querySelector("w3m-modal")) {
14907
14907
  const s = document.createElement("w3m-modal");
14908
14908
  !O.state.disableAppend && !O.state.enableEmbedded && document.body.insertAdjacentElement("beforeend", s);
14909
14909
  }
@@ -1,4 +1,4 @@
1
- import { m as o } from "./core-DbjedOio.js";
1
+ import { m as o } from "./core-Ba7AWU2F.js";
2
2
  const l = o` <svg fill="none" viewBox="0 0 13 4">
3
3
  <path fill="currentColor" d="M.5 0h12L8.9 3.13a3.76 3.76 0 0 1-4.8 0L.5 0Z" />
4
4
  </svg>`;
@@ -1,4 +1,4 @@
1
- import { m as o } from "./core-DbjedOio.js";
1
+ import { m as o } from "./core-Ba7AWU2F.js";
2
2
  const l = o`<svg fill="none" viewBox="0 0 14 6">
3
3
  <path style="fill: var(--wui-color-bg-150);" d="M0 1h14L9.21 5.12a3.31 3.31 0 0 1-4.49 0L0 1Z" />
4
4
  <path
@@ -1,4 +1,4 @@
1
- import { m as c } from "./core-DbjedOio.js";
1
+ import { m as c } from "./core-Ba7AWU2F.js";
2
2
  const l = c`<svg fill="none" viewBox="0 0 20 20">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { m as a } from "./core-DbjedOio.js";
1
+ import { m as a } from "./core-Ba7AWU2F.js";
2
2
  const e = a`<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-DbjedOio.js";
1
+ import { m as l } from "./core-Ba7AWU2F.js";
2
2
  const i = l`<svg fill="none" viewBox="0 0 40 40">
3
3
  <g clip-path="url(#a)">
4
4
  <g clip-path="url(#b)">