@funkit/connect 7.1.1 → 8.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -417,7 +417,7 @@ function Avatar({ address, imageUrl, loading, size }) {
417
417
  }
418
418
 
419
419
  // src/components/ConnectButton/ConnectButton.tsx
420
- import React241, { useEffect as useEffect59, useState as useState76 } from "react";
420
+ import React242, { useEffect as useEffect59, useState as useState76 } from "react";
421
421
 
422
422
  // src/css/touchableStyles.css.ts
423
423
  var active = { shrink: "_7rkubb8", shrinkSm: "_7rkubb9" };
@@ -780,7 +780,7 @@ var getRemoteImageStyles = (isRemoteImage, isRemoteImageLoaded, src) => {
780
780
 
781
781
  // src/components/ConnectButton/ConnectButtonRenderer.tsx
782
782
  import { formatCurrencyAndStringify as formatCurrencyAndStringify15, isMobile as isMobile14, noop as noop10 } from "@funkit/utils";
783
- import React240 from "react";
783
+ import React241 from "react";
784
784
  import { useAccount as useAccount12, useBalance, useConfig as useConfig8 } from "wagmi";
785
785
 
786
786
  // src/hooks/useIsMounted.ts
@@ -1066,7 +1066,7 @@ import {
1066
1066
  } from "@funkit/api-base";
1067
1067
  import { FUNKIT_CONNECT_SUPPORTED_CHAINS_INFO as FUNKIT_CONNECT_SUPPORTED_CHAINS_INFO12 } from "@funkit/chains";
1068
1068
  import { FlagKey as FlagKey21, isNotNullish as isNotNullish9 } from "@funkit/utils";
1069
- import React239, {
1069
+ import React240, {
1070
1070
  createContext as createContext19,
1071
1071
  useCallback as useCallback50,
1072
1072
  useContext as useContext19,
@@ -1413,7 +1413,10 @@ function generateClientMetadataForTokenTransfer() {
1413
1413
  }
1414
1414
 
1415
1415
  // src/hooks/track/useTrack.ts
1416
- import { flatten, isMobile } from "@funkit/utils";
1416
+ import {
1417
+ isMobile,
1418
+ jsonStringifyWithBigIntSanitization
1419
+ } from "@funkit/utils";
1417
1420
  import {
1418
1421
  useStatsigClient,
1419
1422
  useStatsigUser
@@ -1427,7 +1430,7 @@ function setFunkitConnectVersion({ version }) {
1427
1430
  localStorage.setItem(storageKey, version);
1428
1431
  }
1429
1432
  function getCurrentSdkVersion() {
1430
- return "7.1.1";
1433
+ return "8.0.0";
1431
1434
  }
1432
1435
  function useFingerprint() {
1433
1436
  const fingerprint = useCallback3(() => {
@@ -1641,20 +1644,60 @@ datadogLogs.init({
1641
1644
  var logger = new FunLogger();
1642
1645
 
1643
1646
  // src/hooks/track/useTrack.ts
1644
- var stringifyValues = (metadata) => {
1645
- const normalizedMetadata = {};
1646
- for (const [key, value] of Object.entries(metadata)) {
1647
- if (value === void 0 || value === null) {
1648
- continue;
1647
+ var MAX_FLATTEN_DEPTH = 10;
1648
+ function flattenAndStringifyForStatsigEvent(eventName, metadata) {
1649
+ const result = {};
1650
+ const seen = /* @__PURE__ */ new Set();
1651
+ function isNonArrayObject(value) {
1652
+ return typeof value === "object" && value !== null && !Array.isArray(value);
1653
+ }
1654
+ function _flatten(current, path, depth) {
1655
+ if (seen.has(current)) {
1656
+ logger.warn("useTrack:flatten:circular-reference", {
1657
+ eventName,
1658
+ metadata,
1659
+ path
1660
+ });
1661
+ return;
1649
1662
  }
1650
- if (typeof value === "number" || typeof value === "string") {
1651
- normalizedMetadata[key] = value.toString();
1652
- } else {
1653
- normalizedMetadata[key] = JSON.stringify(value);
1663
+ if (depth >= MAX_FLATTEN_DEPTH) {
1664
+ logger.warn("useTrack:flatten:max-depth-exceeded", {
1665
+ eventName,
1666
+ metadata,
1667
+ path
1668
+ });
1669
+ return;
1670
+ }
1671
+ seen.add(current);
1672
+ for (const [key, value] of Object.entries(current)) {
1673
+ if (value === void 0 || typeof value === "function") {
1674
+ continue;
1675
+ }
1676
+ const childPath = path ? `${path}.${key}` : key;
1677
+ if (typeof value === "number" || typeof value === "string") {
1678
+ result[childPath] = value.toString();
1679
+ } else if (isNonArrayObject(value)) {
1680
+ _flatten(value, childPath, depth + 1);
1681
+ } else {
1682
+ try {
1683
+ result[childPath] = jsonStringifyWithBigIntSanitization(
1684
+ value
1685
+ );
1686
+ } catch (error) {
1687
+ logger.warn("useTrack:flatten:json-stringify-error", {
1688
+ eventName,
1689
+ error,
1690
+ metadata,
1691
+ path: childPath
1692
+ });
1693
+ }
1694
+ }
1654
1695
  }
1696
+ seen.delete(current);
1655
1697
  }
1656
- return normalizedMetadata;
1657
- };
1698
+ _flatten(metadata, "", 0);
1699
+ return result;
1700
+ }
1658
1701
  var eventCounts = {};
1659
1702
  var eventStartTimes = {};
1660
1703
  var useTrack = () => {
@@ -1673,9 +1716,10 @@ var useTrack = () => {
1673
1716
  } = eventNameOrTrackEventData;
1674
1717
  eventCounts[eventName] ??= 0;
1675
1718
  eventCounts[eventName] += 1;
1676
- const metadata = stringifyValues(
1677
- flatten({ instance: eventCounts[eventName], ...rawMetadata })
1678
- );
1719
+ const metadata = flattenAndStringifyForStatsigEvent(eventName, {
1720
+ instance: eventCounts[eventName],
1721
+ ...rawMetadata
1722
+ });
1679
1723
  logStatsigEvent(eventName, value, metadata);
1680
1724
  }
1681
1725
  } catch (error) {
@@ -2396,6 +2440,14 @@ var default_configs_default = {
2396
2440
  token_transfer: 60
2397
2441
  }
2398
2442
  },
2443
+ checkouttopannouncementbanner: {
2444
+ value: {
2445
+ title: "",
2446
+ subtitle: "",
2447
+ iconSrc: "https://sdk-cdn.fun.xyz/images/announcement-icon-rounded.svg",
2448
+ chainIdList: []
2449
+ }
2450
+ },
2399
2451
  dynamicrouting: {
2400
2452
  value: [
2401
2453
  {
@@ -2652,6 +2704,9 @@ var default_configs_default = {
2652
2704
  enabletokentransfer: {
2653
2705
  value: true
2654
2706
  },
2707
+ enabletokentransferuniversaldepositaddress: {
2708
+ value: true
2709
+ },
2655
2710
  ismexico: {
2656
2711
  value: {
2657
2712
  mexico: false
@@ -2825,7 +2880,7 @@ import {
2825
2880
  SUSHI_API_KEY,
2826
2881
  VENTUALS_API_KEY
2827
2882
  } from "@funkit/api-base";
2828
- import { MONAD_CHAIN_ID } from "@funkit/chains";
2883
+ import { MONAD_CHAIN_ID, TRON_MAINNET_CHAIN_ID } from "@funkit/chains";
2829
2884
  import { FlagKey } from "@funkit/utils";
2830
2885
  import { arbitrum, base as base3, mainnet as mainnet5, polygon } from "viem/chains";
2831
2886
  var FUN_INTERNAL_USERS = [
@@ -2935,6 +2990,10 @@ var QR_CODE_WITH_MONAD = {
2935
2990
  ...QR_CODE_WITH_BITCOIN,
2936
2991
  [MONAD_CHAIN_ID]: ["MON", "USDC"]
2937
2992
  };
2993
+ var QR_CODE_WITH_TRON = {
2994
+ ...QR_CODE_WITH_MONAD,
2995
+ [TRON_MAINNET_CHAIN_ID]: ["USDT"]
2996
+ };
2938
2997
  var WITHDRAWAL_CHAINS_AND_ASSETS = {
2939
2998
  ...COMMON_SUPPORT_CHAINS_AND_ASSETS,
2940
2999
  // solana
@@ -3014,7 +3073,7 @@ var flagConfig = {
3014
3073
  {
3015
3074
  key: "apiKey",
3016
3075
  type: "isAnyOf",
3017
- values: [HYPERDASH_API_KEY2]
3076
+ values: [HYPERDASH_API_KEY2, BULLPEN_API_KEY]
3018
3077
  }
3019
3078
  ],
3020
3079
  value: true
@@ -3031,7 +3090,7 @@ var flagConfig = {
3031
3090
  {
3032
3091
  key: "apiKey",
3033
3092
  type: "isAnyOf",
3034
- values: [HYPERDASH_API_KEY2]
3093
+ values: [HYPERDASH_API_KEY2, BULLPEN_API_KEY]
3035
3094
  }
3036
3095
  ],
3037
3096
  value: true
@@ -3043,6 +3102,16 @@ var flagConfig = {
3043
3102
  type: "string",
3044
3103
  default_value: JSON.stringify(QR_CODE_WITH_SOLANA),
3045
3104
  overrides: [
3105
+ {
3106
+ if_any: [
3107
+ {
3108
+ key: "userId",
3109
+ type: "isAnyOf",
3110
+ values: FUN_INTERNAL_USERS
3111
+ }
3112
+ ],
3113
+ value: JSON.stringify(QR_CODE_WITH_TRON)
3114
+ },
3046
3115
  {
3047
3116
  if_any: [
3048
3117
  {
@@ -3249,6 +3318,7 @@ var flagConfig = {
3249
3318
  // No HyperCore
3250
3319
  // No Solana
3251
3320
  // No Lighter
3321
+ // No Tron
3252
3322
  })
3253
3323
  },
3254
3324
  [FlagKey.RelayBypassTargetChainsAndAssets]: {
@@ -3300,6 +3370,16 @@ var flagConfig = {
3300
3370
  ],
3301
3371
  value: true
3302
3372
  },
3373
+ {
3374
+ if_any: [
3375
+ {
3376
+ key: "apiKey",
3377
+ type: "isAnyOf",
3378
+ values: [HYPERDASH_API_KEY2, BULLPEN_API_KEY]
3379
+ }
3380
+ ],
3381
+ value: true
3382
+ },
3303
3383
  disableFlagForCountries(US_COUNTRY_CODES),
3304
3384
  {
3305
3385
  if_any: [
@@ -3344,7 +3424,7 @@ var flagConfig = {
3344
3424
  {
3345
3425
  key: "apiKey",
3346
3426
  type: "isAnyOf",
3347
- values: [HYPERDASH_API_KEY2]
3427
+ values: [HYPERDASH_API_KEY2, BULLPEN_API_KEY]
3348
3428
  }
3349
3429
  ],
3350
3430
  value: true
@@ -4531,7 +4611,7 @@ function useDirectExecutionInfoPolling({
4531
4611
  return RELAY_FETCH_INTERVAL;
4532
4612
  },
4533
4613
  initialData: initDirectExecution,
4534
- enabled: !disabled && !!initDirectExecution?.txHash
4614
+ enabled: !disabled && !!initDirectExecution?.txHash && initDirectExecution.txHash !== "0x"
4535
4615
  });
4536
4616
  return {
4537
4617
  directExecution,
@@ -4827,7 +4907,7 @@ function useCheckoutsListenerByUserId(userId) {
4827
4907
  function useCheckoutListenerByCheckoutId(checkoutId) {
4828
4908
  const { apiKey } = useFunkitConfig();
4829
4909
  const { data, isLoading } = useQuery6({
4830
- enabled: !!checkoutId,
4910
+ enabled: !!checkoutId && checkoutId !== "0x",
4831
4911
  queryKey: ["getPurifiedCheckoutById", checkoutId],
4832
4912
  queryFn: async () => {
4833
4913
  if (!checkoutId) {
@@ -4919,7 +4999,7 @@ var useFunkitPostCheckoutInternal = (checkoutId) => {
4919
4999
  };
4920
5000
 
4921
5001
  // src/providers/ModalContext.tsx
4922
- import React238, {
5002
+ import React239, {
4923
5003
  createContext as createContext18,
4924
5004
  useCallback as useCallback49,
4925
5005
  useContext as useContext18,
@@ -6511,101 +6591,11 @@ function useCustomStatusAnimationAboveTopbar({
6511
6591
  }
6512
6592
 
6513
6593
  // src/consts/assets.ts
6514
- var ASSET_LOGO_SRCS = {
6515
- $MFER: "https://sdk-cdn.fun.xyz/images/mfer.png",
6516
- AARBUSDCN: "https://sdk-cdn.fun.xyz/images/aarbusdcn.png",
6517
- AAVE: "https://sdk-cdn.fun.xyz/images/aave.svg",
6518
- AERO: "https://sdk-cdn.fun.xyz/images/aero.svg",
6519
- APE: "https://sdk-cdn.fun.xyz/images/ape.svg",
6520
- APOLWMATIC: "https://sdk-cdn.fun.xyz/images/apolwmatic.png",
6521
- ARB: "https://sdk-cdn.fun.xyz/images/arb.svg",
6522
- BEHYPE: "https://sdk-cdn.fun.xyz/images/behype.svg",
6523
- BENTO: "https://sdk-cdn.fun.xyz/images/bento.png",
6524
- BLERF: "https://sdk-cdn.fun.xyz/images/blerf.png",
6525
- BRETT: "https://sdk-cdn.fun.xyz/images/brett.svg",
6526
- BSHIB: "https://sdk-cdn.fun.xyz/images/bshib.png",
6527
- BTC: "https://sdk-cdn.fun.xyz/images/btc.svg",
6528
- CBBTC: "https://sdk-cdn.fun.xyz/images/cbbtc.svg",
6529
- CBETH: "https://sdk-cdn.fun.xyz/images/cbeth.png",
6530
- CRO: "https://sdk-cdn.fun.xyz/images/cro.svg",
6531
- CRV: "https://sdk-cdn.fun.xyz/images/crv.svg",
6532
- DAI: "https://sdk-cdn.fun.xyz/images/dai.svg",
6533
- DEGEN: "https://sdk-cdn.fun.xyz/images/degen.svg",
6534
- ETH: "https://sdk-cdn.fun.xyz/images/eth.svg",
6535
- GMX: "https://sdk-cdn.fun.xyz/images/gmx.svg",
6536
- GRT: "https://sdk-cdn.fun.xyz/images/grt.svg",
6537
- HYPE: "https://sdk-cdn.fun.xyz/images/hype.svg",
6538
- IMX: "https://sdk-cdn.fun.xyz/images/imx.svg",
6539
- INJ: "https://sdk-cdn.fun.xyz/images/inj.svg",
6540
- LDO: "https://sdk-cdn.fun.xyz/images/ldo.svg",
6541
- LINK: "https://sdk-cdn.fun.xyz/images/link.png",
6542
- LUCK: "https://sdk-cdn.fun.xyz/images/luck.png",
6543
- MATIC: "https://sdk-cdn.fun.xyz/images/matic.svg",
6544
- MFER: "https://sdk-cdn.fun.xyz/images/mfer.png",
6545
- MKR: "https://sdk-cdn.fun.xyz/images/mkr.svg",
6546
- MNT: "https://sdk-cdn.fun.xyz/images/mnt.svg",
6547
- PENDLE: "https://sdk-cdn.fun.xyz/images/pendle.svg",
6548
- POL: "https://sdk-cdn.fun.xyz/images/matic.svg",
6549
- PYUSD: "https://sdk-cdn.fun.xyz/images/pyusd.svg",
6550
- QNT: "https://sdk-cdn.fun.xyz/images/qnt.svg",
6551
- RNDR: "https://sdk-cdn.fun.xyz/images/rndr.svg",
6552
- ROOST: "https://sdk-cdn.fun.xyz/images/roost.png",
6553
- SAND: "https://sdk-cdn.fun.xyz/images/sand.svg",
6554
- SHIB: "https://sdk-cdn.fun.xyz/images/shib.svg",
6555
- SNX: "https://sdk-cdn.fun.xyz/images/snx.svg",
6556
- SOL: "https://sdk-cdn.fun.xyz/images/sol.svg",
6557
- SUSDS: "https://sdk-cdn.fun.xyz/images/susds.svg",
6558
- TYBG: "https://sdk-cdn.fun.xyz/images/tybg.png",
6559
- UNI: "https://sdk-cdn.fun.xyz/images/uni.png",
6560
- USDC: "https://sdk-cdn.fun.xyz/images/usdc.svg",
6561
- "USDC.E": "https://sdk-cdn.fun.xyz/images/usdc.svg",
6562
- USDE: "https://sdk-cdn.fun.xyz/images/usde.svg",
6563
- WUSDE: "https://sdk-cdn.fun.xyz/images/usde.svg",
6564
- EUSDE: "https://sdk-cdn.fun.xyz/images/eusde.svg",
6565
- USDT: "https://sdk-cdn.fun.xyz/images/usdt.svg",
6566
- "USD\u20AE0": "https://sdk-cdn.fun.xyz/images/usdt0.svg",
6567
- USDT0: "https://sdk-cdn.fun.xyz/images/usdt0.svg",
6568
- USDS: "https://sdk-cdn.fun.xyz/images/usds.svg",
6569
- USDH: "https://sdk-cdn.fun.xyz/images/usdh.svg",
6570
- VRTX: "https://sdk-cdn.fun.xyz/images/vrtx.svg",
6571
- WBTC: "https://sdk-cdn.fun.xyz/images/wbtc.svg",
6572
- WEETH: "https://sdk-cdn.fun.xyz/images/weeth.png",
6573
- WETH: "https://sdk-cdn.fun.xyz/images/weth.svg",
6574
- WHYPE: "https://sdk-cdn.fun.xyz/images/whype.png",
6575
- WSTETH: "https://sdk-cdn.fun.xyz/images/wsteth.png",
6576
- TRUMP: "https://sdk-cdn.fun.xyz/images/trump.png",
6577
- BNB: "https://sdk-cdn.fun.xyz/images/bsc.svg",
6578
- WBNB: "https://sdk-cdn.fun.xyz/images/bsc.svg",
6579
- BTCB: "https://sdk-cdn.fun.xyz/images/btc.svg",
6580
- UBTC: "https://sdk-cdn.fun.xyz/images/btc.svg",
6581
- BUSD: "https://sdk-cdn.fun.xyz/images/busd.svg",
6582
- XAUT: "https://sdk-cdn.fun.xyz/images/xaut.png",
6583
- ADA: "https://sdk-cdn.fun.xyz/images/ada.svg",
6584
- XRP: "https://sdk-cdn.fun.xyz/images/xrp.svg",
6585
- UDOGE: "https://sdk-cdn.fun.xyz/images/doge.svg",
6586
- DOGE: "https://sdk-cdn.fun.xyz/images/doge.svg",
6587
- LTC: "https://sdk-cdn.fun.xyz/images/ltc.svg",
6588
- HNT: "https://sdk-cdn.fun.xyz/images/hnt.svg",
6589
- COMP: "https://sdk-cdn.fun.xyz/images/comp.svg",
6590
- PEPE: "https://sdk-cdn.fun.xyz/images/pepe.svg",
6591
- LSTHYPE: "https://sdk-cdn.fun.xyz/images/lsthype.svg",
6592
- HBUSDT: "https://sdk-cdn.fun.xyz/images/hbusdt.svg",
6593
- WVLP: "https://sdk-cdn.fun.xyz/images/wvlp.svg",
6594
- LIQUIDHYPE: "https://sdk-cdn.fun.xyz/images/liquidhype.svg",
6595
- VHYPE: "https://sdk-cdn.fun.xyz/images/vhype.png",
6596
- HBHYPE: "https://sdk-cdn.fun.xyz/images/hbhype.svg",
6597
- MON: "https://sdk-cdn.fun.xyz/images/monad.svg",
6598
- WMON: "https://sdk-cdn.fun.xyz/images/wmon.svg",
6599
- AUSD: "https://sdk-cdn.fun.xyz/images/ausd.svg",
6600
- SUSHI: "https://sdk-cdn.fun.xyz/images/sushi.svg",
6601
- OP: "https://sdk-cdn.fun.xyz/images/optimism.svg",
6602
- SKY: "https://sdk-cdn.fun.xyz/images/sky.svg",
6603
- LIT: "https://sdk-cdn.fun.xyz/images/lit.svg"
6604
- };
6605
- var FALLBACK_ASSET = "https://sdk-cdn.fun.xyz/images/dollar_circle.png";
6606
- function getAssetLogoSrc(symbol) {
6607
- return ASSET_LOGO_SRCS[symbol.toUpperCase()] || FALLBACK_ASSET;
6608
- }
6594
+ import {
6595
+ ASSET_LOGO_SRCS,
6596
+ FALLBACK_ASSET,
6597
+ getAssetLogoSrc
6598
+ } from "@funkit/fun-relay";
6609
6599
 
6610
6600
  // src/providers/FunkitCheckoutContext/track.ts
6611
6601
  var trackEventFromActiveItem = (activeItem, eventName) => {
@@ -7476,11 +7466,12 @@ import {
7476
7466
  bitcoinChain,
7477
7467
  hyperEvmChain,
7478
7468
  monadChain,
7479
- solanaChain
7469
+ solanaChain,
7470
+ tronChain
7480
7471
  } from "@funkit/chains";
7481
7472
  import { FlagKey as FlagKey6 } from "@funkit/utils";
7482
7473
  import { useMemo as useMemo15 } from "react";
7483
- import { arbitrum as arbitrum2, mainnet as mainnet6, polygon as polygon2 } from "viem/chains";
7474
+ import { arbitrum as arbitrum2, mainnet as mainnet6, polygon as polygon2, tron } from "viem/chains";
7484
7475
 
7485
7476
  // src/utils/transfer.ts
7486
7477
  var getTransferTokenQrCodeUri = (props) => {
@@ -7494,6 +7485,9 @@ var getTransferTokenQrCodeUri = (props) => {
7494
7485
  if (type === "bitcoin") {
7495
7486
  return `bitcoin:${depositAddress}`;
7496
7487
  }
7488
+ if (type === "tron") {
7489
+ return depositAddress;
7490
+ }
7497
7491
  throw new Error(`Invalid transfer token qr code type: ${type}`);
7498
7492
  };
7499
7493
 
@@ -7536,7 +7530,7 @@ var useTokenTransfer = (selectedChainId, selectedToken, chainIds) => {
7536
7530
  const isUsdceOnPolygon = isPolygon && selectedToken === "USDC.e";
7537
7531
  const isUsdcOnPolygon = isPolygon && selectedToken === "USDC";
7538
7532
  const showOriginalRecipient = isBankrUsUser || !enableUniversal && (isUsdceOnPolygon || isUsdcOnPolygon);
7539
- const funDepositAddress = selectedChainId === solanaChain.id ? transferInit?.solanaAddr : selectedChainId === bitcoinChain.id ? transferInit?.btcAddrSegwit : transferInit?.depositAddr;
7533
+ const funDepositAddress = selectedChainId === solanaChain.id ? transferInit?.solanaAddr : selectedChainId === bitcoinChain.id ? transferInit?.btcAddrSegwit : selectedChainId === tronChain.id ? transferInit?.tronAddr : transferInit?.depositAddr;
7540
7534
  const blockchainType = (() => {
7541
7535
  if (selectedChainId === solanaChain.id) {
7542
7536
  return "solana";
@@ -7544,6 +7538,9 @@ var useTokenTransfer = (selectedChainId, selectedToken, chainIds) => {
7544
7538
  if (selectedChainId === bitcoinChain.id) {
7545
7539
  return "bitcoin";
7546
7540
  }
7541
+ if (selectedChainId === tronChain.id) {
7542
+ return "tron";
7543
+ }
7547
7544
  return "ethereum";
7548
7545
  })();
7549
7546
  const depositAddressTooltip = showOriginalRecipient ? t("transferToken.depositAddressOriginalRecipient") : t("transferToken.depositAddressUniversal", {
@@ -7580,7 +7577,7 @@ var useMinTransferLimits = () => {
7580
7577
  return limits ?? { mainnet: 0, nonMainnet: 0 };
7581
7578
  };
7582
7579
  function getMinTransferValueForChain(chainId, limits) {
7583
- const MAINNET_IDS = [mainnet6.id, bitcoinChain.id];
7580
+ const MAINNET_IDS = [mainnet6.id, bitcoinChain.id, tron.id];
7584
7581
  return MAINNET_IDS.includes(chainId) ? limits.mainnet : limits.nonMainnet;
7585
7582
  }
7586
7583
  var useMinTransferValue = (selectedChainId) => {
@@ -12370,6 +12367,7 @@ var useBluvoCheckoutQuote = () => {
12370
12367
  const { checkoutItem } = useCheckoutContext();
12371
12368
  const { transferInit } = useCheckoutTransferInit(!checkoutItem?.isWithdrawal);
12372
12369
  const { selectedBrokerageAsset } = useFunkitBrokerageContext();
12370
+ const { apiKey } = useFunkitConfig();
12373
12371
  async function getBluvoCheckoutQuote({
12374
12372
  amount,
12375
12373
  symbol,
@@ -12395,7 +12393,8 @@ var useBluvoCheckoutQuote = () => {
12395
12393
  amount,
12396
12394
  asset: symbol,
12397
12395
  network: chainInfo?.name,
12398
- includeFee: true
12396
+ includeFee: true,
12397
+ tag: apiKey
12399
12398
  });
12400
12399
  if (quote?.error || !quote?.rawQuote) {
12401
12400
  logger.error("useBluvoCheckoutQuote:error", {
@@ -16457,7 +16456,7 @@ var TokenAndChainDropdown = ({
16457
16456
  chainLabelAddon,
16458
16457
  alwaysOpenToTop,
16459
16458
  maxTokenDropdownHeight = 338,
16460
- maxChainDropdownHeight,
16459
+ maxChainDropdownHeight = 338,
16461
16460
  openChainDropdownFullWidth,
16462
16461
  chainTagComponent,
16463
16462
  hideNewTokenBadge
@@ -17028,6 +17027,9 @@ function formatRelayFee({
17028
17027
  if (usd < threshold) {
17029
17028
  return formatCurrencyAndStringify2(usd);
17030
17029
  }
17030
+ if (percent < 0) {
17031
+ return "< 0.01%";
17032
+ }
17031
17033
  return formatPercent(percent);
17032
17034
  }
17033
17035
  function translateAppFeeLabel(appFeeLabel, t) {
@@ -17864,7 +17866,7 @@ import { useEffect as useEffect29, useState as useState24 } from "react";
17864
17866
  import { polygon as polygon4 } from "viem/chains";
17865
17867
 
17866
17868
  // src/hooks/useEnabledTokenTransferChainTokens.ts
17867
- import { bitcoinChain as bitcoinChain2, solanaChain as solanaChain3 } from "@funkit/chains";
17869
+ import { bitcoinChain as bitcoinChain2, solanaChain as solanaChain3, tronChain as tronChain2 } from "@funkit/chains";
17868
17870
  import { FlagKey as FlagKey9 } from "@funkit/utils";
17869
17871
  import { base as base5 } from "viem/chains";
17870
17872
  function useEnabledTokenTransferChainTokens(transferInit, isWithdrawal) {
@@ -17884,6 +17886,7 @@ function useEnabledTokenTransferChainTokens(transferInit, isWithdrawal) {
17884
17886
  }
17885
17887
  const hasSolanaAddress = !!transferInit?.solanaAddr;
17886
17888
  const hasBitcoinAddress = !!transferInit?.btcAddrSegwit;
17889
+ const hasTronAddress = !!transferInit?.tronAddr;
17887
17890
  return Object.keys(assets).reduce(
17888
17891
  (acc, curChainIdString) => {
17889
17892
  const chainId = Number(curChainIdString);
@@ -17895,6 +17898,10 @@ function useEnabledTokenTransferChainTokens(transferInit, isWithdrawal) {
17895
17898
  if (isBitcoin && !hasBitcoinAddress && !isWithdrawal) {
17896
17899
  return acc;
17897
17900
  }
17901
+ const isTron = chainId === tronChain2.id;
17902
+ if (isTron && !hasTronAddress && !isWithdrawal) {
17903
+ return acc;
17904
+ }
17898
17905
  if (isBankrUsUser && chainId !== base5.id) {
17899
17906
  return acc;
17900
17907
  }
@@ -19909,28 +19916,41 @@ function ConnectWalletItem({
19909
19916
  }
19910
19917
  );
19911
19918
  }
19912
- function SupportedChainList({ chainIdList }) {
19913
- return /* @__PURE__ */ React84.createElement(Box, { display: "flex", alignItems: "center", justifyContent: "flex-end" }, chainIdList.map((chainId, index) => {
19914
- const metadata = chainMetadataById[chainId];
19915
- return /* @__PURE__ */ React84.createElement(
19916
- Box,
19917
- {
19918
- key: chainId,
19919
- position: "relative",
19920
- style: { right: `${(chainIdList.length - index - 1) * -2}px` }
19921
- },
19922
- /* @__PURE__ */ React84.createElement(
19923
- AsyncImage,
19919
+ function SupportedChainList({
19920
+ chainIdList,
19921
+ iconSize = 12,
19922
+ style
19923
+ }) {
19924
+ return /* @__PURE__ */ React84.createElement(
19925
+ Box,
19926
+ {
19927
+ display: "flex",
19928
+ alignItems: "center",
19929
+ justifyContent: "flex-end",
19930
+ style
19931
+ },
19932
+ chainIdList.map((chainId, index) => {
19933
+ const metadata = chainMetadataById[chainId];
19934
+ return /* @__PURE__ */ React84.createElement(
19935
+ Box,
19924
19936
  {
19925
- alt: metadata?.name ?? "",
19926
- borderRadius: "full",
19927
- src: metadata?.iconUrl ?? "",
19928
- height: 12,
19929
- width: 12
19930
- }
19931
- )
19932
- );
19933
- }));
19937
+ key: chainId,
19938
+ position: "relative",
19939
+ style: { right: `${(chainIdList.length - index - 1) * -2}px` }
19940
+ },
19941
+ /* @__PURE__ */ React84.createElement(
19942
+ AsyncImage,
19943
+ {
19944
+ alt: metadata?.name ?? "",
19945
+ borderRadius: "full",
19946
+ src: metadata?.iconUrl ?? "",
19947
+ height: iconSize,
19948
+ width: iconSize
19949
+ }
19950
+ )
19951
+ );
19952
+ })
19953
+ );
19934
19954
  }
19935
19955
  function PaymentMethodIcon({
19936
19956
  paymentIcon,
@@ -22375,7 +22395,8 @@ function DirectExecutionOrderDetailSection({
22375
22395
  isRefunded,
22376
22396
  latestDirectExecution
22377
22397
  } = useMultiStepDirectExecutionStatus(directExecution, disabled);
22378
- const { txHash: fromTxHash, fromChainId } = directExecution;
22398
+ const fromTxHash = directExecution.onChainTxHash ?? directExecution.txHash;
22399
+ const { fromChainId } = directExecution;
22379
22400
  const createdTime = getDirectExecutionCreatedTimeMs(directExecution);
22380
22401
  const toChainId = getLzOftDestinationChain(latestDirectExecution) ?? latestDirectExecution.toChainId;
22381
22402
  const listenerInfoTxHashes = latestDirectExecution.listenerInfo?.txHashes || [];
@@ -23489,7 +23510,7 @@ function WithdrawalModal({
23489
23510
  }
23490
23511
 
23491
23512
  // src/modals/AccountModal/AccountModal.tsx
23492
- import React223 from "react";
23513
+ import React224 from "react";
23493
23514
 
23494
23515
  // src/modals/ProfileDetails/ActivityTraversalContext.tsx
23495
23516
  import React113, {
@@ -23564,11 +23585,11 @@ var useActivityTraversal = () => {
23564
23585
  };
23565
23586
 
23566
23587
  // src/modals/ProfileDetails/ProfileDetails.tsx
23567
- import React222, { useCallback as useCallback47, useState as useState70 } from "react";
23588
+ import React223, { useCallback as useCallback47, useState as useState70 } from "react";
23568
23589
 
23569
23590
  // src/components/FunCheckoutModalHeightAnimationWrapper/FunCheckoutModalHeightAnimationWrapper.tsx
23570
23591
  import { motion as motion14 } from "motion/react";
23571
- import React209, { useEffect as useEffect54, useRef as useRef28, useState as useState67 } from "react";
23592
+ import React210, { useEffect as useEffect54, useRef as useRef28, useState as useState67 } from "react";
23572
23593
 
23573
23594
  // src/modals/CheckoutModal/stepTransition.ts
23574
23595
  import {
@@ -32479,7 +32500,9 @@ var NewTokenDepositAlert = ({
32479
32500
  import { getAllowedAssets } from "@funkit/api-base";
32480
32501
  import { useQuery as useQuery21 } from "@tanstack/react-query";
32481
32502
  import { useCallback as useCallback40, useMemo as useMemo43 } from "react";
32482
- function useAllowedAssets() {
32503
+ function useAllowedAssets({
32504
+ enabled
32505
+ } = {}) {
32483
32506
  const { apiKey } = useFunkitConfig();
32484
32507
  const { checkoutItem } = useCheckoutContext();
32485
32508
  const isRelayEnabled = useSourceTokenRelayEnabled();
@@ -32490,7 +32513,8 @@ function useAllowedAssets() {
32490
32513
  refetchOnReconnect: false,
32491
32514
  refetchOnWindowFocus: false,
32492
32515
  staleTime: 5 * 60 * 1e3,
32493
- gcTime: Number.POSITIVE_INFINITY
32516
+ gcTime: Number.POSITIVE_INFINITY,
32517
+ enabled
32494
32518
  });
32495
32519
  const tokens = useMemo43(() => {
32496
32520
  if (!allowedAssets) {
@@ -33213,11 +33237,57 @@ function showsNativeTokensOnTop(apiKey) {
33213
33237
  import { BridgeCustomerStatus as BridgeCustomerStatus6, MeldServiceProvider as MeldServiceProvider4 } from "@funkit/api-base";
33214
33238
  import { LIGHTER_CHAIN_ID as LIGHTER_CHAIN_ID3 } from "@funkit/chains";
33215
33239
  import { noop as noop9 } from "@funkit/utils";
33216
- import React190, { useCallback as useCallback41, useEffect as useEffect51, useState as useState59 } from "react";
33240
+ import React191, { useCallback as useCallback41, useEffect as useEffect51, useState as useState59 } from "react";
33217
33241
  import { createPortal as createPortal19 } from "react-dom";
33218
33242
 
33219
- // src/modals/CheckoutModal/SourceChange/DefiPurchaseSection.tsx
33243
+ // src/components/CheckoutTopAnnouncementBanner/CheckoutTopAnnouncementBanner.tsx
33220
33244
  import React189 from "react";
33245
+ var CheckoutTopAnnouncementBanner = () => {
33246
+ const { title, subtitle, chainIdList, iconSrc } = useDynamicConfig(
33247
+ "checkouttopannouncementbanner"
33248
+ );
33249
+ if (!title) {
33250
+ return null;
33251
+ }
33252
+ return /* @__PURE__ */ React189.createElement(
33253
+ Box,
33254
+ {
33255
+ borderRadius: "connectButton",
33256
+ background: "offBackground",
33257
+ display: "flex",
33258
+ flexDirection: "row",
33259
+ alignItems: "center",
33260
+ justifyContent: "space-between",
33261
+ gap: "8",
33262
+ padding: "8",
33263
+ marginBottom: "8"
33264
+ },
33265
+ /* @__PURE__ */ React189.createElement(Box, { display: "flex", flexDirection: "row", alignItems: "center", gap: "8" }, /* @__PURE__ */ React189.createElement(
33266
+ "img",
33267
+ {
33268
+ src: iconSrc,
33269
+ alt: "announcement icon",
33270
+ style: {
33271
+ width: "20px",
33272
+ height: "20px",
33273
+ objectFit: "contain",
33274
+ display: "block"
33275
+ }
33276
+ }
33277
+ ), /* @__PURE__ */ React189.createElement(Box, { display: "flex", flexDirection: "column", gap: "2" }, /* @__PURE__ */ React189.createElement(Text, { size: "10", color: "primaryText" }, title), subtitle && /* @__PURE__ */ React189.createElement(Text, { size: "10", color: "secondaryText" }, subtitle))),
33278
+ !!chainIdList?.length && /* @__PURE__ */ React189.createElement(
33279
+ SupportedChainList,
33280
+ {
33281
+ chainIdList: chainIdList.map(String),
33282
+ iconSize: 12,
33283
+ style: { marginRight: "4px" }
33284
+ }
33285
+ )
33286
+ );
33287
+ };
33288
+
33289
+ // src/modals/CheckoutModal/SourceChange/DefiPurchaseSection.tsx
33290
+ import React190 from "react";
33221
33291
  var DefiPurchaseSection = ({ config }) => {
33222
33292
  const { uiCustomizations } = useFunkitConfig();
33223
33293
  const { isLoading, price: usdAmount } = useAssetAddressPrice({
@@ -33225,7 +33295,7 @@ var DefiPurchaseSection = ({ config }) => {
33225
33295
  assetTokenAddress: config.targetAsset,
33226
33296
  amount: config.targetAssetAmount
33227
33297
  });
33228
- return /* @__PURE__ */ React189.createElement(
33298
+ return /* @__PURE__ */ React190.createElement(
33229
33299
  CheckoutPrimaryInfo,
33230
33300
  {
33231
33301
  showTokenAmount: uiCustomizations.confirmationScreen.showTokenAmount,
@@ -33328,7 +33398,7 @@ var ConnectedSource = ({
33328
33398
  }) => {
33329
33399
  if (paymentInfo.paymentMethod === "balance" /* ACCOUNT_BALANCE */) {
33330
33400
  const isSelected = selectedPaymentInfo?.paymentMethod === "balance" /* ACCOUNT_BALANCE */;
33331
- return /* @__PURE__ */ React190.createElement(
33401
+ return /* @__PURE__ */ React191.createElement(
33332
33402
  AccountBalancePaymentMethodItem,
33333
33403
  {
33334
33404
  showSelectedCheckmark,
@@ -33341,7 +33411,7 @@ var ConnectedSource = ({
33341
33411
  }
33342
33412
  if (paymentInfo.paymentMethod === "brokerage" /* BROKERAGE */) {
33343
33413
  const isSelected = selectedPaymentInfo?.paymentMethod === "brokerage" /* BROKERAGE */;
33344
- return /* @__PURE__ */ React190.createElement(
33414
+ return /* @__PURE__ */ React191.createElement(
33345
33415
  ConnectedBluvoPaymentMethodItem,
33346
33416
  {
33347
33417
  paymentMethodInfo: paymentInfo,
@@ -33353,7 +33423,7 @@ var ConnectedSource = ({
33353
33423
  }
33354
33424
  if (paymentInfo.paymentMethod === "virtual_bank" /* VIRTUAL_BANK */) {
33355
33425
  const isSelected = selectedPaymentInfo?.paymentMethod === "virtual_bank" /* VIRTUAL_BANK */;
33356
- return /* @__PURE__ */ React190.createElement(
33426
+ return /* @__PURE__ */ React191.createElement(
33357
33427
  ActiveFiatAccountPaymentMethodItem,
33358
33428
  {
33359
33429
  isActive: isSelected,
@@ -33390,7 +33460,7 @@ function PayPal() {
33390
33460
  return null;
33391
33461
  }
33392
33462
  const isLoading = isPaypalReady && (!defaultCurrency || !amounts[1] || isPending);
33393
- return /* @__PURE__ */ React190.createElement(
33463
+ return /* @__PURE__ */ React191.createElement(
33394
33464
  PayPalPaymentMethodItem,
33395
33465
  {
33396
33466
  isClickable: !isLoading,
@@ -33561,7 +33631,7 @@ function SourceChange({
33561
33631
  );
33562
33632
  function renderSource(source) {
33563
33633
  if (isConnectablePaymentMethodInfo(source)) {
33564
- return /* @__PURE__ */ React190.createElement(
33634
+ return /* @__PURE__ */ React191.createElement(
33565
33635
  ConnectedSource,
33566
33636
  {
33567
33637
  key: source.title,
@@ -33573,7 +33643,7 @@ function SourceChange({
33573
33643
  }
33574
33644
  );
33575
33645
  }
33576
- return /* @__PURE__ */ React190.createElement(
33646
+ return /* @__PURE__ */ React191.createElement(
33577
33647
  AddPaymentMethodItem,
33578
33648
  {
33579
33649
  key: source,
@@ -33584,7 +33654,7 @@ function SourceChange({
33584
33654
  );
33585
33655
  }
33586
33656
  function renderComingSoon(source) {
33587
- return /* @__PURE__ */ React190.createElement(
33657
+ return /* @__PURE__ */ React191.createElement(
33588
33658
  AddPaymentMethodItem,
33589
33659
  {
33590
33660
  key: source,
@@ -33592,13 +33662,13 @@ function SourceChange({
33592
33662
  isActive: false,
33593
33663
  isClickable: false,
33594
33664
  onClick: noop9,
33595
- customValueIcon: /* @__PURE__ */ React190.createElement(FunBadge, { borderColor: "generalBorder" }, t("common.comingSoon"))
33665
+ customValueIcon: /* @__PURE__ */ React191.createElement(FunBadge, { borderColor: "generalBorder" }, t("common.comingSoon"))
33596
33666
  }
33597
33667
  );
33598
33668
  }
33599
33669
  const hasMoreSources = moreSources.length > 0 || comingSoon.length > 0;
33600
33670
  const bottomSectionRef = useBottomSectionRef();
33601
- return /* @__PURE__ */ React190.createElement(React190.Fragment, null, isTargetAssetSelectable && /* @__PURE__ */ React190.createElement(Box, { marginBottom: "8" }, /* @__PURE__ */ React190.createElement(
33671
+ return /* @__PURE__ */ React191.createElement(React191.Fragment, null, /* @__PURE__ */ React191.createElement(CheckoutTopAnnouncementBanner, null), isTargetAssetSelectable && /* @__PURE__ */ React191.createElement(Box, { marginBottom: "8" }, /* @__PURE__ */ React191.createElement(
33602
33672
  ReceiveTokenDropdown,
33603
33673
  {
33604
33674
  activeItemLabel: t("sourceChange.selectTokenLabel"),
@@ -33609,7 +33679,7 @@ function SourceChange({
33609
33679
  selectedToken: selectedTargetAsset?.tokenSymbol,
33610
33680
  tokens: dynamicTargetAssets
33611
33681
  }
33612
- )), isDefiMode ? /* @__PURE__ */ React190.createElement(Box, { display: "flex", flexDirection: "column", gap: "28" }, /* @__PURE__ */ React190.createElement(DefiPurchaseSection, { config: checkoutItem.initSettings.config }), /* @__PURE__ */ React190.createElement(Box, { display: "flex", flexDirection: "column", gap: "16" }, /* @__PURE__ */ React190.createElement(Box, { display: "flex", flexDirection: "column", gap: "4" }, /* @__PURE__ */ React190.createElement(Text, { size: "13", color: "secondaryText" }, t("sourceChange.selectPaymentMethod")), preferred.map(renderSource)), /* @__PURE__ */ React190.createElement(Box, { display: "flex", flexDirection: "column", gap: "4" }, /* @__PURE__ */ React190.createElement(Text, { size: "13", color: "secondaryText" }, t("sourceChange.moreOptions")), moreSources.map(renderSource)))) : /* @__PURE__ */ React190.createElement(React190.Fragment, null, /* @__PURE__ */ React190.createElement(
33682
+ )), isDefiMode ? /* @__PURE__ */ React191.createElement(Box, { display: "flex", flexDirection: "column", gap: "28" }, /* @__PURE__ */ React191.createElement(DefiPurchaseSection, { config: checkoutItem.initSettings.config }), /* @__PURE__ */ React191.createElement(Box, { display: "flex", flexDirection: "column", gap: "16" }, /* @__PURE__ */ React191.createElement(Box, { display: "flex", flexDirection: "column", gap: "4" }, /* @__PURE__ */ React191.createElement(Text, { size: "13", color: "secondaryText" }, t("sourceChange.selectPaymentMethod")), preferred.map(renderSource)), /* @__PURE__ */ React191.createElement(Box, { display: "flex", flexDirection: "column", gap: "4" }, /* @__PURE__ */ React191.createElement(Text, { size: "13", color: "secondaryText" }, t("sourceChange.moreOptions")), moreSources.map(renderSource)))) : /* @__PURE__ */ React191.createElement(React191.Fragment, null, /* @__PURE__ */ React191.createElement(
33613
33683
  Box,
33614
33684
  {
33615
33685
  display: "flex",
@@ -33620,7 +33690,7 @@ function SourceChange({
33620
33690
  }
33621
33691
  },
33622
33692
  preferred.map(renderSource),
33623
- preferred.length > 0 && hasMoreSources && /* @__PURE__ */ React190.createElement(
33693
+ preferred.length > 0 && hasMoreSources && /* @__PURE__ */ React191.createElement(
33624
33694
  FunDivider,
33625
33695
  {
33626
33696
  label: t("sourceChange.more"),
@@ -33631,8 +33701,8 @@ function SourceChange({
33631
33701
  ),
33632
33702
  moreSources.map(renderSource),
33633
33703
  comingSoon.map(renderComingSoon),
33634
- /* @__PURE__ */ React190.createElement(PayPal, null)
33635
- ), /* @__PURE__ */ React190.createElement(Box, { className: emptyStateStyles }, /* @__PURE__ */ React190.createElement(
33704
+ /* @__PURE__ */ React191.createElement(PayPal, null)
33705
+ ), /* @__PURE__ */ React191.createElement(Box, { className: emptyStateStyles }, /* @__PURE__ */ React191.createElement(
33636
33706
  FunNoResults,
33637
33707
  {
33638
33708
  text: t("checkout.noAvailableTokensMessage"),
@@ -33640,7 +33710,7 @@ function SourceChange({
33640
33710
  variant: "actionable"
33641
33711
  }
33642
33712
  ))), bottomSectionRef && createPortal19(
33643
- /* @__PURE__ */ React190.createElement(
33713
+ /* @__PURE__ */ React191.createElement(
33644
33714
  Dialog.BottomBar,
33645
33715
  {
33646
33716
  actionButtonProps: hasAutoContinue ? void 0 : {
@@ -33662,12 +33732,12 @@ function SourceChange({
33662
33732
 
33663
33733
  // src/modals/CheckoutModal/TransferToken/TransferToken.tsx
33664
33734
  import { motion as motion12, useAnimationControls as useAnimationControls3 } from "motion/react";
33665
- import React201, { useRef as useRef26, useState as useState63 } from "react";
33735
+ import React202, { useRef as useRef26, useState as useState63 } from "react";
33666
33736
  import { createPortal as createPortal20 } from "react-dom";
33667
33737
 
33668
33738
  // src/components/CopyAddress/CopyInputDisplayedAddress.tsx
33669
33739
  import { truncateMiddleOfAddress } from "@funkit/utils";
33670
- import React191, { useCallback as useCallback43, useState as useState61 } from "react";
33740
+ import React192, { useCallback as useCallback43, useState as useState61 } from "react";
33671
33741
 
33672
33742
  // src/hooks/useCopyToClipboard.ts
33673
33743
  import { useCallback as useCallback42, useEffect as useEffect52, useState as useState60 } from "react";
@@ -33723,8 +33793,8 @@ function CopyInputDisplayedAddressEN({
33723
33793
  }, 2e3);
33724
33794
  handleCopy();
33725
33795
  }, [isActive, handleCopy]);
33726
- return /* @__PURE__ */ React191.createElement(Box, { className: copyButtonWrapper }, /* @__PURE__ */ React191.createElement(Box, { paddingY: "8", paddingX: "12", width: "full" }, /* @__PURE__ */ React191.createElement(Text, { size: "10" }, displayAddress)), /* @__PURE__ */ React191.createElement(FunDivider, { borderColor: "mediumStroke" }), /* @__PURE__ */ React191.createElement(Box, { as: "button", onClick: handleClick, className: copyButton }, /* @__PURE__ */ React191.createElement("div", { className: isActive ? copyInputTextBoxActive : copyInputTextBox }, /* @__PURE__ */ React191.createElement("div", { className: isActive ? copyButtonIconActive : copyButtonIcon }, /* @__PURE__ */ React191.createElement(CheckIcon, { className: copyButtonIconBase })), /* @__PURE__ */ React191.createElement(Text, { size: "12", weight: "medium" }, /* @__PURE__ */ React191.createElement("div", { className: copyInputText }, /* @__PURE__ */ React191.createElement("span", null, "Cop"), /* @__PURE__ */ React191.createElement("span", { className: copyInputTextWrapper }, ["y", " ", "a", "d", "d", "r", "e", "s", "s"].map(
33727
- (char, i) => /* @__PURE__ */ React191.createElement(
33796
+ return /* @__PURE__ */ React192.createElement(Box, { className: copyButtonWrapper }, /* @__PURE__ */ React192.createElement(Box, { paddingY: "8", paddingX: "12", width: "full" }, /* @__PURE__ */ React192.createElement(Text, { size: "10" }, displayAddress)), /* @__PURE__ */ React192.createElement(FunDivider, { borderColor: "mediumStroke" }), /* @__PURE__ */ React192.createElement(Box, { as: "button", onClick: handleClick, className: copyButton }, /* @__PURE__ */ React192.createElement("div", { className: isActive ? copyInputTextBoxActive : copyInputTextBox }, /* @__PURE__ */ React192.createElement("div", { className: isActive ? copyButtonIconActive : copyButtonIcon }, /* @__PURE__ */ React192.createElement(CheckIcon, { className: copyButtonIconBase })), /* @__PURE__ */ React192.createElement(Text, { size: "12", weight: "medium" }, /* @__PURE__ */ React192.createElement("div", { className: copyInputText }, /* @__PURE__ */ React192.createElement("span", null, "Cop"), /* @__PURE__ */ React192.createElement("span", { className: copyInputTextWrapper }, ["y", " ", "a", "d", "d", "r", "e", "s", "s"].map(
33797
+ (char, i) => /* @__PURE__ */ React192.createElement(
33728
33798
  "span",
33729
33799
  {
33730
33800
  className: copyInputTextDefault,
@@ -33735,9 +33805,9 @@ function CopyInputDisplayedAddressEN({
33735
33805
  "--animation-opacity": isActive === false ? "0" : "1"
33736
33806
  }
33737
33807
  },
33738
- char === " " ? /* @__PURE__ */ React191.createElement(React191.Fragment, null, "\xA0") : char
33808
+ char === " " ? /* @__PURE__ */ React192.createElement(React192.Fragment, null, "\xA0") : char
33739
33809
  )
33740
- ), ["ied"].map((char, i) => /* @__PURE__ */ React191.createElement(
33810
+ ), ["ied"].map((char, i) => /* @__PURE__ */ React192.createElement(
33741
33811
  "span",
33742
33812
  {
33743
33813
  className: copyInputTextActive,
@@ -33770,17 +33840,17 @@ function CopyInputDisplayedAddressI18n({
33770
33840
  handleCopy();
33771
33841
  }, [isActive, handleCopy]);
33772
33842
  const buttonText = isActive ? t("common.copied") : t("common.copyAddress");
33773
- return /* @__PURE__ */ React191.createElement(Box, { className: copyButtonWrapper }, /* @__PURE__ */ React191.createElement(Box, { paddingY: "8", paddingX: "12", width: "full" }, /* @__PURE__ */ React191.createElement(Text, { size: "10" }, displayAddress)), /* @__PURE__ */ React191.createElement(FunDivider, { borderColor: "mediumStroke" }), /* @__PURE__ */ React191.createElement(Box, { as: "button", onClick: handleClick, className: copyButton }, /* @__PURE__ */ React191.createElement("div", { className: copyInputTextBox }, /* @__PURE__ */ React191.createElement("div", { className: copyButtonIcon }, /* @__PURE__ */ React191.createElement(CheckIcon, { className: copyButtonIconBase })), /* @__PURE__ */ React191.createElement(Text, { size: "12", weight: "medium" }, /* @__PURE__ */ React191.createElement("div", { className: copyInputText }, buttonText)))));
33843
+ return /* @__PURE__ */ React192.createElement(Box, { className: copyButtonWrapper }, /* @__PURE__ */ React192.createElement(Box, { paddingY: "8", paddingX: "12", width: "full" }, /* @__PURE__ */ React192.createElement(Text, { size: "10" }, displayAddress)), /* @__PURE__ */ React192.createElement(FunDivider, { borderColor: "mediumStroke" }), /* @__PURE__ */ React192.createElement(Box, { as: "button", onClick: handleClick, className: copyButton }, /* @__PURE__ */ React192.createElement("div", { className: copyInputTextBox }, /* @__PURE__ */ React192.createElement("div", { className: copyButtonIcon }, /* @__PURE__ */ React192.createElement(CheckIcon, { className: copyButtonIconBase })), /* @__PURE__ */ React192.createElement(Text, { size: "12", weight: "medium" }, /* @__PURE__ */ React192.createElement("div", { className: copyInputText }, buttonText)))));
33774
33844
  }
33775
33845
  function CopyInputDisplayedAddress(props) {
33776
33846
  const { i18n: i18n2 } = useFunkitTranslation();
33777
33847
  const isEnglish = i18n2.language === "en" || i18n2.language === "buy_en";
33778
- return isEnglish ? /* @__PURE__ */ React191.createElement(CopyInputDisplayedAddressEN, { ...props }) : /* @__PURE__ */ React191.createElement(CopyInputDisplayedAddressI18n, { ...props });
33848
+ return isEnglish ? /* @__PURE__ */ React192.createElement(CopyInputDisplayedAddressEN, { ...props }) : /* @__PURE__ */ React192.createElement(CopyInputDisplayedAddressI18n, { ...props });
33779
33849
  }
33780
33850
 
33781
33851
  // src/components/QRCode/QRCode.tsx
33782
33852
  import QRCodeUtil from "qrcode";
33783
- import React192, { useMemo as useMemo46 } from "react";
33853
+ import React193, { useMemo as useMemo46 } from "react";
33784
33854
  var generateMatrix = (value, errorCorrectionLevel) => {
33785
33855
  const { data } = QRCodeUtil.create(value, { errorCorrectionLevel }).modules;
33786
33856
  const sqrt = Math.sqrt(data.length);
@@ -33824,7 +33894,7 @@ function QRCode({
33824
33894
  const borderRadius = enableCornerMarkersRadius ? (i - 2) * -5 + (i === 0 ? 2 : 0) : 0;
33825
33895
  const size2 = cellSize * (7 - i * 2);
33826
33896
  dots2.push(
33827
- /* @__PURE__ */ React192.createElement(
33897
+ /* @__PURE__ */ React193.createElement(
33828
33898
  "rect",
33829
33899
  {
33830
33900
  fill: i % 2 !== 0 ? activeTheme.colors.modalBackground : "currentColor",
@@ -33849,7 +33919,7 @@ function QRCode({
33849
33919
  if (!(i < 7 && j < 7 || i > matrix.length - 8 && j < 7 || i < 7 && j > matrix.length - 8)) {
33850
33920
  if (!(i > matrixMiddleStart && i < matrixMiddleEnd && j > matrixMiddleStart && j < matrixMiddleEnd)) {
33851
33921
  dots2.push(
33852
- /* @__PURE__ */ React192.createElement(
33922
+ /* @__PURE__ */ React193.createElement(
33853
33923
  "circle",
33854
33924
  {
33855
33925
  cx: i * cellSize + cellSize / 2,
@@ -33876,7 +33946,7 @@ function QRCode({
33876
33946
  ]);
33877
33947
  const logoPosition = size / 2 - logoSize / 2;
33878
33948
  const logoWrapperSize = logoSize + logoMargin * 2;
33879
- return /* @__PURE__ */ React192.createElement(
33949
+ return /* @__PURE__ */ React193.createElement(
33880
33950
  Box,
33881
33951
  {
33882
33952
  ...enableOuterBorder && {
@@ -33891,7 +33961,7 @@ function QRCode({
33891
33961
  background: "modalBackground",
33892
33962
  color: "primaryText"
33893
33963
  },
33894
- /* @__PURE__ */ React192.createElement(
33964
+ /* @__PURE__ */ React193.createElement(
33895
33965
  Box,
33896
33966
  {
33897
33967
  style: {
@@ -33901,7 +33971,7 @@ function QRCode({
33901
33971
  },
33902
33972
  userSelect: "none"
33903
33973
  },
33904
- /* @__PURE__ */ React192.createElement(
33974
+ /* @__PURE__ */ React193.createElement(
33905
33975
  Box,
33906
33976
  {
33907
33977
  display: "flex",
@@ -33914,7 +33984,7 @@ function QRCode({
33914
33984
  },
33915
33985
  width: "full"
33916
33986
  },
33917
- /* @__PURE__ */ React192.createElement(
33987
+ /* @__PURE__ */ React193.createElement(
33918
33988
  AsyncImage,
33919
33989
  {
33920
33990
  background: logoBackground,
@@ -33926,20 +33996,20 @@ function QRCode({
33926
33996
  }
33927
33997
  )
33928
33998
  ),
33929
- /* @__PURE__ */ React192.createElement("svg", { height: size, style: { all: "revert" }, width: size }, /* @__PURE__ */ React192.createElement("title", null, "QR Code"), /* @__PURE__ */ React192.createElement("defs", null, /* @__PURE__ */ React192.createElement("clipPath", { id: "clip-wrapper" }, /* @__PURE__ */ React192.createElement("rect", { height: logoWrapperSize, width: logoWrapperSize })), /* @__PURE__ */ React192.createElement("clipPath", { id: "clip-logo" }, /* @__PURE__ */ React192.createElement("rect", { height: logoSize, width: logoSize }))), /* @__PURE__ */ React192.createElement("rect", { fill: "transparent", height: size, width: size }), dots)
33999
+ /* @__PURE__ */ React193.createElement("svg", { height: size, style: { all: "revert" }, width: size }, /* @__PURE__ */ React193.createElement("title", null, "QR Code"), /* @__PURE__ */ React193.createElement("defs", null, /* @__PURE__ */ React193.createElement("clipPath", { id: "clip-wrapper" }, /* @__PURE__ */ React193.createElement("rect", { height: logoWrapperSize, width: logoWrapperSize })), /* @__PURE__ */ React193.createElement("clipPath", { id: "clip-logo" }, /* @__PURE__ */ React193.createElement("rect", { height: logoSize, width: logoSize }))), /* @__PURE__ */ React193.createElement("rect", { fill: "transparent", height: size, width: size }), dots)
33930
34000
  )
33931
34001
  );
33932
34002
  }
33933
34003
 
33934
34004
  // src/components/QRCode/QRCodeSkeletonLoader.tsx
33935
- import React193 from "react";
34005
+ import React194 from "react";
33936
34006
  var DOT_SIZE = "8";
33937
34007
  var QRCodeSkeletonLoader = ({
33938
34008
  diagonalDimension = 12,
33939
34009
  gapBetweenDots = "4"
33940
34010
  }) => {
33941
34011
  const size = diagonalDimension * Number(DOT_SIZE) + (diagonalDimension - 1) * Number(gapBetweenDots);
33942
- return /* @__PURE__ */ React193.createElement(Box, { padding: "5" }, /* @__PURE__ */ React193.createElement(
34012
+ return /* @__PURE__ */ React194.createElement(Box, { padding: "5" }, /* @__PURE__ */ React194.createElement(
33943
34013
  Box,
33944
34014
  {
33945
34015
  display: "flex",
@@ -33949,7 +34019,7 @@ var QRCodeSkeletonLoader = ({
33949
34019
  gap: gapBetweenDots,
33950
34020
  style: { width: `${size}px`, height: `${size}px` }
33951
34021
  },
33952
- Array.from({ length: diagonalDimension }, (_, index) => /* @__PURE__ */ React193.createElement(
34022
+ Array.from({ length: diagonalDimension }, (_, index) => /* @__PURE__ */ React194.createElement(
33953
34023
  Box,
33954
34024
  {
33955
34025
  display: "flex",
@@ -33958,7 +34028,7 @@ var QRCodeSkeletonLoader = ({
33958
34028
  gap: gapBetweenDots,
33959
34029
  key: index
33960
34030
  },
33961
- Array.from({ length: diagonalDimension }, (_2, index2) => /* @__PURE__ */ React193.createElement(FunSkeletonCircle, { size: DOT_SIZE, key: index2 }))
34031
+ Array.from({ length: diagonalDimension }, (_2, index2) => /* @__PURE__ */ React194.createElement(FunSkeletonCircle, { size: DOT_SIZE, key: index2 }))
33962
34032
  ))
33963
34033
  ));
33964
34034
  };
@@ -33966,13 +34036,13 @@ var QRCodeSkeletonLoader_default = QRCodeSkeletonLoader;
33966
34036
 
33967
34037
  // src/components/TransferTokenDetails/TransferTokenDetails.tsx
33968
34038
  import { formatNumberAndStringify } from "@funkit/utils";
33969
- import React200 from "react";
34039
+ import React201 from "react";
33970
34040
  import { Trans as Trans12 } from "react-i18next";
33971
34041
 
33972
34042
  // src/components/Icons/New/DollarIcon.tsx
33973
- import React194 from "react";
34043
+ import React195 from "react";
33974
34044
  var DollarIcon = () => {
33975
- return /* @__PURE__ */ React194.createElement(
34045
+ return /* @__PURE__ */ React195.createElement(
33976
34046
  "svg",
33977
34047
  {
33978
34048
  width: "12",
@@ -33981,7 +34051,7 @@ var DollarIcon = () => {
33981
34051
  fill: "none",
33982
34052
  xmlns: "http://www.w3.org/2000/svg"
33983
34053
  },
33984
- /* @__PURE__ */ React194.createElement(
34054
+ /* @__PURE__ */ React195.createElement(
33985
34055
  "path",
33986
34056
  {
33987
34057
  fillRule: "evenodd",
@@ -33994,9 +34064,9 @@ var DollarIcon = () => {
33994
34064
  };
33995
34065
 
33996
34066
  // src/components/Icons/New/FileIcon.tsx
33997
- import React195 from "react";
34067
+ import React196 from "react";
33998
34068
  var FileIcon = () => {
33999
- return /* @__PURE__ */ React195.createElement(
34069
+ return /* @__PURE__ */ React196.createElement(
34000
34070
  "svg",
34001
34071
  {
34002
34072
  width: "12",
@@ -34005,7 +34075,7 @@ var FileIcon = () => {
34005
34075
  fill: "none",
34006
34076
  xmlns: "http://www.w3.org/2000/svg"
34007
34077
  },
34008
- /* @__PURE__ */ React195.createElement(
34078
+ /* @__PURE__ */ React196.createElement(
34009
34079
  "path",
34010
34080
  {
34011
34081
  fillRule: "evenodd",
@@ -34018,9 +34088,9 @@ var FileIcon = () => {
34018
34088
  };
34019
34089
 
34020
34090
  // src/components/Icons/New/SpeedometerIcon.tsx
34021
- import React196 from "react";
34091
+ import React197 from "react";
34022
34092
  var SpeedometerIcon = () => {
34023
- return /* @__PURE__ */ React196.createElement(
34093
+ return /* @__PURE__ */ React197.createElement(
34024
34094
  "svg",
34025
34095
  {
34026
34096
  width: "12",
@@ -34029,7 +34099,7 @@ var SpeedometerIcon = () => {
34029
34099
  fill: "none",
34030
34100
  xmlns: "http://www.w3.org/2000/svg"
34031
34101
  },
34032
- /* @__PURE__ */ React196.createElement(
34102
+ /* @__PURE__ */ React197.createElement(
34033
34103
  "path",
34034
34104
  {
34035
34105
  fillRule: "evenodd",
@@ -34043,13 +34113,13 @@ var SpeedometerIcon = () => {
34043
34113
 
34044
34114
  // src/components/FunFeatureList/FunFeatureList.tsx
34045
34115
  import { motion as motion11, useAnimationControls as useAnimationControls2 } from "motion/react";
34046
- import React198, { useState as useState62 } from "react";
34116
+ import React199, { useState as useState62 } from "react";
34047
34117
 
34048
34118
  // src/components/FunFeatureList/FunFeatureList.css.ts
34049
34119
  var detailsButton = "_1045qr71 _1rsrm2fet _1rsrm2ffq _1rsrm2fgj _1rsrm2fds _1rsrm2fih _1rsrm2fa _1rsrm2f4 _1rsrm2f4p _1rsrm2fu";
34050
34120
 
34051
34121
  // src/components/FunFeatureList/FunFeatureListItem.tsx
34052
- import React197 from "react";
34122
+ import React198 from "react";
34053
34123
  var FunFeatureListItem = ({
34054
34124
  text,
34055
34125
  tooltip,
@@ -34060,7 +34130,7 @@ var FunFeatureListItem = ({
34060
34130
  }) => {
34061
34131
  const valueLabel = value && (prefix ? ` ${prefix}${value}` : ` ${value}`);
34062
34132
  const isMultiline = Array.isArray(value) && value.length > 0;
34063
- const TooltipWrapperElement = /* @__PURE__ */ React197.createElement(
34133
+ const TooltipWrapperElement = /* @__PURE__ */ React198.createElement(
34064
34134
  Box,
34065
34135
  {
34066
34136
  marginLeft: "4",
@@ -34076,7 +34146,7 @@ var FunFeatureListItem = ({
34076
34146
  },
34077
34147
  tooltip
34078
34148
  );
34079
- return /* @__PURE__ */ React197.createElement(Box, { display: "flex", gap: "6", alignItems: "center", paddingY: "2", ...boxProps }, /* @__PURE__ */ React197.createElement(
34149
+ return /* @__PURE__ */ React198.createElement(Box, { display: "flex", gap: "6", alignItems: "center", paddingY: "2", ...boxProps }, /* @__PURE__ */ React198.createElement(
34080
34150
  Box,
34081
34151
  {
34082
34152
  color: "secondaryText",
@@ -34085,7 +34155,7 @@ var FunFeatureListItem = ({
34085
34155
  justifyContent: "center"
34086
34156
  },
34087
34157
  icon
34088
- ), /* @__PURE__ */ React197.createElement(
34158
+ ), /* @__PURE__ */ React198.createElement(
34089
34159
  Box,
34090
34160
  {
34091
34161
  display: "flex",
@@ -34094,8 +34164,8 @@ var FunFeatureListItem = ({
34094
34164
  gap: "6"
34095
34165
  }
34096
34166
  },
34097
- isMultiline ? /* @__PURE__ */ React197.createElement(Box, { display: "flex" }, /* @__PURE__ */ React197.createElement(Text, { size: "12", weight: "medium" }, text), tooltip && TooltipWrapperElement) : /* @__PURE__ */ React197.createElement(Text, { size: "12" }, text, /* @__PURE__ */ React197.createElement(React197.Fragment, null, "\xA0")),
34098
- isMultiline ? /* @__PURE__ */ React197.createElement(Box, { display: "flex", flexDirection: "column", gap: "6" }, value.map((v, index) => /* @__PURE__ */ React197.createElement(Text, { size: "12", display: "inline", key: index }, v))) : /* @__PURE__ */ React197.createElement(Text, { size: "12", weight: "medium", display: "inline" }, valueLabel),
34167
+ isMultiline ? /* @__PURE__ */ React198.createElement(Box, { display: "flex" }, /* @__PURE__ */ React198.createElement(Text, { size: "12", weight: "medium" }, text), tooltip && TooltipWrapperElement) : /* @__PURE__ */ React198.createElement(Text, { size: "12" }, text, /* @__PURE__ */ React198.createElement(React198.Fragment, null, "\xA0")),
34168
+ isMultiline ? /* @__PURE__ */ React198.createElement(Box, { display: "flex", flexDirection: "column", gap: "6" }, value.map((v, index) => /* @__PURE__ */ React198.createElement(Text, { size: "12", display: "inline", key: index }, v))) : /* @__PURE__ */ React198.createElement(Text, { size: "12", weight: "medium", display: "inline" }, valueLabel),
34099
34169
  !isMultiline && tooltip && TooltipWrapperElement
34100
34170
  ));
34101
34171
  };
@@ -34122,7 +34192,7 @@ var FunFeatureList = ({
34122
34192
  setIsExpanded(true);
34123
34193
  }
34124
34194
  };
34125
- return /* @__PURE__ */ React198.createElement(
34195
+ return /* @__PURE__ */ React199.createElement(
34126
34196
  Box,
34127
34197
  {
34128
34198
  ...withBackgroundContainer && {
@@ -34133,7 +34203,7 @@ var FunFeatureList = ({
34133
34203
  display: "flex",
34134
34204
  flexDirection: "column"
34135
34205
  },
34136
- isExpandable ? /* @__PURE__ */ React198.createElement(React198.Fragment, null, /* @__PURE__ */ React198.createElement(
34206
+ isExpandable ? /* @__PURE__ */ React199.createElement(React199.Fragment, null, /* @__PURE__ */ React199.createElement(
34137
34207
  Box,
34138
34208
  {
34139
34209
  as: "button",
@@ -34149,9 +34219,9 @@ var FunFeatureList = ({
34149
34219
  disabled,
34150
34220
  onClick: handleExpandToggle
34151
34221
  },
34152
- items[0] && /* @__PURE__ */ React198.createElement(FunFeatureListItem, { ...items[0] }),
34153
- /* @__PURE__ */ React198.createElement(AnimatedCaretDownIcon, { expanded: isDisplayed })
34154
- ), /* @__PURE__ */ React198.createElement(
34222
+ items[0] && /* @__PURE__ */ React199.createElement(FunFeatureListItem, { ...items[0] }),
34223
+ /* @__PURE__ */ React199.createElement(AnimatedCaretDownIcon, { expanded: isDisplayed })
34224
+ ), /* @__PURE__ */ React199.createElement(
34155
34225
  motion11.div,
34156
34226
  {
34157
34227
  initial: "collapsed",
@@ -34162,7 +34232,7 @@ var FunFeatureList = ({
34162
34232
  expanded: { height: "auto", opacity: 1, overflow: "visible" }
34163
34233
  }
34164
34234
  },
34165
- /* @__PURE__ */ React198.createElement(
34235
+ /* @__PURE__ */ React199.createElement(
34166
34236
  Box,
34167
34237
  {
34168
34238
  paddingX: "12",
@@ -34171,7 +34241,7 @@ var FunFeatureList = ({
34171
34241
  gap: "6",
34172
34242
  paddingBottom: "8"
34173
34243
  },
34174
- items.slice(1).map((item, index) => /* @__PURE__ */ React198.createElement(
34244
+ items.slice(1).map((item, index) => /* @__PURE__ */ React199.createElement(
34175
34245
  FunFeatureListItem,
34176
34246
  {
34177
34247
  key: index,
@@ -34183,7 +34253,7 @@ var FunFeatureList = ({
34183
34253
  }
34184
34254
  ))
34185
34255
  )
34186
- )) : /* @__PURE__ */ React198.createElement(
34256
+ )) : /* @__PURE__ */ React199.createElement(
34187
34257
  Box,
34188
34258
  {
34189
34259
  display: "flex",
@@ -34194,7 +34264,7 @@ var FunFeatureList = ({
34194
34264
  paddingY: "8"
34195
34265
  }
34196
34266
  },
34197
- items.map((item, index) => /* @__PURE__ */ React198.createElement(
34267
+ items.map((item, index) => /* @__PURE__ */ React199.createElement(
34198
34268
  Box,
34199
34269
  {
34200
34270
  key: index,
@@ -34205,16 +34275,16 @@ var FunFeatureList = ({
34205
34275
  background: "offBackground"
34206
34276
  }
34207
34277
  },
34208
- /* @__PURE__ */ React198.createElement(FunFeatureListItem, { ...item })
34278
+ /* @__PURE__ */ React199.createElement(FunFeatureListItem, { ...item })
34209
34279
  ))
34210
34280
  )
34211
34281
  );
34212
34282
  };
34213
34283
 
34214
34284
  // src/components/Icons/New/PercentageIcon.tsx
34215
- import React199 from "react";
34285
+ import React200 from "react";
34216
34286
  var PercentageIcon = () => {
34217
- return /* @__PURE__ */ React199.createElement(
34287
+ return /* @__PURE__ */ React200.createElement(
34218
34288
  "svg",
34219
34289
  {
34220
34290
  width: "12",
@@ -34223,7 +34293,7 @@ var PercentageIcon = () => {
34223
34293
  fill: "none",
34224
34294
  xmlns: "http://www.w3.org/2000/svg"
34225
34295
  },
34226
- /* @__PURE__ */ React199.createElement(
34296
+ /* @__PURE__ */ React200.createElement(
34227
34297
  "path",
34228
34298
  {
34229
34299
  fillRule: "evenodd",
@@ -34241,7 +34311,7 @@ var FunLinkButtonComponent3 = ({
34241
34311
  href,
34242
34312
  size
34243
34313
  }) => {
34244
- return /* @__PURE__ */ React200.createElement(FunLinkButton, { href, inline: true, text: children, size });
34314
+ return /* @__PURE__ */ React201.createElement(FunLinkButton, { href, inline: true, text: children, size });
34245
34315
  };
34246
34316
  var TransferTokenDetails = ({
34247
34317
  estProcessingTime,
@@ -34258,7 +34328,7 @@ var TransferTokenDetails = ({
34258
34328
  !!estProcessingTime
34259
34329
  );
34260
34330
  const gasFees = void 0;
34261
- return /* @__PURE__ */ React200.createElement(
34331
+ return /* @__PURE__ */ React201.createElement(
34262
34332
  FunFeatureList,
34263
34333
  {
34264
34334
  isExpandable: true,
@@ -34269,17 +34339,17 @@ var TransferTokenDetails = ({
34269
34339
  text: `${estPriceImpact.label}:`,
34270
34340
  prefix: estPriceImpact.value > 0 ? "< " : "",
34271
34341
  value: `${formatNumberAndStringify(estPriceImpact.value, void 0, { minimumFractionDigits: 2, maximumFractionDigits: 2 })}%`,
34272
- icon: /* @__PURE__ */ React200.createElement(DollarIcon, null),
34273
- tooltip: /* @__PURE__ */ React200.createElement(
34342
+ icon: /* @__PURE__ */ React201.createElement(DollarIcon, null),
34343
+ tooltip: /* @__PURE__ */ React201.createElement(
34274
34344
  FunTooltip,
34275
34345
  {
34276
- content: /* @__PURE__ */ React200.createElement(
34346
+ content: /* @__PURE__ */ React201.createElement(
34277
34347
  Trans12,
34278
34348
  {
34279
34349
  t,
34280
34350
  i18nKey: "fees.priceImpactTooltip",
34281
34351
  components: {
34282
- LearnMoreLink: /* @__PURE__ */ React200.createElement(FunLinkButtonComponent3, { href: "https://intercom.help/funxyz/en/articles/10925883-order-execution-guide" })
34352
+ LearnMoreLink: /* @__PURE__ */ React201.createElement(FunLinkButtonComponent3, { href: "https://intercom.help/funxyz/en/articles/10925883-order-execution-guide" })
34283
34353
  }
34284
34354
  }
34285
34355
  )
@@ -34292,17 +34362,17 @@ var TransferTokenDetails = ({
34292
34362
  text: `${maxSlippage.label}:`,
34293
34363
  prefix: maxSlippage.value > 0 ? `${t("common.auto")} \u2022 ` : "",
34294
34364
  value: `${formatNumberAndStringify(maxSlippage.value, void 0, { minimumFractionDigits: 2, maximumFractionDigits: 2 })}%`,
34295
- icon: /* @__PURE__ */ React200.createElement(PercentageIcon, null),
34296
- tooltip: /* @__PURE__ */ React200.createElement(
34365
+ icon: /* @__PURE__ */ React201.createElement(PercentageIcon, null),
34366
+ tooltip: /* @__PURE__ */ React201.createElement(
34297
34367
  FunTooltip,
34298
34368
  {
34299
- content: /* @__PURE__ */ React200.createElement(
34369
+ content: /* @__PURE__ */ React201.createElement(
34300
34370
  Trans12,
34301
34371
  {
34302
34372
  t,
34303
34373
  i18nKey: "fees.slippageTooltipFull",
34304
34374
  components: {
34305
- LearnMoreLink: /* @__PURE__ */ React200.createElement(FunLinkButtonComponent3, { href: "https://intercom.help/funxyz/en/articles/10925883-order-execution-guide" })
34375
+ LearnMoreLink: /* @__PURE__ */ React201.createElement(FunLinkButtonComponent3, { href: "https://intercom.help/funxyz/en/articles/10925883-order-execution-guide" })
34306
34376
  }
34307
34377
  }
34308
34378
  )
@@ -34315,22 +34385,22 @@ var TransferTokenDetails = ({
34315
34385
  text: `${t("common.estimatedGas")}:`,
34316
34386
  prefix: "~",
34317
34387
  value: `$${gasFees}`,
34318
- icon: /* @__PURE__ */ React200.createElement(DollarIcon, null)
34388
+ icon: /* @__PURE__ */ React201.createElement(DollarIcon, null)
34319
34389
  }
34320
34390
  ] : [],
34321
34391
  {
34322
34392
  text: t("common.processingTime"),
34323
34393
  value: estimatedTimeText,
34324
- icon: /* @__PURE__ */ React200.createElement(SpeedometerIcon, null)
34394
+ icon: /* @__PURE__ */ React201.createElement(SpeedometerIcon, null)
34325
34395
  },
34326
34396
  {
34327
- text: /* @__PURE__ */ React200.createElement(
34397
+ text: /* @__PURE__ */ React201.createElement(
34328
34398
  Trans12,
34329
34399
  {
34330
34400
  t,
34331
34401
  i18nKey: "common.haveQuestionsGetHelp",
34332
34402
  components: {
34333
- GetHelpLink: /* @__PURE__ */ React200.createElement(
34403
+ GetHelpLink: /* @__PURE__ */ React201.createElement(
34334
34404
  FunLinkButtonComponent3,
34335
34405
  {
34336
34406
  href: "https://intercom.help/funxyz/en/articles/10003876-transfer-crypto-guide-faqs",
@@ -34340,7 +34410,7 @@ var TransferTokenDetails = ({
34340
34410
  }
34341
34411
  }
34342
34412
  ),
34343
- icon: /* @__PURE__ */ React200.createElement(FileIcon, null)
34413
+ icon: /* @__PURE__ */ React201.createElement(FileIcon, null)
34344
34414
  }
34345
34415
  ]
34346
34416
  }
@@ -34426,7 +34496,7 @@ function TransferToken({
34426
34496
  tokenAddress: targetAsset
34427
34497
  }) ?? 0;
34428
34498
  }
34429
- return /* @__PURE__ */ React201.createElement(
34499
+ return /* @__PURE__ */ React202.createElement(
34430
34500
  Text,
34431
34501
  {
34432
34502
  size: "12",
@@ -34449,7 +34519,7 @@ function TransferToken({
34449
34519
  }
34450
34520
  return (
34451
34521
  // This ID is used in the DialogContent css to set the height of the modal
34452
- /* @__PURE__ */ React201.createElement(React201.Fragment, null, /* @__PURE__ */ React201.createElement(Box, { id: "token-transfer-page" }, /* @__PURE__ */ React201.createElement(
34522
+ /* @__PURE__ */ React202.createElement(React202.Fragment, null, /* @__PURE__ */ React202.createElement(Box, { id: "token-transfer-page" }, /* @__PURE__ */ React202.createElement(
34453
34523
  Box,
34454
34524
  {
34455
34525
  display: "flex",
@@ -34458,17 +34528,17 @@ function TransferToken({
34458
34528
  justifyContent: "center",
34459
34529
  gap: "18"
34460
34530
  },
34461
- !isDefiMode && isSourceNavWidgetEnabled && /* @__PURE__ */ React201.createElement(Box, { display: "flex", flexDirection: "column", width: "full" }, /* @__PURE__ */ React201.createElement(
34531
+ !isDefiMode && isSourceNavWidgetEnabled && /* @__PURE__ */ React202.createElement(Box, { display: "flex", flexDirection: "column", width: "full" }, /* @__PURE__ */ React202.createElement(
34462
34532
  SourcePaymentMethodItem,
34463
34533
  {
34464
34534
  type: "token_transfer" /* TOKEN_TRANSFER */,
34465
34535
  keyText: textCustomizations.transferTokens,
34466
34536
  disclaimerText: t("transferToken.noLimit"),
34467
- keyIcon: /* @__PURE__ */ React201.createElement(LightningBoltIcon, null),
34537
+ keyIcon: /* @__PURE__ */ React202.createElement(LightningBoltIcon, null),
34468
34538
  onClick: () => onNext({})
34469
34539
  }
34470
34540
  )),
34471
- defaultCandidate && !checkoutConfig?.generateActionsParams && /* @__PURE__ */ React201.createElement(
34541
+ defaultCandidate && !checkoutConfig?.generateActionsParams && /* @__PURE__ */ React202.createElement(
34472
34542
  Box,
34473
34543
  {
34474
34544
  display: "flex",
@@ -34482,8 +34552,8 @@ function TransferToken({
34482
34552
  paddingY: "8",
34483
34553
  paddingX: HORIZONTAL_OUTER_PADDING_X
34484
34554
  },
34485
- /* @__PURE__ */ React201.createElement(Text, { size: "12", color: "secondaryText" }, t("transferToken.receiveToken")),
34486
- /* @__PURE__ */ React201.createElement(Box, { display: "flex", alignItems: "center", gap: "8" }, /* @__PURE__ */ React201.createElement(
34555
+ /* @__PURE__ */ React202.createElement(Text, { size: "12", color: "secondaryText" }, t("transferToken.receiveToken")),
34556
+ /* @__PURE__ */ React202.createElement(Box, { display: "flex", alignItems: "center", gap: "8" }, /* @__PURE__ */ React202.createElement(
34487
34557
  FunAssetAvatar,
34488
34558
  {
34489
34559
  assetIconSize: "16",
@@ -34492,9 +34562,9 @@ function TransferToken({
34492
34562
  chainId: defaultCandidate.tokenChainId,
34493
34563
  largeChainIcon: true
34494
34564
  }
34495
- ), /* @__PURE__ */ React201.createElement(Text, { size: "12", weight: "medium" }, defaultCandidate.tokenSymbol))
34565
+ ), /* @__PURE__ */ React202.createElement(Text, { size: "12", weight: "medium" }, defaultCandidate.tokenSymbol))
34496
34566
  ),
34497
- /* @__PURE__ */ React201.createElement(
34567
+ /* @__PURE__ */ React202.createElement(
34498
34568
  TokenAndChainDropdown,
34499
34569
  {
34500
34570
  isLoading: isLoadingDepositAddress,
@@ -34526,7 +34596,7 @@ function TransferToken({
34526
34596
  selectedToken,
34527
34597
  selectedChainId,
34528
34598
  chainTagComponent,
34529
- chainLabelAddon: !!minTransferUsd && /* @__PURE__ */ React201.createElement(
34599
+ chainLabelAddon: !!minTransferUsd && /* @__PURE__ */ React202.createElement(
34530
34600
  Box,
34531
34601
  {
34532
34602
  display: "flex",
@@ -34536,15 +34606,15 @@ function TransferToken({
34536
34606
  fontSize: "12",
34537
34607
  height: "14"
34538
34608
  },
34539
- /* @__PURE__ */ React201.createElement(Text, { size: "12", color: "secondaryText" }, t("transferToken.min")),
34540
- /* @__PURE__ */ React201.createElement(
34609
+ /* @__PURE__ */ React202.createElement(Text, { size: "12", color: "secondaryText" }, t("transferToken.min")),
34610
+ /* @__PURE__ */ React202.createElement(
34541
34611
  AnimatedDollarValue,
34542
34612
  {
34543
34613
  value: minTransferUsd,
34544
34614
  dynamicMinFractionDigits: true
34545
34615
  }
34546
34616
  ),
34547
- /* @__PURE__ */ React201.createElement(
34617
+ /* @__PURE__ */ React202.createElement(
34548
34618
  FunTooltip,
34549
34619
  {
34550
34620
  content: t("transferToken.minDepositAmountTooltip"),
@@ -34555,7 +34625,7 @@ function TransferToken({
34555
34625
  openChainDropdownFullWidth: false
34556
34626
  }
34557
34627
  ),
34558
- /* @__PURE__ */ React201.createElement(
34628
+ /* @__PURE__ */ React202.createElement(
34559
34629
  Box,
34560
34630
  {
34561
34631
  display: "flex",
@@ -34565,7 +34635,7 @@ function TransferToken({
34565
34635
  justifyContent: "center",
34566
34636
  padding: "20"
34567
34637
  },
34568
- isLoadingDepositAddress ? /* @__PURE__ */ React201.createElement(QRCodeSkeletonLoader_default, { diagonalDimension: 13, gapBetweenDots: "4" }) : /* @__PURE__ */ React201.createElement(
34638
+ isLoadingDepositAddress ? /* @__PURE__ */ React202.createElement(QRCodeSkeletonLoader_default, { diagonalDimension: 13, gapBetweenDots: "4" }) : /* @__PURE__ */ React202.createElement(
34569
34639
  motion12.div,
34570
34640
  {
34571
34641
  onHoverStart: toggleQrHover,
@@ -34585,7 +34655,7 @@ function TransferToken({
34585
34655
  },
34586
34656
  animate: controls
34587
34657
  },
34588
- /* @__PURE__ */ React201.createElement(
34658
+ /* @__PURE__ */ React202.createElement(
34589
34659
  QRCode,
34590
34660
  {
34591
34661
  withShadow: true,
@@ -34599,7 +34669,7 @@ function TransferToken({
34599
34669
  }
34600
34670
  )
34601
34671
  ),
34602
- displayYouPayYouReceive && /* @__PURE__ */ React201.createElement(Box, { display: "flex", justifyContent: "center", alignItems: "center" }, /* @__PURE__ */ React201.createElement(
34672
+ displayYouPayYouReceive && /* @__PURE__ */ React202.createElement(Box, { display: "flex", justifyContent: "center", alignItems: "center" }, /* @__PURE__ */ React202.createElement(
34603
34673
  YouPayYouReceive,
34604
34674
  {
34605
34675
  payLabel: textCustomizations.confirmationScreen?.payAmountLabel,
@@ -34614,7 +34684,7 @@ function TransferToken({
34614
34684
  }
34615
34685
  ))
34616
34686
  ),
34617
- /* @__PURE__ */ React201.createElement(Box, { width: "full", display: "flex", flexDirection: "column", gap: "12" }, /* @__PURE__ */ React201.createElement(Box, { width: "full", display: "flex", flexDirection: "column", gap: "4" }, /* @__PURE__ */ React201.createElement(
34687
+ /* @__PURE__ */ React202.createElement(Box, { width: "full", display: "flex", flexDirection: "column", gap: "12" }, /* @__PURE__ */ React202.createElement(Box, { width: "full", display: "flex", flexDirection: "column", gap: "4" }, /* @__PURE__ */ React202.createElement(
34618
34688
  Box,
34619
34689
  {
34620
34690
  display: "flex",
@@ -34622,7 +34692,7 @@ function TransferToken({
34622
34692
  justifyContent: "space-between",
34623
34693
  ref: disclaimerTextWrapperRef
34624
34694
  },
34625
- /* @__PURE__ */ React201.createElement(Box, { display: "flex", alignItems: "center", gap: "4" }, /* @__PURE__ */ React201.createElement(Text, { size: "12", weight: "medium" }, t("transferToken.yourDepositAddress")), /* @__PURE__ */ React201.createElement(
34695
+ /* @__PURE__ */ React202.createElement(Box, { display: "flex", alignItems: "center", gap: "4" }, /* @__PURE__ */ React202.createElement(Text, { size: "12", weight: "medium" }, t("transferToken.yourDepositAddress")), /* @__PURE__ */ React202.createElement(
34626
34696
  FunTooltip,
34627
34697
  {
34628
34698
  content: depositAddressTooltip,
@@ -34630,7 +34700,7 @@ function TransferToken({
34630
34700
  enableDynamicPositioning: true
34631
34701
  }
34632
34702
  )),
34633
- /* @__PURE__ */ React201.createElement(
34703
+ /* @__PURE__ */ React202.createElement(
34634
34704
  FunLinkButton,
34635
34705
  {
34636
34706
  text: t("transferToken.termsApply"),
@@ -34638,7 +34708,7 @@ function TransferToken({
34638
34708
  size: "12"
34639
34709
  }
34640
34710
  )
34641
- ), isLoadingDepositAddress ? /* @__PURE__ */ React201.createElement(FunSkeletonBlock, { height: "66", width: "full" }) : /* @__PURE__ */ React201.createElement(CopyInputDisplayedAddress, { address: depositAddress })), /* @__PURE__ */ React201.createElement(ChainInfoBanners, { chainId: selectedChainId }), /* @__PURE__ */ React201.createElement(FunInfoBanner, null), /* @__PURE__ */ React201.createElement(
34711
+ ), isLoadingDepositAddress ? /* @__PURE__ */ React202.createElement(FunSkeletonBlock, { height: "66", width: "full" }) : /* @__PURE__ */ React202.createElement(CopyInputDisplayedAddress, { address: depositAddress })), /* @__PURE__ */ React202.createElement(ChainInfoBanners, { chainId: selectedChainId }), /* @__PURE__ */ React202.createElement(FunInfoBanner, null), /* @__PURE__ */ React202.createElement(
34642
34712
  TransferTokenDetails,
34643
34713
  {
34644
34714
  estProcessingTime: blockchain === "bitcoin" ? 30 * 60 * 1e3 : void 0,
@@ -34647,23 +34717,23 @@ function TransferToken({
34647
34717
  maxSlippage
34648
34718
  }
34649
34719
  ))
34650
- )), bottomSectionRef && createPortal20(/* @__PURE__ */ React201.createElement(Dialog.BottomBar, null), bottomSectionRef))
34720
+ )), bottomSectionRef && createPortal20(/* @__PURE__ */ React202.createElement(Dialog.BottomBar, null), bottomSectionRef))
34651
34721
  );
34652
34722
  }
34653
34723
 
34654
34724
  // src/modals/CheckoutModal/VirtualFiatAccount/FiatAccountDetail.tsx
34655
- import React207, { useState as useState64 } from "react";
34725
+ import React208, { useState as useState64 } from "react";
34656
34726
 
34657
34727
  // src/components/Tabs/Tabs.tsx
34658
34728
  import { motion as motion13 } from "motion/react";
34659
- import React202 from "react";
34729
+ import React203 from "react";
34660
34730
 
34661
34731
  // src/components/Tabs/tabs.css.ts
34662
34732
  var activeTabStyle = "eghi2t1 _1rsrm2fm4 _1rsrm2ft";
34663
34733
 
34664
34734
  // src/components/Tabs/Tabs.tsx
34665
34735
  var Tabs = ({ tabs: tabs2, activeTab, onTabChange }) => {
34666
- return /* @__PURE__ */ React202.createElement(
34736
+ return /* @__PURE__ */ React203.createElement(
34667
34737
  Box,
34668
34738
  {
34669
34739
  display: "flex",
@@ -34674,7 +34744,7 @@ var Tabs = ({ tabs: tabs2, activeTab, onTabChange }) => {
34674
34744
  },
34675
34745
  tabs2.map((tab, index) => {
34676
34746
  const isSelected = index === activeTab;
34677
- return /* @__PURE__ */ React202.createElement(
34747
+ return /* @__PURE__ */ React203.createElement(
34678
34748
  Box,
34679
34749
  {
34680
34750
  key: tab.value,
@@ -34691,7 +34761,7 @@ var Tabs = ({ tabs: tabs2, activeTab, onTabChange }) => {
34691
34761
  focusedVisible: "primaryText"
34692
34762
  }
34693
34763
  },
34694
- isSelected && /* @__PURE__ */ React202.createElement(
34764
+ isSelected && /* @__PURE__ */ React203.createElement(
34695
34765
  motion13.div,
34696
34766
  {
34697
34767
  layoutId: "highlight",
@@ -34699,23 +34769,23 @@ var Tabs = ({ tabs: tabs2, activeTab, onTabChange }) => {
34699
34769
  transition: { duration: 0.2, ease: [0.17, 0, 0.01, 1] }
34700
34770
  }
34701
34771
  ),
34702
- /* @__PURE__ */ React202.createElement(Box, { position: "relative", style: { zIndex: 1, textAlign: "center" } }, /* @__PURE__ */ React202.createElement(Text, { color: "inherit", weight: "medium", size: "12" }, tab.label))
34772
+ /* @__PURE__ */ React203.createElement(Box, { position: "relative", style: { zIndex: 1, textAlign: "center" } }, /* @__PURE__ */ React203.createElement(Text, { color: "inherit", weight: "medium", size: "12" }, tab.label))
34703
34773
  );
34704
34774
  })
34705
34775
  );
34706
34776
  };
34707
34777
 
34708
34778
  // src/components/VirtualFiatAccount/AccountDetailsTab/AccountDetailsTab.tsx
34709
- import React206 from "react";
34779
+ import React207 from "react";
34710
34780
 
34711
34781
  // src/components/FunInputButton/FunInputButton.tsx
34712
- import React205 from "react";
34782
+ import React206 from "react";
34713
34783
 
34714
34784
  // src/components/Icons/CopyDoubleRoundedSquareIcon.tsx
34715
- import React203 from "react";
34785
+ import React204 from "react";
34716
34786
  var CopyDoubleRoundedSquareIcon = ({
34717
34787
  size = 16
34718
- }) => /* @__PURE__ */ React203.createElement(
34788
+ }) => /* @__PURE__ */ React204.createElement(
34719
34789
  "svg",
34720
34790
  {
34721
34791
  width: size,
@@ -34724,7 +34794,7 @@ var CopyDoubleRoundedSquareIcon = ({
34724
34794
  fill: "none",
34725
34795
  xmlns: "http://www.w3.org/2000/svg"
34726
34796
  },
34727
- /* @__PURE__ */ React203.createElement(
34797
+ /* @__PURE__ */ React204.createElement(
34728
34798
  "path",
34729
34799
  {
34730
34800
  d: "M10.2 5.8V4.26C10.2 3.64394 10.2 3.33591 10.0801 3.10061C9.97465 2.89363 9.80637 2.72535 9.59939 2.61989C9.36409 2.5 9.05606 2.5 8.44 2.5H4.26C3.64394 2.5 3.33591 2.5 3.10061 2.61989C2.89363 2.72535 2.72535 2.89363 2.61989 3.10061C2.5 3.33591 2.5 3.64394 2.5 4.26V8.44C2.5 9.05606 2.5 9.36409 2.61989 9.59939C2.72535 9.80637 2.89363 9.97465 3.10061 10.0801C3.33591 10.2 3.64394 10.2 4.26 10.2H5.8M7.56 13.5H11.74C12.3561 13.5 12.6641 13.5 12.8994 13.3801C13.1064 13.2746 13.2746 13.1064 13.3801 12.8994C13.5 12.6641 13.5 12.3561 13.5 11.74V7.56C13.5 6.94394 13.5 6.63591 13.3801 6.40061C13.2746 6.19363 13.1064 6.02535 12.8994 5.91989C12.6641 5.8 12.3561 5.8 11.74 5.8H7.56C6.94394 5.8 6.63591 5.8 6.40061 5.91989C6.19363 6.02535 6.02535 6.19363 5.91989 6.40061C5.8 6.63591 5.8 6.94394 5.8 7.56V11.74C5.8 12.3561 5.8 12.6641 5.91989 12.8994C6.02535 13.1064 6.19363 13.2746 6.40061 13.3801C6.63591 13.5 6.94394 13.5 7.56 13.5Z",
@@ -34737,9 +34807,9 @@ var CopyDoubleRoundedSquareIcon = ({
34737
34807
  );
34738
34808
 
34739
34809
  // src/components/Icons/New/CheckCircleIcon.tsx
34740
- import React204 from "react";
34810
+ import React205 from "react";
34741
34811
  var CheckCircleIcon = () => {
34742
- return /* @__PURE__ */ React204.createElement(
34812
+ return /* @__PURE__ */ React205.createElement(
34743
34813
  "svg",
34744
34814
  {
34745
34815
  width: "16",
@@ -34748,7 +34818,7 @@ var CheckCircleIcon = () => {
34748
34818
  fill: "none",
34749
34819
  xmlns: "http://www.w3.org/2000/svg"
34750
34820
  },
34751
- /* @__PURE__ */ React204.createElement(
34821
+ /* @__PURE__ */ React205.createElement(
34752
34822
  "circle",
34753
34823
  {
34754
34824
  cx: "8",
@@ -34760,7 +34830,7 @@ var CheckCircleIcon = () => {
34760
34830
  strokeLinejoin: "round"
34761
34831
  }
34762
34832
  ),
34763
- /* @__PURE__ */ React204.createElement(
34833
+ /* @__PURE__ */ React205.createElement(
34764
34834
  "path",
34765
34835
  {
34766
34836
  d: "M5.5 9L7 10.5L10.5 7",
@@ -34785,7 +34855,7 @@ var FunInputButton = ({
34785
34855
  const { t } = useFunkitTranslation();
34786
34856
  const { isCopied, handleCopy } = useCopyToClipboard(text, HIDE_TOOLTIP_MS);
34787
34857
  if (!isCopyable) {
34788
- return /* @__PURE__ */ React205.createElement(
34858
+ return /* @__PURE__ */ React206.createElement(
34789
34859
  FunOptionBox,
34790
34860
  {
34791
34861
  width: "full",
@@ -34804,10 +34874,10 @@ var FunInputButton = ({
34804
34874
  hover: "heavyStroke"
34805
34875
  }
34806
34876
  },
34807
- /* @__PURE__ */ React205.createElement(Box, { display: "flex", gap: "8", flexDirection: "column" }, label && /* @__PURE__ */ React205.createElement(Text, { size: "10", color: "secondaryText" }, label), /* @__PURE__ */ React205.createElement(Text, { weight: "medium", size: "12" }, text))
34877
+ /* @__PURE__ */ React206.createElement(Box, { display: "flex", gap: "8", flexDirection: "column" }, label && /* @__PURE__ */ React206.createElement(Text, { size: "10", color: "secondaryText" }, label), /* @__PURE__ */ React206.createElement(Text, { weight: "medium", size: "12" }, text))
34808
34878
  );
34809
34879
  }
34810
- return /* @__PURE__ */ React205.createElement(
34880
+ return /* @__PURE__ */ React206.createElement(
34811
34881
  FunOptionBox,
34812
34882
  {
34813
34883
  width: "full",
@@ -34827,8 +34897,8 @@ var FunInputButton = ({
34827
34897
  hover: "heavyStroke"
34828
34898
  }
34829
34899
  },
34830
- /* @__PURE__ */ React205.createElement(Box, { display: "flex", gap: "8", flexDirection: "column" }, label && /* @__PURE__ */ React205.createElement(Text, { size: "10", color: "secondaryText" }, label), /* @__PURE__ */ React205.createElement(Text, { weight: "medium", size: "12" }, text)),
34831
- /* @__PURE__ */ React205.createElement(FunTooltip, { content: isCopied ? t("common.copied") : t("common.copy") }, /* @__PURE__ */ React205.createElement(Box, { display: "flex", alignItems: "center", color: "primaryText" }, isCopied ? /* @__PURE__ */ React205.createElement(CheckCircleIcon, null) : /* @__PURE__ */ React205.createElement(CopyDoubleRoundedSquareIcon, null)))
34900
+ /* @__PURE__ */ React206.createElement(Box, { display: "flex", gap: "8", flexDirection: "column" }, label && /* @__PURE__ */ React206.createElement(Text, { size: "10", color: "secondaryText" }, label), /* @__PURE__ */ React206.createElement(Text, { weight: "medium", size: "12" }, text)),
34901
+ /* @__PURE__ */ React206.createElement(FunTooltip, { content: isCopied ? t("common.copied") : t("common.copy") }, /* @__PURE__ */ React206.createElement(Box, { display: "flex", alignItems: "center", color: "primaryText" }, isCopied ? /* @__PURE__ */ React206.createElement(CheckCircleIcon, null) : /* @__PURE__ */ React206.createElement(CopyDoubleRoundedSquareIcon, null)))
34832
34902
  );
34833
34903
  };
34834
34904
 
@@ -34839,62 +34909,62 @@ var AccountDetailsTab = ({
34839
34909
  handleToggleDetails
34840
34910
  }) => {
34841
34911
  const { t } = useFunkitTranslation();
34842
- return /* @__PURE__ */ React206.createElement(Box, { display: "flex", flexDirection: "column", gap: "8" }, account.bank_account_number ? /* @__PURE__ */ React206.createElement(
34912
+ return /* @__PURE__ */ React207.createElement(Box, { display: "flex", flexDirection: "column", gap: "8" }, account.bank_account_number ? /* @__PURE__ */ React207.createElement(
34843
34913
  FunInputButton,
34844
34914
  {
34845
34915
  label: t("virtualFiatAccount.accountNumber"),
34846
34916
  text: account.bank_account_number
34847
34917
  }
34848
- ) : null, account.bank_routing_number ? /* @__PURE__ */ React206.createElement(
34918
+ ) : null, account.bank_routing_number ? /* @__PURE__ */ React207.createElement(
34849
34919
  FunInputButton,
34850
34920
  {
34851
34921
  label: t("virtualFiatAccount.routingNumber"),
34852
34922
  text: account.bank_routing_number
34853
34923
  }
34854
- ) : null, account.iban ? /* @__PURE__ */ React206.createElement(
34924
+ ) : null, account.iban ? /* @__PURE__ */ React207.createElement(
34855
34925
  FunInputButton,
34856
34926
  {
34857
34927
  label: t("virtualFiatAccount.iban"),
34858
34928
  text: account.iban
34859
34929
  }
34860
- ) : null, account.bic ? /* @__PURE__ */ React206.createElement(
34930
+ ) : null, account.bic ? /* @__PURE__ */ React207.createElement(
34861
34931
  FunInputButton,
34862
34932
  {
34863
34933
  label: t("virtualFiatAccount.swiftBic"),
34864
34934
  text: account.bic
34865
34935
  }
34866
- ) : null, account.account_holder_name ? /* @__PURE__ */ React206.createElement(
34936
+ ) : null, account.account_holder_name ? /* @__PURE__ */ React207.createElement(
34867
34937
  FunInputButton,
34868
34938
  {
34869
34939
  label: t("virtualFiatAccount.accountHolderName"),
34870
34940
  text: account.account_holder_name
34871
34941
  }
34872
- ) : null, account.bank_beneficiary_name ? /* @__PURE__ */ React206.createElement(
34942
+ ) : null, account.bank_beneficiary_name ? /* @__PURE__ */ React207.createElement(
34873
34943
  FunInputButton,
34874
34944
  {
34875
34945
  label: t("virtualFiatAccount.beneficiaryName"),
34876
34946
  text: account.bank_beneficiary_name
34877
34947
  }
34878
- ) : null, detailsExpanded && /* @__PURE__ */ React206.createElement(React206.Fragment, null, /* @__PURE__ */ React206.createElement(
34948
+ ) : null, detailsExpanded && /* @__PURE__ */ React207.createElement(React207.Fragment, null, /* @__PURE__ */ React207.createElement(
34879
34949
  FunInputButton,
34880
34950
  {
34881
34951
  label: t("virtualFiatAccount.bankName"),
34882
34952
  text: account.bank_name
34883
34953
  }
34884
- ), /* @__PURE__ */ React206.createElement(
34954
+ ), /* @__PURE__ */ React207.createElement(
34885
34955
  FunInputButton,
34886
34956
  {
34887
34957
  label: t("virtualFiatAccount.bankAddress"),
34888
34958
  text: account.bank_address
34889
34959
  }
34890
- ), /* @__PURE__ */ React206.createElement(
34960
+ ), /* @__PURE__ */ React207.createElement(
34891
34961
  FunInputButton,
34892
34962
  {
34893
34963
  label: t("virtualFiatAccount.currency"),
34894
34964
  text: String(account.currency).toUpperCase(),
34895
34965
  isCopyable: false
34896
34966
  }
34897
- )), /* @__PURE__ */ React206.createElement(
34967
+ )), /* @__PURE__ */ React207.createElement(
34898
34968
  Box,
34899
34969
  {
34900
34970
  width: "full",
@@ -34914,8 +34984,8 @@ var AccountDetailsTab = ({
34914
34984
  hover: "heavyStroke"
34915
34985
  }
34916
34986
  },
34917
- /* @__PURE__ */ React206.createElement(Text, { size: "13" }, detailsExpanded ? "See less" : "More details"),
34918
- /* @__PURE__ */ React206.createElement(
34987
+ /* @__PURE__ */ React207.createElement(Text, { size: "13" }, detailsExpanded ? "See less" : "More details"),
34988
+ /* @__PURE__ */ React207.createElement(
34919
34989
  Box,
34920
34990
  {
34921
34991
  width: "16",
@@ -34924,7 +34994,7 @@ var AccountDetailsTab = ({
34924
34994
  alignItems: "center",
34925
34995
  justifyContent: "center"
34926
34996
  },
34927
- /* @__PURE__ */ React206.createElement(
34997
+ /* @__PURE__ */ React207.createElement(
34928
34998
  Box,
34929
34999
  {
34930
35000
  color: "secondaryText",
@@ -34935,7 +35005,7 @@ var AccountDetailsTab = ({
34935
35005
  justifyContent: "center",
34936
35006
  style: detailsExpanded ? { transform: "rotate(180deg)" } : void 0
34937
35007
  },
34938
- /* @__PURE__ */ React206.createElement(CaretDownIcon, null)
35008
+ /* @__PURE__ */ React207.createElement(CaretDownIcon, null)
34939
35009
  )
34940
35010
  )
34941
35011
  ));
@@ -34961,7 +35031,7 @@ var AccountDetailsScreen = ({
34961
35031
  const handleTabChange = (index) => {
34962
35032
  animate(() => setActiveTab(index), { reverse: index < activeTab });
34963
35033
  };
34964
- return /* @__PURE__ */ React207.createElement(
35034
+ return /* @__PURE__ */ React208.createElement(
34965
35035
  Box,
34966
35036
  {
34967
35037
  id: "fiat-detail-page",
@@ -34969,7 +35039,7 @@ var AccountDetailsScreen = ({
34969
35039
  flexDirection: "column",
34970
35040
  gap: "16"
34971
35041
  },
34972
- isSourceNavWidgetEnabled && /* @__PURE__ */ React207.createElement(
35042
+ isSourceNavWidgetEnabled && /* @__PURE__ */ React208.createElement(
34973
35043
  SourcePaymentMethodItem,
34974
35044
  {
34975
35045
  onClick: () => onNext({}),
@@ -34978,21 +35048,21 @@ var AccountDetailsScreen = ({
34978
35048
  keyIcon: label.icon
34979
35049
  }
34980
35050
  ),
34981
- /* @__PURE__ */ React207.createElement(Box, { display: "flex", flexDirection: "column", gap: "8" }, /* @__PURE__ */ React207.createElement(Box, { display: "flex", flexDirection: "column", gap: "12" }, /* @__PURE__ */ React207.createElement(
35051
+ /* @__PURE__ */ React208.createElement(Box, { display: "flex", flexDirection: "column", gap: "8" }, /* @__PURE__ */ React208.createElement(Box, { display: "flex", flexDirection: "column", gap: "12" }, /* @__PURE__ */ React208.createElement(
34982
35052
  Tabs,
34983
35053
  {
34984
35054
  tabs,
34985
35055
  activeTab,
34986
35056
  onTabChange: handleTabChange
34987
35057
  }
34988
- )), /* @__PURE__ */ React207.createElement(Box, { className: getContentAnimation(animation) }, tabs[activeTab]?.value === "details" ? /* @__PURE__ */ React207.createElement(
35058
+ )), /* @__PURE__ */ React208.createElement(Box, { className: getContentAnimation(animation) }, tabs[activeTab]?.value === "details" ? /* @__PURE__ */ React208.createElement(
34989
35059
  AccountDetailsTab,
34990
35060
  {
34991
35061
  account: sourceDeposit,
34992
35062
  detailsExpanded,
34993
35063
  handleToggleDetails: () => setDetailsExpanded((prev) => !prev)
34994
35064
  }
34995
- ) : /* @__PURE__ */ React207.createElement(
35065
+ ) : /* @__PURE__ */ React208.createElement(
34996
35066
  FunFeatureList,
34997
35067
  {
34998
35068
  gapBetweenItems: "8",
@@ -35006,7 +35076,7 @@ var AccountDetailsScreen = ({
35006
35076
  "Gas fee: < $5.00",
35007
35077
  "Banks fees may also apply"
35008
35078
  ],
35009
- icon: /* @__PURE__ */ React207.createElement(DollarIcon, null)
35079
+ icon: /* @__PURE__ */ React208.createElement(DollarIcon, null)
35010
35080
  },
35011
35081
  {
35012
35082
  text: "Limits",
@@ -35014,12 +35084,12 @@ var AccountDetailsScreen = ({
35014
35084
  "Minimum amount: 25 EUR",
35015
35085
  "Maximum amount: 20,000,000 EUR"
35016
35086
  ],
35017
- icon: /* @__PURE__ */ React207.createElement(DollarIcon, null)
35087
+ icon: /* @__PURE__ */ React208.createElement(DollarIcon, null)
35018
35088
  },
35019
35089
  {
35020
35090
  text: "Processing time",
35021
35091
  value: [FIAT_PROCESSING_TIME],
35022
- icon: /* @__PURE__ */ React207.createElement(SpeedometerIcon, null)
35092
+ icon: /* @__PURE__ */ React208.createElement(SpeedometerIcon, null)
35023
35093
  }
35024
35094
  ]
35025
35095
  }
@@ -35042,7 +35112,7 @@ var FiatAccountDetail = {
35042
35112
 
35043
35113
  // src/modals/CheckoutModal/VirtualFiatAccount/KycIframe.tsx
35044
35114
  import { BridgeCustomerStatus as BridgeCustomerStatus7 } from "@funkit/api-base";
35045
- import React208, { useCallback as useCallback44, useEffect as useEffect53, useMemo as useMemo47, useState as useState65 } from "react";
35115
+ import React209, { useCallback as useCallback44, useEffect as useEffect53, useMemo as useMemo47, useState as useState65 } from "react";
35046
35116
  function useIframeListener(listeners) {
35047
35117
  const handleMessage = useCallback44(
35048
35118
  (event) => {
@@ -35119,7 +35189,7 @@ function KycIframe({
35119
35189
  );
35120
35190
  const loading = isLinkLoading || iframeLoading;
35121
35191
  useIframeListener(listeners);
35122
- return /* @__PURE__ */ React208.createElement(
35192
+ return /* @__PURE__ */ React209.createElement(
35123
35193
  Dialog,
35124
35194
  {
35125
35195
  onClose: onBack,
@@ -35129,13 +35199,13 @@ function KycIframe({
35129
35199
  withoutBottomPadding: true,
35130
35200
  withTransition: false
35131
35201
  },
35132
- loading && /* @__PURE__ */ React208.createElement(React208.Fragment, null, /* @__PURE__ */ React208.createElement(
35202
+ loading && /* @__PURE__ */ React209.createElement(React209.Fragment, null, /* @__PURE__ */ React209.createElement(
35133
35203
  Dialog.Title,
35134
35204
  {
35135
35205
  onClose: onBack,
35136
35206
  title: textCustomizations.virtualFiat
35137
35207
  }
35138
- ), /* @__PURE__ */ React208.createElement(
35208
+ ), /* @__PURE__ */ React209.createElement(
35139
35209
  VerifyAccountScreen,
35140
35210
  {
35141
35211
  customerStatus: BridgeCustomerStatus7.NOT_STARTED,
@@ -35143,7 +35213,7 @@ function KycIframe({
35143
35213
  withActionButton: false
35144
35214
  }
35145
35215
  )),
35146
- /* @__PURE__ */ React208.createElement(
35216
+ /* @__PURE__ */ React209.createElement(
35147
35217
  Dialog.Content,
35148
35218
  {
35149
35219
  display: "flex",
@@ -35155,7 +35225,7 @@ function KycIframe({
35155
35225
  fullHeight: !loading,
35156
35226
  withoutInternalPadding: !loading
35157
35227
  },
35158
- kycLink && /* @__PURE__ */ React208.createElement(
35228
+ kycLink && /* @__PURE__ */ React209.createElement(
35159
35229
  "iframe",
35160
35230
  {
35161
35231
  src: kycLink,
@@ -35170,14 +35240,14 @@ function KycIframe({
35170
35240
  }
35171
35241
  )
35172
35242
  ),
35173
- loading && /* @__PURE__ */ React208.createElement(
35243
+ loading && /* @__PURE__ */ React209.createElement(
35174
35244
  Dialog.BottomSection,
35175
35245
  {
35176
35246
  style: {
35177
35247
  paddingBottom: themeVars.spacing.modalPaddingBottomLower
35178
35248
  }
35179
35249
  },
35180
- /* @__PURE__ */ React208.createElement(
35250
+ /* @__PURE__ */ React209.createElement(
35181
35251
  Dialog.BottomBar,
35182
35252
  {
35183
35253
  actionButtonProps: {
@@ -35511,7 +35581,7 @@ function FunCheckoutModalHeightAnimationWrapper({
35511
35581
  }
35512
35582
  }, [checkoutStep]);
35513
35583
  const permittedHeight = getPermittedHeight(checkoutStep);
35514
- return /* @__PURE__ */ React209.createElement(
35584
+ return /* @__PURE__ */ React210.createElement(
35515
35585
  motion14.div,
35516
35586
  {
35517
35587
  style: { height },
@@ -35521,7 +35591,7 @@ function FunCheckoutModalHeightAnimationWrapper({
35521
35591
  },
35522
35592
  transition: { duration: 0.15, ease: [0.33, 1, 0.68, 1] }
35523
35593
  },
35524
- /* @__PURE__ */ React209.createElement(
35594
+ /* @__PURE__ */ React210.createElement(
35525
35595
  "div",
35526
35596
  {
35527
35597
  ref: containerRef,
@@ -35548,14 +35618,14 @@ function useCheckoutModalTitle(depositAddress, defaultTitle) {
35548
35618
  import { IN_PROGRESS_CHECKOUT_STATES as IN_PROGRESS_CHECKOUT_STATES2 } from "@funkit/api-base";
35549
35619
  import { formatTimestampToDate, fullMonthNames } from "@funkit/utils";
35550
35620
  import clsx23 from "clsx";
35551
- import React218, { useEffect as useEffect55, useMemo as useMemo48, useRef as useRef29, useState as useState69 } from "react";
35621
+ import React219, { useEffect as useEffect55, useMemo as useMemo48, useRef as useRef29, useState as useState69 } from "react";
35552
35622
  import { Virtuoso } from "react-virtuoso";
35553
35623
  import { useAccount as useAccount7 } from "wagmi";
35554
35624
 
35555
35625
  // src/components/Icons/GreenRoundCheckmark.tsx
35556
- import React210 from "react";
35626
+ import React211 from "react";
35557
35627
  var GreenRoundCheckmark = ({ size = 15 }) => {
35558
- return /* @__PURE__ */ React210.createElement(
35628
+ return /* @__PURE__ */ React211.createElement(
35559
35629
  "svg",
35560
35630
  {
35561
35631
  width: size,
@@ -35564,7 +35634,7 @@ var GreenRoundCheckmark = ({ size = 15 }) => {
35564
35634
  fill: "none",
35565
35635
  xmlns: "http://www.w3.org/2000/svg"
35566
35636
  },
35567
- /* @__PURE__ */ React210.createElement(
35637
+ /* @__PURE__ */ React211.createElement(
35568
35638
  "path",
35569
35639
  {
35570
35640
  d: "M5 10.4551C4.31315 10.4551 3.66862 10.3249 3.06641 10.0645C2.46419 9.80729 1.93522 9.45085 1.47949 8.99512C1.02376 8.53613 0.66569 8.00716 0.405273 7.4082C0.148112 6.80599 0.0195312 6.16146 0.0195312 5.47461C0.0195312 4.78776 0.148112 4.14323 0.405273 3.54102C0.66569 2.9388 1.02376 2.40983 1.47949 1.9541C1.93522 1.49837 2.46419 1.14193 3.06641 0.884766C3.66862 0.624349 4.31315 0.494141 5 0.494141C5.68685 0.494141 6.33138 0.624349 6.93359 0.884766C7.53581 1.14193 8.06478 1.49837 8.52051 1.9541C8.97624 2.40983 9.33268 2.9388 9.58984 3.54102C9.85026 4.14323 9.98047 4.78776 9.98047 5.47461C9.98047 6.16146 9.85026 6.80599 9.58984 7.4082C9.33268 8.00716 8.97624 8.53613 8.52051 8.99512C8.06478 9.45085 7.53581 9.80729 6.93359 10.0645C6.33138 10.3249 5.68685 10.4551 5 10.4551ZM4.45312 7.85742C4.53776 7.85742 4.61426 7.83789 4.68262 7.79883C4.75098 7.75977 4.8112 7.70117 4.86328 7.62305L7.1582 4.00488C7.1875 3.95605 7.21517 3.90397 7.24121 3.84863C7.26725 3.79329 7.28027 3.73796 7.28027 3.68262C7.28027 3.56868 7.23796 3.47917 7.15332 3.41406C7.06868 3.3457 6.97428 3.31152 6.87012 3.31152C6.72689 3.31152 6.6097 3.38639 6.51855 3.53613L4.43359 6.88574L3.44238 5.60645C3.38053 5.52507 3.32031 5.46973 3.26172 5.44043C3.20638 5.41113 3.1429 5.39648 3.07129 5.39648C2.96061 5.39648 2.86784 5.43717 2.79297 5.51855C2.7181 5.59668 2.68066 5.69108 2.68066 5.80176C2.68066 5.8571 2.69043 5.91243 2.70996 5.96777C2.73275 6.01986 2.76204 6.07031 2.79785 6.11914L4.02344 7.62305C4.08854 7.70768 4.15527 7.7679 4.22363 7.80371C4.29199 7.83952 4.36849 7.85742 4.45312 7.85742Z",
@@ -35575,10 +35645,10 @@ var GreenRoundCheckmark = ({ size = 15 }) => {
35575
35645
  };
35576
35646
 
35577
35647
  // src/modals/ProfileDetails/FunProfileViews/Home/BalanceSection.tsx
35578
- import React211 from "react";
35648
+ import React212 from "react";
35579
35649
  import { formatCurrencyAndStringify as formatCurrencyAndStringify12 } from "@funkit/utils";
35580
35650
  var BalanceSection = ({ totalBalance }) => {
35581
- return /* @__PURE__ */ React211.createElement(Box, { display: "flex", flexDirection: "column", gap: "16" }, /* @__PURE__ */ React211.createElement(Box, { display: "flex", justifyContent: "center", alignItems: "center" }, /* @__PURE__ */ React211.createElement(Text, { as: "h1", color: "primaryText", weight: "medium", size: "40" }, formatCurrencyAndStringify12(
35651
+ return /* @__PURE__ */ React212.createElement(Box, { display: "flex", flexDirection: "column", gap: "16" }, /* @__PURE__ */ React212.createElement(Box, { display: "flex", justifyContent: "center", alignItems: "center" }, /* @__PURE__ */ React212.createElement(Text, { as: "h1", color: "primaryText", weight: "medium", size: "40" }, formatCurrencyAndStringify12(
35582
35652
  Number.parseFloat(totalBalance.toString())
35583
35653
  ))));
35584
35654
  };
@@ -35597,12 +35667,12 @@ import {
35597
35667
  isNotNullish as isNotNullish8
35598
35668
  } from "@funkit/utils";
35599
35669
  import clsx22 from "clsx";
35600
- import React213 from "react";
35670
+ import React214 from "react";
35601
35671
 
35602
35672
  // src/components/Icons/RedRoundErrorCross.tsx
35603
- import React212 from "react";
35673
+ import React213 from "react";
35604
35674
  var RedRoundErrorCross = ({ size = 15 }) => {
35605
- return /* @__PURE__ */ React212.createElement(
35675
+ return /* @__PURE__ */ React213.createElement(
35606
35676
  "svg",
35607
35677
  {
35608
35678
  width: size,
@@ -35611,8 +35681,8 @@ var RedRoundErrorCross = ({ size = 15 }) => {
35611
35681
  fill: "none",
35612
35682
  xmlns: "http://www.w3.org/2000/svg"
35613
35683
  },
35614
- /* @__PURE__ */ React212.createElement("circle", { cx: "4", cy: "4.5", r: "4", fill: "#F34126" }),
35615
- /* @__PURE__ */ React212.createElement(
35684
+ /* @__PURE__ */ React213.createElement("circle", { cx: "4", cy: "4.5", r: "4", fill: "#F34126" }),
35685
+ /* @__PURE__ */ React213.createElement(
35616
35686
  "path",
35617
35687
  {
35618
35688
  d: "M2.57111 2.59761L4 4.02654L5.42889 2.59761C5.54807 2.47844 5.7369 2.46734 5.87797 2.57755L5.90238 2.59979C6.03254 2.72994 6.03254 2.94096 5.90238 3.07111L4.47346 4.5L5.90238 5.92889C6.02156 6.04806 6.03266 6.2369 5.92244 6.37797L5.90022 6.40239C5.77007 6.53254 5.55904 6.53254 5.42888 6.40238L4 4.97346L2.57111 6.40239C2.45193 6.52156 2.2631 6.53266 2.12203 6.42245L2.09761 6.40021C1.96746 6.27006 1.96746 6.05904 2.09761 5.92889L3.52654 4.5L2.09761 3.07111C1.97844 2.95194 1.96734 2.7631 2.07755 2.62203L2.09978 2.59761C2.22993 2.46746 2.44095 2.46746 2.57111 2.59761ZM2.36024 6.33149L2.35293 6.33242C2.35536 6.33217 2.3578 6.33185 2.36024 6.33149ZM2.31088 6.33152L2.31385 6.33194L2.31088 6.33152ZM2.3814 6.3269L2.37242 6.3292C2.37542 6.32852 2.37842 6.32775 2.3814 6.3269ZM2.40026 6.32026L2.39333 6.323C2.39564 6.32215 2.39795 6.32123 2.40026 6.32026ZM2.25106 6.31043L2.23334 6.29839C2.24074 6.30415 2.2485 6.30919 2.25656 6.31353L2.25106 6.31043ZM2.41976 6.31047L2.4144 6.31349C2.4144 6.31349 2.41796 6.31153 2.41976 6.31047ZM5.81353 6.24343L5.81042 6.24894L5.79839 6.26667C5.80415 6.25927 5.80919 6.25149 5.81353 6.24343ZM5.82275 6.2231L5.82025 6.22939C5.82114 6.22729 5.82197 6.2252 5.82275 6.2231ZM5.82913 6.20184L5.82703 6.21006C5.82778 6.20739 5.8285 6.20462 5.82913 6.20184ZM5.83241 6.18215L5.83152 6.18912C5.83186 6.18683 5.83216 6.18449 5.83241 6.18215ZM5.66455 2.83328L4 4.49787L2.33545 2.83328L2.33327 2.83545L3.99787 4.5L2.33327 6.16455L2.33545 6.16672L4 4.50213L5.66455 6.16672L5.66673 6.16455L4.00213 4.5L5.66673 2.83545L5.66455 2.83328ZM5.83331 6.16189L5.83332 6.16672L5.83331 6.16189ZM5.83149 6.13977L5.83242 6.14707C5.83216 6.14465 5.83186 6.1422 5.83149 6.13977ZM5.8269 6.1186L5.8292 6.12758C5.82852 6.12458 5.82776 6.12158 5.8269 6.1186ZM5.82026 6.09974L5.823 6.10667C5.82214 6.10436 5.82123 6.10204 5.82026 6.09974ZM5.81048 6.08024L5.81349 6.0856C5.81349 6.0856 5.81153 6.08203 5.81048 6.08024ZM2.18651 2.9144L2.18903 2.9189L2.18651 2.9144ZM2.177 2.89333L2.17924 2.89907C2.17845 2.89716 2.17772 2.89526 2.177 2.89333ZM2.1708 2.87242L2.17226 2.87835C2.17174 2.87638 2.17125 2.87441 2.1708 2.87242ZM2.16751 2.85227L2.16806 2.85705L2.16751 2.85227ZM2.16674 2.83061L2.16667 2.83545L2.16674 2.83061ZM2.16848 2.81088L2.16806 2.81385L2.16848 2.81088ZM2.18957 2.75106L2.20161 2.73333C2.19585 2.74073 2.1908 2.74851 2.18647 2.75657L2.18957 2.75106ZM2.41433 2.68647L2.41984 2.68957L2.43756 2.70161C2.43016 2.69585 2.42238 2.69081 2.41433 2.68647ZM5.5856 2.68651L5.5811 2.68903L5.5856 2.68651ZM2.2565 2.68651L2.25199 2.68903L2.2565 2.68651ZM5.74344 2.68647L5.74894 2.68957L5.76666 2.70161C5.75926 2.69585 5.75149 2.69081 5.74344 2.68647ZM2.27691 2.67725L2.27183 2.67924L2.27691 2.67725ZM2.3933 2.67699L2.40029 2.67975C2.39796 2.67877 2.39564 2.67785 2.3933 2.67699ZM5.60667 2.677L5.60093 2.67924C5.60284 2.67846 5.60473 2.67771 5.60667 2.677ZM5.7231 2.67725L5.72939 2.67975C5.72729 2.67887 5.7252 2.67804 5.7231 2.67725ZM2.29821 2.67086L2.29254 2.67226L2.29821 2.67086ZM2.37241 2.6708L2.38143 2.6731C2.37842 2.67225 2.37542 2.67148 2.37241 2.6708ZM5.62758 2.6708L5.62165 2.67226C5.62363 2.67173 5.62559 2.67125 5.62758 2.6708ZM5.70184 2.67087L5.71006 2.67297C5.7074 2.67221 5.70463 2.67151 5.70184 2.67087ZM2.31856 2.66752L2.31385 2.66806L2.31856 2.66752ZM2.35224 2.66751L2.36022 2.66851C2.35757 2.66811 2.35491 2.66778 2.35224 2.66751ZM5.64774 2.66751L5.64295 2.66806L5.64774 2.66751ZM5.68148 2.66752L5.68912 2.66848C5.68661 2.6681 5.68405 2.66778 5.68148 2.66752ZM5.65972 2.66674L5.66941 2.66674C5.66618 2.66664 5.66295 2.66664 5.65972 2.66674ZM2.33059 2.66674L2.34028 2.66674C2.33705 2.66664 2.33382 2.66664 2.33059 2.66674Z",
@@ -35648,7 +35718,7 @@ var HomeCheckoutDisplayRow = ({
35648
35718
  const checkoutClientMetadata = checkoutHistoryItem.clientMetadata;
35649
35719
  const getStatusElement = () => {
35650
35720
  if (isCompleted) {
35651
- return /* @__PURE__ */ React213.createElement(
35721
+ return /* @__PURE__ */ React214.createElement(
35652
35722
  Box,
35653
35723
  {
35654
35724
  display: "flex",
@@ -35656,12 +35726,12 @@ var HomeCheckoutDisplayRow = ({
35656
35726
  gap: STATUS_FLEX_GAP_X,
35657
35727
  alignItems: "center"
35658
35728
  },
35659
- /* @__PURE__ */ React213.createElement(GreenRoundCheckmark, { size: Number.parseInt(STATUS_ICON_SIZE) }),
35660
- /* @__PURE__ */ React213.createElement(Text, { size: STATUS_TEXT_SIZE, color: "success" }, t("checkoutHistory.completed"))
35729
+ /* @__PURE__ */ React214.createElement(GreenRoundCheckmark, { size: Number.parseInt(STATUS_ICON_SIZE) }),
35730
+ /* @__PURE__ */ React214.createElement(Text, { size: STATUS_TEXT_SIZE, color: "success" }, t("checkoutHistory.completed"))
35661
35731
  );
35662
35732
  }
35663
35733
  if (isError || isFailed || isExpired) {
35664
- return /* @__PURE__ */ React213.createElement(
35734
+ return /* @__PURE__ */ React214.createElement(
35665
35735
  Box,
35666
35736
  {
35667
35737
  display: "flex",
@@ -35669,12 +35739,12 @@ var HomeCheckoutDisplayRow = ({
35669
35739
  gap: STATUS_FLEX_GAP_X,
35670
35740
  alignItems: "center"
35671
35741
  },
35672
- /* @__PURE__ */ React213.createElement(RedRoundErrorCross, { size: Number.parseInt(STATUS_ICON_SIZE) }),
35673
- /* @__PURE__ */ React213.createElement(Text, { size: STATUS_TEXT_SIZE, color: "error" }, t("checkoutHistory.failed"))
35742
+ /* @__PURE__ */ React214.createElement(RedRoundErrorCross, { size: Number.parseInt(STATUS_ICON_SIZE) }),
35743
+ /* @__PURE__ */ React214.createElement(Text, { size: STATUS_TEXT_SIZE, color: "error" }, t("checkoutHistory.failed"))
35674
35744
  );
35675
35745
  }
35676
35746
  if (isProcessing) {
35677
- return /* @__PURE__ */ React213.createElement(
35747
+ return /* @__PURE__ */ React214.createElement(
35678
35748
  Box,
35679
35749
  {
35680
35750
  display: "flex",
@@ -35682,7 +35752,7 @@ var HomeCheckoutDisplayRow = ({
35682
35752
  gap: STATUS_FLEX_GAP_X,
35683
35753
  alignItems: "center"
35684
35754
  },
35685
- /* @__PURE__ */ React213.createElement(
35755
+ /* @__PURE__ */ React214.createElement(
35686
35756
  Box,
35687
35757
  {
35688
35758
  width: STATUS_ICON_SIZE,
@@ -35691,13 +35761,13 @@ var HomeCheckoutDisplayRow = ({
35691
35761
  background: "standby"
35692
35762
  }
35693
35763
  ),
35694
- /* @__PURE__ */ React213.createElement(Text, { size: STATUS_TEXT_SIZE, color: "standby" }, t("checkoutHistory.processing"))
35764
+ /* @__PURE__ */ React214.createElement(Text, { size: STATUS_TEXT_SIZE, color: "standby" }, t("checkoutHistory.processing"))
35695
35765
  );
35696
35766
  }
35697
35767
  };
35698
35768
  const checkoutConfig = checkoutClientMetadata.initSettings.config;
35699
35769
  const showIcon = isNotNullish8(checkoutConfig.iconSrc) || checkoutClientMetadata.isWithdrawal;
35700
- return /* @__PURE__ */ React213.createElement(
35770
+ return /* @__PURE__ */ React214.createElement(
35701
35771
  Box,
35702
35772
  {
35703
35773
  className: clsx22(
@@ -35722,7 +35792,7 @@ var HomeCheckoutDisplayRow = ({
35722
35792
  }
35723
35793
  }
35724
35794
  },
35725
- /* @__PURE__ */ React213.createElement(Box, { display: "flex", alignItems: "center", gap: ROW_FLEX_GAP_X, width: "full" }, showIcon && /* @__PURE__ */ React213.createElement(
35795
+ /* @__PURE__ */ React214.createElement(Box, { display: "flex", alignItems: "center", gap: ROW_FLEX_GAP_X, width: "full" }, showIcon && /* @__PURE__ */ React214.createElement(
35726
35796
  Box,
35727
35797
  {
35728
35798
  display: "flex",
@@ -35733,7 +35803,7 @@ var HomeCheckoutDisplayRow = ({
35733
35803
  minWidth: "29px"
35734
35804
  }
35735
35805
  },
35736
- /* @__PURE__ */ React213.createElement(
35806
+ /* @__PURE__ */ React214.createElement(
35737
35807
  FunAssetAvatar,
35738
35808
  {
35739
35809
  assetSrc: checkoutConfig.iconSrc || "",
@@ -35744,7 +35814,7 @@ var HomeCheckoutDisplayRow = ({
35744
35814
  chainId: checkoutConfig.targetChain
35745
35815
  }
35746
35816
  )
35747
- ), /* @__PURE__ */ React213.createElement(Box, { display: "flex", flexDirection: "column", width: "full" }, /* @__PURE__ */ React213.createElement(
35817
+ ), /* @__PURE__ */ React214.createElement(Box, { display: "flex", flexDirection: "column", width: "full" }, /* @__PURE__ */ React214.createElement(
35748
35818
  Box,
35749
35819
  {
35750
35820
  display: "flex",
@@ -35752,19 +35822,19 @@ var HomeCheckoutDisplayRow = ({
35752
35822
  alignItems: "center",
35753
35823
  gap: "16"
35754
35824
  },
35755
- /* @__PURE__ */ React213.createElement(Text, { size: TEXT_SIZE_MEDIUM2, weight: "medium", color: "primaryText" }, checkoutConfig.checkoutItemTitle),
35756
- /* @__PURE__ */ React213.createElement(Text, { size: TEXT_SIZE_MEDIUM2, weight: "medium", color: "primaryText" }, `${formatCurrencyAndStringify13(
35825
+ /* @__PURE__ */ React214.createElement(Text, { size: TEXT_SIZE_MEDIUM2, weight: "medium", color: "primaryText" }, checkoutConfig.checkoutItemTitle),
35826
+ /* @__PURE__ */ React214.createElement(Text, { size: TEXT_SIZE_MEDIUM2, weight: "medium", color: "primaryText" }, `${formatCurrencyAndStringify13(
35757
35827
  checkoutClientMetadata?.finalDollarValue || 0
35758
35828
  )} USD`)
35759
- ), /* @__PURE__ */ React213.createElement(Box, { display: "flex", justifyContent: "space-between", gap: "16" }, /* @__PURE__ */ React213.createElement(Text, { size: TEXT_SIZE_SMALL2, color: "secondaryText" }, formatTimestamp3(new Date(checkoutHistoryItem.createdTimeMs), {
35829
+ ), /* @__PURE__ */ React214.createElement(Box, { display: "flex", justifyContent: "space-between", gap: "16" }, /* @__PURE__ */ React214.createElement(Text, { size: TEXT_SIZE_SMALL2, color: "secondaryText" }, formatTimestamp3(new Date(checkoutHistoryItem.createdTimeMs), {
35760
35830
  year: "none",
35761
35831
  seconds: "none",
35762
35832
  month: "short"
35763
- })), /* @__PURE__ */ React213.createElement(Box, null, getStatusElement()))))
35833
+ })), /* @__PURE__ */ React214.createElement(Box, null, getStatusElement()))))
35764
35834
  );
35765
35835
  };
35766
35836
  var HomeCheckoutDisplayRowSkeleton = () => {
35767
- return /* @__PURE__ */ React213.createElement(
35837
+ return /* @__PURE__ */ React214.createElement(
35768
35838
  Box,
35769
35839
  {
35770
35840
  display: "flex",
@@ -35774,8 +35844,8 @@ var HomeCheckoutDisplayRowSkeleton = () => {
35774
35844
  paddingX: PROFILE_SIDE_PADDING,
35775
35845
  paddingY: ROW_PADDING_Y
35776
35846
  },
35777
- /* @__PURE__ */ React213.createElement(FunSkeletonCircle, { size: DEFAULT_ICON_SIZE }),
35778
- /* @__PURE__ */ React213.createElement(Box, { display: "flex", flexDirection: "column", style: { flexGrow: 1 } }, /* @__PURE__ */ React213.createElement(
35847
+ /* @__PURE__ */ React214.createElement(FunSkeletonCircle, { size: DEFAULT_ICON_SIZE }),
35848
+ /* @__PURE__ */ React214.createElement(Box, { display: "flex", flexDirection: "column", style: { flexGrow: 1 } }, /* @__PURE__ */ React214.createElement(
35779
35849
  FunSkeletonBlock,
35780
35850
  {
35781
35851
  height: TEXT_SIZE_MEDIUM2,
@@ -35783,7 +35853,7 @@ var HomeCheckoutDisplayRowSkeleton = () => {
35783
35853
  marginTop: TEXT_SKELETON_MARGIN_TOP2,
35784
35854
  width: TEXT_SKELETON_WIDTH_LONG2
35785
35855
  }
35786
- ), /* @__PURE__ */ React213.createElement(
35856
+ ), /* @__PURE__ */ React214.createElement(
35787
35857
  FunSkeletonBlock,
35788
35858
  {
35789
35859
  height: TEXT_SIZE_SMALL2,
@@ -35792,7 +35862,7 @@ var HomeCheckoutDisplayRowSkeleton = () => {
35792
35862
  width: TEXT_SKELETON_WIDTH_MEDIUM
35793
35863
  }
35794
35864
  )),
35795
- /* @__PURE__ */ React213.createElement(Box, { alignItems: "flex-end", display: "flex", flexDirection: "column" }, /* @__PURE__ */ React213.createElement(
35865
+ /* @__PURE__ */ React214.createElement(Box, { alignItems: "flex-end", display: "flex", flexDirection: "column" }, /* @__PURE__ */ React214.createElement(
35796
35866
  FunSkeletonBlock,
35797
35867
  {
35798
35868
  height: TEXT_SIZE_MEDIUM2,
@@ -35800,7 +35870,7 @@ var HomeCheckoutDisplayRowSkeleton = () => {
35800
35870
  marginTop: TEXT_SKELETON_MARGIN_TOP2,
35801
35871
  width: TEXT_SKELETON_WIDTH_MEDIUM
35802
35872
  }
35803
- ), /* @__PURE__ */ React213.createElement(
35873
+ ), /* @__PURE__ */ React214.createElement(
35804
35874
  FunSkeletonBlock,
35805
35875
  {
35806
35876
  height: STATUS_TEXT_SIZE,
@@ -35818,7 +35888,7 @@ import {
35818
35888
  formatCurrencyAndStringify as formatCurrencyAndStringify14,
35819
35889
  isMobile as isMobile9
35820
35890
  } from "@funkit/utils";
35821
- import React214 from "react";
35891
+ import React215 from "react";
35822
35892
  var TEXT_SIZE = "13";
35823
35893
  var TEXT_SKELETON_MARGIN_TOP3 = "2";
35824
35894
  var TEXT_SKELETON_MARGIN_BOTTOM3 = "3";
@@ -35833,7 +35903,7 @@ var HomeTokenBalanceDisplayRow = ({
35833
35903
  asset.tokenBalance,
35834
35904
  asset.decimals
35835
35905
  );
35836
- return /* @__PURE__ */ React214.createElement(
35906
+ return /* @__PURE__ */ React215.createElement(
35837
35907
  Box,
35838
35908
  {
35839
35909
  display: "flex",
@@ -35847,7 +35917,7 @@ var HomeTokenBalanceDisplayRow = ({
35847
35917
  paddingY: ROW_PADDING_Y2,
35848
35918
  className: baseStyles4
35849
35919
  },
35850
- /* @__PURE__ */ React214.createElement(
35920
+ /* @__PURE__ */ React215.createElement(
35851
35921
  Box,
35852
35922
  {
35853
35923
  display: "flex",
@@ -35856,7 +35926,7 @@ var HomeTokenBalanceDisplayRow = ({
35856
35926
  alignItems: "flex-start",
35857
35927
  height: "full"
35858
35928
  },
35859
- /* @__PURE__ */ React214.createElement(
35929
+ /* @__PURE__ */ React215.createElement(
35860
35930
  FunAssetAvatar,
35861
35931
  {
35862
35932
  assetSrc: asset.logo,
@@ -35866,22 +35936,22 @@ var HomeTokenBalanceDisplayRow = ({
35866
35936
  assetIconSize: DEFAULT_ICON_SIZE
35867
35937
  }
35868
35938
  ),
35869
- /* @__PURE__ */ React214.createElement(
35939
+ /* @__PURE__ */ React215.createElement(
35870
35940
  Box,
35871
35941
  {
35872
35942
  display: "flex",
35873
35943
  flexDirection: "column",
35874
35944
  justifyContent: "space-between"
35875
35945
  },
35876
- /* @__PURE__ */ React214.createElement(Text, { color: "primaryText", size: TEXT_SIZE, weight: "regular" }, asset.name),
35877
- /* @__PURE__ */ React214.createElement(Text, { color: "secondaryText", size: TEXT_SIZE, weight: "regular" }, formatCryptoAndStringify8(normalizedAmount, asset.symbol))
35946
+ /* @__PURE__ */ React215.createElement(Text, { color: "primaryText", size: TEXT_SIZE, weight: "regular" }, asset.name),
35947
+ /* @__PURE__ */ React215.createElement(Text, { color: "secondaryText", size: TEXT_SIZE, weight: "regular" }, formatCryptoAndStringify8(normalizedAmount, asset.symbol))
35878
35948
  )
35879
35949
  ),
35880
- /* @__PURE__ */ React214.createElement(Text, { color: "primaryText", size: TEXT_SIZE, weight: "regular" }, formatCurrencyAndStringify14(asset.totalUsdValue || 0))
35950
+ /* @__PURE__ */ React215.createElement(Text, { color: "primaryText", size: TEXT_SIZE, weight: "regular" }, formatCurrencyAndStringify14(asset.totalUsdValue || 0))
35881
35951
  );
35882
35952
  };
35883
35953
  var HomeTokenBalanceDisplayRowSkeleton = () => {
35884
- return /* @__PURE__ */ React214.createElement(
35954
+ return /* @__PURE__ */ React215.createElement(
35885
35955
  Box,
35886
35956
  {
35887
35957
  display: "flex",
@@ -35891,8 +35961,8 @@ var HomeTokenBalanceDisplayRowSkeleton = () => {
35891
35961
  paddingX: PROFILE_SIDE_PADDING,
35892
35962
  paddingY: ROW_PADDING_Y2
35893
35963
  },
35894
- /* @__PURE__ */ React214.createElement(FunSkeletonCircle, { size: DEFAULT_ICON_SIZE }),
35895
- /* @__PURE__ */ React214.createElement(Box, { display: "flex", flexDirection: "column", style: { flexGrow: 1 } }, /* @__PURE__ */ React214.createElement(
35964
+ /* @__PURE__ */ React215.createElement(FunSkeletonCircle, { size: DEFAULT_ICON_SIZE }),
35965
+ /* @__PURE__ */ React215.createElement(Box, { display: "flex", flexDirection: "column", style: { flexGrow: 1 } }, /* @__PURE__ */ React215.createElement(
35896
35966
  FunSkeletonBlock,
35897
35967
  {
35898
35968
  height: TEXT_SIZE,
@@ -35900,7 +35970,7 @@ var HomeTokenBalanceDisplayRowSkeleton = () => {
35900
35970
  marginTop: TEXT_SKELETON_MARGIN_TOP3,
35901
35971
  width: TEXT_SKELETON_WIDTH_SHORT3
35902
35972
  }
35903
- ), /* @__PURE__ */ React214.createElement(
35973
+ ), /* @__PURE__ */ React215.createElement(
35904
35974
  FunSkeletonBlock,
35905
35975
  {
35906
35976
  height: TEXT_SIZE,
@@ -35909,7 +35979,7 @@ var HomeTokenBalanceDisplayRowSkeleton = () => {
35909
35979
  width: TEXT_SKELETON_WIDTH_LONG3
35910
35980
  }
35911
35981
  )),
35912
- /* @__PURE__ */ React214.createElement(
35982
+ /* @__PURE__ */ React215.createElement(
35913
35983
  FunSkeletonBlock,
35914
35984
  {
35915
35985
  height: TEXT_SIZE,
@@ -35922,13 +35992,13 @@ var HomeTokenBalanceDisplayRowSkeleton = () => {
35922
35992
  };
35923
35993
 
35924
35994
  // src/modals/ProfileDetails/FunProfileViews/Home/ProfileTitleSection.tsx
35925
- import React217 from "react";
35995
+ import React218 from "react";
35926
35996
  import { useCallback as useCallback46, useState as useState68 } from "react";
35927
35997
 
35928
35998
  // src/components/Icons/LogoutIcon.tsx
35929
- import React215 from "react";
35999
+ import React216 from "react";
35930
36000
  var LogoutIcon = ({ size = 16 }) => {
35931
- return /* @__PURE__ */ React215.createElement(
36001
+ return /* @__PURE__ */ React216.createElement(
35932
36002
  "svg",
35933
36003
  {
35934
36004
  width: size,
@@ -35937,7 +36007,7 @@ var LogoutIcon = ({ size = 16 }) => {
35937
36007
  fill: "none",
35938
36008
  xmlns: "http://www.w3.org/2000/svg"
35939
36009
  },
35940
- /* @__PURE__ */ React215.createElement(
36010
+ /* @__PURE__ */ React216.createElement(
35941
36011
  "path",
35942
36012
  {
35943
36013
  d: "M9.33463 13.3337H4.0013C3.26492 13.3337 2.66797 12.7367 2.66797 12.0003V4.00033C2.66797 3.26395 3.26492 2.66699 4.0013 2.66699H9.33463M6.66797 8.00033H14.0013M14.0013 8.00033L12.0013 10.0003M14.0013 8.00033L12.0013 6.00033",
@@ -35952,9 +36022,9 @@ var LogoutIcon = ({ size = 16 }) => {
35952
36022
  };
35953
36023
 
35954
36024
  // src/components/Icons/SettingsIcon.tsx
35955
- import React216 from "react";
36025
+ import React217 from "react";
35956
36026
  var SettingsIcon = ({ size = 16 }) => {
35957
- return /* @__PURE__ */ React216.createElement(
36027
+ return /* @__PURE__ */ React217.createElement(
35958
36028
  "svg",
35959
36029
  {
35960
36030
  width: size,
@@ -35963,14 +36033,14 @@ var SettingsIcon = ({ size = 16 }) => {
35963
36033
  fill: "none",
35964
36034
  xmlns: "http://www.w3.org/2000/svg"
35965
36035
  },
35966
- /* @__PURE__ */ React216.createElement(
36036
+ /* @__PURE__ */ React217.createElement(
35967
36037
  "path",
35968
36038
  {
35969
36039
  d: "M8.75 10.167C9.85457 10.167 10.75 9.27156 10.75 8.16699C10.75 7.06242 9.85457 6.16699 8.75 6.16699C7.64543 6.16699 6.75 7.06242 6.75 8.16699C6.75 9.27156 7.64543 10.167 8.75 10.167Z",
35970
36040
  stroke: "currentColor"
35971
36041
  }
35972
36042
  ),
35973
- /* @__PURE__ */ React216.createElement(
36043
+ /* @__PURE__ */ React217.createElement(
35974
36044
  "path",
35975
36045
  {
35976
36046
  d: "M9.92726 1.60149C9.68219 1.5 9.37159 1.5 8.75032 1.5C8.12906 1.5 7.81846 1.5 7.57339 1.60149C7.2467 1.73682 6.98714 1.99639 6.85181 2.32309C6.79004 2.47223 6.76586 2.64567 6.7564 2.89866C6.7425 3.27045 6.55183 3.61459 6.22962 3.80062C5.90742 3.98664 5.51405 3.97969 5.18512 3.80584C4.96129 3.68753 4.799 3.62175 4.63895 3.60068C4.28835 3.55452 3.93378 3.64953 3.65323 3.8648C3.44282 4.02625 3.2875 4.29527 2.97688 4.83329C2.66625 5.37131 2.51094 5.64032 2.47632 5.90327C2.43016 6.25387 2.52517 6.60844 2.74044 6.889C2.8387 7.01707 2.97679 7.12467 3.19112 7.25933C3.50619 7.45733 3.70892 7.7946 3.7089 8.16667C3.70888 8.53873 3.50616 8.87593 3.19111 9.07387C2.97676 9.2086 2.83864 9.31627 2.74038 9.44433C2.5251 9.72487 2.4301 10.0794 2.47626 10.43C2.51087 10.6929 2.66618 10.962 2.97681 11.5C3.28744 12.038 3.44276 12.3071 3.65316 12.4685C3.93371 12.6837 4.28828 12.7787 4.63888 12.7326C4.79892 12.7115 4.9612 12.6457 5.18502 12.5275C5.51397 12.3536 5.90736 12.3467 6.22959 12.5327C6.55182 12.7187 6.7425 13.0629 6.7564 13.4347C6.76586 13.6877 6.79004 13.8611 6.85181 14.0103C6.98714 14.3369 7.2467 14.5965 7.57339 14.7319C7.81846 14.8333 8.12906 14.8333 8.75032 14.8333C9.37159 14.8333 9.68219 14.8333 9.92726 14.7319C10.2539 14.5965 10.5135 14.3369 10.6488 14.0103C10.7106 13.8611 10.7348 13.6877 10.7443 13.4347C10.7581 13.0629 10.9488 12.7187 11.271 12.5327C11.5932 12.3466 11.9866 12.3536 12.3156 12.5275C12.5394 12.6457 12.7017 12.7115 12.8617 12.7325C13.2123 12.7787 13.5669 12.6837 13.8474 12.4685C14.0578 12.307 14.2131 12.038 14.5237 11.4999C14.8344 10.9619 14.9897 10.6929 15.0243 10.43C15.0705 10.0794 14.9755 9.7248 14.7602 9.44427C14.6619 9.3162 14.5238 9.20853 14.3095 9.07387C13.9945 8.87593 13.7917 8.53867 13.7917 8.1666C13.7917 7.79453 13.9945 7.4574 14.3095 7.25947C14.5239 7.12473 14.662 7.01713 14.7603 6.889C14.9755 6.60849 15.0705 6.25391 15.0244 5.90331C14.9898 5.64037 14.8345 5.37135 14.5238 4.83333C14.2132 4.29531 14.0579 4.0263 13.8475 3.86485C13.5669 3.64957 13.2123 3.55457 12.8617 3.60073C12.7017 3.62179 12.5395 3.68757 12.3156 3.80587C11.9867 3.97973 11.5933 3.98668 11.2711 3.80064C10.9488 3.61461 10.7581 3.27044 10.7443 2.89863C10.7348 2.64565 10.7106 2.47222 10.6488 2.32309C10.5135 1.99639 10.2539 1.73682 9.92726 1.60149Z",
@@ -35995,7 +36065,7 @@ var ProfileTitleSection = ({
35995
36065
  () => setIsDisconnectExpanded(false),
35996
36066
  []
35997
36067
  );
35998
- return /* @__PURE__ */ React217.createElement(
36068
+ return /* @__PURE__ */ React218.createElement(
35999
36069
  Box,
36000
36070
  {
36001
36071
  display: "flex",
@@ -36004,7 +36074,7 @@ var ProfileTitleSection = ({
36004
36074
  width: "full",
36005
36075
  minHeight: "28"
36006
36076
  },
36007
- /* @__PURE__ */ React217.createElement(
36077
+ /* @__PURE__ */ React218.createElement(
36008
36078
  Box,
36009
36079
  {
36010
36080
  display: "flex",
@@ -36013,7 +36083,7 @@ var ProfileTitleSection = ({
36013
36083
  gap: "8",
36014
36084
  className: animateOut ? animateTitleOutClass : animateTitleInClass
36015
36085
  },
36016
- account.address && /* @__PURE__ */ React217.createElement(
36086
+ account.address && /* @__PURE__ */ React218.createElement(
36017
36087
  Avatar,
36018
36088
  {
36019
36089
  address: account.address,
@@ -36022,21 +36092,21 @@ var ProfileTitleSection = ({
36022
36092
  size: 20
36023
36093
  }
36024
36094
  ),
36025
- /* @__PURE__ */ React217.createElement(Text, { color: "primaryText", size: "13", weight: "medium" }, userInfo.nameTruncated)
36095
+ /* @__PURE__ */ React218.createElement(Text, { color: "primaryText", size: "13", weight: "medium" }, userInfo.nameTruncated)
36026
36096
  ),
36027
- /* @__PURE__ */ React217.createElement(Box, { display: "flex", alignItems: "center", flexDirection: "row" }, !isDisconnectExpanded && /* @__PURE__ */ React217.createElement(
36097
+ /* @__PURE__ */ React218.createElement(Box, { display: "flex", alignItems: "center", flexDirection: "row" }, !isDisconnectExpanded && /* @__PURE__ */ React218.createElement(
36028
36098
  FunIconButton,
36029
36099
  {
36030
- icon: /* @__PURE__ */ React217.createElement(SettingsIcon, { size: 17 }),
36100
+ icon: /* @__PURE__ */ React218.createElement(SettingsIcon, { size: 17 }),
36031
36101
  onClick: () => onChangeView(1 /* SETTINGS */),
36032
36102
  paddingX: "4",
36033
36103
  paddingY: "4"
36034
36104
  }
36035
- ), /* @__PURE__ */ React217.createElement(FunClickOutside, { onClick: collapseDisconnect }, /* @__PURE__ */ React217.createElement(
36105
+ ), /* @__PURE__ */ React218.createElement(FunClickOutside, { onClick: collapseDisconnect }, /* @__PURE__ */ React218.createElement(
36036
36106
  FunIconButton,
36037
36107
  {
36038
36108
  size: "28",
36039
- icon: /* @__PURE__ */ React217.createElement(LogoutIcon, { size: 15 }),
36109
+ icon: /* @__PURE__ */ React218.createElement(LogoutIcon, { size: 15 }),
36040
36110
  paddingX: isDisconnectExpanded ? "6" : void 0,
36041
36111
  "aria-label": t("profile.disconnect"),
36042
36112
  onClick: isDisconnectExpanded ? onLogout : () => setIsDisconnectExpanded(true),
@@ -36044,12 +36114,12 @@ var ProfileTitleSection = ({
36044
36114
  onMouseLeave: collapseDisconnect,
36045
36115
  onBlur: collapseDisconnect
36046
36116
  },
36047
- isDisconnectExpanded && /* @__PURE__ */ React217.createElement(Text, { size: "10", color: "secondaryText", weight: "medium" }, t("profile.disconnect"))
36048
- )), !isDisconnectExpanded && /* @__PURE__ */ React217.createElement(
36117
+ isDisconnectExpanded && /* @__PURE__ */ React218.createElement(Text, { size: "10", color: "secondaryText", weight: "medium" }, t("profile.disconnect"))
36118
+ )), !isDisconnectExpanded && /* @__PURE__ */ React218.createElement(
36049
36119
  FunIconButton,
36050
36120
  {
36051
36121
  size: "28",
36052
- icon: /* @__PURE__ */ React217.createElement(CloseIcon, { size: 12 }),
36122
+ icon: /* @__PURE__ */ React218.createElement(CloseIcon, { size: 12 }),
36053
36123
  onClick: onClose
36054
36124
  }
36055
36125
  ))
@@ -36065,10 +36135,10 @@ var SelectedHomeTab = /* @__PURE__ */ ((SelectedHomeTab2) => {
36065
36135
  var EmptyTabAlert = () => {
36066
36136
  const { t } = useFunkitTranslation();
36067
36137
  const { appName } = useFunkitConfig();
36068
- return /* @__PURE__ */ React218.createElement(Box, { paddingX: PROFILE_SIDE_PADDING }, /* @__PURE__ */ React218.createElement(
36138
+ return /* @__PURE__ */ React219.createElement(Box, { paddingX: PROFILE_SIDE_PADDING }, /* @__PURE__ */ React219.createElement(
36069
36139
  FunAlert,
36070
36140
  {
36071
- icon: /* @__PURE__ */ React218.createElement(GreenRoundCheckmark, null),
36141
+ icon: /* @__PURE__ */ React219.createElement(GreenRoundCheckmark, null),
36072
36142
  description: t("profile.executeFirstCheckout", { appName })
36073
36143
  }
36074
36144
  ));
@@ -36097,7 +36167,7 @@ function Home({
36097
36167
  }, []);
36098
36168
  const AssetsList = useMemo48(() => {
36099
36169
  if (walletAssets && !Object.keys(walletAssets).length) {
36100
- return /* @__PURE__ */ React218.createElement(EmptyTabAlert, null);
36170
+ return /* @__PURE__ */ React219.createElement(EmptyTabAlert, null);
36101
36171
  }
36102
36172
  const assets = walletAssets ? Object.values(walletAssets).sort(
36103
36173
  (a, b) => (b.totalUsdValue ?? 0) - (a.totalUsdValue ?? 0)
@@ -36105,7 +36175,7 @@ function Home({
36105
36175
  const itemHeight = HOME_TOKEN_BALANCE_DISPLAY_ROW_HEIGHT;
36106
36176
  const itemMargin = 8;
36107
36177
  const height = assets.length * (itemHeight + itemMargin) - itemMargin;
36108
- return /* @__PURE__ */ React218.createElement(Box, { ref: virtuosoParentRef }, /* @__PURE__ */ React218.createElement(
36178
+ return /* @__PURE__ */ React219.createElement(Box, { ref: virtuosoParentRef }, /* @__PURE__ */ React219.createElement(
36109
36179
  Virtuoso,
36110
36180
  {
36111
36181
  className: clsx23(hideScrollBar, scrollContent),
@@ -36117,14 +36187,14 @@ function Home({
36117
36187
  itemContent: (index, asset) => (
36118
36188
  // gaps/margins between items must be part of the measured content
36119
36189
  // thus we wrap items in padded divs (margin is not measured)
36120
- /* @__PURE__ */ React218.createElement("div", { style: { paddingTop: index === 0 ? 0 : itemMargin } }, asset ? /* @__PURE__ */ React218.createElement(HomeTokenBalanceDisplayRow, { asset }) : /* @__PURE__ */ React218.createElement(HomeTokenBalanceDisplayRowSkeleton, null))
36190
+ /* @__PURE__ */ React219.createElement("div", { style: { paddingTop: index === 0 ? 0 : itemMargin } }, asset ? /* @__PURE__ */ React219.createElement(HomeTokenBalanceDisplayRow, { asset }) : /* @__PURE__ */ React219.createElement(HomeTokenBalanceDisplayRowSkeleton, null))
36121
36191
  )
36122
36192
  }
36123
36193
  ));
36124
36194
  }, [walletAssets]);
36125
36195
  const CheckoutsList = useMemo48(() => {
36126
36196
  if (checkoutHistoryList.length === 0 && isCheckoutHistoryInited) {
36127
- return /* @__PURE__ */ React218.createElement(EmptyTabAlert, null);
36197
+ return /* @__PURE__ */ React219.createElement(EmptyTabAlert, null);
36128
36198
  }
36129
36199
  const processingCheckouts = checkoutHistoryList.filter(
36130
36200
  (checkoutHistoryItem) => IN_PROGRESS_CHECKOUT_STATES2.includes(checkoutHistoryItem.state)
@@ -36186,7 +36256,7 @@ function Home({
36186
36256
  const groupHeight = 15;
36187
36257
  const groupMargin = 24;
36188
36258
  const height = groups.length * (groupHeight + groupMargin) + (items.length - groups.length) * (itemHeight + itemMargin) - groupMargin;
36189
- return /* @__PURE__ */ React218.createElement(Box, { ref: virtuosoParentRef }, /* @__PURE__ */ React218.createElement(
36259
+ return /* @__PURE__ */ React219.createElement(Box, { ref: virtuosoParentRef }, /* @__PURE__ */ React219.createElement(
36190
36260
  Virtuoso,
36191
36261
  {
36192
36262
  className: clsx23(hideScrollBar, scrollContent),
@@ -36200,13 +36270,13 @@ function Home({
36200
36270
  itemContent: (index, data) => (
36201
36271
  // gaps/margins between items must be part of the measured content
36202
36272
  // thus we wrap items in padded divs (margin is not measured)
36203
- "group" in data ? /* @__PURE__ */ React218.createElement("div", { style: { paddingTop: index === 0 ? 0 : groupMargin } }, /* @__PURE__ */ React218.createElement(Box, { paddingX: PROFILE_SIDE_PADDING }, /* @__PURE__ */ React218.createElement(Text, { size: "10", color: "secondaryText" }, data.group))) : /* @__PURE__ */ React218.createElement("div", { style: { paddingTop: index === 0 ? 0 : itemMargin } }, data.checkout ? /* @__PURE__ */ React218.createElement(
36273
+ "group" in data ? /* @__PURE__ */ React219.createElement("div", { style: { paddingTop: index === 0 ? 0 : groupMargin } }, /* @__PURE__ */ React219.createElement(Box, { paddingX: PROFILE_SIDE_PADDING }, /* @__PURE__ */ React219.createElement(Text, { size: "10", color: "secondaryText" }, data.group))) : /* @__PURE__ */ React219.createElement("div", { style: { paddingTop: index === 0 ? 0 : itemMargin } }, data.checkout ? /* @__PURE__ */ React219.createElement(
36204
36274
  HomeCheckoutDisplayRow,
36205
36275
  {
36206
36276
  checkoutHistoryItem: data.checkout,
36207
36277
  onSelect: handleCheckoutSelect
36208
36278
  }
36209
- ) : /* @__PURE__ */ React218.createElement(HomeCheckoutDisplayRowSkeleton, null))
36279
+ ) : /* @__PURE__ */ React219.createElement(HomeCheckoutDisplayRowSkeleton, null))
36210
36280
  )
36211
36281
  }
36212
36282
  ));
@@ -36221,7 +36291,7 @@ function Home({
36221
36291
  { tab: "assets" /* ASSETS */, label: t("profile.tokensTab") },
36222
36292
  { tab: "checkouts" /* CHECKOUTS */, label: t("profile.checkoutsTab") }
36223
36293
  ];
36224
- return /* @__PURE__ */ React218.createElement(Box, { paddingTop: "14" }, /* @__PURE__ */ React218.createElement(
36294
+ return /* @__PURE__ */ React219.createElement(Box, { paddingTop: "14" }, /* @__PURE__ */ React219.createElement(
36225
36295
  ProfileTitleSection,
36226
36296
  {
36227
36297
  animateOut: animation.isOut,
@@ -36231,7 +36301,7 @@ function Home({
36231
36301
  onLogout: handleLogout,
36232
36302
  onClose
36233
36303
  }
36234
- ), /* @__PURE__ */ React218.createElement(
36304
+ ), /* @__PURE__ */ React219.createElement(
36235
36305
  Box,
36236
36306
  {
36237
36307
  display: "flex",
@@ -36241,8 +36311,8 @@ function Home({
36241
36311
  gap: "24",
36242
36312
  className: getContentAnimation(animation, true)
36243
36313
  },
36244
- /* @__PURE__ */ React218.createElement(BalanceSection, { totalBalance: totalWalletAssetsUsd }),
36245
- /* @__PURE__ */ React218.createElement(
36314
+ /* @__PURE__ */ React219.createElement(BalanceSection, { totalBalance: totalWalletAssetsUsd }),
36315
+ /* @__PURE__ */ React219.createElement(
36246
36316
  Box,
36247
36317
  {
36248
36318
  display: "flex",
@@ -36253,7 +36323,7 @@ function Home({
36253
36323
  marginLeft: `-${Number.parseInt(PROFILE_SIDE_PADDING)}px`
36254
36324
  }
36255
36325
  },
36256
- /* @__PURE__ */ React218.createElement(
36326
+ /* @__PURE__ */ React219.createElement(
36257
36327
  Box,
36258
36328
  {
36259
36329
  display: "flex",
@@ -36261,7 +36331,7 @@ function Home({
36261
36331
  gap: "24",
36262
36332
  paddingX: PROFILE_SIDE_PADDING
36263
36333
  },
36264
- tabs2.map(({ tab, label }) => /* @__PURE__ */ React218.createElement(
36334
+ tabs2.map(({ tab, label }) => /* @__PURE__ */ React219.createElement(
36265
36335
  Box,
36266
36336
  {
36267
36337
  key: label,
@@ -36270,7 +36340,7 @@ function Home({
36270
36340
  tabIndex: 0,
36271
36341
  className: tabLabelStyles
36272
36342
  },
36273
- /* @__PURE__ */ React218.createElement(
36343
+ /* @__PURE__ */ React219.createElement(
36274
36344
  Text,
36275
36345
  {
36276
36346
  weight: "bold",
@@ -36281,21 +36351,21 @@ function Home({
36281
36351
  )
36282
36352
  ))
36283
36353
  ),
36284
- /* @__PURE__ */ React218.createElement(Box, { className: getContentAnimation(tabAnimation, false) }, selectedView === "assets" /* ASSETS */ && AssetsList, selectedView === "checkouts" /* CHECKOUTS */ && CheckoutsList)
36354
+ /* @__PURE__ */ React219.createElement(Box, { className: getContentAnimation(tabAnimation, false) }, selectedView === "assets" /* ASSETS */ && AssetsList, selectedView === "checkouts" /* CHECKOUTS */ && CheckoutsList)
36285
36355
  )
36286
36356
  ));
36287
36357
  }
36288
36358
 
36289
36359
  // src/modals/ProfileDetails/FunProfileViews/Settings/Settings.tsx
36290
36360
  import { formatAddress as formatAddress6 } from "@funkit/utils";
36291
- import React221 from "react";
36361
+ import React222 from "react";
36292
36362
 
36293
36363
  // src/components/CopyAddress/OldCopyAddressButton.tsx
36294
- import React220 from "react";
36364
+ import React221 from "react";
36295
36365
 
36296
36366
  // src/components/Icons/CopyDoublePaperSheetIcon.tsx
36297
- import React219 from "react";
36298
- var CopyDoublePaperSheetIcon = () => /* @__PURE__ */ React219.createElement(
36367
+ import React220 from "react";
36368
+ var CopyDoublePaperSheetIcon = () => /* @__PURE__ */ React220.createElement(
36299
36369
  "svg",
36300
36370
  {
36301
36371
  width: "14",
@@ -36304,7 +36374,7 @@ var CopyDoublePaperSheetIcon = () => /* @__PURE__ */ React219.createElement(
36304
36374
  fill: "none",
36305
36375
  xmlns: "http://www.w3.org/2000/svg"
36306
36376
  },
36307
- /* @__PURE__ */ React219.createElement(
36377
+ /* @__PURE__ */ React220.createElement(
36308
36378
  "path",
36309
36379
  {
36310
36380
  d: "M3.76074 3.97363V2.4248C3.76074 1.73926 3.93424 1.22087 4.28125 0.869629C4.62826 0.51416 5.14242 0.336426 5.82373 0.336426H8.21045C8.57861 0.336426 8.90658 0.389323 9.19434 0.495117C9.48633 0.59668 9.75081 0.770182 9.98779 1.01562L13.1489 4.23389C13.3986 4.49202 13.5742 4.76709 13.6758 5.05908C13.7773 5.34684 13.8281 5.7002 13.8281 6.11914V11.1465C13.8281 11.832 13.6525 12.3504 13.3013 12.7017C12.9543 13.0529 12.4422 13.2285 11.7651 13.2285H10.4639V11.9844H11.6509C11.9598 11.9844 12.1904 11.9061 12.3428 11.7495C12.4993 11.5887 12.5776 11.3623 12.5776 11.0703V5.81445H9.78467C9.39111 5.81445 9.09277 5.71501 8.88965 5.51611C8.68652 5.31299 8.58496 5.01465 8.58496 4.62109V1.58691H5.92529C5.62061 1.58691 5.38997 1.6652 5.2334 1.82178C5.08105 1.97835 5.00488 2.20475 5.00488 2.50098V3.97363H3.76074ZM9.62598 4.4624C9.62598 4.57243 9.64925 4.65283 9.6958 4.70361C9.74658 4.75016 9.82487 4.77344 9.93066 4.77344H12.2539L9.62598 2.10742V4.4624ZM0.618652 14.4028V5.68115C0.618652 4.99561 0.792155 4.47721 1.13916 4.12598C1.48617 3.77051 2.00033 3.59277 2.68164 3.59277H4.89062C5.27572 3.59277 5.5931 3.63509 5.84277 3.71973C6.09668 3.80013 6.35059 3.97152 6.60449 4.23389L10.0449 7.7251C10.2227 7.90706 10.3581 8.08057 10.4512 8.24561C10.5443 8.41064 10.6056 8.59473 10.6353 8.79785C10.6691 8.99674 10.686 9.23796 10.686 9.52148V14.4028C10.686 15.0884 10.5125 15.6068 10.1655 15.958C9.81852 16.3092 9.30436 16.4849 8.62305 16.4849H2.68164C2.00033 16.4849 1.48617 16.3092 1.13916 15.958C0.792155 15.611 0.618652 15.0926 0.618652 14.4028ZM1.86914 14.3267C1.86914 14.6229 1.94531 14.8493 2.09766 15.0059C2.25 15.1624 2.47852 15.2407 2.7832 15.2407H8.51514C8.81982 15.2407 9.04834 15.1624 9.20068 15.0059C9.35726 14.8493 9.43555 14.6229 9.43555 14.3267V9.66748H6.08398C5.63542 9.66748 5.29899 9.55745 5.07471 9.3374C4.85042 9.11312 4.73828 8.77246 4.73828 8.31543V4.84326H2.78955C2.48063 4.84326 2.25 4.92155 2.09766 5.07812C1.94531 5.2347 1.86914 5.45898 1.86914 5.75098V14.3267ZM6.21094 8.56934H9.26416L5.83643 5.08447V8.19482C5.83643 8.32601 5.86605 8.42122 5.92529 8.48047C5.98454 8.53971 6.07975 8.56934 6.21094 8.56934Z",
@@ -36318,11 +36388,11 @@ function OldCopyAddressButton({
36318
36388
  address
36319
36389
  }) {
36320
36390
  const { isCopied, handleCopy } = useCopyToClipboard(address);
36321
- return /* @__PURE__ */ React220.createElement(
36391
+ return /* @__PURE__ */ React221.createElement(
36322
36392
  FunIconButton,
36323
36393
  {
36324
36394
  size: "36",
36325
- icon: /* @__PURE__ */ React220.createElement(Box, { display: "flex", alignItems: "center", color: "primaryText" }, isCopied ? /* @__PURE__ */ React220.createElement(CheckIcon, null) : /* @__PURE__ */ React220.createElement(CopyDoublePaperSheetIcon, null)),
36395
+ icon: /* @__PURE__ */ React221.createElement(Box, { display: "flex", alignItems: "center", color: "primaryText" }, isCopied ? /* @__PURE__ */ React221.createElement(CheckIcon, null) : /* @__PURE__ */ React221.createElement(CopyDoublePaperSheetIcon, null)),
36326
36396
  onClick: handleCopy
36327
36397
  }
36328
36398
  );
@@ -36334,7 +36404,7 @@ function LineItem({
36334
36404
  value,
36335
36405
  valueSuffix = null
36336
36406
  }) {
36337
- return /* @__PURE__ */ React221.createElement(
36407
+ return /* @__PURE__ */ React222.createElement(
36338
36408
  Box,
36339
36409
  {
36340
36410
  display: "flex",
@@ -36343,26 +36413,26 @@ function LineItem({
36343
36413
  alignItems: "center",
36344
36414
  justifyContent: "space-between"
36345
36415
  },
36346
- /* @__PURE__ */ React221.createElement(Text, { color: "tertiaryText", size: "13", weight: "medium" }, label),
36347
- /* @__PURE__ */ React221.createElement(Box, { display: "flex", flexDirection: "row", gap: "1" }, /* @__PURE__ */ React221.createElement(Box, { display: "flex", alignItems: "center" }, /* @__PURE__ */ React221.createElement(Text, { color: "primaryText", size: "13", weight: "medium" }, value)), valueSuffix ? /* @__PURE__ */ React221.createElement(Box, { display: "flex", alignItems: "center" }, valueSuffix) : null)
36416
+ /* @__PURE__ */ React222.createElement(Text, { color: "tertiaryText", size: "13", weight: "medium" }, label),
36417
+ /* @__PURE__ */ React222.createElement(Box, { display: "flex", flexDirection: "row", gap: "1" }, /* @__PURE__ */ React222.createElement(Box, { display: "flex", alignItems: "center" }, /* @__PURE__ */ React222.createElement(Text, { color: "primaryText", size: "13", weight: "medium" }, value)), valueSuffix ? /* @__PURE__ */ React222.createElement(Box, { display: "flex", alignItems: "center" }, valueSuffix) : null)
36348
36418
  );
36349
36419
  }
36350
36420
  function Settings() {
36351
36421
  const { t } = useFunkitTranslation();
36352
36422
  const { walletAddress, loginType, userInfo } = useGeneralWallet();
36353
36423
  const isWeb3Login = loginType === "web3" /* Web3 */;
36354
- return /* @__PURE__ */ React221.createElement(Box, { display: "flex", flexDirection: "column", gap: "24" }, /* @__PURE__ */ React221.createElement(
36424
+ return /* @__PURE__ */ React222.createElement(Box, { display: "flex", flexDirection: "column", gap: "24" }, /* @__PURE__ */ React222.createElement(
36355
36425
  LineItem,
36356
36426
  {
36357
36427
  label: isWeb3Login ? "Wallet" : userInfo.typeLabel,
36358
36428
  value: isWeb3Login ? userInfo.typeLabel : userInfo.name
36359
36429
  }
36360
- ), /* @__PURE__ */ React221.createElement(
36430
+ ), /* @__PURE__ */ React222.createElement(
36361
36431
  LineItem,
36362
36432
  {
36363
36433
  label: t("profile.address"),
36364
36434
  value: formatAddress6(walletAddress),
36365
- valueSuffix: /* @__PURE__ */ React221.createElement(OldCopyAddressButton, { address: walletAddress })
36435
+ valueSuffix: /* @__PURE__ */ React222.createElement(OldCopyAddressButton, { address: walletAddress })
36366
36436
  }
36367
36437
  ));
36368
36438
  }
@@ -36442,11 +36512,11 @@ function ProfileDetails({ onClose, defaultTab }) {
36442
36512
  isActiveCheckout: false,
36443
36513
  isCheckoutDetailView,
36444
36514
  paddingTop: PADDING_TOP,
36445
- topbar: dialogTitleMap[view] && /* @__PURE__ */ React222.createElement(Dialog.Title, { onClose, ...dialogTitleMap[view] }),
36515
+ topbar: dialogTitleMap[view] && /* @__PURE__ */ React223.createElement(Dialog.Title, { onClose, ...dialogTitleMap[view] }),
36446
36516
  withTopDivider: withDivider,
36447
36517
  scrollableContent: PROFILE_DETAILS_DIALOG_CONTENT_ID
36448
36518
  });
36449
- return /* @__PURE__ */ React222.createElement(FunCheckoutModalHeightAnimationWrapper, null, topbar, /* @__PURE__ */ React222.createElement(
36519
+ return /* @__PURE__ */ React223.createElement(FunCheckoutModalHeightAnimationWrapper, null, topbar, /* @__PURE__ */ React223.createElement(
36450
36520
  Dialog.Content,
36451
36521
  {
36452
36522
  display: "flex",
@@ -36463,7 +36533,7 @@ function ProfileDetails({ onClose, defaultTab }) {
36463
36533
  withTopDivider,
36464
36534
  id: PROFILE_DETAILS_DIALOG_CONTENT_ID
36465
36535
  },
36466
- view === 0 /* HOME */ ? /* @__PURE__ */ React222.createElement(
36536
+ view === 0 /* HOME */ ? /* @__PURE__ */ React223.createElement(
36467
36537
  Home,
36468
36538
  {
36469
36539
  animation,
@@ -36472,7 +36542,7 @@ function ProfileDetails({ onClose, defaultTab }) {
36472
36542
  onSelectActivity: onSelectActivityWrapper,
36473
36543
  defaultHomeTab: selectedHomeTab
36474
36544
  }
36475
- ) : view === 1 /* SETTINGS */ ? /* @__PURE__ */ React222.createElement(Settings, null) : view === 3 /* SINGLE_ACTIVITY */ ? /* @__PURE__ */ React222.createElement(
36545
+ ) : view === 1 /* SETTINGS */ ? /* @__PURE__ */ React223.createElement(Settings, null) : view === 3 /* SINGLE_ACTIVITY */ ? /* @__PURE__ */ React223.createElement(
36476
36546
  FunCheckoutHistoryContent,
36477
36547
  {
36478
36548
  depositAddress: selectedPurchaseId || "0x",
@@ -36484,7 +36554,7 @@ function ProfileDetails({ onClose, defaultTab }) {
36484
36554
  bottomBarId: HISTORY_BOTTOM_BAR_ID
36485
36555
  }
36486
36556
  ) : null
36487
- ), /* @__PURE__ */ React222.createElement(Dialog.BottomSection, { id: HISTORY_BOTTOM_BAR_ID }));
36557
+ ), /* @__PURE__ */ React223.createElement(Dialog.BottomSection, { id: HISTORY_BOTTOM_BAR_ID }));
36488
36558
  }
36489
36559
 
36490
36560
  // src/modals/AccountModal/AccountModal.tsx
@@ -36494,7 +36564,7 @@ function AccountModal({ onClose, open, defaultTab }) {
36494
36564
  if (!walletAddress) {
36495
36565
  return null;
36496
36566
  }
36497
- return /* @__PURE__ */ React223.createElement(
36567
+ return /* @__PURE__ */ React224.createElement(
36498
36568
  Dialog,
36499
36569
  {
36500
36570
  onClose,
@@ -36502,18 +36572,18 @@ function AccountModal({ onClose, open, defaultTab }) {
36502
36572
  titleId: TITLE_ID,
36503
36573
  isSmartCloseable: true
36504
36574
  },
36505
- /* @__PURE__ */ React223.createElement(ActivityTraversalProvider, null, /* @__PURE__ */ React223.createElement(ProfileDetails, { onClose, defaultTab }))
36575
+ /* @__PURE__ */ React224.createElement(ActivityTraversalProvider, null, /* @__PURE__ */ React224.createElement(ProfileDetails, { onClose, defaultTab }))
36506
36576
  );
36507
36577
  }
36508
36578
 
36509
36579
  // src/modals/ChainModal/ChainModal.tsx
36510
36580
  import { isMobile as isMobile12 } from "@funkit/utils";
36511
- import React228 from "react";
36581
+ import React229 from "react";
36512
36582
  import { useAccount as useAccount8, useConfig as useConfig6 } from "wagmi";
36513
36583
 
36514
36584
  // src/components/Icons/DisconnectSqIcon.tsx
36515
- import React224 from "react";
36516
- var DisconnectSqIcon = ({ size }) => /* @__PURE__ */ React224.createElement(
36585
+ import React225 from "react";
36586
+ var DisconnectSqIcon = ({ size }) => /* @__PURE__ */ React225.createElement(
36517
36587
  "svg",
36518
36588
  {
36519
36589
  fill: "none",
@@ -36522,7 +36592,7 @@ var DisconnectSqIcon = ({ size }) => /* @__PURE__ */ React224.createElement(
36522
36592
  width: size,
36523
36593
  xmlns: "http://www.w3.org/2000/svg"
36524
36594
  },
36525
- /* @__PURE__ */ React224.createElement(
36595
+ /* @__PURE__ */ React225.createElement(
36526
36596
  "path",
36527
36597
  {
36528
36598
  d: "M6.742 22.195h8.367c1.774 0 2.743-.968 2.743-2.758V16.11h-2.016v3.11c0 .625-.305.96-.969.96H6.984c-.664 0-.968-.335-.968-.96V7.984c0-.632.304-.968.968-.968h7.883c.664 0 .969.336.969.968v3.133h2.016v-3.36c0-1.78-.97-2.757-2.743-2.757H6.742C4.97 5 4 5.977 4 7.758v11.68c0 1.789.969 2.757 2.742 2.757Zm5.438-7.703h7.601l1.149-.07-.602.406-1.008.938a.816.816 0 0 0-.258.593c0 .407.313.782.758.782.227 0 .39-.086.547-.243l2.492-2.593c.235-.235.313-.47.313-.711 0-.242-.078-.477-.313-.719l-2.492-2.586c-.156-.156-.32-.25-.547-.25-.445 0-.758.367-.758.781 0 .227.094.446.258.594l1.008.945.602.407-1.149-.079H12.18a.904.904 0 0 0 0 1.805Z",
@@ -36533,13 +36603,13 @@ var DisconnectSqIcon = ({ size }) => /* @__PURE__ */ React224.createElement(
36533
36603
 
36534
36604
  // src/components/MenuButton/MenuButton.tsx
36535
36605
  import { isMobile as isMobile10 } from "@funkit/utils";
36536
- import React225 from "react";
36606
+ import React226 from "react";
36537
36607
 
36538
36608
  // src/components/MenuButton/MenuButton.css.ts
36539
36609
  var unsetBackgroundOnHover = "_10pw5x60";
36540
36610
 
36541
36611
  // src/components/MenuButton/MenuButton.tsx
36542
- var MenuButton = React225.forwardRef(
36612
+ var MenuButton = React226.forwardRef(
36543
36613
  ({
36544
36614
  children,
36545
36615
  currentlySelected = false,
@@ -36548,7 +36618,7 @@ var MenuButton = React225.forwardRef(
36548
36618
  ...urlProps
36549
36619
  }, ref) => {
36550
36620
  const mobile = isMobile10();
36551
- return /* @__PURE__ */ React225.createElement(
36621
+ return /* @__PURE__ */ React226.createElement(
36552
36622
  Box,
36553
36623
  {
36554
36624
  as: "button",
@@ -36560,7 +36630,7 @@ var MenuButton = React225.forwardRef(
36560
36630
  testId,
36561
36631
  type: "button"
36562
36632
  },
36563
- /* @__PURE__ */ React225.createElement(
36633
+ /* @__PURE__ */ React226.createElement(
36564
36634
  Box,
36565
36635
  {
36566
36636
  borderRadius: "menuButton",
@@ -36594,12 +36664,12 @@ MenuButton.displayName = "MenuButton";
36594
36664
 
36595
36665
  // src/modals/ChainModal/Chain.tsx
36596
36666
  import { isMobile as isMobile11 } from "@funkit/utils";
36597
- import React227, { Fragment } from "react";
36667
+ import React228, { Fragment } from "react";
36598
36668
 
36599
36669
  // src/components/FunDot/FunDot.tsx
36600
- import React226 from "react";
36670
+ import React227 from "react";
36601
36671
  function FunDot() {
36602
- return /* @__PURE__ */ React226.createElement(
36672
+ return /* @__PURE__ */ React227.createElement(
36603
36673
  Box,
36604
36674
  {
36605
36675
  background: "connectionIndicator",
@@ -36627,7 +36697,7 @@ function ChainLineItem({
36627
36697
  if (!chainItem) {
36628
36698
  return null;
36629
36699
  }
36630
- return /* @__PURE__ */ React227.createElement(
36700
+ return /* @__PURE__ */ React228.createElement(
36631
36701
  Box,
36632
36702
  {
36633
36703
  alignItems: "center",
@@ -36636,7 +36706,7 @@ function ChainLineItem({
36636
36706
  gap,
36637
36707
  height: chainIconSize
36638
36708
  },
36639
- /* @__PURE__ */ React227.createElement(Box, { height: "full" }, /* @__PURE__ */ React227.createElement(
36709
+ /* @__PURE__ */ React228.createElement(Box, { height: "full" }, /* @__PURE__ */ React228.createElement(
36640
36710
  AsyncImage,
36641
36711
  {
36642
36712
  alt: chainItem.name,
@@ -36648,7 +36718,7 @@ function ChainLineItem({
36648
36718
  testId: `chain-option-${chainId}-icon`
36649
36719
  }
36650
36720
  )),
36651
- !hideChainName ? /* @__PURE__ */ React227.createElement("div", null, chainItem.name) : null
36721
+ !hideChainName ? /* @__PURE__ */ React228.createElement("div", null, chainItem.name) : null
36652
36722
  );
36653
36723
  }
36654
36724
  var Chain = ({
@@ -36663,14 +36733,14 @@ var Chain = ({
36663
36733
  const mobile = isMobile11();
36664
36734
  const funkitConnectChains = useFunkitConnectChains();
36665
36735
  const isCurrentChain = currentChainId === chainId && !isLoading;
36666
- return /* @__PURE__ */ React227.createElement(Fragment, null, /* @__PURE__ */ React227.createElement(
36736
+ return /* @__PURE__ */ React228.createElement(Fragment, null, /* @__PURE__ */ React228.createElement(
36667
36737
  MenuButton,
36668
36738
  {
36669
36739
  currentlySelected: isCurrentChain,
36670
36740
  onClick: isCurrentChain ? void 0 : () => switchChain({ chainId }),
36671
36741
  testId: `chain-option-${chainId}`
36672
36742
  },
36673
- /* @__PURE__ */ React227.createElement(Box, { fontFamily: "body", fontSize: "16", fontWeight: "bold" }, /* @__PURE__ */ React227.createElement(
36743
+ /* @__PURE__ */ React228.createElement(Box, { fontFamily: "body", fontSize: "16", fontWeight: "bold" }, /* @__PURE__ */ React228.createElement(
36674
36744
  Box,
36675
36745
  {
36676
36746
  alignItems: "center",
@@ -36678,8 +36748,8 @@ var Chain = ({
36678
36748
  flexDirection: "row",
36679
36749
  justifyContent: "space-between"
36680
36750
  },
36681
- /* @__PURE__ */ React227.createElement(ChainLineItem, { chainId, chainIconSize }),
36682
- isCurrentChain && /* @__PURE__ */ React227.createElement(
36751
+ /* @__PURE__ */ React228.createElement(ChainLineItem, { chainId, chainIconSize }),
36752
+ isCurrentChain && /* @__PURE__ */ React228.createElement(
36683
36753
  Box,
36684
36754
  {
36685
36755
  alignItems: "center",
@@ -36687,10 +36757,10 @@ var Chain = ({
36687
36757
  flexDirection: "row",
36688
36758
  marginRight: "6"
36689
36759
  },
36690
- /* @__PURE__ */ React227.createElement(Text, { color: "accentColorForeground", size: "14", weight: "medium" }, t("common.connected")),
36691
- /* @__PURE__ */ React227.createElement(FunDot, null)
36760
+ /* @__PURE__ */ React228.createElement(Text, { color: "accentColorForeground", size: "14", weight: "medium" }, t("common.connected")),
36761
+ /* @__PURE__ */ React228.createElement(FunDot, null)
36692
36762
  ),
36693
- isLoading && /* @__PURE__ */ React227.createElement(
36763
+ isLoading && /* @__PURE__ */ React228.createElement(
36694
36764
  Box,
36695
36765
  {
36696
36766
  alignItems: "center",
@@ -36698,8 +36768,8 @@ var Chain = ({
36698
36768
  flexDirection: "row",
36699
36769
  marginRight: "6"
36700
36770
  },
36701
- /* @__PURE__ */ React227.createElement(Text, { color: "primaryText", size: "14", weight: "medium" }, t("common.confirmInWallet")),
36702
- /* @__PURE__ */ React227.createElement(
36771
+ /* @__PURE__ */ React228.createElement(Text, { color: "primaryText", size: "14", weight: "medium" }, t("common.confirmInWallet")),
36772
+ /* @__PURE__ */ React228.createElement(
36703
36773
  Box,
36704
36774
  {
36705
36775
  background: "standby",
@@ -36711,7 +36781,7 @@ var Chain = ({
36711
36781
  )
36712
36782
  )
36713
36783
  ))
36714
- ), mobile && idx < funkitConnectChains.length - 1 && /* @__PURE__ */ React227.createElement(Box, { background: "generalBorderDim", height: "1", marginX: "8" }));
36784
+ ), mobile && idx < funkitConnectChains.length - 1 && /* @__PURE__ */ React228.createElement(Box, { background: "generalBorderDim", height: "1", marginX: "8" }));
36715
36785
  };
36716
36786
  var Chain_default = Chain;
36717
36787
 
@@ -36736,7 +36806,7 @@ function ChainModal({ onClose, open }) {
36736
36806
  if (!chainId) {
36737
36807
  return null;
36738
36808
  }
36739
- return /* @__PURE__ */ React228.createElement(
36809
+ return /* @__PURE__ */ React229.createElement(
36740
36810
  Dialog,
36741
36811
  {
36742
36812
  onClose,
@@ -36744,15 +36814,15 @@ function ChainModal({ onClose, open }) {
36744
36814
  titleId,
36745
36815
  isSmartCloseable: true
36746
36816
  },
36747
- /* @__PURE__ */ React228.createElement(Dialog.Content, { paddingTop: "18" }, /* @__PURE__ */ React228.createElement(Box, { display: "flex", flexDirection: "column", gap: "14" }, /* @__PURE__ */ React228.createElement(
36817
+ /* @__PURE__ */ React229.createElement(Dialog.Content, { paddingTop: "18" }, /* @__PURE__ */ React229.createElement(Box, { display: "flex", flexDirection: "column", gap: "14" }, /* @__PURE__ */ React229.createElement(
36748
36818
  Box,
36749
36819
  {
36750
36820
  display: "flex",
36751
36821
  flexDirection: "row",
36752
36822
  justifyContent: "space-between"
36753
36823
  },
36754
- mobile && /* @__PURE__ */ React228.createElement(Box, { width: "30" }),
36755
- /* @__PURE__ */ React228.createElement(Box, { paddingBottom: "0", paddingLeft: "8", paddingTop: "4" }, /* @__PURE__ */ React228.createElement(
36824
+ mobile && /* @__PURE__ */ React229.createElement(Box, { width: "30" }),
36825
+ /* @__PURE__ */ React229.createElement(Box, { paddingBottom: "0", paddingLeft: "8", paddingTop: "4" }, /* @__PURE__ */ React229.createElement(
36756
36826
  Text,
36757
36827
  {
36758
36828
  as: "h1",
@@ -36763,8 +36833,8 @@ function ChainModal({ onClose, open }) {
36763
36833
  },
36764
36834
  t("chainModal.switchNetworks")
36765
36835
  )),
36766
- /* @__PURE__ */ React228.createElement(CloseButton, { onClose })
36767
- ), !isCurrentChainSupported && /* @__PURE__ */ React228.createElement(Box, { marginX: "8", textAlign: mobile ? "center" : "left" }, /* @__PURE__ */ React228.createElement(Text, { color: "tertiaryText", size: "14", weight: "medium" }, t("chainModal.wrongNetworkDetected"))), /* @__PURE__ */ React228.createElement(
36836
+ /* @__PURE__ */ React229.createElement(CloseButton, { onClose })
36837
+ ), !isCurrentChainSupported && /* @__PURE__ */ React229.createElement(Box, { marginX: "8", textAlign: mobile ? "center" : "left" }, /* @__PURE__ */ React229.createElement(Text, { color: "tertiaryText", size: "14", weight: "medium" }, t("chainModal.wrongNetworkDetected"))), /* @__PURE__ */ React229.createElement(
36768
36838
  Box,
36769
36839
  {
36770
36840
  className: mobile ? MobileScrollClassName : DesktopScrollClassName,
@@ -36775,7 +36845,7 @@ function ChainModal({ onClose, open }) {
36775
36845
  paddingBottom: "16"
36776
36846
  },
36777
36847
  funkitConnectChains.map(({ id }, idx) => {
36778
- return /* @__PURE__ */ React228.createElement(
36848
+ return /* @__PURE__ */ React229.createElement(
36779
36849
  Chain_default,
36780
36850
  {
36781
36851
  key: id,
@@ -36788,13 +36858,13 @@ function ChainModal({ onClose, open }) {
36788
36858
  }
36789
36859
  );
36790
36860
  }),
36791
- !isCurrentChainSupported && /* @__PURE__ */ React228.createElement(React228.Fragment, null, /* @__PURE__ */ React228.createElement(Box, { background: "generalBorderDim", height: "1", marginX: "8" }), /* @__PURE__ */ React228.createElement(
36861
+ !isCurrentChainSupported && /* @__PURE__ */ React229.createElement(React229.Fragment, null, /* @__PURE__ */ React229.createElement(Box, { background: "generalBorderDim", height: "1", marginX: "8" }), /* @__PURE__ */ React229.createElement(
36792
36862
  MenuButton,
36793
36863
  {
36794
36864
  onClick: () => handleLogout(),
36795
36865
  testId: "chain-option-disconnect"
36796
36866
  },
36797
- /* @__PURE__ */ React228.createElement(
36867
+ /* @__PURE__ */ React229.createElement(
36798
36868
  Box,
36799
36869
  {
36800
36870
  color: "error",
@@ -36802,7 +36872,7 @@ function ChainModal({ onClose, open }) {
36802
36872
  fontSize: "16",
36803
36873
  fontWeight: "bold"
36804
36874
  },
36805
- /* @__PURE__ */ React228.createElement(
36875
+ /* @__PURE__ */ React229.createElement(
36806
36876
  Box,
36807
36877
  {
36808
36878
  alignItems: "center",
@@ -36810,7 +36880,7 @@ function ChainModal({ onClose, open }) {
36810
36880
  flexDirection: "row",
36811
36881
  justifyContent: "space-between"
36812
36882
  },
36813
- /* @__PURE__ */ React228.createElement(
36883
+ /* @__PURE__ */ React229.createElement(
36814
36884
  Box,
36815
36885
  {
36816
36886
  alignItems: "center",
@@ -36819,7 +36889,7 @@ function ChainModal({ onClose, open }) {
36819
36889
  gap: "4",
36820
36890
  height: chainIconSize
36821
36891
  },
36822
- /* @__PURE__ */ React228.createElement(
36892
+ /* @__PURE__ */ React229.createElement(
36823
36893
  Box,
36824
36894
  {
36825
36895
  alignItems: "center",
@@ -36828,9 +36898,9 @@ function ChainModal({ onClose, open }) {
36828
36898
  justifyContent: "center",
36829
36899
  marginRight: "8"
36830
36900
  },
36831
- /* @__PURE__ */ React228.createElement(DisconnectSqIcon, { size: Number(chainIconSize) })
36901
+ /* @__PURE__ */ React229.createElement(DisconnectSqIcon, { size: Number(chainIconSize) })
36832
36902
  ),
36833
- /* @__PURE__ */ React228.createElement("div", null, t("chainModal.disconnect"))
36903
+ /* @__PURE__ */ React229.createElement("div", null, t("chainModal.disconnect"))
36834
36904
  )
36835
36905
  )
36836
36906
  )
@@ -36842,13 +36912,13 @@ function ChainModal({ onClose, open }) {
36842
36912
  // src/modals/CheckoutModal/FunCheckoutModal.tsx
36843
36913
  import { FUNKIT_CONNECT_SUPPORTED_CHECKOUT_CHAINS_INFO_LIST as FUNKIT_CONNECT_SUPPORTED_CHECKOUT_CHAINS_INFO_LIST3 } from "@funkit/chains";
36844
36914
  import { LogLevel, initializeRelayClient } from "@funkit/fun-relay";
36845
- import React236, { useRef as useRef30 } from "react";
36915
+ import React237, { useRef as useRef30 } from "react";
36846
36916
 
36847
36917
  // src/components/FunConnectOptions/FunConnectOptions.tsx
36848
- import React234, { useCallback as useCallback48, useMemo as useMemo49, useState as useState73 } from "react";
36918
+ import React235, { useCallback as useCallback48, useMemo as useMemo49, useState as useState73 } from "react";
36849
36919
 
36850
36920
  // src/components/FunConnectOptions/FunConnectResultStep.tsx
36851
- import React229, { useEffect as useEffect56 } from "react";
36921
+ import React230, { useEffect as useEffect56 } from "react";
36852
36922
  var AUTO_CLOSE = 2e3;
36853
36923
  var messageMap = (hasQrCode) => ({
36854
36924
  error: {
@@ -36876,7 +36946,7 @@ var FunConnectResultStep = ({
36876
36946
  }, [onClose, hasAutoclose]);
36877
36947
  const hasQrCode = wallet?.qrCode && qrCodeUri;
36878
36948
  const message = messageMap(!!hasQrCode)[type];
36879
- return /* @__PURE__ */ React229.createElement(Box, { display: "flex", flexDirection: "column", gap: "24" }, /* @__PURE__ */ React229.createElement(Box, { display: "flex", flexDirection: "column", alignItems: "center", gap: "12" }, hasQrCode && type === "error" ? /* @__PURE__ */ React229.createElement(
36949
+ return /* @__PURE__ */ React230.createElement(Box, { display: "flex", flexDirection: "column", gap: "24" }, /* @__PURE__ */ React230.createElement(Box, { display: "flex", flexDirection: "column", alignItems: "center", gap: "12" }, hasQrCode && type === "error" ? /* @__PURE__ */ React230.createElement(
36880
36950
  Box,
36881
36951
  {
36882
36952
  alignItems: "center",
@@ -36885,7 +36955,7 @@ var FunConnectResultStep = ({
36885
36955
  justifyContent: "center",
36886
36956
  flexDirection: "column"
36887
36957
  },
36888
- /* @__PURE__ */ React229.createElement(
36958
+ /* @__PURE__ */ React230.createElement(
36889
36959
  QRCode,
36890
36960
  {
36891
36961
  logoBackground: wallet.iconBackground,
@@ -36895,7 +36965,7 @@ var FunConnectResultStep = ({
36895
36965
  uri: qrCodeUri
36896
36966
  }
36897
36967
  )
36898
- ) : /* @__PURE__ */ React229.createElement(
36968
+ ) : /* @__PURE__ */ React230.createElement(
36899
36969
  Box,
36900
36970
  {
36901
36971
  padding: "30",
@@ -36904,7 +36974,7 @@ var FunConnectResultStep = ({
36904
36974
  borderStyle: "solid",
36905
36975
  borderColor: type === "success" ? "buttonSuccess" : "buttonWarning"
36906
36976
  },
36907
- wallet && /* @__PURE__ */ React229.createElement(Box, { style: { width: 40, height: 40 } }, /* @__PURE__ */ React229.createElement(
36977
+ wallet && /* @__PURE__ */ React230.createElement(Box, { style: { width: 40, height: 40 } }, /* @__PURE__ */ React230.createElement(
36908
36978
  AsyncImage,
36909
36979
  {
36910
36980
  background: wallet.iconBackground,
@@ -36914,12 +36984,12 @@ var FunConnectResultStep = ({
36914
36984
  height: 40
36915
36985
  }
36916
36986
  ))
36917
- ), /* @__PURE__ */ React229.createElement(FunMessage, { title: message.title, description: message.description })));
36987
+ ), /* @__PURE__ */ React230.createElement(FunMessage, { title: message.title, description: message.description })));
36918
36988
  };
36919
36989
 
36920
36990
  // src/components/FunConnectOptions/FunSignInStep.tsx
36921
36991
  import { isMobile as isMobile13, isSafari as isSafari2, redirectInMobile } from "@funkit/utils";
36922
- import React231, { useState as useState72 } from "react";
36992
+ import React232, { useState as useState72 } from "react";
36923
36993
 
36924
36994
  // src/wallets/latestWalletId.ts
36925
36995
  var storageKey6 = "fkc-latest-id";
@@ -36928,7 +36998,7 @@ function addLatestWalletId(walletId) {
36928
36998
  }
36929
36999
 
36930
37000
  // src/components/ModalSelection/ModalSelection.tsx
36931
- import React230, { useState as useState71 } from "react";
37001
+ import React231, { useState as useState71 } from "react";
36932
37002
  var ModalSelection = ({
36933
37003
  as = "button",
36934
37004
  currentlySelected = false,
@@ -36945,7 +37015,7 @@ var ModalSelection = ({
36945
37015
  }) => {
36946
37016
  const [isMouseOver, setIsMouseOver] = useState71(false);
36947
37017
  const { t } = useFunkitTranslation();
36948
- return /* @__PURE__ */ React230.createElement(
37018
+ return /* @__PURE__ */ React231.createElement(
36949
37019
  Box,
36950
37020
  {
36951
37021
  display: "flex",
@@ -36953,7 +37023,7 @@ var ModalSelection = ({
36953
37023
  onMouseEnter: () => setIsMouseOver(true),
36954
37024
  onMouseLeave: () => setIsMouseOver(false)
36955
37025
  },
36956
- /* @__PURE__ */ React230.createElement(
37026
+ /* @__PURE__ */ React231.createElement(
36957
37027
  Box,
36958
37028
  {
36959
37029
  as,
@@ -36977,7 +37047,7 @@ var ModalSelection = ({
36977
37047
  width: "full",
36978
37048
  ...urlProps
36979
37049
  },
36980
- /* @__PURE__ */ React230.createElement(
37050
+ /* @__PURE__ */ React231.createElement(
36981
37051
  Box,
36982
37052
  {
36983
37053
  color: currentlySelected ? "accentColorForeground" : "primaryText",
@@ -36987,7 +37057,7 @@ var ModalSelection = ({
36987
37057
  fontWeight: "medium",
36988
37058
  transition: "default"
36989
37059
  },
36990
- /* @__PURE__ */ React230.createElement(Box, { alignItems: "center", display: "flex", flexDirection: "row", gap: "12" }, icon ? icon : /* @__PURE__ */ React230.createElement(
37060
+ /* @__PURE__ */ React231.createElement(Box, { alignItems: "center", display: "flex", flexDirection: "row", gap: "12" }, icon ? icon : /* @__PURE__ */ React231.createElement(
36991
37061
  AsyncImage,
36992
37062
  {
36993
37063
  background: iconBackground,
@@ -36998,7 +37068,7 @@ var ModalSelection = ({
36998
37068
  src: iconUrl,
36999
37069
  width: "18"
37000
37070
  }
37001
- ), /* @__PURE__ */ React230.createElement(
37071
+ ), /* @__PURE__ */ React231.createElement(
37002
37072
  Box,
37003
37073
  {
37004
37074
  display: "flex",
@@ -37006,8 +37076,8 @@ var ModalSelection = ({
37006
37076
  style: { flex: 1 },
37007
37077
  alignItems: "center"
37008
37078
  },
37009
- /* @__PURE__ */ React230.createElement(Box, { maxWidth: "200" }, name),
37010
- recent && /* @__PURE__ */ React230.createElement(
37079
+ /* @__PURE__ */ React231.createElement(Box, { maxWidth: "200" }, name),
37080
+ recent && /* @__PURE__ */ React231.createElement(
37011
37081
  FunBadge,
37012
37082
  {
37013
37083
  borderRadius: "smallBadge",
@@ -37096,8 +37166,8 @@ function FunSignInStep({
37096
37166
  }
37097
37167
  };
37098
37168
  const makeWeb3LoginSection = () => {
37099
- return /* @__PURE__ */ React231.createElement(Box, { display: "flex", flexDirection: "column", gap: "10" }, wallets.map((wallet) => {
37100
- return /* @__PURE__ */ React231.createElement(
37169
+ return /* @__PURE__ */ React232.createElement(Box, { display: "flex", flexDirection: "column", gap: "10" }, wallets.map((wallet) => {
37170
+ return /* @__PURE__ */ React232.createElement(
37101
37171
  ModalSelection,
37102
37172
  {
37103
37173
  currentlySelected: wallet.id === selectedOptionId,
@@ -37114,14 +37184,14 @@ function FunSignInStep({
37114
37184
  }));
37115
37185
  };
37116
37186
  const Web3LoginSection = makeWeb3LoginSection();
37117
- return /* @__PURE__ */ React231.createElement(Box, { display: "flex", flexDirection: "column", gap: "24" }, Web3LoginSection);
37187
+ return /* @__PURE__ */ React232.createElement(Box, { display: "flex", flexDirection: "column", gap: "24" }, Web3LoginSection);
37118
37188
  }
37119
37189
 
37120
37190
  // src/components/FunConnectOptions/FunWeb3ConnectingStep.tsx
37121
- import React233 from "react";
37191
+ import React234 from "react";
37122
37192
 
37123
37193
  // src/components/GradientLoader/GradientLoader.tsx
37124
- import React232 from "react";
37194
+ import React233 from "react";
37125
37195
 
37126
37196
  // src/components/GradientLoader/GradientLoader.css.ts
37127
37197
  var loader = "m17uwo1";
@@ -37131,7 +37201,7 @@ var GradientLoader = ({
37131
37201
  height = "100",
37132
37202
  width = "100"
37133
37203
  }) => {
37134
- return /* @__PURE__ */ React232.createElement(
37204
+ return /* @__PURE__ */ React233.createElement(
37135
37205
  Box,
37136
37206
  {
37137
37207
  className: loader,
@@ -37152,7 +37222,7 @@ var FunWeb3ConnectingStep = ({ selectedWallet, qrCodeUri }) => {
37152
37222
  }
37153
37223
  const { iconBackground, iconUrl, name, qrCode, ready } = selectedWallet;
37154
37224
  const hasQrCode = qrCode && qrCodeUri;
37155
- const waitingMessage = /* @__PURE__ */ React233.createElement(
37225
+ const waitingMessage = /* @__PURE__ */ React234.createElement(
37156
37226
  FunMessage,
37157
37227
  {
37158
37228
  title: `Waiting for ${hasQrCode ? "connection" : name}`,
@@ -37160,7 +37230,7 @@ var FunWeb3ConnectingStep = ({ selectedWallet, qrCodeUri }) => {
37160
37230
  id: "link-text"
37161
37231
  }
37162
37232
  );
37163
- return /* @__PURE__ */ React233.createElement(Box, { display: "flex", flexDirection: "column", gap: "24" }, hasQrCode ? /* @__PURE__ */ React233.createElement(
37233
+ return /* @__PURE__ */ React234.createElement(Box, { display: "flex", flexDirection: "column", gap: "24" }, hasQrCode ? /* @__PURE__ */ React234.createElement(
37164
37234
  Box,
37165
37235
  {
37166
37236
  alignItems: "center",
@@ -37170,7 +37240,7 @@ var FunWeb3ConnectingStep = ({ selectedWallet, qrCodeUri }) => {
37170
37240
  gap: "12",
37171
37241
  flexDirection: "column"
37172
37242
  },
37173
- /* @__PURE__ */ React233.createElement(
37243
+ /* @__PURE__ */ React234.createElement(
37174
37244
  QRCode,
37175
37245
  {
37176
37246
  logoBackground: iconBackground,
@@ -37181,7 +37251,7 @@ var FunWeb3ConnectingStep = ({ selectedWallet, qrCodeUri }) => {
37181
37251
  }
37182
37252
  ),
37183
37253
  waitingMessage
37184
- ) : /* @__PURE__ */ React233.createElement(
37254
+ ) : /* @__PURE__ */ React234.createElement(
37185
37255
  Box,
37186
37256
  {
37187
37257
  alignItems: "center",
@@ -37190,7 +37260,7 @@ var FunWeb3ConnectingStep = ({ selectedWallet, qrCodeUri }) => {
37190
37260
  flexDirection: "column",
37191
37261
  gap: "12"
37192
37262
  },
37193
- ready && /* @__PURE__ */ React233.createElement(React233.Fragment, null, /* @__PURE__ */ React233.createElement(Box, { id: "link-graphics", padding: "30", position: "relative" }, /* @__PURE__ */ React233.createElement(Box, { position: "absolute", style: { top: 0, left: 0 } }, /* @__PURE__ */ React233.createElement(GradientLoader, null)), /* @__PURE__ */ React233.createElement(Box, { style: { width: 40, height: 40 } }, /* @__PURE__ */ React233.createElement(
37263
+ ready && /* @__PURE__ */ React234.createElement(React234.Fragment, null, /* @__PURE__ */ React234.createElement(Box, { id: "link-graphics", padding: "30", position: "relative" }, /* @__PURE__ */ React234.createElement(Box, { position: "absolute", style: { top: 0, left: 0 } }, /* @__PURE__ */ React234.createElement(GradientLoader, null)), /* @__PURE__ */ React234.createElement(Box, { style: { width: 40, height: 40 } }, /* @__PURE__ */ React234.createElement(
37194
37264
  AsyncImage,
37195
37265
  {
37196
37266
  background: iconBackground,
@@ -37290,7 +37360,7 @@ function FunConnectOptions({
37290
37360
  const stepComponent = useMemo49(() => {
37291
37361
  switch (step) {
37292
37362
  case 0 /* SIGNIN_PRIMARY */:
37293
- return /* @__PURE__ */ React234.createElement(
37363
+ return /* @__PURE__ */ React235.createElement(
37294
37364
  FunSignInStep,
37295
37365
  {
37296
37366
  signInStep: step,
@@ -37302,7 +37372,7 @@ function FunConnectOptions({
37302
37372
  }
37303
37373
  );
37304
37374
  case 1 /* PENDING_WALLET */:
37305
- return /* @__PURE__ */ React234.createElement(
37375
+ return /* @__PURE__ */ React235.createElement(
37306
37376
  FunWeb3ConnectingStep,
37307
37377
  {
37308
37378
  selectedWallet,
@@ -37310,7 +37380,7 @@ function FunConnectOptions({
37310
37380
  }
37311
37381
  );
37312
37382
  case 2 /* ERROR_WEB3 */:
37313
- return /* @__PURE__ */ React234.createElement(
37383
+ return /* @__PURE__ */ React235.createElement(
37314
37384
  FunConnectResultStep,
37315
37385
  {
37316
37386
  onClose,
@@ -37321,7 +37391,7 @@ function FunConnectOptions({
37321
37391
  );
37322
37392
  }
37323
37393
  }, [connectToWallet, navigateTo, onClose, qrCodeUri, selectedWallet, step]);
37324
- return /* @__PURE__ */ React234.createElement(React234.Fragment, null, /* @__PURE__ */ React234.createElement(Dialog.Title, { onClose, ...navigationConfig[step] }), /* @__PURE__ */ React234.createElement(
37394
+ return /* @__PURE__ */ React235.createElement(React235.Fragment, null, /* @__PURE__ */ React235.createElement(Dialog.Title, { onClose, ...navigationConfig[step] }), /* @__PURE__ */ React235.createElement(
37325
37395
  Dialog.Content,
37326
37396
  {
37327
37397
  display: "flex",
@@ -37333,11 +37403,11 @@ function FunConnectOptions({
37333
37403
  withBottomDivider: actionConfig[step] ? "always" : "never"
37334
37404
  },
37335
37405
  stepComponent
37336
- ), /* @__PURE__ */ React234.createElement(Dialog.BottomSection, { id: MODAL_BOTTOM_BAR_IDS.connectwallet }, actionConfig[step] && /* @__PURE__ */ React234.createElement(Dialog.BottomBar, { ...actionConfig[step] })));
37406
+ ), /* @__PURE__ */ React235.createElement(Dialog.BottomSection, { id: MODAL_BOTTOM_BAR_IDS.connectwallet }, actionConfig[step] && /* @__PURE__ */ React235.createElement(Dialog.BottomBar, { ...actionConfig[step] })));
37337
37407
  }
37338
37408
 
37339
37409
  // src/components/FunCheckoutBlocked/FunCheckoutBlocked.tsx
37340
- import React235 from "react";
37410
+ import React236 from "react";
37341
37411
  import { Trans as Trans13 } from "react-i18next";
37342
37412
 
37343
37413
  // src/components/FunCheckoutBlocked/FunCheckoutBlocked.css.ts
@@ -37348,13 +37418,13 @@ var FunCheckoutBlocked = ({ reason }) => {
37348
37418
  const { t } = useFunkitTranslation();
37349
37419
  const blockedReasonToDescription = {
37350
37420
  geoblock: t("funCheckoutBlocked.geoblock", { orgName: FUN_ORG_NAME }),
37351
- security: /* @__PURE__ */ React235.createElement(
37421
+ security: /* @__PURE__ */ React236.createElement(
37352
37422
  Trans13,
37353
37423
  {
37354
37424
  t,
37355
37425
  i18nKey: "funCheckoutBlocked.security",
37356
37426
  components: {
37357
- ContactSupportLink: /* @__PURE__ */ React235.createElement(ContactSupportLink, { size: "10" })
37427
+ ContactSupportLink: /* @__PURE__ */ React236.createElement(ContactSupportLink, { size: "10" })
37358
37428
  },
37359
37429
  values: {
37360
37430
  orgName: FUN_ORG_NAME
@@ -37364,10 +37434,10 @@ var FunCheckoutBlocked = ({ reason }) => {
37364
37434
  unloggedin: t("funCheckoutBlocked.unloggedin", { orgName: FUN_ORG_NAME })
37365
37435
  };
37366
37436
  const description = blockedReasonToDescription[reason];
37367
- return /* @__PURE__ */ React235.createElement(Box, { className: funCheckoutBlockedStyle }, /* @__PURE__ */ React235.createElement(
37437
+ return /* @__PURE__ */ React236.createElement(Box, { className: funCheckoutBlockedStyle }, /* @__PURE__ */ React236.createElement(
37368
37438
  FunAlert,
37369
37439
  {
37370
- icon: /* @__PURE__ */ React235.createElement(FunInfoIcon, null),
37440
+ icon: /* @__PURE__ */ React236.createElement(FunInfoIcon, null),
37371
37441
  description,
37372
37442
  verticalAlignment: "top"
37373
37443
  }
@@ -37398,9 +37468,14 @@ var ALWAYS_SHOW_BOTTOM_DIVIDER_STEPS = [
37398
37468
  "direct_execution_notif_center" /* DIRECT_EXECUTION_NOTIF_CENTER */,
37399
37469
  "brokerage_two_fa" /* BROKERAGE_TWO_FA */
37400
37470
  ];
37471
+ function useCheckoutModalQueryPreload() {
37472
+ const { isUserLoggedIn } = useGeneralWallet();
37473
+ useAllowedAssets({ enabled: isUserLoggedIn });
37474
+ }
37401
37475
  function FunCheckoutModalStepComponent(props) {
37476
+ useCheckoutModalQueryPreload();
37402
37477
  const { Component: Component2 } = CheckoutModalSteps[props.modalState.step];
37403
- return /* @__PURE__ */ React236.createElement(Component2, { ...props });
37478
+ return /* @__PURE__ */ React237.createElement(Component2, { ...props });
37404
37479
  }
37405
37480
  function FunCheckoutModalInner({
37406
37481
  checkoutItem,
@@ -37470,7 +37545,7 @@ function FunCheckoutModalInner({
37470
37545
  isActiveCheckout: true,
37471
37546
  isCheckoutDetailView: modalState.step === "checkout_complete" /* CHECKOUT_COMPLETE */,
37472
37547
  paddingTop: 0,
37473
- topbar: /* @__PURE__ */ React236.createElement(
37548
+ topbar: /* @__PURE__ */ React237.createElement(
37474
37549
  Dialog.Title,
37475
37550
  {
37476
37551
  hasBackButton: hasBack && !isBlocked,
@@ -37485,7 +37560,7 @@ function FunCheckoutModalInner({
37485
37560
  scrollableContent: CHECKOUT_DIALOG_CONTENT_ID
37486
37561
  });
37487
37562
  const showBottomDivider = NEVER_SHOW_BOTTOM_DIVIDER_STEPS.includes(modalState.step) || modalState.hideBottomDivider ? "never" : ALWAYS_SHOW_BOTTOM_DIVIDER_STEPS.includes(modalState.step) ? "always" : "scroll";
37488
- return /* @__PURE__ */ React236.createElement(
37563
+ return /* @__PURE__ */ React237.createElement(
37489
37564
  Dialog,
37490
37565
  {
37491
37566
  open,
@@ -37496,7 +37571,7 @@ function FunCheckoutModalInner({
37496
37571
  withoutBottomPadding: modalState.step === "meld_currency_select" /* MELD_CURRENCY_SELECT */,
37497
37572
  testId: "checkout-modal"
37498
37573
  },
37499
- /* @__PURE__ */ React236.createElement(TooltipAnchorRefContext.Provider, { value: tooltipAnchorRef }, /* @__PURE__ */ React236.createElement(FunCheckoutModalHeightAnimationWrapper, { checkoutStep: modalState.step }, modalState.showWalletOptions && /* @__PURE__ */ React236.createElement(
37574
+ /* @__PURE__ */ React237.createElement(TooltipAnchorRefContext.Provider, { value: tooltipAnchorRef }, /* @__PURE__ */ React237.createElement(FunCheckoutModalHeightAnimationWrapper, { checkoutStep: modalState.step }, modalState.showWalletOptions && /* @__PURE__ */ React237.createElement(
37500
37575
  FunConnectOptions,
37501
37576
  {
37502
37577
  initialScreenOnBack: () => setModalState((state) => ({
@@ -37512,7 +37587,7 @@ function FunCheckoutModalInner({
37512
37587
  },
37513
37588
  walletsOnly: true
37514
37589
  }
37515
- ), !modalState.showWalletOptions && topbar, /* @__PURE__ */ React236.createElement(
37590
+ ), !modalState.showWalletOptions && topbar, /* @__PURE__ */ React237.createElement(
37516
37591
  Dialog.Content,
37517
37592
  {
37518
37593
  fullHeight: showFullHeight,
@@ -37523,20 +37598,20 @@ function FunCheckoutModalInner({
37523
37598
  withBottomDivider: showBottomDivider,
37524
37599
  id: CHECKOUT_DIALOG_CONTENT_ID
37525
37600
  },
37526
- isBlocked ? /* @__PURE__ */ React236.createElement(
37601
+ isBlocked ? /* @__PURE__ */ React237.createElement(
37527
37602
  FunCheckoutBlocked,
37528
37603
  {
37529
37604
  reason: !isUserLoggedIn ? "unloggedin" : isUserGeoblocked ? "geoblock" : "security"
37530
37605
  }
37531
- ) : /* @__PURE__ */ React236.createElement(FunCheckoutModalStepComponent, { ...modalProps }),
37532
- /* @__PURE__ */ React236.createElement("div", { ref: tooltipAnchorRef })
37533
- ), /* @__PURE__ */ React236.createElement(
37606
+ ) : /* @__PURE__ */ React237.createElement(FunCheckoutModalStepComponent, { ...modalProps }),
37607
+ /* @__PURE__ */ React237.createElement("div", { ref: tooltipAnchorRef })
37608
+ ), /* @__PURE__ */ React237.createElement(
37534
37609
  Dialog.BottomSection,
37535
37610
  {
37536
37611
  id: MODAL_BOTTOM_BAR_IDS.checkout,
37537
37612
  display: modalState.showWalletOptions ? "none" : "block"
37538
37613
  }
37539
- ), !isBlocked && /* @__PURE__ */ React236.createElement(
37614
+ ), !isBlocked && /* @__PURE__ */ React237.createElement(
37540
37615
  CheckoutNotifications,
37541
37616
  {
37542
37617
  onHelp: handleCheckoutHelp,
@@ -37555,7 +37630,7 @@ function FunCheckoutModal({
37555
37630
  if (!checkoutItem) {
37556
37631
  return null;
37557
37632
  }
37558
- return /* @__PURE__ */ React236.createElement(
37633
+ return /* @__PURE__ */ React237.createElement(
37559
37634
  FunCheckoutModalInner,
37560
37635
  {
37561
37636
  checkoutItem,
@@ -37575,21 +37650,21 @@ var hideModalTitleMetaIfTrue = (checkoutConfig, hideModalMeta) => {
37575
37650
  };
37576
37651
 
37577
37652
  // src/modals/ConnectModal/ConnectModal.tsx
37578
- import React237 from "react";
37653
+ import React238 from "react";
37579
37654
  import { useAccount as useAccount9 } from "wagmi";
37580
37655
  var TITLE_ID2 = "rk-connect-modal-title";
37581
37656
  function ConnectModal({ onClose, open }) {
37582
37657
  const connectionStatus = useConnectionStatus();
37583
37658
  const { disconnect } = useFunkitDisconnect();
37584
37659
  const { isConnecting } = useAccount9();
37585
- const onConnectModalCancel = React237.useCallback(() => {
37660
+ const onConnectModalCancel = React238.useCallback(() => {
37586
37661
  if (isConnecting) {
37587
37662
  disconnect();
37588
37663
  }
37589
37664
  onClose();
37590
37665
  }, [onClose, disconnect, isConnecting]);
37591
37666
  if (connectionStatus === "disconnected" || connectionStatus === "loading") {
37592
- return /* @__PURE__ */ React237.createElement(
37667
+ return /* @__PURE__ */ React238.createElement(
37593
37668
  Dialog,
37594
37669
  {
37595
37670
  onClose: onConnectModalCancel,
@@ -37597,7 +37672,7 @@ function ConnectModal({ onClose, open }) {
37597
37672
  titleId: TITLE_ID2,
37598
37673
  isSmartCloseable: true
37599
37674
  },
37600
- /* @__PURE__ */ React237.createElement(FunCheckoutModalHeightAnimationWrapper, null, /* @__PURE__ */ React237.createElement(FunConnectOptions, { onClose: onConnectModalCancel }))
37675
+ /* @__PURE__ */ React238.createElement(FunCheckoutModalHeightAnimationWrapper, null, /* @__PURE__ */ React238.createElement(FunConnectOptions, { onClose: onConnectModalCancel }))
37601
37676
  );
37602
37677
  }
37603
37678
  return null;
@@ -37714,7 +37789,7 @@ function ModalProvider({ children }) {
37714
37789
  closeModals();
37715
37790
  }
37716
37791
  }, [isUnauthenticated]);
37717
- return /* @__PURE__ */ React238.createElement(
37792
+ return /* @__PURE__ */ React239.createElement(
37718
37793
  ModalContext.Provider,
37719
37794
  {
37720
37795
  value: useMemo50(
@@ -37760,8 +37835,8 @@ function ModalProvider({ children }) {
37760
37835
  )
37761
37836
  },
37762
37837
  children,
37763
- /* @__PURE__ */ React238.createElement(ConnectModal, { onClose: closeConnectModal, open: connectModalOpen }),
37764
- /* @__PURE__ */ React238.createElement(
37838
+ /* @__PURE__ */ React239.createElement(ConnectModal, { onClose: closeConnectModal, open: connectModalOpen }),
37839
+ /* @__PURE__ */ React239.createElement(
37765
37840
  AccountModal,
37766
37841
  {
37767
37842
  onClose: closeAccountModal,
@@ -37769,8 +37844,8 @@ function ModalProvider({ children }) {
37769
37844
  defaultTab: accountModalTab
37770
37845
  }
37771
37846
  ),
37772
- /* @__PURE__ */ React238.createElement(ChainModal, { onClose: closeChainModal, open: chainModalOpen }),
37773
- /* @__PURE__ */ React238.createElement(
37847
+ /* @__PURE__ */ React239.createElement(ChainModal, { onClose: closeChainModal, open: chainModalOpen }),
37848
+ /* @__PURE__ */ React239.createElement(
37774
37849
  FunCheckoutModal,
37775
37850
  {
37776
37851
  onClose: closeFunCheckoutModal,
@@ -37779,7 +37854,7 @@ function ModalProvider({ children }) {
37779
37854
  key: softHiddenCheckoutId ?? funCheckoutModalId
37780
37855
  }
37781
37856
  ),
37782
- withdrawalModalConfig && /* @__PURE__ */ React238.createElement(
37857
+ withdrawalModalConfig && /* @__PURE__ */ React239.createElement(
37783
37858
  WithdrawalModal,
37784
37859
  {
37785
37860
  onClose: closeWithdrawalModal,
@@ -38433,7 +38508,7 @@ function FunkitCheckoutProvider({ children }) {
38433
38508
  applyDynamicRouting,
38434
38509
  updateDynamicRoutingId
38435
38510
  };
38436
- return /* @__PURE__ */ React239.createElement(FunkitCheckoutContext.Provider, { value: contextValue }, children);
38511
+ return /* @__PURE__ */ React240.createElement(FunkitCheckoutContext.Provider, { value: contextValue }, children);
38437
38512
  }
38438
38513
  function useCheckoutContext() {
38439
38514
  return useContext19(FunkitCheckoutContext);
@@ -39209,7 +39284,7 @@ function ConnectButtonRenderer({
39209
39284
  const { openChainModal } = useChainModal();
39210
39285
  const { openAccountModal } = useAccountModal();
39211
39286
  const { accountModalOpen, chainModalOpen, connectModalOpen } = useModalState();
39212
- return /* @__PURE__ */ React240.createElement(React240.Fragment, null, children({
39287
+ return /* @__PURE__ */ React241.createElement(React241.Fragment, null, children({
39213
39288
  account: address ? {
39214
39289
  address,
39215
39290
  balanceDecimals: balanceData?.decimals,
@@ -39266,7 +39341,7 @@ function ChainSelectorButton({
39266
39341
  chain
39267
39342
  }) {
39268
39343
  const { t } = useFunkitTranslation();
39269
- return /* @__PURE__ */ React241.createElement(
39344
+ return /* @__PURE__ */ React242.createElement(
39270
39345
  Box,
39271
39346
  {
39272
39347
  alignItems: "center",
@@ -39294,7 +39369,7 @@ function ChainSelectorButton({
39294
39369
  type: "button",
39295
39370
  ...connectButtonStyles
39296
39371
  },
39297
- unsupportedChain ? /* @__PURE__ */ React241.createElement(Box, { alignItems: "center", display: "flex", height: "24", paddingX: "4" }, t("chainModal.wrongNetwork")) : /* @__PURE__ */ React241.createElement(Box, { alignItems: "center", display: "flex", gap: "6" }, chain.hasIcon ? /* @__PURE__ */ React241.createElement(
39372
+ unsupportedChain ? /* @__PURE__ */ React242.createElement(Box, { alignItems: "center", display: "flex", height: "24", paddingX: "4" }, t("chainModal.wrongNetwork")) : /* @__PURE__ */ React242.createElement(Box, { alignItems: "center", display: "flex", gap: "6" }, chain.hasIcon ? /* @__PURE__ */ React242.createElement(
39298
39373
  Box,
39299
39374
  {
39300
39375
  display: mapResponsiveValue(
@@ -39304,7 +39379,7 @@ function ChainSelectorButton({
39304
39379
  height: "12",
39305
39380
  width: "12"
39306
39381
  },
39307
- /* @__PURE__ */ React241.createElement(
39382
+ /* @__PURE__ */ React242.createElement(
39308
39383
  AsyncImage,
39309
39384
  {
39310
39385
  alt: chain.name ?? "Chain icon",
@@ -39315,7 +39390,7 @@ function ChainSelectorButton({
39315
39390
  src: chain.iconUrl
39316
39391
  }
39317
39392
  )
39318
- ) : null, /* @__PURE__ */ React241.createElement(
39393
+ ) : null, /* @__PURE__ */ React242.createElement(
39319
39394
  Box,
39320
39395
  {
39321
39396
  display: mapResponsiveValue(chainStatus, (value) => {
@@ -39335,7 +39410,7 @@ function AccountButton({
39335
39410
  showBalance,
39336
39411
  accountStatus
39337
39412
  }) {
39338
- return /* @__PURE__ */ React241.createElement(
39413
+ return /* @__PURE__ */ React242.createElement(
39339
39414
  Box,
39340
39415
  {
39341
39416
  alignItems: "center",
@@ -39355,7 +39430,7 @@ function AccountButton({
39355
39430
  gap: "16",
39356
39431
  ...connectButtonStyles
39357
39432
  },
39358
- account.displayBalance && /* @__PURE__ */ React241.createElement(
39433
+ account.displayBalance && /* @__PURE__ */ React242.createElement(
39359
39434
  Box,
39360
39435
  {
39361
39436
  display: mapResponsiveValue(
@@ -39365,7 +39440,7 @@ function AccountButton({
39365
39440
  },
39366
39441
  account.displayBalance
39367
39442
  ),
39368
- /* @__PURE__ */ React241.createElement(Box, { alignItems: "center", display: "flex", gap: "6" }, /* @__PURE__ */ React241.createElement(
39443
+ /* @__PURE__ */ React242.createElement(Box, { alignItems: "center", display: "flex", gap: "6" }, /* @__PURE__ */ React242.createElement(
39369
39444
  Box,
39370
39445
  {
39371
39446
  display: mapResponsiveValue(
@@ -39373,7 +39448,7 @@ function AccountButton({
39373
39448
  (value) => value === "full" || value === "avatar" ? "block" : "none"
39374
39449
  )
39375
39450
  },
39376
- /* @__PURE__ */ React241.createElement(
39451
+ /* @__PURE__ */ React242.createElement(
39377
39452
  Avatar,
39378
39453
  {
39379
39454
  address: account.address,
@@ -39382,7 +39457,7 @@ function AccountButton({
39382
39457
  size: 12
39383
39458
  }
39384
39459
  )
39385
- ), /* @__PURE__ */ React241.createElement(
39460
+ ), /* @__PURE__ */ React242.createElement(
39386
39461
  Box,
39387
39462
  {
39388
39463
  display: mapResponsiveValue(
@@ -39415,7 +39490,7 @@ function ConnectButton({
39415
39490
  setReady(true);
39416
39491
  }
39417
39492
  }, [showBalance, setShowBalance, ready]);
39418
- return ready ? /* @__PURE__ */ React241.createElement(ConnectButtonRenderer, null, ({
39493
+ return ready ? /* @__PURE__ */ React242.createElement(ConnectButtonRenderer, null, ({
39419
39494
  account,
39420
39495
  chain,
39421
39496
  mounted,
@@ -39425,7 +39500,7 @@ function ConnectButton({
39425
39500
  }) => {
39426
39501
  const ready2 = mounted && connectionStatus !== "loading";
39427
39502
  const unsupportedChain = chain?.unsupported ?? false;
39428
- return /* @__PURE__ */ React241.createElement(
39503
+ return /* @__PURE__ */ React242.createElement(
39429
39504
  Box,
39430
39505
  {
39431
39506
  display: "flex",
@@ -39441,7 +39516,7 @@ function ConnectButton({
39441
39516
  },
39442
39517
  ready2 && account && connectionStatus === "connected" ? (
39443
39518
  // Logged in: Chain Button & Account Button
39444
- /* @__PURE__ */ React241.createElement(React241.Fragment, null, showChainSelector && chain && (chains.length > 1 || unsupportedChain) && /* @__PURE__ */ React241.createElement(
39519
+ /* @__PURE__ */ React242.createElement(React242.Fragment, null, showChainSelector && chain && (chains.length > 1 || unsupportedChain) && /* @__PURE__ */ React242.createElement(
39445
39520
  ChainSelectorButton,
39446
39521
  {
39447
39522
  unsupportedChain,
@@ -39449,7 +39524,7 @@ function ConnectButton({
39449
39524
  openChainModal,
39450
39525
  chain
39451
39526
  }
39452
- ), !unsupportedChain && /* @__PURE__ */ React241.createElement(
39527
+ ), !unsupportedChain && /* @__PURE__ */ React242.createElement(
39453
39528
  AccountButton,
39454
39529
  {
39455
39530
  openAccountModal,
@@ -39460,7 +39535,7 @@ function ConnectButton({
39460
39535
  ))
39461
39536
  ) : (
39462
39537
  // Not logged in: Connect Button
39463
- /* @__PURE__ */ React241.createElement(
39538
+ /* @__PURE__ */ React242.createElement(
39464
39539
  Box,
39465
39540
  {
39466
39541
  as: "button",
@@ -39478,19 +39553,19 @@ function ConnectButton({
39478
39553
  type: "button",
39479
39554
  ...connectButtonStyles
39480
39555
  },
39481
- /* @__PURE__ */ React241.createElement(Box, { display: "flex", gap: "8", alignItems: "center" }, mounted && label, suffixIcon)
39556
+ /* @__PURE__ */ React242.createElement(Box, { display: "flex", gap: "8", alignItems: "center" }, mounted && label, suffixIcon)
39482
39557
  )
39483
39558
  )
39484
39559
  );
39485
- }) : /* @__PURE__ */ React241.createElement(React241.Fragment, null);
39560
+ }) : /* @__PURE__ */ React242.createElement(React242.Fragment, null);
39486
39561
  }
39487
39562
  ConnectButton.__defaultProps = defaultProps;
39488
39563
  ConnectButton.Custom = ConnectButtonRenderer;
39489
39564
 
39490
39565
  // src/components/Icons/FunkitPaymentsIconLine.tsx
39491
- import React242 from "react";
39566
+ import React243 from "react";
39492
39567
  function MetaMaskPaymentIcon({ size = 16 }) {
39493
- return /* @__PURE__ */ React242.createElement(
39568
+ return /* @__PURE__ */ React243.createElement(
39494
39569
  "svg",
39495
39570
  {
39496
39571
  width: size,
@@ -39499,7 +39574,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
39499
39574
  fill: "none",
39500
39575
  xmlns: "http://www.w3.org/2000/svg"
39501
39576
  },
39502
- /* @__PURE__ */ React242.createElement(
39577
+ /* @__PURE__ */ React243.createElement(
39503
39578
  "path",
39504
39579
  {
39505
39580
  d: "M24.0891 3.1199L15.3446 9.61456L16.9617 5.7828L24.0891 3.1199Z",
@@ -39510,7 +39585,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
39510
39585
  strokeLinejoin: "round"
39511
39586
  }
39512
39587
  ),
39513
- /* @__PURE__ */ React242.createElement(
39588
+ /* @__PURE__ */ React243.createElement(
39514
39589
  "path",
39515
39590
  {
39516
39591
  d: "M3.90207 3.1199L12.5763 9.67608L11.0383 5.7828L3.90207 3.1199Z",
@@ -39521,7 +39596,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
39521
39596
  strokeLinejoin: "round"
39522
39597
  }
39523
39598
  ),
39524
- /* @__PURE__ */ React242.createElement(
39599
+ /* @__PURE__ */ React243.createElement(
39525
39600
  "path",
39526
39601
  {
39527
39602
  d: "M20.9429 18.1745L18.6139 21.7426L23.597 23.1136L25.0295 18.2536L20.9429 18.1745Z",
@@ -39532,7 +39607,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
39532
39607
  strokeLinejoin: "round"
39533
39608
  }
39534
39609
  ),
39535
- /* @__PURE__ */ React242.createElement(
39610
+ /* @__PURE__ */ React243.createElement(
39536
39611
  "path",
39537
39612
  {
39538
39613
  d: "M2.97929 18.2536L4.40301 23.1136L9.38607 21.7426L7.05713 18.1745L2.97929 18.2536Z",
@@ -39543,7 +39618,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
39543
39618
  strokeLinejoin: "round"
39544
39619
  }
39545
39620
  ),
39546
- /* @__PURE__ */ React242.createElement(
39621
+ /* @__PURE__ */ React243.createElement(
39547
39622
  "path",
39548
39623
  {
39549
39624
  d: "M9.10483 12.1456L7.71626 14.2461L12.6642 14.4658L12.4884 9.14877L9.10483 12.1456Z",
@@ -39554,7 +39629,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
39554
39629
  strokeLinejoin: "round"
39555
39630
  }
39556
39631
  ),
39557
- /* @__PURE__ */ React242.createElement(
39632
+ /* @__PURE__ */ React243.createElement(
39558
39633
  "path",
39559
39634
  {
39560
39635
  d: "M18.8864 12.1456L15.4589 9.08725L15.3446 14.4658L20.2837 14.2461L18.8864 12.1456Z",
@@ -39565,7 +39640,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
39565
39640
  strokeLinejoin: "round"
39566
39641
  }
39567
39642
  ),
39568
- /* @__PURE__ */ React242.createElement(
39643
+ /* @__PURE__ */ React243.createElement(
39569
39644
  "path",
39570
39645
  {
39571
39646
  d: "M9.38606 21.7426L12.3566 20.2925L9.79033 18.2888L9.38606 21.7426Z",
@@ -39576,7 +39651,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
39576
39651
  strokeLinejoin: "round"
39577
39652
  }
39578
39653
  ),
39579
- /* @__PURE__ */ React242.createElement(
39654
+ /* @__PURE__ */ React243.createElement(
39580
39655
  "path",
39581
39656
  {
39582
39657
  d: "M15.6347 20.2925L18.6139 21.7426L18.2009 18.2888L15.6347 20.2925Z",
@@ -39587,7 +39662,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
39587
39662
  strokeLinejoin: "round"
39588
39663
  }
39589
39664
  ),
39590
- /* @__PURE__ */ React242.createElement(
39665
+ /* @__PURE__ */ React243.createElement(
39591
39666
  "path",
39592
39667
  {
39593
39668
  d: "M18.6139 21.7426L15.6347 20.2925L15.8719 22.2348L15.8456 23.0521L18.6139 21.7426Z",
@@ -39598,7 +39673,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
39598
39673
  strokeLinejoin: "round"
39599
39674
  }
39600
39675
  ),
39601
- /* @__PURE__ */ React242.createElement(
39676
+ /* @__PURE__ */ React243.createElement(
39602
39677
  "path",
39603
39678
  {
39604
39679
  d: "M9.38606 21.7426L12.1544 23.0521L12.1368 22.2348L12.3566 20.2925L9.38606 21.7426Z",
@@ -39609,7 +39684,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
39609
39684
  strokeLinejoin: "round"
39610
39685
  }
39611
39686
  ),
39612
- /* @__PURE__ */ React242.createElement(
39687
+ /* @__PURE__ */ React243.createElement(
39613
39688
  "path",
39614
39689
  {
39615
39690
  d: "M12.1984 17.0056L9.72002 16.2762L11.4689 15.4765L12.1984 17.0056Z",
@@ -39620,7 +39695,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
39620
39695
  strokeLinejoin: "round"
39621
39696
  }
39622
39697
  ),
39623
- /* @__PURE__ */ React242.createElement(
39698
+ /* @__PURE__ */ React243.createElement(
39624
39699
  "path",
39625
39700
  {
39626
39701
  d: "M15.7928 17.0056L16.5223 15.4765L18.28 16.2762L15.7928 17.0056Z",
@@ -39631,7 +39706,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
39631
39706
  strokeLinejoin: "round"
39632
39707
  }
39633
39708
  ),
39634
- /* @__PURE__ */ React242.createElement(
39709
+ /* @__PURE__ */ React243.createElement(
39635
39710
  "path",
39636
39711
  {
39637
39712
  d: "M9.38606 21.7426L9.80791 18.1745L7.05712 18.2536L9.38606 21.7426Z",
@@ -39642,7 +39717,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
39642
39717
  strokeLinejoin: "round"
39643
39718
  }
39644
39719
  ),
39645
- /* @__PURE__ */ React242.createElement(
39720
+ /* @__PURE__ */ React243.createElement(
39646
39721
  "path",
39647
39722
  {
39648
39723
  d: "M18.1921 18.1745L18.6139 21.7426L20.9429 18.2536L18.1921 18.1745Z",
@@ -39653,7 +39728,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
39653
39728
  strokeLinejoin: "round"
39654
39729
  }
39655
39730
  ),
39656
- /* @__PURE__ */ React242.createElement(
39731
+ /* @__PURE__ */ React243.createElement(
39657
39732
  "path",
39658
39733
  {
39659
39734
  d: "M20.2837 14.2461L15.3446 14.4658L15.8016 17.0057L16.5311 15.4765L18.2888 16.2762L20.2837 14.2461Z",
@@ -39664,7 +39739,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
39664
39739
  strokeLinejoin: "round"
39665
39740
  }
39666
39741
  ),
39667
- /* @__PURE__ */ React242.createElement(
39742
+ /* @__PURE__ */ React243.createElement(
39668
39743
  "path",
39669
39744
  {
39670
39745
  d: "M9.72002 16.2762L11.4777 15.4765L12.1984 17.0057L12.6642 14.4658L7.71626 14.2461L9.72002 16.2762Z",
@@ -39675,7 +39750,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
39675
39750
  strokeLinejoin: "round"
39676
39751
  }
39677
39752
  ),
39678
- /* @__PURE__ */ React242.createElement(
39753
+ /* @__PURE__ */ React243.createElement(
39679
39754
  "path",
39680
39755
  {
39681
39756
  d: "M7.71626 14.2461L9.79033 18.2888L9.72002 16.2762L7.71626 14.2461Z",
@@ -39686,7 +39761,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
39686
39761
  strokeLinejoin: "round"
39687
39762
  }
39688
39763
  ),
39689
- /* @__PURE__ */ React242.createElement(
39764
+ /* @__PURE__ */ React243.createElement(
39690
39765
  "path",
39691
39766
  {
39692
39767
  d: "M18.2888 16.2762L18.2009 18.2888L20.2837 14.2461L18.2888 16.2762Z",
@@ -39697,7 +39772,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
39697
39772
  strokeLinejoin: "round"
39698
39773
  }
39699
39774
  ),
39700
- /* @__PURE__ */ React242.createElement(
39775
+ /* @__PURE__ */ React243.createElement(
39701
39776
  "path",
39702
39777
  {
39703
39778
  d: "M12.6642 14.4658L12.1984 17.0057L12.7784 20.0025L12.9102 16.0565L12.6642 14.4658Z",
@@ -39708,7 +39783,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
39708
39783
  strokeLinejoin: "round"
39709
39784
  }
39710
39785
  ),
39711
- /* @__PURE__ */ React242.createElement(
39786
+ /* @__PURE__ */ React243.createElement(
39712
39787
  "path",
39713
39788
  {
39714
39789
  d: "M15.3446 14.4658L15.1073 16.0477L15.2128 20.0025L15.8016 17.0057L15.3446 14.4658Z",
@@ -39719,7 +39794,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
39719
39794
  strokeLinejoin: "round"
39720
39795
  }
39721
39796
  ),
39722
- /* @__PURE__ */ React242.createElement(
39797
+ /* @__PURE__ */ React243.createElement(
39723
39798
  "path",
39724
39799
  {
39725
39800
  d: "M15.8016 17.0056L15.2128 20.0025L15.6347 20.2925L18.2009 18.2888L18.2888 16.2762L15.8016 17.0056Z",
@@ -39730,7 +39805,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
39730
39805
  strokeLinejoin: "round"
39731
39806
  }
39732
39807
  ),
39733
- /* @__PURE__ */ React242.createElement(
39808
+ /* @__PURE__ */ React243.createElement(
39734
39809
  "path",
39735
39810
  {
39736
39811
  d: "M9.72002 16.2762L9.79033 18.2888L12.3566 20.2925L12.7784 20.0025L12.1984 17.0056L9.72002 16.2762Z",
@@ -39741,7 +39816,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
39741
39816
  strokeLinejoin: "round"
39742
39817
  }
39743
39818
  ),
39744
- /* @__PURE__ */ React242.createElement(
39819
+ /* @__PURE__ */ React243.createElement(
39745
39820
  "path",
39746
39821
  {
39747
39822
  d: "M15.8456 23.0521L15.8719 22.2348L15.6522 22.0414H12.339L12.1368 22.2348L12.1544 23.0521L9.38606 21.7426L10.3528 22.5336L12.3126 23.8958H15.6786L17.6472 22.5336L18.6139 21.7426L15.8456 23.0521Z",
@@ -39752,7 +39827,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
39752
39827
  strokeLinejoin: "round"
39753
39828
  }
39754
39829
  ),
39755
- /* @__PURE__ */ React242.createElement(
39830
+ /* @__PURE__ */ React243.createElement(
39756
39831
  "path",
39757
39832
  {
39758
39833
  d: "M15.6347 20.2925L15.2128 20.0025H12.7784L12.3566 20.2925L12.1368 22.2348L12.339 22.0414H15.6522L15.8719 22.2348L15.6347 20.2925Z",
@@ -39763,7 +39838,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
39763
39838
  strokeLinejoin: "round"
39764
39839
  }
39765
39840
  ),
39766
- /* @__PURE__ */ React242.createElement(
39841
+ /* @__PURE__ */ React243.createElement(
39767
39842
  "path",
39768
39843
  {
39769
39844
  d: "M24.4583 10.0364L25.2053 6.45072L24.0891 3.1199L15.6347 9.39485L18.8864 12.1456L23.4827 13.4903L24.5022 12.3038L24.0628 11.9874L24.7658 11.3459L24.221 10.924L24.924 10.3879L24.4583 10.0364Z",
@@ -39774,7 +39849,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
39774
39849
  strokeLinejoin: "round"
39775
39850
  }
39776
39851
  ),
39777
- /* @__PURE__ */ React242.createElement(
39852
+ /* @__PURE__ */ React243.createElement(
39778
39853
  "path",
39779
39854
  {
39780
39855
  d: "M2.79472 6.45072L3.54174 10.0364L3.06717 10.3879L3.77024 10.924L3.23415 11.3459L3.93722 11.9874L3.4978 12.3038L4.50847 13.4903L9.10483 12.1456L12.3566 9.39485L3.90207 3.1199L2.79472 6.45072Z",
@@ -39785,7 +39860,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
39785
39860
  strokeLinejoin: "round"
39786
39861
  }
39787
39862
  ),
39788
- /* @__PURE__ */ React242.createElement(
39863
+ /* @__PURE__ */ React243.createElement(
39789
39864
  "path",
39790
39865
  {
39791
39866
  d: "M23.4827 13.4903L18.8864 12.1456L20.2837 14.2461L18.2009 18.2888L20.9429 18.2536H25.0295L23.4827 13.4903Z",
@@ -39796,7 +39871,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
39796
39871
  strokeLinejoin: "round"
39797
39872
  }
39798
39873
  ),
39799
- /* @__PURE__ */ React242.createElement(
39874
+ /* @__PURE__ */ React243.createElement(
39800
39875
  "path",
39801
39876
  {
39802
39877
  d: "M9.10484 12.1456L4.50848 13.4903L2.97929 18.2536H7.05713L9.79033 18.2888L7.71626 14.2461L9.10484 12.1456Z",
@@ -39807,7 +39882,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
39807
39882
  strokeLinejoin: "round"
39808
39883
  }
39809
39884
  ),
39810
- /* @__PURE__ */ React242.createElement(
39885
+ /* @__PURE__ */ React243.createElement(
39811
39886
  "path",
39812
39887
  {
39813
39888
  d: "M15.3446 14.4658L15.6347 9.39485L16.9705 5.7828H11.0383L12.3566 9.39485L12.6642 14.4658L12.7696 16.0653L12.7784 20.0025H15.2128L15.2304 16.0653L15.3446 14.4658Z",
@@ -39821,14 +39896,14 @@ function MetaMaskPaymentIcon({ size = 16 }) {
39821
39896
  );
39822
39897
  }
39823
39898
  function MastercardPaymentIcon({ size = 16 }) {
39824
- return /* @__PURE__ */ React242.createElement(
39899
+ return /* @__PURE__ */ React243.createElement(
39825
39900
  "svg",
39826
39901
  {
39827
39902
  xmlns: "http://www.w3.org/2000/svg",
39828
39903
  height: size,
39829
39904
  viewBox: "0 0 152.407 108"
39830
39905
  },
39831
- /* @__PURE__ */ React242.createElement("g", null, /* @__PURE__ */ React242.createElement("rect", { width: "152.407", height: "108", fill: "transparent" }), /* @__PURE__ */ React242.createElement("g", null, /* @__PURE__ */ React242.createElement(
39906
+ /* @__PURE__ */ React243.createElement("g", null, /* @__PURE__ */ React243.createElement("rect", { width: "152.407", height: "108", fill: "transparent" }), /* @__PURE__ */ React243.createElement("g", null, /* @__PURE__ */ React243.createElement(
39832
39907
  "rect",
39833
39908
  {
39834
39909
  x: "60.4117",
@@ -39837,21 +39912,21 @@ function MastercardPaymentIcon({ size = 16 }) {
39837
39912
  height: "56.6064",
39838
39913
  fill: "#ff5f00"
39839
39914
  }
39840
- ), /* @__PURE__ */ React242.createElement(
39915
+ ), /* @__PURE__ */ React243.createElement(
39841
39916
  "path",
39842
39917
  {
39843
39918
  d: "M382.20839,306a35.9375,35.9375,0,0,1,13.7499-28.3032,36,36,0,1,0,0,56.6064A35.938,35.938,0,0,1,382.20839,306Z",
39844
39919
  transform: "translate(-319.79649 -252)",
39845
39920
  fill: "#eb001b"
39846
39921
  }
39847
- ), /* @__PURE__ */ React242.createElement(
39922
+ ), /* @__PURE__ */ React243.createElement(
39848
39923
  "path",
39849
39924
  {
39850
39925
  d: "M454.20349,306a35.99867,35.99867,0,0,1-58.2452,28.3032,36.00518,36.00518,0,0,0,0-56.6064A35.99867,35.99867,0,0,1,454.20349,306Z",
39851
39926
  transform: "translate(-319.79649 -252)",
39852
39927
  fill: "#f79e1b"
39853
39928
  }
39854
- ), /* @__PURE__ */ React242.createElement(
39929
+ ), /* @__PURE__ */ React243.createElement(
39855
39930
  "path",
39856
39931
  {
39857
39932
  d: "M450.76889,328.3077v-1.1589h.4673v-.2361h-1.1901v.2361h.4675v1.1589Zm2.3105,0v-1.3973h-.3648l-.41959.9611-.41971-.9611h-.365v1.3973h.2576v-1.054l.3935.9087h.2671l.39351-.911v1.0563Z",
@@ -39865,7 +39940,7 @@ function FunkitPaymentsIconLine({
39865
39940
  size = 16,
39866
39941
  gap = "2"
39867
39942
  }) {
39868
- return /* @__PURE__ */ React242.createElement(
39943
+ return /* @__PURE__ */ React243.createElement(
39869
39944
  Box,
39870
39945
  {
39871
39946
  display: "flex",
@@ -39874,9 +39949,9 @@ function FunkitPaymentsIconLine({
39874
39949
  alignItems: "center",
39875
39950
  justifyContent: "center"
39876
39951
  },
39877
- /* @__PURE__ */ React242.createElement(MetaMaskPaymentIcon, { size }),
39878
- /* @__PURE__ */ React242.createElement(MastercardPaymentIcon, { size }),
39879
- /* @__PURE__ */ React242.createElement(CoinbaseIcon, { size })
39952
+ /* @__PURE__ */ React243.createElement(MetaMaskPaymentIcon, { size }),
39953
+ /* @__PURE__ */ React243.createElement(MastercardPaymentIcon, { size }),
39954
+ /* @__PURE__ */ React243.createElement(CoinbaseIcon, { size })
39880
39955
  );
39881
39956
  }
39882
39957