@blockend/widget 1.0.38 → 1.0.39-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AllRoutes-B7pX20Zo.js → AllRoutes-pVn5r2AF.js} +17 -17
- package/dist/{Box-D4SF6IgE.js → Box-2EhEu03K.js} +1 -1
- package/dist/{EstGas-XPPmSPyE.js → EstGas-WwkfFHpv.js} +54 -224
- package/dist/{Grow-CIKLOO0_.js → Grow-D4EVow-M.js} +2 -2
- package/dist/{InputComp-CmIAuBF5.js → InputComp-DQBDoD71.js} +6 -6
- package/dist/{LoadRoute-DKqaBFPc.js → LoadRoute-42ZgErfe.js} +39 -39
- package/dist/{QuotesProgress-Cd8OXy_N.js → QuotesProgress-CTlZ7elT.js} +1 -1
- package/dist/{SwapAsset-D4Ordn3g.js → SwapAsset-CU5YEZ75.js} +4 -17
- package/dist/{Tooltip-D9AmvxjY.js → Tooltip-DSOAqpED.js} +3 -3
- package/dist/{TxnButton-B-83_5zc.js → TxnButton-CfruxaOs.js} +19 -19
- package/dist/{add-BZzjgxfy.js → add-DayuYwbp.js} +1 -1
- package/dist/{all-wallets-DLW4V3zq.js → all-wallets-B7lOWwQ-.js} +1 -1
- package/dist/{app-store-D9zl-1il.js → app-store-CWVen5K_.js} +1 -1
- package/dist/{apple-nhTBOubh.js → apple-Xce5ePDw.js} +1 -1
- package/dist/{arrow-bottom-CA41golp.js → arrow-bottom-CJ5QodIU.js} +1 -1
- package/dist/{arrow-bottom-circle-C7bcVyL5.js → arrow-bottom-circle-m6M-yL2m.js} +1 -1
- package/dist/{arrow-left-Dr3e_iWm.js → arrow-left-gbgYje3p.js} +1 -1
- package/dist/{arrow-right-BWPh_8om.js → arrow-right-BWBYQ-3w.js} +1 -1
- package/dist/{arrow-top-B-3i_liJ.js → arrow-top-TV0fK_PC.js} +1 -1
- package/dist/{bank-Dx797_uv.js → bank-D5WUpbbn.js} +1 -1
- package/dist/{basic-D0oXwPg9.js → basic-yKyoIw_n.js} +3 -3
- package/dist/{browser-BSKhz_Rl.js → browser-C1Gw-601.js} +1 -1
- package/dist/{card-JvH_eZER.js → card-BGu7Ytfr.js} +1 -1
- package/dist/{ccip-Q2_jbZ9I.js → ccip-8pKaCE7W.js} +1 -1
- package/dist/{checkmark-BWJC9xZR.js → checkmark-DXjp9482.js} +1 -1
- package/dist/{checkmark-bold-Cl8Q-86u.js → checkmark-bold-C-Za8drF.js} +1 -1
- package/dist/{chevron-bottom-B5LD72dB.js → chevron-bottom-pyAIkjST.js} +1 -1
- package/dist/{chevron-left-zcD_S5Mh.js → chevron-left-Fo0wnlZX.js} +1 -1
- package/dist/{chevron-right-Dshpb1tn.js → chevron-right-DkmxB-lW.js} +1 -1
- package/dist/{chevron-top-CyAvSkbB.js → chevron-top-r9CVQcQg.js} +1 -1
- package/dist/{chrome-store-IqQZe3Dt.js → chrome-store-CRlb0bJh.js} +1 -1
- package/dist/{clock-C3R8kpDJ.js → clock-TqJS2h0Z.js} +1 -1
- package/dist/{close-CFffZcXA.js → close-C2cPb_3q.js} +1 -1
- package/dist/{coinPlaceholder-D5ue3gut.js → coinPlaceholder-D-_tUshz.js} +1 -1
- package/dist/{compass-5P5ETuT-.js → compass-D-JOMMbC.js} +1 -1
- package/dist/{copy-sOWq_xZr.js → copy-CS7IA_r_.js} +1 -1
- package/dist/{core-CkGb3HnF.js → core-DbjedOio.js} +3 -3
- package/dist/{cursor-C9PsMzYL.js → cursor-3K2-QZLT.js} +1 -1
- package/dist/{cursor-transparent-DhdvRXRL.js → cursor-transparent-DKdHMJra.js} +1 -1
- package/dist/{desktop-nlXeRhMP.js → desktop-CAxsE6Ga.js} +1 -1
- package/dist/{disconnect-r6cq0rms.js → disconnect-Dc-LNqNb.js} +1 -1
- package/dist/{discord-wtaS7sRl.js → discord-VfiQtaLg.js} +1 -1
- package/dist/{down-BWT0-5W2.js → down-C69EIwo1.js} +4 -4
- package/dist/{etherscan-C6JzEuD5.js → etherscan-nfJcVg9R.js} +1 -1
- package/dist/{exclamation-triangle-SYK5z7t0.js → exclamation-triangle-DaMU5L_4.js} +1 -1
- package/dist/{extension-BtKfbDhd.js → extension-BaO8FLXh.js} +1 -1
- package/dist/{external-link-DiJAb_Zx.js → external-link-B9oCkuPJ.js} +1 -1
- package/dist/{facebook-C6waWMFR.js → facebook-nSdQubUH.js} +1 -1
- package/dist/{farcaster-B2h5iNcC.js → farcaster-BtInSUqS.js} +1 -1
- package/dist/{filters-D5fv3EPd.js → filters-C9LrueAm.js} +1 -1
- package/dist/{getChainIds-Dz6aap_K.js → getChainIds-CQg6djVc.js} +2 -2
- package/dist/{getCosmosAddress-8jLHKIcL.js → getCosmosAddress-Qwk5Y2WB.js} +2 -2
- package/dist/{github-BFPJm3cS.js → github-BVzfRJXr.js} +1 -1
- package/dist/{google-BKrDcc4H.js → google-C_Zkq44M.js} +1 -1
- package/dist/{hamburger-DIZlVaaS.js → hamburger-Bss9ENTU.js} +5 -5
- package/dist/{help-circle-B9E4KaaL.js → help-circle-D9KC2TTg.js} +1 -1
- package/dist/{id-DSWELVdP.js → id-D5ODDUPi.js} +1 -1
- package/dist/{image-D_XLTDNA.js → image-D9BguVkX.js} +1 -1
- package/dist/{index-Dbievn97.js → index-B-LMuVus.js} +6 -6
- package/dist/{index-C-nZzi_h.js → index-B-Y6H6ZT.js} +2 -2
- package/dist/{index-wgpAJ4oi.js → index-B8BzdUYX.js} +396 -396
- package/dist/{index-BAfaemUH.js → index-Bknn7U1s.js} +41 -87
- package/dist/{index-CuTh2WgK.js → index-C3Yx39QI.js} +43 -109
- package/dist/{index-BvLXd2ez.js → index-CCJxyv13.js} +1724 -1724
- package/dist/{index-8-b4bggg.js → index-Csnr5wYZ.js} +116 -142
- package/dist/{index-OqRsFFkj.js → index-D1suJrBe.js} +78 -78
- package/dist/{index-DDX8hCfq.js → index-D7cNHH01.js} +1 -1
- package/dist/{index-C8qMFb8J.js → index-DTTNs7X2.js} +1 -1
- package/dist/{index-tz85S4oi.js → index-mLOjEWq5.js} +20 -46
- package/dist/{index.es-DmoKG6PQ.js → index.es-BvpkVeYn.js} +1 -1
- package/dist/{index.es-C8S1tVGA.js → index.es-J7Adt0qn.js} +2 -2
- package/dist/index.es.js +1 -1
- package/dist/{info-Jp3wzaJD.js → info-BbZu8EmP.js} +1 -1
- package/dist/{info-circle-D8qzYGLl.js → info-circle-DC4d8t58.js} +1 -1
- package/dist/{lightbulb-BPif1XX7.js → lightbulb-B_XHWcwO.js} +1 -1
- package/dist/{mail-CXvOvka2.js → mail-DUBlSWnW.js} +1 -1
- package/dist/{mobile-6jozwZ_W.js → mobile-DW7n1RaC.js} +1 -1
- package/dist/{more-4GK73HVb.js → more-CHiJ0jdA.js} +1 -1
- package/dist/{network-placeholder-BXMI9mvM.js → network-placeholder-fkXdFnU3.js} +1 -1
- package/dist/{nftPlaceholder-eFMtbevb.js → nftPlaceholder-CzdJZ_xc.js} +1 -1
- package/dist/{off-BVgsCCY7.js → off-liaZCdZH.js} +1 -1
- package/dist/{play-store-CSnP_bJN.js → play-store-Dlmh4PlW.js} +1 -1
- package/dist/{plus-DJwRlvDh.js → plus-QBGWemZZ.js} +1 -1
- package/dist/{qr-code-BlSwmYrr.js → qr-code-2rARSIxP.js} +1 -1
- package/dist/{recycle-horizontal-BHvmgtxJ.js → recycle-horizontal-DByCihYW.js} +1 -1
- package/dist/{refresh-BRF6qJWJ.js → refresh-BFM457iN.js} +1 -1
- package/dist/{reown-logo-BoS3xniW.js → reown-logo-C9dbpsPZ.js} +1 -1
- package/dist/{search-Ce5NGUl8.js → search-_GMCgtU4.js} +1 -1
- package/dist/{send-BQypsZV1.js → send-CBnSvpXY.js} +1 -1
- package/dist/{swapHorizontal-D6nLcUbS.js → swapHorizontal-BiN3nSBx.js} +1 -1
- package/dist/{swapHorizontalBold-BjyFhrDl.js → swapHorizontalBold-CAWIrlnq.js} +1 -1
- package/dist/{swapHorizontalMedium-yfsH3ZiT.js → swapHorizontalMedium-DrfkO94z.js} +1 -1
- package/dist/{swapHorizontalRoundedBold--7neTazp.js → swapHorizontalRoundedBold-DbJnc4Gs.js} +1 -1
- package/dist/{swapVertical-DebXq8vP.js → swapVertical-nx3G0q67.js} +1 -1
- package/dist/{telegram-DdA-uHK5.js → telegram-BBmONWiX.js} +1 -1
- package/dist/{three-dots-n4hxld75.js → three-dots-CxLcYR_u.js} +1 -1
- package/dist/{twitch-CebVfqsE.js → twitch-BCER0FU2.js} +1 -1
- package/dist/{twitterIcon-cB7s4iFj.js → twitterIcon-D7lNSGDl.js} +1 -1
- package/dist/{unsupportedProp-CM13Y09e.js → unsupportedProp-Cgx_R3Ro.js} +1 -1
- package/dist/{useRegisterError-BX8_6VKB.js → useRegisterError-CIj7yT4N.js} +1 -1
- package/dist/{verify-B8Nf81Xk.js → verify-BtPqlMYv.js} +1 -1
- package/dist/{verify-filled-XrLUzouC.js → verify-filled-D69dNjXa.js} +1 -1
- package/dist/{w3m-modal-Cw2A---U.js → w3m-modal-BRaqvs1m.js} +2 -2
- package/dist/{wallet-DIi8pXyb.js → wallet-B0uYbj_y.js} +1 -1
- package/dist/{wallet-placeholder-B1dz-pLA.js → wallet-placeholder-C64Kayjj.js} +1 -1
- package/dist/{walletconnect-CnK4KBEj.js → walletconnect-Bl6U4E40.js} +1 -1
- package/dist/{warning-circle-Cm2vNTGA.js → warning-circle-DdcOPYkT.js} +1 -1
- package/dist/widget.css +1 -1
- package/dist/{x-xCvkwrYO.js → x-PEBthjJm.js} +1 -1
- package/package.json +1 -1
@@ -3,16 +3,16 @@ import * as v from "react";
|
|
3
3
|
import De, { useState as J, useEffect as Fe } from "react";
|
4
4
|
import { S as Pe, a as _e } from "./sortDown-CjBaDQTU.js";
|
5
5
|
import { t as B } from "./truncate-D9t92mVX.js";
|
6
|
-
import { a as kt, m as Ne, j as Ut, l as Ue, o as Rt, r as Dt, i as Ce, c as ue, f as ve } from "./useRegisterError-
|
7
|
-
import { b as Te, g as Ie, i as Ae, _ as pe, d as k, e as oe, s as ce, f as at, h as Ee, p as Z, P as r, v as Ft, u as se } from "./index-
|
6
|
+
import { a as kt, m as Ne, j as Ut, l as Ue, o as Rt, r as Dt, i as Ce, c as ue, f as ve } from "./useRegisterError-CIj7yT4N.js";
|
7
|
+
import { b as Te, g as Ie, i as Ae, _ as pe, d as k, e as oe, s as ce, f as at, h as Ee, p as Z, P as r, v as Ft, u as se } from "./index-CCJxyv13.js";
|
8
8
|
import { S as We, C as je, G as Ve } from "./clockIcon-C2W5xvyt.js";
|
9
|
-
import { T as Pt } from "./Tooltip-
|
10
|
-
import { O as we } from "./index-
|
11
|
-
import { B as _t } from "./Box-
|
12
|
-
import { c as ct, d as it, r as At } from "./index-
|
13
|
-
import { b as dt } from "./Grow-
|
14
|
-
import { B as bt, o as ut } from "./getChainIds-
|
15
|
-
import { u as Wt } from "./unsupportedProp-
|
9
|
+
import { T as Pt } from "./Tooltip-DSOAqpED.js";
|
10
|
+
import { O as we } from "./index-DTTNs7X2.js";
|
11
|
+
import { B as _t } from "./Box-2EhEu03K.js";
|
12
|
+
import { c as ct, d as it, r as At } from "./index-D7cNHH01.js";
|
13
|
+
import { b as dt } from "./Grow-D4EVow-M.js";
|
14
|
+
import { B as bt, o as ut } from "./getChainIds-CQg6djVc.js";
|
15
|
+
import { u as Wt } from "./unsupportedProp-Cgx_R3Ro.js";
|
16
16
|
let be;
|
17
17
|
function wt() {
|
18
18
|
if (be)
|
@@ -1554,9 +1554,9 @@ function vo({ routes: o, handleShowAllRoutes: n, handleRoutesData: s, convertVal
|
|
1554
1554
|
] }) }),
|
1555
1555
|
/* @__PURE__ */ l("div", { className: "bw-flex bw-flex-col bw-justify-between bw-w-full bw-items-end", children: [
|
1556
1556
|
/* @__PURE__ */ l("div", { className: "bw-flex bw-items-center bw-gap-x-2", children: [
|
1557
|
-
/* @__PURE__ */ l("div", { className: ` bw-relative bw-rounded-[50%] bw-w-[21px] bw-h-[21px] bw-border bw-border-border-primary ${(H = t.to) != null && H.image ? "bw-bg-background-
|
1557
|
+
/* @__PURE__ */ l("div", { className: ` bw-relative bw-rounded-[50%] bw-w-[21px] bw-h-[21px] bw-border bw-border-border-primary ${(H = t.to) != null && H.image ? "bw-bg-background-secondary" : ""}`, children: [
|
1558
1558
|
(j = t.to) != null && j.image ? /* @__PURE__ */ e("img", { src: t.to.image, width: 20, height: 20, alt: "img", className: "bw-rounded-[50%] bw-max-w-[20px] bw-max-h-[20px] bw-object-contain" }) : /* @__PURE__ */ e("img", { src: O, width: 20, height: 20, alt: "img", className: "bw-rounded-[50%]" }),
|
1559
|
-
/* @__PURE__ */ l("div", { className: `bw-bg-background-
|
1559
|
+
/* @__PURE__ */ l("div", { className: `bw-bg-background-secondary bw-absolute bw-bottom-[-30%] bw-right-[-15%] bw-rounded-[50%] bw-w-[12px] bw-h-[12px] bw-border bw-border-border-primary ${a != null && a.image ? "bw-bg-background-secondary" : ""}`, children: [
|
1560
1560
|
" ",
|
1561
1561
|
a != null && a.image ? /* @__PURE__ */ e("img", { src: a.image, width: 11, height: 11, className: "bw-rounded-[50%]", alt: "img" }) : /* @__PURE__ */ e("img", { src: O, width: 11, height: 11, className: "bw-rounded-[50%]", alt: "img" })
|
1562
1562
|
] })
|
@@ -1715,9 +1715,9 @@ function So({ routes: o, handleShowAllRoutes: n, handleRoutesData: s, convertVal
|
|
1715
1715
|
] }) }),
|
1716
1716
|
/* @__PURE__ */ l("div", { className: "bw-flex bw-flex-col bw-justify-between bw-w-full bw-items-end", children: [
|
1717
1717
|
/* @__PURE__ */ l("div", { className: "bw-flex bw-items-center bw-gap-x-2", children: [
|
1718
|
-
/* @__PURE__ */ l("div", { className: ` bw-relative bw-rounded-[50%] bw-w-[21px] bw-h-[21px] bw-border bw-border-border-primary ${(H = t.to) != null && H.image ? "bw-bg-background-
|
1718
|
+
/* @__PURE__ */ l("div", { className: ` bw-relative bw-rounded-[50%] bw-w-[21px] bw-h-[21px] bw-border bw-border-border-primary ${(H = t.to) != null && H.image ? "bw-bg-background-secondary" : ""}`, children: [
|
1719
1719
|
(j = t.to) != null && j.image ? /* @__PURE__ */ e("img", { src: t.to.image, width: 20, height: 20, alt: "img", className: "bw-rounded-[50%] bw-max-w-[20px] bw-max-h-[20px] bw-object-contain" }) : /* @__PURE__ */ e("img", { src: h, width: 20, height: 20, alt: "img", className: "bw-rounded-[50%]" }),
|
1720
|
-
/* @__PURE__ */ l("div", { className: ` bw-absolute bw-bottom-[-30%] bw-right-[-15%] bw-rounded-[50%] bw-w-[12px] bw-h-[12px] bw-border bw-border-border-primary ${c != null && c.image ? "bw-bg-background-
|
1720
|
+
/* @__PURE__ */ l("div", { className: ` bw-absolute bw-bottom-[-30%] bw-right-[-15%] bw-rounded-[50%] bw-w-[12px] bw-h-[12px] bw-border bw-border-border-primary ${c != null && c.image ? "bw-bg-background-secondary" : ""}`, children: [
|
1721
1721
|
" ",
|
1722
1722
|
c != null && c.image ? /* @__PURE__ */ e("img", { src: c.image, width: 11, height: 11, className: "bw-rounded-[50%]", alt: "img" }) : /* @__PURE__ */ e("img", { src: h, width: 11, height: 11, className: "bw-rounded-[50%]", alt: "img" })
|
1723
1723
|
] })
|
@@ -1847,9 +1847,9 @@ function Co({ routes: o, handleShowAllRoutes: n, handleRoutesData: s, convertVal
|
|
1847
1847
|
] }) }),
|
1848
1848
|
/* @__PURE__ */ l("div", { className: "bw-flex bw-flex-col bw-justify-between bw-w-full bw-items-end", children: [
|
1849
1849
|
/* @__PURE__ */ l("div", { className: "bw-flex bw-items-center bw-gap-x-2", children: [
|
1850
|
-
/* @__PURE__ */ l("div", { className: ` bw-relative bw-rounded-[50%] bw-w-[21px] bw-h-[21px] bw-border bw-border-border-primary ${(H = t == null ? void 0 : t.to) != null && H.image ? "bw-bg-background-
|
1850
|
+
/* @__PURE__ */ l("div", { className: ` bw-relative bw-rounded-[50%] bw-w-[21px] bw-h-[21px] bw-border bw-border-border-primary ${(H = t == null ? void 0 : t.to) != null && H.image ? "bw-bg-background-secondary" : ""}`, children: [
|
1851
1851
|
(j = t.to) != null && j.image ? /* @__PURE__ */ e("img", { src: t.to.image, width: 20, height: 20, alt: "img", className: "bw-rounded-[50%] bw-max-w-[20px] bw-max-h-[20px] bw-object-contain" }) : /* @__PURE__ */ e("img", { src: h, width: 20, height: 20, alt: "img", className: "bw-rounded-[50%]" }),
|
1852
|
-
/* @__PURE__ */ l("div", { className: ` bw-absolute bw-bottom-[-30%] bw-right-[-15%] bw-rounded-[50%] bw-w-[12px] bw-h-[12px] bw-border bw-border-border-primary ${c != null && c.image ? "bw-bg-background-
|
1852
|
+
/* @__PURE__ */ l("div", { className: ` bw-absolute bw-bottom-[-30%] bw-right-[-15%] bw-rounded-[50%] bw-w-[12px] bw-h-[12px] bw-border bw-border-border-primary ${c != null && c.image ? "bw-bg-background-secondary" : ""}`, children: [
|
1853
1853
|
" ",
|
1854
1854
|
c != null && c.image ? /* @__PURE__ */ e("img", { src: c.image, width: 11, height: 11, className: "bw-rounded-[50%]", alt: "img" }) : /* @__PURE__ */ e("img", { src: h, width: 11, height: 11, className: "bw-rounded-[50%]", alt: "img" })
|
1855
1855
|
] })
|
@@ -2192,9 +2192,9 @@ function zo({ routes: o, handleShowAllRoutes: n, handleRoutesData: s, convertVal
|
|
2192
2192
|
ve(b * (c == null ? void 0 : c.lastPrice) || 0, 10)
|
2193
2193
|
] })
|
2194
2194
|
] }),
|
2195
|
-
/* @__PURE__ */ l("div", { className: " bw-bg-background-
|
2195
|
+
/* @__PURE__ */ l("div", { className: " bw-bg-background-secondary bw-flex bw-justify-center bw-items-center bw-mb-2 bw-relative bw-rounded-[50%] bw-w-[35px] bw-h-[35px] bw-border bw-border-border-primary", children: [
|
2196
2196
|
c != null && c.image ? /* @__PURE__ */ e("img", { src: c.image, width: 34, height: 34, alt: "img", className: "bw-rounded-[50%] bw-max-w-[34px] bw-max-h-[34px] bw-object-contain bw-min-w-[34px] bw-h-[34px]" }) : /* @__PURE__ */ e("img", { src: h, width: 34, height: 34, alt: "img", className: "bw-rounded-[50%] bw-min-w-[34px] bw-h-[34px]" }),
|
2197
|
-
/* @__PURE__ */ l("div", { className: "bw-bg-background-
|
2197
|
+
/* @__PURE__ */ l("div", { className: "bw-bg-background-secondary bw-absolute bw-bottom-[-30%] bw-right-4 bw-rounded-[50%] bw-w-[19px] bw-h-[19px] bw-border bw-border-border-primary", children: [
|
2198
2198
|
" ",
|
2199
2199
|
c != null && c.image ? /* @__PURE__ */ e("img", { src: a.image, width: 18, height: 18, className: "bw-rounded-[50%]", alt: "img" }) : /* @__PURE__ */ e("img", { src: h, width: 18, height: 18, className: "bw-rounded-[50%]", alt: "img" })
|
2200
2200
|
] })
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { aE as i, aF as h, y as T, aB as y, _ as B, d as N, e as C, b as _, aG as b, T as P, aH as E, p as g, P as e } from "./index-
|
1
|
+
import { aE as i, aF as h, y as T, aB as y, _ as B, d as N, e as C, b as _, aG as b, T as P, aH as E, p as g, P as e } from "./index-CCJxyv13.js";
|
2
2
|
import * as j from "react";
|
3
3
|
import { jsx as v } from "react/jsx-runtime";
|
4
4
|
const O = ["className", "component"];
|
@@ -1,22 +1,22 @@
|
|
1
1
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
2
|
-
import { m as getDefaultExportFromCjs, u as useStore, p as process$1, a7 as bufferExports, a as useWallet, k as commonjsGlobal, l as lodashExports, S as Skeleton, az as useBlockendEvents, aA as blockendEvents, c as controllers } from "./index-
|
3
|
-
import { O as OutputValueComp } from "./index-
|
2
|
+
import { m as getDefaultExportFromCjs, u as useStore, p as process$1, a7 as bufferExports, a as useWallet, k as commonjsGlobal, l as lodashExports, S as Skeleton, az as useBlockendEvents, aA as blockendEvents, c as controllers } from "./index-CCJxyv13.js";
|
3
|
+
import { O as OutputValueComp } from "./index-DTTNs7X2.js";
|
4
4
|
import React__default, { useState, createContext, createElement, useContext, useRef, useEffect, useMemo } from "react";
|
5
|
-
import { W as WalletIcon, C as CircularProgress, B as BackButton, L as Lottie$1, i as images, u as useWalletDetails, f as formatNumber, c as fixString, d as useRegisterError, F as FormatCryptoValue } from "./useRegisterError-
|
5
|
+
import { W as WalletIcon, C as CircularProgress, B as BackButton, L as Lottie$1, i as images, u as useWalletDetails, f as formatNumber, c as fixString, d as useRegisterError, F as FormatCryptoValue } from "./useRegisterError-CIj7yT4N.js";
|
6
6
|
import { useMutation, useQuery } from "@tanstack/react-query";
|
7
7
|
import { useAccount, useWalletClient, useSendTransaction, useSignTypedData, useSwitchChain } from "wagmi";
|
8
8
|
import "viem";
|
9
9
|
import { S as ShareIcon } from "./shareicon-CG3v7iKI.js";
|
10
|
-
import { T as Tooltip } from "./Tooltip-
|
11
|
-
import { L as Lottie } from "./index.es-
|
10
|
+
import { T as Tooltip } from "./Tooltip-DSOAqpED.js";
|
11
|
+
import { L as Lottie } from "./index.es-BvpkVeYn.js";
|
12
12
|
import { useDynamicContext, useSwitchNetwork } from "@dynamic-labs/sdk-react-core";
|
13
|
-
import { V as VersionedTransaction, P as PublicKey, b as buildExports, u as useRoutes, g as getCosmosAddress } from "./getCosmosAddress-
|
13
|
+
import { V as VersionedTransaction, P as PublicKey, b as buildExports, u as useRoutes, g as getCosmosAddress } from "./getCosmosAddress-Qwk5Y2WB.js";
|
14
14
|
import { B as Buffer } from "./index-DTish3yr.js";
|
15
15
|
import { useCosmWasmSigningClient, useStargateSigningClient, useAccount as useAccount$1 } from "graz";
|
16
16
|
import "@cosmjs/proto-signing";
|
17
17
|
import { calculateFee, GasPrice } from "@cosmjs/stargate";
|
18
18
|
import "@cosmjs/cosmwasm-stargate";
|
19
|
-
import { l as libExports, S as Spinner, D as Down } from "./down-
|
19
|
+
import { l as libExports, S as Spinner, D as Down } from "./down-C69EIwo1.js";
|
20
20
|
import { v as validError } from "./validError-CDlJpg_f.js";
|
21
21
|
import { e as ethertousd } from "./ethertousd-CC_ezooz.js";
|
22
22
|
var eventemitter3 = { exports: {} }, hasRequiredEventemitter3;
|
@@ -131,17 +131,10 @@ const EventEmitter = /* @__PURE__ */ getDefaultExportFromCjs(eventemitter3Export
|
|
131
131
|
function AddressComp({ field: e }) {
|
132
132
|
var i, r;
|
133
133
|
const t = useStore((n) => n.persist), a = e == "from" ? ((i = t == null ? void 0 : t.route) == null ? void 0 : i.userWalletAddress) || "" : ((r = t == null ? void 0 : t.route) == null ? void 0 : r.recipient) || "";
|
134
|
-
return /* @__PURE__ */ jsx(
|
135
|
-
"
|
136
|
-
{
|
137
|
-
|
138
|
-
className: "bw-bg-background-card bw-flex bw-items-center bw-justify-center bw-gap-x-2 bw-mb-[4px] bw-w-[100px] bw-h-[25px] bw-rounded-xl bw-border bw-border-border-primary",
|
139
|
-
children: a ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
140
|
-
/* @__PURE__ */ jsx("p", { className: "bw-text-text-primary bw-text-xs bw-font-normal", children: ((a == null ? void 0 : a.substring(0, 4)) || "") + "..." + ((a == null ? void 0 : a.substring(a.length - 4, a.length)) || "") }),
|
141
|
-
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(WalletIcon, { fill: "var(--tw-text-primary)" }) })
|
142
|
-
] }) : /* @__PURE__ */ jsx("div", { className: "bw-w-[10px] bw-flex bw-text-text-secondary bw-justify-center bw-items-center bw-h-[10px]", children: /* @__PURE__ */ jsx(CircularProgress, { size: 10, thickness: 5, color: "inherit" }) })
|
143
|
-
}
|
144
|
-
);
|
134
|
+
return /* @__PURE__ */ jsx("button", { style: { fontSize: "12px" }, className: "bw-bg-background-container bw-flex bw-items-center bw-justify-center bw-gap-x-2 bw-mb-[4px] bw-w-[100px] bw-h-[25px] bw-rounded-xl bw-border bw-border-border-primary", children: a ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
135
|
+
/* @__PURE__ */ jsx("p", { className: "bw-text-text-primary bw-text-xs bw-font-normal", children: ((a == null ? void 0 : a.substring(0, 4)) || "") + "..." + ((a == null ? void 0 : a.substring(a.length - 4, a.length)) || "") }),
|
136
|
+
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(WalletIcon, { fill: "var(--tw-text-primary)" }) })
|
137
|
+
] }) : /* @__PURE__ */ jsx("div", { className: "bw-w-[10px] bw-flex bw-text-text-secondary bw-justify-center bw-items-center bw-h-[10px]", children: /* @__PURE__ */ jsx(CircularProgress, { size: 10, thickness: 5, color: "inherit" }) }) });
|
145
138
|
}
|
146
139
|
function TokenBox({ chainData: e, coinData: t, amount: a, field: i }) {
|
147
140
|
var o, c, d, l;
|
@@ -152,20 +145,14 @@ function TokenBox({ chainData: e, coinData: t, amount: a, field: i }) {
|
|
152
145
|
style: {
|
153
146
|
boxShadow: r && r.customTheme && ((c = (o = r.customTheme) == null ? void 0 : o.shadow) == null ? void 0 : c.boxShadow) || "1px 1px 7px rgba(0, 0, 0, 0.15)"
|
154
147
|
},
|
155
|
-
className: `bw-bg-background-
|
148
|
+
className: `bw-bg-background-container bw-relative bw-z-10 bw-min-w-[50%] bw-px-2 md:bw-min-w-[153px] bw-flex bw-flex-col bw-items-center bw-justify-start bw-pt-2 bw-rounded-lg bw-h-[75px] bw-border ${((d = n.statusData) == null ? void 0 : d.status) == "partial-success" && i == "to" ? "bw-border-text-redtext" : "bw-border-border-primary"} `,
|
156
149
|
children: [
|
157
|
-
/* @__PURE__ */ jsxs(
|
158
|
-
"
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
" ",
|
164
|
-
/* @__PURE__ */ jsx("span", { children: (t == null ? void 0 : t.symbol) || "" }),
|
165
|
-
/* @__PURE__ */ jsx("p", { className: "bw-text-sm bw-font-medium bw-text-text-secondary", children: `on ${e == null ? void 0 : e.name}` })
|
166
|
-
]
|
167
|
-
}
|
168
|
-
),
|
150
|
+
/* @__PURE__ */ jsxs("div", { className: `${((l = t == null ? void 0 : t.symbol) == null ? void 0 : l.length) > 6 ? "bw-text-base" : "bw-text-lg"} bw-text-center bw-font-medium bw-text-text-primary`, children: [
|
151
|
+
/* @__PURE__ */ jsx("span", { children: a ? /* @__PURE__ */ jsx(OutputValueComp, { value: a == null ? void 0 : a.toString(), decimal: 8 }) : 0 }),
|
152
|
+
" ",
|
153
|
+
/* @__PURE__ */ jsx("span", { children: (t == null ? void 0 : t.symbol) || "" }),
|
154
|
+
/* @__PURE__ */ jsx("p", { className: "bw-text-sm bw-font-medium bw-text-text-secondary", children: `on ${e == null ? void 0 : e.name}` })
|
155
|
+
] }),
|
169
156
|
/* @__PURE__ */ jsx("div", { className: "bw-absolute -bw-bottom-4", children: /* @__PURE__ */ jsx(AddressComp, { field: i }) })
|
170
157
|
]
|
171
158
|
}
|
@@ -11403,12 +11390,7 @@ function useCosmosTxn() {
|
|
11403
11390
|
};
|
11404
11391
|
}
|
11405
11392
|
const TxnSuccessContext = React__default.createContext(!1);
|
11406
|
-
function TxnExeButton({
|
11407
|
-
disableButton: e,
|
11408
|
-
handleStep: t,
|
11409
|
-
txnProcessType: a,
|
11410
|
-
txnTextObj: i
|
11411
|
-
}) {
|
11393
|
+
function TxnExeButton({ disableButton: e, handleStep: t, txnProcessType: a, txnTextObj: i }) {
|
11412
11394
|
var g, u, y;
|
11413
11395
|
const r = useStore((x) => x.persist), n = useStore((x) => x.configuration);
|
11414
11396
|
useStore((x) => x.cosmosChainIds);
|
@@ -11423,7 +11405,7 @@ function TxnExeButton({
|
|
11423
11405
|
"button",
|
11424
11406
|
{
|
11425
11407
|
disabled: e || !i,
|
11426
|
-
className: `bw-text-lg bw-flex bw-justify-center bw-items-center bw-gap-x-2 disabled:bw-opacity-60 bw-font-medium bw-h-[50px] bw-w-full
|
11408
|
+
className: `bw-text-lg bw-flex bw-justify-center bw-items-center bw-gap-x-2 disabled:bw-opacity-60 bw-font-medium bw-h-[50px] bw-w-full bw-rounded-sm ${e ? "bw-bg-border-primary bw-p-[1px]" : styles$1.gradientbutton + " bw-p-[3px]"}`,
|
11427
11409
|
onClick: t,
|
11428
11410
|
style: {
|
11429
11411
|
...c,
|
@@ -11440,14 +11422,7 @@ function TxnExeButton({
|
|
11440
11422
|
)
|
11441
11423
|
] })
|
11442
11424
|
}
|
11443
|
-
) : /* @__PURE__ */ jsx(
|
11444
|
-
Skeleton,
|
11445
|
-
{
|
11446
|
-
className: "bw-bg-background-loaderbar bw-rounded-sm bw-w-full",
|
11447
|
-
animation: "wave",
|
11448
|
-
height: 50
|
11449
|
-
}
|
11450
|
-
);
|
11425
|
+
) : /* @__PURE__ */ jsx(Skeleton, { className: "bw-bg-background-secondary bw-rounded-sm bw-w-full", animation: "wave", height: 50 });
|
11451
11426
|
}
|
11452
11427
|
function TxnErrorComp({ errorText: e }) {
|
11453
11428
|
const t = useStore((a) => a.persist);
|
@@ -11473,13 +11448,7 @@ function TxnErrorComp({ errorText: e }) {
|
|
11473
11448
|
] })
|
11474
11449
|
] });
|
11475
11450
|
}
|
11476
|
-
function TransactionFailedCTA({
|
11477
|
-
handleGoBack: e,
|
11478
|
-
errorText: t,
|
11479
|
-
txnTextObj: a,
|
11480
|
-
handleExeTxn: i,
|
11481
|
-
handleDisable: r
|
11482
|
-
}) {
|
11451
|
+
function TransactionFailedCTA({ handleGoBack: e, errorText: t, txnTextObj: a, handleExeTxn: i, handleDisable: r }) {
|
11483
11452
|
var c, d, l, p;
|
11484
11453
|
const n = useStore((g) => g.configuration), o = useStore((g) => g.persist);
|
11485
11454
|
return /* @__PURE__ */ jsxs("div", { className: "bw-absolute bw-bg-background-container bw-border-t bw-border-border-primary bw-pt-3 bw-w-full bw-bottom-0 bw-flex bw-flex-col bw-justify-center bw-items-center", children: [
|
@@ -11512,6 +11481,7 @@ function TransactionFailedCTA({
|
|
11512
11481
|
"button",
|
11513
11482
|
{
|
11514
11483
|
style: {
|
11484
|
+
...n == null ? void 0 : n.gradientStyle,
|
11515
11485
|
boxShadow: n && n.customTheme && ((p = (l = n.customTheme) == null ? void 0 : l.shadow) == null ? void 0 : p.boxShadow) || "1px 1px 7px rgba(0, 0, 0, 0.15)"
|
11516
11486
|
},
|
11517
11487
|
className: ` bw-text-lg bw-flex bw-justify-center bw-items-center bw-gap-x-2 disabled:bw-opacity-60 bw-font-medium bw-h-[50px] bw-w-[50%] ${styles$1.gradientbutton} bw-rounded-sm bw-p-[3px] `,
|
@@ -11552,20 +11522,8 @@ function Steps({ item: e, i: t }) {
|
|
11552
11522
|
var n, o, c, d, l, p, g, u, y, x, A;
|
11553
11523
|
const { isErrorMessage: a, handleErrorMessage: i } = useContext(TxnErrorContext), r = useStore((I) => I.persist);
|
11554
11524
|
return r == null || r.allSteps, /* @__PURE__ */ jsxs("div", { children: [
|
11555
|
-
/* @__PURE__ */ jsx(
|
11556
|
-
|
11557
|
-
{
|
11558
|
-
className: ` ${((o = (n = e == null ? void 0 : e.texts) == null ? void 0 : n.heading) == null ? void 0 : o.length) > 34 ? "bw-text-base" : "bw-text-lg"} ${((c = r == null ? void 0 : r.allSteps) == null ? void 0 : c.currentStep) == t ? "bw-text-text-primary" : "bw-text-text-secondary"} bw-leading-none bw-mt-[-2px]`,
|
11559
|
-
children: (d = e == null ? void 0 : e.texts) == null ? void 0 : d.heading
|
11560
|
-
}
|
11561
|
-
),
|
11562
|
-
r != null && r.stepStatus && (r != null && r.stepStatus[t]) ? /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx("p", { className: "bw-text-sm bw-text-text-secondary bw-ml-3 bw-mt-1", children: a && ((l = r == null ? void 0 : r.stepStatus[t]) == null ? void 0 : l.status) !== "failed" && t == ((p = r == null ? void 0 : r.allSteps) == null ? void 0 : p.currentStep) ? "Failed" : ((y = (g = e == null ? void 0 : e.texts) == null ? void 0 : g.status) == null ? void 0 : y[(u = r == null ? void 0 : r.stepStatus[t]) == null ? void 0 : u.status]) || ((A = e == null ? void 0 : e.texts) == null ? void 0 : A[(x = r == null ? void 0 : r.stepStatus[t]) == null ? void 0 : x.type]) }) }) : t == 0 ? /* @__PURE__ */ jsx("div", { className: "bw-h-[20px] bw-mt-[4px] bw-w-full", children: /* @__PURE__ */ jsx(
|
11563
|
-
Skeleton,
|
11564
|
-
{
|
11565
|
-
className: "bw-bg-background-loaderbar bw-rounded-lg bw-w-full",
|
11566
|
-
animation: "wave"
|
11567
|
-
}
|
11568
|
-
) }) : /* @__PURE__ */ jsx(Fragment, {})
|
11525
|
+
/* @__PURE__ */ jsx("h1", { className: ` ${((o = (n = e == null ? void 0 : e.texts) == null ? void 0 : n.heading) == null ? void 0 : o.length) > 34 ? "bw-text-base" : "bw-text-lg"} ${((c = r == null ? void 0 : r.allSteps) == null ? void 0 : c.currentStep) == t ? "bw-text-text-primary" : "bw-text-text-secondary"} bw-leading-none bw-mt-[-2px]`, children: (d = e == null ? void 0 : e.texts) == null ? void 0 : d.heading }),
|
11526
|
+
r != null && r.stepStatus && (r != null && r.stepStatus[t]) ? /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx("p", { className: "bw-text-sm bw-text-text-secondary bw-ml-3 bw-mt-1", children: a && ((l = r == null ? void 0 : r.stepStatus[t]) == null ? void 0 : l.status) !== "failed" && t == ((p = r == null ? void 0 : r.allSteps) == null ? void 0 : p.currentStep) ? "Failed" : ((y = (g = e == null ? void 0 : e.texts) == null ? void 0 : g.status) == null ? void 0 : y[(u = r == null ? void 0 : r.stepStatus[t]) == null ? void 0 : u.status]) || ((A = e == null ? void 0 : e.texts) == null ? void 0 : A[(x = r == null ? void 0 : r.stepStatus[t]) == null ? void 0 : x.type]) }) }) : t == 0 ? /* @__PURE__ */ jsx("div", { className: "bw-h-[20px] bw-mt-[4px] bw-w-full", children: /* @__PURE__ */ jsx(Skeleton, { className: "bw-bg-background-secondary bw-rounded-lg bw-w-full", animation: "wave" }) }) : /* @__PURE__ */ jsx(Fragment, {})
|
11569
11527
|
] });
|
11570
11528
|
}
|
11571
11529
|
function SuccessNew({ spinnerColor: e, stopColor: t }) {
|
@@ -11694,54 +11652,22 @@ function TxnLoad() {
|
|
11694
11652
|
/* @__PURE__ */ jsx("div", { className: `${styles.dash} ${styles.cuatro}` })
|
11695
11653
|
] });
|
11696
11654
|
}
|
11697
|
-
function UpdateQuote({
|
11698
|
-
handleUpdate: e,
|
11699
|
-
startTimer: t,
|
11700
|
-
setDisableButton: a,
|
11701
|
-
reset: i,
|
11702
|
-
details: r
|
11703
|
-
}) {
|
11655
|
+
function UpdateQuote({ handleUpdate: e, startTimer: t, setDisableButton: a, reset: i, details: r }) {
|
11704
11656
|
var q, W, J, Q, V, G, ie, U, ee, Z, H, fe, se, we, xe, te, ge, ce, ve, _e;
|
11705
|
-
const n = useStore((F) => F.configuration), o = useStore((F) => F.persist), { address: c } = useAccount(), { address: d } = useWallet(), { primaryWallet: l } = useDynamicContext(), { getWallet: p } = useWalletDetails({}), g = useStore((F) => F.setPersist), u = useStore((F) => F.customWallet), y = useStore((F) => F.customFee), x = useStore((F) => F.broadCastMode), A = useStore((F) => F.evmGas), I = useStore((F) => F.evmSpeed), T = useStore((F) => F.slippage), f = useStore((F) => F.option), b = useStore((F) => F.gasless), { data: P } = useAccount$1(), N = [
|
11706
|
-
"routesTxn",
|
11707
|
-
c,
|
11708
|
-
o == null ? void 0 : o.fromChain,
|
11709
|
-
o == null ? void 0 : o.toChain,
|
11710
|
-
o == null ? void 0 : o.fromCoin,
|
11711
|
-
o == null ? void 0 : o.toCoin,
|
11712
|
-
(o == null ? void 0 : o.amount) || ((q = o == null ? void 0 : o.route) == null ? void 0 : q.inputAmountDisplay) || 0,
|
11713
|
-
l == null ? void 0 : l.address,
|
11714
|
-
d,
|
11715
|
-
u,
|
11716
|
-
P == null ? void 0 : P.bech32Address,
|
11717
|
-
y,
|
11718
|
-
A,
|
11719
|
-
I,
|
11720
|
-
T,
|
11721
|
-
x,
|
11722
|
-
f.value,
|
11723
|
-
"",
|
11724
|
-
b
|
11725
|
-
];
|
11657
|
+
const n = useStore((F) => F.configuration), o = useStore((F) => F.persist), { address: c } = useAccount(), { address: d } = useWallet(), { primaryWallet: l } = useDynamicContext(), { getWallet: p } = useWalletDetails({}), g = useStore((F) => F.setPersist), u = useStore((F) => F.customWallet), y = useStore((F) => F.customFee), x = useStore((F) => F.broadCastMode), A = useStore((F) => F.evmGas), I = useStore((F) => F.evmSpeed), T = useStore((F) => F.slippage), f = useStore((F) => F.option), b = useStore((F) => F.gasless), { data: P } = useAccount$1(), N = ["routesTxn", c, o == null ? void 0 : o.fromChain, o == null ? void 0 : o.toChain, o == null ? void 0 : o.fromCoin, o == null ? void 0 : o.toCoin, (o == null ? void 0 : o.amount) || ((q = o == null ? void 0 : o.route) == null ? void 0 : q.inputAmountDisplay) || 0, l == null ? void 0 : l.address, d, u, P == null ? void 0 : P.bech32Address, y, A, I, T, x, f.value, "", b];
|
11726
11658
|
let s = (x === "Priority Fee" || x === "Both") && (y != null && y.length) ? y : f.value, m = (x === "Jito Tip" || x === "Both") && (y != null && y.length) ? y : f.value, _ = A != null && A.length ? A : I.value;
|
11727
11659
|
const E = ((W = o == null ? void 0 : o.fromChain) == null ? void 0 : W.networkType) === "sol" ? x === "Priority Fee" ? `&solanaPriorityFee=${s}` : x === "Jito Tip" ? `&solanaJitoTip=${m}` : `&solanaPriorityFee=${s}&solanaJitoTip=${m}` : ((J = o == null ? void 0 : o.fromChain) == null ? void 0 : J.networkType) === "evm" ? `&evmPriorityFee=${_}` : "", { routes: S, routesData: k } = useRoutes({
|
11728
11660
|
enabled: !0,
|
11729
11661
|
dependency: N,
|
11730
11662
|
payload: [
|
11731
|
-
((Q = o == null ? void 0 : o.fromChain) == null ? void 0 : Q.networkType) === "cosmos" ? getCosmosAddress(
|
11732
|
-
P == null ? void 0 : P.bech32Address,
|
11733
|
-
(G = (V = o == null ? void 0 : o.fromChain) == null ? void 0 : V.chainInfo) == null ? void 0 : G.bech32Config.bech32PrefixAccAddr
|
11734
|
-
) : ((ie = o == null ? void 0 : o.route) == null ? void 0 : ie.userWalletAddress) || ((U = p(o == null ? void 0 : o.fromChain)) == null ? void 0 : U.address) || "",
|
11663
|
+
((Q = o == null ? void 0 : o.fromChain) == null ? void 0 : Q.networkType) === "cosmos" ? getCosmosAddress(P == null ? void 0 : P.bech32Address, (G = (V = o == null ? void 0 : o.fromChain) == null ? void 0 : V.chainInfo) == null ? void 0 : G.bech32Config.bech32PrefixAccAddr) : ((ie = o == null ? void 0 : o.route) == null ? void 0 : ie.userWalletAddress) || ((U = p(o == null ? void 0 : o.fromChain)) == null ? void 0 : U.address) || "",
|
11735
11664
|
o == null ? void 0 : o.fromChain,
|
11736
11665
|
o == null ? void 0 : o.toChain,
|
11737
11666
|
o == null ? void 0 : o.fromCoin,
|
11738
11667
|
o == null ? void 0 : o.toCoin,
|
11739
11668
|
(o == null ? void 0 : o.amount) || ((ee = o == null ? void 0 : o.route) == null ? void 0 : ee.inputAmountDisplay) || 0,
|
11740
11669
|
Number(T) * 100,
|
11741
|
-
(u == null ? void 0 : u.length) > 30 ? ((Z = o == null ? void 0 : o.route) == null ? void 0 : Z.recipient) || ((H = p({})) == null ? void 0 : H.address) || "" : ((fe = o == null ? void 0 : o.toChain) == null ? void 0 : fe.networkType) === "cosmos" ? getCosmosAddress(
|
11742
|
-
P == null ? void 0 : P.bech32Address,
|
11743
|
-
(we = (se = o == null ? void 0 : o.toChain) == null ? void 0 : se.chainInfo) == null ? void 0 : we.bech32Config.bech32PrefixAccAddr
|
11744
|
-
) : ((xe = o == null ? void 0 : o.route) == null ? void 0 : xe.recipient) || ((te = p(o == null ? void 0 : o.toChain)) == null ? void 0 : te.address) || "",
|
11670
|
+
(u == null ? void 0 : u.length) > 30 ? ((Z = o == null ? void 0 : o.route) == null ? void 0 : Z.recipient) || ((H = p({})) == null ? void 0 : H.address) || "" : ((fe = o == null ? void 0 : o.toChain) == null ? void 0 : fe.networkType) === "cosmos" ? getCosmosAddress(P == null ? void 0 : P.bech32Address, (we = (se = o == null ? void 0 : o.toChain) == null ? void 0 : se.chainInfo) == null ? void 0 : we.bech32Config.bech32PrefixAccAddr) : ((xe = o == null ? void 0 : o.route) == null ? void 0 : xe.recipient) || ((te = p(o == null ? void 0 : o.toChain)) == null ? void 0 : te.address) || "",
|
11745
11671
|
E,
|
11746
11672
|
1,
|
11747
11673
|
b
|
@@ -11783,49 +11709,21 @@ function UpdateQuote({
|
|
11783
11709
|
/* @__PURE__ */ jsx("p", { className: "bw-text-text-secondary bw-text-sm bw-font-medium", children: "Please accept the new quote, or go back to select manually" }),
|
11784
11710
|
/* @__PURE__ */ jsxs("div", { className: "bw-w-full bw-mt-4 bw-px-2 bw-flex bw-items-center ba-gap-x-2 bw-justify-between", children: [
|
11785
11711
|
/* @__PURE__ */ jsxs("div", { children: [
|
11786
|
-
S.isLoading || S.isFetching ? /* @__PURE__ */ jsx(
|
11787
|
-
Skeleton,
|
11788
|
-
{
|
11789
|
-
className: "bw-bg-background-loaderbar bw-mb-1 bw-rounded-lg bw-h-[20px] bw-w-[150px] bw-min-h-[20px]",
|
11790
|
-
variant: "rectangular",
|
11791
|
-
animation: "wave",
|
11792
|
-
height: 20,
|
11793
|
-
width: 100
|
11794
|
-
}
|
11795
|
-
) : /* @__PURE__ */ jsxs("p", { className: "bw-text-text-lg bw-font-bold bw-text-text-primary", children: [
|
11712
|
+
S.isLoading || S.isFetching ? /* @__PURE__ */ jsx(Skeleton, { className: "bw-bg-background-secondary bw-mb-1 bw-rounded-lg bw-h-[20px] bw-w-[150px] bw-min-h-[20px]", variant: "rectangular", animation: "wave", height: 20, width: 100 }) : /* @__PURE__ */ jsxs("p", { className: "bw-text-text-lg bw-font-bold bw-text-text-primary", children: [
|
11796
11713
|
/* @__PURE__ */ jsx(OutputValueComp, { value: O == null ? void 0 : O.toString(), decimal: 12 }),
|
11797
11714
|
" ",
|
11798
11715
|
((ge = k == null ? void 0 : k.to) == null ? void 0 : ge.symbol) || ""
|
11799
11716
|
] }),
|
11800
|
-
S.isLoading || S.isFetching ? /* @__PURE__ */ jsx(
|
11801
|
-
|
11802
|
-
{
|
11803
|
-
className: "bw-bg-background-loaderbar bw-rounded-lg bw-h-[20px] bw-w-[70px] bw-min-h-[20px]",
|
11804
|
-
variant: "rectangular",
|
11805
|
-
animation: "wave",
|
11806
|
-
height: 20,
|
11807
|
-
width: 70
|
11808
|
-
}
|
11809
|
-
) : /* @__PURE__ */ jsxs("p", { className: "bw-text-text-sm bw-font-normal bw-text-text-secondary", children: [
|
11810
|
-
"$",
|
11811
|
-
" ",
|
11812
|
-
/* @__PURE__ */ jsx(
|
11813
|
-
OutputValueComp,
|
11814
|
-
{
|
11815
|
-
value: formatNumber(
|
11816
|
-
((k == null ? void 0 : k.outputAmountDisplay) || "") * ((ce = k == null ? void 0 : k.to) == null ? void 0 : ce.lastPrice) || 0,
|
11817
|
-
10
|
11818
|
-
),
|
11819
|
-
decimal: 12
|
11820
|
-
}
|
11821
|
-
)
|
11717
|
+
S.isLoading || S.isFetching ? /* @__PURE__ */ jsx(Skeleton, { className: "bw-bg-background-secondary bw-rounded-lg bw-h-[20px] bw-w-[70px] bw-min-h-[20px]", variant: "rectangular", animation: "wave", height: 20, width: 70 }) : /* @__PURE__ */ jsxs("p", { className: "bw-text-text-sm bw-font-normal bw-text-text-secondary", children: [
|
11718
|
+
"$ ",
|
11719
|
+
/* @__PURE__ */ jsx(OutputValueComp, { value: formatNumber(((k == null ? void 0 : k.outputAmountDisplay) || "") * ((ce = k == null ? void 0 : k.to) == null ? void 0 : ce.lastPrice) || 0, 10), decimal: 12 })
|
11822
11720
|
] })
|
11823
11721
|
] }),
|
11824
11722
|
/* @__PURE__ */ jsx(
|
11825
11723
|
"button",
|
11826
11724
|
{
|
11827
11725
|
disabled: S.isFetching || S.isLoading,
|
11828
|
-
className: `bw-text-lg bw-flex bw-justify-center bw-items-center bw-gap-x-2 disabled:bw-opacity-60 bw-font-medium bw-h-[50px] bw-w-1/2
|
11726
|
+
className: `bw-text-lg bw-flex bw-justify-center bw-items-center bw-gap-x-2 disabled:bw-opacity-60 bw-font-medium bw-h-[50px] bw-w-1/2 bw-rounded-sm ${styles$1.gradientbutton + " bw-p-[3px]"}`,
|
11829
11727
|
onClick: D,
|
11830
11728
|
style: {
|
11831
11729
|
...n == null ? void 0 : n.gradientStyle,
|
@@ -12642,29 +12540,12 @@ function Timer({ handleExpiry: e }) {
|
|
12642
12540
|
});
|
12643
12541
|
return `${FormatTime(r)}:${FormatTime(n)}`;
|
12644
12542
|
}
|
12645
|
-
const TxnTimer = React__default.memo(function e({
|
12646
|
-
route: t,
|
12647
|
-
isTimerStarted: a,
|
12648
|
-
startTimer: i,
|
12649
|
-
isErrorMessage: r
|
12650
|
-
}) {
|
12543
|
+
const TxnTimer = React__default.memo(function e({ route: t, isTimerStarted: a, startTimer: i, isErrorMessage: r }) {
|
12651
12544
|
const [n, o] = useState(!1), { isTxnSuccessful: c } = useContext(TxnSuccessContext), l = !useStore((g) => g.persist).stepData;
|
12652
12545
|
function p() {
|
12653
12546
|
o(!0), i(!1);
|
12654
12547
|
}
|
12655
|
-
return /* @__PURE__ */ jsx(
|
12656
|
-
"div",
|
12657
|
-
{
|
12658
|
-
className: "bw-border bw-w-[65px] bw-mt-5 bw-h-[65px] bw-flex bw-items-center bw-justify-center bw-rounded-[50%] bw-bg-background-card bw-relative bw-z-10 hover:bw-opacity-100 bw-border-border-primary ",
|
12659
|
-
children: /* @__PURE__ */ jsx(
|
12660
|
-
"p",
|
12661
|
-
{
|
12662
|
-
className: " bw-text-sm bw-text-center bw-font-medium bw-text-text-primary",
|
12663
|
-
children: l ? /* @__PURE__ */ jsx(TimeLoader, {}) : c ? "Done" : a && !n ? /* @__PURE__ */ jsx(Timer, { route: t, handleExpiry: p }) : n ? /* @__PURE__ */ jsx(TimeLoader, {}) : "Start Txn"
|
12664
|
-
}
|
12665
|
-
)
|
12666
|
-
}
|
12667
|
-
);
|
12548
|
+
return /* @__PURE__ */ jsx("div", { className: "bw-border bw-w-[65px] bw-mt-5 bw-h-[65px] bw-flex bw-items-center bw-justify-center bw-rounded-[50%] bw-bg-background-container bw-relative bw-z-10 hover:bw-opacity-100 bw-border-border-primary ", children: /* @__PURE__ */ jsx("p", { className: " bw-text-sm bw-text-center bw-font-medium bw-text-text-primary", children: l ? /* @__PURE__ */ jsx(TimeLoader, {}) : c ? "Done" : a && !n ? /* @__PURE__ */ jsx(Timer, { route: t, handleExpiry: p }) : n ? /* @__PURE__ */ jsx(TimeLoader, {}) : "Start Txn" }) });
|
12668
12549
|
});
|
12669
12550
|
function capitalizeFirstLetter(e) {
|
12670
12551
|
return typeof e != "string" || e.length === 0 ? e : e.charAt(0).toUpperCase() + e.slice(1).toLowerCase();
|
@@ -12676,38 +12557,17 @@ function ShowDetails() {
|
|
12676
12557
|
var t, a, i, r, n, o, c;
|
12677
12558
|
const e = useStore((d) => d.persist);
|
12678
12559
|
return /* @__PURE__ */ jsxs("div", { className: "bw-w-full bw-px-3 bw-py-2 bw-border-t bw-border-border-primary", children: [
|
12679
|
-
/* @__PURE__ */ jsx("div", { children: (a = (t = e == null ? void 0 : e.route) == null ? void 0 : t.fee) == null ? void 0 : a.filter((d, l) => d.source == "FROM_SOURCE_WALLET").map((d, l) => d.amountInUSD ? /* @__PURE__ */ jsxs(
|
12680
|
-
"
|
12681
|
-
{
|
12682
|
-
|
12683
|
-
|
12684
|
-
|
12685
|
-
/* @__PURE__ */
|
12686
|
-
|
12687
|
-
|
12688
|
-
|
12689
|
-
|
12690
|
-
20
|
12691
|
-
) || 0,
|
12692
|
-
options: { maxDecimals: 8 }
|
12693
|
-
}
|
12694
|
-
),
|
12695
|
-
` ${d.token.symbol} ${d.amountInUSD ? " ($" : ""}`,
|
12696
|
-
d.amountInUSD ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
12697
|
-
/* @__PURE__ */ jsx(
|
12698
|
-
FormatCryptoValue,
|
12699
|
-
{
|
12700
|
-
value: d.amountInUSD || 0,
|
12701
|
-
options: { maxDecimals: 8 }
|
12702
|
-
}
|
12703
|
-
),
|
12704
|
-
")"
|
12705
|
-
] }) : ""
|
12706
|
-
] })
|
12707
|
-
]
|
12708
|
-
},
|
12709
|
-
l
|
12710
|
-
) : /* @__PURE__ */ jsx(Fragment, {})) }),
|
12560
|
+
/* @__PURE__ */ jsx("div", { children: (a = (t = e == null ? void 0 : e.route) == null ? void 0 : t.fee) == null ? void 0 : a.filter((d, l) => d.source == "FROM_SOURCE_WALLET").map((d, l) => d.amountInUSD ? /* @__PURE__ */ jsxs("div", { className: "bw-flex bw-mb-1 bw-items-center bw-justify-between", children: [
|
12561
|
+
/* @__PURE__ */ jsx("p", { className: "bw-text-text-secondary bw-text-sm bw-font-semibold", children: `${capitalizeFirstLetter(d.type)} Fee` }),
|
12562
|
+
/* @__PURE__ */ jsxs("span", { className: "bw-text-text-secondary bw-text-sm bw-font-bold", children: [
|
12563
|
+
/* @__PURE__ */ jsx(FormatCryptoValue, { value: getGas(d.amountInToken, d.token.decimals).toFixed(20) || 0, options: { maxDecimals: 8 } }),
|
12564
|
+
` ${d.token.symbol} ${d.amountInUSD ? " ($" : ""}`,
|
12565
|
+
d.amountInUSD ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
12566
|
+
/* @__PURE__ */ jsx(FormatCryptoValue, { value: d.amountInUSD || 0, options: { maxDecimals: 8 } }),
|
12567
|
+
")"
|
12568
|
+
] }) : ""
|
12569
|
+
] })
|
12570
|
+
] }, l) : /* @__PURE__ */ jsx(Fragment, {})) }),
|
12711
12571
|
/* @__PURE__ */ jsx("div", { className: "bw-w-full bw-h-[1px] bw-border-b bw-my-2 bw-border-border-primary" }),
|
12712
12572
|
/* @__PURE__ */ jsxs("div", { className: "bw-w-full", children: [
|
12713
12573
|
/* @__PURE__ */ jsxs("div", { className: "bw-flex bw-items-center bw-mb-2 bw-justify-between", children: [
|
@@ -12719,10 +12579,7 @@ function ShowDetails() {
|
|
12719
12579
|
] }),
|
12720
12580
|
/* @__PURE__ */ jsxs("div", { className: "bw-flex bw-items-center bw-justify-between", children: [
|
12721
12581
|
/* @__PURE__ */ jsx("p", { className: "bw-text-text-primary bw-text-sm bw-font-medium", children: "Minimum Received" }),
|
12722
|
-
/* @__PURE__ */ jsx("span", { className: "bw-text-text-primary bw-text-sm bw-font-medium", children: (r = e == null ? void 0 : e.route) != null && r.minOutputAmountDisplay || (n = e == null ? void 0 : e.route) != null && n.minOutputAmount ? `${fixString(
|
12723
|
-
e.route.minOutputAmountDisplay || e.route.minOutputAmount,
|
12724
|
-
10
|
12725
|
-
)} ${(c = (o = e == null ? void 0 : e.route) == null ? void 0 : o.to) == null ? void 0 : c.symbol}` : "" })
|
12582
|
+
/* @__PURE__ */ jsx("span", { className: "bw-text-text-primary bw-text-sm bw-font-medium", children: (r = e == null ? void 0 : e.route) != null && r.minOutputAmountDisplay || (n = e == null ? void 0 : e.route) != null && n.minOutputAmount ? `${fixString(e.route.minOutputAmountDisplay || e.route.minOutputAmount, 10)} ${(c = (o = e == null ? void 0 : e.route) == null ? void 0 : o.to) == null ? void 0 : c.symbol}` : "" })
|
12726
12583
|
] })
|
12727
12584
|
] })
|
12728
12585
|
] });
|
@@ -12742,22 +12599,10 @@ function DefaultStateSection({ gasData: e }) {
|
|
12742
12599
|
/* @__PURE__ */ jsx("div", { className: "bw-w-[2px] bw-h-[24px] bw-mx-3 bw-bg-text-secondary" }),
|
12743
12600
|
/* @__PURE__ */ jsx("span", { className: "bw-text-xs bw-font-normal bw-text-text-secondary", children: "Fees:" }),
|
12744
12601
|
/* @__PURE__ */ jsxs("span", { className: "bw-text-xs bw-ml-[3px] bw-font-bold bw-text-text-secondary", children: [
|
12745
|
-
/* @__PURE__ */ jsx(
|
12746
|
-
FormatCryptoValue,
|
12747
|
-
{
|
12748
|
-
value: (e == null ? void 0 : e.payableInToken) || 0,
|
12749
|
-
options: { maxDecimals: 8 }
|
12750
|
-
}
|
12751
|
-
),
|
12602
|
+
/* @__PURE__ */ jsx(FormatCryptoValue, { value: (e == null ? void 0 : e.payableInToken) || 0, options: { maxDecimals: 8 } }),
|
12752
12603
|
` ${e == null ? void 0 : e.symbol} ${e != null && e.payableInUSD ? " ($" : ""}`,
|
12753
12604
|
e != null && e.payableInUSD ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
12754
|
-
/* @__PURE__ */ jsx(
|
12755
|
-
FormatCryptoValue,
|
12756
|
-
{
|
12757
|
-
value: (e == null ? void 0 : e.payableInUSD) || 0,
|
12758
|
-
options: { maxDecimals: 8 }
|
12759
|
-
}
|
12760
|
-
),
|
12605
|
+
/* @__PURE__ */ jsx(FormatCryptoValue, { value: (e == null ? void 0 : e.payableInUSD) || 0, options: { maxDecimals: 8 } }),
|
12761
12606
|
")"
|
12762
12607
|
] }) : ""
|
12763
12608
|
] })
|
@@ -12767,22 +12612,10 @@ function FullStateSection({ gasData: e }) {
|
|
12767
12612
|
return /* @__PURE__ */ jsxs("div", { className: "bw-w-full bw-flex bw-items-center bw-justify-between bw-border-border-primary", children: [
|
12768
12613
|
/* @__PURE__ */ jsx("span", { className: "bw-text-sm bw-font-bold bw-text-text-primary", children: "Fees" }),
|
12769
12614
|
/* @__PURE__ */ jsxs("span", { className: "bw-text-sm bw-ml-[3px] bw-font-bold bw-text-text-primary", children: [
|
12770
|
-
/* @__PURE__ */ jsx(
|
12771
|
-
FormatCryptoValue,
|
12772
|
-
{
|
12773
|
-
value: (e == null ? void 0 : e.payableInToken) || 0,
|
12774
|
-
options: { maxDecimals: 8 }
|
12775
|
-
}
|
12776
|
-
),
|
12615
|
+
/* @__PURE__ */ jsx(FormatCryptoValue, { value: (e == null ? void 0 : e.payableInToken) || 0, options: { maxDecimals: 8 } }),
|
12777
12616
|
` ${e == null ? void 0 : e.symbol} ${e != null && e.payableInUSD ? " ($" : ""}`,
|
12778
12617
|
e != null && e.payableInUSD ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
12779
|
-
/* @__PURE__ */ jsx(
|
12780
|
-
FormatCryptoValue,
|
12781
|
-
{
|
12782
|
-
value: (e == null ? void 0 : e.payableInUSD) || 0,
|
12783
|
-
options: { maxDecimals: 8 }
|
12784
|
-
}
|
12785
|
-
),
|
12618
|
+
/* @__PURE__ */ jsx(FormatCryptoValue, { value: (e == null ? void 0 : e.payableInUSD) || 0, options: { maxDecimals: 8 } }),
|
12786
12619
|
")"
|
12787
12620
|
] }) : ""
|
12788
12621
|
] })
|
@@ -12817,10 +12650,7 @@ function EstGas() {
|
|
12817
12650
|
symbol: ""
|
12818
12651
|
};
|
12819
12652
|
return (y = (u = e == null ? void 0 : e.route) == null ? void 0 : u.fee) == null || y.forEach((x) => {
|
12820
|
-
x.source == "FROM_SOURCE_WALLET" && (g.payableInUSD += Number(x.amountInUSD), g.payableInToken += getGas(
|
12821
|
-
Number(x.amountInToken),
|
12822
|
-
x.token.decimals
|
12823
|
-
), g.symbol = x.token.symbol);
|
12653
|
+
x.source == "FROM_SOURCE_WALLET" && (g.payableInUSD += Number(x.amountInUSD), g.payableInToken += getGas(Number(x.amountInToken), x.token.decimals), g.symbol = x.token.symbol);
|
12824
12654
|
}), g;
|
12825
12655
|
}, [e == null ? void 0 : e.route]);
|
12826
12656
|
return /* @__PURE__ */ jsxs(
|
@@ -12832,7 +12662,7 @@ function EstGas() {
|
|
12832
12662
|
style: {
|
12833
12663
|
boxShadow: i && i.customTheme && ((p = (l = i.customTheme) == null ? void 0 : l.shadow) == null ? void 0 : p.boxShadow) || "0px 0px 5.8px 0px #00000026"
|
12834
12664
|
},
|
12835
|
-
className: "bw-w-full bw-sticky bw-top-0 bw-z-20 bw-select-none bw-cursor-pointer bw-bg-background-
|
12665
|
+
className: "bw-w-full bw-sticky bw-top-0 bw-z-20 bw-select-none bw-cursor-pointer bw-bg-background-container bw-rounded-lg bw-min-h-max bw-border bw-border-border-primary bw-overflow-hidden",
|
12836
12666
|
children: [
|
12837
12667
|
/* @__PURE__ */ jsx(Summary, { gasData: d, isShowFull: t }),
|
12838
12668
|
/* @__PURE__ */ jsx(
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import * as D from "react";
|
2
2
|
import kt from "react";
|
3
|
-
import { p as J, P as i, aD as St, m as Bt, g as Wt, b as Lt, _ as Te, d as z, h as Nt, i as Ht, s as Vt } from "./index-
|
3
|
+
import { p as J, P as i, aD as St, m as Bt, g as Wt, b as Lt, _ as Te, d as z, h as Nt, i as Ht, s as Vt } from "./index-CCJxyv13.js";
|
4
4
|
import { jsx as de } from "react/jsx-runtime";
|
5
|
-
import { o as et, P as It, b as Se, a as tt, m as Ut, r as mt, h as qt, H as Ee, T as Ft, q as _t, j as Xt, n as zt, t as rt, v as Yt, w as Gt } from "./useRegisterError-
|
5
|
+
import { o as et, P as It, b as Se, a as tt, m as Ut, r as mt, h as qt, H as Ee, T as Ft, q as _t, j as Xt, n as zt, t as rt, v as Yt, w as Gt } from "./useRegisterError-CIj7yT4N.js";
|
6
6
|
let nt = 0;
|
7
7
|
function Jt(e) {
|
8
8
|
const [t, r] = D.useState(e), n = e || t;
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import { jsxs as b, jsx as t, Fragment as k } from "react/jsx-runtime";
|
2
|
-
import { u as s, S as W } from "./index-
|
2
|
+
import { u as s, S as W } from "./index-CCJxyv13.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-
|
4
|
+
import { u as j, i as I, W as D, F, f as p, c as u, z as R } from "./useRegisterError-CIj7yT4N.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-
|
7
|
+
import { c as B, r as G } from "./index-Csnr5wYZ.js";
|
8
8
|
function H({ amount: w, setAmount: l, fetchBalance: M, getCoinBalance: h, isBalanceLoading: f }) {
|
9
9
|
var d, o;
|
10
10
|
const n = s((a) => a.configuration), e = s((a) => a.fromCoin), r = s((a) => a.fromChain), { isAnyWalletConnected: g } = j({ chainData: r }), [$, z] = S(40), { address: N } = T(), v = x(), { defaultCoin: y } = I;
|
@@ -26,10 +26,10 @@ function H({ amount: w, setAmount: l, fetchBalance: M, getCoinBalance: h, isBala
|
|
26
26
|
style: {
|
27
27
|
boxShadow: n && n.customTheme && ((o = (d = n.customTheme) == null ? void 0 : d.shadow) == null ? void 0 : o.boxShadow) || "1px 1px 7px rgba(0, 0, 0, 0.15)"
|
28
28
|
},
|
29
|
-
className: "bw-w-full bw-h-[80px] bw-flex bw-gap-x-1 bw-items-center bw-px-2 bw-bg-background-
|
29
|
+
className: "bw-w-full bw-h-[80px] bw-flex bw-gap-x-1 bw-items-center bw-px-2 bw-bg-background-container bw-rounded-md bw-border bw-border-border-primary",
|
30
30
|
children: [
|
31
31
|
/* @__PURE__ */ b("div", { className: "bw-w-full bw-flex bw-gap-x-2 bw-mt-5 bw-items-start bw-h-full", children: [
|
32
|
-
/* @__PURE__ */ t("div", { className: " bw-flex bw-items-center", children: e != null && e.image ? /* @__PURE__ */ t("div", { className: "bw-rounded-[50%] bw-bg-background-
|
32
|
+
/* @__PURE__ */ t("div", { className: " bw-flex bw-items-center", children: e != null && e.image ? /* @__PURE__ */ t("div", { className: "bw-rounded-[50%] bw-bg-background-secondary bw-min-w-[40px] bw-w-[40px] bw-min-h-[40px] bw-flex bw-justify-center bw-items-center bw-border bw-border-border-primary", children: /* @__PURE__ */ t("img", { src: e == null ? void 0 : e.image, width: 39, height: 39, alt: "img", className: "bw-rounded-[50%] bw-max-w-[39px] bw-max-h-[39px] bw-object-contain bw-min-w-[39px] bw-min-h-[39px]" }) }) : /* @__PURE__ */ t("div", { className: "bw-min-w-[40px] bw-w-[40px] bw-border bw-border-border-primary bw-min-h-[40px] bw-rounded-[50%] ", children: /* @__PURE__ */ t("img", { src: y, width: 39, height: 39, alt: "img", className: "bw-rounded-[50%] bw-min-w-[38px] bw-min-h-[39px]" }) }) }),
|
33
33
|
/* @__PURE__ */ b("div", { className: "bw-w-full", children: [
|
34
34
|
/* @__PURE__ */ t(
|
35
35
|
"div",
|
@@ -67,7 +67,7 @@ function H({ amount: w, setAmount: l, fetchBalance: M, getCoinBalance: h, isBala
|
|
67
67
|
] })
|
68
68
|
}
|
69
69
|
),
|
70
|
-
/* @__PURE__ */ t("div", { children: e.coin.length && g ? f ? /* @__PURE__ */ t(W, { className: "bw-bg-background-
|
70
|
+
/* @__PURE__ */ t("div", { children: e.coin.length && g ? f ? /* @__PURE__ */ t(W, { className: "bw-bg-background-secondary bw-rounded-md bw-h-[18px] bw-w-[100px]" }) : /* @__PURE__ */ b("div", { className: "bw-flex bw-items-center bw-gap-x-1", children: [
|
71
71
|
/* @__PURE__ */ t(D, { fill: "var(--tw-text-secondary)" }),
|
72
72
|
/* @__PURE__ */ t("p", { className: "bw-text-xs bw-font-medium bw-text-text-secondary", children: /* @__PURE__ */ t(
|
73
73
|
F,
|