@rhinestone/deposit-modal 0.12.1 → 0.12.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-SXAXHYTN.mjs → DepositModalReown-TEC3MEZ4.mjs} +5 -5
  2. package/dist/{DepositModalReown-CH6FUTCR.cjs → DepositModalReown-VG66OTIU.cjs} +13 -13
  3. package/dist/{chunk-O4AXBFHU.mjs → chunk-2TPSF77V.mjs} +3 -3
  4. package/dist/{chunk-65MLWUQD.cjs → chunk-BRYNGLDM.cjs} +24 -24
  5. package/dist/{chunk-TQWEGW3A.mjs → chunk-FLVLYO64.mjs} +2 -2
  6. package/dist/{chunk-2K44IE3V.mjs → chunk-FXXUIK4E.mjs} +1 -1
  7. package/dist/{chunk-TYBMAUGH.cjs → chunk-HL5NUKZW.cjs} +3 -3
  8. package/dist/{chunk-O2TQLD4I.mjs → chunk-IAGFDSNC.mjs} +1 -1
  9. package/dist/{chunk-PVWZN66D.mjs → chunk-J46WDSRD.mjs} +1 -1
  10. package/dist/{chunk-NHGFU3WC.mjs → chunk-JE4R5VA3.mjs} +1 -1
  11. package/dist/{chunk-DMYA7U53.cjs → chunk-L32UI7LA.cjs} +1 -1
  12. package/dist/{chunk-2BOEUV6B.cjs → chunk-OIN4CXCP.cjs} +266 -266
  13. package/dist/{chunk-FKHPVLJY.cjs → chunk-PWLEBV5V.cjs} +66 -66
  14. package/dist/{chunk-KPWB2JAX.mjs → chunk-SDSKIJC7.mjs} +4 -4
  15. package/dist/{chunk-UGK4JRK6.cjs → chunk-TM7VGHAG.cjs} +54 -54
  16. package/dist/{chunk-ZLCY33FQ.cjs → chunk-UQIJU6HV.cjs} +59 -59
  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/styles.css +9 -0
  28. package/dist/withdraw.cjs +5 -5
  29. package/dist/withdraw.mjs +4 -4
  30. package/package.json +1 -1
@@ -1,6 +1,6 @@
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 _chunkTYBMAUGHcjs = require('./chunk-TYBMAUGH.cjs');
3
+ var _chunkHL5NUKZWcjs = require('./chunk-HL5NUKZW.cjs');
4
4
 
5
5
 
6
6
 
@@ -28,10 +28,10 @@ var _chunkTYBMAUGHcjs = require('./chunk-TYBMAUGH.cjs');
28
28
 
29
29
 
30
30
 
31
- var _chunk65MLWUQDcjs = require('./chunk-65MLWUQD.cjs');
31
+ var _chunkBRYNGLDMcjs = require('./chunk-BRYNGLDM.cjs');
32
32
 
33
33
 
34
- var _chunkDMYA7U53cjs = require('./chunk-DMYA7U53.cjs');
34
+ var _chunkL32UI7LAcjs = require('./chunk-L32UI7LA.cjs');
35
35
 
36
36
 
37
37
 
@@ -68,7 +68,7 @@ var Input = _react.forwardRef.call(void 0,
68
68
  }
69
69
  ),
70
70
  error && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "rs-input-error", children: [
71
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk65MLWUQDcjs.AlertTriangleIcon, { className: "rs-input-error-icon" }),
71
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBRYNGLDMcjs.AlertTriangleIcon, { className: "rs-input-error-icon" }),
72
72
  error
73
73
  ] })
74
74
  ] });
@@ -154,7 +154,7 @@ async function submitSignedRecovery(params) {
154
154
  try {
155
155
  signature = await signRecovery({ typedData, signer, depositId, destination });
156
156
  } catch (error) {
157
- _chunk65MLWUQDcjs.debugError.call(void 0, debug, scope, "signRecovery:failed", error);
157
+ _chunkBRYNGLDMcjs.debugError.call(void 0, debug, scope, "signRecovery:failed", error);
158
158
  throw new RecoveryError(
159
159
  "Signature request was declined. Approve it in your wallet to recover this deposit.",
160
160
  0,
@@ -171,7 +171,7 @@ async function submitSignedRecovery(params) {
171
171
  );
172
172
  }
173
173
  const url = `${backendUrl.replace(/\/$/, "")}/deposits/recover`;
174
- _chunk65MLWUQDcjs.debugLog.call(void 0, debug, scope, "submitSignedRecovery:request", {
174
+ _chunkBRYNGLDMcjs.debugLog.call(void 0, debug, scope, "submitSignedRecovery:request", {
175
175
  url,
176
176
  depositId,
177
177
  signer
@@ -183,19 +183,19 @@ async function submitSignedRecovery(params) {
183
183
  // The shared const, so recovery carries `x-deposit-modal-version` like
184
184
  // every other backend call. Without it this path would be invisible in the
185
185
  // per-client version telemetry the processor records.
186
- headers: _chunkDMYA7U53cjs.SERVICE_HEADERS,
186
+ headers: _chunkL32UI7LAcjs.SERVICE_HEADERS,
187
187
  // `depositId` as a string: it is a uint256 upstream and JSON numbers lose
188
188
  // precision well before that range.
189
189
  body: JSON.stringify({ depositId, destination, signature })
190
190
  });
191
191
  } catch (error) {
192
- _chunk65MLWUQDcjs.debugError.call(void 0, debug, scope, "submitSignedRecovery:network", error);
192
+ _chunkBRYNGLDMcjs.debugError.call(void 0, debug, scope, "submitSignedRecovery:network", error);
193
193
  const { message, retryable } = formatRecoveryError(0);
194
194
  throw new RecoveryError(message, 0, void 0, retryable);
195
195
  }
196
196
  if (!response.ok) {
197
197
  const body = await response.json().catch(() => ({}));
198
- _chunk65MLWUQDcjs.debugError.call(void 0, debug, scope, "submitSignedRecovery:failed", body, {
198
+ _chunkBRYNGLDMcjs.debugError.call(void 0, debug, scope, "submitSignedRecovery:failed", body, {
199
199
  status: response.status
200
200
  });
201
201
  const { message, retryable } = formatRecoveryError(
@@ -206,7 +206,7 @@ async function submitSignedRecovery(params) {
206
206
  throw new RecoveryError(message, response.status, body.code, retryable);
207
207
  }
208
208
  const result = await response.json();
209
- _chunk65MLWUQDcjs.debugLog.call(void 0, debug, scope, "submitSignedRecovery:success", {
209
+ _chunkBRYNGLDMcjs.debugLog.call(void 0, debug, scope, "submitSignedRecovery:success", {
210
210
  transactionHash: result.transactionHash
211
211
  });
212
212
  return result;
@@ -228,7 +228,7 @@ function describeDeposit(row) {
228
228
  const symbol = _chunkO7BCVQ6Lcjs.getTokenSymbol.call(void 0, row.token, chainId);
229
229
  const raw = BigInt(_nullishCoalesce(_nullishCoalesce(row.sourceAmount, () => ( row.amount)), () => ( "0")));
230
230
  const human = Number(_viem.formatUnits.call(void 0, raw, decimals));
231
- const amount = _nullishCoalesce(_chunk65MLWUQDcjs.formatTokenAmount.call(void 0, human, symbol), () => ( _viem.formatUnits.call(void 0, raw, decimals)));
231
+ const amount = _nullishCoalesce(_chunkBRYNGLDMcjs.formatTokenAmount.call(void 0, human, symbol), () => ( _viem.formatUnits.call(void 0, raw, decimals)));
232
232
  return {
233
233
  chainId,
234
234
  symbol,
@@ -325,15 +325,15 @@ function ClaimModal({
325
325
  onError,
326
326
  debug
327
327
  }) {
328
- _chunk65MLWUQDcjs.checkBackendUrl.call(void 0, "ClaimModal", backendUrl);
328
+ _chunkBRYNGLDMcjs.checkBackendUrl.call(void 0, "ClaimModal", backendUrl);
329
329
  const modalRef = _react.useRef.call(void 0, null);
330
- const onReadyRef = _chunk65MLWUQDcjs.useLatestRef.call(void 0, onReady);
331
- const onLifecycleRef = _chunk65MLWUQDcjs.useLatestRef.call(void 0, onLifecycle);
332
- const onEventRef = _chunk65MLWUQDcjs.useLatestRef.call(void 0, onEvent);
333
- const onErrorRef = _chunk65MLWUQDcjs.useLatestRef.call(void 0, onError);
334
- const rpcUrls = _chunk65MLWUQDcjs.useStableRpcUrls.call(void 0, rpcUrlsProp);
330
+ const onReadyRef = _chunkBRYNGLDMcjs.useLatestRef.call(void 0, onReady);
331
+ const onLifecycleRef = _chunkBRYNGLDMcjs.useLatestRef.call(void 0, onLifecycle);
332
+ const onEventRef = _chunkBRYNGLDMcjs.useLatestRef.call(void 0, onEvent);
333
+ const onErrorRef = _chunkBRYNGLDMcjs.useLatestRef.call(void 0, onError);
334
+ const rpcUrls = _chunkBRYNGLDMcjs.useStableRpcUrls.call(void 0, rpcUrlsProp);
335
335
  const service = _react.useMemo.call(void 0,
336
- () => _chunk65MLWUQDcjs.createDepositService.call(void 0, backendUrl, { debug, debugScope: "service:claim" }),
336
+ () => _chunkBRYNGLDMcjs.createDepositService.call(void 0, backendUrl, { debug, debugScope: "service:claim" }),
337
337
  [backendUrl, debug]
338
338
  );
339
339
  const [state, dispatch] = _react.useReducer.call(void 0, claimReducer, INITIAL_STATE);
@@ -341,7 +341,7 @@ function ClaimModal({
341
341
  const isOpenRef = _react.useRef.call(void 0, isOpen);
342
342
  isOpenRef.current = isOpen;
343
343
  _react.useEffect.call(void 0, () => {
344
- if (isOpen && modalRef.current) _chunk65MLWUQDcjs.applyTheme.call(void 0, modalRef.current, theme);
344
+ if (isOpen && modalRef.current) _chunkBRYNGLDMcjs.applyTheme.call(void 0, modalRef.current, theme);
345
345
  }, [isOpen, theme]);
346
346
  _react.useEffect.call(void 0, () => {
347
347
  if (isOpen) {
@@ -363,8 +363,8 @@ function ClaimModal({
363
363
  }, [state.step, onClose]);
364
364
  const canGoBack = state.step === "select" || state.step === "review" || state.step === "failed";
365
365
  const showBackButton = _nullishCoalesce(_optionalChain([uiConfig, 'optionalAccess', _7 => _7.showBackButton]), () => ( true));
366
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk65MLWUQDcjs.RpcUrlsProvider, { value: rpcUrls, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk65MLWUQDcjs.ChainCatalogProvider, { service, rpcUrls, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
367
- _chunk65MLWUQDcjs.Modal,
366
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBRYNGLDMcjs.RpcUrlsProvider, { value: rpcUrls, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBRYNGLDMcjs.ChainCatalogProvider, { service, rpcUrls, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
367
+ _chunkBRYNGLDMcjs.Modal,
368
368
  {
369
369
  isOpen,
370
370
  onClose: handleClose,
@@ -380,7 +380,7 @@ function ClaimModal({
380
380
  className: "rs-modal-header-back",
381
381
  "aria-label": "Go back",
382
382
  onClick: () => dispatch({ type: "back" }),
383
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk65MLWUQDcjs.ChevronLeftIcon, {})
383
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBRYNGLDMcjs.ChevronLeftIcon, {})
384
384
  }
385
385
  ) }),
386
386
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-modal-header-nav-right", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -391,7 +391,7 @@ function ClaimModal({
391
391
  disabled: state.step === "processing",
392
392
  className: "rs-modal-close",
393
393
  "aria-label": "Close",
394
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk65MLWUQDcjs.CloseIcon, {})
394
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBRYNGLDMcjs.CloseIcon, {})
395
395
  }
396
396
  ) })
397
397
  ] }),
@@ -529,7 +529,7 @@ function ClaimBody({
529
529
  const refundedRaw = BigInt(
530
530
  _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(result.amount, () => ( deposit.sourceAmount)), () => ( deposit.amount)), () => ( "0"))
531
531
  );
532
- const amountDisplay = _nullishCoalesce(_chunk65MLWUQDcjs.formatTokenAmount.call(void 0, Number(_viem.formatUnits.call(void 0, refundedRaw, decimals)), symbol), () => ( _viem.formatUnits.call(void 0, refundedRaw, decimals)));
532
+ const amountDisplay = _nullishCoalesce(_chunkBRYNGLDMcjs.formatTokenAmount.call(void 0, Number(_viem.formatUnits.call(void 0, refundedRaw, decimals)), symbol), () => ( _viem.formatUnits.call(void 0, refundedRaw, decimals)));
533
533
  dispatch({
534
534
  type: "complete",
535
535
  txHash: result.transactionHash,
@@ -556,7 +556,7 @@ function ClaimBody({
556
556
  if (!isCurrentOperation()) return;
557
557
  const recoveryError = err instanceof RecoveryError ? err : void 0;
558
558
  const status = _optionalChain([recoveryError, 'optionalAccess', _16 => _16.status]);
559
- const message = _nullishCoalesce(_optionalChain([recoveryError, 'optionalAccess', _17 => _17.message]), () => ( _chunk65MLWUQDcjs.formatUserError.call(void 0,
559
+ const message = _nullishCoalesce(_optionalChain([recoveryError, 'optionalAccess', _17 => _17.message]), () => ( _chunkBRYNGLDMcjs.formatUserError.call(void 0,
560
560
  err instanceof Error ? err.message : "Recovery failed"
561
561
  )));
562
562
  dispatch({
@@ -621,7 +621,7 @@ function LookupStep({
621
621
  onResults(deposits);
622
622
  } catch (err) {
623
623
  if (!isCurrentOperation()) return;
624
- const message = _chunk65MLWUQDcjs.formatUserError.call(void 0,
624
+ const message = _chunkBRYNGLDMcjs.formatUserError.call(void 0,
625
625
  err instanceof Error ? err.message : "Lookup failed"
626
626
  );
627
627
  setError(message);
@@ -642,9 +642,9 @@ function LookupStep({
642
642
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen", children: [
643
643
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body rs-screen-body--gap-32", children: [
644
644
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
645
- _chunk65MLWUQDcjs.BodyHeader,
645
+ _chunkBRYNGLDMcjs.BodyHeader,
646
646
  {
647
- icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk65MLWUQDcjs.HandCoinsIcon, {}),
647
+ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBRYNGLDMcjs.HandCoinsIcon, {}),
648
648
  title: "Claim a deposit",
649
649
  subtitle: "Get funds from a failed deposit sent back to you on the source chain."
650
650
  }
@@ -659,9 +659,9 @@ function LookupStep({
659
659
  error: trimmed.length > 0 && !validTxHash ? "Enter a valid transaction hash" : void 0
660
660
  }
661
661
  ),
662
- error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk65MLWUQDcjs.Callout, { variant: "error", children: error }),
662
+ error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBRYNGLDMcjs.Callout, { variant: "error", children: error }),
663
663
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
664
- _chunk65MLWUQDcjs.Button,
664
+ _chunkBRYNGLDMcjs.Button,
665
665
  {
666
666
  onClick: handleLookup,
667
667
  loading,
@@ -672,7 +672,7 @@ function LookupStep({
672
672
  }
673
673
  )
674
674
  ] }),
675
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk65MLWUQDcjs.PoweredBy, {})
675
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBRYNGLDMcjs.PoweredBy, {})
676
676
  ] });
677
677
  }
678
678
  function SelectStep({
@@ -682,9 +682,9 @@ function SelectStep({
682
682
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen", children: [
683
683
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body rs-screen-body--gap-32", children: [
684
684
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
685
- _chunk65MLWUQDcjs.BodyHeader,
685
+ _chunkBRYNGLDMcjs.BodyHeader,
686
686
  {
687
- icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk65MLWUQDcjs.CoinsIcon, {}),
687
+ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBRYNGLDMcjs.CoinsIcon, {}),
688
688
  title: "Select a deposit",
689
689
  subtitle: "This transaction produced multiple deposits. Choose the one to claim."
690
690
  }
@@ -693,7 +693,7 @@ function SelectStep({
693
693
  const { symbol, amount, chainName } = describeDeposit(row);
694
694
  const eligible = isEligible(row);
695
695
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
696
- _chunkTYBMAUGHcjs.ListRow,
696
+ _chunkHL5NUKZWcjs.ListRow,
697
697
  {
698
698
  leadingMedia: _chunkO7BCVQ6Lcjs.tokenIconUrl.call(void 0, symbol),
699
699
  title: `${amount} ${symbol}`,
@@ -706,7 +706,7 @@ function SelectStep({
706
706
  );
707
707
  }) })
708
708
  ] }),
709
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk65MLWUQDcjs.PoweredBy, {})
709
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBRYNGLDMcjs.PoweredBy, {})
710
710
  ] });
711
711
  }
712
712
  function ReviewStep({
@@ -716,15 +716,15 @@ function ReviewStep({
716
716
  onSubmit
717
717
  }) {
718
718
  const { chainId, symbol, amount, chainName, chainIcon } = describeDeposit(deposit);
719
- const explorerTxUrl = _chunk65MLWUQDcjs.useExplorerTxUrl.call(void 0, );
719
+ const explorerTxUrl = _chunkBRYNGLDMcjs.useExplorerTxUrl.call(void 0, );
720
720
  const [destination, setDestination] = _react.useState.call(void 0, _nullishCoalesce(defaultRefundDestination, () => ( "")));
721
721
  const destinationValid = _viem.isAddress.call(void 0, destination);
722
722
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen", children: [
723
723
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body rs-screen-body--gap-32", children: [
724
724
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
725
- _chunk65MLWUQDcjs.BodyHeader,
725
+ _chunkBRYNGLDMcjs.BodyHeader,
726
726
  {
727
- icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk65MLWUQDcjs.HandCoinsIcon, {}),
727
+ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBRYNGLDMcjs.HandCoinsIcon, {}),
728
728
  title: "Review refund",
729
729
  subtitle: "This returns the funds on the source chain. It does not retry the original bridge."
730
730
  }
@@ -738,14 +738,14 @@ function ReviewStep({
738
738
  " ",
739
739
  symbol
740
740
  ] }),
741
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk65MLWUQDcjs.TokenIcon, { symbol }) })
741
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBRYNGLDMcjs.TokenIcon, { symbol }) })
742
742
  ] })
743
743
  ] }),
744
744
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-review-detail-row", children: [
745
745
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: "Source chain" }),
746
746
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "rs-review-detail-value", children: [
747
747
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: chainName }),
748
- chainIcon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk65MLWUQDcjs.CdnIcon, { src: chainIcon }) })
748
+ chainIcon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBRYNGLDMcjs.CdnIcon, { src: chainIcon }) })
749
749
  ] })
750
750
  ] }),
751
751
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-review-detail-row", children: [
@@ -762,7 +762,7 @@ function ReviewStep({
762
762
  rel: "noreferrer",
763
763
  children: [
764
764
  short,
765
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk65MLWUQDcjs.ExternalLinkIcon, {})
765
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBRYNGLDMcjs.ExternalLinkIcon, {})
766
766
  ]
767
767
  }
768
768
  ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-value", children: short });
@@ -780,7 +780,7 @@ function ReviewStep({
780
780
  }
781
781
  ),
782
782
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
783
- _chunk65MLWUQDcjs.Button,
783
+ _chunkBRYNGLDMcjs.Button,
784
784
  {
785
785
  onClick: () => destinationValid && onSubmit(destination),
786
786
  loading: submitting,
@@ -791,7 +791,7 @@ function ReviewStep({
791
791
  }
792
792
  )
793
793
  ] }),
794
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk65MLWUQDcjs.PoweredBy, {})
794
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBRYNGLDMcjs.PoweredBy, {})
795
795
  ] });
796
796
  }
797
797
  function ResultStep({
@@ -802,13 +802,13 @@ function ResultStep({
802
802
  onRetry
803
803
  }) {
804
804
  const success = !!result;
805
- const explorerTxUrl = _chunk65MLWUQDcjs.useExplorerTxUrl.call(void 0, );
805
+ const explorerTxUrl = _chunkBRYNGLDMcjs.useExplorerTxUrl.call(void 0, );
806
806
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen", children: [
807
807
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body rs-screen-body--gap-32", children: [
808
808
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
809
- _chunk65MLWUQDcjs.BodyHeader,
809
+ _chunkBRYNGLDMcjs.BodyHeader,
810
810
  {
811
- icon: success ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk65MLWUQDcjs.CheckIcon, {}) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk65MLWUQDcjs.AlertTriangleIcon, {}),
811
+ icon: success ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBRYNGLDMcjs.CheckIcon, {}) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBRYNGLDMcjs.AlertTriangleIcon, {}),
812
812
  variant: success ? "success" : "error",
813
813
  title: success ? "Refund submitted" : "Refund failed",
814
814
  subtitle: success ? "Your funds are being returned on the source chain." : void 0
@@ -823,7 +823,7 @@ function ResultStep({
823
823
  " ",
824
824
  result.symbol
825
825
  ] }),
826
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk65MLWUQDcjs.TokenIcon, { symbol: result.symbol }) })
826
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBRYNGLDMcjs.TokenIcon, { symbol: result.symbol }) })
827
827
  ] })
828
828
  ] }),
829
829
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-review-detail-row", children: [
@@ -844,22 +844,22 @@ function ResultStep({
844
844
  rel: "noreferrer",
845
845
  children: [
846
846
  short,
847
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk65MLWUQDcjs.ExternalLinkIcon, {})
847
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBRYNGLDMcjs.ExternalLinkIcon, {})
848
848
  ]
849
849
  }
850
850
  ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-value", children: short });
851
851
  })()
852
852
  ] })
853
- ] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk65MLWUQDcjs.Callout, { variant: "error", children: error }),
853
+ ] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBRYNGLDMcjs.Callout, { variant: "error", children: error }),
854
854
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-screen-button-row", children: success ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
855
- onReset && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk65MLWUQDcjs.Button, { variant: "outline", onClick: onReset, fullWidth: true, children: "Claim another deposit" }),
856
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk65MLWUQDcjs.Button, { onClick: onClose, fullWidth: true, children: "Done" })
855
+ onReset && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBRYNGLDMcjs.Button, { variant: "outline", onClick: onReset, fullWidth: true, children: "Claim another deposit" }),
856
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBRYNGLDMcjs.Button, { onClick: onClose, fullWidth: true, children: "Done" })
857
857
  ] }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
858
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk65MLWUQDcjs.Button, { variant: "outline", onClick: onClose, fullWidth: true, children: "Cancel" }),
859
- onRetry && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk65MLWUQDcjs.Button, { onClick: onRetry, fullWidth: true, children: "Try again" })
858
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBRYNGLDMcjs.Button, { variant: "outline", onClick: onClose, fullWidth: true, children: "Cancel" }),
859
+ onRetry && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBRYNGLDMcjs.Button, { onClick: onRetry, fullWidth: true, children: "Try again" })
860
860
  ] }) })
861
861
  ] }),
862
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk65MLWUQDcjs.PoweredBy, {})
862
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBRYNGLDMcjs.PoweredBy, {})
863
863
  ] });
864
864
  }
865
865