@multiversx/sdk-dapp 2.28.7-alpha.21 → 2.28.7-alpha.22
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/UI/DappModal/components/DappModal.js +1 -1
- package/UI/DappModal/components/index.js +1 -1
- package/UI/DappModal/index.js +1 -1
- package/UI/Denominate/index.js +1 -1
- package/UI/ExplorerLink/ExplorerLink.js +1 -1
- package/UI/ExplorerLink/index.js +1 -1
- package/UI/FormatAmount/FormatAmount.js +1 -1
- package/UI/FormatAmount/index.js +1 -1
- package/UI/ModalContainer/ModalContainer.js +1 -1
- package/UI/ModalContainer/index.js +1 -1
- package/UI/NotificationModal/NotificationModal.js +1 -1
- package/UI/NotificationModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignTransactionsModals.js +1 -1
- package/UI/SignTransactionsModals/SignWithCrossWindowWalletModal/SignWithCrossWindowWalletModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithCrossWindowWalletModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/SignWithDeviceModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/SignStepBody.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/ConfirmAmount.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountData/ConfirmAmountData.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountData/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountNftSft/ConfirmAmountNftSft.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountNftSft/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/ConfirmFee.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/ConfirmReceiver.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/signWithDeviceModal.types.js +1 -1
- package/UI/SignTransactionsModals/SignWithExtensionModal/SignWithExtensionModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithExtensionModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithExtraModal/SignWithExtraModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithLedgerModal/LedgerGuardianSigningModalError.js +1 -1
- package/UI/SignTransactionsModals/SignWithLedgerModal/SignWithLedgerModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithLedgerModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithOperaModal/SignWithOperaModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithOperaModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithWalletConnectModal/SignWithWalletConnectModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithWalletConnectModal/index.js +1 -1
- package/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
- package/UI/SignTransactionsModals/components/DeviceConfirmationScreen.js +1 -1
- package/UI/SignTransactionsModals/components/SignWaitingScreenModal/SignWaitingScreenModal.js +1 -1
- package/UI/SignTransactionsModals/components/SignWaitingScreenModal/index.js +1 -1
- package/UI/SignTransactionsModals/components/TransactionStatusToast.js +1 -1
- package/UI/SignTransactionsModals/components/index.js +1 -1
- package/UI/SignTransactionsModals/index.js +1 -1
- package/UI/TokenDetails/index.js +1 -1
- package/UI/TransactionData/TransactionData.js +1 -1
- package/UI/TransactionData/index.js +1 -1
- package/UI/TransactionDetails/TransactionDetails.js +1 -1
- package/UI/TransactionDetails/components/TransactionDetailsBody.js +1 -1
- package/UI/TransactionDetails/components/index.js +1 -1
- package/UI/TransactionDetails/index.js +1 -1
- package/UI/TransactionInfo/TransactionInfo.js +1 -1
- package/UI/TransactionInfo/components/AddressDetailItem/AddressDetailitem.js +1 -1
- package/UI/TransactionInfo/components/AddressDetailItem/index.js +1 -1
- package/UI/TransactionInfo/components/DataDecode/DataDecode.js +1 -1
- package/UI/TransactionInfo/components/DataDecode/index.js +1 -1
- package/UI/TransactionInfo/components/DataField/DataField.js +1 -1
- package/UI/TransactionInfo/components/DataField/components/ModalLink/ModalLink.js +1 -1
- package/UI/TransactionInfo/components/DataField/components/ModalLink/index.js +1 -1
- package/UI/TransactionInfo/components/DataField/components/index.js +1 -1
- package/UI/TransactionInfo/components/DataField/index.js +1 -1
- package/UI/TransactionInfo/components/EventsList/EventsList.js +1 -1
- package/UI/TransactionInfo/components/EventsList/index.js +1 -1
- package/UI/TransactionInfo/components/NonceMessage/NonceMessage.js +1 -1
- package/UI/TransactionInfo/components/NonceMessage/index.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/OperationList.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/DetailedItem.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/OperationBlock.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/OperationRow.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/OperationText.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/OperationToken.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/index.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/index.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/ScResultsList.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultData/ResultData.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultData/index.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/ResultHash.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/index.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/ResultReceiver.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/index.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/ResultSender.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/index.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/index.js +1 -1
- package/UI/TransactionInfo/components/ScrDetailItem/ScrDetailItem.js +1 -1
- package/UI/TransactionInfo/components/ScrDetailItem/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/TransactionAction.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/ActionText/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/ActionToken.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionCollection.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionNft.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionToken.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionLogs/TransactionLogs.js +1 -1
- package/UI/TransactionInfo/components/TransactionLogs/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionStatus/TransactionStatus.js +1 -1
- package/UI/TransactionInfo/components/TransactionStatus/index.js +1 -1
- package/UI/TransactionInfo/components/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoAge/TransactionInfoAge.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoAge/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoEgldPrice/TransactionInfoEgldPrice.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoEgldPrice/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/TransactionInfoFee.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/TransactionInfoFrom.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasLimit/TransactionInfoGasLimit.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasLimit/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasPrice/TransactionInfoGasPrice.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasPrice/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/TransactionInfoGasUsed.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/TransactionInfoInputData.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/TransactionInfoMethod.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/TransactionInfoMiniblock.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/TransactionInfoNonce.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/TransactionInfoScResults.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/TransactionInfoStatus.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/TransactionInfoTo.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/TransactionInfoTokenOperations.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/TransactionInfoValue.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/index.js +1 -1
- package/UI/TransactionInfo/index.js +1 -1
- package/UI/TransactionsTable/TransactionsTable.js +1 -1
- package/UI/TransactionsTable/components/AccountName.js +1 -1
- package/UI/TransactionsTable/components/FailedTransactions.js +1 -1
- package/UI/TransactionsTable/components/LockedTokenAddressIcon.js +1 -1
- package/UI/TransactionsTable/components/ScAddressIcon.js +1 -1
- package/UI/TransactionsTable/components/ShardSpan.js +1 -1
- package/UI/TransactionsTable/components/TransactionHash.js +1 -1
- package/UI/TransactionsTable/components/TransactionIcon.js +1 -1
- package/UI/TransactionsTable/components/TransactionMethod.js +1 -1
- package/UI/TransactionsTable/components/TransactionReceiver.js +1 -1
- package/UI/TransactionsTable/components/TransactionRow.js +1 -1
- package/UI/TransactionsTable/components/TransactionSender.js +1 -1
- package/UI/TransactionsTable/components/TransactionShardsTransition.js +1 -1
- package/UI/TransactionsTable/components/TransactionValue/TransactionValue.js +1 -1
- package/UI/TransactionsTable/components/TransactionValue/index.js +1 -1
- package/UI/TransactionsTable/components/index.js +1 -1
- package/UI/TransactionsTable/index.js +1 -1
- package/UI/TransactionsToastList/TransactionsToastList.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/CustomToast.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/CustomComponentToast.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/IconToast.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/IconToastFooter.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/ComponentToastFooter.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/TransactionToastFooter.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/index.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/index.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/index.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/SimpleToast.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/index.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/helpers/getIsTransaction.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/helpers/index.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/helpers/useMemoizedCloseButton.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/index.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/TransactionToast.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/components/DefaultToastDeleteButton.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/components/TransactionToastContent.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/components/index.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/hooks/useTransactionToast.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/index.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/utils/getToastDataStateByStatus.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/utils/index.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToastGuard.js +1 -1
- package/UI/TransactionsToastList/components/index.js +1 -1
- package/UI/TransactionsToastList/index.js +1 -1
- package/UI/Trim/Trim.js +1 -1
- package/UI/Trim/index.js +1 -1
- package/UI/UsdValue/UsdValue.js +1 -1
- package/UI/UsdValue/index.js +1 -1
- package/UI/extension/ExtensionLoginButton/ExtensionLoginButton.js +1 -1
- package/UI/extension/ExtensionLoginButton/index.js +1 -1
- package/UI/index.js +1 -1
- package/UI/ledger/LedgerLoginButton/LedgerLoginButton.js +1 -1
- package/UI/ledger/LedgerLoginButton/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/AddressRow/AddressRow.js +1 -1
- package/UI/ledger/LedgerLoginContainer/AddressRow/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/AddressTable/AddressTable.js +1 -1
- package/UI/ledger/LedgerLoginContainer/AddressTable/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/ConfirmAddress/ConfirmAddress.js +1 -1
- package/UI/ledger/LedgerLoginContainer/ConfirmAddress/helpers/getAuthTokenText.js +1 -1
- package/UI/ledger/LedgerLoginContainer/ConfirmAddress/helpers/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/ConfirmAddress/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerConnect/LedgerConnect.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerConnect/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerLoading/LedgerLoading.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerLoading/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerLoginContainer.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerLoginContent/LedgerLoginContent.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerLoginContent/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerLoginContentBody/LedgerLoginContentBody.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerLoginContentBody/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerScamPhishingAlert/LedgerScamPhishingAlert.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerScamPhishingAlert/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/index.js +1 -1
- package/UI/ledger/index.js +1 -1
- package/UI/operaWallet/OperaWalletLoginButton/OperaWalletLoginButton.js +1 -1
- package/UI/operaWallet/OperaWalletLoginButton/index.js +1 -1
- package/UI/pages/UnlockPage/index.js +1 -1
- package/UI/pages/index.js +1 -1
- package/UI/walletConnect/WalletConnectConnectionStatus/WalletConnectConnectionStatus.js +1 -1
- package/UI/walletConnect/WalletConnectConnectionStatus/index.js +1 -1
- package/UI/walletConnect/WalletConnectLoginButton/WalletConnectLoginButton.js +1 -1
- package/UI/walletConnect/WalletConnectLoginButton/index.js +1 -1
- package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContainer.js +1 -1
- package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContent/WalletConnectLoginContent.js +1 -1
- package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContent/index.js +1 -1
- package/UI/walletConnect/WalletConnectLoginContainer/index.js +1 -1
- package/UI/walletConnect/index.js +1 -1
- package/UI/webWallet/CrossWindowLoginButton/CrossWindowLoginButton.js +1 -1
- package/UI/webWallet/CrossWindowLoginButton/index.js +1 -1
- package/UI/webWallet/WebWalletLoginButton/WebWalletLoginButton.js +1 -1
- package/UI/webWallet/WebWalletLoginButton/index.js +1 -1
- package/UI/webWallet/XaliasLoginButton/XaliasLoginButton.js +1 -1
- package/UI/webWallet/XaliasLoginButton/index.js +1 -1
- package/__chunks__/{chunk-LYPYXUJV.js → chunk-2ERYD4ZD.js} +2 -2
- package/__chunks__/{chunk-WLJZR6MI.js → chunk-2FI2XFEB.js} +2 -2
- package/__chunks__/{chunk-JQUIPCY5.js → chunk-2MX5NY6P.js} +2 -2
- package/__chunks__/{chunk-FJT4NIX5.js → chunk-2OSEQDFR.js} +2 -2
- package/__chunks__/{chunk-B5D55AUB.js → chunk-2R3SDGLV.js} +2 -2
- package/__chunks__/chunk-2SGND5VW.js +2 -0
- package/__chunks__/{chunk-UH74TE5S.js → chunk-32OEQS2D.js} +2 -2
- package/__chunks__/{chunk-LKP6MFXK.js → chunk-35Q3N5XX.js} +2 -2
- package/__chunks__/{chunk-P62RAJK6.js → chunk-3GYEUMHL.js} +2 -2
- package/__chunks__/chunk-3JT5VCHV.js +2 -0
- package/__chunks__/{chunk-WINVVAR2.js → chunk-3OAVJKGK.js} +2 -2
- package/__chunks__/{chunk-J6T2EE5S.js → chunk-3Q6F2HJ6.js} +2 -2
- package/__chunks__/{chunk-45KS7MHU.js → chunk-3RUGJIXL.js} +2 -2
- package/__chunks__/chunk-3WMTU7D6.js +2 -0
- package/__chunks__/chunk-43EXZCW2.js +2 -0
- package/__chunks__/{chunk-TKDQ67OU.js → chunk-45WWKRVA.js} +2 -2
- package/__chunks__/{chunk-WRHAGDVV.js → chunk-4B3MOWFW.js} +2 -2
- package/__chunks__/{chunk-2I3SIP7I.js → chunk-4HKT77ZD.js} +2 -2
- package/__chunks__/{chunk-JUXUKQXA.js → chunk-4RYF5VPZ.js} +2 -2
- package/__chunks__/{chunk-JC4R6MW6.js → chunk-4SPYBRWY.js} +2 -2
- package/__chunks__/chunk-4U5X73LG.js +2 -0
- package/__chunks__/chunk-52I2BI6Z.js +2 -0
- package/__chunks__/{chunk-LNWKWD36.js → chunk-53D66PL3.js} +2 -2
- package/__chunks__/{chunk-BDNFTUNX.js → chunk-55WOWFKB.js} +2 -2
- package/__chunks__/chunk-5BRAFDAC.js +2 -0
- package/__chunks__/{chunk-YEW2MY76.js → chunk-5EJX6WW5.js} +2 -2
- package/__chunks__/{chunk-NCHTNS4A.js → chunk-5HHZDE2P.js} +2 -2
- package/__chunks__/{chunk-2TKLBHNZ.js → chunk-5MZU2OXW.js} +2 -2
- package/__chunks__/{chunk-DKNSMNAR.js → chunk-5N2CDJQ4.js} +2 -2
- package/__chunks__/chunk-5SYUFB4T.js +2 -0
- package/__chunks__/{chunk-CQZQ6E5V.js → chunk-5UOPDZ6E.js} +2 -2
- package/__chunks__/{chunk-YA3IK5HD.js → chunk-5VIHCVAC.js} +2 -2
- package/__chunks__/{chunk-IJIOWKDI.js → chunk-5WHZXANI.js} +2 -2
- package/__chunks__/{chunk-KOHZDKJE.js → chunk-5XHXBLRW.js} +2 -2
- package/__chunks__/chunk-67GE423Z.js +2 -0
- package/__chunks__/{chunk-6ULNLMEQ.js → chunk-6DKE6XGL.js} +2 -2
- package/__chunks__/chunk-6JVK3U3P.js +2 -0
- package/__chunks__/{chunk-5TJ3HDWX.js → chunk-6QKDH7BO.js} +2 -2
- package/__chunks__/{chunk-QSUM5QNK.js → chunk-6WIVTBKC.js} +2 -2
- package/__chunks__/chunk-75EWJ2IY.js +2 -0
- package/__chunks__/{chunk-TYLSUIT3.js → chunk-7AK6HBWA.js} +2 -2
- package/__chunks__/{chunk-QYSSH5NX.js → chunk-7BG7OJFY.js} +2 -2
- package/__chunks__/{chunk-L6BRJFR6.js → chunk-7CJEB4QU.js} +2 -2
- package/__chunks__/{chunk-YV52CXDT.js → chunk-7D5RMPCM.js} +2 -2
- package/__chunks__/{chunk-W7IEFYKT.js → chunk-7G2PG2HJ.js} +2 -2
- package/__chunks__/{chunk-WMRN2SKZ.js → chunk-7G3N5UXY.js} +2 -2
- package/__chunks__/{chunk-D7OEA777.js → chunk-7IHUWBE2.js} +2 -2
- package/__chunks__/{chunk-RKI72TMN.js → chunk-7J5FLOSX.js} +2 -2
- package/__chunks__/{chunk-LWG2223P.js → chunk-7LSQ7ACU.js} +2 -2
- package/__chunks__/{chunk-OOZM2I42.js → chunk-7NDTJX2Q.js} +2 -2
- package/__chunks__/{chunk-S4ISWHOB.js → chunk-7NZRWTON.js} +2 -2
- package/__chunks__/{chunk-ZT67ERD5.js → chunk-7Q65CTX4.js} +2 -2
- package/__chunks__/chunk-7SWQCGUR.js +2 -0
- package/__chunks__/{chunk-JDBSIMC3.js → chunk-7VMQ5PJC.js} +2 -2
- package/__chunks__/{chunk-T4CD54EC.js → chunk-7WYYZIP7.js} +2 -2
- package/__chunks__/chunk-7X7AHJNX.js +2 -0
- package/__chunks__/{chunk-S4GJX4XN.js → chunk-7ZGFUH4M.js} +2 -2
- package/__chunks__/{chunk-LH6BCDIW.js → chunk-A2BS44NX.js} +2 -2
- package/__chunks__/{chunk-FVY4PX7G.js → chunk-AD5GF3EO.js} +2 -2
- package/__chunks__/chunk-AFSFP2AH.js +2 -0
- package/__chunks__/{chunk-UHYGR5YC.js → chunk-AGWE3CA7.js} +2 -2
- package/__chunks__/{chunk-EQSL3LHM.js → chunk-AHQKUBGT.js} +2 -2
- package/__chunks__/chunk-AJK4FD6T.js +2 -0
- package/__chunks__/{chunk-P2ULBRHU.js → chunk-ANJIBOLB.js} +2 -2
- package/__chunks__/{chunk-DRMJ7OYY.js → chunk-ANVS3LWC.js} +2 -2
- package/__chunks__/{chunk-RLSKTSOC.js → chunk-APUPP3SO.js} +2 -2
- package/__chunks__/{chunk-OMD6VJ7Q.js → chunk-APW4UMNQ.js} +2 -2
- package/__chunks__/{chunk-OZZBMCJB.js → chunk-ARUR4UYT.js} +2 -2
- package/__chunks__/chunk-ATPARQD4.js +2 -0
- package/__chunks__/{chunk-3HKLQO3N.js → chunk-AYFYNNWF.js} +2 -2
- package/__chunks__/{chunk-4WGPSXLR.js → chunk-B7KPSMKH.js} +2 -2
- package/__chunks__/{chunk-U2E5WIJJ.js → chunk-BA56LBTO.js} +2 -2
- package/__chunks__/chunk-BB7Y5RUP.js +2 -0
- package/__chunks__/{chunk-GZBGMN6S.js → chunk-BBAQDTOC.js} +2 -2
- package/__chunks__/{chunk-N6GP5UZH.js → chunk-BCHXOUUJ.js} +2 -2
- package/__chunks__/chunk-BDWKIY35.js +2 -0
- package/__chunks__/{chunk-MCS4VY23.js → chunk-BECO26VQ.js} +2 -2
- package/__chunks__/{chunk-RMO53XUM.js → chunk-BHY3Z3ET.js} +2 -2
- package/__chunks__/{chunk-MNANJF37.js → chunk-BOS6J3XK.js} +2 -2
- package/__chunks__/{chunk-HEJFGYB4.js → chunk-BQWEKJQY.js} +2 -2
- package/__chunks__/{chunk-ALRWYKJ3.js → chunk-BVA74VPG.js} +2 -2
- package/__chunks__/{chunk-6PBH3KEW.js → chunk-BXA5P6LR.js} +2 -2
- package/__chunks__/chunk-BZYN5SVI.js +2 -0
- package/__chunks__/{chunk-R2M2NREB.js → chunk-C3DRE3XL.js} +2 -2
- package/__chunks__/{chunk-FTUA3HTU.js → chunk-C4HPD3DA.js} +2 -2
- package/__chunks__/{chunk-UKITMGU5.js → chunk-C5VMAZGA.js} +2 -2
- package/__chunks__/{chunk-CT4XGGLM.js → chunk-CEDKTHSG.js} +2 -2
- package/__chunks__/{chunk-MDYH3TAR.js → chunk-CGGFQR3H.js} +2 -2
- package/__chunks__/{chunk-XXN2SRRE.js → chunk-CHMNM54S.js} +2 -2
- package/__chunks__/{chunk-K2OPPBXN.js → chunk-CIXIB66V.js} +2 -2
- package/__chunks__/{chunk-4KOQ4XPF.js → chunk-CKGPXFPI.js} +2 -2
- package/__chunks__/{chunk-SSYG5MZ3.js → chunk-CP3KWVXW.js} +2 -2
- package/__chunks__/{chunk-IZU4L5ZT.js → chunk-CQAZBUMQ.js} +2 -2
- package/__chunks__/{chunk-OMJE5LZ5.js → chunk-CZJYZVFY.js} +2 -2
- package/__chunks__/{chunk-H7M2MJO2.js → chunk-D2ORSE3O.js} +2 -2
- package/__chunks__/{chunk-MRQXI6BL.js → chunk-D2ZNJPI4.js} +2 -2
- package/__chunks__/{chunk-D5WNZ2KW.js → chunk-D5PW6PC2.js} +2 -2
- package/__chunks__/{chunk-ROKSIDG4.js → chunk-DCY6S64L.js} +2 -2
- package/__chunks__/chunk-DEDBLRRQ.js +2 -0
- package/__chunks__/{chunk-S3RQVME5.js → chunk-DEQUL5OZ.js} +2 -2
- package/__chunks__/{chunk-EYBL2DZQ.js → chunk-DGFIEGKE.js} +2 -2
- package/__chunks__/{chunk-6I4KDAEC.js → chunk-DGJGGAFC.js} +2 -2
- package/__chunks__/{chunk-LJDUUEVE.js → chunk-DGWY723D.js} +2 -2
- package/__chunks__/{chunk-6SDN6VYU.js → chunk-DH6UKHV7.js} +2 -2
- package/__chunks__/chunk-DMNVYUZI.js +2 -0
- package/__chunks__/chunk-DSBFDCAY.js +2 -0
- package/__chunks__/{chunk-SPUHV23C.js → chunk-DVMRHYP2.js} +2 -2
- package/__chunks__/{chunk-PTNZZ33O.js → chunk-DWKHF6GZ.js} +2 -2
- package/__chunks__/{chunk-NJKH2I7A.js → chunk-E7QFSJPE.js} +2 -2
- package/__chunks__/{chunk-5MVZTGDS.js → chunk-EHHJWFN7.js} +2 -2
- package/__chunks__/{chunk-HXGWOGYH.js → chunk-EMGL6ISD.js} +2 -2
- package/__chunks__/{chunk-J3UC3VZX.js → chunk-EOATHPT6.js} +2 -2
- package/__chunks__/{chunk-776CE2KN.js → chunk-EOSAEMI2.js} +2 -2
- package/__chunks__/chunk-ESLS6YRW.js +2 -0
- package/__chunks__/{chunk-44ZY2IG5.js → chunk-ET2LB4HU.js} +2 -2
- package/__chunks__/{chunk-QWMOQ7N7.js → chunk-EVOOEQLP.js} +2 -2
- package/__chunks__/{chunk-VUE4762S.js → chunk-EVYMXGHI.js} +2 -2
- package/__chunks__/chunk-EW6DK2M3.js +2 -0
- package/__chunks__/{chunk-FZHLZFLL.js → chunk-F7YI44JE.js} +2 -2
- package/__chunks__/{chunk-XYS3N3TZ.js → chunk-FA42PZCG.js} +2 -2
- package/__chunks__/{chunk-63CVVKHG.js → chunk-FGLQLS5G.js} +2 -2
- package/__chunks__/{chunk-BDKGJYTU.js → chunk-FK7TQ6GT.js} +2 -2
- package/__chunks__/{chunk-JV7XSR2M.js → chunk-FNO4BWIV.js} +2 -2
- package/__chunks__/{chunk-WQJYO2YY.js → chunk-FRP2DBXW.js} +2 -2
- package/__chunks__/{chunk-CNBYHU7O.js → chunk-FSFSGXZX.js} +2 -2
- package/__chunks__/{chunk-IEJ6UMAD.js → chunk-FX253HDQ.js} +2 -2
- package/__chunks__/chunk-FY2SAUJP.js +2 -0
- package/__chunks__/{chunk-OJ3JMAGT.js → chunk-GG6P5SOY.js} +2 -2
- package/__chunks__/{chunk-R7OX4IST.js → chunk-GGTG3OLU.js} +2 -2
- package/__chunks__/{chunk-C3KHOLAQ.js → chunk-GKSD5MXQ.js} +2 -2
- package/__chunks__/{chunk-Y7OU5KIO.js → chunk-GLPZTVJR.js} +2 -2
- package/__chunks__/{chunk-BU52W6U4.js → chunk-GLXTHXQZ.js} +2 -2
- package/__chunks__/{chunk-K6T7FXKT.js → chunk-GVMVOVZM.js} +2 -2
- package/__chunks__/{chunk-HVBPAKEW.js → chunk-GWJZAREP.js} +2 -2
- package/__chunks__/{chunk-PSDFAMAR.js → chunk-GXZFUOIZ.js} +2 -2
- package/__chunks__/{chunk-UOEDTZAI.js → chunk-GZACSDSD.js} +2 -2
- package/__chunks__/{chunk-HUUAZE4W.js → chunk-H3CUGDQT.js} +2 -2
- package/__chunks__/{chunk-NEUTOONN.js → chunk-H6HVGNKL.js} +2 -2
- package/__chunks__/chunk-H7NWEHKK.js +2 -0
- package/__chunks__/chunk-HCMZNSGG.js +2 -0
- package/__chunks__/{chunk-UBV5MZTH.js → chunk-HF2BVD7V.js} +2 -2
- package/__chunks__/chunk-HFAS7WJT.js +2 -0
- package/__chunks__/{chunk-BO4I7TU7.js → chunk-HINPJG36.js} +2 -2
- package/__chunks__/chunk-HITYUHEV.js +2 -0
- package/__chunks__/{chunk-PWNTLE7O.js → chunk-HJVL63AM.js} +2 -2
- package/__chunks__/{chunk-ZEKSL6RM.js → chunk-HLXMCLRD.js} +2 -2
- package/__chunks__/{chunk-26PNCEN6.js → chunk-HOYGFWRN.js} +2 -2
- package/__chunks__/{chunk-LUKXK4PJ.js → chunk-HPZDSCI6.js} +2 -2
- package/__chunks__/{chunk-TYN4NL7P.js → chunk-HQVA6BN4.js} +2 -2
- package/__chunks__/{chunk-K24Q7A25.js → chunk-HTRWR64S.js} +2 -2
- package/__chunks__/{chunk-Z7CXRSOE.js → chunk-HXC6OQ62.js} +2 -2
- package/__chunks__/{chunk-OB343ORN.js → chunk-HXG6DPBV.js} +2 -2
- package/__chunks__/{chunk-K5ZKFH4M.js → chunk-I5LCH7GI.js} +2 -2
- package/__chunks__/chunk-IBXG3FTQ.js +2 -0
- package/__chunks__/{chunk-5VEXZKXZ.js → chunk-IG63UBHO.js} +2 -2
- package/__chunks__/{chunk-QKAGGKMZ.js → chunk-IH6XL5SK.js} +2 -2
- package/__chunks__/{chunk-QV7H3KVT.js → chunk-IJBNOFRU.js} +2 -2
- package/__chunks__/{chunk-M72NGQGD.js → chunk-ITGCTIQR.js} +2 -2
- package/__chunks__/{chunk-6S7QMZNK.js → chunk-IXE232G2.js} +2 -2
- package/__chunks__/chunk-IZFMBOQX.js +2 -0
- package/__chunks__/chunk-IZVUCFGS.js +2 -0
- package/__chunks__/{chunk-SYQOUCPR.js → chunk-J2ZVGV5V.js} +2 -2
- package/__chunks__/{chunk-FOXLWZNI.js → chunk-JBUYDFLY.js} +2 -2
- package/__chunks__/{chunk-D3WFE5YS.js → chunk-JCY3XPSZ.js} +2 -2
- package/__chunks__/{chunk-IC6Q4EU4.js → chunk-JGP7DL5H.js} +2 -2
- package/__chunks__/{chunk-6AGOAZNP.js → chunk-JHMCLNLR.js} +2 -2
- package/__chunks__/{chunk-ZBEKS6PS.js → chunk-JIKTTFUV.js} +2 -2
- package/__chunks__/chunk-JRUHJBQL.js +2 -0
- package/__chunks__/chunk-JSZLJIB6.js +2 -0
- package/__chunks__/{chunk-V2VRYADK.js → chunk-JX5HWH4J.js} +2 -2
- package/__chunks__/{chunk-GSY5IELC.js → chunk-JY6OL6ND.js} +2 -2
- package/__chunks__/{chunk-37ID6NXL.js → chunk-JZTWJVWG.js} +2 -2
- package/__chunks__/{chunk-VOCTSFNO.js → chunk-K77PSVIN.js} +2 -2
- package/__chunks__/{chunk-5SSLY5Y3.js → chunk-KAYJGVHY.js} +2 -2
- package/__chunks__/chunk-KCZPUQMS.js +2 -0
- package/__chunks__/{chunk-U6EQKACI.js → chunk-KMW3NDPZ.js} +2 -2
- package/__chunks__/{chunk-6PYKJOPZ.js → chunk-KNT7OBR5.js} +2 -2
- package/__chunks__/chunk-KOQMQ6NG.js +2 -0
- package/__chunks__/chunk-KTH3M5IT.js +2 -0
- package/__chunks__/{chunk-SKBIXZTQ.js → chunk-KUHSL5X5.js} +2 -2
- package/__chunks__/{chunk-PEHW2ZJ4.js → chunk-KWOUJGVB.js} +2 -2
- package/__chunks__/{chunk-MEZ7Y2GV.js → chunk-KWYZG2KO.js} +2 -2
- package/__chunks__/{chunk-APIHXAWO.js → chunk-KXNGKRWN.js} +2 -2
- package/__chunks__/chunk-KZG6ZKUF.js +2 -0
- package/__chunks__/chunk-L76ZGHEN.js +2 -0
- package/__chunks__/chunk-L7K7RJH7.js +2 -0
- package/__chunks__/chunk-LAKQHUPZ.js +2 -0
- package/__chunks__/{chunk-3WHZ33T5.js → chunk-LFEKSKQ2.js} +2 -2
- package/__chunks__/{chunk-PE3D2MZ6.js → chunk-LH4MJYLH.js} +2 -2
- package/__chunks__/{chunk-7ZMQL73G.js → chunk-LLRPL7VG.js} +2 -2
- package/__chunks__/{chunk-PY3TMMVZ.js → chunk-LM4U25YU.js} +2 -2
- package/__chunks__/{chunk-SIWZ2PMD.js → chunk-LU3YKJFB.js} +2 -2
- package/__chunks__/{chunk-PVA7E7LL.js → chunk-LY4FYJ4C.js} +2 -2
- package/__chunks__/{chunk-QPPB6FZN.js → chunk-MCXTDL7M.js} +2 -2
- package/__chunks__/{chunk-ZQ37SRMI.js → chunk-MGE5DV6U.js} +2 -2
- package/__chunks__/{chunk-B7PYBZU4.js → chunk-MQIDJN7U.js} +2 -2
- package/__chunks__/{chunk-2MP2EF4U.js → chunk-MRJ4QW6X.js} +2 -2
- package/__chunks__/chunk-MTTVEC3D.js +2 -0
- package/__chunks__/{chunk-K3M27SZ4.js → chunk-MVKLXKTF.js} +2 -2
- package/__chunks__/{chunk-N7OBCE6V.js → chunk-MVUDZB34.js} +2 -2
- package/__chunks__/chunk-MWQ7RWF2.js +2 -0
- package/__chunks__/{chunk-YUUAC2ZS.js → chunk-MYGVPVCS.js} +2 -2
- package/__chunks__/{chunk-XTMENGRC.js → chunk-MZ5SG35I.js} +2 -2
- package/__chunks__/{chunk-2WUN7ZR2.js → chunk-N5RGN6AW.js} +2 -2
- package/__chunks__/{chunk-LZJ3KLAE.js → chunk-N6LQOJNC.js} +2 -2
- package/__chunks__/{chunk-FWX5LT3Y.js → chunk-N6NXFMIH.js} +2 -2
- package/__chunks__/{chunk-26N2EF27.js → chunk-N6PWQZFC.js} +2 -2
- package/__chunks__/{chunk-TUOZQXHC.js → chunk-N6QOVYEG.js} +2 -2
- package/__chunks__/{chunk-JWM347Y4.js → chunk-NANP63QY.js} +2 -2
- package/__chunks__/{chunk-IEVWAPRT.js → chunk-NAODEQRI.js} +2 -2
- package/__chunks__/{chunk-IBZVKTPJ.js → chunk-NH72OC6D.js} +2 -2
- package/__chunks__/chunk-NMGQUARD.js +2 -0
- package/__chunks__/{chunk-OBIDQER4.js → chunk-NST37LLV.js} +2 -2
- package/__chunks__/{chunk-FZWTKNRZ.js → chunk-NTQMD3HJ.js} +2 -2
- package/__chunks__/{chunk-FAWBFUEX.js → chunk-NW5FJ6T6.js} +2 -2
- package/__chunks__/{chunk-J24KOCLN.js → chunk-NY2AEE55.js} +2 -2
- package/__chunks__/{chunk-MREKWZJ5.js → chunk-O3BM5GVO.js} +2 -2
- package/__chunks__/{chunk-3AK2QRZU.js → chunk-O4ES6T7Q.js} +2 -2
- package/__chunks__/{chunk-VHZNGPYU.js → chunk-O5ARJAY2.js} +2 -2
- package/__chunks__/{chunk-3TGDWC4B.js → chunk-O6R4VP27.js} +2 -2
- package/__chunks__/{chunk-6FZZOEGT.js → chunk-O7PO2TJD.js} +2 -2
- package/__chunks__/{chunk-BNP5ANPK.js → chunk-ODTGXHHX.js} +2 -2
- package/__chunks__/{chunk-RKRZ3GJI.js → chunk-OL2TMWZ3.js} +2 -2
- package/__chunks__/{chunk-LAOQIQ3S.js → chunk-OM2PBUXL.js} +2 -2
- package/__chunks__/{chunk-RNFUGVZR.js → chunk-OME7FKGA.js} +2 -2
- package/__chunks__/{chunk-ERWYH4Q3.js → chunk-OQDYMJP6.js} +2 -2
- package/__chunks__/{chunk-CNCN56C4.js → chunk-OQQHKPP3.js} +2 -2
- package/__chunks__/{chunk-RCTXKYF2.js → chunk-OREAUDQO.js} +2 -2
- package/__chunks__/{chunk-3JXPYC67.js → chunk-OWCZQ7VV.js} +2 -2
- package/__chunks__/chunk-OXPUAJQT.js +2 -0
- package/__chunks__/{chunk-KLESNFXM.js → chunk-OYQ32WMZ.js} +2 -2
- package/__chunks__/{chunk-QOHPZQIO.js → chunk-P2GUUP3M.js} +2 -2
- package/__chunks__/{chunk-LXUXSM3O.js → chunk-P5YT37CB.js} +2 -2
- package/__chunks__/chunk-P65Y7FVM.js +2 -0
- package/__chunks__/{chunk-6PIL672R.js → chunk-PENF3NVS.js} +2 -2
- package/__chunks__/{chunk-XW4GS322.js → chunk-PI3UCK7W.js} +2 -2
- package/__chunks__/{chunk-HNLGRL3D.js → chunk-PL3OTX5V.js} +2 -2
- package/__chunks__/{chunk-DCQDEXLU.js → chunk-PMOBF2HP.js} +2 -2
- package/__chunks__/{chunk-BQ5SL7X6.js → chunk-PMUWC3LS.js} +2 -2
- package/__chunks__/chunk-PP4TDQ6A.js +2 -0
- package/__chunks__/chunk-PPWYTKX5.js +2 -0
- package/__chunks__/{chunk-W6W7PAHO.js → chunk-PZM3RIMM.js} +2 -2
- package/__chunks__/{chunk-7HRT7DOR.js → chunk-Q4RVW24P.js} +2 -2
- package/__chunks__/{chunk-KIIXBWPE.js → chunk-Q6INIDZK.js} +2 -2
- package/__chunks__/{chunk-34GEGF5Y.js → chunk-Q7K6WI67.js} +2 -2
- package/__chunks__/{chunk-A22MS5SV.js → chunk-QCC45LJR.js} +2 -2
- package/__chunks__/{chunk-SV7VIM6Y.js → chunk-QE6ERRDA.js} +2 -2
- package/__chunks__/{chunk-WEYBWJHQ.js → chunk-QHFOHQUF.js} +2 -2
- package/__chunks__/{chunk-KO4BXGXX.js → chunk-QIXTNSSF.js} +2 -2
- package/__chunks__/chunk-QN565FYS.js +2 -0
- package/__chunks__/{chunk-FBL3RDGV.js → chunk-QOSVZC6E.js} +2 -2
- package/__chunks__/chunk-QP2M2C7R.js +2 -0
- package/__chunks__/chunk-QRS362VB.js +2 -0
- package/__chunks__/{chunk-DZMN32EC.js → chunk-QSXZEDPY.js} +2 -2
- package/__chunks__/{chunk-YKFSAHDW.js → chunk-QT4WN7AI.js} +2 -2
- package/__chunks__/chunk-QTLUMJZZ.js +2 -0
- package/__chunks__/{chunk-SYRCA6PM.js → chunk-R2W2U2DE.js} +2 -2
- package/__chunks__/{chunk-W52B4DN5.js → chunk-R3D7OGJ4.js} +2 -2
- package/__chunks__/{chunk-LYR3NXVH.js → chunk-R6JVITNR.js} +2 -2
- package/__chunks__/{chunk-PZRXFWXQ.js → chunk-RDLHGENA.js} +2 -2
- package/__chunks__/chunk-RGPCH3U7.js +2 -0
- package/__chunks__/chunk-RGVBDNCQ.js +2 -0
- package/__chunks__/{chunk-PV6TLW3J.js → chunk-RKBWHASN.js} +2 -2
- package/__chunks__/chunk-RPAZXC2F.js +2 -0
- package/__chunks__/{chunk-ICGF3OUL.js → chunk-RRGE6Q5M.js} +2 -2
- package/__chunks__/{chunk-R27H6XH2.js → chunk-RSSKXLYT.js} +2 -2
- package/__chunks__/{chunk-ZX4PHT7S.js → chunk-RV633TYI.js} +2 -2
- package/__chunks__/chunk-RX2NGJSD.js +2 -0
- package/__chunks__/{chunk-L4PN3IXM.js → chunk-S2AYGEWF.js} +2 -2
- package/__chunks__/chunk-S3KD5KK2.js +2 -0
- package/__chunks__/{chunk-A5L2WT53.js → chunk-S7N4ISBJ.js} +2 -2
- package/__chunks__/{chunk-BAGNFQBH.js → chunk-SGXU64BV.js} +2 -2
- package/__chunks__/{chunk-ATZ4IWH3.js → chunk-SHLZDPET.js} +2 -2
- package/__chunks__/{chunk-5UARG2MD.js → chunk-SIYAGK7F.js} +2 -2
- package/__chunks__/{chunk-4T6VXNQ2.js → chunk-SJJVXAIR.js} +2 -2
- package/__chunks__/{chunk-7K6OV53X.js → chunk-SO7GR5JK.js} +2 -2
- package/__chunks__/{chunk-UPEPL6SX.js → chunk-SQ5WG7US.js} +2 -2
- package/__chunks__/{chunk-4CWAT63N.js → chunk-SQ7M7N35.js} +2 -2
- package/__chunks__/chunk-SRHRU7FN.js +2 -0
- package/__chunks__/{chunk-XOVZT32V.js → chunk-SRWKZ2NL.js} +2 -2
- package/__chunks__/{chunk-QKXJD4A3.js → chunk-SUMSAHEJ.js} +2 -2
- package/__chunks__/{chunk-VIAWGYHZ.js → chunk-SZSOMMLZ.js} +2 -2
- package/__chunks__/chunk-T63IP2TZ.js +2 -0
- package/__chunks__/{chunk-DJENMVSO.js → chunk-TAAADPTZ.js} +2 -2
- package/__chunks__/{chunk-WMIVV347.js → chunk-TBQRWNZE.js} +2 -2
- package/__chunks__/chunk-TFIPRE2I.js +2 -0
- package/__chunks__/chunk-U4VASFRN.js +2 -0
- package/__chunks__/{chunk-Y4N6ZKFU.js → chunk-UDKFBMCS.js} +2 -2
- package/__chunks__/{chunk-PLCDAHXF.js → chunk-UET5NZUD.js} +2 -2
- package/__chunks__/{chunk-OCV7NNTI.js → chunk-UFIQJELD.js} +2 -2
- package/__chunks__/{chunk-5Q6I6ZSP.js → chunk-ULFF6SZM.js} +2 -2
- package/__chunks__/{chunk-XF2JZN2T.js → chunk-UPXLULNI.js} +2 -2
- package/__chunks__/{chunk-D3FW5S76.js → chunk-UTXHFTRR.js} +2 -2
- package/__chunks__/{chunk-JVQSZJWT.js → chunk-V6JNDMAV.js} +2 -2
- package/__chunks__/{chunk-4WSTU7EL.js → chunk-V7EWDPEH.js} +2 -2
- package/__chunks__/{chunk-UCIKNUQ5.js → chunk-VG2N5QZN.js} +2 -2
- package/__chunks__/{chunk-GCPFA5DS.js → chunk-VNDWQVPX.js} +2 -2
- package/__chunks__/chunk-VSLTOYD7.js +2 -0
- package/__chunks__/{chunk-5QWM46KI.js → chunk-VT4AOWMZ.js} +2 -2
- package/__chunks__/{chunk-Q3MPXHVT.js → chunk-VWU2KLAH.js} +2 -2
- package/__chunks__/{chunk-UWXFBSC4.js → chunk-W6UGF3HH.js} +2 -2
- package/__chunks__/{chunk-GCJYHTRG.js → chunk-W7O4NHIZ.js} +2 -2
- package/__chunks__/{chunk-T5NSPA2G.js → chunk-WAZQLWQR.js} +2 -2
- package/__chunks__/{chunk-Q7IG7FVX.js → chunk-WBJOW4A3.js} +2 -2
- package/__chunks__/{chunk-VULOUSUG.js → chunk-WBRILQOH.js} +2 -2
- package/__chunks__/{chunk-NJV5SUG7.js → chunk-WDPVE2XW.js} +2 -2
- package/__chunks__/{chunk-RBKZGMZL.js → chunk-WE3UEXTW.js} +2 -2
- package/__chunks__/chunk-WGXCA2WQ.js +2 -0
- package/__chunks__/{chunk-Z4NTTIYC.js → chunk-WLT7RNJI.js} +2 -2
- package/__chunks__/{chunk-WO6QZHE6.js → chunk-WS7UERKL.js} +2 -2
- package/__chunks__/{chunk-XYZQOUPZ.js → chunk-WWNFE6GO.js} +2 -2
- package/__chunks__/{chunk-BVAHQTJA.js → chunk-X4XJKUDS.js} +2 -2
- package/__chunks__/{chunk-W73YZCYP.js → chunk-X55LBY4T.js} +2 -2
- package/__chunks__/{chunk-3S2KZLIA.js → chunk-X5N4DDKX.js} +2 -2
- package/__chunks__/{chunk-D4SIPVFT.js → chunk-X7B7HGQH.js} +2 -2
- package/__chunks__/{chunk-X5V7KMPK.js → chunk-XCRCY2N2.js} +2 -2
- package/__chunks__/{chunk-W22VDMHZ.js → chunk-XGCZQQL6.js} +2 -2
- package/__chunks__/chunk-XHJBHORZ.js +2 -0
- package/__chunks__/{chunk-HCBCQSLR.js → chunk-XJCZNTZG.js} +2 -2
- package/__chunks__/{chunk-HPP6QB6F.js → chunk-XMQ2X44K.js} +2 -2
- package/__chunks__/{chunk-ENPJSPIZ.js → chunk-XQX65RBG.js} +2 -2
- package/__chunks__/{chunk-HPDIREBZ.js → chunk-XRBJHWQX.js} +2 -2
- package/__chunks__/{chunk-PMEKOZBG.js → chunk-XS5UHSTJ.js} +2 -2
- package/__chunks__/{chunk-IOXCV3K2.js → chunk-XVDAFFMR.js} +2 -2
- package/__chunks__/{chunk-FMBAMOHT.js → chunk-XZJMSDFH.js} +2 -2
- package/__chunks__/{chunk-FRRFZ4DE.js → chunk-Y52GGTVY.js} +2 -2
- package/__chunks__/{chunk-QRP7IHAC.js → chunk-YBWO3VVO.js} +2 -2
- package/__chunks__/{chunk-HQBTZQC4.js → chunk-YDE4SQGZ.js} +2 -2
- package/__chunks__/{chunk-BMUXABC4.js → chunk-YJMMSAIM.js} +2 -2
- package/__chunks__/chunk-YNSLXCXD.js +2 -0
- package/__chunks__/{chunk-WLI45HHV.js → chunk-YOHOCUV2.js} +2 -2
- package/__chunks__/{chunk-DZ3L4OD5.js → chunk-YRTHW4UH.js} +2 -2
- package/__chunks__/{chunk-U7BRR2HV.js → chunk-YWEI7PTS.js} +2 -2
- package/__chunks__/chunk-YYXZECKA.js +2 -0
- package/__chunks__/chunk-Z2FY7RSN.js +2 -0
- package/__chunks__/{chunk-3QB5E2I7.js → chunk-Z3XCW7WY.js} +2 -2
- package/__chunks__/{chunk-HGL3VDIT.js → chunk-ZAX7SBAA.js} +2 -2
- package/__chunks__/{chunk-H5I4F6FF.js → chunk-ZERI3KFG.js} +2 -2
- package/__chunks__/{chunk-GG7AAYXE.js → chunk-ZGYFH7QB.js} +2 -2
- package/__chunks__/{chunk-S4WC5U6P.js → chunk-ZHN6UHDQ.js} +2 -2
- package/__chunks__/{chunk-C74JA23D.js → chunk-ZKNJEXUK.js} +2 -2
- package/__chunks__/{chunk-INV22AP7.js → chunk-ZLJKAQJC.js} +2 -2
- package/__chunks__/{chunk-B3BGTTGQ.js → chunk-ZLLO4S7S.js} +2 -2
- package/__chunks__/{chunk-H47XIPVZ.js → chunk-ZNTXKKKO.js} +2 -2
- package/__chunks__/{chunk-EKUV2K5K.js → chunk-ZS72PCLB.js} +2 -2
- package/__chunks__/chunk-ZTTE3F5O.js +2 -0
- package/__chunks__/{chunk-IBLFHVWI.js → chunk-ZUP7EEJG.js} +2 -2
- package/__chunks__/{chunk-ASGKLYIR.js → chunk-ZWAD6DXX.js} +2 -2
- package/__chunks__/{chunk-24CUGG55.js → chunk-ZWQBM3X3.js} +2 -2
- package/__chunks__/chunk-ZYEB2QZV.js +2 -0
- package/__chunks__/{chunk-NVNHGKKE.js → chunk-ZYRGHDFE.js} +2 -2
- package/__commonjs/UI/SignTransactionsModals/SignTransactionsModals.js +5 -5
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignWithDeviceModal.js +4 -4
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/ConfirmAmount.js +3 -3
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountNftSft/ConfirmAmountNftSft.js +3 -3
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountNftSft/index.js +3 -3
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/index.js +3 -3
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/index.js +4 -4
- package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/SignWithExtraModal.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/SignWithLedgerModal.js +21 -21
- package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/index.js +21 -21
- package/__commonjs/UI/SignTransactionsModals/components/ConfirmationScreen.js +2 -2
- package/__commonjs/UI/SignTransactionsModals/components/DeviceConfirmationScreen.js +2 -2
- package/__commonjs/UI/SignTransactionsModals/components/index.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/index.js +5 -5
- package/__commonjs/UI/TransactionInfo/components/NonceMessage/NonceMessage.js +3 -3
- package/__commonjs/UI/TransactionInfo/components/NonceMessage/index.js +3 -3
- package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultSender/ResultSender.js +10 -10
- package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultSender/index.js +10 -10
- package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/ActionText/index.js +4 -4
- package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/index.js +4 -4
- package/__commonjs/UI/TransactionInfo/components/TransactionLogs/TransactionLogs.js +20 -20
- package/__commonjs/UI/TransactionInfo/components/TransactionLogs/index.js +20 -20
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/TransactionInfoGasUsed.js +3 -3
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/index.js +3 -3
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/TransactionInfoScResults.js +22 -22
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/index.js +22 -22
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/index.js +4 -4
- package/__commonjs/UI/TransactionsTable/components/AccountName.js +4 -4
- package/__commonjs/UI/TransactionsTable/components/TransactionReceiver.js +2 -2
- package/__commonjs/UI/TransactionsTable/components/TransactionSender.js +2 -2
- package/__commonjs/UI/TransactionsToastList/components/TransactionToast/components/DefaultToastDeleteButton.js +1 -1
- package/__commonjs/UI/TransactionsToastList/components/TransactionToast/utils/getToastDataStateByStatus.js +1 -1
- package/__commonjs/UI/index.js +20 -20
- package/__commonjs/UI/ledger/LedgerLoginButton/LedgerLoginButton.js +20 -20
- package/__commonjs/UI/ledger/LedgerLoginContainer/AddressTable/AddressTable.js +4 -4
- package/__commonjs/UI/ledger/LedgerLoginContainer/AddressTable/index.js +4 -4
- package/__commonjs/UI/ledger/LedgerLoginContainer/LedgerLoginContainer.js +20 -20
- package/__commonjs/UI/ledger/LedgerLoginContainer/index.js +20 -20
- package/__commonjs/UI/walletConnect/WalletConnectLoginButton/WalletConnectLoginButton.js +2 -2
- package/__commonjs/UI/walletConnect/WalletConnectLoginButton/index.js +2 -2
- package/__commonjs/UI/walletConnect/index.js +2 -2
- package/__commonjs/components/LogoutListener/helpers/useLogoutFromMultipleTabs.js +2 -2
- package/__commonjs/components/LogoutListener/helpers/useNativeAuthLogout.js +2 -2
- package/__commonjs/components/ProviderInitializer/hooks/index.js +1 -1
- package/__commonjs/components/ProviderInitializer/hooks/useSetLedgerProvider.js +1 -1
- package/__commonjs/components/TransactionSender/utils/handleSendTransactionsErrors.js +1 -1
- package/__commonjs/hooks/economics/index.js +1 -1
- package/__commonjs/hooks/economics/useGetEgldPrice.js +1 -1
- package/__commonjs/hooks/index.js +3 -3
- package/__commonjs/hooks/transactions/batch/useGetBatches.js +1 -1
- package/__commonjs/hooks/transactions/helpers/checkNeedsGuardianSigning.js +1 -1
- package/__commonjs/hooks/transactions/helpers/getAreAllTransactionsSignedByGuardian.js +1 -1
- package/__commonjs/hooks/transactions/helpers/index.js +1 -1
- package/__commonjs/hooks/transactions/index.js +1 -1
- package/__commonjs/hooks/transactions/useCheckTransactionStatus/manageFailedTransactions.js +1 -1
- package/__commonjs/hooks/transactions/useCheckTransactionStatus/manageTimedOutTransactions.js +1 -1
- package/__commonjs/hooks/transactions/useSignMultipleTransactions.js +1 -1
- package/__commonjs/hooks/transactions/useSignTransactions.js +1 -1
- package/__commonjs/hooks/transactions/useSignTransactionsWithDevice.d.ts +1 -1
- package/__commonjs/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
- package/__commonjs/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
- package/__commonjs/hooks/transactions/useTransactionsTracker.js +2 -2
- package/__commonjs/reduxStore/slices/toastsSlice.js +1 -1
- package/__commonjs/services/transactions/getBatchTransactionsStatus.js +1 -1
- package/__commonjs/services/transactions/utils.js +1 -1
- package/__commonjs/types/index.js +1 -1
- package/__commonjs/types/transactions.types.d.ts +1 -1
- package/__commonjs/utils/account/getShardOfAddress.js +1 -1
- package/__commonjs/utils/index.js +1 -1
- package/__commonjs/utils/operations/ledger/getLedgerVersionOptions.js +1 -1
- package/__commonjs/utils/operations/ledger/index.js +1 -1
- package/__commonjs/utils/transactions/builtCallbackUrl.js +1 -1
- package/__commonjs/utils/transactions/index.js +1 -1
- package/__commonjs/wrappers/DappProvider/DappProvider.js +3 -3
- package/__mocks__/accountConfig.js +1 -1
- package/__mocks__/index.js +1 -1
- package/__mocks__/server.js +1 -1
- package/__mocks__/utils/index.js +1 -1
- package/__mocks__/utils/renderWithProvider.js +1 -1
- package/apiCalls/accounts/getAccountFromApi.js +1 -1
- package/apiCalls/accounts/index.js +1 -1
- package/apiCalls/configuration/getApiAddressForChainId.js +1 -1
- package/apiCalls/configuration/getEnvironmentForChainId.js +1 -1
- package/apiCalls/configuration/getNetworkConfig.js +1 -1
- package/apiCalls/configuration/getServerConfigurationForEnvironment.js +1 -1
- package/apiCalls/configuration/index.js +1 -1
- package/apiCalls/economics/getEconomicsInfo.js +1 -1
- package/apiCalls/economics/index.js +1 -1
- package/apiCalls/getScamAddressData.js +1 -1
- package/apiCalls/index.js +1 -1
- package/apiCalls/transactions/getTransactionsByHashes.js +1 -1
- package/apiCalls/transactions/index.js +1 -1
- package/apiCalls/transactions/sendSignedBatchTransactions.js +1 -1
- package/apiCalls/transactions/sendSignedTransactions.js +1 -1
- package/apiCalls/utils/getCleanApiAddress.js +1 -1
- package/apiCalls/utils/index.js +1 -1
- package/components/LogoutListener/LogoutListener.js +1 -1
- package/components/LogoutListener/helpers/index.js +1 -1
- package/components/LogoutListener/helpers/useLogoutFromMultipleTabs.js +1 -1
- package/components/LogoutListener/helpers/useNativeAuthLogout.js +1 -1
- package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/index.js +1 -1
- package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/useNativeAuthLogoutWarning.js +1 -1
- package/components/LogoutListener/index.js +1 -1
- package/components/ProviderInitializer/ProviderInitializer.js +1 -1
- package/components/ProviderInitializer/helpers/index.js +1 -1
- package/components/ProviderInitializer/helpers/processMultisigAccount.js +1 -1
- package/components/ProviderInitializer/hooks/index.js +1 -1
- package/components/ProviderInitializer/hooks/useSetLedgerProvider.js +1 -1
- package/components/ProviderInitializer/index.js +1 -1
- package/components/TransactionSender/TransactionSender.js +1 -1
- package/components/TransactionSender/index.js +1 -1
- package/components/TransactionSender/utils/handleSendBatchTransactionsErrors.js +1 -1
- package/components/TransactionSender/utils/handleSendTransactionsErrors.js +1 -1
- package/components/TransactionSender/utils/invokeSendTransactions.js +1 -1
- package/components/TransactionsTracker/TransactionTracker.js +1 -1
- package/components/TransactionsTracker/index.js +1 -1
- package/constants/index.js +1 -1
- package/constants/network.js +1 -1
- package/hooks/account/index.js +1 -1
- package/hooks/account/useGetAccount.js +1 -1
- package/hooks/account/useGetAccountFromApi.js +1 -1
- package/hooks/account/useGetAccountInfo.js +1 -1
- package/hooks/account/useGetAccountProvider.js +1 -1
- package/hooks/account/useGetIsLoggedIn.js +1 -1
- package/hooks/account/useGetIsWalletConnectV2Initialized.js +1 -1
- package/hooks/account/useGetLoginInfo.js +1 -1
- package/hooks/account/useGetWebsocketEvent.js +1 -1
- package/hooks/economics/index.js +1 -1
- package/hooks/economics/useGetEgldPrice.js +1 -1
- package/hooks/index.js +1 -1
- package/hooks/login/index.js +1 -1
- package/hooks/login/useCrossWindowLogin.js +1 -1
- package/hooks/login/useExtensionLogin.js +1 -1
- package/hooks/login/useGetModalLoginMethods.js +1 -1
- package/hooks/login/useLedgerLogin.js +1 -1
- package/hooks/login/useLoginService.js +1 -1
- package/hooks/login/useOperaLogin.js +1 -1
- package/hooks/login/useWalletConnectV2Login.js +1 -1
- package/hooks/login/useWebViewLogin.js +1 -1
- package/hooks/login/useWebWalletLogin.js +1 -1
- package/hooks/login/useXaliasLogin.js +1 -1
- package/hooks/signMessage/index.js +1 -1
- package/hooks/signMessage/useGetLastSignedMessageSession.js +1 -1
- package/hooks/signMessage/useGetSignMessageSession.js +1 -1
- package/hooks/signMessage/useGetSignedMessageStatus.js +1 -1
- package/hooks/signMessage/useSignMessage.js +1 -1
- package/hooks/toasts/index.js +1 -1
- package/hooks/toasts/useGetToasts.js +1 -1
- package/hooks/toasts/useTransactionsToasts.js +1 -1
- package/hooks/transactions/batch/tracker/useBatchTransactionsTracker.js +1 -1
- package/hooks/transactions/batch/tracker/useCheckBatch.js +1 -1
- package/hooks/transactions/batch/tracker/useCheckBatchesOnWsFailureFallback.js +1 -1
- package/hooks/transactions/batch/tracker/useCheckHangingBatchesFallback.js +1 -1
- package/hooks/transactions/batch/tracker/useUpdateBatch.js +1 -1
- package/hooks/transactions/batch/tracker/useVerifyBatchStatus.js +1 -1
- package/hooks/transactions/batch/useGetBatchStatus.js +1 -1
- package/hooks/transactions/batch/useGetBatches.js +1 -1
- package/hooks/transactions/batch/useResolveBatchStatusResponse.js +1 -1
- package/hooks/transactions/batch/useSendBatchTransactions.js +1 -1
- package/hooks/transactions/helpers/buildBatchId.js +1 -1
- package/hooks/transactions/helpers/checkNeedsGuardianSigning.js +1 -1
- package/hooks/transactions/helpers/extractSessionId.js +1 -1
- package/hooks/transactions/helpers/getAreAllTransactionsSignedByGuardian.js +1 -1
- package/hooks/transactions/helpers/getShouldMoveTransactionsToSignedState.js +1 -1
- package/hooks/transactions/helpers/index.js +1 -1
- package/hooks/transactions/helpers/useClearTransactionsToSignWithWarning.js +1 -1
- package/hooks/transactions/helpers/useGetLedgerProvider.js +1 -1
- package/hooks/transactions/helpers/useSetTransactionNonces.js +1 -1
- package/hooks/transactions/index.js +1 -1
- package/hooks/transactions/useCancelWalletConnectAction.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/checkBatch.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/index.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/manageFailedTransactions.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/manageTimedOutTransactions.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/useCheckTransactionStatus.js +1 -1
- package/hooks/transactions/useGetActiveTransactionsStatus.js +1 -1
- package/hooks/transactions/useGetFailedTransactions.js +1 -1
- package/hooks/transactions/useGetLastPendingTransactionHash.js +1 -1
- package/hooks/transactions/useGetPendingTransactions.js +1 -1
- package/hooks/transactions/useGetSignTransactionsError.js +1 -1
- package/hooks/transactions/useGetSignedTransactions.js +1 -1
- package/hooks/transactions/useGetSuccessfulTransactions.js +1 -1
- package/hooks/transactions/useGetTokenDetails.js +1 -1
- package/hooks/transactions/useGetTransactionDisplayInfo.js +1 -1
- package/hooks/transactions/useParseMultiEsdtTransferData.js +1 -1
- package/hooks/transactions/useParseSignedTransactions.js +1 -1
- package/hooks/transactions/useSignMultipleTransactions.js +1 -1
- package/hooks/transactions/useSignTransactions.js +1 -1
- package/hooks/transactions/useSignTransactionsCommonData.js +1 -1
- package/hooks/transactions/useSignTransactionsWithDevice.d.ts +1 -1
- package/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
- package/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
- package/hooks/transactions/useTrackTransactionStatus.js +1 -1
- package/hooks/transactions/useTransactionsTracker.js +1 -1
- package/hooks/useGetNetworkConfig.js +1 -1
- package/hooks/useGetNotification.js +1 -1
- package/hooks/websocketListener/index.js +1 -1
- package/hooks/websocketListener/useInitializeWebsocketConnection.js +1 -1
- package/hooks/websocketListener/useRegisterWebsocketListener.js +1 -1
- package/models/index.js +1 -1
- package/models/newTransaction.js +1 -1
- package/package.json +1 -1
- package/providers/accountProvider.js +1 -1
- package/providers/experimentalWebViewProvider/ExperimentalWebviewProvider.js +1 -1
- package/providers/experimentalWebViewProvider/index.js +1 -1
- package/providers/index.js +1 -1
- package/providers/utils.js +1 -1
- package/providers/webviewProvider/index.js +1 -1
- package/providers/webviewProvider/requestMethods.js +1 -1
- package/providers/webviewProvider/webviewProvider.js +1 -1
- package/reduxStore/DappProviderContext.js +1 -1
- package/reduxStore/commonActions.js +1 -1
- package/reduxStore/middlewares/loginSessionMiddleware.js +1 -1
- package/reduxStore/persistConfig.js +1 -1
- package/reduxStore/persistedRootReducer.js +1 -1
- package/reduxStore/reducers.js +1 -1
- package/reduxStore/rootReducer.js +1 -1
- package/reduxStore/selectors/accountInfoSelectors.js +1 -1
- package/reduxStore/selectors/index.js +1 -1
- package/reduxStore/selectors/loginInfoSelectors.js +1 -1
- package/reduxStore/selectors/transactionsInfoSelectors.js +1 -1
- package/reduxStore/selectors/transactionsSelectors.js +1 -1
- package/reduxStore/slices/accountInfoSlice.js +1 -1
- package/reduxStore/slices/batchTransactionsSlice.js +1 -1
- package/reduxStore/slices/dappConfigSlice.js +1 -1
- package/reduxStore/slices/index.js +1 -1
- package/reduxStore/slices/loginInfoSlice.js +1 -1
- package/reduxStore/slices/modalsSlice.js +1 -1
- package/reduxStore/slices/networkConfigSlice.js +1 -1
- package/reduxStore/slices/signedMessageInfoSlice.js +1 -1
- package/reduxStore/slices/toastsSlice.js +1 -1
- package/reduxStore/slices/transactionsInfoSlice.js +1 -1
- package/reduxStore/slices/transactionsSlice.js +1 -1
- package/reduxStore/store.js +1 -1
- package/services/index.js +1 -1
- package/services/nativeAuth/helpers/getAuthorizationInfo.js +1 -1
- package/services/nativeAuth/helpers/getIsNativeAuthSingingForbidden.js +1 -1
- package/services/nativeAuth/helpers/index.js +1 -1
- package/services/nativeAuth/helpers/loginWithNativeAuthToken.js +1 -1
- package/services/transactions/clearTransactions.js +1 -1
- package/services/transactions/getBatchTransactionsStatus.js +1 -1
- package/services/transactions/getTransactionsDetails.js +1 -1
- package/services/transactions/index.js +1 -1
- package/services/transactions/isCrossShardTransaction.js +1 -1
- package/services/transactions/sendBatchTransactions.js +1 -1
- package/services/transactions/sendBatchTransactions.test.js +1 -1
- package/services/transactions/sendTransactions.js +1 -1
- package/services/transactions/signTransactions.js +1 -1
- package/services/transactions/transformAndSignTransactions.js +1 -1
- package/services/transactions/updateSignedTransactions.js +1 -1
- package/services/transactions/utils/transformTransactionsToSign.js +1 -1
- package/services/transactions/utils.js +1 -1
- package/types/index.js +1 -1
- package/types/transactions.types.d.ts +1 -1
- package/types/transactions.types.js +1 -1
- package/utils/account/getAccount.js +1 -1
- package/utils/account/getAccountBalance.js +1 -1
- package/utils/account/getAccountProviderType.js +1 -1
- package/utils/account/getAccountShard.js +1 -1
- package/utils/account/getAddress.js +1 -1
- package/utils/account/getIsProviderEqualTo.js +1 -1
- package/utils/account/getLatestNonce.js +1 -1
- package/utils/account/getShardOfAddress.js +1 -1
- package/utils/account/index.js +1 -1
- package/utils/account/loginWithExternalProvider.js +1 -1
- package/utils/account/refreshAccount.js +1 -1
- package/utils/account/setNonce.js +1 -1
- package/utils/account/signMessage.js +1 -1
- package/utils/getIsLoggedIn.js +1 -1
- package/utils/index.js +1 -1
- package/utils/logout.js +1 -1
- package/utils/network/getChainID.js +1 -1
- package/utils/network/getEgldLabel.js +1 -1
- package/utils/network/getNetworkConfig.js +1 -1
- package/utils/network/index.js +1 -1
- package/utils/operations/calculateFeeInFiat.js +1 -1
- package/utils/operations/calculateFeeLimit.js +1 -1
- package/utils/operations/denominate.js +1 -1
- package/utils/operations/formatAmount.js +1 -1
- package/utils/operations/index.js +1 -1
- package/utils/operations/ledger/getLedgerVersionOptions.js +1 -1
- package/utils/operations/ledger/index.js +1 -1
- package/utils/operations/nominate.js +1 -1
- package/utils/operations/parseAmount.js +1 -1
- package/utils/smartContracts.js +1 -1
- package/utils/toasts/customToastsActions.js +1 -1
- package/utils/toasts/index.js +1 -1
- package/utils/transactions/batch/getTransactionsStatus.js +1 -1
- package/utils/transactions/batch/updateBatchTransactionsStatuses.js +1 -1
- package/utils/transactions/builtCallbackUrl.js +1 -1
- package/utils/transactions/getAllTransactionsLink.js +1 -1
- package/utils/transactions/getAreTransactionsOnSameShard.js +1 -1
- package/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/getTransactionValue.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getEgldValueData.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getTitleText.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromActions.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromDataField.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromOperations.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/index.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/index.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/index.js +1 -1
- package/utils/transactions/getInterpretedTransaction/index.js +1 -1
- package/utils/transactions/getTransactionLink.js +1 -1
- package/utils/transactions/index.js +1 -1
- package/utils/transactions/isGuardianTx.js +1 -1
- package/utils/transactions/parseMultiEsdtTransferData.js +1 -1
- package/utils/transactions/parseTransactionAfterSigning.js +1 -1
- package/utils/transactions/removeTransactionParamsFromUrl.js +1 -1
- package/utils/transactions/transactionInfoHelpers/decodeForDisplay/decodeForDisplay.js +1 -1
- package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getDisplayValueAndValidationWarnings.js +1 -1
- package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getSmartDecodedParts.js +1 -1
- package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/index.js +1 -1
- package/utils/transactions/transactionInfoHelpers/decodeForDisplay/index.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getScResultsInitialDecodeMethod.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getShardText.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getTransactionActionNftText.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getTransactionActionTokenText.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getTransactionLinkWithLabel.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getTransactionMessages.js +1 -1
- package/utils/transactions/transactionInfoHelpers/index.js +1 -1
- package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/index.js +1 -1
- package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/mexUnwrapper.js +1 -1
- package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/index.js +1 -1
- package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/transactionActionUnwrapper.js +1 -1
- package/utils/transactions/transactionInfoHelpers/useDataDecode.js +1 -1
- package/utils/transactions/transactionInfoHelpers/useDataDecodeMethod.js +1 -1
- package/utils/validation/index.js +1 -1
- package/utils/validation/maxDecimals.js +1 -1
- package/utils/validation/stringIsFloat.js +1 -1
- package/utils/waitForChainID.js +1 -1
- package/utils/walletconnect/__mocks__/sdkWalletconnectProvider.js +1 -1
- package/web/hooks/index.js +1 -1
- package/web/hooks/useIdleTimer.js +1 -1
- package/web/index.js +1 -1
- package/wrappers/AppInitializer.js +1 -1
- package/wrappers/AuthenticatedRoutesWrapper/AuthenticatedRoutesWrapper.js +1 -1
- package/wrappers/AuthenticatedRoutesWrapper/index.js +1 -1
- package/wrappers/AxiosInterceptorContext/AxiosInterceptorContext.js +1 -1
- package/wrappers/AxiosInterceptorContext/components/AxiosInterceptor.js +1 -1
- package/wrappers/AxiosInterceptorContext/components/AxiosInterceptorContextProvider.js +1 -1
- package/wrappers/AxiosInterceptorContext/components/LoginInfoListener.js +1 -1
- package/wrappers/AxiosInterceptorContext/components/index.js +1 -1
- package/wrappers/AxiosInterceptorContext/index.js +1 -1
- package/wrappers/DappProvider/CustomComponents.js +1 -1
- package/wrappers/DappProvider/DappProvider.js +1 -1
- package/wrappers/DappProvider/index.js +1 -1
- package/wrappers/index.js +1 -1
- package/__chunks__/chunk-2EICWYAO.js +0 -2
- package/__chunks__/chunk-2PO5SHSC.js +0 -2
- package/__chunks__/chunk-35SGKCOU.js +0 -2
- package/__chunks__/chunk-3STJCHFZ.js +0 -2
- package/__chunks__/chunk-3YL7HPLO.js +0 -2
- package/__chunks__/chunk-4BNKFRT5.js +0 -2
- package/__chunks__/chunk-4ERO36BQ.js +0 -2
- package/__chunks__/chunk-55BMTC73.js +0 -2
- package/__chunks__/chunk-5GKGLG3C.js +0 -2
- package/__chunks__/chunk-5IRTJ2IS.js +0 -2
- package/__chunks__/chunk-5ISZDK75.js +0 -2
- package/__chunks__/chunk-5KIGTVMH.js +0 -2
- package/__chunks__/chunk-5V357D2K.js +0 -2
- package/__chunks__/chunk-6HDFHW3U.js +0 -2
- package/__chunks__/chunk-77CAR527.js +0 -2
- package/__chunks__/chunk-7CIEG4KL.js +0 -2
- package/__chunks__/chunk-A4KPR7JI.js +0 -2
- package/__chunks__/chunk-B7IDIKYC.js +0 -2
- package/__chunks__/chunk-BURMO7Y7.js +0 -2
- package/__chunks__/chunk-CNHB7DKN.js +0 -2
- package/__chunks__/chunk-CSMH53OE.js +0 -2
- package/__chunks__/chunk-CUKBB747.js +0 -2
- package/__chunks__/chunk-DE7DTRFZ.js +0 -2
- package/__chunks__/chunk-DN6SQKAR.js +0 -2
- package/__chunks__/chunk-DZFSWLDH.js +0 -2
- package/__chunks__/chunk-EOZZODLX.js +0 -2
- package/__chunks__/chunk-F3QMVJM2.js +0 -2
- package/__chunks__/chunk-FAQPQFJT.js +0 -2
- package/__chunks__/chunk-FN5FS6KR.js +0 -2
- package/__chunks__/chunk-G3NHQGLA.js +0 -2
- package/__chunks__/chunk-GOWBQDOK.js +0 -2
- package/__chunks__/chunk-H5MXJ4SU.js +0 -2
- package/__chunks__/chunk-HDRHCVHT.js +0 -2
- package/__chunks__/chunk-IBH7CXIG.js +0 -2
- package/__chunks__/chunk-IE2CKCF5.js +0 -2
- package/__chunks__/chunk-IYF2OKIK.js +0 -2
- package/__chunks__/chunk-JCSZQ6SA.js +0 -2
- package/__chunks__/chunk-JMUMAHF6.js +0 -2
- package/__chunks__/chunk-K363HEWE.js +0 -2
- package/__chunks__/chunk-K5FX4M4S.js +0 -2
- package/__chunks__/chunk-KM7D7NWH.js +0 -2
- package/__chunks__/chunk-MHB6ADVS.js +0 -2
- package/__chunks__/chunk-MPOTFCAH.js +0 -2
- package/__chunks__/chunk-MPSUTQ7H.js +0 -2
- package/__chunks__/chunk-NOCIL3TW.js +0 -2
- package/__chunks__/chunk-NYI44NMA.js +0 -2
- package/__chunks__/chunk-OCVLDPJK.js +0 -2
- package/__chunks__/chunk-OKRWYL74.js +0 -2
- package/__chunks__/chunk-OP55X3A3.js +0 -2
- package/__chunks__/chunk-PKZOVMST.js +0 -2
- package/__chunks__/chunk-Q43FJCOB.js +0 -2
- package/__chunks__/chunk-QTU5BZ7I.js +0 -2
- package/__chunks__/chunk-QVZZKOJL.js +0 -2
- package/__chunks__/chunk-QWJKKWKY.js +0 -2
- package/__chunks__/chunk-RC3L4FCU.js +0 -2
- package/__chunks__/chunk-RRE2WE74.js +0 -2
- package/__chunks__/chunk-UCGMOEJJ.js +0 -2
- package/__chunks__/chunk-UGDCNGU4.js +0 -2
- package/__chunks__/chunk-UJ3S465K.js +0 -2
- package/__chunks__/chunk-UJYUCC3G.js +0 -2
- package/__chunks__/chunk-UUYNGUKK.js +0 -2
- package/__chunks__/chunk-V2KD2K5B.js +0 -2
- package/__chunks__/chunk-VGR7NDCB.js +0 -2
- package/__chunks__/chunk-VPLXJILL.js +0 -2
- package/__chunks__/chunk-WE7GDLUF.js +0 -2
- package/__chunks__/chunk-WLQGSC3V.js +0 -2
- package/__chunks__/chunk-XTOXUHOV.js +0 -2
- package/__chunks__/chunk-XUH2HPCH.js +0 -2
- package/__chunks__/chunk-XXYLPTR7.js +0 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var Xe=Object.create;var P=Object.defineProperty,Ye=Object.defineProperties,Ke=Object.getOwnPropertyDescriptor,Je=Object.getOwnPropertyDescriptors,Ze=Object.getOwnPropertyNames,se=Object.getOwnPropertySymbols,$e=Object.getPrototypeOf,ce=Object.prototype.hasOwnProperty,Qe=Object.prototype.propertyIsEnumerable;var le=(t,e,r)=>e in t?P(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,I=(t,e)=>{for(var r in e||(e={}))ce.call(e,r)&&le(t,r,e[r]);if(se)for(var r of se(e))Qe.call(e,r)&&le(t,r,e[r]);return t},j=(t,e)=>Ye(t,Je(e));var er=(t,e)=>()=>(t&&(e=t(t=0)),e);var G=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),rr=(t,e)=>{for(var r in e)P(t,r,{get:e[r],enumerable:!0})},pe=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Ze(e))!ce.call(t,i)&&i!==r&&P(t,i,{get:()=>e[i],enumerable:!(n=Ke(e,i))||n.enumerable});return t};var ue=(t,e,r)=>(r=t!=null?Xe($e(t)):{},pe(e||!t||!t.__esModule?P(r,"default",{value:t,enumerable:!0}):r,t)),tr=t=>pe(P({},"__esModule",{value:!0}),t);var me=G(V=>{"use strict";l();V.byteLength=ir;V.toByteArray=ar;V.fromByteArray=cr;var k=[],b=[],nr=typeof Uint8Array!="undefined"?Uint8Array:Array,X="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(C=0,de=X.length;C<de;++C)k[C]=X[C],b[X.charCodeAt(C)]=C;var C,de;b["-".charCodeAt(0)]=62;b["_".charCodeAt(0)]=63;function ge(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");r===-1&&(r=e);var n=r===e?0:4-r%4;return[r,n]}function ir(t){var e=ge(t),r=e[0],n=e[1];return(r+n)*3/4-n}function or(t,e,r){return(e+r)*3/4-r}function ar(t){var e,r=ge(t),n=r[0],i=r[1],o=new nr(or(t,n,i)),a=0,c=i>0?n-4:n,p;for(p=0;p<c;p+=4)e=b[t.charCodeAt(p)]<<18|b[t.charCodeAt(p+1)]<<12|b[t.charCodeAt(p+2)]<<6|b[t.charCodeAt(p+3)],o[a++]=e>>16&255,o[a++]=e>>8&255,o[a++]=e&255;return i===2&&(e=b[t.charCodeAt(p)]<<2|b[t.charCodeAt(p+1)]>>4,o[a++]=e&255),i===1&&(e=b[t.charCodeAt(p)]<<10|b[t.charCodeAt(p+1)]<<4|b[t.charCodeAt(p+2)]>>2,o[a++]=e>>8&255,o[a++]=e&255),o}function sr(t){return k[t>>18&63]+k[t>>12&63]+k[t>>6&63]+k[t&63]}function lr(t,e,r){for(var n,i=[],o=e;o<r;o+=3)n=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(t[o+2]&255),i.push(sr(n));return i.join("")}function cr(t){for(var e,r=t.length,n=r%3,i=[],o=16383,a=0,c=r-n;a<c;a+=o)i.push(lr(t,a,a+o>c?c:a+o));return n===1?(e=t[r-1],i.push(k[e>>2]+k[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],i.push(k[e>>10]+k[e>>4&63]+k[e<<2&63]+"=")),i.join("")}});var fe=G(Y=>{l();Y.read=function(t,e,r,n,i){var o,a,c=i*8-n-1,p=(1<<c)-1,d=p>>1,g=-7,u=r?i-1:0,v=r?-1:1,T=t[e+u];for(u+=v,o=T&(1<<-g)-1,T>>=-g,g+=c;g>0;o=o*256+t[e+u],u+=v,g-=8);for(a=o&(1<<-g)-1,o>>=-g,g+=n;g>0;a=a*256+t[e+u],u+=v,g-=8);if(o===0)o=1-d;else{if(o===p)return a?NaN:(T?-1:1)*(1/0);a=a+Math.pow(2,n),o=o-d}return(T?-1:1)*a*Math.pow(2,o-n)};Y.write=function(t,e,r,n,i,o){var a,c,p,d=o*8-i-1,g=(1<<d)-1,u=g>>1,v=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,T=n?0:o-1,U=n?1:-1,je=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(c=isNaN(e)?1:0,a=g):(a=Math.floor(Math.log(e)/Math.LN2),e*(p=Math.pow(2,-a))<1&&(a--,p*=2),a+u>=1?e+=v/p:e+=v*Math.pow(2,1-u),e*p>=2&&(a++,p/=2),a+u>=g?(c=0,a=g):a+u>=1?(c=(e*p-1)*Math.pow(2,i),a=a+u):(c=e*Math.pow(2,u-1)*Math.pow(2,i),a=0));i>=8;t[r+T]=c&255,T+=U,c/=256,i-=8);for(a=a<<i|c,d+=i;d>0;t[r+T]=a&255,T+=U,a/=256,d-=8);t[r+T-U]|=je*128}});var Ie=G(O=>{"use strict";l();var K=me(),D=fe(),he=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;O.Buffer=s;O.SlowBuffer=fr;O.INSPECT_MAX_BYTES=50;var W=2147483647;O.kMaxLength=W;s.TYPED_ARRAY_SUPPORT=pr();!s.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function pr(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),t.foo()===42}catch(r){return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.buffer}});Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.byteOffset}});function L(t){if(t>W)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,s.prototype),e}function s(t,e,r){if(typeof t=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Q(t)}return we(t,e,r)}s.poolSize=8192;function we(t,e,r){if(typeof t=="string")return dr(t,e);if(ArrayBuffer.isView(t))return gr(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(A(t,ArrayBuffer)||t&&A(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(A(t,SharedArrayBuffer)||t&&A(t.buffer,SharedArrayBuffer)))return Z(t,e,r);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return s.from(n,e,r);var i=mr(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.from(t[Symbol.toPrimitive]("string"),e,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}s.from=function(t,e,r){return we(t,e,r)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function Te(t){if(typeof t!="number")throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function ur(t,e,r){return Te(t),t<=0?L(t):e!==void 0?typeof r=="string"?L(t).fill(e,r):L(t).fill(e):L(t)}s.alloc=function(t,e,r){return ur(t,e,r)};function Q(t){return Te(t),L(t<0?0:ee(t)|0)}s.allocUnsafe=function(t){return Q(t)};s.allocUnsafeSlow=function(t){return Q(t)};function dr(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!s.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=be(t,e)|0,n=L(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}function J(t){for(var e=t.length<0?0:ee(t.length)|0,r=L(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function gr(t){if(A(t,Uint8Array)){var e=new Uint8Array(t);return Z(e.buffer,e.byteOffset,e.byteLength)}return J(t)}function Z(t,e,r){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return e===void 0&&r===void 0?n=new Uint8Array(t):r===void 0?n=new Uint8Array(t,e):n=new Uint8Array(t,e,r),Object.setPrototypeOf(n,s.prototype),n}function mr(t){if(s.isBuffer(t)){var e=ee(t.length)|0,r=L(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||re(t.length)?L(0):J(t);if(t.type==="Buffer"&&Array.isArray(t.data))return J(t.data)}function ee(t){if(t>=W)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+W.toString(16)+" bytes");return t|0}function fr(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==s.prototype};s.compare=function(e,r){if(A(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),A(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(e)||!s.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===r)return 0;for(var n=e.length,i=r.length,o=0,a=Math.min(n,i);o<a;++o)if(e[o]!==r[o]){n=e[o],i=r[o];break}return n<i?-1:i<n?1:0};s.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};s.concat=function(e,r){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return s.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<e.length;++n)r+=e[n].length;var i=s.allocUnsafe(r),o=0;for(n=0;n<e.length;++n){var a=e[n];if(A(a,Uint8Array))o+a.length>i.length?s.from(a).copy(i,o):Uint8Array.prototype.set.call(i,a,o);else if(s.isBuffer(a))a.copy(i,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=a.length}return i};function be(t,e){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||A(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var r=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&r===0)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return $(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Se(t).length;default:if(i)return n?-1:$(t).length;e=(""+e).toLowerCase(),i=!0}}s.byteLength=be;function hr(t,e,r){var n=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,e>>>=0,r<=e))return"";for(t||(t="utf8");;)switch(t){case"hex":return Rr(this,e,r);case"utf8":case"utf-8":return ke(this,e,r);case"ascii":return Ar(this,e,r);case"latin1":case"binary":return _r(this,e,r);case"base64":return vr(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Sr(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function F(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}s.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<e;r+=2)F(this,r,r+1);return this};s.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<e;r+=4)F(this,r,r+3),F(this,r+1,r+2);return this};s.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<e;r+=8)F(this,r,r+7),F(this,r+1,r+6),F(this,r+2,r+5),F(this,r+3,r+4);return this};s.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?ke(this,0,e):hr.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(e){if(!s.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:s.compare(this,e)===0};s.prototype.inspect=function(){var e="",r=O.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};he&&(s.prototype[he]=s.prototype.inspect);s.prototype.compare=function(e,r,n,i,o){if(A(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(r===void 0&&(r=0),n===void 0&&(n=e?e.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),r<0||n>e.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&r>=n)return 0;if(i>=o)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,i>>>=0,o>>>=0,this===e)return 0;for(var a=o-i,c=n-r,p=Math.min(a,c),d=this.slice(i,o),g=e.slice(r,n),u=0;u<p;++u)if(d[u]!==g[u]){a=d[u],c=g[u];break}return a<c?-1:c<a?1:0};function ve(t,e,r,n,i){if(t.length===0)return-1;if(typeof r=="string"?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,re(r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof e=="string"&&(e=s.from(e,n)),s.isBuffer(e))return e.length===0?-1:ye(t,e,r,n,i);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):ye(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function ye(t,e,r,n,i){var o=1,a=t.length,c=e.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||e.length<2)return-1;o=2,a/=2,c/=2,r/=2}function p(T,U){return o===1?T[U]:T.readUInt16BE(U*o)}var d;if(i){var g=-1;for(d=r;d<a;d++)if(p(t,d)===p(e,g===-1?0:d-g)){if(g===-1&&(g=d),d-g+1===c)return g*o}else g!==-1&&(d-=d-g),g=-1}else for(r+c>a&&(r=a-c),d=r;d>=0;d--){for(var u=!0,v=0;v<c;v++)if(p(t,d+v)!==p(e,v)){u=!1;break}if(u)return d}return-1}s.prototype.includes=function(e,r,n){return this.indexOf(e,r,n)!==-1};s.prototype.indexOf=function(e,r,n){return ve(this,e,r,n,!0)};s.prototype.lastIndexOf=function(e,r,n){return ve(this,e,r,n,!1)};function yr(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var o=e.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var c=parseInt(e.substr(a*2,2),16);if(re(c))return a;t[r+a]=c}return a}function xr(t,e,r,n){return H($(e,t.length-r),t,r,n)}function wr(t,e,r,n){return H(Er(e),t,r,n)}function Tr(t,e,r,n){return H(Se(e),t,r,n)}function br(t,e,r,n){return H(Nr(e,t.length-r),t,r,n)}s.prototype.write=function(e,r,n,i){if(r===void 0)i="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")i=r,n=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-r;if((n===void 0||n>o)&&(n=o),e.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var a=!1;;)switch(i){case"hex":return yr(this,e,r,n);case"utf8":case"utf-8":return xr(this,e,r,n);case"ascii":case"latin1":case"binary":return wr(this,e,r,n);case"base64":return Tr(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return br(this,e,r,n);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0}};s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function vr(t,e,r){return e===0&&r===t.length?K.fromByteArray(t):K.fromByteArray(t.slice(e,r))}function ke(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var o=t[i],a=null,c=o>239?4:o>223?3:o>191?2:1;if(i+c<=r){var p,d,g,u;switch(c){case 1:o<128&&(a=o);break;case 2:p=t[i+1],(p&192)===128&&(u=(o&31)<<6|p&63,u>127&&(a=u));break;case 3:p=t[i+1],d=t[i+2],(p&192)===128&&(d&192)===128&&(u=(o&15)<<12|(p&63)<<6|d&63,u>2047&&(u<55296||u>57343)&&(a=u));break;case 4:p=t[i+1],d=t[i+2],g=t[i+3],(p&192)===128&&(d&192)===128&&(g&192)===128&&(u=(o&15)<<18|(p&63)<<12|(d&63)<<6|g&63,u>65535&&u<1114112&&(a=u))}}a===null?(a=65533,c=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),i+=c}return kr(n)}var xe=4096;function kr(t){var e=t.length;if(e<=xe)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=xe));return r}function Ar(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]&127);return n}function _r(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}function Rr(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=e;o<r;++o)i+=Cr[t[o]];return i}function Sr(t,e,r){for(var n=t.slice(e,r),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}s.prototype.slice=function(e,r){var n=this.length;e=~~e,r=r===void 0?n:~~r,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<e&&(r=e);var i=this.subarray(e,r);return Object.setPrototypeOf(i,s.prototype),i};function x(t,e,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e+--r],o=1;r>0&&(o*=256);)i+=this[e+--r]*o;return i};s.prototype.readUint8=s.prototype.readUInt8=function(e,r){return e=e>>>0,r||x(e,1,this.length),this[e]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||x(e,2,this.length),this[e]|this[e+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||x(e,2,this.length),this[e]<<8|this[e+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||x(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};s.prototype.readIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*r)),i};s.prototype.readIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=r,o=1,a=this[e+--i];i>0&&(o*=256);)a+=this[e+--i]*o;return o*=128,a>=o&&(a-=Math.pow(2,8*r)),a};s.prototype.readInt8=function(e,r){return e=e>>>0,r||x(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};s.prototype.readInt16LE=function(e,r){e=e>>>0,r||x(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(e,r){e=e>>>0,r||x(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};s.prototype.readInt32BE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};s.prototype.readFloatLE=function(e,r){return e=e>>>0,r||x(e,4,this.length),D.read(this,e,!0,23,4)};s.prototype.readFloatBE=function(e,r){return e=e>>>0,r||x(e,4,this.length),D.read(this,e,!1,23,4)};s.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||x(e,8,this.length),D.read(this,e,!0,52,8)};s.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||x(e,8,this.length),D.read(this,e,!1,52,8)};function w(t,e,r,n,i,o){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;w(this,e,r,n,o,0)}var a=1,c=0;for(this[r]=e&255;++c<n&&(a*=256);)this[r+c]=e/a&255;return r+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;w(this,e,r,n,o,0)}var a=n-1,c=1;for(this[r+a]=e&255;--a>=0&&(c*=256);)this[r+a]=e/c&255;return r+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,1,255,0),this[r]=e&255,r+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,65535,0),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,65535,0),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,4294967295,0),this[r+3]=e>>>24,this[r+2]=e>>>16,this[r+1]=e>>>8,this[r]=e&255,r+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,4294967295,0),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};s.prototype.writeIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);w(this,e,r,n,o-1,-o)}var a=0,c=1,p=0;for(this[r]=e&255;++a<n&&(c*=256);)e<0&&p===0&&this[r+a-1]!==0&&(p=1),this[r+a]=(e/c>>0)-p&255;return r+n};s.prototype.writeIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);w(this,e,r,n,o-1,-o)}var a=n-1,c=1,p=0;for(this[r+a]=e&255;--a>=0&&(c*=256);)e<0&&p===0&&this[r+a+1]!==0&&(p=1),this[r+a]=(e/c>>0)-p&255;return r+n};s.prototype.writeInt8=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,1,127,-128),e<0&&(e=255+e+1),this[r]=e&255,r+1};s.prototype.writeInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,32767,-32768),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,32767,-32768),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,2147483647,-2147483648),this[r]=e&255,this[r+1]=e>>>8,this[r+2]=e>>>16,this[r+3]=e>>>24,r+4};s.prototype.writeInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};function Ae(t,e,r,n,i,o){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function _e(t,e,r,n,i){return e=+e,r=r>>>0,i||Ae(t,e,r,4,34028234663852886e22,-34028234663852886e22),D.write(t,e,r,n,23,4),r+4}s.prototype.writeFloatLE=function(e,r,n){return _e(this,e,r,!0,n)};s.prototype.writeFloatBE=function(e,r,n){return _e(this,e,r,!1,n)};function Re(t,e,r,n,i){return e=+e,r=r>>>0,i||Ae(t,e,r,8,17976931348623157e292,-17976931348623157e292),D.write(t,e,r,n,52,8),r+8}s.prototype.writeDoubleLE=function(e,r,n){return Re(this,e,r,!0,n)};s.prototype.writeDoubleBE=function(e,r,n){return Re(this,e,r,!1,n)};s.prototype.copy=function(e,r,n,i){if(!s.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),r>=e.length&&(r=e.length),r||(r=0),i>0&&i<n&&(i=n),i===n||e.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-r<i-n&&(i=e.length-r+n);var o=i-n;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,n,i):Uint8Array.prototype.set.call(e,this.subarray(n,i),r),o};s.prototype.fill=function(e,r,n,i){if(typeof e=="string"){if(typeof r=="string"?(i=r,r=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(e.length===1){var o=e.charCodeAt(0);(i==="utf8"&&o<128||i==="latin1")&&(e=o)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;r=r>>>0,n=n===void 0?this.length:n>>>0,e||(e=0);var a;if(typeof e=="number")for(a=r;a<n;++a)this[a]=e;else{var c=s.isBuffer(e)?e:s.from(e,i),p=c.length;if(p===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(a=0;a<n-r;++a)this[a+r]=c[a%p]}return this};var Ir=/[^+/0-9A-Za-z-_]/g;function Lr(t){if(t=t.split("=")[0],t=t.trim().replace(Ir,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function $(t,e){e=e||1/0;for(var r,n=t.length,i=null,o=[],a=0;a<n;++a){if(r=t.charCodeAt(a),r>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&o.push(239,191,189);continue}else if(a+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&o.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,r&63|128)}else if(r<65536){if((e-=3)<0)break;o.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return o}function Er(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function Nr(t,e){for(var r,n,i,o=[],a=0;a<t.length&&!((e-=2)<0);++a)r=t.charCodeAt(a),n=r>>8,i=r%256,o.push(i),o.push(n);return o}function Se(t){return K.toByteArray(Lr(t))}function H(t,e,r,n){for(var i=0;i<n&&!(i+r>=e.length||i>=t.length);++i)e[i+r]=t[i];return i}function A(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function re(t){return t!==t}var Cr=function(){for(var t="0123456789abcdef",e=new Array(256),r=0;r<16;++r)for(var n=r*16,i=0;i<16;++i)e[n+i]=t[r]+t[i];return e}()});var Fe=G((zr,Ce)=>{l();var y=Ce.exports={},_,R;function te(){throw new Error("setTimeout has not been defined")}function ne(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?_=setTimeout:_=te}catch(t){_=te}try{typeof clearTimeout=="function"?R=clearTimeout:R=ne}catch(t){R=ne}})();function Le(t){if(_===setTimeout)return setTimeout(t,0);if((_===te||!_)&&setTimeout)return _=setTimeout,setTimeout(t,0);try{return _(t,0)}catch(e){try{return _.call(null,t,0)}catch(r){return _.call(this,t,0)}}}function Fr(t){if(R===clearTimeout)return clearTimeout(t);if((R===ne||!R)&&clearTimeout)return R=clearTimeout,clearTimeout(t);try{return R(t)}catch(e){try{return R.call(null,t)}catch(r){return R.call(this,t)}}}var E=[],M=!1,B,q=-1;function Br(){!M||!B||(M=!1,B.length?E=B.concat(E):q=-1,E.length&&Ee())}function Ee(){if(!M){var t=Le(Br);M=!0;for(var e=E.length;e;){for(B=E,E=[];++q<e;)B&&B[q].run();q=-1,e=E.length}B=null,M=!1,Fr(t)}}y.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];E.push(new Ne(t,e)),E.length===1&&!M&&Le(Ee)};function Ne(t,e){this.fun=t,this.array=e}Ne.prototype.run=function(){this.fun.apply(null,this.array)};y.title="browser";y.browser=!0;y.env={};y.argv=[];y.version="";y.versions={};function N(){}y.on=N;y.addListener=N;y.once=N;y.off=N;y.removeListener=N;y.removeAllListeners=N;y.emit=N;y.prependListener=N;y.prependOnceListener=N;y.listeners=function(t){return[]};y.binding=function(t){throw new Error("process.binding is not supported")};y.cwd=function(){return"/"};y.chdir=function(t){throw new Error("process.chdir is not supported")};y.umask=function(){return 0}});var m,f,jr,l=er(()=>{m=ue(Ie()),f=ue(Fe()),jr=function(t){function e(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return e();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:e});var r=__magic__;return r}(Object)});var Gr={};rr(Gr,{addCustomToast:()=>Ur,addTransactionToast:()=>Or,default:()=>Pr,removeCustomToast:()=>Dr,removeTransactionToast:()=>Mr,toastsSlice:()=>ae});module.exports=tr(Gr);l();var qe=require("@reduxjs/toolkit"),ze=require("redux-persist");l();l();l();l();l();var z=require("@multiversx/sdk-web-wallet-cross-window-provider/out/types");var Be=(r=>(r.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",r.reloginRequest="RELOGIN_REQUEST",r))(Be||{}),Kr=I(I({},z.CrossWindowProviderRequestEnums),Be),Ue=(e=>(e.reloginResponse="RELOGIN_RESPONSE",e))(Ue||{}),Jr=I(I({},z.CrossWindowProviderResponseEnums),Ue);l();l();l();l();l();l();l();var De=()=>Date.now()/1e3;l();var oe=require("@reduxjs/toolkit");l();l();l();l();l();l();l();l();l();var ie={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",xAliasAddress:"https://devnet.xalias.com",apiAddress:"https://devnet-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",apiTimeout:"4000"},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",xAliasAddress:"https://testnet.xalias.com",apiAddress:"https://testnet-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",apiTimeout:"4000"},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",xAliasAddress:"https://xalias.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",apiTimeout:"4000"}},{chainId:Oe,egldLabel:bt}=ie["devnet"],{chainId:Me,egldLabel:vt}=ie["testnet"],{chainId:Pe,egldLabel:kt}=ie["mainnet"];var At={["devnet"]:Oe,["testnet"]:Me,["mainnet"]:Pe},_t={[Oe]:"devnet",[Me]:"testnet",[Pe]:"mainnet"};l();l();var S=require("@multiversx/sdk-web-wallet-provider");var Ge="logout",Ve="login";var We=(0,oe.createAction)(Ge),Vt=(0,oe.createAction)(Ve,t=>({payload:t}));var He={customToasts:[],transactionToasts:[]},ae=(0,qe.createSlice)({name:"toastsSlice",initialState:He,reducers:{addCustomToast:(t,e)=>{let r=e.payload.toastId||`custom-toast-${t.customToasts.length+1}`,n=t.customToasts.findIndex(i=>i.toastId===r);if(n!==-1){t.customToasts[n]=j(I(I({},t.customToasts[n]),e.payload),{type:"custom",toastId:r});return}t.customToasts.push(j(I({},e.payload),{type:"custom",toastId:r}))},removeCustomToast:(t,e)=>{t.customToasts=t.customToasts.filter(r=>r.toastId!==e.payload)},addTransactionToast:(t,e)=>{t.transactionToasts.push({type:"transaction",startTimestamp:De(),toastId:e.payload||`custom-toast-${t.transactionToasts.length+1}`})},removeTransactionToast:(t,e)=>{t.transactionToasts=t.transactionToasts.filter(r=>r.toastId!==e.payload)}},extraReducers:t=>{t.addCase(We,()=>He),t.addCase(ze.REHYDRATE,(e,r)=>{var i,o;let n=(o=(i=r.customToasts)==null?void 0:i.filter(a=>!("component"in a)))!=null?o:[];e.customToasts=n})}}),{addCustomToast:Ur,removeCustomToast:Dr,addTransactionToast:Or,removeTransactionToast:Mr}=ae.actions,Pr=ae.reducer;0&&(module.exports={addCustomToast,addTransactionToast,removeCustomToast,removeTransactionToast,toastsSlice});
|
|
1
|
+
"use strict";var Xe=Object.create;var M=Object.defineProperty,Ye=Object.defineProperties,Ke=Object.getOwnPropertyDescriptor,Je=Object.getOwnPropertyDescriptors,Ze=Object.getOwnPropertyNames,se=Object.getOwnPropertySymbols,$e=Object.getPrototypeOf,ce=Object.prototype.hasOwnProperty,Qe=Object.prototype.propertyIsEnumerable;var le=(t,e,r)=>e in t?M(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,I=(t,e)=>{for(var r in e||(e={}))ce.call(e,r)&&le(t,r,e[r]);if(se)for(var r of se(e))Qe.call(e,r)&&le(t,r,e[r]);return t},j=(t,e)=>Ye(t,Je(e));var er=(t,e)=>()=>(t&&(e=t(t=0)),e);var G=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),rr=(t,e)=>{for(var r in e)M(t,r,{get:e[r],enumerable:!0})},pe=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Ze(e))!ce.call(t,i)&&i!==r&&M(t,i,{get:()=>e[i],enumerable:!(n=Ke(e,i))||n.enumerable});return t};var ue=(t,e,r)=>(r=t!=null?Xe($e(t)):{},pe(e||!t||!t.__esModule?M(r,"default",{value:t,enumerable:!0}):r,t)),tr=t=>pe(M({},"__esModule",{value:!0}),t);var me=G(V=>{"use strict";l();V.byteLength=ir;V.toByteArray=ar;V.fromByteArray=cr;var k=[],b=[],nr=typeof Uint8Array!="undefined"?Uint8Array:Array,X="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(C=0,de=X.length;C<de;++C)k[C]=X[C],b[X.charCodeAt(C)]=C;var C,de;b["-".charCodeAt(0)]=62;b["_".charCodeAt(0)]=63;function ge(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");r===-1&&(r=e);var n=r===e?0:4-r%4;return[r,n]}function ir(t){var e=ge(t),r=e[0],n=e[1];return(r+n)*3/4-n}function or(t,e,r){return(e+r)*3/4-r}function ar(t){var e,r=ge(t),n=r[0],i=r[1],o=new nr(or(t,n,i)),a=0,c=i>0?n-4:n,p;for(p=0;p<c;p+=4)e=b[t.charCodeAt(p)]<<18|b[t.charCodeAt(p+1)]<<12|b[t.charCodeAt(p+2)]<<6|b[t.charCodeAt(p+3)],o[a++]=e>>16&255,o[a++]=e>>8&255,o[a++]=e&255;return i===2&&(e=b[t.charCodeAt(p)]<<2|b[t.charCodeAt(p+1)]>>4,o[a++]=e&255),i===1&&(e=b[t.charCodeAt(p)]<<10|b[t.charCodeAt(p+1)]<<4|b[t.charCodeAt(p+2)]>>2,o[a++]=e>>8&255,o[a++]=e&255),o}function sr(t){return k[t>>18&63]+k[t>>12&63]+k[t>>6&63]+k[t&63]}function lr(t,e,r){for(var n,i=[],o=e;o<r;o+=3)n=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(t[o+2]&255),i.push(sr(n));return i.join("")}function cr(t){for(var e,r=t.length,n=r%3,i=[],o=16383,a=0,c=r-n;a<c;a+=o)i.push(lr(t,a,a+o>c?c:a+o));return n===1?(e=t[r-1],i.push(k[e>>2]+k[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],i.push(k[e>>10]+k[e>>4&63]+k[e<<2&63]+"=")),i.join("")}});var fe=G(Y=>{l();Y.read=function(t,e,r,n,i){var o,a,c=i*8-n-1,p=(1<<c)-1,d=p>>1,g=-7,u=r?i-1:0,v=r?-1:1,T=t[e+u];for(u+=v,o=T&(1<<-g)-1,T>>=-g,g+=c;g>0;o=o*256+t[e+u],u+=v,g-=8);for(a=o&(1<<-g)-1,o>>=-g,g+=n;g>0;a=a*256+t[e+u],u+=v,g-=8);if(o===0)o=1-d;else{if(o===p)return a?NaN:(T?-1:1)*(1/0);a=a+Math.pow(2,n),o=o-d}return(T?-1:1)*a*Math.pow(2,o-n)};Y.write=function(t,e,r,n,i,o){var a,c,p,d=o*8-i-1,g=(1<<d)-1,u=g>>1,v=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,T=n?0:o-1,U=n?1:-1,je=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(c=isNaN(e)?1:0,a=g):(a=Math.floor(Math.log(e)/Math.LN2),e*(p=Math.pow(2,-a))<1&&(a--,p*=2),a+u>=1?e+=v/p:e+=v*Math.pow(2,1-u),e*p>=2&&(a++,p/=2),a+u>=g?(c=0,a=g):a+u>=1?(c=(e*p-1)*Math.pow(2,i),a=a+u):(c=e*Math.pow(2,u-1)*Math.pow(2,i),a=0));i>=8;t[r+T]=c&255,T+=U,c/=256,i-=8);for(a=a<<i|c,d+=i;d>0;t[r+T]=a&255,T+=U,a/=256,d-=8);t[r+T-U]|=je*128}});var Ie=G(O=>{"use strict";l();var K=me(),D=fe(),he=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;O.Buffer=s;O.SlowBuffer=fr;O.INSPECT_MAX_BYTES=50;var W=2147483647;O.kMaxLength=W;s.TYPED_ARRAY_SUPPORT=pr();!s.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function pr(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),t.foo()===42}catch(r){return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.buffer}});Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.byteOffset}});function L(t){if(t>W)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,s.prototype),e}function s(t,e,r){if(typeof t=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Q(t)}return we(t,e,r)}s.poolSize=8192;function we(t,e,r){if(typeof t=="string")return dr(t,e);if(ArrayBuffer.isView(t))return gr(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(A(t,ArrayBuffer)||t&&A(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(A(t,SharedArrayBuffer)||t&&A(t.buffer,SharedArrayBuffer)))return Z(t,e,r);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return s.from(n,e,r);var i=mr(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.from(t[Symbol.toPrimitive]("string"),e,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}s.from=function(t,e,r){return we(t,e,r)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function Te(t){if(typeof t!="number")throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function ur(t,e,r){return Te(t),t<=0?L(t):e!==void 0?typeof r=="string"?L(t).fill(e,r):L(t).fill(e):L(t)}s.alloc=function(t,e,r){return ur(t,e,r)};function Q(t){return Te(t),L(t<0?0:ee(t)|0)}s.allocUnsafe=function(t){return Q(t)};s.allocUnsafeSlow=function(t){return Q(t)};function dr(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!s.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=be(t,e)|0,n=L(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}function J(t){for(var e=t.length<0?0:ee(t.length)|0,r=L(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function gr(t){if(A(t,Uint8Array)){var e=new Uint8Array(t);return Z(e.buffer,e.byteOffset,e.byteLength)}return J(t)}function Z(t,e,r){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return e===void 0&&r===void 0?n=new Uint8Array(t):r===void 0?n=new Uint8Array(t,e):n=new Uint8Array(t,e,r),Object.setPrototypeOf(n,s.prototype),n}function mr(t){if(s.isBuffer(t)){var e=ee(t.length)|0,r=L(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||re(t.length)?L(0):J(t);if(t.type==="Buffer"&&Array.isArray(t.data))return J(t.data)}function ee(t){if(t>=W)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+W.toString(16)+" bytes");return t|0}function fr(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==s.prototype};s.compare=function(e,r){if(A(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),A(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(e)||!s.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===r)return 0;for(var n=e.length,i=r.length,o=0,a=Math.min(n,i);o<a;++o)if(e[o]!==r[o]){n=e[o],i=r[o];break}return n<i?-1:i<n?1:0};s.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};s.concat=function(e,r){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return s.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<e.length;++n)r+=e[n].length;var i=s.allocUnsafe(r),o=0;for(n=0;n<e.length;++n){var a=e[n];if(A(a,Uint8Array))o+a.length>i.length?s.from(a).copy(i,o):Uint8Array.prototype.set.call(i,a,o);else if(s.isBuffer(a))a.copy(i,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=a.length}return i};function be(t,e){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||A(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var r=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&r===0)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return $(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Se(t).length;default:if(i)return n?-1:$(t).length;e=(""+e).toLowerCase(),i=!0}}s.byteLength=be;function hr(t,e,r){var n=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,e>>>=0,r<=e))return"";for(t||(t="utf8");;)switch(t){case"hex":return Rr(this,e,r);case"utf8":case"utf-8":return ke(this,e,r);case"ascii":return Ar(this,e,r);case"latin1":case"binary":return _r(this,e,r);case"base64":return vr(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Sr(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function F(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}s.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<e;r+=2)F(this,r,r+1);return this};s.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<e;r+=4)F(this,r,r+3),F(this,r+1,r+2);return this};s.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<e;r+=8)F(this,r,r+7),F(this,r+1,r+6),F(this,r+2,r+5),F(this,r+3,r+4);return this};s.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?ke(this,0,e):hr.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(e){if(!s.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:s.compare(this,e)===0};s.prototype.inspect=function(){var e="",r=O.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};he&&(s.prototype[he]=s.prototype.inspect);s.prototype.compare=function(e,r,n,i,o){if(A(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(r===void 0&&(r=0),n===void 0&&(n=e?e.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),r<0||n>e.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&r>=n)return 0;if(i>=o)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,i>>>=0,o>>>=0,this===e)return 0;for(var a=o-i,c=n-r,p=Math.min(a,c),d=this.slice(i,o),g=e.slice(r,n),u=0;u<p;++u)if(d[u]!==g[u]){a=d[u],c=g[u];break}return a<c?-1:c<a?1:0};function ve(t,e,r,n,i){if(t.length===0)return-1;if(typeof r=="string"?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,re(r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof e=="string"&&(e=s.from(e,n)),s.isBuffer(e))return e.length===0?-1:ye(t,e,r,n,i);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):ye(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function ye(t,e,r,n,i){var o=1,a=t.length,c=e.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||e.length<2)return-1;o=2,a/=2,c/=2,r/=2}function p(T,U){return o===1?T[U]:T.readUInt16BE(U*o)}var d;if(i){var g=-1;for(d=r;d<a;d++)if(p(t,d)===p(e,g===-1?0:d-g)){if(g===-1&&(g=d),d-g+1===c)return g*o}else g!==-1&&(d-=d-g),g=-1}else for(r+c>a&&(r=a-c),d=r;d>=0;d--){for(var u=!0,v=0;v<c;v++)if(p(t,d+v)!==p(e,v)){u=!1;break}if(u)return d}return-1}s.prototype.includes=function(e,r,n){return this.indexOf(e,r,n)!==-1};s.prototype.indexOf=function(e,r,n){return ve(this,e,r,n,!0)};s.prototype.lastIndexOf=function(e,r,n){return ve(this,e,r,n,!1)};function yr(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var o=e.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var c=parseInt(e.substr(a*2,2),16);if(re(c))return a;t[r+a]=c}return a}function xr(t,e,r,n){return H($(e,t.length-r),t,r,n)}function wr(t,e,r,n){return H(Er(e),t,r,n)}function Tr(t,e,r,n){return H(Se(e),t,r,n)}function br(t,e,r,n){return H(Nr(e,t.length-r),t,r,n)}s.prototype.write=function(e,r,n,i){if(r===void 0)i="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")i=r,n=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-r;if((n===void 0||n>o)&&(n=o),e.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var a=!1;;)switch(i){case"hex":return yr(this,e,r,n);case"utf8":case"utf-8":return xr(this,e,r,n);case"ascii":case"latin1":case"binary":return wr(this,e,r,n);case"base64":return Tr(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return br(this,e,r,n);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0}};s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function vr(t,e,r){return e===0&&r===t.length?K.fromByteArray(t):K.fromByteArray(t.slice(e,r))}function ke(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var o=t[i],a=null,c=o>239?4:o>223?3:o>191?2:1;if(i+c<=r){var p,d,g,u;switch(c){case 1:o<128&&(a=o);break;case 2:p=t[i+1],(p&192)===128&&(u=(o&31)<<6|p&63,u>127&&(a=u));break;case 3:p=t[i+1],d=t[i+2],(p&192)===128&&(d&192)===128&&(u=(o&15)<<12|(p&63)<<6|d&63,u>2047&&(u<55296||u>57343)&&(a=u));break;case 4:p=t[i+1],d=t[i+2],g=t[i+3],(p&192)===128&&(d&192)===128&&(g&192)===128&&(u=(o&15)<<18|(p&63)<<12|(d&63)<<6|g&63,u>65535&&u<1114112&&(a=u))}}a===null?(a=65533,c=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),i+=c}return kr(n)}var xe=4096;function kr(t){var e=t.length;if(e<=xe)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=xe));return r}function Ar(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]&127);return n}function _r(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}function Rr(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=e;o<r;++o)i+=Cr[t[o]];return i}function Sr(t,e,r){for(var n=t.slice(e,r),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}s.prototype.slice=function(e,r){var n=this.length;e=~~e,r=r===void 0?n:~~r,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<e&&(r=e);var i=this.subarray(e,r);return Object.setPrototypeOf(i,s.prototype),i};function x(t,e,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e+--r],o=1;r>0&&(o*=256);)i+=this[e+--r]*o;return i};s.prototype.readUint8=s.prototype.readUInt8=function(e,r){return e=e>>>0,r||x(e,1,this.length),this[e]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||x(e,2,this.length),this[e]|this[e+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||x(e,2,this.length),this[e]<<8|this[e+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||x(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};s.prototype.readIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*r)),i};s.prototype.readIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=r,o=1,a=this[e+--i];i>0&&(o*=256);)a+=this[e+--i]*o;return o*=128,a>=o&&(a-=Math.pow(2,8*r)),a};s.prototype.readInt8=function(e,r){return e=e>>>0,r||x(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};s.prototype.readInt16LE=function(e,r){e=e>>>0,r||x(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(e,r){e=e>>>0,r||x(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};s.prototype.readInt32BE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};s.prototype.readFloatLE=function(e,r){return e=e>>>0,r||x(e,4,this.length),D.read(this,e,!0,23,4)};s.prototype.readFloatBE=function(e,r){return e=e>>>0,r||x(e,4,this.length),D.read(this,e,!1,23,4)};s.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||x(e,8,this.length),D.read(this,e,!0,52,8)};s.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||x(e,8,this.length),D.read(this,e,!1,52,8)};function w(t,e,r,n,i,o){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;w(this,e,r,n,o,0)}var a=1,c=0;for(this[r]=e&255;++c<n&&(a*=256);)this[r+c]=e/a&255;return r+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;w(this,e,r,n,o,0)}var a=n-1,c=1;for(this[r+a]=e&255;--a>=0&&(c*=256);)this[r+a]=e/c&255;return r+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,1,255,0),this[r]=e&255,r+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,65535,0),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,65535,0),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,4294967295,0),this[r+3]=e>>>24,this[r+2]=e>>>16,this[r+1]=e>>>8,this[r]=e&255,r+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,4294967295,0),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};s.prototype.writeIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);w(this,e,r,n,o-1,-o)}var a=0,c=1,p=0;for(this[r]=e&255;++a<n&&(c*=256);)e<0&&p===0&&this[r+a-1]!==0&&(p=1),this[r+a]=(e/c>>0)-p&255;return r+n};s.prototype.writeIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);w(this,e,r,n,o-1,-o)}var a=n-1,c=1,p=0;for(this[r+a]=e&255;--a>=0&&(c*=256);)e<0&&p===0&&this[r+a+1]!==0&&(p=1),this[r+a]=(e/c>>0)-p&255;return r+n};s.prototype.writeInt8=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,1,127,-128),e<0&&(e=255+e+1),this[r]=e&255,r+1};s.prototype.writeInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,32767,-32768),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,32767,-32768),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,2147483647,-2147483648),this[r]=e&255,this[r+1]=e>>>8,this[r+2]=e>>>16,this[r+3]=e>>>24,r+4};s.prototype.writeInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};function Ae(t,e,r,n,i,o){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function _e(t,e,r,n,i){return e=+e,r=r>>>0,i||Ae(t,e,r,4,34028234663852886e22,-34028234663852886e22),D.write(t,e,r,n,23,4),r+4}s.prototype.writeFloatLE=function(e,r,n){return _e(this,e,r,!0,n)};s.prototype.writeFloatBE=function(e,r,n){return _e(this,e,r,!1,n)};function Re(t,e,r,n,i){return e=+e,r=r>>>0,i||Ae(t,e,r,8,17976931348623157e292,-17976931348623157e292),D.write(t,e,r,n,52,8),r+8}s.prototype.writeDoubleLE=function(e,r,n){return Re(this,e,r,!0,n)};s.prototype.writeDoubleBE=function(e,r,n){return Re(this,e,r,!1,n)};s.prototype.copy=function(e,r,n,i){if(!s.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),r>=e.length&&(r=e.length),r||(r=0),i>0&&i<n&&(i=n),i===n||e.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-r<i-n&&(i=e.length-r+n);var o=i-n;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,n,i):Uint8Array.prototype.set.call(e,this.subarray(n,i),r),o};s.prototype.fill=function(e,r,n,i){if(typeof e=="string"){if(typeof r=="string"?(i=r,r=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(e.length===1){var o=e.charCodeAt(0);(i==="utf8"&&o<128||i==="latin1")&&(e=o)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;r=r>>>0,n=n===void 0?this.length:n>>>0,e||(e=0);var a;if(typeof e=="number")for(a=r;a<n;++a)this[a]=e;else{var c=s.isBuffer(e)?e:s.from(e,i),p=c.length;if(p===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(a=0;a<n-r;++a)this[a+r]=c[a%p]}return this};var Ir=/[^+/0-9A-Za-z-_]/g;function Lr(t){if(t=t.split("=")[0],t=t.trim().replace(Ir,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function $(t,e){e=e||1/0;for(var r,n=t.length,i=null,o=[],a=0;a<n;++a){if(r=t.charCodeAt(a),r>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&o.push(239,191,189);continue}else if(a+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&o.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,r&63|128)}else if(r<65536){if((e-=3)<0)break;o.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return o}function Er(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function Nr(t,e){for(var r,n,i,o=[],a=0;a<t.length&&!((e-=2)<0);++a)r=t.charCodeAt(a),n=r>>8,i=r%256,o.push(i),o.push(n);return o}function Se(t){return K.toByteArray(Lr(t))}function H(t,e,r,n){for(var i=0;i<n&&!(i+r>=e.length||i>=t.length);++i)e[i+r]=t[i];return i}function A(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function re(t){return t!==t}var Cr=function(){for(var t="0123456789abcdef",e=new Array(256),r=0;r<16;++r)for(var n=r*16,i=0;i<16;++i)e[n+i]=t[r]+t[i];return e}()});var Fe=G((zr,Ce)=>{l();var y=Ce.exports={},_,R;function te(){throw new Error("setTimeout has not been defined")}function ne(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?_=setTimeout:_=te}catch(t){_=te}try{typeof clearTimeout=="function"?R=clearTimeout:R=ne}catch(t){R=ne}})();function Le(t){if(_===setTimeout)return setTimeout(t,0);if((_===te||!_)&&setTimeout)return _=setTimeout,setTimeout(t,0);try{return _(t,0)}catch(e){try{return _.call(null,t,0)}catch(r){return _.call(this,t,0)}}}function Fr(t){if(R===clearTimeout)return clearTimeout(t);if((R===ne||!R)&&clearTimeout)return R=clearTimeout,clearTimeout(t);try{return R(t)}catch(e){try{return R.call(null,t)}catch(r){return R.call(this,t)}}}var E=[],P=!1,B,q=-1;function Br(){!P||!B||(P=!1,B.length?E=B.concat(E):q=-1,E.length&&Ee())}function Ee(){if(!P){var t=Le(Br);P=!0;for(var e=E.length;e;){for(B=E,E=[];++q<e;)B&&B[q].run();q=-1,e=E.length}B=null,P=!1,Fr(t)}}y.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];E.push(new Ne(t,e)),E.length===1&&!P&&Le(Ee)};function Ne(t,e){this.fun=t,this.array=e}Ne.prototype.run=function(){this.fun.apply(null,this.array)};y.title="browser";y.browser=!0;y.env={};y.argv=[];y.version="";y.versions={};function N(){}y.on=N;y.addListener=N;y.once=N;y.off=N;y.removeListener=N;y.removeAllListeners=N;y.emit=N;y.prependListener=N;y.prependOnceListener=N;y.listeners=function(t){return[]};y.binding=function(t){throw new Error("process.binding is not supported")};y.cwd=function(){return"/"};y.chdir=function(t){throw new Error("process.chdir is not supported")};y.umask=function(){return 0}});var m,f,jr,l=er(()=>{m=ue(Ie()),f=ue(Fe()),jr=function(t){function e(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return e();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:e});var r=__magic__;return r}(Object)});var Gr={};rr(Gr,{addCustomToast:()=>Ur,addTransactionToast:()=>Or,default:()=>Mr,removeCustomToast:()=>Dr,removeTransactionToast:()=>Pr,toastsSlice:()=>ae});module.exports=tr(Gr);l();var qe=require("@reduxjs/toolkit"),ze=require("redux-persist");l();l();l();l();l();var z=require("@multiversx/sdk-web-wallet-cross-window-provider/out/types");var Be=(r=>(r.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",r.reloginRequest="RELOGIN_REQUEST",r))(Be||{}),Kr=I(I({},z.CrossWindowProviderRequestEnums),Be),Ue=(e=>(e.reloginResponse="RELOGIN_RESPONSE",e))(Ue||{}),Jr=I(I({},z.CrossWindowProviderResponseEnums),Ue);l();l();l();l();l();l();l();var De=()=>Date.now()/1e3;l();var oe=require("@reduxjs/toolkit");l();l();l();l();l();l();l();l();l();var ie={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",xAliasAddress:"https://devnet.xalias.com",apiAddress:"https://devnet-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",apiTimeout:"4000"},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",xAliasAddress:"https://testnet.xalias.com",apiAddress:"https://testnet-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",apiTimeout:"4000"},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",xAliasAddress:"https://xalias.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",apiTimeout:"4000"}},{chainId:Oe,egldLabel:bt}=ie["devnet"],{chainId:Pe,egldLabel:vt}=ie["testnet"],{chainId:Me,egldLabel:kt}=ie["mainnet"];var At={["devnet"]:Oe,["testnet"]:Pe,["mainnet"]:Me},_t={[Oe]:"devnet",[Pe]:"testnet",[Me]:"mainnet"};l();l();var S=require("@multiversx/sdk-web-wallet-provider");var Ge="logout",Ve="login";var We=(0,oe.createAction)(Ge),Vt=(0,oe.createAction)(Ve,t=>({payload:t}));var He={customToasts:[],transactionToasts:[]},ae=(0,qe.createSlice)({name:"toastsSlice",initialState:He,reducers:{addCustomToast:(t,e)=>{let r=e.payload.toastId||`custom-toast-${t.customToasts.length+1}`,n=t.customToasts.findIndex(i=>i.toastId===r);if(n!==-1){t.customToasts[n]=j(I(I({},t.customToasts[n]),e.payload),{type:"custom",toastId:r});return}t.customToasts.push(j(I({},e.payload),{type:"custom",toastId:r}))},removeCustomToast:(t,e)=>{t.customToasts=t.customToasts.filter(r=>r.toastId!==e.payload)},addTransactionToast:(t,e)=>{t.transactionToasts.push({type:"transaction",startTimestamp:De(),toastId:e.payload||`custom-toast-${t.transactionToasts.length+1}`})},removeTransactionToast:(t,e)=>{t.transactionToasts=t.transactionToasts.filter(r=>r.toastId!==e.payload)}},extraReducers:t=>{t.addCase(We,()=>He),t.addCase(ze.REHYDRATE,(e,r)=>{var i,o;let n=(o=(i=r.customToasts)==null?void 0:i.filter(a=>!("component"in a)))!=null?o:[];e.customToasts=n})}}),{addCustomToast:Ur,removeCustomToast:Dr,addTransactionToast:Or,removeTransactionToast:Pr}=ae.actions,Mr=ae.reducer;0&&(module.exports={addCustomToast,addTransactionToast,removeCustomToast,removeTransactionToast,toastsSlice});
|
|
2
2
|
/*!
|
|
3
3
|
* The buffer module from node.js, for the browser.
|
|
4
4
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var Zo=Object.create;var ge=Object.defineProperty,Jo=Object.defineProperties,Qo=Object.getOwnPropertyDescriptor,ei=Object.getOwnPropertyDescriptors,ti=Object.getOwnPropertyNames,Ee=Object.getOwnPropertySymbols,ri=Object.getPrototypeOf,xt=Object.prototype.hasOwnProperty,fr=Object.prototype.propertyIsEnumerable;var gr=(e,t,r)=>t in e?ge(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,f=(e,t)=>{for(var r in t||(t={}))xt.call(t,r)&&gr(e,r,t[r]);if(Ee)for(var r of Ee(t))fr.call(t,r)&&gr(e,r,t[r]);return e},w=(e,t)=>Jo(e,ei(t));var St=(e,t)=>{var r={};for(var o in e)xt.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(e!=null&&Ee)for(var o of Ee(e))t.indexOf(o)<0&&fr.call(e,o)&&(r[o]=e[o]);return r};var T=(e,t)=>()=>(e&&(t=e(e=0)),t);var Ne=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),te=(e,t)=>{for(var r in t)ge(e,r,{get:t[r],enumerable:!0})},Tr=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of ti(t))!xt.call(e,i)&&i!==r&&ge(e,i,{get:()=>t[i],enumerable:!(o=Qo(t,i))||o.enumerable});return e};var S=(e,t,r)=>(r=e!=null?Zo(ri(e)):{},Tr(t||!e||!e.__esModule?ge(r,"default",{value:e,enumerable:!0}):r,e)),fe=e=>Tr(ge({},"__esModule",{value:!0}),e);var E=(e,t,r)=>new Promise((o,i)=>{var l=d=>{try{m(r.next(d))}catch(y){i(y)}},p=d=>{try{m(r.throw(d))}catch(y){i(y)}},m=d=>d.done?o(d.value):Promise.resolve(d.value).then(l,p);m((r=r.apply(e,t)).next())});var xr=Ne(Le=>{"use strict";n();Le.byteLength=oi;Le.toByteArray=ai;Le.fromByteArray=li;var M=[],D=[],ni=typeof Uint8Array!="undefined"?Uint8Array:Array,wt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(re=0,yr=wt.length;re<yr;++re)M[re]=wt[re],D[wt.charCodeAt(re)]=re;var re,yr;D["-".charCodeAt(0)]=62;D["_".charCodeAt(0)]=63;function hr(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");r===-1&&(r=t);var o=r===t?0:4-r%4;return[r,o]}function oi(e){var t=hr(e),r=t[0],o=t[1];return(r+o)*3/4-o}function ii(e,t,r){return(t+r)*3/4-r}function ai(e){var t,r=hr(e),o=r[0],i=r[1],l=new ni(ii(e,o,i)),p=0,m=i>0?o-4:o,d;for(d=0;d<m;d+=4)t=D[e.charCodeAt(d)]<<18|D[e.charCodeAt(d+1)]<<12|D[e.charCodeAt(d+2)]<<6|D[e.charCodeAt(d+3)],l[p++]=t>>16&255,l[p++]=t>>8&255,l[p++]=t&255;return i===2&&(t=D[e.charCodeAt(d)]<<2|D[e.charCodeAt(d+1)]>>4,l[p++]=t&255),i===1&&(t=D[e.charCodeAt(d)]<<10|D[e.charCodeAt(d+1)]<<4|D[e.charCodeAt(d+2)]>>2,l[p++]=t>>8&255,l[p++]=t&255),l}function si(e){return M[e>>18&63]+M[e>>12&63]+M[e>>6&63]+M[e&63]}function ci(e,t,r){for(var o,i=[],l=t;l<r;l+=3)o=(e[l]<<16&16711680)+(e[l+1]<<8&65280)+(e[l+2]&255),i.push(si(o));return i.join("")}function li(e){for(var t,r=e.length,o=r%3,i=[],l=16383,p=0,m=r-o;p<m;p+=l)i.push(ci(e,p,p+l>m?m:p+l));return o===1?(t=e[r-1],i.push(M[t>>2]+M[t<<4&63]+"==")):o===2&&(t=(e[r-2]<<8)+e[r-1],i.push(M[t>>10]+M[t>>4&63]+M[t<<2&63]+"=")),i.join("")}});var Sr=Ne(At=>{n();At.read=function(e,t,r,o,i){var l,p,m=i*8-o-1,d=(1<<m)-1,y=d>>1,x=-7,h=r?i-1:0,N=r?-1:1,k=e[t+h];for(h+=N,l=k&(1<<-x)-1,k>>=-x,x+=m;x>0;l=l*256+e[t+h],h+=N,x-=8);for(p=l&(1<<-x)-1,l>>=-x,x+=o;x>0;p=p*256+e[t+h],h+=N,x-=8);if(l===0)l=1-y;else{if(l===d)return p?NaN:(k?-1:1)*(1/0);p=p+Math.pow(2,o),l=l-y}return(k?-1:1)*p*Math.pow(2,l-o)};At.write=function(e,t,r,o,i,l){var p,m,d,y=l*8-i-1,x=(1<<y)-1,h=x>>1,N=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,k=o?0:l-1,H=o?1:-1,ke=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(m=isNaN(t)?1:0,p=x):(p=Math.floor(Math.log(t)/Math.LN2),t*(d=Math.pow(2,-p))<1&&(p--,d*=2),p+h>=1?t+=N/d:t+=N*Math.pow(2,1-h),t*d>=2&&(p++,d/=2),p+h>=x?(m=0,p=x):p+h>=1?(m=(t*d-1)*Math.pow(2,i),p=p+h):(m=t*Math.pow(2,h-1)*Math.pow(2,i),p=0));i>=8;e[r+k]=m&255,k+=H,m/=256,i-=8);for(p=p<<i|m,y+=i;y>0;e[r+k]=p&255,k+=H,p/=256,y-=8);e[r+k-H]|=ke*128}});var _r=Ne(le=>{"use strict";n();var bt=xr(),ce=Sr(),wr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;le.Buffer=u;le.SlowBuffer=fi;le.INSPECT_MAX_BYTES=50;var Re=2147483647;le.kMaxLength=Re;u.TYPED_ARRAY_SUPPORT=pi();!u.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function pi(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),e.foo()===42}catch(r){return!1}}Object.defineProperty(u.prototype,"parent",{enumerable:!0,get:function(){if(!!u.isBuffer(this))return this.buffer}});Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(!!u.isBuffer(this))return this.byteOffset}});function j(e){if(e>Re)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,u.prototype),t}function u(e,t,r){if(typeof e=="number"){if(typeof t=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Et(e)}return Ir(e,t,r)}u.poolSize=8192;function Ir(e,t,r){if(typeof e=="string")return di(e,t);if(ArrayBuffer.isView(e))return mi(e);if(e==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(B(e,ArrayBuffer)||e&&B(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(B(e,SharedArrayBuffer)||e&&B(e.buffer,SharedArrayBuffer)))return vt(e,t,r);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var o=e.valueOf&&e.valueOf();if(o!=null&&o!==e)return u.from(o,t,r);var i=gi(e);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return u.from(e[Symbol.toPrimitive]("string"),t,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}u.from=function(e,t,r){return Ir(e,t,r)};Object.setPrototypeOf(u.prototype,Uint8Array.prototype);Object.setPrototypeOf(u,Uint8Array);function vr(e){if(typeof e!="number")throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function ui(e,t,r){return vr(e),e<=0?j(e):t!==void 0?typeof r=="string"?j(e).fill(t,r):j(e).fill(t):j(e)}u.alloc=function(e,t,r){return ui(e,t,r)};function Et(e){return vr(e),j(e<0?0:Nt(e)|0)}u.allocUnsafe=function(e){return Et(e)};u.allocUnsafeSlow=function(e){return Et(e)};function di(e,t){if((typeof t!="string"||t==="")&&(t="utf8"),!u.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=kr(e,t)|0,o=j(r),i=o.write(e,t);return i!==r&&(o=o.slice(0,i)),o}function It(e){for(var t=e.length<0?0:Nt(e.length)|0,r=j(t),o=0;o<t;o+=1)r[o]=e[o]&255;return r}function mi(e){if(B(e,Uint8Array)){var t=new Uint8Array(e);return vt(t.buffer,t.byteOffset,t.byteLength)}return It(e)}function vt(e,t,r){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw new RangeError('"length" is outside of buffer bounds');var o;return t===void 0&&r===void 0?o=new Uint8Array(e):r===void 0?o=new Uint8Array(e,t):o=new Uint8Array(e,t,r),Object.setPrototypeOf(o,u.prototype),o}function gi(e){if(u.isBuffer(e)){var t=Nt(e.length)|0,r=j(t);return r.length===0||e.copy(r,0,0,t),r}if(e.length!==void 0)return typeof e.length!="number"||Lt(e.length)?j(0):It(e);if(e.type==="Buffer"&&Array.isArray(e.data))return It(e.data)}function Nt(e){if(e>=Re)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Re.toString(16)+" bytes");return e|0}function fi(e){return+e!=e&&(e=0),u.alloc(+e)}u.isBuffer=function(t){return t!=null&&t._isBuffer===!0&&t!==u.prototype};u.compare=function(t,r){if(B(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),B(r,Uint8Array)&&(r=u.from(r,r.offset,r.byteLength)),!u.isBuffer(t)||!u.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===r)return 0;for(var o=t.length,i=r.length,l=0,p=Math.min(o,i);l<p;++l)if(t[l]!==r[l]){o=t[l],i=r[l];break}return o<i?-1:i<o?1:0};u.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};u.concat=function(t,r){if(!Array.isArray(t))throw new TypeError('"list" argument must be an Array of Buffers');if(t.length===0)return u.alloc(0);var o;if(r===void 0)for(r=0,o=0;o<t.length;++o)r+=t[o].length;var i=u.allocUnsafe(r),l=0;for(o=0;o<t.length;++o){var p=t[o];if(B(p,Uint8Array))l+p.length>i.length?u.from(p).copy(i,l):Uint8Array.prototype.set.call(i,p,l);else if(u.isBuffer(p))p.copy(i,l);else throw new TypeError('"list" argument must be an Array of Buffers');l+=p.length}return i};function kr(e,t){if(u.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||B(e,ArrayBuffer))return e.byteLength;if(typeof e!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,o=arguments.length>2&&arguments[2]===!0;if(!o&&r===0)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return kt(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Dr(e).length;default:if(i)return o?-1:kt(e).length;t=(""+t).toLowerCase(),i=!0}}u.byteLength=kr;function Ti(e,t,r){var o=!1;if((t===void 0||t<0)&&(t=0),t>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,t>>>=0,r<=t))return"";for(e||(e="utf8");;)switch(e){case"hex":return ki(this,t,r);case"utf8":case"utf-8":return Nr(this,t,r);case"ascii":return Ii(this,t,r);case"latin1":case"binary":return vi(this,t,r);case"base64":return Ai(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ei(this,t,r);default:if(o)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),o=!0}}u.prototype._isBuffer=!0;function ne(e,t,r){var o=e[t];e[t]=e[r],e[r]=o}u.prototype.swap16=function(){var t=this.length;if(t%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<t;r+=2)ne(this,r,r+1);return this};u.prototype.swap32=function(){var t=this.length;if(t%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<t;r+=4)ne(this,r,r+3),ne(this,r+1,r+2);return this};u.prototype.swap64=function(){var t=this.length;if(t%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<t;r+=8)ne(this,r,r+7),ne(this,r+1,r+6),ne(this,r+2,r+5),ne(this,r+3,r+4);return this};u.prototype.toString=function(){var t=this.length;return t===0?"":arguments.length===0?Nr(this,0,t):Ti.apply(this,arguments)};u.prototype.toLocaleString=u.prototype.toString;u.prototype.equals=function(t){if(!u.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t?!0:u.compare(this,t)===0};u.prototype.inspect=function(){var t="",r=le.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"};wr&&(u.prototype[wr]=u.prototype.inspect);u.prototype.compare=function(t,r,o,i,l){if(B(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),!u.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(r===void 0&&(r=0),o===void 0&&(o=t?t.length:0),i===void 0&&(i=0),l===void 0&&(l=this.length),r<0||o>t.length||i<0||l>this.length)throw new RangeError("out of range index");if(i>=l&&r>=o)return 0;if(i>=l)return-1;if(r>=o)return 1;if(r>>>=0,o>>>=0,i>>>=0,l>>>=0,this===t)return 0;for(var p=l-i,m=o-r,d=Math.min(p,m),y=this.slice(i,l),x=t.slice(r,o),h=0;h<d;++h)if(y[h]!==x[h]){p=y[h],m=x[h];break}return p<m?-1:m<p?1:0};function Er(e,t,r,o,i){if(e.length===0)return-1;if(typeof r=="string"?(o=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,Lt(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof t=="string"&&(t=u.from(t,o)),u.isBuffer(t))return t.length===0?-1:Ar(e,t,r,o,i);if(typeof t=="number")return t=t&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):Ar(e,[t],r,o,i);throw new TypeError("val must be string, number or Buffer")}function Ar(e,t,r,o,i){var l=1,p=e.length,m=t.length;if(o!==void 0&&(o=String(o).toLowerCase(),o==="ucs2"||o==="ucs-2"||o==="utf16le"||o==="utf-16le")){if(e.length<2||t.length<2)return-1;l=2,p/=2,m/=2,r/=2}function d(k,H){return l===1?k[H]:k.readUInt16BE(H*l)}var y;if(i){var x=-1;for(y=r;y<p;y++)if(d(e,y)===d(t,x===-1?0:y-x)){if(x===-1&&(x=y),y-x+1===m)return x*l}else x!==-1&&(y-=y-x),x=-1}else for(r+m>p&&(r=p-m),y=r;y>=0;y--){for(var h=!0,N=0;N<m;N++)if(d(e,y+N)!==d(t,N)){h=!1;break}if(h)return y}return-1}u.prototype.includes=function(t,r,o){return this.indexOf(t,r,o)!==-1};u.prototype.indexOf=function(t,r,o){return Er(this,t,r,o,!0)};u.prototype.lastIndexOf=function(t,r,o){return Er(this,t,r,o,!1)};function yi(e,t,r,o){r=Number(r)||0;var i=e.length-r;o?(o=Number(o),o>i&&(o=i)):o=i;var l=t.length;o>l/2&&(o=l/2);for(var p=0;p<o;++p){var m=parseInt(t.substr(p*2,2),16);if(Lt(m))return p;e[r+p]=m}return p}function hi(e,t,r,o){return Ce(kt(t,e.length-r),e,r,o)}function xi(e,t,r,o){return Ce(Ri(t),e,r,o)}function Si(e,t,r,o){return Ce(Dr(t),e,r,o)}function wi(e,t,r,o){return Ce(Ci(t,e.length-r),e,r,o)}u.prototype.write=function(t,r,o,i){if(r===void 0)i="utf8",o=this.length,r=0;else if(o===void 0&&typeof r=="string")i=r,o=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(o)?(o=o>>>0,i===void 0&&(i="utf8")):(i=o,o=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var l=this.length-r;if((o===void 0||o>l)&&(o=l),t.length>0&&(o<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var p=!1;;)switch(i){case"hex":return yi(this,t,r,o);case"utf8":case"utf-8":return hi(this,t,r,o);case"ascii":case"latin1":case"binary":return xi(this,t,r,o);case"base64":return Si(this,t,r,o);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return wi(this,t,r,o);default:if(p)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),p=!0}};u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Ai(e,t,r){return t===0&&r===e.length?bt.fromByteArray(e):bt.fromByteArray(e.slice(t,r))}function Nr(e,t,r){r=Math.min(e.length,r);for(var o=[],i=t;i<r;){var l=e[i],p=null,m=l>239?4:l>223?3:l>191?2:1;if(i+m<=r){var d,y,x,h;switch(m){case 1:l<128&&(p=l);break;case 2:d=e[i+1],(d&192)===128&&(h=(l&31)<<6|d&63,h>127&&(p=h));break;case 3:d=e[i+1],y=e[i+2],(d&192)===128&&(y&192)===128&&(h=(l&15)<<12|(d&63)<<6|y&63,h>2047&&(h<55296||h>57343)&&(p=h));break;case 4:d=e[i+1],y=e[i+2],x=e[i+3],(d&192)===128&&(y&192)===128&&(x&192)===128&&(h=(l&15)<<18|(d&63)<<12|(y&63)<<6|x&63,h>65535&&h<1114112&&(p=h))}}p===null?(p=65533,m=1):p>65535&&(p-=65536,o.push(p>>>10&1023|55296),p=56320|p&1023),o.push(p),i+=m}return bi(o)}var br=4096;function bi(e){var t=e.length;if(t<=br)return String.fromCharCode.apply(String,e);for(var r="",o=0;o<t;)r+=String.fromCharCode.apply(String,e.slice(o,o+=br));return r}function Ii(e,t,r){var o="";r=Math.min(e.length,r);for(var i=t;i<r;++i)o+=String.fromCharCode(e[i]&127);return o}function vi(e,t,r){var o="";r=Math.min(e.length,r);for(var i=t;i<r;++i)o+=String.fromCharCode(e[i]);return o}function ki(e,t,r){var o=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>o)&&(r=o);for(var i="",l=t;l<r;++l)i+=Di[e[l]];return i}function Ei(e,t,r){for(var o=e.slice(t,r),i="",l=0;l<o.length-1;l+=2)i+=String.fromCharCode(o[l]+o[l+1]*256);return i}u.prototype.slice=function(t,r){var o=this.length;t=~~t,r=r===void 0?o:~~r,t<0?(t+=o,t<0&&(t=0)):t>o&&(t=o),r<0?(r+=o,r<0&&(r=0)):r>o&&(r=o),r<t&&(r=t);var i=this.subarray(t,r);return Object.setPrototypeOf(i,u.prototype),i};function v(e,t,r){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}u.prototype.readUintLE=u.prototype.readUIntLE=function(t,r,o){t=t>>>0,r=r>>>0,o||v(t,r,this.length);for(var i=this[t],l=1,p=0;++p<r&&(l*=256);)i+=this[t+p]*l;return i};u.prototype.readUintBE=u.prototype.readUIntBE=function(t,r,o){t=t>>>0,r=r>>>0,o||v(t,r,this.length);for(var i=this[t+--r],l=1;r>0&&(l*=256);)i+=this[t+--r]*l;return i};u.prototype.readUint8=u.prototype.readUInt8=function(t,r){return t=t>>>0,r||v(t,1,this.length),this[t]};u.prototype.readUint16LE=u.prototype.readUInt16LE=function(t,r){return t=t>>>0,r||v(t,2,this.length),this[t]|this[t+1]<<8};u.prototype.readUint16BE=u.prototype.readUInt16BE=function(t,r){return t=t>>>0,r||v(t,2,this.length),this[t]<<8|this[t+1]};u.prototype.readUint32LE=u.prototype.readUInt32LE=function(t,r){return t=t>>>0,r||v(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+this[t+3]*16777216};u.prototype.readUint32BE=u.prototype.readUInt32BE=function(t,r){return t=t>>>0,r||v(t,4,this.length),this[t]*16777216+(this[t+1]<<16|this[t+2]<<8|this[t+3])};u.prototype.readIntLE=function(t,r,o){t=t>>>0,r=r>>>0,o||v(t,r,this.length);for(var i=this[t],l=1,p=0;++p<r&&(l*=256);)i+=this[t+p]*l;return l*=128,i>=l&&(i-=Math.pow(2,8*r)),i};u.prototype.readIntBE=function(t,r,o){t=t>>>0,r=r>>>0,o||v(t,r,this.length);for(var i=r,l=1,p=this[t+--i];i>0&&(l*=256);)p+=this[t+--i]*l;return l*=128,p>=l&&(p-=Math.pow(2,8*r)),p};u.prototype.readInt8=function(t,r){return t=t>>>0,r||v(t,1,this.length),this[t]&128?(255-this[t]+1)*-1:this[t]};u.prototype.readInt16LE=function(t,r){t=t>>>0,r||v(t,2,this.length);var o=this[t]|this[t+1]<<8;return o&32768?o|4294901760:o};u.prototype.readInt16BE=function(t,r){t=t>>>0,r||v(t,2,this.length);var o=this[t+1]|this[t]<<8;return o&32768?o|4294901760:o};u.prototype.readInt32LE=function(t,r){return t=t>>>0,r||v(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24};u.prototype.readInt32BE=function(t,r){return t=t>>>0,r||v(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]};u.prototype.readFloatLE=function(t,r){return t=t>>>0,r||v(t,4,this.length),ce.read(this,t,!0,23,4)};u.prototype.readFloatBE=function(t,r){return t=t>>>0,r||v(t,4,this.length),ce.read(this,t,!1,23,4)};u.prototype.readDoubleLE=function(t,r){return t=t>>>0,r||v(t,8,this.length),ce.read(this,t,!0,52,8)};u.prototype.readDoubleBE=function(t,r){return t=t>>>0,r||v(t,8,this.length),ce.read(this,t,!1,52,8)};function L(e,t,r,o,i,l){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<l)throw new RangeError('"value" argument is out of bounds');if(r+o>e.length)throw new RangeError("Index out of range")}u.prototype.writeUintLE=u.prototype.writeUIntLE=function(t,r,o,i){if(t=+t,r=r>>>0,o=o>>>0,!i){var l=Math.pow(2,8*o)-1;L(this,t,r,o,l,0)}var p=1,m=0;for(this[r]=t&255;++m<o&&(p*=256);)this[r+m]=t/p&255;return r+o};u.prototype.writeUintBE=u.prototype.writeUIntBE=function(t,r,o,i){if(t=+t,r=r>>>0,o=o>>>0,!i){var l=Math.pow(2,8*o)-1;L(this,t,r,o,l,0)}var p=o-1,m=1;for(this[r+p]=t&255;--p>=0&&(m*=256);)this[r+p]=t/m&255;return r+o};u.prototype.writeUint8=u.prototype.writeUInt8=function(t,r,o){return t=+t,r=r>>>0,o||L(this,t,r,1,255,0),this[r]=t&255,r+1};u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(t,r,o){return t=+t,r=r>>>0,o||L(this,t,r,2,65535,0),this[r]=t&255,this[r+1]=t>>>8,r+2};u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(t,r,o){return t=+t,r=r>>>0,o||L(this,t,r,2,65535,0),this[r]=t>>>8,this[r+1]=t&255,r+2};u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(t,r,o){return t=+t,r=r>>>0,o||L(this,t,r,4,4294967295,0),this[r+3]=t>>>24,this[r+2]=t>>>16,this[r+1]=t>>>8,this[r]=t&255,r+4};u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(t,r,o){return t=+t,r=r>>>0,o||L(this,t,r,4,4294967295,0),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=t&255,r+4};u.prototype.writeIntLE=function(t,r,o,i){if(t=+t,r=r>>>0,!i){var l=Math.pow(2,8*o-1);L(this,t,r,o,l-1,-l)}var p=0,m=1,d=0;for(this[r]=t&255;++p<o&&(m*=256);)t<0&&d===0&&this[r+p-1]!==0&&(d=1),this[r+p]=(t/m>>0)-d&255;return r+o};u.prototype.writeIntBE=function(t,r,o,i){if(t=+t,r=r>>>0,!i){var l=Math.pow(2,8*o-1);L(this,t,r,o,l-1,-l)}var p=o-1,m=1,d=0;for(this[r+p]=t&255;--p>=0&&(m*=256);)t<0&&d===0&&this[r+p+1]!==0&&(d=1),this[r+p]=(t/m>>0)-d&255;return r+o};u.prototype.writeInt8=function(t,r,o){return t=+t,r=r>>>0,o||L(this,t,r,1,127,-128),t<0&&(t=255+t+1),this[r]=t&255,r+1};u.prototype.writeInt16LE=function(t,r,o){return t=+t,r=r>>>0,o||L(this,t,r,2,32767,-32768),this[r]=t&255,this[r+1]=t>>>8,r+2};u.prototype.writeInt16BE=function(t,r,o){return t=+t,r=r>>>0,o||L(this,t,r,2,32767,-32768),this[r]=t>>>8,this[r+1]=t&255,r+2};u.prototype.writeInt32LE=function(t,r,o){return t=+t,r=r>>>0,o||L(this,t,r,4,2147483647,-2147483648),this[r]=t&255,this[r+1]=t>>>8,this[r+2]=t>>>16,this[r+3]=t>>>24,r+4};u.prototype.writeInt32BE=function(t,r,o){return t=+t,r=r>>>0,o||L(this,t,r,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=t&255,r+4};function Lr(e,t,r,o,i,l){if(r+o>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function Rr(e,t,r,o,i){return t=+t,r=r>>>0,i||Lr(e,t,r,4,34028234663852886e22,-34028234663852886e22),ce.write(e,t,r,o,23,4),r+4}u.prototype.writeFloatLE=function(t,r,o){return Rr(this,t,r,!0,o)};u.prototype.writeFloatBE=function(t,r,o){return Rr(this,t,r,!1,o)};function Cr(e,t,r,o,i){return t=+t,r=r>>>0,i||Lr(e,t,r,8,17976931348623157e292,-17976931348623157e292),ce.write(e,t,r,o,52,8),r+8}u.prototype.writeDoubleLE=function(t,r,o){return Cr(this,t,r,!0,o)};u.prototype.writeDoubleBE=function(t,r,o){return Cr(this,t,r,!1,o)};u.prototype.copy=function(t,r,o,i){if(!u.isBuffer(t))throw new TypeError("argument should be a Buffer");if(o||(o=0),!i&&i!==0&&(i=this.length),r>=t.length&&(r=t.length),r||(r=0),i>0&&i<o&&(i=o),i===o||t.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(o<0||o>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),t.length-r<i-o&&(i=t.length-r+o);var l=i-o;return this===t&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,o,i):Uint8Array.prototype.set.call(t,this.subarray(o,i),r),l};u.prototype.fill=function(t,r,o,i){if(typeof t=="string"){if(typeof r=="string"?(i=r,r=0,o=this.length):typeof o=="string"&&(i=o,o=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!u.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(t.length===1){var l=t.charCodeAt(0);(i==="utf8"&&l<128||i==="latin1")&&(t=l)}}else typeof t=="number"?t=t&255:typeof t=="boolean"&&(t=Number(t));if(r<0||this.length<r||this.length<o)throw new RangeError("Out of range index");if(o<=r)return this;r=r>>>0,o=o===void 0?this.length:o>>>0,t||(t=0);var p;if(typeof t=="number")for(p=r;p<o;++p)this[p]=t;else{var m=u.isBuffer(t)?t:u.from(t,i),d=m.length;if(d===0)throw new TypeError('The value "'+t+'" is invalid for argument "value"');for(p=0;p<o-r;++p)this[p+r]=m[p%d]}return this};var Ni=/[^+/0-9A-Za-z-_]/g;function Li(e){if(e=e.split("=")[0],e=e.trim().replace(Ni,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function kt(e,t){t=t||1/0;for(var r,o=e.length,i=null,l=[],p=0;p<o;++p){if(r=e.charCodeAt(p),r>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&l.push(239,191,189);continue}else if(p+1===o){(t-=3)>-1&&l.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&l.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(t-=3)>-1&&l.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;l.push(r)}else if(r<2048){if((t-=2)<0)break;l.push(r>>6|192,r&63|128)}else if(r<65536){if((t-=3)<0)break;l.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((t-=4)<0)break;l.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return l}function Ri(e){for(var t=[],r=0;r<e.length;++r)t.push(e.charCodeAt(r)&255);return t}function Ci(e,t){for(var r,o,i,l=[],p=0;p<e.length&&!((t-=2)<0);++p)r=e.charCodeAt(p),o=r>>8,i=r%256,l.push(i),l.push(o);return l}function Dr(e){return bt.toByteArray(Li(e))}function Ce(e,t,r,o){for(var i=0;i<o&&!(i+r>=t.length||i>=e.length);++i)t[i+r]=e[i];return i}function B(e,t){return e instanceof t||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===t.name}function Lt(e){return e!==e}var Di=function(){for(var e="0123456789abcdef",t=new Array(256),r=0;r<16;++r)for(var o=r*16,i=0;i<16;++i)t[o+i]=e[r]+e[i];return t}()});var Br=Ne((Bs,Mr)=>{n();var b=Mr.exports={},U,V;function Rt(){throw new Error("setTimeout has not been defined")}function Ct(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?U=setTimeout:U=Rt}catch(e){U=Rt}try{typeof clearTimeout=="function"?V=clearTimeout:V=Ct}catch(e){V=Ct}})();function Pr(e){if(U===setTimeout)return setTimeout(e,0);if((U===Rt||!U)&&setTimeout)return U=setTimeout,setTimeout(e,0);try{return U(e,0)}catch(t){try{return U.call(null,e,0)}catch(r){return U.call(this,e,0)}}}function _i(e){if(V===clearTimeout)return clearTimeout(e);if((V===Ct||!V)&&clearTimeout)return V=clearTimeout,clearTimeout(e);try{return V(e)}catch(t){try{return V.call(null,e)}catch(r){return V.call(this,e)}}}var z=[],pe=!1,oe,De=-1;function Pi(){!pe||!oe||(pe=!1,oe.length?z=oe.concat(z):De=-1,z.length&&Or())}function Or(){if(!pe){var e=Pr(Pi);pe=!0;for(var t=z.length;t;){for(oe=z,z=[];++De<t;)oe&&oe[De].run();De=-1,t=z.length}oe=null,pe=!1,_i(e)}}b.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];z.push(new Fr(e,t)),z.length===1&&!pe&&Pr(Or)};function Fr(e,t){this.fun=e,this.array=t}Fr.prototype.run=function(){this.fun.apply(null,this.array)};b.title="browser";b.browser=!0;b.env={};b.argv=[];b.version="";b.versions={};function K(){}b.on=K;b.addListener=K;b.once=K;b.off=K;b.removeListener=K;b.removeAllListeners=K;b.emit=K;b.prependListener=K;b.prependOnceListener=K;b.listeners=function(e){return[]};b.binding=function(e){throw new Error("process.binding is not supported")};b.cwd=function(){return"/"};b.chdir=function(e){throw new Error("process.chdir is not supported")};b.umask=function(){return 0}});var a,s,Us,n=T(()=>{a=S(_r()),s=S(Br()),Us=function(e){function t(){var o=this||self;return delete e.prototype.__magic__,o}if(typeof globalThis=="object")return globalThis;if(this)return t();e.defineProperty(e.prototype,"__magic__",{configurable:!0,get:t});var r=__magic__;return r}(Object)});var Ur=T(()=>{"use strict";n()});var Vr=T(()=>{"use strict";n()});var $r=T(()=>{"use strict";n()});var Dt,Gr=T(()=>{"use strict";n();Dt=(o=>(o.SetGuardian="SetGuardian",o.GuardAccount="GuardAccount",o.UnGuardAccount="UnGuardAccount",o))(Dt||{})});var Wr=T(()=>{"use strict";n()});var _t=T(()=>{"use strict";n()});var Hr=T(()=>{"use strict";n()});var qr=T(()=>{"use strict";n()});var jr=T(()=>{"use strict";n()});var zr=T(()=>{"use strict";n()});var _e,Kr,Ys,Yr,Xs,Y=T(()=>{"use strict";n();_e=require("@multiversx/sdk-web-wallet-cross-window-provider/out/types"),Kr=(r=>(r.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",r.reloginRequest="RELOGIN_REQUEST",r))(Kr||{}),Ys=f(f({},_e.CrossWindowProviderRequestEnums),Kr),Yr=(t=>(t.reloginResponse="RELOGIN_RESPONSE",t))(Yr||{}),Xs=f(f({},_e.CrossWindowProviderResponseEnums),Yr)});var Xr=T(()=>{"use strict";n()});var Zr=T(()=>{"use strict";n()});var R=T(()=>{"use strict";n()});var Jr=T(()=>{"use strict";n()});var Qr=T(()=>{"use strict";n()});var en=T(()=>{"use strict";n()});var P=T(()=>{"use strict";n();qr();jr();zr();Y();Xr();Zr();R();Jr();Qr();en()});var Te,tn,mc,rn,gc,nn,fc,Tc,Oi,Pt,ie=T(()=>{"use strict";n();P();Te={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",xAliasAddress:"https://devnet.xalias.com",apiAddress:"https://devnet-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",apiTimeout:"4000"},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",xAliasAddress:"https://testnet.xalias.com",apiAddress:"https://testnet-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",apiTimeout:"4000"},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",xAliasAddress:"https://xalias.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",apiTimeout:"4000"}},{chainId:tn,egldLabel:mc}=Te["devnet"],{chainId:rn,egldLabel:gc}=Te["testnet"],{chainId:nn,egldLabel:fc}=Te["mainnet"],Tc={["devnet"]:tn,["testnet"]:rn,["mainnet"]:nn},Oi={[tn]:"devnet",[rn]:"testnet",[nn]:"mainnet"},Pt=3e3});var on=T(()=>{"use strict";n()});var $,an=T(()=>{"use strict";n();$=require("@multiversx/sdk-web-wallet-provider")});var Ot,Ft,sn,Pe,cn,ue,A=T(()=>{"use strict";n();Ur();Vr();$r();Gr();Wr();_t();Hr();ie();on();an();Ot=5e4,Ft=1e9,sn=1,Pe="logout",cn="login",ue="0"});var Oe,Mt=T(()=>{"use strict";n();Oe=()=>Date.now()/1e3});var ln=T(()=>{"use strict";n()});var pn=T(()=>{"use strict";n()});var un=T(()=>{"use strict";n();Mt();ln();pn()});var Bt={};te(Bt,{clear:()=>Ui,getItem:()=>Mi,localStorageKeys:()=>ae,removeItem:()=>Bi,setItem:()=>Fi});var ae,Fe,Fi,Mi,Bi,Ui,ye=T(()=>{"use strict";n();un();ae={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event"},Fe=typeof localStorage!="undefined",Fi=({key:e,data:t,expires:r})=>{!Fe||localStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},Mi=e=>{if(!Fe)return;let t=localStorage.getItem(String(e));if(!t)return null;let r=JSON.parse(t);return!r||!r.hasOwnProperty("expires")||!r.hasOwnProperty("data")?null:Oe()>=r.expires?(localStorage.removeItem(String(e)),null):r.data},Bi=e=>{!Fe||localStorage.removeItem(String(e))},Ui=()=>{!Fe||localStorage.clear()}});var Ut={};te(Ut,{clear:()=>fn,getItem:()=>mn,removeItem:()=>gn,setItem:()=>dn,storage:()=>Vi});var dn,mn,gn,fn,Vi,Tn=T(()=>{"use strict";n();dn=({key:e,data:t,expires:r})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},mn=e=>{let t=sessionStorage.getItem(String(e));if(!t)return null;let r=JSON.parse(t);return!r||!r.hasOwnProperty("expires")||!r.hasOwnProperty("data")?null:Date.now()>=r.expires?(sessionStorage.removeItem(String(e)),null):r.data},gn=e=>sessionStorage.removeItem(String(e)),fn=()=>sessionStorage.clear(),Vi={setItem:dn,getItem:mn,removeItem:gn,clear:fn}});var de,Me=T(()=>{"use strict";n();ye();Tn();de={session:Ut,local:Bt}});var Vt,I,Be,O=T(()=>{"use strict";n();Vt=require("@reduxjs/toolkit");A();I=(0,Vt.createAction)(Pe),Be=(0,Vt.createAction)(cn,e=>({payload:e}))});var Gt,yn,hn,Ue,$t,xn,Sn,Kc,wn,Yc,Xc,Zc,Jc,Qc,el,tl,rl,Ve,$e=T(()=>{"use strict";n();Gt=require("@multiversx/sdk-core"),yn=require("@reduxjs/toolkit"),hn=require("redux-persist");A();Me();ye();O();Ue={balance:"...",address:"",isGuarded:!1,nonce:0,txCount:0,scrCount:0,claimableRewards:ue},$t={address:"",websocketEvent:null,websocketBatchEvent:null,accounts:{"":Ue},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},xn=(0,yn.createSlice)({name:"accountInfoSlice",initialState:$t,reducers:{setAddress:(e,t)=>{let r=t.payload;e.address=r,e.publicKey=new Gt.Address(r).hex()},setAccount:(e,t)=>{let r=e.address===t.payload.address;e.accounts={[e.address]:r?t.payload:Ue},e.shard=t.payload.shard,e.isAccountLoading=!1,e.accountLoadingError=null},setAccountNonce:(e,t)=>{let{address:r}=e;e.accounts[r].nonce=t.payload},setAccountShard:(e,t)=>{e.shard=t.payload},setLedgerAccount:(e,t)=>{e.ledgerAccount=t.payload},updateLedgerAccount:(e,t)=>{e.ledgerAccount!=null&&(e.ledgerAccount.index=t.payload.index,e.ledgerAccount.address=t.payload.address)},setWalletConnectAccount:(e,t)=>{e.walletConnectAccount=t.payload},setIsAccountLoading:(e,t)=>{e.isAccountLoading=t.payload,e.accountLoadingError=null},setAccountLoadingError:(e,t)=>{e.accountLoadingError=t.payload,e.isAccountLoading=!1},setWebsocketEvent:(e,t)=>{e.websocketEvent={timestamp:Date.now(),message:t.payload}},setWebsocketBatchEvent:(e,t)=>{e.websocketBatchEvent={timestamp:Date.now(),data:t.payload}}},extraReducers:e=>{e.addCase(I,()=>(de.local.removeItem(ae.loginExpiresAt),$t)),e.addCase(Be,(t,r)=>{let{address:o}=r.payload;t.address=o,t.publicKey=new Gt.Address(o).hex()}),e.addCase(hn.REHYDRATE,(t,r)=>{var y;if(!((y=r.payload)!=null&&y.account))return;let{account:o}=r.payload,{address:i,shard:l,accounts:p,publicKey:m}=o;t.address=i,t.shard=l;let d=p&&i in p;t.accounts=d?p:$t.accounts,t.publicKey=m})}}),{setAccount:Sn,setAddress:Kc,setAccountNonce:wn,setAccountShard:Yc,setLedgerAccount:Xc,updateLedgerAccount:Zc,setWalletConnectAccount:Jc,setIsAccountLoading:Qc,setAccountLoadingError:el,setWebsocketEvent:tl,setWebsocketBatchEvent:rl}=xn.actions,Ve=xn.reducer});function he(){return new Date().setHours(new Date().getHours()+24)}function xe(e){de.local.setItem({key:ae.loginExpiresAt,data:e,expires:e})}var Wt=T(()=>{"use strict";n();Me();ye()});var bn,An,In,ml,gl,fl,Tl,yl,hl,vn,xl,Sl,Ge,We=T(()=>{"use strict";n();bn=require("@reduxjs/toolkit");Wt();Y();O();An={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,operaLogin:null,crossWindowLogin:null,isLoginSessionInvalid:!1},In=(0,bn.createSlice)({name:"loginInfoSlice",initialState:An,reducers:{setLoginMethod:(e,t)=>{e.loginMethod=t.payload},setTokenLogin:(e,t)=>{e.tokenLogin=t.payload},setTokenLoginSignature:(e,t)=>{(e==null?void 0:e.tokenLogin)!=null&&(e.tokenLogin.signature=t.payload)},setWalletLogin:(e,t)=>{e.walletLogin=t.payload},setWalletConnectLogin:(e,t)=>{e.walletConnectLogin=t.payload},setLedgerLogin:(e,t)=>{e.ledgerLogin=t.payload},invalidateLoginSession:e=>{e.isLoginSessionInvalid=!0},setLogoutRoute:(e,t)=>{e.logoutRoute=t.payload},setIsWalletConnectV2Initialized:(e,t)=>{e.isWalletConnectV2Initialized=t.payload}},extraReducers:e=>{e.addCase(I,()=>An),e.addCase(Be,(t,r)=>{t.isLoginSessionInvalid=!1,t.loginMethod=r.payload.loginMethod,xe(he())})}}),{setLoginMethod:ml,setWalletConnectLogin:gl,setLedgerLogin:fl,setTokenLogin:Tl,setTokenLoginSignature:yl,setWalletLogin:hl,invalidateLoginSession:vn,setLogoutRoute:xl,setIsWalletConnectV2Initialized:Sl}=In.actions,Ge=In.reducer});var En,kn,Nn,Il,vl,kl,El,He,qe=T(()=>{"use strict";n();En=require("@reduxjs/toolkit");O();kn={},Nn=(0,En.createSlice)({name:"modalsSlice",initialState:kn,reducers:{setTxSubmittedModal:(e,t)=>{e.txSubmittedModal=t.payload},setNotificationModal:(e,t)=>{e.notificationModal=t.payload},clearTxSubmittedModal:e=>{e.txSubmittedModal=void 0},clearNotificationModal:e=>{e.notificationModal=void 0}},extraReducers:e=>{e.addCase(I,()=>kn)}}),{setTxSubmittedModal:Il,setNotificationModal:vl,clearTxSubmittedModal:kl,clearNotificationModal:El}=Nn.actions,He=Nn.reducer});var Ln=T(()=>{"use strict";n()});var Rn=T(()=>{"use strict";n();Ln()});function Cn(e){return e[Math.floor(Math.random()*e.length)]}var Dn=T(()=>{"use strict";n()});var _n=T(()=>{"use strict";n();_t()});var Pn=T(()=>{"use strict";n();Rn();Dn();_n()});var On,Fn,Mn,Ht,$i,Bn,Hl,ql,jl,je,ze=T(()=>{"use strict";n();On=require("@reduxjs/toolkit"),Fn=S(require("lodash.omit")),Mn=require("redux-persist");O();Pn();Ht={id:"not-configured",chainId:"",name:"NOT CONFIGURED",egldLabel:"",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"",walletConnectBridgeAddress:"",walletConnectV2RelayAddress:"",walletConnectV2ProjectId:"",walletConnectV2Options:{},walletAddress:"",apiAddress:"",explorerAddress:"",apiTimeout:"4000"},$i={network:Ht,chainID:"-1"},Bn=(0,On.createSlice)({name:"appConfig",initialState:$i,reducers:{initializeNetworkConfig:(e,t)=>{let r=Cn(t.payload.walletConnectV2RelayAddresses),o=(0,Fn.default)(t.payload,"walletConnectV2RelayAddresses");e.network=w(f(f({},e.network),o),{walletConnectV2RelayAddress:r})},setChainID:(e,t)=>{e.chainID=t.payload},setCustomWalletAddress:(e,t)=>{e.network.customWalletAddress=t.payload}},extraReducers:e=>{e.addCase(I,t=>{t.network.customWalletAddress=void 0}),e.addCase(Mn.REHYDRATE,(t,r)=>{var i,l;if(!((l=(i=r.payload)==null?void 0:i.network)!=null&&l.customWalletAddress))return;let{network:{customWalletAddress:o}}=r.payload;t.network.customWalletAddress=o})}}),{initializeNetworkConfig:Hl,setChainID:ql,setCustomWalletAddress:jl}=Bn.actions,je=Bn.reducer});var Un,qt,Vn,Jl,Ql,ep,Ke,Ye=T(()=>{"use strict";n();Un=require("@reduxjs/toolkit");P();O();qt={isSigning:!1,signedSessions:{}},Vn=(0,Un.createSlice)({name:"signedMessageInfoSliceState",initialState:qt,reducers:{setSignSession:(e,t)=>{let{sessionId:r,signedSession:o,errorMessage:i}=t.payload;i&&(e.errorMessage=i),e.isSigning=o.status==="pending",e.signedSessions[r]=f(f({},e.signedSessions[r]),o)},setSignSessionState:(e,t)=>f(f({},e),t.payload),clearSignedMessageInfo:()=>qt},extraReducers:e=>{e.addCase(I,()=>qt)}}),{setSignSession:Jl,clearSignedMessageInfo:Ql,setSignSessionState:ep}=Vn.actions,Ke=Vn.reducer});var Gn,Wn,$n,Hn,sp,cp,lp,pp,Xe,Ze=T(()=>{"use strict";n();Gn=require("@reduxjs/toolkit"),Wn=require("redux-persist");P();Mt();O();$n={customToasts:[],transactionToasts:[]},Hn=(0,Gn.createSlice)({name:"toastsSlice",initialState:$n,reducers:{addCustomToast:(e,t)=>{let r=t.payload.toastId||`custom-toast-${e.customToasts.length+1}`,o=e.customToasts.findIndex(i=>i.toastId===r);if(o!==-1){e.customToasts[o]=w(f(f({},e.customToasts[o]),t.payload),{type:"custom",toastId:r});return}e.customToasts.push(w(f({},t.payload),{type:"custom",toastId:r}))},removeCustomToast:(e,t)=>{e.customToasts=e.customToasts.filter(r=>r.toastId!==t.payload)},addTransactionToast:(e,t)=>{e.transactionToasts.push({type:"transaction",startTimestamp:Oe(),toastId:t.payload||`custom-toast-${e.transactionToasts.length+1}`})},removeTransactionToast:(e,t)=>{e.transactionToasts=e.transactionToasts.filter(r=>r.toastId!==t.payload)}},extraReducers:e=>{e.addCase(I,()=>$n),e.addCase(Wn.REHYDRATE,(t,r)=>{var i,l;let o=(l=(i=r.customToasts)==null?void 0:i.filter(p=>!("component"in p)))!=null?l:[];t.customToasts=o})}}),{addCustomToast:sp,removeCustomToast:cp,addTransactionToast:lp,removeTransactionToast:pp}=Hn.actions,Xe=Hn.reducer});var qn,zt,Kt,Yt,Gi,jt,jn,gp,fp,Tp,Je,Qe=T(()=>{"use strict";n();qn=require("@reduxjs/toolkit");O();zt="Transaction failed",Kt="Transaction successful",Yt="Processing transaction",Gi="Transaction submitted",jt={},jn=(0,qn.createSlice)({name:"transactionsInfo",initialState:jt,reducers:{setTransactionsDisplayInfo(e,t){let{sessionId:r,transactionsDisplayInfo:o}=t.payload;r!=null&&(e[r]={errorMessage:(o==null?void 0:o.errorMessage)||zt,successMessage:(o==null?void 0:o.successMessage)||Kt,processingMessage:(o==null?void 0:o.processingMessage)||Yt,submittedMessage:(o==null?void 0:o.submittedMessage)||Gi,transactionDuration:o==null?void 0:o.transactionDuration})},clearTransactionsInfoForSessionId(e,t){t.payload!=null&&delete e[t.payload]},clearTransactionsInfo:()=>jt},extraReducers:e=>{e.addCase(I,()=>jt)}}),{clearTransactionsInfo:gp,setTransactionsDisplayInfo:fp,clearTransactionsInfoForSessionId:Tp}=jn.actions,Je=jn.reducer});function zn(e){return e!=null&&(Qi(e)||oa(e))}function et(e){return e!=null&&(ea(e)||ia(e))}function tt(e){return e!=null&&(ta(e)||aa(e))}function Kn(e){return e!=null&&(ra(e)||sa(e))}function Yn(e){return e!=null&&na(e)}function Qi(e){return e!=null&&Hi.includes(e)}function ea(e){return e!=null&&qi.includes(e)}function ta(e){return e!=null&&ji.includes(e)}function ra(e){return e!=null&&zi.includes(e)}function na(e){return e!=null&&Ki.includes(e)}function oa(e){return e!=null&&Yi.includes(e)}function ia(e){return e!=null&&Xi.includes(e)}function aa(e){return e!=null&&Zi.includes(e)}function sa(e){return e!=null&&Ji.includes(e)}var Hi,qi,ji,zi,Ki,Yi,Xi,Zi,Ji,Zt=T(()=>{"use strict";n();Y();Hi=["sent"],qi=["success"],ji=["fail","cancelled","timedOut"],zi=["invalid"],Ki=["timedOut"],Yi=["pending"],Xi=["success"],Zi=["fail","invalid"],Ji=["not executed"]});var Xn,Zn,Se,ca,Jn,vp,kp,Ep,Np,Lp,Rp,Cp,Dp,_p,Pp,Op,rt,nt=T(()=>{"use strict";n();Xn=require("@reduxjs/toolkit"),Zn=require("redux-persist");Y();Zt();O();Se={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},ca={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},Jn=(0,Xn.createSlice)({name:"transactionsSlice",initialState:Se,reducers:{moveTransactionsToSignedState:(e,t)=>{var d,y;let{sessionId:r,transactions:o,errorMessage:i,status:l,redirectRoute:p,customTransactionInformation:m}=t.payload;e.customTransactionInformationForSessionId[r]=f(f(f({},ca),((d=e.signedTransactions[r])==null?void 0:d.customTransactionInformation)||{}),e.customTransactionInformationForSessionId[r]||{}),e.signedTransactions[r]={transactions:o,status:l,errorMessage:i,redirectRoute:p,customTransactionInformation:f(f({},e.customTransactionInformationForSessionId[r]),m!=null?m:{})},((y=e==null?void 0:e.transactionsToSign)==null?void 0:y.sessionId)===r&&(e.transactionsToSign=Se.transactionsToSign)},clearSignedTransaction:(e,t)=>{e.signedTransactions[t.payload]&&delete e.signedTransactions[t.payload]},clearTransactionToSign:e=>{e!=null&&e.transactionsToSign&&(e.transactionsToSign=null)},updateSignedTransaction:(e,t)=>{e.signedTransactions=f(f({},e.signedTransactions),t.payload)},updateSignedTransactions:(e,t)=>{let{sessionId:r,status:o,errorMessage:i,transactions:l}=t.payload;e.signedTransactions[r]!=null&&(e.signedTransactions[r].status=o,i!=null&&(e.signedTransactions[r].errorMessage=i),l!=null&&(e.signedTransactions[r].transactions=l))},updateSignedTransactionStatus:(e,t)=>{var d,y,x,h,N,k,H,ke;let{sessionId:r,status:o,errorMessage:i,transactionHash:l,inTransit:p}=t.payload,m=(y=(d=e.signedTransactions)==null?void 0:d[r])==null?void 0:y.transactions;if(m!=null){e.signedTransactions[r].transactions=m.map(q=>q.hash===l?w(f({},q),{status:o,errorMessage:i,inTransit:p}):q);let Ko=(h=(x=e.signedTransactions[r])==null?void 0:x.transactions)==null?void 0:h.every(q=>et(q.status)),Yo=(k=(N=e.signedTransactions[r])==null?void 0:N.transactions)==null?void 0:k.every(q=>tt(q.status)),Xo=(ke=(H=e.signedTransactions[r])==null?void 0:H.transactions)==null?void 0:ke.every(q=>Kn(q.status));Ko&&(e.signedTransactions[r].status="success"),Yo&&(e.signedTransactions[r].status="fail"),Xo&&(e.signedTransactions[r].status="invalid")}},setTransactionsToSign:(e,t)=>{e.transactionsToSign=t.payload;let{sessionId:r,customTransactionInformation:o}=t.payload;e.customTransactionInformationForSessionId[r]=o,e.signTransactionsError=null},clearAllTransactionsToSign:e=>{e.transactionsToSign=Se.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=Se.signedTransactions},setSignTransactionsError:(e,t)=>{e.signTransactionsError=t.payload},setSignTransactionsCancelMessage:(e,t)=>{e.signTransactionsCancelMessage=t.payload},updateSignedTransactionsCustomTransactionInformation:(e,t)=>{let{sessionId:r,customTransactionInformationOverrides:o}=t.payload;e.signedTransactions[r]!=null&&(e.signedTransactions[r].customTransactionInformation=f(f({},e.signedTransactions[r].customTransactionInformation),o))}},extraReducers:e=>{e.addCase(I,()=>Se),e.addCase(Zn.REHYDRATE,(t,r)=>{var p;if(t.signTransactionsCancelMessage=null,!((p=r.payload)!=null&&p.transactions))return;let{signedTransactions:o,customTransactionInformationForSessionId:i}=r.payload.transactions,l=Object.entries(o).reduce((m,[d,y])=>{let x=new Date(d),h=new Date;return h.setHours(h.getHours()+5),h-x>0||(m[d]=y),m},{});i!=null&&(t.customTransactionInformationForSessionId=i),o!=null&&(t.signedTransactions=l)})}}),{updateSignedTransactionStatus:vp,updateSignedTransactions:kp,setTransactionsToSign:Ep,clearAllTransactionsToSign:Np,clearAllSignedTransactions:Lp,clearSignedTransaction:Rp,clearTransactionToSign:Cp,setSignTransactionsError:Dp,setSignTransactionsCancelMessage:_p,moveTransactionsToSignedState:Pp,updateSignedTransactionsCustomTransactionInformation:Op}=Jn.actions,rt=Jn.reducer});var Qn,Jt,eo,Up,Vp,$p,Gp,ot,it=T(()=>{"use strict";n();Qn=require("@reduxjs/toolkit");O();Jt={},eo=(0,Qn.createSlice)({name:"batchTransactionsSlice",initialState:Jt,reducers:{setBatchTransactions:(e,t)=>{e[t.payload.id]=t.payload},updateBatchTransactions:(e,t)=>{e[t.payload.id]=t.payload},clearBatchTransactions:(e,t)=>{delete e[t.payload.batchId]},clearAllBatchTransactions:()=>Jt},extraReducers:e=>{e.addCase(I,()=>Jt)}}),{setBatchTransactions:Up,updateBatchTransactions:Vp,clearBatchTransactions:$p,clearAllBatchTransactions:Gp}=eo.actions,ot=eo.reducer});var ro,to,no,jp,oo,Qt=T(()=>{"use strict";n();ro=require("@reduxjs/toolkit");O();to={},no=(0,ro.createSlice)({name:"dappConfigSlice",initialState:to,reducers:{setDappConfig:(e,t)=>t.payload},extraReducers:e=>{e.addCase(I,()=>to)}}),{setDappConfig:jp}=no.actions,oo=no.reducer});var me=T(()=>{"use strict";n();$e();We();qe();ze();Ye();Ze();Qe();nt();it();Qt()});var or=T(()=>{"use strict";n()});var fo,Ta,ya,se,dt=T(()=>{"use strict";n();fo=require("@reduxjs/toolkit");or();$e();it();Qt();We();qe();ze();Ye();Ze();Qe();nt();Ta={["account"]:Ve,["dappConfig"]:oo,["loginInfo"]:Ge,["modals"]:He,["networkConfig"]:je,["signedMessageInfo"]:Ke,["toasts"]:Xe,["transactionsInfo"]:Je,["transactions"]:rt,["batchTransactions"]:ot},ya=(e={})=>(0,fo.combineReducers)(f(f({},Ta),e)),se=ya});var xo={};te(xo,{default:()=>_a,sessionStorageReducers:()=>ir});function J(e,t=[]){return{key:e,version:1,storage:yo.default,blacklist:t}}var C,To,yo,ha,we,xa,Sa,wa,Aa,ba,Ia,va,ka,Ea,Na,ho,La,ir,Ra,Ca,Da,_a,So=T(()=>{"use strict";n();C=require("redux-persist"),To=S(require("redux-persist/lib/storage")),yo=S(require("redux-persist/lib/storage/session"));dt();me();$e();it();We();qe();ze();Ye();Ze();Qe();nt();or();ha={persistReducersStorageType:"localStorage"},we={["account"]:"sdk-dapp-account",["loginInfo"]:"sdk-dapp-login-info",["modals"]:"sdk-dapp-modals",["networkConfig"]:"sdk-dapp-network-config"},xa=J(we["account"]),Sa=J(we["loginInfo"]),wa=J(we["modals"]),Aa=J(we["networkConfig"]),ba={2:e=>w(f({},e),{networkConfig:Ht})};Ia=J("sdk-dapp-transactionsInfo"),va=J("sdk-dapp-transactions",["transactionsToSign"]),ka=J("sdk-dapp-batchTransactions",["batchTransactions"]),Ea=J("sdk-dapp-toasts"),Na=J("sdk-dapp-signedMessageInfo"),ho={key:"sdk-dapp-store",version:2,storage:To.default,whitelist:Object.keys(we),migrate:(0,C.createMigrate)(ba,{debug:!1})},La=w(f({},ho),{whitelist:[]}),ir={["toasts"]:(0,C.persistReducer)(Ea,Xe),["transactions"]:(0,C.persistReducer)(va,rt),["transactionsInfo"]:(0,C.persistReducer)(Ia,Je),["batchTransactions"]:(0,C.persistReducer)(ka,ot),["signedMessageInfo"]:(0,C.persistReducer)(Na,Ke)},Ra=w(f({},ir),{["account"]:(0,C.persistReducer)(xa,Ve),["loginInfo"]:(0,C.persistReducer)(Sa,Ge),["modals"]:(0,C.persistReducer)(wa,He),["networkConfig"]:(0,C.persistReducer)(Aa,je)}),Ca=ha.persistReducersStorageType==="localStorage",Da=Ca?(0,C.persistReducer)(ho,se(ir)):(0,C.persistReducer)(La,se(Ra)),_a=Da});var wo={};te(wo,{default:()=>Pa});var Pa,Ao=T(()=>{"use strict";n();dt();Pa=se()});var bo={};te(bo,{default:()=>Fa});var _,Oa,Fa,Io=T(()=>{"use strict";n();_=require("redux-persist"),Oa=[_.FLUSH,_.REHYDRATE,_.PAUSE,_.PERSIST,_.PURGE,_.REGISTER],Fa=Oa});var Eo={};te(Eo,{default:()=>ko});function ko(e){return(0,vo.persistStore)(e)}var vo,No=T(()=>{"use strict";n();vo=require("redux-persist")});var _s={};te(_s,{getBatchTransactionsStatus:()=>Ds});module.exports=fe(_s);n();var zo=S(require("axios"));n();n();n();var hs=S(require("axios"));n();n();me();n();var io=S(require("lodash.isequal")),at=require("reselect"),g=(0,at.createSelectorCreator)(at.defaultMemoize,io.default);var G=e=>e.account,st=g(G,e=>e.address),er=g(G,st,(e,t)=>t in e.accounts?e.accounts[t]:Ue),cu=g(G,er,(e,t)=>{let i=e,{accounts:r}=i,o=St(i,["accounts"]);return w(f({},o),{account:t})}),lu=g(er,e=>e.balance),pu=g(er,e=>{var t;return((t=e==null?void 0:e.nonce)==null?void 0:t.valueOf())||0}),uu=g(G,e=>e.shard),du=g(G,e=>e.ledgerAccount),mu=g(G,e=>e.walletConnectAccount),gu=g(G,e=>e.isAccountLoading),fu=g(G,e=>e.accountLoadingError),Tu=g(G,e=>e.websocketEvent),yu=g(G,e=>e.websocketBatchEvent);n();var la=e=>e.dappConfig,Su=g(la,e=>e.shouldUseWebViewProvider);n();var X=e=>e.loginInfo,Iu=g(X,e=>e.loginMethod),vu=g(X,st,(e,t)=>Boolean(t)),ku=g(X,e=>e.walletConnectLogin),Eu=g(X,e=>e.ledgerLogin),Nu=g(X,e=>e.walletLogin),Lu=g(X,e=>e.isLoginSessionInvalid),Ru=g(X,e=>e.tokenLogin),Cu=g(X,e=>e.logoutRoute),Du=g(X,e=>e.isWalletConnectV2Initialized);n();var ao=e=>e.modals,Ou=g(ao,e=>e.txSubmittedModal),Fu=g(ao,e=>e.notificationModal);n();var ee=e=>e.networkConfig,Uu=g(ee,e=>e.chainID),Vu=g(ee,e=>e.network.walletConnectBridgeAddress),$u=g(ee,e=>e.network.walletConnectV2RelayAddress),Gu=g(ee,e=>e.network.walletConnectV2ProjectId),Wu=g(ee,e=>e.network.walletConnectV2Options),Hu=g(ee,e=>e.network.walletConnectDeepLink),Z=g(ee,e=>e.network),so=g(Z,e=>e.apiAddress),co=g(Z,e=>e.explorerAddress),qu=g(Z,e=>{var t;return(t=e.customWalletAddress)!=null?t:e.walletAddress}),ju=g(Z,e=>e.xAliasAddress),zu=g(Z,e=>e.egldLabel);n();var ct=e=>e.signedMessageInfo,Xu=g(ct,e=>e.isSigning),Zu=g(ct,e=>e.errorMessage),Ju=g(ct,e=>{let t=Object.keys(e.signedSessions),r=t.length;return e.signedSessions[t[r-1]]}),Qu=g(ct,e=>{let t=Object.keys(e.signedSessions),r=t.length;return t.length>0?t[r-1]:""});n();var lo=e=>e.toasts,rd=g(lo,e=>e.customToasts),nd=g(lo,e=>e.transactionToasts);n();me();var po={errorMessage:zt,successMessage:Kt,processingMessage:Yt},pa=e=>e.transactionsInfo,sd=g(pa,(e,t)=>t,(e,t)=>t!=null&&(e==null?void 0:e[Number(t)])||po);n();n();var W=require("@multiversx/sdk-core");A();n();var rr=require("@multiversx/sdk-core/out");n();n();function tr(e){try{let t=atob(e),r=btoa(t),o=a.Buffer.from(e,"base64").toString(),i=a.Buffer.from(o).toString("base64");if(e===r&&e===i||t===o)return!0}catch(t){return!1}return!1}n();n();n();n();var uo=e=>{let t=e!=null?e:"";return tr(t)?rr.TransactionPayload.fromEncoded(t):new rr.TransactionPayload(t)};n();A();var lt=({data:e,onlySetGuardian:t})=>e?t?e.startsWith("SetGuardian"):Object.values(Dt).some(r=>e.startsWith(r)):!1;function nr(e){var o,i,l;let t=Object.assign({},e);lt({data:t.data,onlySetGuardian:!0})&&(delete t.senderUsername,delete t.receiverUsername);let r=new W.Transaction(f(f(w(f(w(f({value:t.value.valueOf(),data:uo(t.data),nonce:t.nonce.valueOf(),receiver:new W.Address(t.receiver)},t.receiverUsername?{receiverUsername:t.receiverUsername}:{}),{sender:new W.Address(t.sender)}),t.senderUsername?{senderUsername:t.senderUsername}:{}),{gasLimit:(o=t.gasLimit.valueOf())!=null?o:Ot,gasPrice:(i=t.gasPrice.valueOf())!=null?i:Ft,chainID:t.chainID.valueOf(),version:new W.TransactionVersion((l=t.version)!=null?l:sn)}),t.options?{options:new W.TransactionOptions(t.options)}:{}),t.guardian?{guardian:new W.Address(t.guardian)}:{}));return t.guardianSignature&&r.applyGuardianSignature(a.Buffer.from(t.guardianSignature,"hex")),t.signature&&r.applySignature(a.Buffer.from(t.signature,"hex")),r}n();n();A();n();n();var ar=require("@reduxjs/toolkit"),Do=require("react-redux/lib/utils/Subscription");me();n();var mo=S(require("lodash.throttle"));A();me();Wt();Me();ye();var ma=[Pe],pt=!1,ga=(0,mo.default)(()=>{xe(he())},5e3),go=e=>t=>r=>{if(ma.includes(r.type))return t(r);let o=e.getState(),i=de.local.getItem(ae.loginExpiresAt);if(!Boolean(o==null?void 0:o.account.address))return t(r);if(i==null)return xe(he());let p=Date.now();return i-p<0&&!pt?setTimeout(()=>{pt=!0,e.dispatch(vn())},1e3):(pt&&(pt=!1),ga()),t(r)};n();n();function ut(){return typeof sessionStorage!="undefined"}var Lo=ut()?(So(),fe(xo)).default:(Ao(),fe(wo)).default,Ro=ut()?(Io(),fe(bo)).default:[],Co=ut()?(No(),fe(Eo)).default:e=>e;dt();var F=(0,ar.configureStore)({reducer:Lo,middleware:e=>e({serializableCheck:{ignoredActions:[...Ro,wn.type,Sn.type],ignoredPaths:["payload.nonce","account.account.nonce","providers.accountProvider"]}}).concat(go)}),Tm=(0,Do.createSubscription)(F),ym=Co(F),hm=(0,ar.configureStore)({reducer:se});n();n();var Ba=require("@multiversx/sdk-core/out");n();A();n();var Po=require("@multiversx/sdk-core");P();n();var Ua=require("@multiversx/sdk-core");n();n();n();var Va=require("@multiversx/sdk-core"),$a=S(require("bignumber.js"));Y();n();n();n();var sr="batch";n();n();n();n();R();n();n();R();n();n();n();var za=S(require("bignumber.js"));A();n();var ja=require("@multiversx/sdk-core"),cr=S(require("bignumber.js"));A();n();var Ha=S(require("bignumber.js"));n();cr.default.config({ROUNDING_MODE:cr.default.ROUND_FLOOR});n();n();n();A();n();n();n();n();A();n();A();n();var Ka=require("@multiversx/sdk-core");A();n();var be=require("@multiversx/sdk-core"),Xa=S(require("bignumber.js"));A();n();n();var Ya=S(require("bignumber.js"));A();n();A();n();n();n();n();n();n();A();n();A();n();A();n();R();var Ja=["reDelegateRewards","claimRewards","unBond"],Qa=["wrapEgld","unwrapEgld"],es=["unStake"],ts=["unDelegate"];n();n();n();A();n();var os=S(require("bignumber.js"));n();n();R();n();var is=S(require("bignumber.js"));n();n();n();n();var ss=S(require("bignumber.js"));P();n();n();n();n();Y();n();var ps=require("@multiversx/sdk-web-wallet-provider");A();n();var ls=S(require("qs"));n();n();n();n();n();var gt=()=>typeof window!="undefined"&&typeof(window==null?void 0:window.location)!="undefined";n();n();var qy={search:gt()?window.location.search:"",removeParams:[]};n();n();n();n();R();n();n();n();var us=S(require("linkifyjs"));n();A();n();var ds=S(require("bignumber.js"));n();P();n();n();Y();n();Y();n();n();n();R();n();R();n();var ms=S(require("bignumber.js"));A();R();n();R();n();var Go=require("react");P();n();n();R();n();n();var gs=require("@multiversx/sdk-core/out"),fs=S(require("bignumber.js"));R();n();P();n();n();P();var Ux=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}];n();var Wo=require("react");P();n();var ys=require("react");R();var zx=["create","localMint","ESDTLocalMint","addQuantity","burn","localBurn","ESDTLocalBurn","wipe","writeLog","signalError"];Zt();var Tt=e=>e.transactions,ve=g(Tt,e=>e.signedTransactions),PS=g(Tt,e=>e.signTransactionsError),OS=g(Tt,e=>e.signTransactionsCancelMessage),yt=e=>t=>Object.entries(t).reduce((r,[o,i])=>(e(i.status)&&(r[o]=i),r),{}),FS=g(ve,yt(zn)),MS=g(ve,yt(et)),BS=g(ve,yt(tt)),US=g(ve,yt(Yn)),VS=g(Tt,e=>{var t;return(e==null?void 0:e.transactionsToSign)==null?null:w(f({},e.transactionsToSign),{transactions:((t=e==null?void 0:e.transactionsToSign)==null?void 0:t.transactions.map(r=>nr(r)))||[]})}),$S=g(ve,(e,t)=>t,(e,t)=>t!=null?(e==null?void 0:e[t])||{}:{});n();var xs=S(require("axios"));ie();n();A();n();var Ss=S(require("axios"));n();var As=S(require("axios"));n();n();var bs=S(require("axios"));n();var Is=S(require("axios"));n();n();n();n();var qo=require("@lifeomic/axios-fetch"),ur=S(require("axios")),dr=(0,qo.buildAxiosFetch)(ur.default),mr=(e,t)=>E(void 0,null,function*(){if(!e.ok)throw new Error(`HTTP error! Status: ${e.status}`);let o=e.clone().json(),[i]=yield Promise.all([o]);return{data:i,status:e.status,statusText:e.statusText,headers:e.headers,config:t}});function vs(e,t,r){return E(this,null,function*(){try{let o=yield dr(e,f({method:"POST",body:t?JSON.stringify(t):void 0,headers:f({"Content-Type":"application/json"},(r==null?void 0:r.headers)||{})},r));return mr(o,r)}catch(o){throw console.error("Fetch Error:",o),o}})}function ks(e,t){return E(this,null,function*(){try{let r=yield dr(e,t);if(!r.ok)throw new Error(`HTTP error! Status: ${r.status}`);return mr(r,t)}catch(r){throw console.error("Fetch Error:",r),r}})}function Es(e,t,r){return E(this,null,function*(){try{let o=yield dr(e,f({method:"PATCH",body:t?JSON.stringify(t):void 0,headers:(r==null?void 0:r.headers)||{}},r));if(!o.ok)throw new Error(`HTTP error! Status: ${o.status}`);return mr(o,r)}catch(o){throw console.error("Fetch Error:",o),o}})}var ht=ur.default.create();ht.get=ks;ht.post=vs;ht.patch=Es;n();n();n();n();ie();n();var Ns=S(require("axios"));n();var Ls=S(require("axios"));n();ie();n();ie();n();n();var Rs=S(require("axios"));n();var Cs=S(require("axios"));ie();function Ds(r){return E(this,arguments,function*({batchId:e,address:t}){let{apiAddress:o,apiTimeout:i}=Z(F.getState()),{data:l}=yield zo.default.get(`${o}/${sr}/${t}/${e}`,{timeout:Number(i!=null?i:Pt)});return l})}0&&(module.exports={getBatchTransactionsStatus});
|
|
1
|
+
"use strict";var Zo=Object.create;var ge=Object.defineProperty,Jo=Object.defineProperties,Qo=Object.getOwnPropertyDescriptor,ei=Object.getOwnPropertyDescriptors,ti=Object.getOwnPropertyNames,Ee=Object.getOwnPropertySymbols,ri=Object.getPrototypeOf,xt=Object.prototype.hasOwnProperty,fr=Object.prototype.propertyIsEnumerable;var gr=(e,t,r)=>t in e?ge(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,f=(e,t)=>{for(var r in t||(t={}))xt.call(t,r)&&gr(e,r,t[r]);if(Ee)for(var r of Ee(t))fr.call(t,r)&&gr(e,r,t[r]);return e},w=(e,t)=>Jo(e,ei(t));var St=(e,t)=>{var r={};for(var o in e)xt.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(e!=null&&Ee)for(var o of Ee(e))t.indexOf(o)<0&&fr.call(e,o)&&(r[o]=e[o]);return r};var T=(e,t)=>()=>(e&&(t=e(e=0)),t);var Ne=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),te=(e,t)=>{for(var r in t)ge(e,r,{get:t[r],enumerable:!0})},Tr=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of ti(t))!xt.call(e,i)&&i!==r&&ge(e,i,{get:()=>t[i],enumerable:!(o=Qo(t,i))||o.enumerable});return e};var S=(e,t,r)=>(r=e!=null?Zo(ri(e)):{},Tr(t||!e||!e.__esModule?ge(r,"default",{value:e,enumerable:!0}):r,e)),fe=e=>Tr(ge({},"__esModule",{value:!0}),e);var E=(e,t,r)=>new Promise((o,i)=>{var l=d=>{try{m(r.next(d))}catch(y){i(y)}},p=d=>{try{m(r.throw(d))}catch(y){i(y)}},m=d=>d.done?o(d.value):Promise.resolve(d.value).then(l,p);m((r=r.apply(e,t)).next())});var xr=Ne(Le=>{"use strict";n();Le.byteLength=oi;Le.toByteArray=ai;Le.fromByteArray=li;var M=[],D=[],ni=typeof Uint8Array!="undefined"?Uint8Array:Array,wt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(re=0,yr=wt.length;re<yr;++re)M[re]=wt[re],D[wt.charCodeAt(re)]=re;var re,yr;D["-".charCodeAt(0)]=62;D["_".charCodeAt(0)]=63;function hr(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");r===-1&&(r=t);var o=r===t?0:4-r%4;return[r,o]}function oi(e){var t=hr(e),r=t[0],o=t[1];return(r+o)*3/4-o}function ii(e,t,r){return(t+r)*3/4-r}function ai(e){var t,r=hr(e),o=r[0],i=r[1],l=new ni(ii(e,o,i)),p=0,m=i>0?o-4:o,d;for(d=0;d<m;d+=4)t=D[e.charCodeAt(d)]<<18|D[e.charCodeAt(d+1)]<<12|D[e.charCodeAt(d+2)]<<6|D[e.charCodeAt(d+3)],l[p++]=t>>16&255,l[p++]=t>>8&255,l[p++]=t&255;return i===2&&(t=D[e.charCodeAt(d)]<<2|D[e.charCodeAt(d+1)]>>4,l[p++]=t&255),i===1&&(t=D[e.charCodeAt(d)]<<10|D[e.charCodeAt(d+1)]<<4|D[e.charCodeAt(d+2)]>>2,l[p++]=t>>8&255,l[p++]=t&255),l}function si(e){return M[e>>18&63]+M[e>>12&63]+M[e>>6&63]+M[e&63]}function ci(e,t,r){for(var o,i=[],l=t;l<r;l+=3)o=(e[l]<<16&16711680)+(e[l+1]<<8&65280)+(e[l+2]&255),i.push(si(o));return i.join("")}function li(e){for(var t,r=e.length,o=r%3,i=[],l=16383,p=0,m=r-o;p<m;p+=l)i.push(ci(e,p,p+l>m?m:p+l));return o===1?(t=e[r-1],i.push(M[t>>2]+M[t<<4&63]+"==")):o===2&&(t=(e[r-2]<<8)+e[r-1],i.push(M[t>>10]+M[t>>4&63]+M[t<<2&63]+"=")),i.join("")}});var Sr=Ne(At=>{n();At.read=function(e,t,r,o,i){var l,p,m=i*8-o-1,d=(1<<m)-1,y=d>>1,x=-7,h=r?i-1:0,N=r?-1:1,k=e[t+h];for(h+=N,l=k&(1<<-x)-1,k>>=-x,x+=m;x>0;l=l*256+e[t+h],h+=N,x-=8);for(p=l&(1<<-x)-1,l>>=-x,x+=o;x>0;p=p*256+e[t+h],h+=N,x-=8);if(l===0)l=1-y;else{if(l===d)return p?NaN:(k?-1:1)*(1/0);p=p+Math.pow(2,o),l=l-y}return(k?-1:1)*p*Math.pow(2,l-o)};At.write=function(e,t,r,o,i,l){var p,m,d,y=l*8-i-1,x=(1<<y)-1,h=x>>1,N=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,k=o?0:l-1,H=o?1:-1,ke=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(m=isNaN(t)?1:0,p=x):(p=Math.floor(Math.log(t)/Math.LN2),t*(d=Math.pow(2,-p))<1&&(p--,d*=2),p+h>=1?t+=N/d:t+=N*Math.pow(2,1-h),t*d>=2&&(p++,d/=2),p+h>=x?(m=0,p=x):p+h>=1?(m=(t*d-1)*Math.pow(2,i),p=p+h):(m=t*Math.pow(2,h-1)*Math.pow(2,i),p=0));i>=8;e[r+k]=m&255,k+=H,m/=256,i-=8);for(p=p<<i|m,y+=i;y>0;e[r+k]=p&255,k+=H,p/=256,y-=8);e[r+k-H]|=ke*128}});var Pr=Ne(le=>{"use strict";n();var bt=xr(),ce=Sr(),wr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;le.Buffer=u;le.SlowBuffer=fi;le.INSPECT_MAX_BYTES=50;var Re=2147483647;le.kMaxLength=Re;u.TYPED_ARRAY_SUPPORT=pi();!u.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function pi(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),e.foo()===42}catch(r){return!1}}Object.defineProperty(u.prototype,"parent",{enumerable:!0,get:function(){if(!!u.isBuffer(this))return this.buffer}});Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(!!u.isBuffer(this))return this.byteOffset}});function j(e){if(e>Re)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,u.prototype),t}function u(e,t,r){if(typeof e=="number"){if(typeof t=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Et(e)}return Ir(e,t,r)}u.poolSize=8192;function Ir(e,t,r){if(typeof e=="string")return di(e,t);if(ArrayBuffer.isView(e))return mi(e);if(e==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(B(e,ArrayBuffer)||e&&B(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(B(e,SharedArrayBuffer)||e&&B(e.buffer,SharedArrayBuffer)))return vt(e,t,r);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var o=e.valueOf&&e.valueOf();if(o!=null&&o!==e)return u.from(o,t,r);var i=gi(e);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return u.from(e[Symbol.toPrimitive]("string"),t,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}u.from=function(e,t,r){return Ir(e,t,r)};Object.setPrototypeOf(u.prototype,Uint8Array.prototype);Object.setPrototypeOf(u,Uint8Array);function vr(e){if(typeof e!="number")throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function ui(e,t,r){return vr(e),e<=0?j(e):t!==void 0?typeof r=="string"?j(e).fill(t,r):j(e).fill(t):j(e)}u.alloc=function(e,t,r){return ui(e,t,r)};function Et(e){return vr(e),j(e<0?0:Nt(e)|0)}u.allocUnsafe=function(e){return Et(e)};u.allocUnsafeSlow=function(e){return Et(e)};function di(e,t){if((typeof t!="string"||t==="")&&(t="utf8"),!u.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=kr(e,t)|0,o=j(r),i=o.write(e,t);return i!==r&&(o=o.slice(0,i)),o}function It(e){for(var t=e.length<0?0:Nt(e.length)|0,r=j(t),o=0;o<t;o+=1)r[o]=e[o]&255;return r}function mi(e){if(B(e,Uint8Array)){var t=new Uint8Array(e);return vt(t.buffer,t.byteOffset,t.byteLength)}return It(e)}function vt(e,t,r){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw new RangeError('"length" is outside of buffer bounds');var o;return t===void 0&&r===void 0?o=new Uint8Array(e):r===void 0?o=new Uint8Array(e,t):o=new Uint8Array(e,t,r),Object.setPrototypeOf(o,u.prototype),o}function gi(e){if(u.isBuffer(e)){var t=Nt(e.length)|0,r=j(t);return r.length===0||e.copy(r,0,0,t),r}if(e.length!==void 0)return typeof e.length!="number"||Lt(e.length)?j(0):It(e);if(e.type==="Buffer"&&Array.isArray(e.data))return It(e.data)}function Nt(e){if(e>=Re)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Re.toString(16)+" bytes");return e|0}function fi(e){return+e!=e&&(e=0),u.alloc(+e)}u.isBuffer=function(t){return t!=null&&t._isBuffer===!0&&t!==u.prototype};u.compare=function(t,r){if(B(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),B(r,Uint8Array)&&(r=u.from(r,r.offset,r.byteLength)),!u.isBuffer(t)||!u.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===r)return 0;for(var o=t.length,i=r.length,l=0,p=Math.min(o,i);l<p;++l)if(t[l]!==r[l]){o=t[l],i=r[l];break}return o<i?-1:i<o?1:0};u.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};u.concat=function(t,r){if(!Array.isArray(t))throw new TypeError('"list" argument must be an Array of Buffers');if(t.length===0)return u.alloc(0);var o;if(r===void 0)for(r=0,o=0;o<t.length;++o)r+=t[o].length;var i=u.allocUnsafe(r),l=0;for(o=0;o<t.length;++o){var p=t[o];if(B(p,Uint8Array))l+p.length>i.length?u.from(p).copy(i,l):Uint8Array.prototype.set.call(i,p,l);else if(u.isBuffer(p))p.copy(i,l);else throw new TypeError('"list" argument must be an Array of Buffers');l+=p.length}return i};function kr(e,t){if(u.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||B(e,ArrayBuffer))return e.byteLength;if(typeof e!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,o=arguments.length>2&&arguments[2]===!0;if(!o&&r===0)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return kt(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Dr(e).length;default:if(i)return o?-1:kt(e).length;t=(""+t).toLowerCase(),i=!0}}u.byteLength=kr;function Ti(e,t,r){var o=!1;if((t===void 0||t<0)&&(t=0),t>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,t>>>=0,r<=t))return"";for(e||(e="utf8");;)switch(e){case"hex":return ki(this,t,r);case"utf8":case"utf-8":return Nr(this,t,r);case"ascii":return Ii(this,t,r);case"latin1":case"binary":return vi(this,t,r);case"base64":return Ai(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ei(this,t,r);default:if(o)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),o=!0}}u.prototype._isBuffer=!0;function ne(e,t,r){var o=e[t];e[t]=e[r],e[r]=o}u.prototype.swap16=function(){var t=this.length;if(t%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<t;r+=2)ne(this,r,r+1);return this};u.prototype.swap32=function(){var t=this.length;if(t%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<t;r+=4)ne(this,r,r+3),ne(this,r+1,r+2);return this};u.prototype.swap64=function(){var t=this.length;if(t%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<t;r+=8)ne(this,r,r+7),ne(this,r+1,r+6),ne(this,r+2,r+5),ne(this,r+3,r+4);return this};u.prototype.toString=function(){var t=this.length;return t===0?"":arguments.length===0?Nr(this,0,t):Ti.apply(this,arguments)};u.prototype.toLocaleString=u.prototype.toString;u.prototype.equals=function(t){if(!u.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t?!0:u.compare(this,t)===0};u.prototype.inspect=function(){var t="",r=le.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"};wr&&(u.prototype[wr]=u.prototype.inspect);u.prototype.compare=function(t,r,o,i,l){if(B(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),!u.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(r===void 0&&(r=0),o===void 0&&(o=t?t.length:0),i===void 0&&(i=0),l===void 0&&(l=this.length),r<0||o>t.length||i<0||l>this.length)throw new RangeError("out of range index");if(i>=l&&r>=o)return 0;if(i>=l)return-1;if(r>=o)return 1;if(r>>>=0,o>>>=0,i>>>=0,l>>>=0,this===t)return 0;for(var p=l-i,m=o-r,d=Math.min(p,m),y=this.slice(i,l),x=t.slice(r,o),h=0;h<d;++h)if(y[h]!==x[h]){p=y[h],m=x[h];break}return p<m?-1:m<p?1:0};function Er(e,t,r,o,i){if(e.length===0)return-1;if(typeof r=="string"?(o=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,Lt(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof t=="string"&&(t=u.from(t,o)),u.isBuffer(t))return t.length===0?-1:Ar(e,t,r,o,i);if(typeof t=="number")return t=t&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):Ar(e,[t],r,o,i);throw new TypeError("val must be string, number or Buffer")}function Ar(e,t,r,o,i){var l=1,p=e.length,m=t.length;if(o!==void 0&&(o=String(o).toLowerCase(),o==="ucs2"||o==="ucs-2"||o==="utf16le"||o==="utf-16le")){if(e.length<2||t.length<2)return-1;l=2,p/=2,m/=2,r/=2}function d(k,H){return l===1?k[H]:k.readUInt16BE(H*l)}var y;if(i){var x=-1;for(y=r;y<p;y++)if(d(e,y)===d(t,x===-1?0:y-x)){if(x===-1&&(x=y),y-x+1===m)return x*l}else x!==-1&&(y-=y-x),x=-1}else for(r+m>p&&(r=p-m),y=r;y>=0;y--){for(var h=!0,N=0;N<m;N++)if(d(e,y+N)!==d(t,N)){h=!1;break}if(h)return y}return-1}u.prototype.includes=function(t,r,o){return this.indexOf(t,r,o)!==-1};u.prototype.indexOf=function(t,r,o){return Er(this,t,r,o,!0)};u.prototype.lastIndexOf=function(t,r,o){return Er(this,t,r,o,!1)};function yi(e,t,r,o){r=Number(r)||0;var i=e.length-r;o?(o=Number(o),o>i&&(o=i)):o=i;var l=t.length;o>l/2&&(o=l/2);for(var p=0;p<o;++p){var m=parseInt(t.substr(p*2,2),16);if(Lt(m))return p;e[r+p]=m}return p}function hi(e,t,r,o){return Ce(kt(t,e.length-r),e,r,o)}function xi(e,t,r,o){return Ce(Ri(t),e,r,o)}function Si(e,t,r,o){return Ce(Dr(t),e,r,o)}function wi(e,t,r,o){return Ce(Ci(t,e.length-r),e,r,o)}u.prototype.write=function(t,r,o,i){if(r===void 0)i="utf8",o=this.length,r=0;else if(o===void 0&&typeof r=="string")i=r,o=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(o)?(o=o>>>0,i===void 0&&(i="utf8")):(i=o,o=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var l=this.length-r;if((o===void 0||o>l)&&(o=l),t.length>0&&(o<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var p=!1;;)switch(i){case"hex":return yi(this,t,r,o);case"utf8":case"utf-8":return hi(this,t,r,o);case"ascii":case"latin1":case"binary":return xi(this,t,r,o);case"base64":return Si(this,t,r,o);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return wi(this,t,r,o);default:if(p)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),p=!0}};u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Ai(e,t,r){return t===0&&r===e.length?bt.fromByteArray(e):bt.fromByteArray(e.slice(t,r))}function Nr(e,t,r){r=Math.min(e.length,r);for(var o=[],i=t;i<r;){var l=e[i],p=null,m=l>239?4:l>223?3:l>191?2:1;if(i+m<=r){var d,y,x,h;switch(m){case 1:l<128&&(p=l);break;case 2:d=e[i+1],(d&192)===128&&(h=(l&31)<<6|d&63,h>127&&(p=h));break;case 3:d=e[i+1],y=e[i+2],(d&192)===128&&(y&192)===128&&(h=(l&15)<<12|(d&63)<<6|y&63,h>2047&&(h<55296||h>57343)&&(p=h));break;case 4:d=e[i+1],y=e[i+2],x=e[i+3],(d&192)===128&&(y&192)===128&&(x&192)===128&&(h=(l&15)<<18|(d&63)<<12|(y&63)<<6|x&63,h>65535&&h<1114112&&(p=h))}}p===null?(p=65533,m=1):p>65535&&(p-=65536,o.push(p>>>10&1023|55296),p=56320|p&1023),o.push(p),i+=m}return bi(o)}var br=4096;function bi(e){var t=e.length;if(t<=br)return String.fromCharCode.apply(String,e);for(var r="",o=0;o<t;)r+=String.fromCharCode.apply(String,e.slice(o,o+=br));return r}function Ii(e,t,r){var o="";r=Math.min(e.length,r);for(var i=t;i<r;++i)o+=String.fromCharCode(e[i]&127);return o}function vi(e,t,r){var o="";r=Math.min(e.length,r);for(var i=t;i<r;++i)o+=String.fromCharCode(e[i]);return o}function ki(e,t,r){var o=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>o)&&(r=o);for(var i="",l=t;l<r;++l)i+=Di[e[l]];return i}function Ei(e,t,r){for(var o=e.slice(t,r),i="",l=0;l<o.length-1;l+=2)i+=String.fromCharCode(o[l]+o[l+1]*256);return i}u.prototype.slice=function(t,r){var o=this.length;t=~~t,r=r===void 0?o:~~r,t<0?(t+=o,t<0&&(t=0)):t>o&&(t=o),r<0?(r+=o,r<0&&(r=0)):r>o&&(r=o),r<t&&(r=t);var i=this.subarray(t,r);return Object.setPrototypeOf(i,u.prototype),i};function v(e,t,r){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}u.prototype.readUintLE=u.prototype.readUIntLE=function(t,r,o){t=t>>>0,r=r>>>0,o||v(t,r,this.length);for(var i=this[t],l=1,p=0;++p<r&&(l*=256);)i+=this[t+p]*l;return i};u.prototype.readUintBE=u.prototype.readUIntBE=function(t,r,o){t=t>>>0,r=r>>>0,o||v(t,r,this.length);for(var i=this[t+--r],l=1;r>0&&(l*=256);)i+=this[t+--r]*l;return i};u.prototype.readUint8=u.prototype.readUInt8=function(t,r){return t=t>>>0,r||v(t,1,this.length),this[t]};u.prototype.readUint16LE=u.prototype.readUInt16LE=function(t,r){return t=t>>>0,r||v(t,2,this.length),this[t]|this[t+1]<<8};u.prototype.readUint16BE=u.prototype.readUInt16BE=function(t,r){return t=t>>>0,r||v(t,2,this.length),this[t]<<8|this[t+1]};u.prototype.readUint32LE=u.prototype.readUInt32LE=function(t,r){return t=t>>>0,r||v(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+this[t+3]*16777216};u.prototype.readUint32BE=u.prototype.readUInt32BE=function(t,r){return t=t>>>0,r||v(t,4,this.length),this[t]*16777216+(this[t+1]<<16|this[t+2]<<8|this[t+3])};u.prototype.readIntLE=function(t,r,o){t=t>>>0,r=r>>>0,o||v(t,r,this.length);for(var i=this[t],l=1,p=0;++p<r&&(l*=256);)i+=this[t+p]*l;return l*=128,i>=l&&(i-=Math.pow(2,8*r)),i};u.prototype.readIntBE=function(t,r,o){t=t>>>0,r=r>>>0,o||v(t,r,this.length);for(var i=r,l=1,p=this[t+--i];i>0&&(l*=256);)p+=this[t+--i]*l;return l*=128,p>=l&&(p-=Math.pow(2,8*r)),p};u.prototype.readInt8=function(t,r){return t=t>>>0,r||v(t,1,this.length),this[t]&128?(255-this[t]+1)*-1:this[t]};u.prototype.readInt16LE=function(t,r){t=t>>>0,r||v(t,2,this.length);var o=this[t]|this[t+1]<<8;return o&32768?o|4294901760:o};u.prototype.readInt16BE=function(t,r){t=t>>>0,r||v(t,2,this.length);var o=this[t+1]|this[t]<<8;return o&32768?o|4294901760:o};u.prototype.readInt32LE=function(t,r){return t=t>>>0,r||v(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24};u.prototype.readInt32BE=function(t,r){return t=t>>>0,r||v(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]};u.prototype.readFloatLE=function(t,r){return t=t>>>0,r||v(t,4,this.length),ce.read(this,t,!0,23,4)};u.prototype.readFloatBE=function(t,r){return t=t>>>0,r||v(t,4,this.length),ce.read(this,t,!1,23,4)};u.prototype.readDoubleLE=function(t,r){return t=t>>>0,r||v(t,8,this.length),ce.read(this,t,!0,52,8)};u.prototype.readDoubleBE=function(t,r){return t=t>>>0,r||v(t,8,this.length),ce.read(this,t,!1,52,8)};function L(e,t,r,o,i,l){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<l)throw new RangeError('"value" argument is out of bounds');if(r+o>e.length)throw new RangeError("Index out of range")}u.prototype.writeUintLE=u.prototype.writeUIntLE=function(t,r,o,i){if(t=+t,r=r>>>0,o=o>>>0,!i){var l=Math.pow(2,8*o)-1;L(this,t,r,o,l,0)}var p=1,m=0;for(this[r]=t&255;++m<o&&(p*=256);)this[r+m]=t/p&255;return r+o};u.prototype.writeUintBE=u.prototype.writeUIntBE=function(t,r,o,i){if(t=+t,r=r>>>0,o=o>>>0,!i){var l=Math.pow(2,8*o)-1;L(this,t,r,o,l,0)}var p=o-1,m=1;for(this[r+p]=t&255;--p>=0&&(m*=256);)this[r+p]=t/m&255;return r+o};u.prototype.writeUint8=u.prototype.writeUInt8=function(t,r,o){return t=+t,r=r>>>0,o||L(this,t,r,1,255,0),this[r]=t&255,r+1};u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(t,r,o){return t=+t,r=r>>>0,o||L(this,t,r,2,65535,0),this[r]=t&255,this[r+1]=t>>>8,r+2};u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(t,r,o){return t=+t,r=r>>>0,o||L(this,t,r,2,65535,0),this[r]=t>>>8,this[r+1]=t&255,r+2};u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(t,r,o){return t=+t,r=r>>>0,o||L(this,t,r,4,4294967295,0),this[r+3]=t>>>24,this[r+2]=t>>>16,this[r+1]=t>>>8,this[r]=t&255,r+4};u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(t,r,o){return t=+t,r=r>>>0,o||L(this,t,r,4,4294967295,0),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=t&255,r+4};u.prototype.writeIntLE=function(t,r,o,i){if(t=+t,r=r>>>0,!i){var l=Math.pow(2,8*o-1);L(this,t,r,o,l-1,-l)}var p=0,m=1,d=0;for(this[r]=t&255;++p<o&&(m*=256);)t<0&&d===0&&this[r+p-1]!==0&&(d=1),this[r+p]=(t/m>>0)-d&255;return r+o};u.prototype.writeIntBE=function(t,r,o,i){if(t=+t,r=r>>>0,!i){var l=Math.pow(2,8*o-1);L(this,t,r,o,l-1,-l)}var p=o-1,m=1,d=0;for(this[r+p]=t&255;--p>=0&&(m*=256);)t<0&&d===0&&this[r+p+1]!==0&&(d=1),this[r+p]=(t/m>>0)-d&255;return r+o};u.prototype.writeInt8=function(t,r,o){return t=+t,r=r>>>0,o||L(this,t,r,1,127,-128),t<0&&(t=255+t+1),this[r]=t&255,r+1};u.prototype.writeInt16LE=function(t,r,o){return t=+t,r=r>>>0,o||L(this,t,r,2,32767,-32768),this[r]=t&255,this[r+1]=t>>>8,r+2};u.prototype.writeInt16BE=function(t,r,o){return t=+t,r=r>>>0,o||L(this,t,r,2,32767,-32768),this[r]=t>>>8,this[r+1]=t&255,r+2};u.prototype.writeInt32LE=function(t,r,o){return t=+t,r=r>>>0,o||L(this,t,r,4,2147483647,-2147483648),this[r]=t&255,this[r+1]=t>>>8,this[r+2]=t>>>16,this[r+3]=t>>>24,r+4};u.prototype.writeInt32BE=function(t,r,o){return t=+t,r=r>>>0,o||L(this,t,r,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=t&255,r+4};function Lr(e,t,r,o,i,l){if(r+o>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function Rr(e,t,r,o,i){return t=+t,r=r>>>0,i||Lr(e,t,r,4,34028234663852886e22,-34028234663852886e22),ce.write(e,t,r,o,23,4),r+4}u.prototype.writeFloatLE=function(t,r,o){return Rr(this,t,r,!0,o)};u.prototype.writeFloatBE=function(t,r,o){return Rr(this,t,r,!1,o)};function Cr(e,t,r,o,i){return t=+t,r=r>>>0,i||Lr(e,t,r,8,17976931348623157e292,-17976931348623157e292),ce.write(e,t,r,o,52,8),r+8}u.prototype.writeDoubleLE=function(t,r,o){return Cr(this,t,r,!0,o)};u.prototype.writeDoubleBE=function(t,r,o){return Cr(this,t,r,!1,o)};u.prototype.copy=function(t,r,o,i){if(!u.isBuffer(t))throw new TypeError("argument should be a Buffer");if(o||(o=0),!i&&i!==0&&(i=this.length),r>=t.length&&(r=t.length),r||(r=0),i>0&&i<o&&(i=o),i===o||t.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(o<0||o>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),t.length-r<i-o&&(i=t.length-r+o);var l=i-o;return this===t&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,o,i):Uint8Array.prototype.set.call(t,this.subarray(o,i),r),l};u.prototype.fill=function(t,r,o,i){if(typeof t=="string"){if(typeof r=="string"?(i=r,r=0,o=this.length):typeof o=="string"&&(i=o,o=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!u.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(t.length===1){var l=t.charCodeAt(0);(i==="utf8"&&l<128||i==="latin1")&&(t=l)}}else typeof t=="number"?t=t&255:typeof t=="boolean"&&(t=Number(t));if(r<0||this.length<r||this.length<o)throw new RangeError("Out of range index");if(o<=r)return this;r=r>>>0,o=o===void 0?this.length:o>>>0,t||(t=0);var p;if(typeof t=="number")for(p=r;p<o;++p)this[p]=t;else{var m=u.isBuffer(t)?t:u.from(t,i),d=m.length;if(d===0)throw new TypeError('The value "'+t+'" is invalid for argument "value"');for(p=0;p<o-r;++p)this[p+r]=m[p%d]}return this};var Ni=/[^+/0-9A-Za-z-_]/g;function Li(e){if(e=e.split("=")[0],e=e.trim().replace(Ni,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function kt(e,t){t=t||1/0;for(var r,o=e.length,i=null,l=[],p=0;p<o;++p){if(r=e.charCodeAt(p),r>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&l.push(239,191,189);continue}else if(p+1===o){(t-=3)>-1&&l.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&l.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(t-=3)>-1&&l.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;l.push(r)}else if(r<2048){if((t-=2)<0)break;l.push(r>>6|192,r&63|128)}else if(r<65536){if((t-=3)<0)break;l.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((t-=4)<0)break;l.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return l}function Ri(e){for(var t=[],r=0;r<e.length;++r)t.push(e.charCodeAt(r)&255);return t}function Ci(e,t){for(var r,o,i,l=[],p=0;p<e.length&&!((t-=2)<0);++p)r=e.charCodeAt(p),o=r>>8,i=r%256,l.push(i),l.push(o);return l}function Dr(e){return bt.toByteArray(Li(e))}function Ce(e,t,r,o){for(var i=0;i<o&&!(i+r>=t.length||i>=e.length);++i)t[i+r]=e[i];return i}function B(e,t){return e instanceof t||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===t.name}function Lt(e){return e!==e}var Di=function(){for(var e="0123456789abcdef",t=new Array(256),r=0;r<16;++r)for(var o=r*16,i=0;i<16;++i)t[o+i]=e[r]+e[i];return t}()});var Br=Ne((Bs,Mr)=>{n();var b=Mr.exports={},U,V;function Rt(){throw new Error("setTimeout has not been defined")}function Ct(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?U=setTimeout:U=Rt}catch(e){U=Rt}try{typeof clearTimeout=="function"?V=clearTimeout:V=Ct}catch(e){V=Ct}})();function _r(e){if(U===setTimeout)return setTimeout(e,0);if((U===Rt||!U)&&setTimeout)return U=setTimeout,setTimeout(e,0);try{return U(e,0)}catch(t){try{return U.call(null,e,0)}catch(r){return U.call(this,e,0)}}}function Pi(e){if(V===clearTimeout)return clearTimeout(e);if((V===Ct||!V)&&clearTimeout)return V=clearTimeout,clearTimeout(e);try{return V(e)}catch(t){try{return V.call(null,e)}catch(r){return V.call(this,e)}}}var z=[],pe=!1,oe,De=-1;function _i(){!pe||!oe||(pe=!1,oe.length?z=oe.concat(z):De=-1,z.length&&Or())}function Or(){if(!pe){var e=_r(_i);pe=!0;for(var t=z.length;t;){for(oe=z,z=[];++De<t;)oe&&oe[De].run();De=-1,t=z.length}oe=null,pe=!1,Pi(e)}}b.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];z.push(new Fr(e,t)),z.length===1&&!pe&&_r(Or)};function Fr(e,t){this.fun=e,this.array=t}Fr.prototype.run=function(){this.fun.apply(null,this.array)};b.title="browser";b.browser=!0;b.env={};b.argv=[];b.version="";b.versions={};function K(){}b.on=K;b.addListener=K;b.once=K;b.off=K;b.removeListener=K;b.removeAllListeners=K;b.emit=K;b.prependListener=K;b.prependOnceListener=K;b.listeners=function(e){return[]};b.binding=function(e){throw new Error("process.binding is not supported")};b.cwd=function(){return"/"};b.chdir=function(e){throw new Error("process.chdir is not supported")};b.umask=function(){return 0}});var a,s,Us,n=T(()=>{a=S(Pr()),s=S(Br()),Us=function(e){function t(){var o=this||self;return delete e.prototype.__magic__,o}if(typeof globalThis=="object")return globalThis;if(this)return t();e.defineProperty(e.prototype,"__magic__",{configurable:!0,get:t});var r=__magic__;return r}(Object)});var Ur=T(()=>{"use strict";n()});var Vr=T(()=>{"use strict";n()});var $r=T(()=>{"use strict";n()});var Dt,Gr=T(()=>{"use strict";n();Dt=(o=>(o.SetGuardian="SetGuardian",o.GuardAccount="GuardAccount",o.UnGuardAccount="UnGuardAccount",o))(Dt||{})});var Wr=T(()=>{"use strict";n()});var Pt=T(()=>{"use strict";n()});var Hr=T(()=>{"use strict";n()});var qr=T(()=>{"use strict";n()});var jr=T(()=>{"use strict";n()});var zr=T(()=>{"use strict";n()});var Pe,Kr,Ys,Yr,Xs,Y=T(()=>{"use strict";n();Pe=require("@multiversx/sdk-web-wallet-cross-window-provider/out/types"),Kr=(r=>(r.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",r.reloginRequest="RELOGIN_REQUEST",r))(Kr||{}),Ys=f(f({},Pe.CrossWindowProviderRequestEnums),Kr),Yr=(t=>(t.reloginResponse="RELOGIN_RESPONSE",t))(Yr||{}),Xs=f(f({},Pe.CrossWindowProviderResponseEnums),Yr)});var Xr=T(()=>{"use strict";n()});var Zr=T(()=>{"use strict";n()});var R=T(()=>{"use strict";n()});var Jr=T(()=>{"use strict";n()});var Qr=T(()=>{"use strict";n()});var en=T(()=>{"use strict";n()});var _=T(()=>{"use strict";n();qr();jr();zr();Y();Xr();Zr();R();Jr();Qr();en()});var Te,tn,mc,rn,gc,nn,fc,Tc,Oi,_t,ie=T(()=>{"use strict";n();_();Te={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",xAliasAddress:"https://devnet.xalias.com",apiAddress:"https://devnet-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",apiTimeout:"4000"},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",xAliasAddress:"https://testnet.xalias.com",apiAddress:"https://testnet-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",apiTimeout:"4000"},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",xAliasAddress:"https://xalias.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",apiTimeout:"4000"}},{chainId:tn,egldLabel:mc}=Te["devnet"],{chainId:rn,egldLabel:gc}=Te["testnet"],{chainId:nn,egldLabel:fc}=Te["mainnet"],Tc={["devnet"]:tn,["testnet"]:rn,["mainnet"]:nn},Oi={[tn]:"devnet",[rn]:"testnet",[nn]:"mainnet"},_t=3e3});var on=T(()=>{"use strict";n()});var $,an=T(()=>{"use strict";n();$=require("@multiversx/sdk-web-wallet-provider")});var Ot,Ft,sn,_e,cn,ue,A=T(()=>{"use strict";n();Ur();Vr();$r();Gr();Wr();Pt();Hr();ie();on();an();Ot=5e4,Ft=1e9,sn=1,_e="logout",cn="login",ue="0"});var Oe,Mt=T(()=>{"use strict";n();Oe=()=>Date.now()/1e3});var ln=T(()=>{"use strict";n()});var pn=T(()=>{"use strict";n()});var un=T(()=>{"use strict";n();Mt();ln();pn()});var Bt={};te(Bt,{clear:()=>Ui,getItem:()=>Mi,localStorageKeys:()=>ae,removeItem:()=>Bi,setItem:()=>Fi});var ae,Fe,Fi,Mi,Bi,Ui,ye=T(()=>{"use strict";n();un();ae={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event"},Fe=typeof localStorage!="undefined",Fi=({key:e,data:t,expires:r})=>{!Fe||localStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},Mi=e=>{if(!Fe)return;let t=localStorage.getItem(String(e));if(!t)return null;let r=JSON.parse(t);return!r||!r.hasOwnProperty("expires")||!r.hasOwnProperty("data")?null:Oe()>=r.expires?(localStorage.removeItem(String(e)),null):r.data},Bi=e=>{!Fe||localStorage.removeItem(String(e))},Ui=()=>{!Fe||localStorage.clear()}});var Ut={};te(Ut,{clear:()=>fn,getItem:()=>mn,removeItem:()=>gn,setItem:()=>dn,storage:()=>Vi});var dn,mn,gn,fn,Vi,Tn=T(()=>{"use strict";n();dn=({key:e,data:t,expires:r})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},mn=e=>{let t=sessionStorage.getItem(String(e));if(!t)return null;let r=JSON.parse(t);return!r||!r.hasOwnProperty("expires")||!r.hasOwnProperty("data")?null:Date.now()>=r.expires?(sessionStorage.removeItem(String(e)),null):r.data},gn=e=>sessionStorage.removeItem(String(e)),fn=()=>sessionStorage.clear(),Vi={setItem:dn,getItem:mn,removeItem:gn,clear:fn}});var de,Me=T(()=>{"use strict";n();ye();Tn();de={session:Ut,local:Bt}});var Vt,I,Be,O=T(()=>{"use strict";n();Vt=require("@reduxjs/toolkit");A();I=(0,Vt.createAction)(_e),Be=(0,Vt.createAction)(cn,e=>({payload:e}))});var Gt,yn,hn,Ue,$t,xn,Sn,Kc,wn,Yc,Xc,Zc,Jc,Qc,el,tl,rl,Ve,$e=T(()=>{"use strict";n();Gt=require("@multiversx/sdk-core"),yn=require("@reduxjs/toolkit"),hn=require("redux-persist");A();Me();ye();O();Ue={balance:"...",address:"",isGuarded:!1,nonce:0,txCount:0,scrCount:0,claimableRewards:ue},$t={address:"",websocketEvent:null,websocketBatchEvent:null,accounts:{"":Ue},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},xn=(0,yn.createSlice)({name:"accountInfoSlice",initialState:$t,reducers:{setAddress:(e,t)=>{let r=t.payload;e.address=r,e.publicKey=new Gt.Address(r).hex()},setAccount:(e,t)=>{let r=e.address===t.payload.address;e.accounts={[e.address]:r?t.payload:Ue},e.shard=t.payload.shard,e.isAccountLoading=!1,e.accountLoadingError=null},setAccountNonce:(e,t)=>{let{address:r}=e;e.accounts[r].nonce=t.payload},setAccountShard:(e,t)=>{e.shard=t.payload},setLedgerAccount:(e,t)=>{e.ledgerAccount=t.payload},updateLedgerAccount:(e,t)=>{e.ledgerAccount!=null&&(e.ledgerAccount.index=t.payload.index,e.ledgerAccount.address=t.payload.address)},setWalletConnectAccount:(e,t)=>{e.walletConnectAccount=t.payload},setIsAccountLoading:(e,t)=>{e.isAccountLoading=t.payload,e.accountLoadingError=null},setAccountLoadingError:(e,t)=>{e.accountLoadingError=t.payload,e.isAccountLoading=!1},setWebsocketEvent:(e,t)=>{e.websocketEvent={timestamp:Date.now(),message:t.payload}},setWebsocketBatchEvent:(e,t)=>{e.websocketBatchEvent={timestamp:Date.now(),data:t.payload}}},extraReducers:e=>{e.addCase(I,()=>(de.local.removeItem(ae.loginExpiresAt),$t)),e.addCase(Be,(t,r)=>{let{address:o}=r.payload;t.address=o,t.publicKey=new Gt.Address(o).hex()}),e.addCase(hn.REHYDRATE,(t,r)=>{var y;if(!((y=r.payload)!=null&&y.account))return;let{account:o}=r.payload,{address:i,shard:l,accounts:p,publicKey:m}=o;t.address=i,t.shard=l;let d=p&&i in p;t.accounts=d?p:$t.accounts,t.publicKey=m})}}),{setAccount:Sn,setAddress:Kc,setAccountNonce:wn,setAccountShard:Yc,setLedgerAccount:Xc,updateLedgerAccount:Zc,setWalletConnectAccount:Jc,setIsAccountLoading:Qc,setAccountLoadingError:el,setWebsocketEvent:tl,setWebsocketBatchEvent:rl}=xn.actions,Ve=xn.reducer});function he(){return new Date().setHours(new Date().getHours()+24)}function xe(e){de.local.setItem({key:ae.loginExpiresAt,data:e,expires:e})}var Wt=T(()=>{"use strict";n();Me();ye()});var bn,An,In,ml,gl,fl,Tl,yl,hl,vn,xl,Sl,Ge,We=T(()=>{"use strict";n();bn=require("@reduxjs/toolkit");Wt();Y();O();An={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,operaLogin:null,crossWindowLogin:null,isLoginSessionInvalid:!1},In=(0,bn.createSlice)({name:"loginInfoSlice",initialState:An,reducers:{setLoginMethod:(e,t)=>{e.loginMethod=t.payload},setTokenLogin:(e,t)=>{e.tokenLogin=t.payload},setTokenLoginSignature:(e,t)=>{(e==null?void 0:e.tokenLogin)!=null&&(e.tokenLogin.signature=t.payload)},setWalletLogin:(e,t)=>{e.walletLogin=t.payload},setWalletConnectLogin:(e,t)=>{e.walletConnectLogin=t.payload},setLedgerLogin:(e,t)=>{e.ledgerLogin=t.payload},invalidateLoginSession:e=>{e.isLoginSessionInvalid=!0},setLogoutRoute:(e,t)=>{e.logoutRoute=t.payload},setIsWalletConnectV2Initialized:(e,t)=>{e.isWalletConnectV2Initialized=t.payload}},extraReducers:e=>{e.addCase(I,()=>An),e.addCase(Be,(t,r)=>{t.isLoginSessionInvalid=!1,t.loginMethod=r.payload.loginMethod,xe(he())})}}),{setLoginMethod:ml,setWalletConnectLogin:gl,setLedgerLogin:fl,setTokenLogin:Tl,setTokenLoginSignature:yl,setWalletLogin:hl,invalidateLoginSession:vn,setLogoutRoute:xl,setIsWalletConnectV2Initialized:Sl}=In.actions,Ge=In.reducer});var En,kn,Nn,Il,vl,kl,El,He,qe=T(()=>{"use strict";n();En=require("@reduxjs/toolkit");O();kn={},Nn=(0,En.createSlice)({name:"modalsSlice",initialState:kn,reducers:{setTxSubmittedModal:(e,t)=>{e.txSubmittedModal=t.payload},setNotificationModal:(e,t)=>{e.notificationModal=t.payload},clearTxSubmittedModal:e=>{e.txSubmittedModal=void 0},clearNotificationModal:e=>{e.notificationModal=void 0}},extraReducers:e=>{e.addCase(I,()=>kn)}}),{setTxSubmittedModal:Il,setNotificationModal:vl,clearTxSubmittedModal:kl,clearNotificationModal:El}=Nn.actions,He=Nn.reducer});var Ln=T(()=>{"use strict";n()});var Rn=T(()=>{"use strict";n();Ln()});function Cn(e){return e[Math.floor(Math.random()*e.length)]}var Dn=T(()=>{"use strict";n()});var Pn=T(()=>{"use strict";n();Pt()});var _n=T(()=>{"use strict";n();Rn();Dn();Pn()});var On,Fn,Mn,Ht,$i,Bn,Hl,ql,jl,je,ze=T(()=>{"use strict";n();On=require("@reduxjs/toolkit"),Fn=S(require("lodash.omit")),Mn=require("redux-persist");O();_n();Ht={id:"not-configured",chainId:"",name:"NOT CONFIGURED",egldLabel:"",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"",walletConnectBridgeAddress:"",walletConnectV2RelayAddress:"",walletConnectV2ProjectId:"",walletConnectV2Options:{},walletAddress:"",apiAddress:"",explorerAddress:"",apiTimeout:"4000"},$i={network:Ht,chainID:"-1"},Bn=(0,On.createSlice)({name:"appConfig",initialState:$i,reducers:{initializeNetworkConfig:(e,t)=>{let r=Cn(t.payload.walletConnectV2RelayAddresses),o=(0,Fn.default)(t.payload,"walletConnectV2RelayAddresses");e.network=w(f(f({},e.network),o),{walletConnectV2RelayAddress:r})},setChainID:(e,t)=>{e.chainID=t.payload},setCustomWalletAddress:(e,t)=>{e.network.customWalletAddress=t.payload}},extraReducers:e=>{e.addCase(I,t=>{t.network.customWalletAddress=void 0}),e.addCase(Mn.REHYDRATE,(t,r)=>{var i,l;if(!((l=(i=r.payload)==null?void 0:i.network)!=null&&l.customWalletAddress))return;let{network:{customWalletAddress:o}}=r.payload;t.network.customWalletAddress=o})}}),{initializeNetworkConfig:Hl,setChainID:ql,setCustomWalletAddress:jl}=Bn.actions,je=Bn.reducer});var Un,qt,Vn,Jl,Ql,ep,Ke,Ye=T(()=>{"use strict";n();Un=require("@reduxjs/toolkit");_();O();qt={isSigning:!1,signedSessions:{}},Vn=(0,Un.createSlice)({name:"signedMessageInfoSliceState",initialState:qt,reducers:{setSignSession:(e,t)=>{let{sessionId:r,signedSession:o,errorMessage:i}=t.payload;i&&(e.errorMessage=i),e.isSigning=o.status==="pending",e.signedSessions[r]=f(f({},e.signedSessions[r]),o)},setSignSessionState:(e,t)=>f(f({},e),t.payload),clearSignedMessageInfo:()=>qt},extraReducers:e=>{e.addCase(I,()=>qt)}}),{setSignSession:Jl,clearSignedMessageInfo:Ql,setSignSessionState:ep}=Vn.actions,Ke=Vn.reducer});var Gn,Wn,$n,Hn,sp,cp,lp,pp,Xe,Ze=T(()=>{"use strict";n();Gn=require("@reduxjs/toolkit"),Wn=require("redux-persist");_();Mt();O();$n={customToasts:[],transactionToasts:[]},Hn=(0,Gn.createSlice)({name:"toastsSlice",initialState:$n,reducers:{addCustomToast:(e,t)=>{let r=t.payload.toastId||`custom-toast-${e.customToasts.length+1}`,o=e.customToasts.findIndex(i=>i.toastId===r);if(o!==-1){e.customToasts[o]=w(f(f({},e.customToasts[o]),t.payload),{type:"custom",toastId:r});return}e.customToasts.push(w(f({},t.payload),{type:"custom",toastId:r}))},removeCustomToast:(e,t)=>{e.customToasts=e.customToasts.filter(r=>r.toastId!==t.payload)},addTransactionToast:(e,t)=>{e.transactionToasts.push({type:"transaction",startTimestamp:Oe(),toastId:t.payload||`custom-toast-${e.transactionToasts.length+1}`})},removeTransactionToast:(e,t)=>{e.transactionToasts=e.transactionToasts.filter(r=>r.toastId!==t.payload)}},extraReducers:e=>{e.addCase(I,()=>$n),e.addCase(Wn.REHYDRATE,(t,r)=>{var i,l;let o=(l=(i=r.customToasts)==null?void 0:i.filter(p=>!("component"in p)))!=null?l:[];t.customToasts=o})}}),{addCustomToast:sp,removeCustomToast:cp,addTransactionToast:lp,removeTransactionToast:pp}=Hn.actions,Xe=Hn.reducer});var qn,zt,Kt,Yt,Gi,jt,jn,gp,fp,Tp,Je,Qe=T(()=>{"use strict";n();qn=require("@reduxjs/toolkit");O();zt="Transaction failed",Kt="Transaction successful",Yt="Processing transaction",Gi="Transaction submitted",jt={},jn=(0,qn.createSlice)({name:"transactionsInfo",initialState:jt,reducers:{setTransactionsDisplayInfo(e,t){let{sessionId:r,transactionsDisplayInfo:o}=t.payload;r!=null&&(e[r]={errorMessage:(o==null?void 0:o.errorMessage)||zt,successMessage:(o==null?void 0:o.successMessage)||Kt,processingMessage:(o==null?void 0:o.processingMessage)||Yt,submittedMessage:(o==null?void 0:o.submittedMessage)||Gi,transactionDuration:o==null?void 0:o.transactionDuration})},clearTransactionsInfoForSessionId(e,t){t.payload!=null&&delete e[t.payload]},clearTransactionsInfo:()=>jt},extraReducers:e=>{e.addCase(I,()=>jt)}}),{clearTransactionsInfo:gp,setTransactionsDisplayInfo:fp,clearTransactionsInfoForSessionId:Tp}=jn.actions,Je=jn.reducer});function zn(e){return e!=null&&(Qi(e)||oa(e))}function et(e){return e!=null&&(ea(e)||ia(e))}function tt(e){return e!=null&&(ta(e)||aa(e))}function Kn(e){return e!=null&&(ra(e)||sa(e))}function Yn(e){return e!=null&&na(e)}function Qi(e){return e!=null&&Hi.includes(e)}function ea(e){return e!=null&&qi.includes(e)}function ta(e){return e!=null&&ji.includes(e)}function ra(e){return e!=null&&zi.includes(e)}function na(e){return e!=null&&Ki.includes(e)}function oa(e){return e!=null&&Yi.includes(e)}function ia(e){return e!=null&&Xi.includes(e)}function aa(e){return e!=null&&Zi.includes(e)}function sa(e){return e!=null&&Ji.includes(e)}var Hi,qi,ji,zi,Ki,Yi,Xi,Zi,Ji,Zt=T(()=>{"use strict";n();Y();Hi=["sent"],qi=["success"],ji=["fail","cancelled","timedOut"],zi=["invalid"],Ki=["timedOut"],Yi=["pending"],Xi=["success"],Zi=["fail","invalid"],Ji=["not executed"]});var Xn,Zn,Se,ca,Jn,vp,kp,Ep,Np,Lp,Rp,Cp,Dp,Pp,_p,Op,rt,nt=T(()=>{"use strict";n();Xn=require("@reduxjs/toolkit"),Zn=require("redux-persist");Y();Zt();O();Se={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},ca={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},Jn=(0,Xn.createSlice)({name:"transactionsSlice",initialState:Se,reducers:{moveTransactionsToSignedState:(e,t)=>{var d,y;let{sessionId:r,transactions:o,errorMessage:i,status:l,redirectRoute:p,customTransactionInformation:m}=t.payload;e.customTransactionInformationForSessionId[r]=f(f(f({},ca),((d=e.signedTransactions[r])==null?void 0:d.customTransactionInformation)||{}),e.customTransactionInformationForSessionId[r]||{}),e.signedTransactions[r]={transactions:o,status:l,errorMessage:i,redirectRoute:p,customTransactionInformation:f(f({},e.customTransactionInformationForSessionId[r]),m!=null?m:{})},((y=e==null?void 0:e.transactionsToSign)==null?void 0:y.sessionId)===r&&(e.transactionsToSign=Se.transactionsToSign)},clearSignedTransaction:(e,t)=>{e.signedTransactions[t.payload]&&delete e.signedTransactions[t.payload]},clearTransactionToSign:e=>{e!=null&&e.transactionsToSign&&(e.transactionsToSign=null)},updateSignedTransaction:(e,t)=>{e.signedTransactions=f(f({},e.signedTransactions),t.payload)},updateSignedTransactions:(e,t)=>{let{sessionId:r,status:o,errorMessage:i,transactions:l}=t.payload;e.signedTransactions[r]!=null&&(e.signedTransactions[r].status=o,i!=null&&(e.signedTransactions[r].errorMessage=i),l!=null&&(e.signedTransactions[r].transactions=l))},updateSignedTransactionStatus:(e,t)=>{var d,y,x,h,N,k,H,ke;let{sessionId:r,status:o,errorMessage:i,transactionHash:l,inTransit:p}=t.payload,m=(y=(d=e.signedTransactions)==null?void 0:d[r])==null?void 0:y.transactions;if(m!=null){e.signedTransactions[r].transactions=m.map(q=>q.hash===l?w(f({},q),{status:o,errorMessage:i,inTransit:p}):q);let Ko=(h=(x=e.signedTransactions[r])==null?void 0:x.transactions)==null?void 0:h.every(q=>et(q.status)),Yo=(k=(N=e.signedTransactions[r])==null?void 0:N.transactions)==null?void 0:k.every(q=>tt(q.status)),Xo=(ke=(H=e.signedTransactions[r])==null?void 0:H.transactions)==null?void 0:ke.every(q=>Kn(q.status));Ko&&(e.signedTransactions[r].status="success"),Yo&&(e.signedTransactions[r].status="fail"),Xo&&(e.signedTransactions[r].status="invalid")}},setTransactionsToSign:(e,t)=>{e.transactionsToSign=t.payload;let{sessionId:r,customTransactionInformation:o}=t.payload;e.customTransactionInformationForSessionId[r]=o,e.signTransactionsError=null},clearAllTransactionsToSign:e=>{e.transactionsToSign=Se.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=Se.signedTransactions},setSignTransactionsError:(e,t)=>{e.signTransactionsError=t.payload},setSignTransactionsCancelMessage:(e,t)=>{e.signTransactionsCancelMessage=t.payload},updateSignedTransactionsCustomTransactionInformation:(e,t)=>{let{sessionId:r,customTransactionInformationOverrides:o}=t.payload;e.signedTransactions[r]!=null&&(e.signedTransactions[r].customTransactionInformation=f(f({},e.signedTransactions[r].customTransactionInformation),o))}},extraReducers:e=>{e.addCase(I,()=>Se),e.addCase(Zn.REHYDRATE,(t,r)=>{var p;if(t.signTransactionsCancelMessage=null,!((p=r.payload)!=null&&p.transactions))return;let{signedTransactions:o,customTransactionInformationForSessionId:i}=r.payload.transactions,l=Object.entries(o).reduce((m,[d,y])=>{let x=new Date(d),h=new Date;return h.setHours(h.getHours()+5),h-x>0||(m[d]=y),m},{});i!=null&&(t.customTransactionInformationForSessionId=i),o!=null&&(t.signedTransactions=l)})}}),{updateSignedTransactionStatus:vp,updateSignedTransactions:kp,setTransactionsToSign:Ep,clearAllTransactionsToSign:Np,clearAllSignedTransactions:Lp,clearSignedTransaction:Rp,clearTransactionToSign:Cp,setSignTransactionsError:Dp,setSignTransactionsCancelMessage:Pp,moveTransactionsToSignedState:_p,updateSignedTransactionsCustomTransactionInformation:Op}=Jn.actions,rt=Jn.reducer});var Qn,Jt,eo,Up,Vp,$p,Gp,ot,it=T(()=>{"use strict";n();Qn=require("@reduxjs/toolkit");O();Jt={},eo=(0,Qn.createSlice)({name:"batchTransactionsSlice",initialState:Jt,reducers:{setBatchTransactions:(e,t)=>{e[t.payload.id]=t.payload},updateBatchTransactions:(e,t)=>{e[t.payload.id]=t.payload},clearBatchTransactions:(e,t)=>{delete e[t.payload.batchId]},clearAllBatchTransactions:()=>Jt},extraReducers:e=>{e.addCase(I,()=>Jt)}}),{setBatchTransactions:Up,updateBatchTransactions:Vp,clearBatchTransactions:$p,clearAllBatchTransactions:Gp}=eo.actions,ot=eo.reducer});var ro,to,no,jp,oo,Qt=T(()=>{"use strict";n();ro=require("@reduxjs/toolkit");O();to={},no=(0,ro.createSlice)({name:"dappConfigSlice",initialState:to,reducers:{setDappConfig:(e,t)=>t.payload},extraReducers:e=>{e.addCase(I,()=>to)}}),{setDappConfig:jp}=no.actions,oo=no.reducer});var me=T(()=>{"use strict";n();$e();We();qe();ze();Ye();Ze();Qe();nt();it();Qt()});var or=T(()=>{"use strict";n()});var fo,Ta,ya,se,dt=T(()=>{"use strict";n();fo=require("@reduxjs/toolkit");or();$e();it();Qt();We();qe();ze();Ye();Ze();Qe();nt();Ta={["account"]:Ve,["dappConfig"]:oo,["loginInfo"]:Ge,["modals"]:He,["networkConfig"]:je,["signedMessageInfo"]:Ke,["toasts"]:Xe,["transactionsInfo"]:Je,["transactions"]:rt,["batchTransactions"]:ot},ya=(e={})=>(0,fo.combineReducers)(f(f({},Ta),e)),se=ya});var xo={};te(xo,{default:()=>Pa,sessionStorageReducers:()=>ir});function J(e,t=[]){return{key:e,version:1,storage:yo.default,blacklist:t}}var C,To,yo,ha,we,xa,Sa,wa,Aa,ba,Ia,va,ka,Ea,Na,ho,La,ir,Ra,Ca,Da,Pa,So=T(()=>{"use strict";n();C=require("redux-persist"),To=S(require("redux-persist/lib/storage")),yo=S(require("redux-persist/lib/storage/session"));dt();me();$e();it();We();qe();ze();Ye();Ze();Qe();nt();or();ha={persistReducersStorageType:"localStorage"},we={["account"]:"sdk-dapp-account",["loginInfo"]:"sdk-dapp-login-info",["modals"]:"sdk-dapp-modals",["networkConfig"]:"sdk-dapp-network-config"},xa=J(we["account"]),Sa=J(we["loginInfo"]),wa=J(we["modals"]),Aa=J(we["networkConfig"]),ba={2:e=>w(f({},e),{networkConfig:Ht})};Ia=J("sdk-dapp-transactionsInfo"),va=J("sdk-dapp-transactions",["transactionsToSign"]),ka=J("sdk-dapp-batchTransactions",["batchTransactions"]),Ea=J("sdk-dapp-toasts"),Na=J("sdk-dapp-signedMessageInfo"),ho={key:"sdk-dapp-store",version:2,storage:To.default,whitelist:Object.keys(we),migrate:(0,C.createMigrate)(ba,{debug:!1})},La=w(f({},ho),{whitelist:[]}),ir={["toasts"]:(0,C.persistReducer)(Ea,Xe),["transactions"]:(0,C.persistReducer)(va,rt),["transactionsInfo"]:(0,C.persistReducer)(Ia,Je),["batchTransactions"]:(0,C.persistReducer)(ka,ot),["signedMessageInfo"]:(0,C.persistReducer)(Na,Ke)},Ra=w(f({},ir),{["account"]:(0,C.persistReducer)(xa,Ve),["loginInfo"]:(0,C.persistReducer)(Sa,Ge),["modals"]:(0,C.persistReducer)(wa,He),["networkConfig"]:(0,C.persistReducer)(Aa,je)}),Ca=ha.persistReducersStorageType==="localStorage",Da=Ca?(0,C.persistReducer)(ho,se(ir)):(0,C.persistReducer)(La,se(Ra)),Pa=Da});var wo={};te(wo,{default:()=>_a});var _a,Ao=T(()=>{"use strict";n();dt();_a=se()});var bo={};te(bo,{default:()=>Fa});var P,Oa,Fa,Io=T(()=>{"use strict";n();P=require("redux-persist"),Oa=[P.FLUSH,P.REHYDRATE,P.PAUSE,P.PERSIST,P.PURGE,P.REGISTER],Fa=Oa});var Eo={};te(Eo,{default:()=>ko});function ko(e){return(0,vo.persistStore)(e)}var vo,No=T(()=>{"use strict";n();vo=require("redux-persist")});var Ps={};te(Ps,{getBatchTransactionsStatus:()=>Ds});module.exports=fe(Ps);n();var zo=S(require("axios"));n();n();n();var hs=S(require("axios"));n();n();me();n();var io=S(require("lodash.isequal")),at=require("reselect"),g=(0,at.createSelectorCreator)(at.defaultMemoize,io.default);var G=e=>e.account,st=g(G,e=>e.address),er=g(G,st,(e,t)=>t in e.accounts?e.accounts[t]:Ue),cu=g(G,er,(e,t)=>{let i=e,{accounts:r}=i,o=St(i,["accounts"]);return w(f({},o),{account:t})}),lu=g(er,e=>e.balance),pu=g(er,e=>{var t;return((t=e==null?void 0:e.nonce)==null?void 0:t.valueOf())||0}),uu=g(G,e=>e.shard),du=g(G,e=>e.ledgerAccount),mu=g(G,e=>e.walletConnectAccount),gu=g(G,e=>e.isAccountLoading),fu=g(G,e=>e.accountLoadingError),Tu=g(G,e=>e.websocketEvent),yu=g(G,e=>e.websocketBatchEvent);n();var la=e=>e.dappConfig,Su=g(la,e=>e.shouldUseWebViewProvider);n();var X=e=>e.loginInfo,Iu=g(X,e=>e.loginMethod),vu=g(X,st,(e,t)=>Boolean(t)),ku=g(X,e=>e.walletConnectLogin),Eu=g(X,e=>e.ledgerLogin),Nu=g(X,e=>e.walletLogin),Lu=g(X,e=>e.isLoginSessionInvalid),Ru=g(X,e=>e.tokenLogin),Cu=g(X,e=>e.logoutRoute),Du=g(X,e=>e.isWalletConnectV2Initialized);n();var ao=e=>e.modals,Ou=g(ao,e=>e.txSubmittedModal),Fu=g(ao,e=>e.notificationModal);n();var ee=e=>e.networkConfig,Uu=g(ee,e=>e.chainID),Vu=g(ee,e=>e.network.walletConnectBridgeAddress),$u=g(ee,e=>e.network.walletConnectV2RelayAddress),Gu=g(ee,e=>e.network.walletConnectV2ProjectId),Wu=g(ee,e=>e.network.walletConnectV2Options),Hu=g(ee,e=>e.network.walletConnectDeepLink),Z=g(ee,e=>e.network),so=g(Z,e=>e.apiAddress),co=g(Z,e=>e.explorerAddress),qu=g(Z,e=>{var t;return(t=e.customWalletAddress)!=null?t:e.walletAddress}),ju=g(Z,e=>e.xAliasAddress),zu=g(Z,e=>e.egldLabel);n();var ct=e=>e.signedMessageInfo,Xu=g(ct,e=>e.isSigning),Zu=g(ct,e=>e.errorMessage),Ju=g(ct,e=>{let t=Object.keys(e.signedSessions),r=t.length;return e.signedSessions[t[r-1]]}),Qu=g(ct,e=>{let t=Object.keys(e.signedSessions),r=t.length;return t.length>0?t[r-1]:""});n();var lo=e=>e.toasts,rd=g(lo,e=>e.customToasts),nd=g(lo,e=>e.transactionToasts);n();me();var po={errorMessage:zt,successMessage:Kt,processingMessage:Yt},pa=e=>e.transactionsInfo,sd=g(pa,(e,t)=>t,(e,t)=>t!=null&&(e==null?void 0:e[Number(t)])||po);n();n();var W=require("@multiversx/sdk-core");A();n();var rr=require("@multiversx/sdk-core/out");n();n();function tr(e){try{let t=atob(e),r=btoa(t),o=a.Buffer.from(e,"base64").toString(),i=a.Buffer.from(o).toString("base64");if(e===r&&e===i||t===o)return!0}catch(t){return!1}return!1}n();n();n();n();var uo=e=>{let t=e!=null?e:"";return tr(t)?rr.TransactionPayload.fromEncoded(t):new rr.TransactionPayload(t)};n();A();var lt=({data:e,onlySetGuardian:t})=>e?t?e.startsWith("SetGuardian"):Object.values(Dt).some(r=>e.startsWith(r)):!1;function nr(e){var o,i,l;let t=Object.assign({},e);lt({data:t.data,onlySetGuardian:!0})&&(delete t.senderUsername,delete t.receiverUsername);let r=new W.Transaction(f(f(w(f(w(f({value:t.value.valueOf(),data:uo(t.data),nonce:t.nonce.valueOf(),receiver:new W.Address(t.receiver)},t.receiverUsername?{receiverUsername:t.receiverUsername}:{}),{sender:new W.Address(t.sender)}),t.senderUsername?{senderUsername:t.senderUsername}:{}),{gasLimit:(o=t.gasLimit.valueOf())!=null?o:Ot,gasPrice:(i=t.gasPrice.valueOf())!=null?i:Ft,chainID:t.chainID.valueOf(),version:new W.TransactionVersion((l=t.version)!=null?l:sn)}),t.options?{options:new W.TransactionOptions(t.options)}:{}),t.guardian?{guardian:new W.Address(t.guardian)}:{}));return t.guardianSignature&&r.applyGuardianSignature(a.Buffer.from(t.guardianSignature,"hex")),t.signature&&r.applySignature(a.Buffer.from(t.signature,"hex")),r}n();n();A();n();n();var ar=require("@reduxjs/toolkit"),Do=require("react-redux/lib/utils/Subscription");me();n();var mo=S(require("lodash.throttle"));A();me();Wt();Me();ye();var ma=[_e],pt=!1,ga=(0,mo.default)(()=>{xe(he())},5e3),go=e=>t=>r=>{if(ma.includes(r.type))return t(r);let o=e.getState(),i=de.local.getItem(ae.loginExpiresAt);if(!Boolean(o==null?void 0:o.account.address))return t(r);if(i==null)return xe(he());let p=Date.now();return i-p<0&&!pt?setTimeout(()=>{pt=!0,e.dispatch(vn())},1e3):(pt&&(pt=!1),ga()),t(r)};n();n();function ut(){return typeof sessionStorage!="undefined"}var Lo=ut()?(So(),fe(xo)).default:(Ao(),fe(wo)).default,Ro=ut()?(Io(),fe(bo)).default:[],Co=ut()?(No(),fe(Eo)).default:e=>e;dt();var F=(0,ar.configureStore)({reducer:Lo,middleware:e=>e({serializableCheck:{ignoredActions:[...Ro,wn.type,Sn.type],ignoredPaths:["payload.nonce","account.account.nonce","providers.accountProvider"]}}).concat(go)}),Tm=(0,Do.createSubscription)(F),ym=Co(F),hm=(0,ar.configureStore)({reducer:se});n();n();var Ba=require("@multiversx/sdk-core/out");n();A();n();var _o=require("@multiversx/sdk-core");_();n();var Ua=require("@multiversx/sdk-core");n();n();n();var Va=require("@multiversx/sdk-core"),$a=S(require("bignumber.js"));Y();n();n();n();var sr="batch";n();n();n();n();R();n();n();R();n();n();n();var za=S(require("bignumber.js"));A();n();var ja=require("@multiversx/sdk-core"),cr=S(require("bignumber.js"));A();n();var Ha=S(require("bignumber.js"));n();cr.default.config({ROUNDING_MODE:cr.default.ROUND_FLOOR});n();n();n();A();n();n();n();n();A();n();A();n();var Ka=require("@multiversx/sdk-core");A();n();var be=require("@multiversx/sdk-core"),Xa=S(require("bignumber.js"));A();n();n();var Ya=S(require("bignumber.js"));A();n();A();n();n();n();n();n();n();A();n();A();n();A();n();R();var Ja=["reDelegateRewards","claimRewards","unBond"],Qa=["wrapEgld","unwrapEgld"],es=["unStake"],ts=["unDelegate"];n();n();n();A();n();var os=S(require("bignumber.js"));n();n();R();n();var is=S(require("bignumber.js"));n();n();n();n();var ss=S(require("bignumber.js"));_();n();n();n();n();Y();n();var ps=require("@multiversx/sdk-web-wallet-provider");A();n();var ls=S(require("qs"));n();n();n();n();n();var gt=()=>typeof window!="undefined"&&typeof(window==null?void 0:window.location)!="undefined";n();n();var qy={search:gt()?window.location.search:"",removeParams:[]};n();n();n();n();R();n();n();n();var us=S(require("linkifyjs"));n();A();n();var ds=S(require("bignumber.js"));n();_();n();n();Y();n();Y();n();n();n();R();n();R();n();var ms=S(require("bignumber.js"));A();R();n();R();n();var Go=require("react");_();n();n();R();n();n();var gs=require("@multiversx/sdk-core/out"),fs=S(require("bignumber.js"));R();n();_();n();n();_();var Ux=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}];n();var Wo=require("react");_();n();var ys=require("react");R();var zx=["create","localMint","ESDTLocalMint","addQuantity","burn","localBurn","ESDTLocalBurn","wipe","writeLog","signalError"];Zt();var Tt=e=>e.transactions,ve=g(Tt,e=>e.signedTransactions),_S=g(Tt,e=>e.signTransactionsError),OS=g(Tt,e=>e.signTransactionsCancelMessage),yt=e=>t=>Object.entries(t).reduce((r,[o,i])=>(e(i.status)&&(r[o]=i),r),{}),FS=g(ve,yt(zn)),MS=g(ve,yt(et)),BS=g(ve,yt(tt)),US=g(ve,yt(Yn)),VS=g(Tt,e=>{var t;return(e==null?void 0:e.transactionsToSign)==null?null:w(f({},e.transactionsToSign),{transactions:((t=e==null?void 0:e.transactionsToSign)==null?void 0:t.transactions.map(r=>nr(r)))||[]})}),$S=g(ve,(e,t)=>t,(e,t)=>t!=null?(e==null?void 0:e[t])||{}:{});n();var xs=S(require("axios"));ie();n();A();n();var Ss=S(require("axios"));n();var As=S(require("axios"));n();n();var bs=S(require("axios"));n();var Is=S(require("axios"));n();n();n();n();var qo=require("@lifeomic/axios-fetch"),ur=S(require("axios")),dr=(0,qo.buildAxiosFetch)(ur.default),mr=(e,t)=>E(void 0,null,function*(){if(!e.ok)throw new Error(`HTTP error! Status: ${e.status}`);let o=e.clone().json(),[i]=yield Promise.all([o]);return{data:i,status:e.status,statusText:e.statusText,headers:e.headers,config:t}});function vs(e,t,r){return E(this,null,function*(){try{let o=yield dr(e,f({method:"POST",body:t?JSON.stringify(t):void 0,headers:f({"Content-Type":"application/json"},(r==null?void 0:r.headers)||{})},r));return mr(o,r)}catch(o){throw console.error("Fetch Error:",o),o}})}function ks(e,t){return E(this,null,function*(){try{let r=yield dr(e,t);if(!r.ok)throw new Error(`HTTP error! Status: ${r.status}`);return mr(r,t)}catch(r){throw console.error("Fetch Error:",r),r}})}function Es(e,t,r){return E(this,null,function*(){try{let o=yield dr(e,f({method:"PATCH",body:t?JSON.stringify(t):void 0,headers:(r==null?void 0:r.headers)||{}},r));if(!o.ok)throw new Error(`HTTP error! Status: ${o.status}`);return mr(o,r)}catch(o){throw console.error("Fetch Error:",o),o}})}var ht=ur.default.create();ht.get=ks;ht.post=vs;ht.patch=Es;n();n();n();n();ie();n();var Ns=S(require("axios"));n();var Ls=S(require("axios"));n();ie();n();ie();n();n();var Rs=S(require("axios"));n();var Cs=S(require("axios"));ie();function Ds(r){return E(this,arguments,function*({batchId:e,address:t}){let{apiAddress:o,apiTimeout:i}=Z(F.getState()),{data:l}=yield zo.default.get(`${o}/${sr}/${t}/${e}`,{timeout:Number(i!=null?i:_t)});return l})}0&&(module.exports={getBatchTransactionsStatus});
|
|
2
2
|
/*!
|
|
3
3
|
* The buffer module from node.js, for the browser.
|
|
4
4
|
*
|