@rhinestone/deposit-modal 0.8.1 → 0.8.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (30) hide show
  1. package/dist/{DepositModalReown-UND3DEJH.cjs → DepositModalReown-A2W6R27Q.cjs} +9 -9
  2. package/dist/{DepositModalReown-4BSHOQ5Y.mjs → DepositModalReown-IB5WUXVT.mjs} +6 -6
  3. package/dist/{WithdrawModalReown-FVXSSGY5.mjs → WithdrawModalReown-A4S4BJHG.mjs} +5 -5
  4. package/dist/{WithdrawModalReown-TVZWJKQI.cjs → WithdrawModalReown-KUWNNA2X.cjs} +8 -8
  5. package/dist/{chunk-O5OKA27M.mjs → chunk-2O2FJYRY.mjs} +1 -1
  6. package/dist/{chunk-HQWZCOMS.cjs → chunk-3WIHTUQ6.cjs} +99 -99
  7. package/dist/{chunk-D3Y7ZBED.cjs → chunk-46BRQZ2P.cjs} +486 -457
  8. package/dist/{chunk-2JPB3PLB.mjs → chunk-4BLOPOVO.mjs} +2 -2
  9. package/dist/{chunk-Q3W53BKR.cjs → chunk-5E67UM3V.cjs} +7 -7
  10. package/dist/{chunk-7OKA6GNA.cjs → chunk-DSXMWQYB.cjs} +110 -105
  11. package/dist/{chunk-7KHEIMWD.mjs → chunk-KGZU3BL2.mjs} +40 -11
  12. package/dist/{chunk-4NN7UTWQ.cjs → chunk-ORKEBFMR.cjs} +4 -4
  13. package/dist/{chunk-U7SVYWVD.cjs → chunk-P5T4XSN2.cjs} +1 -1
  14. package/dist/{chunk-DABKCJVL.mjs → chunk-RARNNVZO.mjs} +1 -1
  15. package/dist/{chunk-WK5AFRSP.mjs → chunk-RH6XQHMA.mjs} +1 -1
  16. package/dist/{chunk-NASHLEVQ.mjs → chunk-TUSEN26M.mjs} +8 -3
  17. package/dist/{chunk-XRWQMIBY.cjs → chunk-UNVVUULP.cjs} +3 -3
  18. package/dist/{chunk-T43VUEJH.mjs → chunk-XK5RH4FZ.mjs} +4 -4
  19. package/dist/constants.cjs +2 -2
  20. package/dist/constants.mjs +1 -1
  21. package/dist/deposit.cjs +6 -6
  22. package/dist/deposit.mjs +5 -5
  23. package/dist/index.cjs +7 -7
  24. package/dist/index.mjs +6 -6
  25. package/dist/polymarket.cjs +6 -6
  26. package/dist/polymarket.mjs +3 -3
  27. package/dist/styles.css +118 -1
  28. package/dist/withdraw.cjs +5 -5
  29. package/dist/withdraw.mjs +4 -4
  30. package/package.json +1 -1
@@ -35,12 +35,12 @@
35
35
 
36
36
 
37
37
 
38
- var _chunk7OKA6GNAcjs = require('./chunk-7OKA6GNA.cjs');
38
+ var _chunkDSXMWQYBcjs = require('./chunk-DSXMWQYB.cjs');
39
39
 
40
40
 
41
41
 
42
42
 
43
- var _chunkXRWQMIBYcjs = require('./chunk-XRWQMIBY.cjs');
43
+ var _chunkUNVVUULPcjs = require('./chunk-UNVVUULP.cjs');
44
44
 
45
45
 
46
46
 
@@ -53,7 +53,7 @@ var _chunkXRWQMIBYcjs = require('./chunk-XRWQMIBY.cjs');
53
53
 
54
54
 
55
55
 
56
- var _chunkU7SVYWVDcjs = require('./chunk-U7SVYWVD.cjs');
56
+ var _chunkP5T4XSN2cjs = require('./chunk-P5T4XSN2.cjs');
57
57
 
58
58
  // src/WithdrawModal.tsx
59
59
 
@@ -245,8 +245,8 @@ function WithdrawFormStep({
245
245
  const chainMismatch = Boolean(
246
246
  _optionalChain([walletClient, 'optionalAccess', _3 => _3.chain, 'optionalAccess', _4 => _4.id]) && walletClient.chain.id !== asset.chainId
247
247
  );
248
- const targetSymbol = _chunkU7SVYWVDcjs.getTokenSymbol.call(void 0, targetToken, targetChain);
249
- const targetChainName = _chunkU7SVYWVDcjs.getChainName.call(void 0, targetChain);
248
+ const targetSymbol = _chunkP5T4XSN2cjs.getTokenSymbol.call(void 0, targetToken, targetChain);
249
+ const targetChainName = _chunkP5T4XSN2cjs.getChainName.call(void 0, targetChain);
250
250
  const isBusy = submitting || isSubmitting;
251
251
  const seededRecipientRef = _react.useRef.call(void 0, _nullishCoalesce(defaultRecipient, () => ( "")));
252
252
  _react.useEffect.call(void 0, () => {
@@ -265,7 +265,7 @@ function WithdrawFormStep({
265
265
  setIsSwitching(true);
266
266
  switchChain(asset.chainId).catch((err) => {
267
267
  const raw = err instanceof Error ? err.message : "Failed to switch chain";
268
- setError(_chunk7OKA6GNAcjs.formatUserError.call(void 0, raw));
268
+ setError(_chunkDSXMWQYBcjs.formatUserError.call(void 0, raw));
269
269
  }).finally(() => {
270
270
  setIsSwitching(false);
271
271
  });
@@ -285,7 +285,7 @@ function WithdrawFormStep({
285
285
  return;
286
286
  }
287
287
  try {
288
- const bal = _chunk7OKA6GNAcjs.isNativeAsset.call(void 0, asset) ? await publicClient.getBalance({ address: safeAddress }) : await publicClient.readContract({
288
+ const bal = _chunkDSXMWQYBcjs.isNativeAsset.call(void 0, asset) ? await publicClient.getBalance({ address: safeAddress }) : await publicClient.readContract({
289
289
  address: asset.token,
290
290
  abi: _viem.erc20Abi,
291
291
  functionName: "balanceOf",
@@ -396,7 +396,7 @@ function WithdrawFormStep({
396
396
  await onSubmit(recipient, amount);
397
397
  } catch (err) {
398
398
  const raw = err instanceof Error ? err.message : "Withdrawal failed";
399
- setError(_chunk7OKA6GNAcjs.formatUserError.call(void 0, raw));
399
+ setError(_chunkDSXMWQYBcjs.formatUserError.call(void 0, raw));
400
400
  } finally {
401
401
  setIsSubmitting(false);
402
402
  }
@@ -412,16 +412,16 @@ function WithdrawFormStep({
412
412
  if (isBalanceLoading) {
413
413
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen", children: [
414
414
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body rs-withdraw-loading", children: [
415
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OKA6GNAcjs.Spinner, { className: "rs-spinner--lg" }),
415
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDSXMWQYBcjs.Spinner, { className: "rs-spinner--lg" }),
416
416
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-withdraw-loading-title", children: "Loading on-chain balance" }),
417
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-withdraw-loading-subtitle", children: chainMismatch ? `Switch to ${_chunkU7SVYWVDcjs.getChainName.call(void 0, asset.chainId)} to continue.` : "Please wait before withdrawing." })
417
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-withdraw-loading-subtitle", children: chainMismatch ? `Switch to ${_chunkP5T4XSN2cjs.getChainName.call(void 0, asset.chainId)} to continue.` : "Please wait before withdrawing." })
418
418
  ] }),
419
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OKA6GNAcjs.PoweredBy, {})
419
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDSXMWQYBcjs.PoweredBy, {})
420
420
  ] });
421
421
  }
422
422
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen", children: [
423
423
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body", children: [
424
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OKA6GNAcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OKA6GNAcjs.CircleArrowOutUpLeftIcon, {}), title: "Withdraw" }),
424
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDSXMWQYBcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDSXMWQYBcjs.CircleArrowOutUpLeftIcon, {}), title: "Withdraw" }),
425
425
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-withdraw-section", children: [
426
426
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
427
427
  "label",
@@ -467,7 +467,7 @@ function WithdrawFormStep({
467
467
  ),
468
468
  isRecipientConnected ? null : "Use connected"
469
469
  ] }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
470
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OKA6GNAcjs.WalletIcon, { className: "rs-withdraw-use-connected-icon" }),
470
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDSXMWQYBcjs.WalletIcon, { className: "rs-withdraw-use-connected-icon" }),
471
471
  isRecipientConnected ? null : "Use connected"
472
472
  ] })
473
473
  }
@@ -507,7 +507,7 @@ function WithdrawFormStep({
507
507
  ) })
508
508
  ] }),
509
509
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-withdraw-amount-info", children: [
510
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-withdraw-usd", children: amountUsd !== null ? _chunk7OKA6GNAcjs.currencyFormatter.format(amountUsd) : "$0.00" }),
510
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-withdraw-usd", children: amountUsd !== null ? _chunkDSXMWQYBcjs.currencyFormatter.format(amountUsd) : "$0.00" }),
511
511
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "rs-withdraw-balance", children: [
512
512
  "Balance: ",
513
513
  formattedBalance,
@@ -537,10 +537,10 @@ function WithdrawFormStep({
537
537
  },
538
538
  children: [
539
539
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-withdraw-dropdown-value", children: [
540
- _chunkU7SVYWVDcjs.getChainIcon.call(void 0, targetChain) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
540
+ _chunkP5T4XSN2cjs.getChainIcon.call(void 0, targetChain) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
541
541
  "img",
542
542
  {
543
- src: _chunkU7SVYWVDcjs.getChainIcon.call(void 0, targetChain),
543
+ src: _chunkP5T4XSN2cjs.getChainIcon.call(void 0, targetChain),
544
544
  alt: targetChainName,
545
545
  className: "rs-withdraw-dropdown-icon"
546
546
  }
@@ -548,7 +548,7 @@ function WithdrawFormStep({
548
548
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: targetChainName })
549
549
  ] }),
550
550
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
551
- _chunk7OKA6GNAcjs.ChevronDownIcon,
551
+ _chunkDSXMWQYBcjs.ChevronDownIcon,
552
552
  {
553
553
  className: "rs-withdraw-dropdown-arrow",
554
554
  style: {
@@ -569,10 +569,10 @@ function WithdrawFormStep({
569
569
  setShowChainDropdown(false);
570
570
  },
571
571
  children: [
572
- _chunkU7SVYWVDcjs.getChainIcon.call(void 0, chain.id) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
572
+ _chunkP5T4XSN2cjs.getChainIcon.call(void 0, chain.id) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
573
573
  "img",
574
574
  {
575
- src: _chunkU7SVYWVDcjs.getChainIcon.call(void 0, chain.id),
575
+ src: _chunkP5T4XSN2cjs.getChainIcon.call(void 0, chain.id),
576
576
  alt: chain.name,
577
577
  className: "rs-withdraw-dropdown-icon"
578
578
  }
@@ -607,7 +607,7 @@ function WithdrawFormStep({
607
607
  children: [
608
608
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-withdraw-dropdown-value", children: [
609
609
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
610
- _chunk7OKA6GNAcjs.TokenIcon,
610
+ _chunkDSXMWQYBcjs.TokenIcon,
611
611
  {
612
612
  symbol: targetSymbol,
613
613
  className: "rs-withdraw-dropdown-icon"
@@ -616,7 +616,7 @@ function WithdrawFormStep({
616
616
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: targetSymbol })
617
617
  ] }),
618
618
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
619
- _chunk7OKA6GNAcjs.ChevronDownIcon,
619
+ _chunkDSXMWQYBcjs.ChevronDownIcon,
620
620
  {
621
621
  className: "rs-withdraw-dropdown-arrow",
622
622
  style: {
@@ -638,7 +638,7 @@ function WithdrawFormStep({
638
638
  },
639
639
  children: [
640
640
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
641
- _chunk7OKA6GNAcjs.TokenIcon,
641
+ _chunkDSXMWQYBcjs.TokenIcon,
642
642
  {
643
643
  symbol: option.symbol,
644
644
  className: "rs-withdraw-dropdown-icon"
@@ -654,11 +654,11 @@ function WithdrawFormStep({
654
654
  )
655
655
  ] })
656
656
  ] }),
657
- chainMismatch && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-chain-switch", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-chain-switch-text", children: isSwitching ? `Switching to ${_chunkU7SVYWVDcjs.getChainName.call(void 0, asset.chainId)}...` : `Switch to ${_chunkU7SVYWVDcjs.getChainName.call(void 0, asset.chainId)} to continue.` }) }),
658
- error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OKA6GNAcjs.Callout, { variant: "error", children: error }),
659
- !error && registrationError && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OKA6GNAcjs.Callout, { variant: "error", children: registrationError }),
657
+ chainMismatch && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-chain-switch", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-chain-switch-text", children: isSwitching ? `Switching to ${_chunkP5T4XSN2cjs.getChainName.call(void 0, asset.chainId)}...` : `Switch to ${_chunkP5T4XSN2cjs.getChainName.call(void 0, asset.chainId)} to continue.` }) }),
658
+ error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDSXMWQYBcjs.Callout, { variant: "error", children: error }),
659
+ !error && registrationError && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDSXMWQYBcjs.Callout, { variant: "error", children: registrationError }),
660
660
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
661
- _chunk7OKA6GNAcjs.Button,
661
+ _chunkDSXMWQYBcjs.Button,
662
662
  {
663
663
  onClick: handleWithdraw,
664
664
  fullWidth: true,
@@ -668,7 +668,7 @@ function WithdrawFormStep({
668
668
  }
669
669
  )
670
670
  ] }),
671
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OKA6GNAcjs.PoweredBy, {})
671
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDSXMWQYBcjs.PoweredBy, {})
672
672
  ] });
673
673
  }
674
674
  WithdrawFormStep.displayName = "WithdrawFormStep";
@@ -696,22 +696,22 @@ function WithdrawReviewStep({
696
696
  }) {
697
697
  const [isSubmitting, setIsSubmitting] = _react.useState.call(void 0, false);
698
698
  const [error, setError] = _react.useState.call(void 0, null);
699
- const sourceChainName = _chunkU7SVYWVDcjs.getChainName.call(void 0, sourceChain);
700
- const sourceChainIcon = _chunkU7SVYWVDcjs.getChainIcon.call(void 0, sourceChain);
701
- const targetSymbol = _chunkU7SVYWVDcjs.getTokenSymbol.call(void 0, targetToken, targetChain);
702
- const targetChainName = _chunkU7SVYWVDcjs.getChainName.call(void 0, targetChain);
703
- const targetChainIcon = _chunkU7SVYWVDcjs.getChainIcon.call(void 0, targetChain);
699
+ const sourceChainName = _chunkP5T4XSN2cjs.getChainName.call(void 0, sourceChain);
700
+ const sourceChainIcon = _chunkP5T4XSN2cjs.getChainIcon.call(void 0, sourceChain);
701
+ const targetSymbol = _chunkP5T4XSN2cjs.getTokenSymbol.call(void 0, targetToken, targetChain);
702
+ const targetChainName = _chunkP5T4XSN2cjs.getChainName.call(void 0, targetChain);
703
+ const targetChainIcon = _chunkP5T4XSN2cjs.getChainIcon.call(void 0, targetChain);
704
704
  const amountNumber = Number(amount);
705
- const formattedSendAmount = _nullishCoalesce(_chunk7OKA6GNAcjs.formatTokenAmount.call(void 0, amountNumber, sourceSymbol), () => ( amount));
706
- const prices = _chunk7OKA6GNAcjs.useTokenPrices.call(void 0, service, [
705
+ const formattedSendAmount = _nullishCoalesce(_chunkDSXMWQYBcjs.formatTokenAmount.call(void 0, amountNumber, sourceSymbol), () => ( amount));
706
+ const prices = _chunkDSXMWQYBcjs.useTokenPrices.call(void 0, service, [
707
707
  { chainId: sourceChain, address: sourceToken, symbol: sourceSymbol },
708
708
  { chainId: targetChain, address: targetToken, symbol: targetSymbol }
709
709
  ]);
710
- const receiveDisplay = _nullishCoalesce(_chunk7OKA6GNAcjs.formatReceiveEstimate.call(void 0, {
710
+ const receiveDisplay = _nullishCoalesce(_chunkDSXMWQYBcjs.formatReceiveEstimate.call(void 0, {
711
711
  sourceAmount: Number.isFinite(amountNumber) ? amountNumber : void 0,
712
712
  sourceSymbol,
713
713
  targetSymbol,
714
- sourceTrusted: _chunk7OKA6GNAcjs.isRecognizedToken.call(void 0, sourceToken, sourceChain),
714
+ sourceTrusted: _chunkDSXMWQYBcjs.isRecognizedToken.call(void 0, sourceToken, sourceChain),
715
715
  prices
716
716
  }), () => ( // No price for the target token — an honest dash beats a wrong number.
717
717
  "\u2014"));
@@ -722,7 +722,7 @@ function WithdrawReviewStep({
722
722
  await onConfirm();
723
723
  } catch (err) {
724
724
  const raw = err instanceof Error ? err.message : "Withdraw failed";
725
- const message = _chunk7OKA6GNAcjs.formatUserError.call(void 0, raw);
725
+ const message = _chunkDSXMWQYBcjs.formatUserError.call(void 0, raw);
726
726
  setError(message);
727
727
  _optionalChain([onError, 'optionalCall', _10 => _10(message, "WITHDRAW_REVIEW_ERROR")]);
728
728
  } finally {
@@ -733,9 +733,9 @@ function WithdrawReviewStep({
733
733
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen", children: [
734
734
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body rs-screen-body--gap-32", children: [
735
735
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
736
- _chunk7OKA6GNAcjs.BodyHeader,
736
+ _chunkDSXMWQYBcjs.BodyHeader,
737
737
  {
738
- icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OKA6GNAcjs.CircleArrowOutUpLeftIcon, {}),
738
+ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDSXMWQYBcjs.CircleArrowOutUpLeftIcon, {}),
739
739
  title: "Review withdrawal"
740
740
  }
741
741
  ),
@@ -748,7 +748,7 @@ function WithdrawReviewStep({
748
748
  " ",
749
749
  sourceSymbol
750
750
  ] }),
751
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OKA6GNAcjs.TokenIcon, { symbol: sourceSymbol }) })
751
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDSXMWQYBcjs.TokenIcon, { symbol: sourceSymbol }) })
752
752
  ] })
753
753
  ] }),
754
754
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-review-detail-row", children: [
@@ -766,7 +766,7 @@ function WithdrawReviewStep({
766
766
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: "Receive" }),
767
767
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "rs-review-detail-value", children: [
768
768
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: receiveDisplay }),
769
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OKA6GNAcjs.TokenIcon, { symbol: targetSymbol }) })
769
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDSXMWQYBcjs.TokenIcon, { symbol: targetSymbol }) })
770
770
  ] })
771
771
  ] }),
772
772
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-review-detail-row", children: [
@@ -781,10 +781,10 @@ function WithdrawReviewStep({
781
781
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-value", children: estimatedTime })
782
782
  ] })
783
783
  ] }),
784
- error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OKA6GNAcjs.Callout, { variant: "error", children: error }),
785
- !error && registrationError && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OKA6GNAcjs.Callout, { variant: "error", children: registrationError }),
784
+ error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDSXMWQYBcjs.Callout, { variant: "error", children: error }),
785
+ !error && registrationError && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDSXMWQYBcjs.Callout, { variant: "error", children: registrationError }),
786
786
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
787
- _chunk7OKA6GNAcjs.Button,
787
+ _chunkDSXMWQYBcjs.Button,
788
788
  {
789
789
  onClick: handleConfirm,
790
790
  loading: isSubmitting,
@@ -795,7 +795,7 @@ function WithdrawReviewStep({
795
795
  }
796
796
  )
797
797
  ] }),
798
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OKA6GNAcjs.PoweredBy, {})
798
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDSXMWQYBcjs.PoweredBy, {})
799
799
  ] });
800
800
  }
801
801
  WithdrawReviewStep.displayName = "WithdrawReviewStep";
@@ -807,15 +807,15 @@ var ADDR_REGEX = /^0x[a-fA-F0-9]{40}$/;
807
807
  var REGISTRATION_DEBOUNCE_MS = 600;
808
808
  var WITHDRAW_INDEXING_DELAY_MS = 2e3;
809
809
  function resolveSessionOwner(eoaAddress) {
810
- const localOwner = _chunk7OKA6GNAcjs.loadSessionOwnerFromStorage.call(void 0, eoaAddress);
810
+ const localOwner = _chunkDSXMWQYBcjs.loadSessionOwnerFromStorage.call(void 0, eoaAddress);
811
811
  if (localOwner) {
812
812
  return {
813
- account: _chunk7OKA6GNAcjs.accountFromPrivateKey.call(void 0, localOwner.privateKey),
813
+ account: _chunkDSXMWQYBcjs.accountFromPrivateKey.call(void 0, localOwner.privateKey),
814
814
  address: localOwner.address
815
815
  };
816
816
  }
817
- const created = _chunk7OKA6GNAcjs.createSessionOwnerKey.call(void 0, );
818
- _chunk7OKA6GNAcjs.saveSessionOwnerToStorage.call(void 0, eoaAddress, created.privateKey, created.address);
817
+ const created = _chunkDSXMWQYBcjs.createSessionOwnerKey.call(void 0, );
818
+ _chunkDSXMWQYBcjs.saveSessionOwnerToStorage.call(void 0, eoaAddress, created.privateKey, created.address);
819
819
  return { account: created.account, address: created.address };
820
820
  }
821
821
  function targetsEqual(a, b) {
@@ -835,7 +835,7 @@ function WithdrawFlow({
835
835
  amount: defaultAmount,
836
836
  service,
837
837
  allowedRoutes,
838
- signerAddress = _chunkU7SVYWVDcjs.DEFAULT_SIGNER_ADDRESS,
838
+ signerAddress = _chunkP5T4XSN2cjs.DEFAULT_SIGNER_ADDRESS,
839
839
  sessionChainIds,
840
840
  forceRegister = false,
841
841
  reownWallet,
@@ -850,11 +850,11 @@ function WithdrawFlow({
850
850
  onError,
851
851
  debug
852
852
  }) {
853
- const rpcUrls = _chunk7OKA6GNAcjs.useRpcUrls.call(void 0, );
854
- const onStepChangeRef = _chunk7OKA6GNAcjs.useLatestRef.call(void 0, onStepChange);
855
- const onEventRef = _chunk7OKA6GNAcjs.useLatestRef.call(void 0, onEvent);
856
- const onLifecycleRef = _chunk7OKA6GNAcjs.useLatestRef.call(void 0, onLifecycle);
857
- const onErrorRef = _chunk7OKA6GNAcjs.useLatestRef.call(void 0, onError);
853
+ const rpcUrls = _chunkDSXMWQYBcjs.useRpcUrls.call(void 0, );
854
+ const onStepChangeRef = _chunkDSXMWQYBcjs.useLatestRef.call(void 0, onStepChange);
855
+ const onEventRef = _chunkDSXMWQYBcjs.useLatestRef.call(void 0, onEvent);
856
+ const onLifecycleRef = _chunkDSXMWQYBcjs.useLatestRef.call(void 0, onLifecycle);
857
+ const onErrorRef = _chunkDSXMWQYBcjs.useLatestRef.call(void 0, onError);
858
858
  const isFlowActiveRef = _react.useRef.call(void 0, true);
859
859
  const submitGenerationRef = _react.useRef.call(void 0, 0);
860
860
  _react.useEffect.call(void 0, () => {
@@ -865,13 +865,13 @@ function WithdrawFlow({
865
865
  }, []);
866
866
  const logFlow = _react.useCallback.call(void 0,
867
867
  (message, data) => {
868
- _chunk7OKA6GNAcjs.debugLog.call(void 0, debug, "withdraw-flow", message, data);
868
+ _chunkDSXMWQYBcjs.debugLog.call(void 0, debug, "withdraw-flow", message, data);
869
869
  },
870
870
  [debug]
871
871
  );
872
872
  const logFlowError = _react.useCallback.call(void 0,
873
873
  (message, error, data) => {
874
- _chunk7OKA6GNAcjs.debugError.call(void 0, debug, "withdraw-flow", message, error, data);
874
+ _chunkDSXMWQYBcjs.debugError.call(void 0, debug, "withdraw-flow", message, error, data);
875
875
  },
876
876
  [debug]
877
877
  );
@@ -947,14 +947,14 @@ function WithdrawFlow({
947
947
  return {
948
948
  ownerAddress: dappAddress,
949
949
  walletClient: _nullishCoalesce(dappWalletClient, () => ( void 0)),
950
- publicClient: _nullishCoalesce(dappPublicClient, () => ( _chunk7OKA6GNAcjs.getPublicClient.call(void 0, sourceChain, rpcUrls))),
950
+ publicClient: _nullishCoalesce(dappPublicClient, () => ( _chunkDSXMWQYBcjs.getPublicClient.call(void 0, sourceChain, rpcUrls))),
951
951
  switchChain: dappSwitchChain
952
952
  };
953
953
  }
954
954
  return {
955
955
  ownerAddress: dappWalletClient.account.address,
956
956
  walletClient: dappWalletClient,
957
- publicClient: _nullishCoalesce(dappPublicClient, () => ( _chunk7OKA6GNAcjs.getPublicClient.call(void 0, sourceChain, rpcUrls))),
957
+ publicClient: _nullishCoalesce(dappPublicClient, () => ( _chunkDSXMWQYBcjs.getPublicClient.call(void 0, sourceChain, rpcUrls))),
958
958
  switchChain: dappSwitchChain
959
959
  };
960
960
  }
@@ -965,7 +965,7 @@ function WithdrawFlow({
965
965
  return {
966
966
  ownerAddress: dappWalletClient.account.address,
967
967
  walletClient: dappWalletClient,
968
- publicClient: _nullishCoalesce(dappPublicClient, () => ( _chunk7OKA6GNAcjs.getPublicClient.call(void 0, sourceChain, rpcUrls))),
968
+ publicClient: _nullishCoalesce(dappPublicClient, () => ( _chunkDSXMWQYBcjs.getPublicClient.call(void 0, sourceChain, rpcUrls))),
969
969
  switchChain: dappSwitchChain
970
970
  };
971
971
  }
@@ -1023,7 +1023,7 @@ function WithdrawFlow({
1023
1023
  const setup = await service.setupAccount({
1024
1024
  ownerAddress,
1025
1025
  sessionOwnerAddress: sessionOwner.address,
1026
- targetChain: _chunkU7SVYWVDcjs.toEvmCaip2.call(void 0, targetChain),
1026
+ targetChain: _chunkP5T4XSN2cjs.toEvmCaip2.call(void 0, targetChain),
1027
1027
  targetToken,
1028
1028
  recipient: recipientForRegistration,
1029
1029
  signerAddress,
@@ -1048,7 +1048,7 @@ function WithdrawFlow({
1048
1048
  message: typedData.message
1049
1049
  });
1050
1050
  if (cancelled) return;
1051
- const sessionDetails = _chunk7OKA6GNAcjs.buildSessionDetails.call(void 0,
1051
+ const sessionDetails = _chunkDSXMWQYBcjs.buildSessionDetails.call(void 0,
1052
1052
  setup.sessionDetailsUnsigned,
1053
1053
  signature
1054
1054
  );
@@ -1062,7 +1062,7 @@ function WithdrawFlow({
1062
1062
  eoaAddress: ownerAddress,
1063
1063
  sessionOwner: sessionOwner.address,
1064
1064
  target: {
1065
- chain: _chunkU7SVYWVDcjs.toEvmCaip2.call(void 0, targetChain),
1065
+ chain: _chunkP5T4XSN2cjs.toEvmCaip2.call(void 0, targetChain),
1066
1066
  token: targetToken,
1067
1067
  recipient: recipientForRegistration
1068
1068
  }
@@ -1085,7 +1085,7 @@ function WithdrawFlow({
1085
1085
  } catch (err) {
1086
1086
  if (cancelled) return;
1087
1087
  const raw = err instanceof Error ? err.message : "Registration failed";
1088
- const message = _chunk7OKA6GNAcjs.formatUserError.call(void 0, raw);
1088
+ const message = _chunkDSXMWQYBcjs.formatUserError.call(void 0, raw);
1089
1089
  logFlowError("auto-register:failed", err, {
1090
1090
  ownerAddress,
1091
1091
  targetChain,
@@ -1118,10 +1118,10 @@ function WithdrawFlow({
1118
1118
  onErrorRef
1119
1119
  ]);
1120
1120
  const asset = _react.useMemo.call(void 0, () => {
1121
- const symbol = _chunkU7SVYWVDcjs.getTokenSymbol.call(void 0, sourceToken, sourceChain);
1122
- const decimals = _chunkU7SVYWVDcjs.getTokenDecimalsByAddress.call(void 0, sourceToken, sourceChain);
1121
+ const symbol = _chunkP5T4XSN2cjs.getTokenSymbol.call(void 0, sourceToken, sourceChain);
1122
+ const decimals = _chunkP5T4XSN2cjs.getTokenDecimalsByAddress.call(void 0, sourceToken, sourceChain);
1123
1123
  return {
1124
- id: _chunk7OKA6GNAcjs.getAssetId.call(void 0, { chainId: sourceChain, token: sourceToken }),
1124
+ id: _chunkDSXMWQYBcjs.getAssetId.call(void 0, { chainId: sourceChain, token: sourceToken }),
1125
1125
  chainId: sourceChain,
1126
1126
  token: sourceToken,
1127
1127
  symbol,
@@ -1129,7 +1129,7 @@ function WithdrawFlow({
1129
1129
  decimals
1130
1130
  };
1131
1131
  }, [sourceChain, sourceToken]);
1132
- const isSourceNative = sourceToken.toLowerCase() === _chunkU7SVYWVDcjs.NATIVE_TOKEN_ADDRESS.toLowerCase();
1132
+ const isSourceNative = sourceToken.toLowerCase() === _chunkP5T4XSN2cjs.NATIVE_TOKEN_ADDRESS.toLowerCase();
1133
1133
  const isSameRoute = targetChain === sourceChain && targetToken.toLowerCase() === sourceToken.toLowerCase();
1134
1134
  const reviewedTarget = reviewedRecipient ? {
1135
1135
  chain: targetChain,
@@ -1154,8 +1154,8 @@ function WithdrawFlow({
1154
1154
  }
1155
1155
  if (lastStepOpenEventKeyRef.current === "form") return;
1156
1156
  lastStepOpenEventKeyRef.current = "form";
1157
- const tokenSymbol = _chunkU7SVYWVDcjs.getTokenSymbol.call(void 0, targetToken, targetChain);
1158
- const chainName = _chunkU7SVYWVDcjs.getChainName.call(void 0, targetChain);
1157
+ const tokenSymbol = _chunkP5T4XSN2cjs.getTokenSymbol.call(void 0, targetToken, targetChain);
1158
+ const chainName = _chunkP5T4XSN2cjs.getChainName.call(void 0, targetChain);
1159
1159
  _optionalChain([onEventRef, 'access', _39 => _39.current, 'optionalCall', _40 => _40({
1160
1160
  type: "withdraw_modal_select_amount_open",
1161
1161
  pred_balance: totalBalanceUsd,
@@ -1192,8 +1192,8 @@ function WithdrawFlow({
1192
1192
  );
1193
1193
  const handleFormContinue = _react.useCallback.call(void 0,
1194
1194
  (recipient, amountValue) => {
1195
- const tokenSymbol = _chunkU7SVYWVDcjs.getTokenSymbol.call(void 0, targetToken, targetChain);
1196
- const chainName = _chunkU7SVYWVDcjs.getChainName.call(void 0, targetChain);
1195
+ const tokenSymbol = _chunkP5T4XSN2cjs.getTokenSymbol.call(void 0, targetToken, targetChain);
1196
+ const chainName = _chunkP5T4XSN2cjs.getChainName.call(void 0, targetChain);
1197
1197
  _optionalChain([onEventRef, 'access', _43 => _43.current, 'optionalCall', _44 => _44({
1198
1198
  type: "withdraw_modal_select_amount_cta_click",
1199
1199
  pred_balance: totalBalanceUsd,
@@ -1261,7 +1261,7 @@ function WithdrawFlow({
1261
1261
  targetToken
1262
1262
  });
1263
1263
  const amountUnits = _viem.parseUnits.call(void 0, amountValue, asset.decimals);
1264
- const pc = _nullishCoalesce(_optionalChain([signerContext, 'optionalAccess', _46 => _46.publicClient]), () => ( _chunk7OKA6GNAcjs.getPublicClient.call(void 0, sourceChain, rpcUrls)));
1264
+ const pc = _nullishCoalesce(_optionalChain([signerContext, 'optionalAccess', _46 => _46.publicClient]), () => ( _chunkDSXMWQYBcjs.getPublicClient.call(void 0, sourceChain, rpcUrls)));
1265
1265
  let result;
1266
1266
  if (onSignTransaction) {
1267
1267
  const transferTarget = isSameRoute ? recipient : smartAccount;
@@ -1274,7 +1274,7 @@ function WithdrawFlow({
1274
1274
  args: [transferTarget, amountUnits]
1275
1275
  })
1276
1276
  };
1277
- const request = await _chunkXRWQMIBYcjs.buildSafeTransaction.call(void 0, {
1277
+ const request = await _chunkUNVVUULPcjs.buildSafeTransaction.call(void 0, {
1278
1278
  publicClient: pc,
1279
1279
  safeAddress,
1280
1280
  to: transferData.to,
@@ -1290,7 +1290,7 @@ function WithdrawFlow({
1290
1290
  }
1291
1291
  const relayResult = await service.relayWithdraw({
1292
1292
  smartAccount,
1293
- chainId: _chunkU7SVYWVDcjs.toEvmCaip2.call(void 0, sourceChain),
1293
+ chainId: _chunkP5T4XSN2cjs.toEvmCaip2.call(void 0, sourceChain),
1294
1294
  safeAddress,
1295
1295
  safeTransaction: request.typedData.message,
1296
1296
  signature
@@ -1303,7 +1303,7 @@ function WithdrawFlow({
1303
1303
  if (!getMatchingRegistration()) {
1304
1304
  throw new Error("Withdrawal target changed before submission");
1305
1305
  }
1306
- result = await _chunkXRWQMIBYcjs.executeSafeEthTransfer.call(void 0, {
1306
+ result = await _chunkUNVVUULPcjs.executeSafeEthTransfer.call(void 0, {
1307
1307
  walletClient: signerContext.walletClient,
1308
1308
  publicClient: pc,
1309
1309
  safeAddress,
@@ -1315,7 +1315,7 @@ function WithdrawFlow({
1315
1315
  if (!getMatchingRegistration()) {
1316
1316
  throw new Error("Withdrawal target changed before submission");
1317
1317
  }
1318
- result = await _chunkXRWQMIBYcjs.executeSafeErc20Transfer.call(void 0, {
1318
+ result = await _chunkUNVVUULPcjs.executeSafeErc20Transfer.call(void 0, {
1319
1319
  walletClient: signerContext.walletClient,
1320
1320
  publicClient: pc,
1321
1321
  safeAddress,
@@ -1349,7 +1349,7 @@ function WithdrawFlow({
1349
1349
  targetChain,
1350
1350
  targetToken
1351
1351
  });
1352
- handleError(_chunk7OKA6GNAcjs.formatUserError.call(void 0, raw), "WITHDRAW_FLOW_ERROR");
1352
+ handleError(_chunkDSXMWQYBcjs.formatUserError.call(void 0, raw), "WITHDRAW_FLOW_ERROR");
1353
1353
  throw err;
1354
1354
  }
1355
1355
  },
@@ -1415,9 +1415,9 @@ function WithdrawFlow({
1415
1415
  [_optionalChain([allowedRoutes, 'optionalAccess', _56 => _56.sourceTokens])]
1416
1416
  );
1417
1417
  const targetChainOptions = _react.useMemo.call(void 0, () => {
1418
- return _chunkU7SVYWVDcjs.SOURCE_CHAINS.filter((chain) => {
1418
+ return _chunkP5T4XSN2cjs.SOURCE_CHAINS.filter((chain) => {
1419
1419
  if (allowedChainSet && !allowedChainSet.has(chain.id)) return false;
1420
- const tokens = _chunkU7SVYWVDcjs.getSupportedTargetTokens.call(void 0, chain.id);
1420
+ const tokens = _chunkP5T4XSN2cjs.getSupportedTargetTokens.call(void 0, chain.id);
1421
1421
  if (allowedTokenSet) {
1422
1422
  return tokens.some((t) => allowedTokenSet.has(t.symbol.toUpperCase()));
1423
1423
  }
@@ -1425,7 +1425,7 @@ function WithdrawFlow({
1425
1425
  });
1426
1426
  }, [allowedChainSet, allowedTokenSet]);
1427
1427
  const targetTokenOptions = _react.useMemo.call(void 0, () => {
1428
- const tokens = _chunkU7SVYWVDcjs.getSupportedTargetTokens.call(void 0, targetChain);
1428
+ const tokens = _chunkP5T4XSN2cjs.getSupportedTargetTokens.call(void 0, targetChain);
1429
1429
  if (!allowedTokenSet) return tokens;
1430
1430
  return tokens.filter((t) => allowedTokenSet.has(t.symbol.toUpperCase()));
1431
1431
  }, [targetChain, allowedTokenSet]);
@@ -1439,7 +1439,7 @@ function WithdrawFlow({
1439
1439
  const handleTargetChainChange = _react.useCallback.call(void 0,
1440
1440
  (chainId) => {
1441
1441
  setTargetChain(chainId);
1442
- let options = _chunkU7SVYWVDcjs.getSupportedTargetTokens.call(void 0, chainId);
1442
+ let options = _chunkP5T4XSN2cjs.getSupportedTargetTokens.call(void 0, chainId);
1443
1443
  if (allowedTokenSet) {
1444
1444
  options = options.filter(
1445
1445
  (t) => allowedTokenSet.has(t.symbol.toUpperCase())
@@ -1489,7 +1489,7 @@ function WithdrawFlow({
1489
1489
  state: "ready"
1490
1490
  }));
1491
1491
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-modal-body", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1492
- _chunk7OKA6GNAcjs.ConnectStep,
1492
+ _chunkDSXMWQYBcjs.ConnectStep,
1493
1493
  {
1494
1494
  walletRows: withdrawRows,
1495
1495
  onConfirmWallet: (walletId) => {
@@ -1507,7 +1507,7 @@ function WithdrawFlow({
1507
1507
  if (!signerContext) return null;
1508
1508
  if (!onSignTransaction && !signerContext.walletClient) return null;
1509
1509
  const resolvedConnectedRecipient = _optionalChain([selectedWalletOption, 'optionalAccess', _63 => _63.kind]) === "external" ? selectedWalletOption.address : void 0;
1510
- const formPublicClient = _nullishCoalesce(signerContext.publicClient, () => ( _chunk7OKA6GNAcjs.getPublicClient.call(void 0, sourceChain, rpcUrls)));
1510
+ const formPublicClient = _nullishCoalesce(signerContext.publicClient, () => ( _chunkDSXMWQYBcjs.getPublicClient.call(void 0, sourceChain, rpcUrls)));
1511
1511
  const depositAddress = registration.kind === "ready" || registration.kind === "stale" ? registration.smartAccount : void 0;
1512
1512
  const stepView = deriveStepView(flowStep, registration);
1513
1513
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-modal-body", children: [
@@ -1555,7 +1555,7 @@ function WithdrawFlow({
1555
1555
  }
1556
1556
  ),
1557
1557
  stepView === "processing" && registration.kind !== "idle" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1558
- _chunk7OKA6GNAcjs.ProcessingStep,
1558
+ _chunkDSXMWQYBcjs.ProcessingStep,
1559
1559
  {
1560
1560
  smartAccount: registration.kind === "ready" || registration.kind === "stale" ? registration.smartAccount : "0x0",
1561
1561
  txHash: _nullishCoalesce(storeApi.getState().txHash, () => ( "0x0")),
@@ -1597,7 +1597,7 @@ function deriveStepView(step, _registration) {
1597
1597
  // src/WithdrawModal.tsx
1598
1598
 
1599
1599
  var ReownWithdrawInner = _react.lazy.call(void 0,
1600
- () => Promise.resolve().then(() => _interopRequireWildcard(require("./WithdrawModalReown-TVZWJKQI.cjs"))).then((m) => ({
1600
+ () => Promise.resolve().then(() => _interopRequireWildcard(require("./WithdrawModalReown-KUWNNA2X.cjs"))).then((m) => ({
1601
1601
  default: m.WithdrawModalReown
1602
1602
  }))
1603
1603
  );
@@ -1625,9 +1625,9 @@ function WithdrawModalInner({
1625
1625
  inline,
1626
1626
  closeOnOverlayClick,
1627
1627
  allowedRoutes,
1628
- backendUrl = _chunkU7SVYWVDcjs.DEFAULT_BACKEND_URL,
1628
+ backendUrl = _chunkP5T4XSN2cjs.DEFAULT_BACKEND_URL,
1629
1629
  rpcUrls: rpcUrlsProp,
1630
- signerAddress = _chunkU7SVYWVDcjs.DEFAULT_SIGNER_ADDRESS,
1630
+ signerAddress = _chunkP5T4XSN2cjs.DEFAULT_SIGNER_ADDRESS,
1631
1631
  sessionChainIds,
1632
1632
  forceRegister = false,
1633
1633
  reownWallet,
@@ -1645,19 +1645,19 @@ function WithdrawModalInner({
1645
1645
  debug
1646
1646
  }) {
1647
1647
  const modalRef = _react.useRef.call(void 0, null);
1648
- const onReadyRef = _chunk7OKA6GNAcjs.useLatestRef.call(void 0, onReady);
1648
+ const onReadyRef = _chunkDSXMWQYBcjs.useLatestRef.call(void 0, onReady);
1649
1649
  const [backHandler, setBackHandler] = _react.useState.call(void 0,
1650
1650
  void 0
1651
1651
  );
1652
- const targetChain = _chunkU7SVYWVDcjs.getChainId.call(void 0, targetChainProp);
1653
- const sourceChain = _chunkU7SVYWVDcjs.getChainId.call(void 0, sourceChainProp);
1654
- const rpcUrls = _chunk7OKA6GNAcjs.useStableRpcUrls.call(void 0, rpcUrlsProp);
1652
+ const targetChain = _chunkP5T4XSN2cjs.getChainId.call(void 0, targetChainProp);
1653
+ const sourceChain = _chunkP5T4XSN2cjs.getChainId.call(void 0, sourceChainProp);
1654
+ const rpcUrls = _chunkDSXMWQYBcjs.useStableRpcUrls.call(void 0, rpcUrlsProp);
1655
1655
  const service = _react.useMemo.call(void 0,
1656
- () => _chunk7OKA6GNAcjs.createDepositService.call(void 0, backendUrl, { debug, debugScope: "service:withdraw" }),
1656
+ () => _chunkDSXMWQYBcjs.createDepositService.call(void 0, backendUrl, { debug, debugScope: "service:withdraw" }),
1657
1657
  [backendUrl, debug]
1658
1658
  );
1659
1659
  const store = _react.useMemo.call(void 0, () => createWithdrawStore(), []);
1660
- const onErrorRef = _chunk7OKA6GNAcjs.useLatestRef.call(void 0, onError);
1660
+ const onErrorRef = _chunkDSXMWQYBcjs.useLatestRef.call(void 0, onError);
1661
1661
  _react.useEffect.call(void 0, () => {
1662
1662
  if (isOpen && onSignTransaction && !dappAddress) {
1663
1663
  _optionalChain([onErrorRef, 'access', _64 => _64.current, 'optionalCall', _65 => _65({
@@ -1668,7 +1668,7 @@ function WithdrawModalInner({
1668
1668
  }, [isOpen, onSignTransaction, dappAddress, onErrorRef]);
1669
1669
  _react.useEffect.call(void 0, () => {
1670
1670
  if (isOpen && modalRef.current) {
1671
- _chunk7OKA6GNAcjs.applyTheme.call(void 0, modalRef.current, theme);
1671
+ _chunkDSXMWQYBcjs.applyTheme.call(void 0, modalRef.current, theme);
1672
1672
  }
1673
1673
  }, [isOpen, theme]);
1674
1674
  _react.useEffect.call(void 0, () => {
@@ -1686,8 +1686,8 @@ function WithdrawModalInner({
1686
1686
  }, []);
1687
1687
  const showBackButton = _nullishCoalesce(_optionalChain([uiConfig, 'optionalAccess', _68 => _68.showBackButton]), () => ( true));
1688
1688
  const canGoBack = backHandler !== void 0;
1689
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OKA6GNAcjs.RpcUrlsProvider, { value: rpcUrls, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, WithdrawStoreProvider, { store, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1690
- _chunk7OKA6GNAcjs.Modal,
1689
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDSXMWQYBcjs.RpcUrlsProvider, { value: rpcUrls, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, WithdrawStoreProvider, { store, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1690
+ _chunkDSXMWQYBcjs.Modal,
1691
1691
  {
1692
1692
  isOpen,
1693
1693
  onClose,
@@ -1703,7 +1703,7 @@ function WithdrawModalInner({
1703
1703
  className: "rs-modal-header-back",
1704
1704
  "aria-label": "Go back",
1705
1705
  onClick: backHandler,
1706
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OKA6GNAcjs.ChevronLeftIcon, {})
1706
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDSXMWQYBcjs.ChevronLeftIcon, {})
1707
1707
  }
1708
1708
  ) }),
1709
1709
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-modal-header-nav-right", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -1713,7 +1713,7 @@ function WithdrawModalInner({
1713
1713
  onClick: onClose,
1714
1714
  className: "rs-modal-close",
1715
1715
  "aria-label": "Close",
1716
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OKA6GNAcjs.CloseIcon, {})
1716
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDSXMWQYBcjs.CloseIcon, {})
1717
1717
  }
1718
1718
  ) })
1719
1719
  ] }),