@rhinestone/deposit-modal 0.14.0 → 0.14.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/README.md +6 -12
  2. package/dist/{ClaimModal-SEKNWRMA.mjs → ClaimModal-GDFENSLV.mjs} +5 -5
  3. package/dist/ClaimModal-L3FUBI5U.cjs +13 -0
  4. package/dist/{DepositModalReown-Q2JMLT47.mjs → DepositModalReown-2EVV64OA.mjs} +29 -27
  5. package/dist/{DepositModalReown-46LPVFB6.cjs → DepositModalReown-GAD45GIC.cjs} +76 -74
  6. package/dist/WithdrawModal-FAQH35NG.cjs +12 -0
  7. package/dist/{WithdrawModal-5ICGD4HJ.mjs → WithdrawModal-IKUHF5CF.mjs} +4 -4
  8. package/dist/{chunk-7ICSHJFE.cjs → chunk-4J5ADVIN.cjs} +71 -67
  9. package/dist/{chunk-KTUVSKR4.mjs → chunk-5Q5CSVKF.mjs} +74 -32
  10. package/dist/{chunk-LZFRL2AL.cjs → chunk-62UCV2LG.cjs} +3 -3
  11. package/dist/{chunk-X2IPAPXU.cjs → chunk-7AZFT2MV.cjs} +8 -8
  12. package/dist/{chunk-MTFJSE52.cjs → chunk-A6JPBMYY.cjs} +65 -65
  13. package/dist/{chunk-6KG642KH.cjs → chunk-AQVJUXSG.cjs} +1 -1
  14. package/dist/{chunk-PKML3XVS.mjs → chunk-GZ4GQ5MC.mjs} +2 -2
  15. package/dist/{chunk-V2OBGLJD.cjs → chunk-HAQOFI3D.cjs} +90 -60
  16. package/dist/{chunk-K4H6TGBE.mjs → chunk-LMG46EP2.mjs} +1 -1
  17. package/dist/{chunk-YCQZJQO6.cjs → chunk-NQMC5VKQ.cjs} +343 -301
  18. package/dist/{chunk-CFKC77SV.mjs → chunk-QACOOLOE.mjs} +3 -3
  19. package/dist/{chunk-WUJIKCFU.mjs → chunk-R5UQ3TN4.mjs} +1 -1
  20. package/dist/{chunk-IN77XSWO.mjs → chunk-UX35GYLM.mjs} +59 -29
  21. package/dist/{chunk-ZEO6ADM3.mjs → chunk-VALXN5IO.mjs} +2 -2
  22. package/dist/{chunk-7SR7ENVJ.mjs → chunk-XCTRKCNM.mjs} +6 -2
  23. package/dist/{chunk-YWMWI7PZ.cjs → chunk-YP7QVKQ6.cjs} +53 -53
  24. package/dist/claim.cjs +6 -6
  25. package/dist/claim.mjs +5 -5
  26. package/dist/constants.cjs +2 -2
  27. package/dist/constants.d.cts +1 -1
  28. package/dist/constants.d.ts +1 -1
  29. package/dist/constants.mjs +1 -1
  30. package/dist/deposit.cjs +6 -6
  31. package/dist/deposit.mjs +5 -5
  32. package/dist/embed.cjs +18 -18
  33. package/dist/embed.mjs +8 -8
  34. package/dist/index.cjs +9 -9
  35. package/dist/index.mjs +8 -8
  36. package/dist/withdraw.cjs +5 -5
  37. package/dist/withdraw.mjs +4 -4
  38. package/package.json +7 -6
  39. package/dist/ClaimModal-IKTJU43Y.cjs +0 -13
  40. package/dist/WithdrawModal-VP6PMIRO.cjs +0 -12
@@ -19,10 +19,10 @@
19
19
 
20
20
 
21
21
 
22
- var _chunk7ICSHJFEcjs = require('./chunk-7ICSHJFE.cjs');
22
+ var _chunk4J5ADVINcjs = require('./chunk-4J5ADVIN.cjs');
23
23
 
24
24
 
25
- var _chunkLZFRL2ALcjs = require('./chunk-LZFRL2AL.cjs');
25
+ var _chunk62UCV2LGcjs = require('./chunk-62UCV2LG.cjs');
26
26
 
27
27
 
28
28
 
@@ -88,7 +88,7 @@ var _chunkLZFRL2ALcjs = require('./chunk-LZFRL2AL.cjs');
88
88
 
89
89
 
90
90
 
91
- var _chunkV2OBGLJDcjs = require('./chunk-V2OBGLJD.cjs');
91
+ var _chunkHAQOFI3Dcjs = require('./chunk-HAQOFI3D.cjs');
92
92
 
93
93
 
94
94
 
@@ -133,6 +133,34 @@ var _chunkDW2EQA2Ucjs = require('./chunk-DW2EQA2U.cjs');
133
133
 
134
134
  var _chunk4KCSH4T3cjs = require('./chunk-4KCSH4T3.cjs');
135
135
 
136
+ // src/core/reown-dependencies.ts
137
+ var dependencies;
138
+ var dependenciesPromise;
139
+ function loadReownDependencies() {
140
+ _nullishCoalesce(dependenciesPromise, () => ( (dependenciesPromise = Promise.all([
141
+ Promise.resolve().then(() => _interopRequireWildcard(require("@reown/appkit/react"))),
142
+ Promise.resolve().then(() => _interopRequireWildcard(require("@reown/appkit/networks"))),
143
+ Promise.resolve().then(() => _interopRequireWildcard(require("@reown/appkit-adapter-wagmi"))),
144
+ Promise.resolve().then(() => _interopRequireWildcard(require("@reown/appkit-adapter-solana"))),
145
+ Promise.resolve().then(() => _interopRequireWildcard(require("@reown/appkit-adapter-solana/react")))
146
+ ]).then((modules) => dependencies = modules).catch((cause) => {
147
+ const error = new Error(
148
+ "[rhinestone] reownAppId requires @reown/appkit, @reown/appkit-adapter-wagmi, @reown/appkit-adapter-solana, @solana/web3.js, and @solana/spl-token."
149
+ );
150
+ error.cause = cause;
151
+ throw error;
152
+ }))));
153
+ return dependenciesPromise;
154
+ }
155
+ function getReownDependencies() {
156
+ if (!dependencies) {
157
+ throw new Error(
158
+ "[rhinestone] Reown dependencies were accessed before initialization."
159
+ );
160
+ }
161
+ return dependencies;
162
+ }
163
+
136
164
  // src/DepositModal.tsx
137
165
 
138
166
 
@@ -222,11 +250,11 @@ SegmentedToggle.displayName = "SegmentedToggle";
222
250
 
223
251
  function ChainIcon({ chainId, className, loading }) {
224
252
  const badge = _chunk4KCSH4T3cjs.getChainBadge.call(void 0, chainId);
225
- const catalogChain = _chunkV2OBGLJDcjs.useCatalogChain.call(void 0, _chunkV2OBGLJDcjs.catalogKeyForChain.call(void 0, chainId));
253
+ const catalogChain = _chunkHAQOFI3Dcjs.useCatalogChain.call(void 0, _chunkHAQOFI3Dcjs.catalogKeyForChain.call(void 0, chainId));
226
254
  const name = _nullishCoalesce(_optionalChain([catalogChain, 'optionalAccess', _2 => _2.name]), () => ( _chunk4KCSH4T3cjs.getChainName.call(void 0, chainId)));
227
255
  const initial = (_nullishCoalesce(_optionalChain([catalogChain, 'optionalAccess', _3 => _3.name]), () => ( badge.shortLabel))).charAt(0);
228
256
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
229
- _chunkV2OBGLJDcjs.CdnIcon,
257
+ _chunkHAQOFI3Dcjs.CdnIcon,
230
258
  {
231
259
  src: _nullishCoalesce(_optionalChain([catalogChain, 'optionalAccess', _4 => _4.iconUrl]), () => ( _chunk4KCSH4T3cjs.getChainIcon.call(void 0, chainId))),
232
260
  alt: name,
@@ -249,7 +277,7 @@ ChainIcon.displayName = "ChainIcon";
249
277
  // src/components/ui/WalletBadgeIcons/index.tsx
250
278
 
251
279
  function BadgeImage({ src, alt = "" }) {
252
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.CdnIcon, { src, alt }) });
280
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.CdnIcon, { src, alt }) });
253
281
  }
254
282
  var WALLET_BADGES = ["rabby", "phantom", "walletconnect"];
255
283
  function WalletBadgeIcons() {
@@ -302,7 +330,7 @@ var DAPP_IMPORT_CATALOG = [
302
330
  // src/components/ui/BrandIcons.tsx
303
331
 
304
332
  function ExchangeBadgeImage({ name }) {
305
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.CdnIcon, { src: _nullishCoalesce(_chunk7ICSHJFEcjs.getExchangeLogoSrc.call(void 0, name), () => ( void 0)) });
333
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.CdnIcon, { src: _nullishCoalesce(_chunk4J5ADVINcjs.getExchangeLogoSrc.call(void 0, name), () => ( void 0)) });
306
334
  }
307
335
  var CARD_NETWORKS = ["amex", "visa", "mastercard"];
308
336
  function CardNetworkIcons() {
@@ -310,7 +338,7 @@ function CardNetworkIcons() {
310
338
  "span",
311
339
  {
312
340
  className: `rs-card-network rs-card-network--${network}`,
313
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.CdnIcon, { src: _chunk4KCSH4T3cjs.cdnIconUrl.call(void 0, "cards", network) })
341
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.CdnIcon, { src: _chunk4KCSH4T3cjs.cdnIconUrl.call(void 0, "cards", network) })
314
342
  },
315
343
  network
316
344
  )) });
@@ -329,7 +357,7 @@ function DappBadgeIcons() {
329
357
  ).filter(
330
358
  (brand) => Boolean(brand)
331
359
  );
332
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-list-row-meta-icons rs-list-row-meta-icons--exchanges", children: marks.map((brand) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.CdnIcon, { src: brand.iconUrl, alt: brand.label }) }, brand.id)) });
360
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-list-row-meta-icons rs-list-row-meta-icons--exchanges", children: marks.map((brand) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.CdnIcon, { src: brand.iconUrl, alt: brand.label }) }, brand.id)) });
333
361
  }
334
362
  DappBadgeIcons.displayName = "DappBadgeIcons";
335
363
  var DAPP_BADGE_COUNT = DAPP_BADGE_ORDER.length;
@@ -349,9 +377,9 @@ function balanceSubtitle(status, balanceUsd, fallback) {
349
377
  return "No balance";
350
378
  }
351
379
  function fiatIcon(name) {
352
- if (name === "apple") return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.AppleIcon, {});
353
- if (name === "bank") return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.BankIcon, {});
354
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.CardIcon, {});
380
+ if (name === "apple") return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.AppleIcon, {});
381
+ if (name === "bank") return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.BankIcon, {});
382
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.CardIcon, {});
355
383
  }
356
384
  function FiatMethodIcon({ option }) {
357
385
  const [remoteFailed, setRemoteFailed] = _react.useState.call(void 0, false);
@@ -434,20 +462,20 @@ function renderWalletLeading(row) {
434
462
  }
435
463
  );
436
464
  }
437
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.WalletIcon, {});
465
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.WalletIcon, {});
438
466
  }
439
- var TRANSFER_CRYPTO_LEADING = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.TransferCryptoIcon, {});
440
- var WALLET_LEADING = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.WalletIcon, {});
441
- var EXCHANGE_LEADING = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.UnplugIcon, {});
442
- var MIGRATE_ASSETS_LEADING = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.MigrateAssetsIcon, {});
443
- var SMALL_SPINNER = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.Spinner, { className: "rs-spinner--sm" });
467
+ var TRANSFER_CRYPTO_LEADING = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.TransferCryptoIcon, {});
468
+ var WALLET_LEADING = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.WalletIcon, {});
469
+ var EXCHANGE_LEADING = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.UnplugIcon, {});
470
+ var MIGRATE_ASSETS_LEADING = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.MigrateAssetsIcon, {});
471
+ var SMALL_SPINNER = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.Spinner, { className: "rs-spinner--sm" });
444
472
  var CONNECT_META = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
445
473
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, WalletBadgeIcons, {}),
446
474
  "+100"
447
475
  ] });
448
476
  var EXTRA_EXCHANGE_COUNT = Math.max(
449
477
  0,
450
- _chunkV2OBGLJDcjs.SUPPORTED_CONNECT_EXCHANGE_COUNT - EXCHANGE_BADGE_COUNT
478
+ _chunkHAQOFI3Dcjs.SUPPORTED_CONNECT_EXCHANGE_COUNT - EXCHANGE_BADGE_COUNT
451
479
  );
452
480
  var EXCHANGE_META = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
453
481
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ExchangeBadgeIcons, {}),
@@ -505,7 +533,7 @@ function ConnectStep({
505
533
  if (onSelectTransferCrypto) {
506
534
  cryptoRows.push(
507
535
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
508
- _chunkLZFRL2ALcjs.ListRow,
536
+ _chunk62UCV2LGcjs.ListRow,
509
537
  {
510
538
  leading: TRANSFER_CRYPTO_LEADING,
511
539
  title: "Transfer crypto",
@@ -526,7 +554,7 @@ function ConnectStep({
526
554
  );
527
555
  cryptoRows.push(
528
556
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
529
- _chunkLZFRL2ALcjs.ListRow,
557
+ _chunk62UCV2LGcjs.ListRow,
530
558
  {
531
559
  leading: renderWalletLeading(row),
532
560
  title: collapseToExternal ? "External wallet" : row.label,
@@ -543,7 +571,7 @@ function ConnectStep({
543
571
  if (!hasSessionWallet && handleConnect) {
544
572
  cryptoRows.push(
545
573
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
546
- _chunkLZFRL2ALcjs.ListRow,
574
+ _chunk62UCV2LGcjs.ListRow,
547
575
  {
548
576
  leading: WALLET_LEADING,
549
577
  title: "Connect wallet",
@@ -558,7 +586,7 @@ function ConnectStep({
558
586
  if (onSelectFundFromExchange) {
559
587
  cryptoRows.push(
560
588
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
561
- _chunkLZFRL2ALcjs.ListRow,
589
+ _chunk62UCV2LGcjs.ListRow,
562
590
  {
563
591
  leading: EXCHANGE_LEADING,
564
592
  title: "Connect exchange",
@@ -573,7 +601,7 @@ function ConnectStep({
573
601
  if (onSelectMigrateAssets) {
574
602
  cryptoRows.push(
575
603
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
576
- _chunkLZFRL2ALcjs.ListRow,
604
+ _chunk62UCV2LGcjs.ListRow,
577
605
  {
578
606
  leading: MIGRATE_ASSETS_LEADING,
579
607
  title: "Migrate assets",
@@ -594,7 +622,7 @@ function ConnectStep({
594
622
  for (const opt of fiatPaymentMethods) {
595
623
  cashRows.push(
596
624
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
597
- _chunkLZFRL2ALcjs.ListRow,
625
+ _chunk62UCV2LGcjs.ListRow,
598
626
  {
599
627
  leading: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, FiatMethodIcon, { option: opt }),
600
628
  title: opt.label,
@@ -609,7 +637,7 @@ function ConnectStep({
609
637
  } else if (fiatLoading) {
610
638
  cashRows.push(
611
639
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
612
- _chunkLZFRL2ALcjs.ListRow,
640
+ _chunk62UCV2LGcjs.ListRow,
613
641
  {
614
642
  leading: SMALL_SPINNER,
615
643
  title: "Loading payment options\u2026",
@@ -638,9 +666,9 @@ function ConnectStep({
638
666
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen", children: [
639
667
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body rs-screen-body--gap-32", children: [
640
668
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
641
- _chunkV2OBGLJDcjs.BodyHeader,
669
+ _chunkHAQOFI3Dcjs.BodyHeader,
642
670
  {
643
- icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.HandCoinsIcon, {}),
671
+ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.HandCoinsIcon, {}),
644
672
  title,
645
673
  subtitle: _nullishCoalesce(subtitle, () => ( defaultSubtitle)),
646
674
  aside: showToggle ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -676,7 +704,7 @@ function ConnectStep({
676
704
  children: "Disconnect wallet"
677
705
  }
678
706
  ) }),
679
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.PoweredBy, {})
707
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.PoweredBy, {})
680
708
  ] });
681
709
  }
682
710
  ConnectStep.displayName = "ConnectStep";
@@ -699,17 +727,17 @@ function AssetSelectStep({
699
727
  const [selectedAssetId, setSelectedAssetId] = _react.useState.call(void 0, null);
700
728
  const [loading, setLoading] = _react.useState.call(void 0, true);
701
729
  const [error, setError] = _react.useState.call(void 0, null);
702
- const isDepositChain = _chunkV2OBGLJDcjs.useIsDepositChain.call(void 0, );
703
- const { catalog } = _chunkV2OBGLJDcjs.useChainCatalog.call(void 0, );
704
- const chainName = _chunkV2OBGLJDcjs.useChainName.call(void 0, );
730
+ const isDepositChain = _chunkHAQOFI3Dcjs.useIsDepositChain.call(void 0, );
731
+ const { catalog } = _chunkHAQOFI3Dcjs.useChainCatalog.call(void 0, );
732
+ const chainName = _chunkHAQOFI3Dcjs.useChainName.call(void 0, );
705
733
  const defaultAssetId = _react.useMemo.call(void 0, () => {
706
734
  if (!defaultSourceChain || !defaultSourceToken) return null;
707
- return _chunkV2OBGLJDcjs.getAssetId.call(void 0, {
735
+ return _chunkHAQOFI3Dcjs.getAssetId.call(void 0, {
708
736
  chainId: defaultSourceChain,
709
737
  token: defaultSourceToken
710
738
  });
711
739
  }, [defaultSourceChain, defaultSourceToken]);
712
- const onTotalBalanceComputedRef = _chunkV2OBGLJDcjs.useLatestRef.call(void 0, onTotalBalanceComputed);
740
+ const onTotalBalanceComputedRef = _chunkHAQOFI3Dcjs.useLatestRef.call(void 0, onTotalBalanceComputed);
713
741
  _react.useEffect.call(void 0, () => {
714
742
  let active = true;
715
743
  function emitAssetsUpdate(currentAssets) {
@@ -729,7 +757,7 @@ function AssetSelectStep({
729
757
  try {
730
758
  const portfolio = await service.fetchPortfolio(address);
731
759
  if (!active) return;
732
- const portfolioAssets = _chunkV2OBGLJDcjs.portfolioToAssets.call(void 0, portfolio.tokens);
760
+ const portfolioAssets = _chunkHAQOFI3Dcjs.portfolioToAssets.call(void 0, portfolio.tokens);
733
761
  setAssets(portfolioAssets);
734
762
  emitAssetsUpdate(portfolioAssets);
735
763
  const hasNative = portfolioAssets.some(
@@ -808,7 +836,7 @@ function AssetSelectStep({
808
836
  const raw = _viem.formatUnits.call(void 0, BigInt(asset.balance), asset.decimals);
809
837
  const numeric = Number(raw);
810
838
  if (!Number.isFinite(numeric)) return raw;
811
- return _chunkV2OBGLJDcjs.tokenFormatter.format(numeric);
839
+ return _chunkHAQOFI3Dcjs.tokenFormatter.format(numeric);
812
840
  } catch (e3) {
813
841
  return asset.balance;
814
842
  }
@@ -816,20 +844,20 @@ function AssetSelectStep({
816
844
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen", children: [
817
845
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body", children: [
818
846
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
819
- _chunkV2OBGLJDcjs.BodyHeader,
847
+ _chunkHAQOFI3Dcjs.BodyHeader,
820
848
  {
821
- icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.WalletIcon, {}),
849
+ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.WalletIcon, {}),
822
850
  title: "Your assets",
823
851
  subtitle: "Select source assets to transfer"
824
852
  }
825
853
  ),
826
854
  loading && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-loading-state", style: { padding: "40px 12px" }, children: [
827
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.Spinner, { className: "rs-text-tertiary" }),
855
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.Spinner, { className: "rs-text-tertiary" }),
828
856
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-text-sm rs-text-tertiary", children: "Loading balances" })
829
857
  ] }),
830
- error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.Callout, { variant: "error", children: error }),
858
+ error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.Callout, { variant: "error", children: error }),
831
859
  !loading && !error && rows.length === 0 && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-empty-state", children: [
832
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.WalletIcon, { className: "rs-empty-icon" }),
860
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.WalletIcon, { className: "rs-empty-icon" }),
833
861
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-empty-text", children: "No funds in connected wallet" }),
834
862
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-empty-address", children: [
835
863
  address.slice(0, 6),
@@ -862,13 +890,13 @@ function AssetSelectStep({
862
890
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-asset-info", children: [
863
891
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-asset-icon-wrapper", children: [
864
892
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-asset-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
865
- _chunkV2OBGLJDcjs.TokenIcon,
893
+ _chunkHAQOFI3Dcjs.TokenIcon,
866
894
  {
867
895
  symbol: asset.symbol,
868
896
  fallback: asset.symbol.slice(0, 4)
869
897
  }
870
898
  ) }),
871
- chainIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-asset-chain-badge", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.CdnIcon, { src: chainIcon, alt: chainName(asset.chainId) }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
899
+ chainIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-asset-chain-badge", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.CdnIcon, { src: chainIcon, alt: chainName(asset.chainId) }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
872
900
  "span",
873
901
  {
874
902
  className: "rs-asset-chain-badge",
@@ -895,14 +923,14 @@ function AssetSelectStep({
895
923
  ] })
896
924
  ] })
897
925
  ] }),
898
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-asset-balance", children: asset.balanceUsd !== void 0 && asset.balanceUsd > 0 ? _chunkV2OBGLJDcjs.currencyFormatter.format(asset.balanceUsd) : tokenAmount !== "--" ? `${tokenAmount} ${asset.symbol}` : "--" })
926
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-asset-balance", children: asset.balanceUsd !== void 0 && asset.balanceUsd > 0 ? _chunkHAQOFI3Dcjs.currencyFormatter.format(asset.balanceUsd) : tokenAmount !== "--" ? `${tokenAmount} ${asset.symbol}` : "--" })
899
927
  ]
900
928
  },
901
929
  asset.id
902
930
  );
903
931
  }) }),
904
932
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
905
- _chunkV2OBGLJDcjs.Button,
933
+ _chunkHAQOFI3Dcjs.Button,
906
934
  {
907
935
  onClick: () => selectedAsset && onContinue(selectedAsset),
908
936
  disabled: !selectedAsset,
@@ -911,7 +939,7 @@ function AssetSelectStep({
911
939
  }
912
940
  )
913
941
  ] }),
914
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.PoweredBy, {})
942
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.PoweredBy, {})
915
943
  ] });
916
944
  }
917
945
  async function fetchNativeAssets(address, publicClient, existing, isDepositChain, catalogChain) {
@@ -919,7 +947,7 @@ async function fetchNativeAssets(address, publicClient, existing, isDepositChain
919
947
  const connectedChainId = _optionalChain([publicClient, 'access', _16 => _16.chain, 'optionalAccess', _17 => _17.id]);
920
948
  if (!connectedChainId) return [];
921
949
  if (!isDepositChain(connectedChainId)) return [];
922
- const id = _chunkV2OBGLJDcjs.getAssetId.call(void 0, {
950
+ const id = _chunkHAQOFI3Dcjs.getAssetId.call(void 0, {
923
951
  chainId: connectedChainId,
924
952
  token: _chunk4KCSH4T3cjs.NATIVE_TOKEN_ADDRESS
925
953
  });
@@ -1125,7 +1153,7 @@ function AmountStep({
1125
1153
  const balanceTarget = _nullishCoalesce(balanceAddress, () => ( address));
1126
1154
  if (!balanceTarget || !publicClient) return;
1127
1155
  try {
1128
- const bal = _chunkV2OBGLJDcjs.isNativeAsset.call(void 0, asset) ? await publicClient.getBalance({ address: balanceTarget }) : await publicClient.readContract({
1156
+ const bal = _chunkHAQOFI3Dcjs.isNativeAsset.call(void 0, asset) ? await publicClient.getBalance({ address: balanceTarget }) : await publicClient.readContract({
1129
1157
  address: asset.token,
1130
1158
  abi: _viem.erc20Abi,
1131
1159
  functionName: "balanceOf",
@@ -1146,7 +1174,7 @@ function AmountStep({
1146
1174
  hasAttemptedSwitch.current = true;
1147
1175
  switchChain(asset.chainId).catch((err) => {
1148
1176
  const raw = err instanceof Error ? err.message : "Failed to switch chain";
1149
- setError(_chunkV2OBGLJDcjs.formatUserError.call(void 0, raw));
1177
+ setError(_chunkHAQOFI3Dcjs.formatUserError.call(void 0, raw));
1150
1178
  });
1151
1179
  }
1152
1180
  }, [chainMismatch, switchChain, asset.chainId]);
@@ -1199,7 +1227,7 @@ function AmountStep({
1199
1227
  const raw = _viem.formatUnits.call(void 0, balance, asset.decimals);
1200
1228
  const numeric = Number(raw);
1201
1229
  if (!Number.isFinite(numeric)) return raw;
1202
- return _chunkV2OBGLJDcjs.tokenFormatter.format(numeric);
1230
+ return _chunkHAQOFI3Dcjs.tokenFormatter.format(numeric);
1203
1231
  } catch (e8) {
1204
1232
  return "\u2026";
1205
1233
  }
@@ -1287,12 +1315,12 @@ function AmountStep({
1287
1315
  const needsPricing = !knowsBalance && !isSourceStablecoin;
1288
1316
  const blockedOnPricing = needsPricing && !hasPricing;
1289
1317
  const continueDisabled = chainMismatch || exceedsBalance || blockedOnPricing || numericAmount === 0 && !isBelowMin || knowsBalance && balance === null;
1290
- const chainName = _chunkV2OBGLJDcjs.useChainName.call(void 0, );
1318
+ const chainName = _chunkHAQOFI3Dcjs.useChainName.call(void 0, );
1291
1319
  const sourceChainName = chainName(asset.chainId);
1292
1320
  const targetChainName = chainName(targetChainId);
1293
1321
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen", children: [
1294
1322
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body rs-screen-body--gap-32", children: [
1295
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.WalletIcon, {}), title }),
1323
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.WalletIcon, {}), title }),
1296
1324
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-amount-section", children: [
1297
1325
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-amount-display", children: [
1298
1326
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -1312,13 +1340,13 @@ function AmountStep({
1312
1340
  " available",
1313
1341
  balanceUsd !== null && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
1314
1342
  " (~",
1315
- _chunkV2OBGLJDcjs.currencyFormatter.format(balanceUsd),
1343
+ _chunkHAQOFI3Dcjs.currencyFormatter.format(balanceUsd),
1316
1344
  ")"
1317
1345
  ] })
1318
1346
  ] }),
1319
1347
  minDepositUsd !== null && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "rs-amount-meta-minimum", children: [
1320
1348
  "Min. deposit ",
1321
- _chunkV2OBGLJDcjs.currencyFormatter.format(minDepositUsd)
1349
+ _chunkHAQOFI3Dcjs.currencyFormatter.format(minDepositUsd)
1322
1350
  ] })
1323
1351
  ] })
1324
1352
  ] }),
@@ -1343,7 +1371,7 @@ function AmountStep({
1343
1371
  " ",
1344
1372
  asset.symbol
1345
1373
  ] }),
1346
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-amount-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.TokenIcon, { symbol: asset.symbol }) })
1374
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-amount-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.TokenIcon, { symbol: asset.symbol }) })
1347
1375
  ] })
1348
1376
  ] }),
1349
1377
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-amount-detail-row", children: [
@@ -1354,21 +1382,21 @@ function AmountStep({
1354
1382
  " ",
1355
1383
  targetSymbol
1356
1384
  ] }),
1357
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-amount-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.TokenIcon, { symbol: targetSymbol }) })
1385
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-amount-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.TokenIcon, { symbol: targetSymbol }) })
1358
1386
  ] })
1359
1387
  ] }),
1360
1388
  balanceAfterUsd !== null && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-amount-detail-row", children: [
1361
1389
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: "Balance after deposit" }),
1362
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-amount-detail-value", children: _chunkV2OBGLJDcjs.currencyFormatter.format(balanceAfterUsd) })
1390
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-amount-detail-value", children: _chunkHAQOFI3Dcjs.currencyFormatter.format(balanceAfterUsd) })
1363
1391
  ] })
1364
1392
  ] }),
1365
- blockedOnPricing && sourcePriceUnavailable && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkV2OBGLJDcjs.Callout, { variant: "error", children: [
1393
+ blockedOnPricing && sourcePriceUnavailable && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkHAQOFI3Dcjs.Callout, { variant: "error", children: [
1366
1394
  asset.symbol,
1367
1395
  " can't be priced right now, so this deposit can't be estimated. You can still send any amount to the deposit address."
1368
1396
  ] }),
1369
- error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.Callout, { variant: "error", children: error }),
1397
+ error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.Callout, { variant: "error", children: error }),
1370
1398
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1371
- _chunkV2OBGLJDcjs.Button,
1399
+ _chunkHAQOFI3Dcjs.Button,
1372
1400
  {
1373
1401
  onClick: handleContinue,
1374
1402
  fullWidth: true,
@@ -1377,7 +1405,7 @@ function AmountStep({
1377
1405
  }
1378
1406
  )
1379
1407
  ] }),
1380
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.PoweredBy, {})
1408
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.PoweredBy, {})
1381
1409
  ] });
1382
1410
  }
1383
1411
 
@@ -1404,14 +1432,14 @@ function ReviewDetails({
1404
1432
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: "Source chain" }),
1405
1433
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "rs-review-detail-value", children: [
1406
1434
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: sourceChainName }),
1407
- sourceChainIcon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.CdnIcon, { src: sourceChainIcon }) })
1435
+ sourceChainIcon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.CdnIcon, { src: sourceChainIcon }) })
1408
1436
  ] })
1409
1437
  ] }),
1410
1438
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-review-detail-row", children: [
1411
1439
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: "Destination chain" }),
1412
1440
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "rs-review-detail-value", children: [
1413
1441
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: targetChainName }),
1414
- targetChainIcon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.CdnIcon, { src: targetChainIcon }) })
1442
+ targetChainIcon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.CdnIcon, { src: targetChainIcon }) })
1415
1443
  ] })
1416
1444
  ] }),
1417
1445
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-review-detail-row", children: [
@@ -1426,21 +1454,21 @@ function ReviewDetails({
1426
1454
  " ",
1427
1455
  sendSymbol
1428
1456
  ] }),
1429
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.TokenIcon, { symbol: sendSymbol }) })
1457
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.TokenIcon, { symbol: sendSymbol }) })
1430
1458
  ] })
1431
1459
  ] }),
1432
1460
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-review-detail-row", children: [
1433
1461
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: "Receive" }),
1434
1462
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "rs-review-detail-value", children: [
1435
1463
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: receiveDisplay }),
1436
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.TokenIcon, { symbol: receiveSymbol }) })
1464
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.TokenIcon, { symbol: receiveSymbol }) })
1437
1465
  ] })
1438
1466
  ] }),
1439
1467
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-review-detail-row", children: [
1440
1468
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: "Fees" }),
1441
1469
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "rs-review-detail-value", children: [
1442
1470
  fee.display === null ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-skeleton rs-skeleton-fee", "aria-hidden": "true" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { style: fee.struck ? { textDecoration: "line-through" } : void 0, children: fee.display }),
1443
- fee.tooltip !== void 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7ICSHJFEcjs.Tooltip, { content: fee.tooltip, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-info", "aria-label": "Fee info", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.InfoIcon, {}) }) })
1471
+ fee.tooltip !== void 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4J5ADVINcjs.Tooltip, { content: fee.tooltip, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-info", "aria-label": "Fee info", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.InfoIcon, {}) }) })
1444
1472
  ] })
1445
1473
  ] })
1446
1474
  ] });
@@ -1658,17 +1686,17 @@ function ConfirmStep({
1658
1686
  const targetChainName = _chunk4KCSH4T3cjs.getChainName.call(void 0, targetChainId);
1659
1687
  const sourceChainIcon = _chunk4KCSH4T3cjs.getChainIcon.call(void 0, asset.chainId);
1660
1688
  const targetChainIcon = _chunk4KCSH4T3cjs.getChainIcon.call(void 0, targetChainId);
1661
- const formattedSendAmount = amount && Number.isFinite(Number(amount)) ? _nullishCoalesce(_chunkV2OBGLJDcjs.formatTokenAmount.call(void 0, Number(amount), asset.symbol), () => ( "0")) : "0";
1662
- const mustHaveQuote = !appFeesResolved || _chunkV2OBGLJDcjs.resolveAppFeeBps.call(void 0,
1689
+ const formattedSendAmount = amount && Number.isFinite(Number(amount)) ? _nullishCoalesce(_chunkHAQOFI3Dcjs.formatTokenAmount.call(void 0, Number(amount), asset.symbol), () => ( "0")) : "0";
1690
+ const mustHaveQuote = !appFeesResolved || _chunkHAQOFI3Dcjs.resolveAppFeeBps.call(void 0,
1663
1691
  appFees,
1664
1692
  `eip155:${quoteSource.chainId}`,
1665
1693
  quoteSource.token
1666
1694
  ) > 0;
1667
- const { display: feeDisplay, struck: feesFullySponsored } = _chunkV2OBGLJDcjs.quoteFeeRow.call(void 0,
1695
+ const { display: feeDisplay, struck: feesFullySponsored } = _chunkHAQOFI3Dcjs.quoteFeeRow.call(void 0,
1668
1696
  _optionalChain([quote, 'optionalAccess', _67 => _67.fees])
1669
1697
  );
1670
1698
  const directTransfer = sameRoute && !mustHaveQuote && !executeTransfer;
1671
- const permitEligible = enableGaslessDeposit && !_chunkV2OBGLJDcjs.isNativeAsset.call(void 0, asset) && !isDappImportAsset(asset) && !executeTransfer && !directTransfer && asset.chainId !== _chunk4KCSH4T3cjs.HYPERCORE_CHAIN_ID;
1699
+ const permitEligible = enableGaslessDeposit && !_chunkHAQOFI3Dcjs.isNativeAsset.call(void 0, asset) && !isDappImportAsset(asset) && !executeTransfer && !directTransfer && asset.chainId !== _chunk4KCSH4T3cjs.HYPERCORE_CHAIN_ID;
1672
1700
  const permitRequestKey = JSON.stringify([
1673
1701
  smartAccount.toLowerCase(),
1674
1702
  asset.chainId,
@@ -1681,21 +1709,21 @@ function ConfirmStep({
1681
1709
  const receiveDisplay = (() => {
1682
1710
  if (directTransfer) return `${formattedSendAmount} ${asset.symbol}`;
1683
1711
  if (quote) {
1684
- const quoted = _chunkV2OBGLJDcjs.formatQuotedReceive.call(void 0, quote.output, targetSymbol);
1712
+ const quoted = _chunkHAQOFI3Dcjs.formatQuotedReceive.call(void 0, quote.output, targetSymbol);
1685
1713
  if (quoted !== void 0) return quoted;
1686
1714
  }
1687
1715
  const usdValue = Number(targetAmount);
1688
1716
  const sourceAmountUsd = Number.isFinite(usdValue) && usdValue > 0 ? usdValue : void 0;
1689
- const estimate = _chunkV2OBGLJDcjs.formatReceiveEstimate.call(void 0, {
1717
+ const estimate = _chunkHAQOFI3Dcjs.formatReceiveEstimate.call(void 0, {
1690
1718
  sourceAmount: Number.isFinite(Number(amount)) ? Number(amount) : void 0,
1691
1719
  sourceSymbol: asset.symbol,
1692
1720
  targetSymbol,
1693
1721
  sourceAmountUsd,
1694
- sourceTrusted: _chunkV2OBGLJDcjs.isRecognizedToken.call(void 0, asset.token, asset.chainId),
1722
+ sourceTrusted: _chunkHAQOFI3Dcjs.isRecognizedToken.call(void 0, asset.token, asset.chainId),
1695
1723
  // The target is the curated deposit destination, so a stablecoin target
1696
1724
  // estimates at $1 when unquoted (DepositFlow skips fetching stablecoin
1697
1725
  // target prices). Not applied to the source — that can be a held token.
1698
- prices: targetTokenPriceUsd !== null && targetTokenPriceUsd > 0 ? { [targetSymbol.toUpperCase()]: targetTokenPriceUsd } : _chunkV2OBGLJDcjs.isDisplayStablecoinSymbol.call(void 0, targetSymbol) ? { [targetSymbol.toUpperCase()]: 1 } : {}
1726
+ prices: targetTokenPriceUsd !== null && targetTokenPriceUsd > 0 ? { [targetSymbol.toUpperCase()]: targetTokenPriceUsd } : _chunkHAQOFI3Dcjs.isDisplayStablecoinSymbol.call(void 0, targetSymbol) ? { [targetSymbol.toUpperCase()]: 1 } : {}
1699
1727
  });
1700
1728
  if (estimate !== void 0) return estimate;
1701
1729
  return targetSymbol;
@@ -1706,7 +1734,7 @@ function ConfirmStep({
1706
1734
  hasAttemptedSwitch.current = true;
1707
1735
  switchChain(asset.chainId).catch((err) => {
1708
1736
  const raw = err instanceof Error ? err.message : "Failed to switch chain";
1709
- setError(_chunkV2OBGLJDcjs.formatUserError.call(void 0, raw));
1737
+ setError(_chunkHAQOFI3Dcjs.formatUserError.call(void 0, raw));
1710
1738
  });
1711
1739
  }
1712
1740
  }, [chainMismatch, switchChain, asset.chainId]);
@@ -1893,9 +1921,9 @@ function ConfirmStep({
1893
1921
  );
1894
1922
  } catch (err) {
1895
1923
  const raw = err instanceof Error ? err.message : "Signing failed";
1896
- const safeToTransfer = !submitStarted || err instanceof _chunkV2OBGLJDcjs.PermitDepositSubmitError && err.safeToTransfer;
1924
+ const safeToTransfer = !submitStarted || err instanceof _chunkHAQOFI3Dcjs.PermitDepositSubmitError && err.safeToTransfer;
1897
1925
  if (safeToTransfer) setPermitDisabled(true);
1898
- const message = safeToTransfer ? _chunkV2OBGLJDcjs.formatUserError.call(void 0, raw) : "Deposit submission status is uncertain. Check your activity before trying a transfer.";
1926
+ const message = safeToTransfer ? _chunkHAQOFI3Dcjs.formatUserError.call(void 0, raw) : "Deposit submission status is uncertain. Check your activity before trying a transfer.";
1899
1927
  setError(message);
1900
1928
  _optionalChain([onError, 'optionalCall', _69 => _69(message, "PERMIT_ERROR", raw)]);
1901
1929
  } finally {
@@ -1916,7 +1944,7 @@ function ConfirmStep({
1916
1944
  const result = await executeTransfer(amountUnits);
1917
1945
  hash = result.txHash;
1918
1946
  resolvedSourceToken = result.sourceToken;
1919
- } else if (_chunkV2OBGLJDcjs.isNativeAsset.call(void 0, asset)) {
1947
+ } else if (_chunkHAQOFI3Dcjs.isNativeAsset.call(void 0, asset)) {
1920
1948
  hash = await walletClient.sendTransaction({
1921
1949
  account,
1922
1950
  chain,
@@ -1947,8 +1975,8 @@ function ConfirmStep({
1947
1975
  );
1948
1976
  } catch (err) {
1949
1977
  const raw = err instanceof Error ? err.message : "Transfer failed";
1950
- const uncertain = _chunk7ICSHJFEcjs.isSubmissionUncertain.call(void 0, err);
1951
- const message = uncertain ? "Deposit submission status is uncertain. Check your activity before trying again." : _chunkV2OBGLJDcjs.formatUserError.call(void 0, raw);
1978
+ const uncertain = _chunk4J5ADVINcjs.isSubmissionUncertain.call(void 0, err);
1979
+ const message = uncertain ? "Deposit submission status is uncertain. Check your activity before trying again." : _chunkHAQOFI3Dcjs.formatUserError.call(void 0, raw);
1952
1980
  if (uncertain) setSubmissionUncertain(true);
1953
1981
  setError(message);
1954
1982
  _optionalChain([onError, 'optionalCall', _71 => _71(message, "TRANSFER_ERROR", raw)]);
@@ -1958,7 +1986,7 @@ function ConfirmStep({
1958
1986
  };
1959
1987
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen", children: [
1960
1988
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body rs-screen-body--gap-32", children: [
1961
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.WalletIcon, {}), title: "Review deposit" }),
1989
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.WalletIcon, {}), title: "Review deposit" }),
1962
1990
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1963
1991
  ReviewDetails,
1964
1992
  {
@@ -1974,9 +2002,9 @@ function ConfirmStep({
1974
2002
  fee: { display: feeDisplay, struck: feesFullySponsored }
1975
2003
  }
1976
2004
  ),
1977
- error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.Callout, { variant: "error", children: error }),
2005
+ error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.Callout, { variant: "error", children: error }),
1978
2006
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1979
- _chunkV2OBGLJDcjs.Button,
2007
+ _chunkHAQOFI3Dcjs.Button,
1980
2008
  {
1981
2009
  onClick: handleConfirm,
1982
2010
  loading: isSubmitting,
@@ -2003,7 +2031,7 @@ function ConfirmStep({
2003
2031
  ] }),
2004
2032
  !permit && permitEligible && permitUnavailable && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "rs-gasless-note", children: permitUnavailable === "permit2-approval-required" ? "Gasless unavailable until Permit2 is approved; Continue sends a token transaction." : "This wallet/token cannot use gasless authorization; Continue sends a token transaction." })
2005
2033
  ] }),
2006
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.PoweredBy, {})
2034
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.PoweredBy, {})
2007
2035
  ] });
2008
2036
  }
2009
2037
 
@@ -2056,29 +2084,29 @@ function QrReviewStep({
2056
2084
  cancelled = true;
2057
2085
  };
2058
2086
  }, [service, smartAccount, asset, amount]);
2059
- const formattedSendAmount = _nullishCoalesce(_chunkV2OBGLJDcjs.formatTokenAmount.call(void 0, Number(amount), asset.symbol), () => ( amount));
2087
+ const formattedSendAmount = _nullishCoalesce(_chunkHAQOFI3Dcjs.formatTokenAmount.call(void 0, Number(amount), asset.symbol), () => ( amount));
2060
2088
  const receiveDisplay = (() => {
2061
2089
  if (quote.value) {
2062
- const quoted = _chunkV2OBGLJDcjs.formatQuotedReceive.call(void 0, quote.value.output, targetSymbol);
2090
+ const quoted = _chunkHAQOFI3Dcjs.formatQuotedReceive.call(void 0, quote.value.output, targetSymbol);
2063
2091
  if (quoted !== void 0) return quoted;
2064
2092
  }
2065
2093
  const usdValue = Number(targetAmount);
2066
- const estimate = _chunkV2OBGLJDcjs.formatReceiveEstimate.call(void 0, {
2094
+ const estimate = _chunkHAQOFI3Dcjs.formatReceiveEstimate.call(void 0, {
2067
2095
  sourceAmount: Number.isFinite(Number(amount)) ? Number(amount) : void 0,
2068
2096
  sourceSymbol: asset.symbol,
2069
2097
  targetSymbol,
2070
2098
  sourceAmountUsd: Number.isFinite(usdValue) && usdValue > 0 ? usdValue : void 0,
2071
- sourceTrusted: _chunkV2OBGLJDcjs.isRecognizedToken.call(void 0, asset.token, asset.chainId),
2072
- prices: targetTokenPriceUsd !== null && targetTokenPriceUsd > 0 ? { [targetSymbol.toUpperCase()]: targetTokenPriceUsd } : _chunkV2OBGLJDcjs.isDisplayStablecoinSymbol.call(void 0, targetSymbol) ? { [targetSymbol.toUpperCase()]: 1 } : {}
2099
+ sourceTrusted: _chunkHAQOFI3Dcjs.isRecognizedToken.call(void 0, asset.token, asset.chainId),
2100
+ prices: targetTokenPriceUsd !== null && targetTokenPriceUsd > 0 ? { [targetSymbol.toUpperCase()]: targetTokenPriceUsd } : _chunkHAQOFI3Dcjs.isDisplayStablecoinSymbol.call(void 0, targetSymbol) ? { [targetSymbol.toUpperCase()]: 1 } : {}
2073
2101
  });
2074
2102
  return _nullishCoalesce(estimate, () => ( targetSymbol));
2075
2103
  })();
2076
2104
  const estimatedTime = quote.value && Number.isFinite(quote.value.estimatedFillTimeSeconds) ? quote.value.estimatedFillTimeSeconds < 60 ? "< 1 min" : `~${Math.round(quote.value.estimatedFillTimeSeconds / 60)} min` : quote.state === "loading" ? "\u2026" : "\u2014";
2077
- const { display: quotedFee, struck } = _chunkV2OBGLJDcjs.quoteFeeRow.call(void 0, _optionalChain([quote, 'access', _72 => _72.value, 'optionalAccess', _73 => _73.fees]));
2105
+ const { display: quotedFee, struck } = _chunkHAQOFI3Dcjs.quoteFeeRow.call(void 0, _optionalChain([quote, 'access', _72 => _72.value, 'optionalAccess', _73 => _73.fees]));
2078
2106
  const feeDisplay = quote.state === "unavailable" ? "\u2014" : quotedFee;
2079
2107
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen", children: [
2080
2108
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body rs-screen-body--gap-32", children: [
2081
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.TransferCryptoIcon, {}), title: "Fee estimate" }),
2109
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.TransferCryptoIcon, {}), title: "Fee estimate" }),
2082
2110
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2083
2111
  ReviewDetails,
2084
2112
  {
@@ -2094,9 +2122,9 @@ function QrReviewStep({
2094
2122
  fee: { display: feeDisplay, struck }
2095
2123
  }
2096
2124
  ),
2097
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.Button, { onClick: onClose, fullWidth: true, children: "Close" })
2125
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.Button, { onClick: onClose, fullWidth: true, children: "Close" })
2098
2126
  ] }),
2099
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.PoweredBy, {})
2127
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.PoweredBy, {})
2100
2128
  ] });
2101
2129
  }
2102
2130
  QrReviewStep.displayName = "QrReviewStep";
@@ -2127,20 +2155,20 @@ function DepositAddressSkeleton({
2127
2155
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen", "aria-busy": "true", children: [
2128
2156
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-sr-only", role: "status", children: "Preparing deposit details\u2026" }),
2129
2157
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body", children: [
2130
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.TransferCryptoIcon, {}), title: "Transfer crypto" }),
2158
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.TransferCryptoIcon, {}), title: "Transfer crypto" }),
2131
2159
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-deposit-address-selectors", "aria-hidden": "true", children: [
2132
2160
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-deposit-address-dropdown", children: [
2133
2161
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-deposit-address-dropdown-label", children: "Supported chain" }),
2134
2162
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-deposit-address-dropdown-trigger", children: [
2135
2163
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2136
- _chunkV2OBGLJDcjs.CdnIcon,
2164
+ _chunkHAQOFI3Dcjs.CdnIcon,
2137
2165
  {
2138
2166
  src: chainIcon,
2139
2167
  className: "rs-deposit-address-dropdown-icon"
2140
2168
  }
2141
2169
  ),
2142
2170
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: chainName }),
2143
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.ChevronDownIcon, { className: "rs-deposit-address-dropdown-chevron" })
2171
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.ChevronDownIcon, { className: "rs-deposit-address-dropdown-chevron" })
2144
2172
  ] })
2145
2173
  ] }),
2146
2174
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-deposit-address-dropdown", children: [
@@ -2149,8 +2177,8 @@ function DepositAddressSkeleton({
2149
2177
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "rs-deposit-address-min", children: [
2150
2178
  "Min.$",
2151
2179
  (_nullishCoalesce(_optionalChain([uiConfig, 'optionalAccess', _74 => _74.minDepositUsd]), () => ( 0.1))).toFixed(2),
2152
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7ICSHJFEcjs.Tooltip, { content: "Minimum deposit amount required for the selected chain.", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2153
- _chunkV2OBGLJDcjs.InfoIcon,
2180
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4J5ADVINcjs.Tooltip, { content: "Minimum deposit amount required for the selected chain.", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2181
+ _chunkHAQOFI3Dcjs.InfoIcon,
2154
2182
  {
2155
2183
  className: "rs-deposit-address-min-icon",
2156
2184
  "aria-hidden": "true"
@@ -2160,14 +2188,14 @@ function DepositAddressSkeleton({
2160
2188
  ] }),
2161
2189
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-deposit-address-dropdown-trigger", children: [
2162
2190
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2163
- _chunkV2OBGLJDcjs.TokenIcon,
2191
+ _chunkHAQOFI3Dcjs.TokenIcon,
2164
2192
  {
2165
2193
  symbol: defaultToken,
2166
2194
  className: "rs-deposit-address-dropdown-icon"
2167
2195
  }
2168
2196
  ),
2169
2197
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: defaultToken }),
2170
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.ChevronDownIcon, { className: "rs-deposit-address-dropdown-chevron" })
2198
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.ChevronDownIcon, { className: "rs-deposit-address-dropdown-chevron" })
2171
2199
  ] })
2172
2200
  ] })
2173
2201
  ] }),
@@ -2182,7 +2210,7 @@ function DepositAddressSkeleton({
2182
2210
  ] }),
2183
2211
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-deposit-address-actions", "aria-hidden": "true", children: [
2184
2212
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "button", { type: "button", className: "rs-deposit-address-copy", disabled: true, children: [
2185
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.CopyIcon, {}),
2213
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.CopyIcon, {}),
2186
2214
  "Copy address"
2187
2215
  ] }),
2188
2216
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -2199,7 +2227,7 @@ function DepositAddressSkeleton({
2199
2227
  }
2200
2228
  )
2201
2229
  ] }),
2202
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.PoweredBy, {})
2230
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.PoweredBy, {})
2203
2231
  ] });
2204
2232
  }
2205
2233
  DepositAddressSkeleton.displayName = "DepositAddressSkeleton";
@@ -2211,9 +2239,9 @@ var INITIAL_POLL_INTERVAL = 3e3;
2211
2239
  var MAX_POLL_INTERVAL = 3e4;
2212
2240
  var BACKOFF_MULTIPLIER = 1.5;
2213
2241
  function isEventForTx(event, txHash) {
2214
- const eventTxHash = _chunk7ICSHJFEcjs.getEventTxHash.call(void 0, event);
2242
+ const eventTxHash = _chunk4J5ADVINcjs.getEventTxHash.call(void 0, event);
2215
2243
  if (!eventTxHash) return false;
2216
- return _chunk7ICSHJFEcjs.txRefsMatch.call(void 0, eventTxHash, txHash);
2244
+ return _chunk4J5ADVINcjs.txRefsMatch.call(void 0, eventTxHash, txHash);
2217
2245
  }
2218
2246
  function truncateHash(hash) {
2219
2247
  return `${hash.slice(0, 4)}\u2026${hash.slice(-4)}`;
@@ -2263,7 +2291,7 @@ function formatBridgeFailedMessage(event) {
2263
2291
  }
2264
2292
  return "Bridge failed";
2265
2293
  }
2266
- var txLinkIcon = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.ExternalLinkIcon, { className: "rs-deposit-notification-link-icon" });
2294
+ var txLinkIcon = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.ExternalLinkIcon, { className: "rs-deposit-notification-link-icon" });
2267
2295
  function DepositNotification({
2268
2296
  deposit,
2269
2297
  smartAccount,
@@ -2297,7 +2325,7 @@ function DepositNotification({
2297
2325
  const pollIntervalRef = _react.useRef.call(void 0, INITIAL_POLL_INTERVAL);
2298
2326
  const pollTimeoutRef = _react.useRef.call(void 0, null);
2299
2327
  const completedRef = _react.useRef.call(void 0, false);
2300
- const depositContextRef = _chunkV2OBGLJDcjs.useLatestRef.call(void 0, {
2328
+ const depositContextRef = _chunkHAQOFI3Dcjs.useLatestRef.call(void 0, {
2301
2329
  amount,
2302
2330
  sourceChain,
2303
2331
  sourceToken: token,
@@ -2305,8 +2333,8 @@ function DepositNotification({
2305
2333
  targetChain,
2306
2334
  targetToken
2307
2335
  });
2308
- const onCompleteRef = _chunkV2OBGLJDcjs.useLatestRef.call(void 0, onComplete);
2309
- const onFailedRef = _chunkV2OBGLJDcjs.useLatestRef.call(void 0, onFailed);
2336
+ const onCompleteRef = _chunkHAQOFI3Dcjs.useLatestRef.call(void 0, onComplete);
2337
+ const onFailedRef = _chunkHAQOFI3Dcjs.useLatestRef.call(void 0, onFailed);
2310
2338
  const handleComplete = _react.useCallback.call(void 0,
2311
2339
  (destTxHash) => {
2312
2340
  if (completedRef.current) return;
@@ -2397,12 +2425,12 @@ function DepositNotification({
2397
2425
  status,
2398
2426
  txHash
2399
2427
  ]);
2400
- const explorerTxUrl = _chunkV2OBGLJDcjs.useExplorerTxUrl.call(void 0, );
2428
+ const explorerTxUrl = _chunkHAQOFI3Dcjs.useExplorerTxUrl.call(void 0, );
2401
2429
  const sourceExplorerUrl = sourceChain === "unknown" ? void 0 : explorerTxUrl(sourceChain, txHash);
2402
2430
  const destExplorerUrl = destinationTxHash ? explorerTxUrl(_chunk4KCSH4T3cjs.targetChainToChainId.call(void 0, targetChain), destinationTxHash) : null;
2403
2431
  const title = status === "complete" ? "Deposit completed" : status === "failed" ? "Deposit failed" : "Deposit received and processing\u2026";
2404
2432
  const subtitle = status === "complete" ? "Your deposit has been credited to your account." : status === "failed" ? "Your deposit could not be processed." : "Your deposit will be credited to your account shortly.";
2405
- const statusIcon = status === "complete" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-deposit-notification-badge rs-deposit-notification-badge--complete", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.CheckIcon, {}) }) : status === "failed" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-deposit-notification-badge rs-deposit-notification-badge--failed", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.CloseIcon, {}) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-deposit-notification-badge rs-deposit-notification-badge--processing", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
2433
+ const statusIcon = status === "complete" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-deposit-notification-badge rs-deposit-notification-badge--complete", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.CheckIcon, {}) }) : status === "failed" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-deposit-notification-badge rs-deposit-notification-badge--failed", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.CloseIcon, {}) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-deposit-notification-badge rs-deposit-notification-badge--processing", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
2406
2434
  "svg",
2407
2435
  {
2408
2436
  className: "rs-deposit-notification-spinner",
@@ -2452,7 +2480,7 @@ function DepositNotification({
2452
2480
  className: "rs-deposit-notification-close",
2453
2481
  onClick: () => onDismiss(deposit.id),
2454
2482
  "aria-label": "Dismiss",
2455
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.CloseIcon, {})
2483
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.CloseIcon, {})
2456
2484
  }
2457
2485
  )
2458
2486
  ] }),
@@ -2468,7 +2496,7 @@ function DepositNotification({
2468
2496
  "aria-expanded": expanded,
2469
2497
  children: [
2470
2498
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: expanded ? "See less details" : "See more details" }),
2471
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.ChevronDownIcon, { className: "rs-deposit-notification-toggle-chevron" })
2499
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.ChevronDownIcon, { className: "rs-deposit-notification-toggle-chevron" })
2472
2500
  ]
2473
2501
  }
2474
2502
  ),
@@ -2653,7 +2681,7 @@ function selectionAsAsset(chainId, symbol, topTokens, catalogChain) {
2653
2681
  }
2654
2682
  function TokenGlyph({ symbol }) {
2655
2683
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2656
- _chunkV2OBGLJDcjs.TokenIcon,
2684
+ _chunkHAQOFI3Dcjs.TokenIcon,
2657
2685
  {
2658
2686
  symbol,
2659
2687
  className: "rs-deposit-address-dropdown-icon",
@@ -2700,12 +2728,12 @@ function DepositAddressStep({
2700
2728
  };
2701
2729
  }, [service]);
2702
2730
  const BASE_CHAIN_ID2 = 8453;
2703
- const evmChainIds = _chunkV2OBGLJDcjs.useDepositChainIds.call(void 0, );
2704
- const { catalog, isLoading: catalogLoading } = _chunkV2OBGLJDcjs.useChainCatalog.call(void 0, );
2731
+ const evmChainIds = _chunkHAQOFI3Dcjs.useDepositChainIds.call(void 0, );
2732
+ const { catalog, isLoading: catalogLoading } = _chunkHAQOFI3Dcjs.useChainCatalog.call(void 0, );
2705
2733
  const catalogFor = _react.useCallback.call(void 0,
2706
2734
  (chain) => {
2707
2735
  if (!catalog) return void 0;
2708
- const key = _chunkV2OBGLJDcjs.catalogKeyForChain.call(void 0, chain);
2736
+ const key = _chunkHAQOFI3Dcjs.catalogKeyForChain.call(void 0, chain);
2709
2737
  return typeof key === "number" ? catalog.byChainId.get(key) : catalog.byCaip2.get(key);
2710
2738
  },
2711
2739
  [catalog]
@@ -2910,10 +2938,10 @@ function DepositAddressStep({
2910
2938
  return;
2911
2939
  }
2912
2940
  const event = status.lastEvent;
2913
- const eventTxHash = _chunk7ICSHJFEcjs.isDepositEvent.call(void 0, event) ? _nullishCoalesce(_chunk7ICSHJFEcjs.getEventTxHash.call(void 0, event), () => ( null)) : null;
2941
+ const eventTxHash = _chunk4J5ADVINcjs.isDepositEvent.call(void 0, event) ? _nullishCoalesce(_chunk4J5ADVINcjs.getEventTxHash.call(void 0, event), () => ( null)) : null;
2914
2942
  if (baselineTxHashRef.current === void 0) {
2915
2943
  baselineTxHashRef.current = eventTxHash;
2916
- } else if (eventTxHash && (!baselineTxHashRef.current || !_chunk7ICSHJFEcjs.txRefsMatch.call(void 0, eventTxHash, baselineTxHashRef.current))) {
2944
+ } else if (eventTxHash && (!baselineTxHashRef.current || !_chunk4J5ADVINcjs.txRefsMatch.call(void 0, eventTxHash, baselineTxHashRef.current))) {
2917
2945
  const details = getDepositEventDetails(event);
2918
2946
  const chainId = _nullishCoalesce(details.chainId, () => ( "unknown"));
2919
2947
  const amount = _nullishCoalesce(details.amount, () => ( "0"));
@@ -2997,13 +3025,13 @@ function DepositAddressStep({
2997
3025
  if (chainOptions.length === 0) {
2998
3026
  if (catalogLoading) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DepositAddressSkeleton, { uiConfig });
2999
3027
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-screen", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body", children: [
3000
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.TransferCryptoIcon, {}), title: "Transfer crypto" }),
3001
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.Callout, { variant: "error", children: "Supported chains are unavailable right now, so there is no deposit address to show. Close and try again in a moment." })
3028
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.TransferCryptoIcon, {}), title: "Transfer crypto" }),
3029
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.Callout, { variant: "error", children: "Supported chains are unavailable right now, so there is no deposit address to show. Close and try again in a moment." })
3002
3030
  ] }) });
3003
3031
  }
3004
3032
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen rs-step--with-notifications", children: [
3005
3033
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body", children: [
3006
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.TransferCryptoIcon, {}), title: "Transfer crypto" }),
3034
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.TransferCryptoIcon, {}), title: "Transfer crypto" }),
3007
3035
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-deposit-address-selectors", children: [
3008
3036
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-deposit-address-dropdown", ref: chainDropdownRef, children: [
3009
3037
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-deposit-address-dropdown-label", children: "Supported chain" }),
@@ -3019,14 +3047,14 @@ function DepositAddressStep({
3019
3047
  },
3020
3048
  children: [
3021
3049
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3022
- _chunkV2OBGLJDcjs.CdnIcon,
3050
+ _chunkHAQOFI3Dcjs.CdnIcon,
3023
3051
  {
3024
3052
  src: _nullishCoalesce(_optionalChain([catalogFor, 'call', _142 => _142(sourceChainId), 'optionalAccess', _143 => _143.iconUrl]), () => ( _chunk4KCSH4T3cjs.getChainIcon.call(void 0, sourceChainId))),
3025
3053
  className: "rs-deposit-address-dropdown-icon"
3026
3054
  }
3027
3055
  ),
3028
3056
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: chainLabel(sourceChainId, catalogFor(sourceChainId)) }),
3029
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.ChevronDownIcon, { className: "rs-deposit-address-dropdown-chevron" })
3057
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.ChevronDownIcon, { className: "rs-deposit-address-dropdown-chevron" })
3030
3058
  ]
3031
3059
  }
3032
3060
  ),
@@ -3038,7 +3066,7 @@ function DepositAddressStep({
3038
3066
  onClick: () => handleSelectChain(chainId),
3039
3067
  children: [
3040
3068
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3041
- _chunkV2OBGLJDcjs.CdnIcon,
3069
+ _chunkHAQOFI3Dcjs.CdnIcon,
3042
3070
  {
3043
3071
  src: _nullishCoalesce(_optionalChain([catalogFor, 'call', _144 => _144(chainId), 'optionalAccess', _145 => _145.iconUrl]), () => ( _chunk4KCSH4T3cjs.getChainIcon.call(void 0, chainId))),
3044
3072
  className: "rs-deposit-address-dropdown-icon"
@@ -3056,8 +3084,8 @@ function DepositAddressStep({
3056
3084
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "rs-deposit-address-min", children: [
3057
3085
  "Min.$",
3058
3086
  (_chunk4KCSH4T3cjs.isHyperCoreDestination.call(void 0, targetChain) || isHyperCore ? Math.max(_chunk4KCSH4T3cjs.HYPERCORE_MIN_DEPOSIT_USD, _nullishCoalesce(_optionalChain([uiConfig, 'optionalAccess', _146 => _146.minDepositUsd]), () => ( 0))) : _nullishCoalesce(_optionalChain([uiConfig, 'optionalAccess', _147 => _147.minDepositUsd]), () => ( 0.1))).toFixed(2),
3059
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7ICSHJFEcjs.Tooltip, { content: "Minimum deposit amount required for the selected chain.", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3060
- _chunkV2OBGLJDcjs.InfoIcon,
3087
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4J5ADVINcjs.Tooltip, { content: "Minimum deposit amount required for the selected chain.", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3088
+ _chunkHAQOFI3Dcjs.InfoIcon,
3061
3089
  {
3062
3090
  className: "rs-deposit-address-min-icon",
3063
3091
  "aria-hidden": "true"
@@ -3078,7 +3106,7 @@ function DepositAddressStep({
3078
3106
  children: [
3079
3107
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TokenGlyph, { symbol: sourceTokenSymbol }),
3080
3108
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: sourceTokenSymbol }),
3081
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.ChevronDownIcon, { className: "rs-deposit-address-dropdown-chevron" })
3109
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.ChevronDownIcon, { className: "rs-deposit-address-dropdown-chevron" })
3082
3110
  ]
3083
3111
  }
3084
3112
  ),
@@ -3123,7 +3151,7 @@ function DepositAddressStep({
3123
3151
  className: "rs-deposit-address-copy",
3124
3152
  onClick: handleCopy,
3125
3153
  children: [
3126
- copied ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.CheckIcon, {}) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.CopyIcon, {}),
3154
+ copied ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.CheckIcon, {}) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.CopyIcon, {}),
3127
3155
  copied ? "Copied!" : "Copy address"
3128
3156
  ]
3129
3157
  }
@@ -3158,7 +3186,7 @@ function DepositAddressStep({
3158
3186
  },
3159
3187
  deposit.id
3160
3188
  )) }),
3161
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.PoweredBy, {})
3189
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.PoweredBy, {})
3162
3190
  ] });
3163
3191
  }
3164
3192
  DepositAddressStep.displayName = "DepositAddressStep";
@@ -3215,7 +3243,7 @@ function FinalisingDepositStep() {
3215
3243
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "rs-finalising-subtitle", children: "We are depositing your funds to the application." })
3216
3244
  ] })
3217
3245
  ] }),
3218
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.PoweredBy, {})
3246
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.PoweredBy, {})
3219
3247
  ] });
3220
3248
  }
3221
3249
  FinalisingDepositStep.displayName = "FinalisingDepositStep";
@@ -3245,7 +3273,7 @@ function SwappedOrderTracker({
3245
3273
  ];
3246
3274
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen rs-swapped-tracker", children: [
3247
3275
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body rs-screen-body--gap-32", children: [
3248
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.HandCoinsIcon, {}), title }),
3276
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.HandCoinsIcon, {}), title }),
3249
3277
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ol", { className: "rs-swapped-tracker-steps", children: labels.map((label, idx) => {
3250
3278
  const status = stepStates[idx];
3251
3279
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
@@ -3259,7 +3287,7 @@ function SwappedOrderTracker({
3259
3287
  {
3260
3288
  className: "rs-swapped-tracker-step-marker",
3261
3289
  "aria-hidden": "true",
3262
- children: status === "complete" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.CheckIcon, {}) : status === "failed" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.CloseIcon, {}) : status === "active" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.Spinner, {}) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3290
+ children: status === "complete" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.CheckIcon, {}) : status === "failed" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.CloseIcon, {}) : status === "active" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.Spinner, {}) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3263
3291
  "svg",
3264
3292
  {
3265
3293
  className: "rs-swapped-tracker-step-ring",
@@ -3294,7 +3322,7 @@ function SwappedOrderTracker({
3294
3322
  }
3295
3323
  )
3296
3324
  ] }),
3297
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.PoweredBy, {})
3325
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.PoweredBy, {})
3298
3326
  ] });
3299
3327
  }
3300
3328
  function formatTrackerAmount(amount) {
@@ -3582,10 +3610,10 @@ function SwappedProviderStep({
3582
3610
  const status = await service.fetchLatestStatus(smartAccount);
3583
3611
  if (cancelled) return;
3584
3612
  const event = status.lastEvent;
3585
- const eventTxHash = _chunk7ICSHJFEcjs.isDepositEvent.call(void 0, event) ? _nullishCoalesce(_chunk7ICSHJFEcjs.getEventTxHash.call(void 0, event), () => ( null)) : null;
3613
+ const eventTxHash = _chunk4J5ADVINcjs.isDepositEvent.call(void 0, event) ? _nullishCoalesce(_chunk4J5ADVINcjs.getEventTxHash.call(void 0, event), () => ( null)) : null;
3586
3614
  if (baselineDepositTxHashRef.current === void 0) {
3587
3615
  baselineDepositTxHashRef.current = eventTxHash;
3588
- } else if (eventTxHash && (!baselineDepositTxHashRef.current || !_chunk7ICSHJFEcjs.txRefsMatch.call(void 0, eventTxHash, baselineDepositTxHashRef.current))) {
3616
+ } else if (eventTxHash && (!baselineDepositTxHashRef.current || !_chunk4J5ADVINcjs.txRefsMatch.call(void 0, eventTxHash, baselineDepositTxHashRef.current))) {
3589
3617
  currentDepositTxHashRef.current = eventTxHash;
3590
3618
  setLatestEvent(_nullishCoalesce(event, () => ( null)));
3591
3619
  }
@@ -3660,10 +3688,10 @@ function SwappedProviderStep({
3660
3688
  [orderState, latestEvent]
3661
3689
  );
3662
3690
  const terminalState = _react.useMemo.call(void 0, () => {
3663
- if (_chunk7ICSHJFEcjs.isFailedEvent.call(void 0, _nullishCoalesce(latestEvent, () => ( void 0)))) {
3691
+ if (_chunk4J5ADVINcjs.isFailedEvent.call(void 0, _nullishCoalesce(latestEvent, () => ( void 0)))) {
3664
3692
  return {
3665
3693
  kind: "failed",
3666
- message: _chunk7ICSHJFEcjs.failureMessageForEvent.call(void 0, _nullishCoalesce(latestEvent, () => ( void 0)))
3694
+ message: _chunk4J5ADVINcjs.failureMessageForEvent.call(void 0, _nullishCoalesce(latestEvent, () => ( void 0)))
3667
3695
  };
3668
3696
  }
3669
3697
  if (_optionalChain([orderState, 'optionalAccess', _178 => _178.status]) === "order_cancelled") {
@@ -3689,7 +3717,7 @@ function SwappedProviderStep({
3689
3717
  orderCrypto: _nullishCoalesce(_optionalChain([orderState, 'optionalAccess', _183 => _183.orderCrypto]), () => ( null)),
3690
3718
  // Base-unit source amount from the deposit row/event, consistent with the
3691
3719
  // wallet/QR path. ProcessingStep + onLifecycle expect base units.
3692
- amount: _nullishCoalesce(_chunk7ICSHJFEcjs.getEventSourceDetails.call(void 0, _nullishCoalesce(latestEvent, () => ( void 0))).amount, () => ( null)),
3720
+ amount: _nullishCoalesce(_chunk4J5ADVINcjs.getEventSourceDetails.call(void 0, _nullishCoalesce(latestEvent, () => ( void 0))).amount, () => ( null)),
3693
3721
  expectedOrderUuid: expectedOrderUuidRef.current,
3694
3722
  initialEvent: _nullishCoalesce(latestEvent, () => ( void 0))
3695
3723
  };
@@ -3700,14 +3728,14 @@ function SwappedProviderStep({
3700
3728
  }, [latestEvent, orderState, smartAccount]);
3701
3729
  _react.useEffect.call(void 0, () => {
3702
3730
  if (failedFiredRef.current || completeFiredRef.current) return;
3703
- if (!_chunk7ICSHJFEcjs.isFailedEvent.call(void 0, _nullishCoalesce(latestEvent, () => ( void 0)))) return;
3731
+ if (!_chunk4J5ADVINcjs.isFailedEvent.call(void 0, _nullishCoalesce(latestEvent, () => ( void 0)))) return;
3704
3732
  const txHash = currentDepositTxHashRef.current;
3705
3733
  if (!txHash) return;
3706
3734
  failedFiredRef.current = true;
3707
3735
  setPhase("tracker");
3708
3736
  _optionalChain([onSwappedFailedRef, 'access', _184 => _184.current, 'optionalCall', _185 => _185(
3709
3737
  txHash,
3710
- _chunk7ICSHJFEcjs.failureMessageForEvent.call(void 0, _nullishCoalesce(latestEvent, () => ( void 0)))
3738
+ _chunk4J5ADVINcjs.failureMessageForEvent.call(void 0, _nullishCoalesce(latestEvent, () => ( void 0)))
3711
3739
  )]);
3712
3740
  }, [latestEvent]);
3713
3741
  const immersive = !openExternally && variant === "fiat" && phase === "provider" && !loadError;
@@ -3757,7 +3785,7 @@ function SwappedProviderStep({
3757
3785
  }
3758
3786
  )
3759
3787
  ] }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
3760
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.Spinner, {}),
3788
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.Spinner, {}),
3761
3789
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-swapped-handoff-text", children: [
3762
3790
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "rs-swapped-handoff-title", children: handoffOpened ? variant === "fiat" ? "Finish paying in your browser" : "Approve the transfer in your browser" : "Opening your browser\u2026" }),
3763
3791
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "rs-swapped-handoff-subtitle", children: handoffOpened ? (
@@ -3781,7 +3809,7 @@ function SwappedProviderStep({
3781
3809
  }
3782
3810
  )
3783
3811
  ] }) }),
3784
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.PoweredBy, {})
3812
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.PoweredBy, {})
3785
3813
  ] });
3786
3814
  }
3787
3815
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen rs-fiat-onramp", "data-variant": variant, children: [
@@ -3798,7 +3826,7 @@ function SwappedProviderStep({
3798
3826
  }
3799
3827
  )
3800
3828
  ] }),
3801
- !loadError && !iframeLoaded && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-fiat-onramp-loading", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.Spinner, {}) }),
3829
+ !loadError && !iframeLoaded && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-fiat-onramp-loading", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.Spinner, {}) }),
3802
3830
  widgetUrl && !loadError && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3803
3831
  "iframe",
3804
3832
  {
@@ -3821,11 +3849,11 @@ function SwappedProviderStep({
3821
3849
  retryToken
3822
3850
  )
3823
3851
  ] }) }),
3824
- loadError && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.PoweredBy, {})
3852
+ loadError && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.PoweredBy, {})
3825
3853
  ] });
3826
3854
  }
3827
3855
  function deriveStepStates(swappedStatus, latestEvent) {
3828
- if (_chunk7ICSHJFEcjs.isFailedEvent.call(void 0, _nullishCoalesce(latestEvent, () => ( void 0)))) {
3856
+ if (_chunk4J5ADVINcjs.isFailedEvent.call(void 0, _nullishCoalesce(latestEvent, () => ( void 0)))) {
3829
3857
  return ["complete", "complete", "failed", "pending"];
3830
3858
  }
3831
3859
  if (swappedStatus === "order_cancelled") {
@@ -4035,7 +4063,7 @@ ExchangeConnectStep.displayName = "ExchangeConnectStep";
4035
4063
  function ExchangeLogo({ exchange }) {
4036
4064
  const [failed, setFailed] = _react.useState.call(void 0, false);
4037
4065
  if (!exchange.logoUrl || failed) {
4038
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.BankIcon, {});
4066
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.BankIcon, {});
4039
4067
  }
4040
4068
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4041
4069
  "img",
@@ -4116,14 +4144,14 @@ function ExchangeSelectStep({
4116
4144
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen rs-exchange-select", children: [
4117
4145
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body rs-screen-body--gap-32", children: [
4118
4146
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4119
- _chunkV2OBGLJDcjs.BodyHeader,
4147
+ _chunkHAQOFI3Dcjs.BodyHeader,
4120
4148
  {
4121
- icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.UnplugIcon, {}),
4149
+ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.UnplugIcon, {}),
4122
4150
  title: "Connect exchange",
4123
4151
  subtitle: "Select an exchange to connect"
4124
4152
  }
4125
4153
  ),
4126
- loading && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-exchange-select-state", "aria-live": "polite", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.Spinner, {}) }),
4154
+ loading && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-exchange-select-state", "aria-live": "polite", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.Spinner, {}) }),
4127
4155
  !loading && error && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-exchange-select-state", "aria-live": "polite", children: [
4128
4156
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-exchange-select-state-title", children: "Couldn\u2019t load exchanges" }),
4129
4157
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -4149,7 +4177,7 @@ function ExchangeSelectStep({
4149
4177
  )
4150
4178
  ] }),
4151
4179
  !loading && !error && exchanges.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-exchange-grid", children: exchanges.map((exchange) => {
4152
- const brand = _chunk7ICSHJFEcjs.getExchangeLogo.call(void 0, exchange.name, exchange.connection);
4180
+ const brand = _chunk4J5ADVINcjs.getExchangeLogo.call(void 0, exchange.name, exchange.connection);
4153
4181
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
4154
4182
  "button",
4155
4183
  {
@@ -4174,7 +4202,7 @@ function ExchangeSelectStep({
4174
4202
  );
4175
4203
  }) })
4176
4204
  ] }),
4177
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.PoweredBy, {}),
4205
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.PoweredBy, {}),
4178
4206
  exchangeFeeBps > 0 && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "rs-exchange-select-fee-note", children: [
4179
4207
  "A ",
4180
4208
  formatFeeRate(exchangeFeeBps),
@@ -4212,7 +4240,7 @@ function SolanaTokenSelectStep({
4212
4240
  setError(null);
4213
4241
  const portfolioBySymbol = {};
4214
4242
  try {
4215
- _chunkV2OBGLJDcjs.debugLog.call(void 0, debug, "solana-token-select", "portfolio:request", {
4243
+ _chunkHAQOFI3Dcjs.debugLog.call(void 0, debug, "solana-token-select", "portfolio:request", {
4216
4244
  solanaAddress
4217
4245
  });
4218
4246
  const portfolio = await service.fetchSolanaPortfolio(solanaAddress);
@@ -4235,12 +4263,12 @@ function SolanaTokenSelectStep({
4235
4263
  };
4236
4264
  }
4237
4265
  }
4238
- _chunkV2OBGLJDcjs.debugLog.call(void 0, debug, "solana-token-select", "portfolio:success", {
4266
+ _chunkHAQOFI3Dcjs.debugLog.call(void 0, debug, "solana-token-select", "portfolio:success", {
4239
4267
  symbols: Object.keys(portfolioBySymbol)
4240
4268
  });
4241
4269
  } catch (err) {
4242
4270
  if (!active) return;
4243
- _chunkV2OBGLJDcjs.debugError.call(void 0, debug, "solana-token-select", "portfolio:failure", err, {
4271
+ _chunkHAQOFI3Dcjs.debugError.call(void 0, debug, "solana-token-select", "portfolio:failure", err, {
4244
4272
  solanaAddress
4245
4273
  });
4246
4274
  setError(
@@ -4287,7 +4315,7 @@ function SolanaTokenSelectStep({
4287
4315
  const raw = _viem.formatUnits.call(void 0, entry.balance, entry.token.decimals);
4288
4316
  const numeric = Number(raw);
4289
4317
  if (!Number.isFinite(numeric)) return raw;
4290
- return _chunkV2OBGLJDcjs.tokenFormatter.format(numeric);
4318
+ return _chunkHAQOFI3Dcjs.tokenFormatter.format(numeric);
4291
4319
  } catch (e27) {
4292
4320
  return "--";
4293
4321
  }
@@ -4297,20 +4325,20 @@ function SolanaTokenSelectStep({
4297
4325
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen", children: [
4298
4326
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body", children: [
4299
4327
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4300
- _chunkV2OBGLJDcjs.BodyHeader,
4328
+ _chunkHAQOFI3Dcjs.BodyHeader,
4301
4329
  {
4302
- icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.WalletIcon, {}),
4330
+ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.WalletIcon, {}),
4303
4331
  title: "Your assets",
4304
4332
  subtitle: "Select source assets to transfer"
4305
4333
  }
4306
4334
  ),
4307
4335
  loading && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-loading-state", style: { padding: "40px 12px" }, children: [
4308
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.Spinner, { className: "rs-text-tertiary" }),
4336
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.Spinner, { className: "rs-text-tertiary" }),
4309
4337
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-text-sm rs-text-tertiary", children: "Loading balances" })
4310
4338
  ] }),
4311
- error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.Callout, { variant: "error", children: error }),
4339
+ error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.Callout, { variant: "error", children: error }),
4312
4340
  !loading && !error && rows.length === 0 && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-empty-state", children: [
4313
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.WalletIcon, { className: "rs-empty-icon" }),
4341
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.WalletIcon, { className: "rs-empty-icon" }),
4314
4342
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-empty-text", children: "No funds in connected wallet" }),
4315
4343
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-empty-address", children: [
4316
4344
  solanaAddress.slice(0, 6),
@@ -4341,13 +4369,13 @@ function SolanaTokenSelectStep({
4341
4369
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-asset-info", children: [
4342
4370
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-asset-icon-wrapper", children: [
4343
4371
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-asset-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4344
- _chunkV2OBGLJDcjs.TokenIcon,
4372
+ _chunkHAQOFI3Dcjs.TokenIcon,
4345
4373
  {
4346
4374
  symbol: entry.token.symbol,
4347
4375
  fallback: entry.token.symbol.slice(0, 4)
4348
4376
  }
4349
4377
  ) }),
4350
- chainIcon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-asset-chain-badge", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.CdnIcon, { src: chainIcon, alt: chainName }) })
4378
+ chainIcon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-asset-chain-badge", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.CdnIcon, { src: chainIcon, alt: chainName }) })
4351
4379
  ] }),
4352
4380
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-asset-text", children: [
4353
4381
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-asset-name-row", children: [
@@ -4364,14 +4392,14 @@ function SolanaTokenSelectStep({
4364
4392
  ] })
4365
4393
  ] })
4366
4394
  ] }),
4367
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-asset-balance", children: entry.balanceUsd > 0 ? _chunkV2OBGLJDcjs.currencyFormatter.format(entry.balanceUsd) : tokenAmount !== "--" ? `${tokenAmount} ${entry.token.symbol}` : "--" })
4395
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-asset-balance", children: entry.balanceUsd > 0 ? _chunkHAQOFI3Dcjs.currencyFormatter.format(entry.balanceUsd) : tokenAmount !== "--" ? `${tokenAmount} ${entry.token.symbol}` : "--" })
4368
4396
  ]
4369
4397
  },
4370
4398
  entry.token.symbol
4371
4399
  );
4372
4400
  }) }),
4373
4401
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4374
- _chunkV2OBGLJDcjs.Button,
4402
+ _chunkHAQOFI3Dcjs.Button,
4375
4403
  {
4376
4404
  onClick: () => selectedEntry && onContinue(
4377
4405
  selectedEntry.token,
@@ -4384,7 +4412,7 @@ function SolanaTokenSelectStep({
4384
4412
  }
4385
4413
  )
4386
4414
  ] }),
4387
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.PoweredBy, {})
4415
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.PoweredBy, {})
4388
4416
  ] });
4389
4417
  }
4390
4418
 
@@ -4436,7 +4464,7 @@ function SolanaAmountStep({
4436
4464
  const raw = _viem.formatUnits.call(void 0, balance, token.decimals);
4437
4465
  const numeric = Number(raw);
4438
4466
  if (!Number.isFinite(numeric)) return raw;
4439
- return _chunkV2OBGLJDcjs.tokenFormatter.format(numeric);
4467
+ return _chunkHAQOFI3Dcjs.tokenFormatter.format(numeric);
4440
4468
  } catch (e29) {
4441
4469
  return "\u2026";
4442
4470
  }
@@ -4529,7 +4557,7 @@ function SolanaAmountStep({
4529
4557
  const handlePresetClick = (percentage) => {
4530
4558
  const formatted = computePresetAmount(percentage);
4531
4559
  if (!formatted) return;
4532
- _chunkV2OBGLJDcjs.debugLog.call(void 0, debug, "solana-amount", "amount:preset", {
4560
+ _chunkHAQOFI3Dcjs.debugLog.call(void 0, debug, "solana-amount", "amount:preset", {
4533
4561
  percentage,
4534
4562
  symbol: token.symbol,
4535
4563
  formatted
@@ -4564,7 +4592,7 @@ function SolanaAmountStep({
4564
4592
  try {
4565
4593
  amountInUnits = _viem.parseUnits.call(void 0, sourceAmountStr, token.decimals);
4566
4594
  } catch (e34) {
4567
- _chunkV2OBGLJDcjs.debugLog.call(void 0, debug, "solana-amount", "amount:invalid", {
4595
+ _chunkHAQOFI3Dcjs.debugLog.call(void 0, debug, "solana-amount", "amount:invalid", {
4568
4596
  amount,
4569
4597
  sourceAmount: sourceAmountStr,
4570
4598
  reason: "parse-units-failed"
@@ -4579,7 +4607,7 @@ function SolanaAmountStep({
4579
4607
  );
4580
4608
  return;
4581
4609
  }
4582
- _chunkV2OBGLJDcjs.debugLog.call(void 0, debug, "solana-amount", "amount:continue", {
4610
+ _chunkHAQOFI3Dcjs.debugLog.call(void 0, debug, "solana-amount", "amount:continue", {
4583
4611
  symbol: token.symbol,
4584
4612
  inputAmountUsd: amount,
4585
4613
  sourceAmount: sourceAmountStr,
@@ -4592,7 +4620,7 @@ function SolanaAmountStep({
4592
4620
  const continueDisabled = exceedsBalance || numericAmount === 0 && !isBelowMin;
4593
4621
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen", children: [
4594
4622
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body rs-screen-body--gap-32", children: [
4595
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.WalletIcon, {}), title: "Wallet deposit" }),
4623
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.WalletIcon, {}), title: "Wallet deposit" }),
4596
4624
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-amount-section", children: [
4597
4625
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-amount-display", children: [
4598
4626
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -4612,13 +4640,13 @@ function SolanaAmountStep({
4612
4640
  " available",
4613
4641
  computedBalanceUsd !== null && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
4614
4642
  " (~",
4615
- _chunkV2OBGLJDcjs.currencyFormatter.format(computedBalanceUsd),
4643
+ _chunkHAQOFI3Dcjs.currencyFormatter.format(computedBalanceUsd),
4616
4644
  ")"
4617
4645
  ] })
4618
4646
  ] }),
4619
4647
  minDepositUsd !== null && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "rs-amount-meta-minimum", children: [
4620
4648
  "Min. deposit ",
4621
- _chunkV2OBGLJDcjs.currencyFormatter.format(minDepositUsd)
4649
+ _chunkHAQOFI3Dcjs.currencyFormatter.format(minDepositUsd)
4622
4650
  ] })
4623
4651
  ] })
4624
4652
  ] }),
@@ -4641,7 +4669,7 @@ function SolanaAmountStep({
4641
4669
  "Solana ",
4642
4670
  token.symbol
4643
4671
  ] }),
4644
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-amount-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.TokenIcon, { symbol: token.symbol }) })
4672
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-amount-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.TokenIcon, { symbol: token.symbol }) })
4645
4673
  ] })
4646
4674
  ] }),
4647
4675
  targetChainName && targetTokenSymbol && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-amount-detail-row", children: [
@@ -4652,17 +4680,17 @@ function SolanaAmountStep({
4652
4680
  " ",
4653
4681
  targetTokenSymbol
4654
4682
  ] }),
4655
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-amount-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.TokenIcon, { symbol: targetTokenSymbol }) })
4683
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-amount-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.TokenIcon, { symbol: targetTokenSymbol }) })
4656
4684
  ] })
4657
4685
  ] }),
4658
4686
  balanceAfterUsd !== null && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-amount-detail-row", children: [
4659
4687
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: "Balance after deposit" }),
4660
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-amount-detail-value", children: _chunkV2OBGLJDcjs.currencyFormatter.format(balanceAfterUsd) })
4688
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-amount-detail-value", children: _chunkHAQOFI3Dcjs.currencyFormatter.format(balanceAfterUsd) })
4661
4689
  ] })
4662
4690
  ] }),
4663
- error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.Callout, { variant: "error", children: error }),
4691
+ error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.Callout, { variant: "error", children: error }),
4664
4692
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4665
- _chunkV2OBGLJDcjs.Button,
4693
+ _chunkHAQOFI3Dcjs.Button,
4666
4694
  {
4667
4695
  onClick: handleContinue,
4668
4696
  fullWidth: true,
@@ -4671,7 +4699,7 @@ function SolanaAmountStep({
4671
4699
  }
4672
4700
  )
4673
4701
  ] }),
4674
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.PoweredBy, {})
4702
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.PoweredBy, {})
4675
4703
  ] });
4676
4704
  }
4677
4705
 
@@ -4680,40 +4708,41 @@ function SolanaAmountStep({
4680
4708
 
4681
4709
 
4682
4710
  // src/core/solana.ts
4683
-
4684
-
4685
-
4686
-
4687
-
4688
- var _web3js = require('@solana/web3.js');
4689
-
4690
-
4691
-
4692
-
4693
- var _spltoken = require('@solana/spl-token');
4694
4711
  var DEFAULT_SOLANA_RPC_URL = "https://api.mainnet.solana.com";
4695
4712
  var cachedConnections = /* @__PURE__ */ new Map();
4713
+ var dependenciesPromise2;
4714
+ function loadSolanaDependencies() {
4715
+ _nullishCoalesce(dependenciesPromise2, () => ( (dependenciesPromise2 = Promise.all([
4716
+ Promise.resolve().then(() => _interopRequireWildcard(require("@solana/web3.js"))),
4717
+ Promise.resolve().then(() => _interopRequireWildcard(require("@solana/spl-token")))
4718
+ ]))));
4719
+ return dependenciesPromise2;
4720
+ }
4696
4721
  function getSolanaRpcUrl(rpcUrls) {
4697
- return _nullishCoalesce(_chunkV2OBGLJDcjs.rpcUrlFor.call(void 0, rpcUrls, "solana"), () => ( DEFAULT_SOLANA_RPC_URL));
4722
+ return _nullishCoalesce(_chunkHAQOFI3Dcjs.rpcUrlFor.call(void 0, rpcUrls, "solana"), () => ( DEFAULT_SOLANA_RPC_URL));
4698
4723
  }
4699
4724
  function hasConfiguredSolanaRpcUrl(rpcUrls) {
4700
- return _chunkV2OBGLJDcjs.rpcUrlFor.call(void 0, rpcUrls, "solana") !== void 0;
4725
+ return _chunkHAQOFI3Dcjs.rpcUrlFor.call(void 0, rpcUrls, "solana") !== void 0;
4701
4726
  }
4702
- function getSolanaConnection(rpcUrls) {
4727
+ async function getSolanaConnection(rpcUrls) {
4703
4728
  const rpcUrl = getSolanaRpcUrl(rpcUrls);
4704
4729
  const cached = cachedConnections.get(rpcUrl);
4705
4730
  if (cached) {
4706
4731
  return cached;
4707
4732
  }
4708
- const next = new (0, _web3js.Connection)(rpcUrl, "confirmed");
4733
+ const [web3] = await loadSolanaDependencies();
4734
+ const initialized = cachedConnections.get(rpcUrl);
4735
+ if (initialized) return initialized;
4736
+ const next = new web3.Connection(rpcUrl, "confirmed");
4709
4737
  cachedConnections.set(rpcUrl, next);
4710
4738
  return next;
4711
4739
  }
4712
4740
  async function buildSolTransferTransaction(connection, from, to, lamports) {
4713
- const fromPubkey = new (0, _web3js.PublicKey)(from);
4714
- const toPubkey = new (0, _web3js.PublicKey)(to);
4715
- const tx = new (0, _web3js.Transaction)().add(
4716
- _web3js.SystemProgram.transfer({
4741
+ const [web3] = await loadSolanaDependencies();
4742
+ const fromPubkey = new web3.PublicKey(from);
4743
+ const toPubkey = new web3.PublicKey(to);
4744
+ const tx = new web3.Transaction().add(
4745
+ web3.SystemProgram.transfer({
4717
4746
  fromPubkey,
4718
4747
  toPubkey,
4719
4748
  lamports
@@ -4726,16 +4755,24 @@ async function buildSolTransferTransaction(connection, from, to, lamports) {
4726
4755
  return tx;
4727
4756
  }
4728
4757
  async function buildSplTransferTransaction(connection, from, to, mint, amount) {
4729
- const fromPubkey = new (0, _web3js.PublicKey)(from);
4730
- const toPubkey = new (0, _web3js.PublicKey)(to);
4731
- const mintPubkey = new (0, _web3js.PublicKey)(mint);
4732
- const fromAta = await _spltoken.getAssociatedTokenAddress.call(void 0, mintPubkey, fromPubkey);
4733
- const toAta = await _spltoken.getAssociatedTokenAddress.call(void 0, mintPubkey, toPubkey, true);
4734
- const tx = new (0, _web3js.Transaction)();
4758
+ const [web3, splToken] = await loadSolanaDependencies();
4759
+ const fromPubkey = new web3.PublicKey(from);
4760
+ const toPubkey = new web3.PublicKey(to);
4761
+ const mintPubkey = new web3.PublicKey(mint);
4762
+ const fromAta = await splToken.getAssociatedTokenAddress(
4763
+ mintPubkey,
4764
+ fromPubkey
4765
+ );
4766
+ const toAta = await splToken.getAssociatedTokenAddress(
4767
+ mintPubkey,
4768
+ toPubkey,
4769
+ true
4770
+ );
4771
+ const tx = new web3.Transaction();
4735
4772
  const toAtaInfo = await connection.getAccountInfo(toAta);
4736
4773
  if (!toAtaInfo) {
4737
4774
  tx.add(
4738
- _spltoken.createAssociatedTokenAccountInstruction.call(void 0,
4775
+ splToken.createAssociatedTokenAccountInstruction(
4739
4776
  fromPubkey,
4740
4777
  toAta,
4741
4778
  toPubkey,
@@ -4743,7 +4780,9 @@ async function buildSplTransferTransaction(connection, from, to, mint, amount) {
4743
4780
  )
4744
4781
  );
4745
4782
  }
4746
- tx.add(_spltoken.createTransferInstruction.call(void 0, fromAta, toAta, fromPubkey, amount));
4783
+ tx.add(
4784
+ splToken.createTransferInstruction(fromAta, toAta, fromPubkey, amount)
4785
+ );
4747
4786
  const { blockhash, lastValidBlockHeight } = await connection.getLatestBlockhash();
4748
4787
  tx.recentBlockhash = blockhash;
4749
4788
  tx.lastValidBlockHeight = lastValidBlockHeight;
@@ -4799,7 +4838,7 @@ function SolanaConfirmStep({
4799
4838
  onError,
4800
4839
  debug
4801
4840
  }) {
4802
- const rpcUrls = _chunkV2OBGLJDcjs.useRpcUrls.call(void 0, );
4841
+ const rpcUrls = _chunkHAQOFI3Dcjs.useRpcUrls.call(void 0, );
4803
4842
  const [isSubmitting, setIsSubmitting] = _react.useState.call(void 0, false);
4804
4843
  const [error, setError] = _react.useState.call(void 0, null);
4805
4844
  const targetChainId = _chunk4KCSH4T3cjs.targetChainToChainId.call(void 0, targetChain);
@@ -4810,26 +4849,26 @@ function SolanaConfirmStep({
4810
4849
  const targetChainIcon = _chunk4KCSH4T3cjs.getChainIcon.call(void 0, targetChainId);
4811
4850
  const feeSponsored = _nullishCoalesce(_optionalChain([uiConfig, 'optionalAccess', _209 => _209.feeSponsored]), () => ( false));
4812
4851
  const feeTooltip = _nullishCoalesce(_optionalChain([uiConfig, 'optionalAccess', _210 => _210.feeTooltip]), () => ( (feeSponsored ? "Network fees are sponsored for this deposit." : "Network fees apply.")));
4813
- const formattedAmount = sourceAmount && Number.isFinite(Number(sourceAmount)) ? _nullishCoalesce(_chunkV2OBGLJDcjs.formatTokenAmount.call(void 0, Number(sourceAmount), token.symbol), () => ( "0")) : "0";
4852
+ const formattedAmount = sourceAmount && Number.isFinite(Number(sourceAmount)) ? _nullishCoalesce(_chunkHAQOFI3Dcjs.formatTokenAmount.call(void 0, Number(sourceAmount), token.symbol), () => ( "0")) : "0";
4814
4853
  const receiveDisplay = (() => {
4815
4854
  const usdValue = Number(targetAmount);
4816
4855
  const sourceAmountUsd = Number.isFinite(usdValue) && usdValue > 0 ? usdValue : void 0;
4817
- const estimate = _chunkV2OBGLJDcjs.formatReceiveEstimate.call(void 0, {
4856
+ const estimate = _chunkHAQOFI3Dcjs.formatReceiveEstimate.call(void 0, {
4818
4857
  sourceAmount: Number.isFinite(Number(sourceAmount)) ? Number(sourceAmount) : void 0,
4819
4858
  sourceSymbol: token.symbol,
4820
4859
  targetSymbol,
4821
4860
  sourceAmountUsd,
4822
- sourceTrusted: _chunkV2OBGLJDcjs.isRecognizedToken.call(void 0, token.mint, "solana"),
4861
+ sourceTrusted: _chunkHAQOFI3Dcjs.isRecognizedToken.call(void 0, token.mint, "solana"),
4823
4862
  // Curated stablecoin target estimates at $1 when unquoted; never applied
4824
4863
  // to the source (a held token). See ConfirmStep for the rationale.
4825
- prices: targetTokenPriceUsd !== null && targetTokenPriceUsd > 0 ? { [targetSymbol.toUpperCase()]: targetTokenPriceUsd } : _chunkV2OBGLJDcjs.isDisplayStablecoinSymbol.call(void 0, targetSymbol) ? { [targetSymbol.toUpperCase()]: 1 } : {}
4864
+ prices: targetTokenPriceUsd !== null && targetTokenPriceUsd > 0 ? { [targetSymbol.toUpperCase()]: targetTokenPriceUsd } : _chunkHAQOFI3Dcjs.isDisplayStablecoinSymbol.call(void 0, targetSymbol) ? { [targetSymbol.toUpperCase()]: 1 } : {}
4826
4865
  });
4827
4866
  if (estimate !== void 0) return estimate;
4828
4867
  return targetSymbol;
4829
4868
  })();
4830
4869
  const handleConfirm = async () => {
4831
4870
  if (!solanaProvider) {
4832
- _chunkV2OBGLJDcjs.debugLog.call(void 0, debug, "solana-confirm", "submit:blocked", {
4871
+ _chunkHAQOFI3Dcjs.debugLog.call(void 0, debug, "solana-confirm", "submit:blocked", {
4833
4872
  reason: "missing-provider"
4834
4873
  });
4835
4874
  setError("Solana wallet not connected");
@@ -4837,7 +4876,7 @@ function SolanaConfirmStep({
4837
4876
  }
4838
4877
  const parsedAmount = parseFloat(sourceAmount);
4839
4878
  if (isNaN(parsedAmount) || parsedAmount <= 0) {
4840
- _chunkV2OBGLJDcjs.debugLog.call(void 0, debug, "solana-confirm", "submit:blocked", {
4879
+ _chunkHAQOFI3Dcjs.debugLog.call(void 0, debug, "solana-confirm", "submit:blocked", {
4841
4880
  reason: "invalid-amount",
4842
4881
  sourceAmount
4843
4882
  });
@@ -4846,7 +4885,7 @@ function SolanaConfirmStep({
4846
4885
  }
4847
4886
  setError(null);
4848
4887
  setIsSubmitting(true);
4849
- _chunkV2OBGLJDcjs.debugLog.call(void 0, debug, "solana-confirm", "submit:start", {
4888
+ _chunkHAQOFI3Dcjs.debugLog.call(void 0, debug, "solana-confirm", "submit:start", {
4850
4889
  smartAccount,
4851
4890
  solanaAddress,
4852
4891
  solanaDepositAddress,
@@ -4856,7 +4895,7 @@ function SolanaConfirmStep({
4856
4895
  });
4857
4896
  try {
4858
4897
  const check = await service.checkAccount(smartAccount);
4859
- _chunkV2OBGLJDcjs.debugLog.call(void 0, debug, "solana-confirm", "check:success", {
4898
+ _chunkHAQOFI3Dcjs.debugLog.call(void 0, debug, "solana-confirm", "check:success", {
4860
4899
  smartAccount,
4861
4900
  isRegistered: check.isRegistered,
4862
4901
  targetChain: check.targetChain,
@@ -4867,9 +4906,9 @@ function SolanaConfirmStep({
4867
4906
  "Deposit account is not registered yet. Please restart setup and try again."
4868
4907
  );
4869
4908
  }
4870
- const connection = hasConfiguredSolanaRpcUrl(rpcUrls) ? getSolanaConnection(rpcUrls) : _nullishCoalesce(solanaConnection, () => ( getSolanaConnection(rpcUrls)));
4909
+ const connection = await (hasConfiguredSolanaRpcUrl(rpcUrls) ? getSolanaConnection(rpcUrls) : _nullishCoalesce(solanaConnection, () => ( getSolanaConnection(rpcUrls))));
4871
4910
  const amountUnits = _viem.parseUnits.call(void 0, sourceAmount, token.decimals);
4872
- _chunkV2OBGLJDcjs.debugLog.call(void 0, debug, "solana-confirm", "tx:build:start", {
4911
+ _chunkHAQOFI3Dcjs.debugLog.call(void 0, debug, "solana-confirm", "tx:build:start", {
4873
4912
  token: token.symbol,
4874
4913
  sourceAmount,
4875
4914
  amountUnits: amountUnits.toString()
@@ -4886,7 +4925,7 @@ function SolanaConfirmStep({
4886
4925
  token.mint,
4887
4926
  amountUnits
4888
4927
  );
4889
- _chunkV2OBGLJDcjs.debugLog.call(void 0, debug, "solana-confirm", "tx:build:success", {
4928
+ _chunkHAQOFI3Dcjs.debugLog.call(void 0, debug, "solana-confirm", "tx:build:success", {
4890
4929
  token: token.symbol,
4891
4930
  instructionCount: transaction.instructions.length,
4892
4931
  feePayer: _optionalChain([transaction, 'access', _211 => _211.feePayer, 'optionalAccess', _212 => _212.toBase58, 'call', _213 => _213()]),
@@ -4897,7 +4936,7 @@ function SolanaConfirmStep({
4897
4936
  connection,
4898
4937
  transaction
4899
4938
  );
4900
- _chunkV2OBGLJDcjs.debugLog.call(void 0, debug, "solana-confirm", "tx:sent", {
4939
+ _chunkHAQOFI3Dcjs.debugLog.call(void 0, debug, "solana-confirm", "tx:sent", {
4901
4940
  txHash,
4902
4941
  amountUnits: amountUnits.toString()
4903
4942
  });
@@ -4909,8 +4948,8 @@ function SolanaConfirmStep({
4909
4948
  });
4910
4949
  } catch (err) {
4911
4950
  const raw = err instanceof Error ? err.message : "Transfer failed";
4912
- const message = _chunkV2OBGLJDcjs.formatUserError.call(void 0, raw);
4913
- _chunkV2OBGLJDcjs.debugError.call(void 0, debug, "solana-confirm", "submit:failure", err, {
4951
+ const message = _chunkHAQOFI3Dcjs.formatUserError.call(void 0, raw);
4952
+ _chunkHAQOFI3Dcjs.debugError.call(void 0, debug, "solana-confirm", "submit:failure", err, {
4914
4953
  smartAccount,
4915
4954
  token: token.symbol,
4916
4955
  sourceAmount
@@ -4923,7 +4962,7 @@ function SolanaConfirmStep({
4923
4962
  };
4924
4963
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen", children: [
4925
4964
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body rs-screen-body--gap-32", children: [
4926
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.WalletIcon, {}), title: "Review deposit" }),
4965
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.WalletIcon, {}), title: "Review deposit" }),
4927
4966
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4928
4967
  ReviewDetails,
4929
4968
  {
@@ -4939,9 +4978,9 @@ function SolanaConfirmStep({
4939
4978
  fee: { display: "$0.04", struck: feeSponsored, tooltip: feeTooltip }
4940
4979
  }
4941
4980
  ),
4942
- error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.Callout, { variant: "error", children: error }),
4981
+ error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.Callout, { variant: "error", children: error }),
4943
4982
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4944
- _chunkV2OBGLJDcjs.Button,
4983
+ _chunkHAQOFI3Dcjs.Button,
4945
4984
  {
4946
4985
  onClick: handleConfirm,
4947
4986
  loading: isSubmitting,
@@ -4952,7 +4991,7 @@ function SolanaConfirmStep({
4952
4991
  }
4953
4992
  )
4954
4993
  ] }),
4955
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.PoweredBy, {})
4994
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.PoweredBy, {})
4956
4995
  ] });
4957
4996
  }
4958
4997
 
@@ -4967,19 +5006,19 @@ function DappImportAssetSelectStep({
4967
5006
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen", children: [
4968
5007
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body rs-screen-body--gap-32", children: [
4969
5008
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4970
- _chunkV2OBGLJDcjs.BodyHeader,
5009
+ _chunkHAQOFI3Dcjs.BodyHeader,
4971
5010
  {
4972
- icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.WalletIcon, {}),
5011
+ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.WalletIcon, {}),
4973
5012
  title: `Transfer from ${sourceLabel}`,
4974
5013
  subtitle: "Pick the balance to import"
4975
5014
  }
4976
5015
  ),
4977
5016
  incompleteSummary && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-asset-notice", role: "status", children: incompleteSummary }),
4978
5017
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-asset-list", children: assets.map((asset) => {
4979
- const tokenAmount = asset.balance ? _chunkV2OBGLJDcjs.tokenFormatter.format(
5018
+ const tokenAmount = asset.balance ? _chunkHAQOFI3Dcjs.tokenFormatter.format(
4980
5019
  Number(asset.balance) / 10 ** asset.decimals
4981
5020
  ) : "0";
4982
- const balanceUsd = asset.balanceUsd && asset.balanceUsd > 0 ? _chunkV2OBGLJDcjs.currencyFormatter.format(asset.balanceUsd) : `${tokenAmount} ${asset.symbol}`;
5021
+ const balanceUsd = asset.balanceUsd && asset.balanceUsd > 0 ? _chunkHAQOFI3Dcjs.currencyFormatter.format(asset.balanceUsd) : `${tokenAmount} ${asset.symbol}`;
4983
5022
  const assetIcon = asset.icon;
4984
5023
  const chainIcon = _chunk4KCSH4T3cjs.getChainIcon.call(void 0, asset.chainId);
4985
5024
  const badge = _chunk4KCSH4T3cjs.getChainBadge.call(void 0, asset.chainId);
@@ -4992,14 +5031,14 @@ function DappImportAssetSelectStep({
4992
5031
  children: [
4993
5032
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-asset-info", children: [
4994
5033
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-asset-icon-wrapper", children: [
4995
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-asset-icon", children: assetIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.CdnIcon, { src: assetIcon, alt: asset.symbol }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4996
- _chunkV2OBGLJDcjs.TokenIcon,
5034
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-asset-icon", children: assetIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.CdnIcon, { src: assetIcon, alt: asset.symbol }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
5035
+ _chunkHAQOFI3Dcjs.TokenIcon,
4997
5036
  {
4998
5037
  symbol: asset.symbol,
4999
5038
  fallback: asset.symbol.slice(0, 4)
5000
5039
  }
5001
5040
  ) }),
5002
- chainIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-asset-chain-badge", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.CdnIcon, { src: chainIcon, alt: _chunk4KCSH4T3cjs.getChainName.call(void 0, asset.chainId) }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
5041
+ chainIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-asset-chain-badge", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.CdnIcon, { src: chainIcon, alt: _chunk4KCSH4T3cjs.getChainName.call(void 0, asset.chainId) }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
5003
5042
  "span",
5004
5043
  {
5005
5044
  className: "rs-asset-chain-badge",
@@ -5031,7 +5070,7 @@ function DappImportAssetSelectStep({
5031
5070
  );
5032
5071
  }) })
5033
5072
  ] }),
5034
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.PoweredBy, {})
5073
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.PoweredBy, {})
5035
5074
  ] });
5036
5075
  }
5037
5076
  DappImportAssetSelectStep.displayName = "DappImportAssetSelectStep";
@@ -5053,7 +5092,7 @@ function describeRow(status, comingSoon) {
5053
5092
  }
5054
5093
  if (status.enabled) {
5055
5094
  return {
5056
- subtitle: status.balanceUsd > 0 ? _chunkV2OBGLJDcjs.currencyFormatter.format(status.balanceUsd) : "No balance",
5095
+ subtitle: status.balanceUsd > 0 ? _chunkHAQOFI3Dcjs.currencyFormatter.format(status.balanceUsd) : "No balance",
5057
5096
  disabled: false,
5058
5097
  busy: false
5059
5098
  };
@@ -5076,9 +5115,9 @@ function DappImportSelectStep({
5076
5115
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen", children: [
5077
5116
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body rs-screen-body--gap-32", children: [
5078
5117
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
5079
- _chunkV2OBGLJDcjs.BodyHeader,
5118
+ _chunkHAQOFI3Dcjs.BodyHeader,
5080
5119
  {
5081
- icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.MigrateAssetsIcon, {}),
5120
+ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.MigrateAssetsIcon, {}),
5082
5121
  title: "Migrate assets",
5083
5122
  subtitle: "Select a position to migrate"
5084
5123
  }
@@ -5090,13 +5129,13 @@ function DappImportSelectStep({
5090
5129
  Boolean(brand.comingSoon)
5091
5130
  );
5092
5131
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
5093
- _chunkLZFRL2ALcjs.ListRow,
5132
+ _chunk62UCV2LGcjs.ListRow,
5094
5133
  {
5095
5134
  leadingMedia: brand.iconUrl,
5096
5135
  title: brand.label,
5097
5136
  subtitle,
5098
5137
  disabled,
5099
- trailing: busy ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.Spinner, { className: "rs-spinner--sm" }) : void 0,
5138
+ trailing: busy ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.Spinner, { className: "rs-spinner--sm" }) : void 0,
5100
5139
  onClick: () => {
5101
5140
  if (status === "needs-connect") {
5102
5141
  _optionalChain([onRequestConnect, 'optionalCall', _215 => _215()]);
@@ -5109,7 +5148,7 @@ function DappImportSelectStep({
5109
5148
  );
5110
5149
  }) })
5111
5150
  ] }),
5112
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.PoweredBy, {})
5151
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.PoweredBy, {})
5113
5152
  ] });
5114
5153
  }
5115
5154
  DappImportSelectStep.displayName = "DappImportSelectStep";
@@ -5126,9 +5165,9 @@ function DappImportAssetSelectSkeleton({
5126
5165
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-sr-only", role: "status", children: error ? "Couldn't load balances" : "Loading balances\u2026" }),
5127
5166
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body rs-screen-body--gap-32", children: [
5128
5167
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
5129
- _chunkV2OBGLJDcjs.BodyHeader,
5168
+ _chunkHAQOFI3Dcjs.BodyHeader,
5130
5169
  {
5131
- icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.WalletIcon, {}),
5170
+ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.WalletIcon, {}),
5132
5171
  title: `Transfer from ${sourceLabel}`,
5133
5172
  subtitle: "Pick the balance to import"
5134
5173
  }
@@ -5166,7 +5205,7 @@ function DappImportAssetSelectSkeleton({
5166
5205
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: "Try again" })
5167
5206
  }
5168
5207
  ) }),
5169
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.PoweredBy, {})
5208
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.PoweredBy, {})
5170
5209
  ] });
5171
5210
  }
5172
5211
  DappImportAssetSelectSkeleton.displayName = "DappImportAssetSelectSkeleton";
@@ -6036,7 +6075,7 @@ function DepositAnalyticsControllerProvider({
6036
6075
  children,
6037
6076
  controllerRef
6038
6077
  }) {
6039
- const emit = _chunkV2OBGLJDcjs.useDepositAnalyticsEmitter.call(void 0, );
6078
+ const emit = _chunkHAQOFI3Dcjs.useDepositAnalyticsEmitter.call(void 0, );
6040
6079
  const controller = _react.useMemo.call(void 0,
6041
6080
  () => createDepositAnalyticsController(emit),
6042
6081
  [emit]
@@ -7360,11 +7399,11 @@ function DepositFlow({
7360
7399
  onError,
7361
7400
  debug
7362
7401
  }) {
7363
- const rpcUrls = _chunkV2OBGLJDcjs.useRpcUrls.call(void 0, );
7364
- const onStepChangeRef = _chunkV2OBGLJDcjs.useLatestRef.call(void 0, onStepChange);
7402
+ const rpcUrls = _chunkHAQOFI3Dcjs.useRpcUrls.call(void 0, );
7403
+ const onStepChangeRef = _chunkHAQOFI3Dcjs.useLatestRef.call(void 0, onStepChange);
7365
7404
  const analytics = useDepositAnalyticsController();
7366
- const onLifecycleRef = _chunkV2OBGLJDcjs.useLatestRef.call(void 0, onLifecycle);
7367
- const onErrorRef = _chunkV2OBGLJDcjs.useLatestRef.call(void 0, onError);
7405
+ const onLifecycleRef = _chunkHAQOFI3Dcjs.useLatestRef.call(void 0, onLifecycle);
7406
+ const onErrorRef = _chunkHAQOFI3Dcjs.useLatestRef.call(void 0, onError);
7368
7407
  const storeApi = useDepositStoreApi();
7369
7408
  const flowSlice = useDepositStore((s) => s.flow);
7370
7409
  const depositSlice = useDepositStore((s) => s.deposit);
@@ -7381,13 +7420,13 @@ function DepositFlow({
7381
7420
  const stableWalletSelectionKeyRef = _react.useRef.call(void 0, null);
7382
7421
  const logFlow = _react.useCallback.call(void 0,
7383
7422
  (message, data) => {
7384
- _chunkV2OBGLJDcjs.debugLog.call(void 0, debug, "deposit-flow", message, data);
7423
+ _chunkHAQOFI3Dcjs.debugLog.call(void 0, debug, "deposit-flow", message, data);
7385
7424
  },
7386
7425
  [debug]
7387
7426
  );
7388
7427
  const logFlowError = _react.useCallback.call(void 0,
7389
7428
  (message, error, data) => {
7390
- _chunkV2OBGLJDcjs.debugError.call(void 0, debug, "deposit-flow", message, error, data);
7429
+ _chunkHAQOFI3Dcjs.debugError.call(void 0, debug, "deposit-flow", message, error, data);
7391
7430
  },
7392
7431
  [debug]
7393
7432
  );
@@ -7519,7 +7558,7 @@ function DepositFlow({
7519
7558
  return;
7520
7559
  }
7521
7560
  let cancelled = false;
7522
- _chunk7ICSHJFEcjs.fetchTokenPriceUsd.call(void 0, service, {
7561
+ _chunk4J5ADVINcjs.fetchTokenPriceUsd.call(void 0, service, {
7523
7562
  chainId: targetChainId,
7524
7563
  address: targetToken,
7525
7564
  symbol: targetSymbol
@@ -7540,7 +7579,7 @@ function DepositFlow({
7540
7579
  return {
7541
7580
  ownerAddress: walletClientProp.account.address,
7542
7581
  walletClient: walletClientProp,
7543
- publicClient: _nullishCoalesce(publicClientProp, () => ( _chunkV2OBGLJDcjs.getPublicClient.call(void 0, fallbackChainId, rpcUrls))),
7582
+ publicClient: _nullishCoalesce(publicClientProp, () => ( _chunkHAQOFI3Dcjs.getPublicClient.call(void 0, fallbackChainId, rpcUrls))),
7544
7583
  switchChain: dappSwitchChain
7545
7584
  };
7546
7585
  }
@@ -7557,7 +7596,7 @@ function DepositFlow({
7557
7596
  return {
7558
7597
  ownerAddress: walletClientProp.account.address,
7559
7598
  walletClient: walletClientProp,
7560
- publicClient: _nullishCoalesce(publicClientProp, () => ( _chunkV2OBGLJDcjs.getPublicClient.call(void 0, fallbackChainId, rpcUrls))),
7599
+ publicClient: _nullishCoalesce(publicClientProp, () => ( _chunkHAQOFI3Dcjs.getPublicClient.call(void 0, fallbackChainId, rpcUrls))),
7561
7600
  switchChain: dappSwitchChain
7562
7601
  };
7563
7602
  }
@@ -7565,7 +7604,7 @@ function DepositFlow({
7565
7604
  return {
7566
7605
  ownerAddress: walletSession.address,
7567
7606
  walletClient: walletSession.walletClient,
7568
- publicClient: _nullishCoalesce(walletSession.publicClient, () => ( _chunkV2OBGLJDcjs.getPublicClient.call(void 0, setupChainId, rpcUrls))),
7607
+ publicClient: _nullishCoalesce(walletSession.publicClient, () => ( _chunkHAQOFI3Dcjs.getPublicClient.call(void 0, setupChainId, rpcUrls))),
7569
7608
  switchChain: walletSession.switchChain
7570
7609
  };
7571
7610
  }
@@ -7786,7 +7825,7 @@ function DepositFlow({
7786
7825
  setQrSourcePrice({ resolved: false, usd: null });
7787
7826
  if (!qrSourceAsset) return;
7788
7827
  let cancelled = false;
7789
- _chunk7ICSHJFEcjs.fetchTokenPriceUsd.call(void 0, service, {
7828
+ _chunk4J5ADVINcjs.fetchTokenPriceUsd.call(void 0, service, {
7790
7829
  chainId: qrSourceAsset.chainId,
7791
7830
  address: qrSourceAsset.token,
7792
7831
  symbol: qrSourceAsset.symbol
@@ -7972,7 +8011,7 @@ function DepositFlow({
7972
8011
  eoa: dappImportOwner,
7973
8012
  getPublicClient: (chainId) => {
7974
8013
  try {
7975
- return _chunkV2OBGLJDcjs.getPublicClient.call(void 0, chainId, rpcUrls);
8014
+ return _chunkHAQOFI3Dcjs.getPublicClient.call(void 0, chainId, rpcUrls);
7976
8015
  } catch (e38) {
7977
8016
  return null;
7978
8017
  }
@@ -8242,7 +8281,7 @@ function DepositFlow({
8242
8281
  acceptedExchangeFeeBps: disclosedFeeBps
8243
8282
  });
8244
8283
  } catch (error) {
8245
- if (error instanceof _chunkV2OBGLJDcjs.SwappedConnectFeeChangedError) {
8284
+ if (error instanceof _chunkHAQOFI3Dcjs.SwappedConnectFeeChangedError) {
8246
8285
  return error.exchangeFeeBps;
8247
8286
  }
8248
8287
  throw error;
@@ -8483,17 +8522,17 @@ function DepositFlow({
8483
8522
  forceRegister
8484
8523
  ]
8485
8524
  );
8486
- const desiredSetupRequestKey = _chunk7ICSHJFEcjs.computeRequestKey.call(void 0, setupInput);
8525
+ const desiredSetupRequestKey = _chunk4J5ADVINcjs.computeRequestKey.call(void 0, setupInput);
8487
8526
  const setupReady = setupSlice.status === "ready" && setupSlice.requestKey === desiredSetupRequestKey;
8488
8527
  _react.useEffect.call(void 0, () => {
8489
8528
  void (async () => {
8490
- const requestKey = _chunk7ICSHJFEcjs.computeRequestKey.call(void 0, setupInput);
8491
- const cacheKey = _chunk7ICSHJFEcjs.computeCacheKey.call(void 0, setupInput);
8492
- const cacheable = _chunk7ICSHJFEcjs.computeIsCacheable.call(void 0, setupInput);
8529
+ const requestKey = _chunk4J5ADVINcjs.computeRequestKey.call(void 0, setupInput);
8530
+ const cacheKey = _chunk4J5ADVINcjs.computeCacheKey.call(void 0, setupInput);
8531
+ const cacheable = _chunk4J5ADVINcjs.computeIsCacheable.call(void 0, setupInput);
8493
8532
  if (storeApi.getState().setup.requestKey === requestKey) {
8494
8533
  return;
8495
8534
  }
8496
- const dedupedResult = _chunk7ICSHJFEcjs.readDedupedAccountSetupResult.call(void 0, requestKey);
8535
+ const dedupedResult = _chunk4J5ADVINcjs.readDedupedAccountSetupResult.call(void 0, requestKey);
8497
8536
  if (dedupedResult) {
8498
8537
  storeApi.dispatch({
8499
8538
  type: "setup/started",
@@ -8519,7 +8558,7 @@ function DepositFlow({
8519
8558
  cacheable
8520
8559
  });
8521
8560
  try {
8522
- const result = await _chunk7ICSHJFEcjs.runAccountSetupDeduped.call(void 0,
8561
+ const result = await _chunk4J5ADVINcjs.runAccountSetupDeduped.call(void 0,
8523
8562
  setupInput,
8524
8563
  { service, debug },
8525
8564
  requestKey
@@ -8534,7 +8573,7 @@ function DepositFlow({
8534
8573
  }
8535
8574
  });
8536
8575
  } catch (error) {
8537
- const message = error instanceof _chunk7ICSHJFEcjs.SetupError ? error.message : "Deposit service is temporarily unavailable. Please try again shortly.";
8576
+ const message = error instanceof _chunk4J5ADVINcjs.SetupError ? error.message : "Deposit service is temporarily unavailable. Please try again shortly.";
8538
8577
  storeApi.dispatch({
8539
8578
  type: "setup/failed",
8540
8579
  requestKey,
@@ -8583,7 +8622,7 @@ function DepositFlow({
8583
8622
  address,
8584
8623
  requestId,
8585
8624
  totalUsd: portfolio.totalUsd,
8586
- chainIds: _chunkV2OBGLJDcjs.chainIdsByValue.call(void 0, portfolio.tokens)
8625
+ chainIds: _chunkHAQOFI3Dcjs.chainIdsByValue.call(void 0, portfolio.tokens)
8587
8626
  });
8588
8627
  } catch (e39) {
8589
8628
  storeApi.dispatch({
@@ -9142,7 +9181,7 @@ function DepositFlow({
9142
9181
  }
9143
9182
  ),
9144
9183
  step.type === "processing" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
9145
- _chunk7ICSHJFEcjs.ProcessingStep,
9184
+ _chunk4J5ADVINcjs.ProcessingStep,
9146
9185
  {
9147
9186
  smartAccount: step.smartAccount,
9148
9187
  solanaDepositAddress: step.solanaDepositAddress,
@@ -9221,7 +9260,7 @@ function DepositFlow({
9221
9260
  }
9222
9261
  ),
9223
9262
  step.type === "processing" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
9224
- _chunk7ICSHJFEcjs.ProcessingStep,
9263
+ _chunk4J5ADVINcjs.ProcessingStep,
9225
9264
  {
9226
9265
  smartAccount: step.smartAccount,
9227
9266
  solanaDepositAddress: step.solanaDepositAddress,
@@ -9348,7 +9387,7 @@ function DepositFlow({
9348
9387
  ) })
9349
9388
  ] }) : null,
9350
9389
  effectiveStep.type === "processing" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
9351
- _chunk7ICSHJFEcjs.ProcessingStep,
9390
+ _chunk4J5ADVINcjs.ProcessingStep,
9352
9391
  {
9353
9392
  smartAccount: effectiveStep.smartAccount,
9354
9393
  solanaDepositAddress: effectiveStep.solanaDepositAddress,
@@ -9436,7 +9475,7 @@ function DepositFlow({
9436
9475
  if (_optionalChain([signerContext, 'access', _328 => _328.publicClient, 'access', _329 => _329.chain, 'optionalAccess', _330 => _330.id]) === chainId) {
9437
9476
  return signerContext.publicClient;
9438
9477
  }
9439
- return _chunkV2OBGLJDcjs.getPublicClient.call(void 0, chainId, rpcUrls);
9478
+ return _chunkHAQOFI3Dcjs.getPublicClient.call(void 0, chainId, rpcUrls);
9440
9479
  };
9441
9480
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-modal-body", children: [
9442
9481
  effectiveStep.type === "setup" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -9539,7 +9578,7 @@ function DepositFlow({
9539
9578
  }
9540
9579
  ),
9541
9580
  effectiveStep.type === "processing" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
9542
- _chunk7ICSHJFEcjs.ProcessingStep,
9581
+ _chunk4J5ADVINcjs.ProcessingStep,
9543
9582
  {
9544
9583
  smartAccount: effectiveStep.smartAccount,
9545
9584
  solanaDepositAddress: effectiveStep.solanaDepositAddress,
@@ -9716,7 +9755,7 @@ function DepositHistoryPanel({
9716
9755
  className: "rs-modal-header-back",
9717
9756
  "aria-label": "Back",
9718
9757
  onClick: onClose,
9719
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.ChevronLeftIcon, {})
9758
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.ChevronLeftIcon, {})
9720
9759
  }
9721
9760
  ) }),
9722
9761
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-modal-header-nav-right", children: onCloseModal && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -9726,29 +9765,29 @@ function DepositHistoryPanel({
9726
9765
  className: "rs-modal-close",
9727
9766
  "aria-label": "Close",
9728
9767
  onClick: onCloseModal,
9729
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.CloseIcon, {})
9768
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.CloseIcon, {})
9730
9769
  }
9731
9770
  ) })
9732
9771
  ] }),
9733
9772
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-history-screen", children: [
9734
9773
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-history-screen-body", children: [
9735
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.HistoryIcon, {}), title: "History" }),
9774
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.HistoryIcon, {}), title: "History" }),
9736
9775
  isLoading && deposits.length === 0 && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-history-empty", children: [
9737
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-history-empty-glyph", "aria-hidden": "true", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.HistoryIcon, {}) }),
9776
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-history-empty-glyph", "aria-hidden": "true", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.HistoryIcon, {}) }),
9738
9777
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-history-empty-text", children: [
9739
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.Spinner, { className: "rs-spinner--sm" }),
9778
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.Spinner, { className: "rs-spinner--sm" }),
9740
9779
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-history-empty-hint", children: "Loading history\u2026" })
9741
9780
  ] })
9742
9781
  ] }),
9743
9782
  error && !isLoading && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-history-empty", children: [
9744
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-history-empty-glyph", "aria-hidden": "true", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.AlertTriangleIcon, {}) }),
9783
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-history-empty-glyph", "aria-hidden": "true", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.AlertTriangleIcon, {}) }),
9745
9784
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-history-empty-text", children: [
9746
9785
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-history-empty-title", children: "Couldn't load history" }),
9747
9786
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-history-empty-hint", children: error })
9748
9787
  ] })
9749
9788
  ] }),
9750
9789
  !isLoading && !error && visibleDeposits.length === 0 && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-history-empty", children: [
9751
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-history-empty-glyph", "aria-hidden": "true", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.HistoryIcon, {}) }),
9790
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-history-empty-glyph", "aria-hidden": "true", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.HistoryIcon, {}) }),
9752
9791
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-history-empty-text", children: [
9753
9792
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-history-empty-title", children: "No deposits yet" }),
9754
9793
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-history-empty-hint", children: "Your deposit history will appear here" })
@@ -9768,14 +9807,14 @@ function DepositHistoryPanel({
9768
9807
  )
9769
9808
  ] })
9770
9809
  ] }),
9771
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.PoweredBy, {})
9810
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.PoweredBy, {})
9772
9811
  ] })
9773
9812
  ]
9774
9813
  }
9775
9814
  );
9776
9815
  }
9777
9816
  function HistoryCard({ deposit }) {
9778
- const explorerTxUrl = _chunkV2OBGLJDcjs.useExplorerTxUrl.call(void 0, );
9817
+ const explorerTxUrl = _chunkHAQOFI3Dcjs.useExplorerTxUrl.call(void 0, );
9779
9818
  const [expanded, setExpanded] = _react.useState.call(void 0, false);
9780
9819
  const status = normalizeStatus(deposit.status, deposit.isSpam);
9781
9820
  const sourceChainId = resolveChainId(deposit.chain);
@@ -9805,8 +9844,8 @@ function HistoryCard({ deposit }) {
9805
9844
  children: [
9806
9845
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-history-card-row", children: [
9807
9846
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-history-card-icons", children: [
9808
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-history-card-token", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.TokenIcon, { symbol: sourceSymbol, fallback: sourceSymbol.slice(0, 2) }) }),
9809
- sourceChainIcon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-history-card-chain", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.CdnIcon, { src: sourceChainIcon }) })
9847
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-history-card-token", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.TokenIcon, { symbol: sourceSymbol, fallback: sourceSymbol.slice(0, 2) }) }),
9848
+ sourceChainIcon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-history-card-chain", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.CdnIcon, { src: sourceChainIcon }) })
9810
9849
  ] }),
9811
9850
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-history-card-text", children: [
9812
9851
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-history-card-title", children: txTypeLabel }),
@@ -9822,14 +9861,14 @@ function HistoryCard({ deposit }) {
9822
9861
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: "Source chain" }),
9823
9862
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "rs-amount-detail-value", children: [
9824
9863
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: sourceChainName }),
9825
- sourceChainIcon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-amount-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.CdnIcon, { src: sourceChainIcon }) })
9864
+ sourceChainIcon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-amount-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.CdnIcon, { src: sourceChainIcon }) })
9826
9865
  ] })
9827
9866
  ] }),
9828
9867
  targetChainName && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-amount-detail-row", children: [
9829
9868
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: "Destination chain" }),
9830
9869
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "rs-amount-detail-value", children: [
9831
9870
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: targetChainName }),
9832
- targetChainIcon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-amount-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.CdnIcon, { src: targetChainIcon }) })
9871
+ targetChainIcon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-amount-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.CdnIcon, { src: targetChainIcon }) })
9833
9872
  ] })
9834
9873
  ] }),
9835
9874
  srcTxUrl && srcTxHash && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-amount-detail-row", children: [
@@ -9844,7 +9883,7 @@ function HistoryCard({ deposit }) {
9844
9883
  onClick: (e) => e.stopPropagation(),
9845
9884
  children: [
9846
9885
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: shortenHash(srcTxHash) }),
9847
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.ArrowUpRightIcon, {})
9886
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.ArrowUpRightIcon, {})
9848
9887
  ]
9849
9888
  }
9850
9889
  )
@@ -9858,9 +9897,11 @@ DepositHistoryPanel.displayName = "DepositHistoryPanel";
9858
9897
 
9859
9898
  // src/DepositModal.tsx
9860
9899
 
9861
- var ReownDepositInner = _react.lazy.call(void 0,
9862
- () => Promise.resolve().then(() => _interopRequireWildcard(require("./DepositModalReown-46LPVFB6.cjs"))).then((m) => ({ default: m.DepositModalReown }))
9863
- );
9900
+ var ReownDepositInner = _react.lazy.call(void 0, async () => {
9901
+ await loadReownDependencies();
9902
+ const module = await Promise.resolve().then(() => _interopRequireWildcard(require("./DepositModalReown-GAD45GIC.cjs")));
9903
+ return { default: module.DepositModalReown };
9904
+ });
9864
9905
  function sortByCreatedAtDesc(items) {
9865
9906
  return [...items].sort((a, b) => {
9866
9907
  const at = a.createdAt ? Date.parse(a.createdAt) : 0;
@@ -9914,7 +9955,7 @@ function buildDepositAnalyticsSessionProperties({
9914
9955
  amount: defaultAmount !== void 0,
9915
9956
  initial_asset_migration: initialAssetMigration !== void 0
9916
9957
  },
9917
- ..._chunk7ICSHJFEcjs.analyticsTargetProperties.call(void 0, { targetChain, targetToken })
9958
+ ..._chunk4J5ADVINcjs.analyticsTargetProperties.call(void 0, { targetChain, targetToken })
9918
9959
  };
9919
9960
  }
9920
9961
  var WALLET_CLIENT_PROP = "walletClient";
@@ -9922,8 +9963,8 @@ function hasSuppliedWalletClient(props) {
9922
9963
  return Object.prototype.hasOwnProperty.call(props, WALLET_CLIENT_PROP);
9923
9964
  }
9924
9965
  function DepositModal(props) {
9925
- _chunk7ICSHJFEcjs.warnRemovedProps.call(void 0, "DepositModal", props);
9926
- _chunkV2OBGLJDcjs.checkBackendUrl.call(void 0, "DepositModal", props.backendUrl);
9966
+ _chunk4J5ADVINcjs.warnRemovedProps.call(void 0, "DepositModal", props);
9967
+ _chunkHAQOFI3Dcjs.checkBackendUrl.call(void 0, "DepositModal", props.backendUrl);
9927
9968
  const needsReown = !!props.reownAppId;
9928
9969
  const hasWalletClientProp = hasSuppliedWalletClient(props);
9929
9970
  if (needsReown) {
@@ -9993,8 +10034,8 @@ function DepositModalInner({
9993
10034
  const modalRef = _react.useRef.call(void 0, null);
9994
10035
  const analyticsControllerRef = _react.useRef.call(void 0, null);
9995
10036
  const previousOpenRef = _react.useRef.call(void 0, isOpen);
9996
- const onReadyRef = _chunkV2OBGLJDcjs.useLatestRef.call(void 0, onReady);
9997
- const onUiStateRef = _chunkV2OBGLJDcjs.useLatestRef.call(void 0, onUiState);
10037
+ const onReadyRef = _chunkHAQOFI3Dcjs.useLatestRef.call(void 0, onReady);
10038
+ const onUiStateRef = _chunkHAQOFI3Dcjs.useLatestRef.call(void 0, onUiState);
9998
10039
  const [currentScreen, setCurrentScreen] = _react.useState.call(void 0, "connect");
9999
10040
  const [swappedImmersive, setSwappedImmersive] = _react.useState.call(void 0, false);
10000
10041
  const [submitting, setSubmitting] = _react.useState.call(void 0, false);
@@ -10013,9 +10054,9 @@ function DepositModalInner({
10013
10054
  const historyLoadedRef = _react.useRef.call(void 0, false);
10014
10055
  const targetChain = targetChainProp === "solana" || targetChainProp === _chunk4KCSH4T3cjs.HYPERCORE_SPOT_CAIP2 ? targetChainProp : _chunk4KCSH4T3cjs.getChainId.call(void 0, targetChainProp);
10015
10056
  const sourceChain = sourceChainProp ? _chunk4KCSH4T3cjs.getChainId.call(void 0, sourceChainProp) : void 0;
10016
- const rpcUrls = _chunkV2OBGLJDcjs.useStableRpcUrls.call(void 0, rpcUrlsProp);
10057
+ const rpcUrls = _chunkHAQOFI3Dcjs.useStableRpcUrls.call(void 0, rpcUrlsProp);
10017
10058
  const service = _react.useMemo.call(void 0,
10018
- () => _chunkV2OBGLJDcjs.createDepositService.call(void 0, backendUrl, {
10059
+ () => _chunkHAQOFI3Dcjs.createDepositService.call(void 0, backendUrl, {
10019
10060
  debug,
10020
10061
  debugScope: "service:deposit"
10021
10062
  }),
@@ -10049,7 +10090,7 @@ function DepositModalInner({
10049
10090
  }, [store, targetChain, targetToken]);
10050
10091
  _react.useEffect.call(void 0, () => {
10051
10092
  if (!isOpen || !modalRef.current) return;
10052
- return _chunkV2OBGLJDcjs.applyTheme.call(void 0, modalRef.current, theme);
10093
+ return _chunkHAQOFI3Dcjs.applyTheme.call(void 0, modalRef.current, theme);
10053
10094
  }, [isOpen, theme]);
10054
10095
  _react.useEffect.call(void 0, () => {
10055
10096
  if (isOpen) {
@@ -10136,7 +10177,7 @@ function DepositModalInner({
10136
10177
  fetchHistory("initial");
10137
10178
  }
10138
10179
  }, [historyOpen, fetchHistory]);
10139
- const onLifecycleRef = _chunkV2OBGLJDcjs.useLatestRef.call(void 0, onLifecycle);
10180
+ const onLifecycleRef = _chunkHAQOFI3Dcjs.useLatestRef.call(void 0, onLifecycle);
10140
10181
  const handleLifecycle = _react.useCallback.call(void 0,
10141
10182
  (event) => {
10142
10183
  _optionalChain([onLifecycleRef, 'access', _344 => _344.current, 'optionalCall', _345 => _345(event)]);
@@ -10217,8 +10258,8 @@ function DepositModalInner({
10217
10258
  const canGoBack = backHandler !== void 0;
10218
10259
  const hideHeaderChrome = swappedImmersive;
10219
10260
  const modalClassName = `rs-modal${hideHeaderChrome ? " rs-modal--swapped-iframe" : ""}`;
10220
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.RpcUrlsProvider, { value: rpcUrls, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.ChainCatalogProvider, { service, rpcUrls, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DepositStoreProvider, { store, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
10221
- _chunkV2OBGLJDcjs.Modal,
10261
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.RpcUrlsProvider, { value: rpcUrls, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.ChainCatalogProvider, { service, rpcUrls, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DepositStoreProvider, { store, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
10262
+ _chunkHAQOFI3Dcjs.Modal,
10222
10263
  {
10223
10264
  isOpen,
10224
10265
  onClose: handleModalDismiss,
@@ -10226,7 +10267,7 @@ function DepositModalInner({
10226
10267
  inline,
10227
10268
  closeOnOverlayClick,
10228
10269
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
10229
- _chunkV2OBGLJDcjs.AnalyticsSession,
10270
+ _chunkHAQOFI3Dcjs.AnalyticsSession,
10230
10271
  {
10231
10272
  modal: "deposit",
10232
10273
  sessionProperties: analyticsSessionProperties,
@@ -10247,7 +10288,7 @@ function DepositModalInner({
10247
10288
  className: "rs-modal-header-back",
10248
10289
  "aria-label": "Go back",
10249
10290
  onClick: backHandler,
10250
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.ChevronLeftIcon, {})
10291
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.ChevronLeftIcon, {})
10251
10292
  }
10252
10293
  ) }),
10253
10294
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-modal-header-nav-right", children: [
@@ -10259,7 +10300,7 @@ function DepositModalInner({
10259
10300
  "aria-label": "Deposit history",
10260
10301
  onClick: handleHistoryOpen,
10261
10302
  disabled: !recipient,
10262
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.HistoryIcon, {})
10303
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.HistoryIcon, {})
10263
10304
  }
10264
10305
  ),
10265
10306
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -10269,7 +10310,7 @@ function DepositModalInner({
10269
10310
  onClick: () => closeWithSource("header_button"),
10270
10311
  className: "rs-modal-close",
10271
10312
  "aria-label": "Close",
10272
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2OBGLJDcjs.CloseIcon, {})
10313
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHAQOFI3Dcjs.CloseIcon, {})
10273
10314
  }
10274
10315
  )
10275
10316
  ] })
@@ -10342,4 +10383,5 @@ function DepositModalInner({
10342
10383
 
10343
10384
 
10344
10385
 
10345
- exports.DepositModal = DepositModal; exports.DepositModalInner = DepositModalInner;
10386
+
10387
+ exports.getReownDependencies = getReownDependencies; exports.DepositModal = DepositModal; exports.DepositModalInner = DepositModalInner;