@blockend/widget 1.0.48 → 1.0.49-beta.2
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-GG915rBw.js → AllRoutes-SK8ZFq_x.js} +9 -9
- package/dist/{Box-DdtDQFy9.js → Box-DAMq9mQT.js} +7 -7
- package/dist/EstGas-B9rFXiVW.js +1486 -0
- package/dist/{Grow-BUfBvEgN.js → Grow-Qzfjlf_b.js} +2 -2
- package/dist/{InputComp-90kAsSUc.js → InputComp-BUhhYfS_.js} +3 -3
- package/dist/{LoadRoute-D9IO_K77.js → LoadRoute-B9EnT59x.js} +4 -4
- package/dist/{QuotesProgress-BoWKVDeg.js → QuotesProgress-DMyLQ_Iw.js} +1 -1
- package/dist/{SwapAsset-BWDjgwJW.js → SwapAsset-mgONO1Wh.js} +1 -1
- package/dist/{Tooltip-SvgmfCp2.js → Tooltip-CCwWxndh.js} +3 -3
- package/dist/{TxnButton-DVWpwZmv.js → TxnButton-CqL_9AIV.js} +22 -23
- package/dist/{add-CsVPUZji.js → add-DgNWpTbE.js} +1 -1
- package/dist/{all-wallets-CFmAxEw7.js → all-wallets-DbLggbFH.js} +1 -1
- package/dist/{app-store-B4mtp1mU.js → app-store-BM-3bzwt.js} +1 -1
- package/dist/{apple-C-vXA_-Q.js → apple-DGgkQglq.js} +1 -1
- package/dist/{arrow-bottom-6CDjU1eE.js → arrow-bottom-BCcsiVDf.js} +1 -1
- package/dist/{arrow-bottom-circle-DN9qZO8D.js → arrow-bottom-circle-BxnEnxCv.js} +1 -1
- package/dist/{arrow-left-CjJLmw6Y.js → arrow-left-BajNw8Bo.js} +1 -1
- package/dist/{arrow-right-BpTLDTMX.js → arrow-right-Kqyf83Ue.js} +1 -1
- package/dist/{arrow-top-DU1aEYkh.js → arrow-top-P0YZuCsS.js} +1 -1
- package/dist/{bank-CtT_v4OA.js → bank-BdBlTjok.js} +1 -1
- package/dist/{basic-CQ9dw-89.js → basic-B7dsMTNk.js} +3 -3
- package/dist/{browser-BzC416Ga.js → browser-CiQFAZ4t.js} +1 -1
- package/dist/{card-D9RpFcx0.js → card-D94MFuQu.js} +1 -1
- package/dist/{ccip-Dzss3Y16.js → ccip-vv5r0Apm.js} +55 -55
- package/dist/{checkmark-CtUAX8EG.js → checkmark-Cucqq4L6.js} +1 -1
- package/dist/{checkmark-bold-VZL2SuxB.js → checkmark-bold-C5WgesjY.js} +1 -1
- package/dist/{chevron-bottom-CV_Ifosh.js → chevron-bottom-CyfhotQQ.js} +1 -1
- package/dist/{chevron-left-vauViuBF.js → chevron-left-CXJ7R3iS.js} +1 -1
- package/dist/{chevron-right-Ch0-iP-t.js → chevron-right-4ex-g3or.js} +1 -1
- package/dist/{chevron-top-fvIkVky4.js → chevron-top-BDfgSTbr.js} +1 -1
- package/dist/{chrome-store-CgMxFYMx.js → chrome-store-CX9plHu3.js} +1 -1
- package/dist/{clock-CD_Be9u1.js → clock-CtQPqpVc.js} +1 -1
- package/dist/{close-CuvWjYvJ.js → close-CYlyCBrT.js} +1 -1
- package/dist/{coinPlaceholder-UVXPM539.js → coinPlaceholder-DS0YfqOM.js} +1 -1
- package/dist/{compass-DORfxdqQ.js → compass-DVktgTZ-.js} +1 -1
- package/dist/{copy-BWAfHXcr.js → copy-Bk0qGavv.js} +1 -1
- package/dist/{core-CxJ55_hm.js → core-DgJB3Qno.js} +16 -17
- package/dist/{cursor-hvQCvuY0.js → cursor-CCqfxECm.js} +1 -1
- package/dist/{cursor-transparent-BdJs-4PE.js → cursor-transparent-CPbYJ9jd.js} +1 -1
- package/dist/{desktop-C16HW3Xx.js → desktop-DAykpsO7.js} +1 -1
- package/dist/{disconnect-DRUAX0I2.js → disconnect-DL8vRZg2.js} +1 -1
- package/dist/{discord-I752GmaU.js → discord-BS8TPANA.js} +1 -1
- package/dist/{down-ZnYZwmwQ.js → down-D6aGpC9P.js} +2 -2
- package/dist/{etherscan--xkrRjIS.js → etherscan-YSjUjqH5.js} +1 -1
- package/dist/{exclamation-triangle-DXj7lIwe.js → exclamation-triangle-Cd8s_lsN.js} +1 -1
- package/dist/{extension-DBPkceL0.js → extension-BfYpl1LK.js} +1 -1
- package/dist/{external-link-CbPqDFzI.js → external-link-uF5MV_9t.js} +1 -1
- package/dist/{facebook-CFI3uzSu.js → facebook-DO648yaX.js} +1 -1
- package/dist/{farcaster-DN93zQp8.js → farcaster-DZF64pQM.js} +1 -1
- package/dist/{filters-C6BY9h_R.js → filters-DMTGJi0Y.js} +1 -1
- package/dist/{getChainIds-DP8l1FCH.js → getChainIds-DUKOh0Kp.js} +2 -2
- package/dist/getCosmosAddress-Cb98patK.js +6075 -0
- package/dist/{github-DD1Wyw9Y.js → github-DQDrN0RZ.js} +1 -1
- package/dist/{google-D1E_G9Jw.js → google-DRrIdyFk.js} +1 -1
- package/dist/{hamburger-DPRWU8rW.js → hamburger-DFh0u4ls.js} +454 -461
- package/dist/{help-circle-MjewM8fh.js → help-circle-n5Ls2-2F.js} +1 -1
- package/dist/{id-DWrEAL0Y.js → id-DbShnIoD.js} +1 -1
- package/dist/{image-B1OlMZ_D.js → image-B5YOEd-c.js} +1 -1
- package/dist/{index-CkvOQTTa.js → index-BC_WzIG-.js} +1 -1
- package/dist/index-BIN4LE_6.js +42277 -0
- package/dist/{index-ByE0Pqgp.js → index-BwAuNUFT.js} +2600 -2625
- package/dist/{index-B5AWUOpG.js → index-CDBWyjo1.js} +11 -11
- package/dist/{index-B8t6PLz8.js → index-CL2LZuVL.js} +2 -2
- package/dist/{index-8FeyhkrZ.js → index-CktG1k9u.js} +1 -1
- package/dist/{index-D7pkN4od.js → index-D4uRM0hD.js} +4 -4
- package/dist/index-DEecyVOZ.js +6711 -0
- package/dist/{index-BtSjpRJE.js → index-DuTB7F2j.js} +257 -259
- package/dist/{index-CztKubZB.js → index-DvR1iioL.js} +78 -78
- package/dist/index-VUJh-JIq.js +206 -0
- package/dist/{index.es-COEAI0x5.js → index.es-BRVISbr4.js} +1625 -1712
- package/dist/{index.es-leDx9_0K.js → index.es-DD1q2x58.js} +1 -1
- package/dist/index.es.js +1 -1
- package/dist/{info-BIglQyok.js → info-5rQx4FCT.js} +1 -1
- package/dist/{info-circle-ygUHgPMr.js → info-circle-DnNqx9Fu.js} +1 -1
- package/dist/{lightbulb-n3p60wb2.js → lightbulb-DEa_QXWk.js} +1 -1
- package/dist/{mail-CvJFMwVR.js → mail-DNWPpemE.js} +1 -1
- package/dist/{mobile-2Q4FMkp7.js → mobile-CsmBvAG0.js} +1 -1
- package/dist/{more-Dl6UNVYf.js → more-Bjd7dOWF.js} +1 -1
- package/dist/{network-placeholder-BHa-8IYu.js → network-placeholder-DsQ_HMHG.js} +1 -1
- package/dist/{nftPlaceholder-C-kNqpt7.js → nftPlaceholder-KsQSrTt2.js} +1 -1
- package/dist/{off-vA0xiDBU.js → off-B0hqloiu.js} +1 -1
- package/dist/{play-store-BdESAvn7.js → play-store-DseAgFmo.js} +1 -1
- package/dist/{plus-CI5D39lI.js → plus-BJCNDRM3.js} +1 -1
- package/dist/{qr-code-DLg6lOTi.js → qr-code-lEBAtsO4.js} +1 -1
- package/dist/{recycle-horizontal-3J42KsWq.js → recycle-horizontal-K4rUQslN.js} +1 -1
- package/dist/{refresh-BEgbmmM1.js → refresh-DEZrriLV.js} +1 -1
- package/dist/{reown-logo-ATUFBzuh.js → reown-logo-BHbe-CUO.js} +1 -1
- package/dist/{search-Dz34DwRb.js → search-CIK9XN0-.js} +1 -1
- package/dist/{send-B57ao-nU.js → send-Bxpdb3Vf.js} +1 -1
- package/dist/{swapHorizontal-po0eESEE.js → swapHorizontal-BBHEuYx1.js} +1 -1
- package/dist/{swapHorizontalBold-jdwjn6I2.js → swapHorizontalBold-t0VsiN4I.js} +1 -1
- package/dist/{swapHorizontalMedium-DFkcNnL0.js → swapHorizontalMedium-PzUH_Th4.js} +1 -1
- package/dist/{swapHorizontalRoundedBold-BDIZiNDG.js → swapHorizontalRoundedBold-EyDyL2Bj.js} +1 -1
- package/dist/{swapVertical-CCv4s5uT.js → swapVertical-CusOd1Kd.js} +1 -1
- package/dist/{telegram-GAjmXYBs.js → telegram-DfP_Unfg.js} +1 -1
- package/dist/{three-dots-DcqTLEOU.js → three-dots-BcnJZFUd.js} +1 -1
- package/dist/{twitch-BGYB_svY.js → twitch-CN0F2VUn.js} +1 -1
- package/dist/{twitterIcon-BmqcVfVS.js → twitterIcon-DDA3Skm-.js} +1 -1
- package/dist/{unsupportedProp-AqCr28aR.js → unsupportedProp-CIQ48Cx8.js} +1 -1
- package/dist/{useRegisterError-pQkE1Atn.js → useRegisterError-DuNi8RxR.js} +1 -1
- package/dist/{verify-C6RCoVYC.js → verify-BVsIUy32.js} +1 -1
- package/dist/{verify-filled-BqhB0MZC.js → verify-filled-bQ1f0Y-d.js} +1 -1
- package/dist/{w3m-modal-DZ52Gjxh.js → w3m-modal-Cg8vnNGL.js} +2 -2
- package/dist/{wallet-XsxVSYSp.js → wallet-OISOAGe9.js} +1 -1
- package/dist/{wallet-placeholder-CTkFMX8-.js → wallet-placeholder-DZD3tMxc.js} +1 -1
- package/dist/{walletconnect-BwzMMj6O.js → walletconnect-CCANKmqY.js} +1 -1
- package/dist/{warning-circle-Ri_DXk1y.js → warning-circle-C_uh-wB2.js} +1 -1
- package/dist/{x-Dfc3V8pm.js → x-BpuzG7VO.js} +1 -1
- package/package.json +4 -2
- package/dist/EstGas-M3tvG2C0.js +0 -12724
- package/dist/getCosmosAddress-B5ISgLr5.js +0 -9565
- package/dist/index-BGoawJS_.js +0 -206
- package/dist/index-DRmMe_Lj.js +0 -30453
- package/dist/index-DTish3yr.js +0 -1014
- package/dist/index-Ga_wsstH.js +0 -159
@@ -1,4 +1,4 @@
|
|
1
|
-
import { B as N, D as V, i as b, r as $, a as S, x as m, n as q, F as I, o as H, e as Y } from "./core-
|
1
|
+
import { B as N, D as V, i as b, r as $, a as S, x as m, n as q, F as I, o as H, e as Y } from "./core-DgJB3Qno.js";
|
2
2
|
const w = {
|
3
3
|
getSpacingStyles(e, t) {
|
4
4
|
if (Array.isArray(e))
|
@@ -379,83 +379,83 @@ var R = function(e, t, i, a) {
|
|
379
379
|
return r > 3 && o && Object.defineProperty(t, i, o), o;
|
380
380
|
};
|
381
381
|
const E = {
|
382
|
-
add: async () => (await import("./add-
|
383
|
-
allWallets: async () => (await import("./all-wallets-
|
384
|
-
arrowBottomCircle: async () => (await import("./arrow-bottom-circle-
|
385
|
-
appStore: async () => (await import("./app-store-
|
386
|
-
apple: async () => (await import("./apple-
|
387
|
-
arrowBottom: async () => (await import("./arrow-bottom-
|
388
|
-
arrowLeft: async () => (await import("./arrow-left-
|
389
|
-
arrowRight: async () => (await import("./arrow-right-
|
390
|
-
arrowTop: async () => (await import("./arrow-top-
|
391
|
-
bank: async () => (await import("./bank-
|
392
|
-
browser: async () => (await import("./browser-
|
393
|
-
card: async () => (await import("./card-
|
394
|
-
checkmark: async () => (await import("./checkmark-
|
395
|
-
checkmarkBold: async () => (await import("./checkmark-bold-
|
396
|
-
chevronBottom: async () => (await import("./chevron-bottom-
|
397
|
-
chevronLeft: async () => (await import("./chevron-left-
|
398
|
-
chevronRight: async () => (await import("./chevron-right-
|
399
|
-
chevronTop: async () => (await import("./chevron-top-
|
400
|
-
chromeStore: async () => (await import("./chrome-store-
|
401
|
-
clock: async () => (await import("./clock-
|
402
|
-
close: async () => (await import("./close-
|
403
|
-
compass: async () => (await import("./compass-
|
404
|
-
coinPlaceholder: async () => (await import("./coinPlaceholder-
|
405
|
-
copy: async () => (await import("./copy-
|
406
|
-
cursor: async () => (await import("./cursor-
|
407
|
-
cursorTransparent: async () => (await import("./cursor-transparent-
|
408
|
-
desktop: async () => (await import("./desktop-
|
409
|
-
disconnect: async () => (await import("./disconnect-
|
410
|
-
discord: async () => (await import("./discord-
|
411
|
-
etherscan: async () => (await import("./etherscan
|
412
|
-
extension: async () => (await import("./extension-
|
413
|
-
externalLink: async () => (await import("./external-link-
|
414
|
-
facebook: async () => (await import("./facebook-
|
415
|
-
farcaster: async () => (await import("./farcaster-
|
416
|
-
filters: async () => (await import("./filters-
|
417
|
-
github: async () => (await import("./github-
|
418
|
-
google: async () => (await import("./google-
|
419
|
-
helpCircle: async () => (await import("./help-circle-
|
420
|
-
image: async () => (await import("./image-
|
421
|
-
id: async () => (await import("./id-
|
422
|
-
infoCircle: async () => (await import("./info-circle-
|
423
|
-
lightbulb: async () => (await import("./lightbulb-
|
424
|
-
mail: async () => (await import("./mail-
|
425
|
-
mobile: async () => (await import("./mobile-
|
426
|
-
more: async () => (await import("./more-
|
427
|
-
networkPlaceholder: async () => (await import("./network-placeholder-
|
428
|
-
nftPlaceholder: async () => (await import("./nftPlaceholder-
|
429
|
-
off: async () => (await import("./off-
|
430
|
-
playStore: async () => (await import("./play-store-
|
431
|
-
plus: async () => (await import("./plus-
|
432
|
-
qrCode: async () => (await import("./qr-code-
|
433
|
-
recycleHorizontal: async () => (await import("./recycle-horizontal-
|
434
|
-
refresh: async () => (await import("./refresh-
|
435
|
-
search: async () => (await import("./search-
|
436
|
-
send: async () => (await import("./send-
|
437
|
-
swapHorizontal: async () => (await import("./swapHorizontal-
|
438
|
-
swapHorizontalMedium: async () => (await import("./swapHorizontalMedium-
|
439
|
-
swapHorizontalBold: async () => (await import("./swapHorizontalBold-
|
440
|
-
swapHorizontalRoundedBold: async () => (await import("./swapHorizontalRoundedBold-
|
441
|
-
swapVertical: async () => (await import("./swapVertical-
|
442
|
-
telegram: async () => (await import("./telegram-
|
443
|
-
threeDots: async () => (await import("./three-dots-
|
444
|
-
twitch: async () => (await import("./twitch-
|
445
|
-
twitter: async () => (await import("./x-
|
446
|
-
twitterIcon: async () => (await import("./twitterIcon-
|
447
|
-
verify: async () => (await import("./verify-
|
448
|
-
verifyFilled: async () => (await import("./verify-filled-
|
449
|
-
wallet: async () => (await import("./wallet-
|
450
|
-
walletConnect: async () => (await import("./walletconnect-
|
451
|
-
walletConnectLightBrown: async () => (await import("./walletconnect-
|
452
|
-
walletConnectBrown: async () => (await import("./walletconnect-
|
453
|
-
walletPlaceholder: async () => (await import("./wallet-placeholder-
|
454
|
-
warningCircle: async () => (await import("./warning-circle-
|
455
|
-
x: async () => (await import("./x-
|
456
|
-
info: async () => (await import("./info-
|
457
|
-
exclamationTriangle: async () => (await import("./exclamation-triangle-
|
458
|
-
reown: async () => (await import("./reown-logo-
|
382
|
+
add: async () => (await import("./add-DgNWpTbE.js")).addSvg,
|
383
|
+
allWallets: async () => (await import("./all-wallets-DbLggbFH.js")).allWalletsSvg,
|
384
|
+
arrowBottomCircle: async () => (await import("./arrow-bottom-circle-BxnEnxCv.js")).arrowBottomCircleSvg,
|
385
|
+
appStore: async () => (await import("./app-store-BM-3bzwt.js")).appStoreSvg,
|
386
|
+
apple: async () => (await import("./apple-DGgkQglq.js")).appleSvg,
|
387
|
+
arrowBottom: async () => (await import("./arrow-bottom-BCcsiVDf.js")).arrowBottomSvg,
|
388
|
+
arrowLeft: async () => (await import("./arrow-left-BajNw8Bo.js")).arrowLeftSvg,
|
389
|
+
arrowRight: async () => (await import("./arrow-right-Kqyf83Ue.js")).arrowRightSvg,
|
390
|
+
arrowTop: async () => (await import("./arrow-top-P0YZuCsS.js")).arrowTopSvg,
|
391
|
+
bank: async () => (await import("./bank-BdBlTjok.js")).bankSvg,
|
392
|
+
browser: async () => (await import("./browser-CiQFAZ4t.js")).browserSvg,
|
393
|
+
card: async () => (await import("./card-D94MFuQu.js")).cardSvg,
|
394
|
+
checkmark: async () => (await import("./checkmark-Cucqq4L6.js")).checkmarkSvg,
|
395
|
+
checkmarkBold: async () => (await import("./checkmark-bold-C5WgesjY.js")).checkmarkBoldSvg,
|
396
|
+
chevronBottom: async () => (await import("./chevron-bottom-CyfhotQQ.js")).chevronBottomSvg,
|
397
|
+
chevronLeft: async () => (await import("./chevron-left-CXJ7R3iS.js")).chevronLeftSvg,
|
398
|
+
chevronRight: async () => (await import("./chevron-right-4ex-g3or.js")).chevronRightSvg,
|
399
|
+
chevronTop: async () => (await import("./chevron-top-BDfgSTbr.js")).chevronTopSvg,
|
400
|
+
chromeStore: async () => (await import("./chrome-store-CX9plHu3.js")).chromeStoreSvg,
|
401
|
+
clock: async () => (await import("./clock-CtQPqpVc.js")).clockSvg,
|
402
|
+
close: async () => (await import("./close-CYlyCBrT.js")).closeSvg,
|
403
|
+
compass: async () => (await import("./compass-DVktgTZ-.js")).compassSvg,
|
404
|
+
coinPlaceholder: async () => (await import("./coinPlaceholder-DS0YfqOM.js")).coinPlaceholderSvg,
|
405
|
+
copy: async () => (await import("./copy-Bk0qGavv.js")).copySvg,
|
406
|
+
cursor: async () => (await import("./cursor-CCqfxECm.js")).cursorSvg,
|
407
|
+
cursorTransparent: async () => (await import("./cursor-transparent-CPbYJ9jd.js")).cursorTransparentSvg,
|
408
|
+
desktop: async () => (await import("./desktop-DAykpsO7.js")).desktopSvg,
|
409
|
+
disconnect: async () => (await import("./disconnect-DL8vRZg2.js")).disconnectSvg,
|
410
|
+
discord: async () => (await import("./discord-BS8TPANA.js")).discordSvg,
|
411
|
+
etherscan: async () => (await import("./etherscan-YSjUjqH5.js")).etherscanSvg,
|
412
|
+
extension: async () => (await import("./extension-BfYpl1LK.js")).extensionSvg,
|
413
|
+
externalLink: async () => (await import("./external-link-uF5MV_9t.js")).externalLinkSvg,
|
414
|
+
facebook: async () => (await import("./facebook-DO648yaX.js")).facebookSvg,
|
415
|
+
farcaster: async () => (await import("./farcaster-DZF64pQM.js")).farcasterSvg,
|
416
|
+
filters: async () => (await import("./filters-DMTGJi0Y.js")).filtersSvg,
|
417
|
+
github: async () => (await import("./github-DQDrN0RZ.js")).githubSvg,
|
418
|
+
google: async () => (await import("./google-DRrIdyFk.js")).googleSvg,
|
419
|
+
helpCircle: async () => (await import("./help-circle-n5Ls2-2F.js")).helpCircleSvg,
|
420
|
+
image: async () => (await import("./image-B5YOEd-c.js")).imageSvg,
|
421
|
+
id: async () => (await import("./id-DbShnIoD.js")).idSvg,
|
422
|
+
infoCircle: async () => (await import("./info-circle-DnNqx9Fu.js")).infoCircleSvg,
|
423
|
+
lightbulb: async () => (await import("./lightbulb-DEa_QXWk.js")).lightbulbSvg,
|
424
|
+
mail: async () => (await import("./mail-DNWPpemE.js")).mailSvg,
|
425
|
+
mobile: async () => (await import("./mobile-CsmBvAG0.js")).mobileSvg,
|
426
|
+
more: async () => (await import("./more-Bjd7dOWF.js")).moreSvg,
|
427
|
+
networkPlaceholder: async () => (await import("./network-placeholder-DsQ_HMHG.js")).networkPlaceholderSvg,
|
428
|
+
nftPlaceholder: async () => (await import("./nftPlaceholder-KsQSrTt2.js")).nftPlaceholderSvg,
|
429
|
+
off: async () => (await import("./off-B0hqloiu.js")).offSvg,
|
430
|
+
playStore: async () => (await import("./play-store-DseAgFmo.js")).playStoreSvg,
|
431
|
+
plus: async () => (await import("./plus-BJCNDRM3.js")).plusSvg,
|
432
|
+
qrCode: async () => (await import("./qr-code-lEBAtsO4.js")).qrCodeIcon,
|
433
|
+
recycleHorizontal: async () => (await import("./recycle-horizontal-K4rUQslN.js")).recycleHorizontalSvg,
|
434
|
+
refresh: async () => (await import("./refresh-DEZrriLV.js")).refreshSvg,
|
435
|
+
search: async () => (await import("./search-CIK9XN0-.js")).searchSvg,
|
436
|
+
send: async () => (await import("./send-Bxpdb3Vf.js")).sendSvg,
|
437
|
+
swapHorizontal: async () => (await import("./swapHorizontal-BBHEuYx1.js")).swapHorizontalSvg,
|
438
|
+
swapHorizontalMedium: async () => (await import("./swapHorizontalMedium-PzUH_Th4.js")).swapHorizontalMediumSvg,
|
439
|
+
swapHorizontalBold: async () => (await import("./swapHorizontalBold-t0VsiN4I.js")).swapHorizontalBoldSvg,
|
440
|
+
swapHorizontalRoundedBold: async () => (await import("./swapHorizontalRoundedBold-EyDyL2Bj.js")).swapHorizontalRoundedBoldSvg,
|
441
|
+
swapVertical: async () => (await import("./swapVertical-CusOd1Kd.js")).swapVerticalSvg,
|
442
|
+
telegram: async () => (await import("./telegram-DfP_Unfg.js")).telegramSvg,
|
443
|
+
threeDots: async () => (await import("./three-dots-BcnJZFUd.js")).threeDotsSvg,
|
444
|
+
twitch: async () => (await import("./twitch-CN0F2VUn.js")).twitchSvg,
|
445
|
+
twitter: async () => (await import("./x-BpuzG7VO.js")).xSvg,
|
446
|
+
twitterIcon: async () => (await import("./twitterIcon-DDA3Skm-.js")).twitterIconSvg,
|
447
|
+
verify: async () => (await import("./verify-BVsIUy32.js")).verifySvg,
|
448
|
+
verifyFilled: async () => (await import("./verify-filled-bQ1f0Y-d.js")).verifyFilledSvg,
|
449
|
+
wallet: async () => (await import("./wallet-OISOAGe9.js")).walletSvg,
|
450
|
+
walletConnect: async () => (await import("./walletconnect-CCANKmqY.js")).walletConnectSvg,
|
451
|
+
walletConnectLightBrown: async () => (await import("./walletconnect-CCANKmqY.js")).walletConnectLightBrownSvg,
|
452
|
+
walletConnectBrown: async () => (await import("./walletconnect-CCANKmqY.js")).walletConnectBrownSvg,
|
453
|
+
walletPlaceholder: async () => (await import("./wallet-placeholder-DZD3tMxc.js")).walletPlaceholderSvg,
|
454
|
+
warningCircle: async () => (await import("./warning-circle-C_uh-wB2.js")).warningCircleSvg,
|
455
|
+
x: async () => (await import("./x-BpuzG7VO.js")).xSvg,
|
456
|
+
info: async () => (await import("./info-5rQx4FCT.js")).infoSvg,
|
457
|
+
exclamationTriangle: async () => (await import("./exclamation-triangle-Cd8s_lsN.js")).exclamationTriangleSvg,
|
458
|
+
reown: async () => (await import("./reown-logo-BHbe-CUO.js")).reownSvg
|
459
459
|
};
|
460
460
|
async function pt(e) {
|
461
461
|
if (P.has(e))
|
@@ -0,0 +1,206 @@
|
|
1
|
+
import { jsxs as c, jsx as r, Fragment as A } from "react/jsx-runtime";
|
2
|
+
import _, { useContext as $, useState as y, useEffect as p, useRef as O } from "react";
|
3
|
+
import { a as L, e as J, T as K, H as V, b as z, c as W, E as X, d as Y } from "./EstGas-B9rFXiVW.js";
|
4
|
+
import { u as s, l as Z } from "./index-BIN4LE_6.js";
|
5
|
+
import { i as Q, C as F, A as R } from "./useRegisterError-DuNi8RxR.js";
|
6
|
+
import { B as ee } from "./Box-DAMq9mQT.js";
|
7
|
+
function te() {
|
8
|
+
var d, b, i, e, u, w, m, v, x, l, h, C, g, S;
|
9
|
+
const t = s((T) => T.persist), n = s((T) => T.configuration), { defaultCoin: a } = Q;
|
10
|
+
let f = (i = (b = (d = t == null ? void 0 : t.route) == null ? void 0 : d.providerDetails) == null ? void 0 : b.logoUrl) != null && i.length ? (u = (e = t == null ? void 0 : t.route) == null ? void 0 : e.providerDetails) == null ? void 0 : u.logoUrl : a;
|
11
|
+
return Z.isEmpty(t.route) ? /* @__PURE__ */ r(A, {}) : /* @__PURE__ */ c("div", { className: "bw-relative bw-mt-4 bw-flex bw-justify-center ", children: [
|
12
|
+
/* @__PURE__ */ r(
|
13
|
+
"div",
|
14
|
+
{
|
15
|
+
style: {
|
16
|
+
boxShadow: n && n.customTheme && ((m = (w = n.customTheme) == null ? void 0 : w.shadow) == null ? void 0 : m.boxShadow) || "1px 1px 10px 3px rgba(0, 0, 0, 0.15)"
|
17
|
+
},
|
18
|
+
className: "bw-w-[200px] bw-rounded-[50%] bw-absolute bw-right-auto bw-z-0 bw-left-auto bw-h-[40px]"
|
19
|
+
}
|
20
|
+
),
|
21
|
+
/* @__PURE__ */ c("div", { className: "bw-flex bw-relative bw-bg-background-container bw-z-10 bw-mx-auto bw-h-[41px] bw-w-[70%] bw-border-[0.5px] bw-border-border-primary bw-border-r-0 bw-border-l-0 bw-items-center bw-gap-x-1", children: [
|
22
|
+
" ",
|
23
|
+
/* @__PURE__ */ c("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-primary", children: [
|
24
|
+
/* @__PURE__ */ r("span", { className: "bw-text-sm bw-font-light", children: "via" }),
|
25
|
+
" ",
|
26
|
+
/* @__PURE__ */ r("img", { src: f, className: "bw-rounded-[50%] bw-mx-[4px] bw-min-w-[18px] bw-max-h-[18px] bw-min-h-[18px]", width: 18, height: 18 }),
|
27
|
+
((x = (v = t == null ? void 0 : t.route) == null ? void 0 : v.providerDetails) == null ? void 0 : x.name) || "",
|
28
|
+
": ",
|
29
|
+
(l = t == null ? void 0 : t.route) == null ? void 0 : l.protocolsUsed[0],
|
30
|
+
((C = (h = t == null ? void 0 : t.route) == null ? void 0 : h.protocolsUsed) == null ? void 0 : C.length) <= 1 ? "" : /* @__PURE__ */ c("span", { className: "bw-ml-1 bw-text-xs bw-font-normal bw-leading-6", children: [
|
31
|
+
`+${((S = (g = t == null ? void 0 : t.route) == null ? void 0 : g.protocolsUsed) == null ? void 0 : S.length) - 1}`,
|
32
|
+
" More"
|
33
|
+
] }),
|
34
|
+
" "
|
35
|
+
] }),
|
36
|
+
" "
|
37
|
+
] })
|
38
|
+
] });
|
39
|
+
}
|
40
|
+
let E;
|
41
|
+
function re() {
|
42
|
+
var u, w, m, v, x;
|
43
|
+
const t = s((l) => l.configuration), n = s((l) => l.persist), a = s((l) => l.setPersist), { isErrorMessage: f } = $(L), d = Math.floor(((/* @__PURE__ */ new Date()).getTime() - n.quoteStartTime) / 1e3);
|
44
|
+
let b = ((u = n == null ? void 0 : n.route) == null ? void 0 : u.deadline) || 60;
|
45
|
+
const [i, e] = y(b);
|
46
|
+
return p(() => {
|
47
|
+
d && e(b - d);
|
48
|
+
}, []), p(() => (E = setInterval(() => {
|
49
|
+
e((l) => {
|
50
|
+
var h;
|
51
|
+
return l <= 0 ? (clearInterval(E), a({
|
52
|
+
...(h = s.getState()) == null ? void 0 : h.persist,
|
53
|
+
isQuoteTimer: !1,
|
54
|
+
showAcceptQuote: !0,
|
55
|
+
quoteStartTime: (/* @__PURE__ */ new Date()).getTime()
|
56
|
+
}), 0) : l - 1;
|
57
|
+
});
|
58
|
+
}, 1e3), () => clearInterval(E)), []), p(() => {
|
59
|
+
(f || !n.isQuoteTimer) && clearInterval(E);
|
60
|
+
}, [f, n.isQuoteTimer]), !(n != null && n.hash) && n.quote === "enable" ? /* @__PURE__ */ c("div", { className: "bw-absolute bw-top-0 bw-right-0 ", children: [
|
61
|
+
/* @__PURE__ */ r("svg", { className: "bw-absolute bw-w-[20px] bw-h-[20px]", children: /* @__PURE__ */ c("linearGradient", { id: "linearColors", x1: "0", y1: "0", x2: "1", y2: "1", children: [
|
62
|
+
/* @__PURE__ */ r("stop", { offset: "1%", stopColor: (w = t == null ? void 0 : t.gradientStyle) != null && w.spinnerColor ? (m = t == null ? void 0 : t.gradientStyle) == null ? void 0 : m.spinnerColor : "#A45EFF" }),
|
63
|
+
/* @__PURE__ */ r("stop", { offset: "90%", stopColor: (v = t == null ? void 0 : t.gradientStyle) != null && v.spinnerColor ? (x = t == null ? void 0 : t.gradientStyle) == null ? void 0 : x.stopColor : "#2CFFE4" })
|
64
|
+
] }) }),
|
65
|
+
/* @__PURE__ */ c(
|
66
|
+
ee,
|
67
|
+
{
|
68
|
+
sx: {
|
69
|
+
position: "relative",
|
70
|
+
display: "inline-flex"
|
71
|
+
},
|
72
|
+
children: [
|
73
|
+
/* @__PURE__ */ r(
|
74
|
+
F,
|
75
|
+
{
|
76
|
+
variant: "determinate",
|
77
|
+
sx: {
|
78
|
+
color: "var(--tw-border-primary)"
|
79
|
+
},
|
80
|
+
size: 20,
|
81
|
+
thickness: 2,
|
82
|
+
value: 100
|
83
|
+
}
|
84
|
+
),
|
85
|
+
/* @__PURE__ */ r(
|
86
|
+
F,
|
87
|
+
{
|
88
|
+
variant: "determinate",
|
89
|
+
size: 20,
|
90
|
+
thickness: 5,
|
91
|
+
value: i / b * 100,
|
92
|
+
sx: {
|
93
|
+
"svg circle": { stroke: "url(#linearColors)" },
|
94
|
+
position: "absolute",
|
95
|
+
left: 0,
|
96
|
+
[`& .${R.circle}`]: {
|
97
|
+
strokeLinecap: "round"
|
98
|
+
}
|
99
|
+
}
|
100
|
+
}
|
101
|
+
)
|
102
|
+
]
|
103
|
+
}
|
104
|
+
)
|
105
|
+
] }) : /* @__PURE__ */ r(A, {});
|
106
|
+
}
|
107
|
+
const ne = _.memo(function({ handleOpenExchange: t, amount: n, route: a, resetAmount: f, resetBalance: d, setExchange: b }) {
|
108
|
+
var k;
|
109
|
+
const i = s((o) => o.setPersist), e = s((o) => o.persist), u = s((o) => o.fromChain), w = s((o) => o.fromCoin), m = s((o) => o.toChain), v = s((o) => o.toCoin), [x, l] = y(!1), [h, C] = y(!1), [g, S] = y(!1), [T, U] = y({}), q = !e.stepData, { txnupdate: B } = Q;
|
110
|
+
p(() => {
|
111
|
+
var o, j, D, M;
|
112
|
+
a != null && a.routeId && i({
|
113
|
+
...(o = s.getState()) == null ? void 0 : o.persist,
|
114
|
+
routeId: a == null ? void 0 : a.routeId,
|
115
|
+
route: a,
|
116
|
+
toChain: m,
|
117
|
+
toCoin: v,
|
118
|
+
fromChain: u,
|
119
|
+
fromCoin: w,
|
120
|
+
amount: n,
|
121
|
+
quote: "enable",
|
122
|
+
openAt: (/* @__PURE__ */ new Date()).getTime(),
|
123
|
+
startTime: ((M = (D = (j = s) == null ? void 0 : j.getState()) == null ? void 0 : D.persist) == null ? void 0 : M.startTime) || (/* @__PURE__ */ new Date()).getTime()
|
124
|
+
});
|
125
|
+
}, [a]);
|
126
|
+
function I(o) {
|
127
|
+
l(o);
|
128
|
+
}
|
129
|
+
function N() {
|
130
|
+
((e == null ? void 0 : e.openAt) + 60 * 60 * 1e3 - (/* @__PURE__ */ new Date()).getTime()) / 1e3 / 60 <= 0 && document.visibilityState === "visible" && (i({ allSteps: { steps: null, currentStep: 0 }, stepData: {} }), t(), f());
|
131
|
+
}
|
132
|
+
p(() => (e != null && e.openAt && window.addEventListener("visibilitychange", N), () => {
|
133
|
+
window.removeEventListener("visibilitychange", N);
|
134
|
+
}), [e == null ? void 0 : e.openAt]), p(() => (e != null && e.openAt && window.addEventListener("load", N), () => {
|
135
|
+
window.removeEventListener("load", N);
|
136
|
+
}), [e == null ? void 0 : e.openAt]);
|
137
|
+
function G(o) {
|
138
|
+
C(o);
|
139
|
+
}
|
140
|
+
function H(o) {
|
141
|
+
S(o);
|
142
|
+
}
|
143
|
+
function P() {
|
144
|
+
t(), i({ allSteps: { steps: null, currentStep: 0 }, stepData: {} }), h && d();
|
145
|
+
}
|
146
|
+
return /* @__PURE__ */ r(J, { children: /* @__PURE__ */ r(K.Provider, { value: { isTxnSuccessful: h, handleTxnSuccess: G }, children: /* @__PURE__ */ r(L.Provider, { value: { isErrorMessage: g, handleErrorMessage: H, errorMessage: T, setErrorMessage: U }, children: /* @__PURE__ */ c("div", { className: "bw-w-full bw-relative bw-min-h-[610px] ", children: [
|
147
|
+
/* @__PURE__ */ r(V, { handleBack: P }),
|
148
|
+
/* @__PURE__ */ r("div", { className: "bw-mt-[-20px] ", children: /* @__PURE__ */ r(te, {}) }),
|
149
|
+
e != null && e.isQuoteTimer ? /* @__PURE__ */ r(re, {}) : /* @__PURE__ */ r(A, {}),
|
150
|
+
/* @__PURE__ */ r("div", { className: "bw-flex bw-justify-between bw-items-center" }),
|
151
|
+
/* @__PURE__ */ c("div", { className: "bw-flex bw-w-full bw-mt-4 bw-justify-between bw-items-center", children: [
|
152
|
+
/* @__PURE__ */ c("div", { className: "bw-w-[40%] md:bw-w-auto", children: [
|
153
|
+
/* @__PURE__ */ r("p", { className: "bw-text-xs bw-mb-1 bw-text-text-secondary bw-font-medium", children: "Send" }),
|
154
|
+
/* @__PURE__ */ r(z, { amount: e == null ? void 0 : e.amount, coinData: e.fromCoin, chainData: e.fromChain, field: "from" })
|
155
|
+
] }),
|
156
|
+
g ? /* @__PURE__ */ r("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-container bw-relative bw-z-10 hover:bw-opacity-100 bw-border-border-primary ", children: /* @__PURE__ */ r("img", { src: B, width: 33, height: 30, alt: "img" }) }) : /* @__PURE__ */ r(W, { isTimerStarted: (e == null ? void 0 : e.isTimerStarted) || x, startTimer: I, error: g }),
|
157
|
+
/* @__PURE__ */ r("div", { className: "bw-w-full bw-z-0 md:bw-w-full bw-mt-5 bw-absolute bw-h-[1px] bw-bg-border-primary " }),
|
158
|
+
/* @__PURE__ */ c("div", { className: "bw-w-[40%] md:bw-w-auto", children: [
|
159
|
+
/* @__PURE__ */ r("p", { className: "bw-text-xs bw-mb-1 bw-text-text-secondary bw-font-medium", children: "Receive" }),
|
160
|
+
/* @__PURE__ */ r(z, { amount: Number(((k = e == null ? void 0 : e.route) == null ? void 0 : k.outputAmountDisplay) || ""), coinData: e == null ? void 0 : e.toCoin, chainData: e == null ? void 0 : e.toChain, field: "to" })
|
161
|
+
] })
|
162
|
+
] }),
|
163
|
+
/* @__PURE__ */ c("div", { className: "bw-h-[320px] bw-pr-1 bw-flex bw-flex-col bw-mt-8 bw-overflow-y-auto", children: [
|
164
|
+
q ? /* @__PURE__ */ r(A, {}) : /* @__PURE__ */ r(X, {}),
|
165
|
+
/* @__PURE__ */ r(Y, { handleOpenExchange: t, setExchange: b, amount: n, startTimer: I, handleBack: P, isTimerStarted: (e == null ? void 0 : e.isTimerStarted) || x })
|
166
|
+
] })
|
167
|
+
] }) }) }) });
|
168
|
+
});
|
169
|
+
function be({
|
170
|
+
handleConfirmClose: t,
|
171
|
+
routesData: n,
|
172
|
+
amount: a,
|
173
|
+
resetAmount: f,
|
174
|
+
resetBalance: d,
|
175
|
+
handleStopRoute: b
|
176
|
+
}) {
|
177
|
+
const i = O();
|
178
|
+
p(() => {
|
179
|
+
var w, m;
|
180
|
+
!i.current && Number(
|
181
|
+
((w = i == null ? void 0 : i.current) == null ? void 0 : w.minOutputAmount) || ((m = i == null ? void 0 : i.current) == null ? void 0 : m.outputAmountDisplay)
|
182
|
+
) !== Number((n == null ? void 0 : n.minOutputAmount) || (n == null ? void 0 : n.outputAmountDisplay)) && (i.current = n);
|
183
|
+
}, [n]), p(() => {
|
184
|
+
b(!0);
|
185
|
+
}, []);
|
186
|
+
function e() {
|
187
|
+
b(!1), t(!1);
|
188
|
+
}
|
189
|
+
function u() {
|
190
|
+
t(!1);
|
191
|
+
}
|
192
|
+
return /* @__PURE__ */ r(
|
193
|
+
ne,
|
194
|
+
{
|
195
|
+
handleOpenExchange: e,
|
196
|
+
amount: a,
|
197
|
+
route: n,
|
198
|
+
resetAmount: f,
|
199
|
+
resetBalance: d,
|
200
|
+
setExchange: u
|
201
|
+
}
|
202
|
+
);
|
203
|
+
}
|
204
|
+
export {
|
205
|
+
be as default
|
206
|
+
};
|