@blockend/widget 1.0.63-beta.2 → 1.0.63-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (110) hide show
  1. package/dist/{AllRoutes-DSptVp0j.js → AllRoutes-Bns7cc-8.js} +9 -9
  2. package/dist/{Box-OXcrNV3x.js → Box-CrZ3RKOy.js} +1 -1
  3. package/dist/{EstGas-CD11e9GR.js → EstGas-BuvzTOFS.js} +7 -7
  4. package/dist/{Grow-DD-vKWVq.js → Grow-yGx8gW63.js} +2 -2
  5. package/dist/{InputComp-BiPfM98J.js → InputComp-1CjDWZCi.js} +3 -3
  6. package/dist/LoadRoute-dzn7yiEE.js +104 -0
  7. package/dist/{QuotesProgress-BoVW2EEk.js → QuotesProgress-UPTDJVIP.js} +1 -1
  8. package/dist/{SwapAsset-psjGjOaI.js → SwapAsset-B6JV2yTH.js} +1 -1
  9. package/dist/{Tooltip-iCkHu6XK.js → Tooltip-DXfuzGo-.js} +3 -3
  10. package/dist/{TxnButton-rBce8pFR.js → TxnButton-9CpXJ-zO.js} +3 -3
  11. package/dist/{add-N4jx90EP.js → add-DFFgehsz.js} +1 -1
  12. package/dist/{all-wallets-DJe-m0Eb.js → all-wallets-BlHh3NFT.js} +1 -1
  13. package/dist/{app-store-DSLdmkhT.js → app-store-CgchdVfh.js} +1 -1
  14. package/dist/{apple-hsKUopzO.js → apple-DjUIxQ1c.js} +1 -1
  15. package/dist/{arrow-bottom-circle-QXC8HQRF.js → arrow-bottom-circle-C_uOXIsR.js} +1 -1
  16. package/dist/{arrow-bottom-BbgV5FCt.js → arrow-bottom-qPma-Y7R.js} +1 -1
  17. package/dist/{arrow-left-KCW94cpu.js → arrow-left-Bv7ms4bD.js} +1 -1
  18. package/dist/{arrow-right-BYkkTQy3.js → arrow-right-CTZ8oxWQ.js} +1 -1
  19. package/dist/{arrow-top-r50srdgv.js → arrow-top-Bjt1VdYt.js} +1 -1
  20. package/dist/{bank-CiY4-Az9.js → bank-vroCyTHB.js} +1 -1
  21. package/dist/{basic-BN6CB8n0.js → basic-DyEiYdi7.js} +3 -3
  22. package/dist/{browser-D8peSqNs.js → browser-Bll3GCpZ.js} +1 -1
  23. package/dist/{card-DNCx6YoX.js → card-DA7pgW3d.js} +1 -1
  24. package/dist/{ccip-CSo0bXty.js → ccip-ClXaMQkG.js} +1 -1
  25. package/dist/{checkmark-i8FwlmLQ.js → checkmark-C7gjAJi7.js} +1 -1
  26. package/dist/{checkmark-bold-ANY260dv.js → checkmark-bold-gXctLN0B.js} +1 -1
  27. package/dist/{chevron-bottom-SySgn1kF.js → chevron-bottom--LuLp_iR.js} +1 -1
  28. package/dist/{chevron-left-B08jaB11.js → chevron-left-rm1rdtBw.js} +1 -1
  29. package/dist/{chevron-right-e4Gy34AU.js → chevron-right-Ba5htczv.js} +1 -1
  30. package/dist/{chevron-top-CH46YVp8.js → chevron-top-C1d1eZii.js} +1 -1
  31. package/dist/{chrome-store-9nJwuH58.js → chrome-store-h_ZT7PBY.js} +1 -1
  32. package/dist/{clock-FTQfFrpM.js → clock-BSSMbkWC.js} +1 -1
  33. package/dist/{close-Brv17PN_.js → close-zrnWUtmc.js} +1 -1
  34. package/dist/{coinPlaceholder-BxOI7k4w.js → coinPlaceholder-B_0kmBBE.js} +1 -1
  35. package/dist/{compass-CzXWtrlR.js → compass-Bnlfykzs.js} +1 -1
  36. package/dist/{copy-FBiMSOnV.js → copy-BpJy5og3.js} +1 -1
  37. package/dist/{core-C-40Q93g.js → core-C1aaVsCi.js} +3 -3
  38. package/dist/{cursor-BhKeYVCj.js → cursor-B1_Xrwkk.js} +1 -1
  39. package/dist/{cursor-transparent-Bb6S5KGo.js → cursor-transparent-D9tfpMgU.js} +1 -1
  40. package/dist/{desktop-BR5njz6N.js → desktop-BYaD5dBm.js} +1 -1
  41. package/dist/{disconnect-DNlMMtzC.js → disconnect-DAe7uSeb.js} +1 -1
  42. package/dist/{discord-CAkycOJT.js → discord-tHo0nO4J.js} +1 -1
  43. package/dist/{down-CheHPv8M.js → down-9nlhJV4i.js} +2 -2
  44. package/dist/{etherscan-BrquqC1S.js → etherscan-EUjBsY3Z.js} +1 -1
  45. package/dist/{exclamation-triangle-ZCpwGRUM.js → exclamation-triangle-D99mnOE1.js} +1 -1
  46. package/dist/{extension-DvRRb_ZI.js → extension-D_sMwwDo.js} +1 -1
  47. package/dist/{external-link-e0bT-5Ic.js → external-link-ZYV8uRRV.js} +1 -1
  48. package/dist/{facebook-CO03c5DJ.js → facebook-BKA4BYRM.js} +1 -1
  49. package/dist/{farcaster-BxVZRPng.js → farcaster-DG8Ito7c.js} +1 -1
  50. package/dist/{filters-BvyfHsnm.js → filters-DONdltSo.js} +1 -1
  51. package/dist/{getChainIds-n7mV2o7I.js → getChainIds-Wrqs4Ioa.js} +2 -2
  52. package/dist/{getCosmosAddress-6tUQa6qG.js → getCosmosAddress-CAep1CGt.js} +1529 -1526
  53. package/dist/{github-CK5avrYc.js → github-D4tbE0OZ.js} +1 -1
  54. package/dist/{google-BFT9CRsp.js → google-hr01u1hq.js} +1 -1
  55. package/dist/{hamburger-DtHJ6HKD.js → hamburger-qYqDelVI.js} +5 -5
  56. package/dist/{help-circle-BIpQdCgm.js → help-circle-Q0b5AC3z.js} +1 -1
  57. package/dist/{id-uRD6rGD9.js → id-bDY0Ftnt.js} +1 -1
  58. package/dist/{image-lbkvXut3.js → image-CjSvq8aO.js} +1 -1
  59. package/dist/{index-C7I8jGUu.js → index-B56gAkUN.js} +4 -4
  60. package/dist/{index-D2vIUQmW.js → index-BOMvhzY3.js} +11 -11
  61. package/dist/{index-Nn4j_N6N.js → index-BdP200kZ.js} +2 -2
  62. package/dist/{index-CcUdKZ4Q.js → index-Bvhi7Rtm.js} +7 -7
  63. package/dist/{index-Bft2nye9.js → index-C3oDZ_GW.js} +1 -1
  64. package/dist/{index-CE9cfUXE.js → index-CPW-1qLM.js} +10 -10
  65. package/dist/{index-9JtBNQiO.js → index-D2ExLo6S.js} +5 -5
  66. package/dist/{index-DaFMRNyY.js → index-JAIZSgA4.js} +1 -1
  67. package/dist/{index-_QupYxFp.js → index-ZV3n3hja.js} +78 -78
  68. package/dist/{index-C1bPoXpQ.js → index-fqndnjLr.js} +4 -4
  69. package/dist/{index-CKW0T5cV.js → index-jrRSGVAv.js} +3 -3
  70. package/dist/{index.es-_Zk9Q5N-.js → index.es-jYmbZBpL.js} +1 -1
  71. package/dist/{index.es-jPcY07p0.js → index.es-nUnnJ19W.js} +2 -2
  72. package/dist/index.es.js +1 -1
  73. package/dist/{info-CYtvOqmG.js → info-CuP9LSXH.js} +1 -1
  74. package/dist/{info-circle-BUsU-cP2.js → info-circle-Bdd6dchJ.js} +1 -1
  75. package/dist/{lightbulb-DegUE5ZV.js → lightbulb-DaLhQlOz.js} +1 -1
  76. package/dist/{mail-Cb9SUGFb.js → mail-CA2C1ta9.js} +1 -1
  77. package/dist/{mobile-D6A2tp3a.js → mobile-BN6j_a7r.js} +1 -1
  78. package/dist/{more-sX9OHKkr.js → more-B7N-lRZW.js} +1 -1
  79. package/dist/{network-placeholder-7fIn0SQN.js → network-placeholder-CsBUnX3R.js} +1 -1
  80. package/dist/{nftPlaceholder-D0YM5E_k.js → nftPlaceholder-CgHwi5O5.js} +1 -1
  81. package/dist/{off-wUNQR-5y.js → off-NzYCBF2o.js} +1 -1
  82. package/dist/{play-store-XZeF7vUN.js → play-store-DQo9Epvs.js} +1 -1
  83. package/dist/{plus-DYJNk3Pu.js → plus-Dh_LeDDL.js} +1 -1
  84. package/dist/{qr-code-GOXufb4L.js → qr-code-wjtVUDq0.js} +1 -1
  85. package/dist/{recycle-horizontal-DBlIpFvr.js → recycle-horizontal-BaA2A2oo.js} +1 -1
  86. package/dist/{refresh-Cw7TZGYN.js → refresh-SIEJ-P2x.js} +1 -1
  87. package/dist/{reown-logo-BUiDcg71.js → reown-logo-ByNOEVOc.js} +1 -1
  88. package/dist/{search-CWnIF2eJ.js → search-4yqPHqcV.js} +1 -1
  89. package/dist/{send-CSD5MbSE.js → send-RAxMjl19.js} +1 -1
  90. package/dist/{swapHorizontal-DvJ_eflI.js → swapHorizontal-DJOrR8CB.js} +1 -1
  91. package/dist/{swapHorizontalBold-Dyf39WR-.js → swapHorizontalBold-CZh7g69b.js} +1 -1
  92. package/dist/{swapHorizontalMedium-CYL-AIKK.js → swapHorizontalMedium-Cx3G3x7y.js} +1 -1
  93. package/dist/{swapHorizontalRoundedBold-CsR7p2BU.js → swapHorizontalRoundedBold-BF2fiAv3.js} +1 -1
  94. package/dist/{swapVertical-M3TD9y2S.js → swapVertical-DQ1qhpEQ.js} +1 -1
  95. package/dist/{telegram-DSZ2jBTL.js → telegram-BBrsmo0J.js} +1 -1
  96. package/dist/{three-dots-CO1GW8as.js → three-dots-BXWkn5Cp.js} +1 -1
  97. package/dist/{twitch-KaVXEHD9.js → twitch-D5i8ZH2A.js} +1 -1
  98. package/dist/{twitterIcon-l9xGIgL6.js → twitterIcon-CpqLz6qF.js} +1 -1
  99. package/dist/{unsupportedProp-BeQDlYoT.js → unsupportedProp-D7GpkwnE.js} +1 -1
  100. package/dist/{useRegisterError-HcIKoHXK.js → useRegisterError-ASrXLfJ4.js} +1 -1
  101. package/dist/{verify-BMXHbrWG.js → verify-B_Qfvl5S.js} +1 -1
  102. package/dist/{verify-filled-DR9JNz7Q.js → verify-filled-BYBp47MZ.js} +1 -1
  103. package/dist/{w3m-modal-DkWp98Dg.js → w3m-modal-SDOzcZja.js} +2 -2
  104. package/dist/{wallet-DXILJ_at.js → wallet-DaXduNop.js} +1 -1
  105. package/dist/{wallet-placeholder-Dm31bVSC.js → wallet-placeholder-BXlLsdby.js} +1 -1
  106. package/dist/{walletconnect-4Gdc8wF-.js → walletconnect-UKg9H9Ar.js} +1 -1
  107. package/dist/{warning-circle-DZWsznvZ.js → warning-circle-B9CCItTj.js} +1 -1
  108. package/dist/{x-A5yP492s.js → x-BtpYjBDu.js} +1 -1
  109. package/package.json +1 -1
  110. package/dist/LoadRoute-Dv-AW1mP.js +0 -125
@@ -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-HcIKoHXK.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, w as Ft, u as se } from "./index-CKW0T5cV.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-ASrXLfJ4.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, w as Ft, u as se } from "./index-jrRSGVAv.js";
8
8
  import { S as We, C as je, G as Ve } from "./clockIcon-C2W5xvyt.js";
9
- import { T as Pt } from "./Tooltip-iCkHu6XK.js";
10
- import { O as we } from "./index-Bft2nye9.js";
11
- import { B as _t } from "./Box-OXcrNV3x.js";
12
- import { c as ct, d as it, r as At } from "./index-DaFMRNyY.js";
13
- import { b as dt } from "./Grow-DD-vKWVq.js";
14
- import { B as bt, o as ut } from "./getChainIds-n7mV2o7I.js";
15
- import { u as Wt } from "./unsupportedProp-BeQDlYoT.js";
9
+ import { T as Pt } from "./Tooltip-DXfuzGo-.js";
10
+ import { O as we } from "./index-C3oDZ_GW.js";
11
+ import { B as _t } from "./Box-CrZ3RKOy.js";
12
+ import { c as ct, d as it, r as At } from "./index-JAIZSgA4.js";
13
+ import { b as dt } from "./Grow-yGx8gW63.js";
14
+ import { B as bt, o as ut } from "./getChainIds-Wrqs4Ioa.js";
15
+ import { u as Wt } from "./unsupportedProp-D7GpkwnE.js";
16
16
  let be;
17
17
  function wt() {
18
18
  if (be)
@@ -1,4 +1,4 @@
1
- import { aL as i, aM as h, z as N, aC as T, _ as y, d as B, e as C, b as _, aN as b, T as P, aO as O, p as g, P as e } from "./index-CKW0T5cV.js";
1
+ import { aL as i, aM as h, z as N, aC as T, _ as y, d as B, e as C, b as _, aN as b, T as P, aO as O, p as g, P as e } from "./index-jrRSGVAv.js";
2
2
  import * as j from "react";
3
3
  import { jsx as v } from "react/jsx-runtime";
4
4
  const E = ["className", "component"];
@@ -1,15 +1,15 @@
1
1
  import { jsx as o, jsxs as h, Fragment as L } from "react/jsx-runtime";
2
- import { aE as Zt, aF as Kt, aG as Xt, aH as Yt, aI as te, aJ as ee, u as c, l as rt, S as wt, a as jt, aA as _t, aB as it } from "./index-CKW0T5cV.js";
3
- import { O as pt } from "./index-Bft2nye9.js";
2
+ import { aE as Zt, aF as Kt, aG as Xt, aH as Yt, aI as te, aJ as ee, u as c, l as rt, S as wt, a as jt, aA as _t, aB as it } from "./index-jrRSGVAv.js";
3
+ import { O as pt } from "./index-C3oDZ_GW.js";
4
4
  import ht, { useState as ot, useContext as J, useRef as mt, useEffect as G, createContext as ne, useMemo as re } from "react";
5
- import { u as Ut, W as oe, B as se, C as ie, L as ae, i as Gt, f as le, c as Mt, d as ce, F as at } from "./useRegisterError-HcIKoHXK.js";
5
+ import { u as Ut, W as oe, B as se, C as ie, L as ae, i as Gt, f as le, c as Mt, d as ce, F as at } from "./useRegisterError-ASrXLfJ4.js";
6
6
  import { useAccount as ft, useConfig as xe, useSwitchChain as de } from "wagmi";
7
7
  import { S as be } from "./shareicon-CG3v7iKI.js";
8
- import { T as Ht } from "./Tooltip-iCkHu6XK.js";
9
- import { L as me } from "./index.es-_Zk9Q5N-.js";
8
+ import { T as Ht } from "./Tooltip-DXfuzGo-.js";
9
+ import { L as me } from "./index.es-jYmbZBpL.js";
10
10
  import { useStargateSigningClient as Lt, useAccount as ue } from "graz";
11
- import { l as we, S as pe, D as he } from "./down-CheHPv8M.js";
12
- import { u as ye, g as It } from "./getCosmosAddress-6tUQa6qG.js";
11
+ import { l as we, S as pe, D as he } from "./down-9nlhJV4i.js";
12
+ import { u as ye, g as It } from "./getCosmosAddress-CAep1CGt.js";
13
13
  import { useDynamicContext as Ot } from "@dynamic-labs/sdk-react-core";
14
14
  import { v as yt } from "./validError-CDlJpg_f.js";
15
15
  import { getNextTxn as fe, createTransaction as ke, checkStatus as ge, pollTransactionStatus as Se, executeTransaction as Te } from "@blockend/compass-sdk";
@@ -1,8 +1,8 @@
1
1
  import * as D from "react";
2
2
  import kt from "react";
3
- import { p as K, P as i, aK as St, n as Bt, g as Wt, b as Lt, _ as Te, d as z, h as Nt, i as Ht, s as Vt } from "./index-CKW0T5cV.js";
3
+ import { p as K, P as i, aK as St, n as Bt, g as Wt, b as Lt, _ as Te, d as z, h as Nt, i as Ht, s as Vt } from "./index-jrRSGVAv.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-HcIKoHXK.js";
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-ASrXLfJ4.js";
6
6
  let nt = 0;
7
7
  function Kt(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 n, S as W } from "./index-CKW0T5cV.js";
2
+ import { u as n, S as W } from "./index-jrRSGVAv.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-HcIKoHXK.js";
4
+ import { u as j, i as I, W as D, F, f as p, c as u, z as R } from "./useRegisterError-ASrXLfJ4.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-CcUdKZ4Q.js";
7
+ import { c as B, r as G } from "./index-Bvhi7Rtm.js";
8
8
  function H({ amount: w, setAmount: l, fetchBalance: M, getCoinBalance: h, isBalanceLoading: f }) {
9
9
  var d, o;
10
10
  const s = n((a) => a.configuration), e = n((a) => a.fromCoin), r = n((a) => a.fromChain), { isAnyWalletConnected: g } = j({ chainData: r }), [$, z] = S(40), { address: N } = T(), v = x(), { defaultCoin: y } = I;
@@ -0,0 +1,104 @@
1
+ import { jsx as b, jsxs as t, Fragment as m } from "react/jsx-runtime";
2
+ import { t as te } from "./truncate-D9t92mVX.js";
3
+ import { u as r, S as o, l as we } from "./index-jrRSGVAv.js";
4
+ import { useState as ie, useEffect as le } from "react";
5
+ import { s as a } from "./WidgetForm.module-QHJ0-m5f.js";
6
+ import { G as ce, C as de, S as me } from "./clockIcon-C2W5xvyt.js";
7
+ import { S as re } from "./down-9nlhJV4i.js";
8
+ import { e as se } from "./ethertousd-CC_ezooz.js";
9
+ import { O as J } from "./index-C3oDZ_GW.js";
10
+ import { F as K, i as ae } from "./useRegisterError-ASrXLfJ4.js";
11
+ function Se({ routes: n, handleShowAllRoutes: Q, routesData: e, price: X, amount: Y, isRoutesEnabled: y }) {
12
+ var v, N, F, S, k, u, $, E, j, I, U, C, A, G, O, T, z, L, R, _, M, V, q, B, P, W;
13
+ const x = n.data, [c, Z] = ie(), l = r((i) => i.gradient), w = r((i) => i.configuration), h = r((i) => i.fromChain), g = r((i) => i.fromCoin), p = r((i) => i.toChain), d = r((i) => i.toCoin), { defaultCoin: D } = ae;
14
+ le(() => {
15
+ var i;
16
+ if (e) {
17
+ let f = { amountInUSD: 0, amountInNative: 0 }, H = {};
18
+ (i = e == null ? void 0 : e.fee) == null || i.forEach((s) => {
19
+ s.source == "FROM_SOURCE_WALLET" && (f.amountInUSD += Number(s.amountInUSD), f.amountInNative += Number(se(s.amountInToken, s.token.decimals)), H = { ...s });
20
+ }), Z({ tempGasObj: f, token: H });
21
+ }
22
+ }, [e]);
23
+ let ee = (e == null ? void 0 : e.outputAmountDisplay) || "", be = X.toString(), ne = (N = (v = e == null ? void 0 : e.providerDetails) == null ? void 0 : v.logoUrl) != null && N.length ? (F = e == null ? void 0 : e.providerDetails) == null ? void 0 : F.logoUrl : D;
24
+ return /* @__PURE__ */ b("div", { className: "bw-mt-2", children: (S = h == null ? void 0 : h.chain) != null && S.length && ((k = g == null ? void 0 : g.coin) != null && k.length) && ((u = p == null ? void 0 : p.chain) != null && u.length) && (($ = d == null ? void 0 : d.coin) != null && $.length) && Y.length && y ? n.isSuccess && !((I = (j = (E = n.data) == null ? void 0 : E.data) == null ? void 0 : j.quotes) != null && I.length) && !n.isFetching ? /* @__PURE__ */ b("div", { className: "bw-bg-background-container bw-text-text-secondary bw-flex bw-justify-center bw-items-center bw-h-[80px] bw-relative bw-flex-col bw-border bw-border-border-primary", children: "No Routes Available" }) : n.isSuccess || n.isLoading || n.isFetching ? /* @__PURE__ */ t("div", { children: [
25
+ /* @__PURE__ */ t("div", { className: "bw-flex bw-items-center bw-justify-between", children: [
26
+ " ",
27
+ /* @__PURE__ */ t("p", { className: "bw-text-sm bw-font-medium bw-text-text-secondary", children: [
28
+ "Get ",
29
+ d.name
30
+ ] }),
31
+ n.isFetching ? /* @__PURE__ */ b(m, {}) : /* @__PURE__ */ b("div", { onClick: Q, style: { ...w.gradientStyle }, className: `bw-w-[130px] bw-cursor-pointer bw-relative bw-p-[1px] bw-text-transparent bw-text-sm bw-font-normal bw-h-[18px] bw-rounded-xl ${l || `${a.overlayshow} ${(U = w.gradientStyle) != null && U.background ? "" : "bw-bg-gradient-to-r bw-from-[#A45EFF] bw-to-[#2CFFE4]"}`}`, children: /* @__PURE__ */ b("div", { className: " bw-w-full bw-h-full bw-text-text-secondary bw-relative bw-z-10 bw-bg-background-container bw-flex bw-justify-center bw-items-center bw-text-xs bw-font-normal bw-rounded-xl", children: "Show All Routes" }) })
32
+ ] }),
33
+ /* @__PURE__ */ t("div", { className: " bw-mt-2", children: [
34
+ /* @__PURE__ */ t("div", { style: n.isFetching ? {} : { ...w.gradientStyle }, className: ` ${n.isFetching ? "bw-bg-background-secondary" : ` ${l || `${(C = w.gradientStyle) != null && C.background ? "" : "bw-bg-gradient-to-r bw-from-[#A45EFF] bw-to-[#2CFFE4]"} ${a.overlay}`} `} bw-relative bw-flex bw-justify-center bw-rounded-[8px] bw-w-full bw-p-[1px] bw-h-[86px] `, children: [
35
+ /* @__PURE__ */ t("div", { className: "bw-w-full bw-h-full bw-flex bw-px-2 bw-pb-3 bw-items-center bw-justify-between bw-bg-background-container rbw-elative bw-z-10 bw-rounded-[8px]", children: [
36
+ /* @__PURE__ */ t("div", { className: "bw-flex bw-items-start bw-gap-x-2", children: [
37
+ d != null && d.image && !n.isFetching ? /* @__PURE__ */ b("img", { src: d.image, width: 30, height: 30, className: "bw-mt-1 bw-max-w-[30px] bw-max-h-[30px] bw-object-contain bw-bg-background-secondary bw-rounded-[50%]" }) : /* @__PURE__ */ b(m, {}),
38
+ /* @__PURE__ */ t("div", { children: [
39
+ n.isFetching ? /* @__PURE__ */ b(o, { className: "bw-bg-background-secondary bw-mt-3 bw-rounded-sm bw-h-[36px] bw-min-h-[36px]", animation: "wave", variant: "rectangular", height: 36, width: 250 }) : /* @__PURE__ */ b("p", { className: "bw-text-2xl md:bw-text-3xl bw-mb-1 bw-font-medium bw-text-text-primary", children: /* @__PURE__ */ b(J, { value: ee, decimal: 12 }) }),
40
+ n.isFetching ? /* @__PURE__ */ b(o, { className: "bw-bg-background-secondary bw-mt-2 bw-rounded-sm bw-h-[20px] bw-w-[100px] bw-min-h-[20px]", variant: "rectangular", animation: "wave", height: 20, width: 100 }) : /* @__PURE__ */ t("div", { className: "bw-flex bw-items-center bw-gap-x-1", children: [
41
+ /* @__PURE__ */ b(ce, { fill: "var(--tw-text-primary)" }),
42
+ /* @__PURE__ */ t("p", { className: "bw-text-xs md:bw-text-sm bw-font-medium bw-text-text-primary", children: [
43
+ "Total Fee:",
44
+ " $",
45
+ /* @__PURE__ */ b(K, { value: ((A = c == null ? void 0 : c.tempGasObj) == null ? void 0 : A.amountInUSD) || 0, options: { maxDecimals: 8 } }),
46
+ " (",
47
+ /* @__PURE__ */ b(K, { value: ((G = c == null ? void 0 : c.tempGasObj) == null ? void 0 : G.amountInNative) || 0, options: { maxDecimals: 8 } }),
48
+ ` ${((T = (O = c == null ? void 0 : c.token) == null ? void 0 : O.token) == null ? void 0 : T.symbol) || ""})`
49
+ ] })
50
+ ] })
51
+ ] })
52
+ ] }),
53
+ /* @__PURE__ */ t("div", { className: " bw-text-sm bw-font-medium bw-mt-2 bw-text-text-loaderbar ", children: [
54
+ n.isFetching ? /* @__PURE__ */ b(o, { className: "bw-bg-background-secondary bw-w-[50px] bw-rounded-sm bw-h-[20px] bw-min-h-[20px]", variant: "rectangular", animation: "wave", height: 20, width: 50 }) : /* @__PURE__ */ t("p", { className: "bw-text-text-secondary bw-font-medium bw-text-xs md:bw-text-sm", children: [
55
+ "$",
56
+ /* @__PURE__ */ b(J, { value: be, decimal: 10 })
57
+ ] }),
58
+ n.isFetching ? /* @__PURE__ */ b(o, { className: "bw-bg-background-secondary bw-w-[50px] bw-mt-2 bw-rounded-sm bw-h-[20px] bw-min-h-[20px] ", variant: "rectangular", animation: "wave", height: 20, width: 50 }) : ((R = (L = (z = x == null ? void 0 : x.data) == null ? void 0 : z.quotes) == null ? void 0 : L[0]) == null ? void 0 : R._id) === e._id ? /* @__PURE__ */ b("div", { style: { ...w.gradientStyle }, className: `${l || `${(_ = w.gradientStyle) != null && _.background ? "" : "bw-bg-gradient-to-r bw-from-[#A45EFF] bw-to-[#2CFFE4]"} `} bw-mt-3 bw-text-right bw-text-transparent bw-text-[10px] bw-font-bold bw-bg-clip-text ${a.gradienttext}`, children: "BEST" }) : /* @__PURE__ */ b(m, {})
59
+ ] })
60
+ ] }),
61
+ n.isFetching ? /* @__PURE__ */ b("div", { className: "bw-absolute bw-w-[40px] bw-h-[40px] bw-bottom-[-35%] bw-z-20 ", children: /* @__PURE__ */ b(re, {}) }) : /* @__PURE__ */ b(m, {}),
62
+ /* @__PURE__ */ t("div", { className: "bw-h-[18px] bw-w-max bw-z-10 bw-min-w-[200px] bw-bg-background-container bw-flex bw-items-center bw-absolute bw-bottom-[-10%]", children: [
63
+ !n.isFetching && !we.isEmpty(e) ? /* @__PURE__ */ t("div", { className: "bw-flex bw-w-full bw-px-6 bw-items-center bw-gap-x-1", children: [
64
+ " ",
65
+ /* @__PURE__ */ t("p", { className: "bw-text-sm bw-w-full bw-text-center bw-flex bw-justify-center bw-items-center bw-font-normal bw-my-1 bw-text-text-secondary", children: [
66
+ /* @__PURE__ */ b("span", { className: "bw-text-sm bw-font-light", children: "via" }),
67
+ " ",
68
+ /* @__PURE__ */ b("img", { src: ne, className: "bw-rounded-[50%] bw-mx-[4px] bw-min-w-[18px] bw-max-h-[18px] bw-min-h-[18px]", width: 18, height: 18 }),
69
+ ((M = e == null ? void 0 : e.providerDetails) == null ? void 0 : M.name) || "",
70
+ ": ",
71
+ e == null ? void 0 : e.protocolsUsed[0],
72
+ ((V = e == null ? void 0 : e.protocolsUsed) == null ? void 0 : V.length) <= 1 ? "" : /* @__PURE__ */ t("span", { className: "bw-ml-1 bw-text-xs bw-font-normal", children: [
73
+ `+${((q = e == null ? void 0 : e.protocolsUsed) == null ? void 0 : q.length) - 1}`,
74
+ " More"
75
+ ] }),
76
+ " "
77
+ ] }),
78
+ " "
79
+ ] }) : /* @__PURE__ */ b(m, {}),
80
+ /* @__PURE__ */ b("div", { style: n.isFetching ? {} : { ...w.gradientStyle }, className: ` ${n.isFetching ? "bw-bg-background-secondary" : ` ${l || ` ${a.overlay} ${(B = w == null ? void 0 : w.gradientStyle) != null && B.background ? "" : "bw-bg-gradient-to-r bw-from-[#A45EFF] bw-to-[#2CFFE4]"}`}`} bw-absolute bw-right-0 bw-rounded-[50%] bw-w-[4px] bw-h-[4px] ` }),
81
+ /* @__PURE__ */ b("div", { style: n.isFetching ? {} : { ...w.gradientStyle }, className: ` ${n.isFetching ? "bw-bg-background-secondary" : ` ${l || ` ${a.overlay} ${(P = w == null ? void 0 : w.gradientStyle) != null && P.background ? "" : "bw-bg-gradient-to-r bw-from-[#A45EFF] bw-to-[#2CFFE4]"}`}`} bw-absolute bw-rounded-[50%] bw-w-[4px] bw-h-[4px] ` })
82
+ ] })
83
+ ] }),
84
+ /* @__PURE__ */ b("div", { className: "bw-bg-background-container bw-flex bw-items-center bw-w-[85%] bw-mx-auto bw-rounded-b-md bw-justify-center bw-h-[60px]", children: n.isFetching ? /* @__PURE__ */ b("div", { className: "bw-mt-6 bw-w-full bw-h-[20px]" }) : /* @__PURE__ */ t("div", { className: "bw-flex bw-items-center bw-gap-x-4 bw-mt-2 bw-bg-background-container bw-justify-center ", children: [
85
+ /* @__PURE__ */ t("div", { className: "bw-flex bw-items-center bw-gap-x-1", children: [
86
+ /* @__PURE__ */ b("p", { className: "bw-text-sm bw-font-medium bw-text-text-secondary", children: "Fee" }),
87
+ /* @__PURE__ */ b("p", { className: "bw-text-sm bw-line-through bw-font-medium bw-text-text-secondary", children: "0.1%" }),
88
+ /* @__PURE__ */ b("p", { className: "bw-text-sm bw-font-medium bw-text-text-secondary", children: "0" })
89
+ ] }),
90
+ /* @__PURE__ */ t("div", { className: "bw-flex bw-items-center bw-gap-x-1", children: [
91
+ /* @__PURE__ */ b(de, { fill: "var(--tw-text-secondary)" }),
92
+ /* @__PURE__ */ b("p", { className: "bw-text-sm bw-font-medium bw-text-text-secondary", children: (e == null ? void 0 : e.estimatedTimeInSeconds) >= 90 ? `${Math.round(te(((e == null ? void 0 : e.estimatedTimeInSeconds) || 60) / 60, 2) || 0)}min` : `${(e == null ? void 0 : e.estimatedTimeInSeconds) || 60} secs` })
93
+ ] }),
94
+ /* @__PURE__ */ t("div", { className: " bw-gap-x-1 bw-flex bw-items-center bw-text-xs bw-font-normal bw-text-text-primary", children: [
95
+ /* @__PURE__ */ b(me, { fill: "var(--tw-text-secondary)" }),
96
+ /* @__PURE__ */ b("p", { className: "bw-text-sm bw-font-medium bw-text-text-secondary", children: `${((W = e == null ? void 0 : e.steps) == null ? void 0 : W.length) || ""} step` })
97
+ ] })
98
+ ] }) })
99
+ ] })
100
+ ] }) : y ? /* @__PURE__ */ b("div", { className: "bw-bg-background-container bw-text-text-secondary bw-justify-center bw-items-center bw-h-[80px] bw-relative bw-flex bw-flex-col bw-border bw-border-border-primary", children: "Failed to load routes" }) : /* @__PURE__ */ b(m, {}) : /* @__PURE__ */ b(m, {}) });
101
+ }
102
+ export {
103
+ Se as default
104
+ };
@@ -1,6 +1,6 @@
1
1
  import { jsxs as o, jsx as a, Fragment as m } from "react/jsx-runtime";
2
2
  import { s as l } from "./WidgetForm.module-QHJ0-m5f.js";
3
- import { u as g } from "./index-CKW0T5cV.js";
3
+ import { u as g } from "./index-jrRSGVAv.js";
4
4
  function y({ routesData: x, routes: e, quoteTimer: n, amount: c }) {
5
5
  var s, b, d, w;
6
6
  const r = g((i) => i.configuration), t = g((i) => i.gradient);
@@ -1,5 +1,5 @@
1
1
  import { jsxs as s, jsx as t } from "react/jsx-runtime";
2
- import { u as a } from "./index-CKW0T5cV.js";
2
+ import { u as a } from "./index-jrRSGVAv.js";
3
3
  function w({ fill1: o, fill2: r }) {
4
4
  return /* @__PURE__ */ s(
5
5
  "svg",
@@ -1,8 +1,8 @@
1
- import { b as go, g as To, i as yo, _ as vo, p as B, d as n, e as D, s as Q, f as Ve, h as Po, j as ze, P as e } from "./index-CKW0T5cV.js";
1
+ import { b as go, g as To, i as yo, _ as vo, p as B, d as n, e as D, s as Q, f as Ve, h as Po, j as ze, P as e } from "./index-jrRSGVAv.js";
2
2
  import * as p from "react";
3
- import { G as Be, b as wo, u as Ro, a as Co, P as He } from "./Grow-DD-vKWVq.js";
3
+ import { G as Be, b as wo, u as Ro, a as Co, P as He } from "./Grow-yGx8gW63.js";
4
4
  import { jsx as j, jsxs as Se } from "react/jsx-runtime";
5
- import { j as xo, q as I, l as Ue, s as Oo, b as Eo, n as Mo, D as A, E as _o, w as No } from "./useRegisterError-HcIKoHXK.js";
5
+ import { j as xo, q as I, l as Ue, s as Oo, b as Eo, n as Mo, D as A, E as _o, w as No } from "./useRegisterError-ASrXLfJ4.js";
6
6
  function Lo(r) {
7
7
  return To("MuiTooltip", r);
8
8
  }
@@ -1,12 +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-CKW0T5cV.js";
4
+ import { a as _, u as h, aA as Re, aB as pe } from "./index-jrRSGVAv.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-HcIKoHXK.js";
7
+ import { u as ge, d as Qe, c as He, C as ye } from "./useRegisterError-ASrXLfJ4.js";
8
8
  import { v as Je } from "./validError-CDlJpg_f.js";
9
- import { u as Ke, g as Ue, p as Xe } from "./index-CcUdKZ4Q.js";
9
+ import { u as Ke, g as Ue, p as Xe } from "./index-Bvhi7Rtm.js";
10
10
  function Ye(n) {
11
11
  const { wallet: u, address: l } = _(), [N, B] = v(0);
12
12
  async function x() {
@@ -1,4 +1,4 @@
1
- import { m as l } from "./core-C-40Q93g.js";
1
+ import { m as l } from "./core-C1aaVsCi.js";
2
2
  const o = l`<svg
3
3
  width="14"
4
4
  height="14"
@@ -1,4 +1,4 @@
1
- import { m as a } from "./core-C-40Q93g.js";
1
+ import { m as a } from "./core-C1aaVsCi.js";
2
2
  const o = a`<svg fill="none" viewBox="0 0 24 24">
3
3
  <path
4
4
  style="fill: var(--wui-color-accent-100);"
@@ -1,4 +1,4 @@
1
- import { m as a } from "./core-C-40Q93g.js";
1
+ import { m as a } from "./core-C1aaVsCi.js";
2
2
  const e = a`
3
3
  <svg width="36" height="36">
4
4
  <path
@@ -1,4 +1,4 @@
1
- import { m as l } from "./core-C-40Q93g.js";
1
+ import { m as l } from "./core-C1aaVsCi.js";
2
2
  const f = l`<svg fill="none" viewBox="0 0 40 40">
3
3
  <g clip-path="url(#a)">
4
4
  <g clip-path="url(#b)">
@@ -1,4 +1,4 @@
1
- import { m as C } from "./core-C-40Q93g.js";
1
+ import { m as C } from "./core-C1aaVsCi.js";
2
2
  const e = C`<svg
3
3
  fill="none"
4
4
  viewBox="0 0 21 20"
@@ -1,4 +1,4 @@
1
- import { m as o } from "./core-C-40Q93g.js";
1
+ import { m as o } from "./core-C1aaVsCi.js";
2
2
  const e = o`<svg fill="none" viewBox="0 0 14 15">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { m as e } from "./core-C-40Q93g.js";
1
+ import { m as e } from "./core-C1aaVsCi.js";
2
2
  const o = e`<svg fill="none" viewBox="0 0 14 15">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { m as l } from "./core-C-40Q93g.js";
1
+ import { m as l } from "./core-C1aaVsCi.js";
2
2
  const e = l`<svg fill="none" viewBox="0 0 14 15">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { m as o } from "./core-C-40Q93g.js";
1
+ import { m as o } from "./core-C1aaVsCi.js";
2
2
  const e = o`<svg fill="none" viewBox="0 0 14 15">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { m as e } from "./core-C-40Q93g.js";
1
+ import { m as e } from "./core-C1aaVsCi.js";
2
2
  const o = e`<svg
3
3
  xmlns="http://www.w3.org/2000/svg"
4
4
  width="12"
@@ -1,6 +1,6 @@
1
- import { i as D, e as G, r as q, a as A, x as c, C as U, A as M, O as tt, b as z, E as et, R as O, c as Ut, d as K, f as N, S as pe, g as Cn, W as fe, h as Ze, j as vi, T as ti, k as Xt, M as on, l as rn, m as Dt, n as yi, o as $n } from "./core-C-40Q93g.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-_QupYxFp.js";
3
- import { n as Wn } from "./index-CKW0T5cV.js";
1
+ import { i as D, e as G, r as q, a as A, x as c, C as U, A as M, O as tt, b as z, E as et, R as O, c as Ut, d as K, f as N, S as pe, g as Cn, W as fe, h as Ze, j as vi, T as ti, k as Xt, M as on, l as rn, m as Dt, n as yi, o as $n } from "./core-C1aaVsCi.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-ZV3n3hja.js";
3
+ import { n as Wn } from "./index-jrRSGVAv.js";
4
4
  const Sn = D`
5
5
  :host {
6
6
  position: relative;
@@ -1,4 +1,4 @@
1
- import { m as l } from "./core-C-40Q93g.js";
1
+ import { m as l } from "./core-C1aaVsCi.js";
2
2
  const a = l`<svg fill="none" viewBox="0 0 20 20">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { m as C } from "./core-C-40Q93g.js";
1
+ import { m as C } from "./core-C1aaVsCi.js";
2
2
  const l = C`<svg
3
3
  xmlns="http://www.w3.org/2000/svg"
4
4
  width="12"
@@ -1,4 +1,4 @@
1
- import { ad as L, ae as b, af as F, ag as N, ah as P, ai as w, aj as S, ak as E, al as $, am as C, an as I, ao as m, ap as G, aq as R, ar as k, as as y, at as O, au as q, av as T, aw as v, ax as D, ay as A, az as H } from "./index-CKW0T5cV.js";
1
+ import { ad as L, ae as b, af as F, ag as N, ah as P, ai as w, aj as S, ak as E, al as $, am as C, an as I, ao as m, ap as G, aq as R, ar as k, as as y, at as O, au as q, av as T, aw as v, ax as D, ay as A, az as H } from "./index-jrRSGVAv.js";
2
2
  const h = "/docs/contract/encodeErrorResult";
3
3
  function x(t) {
4
4
  const { abi: s, errorName: a, args: r } = t;
@@ -1,4 +1,4 @@
1
- import { m as e } from "./core-C-40Q93g.js";
1
+ import { m as e } from "./core-C1aaVsCi.js";
2
2
  const o = e`<svg
3
3
  width="28"
4
4
  height="28"
@@ -1,4 +1,4 @@
1
- import { m as e } from "./core-C-40Q93g.js";
1
+ import { m as e } from "./core-C1aaVsCi.js";
2
2
  const o = e`<svg fill="none" viewBox="0 0 14 14">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { m as o } from "./core-C-40Q93g.js";
1
+ import { m as o } from "./core-C1aaVsCi.js";
2
2
  const e = o`<svg fill="none" viewBox="0 0 16 16">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { m as e } from "./core-C-40Q93g.js";
1
+ import { m as e } from "./core-C1aaVsCi.js";
2
2
  const o = e`<svg fill="none" viewBox="0 0 16 16">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { m as l } from "./core-C-40Q93g.js";
1
+ import { m as l } from "./core-C1aaVsCi.js";
2
2
  const o = l`<svg fill="none" viewBox="0 0 16 16">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { m as l } from "./core-C-40Q93g.js";
1
+ import { m as l } from "./core-C1aaVsCi.js";
2
2
  const e = l`<svg fill="none" viewBox="0 0 16 16">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { m as t } from "./core-C-40Q93g.js";
1
+ import { m as t } from "./core-C1aaVsCi.js";
2
2
  const o = t`<svg width="36" height="36" fill="none">
3
3
  <path
4
4
  fill="#fff"
@@ -1,4 +1,4 @@
1
- import { m as C } from "./core-C-40Q93g.js";
1
+ import { m as C } from "./core-C1aaVsCi.js";
2
2
  const l = C`<svg width="14" height="14" viewBox="0 0 14 14" fill="none">
3
3
  <path
4
4
  fill-rule="evenodd"
@@ -1,4 +1,4 @@
1
- import { m as l } from "./core-C-40Q93g.js";
1
+ import { m as l } from "./core-C1aaVsCi.js";
2
2
  const o = l`<svg fill="none" viewBox="0 0 16 16">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { m as l } from "./core-C-40Q93g.js";
1
+ import { m as l } from "./core-C1aaVsCi.js";
2
2
  const o = l`<svg fill="none" viewBox="0 0 20 20">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { m as l } from "./core-C-40Q93g.js";
1
+ import { m as l } from "./core-C1aaVsCi.js";
2
2
  const e = l`<svg fill="none" viewBox="0 0 16 16">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { m as C } from "./core-C-40Q93g.js";
1
+ import { m as C } from "./core-C1aaVsCi.js";
2
2
  const o = C`<svg
3
3
  xmlns="http://www.w3.org/2000/svg"
4
4
  width="16"
@@ -1,6 +1,6 @@
1
1
  import { B as ot } from "./index-DTish3yr.js";
2
- import { I as bi, t as at, g as ne, c as F, a as xt, C as dp, f as At, d as pp, b as Wi, s as wa, e as ih, h as mr, k as fn, A as nh, E as ft, i as fp, j as gp, y as Ut, l as sr, r as vi, O as oc, o as Ht, m as mp, n as ac, p as cc, q as ao, N as lc, P as Tc, Q as wp, u as yp, v as bp, w as $c, x as Gr, z as oh, B as ms, D as as, F as ah, G as As, H as ts } from "./index.es-jPcY07p0.js";
3
- import { p as Ee } from "./index-CKW0T5cV.js";
2
+ import { I as bi, t as at, g as ne, c as F, a as xt, C as dp, f as At, d as pp, b as Wi, s as wa, e as ih, h as mr, k as fn, A as nh, E as ft, i as fp, j as gp, y as Ut, l as sr, r as vi, O as oc, o as Ht, m as mp, n as ac, p as cc, q as ao, N as lc, P as Tc, Q as wp, u as yp, v as bp, w as $c, x as Gr, z as oh, B as ms, D as as, F as ah, G as As, H as ts } from "./index.es-nUnnJ19W.js";
3
+ import { p as Ee } from "./index-jrRSGVAv.js";
4
4
  import { formatUnits as vp, recoverAddress as Ep, fallback as kc, http as Sn, toHex as xc } from "viem";
5
5
  const K = {
6
6
  WC_NAME_SUFFIX: ".reown.id",
@@ -16457,7 +16457,7 @@ class hp extends RA {
16457
16457
  }
16458
16458
  async injectModalUi() {
16459
16459
  if (!sh && te.isClient()) {
16460
- if (await import("./basic-BN6CB8n0.js"), await import("./w3m-modal-DkWp98Dg.js"), !document.querySelector("w3m-modal")) {
16460
+ if (await import("./basic-DyEiYdi7.js"), await import("./w3m-modal-SDOzcZja.js"), !document.querySelector("w3m-modal")) {
16461
16461
  const s = document.createElement("w3m-modal");
16462
16462
  !B.state.disableAppend && !B.state.enableEmbedded && document.body.insertAdjacentElement("beforeend", s);
16463
16463
  }
@@ -1,4 +1,4 @@
1
- import { m as o } from "./core-C-40Q93g.js";
1
+ import { m as o } from "./core-C1aaVsCi.js";
2
2
  const l = o` <svg fill="none" viewBox="0 0 13 4">
3
3
  <path fill="currentColor" d="M.5 0h12L8.9 3.13a3.76 3.76 0 0 1-4.8 0L.5 0Z" />
4
4
  </svg>`;
@@ -1,4 +1,4 @@
1
- import { m as o } from "./core-C-40Q93g.js";
1
+ import { m as o } from "./core-C1aaVsCi.js";
2
2
  const l = o`<svg fill="none" viewBox="0 0 14 6">
3
3
  <path style="fill: var(--wui-color-bg-150);" d="M0 1h14L9.21 5.12a3.31 3.31 0 0 1-4.49 0L0 1Z" />
4
4
  <path
@@ -1,4 +1,4 @@
1
- import { m as c } from "./core-C-40Q93g.js";
1
+ import { m as c } from "./core-C1aaVsCi.js";
2
2
  const l = c`<svg fill="none" viewBox="0 0 20 20">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { m as a } from "./core-C-40Q93g.js";
1
+ import { m as a } from "./core-C1aaVsCi.js";
2
2
  const e = a`<svg fill="none" viewBox="0 0 16 16">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { m as l } from "./core-C-40Q93g.js";
1
+ import { m as l } from "./core-C1aaVsCi.js";
2
2
  const i = l`<svg fill="none" viewBox="0 0 40 40">
3
3
  <g clip-path="url(#a)">
4
4
  <g clip-path="url(#b)">
@@ -1,7 +1,7 @@
1
1
  import { jsx as st } from "react/jsx-runtime";
2
2
  import { useRef as _e, useEffect as xe } from "react";
3
- import { m as X, u as me } from "./index-CKW0T5cV.js";
4
- import { L as ve } from "./useRegisterError-HcIKoHXK.js";
3
+ import { m as X, u as me } from "./index-jrRSGVAv.js";
4
+ import { L as ve } from "./useRegisterError-ASrXLfJ4.js";
5
5
  var m = {}, F = { exports: {} };
6
6
  F.exports;
7
7
  var qt;
@@ -1,4 +1,4 @@
1
- import { m as c } from "./core-C-40Q93g.js";
1
+ import { m as c } from "./core-C1aaVsCi.js";
2
2
  const v = c`<svg fill="none" viewBox="0 0 16 16">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { m as C } from "./core-C-40Q93g.js";
1
+ import { m as C } from "./core-C1aaVsCi.js";
2
2
  const t = C`<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
3
3
  <path d="M15.0162 11.6312L9.55059 2.13937C9.39228 1.86862 9.16584 1.64405 8.8938 1.48798C8.62176 1.33192 8.3136 1.2498 7.99997 1.2498C7.68634 1.2498 7.37817 1.33192 7.10613 1.48798C6.83409 1.64405 6.60765 1.86862 6.44934 2.13937L0.983716 11.6312C0.830104 11.894 0.749146 12.1928 0.749146 12.4972C0.749146 12.8015 0.830104 13.1004 0.983716 13.3631C1.14027 13.6352 1.3664 13.8608 1.63889 14.0166C1.91139 14.1725 2.22044 14.253 2.53434 14.25H13.4656C13.7793 14.2528 14.0881 14.1721 14.3603 14.0163C14.6326 13.8604 14.8585 13.635 15.015 13.3631C15.1688 13.1005 15.2499 12.8017 15.2502 12.4973C15.2504 12.193 15.1696 11.8941 15.0162 11.6312ZM13.7162 12.6125C13.6908 12.6558 13.6541 12.6914 13.6101 12.7157C13.5661 12.7399 13.5164 12.7517 13.4662 12.75H2.53434C2.48415 12.7517 2.43442 12.7399 2.39042 12.7157C2.34641 12.6914 2.30976 12.6558 2.28434 12.6125C2.26278 12.5774 2.25137 12.5371 2.25137 12.4959C2.25137 12.4548 2.26278 12.4144 2.28434 12.3794L7.74997 2.88749C7.77703 2.84583 7.81408 2.8116 7.85774 2.7879C7.9014 2.7642 7.95029 2.75178 7.99997 2.75178C8.04964 2.75178 8.09854 2.7642 8.1422 2.7879C8.18586 2.8116 8.2229 2.84583 8.24997 2.88749L13.715 12.3794C13.7367 12.4143 13.7483 12.4546 13.7486 12.4958C13.7488 12.5369 13.7376 12.5773 13.7162 12.6125ZM7.24997 8.49999V6.49999C7.24997 6.30108 7.32898 6.11031 7.46964 5.96966C7.61029 5.82901 7.80105 5.74999 7.99997 5.74999C8.19888 5.74999 8.38964 5.82901 8.5303 5.96966C8.67095 6.11031 8.74997 6.30108 8.74997 6.49999V8.49999C8.74997 8.6989 8.67095 8.88967 8.5303 9.03032C8.38964 9.17097 8.19888 9.24999 7.99997 9.24999C7.80105 9.24999 7.61029 9.17097 7.46964 9.03032C7.32898 8.88967 7.24997 8.6989 7.24997 8.49999ZM8.99997 11C8.99997 11.1978 8.94132 11.3911 8.83144 11.5556C8.72155 11.72 8.56538 11.8482 8.38265 11.9239C8.19992 11.9996 7.99886 12.0194 7.80488 11.9808C7.6109 11.9422 7.43271 11.847 7.29286 11.7071C7.15301 11.5672 7.05777 11.3891 7.01918 11.1951C6.9806 11.0011 7.0004 10.8 7.07609 10.6173C7.15177 10.4346 7.27995 10.2784 7.4444 10.1685C7.60885 10.0586 7.80219 9.99999 7.99997 9.99999C8.26518 9.99999 8.51954 10.1053 8.70707 10.2929C8.89461 10.4804 8.99997 10.7348 8.99997 11Z" fill="currentColor"/>
4
4
  </svg>
@@ -1,4 +1,4 @@
1
- import { m as a } from "./core-C-40Q93g.js";
1
+ import { m as a } from "./core-C1aaVsCi.js";
2
2
  const e = a`<svg fill="none" viewBox="0 0 14 15">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { m as l } from "./core-C-40Q93g.js";
1
+ import { m as l } from "./core-C1aaVsCi.js";
2
2
  const o = l`<svg fill="none" viewBox="0 0 14 15">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { m as l } from "./core-C-40Q93g.js";
1
+ import { m as l } from "./core-C1aaVsCi.js";
2
2
  const f = l`<svg fill="none" viewBox="0 0 40 40">
3
3
  <g clip-path="url(#a)">
4
4
  <g clip-path="url(#b)">
@@ -1,4 +1,4 @@
1
- import { m as h } from "./core-C-40Q93g.js";
1
+ import { m as h } from "./core-C1aaVsCi.js";
2
2
  const a = h`<svg style="border-radius: 9999px; overflow: hidden;" fill="none" viewBox="0 0 1000 1000">
3
3
  <rect width="1000" height="1000" rx="9999" ry="9999" fill="#855DCD"/>
4
4
  <path fill="#855DCD" d="M0 0h1000v1000H0V0Z" />
@@ -1,4 +1,4 @@
1
- import { m as a } from "./core-C-40Q93g.js";
1
+ import { m as a } from "./core-C1aaVsCi.js";
2
2
  const l = a`<svg fill="none" viewBox="0 0 16 16">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,8 +1,8 @@
1
- import { P as e, d as M, _ as Z, p as z, e as U, b as he, i as me, s as ee, E as Pe, g as ke, h as Me, u as ln, l as cn } from "./index-CKW0T5cV.js";
1
+ import { P as e, d as M, _ as Z, p as z, e as U, b as he, i as me, s as ee, E as Pe, g as ke, h as Me, u as ln, l as cn } from "./index-jrRSGVAv.js";
2
2
  import * as u from "react";
3
3
  import ue, { isValidElement as de, cloneElement as pe, Children as un } from "react";
4
4
  import { jsx as A, jsxs as Ne } from "react/jsx-runtime";
5
- import { h as dn, o as Y, _ as pn, p as Le, q as fn, b as re, s as hn, l as Q, r as mn, j as bn, T as gn, n as We, t as Ve, v as En, w as we, x as yn, y as Tn, m as Ae, P as Rn, H as xn } from "./useRegisterError-HcIKoHXK.js";
5
+ import { h as dn, o as Y, _ as pn, p as Le, q as fn, b as re, s as hn, l as Q, r as mn, j as bn, T as gn, n as We, t as Ve, v as En, w as we, x as yn, y as Tn, m as Ae, P as Rn, H as xn } from "./useRegisterError-ASrXLfJ4.js";
6
6
  import { getWallet as vn, WalletType as Cn } from "graz";
7
7
  function Pn(n) {
8
8
  const {