import { RevokeType as e } from "./types/approvals.types.mjs";
import { defaultHookData as t, defaultHookDataArray as n, defaultStealthAddressStructure as r, emptyStealthAddressStructure as i } from "./types/circom-data.types.mjs";
import { ContractType as a } from "./types/ethereum-network.types.mjs";
import { ExternalActionId as o } from "./types/external-action.types.mjs";
import { EthereumNetworkType as s, NetworkFilterType as c } from "./types/chains.types.mjs";
import l from "./constants/deploy-data/deploy-data-arbMainnet.json.mjs";
import u from "./constants/deploy-data/deploy-data-ethMainnet.json.mjs";
import d from "./constants/deploy-data/deploy-data-optimism.json.mjs";
import f from "./constants/deploy-data/deploy-data-optimismTest.json.mjs";
import p from "./constants/deploy-data/deploy-data-polygon.json.mjs";
import m from "./constants/deploy-data/deploy-data-base.json.mjs";
import h from "./constants/deploy-data/deploy-data-localhost.json.mjs";
import g from "./constants/deploy-data/deploy-data-arcTestnet.json.mjs";
import _ from "./constants/deploy-data/deploy-data-sepoliaTestnet.json.mjs";
import v from "./constants/deploy-data/deploy-data-solana.json.mjs";
import y from "./constants/deploy-data/deploy-data-tronNile.json.mjs";
import b from "./constants/deploy-data/deploy-data-tronMainnet.json.mjs";
import x from "./constants/deploy-data/deploy-data-tempo.json.mjs";
import { CustomJSONParse as S, CustomJSONStringify as C, safeJsonStringify as w, toJsonSafe as T } from "./functions/utils/serialize.utils.mjs";
import { DEPLOYMENT_MODE as E, deploymentMode as D, isDevelopment as O, isExtension as k, isNode as A, isNotClientProduction as j, isNotProduction as M, isPlayground as N, isStaging as P, isWebpack as F } from "./constants/vite.constants.mjs";
import { ALCHEMY_API_KEY as I, ALCHEMY_TEST_KEY as L, ALL_NETWORKS_OPTION as R, BRIDGE_SUPPORTED_CHAINS as z, DASHBOARD_EXCLUDED_CHAIN_IDS as B, DASHBOARD_SUPPORTED_CHAINS as V, EVM_CHAIN_IDS as H, FILTER_CHAIN_MAP as U, FRONT_END_SUPPORTED_CHAINS as W, HELIUS_RPC_URL as G, HINKAL_SUPPORTED_CHAINS as K, SOLANA_CHAIN_IDS as q, SWAP_EXCLUDED_CHAINS as J, TRON_CHAIN_IDS as Y, WALLET_SUPPORTED_CHAINS as X, chainIds as Z, chainIdsByType as Q, currentSolanaChainId as $, currentTronChainId as ee, getNonLocalhostChainId as te, getOnchainChainId as ne, isEvmChain as re, isLocalNetwork as ie, isOptimismLike as ae, isSameOnchainNetwork as oe, isSepoliaTestnet as se, isSolanaLike as ce, isTempo as le, isTronLike as ue, localhostNetwork as de, networkRegistry as fe, setHinkalTronChainId as pe, solanaChainIdStr as me } from "./constants/chains.constants.mjs";
import { ARC_TESTNET_USDC_ADDRESS as he, AssetChangeType as ge, CIRCOM_MERKLE_LENGTH as _e, CIRCOM_P as ve, CIRCOM_P_HALF as ye, COMPUTE_UNIT_PADDING_PERCENTAGE as be, DASHBOARD_BATCH_VARIABLE_RATE as xe, DASHBOARD_SEND_VARIABLE_RATE as Se, EIP1271_FAILURE as Ce, EIP1271_SUCCESS as we, HINKAL_DEPOSIT_AND_WITHDRAW_VARIABLE_RATE as Te, HINKAL_PRIVATE_SEND_VARIABLE_RATE as Ee, HINKAL_SWAP_VARIABLE_RATE as De, MAX_COMPUTE_UNIT_LIMIT as Oe, MAX_MICRO_LAMPORTS_PER_CU as ke, MERKLE_LEVELS as Ae, MIN_COMPUTE_UNIT_LIMIT as je, NFT_1155_TRANSACTION_TYPE as Me, NFT_721_TRANSACTION_TYPE as Ne, NFT_TRANSACTION_TYPES as Pe, PAY_SEND_VARIABLE_RATE as Fe, PROOFLESS_DEPOSIT_FEE_RECIPIENT_INFO as Ie, PROVER_VERSION as Le, RELAYERS_ARRAY as Re, RELAYER_ADDRESS1 as ze, RELAYER_ADDRESS2 as Be, RELAYER_ADDRESS3 as Ve, SET_COMPUTE_UNIT_LIMIT_DISCRIMINATOR as He, SOLANA_BLOCKHEIGHT_EXPIRED_RETRY_COUNT as Ue, SOLANA_LOCKED_ACCOUNTS_LIMIT as We, SOLANA_LOOKUP_TABLE_VISIBILITY_MAX_POLL_ATTEMPTS as Ge, SOLANA_LOOKUP_TABLE_VISIBILITY_POLL_INTERVAL_MS as Ke, SOLANA_NFT_INTERFACES as qe, SOLANA_PUBLIC_INPUT_PART_ONE_LENGTH as Je, TOKEN_VALUE_UNLIMITED_THRESHOLD as Ye, TRON_DEFAULT_FEE_LIMIT_SUN as Xe, TRON_TESTNET_USDT_ADDRESS as Ze, TRON_USDT_ADDRESS as Qe, TokenType as $e, defaultSignatureData as et, ethVolatileAddress as tt, hinkalSimulationAddress as nt, oneInchZeroAddress as rt, ownerPublicKey as it, permitSignatureValidFor as at, signaturePhrase as ot, solanaNativeAddress as st, wrappedSolanaAddress as ct, zeroAddress as lt } from "./constants/protocol.constants.mjs";
import { BPS_DENOMINATOR as ut, EXTENDED_NON_NATIVE_GAS_COST_TOKEN_SYMBOL_OPTIONS as dt, NON_NATIVE_GAS_COST_TOKEN_SYMBOL_OPTIONS as ft, TEMPO_DEFAULT_GAS_TOKEN_ADDRESS as pt, TEMPO_GAS_COST_TOKEN_SYMBOL_OPTIONS as mt, TEMPO_USDC_E_ADDRESS as ht, TEMPO_USDT0_ADDRESS as gt, TWENTY_PERCENT_BPS as _t, defaultFeeToken as vt } from "./constants/fees.constants.mjs";
import { EventType as yt, HinkalLogicAction as bt, INTERACTION as xt, IntegrationProvider as St, LoginMessageMode as Ct, UserProgress as wt, defaultHinkalLogicArgs as Tt, zeroFeeStructure as Et } from "./types/hinkal.types.mjs";
import { KycVerificationResult as Dt, KycVerificationStatus as Ot, Passports as kt, VERIFICATION_TYPE as At, VerificationTypes as jt } from "./types/kyc.types.mjs";
import { ApprovalType as Mt } from "./types/token.types.mjs";
import { SlippageType as Nt } from "./types/slippage.types.mjs";
import { TransactionAction as Pt, TransactionReceiptStatus as Ft, TransactionStatus as It, emptyDecodedTx as Lt } from "./types/transactions.types.mjs";
import { OldPointType as Rt, RafflePrizeType as zt } from "./types/rewards.types.mjs";
import { AdminTransactionType as Bt } from "./types/admin.types.mjs";
import { ActivityStatus as Vt, ActivityTypes as Ht, DexProviders as Ut, IntegrationProviderNames as Wt, TokenChangeType as Gt } from "./types/activities.types.mjs";
import { TransactionRequestType as Kt } from "./types/transaction.types.mjs";
import { PrivateBalanceUpdateType as qt } from "./types/balances.types.mjs";
import { StorageKeys as Jt } from "./types/cache.types.mjs";
import { TOKEN_PRICE_STATUS as Yt, TokenPriceTimeframe as Xt } from "./types/token-prices.types.mjs";
import { AchievementTiers as Zt, BrotherhoodTaskTypes as Qt, TaskCategory as $t, TaskTypes as en } from "./types/new-rewards.type.mjs";
import { MemberStatus as tn, Rank as nn } from "./types/RewardUserEnums.mjs";
import { PointsType as rn, TradingType as an } from "./types/generatePoints.mjs";
import { CallsStatus as on, GetCallsStatusCode as sn } from "./types/eip5792.types.mjs";
import { ConfirmationRequestType as cn } from "./types/confirmation-request.types.mjs";
import { MessagesFromOffscreen as ln } from "./types/offscreen.types.mjs";
import { DepositAndWithdrawPhase as un, ScheduledTransactionStatus as dn } from "./types/scheduled-transactions.types.mjs";
import { MoonPayCurrencyType as fn } from "./types/onramp.types.mjs";
import { EventCategory as pn } from "./types/events.types.mjs";
import { PayActivityStatus as mn, PayActivityTypes as hn, TransferVisibility as gn } from "./types/pay-activities.types.mjs";
import { ScheduleDelayOption as _n } from "./types/schedule.types.mjs";
import { DeliveryMethod as vn, MemberRole as yn } from "./types/dashboard-account.mjs";
import { PayoutStatus as bn, PayoutType as xn } from "./types/dashboard-payout.types.mjs";
import "./types/index.mjs";
import { API_CONFIG as Sn, DATA_SERVER_CONFIG as Cn, DATA_SERVER_URL_ENDPOINT as wn, DATA_SERVER_URL_LOCAL as Tn, ENCLAVE_API_PRODUCTION_URL as En, ENCLAVE_API_STAGING_URL as Dn, ENCLAVE_API_URL_LOCAL as On, FUND_COMPLIANCE_URL_ENDPOINT as kn, FUND_COMPLIANCE_URL_LOCAL as An, PLAYGROUND_URL as jn, PRODUCTION_URL as Mn, RELAYER_CONFIG as Nn, RELAYER_URL_ENDPOINT as Pn, RELAYER_URL_LOCAL as Fn, SERVER_URL_ENDPOINT as In, SERVER_URL_LOCAL as Ln, SNAPSHOT_SERVER_URL_ENDPOINT as Rn, SNAPSHOT_SERVER_URL_LOCAL as zn, STAGING_URL as Bn, VERIFICATION_ROUTES as Vn, WALLET_TASK_VERIFICATION_TYPES as Hn, backendVersion as Un, deploymentModeWithVersion as Wn } from "./constants/server.constants.mjs";
import { BACK_END_URL as Gn, DATA_SERVER_URL as Kn, ENCLAVE_API_URL as qn, FUND_COMPLIANCE_URL as Jn, RELAYER_URL as Yn, SERVER_URL as Xn, SNAPSHOT_SERVER_URL as Zn } from "./API/getServerURL.mjs";
import { COINGECKO_API_KEY as Qn, CoinGeckoChainLabels as $n, coingeckoPriceUrl as er, coingeckoPriceUrl2 as tr, coingeckoTokenListUrl as nr, getCoinByAddress as rr, getCoinById as ir, getCoinMarketChartByTokenId as ar, getCoingeckoIdForNativeTokens as or, getCoingeckoPlatform as sr, proCoingeckoUrl as cr, proHeader as lr, searchBySymbol as ur } from "./constants/coingecko.constants.mjs";
import { getCoingeckoPrice as dr, getCoingeckoPrice2 as fr, getCoingeckoPrices as pr, getCoingeckoTokenList as mr } from "./API/getCoingeckoPrice.mjs";
import { BasicHttpClient as hr } from "./data-structures/http/BasicHttpClient.mjs";
import { httpClient as gr } from "./data-structures/http/HttpClient.mjs";
import { callOneInchAPI as _r } from "./API/callOneInchAPI.mjs";
import { callRelayerSolanaTransactBatchAPI as vr, callRelayerTransactAPI as yr, callRelayerTransactBatchAPI as br } from "./API/callRelayer.mjs";
import { getGasEstimates as xr } from "./API/getGasEstimates.mjs";
import { getTokenPreviousDayPrices as Sr, getTokenPrices as Cr } from "./API/getTokenPrice.mjs";
import { checkRisk as wr } from "./API/checkRisk.mjs";
import { monitor as Tr, monitorBatch as Er } from "./API/callMonitor.mjs";
import { getIdleRelay as Dr } from "./API/relayCalls.mjs";
import { tokensInfoCall as Or } from "./API/token-calls.mjs";
import { getSignatureHeader as kr } from "./functions/utils/get-signature-header.mjs";
import { generateAumPoints as Ar, generateTradingPoints as jr } from "./API/generate-trading-points.mjs";
import { createBrotherhood as Mr, editBrotherhood as Nr, getBrotherhood as Pr, getBrotherhoodUsers as Fr, getCurrentUserBrotherhood as Ir, getCurrentUserBrotherhoodUsers as Lr, getPublicBrotherhoods as Rr, joinBrotherhood as zr, leaveBrotherhood as Br } from "./API/brotherhoodCalls.mjs";
import { caseInsensitiveEqual as Vr, lowerCaseIncludes as Hr, lowerCaseStartsWith as Ur } from "./functions/utils/caseInsensitive.utils.mjs";
import { constructStealthAddressStructure as Wr, formatAddress as Gr, hashEthereumAddress as Kr, hashString as qr, isNativePlaceholderAddress as Jr, isRecipientAddressInvalid as Yr, isValidOldStylePrivateAddress as Xr, isValidPrivateAddress as Zr, isValidSolanaPublicKey as Qr, isValidTronAddress as $r } from "./functions/utils/addresses.mjs";
import { seedlessBackup as ei, seedlessCheckPassword as ti, seedlessInit as ni, seedlessSalt as ri, seedlessStatus as ii } from "./API/seedless-calls.mjs";
import { getScheduledTransactionById as ai, getScheduledTransactions as oi, getScheduledTransactionsNullifierIndexes as si } from "./API/scheduled-transactions-calls.mjs";
import { addTemporaryWalletNonce as ci, getTemporaryWalletNonces as li, removeTemporaryWalletNonce as ui } from "./API/temporaryWalletCalls.mjs";
import { allocatePrivateSendRecipientInfos as di } from "./API/privateSendRecipientInfoCalls.mjs";
import { sendPrivateSendEmailNotifications as fi } from "./API/privateSendEmailNotificationsCalls.mjs";
import { HINKAL_DASHBOARD_TOKEN as pi, LOGIN_URL as mi } from "./constants/auth.constants.mjs";
import { getAuthHeaders as hi } from "./functions/utils/auth.utils.mjs";
import { API as gi } from "./API/API.mjs";
import { WALLET_API as _i, rpcGetStorageChanges as vi, rpcSimulateBundle as yi, rpcSimulateTransaction as bi, simulateTx as xi, tenderlyRpcLinks as Si } from "./API/tenderly.api.mjs";
import { callLifiAPI as Ci } from "./API/callLifiAPI.mjs";
import { IMAGE_PATHS as wi } from "./constants/assets.constants.mjs";
import { getERC20Registry as Ti, getFixedRegistry as Ei } from "./constants/token-data/ERC20Registry.mjs";
import { arbMainnetRegistry as Di, arbMainnetRegistryFixed as Oi, arcTestnetRegistry as ki, baseRegistry as Ai, baseRegistryFixed as ji, ethMainnetRegistry as Mi, ethMainnetRegistryFixed as Ni, localhostRegistry as Pi, optimismRegistry as Fi, optimismRegistryFixed as Ii, polygonRegistry as Li, polygonRegistryFixed as Ri, solanaLocalnetRegistry as zi, solanaMainnetRegistry as Bi } from "./constants/token-data/index.mjs";
import { abi as Vi } from "./externalABIs/amToken.mjs";
import { abi as Hi } from "./externalABIs/BUSD.mjs";
import { abi as Ui } from "./externalABIs/DAI.mjs";
import { abi as Wi } from "./externalABIs/SanctionsList.mjs";
import { abi as Gi } from "./externalABIs/USDC.mjs";
import { abi as Ki } from "./externalABIs/USDR.mjs";
import { abi as qi } from "./externalABIs/USDR3CRV.mjs";
import { abi as Ji } from "./externalABIs/USDT.mjs";
import { abi as Yi } from "./externalABIs/WETH.mjs";
import Xi from "./externalABIs/OptimismGasPriceOracle.json.mjs";
import Zi from "./externalABIs/NodeInterfaceABI.json.mjs";
import { BabABI as Qi, ERC1155ABI as $i, ERC20ABI as ea, ERC721ABI as ta, GalxeABI as na, ISwapRouterABI as ra, factoryABI as ia, quoterV2ABI as aa } from "./externalABIs/index.mjs";
import { contractMetadataMapping as oa, getHinkalParameters as sa, uniswapV2PoolData as ca, uniswapV3FactoryData as la, uniswapV3PoolData as ua, uniswapV3QuoterData as da } from "./constants/contracts.constants.mjs";
import { openDefaultPassportWindow as fa } from "./functions/kyc/openDefaultPassportWindow.mjs";
import { AIPRISE_KYB_TEMPLATE_ID_PROD as pa, AIPRISE_KYC_TEMPLATE_ID_PROD as ma, KYC_LIMIT as ha, RECLAIM_MESSAGE_TO_SIGN as ga, ReclaimPassports as _a, StandardPassports as va, SupportedPassports as ya, aipriseBaseOnboardingProductionUrl as ba, aipriseBaseOnboardingSandboxUrl as xa, supportedPassportLinks as Sa } from "./constants/kyc.constants.mjs";
import { NETWORKS as Ca } from "./constants/backend.constants.mjs";
import { ACCESS_TOKEN_MINTING_POINTS as wa, ACCESS_TOKEN_RECLAIM_POINTS as Ta, CERTIFICATION_DISABLE_WEEK as Ea, REWARDS_ENCRYPTION_PASSWORD as Da, REWARDS_MESSAGE_TO_SIGN as Oa, REWARD_RECEIVABLE_TOKEN_SYMBOLS as ka, boostAmounts as Aa, lpLink as ja, lpProgramStartWeek as Ma, pointsLink as Na, raffleProgramStartWeek as Pa, referralLink as Fa } from "./constants/rewards.constants.mjs";
import { blockReorgDepth as Ia } from "./constants/reorg-depths.constants.mjs";
import { mediaUrls as La } from "./constants/mediaUrls.constants.mjs";
import { allowanceHolder as Ra, pancaceSwapPermit2Address as za, permit2Address as Ba, uniswap2Manager as Va, uniswap3Manager as Ha, uniswapApprovalExtraCallData as Ua, uniswapWorkaroundAddresses as Wa } from "./constants/permit2.constants.mjs";
import { NATIVE_TOKEN_WRAPPER_ADDRESSES as Ga, SWAP_FEE_TAKER_ADDRESSES as Ka, SWAP_ROUTER_ADDRESSES as qa, WETH_ERC20_TOKEN_ADDRESS as Ja, WRAPPER_TOKEN_EXCHANGE_ADDRESSES as Ya } from "./constants/addresses.constants.mjs";
import { APPROVED_UTXO_CONVERSION_COUNT as Xa } from "./constants/conversion.constants.mjs";
import { DIRECTLY_SHOW_MESSAGE_ERROR_CODES as Za, UserFriendlyErrorCodes as Qa, gasErrorCodes as $a, insufficientResourcesErrorCodes as eo, transactionErrorCodes as to, walletConnectErrorCodes as no } from "./error-handling/error-codes.constants.mjs";
import { calculateDollarValue as ro, ethToWei as io, getAmountInToken as ao, getAmountInWei as oo, getAmountInWeiOrZero as so, getAmountWithPrecision as co, getAmountWithPrecisionOrZero as lo, randomBigInt as uo, toBigIntWithDecimals as fo } from "./functions/web3/etherFunctions.mjs";
import { customTokenRegistry as po } from "./data-structures/custom-token-registry/CustomTokenRegistry.mjs";
import { absBigInt as mo, advancedToBigInt as ho, beepsToPercentage as go, bigintMax as _o, calculateAmountUsingBeeps as vo, calculateSum as yo, countTotalAmountInUtxos as bo, fixDecimalsAmount as xo, formatAmountInput as So, getValueFirstNDigit as Co, maxBigInt as wo, minBigInt as To, toBigInt as Eo, toBigIntOrUndefined as Do, toCommaSeparatedNumberString as Oo, toInt as ko, toNumberOrUndefined as Ao, trimLeadingZeros as jo, truncateToDecimalPlaces as Mo } from "./functions/utils/amounts.utils.mjs";
import { NativeTokenSymbols as No, PopularTokenSymbols as Po, SOLANA_PAY_DASHBOARD_SUPPORTED_TOKEN_SYMBOLS as Fo, chainNativeTokenSymbol as Io } from "./constants/tokens.constants.mjs";
import { aggregateTokenChanges as Lo, findTokenBySymbolFromTokenList as Ro, formatTokenChangesList as zo, getERC20Token as Bo, getERC20TokenBySymbol as Vo, getErc20TokensForChain as Ho, isArcNativeToken as Uo, isNFTToken as Wo, overlayTokenWithRegistryData as Go, searchCompareFunction as Ko, sortTokens as qo } from "./functions/utils/erc20tokenFunctions.mjs";
import { TOKEN_LIMITS as Jo, getTokensLimits as Yo } from "./constants/token.limits.constants.mjs";
import { MAX_DISPLAY_DECIMALS as Xo } from "./constants/balance.constants.mjs";
import { BRIDGING_URLS as Zo, DEFAULT_BRIDGING_SLIPPAGE as Qo, LOW_AMOUNT_BRIDGING_SLIPPAGE as $o, LOW_AMOUNT_USD_THRESHOLD as es, MIN_DAPP_BRIDGE_AMOUNT_USD as ts, TEMPO_INBOUND_BRIDGE_DEST_SYMBOLS as ns, TEMPO_OUTBOUND_BRIDGE_DEST_SYMBOLS as rs } from "./constants/bridging.constants.mjs";
import { SOLANA_LEDGER_WALLET_ID as is } from "./constants/wallet.constants.mjs";
import { presaleABI as as, presaleContractInfoByChain as os } from "./constants/presale.constants.mjs";
import { LIFISCAN_URL as ss, LIFI_SOLANA_CHAIN_ID as cs, getLifiChainId as ls } from "./constants/lifi.constants.mjs";
import { oauthUrls as us } from "./constants/oauthUrls.constants.mjs";
import { TVL_CHANGER_ACTIVITY_TYPES as ds } from "./constants/activity.constants.mjs";
import { ACHIEVEMENTS as fs, BROTHERHOOD_TASKS as ps, DAILY_TASKS as ms, POINTS_BOOST_TASKS as hs, REFERRAL_BONUS_TASK as gs, REWARDS_TASKS as _s, WELCOME_TASKS as vs } from "./constants/tasks.constants.mjs";
import { EVENTS_INITIAL_BLOCKS as ys } from "./constants/events.constants.mjs";
import { APPROVE_FUNCTION_SIGNATURE as bs, NFT_APPROVE_FUNCTION_SIGNATURE as xs, NFT_APPROVE_SINGLE_FUNCTION_SIGNATURE as Ss, PERMIT2_APPROVE_FUNCTION_SIGNATURE as Cs } from "./constants/function-signatures.constants.mjs";
import { OKX_BASE_URL as ws, OKX_SWAP_PATH as Ts } from "./constants/okx.constants.mjs";
import { BANNED_WALLET_IDS as Es } from "./constants/link.constant.mjs";
import { RELAYER_TX_CONFIRMATION_TIMEOUT as Ds, TX_CONFIRMATION_CONFIRMATIONS_COUNT as Os, TX_CONFIRMATION_TIMEOUT as ks, TX_CONFIRMATION_TIMEOUT_EXTENDED as As } from "./constants/tx-confirmation.constants.mjs";
import { SCHEDULE_DELAY_OPTIONS as js } from "./constants/schedule.constants.mjs";
import { MAX_FILE_SIZE_MB as Ms } from "./constants/images.constants.mjs";
import { RECIPIENT_INFO_TARGET_POOL_SIZE as Ns } from "./constants/pay.constants.mjs";
import { PRICE_IMPACT_VERY_HIGH_THRESHOLD as Ps, PRICE_IMPACT_WARNING_THRESHOLD as Fs } from "./constants/price-impact.constants.mjs";
import "./constants/index.mjs";
import { getDashboardURL as Is, getHinkalLandingURL as Ls, getPayURL as Rs, getRewardsURL as zs, getWalletOnboardingURL as Bs } from "./API/getWebsiteURL.mjs";
import { resolveSns as Vs } from "./API/resolve-sns.mjs";
import { emitReferralTx as Hs, emitTxPublicData as Us } from "./API/admin-calls.mjs";
import { storeRecipientInfosViaEnclave as Ws } from "./API/enclaveRecipientInfoCalls.mjs";
import "./API/index.mjs";
import { poseidonFunction as Gs, poseidonHash as Ks, poseidonHolder as qs } from "./crypto/poseidon.mjs";
import { babyJubInstance as Js, jubHolder as Ys } from "./crypto/babyJub.mjs";
import { eddsaHolder as Xs, eddsaInstance as Zs } from "./crypto/eddsa.mjs";
import { preProcessing as Qs } from "./crypto/preProcessing.mjs";
import { decryptBoxSeal as $s, encryptBoxSeal as ec } from "./crypto/ecdh.mjs";
import { decryptSealedKeys as tc, encryptSealedKeys as nc, pack as rc, unpack as ic } from "./crypto/ecdh-sealed-keys.mjs";
import { convertBigIntToBytes32 as ac, convertBytes32ToBigInt as oc } from "./functions/utils/bytes32.utils.mjs";
import { decryptDualPath as sc, encryptDualPath as cc } from "./crypto/ecdh-dual-path.mjs";
import "./crypto/index.mjs";
import { ValueCache as lc } from "./data-structures/ValueCache/ValueCache.mjs";
import { getCircomSign as uc, isCircomNegative as dc } from "./data-structures/crypto-keys/keyUtils.mjs";
import { EncryptionKeyPairDefaultValue as fc, UserKeys as pc, stealthAddressCacheDevice as mc, stealthPairCacheDevice as hc, stealthPairOldCacheDevice as gc } from "./data-structures/crypto-keys/keys.mjs";
import { MS_PER_DAY as _c, calculateRelativeTime as vc, formatDate as yc, formatTimestampDate as bc, formatTxTimestamp as xc, getCurrentDayStart as Sc, getCurrentTimeInSeconds as Cc, getCurrentWeekStart as wc, getDelayUntilUtc8 as Tc, getEffectiveSevenDaysAgo as Ec, getEffectiveToday as Dc, getNextDayDelay as Oc, getNextDayISO as kc, getPreviousWeekStart as Ac, getUtcDayStart as jc, isSameDay as Mc, isWithinDays as Nc, msToISOString as Pc, waitLittle as Fc } from "./functions/utils/time.utils.mjs";
import { Utxo as Ic } from "./data-structures/utxo/Utxo.mjs";
import { addHighestBitToNumber as Lc, extractHighestBit as Rc, takeOffHighestBit as zc } from "./functions/utils/bit.operations.mjs";
import { checkUtxoSignature as Bc, decodeEvmUtxo as Vc, decodeSolanaUtxo as Hc, decodeUtxo as Uc, decodeUtxoConstructorArgs as Wc, encodeSolanaOnChainUtxo as Gc, isSolanaOnChainUtxo as Kc } from "./data-structures/crypto-keys/decodeUTXO.mjs";
import { decryptUtxo as qc, decryptUtxoConstructorArgs as Jc, encryptUtxo as Yc } from "./data-structures/crypto-keys/encryptDecryptUtxo.mjs";
import { ErrorWithAmount as Xc } from "./error-handling/customErrors/ErrorWithAmount.mjs";
import { FeeOverTransactionValueError as Zc } from "./error-handling/customErrors/FeeOverTransactionValueError.mjs";
import { ErrorCategory as Qc } from "./error-handling/types.mjs";
import { getGenericFeeOverTransactionValueErrorMessage as $c, rethrowKnownGasErrorIfPossible as el } from "./error-handling/customErrors/customErrors.helpers.mjs";
import { SimulationFailureError as tl } from "./error-handling/customErrors/SimulationFailureError.mjs";
import { ErrorWithRelayerTransaction as nl } from "./error-handling/customErrors/ErrorWithTx.mjs";
import { ErrorWithIndex as rl } from "./error-handling/customErrors/ErrorWithIndex.mjs";
import { HttpError as il } from "./error-handling/customErrors/HttpError.mjs";
import { checkAddressNotUpdated as al } from "./functions/utils/upToDateState.mjs";
import { deserializeDecodedTxs as ol, serializeDecodedTxs as sl } from "./functions/utils/getDataFromTransaction.mjs";
import { getFilePath as cl, getHinkalCache as ll, loadTxsCache as ul, resetCache as dl, saveTxsCache as fl, setHinkalCache as pl } from "./functions/utils/cacheFunctions.mjs";
import { makeEnclaveHandshakeAndEncryptInput as ml, makeEnclaveHandshakeAndEncryptUint8Array as hl } from "./functions/utils/encryptInputForEnclave.mjs";
import { convertPublicKeyToBigint as gl, formatMintAddress as _l } from "./functions/utils/solanaMint.utils.mjs";
import { getCustomProofGenerator as vl, getCustomUtxoDecryptor as yl, setCustomProofGenerator as bl, setCustomUtxoDecryptor as xl } from "./functions/utils/customEnclaveFunctionsRegister.mjs";
import { logError as Sl } from "./error-handling/logError.mjs";
import { Logger as Cl } from "./error-handling/logger.mjs";
import { addressToHexFormat as wl, approveTronTokens as Tl, assertTronSufficientBalance as El, circomDataToArray as Dl, createTronCallData as Ol, createTronWeb as kl, detectTronChainIdFromHost as Al, estimateTronFeeSunWithPadding as jl, evmHexToTronBase58Address as Ml, fetchTronAccountResources as Nl, fetchTronChainParameters as Pl, generateProofSignatureRemotely as Fl, getAvailableResource as Il, getChainParameterValue as Ll, getVerifierId as Rl, normalizeTronAddr as zl, normalizeTronPrivateKey as Bl, parseZkCalldata as Vl, reorderZkCallData as Hl, splitTronTokensByNative as Ul, toTronBase58IfHex as Wl } from "./functions/utils/tron.utils.mjs";
import { attemptGetInputUtxosRemotely as Gl, getInputUtxoAndBalance as Kl, getInputUtxoAndBalanceOfStuckUtxos as ql, getInputUtxoAndBalancePerToken as Jl, getInputUtxosRemotely as Yl } from "./functions/web3/events/getInputUtxoAndBalance.mjs";
import { capitalizeFirstLetter as Xl, capitalizeName as Zl, getAddressFromStateKey as Ql, getChainIdFromStateKey as $l, getStateKey as eu, getTokenStateKey as tu, hexToUtf8 as nu, isNullOrEmpty as ru, replaceAllInstances as iu, toTitleCase as au, validateEmail as ou } from "./functions/utils/string.utils.mjs";
import { areErc20TokensInRegistry as su, checkTokensForShielding as cu, isSameERC20Token as lu, validateAndGetChainId as uu } from "./functions/utils/token-check.utils.mjs";
import { tokenVisibilityStorage as du } from "./data-structures/TokenDBs/token-visibility-db.mjs";
import { PrivateTokensDB as fu, privateTokensDB as pu } from "./data-structures/TokenDBs/PrivateTokensDB.mjs";
import { getChainBalanceFetchingMutex as mu } from "./functions/utils/mutexes.utils.mjs";
import { addPaddingToUtxos as hu, getShieldedBalance as gu } from "./functions/web3/events/getShieldedBalance.mjs";
import { outputUtxoProcessing as _u } from "./functions/pre-transaction/outputUtxoProcessing.mjs";
import { getExternalActionIdFromNumber as vu, getExternalActionIdHash as yu } from "./functions/utils/external-action.utils.mjs";
import { buildInNullifiers as bu, buildOutCommitments as xu, calcAmountChanges as Su, calcCommitmentsSiblingAndSides as Cu, calcEncryptedOutputs as wu, calcPublicSignalCount as Tu, calcStealthAddressStructure as Eu, createCallDataHash as Du, deserializeCircomData as Ou, getSlippageValues as ku, getUtxoCircuitH0Coords as Au, getUtxoCircuitInRandomization as ju, getZkProofVerifierName as Mu, serializeCircomData as Nu } from "./functions/snarkjs/common.snarkjs.mjs";
import { buildAnchorStealthAddressStructure as Pu, encodeToByte32Array as Fu, getEncryptedOutputsAccountPublicKey as Iu, getInstructionsAccountPublicKey as Lu, getMerkleAccountPublicKey as Ru, getNullifierAccount as zu, getProofAccountPart1PublicKey as Bu, getProofAccountPart2PublicKey as Vu, getStorageAccountPublicKey as Hu, getStorageVaultPublicKey as Uu, getSwapperAccountPublicKey as Wu, getSwapperAccountPublicKeyFromSalt as Gu } from "./functions/pre-transaction/solana.mjs";
import { computeSignedMessageHashEvm as Ku, computeSignedMessageHashSolana as qu } from "./functions/snarkjs/signedMessageHash.mjs";
import { generateZkProof as Ju } from "./functions/snarkjs/generateZkProof.mjs";
import { deserializeUtxoConstructorParams as Yu, serializeUtxoConstructorParams as Xu } from "./functions/utils/serialize-utxos.utils.mjs";
import { createCustomSolanaConnection as Zu, createJsonRpcProvider as Qu } from "./functions/utils/create-provider.mjs";
import { requireEnv as $u } from "./functions/utils/requireEnv.mjs";
import { getSequence as ed, promisify as td, resolveSync as nd } from "./functions/utils/resolve-sync.utils.mjs";
import { convertIntegrationProviderToExternalActionId as rd } from "./functions/utils/convertIntegrationProviderToExternalActionId.mjs";
import { getInteractionFromAction as id } from "./functions/pre-transaction/interaction-to-action.mjs";
import { processGasEstimates as ad } from "./functions/pre-transaction/process-gas-estimates.mjs";
import { getFlatFees as od } from "./functions/pre-transaction/getFlatFees.mjs";
import { extractMessage as sd, getErrorMessage as cd, getErrorMessageFromTransactionRequest as ld } from "./error-handling/get-error.message.mjs";
import "./error-handling/index.mjs";
import { TokenChecker as ud } from "./data-structures/token-price-fetcher/TokenChecker.mjs";
import { modifyVolatileTokenAmountChanges as dd } from "./functions/pre-transaction/getVolatileTransferAmount.mjs";
import { constructAdminData as fd } from "./functions/pre-transaction/constructAdminData.mjs";
import { calculateSolanaNullifierCount as pd } from "./functions/pre-transaction/calculateSolanaNullifierCount.mjs";
import { createAndExtendAddressLookupTable as md, getAddressLookupTableAccounts as hd } from "./functions/pre-transaction/addressTableLookup.mjs";
import { convertSolanaPublicSignals as gd } from "./functions/pre-transaction/solana-public-signals.mjs";
import { convertOKXToHinkalInstructions as _d } from "./functions/pre-transaction/convert-okx-instructions.mjs";
import { AccountActions as vd } from "./data-structures/AccountActions/AccountActions.mjs";
import { getSolanaPriorityFee as yd } from "./functions/web3/getSolanaPriorityFee.mjs";
import { debounce as bd, pollForValue as xd, wait as Sd } from "./functions/utils/process.utils.mjs";
import { ensureAtaExists as Cd, estimateComputeUnitLimit as wd, fetchSolanaTransaction as Td, getAccountsFromInstructions as Ed, sendProxyV0Transaction as Dd, sendV0Transaction as Od, serializeProxyV0Transaction as kd } from "./functions/pre-transaction/sendV0Transaction.mjs";
import { storeProof as Ad } from "./functions/pre-transaction/store-proof.mjs";
import { sendInitNullifiersTransaction as jd } from "./functions/pre-transaction/sendInitNullifiersTransaction.mjs";
import { recipientUtxoProcessing as Md } from "./functions/pre-transaction/recipientUtxoProcessing.mjs";
import { storeInstructions as Nd } from "./functions/pre-transaction/store-instructions.mjs";
import { ensureAmountChanges as Pd } from "./functions/pre-transaction/ensureAmountChanges.mjs";
import { getFeeStructure as Fd } from "./functions/pre-transaction/getFeeStructure.mjs";
import { waitForDepositedUtxosInMerkleTree as Id } from "./functions/pre-transaction/waitForDepositedUtxosInMerkleTree.mjs";
import { buildCommitmentValidationData as Ld } from "./functions/pre-transaction/buildCommitmentValidationData.mjs";
import { getNetworkObject as Rd, getNetworkType as zd } from "./functions/utils/evmNetworkFunctions.mjs";
import { browserSupported as Bd, isMobileDevice as Vd } from "./functions/utils/userAgent.mjs";
import { reloadPage as Hd } from "./functions/utils/reloadPage.mjs";
import { isNicknameValid as Ud } from "./functions/utils/nickname.utils.mjs";
import { FileCacheDevice as Wd } from "./data-structures/cacheDevices/FileCacheDevice.mjs";
import { LocalStorageCacheDevice as Gd } from "./data-structures/cacheDevices/LocalStorageCacheDevice.mjs";
import { createCacheDevice as Kd } from "./functions/utils/cacheDevice.utils.mjs";
import { getBlockExplorerUrl as qd } from "./functions/utils/getBlockExplorerUrl.mjs";
import { uniswapWorkaround as Jd } from "./functions/utils/involves-permit2-op.mjs";
import { convertEmporiumOpToCallInfo as Yd } from "./functions/utils/convertEmporiumOpToCallInfo.mjs";
import { getRecipientInfoFromUserKeys as Xd, getStealthAddressStructureFromUserKeys as Zd } from "./functions/utils/getRecipientInfoFromUserKeys.mjs";
import { getPublicBalance as Qd, getPublicBalanceByTokenAddress as $d, getPublicBalancesOfTokens as ef, getPublicTransactionCount as tf, getSolanaPublicBalances as nf } from "./functions/utils/publicBalance.utils.mjs";
import { rpcIntEncode as rf } from "./functions/utils/rpc-int-encode.mjs";
import { arraysMatch as af } from "./functions/utils/arraysMatch.mjs";
import { trimFieldValues as of } from "./functions/utils/trimFieldValues.mjs";
import { hasEnoughBalance as sf } from "./functions/utils/walletBalances.utils.mjs";
import { extractTokenIdsFromAssetChanges as cf } from "./functions/utils/nftTokenFunctions.mjs";
import { encodeParsedInLogicMetadata as lf } from "./functions/utils/inLogicMetadata.mjs";
import { getNetworkName as uf } from "./functions/utils/networks.utils.mjs";
import { isValidUrl as df } from "./functions/utils/is-valid-url.mjs";
import { postToOffscreen as ff } from "./functions/utils/postToOffscreen.mjs";
import { buildSolanaRecipientRentErrorMessages as pf } from "./functions/utils/solanaSendPreflight.utils.mjs";
import { createSigner as mf, createVoidSigner as hf, createVoidSolanaWallet as gf, prepareEthersProviderAdapter as _f, prepareHinkal as vf, prepareHinkalFromSeedPhrases as yf, prepareHinkalWithSignature as bf, prepareSolanaProviderAdapter as xf } from "./functions/utils/prepareHinkal.mjs";
import { getContractAddress as Sf } from "./functions/utils/getContractAddress.mjs";
import { getOnChainUtxosFromReceipt as Cf, getOutputCommitmentsFromEvmReceipt as wf, getUtxosFromReceipt as Tf } from "./functions/utils/getUtxosFromReceipt.utils.mjs";
import { getOnChainUtxosFromReceiptSolana as Ef, getOutputCommitmentsFromSolanaReceipt as Df, getUtxosFromReceiptSolana as Of } from "./functions/utils/getUtxosFromReceiptSolana.mjs";
import { calculateModifiedFeeStructure as kf, calculateTotalFee as Af, calculateWithdrawalAmount as jf, getGasTokenSymbols as Mf } from "./functions/utils/fees.utils.mjs";
import { PROXY_AVATAR_INDEX_COUNT as Nf, getRandomProxyAvatarIndex as Pf } from "./functions/utils/proxyAvatar.utils.mjs";
import { validateUsername as Ff } from "./functions/utils/validateUsername.mjs";
import { getUtxosFromEnclave as If, storeUtxoInEnclave as Lf } from "./functions/utils/enclave-utxo-storage.mjs";
import { storeAndGetSignatureFromEnclave as Rf } from "./functions/utils/enclave-signature-storage.mjs";
import { waitForEthereumTransactionConfirmation as zf, waitForSolanaTransactionConfirmation as Bf, waitForTransactionConfirmation as Vf } from "./functions/utils/tx-confirmation.utils.mjs";
import { buildClaimableDepositPlan as Hf } from "./functions/utils/buildClaimableDepositPlan.mjs";
import { mapRecipientRequests as Uf, splitRecipientsByAllocations as Wf } from "./functions/utils/pay-routing.utils.mjs";
import { formatUSDNumber as Gf } from "./functions/utils/formatter.mjs";
import { simulateTronTransaction as Kf } from "./functions/utils/tronSimulation.utils.mjs";
import { getProviderFromContract as qf, getSignerFromContract as Jf } from "./functions/utils/getSignerFromContract.mjs";
import { depositClaimableUtxos as Yf } from "./functions/utils/deposit-claimable.utils.mjs";
import { transferClaimableUtxos as Xf } from "./functions/utils/transfer-claimable.utils.mjs";
import { getWalletGroupKey as Zf } from "./functions/utils/getWalletGroupKey.utils.mjs";
import { resetStateMutex as Qf } from "./mutexes/mutex.mjs";
import { balanceChangedHandler as $f } from "./functions/web3/events/balanceChangedHandler.mjs";
import { hardRefreshPrivateBalance as ep, initialMerkleAndPrivateBalanceRefresh as tp, refreshPrivateBalance as np } from "./functions/utils/dispatchBalanceRefreshes.mjs";
import { getEquivalentBridgedTokenForTempo as rp, getEquivalentNativeToken as ip, getLifiScanURL as ap } from "./functions/utils/lifi.utils.mjs";
import { ensureRecipientInfoPool as op } from "./functions/utils/enclave-recipient-info-storage.mjs";
import { buildOrderIdMemoInstruction as sp, extractOrderIdFromMemos as cp } from "./functions/utils/solana-memo.mjs";
import { generateHashFromSeedPhrases as lp } from "./functions/utils/mnemonics.mjs";
import { fetchOnChainRootHashes as up } from "./functions/snarkjs/fetchOnChainRootHashes.mjs";
import { checkEOAWithDelegation as dp, createApproveEmporiumOp as fp, createLifiBridgeOps as pp, createTransaferEmporiumOpsBatch as mp, createTransferToEmporiumOp as hp, decodeEmporiumMetadata as gp, emporiumOp as _p, encodeEmporiumMetadata as vp, generateFundAndApproveOps as yp, getAuthorizationDataIfNeeded as bp, recoverAuthorizationData as xp } from "./functions/private-wallet/emporium.helpers.mjs";
import { constructZkProof as Sp } from "./functions/snarkjs/constructGeneralZkProof.mjs";
import { hinkalDeposit as Cp, hinkalDepositForOther as wp } from "./data-structures/Hinkal/hinkalDeposit.mjs";
import { getTransactionLogEvents as Tp } from "./functions/web3/events/getTransactionLogEvents.mjs";
import { getUniswapFee as Ep, getUniswapPrice as Dp, getUniswapPriceHelper as Op, searchPoolAndFee as kp } from "./functions/web3/uniswapAPI.mjs";
import { getOdosPrice as Ap } from "./functions/web3/odosAPI.mjs";
import { getOneInchPrice as jp } from "./functions/web3/oneInchAPI.mjs";
import { getLifiPrice as Mp } from "./functions/web3/lifiAPI.mjs";
import { createOKXQuote as Np, getOKXPrice as Pp } from "./functions/web3/okxAPI.mjs";
import { runContractFunction as Fp } from "./functions/web3/runContractFunction.mjs";
import { getTokenHolder as Ip } from "./functions/web3/getTokenHolder.mjs";
import { decodeMessage as Lp, getDecodedMessage as Rp, getPermitInfo as zp } from "./functions/web3/EIP-712.mjs";
import { signAndSendSerializedTransaction as Bp } from "./functions/web3/signAndSendSerializedTransaction.mjs";
import { groupConnectorsByWallet as Vp, isInjectedConnector as Hp, isMockConnector as Up, isSolanaConnector as Wp, isTronConnector as Gp, isWalletConnectConnector as Kp } from "./functions/web3/connectors.utils.mjs";
import { hmacSha512 as qp } from "./functions/web3/crypto.mjs";
import { constructSolanaZkProof as Jp } from "./functions/snarkjs/constructSolanaZkProof.mjs";
import { verifyCommitmentValidationData as Yp, verifyCommitmentValidationDataSolana as Xp } from "./functions/snarkjs/verifyCommitmentValidationData.mjs";
import { prepareDepositOnChainUtxosZkProof as Zp } from "./data-structures/Hinkal/prepareDepositOnChainUtxosZkProof.mjs";
import { openPassportWindow as Qp } from "./functions/kyc/passportHelper.mjs";
import { checkTokenLimitsUSD as $p } from "./functions/kyc/checkTokenLimitsUSD.mjs";
import { OpType as em, produceOp as tm } from "./functions/private-wallet/opProducer.mjs";
import { createSwapToEmporiumOpForUniswap as nm, createSwapToEmporiumOps as rm } from "./functions/private-wallet/emporium.swap.helpers.mjs";
import { getTokensToDepositBack as im } from "./functions/auto-deposit-back-helpers/get-tokens-to-deposit-back.mjs";
import { getGasTokenRecords as am } from "./functions/auto-deposit-back-helpers/get-gas-token-records.mjs";
import { selectGasToken as om } from "./functions/auto-deposit-back-helpers/select-gas-token.mjs";
import { updateHinkal as sm } from "./functions/auto-deposit-back-helpers/update-hinkal.mjs";
import "./functions/index.mjs";
import { hinkalDepositAndWithdraw as cm, hinkalWithdrawBatch as lm } from "./data-structures/Hinkal/hinkalDepositAndWithdraw.mjs";
import { hinkalSwap as um } from "./data-structures/Hinkal/hinkalSwap.mjs";
import { hinkalWithdraw as dm } from "./data-structures/Hinkal/hinkalWithdraw.mjs";
import { MerkleTreeIncompleteError as fm } from "./data-structures/merkle-tree/MerkleTreeIncompleteError.mjs";
import { MerkleTree as pm } from "./data-structures/merkle-tree/MerkleTree.mjs";
import { AbstractEventService as mm } from "./data-structures/event-service/evm/AbstractEventService.mjs";
import { AbstractSnapshotService as hm } from "./data-structures/event-service/evm/AbstractSnapshotService.mjs";
import { AbstractCommitmentsSnapshotService as gm } from "./data-structures/event-service/evm/AbstractCommitmentsSnapshotService.mjs";
import { AbstractNullifierSnapshotService as _m } from "./data-structures/event-service/evm/AbstractNullifierSnapshotService.mjs";
import { BlockchainEvent as vm } from "./data-structures/BlockchainEvent/BlockchainEvent.mjs";
import { BlockchainEventEmitter as ym } from "./data-structures/event-service/evm/BlockchainEventEmitter.mjs";
import { PollingBlockchainEventEmitter as bm } from "./data-structures/event-service/evm/PollingBlockchainEventEmitter.mjs";
import { ClientBlockchainEventEmitter as xm } from "./data-structures/event-service/evm/ClientBlockchainEventEmitter.mjs";
import { SolanaBlockchainEventEmitter as Sm } from "./data-structures/event-service/solana/SolanaBlockchainEventEmitter.mjs";
import { ClientSolanaBlockchainEventEmitter as Cm } from "./data-structures/event-service/solana/ClientSolanaBlockchainEventEmitter.mjs";
import { PollingSolanaBlockchainEventEmitter as wm } from "./data-structures/event-service/solana/PollingSolanaBlockchainEventEmitter.mjs";
import { AbstractSolanaEventService as Tm } from "./data-structures/event-service/solana/AbstractSolanaEventService.mjs";
import { AbstractSolanaSnapshotService as Em } from "./data-structures/event-service/solana/AbstractSolanaSnapshotService.mjs";
import { AbstractSolanaNullifierSnapshotService as Dm } from "./data-structures/event-service/solana/AbstractSolanaNullifierSnapshotService.mjs";
import { AbstractSolanaCommitmentsSnapshotService as Om } from "./data-structures/event-service/solana/AbstractSolanaCommitmentsSnapshotService.mjs";
import { SnapshotFetcherService as km } from "./data-structures/snapshot/SnapshotFetcherService.mjs";
import { ClientSolanaCommitmentsSnapshotService as Am } from "./data-structures/snapshot/solana-snapshots/ClientSolanaCommitmentsSnapshotService.mjs";
import { ClientSolanaNullifierSnapshotService as jm } from "./data-structures/snapshot/solana-snapshots/ClientSolanaNullifierSnapshotService.mjs";
import { ClientCommitmentsSnapshotService as Mm } from "./data-structures/snapshot/evm-snapshots/ClientCommitmentsSnapshotService.mjs";
import { ClientNullifierSnapshotService as Nm } from "./data-structures/snapshot/evm-snapshots/ClientNullifierSnapshotService.mjs";
import { resetMerkleTrees as Pm } from "./data-structures/Hinkal/resetMerkleTrees.mjs";
import { MultiThreadedUtxoUtils as Fm } from "./data-structures/MultiThreadedUtxoUtils/MultiThreadedUtxoUtils.mjs";
import { ActivityStorage as Im, activityStorage as Lm } from "./data-structures/IndexedDB/activity-db.mjs";
import { publicBalancesStorage as Rm } from "./data-structures/IndexedDB/balances-db.mjs";
import { privateBalancesStorage as zm } from "./data-structures/IndexedDB/private-balances-db.mjs";
import { pricesStorage as Bm } from "./data-structures/IndexedDB/prices-db.mjs";
import { contactStorage as Vm } from "./data-structures/IndexedDB/contact-db.mjs";
import { signedMessagesStorage as Hm } from "./data-structures/IndexedDB/signatures-db.mjs";
import { payActivityStorage as Um } from "./data-structures/IndexedDB/pay-activity-db.mjs";
import { hinkalPrivateWallet as Wm } from "./data-structures/Hinkal/hinkalPrivateWallet.mjs";
import { ArcPublicTokensDB as Gm, arcPublicTokensDB as Km } from "./data-structures/TokenDBs/ArcPublicTokensDB.mjs";
import { PublicTokensDB as qm, publicTokensDB as Jm } from "./data-structures/TokenDBs/PublicTokensDB.mjs";
import { hinkalProxySwap as Ym } from "./data-structures/Hinkal/hinkalProxySwap.mjs";
import { hinkalTransfer as Xm } from "./data-structures/Hinkal/hinkalTransfer.mjs";
import { buildMultiPaymentDepositBuilder as Zm, buildMultiPaymentDepositSetup as Qm, hinkalSolanaDepositAndWithdraw as $m, hinkalSolanaWithdrawBatch as eh } from "./data-structures/Hinkal/hinkalSolanaDepositAndWithdraw.mjs";
import { buildSolanaTransferPlan as th, hinkalSolanaTransfer as nh } from "./data-structures/Hinkal/hinkalSolanaTransfer.mjs";
import { getSolanaProxySendSerializedTransaction as rh, hinkalSolanaProxySend as ih } from "./data-structures/Hinkal/hinkalSolanaProxySend.mjs";
import { getSolanaProxySwapSerializedTransaction as ah, hinkalSolanaProxySwap as oh } from "./data-structures/Hinkal/hinkalSolanaProxySwap.mjs";
import { getSolanaProxyShieldSerializedTransaction as sh, hinkalSolanaProxyShield as ch } from "./data-structures/Hinkal/hinkalSolanaProxyShield.mjs";
import { hinkalClaimUtxo as lh } from "./data-structures/Hinkal/hinkalClaimUtxo.mjs";
import { hinkalSolanaProoflessDeposit as uh } from "./data-structures/Hinkal/hinkalSolanaProoflessDeposit.mjs";
import { hinkalSolanaClaimUtxo as dh } from "./data-structures/Hinkal/hinkalSolanaClaimUtxo.mjs";
import { hinkalWithdrawStuckUtxos as fh } from "./data-structures/Hinkal/hinkalWithdrawStuckUtxos.mjs";
import { Hinkal as ph } from "./data-structures/Hinkal/Hinkal.mjs";
import { hinkalPalSolanaDepositPrepare as mh } from "./data-structures/Hinkal/hinkalPalSolanaDepositPrepare.mjs";
import { hinkalPalEvmDepositPrepare as hh } from "./data-structures/Hinkal/hinkalPalEvmDeposit.mjs";
import { hinkalPalTronDepositPrepare as gh } from "./data-structures/Hinkal/hinkalPalTronDepositPrepare.mjs";
import { TransactionType as _h } from "./data-structures/transactions-manager/history/history.types.mjs";
import { PresaleContractWrapper as vh } from "./data-structures/presale/PresaleContractWrapper.mjs";
import { EventsPublicApprovalsDB as yh, eventsPublicApprovalsDB as bh } from "./data-structures/ApprovalDBs/EventsPublicApprovalsDB.mjs";
import { WalletManager as xh } from "./data-structures/WalletManager/WalletManager.mjs";
import "./data-structures/index.mjs";
import "./mutexes/index.mjs";
export { wa as ACCESS_TOKEN_MINTING_POINTS, Ta as ACCESS_TOKEN_RECLAIM_POINTS, fs as ACHIEVEMENTS, pa as AIPRISE_KYB_TEMPLATE_ID_PROD, ma as AIPRISE_KYC_TEMPLATE_ID_PROD, I as ALCHEMY_API_KEY, L as ALCHEMY_TEST_KEY, R as ALL_NETWORKS_OPTION, gi as API, Sn as API_CONFIG, Xa as APPROVED_UTXO_CONVERSION_COUNT, bs as APPROVE_FUNCTION_SIGNATURE, he as ARC_TESTNET_USDC_ADDRESS, gm as AbstractCommitmentsSnapshotService, mm as AbstractEventService, _m as AbstractNullifierSnapshotService, hm as AbstractSnapshotService, Om as AbstractSolanaCommitmentsSnapshotService, Tm as AbstractSolanaEventService, Dm as AbstractSolanaNullifierSnapshotService, Em as AbstractSolanaSnapshotService, vd as AccountActions, Zt as AchievementTiers, Vt as ActivityStatus, Im as ActivityStorage, Ht as ActivityTypes, Bt as AdminTransactionType, Vi as AmTokenABI, Mt as ApprovalType, Gm as ArcPublicTokensDB, ge as AssetChangeType, Gn as BACK_END_URL, Es as BANNED_WALLET_IDS, ut as BPS_DENOMINATOR, z as BRIDGE_SUPPORTED_CHAINS, Zo as BRIDGING_URLS, ps as BROTHERHOOD_TASKS, Hi as BUSDABI, Qi as BabABI, hr as BasicHttpClient, vm as BlockchainEvent, ym as BlockchainEventEmitter, Qt as BrotherhoodTaskTypes, Ea as CERTIFICATION_DISABLE_WEEK, _e as CIRCOM_MERKLE_LENGTH, ve as CIRCOM_P, ye as CIRCOM_P_HALF, Qn as COINGECKO_API_KEY, be as COMPUTE_UNIT_PADDING_PERCENTAGE, on as CallsStatus, xm as ClientBlockchainEventEmitter, Mm as ClientCommitmentsSnapshotService, Nm as ClientNullifierSnapshotService, Cm as ClientSolanaBlockchainEventEmitter, Am as ClientSolanaCommitmentsSnapshotService, jm as ClientSolanaNullifierSnapshotService, $n as CoinGeckoChainLabels, cn as ConfirmationRequestType, a as ContractType, S as CustomJSONParse, C as CustomJSONStringify, ms as DAILY_TASKS, xe as DASHBOARD_BATCH_VARIABLE_RATE, B as DASHBOARD_EXCLUDED_CHAIN_IDS, Se as DASHBOARD_SEND_VARIABLE_RATE, V as DASHBOARD_SUPPORTED_CHAINS, Cn as DATA_SERVER_CONFIG, Kn as DATA_SERVER_URL, wn as DATA_SERVER_URL_ENDPOINT, Tn as DATA_SERVER_URL_LOCAL, Qo as DEFAULT_BRIDGING_SLIPPAGE, E as DEPLOYMENT_MODE, Za as DIRECTLY_SHOW_MESSAGE_ERROR_CODES, vn as DeliveryMethod, un as DepositAndWithdrawPhase, Ut as DexProviders, Ce as EIP1271_FAILURE, we as EIP1271_SUCCESS, En as ENCLAVE_API_PRODUCTION_URL, Dn as ENCLAVE_API_STAGING_URL, qn as ENCLAVE_API_URL, On as ENCLAVE_API_URL_LOCAL, $i as ERC1155ABI, ea as ERC20ABI, ta as ERC721ABI, ys as EVENTS_INITIAL_BLOCKS, H as EVM_CHAIN_IDS, dt as EXTENDED_NON_NATIVE_GAS_COST_TOKEN_SYMBOL_OPTIONS, fc as EncryptionKeyPairDefaultValue, Qc as ErrorCategory, Xc as ErrorWithAmount, rl as ErrorWithIndex, nl as ErrorWithRelayerTransaction, s as EthereumNetworkType, pn as EventCategory, yt as EventType, yh as EventsPublicApprovalsDB, o as ExternalActionId, U as FILTER_CHAIN_MAP, W as FRONT_END_SUPPORTED_CHAINS, Jn as FUND_COMPLIANCE_URL, kn as FUND_COMPLIANCE_URL_ENDPOINT, An as FUND_COMPLIANCE_URL_LOCAL, Zc as FeeOverTransactionValueError, Wd as FileCacheDevice, na as GalxeABI, sn as GetCallsStatusCode, G as HELIUS_RPC_URL, pi as HINKAL_DASHBOARD_TOKEN, Te as HINKAL_DEPOSIT_AND_WITHDRAW_VARIABLE_RATE, Ee as HINKAL_PRIVATE_SEND_VARIABLE_RATE, K as HINKAL_SUPPORTED_CHAINS, De as HINKAL_SWAP_VARIABLE_RATE, ph as Hinkal, bt as HinkalLogicAction, il as HttpError, wi as IMAGE_PATHS, xt as INTERACTION, ra as ISwapRouterABI, St as IntegrationProvider, Wt as IntegrationProviderNames, ha as KYC_LIMIT, Dt as KycVerificationResult, Ot as KycVerificationStatus, ss as LIFISCAN_URL, cs as LIFI_SOLANA_CHAIN_ID, mi as LOGIN_URL, $o as LOW_AMOUNT_BRIDGING_SLIPPAGE, es as LOW_AMOUNT_USD_THRESHOLD, Gd as LocalStorageCacheDevice, Cl as Logger, Ct as LoginMessageMode, Oe as MAX_COMPUTE_UNIT_LIMIT, Xo as MAX_DISPLAY_DECIMALS, Ms as MAX_FILE_SIZE_MB, ke as MAX_MICRO_LAMPORTS_PER_CU, Ae as MERKLE_LEVELS, je as MIN_COMPUTE_UNIT_LIMIT, ts as MIN_DAPP_BRIDGE_AMOUNT_USD, _c as MS_PER_DAY, yn as MemberRole, tn as MemberStatus, pm as MerkleTree, fm as MerkleTreeIncompleteError, ln as MessagesFromOffscreen, fn as MoonPayCurrencyType, Fm as MultiThreadedUtxoUtils, Ga as NATIVE_TOKEN_WRAPPER_ADDRESSES, Ca as NETWORKS, Me as NFT_1155_TRANSACTION_TYPE, Ne as NFT_721_TRANSACTION_TYPE, xs as NFT_APPROVE_FUNCTION_SIGNATURE, Ss as NFT_APPROVE_SINGLE_FUNCTION_SIGNATURE, Pe as NFT_TRANSACTION_TYPES, ft as NON_NATIVE_GAS_COST_TOKEN_SYMBOL_OPTIONS, No as NativeTokenSymbols, c as NetworkFilterType, Zi as NodeInterfaceABI, ws as OKX_BASE_URL, Ts as OKX_SWAP_PATH, Rt as OldPointType, em as OpType, Fe as PAY_SEND_VARIABLE_RATE, Cs as PERMIT2_APPROVE_FUNCTION_SIGNATURE, jn as PLAYGROUND_URL, hs as POINTS_BOOST_TASKS, Ps as PRICE_IMPACT_VERY_HIGH_THRESHOLD, Fs as PRICE_IMPACT_WARNING_THRESHOLD, Mn as PRODUCTION_URL, Ie as PROOFLESS_DEPOSIT_FEE_RECIPIENT_INFO, Le as PROVER_VERSION, Nf as PROXY_AVATAR_INDEX_COUNT, kt as Passports, mn as PayActivityStatus, hn as PayActivityTypes, bn as PayoutStatus, xn as PayoutType, rn as PointsType, bm as PollingBlockchainEventEmitter, wm as PollingSolanaBlockchainEventEmitter, Po as PopularTokenSymbols, vh as PresaleContractWrapper, qt as PrivateBalanceUpdateType, fu as PrivateTokensDB, qm as PublicTokensDB, Ns as RECIPIENT_INFO_TARGET_POOL_SIZE, ga as RECLAIM_MESSAGE_TO_SIGN, gs as REFERRAL_BONUS_TASK, Re as RELAYERS_ARRAY, ze as RELAYER_ADDRESS1, Be as RELAYER_ADDRESS2, Ve as RELAYER_ADDRESS3, Nn as RELAYER_CONFIG, Ds as RELAYER_TX_CONFIRMATION_TIMEOUT, Yn as RELAYER_URL, Pn as RELAYER_URL_ENDPOINT, Fn as RELAYER_URL_LOCAL, Da as REWARDS_ENCRYPTION_PASSWORD, Oa as REWARDS_MESSAGE_TO_SIGN, _s as REWARDS_TASKS, ka as REWARD_RECEIVABLE_TOKEN_SYMBOLS, zt as RafflePrizeType, nn as Rank, _a as ReclaimPassports, e as RevokeType, js as SCHEDULE_DELAY_OPTIONS, Xn as SERVER_URL, In as SERVER_URL_ENDPOINT, Ln as SERVER_URL_LOCAL, He as SET_COMPUTE_UNIT_LIMIT_DISCRIMINATOR, Zn as SNAPSHOT_SERVER_URL, Rn as SNAPSHOT_SERVER_URL_ENDPOINT, zn as SNAPSHOT_SERVER_URL_LOCAL, Ue as SOLANA_BLOCKHEIGHT_EXPIRED_RETRY_COUNT, q as SOLANA_CHAIN_IDS, is as SOLANA_LEDGER_WALLET_ID, We as SOLANA_LOCKED_ACCOUNTS_LIMIT, Ge as SOLANA_LOOKUP_TABLE_VISIBILITY_MAX_POLL_ATTEMPTS, Ke as SOLANA_LOOKUP_TABLE_VISIBILITY_POLL_INTERVAL_MS, qe as SOLANA_NFT_INTERFACES, Fo as SOLANA_PAY_DASHBOARD_SUPPORTED_TOKEN_SYMBOLS, Je as SOLANA_PUBLIC_INPUT_PART_ONE_LENGTH, Bn as STAGING_URL, J as SWAP_EXCLUDED_CHAINS, Ka as SWAP_FEE_TAKER_ADDRESSES, qa as SWAP_ROUTER_ADDRESSES, _n as ScheduleDelayOption, dn as ScheduledTransactionStatus, tl as SimulationFailureError, Nt as SlippageType, km as SnapshotFetcherService, Sm as SolanaBlockchainEventEmitter, va as StandardPassports, Jt as StorageKeys, ya as SupportedPassports, pt as TEMPO_DEFAULT_GAS_TOKEN_ADDRESS, mt as TEMPO_GAS_COST_TOKEN_SYMBOL_OPTIONS, ns as TEMPO_INBOUND_BRIDGE_DEST_SYMBOLS, rs as TEMPO_OUTBOUND_BRIDGE_DEST_SYMBOLS, ht as TEMPO_USDC_E_ADDRESS, gt as TEMPO_USDT0_ADDRESS, Jo as TOKEN_LIMITS, Yt as TOKEN_PRICE_STATUS, Ye as TOKEN_VALUE_UNLIMITED_THRESHOLD, Y as TRON_CHAIN_IDS, Xe as TRON_DEFAULT_FEE_LIMIT_SUN, Ze as TRON_TESTNET_USDT_ADDRESS, Qe as TRON_USDT_ADDRESS, ds as TVL_CHANGER_ACTIVITY_TYPES, _t as TWENTY_PERCENT_BPS, Os as TX_CONFIRMATION_CONFIRMATIONS_COUNT, ks as TX_CONFIRMATION_TIMEOUT, As as TX_CONFIRMATION_TIMEOUT_EXTENDED, $t as TaskCategory, en as TaskTypes, Gt as TokenChangeType, ud as TokenChecker, Xt as TokenPriceTimeframe, $e as TokenType, an as TradingType, Pt as TransactionAction, Ft as TransactionReceiptStatus, Kt as TransactionRequestType, It as TransactionStatus, _h as TransactionType, gn as TransferVisibility, Gi as USDCABI, qi as USDR3CRVABI, Ki as USDRABI, Ji as USDTABI, Qa as UserFriendlyErrorCodes, pc as UserKeys, wt as UserProgress, Ic as Utxo, Vn as VERIFICATION_ROUTES, At as VERIFICATION_TYPE, lc as ValueCache, jt as VerificationTypes, _i as WALLET_API, X as WALLET_SUPPORTED_CHAINS, Hn as WALLET_TASK_VERIFICATION_TYPES, vs as WELCOME_TASKS, Yi as WETHABI, Ja as WETH_ERC20_TOKEN_ADDRESS, Ya as WRAPPER_TOKEN_EXCHANGE_ADDRESSES, xh as WalletManager, mo as absBigInt, Lm as activityStorage, Lc as addHighestBitToNumber, hu as addPaddingToUtxos, ci as addTemporaryWalletNonce, wl as addressToHexFormat, ho as advancedToBigInt, Lo as aggregateTokenChanges, ba as aipriseBaseOnboardingProductionUrl, xa as aipriseBaseOnboardingSandboxUrl, di as allocatePrivateSendRecipientInfos, Ra as allowanceHolder, Tl as approveTronTokens, l as arbMainnetData, Di as arbMainnetRegistry, Oi as arbMainnetRegistryFixed, Km as arcPublicTokensDB, g as arcTestnetData, ki as arcTestnetRegistry, su as areErc20TokensInRegistry, af as arraysMatch, El as assertTronSufficientBalance, Gl as attemptGetInputUtxosRemotely, Js as babyJubInstance, Un as backendVersion, $f as balanceChangedHandler, m as baseData, Ai as baseRegistry, ji as baseRegistryFixed, go as beepsToPercentage, _o as bigintMax, Ia as blockReorgDepth, Aa as boostAmounts, Bd as browserSupported, Pu as buildAnchorStealthAddressStructure, Hf as buildClaimableDepositPlan, Ld as buildCommitmentValidationData, bu as buildInNullifiers, Zm as buildMultiPaymentDepositBuilder, Qm as buildMultiPaymentDepositSetup, sp as buildOrderIdMemoInstruction, xu as buildOutCommitments, pf as buildSolanaRecipientRentErrorMessages, th as buildSolanaTransferPlan, Su as calcAmountChanges, Cu as calcCommitmentsSiblingAndSides, wu as calcEncryptedOutputs, Tu as calcPublicSignalCount, Eu as calcStealthAddressStructure, vo as calculateAmountUsingBeeps, ro as calculateDollarValue, kf as calculateModifiedFeeStructure, vc as calculateRelativeTime, pd as calculateSolanaNullifierCount, yo as calculateSum, Af as calculateTotalFee, jf as calculateWithdrawalAmount, Ci as callLifiAPI, _r as callOneInchAPI, vr as callRelayerSolanaTransactBatchAPI, yr as callRelayerTransactAPI, br as callRelayerTransactBatchAPI, Xl as capitalizeFirstLetter, Zl as capitalizeName, Vr as caseInsensitiveEqual, Z as chainIds, Q as chainIdsByType, Io as chainNativeTokenSymbol, al as checkAddressNotUpdated, dp as checkEOAWithDelegation, wr as checkRisk, $p as checkTokenLimitsUSD, cu as checkTokensForShielding, Bc as checkUtxoSignature, Dl as circomDataToArray, er as coingeckoPriceUrl, tr as coingeckoPriceUrl2, nr as coingeckoTokenListUrl, Ku as computeSignedMessageHashEvm, qu as computeSignedMessageHashSolana, fd as constructAdminData, Jp as constructSolanaZkProof, Wr as constructStealthAddressStructure, Sp as constructZkProof, Vm as contactStorage, oa as contractMetadataMapping, ac as convertBigIntToBytes32, oc as convertBytes32ToBigInt, Yd as convertEmporiumOpToCallInfo, rd as convertIntegrationProviderToExternalActionId, _d as convertOKXToHinkalInstructions, gl as convertPublicKeyToBigint, gd as convertSolanaPublicSignals, bo as countTotalAmountInUtxos, md as createAndExtendAddressLookupTable, fp as createApproveEmporiumOp, Mr as createBrotherhood, Kd as createCacheDevice, Du as createCallDataHash, Zu as createCustomSolanaConnection, Qu as createJsonRpcProvider, pp as createLifiBridgeOps, Np as createOKXQuote, mf as createSigner, nm as createSwapToEmporiumOpForUniswap, rm as createSwapToEmporiumOps, mp as createTransaferEmporiumOpsBatch, hp as createTransferToEmporiumOp, Ol as createTronCallData, kl as createTronWeb, hf as createVoidSigner, gf as createVoidSolanaWallet, $ as currentSolanaChainId, ee as currentTronChainId, po as customTokenRegistry, Ui as daiABI, bd as debounce, gp as decodeEmporiumMetadata, Vc as decodeEvmUtxo, Lp as decodeMessage, Hc as decodeSolanaUtxo, Uc as decodeUtxo, Wc as decodeUtxoConstructorArgs, $s as decryptBoxSeal, sc as decryptDualPath, tc as decryptSealedKeys, qc as decryptUtxo, Jc as decryptUtxoConstructorArgs, vt as defaultFeeToken, Tt as defaultHinkalLogicArgs, t as defaultHookData, n as defaultHookDataArray, et as defaultSignatureData, r as defaultStealthAddressStructure, D as deploymentMode, Wn as deploymentModeWithVersion, Yf as depositClaimableUtxos, Ou as deserializeCircomData, ol as deserializeDecodedTxs, Yu as deserializeUtxoConstructorParams, Al as detectTronChainIdFromHost, Xs as eddsaHolder, Zs as eddsaInstance, Nr as editBrotherhood, Hs as emitReferralTx, Us as emitTxPublicData, _p as emporiumOp, Lt as emptyDecodedTx, i as emptyStealthAddressStructure, vp as encodeEmporiumMetadata, lf as encodeParsedInLogicMetadata, Gc as encodeSolanaOnChainUtxo, Fu as encodeToByte32Array, ec as encryptBoxSeal, cc as encryptDualPath, nc as encryptSealedKeys, Yc as encryptUtxo, Pd as ensureAmountChanges, Cd as ensureAtaExists, op as ensureRecipientInfoPool, wd as estimateComputeUnitLimit, jl as estimateTronFeeSunWithPadding, u as ethMainnetData, Mi as ethMainnetRegistry, Ni as ethMainnetRegistryFixed, io as ethToWei, tt as ethVolatileAddress, bh as eventsPublicApprovalsDB, Ml as evmHexToTronBase58Address, Rc as extractHighestBit, sd as extractMessage, cp as extractOrderIdFromMemos, cf as extractTokenIdsFromAssetChanges, ia as factoryABI, up as fetchOnChainRootHashes, Td as fetchSolanaTransaction, Nl as fetchTronAccountResources, Pl as fetchTronChainParameters, Ro as findTokenBySymbolFromTokenList, xo as fixDecimalsAmount, Gr as formatAddress, So as formatAmountInput, yc as formatDate, _l as formatMintAddress, bc as formatTimestampDate, zo as formatTokenChangesList, xc as formatTxTimestamp, Gf as formatUSDNumber, $a as gasErrorCodes, Ar as generateAumPoints, yp as generateFundAndApproveOps, lp as generateHashFromSeedPhrases, Fl as generateProofSignatureRemotely, jr as generateTradingPoints, Ju as generateZkProof, Ed as getAccountsFromInstructions, Ql as getAddressFromStateKey, hd as getAddressLookupTableAccounts, ao as getAmountInToken, oo as getAmountInWei, so as getAmountInWeiOrZero, co as getAmountWithPrecision, lo as getAmountWithPrecisionOrZero, hi as getAuthHeaders, bp as getAuthorizationDataIfNeeded, Il as getAvailableResource, qd as getBlockExplorerUrl, Pr as getBrotherhood, Fr as getBrotherhoodUsers, mu as getChainBalanceFetchingMutex, $l as getChainIdFromStateKey, Ll as getChainParameterValue, uc as getCircomSign, rr as getCoinByAddress, ir as getCoinById, ar as getCoinMarketChartByTokenId, or as getCoingeckoIdForNativeTokens, sr as getCoingeckoPlatform, dr as getCoingeckoPrice, fr as getCoingeckoPrice2, pr as getCoingeckoPrices, mr as getCoingeckoTokenList, Sf as getContractAddress, Sc as getCurrentDayStart, Cc as getCurrentTimeInSeconds, Ir as getCurrentUserBrotherhood, Lr as getCurrentUserBrotherhoodUsers, wc as getCurrentWeekStart, vl as getCustomProofGenerator, yl as getCustomUtxoDecryptor, Is as getDashboardURL, Rp as getDecodedMessage, Tc as getDelayUntilUtc8, Ti as getERC20Registry, Bo as getERC20Token, Vo as getERC20TokenBySymbol, Ec as getEffectiveSevenDaysAgo, Dc as getEffectiveToday, Iu as getEncryptedOutputsAccountPublicKey, rp as getEquivalentBridgedTokenForTempo, ip as getEquivalentNativeToken, Ho as getErc20TokensForChain, cd as getErrorMessage, ld as getErrorMessageFromTransactionRequest, vu as getExternalActionIdFromNumber, yu as getExternalActionIdHash, Fd as getFeeStructure, cl as getFilePath, Ei as getFixedRegistry, od as getFlatFees, xr as getGasEstimates, am as getGasTokenRecords, Mf as getGasTokenSymbols, $c as getGenericFeeOverTransactionValueErrorMessage, ll as getHinkalCache, Ls as getHinkalLandingURL, sa as getHinkalParameters, Dr as getIdleRelay, Kl as getInputUtxoAndBalance, ql as getInputUtxoAndBalanceOfStuckUtxos, Jl as getInputUtxoAndBalancePerToken, Yl as getInputUtxosRemotely, Lu as getInstructionsAccountPublicKey, id as getInteractionFromAction, ls as getLifiChainId, Mp as getLifiPrice, ap as getLifiScanURL, Ru as getMerkleAccountPublicKey, uf as getNetworkName, Rd as getNetworkObject, zd as getNetworkType, Oc as getNextDayDelay, kc as getNextDayISO, te as getNonLocalhostChainId, zu as getNullifierAccount, Pp as getOKXPrice, Ap as getOdosPrice, Cf as getOnChainUtxosFromReceipt, Ef as getOnChainUtxosFromReceiptSolana, ne as getOnchainChainId, jp as getOneInchPrice, wf as getOutputCommitmentsFromEvmReceipt, Df as getOutputCommitmentsFromSolanaReceipt, Rs as getPayURL, zp as getPermitInfo, Ac as getPreviousWeekStart, Bu as getProofAccountPart1PublicKey, Vu as getProofAccountPart2PublicKey, qf as getProviderFromContract, Qd as getPublicBalance, $d as getPublicBalanceByTokenAddress, ef as getPublicBalancesOfTokens, Rr as getPublicBrotherhoods, tf as getPublicTransactionCount, Pf as getRandomProxyAvatarIndex, Xd as getRecipientInfoFromUserKeys, zs as getRewardsURL, ai as getScheduledTransactionById, oi as getScheduledTransactions, si as getScheduledTransactionsNullifierIndexes, ed as getSequence, gu as getShieldedBalance, kr as getSignatureHeader, Jf as getSignerFromContract, ku as getSlippageValues, yd as getSolanaPriorityFee, rh as getSolanaProxySendSerializedTransaction, sh as getSolanaProxyShieldSerializedTransaction, ah as getSolanaProxySwapSerializedTransaction, nf as getSolanaPublicBalances, eu as getStateKey, Zd as getStealthAddressStructureFromUserKeys, Hu as getStorageAccountPublicKey, Uu as getStorageVaultPublicKey, Wu as getSwapperAccountPublicKey, Gu as getSwapperAccountPublicKeyFromSalt, li as getTemporaryWalletNonces, Ip as getTokenHolder, Sr as getTokenPreviousDayPrices, Cr as getTokenPrices, tu as getTokenStateKey, Yo as getTokensLimits, im as getTokensToDepositBack, Tp as getTransactionLogEvents, Ep as getUniswapFee, Dp as getUniswapPrice, Op as getUniswapPriceHelper, jc as getUtcDayStart, Au as getUtxoCircuitH0Coords, ju as getUtxoCircuitInRandomization, If as getUtxosFromEnclave, Tf as getUtxosFromReceipt, Of as getUtxosFromReceiptSolana, Co as getValueFirstNDigit, Rl as getVerifierId, Zf as getWalletGroupKey, Bs as getWalletOnboardingURL, Mu as getZkProofVerifierName, Vp as groupConnectorsByWallet, ep as hardRefreshPrivateBalance, sf as hasEnoughBalance, Kr as hashEthereumAddress, qr as hashString, nu as hexToUtf8, lh as hinkalClaimUtxo, Cp as hinkalDeposit, cm as hinkalDepositAndWithdraw, wp as hinkalDepositForOther, hh as hinkalPalEvmDepositPrepare, mh as hinkalPalSolanaDepositPrepare, gh as hinkalPalTronDepositPrepare, Wm as hinkalPrivateWallet, Ym as hinkalProxySwap, nt as hinkalSimulationAddress, dh as hinkalSolanaClaimUtxo, $m as hinkalSolanaDepositAndWithdraw, uh as hinkalSolanaProoflessDeposit, ih as hinkalSolanaProxySend, ch as hinkalSolanaProxyShield, oh as hinkalSolanaProxySwap, nh as hinkalSolanaTransfer, eh as hinkalSolanaWithdrawBatch, um as hinkalSwap, Xm as hinkalTransfer, dm as hinkalWithdraw, lm as hinkalWithdrawBatch, fh as hinkalWithdrawStuckUtxos, qp as hmacSha512, gr as httpClient, tp as initialMerkleAndPrivateBalanceRefresh, eo as insufficientResourcesErrorCodes, Uo as isArcNativeToken, dc as isCircomNegative, O as isDevelopment, re as isEvmChain, k as isExtension, Hp as isInjectedConnector, ie as isLocalNetwork, Vd as isMobileDevice, Up as isMockConnector, Wo as isNFTToken, Jr as isNativePlaceholderAddress, Ud as isNicknameValid, A as isNode, j as isNotClientProduction, M as isNotProduction, ru as isNullOrEmpty, ae as isOptimismLike, N as isPlayground, Yr as isRecipientAddressInvalid, Mc as isSameDay, lu as isSameERC20Token, oe as isSameOnchainNetwork, se as isSepoliaTestnet, Wp as isSolanaConnector, ce as isSolanaLike, Kc as isSolanaOnChainUtxo, P as isStaging, le as isTempo, Gp as isTronConnector, ue as isTronLike, Xr as isValidOldStylePrivateAddress, Zr as isValidPrivateAddress, Qr as isValidSolanaPublicKey, $r as isValidTronAddress, df as isValidUrl, Kp as isWalletConnectConnector, F as isWebpack, Nc as isWithinDays, zr as joinBrotherhood, Ys as jubHolder, Br as leaveBrotherhood, ul as loadTxsCache, h as localhostData, de as localhostNetwork, Pi as localhostRegistry, Sl as logError, Hr as lowerCaseIncludes, Ur as lowerCaseStartsWith, ja as lpLink, Ma as lpProgramStartWeek, ml as makeEnclaveHandshakeAndEncryptInput, hl as makeEnclaveHandshakeAndEncryptUint8Array, Uf as mapRecipientRequests, wo as maxBigInt, La as mediaUrls, To as minBigInt, dd as modifyVolatileTokenAmountChanges, Tr as monitor, Er as monitorBatch, Pc as msToISOString, fe as networkRegistry, zl as normalizeTronAddr, Bl as normalizeTronPrivateKey, us as oauthUrls, rt as oneInchZeroAddress, fa as openDefaultPassportWindow, Qp as openPassportWindow, d as optimismData, Xi as optimismGasPriceOracleAbi, Fi as optimismRegistry, Ii as optimismRegistryFixed, f as optimismTestData, _u as outputUtxoProcessing, Go as overlayTokenWithRegistryData, it as ownerPublicKey, rc as pack, za as pancaceSwapPermit2Address, Vl as parseZkCalldata, Um as payActivityStorage, Ba as permit2Address, at as permitSignatureValidFor, Na as pointsLink, xd as pollForValue, p as polygonData, Li as polygonRegistry, Ri as polygonRegistryFixed, Gs as poseidonFunction, Ks as poseidonHash, qs as poseidonHolder, ff as postToOffscreen, Qs as preProcessing, Zp as prepareDepositOnChainUtxosZkProof, _f as prepareEthersProviderAdapter, vf as prepareHinkal, yf as prepareHinkalFromSeedPhrases, bf as prepareHinkalWithSignature, xf as prepareSolanaProviderAdapter, as as presaleABI, os as presaleContractInfoByChain, Bm as pricesStorage, zm as privateBalancesStorage, pu as privateTokensDB, cr as proCoingeckoUrl, lr as proHeader, ad as processGasEstimates, tm as produceOp, td as promisify, Rm as publicBalancesStorage, Jm as publicTokensDB, aa as quoterV2ABI, Pa as raffleProgramStartWeek, uo as randomBigInt, Md as recipientUtxoProcessing, xp as recoverAuthorizationData, Fa as referralLink, np as refreshPrivateBalance, Hd as reloadPage, ui as removeTemporaryWalletNonce, Hl as reorderZkCallData, iu as replaceAllInstances, $u as requireEnv, dl as resetCache, Pm as resetMerkleTrees, Qf as resetStateMutex, Vs as resolveSns, nd as resolveSync, el as rethrowKnownGasErrorIfPossible, vi as rpcGetStorageChanges, rf as rpcIntEncode, yi as rpcSimulateBundle, bi as rpcSimulateTransaction, Fp as runContractFunction, w as safeJsonStringify, Wi as sanctionsListABI, fl as saveTxsCache, ur as searchBySymbol, Ko as searchCompareFunction, kp as searchPoolAndFee, ei as seedlessBackup, ti as seedlessCheckPassword, ni as seedlessInit, ri as seedlessSalt, ii as seedlessStatus, om as selectGasToken, jd as sendInitNullifiersTransaction, fi as sendPrivateSendEmailNotifications, Dd as sendProxyV0Transaction, Od as sendV0Transaction, _ as sepoliaTestnetData, Nu as serializeCircomData, sl as serializeDecodedTxs, kd as serializeProxyV0Transaction, Xu as serializeUtxoConstructorParams, bl as setCustomProofGenerator, xl as setCustomUtxoDecryptor, pl as setHinkalCache, pe as setHinkalTronChainId, Bp as signAndSendSerializedTransaction, ot as signaturePhrase, Hm as signedMessagesStorage, Kf as simulateTronTransaction, xi as simulateTx, me as solanaChainIdStr, v as solanaData, zi as solanaLocalnetRegistry, Bi as solanaMainnetRegistry, st as solanaNativeAddress, qo as sortTokens, Wf as splitRecipientsByAllocations, Ul as splitTronTokensByNative, mc as stealthAddressCacheDevice, hc as stealthPairCacheDevice, gc as stealthPairOldCacheDevice, Rf as storeAndGetSignatureFromEnclave, Nd as storeInstructions, Ad as storeProof, Ws as storeRecipientInfosViaEnclave, Lf as storeUtxoInEnclave, Sa as supportedPassportLinks, zc as takeOffHighestBit, x as tempoData, Si as tenderlyRpcLinks, Eo as toBigInt, Do as toBigIntOrUndefined, fo as toBigIntWithDecimals, Oo as toCommaSeparatedNumberString, ko as toInt, T as toJsonSafe, Ao as toNumberOrUndefined, au as toTitleCase, Wl as toTronBase58IfHex, du as tokenVisibilityStorage, Or as tokensInfoCall, to as transactionErrorCodes, Xf as transferClaimableUtxos, of as trimFieldValues, jo as trimLeadingZeros, b as tronMainnetData, y as tronNileData, Mo as truncateToDecimalPlaces, Va as uniswap2Manager, Ha as uniswap3Manager, Ua as uniswapApprovalExtraCallData, ca as uniswapV2PoolData, la as uniswapV3FactoryData, ua as uniswapV3PoolData, da as uniswapV3QuoterData, Jd as uniswapWorkaround, Wa as uniswapWorkaroundAddresses, ic as unpack, sm as updateHinkal, uu as validateAndGetChainId, ou as validateEmail, Ff as validateUsername, Yp as verifyCommitmentValidationData, Xp as verifyCommitmentValidationDataSolana, Sd as wait, Id as waitForDepositedUtxosInMerkleTree, zf as waitForEthereumTransactionConfirmation, Bf as waitForSolanaTransactionConfirmation, Vf as waitForTransactionConfirmation, Fc as waitLittle, no as walletConnectErrorCodes, ct as wrappedSolanaAddress, lt as zeroAddress, Et as zeroFeeStructure };
