@multiversx/sdk-dapp 4.2.3 → 4.2.4
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/Pagination/Pagination.js +1 -1
- package/UI/Pagination/helpers/getPagination/getPagination.js +1 -1
- package/UI/Pagination/helpers/getPagination/getPagination.spec.js +1 -1
- package/UI/Pagination/helpers/getPagination/index.js +1 -1
- package/UI/Pagination/helpers/index.js +1 -1
- package/UI/Pagination/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/ConfirmAmountLabel/ConfirmAmountLabel.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountLabel/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/components/GasDetails/GasDetails.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/components/GasDetails/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/components/index.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/SignWithIframeModal/SignWithIframeModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithIframeModal/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/SignWithMetamaskModal/SignWithMetamaskModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithMetamaskModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithOperaModal/SignWithOperaModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithOperaModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithPasskeyModal/SignWithPasskeyModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithPasskeyModal/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/components/TransactionDataDecode/TransactionDataDecode.js +1 -1
- package/UI/TransactionData/components/TransactionDataDecode/index.js +1 -1
- package/UI/TransactionData/components/index.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/iframe/IframeLoginButton/IframeButton.js +1 -1
- package/UI/iframe/IframeLoginButton/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/metamask/MetamaskLoginButton/MetamaskLoginButton.js +1 -1
- package/UI/metamask/MetamaskLoginButton/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/passkey/PasskeyLoginButton/PasskeyLoginButton.js +1 -1
- package/UI/passkey/PasskeyLoginButton/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/XaliasCrossWindowLoginButton/XaliasCrossWindowLoginButton.js +1 -1
- package/UI/webWallet/XaliasCrossWindowLoginButton/index.js +1 -1
- package/UI/webWallet/XaliasLoginButton/XaliasLoginButton.js +1 -1
- package/UI/webWallet/XaliasLoginButton/index.js +1 -1
- package/__chunks__/{chunk-D3ZSPYMX.js → chunk-23TXHNSY.js} +2 -2
- package/__chunks__/{chunk-ZLYXKNJ7.js → chunk-27GRBJQY.js} +2 -2
- package/__chunks__/{chunk-BZ2JRNMB.js → chunk-2AKCUOGL.js} +2 -2
- package/__chunks__/{chunk-MINDLNCW.js → chunk-2BHVLCHV.js} +2 -2
- package/__chunks__/{chunk-SKAASQXQ.js → chunk-2HAMX2WC.js} +2 -2
- package/__chunks__/{chunk-MRMOYPUQ.js → chunk-2K4OMJP3.js} +2 -2
- package/__chunks__/{chunk-RPTPB55O.js → chunk-2KKVFI6B.js} +2 -2
- package/__chunks__/{chunk-MANDDFQY.js → chunk-2MJMQPRS.js} +2 -2
- package/__chunks__/{chunk-5VIVALTC.js → chunk-2PFVDICB.js} +2 -2
- package/__chunks__/{chunk-63NFPLU7.js → chunk-2PSO5ASZ.js} +2 -2
- package/__chunks__/chunk-2WJXZ43Y.js +2 -0
- package/__chunks__/chunk-2YZO5NPO.js +2 -0
- package/__chunks__/{chunk-PLUO3C2O.js → chunk-347MOOJD.js} +2 -2
- package/__chunks__/chunk-35WCWARK.js +2 -0
- package/__chunks__/chunk-377KC453.js +2 -0
- package/__chunks__/{chunk-AUQWY7L4.js → chunk-3BCCAV55.js} +2 -2
- package/__chunks__/{chunk-TPADIHLD.js → chunk-3CPX2DLA.js} +2 -2
- package/__chunks__/chunk-3L2LTRK7.js +2 -0
- package/__chunks__/{chunk-VTKTCTGA.js → chunk-3MI4TOOU.js} +2 -2
- package/__chunks__/{chunk-4HQ7C6HV.js → chunk-3MTTNIL7.js} +2 -2
- package/__chunks__/{chunk-BRFJ6VVZ.js → chunk-3QLFTIZF.js} +2 -2
- package/__chunks__/{chunk-VMLX26MB.js → chunk-3S2PBKVM.js} +2 -2
- package/__chunks__/{chunk-YUCQBS4K.js → chunk-3Y6P2X36.js} +2 -2
- package/__chunks__/chunk-45HV2VB5.js +2 -0
- package/__chunks__/{chunk-EWKHXMGK.js → chunk-4F5RWWJ5.js} +2 -2
- package/__chunks__/{chunk-QAI3LFAC.js → chunk-4JDOAYCP.js} +2 -2
- package/__chunks__/{chunk-UFKNQ5AL.js → chunk-4O5NJJZX.js} +2 -2
- package/__chunks__/{chunk-LX6S6HNC.js → chunk-4QINOLVV.js} +2 -2
- package/__chunks__/{chunk-IQJJ526U.js → chunk-4T4XW3ZM.js} +2 -2
- package/__chunks__/{chunk-UNOJU6A6.js → chunk-4ZV2OHSF.js} +2 -2
- package/__chunks__/{chunk-LLX6H3UV.js → chunk-54MN2OT7.js} +2 -2
- package/__chunks__/{chunk-B23EXDNI.js → chunk-57IXW5TT.js} +2 -2
- package/__chunks__/chunk-57ZE7GI5.js +2 -0
- package/__chunks__/{chunk-6YCA3KB7.js → chunk-5DIKBX6P.js} +2 -2
- package/__chunks__/{chunk-3RRGCKXO.js → chunk-5FO4GXZV.js} +2 -2
- package/__chunks__/{chunk-7YS5H53I.js → chunk-5G5Z62RQ.js} +2 -2
- package/__chunks__/{chunk-RIOJZJ2G.js → chunk-5GT6KIAH.js} +2 -2
- package/__chunks__/{chunk-ZYYQP3ZY.js → chunk-5LWAGOYQ.js} +2 -2
- package/__chunks__/{chunk-HWFEESVS.js → chunk-5NRFYSKW.js} +2 -2
- package/__chunks__/{chunk-GISIHXS4.js → chunk-5SMPG7WT.js} +2 -2
- package/__chunks__/chunk-64IMIMQH.js +2 -0
- package/__chunks__/chunk-6ASYFKDY.js +2 -0
- package/__chunks__/chunk-6F3AOLP6.js +2 -0
- package/__chunks__/{chunk-DMLDWFUW.js → chunk-6G43EEHD.js} +2 -2
- package/__chunks__/{chunk-MBI6VDV3.js → chunk-6GRE6LWP.js} +2 -2
- package/__chunks__/{chunk-T74KGF7Z.js → chunk-6MPLRNGM.js} +2 -2
- package/__chunks__/{chunk-6X6BSM5V.js → chunk-6NI3FJXV.js} +2 -2
- package/__chunks__/{chunk-PVAFRFU7.js → chunk-6POXK2PJ.js} +2 -2
- package/__chunks__/chunk-6S7OTDVF.js +2 -0
- package/__chunks__/{chunk-5KF2FF5Y.js → chunk-6TP4L64K.js} +2 -2
- package/__chunks__/{chunk-PCTAN22W.js → chunk-6TPL6XUN.js} +2 -2
- package/__chunks__/{chunk-2BRDJQFQ.js → chunk-6VWD6JLA.js} +2 -2
- package/__chunks__/{chunk-RXTIYUEP.js → chunk-6WYDOITO.js} +2 -2
- package/__chunks__/{chunk-57OZC7D7.js → chunk-6XZAURAS.js} +2 -2
- package/__chunks__/{chunk-XL42WGIX.js → chunk-6Z4JJJKP.js} +2 -2
- package/__chunks__/{chunk-HZAZM33R.js → chunk-76JL5QO7.js} +2 -2
- package/__chunks__/{chunk-EPYJB33O.js → chunk-7DKL6WVO.js} +2 -2
- package/__chunks__/{chunk-FPTP67CR.js → chunk-7DVAIFLW.js} +2 -2
- package/__chunks__/{chunk-Q6GKGEEA.js → chunk-7ECBYHQB.js} +2 -2
- package/__chunks__/{chunk-3TM3IQNQ.js → chunk-7GQR4YD7.js} +2 -2
- package/__chunks__/{chunk-2XIINQWJ.js → chunk-7GRPW4LB.js} +2 -2
- package/__chunks__/{chunk-WMTUIRUR.js → chunk-7J2YDKH7.js} +2 -2
- package/__chunks__/chunk-7KKDIWNU.js +2 -0
- package/__chunks__/{chunk-RYWUTGX5.js → chunk-7KZEINQ6.js} +2 -2
- package/__chunks__/{chunk-IC3YFVKX.js → chunk-7O5SJW4P.js} +2 -2
- package/__chunks__/chunk-7QG3X4EF.js +2 -0
- package/__chunks__/{chunk-VNJ33NI6.js → chunk-7TWDP6MZ.js} +2 -2
- package/__chunks__/{chunk-AFT25M44.js → chunk-7VWOFWN4.js} +2 -2
- package/__chunks__/{chunk-V73354AM.js → chunk-7ZKAOIXV.js} +2 -2
- package/__chunks__/{chunk-H2LLST74.js → chunk-AA6UA42K.js} +2 -2
- package/__chunks__/{chunk-DSYQ43KC.js → chunk-ACBDOTOI.js} +2 -2
- package/__chunks__/{chunk-NL7VHCIM.js → chunk-ADZ57DDF.js} +2 -2
- package/__chunks__/{chunk-Q6QZGZZ5.js → chunk-AHZR22MJ.js} +2 -2
- package/__chunks__/{chunk-C6E3B2NS.js → chunk-AIANT4L7.js} +2 -2
- package/__chunks__/{chunk-GN5R5HKZ.js → chunk-AJBK7U72.js} +2 -2
- package/__chunks__/{chunk-ZAY442RT.js → chunk-AKA4Y5NA.js} +2 -2
- package/__chunks__/{chunk-VCV7ZROC.js → chunk-AKCILDST.js} +2 -2
- package/__chunks__/{chunk-EIXYSJWB.js → chunk-AKYBMNYM.js} +2 -2
- package/__chunks__/{chunk-UDPZFXZN.js → chunk-AO3O66OM.js} +2 -2
- package/__chunks__/{chunk-QDOXKVYD.js → chunk-AQ4ZNPDG.js} +2 -2
- package/__chunks__/{chunk-VIVYX6FF.js → chunk-AQP5RWFQ.js} +2 -2
- package/__chunks__/chunk-AQUWFRNT.js +2 -0
- package/__chunks__/{chunk-2VLZVH3I.js → chunk-AUDCBONF.js} +2 -2
- package/__chunks__/{chunk-7VS667FW.js → chunk-AZLEKGWD.js} +2 -2
- package/__chunks__/{chunk-FTSXWCDC.js → chunk-B6E7UKA3.js} +2 -2
- package/__chunks__/{chunk-4ZRBLBZJ.js → chunk-BB4EGGHX.js} +2 -2
- package/__chunks__/{chunk-OKYUAN2G.js → chunk-BD74L3MZ.js} +2 -2
- package/__chunks__/{chunk-5CDXMBPJ.js → chunk-BD7UJYLR.js} +2 -2
- package/__chunks__/{chunk-TB7OQ47G.js → chunk-BFMGM2II.js} +2 -2
- package/__chunks__/chunk-BHBN6WGJ.js +2 -0
- package/__chunks__/{chunk-5HBPP3NR.js → chunk-BHVL3TP4.js} +2 -2
- package/__chunks__/chunk-BK5CR4KX.js +2 -0
- package/__chunks__/{chunk-YB74PTHG.js → chunk-BNIVXSZZ.js} +2 -2
- package/__chunks__/{chunk-VMVVBCG7.js → chunk-BPHCEGZT.js} +2 -2
- package/__chunks__/chunk-BSVKYGFM.js +2 -0
- package/__chunks__/{chunk-HWBJDXBQ.js → chunk-BVYDVZ27.js} +2 -2
- package/__chunks__/{chunk-FEXBJFXF.js → chunk-BZROKJQK.js} +2 -2
- package/__chunks__/{chunk-Y5A6I4IN.js → chunk-C2L3U7M6.js} +2 -2
- package/__chunks__/{chunk-WTTKJ77Y.js → chunk-C2Y3I3N7.js} +2 -2
- package/__chunks__/{chunk-Q4OZKY2O.js → chunk-C4YP2HWR.js} +2 -2
- package/__chunks__/{chunk-TVLREG4W.js → chunk-CBCYE4MP.js} +2 -2
- package/__chunks__/{chunk-ED7RVBG7.js → chunk-CGGYIILR.js} +2 -2
- package/__chunks__/{chunk-NH26LROD.js → chunk-CISOU527.js} +2 -2
- package/__chunks__/chunk-CVZTMCJY.js +2 -0
- package/__chunks__/{chunk-DQYVUXSM.js → chunk-CYOEJLWC.js} +2 -2
- package/__chunks__/{chunk-KBBVEDM5.js → chunk-CZLFFJD5.js} +2 -2
- package/__chunks__/chunk-D2EVKW2T.js +2 -0
- package/__chunks__/{chunk-QQ5DM7Y5.js → chunk-D3LPDTJD.js} +2 -2
- package/__chunks__/chunk-D3YPLBY3.js +2 -0
- package/__chunks__/{chunk-LJOIVUJD.js → chunk-D6KSXFOS.js} +2 -2
- package/__chunks__/{chunk-I7DQGMFK.js → chunk-D7OF3YYW.js} +2 -2
- package/__chunks__/chunk-D7ZLFR62.js +2 -0
- package/__chunks__/{chunk-WRTQXPPT.js → chunk-D7ZWYUV4.js} +2 -2
- package/__chunks__/{chunk-W2DJZNLP.js → chunk-DBQWGU4D.js} +2 -2
- package/__chunks__/{chunk-A4IHPAQE.js → chunk-DFOKY7NF.js} +2 -2
- package/__chunks__/{chunk-FRS4T3C4.js → chunk-DIO4MCGN.js} +2 -2
- package/__chunks__/{chunk-Y67YELPX.js → chunk-DK4UAYBH.js} +2 -2
- package/__chunks__/{chunk-LWQHAZ7E.js → chunk-DKYF6URU.js} +2 -2
- package/__chunks__/{chunk-62GS7625.js → chunk-DMOIHPDB.js} +2 -2
- package/__chunks__/{chunk-6MOCHGD5.js → chunk-DOLDDIX5.js} +2 -2
- package/__chunks__/{chunk-477NUM3U.js → chunk-DQG4YXAO.js} +2 -2
- package/__chunks__/{chunk-TQFXVPA2.js → chunk-DQIUAHNI.js} +2 -2
- package/__chunks__/chunk-E2USJOFE.js +2 -0
- package/__chunks__/{chunk-I2S2NFBL.js → chunk-E44SCGEV.js} +2 -2
- package/__chunks__/{chunk-NMMQZSX2.js → chunk-E4K5LJHC.js} +2 -2
- package/__chunks__/chunk-E6N3V3MS.js +2 -0
- package/__chunks__/{chunk-NP3IVGAX.js → chunk-EB7KAXYD.js} +2 -2
- package/__chunks__/{chunk-EZPGGROF.js → chunk-ED7Y4GGR.js} +2 -2
- package/__chunks__/{chunk-U6CA3MQW.js → chunk-EGJDGEEA.js} +2 -2
- package/__chunks__/{chunk-YGXQNLZV.js → chunk-EI5UPA6X.js} +2 -2
- package/__chunks__/{chunk-6QUVE6WS.js → chunk-EMID5SUK.js} +2 -2
- package/__chunks__/{chunk-QYL6DOTM.js → chunk-ESATBNLE.js} +2 -2
- package/__chunks__/{chunk-RTLI55H6.js → chunk-EUN5R7QR.js} +2 -2
- package/__chunks__/{chunk-EYHRTJNZ.js → chunk-EWDTUKTN.js} +2 -2
- package/__chunks__/chunk-EYOSDKFN.js +2 -0
- package/__chunks__/{chunk-CAZ5SKFI.js → chunk-F3QUZXXJ.js} +2 -2
- package/__chunks__/{chunk-HXGBHMYD.js → chunk-F46BTCX2.js} +2 -2
- package/__chunks__/{chunk-BVRY25MQ.js → chunk-F4ITIBSC.js} +2 -2
- package/__chunks__/{chunk-YEBOHU6O.js → chunk-FIJHSF5X.js} +2 -2
- package/__chunks__/{chunk-YDPRKDDZ.js → chunk-FJUALVOB.js} +2 -2
- package/__chunks__/chunk-FSC7ZSUG.js +2 -0
- package/__chunks__/{chunk-EMHICRRK.js → chunk-FSE4OPVF.js} +2 -2
- package/__chunks__/{chunk-WINCYN7N.js → chunk-FSMCP4UC.js} +2 -2
- package/__chunks__/chunk-G45K2OOI.js +2 -0
- package/__chunks__/{chunk-3LAVGDDB.js → chunk-GH3KBTEB.js} +2 -2
- package/__chunks__/{chunk-3QUSSTB6.js → chunk-GKLIW5EG.js} +2 -2
- package/__chunks__/{chunk-532HFZSI.js → chunk-GMRT4257.js} +2 -2
- package/__chunks__/{chunk-AYDSW4BQ.js → chunk-GO7VAJYP.js} +1 -1
- package/__chunks__/{chunk-UY6JSGCH.js → chunk-GRIKEIVS.js} +2 -2
- package/__chunks__/{chunk-RTWDLQ5G.js → chunk-GXN2PJ2U.js} +2 -2
- package/__chunks__/{chunk-RFTARGNU.js → chunk-GYL4XOPU.js} +2 -2
- package/__chunks__/{chunk-3RZGMEDJ.js → chunk-H7KRKFKI.js} +2 -2
- package/__chunks__/{chunk-EPDNB4BC.js → chunk-HCATXCKV.js} +2 -2
- package/__chunks__/{chunk-3XGAP6F3.js → chunk-HCDYGFLZ.js} +2 -2
- package/__chunks__/{chunk-QKRXCPON.js → chunk-HFJTV3CC.js} +2 -2
- package/__chunks__/{chunk-DNYGMAKE.js → chunk-HHPKT4ZS.js} +2 -2
- package/__chunks__/{chunk-6NTPCT3W.js → chunk-HJDYFXTR.js} +2 -2
- package/__chunks__/{chunk-PVTSAR6C.js → chunk-HLJBBFG5.js} +2 -2
- package/__chunks__/{chunk-QAFMVLVK.js → chunk-HPR4TALS.js} +2 -2
- package/__chunks__/chunk-HQSYCI3T.js +2 -0
- package/__chunks__/{chunk-5726CQ4P.js → chunk-HV2VYUI4.js} +2 -2
- package/__chunks__/chunk-HVT6QFRJ.js +2 -0
- package/__chunks__/{chunk-3S56P67O.js → chunk-HYE7THQN.js} +2 -2
- package/__chunks__/chunk-IBTSNHG2.js +2 -0
- package/__chunks__/{chunk-CDLAQMNQ.js → chunk-IDEX2QK6.js} +2 -2
- package/__chunks__/chunk-IDPDBOZO.js +2 -0
- package/__chunks__/{chunk-NGIUEP6P.js → chunk-IDS6JBBL.js} +2 -2
- package/__chunks__/{chunk-PS45HP2Y.js → chunk-IFQHFUYM.js} +2 -2
- package/__chunks__/{chunk-OQAMJGKT.js → chunk-IJ74KNIC.js} +2 -2
- package/__chunks__/{chunk-LC3ST64P.js → chunk-IM7PYDCB.js} +2 -2
- package/__chunks__/chunk-IMWJX7G6.js +2 -0
- package/__chunks__/chunk-IMWRJNJI.js +2 -0
- package/__chunks__/{chunk-BSGJ2PO7.js → chunk-IOMIEAIR.js} +2 -2
- package/__chunks__/chunk-IQIU2FKZ.js +2 -0
- package/__chunks__/{chunk-R66EXTYX.js → chunk-IU4M5PQ6.js} +2 -2
- package/__chunks__/{chunk-65KDW3EF.js → chunk-IWKYYRBL.js} +2 -2
- package/__chunks__/{chunk-A435EVZJ.js → chunk-IXKVIA5H.js} +2 -2
- package/__chunks__/{chunk-SFBVL6WV.js → chunk-IYLSN6SG.js} +2 -2
- package/__chunks__/{chunk-B5EQPJJ5.js → chunk-IZGLXHKU.js} +2 -2
- package/__chunks__/{chunk-YHGBLDCM.js → chunk-J26D377O.js} +2 -2
- package/__chunks__/chunk-J365OIYB.js +2 -0
- package/__chunks__/chunk-J3VB5SWL.js +2 -0
- package/__chunks__/{chunk-6DH3KWPU.js → chunk-J7DVLQF3.js} +2 -2
- package/__chunks__/{chunk-NPG2FF6T.js → chunk-JAOBCTD3.js} +2 -2
- package/__chunks__/{chunk-EMI7LPW2.js → chunk-JC4RUCEI.js} +2 -2
- package/__chunks__/{chunk-DNWWNDH5.js → chunk-JE67JIKO.js} +2 -2
- package/__chunks__/{chunk-MLD7FQRY.js → chunk-JEVLHEB5.js} +2 -2
- package/__chunks__/{chunk-3DEE6PDH.js → chunk-JGEFDU2M.js} +2 -2
- package/__chunks__/{chunk-DX6ZH5RY.js → chunk-JGLC46XX.js} +2 -2
- package/__chunks__/chunk-JHNCX4OW.js +2 -0
- package/__chunks__/chunk-JLV6PEDH.js +2 -0
- package/__chunks__/chunk-JM2TKEYA.js +2 -0
- package/__chunks__/{chunk-QD6E6E53.js → chunk-JV7G6IE5.js} +2 -2
- package/__chunks__/{chunk-VDGWMDNA.js → chunk-JXN7G4NW.js} +2 -2
- package/__chunks__/{chunk-YPLINIJX.js → chunk-JZKDZHW6.js} +2 -2
- package/__chunks__/chunk-K5MDI2E3.js +2 -0
- package/__chunks__/{chunk-W7BJQQQH.js → chunk-K6KZ7EJY.js} +2 -2
- package/__chunks__/{chunk-ZKRG6BIT.js → chunk-K74YQ2RW.js} +2 -2
- package/__chunks__/{chunk-AA635XBD.js → chunk-KCIVRHYA.js} +2 -2
- package/__chunks__/{chunk-RI3AGJIX.js → chunk-KCLXYLGR.js} +2 -2
- package/__chunks__/{chunk-I4T5U7S5.js → chunk-KDV47UJB.js} +2 -2
- package/__chunks__/{chunk-PSDPEZ2M.js → chunk-KDWNY33O.js} +2 -2
- package/__chunks__/{chunk-N3KCMZJ3.js → chunk-KE5UZ3WI.js} +2 -2
- package/__chunks__/{chunk-RA2ZHW6F.js → chunk-KEV7J5RA.js} +2 -2
- package/__chunks__/chunk-KF3KR2YE.js +2 -0
- package/__chunks__/{chunk-2KUT5MZ5.js → chunk-KHFC7UGK.js} +2 -2
- package/__chunks__/{chunk-3UQUOKSH.js → chunk-KJRFNI2R.js} +2 -2
- package/__chunks__/{chunk-EDVWNDPS.js → chunk-KKBYQXVC.js} +2 -2
- package/__chunks__/chunk-KLIFZVCU.js +2 -0
- package/__chunks__/{chunk-SBPWVU3I.js → chunk-KNKVGYPK.js} +2 -2
- package/__chunks__/{chunk-EABVABIA.js → chunk-KRQ7G2TW.js} +2 -2
- package/__chunks__/{chunk-KVZHA7V5.js → chunk-KSMGEZVM.js} +2 -2
- package/__chunks__/{chunk-C7X3EAOL.js → chunk-KTGCZMRY.js} +2 -2
- package/__chunks__/{chunk-WJZM5J7G.js → chunk-KUYARUDF.js} +2 -2
- package/__chunks__/{chunk-2AAIALWN.js → chunk-KWX3IGRW.js} +2 -2
- package/__chunks__/{chunk-GFRTWV7P.js → chunk-L4WIQUJM.js} +2 -2
- package/__chunks__/chunk-L5JNNCYR.js +2 -0
- package/__chunks__/{chunk-RJX4CGCM.js → chunk-L5WKFLN6.js} +2 -2
- package/__chunks__/{chunk-LGL2JKVZ.js → chunk-L66CVCKC.js} +2 -2
- package/__chunks__/{chunk-X7IRZILW.js → chunk-LBBE2FK4.js} +2 -2
- package/__chunks__/{chunk-2JSTPZ5D.js → chunk-LKJYMPUF.js} +2 -2
- package/__chunks__/{chunk-5YLVIU7B.js → chunk-LNRA4HLZ.js} +2 -2
- package/__chunks__/{chunk-C5T5IKW5.js → chunk-LONG7KDC.js} +2 -2
- package/__chunks__/{chunk-IBYLVRHS.js → chunk-LOTUE6E3.js} +2 -2
- package/__chunks__/{chunk-EOZIJXR7.js → chunk-LRGA4H45.js} +2 -2
- package/__chunks__/{chunk-YNBOT4EO.js → chunk-LUATBCKL.js} +2 -2
- package/__chunks__/{chunk-MAUJ5UTG.js → chunk-LV3QNILO.js} +2 -2
- package/__chunks__/{chunk-WGK5PNIH.js → chunk-M3NUL3WD.js} +2 -2
- package/__chunks__/{chunk-ZOLN42OL.js → chunk-M3ORSTY4.js} +2 -2
- package/__chunks__/{chunk-2LEZNJ7P.js → chunk-M6AV4K6T.js} +2 -2
- package/__chunks__/{chunk-3ZIAHDH5.js → chunk-MBRQ45HF.js} +2 -2
- package/__chunks__/{chunk-HY2K2QFX.js → chunk-MDIXKUZT.js} +2 -2
- package/__chunks__/{chunk-RCXLUOYD.js → chunk-MDKG2FZP.js} +2 -2
- package/__chunks__/{chunk-B5R5MQQF.js → chunk-MDU4IRB6.js} +2 -2
- package/__chunks__/{chunk-OEZR3HBU.js → chunk-MH7RVYLN.js} +2 -2
- package/__chunks__/{chunk-WPXWVMHL.js → chunk-MIZZX4GG.js} +2 -2
- package/__chunks__/{chunk-KZRFY5LH.js → chunk-MOHZ7BZA.js} +2 -2
- package/__chunks__/{chunk-777APJL5.js → chunk-MS6PKWAY.js} +2 -2
- package/__chunks__/{chunk-5EKZOKOX.js → chunk-MTVWQLLE.js} +2 -2
- package/__chunks__/{chunk-4UG3DULI.js → chunk-MVFU3NVM.js} +2 -2
- package/__chunks__/{chunk-RNPFJZCY.js → chunk-MWG4XJIH.js} +2 -2
- package/__chunks__/{chunk-ARPY4UXF.js → chunk-MYCSQFYR.js} +2 -2
- package/__chunks__/chunk-NEGXVH4R.js +2 -0
- package/__chunks__/{chunk-P3F6Z2PW.js → chunk-NFS4BVVW.js} +2 -2
- package/__chunks__/{chunk-NLQQ6U4B.js → chunk-NIYEVG2X.js} +2 -2
- package/__chunks__/chunk-NOTH6QIT.js +2 -0
- package/__chunks__/{chunk-XSXGHEFM.js → chunk-NYZNOX36.js} +2 -2
- package/__chunks__/chunk-O2AD4BZE.js +2 -0
- package/__chunks__/{chunk-BAGA6AIQ.js → chunk-O2NBOXPA.js} +2 -2
- package/__chunks__/{chunk-OLXELT4A.js → chunk-O5ZUILQQ.js} +2 -2
- package/__chunks__/chunk-O6HCFTAR.js +2 -0
- package/__chunks__/{chunk-XHJFHQNV.js → chunk-OBZC3ESN.js} +2 -2
- package/__chunks__/{chunk-FYXQ53XP.js → chunk-ODBLSQID.js} +2 -2
- package/__chunks__/{chunk-A5KHTEEG.js → chunk-OF222H3K.js} +2 -2
- package/__chunks__/chunk-OGWQJGUF.js +2 -0
- package/__chunks__/{chunk-ILU3DBNS.js → chunk-OHCGKSYB.js} +2 -2
- package/__chunks__/{chunk-VA7FKW7S.js → chunk-OLH4DPDU.js} +2 -2
- package/__chunks__/{chunk-GIP6O6JD.js → chunk-OM6KUNIP.js} +2 -2
- package/__chunks__/{chunk-242CJUR6.js → chunk-OPWBMDPI.js} +2 -2
- package/__chunks__/{chunk-HTUBVWSA.js → chunk-OQOVDOI6.js} +2 -2
- package/__chunks__/{chunk-QNGDUQSN.js → chunk-ORIQ7L3C.js} +2 -2
- package/__chunks__/chunk-OVIOGOGH.js +2 -0
- package/__chunks__/{chunk-4IH3PGIO.js → chunk-OY47ICNF.js} +2 -2
- package/__chunks__/{chunk-UKTRBAVX.js → chunk-P7SEHXMX.js} +2 -2
- package/__chunks__/{chunk-VLNXW72K.js → chunk-PBIGYIIU.js} +2 -2
- package/__chunks__/{chunk-CRGQ2KHM.js → chunk-PJTL4LCO.js} +2 -2
- package/__chunks__/{chunk-LSSXOVRE.js → chunk-PMGINMXP.js} +2 -2
- package/__chunks__/{chunk-O6HNLAAX.js → chunk-PQJRFKIQ.js} +2 -2
- package/__chunks__/{chunk-JAFNILFG.js → chunk-PS2XR3XC.js} +2 -2
- package/__chunks__/{chunk-4D4C3VWU.js → chunk-PSJATKB3.js} +2 -2
- package/__chunks__/chunk-Q2BYU53C.js +2 -0
- package/__chunks__/chunk-Q2QN2FPK.js +2 -0
- package/__chunks__/{chunk-UVPCMOMP.js → chunk-QAMGUYHB.js} +2 -2
- package/__chunks__/{chunk-WDM5FR2J.js → chunk-QN77DUKM.js} +2 -2
- package/__chunks__/{chunk-HKWKPJHM.js → chunk-QQ7RJKYI.js} +2 -2
- package/__chunks__/{chunk-O245T2HR.js → chunk-QQXN7SAU.js} +2 -2
- package/__chunks__/{chunk-VASTIT6L.js → chunk-QVW65MZ7.js} +2 -2
- package/__chunks__/{chunk-OW7Y2O7T.js → chunk-QY7LTNY5.js} +2 -2
- package/__chunks__/{chunk-AO23PQ7L.js → chunk-R25TQ44Y.js} +2 -2
- package/__chunks__/{chunk-Q6E3BQK2.js → chunk-R5EP5RPN.js} +2 -2
- package/__chunks__/{chunk-VTZ25O2F.js → chunk-RAAMWUOU.js} +2 -2
- package/__chunks__/{chunk-P4TDBATP.js → chunk-RBBWLYSS.js} +2 -2
- package/__chunks__/{chunk-7CZPDSGE.js → chunk-RCXQO6EH.js} +2 -2
- package/__chunks__/chunk-RGFZUTL7.js +2 -0
- package/__chunks__/{chunk-IW6ABH2I.js → chunk-RGMYADUR.js} +2 -2
- package/__chunks__/{chunk-KBPYTTIO.js → chunk-RPOCGI2L.js} +2 -2
- package/__chunks__/{chunk-LYDWQJ5P.js → chunk-RR2UQRUX.js} +2 -2
- package/__chunks__/{chunk-2A35GSZR.js → chunk-RW655DLS.js} +2 -2
- package/__chunks__/{chunk-55262DQ2.js → chunk-RWBKMSDS.js} +2 -2
- package/__chunks__/{chunk-ZW6IPY3H.js → chunk-RYEGYDMM.js} +2 -2
- package/__chunks__/{chunk-XU3DELMD.js → chunk-S5ZHA626.js} +2 -2
- package/__chunks__/{chunk-YLS6QKCU.js → chunk-SA6LUXRD.js} +2 -2
- package/__chunks__/chunk-SD7SYUI5.js +2 -0
- package/__chunks__/{chunk-QMVRQULY.js → chunk-SIQCNIIK.js} +2 -2
- package/__chunks__/{chunk-HXYW3WRC.js → chunk-SIY6G3PS.js} +2 -2
- package/__chunks__/{chunk-7JWC6XZR.js → chunk-SJBCZR3P.js} +2 -2
- package/__chunks__/{chunk-HSLWVMJ4.js → chunk-SKPYHWM3.js} +2 -2
- package/__chunks__/{chunk-I5ZN7EGX.js → chunk-SM62FXCD.js} +2 -2
- package/__chunks__/{chunk-FELZ2VV7.js → chunk-SMINKY6C.js} +2 -2
- package/__chunks__/{chunk-BIA4DCJJ.js → chunk-SMWWXYAT.js} +2 -2
- package/__chunks__/chunk-SNZIHGIN.js +2 -0
- package/__chunks__/{chunk-O7UIFSVF.js → chunk-SUXA3HGP.js} +2 -2
- package/__chunks__/{chunk-4TDJGFAB.js → chunk-SVDDAXVQ.js} +2 -2
- package/__chunks__/{chunk-S2XM3C6X.js → chunk-T4WT6T4H.js} +2 -2
- package/__chunks__/{chunk-ALCKJUKQ.js → chunk-T52JYWCB.js} +2 -2
- package/__chunks__/{chunk-QON3PPGY.js → chunk-T7JECCLM.js} +2 -2
- package/__chunks__/chunk-TAYBPKZI.js +2 -0
- package/__chunks__/{chunk-DWPQIHUF.js → chunk-TAYPKHLR.js} +2 -2
- package/__chunks__/{chunk-OSJIBHLT.js → chunk-TFUTUSMZ.js} +2 -2
- package/__chunks__/{chunk-7BP6OIQF.js → chunk-TNK2IWXC.js} +2 -2
- package/__chunks__/{chunk-PRHH63KO.js → chunk-TNVEBBGI.js} +2 -2
- package/__chunks__/chunk-TO2HMCCP.js +2 -0
- package/__chunks__/{chunk-DEFRSBCY.js → chunk-TPHB4MSC.js} +2 -2
- package/__chunks__/chunk-TXCFIGVE.js +2 -0
- package/__chunks__/{chunk-HWKCA6LC.js → chunk-TXXLW6VA.js} +2 -2
- package/__chunks__/{chunk-B6MM5QAD.js → chunk-U2X7KRM3.js} +2 -2
- package/__chunks__/{chunk-2MSJDOLX.js → chunk-U36ANSDN.js} +2 -2
- package/__chunks__/chunk-UCT2AN5N.js +2 -0
- package/__chunks__/{chunk-F6F6VPKV.js → chunk-UDV6OAJS.js} +2 -2
- package/__chunks__/{chunk-RHK543DL.js → chunk-UIAHDQFJ.js} +2 -2
- package/__chunks__/chunk-UQG7WNKT.js +2 -0
- package/__chunks__/{chunk-HVDLYVLU.js → chunk-UTCFBKL4.js} +2 -2
- package/__chunks__/{chunk-P6MQR7L3.js → chunk-V2DIXNZL.js} +2 -2
- package/__chunks__/{chunk-OR6NJ6W4.js → chunk-V7GNFMQQ.js} +2 -2
- package/__chunks__/{chunk-TGKHVPR3.js → chunk-VA53NOXV.js} +2 -2
- package/__chunks__/{chunk-3PL3MDJM.js → chunk-VAOOFCU3.js} +2 -2
- package/__chunks__/chunk-VAVWK4UG.js +2 -0
- package/__chunks__/chunk-VAZYS4KP.js +2 -0
- package/__chunks__/{chunk-AKUXNBPC.js → chunk-VJLOOUHI.js} +2 -2
- package/__chunks__/chunk-VLCCZ3GW.js +2 -0
- package/__chunks__/{chunk-W4XLHMUR.js → chunk-VLPKO4BM.js} +2 -2
- package/__chunks__/{chunk-OHSFIJ4R.js → chunk-VMDMTZX7.js} +2 -2
- package/__chunks__/{chunk-RZSB6MLX.js → chunk-VW5GXHE6.js} +2 -2
- package/__chunks__/chunk-VW6I5IV5.js +2 -0
- package/__chunks__/chunk-VYS6G3QS.js +2 -0
- package/__chunks__/{chunk-7KXAHTDE.js → chunk-W3OLP2NL.js} +2 -2
- package/__chunks__/{chunk-RAI44GSE.js → chunk-W3S7ZXZA.js} +2 -2
- package/__chunks__/{chunk-MHCHGTSP.js → chunk-W4AQYT3Y.js} +2 -2
- package/__chunks__/{chunk-H24EV5J7.js → chunk-W6M4YMTF.js} +2 -2
- package/__chunks__/{chunk-P5UTD7RO.js → chunk-WAHSX5VL.js} +2 -2
- package/__chunks__/{chunk-XJGZH377.js → chunk-WSWXITOQ.js} +2 -2
- package/__chunks__/chunk-WTQQM44M.js +2 -0
- package/__chunks__/{chunk-CP7EEONG.js → chunk-X2MFFJLA.js} +2 -2
- package/__chunks__/{chunk-VEBHYBC6.js → chunk-X2R4BRHP.js} +2 -2
- package/__chunks__/{chunk-ZLYTZLNR.js → chunk-X3533JUO.js} +2 -2
- package/__chunks__/chunk-X3FV3NSH.js +2 -0
- package/__chunks__/{chunk-DWGVZFZF.js → chunk-X7YK3ENS.js} +2 -2
- package/__chunks__/{chunk-WKDFZDJ7.js → chunk-XAZEN7PL.js} +2 -2
- package/__chunks__/{chunk-HRVS4S4Z.js → chunk-XBPGR2GN.js} +2 -2
- package/__chunks__/{chunk-ITT3WMEV.js → chunk-XCEMWE36.js} +2 -2
- package/__chunks__/{chunk-DVNFSDRK.js → chunk-XDPM7AL4.js} +2 -2
- package/__chunks__/{chunk-3SG2CFO2.js → chunk-XDTD6Q52.js} +2 -2
- package/__chunks__/{chunk-3RKKNHDY.js → chunk-XENYJANR.js} +2 -2
- package/__chunks__/{chunk-CJWT7GUT.js → chunk-XHZUCOSM.js} +2 -2
- package/__chunks__/{chunk-6O6SQMZU.js → chunk-XJO6T3J3.js} +2 -2
- package/__chunks__/chunk-XS7EEUSO.js +2 -0
- package/__chunks__/{chunk-JX5Y3ZIO.js → chunk-XUU6VCUI.js} +2 -2
- package/__chunks__/{chunk-MC3XVJOQ.js → chunk-Y247Z3XH.js} +2 -2
- package/__chunks__/{chunk-KAAZLV7W.js → chunk-Y4F4YU32.js} +2 -2
- package/__chunks__/{chunk-K6U7MBQO.js → chunk-YAH726Q5.js} +2 -2
- package/__chunks__/{chunk-4JIC2C3M.js → chunk-YDKSUPLR.js} +2 -2
- package/__chunks__/{chunk-4ZKGD7SC.js → chunk-YEYKDQEX.js} +2 -2
- package/__chunks__/{chunk-S7TA34AP.js → chunk-YHLRHGAS.js} +2 -2
- package/__chunks__/{chunk-W52RV4NU.js → chunk-YID2FFWI.js} +2 -2
- package/__chunks__/{chunk-RHLQG7UG.js → chunk-YII3HASQ.js} +2 -2
- package/__chunks__/{chunk-QHDY6CQE.js → chunk-YQ4KCZ4H.js} +2 -2
- package/__chunks__/{chunk-NSSHIAWM.js → chunk-YSBA3GTE.js} +2 -2
- package/__chunks__/{chunk-72QZ7UGQ.js → chunk-YSE3BFBR.js} +2 -2
- package/__chunks__/chunk-YUME4UH5.js +2 -0
- package/__chunks__/{chunk-QOEUI5RG.js → chunk-YUXXVOF3.js} +2 -2
- package/__chunks__/{chunk-JIYXCHYX.js → chunk-YWER4VUO.js} +2 -2
- package/__chunks__/{chunk-ZBS5PFX5.js → chunk-YYIWDF6Z.js} +2 -2
- package/__chunks__/{chunk-SVL4RA3G.js → chunk-YZRTWH7F.js} +2 -2
- package/__chunks__/{chunk-HBPREG4S.js → chunk-ZAMT3PZG.js} +2 -2
- package/__chunks__/{chunk-AZMT7E7M.js → chunk-ZC2ALYBV.js} +2 -2
- package/__chunks__/chunk-ZCGDE6EG.js +2 -0
- package/__chunks__/{chunk-SUH5BOLV.js → chunk-ZDNOKBPR.js} +2 -2
- package/__chunks__/{chunk-ZD6OPCYL.js → chunk-ZIMJTYXB.js} +2 -2
- package/__chunks__/{chunk-FQGT3YF6.js → chunk-ZIWMXVNR.js} +2 -2
- package/__chunks__/chunk-ZTKB7XJK.js +2 -0
- package/__chunks__/{chunk-GXUC46CH.js → chunk-ZUVOH47A.js} +2 -2
- package/__chunks__/{chunk-KDIDLBRX.js → chunk-ZVCXEFCL.js} +2 -2
- package/__chunks__/chunk-ZW23T7WM.js +2 -0
- package/__chunks__/chunk-ZZRC2R4E.js +2 -0
- package/__commonjs/UI/SignTransactionsModals/SignTransactionsModals.js +8 -8
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +9 -9
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignWithDeviceModal.js +2 -2
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/index.js +2 -2
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/signWithDeviceModal.types.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/SignWithExtraModal.js +2 -2
- package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/index.js +2 -2
- package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/SignWithLedgerModal.js +2 -2
- package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/index.js +2 -2
- package/__commonjs/UI/SignTransactionsModals/SignWithMetamaskModal/SignWithMetamaskModal.js +2 -2
- package/__commonjs/UI/SignTransactionsModals/SignWithMetamaskModal/index.js +2 -2
- package/__commonjs/UI/SignTransactionsModals/components/ConfirmationScreen.js +2 -2
- package/__commonjs/UI/SignTransactionsModals/components/DeviceConfirmationScreen.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/components/index.js +2 -2
- package/__commonjs/UI/SignTransactionsModals/index.js +2 -2
- package/__commonjs/UI/TransactionInfo/components/TransactionAction/TransactionAction.js +11 -11
- package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/ActionText/index.js +10 -10
- package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionCollection.js +3 -3
- package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/index.js +10 -10
- package/__commonjs/UI/TransactionInfo/components/TransactionAction/index.js +11 -11
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/TransactionInfoGasUsed.js +5 -5
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/index.js +5 -5
- package/__commonjs/UI/TransactionsTable/components/AccountName.js +2 -2
- 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/TransactionToastContent.js +2 -2
- package/__commonjs/UI/TransactionsToastList/components/TransactionToast/components/index.js +2 -2
- package/__commonjs/UI/TransactionsToastList/components/TransactionToastGuard.js +11 -11
- package/__commonjs/UI/Trim/Trim.js +2 -2
- package/__commonjs/UI/Trim/index.js +2 -2
- package/__commonjs/UI/iframe/IframeLoginButton/IframeButton.js +1 -1
- package/__commonjs/UI/iframe/IframeLoginButton/index.js +1 -1
- package/__commonjs/UI/index.js +2 -2
- package/__commonjs/UI/ledger/LedgerLoginButton/LedgerLoginButton.js +1 -1
- package/__commonjs/UI/ledger/LedgerLoginButton/index.js +1 -1
- package/__commonjs/UI/ledger/LedgerLoginContainer/AddressTable/AddressTable.js +1 -1
- package/__commonjs/UI/ledger/LedgerLoginContainer/AddressTable/index.js +1 -1
- package/__commonjs/UI/ledger/LedgerLoginContainer/LedgerLoginContainer.js +10 -10
- package/__commonjs/UI/ledger/LedgerLoginContainer/LedgerLoginContent/LedgerLoginContent.js +1 -1
- package/__commonjs/UI/ledger/LedgerLoginContainer/LedgerLoginContent/index.js +1 -1
- package/__commonjs/UI/ledger/LedgerLoginContainer/LedgerLoginContentBody/LedgerLoginContentBody.js +1 -1
- package/__commonjs/UI/ledger/LedgerLoginContainer/LedgerLoginContentBody/index.js +1 -1
- package/__commonjs/UI/ledger/LedgerLoginContainer/index.js +10 -10
- package/__commonjs/UI/ledger/index.js +1 -1
- package/__commonjs/UI/pages/UnlockPage/index.js +1 -1
- package/__commonjs/UI/pages/index.js +1 -1
- package/__commonjs/UI/webWallet/CrossWindowLoginButton/CrossWindowLoginButton.js +1 -1
- package/__commonjs/UI/webWallet/CrossWindowLoginButton/index.js +1 -1
- package/__commonjs/UI/webWallet/WebWalletLoginButton/WebWalletLoginButton.js +2 -2
- package/__commonjs/UI/webWallet/WebWalletLoginButton/index.js +2 -2
- package/__commonjs/UI/webWallet/XaliasCrossWindowLoginButton/XaliasCrossWindowLoginButton.js +1 -1
- package/__commonjs/UI/webWallet/XaliasCrossWindowLoginButton/index.js +1 -1
- package/__commonjs/__mocks__/accountConfig.js +1 -1
- package/__commonjs/__mocks__/index.js +2 -2
- package/__commonjs/__mocks__/utils/index.js +2 -2
- package/__commonjs/__mocks__/utils/renderWithProvider.js +2 -2
- package/__commonjs/apiCalls/accounts/getAccountFromApi.d.ts +2 -0
- package/__commonjs/apiCalls/accounts/getAccountFromApi.js +1 -1
- package/__commonjs/apiCalls/accounts/index.js +1 -1
- package/__commonjs/apiCalls/index.js +1 -1
- package/__commonjs/components/ProviderInitializer/ProviderInitializer.js +3 -3
- package/__commonjs/components/ProviderInitializer/helpers/index.js +2 -2
- package/__commonjs/components/ProviderInitializer/helpers/processModifiedAccount.js +1 -1
- package/__commonjs/components/ProviderInitializer/index.js +3 -3
- package/__commonjs/components/TransactionsTracker/TransactionTracker.js +1 -1
- package/__commonjs/components/TransactionsTracker/index.js +1 -1
- package/__commonjs/constants/index.js +1 -1
- package/__commonjs/hooks/index.js +2 -2
- package/__commonjs/hooks/login/helpers/clearInitiatedLogins.js +1 -1
- package/__commonjs/hooks/login/helpers/index.js +1 -1
- package/__commonjs/hooks/login/index.js +1 -1
- package/__commonjs/hooks/login/useCrossWindowLogin.js +1 -1
- package/__commonjs/hooks/login/useIframeLogin.js +1 -1
- package/__commonjs/hooks/transactions/batch/tracker/useBatchTransactionsTracker.js +1 -1
- package/__commonjs/hooks/transactions/batch/tracker/useCheckBatchesOnWsFailureFallback.js +1 -1
- package/__commonjs/hooks/transactions/batch/tracker/useCheckHangingBatchesFallback.js +1 -1
- package/__commonjs/hooks/transactions/batch/tracker/useVerifyBatchStatus.js +1 -1
- package/__commonjs/hooks/transactions/helpers/checkNeedsGuardianSigning.js +1 -1
- package/__commonjs/hooks/transactions/helpers/index.js +2 -2
- package/__commonjs/hooks/transactions/helpers/useSetTransactionNonces.js +1 -1
- package/__commonjs/hooks/transactions/index.js +2 -2
- package/__commonjs/hooks/transactions/useCheckTransactionStatus/checkBatch.js +1 -1
- package/__commonjs/hooks/transactions/useCheckTransactionStatus/index.js +1 -1
- package/__commonjs/hooks/transactions/useCheckTransactionStatus/useCheckTransactionStatus.js +1 -1
- package/__commonjs/hooks/transactions/useSignTransactions.js +2 -2
- package/__commonjs/hooks/transactions/useSignTransactionsCommonData.js +1 -1
- package/__commonjs/hooks/transactions/useSignTransactionsWithDevice.js +2 -2
- package/__commonjs/hooks/transactions/useSignTransactionsWithLedger.js +2 -2
- package/__commonjs/hooks/transactions/useTransactionsTracker/index.js +1 -1
- package/__commonjs/hooks/transactions/useTransactionsTracker/useCheckHangingTransactionsFallback.js +1 -1
- package/__commonjs/hooks/transactions/useTransactionsTracker/useCheckTransactionOnWsFailureFallback.js +1 -1
- package/__commonjs/hooks/transactions/useTransactionsTracker/useTransactionsTracker.js +1 -1
- package/__commonjs/hooks/transactions/useTransactionsTracker/useUpdateTrackedTransactions.js +1 -1
- package/__commonjs/providers/experimentalWebViewProvider/useInitiateExperimentalWebviewLogin.js +1 -1
- package/__commonjs/services/index.js +1 -1
- package/__commonjs/services/transactions/__tests__/transformAndSignTransactions.test.js +1 -1
- package/__commonjs/services/transactions/index.js +1 -1
- package/__commonjs/services/transactions/sendBatchTransactions.js +1 -1
- package/__commonjs/services/transactions/sendBatchTransactions.test.js +1 -1
- package/__commonjs/services/transactions/sendTransactions.js +1 -1
- package/__commonjs/services/transactions/transformAndSignTransactions.js +1 -1
- package/__commonjs/services/transactions/utils/transformTransactionsToSign.js +1 -1
- package/__commonjs/types/index.js +1 -1
- package/__commonjs/types/network.types.d.ts +1 -0
- package/__commonjs/utils/account/getAccount.js +1 -1
- package/__commonjs/utils/account/getAccountBalance.js +1 -1
- package/__commonjs/utils/account/index.js +1 -1
- package/__commonjs/utils/account/refreshAccount.js +1 -1
- package/__commonjs/utils/index.js +2 -2
- package/__commonjs/utils/transactions/batch/getTransactionsStatus.js +1 -1
- package/__commonjs/utils/transactions/builtCallbackUrl.js +1 -1
- package/__commonjs/utils/transactions/index.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/getScResultsInitialDecodeMethod.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/getTransactionLinkWithLabel.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/index.js +3 -3
- package/__commonjs/wrappers/DappProvider/CustomComponents.js +1 -1
- package/__commonjs/wrappers/DappProvider/DappProvider.js +2 -2
- package/__commonjs/wrappers/DappProvider/index.js +2 -2
- package/__commonjs/wrappers/index.js +2 -2
- 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.d.ts +2 -0
- package/apiCalls/accounts/getAccountFromApi.js +1 -1
- package/apiCalls/accounts/index.js +1 -1
- package/apiCalls/accounts/useGetAccountFromApi.js +1 -1
- package/apiCalls/configuration/getApiAddressForChainId.js +1 -1
- package/apiCalls/configuration/getEnvironmentForChainId.js +1 -1
- package/apiCalls/configuration/getGasStationMetadata.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/configuration/useGetNetworkConfigFromApi.js +1 -1
- package/apiCalls/configuration/useGetServerConfigurationFromApi.js +1 -1
- package/apiCalls/economics/getEconomicsInfo.js +1 -1
- package/apiCalls/economics/index.js +1 -1
- package/apiCalls/economics/useGetEconomicsInfoFromApi.js +1 -1
- package/apiCalls/index.js +1 -1
- package/apiCalls/tokens/getPersistedToken.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/transactions/useGetTransactionsFromApi.js +1 -1
- package/apiCalls/utils/getCleanApiAddress.js +1 -1
- package/apiCalls/utils/getScamAddressData.js +1 -1
- package/apiCalls/utils/index.js +1 -1
- package/apiCalls/utils/useApiFetch.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/handleGuardianWarning.js +1 -1
- package/components/ProviderInitializer/helpers/index.js +1 -1
- package/components/ProviderInitializer/helpers/processModifiedAccount.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/useGetAccountInfo.js +1 -1
- package/hooks/account/useGetAccountProvider.js +1 -1
- package/hooks/account/useGetBatchWebsocketEvent.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/helpers/clearInitiatedLogins.js +1 -1
- package/hooks/login/helpers/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/useIframeLogin.js +1 -1
- package/hooks/login/useLedgerLogin.js +1 -1
- package/hooks/login/useLoginService.js +1 -1
- package/hooks/login/useMetamaskLogin.js +1 -1
- package/hooks/login/useOperaLogin.js +1 -1
- package/hooks/login/usePasskeyLogin.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/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/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/useCancelActionAndDispose.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/useGetPollingInterval.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.js +1 -1
- package/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
- package/hooks/transactions/useTrackTransactionStatus.js +1 -1
- package/hooks/transactions/useTransactionsTracker/index.js +1 -1
- package/hooks/transactions/useTransactionsTracker/useCheckHangingTransactionsFallback.js +1 -1
- package/hooks/transactions/useTransactionsTracker/useCheckTransactionOnWsFailureFallback.js +1 -1
- package/hooks/transactions/useTransactionsTracker/useTransactionsTracker.js +1 -1
- package/hooks/transactions/useTransactionsTracker/useUpdateTrackedTransactions.js +1 -1
- package/hooks/transactions/useTransactionsTracker/useWebsocketPollingFallback.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/experimentalWebViewProvider/useInitiateExperimentalWebviewLogin.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/__tests__/transformAndSignTransactions.test.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/network.types.d.ts +1 -0
- package/types/network.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/getWebviewToken.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/getOperationsDetails.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/parseMultiEsdtTransferDataForMultipleTransactions.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-2CEXAXAE.js +0 -2
- package/__chunks__/chunk-3KXYNLZK.js +0 -2
- package/__chunks__/chunk-3NNYBAR4.js +0 -2
- package/__chunks__/chunk-4B4U6TLF.js +0 -2
- package/__chunks__/chunk-4BUROECY.js +0 -2
- package/__chunks__/chunk-4H7QFP32.js +0 -2
- package/__chunks__/chunk-52KNFYBL.js +0 -2
- package/__chunks__/chunk-5JQXLGTT.js +0 -2
- package/__chunks__/chunk-5WMQYBEG.js +0 -2
- package/__chunks__/chunk-5YBLNHWF.js +0 -2
- package/__chunks__/chunk-6WCQBYVF.js +0 -2
- package/__chunks__/chunk-7MPDVVDF.js +0 -2
- package/__chunks__/chunk-AKDCP4Z5.js +0 -2
- package/__chunks__/chunk-BXNKOVQV.js +0 -2
- package/__chunks__/chunk-C64A5PKW.js +0 -2
- package/__chunks__/chunk-FBEJ7MUO.js +0 -2
- package/__chunks__/chunk-FDBB4BNW.js +0 -2
- package/__chunks__/chunk-FGKIRLPF.js +0 -2
- package/__chunks__/chunk-G74QR67S.js +0 -2
- package/__chunks__/chunk-GARHCMQR.js +0 -2
- package/__chunks__/chunk-GZXCPZRM.js +0 -2
- package/__chunks__/chunk-HEFM6TZA.js +0 -2
- package/__chunks__/chunk-HEOKCABE.js +0 -2
- package/__chunks__/chunk-I36IFK5J.js +0 -2
- package/__chunks__/chunk-IDYBQVSU.js +0 -2
- package/__chunks__/chunk-IGOSG6FO.js +0 -2
- package/__chunks__/chunk-IVWKEGZD.js +0 -2
- package/__chunks__/chunk-J7Q73Y4V.js +0 -2
- package/__chunks__/chunk-JDGRTGWL.js +0 -2
- package/__chunks__/chunk-JGQO3IYF.js +0 -2
- package/__chunks__/chunk-JLKYKCSN.js +0 -2
- package/__chunks__/chunk-JQ53BADJ.js +0 -2
- package/__chunks__/chunk-JUW7GXJF.js +0 -2
- package/__chunks__/chunk-JZBGAPJR.js +0 -2
- package/__chunks__/chunk-KEKIJOPE.js +0 -2
- package/__chunks__/chunk-KFFRSEAE.js +0 -2
- package/__chunks__/chunk-KTZAMM4J.js +0 -2
- package/__chunks__/chunk-LBI2QHIC.js +0 -2
- package/__chunks__/chunk-LITJR4IX.js +0 -2
- package/__chunks__/chunk-MC63KUID.js +0 -2
- package/__chunks__/chunk-MJDDTRII.js +0 -2
- package/__chunks__/chunk-N32MM5M3.js +0 -2
- package/__chunks__/chunk-NIRMGV2J.js +0 -2
- package/__chunks__/chunk-OSD627KI.js +0 -2
- package/__chunks__/chunk-P5UKMHMI.js +0 -2
- package/__chunks__/chunk-P6YRKYPP.js +0 -2
- package/__chunks__/chunk-PQZ23AED.js +0 -2
- package/__chunks__/chunk-QH5BX7L6.js +0 -2
- package/__chunks__/chunk-QJDNPNQR.js +0 -2
- package/__chunks__/chunk-R4A35O3P.js +0 -2
- package/__chunks__/chunk-RQB72OQA.js +0 -2
- package/__chunks__/chunk-RQJLGI5S.js +0 -2
- package/__chunks__/chunk-SRTF4Y22.js +0 -2
- package/__chunks__/chunk-TG7HMQFF.js +0 -2
- package/__chunks__/chunk-TI3UJZ3C.js +0 -2
- package/__chunks__/chunk-UFBTFMXX.js +0 -2
- package/__chunks__/chunk-VI7QBYCT.js +0 -2
- package/__chunks__/chunk-W3P3O7UP.js +0 -2
- package/__chunks__/chunk-W5YCFRWB.js +0 -2
- package/__chunks__/chunk-W7OEBOUI.js +0 -2
- package/__chunks__/chunk-WT4MNW3L.js +0 -2
- package/__chunks__/chunk-X3QVIUJC.js +0 -2
- package/__chunks__/chunk-XPJ2VZE6.js +0 -2
- package/__chunks__/chunk-XRRQGWJC.js +0 -2
- package/__chunks__/chunk-XS4FBMAJ.js +0 -2
- package/__chunks__/chunk-Y26CCIRN.js +0 -2
- package/__chunks__/chunk-Y2AZSMDD.js +0 -2
- package/__chunks__/chunk-Y3VZUWSW.js +0 -2
- package/__chunks__/chunk-ZB2PG7MA.js +0 -2
- package/__chunks__/chunk-ZVLCXTYU.js +0 -2
- package/__chunks__/chunk-ZXLAV6FU.js +0 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var Us=Object.create;var Oe=Object.defineProperty,Ws=Object.defineProperties,Vs=Object.getOwnPropertyDescriptor,Gs=Object.getOwnPropertyDescriptors,$s=Object.getOwnPropertyNames,et=Object.getOwnPropertySymbols,Hs=Object.getPrototypeOf,Xt=Object.prototype.hasOwnProperty,cn=Object.prototype.propertyIsEnumerable;var an=(e,t,r)=>t in e?Oe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,g=(e,t)=>{for(var r in t||(t={}))Xt.call(t,r)&&an(e,r,t[r]);if(et)for(var r of et(t))cn.call(t,r)&&an(e,r,t[r]);return e},A=(e,t)=>Ws(e,Gs(t));var tt=(e,t)=>{var r={};for(var o in e)Xt.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(e!=null&&et)for(var o of et(e))t.indexOf(o)<0&&cn.call(e,o)&&(r[o]=e[o]);return r};var f=(e,t)=>()=>(e&&(t=e(e=0)),t);var M=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),me=(e,t)=>{for(var r in t)Oe(e,r,{get:t[r],enumerable:!0})},ln=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of $s(t))!Xt.call(e,i)&&i!==r&&Oe(e,i,{get:()=>t[i],enumerable:!(o=Vs(t,i))||o.enumerable});return e};var w=(e,t,r)=>(r=e!=null?Us(Hs(e)):{},ln(t||!e||!e.__esModule?Oe(r,"default",{value:e,enumerable:!0}):r,e)),Me=e=>ln(Oe({},"__esModule",{value:!0}),e);var I=(e,t,r)=>new Promise((o,i)=>{var l=m=>{try{d(r.next(m))}catch(T){i(T)}},p=m=>{try{d(r.throw(m))}catch(T){i(T)}},d=m=>m.done?o(m.value):Promise.resolve(m.value).then(l,p);d((r=r.apply(e,t)).next())});var dn=M(rt=>{"use strict";n();rt.byteLength=js;rt.toByteArray=Ks;rt.fromByteArray=Zs;var z=[],U=[],qs=typeof Uint8Array!="undefined"?Uint8Array:Array,Zt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(ge=0,pn=Zt.length;ge<pn;++ge)z[ge]=Zt[ge],U[Zt.charCodeAt(ge)]=ge;var ge,pn;U["-".charCodeAt(0)]=62;U["_".charCodeAt(0)]=63;function un(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 js(e){var t=un(e),r=t[0],o=t[1];return(r+o)*3/4-o}function zs(e,t,r){return(t+r)*3/4-r}function Ks(e){var t,r=un(e),o=r[0],i=r[1],l=new qs(zs(e,o,i)),p=0,d=i>0?o-4:o,m;for(m=0;m<d;m+=4)t=U[e.charCodeAt(m)]<<18|U[e.charCodeAt(m+1)]<<12|U[e.charCodeAt(m+2)]<<6|U[e.charCodeAt(m+3)],l[p++]=t>>16&255,l[p++]=t>>8&255,l[p++]=t&255;return i===2&&(t=U[e.charCodeAt(m)]<<2|U[e.charCodeAt(m+1)]>>4,l[p++]=t&255),i===1&&(t=U[e.charCodeAt(m)]<<10|U[e.charCodeAt(m+1)]<<4|U[e.charCodeAt(m+2)]>>2,l[p++]=t>>8&255,l[p++]=t&255),l}function Ys(e){return z[e>>18&63]+z[e>>12&63]+z[e>>6&63]+z[e&63]}function Xs(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(Ys(o));return i.join("")}function Zs(e){for(var t,r=e.length,o=r%3,i=[],l=16383,p=0,d=r-o;p<d;p+=l)i.push(Xs(e,p,p+l>d?d:p+l));return o===1?(t=e[r-1],i.push(z[t>>2]+z[t<<4&63]+"==")):o===2&&(t=(e[r-2]<<8)+e[r-1],i.push(z[t>>10]+z[t>>4&63]+z[t<<2&63]+"=")),i.join("")}});var mn=M(Jt=>{n();Jt.read=function(e,t,r,o,i){var l,p,d=i*8-o-1,m=(1<<d)-1,T=m>>1,S=-7,h=r?i-1:0,x=r?-1:1,k=e[t+h];for(h+=x,l=k&(1<<-S)-1,k>>=-S,S+=d;S>0;l=l*256+e[t+h],h+=x,S-=8);for(p=l&(1<<-S)-1,l>>=-S,S+=o;S>0;p=p*256+e[t+h],h+=x,S-=8);if(l===0)l=1-T;else{if(l===m)return p?NaN:(k?-1:1)*(1/0);p=p+Math.pow(2,o),l=l-T}return(k?-1:1)*p*Math.pow(2,l-o)};Jt.write=function(e,t,r,o,i,l){var p,d,m,T=l*8-i-1,S=(1<<T)-1,h=S>>1,x=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,k=o?0:l-1,v=o?1:-1,N=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(d=isNaN(t)?1:0,p=S):(p=Math.floor(Math.log(t)/Math.LN2),t*(m=Math.pow(2,-p))<1&&(p--,m*=2),p+h>=1?t+=x/m:t+=x*Math.pow(2,1-h),t*m>=2&&(p++,m/=2),p+h>=S?(d=0,p=S):p+h>=1?(d=(t*m-1)*Math.pow(2,i),p=p+h):(d=t*Math.pow(2,h-1)*Math.pow(2,i),p=0));i>=8;e[r+k]=d&255,k+=v,d/=256,i-=8);for(p=p<<i|d,T+=i;T>0;e[r+k]=p&255,k+=v,p/=256,T-=8);e[r+k-v]|=N*128}});var kn=M(be=>{"use strict";n();var Qt=dn(),ve=mn(),gn=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;be.Buffer=u;be.SlowBuffer=na;be.INSPECT_MAX_BYTES=50;var nt=2147483647;be.kMaxLength=nt;u.TYPED_ARRAY_SUPPORT=Js();!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 Js(){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 te(e){if(e>nt)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 nr(e)}return yn(e,t,r)}u.poolSize=8192;function yn(e,t,r){if(typeof e=="string")return ea(e,t);if(ArrayBuffer.isView(e))return ta(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(K(e,ArrayBuffer)||e&&K(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(K(e,SharedArrayBuffer)||e&&K(e.buffer,SharedArrayBuffer)))return tr(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=ra(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 yn(e,t,r)};Object.setPrototypeOf(u.prototype,Uint8Array.prototype);Object.setPrototypeOf(u,Uint8Array);function hn(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 Qs(e,t,r){return hn(e),e<=0?te(e):t!==void 0?typeof r=="string"?te(e).fill(t,r):te(e).fill(t):te(e)}u.alloc=function(e,t,r){return Qs(e,t,r)};function nr(e){return hn(e),te(e<0?0:or(e)|0)}u.allocUnsafe=function(e){return nr(e)};u.allocUnsafeSlow=function(e){return nr(e)};function ea(e,t){if((typeof t!="string"||t==="")&&(t="utf8"),!u.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=xn(e,t)|0,o=te(r),i=o.write(e,t);return i!==r&&(o=o.slice(0,i)),o}function er(e){for(var t=e.length<0?0:or(e.length)|0,r=te(t),o=0;o<t;o+=1)r[o]=e[o]&255;return r}function ta(e){if(K(e,Uint8Array)){var t=new Uint8Array(e);return tr(t.buffer,t.byteOffset,t.byteLength)}return er(e)}function tr(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 ra(e){if(u.isBuffer(e)){var t=or(e.length)|0,r=te(t);return r.length===0||e.copy(r,0,0,t),r}if(e.length!==void 0)return typeof e.length!="number"||ir(e.length)?te(0):er(e);if(e.type==="Buffer"&&Array.isArray(e.data))return er(e.data)}function or(e){if(e>=nt)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+nt.toString(16)+" bytes");return e|0}function na(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(K(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),K(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(K(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 xn(e,t){if(u.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||K(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 rr(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return bn(e).length;default:if(i)return o?-1:rr(e).length;t=(""+t).toLowerCase(),i=!0}}u.byteLength=xn;function oa(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 ga(this,t,r);case"utf8":case"utf-8":return wn(this,t,r);case"ascii":return da(this,t,r);case"latin1":case"binary":return ma(this,t,r);case"base64":return pa(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return fa(this,t,r);default:if(o)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),o=!0}}u.prototype._isBuffer=!0;function fe(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)fe(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)fe(this,r,r+3),fe(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)fe(this,r,r+7),fe(this,r+1,r+6),fe(this,r+2,r+5),fe(this,r+3,r+4);return this};u.prototype.toString=function(){var t=this.length;return t===0?"":arguments.length===0?wn(this,0,t):oa.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=be.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"};gn&&(u.prototype[gn]=u.prototype.inspect);u.prototype.compare=function(t,r,o,i,l){if(K(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,d=o-r,m=Math.min(p,d),T=this.slice(i,l),S=t.slice(r,o),h=0;h<m;++h)if(T[h]!==S[h]){p=T[h],d=S[h];break}return p<d?-1:d<p?1:0};function Sn(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,ir(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:fn(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):fn(e,[t],r,o,i);throw new TypeError("val must be string, number or Buffer")}function fn(e,t,r,o,i){var l=1,p=e.length,d=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,d/=2,r/=2}function m(k,v){return l===1?k[v]:k.readUInt16BE(v*l)}var T;if(i){var S=-1;for(T=r;T<p;T++)if(m(e,T)===m(t,S===-1?0:T-S)){if(S===-1&&(S=T),T-S+1===d)return S*l}else S!==-1&&(T-=T-S),S=-1}else for(r+d>p&&(r=p-d),T=r;T>=0;T--){for(var h=!0,x=0;x<d;x++)if(m(e,T+x)!==m(t,x)){h=!1;break}if(h)return T}return-1}u.prototype.includes=function(t,r,o){return this.indexOf(t,r,o)!==-1};u.prototype.indexOf=function(t,r,o){return Sn(this,t,r,o,!0)};u.prototype.lastIndexOf=function(t,r,o){return Sn(this,t,r,o,!1)};function ia(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 d=parseInt(t.substr(p*2,2),16);if(ir(d))return p;e[r+p]=d}return p}function sa(e,t,r,o){return ot(rr(t,e.length-r),e,r,o)}function aa(e,t,r,o){return ot(ha(t),e,r,o)}function ca(e,t,r,o){return ot(bn(t),e,r,o)}function la(e,t,r,o){return ot(xa(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 ia(this,t,r,o);case"utf8":case"utf-8":return sa(this,t,r,o);case"ascii":case"latin1":case"binary":return aa(this,t,r,o);case"base64":return ca(this,t,r,o);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return la(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 pa(e,t,r){return t===0&&r===e.length?Qt.fromByteArray(e):Qt.fromByteArray(e.slice(t,r))}function wn(e,t,r){r=Math.min(e.length,r);for(var o=[],i=t;i<r;){var l=e[i],p=null,d=l>239?4:l>223?3:l>191?2:1;if(i+d<=r){var m,T,S,h;switch(d){case 1:l<128&&(p=l);break;case 2:m=e[i+1],(m&192)===128&&(h=(l&31)<<6|m&63,h>127&&(p=h));break;case 3:m=e[i+1],T=e[i+2],(m&192)===128&&(T&192)===128&&(h=(l&15)<<12|(m&63)<<6|T&63,h>2047&&(h<55296||h>57343)&&(p=h));break;case 4:m=e[i+1],T=e[i+2],S=e[i+3],(m&192)===128&&(T&192)===128&&(S&192)===128&&(h=(l&15)<<18|(m&63)<<12|(T&63)<<6|S&63,h>65535&&h<1114112&&(p=h))}}p===null?(p=65533,d=1):p>65535&&(p-=65536,o.push(p>>>10&1023|55296),p=56320|p&1023),o.push(p),i+=d}return ua(o)}var Tn=4096;function ua(e){var t=e.length;if(t<=Tn)return String.fromCharCode.apply(String,e);for(var r="",o=0;o<t;)r+=String.fromCharCode.apply(String,e.slice(o,o+=Tn));return r}function da(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 ma(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 ga(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+=Sa[e[l]];return i}function fa(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 R(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||R(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||R(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||R(t,1,this.length),this[t]};u.prototype.readUint16LE=u.prototype.readUInt16LE=function(t,r){return t=t>>>0,r||R(t,2,this.length),this[t]|this[t+1]<<8};u.prototype.readUint16BE=u.prototype.readUInt16BE=function(t,r){return t=t>>>0,r||R(t,2,this.length),this[t]<<8|this[t+1]};u.prototype.readUint32LE=u.prototype.readUInt32LE=function(t,r){return t=t>>>0,r||R(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||R(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||R(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||R(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||R(t,1,this.length),this[t]&128?(255-this[t]+1)*-1:this[t]};u.prototype.readInt16LE=function(t,r){t=t>>>0,r||R(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||R(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||R(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||R(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||R(t,4,this.length),ve.read(this,t,!0,23,4)};u.prototype.readFloatBE=function(t,r){return t=t>>>0,r||R(t,4,this.length),ve.read(this,t,!1,23,4)};u.prototype.readDoubleLE=function(t,r){return t=t>>>0,r||R(t,8,this.length),ve.read(this,t,!0,52,8)};u.prototype.readDoubleBE=function(t,r){return t=t>>>0,r||R(t,8,this.length),ve.read(this,t,!1,52,8)};function D(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;D(this,t,r,o,l,0)}var p=1,d=0;for(this[r]=t&255;++d<o&&(p*=256);)this[r+d]=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;D(this,t,r,o,l,0)}var p=o-1,d=1;for(this[r+p]=t&255;--p>=0&&(d*=256);)this[r+p]=t/d&255;return r+o};u.prototype.writeUint8=u.prototype.writeUInt8=function(t,r,o){return t=+t,r=r>>>0,o||D(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||D(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||D(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||D(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||D(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);D(this,t,r,o,l-1,-l)}var p=0,d=1,m=0;for(this[r]=t&255;++p<o&&(d*=256);)t<0&&m===0&&this[r+p-1]!==0&&(m=1),this[r+p]=(t/d>>0)-m&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);D(this,t,r,o,l-1,-l)}var p=o-1,d=1,m=0;for(this[r+p]=t&255;--p>=0&&(d*=256);)t<0&&m===0&&this[r+p+1]!==0&&(m=1),this[r+p]=(t/d>>0)-m&255;return r+o};u.prototype.writeInt8=function(t,r,o){return t=+t,r=r>>>0,o||D(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||D(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||D(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||D(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||D(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 An(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 In(e,t,r,o,i){return t=+t,r=r>>>0,i||An(e,t,r,4,34028234663852886e22,-34028234663852886e22),ve.write(e,t,r,o,23,4),r+4}u.prototype.writeFloatLE=function(t,r,o){return In(this,t,r,!0,o)};u.prototype.writeFloatBE=function(t,r,o){return In(this,t,r,!1,o)};function vn(e,t,r,o,i){return t=+t,r=r>>>0,i||An(e,t,r,8,17976931348623157e292,-17976931348623157e292),ve.write(e,t,r,o,52,8),r+8}u.prototype.writeDoubleLE=function(t,r,o){return vn(this,t,r,!0,o)};u.prototype.writeDoubleBE=function(t,r,o){return vn(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 d=u.isBuffer(t)?t:u.from(t,i),m=d.length;if(m===0)throw new TypeError('The value "'+t+'" is invalid for argument "value"');for(p=0;p<o-r;++p)this[p+r]=d[p%m]}return this};var Ta=/[^+/0-9A-Za-z-_]/g;function ya(e){if(e=e.split("=")[0],e=e.trim().replace(Ta,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function rr(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 ha(e){for(var t=[],r=0;r<e.length;++r)t.push(e.charCodeAt(r)&255);return t}function xa(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 bn(e){return Qt.toByteArray(ya(e))}function ot(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 K(e,t){return e instanceof t||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===t.name}function ir(e){return e!==e}var Sa=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 Rn=M((hp,Cn)=>{n();var E=Cn.exports={},Y,X;function sr(){throw new Error("setTimeout has not been defined")}function ar(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?Y=setTimeout:Y=sr}catch(e){Y=sr}try{typeof clearTimeout=="function"?X=clearTimeout:X=ar}catch(e){X=ar}})();function En(e){if(Y===setTimeout)return setTimeout(e,0);if((Y===sr||!Y)&&setTimeout)return Y=setTimeout,setTimeout(e,0);try{return Y(e,0)}catch(t){try{return Y.call(null,e,0)}catch(r){return Y.call(this,e,0)}}}function wa(e){if(X===clearTimeout)return clearTimeout(e);if((X===ar||!X)&&clearTimeout)return X=clearTimeout,clearTimeout(e);try{return X(e)}catch(t){try{return X.call(null,e)}catch(r){return X.call(this,e)}}}var re=[],ke=!1,Te,it=-1;function Aa(){!ke||!Te||(ke=!1,Te.length?re=Te.concat(re):it=-1,re.length&&Ln())}function Ln(){if(!ke){var e=En(Aa);ke=!0;for(var t=re.length;t;){for(Te=re,re=[];++it<t;)Te&&Te[it].run();it=-1,t=re.length}Te=null,ke=!1,wa(e)}}E.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];re.push(new Nn(e,t)),re.length===1&&!ke&&En(Ln)};function Nn(e,t){this.fun=e,this.array=t}Nn.prototype.run=function(){this.fun.apply(null,this.array)};E.title="browser";E.browser=!0;E.env={};E.argv=[];E.version="";E.versions={};function ne(){}E.on=ne;E.addListener=ne;E.once=ne;E.off=ne;E.removeListener=ne;E.removeAllListeners=ne;E.emit=ne;E.prependListener=ne;E.prependOnceListener=ne;E.listeners=function(e){return[]};E.binding=function(e){throw new Error("process.binding is not supported")};E.cwd=function(){return"/"};E.chdir=function(e){throw new Error("process.chdir is not supported")};E.umask=function(){return 0}});var s,c,Ia,a,n=f(()=>{s=w(kn()),c=w(Rn()),Ia=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),a=Ia});var Dn=f(()=>{"use strict";n()});var _n,dr=f(()=>{"use strict";n();_n="Action not allowed. User is logged in. Call logout() first"});var On=f(()=>{"use strict";n()});var mr,Mn=f(()=>{"use strict";n();mr=(o=>(o.SetGuardian="SetGuardian",o.GuardAccount="GuardAccount",o.UnGuardAccount="UnGuardAccount",o))(mr||{})});var Fn=f(()=>{"use strict";n()});var gr=f(()=>{"use strict";n()});var Bn=f(()=>{"use strict";n()});var Un=f(()=>{"use strict";n()});var Wn=f(()=>{"use strict";n()});var Vn=f(()=>{"use strict";n()});var pe,Le,Fe=f(()=>{"use strict";n();pe=require("@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider"),Le=require("@multiversx/sdk-web-wallet-cross-window-provider/out/enums")});var Ne,Gn,Mp,$n,Fp,q=f(()=>{"use strict";n();Fe();Ne=(x=>(x.ledger="ledger",x.walletconnect="walletconnect",x.walletconnectv2="walletconnectv2",x.wallet="wallet",x.crossWindow="crossWindow",x.iframe="iframe",x.extension="extension",x.passkey="passkey",x.metamask="metamask",x.opera="opera",x.extra="extra",x.none="",x))(Ne||{}),Gn=(r=>(r.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",r.reloginRequest="RELOGIN_REQUEST",r))(Gn||{}),Mp=g(g({},Le.WindowProviderRequestEnums),Gn),$n=(t=>(t.reloginResponse="RELOGIN_RESPONSE",t))($n||{}),Fp=g(g({},Le.WindowProviderResponseEnums),$n)});var Hn=f(()=>{"use strict";n()});var qn=f(()=>{"use strict";n()});var _=f(()=>{"use strict";n()});var jn=f(()=>{"use strict";n()});var zn=f(()=>{"use strict";n()});var Kn=f(()=>{"use strict";n()});var W=f(()=>{"use strict";n();Un();Wn();Vn();q();Hn();qn();_();jn();zn();Kn()});var fr,Yn,eu,Xn,tu,Zn,ru,nu,ou,Jn=f(()=>{"use strict";n();W();fr={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",extrasApiAddress:"https://devnet-extras-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://devnet-iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},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",extrasApiAddress:"https://testnet-extras-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://testnet-iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},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",extrasApiAddress:"https://extras-api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",metamaskSnapWalletAddress:"https://iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3}},{chainId:Yn,egldLabel:eu}=fr["devnet"],{chainId:Xn,egldLabel:tu}=fr["testnet"],{chainId:Zn,egldLabel:ru}=fr["mainnet"],nu={["devnet"]:Yn,["testnet"]:Xn,["mainnet"]:Zn},ou={[Yn]:"devnet",[Xn]:"testnet",[Zn]:"mainnet"}});var Tr=f(()=>{"use strict";n()});var Z,Qn=f(()=>{"use strict";n();Z=require("@multiversx/sdk-web-wallet-provider")});var ue,yr=f(()=>{"use strict";n();ue=require("@multiversx/sdk-dapp-utils/out/constants/browserConstants")});var eo,to,hr,Ea,La,ro,xr=f(()=>{"use strict";n();yr();hr=String((to=(eo=ue.safeWindow)==null?void 0:eo.navigator)==null?void 0:to.userAgent),Ea=/^((?!chrome|android).)*safari/i.test(hr),La=/firefox/i.test(hr)&&/windows/i.test(hr),ro=Ea||La});var Sr,wr,no,at,oo,Ce,b=f(()=>{"use strict";n();Dn();dr();On();Mn();Fn();gr();Bn();Jn();Tr();Qn();xr();Sr=5e4,wr=1e9,no=1,at="logout",oo="login",Ce="0"});var Re,ct=f(()=>{"use strict";n();Re=()=>Date.now()/1e3});var io=f(()=>{"use strict";n()});var so=f(()=>{"use strict";n()});var ao=f(()=>{"use strict";n();ct();io();so()});var Ar={};me(Ar,{clear:()=>Pa,getItem:()=>Ca,localStorageKeys:()=>ye,removeItem:()=>Ra,setItem:()=>Na});var ye,lt,Na,Ca,Ra,Pa,Be=f(()=>{"use strict";n();ao();ye={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event",guardianBreachToastDismissTimestamp:"sdk-dapp-guardian-breach-toast-dismiss-timestamp"},lt=typeof localStorage!="undefined",Na=({key:e,data:t,expires:r})=>{!lt||localStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},Ca=e=>{if(!lt)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:Re()>=r.expires?(localStorage.removeItem(String(e)),null):r.data},Ra=e=>{!lt||localStorage.removeItem(String(e))},Pa=()=>{!lt||localStorage.clear()}});var Ir={};me(Ir,{clear:()=>uo,getItem:()=>lo,removeItem:()=>po,setItem:()=>co,storage:()=>Da});var co,lo,po,uo,Da,mo=f(()=>{"use strict";n();co=({key:e,data:t,expires:r})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},lo=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},po=e=>sessionStorage.removeItem(String(e)),uo=()=>sessionStorage.clear(),Da={setItem:co,getItem:lo,removeItem:po,clear:uo}});var Pe,pt=f(()=>{"use strict";n();Be();mo();Pe={session:Ir,local:Ar}});var vr,L,De,V=f(()=>{"use strict";n();vr=require("@reduxjs/toolkit");b();L=(0,vr.createAction)(at),De=(0,vr.createAction)(oo,e=>({payload:e}))});var kr,go,fo,he,br,To,Ue,Er,yo,Wu,Vu,Gu,$u,Hu,qu,ju,zu,ut,dt=f(()=>{"use strict";n();kr=require("@multiversx/sdk-core"),go=require("@reduxjs/toolkit"),fo=require("redux-persist");b();pt();Be();V();he={balance:"...",address:"",isGuarded:!1,nonce:0,txCount:0,scrCount:0,claimableRewards:Ce},br={address:"",websocketEvent:null,websocketBatchEvent:null,accounts:{"":he},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},To=(0,go.createSlice)({name:"accountInfoSlice",initialState:br,reducers:{setAddress:(e,t)=>{let r=t.payload;e.address=r,e.publicKey=r?new kr.Address(r).hex():""},setAccount:(e,t)=>{let r=e.address===t.payload.address;e.accounts={[e.address]:r?t.payload:he},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(L,()=>(Pe.local.removeItem(ye.loginExpiresAt),br)),e.addCase(De,(t,r)=>{let{address:o}=r.payload;t.address=o,t.publicKey=new kr.Address(o).toHex()}),e.addCase(fo.REHYDRATE,(t,r)=>{var T;if(!((T=r.payload)!=null&&T.account))return;let{account:o}=r.payload,{address:i,shard:l,accounts:p,publicKey:d}=o;t.address=i,t.shard=l;let m=p&&i in p;t.accounts=m?p:br.accounts,t.publicKey=d})}}),{setAccount:Ue,setAddress:Er,setAccountNonce:yo,setAccountShard:Wu,setLedgerAccount:Vu,updateLedgerAccount:Gu,setWalletConnectAccount:$u,setIsAccountLoading:Hu,setAccountLoadingError:qu,setWebsocketEvent:ju,setWebsocketBatchEvent:zu}=To.actions,ut=To.reducer});function We(){return new Date().setHours(new Date().getHours()+24)}function Ve(e){Pe.local.setItem({key:ye.loginExpiresAt,data:e,expires:e})}var Lr=f(()=>{"use strict";n();pt();Be()});var xo,ho,So,nd,od,id,mt,sd,ad,wo,cd,ld,pd,gt,ft=f(()=>{"use strict";n();xo=require("@reduxjs/toolkit");Lr();q();V();ho={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,passkeyLogin:null,operaLogin:null,crossWindowLogin:null,iframeWindowLogin:null,isLoginSessionInvalid:!1,webviewLogin:null},So=(0,xo.createSlice)({name:"loginInfoSlice",initialState:ho,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},setWebviewLogin:(e,t)=>{e.webviewLogin=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(L,()=>ho),e.addCase(De,(t,r)=>{t.isLoginSessionInvalid=!1,t.loginMethod=r.payload.loginMethod,t.iframeLoginType=r.payload.iframeLoginType,Ve(We())})}}),{setLoginMethod:nd,setWalletConnectLogin:od,setLedgerLogin:id,setTokenLogin:mt,setTokenLoginSignature:sd,setWalletLogin:ad,invalidateLoginSession:wo,setLogoutRoute:cd,setIsWalletConnectV2Initialized:ld,setWebviewLogin:pd}=So.actions,gt=So.reducer});var Io,Ao,vo,gd,fd,Td,yd,Tt,yt=f(()=>{"use strict";n();Io=require("@reduxjs/toolkit");V();Ao={},vo=(0,Io.createSlice)({name:"modalsSlice",initialState:Ao,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(L,()=>Ao)}}),{setTxSubmittedModal:gd,setNotificationModal:fd,clearTxSubmittedModal:Td,clearNotificationModal:yd}=vo.actions,Tt=vo.reducer});var Ge,ht=f(()=>{"use strict";n();Ge=()=>typeof window!="undefined"&&typeof(window==null?void 0:window.location)!="undefined"});var J,de=f(()=>{"use strict";n();ht();J=()=>{if(!Ge())return{pathname:"",hash:"",origin:"",href:"",search:""};let{location:{pathname:t,hash:r,origin:o,href:i,search:l}}=window;return{pathname:t,hash:r,origin:o,href:i,search:l}}});var bo=f(()=>{"use strict";n();de()});var ko=f(()=>{"use strict";n();xt()});var Eo,Lo=f(()=>{"use strict";n();yr();Eo=e=>{if(!ue.safeWindow.location)return;if(!new URL(ue.safeWindow.location.href).protocol.startsWith("http"))return ue.safeWindow.location.reload();ue.safeWindow.location.assign(e)}});var xt=f(()=>{"use strict";n();bo();ko();de();Lo()});var _a,No,Co=f(()=>{"use strict";n();xt();_a=!1,No=({timeout:e=0,url:t})=>{_a||setTimeout(()=>{if(!!window)return Eo(t)},e)}});function Ro({callbackRoute:e,onLoginRedirect:t,options:r}){let o=Boolean(e),i=typeof t=="function";if(o&&e!=null){if(i)return t(e,r);No({url:e,timeout:Oa})}}var Oa,Po=f(()=>{"use strict";n();Co();Oa=200});function Do(e){return e[Math.floor(Math.random()*e.length)]}var _o=f(()=>{"use strict";n()});var Oo=f(()=>{"use strict";n();gr()});var Nr=f(()=>{"use strict";n();Po();_o();Oo()});var Mo,Fo,Bo,Cr,Fa,Uo,Yd,Xd,Wo,St,wt=f(()=>{"use strict";n();Mo=require("@reduxjs/toolkit"),Fo=w(require("lodash.omit")),Bo=require("redux-persist");Tr();V();Nr();Cr={id:"not-configured",chainId:"",name:"NOT CONFIGURED",egldLabel:"",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"",walletConnectBridgeAddress:"",walletConnectV2RelayAddress:"",walletConnectV2ProjectId:"",walletConnectV2Options:{},walletAddress:"",apiAddress:"",explorerAddress:"",apiTimeout:"4000",roundDuration:6e3},Fa={network:Cr},Uo=(0,Mo.createSlice)({name:"appConfig",initialState:Fa,reducers:{initializeNetworkConfig:(e,t)=>{let r=Do(t.payload.walletConnectV2RelayAddresses),o=(0,Fo.default)(t.payload,"walletConnectV2RelayAddresses");e.network=A(g(g({},e.network),o),{walletConnectV2RelayAddress:r})},updateNetworkConfig:(e,t)=>{e.network=g(g({},e.network),t.payload)},setCustomWalletAddress:(e,t)=>{e.network.customWalletAddress=t.payload}},extraReducers:e=>{e.addCase(L,t=>{t.network.customWalletAddress=void 0}),e.addCase(Bo.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:Yd,updateNetworkConfig:Xd,setCustomWalletAddress:Wo}=Uo.actions,St=Uo.reducer});var Vo,Rr,Go,rm,nm,om,At,It=f(()=>{"use strict";n();Vo=require("@reduxjs/toolkit");W();V();Rr={isSigning:!1,signedSessions:{}},Go=(0,Vo.createSlice)({name:"signedMessageInfoSliceState",initialState:Rr,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]=g(g({},e.signedSessions[r]),o)},setSignSessionState:(e,t)=>g(g({},e),t.payload),clearSignedMessageInfo:()=>Rr},extraReducers:e=>{e.addCase(L,()=>Rr)}}),{setSignSession:rm,clearSignedMessageInfo:nm,setSignSessionState:om}=Go.actions,At=Go.reducer});var Ho,qo,$o,jo,um,dm,mm,gm,vt,bt=f(()=>{"use strict";n();Ho=require("@reduxjs/toolkit"),qo=require("redux-persist");W();ct();V();$o={customToasts:[],transactionToasts:[]},jo=(0,Ho.createSlice)({name:"toastsSlice",initialState:$o,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]=A(g(g({},e.customToasts[o]),t.payload),{type:"custom",toastId:r});return}e.customToasts.push(A(g({},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:Re(),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(L,()=>$o),e.addCase(qo.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:um,removeCustomToast:dm,addTransactionToast:mm,removeTransactionToast:gm}=jo.actions,vt=jo.reducer});var zo,Dr,_r,Or,Ba,Pr,Ko,hm,xm,Sm,kt,Et=f(()=>{"use strict";n();zo=require("@reduxjs/toolkit");V();Dr="Transaction failed",_r="Transaction successful",Or="Processing transaction",Ba="Transaction submitted",Pr={},Ko=(0,zo.createSlice)({name:"transactionsInfo",initialState:Pr,reducers:{setTransactionsDisplayInfo(e,t){let{sessionId:r,transactionsDisplayInfo:o}=t.payload;r!=null&&(e[r]={errorMessage:(o==null?void 0:o.errorMessage)||Dr,successMessage:(o==null?void 0:o.successMessage)||_r,processingMessage:(o==null?void 0:o.processingMessage)||Or,submittedMessage:(o==null?void 0:o.submittedMessage)||Ba,transactionDuration:o==null?void 0:o.transactionDuration})},clearTransactionsInfoForSessionId(e,t){t.payload!=null&&delete e[t.payload]},clearTransactionsInfo:()=>Pr},extraReducers:e=>{e.addCase(L,()=>Pr)}}),{clearTransactionsInfo:hm,setTransactionsDisplayInfo:xm,clearTransactionsInfoForSessionId:Sm}=Ko.actions,kt=Ko.reducer});function Yo(e){return e!=null&&(Ya(e)||ec(e))}function Lt(e){return e!=null&&(Xa(e)||tc(e))}function Nt(e){return e!=null&&(Za(e)||rc(e))}function Xo(e){return e!=null&&(Ja(e)||nc(e))}function Zo(e){return e!=null&&Qa(e)}function Ya(e){return e!=null&&Wa.includes(e)}function Xa(e){return e!=null&&Va.includes(e)}function Za(e){return e!=null&&Ga.includes(e)}function Ja(e){return e!=null&&$a.includes(e)}function Qa(e){return e!=null&&Ha.includes(e)}function ec(e){return e!=null&&qa.includes(e)}function tc(e){return e!=null&&ja.includes(e)}function rc(e){return e!=null&&za.includes(e)}function nc(e){return e!=null&&Ka.includes(e)}var Wa,Va,Ga,$a,Ha,qa,ja,za,Ka,Fr=f(()=>{"use strict";n();q();Wa=["sent"],Va=["success"],Ga=["fail","cancelled","timedOut"],$a=["invalid"],Ha=["timedOut"],qa=["pending"],ja=["success"],za=["fail","invalid"],Ka=["not executed"]});var Jo,Qo,$e,oc,ei,Nm,Cm,Rm,Pm,Dm,_m,Om,Mm,Fm,Bm,Um,Ct,Rt=f(()=>{"use strict";n();Jo=require("@reduxjs/toolkit"),Qo=require("redux-persist");q();Fr();V();$e={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},oc={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},ei=(0,Jo.createSlice)({name:"transactionsSlice",initialState:$e,reducers:{moveTransactionsToSignedState:(e,t)=>{var m,T;let{sessionId:r,transactions:o,errorMessage:i,status:l,redirectRoute:p,customTransactionInformation:d}=t.payload;e.customTransactionInformationForSessionId[r]=g(g(g({},oc),((m=e.signedTransactions[r])==null?void 0:m.customTransactionInformation)||{}),e.customTransactionInformationForSessionId[r]||{}),e.signedTransactions[r]={transactions:o,status:l,errorMessage:i,redirectRoute:p,customTransactionInformation:g(g({},e.customTransactionInformationForSessionId[r]),d!=null?d:{})},((T=e==null?void 0:e.transactionsToSign)==null?void 0:T.sessionId)===r&&(e.transactionsToSign=$e.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=g(g({},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 T,S,h,x,k,v,N,H;let{sessionId:r,status:o,errorMessage:i,transactionHash:l,serverTransaction:p,inTransit:d}=t.payload,m=(S=(T=e.signedTransactions)==null?void 0:T[r])==null?void 0:S.transactions;if(m!=null){e.signedTransactions[r].transactions=m.map(C=>C.hash===l?A(g(g({},p!=null?p:{}),C),{status:o,errorMessage:i,inTransit:d}):C);let B=(x=(h=e.signedTransactions[r])==null?void 0:h.transactions)==null?void 0:x.every(C=>Lt(C.status)),ee=(v=(k=e.signedTransactions[r])==null?void 0:k.transactions)==null?void 0:v.some(C=>Nt(C.status)),le=(H=(N=e.signedTransactions[r])==null?void 0:N.transactions)==null?void 0:H.every(C=>Xo(C.status));B&&(e.signedTransactions[r].status="success"),ee&&(e.signedTransactions[r].status="fail"),le&&(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=$e.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=$e.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=g(g({},e.signedTransactions[r].customTransactionInformation),o))}},extraReducers:e=>{e.addCase(L,()=>$e),e.addCase(Qo.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((d,[m,T])=>{let S=new Date(m),h=new Date;return h.setHours(h.getHours()+5),h-S>0||(d[m]=T),d},{});i!=null&&(t.customTransactionInformationForSessionId=i),o!=null&&(t.signedTransactions=l)})}}),{updateSignedTransactionStatus:Nm,updateSignedTransactions:Cm,setTransactionsToSign:Rm,clearAllTransactionsToSign:Pm,clearAllSignedTransactions:Dm,clearSignedTransaction:_m,clearTransactionToSign:Om,setSignTransactionsError:Mm,setSignTransactionsCancelMessage:Fm,moveTransactionsToSignedState:Bm,updateSignedTransactionsCustomTransactionInformation:Um}=ei.actions,Ct=ei.reducer});var ti,Br,ri,$m,Hm,qm,jm,Pt,Dt=f(()=>{"use strict";n();ti=require("@reduxjs/toolkit");V();Br={},ri=(0,ti.createSlice)({name:"batchTransactionsSlice",initialState:Br,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:()=>Br},extraReducers:e=>{e.addCase(L,()=>Br)}}),{setBatchTransactions:$m,updateBatchTransactions:Hm,clearBatchTransactions:qm,clearAllBatchTransactions:jm}=ri.actions,Pt=ri.reducer});var oi,ni,ii,Xm,si,Ur=f(()=>{"use strict";n();oi=require("@reduxjs/toolkit");V();ni={},ii=(0,oi.createSlice)({name:"dappConfigSlice",initialState:ni,reducers:{setDappConfig:(e,t)=>t.payload},extraReducers:e=>{e.addCase(L,()=>ni)}}),{setDappConfig:Xm}=ii.actions,si=ii.reducer});var oe=f(()=>{"use strict";n();dt();ft();yt();wt();It();bt();Et();Rt();Dt();Ur()});var $r=f(()=>{"use strict";n()});var hi,Tc,yc,we,Wt=f(()=>{"use strict";n();hi=require("@reduxjs/toolkit");$r();dt();Dt();Ur();ft();yt();wt();It();bt();Et();Rt();Tc={["account"]:ut,["dappConfig"]:si,["loginInfo"]:gt,["modals"]:Tt,["networkConfig"]:St,["signedMessageInfo"]:At,["toasts"]:vt,["transactionsInfo"]:kt,["transactions"]:Ct,["batchTransactions"]:Pt},yc=(e={})=>(0,hi.combineReducers)(g(g({},Tc),e)),we=yc});var Ai={};me(Ai,{default:()=>Dc,sessionStorageReducers:()=>Hr});function ae(e,t=[]){return{key:e,version:1,storage:Si.default,blacklist:t}}var O,xi,Si,hc,qe,xc,Sc,wc,Ac,Ic,vc,bc,kc,Ec,Lc,wi,Nc,Hr,Cc,Rc,Pc,Dc,Ii=f(()=>{"use strict";n();O=require("redux-persist"),xi=w(require("redux-persist/lib/storage")),Si=w(require("redux-persist/lib/storage/session"));Wt();oe();dt();Dt();ft();yt();wt();It();bt();Et();Rt();$r();hc={persistReducersStorageType:"localStorage"},qe={["account"]:"sdk-dapp-account",["loginInfo"]:"sdk-dapp-login-info",["modals"]:"sdk-dapp-modals",["networkConfig"]:"sdk-dapp-network-config"},xc=ae(qe["account"]),Sc=ae(qe["loginInfo"]),wc=ae(qe["modals"]),Ac=ae(qe["networkConfig"]),Ic={2:e=>A(g({},e),{networkConfig:Cr})};vc=ae("sdk-dapp-transactionsInfo"),bc=ae("sdk-dapp-transactions",["transactionsToSign"]),kc=ae("sdk-dapp-batchTransactions",["batchTransactions"]),Ec=ae("sdk-dapp-toasts"),Lc=ae("sdk-dapp-signedMessageInfo"),wi={key:"sdk-dapp-store",version:2,storage:xi.default,whitelist:Object.keys(qe),migrate:(0,O.createMigrate)(Ic,{debug:!1})},Nc=A(g({},wi),{whitelist:[]}),Hr={["toasts"]:(0,O.persistReducer)(Ec,vt),["transactions"]:(0,O.persistReducer)(bc,Ct),["transactionsInfo"]:(0,O.persistReducer)(vc,kt),["batchTransactions"]:(0,O.persistReducer)(kc,Pt),["signedMessageInfo"]:(0,O.persistReducer)(Lc,At)},Cc=A(g({},Hr),{["account"]:(0,O.persistReducer)(xc,ut),["loginInfo"]:(0,O.persistReducer)(Sc,gt),["modals"]:(0,O.persistReducer)(wc,Tt),["networkConfig"]:(0,O.persistReducer)(Ac,St)}),Rc=hc.persistReducersStorageType==="localStorage",Pc=Rc?(0,O.persistReducer)(wi,we(Hr)):(0,O.persistReducer)(Nc,we(Cc)),Dc=Pc});var vi={};me(vi,{default:()=>_c});var _c,bi=f(()=>{"use strict";n();Wt();_c=we()});var ki={};me(ki,{default:()=>Mc});var $,Oc,Mc,Ei=f(()=>{"use strict";n();$=require("redux-persist"),Oc=[$.FLUSH,$.REHYDRATE,$.PAUSE,$.PERSIST,$.PURGE,$.REGISTER],Mc=Oc});var Ci={};me(Ci,{default:()=>Ni});function Ni(e){return(0,Li.persistStore)(e)}var Li,Ri=f(()=>{"use strict";n();Li=require("redux-persist")});var Ki=M((pv,zi)=>{n();var bl=typeof a=="object"&&a&&a.Object===Object&&a;zi.exports=bl});var Xi=M((uv,Yi)=>{n();var kl=Ki(),El=typeof self=="object"&&self&&self.Object===Object&&self,Ll=kl||El||Function("return this")();Yi.exports=Ll});var Zr=M((dv,Zi)=>{n();var Nl=Xi(),Cl=Nl.Symbol;Zi.exports=Cl});var ts=M((mv,es)=>{n();var Ji=Zr(),Qi=Object.prototype,Rl=Qi.hasOwnProperty,Pl=Qi.toString,Ye=Ji?Ji.toStringTag:void 0;function Dl(e){var t=Rl.call(e,Ye),r=e[Ye];try{e[Ye]=void 0;var o=!0}catch(l){}var i=Pl.call(e);return o&&(t?e[Ye]=r:delete e[Ye]),i}es.exports=Dl});var ns=M((gv,rs)=>{n();var _l=Object.prototype,Ol=_l.toString;function Ml(e){return Ol.call(e)}rs.exports=Ml});var as=M((fv,ss)=>{n();var os=Zr(),Fl=ts(),Bl=ns(),Ul="[object Null]",Wl="[object Undefined]",is=os?os.toStringTag:void 0;function Vl(e){return e==null?e===void 0?Wl:Ul:is&&is in Object(e)?Fl(e):Bl(e)}ss.exports=Vl});var ls=M((Tv,cs)=>{n();var Gl=Array.isArray;cs.exports=Gl});var us=M((yv,ps)=>{n();function $l(e){return e!=null&&typeof e=="object"}ps.exports=$l});var ms=M((hv,ds)=>{n();var Hl=as(),ql=ls(),jl=us(),zl="[object String]";function Kl(e){return typeof e=="string"||!ql(e)&&jl(e)&&Hl(e)==zl}ds.exports=Kl});var dp={};me(dp,{useCrossWindowLogin:()=>up});module.exports=Me(dp);n();var rn=require("react");n();n();n();n();var st="accounts";var cr="blocks";n();n();n();var Pn=require("@lifeomic/axios-fetch"),lr=w(require("axios")),pr=(0,Pn.buildAxiosFetch)(lr.default),ur=(e,t)=>I(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 va(e,t,r){return I(this,null,function*(){try{let o=yield pr(e,g({method:"POST",body:t?JSON.stringify(t):void 0,headers:g({"Content-Type":"application/json"},(r==null?void 0:r.headers)||{})},r));return ur(o,r)}catch(o){throw console.error("Fetch Error:",o),o}})}function ba(e,t){return I(this,null,function*(){try{let r=yield pr(e,t);if(!r.ok)throw new Error(`HTTP error! Status: ${r.status}`);return ur(r,t)}catch(r){throw console.error("Fetch Error:",r),r}})}function ka(e,t,r){return I(this,null,function*(){try{let o=yield pr(e,g({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 ur(o,r)}catch(o){throw console.error("Fetch Error:",o),o}})}var Ee=lr.default.create();Ee.get=ba;Ee.post=va;Ee.patch=ka;n();n();n();oe();n();var ai=w(require("lodash.isequal")),_t=require("reselect"),y=(0,_t.createSelectorCreator)(_t.defaultMemoize,ai.default);var Q=e=>e.account,Wr=y(Q,e=>e.address),He=y(Q,Wr,(e,t)=>t in e.accounts?e.accounts[t]:he),ic=y(Q,He,(e,t)=>{let i=e,{accounts:r}=i,o=tt(i,["accounts"]);return A(g({},o),{address:t.address,account:t})}),dg=y(He,e=>e.balance),ci=y(He,e=>{var t;return((t=e==null?void 0:e.nonce)==null?void 0:t.valueOf())||0}),mg=y(Q,e=>e.shard),gg=y(Q,e=>e.ledgerAccount),fg=y(Q,e=>e.walletConnectAccount),Tg=y(Q,e=>e.isAccountLoading),yg=y(Q,e=>e.accountLoadingError),sc=y(Q,e=>e.websocketEvent),ac=y(Q,e=>e.websocketBatchEvent);n();var cc=e=>e.dappConfig,Sg=y(cc,e=>e.shouldUseWebViewProvider);n();var G=e=>e.loginInfo,vg=y(G,e=>e.loginMethod),Vr=y(G,Wr,(e,t)=>Boolean(t)),bg=y(G,e=>e.walletConnectLogin),kg=y(G,e=>e.ledgerLogin),Eg=y(G,e=>e.walletLogin),Lg=y(G,e=>e.isLoginSessionInvalid),li=y(G,e=>e.tokenLogin),Ng=y(G,e=>e.logoutRoute),lc=y(G,e=>e.isWalletConnectV2Initialized);n();var pi=e=>e.modals,Pg=y(pi,e=>e.txSubmittedModal),Dg=y(pi,e=>e.notificationModal);n();var ie=e=>e.networkConfig,Mg=y(ie,e=>e.network.chainId),Fg=y(ie,e=>e.network.roundDuration),Bg=y(ie,e=>e.network.walletConnectBridgeAddress),Ug=y(ie,e=>e.network.walletConnectV2RelayAddress),Wg=y(ie,e=>e.network.walletConnectV2ProjectId),Vg=y(ie,e=>e.network.walletConnectV2Options),Gg=y(ie,e=>e.network.walletConnectDeepLink),se=y(ie,e=>e.network),ui=y(se,e=>e.apiAddress),di=y(se,e=>e.explorerAddress),$g=y(se,e=>{var t;return(t=e.customWalletAddress)!=null?t:e.walletAddress}),Hg=y(se,e=>e.xAliasAddress),qg=y(se,e=>e.egldLabel);n();var Ot=e=>e.signedMessageInfo,Kg=y(Ot,e=>e.isSigning),Yg=y(Ot,e=>e.errorMessage),Xg=y(Ot,e=>{let t=Object.keys(e.signedSessions),r=t.length;return e.signedSessions[t[r-1]]}),Zg=y(Ot,e=>{let t=Object.keys(e.signedSessions),r=t.length;return t.length>0?t[r-1]:""});n();var mi=e=>e.toasts,ef=y(mi,e=>e.customToasts),tf=y(mi,e=>e.transactionToasts);n();oe();var gi={errorMessage:Dr,successMessage:_r,processingMessage:Or},pc=e=>e.transactionsInfo,sf=y(pc,(e,t)=>t,(e,t)=>t!=null&&(e==null?void 0:e[Number(t)])||gi);n();n();var Se=require("@multiversx/sdk-core");b();n();n();n();function Mt(e){try{let t=atob(e),r=btoa(t),o=s.Buffer.from(e,"base64").toString(),i=s.Buffer.from(o).toString("base64"),l=e===r||r.startsWith(e),p=e===i||i.startsWith(e);if(l&&p)return!0}catch(t){return!1}return!1}function xe(e){return Mt(e)?atob(e):e}n();n();n();n();var fi=e=>{let t=e!=null?e:"";return Mt(t)?s.Buffer.from(s.Buffer.from(t,"base64").toString().trim()):s.Buffer.from(t.trim())};n();b();var Ft=({data:e,onlySetGuardian:t})=>e?t?e.startsWith("SetGuardian"):Object.values(mr).some(r=>e.startsWith(r)):!1;function Gr(e){var o,i,l;let t=g({},e);Ft({data:t.data,onlySetGuardian:!0})&&(delete t.senderUsername,delete t.receiverUsername);let r=new Se.Transaction(g(g(A(g(A(g(g({value:BigInt(t.value.valueOf()),data:fi(t.data),nonce:BigInt(t.nonce.valueOf()),receiver:new Se.Address(t.receiver)},t.receiverUsername?{receiverUsername:t.receiverUsername}:{}),t.relayer?{relayer:new Se.Address(t.relayer)}:{}),{sender:new Se.Address(t.sender)}),t.senderUsername?{senderUsername:t.senderUsername}:{}),{gasLimit:BigInt((o=t.gasLimit.valueOf())!=null?o:Sr),gasPrice:BigInt((i=t.gasPrice.valueOf())!=null?i:wr),chainID:t.chainID.valueOf(),version:(l=t.version)!=null?l:no}),t.options?{options:t.options}:{}),t.guardian?{guardian:new Se.Address(t.guardian)}:{}));return t.relayerSignature&&(r.relayerSignature=s.Buffer.from(t.relayerSignature,"hex")),t.guardianSignature&&(r.guardianSignature=s.Buffer.from(t.guardianSignature,"hex")),t.signature&&(r.signature=s.Buffer.from(t.signature,"hex")),r}n();n();b();n();n();var qr=require("@reduxjs/toolkit"),Oi=require("react-redux/lib/utils/Subscription");oe();n();var Ti=w(require("lodash.throttle"));b();oe();Lr();pt();Be();var mc=[at],Bt=!1,gc=(0,Ti.default)(()=>{Ve(We())},5e3),yi=e=>t=>r=>{if(mc.includes(r.type))return t(r);let o=e.getState(),i=Pe.local.getItem(ye.loginExpiresAt);if(!Boolean(o==null?void 0:o.account.address))return t(r);if(i==null)return Ve(We()),t(r);let p=Date.now();return i-p<0&&!Bt?setTimeout(()=>{Bt=!0,e.dispatch(wo())},1e3):(Bt&&(Bt=!1),gc()),t(r)};n();n();function Ut(){return typeof sessionStorage!="undefined"}var Pi=Ut()?(Ii(),Me(Ai)).default:(bi(),Me(vi)).default,Di=Ut()?(Ei(),Me(ki)).default:[],_i=Ut()?(Ri(),Me(Ci)).default:e=>e;Wt();var P=(0,qr.configureStore)({reducer:Pi,middleware:e=>e({serializableCheck:{ignoredActions:[...Di,yo.type,Ue.type],ignoredPaths:["payload.nonce","account.account.nonce","providers.accountProvider"]}}).concat(yi)}),Mi=(0,Oi.createSubscription)(P),TT=_i(P),yT=(0,qr.configureStore)({reducer:we});n();n();var Bc=require("@multiversx/sdk-core");n();b();n();var Wc=require("@multiversx/sdk-core");W();n();var Uc=require("@multiversx/sdk-core");n();n();n();var Vc=require("@multiversx/sdk-core"),Gc=w(require("bignumber.js"));q();n();n();n();n();n();n();_();n();n();_();n();n();n();var Kc=w(require("bignumber.js"));b();n();var zc=require("@multiversx/sdk-core"),jr=w(require("bignumber.js"));b();n();var qc=w(require("bignumber.js"));n();jr.default.config({ROUNDING_MODE:jr.default.ROUND_FLOOR});n();n();n();b();n();n();n();n();b();n();b();n();var Yc=require("@multiversx/sdk-core"),Xc=w(require("bignumber.js"));b();n();var Kr=require("@multiversx/sdk-core"),Jc=w(require("bignumber.js"));b();n();n();var Zc=w(require("bignumber.js"));b();n();b();n();n();n();n();n();n();b();n();b();n();b();n();_();var el=["reDelegateRewards","claimRewards","unBond"],tl=["wrapEgld","unwrapEgld"],rl=["unStake"],nl=["unDelegate"];n();n();n();b();n();var sl=w(require("bignumber.js"));n();n();_();n();var cl=w(require("bignumber.js"));n();n();n();n();var pl=w(require("bignumber.js"));W();n();n();var ul=require("@multiversx/sdk-core");n();n();q();n();var gl=require("@multiversx/sdk-web-wallet-provider");b();n();var ml=w(require("qs"));n();xt();ht();n();ht();var RS={search:Ge()?window.location.search:"",removeParams:[]};n();n();n();de();n();_();n();n();de();n();var fl=w(require("linkifyjs"));n();b();n();var Tl=w(require("bignumber.js"));n();W();n();n();q();n();q();n();n();n();_();n();_();n();var yl=w(require("bignumber.js"));b();_();n();_();n();var $i=require("react");W();n();n();_();n();n();var hl=require("@multiversx/sdk-core"),xl=w(require("bignumber.js"));_();n();W();n();n();W();var vA=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}];n();var Hi=require("react");W();de();n();var wl=require("react");_();var PA=["create","localMint","ESDTLocalMint","addQuantity","burn","localBurn","ESDTLocalBurn","wipe","writeLog","signalError"];Fr();n();var Gt=e=>e.transactions,Ke=y(Gt,e=>e.signedTransactions),AI=y(Gt,e=>e.signTransactionsError),II=y(Gt,e=>e.signTransactionsCancelMessage),$t=e=>t=>Object.entries(t).reduce((r,[o,i])=>(e(i.status)&&(r[o]=i),r),{}),vI=y(Ke,$t(Yo)),bI=y(Ke,$t(Lt)),kI=y(Ke,$t(Nt)),EI=y(Ke,$t(Zo)),LI=y(Gt,e=>{var t;return(e==null?void 0:e.transactionsToSign)==null?null:A(g({},e.transactionsToSign),{transactions:((t=e==null?void 0:e.transactionsToSign)==null?void 0:t.transactions.map(r=>Gr(r)))||[]})}),NI=y(Ke,(e,t)=>t,(e,t)=>t!=null?(e==null?void 0:e[t])||{}:{});var Xr=e=>{let t=e!=null?e:ui(P.getState());return t.endsWith("/")?t.slice(0,-1):t};n();var Al=w(require("axios"));n();var Il=w(require("swr"));var vl=(e,t)=>{var i;let o=`${(i=t==null?void 0:t.apiAddress)!=null?i:Xr()}/${st}/${e}?withGuardianInfo=true`;return Ee.get(o)},qi=(e,t)=>I(void 0,null,function*(){if(!e)return null;try{let{data:r}=yield vl(e,t);return r}catch(r){console.error("error fetching configuration for ",e,r)}return null});var ji=(e,t)=>qi(e,t);n();n();var gs=w(ms());var Ht=e=>{if(!e||!(0,gs.default)(e))return null;let t=e.split(".");if(t.length!==4)return null;try{let[r,o,i,l]=t,p=JSON.parse(xe(l)),d=xe(r);return{ttl:Number(i),extraInfo:p,origin:d,blockHash:o}}catch(r){return console.error(`Error trying to decode ${e}:`,r),null}};n();var As=require("@multiversx/sdk-native-auth-client");n();var hs=w(require("axios"));n();n();n();function fs(e){return I(this,null,function*(){return yield new Promise(t=>{setTimeout(()=>t(),e)})})}n();var Ts=(e,t,r,o=0)=>I(void 0,null,function*(){try{return yield e(...r)}catch(i){return o<t.retries?((t==null?void 0:t.delay)!=null&&(yield fs(t.delay)),yield Ts(e,t,r,o+1)):null}}),ys=(e,t={retries:5,delay:500})=>(...r)=>I(void 0,null,function*(){return yield Ts(e,t,r)});var Yl=4,Xl=3e4,qt={current:null},Ae={current:null},Zl=ys((e,t,r)=>I(void 0,null,function*(){if(r){let l=Math.floor(Date.now()/1e3);return{hash:yield r(),timestamp:l}}let{data:o}=yield hs.default.get(`${e}/${cr}?from=${Yl}&size=1&fields=hash,timestamp${t?"&shard="+t:""}`),[i]=o;return i}));function xs(e,t,r,o){return I(this,null,function*(){if(e==null)throw new Error("missing api url");let i=Date.now();if(qt.current!=null&&i<qt.current.timestamp*1e3+Xl&&!o)return qt.current;if(Ae.current!=null)return yield Ae.current;Ae.current=Zl(e,t,r);try{let l=yield Ae.current;if(l==null)throw Ae.current=null,new Error("could not get block hash");return qt.current={hash:l.hash,timestamp:l.timestamp},Ae.current=null,l}catch(l){return Ae.current=null,null}})}n();n();ct();n();function Jl(e){return Object.prototype.toString.call(e)==="[object String]"}var Ss=e=>{var r;if(!e||!Jl(e))return null;let t=e.split(".");if(t.length!==3)return console.error("Invalid nativeAuthToken. You may be trying to decode a loginToken. Try using decodeLoginToken method instead"),null;try{let[o,i,l]=t,p=xe(o),d=xe(i),m=Ht(d);if(!m)return{address:p,body:d,signature:l,blockHash:"",origin:"",ttl:0};let T=A(g({},m),{address:p,body:d,signature:l});return(r=m.extraInfo)!=null&&r.timestamp||delete T.extraInfo,T}catch(o){return null}};var Jr={isExpired:!1},ws=e=>{if(!e)return Jr;let t=Ss(e);if(!t)return Jr;let r=Re(),{ttl:o,extraInfo:i}=t,l=i==null?void 0:i.timestamp;if(!l)return Jr;let p=l+o,d=r>p,m=p-r;return{isExpired:d,expiresAt:p,secondsUntilExpires:m}};n();de();var Xe={origin:J().origin,apiAddress:"https://api.multiversx.com",expirySeconds:60*60*24,tokenExpirationToastWarningSeconds:5*60},Ze=e=>{var r,o,i,l,p,d;return e===!0?Xe:{origin:(r=e==null?void 0:e.origin)!=null?r:Xe.origin,blockHashShard:e==null?void 0:e.blockHashShard,expirySeconds:(o=e==null?void 0:e.expirySeconds)!=null?o:Xe.expirySeconds,apiAddress:(i=e==null?void 0:e.apiAddress)!=null?i:Xe.apiAddress,tokenExpirationToastWarningSeconds:(l=e==null?void 0:e.tokenExpirationToastWarningSeconds)!=null?l:Xe.tokenExpirationToastWarningSeconds,extraInfo:(p=e==null?void 0:e.extraInfo)!=null?p:{},gatewayUrl:e==null?void 0:e.gatewayUrl,extraRequestHeaders:(d=e==null?void 0:e.extraRequestHeaders)!=null?d:{}}};var Je=e=>{let{origin:t,apiAddress:r,expirySeconds:o,blockHashShard:i,extraInfo:l,gatewayUrl:p,extraRequestHeaders:d}=Ze(e),m=new As.NativeAuthClient({origin:t,apiUrl:r,expirySeconds:o,blockHashShard:i,gatewayUrl:p,extraRequestHeaders:d});return{getNativeAuthConfig:Ze,initialize:h=>I(void 0,null,function*(){var k,v;if(!r||!t)return"";let x=()=>m.getCurrentBlockHash();try{let N=(k=h==null?void 0:h.latestBlockInfo)!=null?k:yield xs(r,i,x,h==null?void 0:h.noCache);if(!N)return"";let{hash:H,timestamp:B}=N,ee=m.encodeValue(JSON.stringify(g(g({},(v=h==null?void 0:h.extraInfo)!=null?v:l),B?{timestamp:B}:{})));return`${m.encodeValue(t)}.${H}.${o}.${ee}`}catch(N){return console.error("Error getting native auth token: ",N.toString()),""}}),getToken:({address:h,token:x,signature:k})=>m.getToken(h,x,k),getTokenExpiration:ws}};var Is=r=>I(void 0,[r],function*({loginToken:e,extraInfoData:t}){if(e==null||Object.keys(t).length===0)return null;let o=Ht(String(e)),T=(o==null?void 0:o.extraInfo)||{},{timestamp:i}=T,l=tt(T,["timestamp"]);if(!(o&&i!=null))return null;let d={hash:String(o==null?void 0:o.blockHash),timestamp:Number(i)};return yield Je({extraInfo:g(g({},l),t),expirySeconds:o==null?void 0:o.ttl,origin:o==null?void 0:o.origin}).initialize({latestBlockInfo:d})});var vs=l=>I(void 0,[l],function*({loginToken:e,extraInfoData:t,address:r,signature:o,loginService:i}){let p=yield Is({loginToken:e,extraInfoData:t}),d=t.multisig||t.impersonate||r,m=p!=null?d:r;return p!=null&&i.setLoginToken(p),o&&i.setTokenLoginInfo({signature:o,address:r}),yield ji(m)});xr();dr();Fe();n();n();var tp=require("@multiversx/sdk-extension-provider"),rp=require("@multiversx/sdk-hw-provider"),np=require("@multiversx/sdk-metamask-provider/out/metamaskProvider"),op=require("@multiversx/sdk-opera-provider"),ip=require("@multiversx/sdk-passkey-provider/out"),sp=require("@multiversx/sdk-web-wallet-provider");b();Fe();n();var jt=require("@multiversx/sdk-web-wallet-iframe-provider/out"),Ql=require("@multiversx/sdk-web-wallet-iframe-provider/out/constants");q();n();n();var j=e=>`Unable to perform ${e}, Provider not initialized`,zt=class{init(){return Promise.resolve(!1)}getAccount(){throw new Error(j("getAccount"))}setAccount(t){throw new Error(j(`setAccount: ${t}`))}login(t){throw new Error(j(`login with options: ${t}`))}logout(t){throw new Error(j(`logout with options: ${t}`))}getAddress(){throw new Error(j("getAddress"))}isInitialized(){return!1}isConnected(){return!1}sendTransaction(t,r){throw new Error(j(`sendTransaction with transactions: ${t} options: ${r}`))}signTransaction(t,r){throw new Error(j(`signTransaction with transactions: ${t} options: ${r}`))}signTransactions(t,r){throw new Error(j(`signTransactions with transactions: ${t} options: ${r}`))}signMessage(t,r){throw new Error(j(`signTransactions with ${t} and options ${r}`))}sendCustomMessage({method:t,params:r}){throw new Error(j(`sendCustomMessage with method: ${t} params: ${r}`))}sendCustomRequest(t){throw new Error(j(`sendSessionEvent with options: ${t}`))}ping(){return Promise.resolve(!1)}},bs=new zt;var ap=bs;function ks(e){ap=e}V();n();var Es=require("react"),_e=require("react-redux");var cp={store:P,subscription:Mi},Qr=(0,Es.createContext)(cp),Sb=(0,_e.createStoreHook)(Qr),Kt=(0,_e.createDispatchHook)(Qr),F=(0,_e.createSelectorHook)(Qr);oe();oe();q();n();function Ls(e){let t=P.getState(),r=ci(t);return e?r&&!isNaN(r)?Math.max(r,e.nonce):e.nonce:r}n();function Ns(){return Vr(P.getState())}Nr();de();n();n();Fe();W();var Cs=e=>(Object.values(Ne).forEach(t=>{if(t!==(e==null?void 0:e.skipLoginMethod))switch(t){case"crossWindow":{let r=pe.CrossWindowProvider.getInstance();r.isInitialized()&&r.dispose();break}case"iframe":{let r=jt.IframeProvider.getInstance();r.isInitialized()&&r.dispose();break}default:break}}),null);n();var Ds=require("react"),Yt=require("@multiversx/sdk-core");n();n();var en=()=>F(He);n();n();n();n();n();n();n();n();n();var Qe=w(require("react"));var Jb=(0,Qe.createContext)({}),Qb=P.getState();n();var Ps=w(require("react"));n();var tn=w(require("react")),lp=w(require("axios"));n();n();oe();n();var pp=(e,t)=>{var r;return t?t===!0?e:(r=t.apiAddress)!=null?r:e:null},_s=e=>{let t=F(se),r=F(li),o=(0,Ds.useRef)(r==null?void 0:r.loginToken),i=pp(t.apiAddress,e),l=Ze(g(g({},e===!0?{}:e),i?{apiAddress:i}:{})),p=Boolean(e),d=Je(l),{address:m}=en(),T=Kt(),S=v=>{o.current=v,T(mt(g(A(g({},r),{loginToken:v}),i?{nativeAuthConfig:l}:{})))},h=()=>{try{return d.initialize()}catch(v){console.error("Unable to get block. Login failed.",v);return}},x=({address:v,signature:N})=>{let H=o.current;if(!H)throw"Token not found. Call `setLoginToken` first.";if(!p){T(mt({loginToken:H,signature:N}));return}let B=d.getToken({address:v,token:H,signature:N});return T(mt(g({loginToken:H,signature:N,nativeAuthToken:B},i?{nativeAuthConfig:l}:{}))),B};return{configuration:l,setLoginToken:S,getNativeAuthLoginToken:h,setTokenLoginInfo:x,refreshNativeAuthTokenLogin:H=>I(void 0,[H],function*({signMessageCallback:v,nativeAuthClientConfig:N}){let ee=yield Je(N||l).initialize({noCache:Boolean(N)});if(o.current=ee,!ee)return;let le=new Yt.Message({address:new Yt.Address(m),data:s.Buffer.from(`${m}${ee}`)}),C=yield v(le,{});if(!(C!=null&&C.signature))throw"Message not signed";return x({address:m,signature:s.Buffer.from(C.signature).toString("hex")})})}};var up=({callbackRoute:e,token:t,nativeAuth:r,onLoginRedirect:o,hasConsentPopup:i,walletAddress:l})=>{let[p,d]=(0,rn.useState)(""),[m,T]=(0,rn.useState)(!1),S=r!=null,h=_s(r),x=t,k=F(se),v=Kt(),N=Ns();function H(){return I(this,null,function*(){if(N)throw new Error(_n);Cs({skipLoginMethod:"crossWindow"}),v(Er(he.address)),v(Ue(he)),T(!0);let ee=yield pe.CrossWindowProvider.getInstance().init();l&&v(Wo(l));let le=pe.CrossWindowProvider.getInstance().setWalletUrl(l!=null?l:k.walletAddress);try{if(!ee){console.warn("Something went wrong trying to redirect to wallet login..");return}let{origin:C,pathname:nn}=J(),Os=encodeURIComponent(`${C}${e!=null?e:nn}`);if(S&&!x&&(x=yield h.getNativeAuthLoginToken(),!x)){console.warn("Fetching block failed. Login cancelled.");return}x&&h.setLoginToken(x);let Ms=g({callbackUrl:Os},x&&{token:x});(ro&&S||i)&&le.setShouldShowConsentPopup(!0);let{signature:on,address:sn,multisig:Fs,impersonate:Bs}=yield le.login(Ms);if(!sn){T(!1),pe.CrossWindowProvider.getInstance().onDestroy(),console.warn("Login cancelled.");return}ks(le);let Ie=yield vs({loginToken:x,extraInfoData:{multisig:Fs,impersonate:Bs},address:sn,signature:on,loginService:h});if(!Ie)return;v(De({address:Ie.address,loginMethod:"crossWindow"})),v(Er(Ie.address)),v(Ue(A(g({},Ie),{nonce:Ls(Ie)}))),Ro({callbackRoute:e,onLoginRedirect:o,options:{signature:on,address:Ie.address}})}catch(C){console.error("error loging in",C),d("error logging in"+C.message)}finally{T(!1)}})}let B=Boolean(p);return[H,{loginFailed:B,error:p,isLoading:m&&!B,isLoggedIn:N&&!B}]};0&&(module.exports={useCrossWindowLogin});
|
|
1
|
+
"use strict";var Us=Object.create;var Oe=Object.defineProperty,Ws=Object.defineProperties,Vs=Object.getOwnPropertyDescriptor,Gs=Object.getOwnPropertyDescriptors,$s=Object.getOwnPropertyNames,et=Object.getOwnPropertySymbols,Hs=Object.getPrototypeOf,Xt=Object.prototype.hasOwnProperty,cn=Object.prototype.propertyIsEnumerable;var an=(e,t,r)=>t in e?Oe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,g=(e,t)=>{for(var r in t||(t={}))Xt.call(t,r)&&an(e,r,t[r]);if(et)for(var r of et(t))cn.call(t,r)&&an(e,r,t[r]);return e},A=(e,t)=>Ws(e,Gs(t));var tt=(e,t)=>{var r={};for(var o in e)Xt.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(e!=null&&et)for(var o of et(e))t.indexOf(o)<0&&cn.call(e,o)&&(r[o]=e[o]);return r};var f=(e,t)=>()=>(e&&(t=e(e=0)),t);var M=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),me=(e,t)=>{for(var r in t)Oe(e,r,{get:t[r],enumerable:!0})},ln=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of $s(t))!Xt.call(e,i)&&i!==r&&Oe(e,i,{get:()=>t[i],enumerable:!(o=Vs(t,i))||o.enumerable});return e};var w=(e,t,r)=>(r=e!=null?Us(Hs(e)):{},ln(t||!e||!e.__esModule?Oe(r,"default",{value:e,enumerable:!0}):r,e)),Me=e=>ln(Oe({},"__esModule",{value:!0}),e);var I=(e,t,r)=>new Promise((o,i)=>{var l=m=>{try{d(r.next(m))}catch(T){i(T)}},p=m=>{try{d(r.throw(m))}catch(T){i(T)}},d=m=>m.done?o(m.value):Promise.resolve(m.value).then(l,p);d((r=r.apply(e,t)).next())});var dn=M(rt=>{"use strict";n();rt.byteLength=js;rt.toByteArray=Ks;rt.fromByteArray=Zs;var z=[],U=[],qs=typeof Uint8Array!="undefined"?Uint8Array:Array,Zt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(ge=0,pn=Zt.length;ge<pn;++ge)z[ge]=Zt[ge],U[Zt.charCodeAt(ge)]=ge;var ge,pn;U["-".charCodeAt(0)]=62;U["_".charCodeAt(0)]=63;function un(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 js(e){var t=un(e),r=t[0],o=t[1];return(r+o)*3/4-o}function zs(e,t,r){return(t+r)*3/4-r}function Ks(e){var t,r=un(e),o=r[0],i=r[1],l=new qs(zs(e,o,i)),p=0,d=i>0?o-4:o,m;for(m=0;m<d;m+=4)t=U[e.charCodeAt(m)]<<18|U[e.charCodeAt(m+1)]<<12|U[e.charCodeAt(m+2)]<<6|U[e.charCodeAt(m+3)],l[p++]=t>>16&255,l[p++]=t>>8&255,l[p++]=t&255;return i===2&&(t=U[e.charCodeAt(m)]<<2|U[e.charCodeAt(m+1)]>>4,l[p++]=t&255),i===1&&(t=U[e.charCodeAt(m)]<<10|U[e.charCodeAt(m+1)]<<4|U[e.charCodeAt(m+2)]>>2,l[p++]=t>>8&255,l[p++]=t&255),l}function Ys(e){return z[e>>18&63]+z[e>>12&63]+z[e>>6&63]+z[e&63]}function Xs(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(Ys(o));return i.join("")}function Zs(e){for(var t,r=e.length,o=r%3,i=[],l=16383,p=0,d=r-o;p<d;p+=l)i.push(Xs(e,p,p+l>d?d:p+l));return o===1?(t=e[r-1],i.push(z[t>>2]+z[t<<4&63]+"==")):o===2&&(t=(e[r-2]<<8)+e[r-1],i.push(z[t>>10]+z[t>>4&63]+z[t<<2&63]+"=")),i.join("")}});var mn=M(Jt=>{n();Jt.read=function(e,t,r,o,i){var l,p,d=i*8-o-1,m=(1<<d)-1,T=m>>1,S=-7,h=r?i-1:0,x=r?-1:1,k=e[t+h];for(h+=x,l=k&(1<<-S)-1,k>>=-S,S+=d;S>0;l=l*256+e[t+h],h+=x,S-=8);for(p=l&(1<<-S)-1,l>>=-S,S+=o;S>0;p=p*256+e[t+h],h+=x,S-=8);if(l===0)l=1-T;else{if(l===m)return p?NaN:(k?-1:1)*(1/0);p=p+Math.pow(2,o),l=l-T}return(k?-1:1)*p*Math.pow(2,l-o)};Jt.write=function(e,t,r,o,i,l){var p,d,m,T=l*8-i-1,S=(1<<T)-1,h=S>>1,x=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,k=o?0:l-1,v=o?1:-1,N=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(d=isNaN(t)?1:0,p=S):(p=Math.floor(Math.log(t)/Math.LN2),t*(m=Math.pow(2,-p))<1&&(p--,m*=2),p+h>=1?t+=x/m:t+=x*Math.pow(2,1-h),t*m>=2&&(p++,m/=2),p+h>=S?(d=0,p=S):p+h>=1?(d=(t*m-1)*Math.pow(2,i),p=p+h):(d=t*Math.pow(2,h-1)*Math.pow(2,i),p=0));i>=8;e[r+k]=d&255,k+=v,d/=256,i-=8);for(p=p<<i|d,T+=i;T>0;e[r+k]=p&255,k+=v,p/=256,T-=8);e[r+k-v]|=N*128}});var kn=M(be=>{"use strict";n();var Qt=dn(),ve=mn(),gn=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;be.Buffer=u;be.SlowBuffer=na;be.INSPECT_MAX_BYTES=50;var nt=2147483647;be.kMaxLength=nt;u.TYPED_ARRAY_SUPPORT=Js();!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 Js(){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 te(e){if(e>nt)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 nr(e)}return yn(e,t,r)}u.poolSize=8192;function yn(e,t,r){if(typeof e=="string")return ea(e,t);if(ArrayBuffer.isView(e))return ta(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(K(e,ArrayBuffer)||e&&K(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(K(e,SharedArrayBuffer)||e&&K(e.buffer,SharedArrayBuffer)))return tr(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=ra(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 yn(e,t,r)};Object.setPrototypeOf(u.prototype,Uint8Array.prototype);Object.setPrototypeOf(u,Uint8Array);function hn(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 Qs(e,t,r){return hn(e),e<=0?te(e):t!==void 0?typeof r=="string"?te(e).fill(t,r):te(e).fill(t):te(e)}u.alloc=function(e,t,r){return Qs(e,t,r)};function nr(e){return hn(e),te(e<0?0:or(e)|0)}u.allocUnsafe=function(e){return nr(e)};u.allocUnsafeSlow=function(e){return nr(e)};function ea(e,t){if((typeof t!="string"||t==="")&&(t="utf8"),!u.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=xn(e,t)|0,o=te(r),i=o.write(e,t);return i!==r&&(o=o.slice(0,i)),o}function er(e){for(var t=e.length<0?0:or(e.length)|0,r=te(t),o=0;o<t;o+=1)r[o]=e[o]&255;return r}function ta(e){if(K(e,Uint8Array)){var t=new Uint8Array(e);return tr(t.buffer,t.byteOffset,t.byteLength)}return er(e)}function tr(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 ra(e){if(u.isBuffer(e)){var t=or(e.length)|0,r=te(t);return r.length===0||e.copy(r,0,0,t),r}if(e.length!==void 0)return typeof e.length!="number"||ir(e.length)?te(0):er(e);if(e.type==="Buffer"&&Array.isArray(e.data))return er(e.data)}function or(e){if(e>=nt)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+nt.toString(16)+" bytes");return e|0}function na(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(K(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),K(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(K(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 xn(e,t){if(u.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||K(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 rr(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return bn(e).length;default:if(i)return o?-1:rr(e).length;t=(""+t).toLowerCase(),i=!0}}u.byteLength=xn;function oa(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 ga(this,t,r);case"utf8":case"utf-8":return wn(this,t,r);case"ascii":return da(this,t,r);case"latin1":case"binary":return ma(this,t,r);case"base64":return pa(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return fa(this,t,r);default:if(o)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),o=!0}}u.prototype._isBuffer=!0;function fe(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)fe(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)fe(this,r,r+3),fe(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)fe(this,r,r+7),fe(this,r+1,r+6),fe(this,r+2,r+5),fe(this,r+3,r+4);return this};u.prototype.toString=function(){var t=this.length;return t===0?"":arguments.length===0?wn(this,0,t):oa.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=be.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"};gn&&(u.prototype[gn]=u.prototype.inspect);u.prototype.compare=function(t,r,o,i,l){if(K(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,d=o-r,m=Math.min(p,d),T=this.slice(i,l),S=t.slice(r,o),h=0;h<m;++h)if(T[h]!==S[h]){p=T[h],d=S[h];break}return p<d?-1:d<p?1:0};function Sn(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,ir(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:fn(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):fn(e,[t],r,o,i);throw new TypeError("val must be string, number or Buffer")}function fn(e,t,r,o,i){var l=1,p=e.length,d=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,d/=2,r/=2}function m(k,v){return l===1?k[v]:k.readUInt16BE(v*l)}var T;if(i){var S=-1;for(T=r;T<p;T++)if(m(e,T)===m(t,S===-1?0:T-S)){if(S===-1&&(S=T),T-S+1===d)return S*l}else S!==-1&&(T-=T-S),S=-1}else for(r+d>p&&(r=p-d),T=r;T>=0;T--){for(var h=!0,x=0;x<d;x++)if(m(e,T+x)!==m(t,x)){h=!1;break}if(h)return T}return-1}u.prototype.includes=function(t,r,o){return this.indexOf(t,r,o)!==-1};u.prototype.indexOf=function(t,r,o){return Sn(this,t,r,o,!0)};u.prototype.lastIndexOf=function(t,r,o){return Sn(this,t,r,o,!1)};function ia(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 d=parseInt(t.substr(p*2,2),16);if(ir(d))return p;e[r+p]=d}return p}function sa(e,t,r,o){return ot(rr(t,e.length-r),e,r,o)}function aa(e,t,r,o){return ot(ha(t),e,r,o)}function ca(e,t,r,o){return ot(bn(t),e,r,o)}function la(e,t,r,o){return ot(xa(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 ia(this,t,r,o);case"utf8":case"utf-8":return sa(this,t,r,o);case"ascii":case"latin1":case"binary":return aa(this,t,r,o);case"base64":return ca(this,t,r,o);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return la(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 pa(e,t,r){return t===0&&r===e.length?Qt.fromByteArray(e):Qt.fromByteArray(e.slice(t,r))}function wn(e,t,r){r=Math.min(e.length,r);for(var o=[],i=t;i<r;){var l=e[i],p=null,d=l>239?4:l>223?3:l>191?2:1;if(i+d<=r){var m,T,S,h;switch(d){case 1:l<128&&(p=l);break;case 2:m=e[i+1],(m&192)===128&&(h=(l&31)<<6|m&63,h>127&&(p=h));break;case 3:m=e[i+1],T=e[i+2],(m&192)===128&&(T&192)===128&&(h=(l&15)<<12|(m&63)<<6|T&63,h>2047&&(h<55296||h>57343)&&(p=h));break;case 4:m=e[i+1],T=e[i+2],S=e[i+3],(m&192)===128&&(T&192)===128&&(S&192)===128&&(h=(l&15)<<18|(m&63)<<12|(T&63)<<6|S&63,h>65535&&h<1114112&&(p=h))}}p===null?(p=65533,d=1):p>65535&&(p-=65536,o.push(p>>>10&1023|55296),p=56320|p&1023),o.push(p),i+=d}return ua(o)}var Tn=4096;function ua(e){var t=e.length;if(t<=Tn)return String.fromCharCode.apply(String,e);for(var r="",o=0;o<t;)r+=String.fromCharCode.apply(String,e.slice(o,o+=Tn));return r}function da(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 ma(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 ga(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+=Sa[e[l]];return i}function fa(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 R(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||R(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||R(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||R(t,1,this.length),this[t]};u.prototype.readUint16LE=u.prototype.readUInt16LE=function(t,r){return t=t>>>0,r||R(t,2,this.length),this[t]|this[t+1]<<8};u.prototype.readUint16BE=u.prototype.readUInt16BE=function(t,r){return t=t>>>0,r||R(t,2,this.length),this[t]<<8|this[t+1]};u.prototype.readUint32LE=u.prototype.readUInt32LE=function(t,r){return t=t>>>0,r||R(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||R(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||R(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||R(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||R(t,1,this.length),this[t]&128?(255-this[t]+1)*-1:this[t]};u.prototype.readInt16LE=function(t,r){t=t>>>0,r||R(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||R(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||R(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||R(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||R(t,4,this.length),ve.read(this,t,!0,23,4)};u.prototype.readFloatBE=function(t,r){return t=t>>>0,r||R(t,4,this.length),ve.read(this,t,!1,23,4)};u.prototype.readDoubleLE=function(t,r){return t=t>>>0,r||R(t,8,this.length),ve.read(this,t,!0,52,8)};u.prototype.readDoubleBE=function(t,r){return t=t>>>0,r||R(t,8,this.length),ve.read(this,t,!1,52,8)};function D(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;D(this,t,r,o,l,0)}var p=1,d=0;for(this[r]=t&255;++d<o&&(p*=256);)this[r+d]=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;D(this,t,r,o,l,0)}var p=o-1,d=1;for(this[r+p]=t&255;--p>=0&&(d*=256);)this[r+p]=t/d&255;return r+o};u.prototype.writeUint8=u.prototype.writeUInt8=function(t,r,o){return t=+t,r=r>>>0,o||D(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||D(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||D(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||D(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||D(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);D(this,t,r,o,l-1,-l)}var p=0,d=1,m=0;for(this[r]=t&255;++p<o&&(d*=256);)t<0&&m===0&&this[r+p-1]!==0&&(m=1),this[r+p]=(t/d>>0)-m&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);D(this,t,r,o,l-1,-l)}var p=o-1,d=1,m=0;for(this[r+p]=t&255;--p>=0&&(d*=256);)t<0&&m===0&&this[r+p+1]!==0&&(m=1),this[r+p]=(t/d>>0)-m&255;return r+o};u.prototype.writeInt8=function(t,r,o){return t=+t,r=r>>>0,o||D(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||D(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||D(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||D(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||D(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 An(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 In(e,t,r,o,i){return t=+t,r=r>>>0,i||An(e,t,r,4,34028234663852886e22,-34028234663852886e22),ve.write(e,t,r,o,23,4),r+4}u.prototype.writeFloatLE=function(t,r,o){return In(this,t,r,!0,o)};u.prototype.writeFloatBE=function(t,r,o){return In(this,t,r,!1,o)};function vn(e,t,r,o,i){return t=+t,r=r>>>0,i||An(e,t,r,8,17976931348623157e292,-17976931348623157e292),ve.write(e,t,r,o,52,8),r+8}u.prototype.writeDoubleLE=function(t,r,o){return vn(this,t,r,!0,o)};u.prototype.writeDoubleBE=function(t,r,o){return vn(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 d=u.isBuffer(t)?t:u.from(t,i),m=d.length;if(m===0)throw new TypeError('The value "'+t+'" is invalid for argument "value"');for(p=0;p<o-r;++p)this[p+r]=d[p%m]}return this};var Ta=/[^+/0-9A-Za-z-_]/g;function ya(e){if(e=e.split("=")[0],e=e.trim().replace(Ta,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function rr(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 ha(e){for(var t=[],r=0;r<e.length;++r)t.push(e.charCodeAt(r)&255);return t}function xa(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 bn(e){return Qt.toByteArray(ya(e))}function ot(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 K(e,t){return e instanceof t||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===t.name}function ir(e){return e!==e}var Sa=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 Rn=M((hp,Cn)=>{n();var E=Cn.exports={},Y,X;function sr(){throw new Error("setTimeout has not been defined")}function ar(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?Y=setTimeout:Y=sr}catch(e){Y=sr}try{typeof clearTimeout=="function"?X=clearTimeout:X=ar}catch(e){X=ar}})();function En(e){if(Y===setTimeout)return setTimeout(e,0);if((Y===sr||!Y)&&setTimeout)return Y=setTimeout,setTimeout(e,0);try{return Y(e,0)}catch(t){try{return Y.call(null,e,0)}catch(r){return Y.call(this,e,0)}}}function wa(e){if(X===clearTimeout)return clearTimeout(e);if((X===ar||!X)&&clearTimeout)return X=clearTimeout,clearTimeout(e);try{return X(e)}catch(t){try{return X.call(null,e)}catch(r){return X.call(this,e)}}}var re=[],ke=!1,Te,it=-1;function Aa(){!ke||!Te||(ke=!1,Te.length?re=Te.concat(re):it=-1,re.length&&Ln())}function Ln(){if(!ke){var e=En(Aa);ke=!0;for(var t=re.length;t;){for(Te=re,re=[];++it<t;)Te&&Te[it].run();it=-1,t=re.length}Te=null,ke=!1,wa(e)}}E.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];re.push(new Nn(e,t)),re.length===1&&!ke&&En(Ln)};function Nn(e,t){this.fun=e,this.array=t}Nn.prototype.run=function(){this.fun.apply(null,this.array)};E.title="browser";E.browser=!0;E.env={};E.argv=[];E.version="";E.versions={};function ne(){}E.on=ne;E.addListener=ne;E.once=ne;E.off=ne;E.removeListener=ne;E.removeAllListeners=ne;E.emit=ne;E.prependListener=ne;E.prependOnceListener=ne;E.listeners=function(e){return[]};E.binding=function(e){throw new Error("process.binding is not supported")};E.cwd=function(){return"/"};E.chdir=function(e){throw new Error("process.chdir is not supported")};E.umask=function(){return 0}});var s,c,Ia,a,n=f(()=>{s=w(kn()),c=w(Rn()),Ia=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),a=Ia});var Dn=f(()=>{"use strict";n()});var _n,dr=f(()=>{"use strict";n();_n="Action not allowed. User is logged in. Call logout() first"});var On=f(()=>{"use strict";n()});var mr,Mn=f(()=>{"use strict";n();mr=(o=>(o.SetGuardian="SetGuardian",o.GuardAccount="GuardAccount",o.UnGuardAccount="UnGuardAccount",o))(mr||{})});var Fn=f(()=>{"use strict";n()});var gr=f(()=>{"use strict";n()});var Bn=f(()=>{"use strict";n()});var Un=f(()=>{"use strict";n()});var Wn=f(()=>{"use strict";n()});var Vn=f(()=>{"use strict";n()});var pe,Le,Fe=f(()=>{"use strict";n();pe=require("@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider"),Le=require("@multiversx/sdk-web-wallet-cross-window-provider/out/enums")});var Ne,Gn,Mp,$n,Fp,q=f(()=>{"use strict";n();Fe();Ne=(x=>(x.ledger="ledger",x.walletconnect="walletconnect",x.walletconnectv2="walletconnectv2",x.wallet="wallet",x.crossWindow="crossWindow",x.iframe="iframe",x.extension="extension",x.passkey="passkey",x.metamask="metamask",x.opera="opera",x.extra="extra",x.none="",x))(Ne||{}),Gn=(r=>(r.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",r.reloginRequest="RELOGIN_REQUEST",r))(Gn||{}),Mp=g(g({},Le.WindowProviderRequestEnums),Gn),$n=(t=>(t.reloginResponse="RELOGIN_RESPONSE",t))($n||{}),Fp=g(g({},Le.WindowProviderResponseEnums),$n)});var Hn=f(()=>{"use strict";n()});var qn=f(()=>{"use strict";n()});var _=f(()=>{"use strict";n()});var jn=f(()=>{"use strict";n()});var zn=f(()=>{"use strict";n()});var Kn=f(()=>{"use strict";n()});var W=f(()=>{"use strict";n();Un();Wn();Vn();q();Hn();qn();_();jn();zn();Kn()});var fr,Yn,eu,Xn,tu,Zn,ru,nu,ou,Jn=f(()=>{"use strict";n();W();fr={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",extrasApiAddress:"https://devnet-extras-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://devnet-iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},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",extrasApiAddress:"https://testnet-extras-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://testnet-iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},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",extrasApiAddress:"https://extras-api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",metamaskSnapWalletAddress:"https://iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3}},{chainId:Yn,egldLabel:eu}=fr["devnet"],{chainId:Xn,egldLabel:tu}=fr["testnet"],{chainId:Zn,egldLabel:ru}=fr["mainnet"],nu={["devnet"]:Yn,["testnet"]:Xn,["mainnet"]:Zn},ou={[Yn]:"devnet",[Xn]:"testnet",[Zn]:"mainnet"}});var Tr=f(()=>{"use strict";n()});var Z,Qn=f(()=>{"use strict";n();Z=require("@multiversx/sdk-web-wallet-provider")});var ue,yr=f(()=>{"use strict";n();ue=require("@multiversx/sdk-dapp-utils/out/constants/browserConstants")});var eo,to,hr,Ea,La,ro,xr=f(()=>{"use strict";n();yr();hr=String((to=(eo=ue.safeWindow)==null?void 0:eo.navigator)==null?void 0:to.userAgent),Ea=/^((?!chrome|android).)*safari/i.test(hr),La=/firefox/i.test(hr)&&/windows/i.test(hr),ro=Ea||La});var Sr,wr,no,at,oo,Ce,b=f(()=>{"use strict";n();Dn();dr();On();Mn();Fn();gr();Bn();Jn();Tr();Qn();xr();Sr=5e4,wr=1e9,no=1,at="logout",oo="login",Ce="0"});var Re,ct=f(()=>{"use strict";n();Re=()=>Date.now()/1e3});var io=f(()=>{"use strict";n()});var so=f(()=>{"use strict";n()});var ao=f(()=>{"use strict";n();ct();io();so()});var Ar={};me(Ar,{clear:()=>Pa,getItem:()=>Ca,localStorageKeys:()=>ye,removeItem:()=>Ra,setItem:()=>Na});var ye,lt,Na,Ca,Ra,Pa,Be=f(()=>{"use strict";n();ao();ye={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event",guardianBreachToastDismissTimestamp:"sdk-dapp-guardian-breach-toast-dismiss-timestamp"},lt=typeof localStorage!="undefined",Na=({key:e,data:t,expires:r})=>{!lt||localStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},Ca=e=>{if(!lt)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:Re()>=r.expires?(localStorage.removeItem(String(e)),null):r.data},Ra=e=>{!lt||localStorage.removeItem(String(e))},Pa=()=>{!lt||localStorage.clear()}});var Ir={};me(Ir,{clear:()=>uo,getItem:()=>lo,removeItem:()=>po,setItem:()=>co,storage:()=>Da});var co,lo,po,uo,Da,mo=f(()=>{"use strict";n();co=({key:e,data:t,expires:r})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},lo=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},po=e=>sessionStorage.removeItem(String(e)),uo=()=>sessionStorage.clear(),Da={setItem:co,getItem:lo,removeItem:po,clear:uo}});var Pe,pt=f(()=>{"use strict";n();Be();mo();Pe={session:Ir,local:Ar}});var vr,L,De,V=f(()=>{"use strict";n();vr=require("@reduxjs/toolkit");b();L=(0,vr.createAction)(at),De=(0,vr.createAction)(oo,e=>({payload:e}))});var kr,go,fo,he,br,To,Ue,Er,yo,Wu,Vu,Gu,$u,Hu,qu,ju,zu,ut,dt=f(()=>{"use strict";n();kr=require("@multiversx/sdk-core"),go=require("@reduxjs/toolkit"),fo=require("redux-persist");b();pt();Be();V();he={balance:"...",address:"",isGuarded:!1,nonce:0,txCount:0,scrCount:0,claimableRewards:Ce},br={address:"",websocketEvent:null,websocketBatchEvent:null,accounts:{"":he},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},To=(0,go.createSlice)({name:"accountInfoSlice",initialState:br,reducers:{setAddress:(e,t)=>{let r=t.payload;e.address=r,e.publicKey=r?new kr.Address(r).hex():""},setAccount:(e,t)=>{let r=e.address===t.payload.address;e.accounts={[e.address]:r?t.payload:he},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(L,()=>(Pe.local.removeItem(ye.loginExpiresAt),br)),e.addCase(De,(t,r)=>{let{address:o}=r.payload;t.address=o,t.publicKey=new kr.Address(o).toHex()}),e.addCase(fo.REHYDRATE,(t,r)=>{var T;if(!((T=r.payload)!=null&&T.account))return;let{account:o}=r.payload,{address:i,shard:l,accounts:p,publicKey:d}=o;t.address=i,t.shard=l;let m=p&&i in p;t.accounts=m?p:br.accounts,t.publicKey=d})}}),{setAccount:Ue,setAddress:Er,setAccountNonce:yo,setAccountShard:Wu,setLedgerAccount:Vu,updateLedgerAccount:Gu,setWalletConnectAccount:$u,setIsAccountLoading:Hu,setAccountLoadingError:qu,setWebsocketEvent:ju,setWebsocketBatchEvent:zu}=To.actions,ut=To.reducer});function We(){return new Date().setHours(new Date().getHours()+24)}function Ve(e){Pe.local.setItem({key:ye.loginExpiresAt,data:e,expires:e})}var Lr=f(()=>{"use strict";n();pt();Be()});var xo,ho,So,nd,od,id,mt,sd,ad,wo,cd,ld,pd,gt,ft=f(()=>{"use strict";n();xo=require("@reduxjs/toolkit");Lr();q();V();ho={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,passkeyLogin:null,operaLogin:null,crossWindowLogin:null,iframeWindowLogin:null,isLoginSessionInvalid:!1,webviewLogin:null},So=(0,xo.createSlice)({name:"loginInfoSlice",initialState:ho,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},setWebviewLogin:(e,t)=>{e.webviewLogin=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(L,()=>ho),e.addCase(De,(t,r)=>{t.isLoginSessionInvalid=!1,t.loginMethod=r.payload.loginMethod,t.iframeLoginType=r.payload.iframeLoginType,Ve(We())})}}),{setLoginMethod:nd,setWalletConnectLogin:od,setLedgerLogin:id,setTokenLogin:mt,setTokenLoginSignature:sd,setWalletLogin:ad,invalidateLoginSession:wo,setLogoutRoute:cd,setIsWalletConnectV2Initialized:ld,setWebviewLogin:pd}=So.actions,gt=So.reducer});var Io,Ao,vo,gd,fd,Td,yd,Tt,yt=f(()=>{"use strict";n();Io=require("@reduxjs/toolkit");V();Ao={},vo=(0,Io.createSlice)({name:"modalsSlice",initialState:Ao,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(L,()=>Ao)}}),{setTxSubmittedModal:gd,setNotificationModal:fd,clearTxSubmittedModal:Td,clearNotificationModal:yd}=vo.actions,Tt=vo.reducer});var Ge,ht=f(()=>{"use strict";n();Ge=()=>typeof window!="undefined"&&typeof(window==null?void 0:window.location)!="undefined"});var J,de=f(()=>{"use strict";n();ht();J=()=>{if(!Ge())return{pathname:"",hash:"",origin:"",href:"",search:""};let{location:{pathname:t,hash:r,origin:o,href:i,search:l}}=window;return{pathname:t,hash:r,origin:o,href:i,search:l}}});var bo=f(()=>{"use strict";n();de()});var ko=f(()=>{"use strict";n();xt()});var Eo,Lo=f(()=>{"use strict";n();yr();Eo=e=>{if(!ue.safeWindow.location)return;if(!new URL(ue.safeWindow.location.href).protocol.startsWith("http"))return ue.safeWindow.location.reload();ue.safeWindow.location.assign(e)}});var xt=f(()=>{"use strict";n();bo();ko();de();Lo()});var _a,No,Co=f(()=>{"use strict";n();xt();_a=!1,No=({timeout:e=0,url:t})=>{_a||setTimeout(()=>{if(!!window)return Eo(t)},e)}});function Ro({callbackRoute:e,onLoginRedirect:t,options:r}){let o=Boolean(e),i=typeof t=="function";if(o&&e!=null){if(i)return t(e,r);No({url:e,timeout:Oa})}}var Oa,Po=f(()=>{"use strict";n();Co();Oa=200});function Do(e){return e[Math.floor(Math.random()*e.length)]}var _o=f(()=>{"use strict";n()});var Oo=f(()=>{"use strict";n();gr()});var Nr=f(()=>{"use strict";n();Po();_o();Oo()});var Mo,Fo,Bo,Cr,Fa,Uo,Yd,Xd,Wo,St,wt=f(()=>{"use strict";n();Mo=require("@reduxjs/toolkit"),Fo=w(require("lodash.omit")),Bo=require("redux-persist");Tr();V();Nr();Cr={id:"not-configured",chainId:"",name:"NOT CONFIGURED",egldLabel:"",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"",walletConnectBridgeAddress:"",walletConnectV2RelayAddress:"",walletConnectV2ProjectId:"",walletConnectV2Options:{},walletAddress:"",apiAddress:"",explorerAddress:"",apiTimeout:"4000",roundDuration:6e3},Fa={network:Cr},Uo=(0,Mo.createSlice)({name:"appConfig",initialState:Fa,reducers:{initializeNetworkConfig:(e,t)=>{let r=Do(t.payload.walletConnectV2RelayAddresses),o=(0,Fo.default)(t.payload,"walletConnectV2RelayAddresses");e.network=A(g(g({},e.network),o),{walletConnectV2RelayAddress:r})},updateNetworkConfig:(e,t)=>{e.network=g(g({},e.network),t.payload)},setCustomWalletAddress:(e,t)=>{e.network.customWalletAddress=t.payload}},extraReducers:e=>{e.addCase(L,t=>{t.network.customWalletAddress=void 0}),e.addCase(Bo.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:Yd,updateNetworkConfig:Xd,setCustomWalletAddress:Wo}=Uo.actions,St=Uo.reducer});var Vo,Rr,Go,rm,nm,om,At,It=f(()=>{"use strict";n();Vo=require("@reduxjs/toolkit");W();V();Rr={isSigning:!1,signedSessions:{}},Go=(0,Vo.createSlice)({name:"signedMessageInfoSliceState",initialState:Rr,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]=g(g({},e.signedSessions[r]),o)},setSignSessionState:(e,t)=>g(g({},e),t.payload),clearSignedMessageInfo:()=>Rr},extraReducers:e=>{e.addCase(L,()=>Rr)}}),{setSignSession:rm,clearSignedMessageInfo:nm,setSignSessionState:om}=Go.actions,At=Go.reducer});var Ho,qo,$o,jo,um,dm,mm,gm,vt,bt=f(()=>{"use strict";n();Ho=require("@reduxjs/toolkit"),qo=require("redux-persist");W();ct();V();$o={customToasts:[],transactionToasts:[]},jo=(0,Ho.createSlice)({name:"toastsSlice",initialState:$o,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]=A(g(g({},e.customToasts[o]),t.payload),{type:"custom",toastId:r});return}e.customToasts.push(A(g({},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:Re(),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(L,()=>$o),e.addCase(qo.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:um,removeCustomToast:dm,addTransactionToast:mm,removeTransactionToast:gm}=jo.actions,vt=jo.reducer});var zo,Dr,_r,Or,Ba,Pr,Ko,hm,xm,Sm,kt,Et=f(()=>{"use strict";n();zo=require("@reduxjs/toolkit");V();Dr="Transaction failed",_r="Transaction successful",Or="Processing transaction",Ba="Transaction submitted",Pr={},Ko=(0,zo.createSlice)({name:"transactionsInfo",initialState:Pr,reducers:{setTransactionsDisplayInfo(e,t){let{sessionId:r,transactionsDisplayInfo:o}=t.payload;r!=null&&(e[r]={errorMessage:(o==null?void 0:o.errorMessage)||Dr,successMessage:(o==null?void 0:o.successMessage)||_r,processingMessage:(o==null?void 0:o.processingMessage)||Or,submittedMessage:(o==null?void 0:o.submittedMessage)||Ba,transactionDuration:o==null?void 0:o.transactionDuration})},clearTransactionsInfoForSessionId(e,t){t.payload!=null&&delete e[t.payload]},clearTransactionsInfo:()=>Pr},extraReducers:e=>{e.addCase(L,()=>Pr)}}),{clearTransactionsInfo:hm,setTransactionsDisplayInfo:xm,clearTransactionsInfoForSessionId:Sm}=Ko.actions,kt=Ko.reducer});function Yo(e){return e!=null&&(Ya(e)||ec(e))}function Lt(e){return e!=null&&(Xa(e)||tc(e))}function Nt(e){return e!=null&&(Za(e)||rc(e))}function Xo(e){return e!=null&&(Ja(e)||nc(e))}function Zo(e){return e!=null&&Qa(e)}function Ya(e){return e!=null&&Wa.includes(e)}function Xa(e){return e!=null&&Va.includes(e)}function Za(e){return e!=null&&Ga.includes(e)}function Ja(e){return e!=null&&$a.includes(e)}function Qa(e){return e!=null&&Ha.includes(e)}function ec(e){return e!=null&&qa.includes(e)}function tc(e){return e!=null&&ja.includes(e)}function rc(e){return e!=null&&za.includes(e)}function nc(e){return e!=null&&Ka.includes(e)}var Wa,Va,Ga,$a,Ha,qa,ja,za,Ka,Fr=f(()=>{"use strict";n();q();Wa=["sent"],Va=["success"],Ga=["fail","cancelled","timedOut"],$a=["invalid"],Ha=["timedOut"],qa=["pending"],ja=["success"],za=["fail","invalid"],Ka=["not executed"]});var Jo,Qo,$e,oc,ei,Nm,Cm,Rm,Pm,Dm,_m,Om,Mm,Fm,Bm,Um,Ct,Rt=f(()=>{"use strict";n();Jo=require("@reduxjs/toolkit"),Qo=require("redux-persist");q();Fr();V();$e={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},oc={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},ei=(0,Jo.createSlice)({name:"transactionsSlice",initialState:$e,reducers:{moveTransactionsToSignedState:(e,t)=>{var m,T;let{sessionId:r,transactions:o,errorMessage:i,status:l,redirectRoute:p,customTransactionInformation:d}=t.payload;e.customTransactionInformationForSessionId[r]=g(g(g({},oc),((m=e.signedTransactions[r])==null?void 0:m.customTransactionInformation)||{}),e.customTransactionInformationForSessionId[r]||{}),e.signedTransactions[r]={transactions:o,status:l,errorMessage:i,redirectRoute:p,customTransactionInformation:g(g({},e.customTransactionInformationForSessionId[r]),d!=null?d:{})},((T=e==null?void 0:e.transactionsToSign)==null?void 0:T.sessionId)===r&&(e.transactionsToSign=$e.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=g(g({},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 T,S,h,x,k,v,N,H;let{sessionId:r,status:o,errorMessage:i,transactionHash:l,serverTransaction:p,inTransit:d}=t.payload,m=(S=(T=e.signedTransactions)==null?void 0:T[r])==null?void 0:S.transactions;if(m!=null){e.signedTransactions[r].transactions=m.map(C=>C.hash===l?A(g(g({},p!=null?p:{}),C),{status:o,errorMessage:i,inTransit:d}):C);let B=(x=(h=e.signedTransactions[r])==null?void 0:h.transactions)==null?void 0:x.every(C=>Lt(C.status)),ee=(v=(k=e.signedTransactions[r])==null?void 0:k.transactions)==null?void 0:v.some(C=>Nt(C.status)),le=(H=(N=e.signedTransactions[r])==null?void 0:N.transactions)==null?void 0:H.every(C=>Xo(C.status));B&&(e.signedTransactions[r].status="success"),ee&&(e.signedTransactions[r].status="fail"),le&&(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=$e.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=$e.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=g(g({},e.signedTransactions[r].customTransactionInformation),o))}},extraReducers:e=>{e.addCase(L,()=>$e),e.addCase(Qo.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((d,[m,T])=>{let S=new Date(m),h=new Date;return h.setHours(h.getHours()+5),h-S>0||(d[m]=T),d},{});i!=null&&(t.customTransactionInformationForSessionId=i),o!=null&&(t.signedTransactions=l)})}}),{updateSignedTransactionStatus:Nm,updateSignedTransactions:Cm,setTransactionsToSign:Rm,clearAllTransactionsToSign:Pm,clearAllSignedTransactions:Dm,clearSignedTransaction:_m,clearTransactionToSign:Om,setSignTransactionsError:Mm,setSignTransactionsCancelMessage:Fm,moveTransactionsToSignedState:Bm,updateSignedTransactionsCustomTransactionInformation:Um}=ei.actions,Ct=ei.reducer});var ti,Br,ri,$m,Hm,qm,jm,Pt,Dt=f(()=>{"use strict";n();ti=require("@reduxjs/toolkit");V();Br={},ri=(0,ti.createSlice)({name:"batchTransactionsSlice",initialState:Br,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:()=>Br},extraReducers:e=>{e.addCase(L,()=>Br)}}),{setBatchTransactions:$m,updateBatchTransactions:Hm,clearBatchTransactions:qm,clearAllBatchTransactions:jm}=ri.actions,Pt=ri.reducer});var oi,ni,ii,Xm,si,Ur=f(()=>{"use strict";n();oi=require("@reduxjs/toolkit");V();ni={},ii=(0,oi.createSlice)({name:"dappConfigSlice",initialState:ni,reducers:{setDappConfig:(e,t)=>t.payload},extraReducers:e=>{e.addCase(L,()=>ni)}}),{setDappConfig:Xm}=ii.actions,si=ii.reducer});var oe=f(()=>{"use strict";n();dt();ft();yt();wt();It();bt();Et();Rt();Dt();Ur()});var $r=f(()=>{"use strict";n()});var hi,Tc,yc,we,Wt=f(()=>{"use strict";n();hi=require("@reduxjs/toolkit");$r();dt();Dt();Ur();ft();yt();wt();It();bt();Et();Rt();Tc={["account"]:ut,["dappConfig"]:si,["loginInfo"]:gt,["modals"]:Tt,["networkConfig"]:St,["signedMessageInfo"]:At,["toasts"]:vt,["transactionsInfo"]:kt,["transactions"]:Ct,["batchTransactions"]:Pt},yc=(e={})=>(0,hi.combineReducers)(g(g({},Tc),e)),we=yc});var Ai={};me(Ai,{default:()=>Dc,sessionStorageReducers:()=>Hr});function ae(e,t=[]){return{key:e,version:1,storage:Si.default,blacklist:t}}var O,xi,Si,hc,qe,xc,Sc,wc,Ac,Ic,vc,bc,kc,Ec,Lc,wi,Nc,Hr,Cc,Rc,Pc,Dc,Ii=f(()=>{"use strict";n();O=require("redux-persist"),xi=w(require("redux-persist/lib/storage")),Si=w(require("redux-persist/lib/storage/session"));Wt();oe();dt();Dt();ft();yt();wt();It();bt();Et();Rt();$r();hc={persistReducersStorageType:"localStorage"},qe={["account"]:"sdk-dapp-account",["loginInfo"]:"sdk-dapp-login-info",["modals"]:"sdk-dapp-modals",["networkConfig"]:"sdk-dapp-network-config"},xc=ae(qe["account"]),Sc=ae(qe["loginInfo"]),wc=ae(qe["modals"]),Ac=ae(qe["networkConfig"]),Ic={2:e=>A(g({},e),{networkConfig:Cr})};vc=ae("sdk-dapp-transactionsInfo"),bc=ae("sdk-dapp-transactions",["transactionsToSign"]),kc=ae("sdk-dapp-batchTransactions",["batchTransactions"]),Ec=ae("sdk-dapp-toasts"),Lc=ae("sdk-dapp-signedMessageInfo"),wi={key:"sdk-dapp-store",version:2,storage:xi.default,whitelist:Object.keys(qe),migrate:(0,O.createMigrate)(Ic,{debug:!1})},Nc=A(g({},wi),{whitelist:[]}),Hr={["toasts"]:(0,O.persistReducer)(Ec,vt),["transactions"]:(0,O.persistReducer)(bc,Ct),["transactionsInfo"]:(0,O.persistReducer)(vc,kt),["batchTransactions"]:(0,O.persistReducer)(kc,Pt),["signedMessageInfo"]:(0,O.persistReducer)(Lc,At)},Cc=A(g({},Hr),{["account"]:(0,O.persistReducer)(xc,ut),["loginInfo"]:(0,O.persistReducer)(Sc,gt),["modals"]:(0,O.persistReducer)(wc,Tt),["networkConfig"]:(0,O.persistReducer)(Ac,St)}),Rc=hc.persistReducersStorageType==="localStorage",Pc=Rc?(0,O.persistReducer)(wi,we(Hr)):(0,O.persistReducer)(Nc,we(Cc)),Dc=Pc});var vi={};me(vi,{default:()=>_c});var _c,bi=f(()=>{"use strict";n();Wt();_c=we()});var ki={};me(ki,{default:()=>Mc});var $,Oc,Mc,Ei=f(()=>{"use strict";n();$=require("redux-persist"),Oc=[$.FLUSH,$.REHYDRATE,$.PAUSE,$.PERSIST,$.PURGE,$.REGISTER],Mc=Oc});var Ci={};me(Ci,{default:()=>Ni});function Ni(e){return(0,Li.persistStore)(e)}var Li,Ri=f(()=>{"use strict";n();Li=require("redux-persist")});var Ki=M((pv,zi)=>{n();var bl=typeof a=="object"&&a&&a.Object===Object&&a;zi.exports=bl});var Xi=M((uv,Yi)=>{n();var kl=Ki(),El=typeof self=="object"&&self&&self.Object===Object&&self,Ll=kl||El||Function("return this")();Yi.exports=Ll});var Zr=M((dv,Zi)=>{n();var Nl=Xi(),Cl=Nl.Symbol;Zi.exports=Cl});var ts=M((mv,es)=>{n();var Ji=Zr(),Qi=Object.prototype,Rl=Qi.hasOwnProperty,Pl=Qi.toString,Ye=Ji?Ji.toStringTag:void 0;function Dl(e){var t=Rl.call(e,Ye),r=e[Ye];try{e[Ye]=void 0;var o=!0}catch(l){}var i=Pl.call(e);return o&&(t?e[Ye]=r:delete e[Ye]),i}es.exports=Dl});var ns=M((gv,rs)=>{n();var _l=Object.prototype,Ol=_l.toString;function Ml(e){return Ol.call(e)}rs.exports=Ml});var as=M((fv,ss)=>{n();var os=Zr(),Fl=ts(),Bl=ns(),Ul="[object Null]",Wl="[object Undefined]",is=os?os.toStringTag:void 0;function Vl(e){return e==null?e===void 0?Wl:Ul:is&&is in Object(e)?Fl(e):Bl(e)}ss.exports=Vl});var ls=M((Tv,cs)=>{n();var Gl=Array.isArray;cs.exports=Gl});var us=M((yv,ps)=>{n();function $l(e){return e!=null&&typeof e=="object"}ps.exports=$l});var ms=M((hv,ds)=>{n();var Hl=as(),ql=ls(),jl=us(),zl="[object String]";function Kl(e){return typeof e=="string"||!ql(e)&&jl(e)&&Hl(e)==zl}ds.exports=Kl});var dp={};me(dp,{useCrossWindowLogin:()=>up});module.exports=Me(dp);n();var rn=require("react");n();n();n();n();var st="accounts";var cr="blocks";n();n();n();var Pn=require("@lifeomic/axios-fetch"),lr=w(require("axios")),pr=(0,Pn.buildAxiosFetch)(lr.default),ur=(e,t)=>I(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 va(e,t,r){return I(this,null,function*(){try{let o=yield pr(e,g({method:"POST",body:t?JSON.stringify(t):void 0,headers:g({"Content-Type":"application/json"},(r==null?void 0:r.headers)||{})},r));return ur(o,r)}catch(o){throw console.error("Fetch Error:",o),o}})}function ba(e,t){return I(this,null,function*(){try{let r=yield pr(e,t);if(!r.ok)throw new Error(`HTTP error! Status: ${r.status}`);return ur(r,t)}catch(r){throw console.error("Fetch Error:",r),r}})}function ka(e,t,r){return I(this,null,function*(){try{let o=yield pr(e,g({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 ur(o,r)}catch(o){throw console.error("Fetch Error:",o),o}})}var Ee=lr.default.create();Ee.get=ba;Ee.post=va;Ee.patch=ka;n();n();n();oe();n();var ai=w(require("lodash.isequal")),_t=require("reselect"),y=(0,_t.createSelectorCreator)(_t.defaultMemoize,ai.default);var Q=e=>e.account,Wr=y(Q,e=>e.address),He=y(Q,Wr,(e,t)=>t in e.accounts?e.accounts[t]:he),ic=y(Q,He,(e,t)=>{let i=e,{accounts:r}=i,o=tt(i,["accounts"]);return A(g({},o),{address:t.address,account:t})}),dg=y(He,e=>e.balance),ci=y(He,e=>{var t;return((t=e==null?void 0:e.nonce)==null?void 0:t.valueOf())||0}),mg=y(Q,e=>e.shard),gg=y(Q,e=>e.ledgerAccount),fg=y(Q,e=>e.walletConnectAccount),Tg=y(Q,e=>e.isAccountLoading),yg=y(Q,e=>e.accountLoadingError),sc=y(Q,e=>e.websocketEvent),ac=y(Q,e=>e.websocketBatchEvent);n();var cc=e=>e.dappConfig,Sg=y(cc,e=>e.shouldUseWebViewProvider);n();var G=e=>e.loginInfo,vg=y(G,e=>e.loginMethod),Vr=y(G,Wr,(e,t)=>Boolean(t)),bg=y(G,e=>e.walletConnectLogin),kg=y(G,e=>e.ledgerLogin),Eg=y(G,e=>e.walletLogin),Lg=y(G,e=>e.isLoginSessionInvalid),li=y(G,e=>e.tokenLogin),Ng=y(G,e=>e.logoutRoute),lc=y(G,e=>e.isWalletConnectV2Initialized);n();var pi=e=>e.modals,Pg=y(pi,e=>e.txSubmittedModal),Dg=y(pi,e=>e.notificationModal);n();var ie=e=>e.networkConfig,Mg=y(ie,e=>e.network.chainId),Fg=y(ie,e=>e.network.roundDuration),Bg=y(ie,e=>e.network.walletConnectBridgeAddress),Ug=y(ie,e=>e.network.walletConnectV2RelayAddress),Wg=y(ie,e=>e.network.walletConnectV2ProjectId),Vg=y(ie,e=>e.network.walletConnectV2Options),Gg=y(ie,e=>e.network.walletConnectDeepLink),se=y(ie,e=>e.network),ui=y(se,e=>e.apiAddress),di=y(se,e=>e.explorerAddress),$g=y(se,e=>{var t;return(t=e.customWalletAddress)!=null?t:e.walletAddress}),Hg=y(se,e=>e.xAliasAddress),qg=y(se,e=>e.egldLabel);n();var Ot=e=>e.signedMessageInfo,Kg=y(Ot,e=>e.isSigning),Yg=y(Ot,e=>e.errorMessage),Xg=y(Ot,e=>{let t=Object.keys(e.signedSessions),r=t.length;return e.signedSessions[t[r-1]]}),Zg=y(Ot,e=>{let t=Object.keys(e.signedSessions),r=t.length;return t.length>0?t[r-1]:""});n();var mi=e=>e.toasts,ef=y(mi,e=>e.customToasts),tf=y(mi,e=>e.transactionToasts);n();oe();var gi={errorMessage:Dr,successMessage:_r,processingMessage:Or},pc=e=>e.transactionsInfo,sf=y(pc,(e,t)=>t,(e,t)=>t!=null&&(e==null?void 0:e[Number(t)])||gi);n();n();var Se=require("@multiversx/sdk-core");b();n();n();n();function Mt(e){try{let t=atob(e),r=btoa(t),o=s.Buffer.from(e,"base64").toString(),i=s.Buffer.from(o).toString("base64"),l=e===r||r.startsWith(e),p=e===i||i.startsWith(e);if(l&&p)return!0}catch(t){return!1}return!1}function xe(e){return Mt(e)?atob(e):e}n();n();n();n();var fi=e=>{let t=e!=null?e:"";return Mt(t)?s.Buffer.from(s.Buffer.from(t,"base64").toString().trim()):s.Buffer.from(t.trim())};n();b();var Ft=({data:e,onlySetGuardian:t})=>e?t?e.startsWith("SetGuardian"):Object.values(mr).some(r=>e.startsWith(r)):!1;function Gr(e){var o,i,l;let t=g({},e);Ft({data:t.data,onlySetGuardian:!0})&&(delete t.senderUsername,delete t.receiverUsername);let r=new Se.Transaction(g(g(A(g(A(g(g({value:BigInt(t.value.valueOf()),data:fi(t.data),nonce:BigInt(t.nonce.valueOf()),receiver:new Se.Address(t.receiver)},t.receiverUsername?{receiverUsername:t.receiverUsername}:{}),t.relayer?{relayer:new Se.Address(t.relayer)}:{}),{sender:new Se.Address(t.sender)}),t.senderUsername?{senderUsername:t.senderUsername}:{}),{gasLimit:BigInt((o=t.gasLimit.valueOf())!=null?o:Sr),gasPrice:BigInt((i=t.gasPrice.valueOf())!=null?i:wr),chainID:t.chainID.valueOf(),version:(l=t.version)!=null?l:no}),t.options?{options:t.options}:{}),t.guardian?{guardian:new Se.Address(t.guardian)}:{}));return t.relayerSignature&&(r.relayerSignature=s.Buffer.from(t.relayerSignature,"hex")),t.guardianSignature&&(r.guardianSignature=s.Buffer.from(t.guardianSignature,"hex")),t.signature&&(r.signature=s.Buffer.from(t.signature,"hex")),r}n();n();b();n();n();var qr=require("@reduxjs/toolkit"),Oi=require("react-redux/lib/utils/Subscription");oe();n();var Ti=w(require("lodash.throttle"));b();oe();Lr();pt();Be();var mc=[at],Bt=!1,gc=(0,Ti.default)(()=>{Ve(We())},5e3),yi=e=>t=>r=>{if(mc.includes(r.type))return t(r);let o=e.getState(),i=Pe.local.getItem(ye.loginExpiresAt);if(!Boolean(o==null?void 0:o.account.address))return t(r);if(i==null)return Ve(We()),t(r);let p=Date.now();return i-p<0&&!Bt?setTimeout(()=>{Bt=!0,e.dispatch(wo())},1e3):(Bt&&(Bt=!1),gc()),t(r)};n();n();function Ut(){return typeof sessionStorage!="undefined"}var Pi=Ut()?(Ii(),Me(Ai)).default:(bi(),Me(vi)).default,Di=Ut()?(Ei(),Me(ki)).default:[],_i=Ut()?(Ri(),Me(Ci)).default:e=>e;Wt();var P=(0,qr.configureStore)({reducer:Pi,middleware:e=>e({serializableCheck:{ignoredActions:[...Di,yo.type,Ue.type],ignoredPaths:["payload.nonce","account.account.nonce","providers.accountProvider"]}}).concat(yi)}),Mi=(0,Oi.createSubscription)(P),TT=_i(P),yT=(0,qr.configureStore)({reducer:we});n();n();var Bc=require("@multiversx/sdk-core");n();b();n();var Wc=require("@multiversx/sdk-core");W();n();var Uc=require("@multiversx/sdk-core");n();n();n();var Vc=require("@multiversx/sdk-core"),Gc=w(require("bignumber.js"));q();n();n();n();n();n();n();_();n();n();_();n();n();n();var Kc=w(require("bignumber.js"));b();n();var zc=require("@multiversx/sdk-core"),jr=w(require("bignumber.js"));b();n();var qc=w(require("bignumber.js"));n();jr.default.config({ROUNDING_MODE:jr.default.ROUND_FLOOR});n();n();n();b();n();n();n();n();b();n();b();n();var Yc=require("@multiversx/sdk-core"),Xc=w(require("bignumber.js"));b();n();var Kr=require("@multiversx/sdk-core"),Jc=w(require("bignumber.js"));b();n();n();var Zc=w(require("bignumber.js"));b();n();b();n();n();n();n();n();n();b();n();b();n();b();n();_();var el=["reDelegateRewards","claimRewards","unBond"],tl=["wrapEgld","unwrapEgld"],rl=["unStake"],nl=["unDelegate"];n();n();n();b();n();var sl=w(require("bignumber.js"));n();n();_();n();var cl=w(require("bignumber.js"));n();n();n();n();var pl=w(require("bignumber.js"));W();n();n();var ul=require("@multiversx/sdk-core");n();n();q();n();var gl=require("@multiversx/sdk-web-wallet-provider");b();n();var ml=w(require("qs"));n();xt();ht();n();ht();var RS={search:Ge()?window.location.search:"",removeParams:[]};n();n();n();de();n();_();n();n();de();n();var fl=w(require("linkifyjs"));n();b();n();var Tl=w(require("bignumber.js"));n();W();n();n();q();n();q();n();n();n();_();n();_();n();var yl=w(require("bignumber.js"));b();_();n();_();n();var $i=require("react");W();n();n();_();n();n();var hl=require("@multiversx/sdk-core"),xl=w(require("bignumber.js"));_();n();W();n();n();W();var vA=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}];n();var Hi=require("react");W();de();n();var wl=require("react");_();var PA=["create","localMint","ESDTLocalMint","addQuantity","burn","localBurn","ESDTLocalBurn","wipe","writeLog","signalError"];Fr();n();var Gt=e=>e.transactions,Ke=y(Gt,e=>e.signedTransactions),AI=y(Gt,e=>e.signTransactionsError),II=y(Gt,e=>e.signTransactionsCancelMessage),$t=e=>t=>Object.entries(t).reduce((r,[o,i])=>(e(i.status)&&(r[o]=i),r),{}),vI=y(Ke,$t(Yo)),bI=y(Ke,$t(Lt)),kI=y(Ke,$t(Nt)),EI=y(Ke,$t(Zo)),LI=y(Gt,e=>{var t;return(e==null?void 0:e.transactionsToSign)==null?null:A(g({},e.transactionsToSign),{transactions:((t=e==null?void 0:e.transactionsToSign)==null?void 0:t.transactions.map(r=>Gr(r)))||[]})}),NI=y(Ke,(e,t)=>t,(e,t)=>t!=null?(e==null?void 0:e[t])||{}:{});var Xr=e=>{let t=e!=null?e:ui(P.getState());return t.endsWith("/")?t.slice(0,-1):t};n();var Al=w(require("axios"));n();var Il=w(require("swr"));var vl=(e,t)=>{var l;let r=(l=t==null?void 0:t.apiAddress)!=null?l:Xr(),o=t!=null&&t.headers?{headers:t==null?void 0:t.headers}:void 0,i=`${r}/${st}/${e}?withGuardianInfo=true`;return Ee.get(i,o)},qi=(e,t)=>I(void 0,null,function*(){if(!e)return null;try{let{data:r}=yield vl(e,t);return r}catch(r){console.error("error fetching configuration for ",e,r)}return null});var ji=(e,t)=>qi(e,t);n();n();var gs=w(ms());var Ht=e=>{if(!e||!(0,gs.default)(e))return null;let t=e.split(".");if(t.length!==4)return null;try{let[r,o,i,l]=t,p=JSON.parse(xe(l)),d=xe(r);return{ttl:Number(i),extraInfo:p,origin:d,blockHash:o}}catch(r){return console.error(`Error trying to decode ${e}:`,r),null}};n();var As=require("@multiversx/sdk-native-auth-client");n();var hs=w(require("axios"));n();n();n();function fs(e){return I(this,null,function*(){return yield new Promise(t=>{setTimeout(()=>t(),e)})})}n();var Ts=(e,t,r,o=0)=>I(void 0,null,function*(){try{return yield e(...r)}catch(i){return o<t.retries?((t==null?void 0:t.delay)!=null&&(yield fs(t.delay)),yield Ts(e,t,r,o+1)):null}}),ys=(e,t={retries:5,delay:500})=>(...r)=>I(void 0,null,function*(){return yield Ts(e,t,r)});var Yl=4,Xl=3e4,qt={current:null},Ae={current:null},Zl=ys((e,t,r)=>I(void 0,null,function*(){if(r){let l=Math.floor(Date.now()/1e3);return{hash:yield r(),timestamp:l}}let{data:o}=yield hs.default.get(`${e}/${cr}?from=${Yl}&size=1&fields=hash,timestamp${t?"&shard="+t:""}`),[i]=o;return i}));function xs(e,t,r,o){return I(this,null,function*(){if(e==null)throw new Error("missing api url");let i=Date.now();if(qt.current!=null&&i<qt.current.timestamp*1e3+Xl&&!o)return qt.current;if(Ae.current!=null)return yield Ae.current;Ae.current=Zl(e,t,r);try{let l=yield Ae.current;if(l==null)throw Ae.current=null,new Error("could not get block hash");return qt.current={hash:l.hash,timestamp:l.timestamp},Ae.current=null,l}catch(l){return Ae.current=null,null}})}n();n();ct();n();function Jl(e){return Object.prototype.toString.call(e)==="[object String]"}var Ss=e=>{var r;if(!e||!Jl(e))return null;let t=e.split(".");if(t.length!==3)return console.error("Invalid nativeAuthToken. You may be trying to decode a loginToken. Try using decodeLoginToken method instead"),null;try{let[o,i,l]=t,p=xe(o),d=xe(i),m=Ht(d);if(!m)return{address:p,body:d,signature:l,blockHash:"",origin:"",ttl:0};let T=A(g({},m),{address:p,body:d,signature:l});return(r=m.extraInfo)!=null&&r.timestamp||delete T.extraInfo,T}catch(o){return null}};var Jr={isExpired:!1},ws=e=>{if(!e)return Jr;let t=Ss(e);if(!t)return Jr;let r=Re(),{ttl:o,extraInfo:i}=t,l=i==null?void 0:i.timestamp;if(!l)return Jr;let p=l+o,d=r>p,m=p-r;return{isExpired:d,expiresAt:p,secondsUntilExpires:m}};n();de();var Xe={origin:J().origin,apiAddress:"https://api.multiversx.com",expirySeconds:60*60*24,tokenExpirationToastWarningSeconds:5*60},Ze=e=>{var r,o,i,l,p,d;return e===!0?Xe:{origin:(r=e==null?void 0:e.origin)!=null?r:Xe.origin,blockHashShard:e==null?void 0:e.blockHashShard,expirySeconds:(o=e==null?void 0:e.expirySeconds)!=null?o:Xe.expirySeconds,apiAddress:(i=e==null?void 0:e.apiAddress)!=null?i:Xe.apiAddress,tokenExpirationToastWarningSeconds:(l=e==null?void 0:e.tokenExpirationToastWarningSeconds)!=null?l:Xe.tokenExpirationToastWarningSeconds,extraInfo:(p=e==null?void 0:e.extraInfo)!=null?p:{},gatewayUrl:e==null?void 0:e.gatewayUrl,extraRequestHeaders:(d=e==null?void 0:e.extraRequestHeaders)!=null?d:{}}};var Je=e=>{let{origin:t,apiAddress:r,expirySeconds:o,blockHashShard:i,extraInfo:l,gatewayUrl:p,extraRequestHeaders:d}=Ze(e),m=new As.NativeAuthClient({origin:t,apiUrl:r,expirySeconds:o,blockHashShard:i,gatewayUrl:p,extraRequestHeaders:d});return{getNativeAuthConfig:Ze,initialize:h=>I(void 0,null,function*(){var k,v;if(!r||!t)return"";let x=()=>m.getCurrentBlockHash();try{let N=(k=h==null?void 0:h.latestBlockInfo)!=null?k:yield xs(r,i,x,h==null?void 0:h.noCache);if(!N)return"";let{hash:H,timestamp:B}=N,ee=m.encodeValue(JSON.stringify(g(g({},(v=h==null?void 0:h.extraInfo)!=null?v:l),B?{timestamp:B}:{})));return`${m.encodeValue(t)}.${H}.${o}.${ee}`}catch(N){return console.error("Error getting native auth token: ",N.toString()),""}}),getToken:({address:h,token:x,signature:k})=>m.getToken(h,x,k),getTokenExpiration:ws}};var Is=r=>I(void 0,[r],function*({loginToken:e,extraInfoData:t}){if(e==null||Object.keys(t).length===0)return null;let o=Ht(String(e)),T=(o==null?void 0:o.extraInfo)||{},{timestamp:i}=T,l=tt(T,["timestamp"]);if(!(o&&i!=null))return null;let d={hash:String(o==null?void 0:o.blockHash),timestamp:Number(i)};return yield Je({extraInfo:g(g({},l),t),expirySeconds:o==null?void 0:o.ttl,origin:o==null?void 0:o.origin}).initialize({latestBlockInfo:d})});var vs=l=>I(void 0,[l],function*({loginToken:e,extraInfoData:t,address:r,signature:o,loginService:i}){let p=yield Is({loginToken:e,extraInfoData:t}),d=t.multisig||t.impersonate||r,m=p!=null?d:r;return p!=null&&i.setLoginToken(p),o&&i.setTokenLoginInfo({signature:o,address:r}),yield ji(m)});xr();dr();Fe();n();n();var tp=require("@multiversx/sdk-extension-provider"),rp=require("@multiversx/sdk-hw-provider"),np=require("@multiversx/sdk-metamask-provider/out/metamaskProvider"),op=require("@multiversx/sdk-opera-provider"),ip=require("@multiversx/sdk-passkey-provider/out"),sp=require("@multiversx/sdk-web-wallet-provider");b();Fe();n();var jt=require("@multiversx/sdk-web-wallet-iframe-provider/out"),Ql=require("@multiversx/sdk-web-wallet-iframe-provider/out/constants");q();n();n();var j=e=>`Unable to perform ${e}, Provider not initialized`,zt=class{init(){return Promise.resolve(!1)}getAccount(){throw new Error(j("getAccount"))}setAccount(t){throw new Error(j(`setAccount: ${t}`))}login(t){throw new Error(j(`login with options: ${t}`))}logout(t){throw new Error(j(`logout with options: ${t}`))}getAddress(){throw new Error(j("getAddress"))}isInitialized(){return!1}isConnected(){return!1}sendTransaction(t,r){throw new Error(j(`sendTransaction with transactions: ${t} options: ${r}`))}signTransaction(t,r){throw new Error(j(`signTransaction with transactions: ${t} options: ${r}`))}signTransactions(t,r){throw new Error(j(`signTransactions with transactions: ${t} options: ${r}`))}signMessage(t,r){throw new Error(j(`signTransactions with ${t} and options ${r}`))}sendCustomMessage({method:t,params:r}){throw new Error(j(`sendCustomMessage with method: ${t} params: ${r}`))}sendCustomRequest(t){throw new Error(j(`sendSessionEvent with options: ${t}`))}ping(){return Promise.resolve(!1)}},bs=new zt;var ap=bs;function ks(e){ap=e}V();n();var Es=require("react"),_e=require("react-redux");var cp={store:P,subscription:Mi},Qr=(0,Es.createContext)(cp),Sb=(0,_e.createStoreHook)(Qr),Kt=(0,_e.createDispatchHook)(Qr),F=(0,_e.createSelectorHook)(Qr);oe();oe();q();n();function Ls(e){let t=P.getState(),r=ci(t);return e?r&&!isNaN(r)?Math.max(r,e.nonce):e.nonce:r}n();function Ns(){return Vr(P.getState())}Nr();de();n();n();Fe();W();var Cs=e=>(Object.values(Ne).forEach(t=>{if(t!==(e==null?void 0:e.skipLoginMethod))switch(t){case"crossWindow":{let r=pe.CrossWindowProvider.getInstance();r.isInitialized()&&r.dispose();break}case"iframe":{let r=jt.IframeProvider.getInstance();r.isInitialized()&&r.dispose();break}default:break}}),null);n();var Ds=require("react"),Yt=require("@multiversx/sdk-core");n();n();var en=()=>F(He);n();n();n();n();n();n();n();n();n();var Qe=w(require("react"));var Jb=(0,Qe.createContext)({}),Qb=P.getState();n();var Ps=w(require("react"));n();var tn=w(require("react")),lp=w(require("axios"));n();n();oe();n();var pp=(e,t)=>{var r;return t?t===!0?e:(r=t.apiAddress)!=null?r:e:null},_s=e=>{let t=F(se),r=F(li),o=(0,Ds.useRef)(r==null?void 0:r.loginToken),i=pp(t.apiAddress,e),l=Ze(g(g({},e===!0?{}:e),i?{apiAddress:i}:{})),p=Boolean(e),d=Je(l),{address:m}=en(),T=Kt(),S=v=>{o.current=v,T(mt(g(A(g({},r),{loginToken:v}),i?{nativeAuthConfig:l}:{})))},h=()=>{try{return d.initialize()}catch(v){console.error("Unable to get block. Login failed.",v);return}},x=({address:v,signature:N})=>{let H=o.current;if(!H)throw"Token not found. Call `setLoginToken` first.";if(!p){T(mt({loginToken:H,signature:N}));return}let B=d.getToken({address:v,token:H,signature:N});return T(mt(g({loginToken:H,signature:N,nativeAuthToken:B},i?{nativeAuthConfig:l}:{}))),B};return{configuration:l,setLoginToken:S,getNativeAuthLoginToken:h,setTokenLoginInfo:x,refreshNativeAuthTokenLogin:H=>I(void 0,[H],function*({signMessageCallback:v,nativeAuthClientConfig:N}){let ee=yield Je(N||l).initialize({noCache:Boolean(N)});if(o.current=ee,!ee)return;let le=new Yt.Message({address:new Yt.Address(m),data:s.Buffer.from(`${m}${ee}`)}),C=yield v(le,{});if(!(C!=null&&C.signature))throw"Message not signed";return x({address:m,signature:s.Buffer.from(C.signature).toString("hex")})})}};var up=({callbackRoute:e,token:t,nativeAuth:r,onLoginRedirect:o,hasConsentPopup:i,walletAddress:l})=>{let[p,d]=(0,rn.useState)(""),[m,T]=(0,rn.useState)(!1),S=r!=null,h=_s(r),x=t,k=F(se),v=Kt(),N=Ns();function H(){return I(this,null,function*(){if(N)throw new Error(_n);Cs({skipLoginMethod:"crossWindow"}),v(Er(he.address)),v(Ue(he)),T(!0);let ee=yield pe.CrossWindowProvider.getInstance().init();l&&v(Wo(l));let le=pe.CrossWindowProvider.getInstance().setWalletUrl(l!=null?l:k.walletAddress);try{if(!ee){console.warn("Something went wrong trying to redirect to wallet login..");return}let{origin:C,pathname:nn}=J(),Os=encodeURIComponent(`${C}${e!=null?e:nn}`);if(S&&!x&&(x=yield h.getNativeAuthLoginToken(),!x)){console.warn("Fetching block failed. Login cancelled.");return}x&&h.setLoginToken(x);let Ms=g({callbackUrl:Os},x&&{token:x});(ro&&S||i)&&le.setShouldShowConsentPopup(!0);let{signature:on,address:sn,multisig:Fs,impersonate:Bs}=yield le.login(Ms);if(!sn){T(!1),pe.CrossWindowProvider.getInstance().onDestroy(),console.warn("Login cancelled.");return}ks(le);let Ie=yield vs({loginToken:x,extraInfoData:{multisig:Fs,impersonate:Bs},address:sn,signature:on,loginService:h});if(!Ie)return;v(De({address:Ie.address,loginMethod:"crossWindow"})),v(Er(Ie.address)),v(Ue(A(g({},Ie),{nonce:Ls(Ie)}))),Ro({callbackRoute:e,onLoginRedirect:o,options:{signature:on,address:Ie.address}})}catch(C){console.error("error loging in",C),d("error logging in"+C.message)}finally{T(!1)}})}let B=Boolean(p);return[H,{loginFailed:B,error:p,isLoading:m&&!B,isLoggedIn:N&&!B}]};0&&(module.exports={useCrossWindowLogin});
|
|
2
2
|
/*!
|
|
3
3
|
* The buffer module from node.js, for the browser.
|
|
4
4
|
*
|