@rhinestone/deposit-modal 0.0.0-dev-20260820131247 → 0.0.0-dev-20260820132326

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 (29) hide show
  1. package/dist/{DepositModalReown-4T3RPHE3.mjs → DepositModalReown-TVCSXOTU.mjs} +5 -5
  2. package/dist/{DepositModalReown-QSW6D6AQ.cjs → DepositModalReown-VMPOUYGQ.cjs} +13 -13
  3. package/dist/{chunk-QSZVGZKQ.cjs → chunk-4KC3QSWQ.cjs} +1 -1
  4. package/dist/{chunk-7UOHFAEU.cjs → chunk-4XGZTBCN.cjs} +66 -66
  5. package/dist/{chunk-T7TE2WAH.cjs → chunk-5XKWXKIE.cjs} +26 -26
  6. package/dist/{chunk-AR73UBSN.cjs → chunk-K42K4D3U.cjs} +59 -59
  7. package/dist/{chunk-XIKTW5W2.mjs → chunk-MBGCGCYK.mjs} +1 -1
  8. package/dist/{chunk-ALDP35OF.cjs → chunk-QI4J6LKJ.cjs} +54 -54
  9. package/dist/{chunk-QXBDEXOW.mjs → chunk-S73JGILE.mjs} +3 -3
  10. package/dist/{chunk-E7ZYFV3B.mjs → chunk-SBP66OBE.mjs} +19 -5
  11. package/dist/{chunk-PUTVHCVD.mjs → chunk-TGOUNO7N.mjs} +1 -1
  12. package/dist/{chunk-7BP2IJMI.cjs → chunk-UZIDUSQ7.cjs} +420 -406
  13. package/dist/{chunk-KAUM3EWN.mjs → chunk-YAUPWQ4I.mjs} +2 -2
  14. package/dist/{chunk-AERDJB6I.mjs → chunk-YP2RLRFG.mjs} +1 -1
  15. package/dist/{chunk-FTH4MSOA.cjs → chunk-YYVAQAK6.cjs} +3 -3
  16. package/dist/{chunk-LCFRLAJF.mjs → chunk-ZQ7OHZJY.mjs} +1 -1
  17. package/dist/claim.cjs +5 -5
  18. package/dist/claim.mjs +4 -4
  19. package/dist/constants.cjs +2 -2
  20. package/dist/constants.d.cts +1 -1
  21. package/dist/constants.d.ts +1 -1
  22. package/dist/constants.mjs +1 -1
  23. package/dist/deposit.cjs +6 -6
  24. package/dist/deposit.mjs +5 -5
  25. package/dist/index.cjs +8 -8
  26. package/dist/index.mjs +7 -7
  27. package/dist/withdraw.cjs +5 -5
  28. package/dist/withdraw.mjs +4 -4
  29. package/package.json +1 -1
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  DepositModalInner
3
- } from "./chunk-E7ZYFV3B.mjs";
4
- import "./chunk-AERDJB6I.mjs";
5
- import "./chunk-XIKTW5W2.mjs";
3
+ } from "./chunk-SBP66OBE.mjs";
4
+ import "./chunk-YP2RLRFG.mjs";
5
+ import "./chunk-MBGCGCYK.mjs";
6
6
  import {
7
7
  isUnsupportedChainSwitchError,
8
8
  peekRuntimeChains,
9
9
  primeRuntimeChains,
10
10
  rpcUrlFor,
11
11
  useStableRpcUrls
12
- } from "./chunk-PUTVHCVD.mjs";
13
- import "./chunk-LCFRLAJF.mjs";
12
+ } from "./chunk-TGOUNO7N.mjs";
13
+ import "./chunk-ZQ7OHZJY.mjs";
14
14
  import "./chunk-D7645TBV.mjs";
15
15
  import {
16
16
  SUPPORTED_CHAINS,
@@ -1,16 +1,16 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunk7BP2IJMIcjs = require('./chunk-7BP2IJMI.cjs');
4
- require('./chunk-7UOHFAEU.cjs');
5
- require('./chunk-FTH4MSOA.cjs');
3
+ var _chunkUZIDUSQ7cjs = require('./chunk-UZIDUSQ7.cjs');
4
+ require('./chunk-4XGZTBCN.cjs');
5
+ require('./chunk-YYVAQAK6.cjs');
6
6
 
7
7
 
8
8
 
9
9
 
10
10
 
11
11
 
12
- var _chunkT7TE2WAHcjs = require('./chunk-T7TE2WAH.cjs');
13
- require('./chunk-QSZVGZKQ.cjs');
12
+ var _chunk5XKWXKIEcjs = require('./chunk-5XKWXKIE.cjs');
13
+ require('./chunk-4KC3QSWQ.cjs');
14
14
  require('./chunk-OYKHOHX5.cjs');
15
15
 
16
16
 
@@ -91,14 +91,14 @@ function buildTransports(rpcUrls, networks = EVM_NETWORKS) {
91
91
  const transports = {};
92
92
  for (const network of networks) {
93
93
  const id = Number(network.id);
94
- transports[id] = _viem.http.call(void 0, _chunkT7TE2WAHcjs.rpcUrlFor.call(void 0, rpcUrls, id));
94
+ transports[id] = _viem.http.call(void 0, _chunk5XKWXKIEcjs.rpcUrlFor.call(void 0, rpcUrls, id));
95
95
  }
96
96
  return transports;
97
97
  }
98
98
  function getEvmRpcFingerprint(rpcUrls, networks) {
99
99
  return networks.map((network) => {
100
100
  const id = Number(network.id);
101
- return `${id}=${_nullishCoalesce(_chunkT7TE2WAHcjs.rpcUrlFor.call(void 0, rpcUrls, id), () => ( ""))}`;
101
+ return `${id}=${_nullishCoalesce(_chunk5XKWXKIEcjs.rpcUrlFor.call(void 0, rpcUrls, id), () => ( ""))}`;
102
102
  }).join("|");
103
103
  }
104
104
  var cachedAdapter = null;
@@ -177,7 +177,7 @@ function ReownWalletProvider({
177
177
  backendUrl,
178
178
  children
179
179
  }) {
180
- const rpcUrls = _chunkT7TE2WAHcjs.useStableRpcUrls.call(void 0, rpcUrlsProp);
180
+ const rpcUrls = _chunk5XKWXKIEcjs.useStableRpcUrls.call(void 0, rpcUrlsProp);
181
181
  const [queryClient] = _react.useState.call(void 0, () => new (0, _reactquery.QueryClient)());
182
182
  const overrides = _react.useMemo.call(void 0, () => {
183
183
  if (!rpcUrls) return void 0;
@@ -189,14 +189,14 @@ function ReownWalletProvider({
189
189
  return out;
190
190
  }, [rpcUrls]);
191
191
  const [state, setState] = _react.useState.call(void 0, () => {
192
- const primed = _chunkT7TE2WAHcjs.peekRuntimeChains.call(void 0, backendUrl, overrides);
192
+ const primed = _chunk5XKWXKIEcjs.peekRuntimeChains.call(void 0, backendUrl, overrides);
193
193
  return { ready: primed !== null, chains: _nullishCoalesce(primed, () => ( [])) };
194
194
  });
195
195
  _react.useEffect.call(void 0, () => {
196
196
  let active = true;
197
- const primed = _chunkT7TE2WAHcjs.peekRuntimeChains.call(void 0, backendUrl, overrides);
197
+ const primed = _chunk5XKWXKIEcjs.peekRuntimeChains.call(void 0, backendUrl, overrides);
198
198
  setState({ ready: primed !== null, chains: _nullishCoalesce(primed, () => ( [])) });
199
- _chunkT7TE2WAHcjs.primeRuntimeChains.call(void 0, backendUrl, overrides).then((chains) => {
199
+ _chunk5XKWXKIEcjs.primeRuntimeChains.call(void 0, backendUrl, overrides).then((chains) => {
200
200
  if (active) setState({ ready: true, chains });
201
201
  });
202
202
  return () => {
@@ -258,7 +258,7 @@ function useReownWalletSession() {
258
258
  await switchChainAsync({ chainId });
259
259
  }
260
260
  } catch (err) {
261
- if (_chunkT7TE2WAHcjs.isUnsupportedChainSwitchError.call(void 0, err)) {
261
+ if (_chunk5XKWXKIEcjs.isUnsupportedChainSwitchError.call(void 0, err)) {
262
262
  throw new Error(
263
263
  `Switch to ${chainDisplayName(chainId)} in your wallet to continue`
264
264
  );
@@ -292,7 +292,7 @@ function DepositModalWithReown(props) {
292
292
  reown.disconnect();
293
293
  }, [reown.disconnect]);
294
294
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
295
- _chunk7BP2IJMIcjs.DepositModalInner,
295
+ _chunkUZIDUSQ7cjs.DepositModalInner,
296
296
  {
297
297
  ...props,
298
298
  walletSession: reownWithSolana,
@@ -1,5 +1,5 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/core/version.ts
2
- var MODAL_VERSION = "0.0.0-dev-20260820131247";
2
+ var MODAL_VERSION = "0.0.0-dev-20260820132326";
3
3
  var SERVICE_HEADERS = {
4
4
  "Content-Type": "application/json",
5
5
  "x-deposit-modal-version": MODAL_VERSION
@@ -24,7 +24,7 @@
24
24
 
25
25
 
26
26
 
27
- var _chunkT7TE2WAHcjs = require('./chunk-T7TE2WAH.cjs');
27
+ var _chunk5XKWXKIEcjs = require('./chunk-5XKWXKIE.cjs');
28
28
 
29
29
 
30
30
 
@@ -271,7 +271,7 @@ function FeesAccordion({ total, rows, tooltip }) {
271
271
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-fees-accordion-summary", children: [
272
272
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "rs-fees-accordion-label", children: [
273
273
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: "Fees" }),
274
- tooltip && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Tooltip, { content: tooltip, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-info", "aria-label": "Fees info", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkT7TE2WAHcjs.InfoIcon, {}) }) })
274
+ tooltip && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Tooltip, { content: tooltip, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-info", "aria-label": "Fees info", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5XKWXKIEcjs.InfoIcon, {}) }) })
275
275
  ] }),
276
276
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
277
277
  "button",
@@ -289,7 +289,7 @@ function FeesAccordion({ total, rows, tooltip }) {
289
289
  {
290
290
  className: `rs-fees-accordion-chevron${open ? " rs-fees-accordion-chevron--open" : ""}`,
291
291
  "aria-hidden": "true",
292
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkT7TE2WAHcjs.ChevronDownIcon, {})
292
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5XKWXKIEcjs.ChevronDownIcon, {})
293
293
  }
294
294
  )
295
295
  ]
@@ -311,7 +311,7 @@ function FeesAccordion({ total, rows, tooltip }) {
311
311
  {
312
312
  className: "rs-review-detail-info",
313
313
  "aria-label": `${row.label} info`,
314
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkT7TE2WAHcjs.InfoIcon, {})
314
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5XKWXKIEcjs.InfoIcon, {})
315
315
  }
316
316
  ) })
317
317
  ] })
@@ -337,13 +337,13 @@ function SwappedReceipt({
337
337
  }) {
338
338
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen", children: [
339
339
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body rs-screen-body--gap-32", children: [
340
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkT7TE2WAHcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkT7TE2WAHcjs.CheckIcon, {}), title: "Deposit successful" }),
340
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5XKWXKIEcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5XKWXKIEcjs.CheckIcon, {}), title: "Deposit successful" }),
341
341
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-review-details", children: [
342
342
  onrampMethod && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-review-detail-row", children: [
343
343
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: "Onramp method" }),
344
344
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "rs-review-detail-value", children: [
345
345
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: onrampMethod }),
346
- onrampMethodIcon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-icon rs-review-detail-icon--square", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkT7TE2WAHcjs.CdnIcon, { src: onrampMethodIcon }) })
346
+ onrampMethodIcon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-icon rs-review-detail-icon--square", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5XKWXKIEcjs.CdnIcon, { src: onrampMethodIcon }) })
347
347
  ] })
348
348
  ] }),
349
349
  amountPaid && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-review-detail-row", children: [
@@ -354,7 +354,7 @@ function SwappedReceipt({
354
354
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: "Deposited amount" }),
355
355
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "rs-review-detail-value", children: [
356
356
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: depositedAmount }),
357
- depositedSymbol && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkT7TE2WAHcjs.TokenIcon, { symbol: depositedSymbol }) })
357
+ depositedSymbol && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5XKWXKIEcjs.TokenIcon, { symbol: depositedSymbol }) })
358
358
  ] })
359
359
  ] }),
360
360
  feesTotal != null && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -367,11 +367,11 @@ function SwappedReceipt({
367
367
  )
368
368
  ] }),
369
369
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-button-row", children: [
370
- onNewDeposit && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkT7TE2WAHcjs.Button, { variant: "outline", onClick: onNewDeposit, fullWidth: true, children: newLabel }),
371
- onClose && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkT7TE2WAHcjs.Button, { onClick: onClose, fullWidth: true, children: "Done" })
370
+ onNewDeposit && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5XKWXKIEcjs.Button, { variant: "outline", onClick: onNewDeposit, fullWidth: true, children: newLabel }),
371
+ onClose && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5XKWXKIEcjs.Button, { onClick: onClose, fullWidth: true, children: "Done" })
372
372
  ] })
373
373
  ] }),
374
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkT7TE2WAHcjs.PoweredBy, {})
374
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5XKWXKIEcjs.PoweredBy, {})
375
375
  ] });
376
376
  }
377
377
  SwappedReceipt.displayName = "SwappedReceipt";
@@ -407,7 +407,7 @@ function getExchangeLogoSrc(name, connection) {
407
407
  }
408
408
  function getExchangeLogo(name, connection) {
409
409
  const src = getExchangeLogoSrc(name, connection);
410
- return src ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkT7TE2WAHcjs.CdnIcon, { src }) : null;
410
+ return src ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5XKWXKIEcjs.CdnIcon, { src }) : null;
411
411
  }
412
412
 
413
413
  // src/core/webhook.ts
@@ -652,14 +652,14 @@ function buildQuoteFeeRows(breakdown, sponsoredTooltip) {
652
652
  if (!breakdown) return { rows: [], chargeableUsd: 0 };
653
653
  const rows = [];
654
654
  let chargeableUsd = 0;
655
- for (const group of _chunkT7TE2WAHcjs.quoteFeeGroups.call(void 0, breakdown)) {
655
+ for (const group of _chunk5XKWXKIEcjs.quoteFeeGroups.call(void 0, breakdown)) {
656
656
  if (group.chargedUsd > 0) {
657
657
  chargeableUsd += group.chargedUsd;
658
- rows.push({ label: group.label, value: _chunkT7TE2WAHcjs.formatFeeUsd.call(void 0, group.chargedUsd) });
658
+ rows.push({ label: group.label, value: _chunk5XKWXKIEcjs.formatFeeUsd.call(void 0, group.chargedUsd) });
659
659
  } else if (group.sponsoredUsd > 0) {
660
660
  rows.push({
661
661
  label: group.label,
662
- value: _chunkT7TE2WAHcjs.formatFeeUsd.call(void 0, group.sponsoredUsd),
662
+ value: _chunk5XKWXKIEcjs.formatFeeUsd.call(void 0, group.sponsoredUsd),
663
663
  strike: true,
664
664
  tooltip: sponsoredTooltip
665
665
  });
@@ -872,7 +872,7 @@ function ProcessingStep({
872
872
  const pollIntervalRef = _react.useRef.call(void 0, INITIAL_POLL_INTERVAL);
873
873
  const pollTimeoutRef = _react.useRef.call(void 0, null);
874
874
  const escalatedDelayRef = _react.useRef.call(void 0, false);
875
- const processingContextRef = _chunkT7TE2WAHcjs.useLatestRef.call(void 0, {
875
+ const processingContextRef = _chunk5XKWXKIEcjs.useLatestRef.call(void 0, {
876
876
  amount,
877
877
  sourceChain,
878
878
  sourceToken,
@@ -881,10 +881,10 @@ function ProcessingStep({
881
881
  targetChain,
882
882
  targetToken
883
883
  });
884
- const onDepositCompleteRef = _chunkT7TE2WAHcjs.useLatestRef.call(void 0, onDepositComplete);
885
- const onDepositFailedRef = _chunkT7TE2WAHcjs.useLatestRef.call(void 0, onDepositFailed);
886
- const onErrorRef = _chunkT7TE2WAHcjs.useLatestRef.call(void 0, onError);
887
- const explorerTxUrl = _chunkT7TE2WAHcjs.useExplorerTxUrl.call(void 0, );
884
+ const onDepositCompleteRef = _chunk5XKWXKIEcjs.useLatestRef.call(void 0, onDepositComplete);
885
+ const onDepositFailedRef = _chunk5XKWXKIEcjs.useLatestRef.call(void 0, onDepositFailed);
886
+ const onErrorRef = _chunk5XKWXKIEcjs.useLatestRef.call(void 0, onError);
887
+ const explorerTxUrl = _chunk5XKWXKIEcjs.useExplorerTxUrl.call(void 0, );
888
888
  const initialTerminalEventRef = _react.useRef.call(void 0, null);
889
889
  const [state, setState] = _react.useState.call(void 0, () => {
890
890
  if (directTransfer) return { type: "complete" };
@@ -928,7 +928,7 @@ function ProcessingStep({
928
928
  completedAt,
929
929
  endedAt: completedAt
930
930
  }));
931
- _chunkT7TE2WAHcjs.debugLog.call(void 0, debug, "processing", "direct-transfer:complete", {
931
+ _chunk5XKWXKIEcjs.debugLog.call(void 0, debug, "processing", "direct-transfer:complete", {
932
932
  txHash,
933
933
  flowLabel
934
934
  });
@@ -960,7 +960,7 @@ function ProcessingStep({
960
960
  if (outcome.type === "complete") {
961
961
  const context = processingContextRef.current;
962
962
  const sourceTxHash2 = getSettledSourceTxHash(event, txHash);
963
- _chunkT7TE2WAHcjs.debugLog.call(void 0, debug, "processing", "initial-event:complete", {
963
+ _chunk5XKWXKIEcjs.debugLog.call(void 0, debug, "processing", "initial-event:complete", {
964
964
  txHash,
965
965
  sourceTxHash: sourceTxHash2,
966
966
  destinationTxHash: outcome.destinationTxHash,
@@ -981,7 +981,7 @@ function ProcessingStep({
981
981
  )]);
982
982
  return;
983
983
  }
984
- _chunkT7TE2WAHcjs.debugLog.call(void 0, debug, "processing", "initial-event:failed", {
984
+ _chunk5XKWXKIEcjs.debugLog.call(void 0, debug, "processing", "initial-event:failed", {
985
985
  txHash,
986
986
  message: outcome.message,
987
987
  event: event.type
@@ -1087,7 +1087,7 @@ function ProcessingStep({
1087
1087
  async function pollStatus() {
1088
1088
  try {
1089
1089
  const account = sourceChain === "solana" && solanaDepositAddress ? solanaDepositAddress : smartAccount;
1090
- _chunkT7TE2WAHcjs.debugLog.call(void 0, debug, "processing", "poll:request", {
1090
+ _chunk5XKWXKIEcjs.debugLog.call(void 0, debug, "processing", "poll:request", {
1091
1091
  account,
1092
1092
  txHash,
1093
1093
  intervalMs: pollIntervalRef.current
@@ -1098,7 +1098,7 @@ function ProcessingStep({
1098
1098
  const eventForCurrentTx = eventMatchesTx ? lastEvent2 : void 0;
1099
1099
  if (lastEvent2) {
1100
1100
  const eventData = lastEvent2.data;
1101
- _chunkT7TE2WAHcjs.debugLog.call(void 0, debug, "processing", "poll:event", {
1101
+ _chunk5XKWXKIEcjs.debugLog.call(void 0, debug, "processing", "poll:event", {
1102
1102
  type: lastEvent2.type,
1103
1103
  matchesTx: eventMatchesTx,
1104
1104
  intentId: _optionalChain([eventData, 'optionalAccess', _83 => _83.intentId])
@@ -1112,7 +1112,7 @@ function ProcessingStep({
1112
1112
  txHash
1113
1113
  );
1114
1114
  const destinationTxHash2 = _optionalChain([eventForCurrentTx, 'access', _85 => _85.data, 'optionalAccess', _86 => _86.destination, 'optionalAccess', _87 => _87.transactionHash]);
1115
- _chunkT7TE2WAHcjs.debugLog.call(void 0, debug, "processing", "state:complete", {
1115
+ _chunk5XKWXKIEcjs.debugLog.call(void 0, debug, "processing", "state:complete", {
1116
1116
  txHash,
1117
1117
  sourceTxHash: sourceTxHash2,
1118
1118
  destinationTxHash: destinationTxHash2,
@@ -1137,7 +1137,7 @@ function ProcessingStep({
1137
1137
  message: formatted.message,
1138
1138
  lastEvent: eventForCurrentTx
1139
1139
  });
1140
- _chunkT7TE2WAHcjs.debugLog.call(void 0, debug, "processing", "state:failed", {
1140
+ _chunk5XKWXKIEcjs.debugLog.call(void 0, debug, "processing", "state:failed", {
1141
1141
  txHash,
1142
1142
  message: formatted.message,
1143
1143
  code: formatted.code
@@ -1152,7 +1152,7 @@ function ProcessingStep({
1152
1152
  message: errorMessage,
1153
1153
  lastEvent: eventForCurrentTx
1154
1154
  });
1155
- _chunkT7TE2WAHcjs.debugLog.call(void 0, debug, "processing", "state:error-event", {
1155
+ _chunk5XKWXKIEcjs.debugLog.call(void 0, debug, "processing", "state:error-event", {
1156
1156
  txHash,
1157
1157
  message: errorMessage
1158
1158
  });
@@ -1165,7 +1165,7 @@ function ProcessingStep({
1165
1165
  }));
1166
1166
  scheduleNextPoll();
1167
1167
  } catch (error) {
1168
- _chunkT7TE2WAHcjs.debugError.call(void 0, debug, "processing", "poll:failure", error, {
1168
+ _chunk5XKWXKIEcjs.debugError.call(void 0, debug, "processing", "poll:failure", error, {
1169
1169
  smartAccount,
1170
1170
  txHash,
1171
1171
  intervalMs: pollIntervalRef.current
@@ -1180,7 +1180,7 @@ function ProcessingStep({
1180
1180
  pollIntervalRef.current * BACKOFF_MULTIPLIER,
1181
1181
  MAX_POLL_INTERVAL
1182
1182
  );
1183
- _chunkT7TE2WAHcjs.debugLog.call(void 0, debug, "processing", "poll:scheduled", {
1183
+ _chunk5XKWXKIEcjs.debugLog.call(void 0, debug, "processing", "poll:scheduled", {
1184
1184
  nextIntervalMs: pollIntervalRef.current
1185
1185
  });
1186
1186
  pollStatus();
@@ -1213,7 +1213,7 @@ function ProcessingStep({
1213
1213
  escalatedDelayRef.current = true;
1214
1214
  setHasEscalatedDelay(true);
1215
1215
  const message = "Transfer is taking longer than expected. Your funds are safe and processing will continue automatically.";
1216
- _chunkT7TE2WAHcjs.debugLog.call(void 0, debug, "processing", "state:delay-escalated", {
1216
+ _chunk5XKWXKIEcjs.debugLog.call(void 0, debug, "processing", "state:delay-escalated", {
1217
1217
  txHash,
1218
1218
  timeoutMs: ESCALATED_DELAY_MS
1219
1219
  });
@@ -1241,7 +1241,7 @@ function ProcessingStep({
1241
1241
  const sourceExplorerUrl = sourceExplorerHash ? explorerTxUrl(displaySourceChain, sourceExplorerHash) : null;
1242
1242
  const destExplorerUrl = destinationTxHash ? explorerTxUrl(targetChainId, destinationTxHash) : null;
1243
1243
  const sourceDisplay = (() => {
1244
- const resolved = _chunkT7TE2WAHcjs.resolveTokenDisplay.call(void 0, displaySourceToken, displaySourceChain, {
1244
+ const resolved = _chunk5XKWXKIEcjs.resolveTokenDisplay.call(void 0, displaySourceToken, displaySourceChain, {
1245
1245
  symbol: _nullishCoalesce(providedSourceSymbol, () => ( (displaySourceChain === "solana" ? "SOL" : "Token"))),
1246
1246
  decimals: providedSourceDecimals
1247
1247
  });
@@ -1251,10 +1251,10 @@ function ProcessingStep({
1251
1251
  };
1252
1252
  })();
1253
1253
  const sourceSymbol = sourceDisplay.symbol;
1254
- const formattedSentAmount = _nullishCoalesce(_nullishCoalesce(_chunkT7TE2WAHcjs.formatRawTokenAmount.call(void 0, displayAmount, sourceDisplay), () => ( // Not raw base units (e.g. a decimal string) — render the number as-is.
1255
- _chunkT7TE2WAHcjs.formatTokenAmount.call(void 0, Number(displayAmount), sourceDisplay.symbol))), () => ( displayAmount));
1254
+ const formattedSentAmount = _nullishCoalesce(_nullishCoalesce(_chunk5XKWXKIEcjs.formatRawTokenAmount.call(void 0, displayAmount, sourceDisplay), () => ( // Not raw base units (e.g. a decimal string) — render the number as-is.
1255
+ _chunk5XKWXKIEcjs.formatTokenAmount.call(void 0, Number(displayAmount), sourceDisplay.symbol))), () => ( displayAmount));
1256
1256
  const eventDestination = getEventDestinationDetails(lastEvent);
1257
- const targetDisplay = _chunkT7TE2WAHcjs.resolveTokenDisplay.call(void 0,
1257
+ const targetDisplay = _chunk5XKWXKIEcjs.resolveTokenDisplay.call(void 0,
1258
1258
  _nullishCoalesce(eventDestination.token, () => ( targetToken)),
1259
1259
  _nullishCoalesce(eventDestination.chainId, () => ( targetChainId)),
1260
1260
  // Dapp deposits default to USDC targets; mirror the source symbol last so
@@ -1262,7 +1262,7 @@ function ProcessingStep({
1262
1262
  { symbol: _nullishCoalesce(providedSourceSymbol, () => ( "USDC")) }
1263
1263
  );
1264
1264
  const targetSymbol = targetDisplay.symbol;
1265
- const formattedDestinationAmount = eventDestination.amount !== void 0 ? _chunkT7TE2WAHcjs.formatRawTokenAmount.call(void 0, eventDestination.amount, targetDisplay) : void 0;
1265
+ const formattedDestinationAmount = eventDestination.amount !== void 0 ? _chunk5XKWXKIEcjs.formatRawTokenAmount.call(void 0, eventDestination.amount, targetDisplay) : void 0;
1266
1266
  const amountUsdNumber = amountUsd !== void 0 && Number(amountUsd) > 0 ? Number(amountUsd) : void 0;
1267
1267
  const prices = useTokenPrices(service, [
1268
1268
  {
@@ -1277,17 +1277,17 @@ function ProcessingStep({
1277
1277
  }
1278
1278
  ]);
1279
1279
  const estimatedReceiveAmount = (() => {
1280
- const estimate = _chunkT7TE2WAHcjs.estimateReceiveAmount.call(void 0, {
1281
- sourceAmount: _chunkT7TE2WAHcjs.tokenAmountToNumber.call(void 0, displayAmount, sourceDisplay.decimals),
1280
+ const estimate = _chunk5XKWXKIEcjs.estimateReceiveAmount.call(void 0, {
1281
+ sourceAmount: _chunk5XKWXKIEcjs.tokenAmountToNumber.call(void 0, displayAmount, sourceDisplay.decimals),
1282
1282
  sourceSymbol: sourceDisplay.symbol,
1283
1283
  targetSymbol: targetDisplay.symbol,
1284
1284
  sourceAmountUsd: amountUsdNumber,
1285
- sourceTrusted: _chunkT7TE2WAHcjs.isRecognizedToken.call(void 0, displaySourceToken, displaySourceChain),
1285
+ sourceTrusted: _chunk5XKWXKIEcjs.isRecognizedToken.call(void 0, displaySourceToken, displaySourceChain),
1286
1286
  prices
1287
1287
  });
1288
- return estimate !== void 0 ? _chunkT7TE2WAHcjs.formatTokenAmount.call(void 0, estimate, targetDisplay.symbol) : void 0;
1288
+ return estimate !== void 0 ? _chunk5XKWXKIEcjs.formatTokenAmount.call(void 0, estimate, targetDisplay.symbol) : void 0;
1289
1289
  })();
1290
- const quotedReceive = quote ? _chunkT7TE2WAHcjs.formatQuotedReceive.call(void 0, quote.output, targetSymbol) : void 0;
1290
+ const quotedReceive = quote ? _chunk5XKWXKIEcjs.formatQuotedReceive.call(void 0, quote.output, targetSymbol) : void 0;
1291
1291
  const receiveDisplay = formattedDestinationAmount ? (
1292
1292
  // The delivered amount, once the bridge reports it — actual, not an
1293
1293
  // estimate, so it wins over the quote and carries no "~".
@@ -1301,12 +1301,12 @@ function ProcessingStep({
1301
1301
  if (sourceSymbol.toUpperCase() !== targetSymbol.toUpperCase()) {
1302
1302
  return void 0;
1303
1303
  }
1304
- const sentValue = _chunkT7TE2WAHcjs.tokenAmountToNumber.call(void 0, displayAmount, sourceDisplay.decimals);
1305
- const receivedValue = eventDestination.amount !== void 0 ? _chunkT7TE2WAHcjs.tokenAmountToNumber.call(void 0, eventDestination.amount, targetDisplay.decimals) : void 0;
1304
+ const sentValue = _chunk5XKWXKIEcjs.tokenAmountToNumber.call(void 0, displayAmount, sourceDisplay.decimals);
1305
+ const receivedValue = eventDestination.amount !== void 0 ? _chunk5XKWXKIEcjs.tokenAmountToNumber.call(void 0, eventDestination.amount, targetDisplay.decimals) : void 0;
1306
1306
  if (sentValue === void 0 || receivedValue === void 0 || sentValue <= receivedValue) {
1307
1307
  return void 0;
1308
1308
  }
1309
- const formatted = _chunkT7TE2WAHcjs.formatTokenAmount.call(void 0, sentValue - receivedValue, sourceSymbol);
1309
+ const formatted = _chunk5XKWXKIEcjs.formatTokenAmount.call(void 0, sentValue - receivedValue, sourceSymbol);
1310
1310
  if (formatted === void 0 || Number(formatted.replace(/,/g, "")) === 0) {
1311
1311
  return void 0;
1312
1312
  }
@@ -1333,7 +1333,7 @@ function ProcessingStep({
1333
1333
  ] }) : isFailed ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-body-header", children: [
1334
1334
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, FailedBadge, {}),
1335
1335
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-body-header-text", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "rs-body-header-title", children: stateTitle }) })
1336
- ] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkT7TE2WAHcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkT7TE2WAHcjs.WalletIcon, {}), title: stateTitle });
1336
+ ] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5XKWXKIEcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5XKWXKIEcjs.WalletIcon, {}), title: stateTitle });
1337
1337
  if (isComplete && isSwappedOrder) {
1338
1338
  const effectivePaymentMethod = _nullishCoalesce(_nullishCoalesce(_optionalChain([swappedContext, 'optionalAccess', _108 => _108.method]), () => ( _optionalChain([swappedFiatContext, 'optionalAccess', _109 => _109.paymentMethod]))), () => ( null));
1339
1339
  const onrampMethod = effectivePaymentMethod ? formatPaymentMethod(effectivePaymentMethod) : null;
@@ -1355,7 +1355,7 @@ function ProcessingStep({
1355
1355
  if (onrampFeeUsd != null) {
1356
1356
  feeRows.push({
1357
1357
  label: "On-ramp fee",
1358
- value: _chunkT7TE2WAHcjs.formatFeeUsd.call(void 0, onrampFeeUsd)
1358
+ value: _chunk5XKWXKIEcjs.formatFeeUsd.call(void 0, onrampFeeUsd)
1359
1359
  });
1360
1360
  }
1361
1361
  const hasFallbackFee = quoteFeeRows.length === 0 && quotedFeeAmount !== void 0 && Number.isFinite(Number(quotedFeeAmount));
@@ -1364,13 +1364,13 @@ function ProcessingStep({
1364
1364
  } else if (hasFallbackFee) {
1365
1365
  feeRows.push({
1366
1366
  label: "Network fee",
1367
- value: _chunkT7TE2WAHcjs.formatFeeUsd.call(void 0, Number(quotedFeeAmount)),
1367
+ value: _chunk5XKWXKIEcjs.formatFeeUsd.call(void 0, Number(quotedFeeAmount)),
1368
1368
  strike: feeSponsored,
1369
1369
  tooltip: feeSponsored ? sponsoredFeeTooltip : void 0
1370
1370
  });
1371
1371
  }
1372
1372
  const fallbackChargeableUsd = hasFallbackFee && !feeSponsored ? Number(quotedFeeAmount) : 0;
1373
- const feesTotal = feeRows.length > 0 ? _chunkT7TE2WAHcjs.formatFeeUsd.call(void 0,
1373
+ const feesTotal = feeRows.length > 0 ? _chunk5XKWXKIEcjs.formatFeeUsd.call(void 0,
1374
1374
  (_nullishCoalesce(onrampFeeUsd, () => ( 0))) + chargeableUsd + fallbackChargeableUsd
1375
1375
  ) : null;
1376
1376
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -1398,7 +1398,7 @@ function ProcessingStep({
1398
1398
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: "Source chain" }),
1399
1399
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "rs-review-detail-value", children: [
1400
1400
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: sourceChainName }),
1401
- sourceChainIcon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkT7TE2WAHcjs.CdnIcon, { src: sourceChainIcon }) }),
1401
+ sourceChainIcon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5XKWXKIEcjs.CdnIcon, { src: sourceChainIcon }) }),
1402
1402
  sourceExplorerUrl && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1403
1403
  "a",
1404
1404
  {
@@ -1407,7 +1407,7 @@ function ProcessingStep({
1407
1407
  rel: "noopener noreferrer",
1408
1408
  className: "rs-review-detail-link",
1409
1409
  "aria-label": "View source transaction",
1410
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkT7TE2WAHcjs.ExternalLinkIcon, {})
1410
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5XKWXKIEcjs.ExternalLinkIcon, {})
1411
1411
  }
1412
1412
  )
1413
1413
  ] })
@@ -1416,7 +1416,7 @@ function ProcessingStep({
1416
1416
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: "Destination chain" }),
1417
1417
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "rs-review-detail-value", children: [
1418
1418
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: targetChainName }),
1419
- targetChainIcon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkT7TE2WAHcjs.CdnIcon, { src: targetChainIcon }) }),
1419
+ targetChainIcon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5XKWXKIEcjs.CdnIcon, { src: targetChainIcon }) }),
1420
1420
  destExplorerUrl && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1421
1421
  "a",
1422
1422
  {
@@ -1425,7 +1425,7 @@ function ProcessingStep({
1425
1425
  rel: "noopener noreferrer",
1426
1426
  className: "rs-review-detail-link",
1427
1427
  "aria-label": "View destination transaction",
1428
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkT7TE2WAHcjs.ExternalLinkIcon, {})
1428
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5XKWXKIEcjs.ExternalLinkIcon, {})
1429
1429
  }
1430
1430
  )
1431
1431
  ] })
@@ -1462,7 +1462,7 @@ function ProcessingStep({
1462
1462
  " ",
1463
1463
  sourceSymbol
1464
1464
  ] }),
1465
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkT7TE2WAHcjs.TokenIcon, { symbol: sourceSymbol }) })
1465
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5XKWXKIEcjs.TokenIcon, { symbol: sourceSymbol }) })
1466
1466
  ] })
1467
1467
  ] })
1468
1468
  ] }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-review-detail-row", children: [
@@ -1473,14 +1473,14 @@ function ProcessingStep({
1473
1473
  " ",
1474
1474
  sourceSymbol
1475
1475
  ] }),
1476
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkT7TE2WAHcjs.TokenIcon, { symbol: sourceSymbol }) })
1476
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5XKWXKIEcjs.TokenIcon, { symbol: sourceSymbol }) })
1477
1477
  ] })
1478
1478
  ] }),
1479
1479
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-review-detail-row", children: [
1480
1480
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: isProcessing ? "Receive" : "Received" }),
1481
1481
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "rs-review-detail-value", children: [
1482
1482
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: receiveDisplay }),
1483
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkT7TE2WAHcjs.TokenIcon, { symbol: targetSymbol }) })
1483
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5XKWXKIEcjs.TokenIcon, { symbol: targetSymbol }) })
1484
1484
  ] })
1485
1485
  ] }),
1486
1486
  isFailed && balanceAfterUsd !== void 0 && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-review-detail-row", children: [
@@ -1509,12 +1509,12 @@ function ProcessingStep({
1509
1509
  {
1510
1510
  className: "rs-review-detail-info",
1511
1511
  "aria-label": "Fee info",
1512
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkT7TE2WAHcjs.InfoIcon, {})
1512
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5XKWXKIEcjs.InfoIcon, {})
1513
1513
  }
1514
1514
  ) })
1515
1515
  ] })
1516
1516
  ] }) : (() => {
1517
- const { display, struck } = _chunkT7TE2WAHcjs.quoteFeeRow.call(void 0, _optionalChain([quote, 'optionalAccess', _118 => _118.fees]));
1517
+ const { display, struck } = _chunk5XKWXKIEcjs.quoteFeeRow.call(void 0, _optionalChain([quote, 'optionalAccess', _118 => _118.fees]));
1518
1518
  if (display !== null) {
1519
1519
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-review-detail-row", children: [
1520
1520
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: "Fees" }),
@@ -1545,9 +1545,9 @@ function ProcessingStep({
1545
1545
  ] });
1546
1546
  })()
1547
1547
  ] }),
1548
- isFailed && failureMessage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkT7TE2WAHcjs.Callout, { variant: "error", children: failureMessage }),
1548
+ isFailed && failureMessage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5XKWXKIEcjs.Callout, { variant: "error", children: failureMessage }),
1549
1549
  isProcessing && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1550
- _chunkT7TE2WAHcjs.Button,
1550
+ _chunk5XKWXKIEcjs.Button,
1551
1551
  {
1552
1552
  fullWidth: true,
1553
1553
  disabled: true,
@@ -1557,18 +1557,18 @@ function ProcessingStep({
1557
1557
  }
1558
1558
  ),
1559
1559
  isComplete && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-button-row", children: [
1560
- onNewDeposit && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkT7TE2WAHcjs.Button, { variant: "outline", onClick: onNewDeposit, fullWidth: true, children: [
1560
+ onNewDeposit && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk5XKWXKIEcjs.Button, { variant: "outline", onClick: onNewDeposit, fullWidth: true, children: [
1561
1561
  "New ",
1562
1562
  flowNoun
1563
1563
  ] }),
1564
- onClose && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkT7TE2WAHcjs.Button, { onClick: onClose, fullWidth: true, children: "Done" })
1564
+ onClose && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5XKWXKIEcjs.Button, { onClick: onClose, fullWidth: true, children: "Done" })
1565
1565
  ] }),
1566
1566
  isFailed && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-button-row", children: [
1567
- onClose && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkT7TE2WAHcjs.Button, { variant: "outline", onClick: onClose, fullWidth: true, children: "Cancel" }),
1568
- handleRetry && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkT7TE2WAHcjs.Button, { onClick: handleRetry, fullWidth: true, children: "Try again" })
1567
+ onClose && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5XKWXKIEcjs.Button, { variant: "outline", onClick: onClose, fullWidth: true, children: "Cancel" }),
1568
+ handleRetry && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5XKWXKIEcjs.Button, { onClick: handleRetry, fullWidth: true, children: "Try again" })
1569
1569
  ] })
1570
1570
  ] }),
1571
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkT7TE2WAHcjs.PoweredBy, {})
1571
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5XKWXKIEcjs.PoweredBy, {})
1572
1572
  ] });
1573
1573
  }
1574
1574
 
@@ -1659,7 +1659,7 @@ async function runAccountSetup(input, deps) {
1659
1659
  }
1660
1660
  try {
1661
1661
  const salt = deriveAccountSalt(input);
1662
- _chunkT7TE2WAHcjs.debugLog.call(void 0, debug, "account-setup", "setup:start", {
1662
+ _chunk5XKWXKIEcjs.debugLog.call(void 0, debug, "account-setup", "setup:start", {
1663
1663
  salt,
1664
1664
  recipient: input.recipient,
1665
1665
  targetChain: input.targetChain,
@@ -1685,7 +1685,7 @@ async function runAccountSetup(input, deps) {
1685
1685
  cacheKey
1686
1686
  };
1687
1687
  } catch (error) {
1688
- _chunkT7TE2WAHcjs.debugError.call(void 0, debug, "account-setup", "setup:failed", error, {
1688
+ _chunk5XKWXKIEcjs.debugError.call(void 0, debug, "account-setup", "setup:failed", error, {
1689
1689
  recipient: input.recipient
1690
1690
  });
1691
1691
  if (error instanceof SetupError) throw error;
@@ -1696,7 +1696,7 @@ function runAccountSetupDeduped(input, deps, requestKey) {
1696
1696
  const now = Date.now();
1697
1697
  const existing = setupRequestDedupe.get(requestKey);
1698
1698
  if (existing && (!existing.settled || existing.expiresAt > now)) {
1699
- _chunkT7TE2WAHcjs.debugLog.call(void 0, deps.debug, "account-setup", "setup:dedupe-hit", {
1699
+ _chunk5XKWXKIEcjs.debugLog.call(void 0, deps.debug, "account-setup", "setup:dedupe-hit", {
1700
1700
  recipient: input.recipient,
1701
1701
  forceRegister: _nullishCoalesce(input.forceRegister, () => ( false))
1702
1702
  });