@blockend/widget 1.0.32 → 1.0.34
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-CPwuTwqd.js → AllRoutes-DW-2t6-d.js} +25 -25
- package/dist/{Box-CIChapvH.js → Box-C4X6PUtu.js} +21 -22
- package/dist/{EstGas-CEFILtyf.js → EstGas-Lj2vKAmO.js} +26 -30
- package/dist/{Grow-DJZj9zjv.js → Grow-CCS_DglL.js} +78 -78
- package/dist/{InputComp-DqF1JGIu.js → InputComp-FIX0Q9qG.js} +13 -14
- package/dist/{LoadRoute-r3sHTYXM.js → LoadRoute-Di4rBHfs.js} +6 -7
- package/dist/{QuotesProgress-BXVLxZ8U.js → QuotesProgress-CDe2mdH1.js} +1 -1
- package/dist/{SwapAsset-07WvVwl-.js → SwapAsset-B0GIHqge.js} +1 -1
- package/dist/{Tooltip-CNAsCF8n.js → Tooltip-CsLgOKrX.js} +62 -62
- package/dist/{TxnButton-D2TTkFYA.js → TxnButton-CFquc6ws.js} +19 -19
- package/dist/{add-t2GqC9VA.js → add-Cb5Hpxtd.js} +1 -1
- package/dist/{all-wallets-DFyf0q31.js → all-wallets-IvJFyonp.js} +1 -1
- package/dist/{app-store-aAahwmBP.js → app-store-DGHaTAGg.js} +1 -1
- package/dist/{apple-DeRgpwlc.js → apple-BzfrhDcG.js} +1 -1
- package/dist/{arrow-bottom-DdEOkaAj.js → arrow-bottom-BTM5yMbs.js} +1 -1
- package/dist/{arrow-bottom-circle-BWwREWcv.js → arrow-bottom-circle-wJZrQ1UB.js} +1 -1
- package/dist/{arrow-left-CulyLmoH.js → arrow-left-yb9jvZLF.js} +1 -1
- package/dist/{arrow-right-Dwr7TISn.js → arrow-right-CNq-seAV.js} +1 -1
- package/dist/{arrow-top-pL4rM_y8.js → arrow-top-viS3mMCD.js} +1 -1
- package/dist/{bank-CPuyK_08.js → bank-BCcggibH.js} +1 -1
- package/dist/{basic-CVc9xEvb.js → basic-DaTq2wkc.js} +3 -3
- package/dist/{browser-Cbq2Zbp4.js → browser-CmA0GPLB.js} +1 -1
- package/dist/{card-B_hUtPWK.js → card-BO4I6Psi.js} +1 -1
- package/dist/{ccip-BLVGcR4A.js → ccip-CkXLKCYn.js} +20 -20
- package/dist/{checkmark-WEqTsFAc.js → checkmark-DF8VoFaX.js} +1 -1
- package/dist/{checkmark-bold-Du_ZvhqM.js → checkmark-bold-C6OPR-mV.js} +1 -1
- package/dist/{chevron-bottom-C-s-lv4L.js → chevron-bottom-BTjaTIFm.js} +1 -1
- package/dist/{chevron-left-C7NcRElx.js → chevron-left-D6wphcsV.js} +1 -1
- package/dist/{chevron-right-CSzmAmdn.js → chevron-right-Ba05aF4G.js} +1 -1
- package/dist/{chevron-top-Dd99Wfel.js → chevron-top-I_q0NhsC.js} +1 -1
- package/dist/{chrome-store-C4p77Of0.js → chrome-store-DvzERGX1.js} +1 -1
- package/dist/{clock-Cib24qjH.js → clock-GIv_XdGS.js} +1 -1
- package/dist/{close-BXjEkTvS.js → close-ChDp2HIX.js} +1 -1
- package/dist/{coinPlaceholder-BFNC7cQN.js → coinPlaceholder-D6rBGR5B.js} +1 -1
- package/dist/{compass-CXPX5Ycp.js → compass-DFCkTDdC.js} +1 -1
- package/dist/{copy-BEawMbmF.js → copy-DyQCksHx.js} +1 -1
- package/dist/{core-Bez9Ow7F.js → core-BnRPnZUj.js} +3 -3
- package/dist/{cursor-Cxq4Q9jk.js → cursor-BhR8wfWc.js} +1 -1
- package/dist/{cursor-transparent-ZjJ0P2vr.js → cursor-transparent-CYfTh9TG.js} +1 -1
- package/dist/{desktop-BhZVovAp.js → desktop-CdNR2WGz.js} +1 -1
- package/dist/{disconnect-AC-bffZO.js → disconnect-Bbfhuf4x.js} +1 -1
- package/dist/{discord-dT97h-CC.js → discord-04uw628s.js} +1 -1
- package/dist/{down-DP56YSKp.js → down-DmSxEW66.js} +2 -2
- package/dist/{etherscan-rYFRhRTM.js → etherscan-D7Ga60vG.js} +1 -1
- package/dist/{exclamation-triangle-C-pCuC08.js → exclamation-triangle-CMEJoc37.js} +1 -1
- package/dist/{extension-BnqauLSn.js → extension-C0IOh4C8.js} +1 -1
- package/dist/{external-link-M9D6e_F3.js → external-link-CEy2KY-H.js} +1 -1
- package/dist/{facebook-DHezcoD-.js → facebook-XHE6-OiD.js} +1 -1
- package/dist/{farcaster-D0Ky-Imv.js → farcaster-BVsAZpup.js} +1 -1
- package/dist/{filters-B02NYLWq.js → filters-BjuqhDXY.js} +1 -1
- package/dist/{getChainIds-CJd2TZYT.js → getChainIds-cRV7v4Vu.js} +75 -75
- package/dist/{getCosmosAddress-DTZfw04G.js → getCosmosAddress-Cm0YEa9v.js} +2 -2
- package/dist/{github-BzQkIMuE.js → github-C5YGtlqc.js} +1 -1
- package/dist/{google-BpwCJ4Fs.js → google-DFDexaN0.js} +1 -1
- package/dist/{hamburger-BzqwkUjE.js → hamburger-CZPNB-Jp.js} +20 -20
- package/dist/{help-circle-C0nOySHC.js → help-circle-C2OFxIs0.js} +1 -1
- package/dist/{id-DFP_kFd4.js → id-CforGy9u.js} +1 -1
- package/dist/{image-QiYOAGjM.js → image-BLq9nQ13.js} +1 -1
- package/dist/{index-D5hLIe-N.js → index-BRrWKwgI.js} +1 -1
- package/dist/{index-DDk00SOL.js → index-Bw4t164c.js} +45 -45
- package/dist/{index-DaJ1272l.js → index-ByWf22Y4.js} +43 -43
- package/dist/index-C6pDnqRd.js +30456 -0
- package/dist/{index-DXdD3L9f.js → index-Cx-XaRo6.js} +243 -243
- package/dist/{index-CrC4B7xn.js → index-D7-VO30b.js} +22 -23
- package/dist/{index-DxPp2gBS.js → index-DKPTk58K.js} +78 -78
- package/dist/{index-CjtwASJt.js → index-DrWi5MDR.js} +4 -4
- package/dist/{index-DW3W7zaF.js → index-EuXqE26M.js} +53 -54
- package/dist/{index-Dy_n2MPD.js → index-HOk_h4cO.js} +14 -14
- package/dist/{index-oc8HPfOF.js → index-sSdagBAC.js} +93 -93
- package/dist/{index.es-C-j-Ghef.js → index.es-B1r2oZcy.js} +2 -2
- package/dist/{index.es-Bsr7zP98.js → index.es-DP4lrxUS.js} +5 -5
- package/dist/index.es.js +1 -1
- package/dist/{info-BTLQJ-wd.js → info-CJ1NTOxH.js} +1 -1
- package/dist/{info-circle-Dla9169_.js → info-circle-Daj7vZoR.js} +1 -1
- package/dist/{lightbulb-PN8DA_Wh.js → lightbulb-BLkY2HTh.js} +1 -1
- package/dist/{mail-BGYZut_4.js → mail-CAKz4cbl.js} +1 -1
- package/dist/{mobile-BM760ZzX.js → mobile-BopKRCBe.js} +1 -1
- package/dist/{more-rHGnl2ck.js → more-X_2v_wZ3.js} +1 -1
- package/dist/{network-placeholder-CyQl-3_2.js → network-placeholder-C1OcyWkc.js} +1 -1
- package/dist/{nftPlaceholder-nuUJ8nKY.js → nftPlaceholder-B3ZKQ1U2.js} +1 -1
- package/dist/{off-GYlwYDrT.js → off-OZ4tqosO.js} +1 -1
- package/dist/{play-store-Ck01Ez1F.js → play-store-HsWGEr_g.js} +1 -1
- package/dist/{plus-CQfXWgLw.js → plus-C7yRM6wl.js} +1 -1
- package/dist/{qr-code-CyLVwLY7.js → qr-code-DfWVQYKi.js} +1 -1
- package/dist/{recycle-horizontal-DvnWPcEQ.js → recycle-horizontal-C5u6LBUM.js} +1 -1
- package/dist/{refresh-BOxj8b2n.js → refresh-BYw1HzOO.js} +1 -1
- package/dist/{reown-logo-D1iprOTg.js → reown-logo-CXMihtcp.js} +1 -1
- package/dist/{search-DrPaZPnc.js → search-ByiAQZVh.js} +1 -1
- package/dist/{send-ybBREe4b.js → send-Bs5FwLBZ.js} +1 -1
- package/dist/shareicon-CG3v7iKI.js +10 -0
- package/dist/{swapHorizontal-BddjZdXK.js → swapHorizontal-B7d_h2Se.js} +1 -1
- package/dist/{swapHorizontalBold-B6AWjPZ9.js → swapHorizontalBold-xBnEd6a1.js} +1 -1
- package/dist/{swapHorizontalMedium-CNacWoBn.js → swapHorizontalMedium-aLC75TbM.js} +1 -1
- package/dist/{swapHorizontalRoundedBold-B8VcPnqt.js → swapHorizontalRoundedBold-D1ph5kGS.js} +1 -1
- package/dist/{swapVertical-zY2BbSyQ.js → swapVertical-DtfbArUn.js} +1 -1
- package/dist/{telegram-DS4l-8Oc.js → telegram-0Il36fMk.js} +1 -1
- package/dist/{three-dots-RctNqamK.js → three-dots-wNW622nV.js} +1 -1
- package/dist/{twitch-CJ0llIIH.js → twitch-Dt1-Wtif.js} +1 -1
- package/dist/{twitterIcon-pgvN9-bP.js → twitterIcon-CpSpHPYu.js} +1 -1
- package/dist/{unsupportedProp-BJVuEW_b.js → unsupportedProp-DBVCAgxp.js} +1 -1
- package/dist/{useRegisterError-C_YLA1dw.js → useRegisterError-Cs0PKbRQ.js} +3257 -4302
- package/dist/{verify-BeZLo1Fq.js → verify-BFIm6NMn.js} +1 -1
- package/dist/{verify-filled-meyb7E16.js → verify-filled-bGZT7egL.js} +1 -1
- package/dist/{w3m-modal-C-Jp9NVv.js → w3m-modal-C6VaThR4.js} +2 -2
- package/dist/{wallet-CFcOgSsz.js → wallet-BeQcPBdd.js} +1 -1
- package/dist/{wallet-placeholder-CeUMILZq.js → wallet-placeholder-CCGVvv4Q.js} +1 -1
- package/dist/{walletconnect-D6LB1PyC.js → walletconnect-BnSO61ut.js} +1 -1
- package/dist/{warning-circle-BRtzofvT.js → warning-circle-D80fIuKG.js} +1 -1
- package/dist/widget.css +1 -1
- package/dist/{x-DKQAOOh3.js → x-4jy71myv.js} +1 -1
- package/package.json +7 -19
- package/dist/index-CLzkn733.js +0 -28223
- package/dist/secp256k1-DgmH1qVg.js +0 -1251
- package/dist/shareicon-D3Qj5j1T.js +0 -262
@@ -1,6 +1,6 @@
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
2
2
|
import "react";
|
3
|
-
import { F as m } from "./useRegisterError-
|
3
|
+
import { F as m } from "./useRegisterError-Cs0PKbRQ.js";
|
4
4
|
function n({ value: t, decimal: o }) {
|
5
5
|
return t.length ? /* @__PURE__ */ r(m, { value: t, options: { maxDecimals: o } }) : t;
|
6
6
|
}
|
@@ -1,15 +1,15 @@
|
|
1
|
-
import { jsxs as n, jsx as s, Fragment as
|
2
|
-
import { T as se, a as ae, H as oe, b as Y, c as ne, E as ie, d as ce } from "./EstGas-
|
3
|
-
import { useState as q, useEffect as
|
4
|
-
import {
|
5
|
-
import { u as c, l as ee, c as Z } from "./index-
|
1
|
+
import { jsxs as n, jsx as s, Fragment as X } from "react/jsx-runtime";
|
2
|
+
import { T as se, a as ae, H as oe, b as Y, c as ne, E as ie, d as ce } from "./EstGas-Lj2vKAmO.js";
|
3
|
+
import { useState as q, useEffect as F } from "react";
|
4
|
+
import { d as we, i as be } from "./useRegisterError-Cs0PKbRQ.js";
|
5
|
+
import { u as c, l as ee, c as Z, E as ue } from "./index-C6pDnqRd.js";
|
6
6
|
import { useQuery as _ } from "@tanstack/react-query";
|
7
|
-
import "./down-
|
7
|
+
import "./down-DmSxEW66.js";
|
8
8
|
import "wagmi";
|
9
9
|
import "@dynamic-labs/sdk-react-core";
|
10
|
-
import "./getCosmosAddress-
|
11
|
-
function
|
12
|
-
var T, N, I, w, d, p, E, b, u,
|
10
|
+
import "./getCosmosAddress-Cm0YEa9v.js";
|
11
|
+
function le({ details: k }) {
|
12
|
+
var T, N, I, w, d, p, E, b, u, D, t;
|
13
13
|
const a = {
|
14
14
|
route: {
|
15
15
|
...k
|
@@ -44,7 +44,7 @@ function ue({ details: k }) {
|
|
44
44
|
" ",
|
45
45
|
(E = a == null ? void 0 : a.route) == null ? void 0 : E.protocolsUsed[0],
|
46
46
|
((u = (b = a == null ? void 0 : a.route) == null ? void 0 : b.protocolsUsed) == null ? void 0 : u.length) <= 1 ? "" : /* @__PURE__ */ n("span", { className: "bw-ml-1 bw-text-xs bw-font-normal bw-leading-6", children: [
|
47
|
-
`+${((t = (
|
47
|
+
`+${((t = (D = a == null ? void 0 : a.route) == null ? void 0 : D.protocolsUsed) == null ? void 0 : t.length) - 1}`,
|
48
48
|
" More"
|
49
49
|
] }),
|
50
50
|
" "
|
@@ -53,47 +53,47 @@ function ue({ details: k }) {
|
|
53
53
|
] })
|
54
54
|
] });
|
55
55
|
}
|
56
|
-
const
|
57
|
-
var A, R
|
56
|
+
const me = () => {
|
57
|
+
var z, A, R;
|
58
58
|
const k = c((r) => r.setRoute), a = c((r) => r.txnDetails), [m, T] = q(!1), [N, I] = q(!1), [w, d] = q(!1), [p, E] = q({}), b = c((r) => r.setPersist), u = c((r) => r.persist);
|
59
59
|
we();
|
60
|
-
const { txnupdate:
|
60
|
+
const { txnupdate: D } = be, t = _({
|
61
61
|
queryKey: ["txnDetails", a == null ? void 0 : a.routeId],
|
62
62
|
queryFn: async () => await (await Z.fetchTxnDetails(a == null ? void 0 : a.routeId)).json(),
|
63
63
|
refetchOnWindowFocus: !1
|
64
64
|
});
|
65
|
-
|
66
|
-
var r, h, x, y, S, g, v,
|
65
|
+
F(() => {
|
66
|
+
var r, h, x, y, S, g, v, j, l, U, B, M, O, K, W, $, G, L, Q, J, V;
|
67
67
|
if (t.data) {
|
68
68
|
let e = t.data;
|
69
69
|
e.status == "error";
|
70
|
-
let
|
70
|
+
let C = [];
|
71
71
|
((r = e == null ? void 0 : e.data) == null ? void 0 : r.currentStepStatus) === "success" ? (x = (h = e == null ? void 0 : e.data) == null ? void 0 : h.steps) == null || x.forEach((i) => {
|
72
|
-
|
72
|
+
C.push({ type: "preText" });
|
73
73
|
}) : ((y = e == null ? void 0 : e.data) == null ? void 0 : y.currentStepStatus) === "failed" && (d(!0), (g = (S = e == null ? void 0 : e.data) == null ? void 0 : S.steps) == null || g.forEach((i) => {
|
74
|
-
(i == null ? void 0 : i.status) === "success" ?
|
74
|
+
(i == null ? void 0 : i.status) === "success" ? C.push({ type: "preText" }) : (i == null ? void 0 : i.status) === "failed" && C.push({ type: "failed" });
|
75
75
|
})), b({
|
76
76
|
...(v = c.getState()) == null ? void 0 : v.persist,
|
77
|
-
stepData: (l = e == null ? void 0 : e.data) == null ? void 0 : l.steps[(
|
78
|
-
routeId: (
|
77
|
+
stepData: (l = e == null ? void 0 : e.data) == null ? void 0 : l.steps[(j = e == null ? void 0 : e.data) == null ? void 0 : j.currentStepIndex],
|
78
|
+
routeId: (U = e == null ? void 0 : e.data) == null ? void 0 : U.routeId,
|
79
79
|
allSteps: {
|
80
|
-
steps: (
|
81
|
-
currentStep: ((
|
80
|
+
steps: (B = e == null ? void 0 : e.data) == null ? void 0 : B.steps,
|
81
|
+
currentStep: ((M = e == null ? void 0 : e.data) == null ? void 0 : M.currentStepStatus) === "success" ? ((O = e == null ? void 0 : e.data) == null ? void 0 : O.currentStepIndex) + 1 : (K = e == null ? void 0 : e.data) == null ? void 0 : K.currentStepIndex,
|
82
82
|
type: "preText"
|
83
83
|
},
|
84
|
-
stepStatus:
|
84
|
+
stepStatus: C,
|
85
85
|
statusData: {
|
86
|
-
status: (
|
86
|
+
status: (W = e == null ? void 0 : e.data) == null ? void 0 : W.currentStepStatus
|
87
87
|
},
|
88
88
|
historyData: e == null ? void 0 : e.data,
|
89
|
-
fromCoin: (
|
90
|
-
toCoin: (
|
89
|
+
fromCoin: ($ = e == null ? void 0 : e.data) == null ? void 0 : $.from,
|
90
|
+
toCoin: (G = e == null ? void 0 : e.data) == null ? void 0 : G.to,
|
91
91
|
route: e == null ? void 0 : e.data,
|
92
92
|
isHistory: !0,
|
93
|
-
hash: ((
|
93
|
+
hash: ((L = e == null ? void 0 : e.data) == null ? void 0 : L.currentStepStatus) == "in-progress" ? (V = (J = e == null ? void 0 : e.data) == null ? void 0 : J.steps[(Q = e == null ? void 0 : e.data) == null ? void 0 : Q.currentStepIndex]) == null ? void 0 : V.srcTxnHash : null
|
94
94
|
});
|
95
95
|
}
|
96
|
-
}, [t.data]),
|
96
|
+
}, [t.data]), F(() => {
|
97
97
|
if (t.error) {
|
98
98
|
let r = t.error;
|
99
99
|
r.details || r.message;
|
@@ -105,10 +105,10 @@ const le = () => {
|
|
105
105
|
refetchOnWindowFocus: !1,
|
106
106
|
enabled: t.isSuccess
|
107
107
|
});
|
108
|
-
|
108
|
+
F(() => {
|
109
109
|
var r, h, x, y, S, g, v;
|
110
110
|
if (f.data) {
|
111
|
-
let
|
111
|
+
let j = f.data, l = { ...ee.keyBy(j.data, "chainId") };
|
112
112
|
E(l), b({
|
113
113
|
...(r = c.getState()) == null ? void 0 : r.persist,
|
114
114
|
fromChain: l[(y = (x = (h = t == null ? void 0 : t.data) == null ? void 0 : h.data) == null ? void 0 : x.from) == null ? void 0 : y.chainId],
|
@@ -116,44 +116,44 @@ const le = () => {
|
|
116
116
|
});
|
117
117
|
}
|
118
118
|
}, [f.data, t.data]);
|
119
|
-
function
|
119
|
+
function H() {
|
120
120
|
k("history"), b({});
|
121
121
|
}
|
122
|
-
let o = ((
|
122
|
+
let o = ((z = t == null ? void 0 : t.data) == null ? void 0 : z.data) || {};
|
123
123
|
function te(r) {
|
124
124
|
T(r);
|
125
125
|
}
|
126
126
|
function re(r) {
|
127
127
|
d(r);
|
128
128
|
}
|
129
|
-
function
|
129
|
+
function P(r) {
|
130
130
|
I(r);
|
131
131
|
}
|
132
|
-
return /* @__PURE__ */ s(se.Provider, { value: { isTxnSuccessful: m, handleTxnSuccess: te }, children: /* @__PURE__ */ s(ae.Provider, { value: { isErrorMessage: w, handleErrorMessage: re }, children: /* @__PURE__ */ s("div", { className: "bw-w-full bw-relative bw-min-h-[610px] ", children: t.isSuccess ? /* @__PURE__ */ n(
|
133
|
-
/* @__PURE__ */ s(oe, { handleBack:
|
134
|
-
/* @__PURE__ */ s("div", { className: "bw-mt-[-20px]", children: /* @__PURE__ */ s(
|
132
|
+
return /* @__PURE__ */ s(se.Provider, { value: { isTxnSuccessful: m, handleTxnSuccess: te }, children: /* @__PURE__ */ s(ae.Provider, { value: { isErrorMessage: w, handleErrorMessage: re }, children: /* @__PURE__ */ s("div", { className: "bw-w-full bw-relative bw-min-h-[610px] ", children: t.isSuccess ? /* @__PURE__ */ n(X, { children: [
|
133
|
+
/* @__PURE__ */ s(oe, { handleBack: H }),
|
134
|
+
/* @__PURE__ */ s("div", { className: "bw-mt-[-20px]", children: /* @__PURE__ */ s(le, { details: o }) }),
|
135
135
|
/* @__PURE__ */ s("div", { className: "bw-flex bw-justify-between bw-items-center" }),
|
136
136
|
/* @__PURE__ */ n("div", { className: "bw-flex bw-mt-4 bw-w-full bw-justify-between bw-items-center", children: [
|
137
137
|
/* @__PURE__ */ n("div", { className: "bw-w-[40%] md:bw-w-auto", children: [
|
138
138
|
/* @__PURE__ */ s("p", { className: "bw-text-xs bw-mb-1 bw-text-text-secondary bw-font-medium", children: "Send" }),
|
139
|
-
/* @__PURE__ */ s(Y, { amount: o.inputAmountDisplay, coinData: o.from, chainData: p[(
|
139
|
+
/* @__PURE__ */ s(Y, { amount: o.inputAmountDisplay, coinData: o.from, chainData: p[(A = o == null ? void 0 : o.from) == null ? void 0 : A.chainId] || {}, field: "from" })
|
140
140
|
] }),
|
141
|
-
w ? /* @__PURE__ */ s("div", { className: "bw-border bw-mt-5 bw-w-[65px] 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 ", children: /* @__PURE__ */ s("img", { src:
|
141
|
+
w ? /* @__PURE__ */ s("div", { className: "bw-border bw-mt-5 bw-w-[65px] 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 ", children: /* @__PURE__ */ s("img", { src: D, width: 33, height: 30, alt: "img" }) }) : /* @__PURE__ */ s(ne, { isTimerStarted: (u == null ? void 0 : u.isTimerStarted) || N, startTimer: P, error: w }),
|
142
142
|
/* @__PURE__ */ s("div", { className: "bw-w-full bw-z-0 md:bw-w-full bw-mt-5 bw-absolute bw-h-[1px] bw-bg-border-primary " }),
|
143
143
|
/* @__PURE__ */ n("div", { className: "bw-w-[40%] md:bw-w-auto", children: [
|
144
144
|
/* @__PURE__ */ s("p", { className: "bw-text-xs bw-mb-1 bw-text-text-secondary bw-font-medium", children: "Receive" }),
|
145
|
-
/* @__PURE__ */ s(Y, { amount: o.outputAmountDisplay, coinData: o.to, chainData: p[(
|
145
|
+
/* @__PURE__ */ s(Y, { amount: o.outputAmountDisplay, coinData: o.to, chainData: p[(R = o == null ? void 0 : o.to) == null ? void 0 : R.chainId] || {}, field: "to" })
|
146
146
|
] })
|
147
147
|
] }),
|
148
148
|
/* @__PURE__ */ n("div", { className: "bw-h-[320px] bw-pr-1 bw-flex bw-flex-col bw-mt-8 bw-overflow-y-auto", children: [
|
149
|
-
t.isLoading ? /* @__PURE__ */ s(
|
150
|
-
/* @__PURE__ */ s(ce, { amount: t == null ? void 0 : t.inputAmountDisplay, startTimer:
|
149
|
+
t.isLoading ? /* @__PURE__ */ s(X, {}) : /* @__PURE__ */ s(ie, {}),
|
150
|
+
/* @__PURE__ */ s(ce, { amount: t == null ? void 0 : t.inputAmountDisplay, startTimer: P, handleBack: H, isHistory: !0 })
|
151
151
|
] })
|
152
|
-
] }) : /* @__PURE__ */ s(
|
152
|
+
] }) : /* @__PURE__ */ s(ue, {}) }) }) });
|
153
153
|
};
|
154
|
-
function
|
155
|
-
return /* @__PURE__ */ s(
|
154
|
+
function Ne() {
|
155
|
+
return /* @__PURE__ */ s(me, {});
|
156
156
|
}
|
157
157
|
export {
|
158
|
-
|
158
|
+
Ne as default
|
159
159
|
};
|
@@ -1,25 +1,25 @@
|
|
1
1
|
import { jsxs as G, jsx as M, Fragment as Ne } from "react/jsx-runtime";
|
2
|
-
import { T as Lb } from "./Tooltip-
|
2
|
+
import { T as Lb } from "./Tooltip-CsLgOKrX.js";
|
3
3
|
import { R as Bb } from "./index-CDq3vNnP.js";
|
4
|
-
import { u as V1, L as Wd, H as X1, M as Y1, a as Z1, P as J1, S as Q1 } from "./hamburger-
|
5
|
-
import {
|
6
|
-
import { g as
|
4
|
+
import { u as V1, L as Wd, H as X1, M as Y1, a as Z1, P as J1, S as Q1 } from "./hamburger-CZPNB-Jp.js";
|
5
|
+
import { r as Fb, a as ex, b as tx, B as rx, i as jf, u as Ub, C as nx, c as vo, f as ax, d as ix } from "./useRegisterError-Cs0PKbRQ.js";
|
6
|
+
import { g as jt, b as tt, _ as It, d as oe, s as mt, e as Z, f as ot, h as $t, r as If, p as ge, P as A, i as Wt, j as it, u as Pr, a as Oi, c as _i, k as fa, m as de, l as $f } from "./index-C6pDnqRd.js";
|
7
7
|
import * as Oe from "react";
|
8
8
|
import E, { useState as ke, useEffect as ze, isValidElement as ut, Children as ir, PureComponent as Rt, forwardRef as Wb, useRef as Ca, useImperativeHandle as ox, useCallback as ux, useMemo as Bt, cloneElement as Ae, createElement as Hb, useContext as Si, createContext as pr, Component as sx } from "react";
|
9
|
-
import { S as cx } from "./index-
|
9
|
+
import { S as cx } from "./index-HOk_h4cO.js";
|
10
10
|
import { useAccount as Cr } from "wagmi";
|
11
11
|
import { useDynamicContext as Ai, useIsLoggedIn as Pi } from "@dynamic-labs/sdk-react-core";
|
12
12
|
import { useQuery as Ti } from "@tanstack/react-query";
|
13
|
-
import { D as zb, S as lx } from "./down-
|
13
|
+
import { D as zb, S as lx } from "./down-DmSxEW66.js";
|
14
14
|
import { useAccount as Rf } from "graz";
|
15
|
-
import { B as Gb } from "./getChainIds-
|
15
|
+
import { B as Gb } from "./getChainIds-cRV7v4Vu.js";
|
16
16
|
import { t as fr } from "./truncate-D9t92mVX.js";
|
17
17
|
import { S as Hd, a as zd } from "./sortDown-CjBaDQTU.js";
|
18
|
-
import { O as Gd } from "./index-
|
19
|
-
import { u as fx } from "./Grow-
|
20
|
-
import { c as Nf } from "./index-
|
18
|
+
import { O as Gd } from "./index-BRrWKwgI.js";
|
19
|
+
import { u as fx } from "./Grow-CCS_DglL.js";
|
20
|
+
import { c as Nf } from "./index-D7-VO30b.js";
|
21
21
|
function dx(e) {
|
22
|
-
return
|
22
|
+
return jt("PrivateSwitchBase", e);
|
23
23
|
}
|
24
24
|
tt("PrivateSwitchBase", ["root", "checked", "disabled", "input", "edgeStart", "edgeEnd"]);
|
25
25
|
const px = ["autoFocus", "checked", "checkedIcon", "className", "defaultChecked", "disabled", "disableFocusRipple", "edge", "icon", "id", "inputProps", "inputRef", "name", "onBlur", "onChange", "onFocus", "readOnly", "required", "tabIndex", "type", "value"], hx = (e) => {
|
@@ -32,7 +32,7 @@ const px = ["autoFocus", "checked", "checkedIcon", "className", "defaultChecked"
|
|
32
32
|
root: ["root", r && "checked", n && "disabled", a && `edge${ot(a)}`],
|
33
33
|
input: ["input"]
|
34
34
|
};
|
35
|
-
return
|
35
|
+
return $t(i, dx, t);
|
36
36
|
}, vx = mt(Gb)(({
|
37
37
|
ownerState: e
|
38
38
|
}) => oe({
|
@@ -43,7 +43,7 @@ const px = ["autoFocus", "checked", "checkedIcon", "className", "defaultChecked"
|
|
43
43
|
}, e.edge === "end" && {
|
44
44
|
marginRight: e.size === "small" ? -3 : -12
|
45
45
|
})), yx = mt("input", {
|
46
|
-
shouldForwardProp:
|
46
|
+
shouldForwardProp: If
|
47
47
|
})({
|
48
48
|
cursor: "inherit",
|
49
49
|
position: "absolute",
|
@@ -78,7 +78,7 @@ const px = ["autoFocus", "checked", "checkedIcon", "className", "defaultChecked"
|
|
78
78
|
tabIndex: m,
|
79
79
|
type: b,
|
80
80
|
value: O
|
81
|
-
} = t, S =
|
81
|
+
} = t, S = It(t, px), [P, I] = fx({
|
82
82
|
controlled: a,
|
83
83
|
default: !!u,
|
84
84
|
name: "SwitchBase",
|
@@ -245,7 +245,7 @@ const mx = Nf(/* @__PURE__ */ M("path", {
|
|
245
245
|
d: "M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"
|
246
246
|
}), "IndeterminateCheckBox");
|
247
247
|
function wx(e) {
|
248
|
-
return
|
248
|
+
return jt("MuiCheckbox", e);
|
249
249
|
}
|
250
250
|
const yo = tt("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "colorPrimary", "colorSecondary", "sizeSmall", "sizeMedium"]), xx = ["checkedIcon", "color", "icon", "indeterminate", "indeterminateIcon", "inputProps", "size", "className"], Ox = (e) => {
|
251
251
|
const {
|
@@ -255,10 +255,10 @@ const yo = tt("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "c
|
|
255
255
|
size: a
|
256
256
|
} = e, i = {
|
257
257
|
root: ["root", r && "indeterminate", `color${ot(n)}`, `size${ot(a)}`]
|
258
|
-
}, o =
|
258
|
+
}, o = $t(i, wx, t);
|
259
259
|
return oe({}, t, o);
|
260
260
|
}, _x = mt(Kb, {
|
261
|
-
shouldForwardProp: (e) =>
|
261
|
+
shouldForwardProp: (e) => If(e) || e === "classes",
|
262
262
|
name: "MuiCheckbox",
|
263
263
|
slot: "Root",
|
264
264
|
overridesResolver: (e, t) => {
|
@@ -301,7 +301,7 @@ const yo = tt("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "c
|
|
301
301
|
inputProps: l,
|
302
302
|
size: d = "medium",
|
303
303
|
className: h
|
304
|
-
} = i, y =
|
304
|
+
} = i, y = It(i, xx), v = c ? f : s, p = c ? f : o, g = oe({}, i, {
|
305
305
|
color: u,
|
306
306
|
indeterminate: c,
|
307
307
|
size: d
|
@@ -427,7 +427,7 @@ ge.env.NODE_ENV !== "production" && (Vb.propTypes = {
|
|
427
427
|
});
|
428
428
|
const Kd = tt("MuiDivider", ["root", "absolute", "fullWidth", "inset", "middle", "flexItem", "light", "vertical", "withChildren", "withChildrenVertical", "textAlignRight", "textAlignLeft", "wrapper", "wrapperVertical"]), Vd = tt("MuiListItemIcon", ["root", "alignItemsFlexStart"]), Xd = tt("MuiListItemText", ["root", "multiline", "dense", "inset", "primary", "secondary"]);
|
429
429
|
function Tx(e) {
|
430
|
-
return
|
430
|
+
return jt("MuiMenuItem", e);
|
431
431
|
}
|
432
432
|
const nn = tt("MuiMenuItem", ["root", "focusVisible", "dense", "disabled", "divider", "gutters", "selected"]), Ex = ["autoFocus", "component", "dense", "divider", "disableGutters", "focusVisibleClassName", "role", "tabIndex", "className"], Cx = (e, t) => {
|
433
433
|
const {
|
@@ -442,12 +442,12 @@ const nn = tt("MuiMenuItem", ["root", "focusVisible", "dense", "disabled", "divi
|
|
442
442
|
disableGutters: a,
|
443
443
|
selected: i,
|
444
444
|
classes: o
|
445
|
-
} = e, s =
|
445
|
+
} = e, s = $t({
|
446
446
|
root: ["root", r && "dense", t && "disabled", !a && "gutters", n && "divider", i && "selected"]
|
447
447
|
}, Tx, o);
|
448
448
|
return oe({}, o, s);
|
449
449
|
}, jx = mt(Gb, {
|
450
|
-
shouldForwardProp: (e) =>
|
450
|
+
shouldForwardProp: (e) => If(e) || e === "classes",
|
451
451
|
name: "MuiMenuItem",
|
452
452
|
slot: "Root",
|
453
453
|
overridesResolver: Cx
|
@@ -543,7 +543,7 @@ const nn = tt("MuiMenuItem", ["root", "focusVisible", "dense", "disabled", "divi
|
|
543
543
|
role: f = "menuitem",
|
544
544
|
tabIndex: l,
|
545
545
|
className: d
|
546
|
-
} = n, h =
|
546
|
+
} = n, h = It(n, Ex), y = Oe.useContext(Wd), v = Oe.useMemo(() => ({
|
547
547
|
dense: o || y.dense || !1,
|
548
548
|
disableGutters: s
|
549
549
|
}), [y.dense, o, s]), p = Oe.useRef(null);
|
@@ -649,7 +649,7 @@ ge.env.NODE_ENV !== "production" && (kf.propTypes = {
|
|
649
649
|
const Df = /* @__PURE__ */ Oe.createContext();
|
650
650
|
ge.env.NODE_ENV !== "production" && (Df.displayName = "TableContext");
|
651
651
|
function Ix(e) {
|
652
|
-
return
|
652
|
+
return jt("MuiTable", e);
|
653
653
|
}
|
654
654
|
tt("MuiTable", ["root", "stickyHeader"]);
|
655
655
|
const $x = ["className", "component", "padding", "size", "stickyHeader"], Rx = (e) => {
|
@@ -657,7 +657,7 @@ const $x = ["className", "component", "padding", "size", "stickyHeader"], Rx = (
|
|
657
657
|
classes: t,
|
658
658
|
stickyHeader: r
|
659
659
|
} = e;
|
660
|
-
return
|
660
|
+
return $t({
|
661
661
|
root: ["root", r && "stickyHeader"]
|
662
662
|
}, Ix, t);
|
663
663
|
}, Nx = mt("table", {
|
@@ -695,7 +695,7 @@ const $x = ["className", "component", "padding", "size", "stickyHeader"], Rx = (
|
|
695
695
|
padding: o = "normal",
|
696
696
|
size: u = "medium",
|
697
697
|
stickyHeader: s = !1
|
698
|
-
} = n, c =
|
698
|
+
} = n, c = It(n, $x), f = oe({}, n, {
|
699
699
|
component: i,
|
700
700
|
padding: o,
|
701
701
|
size: u,
|
@@ -763,14 +763,14 @@ ge.env.NODE_ENV !== "production" && (Xb.propTypes = {
|
|
763
763
|
const ta = /* @__PURE__ */ Oe.createContext();
|
764
764
|
ge.env.NODE_ENV !== "production" && (ta.displayName = "Tablelvl2Context");
|
765
765
|
function kx(e) {
|
766
|
-
return
|
766
|
+
return jt("MuiTableBody", e);
|
767
767
|
}
|
768
768
|
tt("MuiTableBody", ["root"]);
|
769
769
|
const Dx = ["className", "component"], qx = (e) => {
|
770
770
|
const {
|
771
771
|
classes: t
|
772
772
|
} = e;
|
773
|
-
return
|
773
|
+
return $t({
|
774
774
|
root: ["root"]
|
775
775
|
}, kx, t);
|
776
776
|
}, Lx = mt("tbody", {
|
@@ -788,7 +788,7 @@ const Dx = ["className", "component"], qx = (e) => {
|
|
788
788
|
}), {
|
789
789
|
className: a,
|
790
790
|
component: i = Zd
|
791
|
-
} = n, o =
|
791
|
+
} = n, o = It(n, Dx), u = oe({}, n, {
|
792
792
|
component: i
|
793
793
|
}), s = qx(u);
|
794
794
|
return /* @__PURE__ */ M(ta.Provider, {
|
@@ -830,7 +830,7 @@ ge.env.NODE_ENV !== "production" && (Yb.propTypes = {
|
|
830
830
|
sx: A.oneOfType([A.arrayOf(A.oneOfType([A.func, A.object, A.bool])), A.func, A.object])
|
831
831
|
});
|
832
832
|
function Fx(e) {
|
833
|
-
return
|
833
|
+
return jt("MuiTableCell", e);
|
834
834
|
}
|
835
835
|
const Ux = tt("MuiTableCell", ["root", "head", "body", "footer", "sizeSmall", "sizeMedium", "paddingCheckbox", "paddingNone", "alignLeft", "alignCenter", "alignRight", "alignJustify", "stickyHeader"]), Wx = ["align", "className", "component", "padding", "scope", "size", "sortDirection", "variant"], Hx = (e) => {
|
836
836
|
const {
|
@@ -843,7 +843,7 @@ const Ux = tt("MuiTableCell", ["root", "head", "body", "footer", "sizeSmall", "s
|
|
843
843
|
} = e, u = {
|
844
844
|
root: ["root", r, o && "stickyHeader", n !== "inherit" && `align${ot(n)}`, a !== "normal" && `padding${ot(a)}`, `size${ot(i)}`]
|
845
845
|
};
|
846
|
-
return
|
846
|
+
return $t(u, Fx, t);
|
847
847
|
}, zx = mt("td", {
|
848
848
|
name: "MuiTableCell",
|
849
849
|
slot: "Root",
|
@@ -918,7 +918,7 @@ const Ux = tt("MuiTableCell", ["root", "head", "body", "footer", "sizeSmall", "s
|
|
918
918
|
size: c,
|
919
919
|
sortDirection: f,
|
920
920
|
variant: l
|
921
|
-
} = n, d =
|
921
|
+
} = n, d = It(n, Wx), h = Oe.useContext(Df), y = Oe.useContext(ta), v = y && y.variant === "head";
|
922
922
|
let p;
|
923
923
|
o ? p = o : p = v ? "th" : "td";
|
924
924
|
let g = s;
|
@@ -1001,14 +1001,14 @@ ge.env.NODE_ENV !== "production" && (or.propTypes = {
|
|
1001
1001
|
variant: A.oneOfType([A.oneOf(["body", "footer", "head"]), A.string])
|
1002
1002
|
});
|
1003
1003
|
function Gx(e) {
|
1004
|
-
return
|
1004
|
+
return jt("MuiTableContainer", e);
|
1005
1005
|
}
|
1006
1006
|
tt("MuiTableContainer", ["root"]);
|
1007
1007
|
const Kx = ["className", "component"], Vx = (e) => {
|
1008
1008
|
const {
|
1009
1009
|
classes: t
|
1010
1010
|
} = e;
|
1011
|
-
return
|
1011
|
+
return $t({
|
1012
1012
|
root: ["root"]
|
1013
1013
|
}, Gx, t);
|
1014
1014
|
}, Xx = mt("div", {
|
@@ -1025,7 +1025,7 @@ const Kx = ["className", "component"], Vx = (e) => {
|
|
1025
1025
|
}), {
|
1026
1026
|
className: a,
|
1027
1027
|
component: i = "div"
|
1028
|
-
} = n, o =
|
1028
|
+
} = n, o = It(n, Kx), u = oe({}, n, {
|
1029
1029
|
component: i
|
1030
1030
|
}), s = Vx(u);
|
1031
1031
|
return /* @__PURE__ */ M(Xx, oe({
|
@@ -1063,14 +1063,14 @@ ge.env.NODE_ENV !== "production" && (Zb.propTypes = {
|
|
1063
1063
|
sx: A.oneOfType([A.arrayOf(A.oneOfType([A.func, A.object, A.bool])), A.func, A.object])
|
1064
1064
|
});
|
1065
1065
|
function Yx(e) {
|
1066
|
-
return
|
1066
|
+
return jt("MuiTableHead", e);
|
1067
1067
|
}
|
1068
1068
|
tt("MuiTableHead", ["root"]);
|
1069
1069
|
const Zx = ["className", "component"], Jx = (e) => {
|
1070
1070
|
const {
|
1071
1071
|
classes: t
|
1072
1072
|
} = e;
|
1073
|
-
return
|
1073
|
+
return $t({
|
1074
1074
|
root: ["root"]
|
1075
1075
|
}, Yx, t);
|
1076
1076
|
}, Qx = mt("thead", {
|
@@ -1088,7 +1088,7 @@ const Zx = ["className", "component"], Jx = (e) => {
|
|
1088
1088
|
}), {
|
1089
1089
|
className: a,
|
1090
1090
|
component: i = Jd
|
1091
|
-
} = n, o =
|
1091
|
+
} = n, o = It(n, Zx), u = oe({}, n, {
|
1092
1092
|
component: i
|
1093
1093
|
}), s = Jx(u);
|
1094
1094
|
return /* @__PURE__ */ M(ta.Provider, {
|
@@ -1130,7 +1130,7 @@ ge.env.NODE_ENV !== "production" && (Jb.propTypes = {
|
|
1130
1130
|
sx: A.oneOfType([A.arrayOf(A.oneOfType([A.func, A.object, A.bool])), A.func, A.object])
|
1131
1131
|
});
|
1132
1132
|
function tO(e) {
|
1133
|
-
return
|
1133
|
+
return jt("MuiTableRow", e);
|
1134
1134
|
}
|
1135
1135
|
const Qd = tt("MuiTableRow", ["root", "selected", "hover", "head", "footer"]), rO = ["className", "component", "hover", "selected"], nO = (e) => {
|
1136
1136
|
const {
|
@@ -1140,7 +1140,7 @@ const Qd = tt("MuiTableRow", ["root", "selected", "hover", "head", "footer"]), r
|
|
1140
1140
|
head: a,
|
1141
1141
|
footer: i
|
1142
1142
|
} = e;
|
1143
|
-
return
|
1143
|
+
return $t({
|
1144
1144
|
root: ["root", r && "selected", n && "hover", a && "head", i && "footer"]
|
1145
1145
|
}, tO, t);
|
1146
1146
|
}, aO = mt("tr", {
|
@@ -1178,7 +1178,7 @@ const Qd = tt("MuiTableRow", ["root", "selected", "hover", "head", "footer"]), r
|
|
1178
1178
|
component: i = ep,
|
1179
1179
|
hover: o = !1,
|
1180
1180
|
selected: u = !1
|
1181
|
-
} = n, s =
|
1181
|
+
} = n, s = It(n, rO), c = Oe.useContext(ta), f = oe({}, n, {
|
1182
1182
|
component: i,
|
1183
1183
|
hover: o,
|
1184
1184
|
selected: u,
|
@@ -1347,7 +1347,7 @@ function Qb({ wallet: e }) {
|
|
1347
1347
|
] });
|
1348
1348
|
}
|
1349
1349
|
function fO() {
|
1350
|
-
const { barchartdisconnect: e } =
|
1350
|
+
const { barchartdisconnect: e } = jf, t = Ti({
|
1351
1351
|
queryKey: ["chainsportfolio"],
|
1352
1352
|
queryFn: async function() {
|
1353
1353
|
return await (await _i.fetchChain()).json();
|
@@ -1387,7 +1387,7 @@ function hl() {
|
|
1387
1387
|
backpacksol: s,
|
1388
1388
|
tronLink: c,
|
1389
1389
|
keplr: f
|
1390
|
-
} =
|
1390
|
+
} = jf;
|
1391
1391
|
return {
|
1392
1392
|
injected: e,
|
1393
1393
|
metamask: t,
|
@@ -18287,7 +18287,7 @@ function _D({ name: e, children: t }) {
|
|
18287
18287
|
}
|
18288
18288
|
function SD({ row: e, chainData: t }) {
|
18289
18289
|
var o, u, s, c, f, l, d, h, y, v, p, g, w, x, _, m, b, O, S;
|
18290
|
-
const { defaultCoin: r } =
|
18290
|
+
const { defaultCoin: r } = jf, n = Pr((P) => P.setRoute), a = Pr((P) => P.setFromChain), i = Pr((P) => P.setFromCoin);
|
18291
18291
|
return /* @__PURE__ */ G(
|
18292
18292
|
qf,
|
18293
18293
|
{
|