@blockend/widget 1.0.60-beta.1 → 1.0.61
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-B-tqwmhZ.js → AllRoutes-BqW5S4_J.js} +9 -9
- package/dist/AllRoutes-CIe7ZLbW.js +2209 -0
- package/dist/{Box-B9dKcT71.js → Box-Dw7IJo3D.js} +14 -14
- package/dist/Box-QpYIDD-V.js +54 -0
- package/dist/EstGas-C_ldluj6.js +1576 -0
- package/dist/EstGas-Dpwt2-50.js +1574 -0
- package/dist/{Grow-DGNIagcL.js → Grow-DjneaPQY.js} +28 -28
- package/dist/Grow-L7kyPhbh.js +1656 -0
- package/dist/{InputComp-C0BYsYO2.js → InputComp-CWH4SAk7.js} +3 -3
- package/dist/InputComp-Dl4M7E5v.js +105 -0
- package/dist/{LoadRoute-BejmZs2l.js → LoadRoute-Cafzlcfy.js} +4 -4
- package/dist/LoadRoute-cBSl34Bs.js +125 -0
- package/dist/{QuotesProgress-DUtmb0H1.js → QuotesProgress-Covy7wmW.js} +1 -1
- package/dist/QuotesProgress-CxJUoCPy.js +28 -0
- package/dist/{SwapAsset-C6q38SfB.js → SwapAsset-BqXVX_DR.js} +1 -1
- package/dist/SwapAsset-CkRat7Ok.js +51 -0
- package/dist/Tooltip-3YpYU_vO.js +572 -0
- package/dist/{Tooltip-B9eQU87E.js → Tooltip-D2kKNQ0U.js} +3 -3
- package/dist/TxnButton-CPMFPFA_.js +222 -0
- package/dist/{TxnButton-B7erQoe9.js → TxnButton-mfwy-EoQ.js} +5 -6
- package/dist/{add-BDXnG29B.js → add-CRY8asYF.js} +1 -1
- package/dist/add-Dfrw-dUV.js +19 -0
- package/dist/{all-wallets-A5aRDDSX.js → all-wallets-DOnIRIv0.js} +1 -1
- package/dist/all-wallets-Dw10lWJZ.js +10 -0
- package/dist/{app-store-CRNlWthG.js → app-store-C0M9hC1B.js} +1 -1
- package/dist/app-store-DJiZFSCr.js +21 -0
- package/dist/{apple-Bk9AlpJi.js → apple-Bv7oA5AQ.js} +1 -1
- package/dist/apple-kMZGS4AC.js +22 -0
- package/dist/{arrow-bottom-Wyw-Sjsd.js → arrow-bottom-D4arnome.js} +1 -1
- package/dist/arrow-bottom-DgmWrLqf.js +12 -0
- package/dist/{arrow-bottom-circle-F5a-Pm5A.js → arrow-bottom-circle-BUny4yP8.js} +1 -1
- package/dist/arrow-bottom-circle-C7iPKwzW.js +15 -0
- package/dist/{arrow-left-xa8Yhbw7.js → arrow-left-DImJbKZs.js} +1 -1
- package/dist/arrow-left-Dol642VI.js +12 -0
- package/dist/{arrow-right-DHehfJb9.js → arrow-right-BvRPNX9F.js} +1 -1
- package/dist/arrow-right-CMwyPVT7.js +12 -0
- package/dist/{arrow-top-Zr4NTjGQ.js → arrow-top-1RWPJImu.js} +1 -1
- package/dist/arrow-top-kn9xtx92.js +12 -0
- package/dist/{bank-hQuILOEh.js → bank-C0t9JpLj.js} +1 -1
- package/dist/bank-DK-FvDfd.js +18 -0
- package/dist/{basic-DtnxLRWd.js → basic-Sejv2JvX.js} +3 -3
- package/dist/basic-VfgwBHn1.js +5783 -0
- package/dist/{browser-DdzWWRtF.js → browser-0d0uw45D.js} +1 -1
- package/dist/browser-BzT1ACe9.js +18 -0
- package/dist/{card-CgYBeEF3.js → card-BBByykfy.js} +1 -1
- package/dist/card-DqDM55a-.js +18 -0
- package/dist/{ccip-fwzPvAXp.js → ccip-8__szz9Q.js} +1 -1
- package/dist/ccip-BPZSey8I.js +228 -0
- package/dist/{checkmark-CRSJVI7P.js → checkmark-B_osdsm_.js} +1 -1
- package/dist/checkmark-DEKH6rOS.js +15 -0
- package/dist/{checkmark-bold-Chu-2qTS.js → checkmark-bold-BEzepFY4.js} +1 -1
- package/dist/checkmark-bold-Dzv2hN2Q.js +12 -0
- package/dist/{chevron-bottom-CWuEnub2.js → chevron-bottom-Bdaxlaxc.js} +1 -1
- package/dist/chevron-bottom-CXdHWe0F.js +12 -0
- package/dist/{chevron-left-h2_syVI8.js → chevron-left-2aCeqxdm.js} +1 -1
- package/dist/chevron-left-CeuFz3M9.js +12 -0
- package/dist/{chevron-right-Ct4j2Leu.js → chevron-right-BPgQeMPz.js} +1 -1
- package/dist/chevron-right-DikqbHjp.js +12 -0
- package/dist/{chevron-top-DcBzaR2h.js → chevron-top-BskFpgMP.js} +1 -1
- package/dist/chevron-top-CjCScawp.js +12 -0
- package/dist/{chrome-store-CXn4JMj-.js → chrome-store-CxhEG2Jk.js} +1 -1
- package/dist/chrome-store-DaP5Y4w2.js +65 -0
- package/dist/{clock-JZPADmeK.js → clock-BDgHn083.js} +1 -1
- package/dist/clock-BzjZWK68.js +12 -0
- package/dist/{close-DtXi8BhO.js → close-CQTa1LZg.js} +1 -1
- package/dist/close-Dqncm2nY.js +12 -0
- package/dist/{coinPlaceholder-BK6alFNE.js → coinPlaceholder-B-NSV729.js} +1 -1
- package/dist/coinPlaceholder-BExfa33b.js +12 -0
- package/dist/{compass-DWhtsJev.js → compass-BdJmk2w2.js} +1 -1
- package/dist/compass-C1H_fht-.js +12 -0
- package/dist/{copy-D-MDSgUX.js → copy-Cg4vgr82.js} +1 -1
- package/dist/copy-DPMVX3yZ.js +19 -0
- package/dist/{core-BwKgmZsH.js → core-BSwMFU2B.js} +6124 -4570
- package/dist/core-BYOwnw_B.js +16521 -0
- package/dist/{cursor-Dh3mFu9G.js → cursor-BoD_rq0f.js} +1 -1
- package/dist/{cursor-transparent-NB0LxFUO.js → cursor-transparent-Dqs1kXcb.js} +1 -1
- package/dist/cursor-transparent-IQlZspwQ.js +16 -0
- package/dist/cursor-ybJpiPr6.js +7 -0
- package/dist/{desktop-BgF9XEMs.js → desktop-BOxkTik1.js} +1 -1
- package/dist/desktop-WMYv3b4Q.js +13 -0
- package/dist/{disconnect-Dq0GPLgW.js → disconnect-CTxFyZWa.js} +1 -1
- package/dist/disconnect-eMeec26w.js +12 -0
- package/dist/{discord-Dx0EuHuU.js → discord-BJRxIhBt.js} +1 -1
- package/dist/discord-CpTo4KnZ.js +21 -0
- package/dist/{down-D_76LJ5o.js → down-372J_rRV.js} +2 -2
- package/dist/down-hvB7J3FG.js +622 -0
- package/dist/{etherscan-CNIjXg_f.js → etherscan-CyQf5MH5.js} +1 -1
- package/dist/etherscan-DQ1h54d3.js +10 -0
- package/dist/{exclamation-triangle-Bhp8mAG7.js → exclamation-triangle-DFOXjtuI.js} +1 -1
- package/dist/exclamation-triangle-DzKs0-30.js +8 -0
- package/dist/{extension-BKqqIj7b.js → extension-XiWSr1Ku.js} +1 -1
- package/dist/extension-ep1TEUSD.js +12 -0
- package/dist/{external-link-DbGPs34E.js → external-link-CYjbHRDY.js} +1 -1
- package/dist/external-link-DRzzevt_.js +12 -0
- package/dist/{facebook-DRG1zLmw.js → facebook-DhP37m2R.js} +1 -1
- package/dist/facebook-eXS31CP5.js +30 -0
- package/dist/{farcaster-DDWwjMH9.js → farcaster-C1J2oGt2.js} +1 -1
- package/dist/farcaster-f0EPKy4w.js +16 -0
- package/dist/{filters-Bj10QvW6.js → filters-C5jLy9GP.js} +1 -1
- package/dist/filters-RqawLZYy.js +12 -0
- package/dist/{getChainIds-eeGoWwbI.js → getChainIds-AaKb_MmO.js} +2 -2
- package/dist/getChainIds-DXEtLb1g.js +1888 -0
- package/dist/{getCosmosAddress-DlgoXFw9.js → getCosmosAddress-D-F7jz-d.js} +1876 -1925
- package/dist/getCosmosAddress-X_cfoAnv.js +9517 -0
- package/dist/{github-ZPlB-Utk.js → github-CJ8g1by7.js} +1 -1
- package/dist/github-d1vUfc1B.js +22 -0
- package/dist/{google-CCKsdggZ.js → google-DpIVCnNm.js} +1 -1
- package/dist/google-Dtcfyt4F.js +22 -0
- package/dist/{hamburger-DPe9Xfjf.js → hamburger-BylLGawu.js} +5 -5
- package/dist/hamburger-DezZOKRv.js +3915 -0
- package/dist/{help-circle-IpogiYkd.js → help-circle-BESCFGIa.js} +1 -1
- package/dist/help-circle-BTpSg7wr.js +16 -0
- package/dist/{id--1TM5fr0.js → id-CPX0IEMo.js} +1 -1
- package/dist/id-CV-pIIiZ.js +16 -0
- package/dist/{image-DUfvu2wM.js → image-DrFHyQOS.js} +1 -1
- package/dist/image-n7ODnWNp.js +8 -0
- package/dist/{index-DThyqr43.js → index-BDezoD7C.js} +1 -1
- package/dist/{index-BEzLzd5e.js → index-BOd8pd8c.js} +11 -11
- package/dist/index-BYmiFoJh.js +29495 -0
- package/dist/{index-BqAYNgz8.js → index-BheqnLKf.js} +78 -78
- package/dist/{index-CIxU6QQf.js → index-C7McnY5R.js} +2604 -2625
- package/dist/{index-C5XuDvkl.js → index-CI-V1HdQ.js} +587 -578
- package/dist/index-CSgWo9Cg.js +6713 -0
- package/dist/index-CViW2kjE.js +13547 -0
- package/dist/index-CoV9zQx1.js +992 -0
- package/dist/{index-BAuHi89Z.js → index-D0J1OD73.js} +3104 -3031
- package/dist/index-DO14DPs3.js +6713 -0
- package/dist/{index-BThpYFL-.js → index-D_8iklL2.js} +351 -372
- package/dist/{index-Bb3Owdat.js → index-DhZwdjPQ.js} +2 -2
- package/dist/index-DjHDqI7m.js +206 -0
- package/dist/{index-HXseE2Nv.js → index-DoNokw4Q.js} +1 -1
- package/dist/index-GlSAE8hE.js +472 -0
- package/dist/index-H7ThVJwV.js +3267 -0
- package/dist/index-Pni0gIii.js +206 -0
- package/dist/index-TEYMoNwP.js +9 -0
- package/dist/index-VS3sEqmI.js +330 -0
- package/dist/index-ePnYqYhf.js +1483 -0
- package/dist/index-eatshJSd.js +18509 -0
- package/dist/{index.es-D28h__ZD.js → index.es-B95K0DgG.js} +1 -1
- package/dist/index.es-BzyBckd_.js +366 -0
- package/dist/index.es-CMvE7ghR.js +14904 -0
- package/dist/index.es-gTtSa0r5.js +14904 -0
- package/dist/index.es.js +1 -1
- package/dist/{info-CRK9yM3q.js → info-DB9XS3BU.js} +1 -1
- package/dist/info-DWZmKXfC.js +7 -0
- package/dist/{info-circle-DroAdDav.js → info-circle-BVB8s9W_.js} +1 -1
- package/dist/info-circle-Bk9rpQzz.js +16 -0
- package/dist/{lightbulb-DGwzaoxs.js → lightbulb-C0eiLvuS.js} +1 -1
- package/dist/lightbulb-CUDopurR.js +7 -0
- package/dist/{mail-BQSCf__h.js → mail-CYcc9yZZ.js} +1 -1
- package/dist/mail-Df9wlUBz.js +12 -0
- package/dist/{mobile-4chCtN_4.js → mobile-Cvm9Skqq.js} +1 -1
- package/dist/mobile-DcoUJktC.js +13 -0
- package/dist/{more-uiMKzNjJ.js → more-B-UvO1Yo.js} +1 -1
- package/dist/more-DbsAB7Xx.js +15 -0
- package/dist/{network-placeholder-CVOcWHRh.js → network-placeholder-C8QNcwPf.js} +1 -1
- package/dist/network-placeholder-CnHZLxGT.js +18 -0
- package/dist/{nftPlaceholder-CakfkypA.js → nftPlaceholder-C_LU9tT5.js} +1 -1
- package/dist/nftPlaceholder-D7igGAAq.js +12 -0
- package/dist/{off-CoYWNQqe.js → off-BEQbMYBZ.js} +1 -1
- package/dist/off-Brms9nN7.js +12 -0
- package/dist/{play-store-q5l7DaBe.js → play-store-CEopCauM.js} +1 -1
- package/dist/play-store-z4z-boXn.js +36 -0
- package/dist/{plus-CR0bo3Ss.js → plus-CtEYHV2t.js} +1 -1
- package/dist/plus-LkrIZJEQ.js +17 -0
- package/dist/{qr-code-FNoqG2yJ.js → qr-code-BhmZxeo_.js} +1 -1
- package/dist/qr-code-CZnYaNoE.js +10 -0
- package/dist/{recycle-horizontal-BsU3dW8b.js → recycle-horizontal-CF9eqICi.js} +1 -1
- package/dist/recycle-horizontal-CeGotUdv.js +13 -0
- package/dist/{refresh-DyJzaQLK.js → refresh-Bm3plkBE.js} +1 -1
- package/dist/refresh-CKhWU1dQ.js +12 -0
- package/dist/{reown-logo-BFbpXVCB.js → reown-logo-8S9ZN_-T.js} +1 -1
- package/dist/reown-logo-CF2Qkyw1.js +16 -0
- package/dist/{search-CoIHCx8n.js → search-DNcA47oY.js} +1 -1
- package/dist/search-DyuAYb_-.js +12 -0
- package/dist/{send-CT0RLtYP.js → send-B0S9gHH6.js} +1 -1
- package/dist/send-BbBOjlsM.js +19 -0
- package/dist/{swapHorizontal-2UEy_VbL.js → swapHorizontal-BuTPPB8N.js} +1 -1
- package/dist/swapHorizontal-DA7yhPfV.js +12 -0
- package/dist/{swapHorizontalBold-BwLgMdQd.js → swapHorizontalBold-BnB-fpce.js} +1 -1
- package/dist/swapHorizontalBold-BujZxwgY.js +12 -0
- package/dist/{swapHorizontalMedium-Wwd3Subk.js → swapHorizontalMedium-9QnwwjJD.js} +1 -1
- package/dist/swapHorizontalMedium-hEBn_MJv.js +20 -0
- package/dist/{swapHorizontalRoundedBold-CbSALTi8.js → swapHorizontalRoundedBold-C83mxp3u.js} +1 -1
- package/dist/swapHorizontalRoundedBold-Cqg1Na-5.js +12 -0
- package/dist/{swapVertical-B5GizA1j.js → swapVertical-BAz7hmKO.js} +1 -1
- package/dist/swapVertical-D1CdGHJt.js +12 -0
- package/dist/{telegram-BtJEmiFh.js → telegram-BMT9bLfw.js} +1 -1
- package/dist/telegram-dDQ2sOw5.js +20 -0
- package/dist/{three-dots-Bel3OYRL.js → three-dots-DuhUrXKI.js} +1 -1
- package/dist/three-dots-ltDeu1Xu.js +9 -0
- package/dist/{twitch-iJUsxLGs.js → twitch-ClsoABSi.js} +1 -1
- package/dist/twitch-sBusnrAt.js +22 -0
- package/dist/{twitterIcon-5Bw6TNyI.js → twitterIcon-B9n98fnH.js} +1 -1
- package/dist/twitterIcon-BKMgaEZ4.js +10 -0
- package/dist/{unsupportedProp-CtBHkzVs.js → unsupportedProp-BXmR-9gT.js} +1 -1
- package/dist/unsupportedProp-P9y3_0om.js +10 -0
- package/dist/{useRegisterError-UVP98oC5.js → useRegisterError-DGMdKFc9.js} +1544 -1538
- package/dist/useRegisterError-DVG0sgLq.js +8918 -0
- package/dist/{verify-9NPblyAz.js → verify-BHTa1Niv.js} +1 -1
- package/dist/verify-DXzijLDZ.js +12 -0
- package/dist/{verify-filled-BNVhfPkW.js → verify-filled-CqobBYuI.js} +1 -1
- package/dist/verify-filled-DnKqj8X5.js +12 -0
- package/dist/{w3m-modal-BoPsPieM.js → w3m-modal-B7akV0Kp.js} +2 -2
- package/dist/w3m-modal-Cc1j8j_E.js +1471 -0
- package/dist/{wallet-DTIql0UA.js → wallet-ObJy7yZR.js} +1 -1
- package/dist/{wallet-placeholder-DXx_YU8N.js → wallet-placeholder-BxVrKpEz.js} +1 -1
- package/dist/wallet-placeholder-DEsjd5Nv.js +18 -0
- package/dist/wallet-zL6TDKIa.js +12 -0
- package/dist/{walletconnect-9eJmse3N.js → walletconnect-CYJbrPQQ.js} +1 -1
- package/dist/walletconnect-CZz6e0wy.js +36 -0
- package/dist/{warning-circle-B3zxM-8-.js → warning-circle-DOwgDOgL.js} +1 -1
- package/dist/warning-circle-DsGlg2MF.js +16 -0
- package/dist/widget.css +1 -1
- package/dist/{x-EqjvjF0s.js → x-B03u0kWD.js} +1 -1
- package/dist/x-MwPhq03Y.js +16 -0
- package/package.json +2 -1
- package/dist/EstGas-ZNdT7ZNT.js +0 -20281
- package/dist/index-Ds5cL5Tm.js +0 -160
- package/dist/index-Wj3B2hZ5.js +0 -206
- package/dist/index.es-DhjmbcLt.js +0 -13234
@@ -0,0 +1,222 @@
|
|
1
|
+
import { jsx as G } from "react/jsx-runtime";
|
2
|
+
import { useState as v, useEffect as z } from "react";
|
3
|
+
import { useDynamicContext as xe, useSwitchNetwork as Me, useIsLoggedIn as Oe } from "@dynamic-labs/sdk-react-core";
|
4
|
+
import { a as _, u as h, aA as Re, aB as pe } from "./index-D0J1OD73.js";
|
5
|
+
import { s as S } from "./WidgetForm.module-QHJ0-m5f.js";
|
6
|
+
import { useAccount as Ve, useConfig as qe, useSwitchChain as Pe, useBalance as _e } from "wagmi";
|
7
|
+
import { u as ge, d as Qe, c as He, C as ye } from "./useRegisterError-DVG0sgLq.js";
|
8
|
+
import { v as Je } from "./validError-CDlJpg_f.js";
|
9
|
+
import { u as Ke, g as Ue, p as Xe } from "./index-D_8iklL2.js";
|
10
|
+
function Ye(n) {
|
11
|
+
const { wallet: u, address: l } = _(), [N, B] = v(0);
|
12
|
+
async function x() {
|
13
|
+
const F = await window.tronWeb.trx.getBalance(l);
|
14
|
+
B(F / Math.pow(10, 6));
|
15
|
+
}
|
16
|
+
return z(() => {
|
17
|
+
l && (n == null ? void 0 : n.networkType) === "tron" && x();
|
18
|
+
}, [l, n == null ? void 0 : n.networkType]), { tronBal: N };
|
19
|
+
}
|
20
|
+
function A(n) {
|
21
|
+
if (n.key.toLowerCase() === "backpacksol")
|
22
|
+
return !0;
|
23
|
+
}
|
24
|
+
function Ze() {
|
25
|
+
const [n, u] = v(0), l = h((x) => x.fromChain), { primaryWallet: N } = xe();
|
26
|
+
async function B() {
|
27
|
+
let x = await N.getBalance();
|
28
|
+
u(Number(x) || 0);
|
29
|
+
}
|
30
|
+
return z(() => {
|
31
|
+
(l.networkType === "btc" || l.networkType === "sui") && B();
|
32
|
+
}, [l.networkType, N]), n;
|
33
|
+
}
|
34
|
+
function lt({ routesData: n, routes: u, amount: l, isAmountTyped: N, handleShowWallet: B, setConnectWalletField: x, handleConfirmClose: F, balanceSol: L, getCoinBalance: Te, handleSuccess: Q }) {
|
35
|
+
var C, ee, te, se, re, ce, ne, ie, de, ae, le, oe, we;
|
36
|
+
const w = h((s) => s.gradient), I = h((s) => s.configuration), e = h((s) => s.fromChain), i = h((s) => s.fromCoin), r = h((s) => s.toChain), b = h((s) => s.toCoin), { isConnected: j, address: H, chain: m } = Ve(), { address: J, isConnected: We } = _(), Ie = qe(), me = Me(), { getBothWalletConnection: he, getConnectWallet: Ne } = ge({
|
37
|
+
chainData: e
|
38
|
+
}), { connected: K, address: U, disconnect: De } = _(), M = h((s) => s.toDisconnect), d = h((s) => s.customWallet), { getWallet: Be } = ge({ chainData: e }), fe = Ne(e, r), [O, Ge] = v("101"), { tronBal: R } = Ye(e), { cosmosBalance: X } = Ke(), Y = Ze(), V = ((C = e.chain) == null ? void 0 : C.length) && ((ee = r.chain) == null ? void 0 : ee.length), q = ((te = i.address) == null ? void 0 : te.length) && ((se = b.address) == null ? void 0 : se.length), Se = Qe(), Z = Re(), { switchChain: ke, switchChainAsync: $e, isPending: Ee } = Pe({
|
39
|
+
chainId: Number((e == null ? void 0 : e.chainId) || "0"),
|
40
|
+
config: Ie,
|
41
|
+
throwForSwitchChainNotSupported: !0,
|
42
|
+
onError(s) {
|
43
|
+
Je(s.message) && Se({ module: "wallet-error-switch", error: s.message });
|
44
|
+
}
|
45
|
+
}), T = _e({
|
46
|
+
address: H,
|
47
|
+
token: "",
|
48
|
+
chainId: Number((e == null ? void 0 : e.chainId) || 0),
|
49
|
+
enabled: (e == null ? void 0 : e.networkType) == "evm"
|
50
|
+
}), W = He(Te || 0, 11), [o, a] = v({
|
51
|
+
text: "",
|
52
|
+
isGradient: !1,
|
53
|
+
color: "bw-bg-border-primary"
|
54
|
+
});
|
55
|
+
async function Fe() {
|
56
|
+
if ((e == null ? void 0 : e.networkType) === "evm" && Number((e == null ? void 0 : e.chainId) || "0") !== (m == null ? void 0 : m.id))
|
57
|
+
try {
|
58
|
+
await $e({ chainId: Number((e == null ? void 0 : e.chainId) || "0") });
|
59
|
+
} catch {
|
60
|
+
}
|
61
|
+
else if ((e == null ? void 0 : e.networkType) === "sol" && O !== ((e == null ? void 0 : e.chainId) == "eclipse-svm" ? "201" : "101"))
|
62
|
+
try {
|
63
|
+
let s = await me({ wallet: p, network: e.chainId == "eclipse-svm" ? "201" : "101" });
|
64
|
+
D();
|
65
|
+
} catch {
|
66
|
+
}
|
67
|
+
else (e == null ? void 0 : e.networkType) === "sui" ? (Z.emit(pe.TransactionStarted, {
|
68
|
+
...n
|
69
|
+
}), f && (Q(!1), F())) : (Z.emit(pe.TransactionStarted, {
|
70
|
+
...n
|
71
|
+
}), f && (Q(!1), F()));
|
72
|
+
}
|
73
|
+
const { primaryWallet: p } = xe(), P = Oe(), f = (e == null ? void 0 : e.networkType) === r.networkType ? !!((ce = (re = Be(e)) == null ? void 0 : re.address) != null && ce.length) : he(e == null ? void 0 : e.networkType, (d == null ? void 0 : d.length) > 30 ? "customWallet" : r == null ? void 0 : r.networkType), D = async () => {
|
74
|
+
if (p)
|
75
|
+
try {
|
76
|
+
const s = await p.getNetwork();
|
77
|
+
Ge(s);
|
78
|
+
} catch {
|
79
|
+
}
|
80
|
+
else
|
81
|
+
return;
|
82
|
+
};
|
83
|
+
z(() => {
|
84
|
+
D();
|
85
|
+
}, [p]);
|
86
|
+
function k(s, g) {
|
87
|
+
let y = s / Math.pow(10, g);
|
88
|
+
return y < 1e-6 ? y.toFixed(20) : y;
|
89
|
+
}
|
90
|
+
function Le() {
|
91
|
+
var s;
|
92
|
+
return Number(((s = T == null ? void 0 : T.data) == null ? void 0 : s.formatted) || 0);
|
93
|
+
}
|
94
|
+
function je(s) {
|
95
|
+
var g;
|
96
|
+
return Number(((g = X[Xe(s.address)]) == null ? void 0 : g.amount) || 0) / Math.pow(10, s.decimals);
|
97
|
+
}
|
98
|
+
function Ae() {
|
99
|
+
var E;
|
100
|
+
let s = {};
|
101
|
+
async function g(t, c) {
|
102
|
+
let $ = Object.keys(s);
|
103
|
+
s[t == null ? void 0 : t.chainId] ? (s[t == null ? void 0 : t.chainId].amountInToken += c.amountInToken, s[t == null ? void 0 : t.chainId].gas += k(c.amountInToken, t == null ? void 0 : t.decimals)) : s[t == null ? void 0 : t.chainId] = {
|
104
|
+
amountInToken: c.amountInToken,
|
105
|
+
gas: k(c.amountInToken, t == null ? void 0 : t.decimals),
|
106
|
+
token: t,
|
107
|
+
nativeBal: (d == null ? void 0 : d.length) > 30 && !M && (t == null ? void 0 : t.chainId) == (r == null ? void 0 : r.chainId) && (r == null ? void 0 : r.chainId) !== (e == null ? void 0 : e.chainId) ? 0 : (t == null ? void 0 : t.networkType) == "sol" ? L : (t == null ? void 0 : t.networkType) == "tron" ? R : (t == null ? void 0 : t.networkType) == "btc" || (t == null ? void 0 : t.networkType) == "sui" ? Y : (t == null ? void 0 : t.networkType) == "cosmos" ? je(t) : (t == null ? void 0 : t.networkType) == "tron" ? Ue(J) : Le(),
|
108
|
+
isFromChain: (e == null ? void 0 : e.chainId) === (t == null ? void 0 : t.chainId.toString()),
|
109
|
+
order: (e == null ? void 0 : e.chainId) === (t == null ? void 0 : t.chainId) ? 1 : (r == null ? void 0 : r.chainId) === (t == null ? void 0 : t.chainId) ? 2 : $.length > 2 ? 3 : 2
|
110
|
+
};
|
111
|
+
}
|
112
|
+
(E = n == null ? void 0 : n.fee) == null || E.forEach((t) => {
|
113
|
+
const { token: c } = t;
|
114
|
+
t.source.toLowerCase() == "from_source_wallet" && g(c, t);
|
115
|
+
});
|
116
|
+
let y = W;
|
117
|
+
if (Number(l) > Number(y))
|
118
|
+
a({
|
119
|
+
text: `Insufficient Balance ${i.coin || ""}`,
|
120
|
+
isGradient: !1,
|
121
|
+
color: "bw-bg-border-primary"
|
122
|
+
});
|
123
|
+
else if ((T != null && T.isLoading || T.isFetching) && (e == null ? void 0 : e.networkType) === "evm" || (typeof L > "u" || L === null) && (e == null ? void 0 : e.networkType) === "sol" || !R && (e == null ? void 0 : e.networkType) === "tron")
|
124
|
+
a({
|
125
|
+
text: "Fetching Balance..",
|
126
|
+
isGradient: !1,
|
127
|
+
color: "bw-bg-border-primary"
|
128
|
+
});
|
129
|
+
else {
|
130
|
+
let t = Object.values(s).sort((c, $) => c.order - $.order);
|
131
|
+
t.some((c) => {
|
132
|
+
var $, be, ue;
|
133
|
+
return c != null && c.isFromChain && Number(l) <= Number(y) && Number(c.nativeBal) - Number(l) < c.gas && (i != null && i.isNative) || Number(l) <= Number(y) && Number(c.nativeBal) < c.gas && !(i != null && i.isNative) && (c != null && c.isFromChain) ? (a({
|
134
|
+
text: `Insufficient ${(($ = c == null ? void 0 : c.token) == null ? void 0 : $.symbol) || ""} for gas on ${c.token.blockchain}`,
|
135
|
+
isGradient: !1,
|
136
|
+
color: "bw-bg-border-primary"
|
137
|
+
}), !0) : c.nativeBal < c.gas && !((d == null ? void 0 : d.length) > 30 && ((be = c == null ? void 0 : c.token) == null ? void 0 : be.chainId) == (r == null ? void 0 : r.chainId)) ? (a({
|
138
|
+
text: `Insufficient ${((ue = c == null ? void 0 : c.token) == null ? void 0 : ue.symbol) || ""} for gas on ${c.token.blockchain}`,
|
139
|
+
isGradient: !1,
|
140
|
+
color: "bw-bg-border-primary"
|
141
|
+
}), !0) : (a({
|
142
|
+
text: "",
|
143
|
+
isGradient: !0,
|
144
|
+
color: w || S.gradientbutton
|
145
|
+
}), !0);
|
146
|
+
}), t.length == 0 && (n != null && n.gasless || (n == null ? void 0 : n.provider) == "meson") && a({
|
147
|
+
text: "",
|
148
|
+
isGradient: !0,
|
149
|
+
color: w || S.gradientbutton
|
150
|
+
});
|
151
|
+
}
|
152
|
+
}
|
153
|
+
z(() => {
|
154
|
+
var s, g, y;
|
155
|
+
!i.coin.length || !(b != null && b.coin.length) ? a({
|
156
|
+
text: "Select Token",
|
157
|
+
isGradient: !0,
|
158
|
+
color: w || S.gradientbutton
|
159
|
+
}) : f ? typeof l < "u" && Number(l || 0) <= 0 ? a({
|
160
|
+
text: "Enter Amount",
|
161
|
+
isGradient: !1,
|
162
|
+
color: "bw-bg-border-primary"
|
163
|
+
}) : u.isFetching || !N ? a({
|
164
|
+
text: "Loading Routes...",
|
165
|
+
isGradient: !1,
|
166
|
+
color: "bw-bg-border-primary"
|
167
|
+
}) : e.chainId === "eclipse-svm" && !A(p) ? a({
|
168
|
+
text: `Select ${e.name} wallet`,
|
169
|
+
isGradient: !0,
|
170
|
+
color: w || S.gradientbutton
|
171
|
+
}) : r.chainId === "eclipse-svm" && e.chainId !== "eclipse-svm" && !A(p) && d.length < 30 ? a({
|
172
|
+
text: "Enter recipient wallet address",
|
173
|
+
isGradient: !0,
|
174
|
+
color: w || S.gradientbutton
|
175
|
+
}) : (i == null ? void 0 : i.address) === (b == null ? void 0 : b.address) && (e == null ? void 0 : e.chainId) === (r == null ? void 0 : r.chainId) && !(d != null && d.length) || (e == null ? void 0 : e.networkType) === "evm" && H === d && (i == null ? void 0 : i.address) === (b == null ? void 0 : b.address) && (e == null ? void 0 : e.chainId) === (r == null ? void 0 : r.chainId) || (e == null ? void 0 : e.networkType) === "sol" && (p == null ? void 0 : p.address) === d && (i == null ? void 0 : i.address) === (b == null ? void 0 : b.address) && (e == null ? void 0 : e.chainId) === (r == null ? void 0 : r.chainId) ? a({
|
176
|
+
text: "From and To asset can not be the same!",
|
177
|
+
isGradient: !1,
|
178
|
+
color: "bw-bg-border-primary"
|
179
|
+
}) : (y = (g = (s = u == null ? void 0 : u.data) == null ? void 0 : s.data) == null ? void 0 : g.quotes) != null && y.length ? u != null && u.error ? a({
|
180
|
+
text: "Failed to fetch Quotes",
|
181
|
+
isGradient: !1,
|
182
|
+
color: "bw-bg-border-primary"
|
183
|
+
}) : j && Number((e == null ? void 0 : e.chainId) || "0") !== (m == null ? void 0 : m.id) && (e == null ? void 0 : e.networkType) === "evm" || P && ((e == null ? void 0 : e.chainId) === "eclipse-svm" ? "201" : "101") !== O && (e == null ? void 0 : e.networkType) === "sol" ? a({
|
184
|
+
text: `Switch Chain to ${e.chain}`,
|
185
|
+
isGradient: !0,
|
186
|
+
color: w || S.gradientbutton
|
187
|
+
}) : Ae() : a({
|
188
|
+
text: "No Routes Found",
|
189
|
+
isGradient: !1,
|
190
|
+
color: "bw-bg-border-primary"
|
191
|
+
}) : a({
|
192
|
+
text: "",
|
193
|
+
isGradient: !0,
|
194
|
+
color: w || S.gradientbutton
|
195
|
+
});
|
196
|
+
}, [O, p, i, b, l, e, r, (ne = T.data) == null ? void 0 : ne.formatted, n, T.isFetching, T.isLoading, j, W, f, u.isFetching, m == null ? void 0 : m.id, N, R, L, d, Y, X, J]);
|
197
|
+
let ve = [`switch chain to ${(ie = e.chain) == null ? void 0 : ie.toLowerCase()}`, `select ${(de = e.chain) == null ? void 0 : de.toLowerCase()} wallet`, "connect custom wallet", "enter recipient wallet address"];
|
198
|
+
function ze() {
|
199
|
+
var s, g, y, E;
|
200
|
+
return f ? u.isFetching ? !0 : o.text.length ? !ve.includes((s = o.text) == null ? void 0 : s.toLowerCase()) : !((E = (y = (g = u.data) == null ? void 0 : g.data) == null ? void 0 : y.quotes) != null && E.length) : !1;
|
201
|
+
}
|
202
|
+
return /* @__PURE__ */ G(
|
203
|
+
"button",
|
204
|
+
{
|
205
|
+
disabled: ze(),
|
206
|
+
style: o != null && o.isGradient && V && q ? {
|
207
|
+
...I == null ? void 0 : I.gradientStyle,
|
208
|
+
boxShadow: I && I.customTheme && ((le = (ae = I.customTheme) == null ? void 0 : ae.shadow) == null ? void 0 : le.boxShadow) || "1px 1px 7px rgba(0, 0, 0, 0.15)"
|
209
|
+
} : {
|
210
|
+
boxShadow: I && I.customTheme && ((we = (oe = I.customTheme) == null ? void 0 : oe.shadow) == null ? void 0 : we.boxShadow) || "1px 1px 7px rgba(0, 0, 0, 0.15)"
|
211
|
+
},
|
212
|
+
className: `bw-w-full bw-rounded-sm bw-h-[52px] ${o != null && o.isGradient ? "bw-p-[3px]" : "bw-p-[1px]"} bw-mt-3 bw-border-0 bw-relative bw-z-0 disabled:bw-opacity-70 ${V && q && o.color} ${o.text.length > 29 ? "bw-text-xl" : "bw-text-2xl"} ${o != null && o.isGradient ? "bw-font-bold bw-text-text-primary" : "bw-font-normal bw-text-text-secondary"}`,
|
213
|
+
onClick: () => {
|
214
|
+
f || (B(!0), ((e == null ? void 0 : e.networkType) !== "evm" && j || (e == null ? void 0 : e.networkType) !== "sol" && P && p !== null || (e == null ? void 0 : e.networkType) !== "tron" && K && U) && !M ? x("from") : j && (r == null ? void 0 : r.networkType) !== "evm" || P && (r == null ? void 0 : r.networkType) !== "sol" || (r == null ? void 0 : r.networkType) !== "tron" && K && U || M ? x("to") : x("from")), e.chainId === "eclipse-svm" && !A(p) ? (B(!0), x("from")) : r.chainId === "eclipse-svm" && e.chainId !== "eclipse-svm" && !A(p) && d.length < 30 ? (B(!0), x("to")) : Fe();
|
215
|
+
},
|
216
|
+
children: /* @__PURE__ */ G("div", { className: "bw-rounded-sm bw-bg-background-container bw-flex bw-items-center bw-justify-center b-w-full bw-h-full", children: /* @__PURE__ */ G("p", { className: "bw-relative bw-z-20", children: V && q ? Ee ? /* @__PURE__ */ G("div", { className: "bw-w-[30px] bw-flex bw-text-text-secondary bw-justify-center bw-items-center bw-h-[30px]", children: /* @__PURE__ */ G(ye, { size: 22, thickness: 5, color: "inherit" }) }) : f ? o.text.length ? o.text : "Start Transaction" : `Connect ${fe} Wallet` : /* @__PURE__ */ G("div", { className: "bw-w-[30px] bw-flex bw-text-text-secondary bw-justify-center bw-items-center bw-h-[30px]", children: /* @__PURE__ */ G(ye, { size: 22, thickness: 5, color: "inherit" }) }) }) })
|
217
|
+
}
|
218
|
+
);
|
219
|
+
}
|
220
|
+
export {
|
221
|
+
lt as default
|
222
|
+
};
|
@@ -1,13 +1,12 @@
|
|
1
1
|
import { jsx as G } from "react/jsx-runtime";
|
2
2
|
import { useState as v, useEffect as z } from "react";
|
3
3
|
import { useDynamicContext as xe, useSwitchNetwork as Me, useIsLoggedIn as Oe } from "@dynamic-labs/sdk-react-core";
|
4
|
-
import { a as _, u as h, aA as Re, aB as pe } from "./index-
|
4
|
+
import { a as _, u as h, aA as Re, aB as pe } from "./index-BYmiFoJh.js";
|
5
5
|
import { s as S } from "./WidgetForm.module-QHJ0-m5f.js";
|
6
6
|
import { useAccount as Ve, useConfig as qe, useSwitchChain as Pe, useBalance as _e } from "wagmi";
|
7
|
-
import { u as ge, d as Qe, c as He, C as ye } from "./useRegisterError-
|
8
|
-
import "./getCosmosAddress-DlgoXFw9.js";
|
7
|
+
import { u as ge, d as Qe, c as He, C as ye } from "./useRegisterError-DGMdKFc9.js";
|
9
8
|
import { v as Je } from "./validError-CDlJpg_f.js";
|
10
|
-
import { u as Ke, g as Ue, p as Xe } from "./index-
|
9
|
+
import { u as Ke, g as Ue, p as Xe } from "./index-ePnYqYhf.js";
|
11
10
|
function Ye(n) {
|
12
11
|
const { wallet: u, address: l } = _(), [f, N] = v(0);
|
13
12
|
async function x() {
|
@@ -32,7 +31,7 @@ function Ze() {
|
|
32
31
|
(l.networkType === "btc" || l.networkType === "sui") && N();
|
33
32
|
}, [l.networkType, f]), n;
|
34
33
|
}
|
35
|
-
function
|
34
|
+
function lt({ routesData: n, routes: u, amount: l, isAmountTyped: f, handleShowWallet: N, setConnectWalletField: x, handleConfirmClose: F, balanceSol: L, getCoinBalance: Te, handleSuccess: Q }) {
|
36
35
|
var C, ee, te, se, re, ce, ne, ie, de, ae, le, oe, we;
|
37
36
|
const w = h((s) => s.gradient), m = h((s) => s.configuration), e = h((s) => s.fromChain), i = h((s) => s.fromCoin), r = h((s) => s.toChain), b = h((s) => s.toCoin), { isConnected: j, address: H, chain: I } = Ve(), { address: J, isConnected: We } = _(), me = qe(), Ie = Me(), { getBothWalletConnection: he, getConnectWallet: fe } = ge({
|
38
37
|
chainData: e
|
@@ -219,5 +218,5 @@ function ot({ routesData: n, routes: u, amount: l, isAmountTyped: f, handleShowW
|
|
219
218
|
);
|
220
219
|
}
|
221
220
|
export {
|
222
|
-
|
221
|
+
lt as default
|
223
222
|
};
|
@@ -0,0 +1,19 @@
|
|
1
|
+
import { m as l } from "./core-BYOwnw_B.js";
|
2
|
+
const o = l`<svg
|
3
|
+
width="14"
|
4
|
+
height="14"
|
5
|
+
viewBox="0 0 14 14"
|
6
|
+
fill="none"
|
7
|
+
xmlns="http://www.w3.org/2000/svg"
|
8
|
+
>
|
9
|
+
<path
|
10
|
+
fill="currentColor"
|
11
|
+
fill-rule="evenodd"
|
12
|
+
clip-rule="evenodd"
|
13
|
+
d="M7.0023 0.875C7.48571 0.875 7.8776 1.26675 7.8776 1.75V6.125H12.2541C12.7375 6.125 13.1294 6.51675 13.1294 7C13.1294 7.48325 12.7375 7.875 12.2541 7.875H7.8776V12.25C7.8776 12.7332 7.48571 13.125 7.0023 13.125C6.51889 13.125 6.12701 12.7332 6.12701 12.25V7.875H1.75054C1.26713 7.875 0.875244 7.48325 0.875244 7C0.875244 6.51675 1.26713 6.125 1.75054 6.125H6.12701V1.75C6.12701 1.26675 6.51889 0.875 7.0023 0.875Z"
|
14
|
+
fill="#667dff"
|
15
|
+
/></svg
|
16
|
+
>`;
|
17
|
+
export {
|
18
|
+
o as addSvg
|
19
|
+
};
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { m as a } from "./core-BSwMFU2B.js";
|
2
|
+
const o = a`<svg fill="none" viewBox="0 0 24 24">
|
3
|
+
<path
|
4
|
+
style="fill: var(--wui-color-accent-100);"
|
5
|
+
d="M10.2 6.6a3.6 3.6 0 1 1-7.2 0 3.6 3.6 0 0 1 7.2 0ZM21 6.6a3.6 3.6 0 1 1-7.2 0 3.6 3.6 0 0 1 7.2 0ZM10.2 17.4a3.6 3.6 0 1 1-7.2 0 3.6 3.6 0 0 1 7.2 0ZM21 17.4a3.6 3.6 0 1 1-7.2 0 3.6 3.6 0 0 1 7.2 0Z"
|
6
|
+
/>
|
7
|
+
</svg>`;
|
8
|
+
export {
|
9
|
+
o as allWalletsSvg
|
10
|
+
};
|
@@ -0,0 +1,21 @@
|
|
1
|
+
import { m as a } from "./core-BYOwnw_B.js";
|
2
|
+
const e = a`
|
3
|
+
<svg width="36" height="36">
|
4
|
+
<path
|
5
|
+
d="M28.724 0H7.271A7.269 7.269 0 0 0 0 7.272v21.46A7.268 7.268 0 0 0 7.271 36H28.73A7.272 7.272 0 0 0 36 28.728V7.272A7.275 7.275 0 0 0 28.724 0Z"
|
6
|
+
fill="url(#a)"
|
7
|
+
/>
|
8
|
+
<path
|
9
|
+
d="m17.845 8.271.729-1.26a1.64 1.64 0 1 1 2.843 1.638l-7.023 12.159h5.08c1.646 0 2.569 1.935 1.853 3.276H6.434a1.632 1.632 0 0 1-1.638-1.638c0-.909.73-1.638 1.638-1.638h4.176l5.345-9.265-1.67-2.898a1.642 1.642 0 0 1 2.844-1.638l.716 1.264Zm-6.317 17.5-1.575 2.732a1.64 1.64 0 1 1-2.844-1.638l1.17-2.025c1.323-.41 2.398-.095 3.249.931Zm13.56-4.954h4.262c.909 0 1.638.729 1.638 1.638 0 .909-.73 1.638-1.638 1.638h-2.367l1.597 2.772c.45.788.185 1.782-.602 2.241a1.642 1.642 0 0 1-2.241-.603c-2.69-4.666-4.711-8.159-6.052-10.485-1.372-2.367-.391-4.743.576-5.549 1.075 1.846 2.682 4.631 4.828 8.348Z"
|
10
|
+
fill="#fff"
|
11
|
+
/>
|
12
|
+
<defs>
|
13
|
+
<linearGradient id="a" x1="18" y1="0" x2="18" y2="36" gradientUnits="userSpaceOnUse">
|
14
|
+
<stop stop-color="#18BFFB" />
|
15
|
+
<stop offset="1" stop-color="#2072F3" />
|
16
|
+
</linearGradient>
|
17
|
+
</defs>
|
18
|
+
</svg>`;
|
19
|
+
export {
|
20
|
+
e as appStoreSvg
|
21
|
+
};
|
@@ -0,0 +1,22 @@
|
|
1
|
+
import { m as l } from "./core-BYOwnw_B.js";
|
2
|
+
const f = l`<svg fill="none" viewBox="0 0 40 40">
|
3
|
+
<g clip-path="url(#a)">
|
4
|
+
<g clip-path="url(#b)">
|
5
|
+
<circle cx="20" cy="19.89" r="20" fill="#000" />
|
6
|
+
<g clip-path="url(#c)">
|
7
|
+
<path
|
8
|
+
fill="#fff"
|
9
|
+
d="M28.77 23.3c-.69 1.99-2.75 5.52-4.87 5.56-1.4.03-1.86-.84-3.46-.84-1.61 0-2.12.81-3.45.86-2.25.1-5.72-5.1-5.72-9.62 0-4.15 2.9-6.2 5.42-6.25 1.36-.02 2.64.92 3.47.92.83 0 2.38-1.13 4.02-.97.68.03 2.6.28 3.84 2.08-3.27 2.14-2.76 6.61.75 8.25ZM24.2 7.88c-2.47.1-4.49 2.69-4.2 4.84 2.28.17 4.47-2.39 4.2-4.84Z"
|
10
|
+
/>
|
11
|
+
</g>
|
12
|
+
</g>
|
13
|
+
</g>
|
14
|
+
<defs>
|
15
|
+
<clipPath id="a"><rect width="40" height="40" fill="#fff" rx="20" /></clipPath>
|
16
|
+
<clipPath id="b"><path fill="#fff" d="M0 0h40v40H0z" /></clipPath>
|
17
|
+
<clipPath id="c"><path fill="#fff" d="M8 7.89h24v24H8z" /></clipPath>
|
18
|
+
</defs>
|
19
|
+
</svg>`;
|
20
|
+
export {
|
21
|
+
f as appleSvg
|
22
|
+
};
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import { m as o } from "./core-BSwMFU2B.js";
|
2
|
+
const e = o`<svg fill="none" viewBox="0 0 14 15">
|
3
|
+
<path
|
4
|
+
fill="currentColor"
|
5
|
+
fill-rule="evenodd"
|
6
|
+
d="M7 1.99a1 1 0 0 1 1 1v7.58l2.46-2.46a1 1 0 0 1 1.41 1.42L7.7 13.69a1 1 0 0 1-1.41 0L2.12 9.53A1 1 0 0 1 3.54 8.1L6 10.57V3a1 1 0 0 1 1-1Z"
|
7
|
+
clip-rule="evenodd"
|
8
|
+
/>
|
9
|
+
</svg>`;
|
10
|
+
export {
|
11
|
+
e as arrowBottomSvg
|
12
|
+
};
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import { m as C } from "./core-BSwMFU2B.js";
|
2
|
+
const e = C`<svg
|
3
|
+
fill="none"
|
4
|
+
viewBox="0 0 21 20"
|
5
|
+
>
|
6
|
+
<path
|
7
|
+
fill="currentColor"
|
8
|
+
fill-rule="evenodd"
|
9
|
+
d="M10.5 2.42908C6.31875 2.42908 2.92859 5.81989 2.92859 10.0034C2.92859 14.1869 6.31875 17.5777 10.5 17.5777C14.6813 17.5777 18.0714 14.1869 18.0714 10.0034C18.0714 5.81989 14.6813 2.42908 10.5 2.42908ZM0.928589 10.0034C0.928589 4.71596 5.21355 0.429077 10.5 0.429077C15.7865 0.429077 20.0714 4.71596 20.0714 10.0034C20.0714 15.2908 15.7865 19.5777 10.5 19.5777C5.21355 19.5777 0.928589 15.2908 0.928589 10.0034ZM10.5 5.75003C11.0523 5.75003 11.5 6.19774 11.5 6.75003L11.5 10.8343L12.7929 9.54137C13.1834 9.15085 13.8166 9.15085 14.2071 9.54137C14.5976 9.9319 14.5976 10.5651 14.2071 10.9556L11.2071 13.9556C10.8166 14.3461 10.1834 14.3461 9.79291 13.9556L6.79291 10.9556C6.40239 10.5651 6.40239 9.9319 6.79291 9.54137C7.18343 9.15085 7.8166 9.15085 8.20712 9.54137L9.50002 10.8343L9.50002 6.75003C9.50002 6.19774 9.94773 5.75003 10.5 5.75003Z"
|
10
|
+
clip-rule="evenodd"
|
11
|
+
/></svg
|
12
|
+
>`;
|
13
|
+
export {
|
14
|
+
e as arrowBottomCircleSvg
|
15
|
+
};
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import { m as e } from "./core-BSwMFU2B.js";
|
2
|
+
const o = e`<svg fill="none" viewBox="0 0 14 15">
|
3
|
+
<path
|
4
|
+
fill="currentColor"
|
5
|
+
fill-rule="evenodd"
|
6
|
+
d="M13 7.99a1 1 0 0 1-1 1H4.4l2.46 2.46a1 1 0 1 1-1.41 1.41L1.29 8.7a1 1 0 0 1 0-1.41L5.46 3.1a1 1 0 0 1 1.41 1.42L4.41 6.99H12a1 1 0 0 1 1 1Z"
|
7
|
+
clip-rule="evenodd"
|
8
|
+
/>
|
9
|
+
</svg>`;
|
10
|
+
export {
|
11
|
+
o as arrowLeftSvg
|
12
|
+
};
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import { m as l } from "./core-BYOwnw_B.js";
|
2
|
+
const e = l`<svg fill="none" viewBox="0 0 14 15">
|
3
|
+
<path
|
4
|
+
fill="currentColor"
|
5
|
+
fill-rule="evenodd"
|
6
|
+
d="M1 7.99a1 1 0 0 1 1-1h7.58L7.12 4.53A1 1 0 1 1 8.54 3.1l4.16 4.17a1 1 0 0 1 0 1.41l-4.16 4.17a1 1 0 1 1-1.42-1.41l2.46-2.46H2a1 1 0 0 1-1-1Z"
|
7
|
+
clip-rule="evenodd"
|
8
|
+
/>
|
9
|
+
</svg>`;
|
10
|
+
export {
|
11
|
+
e as arrowRightSvg
|
12
|
+
};
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import { m as o } from "./core-BYOwnw_B.js";
|
2
|
+
const e = o`<svg fill="none" viewBox="0 0 14 15">
|
3
|
+
<path
|
4
|
+
fill="currentColor"
|
5
|
+
fill-rule="evenodd"
|
6
|
+
d="M7 13.99a1 1 0 0 1-1-1V5.4L3.54 7.86a1 1 0 0 1-1.42-1.41L6.3 2.28a1 1 0 0 1 1.41 0l4.17 4.17a1 1 0 1 1-1.41 1.41L8 5.4v7.59a1 1 0 0 1-1 1Z"
|
7
|
+
clip-rule="evenodd"
|
8
|
+
/>
|
9
|
+
</svg>`;
|
10
|
+
export {
|
11
|
+
e as arrowTopSvg
|
12
|
+
};
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import { m as e } from "./core-BYOwnw_B.js";
|
2
|
+
const o = e`<svg
|
3
|
+
xmlns="http://www.w3.org/2000/svg"
|
4
|
+
width="12"
|
5
|
+
height="13"
|
6
|
+
viewBox="0 0 12 13"
|
7
|
+
fill="none"
|
8
|
+
>
|
9
|
+
<path
|
10
|
+
fill-rule="evenodd"
|
11
|
+
clip-rule="evenodd"
|
12
|
+
d="M5.61391 1.57124C5.85142 1.42873 6.14813 1.42873 6.38564 1.57124L11.0793 4.38749C11.9179 4.89067 11.5612 6.17864 10.5832 6.17864H9.96398V10.0358H10.2854C10.6996 10.0358 11.0354 10.3716 11.0354 10.7858C11.0354 11.2 10.6996 11.5358 10.2854 11.5358H1.71416C1.29995 11.5358 0.964172 11.2 0.964172 10.7858C0.964172 10.3716 1.29995 10.0358 1.71416 10.0358H2.03558L2.03558 6.17864H1.41637C0.438389 6.17864 0.0816547 4.89066 0.920263 4.38749L5.61391 1.57124ZM3.53554 6.17864V10.0358H5.24979V6.17864H3.53554ZM6.74976 6.17864V10.0358H8.46401V6.17864H6.74976ZM8.64913 4.67864H3.35043L5.99978 3.089L8.64913 4.67864Z"
|
13
|
+
fill="currentColor"
|
14
|
+
/></svg
|
15
|
+
>`;
|
16
|
+
export {
|
17
|
+
o as bankSvg
|
18
|
+
};
|
@@ -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-
|
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-
|
3
|
-
import { n as Wn } from "./index-
|
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-BYOwnw_B.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-CoV9zQx1.js";
|
3
|
+
import { n as Wn } from "./index-D0J1OD73.js";
|
4
4
|
const Sn = D`
|
5
5
|
:host {
|
6
6
|
position: relative;
|