@multiversx/sdk-dapp 2.40.5 → 2.40.7
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/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/NotificationModal/NotificationModal.js +1 -1
- package/UI/NotificationModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignTransactionsModals.js +1 -1
- package/UI/SignTransactionsModals/SignWithCrossWindowWalletModal/SignWithCrossWindowWalletModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithCrossWindowWalletModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/SignWithDeviceModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/SignStepBody.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/ConfirmAmount.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountData/ConfirmAmountData.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountData/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountNftSft/ConfirmAmountNftSft.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountNftSft/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/ConfirmFee.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/ConfirmReceiver.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/index.js +1 -1
- package/UI/SignTransactionsModals/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/SignWithPasskeyModal/SignWithPasskeyModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithPasskeyModal/index.js +1 -1
- package/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
- package/UI/SignTransactionsModals/components/DeviceConfirmationScreen.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/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/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/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/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/LockedTokenAddressIcon.js +1 -1
- package/UI/TransactionsTable/components/ScAddressIcon.js +1 -1
- package/UI/TransactionsTable/components/TransactionHash.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/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/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/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/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/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/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/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-GTTQMZBT.js → chunk-256ELXUN.js} +2 -2
- package/__chunks__/{chunk-JCNAOAHB.js → chunk-2I2CD3JW.js} +2 -2
- package/__chunks__/chunk-2O3XAXVP.js +2 -0
- package/__chunks__/chunk-2P4QW6L2.js +2 -0
- package/__chunks__/{chunk-D6AWNAHC.js → chunk-2RBMIVLO.js} +2 -2
- package/__chunks__/{chunk-ORD45C6B.js → chunk-2SUDHD3F.js} +2 -2
- package/__chunks__/{chunk-42XO3XDT.js → chunk-2ULLNCOZ.js} +2 -2
- package/__chunks__/{chunk-W3CUABJ2.js → chunk-2YGGTKCM.js} +2 -2
- package/__chunks__/{chunk-H7A3B56E.js → chunk-33C5OTPC.js} +2 -2
- package/__chunks__/{chunk-PMIUKWDC.js → chunk-3CI3JNO2.js} +2 -2
- package/__chunks__/{chunk-6BE7QH2R.js → chunk-3IUCDOHS.js} +2 -2
- package/__chunks__/{chunk-WJBFGFNP.js → chunk-3KBUXJNU.js} +2 -2
- package/__chunks__/{chunk-7H6ICC2C.js → chunk-3QMF6PSW.js} +2 -2
- package/__chunks__/{chunk-TAXES22D.js → chunk-3SLF3S4V.js} +2 -2
- package/__chunks__/{chunk-H2JJPQCB.js → chunk-3SV3CIMC.js} +2 -2
- package/__chunks__/{chunk-ZI7DR2J3.js → chunk-3W6UEGJU.js} +2 -2
- package/__chunks__/{chunk-GHJFKD4B.js → chunk-4EUNTSNN.js} +2 -2
- package/__chunks__/{chunk-GMGOHWFR.js → chunk-4FZRLMXO.js} +2 -2
- package/__chunks__/{chunk-EDCV2TZQ.js → chunk-4K3BTVR7.js} +2 -2
- package/__chunks__/{chunk-ONKEXPNQ.js → chunk-4MVNCUTP.js} +2 -2
- package/__chunks__/{chunk-H3FGN72B.js → chunk-4OYQINH3.js} +2 -2
- package/__chunks__/{chunk-TPTVNJLE.js → chunk-4PPUW3MU.js} +2 -2
- package/__chunks__/{chunk-KDPBQM7D.js → chunk-4SECHEFP.js} +2 -2
- package/__chunks__/{chunk-CKA5JFH5.js → chunk-4WBOQ2JX.js} +2 -2
- package/__chunks__/{chunk-JJFHJEWJ.js → chunk-5BARWVI6.js} +2 -2
- package/__chunks__/{chunk-R65FEYIW.js → chunk-5BLO5LC4.js} +2 -2
- package/__chunks__/{chunk-DRUENIF6.js → chunk-5DNMHYUQ.js} +2 -2
- package/__chunks__/{chunk-Z7OIXQYX.js → chunk-5I4EOIWP.js} +2 -2
- package/__chunks__/{chunk-OW5RAG33.js → chunk-5LLZAO75.js} +2 -2
- package/__chunks__/{chunk-I335IWQB.js → chunk-5P2LHLTD.js} +2 -2
- package/__chunks__/{chunk-EQUQ7BRA.js → chunk-5UF3KVGT.js} +2 -2
- package/__chunks__/{chunk-OHGSFOQA.js → chunk-647EPCPB.js} +2 -2
- package/__chunks__/chunk-64Y5SFL2.js +2 -0
- package/__chunks__/{chunk-UDOUGPVZ.js → chunk-6AQMPEBH.js} +2 -2
- package/__chunks__/{chunk-KBNEFBJT.js → chunk-6DKTUH4L.js} +2 -2
- package/__chunks__/chunk-6NNKJDPQ.js +2 -0
- package/__chunks__/chunk-6Q6SKGP3.js +2 -0
- package/__chunks__/{chunk-FHGKTS7E.js → chunk-73TAL55E.js} +2 -2
- package/__chunks__/{chunk-X6EAVIFT.js → chunk-7AAFEBYY.js} +2 -2
- package/__chunks__/{chunk-H46BD7WR.js → chunk-7BQ6JQGO.js} +2 -2
- package/__chunks__/{chunk-AQOBNZAQ.js → chunk-7EXVTLNQ.js} +2 -2
- package/__chunks__/{chunk-47CMJ2FZ.js → chunk-7EZMJ5IL.js} +2 -2
- package/__chunks__/{chunk-XL76YPAY.js → chunk-7F35K7XA.js} +2 -2
- package/__chunks__/chunk-7FYDX26G.js +2 -0
- package/__chunks__/chunk-7OWGSABI.js +2 -0
- package/__chunks__/{chunk-UHD67VUL.js → chunk-7SDB5EVR.js} +2 -2
- package/__chunks__/{chunk-2732T4DP.js → chunk-A6BXACIU.js} +2 -2
- package/__chunks__/{chunk-4BRT3VKO.js → chunk-AB6NSEZO.js} +2 -2
- package/__chunks__/{chunk-PJO4K5FT.js → chunk-ACGSNTB5.js} +2 -2
- package/__chunks__/chunk-AGCR3BWU.js +2 -0
- package/__chunks__/{chunk-UBRZRH5O.js → chunk-AIQD2X3F.js} +2 -2
- package/__chunks__/chunk-APNJKWK3.js +2 -0
- package/__chunks__/{chunk-CSLJELG7.js → chunk-AWBKIM76.js} +2 -2
- package/__chunks__/{chunk-LPK2XK3Z.js → chunk-B2EHHHHT.js} +2 -2
- package/__chunks__/{chunk-XCL2DJCN.js → chunk-B4MDUUC4.js} +2 -2
- package/__chunks__/{chunk-RQAMPTFS.js → chunk-B7UOTI2W.js} +2 -2
- package/__chunks__/{chunk-RWYXEBL2.js → chunk-BIJJEFX4.js} +2 -2
- package/__chunks__/{chunk-WCZX3I5K.js → chunk-BLKMOBM3.js} +2 -2
- package/__chunks__/{chunk-ACSMK7V6.js → chunk-BVBFUEXJ.js} +2 -2
- package/__chunks__/{chunk-6YGA42WQ.js → chunk-BWOFE7ED.js} +2 -2
- package/__chunks__/{chunk-REDUKIAW.js → chunk-BYU6XDUR.js} +2 -2
- package/__chunks__/{chunk-4VU2EPIT.js → chunk-C6L3K6EE.js} +2 -2
- package/__chunks__/{chunk-WFENM6WT.js → chunk-C7PAJLAT.js} +2 -2
- package/__chunks__/{chunk-5RR2E2Q4.js → chunk-CKL6I5PT.js} +2 -2
- package/__chunks__/{chunk-WPADQQNW.js → chunk-CL4H4IVM.js} +2 -2
- package/__chunks__/{chunk-4NXJHGDL.js → chunk-CSXA4TQQ.js} +2 -2
- package/__chunks__/{chunk-2MHBQF2A.js → chunk-CTMSGWKY.js} +2 -2
- package/__chunks__/{chunk-BG4AMJGX.js → chunk-CWSFAAKZ.js} +2 -2
- package/__chunks__/chunk-CZN2PADO.js +2 -0
- package/__chunks__/{chunk-MKGT6MMC.js → chunk-DCTZVFXY.js} +2 -2
- package/__chunks__/{chunk-ACW7VGCL.js → chunk-DGYISS44.js} +2 -2
- package/__chunks__/{chunk-PRAJF6BO.js → chunk-DLU7MRBR.js} +2 -2
- package/__chunks__/{chunk-MW7OPBWJ.js → chunk-E2N4A72V.js} +2 -2
- package/__chunks__/{chunk-VFAGY6CY.js → chunk-E3OXSBXP.js} +2 -2
- package/__chunks__/{chunk-WECAQCJD.js → chunk-EF6O73FT.js} +2 -2
- package/__chunks__/{chunk-OGU4J5WX.js → chunk-EOHDGODE.js} +2 -2
- package/__chunks__/{chunk-CLU7FG6U.js → chunk-EXGP7MBK.js} +2 -2
- package/__chunks__/{chunk-J24B4EEC.js → chunk-EYXOIZHH.js} +2 -2
- package/__chunks__/{chunk-Y4W5CUVC.js → chunk-F4MIIKBO.js} +2 -2
- package/__chunks__/{chunk-Z4FB6ODT.js → chunk-FFELGPPN.js} +2 -2
- package/__chunks__/{chunk-74WZECDO.js → chunk-FHSUBK37.js} +2 -2
- package/__chunks__/chunk-FKO7ZBQK.js +2 -0
- package/__chunks__/{chunk-6WVSBV6U.js → chunk-FOTWB46L.js} +2 -2
- package/__chunks__/{chunk-NW4OM7A4.js → chunk-FPCNDKKN.js} +2 -2
- package/__chunks__/{chunk-AUA3WRKV.js → chunk-FT7ZBDDX.js} +2 -2
- package/__chunks__/{chunk-QSQB3KPF.js → chunk-FWBFJPYW.js} +2 -2
- package/__chunks__/{chunk-3ZB5INPG.js → chunk-G4P4EJFU.js} +2 -2
- package/__chunks__/{chunk-ESO4IBXM.js → chunk-G5EIEPV2.js} +2 -2
- package/__chunks__/chunk-GIWNPTO6.js +2 -0
- package/__chunks__/{chunk-XR6WKP5A.js → chunk-GLOK5WOD.js} +2 -2
- package/__chunks__/{chunk-QYUJ2XSZ.js → chunk-GQGPKKCC.js} +2 -2
- package/__chunks__/{chunk-XUWF3Y7T.js → chunk-GTMNF6CO.js} +2 -2
- package/__chunks__/{chunk-CFX3WU4C.js → chunk-GVJDKDHX.js} +2 -2
- package/__chunks__/{chunk-67O3JK6B.js → chunk-GXVRKXVI.js} +2 -2
- package/__chunks__/{chunk-TZU2AHJQ.js → chunk-HCQ7FAID.js} +2 -2
- package/__chunks__/{chunk-L6SNPAEU.js → chunk-HPKAJG6T.js} +2 -2
- package/__chunks__/{chunk-QGA6ODTA.js → chunk-HQVZMIEO.js} +2 -2
- package/__chunks__/{chunk-DHDUT3G3.js → chunk-HWG4JVJI.js} +2 -2
- package/__chunks__/{chunk-QIYMIFHX.js → chunk-HX3R3AAV.js} +2 -2
- package/__chunks__/{chunk-7L57DIXF.js → chunk-I3C542XR.js} +2 -2
- package/__chunks__/{chunk-YWPKM4DH.js → chunk-IDL7ZJZU.js} +2 -2
- package/__chunks__/{chunk-KGIQNRTR.js → chunk-IDRELJ3S.js} +2 -2
- package/__chunks__/{chunk-Q3K6CQUI.js → chunk-IOY2Q7PE.js} +2 -2
- package/__chunks__/{chunk-U7ZNOVTM.js → chunk-IQYXZFFP.js} +2 -2
- package/__chunks__/{chunk-MGUF7U3E.js → chunk-IXJMOCYK.js} +2 -2
- package/__chunks__/{chunk-FS3TVPEX.js → chunk-J53IRRIS.js} +2 -2
- package/__chunks__/{chunk-KWNNXZRA.js → chunk-JAGDPU4B.js} +2 -2
- package/__chunks__/{chunk-T4J5TTGX.js → chunk-JAZLAI24.js} +2 -2
- package/__chunks__/{chunk-7WIEB6PO.js → chunk-JBVJWBTS.js} +2 -2
- package/__chunks__/{chunk-EHNHHJRF.js → chunk-JCBDAJYT.js} +2 -2
- package/__chunks__/{chunk-QAIBUAMW.js → chunk-JQOEARYD.js} +2 -2
- package/__chunks__/{chunk-ITVS5RYQ.js → chunk-JSJMO42V.js} +2 -2
- package/__chunks__/{chunk-HHXJC4G2.js → chunk-JSZ53WUI.js} +2 -2
- package/__chunks__/{chunk-JJXFIDJV.js → chunk-JWDEMVRQ.js} +2 -2
- package/__chunks__/{chunk-WA5BOWGU.js → chunk-JXF2JB3C.js} +2 -2
- package/__chunks__/{chunk-4STW42B2.js → chunk-KC5YD7BH.js} +2 -2
- package/__chunks__/{chunk-TRZ3QVRF.js → chunk-KF6JN34Y.js} +2 -2
- package/__chunks__/{chunk-BXAOBLS6.js → chunk-KIH63IPZ.js} +2 -2
- package/__chunks__/{chunk-TIF3XCLE.js → chunk-KIQNKTYD.js} +2 -2
- package/__chunks__/chunk-KS4SI3EJ.js +2 -0
- package/__chunks__/{chunk-2B2F5FAB.js → chunk-KUNVZQD4.js} +2 -2
- package/__chunks__/{chunk-IV2G2DQ7.js → chunk-KWY63ZV6.js} +2 -2
- package/__chunks__/chunk-KXQRDG5F.js +2 -0
- package/__chunks__/{chunk-MGXEC7PT.js → chunk-L3H7CU2R.js} +2 -2
- package/__chunks__/{chunk-UQDJEUTM.js → chunk-LCPV5GQG.js} +2 -2
- package/__chunks__/{chunk-NNLLAEDW.js → chunk-LFN65XGW.js} +2 -2
- package/__chunks__/{chunk-P7KS6ZGK.js → chunk-LGCFDGVP.js} +2 -2
- package/__chunks__/{chunk-C2DIQAR5.js → chunk-LLV2VJ5L.js} +2 -2
- package/__chunks__/{chunk-PYOAZZLY.js → chunk-LR6MY64W.js} +2 -2
- package/__chunks__/{chunk-UYCTCFY6.js → chunk-LSO7R2OQ.js} +2 -2
- package/__chunks__/{chunk-CKXOZQKO.js → chunk-M3H563MI.js} +2 -2
- package/__chunks__/{chunk-AFWXURLX.js → chunk-MEJLQRVP.js} +2 -2
- package/__chunks__/{chunk-3CXZOGXV.js → chunk-MHLVWX64.js} +2 -2
- package/__chunks__/{chunk-7LOO3ROQ.js → chunk-MTP44NBW.js} +2 -2
- package/__chunks__/{chunk-YUTL3ZNS.js → chunk-NERNXPH2.js} +2 -2
- package/__chunks__/{chunk-ISHTCWDR.js → chunk-NFZ7JO2Z.js} +2 -2
- package/__chunks__/{chunk-OAMC6DAX.js → chunk-NH6FT3IZ.js} +2 -2
- package/__chunks__/{chunk-O2JJ7TX2.js → chunk-NNOOMFID.js} +2 -2
- package/__chunks__/{chunk-DNHNKFHJ.js → chunk-NUUCOV6X.js} +2 -2
- package/__chunks__/{chunk-JLBHATQM.js → chunk-NW5ZGNQV.js} +2 -2
- package/__chunks__/{chunk-V3VNZ3LF.js → chunk-NZQKUKIU.js} +2 -2
- package/__chunks__/{chunk-JIE5CDBM.js → chunk-NZVWRMBH.js} +2 -2
- package/__chunks__/{chunk-7JQ3JF2S.js → chunk-O27E4JG4.js} +2 -2
- package/__chunks__/{chunk-BIMZTWXB.js → chunk-O2EPXHIC.js} +2 -2
- package/__chunks__/{chunk-JLIP76TX.js → chunk-O3X2Z3NX.js} +2 -2
- package/__chunks__/{chunk-CYUQTFV4.js → chunk-O57K5BPD.js} +2 -2
- package/__chunks__/{chunk-WPS5WCAD.js → chunk-OA5NXEM5.js} +2 -2
- package/__chunks__/{chunk-K2GJDKLB.js → chunk-OCSDRIZL.js} +2 -2
- package/__chunks__/{chunk-VSDJBGTI.js → chunk-OFZL7QGE.js} +2 -2
- package/__chunks__/{chunk-EGXFICI6.js → chunk-OHAZISBB.js} +2 -2
- package/__chunks__/{chunk-ULY6I5G4.js → chunk-OHLUDCZP.js} +2 -2
- package/__chunks__/{chunk-E5WZG22Q.js → chunk-OJJW7N3Y.js} +2 -2
- package/__chunks__/{chunk-LHOGTSVM.js → chunk-OK5VPSYN.js} +2 -2
- package/__chunks__/{chunk-7WIVWVYG.js → chunk-OM4HIUZV.js} +2 -2
- package/__chunks__/{chunk-JTA3GVIR.js → chunk-OPYMG7J6.js} +2 -2
- package/__chunks__/{chunk-TT6I2JPD.js → chunk-OXT27KBX.js} +2 -2
- package/__chunks__/{chunk-XV5T3OGI.js → chunk-P2I2W66R.js} +2 -2
- package/__chunks__/{chunk-YY7YJV3Z.js → chunk-P2TS43BL.js} +2 -2
- package/__chunks__/{chunk-2MTCVCJY.js → chunk-P3WILR7P.js} +2 -2
- package/__chunks__/{chunk-Y4NWJTDF.js → chunk-P7OHWGVE.js} +2 -2
- package/__chunks__/{chunk-2BLD2S6Y.js → chunk-PCBKXJAS.js} +2 -2
- package/__chunks__/{chunk-LBMDUUX2.js → chunk-PEE6QS7F.js} +2 -2
- package/__chunks__/{chunk-VBHFVCAT.js → chunk-PEHJVSQJ.js} +2 -2
- package/__chunks__/{chunk-EFYPXCHD.js → chunk-PJAESNTN.js} +2 -2
- package/__chunks__/chunk-PVDQFAJH.js +2 -0
- package/__chunks__/{chunk-4I2R2YBI.js → chunk-PZIEUX5I.js} +2 -2
- package/__chunks__/{chunk-5JAHGJZ3.js → chunk-Q4CSBUGG.js} +2 -2
- package/__chunks__/{chunk-2QJMUXY5.js → chunk-Q4MYQMLU.js} +2 -2
- package/__chunks__/{chunk-BN5LCWRP.js → chunk-Q5GRUOBA.js} +2 -2
- package/__chunks__/{chunk-AZ7PQ7BZ.js → chunk-Q6RIPAYC.js} +2 -2
- package/__chunks__/{chunk-ZZGKPNPK.js → chunk-QBKC3L3M.js} +2 -2
- package/__chunks__/{chunk-B5FEJ4M2.js → chunk-QIG55ESS.js} +2 -2
- package/__chunks__/{chunk-2QH46LHC.js → chunk-QJKWCOAE.js} +2 -2
- package/__chunks__/{chunk-GWWXW44U.js → chunk-QLTKW7UX.js} +2 -2
- package/__chunks__/{chunk-QBXIIWYO.js → chunk-RFBKEGBF.js} +2 -2
- package/__chunks__/{chunk-37HZU2NS.js → chunk-RI25J73C.js} +2 -2
- package/__chunks__/{chunk-HTIHDRK6.js → chunk-S2PFP7G2.js} +2 -2
- package/__chunks__/{chunk-OOXMCSWF.js → chunk-S5NJJAPQ.js} +2 -2
- package/__chunks__/{chunk-YO5YBMN5.js → chunk-S77UNI5R.js} +2 -2
- package/__chunks__/{chunk-Q4ULGJFI.js → chunk-SAVFWFK5.js} +2 -2
- package/__chunks__/{chunk-XKSXFTS2.js → chunk-SBQ57SK6.js} +2 -2
- package/__chunks__/{chunk-LW7ND3VE.js → chunk-SIC3HEYU.js} +2 -2
- package/__chunks__/{chunk-LICFOMVB.js → chunk-SK7YYO4P.js} +2 -2
- package/__chunks__/{chunk-VL7NMTCR.js → chunk-SWCKOXSX.js} +2 -2
- package/__chunks__/{chunk-GVJVBY3M.js → chunk-SY3UOM25.js} +2 -2
- package/__chunks__/{chunk-U6A2XQPV.js → chunk-SZCMNOHY.js} +2 -2
- package/__chunks__/{chunk-UOQBG7X3.js → chunk-TBIV2K6X.js} +2 -2
- package/__chunks__/{chunk-6OWJWBI5.js → chunk-TCHHIVWG.js} +2 -2
- package/__chunks__/{chunk-A4G62MA5.js → chunk-TEEBL6AK.js} +2 -2
- package/__chunks__/{chunk-Y7WN66J2.js → chunk-TH7LB4LY.js} +2 -2
- package/__chunks__/{chunk-NK7ZL2DT.js → chunk-THR6RXYS.js} +2 -2
- package/__chunks__/{chunk-VXRXUNEN.js → chunk-TL4XBKDU.js} +2 -2
- package/__chunks__/{chunk-CFF5LJLP.js → chunk-TMGLGASZ.js} +2 -2
- package/__chunks__/{chunk-T5WSVPXH.js → chunk-TNTBYP6K.js} +2 -2
- package/__chunks__/{chunk-JVP5G4OH.js → chunk-TRZUUKRO.js} +2 -2
- package/__chunks__/{chunk-3XKG2IZ7.js → chunk-TVESPVBL.js} +2 -2
- package/__chunks__/{chunk-GZU4XOBN.js → chunk-TZ7D3ABD.js} +2 -2
- package/__chunks__/{chunk-Y4JO6CBF.js → chunk-U3QQELXI.js} +2 -2
- package/__chunks__/{chunk-4XGVEFWE.js → chunk-U5QW2K3I.js} +2 -2
- package/__chunks__/{chunk-GCE7L2D3.js → chunk-U5UIO4UF.js} +2 -2
- package/__chunks__/{chunk-I7VLLM33.js → chunk-UICSKYIJ.js} +2 -2
- package/__chunks__/{chunk-YHTSP4GJ.js → chunk-ULECHZKW.js} +2 -2
- package/__chunks__/{chunk-B2JEMS3V.js → chunk-URAYO74E.js} +2 -2
- package/__chunks__/{chunk-7RCWI5DV.js → chunk-US4GXOAG.js} +2 -2
- package/__chunks__/{chunk-OEFBVOVP.js → chunk-UWKLKRGH.js} +2 -2
- package/__chunks__/{chunk-QJCZJ43W.js → chunk-V25ZKV7N.js} +2 -2
- package/__chunks__/{chunk-5V2VVYR4.js → chunk-VNJCCAFW.js} +2 -2
- package/__chunks__/{chunk-FBKUW7RX.js → chunk-VRP4T4FV.js} +2 -2
- package/__chunks__/chunk-VSE72FLZ.js +2 -0
- package/__chunks__/{chunk-4QMZL3QQ.js → chunk-VVNYKZD5.js} +2 -2
- package/__chunks__/{chunk-EI42VQCK.js → chunk-VZ72WJ2X.js} +2 -2
- package/__chunks__/{chunk-UYBXREWT.js → chunk-W6KBLENQ.js} +2 -2
- package/__chunks__/{chunk-MSXOQLN2.js → chunk-W7YIY5E7.js} +2 -2
- package/__chunks__/{chunk-LO3VURDM.js → chunk-WBKRKXLD.js} +2 -2
- package/__chunks__/{chunk-XEGV54WV.js → chunk-WCBZ6Z34.js} +2 -2
- package/__chunks__/{chunk-OPHZSLD4.js → chunk-WGEOYDAG.js} +2 -2
- package/__chunks__/{chunk-BWZPYI5B.js → chunk-WSRC4TQI.js} +2 -2
- package/__chunks__/{chunk-UH43PEYV.js → chunk-WTRR3D36.js} +2 -2
- package/__chunks__/{chunk-HXJ4HFX7.js → chunk-WW2ZOHAS.js} +2 -2
- package/__chunks__/chunk-WYDCYB2E.js +2 -0
- package/__chunks__/chunk-X3FCPAMI.js +2 -0
- package/__chunks__/chunk-X7WDIBT5.js +2 -0
- package/__chunks__/{chunk-JWOJVPSQ.js → chunk-XCGDGLK3.js} +2 -2
- package/__chunks__/{chunk-YHGHGEDP.js → chunk-XGACROB3.js} +2 -2
- package/__chunks__/{chunk-AGHBEBGH.js → chunk-XLJJNITC.js} +2 -2
- package/__chunks__/{chunk-CKTVDXZB.js → chunk-XPDTLVYA.js} +2 -2
- package/__chunks__/{chunk-IAAPCWKC.js → chunk-XQP76V2M.js} +2 -2
- package/__chunks__/{chunk-EQJ5TR37.js → chunk-XVF4IG3A.js} +2 -2
- package/__chunks__/{chunk-HLBUCVWT.js → chunk-XWPLCBYN.js} +2 -2
- package/__chunks__/{chunk-QHOAQEWT.js → chunk-XYT2TK3Q.js} +2 -2
- package/__chunks__/{chunk-NLHXFLTD.js → chunk-Y6KSTO3A.js} +2 -2
- package/__chunks__/{chunk-6ERULYYM.js → chunk-Y7ZCJ622.js} +2 -2
- package/__chunks__/{chunk-LV3SR5AZ.js → chunk-YCSJTLCS.js} +2 -2
- package/__chunks__/{chunk-AOWSKJU4.js → chunk-YG7VDKRN.js} +2 -2
- package/__chunks__/{chunk-VZP77QAT.js → chunk-YMS7SA5X.js} +2 -2
- package/__chunks__/{chunk-ALACRIIG.js → chunk-YTPED4VI.js} +2 -2
- package/__chunks__/{chunk-WZGTPUPX.js → chunk-YY2JXRIX.js} +2 -2
- package/__chunks__/{chunk-QZDIC3DK.js → chunk-Z2TN7537.js} +2 -2
- package/__chunks__/{chunk-SZZD7FYR.js → chunk-Z42BLK44.js} +2 -2
- package/__chunks__/chunk-Z5BQ5KOQ.js +2 -0
- package/__chunks__/{chunk-5CAUCI7D.js → chunk-ZBA5RQC3.js} +2 -2
- package/__chunks__/{chunk-LDY2FDOV.js → chunk-ZEM76I54.js} +2 -2
- package/__chunks__/{chunk-64PUFCWO.js → chunk-ZGZXVEDL.js} +2 -2
- package/__chunks__/{chunk-3MJ5MEYW.js → chunk-ZMMELDU7.js} +2 -2
- package/__chunks__/{chunk-7EY2LJ6M.js → chunk-ZO6MKGLO.js} +2 -2
- package/__commonjs/UI/SignTransactionsModals/SignTransactionsModals.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignWithDeviceModal.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/SignStepBody.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/ConfirmReceiver.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/index.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/index.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/index.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/index.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/SignWithExtraModal.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/SignWithLedgerModal.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/index.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithMetamaskModal/SignWithMetamaskModal.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithMetamaskModal/index.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/components/index.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/index.js +1 -1
- package/__commonjs/UI/TransactionDetails/components/TransactionDetailsBody.js +3 -3
- package/__commonjs/UI/TransactionDetails/components/index.js +3 -3
- package/__commonjs/UI/TransactionInfo/TransactionInfo.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/AddressDetailItem/AddressDetailitem.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/AddressDetailItem/index.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/DataDecode/DataDecode.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/DataDecode/index.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/DataField/DataField.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/DataField/index.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/EventsList/EventsList.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/EventsList/index.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/OperationsList/OperationList.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/OperationsList/components/DetailedItem.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/OperationsList/components/OperationBlock.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/OperationsList/components/OperationRow.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/OperationsList/components/OperationText.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/OperationsList/components/index.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/OperationsList/index.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/ScResultsList/ScResultsList.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultData/ResultData.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultData/index.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/ResultReceiver.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/index.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultSender/ResultSender.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultSender/index.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/ScResultsList/index.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/TransactionAction/TransactionAction.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/ActionText/index.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/index.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/TransactionAction/index.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/TransactionLogs/TransactionLogs.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/TransactionLogs/index.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/index.js +41 -41
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/TransactionInfoFrom.js +15 -15
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/index.js +15 -15
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/TransactionInfoInputData.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/index.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/TransactionInfoMethod.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/index.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/TransactionInfoScResults.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/index.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/TransactionInfoTo.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/index.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/TransactionInfoTokenOperations.js +8 -8
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/index.js +8 -8
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/index.js +1 -1
- package/__commonjs/UI/TransactionInfo/index.js +1 -1
- package/__commonjs/UI/TransactionsTable/TransactionsTable.js +1 -1
- package/__commonjs/UI/TransactionsTable/components/LockedTokenAddressIcon.js +1 -1
- package/__commonjs/UI/TransactionsTable/components/ScAddressIcon.js +1 -1
- package/__commonjs/UI/TransactionsTable/components/TransactionReceiver.js +1 -1
- package/__commonjs/UI/TransactionsTable/components/TransactionRow.js +1 -1
- package/__commonjs/UI/TransactionsTable/components/TransactionSender.js +1 -1
- package/__commonjs/UI/TransactionsTable/components/index.js +1 -1
- package/__commonjs/UI/TransactionsTable/index.js +1 -1
- package/__commonjs/UI/TransactionsToastList/TransactionsToastList.js +1 -1
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/CustomToast.js +1 -1
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/IconToast.js +1 -1
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/IconToastFooter.js +1 -1
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/TransactionToastFooter.js +1 -1
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/index.js +7 -7
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/index.js +1 -1
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/index.js +1 -1
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/index.js +1 -1
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/index.js +1 -1
- package/__commonjs/UI/TransactionsToastList/components/index.js +1 -1
- package/__commonjs/UI/TransactionsToastList/index.js +1 -1
- package/__commonjs/UI/index.js +1 -1
- package/__commonjs/UI/pages/UnlockPage/index.js +1 -1
- package/__commonjs/UI/pages/index.js +1 -1
- package/__commonjs/UI/walletConnect/WalletConnectLoginButton/WalletConnectLoginButton.js +1 -1
- package/__commonjs/UI/walletConnect/WalletConnectLoginButton/index.js +1 -1
- package/__commonjs/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContainer.js +1 -1
- package/__commonjs/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContent/WalletConnectLoginContent.js +1 -1
- package/__commonjs/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContent/index.js +1 -1
- package/__commonjs/UI/walletConnect/WalletConnectLoginContainer/index.js +1 -1
- package/__commonjs/UI/walletConnect/index.js +1 -1
- package/__commonjs/__mocks__/index.js +1 -1
- package/__commonjs/__mocks__/utils/index.js +1 -1
- package/__commonjs/__mocks__/utils/renderWithProvider.js +1 -1
- package/__commonjs/components/LogoutListener/LogoutListener.js +1 -1
- package/__commonjs/components/LogoutListener/helpers/index.js +1 -1
- package/__commonjs/components/LogoutListener/helpers/useLogoutFromMultipleTabs.js +1 -1
- package/__commonjs/components/LogoutListener/helpers/useNativeAuthLogout.js +1 -1
- package/__commonjs/components/LogoutListener/index.js +1 -1
- package/__commonjs/components/ProviderInitializer/ProviderInitializer.js +1 -1
- package/__commonjs/components/ProviderInitializer/hooks/index.js +1 -1
- package/__commonjs/components/ProviderInitializer/hooks/useSetLedgerProvider.js +1 -1
- package/__commonjs/components/ProviderInitializer/index.js +1 -1
- package/__commonjs/components/TransactionsTracker/TransactionTracker.js +1 -1
- package/__commonjs/components/TransactionsTracker/index.js +1 -1
- package/__commonjs/hooks/account/useGetBatchWebsocketEvent.js +1 -1
- package/__commonjs/hooks/account/useGetWebsocketEvent.js +1 -1
- package/__commonjs/hooks/index.js +1 -1
- package/__commonjs/hooks/login/index.js +1 -1
- package/__commonjs/hooks/login/useWalletConnectV2Login.js +1 -1
- package/__commonjs/hooks/signMessage/index.js +1 -1
- package/__commonjs/hooks/signMessage/useSignMessage.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/useUpdateBatch.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 +1 -1
- package/__commonjs/hooks/transactions/helpers/useGetLedgerProvider.js +1 -1
- package/__commonjs/hooks/transactions/index.js +1 -1
- 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/useGetLastPendingTransactionHash.js +1 -1
- package/__commonjs/hooks/transactions/useParseMultiEsdtTransferData.js +1 -1
- package/__commonjs/hooks/transactions/useSignMultipleTransactions.js +1 -1
- package/__commonjs/hooks/transactions/useSignTransactions.js +1 -1
- package/__commonjs/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
- package/__commonjs/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
- package/__commonjs/hooks/transactions/useTransactionsTracker.js +1 -1
- package/__commonjs/hooks/websocketListener/index.js +1 -1
- package/__commonjs/hooks/websocketListener/useRegisterWebsocketListener.js +1 -1
- package/__commonjs/utils/account/addressIsValid.js +1 -1
- package/__commonjs/utils/account/getAddress.js +1 -1
- package/__commonjs/utils/account/getSearchParamAddress.js +1 -1
- package/__commonjs/utils/account/index.js +1 -1
- package/__commonjs/utils/account/refreshAccount.js +1 -1
- package/__commonjs/utils/account/signMessage.js +1 -1
- package/__commonjs/utils/index.js +1 -1
- package/__commonjs/utils/logout.js +1 -1
- package/__commonjs/utils/smartContracts.js +1 -1
- package/__commonjs/utils/transactions/builtCallbackUrl.js +1 -1
- package/__commonjs/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.js +1 -1
- package/__commonjs/utils/transactions/getInterpretedTransaction/index.js +1 -1
- package/__commonjs/utils/transactions/getTokenFromData.js +1 -1
- package/__commonjs/utils/transactions/index.js +1 -1
- package/__commonjs/utils/transactions/parseMultiEsdtTransferDataForMultipleTransactions.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/decodeForDisplay.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/decodeByMethod.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getDisplayValueAndValidationWarnings.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getSmartDecodedParts.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/index.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/index.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/index.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/useDataDecode.js +2 -2
- package/__commonjs/web/hooks/index.js +1 -1
- package/__commonjs/web/hooks/useIdleTimer.js +1 -1
- package/__commonjs/web/index.js +1 -1
- package/__commonjs/wrappers/AppInitializer.js +1 -1
- package/__commonjs/wrappers/AuthenticatedRoutesWrapper/AuthenticatedRoutesWrapper.js +1 -1
- package/__commonjs/wrappers/AuthenticatedRoutesWrapper/index.js +1 -1
- package/__commonjs/wrappers/DappProvider/CustomComponents.js +1 -1
- package/__commonjs/wrappers/DappProvider/DappProvider.js +1 -1
- package/__commonjs/wrappers/DappProvider/index.js +1 -1
- package/__commonjs/wrappers/index.js +1 -1
- package/__mocks__/index.js +1 -1
- package/__mocks__/utils/index.js +1 -1
- package/__mocks__/utils/renderWithProvider.js +1 -1
- package/apiCalls/accounts/getAccountFromApi.js +1 -1
- package/apiCalls/accounts/index.js +1 -1
- package/apiCalls/accounts/useGetAccountFromApi.js +1 -1
- package/apiCalls/configuration/getNetworkConfig.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/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/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/invokeSendTransactions.js +1 -1
- package/components/TransactionsTracker/TransactionTracker.js +1 -1
- package/components/TransactionsTracker/index.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/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/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/useUpdateBatch.js +1 -1
- package/hooks/transactions/batch/tracker/useVerifyBatchStatus.js +1 -1
- package/hooks/transactions/batch/useGetBatchStatus.js +1 -1
- package/hooks/transactions/batch/useResolveBatchStatusResponse.js +1 -1
- package/hooks/transactions/batch/useSendBatchTransactions.js +1 -1
- package/hooks/transactions/helpers/checkNeedsGuardianSigning.js +1 -1
- package/hooks/transactions/helpers/getShouldMoveTransactionsToSignedState.js +1 -1
- package/hooks/transactions/helpers/index.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/useCheckTransactionStatus/checkBatch.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/index.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.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/package.json +2 -2
- package/providers/experimentalWebViewProvider/ExperimentalWebviewProvider.js +1 -1
- package/providers/experimentalWebViewProvider/index.js +1 -1
- package/reduxStore/selectors/index.js +1 -1
- package/reduxStore/selectors/transactionsSelectors.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/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/sendBatchTransactions.js +1 -1
- package/services/transactions/sendBatchTransactions.test.js +1 -1
- package/services/transactions/sendTransactions.js +1 -1
- package/services/transactions/transformAndSignTransactions.js +1 -1
- package/services/transactions/utils/transformTransactionsToSign.js +1 -1
- package/utils/account/addressIsValid.js +1 -1
- package/utils/account/getAccount.js +1 -1
- package/utils/account/getAccountBalance.js +1 -1
- package/utils/account/getAccountShard.js +1 -1
- package/utils/account/getAddress.js +1 -1
- package/utils/account/getLatestNonce.js +1 -1
- package/utils/account/getSearchParamAddress.js +1 -1
- package/utils/account/getWebviewToken.js +1 -1
- package/utils/account/index.js +1 -1
- package/utils/account/refreshAccount.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/smartContracts.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/index.js +1 -1
- package/utils/transactions/getOperationsDetails.js +1 -1
- package/utils/transactions/getTokenFromData.js +1 -1
- package/utils/transactions/getTransactionLink.js +1 -1
- package/utils/transactions/index.js +1 -1
- package/utils/transactions/parseMultiEsdtTransferDataForMultipleTransactions.js +1 -1
- package/utils/transactions/transactionInfoHelpers/decodeForDisplay/decodeForDisplay.js +1 -1
- package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/decodeByMethod.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/index.js +1 -1
- package/utils/transactions/transactionInfoHelpers/useDataDecode.js +1 -1
- package/utils/waitForChainID.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-3DRKBT5E.js +0 -2
- package/__chunks__/chunk-3YXLL6MW.js +0 -2
- package/__chunks__/chunk-5RZCYYFB.js +0 -2
- package/__chunks__/chunk-6OFEUWAW.js +0 -2
- package/__chunks__/chunk-6ORF3QPY.js +0 -2
- package/__chunks__/chunk-AYX7II5D.js +0 -2
- package/__chunks__/chunk-B2HUNSVF.js +0 -2
- package/__chunks__/chunk-FDI635JG.js +0 -2
- package/__chunks__/chunk-FIJSATLB.js +0 -2
- package/__chunks__/chunk-KGBCMOWB.js +0 -2
- package/__chunks__/chunk-M7XHLNDA.js +0 -2
- package/__chunks__/chunk-OFNDNL4K.js +0 -2
- package/__chunks__/chunk-OQPKYQ27.js +0 -2
- package/__chunks__/chunk-PUT4EQQN.js +0 -2
- package/__chunks__/chunk-V3DA6SW6.js +0 -2
- package/__chunks__/chunk-VBL2PL7V.js +0 -2
- package/__chunks__/chunk-WAYWMIAI.js +0 -2
- package/__chunks__/chunk-Y2CELDON.js +0 -2
- package/__chunks__/chunk-YLWL2XAU.js +0 -2
- package/__chunks__/chunk-Z5GTNNXT.js +0 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var ui=Object.create;var fe=Object.defineProperty,di=Object.defineProperties,mi=Object.getOwnPropertyDescriptor,gi=Object.getOwnPropertyDescriptors,fi=Object.getOwnPropertyNames,Ce=Object.getOwnPropertySymbols,Ti=Object.getPrototypeOf,St=Object.prototype.hasOwnProperty,hr=Object.prototype.propertyIsEnumerable;var yr=(e,t,r)=>t in e?fe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,T=(e,t)=>{for(var r in t||(t={}))St.call(t,r)&&yr(e,r,t[r]);if(Ce)for(var r of Ce(t))hr.call(t,r)&&yr(e,r,t[r]);return e},w=(e,t)=>di(e,gi(t));var xr=(e,t)=>{var r={};for(var o in e)St.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(e!=null&&Ce)for(var o of Ce(e))t.indexOf(o)<0&&hr.call(e,o)&&(r[o]=e[o]);return r};var f=(e,t)=>()=>(e&&(t=e(e=0)),t);var De=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),ee=(e,t)=>{for(var r in t)fe(e,r,{get:t[r],enumerable:!0})},Sr=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of fi(t))!St.call(e,i)&&i!==r&&fe(e,i,{get:()=>t[i],enumerable:!(o=mi(t,i))||o.enumerable});return e};var A=(e,t,r)=>(r=e!=null?ui(Ti(e)):{},Sr(t||!e||!e.__esModule?fe(r,"default",{value:e,enumerable:!0}):r,e)),Te=e=>Sr(fe({},"__esModule",{value:!0}),e);var vr=De(_e=>{"use strict";n();_e.byteLength=hi;_e.toByteArray=Si;_e.fromByteArray=vi;var M=[],P=[],yi=typeof Uint8Array!="undefined"?Uint8Array:Array,wt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(te=0,wr=wt.length;te<wr;++te)M[te]=wt[te],P[wt.charCodeAt(te)]=te;var te,wr;P["-".charCodeAt(0)]=62;P["_".charCodeAt(0)]=63;function Ar(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 hi(e){var t=Ar(e),r=t[0],o=t[1];return(r+o)*3/4-o}function xi(e,t,r){return(t+r)*3/4-r}function Si(e){var t,r=Ar(e),o=r[0],i=r[1],l=new yi(xi(e,o,i)),p=0,d=i>0?o-4:o,g;for(g=0;g<d;g+=4)t=P[e.charCodeAt(g)]<<18|P[e.charCodeAt(g+1)]<<12|P[e.charCodeAt(g+2)]<<6|P[e.charCodeAt(g+3)],l[p++]=t>>16&255,l[p++]=t>>8&255,l[p++]=t&255;return i===2&&(t=P[e.charCodeAt(g)]<<2|P[e.charCodeAt(g+1)]>>4,l[p++]=t&255),i===1&&(t=P[e.charCodeAt(g)]<<10|P[e.charCodeAt(g+1)]<<4|P[e.charCodeAt(g+2)]>>2,l[p++]=t>>8&255,l[p++]=t&255),l}function wi(e){return M[e>>18&63]+M[e>>12&63]+M[e>>6&63]+M[e&63]}function Ai(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(wi(o));return i.join("")}function vi(e){for(var t,r=e.length,o=r%3,i=[],l=16383,p=0,d=r-o;p<d;p+=l)i.push(Ai(e,p,p+l>d?d:p+l));return o===1?(t=e[r-1],i.push(M[t>>2]+M[t<<4&63]+"==")):o===2&&(t=(e[r-2]<<8)+e[r-1],i.push(M[t>>10]+M[t>>4&63]+M[t<<2&63]+"=")),i.join("")}});var br=De(At=>{n();At.read=function(e,t,r,o,i){var l,p,d=i*8-o-1,g=(1<<d)-1,y=g>>1,x=-7,h=r?i-1:0,E=r?-1:1,k=e[t+h];for(h+=E,l=k&(1<<-x)-1,k>>=-x,x+=d;x>0;l=l*256+e[t+h],h+=E,x-=8);for(p=l&(1<<-x)-1,l>>=-x,x+=o;x>0;p=p*256+e[t+h],h+=E,x-=8);if(l===0)l=1-y;else{if(l===g)return p?NaN:(k?-1:1)*(1/0);p=p+Math.pow(2,o),l=l-y}return(k?-1:1)*p*Math.pow(2,l-o)};At.write=function(e,t,r,o,i,l){var p,d,g,y=l*8-i-1,x=(1<<y)-1,h=x>>1,E=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,k=o?0:l-1,$=o?1:-1,Pe=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=x):(p=Math.floor(Math.log(t)/Math.LN2),t*(g=Math.pow(2,-p))<1&&(p--,g*=2),p+h>=1?t+=E/g:t+=E*Math.pow(2,1-h),t*g>=2&&(p++,g/=2),p+h>=x?(d=0,p=x):p+h>=1?(d=(t*g-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+=$,d/=256,i-=8);for(p=p<<i|d,y+=i;y>0;e[r+k]=p&255,k+=$,p/=256,y-=8);e[r+k-$]|=Pe*128}});var Fr=De(se=>{"use strict";n();var vt=vr(),ae=br(),Ir=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;se.Buffer=u;se.SlowBuffer=Ni;se.INSPECT_MAX_BYTES=50;var Oe=2147483647;se.kMaxLength=Oe;u.TYPED_ARRAY_SUPPORT=bi();!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 bi(){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 q(e){if(e>Oe)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,u.prototype),t}function u(e,t,r){if(typeof e=="number"){if(typeof t=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Et(e)}return Lr(e,t,r)}u.poolSize=8192;function Lr(e,t,r){if(typeof e=="string")return ki(e,t);if(ArrayBuffer.isView(e))return Ei(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(F(e,ArrayBuffer)||e&&F(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(F(e,SharedArrayBuffer)||e&&F(e.buffer,SharedArrayBuffer)))return It(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=Li(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 Lr(e,t,r)};Object.setPrototypeOf(u.prototype,Uint8Array.prototype);Object.setPrototypeOf(u,Uint8Array);function Nr(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 Ii(e,t,r){return Nr(e),e<=0?q(e):t!==void 0?typeof r=="string"?q(e).fill(t,r):q(e).fill(t):q(e)}u.alloc=function(e,t,r){return Ii(e,t,r)};function Et(e){return Nr(e),q(e<0?0:Lt(e)|0)}u.allocUnsafe=function(e){return Et(e)};u.allocUnsafeSlow=function(e){return Et(e)};function ki(e,t){if((typeof t!="string"||t==="")&&(t="utf8"),!u.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=Rr(e,t)|0,o=q(r),i=o.write(e,t);return i!==r&&(o=o.slice(0,i)),o}function bt(e){for(var t=e.length<0?0:Lt(e.length)|0,r=q(t),o=0;o<t;o+=1)r[o]=e[o]&255;return r}function Ei(e){if(F(e,Uint8Array)){var t=new Uint8Array(e);return It(t.buffer,t.byteOffset,t.byteLength)}return bt(e)}function It(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 Li(e){if(u.isBuffer(e)){var t=Lt(e.length)|0,r=q(t);return r.length===0||e.copy(r,0,0,t),r}if(e.length!==void 0)return typeof e.length!="number"||Nt(e.length)?q(0):bt(e);if(e.type==="Buffer"&&Array.isArray(e.data))return bt(e.data)}function Lt(e){if(e>=Oe)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Oe.toString(16)+" bytes");return e|0}function Ni(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(F(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),F(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(F(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 Rr(e,t){if(u.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||F(e,ArrayBuffer))return e.byteLength;if(typeof e!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,o=arguments.length>2&&arguments[2]===!0;if(!o&&r===0)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return kt(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Mr(e).length;default:if(i)return o?-1:kt(e).length;t=(""+t).toLowerCase(),i=!0}}u.byteLength=Rr;function Ri(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 Wi(this,t,r);case"utf8":case"utf-8":return Cr(this,t,r);case"ascii":return Bi(this,t,r);case"latin1":case"binary":return Ui(this,t,r);case"base64":return Mi(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Vi(this,t,r);default:if(o)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),o=!0}}u.prototype._isBuffer=!0;function re(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)re(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)re(this,r,r+3),re(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)re(this,r,r+7),re(this,r+1,r+6),re(this,r+2,r+5),re(this,r+3,r+4);return this};u.prototype.toString=function(){var t=this.length;return t===0?"":arguments.length===0?Cr(this,0,t):Ri.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=se.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"};Ir&&(u.prototype[Ir]=u.prototype.inspect);u.prototype.compare=function(t,r,o,i,l){if(F(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,g=Math.min(p,d),y=this.slice(i,l),x=t.slice(r,o),h=0;h<g;++h)if(y[h]!==x[h]){p=y[h],d=x[h];break}return p<d?-1:d<p?1:0};function Pr(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,Nt(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:kr(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):kr(e,[t],r,o,i);throw new TypeError("val must be string, number or Buffer")}function kr(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 g(k,$){return l===1?k[$]:k.readUInt16BE($*l)}var y;if(i){var x=-1;for(y=r;y<p;y++)if(g(e,y)===g(t,x===-1?0:y-x)){if(x===-1&&(x=y),y-x+1===d)return x*l}else x!==-1&&(y-=y-x),x=-1}else for(r+d>p&&(r=p-d),y=r;y>=0;y--){for(var h=!0,E=0;E<d;E++)if(g(e,y+E)!==g(t,E)){h=!1;break}if(h)return y}return-1}u.prototype.includes=function(t,r,o){return this.indexOf(t,r,o)!==-1};u.prototype.indexOf=function(t,r,o){return Pr(this,t,r,o,!0)};u.prototype.lastIndexOf=function(t,r,o){return Pr(this,t,r,o,!1)};function Pi(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(Nt(d))return p;e[r+p]=d}return p}function Ci(e,t,r,o){return Me(kt(t,e.length-r),e,r,o)}function Di(e,t,r,o){return Me(Hi(t),e,r,o)}function _i(e,t,r,o){return Me(Mr(t),e,r,o)}function Oi(e,t,r,o){return Me(qi(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 Pi(this,t,r,o);case"utf8":case"utf-8":return Ci(this,t,r,o);case"ascii":case"latin1":case"binary":return Di(this,t,r,o);case"base64":return _i(this,t,r,o);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Oi(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 Mi(e,t,r){return t===0&&r===e.length?vt.fromByteArray(e):vt.fromByteArray(e.slice(t,r))}function Cr(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 g,y,x,h;switch(d){case 1:l<128&&(p=l);break;case 2:g=e[i+1],(g&192)===128&&(h=(l&31)<<6|g&63,h>127&&(p=h));break;case 3:g=e[i+1],y=e[i+2],(g&192)===128&&(y&192)===128&&(h=(l&15)<<12|(g&63)<<6|y&63,h>2047&&(h<55296||h>57343)&&(p=h));break;case 4:g=e[i+1],y=e[i+2],x=e[i+3],(g&192)===128&&(y&192)===128&&(x&192)===128&&(h=(l&15)<<18|(g&63)<<12|(y&63)<<6|x&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 Fi(o)}var Er=4096;function Fi(e){var t=e.length;if(t<=Er)return String.fromCharCode.apply(String,e);for(var r="",o=0;o<t;)r+=String.fromCharCode.apply(String,e.slice(o,o+=Er));return r}function Bi(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 Ui(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 Wi(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+=ji[e[l]];return i}function Vi(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 I(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||I(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||I(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||I(t,1,this.length),this[t]};u.prototype.readUint16LE=u.prototype.readUInt16LE=function(t,r){return t=t>>>0,r||I(t,2,this.length),this[t]|this[t+1]<<8};u.prototype.readUint16BE=u.prototype.readUInt16BE=function(t,r){return t=t>>>0,r||I(t,2,this.length),this[t]<<8|this[t+1]};u.prototype.readUint32LE=u.prototype.readUInt32LE=function(t,r){return t=t>>>0,r||I(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||I(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||I(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||I(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||I(t,1,this.length),this[t]&128?(255-this[t]+1)*-1:this[t]};u.prototype.readInt16LE=function(t,r){t=t>>>0,r||I(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||I(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||I(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||I(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||I(t,4,this.length),ae.read(this,t,!0,23,4)};u.prototype.readFloatBE=function(t,r){return t=t>>>0,r||I(t,4,this.length),ae.read(this,t,!1,23,4)};u.prototype.readDoubleLE=function(t,r){return t=t>>>0,r||I(t,8,this.length),ae.read(this,t,!0,52,8)};u.prototype.readDoubleBE=function(t,r){return t=t>>>0,r||I(t,8,this.length),ae.read(this,t,!1,52,8)};function L(e,t,r,o,i,l){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<l)throw new RangeError('"value" argument is out of bounds');if(r+o>e.length)throw new RangeError("Index out of range")}u.prototype.writeUintLE=u.prototype.writeUIntLE=function(t,r,o,i){if(t=+t,r=r>>>0,o=o>>>0,!i){var l=Math.pow(2,8*o)-1;L(this,t,r,o,l,0)}var p=1,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;L(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||L(this,t,r,1,255,0),this[r]=t&255,r+1};u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(t,r,o){return t=+t,r=r>>>0,o||L(this,t,r,2,65535,0),this[r]=t&255,this[r+1]=t>>>8,r+2};u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(t,r,o){return t=+t,r=r>>>0,o||L(this,t,r,2,65535,0),this[r]=t>>>8,this[r+1]=t&255,r+2};u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(t,r,o){return t=+t,r=r>>>0,o||L(this,t,r,4,4294967295,0),this[r+3]=t>>>24,this[r+2]=t>>>16,this[r+1]=t>>>8,this[r]=t&255,r+4};u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(t,r,o){return t=+t,r=r>>>0,o||L(this,t,r,4,4294967295,0),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=t&255,r+4};u.prototype.writeIntLE=function(t,r,o,i){if(t=+t,r=r>>>0,!i){var l=Math.pow(2,8*o-1);L(this,t,r,o,l-1,-l)}var p=0,d=1,g=0;for(this[r]=t&255;++p<o&&(d*=256);)t<0&&g===0&&this[r+p-1]!==0&&(g=1),this[r+p]=(t/d>>0)-g&255;return r+o};u.prototype.writeIntBE=function(t,r,o,i){if(t=+t,r=r>>>0,!i){var l=Math.pow(2,8*o-1);L(this,t,r,o,l-1,-l)}var p=o-1,d=1,g=0;for(this[r+p]=t&255;--p>=0&&(d*=256);)t<0&&g===0&&this[r+p+1]!==0&&(g=1),this[r+p]=(t/d>>0)-g&255;return r+o};u.prototype.writeInt8=function(t,r,o){return t=+t,r=r>>>0,o||L(this,t,r,1,127,-128),t<0&&(t=255+t+1),this[r]=t&255,r+1};u.prototype.writeInt16LE=function(t,r,o){return t=+t,r=r>>>0,o||L(this,t,r,2,32767,-32768),this[r]=t&255,this[r+1]=t>>>8,r+2};u.prototype.writeInt16BE=function(t,r,o){return t=+t,r=r>>>0,o||L(this,t,r,2,32767,-32768),this[r]=t>>>8,this[r+1]=t&255,r+2};u.prototype.writeInt32LE=function(t,r,o){return t=+t,r=r>>>0,o||L(this,t,r,4,2147483647,-2147483648),this[r]=t&255,this[r+1]=t>>>8,this[r+2]=t>>>16,this[r+3]=t>>>24,r+4};u.prototype.writeInt32BE=function(t,r,o){return t=+t,r=r>>>0,o||L(this,t,r,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=t&255,r+4};function Dr(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 _r(e,t,r,o,i){return t=+t,r=r>>>0,i||Dr(e,t,r,4,34028234663852886e22,-34028234663852886e22),ae.write(e,t,r,o,23,4),r+4}u.prototype.writeFloatLE=function(t,r,o){return _r(this,t,r,!0,o)};u.prototype.writeFloatBE=function(t,r,o){return _r(this,t,r,!1,o)};function Or(e,t,r,o,i){return t=+t,r=r>>>0,i||Dr(e,t,r,8,17976931348623157e292,-17976931348623157e292),ae.write(e,t,r,o,52,8),r+8}u.prototype.writeDoubleLE=function(t,r,o){return Or(this,t,r,!0,o)};u.prototype.writeDoubleBE=function(t,r,o){return Or(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),g=d.length;if(g===0)throw new TypeError('The value "'+t+'" is invalid for argument "value"');for(p=0;p<o-r;++p)this[p+r]=d[p%g]}return this};var Gi=/[^+/0-9A-Za-z-_]/g;function $i(e){if(e=e.split("=")[0],e=e.trim().replace(Gi,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function kt(e,t){t=t||1/0;for(var r,o=e.length,i=null,l=[],p=0;p<o;++p){if(r=e.charCodeAt(p),r>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&l.push(239,191,189);continue}else if(p+1===o){(t-=3)>-1&&l.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&l.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(t-=3)>-1&&l.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;l.push(r)}else if(r<2048){if((t-=2)<0)break;l.push(r>>6|192,r&63|128)}else if(r<65536){if((t-=3)<0)break;l.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((t-=4)<0)break;l.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return l}function Hi(e){for(var t=[],r=0;r<e.length;++r)t.push(e.charCodeAt(r)&255);return t}function qi(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 Mr(e){return vt.toByteArray($i(e))}function Me(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 F(e,t){return e instanceof t||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===t.name}function Nt(e){return e!==e}var ji=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 Gr=De((Ws,Vr)=>{n();var v=Vr.exports={},B,U;function Rt(){throw new Error("setTimeout has not been defined")}function Pt(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?B=setTimeout:B=Rt}catch(e){B=Rt}try{typeof clearTimeout=="function"?U=clearTimeout:U=Pt}catch(e){U=Pt}})();function Br(e){if(B===setTimeout)return setTimeout(e,0);if((B===Rt||!B)&&setTimeout)return B=setTimeout,setTimeout(e,0);try{return B(e,0)}catch(t){try{return B.call(null,e,0)}catch(r){return B.call(this,e,0)}}}function zi(e){if(U===clearTimeout)return clearTimeout(e);if((U===Pt||!U)&&clearTimeout)return U=clearTimeout,clearTimeout(e);try{return U(e)}catch(t){try{return U.call(null,e)}catch(r){return U.call(this,e)}}}var j=[],ce=!1,ne,Fe=-1;function Ki(){!ce||!ne||(ce=!1,ne.length?j=ne.concat(j):Fe=-1,j.length&&Ur())}function Ur(){if(!ce){var e=Br(Ki);ce=!0;for(var t=j.length;t;){for(ne=j,j=[];++Fe<t;)ne&&ne[Fe].run();Fe=-1,t=j.length}ne=null,ce=!1,zi(e)}}v.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];j.push(new Wr(e,t)),j.length===1&&!ce&&Br(Ur)};function Wr(e,t){this.fun=e,this.array=t}Wr.prototype.run=function(){this.fun.apply(null,this.array)};v.title="browser";v.browser=!0;v.env={};v.argv=[];v.version="";v.versions={};function z(){}v.on=z;v.addListener=z;v.once=z;v.off=z;v.removeListener=z;v.removeAllListeners=z;v.emit=z;v.prependListener=z;v.prependOnceListener=z;v.listeners=function(e){return[]};v.binding=function(e){throw new Error("process.binding is not supported")};v.cwd=function(){return"/"};v.chdir=function(e){throw new Error("process.chdir is not supported")};v.umask=function(){return 0}});var a,s,Vs,n=f(()=>{a=A(Fr()),s=A(Gr()),Vs=function(e){function t(){var o=this||self;return delete e.prototype.__magic__,o}if(typeof globalThis=="object")return globalThis;if(this)return t();e.defineProperty(e.prototype,"__magic__",{configurable:!0,get:t});var r=__magic__;return r}(Object)});var $r=f(()=>{"use strict";n()});var Hr=f(()=>{"use strict";n()});var qr=f(()=>{"use strict";n()});var Ct,jr=f(()=>{"use strict";n();Ct=(o=>(o.SetGuardian="SetGuardian",o.GuardAccount="GuardAccount",o.UnGuardAccount="UnGuardAccount",o))(Ct||{})});var zr=f(()=>{"use strict";n()});var Dt=f(()=>{"use strict";n()});var Kr=f(()=>{"use strict";n()});var Xr=f(()=>{"use strict";n()});var Yr=f(()=>{"use strict";n()});var Zr=f(()=>{"use strict";n()});var _t,le,Ot=f(()=>{"use strict";n();_t=require("@multiversx/sdk-dapp-utils/out/constants/browserConstants"),le=require("@multiversx/sdk-dapp-utils/out/enums/windowProviderEnums")});var Jr,Qs,Qr,ec,D=f(()=>{"use strict";n();Ot();Jr=(r=>(r.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",r.reloginRequest="RELOGIN_REQUEST",r))(Jr||{}),Qs=T(T({},le.WindowProviderRequestEnums),Jr),Qr=(t=>(t.reloginResponse="RELOGIN_RESPONSE",t))(Qr||{}),ec=T(T({},le.WindowProviderResponseEnums),Qr)});var en=f(()=>{"use strict";n()});var tn=f(()=>{"use strict";n()});var N=f(()=>{"use strict";n()});var rn=f(()=>{"use strict";n()});var nn=f(()=>{"use strict";n()});var on=f(()=>{"use strict";n()});var _=f(()=>{"use strict";n();Xr();Yr();Zr();D();en();tn();N();rn();nn();on()});var Mt,an,yc,sn,hc,cn,xc,Sc,wc,ln=f(()=>{"use strict";n();_();Mt={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",xAliasAddress:"https://devnet.xalias.com",apiAddress:"https://devnet-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",apiTimeout:"4000",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",explorerAddress:"http://testnet-explorer.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",explorerAddress:"https://explorer.multiversx.com",apiTimeout:"4000",roundDuration:6e3}},{chainId:an,egldLabel:yc}=Mt["devnet"],{chainId:sn,egldLabel:hc}=Mt["testnet"],{chainId:cn,egldLabel:xc}=Mt["mainnet"],Sc={["devnet"]:an,["testnet"]:sn,["mainnet"]:cn},wc={[an]:"devnet",[sn]:"testnet",[cn]:"mainnet"}});var Ft=f(()=>{"use strict";n()});var W,pn=f(()=>{"use strict";n();W=require("@multiversx/sdk-web-wallet-provider")});var un,dn,Bt,kc,Ec,mn=f(()=>{"use strict";n();Ot();Bt=String((dn=(un=_t.safeWindow)==null?void 0:un.navigator)==null?void 0:dn.userAgent),kc=/^((?!chrome|android).)*safari/i.test(Bt),Ec=/firefox/i.test(Bt)&&/windows/i.test(Bt)});var Ut,Wt,gn,Be,fn,pe,S=f(()=>{"use strict";n();$r();Hr();qr();jr();zr();Dt();Kr();ln();Ft();pn();mn();Ut=5e4,Wt=1e9,gn=1,Be="logout",fn="login",pe="0"});var Ue,$t=f(()=>{"use strict";n();Ue=()=>Date.now()/1e3});var kn=f(()=>{"use strict";n()});var En=f(()=>{"use strict";n()});var Ln=f(()=>{"use strict";n();$t();kn();En()});var Ht={};ee(Ht,{clear:()=>Qi,getItem:()=>Zi,localStorageKeys:()=>oe,removeItem:()=>Ji,setItem:()=>Yi});var oe,We,Yi,Zi,Ji,Qi,he=f(()=>{"use strict";n();Ln();oe={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event"},We=typeof localStorage!="undefined",Yi=({key:e,data:t,expires:r})=>{!We||localStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},Zi=e=>{if(!We)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:Ue()>=r.expires?(localStorage.removeItem(String(e)),null):r.data},Ji=e=>{!We||localStorage.removeItem(String(e))},Qi=()=>{!We||localStorage.clear()}});var qt={};ee(qt,{clear:()=>Cn,getItem:()=>Rn,removeItem:()=>Pn,setItem:()=>Nn,storage:()=>ea});var Nn,Rn,Pn,Cn,ea,Dn=f(()=>{"use strict";n();Nn=({key:e,data:t,expires:r})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},Rn=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},Pn=e=>sessionStorage.removeItem(String(e)),Cn=()=>sessionStorage.clear(),ea={setItem:Nn,getItem:Rn,removeItem:Pn,clear:Cn}});var de,Ve=f(()=>{"use strict";n();he();Dn();de={session:qt,local:Ht}});var jt,b,Ge,O=f(()=>{"use strict";n();jt=require("@reduxjs/toolkit");S();b=(0,jt.createAction)(Be),Ge=(0,jt.createAction)(fn,e=>({payload:e}))});var Kt,_n,On,$e,zt,Mn,Fn,wl,Bn,Al,vl,bl,Il,kl,El,Ll,Nl,He,qe=f(()=>{"use strict";n();Kt=require("@multiversx/sdk-core"),_n=require("@reduxjs/toolkit"),On=require("redux-persist");S();Ve();he();O();$e={balance:"...",address:"",isGuarded:!1,nonce:0,txCount:0,scrCount:0,claimableRewards:pe},zt={address:"",websocketEvent:null,websocketBatchEvent:null,accounts:{"":$e},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},Mn=(0,_n.createSlice)({name:"accountInfoSlice",initialState:zt,reducers:{setAddress:(e,t)=>{let r=t.payload;e.address=r,e.publicKey=r?new Kt.Address(r).hex():""},setAccount:(e,t)=>{let r=e.address===t.payload.address;e.accounts={[e.address]:r?t.payload:$e},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(b,()=>(de.local.removeItem(oe.loginExpiresAt),zt)),e.addCase(Ge,(t,r)=>{let{address:o}=r.payload;t.address=o,t.publicKey=new Kt.Address(o).hex()}),e.addCase(On.REHYDRATE,(t,r)=>{var y;if(!((y=r.payload)!=null&&y.account))return;let{account:o}=r.payload,{address:i,shard:l,accounts:p,publicKey:d}=o;t.address=i,t.shard=l;let g=p&&i in p;t.accounts=g?p:zt.accounts,t.publicKey=d})}}),{setAccount:Fn,setAddress:wl,setAccountNonce:Bn,setAccountShard:Al,setLedgerAccount:vl,updateLedgerAccount:bl,setWalletConnectAccount:Il,setIsAccountLoading:kl,setAccountLoadingError:El,setWebsocketEvent:Ll,setWebsocketBatchEvent:Nl}=Mn.actions,He=Mn.reducer});function xe(){return new Date().setHours(new Date().getHours()+24)}function Se(e){de.local.setItem({key:oe.loginExpiresAt,data:e,expires:e})}var Xt=f(()=>{"use strict";n();Ve();he()});var Wn,Un,Vn,Ul,Wl,Vl,Gl,$l,Hl,Gn,ql,jl,zl,je,ze=f(()=>{"use strict";n();Wn=require("@reduxjs/toolkit");Xt();D();O();Un={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,passkeyLogin:null,operaLogin:null,crossWindowLogin:null,iframeWindowLogin:null,isLoginSessionInvalid:!1,webviewLogin:null},Vn=(0,Wn.createSlice)({name:"loginInfoSlice",initialState:Un,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(b,()=>Un),e.addCase(Ge,(t,r)=>{t.isLoginSessionInvalid=!1,t.loginMethod=r.payload.loginMethod,Se(xe())})}}),{setLoginMethod:Ul,setWalletConnectLogin:Wl,setLedgerLogin:Vl,setTokenLogin:Gl,setTokenLoginSignature:$l,setWalletLogin:Hl,invalidateLoginSession:Gn,setLogoutRoute:ql,setIsWalletConnectV2Initialized:jl,setWebviewLogin:zl}=Vn.actions,je=Vn.reducer});var Hn,$n,qn,Zl,Jl,Ql,ep,Ke,Xe=f(()=>{"use strict";n();Hn=require("@reduxjs/toolkit");O();$n={},qn=(0,Hn.createSlice)({name:"modalsSlice",initialState:$n,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(b,()=>$n)}}),{setTxSubmittedModal:Zl,setNotificationModal:Jl,clearTxSubmittedModal:Ql,clearNotificationModal:ep}=qn.actions,Ke=qn.reducer});var jn=f(()=>{"use strict";n()});var zn=f(()=>{"use strict";n();jn()});function Kn(e){return e[Math.floor(Math.random()*e.length)]}var Xn=f(()=>{"use strict";n()});var Yn=f(()=>{"use strict";n();Dt()});var Zn=f(()=>{"use strict";n();zn();Xn();Yn()});var Jn,Qn,eo,Yt,ra,to,hp,xp,Sp,Ye,Ze=f(()=>{"use strict";n();Jn=require("@reduxjs/toolkit"),Qn=A(require("lodash.omit")),eo=require("redux-persist");Ft();O();Zn();Yt={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},ra={network:Yt},to=(0,Jn.createSlice)({name:"appConfig",initialState:ra,reducers:{initializeNetworkConfig:(e,t)=>{let r=Kn(t.payload.walletConnectV2RelayAddresses),o=(0,Qn.default)(t.payload,"walletConnectV2RelayAddresses");e.network=w(T(T({},e.network),o),{walletConnectV2RelayAddress:r})},updateNetworkConfig:(e,t)=>{e.network=T(T({},e.network),t.payload)},setCustomWalletAddress:(e,t)=>{e.network.customWalletAddress=t.payload}},extraReducers:e=>{e.addCase(b,t=>{t.network.customWalletAddress=void 0}),e.addCase(eo.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:hp,updateNetworkConfig:xp,setCustomWalletAddress:Sp}=to.actions,Ye=to.reducer});var ro,Zt,no,kp,Ep,Lp,Je,Qe=f(()=>{"use strict";n();ro=require("@reduxjs/toolkit");_();O();Zt={isSigning:!1,signedSessions:{}},no=(0,ro.createSlice)({name:"signedMessageInfoSliceState",initialState:Zt,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]=T(T({},e.signedSessions[r]),o)},setSignSessionState:(e,t)=>T(T({},e),t.payload),clearSignedMessageInfo:()=>Zt},extraReducers:e=>{e.addCase(b,()=>Zt)}}),{setSignSession:kp,clearSignedMessageInfo:Ep,setSignSessionState:Lp}=no.actions,Je=no.reducer});var io,ao,oo,so,Op,Mp,Fp,Bp,et,tt=f(()=>{"use strict";n();io=require("@reduxjs/toolkit"),ao=require("redux-persist");_();$t();O();oo={customToasts:[],transactionToasts:[]},so=(0,io.createSlice)({name:"toastsSlice",initialState:oo,reducers:{addCustomToast:(e,t)=>{let r=t.payload.toastId||`custom-toast-${e.customToasts.length+1}`,o=e.customToasts.findIndex(i=>i.toastId===r);if(o!==-1){e.customToasts[o]=w(T(T({},e.customToasts[o]),t.payload),{type:"custom",toastId:r});return}e.customToasts.push(w(T({},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:Ue(),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(b,()=>oo),e.addCase(ao.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:Op,removeCustomToast:Mp,addTransactionToast:Fp,removeTransactionToast:Bp}=so.actions,et=so.reducer});var co,Qt,er,tr,na,Jt,lo,Gp,$p,Hp,rt,nt=f(()=>{"use strict";n();co=require("@reduxjs/toolkit");O();Qt="Transaction failed",er="Transaction successful",tr="Processing transaction",na="Transaction submitted",Jt={},lo=(0,co.createSlice)({name:"transactionsInfo",initialState:Jt,reducers:{setTransactionsDisplayInfo(e,t){let{sessionId:r,transactionsDisplayInfo:o}=t.payload;r!=null&&(e[r]={errorMessage:(o==null?void 0:o.errorMessage)||Qt,successMessage:(o==null?void 0:o.successMessage)||er,processingMessage:(o==null?void 0:o.processingMessage)||tr,submittedMessage:(o==null?void 0:o.submittedMessage)||na,transactionDuration:o==null?void 0:o.transactionDuration})},clearTransactionsInfoForSessionId(e,t){t.payload!=null&&delete e[t.payload]},clearTransactionsInfo:()=>Jt},extraReducers:e=>{e.addCase(b,()=>Jt)}}),{clearTransactionsInfo:Gp,setTransactionsDisplayInfo:$p,clearTransactionsInfoForSessionId:Hp}=lo.actions,rt=lo.reducer});function po(e){return e!=null&&(ga(e)||xa(e))}function ot(e){return e!=null&&(fa(e)||Sa(e))}function it(e){return e!=null&&(Ta(e)||wa(e))}function uo(e){return e!=null&&(ya(e)||Aa(e))}function mo(e){return e!=null&&ha(e)}function ga(e){return e!=null&&ia.includes(e)}function fa(e){return e!=null&&aa.includes(e)}function Ta(e){return e!=null&&sa.includes(e)}function ya(e){return e!=null&&ca.includes(e)}function ha(e){return e!=null&&la.includes(e)}function xa(e){return e!=null&&pa.includes(e)}function Sa(e){return e!=null&&ua.includes(e)}function wa(e){return e!=null&&da.includes(e)}function Aa(e){return e!=null&&ma.includes(e)}var ia,aa,sa,ca,la,pa,ua,da,ma,nr=f(()=>{"use strict";n();D();ia=["sent"],aa=["success"],sa=["fail","cancelled","timedOut"],ca=["invalid"],la=["timedOut"],pa=["pending"],ua=["success"],da=["fail","invalid"],ma=["not executed"]});var go,fo,we,va,To,Qp,eu,tu,ru,nu,ou,iu,au,su,cu,lu,at,st=f(()=>{"use strict";n();go=require("@reduxjs/toolkit"),fo=require("redux-persist");D();nr();O();we={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},va={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},To=(0,go.createSlice)({name:"transactionsSlice",initialState:we,reducers:{moveTransactionsToSignedState:(e,t)=>{var g,y;let{sessionId:r,transactions:o,errorMessage:i,status:l,redirectRoute:p,customTransactionInformation:d}=t.payload;e.customTransactionInformationForSessionId[r]=T(T(T({},va),((g=e.signedTransactions[r])==null?void 0:g.customTransactionInformation)||{}),e.customTransactionInformationForSessionId[r]||{}),e.signedTransactions[r]={transactions:o,status:l,errorMessage:i,redirectRoute:p,customTransactionInformation:T(T({},e.customTransactionInformationForSessionId[r]),d!=null?d:{})},((y=e==null?void 0:e.transactionsToSign)==null?void 0:y.sessionId)===r&&(e.transactionsToSign=we.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=T(T({},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 y,x,h,E,k,$,Pe,Tr;let{sessionId:r,status:o,errorMessage:i,transactionHash:l,serverTransaction:p,inTransit:d}=t.payload,g=(x=(y=e.signedTransactions)==null?void 0:y[r])==null?void 0:x.transactions;if(g!=null){e.signedTransactions[r].transactions=g.map(H=>H.hash===l?w(T(T({},p!=null?p:{}),H),{status:o,errorMessage:i,inTransit:d}):H);let ci=(E=(h=e.signedTransactions[r])==null?void 0:h.transactions)==null?void 0:E.every(H=>ot(H.status)),li=($=(k=e.signedTransactions[r])==null?void 0:k.transactions)==null?void 0:$.some(H=>it(H.status)),pi=(Tr=(Pe=e.signedTransactions[r])==null?void 0:Pe.transactions)==null?void 0:Tr.every(H=>uo(H.status));ci&&(e.signedTransactions[r].status="success"),li&&(e.signedTransactions[r].status="fail"),pi&&(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=we.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=we.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=T(T({},e.signedTransactions[r].customTransactionInformation),o))}},extraReducers:e=>{e.addCase(b,()=>we),e.addCase(fo.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,[g,y])=>{let x=new Date(g),h=new Date;return h.setHours(h.getHours()+5),h-x>0||(d[g]=y),d},{});i!=null&&(t.customTransactionInformationForSessionId=i),o!=null&&(t.signedTransactions=l)})}}),{updateSignedTransactionStatus:Qp,updateSignedTransactions:eu,setTransactionsToSign:tu,clearAllTransactionsToSign:ru,clearAllSignedTransactions:nu,clearSignedTransaction:ou,clearTransactionToSign:iu,setSignTransactionsError:au,setSignTransactionsCancelMessage:su,moveTransactionsToSignedState:cu,updateSignedTransactionsCustomTransactionInformation:lu}=To.actions,at=To.reducer});var yo,or,ho,mu,gu,fu,Tu,ct,lt=f(()=>{"use strict";n();yo=require("@reduxjs/toolkit");O();or={},ho=(0,yo.createSlice)({name:"batchTransactionsSlice",initialState:or,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:()=>or},extraReducers:e=>{e.addCase(b,()=>or)}}),{setBatchTransactions:mu,updateBatchTransactions:gu,clearBatchTransactions:fu,clearAllBatchTransactions:Tu}=ho.actions,ct=ho.reducer});var So,xo,wo,Su,Ao,ir=f(()=>{"use strict";n();So=require("@reduxjs/toolkit");O();xo={},wo=(0,So.createSlice)({name:"dappConfigSlice",initialState:xo,reducers:{setDappConfig:(e,t)=>t.payload},extraReducers:e=>{e.addCase(b,()=>xo)}}),{setDappConfig:Su}=wo.actions,Ao=wo.reducer});var me=f(()=>{"use strict";n();qe();ze();Xe();Ze();Qe();tt();nt();st();lt();ir()});var pr=f(()=>{"use strict";n()});var Do,Pa,Ca,ie,ft=f(()=>{"use strict";n();Do=require("@reduxjs/toolkit");pr();qe();lt();ir();ze();Xe();Ze();Qe();tt();nt();st();Pa={["account"]:He,["dappConfig"]:Ao,["loginInfo"]:je,["modals"]:Ke,["networkConfig"]:Ye,["signedMessageInfo"]:Je,["toasts"]:et,["transactionsInfo"]:rt,["transactions"]:at,["batchTransactions"]:ct},Ca=(e={})=>(0,Do.combineReducers)(T(T({},Pa),e)),ie=Ca});var Fo={};ee(Fo,{default:()=>Ka,sessionStorageReducers:()=>ur});function Y(e,t=[]){return{key:e,version:1,storage:Oo.default,blacklist:t}}var R,_o,Oo,Da,be,_a,Oa,Ma,Fa,Ba,Ua,Wa,Va,Ga,$a,Mo,Ha,ur,qa,ja,za,Ka,Bo=f(()=>{"use strict";n();R=require("redux-persist"),_o=A(require("redux-persist/lib/storage")),Oo=A(require("redux-persist/lib/storage/session"));ft();me();qe();lt();ze();Xe();Ze();Qe();tt();nt();st();pr();Da={persistReducersStorageType:"localStorage"},be={["account"]:"sdk-dapp-account",["loginInfo"]:"sdk-dapp-login-info",["modals"]:"sdk-dapp-modals",["networkConfig"]:"sdk-dapp-network-config"},_a=Y(be["account"]),Oa=Y(be["loginInfo"]),Ma=Y(be["modals"]),Fa=Y(be["networkConfig"]),Ba={2:e=>w(T({},e),{networkConfig:Yt})};Ua=Y("sdk-dapp-transactionsInfo"),Wa=Y("sdk-dapp-transactions",["transactionsToSign"]),Va=Y("sdk-dapp-batchTransactions",["batchTransactions"]),Ga=Y("sdk-dapp-toasts"),$a=Y("sdk-dapp-signedMessageInfo"),Mo={key:"sdk-dapp-store",version:2,storage:_o.default,whitelist:Object.keys(be),migrate:(0,R.createMigrate)(Ba,{debug:!1})},Ha=w(T({},Mo),{whitelist:[]}),ur={["toasts"]:(0,R.persistReducer)(Ga,et),["transactions"]:(0,R.persistReducer)(Wa,at),["transactionsInfo"]:(0,R.persistReducer)(Ua,rt),["batchTransactions"]:(0,R.persistReducer)(Va,ct),["signedMessageInfo"]:(0,R.persistReducer)($a,Je)},qa=w(T({},ur),{["account"]:(0,R.persistReducer)(_a,He),["loginInfo"]:(0,R.persistReducer)(Oa,je),["modals"]:(0,R.persistReducer)(Ma,Ke),["networkConfig"]:(0,R.persistReducer)(Fa,Ye)}),ja=Da.persistReducersStorageType==="localStorage",za=ja?(0,R.persistReducer)(Mo,ie(ur)):(0,R.persistReducer)(Ha,ie(qa)),Ka=za});var Uo={};ee(Uo,{default:()=>Xa});var Xa,Wo=f(()=>{"use strict";n();ft();Xa=ie()});var Vo={};ee(Vo,{default:()=>Za});var C,Ya,Za,Go=f(()=>{"use strict";n();C=require("redux-persist"),Ya=[C.FLUSH,C.REHYDRATE,C.PAUSE,C.PERSIST,C.PURGE,C.REGISTER],Za=Ya});var qo={};ee(qo,{default:()=>Ho});function Ho(e){return(0,$o.persistStore)(e)}var $o,jo=f(()=>{"use strict";n();$o=require("redux-persist")});var Os={};ee(Os,{getAddress:()=>_s});module.exports=Te(Os);n();n();n();n();var hn=require("@multiversx/sdk-extension-provider"),xn=require("@multiversx/sdk-hw-provider"),Sn=require("@multiversx/sdk-metamask-provider/out/metamaskProvider"),wn=require("@multiversx/sdk-opera-provider"),An=require("@multiversx/sdk-passkey-provider/out"),vn=require("@multiversx/sdk-web-wallet-iframe-provider/out"),bn=require("@multiversx/sdk-web-wallet-provider");S();n();var Vt=require("@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider");D();n();var Tn=ue;var In=e=>{switch(e==null?void 0:e.constructor){case bn.WalletProvider:return"wallet";case Tn:return"walletconnectv2";case xn.HWProvider:return"ledger";case hn.ExtensionProvider:return"extension";case An.PasskeyProvider:return"passkey";case Sn.MetamaskProvider:return"metamask";case wn.OperaProvider:return"opera";case Vt.CrossWindowProvider:return"crossWindow";case vn.IframeProvider:return"iframe";case ue:return"";default:return"extra"}};var K=e=>`Unable to perform ${e}, Provider not initialized`,ue=class{init(){return Promise.resolve(!1)}login(t){throw new Error(K(`login with options: ${t}`))}logout(t){throw new Error(K(`logout with options: ${t}`))}getAddress(){throw new Error(K("getAddress"))}isInitialized(){return!1}isConnected(){return Promise.resolve(!1)}sendTransaction(t,r){throw new Error(K(`sendTransaction with transactions: ${t} options: ${r}`))}signTransaction(t,r){throw new Error(K(`signTransaction with transactions: ${t} options: ${r}`))}signTransactions(t,r){throw new Error(K(`signTransactions with transactions: ${t} options: ${r}`))}signMessage(t,r){throw new Error(K(`signTransactions with ${t} and options ${r}`))}sendCustomMessage({method:t,params:r}){throw new Error(K(`sendCustomMessage with method: ${t} params: ${r}`))}sendCustomRequest(t){throw new Error(K(`sendSessionEvent with options: ${t}`))}ping(){return Promise.resolve(!1)}},Gt=new ue;var Xi=Gt;function ye(){return Xi||Gt}n();n();me();n();var vo=A(require("lodash.isequal")),pt=require("reselect"),m=(0,pt.createSelectorCreator)(pt.defaultMemoize,vo.default);var V=e=>e.account,Ae=m(V,e=>e.address),ar=m(V,Ae,(e,t)=>t in e.accounts?e.accounts[t]:$e),Mu=m(V,ar,(e,t)=>{let i=e,{accounts:r}=i,o=xr(i,["accounts"]);return w(T({},o),{address:t.address,account:t})}),Fu=m(ar,e=>e.balance),Bu=m(ar,e=>{var t;return((t=e==null?void 0:e.nonce)==null?void 0:t.valueOf())||0}),Uu=m(V,e=>e.shard),Wu=m(V,e=>e.ledgerAccount),Vu=m(V,e=>e.walletConnectAccount),Gu=m(V,e=>e.isAccountLoading),$u=m(V,e=>e.accountLoadingError),Hu=m(V,e=>e.websocketEvent),qu=m(V,e=>e.websocketBatchEvent);n();var ba=e=>e.dappConfig,Ku=m(ba,e=>e.shouldUseWebViewProvider);n();var X=e=>e.loginInfo,Ju=m(X,e=>e.loginMethod),bo=m(X,Ae,(e,t)=>Boolean(t)),Qu=m(X,e=>e.walletConnectLogin),ed=m(X,e=>e.ledgerLogin),Io=m(X,e=>e.walletLogin),td=m(X,e=>e.isLoginSessionInvalid),rd=m(X,e=>e.tokenLogin),nd=m(X,e=>e.logoutRoute),od=m(X,e=>e.isWalletConnectV2Initialized);n();var ko=e=>e.modals,sd=m(ko,e=>e.txSubmittedModal),cd=m(ko,e=>e.notificationModal);n();var J=e=>e.networkConfig,ud=m(J,e=>e.network.chainId),dd=m(J,e=>e.network.roundDuration),md=m(J,e=>e.network.walletConnectBridgeAddress),gd=m(J,e=>e.network.walletConnectV2RelayAddress),fd=m(J,e=>e.network.walletConnectV2ProjectId),Td=m(J,e=>e.network.walletConnectV2Options),yd=m(J,e=>e.network.walletConnectDeepLink),ve=m(J,e=>e.network),hd=m(ve,e=>e.apiAddress),Eo=m(ve,e=>e.explorerAddress),xd=m(ve,e=>{var t;return(t=e.customWalletAddress)!=null?t:e.walletAddress}),Sd=m(ve,e=>e.xAliasAddress),wd=m(ve,e=>e.egldLabel);n();var ut=e=>e.signedMessageInfo,bd=m(ut,e=>e.isSigning),Id=m(ut,e=>e.errorMessage),kd=m(ut,e=>{let t=Object.keys(e.signedSessions),r=t.length;return e.signedSessions[t[r-1]]}),Ed=m(ut,e=>{let t=Object.keys(e.signedSessions),r=t.length;return t.length>0?t[r-1]:""});n();var Lo=e=>e.toasts,Rd=m(Lo,e=>e.customToasts),Pd=m(Lo,e=>e.transactionToasts);n();me();var No={errorMessage:Qt,successMessage:er,processingMessage:tr},Ia=e=>e.transactionsInfo,Od=m(Ia,(e,t)=>t,(e,t)=>t!=null&&(e==null?void 0:e[Number(t)])||No);n();n();var G=require("@multiversx/sdk-core");S();n();var cr=require("@multiversx/sdk-core/out");n();n();function sr(e){try{let t=atob(e),r=btoa(t),o=a.Buffer.from(e,"base64").toString(),i=a.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}n();n();n();n();var Ro=e=>{let t=e!=null?e:"";return sr(t)?cr.TransactionPayload.fromEncoded(t):new cr.TransactionPayload(t)};n();S();var dt=({data:e,onlySetGuardian:t})=>e?t?e.startsWith("SetGuardian"):Object.values(Ct).some(r=>e.startsWith(r)):!1;function lr(e){var o,i,l;let t=T({},e);dt({data:t.data,onlySetGuardian:!0})&&(delete t.senderUsername,delete t.receiverUsername);let r=new G.Transaction(T(T(w(T(w(T({value:t.value.valueOf(),data:Ro(t.data),nonce:t.nonce.valueOf(),receiver:new G.Address(t.receiver)},t.receiverUsername?{receiverUsername:t.receiverUsername}:{}),{sender:new G.Address(t.sender)}),t.senderUsername?{senderUsername:t.senderUsername}:{}),{gasLimit:(o=t.gasLimit.valueOf())!=null?o:Ut,gasPrice:(i=t.gasPrice.valueOf())!=null?i:Wt,chainID:t.chainID.valueOf(),version:new G.TransactionVersion((l=t.version)!=null?l:gn)}),t.options?{options:new G.TransactionOptions(t.options)}:{}),t.guardian?{guardian:new G.Address(t.guardian)}:{}));return t.guardianSignature&&r.applyGuardianSignature(a.Buffer.from(t.guardianSignature,"hex")),t.signature&&r.applySignature(a.Buffer.from(t.signature,"hex")),r}n();n();S();n();n();var dr=require("@reduxjs/toolkit"),Yo=require("react-redux/lib/utils/Subscription");me();n();var Po=A(require("lodash.throttle"));S();me();Xt();Ve();he();var La=[Be],mt=!1,Na=(0,Po.default)(()=>{Se(xe())},5e3),Co=e=>t=>r=>{if(La.includes(r.type))return t(r);let o=e.getState(),i=de.local.getItem(oe.loginExpiresAt);if(!Boolean(o==null?void 0:o.account.address))return t(r);if(i==null)return Se(xe());let p=Date.now();return i-p<0&&!mt?setTimeout(()=>{mt=!0,e.dispatch(Gn())},1e3):(mt&&(mt=!1),Na()),t(r)};n();n();function gt(){return typeof sessionStorage!="undefined"}var zo=gt()?(Bo(),Te(Fo)).default:(Wo(),Te(Uo)).default,Ko=gt()?(Go(),Te(Vo)).default:[],Xo=gt()?(jo(),Te(qo)).default:e=>e;ft();var ge=(0,dr.configureStore)({reducer:zo,middleware:e=>e({serializableCheck:{ignoredActions:[...Ko,Bn.type,Fn.type],ignoredPaths:["payload.nonce","account.account.nonce","providers.accountProvider"]}}).concat(Co)}),Hm=(0,Yo.createSubscription)(ge),qm=Xo(ge),jm=(0,dr.configureStore)({reducer:ie});n();n();var Qa=require("@multiversx/sdk-core/out");n();S();n();var Jo=require("@multiversx/sdk-core");_();n();var Zo=require("@multiversx/sdk-core");function es(e){try{let t=new Zo.Address(e);return Boolean(t.bech32())}catch(t){return!1}}function Ie(e){return(e==null?void 0:e.startsWith("erd"))&&e.length===62&&/^\w+$/.test(e)&&es(e)}n();n();n();var ts=require("@multiversx/sdk-core"),rs=A(require("bignumber.js"));D();n();n();n();n();n();n();n();N();n();n();N();n();n();n();var cs=A(require("bignumber.js"));S();n();var ss=require("@multiversx/sdk-core"),mr=A(require("bignumber.js"));S();n();var is=A(require("bignumber.js"));n();mr.default.config({ROUNDING_MODE:mr.default.ROUND_FLOOR});n();n();n();S();n();n();n();n();S();n();S();n();var ls=require("@multiversx/sdk-core");S();n();var Ee=require("@multiversx/sdk-core"),us=A(require("bignumber.js"));S();n();n();var ps=A(require("bignumber.js"));S();n();S();n();n();n();n();n();n();S();n();S();n();S();n();N();var ms=["reDelegateRewards","claimRewards","unBond"],gs=["wrapEgld","unwrapEgld"],fs=["unStake"],Ts=["unDelegate"];n();n();n();S();n();var xs=A(require("bignumber.js"));n();n();N();n();var ws=A(require("bignumber.js"));n();n();n();n();var vs=A(require("bignumber.js"));_();n();n();n();n();D();n();var ks=require("@multiversx/sdk-web-wallet-provider");S();n();var Is=A(require("qs"));n();n();n();n();n();var Le=()=>typeof window!="undefined"&&typeof(window==null?void 0:window.location)!="undefined";var Q=()=>{if(!Le())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}};n();n();var wh={search:Le()?window.location.search:"",removeParams:[]};n();n();n();n();N();n();n();n();var Es=A(require("linkifyjs"));n();S();n();var Ls=A(require("bignumber.js"));n();_();n();n();D();n();D();n();n();n();N();n();N();n();var Ns=A(require("bignumber.js"));S();N();n();N();n();var oi=require("react");_();n();n();N();n();n();var Rs=require("@multiversx/sdk-core/out"),Ps=A(require("bignumber.js"));N();n();_();n();n();_();var fS=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}];n();var ii=require("react");_();n();var Ds=require("react");N();var vS=["create","localMint","ESDTLocalMint","addQuantity","burn","localBurn","ESDTLocalBurn","wipe","writeLog","signalError"];nr();n();var ht=e=>e.transactions,Ne=m(ht,e=>e.signedTransactions),mw=m(ht,e=>e.signTransactionsError),gw=m(ht,e=>e.signTransactionsCancelMessage),xt=e=>t=>Object.entries(t).reduce((r,[o,i])=>(e(i.status)&&(r[o]=i),r),{}),fw=m(Ne,xt(po)),Tw=m(Ne,xt(ot)),yw=m(Ne,xt(it)),hw=m(Ne,xt(mo)),xw=m(ht,e=>{var t;return(e==null?void 0:e.transactionsToSign)==null?null:w(T({},e.transactionsToSign),{transactions:((t=e==null?void 0:e.transactionsToSign)==null?void 0:t.transactions.map(r=>lr(r)))||[]})}),Sw=m(Ne,(e,t)=>t,(e,t)=>t!=null?(e==null?void 0:e[t])||{}:{});D();n();n();function ai(){let e=ye();return In(e)}function Re(e){return ai()===e}n();var si=()=>{let{search:e}=Q(),t=new URLSearchParams(e),r=Object.fromEntries(t),o=r==null?void 0:r.address;return Ie(o)?o:null};function _s(){let e=ge.getState(),t=ye(),r=Ae(e),o=bo(e),i=Io(e);if(!t)throw"provider not initialized";return Re("ledger")&&o?new Promise(l=>{l(r)}):!Re("")&&!Re("wallet")&&!Re("extra")?t.getAddress():new Promise(l=>{let p=si();i!=null&&p&&l(p),o&&l(r),l("")})}0&&(module.exports={getAddress});
|
|
1
|
+
"use strict";var ui=Object.create;var fe=Object.defineProperty,di=Object.defineProperties,mi=Object.getOwnPropertyDescriptor,gi=Object.getOwnPropertyDescriptors,fi=Object.getOwnPropertyNames,Ce=Object.getOwnPropertySymbols,Ti=Object.getPrototypeOf,St=Object.prototype.hasOwnProperty,hr=Object.prototype.propertyIsEnumerable;var yr=(e,t,r)=>t in e?fe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,T=(e,t)=>{for(var r in t||(t={}))St.call(t,r)&&yr(e,r,t[r]);if(Ce)for(var r of Ce(t))hr.call(t,r)&&yr(e,r,t[r]);return e},w=(e,t)=>di(e,gi(t));var xr=(e,t)=>{var r={};for(var o in e)St.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(e!=null&&Ce)for(var o of Ce(e))t.indexOf(o)<0&&hr.call(e,o)&&(r[o]=e[o]);return r};var f=(e,t)=>()=>(e&&(t=e(e=0)),t);var De=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),ee=(e,t)=>{for(var r in t)fe(e,r,{get:t[r],enumerable:!0})},Sr=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of fi(t))!St.call(e,i)&&i!==r&&fe(e,i,{get:()=>t[i],enumerable:!(o=mi(t,i))||o.enumerable});return e};var A=(e,t,r)=>(r=e!=null?ui(Ti(e)):{},Sr(t||!e||!e.__esModule?fe(r,"default",{value:e,enumerable:!0}):r,e)),Te=e=>Sr(fe({},"__esModule",{value:!0}),e);var vr=De(_e=>{"use strict";n();_e.byteLength=hi;_e.toByteArray=Si;_e.fromByteArray=vi;var M=[],P=[],yi=typeof Uint8Array!="undefined"?Uint8Array:Array,wt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(te=0,wr=wt.length;te<wr;++te)M[te]=wt[te],P[wt.charCodeAt(te)]=te;var te,wr;P["-".charCodeAt(0)]=62;P["_".charCodeAt(0)]=63;function Ar(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 hi(e){var t=Ar(e),r=t[0],o=t[1];return(r+o)*3/4-o}function xi(e,t,r){return(t+r)*3/4-r}function Si(e){var t,r=Ar(e),o=r[0],i=r[1],l=new yi(xi(e,o,i)),p=0,d=i>0?o-4:o,g;for(g=0;g<d;g+=4)t=P[e.charCodeAt(g)]<<18|P[e.charCodeAt(g+1)]<<12|P[e.charCodeAt(g+2)]<<6|P[e.charCodeAt(g+3)],l[p++]=t>>16&255,l[p++]=t>>8&255,l[p++]=t&255;return i===2&&(t=P[e.charCodeAt(g)]<<2|P[e.charCodeAt(g+1)]>>4,l[p++]=t&255),i===1&&(t=P[e.charCodeAt(g)]<<10|P[e.charCodeAt(g+1)]<<4|P[e.charCodeAt(g+2)]>>2,l[p++]=t>>8&255,l[p++]=t&255),l}function wi(e){return M[e>>18&63]+M[e>>12&63]+M[e>>6&63]+M[e&63]}function Ai(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(wi(o));return i.join("")}function vi(e){for(var t,r=e.length,o=r%3,i=[],l=16383,p=0,d=r-o;p<d;p+=l)i.push(Ai(e,p,p+l>d?d:p+l));return o===1?(t=e[r-1],i.push(M[t>>2]+M[t<<4&63]+"==")):o===2&&(t=(e[r-2]<<8)+e[r-1],i.push(M[t>>10]+M[t>>4&63]+M[t<<2&63]+"=")),i.join("")}});var br=De(At=>{n();At.read=function(e,t,r,o,i){var l,p,d=i*8-o-1,g=(1<<d)-1,y=g>>1,x=-7,h=r?i-1:0,E=r?-1:1,k=e[t+h];for(h+=E,l=k&(1<<-x)-1,k>>=-x,x+=d;x>0;l=l*256+e[t+h],h+=E,x-=8);for(p=l&(1<<-x)-1,l>>=-x,x+=o;x>0;p=p*256+e[t+h],h+=E,x-=8);if(l===0)l=1-y;else{if(l===g)return p?NaN:(k?-1:1)*(1/0);p=p+Math.pow(2,o),l=l-y}return(k?-1:1)*p*Math.pow(2,l-o)};At.write=function(e,t,r,o,i,l){var p,d,g,y=l*8-i-1,x=(1<<y)-1,h=x>>1,E=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,k=o?0:l-1,$=o?1:-1,Pe=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=x):(p=Math.floor(Math.log(t)/Math.LN2),t*(g=Math.pow(2,-p))<1&&(p--,g*=2),p+h>=1?t+=E/g:t+=E*Math.pow(2,1-h),t*g>=2&&(p++,g/=2),p+h>=x?(d=0,p=x):p+h>=1?(d=(t*g-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+=$,d/=256,i-=8);for(p=p<<i|d,y+=i;y>0;e[r+k]=p&255,k+=$,p/=256,y-=8);e[r+k-$]|=Pe*128}});var Fr=De(se=>{"use strict";n();var vt=vr(),ae=br(),Ir=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;se.Buffer=u;se.SlowBuffer=Ni;se.INSPECT_MAX_BYTES=50;var Oe=2147483647;se.kMaxLength=Oe;u.TYPED_ARRAY_SUPPORT=bi();!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 bi(){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 q(e){if(e>Oe)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,u.prototype),t}function u(e,t,r){if(typeof e=="number"){if(typeof t=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Et(e)}return Lr(e,t,r)}u.poolSize=8192;function Lr(e,t,r){if(typeof e=="string")return ki(e,t);if(ArrayBuffer.isView(e))return Ei(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(F(e,ArrayBuffer)||e&&F(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(F(e,SharedArrayBuffer)||e&&F(e.buffer,SharedArrayBuffer)))return It(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=Li(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 Lr(e,t,r)};Object.setPrototypeOf(u.prototype,Uint8Array.prototype);Object.setPrototypeOf(u,Uint8Array);function Nr(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 Ii(e,t,r){return Nr(e),e<=0?q(e):t!==void 0?typeof r=="string"?q(e).fill(t,r):q(e).fill(t):q(e)}u.alloc=function(e,t,r){return Ii(e,t,r)};function Et(e){return Nr(e),q(e<0?0:Lt(e)|0)}u.allocUnsafe=function(e){return Et(e)};u.allocUnsafeSlow=function(e){return Et(e)};function ki(e,t){if((typeof t!="string"||t==="")&&(t="utf8"),!u.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=Rr(e,t)|0,o=q(r),i=o.write(e,t);return i!==r&&(o=o.slice(0,i)),o}function bt(e){for(var t=e.length<0?0:Lt(e.length)|0,r=q(t),o=0;o<t;o+=1)r[o]=e[o]&255;return r}function Ei(e){if(F(e,Uint8Array)){var t=new Uint8Array(e);return It(t.buffer,t.byteOffset,t.byteLength)}return bt(e)}function It(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 Li(e){if(u.isBuffer(e)){var t=Lt(e.length)|0,r=q(t);return r.length===0||e.copy(r,0,0,t),r}if(e.length!==void 0)return typeof e.length!="number"||Nt(e.length)?q(0):bt(e);if(e.type==="Buffer"&&Array.isArray(e.data))return bt(e.data)}function Lt(e){if(e>=Oe)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Oe.toString(16)+" bytes");return e|0}function Ni(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(F(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),F(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(F(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 Rr(e,t){if(u.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||F(e,ArrayBuffer))return e.byteLength;if(typeof e!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,o=arguments.length>2&&arguments[2]===!0;if(!o&&r===0)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return kt(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Mr(e).length;default:if(i)return o?-1:kt(e).length;t=(""+t).toLowerCase(),i=!0}}u.byteLength=Rr;function Ri(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 Wi(this,t,r);case"utf8":case"utf-8":return Cr(this,t,r);case"ascii":return Bi(this,t,r);case"latin1":case"binary":return Ui(this,t,r);case"base64":return Mi(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Vi(this,t,r);default:if(o)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),o=!0}}u.prototype._isBuffer=!0;function re(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)re(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)re(this,r,r+3),re(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)re(this,r,r+7),re(this,r+1,r+6),re(this,r+2,r+5),re(this,r+3,r+4);return this};u.prototype.toString=function(){var t=this.length;return t===0?"":arguments.length===0?Cr(this,0,t):Ri.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=se.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"};Ir&&(u.prototype[Ir]=u.prototype.inspect);u.prototype.compare=function(t,r,o,i,l){if(F(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,g=Math.min(p,d),y=this.slice(i,l),x=t.slice(r,o),h=0;h<g;++h)if(y[h]!==x[h]){p=y[h],d=x[h];break}return p<d?-1:d<p?1:0};function Pr(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,Nt(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:kr(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):kr(e,[t],r,o,i);throw new TypeError("val must be string, number or Buffer")}function kr(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 g(k,$){return l===1?k[$]:k.readUInt16BE($*l)}var y;if(i){var x=-1;for(y=r;y<p;y++)if(g(e,y)===g(t,x===-1?0:y-x)){if(x===-1&&(x=y),y-x+1===d)return x*l}else x!==-1&&(y-=y-x),x=-1}else for(r+d>p&&(r=p-d),y=r;y>=0;y--){for(var h=!0,E=0;E<d;E++)if(g(e,y+E)!==g(t,E)){h=!1;break}if(h)return y}return-1}u.prototype.includes=function(t,r,o){return this.indexOf(t,r,o)!==-1};u.prototype.indexOf=function(t,r,o){return Pr(this,t,r,o,!0)};u.prototype.lastIndexOf=function(t,r,o){return Pr(this,t,r,o,!1)};function Pi(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(Nt(d))return p;e[r+p]=d}return p}function Ci(e,t,r,o){return Me(kt(t,e.length-r),e,r,o)}function Di(e,t,r,o){return Me(Hi(t),e,r,o)}function _i(e,t,r,o){return Me(Mr(t),e,r,o)}function Oi(e,t,r,o){return Me(qi(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 Pi(this,t,r,o);case"utf8":case"utf-8":return Ci(this,t,r,o);case"ascii":case"latin1":case"binary":return Di(this,t,r,o);case"base64":return _i(this,t,r,o);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Oi(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 Mi(e,t,r){return t===0&&r===e.length?vt.fromByteArray(e):vt.fromByteArray(e.slice(t,r))}function Cr(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 g,y,x,h;switch(d){case 1:l<128&&(p=l);break;case 2:g=e[i+1],(g&192)===128&&(h=(l&31)<<6|g&63,h>127&&(p=h));break;case 3:g=e[i+1],y=e[i+2],(g&192)===128&&(y&192)===128&&(h=(l&15)<<12|(g&63)<<6|y&63,h>2047&&(h<55296||h>57343)&&(p=h));break;case 4:g=e[i+1],y=e[i+2],x=e[i+3],(g&192)===128&&(y&192)===128&&(x&192)===128&&(h=(l&15)<<18|(g&63)<<12|(y&63)<<6|x&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 Fi(o)}var Er=4096;function Fi(e){var t=e.length;if(t<=Er)return String.fromCharCode.apply(String,e);for(var r="",o=0;o<t;)r+=String.fromCharCode.apply(String,e.slice(o,o+=Er));return r}function Bi(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 Ui(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 Wi(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+=ji[e[l]];return i}function Vi(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 I(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||I(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||I(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||I(t,1,this.length),this[t]};u.prototype.readUint16LE=u.prototype.readUInt16LE=function(t,r){return t=t>>>0,r||I(t,2,this.length),this[t]|this[t+1]<<8};u.prototype.readUint16BE=u.prototype.readUInt16BE=function(t,r){return t=t>>>0,r||I(t,2,this.length),this[t]<<8|this[t+1]};u.prototype.readUint32LE=u.prototype.readUInt32LE=function(t,r){return t=t>>>0,r||I(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||I(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||I(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||I(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||I(t,1,this.length),this[t]&128?(255-this[t]+1)*-1:this[t]};u.prototype.readInt16LE=function(t,r){t=t>>>0,r||I(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||I(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||I(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||I(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||I(t,4,this.length),ae.read(this,t,!0,23,4)};u.prototype.readFloatBE=function(t,r){return t=t>>>0,r||I(t,4,this.length),ae.read(this,t,!1,23,4)};u.prototype.readDoubleLE=function(t,r){return t=t>>>0,r||I(t,8,this.length),ae.read(this,t,!0,52,8)};u.prototype.readDoubleBE=function(t,r){return t=t>>>0,r||I(t,8,this.length),ae.read(this,t,!1,52,8)};function L(e,t,r,o,i,l){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<l)throw new RangeError('"value" argument is out of bounds');if(r+o>e.length)throw new RangeError("Index out of range")}u.prototype.writeUintLE=u.prototype.writeUIntLE=function(t,r,o,i){if(t=+t,r=r>>>0,o=o>>>0,!i){var l=Math.pow(2,8*o)-1;L(this,t,r,o,l,0)}var p=1,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;L(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||L(this,t,r,1,255,0),this[r]=t&255,r+1};u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(t,r,o){return t=+t,r=r>>>0,o||L(this,t,r,2,65535,0),this[r]=t&255,this[r+1]=t>>>8,r+2};u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(t,r,o){return t=+t,r=r>>>0,o||L(this,t,r,2,65535,0),this[r]=t>>>8,this[r+1]=t&255,r+2};u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(t,r,o){return t=+t,r=r>>>0,o||L(this,t,r,4,4294967295,0),this[r+3]=t>>>24,this[r+2]=t>>>16,this[r+1]=t>>>8,this[r]=t&255,r+4};u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(t,r,o){return t=+t,r=r>>>0,o||L(this,t,r,4,4294967295,0),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=t&255,r+4};u.prototype.writeIntLE=function(t,r,o,i){if(t=+t,r=r>>>0,!i){var l=Math.pow(2,8*o-1);L(this,t,r,o,l-1,-l)}var p=0,d=1,g=0;for(this[r]=t&255;++p<o&&(d*=256);)t<0&&g===0&&this[r+p-1]!==0&&(g=1),this[r+p]=(t/d>>0)-g&255;return r+o};u.prototype.writeIntBE=function(t,r,o,i){if(t=+t,r=r>>>0,!i){var l=Math.pow(2,8*o-1);L(this,t,r,o,l-1,-l)}var p=o-1,d=1,g=0;for(this[r+p]=t&255;--p>=0&&(d*=256);)t<0&&g===0&&this[r+p+1]!==0&&(g=1),this[r+p]=(t/d>>0)-g&255;return r+o};u.prototype.writeInt8=function(t,r,o){return t=+t,r=r>>>0,o||L(this,t,r,1,127,-128),t<0&&(t=255+t+1),this[r]=t&255,r+1};u.prototype.writeInt16LE=function(t,r,o){return t=+t,r=r>>>0,o||L(this,t,r,2,32767,-32768),this[r]=t&255,this[r+1]=t>>>8,r+2};u.prototype.writeInt16BE=function(t,r,o){return t=+t,r=r>>>0,o||L(this,t,r,2,32767,-32768),this[r]=t>>>8,this[r+1]=t&255,r+2};u.prototype.writeInt32LE=function(t,r,o){return t=+t,r=r>>>0,o||L(this,t,r,4,2147483647,-2147483648),this[r]=t&255,this[r+1]=t>>>8,this[r+2]=t>>>16,this[r+3]=t>>>24,r+4};u.prototype.writeInt32BE=function(t,r,o){return t=+t,r=r>>>0,o||L(this,t,r,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=t&255,r+4};function Dr(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 _r(e,t,r,o,i){return t=+t,r=r>>>0,i||Dr(e,t,r,4,34028234663852886e22,-34028234663852886e22),ae.write(e,t,r,o,23,4),r+4}u.prototype.writeFloatLE=function(t,r,o){return _r(this,t,r,!0,o)};u.prototype.writeFloatBE=function(t,r,o){return _r(this,t,r,!1,o)};function Or(e,t,r,o,i){return t=+t,r=r>>>0,i||Dr(e,t,r,8,17976931348623157e292,-17976931348623157e292),ae.write(e,t,r,o,52,8),r+8}u.prototype.writeDoubleLE=function(t,r,o){return Or(this,t,r,!0,o)};u.prototype.writeDoubleBE=function(t,r,o){return Or(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),g=d.length;if(g===0)throw new TypeError('The value "'+t+'" is invalid for argument "value"');for(p=0;p<o-r;++p)this[p+r]=d[p%g]}return this};var Gi=/[^+/0-9A-Za-z-_]/g;function $i(e){if(e=e.split("=")[0],e=e.trim().replace(Gi,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function kt(e,t){t=t||1/0;for(var r,o=e.length,i=null,l=[],p=0;p<o;++p){if(r=e.charCodeAt(p),r>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&l.push(239,191,189);continue}else if(p+1===o){(t-=3)>-1&&l.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&l.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(t-=3)>-1&&l.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;l.push(r)}else if(r<2048){if((t-=2)<0)break;l.push(r>>6|192,r&63|128)}else if(r<65536){if((t-=3)<0)break;l.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((t-=4)<0)break;l.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return l}function Hi(e){for(var t=[],r=0;r<e.length;++r)t.push(e.charCodeAt(r)&255);return t}function qi(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 Mr(e){return vt.toByteArray($i(e))}function Me(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 F(e,t){return e instanceof t||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===t.name}function Nt(e){return e!==e}var ji=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 Gr=De((Ws,Vr)=>{n();var v=Vr.exports={},B,U;function Rt(){throw new Error("setTimeout has not been defined")}function Pt(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?B=setTimeout:B=Rt}catch(e){B=Rt}try{typeof clearTimeout=="function"?U=clearTimeout:U=Pt}catch(e){U=Pt}})();function Br(e){if(B===setTimeout)return setTimeout(e,0);if((B===Rt||!B)&&setTimeout)return B=setTimeout,setTimeout(e,0);try{return B(e,0)}catch(t){try{return B.call(null,e,0)}catch(r){return B.call(this,e,0)}}}function zi(e){if(U===clearTimeout)return clearTimeout(e);if((U===Pt||!U)&&clearTimeout)return U=clearTimeout,clearTimeout(e);try{return U(e)}catch(t){try{return U.call(null,e)}catch(r){return U.call(this,e)}}}var j=[],ce=!1,ne,Fe=-1;function Ki(){!ce||!ne||(ce=!1,ne.length?j=ne.concat(j):Fe=-1,j.length&&Ur())}function Ur(){if(!ce){var e=Br(Ki);ce=!0;for(var t=j.length;t;){for(ne=j,j=[];++Fe<t;)ne&&ne[Fe].run();Fe=-1,t=j.length}ne=null,ce=!1,zi(e)}}v.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];j.push(new Wr(e,t)),j.length===1&&!ce&&Br(Ur)};function Wr(e,t){this.fun=e,this.array=t}Wr.prototype.run=function(){this.fun.apply(null,this.array)};v.title="browser";v.browser=!0;v.env={};v.argv=[];v.version="";v.versions={};function z(){}v.on=z;v.addListener=z;v.once=z;v.off=z;v.removeListener=z;v.removeAllListeners=z;v.emit=z;v.prependListener=z;v.prependOnceListener=z;v.listeners=function(e){return[]};v.binding=function(e){throw new Error("process.binding is not supported")};v.cwd=function(){return"/"};v.chdir=function(e){throw new Error("process.chdir is not supported")};v.umask=function(){return 0}});var a,s,Vs,n=f(()=>{a=A(Fr()),s=A(Gr()),Vs=function(e){function t(){var o=this||self;return delete e.prototype.__magic__,o}if(typeof globalThis=="object")return globalThis;if(this)return t();e.defineProperty(e.prototype,"__magic__",{configurable:!0,get:t});var r=__magic__;return r}(Object)});var $r=f(()=>{"use strict";n()});var Hr=f(()=>{"use strict";n()});var qr=f(()=>{"use strict";n()});var Ct,jr=f(()=>{"use strict";n();Ct=(o=>(o.SetGuardian="SetGuardian",o.GuardAccount="GuardAccount",o.UnGuardAccount="UnGuardAccount",o))(Ct||{})});var zr=f(()=>{"use strict";n()});var Dt=f(()=>{"use strict";n()});var Kr=f(()=>{"use strict";n()});var Xr=f(()=>{"use strict";n()});var Yr=f(()=>{"use strict";n()});var Zr=f(()=>{"use strict";n()});var _t,le,Ot=f(()=>{"use strict";n();_t=require("@multiversx/sdk-dapp-utils/out/constants/browserConstants"),le=require("@multiversx/sdk-dapp-utils/out/enums/windowProviderEnums")});var Jr,Qs,Qr,ec,D=f(()=>{"use strict";n();Ot();Jr=(r=>(r.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",r.reloginRequest="RELOGIN_REQUEST",r))(Jr||{}),Qs=T(T({},le.WindowProviderRequestEnums),Jr),Qr=(t=>(t.reloginResponse="RELOGIN_RESPONSE",t))(Qr||{}),ec=T(T({},le.WindowProviderResponseEnums),Qr)});var en=f(()=>{"use strict";n()});var tn=f(()=>{"use strict";n()});var N=f(()=>{"use strict";n()});var rn=f(()=>{"use strict";n()});var nn=f(()=>{"use strict";n()});var on=f(()=>{"use strict";n()});var _=f(()=>{"use strict";n();Xr();Yr();Zr();D();en();tn();N();rn();nn();on()});var Mt,an,yc,sn,hc,cn,xc,Sc,wc,ln=f(()=>{"use strict";n();_();Mt={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",xAliasAddress:"https://devnet.xalias.com",apiAddress:"https://devnet-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",apiTimeout:"4000",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",explorerAddress:"http://testnet-explorer.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",explorerAddress:"https://explorer.multiversx.com",apiTimeout:"4000",roundDuration:6e3}},{chainId:an,egldLabel:yc}=Mt["devnet"],{chainId:sn,egldLabel:hc}=Mt["testnet"],{chainId:cn,egldLabel:xc}=Mt["mainnet"],Sc={["devnet"]:an,["testnet"]:sn,["mainnet"]:cn},wc={[an]:"devnet",[sn]:"testnet",[cn]:"mainnet"}});var Ft=f(()=>{"use strict";n()});var W,pn=f(()=>{"use strict";n();W=require("@multiversx/sdk-web-wallet-provider")});var un,dn,Bt,kc,Ec,mn=f(()=>{"use strict";n();Ot();Bt=String((dn=(un=_t.safeWindow)==null?void 0:un.navigator)==null?void 0:dn.userAgent),kc=/^((?!chrome|android).)*safari/i.test(Bt),Ec=/firefox/i.test(Bt)&&/windows/i.test(Bt)});var Ut,Wt,gn,Be,fn,pe,S=f(()=>{"use strict";n();$r();Hr();qr();jr();zr();Dt();Kr();ln();Ft();pn();mn();Ut=5e4,Wt=1e9,gn=1,Be="logout",fn="login",pe="0"});var Ue,$t=f(()=>{"use strict";n();Ue=()=>Date.now()/1e3});var kn=f(()=>{"use strict";n()});var En=f(()=>{"use strict";n()});var Ln=f(()=>{"use strict";n();$t();kn();En()});var Ht={};ee(Ht,{clear:()=>Qi,getItem:()=>Zi,localStorageKeys:()=>oe,removeItem:()=>Ji,setItem:()=>Yi});var oe,We,Yi,Zi,Ji,Qi,he=f(()=>{"use strict";n();Ln();oe={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event"},We=typeof localStorage!="undefined",Yi=({key:e,data:t,expires:r})=>{!We||localStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},Zi=e=>{if(!We)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:Ue()>=r.expires?(localStorage.removeItem(String(e)),null):r.data},Ji=e=>{!We||localStorage.removeItem(String(e))},Qi=()=>{!We||localStorage.clear()}});var qt={};ee(qt,{clear:()=>Cn,getItem:()=>Rn,removeItem:()=>Pn,setItem:()=>Nn,storage:()=>ea});var Nn,Rn,Pn,Cn,ea,Dn=f(()=>{"use strict";n();Nn=({key:e,data:t,expires:r})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},Rn=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},Pn=e=>sessionStorage.removeItem(String(e)),Cn=()=>sessionStorage.clear(),ea={setItem:Nn,getItem:Rn,removeItem:Pn,clear:Cn}});var de,Ve=f(()=>{"use strict";n();he();Dn();de={session:qt,local:Ht}});var jt,b,Ge,O=f(()=>{"use strict";n();jt=require("@reduxjs/toolkit");S();b=(0,jt.createAction)(Be),Ge=(0,jt.createAction)(fn,e=>({payload:e}))});var Kt,_n,On,$e,zt,Mn,Fn,wl,Bn,Al,vl,bl,Il,kl,El,Ll,Nl,He,qe=f(()=>{"use strict";n();Kt=require("@multiversx/sdk-core"),_n=require("@reduxjs/toolkit"),On=require("redux-persist");S();Ve();he();O();$e={balance:"...",address:"",isGuarded:!1,nonce:0,txCount:0,scrCount:0,claimableRewards:pe},zt={address:"",websocketEvent:null,websocketBatchEvent:null,accounts:{"":$e},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},Mn=(0,_n.createSlice)({name:"accountInfoSlice",initialState:zt,reducers:{setAddress:(e,t)=>{let r=t.payload;e.address=r,e.publicKey=r?new Kt.Address(r).hex():""},setAccount:(e,t)=>{let r=e.address===t.payload.address;e.accounts={[e.address]:r?t.payload:$e},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(b,()=>(de.local.removeItem(oe.loginExpiresAt),zt)),e.addCase(Ge,(t,r)=>{let{address:o}=r.payload;t.address=o,t.publicKey=new Kt.Address(o).hex()}),e.addCase(On.REHYDRATE,(t,r)=>{var y;if(!((y=r.payload)!=null&&y.account))return;let{account:o}=r.payload,{address:i,shard:l,accounts:p,publicKey:d}=o;t.address=i,t.shard=l;let g=p&&i in p;t.accounts=g?p:zt.accounts,t.publicKey=d})}}),{setAccount:Fn,setAddress:wl,setAccountNonce:Bn,setAccountShard:Al,setLedgerAccount:vl,updateLedgerAccount:bl,setWalletConnectAccount:Il,setIsAccountLoading:kl,setAccountLoadingError:El,setWebsocketEvent:Ll,setWebsocketBatchEvent:Nl}=Mn.actions,He=Mn.reducer});function xe(){return new Date().setHours(new Date().getHours()+24)}function Se(e){de.local.setItem({key:oe.loginExpiresAt,data:e,expires:e})}var Xt=f(()=>{"use strict";n();Ve();he()});var Wn,Un,Vn,Ul,Wl,Vl,Gl,$l,Hl,Gn,ql,jl,zl,je,ze=f(()=>{"use strict";n();Wn=require("@reduxjs/toolkit");Xt();D();O();Un={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,passkeyLogin:null,operaLogin:null,crossWindowLogin:null,iframeWindowLogin:null,isLoginSessionInvalid:!1,webviewLogin:null},Vn=(0,Wn.createSlice)({name:"loginInfoSlice",initialState:Un,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(b,()=>Un),e.addCase(Ge,(t,r)=>{t.isLoginSessionInvalid=!1,t.loginMethod=r.payload.loginMethod,Se(xe())})}}),{setLoginMethod:Ul,setWalletConnectLogin:Wl,setLedgerLogin:Vl,setTokenLogin:Gl,setTokenLoginSignature:$l,setWalletLogin:Hl,invalidateLoginSession:Gn,setLogoutRoute:ql,setIsWalletConnectV2Initialized:jl,setWebviewLogin:zl}=Vn.actions,je=Vn.reducer});var Hn,$n,qn,Zl,Jl,Ql,ep,Ke,Xe=f(()=>{"use strict";n();Hn=require("@reduxjs/toolkit");O();$n={},qn=(0,Hn.createSlice)({name:"modalsSlice",initialState:$n,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(b,()=>$n)}}),{setTxSubmittedModal:Zl,setNotificationModal:Jl,clearTxSubmittedModal:Ql,clearNotificationModal:ep}=qn.actions,Ke=qn.reducer});var jn=f(()=>{"use strict";n()});var zn=f(()=>{"use strict";n();jn()});function Kn(e){return e[Math.floor(Math.random()*e.length)]}var Xn=f(()=>{"use strict";n()});var Yn=f(()=>{"use strict";n();Dt()});var Zn=f(()=>{"use strict";n();zn();Xn();Yn()});var Jn,Qn,eo,Yt,ra,to,hp,xp,Sp,Ye,Ze=f(()=>{"use strict";n();Jn=require("@reduxjs/toolkit"),Qn=A(require("lodash.omit")),eo=require("redux-persist");Ft();O();Zn();Yt={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},ra={network:Yt},to=(0,Jn.createSlice)({name:"appConfig",initialState:ra,reducers:{initializeNetworkConfig:(e,t)=>{let r=Kn(t.payload.walletConnectV2RelayAddresses),o=(0,Qn.default)(t.payload,"walletConnectV2RelayAddresses");e.network=w(T(T({},e.network),o),{walletConnectV2RelayAddress:r})},updateNetworkConfig:(e,t)=>{e.network=T(T({},e.network),t.payload)},setCustomWalletAddress:(e,t)=>{e.network.customWalletAddress=t.payload}},extraReducers:e=>{e.addCase(b,t=>{t.network.customWalletAddress=void 0}),e.addCase(eo.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:hp,updateNetworkConfig:xp,setCustomWalletAddress:Sp}=to.actions,Ye=to.reducer});var ro,Zt,no,kp,Ep,Lp,Je,Qe=f(()=>{"use strict";n();ro=require("@reduxjs/toolkit");_();O();Zt={isSigning:!1,signedSessions:{}},no=(0,ro.createSlice)({name:"signedMessageInfoSliceState",initialState:Zt,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]=T(T({},e.signedSessions[r]),o)},setSignSessionState:(e,t)=>T(T({},e),t.payload),clearSignedMessageInfo:()=>Zt},extraReducers:e=>{e.addCase(b,()=>Zt)}}),{setSignSession:kp,clearSignedMessageInfo:Ep,setSignSessionState:Lp}=no.actions,Je=no.reducer});var io,ao,oo,so,Op,Mp,Fp,Bp,et,tt=f(()=>{"use strict";n();io=require("@reduxjs/toolkit"),ao=require("redux-persist");_();$t();O();oo={customToasts:[],transactionToasts:[]},so=(0,io.createSlice)({name:"toastsSlice",initialState:oo,reducers:{addCustomToast:(e,t)=>{let r=t.payload.toastId||`custom-toast-${e.customToasts.length+1}`,o=e.customToasts.findIndex(i=>i.toastId===r);if(o!==-1){e.customToasts[o]=w(T(T({},e.customToasts[o]),t.payload),{type:"custom",toastId:r});return}e.customToasts.push(w(T({},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:Ue(),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(b,()=>oo),e.addCase(ao.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:Op,removeCustomToast:Mp,addTransactionToast:Fp,removeTransactionToast:Bp}=so.actions,et=so.reducer});var co,Qt,er,tr,na,Jt,lo,Gp,$p,Hp,rt,nt=f(()=>{"use strict";n();co=require("@reduxjs/toolkit");O();Qt="Transaction failed",er="Transaction successful",tr="Processing transaction",na="Transaction submitted",Jt={},lo=(0,co.createSlice)({name:"transactionsInfo",initialState:Jt,reducers:{setTransactionsDisplayInfo(e,t){let{sessionId:r,transactionsDisplayInfo:o}=t.payload;r!=null&&(e[r]={errorMessage:(o==null?void 0:o.errorMessage)||Qt,successMessage:(o==null?void 0:o.successMessage)||er,processingMessage:(o==null?void 0:o.processingMessage)||tr,submittedMessage:(o==null?void 0:o.submittedMessage)||na,transactionDuration:o==null?void 0:o.transactionDuration})},clearTransactionsInfoForSessionId(e,t){t.payload!=null&&delete e[t.payload]},clearTransactionsInfo:()=>Jt},extraReducers:e=>{e.addCase(b,()=>Jt)}}),{clearTransactionsInfo:Gp,setTransactionsDisplayInfo:$p,clearTransactionsInfoForSessionId:Hp}=lo.actions,rt=lo.reducer});function po(e){return e!=null&&(ga(e)||xa(e))}function ot(e){return e!=null&&(fa(e)||Sa(e))}function it(e){return e!=null&&(Ta(e)||wa(e))}function uo(e){return e!=null&&(ya(e)||Aa(e))}function mo(e){return e!=null&&ha(e)}function ga(e){return e!=null&&ia.includes(e)}function fa(e){return e!=null&&aa.includes(e)}function Ta(e){return e!=null&&sa.includes(e)}function ya(e){return e!=null&&ca.includes(e)}function ha(e){return e!=null&&la.includes(e)}function xa(e){return e!=null&&pa.includes(e)}function Sa(e){return e!=null&&ua.includes(e)}function wa(e){return e!=null&&da.includes(e)}function Aa(e){return e!=null&&ma.includes(e)}var ia,aa,sa,ca,la,pa,ua,da,ma,nr=f(()=>{"use strict";n();D();ia=["sent"],aa=["success"],sa=["fail","cancelled","timedOut"],ca=["invalid"],la=["timedOut"],pa=["pending"],ua=["success"],da=["fail","invalid"],ma=["not executed"]});var go,fo,we,va,To,Qp,eu,tu,ru,nu,ou,iu,au,su,cu,lu,at,st=f(()=>{"use strict";n();go=require("@reduxjs/toolkit"),fo=require("redux-persist");D();nr();O();we={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},va={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},To=(0,go.createSlice)({name:"transactionsSlice",initialState:we,reducers:{moveTransactionsToSignedState:(e,t)=>{var g,y;let{sessionId:r,transactions:o,errorMessage:i,status:l,redirectRoute:p,customTransactionInformation:d}=t.payload;e.customTransactionInformationForSessionId[r]=T(T(T({},va),((g=e.signedTransactions[r])==null?void 0:g.customTransactionInformation)||{}),e.customTransactionInformationForSessionId[r]||{}),e.signedTransactions[r]={transactions:o,status:l,errorMessage:i,redirectRoute:p,customTransactionInformation:T(T({},e.customTransactionInformationForSessionId[r]),d!=null?d:{})},((y=e==null?void 0:e.transactionsToSign)==null?void 0:y.sessionId)===r&&(e.transactionsToSign=we.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=T(T({},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 y,x,h,E,k,$,Pe,Tr;let{sessionId:r,status:o,errorMessage:i,transactionHash:l,serverTransaction:p,inTransit:d}=t.payload,g=(x=(y=e.signedTransactions)==null?void 0:y[r])==null?void 0:x.transactions;if(g!=null){e.signedTransactions[r].transactions=g.map(H=>H.hash===l?w(T(T({},p!=null?p:{}),H),{status:o,errorMessage:i,inTransit:d}):H);let ci=(E=(h=e.signedTransactions[r])==null?void 0:h.transactions)==null?void 0:E.every(H=>ot(H.status)),li=($=(k=e.signedTransactions[r])==null?void 0:k.transactions)==null?void 0:$.some(H=>it(H.status)),pi=(Tr=(Pe=e.signedTransactions[r])==null?void 0:Pe.transactions)==null?void 0:Tr.every(H=>uo(H.status));ci&&(e.signedTransactions[r].status="success"),li&&(e.signedTransactions[r].status="fail"),pi&&(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=we.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=we.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=T(T({},e.signedTransactions[r].customTransactionInformation),o))}},extraReducers:e=>{e.addCase(b,()=>we),e.addCase(fo.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,[g,y])=>{let x=new Date(g),h=new Date;return h.setHours(h.getHours()+5),h-x>0||(d[g]=y),d},{});i!=null&&(t.customTransactionInformationForSessionId=i),o!=null&&(t.signedTransactions=l)})}}),{updateSignedTransactionStatus:Qp,updateSignedTransactions:eu,setTransactionsToSign:tu,clearAllTransactionsToSign:ru,clearAllSignedTransactions:nu,clearSignedTransaction:ou,clearTransactionToSign:iu,setSignTransactionsError:au,setSignTransactionsCancelMessage:su,moveTransactionsToSignedState:cu,updateSignedTransactionsCustomTransactionInformation:lu}=To.actions,at=To.reducer});var yo,or,ho,mu,gu,fu,Tu,ct,lt=f(()=>{"use strict";n();yo=require("@reduxjs/toolkit");O();or={},ho=(0,yo.createSlice)({name:"batchTransactionsSlice",initialState:or,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:()=>or},extraReducers:e=>{e.addCase(b,()=>or)}}),{setBatchTransactions:mu,updateBatchTransactions:gu,clearBatchTransactions:fu,clearAllBatchTransactions:Tu}=ho.actions,ct=ho.reducer});var So,xo,wo,Su,Ao,ir=f(()=>{"use strict";n();So=require("@reduxjs/toolkit");O();xo={},wo=(0,So.createSlice)({name:"dappConfigSlice",initialState:xo,reducers:{setDappConfig:(e,t)=>t.payload},extraReducers:e=>{e.addCase(b,()=>xo)}}),{setDappConfig:Su}=wo.actions,Ao=wo.reducer});var me=f(()=>{"use strict";n();qe();ze();Xe();Ze();Qe();tt();nt();st();lt();ir()});var pr=f(()=>{"use strict";n()});var Do,Pa,Ca,ie,ft=f(()=>{"use strict";n();Do=require("@reduxjs/toolkit");pr();qe();lt();ir();ze();Xe();Ze();Qe();tt();nt();st();Pa={["account"]:He,["dappConfig"]:Ao,["loginInfo"]:je,["modals"]:Ke,["networkConfig"]:Ye,["signedMessageInfo"]:Je,["toasts"]:et,["transactionsInfo"]:rt,["transactions"]:at,["batchTransactions"]:ct},Ca=(e={})=>(0,Do.combineReducers)(T(T({},Pa),e)),ie=Ca});var Fo={};ee(Fo,{default:()=>Ka,sessionStorageReducers:()=>ur});function Y(e,t=[]){return{key:e,version:1,storage:Oo.default,blacklist:t}}var R,_o,Oo,Da,be,_a,Oa,Ma,Fa,Ba,Ua,Wa,Va,Ga,$a,Mo,Ha,ur,qa,ja,za,Ka,Bo=f(()=>{"use strict";n();R=require("redux-persist"),_o=A(require("redux-persist/lib/storage")),Oo=A(require("redux-persist/lib/storage/session"));ft();me();qe();lt();ze();Xe();Ze();Qe();tt();nt();st();pr();Da={persistReducersStorageType:"localStorage"},be={["account"]:"sdk-dapp-account",["loginInfo"]:"sdk-dapp-login-info",["modals"]:"sdk-dapp-modals",["networkConfig"]:"sdk-dapp-network-config"},_a=Y(be["account"]),Oa=Y(be["loginInfo"]),Ma=Y(be["modals"]),Fa=Y(be["networkConfig"]),Ba={2:e=>w(T({},e),{networkConfig:Yt})};Ua=Y("sdk-dapp-transactionsInfo"),Wa=Y("sdk-dapp-transactions",["transactionsToSign"]),Va=Y("sdk-dapp-batchTransactions",["batchTransactions"]),Ga=Y("sdk-dapp-toasts"),$a=Y("sdk-dapp-signedMessageInfo"),Mo={key:"sdk-dapp-store",version:2,storage:_o.default,whitelist:Object.keys(be),migrate:(0,R.createMigrate)(Ba,{debug:!1})},Ha=w(T({},Mo),{whitelist:[]}),ur={["toasts"]:(0,R.persistReducer)(Ga,et),["transactions"]:(0,R.persistReducer)(Wa,at),["transactionsInfo"]:(0,R.persistReducer)(Ua,rt),["batchTransactions"]:(0,R.persistReducer)(Va,ct),["signedMessageInfo"]:(0,R.persistReducer)($a,Je)},qa=w(T({},ur),{["account"]:(0,R.persistReducer)(_a,He),["loginInfo"]:(0,R.persistReducer)(Oa,je),["modals"]:(0,R.persistReducer)(Ma,Ke),["networkConfig"]:(0,R.persistReducer)(Fa,Ye)}),ja=Da.persistReducersStorageType==="localStorage",za=ja?(0,R.persistReducer)(Mo,ie(ur)):(0,R.persistReducer)(Ha,ie(qa)),Ka=za});var Uo={};ee(Uo,{default:()=>Xa});var Xa,Wo=f(()=>{"use strict";n();ft();Xa=ie()});var Vo={};ee(Vo,{default:()=>Za});var C,Ya,Za,Go=f(()=>{"use strict";n();C=require("redux-persist"),Ya=[C.FLUSH,C.REHYDRATE,C.PAUSE,C.PERSIST,C.PURGE,C.REGISTER],Za=Ya});var qo={};ee(qo,{default:()=>Ho});function Ho(e){return(0,$o.persistStore)(e)}var $o,jo=f(()=>{"use strict";n();$o=require("redux-persist")});var Os={};ee(Os,{getAddress:()=>_s});module.exports=Te(Os);n();n();n();n();var hn=require("@multiversx/sdk-extension-provider"),xn=require("@multiversx/sdk-hw-provider"),Sn=require("@multiversx/sdk-metamask-provider/out/metamaskProvider"),wn=require("@multiversx/sdk-opera-provider"),An=require("@multiversx/sdk-passkey-provider/out"),vn=require("@multiversx/sdk-web-wallet-iframe-provider/out"),bn=require("@multiversx/sdk-web-wallet-provider");S();n();var Vt=require("@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider");D();n();var Tn=ue;var In=e=>{switch(e==null?void 0:e.constructor){case bn.WalletProvider:return"wallet";case Tn:return"walletconnectv2";case xn.HWProvider:return"ledger";case hn.ExtensionProvider:return"extension";case An.PasskeyProvider:return"passkey";case Sn.MetamaskProvider:return"metamask";case wn.OperaProvider:return"opera";case Vt.CrossWindowProvider:return"crossWindow";case vn.IframeProvider:return"iframe";case ue:return"";default:return"extra"}};var K=e=>`Unable to perform ${e}, Provider not initialized`,ue=class{init(){return Promise.resolve(!1)}login(t){throw new Error(K(`login with options: ${t}`))}logout(t){throw new Error(K(`logout with options: ${t}`))}getAddress(){throw new Error(K("getAddress"))}isInitialized(){return!1}isConnected(){return Promise.resolve(!1)}sendTransaction(t,r){throw new Error(K(`sendTransaction with transactions: ${t} options: ${r}`))}signTransaction(t,r){throw new Error(K(`signTransaction with transactions: ${t} options: ${r}`))}signTransactions(t,r){throw new Error(K(`signTransactions with transactions: ${t} options: ${r}`))}signMessage(t,r){throw new Error(K(`signTransactions with ${t} and options ${r}`))}sendCustomMessage({method:t,params:r}){throw new Error(K(`sendCustomMessage with method: ${t} params: ${r}`))}sendCustomRequest(t){throw new Error(K(`sendSessionEvent with options: ${t}`))}ping(){return Promise.resolve(!1)}},Gt=new ue;var Xi=Gt;function ye(){return Xi||Gt}n();n();me();n();var vo=A(require("lodash.isequal")),pt=require("reselect"),m=(0,pt.createSelectorCreator)(pt.defaultMemoize,vo.default);var V=e=>e.account,Ae=m(V,e=>e.address),ar=m(V,Ae,(e,t)=>t in e.accounts?e.accounts[t]:$e),Mu=m(V,ar,(e,t)=>{let i=e,{accounts:r}=i,o=xr(i,["accounts"]);return w(T({},o),{address:t.address,account:t})}),Fu=m(ar,e=>e.balance),Bu=m(ar,e=>{var t;return((t=e==null?void 0:e.nonce)==null?void 0:t.valueOf())||0}),Uu=m(V,e=>e.shard),Wu=m(V,e=>e.ledgerAccount),Vu=m(V,e=>e.walletConnectAccount),Gu=m(V,e=>e.isAccountLoading),$u=m(V,e=>e.accountLoadingError),Hu=m(V,e=>e.websocketEvent),qu=m(V,e=>e.websocketBatchEvent);n();var ba=e=>e.dappConfig,Ku=m(ba,e=>e.shouldUseWebViewProvider);n();var X=e=>e.loginInfo,Ju=m(X,e=>e.loginMethod),bo=m(X,Ae,(e,t)=>Boolean(t)),Qu=m(X,e=>e.walletConnectLogin),ed=m(X,e=>e.ledgerLogin),Io=m(X,e=>e.walletLogin),td=m(X,e=>e.isLoginSessionInvalid),rd=m(X,e=>e.tokenLogin),nd=m(X,e=>e.logoutRoute),od=m(X,e=>e.isWalletConnectV2Initialized);n();var ko=e=>e.modals,sd=m(ko,e=>e.txSubmittedModal),cd=m(ko,e=>e.notificationModal);n();var J=e=>e.networkConfig,ud=m(J,e=>e.network.chainId),dd=m(J,e=>e.network.roundDuration),md=m(J,e=>e.network.walletConnectBridgeAddress),gd=m(J,e=>e.network.walletConnectV2RelayAddress),fd=m(J,e=>e.network.walletConnectV2ProjectId),Td=m(J,e=>e.network.walletConnectV2Options),yd=m(J,e=>e.network.walletConnectDeepLink),ve=m(J,e=>e.network),hd=m(ve,e=>e.apiAddress),Eo=m(ve,e=>e.explorerAddress),xd=m(ve,e=>{var t;return(t=e.customWalletAddress)!=null?t:e.walletAddress}),Sd=m(ve,e=>e.xAliasAddress),wd=m(ve,e=>e.egldLabel);n();var ut=e=>e.signedMessageInfo,bd=m(ut,e=>e.isSigning),Id=m(ut,e=>e.errorMessage),kd=m(ut,e=>{let t=Object.keys(e.signedSessions),r=t.length;return e.signedSessions[t[r-1]]}),Ed=m(ut,e=>{let t=Object.keys(e.signedSessions),r=t.length;return t.length>0?t[r-1]:""});n();var Lo=e=>e.toasts,Rd=m(Lo,e=>e.customToasts),Pd=m(Lo,e=>e.transactionToasts);n();me();var No={errorMessage:Qt,successMessage:er,processingMessage:tr},Ia=e=>e.transactionsInfo,Od=m(Ia,(e,t)=>t,(e,t)=>t!=null&&(e==null?void 0:e[Number(t)])||No);n();n();var G=require("@multiversx/sdk-core");S();n();var cr=require("@multiversx/sdk-core/out");n();n();function sr(e){try{let t=atob(e),r=btoa(t),o=a.Buffer.from(e,"base64").toString(),i=a.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}n();n();n();n();var Ro=e=>{let t=e!=null?e:"";return sr(t)?cr.TransactionPayload.fromEncoded(t):new cr.TransactionPayload(t)};n();S();var dt=({data:e,onlySetGuardian:t})=>e?t?e.startsWith("SetGuardian"):Object.values(Ct).some(r=>e.startsWith(r)):!1;function lr(e){var o,i,l;let t=T({},e);dt({data:t.data,onlySetGuardian:!0})&&(delete t.senderUsername,delete t.receiverUsername);let r=new G.Transaction(T(T(w(T(w(T({value:t.value.valueOf(),data:Ro(t.data),nonce:t.nonce.valueOf(),receiver:new G.Address(t.receiver)},t.receiverUsername?{receiverUsername:t.receiverUsername}:{}),{sender:new G.Address(t.sender)}),t.senderUsername?{senderUsername:t.senderUsername}:{}),{gasLimit:(o=t.gasLimit.valueOf())!=null?o:Ut,gasPrice:(i=t.gasPrice.valueOf())!=null?i:Wt,chainID:t.chainID.valueOf(),version:new G.TransactionVersion((l=t.version)!=null?l:gn)}),t.options?{options:new G.TransactionOptions(t.options)}:{}),t.guardian?{guardian:new G.Address(t.guardian)}:{}));return t.guardianSignature&&r.applyGuardianSignature(a.Buffer.from(t.guardianSignature,"hex")),t.signature&&r.applySignature(a.Buffer.from(t.signature,"hex")),r}n();n();S();n();n();var dr=require("@reduxjs/toolkit"),Yo=require("react-redux/lib/utils/Subscription");me();n();var Po=A(require("lodash.throttle"));S();me();Xt();Ve();he();var La=[Be],mt=!1,Na=(0,Po.default)(()=>{Se(xe())},5e3),Co=e=>t=>r=>{if(La.includes(r.type))return t(r);let o=e.getState(),i=de.local.getItem(oe.loginExpiresAt);if(!Boolean(o==null?void 0:o.account.address))return t(r);if(i==null)return Se(xe());let p=Date.now();return i-p<0&&!mt?setTimeout(()=>{mt=!0,e.dispatch(Gn())},1e3):(mt&&(mt=!1),Na()),t(r)};n();n();function gt(){return typeof sessionStorage!="undefined"}var zo=gt()?(Bo(),Te(Fo)).default:(Wo(),Te(Uo)).default,Ko=gt()?(Go(),Te(Vo)).default:[],Xo=gt()?(jo(),Te(qo)).default:e=>e;ft();var ge=(0,dr.configureStore)({reducer:zo,middleware:e=>e({serializableCheck:{ignoredActions:[...Ko,Bn.type,Fn.type],ignoredPaths:["payload.nonce","account.account.nonce","providers.accountProvider"]}}).concat(Co)}),Hm=(0,Yo.createSubscription)(ge),qm=Xo(ge),jm=(0,dr.configureStore)({reducer:ie});n();n();var Qa=require("@multiversx/sdk-core/out");n();S();n();var Jo=require("@multiversx/sdk-core");_();n();var Zo=require("@multiversx/sdk-core");function es(e){try{let t=new Zo.Address(e);return Boolean(t.bech32())}catch(t){return!1}}function Ie(e){return(e==null?void 0:e.length)===62&&/^\w+$/.test(e)&&es(e)}n();n();n();var ts=require("@multiversx/sdk-core"),rs=A(require("bignumber.js"));D();n();n();n();n();n();n();n();N();n();n();N();n();n();n();var cs=A(require("bignumber.js"));S();n();var ss=require("@multiversx/sdk-core"),mr=A(require("bignumber.js"));S();n();var is=A(require("bignumber.js"));n();mr.default.config({ROUNDING_MODE:mr.default.ROUND_FLOOR});n();n();n();S();n();n();n();n();S();n();S();n();var ls=require("@multiversx/sdk-core");S();n();var Ee=require("@multiversx/sdk-core"),us=A(require("bignumber.js"));S();n();n();var ps=A(require("bignumber.js"));S();n();S();n();n();n();n();n();n();S();n();S();n();S();n();N();var ms=["reDelegateRewards","claimRewards","unBond"],gs=["wrapEgld","unwrapEgld"],fs=["unStake"],Ts=["unDelegate"];n();n();n();S();n();var xs=A(require("bignumber.js"));n();n();N();n();var ws=A(require("bignumber.js"));n();n();n();n();var vs=A(require("bignumber.js"));_();n();n();n();n();D();n();var ks=require("@multiversx/sdk-web-wallet-provider");S();n();var Is=A(require("qs"));n();n();n();n();n();var Le=()=>typeof window!="undefined"&&typeof(window==null?void 0:window.location)!="undefined";var Q=()=>{if(!Le())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}};n();n();var wh={search:Le()?window.location.search:"",removeParams:[]};n();n();n();n();N();n();n();n();var Es=A(require("linkifyjs"));n();S();n();var Ls=A(require("bignumber.js"));n();_();n();n();D();n();D();n();n();n();N();n();N();n();var Ns=A(require("bignumber.js"));S();N();n();N();n();var oi=require("react");_();n();n();N();n();n();var Rs=require("@multiversx/sdk-core/out"),Ps=A(require("bignumber.js"));N();n();_();n();n();_();var fS=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}];n();var ii=require("react");_();n();var Ds=require("react");N();var vS=["create","localMint","ESDTLocalMint","addQuantity","burn","localBurn","ESDTLocalBurn","wipe","writeLog","signalError"];nr();n();var ht=e=>e.transactions,Ne=m(ht,e=>e.signedTransactions),mw=m(ht,e=>e.signTransactionsError),gw=m(ht,e=>e.signTransactionsCancelMessage),xt=e=>t=>Object.entries(t).reduce((r,[o,i])=>(e(i.status)&&(r[o]=i),r),{}),fw=m(Ne,xt(po)),Tw=m(Ne,xt(ot)),yw=m(Ne,xt(it)),hw=m(Ne,xt(mo)),xw=m(ht,e=>{var t;return(e==null?void 0:e.transactionsToSign)==null?null:w(T({},e.transactionsToSign),{transactions:((t=e==null?void 0:e.transactionsToSign)==null?void 0:t.transactions.map(r=>lr(r)))||[]})}),Sw=m(Ne,(e,t)=>t,(e,t)=>t!=null?(e==null?void 0:e[t])||{}:{});D();n();n();function ai(){let e=ye();return In(e)}function Re(e){return ai()===e}n();var si=()=>{let{search:e}=Q(),t=new URLSearchParams(e),r=Object.fromEntries(t),o=r==null?void 0:r.address;return Ie(o)?o:null};function _s(){let e=ge.getState(),t=ye(),r=Ae(e),o=bo(e),i=Io(e);if(!t)throw"provider not initialized";return Re("ledger")&&o?new Promise(l=>{l(r)}):!Re("")&&!Re("wallet")&&!Re("extra")?t.getAddress():new Promise(l=>{let p=si();i!=null&&p&&l(p),o&&l(r),l("")})}0&&(module.exports={getAddress});
|
|
2
2
|
/*!
|
|
3
3
|
* The buffer module from node.js, for the browser.
|
|
4
4
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var Lr=Object.create;var N=Object.defineProperty;var Sr=Object.getOwnPropertyDescriptor;var Rr=Object.getOwnPropertyNames;var _r=Object.getPrototypeOf,Mr=Object.prototype.hasOwnProperty;var kr=(e,r)=>()=>(e&&(r=e(e=0)),r);var W=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports),br=(e,r)=>{for(var t in r)N(e,t,{get:r[t],enumerable:!0})},rr=(e,r,t,i)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of Rr(r))!Mr.call(e,n)&&n!==t&&N(e,n,{get:()=>r[n],enumerable:!(i=Sr(r,n))||i.enumerable});return e};var tr=(e,r,t)=>(t=e!=null?Lr(_r(e)):{},rr(r||!e||!e.__esModule?N(t,"default",{value:e,enumerable:!0}):t,e)),Dr=e=>rr(N({},"__esModule",{value:!0}),e);var nr=W(V=>{"use strict";y();V.byteLength=Wr;V.toByteArray=Yr;V.fromByteArray=Hr;var F=[],E=[],Nr=typeof Uint8Array!="undefined"?Uint8Array:Array,H="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(L=0,er=H.length;L<er;++L)F[L]=H[L],E[H.charCodeAt(L)]=L;var L,er;E["-".charCodeAt(0)]=62;E["_".charCodeAt(0)]=63;function ir(e){var r=e.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var t=e.indexOf("=");t===-1&&(t=r);var i=t===r?0:4-t%4;return[t,i]}function Wr(e){var r=ir(e),t=r[0],i=r[1];return(t+i)*3/4-i}function Vr(e,r,t){return(r+t)*3/4-t}function Yr(e){var r,t=ir(e),i=t[0],n=t[1],o=new Nr(Vr(e,i,n)),u=0,h=n>0?i-4:i,f;for(f=0;f<h;f+=4)r=E[e.charCodeAt(f)]<<18|E[e.charCodeAt(f+1)]<<12|E[e.charCodeAt(f+2)]<<6|E[e.charCodeAt(f+3)],o[u++]=r>>16&255,o[u++]=r>>8&255,o[u++]=r&255;return n===2&&(r=E[e.charCodeAt(f)]<<2|E[e.charCodeAt(f+1)]>>4,o[u++]=r&255),n===1&&(r=E[e.charCodeAt(f)]<<10|E[e.charCodeAt(f+1)]<<4|E[e.charCodeAt(f+2)]>>2,o[u++]=r>>8&255,o[u++]=r&255),o}function qr(e){return F[e>>18&63]+F[e>>12&63]+F[e>>6&63]+F[e&63]}function Gr(e,r,t){for(var i,n=[],o=r;o<t;o+=3)i=(e[o]<<16&16711680)+(e[o+1]<<8&65280)+(e[o+2]&255),n.push(qr(i));return n.join("")}function Hr(e){for(var r,t=e.length,i=t%3,n=[],o=16383,u=0,h=t-i;u<h;u+=o)n.push(Gr(e,u,u+o>h?h:u+o));return i===1?(r=e[t-1],n.push(F[r>>2]+F[r<<4&63]+"==")):i===2&&(r=(e[t-2]<<8)+e[t-1],n.push(F[r>>10]+F[r>>4&63]+F[r<<2&63]+"=")),n.join("")}});var or=W(X=>{y();X.read=function(e,r,t,i,n){var o,u,h=n*8-i-1,f=(1<<h)-1,c=f>>1,l=-7,p=t?n-1:0,g=t?-1:1,m=e[r+p];for(p+=g,o=m&(1<<-l)-1,m>>=-l,l+=h;l>0;o=o*256+e[r+p],p+=g,l-=8);for(u=o&(1<<-l)-1,o>>=-l,l+=i;l>0;u=u*256+e[r+p],p+=g,l-=8);if(o===0)o=1-c;else{if(o===f)return u?NaN:(m?-1:1)*(1/0);u=u+Math.pow(2,i),o=o-c}return(m?-1:1)*u*Math.pow(2,o-i)};X.write=function(e,r,t,i,n,o){var u,h,f,c=o*8-n-1,l=(1<<c)-1,p=l>>1,g=n===23?Math.pow(2,-24)-Math.pow(2,-77):0,m=i?0:o-1,M=i?1:-1,Cr=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(h=isNaN(r)?1:0,u=l):(u=Math.floor(Math.log(r)/Math.LN2),r*(f=Math.pow(2,-u))<1&&(u--,f*=2),u+p>=1?r+=g/f:r+=g*Math.pow(2,1-p),r*f>=2&&(u++,f/=2),u+p>=l?(h=0,u=l):u+p>=1?(h=(r*f-1)*Math.pow(2,n),u=u+p):(h=r*Math.pow(2,p-1)*Math.pow(2,n),u=0));n>=8;e[t+m]=h&255,m+=M,h/=256,n-=8);for(u=u<<n|h,c+=n;c>0;e[t+m]=u&255,m+=M,u/=256,c-=8);e[t+m-M]|=Cr*128}});var Er=W(b=>{"use strict";y();var z=nr(),k=or(),ur=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;b.Buffer=a;b.SlowBuffer=Qr;b.INSPECT_MAX_BYTES=50;var Y=2147483647;b.kMaxLength=Y;a.TYPED_ARRAY_SUPPORT=Xr();!a.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 Xr(){try{var e=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(e,r),e.foo()===42}catch(t){return!1}}Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(!!a.isBuffer(this))return this.buffer}});Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(!!a.isBuffer(this))return this.byteOffset}});function U(e){if(e>Y)throw new RangeError('The value "'+e+'" is invalid for option "size"');var r=new Uint8Array(e);return Object.setPrototypeOf(r,a.prototype),r}function a(e,r,t){if(typeof e=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Q(e)}return fr(e,r,t)}a.poolSize=8192;function fr(e,r,t){if(typeof e=="string")return Jr(e,r);if(ArrayBuffer.isView(e))return Kr(e);if(e==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(B(e,ArrayBuffer)||e&&B(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(B(e,SharedArrayBuffer)||e&&B(e.buffer,SharedArrayBuffer)))return K(e,r,t);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var i=e.valueOf&&e.valueOf();if(i!=null&&i!==e)return a.from(i,r,t);var n=Or(e);if(n)return n;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return a.from(e[Symbol.toPrimitive]("string"),r,t);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}a.from=function(e,r,t){return fr(e,r,t)};Object.setPrototypeOf(a.prototype,Uint8Array.prototype);Object.setPrototypeOf(a,Uint8Array);function pr(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 zr(e,r,t){return pr(e),e<=0?U(e):r!==void 0?typeof t=="string"?U(e).fill(r,t):U(e).fill(r):U(e)}a.alloc=function(e,r,t){return zr(e,r,t)};function Q(e){return pr(e),U(e<0?0:Z(e)|0)}a.allocUnsafe=function(e){return Q(e)};a.allocUnsafeSlow=function(e){return Q(e)};function Jr(e,r){if((typeof r!="string"||r==="")&&(r="utf8"),!a.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var t=cr(e,r)|0,i=U(t),n=i.write(e,r);return n!==t&&(i=i.slice(0,n)),i}function J(e){for(var r=e.length<0?0:Z(e.length)|0,t=U(r),i=0;i<r;i+=1)t[i]=e[i]&255;return t}function Kr(e){if(B(e,Uint8Array)){var r=new Uint8Array(e);return K(r.buffer,r.byteOffset,r.byteLength)}return J(e)}function K(e,r,t){if(r<0||e.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<r+(t||0))throw new RangeError('"length" is outside of buffer bounds');var i;return r===void 0&&t===void 0?i=new Uint8Array(e):t===void 0?i=new Uint8Array(e,r):i=new Uint8Array(e,r,t),Object.setPrototypeOf(i,a.prototype),i}function Or(e){if(a.isBuffer(e)){var r=Z(e.length)|0,t=U(r);return t.length===0||e.copy(t,0,0,r),t}if(e.length!==void 0)return typeof e.length!="number"||$(e.length)?U(0):J(e);if(e.type==="Buffer"&&Array.isArray(e.data))return J(e.data)}function Z(e){if(e>=Y)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Y.toString(16)+" bytes");return e|0}function Qr(e){return+e!=e&&(e=0),a.alloc(+e)}a.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==a.prototype};a.compare=function(r,t){if(B(r,Uint8Array)&&(r=a.from(r,r.offset,r.byteLength)),B(t,Uint8Array)&&(t=a.from(t,t.offset,t.byteLength)),!a.isBuffer(r)||!a.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===t)return 0;for(var i=r.length,n=t.length,o=0,u=Math.min(i,n);o<u;++o)if(r[o]!==t[o]){i=r[o],n=t[o];break}return i<n?-1:n<i?1:0};a.isEncoding=function(r){switch(String(r).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}};a.concat=function(r,t){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return a.alloc(0);var i;if(t===void 0)for(t=0,i=0;i<r.length;++i)t+=r[i].length;var n=a.allocUnsafe(t),o=0;for(i=0;i<r.length;++i){var u=r[i];if(B(u,Uint8Array))o+u.length>n.length?a.from(u).copy(n,o):Uint8Array.prototype.set.call(n,u,o);else if(a.isBuffer(u))u.copy(n,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=u.length}return n};function cr(e,r){if(a.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||B(e,ArrayBuffer))return e.byteLength;if(typeof e!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var t=e.length,i=arguments.length>2&&arguments[2]===!0;if(!i&&t===0)return 0;for(var n=!1;;)switch(r){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return O(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return mr(e).length;default:if(n)return i?-1:O(e).length;r=(""+r).toLowerCase(),n=!0}}a.byteLength=cr;function Zr(e,r,t){var i=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((t===void 0||t>this.length)&&(t=this.length),t<=0)||(t>>>=0,r>>>=0,t<=r))return"";for(e||(e="utf8");;)switch(e){case"hex":return ut(this,r,t);case"utf8":case"utf-8":return sr(this,r,t);case"ascii":return nt(this,r,t);case"latin1":case"binary":return ot(this,r,t);case"base64":return et(this,r,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return at(this,r,t);default:if(i)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),i=!0}}a.prototype._isBuffer=!0;function R(e,r,t){var i=e[r];e[r]=e[t],e[t]=i}a.prototype.swap16=function(){var r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<r;t+=2)R(this,t,t+1);return this};a.prototype.swap32=function(){var r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<r;t+=4)R(this,t,t+3),R(this,t+1,t+2);return this};a.prototype.swap64=function(){var r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<r;t+=8)R(this,t,t+7),R(this,t+1,t+6),R(this,t+2,t+5),R(this,t+3,t+4);return this};a.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?sr(this,0,r):Zr.apply(this,arguments)};a.prototype.toLocaleString=a.prototype.toString;a.prototype.equals=function(r){if(!a.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:a.compare(this,r)===0};a.prototype.inspect=function(){var r="",t=b.INSPECT_MAX_BYTES;return r=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(r+=" ... "),"<Buffer "+r+">"};ur&&(a.prototype[ur]=a.prototype.inspect);a.prototype.compare=function(r,t,i,n,o){if(B(r,Uint8Array)&&(r=a.from(r,r.offset,r.byteLength)),!a.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(t===void 0&&(t=0),i===void 0&&(i=r?r.length:0),n===void 0&&(n=0),o===void 0&&(o=this.length),t<0||i>r.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&t>=i)return 0;if(n>=o)return-1;if(t>=i)return 1;if(t>>>=0,i>>>=0,n>>>=0,o>>>=0,this===r)return 0;for(var u=o-n,h=i-t,f=Math.min(u,h),c=this.slice(n,o),l=r.slice(t,i),p=0;p<f;++p)if(c[p]!==l[p]){u=c[p],h=l[p];break}return u<h?-1:h<u?1:0};function lr(e,r,t,i,n){if(e.length===0)return-1;if(typeof t=="string"?(i=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,$(t)&&(t=n?0:e.length-1),t<0&&(t=e.length+t),t>=e.length){if(n)return-1;t=e.length-1}else if(t<0)if(n)t=0;else return-1;if(typeof r=="string"&&(r=a.from(r,i)),a.isBuffer(r))return r.length===0?-1:ar(e,r,t,i,n);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?n?Uint8Array.prototype.indexOf.call(e,r,t):Uint8Array.prototype.lastIndexOf.call(e,r,t):ar(e,[r],t,i,n);throw new TypeError("val must be string, number or Buffer")}function ar(e,r,t,i,n){var o=1,u=e.length,h=r.length;if(i!==void 0&&(i=String(i).toLowerCase(),i==="ucs2"||i==="ucs-2"||i==="utf16le"||i==="utf-16le")){if(e.length<2||r.length<2)return-1;o=2,u/=2,h/=2,t/=2}function f(m,M){return o===1?m[M]:m.readUInt16BE(M*o)}var c;if(n){var l=-1;for(c=t;c<u;c++)if(f(e,c)===f(r,l===-1?0:c-l)){if(l===-1&&(l=c),c-l+1===h)return l*o}else l!==-1&&(c-=c-l),l=-1}else for(t+h>u&&(t=u-h),c=t;c>=0;c--){for(var p=!0,g=0;g<h;g++)if(f(e,c+g)!==f(r,g)){p=!1;break}if(p)return c}return-1}a.prototype.includes=function(r,t,i){return this.indexOf(r,t,i)!==-1};a.prototype.indexOf=function(r,t,i){return lr(this,r,t,i,!0)};a.prototype.lastIndexOf=function(r,t,i){return lr(this,r,t,i,!1)};function $r(e,r,t,i){t=Number(t)||0;var n=e.length-t;i?(i=Number(i),i>n&&(i=n)):i=n;var o=r.length;i>o/2&&(i=o/2);for(var u=0;u<i;++u){var h=parseInt(r.substr(u*2,2),16);if($(h))return u;e[t+u]=h}return u}function Pr(e,r,t,i){return q(O(r,e.length-t),e,t,i)}function jr(e,r,t,i){return q(pt(r),e,t,i)}function rt(e,r,t,i){return q(mr(r),e,t,i)}function tt(e,r,t,i){return q(ct(r,e.length-t),e,t,i)}a.prototype.write=function(r,t,i,n){if(t===void 0)n="utf8",i=this.length,t=0;else if(i===void 0&&typeof t=="string")n=t,i=this.length,t=0;else if(isFinite(t))t=t>>>0,isFinite(i)?(i=i>>>0,n===void 0&&(n="utf8")):(n=i,i=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-t;if((i===void 0||i>o)&&(i=o),r.length>0&&(i<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var u=!1;;)switch(n){case"hex":return $r(this,r,t,i);case"utf8":case"utf-8":return Pr(this,r,t,i);case"ascii":case"latin1":case"binary":return jr(this,r,t,i);case"base64":return rt(this,r,t,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return tt(this,r,t,i);default:if(u)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),u=!0}};a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function et(e,r,t){return r===0&&t===e.length?z.fromByteArray(e):z.fromByteArray(e.slice(r,t))}function sr(e,r,t){t=Math.min(e.length,t);for(var i=[],n=r;n<t;){var o=e[n],u=null,h=o>239?4:o>223?3:o>191?2:1;if(n+h<=t){var f,c,l,p;switch(h){case 1:o<128&&(u=o);break;case 2:f=e[n+1],(f&192)===128&&(p=(o&31)<<6|f&63,p>127&&(u=p));break;case 3:f=e[n+1],c=e[n+2],(f&192)===128&&(c&192)===128&&(p=(o&15)<<12|(f&63)<<6|c&63,p>2047&&(p<55296||p>57343)&&(u=p));break;case 4:f=e[n+1],c=e[n+2],l=e[n+3],(f&192)===128&&(c&192)===128&&(l&192)===128&&(p=(o&15)<<18|(f&63)<<12|(c&63)<<6|l&63,p>65535&&p<1114112&&(u=p))}}u===null?(u=65533,h=1):u>65535&&(u-=65536,i.push(u>>>10&1023|55296),u=56320|u&1023),i.push(u),n+=h}return it(i)}var hr=4096;function it(e){var r=e.length;if(r<=hr)return String.fromCharCode.apply(String,e);for(var t="",i=0;i<r;)t+=String.fromCharCode.apply(String,e.slice(i,i+=hr));return t}function nt(e,r,t){var i="";t=Math.min(e.length,t);for(var n=r;n<t;++n)i+=String.fromCharCode(e[n]&127);return i}function ot(e,r,t){var i="";t=Math.min(e.length,t);for(var n=r;n<t;++n)i+=String.fromCharCode(e[n]);return i}function ut(e,r,t){var i=e.length;(!r||r<0)&&(r=0),(!t||t<0||t>i)&&(t=i);for(var n="",o=r;o<t;++o)n+=lt[e[o]];return n}function at(e,r,t){for(var i=e.slice(r,t),n="",o=0;o<i.length-1;o+=2)n+=String.fromCharCode(i[o]+i[o+1]*256);return n}a.prototype.slice=function(r,t){var i=this.length;r=~~r,t=t===void 0?i:~~t,r<0?(r+=i,r<0&&(r=0)):r>i&&(r=i),t<0?(t+=i,t<0&&(t=0)):t>i&&(t=i),t<r&&(t=r);var n=this.subarray(r,t);return Object.setPrototypeOf(n,a.prototype),n};function w(e,r,t){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+r>t)throw new RangeError("Trying to access beyond buffer length")}a.prototype.readUintLE=a.prototype.readUIntLE=function(r,t,i){r=r>>>0,t=t>>>0,i||w(r,t,this.length);for(var n=this[r],o=1,u=0;++u<t&&(o*=256);)n+=this[r+u]*o;return n};a.prototype.readUintBE=a.prototype.readUIntBE=function(r,t,i){r=r>>>0,t=t>>>0,i||w(r,t,this.length);for(var n=this[r+--t],o=1;t>0&&(o*=256);)n+=this[r+--t]*o;return n};a.prototype.readUint8=a.prototype.readUInt8=function(r,t){return r=r>>>0,t||w(r,1,this.length),this[r]};a.prototype.readUint16LE=a.prototype.readUInt16LE=function(r,t){return r=r>>>0,t||w(r,2,this.length),this[r]|this[r+1]<<8};a.prototype.readUint16BE=a.prototype.readUInt16BE=function(r,t){return r=r>>>0,t||w(r,2,this.length),this[r]<<8|this[r+1]};a.prototype.readUint32LE=a.prototype.readUInt32LE=function(r,t){return r=r>>>0,t||w(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216};a.prototype.readUint32BE=a.prototype.readUInt32BE=function(r,t){return r=r>>>0,t||w(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};a.prototype.readIntLE=function(r,t,i){r=r>>>0,t=t>>>0,i||w(r,t,this.length);for(var n=this[r],o=1,u=0;++u<t&&(o*=256);)n+=this[r+u]*o;return o*=128,n>=o&&(n-=Math.pow(2,8*t)),n};a.prototype.readIntBE=function(r,t,i){r=r>>>0,t=t>>>0,i||w(r,t,this.length);for(var n=t,o=1,u=this[r+--n];n>0&&(o*=256);)u+=this[r+--n]*o;return o*=128,u>=o&&(u-=Math.pow(2,8*t)),u};a.prototype.readInt8=function(r,t){return r=r>>>0,t||w(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};a.prototype.readInt16LE=function(r,t){r=r>>>0,t||w(r,2,this.length);var i=this[r]|this[r+1]<<8;return i&32768?i|4294901760:i};a.prototype.readInt16BE=function(r,t){r=r>>>0,t||w(r,2,this.length);var i=this[r+1]|this[r]<<8;return i&32768?i|4294901760:i};a.prototype.readInt32LE=function(r,t){return r=r>>>0,t||w(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};a.prototype.readInt32BE=function(r,t){return r=r>>>0,t||w(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};a.prototype.readFloatLE=function(r,t){return r=r>>>0,t||w(r,4,this.length),k.read(this,r,!0,23,4)};a.prototype.readFloatBE=function(r,t){return r=r>>>0,t||w(r,4,this.length),k.read(this,r,!1,23,4)};a.prototype.readDoubleLE=function(r,t){return r=r>>>0,t||w(r,8,this.length),k.read(this,r,!0,52,8)};a.prototype.readDoubleBE=function(r,t){return r=r>>>0,t||w(r,8,this.length),k.read(this,r,!1,52,8)};function x(e,r,t,i,n,o){if(!a.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>n||r<o)throw new RangeError('"value" argument is out of bounds');if(t+i>e.length)throw new RangeError("Index out of range")}a.prototype.writeUintLE=a.prototype.writeUIntLE=function(r,t,i,n){if(r=+r,t=t>>>0,i=i>>>0,!n){var o=Math.pow(2,8*i)-1;x(this,r,t,i,o,0)}var u=1,h=0;for(this[t]=r&255;++h<i&&(u*=256);)this[t+h]=r/u&255;return t+i};a.prototype.writeUintBE=a.prototype.writeUIntBE=function(r,t,i,n){if(r=+r,t=t>>>0,i=i>>>0,!n){var o=Math.pow(2,8*i)-1;x(this,r,t,i,o,0)}var u=i-1,h=1;for(this[t+u]=r&255;--u>=0&&(h*=256);)this[t+u]=r/h&255;return t+i};a.prototype.writeUint8=a.prototype.writeUInt8=function(r,t,i){return r=+r,t=t>>>0,i||x(this,r,t,1,255,0),this[t]=r&255,t+1};a.prototype.writeUint16LE=a.prototype.writeUInt16LE=function(r,t,i){return r=+r,t=t>>>0,i||x(this,r,t,2,65535,0),this[t]=r&255,this[t+1]=r>>>8,t+2};a.prototype.writeUint16BE=a.prototype.writeUInt16BE=function(r,t,i){return r=+r,t=t>>>0,i||x(this,r,t,2,65535,0),this[t]=r>>>8,this[t+1]=r&255,t+2};a.prototype.writeUint32LE=a.prototype.writeUInt32LE=function(r,t,i){return r=+r,t=t>>>0,i||x(this,r,t,4,4294967295,0),this[t+3]=r>>>24,this[t+2]=r>>>16,this[t+1]=r>>>8,this[t]=r&255,t+4};a.prototype.writeUint32BE=a.prototype.writeUInt32BE=function(r,t,i){return r=+r,t=t>>>0,i||x(this,r,t,4,4294967295,0),this[t]=r>>>24,this[t+1]=r>>>16,this[t+2]=r>>>8,this[t+3]=r&255,t+4};a.prototype.writeIntLE=function(r,t,i,n){if(r=+r,t=t>>>0,!n){var o=Math.pow(2,8*i-1);x(this,r,t,i,o-1,-o)}var u=0,h=1,f=0;for(this[t]=r&255;++u<i&&(h*=256);)r<0&&f===0&&this[t+u-1]!==0&&(f=1),this[t+u]=(r/h>>0)-f&255;return t+i};a.prototype.writeIntBE=function(r,t,i,n){if(r=+r,t=t>>>0,!n){var o=Math.pow(2,8*i-1);x(this,r,t,i,o-1,-o)}var u=i-1,h=1,f=0;for(this[t+u]=r&255;--u>=0&&(h*=256);)r<0&&f===0&&this[t+u+1]!==0&&(f=1),this[t+u]=(r/h>>0)-f&255;return t+i};a.prototype.writeInt8=function(r,t,i){return r=+r,t=t>>>0,i||x(this,r,t,1,127,-128),r<0&&(r=255+r+1),this[t]=r&255,t+1};a.prototype.writeInt16LE=function(r,t,i){return r=+r,t=t>>>0,i||x(this,r,t,2,32767,-32768),this[t]=r&255,this[t+1]=r>>>8,t+2};a.prototype.writeInt16BE=function(r,t,i){return r=+r,t=t>>>0,i||x(this,r,t,2,32767,-32768),this[t]=r>>>8,this[t+1]=r&255,t+2};a.prototype.writeInt32LE=function(r,t,i){return r=+r,t=t>>>0,i||x(this,r,t,4,2147483647,-2147483648),this[t]=r&255,this[t+1]=r>>>8,this[t+2]=r>>>16,this[t+3]=r>>>24,t+4};a.prototype.writeInt32BE=function(r,t,i){return r=+r,t=t>>>0,i||x(this,r,t,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[t]=r>>>24,this[t+1]=r>>>16,this[t+2]=r>>>8,this[t+3]=r&255,t+4};function wr(e,r,t,i,n,o){if(t+i>e.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function yr(e,r,t,i,n){return r=+r,t=t>>>0,n||wr(e,r,t,4,34028234663852886e22,-34028234663852886e22),k.write(e,r,t,i,23,4),t+4}a.prototype.writeFloatLE=function(r,t,i){return yr(this,r,t,!0,i)};a.prototype.writeFloatBE=function(r,t,i){return yr(this,r,t,!1,i)};function xr(e,r,t,i,n){return r=+r,t=t>>>0,n||wr(e,r,t,8,17976931348623157e292,-17976931348623157e292),k.write(e,r,t,i,52,8),t+8}a.prototype.writeDoubleLE=function(r,t,i){return xr(this,r,t,!0,i)};a.prototype.writeDoubleBE=function(r,t,i){return xr(this,r,t,!1,i)};a.prototype.copy=function(r,t,i,n){if(!a.isBuffer(r))throw new TypeError("argument should be a Buffer");if(i||(i=0),!n&&n!==0&&(n=this.length),t>=r.length&&(t=r.length),t||(t=0),n>0&&n<i&&(n=i),n===i||r.length===0||this.length===0)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(i<0||i>=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),r.length-t<n-i&&(n=r.length-t+i);var o=n-i;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(t,i,n):Uint8Array.prototype.set.call(r,this.subarray(i,n),t),o};a.prototype.fill=function(r,t,i,n){if(typeof r=="string"){if(typeof t=="string"?(n=t,t=0,i=this.length):typeof i=="string"&&(n=i,i=this.length),n!==void 0&&typeof n!="string")throw new TypeError("encoding must be a string");if(typeof n=="string"&&!a.isEncoding(n))throw new TypeError("Unknown encoding: "+n);if(r.length===1){var o=r.charCodeAt(0);(n==="utf8"&&o<128||n==="latin1")&&(r=o)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(t<0||this.length<t||this.length<i)throw new RangeError("Out of range index");if(i<=t)return this;t=t>>>0,i=i===void 0?this.length:i>>>0,r||(r=0);var u;if(typeof r=="number")for(u=t;u<i;++u)this[u]=r;else{var h=a.isBuffer(r)?r:a.from(r,n),f=h.length;if(f===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(u=0;u<i-t;++u)this[u+t]=h[u%f]}return this};var ht=/[^+/0-9A-Za-z-_]/g;function ft(e){if(e=e.split("=")[0],e=e.trim().replace(ht,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function O(e,r){r=r||1/0;for(var t,i=e.length,n=null,o=[],u=0;u<i;++u){if(t=e.charCodeAt(u),t>55295&&t<57344){if(!n){if(t>56319){(r-=3)>-1&&o.push(239,191,189);continue}else if(u+1===i){(r-=3)>-1&&o.push(239,191,189);continue}n=t;continue}if(t<56320){(r-=3)>-1&&o.push(239,191,189),n=t;continue}t=(n-55296<<10|t-56320)+65536}else n&&(r-=3)>-1&&o.push(239,191,189);if(n=null,t<128){if((r-=1)<0)break;o.push(t)}else if(t<2048){if((r-=2)<0)break;o.push(t>>6|192,t&63|128)}else if(t<65536){if((r-=3)<0)break;o.push(t>>12|224,t>>6&63|128,t&63|128)}else if(t<1114112){if((r-=4)<0)break;o.push(t>>18|240,t>>12&63|128,t>>6&63|128,t&63|128)}else throw new Error("Invalid code point")}return o}function pt(e){for(var r=[],t=0;t<e.length;++t)r.push(e.charCodeAt(t)&255);return r}function ct(e,r){for(var t,i,n,o=[],u=0;u<e.length&&!((r-=2)<0);++u)t=e.charCodeAt(u),i=t>>8,n=t%256,o.push(n),o.push(i);return o}function mr(e){return z.toByteArray(ft(e))}function q(e,r,t,i){for(var n=0;n<i&&!(n+t>=r.length||n>=e.length);++n)r[n+t]=e[n];return n}function B(e,r){return e instanceof r||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===r.name}function $(e){return e!==e}var lt=function(){for(var e="0123456789abcdef",r=new Array(256),t=0;t<16;++t)for(var i=t*16,n=0;n<16;++n)r[i+n]=e[t]+e[n];return r}()});var vr=W((At,Ar)=>{y();var s=Ar.exports={},A,v;function P(){throw new Error("setTimeout has not been defined")}function j(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?A=setTimeout:A=P}catch(e){A=P}try{typeof clearTimeout=="function"?v=clearTimeout:v=j}catch(e){v=j}})();function gr(e){if(A===setTimeout)return setTimeout(e,0);if((A===P||!A)&&setTimeout)return A=setTimeout,setTimeout(e,0);try{return A(e,0)}catch(r){try{return A.call(null,e,0)}catch(t){return A.call(this,e,0)}}}function st(e){if(v===clearTimeout)return clearTimeout(e);if((v===j||!v)&&clearTimeout)return v=clearTimeout,clearTimeout(e);try{return v(e)}catch(r){try{return v.call(null,e)}catch(t){return v.call(this,e)}}}var T=[],D=!1,_,G=-1;function wt(){!D||!_||(D=!1,_.length?T=_.concat(T):G=-1,T.length&&Fr())}function Fr(){if(!D){var e=gr(wt);D=!0;for(var r=T.length;r;){for(_=T,T=[];++G<r;)_&&_[G].run();G=-1,r=T.length}_=null,D=!1,st(e)}}s.nextTick=function(e){var r=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)r[t-1]=arguments[t];T.push(new Br(e,r)),T.length===1&&!D&&gr(Fr)};function Br(e,r){this.fun=e,this.array=r}Br.prototype.run=function(){this.fun.apply(null,this.array)};s.title="browser";s.browser=!0;s.env={};s.argv=[];s.version="";s.versions={};function I(){}s.on=I;s.addListener=I;s.once=I;s.off=I;s.removeListener=I;s.removeAllListeners=I;s.emit=I;s.prependListener=I;s.prependOnceListener=I;s.listeners=function(e){return[]};s.binding=function(e){throw new Error("process.binding is not supported")};s.cwd=function(){return"/"};s.chdir=function(e){throw new Error("process.chdir is not supported")};s.umask=function(){return 0}});var d,C,vt,y=kr(()=>{d=tr(Er()),C=tr(vr()),vt=function(e){function r(){var i=this||self;return delete e.prototype.__magic__,i}if(typeof globalThis=="object")return globalThis;if(this)return r();e.defineProperty(e.prototype,"__magic__",{configurable:!0,get:r});var t=__magic__;return t}(Object)});var mt={};br(mt,{getSearchParamAddress:()=>xt});module.exports=Dr(mt);y();y();y();var Ur=()=>typeof window!="undefined"&&typeof(window==null?void 0:window.location)!="undefined";var Tr=()=>{if(!Ur())return{pathname:"",hash:"",origin:"",href:"",search:""};let{location:{pathname:r,hash:t,origin:i,href:n,search:o}}=window;return{pathname:r,hash:t,origin:i,href:n,search:o}};y();var Ir=require("@multiversx/sdk-core");function yt(e){try{let r=new Ir.Address(e);return Boolean(r.bech32())}catch(r){return!1}}function dr(e){return(e==null?void 0:e.startsWith("erd"))&&e.length===62&&/^\w+$/.test(e)&&yt(e)}var xt=()=>{let{search:e}=Tr(),r=new URLSearchParams(e),t=Object.fromEntries(r),i=t==null?void 0:t.address;return dr(i)?i:null};0&&(module.exports={getSearchParamAddress});
|
|
1
|
+
"use strict";var Lr=Object.create;var N=Object.defineProperty;var Sr=Object.getOwnPropertyDescriptor;var Rr=Object.getOwnPropertyNames;var _r=Object.getPrototypeOf,Mr=Object.prototype.hasOwnProperty;var kr=(e,r)=>()=>(e&&(r=e(e=0)),r);var W=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports),br=(e,r)=>{for(var t in r)N(e,t,{get:r[t],enumerable:!0})},rr=(e,r,t,i)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of Rr(r))!Mr.call(e,n)&&n!==t&&N(e,n,{get:()=>r[n],enumerable:!(i=Sr(r,n))||i.enumerable});return e};var tr=(e,r,t)=>(t=e!=null?Lr(_r(e)):{},rr(r||!e||!e.__esModule?N(t,"default",{value:e,enumerable:!0}):t,e)),Dr=e=>rr(N({},"__esModule",{value:!0}),e);var nr=W(V=>{"use strict";y();V.byteLength=Wr;V.toByteArray=Yr;V.fromByteArray=Hr;var F=[],E=[],Nr=typeof Uint8Array!="undefined"?Uint8Array:Array,H="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(L=0,er=H.length;L<er;++L)F[L]=H[L],E[H.charCodeAt(L)]=L;var L,er;E["-".charCodeAt(0)]=62;E["_".charCodeAt(0)]=63;function ir(e){var r=e.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var t=e.indexOf("=");t===-1&&(t=r);var i=t===r?0:4-t%4;return[t,i]}function Wr(e){var r=ir(e),t=r[0],i=r[1];return(t+i)*3/4-i}function Vr(e,r,t){return(r+t)*3/4-t}function Yr(e){var r,t=ir(e),i=t[0],n=t[1],o=new Nr(Vr(e,i,n)),u=0,h=n>0?i-4:i,f;for(f=0;f<h;f+=4)r=E[e.charCodeAt(f)]<<18|E[e.charCodeAt(f+1)]<<12|E[e.charCodeAt(f+2)]<<6|E[e.charCodeAt(f+3)],o[u++]=r>>16&255,o[u++]=r>>8&255,o[u++]=r&255;return n===2&&(r=E[e.charCodeAt(f)]<<2|E[e.charCodeAt(f+1)]>>4,o[u++]=r&255),n===1&&(r=E[e.charCodeAt(f)]<<10|E[e.charCodeAt(f+1)]<<4|E[e.charCodeAt(f+2)]>>2,o[u++]=r>>8&255,o[u++]=r&255),o}function qr(e){return F[e>>18&63]+F[e>>12&63]+F[e>>6&63]+F[e&63]}function Gr(e,r,t){for(var i,n=[],o=r;o<t;o+=3)i=(e[o]<<16&16711680)+(e[o+1]<<8&65280)+(e[o+2]&255),n.push(qr(i));return n.join("")}function Hr(e){for(var r,t=e.length,i=t%3,n=[],o=16383,u=0,h=t-i;u<h;u+=o)n.push(Gr(e,u,u+o>h?h:u+o));return i===1?(r=e[t-1],n.push(F[r>>2]+F[r<<4&63]+"==")):i===2&&(r=(e[t-2]<<8)+e[t-1],n.push(F[r>>10]+F[r>>4&63]+F[r<<2&63]+"=")),n.join("")}});var or=W(X=>{y();X.read=function(e,r,t,i,n){var o,u,h=n*8-i-1,f=(1<<h)-1,c=f>>1,l=-7,p=t?n-1:0,g=t?-1:1,m=e[r+p];for(p+=g,o=m&(1<<-l)-1,m>>=-l,l+=h;l>0;o=o*256+e[r+p],p+=g,l-=8);for(u=o&(1<<-l)-1,o>>=-l,l+=i;l>0;u=u*256+e[r+p],p+=g,l-=8);if(o===0)o=1-c;else{if(o===f)return u?NaN:(m?-1:1)*(1/0);u=u+Math.pow(2,i),o=o-c}return(m?-1:1)*u*Math.pow(2,o-i)};X.write=function(e,r,t,i,n,o){var u,h,f,c=o*8-n-1,l=(1<<c)-1,p=l>>1,g=n===23?Math.pow(2,-24)-Math.pow(2,-77):0,m=i?0:o-1,M=i?1:-1,Cr=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(h=isNaN(r)?1:0,u=l):(u=Math.floor(Math.log(r)/Math.LN2),r*(f=Math.pow(2,-u))<1&&(u--,f*=2),u+p>=1?r+=g/f:r+=g*Math.pow(2,1-p),r*f>=2&&(u++,f/=2),u+p>=l?(h=0,u=l):u+p>=1?(h=(r*f-1)*Math.pow(2,n),u=u+p):(h=r*Math.pow(2,p-1)*Math.pow(2,n),u=0));n>=8;e[t+m]=h&255,m+=M,h/=256,n-=8);for(u=u<<n|h,c+=n;c>0;e[t+m]=u&255,m+=M,u/=256,c-=8);e[t+m-M]|=Cr*128}});var Er=W(b=>{"use strict";y();var z=nr(),k=or(),ur=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;b.Buffer=a;b.SlowBuffer=Qr;b.INSPECT_MAX_BYTES=50;var Y=2147483647;b.kMaxLength=Y;a.TYPED_ARRAY_SUPPORT=Xr();!a.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 Xr(){try{var e=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(e,r),e.foo()===42}catch(t){return!1}}Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(!!a.isBuffer(this))return this.buffer}});Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(!!a.isBuffer(this))return this.byteOffset}});function U(e){if(e>Y)throw new RangeError('The value "'+e+'" is invalid for option "size"');var r=new Uint8Array(e);return Object.setPrototypeOf(r,a.prototype),r}function a(e,r,t){if(typeof e=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Q(e)}return fr(e,r,t)}a.poolSize=8192;function fr(e,r,t){if(typeof e=="string")return Jr(e,r);if(ArrayBuffer.isView(e))return Kr(e);if(e==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(B(e,ArrayBuffer)||e&&B(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(B(e,SharedArrayBuffer)||e&&B(e.buffer,SharedArrayBuffer)))return K(e,r,t);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var i=e.valueOf&&e.valueOf();if(i!=null&&i!==e)return a.from(i,r,t);var n=Or(e);if(n)return n;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return a.from(e[Symbol.toPrimitive]("string"),r,t);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}a.from=function(e,r,t){return fr(e,r,t)};Object.setPrototypeOf(a.prototype,Uint8Array.prototype);Object.setPrototypeOf(a,Uint8Array);function pr(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 zr(e,r,t){return pr(e),e<=0?U(e):r!==void 0?typeof t=="string"?U(e).fill(r,t):U(e).fill(r):U(e)}a.alloc=function(e,r,t){return zr(e,r,t)};function Q(e){return pr(e),U(e<0?0:Z(e)|0)}a.allocUnsafe=function(e){return Q(e)};a.allocUnsafeSlow=function(e){return Q(e)};function Jr(e,r){if((typeof r!="string"||r==="")&&(r="utf8"),!a.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var t=cr(e,r)|0,i=U(t),n=i.write(e,r);return n!==t&&(i=i.slice(0,n)),i}function J(e){for(var r=e.length<0?0:Z(e.length)|0,t=U(r),i=0;i<r;i+=1)t[i]=e[i]&255;return t}function Kr(e){if(B(e,Uint8Array)){var r=new Uint8Array(e);return K(r.buffer,r.byteOffset,r.byteLength)}return J(e)}function K(e,r,t){if(r<0||e.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<r+(t||0))throw new RangeError('"length" is outside of buffer bounds');var i;return r===void 0&&t===void 0?i=new Uint8Array(e):t===void 0?i=new Uint8Array(e,r):i=new Uint8Array(e,r,t),Object.setPrototypeOf(i,a.prototype),i}function Or(e){if(a.isBuffer(e)){var r=Z(e.length)|0,t=U(r);return t.length===0||e.copy(t,0,0,r),t}if(e.length!==void 0)return typeof e.length!="number"||$(e.length)?U(0):J(e);if(e.type==="Buffer"&&Array.isArray(e.data))return J(e.data)}function Z(e){if(e>=Y)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Y.toString(16)+" bytes");return e|0}function Qr(e){return+e!=e&&(e=0),a.alloc(+e)}a.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==a.prototype};a.compare=function(r,t){if(B(r,Uint8Array)&&(r=a.from(r,r.offset,r.byteLength)),B(t,Uint8Array)&&(t=a.from(t,t.offset,t.byteLength)),!a.isBuffer(r)||!a.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===t)return 0;for(var i=r.length,n=t.length,o=0,u=Math.min(i,n);o<u;++o)if(r[o]!==t[o]){i=r[o],n=t[o];break}return i<n?-1:n<i?1:0};a.isEncoding=function(r){switch(String(r).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}};a.concat=function(r,t){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return a.alloc(0);var i;if(t===void 0)for(t=0,i=0;i<r.length;++i)t+=r[i].length;var n=a.allocUnsafe(t),o=0;for(i=0;i<r.length;++i){var u=r[i];if(B(u,Uint8Array))o+u.length>n.length?a.from(u).copy(n,o):Uint8Array.prototype.set.call(n,u,o);else if(a.isBuffer(u))u.copy(n,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=u.length}return n};function cr(e,r){if(a.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||B(e,ArrayBuffer))return e.byteLength;if(typeof e!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var t=e.length,i=arguments.length>2&&arguments[2]===!0;if(!i&&t===0)return 0;for(var n=!1;;)switch(r){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return O(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return mr(e).length;default:if(n)return i?-1:O(e).length;r=(""+r).toLowerCase(),n=!0}}a.byteLength=cr;function Zr(e,r,t){var i=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((t===void 0||t>this.length)&&(t=this.length),t<=0)||(t>>>=0,r>>>=0,t<=r))return"";for(e||(e="utf8");;)switch(e){case"hex":return ut(this,r,t);case"utf8":case"utf-8":return sr(this,r,t);case"ascii":return nt(this,r,t);case"latin1":case"binary":return ot(this,r,t);case"base64":return et(this,r,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return at(this,r,t);default:if(i)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),i=!0}}a.prototype._isBuffer=!0;function R(e,r,t){var i=e[r];e[r]=e[t],e[t]=i}a.prototype.swap16=function(){var r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<r;t+=2)R(this,t,t+1);return this};a.prototype.swap32=function(){var r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<r;t+=4)R(this,t,t+3),R(this,t+1,t+2);return this};a.prototype.swap64=function(){var r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<r;t+=8)R(this,t,t+7),R(this,t+1,t+6),R(this,t+2,t+5),R(this,t+3,t+4);return this};a.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?sr(this,0,r):Zr.apply(this,arguments)};a.prototype.toLocaleString=a.prototype.toString;a.prototype.equals=function(r){if(!a.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:a.compare(this,r)===0};a.prototype.inspect=function(){var r="",t=b.INSPECT_MAX_BYTES;return r=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(r+=" ... "),"<Buffer "+r+">"};ur&&(a.prototype[ur]=a.prototype.inspect);a.prototype.compare=function(r,t,i,n,o){if(B(r,Uint8Array)&&(r=a.from(r,r.offset,r.byteLength)),!a.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(t===void 0&&(t=0),i===void 0&&(i=r?r.length:0),n===void 0&&(n=0),o===void 0&&(o=this.length),t<0||i>r.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&t>=i)return 0;if(n>=o)return-1;if(t>=i)return 1;if(t>>>=0,i>>>=0,n>>>=0,o>>>=0,this===r)return 0;for(var u=o-n,h=i-t,f=Math.min(u,h),c=this.slice(n,o),l=r.slice(t,i),p=0;p<f;++p)if(c[p]!==l[p]){u=c[p],h=l[p];break}return u<h?-1:h<u?1:0};function lr(e,r,t,i,n){if(e.length===0)return-1;if(typeof t=="string"?(i=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,$(t)&&(t=n?0:e.length-1),t<0&&(t=e.length+t),t>=e.length){if(n)return-1;t=e.length-1}else if(t<0)if(n)t=0;else return-1;if(typeof r=="string"&&(r=a.from(r,i)),a.isBuffer(r))return r.length===0?-1:ar(e,r,t,i,n);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?n?Uint8Array.prototype.indexOf.call(e,r,t):Uint8Array.prototype.lastIndexOf.call(e,r,t):ar(e,[r],t,i,n);throw new TypeError("val must be string, number or Buffer")}function ar(e,r,t,i,n){var o=1,u=e.length,h=r.length;if(i!==void 0&&(i=String(i).toLowerCase(),i==="ucs2"||i==="ucs-2"||i==="utf16le"||i==="utf-16le")){if(e.length<2||r.length<2)return-1;o=2,u/=2,h/=2,t/=2}function f(m,M){return o===1?m[M]:m.readUInt16BE(M*o)}var c;if(n){var l=-1;for(c=t;c<u;c++)if(f(e,c)===f(r,l===-1?0:c-l)){if(l===-1&&(l=c),c-l+1===h)return l*o}else l!==-1&&(c-=c-l),l=-1}else for(t+h>u&&(t=u-h),c=t;c>=0;c--){for(var p=!0,g=0;g<h;g++)if(f(e,c+g)!==f(r,g)){p=!1;break}if(p)return c}return-1}a.prototype.includes=function(r,t,i){return this.indexOf(r,t,i)!==-1};a.prototype.indexOf=function(r,t,i){return lr(this,r,t,i,!0)};a.prototype.lastIndexOf=function(r,t,i){return lr(this,r,t,i,!1)};function $r(e,r,t,i){t=Number(t)||0;var n=e.length-t;i?(i=Number(i),i>n&&(i=n)):i=n;var o=r.length;i>o/2&&(i=o/2);for(var u=0;u<i;++u){var h=parseInt(r.substr(u*2,2),16);if($(h))return u;e[t+u]=h}return u}function Pr(e,r,t,i){return q(O(r,e.length-t),e,t,i)}function jr(e,r,t,i){return q(pt(r),e,t,i)}function rt(e,r,t,i){return q(mr(r),e,t,i)}function tt(e,r,t,i){return q(ct(r,e.length-t),e,t,i)}a.prototype.write=function(r,t,i,n){if(t===void 0)n="utf8",i=this.length,t=0;else if(i===void 0&&typeof t=="string")n=t,i=this.length,t=0;else if(isFinite(t))t=t>>>0,isFinite(i)?(i=i>>>0,n===void 0&&(n="utf8")):(n=i,i=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-t;if((i===void 0||i>o)&&(i=o),r.length>0&&(i<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var u=!1;;)switch(n){case"hex":return $r(this,r,t,i);case"utf8":case"utf-8":return Pr(this,r,t,i);case"ascii":case"latin1":case"binary":return jr(this,r,t,i);case"base64":return rt(this,r,t,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return tt(this,r,t,i);default:if(u)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),u=!0}};a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function et(e,r,t){return r===0&&t===e.length?z.fromByteArray(e):z.fromByteArray(e.slice(r,t))}function sr(e,r,t){t=Math.min(e.length,t);for(var i=[],n=r;n<t;){var o=e[n],u=null,h=o>239?4:o>223?3:o>191?2:1;if(n+h<=t){var f,c,l,p;switch(h){case 1:o<128&&(u=o);break;case 2:f=e[n+1],(f&192)===128&&(p=(o&31)<<6|f&63,p>127&&(u=p));break;case 3:f=e[n+1],c=e[n+2],(f&192)===128&&(c&192)===128&&(p=(o&15)<<12|(f&63)<<6|c&63,p>2047&&(p<55296||p>57343)&&(u=p));break;case 4:f=e[n+1],c=e[n+2],l=e[n+3],(f&192)===128&&(c&192)===128&&(l&192)===128&&(p=(o&15)<<18|(f&63)<<12|(c&63)<<6|l&63,p>65535&&p<1114112&&(u=p))}}u===null?(u=65533,h=1):u>65535&&(u-=65536,i.push(u>>>10&1023|55296),u=56320|u&1023),i.push(u),n+=h}return it(i)}var hr=4096;function it(e){var r=e.length;if(r<=hr)return String.fromCharCode.apply(String,e);for(var t="",i=0;i<r;)t+=String.fromCharCode.apply(String,e.slice(i,i+=hr));return t}function nt(e,r,t){var i="";t=Math.min(e.length,t);for(var n=r;n<t;++n)i+=String.fromCharCode(e[n]&127);return i}function ot(e,r,t){var i="";t=Math.min(e.length,t);for(var n=r;n<t;++n)i+=String.fromCharCode(e[n]);return i}function ut(e,r,t){var i=e.length;(!r||r<0)&&(r=0),(!t||t<0||t>i)&&(t=i);for(var n="",o=r;o<t;++o)n+=lt[e[o]];return n}function at(e,r,t){for(var i=e.slice(r,t),n="",o=0;o<i.length-1;o+=2)n+=String.fromCharCode(i[o]+i[o+1]*256);return n}a.prototype.slice=function(r,t){var i=this.length;r=~~r,t=t===void 0?i:~~t,r<0?(r+=i,r<0&&(r=0)):r>i&&(r=i),t<0?(t+=i,t<0&&(t=0)):t>i&&(t=i),t<r&&(t=r);var n=this.subarray(r,t);return Object.setPrototypeOf(n,a.prototype),n};function w(e,r,t){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+r>t)throw new RangeError("Trying to access beyond buffer length")}a.prototype.readUintLE=a.prototype.readUIntLE=function(r,t,i){r=r>>>0,t=t>>>0,i||w(r,t,this.length);for(var n=this[r],o=1,u=0;++u<t&&(o*=256);)n+=this[r+u]*o;return n};a.prototype.readUintBE=a.prototype.readUIntBE=function(r,t,i){r=r>>>0,t=t>>>0,i||w(r,t,this.length);for(var n=this[r+--t],o=1;t>0&&(o*=256);)n+=this[r+--t]*o;return n};a.prototype.readUint8=a.prototype.readUInt8=function(r,t){return r=r>>>0,t||w(r,1,this.length),this[r]};a.prototype.readUint16LE=a.prototype.readUInt16LE=function(r,t){return r=r>>>0,t||w(r,2,this.length),this[r]|this[r+1]<<8};a.prototype.readUint16BE=a.prototype.readUInt16BE=function(r,t){return r=r>>>0,t||w(r,2,this.length),this[r]<<8|this[r+1]};a.prototype.readUint32LE=a.prototype.readUInt32LE=function(r,t){return r=r>>>0,t||w(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216};a.prototype.readUint32BE=a.prototype.readUInt32BE=function(r,t){return r=r>>>0,t||w(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};a.prototype.readIntLE=function(r,t,i){r=r>>>0,t=t>>>0,i||w(r,t,this.length);for(var n=this[r],o=1,u=0;++u<t&&(o*=256);)n+=this[r+u]*o;return o*=128,n>=o&&(n-=Math.pow(2,8*t)),n};a.prototype.readIntBE=function(r,t,i){r=r>>>0,t=t>>>0,i||w(r,t,this.length);for(var n=t,o=1,u=this[r+--n];n>0&&(o*=256);)u+=this[r+--n]*o;return o*=128,u>=o&&(u-=Math.pow(2,8*t)),u};a.prototype.readInt8=function(r,t){return r=r>>>0,t||w(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};a.prototype.readInt16LE=function(r,t){r=r>>>0,t||w(r,2,this.length);var i=this[r]|this[r+1]<<8;return i&32768?i|4294901760:i};a.prototype.readInt16BE=function(r,t){r=r>>>0,t||w(r,2,this.length);var i=this[r+1]|this[r]<<8;return i&32768?i|4294901760:i};a.prototype.readInt32LE=function(r,t){return r=r>>>0,t||w(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};a.prototype.readInt32BE=function(r,t){return r=r>>>0,t||w(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};a.prototype.readFloatLE=function(r,t){return r=r>>>0,t||w(r,4,this.length),k.read(this,r,!0,23,4)};a.prototype.readFloatBE=function(r,t){return r=r>>>0,t||w(r,4,this.length),k.read(this,r,!1,23,4)};a.prototype.readDoubleLE=function(r,t){return r=r>>>0,t||w(r,8,this.length),k.read(this,r,!0,52,8)};a.prototype.readDoubleBE=function(r,t){return r=r>>>0,t||w(r,8,this.length),k.read(this,r,!1,52,8)};function x(e,r,t,i,n,o){if(!a.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>n||r<o)throw new RangeError('"value" argument is out of bounds');if(t+i>e.length)throw new RangeError("Index out of range")}a.prototype.writeUintLE=a.prototype.writeUIntLE=function(r,t,i,n){if(r=+r,t=t>>>0,i=i>>>0,!n){var o=Math.pow(2,8*i)-1;x(this,r,t,i,o,0)}var u=1,h=0;for(this[t]=r&255;++h<i&&(u*=256);)this[t+h]=r/u&255;return t+i};a.prototype.writeUintBE=a.prototype.writeUIntBE=function(r,t,i,n){if(r=+r,t=t>>>0,i=i>>>0,!n){var o=Math.pow(2,8*i)-1;x(this,r,t,i,o,0)}var u=i-1,h=1;for(this[t+u]=r&255;--u>=0&&(h*=256);)this[t+u]=r/h&255;return t+i};a.prototype.writeUint8=a.prototype.writeUInt8=function(r,t,i){return r=+r,t=t>>>0,i||x(this,r,t,1,255,0),this[t]=r&255,t+1};a.prototype.writeUint16LE=a.prototype.writeUInt16LE=function(r,t,i){return r=+r,t=t>>>0,i||x(this,r,t,2,65535,0),this[t]=r&255,this[t+1]=r>>>8,t+2};a.prototype.writeUint16BE=a.prototype.writeUInt16BE=function(r,t,i){return r=+r,t=t>>>0,i||x(this,r,t,2,65535,0),this[t]=r>>>8,this[t+1]=r&255,t+2};a.prototype.writeUint32LE=a.prototype.writeUInt32LE=function(r,t,i){return r=+r,t=t>>>0,i||x(this,r,t,4,4294967295,0),this[t+3]=r>>>24,this[t+2]=r>>>16,this[t+1]=r>>>8,this[t]=r&255,t+4};a.prototype.writeUint32BE=a.prototype.writeUInt32BE=function(r,t,i){return r=+r,t=t>>>0,i||x(this,r,t,4,4294967295,0),this[t]=r>>>24,this[t+1]=r>>>16,this[t+2]=r>>>8,this[t+3]=r&255,t+4};a.prototype.writeIntLE=function(r,t,i,n){if(r=+r,t=t>>>0,!n){var o=Math.pow(2,8*i-1);x(this,r,t,i,o-1,-o)}var u=0,h=1,f=0;for(this[t]=r&255;++u<i&&(h*=256);)r<0&&f===0&&this[t+u-1]!==0&&(f=1),this[t+u]=(r/h>>0)-f&255;return t+i};a.prototype.writeIntBE=function(r,t,i,n){if(r=+r,t=t>>>0,!n){var o=Math.pow(2,8*i-1);x(this,r,t,i,o-1,-o)}var u=i-1,h=1,f=0;for(this[t+u]=r&255;--u>=0&&(h*=256);)r<0&&f===0&&this[t+u+1]!==0&&(f=1),this[t+u]=(r/h>>0)-f&255;return t+i};a.prototype.writeInt8=function(r,t,i){return r=+r,t=t>>>0,i||x(this,r,t,1,127,-128),r<0&&(r=255+r+1),this[t]=r&255,t+1};a.prototype.writeInt16LE=function(r,t,i){return r=+r,t=t>>>0,i||x(this,r,t,2,32767,-32768),this[t]=r&255,this[t+1]=r>>>8,t+2};a.prototype.writeInt16BE=function(r,t,i){return r=+r,t=t>>>0,i||x(this,r,t,2,32767,-32768),this[t]=r>>>8,this[t+1]=r&255,t+2};a.prototype.writeInt32LE=function(r,t,i){return r=+r,t=t>>>0,i||x(this,r,t,4,2147483647,-2147483648),this[t]=r&255,this[t+1]=r>>>8,this[t+2]=r>>>16,this[t+3]=r>>>24,t+4};a.prototype.writeInt32BE=function(r,t,i){return r=+r,t=t>>>0,i||x(this,r,t,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[t]=r>>>24,this[t+1]=r>>>16,this[t+2]=r>>>8,this[t+3]=r&255,t+4};function wr(e,r,t,i,n,o){if(t+i>e.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function yr(e,r,t,i,n){return r=+r,t=t>>>0,n||wr(e,r,t,4,34028234663852886e22,-34028234663852886e22),k.write(e,r,t,i,23,4),t+4}a.prototype.writeFloatLE=function(r,t,i){return yr(this,r,t,!0,i)};a.prototype.writeFloatBE=function(r,t,i){return yr(this,r,t,!1,i)};function xr(e,r,t,i,n){return r=+r,t=t>>>0,n||wr(e,r,t,8,17976931348623157e292,-17976931348623157e292),k.write(e,r,t,i,52,8),t+8}a.prototype.writeDoubleLE=function(r,t,i){return xr(this,r,t,!0,i)};a.prototype.writeDoubleBE=function(r,t,i){return xr(this,r,t,!1,i)};a.prototype.copy=function(r,t,i,n){if(!a.isBuffer(r))throw new TypeError("argument should be a Buffer");if(i||(i=0),!n&&n!==0&&(n=this.length),t>=r.length&&(t=r.length),t||(t=0),n>0&&n<i&&(n=i),n===i||r.length===0||this.length===0)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(i<0||i>=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),r.length-t<n-i&&(n=r.length-t+i);var o=n-i;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(t,i,n):Uint8Array.prototype.set.call(r,this.subarray(i,n),t),o};a.prototype.fill=function(r,t,i,n){if(typeof r=="string"){if(typeof t=="string"?(n=t,t=0,i=this.length):typeof i=="string"&&(n=i,i=this.length),n!==void 0&&typeof n!="string")throw new TypeError("encoding must be a string");if(typeof n=="string"&&!a.isEncoding(n))throw new TypeError("Unknown encoding: "+n);if(r.length===1){var o=r.charCodeAt(0);(n==="utf8"&&o<128||n==="latin1")&&(r=o)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(t<0||this.length<t||this.length<i)throw new RangeError("Out of range index");if(i<=t)return this;t=t>>>0,i=i===void 0?this.length:i>>>0,r||(r=0);var u;if(typeof r=="number")for(u=t;u<i;++u)this[u]=r;else{var h=a.isBuffer(r)?r:a.from(r,n),f=h.length;if(f===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(u=0;u<i-t;++u)this[u+t]=h[u%f]}return this};var ht=/[^+/0-9A-Za-z-_]/g;function ft(e){if(e=e.split("=")[0],e=e.trim().replace(ht,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function O(e,r){r=r||1/0;for(var t,i=e.length,n=null,o=[],u=0;u<i;++u){if(t=e.charCodeAt(u),t>55295&&t<57344){if(!n){if(t>56319){(r-=3)>-1&&o.push(239,191,189);continue}else if(u+1===i){(r-=3)>-1&&o.push(239,191,189);continue}n=t;continue}if(t<56320){(r-=3)>-1&&o.push(239,191,189),n=t;continue}t=(n-55296<<10|t-56320)+65536}else n&&(r-=3)>-1&&o.push(239,191,189);if(n=null,t<128){if((r-=1)<0)break;o.push(t)}else if(t<2048){if((r-=2)<0)break;o.push(t>>6|192,t&63|128)}else if(t<65536){if((r-=3)<0)break;o.push(t>>12|224,t>>6&63|128,t&63|128)}else if(t<1114112){if((r-=4)<0)break;o.push(t>>18|240,t>>12&63|128,t>>6&63|128,t&63|128)}else throw new Error("Invalid code point")}return o}function pt(e){for(var r=[],t=0;t<e.length;++t)r.push(e.charCodeAt(t)&255);return r}function ct(e,r){for(var t,i,n,o=[],u=0;u<e.length&&!((r-=2)<0);++u)t=e.charCodeAt(u),i=t>>8,n=t%256,o.push(n),o.push(i);return o}function mr(e){return z.toByteArray(ft(e))}function q(e,r,t,i){for(var n=0;n<i&&!(n+t>=r.length||n>=e.length);++n)r[n+t]=e[n];return n}function B(e,r){return e instanceof r||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===r.name}function $(e){return e!==e}var lt=function(){for(var e="0123456789abcdef",r=new Array(256),t=0;t<16;++t)for(var i=t*16,n=0;n<16;++n)r[i+n]=e[t]+e[n];return r}()});var vr=W((At,Ar)=>{y();var s=Ar.exports={},A,v;function P(){throw new Error("setTimeout has not been defined")}function j(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?A=setTimeout:A=P}catch(e){A=P}try{typeof clearTimeout=="function"?v=clearTimeout:v=j}catch(e){v=j}})();function gr(e){if(A===setTimeout)return setTimeout(e,0);if((A===P||!A)&&setTimeout)return A=setTimeout,setTimeout(e,0);try{return A(e,0)}catch(r){try{return A.call(null,e,0)}catch(t){return A.call(this,e,0)}}}function st(e){if(v===clearTimeout)return clearTimeout(e);if((v===j||!v)&&clearTimeout)return v=clearTimeout,clearTimeout(e);try{return v(e)}catch(r){try{return v.call(null,e)}catch(t){return v.call(this,e)}}}var T=[],D=!1,_,G=-1;function wt(){!D||!_||(D=!1,_.length?T=_.concat(T):G=-1,T.length&&Fr())}function Fr(){if(!D){var e=gr(wt);D=!0;for(var r=T.length;r;){for(_=T,T=[];++G<r;)_&&_[G].run();G=-1,r=T.length}_=null,D=!1,st(e)}}s.nextTick=function(e){var r=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)r[t-1]=arguments[t];T.push(new Br(e,r)),T.length===1&&!D&&gr(Fr)};function Br(e,r){this.fun=e,this.array=r}Br.prototype.run=function(){this.fun.apply(null,this.array)};s.title="browser";s.browser=!0;s.env={};s.argv=[];s.version="";s.versions={};function I(){}s.on=I;s.addListener=I;s.once=I;s.off=I;s.removeListener=I;s.removeAllListeners=I;s.emit=I;s.prependListener=I;s.prependOnceListener=I;s.listeners=function(e){return[]};s.binding=function(e){throw new Error("process.binding is not supported")};s.cwd=function(){return"/"};s.chdir=function(e){throw new Error("process.chdir is not supported")};s.umask=function(){return 0}});var d,C,vt,y=kr(()=>{d=tr(Er()),C=tr(vr()),vt=function(e){function r(){var i=this||self;return delete e.prototype.__magic__,i}if(typeof globalThis=="object")return globalThis;if(this)return r();e.defineProperty(e.prototype,"__magic__",{configurable:!0,get:r});var t=__magic__;return t}(Object)});var mt={};br(mt,{getSearchParamAddress:()=>xt});module.exports=Dr(mt);y();y();y();var Ur=()=>typeof window!="undefined"&&typeof(window==null?void 0:window.location)!="undefined";var Tr=()=>{if(!Ur())return{pathname:"",hash:"",origin:"",href:"",search:""};let{location:{pathname:r,hash:t,origin:i,href:n,search:o}}=window;return{pathname:r,hash:t,origin:i,href:n,search:o}};y();var Ir=require("@multiversx/sdk-core");function yt(e){try{let r=new Ir.Address(e);return Boolean(r.bech32())}catch(r){return!1}}function dr(e){return(e==null?void 0:e.length)===62&&/^\w+$/.test(e)&&yt(e)}var xt=()=>{let{search:e}=Tr(),r=new URLSearchParams(e),t=Object.fromEntries(r),i=t==null?void 0:t.address;return dr(i)?i:null};0&&(module.exports={getSearchParamAddress});
|
|
2
2
|
/*!
|
|
3
3
|
* The buffer module from node.js, for the browser.
|
|
4
4
|
*
|