@multiversx/sdk-dapp 4.2.2 → 4.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/UI/DappModal/components/DappModal.js +1 -1
- package/UI/DappModal/components/index.js +1 -1
- package/UI/DappModal/index.js +1 -1
- package/UI/Denominate/index.js +1 -1
- package/UI/ExplorerLink/ExplorerLink.js +1 -1
- package/UI/ExplorerLink/index.js +1 -1
- package/UI/FormatAmount/FormatAmount.js +1 -1
- package/UI/FormatAmount/index.js +1 -1
- package/UI/ModalContainer/ModalContainer.js +1 -1
- package/UI/ModalContainer/index.js +1 -1
- package/UI/NotificationModal/NotificationModal.js +1 -1
- package/UI/NotificationModal/index.js +1 -1
- package/UI/Pagination/Pagination.js +1 -1
- package/UI/Pagination/helpers/getPagination/getPagination.js +1 -1
- package/UI/Pagination/helpers/getPagination/getPagination.spec.js +1 -1
- package/UI/Pagination/helpers/getPagination/index.js +1 -1
- package/UI/Pagination/helpers/index.js +1 -1
- package/UI/Pagination/index.js +1 -1
- package/UI/SignTransactionsModals/SignTransactionsModals.js +1 -1
- package/UI/SignTransactionsModals/SignWithCrossWindowWalletModal/SignWithCrossWindowWalletModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithCrossWindowWalletModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/SignWithDeviceModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/SignStepBody.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/ConfirmAmount.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountData/ConfirmAmountData.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountData/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountLabel/ConfirmAmountLabel.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountLabel/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountNftSft/ConfirmAmountNftSft.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountNftSft/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/ConfirmFee.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/components/GasDetails/GasDetails.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/components/GasDetails/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/components/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/ConfirmReceiver.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/signWithDeviceModal.types.js +1 -1
- package/UI/SignTransactionsModals/SignWithExtensionModal/SignWithExtensionModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithExtensionModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithExtraModal/SignWithExtraModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithIframeModal/SignWithIframeModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithIframeModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithLedgerModal/LedgerGuardianSigningModalError.js +1 -1
- package/UI/SignTransactionsModals/SignWithLedgerModal/SignWithLedgerModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithLedgerModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithMetamaskModal/SignWithMetamaskModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithMetamaskModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithOperaModal/SignWithOperaModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithOperaModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithPasskeyModal/SignWithPasskeyModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithPasskeyModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithWalletConnectModal/SignWithWalletConnectModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithWalletConnectModal/index.js +1 -1
- package/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
- package/UI/SignTransactionsModals/components/DeviceConfirmationScreen.js +1 -1
- package/UI/SignTransactionsModals/components/SignWaitingScreenModal/SignWaitingScreenModal.js +1 -1
- package/UI/SignTransactionsModals/components/SignWaitingScreenModal/index.js +1 -1
- package/UI/SignTransactionsModals/components/TransactionStatusToast.js +1 -1
- package/UI/SignTransactionsModals/components/index.js +1 -1
- package/UI/SignTransactionsModals/index.js +1 -1
- package/UI/TokenDetails/index.js +1 -1
- package/UI/TransactionData/TransactionData.js +1 -1
- package/UI/TransactionData/components/TransactionDataDecode/TransactionDataDecode.js +1 -1
- package/UI/TransactionData/components/TransactionDataDecode/index.js +1 -1
- package/UI/TransactionData/components/index.js +1 -1
- package/UI/TransactionData/index.js +1 -1
- package/UI/TransactionDetails/TransactionDetails.js +1 -1
- package/UI/TransactionDetails/components/TransactionDetailsBody.js +1 -1
- package/UI/TransactionDetails/components/index.js +1 -1
- package/UI/TransactionDetails/index.js +1 -1
- package/UI/TransactionInfo/TransactionInfo.js +1 -1
- package/UI/TransactionInfo/components/AddressDetailItem/AddressDetailitem.js +1 -1
- package/UI/TransactionInfo/components/AddressDetailItem/index.js +1 -1
- package/UI/TransactionInfo/components/DataDecode/DataDecode.js +1 -1
- package/UI/TransactionInfo/components/DataDecode/index.js +1 -1
- package/UI/TransactionInfo/components/DataField/DataField.js +1 -1
- package/UI/TransactionInfo/components/DataField/components/ModalLink/ModalLink.js +1 -1
- package/UI/TransactionInfo/components/DataField/components/ModalLink/index.js +1 -1
- package/UI/TransactionInfo/components/DataField/components/index.js +1 -1
- package/UI/TransactionInfo/components/DataField/index.js +1 -1
- package/UI/TransactionInfo/components/EventsList/EventsList.js +1 -1
- package/UI/TransactionInfo/components/EventsList/index.js +1 -1
- package/UI/TransactionInfo/components/NonceMessage/NonceMessage.js +1 -1
- package/UI/TransactionInfo/components/NonceMessage/index.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/OperationList.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/DetailedItem.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/OperationBlock.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/OperationRow.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/OperationText.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/OperationToken.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/index.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/index.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/ScResultsList.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultData/ResultData.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultData/index.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/ResultHash.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/index.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/ResultReceiver.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/index.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/ResultSender.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/index.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/index.js +1 -1
- package/UI/TransactionInfo/components/ScrDetailItem/ScrDetailItem.js +1 -1
- package/UI/TransactionInfo/components/ScrDetailItem/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/TransactionAction.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/ActionText/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/ActionToken.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionCollection.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionNft.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionToken.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionLogs/TransactionLogs.js +1 -1
- package/UI/TransactionInfo/components/TransactionLogs/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionStatus/TransactionStatus.js +1 -1
- package/UI/TransactionInfo/components/TransactionStatus/index.js +1 -1
- package/UI/TransactionInfo/components/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoAge/TransactionInfoAge.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoAge/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoEgldPrice/TransactionInfoEgldPrice.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoEgldPrice/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/TransactionInfoFee.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/TransactionInfoFrom.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasLimit/TransactionInfoGasLimit.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasLimit/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasPrice/TransactionInfoGasPrice.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasPrice/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/TransactionInfoGasUsed.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/TransactionInfoInputData.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/TransactionInfoMethod.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/TransactionInfoMiniblock.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/TransactionInfoNonce.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/TransactionInfoScResults.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/TransactionInfoStatus.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/TransactionInfoTo.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/TransactionInfoTokenOperations.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/TransactionInfoValue.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/index.js +1 -1
- package/UI/TransactionInfo/index.js +1 -1
- package/UI/TransactionsTable/TransactionsTable.js +1 -1
- package/UI/TransactionsTable/components/AccountName.js +1 -1
- package/UI/TransactionsTable/components/FailedTransactions.js +1 -1
- package/UI/TransactionsTable/components/LockedTokenAddressIcon.js +1 -1
- package/UI/TransactionsTable/components/ScAddressIcon.js +1 -1
- package/UI/TransactionsTable/components/ShardSpan.js +1 -1
- package/UI/TransactionsTable/components/TransactionHash.js +1 -1
- package/UI/TransactionsTable/components/TransactionIcon.js +1 -1
- package/UI/TransactionsTable/components/TransactionMethod.js +1 -1
- package/UI/TransactionsTable/components/TransactionReceiver.js +1 -1
- package/UI/TransactionsTable/components/TransactionRow.js +1 -1
- package/UI/TransactionsTable/components/TransactionSender.js +1 -1
- package/UI/TransactionsTable/components/TransactionShardsTransition.js +1 -1
- package/UI/TransactionsTable/components/TransactionValue/TransactionValue.js +1 -1
- package/UI/TransactionsTable/components/TransactionValue/index.js +1 -1
- package/UI/TransactionsTable/components/index.js +1 -1
- package/UI/TransactionsTable/index.js +1 -1
- package/UI/TransactionsToastList/TransactionsToastList.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/CustomToast.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/CustomComponentToast.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/IconToast.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/IconToastFooter.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/ComponentToastFooter.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/TransactionToastFooter.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/index.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/index.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/index.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/SimpleToast.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/index.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/helpers/getIsTransaction.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/helpers/index.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/helpers/useMemoizedCloseButton.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/index.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/TransactionToast.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/components/DefaultToastDeleteButton.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/components/TransactionToastContent.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/components/index.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/hooks/useTransactionToast.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/index.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/utils/getToastDataStateByStatus.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/utils/index.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToastGuard.js +1 -1
- package/UI/TransactionsToastList/components/index.js +1 -1
- package/UI/TransactionsToastList/index.js +1 -1
- package/UI/Trim/Trim.js +1 -1
- package/UI/Trim/index.js +1 -1
- package/UI/UsdValue/UsdValue.js +1 -1
- package/UI/UsdValue/index.js +1 -1
- package/UI/extension/ExtensionLoginButton/ExtensionLoginButton.js +1 -1
- package/UI/extension/ExtensionLoginButton/index.js +1 -1
- package/UI/iframe/IframeLoginButton/IframeButton.js +1 -1
- package/UI/iframe/IframeLoginButton/index.js +1 -1
- package/UI/index.js +1 -1
- package/UI/ledger/LedgerLoginButton/LedgerLoginButton.js +1 -1
- package/UI/ledger/LedgerLoginButton/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/AddressRow/AddressRow.js +1 -1
- package/UI/ledger/LedgerLoginContainer/AddressRow/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/AddressTable/AddressTable.js +1 -1
- package/UI/ledger/LedgerLoginContainer/AddressTable/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/ConfirmAddress/ConfirmAddress.js +1 -1
- package/UI/ledger/LedgerLoginContainer/ConfirmAddress/helpers/getAuthTokenText.js +1 -1
- package/UI/ledger/LedgerLoginContainer/ConfirmAddress/helpers/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/ConfirmAddress/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerConnect/LedgerConnect.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerConnect/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerLoading/LedgerLoading.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerLoading/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerLoginContainer.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerLoginContent/LedgerLoginContent.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerLoginContent/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerLoginContentBody/LedgerLoginContentBody.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerLoginContentBody/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerScamPhishingAlert/LedgerScamPhishingAlert.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerScamPhishingAlert/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/index.js +1 -1
- package/UI/ledger/index.js +1 -1
- package/UI/metamask/MetamaskLoginButton/MetamaskLoginButton.js +1 -1
- package/UI/metamask/MetamaskLoginButton/index.js +1 -1
- package/UI/operaWallet/OperaWalletLoginButton/OperaWalletLoginButton.js +1 -1
- package/UI/operaWallet/OperaWalletLoginButton/index.js +1 -1
- package/UI/pages/UnlockPage/index.js +1 -1
- package/UI/pages/index.js +1 -1
- package/UI/passkey/PasskeyLoginButton/PasskeyLoginButton.js +1 -1
- package/UI/passkey/PasskeyLoginButton/index.js +1 -1
- package/UI/walletConnect/WalletConnectConnectionStatus/WalletConnectConnectionStatus.js +1 -1
- package/UI/walletConnect/WalletConnectConnectionStatus/index.js +1 -1
- package/UI/walletConnect/WalletConnectLoginButton/WalletConnectLoginButton.js +1 -1
- package/UI/walletConnect/WalletConnectLoginButton/index.js +1 -1
- package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContainer.js +1 -1
- package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContent/WalletConnectLoginContent.js +1 -1
- package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContent/index.js +1 -1
- package/UI/walletConnect/WalletConnectLoginContainer/index.js +1 -1
- package/UI/walletConnect/index.js +1 -1
- package/UI/webWallet/CrossWindowLoginButton/CrossWindowLoginButton.js +1 -1
- package/UI/webWallet/CrossWindowLoginButton/index.js +1 -1
- package/UI/webWallet/WebWalletLoginButton/WebWalletLoginButton.js +1 -1
- package/UI/webWallet/WebWalletLoginButton/index.js +1 -1
- package/UI/webWallet/XaliasCrossWindowLoginButton/XaliasCrossWindowLoginButton.js +1 -1
- package/UI/webWallet/XaliasCrossWindowLoginButton/index.js +1 -1
- package/UI/webWallet/XaliasLoginButton/XaliasLoginButton.js +1 -1
- package/UI/webWallet/XaliasLoginButton/index.js +1 -1
- package/__chunks__/{chunk-G23WM74D.js → chunk-23TXHNSY.js} +2 -2
- package/__chunks__/{chunk-773KOO2E.js → chunk-27GRBJQY.js} +2 -2
- package/__chunks__/{chunk-F26LZMI2.js → chunk-2AKCUOGL.js} +2 -2
- package/__chunks__/{chunk-U6UNE5UF.js → chunk-2BHVLCHV.js} +2 -2
- package/__chunks__/{chunk-Z3F5NDV5.js → chunk-2HAMX2WC.js} +2 -2
- package/__chunks__/{chunk-CSYPVTSS.js → chunk-2K4OMJP3.js} +2 -2
- package/__chunks__/{chunk-PPTNC7UF.js → chunk-2KKVFI6B.js} +2 -2
- package/__chunks__/{chunk-LR5X4BLB.js → chunk-2MJMQPRS.js} +2 -2
- package/__chunks__/{chunk-QMZL6FRD.js → chunk-2PFVDICB.js} +2 -2
- package/__chunks__/{chunk-OCG3BPO6.js → chunk-2PSO5ASZ.js} +2 -2
- package/__chunks__/chunk-2WJXZ43Y.js +2 -0
- package/__chunks__/chunk-2YZO5NPO.js +2 -0
- package/__chunks__/{chunk-EOU3LZUE.js → chunk-347MOOJD.js} +2 -2
- package/__chunks__/chunk-35WCWARK.js +2 -0
- package/__chunks__/chunk-377KC453.js +2 -0
- package/__chunks__/{chunk-NMP5RES7.js → chunk-3BCCAV55.js} +2 -2
- package/__chunks__/{chunk-NJZSZILS.js → chunk-3CPX2DLA.js} +2 -2
- package/__chunks__/chunk-3L2LTRK7.js +2 -0
- package/__chunks__/{chunk-T2T25NSJ.js → chunk-3MI4TOOU.js} +2 -2
- package/__chunks__/{chunk-TZO2T5KJ.js → chunk-3MTTNIL7.js} +2 -2
- package/__chunks__/{chunk-NJ36N2OB.js → chunk-3QLFTIZF.js} +2 -2
- package/__chunks__/{chunk-ZQ6CQ4XB.js → chunk-3S2PBKVM.js} +2 -2
- package/__chunks__/{chunk-OBAB4KF6.js → chunk-3Y6P2X36.js} +2 -2
- package/__chunks__/chunk-45HV2VB5.js +2 -0
- package/__chunks__/{chunk-TW7REJYR.js → chunk-4F5RWWJ5.js} +2 -2
- package/__chunks__/{chunk-5O76NT6R.js → chunk-4JDOAYCP.js} +2 -2
- package/__chunks__/{chunk-5N3UOQTR.js → chunk-4O5NJJZX.js} +2 -2
- package/__chunks__/{chunk-HTEQLUM7.js → chunk-4QINOLVV.js} +2 -2
- package/__chunks__/chunk-4T4XW3ZM.js +2 -0
- package/__chunks__/{chunk-652Y34ET.js → chunk-4ZV2OHSF.js} +2 -2
- package/__chunks__/{chunk-NELHZ2CZ.js → chunk-54MN2OT7.js} +2 -2
- package/__chunks__/{chunk-B23EXDNI.js → chunk-57IXW5TT.js} +2 -2
- package/__chunks__/chunk-57ZE7GI5.js +2 -0
- package/__chunks__/{chunk-TKGKCHWV.js → chunk-5DIKBX6P.js} +2 -2
- package/__chunks__/{chunk-B5OPLIH3.js → chunk-5FO4GXZV.js} +2 -2
- package/__chunks__/{chunk-7YS5H53I.js → chunk-5G5Z62RQ.js} +2 -2
- package/__chunks__/{chunk-AK6JLN7X.js → chunk-5GT6KIAH.js} +2 -2
- package/__chunks__/{chunk-YXMX3D44.js → chunk-5LWAGOYQ.js} +2 -2
- package/__chunks__/{chunk-6JVVJJI2.js → chunk-5NRFYSKW.js} +2 -2
- package/__chunks__/{chunk-WLB2MAWL.js → chunk-5SMPG7WT.js} +2 -2
- package/__chunks__/chunk-64IMIMQH.js +2 -0
- package/__chunks__/chunk-6ASYFKDY.js +2 -0
- package/__chunks__/chunk-6F3AOLP6.js +2 -0
- package/__chunks__/{chunk-4ETGD7RA.js → chunk-6G43EEHD.js} +2 -2
- package/__chunks__/chunk-6GRE6LWP.js +2 -0
- package/__chunks__/{chunk-RM5VGERU.js → chunk-6MPLRNGM.js} +2 -2
- package/__chunks__/{chunk-66IMZJ6B.js → chunk-6NI3FJXV.js} +2 -2
- package/__chunks__/{chunk-EJXDFD4J.js → chunk-6POXK2PJ.js} +2 -2
- package/__chunks__/chunk-6S7OTDVF.js +2 -0
- package/__chunks__/{chunk-COL5RMXV.js → chunk-6TP4L64K.js} +2 -2
- package/__chunks__/{chunk-WAHLKBUJ.js → chunk-6TPL6XUN.js} +2 -2
- package/__chunks__/{chunk-LHBWSWZS.js → chunk-6VWD6JLA.js} +2 -2
- package/__chunks__/chunk-6WYDOITO.js +2 -0
- package/__chunks__/{chunk-FCGY44YB.js → chunk-6XZAURAS.js} +2 -2
- package/__chunks__/{chunk-KB4F6P3J.js → chunk-6Z4JJJKP.js} +2 -2
- package/__chunks__/{chunk-MTNCULC2.js → chunk-76JL5QO7.js} +2 -2
- package/__chunks__/{chunk-XF6CPFU5.js → chunk-7DKL6WVO.js} +2 -2
- package/__chunks__/{chunk-GZ4CQ6MM.js → chunk-7DVAIFLW.js} +2 -2
- package/__chunks__/{chunk-JZLFQ5SW.js → chunk-7ECBYHQB.js} +2 -2
- package/__chunks__/{chunk-WRG4MJB7.js → chunk-7GQR4YD7.js} +2 -2
- package/__chunks__/{chunk-H7DVG2HZ.js → chunk-7GRPW4LB.js} +2 -2
- package/__chunks__/{chunk-T5R632QH.js → chunk-7J2YDKH7.js} +2 -2
- package/__chunks__/chunk-7KKDIWNU.js +2 -0
- package/__chunks__/{chunk-RYWUTGX5.js → chunk-7KZEINQ6.js} +2 -2
- package/__chunks__/{chunk-RW4W4GZJ.js → chunk-7O5SJW4P.js} +2 -2
- package/__chunks__/chunk-7QG3X4EF.js +2 -0
- package/__chunks__/{chunk-OZXOHG2T.js → chunk-7TWDP6MZ.js} +2 -2
- package/__chunks__/{chunk-S2QZH7BX.js → chunk-7VWOFWN4.js} +2 -2
- package/__chunks__/{chunk-IVSFQDP2.js → chunk-7ZKAOIXV.js} +2 -2
- package/__chunks__/{chunk-OHFO34IG.js → chunk-AA6UA42K.js} +2 -2
- package/__chunks__/{chunk-5DGHVML3.js → chunk-ACBDOTOI.js} +2 -2
- package/__chunks__/{chunk-VQJ42C2U.js → chunk-ADZ57DDF.js} +2 -2
- package/__chunks__/{chunk-5UKN56TO.js → chunk-AHZR22MJ.js} +2 -2
- package/__chunks__/{chunk-PILHFQ4I.js → chunk-AIANT4L7.js} +2 -2
- package/__chunks__/{chunk-44PCN2JK.js → chunk-AJBK7U72.js} +2 -2
- package/__chunks__/{chunk-MW7KDEQ3.js → chunk-AKA4Y5NA.js} +2 -2
- package/__chunks__/{chunk-IFCZLGIO.js → chunk-AKCILDST.js} +2 -2
- package/__chunks__/{chunk-52XPBA5U.js → chunk-AKYBMNYM.js} +2 -2
- package/__chunks__/{chunk-TPFRVRZP.js → chunk-AO3O66OM.js} +2 -2
- package/__chunks__/{chunk-DMPAMJFN.js → chunk-AQ4ZNPDG.js} +2 -2
- package/__chunks__/{chunk-CPZH2P5N.js → chunk-AQP5RWFQ.js} +2 -2
- package/__chunks__/chunk-AQUWFRNT.js +2 -0
- package/__chunks__/{chunk-H7HS3CNL.js → chunk-AUDCBONF.js} +2 -2
- package/__chunks__/{chunk-UYZ7M45E.js → chunk-AZLEKGWD.js} +2 -2
- package/__chunks__/{chunk-5HPP4WPH.js → chunk-B6E7UKA3.js} +2 -2
- package/__chunks__/{chunk-4USESR4K.js → chunk-BB4EGGHX.js} +2 -2
- package/__chunks__/{chunk-G3JEUK3H.js → chunk-BD74L3MZ.js} +2 -2
- package/__chunks__/{chunk-YIK4GDIM.js → chunk-BD7UJYLR.js} +2 -2
- package/__chunks__/{chunk-GJNUQ7HX.js → chunk-BFMGM2II.js} +2 -2
- package/__chunks__/chunk-BHBN6WGJ.js +2 -0
- package/__chunks__/{chunk-CBKCOWLS.js → chunk-BHVL3TP4.js} +2 -2
- package/__chunks__/chunk-BK5CR4KX.js +2 -0
- package/__chunks__/{chunk-ZD3LDWFI.js → chunk-BNIVXSZZ.js} +2 -2
- package/__chunks__/{chunk-COOBTLDH.js → chunk-BPHCEGZT.js} +2 -2
- package/__chunks__/chunk-BSVKYGFM.js +2 -0
- package/__chunks__/{chunk-3J7U5754.js → chunk-BVYDVZ27.js} +2 -2
- package/__chunks__/{chunk-YYLUXAAZ.js → chunk-BZROKJQK.js} +2 -2
- package/__chunks__/{chunk-HIRLEDEF.js → chunk-C2L3U7M6.js} +2 -2
- package/__chunks__/{chunk-MUXDZPZW.js → chunk-C2Y3I3N7.js} +2 -2
- package/__chunks__/{chunk-MT5K5NHH.js → chunk-C4YP2HWR.js} +2 -2
- package/__chunks__/{chunk-4KXAE5LH.js → chunk-CBCYE4MP.js} +2 -2
- package/__chunks__/{chunk-Z5MXLVXD.js → chunk-CGGYIILR.js} +2 -2
- package/__chunks__/{chunk-37KFBXOB.js → chunk-CISOU527.js} +2 -2
- package/__chunks__/chunk-CVZTMCJY.js +2 -0
- package/__chunks__/{chunk-5LTXQGL6.js → chunk-CYOEJLWC.js} +2 -2
- package/__chunks__/{chunk-UV55WUUP.js → chunk-CZLFFJD5.js} +2 -2
- package/__chunks__/chunk-D2EVKW2T.js +2 -0
- package/__chunks__/{chunk-TTAS26TN.js → chunk-D3LPDTJD.js} +2 -2
- package/__chunks__/chunk-D3YPLBY3.js +2 -0
- package/__chunks__/{chunk-LJOIVUJD.js → chunk-D6KSXFOS.js} +2 -2
- package/__chunks__/{chunk-AJJA3ALD.js → chunk-D7OF3YYW.js} +2 -2
- package/__chunks__/chunk-D7ZLFR62.js +2 -0
- package/__chunks__/{chunk-2TD2ZMBK.js → chunk-D7ZWYUV4.js} +2 -2
- package/__chunks__/{chunk-2HVKYXLM.js → chunk-DBQWGU4D.js} +2 -2
- package/__chunks__/{chunk-QAQU3P73.js → chunk-DFOKY7NF.js} +2 -2
- package/__chunks__/{chunk-5GDDA7JE.js → chunk-DIO4MCGN.js} +2 -2
- package/__chunks__/{chunk-YYO4HXPO.js → chunk-DK4UAYBH.js} +2 -2
- package/__chunks__/{chunk-235ZSFXE.js → chunk-DKYF6URU.js} +2 -2
- package/__chunks__/{chunk-DFXKWNYY.js → chunk-DMOIHPDB.js} +2 -2
- package/__chunks__/{chunk-UHZZBGXE.js → chunk-DOLDDIX5.js} +2 -2
- package/__chunks__/{chunk-FP7QZRI3.js → chunk-DQG4YXAO.js} +2 -2
- package/__chunks__/{chunk-TQFXVPA2.js → chunk-DQIUAHNI.js} +2 -2
- package/__chunks__/chunk-E2USJOFE.js +2 -0
- package/__chunks__/{chunk-5JZDD4LX.js → chunk-E44SCGEV.js} +2 -2
- package/__chunks__/{chunk-UQAFZGD6.js → chunk-E4K5LJHC.js} +2 -2
- package/__chunks__/chunk-E6N3V3MS.js +2 -0
- package/__chunks__/{chunk-2ZTZWMVR.js → chunk-EB7KAXYD.js} +2 -2
- package/__chunks__/{chunk-HKQJOXYX.js → chunk-ED7Y4GGR.js} +2 -2
- package/__chunks__/{chunk-DQQYXGKR.js → chunk-EGJDGEEA.js} +2 -2
- package/__chunks__/{chunk-PPLNCU4O.js → chunk-EI5UPA6X.js} +2 -2
- package/__chunks__/{chunk-FPDSY36P.js → chunk-EMID5SUK.js} +2 -2
- package/__chunks__/{chunk-XMARFIXF.js → chunk-ESATBNLE.js} +2 -2
- package/__chunks__/{chunk-JE7YPYXT.js → chunk-EUN5R7QR.js} +2 -2
- package/__chunks__/{chunk-AT4GOZ4L.js → chunk-EWDTUKTN.js} +2 -2
- package/__chunks__/chunk-EYOSDKFN.js +2 -0
- package/__chunks__/{chunk-MWVZ2QOY.js → chunk-F3QUZXXJ.js} +2 -2
- package/__chunks__/{chunk-T7TIJMDJ.js → chunk-F46BTCX2.js} +2 -2
- package/__chunks__/{chunk-Q6NKXCYX.js → chunk-F4ITIBSC.js} +2 -2
- package/__chunks__/{chunk-DZVARA6N.js → chunk-FIJHSF5X.js} +2 -2
- package/__chunks__/{chunk-6LAUQ2MO.js → chunk-FJUALVOB.js} +2 -2
- package/__chunks__/chunk-FSC7ZSUG.js +2 -0
- package/__chunks__/{chunk-WIWMBTOQ.js → chunk-FSE4OPVF.js} +2 -2
- package/__chunks__/{chunk-J4UWYYZC.js → chunk-FSMCP4UC.js} +2 -2
- package/__chunks__/chunk-G45K2OOI.js +2 -0
- package/__chunks__/{chunk-PNWLMGA7.js → chunk-GH3KBTEB.js} +2 -2
- package/__chunks__/{chunk-23L5JXNL.js → chunk-GKLIW5EG.js} +2 -2
- package/__chunks__/{chunk-P3O7MXCQ.js → chunk-GMRT4257.js} +2 -2
- package/__chunks__/{chunk-AYDSW4BQ.js → chunk-GO7VAJYP.js} +1 -1
- package/__chunks__/{chunk-TZJ7EPLP.js → chunk-GRIKEIVS.js} +2 -2
- package/__chunks__/{chunk-7WIMGLFY.js → chunk-GXN2PJ2U.js} +2 -2
- package/__chunks__/{chunk-CASVMVA2.js → chunk-GYL4XOPU.js} +2 -2
- package/__chunks__/{chunk-QBV5IV7S.js → chunk-H7KRKFKI.js} +2 -2
- package/__chunks__/{chunk-XIPHERW4.js → chunk-HCATXCKV.js} +2 -2
- package/__chunks__/{chunk-42HNYIJJ.js → chunk-HCDYGFLZ.js} +2 -2
- package/__chunks__/{chunk-BASETIVM.js → chunk-HFJTV3CC.js} +2 -2
- package/__chunks__/{chunk-UL6C4ZHN.js → chunk-HHPKT4ZS.js} +2 -2
- package/__chunks__/{chunk-JMLWVTI6.js → chunk-HJDYFXTR.js} +2 -2
- package/__chunks__/{chunk-FO6TVOST.js → chunk-HLJBBFG5.js} +2 -2
- package/__chunks__/{chunk-YSJIFOBH.js → chunk-HPR4TALS.js} +2 -2
- package/__chunks__/chunk-HQSYCI3T.js +2 -0
- package/__chunks__/{chunk-J57QO5FC.js → chunk-HV2VYUI4.js} +2 -2
- package/__chunks__/chunk-HVT6QFRJ.js +2 -0
- package/__chunks__/{chunk-W2WNUNH7.js → chunk-HYE7THQN.js} +2 -2
- package/__chunks__/chunk-IBTSNHG2.js +2 -0
- package/__chunks__/{chunk-HNBGKWEI.js → chunk-IDEX2QK6.js} +2 -2
- package/__chunks__/chunk-IDPDBOZO.js +2 -0
- package/__chunks__/{chunk-FB43WQYR.js → chunk-IDS6JBBL.js} +2 -2
- package/__chunks__/{chunk-I2CZOOCQ.js → chunk-IFQHFUYM.js} +2 -2
- package/__chunks__/{chunk-OQAMJGKT.js → chunk-IJ74KNIC.js} +2 -2
- package/__chunks__/{chunk-MU7CHDXD.js → chunk-IM7PYDCB.js} +2 -2
- package/__chunks__/chunk-IMWJX7G6.js +2 -0
- package/__chunks__/chunk-IMWRJNJI.js +2 -0
- package/__chunks__/{chunk-HBDM2CXB.js → chunk-IOMIEAIR.js} +2 -2
- package/__chunks__/chunk-IQIU2FKZ.js +2 -0
- package/__chunks__/{chunk-23CZ7BIK.js → chunk-IU4M5PQ6.js} +2 -2
- package/__chunks__/{chunk-FCQWO52J.js → chunk-IWKYYRBL.js} +2 -2
- package/__chunks__/{chunk-POT4HX2N.js → chunk-IXKVIA5H.js} +2 -2
- package/__chunks__/{chunk-THSTJ4ZA.js → chunk-IYLSN6SG.js} +2 -2
- package/__chunks__/{chunk-B5EQPJJ5.js → chunk-IZGLXHKU.js} +2 -2
- package/__chunks__/{chunk-HD5CIJSN.js → chunk-J26D377O.js} +2 -2
- package/__chunks__/chunk-J365OIYB.js +2 -0
- package/__chunks__/chunk-J3VB5SWL.js +2 -0
- package/__chunks__/{chunk-45QOKVC5.js → chunk-J7DVLQF3.js} +2 -2
- package/__chunks__/{chunk-FUBWMS6O.js → chunk-JAOBCTD3.js} +2 -2
- package/__chunks__/{chunk-JF62SYRB.js → chunk-JC4RUCEI.js} +2 -2
- package/__chunks__/{chunk-TWVK65GX.js → chunk-JE67JIKO.js} +2 -2
- package/__chunks__/{chunk-U6ULC46R.js → chunk-JEVLHEB5.js} +2 -2
- package/__chunks__/{chunk-XS5KSI45.js → chunk-JGEFDU2M.js} +2 -2
- package/__chunks__/{chunk-D63ZA32G.js → chunk-JGLC46XX.js} +2 -2
- package/__chunks__/chunk-JHNCX4OW.js +2 -0
- package/__chunks__/chunk-JLV6PEDH.js +2 -0
- package/__chunks__/chunk-JM2TKEYA.js +2 -0
- package/__chunks__/{chunk-J33I657Q.js → chunk-JV7G6IE5.js} +2 -2
- package/__chunks__/{chunk-FVSBD6FV.js → chunk-JXN7G4NW.js} +2 -2
- package/__chunks__/{chunk-EOIPZFWY.js → chunk-JZKDZHW6.js} +2 -2
- package/__chunks__/chunk-K5MDI2E3.js +2 -0
- package/__chunks__/{chunk-6WTDS3GN.js → chunk-K6KZ7EJY.js} +2 -2
- package/__chunks__/{chunk-QHCTGVVG.js → chunk-K74YQ2RW.js} +2 -2
- package/__chunks__/{chunk-Q4KQT5MP.js → chunk-KCIVRHYA.js} +2 -2
- package/__chunks__/{chunk-W4QYUPFE.js → chunk-KCLXYLGR.js} +2 -2
- package/__chunks__/{chunk-V6UXA4KK.js → chunk-KDV47UJB.js} +2 -2
- package/__chunks__/{chunk-VQCQ5USA.js → chunk-KDWNY33O.js} +2 -2
- package/__chunks__/{chunk-HVQA4X7K.js → chunk-KE5UZ3WI.js} +2 -2
- package/__chunks__/{chunk-FTGO4TZR.js → chunk-KEV7J5RA.js} +2 -2
- package/__chunks__/chunk-KF3KR2YE.js +2 -0
- package/__chunks__/{chunk-JJGACHPO.js → chunk-KHFC7UGK.js} +2 -2
- package/__chunks__/{chunk-XONL4ZTU.js → chunk-KJRFNI2R.js} +2 -2
- package/__chunks__/{chunk-OYFCA7QK.js → chunk-KKBYQXVC.js} +2 -2
- package/__chunks__/chunk-KLIFZVCU.js +2 -0
- package/__chunks__/{chunk-5LXJDEHS.js → chunk-KNKVGYPK.js} +2 -2
- package/__chunks__/{chunk-VEGGSQFV.js → chunk-KRQ7G2TW.js} +2 -2
- package/__chunks__/{chunk-QDJ6GY5X.js → chunk-KSMGEZVM.js} +2 -2
- package/__chunks__/{chunk-GFOF62WK.js → chunk-KTGCZMRY.js} +2 -2
- package/__chunks__/{chunk-6NGDAHN4.js → chunk-KUYARUDF.js} +2 -2
- package/__chunks__/{chunk-NBWCLLPP.js → chunk-KWX3IGRW.js} +2 -2
- package/__chunks__/{chunk-RCGTV3II.js → chunk-L4WIQUJM.js} +2 -2
- package/__chunks__/chunk-L5JNNCYR.js +2 -0
- package/__chunks__/{chunk-YNMUG5BM.js → chunk-L5WKFLN6.js} +2 -2
- package/__chunks__/{chunk-Y6JLQV5T.js → chunk-L66CVCKC.js} +2 -2
- package/__chunks__/{chunk-DMI43B45.js → chunk-LBBE2FK4.js} +2 -2
- package/__chunks__/{chunk-QO56JHRL.js → chunk-LKJYMPUF.js} +2 -2
- package/__chunks__/{chunk-5YLVIU7B.js → chunk-LNRA4HLZ.js} +2 -2
- package/__chunks__/{chunk-5NCBEBOC.js → chunk-LONG7KDC.js} +2 -2
- package/__chunks__/{chunk-HZLF3RST.js → chunk-LOTUE6E3.js} +2 -2
- package/__chunks__/{chunk-22LKRL5L.js → chunk-LRGA4H45.js} +2 -2
- package/__chunks__/{chunk-PADQO5KE.js → chunk-LUATBCKL.js} +2 -2
- package/__chunks__/{chunk-2EQQAK5N.js → chunk-LV3QNILO.js} +2 -2
- package/__chunks__/{chunk-3QEPVTMV.js → chunk-M3NUL3WD.js} +2 -2
- package/__chunks__/{chunk-UQIVJXUF.js → chunk-M3ORSTY4.js} +2 -2
- package/__chunks__/{chunk-433P5ET2.js → chunk-M6AV4K6T.js} +2 -2
- package/__chunks__/{chunk-YEHHH3ER.js → chunk-MBRQ45HF.js} +2 -2
- package/__chunks__/{chunk-GRBHSB7F.js → chunk-MDIXKUZT.js} +2 -2
- package/__chunks__/{chunk-5RRCXG2P.js → chunk-MDKG2FZP.js} +2 -2
- package/__chunks__/{chunk-CESK2RUN.js → chunk-MDU4IRB6.js} +2 -2
- package/__chunks__/{chunk-YSZAV7RB.js → chunk-MH7RVYLN.js} +2 -2
- package/__chunks__/{chunk-RO66UBCI.js → chunk-MIZZX4GG.js} +2 -2
- package/__chunks__/{chunk-FW3W2ZOF.js → chunk-MOHZ7BZA.js} +2 -2
- package/__chunks__/{chunk-IDZNTOAK.js → chunk-MS6PKWAY.js} +2 -2
- package/__chunks__/{chunk-I7U6NYVM.js → chunk-MTVWQLLE.js} +2 -2
- package/__chunks__/{chunk-Q3LKXBJW.js → chunk-MVFU3NVM.js} +2 -2
- package/__chunks__/{chunk-2M5WTPYA.js → chunk-MWG4XJIH.js} +2 -2
- package/__chunks__/{chunk-HOGKCMVQ.js → chunk-MYCSQFYR.js} +2 -2
- package/__chunks__/chunk-NEGXVH4R.js +2 -0
- package/__chunks__/{chunk-WSECEQ6Y.js → chunk-NFS4BVVW.js} +2 -2
- package/__chunks__/{chunk-4ZSC33SM.js → chunk-NIYEVG2X.js} +2 -2
- package/__chunks__/chunk-NOTH6QIT.js +2 -0
- package/__chunks__/{chunk-XSXGHEFM.js → chunk-NYZNOX36.js} +2 -2
- package/__chunks__/chunk-O2AD4BZE.js +2 -0
- package/__chunks__/{chunk-XWK7FBXN.js → chunk-O2NBOXPA.js} +2 -2
- package/__chunks__/{chunk-LD26ZVZR.js → chunk-O5ZUILQQ.js} +2 -2
- package/__chunks__/chunk-O6HCFTAR.js +2 -0
- package/__chunks__/{chunk-KVMVSUTO.js → chunk-OBZC3ESN.js} +2 -2
- package/__chunks__/{chunk-GG3XTPIW.js → chunk-ODBLSQID.js} +2 -2
- package/__chunks__/{chunk-A5KHTEEG.js → chunk-OF222H3K.js} +2 -2
- package/__chunks__/chunk-OGWQJGUF.js +2 -0
- package/__chunks__/{chunk-DZTJ2LJE.js → chunk-OHCGKSYB.js} +2 -2
- package/__chunks__/{chunk-PTRW5RJB.js → chunk-OLH4DPDU.js} +2 -2
- package/__chunks__/{chunk-NMLDC5OJ.js → chunk-OM6KUNIP.js} +2 -2
- package/__chunks__/{chunk-HMLOJAJZ.js → chunk-OPWBMDPI.js} +2 -2
- package/__chunks__/{chunk-NC3YA3YA.js → chunk-OQOVDOI6.js} +2 -2
- package/__chunks__/{chunk-TZ7UCEXV.js → chunk-ORIQ7L3C.js} +2 -2
- package/__chunks__/chunk-OVIOGOGH.js +2 -0
- package/__chunks__/{chunk-4F4O6F4Z.js → chunk-OY47ICNF.js} +2 -2
- package/__chunks__/{chunk-BX7IB5EV.js → chunk-P7SEHXMX.js} +2 -2
- package/__chunks__/{chunk-VLNXW72K.js → chunk-PBIGYIIU.js} +2 -2
- package/__chunks__/{chunk-J75BEVZL.js → chunk-PJTL4LCO.js} +2 -2
- package/__chunks__/{chunk-PLN65JVA.js → chunk-PMGINMXP.js} +2 -2
- package/__chunks__/{chunk-L7OVQRMN.js → chunk-PQJRFKIQ.js} +2 -2
- package/__chunks__/{chunk-KGPW6GAT.js → chunk-PS2XR3XC.js} +2 -2
- package/__chunks__/{chunk-GOMXWXRW.js → chunk-PSJATKB3.js} +2 -2
- package/__chunks__/chunk-Q2BYU53C.js +2 -0
- package/__chunks__/chunk-Q2QN2FPK.js +2 -0
- package/__chunks__/{chunk-H3QBRDZD.js → chunk-QAMGUYHB.js} +2 -2
- package/__chunks__/{chunk-KSXIUDGH.js → chunk-QN77DUKM.js} +2 -2
- package/__chunks__/{chunk-J7X7GW5E.js → chunk-QQ7RJKYI.js} +2 -2
- package/__chunks__/{chunk-YZ3BF5BJ.js → chunk-QQXN7SAU.js} +2 -2
- package/__chunks__/{chunk-TDPYMDKL.js → chunk-QVW65MZ7.js} +2 -2
- package/__chunks__/{chunk-GHG4LZW5.js → chunk-QY7LTNY5.js} +2 -2
- package/__chunks__/chunk-QYXDTGKM.js +2 -0
- package/__chunks__/{chunk-V6SF2FYN.js → chunk-R25TQ44Y.js} +2 -2
- package/__chunks__/{chunk-JSHXNU4K.js → chunk-R5EP5RPN.js} +2 -2
- package/__chunks__/{chunk-PIMN37XI.js → chunk-RAAMWUOU.js} +2 -2
- package/__chunks__/{chunk-676WWTGG.js → chunk-RBBWLYSS.js} +2 -2
- package/__chunks__/{chunk-TR6GPSRD.js → chunk-RCXQO6EH.js} +2 -2
- package/__chunks__/chunk-RGFZUTL7.js +2 -0
- package/__chunks__/{chunk-E56S4ARA.js → chunk-RGMYADUR.js} +2 -2
- package/__chunks__/{chunk-YGF4XSSB.js → chunk-RPOCGI2L.js} +2 -2
- package/__chunks__/{chunk-ZFXHTNDL.js → chunk-RR2UQRUX.js} +2 -2
- package/__chunks__/{chunk-IQDNITAE.js → chunk-RW655DLS.js} +2 -2
- package/__chunks__/{chunk-WGDILLQA.js → chunk-RWBKMSDS.js} +2 -2
- package/__chunks__/{chunk-NZZ4WYCR.js → chunk-RYEGYDMM.js} +2 -2
- package/__chunks__/{chunk-5XPAYKUI.js → chunk-S5ZHA626.js} +2 -2
- package/__chunks__/{chunk-YPNJKWCM.js → chunk-SA6LUXRD.js} +2 -2
- package/__chunks__/chunk-SD7SYUI5.js +2 -0
- package/__chunks__/{chunk-WELNDETG.js → chunk-SIQCNIIK.js} +2 -2
- package/__chunks__/{chunk-YXUDQDEU.js → chunk-SIY6G3PS.js} +2 -2
- package/__chunks__/{chunk-7JWC6XZR.js → chunk-SJBCZR3P.js} +2 -2
- package/__chunks__/{chunk-5RPOGDLB.js → chunk-SKPYHWM3.js} +2 -2
- package/__chunks__/{chunk-UXL7YXLF.js → chunk-SM62FXCD.js} +2 -2
- package/__chunks__/{chunk-TIVHCFWD.js → chunk-SMINKY6C.js} +2 -2
- package/__chunks__/{chunk-7C4Z7E37.js → chunk-SMWWXYAT.js} +2 -2
- package/__chunks__/chunk-SNZIHGIN.js +2 -0
- package/__chunks__/{chunk-EC2ZF2UF.js → chunk-SUXA3HGP.js} +2 -2
- package/__chunks__/{chunk-7THB3D67.js → chunk-SVDDAXVQ.js} +2 -2
- package/__chunks__/{chunk-7MXB7TGE.js → chunk-T4WT6T4H.js} +2 -2
- package/__chunks__/{chunk-T26J7NX2.js → chunk-T52JYWCB.js} +2 -2
- package/__chunks__/{chunk-2SP6PDXQ.js → chunk-T7JECCLM.js} +2 -2
- package/__chunks__/chunk-TAYBPKZI.js +2 -0
- package/__chunks__/{chunk-DWPQIHUF.js → chunk-TAYPKHLR.js} +2 -2
- package/__chunks__/{chunk-CBBGIA3L.js → chunk-TFUTUSMZ.js} +2 -2
- package/__chunks__/{chunk-DO2M4L2W.js → chunk-TNK2IWXC.js} +2 -2
- package/__chunks__/{chunk-HFVMVACK.js → chunk-TNVEBBGI.js} +2 -2
- package/__chunks__/chunk-TO2HMCCP.js +2 -0
- package/__chunks__/{chunk-CUYJG3TK.js → chunk-TPHB4MSC.js} +2 -2
- package/__chunks__/chunk-TXCFIGVE.js +2 -0
- package/__chunks__/{chunk-WI6VNB2C.js → chunk-TXXLW6VA.js} +2 -2
- package/__chunks__/{chunk-AM4ORRKD.js → chunk-U2X7KRM3.js} +2 -2
- package/__chunks__/{chunk-WNFXGSK3.js → chunk-U36ANSDN.js} +2 -2
- package/__chunks__/chunk-UCT2AN5N.js +2 -0
- package/__chunks__/{chunk-MXWQMXK3.js → chunk-UDV6OAJS.js} +2 -2
- package/__chunks__/{chunk-R6PNMZAV.js → chunk-UIAHDQFJ.js} +2 -2
- package/__chunks__/chunk-UQG7WNKT.js +2 -0
- package/__chunks__/{chunk-W42T7KHD.js → chunk-UTCFBKL4.js} +2 -2
- package/__chunks__/{chunk-EKLSAQDK.js → chunk-V2DIXNZL.js} +2 -2
- package/__chunks__/{chunk-PZD5E53Z.js → chunk-V7GNFMQQ.js} +2 -2
- package/__chunks__/{chunk-7FKO335I.js → chunk-VA53NOXV.js} +2 -2
- package/__chunks__/{chunk-FWF7PWGL.js → chunk-VAOOFCU3.js} +2 -2
- package/__chunks__/chunk-VAVWK4UG.js +2 -0
- package/__chunks__/chunk-VAZYS4KP.js +2 -0
- package/__chunks__/{chunk-2Q342BQV.js → chunk-VJLOOUHI.js} +2 -2
- package/__chunks__/chunk-VLCCZ3GW.js +2 -0
- package/__chunks__/{chunk-QMOUCHKK.js → chunk-VLPKO4BM.js} +2 -2
- package/__chunks__/{chunk-WSGV2T2Q.js → chunk-VMDMTZX7.js} +2 -2
- package/__chunks__/{chunk-2AAXW22I.js → chunk-VW5GXHE6.js} +2 -2
- package/__chunks__/chunk-VW6I5IV5.js +2 -0
- package/__chunks__/chunk-VYS6G3QS.js +2 -0
- package/__chunks__/{chunk-5F2TU7MC.js → chunk-W3OLP2NL.js} +2 -2
- package/__chunks__/{chunk-3SKTX2YY.js → chunk-W3S7ZXZA.js} +2 -2
- package/__chunks__/{chunk-2NQD5SJH.js → chunk-W4AQYT3Y.js} +2 -2
- package/__chunks__/{chunk-N6KL4XCA.js → chunk-W6M4YMTF.js} +2 -2
- package/__chunks__/{chunk-HOQMD6G4.js → chunk-WAHSX5VL.js} +2 -2
- package/__chunks__/{chunk-GBXPD3IK.js → chunk-WSWXITOQ.js} +2 -2
- package/__chunks__/chunk-WTQQM44M.js +2 -0
- package/__chunks__/{chunk-5YXY5GIP.js → chunk-X2MFFJLA.js} +2 -2
- package/__chunks__/{chunk-YOSKNSNO.js → chunk-X2R4BRHP.js} +2 -2
- package/__chunks__/{chunk-H5A636KV.js → chunk-X3533JUO.js} +2 -2
- package/__chunks__/chunk-X3FV3NSH.js +2 -0
- package/__chunks__/{chunk-HWFSQBFT.js → chunk-X7YK3ENS.js} +2 -2
- package/__chunks__/{chunk-OQA4DYQ6.js → chunk-XAZEN7PL.js} +2 -2
- package/__chunks__/{chunk-NGRFNE4E.js → chunk-XBPGR2GN.js} +2 -2
- package/__chunks__/{chunk-THR3COJB.js → chunk-XCEMWE36.js} +2 -2
- package/__chunks__/{chunk-U2ZRSTGG.js → chunk-XDPM7AL4.js} +2 -2
- package/__chunks__/{chunk-KQ6SMMWL.js → chunk-XDTD6Q52.js} +2 -2
- package/__chunks__/{chunk-5ZGZBM6E.js → chunk-XENYJANR.js} +2 -2
- package/__chunks__/{chunk-HH2IFWFF.js → chunk-XHZUCOSM.js} +2 -2
- package/__chunks__/{chunk-6O6SQMZU.js → chunk-XJO6T3J3.js} +2 -2
- package/__chunks__/chunk-XS7EEUSO.js +2 -0
- package/__chunks__/{chunk-5TOQ2OE4.js → chunk-XUU6VCUI.js} +2 -2
- package/__chunks__/{chunk-MC3XVJOQ.js → chunk-Y247Z3XH.js} +2 -2
- package/__chunks__/{chunk-7WXPG5VJ.js → chunk-Y4F4YU32.js} +2 -2
- package/__chunks__/{chunk-6ZBIHPUH.js → chunk-YAH726Q5.js} +2 -2
- package/__chunks__/{chunk-O2MJYH4T.js → chunk-YDKSUPLR.js} +2 -2
- package/__chunks__/{chunk-TJY46YTC.js → chunk-YEYKDQEX.js} +2 -2
- package/__chunks__/{chunk-37ZMVWBW.js → chunk-YHLRHGAS.js} +2 -2
- package/__chunks__/{chunk-RAZCCW7G.js → chunk-YID2FFWI.js} +2 -2
- package/__chunks__/{chunk-7FUC2SD7.js → chunk-YII3HASQ.js} +2 -2
- package/__chunks__/{chunk-MLZTCWFZ.js → chunk-YQ4KCZ4H.js} +2 -2
- package/__chunks__/{chunk-RSFGJN2C.js → chunk-YSBA3GTE.js} +2 -2
- package/__chunks__/{chunk-NJ72AGS3.js → chunk-YSE3BFBR.js} +2 -2
- package/__chunks__/chunk-YUME4UH5.js +2 -0
- package/__chunks__/{chunk-DCHLJPJB.js → chunk-YUXXVOF3.js} +2 -2
- package/__chunks__/{chunk-JIYXCHYX.js → chunk-YWER4VUO.js} +2 -2
- package/__chunks__/{chunk-RKKTSIES.js → chunk-YYIWDF6Z.js} +2 -2
- package/__chunks__/{chunk-54YDWBJF.js → chunk-YZRTWH7F.js} +2 -2
- package/__chunks__/{chunk-B4FHTCUN.js → chunk-ZAMT3PZG.js} +2 -2
- package/__chunks__/{chunk-JOO4LNFZ.js → chunk-ZC2ALYBV.js} +2 -2
- package/__chunks__/chunk-ZCGDE6EG.js +2 -0
- package/__chunks__/{chunk-OFNX2MGO.js → chunk-ZDNOKBPR.js} +2 -2
- package/__chunks__/{chunk-EIBUIJV5.js → chunk-ZIMJTYXB.js} +2 -2
- package/__chunks__/{chunk-YZ4IOI7W.js → chunk-ZIWMXVNR.js} +2 -2
- package/__chunks__/chunk-ZTKB7XJK.js +2 -0
- package/__chunks__/{chunk-H3L6HHZI.js → chunk-ZUVOH47A.js} +2 -2
- package/__chunks__/{chunk-IUK7NGG4.js → chunk-ZVCXEFCL.js} +2 -2
- package/__chunks__/chunk-ZW23T7WM.js +2 -0
- package/__chunks__/chunk-ZZRC2R4E.js +2 -0
- package/__commonjs/UI/SignTransactionsModals/SignTransactionsModals.js +8 -8
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +9 -9
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignWithDeviceModal.js +2 -2
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/index.js +2 -2
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/signWithDeviceModal.types.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/SignWithExtraModal.js +2 -2
- package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/index.js +2 -2
- package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/SignWithLedgerModal.js +2 -2
- package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/index.js +2 -2
- package/__commonjs/UI/SignTransactionsModals/SignWithMetamaskModal/SignWithMetamaskModal.js +2 -2
- package/__commonjs/UI/SignTransactionsModals/SignWithMetamaskModal/index.js +2 -2
- package/__commonjs/UI/SignTransactionsModals/components/ConfirmationScreen.js +2 -2
- package/__commonjs/UI/SignTransactionsModals/components/DeviceConfirmationScreen.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/components/index.js +2 -2
- package/__commonjs/UI/SignTransactionsModals/index.js +2 -2
- package/__commonjs/UI/TransactionDetails/TransactionDetails.js +8 -8
- package/__commonjs/UI/TransactionDetails/index.js +8 -8
- package/__commonjs/UI/TransactionInfo/components/TransactionAction/TransactionAction.js +11 -11
- package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/ActionText/index.js +10 -10
- package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionCollection.js +3 -3
- package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/index.js +10 -10
- package/__commonjs/UI/TransactionInfo/components/TransactionAction/index.js +11 -11
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/TransactionInfoGasUsed.js +5 -5
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/index.js +5 -5
- package/__commonjs/UI/iframe/IframeLoginButton/IframeButton.js +1 -1
- package/__commonjs/UI/iframe/IframeLoginButton/index.js +1 -1
- package/__commonjs/UI/index.js +2 -2
- package/__commonjs/UI/ledger/LedgerLoginButton/LedgerLoginButton.js +1 -1
- package/__commonjs/UI/ledger/LedgerLoginButton/index.js +1 -1
- package/__commonjs/UI/ledger/LedgerLoginContainer/AddressTable/AddressTable.js +1 -1
- package/__commonjs/UI/ledger/LedgerLoginContainer/AddressTable/index.js +1 -1
- package/__commonjs/UI/ledger/LedgerLoginContainer/ConfirmAddress/ConfirmAddress.js +1 -1
- package/__commonjs/UI/ledger/LedgerLoginContainer/ConfirmAddress/index.js +1 -1
- package/__commonjs/UI/ledger/LedgerLoginContainer/LedgerLoginContainer.js +10 -10
- package/__commonjs/UI/ledger/LedgerLoginContainer/LedgerLoginContent/LedgerLoginContent.js +1 -1
- package/__commonjs/UI/ledger/LedgerLoginContainer/LedgerLoginContent/index.js +1 -1
- package/__commonjs/UI/ledger/LedgerLoginContainer/LedgerLoginContentBody/LedgerLoginContentBody.js +1 -1
- package/__commonjs/UI/ledger/LedgerLoginContainer/LedgerLoginContentBody/index.js +1 -1
- package/__commonjs/UI/ledger/LedgerLoginContainer/index.js +10 -10
- package/__commonjs/UI/ledger/index.js +1 -1
- package/__commonjs/UI/pages/UnlockPage/index.js +1 -1
- package/__commonjs/UI/pages/index.js +1 -1
- package/__commonjs/UI/webWallet/CrossWindowLoginButton/CrossWindowLoginButton.js +1 -1
- package/__commonjs/UI/webWallet/CrossWindowLoginButton/index.js +1 -1
- package/__commonjs/UI/webWallet/WebWalletLoginButton/WebWalletLoginButton.js +2 -2
- package/__commonjs/UI/webWallet/WebWalletLoginButton/index.js +2 -2
- package/__commonjs/UI/webWallet/XaliasCrossWindowLoginButton/XaliasCrossWindowLoginButton.js +1 -1
- package/__commonjs/UI/webWallet/XaliasCrossWindowLoginButton/index.js +1 -1
- package/__commonjs/__mocks__/accountConfig.js +1 -1
- package/__commonjs/__mocks__/index.js +4 -4
- package/__commonjs/__mocks__/utils/index.js +4 -4
- package/__commonjs/__mocks__/utils/renderWithProvider.js +4 -4
- package/__commonjs/apiCalls/accounts/getAccountFromApi.d.ts +2 -0
- package/__commonjs/apiCalls/accounts/getAccountFromApi.js +1 -1
- package/__commonjs/apiCalls/accounts/index.js +1 -1
- package/__commonjs/apiCalls/index.js +1 -1
- package/__commonjs/components/ProviderInitializer/ProviderInitializer.js +3 -3
- package/__commonjs/components/ProviderInitializer/helpers/index.js +2 -2
- package/__commonjs/components/ProviderInitializer/helpers/processModifiedAccount.js +1 -1
- package/__commonjs/components/ProviderInitializer/index.js +3 -3
- package/__commonjs/components/TransactionsTracker/TransactionTracker.js +1 -1
- package/__commonjs/components/TransactionsTracker/index.js +1 -1
- package/__commonjs/constants/index.js +1 -1
- package/__commonjs/hooks/index.js +2 -2
- package/__commonjs/hooks/login/helpers/clearInitiatedLogins.js +1 -1
- package/__commonjs/hooks/login/helpers/index.js +1 -1
- package/__commonjs/hooks/login/index.js +1 -1
- package/__commonjs/hooks/login/useCrossWindowLogin.js +1 -1
- package/__commonjs/hooks/login/useIframeLogin.js +1 -1
- package/__commonjs/hooks/transactions/batch/tracker/useBatchTransactionsTracker.js +1 -1
- package/__commonjs/hooks/transactions/batch/tracker/useCheckBatchesOnWsFailureFallback.js +1 -1
- package/__commonjs/hooks/transactions/batch/tracker/useCheckHangingBatchesFallback.js +1 -1
- package/__commonjs/hooks/transactions/batch/tracker/useVerifyBatchStatus.js +1 -1
- package/__commonjs/hooks/transactions/helpers/checkNeedsGuardianSigning.js +1 -1
- package/__commonjs/hooks/transactions/helpers/index.js +2 -2
- package/__commonjs/hooks/transactions/helpers/useSetTransactionNonces.js +1 -1
- package/__commonjs/hooks/transactions/index.js +2 -2
- package/__commonjs/hooks/transactions/useCheckTransactionStatus/checkBatch.js +1 -1
- package/__commonjs/hooks/transactions/useCheckTransactionStatus/index.js +1 -1
- package/__commonjs/hooks/transactions/useCheckTransactionStatus/useCheckTransactionStatus.js +1 -1
- package/__commonjs/hooks/transactions/useSignTransactions.js +2 -2
- package/__commonjs/hooks/transactions/useSignTransactionsCommonData.js +1 -1
- package/__commonjs/hooks/transactions/useSignTransactionsWithDevice.js +2 -2
- package/__commonjs/hooks/transactions/useSignTransactionsWithLedger.js +2 -2
- package/__commonjs/hooks/transactions/useTransactionsTracker/index.js +1 -1
- package/__commonjs/hooks/transactions/useTransactionsTracker/useCheckHangingTransactionsFallback.js +1 -1
- package/__commonjs/hooks/transactions/useTransactionsTracker/useCheckTransactionOnWsFailureFallback.js +1 -1
- package/__commonjs/hooks/transactions/useTransactionsTracker/useTransactionsTracker.js +1 -1
- package/__commonjs/hooks/transactions/useTransactionsTracker/useUpdateTrackedTransactions.js +1 -1
- package/__commonjs/providers/experimentalWebViewProvider/ExperimentalWebviewProvider.js +1 -1
- package/__commonjs/providers/experimentalWebViewProvider/index.js +1 -1
- package/__commonjs/providers/experimentalWebViewProvider/useInitiateExperimentalWebviewLogin.js +1 -1
- package/__commonjs/services/index.js +1 -1
- package/__commonjs/services/transactions/__tests__/transformAndSignTransactions.test.js +1 -1
- package/__commonjs/services/transactions/index.js +1 -1
- package/__commonjs/services/transactions/sendBatchTransactions.js +1 -1
- package/__commonjs/services/transactions/sendBatchTransactions.test.js +1 -1
- package/__commonjs/services/transactions/sendTransactions.js +1 -1
- package/__commonjs/services/transactions/transformAndSignTransactions.js +1 -1
- package/__commonjs/services/transactions/utils/transformTransactionsToSign.js +1 -1
- package/__commonjs/types/index.js +1 -1
- package/__commonjs/types/network.types.d.ts +1 -0
- package/__commonjs/utils/account/getAccount.js +1 -1
- package/__commonjs/utils/account/getAccountBalance.js +1 -1
- package/__commonjs/utils/account/index.js +1 -1
- package/__commonjs/utils/account/refreshAccount.js +1 -1
- package/__commonjs/utils/index.js +2 -2
- package/__commonjs/utils/isInIframe.d.ts +2 -0
- package/__commonjs/utils/isInIframe.js +9 -0
- package/__commonjs/utils/transactions/batch/getTransactionsStatus.js +1 -1
- package/__commonjs/utils/transactions/builtCallbackUrl.js +1 -1
- package/__commonjs/utils/transactions/index.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/getScResultsInitialDecodeMethod.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/getTransactionLinkWithLabel.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/index.js +3 -3
- package/__commonjs/wrappers/DappProvider/CustomComponents.js +1 -1
- package/__commonjs/wrappers/DappProvider/DappProvider.js +4 -4
- package/__commonjs/wrappers/DappProvider/index.js +4 -4
- package/__commonjs/wrappers/index.js +4 -4
- package/__mocks__/accountConfig.js +1 -1
- package/__mocks__/index.js +1 -1
- package/__mocks__/server.js +1 -1
- package/__mocks__/utils/index.js +1 -1
- package/__mocks__/utils/renderWithProvider.js +1 -1
- package/apiCalls/accounts/getAccountFromApi.d.ts +2 -0
- package/apiCalls/accounts/getAccountFromApi.js +1 -1
- package/apiCalls/accounts/index.js +1 -1
- package/apiCalls/accounts/useGetAccountFromApi.js +1 -1
- package/apiCalls/configuration/getApiAddressForChainId.js +1 -1
- package/apiCalls/configuration/getEnvironmentForChainId.js +1 -1
- package/apiCalls/configuration/getGasStationMetadata.js +1 -1
- package/apiCalls/configuration/getNetworkConfig.js +1 -1
- package/apiCalls/configuration/getServerConfigurationForEnvironment.js +1 -1
- package/apiCalls/configuration/index.js +1 -1
- package/apiCalls/configuration/useGetNetworkConfigFromApi.js +1 -1
- package/apiCalls/configuration/useGetServerConfigurationFromApi.js +1 -1
- package/apiCalls/economics/getEconomicsInfo.js +1 -1
- package/apiCalls/economics/index.js +1 -1
- package/apiCalls/economics/useGetEconomicsInfoFromApi.js +1 -1
- package/apiCalls/index.js +1 -1
- package/apiCalls/tokens/getPersistedToken.js +1 -1
- package/apiCalls/transactions/getTransactionsByHashes.js +1 -1
- package/apiCalls/transactions/index.js +1 -1
- package/apiCalls/transactions/sendSignedBatchTransactions.js +1 -1
- package/apiCalls/transactions/sendSignedTransactions.js +1 -1
- package/apiCalls/transactions/useGetTransactionsFromApi.js +1 -1
- package/apiCalls/utils/getCleanApiAddress.js +1 -1
- package/apiCalls/utils/getScamAddressData.js +1 -1
- package/apiCalls/utils/index.js +1 -1
- package/apiCalls/utils/useApiFetch.js +1 -1
- package/components/LogoutListener/LogoutListener.js +1 -1
- package/components/LogoutListener/helpers/index.js +1 -1
- package/components/LogoutListener/helpers/useLogoutFromMultipleTabs.js +1 -1
- package/components/LogoutListener/helpers/useNativeAuthLogout.js +1 -1
- package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/index.js +1 -1
- package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/useNativeAuthLogoutWarning.js +1 -1
- package/components/LogoutListener/index.js +1 -1
- package/components/ProviderInitializer/ProviderInitializer.js +1 -1
- package/components/ProviderInitializer/helpers/handleGuardianWarning.js +1 -1
- package/components/ProviderInitializer/helpers/index.js +1 -1
- package/components/ProviderInitializer/helpers/processModifiedAccount.js +1 -1
- package/components/ProviderInitializer/hooks/index.js +1 -1
- package/components/ProviderInitializer/hooks/useSetLedgerProvider.js +1 -1
- package/components/ProviderInitializer/index.js +1 -1
- package/components/TransactionSender/TransactionSender.js +1 -1
- package/components/TransactionSender/index.js +1 -1
- package/components/TransactionSender/utils/handleSendBatchTransactionsErrors.js +1 -1
- package/components/TransactionSender/utils/handleSendTransactionsErrors.js +1 -1
- package/components/TransactionSender/utils/invokeSendTransactions.js +1 -1
- package/components/TransactionsTracker/TransactionTracker.js +1 -1
- package/components/TransactionsTracker/index.js +1 -1
- package/constants/index.js +1 -1
- package/constants/network.js +1 -1
- package/hooks/account/index.js +1 -1
- package/hooks/account/useGetAccount.js +1 -1
- package/hooks/account/useGetAccountInfo.js +1 -1
- package/hooks/account/useGetAccountProvider.js +1 -1
- package/hooks/account/useGetBatchWebsocketEvent.js +1 -1
- package/hooks/account/useGetIsLoggedIn.js +1 -1
- package/hooks/account/useGetIsWalletConnectV2Initialized.js +1 -1
- package/hooks/account/useGetLoginInfo.js +1 -1
- package/hooks/account/useGetWebsocketEvent.js +1 -1
- package/hooks/economics/index.js +1 -1
- package/hooks/economics/useGetEgldPrice.js +1 -1
- package/hooks/index.js +1 -1
- package/hooks/login/helpers/clearInitiatedLogins.js +1 -1
- package/hooks/login/helpers/index.js +1 -1
- package/hooks/login/index.js +1 -1
- package/hooks/login/useCrossWindowLogin.js +1 -1
- package/hooks/login/useExtensionLogin.js +1 -1
- package/hooks/login/useGetModalLoginMethods.js +1 -1
- package/hooks/login/useIframeLogin.js +1 -1
- package/hooks/login/useLedgerLogin.js +1 -1
- package/hooks/login/useLoginService.js +1 -1
- package/hooks/login/useMetamaskLogin.js +1 -1
- package/hooks/login/useOperaLogin.js +1 -1
- package/hooks/login/usePasskeyLogin.js +1 -1
- package/hooks/login/useWalletConnectV2Login.js +1 -1
- package/hooks/login/useWebViewLogin.js +1 -1
- package/hooks/login/useWebWalletLogin.js +1 -1
- package/hooks/login/useXaliasLogin.js +1 -1
- package/hooks/signMessage/index.js +1 -1
- package/hooks/signMessage/useGetLastSignedMessageSession.js +1 -1
- package/hooks/signMessage/useGetSignMessageSession.js +1 -1
- package/hooks/signMessage/useGetSignedMessageStatus.js +1 -1
- package/hooks/signMessage/useSignMessage.js +1 -1
- package/hooks/toasts/index.js +1 -1
- package/hooks/toasts/useGetToasts.js +1 -1
- package/hooks/toasts/useTransactionsToasts.js +1 -1
- package/hooks/transactions/batch/tracker/useBatchTransactionsTracker.js +1 -1
- package/hooks/transactions/batch/tracker/useCheckBatch.js +1 -1
- package/hooks/transactions/batch/tracker/useCheckBatchesOnWsFailureFallback.js +1 -1
- package/hooks/transactions/batch/tracker/useCheckHangingBatchesFallback.js +1 -1
- package/hooks/transactions/batch/tracker/useVerifyBatchStatus.js +1 -1
- package/hooks/transactions/batch/useGetBatchStatus.js +1 -1
- package/hooks/transactions/batch/useGetBatches.js +1 -1
- package/hooks/transactions/batch/useResolveBatchStatusResponse.js +1 -1
- package/hooks/transactions/batch/useSendBatchTransactions.js +1 -1
- package/hooks/transactions/helpers/buildBatchId.js +1 -1
- package/hooks/transactions/helpers/checkNeedsGuardianSigning.js +1 -1
- package/hooks/transactions/helpers/extractSessionId.js +1 -1
- package/hooks/transactions/helpers/getShouldMoveTransactionsToSignedState.js +1 -1
- package/hooks/transactions/helpers/index.js +1 -1
- package/hooks/transactions/helpers/useClearTransactionsToSignWithWarning.js +1 -1
- package/hooks/transactions/helpers/useGetLedgerProvider.js +1 -1
- package/hooks/transactions/helpers/useSetTransactionNonces.js +1 -1
- package/hooks/transactions/index.js +1 -1
- package/hooks/transactions/useCancelActionAndDispose.js +1 -1
- package/hooks/transactions/useCancelWalletConnectAction.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/checkBatch.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/index.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/manageFailedTransactions.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/manageTimedOutTransactions.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/useCheckTransactionStatus.js +1 -1
- package/hooks/transactions/useGetActiveTransactionsStatus.js +1 -1
- package/hooks/transactions/useGetFailedTransactions.js +1 -1
- package/hooks/transactions/useGetLastPendingTransactionHash.js +1 -1
- package/hooks/transactions/useGetPendingTransactions.js +1 -1
- package/hooks/transactions/useGetPollingInterval.js +1 -1
- package/hooks/transactions/useGetSignTransactionsError.js +1 -1
- package/hooks/transactions/useGetSignedTransactions.js +1 -1
- package/hooks/transactions/useGetSuccessfulTransactions.js +1 -1
- package/hooks/transactions/useGetTokenDetails.js +1 -1
- package/hooks/transactions/useGetTransactionDisplayInfo.js +1 -1
- package/hooks/transactions/useParseMultiEsdtTransferData.js +1 -1
- package/hooks/transactions/useParseSignedTransactions.js +1 -1
- package/hooks/transactions/useSignMultipleTransactions.js +1 -1
- package/hooks/transactions/useSignTransactions.js +1 -1
- package/hooks/transactions/useSignTransactionsCommonData.js +1 -1
- package/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
- package/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
- package/hooks/transactions/useTrackTransactionStatus.js +1 -1
- package/hooks/transactions/useTransactionsTracker/index.js +1 -1
- package/hooks/transactions/useTransactionsTracker/useCheckHangingTransactionsFallback.js +1 -1
- package/hooks/transactions/useTransactionsTracker/useCheckTransactionOnWsFailureFallback.js +1 -1
- package/hooks/transactions/useTransactionsTracker/useTransactionsTracker.js +1 -1
- package/hooks/transactions/useTransactionsTracker/useUpdateTrackedTransactions.js +1 -1
- package/hooks/transactions/useTransactionsTracker/useWebsocketPollingFallback.js +1 -1
- package/hooks/useGetNetworkConfig.js +1 -1
- package/hooks/useGetNotification.js +1 -1
- package/hooks/websocketListener/index.js +1 -1
- package/hooks/websocketListener/useInitializeWebsocketConnection.js +1 -1
- package/hooks/websocketListener/useRegisterWebsocketListener.js +1 -1
- package/models/index.js +1 -1
- package/models/newTransaction.js +1 -1
- package/package.json +1 -1
- package/providers/accountProvider.js +1 -1
- package/providers/experimentalWebViewProvider/ExperimentalWebviewProvider.js +1 -1
- package/providers/experimentalWebViewProvider/index.js +1 -1
- package/providers/experimentalWebViewProvider/useInitiateExperimentalWebviewLogin.js +1 -1
- package/providers/index.js +1 -1
- package/providers/utils.js +1 -1
- package/providers/webviewProvider/index.js +1 -1
- package/providers/webviewProvider/requestMethods.js +1 -1
- package/providers/webviewProvider/webviewProvider.js +1 -1
- package/reduxStore/DappProviderContext.js +1 -1
- package/reduxStore/commonActions.js +1 -1
- package/reduxStore/middlewares/loginSessionMiddleware.js +1 -1
- package/reduxStore/persistConfig.js +1 -1
- package/reduxStore/persistedRootReducer.js +1 -1
- package/reduxStore/reducers.js +1 -1
- package/reduxStore/rootReducer.js +1 -1
- package/reduxStore/selectors/accountInfoSelectors.js +1 -1
- package/reduxStore/selectors/index.js +1 -1
- package/reduxStore/selectors/loginInfoSelectors.js +1 -1
- package/reduxStore/selectors/transactionsInfoSelectors.js +1 -1
- package/reduxStore/selectors/transactionsSelectors.js +1 -1
- package/reduxStore/slices/accountInfoSlice.js +1 -1
- package/reduxStore/slices/batchTransactionsSlice.js +1 -1
- package/reduxStore/slices/dappConfigSlice.js +1 -1
- package/reduxStore/slices/index.js +1 -1
- package/reduxStore/slices/loginInfoSlice.js +1 -1
- package/reduxStore/slices/modalsSlice.js +1 -1
- package/reduxStore/slices/networkConfigSlice.js +1 -1
- package/reduxStore/slices/signedMessageInfoSlice.js +1 -1
- package/reduxStore/slices/toastsSlice.js +1 -1
- package/reduxStore/slices/transactionsInfoSlice.js +1 -1
- package/reduxStore/slices/transactionsSlice.js +1 -1
- package/reduxStore/store.js +1 -1
- package/services/index.js +1 -1
- package/services/nativeAuth/helpers/getAuthorizationInfo.js +1 -1
- package/services/nativeAuth/helpers/getIsNativeAuthSingingForbidden.js +1 -1
- package/services/nativeAuth/helpers/index.js +1 -1
- package/services/nativeAuth/helpers/loginWithNativeAuthToken.js +1 -1
- package/services/transactions/__tests__/transformAndSignTransactions.test.js +1 -1
- package/services/transactions/clearTransactions.js +1 -1
- package/services/transactions/getBatchTransactionsStatus.js +1 -1
- package/services/transactions/getTransactionsDetails.js +1 -1
- package/services/transactions/index.js +1 -1
- package/services/transactions/isCrossShardTransaction.js +1 -1
- package/services/transactions/sendBatchTransactions.js +1 -1
- package/services/transactions/sendBatchTransactions.test.js +1 -1
- package/services/transactions/sendTransactions.js +1 -1
- package/services/transactions/signTransactions.js +1 -1
- package/services/transactions/transformAndSignTransactions.js +1 -1
- package/services/transactions/updateSignedTransactions.js +1 -1
- package/services/transactions/utils/transformTransactionsToSign.js +1 -1
- package/services/transactions/utils.js +1 -1
- package/types/index.js +1 -1
- package/types/network.types.d.ts +1 -0
- package/types/network.types.js +1 -1
- package/utils/account/getAccount.js +1 -1
- package/utils/account/getAccountBalance.js +1 -1
- package/utils/account/getAccountProviderType.js +1 -1
- package/utils/account/getAccountShard.js +1 -1
- package/utils/account/getAddress.js +1 -1
- package/utils/account/getIsProviderEqualTo.js +1 -1
- package/utils/account/getLatestNonce.js +1 -1
- package/utils/account/getShardOfAddress.js +1 -1
- package/utils/account/getWebviewToken.js +1 -1
- package/utils/account/index.js +1 -1
- package/utils/account/loginWithExternalProvider.js +1 -1
- package/utils/account/refreshAccount.js +1 -1
- package/utils/account/setNonce.js +1 -1
- package/utils/account/signMessage.js +1 -1
- package/utils/getIsLoggedIn.js +1 -1
- package/utils/index.js +1 -1
- package/utils/isInIframe.d.ts +2 -0
- package/utils/isInIframe.js +2 -0
- package/utils/logout.js +1 -1
- package/utils/network/getChainID.js +1 -1
- package/utils/network/getEgldLabel.js +1 -1
- package/utils/network/getNetworkConfig.js +1 -1
- package/utils/network/index.js +1 -1
- package/utils/operations/calculateFeeInFiat.js +1 -1
- package/utils/operations/calculateFeeLimit.js +1 -1
- package/utils/operations/denominate.js +1 -1
- package/utils/operations/formatAmount.js +1 -1
- package/utils/operations/index.js +1 -1
- package/utils/operations/ledger/getLedgerVersionOptions.js +1 -1
- package/utils/operations/ledger/index.js +1 -1
- package/utils/operations/nominate.js +1 -1
- package/utils/operations/parseAmount.js +1 -1
- package/utils/smartContracts.js +1 -1
- package/utils/toasts/customToastsActions.js +1 -1
- package/utils/toasts/index.js +1 -1
- package/utils/transactions/batch/getTransactionsStatus.js +1 -1
- package/utils/transactions/batch/updateBatchTransactionsStatuses.js +1 -1
- package/utils/transactions/builtCallbackUrl.js +1 -1
- package/utils/transactions/getAllTransactionsLink.js +1 -1
- package/utils/transactions/getAreTransactionsOnSameShard.js +1 -1
- package/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/getTransactionValue.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getEgldValueData.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getTitleText.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromActions.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromDataField.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromOperations.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/index.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/index.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/index.js +1 -1
- package/utils/transactions/getInterpretedTransaction/index.js +1 -1
- package/utils/transactions/getOperationsDetails.js +1 -1
- package/utils/transactions/getTransactionLink.js +1 -1
- package/utils/transactions/index.js +1 -1
- package/utils/transactions/isGuardianTx.js +1 -1
- package/utils/transactions/parseMultiEsdtTransferData.js +1 -1
- package/utils/transactions/parseMultiEsdtTransferDataForMultipleTransactions.js +1 -1
- package/utils/transactions/parseTransactionAfterSigning.js +1 -1
- package/utils/transactions/removeTransactionParamsFromUrl.js +1 -1
- package/utils/transactions/transactionInfoHelpers/decodeForDisplay/decodeForDisplay.js +1 -1
- package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getDisplayValueAndValidationWarnings.js +1 -1
- package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getSmartDecodedParts.js +1 -1
- package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/index.js +1 -1
- package/utils/transactions/transactionInfoHelpers/decodeForDisplay/index.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getScResultsInitialDecodeMethod.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getShardText.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getTransactionActionNftText.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getTransactionActionTokenText.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getTransactionLinkWithLabel.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getTransactionMessages.js +1 -1
- package/utils/transactions/transactionInfoHelpers/index.js +1 -1
- package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/index.js +1 -1
- package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/mexUnwrapper.js +1 -1
- package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/index.js +1 -1
- package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/transactionActionUnwrapper.js +1 -1
- package/utils/transactions/transactionInfoHelpers/useDataDecode.js +1 -1
- package/utils/transactions/transactionInfoHelpers/useDataDecodeMethod.js +1 -1
- package/utils/validation/index.js +1 -1
- package/utils/validation/maxDecimals.js +1 -1
- package/utils/validation/stringIsFloat.js +1 -1
- package/utils/waitForChainID.js +1 -1
- package/utils/walletconnect/__mocks__/sdkWalletconnectProvider.js +1 -1
- package/web/hooks/index.js +1 -1
- package/web/hooks/useIdleTimer.js +1 -1
- package/web/index.js +1 -1
- package/wrappers/AppInitializer.js +1 -1
- package/wrappers/AuthenticatedRoutesWrapper/AuthenticatedRoutesWrapper.js +1 -1
- package/wrappers/AuthenticatedRoutesWrapper/index.js +1 -1
- package/wrappers/AxiosInterceptorContext/AxiosInterceptorContext.js +1 -1
- package/wrappers/AxiosInterceptorContext/components/AxiosInterceptor.js +1 -1
- package/wrappers/AxiosInterceptorContext/components/AxiosInterceptorContextProvider.js +1 -1
- package/wrappers/AxiosInterceptorContext/components/LoginInfoListener.js +1 -1
- package/wrappers/AxiosInterceptorContext/components/index.js +1 -1
- package/wrappers/AxiosInterceptorContext/index.js +1 -1
- package/wrappers/DappProvider/CustomComponents.js +1 -1
- package/wrappers/DappProvider/DappProvider.js +1 -1
- package/wrappers/DappProvider/index.js +1 -1
- package/wrappers/index.js +1 -1
- package/__chunks__/chunk-2NVTPJPX.js +0 -2
- package/__chunks__/chunk-3PZJXRIW.js +0 -2
- package/__chunks__/chunk-4XJXWHIS.js +0 -2
- package/__chunks__/chunk-4XRAGBQG.js +0 -2
- package/__chunks__/chunk-52KNFYBL.js +0 -2
- package/__chunks__/chunk-5G6JHA7Q.js +0 -2
- package/__chunks__/chunk-6MSK252F.js +0 -2
- package/__chunks__/chunk-6OUDPZV2.js +0 -2
- package/__chunks__/chunk-6TZJC25M.js +0 -2
- package/__chunks__/chunk-7IEBYZVV.js +0 -2
- package/__chunks__/chunk-AD6XHA3X.js +0 -2
- package/__chunks__/chunk-AGSZZQCI.js +0 -2
- package/__chunks__/chunk-AHWMH6Q7.js +0 -2
- package/__chunks__/chunk-AQEKZ5M6.js +0 -2
- package/__chunks__/chunk-BQPFJZ66.js +0 -2
- package/__chunks__/chunk-CI2L65N2.js +0 -2
- package/__chunks__/chunk-CPIUMDWK.js +0 -2
- package/__chunks__/chunk-DD6NXCWE.js +0 -2
- package/__chunks__/chunk-DF4CGW3K.js +0 -2
- package/__chunks__/chunk-E7DX3SKM.js +0 -2
- package/__chunks__/chunk-EHFK4RYM.js +0 -2
- package/__chunks__/chunk-EIZAHILW.js +0 -2
- package/__chunks__/chunk-EL4XCWL7.js +0 -2
- package/__chunks__/chunk-ETOZDXA4.js +0 -2
- package/__chunks__/chunk-EYLMFX6O.js +0 -2
- package/__chunks__/chunk-FXKSHNPR.js +0 -2
- package/__chunks__/chunk-G4BD4GA6.js +0 -2
- package/__chunks__/chunk-GN2NMIGO.js +0 -2
- package/__chunks__/chunk-GYQHZOJ4.js +0 -2
- package/__chunks__/chunk-I3BXDMX4.js +0 -2
- package/__chunks__/chunk-IANP4LNH.js +0 -2
- package/__chunks__/chunk-IFHRQ466.js +0 -2
- package/__chunks__/chunk-IJNQ2MNU.js +0 -2
- package/__chunks__/chunk-IKL5UH32.js +0 -2
- package/__chunks__/chunk-J34FNRFI.js +0 -2
- package/__chunks__/chunk-JGQO3IYF.js +0 -2
- package/__chunks__/chunk-JI5TAHNV.js +0 -2
- package/__chunks__/chunk-JUTKPTFM.js +0 -2
- package/__chunks__/chunk-JZQPE6G6.js +0 -2
- package/__chunks__/chunk-KHWQ6F3Z.js +0 -2
- package/__chunks__/chunk-KSOHYQIV.js +0 -2
- package/__chunks__/chunk-KUUXQWMZ.js +0 -2
- package/__chunks__/chunk-KXS4NTXB.js +0 -2
- package/__chunks__/chunk-KZVKJJI3.js +0 -2
- package/__chunks__/chunk-LDAG6M5F.js +0 -2
- package/__chunks__/chunk-LF4BOTWJ.js +0 -2
- package/__chunks__/chunk-LOQKHPSW.js +0 -2
- package/__chunks__/chunk-M6Q5DIQ2.js +0 -2
- package/__chunks__/chunk-MIAREOD7.js +0 -2
- package/__chunks__/chunk-MZ74B3MS.js +0 -2
- package/__chunks__/chunk-N4U3SBE4.js +0 -2
- package/__chunks__/chunk-NE4FYGUN.js +0 -2
- package/__chunks__/chunk-O3L7WMBZ.js +0 -2
- package/__chunks__/chunk-OCFQZ423.js +0 -2
- package/__chunks__/chunk-OKFRVKYC.js +0 -2
- package/__chunks__/chunk-PATL4EA3.js +0 -2
- package/__chunks__/chunk-PLVUBVRA.js +0 -2
- package/__chunks__/chunk-PLWHFDXP.js +0 -2
- package/__chunks__/chunk-PNS5FXYP.js +0 -2
- package/__chunks__/chunk-QUDMUQOF.js +0 -2
- package/__chunks__/chunk-RHZTKPNU.js +0 -2
- package/__chunks__/chunk-RYUYJWIY.js +0 -2
- package/__chunks__/chunk-SBOULZCN.js +0 -2
- package/__chunks__/chunk-SFKU5YIU.js +0 -2
- package/__chunks__/chunk-SOCKF63S.js +0 -2
- package/__chunks__/chunk-TBETFKN2.js +0 -2
- package/__chunks__/chunk-WNWPHMGX.js +0 -2
- package/__chunks__/chunk-WYGT55WC.js +0 -2
- package/__chunks__/chunk-XHYFEOS5.js +0 -2
- package/__chunks__/chunk-XPFX7JNZ.js +0 -2
- package/__chunks__/chunk-YRK6XCMO.js +0 -2
- package/__chunks__/chunk-ZQNLAYZG.js +0 -2
- package/__chunks__/chunk-ZVLCXTYU.js +0 -2
- package/__chunks__/chunk-ZZFGUI3D.js +0 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var Ur=Object.create;var M=Object.defineProperty;var _r=Object.getOwnPropertyDescriptor;var Er=Object.getOwnPropertyNames,tr=Object.getOwnPropertySymbols,Dr=Object.getPrototypeOf,ir=Object.prototype.hasOwnProperty,Nr=Object.prototype.propertyIsEnumerable;var nr=(t,r,e)=>r in t?M(t,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[r]=e,W=(t,r)=>{for(var e in r||(r={}))ir.call(r,e)&&nr(t,e,r[e]);if(tr)for(var e of tr(r))Nr.call(r,e)&&nr(t,e,r[e]);return t};var Pr=(t,r)=>()=>(t&&(r=t(t=0)),r);var G=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),Mr=(t,r)=>{for(var e in r)M(t,e,{get:r[e],enumerable:!0})},ar=(t,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of Er(r))!ir.call(t,i)&&i!==e&&M(t,i,{get:()=>r[i],enumerable:!(n=_r(r,i))||n.enumerable});return t};var or=(t,r,e)=>(e=t!=null?Ur(Dr(t)):{},ar(r||!t||!t.__esModule?M(e,"default",{value:t,enumerable:!0}):e,t)),Wr=t=>ar(M({},"__esModule",{value:!0}),t);var ur=G(H=>{"use strict";l();H.byteLength=Hr;H.toByteArray=Or;H.fromByteArray=zr;var k=[],v=[],Gr=typeof Uint8Array!="undefined"?Uint8Array:Array,Y="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(L=0,sr=Y.length;L<sr;++L)k[L]=Y[L],v[Y.charCodeAt(L)]=L;var L,sr;v["-".charCodeAt(0)]=62;v["_".charCodeAt(0)]=63;function pr(t){var r=t.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var e=t.indexOf("=");e===-1&&(e=r);var n=e===r?0:4-e%4;return[e,n]}function Hr(t){var r=pr(t),e=r[0],n=r[1];return(e+n)*3/4-n}function qr(t,r,e){return(r+e)*3/4-e}function Or(t){var r,e=pr(t),n=e[0],i=e[1],a=new Gr(qr(t,n,i)),o=0,u=i>0?n-4:n,p;for(p=0;p<u;p+=4)r=v[t.charCodeAt(p)]<<18|v[t.charCodeAt(p+1)]<<12|v[t.charCodeAt(p+2)]<<6|v[t.charCodeAt(p+3)],a[o++]=r>>16&255,a[o++]=r>>8&255,a[o++]=r&255;return i===2&&(r=v[t.charCodeAt(p)]<<2|v[t.charCodeAt(p+1)]>>4,a[o++]=r&255),i===1&&(r=v[t.charCodeAt(p)]<<10|v[t.charCodeAt(p+1)]<<4|v[t.charCodeAt(p+2)]>>2,a[o++]=r>>8&255,a[o++]=r&255),a}function Vr(t){return k[t>>18&63]+k[t>>12&63]+k[t>>6&63]+k[t&63]}function Yr(t,r,e){for(var n,i=[],a=r;a<e;a+=3)n=(t[a]<<16&16711680)+(t[a+1]<<8&65280)+(t[a+2]&255),i.push(Vr(n));return i.join("")}function zr(t){for(var r,e=t.length,n=e%3,i=[],a=16383,o=0,u=e-n;o<u;o+=a)i.push(Yr(t,o,o+a>u?u:o+a));return n===1?(r=t[e-1],i.push(k[r>>2]+k[r<<4&63]+"==")):n===2&&(r=(t[e-2]<<8)+t[e-1],i.push(k[r>>10]+k[r>>4&63]+k[r<<2&63]+"=")),i.join("")}});var cr=G(z=>{l();z.read=function(t,r,e,n,i){var a,o,u=i*8-n-1,p=(1<<u)-1,f=p>>1,g=-7,c=e?i-1:0,b=e?-1:1,T=t[r+c];for(c+=b,a=T&(1<<-g)-1,T>>=-g,g+=u;g>0;a=a*256+t[r+c],c+=b,g-=8);for(o=a&(1<<-g)-1,a>>=-g,g+=n;g>0;o=o*256+t[r+c],c+=b,g-=8);if(a===0)a=1-f;else{if(a===p)return o?NaN:(T?-1:1)*(1/0);o=o+Math.pow(2,n),a=a-f}return(T?-1:1)*o*Math.pow(2,a-n)};z.write=function(t,r,e,n,i,a){var o,u,p,f=a*8-i-1,g=(1<<f)-1,c=g>>1,b=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,T=n?0:a-1,_=n?1:-1,Cr=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(u=isNaN(r)?1:0,o=g):(o=Math.floor(Math.log(r)/Math.LN2),r*(p=Math.pow(2,-o))<1&&(o--,p*=2),o+c>=1?r+=b/p:r+=b*Math.pow(2,1-c),r*p>=2&&(o++,p/=2),o+c>=g?(u=0,o=g):o+c>=1?(u=(r*p-1)*Math.pow(2,i),o=o+c):(u=r*Math.pow(2,c-1)*Math.pow(2,i),o=0));i>=8;t[e+T]=u&255,T+=_,u/=256,i-=8);for(o=o<<i|u,f+=i;f>0;t[e+T]=o&255,T+=_,o/=256,f-=8);t[e+T-_]|=Cr*128}});var kr=G(D=>{"use strict";l();var X=ur(),E=cr(),lr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;D.Buffer=s;D.SlowBuffer=Zr;D.INSPECT_MAX_BYTES=50;var q=2147483647;D.kMaxLength=q;s.TYPED_ARRAY_SUPPORT=Xr();!s.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function Xr(){try{var t=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(t,r),t.foo()===42}catch(e){return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.buffer}});Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.byteOffset}});function A(t){if(t>q)throw new RangeError('The value "'+t+'" is invalid for option "size"');var r=new Uint8Array(t);return Object.setPrototypeOf(r,s.prototype),r}function s(t,r,e){if(typeof t=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Q(t)}return dr(t,r,e)}s.poolSize=8192;function dr(t,r,e){if(typeof t=="string")return jr(t,r);if(ArrayBuffer.isView(t))return Kr(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(F(t,ArrayBuffer)||t&&F(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(F(t,SharedArrayBuffer)||t&&F(t.buffer,SharedArrayBuffer)))return j(t,r,e);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return s.from(n,r,e);var i=Qr(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.from(t[Symbol.toPrimitive]("string"),r,e);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}s.from=function(t,r,e){return dr(t,r,e)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function hr(t){if(typeof t!="number")throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function Jr(t,r,e){return hr(t),t<=0?A(t):r!==void 0?typeof e=="string"?A(t).fill(r,e):A(t).fill(r):A(t)}s.alloc=function(t,r,e){return Jr(t,r,e)};function Q(t){return hr(t),A(t<0?0:Z(t)|0)}s.allocUnsafe=function(t){return Q(t)};s.allocUnsafeSlow=function(t){return Q(t)};function jr(t,r){if((typeof r!="string"||r==="")&&(r="utf8"),!s.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var e=yr(t,r)|0,n=A(e),i=n.write(t,r);return i!==e&&(n=n.slice(0,i)),n}function J(t){for(var r=t.length<0?0:Z(t.length)|0,e=A(r),n=0;n<r;n+=1)e[n]=t[n]&255;return e}function Kr(t){if(F(t,Uint8Array)){var r=new Uint8Array(t);return j(r.buffer,r.byteOffset,r.byteLength)}return J(t)}function j(t,r,e){if(r<0||t.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<r+(e||0))throw new RangeError('"length" is outside of buffer bounds');var n;return r===void 0&&e===void 0?n=new Uint8Array(t):e===void 0?n=new Uint8Array(t,r):n=new Uint8Array(t,r,e),Object.setPrototypeOf(n,s.prototype),n}function Qr(t){if(s.isBuffer(t)){var r=Z(t.length)|0,e=A(r);return e.length===0||t.copy(e,0,0,r),e}if(t.length!==void 0)return typeof t.length!="number"||$(t.length)?A(0):J(t);if(t.type==="Buffer"&&Array.isArray(t.data))return J(t.data)}function Z(t){if(t>=q)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+q.toString(16)+" bytes");return t|0}function Zr(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==s.prototype};s.compare=function(r,e){if(F(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),F(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(r)||!s.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===e)return 0;for(var n=r.length,i=e.length,a=0,o=Math.min(n,i);a<o;++a)if(r[a]!==e[a]){n=r[a],i=e[a];break}return n<i?-1:i<n?1:0};s.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}};s.concat=function(r,e){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return s.alloc(0);var n;if(e===void 0)for(e=0,n=0;n<r.length;++n)e+=r[n].length;var i=s.allocUnsafe(e),a=0;for(n=0;n<r.length;++n){var o=r[n];if(F(o,Uint8Array))a+o.length>i.length?s.from(o).copy(i,a):Uint8Array.prototype.set.call(i,o,a);else if(s.isBuffer(o))o.copy(i,a);else throw new TypeError('"list" argument must be an Array of Buffers');a+=o.length}return i};function yr(t,r){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||F(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var e=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&e===0)return 0;for(var i=!1;;)switch(r){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":return K(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return e*2;case"hex":return e>>>1;case"base64":return br(t).length;default:if(i)return n?-1:K(t).length;r=(""+r).toLowerCase(),i=!0}}s.byteLength=yr;function $r(t,r,e){var n=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((e===void 0||e>this.length)&&(e=this.length),e<=0)||(e>>>=0,r>>>=0,e<=r))return"";for(t||(t="utf8");;)switch(t){case"hex":return ue(this,r,e);case"utf8":case"utf-8":return xr(this,r,e);case"ascii":return se(this,r,e);case"latin1":case"binary":return pe(this,r,e);case"base64":return ae(this,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ce(this,r,e);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function C(t,r,e){var n=t[r];t[r]=t[e],t[e]=n}s.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 e=0;e<r;e+=2)C(this,e,e+1);return this};s.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 e=0;e<r;e+=4)C(this,e,e+3),C(this,e+1,e+2);return this};s.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 e=0;e<r;e+=8)C(this,e,e+7),C(this,e+1,e+6),C(this,e+2,e+5),C(this,e+3,e+4);return this};s.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?xr(this,0,r):$r.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(r){if(!s.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:s.compare(this,r)===0};s.prototype.inspect=function(){var r="",e=D.INSPECT_MAX_BYTES;return r=this.toString("hex",0,e).replace(/(.{2})/g,"$1 ").trim(),this.length>e&&(r+=" ... "),"<Buffer "+r+">"};lr&&(s.prototype[lr]=s.prototype.inspect);s.prototype.compare=function(r,e,n,i,a){if(F(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(e===void 0&&(e=0),n===void 0&&(n=r?r.length:0),i===void 0&&(i=0),a===void 0&&(a=this.length),e<0||n>r.length||i<0||a>this.length)throw new RangeError("out of range index");if(i>=a&&e>=n)return 0;if(i>=a)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,i>>>=0,a>>>=0,this===r)return 0;for(var o=a-i,u=n-e,p=Math.min(o,u),f=this.slice(i,a),g=r.slice(e,n),c=0;c<p;++c)if(f[c]!==g[c]){o=f[c],u=g[c];break}return o<u?-1:u<o?1:0};function mr(t,r,e,n,i){if(t.length===0)return-1;if(typeof e=="string"?(n=e,e=0):e>2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),e=+e,$(e)&&(e=i?0:t.length-1),e<0&&(e=t.length+e),e>=t.length){if(i)return-1;e=t.length-1}else if(e<0)if(i)e=0;else return-1;if(typeof r=="string"&&(r=s.from(r,n)),s.isBuffer(r))return r.length===0?-1:fr(t,r,e,n,i);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,r,e):Uint8Array.prototype.lastIndexOf.call(t,r,e):fr(t,[r],e,n,i);throw new TypeError("val must be string, number or Buffer")}function fr(t,r,e,n,i){var a=1,o=t.length,u=r.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||r.length<2)return-1;a=2,o/=2,u/=2,e/=2}function p(T,_){return a===1?T[_]:T.readUInt16BE(_*a)}var f;if(i){var g=-1;for(f=e;f<o;f++)if(p(t,f)===p(r,g===-1?0:f-g)){if(g===-1&&(g=f),f-g+1===u)return g*a}else g!==-1&&(f-=f-g),g=-1}else for(e+u>o&&(e=o-u),f=e;f>=0;f--){for(var c=!0,b=0;b<u;b++)if(p(t,f+b)!==p(r,b)){c=!1;break}if(c)return f}return-1}s.prototype.includes=function(r,e,n){return this.indexOf(r,e,n)!==-1};s.prototype.indexOf=function(r,e,n){return mr(this,r,e,n,!0)};s.prototype.lastIndexOf=function(r,e,n){return mr(this,r,e,n,!1)};function re(t,r,e,n){e=Number(e)||0;var i=t.length-e;n?(n=Number(n),n>i&&(n=i)):n=i;var a=r.length;n>a/2&&(n=a/2);for(var o=0;o<n;++o){var u=parseInt(r.substr(o*2,2),16);if($(u))return o;t[e+o]=u}return o}function ee(t,r,e,n){return O(K(r,t.length-e),t,e,n)}function te(t,r,e,n){return O(ge(r),t,e,n)}function ne(t,r,e,n){return O(br(r),t,e,n)}function ie(t,r,e,n){return O(de(r,t.length-e),t,e,n)}s.prototype.write=function(r,e,n,i){if(e===void 0)i="utf8",n=this.length,e=0;else if(n===void 0&&typeof e=="string")i=e,n=this.length,e=0;else if(isFinite(e))e=e>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var a=this.length-e;if((n===void 0||n>a)&&(n=a),r.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var o=!1;;)switch(i){case"hex":return re(this,r,e,n);case"utf8":case"utf-8":return ee(this,r,e,n);case"ascii":case"latin1":case"binary":return te(this,r,e,n);case"base64":return ne(this,r,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ie(this,r,e,n);default:if(o)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),o=!0}};s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function ae(t,r,e){return r===0&&e===t.length?X.fromByteArray(t):X.fromByteArray(t.slice(r,e))}function xr(t,r,e){e=Math.min(t.length,e);for(var n=[],i=r;i<e;){var a=t[i],o=null,u=a>239?4:a>223?3:a>191?2:1;if(i+u<=e){var p,f,g,c;switch(u){case 1:a<128&&(o=a);break;case 2:p=t[i+1],(p&192)===128&&(c=(a&31)<<6|p&63,c>127&&(o=c));break;case 3:p=t[i+1],f=t[i+2],(p&192)===128&&(f&192)===128&&(c=(a&15)<<12|(p&63)<<6|f&63,c>2047&&(c<55296||c>57343)&&(o=c));break;case 4:p=t[i+1],f=t[i+2],g=t[i+3],(p&192)===128&&(f&192)===128&&(g&192)===128&&(c=(a&15)<<18|(p&63)<<12|(f&63)<<6|g&63,c>65535&&c<1114112&&(o=c))}}o===null?(o=65533,u=1):o>65535&&(o-=65536,n.push(o>>>10&1023|55296),o=56320|o&1023),n.push(o),i+=u}return oe(n)}var gr=4096;function oe(t){var r=t.length;if(r<=gr)return String.fromCharCode.apply(String,t);for(var e="",n=0;n<r;)e+=String.fromCharCode.apply(String,t.slice(n,n+=gr));return e}function se(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]&127);return n}function pe(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]);return n}function ue(t,r,e){var n=t.length;(!r||r<0)&&(r=0),(!e||e<0||e>n)&&(e=n);for(var i="",a=r;a<e;++a)i+=he[t[a]];return i}function ce(t,r,e){for(var n=t.slice(r,e),i="",a=0;a<n.length-1;a+=2)i+=String.fromCharCode(n[a]+n[a+1]*256);return i}s.prototype.slice=function(r,e){var n=this.length;r=~~r,e=e===void 0?n:~~e,r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),e<r&&(e=r);var i=this.subarray(r,e);return Object.setPrototypeOf(i,s.prototype),i};function h(t,r,e){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+r>e)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||h(r,e,this.length);for(var i=this[r],a=1,o=0;++o<e&&(a*=256);)i+=this[r+o]*a;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||h(r,e,this.length);for(var i=this[r+--e],a=1;e>0&&(a*=256);)i+=this[r+--e]*a;return i};s.prototype.readUint8=s.prototype.readUInt8=function(r,e){return r=r>>>0,e||h(r,1,this.length),this[r]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(r,e){return r=r>>>0,e||h(r,2,this.length),this[r]|this[r+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(r,e){return r=r>>>0,e||h(r,2,this.length),this[r]<<8|this[r+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(r,e){return r=r>>>0,e||h(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(r,e){return r=r>>>0,e||h(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};s.prototype.readIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||h(r,e,this.length);for(var i=this[r],a=1,o=0;++o<e&&(a*=256);)i+=this[r+o]*a;return a*=128,i>=a&&(i-=Math.pow(2,8*e)),i};s.prototype.readIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||h(r,e,this.length);for(var i=e,a=1,o=this[r+--i];i>0&&(a*=256);)o+=this[r+--i]*a;return a*=128,o>=a&&(o-=Math.pow(2,8*e)),o};s.prototype.readInt8=function(r,e){return r=r>>>0,e||h(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};s.prototype.readInt16LE=function(r,e){r=r>>>0,e||h(r,2,this.length);var n=this[r]|this[r+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(r,e){r=r>>>0,e||h(r,2,this.length);var n=this[r+1]|this[r]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(r,e){return r=r>>>0,e||h(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};s.prototype.readInt32BE=function(r,e){return r=r>>>0,e||h(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};s.prototype.readFloatLE=function(r,e){return r=r>>>0,e||h(r,4,this.length),E.read(this,r,!0,23,4)};s.prototype.readFloatBE=function(r,e){return r=r>>>0,e||h(r,4,this.length),E.read(this,r,!1,23,4)};s.prototype.readDoubleLE=function(r,e){return r=r>>>0,e||h(r,8,this.length),E.read(this,r,!0,52,8)};s.prototype.readDoubleBE=function(r,e){return r=r>>>0,e||h(r,8,this.length),E.read(this,r,!1,52,8)};function w(t,r,e,n,i,a){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>i||r<a)throw new RangeError('"value" argument is out of bounds');if(e+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;w(this,r,e,n,a,0)}var o=1,u=0;for(this[e]=r&255;++u<n&&(o*=256);)this[e+u]=r/o&255;return e+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;w(this,r,e,n,a,0)}var o=n-1,u=1;for(this[e+o]=r&255;--o>=0&&(u*=256);)this[e+o]=r/u&255;return e+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,1,255,0),this[e]=r&255,e+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,65535,0),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,65535,0),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,4294967295,0),this[e+3]=r>>>24,this[e+2]=r>>>16,this[e+1]=r>>>8,this[e]=r&255,e+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,4294967295,0),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};s.prototype.writeIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var a=Math.pow(2,8*n-1);w(this,r,e,n,a-1,-a)}var o=0,u=1,p=0;for(this[e]=r&255;++o<n&&(u*=256);)r<0&&p===0&&this[e+o-1]!==0&&(p=1),this[e+o]=(r/u>>0)-p&255;return e+n};s.prototype.writeIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var a=Math.pow(2,8*n-1);w(this,r,e,n,a-1,-a)}var o=n-1,u=1,p=0;for(this[e+o]=r&255;--o>=0&&(u*=256);)r<0&&p===0&&this[e+o+1]!==0&&(p=1),this[e+o]=(r/u>>0)-p&255;return e+n};s.prototype.writeInt8=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,1,127,-128),r<0&&(r=255+r+1),this[e]=r&255,e+1};s.prototype.writeInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,32767,-32768),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,32767,-32768),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,2147483647,-2147483648),this[e]=r&255,this[e+1]=r>>>8,this[e+2]=r>>>16,this[e+3]=r>>>24,e+4};s.prototype.writeInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};function wr(t,r,e,n,i,a){if(e+n>t.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function Tr(t,r,e,n,i){return r=+r,e=e>>>0,i||wr(t,r,e,4,34028234663852886e22,-34028234663852886e22),E.write(t,r,e,n,23,4),e+4}s.prototype.writeFloatLE=function(r,e,n){return Tr(this,r,e,!0,n)};s.prototype.writeFloatBE=function(r,e,n){return Tr(this,r,e,!1,n)};function vr(t,r,e,n,i){return r=+r,e=e>>>0,i||wr(t,r,e,8,17976931348623157e292,-17976931348623157e292),E.write(t,r,e,n,52,8),e+8}s.prototype.writeDoubleLE=function(r,e,n){return vr(this,r,e,!0,n)};s.prototype.writeDoubleBE=function(r,e,n){return vr(this,r,e,!1,n)};s.prototype.copy=function(r,e,n,i){if(!s.isBuffer(r))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),e>=r.length&&(e=r.length),e||(e=0),i>0&&i<n&&(i=n),i===n||r.length===0||this.length===0)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),r.length-e<i-n&&(i=r.length-e+n);var a=i-n;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(e,n,i):Uint8Array.prototype.set.call(r,this.subarray(n,i),e),a};s.prototype.fill=function(r,e,n,i){if(typeof r=="string"){if(typeof e=="string"?(i=e,e=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(r.length===1){var a=r.charCodeAt(0);(i==="utf8"&&a<128||i==="latin1")&&(r=a)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;e=e>>>0,n=n===void 0?this.length:n>>>0,r||(r=0);var o;if(typeof r=="number")for(o=e;o<n;++o)this[o]=r;else{var u=s.isBuffer(r)?r:s.from(r,i),p=u.length;if(p===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(o=0;o<n-e;++o)this[o+e]=u[o%p]}return this};var le=/[^+/0-9A-Za-z-_]/g;function fe(t){if(t=t.split("=")[0],t=t.trim().replace(le,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function K(t,r){r=r||1/0;for(var e,n=t.length,i=null,a=[],o=0;o<n;++o){if(e=t.charCodeAt(o),e>55295&&e<57344){if(!i){if(e>56319){(r-=3)>-1&&a.push(239,191,189);continue}else if(o+1===n){(r-=3)>-1&&a.push(239,191,189);continue}i=e;continue}if(e<56320){(r-=3)>-1&&a.push(239,191,189),i=e;continue}e=(i-55296<<10|e-56320)+65536}else i&&(r-=3)>-1&&a.push(239,191,189);if(i=null,e<128){if((r-=1)<0)break;a.push(e)}else if(e<2048){if((r-=2)<0)break;a.push(e>>6|192,e&63|128)}else if(e<65536){if((r-=3)<0)break;a.push(e>>12|224,e>>6&63|128,e&63|128)}else if(e<1114112){if((r-=4)<0)break;a.push(e>>18|240,e>>12&63|128,e>>6&63|128,e&63|128)}else throw new Error("Invalid code point")}return a}function ge(t){for(var r=[],e=0;e<t.length;++e)r.push(t.charCodeAt(e)&255);return r}function de(t,r){for(var e,n,i,a=[],o=0;o<t.length&&!((r-=2)<0);++o)e=t.charCodeAt(o),n=e>>8,i=e%256,a.push(i),a.push(n);return a}function br(t){return X.toByteArray(fe(t))}function O(t,r,e,n){for(var i=0;i<n&&!(i+e>=r.length||i>=t.length);++i)r[i+e]=t[i];return i}function F(t,r){return t instanceof r||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===r.name}function $(t){return t!==t}var he=function(){for(var t="0123456789abcdef",r=new Array(256),e=0;e<16;++e)for(var n=e*16,i=0;i<16;++i)r[n+i]=t[e]+t[i];return r}()});var Br=G((Ie,Ar)=>{l();var d=Ar.exports={},I,S;function rr(){throw new Error("setTimeout has not been defined")}function er(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?I=setTimeout:I=rr}catch(t){I=rr}try{typeof clearTimeout=="function"?S=clearTimeout:S=er}catch(t){S=er}})();function Fr(t){if(I===setTimeout)return setTimeout(t,0);if((I===rr||!I)&&setTimeout)return I=setTimeout,setTimeout(t,0);try{return I(t,0)}catch(r){try{return I.call(null,t,0)}catch(e){return I.call(this,t,0)}}}function ye(t){if(S===clearTimeout)return clearTimeout(t);if((S===er||!S)&&clearTimeout)return S=clearTimeout,clearTimeout(t);try{return S(t)}catch(r){try{return S.call(null,t)}catch(e){return S.call(this,t)}}}var B=[],N=!1,U,V=-1;function me(){!N||!U||(N=!1,U.length?B=U.concat(B):V=-1,B.length&&Ir())}function Ir(){if(!N){var t=Fr(me);N=!0;for(var r=B.length;r;){for(U=B,B=[];++V<r;)U&&U[V].run();V=-1,r=B.length}U=null,N=!1,ye(t)}}d.nextTick=function(t){var r=new Array(arguments.length-1);if(arguments.length>1)for(var e=1;e<arguments.length;e++)r[e-1]=arguments[e];B.push(new Sr(t,r)),B.length===1&&!N&&Fr(Ir)};function Sr(t,r){this.fun=t,this.array=r}Sr.prototype.run=function(){this.fun.apply(null,this.array)};d.title="browser";d.browser=!0;d.env={};d.argv=[];d.version="";d.versions={};function R(){}d.on=R;d.addListener=R;d.once=R;d.off=R;d.removeListener=R;d.removeAllListeners=R;d.emit=R;d.prependListener=R;d.prependOnceListener=R;d.listeners=function(t){return[]};d.binding=function(t){throw new Error("process.binding is not supported")};d.cwd=function(){return"/"};d.chdir=function(t){throw new Error("process.chdir is not supported")};d.umask=function(){return 0}});var y,m,Se,l=Pr(()=>{y=or(kr()),m=or(Br()),Se=function(t){function r(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return r();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:r});var e=__magic__;return e}(Object)});var Te={};Mr(Te,{getTransactionLinkWithLabel:()=>we});module.exports=Wr(Te);l();l();l();l();l();l();l();var xe=require("@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider"),P=require("@multiversx/sdk-web-wallet-cross-window-provider/out/enums");var Rr=(e=>(e.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",e.reloginRequest="RELOGIN_REQUEST",e))(Rr||{}),Ce=W(W({},P.WindowProviderRequestEnums),Rr),Lr=(r=>(r.reloginResponse="RELOGIN_RESPONSE",r))(Lr||{}),Ue=W(W({},P.WindowProviderResponseEnums),Lr);l();l();l();l();l();l();var we=({transaction:t,direction:r})=>{var p;let e=r==="Internal",n=t.sender;if(e)return{link:(p=t.links.senderLink)!=null?p:"",label:"Smart Contract transaction",address:n};let i=r==="Out",a=i?t.links.receiverLink:t.links.senderLink,o="";return r==="Self"&&t.receiverAssets?o=t.receiverAssets.name:(n=i?t.receiver:t.sender,o=i?"To:":"From:"),{label:o,address:n,link:a!=null?a:""}};0&&(module.exports={getTransactionLinkWithLabel});
|
|
1
|
+
"use strict";var Ur=Object.create;var M=Object.defineProperty;var _r=Object.getOwnPropertyDescriptor;var Er=Object.getOwnPropertyNames,tr=Object.getOwnPropertySymbols,Dr=Object.getPrototypeOf,ir=Object.prototype.hasOwnProperty,Nr=Object.prototype.propertyIsEnumerable;var nr=(t,r,e)=>r in t?M(t,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[r]=e,W=(t,r)=>{for(var e in r||(r={}))ir.call(r,e)&&nr(t,e,r[e]);if(tr)for(var e of tr(r))Nr.call(r,e)&&nr(t,e,r[e]);return t};var Pr=(t,r)=>()=>(t&&(r=t(t=0)),r);var G=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),Mr=(t,r)=>{for(var e in r)M(t,e,{get:r[e],enumerable:!0})},ar=(t,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of Er(r))!ir.call(t,i)&&i!==e&&M(t,i,{get:()=>r[i],enumerable:!(n=_r(r,i))||n.enumerable});return t};var or=(t,r,e)=>(e=t!=null?Ur(Dr(t)):{},ar(r||!t||!t.__esModule?M(e,"default",{value:t,enumerable:!0}):e,t)),Wr=t=>ar(M({},"__esModule",{value:!0}),t);var ur=G(H=>{"use strict";l();H.byteLength=Hr;H.toByteArray=Or;H.fromByteArray=zr;var k=[],v=[],Gr=typeof Uint8Array!="undefined"?Uint8Array:Array,Y="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(L=0,sr=Y.length;L<sr;++L)k[L]=Y[L],v[Y.charCodeAt(L)]=L;var L,sr;v["-".charCodeAt(0)]=62;v["_".charCodeAt(0)]=63;function pr(t){var r=t.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var e=t.indexOf("=");e===-1&&(e=r);var n=e===r?0:4-e%4;return[e,n]}function Hr(t){var r=pr(t),e=r[0],n=r[1];return(e+n)*3/4-n}function qr(t,r,e){return(r+e)*3/4-e}function Or(t){var r,e=pr(t),n=e[0],i=e[1],a=new Gr(qr(t,n,i)),o=0,u=i>0?n-4:n,p;for(p=0;p<u;p+=4)r=v[t.charCodeAt(p)]<<18|v[t.charCodeAt(p+1)]<<12|v[t.charCodeAt(p+2)]<<6|v[t.charCodeAt(p+3)],a[o++]=r>>16&255,a[o++]=r>>8&255,a[o++]=r&255;return i===2&&(r=v[t.charCodeAt(p)]<<2|v[t.charCodeAt(p+1)]>>4,a[o++]=r&255),i===1&&(r=v[t.charCodeAt(p)]<<10|v[t.charCodeAt(p+1)]<<4|v[t.charCodeAt(p+2)]>>2,a[o++]=r>>8&255,a[o++]=r&255),a}function Vr(t){return k[t>>18&63]+k[t>>12&63]+k[t>>6&63]+k[t&63]}function Yr(t,r,e){for(var n,i=[],a=r;a<e;a+=3)n=(t[a]<<16&16711680)+(t[a+1]<<8&65280)+(t[a+2]&255),i.push(Vr(n));return i.join("")}function zr(t){for(var r,e=t.length,n=e%3,i=[],a=16383,o=0,u=e-n;o<u;o+=a)i.push(Yr(t,o,o+a>u?u:o+a));return n===1?(r=t[e-1],i.push(k[r>>2]+k[r<<4&63]+"==")):n===2&&(r=(t[e-2]<<8)+t[e-1],i.push(k[r>>10]+k[r>>4&63]+k[r<<2&63]+"=")),i.join("")}});var cr=G(z=>{l();z.read=function(t,r,e,n,i){var a,o,u=i*8-n-1,p=(1<<u)-1,f=p>>1,g=-7,c=e?i-1:0,b=e?-1:1,T=t[r+c];for(c+=b,a=T&(1<<-g)-1,T>>=-g,g+=u;g>0;a=a*256+t[r+c],c+=b,g-=8);for(o=a&(1<<-g)-1,a>>=-g,g+=n;g>0;o=o*256+t[r+c],c+=b,g-=8);if(a===0)a=1-f;else{if(a===p)return o?NaN:(T?-1:1)*(1/0);o=o+Math.pow(2,n),a=a-f}return(T?-1:1)*o*Math.pow(2,a-n)};z.write=function(t,r,e,n,i,a){var o,u,p,f=a*8-i-1,g=(1<<f)-1,c=g>>1,b=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,T=n?0:a-1,_=n?1:-1,Cr=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(u=isNaN(r)?1:0,o=g):(o=Math.floor(Math.log(r)/Math.LN2),r*(p=Math.pow(2,-o))<1&&(o--,p*=2),o+c>=1?r+=b/p:r+=b*Math.pow(2,1-c),r*p>=2&&(o++,p/=2),o+c>=g?(u=0,o=g):o+c>=1?(u=(r*p-1)*Math.pow(2,i),o=o+c):(u=r*Math.pow(2,c-1)*Math.pow(2,i),o=0));i>=8;t[e+T]=u&255,T+=_,u/=256,i-=8);for(o=o<<i|u,f+=i;f>0;t[e+T]=o&255,T+=_,o/=256,f-=8);t[e+T-_]|=Cr*128}});var kr=G(D=>{"use strict";l();var X=ur(),E=cr(),lr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;D.Buffer=s;D.SlowBuffer=Zr;D.INSPECT_MAX_BYTES=50;var q=2147483647;D.kMaxLength=q;s.TYPED_ARRAY_SUPPORT=Xr();!s.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function Xr(){try{var t=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(t,r),t.foo()===42}catch(e){return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.buffer}});Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.byteOffset}});function A(t){if(t>q)throw new RangeError('The value "'+t+'" is invalid for option "size"');var r=new Uint8Array(t);return Object.setPrototypeOf(r,s.prototype),r}function s(t,r,e){if(typeof t=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Q(t)}return dr(t,r,e)}s.poolSize=8192;function dr(t,r,e){if(typeof t=="string")return jr(t,r);if(ArrayBuffer.isView(t))return Kr(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(F(t,ArrayBuffer)||t&&F(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(F(t,SharedArrayBuffer)||t&&F(t.buffer,SharedArrayBuffer)))return j(t,r,e);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return s.from(n,r,e);var i=Qr(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.from(t[Symbol.toPrimitive]("string"),r,e);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}s.from=function(t,r,e){return dr(t,r,e)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function hr(t){if(typeof t!="number")throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function Jr(t,r,e){return hr(t),t<=0?A(t):r!==void 0?typeof e=="string"?A(t).fill(r,e):A(t).fill(r):A(t)}s.alloc=function(t,r,e){return Jr(t,r,e)};function Q(t){return hr(t),A(t<0?0:Z(t)|0)}s.allocUnsafe=function(t){return Q(t)};s.allocUnsafeSlow=function(t){return Q(t)};function jr(t,r){if((typeof r!="string"||r==="")&&(r="utf8"),!s.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var e=yr(t,r)|0,n=A(e),i=n.write(t,r);return i!==e&&(n=n.slice(0,i)),n}function J(t){for(var r=t.length<0?0:Z(t.length)|0,e=A(r),n=0;n<r;n+=1)e[n]=t[n]&255;return e}function Kr(t){if(F(t,Uint8Array)){var r=new Uint8Array(t);return j(r.buffer,r.byteOffset,r.byteLength)}return J(t)}function j(t,r,e){if(r<0||t.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<r+(e||0))throw new RangeError('"length" is outside of buffer bounds');var n;return r===void 0&&e===void 0?n=new Uint8Array(t):e===void 0?n=new Uint8Array(t,r):n=new Uint8Array(t,r,e),Object.setPrototypeOf(n,s.prototype),n}function Qr(t){if(s.isBuffer(t)){var r=Z(t.length)|0,e=A(r);return e.length===0||t.copy(e,0,0,r),e}if(t.length!==void 0)return typeof t.length!="number"||$(t.length)?A(0):J(t);if(t.type==="Buffer"&&Array.isArray(t.data))return J(t.data)}function Z(t){if(t>=q)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+q.toString(16)+" bytes");return t|0}function Zr(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==s.prototype};s.compare=function(r,e){if(F(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),F(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(r)||!s.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===e)return 0;for(var n=r.length,i=e.length,a=0,o=Math.min(n,i);a<o;++a)if(r[a]!==e[a]){n=r[a],i=e[a];break}return n<i?-1:i<n?1:0};s.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}};s.concat=function(r,e){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return s.alloc(0);var n;if(e===void 0)for(e=0,n=0;n<r.length;++n)e+=r[n].length;var i=s.allocUnsafe(e),a=0;for(n=0;n<r.length;++n){var o=r[n];if(F(o,Uint8Array))a+o.length>i.length?s.from(o).copy(i,a):Uint8Array.prototype.set.call(i,o,a);else if(s.isBuffer(o))o.copy(i,a);else throw new TypeError('"list" argument must be an Array of Buffers');a+=o.length}return i};function yr(t,r){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||F(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var e=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&e===0)return 0;for(var i=!1;;)switch(r){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":return K(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return e*2;case"hex":return e>>>1;case"base64":return br(t).length;default:if(i)return n?-1:K(t).length;r=(""+r).toLowerCase(),i=!0}}s.byteLength=yr;function $r(t,r,e){var n=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((e===void 0||e>this.length)&&(e=this.length),e<=0)||(e>>>=0,r>>>=0,e<=r))return"";for(t||(t="utf8");;)switch(t){case"hex":return ue(this,r,e);case"utf8":case"utf-8":return xr(this,r,e);case"ascii":return se(this,r,e);case"latin1":case"binary":return pe(this,r,e);case"base64":return ae(this,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ce(this,r,e);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function C(t,r,e){var n=t[r];t[r]=t[e],t[e]=n}s.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 e=0;e<r;e+=2)C(this,e,e+1);return this};s.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 e=0;e<r;e+=4)C(this,e,e+3),C(this,e+1,e+2);return this};s.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 e=0;e<r;e+=8)C(this,e,e+7),C(this,e+1,e+6),C(this,e+2,e+5),C(this,e+3,e+4);return this};s.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?xr(this,0,r):$r.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(r){if(!s.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:s.compare(this,r)===0};s.prototype.inspect=function(){var r="",e=D.INSPECT_MAX_BYTES;return r=this.toString("hex",0,e).replace(/(.{2})/g,"$1 ").trim(),this.length>e&&(r+=" ... "),"<Buffer "+r+">"};lr&&(s.prototype[lr]=s.prototype.inspect);s.prototype.compare=function(r,e,n,i,a){if(F(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(e===void 0&&(e=0),n===void 0&&(n=r?r.length:0),i===void 0&&(i=0),a===void 0&&(a=this.length),e<0||n>r.length||i<0||a>this.length)throw new RangeError("out of range index");if(i>=a&&e>=n)return 0;if(i>=a)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,i>>>=0,a>>>=0,this===r)return 0;for(var o=a-i,u=n-e,p=Math.min(o,u),f=this.slice(i,a),g=r.slice(e,n),c=0;c<p;++c)if(f[c]!==g[c]){o=f[c],u=g[c];break}return o<u?-1:u<o?1:0};function mr(t,r,e,n,i){if(t.length===0)return-1;if(typeof e=="string"?(n=e,e=0):e>2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),e=+e,$(e)&&(e=i?0:t.length-1),e<0&&(e=t.length+e),e>=t.length){if(i)return-1;e=t.length-1}else if(e<0)if(i)e=0;else return-1;if(typeof r=="string"&&(r=s.from(r,n)),s.isBuffer(r))return r.length===0?-1:fr(t,r,e,n,i);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,r,e):Uint8Array.prototype.lastIndexOf.call(t,r,e):fr(t,[r],e,n,i);throw new TypeError("val must be string, number or Buffer")}function fr(t,r,e,n,i){var a=1,o=t.length,u=r.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||r.length<2)return-1;a=2,o/=2,u/=2,e/=2}function p(T,_){return a===1?T[_]:T.readUInt16BE(_*a)}var f;if(i){var g=-1;for(f=e;f<o;f++)if(p(t,f)===p(r,g===-1?0:f-g)){if(g===-1&&(g=f),f-g+1===u)return g*a}else g!==-1&&(f-=f-g),g=-1}else for(e+u>o&&(e=o-u),f=e;f>=0;f--){for(var c=!0,b=0;b<u;b++)if(p(t,f+b)!==p(r,b)){c=!1;break}if(c)return f}return-1}s.prototype.includes=function(r,e,n){return this.indexOf(r,e,n)!==-1};s.prototype.indexOf=function(r,e,n){return mr(this,r,e,n,!0)};s.prototype.lastIndexOf=function(r,e,n){return mr(this,r,e,n,!1)};function re(t,r,e,n){e=Number(e)||0;var i=t.length-e;n?(n=Number(n),n>i&&(n=i)):n=i;var a=r.length;n>a/2&&(n=a/2);for(var o=0;o<n;++o){var u=parseInt(r.substr(o*2,2),16);if($(u))return o;t[e+o]=u}return o}function ee(t,r,e,n){return O(K(r,t.length-e),t,e,n)}function te(t,r,e,n){return O(ge(r),t,e,n)}function ne(t,r,e,n){return O(br(r),t,e,n)}function ie(t,r,e,n){return O(de(r,t.length-e),t,e,n)}s.prototype.write=function(r,e,n,i){if(e===void 0)i="utf8",n=this.length,e=0;else if(n===void 0&&typeof e=="string")i=e,n=this.length,e=0;else if(isFinite(e))e=e>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var a=this.length-e;if((n===void 0||n>a)&&(n=a),r.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var o=!1;;)switch(i){case"hex":return re(this,r,e,n);case"utf8":case"utf-8":return ee(this,r,e,n);case"ascii":case"latin1":case"binary":return te(this,r,e,n);case"base64":return ne(this,r,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ie(this,r,e,n);default:if(o)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),o=!0}};s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function ae(t,r,e){return r===0&&e===t.length?X.fromByteArray(t):X.fromByteArray(t.slice(r,e))}function xr(t,r,e){e=Math.min(t.length,e);for(var n=[],i=r;i<e;){var a=t[i],o=null,u=a>239?4:a>223?3:a>191?2:1;if(i+u<=e){var p,f,g,c;switch(u){case 1:a<128&&(o=a);break;case 2:p=t[i+1],(p&192)===128&&(c=(a&31)<<6|p&63,c>127&&(o=c));break;case 3:p=t[i+1],f=t[i+2],(p&192)===128&&(f&192)===128&&(c=(a&15)<<12|(p&63)<<6|f&63,c>2047&&(c<55296||c>57343)&&(o=c));break;case 4:p=t[i+1],f=t[i+2],g=t[i+3],(p&192)===128&&(f&192)===128&&(g&192)===128&&(c=(a&15)<<18|(p&63)<<12|(f&63)<<6|g&63,c>65535&&c<1114112&&(o=c))}}o===null?(o=65533,u=1):o>65535&&(o-=65536,n.push(o>>>10&1023|55296),o=56320|o&1023),n.push(o),i+=u}return oe(n)}var gr=4096;function oe(t){var r=t.length;if(r<=gr)return String.fromCharCode.apply(String,t);for(var e="",n=0;n<r;)e+=String.fromCharCode.apply(String,t.slice(n,n+=gr));return e}function se(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]&127);return n}function pe(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]);return n}function ue(t,r,e){var n=t.length;(!r||r<0)&&(r=0),(!e||e<0||e>n)&&(e=n);for(var i="",a=r;a<e;++a)i+=he[t[a]];return i}function ce(t,r,e){for(var n=t.slice(r,e),i="",a=0;a<n.length-1;a+=2)i+=String.fromCharCode(n[a]+n[a+1]*256);return i}s.prototype.slice=function(r,e){var n=this.length;r=~~r,e=e===void 0?n:~~e,r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),e<r&&(e=r);var i=this.subarray(r,e);return Object.setPrototypeOf(i,s.prototype),i};function h(t,r,e){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+r>e)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||h(r,e,this.length);for(var i=this[r],a=1,o=0;++o<e&&(a*=256);)i+=this[r+o]*a;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||h(r,e,this.length);for(var i=this[r+--e],a=1;e>0&&(a*=256);)i+=this[r+--e]*a;return i};s.prototype.readUint8=s.prototype.readUInt8=function(r,e){return r=r>>>0,e||h(r,1,this.length),this[r]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(r,e){return r=r>>>0,e||h(r,2,this.length),this[r]|this[r+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(r,e){return r=r>>>0,e||h(r,2,this.length),this[r]<<8|this[r+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(r,e){return r=r>>>0,e||h(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(r,e){return r=r>>>0,e||h(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};s.prototype.readIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||h(r,e,this.length);for(var i=this[r],a=1,o=0;++o<e&&(a*=256);)i+=this[r+o]*a;return a*=128,i>=a&&(i-=Math.pow(2,8*e)),i};s.prototype.readIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||h(r,e,this.length);for(var i=e,a=1,o=this[r+--i];i>0&&(a*=256);)o+=this[r+--i]*a;return a*=128,o>=a&&(o-=Math.pow(2,8*e)),o};s.prototype.readInt8=function(r,e){return r=r>>>0,e||h(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};s.prototype.readInt16LE=function(r,e){r=r>>>0,e||h(r,2,this.length);var n=this[r]|this[r+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(r,e){r=r>>>0,e||h(r,2,this.length);var n=this[r+1]|this[r]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(r,e){return r=r>>>0,e||h(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};s.prototype.readInt32BE=function(r,e){return r=r>>>0,e||h(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};s.prototype.readFloatLE=function(r,e){return r=r>>>0,e||h(r,4,this.length),E.read(this,r,!0,23,4)};s.prototype.readFloatBE=function(r,e){return r=r>>>0,e||h(r,4,this.length),E.read(this,r,!1,23,4)};s.prototype.readDoubleLE=function(r,e){return r=r>>>0,e||h(r,8,this.length),E.read(this,r,!0,52,8)};s.prototype.readDoubleBE=function(r,e){return r=r>>>0,e||h(r,8,this.length),E.read(this,r,!1,52,8)};function w(t,r,e,n,i,a){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>i||r<a)throw new RangeError('"value" argument is out of bounds');if(e+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;w(this,r,e,n,a,0)}var o=1,u=0;for(this[e]=r&255;++u<n&&(o*=256);)this[e+u]=r/o&255;return e+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;w(this,r,e,n,a,0)}var o=n-1,u=1;for(this[e+o]=r&255;--o>=0&&(u*=256);)this[e+o]=r/u&255;return e+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,1,255,0),this[e]=r&255,e+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,65535,0),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,65535,0),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,4294967295,0),this[e+3]=r>>>24,this[e+2]=r>>>16,this[e+1]=r>>>8,this[e]=r&255,e+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,4294967295,0),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};s.prototype.writeIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var a=Math.pow(2,8*n-1);w(this,r,e,n,a-1,-a)}var o=0,u=1,p=0;for(this[e]=r&255;++o<n&&(u*=256);)r<0&&p===0&&this[e+o-1]!==0&&(p=1),this[e+o]=(r/u>>0)-p&255;return e+n};s.prototype.writeIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var a=Math.pow(2,8*n-1);w(this,r,e,n,a-1,-a)}var o=n-1,u=1,p=0;for(this[e+o]=r&255;--o>=0&&(u*=256);)r<0&&p===0&&this[e+o+1]!==0&&(p=1),this[e+o]=(r/u>>0)-p&255;return e+n};s.prototype.writeInt8=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,1,127,-128),r<0&&(r=255+r+1),this[e]=r&255,e+1};s.prototype.writeInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,32767,-32768),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,2,32767,-32768),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,2147483647,-2147483648),this[e]=r&255,this[e+1]=r>>>8,this[e+2]=r>>>16,this[e+3]=r>>>24,e+4};s.prototype.writeInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||w(this,r,e,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};function wr(t,r,e,n,i,a){if(e+n>t.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function Tr(t,r,e,n,i){return r=+r,e=e>>>0,i||wr(t,r,e,4,34028234663852886e22,-34028234663852886e22),E.write(t,r,e,n,23,4),e+4}s.prototype.writeFloatLE=function(r,e,n){return Tr(this,r,e,!0,n)};s.prototype.writeFloatBE=function(r,e,n){return Tr(this,r,e,!1,n)};function vr(t,r,e,n,i){return r=+r,e=e>>>0,i||wr(t,r,e,8,17976931348623157e292,-17976931348623157e292),E.write(t,r,e,n,52,8),e+8}s.prototype.writeDoubleLE=function(r,e,n){return vr(this,r,e,!0,n)};s.prototype.writeDoubleBE=function(r,e,n){return vr(this,r,e,!1,n)};s.prototype.copy=function(r,e,n,i){if(!s.isBuffer(r))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),e>=r.length&&(e=r.length),e||(e=0),i>0&&i<n&&(i=n),i===n||r.length===0||this.length===0)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),r.length-e<i-n&&(i=r.length-e+n);var a=i-n;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(e,n,i):Uint8Array.prototype.set.call(r,this.subarray(n,i),e),a};s.prototype.fill=function(r,e,n,i){if(typeof r=="string"){if(typeof e=="string"?(i=e,e=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(r.length===1){var a=r.charCodeAt(0);(i==="utf8"&&a<128||i==="latin1")&&(r=a)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;e=e>>>0,n=n===void 0?this.length:n>>>0,r||(r=0);var o;if(typeof r=="number")for(o=e;o<n;++o)this[o]=r;else{var u=s.isBuffer(r)?r:s.from(r,i),p=u.length;if(p===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(o=0;o<n-e;++o)this[o+e]=u[o%p]}return this};var le=/[^+/0-9A-Za-z-_]/g;function fe(t){if(t=t.split("=")[0],t=t.trim().replace(le,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function K(t,r){r=r||1/0;for(var e,n=t.length,i=null,a=[],o=0;o<n;++o){if(e=t.charCodeAt(o),e>55295&&e<57344){if(!i){if(e>56319){(r-=3)>-1&&a.push(239,191,189);continue}else if(o+1===n){(r-=3)>-1&&a.push(239,191,189);continue}i=e;continue}if(e<56320){(r-=3)>-1&&a.push(239,191,189),i=e;continue}e=(i-55296<<10|e-56320)+65536}else i&&(r-=3)>-1&&a.push(239,191,189);if(i=null,e<128){if((r-=1)<0)break;a.push(e)}else if(e<2048){if((r-=2)<0)break;a.push(e>>6|192,e&63|128)}else if(e<65536){if((r-=3)<0)break;a.push(e>>12|224,e>>6&63|128,e&63|128)}else if(e<1114112){if((r-=4)<0)break;a.push(e>>18|240,e>>12&63|128,e>>6&63|128,e&63|128)}else throw new Error("Invalid code point")}return a}function ge(t){for(var r=[],e=0;e<t.length;++e)r.push(t.charCodeAt(e)&255);return r}function de(t,r){for(var e,n,i,a=[],o=0;o<t.length&&!((r-=2)<0);++o)e=t.charCodeAt(o),n=e>>8,i=e%256,a.push(i),a.push(n);return a}function br(t){return X.toByteArray(fe(t))}function O(t,r,e,n){for(var i=0;i<n&&!(i+e>=r.length||i>=t.length);++i)r[i+e]=t[i];return i}function F(t,r){return t instanceof r||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===r.name}function $(t){return t!==t}var he=function(){for(var t="0123456789abcdef",r=new Array(256),e=0;e<16;++e)for(var n=e*16,i=0;i<16;++i)r[n+i]=t[e]+t[i];return r}()});var Rr=G((Ie,Ar)=>{l();var d=Ar.exports={},I,S;function rr(){throw new Error("setTimeout has not been defined")}function er(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?I=setTimeout:I=rr}catch(t){I=rr}try{typeof clearTimeout=="function"?S=clearTimeout:S=er}catch(t){S=er}})();function Fr(t){if(I===setTimeout)return setTimeout(t,0);if((I===rr||!I)&&setTimeout)return I=setTimeout,setTimeout(t,0);try{return I(t,0)}catch(r){try{return I.call(null,t,0)}catch(e){return I.call(this,t,0)}}}function ye(t){if(S===clearTimeout)return clearTimeout(t);if((S===er||!S)&&clearTimeout)return S=clearTimeout,clearTimeout(t);try{return S(t)}catch(r){try{return S.call(null,t)}catch(e){return S.call(this,t)}}}var R=[],N=!1,U,V=-1;function me(){!N||!U||(N=!1,U.length?R=U.concat(R):V=-1,R.length&&Ir())}function Ir(){if(!N){var t=Fr(me);N=!0;for(var r=R.length;r;){for(U=R,R=[];++V<r;)U&&U[V].run();V=-1,r=R.length}U=null,N=!1,ye(t)}}d.nextTick=function(t){var r=new Array(arguments.length-1);if(arguments.length>1)for(var e=1;e<arguments.length;e++)r[e-1]=arguments[e];R.push(new Sr(t,r)),R.length===1&&!N&&Fr(Ir)};function Sr(t,r){this.fun=t,this.array=r}Sr.prototype.run=function(){this.fun.apply(null,this.array)};d.title="browser";d.browser=!0;d.env={};d.argv=[];d.version="";d.versions={};function B(){}d.on=B;d.addListener=B;d.once=B;d.off=B;d.removeListener=B;d.removeAllListeners=B;d.emit=B;d.prependListener=B;d.prependOnceListener=B;d.listeners=function(t){return[]};d.binding=function(t){throw new Error("process.binding is not supported")};d.cwd=function(){return"/"};d.chdir=function(t){throw new Error("process.chdir is not supported")};d.umask=function(){return 0}});var y,m,Se,l=Pr(()=>{y=or(kr()),m=or(Rr()),Se=function(t){function r(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return r();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:r});var e=__magic__;return e}(Object)});var Te={};Mr(Te,{getTransactionLinkWithLabel:()=>we});module.exports=Wr(Te);l();l();l();l();l();l();l();var xe=require("@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider"),P=require("@multiversx/sdk-web-wallet-cross-window-provider/out/enums");var Br=(e=>(e.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",e.reloginRequest="RELOGIN_REQUEST",e))(Br||{}),Ce=W(W({},P.WindowProviderRequestEnums),Br),Lr=(r=>(r.reloginResponse="RELOGIN_RESPONSE",r))(Lr||{}),Ue=W(W({},P.WindowProviderResponseEnums),Lr);l();l();l();l();l();l();var we=({transaction:t,direction:r})=>{var p;let e=r==="Internal",n=t.sender;if(e)return{link:(p=t.links.senderLink)!=null?p:"",label:"Smart Contract transaction",address:n};let i=r==="Out",a=i?t.links.receiverLink:t.links.senderLink,o="";return r==="Self"&&t.receiverAssets?o=t.receiverAssets.name:(n=i?t.receiver:t.sender,o=i?"To:":"From:"),{label:o,address:n,link:a!=null?a:""}};0&&(module.exports={getTransactionLinkWithLabel});
|
|
2
2
|
/*!
|
|
3
3
|
* The buffer module from node.js, for the browser.
|
|
4
4
|
*
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
"use strict";var it=Object.create;var te=Object.defineProperty,ot=Object.defineProperties,at=Object.getOwnPropertyDescriptor,st=Object.getOwnPropertyDescriptors,ct=Object.getOwnPropertyNames,We=Object.getOwnPropertySymbols,lt=Object.getPrototypeOf,$e=Object.prototype.hasOwnProperty,pt=Object.prototype.propertyIsEnumerable;var Ve=(r,e,t)=>e in r?te(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,U=(r,e)=>{for(var t in e||(e={}))$e.call(e,t)&&Ve(r,t,e[t]);if(We)for(var t of We(e))pt.call(e,t)&&Ve(r,t,e[t]);return r},he=(r,e)=>ot(r,st(e));var ut=(r,e)=>()=>(r&&(e=r(r=0)),e);var ae=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports),dt=(r,e)=>{for(var t in e)te(r,t,{get:e[t],enumerable:!0})},He=(r,e,t,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of ct(e))!$e.call(r,i)&&i!==t&&te(r,i,{get:()=>e[i],enumerable:!(n=at(e,i))||n.enumerable});return r};var v=(r,e,t)=>(t=r!=null?it(lt(r)):{},He(e||!r||!r.__esModule?te(t,"default",{value:r,enumerable:!0}):t,r)),mt=r=>He(te({},"__esModule",{value:!0}),r);var je=ae(se=>{"use strict";o();se.byteLength=ft;se.toByteArray=yt;se.fromByteArray=wt;var N=[],S=[],gt=typeof Uint8Array!="undefined"?Uint8Array:Array,ye="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(V=0,qe=ye.length;V<qe;++V)N[V]=ye[V],S[ye.charCodeAt(V)]=V;var V,qe;S["-".charCodeAt(0)]=62;S["_".charCodeAt(0)]=63;function ze(r){var e=r.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var t=r.indexOf("=");t===-1&&(t=e);var n=t===e?0:4-t%4;return[t,n]}function ft(r){var e=ze(r),t=e[0],n=e[1];return(t+n)*3/4-n}function ht(r,e,t){return(e+t)*3/4-t}function yt(r){var e,t=ze(r),n=t[0],i=t[1],a=new gt(ht(r,n,i)),s=0,d=i>0?n-4:n,m;for(m=0;m<d;m+=4)e=S[r.charCodeAt(m)]<<18|S[r.charCodeAt(m+1)]<<12|S[r.charCodeAt(m+2)]<<6|S[r.charCodeAt(m+3)],a[s++]=e>>16&255,a[s++]=e>>8&255,a[s++]=e&255;return i===2&&(e=S[r.charCodeAt(m)]<<2|S[r.charCodeAt(m+1)]>>4,a[s++]=e&255),i===1&&(e=S[r.charCodeAt(m)]<<10|S[r.charCodeAt(m+1)]<<4|S[r.charCodeAt(m+2)]>>2,a[s++]=e>>8&255,a[s++]=e&255),a}function xt(r){return N[r>>18&63]+N[r>>12&63]+N[r>>6&63]+N[r&63]}function Tt(r,e,t){for(var n,i=[],a=e;a<t;a+=3)n=(r[a]<<16&16711680)+(r[a+1]<<8&65280)+(r[a+2]&255),i.push(xt(n));return i.join("")}function wt(r){for(var e,t=r.length,n=t%3,i=[],a=16383,s=0,d=t-n;s<d;s+=a)i.push(Tt(r,s,s+a>d?d:s+a));return n===1?(e=r[t-1],i.push(N[e>>2]+N[e<<4&63]+"==")):n===2&&(e=(r[t-2]<<8)+r[t-1],i.push(N[e>>10]+N[e>>4&63]+N[e<<2&63]+"=")),i.join("")}});var Ke=ae(xe=>{o();xe.read=function(r,e,t,n,i){var a,s,d=i*8-n-1,m=(1<<d)-1,g=m>>1,f=-7,h=t?i-1:0,y=t?-1:1,T=r[e+h];for(h+=y,a=T&(1<<-f)-1,T>>=-f,f+=d;f>0;a=a*256+r[e+h],h+=y,f-=8);for(s=a&(1<<-f)-1,a>>=-f,f+=n;f>0;s=s*256+r[e+h],h+=y,f-=8);if(a===0)a=1-g;else{if(a===m)return s?NaN:(T?-1:1)*(1/0);s=s+Math.pow(2,n),a=a-g}return(T?-1:1)*s*Math.pow(2,a-n)};xe.write=function(r,e,t,n,i,a){var s,d,m,g=a*8-i-1,f=(1<<g)-1,h=f>>1,y=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,T=n?0:a-1,k=n?1:-1,z=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(d=isNaN(e)?1:0,s=f):(s=Math.floor(Math.log(e)/Math.LN2),e*(m=Math.pow(2,-s))<1&&(s--,m*=2),s+h>=1?e+=y/m:e+=y*Math.pow(2,1-h),e*m>=2&&(s++,m/=2),s+h>=f?(d=0,s=f):s+h>=1?(d=(e*m-1)*Math.pow(2,i),s=s+h):(d=e*Math.pow(2,h-1)*Math.pow(2,i),s=0));i>=8;r[t+T]=d&255,T+=k,d/=256,i-=8);for(s=s<<i|d,g+=i;g>0;r[t+T]=s&255,T+=k,s/=256,g-=8);r[t+T-k]|=z*128}});var sr=ae(K=>{"use strict";o();var Te=je(),j=Ke(),Xe=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;K.Buffer=c;K.SlowBuffer=It;K.INSPECT_MAX_BYTES=50;var ce=2147483647;K.kMaxLength=ce;c.TYPED_ARRAY_SUPPORT=bt();!c.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 bt(){try{var r=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(r,e),r.foo()===42}catch(t){return!1}}Object.defineProperty(c.prototype,"parent",{enumerable:!0,get:function(){if(!!c.isBuffer(this))return this.buffer}});Object.defineProperty(c.prototype,"offset",{enumerable:!0,get:function(){if(!!c.isBuffer(this))return this.byteOffset}});function D(r){if(r>ce)throw new RangeError('The value "'+r+'" is invalid for option "size"');var e=new Uint8Array(r);return Object.setPrototypeOf(e,c.prototype),e}function c(r,e,t){if(typeof r=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Se(r)}return Je(r,e,t)}c.poolSize=8192;function Je(r,e,t){if(typeof r=="string")return St(r,e);if(ArrayBuffer.isView(r))return kt(r);if(r==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof r);if(E(r,ArrayBuffer)||r&&E(r.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(E(r,SharedArrayBuffer)||r&&E(r.buffer,SharedArrayBuffer)))return be(r,e,t);if(typeof r=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=r.valueOf&&r.valueOf();if(n!=null&&n!==r)return c.from(n,e,t);var i=At(r);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof r[Symbol.toPrimitive]=="function")return c.from(r[Symbol.toPrimitive]("string"),e,t);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof r)}c.from=function(r,e,t){return Je(r,e,t)};Object.setPrototypeOf(c.prototype,Uint8Array.prototype);Object.setPrototypeOf(c,Uint8Array);function Qe(r){if(typeof r!="number")throw new TypeError('"size" argument must be of type number');if(r<0)throw new RangeError('The value "'+r+'" is invalid for option "size"')}function vt(r,e,t){return Qe(r),r<=0?D(r):e!==void 0?typeof t=="string"?D(r).fill(e,t):D(r).fill(e):D(r)}c.alloc=function(r,e,t){return vt(r,e,t)};function Se(r){return Qe(r),D(r<0?0:ke(r)|0)}c.allocUnsafe=function(r){return Se(r)};c.allocUnsafeSlow=function(r){return Se(r)};function St(r,e){if((typeof e!="string"||e==="")&&(e="utf8"),!c.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var t=er(r,e)|0,n=D(t),i=n.write(r,e);return i!==t&&(n=n.slice(0,i)),n}function we(r){for(var e=r.length<0?0:ke(r.length)|0,t=D(e),n=0;n<e;n+=1)t[n]=r[n]&255;return t}function kt(r){if(E(r,Uint8Array)){var e=new Uint8Array(r);return be(e.buffer,e.byteOffset,e.byteLength)}return we(r)}function be(r,e,t){if(e<0||r.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(r.byteLength<e+(t||0))throw new RangeError('"length" is outside of buffer bounds');var n;return e===void 0&&t===void 0?n=new Uint8Array(r):t===void 0?n=new Uint8Array(r,e):n=new Uint8Array(r,e,t),Object.setPrototypeOf(n,c.prototype),n}function At(r){if(c.isBuffer(r)){var e=ke(r.length)|0,t=D(e);return t.length===0||r.copy(t,0,0,e),t}if(r.length!==void 0)return typeof r.length!="number"||Ae(r.length)?D(0):we(r);if(r.type==="Buffer"&&Array.isArray(r.data))return we(r.data)}function ke(r){if(r>=ce)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ce.toString(16)+" bytes");return r|0}function It(r){return+r!=r&&(r=0),c.alloc(+r)}c.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==c.prototype};c.compare=function(e,t){if(E(e,Uint8Array)&&(e=c.from(e,e.offset,e.byteLength)),E(t,Uint8Array)&&(t=c.from(t,t.offset,t.byteLength)),!c.isBuffer(e)||!c.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var n=e.length,i=t.length,a=0,s=Math.min(n,i);a<s;++a)if(e[a]!==t[a]){n=e[a],i=t[a];break}return n<i?-1:i<n?1:0};c.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};c.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return c.alloc(0);var n;if(t===void 0)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var i=c.allocUnsafe(t),a=0;for(n=0;n<e.length;++n){var s=e[n];if(E(s,Uint8Array))a+s.length>i.length?c.from(s).copy(i,a):Uint8Array.prototype.set.call(i,s,a);else if(c.isBuffer(s))s.copy(i,a);else throw new TypeError('"list" argument must be an Array of Buffers');a+=s.length}return i};function er(r,e){if(c.isBuffer(r))return r.length;if(ArrayBuffer.isView(r)||E(r,ArrayBuffer))return r.byteLength;if(typeof r!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof r);var t=r.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&t===0)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return ve(r).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return ar(r).length;default:if(i)return n?-1:ve(r).length;e=(""+e).toLowerCase(),i=!0}}c.byteLength=er;function Nt(r,e,t){var n=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((t===void 0||t>this.length)&&(t=this.length),t<=0)||(t>>>=0,e>>>=0,t<=e))return"";for(r||(r="utf8");;)switch(r){case"hex":return Pt(this,e,t);case"utf8":case"utf-8":return tr(this,e,t);case"ascii":return Ot(this,e,t);case"latin1":case"binary":return Bt(this,e,t);case"base64":return Ct(this,e,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ut(this,e,t);default:if(n)throw new TypeError("Unknown encoding: "+r);r=(r+"").toLowerCase(),n=!0}}c.prototype._isBuffer=!0;function $(r,e,t){var n=r[e];r[e]=r[t],r[t]=n}c.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)$(this,t,t+1);return this};c.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)$(this,t,t+3),$(this,t+1,t+2);return this};c.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)$(this,t,t+7),$(this,t+1,t+6),$(this,t+2,t+5),$(this,t+3,t+4);return this};c.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?tr(this,0,e):Nt.apply(this,arguments)};c.prototype.toLocaleString=c.prototype.toString;c.prototype.equals=function(e){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:c.compare(this,e)===0};c.prototype.inspect=function(){var e="",t=K.INSPECT_MAX_BYTES;return e=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(e+=" ... "),"<Buffer "+e+">"};Xe&&(c.prototype[Xe]=c.prototype.inspect);c.prototype.compare=function(e,t,n,i,a){if(E(e,Uint8Array)&&(e=c.from(e,e.offset,e.byteLength)),!c.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(t===void 0&&(t=0),n===void 0&&(n=e?e.length:0),i===void 0&&(i=0),a===void 0&&(a=this.length),t<0||n>e.length||i<0||a>this.length)throw new RangeError("out of range index");if(i>=a&&t>=n)return 0;if(i>=a)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,i>>>=0,a>>>=0,this===e)return 0;for(var s=a-i,d=n-t,m=Math.min(s,d),g=this.slice(i,a),f=e.slice(t,n),h=0;h<m;++h)if(g[h]!==f[h]){s=g[h],d=f[h];break}return s<d?-1:d<s?1:0};function rr(r,e,t,n,i){if(r.length===0)return-1;if(typeof t=="string"?(n=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,Ae(t)&&(t=i?0:r.length-1),t<0&&(t=r.length+t),t>=r.length){if(i)return-1;t=r.length-1}else if(t<0)if(i)t=0;else return-1;if(typeof e=="string"&&(e=c.from(e,n)),c.isBuffer(e))return e.length===0?-1:Ye(r,e,t,n,i);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(r,e,t):Uint8Array.prototype.lastIndexOf.call(r,e,t):Ye(r,[e],t,n,i);throw new TypeError("val must be string, number or Buffer")}function Ye(r,e,t,n,i){var a=1,s=r.length,d=e.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(r.length<2||e.length<2)return-1;a=2,s/=2,d/=2,t/=2}function m(T,k){return a===1?T[k]:T.readUInt16BE(k*a)}var g;if(i){var f=-1;for(g=t;g<s;g++)if(m(r,g)===m(e,f===-1?0:g-f)){if(f===-1&&(f=g),g-f+1===d)return f*a}else f!==-1&&(g-=g-f),f=-1}else for(t+d>s&&(t=s-d),g=t;g>=0;g--){for(var h=!0,y=0;y<d;y++)if(m(r,g+y)!==m(e,y)){h=!1;break}if(h)return g}return-1}c.prototype.includes=function(e,t,n){return this.indexOf(e,t,n)!==-1};c.prototype.indexOf=function(e,t,n){return rr(this,e,t,n,!0)};c.prototype.lastIndexOf=function(e,t,n){return rr(this,e,t,n,!1)};function Et(r,e,t,n){t=Number(t)||0;var i=r.length-t;n?(n=Number(n),n>i&&(n=i)):n=i;var a=e.length;n>a/2&&(n=a/2);for(var s=0;s<n;++s){var d=parseInt(e.substr(s*2,2),16);if(Ae(d))return s;r[t+s]=d}return s}function _t(r,e,t,n){return le(ve(e,r.length-t),r,t,n)}function Rt(r,e,t,n){return le(Wt(e),r,t,n)}function Lt(r,e,t,n){return le(ar(e),r,t,n)}function Dt(r,e,t,n){return le(Vt(e,r.length-t),r,t,n)}c.prototype.write=function(e,t,n,i){if(t===void 0)i="utf8",n=this.length,t=0;else if(n===void 0&&typeof t=="string")i=t,n=this.length,t=0;else if(isFinite(t))t=t>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var a=this.length-t;if((n===void 0||n>a)&&(n=a),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var s=!1;;)switch(i){case"hex":return Et(this,e,t,n);case"utf8":case"utf-8":return _t(this,e,t,n);case"ascii":case"latin1":case"binary":return Rt(this,e,t,n);case"base64":return Lt(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Dt(this,e,t,n);default:if(s)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),s=!0}};c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Ct(r,e,t){return e===0&&t===r.length?Te.fromByteArray(r):Te.fromByteArray(r.slice(e,t))}function tr(r,e,t){t=Math.min(r.length,t);for(var n=[],i=e;i<t;){var a=r[i],s=null,d=a>239?4:a>223?3:a>191?2:1;if(i+d<=t){var m,g,f,h;switch(d){case 1:a<128&&(s=a);break;case 2:m=r[i+1],(m&192)===128&&(h=(a&31)<<6|m&63,h>127&&(s=h));break;case 3:m=r[i+1],g=r[i+2],(m&192)===128&&(g&192)===128&&(h=(a&15)<<12|(m&63)<<6|g&63,h>2047&&(h<55296||h>57343)&&(s=h));break;case 4:m=r[i+1],g=r[i+2],f=r[i+3],(m&192)===128&&(g&192)===128&&(f&192)===128&&(h=(a&15)<<18|(m&63)<<12|(g&63)<<6|f&63,h>65535&&h<1114112&&(s=h))}}s===null?(s=65533,d=1):s>65535&&(s-=65536,n.push(s>>>10&1023|55296),s=56320|s&1023),n.push(s),i+=d}return Ft(n)}var Ze=4096;function Ft(r){var e=r.length;if(e<=Ze)return String.fromCharCode.apply(String,r);for(var t="",n=0;n<e;)t+=String.fromCharCode.apply(String,r.slice(n,n+=Ze));return t}function Ot(r,e,t){var n="";t=Math.min(r.length,t);for(var i=e;i<t;++i)n+=String.fromCharCode(r[i]&127);return n}function Bt(r,e,t){var n="";t=Math.min(r.length,t);for(var i=e;i<t;++i)n+=String.fromCharCode(r[i]);return n}function Pt(r,e,t){var n=r.length;(!e||e<0)&&(e=0),(!t||t<0||t>n)&&(t=n);for(var i="",a=e;a<t;++a)i+=$t[r[a]];return i}function Ut(r,e,t){for(var n=r.slice(e,t),i="",a=0;a<n.length-1;a+=2)i+=String.fromCharCode(n[a]+n[a+1]*256);return i}c.prototype.slice=function(e,t){var n=this.length;e=~~e,t=t===void 0?n:~~t,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),t<0?(t+=n,t<0&&(t=0)):t>n&&(t=n),t<e&&(t=e);var i=this.subarray(e,t);return Object.setPrototypeOf(i,c.prototype),i};function w(r,e,t){if(r%1!==0||r<0)throw new RangeError("offset is not uint");if(r+e>t)throw new RangeError("Trying to access beyond buffer length")}c.prototype.readUintLE=c.prototype.readUIntLE=function(e,t,n){e=e>>>0,t=t>>>0,n||w(e,t,this.length);for(var i=this[e],a=1,s=0;++s<t&&(a*=256);)i+=this[e+s]*a;return i};c.prototype.readUintBE=c.prototype.readUIntBE=function(e,t,n){e=e>>>0,t=t>>>0,n||w(e,t,this.length);for(var i=this[e+--t],a=1;t>0&&(a*=256);)i+=this[e+--t]*a;return i};c.prototype.readUint8=c.prototype.readUInt8=function(e,t){return e=e>>>0,t||w(e,1,this.length),this[e]};c.prototype.readUint16LE=c.prototype.readUInt16LE=function(e,t){return e=e>>>0,t||w(e,2,this.length),this[e]|this[e+1]<<8};c.prototype.readUint16BE=c.prototype.readUInt16BE=function(e,t){return e=e>>>0,t||w(e,2,this.length),this[e]<<8|this[e+1]};c.prototype.readUint32LE=c.prototype.readUInt32LE=function(e,t){return e=e>>>0,t||w(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};c.prototype.readUint32BE=c.prototype.readUInt32BE=function(e,t){return e=e>>>0,t||w(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};c.prototype.readIntLE=function(e,t,n){e=e>>>0,t=t>>>0,n||w(e,t,this.length);for(var i=this[e],a=1,s=0;++s<t&&(a*=256);)i+=this[e+s]*a;return a*=128,i>=a&&(i-=Math.pow(2,8*t)),i};c.prototype.readIntBE=function(e,t,n){e=e>>>0,t=t>>>0,n||w(e,t,this.length);for(var i=t,a=1,s=this[e+--i];i>0&&(a*=256);)s+=this[e+--i]*a;return a*=128,s>=a&&(s-=Math.pow(2,8*t)),s};c.prototype.readInt8=function(e,t){return e=e>>>0,t||w(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};c.prototype.readInt16LE=function(e,t){e=e>>>0,t||w(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};c.prototype.readInt16BE=function(e,t){e=e>>>0,t||w(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};c.prototype.readInt32LE=function(e,t){return e=e>>>0,t||w(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};c.prototype.readInt32BE=function(e,t){return e=e>>>0,t||w(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};c.prototype.readFloatLE=function(e,t){return e=e>>>0,t||w(e,4,this.length),j.read(this,e,!0,23,4)};c.prototype.readFloatBE=function(e,t){return e=e>>>0,t||w(e,4,this.length),j.read(this,e,!1,23,4)};c.prototype.readDoubleLE=function(e,t){return e=e>>>0,t||w(e,8,this.length),j.read(this,e,!0,52,8)};c.prototype.readDoubleBE=function(e,t){return e=e>>>0,t||w(e,8,this.length),j.read(this,e,!1,52,8)};function b(r,e,t,n,i,a){if(!c.isBuffer(r))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<a)throw new RangeError('"value" argument is out of bounds');if(t+n>r.length)throw new RangeError("Index out of range")}c.prototype.writeUintLE=c.prototype.writeUIntLE=function(e,t,n,i){if(e=+e,t=t>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;b(this,e,t,n,a,0)}var s=1,d=0;for(this[t]=e&255;++d<n&&(s*=256);)this[t+d]=e/s&255;return t+n};c.prototype.writeUintBE=c.prototype.writeUIntBE=function(e,t,n,i){if(e=+e,t=t>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;b(this,e,t,n,a,0)}var s=n-1,d=1;for(this[t+s]=e&255;--s>=0&&(d*=256);)this[t+s]=e/d&255;return t+n};c.prototype.writeUint8=c.prototype.writeUInt8=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,1,255,0),this[t]=e&255,t+1};c.prototype.writeUint16LE=c.prototype.writeUInt16LE=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,2,65535,0),this[t]=e&255,this[t+1]=e>>>8,t+2};c.prototype.writeUint16BE=c.prototype.writeUInt16BE=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=e&255,t+2};c.prototype.writeUint32LE=c.prototype.writeUInt32LE=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=e&255,t+4};c.prototype.writeUint32BE=c.prototype.writeUInt32BE=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e&255,t+4};c.prototype.writeIntLE=function(e,t,n,i){if(e=+e,t=t>>>0,!i){var a=Math.pow(2,8*n-1);b(this,e,t,n,a-1,-a)}var s=0,d=1,m=0;for(this[t]=e&255;++s<n&&(d*=256);)e<0&&m===0&&this[t+s-1]!==0&&(m=1),this[t+s]=(e/d>>0)-m&255;return t+n};c.prototype.writeIntBE=function(e,t,n,i){if(e=+e,t=t>>>0,!i){var a=Math.pow(2,8*n-1);b(this,e,t,n,a-1,-a)}var s=n-1,d=1,m=0;for(this[t+s]=e&255;--s>=0&&(d*=256);)e<0&&m===0&&this[t+s+1]!==0&&(m=1),this[t+s]=(e/d>>0)-m&255;return t+n};c.prototype.writeInt8=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=e&255,t+1};c.prototype.writeInt16LE=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,2,32767,-32768),this[t]=e&255,this[t+1]=e>>>8,t+2};c.prototype.writeInt16BE=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=e&255,t+2};c.prototype.writeInt32LE=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,4,2147483647,-2147483648),this[t]=e&255,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4};c.prototype.writeInt32BE=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e&255,t+4};function nr(r,e,t,n,i,a){if(t+n>r.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function ir(r,e,t,n,i){return e=+e,t=t>>>0,i||nr(r,e,t,4,34028234663852886e22,-34028234663852886e22),j.write(r,e,t,n,23,4),t+4}c.prototype.writeFloatLE=function(e,t,n){return ir(this,e,t,!0,n)};c.prototype.writeFloatBE=function(e,t,n){return ir(this,e,t,!1,n)};function or(r,e,t,n,i){return e=+e,t=t>>>0,i||nr(r,e,t,8,17976931348623157e292,-17976931348623157e292),j.write(r,e,t,n,52,8),t+8}c.prototype.writeDoubleLE=function(e,t,n){return or(this,e,t,!0,n)};c.prototype.writeDoubleBE=function(e,t,n){return or(this,e,t,!1,n)};c.prototype.copy=function(e,t,n,i){if(!c.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),t>=e.length&&(t=e.length),t||(t=0),i>0&&i<n&&(i=n),i===n||e.length===0||this.length===0)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-t<i-n&&(i=e.length-t+n);var a=i-n;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(t,n,i):Uint8Array.prototype.set.call(e,this.subarray(n,i),t),a};c.prototype.fill=function(e,t,n,i){if(typeof e=="string"){if(typeof t=="string"?(i=t,t=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!c.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(e.length===1){var a=e.charCodeAt(0);(i==="utf8"&&a<128||i==="latin1")&&(e=a)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;t=t>>>0,n=n===void 0?this.length:n>>>0,e||(e=0);var s;if(typeof e=="number")for(s=t;s<n;++s)this[s]=e;else{var d=c.isBuffer(e)?e:c.from(e,i),m=d.length;if(m===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(s=0;s<n-t;++s)this[s+t]=d[s%m]}return this};var Mt=/[^+/0-9A-Za-z-_]/g;function Gt(r){if(r=r.split("=")[0],r=r.trim().replace(Mt,""),r.length<2)return"";for(;r.length%4!==0;)r=r+"=";return r}function ve(r,e){e=e||1/0;for(var t,n=r.length,i=null,a=[],s=0;s<n;++s){if(t=r.charCodeAt(s),t>55295&&t<57344){if(!i){if(t>56319){(e-=3)>-1&&a.push(239,191,189);continue}else if(s+1===n){(e-=3)>-1&&a.push(239,191,189);continue}i=t;continue}if(t<56320){(e-=3)>-1&&a.push(239,191,189),i=t;continue}t=(i-55296<<10|t-56320)+65536}else i&&(e-=3)>-1&&a.push(239,191,189);if(i=null,t<128){if((e-=1)<0)break;a.push(t)}else if(t<2048){if((e-=2)<0)break;a.push(t>>6|192,t&63|128)}else if(t<65536){if((e-=3)<0)break;a.push(t>>12|224,t>>6&63|128,t&63|128)}else if(t<1114112){if((e-=4)<0)break;a.push(t>>18|240,t>>12&63|128,t>>6&63|128,t&63|128)}else throw new Error("Invalid code point")}return a}function Wt(r){for(var e=[],t=0;t<r.length;++t)e.push(r.charCodeAt(t)&255);return e}function Vt(r,e){for(var t,n,i,a=[],s=0;s<r.length&&!((e-=2)<0);++s)t=r.charCodeAt(s),n=t>>8,i=t%256,a.push(i),a.push(n);return a}function ar(r){return Te.toByteArray(Gt(r))}function le(r,e,t,n){for(var i=0;i<n&&!(i+t>=e.length||i>=r.length);++i)e[i+t]=r[i];return i}function E(r,e){return r instanceof e||r!=null&&r.constructor!=null&&r.constructor.name!=null&&r.constructor.name===e.name}function Ae(r){return r!==r}var $t=function(){for(var r="0123456789abcdef",e=new Array(256),t=0;t<16;++t)for(var n=t*16,i=0;i<16;++i)e[n+i]=r[t]+r[i];return e}()});var dr=ae((Dn,ur)=>{o();var x=ur.exports={},_,R;function Ie(){throw new Error("setTimeout has not been defined")}function Ne(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?_=setTimeout:_=Ie}catch(r){_=Ie}try{typeof clearTimeout=="function"?R=clearTimeout:R=Ne}catch(r){R=Ne}})();function cr(r){if(_===setTimeout)return setTimeout(r,0);if((_===Ie||!_)&&setTimeout)return _=setTimeout,setTimeout(r,0);try{return _(r,0)}catch(e){try{return _.call(null,r,0)}catch(t){return _.call(this,r,0)}}}function Ht(r){if(R===clearTimeout)return clearTimeout(r);if((R===Ne||!R)&&clearTimeout)return R=clearTimeout,clearTimeout(r);try{return R(r)}catch(e){try{return R.call(null,r)}catch(t){return R.call(this,r)}}}var C=[],X=!1,H,pe=-1;function qt(){!X||!H||(X=!1,H.length?C=H.concat(C):pe=-1,C.length&&lr())}function lr(){if(!X){var r=cr(qt);X=!0;for(var e=C.length;e;){for(H=C,C=[];++pe<e;)H&&H[pe].run();pe=-1,e=C.length}H=null,X=!1,Ht(r)}}x.nextTick=function(r){var e=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)e[t-1]=arguments[t];C.push(new pr(r,e)),C.length===1&&!X&&cr(lr)};function pr(r,e){this.fun=r,this.array=e}pr.prototype.run=function(){this.fun.apply(null,this.array)};x.title="browser";x.browser=!0;x.env={};x.argv=[];x.version="";x.versions={};function F(){}x.on=F;x.addListener=F;x.once=F;x.off=F;x.removeListener=F;x.removeAllListeners=F;x.emit=F;x.prependListener=F;x.prependOnceListener=F;x.listeners=function(r){return[]};x.binding=function(r){throw new Error("process.binding is not supported")};x.cwd=function(){return"/"};x.chdir=function(r){throw new Error("process.chdir is not supported")};x.umask=function(){return 0}});var l,p,Cn,o=ut(()=>{l=v(sr()),p=v(dr()),Cn=function(r){function e(){var n=this||self;return delete r.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return e();r.defineProperty(r.prototype,"__magic__",{configurable:!0,get:e});var t=__magic__;return t}(Object)});var In={};dt(In,{getEventListDataHexValue:()=>zt,getEventListHighlight:()=>jt,getOperationDirection:()=>Xt,getOperationList:()=>et,getScResultsDecodedData:()=>Yt,getScResultsHighlight:()=>Zt,getScamFlag:()=>Jt,getShardText:()=>en,getTextWithLinks:()=>fr,getTransactionActionNftText:()=>an,getTransactionActionTokenText:()=>sn,getTransactionFee:()=>ln,getTransactionLinkWithLabel:()=>pn,getTransactionMessages:()=>dn,getTransactionStatus:()=>gn,getTransactionStatusText:()=>fn,getTrimmedHash:()=>hn,getVisibleOperations:()=>yn,internalTransactionActions:()=>Qr,transactionActionUnwrapper:()=>xn,useDataDecode:()=>Sn,useDataDecodeMethod:()=>kn,useGetOperationList:()=>An});module.exports=mt(In);o();o();var zt=r=>l.Buffer.from(String(r==null?void 0:r.data),"base64").toString("hex");o();o();o();var mr=()=>typeof window!="undefined"&&typeof(window==null?void 0:window.location)!="undefined";var Y=()=>{if(!mr())return{pathname:"",hash:"",origin:"",href:"",search:""};let{location:{pathname:e,hash:t,origin:n,href:i,search:a}}=window;return{pathname:e,hash:t,origin:n,href:i,search:a}};var jt=(r,e)=>{var d;let{hash:t}=Y(),n=t.split("/"),i=n[0]?n[0].replace("#",""):"",a=(d=n[1])!=null?d:0;return i===e&&r.order===Number(a)};o();o();var Ee=(n=>(n.nft="nft",n.esdt="esdt",n.egld="egld",n))(Ee||{});var O=(i=>(i.raw="raw",i.text="text",i.decimal="decimal",i.smart="smart",i))(O||{});var Xt=({operation:r,address:e})=>{let t=e===r.sender,n=e===r.receiver,i=t&&n,a=!i,s="";switch(!0){case t:s="Out";break;case n:s="In";break;case i:s="Self";break;case a:s="Internal";break}return{direction:s}};o();o();o();function ue(r){for(let e=0;e<r.length;e++)if(r.charCodeAt(e)>127)return!1;return!0}function _e(r){let e=r;try{let t=l.Buffer.from(r,"hex").toString();ue(t)&&t.length>1&&(e=t)}catch(t){}return e}var Yt=r=>{let e=l.Buffer.from(r,"base64").toString().split("@");return e.length>=2&&(e[0].length>0?e[0]=_e(e[0]):e[1]=_e(e[1])),e.join("@")};o();var Zt=r=>{let{hash:e}=Y();return e.substring(0,e.indexOf("/")>0?e.indexOf("/"):e.length).replace("#","")===r};o();var gr=v(require("linkifyjs")),fr=r=>{let e=gr.find(r);if(!e.length)return{textWithLinks:r,hasLinks:!1};let t=r;for(let n of e){let i=r.substring(n.start,n.end);t=t.replace(i,n.value)}return{textWithLinks:t,hasLinks:!0}},Jt=({message:r,scamInfo:e,isNsfw:t,verified:n,messagePrefix:i="Message hidden due to suspicious content - "})=>{var m;if(n)return{message:"",textWithLinks:"",isSuspicious:!1};let a=`${i}${(m=e==null?void 0:e.info)!=null?m:"suspicious content"}`,{textWithLinks:s,hasLinks:d}=fr(r);return d||t||e?{message:a,textWithLinks:s,isSuspicious:!0}:{message:"",textWithLinks:s,isSuspicious:!1}};o();o();o();o();o();o();o();o();o();o();o();o();o();o();o();o();var Qt=require("@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider"),Z=require("@multiversx/sdk-web-wallet-cross-window-provider/out/enums");var hr=(t=>(t.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",t.reloginRequest="RELOGIN_REQUEST",t))(hr||{}),ci=U(U({},Z.WindowProviderRequestEnums),hr),yr=(e=>(e.reloginResponse="RELOGIN_RESPONSE",e))(yr||{}),li=U(U({},Z.WindowProviderResponseEnums),yr);o();o();o();o();o();var Re={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",xAliasAddress:"https://devnet.xalias.com",apiAddress:"https://devnet-api.multiversx.com",extrasApiAddress:"https://devnet-extras-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://devnet-iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",xAliasAddress:"https://testnet.xalias.com",apiAddress:"https://testnet-api.multiversx.com",extrasApiAddress:"https://testnet-extras-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://testnet-iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",xAliasAddress:"https://xalias.com",apiAddress:"https://api.multiversx.com",extrasApiAddress:"https://extras-api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",metamaskSnapWalletAddress:"https://iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3}},{chainId:xr,egldLabel:Ai}=Re["devnet"],{chainId:Tr,egldLabel:Ii}=Re["testnet"],{chainId:wr,egldLabel:Ni}=Re["mainnet"];var Ei={["devnet"]:xr,["testnet"]:Tr,["mainnet"]:wr},_i={[xr]:"devnet",[Tr]:"testnet",[wr]:"mainnet"};o();o();var L=require("@multiversx/sdk-web-wallet-provider");o();o();var Le=require("@multiversx/sdk-dapp-utils/out/constants/browserConstants");var br,vr,De=String((vr=(br=Le.safeWindow)==null?void 0:br.navigator)==null?void 0:vr.userAgent),Oi=/^((?!chrome|android).)*safari/i.test(De),Bi=/firefox/i.test(De)&&/windows/i.test(De);var I=18,J=4;var Sr=4294967295,kr=4294967280;var Ar="refundedGas";var Q="0";var en=r=>{let e=r;typeof e=="string"&&e.includes("Shard")&&(e=e.replace("Shard","").replace(" ",""));let t=Sr.toString()===String(e).toString()||String(e)==="metachain",n=kr.toString()===String(e).toString();return t?"Metachain":n?"All Shards":`Shard ${e}`};o();o();o();o();o();var Nr=require("@multiversx/sdk-core"),M=v(require("bignumber.js"));o();var Ir=v(require("bignumber.js")),Ce=(r,e=!0)=>{let t=String(r);if(!t.match(/^[-]?\d+$/))return!1;let n=new Ir.default(t),i=!e||n.isGreaterThanOrEqualTo(0);return n.toString(10)===t&&i};o();function B(r){return{if:function(e){return e?{then:t=>t instanceof Function?B(t(r)):B(t)}:{then:()=>B(r)}},then:e=>e instanceof Function?B(e(r)):B(e),valueOf:function(){return r}}}M.default.config({ROUNDING_MODE:M.default.ROUND_FLOOR});function G({input:r,decimals:e=I,digits:t=J,showLastNonZeroDecimal:n=!0,showIsLessThanDecimalsLabel:i=!1,addCommas:a=!1}){if(!Ce(r,!1))throw new Error("Invalid input");let s=new M.default(r).isNegative(),d=r;return s&&(d=r.substring(1)),B(d).then(()=>Nr.TokenTransfer.fungibleFromBigInteger("",d,e).amountAsBigInteger.shiftedBy(-e).toFixed(e)).then(m=>{let g=new M.default(m);if(g.isZero())return Q;let f=g.toString(10),[h,y]=f.split("."),T=new M.default(y||0),k=B(0).if(Boolean(y&&n)).then(()=>Math.max(y.length,t)).if(T.isZero()&&!n).then(0).if(Boolean(y&&!n)).then(()=>Math.min(y.length,t)).valueOf(),z=y&&t>=1&&t<=y.length&&T.isGreaterThan(0)&&new M.default(y.substring(0,t)).isZero(),rt=g.toFormat(k);return B(f).if(a).then(rt).if(Boolean(z)).then(ne=>{let re=new M.default(h).isZero(),[A,ie]=ne.split("."),oe=new Array(t-1).fill(0),tt=[...oe,0].join(""),nt=[...oe,1].join("");return re?i?`<${A}.${nt}`:n?`${A}.${ie}`:A:`${A}.${tt}`}).if(Boolean(!z&&y)).then(ne=>{let[re]=ne.split("."),A=y.substring(0,k);if(n){let ie=t-A.length;if(ie>0){let oe=Array(ie).fill(0).join("");return A=`${A}${oe}`,`${re}.${A}`}return ne}return A?`${re}.${A}`:re}).valueOf()}).if(s).then(m=>`-${m}`).valueOf()}o();o();var rn=require("@multiversx/sdk-core"),tn=v(require("bignumber.js"));o();var Fe=require("@multiversx/sdk-core"),on=v(require("bignumber.js"));o();o();o();var nn=v(require("bignumber.js"));o();o();o();o();o();o();o();o();o();o();var W="accounts";var Er="blocks",_r="code",Rr="collections";var Lr="contracts";var Dr="identities";var Cr="locked-accounts",Fr="logs",Or="miniblocks";var Oe="nfts",Br="nodes",Be="providers",Pr="roles",Pe="sc-results";var ee="tokens";var q="transactions";var de={shard:r=>`/${Er}?shard=${r}`,receiverShard:r=>`/${q}?receivershard=${r}`,senderShard:r=>`/${q}?sendershard=${r}`,transactionDetails:r=>`/${q}/${r}`,transactionDetailsScResults:r=>`/${q}/${r}/${Pe}`,transactionDetailsLogs:r=>`/${q}/${r}/${Fr}`,nodeDetails:r=>`/${Br}/${r}`,accountDetails:r=>`/${W}/${r}`,accountDetailsContractCode:r=>`/${W}/${r}/${_r}`,accountDetailsTokens:r=>`/${W}/${r}/${ee}`,accountDetailsNfts:r=>`/${W}/${r}/${Oe}`,accountDetailsScResults:r=>`/${W}/${r}/${Pe}`,accountDetailsContracts:r=>`/${W}/${r}/${Lr}`,identityDetails:r=>`/${Dr}/${r}`,tokenDetails:r=>`/${ee}/${r}`,tokenDetailsAccounts:r=>`/${ee}/${r}/${W}`,tokenDetailsLockedAccounts:r=>`/${ee}/${r}/${Cr}`,tokenDetailsRoles:r=>`/${ee}/${r}/${Pr}`,collectionDetails:r=>`/${Rr}/${r}`,nftDetails:r=>`/${Oe}/${r}`,providerDetails:r=>`/${Be}/${r}`,providerDetailsTransactions:r=>`/${Be}/${r}/${q}`,miniblockDetails:r=>`/${Or}/${r}`};function an({token:r,noValue:e,showLastNonZeroDecimal:t}){var g;let n=!e&&r.value&&r.type!=="NonFungibleESDT",i=r.decimals!=null,a="";r.type==="NonFungibleESDT"&&(a="NFT"),r.type==="SemiFungibleESDT"&&(a="SFT"),r.type==="MetaESDT"&&(a="Meta-ESDT");let s="";n&&i&&(s=i?G({input:r.value,decimals:r.decimals,digits:2,showLastNonZeroDecimal:t}):Number(r.value).toLocaleString("en"));let d=de.nftDetails(String(r.identifier)),m=r.ticker===r.collection&&(g=r.identifier)!=null?g:r.ticker;return{badgeText:a,tokenFormattedAmount:n?s:null,tokenExplorerLink:d,tokenLinkText:m,token:r,noValue:e,showLastNonZeroDecimal:t}}o();function sn({token:r,noValue:e,showLastNonZeroDecimal:t}){var d;let n=Boolean(!e&&r.value),i=n?G({input:r.value,decimals:(d=r.decimals)!=null?d:I,digits:2,showLastNonZeroDecimal:t,addCommas:!0}):null,a=de.tokenDetails(String(r.token)),s=r.ticker;return{tokenExplorerLink:a,tokenFormattedAmount:i,showFormattedAmount:n,tokenLinkText:s,token:r,showLastNonZeroDecimal:t}}o();var Ue=v(require("bignumber.js")),cn=r=>{let e=new Ue.default(r.gasPrice),t=new Ue.default(r.gasUsed);return e.times(t).toString()};function ln(r){return r.fee?r.fee:r.gasUsed===void 0?null:cn(r)}o();var pn=({transaction:r,direction:e})=>{var m;let t=e==="Internal",n=r.sender;if(t)return{link:(m=r.links.senderLink)!=null?m:"",label:"Smart Contract transaction",address:n};let i=e==="Out",a=i?r.links.receiverLink:r.links.senderLink,s="";return e==="Self"&&r.receiverAssets?s=r.receiverAssets.name:(n=i?r.receiver:r.sender,s=i?"To:":"From:"),{label:s,address:n,link:a!=null?a:""}};o();o();function Ur(r){var e,t;return(t=(e=r==null?void 0:r.operations)==null?void 0:e.map(n=>n.message).filter(n=>Boolean(n)))!=null?t:[]}o();var Mr=v(require("bignumber.js"));var un=r=>{var e,t;if(!((e=r.receipt)!=null&&e.value))return"";if(((t=r.receipt)==null?void 0:t.data)===Ar){let n=G({input:r.receipt.value,decimals:I,digits:J,showLastNonZeroDecimal:!0});return new Mr.default(n).times(r.gasPrice).times(100).toFixed()}return r.receipt.value};function Gr(r){var i;let e=(i=r.receipt)==null?void 0:i.data;if(!e)return"";let t=un(r),n=t?`: ${t}`:"";return`${e}${n}`}o();function Me(r){var e,t;return(t=(e=r==null?void 0:r.results)==null?void 0:e.map(n=>n.returnMessage).filter(n=>Boolean(n)))!=null?t:[]}function dn(r){return Array.from(new Set([...Me(r),...Ur(r),Gr(r)])).filter(t=>Boolean(t))}o();function gn(r){let e=s=>r.status.toLowerCase()===s.toLowerCase(),t=e("fail")||e("reward-reverted"),n=e("success"),i=e("not executed")||e("invalid"),a=e("pending")||r.pendingResults;return{failed:t,success:n,invalid:i,pending:a}}o();var fn=r=>{switch(!0){case r.pendingResults:return"Pending (Smart Contract Execution)";case r.status==="reward-reverted":return"fail";default:return r.status.toString()}};o();var hn=(r,e=4)=>`${r.substring(0,Math.floor(r.length/e))}...${r.substring(r.length-Math.ceil(r.length/e))}`;o();var yn=r=>{var t,n;return(n=(t=r==null?void 0:r.operations)==null?void 0:t.filter(i=>Object.values(Ee).includes(i.type)))!=null?n:[]};o();o();o();var Vr=r=>{var e,t;switch(r.name){case"transfer":return["Transfer",{token:(e=r.arguments)==null?void 0:e.transfers},"to",{address:(t=r.arguments)==null?void 0:t.receiver}];default:return[]}};o();var $r=v(require("bignumber.js"));var Hr=r=>{var e,t,n,i,a,s,d,m,g,f,h,y;switch(r.name){case"claimLockedAssets":return["Claim locked assets"];case"enterFarm":case"enterFarmProxy":return["Enter farm with",{token:(e=r.arguments)==null?void 0:e.transfers}];case"enterFarmAndLockRewards":case"enterFarmAndLockRewardsProxy":return["Enter farm and lock rewards with",{token:(t=r.arguments)==null?void 0:t.transfers}];case"exitFarm":case"exitFarmProxy":return["Exit farm with",{token:(n=r.arguments)==null?void 0:n.transfers}];case"claimRewards":case"claimRewardsProxy":return["Claim rewards",{token:(i=r.arguments)==null?void 0:i.transfers}];case"compoundRewards":case"compoundRewardsProxy":return["Reinvest rewards",{token:(a=r.arguments)==null?void 0:a.transfers}];case"swapTokensFixedInput":case"swap":return r.description?[r.description]:[];case"swapTokensFixedOutput":return r.description?[r.description]:[];case"addLiquidity":case"addLiquidityProxy":return["Added liquidity for",{token:[(s=r.arguments)==null?void 0:s.transfers[0]]},"and",{token:[(d=r.arguments)==null?void 0:d.transfers[1]]}];case"removeLiquidity":case"removeLiquidityProxy":return["Removed liquidity with ",{token:(m=r.arguments)==null?void 0:m.transfers}];case"mergeLockedAssetTokens":let T=Q;if((g=r.arguments)!=null&&g.transfers){let k=r.arguments.transfers.map(({value:z})=>z);T=$r.default.sum.apply(null,k).toString(10)}return[`Merge ${(f=r.arguments)==null?void 0:f.transfers.length}`,{tokenNoLink:[(h=r.arguments)==null?void 0:h.transfers[0]]},"positions into a single",{tokenNoLink:[(y=r.arguments)==null?void 0:y.transfers[0]]},"position of value",{value:T}];case"wrapEgld":case"unwrapEgld":default:return r.description?[r.description]:[]}};o();var qr=r=>{var e,t,n,i,a,s,d,m,g,f,h,y;switch(r.name){case"delegate":case"stake":return["Delegate",{egldValue:(e=r.arguments)==null?void 0:e.value},"to staking provider",{providerName:(t=r.arguments)==null?void 0:t.providerName,providerAvatar:(n=r.arguments)==null?void 0:n.providerAvatar}];case"unDelegate":return["Undelegate",{egldValue:(i=r.arguments)==null?void 0:i.value},"from staking provider",{providerName:(a=r.arguments)==null?void 0:a.providerName,providerAvatar:(s=r.arguments)==null?void 0:s.providerAvatar}];case"claimRewards":return["Claim rewards from staking provider",{providerName:(d=r.arguments)==null?void 0:d.providerName,providerAvatar:(m=r.arguments)==null?void 0:m.providerAvatar}];case"reDelegateRewards":return["Redelegate rewards from staking provider",{providerName:(g=r.arguments)==null?void 0:g.providerName,providerAvatar:(f=r.arguments)==null?void 0:f.providerAvatar}];case"withdraw":return["Withdraw from staking provider",{providerName:(h=r.arguments)==null?void 0:h.providerName,providerAvatar:(y=r.arguments)==null?void 0:y.providerAvatar}];default:return[]}};var xn=r=>{if(!r.arguments)return r.description?[r.description]:[r.name];switch(r.category){case"esdtNft":return Vr(r);case"mex":return Hr(r);case"stake":return qr(r);default:return r.description?[r.description]:[]}};o();var ge=require("react");o();o();o();o();var Kr=require("@multiversx/sdk-core"),Ge=v(require("bignumber.js"));o();var zr=require("@multiversx/sdk-core");function Tn(r){try{return zr.Address.isValid(r)}catch(e){return!1}}function jr(r){return/^\w+$/.test(r)&&Tn(r)}o();o();o();o();var P=(r,e,t)=>{switch(e){case"text":try{return l.Buffer.from(r,"hex").toString("utf8")}catch(n){}return r;case"decimal":return r!==""?new Ge.default(r,16).toString(10):"";case"smart":try{let n=Kr.Address.fromHex(r).toString();if(jr(n))return n}catch(n){}try{let n=l.Buffer.from(r,"hex").toString("utf8");if(ue(n))return n;{if(t&&[...t.esdts,...t.nfts].some(s=>n.includes(s)))return n;let i=new Ge.default(r,16);return i.isFinite()?i.toString(10):r}}catch(n){}return r;case"raw":default:return r}};o();o();var wn=r=>r.toLowerCase().match(/^[0-9a-f]+$/i),bn=r=>r.length%2===0,Xr=r=>{let e=[];return r&&!wn(r)&&e.push(`Invalid Hex characters on argument @${r}`),r&&!bn(r)&&e.push(`Odd number of Hex characters on argument @${r}`),e};o();var me=({parts:r,decodedParts:e,identifier:t})=>{let n=[...e];if(r[0]==="ESDTNFTTransfer"&&r[2]&&(n[2]=P(r[2],"decimal")),t==="ESDTNFTTransfer"&&r[1]){let i=l.Buffer.from(String(r[1]),"base64");n[1]=P(i.toString("hex"),"decimal")}return n};var Yr=({parts:r,decodeMethod:e,identifier:t,display:n})=>{let i=r.map((s,d)=>{if(r.length>=2&&(d===0&&s.length<64||d===1&&!r[0]))return/[^a-z0-9]/gi.test(s)?P(s,e):s;{let m=Xr(s);return m!=null&&m.length&&(n.validationWarnings=Array.from(new Set([...n.validationWarnings,...m]))),P(s,e)}});return e==="smart"?me({parts:r,decodedParts:i,identifier:t}):i};var Zr=({input:r,decodeMethod:e,identifier:t})=>{let n={displayValue:"",validationWarnings:[]};if(!r.includes("@")&&!r.includes(`
|
|
1
|
+
"use strict";var it=Object.create;var te=Object.defineProperty,ot=Object.defineProperties,at=Object.getOwnPropertyDescriptor,st=Object.getOwnPropertyDescriptors,ct=Object.getOwnPropertyNames,We=Object.getOwnPropertySymbols,lt=Object.getPrototypeOf,$e=Object.prototype.hasOwnProperty,pt=Object.prototype.propertyIsEnumerable;var Ve=(r,e,t)=>e in r?te(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,U=(r,e)=>{for(var t in e||(e={}))$e.call(e,t)&&Ve(r,t,e[t]);if(We)for(var t of We(e))pt.call(e,t)&&Ve(r,t,e[t]);return r},he=(r,e)=>ot(r,st(e));var ut=(r,e)=>()=>(r&&(e=r(r=0)),e);var ae=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports),dt=(r,e)=>{for(var t in e)te(r,t,{get:e[t],enumerable:!0})},He=(r,e,t,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of ct(e))!$e.call(r,i)&&i!==t&&te(r,i,{get:()=>e[i],enumerable:!(n=at(e,i))||n.enumerable});return r};var v=(r,e,t)=>(t=r!=null?it(lt(r)):{},He(e||!r||!r.__esModule?te(t,"default",{value:r,enumerable:!0}):t,r)),gt=r=>He(te({},"__esModule",{value:!0}),r);var je=ae(se=>{"use strict";o();se.byteLength=ft;se.toByteArray=yt;se.fromByteArray=wt;var N=[],S=[],mt=typeof Uint8Array!="undefined"?Uint8Array:Array,ye="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(V=0,qe=ye.length;V<qe;++V)N[V]=ye[V],S[ye.charCodeAt(V)]=V;var V,qe;S["-".charCodeAt(0)]=62;S["_".charCodeAt(0)]=63;function ze(r){var e=r.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var t=r.indexOf("=");t===-1&&(t=e);var n=t===e?0:4-t%4;return[t,n]}function ft(r){var e=ze(r),t=e[0],n=e[1];return(t+n)*3/4-n}function ht(r,e,t){return(e+t)*3/4-t}function yt(r){var e,t=ze(r),n=t[0],i=t[1],a=new mt(ht(r,n,i)),s=0,d=i>0?n-4:n,g;for(g=0;g<d;g+=4)e=S[r.charCodeAt(g)]<<18|S[r.charCodeAt(g+1)]<<12|S[r.charCodeAt(g+2)]<<6|S[r.charCodeAt(g+3)],a[s++]=e>>16&255,a[s++]=e>>8&255,a[s++]=e&255;return i===2&&(e=S[r.charCodeAt(g)]<<2|S[r.charCodeAt(g+1)]>>4,a[s++]=e&255),i===1&&(e=S[r.charCodeAt(g)]<<10|S[r.charCodeAt(g+1)]<<4|S[r.charCodeAt(g+2)]>>2,a[s++]=e>>8&255,a[s++]=e&255),a}function xt(r){return N[r>>18&63]+N[r>>12&63]+N[r>>6&63]+N[r&63]}function Tt(r,e,t){for(var n,i=[],a=e;a<t;a+=3)n=(r[a]<<16&16711680)+(r[a+1]<<8&65280)+(r[a+2]&255),i.push(xt(n));return i.join("")}function wt(r){for(var e,t=r.length,n=t%3,i=[],a=16383,s=0,d=t-n;s<d;s+=a)i.push(Tt(r,s,s+a>d?d:s+a));return n===1?(e=r[t-1],i.push(N[e>>2]+N[e<<4&63]+"==")):n===2&&(e=(r[t-2]<<8)+r[t-1],i.push(N[e>>10]+N[e>>4&63]+N[e<<2&63]+"=")),i.join("")}});var Ke=ae(xe=>{o();xe.read=function(r,e,t,n,i){var a,s,d=i*8-n-1,g=(1<<d)-1,m=g>>1,f=-7,h=t?i-1:0,y=t?-1:1,T=r[e+h];for(h+=y,a=T&(1<<-f)-1,T>>=-f,f+=d;f>0;a=a*256+r[e+h],h+=y,f-=8);for(s=a&(1<<-f)-1,a>>=-f,f+=n;f>0;s=s*256+r[e+h],h+=y,f-=8);if(a===0)a=1-m;else{if(a===g)return s?NaN:(T?-1:1)*(1/0);s=s+Math.pow(2,n),a=a-m}return(T?-1:1)*s*Math.pow(2,a-n)};xe.write=function(r,e,t,n,i,a){var s,d,g,m=a*8-i-1,f=(1<<m)-1,h=f>>1,y=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,T=n?0:a-1,k=n?1:-1,z=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(d=isNaN(e)?1:0,s=f):(s=Math.floor(Math.log(e)/Math.LN2),e*(g=Math.pow(2,-s))<1&&(s--,g*=2),s+h>=1?e+=y/g:e+=y*Math.pow(2,1-h),e*g>=2&&(s++,g/=2),s+h>=f?(d=0,s=f):s+h>=1?(d=(e*g-1)*Math.pow(2,i),s=s+h):(d=e*Math.pow(2,h-1)*Math.pow(2,i),s=0));i>=8;r[t+T]=d&255,T+=k,d/=256,i-=8);for(s=s<<i|d,m+=i;m>0;r[t+T]=s&255,T+=k,s/=256,m-=8);r[t+T-k]|=z*128}});var sr=ae(K=>{"use strict";o();var Te=je(),j=Ke(),Xe=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;K.Buffer=c;K.SlowBuffer=It;K.INSPECT_MAX_BYTES=50;var ce=2147483647;K.kMaxLength=ce;c.TYPED_ARRAY_SUPPORT=bt();!c.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 bt(){try{var r=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(r,e),r.foo()===42}catch(t){return!1}}Object.defineProperty(c.prototype,"parent",{enumerable:!0,get:function(){if(!!c.isBuffer(this))return this.buffer}});Object.defineProperty(c.prototype,"offset",{enumerable:!0,get:function(){if(!!c.isBuffer(this))return this.byteOffset}});function D(r){if(r>ce)throw new RangeError('The value "'+r+'" is invalid for option "size"');var e=new Uint8Array(r);return Object.setPrototypeOf(e,c.prototype),e}function c(r,e,t){if(typeof r=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Se(r)}return Je(r,e,t)}c.poolSize=8192;function Je(r,e,t){if(typeof r=="string")return St(r,e);if(ArrayBuffer.isView(r))return kt(r);if(r==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof r);if(E(r,ArrayBuffer)||r&&E(r.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(E(r,SharedArrayBuffer)||r&&E(r.buffer,SharedArrayBuffer)))return be(r,e,t);if(typeof r=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=r.valueOf&&r.valueOf();if(n!=null&&n!==r)return c.from(n,e,t);var i=At(r);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof r[Symbol.toPrimitive]=="function")return c.from(r[Symbol.toPrimitive]("string"),e,t);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof r)}c.from=function(r,e,t){return Je(r,e,t)};Object.setPrototypeOf(c.prototype,Uint8Array.prototype);Object.setPrototypeOf(c,Uint8Array);function Qe(r){if(typeof r!="number")throw new TypeError('"size" argument must be of type number');if(r<0)throw new RangeError('The value "'+r+'" is invalid for option "size"')}function vt(r,e,t){return Qe(r),r<=0?D(r):e!==void 0?typeof t=="string"?D(r).fill(e,t):D(r).fill(e):D(r)}c.alloc=function(r,e,t){return vt(r,e,t)};function Se(r){return Qe(r),D(r<0?0:ke(r)|0)}c.allocUnsafe=function(r){return Se(r)};c.allocUnsafeSlow=function(r){return Se(r)};function St(r,e){if((typeof e!="string"||e==="")&&(e="utf8"),!c.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var t=er(r,e)|0,n=D(t),i=n.write(r,e);return i!==t&&(n=n.slice(0,i)),n}function we(r){for(var e=r.length<0?0:ke(r.length)|0,t=D(e),n=0;n<e;n+=1)t[n]=r[n]&255;return t}function kt(r){if(E(r,Uint8Array)){var e=new Uint8Array(r);return be(e.buffer,e.byteOffset,e.byteLength)}return we(r)}function be(r,e,t){if(e<0||r.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(r.byteLength<e+(t||0))throw new RangeError('"length" is outside of buffer bounds');var n;return e===void 0&&t===void 0?n=new Uint8Array(r):t===void 0?n=new Uint8Array(r,e):n=new Uint8Array(r,e,t),Object.setPrototypeOf(n,c.prototype),n}function At(r){if(c.isBuffer(r)){var e=ke(r.length)|0,t=D(e);return t.length===0||r.copy(t,0,0,e),t}if(r.length!==void 0)return typeof r.length!="number"||Ae(r.length)?D(0):we(r);if(r.type==="Buffer"&&Array.isArray(r.data))return we(r.data)}function ke(r){if(r>=ce)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ce.toString(16)+" bytes");return r|0}function It(r){return+r!=r&&(r=0),c.alloc(+r)}c.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==c.prototype};c.compare=function(e,t){if(E(e,Uint8Array)&&(e=c.from(e,e.offset,e.byteLength)),E(t,Uint8Array)&&(t=c.from(t,t.offset,t.byteLength)),!c.isBuffer(e)||!c.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var n=e.length,i=t.length,a=0,s=Math.min(n,i);a<s;++a)if(e[a]!==t[a]){n=e[a],i=t[a];break}return n<i?-1:i<n?1:0};c.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};c.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return c.alloc(0);var n;if(t===void 0)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var i=c.allocUnsafe(t),a=0;for(n=0;n<e.length;++n){var s=e[n];if(E(s,Uint8Array))a+s.length>i.length?c.from(s).copy(i,a):Uint8Array.prototype.set.call(i,s,a);else if(c.isBuffer(s))s.copy(i,a);else throw new TypeError('"list" argument must be an Array of Buffers');a+=s.length}return i};function er(r,e){if(c.isBuffer(r))return r.length;if(ArrayBuffer.isView(r)||E(r,ArrayBuffer))return r.byteLength;if(typeof r!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof r);var t=r.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&t===0)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return ve(r).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return ar(r).length;default:if(i)return n?-1:ve(r).length;e=(""+e).toLowerCase(),i=!0}}c.byteLength=er;function Nt(r,e,t){var n=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((t===void 0||t>this.length)&&(t=this.length),t<=0)||(t>>>=0,e>>>=0,t<=e))return"";for(r||(r="utf8");;)switch(r){case"hex":return Pt(this,e,t);case"utf8":case"utf-8":return tr(this,e,t);case"ascii":return Ot(this,e,t);case"latin1":case"binary":return Bt(this,e,t);case"base64":return Ct(this,e,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ut(this,e,t);default:if(n)throw new TypeError("Unknown encoding: "+r);r=(r+"").toLowerCase(),n=!0}}c.prototype._isBuffer=!0;function $(r,e,t){var n=r[e];r[e]=r[t],r[t]=n}c.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)$(this,t,t+1);return this};c.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)$(this,t,t+3),$(this,t+1,t+2);return this};c.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)$(this,t,t+7),$(this,t+1,t+6),$(this,t+2,t+5),$(this,t+3,t+4);return this};c.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?tr(this,0,e):Nt.apply(this,arguments)};c.prototype.toLocaleString=c.prototype.toString;c.prototype.equals=function(e){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:c.compare(this,e)===0};c.prototype.inspect=function(){var e="",t=K.INSPECT_MAX_BYTES;return e=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(e+=" ... "),"<Buffer "+e+">"};Xe&&(c.prototype[Xe]=c.prototype.inspect);c.prototype.compare=function(e,t,n,i,a){if(E(e,Uint8Array)&&(e=c.from(e,e.offset,e.byteLength)),!c.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(t===void 0&&(t=0),n===void 0&&(n=e?e.length:0),i===void 0&&(i=0),a===void 0&&(a=this.length),t<0||n>e.length||i<0||a>this.length)throw new RangeError("out of range index");if(i>=a&&t>=n)return 0;if(i>=a)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,i>>>=0,a>>>=0,this===e)return 0;for(var s=a-i,d=n-t,g=Math.min(s,d),m=this.slice(i,a),f=e.slice(t,n),h=0;h<g;++h)if(m[h]!==f[h]){s=m[h],d=f[h];break}return s<d?-1:d<s?1:0};function rr(r,e,t,n,i){if(r.length===0)return-1;if(typeof t=="string"?(n=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,Ae(t)&&(t=i?0:r.length-1),t<0&&(t=r.length+t),t>=r.length){if(i)return-1;t=r.length-1}else if(t<0)if(i)t=0;else return-1;if(typeof e=="string"&&(e=c.from(e,n)),c.isBuffer(e))return e.length===0?-1:Ye(r,e,t,n,i);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(r,e,t):Uint8Array.prototype.lastIndexOf.call(r,e,t):Ye(r,[e],t,n,i);throw new TypeError("val must be string, number or Buffer")}function Ye(r,e,t,n,i){var a=1,s=r.length,d=e.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(r.length<2||e.length<2)return-1;a=2,s/=2,d/=2,t/=2}function g(T,k){return a===1?T[k]:T.readUInt16BE(k*a)}var m;if(i){var f=-1;for(m=t;m<s;m++)if(g(r,m)===g(e,f===-1?0:m-f)){if(f===-1&&(f=m),m-f+1===d)return f*a}else f!==-1&&(m-=m-f),f=-1}else for(t+d>s&&(t=s-d),m=t;m>=0;m--){for(var h=!0,y=0;y<d;y++)if(g(r,m+y)!==g(e,y)){h=!1;break}if(h)return m}return-1}c.prototype.includes=function(e,t,n){return this.indexOf(e,t,n)!==-1};c.prototype.indexOf=function(e,t,n){return rr(this,e,t,n,!0)};c.prototype.lastIndexOf=function(e,t,n){return rr(this,e,t,n,!1)};function Et(r,e,t,n){t=Number(t)||0;var i=r.length-t;n?(n=Number(n),n>i&&(n=i)):n=i;var a=e.length;n>a/2&&(n=a/2);for(var s=0;s<n;++s){var d=parseInt(e.substr(s*2,2),16);if(Ae(d))return s;r[t+s]=d}return s}function _t(r,e,t,n){return le(ve(e,r.length-t),r,t,n)}function Rt(r,e,t,n){return le(Wt(e),r,t,n)}function Lt(r,e,t,n){return le(ar(e),r,t,n)}function Dt(r,e,t,n){return le(Vt(e,r.length-t),r,t,n)}c.prototype.write=function(e,t,n,i){if(t===void 0)i="utf8",n=this.length,t=0;else if(n===void 0&&typeof t=="string")i=t,n=this.length,t=0;else if(isFinite(t))t=t>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var a=this.length-t;if((n===void 0||n>a)&&(n=a),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var s=!1;;)switch(i){case"hex":return Et(this,e,t,n);case"utf8":case"utf-8":return _t(this,e,t,n);case"ascii":case"latin1":case"binary":return Rt(this,e,t,n);case"base64":return Lt(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Dt(this,e,t,n);default:if(s)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),s=!0}};c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Ct(r,e,t){return e===0&&t===r.length?Te.fromByteArray(r):Te.fromByteArray(r.slice(e,t))}function tr(r,e,t){t=Math.min(r.length,t);for(var n=[],i=e;i<t;){var a=r[i],s=null,d=a>239?4:a>223?3:a>191?2:1;if(i+d<=t){var g,m,f,h;switch(d){case 1:a<128&&(s=a);break;case 2:g=r[i+1],(g&192)===128&&(h=(a&31)<<6|g&63,h>127&&(s=h));break;case 3:g=r[i+1],m=r[i+2],(g&192)===128&&(m&192)===128&&(h=(a&15)<<12|(g&63)<<6|m&63,h>2047&&(h<55296||h>57343)&&(s=h));break;case 4:g=r[i+1],m=r[i+2],f=r[i+3],(g&192)===128&&(m&192)===128&&(f&192)===128&&(h=(a&15)<<18|(g&63)<<12|(m&63)<<6|f&63,h>65535&&h<1114112&&(s=h))}}s===null?(s=65533,d=1):s>65535&&(s-=65536,n.push(s>>>10&1023|55296),s=56320|s&1023),n.push(s),i+=d}return Ft(n)}var Ze=4096;function Ft(r){var e=r.length;if(e<=Ze)return String.fromCharCode.apply(String,r);for(var t="",n=0;n<e;)t+=String.fromCharCode.apply(String,r.slice(n,n+=Ze));return t}function Ot(r,e,t){var n="";t=Math.min(r.length,t);for(var i=e;i<t;++i)n+=String.fromCharCode(r[i]&127);return n}function Bt(r,e,t){var n="";t=Math.min(r.length,t);for(var i=e;i<t;++i)n+=String.fromCharCode(r[i]);return n}function Pt(r,e,t){var n=r.length;(!e||e<0)&&(e=0),(!t||t<0||t>n)&&(t=n);for(var i="",a=e;a<t;++a)i+=$t[r[a]];return i}function Ut(r,e,t){for(var n=r.slice(e,t),i="",a=0;a<n.length-1;a+=2)i+=String.fromCharCode(n[a]+n[a+1]*256);return i}c.prototype.slice=function(e,t){var n=this.length;e=~~e,t=t===void 0?n:~~t,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),t<0?(t+=n,t<0&&(t=0)):t>n&&(t=n),t<e&&(t=e);var i=this.subarray(e,t);return Object.setPrototypeOf(i,c.prototype),i};function w(r,e,t){if(r%1!==0||r<0)throw new RangeError("offset is not uint");if(r+e>t)throw new RangeError("Trying to access beyond buffer length")}c.prototype.readUintLE=c.prototype.readUIntLE=function(e,t,n){e=e>>>0,t=t>>>0,n||w(e,t,this.length);for(var i=this[e],a=1,s=0;++s<t&&(a*=256);)i+=this[e+s]*a;return i};c.prototype.readUintBE=c.prototype.readUIntBE=function(e,t,n){e=e>>>0,t=t>>>0,n||w(e,t,this.length);for(var i=this[e+--t],a=1;t>0&&(a*=256);)i+=this[e+--t]*a;return i};c.prototype.readUint8=c.prototype.readUInt8=function(e,t){return e=e>>>0,t||w(e,1,this.length),this[e]};c.prototype.readUint16LE=c.prototype.readUInt16LE=function(e,t){return e=e>>>0,t||w(e,2,this.length),this[e]|this[e+1]<<8};c.prototype.readUint16BE=c.prototype.readUInt16BE=function(e,t){return e=e>>>0,t||w(e,2,this.length),this[e]<<8|this[e+1]};c.prototype.readUint32LE=c.prototype.readUInt32LE=function(e,t){return e=e>>>0,t||w(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};c.prototype.readUint32BE=c.prototype.readUInt32BE=function(e,t){return e=e>>>0,t||w(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};c.prototype.readIntLE=function(e,t,n){e=e>>>0,t=t>>>0,n||w(e,t,this.length);for(var i=this[e],a=1,s=0;++s<t&&(a*=256);)i+=this[e+s]*a;return a*=128,i>=a&&(i-=Math.pow(2,8*t)),i};c.prototype.readIntBE=function(e,t,n){e=e>>>0,t=t>>>0,n||w(e,t,this.length);for(var i=t,a=1,s=this[e+--i];i>0&&(a*=256);)s+=this[e+--i]*a;return a*=128,s>=a&&(s-=Math.pow(2,8*t)),s};c.prototype.readInt8=function(e,t){return e=e>>>0,t||w(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};c.prototype.readInt16LE=function(e,t){e=e>>>0,t||w(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};c.prototype.readInt16BE=function(e,t){e=e>>>0,t||w(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};c.prototype.readInt32LE=function(e,t){return e=e>>>0,t||w(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};c.prototype.readInt32BE=function(e,t){return e=e>>>0,t||w(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};c.prototype.readFloatLE=function(e,t){return e=e>>>0,t||w(e,4,this.length),j.read(this,e,!0,23,4)};c.prototype.readFloatBE=function(e,t){return e=e>>>0,t||w(e,4,this.length),j.read(this,e,!1,23,4)};c.prototype.readDoubleLE=function(e,t){return e=e>>>0,t||w(e,8,this.length),j.read(this,e,!0,52,8)};c.prototype.readDoubleBE=function(e,t){return e=e>>>0,t||w(e,8,this.length),j.read(this,e,!1,52,8)};function b(r,e,t,n,i,a){if(!c.isBuffer(r))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<a)throw new RangeError('"value" argument is out of bounds');if(t+n>r.length)throw new RangeError("Index out of range")}c.prototype.writeUintLE=c.prototype.writeUIntLE=function(e,t,n,i){if(e=+e,t=t>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;b(this,e,t,n,a,0)}var s=1,d=0;for(this[t]=e&255;++d<n&&(s*=256);)this[t+d]=e/s&255;return t+n};c.prototype.writeUintBE=c.prototype.writeUIntBE=function(e,t,n,i){if(e=+e,t=t>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;b(this,e,t,n,a,0)}var s=n-1,d=1;for(this[t+s]=e&255;--s>=0&&(d*=256);)this[t+s]=e/d&255;return t+n};c.prototype.writeUint8=c.prototype.writeUInt8=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,1,255,0),this[t]=e&255,t+1};c.prototype.writeUint16LE=c.prototype.writeUInt16LE=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,2,65535,0),this[t]=e&255,this[t+1]=e>>>8,t+2};c.prototype.writeUint16BE=c.prototype.writeUInt16BE=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=e&255,t+2};c.prototype.writeUint32LE=c.prototype.writeUInt32LE=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=e&255,t+4};c.prototype.writeUint32BE=c.prototype.writeUInt32BE=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e&255,t+4};c.prototype.writeIntLE=function(e,t,n,i){if(e=+e,t=t>>>0,!i){var a=Math.pow(2,8*n-1);b(this,e,t,n,a-1,-a)}var s=0,d=1,g=0;for(this[t]=e&255;++s<n&&(d*=256);)e<0&&g===0&&this[t+s-1]!==0&&(g=1),this[t+s]=(e/d>>0)-g&255;return t+n};c.prototype.writeIntBE=function(e,t,n,i){if(e=+e,t=t>>>0,!i){var a=Math.pow(2,8*n-1);b(this,e,t,n,a-1,-a)}var s=n-1,d=1,g=0;for(this[t+s]=e&255;--s>=0&&(d*=256);)e<0&&g===0&&this[t+s+1]!==0&&(g=1),this[t+s]=(e/d>>0)-g&255;return t+n};c.prototype.writeInt8=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=e&255,t+1};c.prototype.writeInt16LE=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,2,32767,-32768),this[t]=e&255,this[t+1]=e>>>8,t+2};c.prototype.writeInt16BE=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=e&255,t+2};c.prototype.writeInt32LE=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,4,2147483647,-2147483648),this[t]=e&255,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4};c.prototype.writeInt32BE=function(e,t,n){return e=+e,t=t>>>0,n||b(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e&255,t+4};function nr(r,e,t,n,i,a){if(t+n>r.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function ir(r,e,t,n,i){return e=+e,t=t>>>0,i||nr(r,e,t,4,34028234663852886e22,-34028234663852886e22),j.write(r,e,t,n,23,4),t+4}c.prototype.writeFloatLE=function(e,t,n){return ir(this,e,t,!0,n)};c.prototype.writeFloatBE=function(e,t,n){return ir(this,e,t,!1,n)};function or(r,e,t,n,i){return e=+e,t=t>>>0,i||nr(r,e,t,8,17976931348623157e292,-17976931348623157e292),j.write(r,e,t,n,52,8),t+8}c.prototype.writeDoubleLE=function(e,t,n){return or(this,e,t,!0,n)};c.prototype.writeDoubleBE=function(e,t,n){return or(this,e,t,!1,n)};c.prototype.copy=function(e,t,n,i){if(!c.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),t>=e.length&&(t=e.length),t||(t=0),i>0&&i<n&&(i=n),i===n||e.length===0||this.length===0)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-t<i-n&&(i=e.length-t+n);var a=i-n;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(t,n,i):Uint8Array.prototype.set.call(e,this.subarray(n,i),t),a};c.prototype.fill=function(e,t,n,i){if(typeof e=="string"){if(typeof t=="string"?(i=t,t=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!c.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(e.length===1){var a=e.charCodeAt(0);(i==="utf8"&&a<128||i==="latin1")&&(e=a)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;t=t>>>0,n=n===void 0?this.length:n>>>0,e||(e=0);var s;if(typeof e=="number")for(s=t;s<n;++s)this[s]=e;else{var d=c.isBuffer(e)?e:c.from(e,i),g=d.length;if(g===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(s=0;s<n-t;++s)this[s+t]=d[s%g]}return this};var Mt=/[^+/0-9A-Za-z-_]/g;function Gt(r){if(r=r.split("=")[0],r=r.trim().replace(Mt,""),r.length<2)return"";for(;r.length%4!==0;)r=r+"=";return r}function ve(r,e){e=e||1/0;for(var t,n=r.length,i=null,a=[],s=0;s<n;++s){if(t=r.charCodeAt(s),t>55295&&t<57344){if(!i){if(t>56319){(e-=3)>-1&&a.push(239,191,189);continue}else if(s+1===n){(e-=3)>-1&&a.push(239,191,189);continue}i=t;continue}if(t<56320){(e-=3)>-1&&a.push(239,191,189),i=t;continue}t=(i-55296<<10|t-56320)+65536}else i&&(e-=3)>-1&&a.push(239,191,189);if(i=null,t<128){if((e-=1)<0)break;a.push(t)}else if(t<2048){if((e-=2)<0)break;a.push(t>>6|192,t&63|128)}else if(t<65536){if((e-=3)<0)break;a.push(t>>12|224,t>>6&63|128,t&63|128)}else if(t<1114112){if((e-=4)<0)break;a.push(t>>18|240,t>>12&63|128,t>>6&63|128,t&63|128)}else throw new Error("Invalid code point")}return a}function Wt(r){for(var e=[],t=0;t<r.length;++t)e.push(r.charCodeAt(t)&255);return e}function Vt(r,e){for(var t,n,i,a=[],s=0;s<r.length&&!((e-=2)<0);++s)t=r.charCodeAt(s),n=t>>8,i=t%256,a.push(i),a.push(n);return a}function ar(r){return Te.toByteArray(Gt(r))}function le(r,e,t,n){for(var i=0;i<n&&!(i+t>=e.length||i>=r.length);++i)e[i+t]=r[i];return i}function E(r,e){return r instanceof e||r!=null&&r.constructor!=null&&r.constructor.name!=null&&r.constructor.name===e.name}function Ae(r){return r!==r}var $t=function(){for(var r="0123456789abcdef",e=new Array(256),t=0;t<16;++t)for(var n=t*16,i=0;i<16;++i)e[n+i]=r[t]+r[i];return e}()});var dr=ae((Dn,ur)=>{o();var x=ur.exports={},_,R;function Ie(){throw new Error("setTimeout has not been defined")}function Ne(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?_=setTimeout:_=Ie}catch(r){_=Ie}try{typeof clearTimeout=="function"?R=clearTimeout:R=Ne}catch(r){R=Ne}})();function cr(r){if(_===setTimeout)return setTimeout(r,0);if((_===Ie||!_)&&setTimeout)return _=setTimeout,setTimeout(r,0);try{return _(r,0)}catch(e){try{return _.call(null,r,0)}catch(t){return _.call(this,r,0)}}}function Ht(r){if(R===clearTimeout)return clearTimeout(r);if((R===Ne||!R)&&clearTimeout)return R=clearTimeout,clearTimeout(r);try{return R(r)}catch(e){try{return R.call(null,r)}catch(t){return R.call(this,r)}}}var C=[],X=!1,H,pe=-1;function qt(){!X||!H||(X=!1,H.length?C=H.concat(C):pe=-1,C.length&&lr())}function lr(){if(!X){var r=cr(qt);X=!0;for(var e=C.length;e;){for(H=C,C=[];++pe<e;)H&&H[pe].run();pe=-1,e=C.length}H=null,X=!1,Ht(r)}}x.nextTick=function(r){var e=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)e[t-1]=arguments[t];C.push(new pr(r,e)),C.length===1&&!X&&cr(lr)};function pr(r,e){this.fun=r,this.array=e}pr.prototype.run=function(){this.fun.apply(null,this.array)};x.title="browser";x.browser=!0;x.env={};x.argv=[];x.version="";x.versions={};function F(){}x.on=F;x.addListener=F;x.once=F;x.off=F;x.removeListener=F;x.removeAllListeners=F;x.emit=F;x.prependListener=F;x.prependOnceListener=F;x.listeners=function(r){return[]};x.binding=function(r){throw new Error("process.binding is not supported")};x.cwd=function(){return"/"};x.chdir=function(r){throw new Error("process.chdir is not supported")};x.umask=function(){return 0}});var l,p,Cn,o=ut(()=>{l=v(sr()),p=v(dr()),Cn=function(r){function e(){var n=this||self;return delete r.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return e();r.defineProperty(r.prototype,"__magic__",{configurable:!0,get:e});var t=__magic__;return t}(Object)});var In={};dt(In,{getEventListDataHexValue:()=>zt,getEventListHighlight:()=>jt,getOperationDirection:()=>Xt,getOperationList:()=>et,getScResultsDecodedData:()=>Yt,getScResultsHighlight:()=>Zt,getScamFlag:()=>Jt,getShardText:()=>en,getTextWithLinks:()=>fr,getTransactionActionNftText:()=>an,getTransactionActionTokenText:()=>sn,getTransactionFee:()=>ln,getTransactionLinkWithLabel:()=>pn,getTransactionMessages:()=>dn,getTransactionStatus:()=>mn,getTransactionStatusText:()=>fn,getTrimmedHash:()=>hn,getVisibleOperations:()=>yn,internalTransactionActions:()=>Qr,transactionActionUnwrapper:()=>xn,useDataDecode:()=>Sn,useDataDecodeMethod:()=>kn,useGetOperationList:()=>An});module.exports=gt(In);o();o();var zt=r=>l.Buffer.from(String(r==null?void 0:r.data),"base64").toString("hex");o();o();o();var gr=()=>typeof window!="undefined"&&typeof(window==null?void 0:window.location)!="undefined";var Y=()=>{if(!gr())return{pathname:"",hash:"",origin:"",href:"",search:""};let{location:{pathname:e,hash:t,origin:n,href:i,search:a}}=window;return{pathname:e,hash:t,origin:n,href:i,search:a}};var jt=(r,e)=>{var d;let{hash:t}=Y(),n=t.split("/"),i=n[0]?n[0].replace("#",""):"",a=(d=n[1])!=null?d:0;return i===e&&r.order===Number(a)};o();o();var Ee=(n=>(n.nft="nft",n.esdt="esdt",n.egld="egld",n))(Ee||{});var O=(i=>(i.raw="raw",i.text="text",i.decimal="decimal",i.smart="smart",i))(O||{});var Xt=({operation:r,address:e})=>{let t=e===r.sender,n=e===r.receiver,i=t&&n,a=!i,s="";switch(!0){case t:s="Out";break;case n:s="In";break;case i:s="Self";break;case a:s="Internal";break}return{direction:s}};o();o();o();function ue(r){for(let e=0;e<r.length;e++)if(r.charCodeAt(e)>127)return!1;return!0}function _e(r){let e=r;try{let t=l.Buffer.from(r,"hex").toString();ue(t)&&t.length>1&&(e=t)}catch(t){}return e}var Yt=r=>{let e=l.Buffer.from(r,"base64").toString().split("@");return e.length>=2&&(e[0].length>0?e[0]=_e(e[0]):e[1]=_e(e[1])),e.join("@")};o();var Zt=r=>{let{hash:e}=Y();return e.substring(0,e.indexOf("/")>0?e.indexOf("/"):e.length).replace("#","")===r};o();var mr=v(require("linkifyjs")),fr=r=>{let e=mr.find(r);if(!e.length)return{textWithLinks:r,hasLinks:!1};let t=r;for(let n of e){let i=r.substring(n.start,n.end);t=t.replace(i,n.value)}return{textWithLinks:t,hasLinks:!0}},Jt=({message:r,scamInfo:e,isNsfw:t,verified:n,messagePrefix:i="Message hidden due to suspicious content - "})=>{var g;if(n)return{message:"",textWithLinks:"",isSuspicious:!1};let a=`${i}${(g=e==null?void 0:e.info)!=null?g:"suspicious content"}`,{textWithLinks:s,hasLinks:d}=fr(r);return d||t||e?{message:a,textWithLinks:s,isSuspicious:!0}:{message:"",textWithLinks:s,isSuspicious:!1}};o();o();o();o();o();o();o();o();o();o();o();o();o();o();o();o();var Qt=require("@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider"),Z=require("@multiversx/sdk-web-wallet-cross-window-provider/out/enums");var hr=(t=>(t.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",t.reloginRequest="RELOGIN_REQUEST",t))(hr||{}),ci=U(U({},Z.WindowProviderRequestEnums),hr),yr=(e=>(e.reloginResponse="RELOGIN_RESPONSE",e))(yr||{}),li=U(U({},Z.WindowProviderResponseEnums),yr);o();o();o();o();o();var Re={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",xAliasAddress:"https://devnet.xalias.com",apiAddress:"https://devnet-api.multiversx.com",extrasApiAddress:"https://devnet-extras-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://devnet-iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",xAliasAddress:"https://testnet.xalias.com",apiAddress:"https://testnet-api.multiversx.com",extrasApiAddress:"https://testnet-extras-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://testnet-iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",xAliasAddress:"https://xalias.com",apiAddress:"https://api.multiversx.com",extrasApiAddress:"https://extras-api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",metamaskSnapWalletAddress:"https://iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3}},{chainId:xr,egldLabel:Ai}=Re["devnet"],{chainId:Tr,egldLabel:Ii}=Re["testnet"],{chainId:wr,egldLabel:Ni}=Re["mainnet"];var Ei={["devnet"]:xr,["testnet"]:Tr,["mainnet"]:wr},_i={[xr]:"devnet",[Tr]:"testnet",[wr]:"mainnet"};o();o();var L=require("@multiversx/sdk-web-wallet-provider");o();o();var Le=require("@multiversx/sdk-dapp-utils/out/constants/browserConstants");var br,vr,De=String((vr=(br=Le.safeWindow)==null?void 0:br.navigator)==null?void 0:vr.userAgent),Oi=/^((?!chrome|android).)*safari/i.test(De),Bi=/firefox/i.test(De)&&/windows/i.test(De);var I=18,J=4;var Sr=4294967295,kr=4294967280;var Ar="refundedGas";var Q="0";var en=r=>{let e=r;typeof e=="string"&&e.includes("Shard")&&(e=e.replace("Shard","").replace(" ",""));let t=Sr.toString()===String(e).toString()||String(e)==="metachain",n=kr.toString()===String(e).toString();return t?"Metachain":n?"All Shards":`Shard ${e}`};o();o();o();o();o();var Nr=require("@multiversx/sdk-core"),M=v(require("bignumber.js"));o();var Ir=v(require("bignumber.js")),Ce=(r,e=!0)=>{let t=String(r);if(!t.match(/^[-]?\d+$/))return!1;let n=new Ir.default(t),i=!e||n.isGreaterThanOrEqualTo(0);return n.toString(10)===t&&i};o();function B(r){return{if:function(e){return e?{then:t=>t instanceof Function?B(t(r)):B(t)}:{then:()=>B(r)}},then:e=>e instanceof Function?B(e(r)):B(e),valueOf:function(){return r}}}M.default.config({ROUNDING_MODE:M.default.ROUND_FLOOR});function G({input:r,decimals:e=I,digits:t=J,showLastNonZeroDecimal:n=!0,showIsLessThanDecimalsLabel:i=!1,addCommas:a=!1}){if(!Ce(r,!1))throw new Error("Invalid input");let s=new M.default(r).isNegative(),d=r;return s&&(d=r.substring(1)),B(d).then(()=>Nr.TokenTransfer.fungibleFromBigInteger("",d,e).amountAsBigInteger.shiftedBy(-e).toFixed(e)).then(g=>{let m=new M.default(g);if(m.isZero())return Q;let f=m.toString(10),[h,y]=f.split("."),T=new M.default(y||0),k=B(0).if(Boolean(y&&n)).then(()=>Math.max(y.length,t)).if(T.isZero()&&!n).then(0).if(Boolean(y&&!n)).then(()=>Math.min(y.length,t)).valueOf(),z=y&&t>=1&&t<=y.length&&T.isGreaterThan(0)&&new M.default(y.substring(0,t)).isZero(),rt=m.toFormat(k);return B(f).if(a).then(rt).if(Boolean(z)).then(ne=>{let re=new M.default(h).isZero(),[A,ie]=ne.split("."),oe=new Array(t-1).fill(0),tt=[...oe,0].join(""),nt=[...oe,1].join("");return re?i?`<${A}.${nt}`:n?`${A}.${ie}`:A:`${A}.${tt}`}).if(Boolean(!z&&y)).then(ne=>{let[re]=ne.split("."),A=y.substring(0,k);if(n){let ie=t-A.length;if(ie>0){let oe=Array(ie).fill(0).join("");return A=`${A}${oe}`,`${re}.${A}`}return ne}return A?`${re}.${A}`:re}).valueOf()}).if(s).then(g=>`-${g}`).valueOf()}o();o();var rn=require("@multiversx/sdk-core"),tn=v(require("bignumber.js"));o();var Fe=require("@multiversx/sdk-core"),on=v(require("bignumber.js"));o();o();o();var nn=v(require("bignumber.js"));o();o();o();o();o();o();o();o();o();o();var W="accounts";var Er="blocks",_r="code",Rr="collections";var Lr="contracts";var Dr="identities";var Cr="locked-accounts",Fr="logs",Or="miniblocks";var Oe="nfts",Br="nodes",Be="providers",Pr="roles",Pe="sc-results";var ee="tokens";var q="transactions";var de={shard:r=>`/${Er}?shard=${r}`,receiverShard:r=>`/${q}?receivershard=${r}`,senderShard:r=>`/${q}?sendershard=${r}`,transactionDetails:r=>`/${q}/${r}`,transactionDetailsScResults:r=>`/${q}/${r}/${Pe}`,transactionDetailsLogs:r=>`/${q}/${r}/${Fr}`,nodeDetails:r=>`/${Br}/${r}`,accountDetails:r=>`/${W}/${r}`,accountDetailsContractCode:r=>`/${W}/${r}/${_r}`,accountDetailsTokens:r=>`/${W}/${r}/${ee}`,accountDetailsNfts:r=>`/${W}/${r}/${Oe}`,accountDetailsScResults:r=>`/${W}/${r}/${Pe}`,accountDetailsContracts:r=>`/${W}/${r}/${Lr}`,identityDetails:r=>`/${Dr}/${r}`,tokenDetails:r=>`/${ee}/${r}`,tokenDetailsAccounts:r=>`/${ee}/${r}/${W}`,tokenDetailsLockedAccounts:r=>`/${ee}/${r}/${Cr}`,tokenDetailsRoles:r=>`/${ee}/${r}/${Pr}`,collectionDetails:r=>`/${Rr}/${r}`,nftDetails:r=>`/${Oe}/${r}`,providerDetails:r=>`/${Be}/${r}`,providerDetailsTransactions:r=>`/${Be}/${r}/${q}`,miniblockDetails:r=>`/${Or}/${r}`};function an({token:r,noValue:e,showLastNonZeroDecimal:t}){var m;let n=!e&&r.value&&r.type!=="NonFungibleESDT",i=r.decimals!=null,a="";r.type==="NonFungibleESDT"&&(a="NFT"),r.type==="SemiFungibleESDT"&&(a="SFT"),r.type==="MetaESDT"&&(a="Meta-ESDT");let s="";n&&i&&(s=i?G({input:r.value,decimals:r.decimals,digits:2,showLastNonZeroDecimal:t}):Number(r.value).toLocaleString("en"));let d=de.nftDetails(String(r.identifier)),g=r.ticker===r.collection&&(m=r.identifier)!=null?m:r.ticker;return{badgeText:a,tokenFormattedAmount:n?s:null,tokenExplorerLink:d,tokenLinkText:g,token:r,noValue:e,showLastNonZeroDecimal:t}}o();function sn({token:r,noValue:e,showLastNonZeroDecimal:t}){var d;let n=Boolean(!e&&r.value),i=n?G({input:r.value,decimals:(d=r.decimals)!=null?d:I,digits:2,showLastNonZeroDecimal:t,addCommas:!0}):null,a=de.tokenDetails(String(r.token)),s=r.ticker;return{tokenExplorerLink:a,tokenFormattedAmount:i,showFormattedAmount:n,tokenLinkText:s,token:r,showLastNonZeroDecimal:t}}o();var Ue=v(require("bignumber.js")),cn=r=>{let e=new Ue.default(r.gasPrice),t=new Ue.default(r.gasUsed);return e.times(t).toString()};function ln(r){return r.fee?r.fee:r.gasUsed===void 0?null:cn(r)}o();var pn=({transaction:r,direction:e})=>{var g;let t=e==="Internal",n=r.sender;if(t)return{link:(g=r.links.senderLink)!=null?g:"",label:"Smart Contract transaction",address:n};let i=e==="Out",a=i?r.links.receiverLink:r.links.senderLink,s="";return e==="Self"&&r.receiverAssets?s=r.receiverAssets.name:(n=i?r.receiver:r.sender,s=i?"To:":"From:"),{label:s,address:n,link:a!=null?a:""}};o();o();function Ur(r){var e,t;return(t=(e=r==null?void 0:r.operations)==null?void 0:e.map(n=>n.message).filter(n=>Boolean(n)))!=null?t:[]}o();var Mr=v(require("bignumber.js"));var un=r=>{var e,t;if(!((e=r.receipt)!=null&&e.value))return"";if(((t=r.receipt)==null?void 0:t.data)===Ar){let n=G({input:r.receipt.value,decimals:I,digits:J,showLastNonZeroDecimal:!0});return new Mr.default(n).times(r.gasPrice).times(100).toFixed()}return r.receipt.value};function Gr(r){var i;let e=(i=r.receipt)==null?void 0:i.data;if(!e)return"";let t=un(r),n=t?`: ${t}`:"";return`${e}${n}`}o();function Me(r){var e,t;return(t=(e=r==null?void 0:r.results)==null?void 0:e.map(n=>n.returnMessage).filter(n=>Boolean(n)))!=null?t:[]}function dn(r){return Array.from(new Set([...Me(r),...Ur(r),Gr(r)])).filter(t=>Boolean(t))}o();function mn(r){let e=s=>r.status.toLowerCase()===s.toLowerCase(),t=e("fail")||e("reward-reverted"),n=e("success"),i=e("not executed")||e("invalid"),a=e("pending")||r.pendingResults;return{failed:t,success:n,invalid:i,pending:a}}o();var fn=r=>{switch(!0){case r.pendingResults:return"Pending (Smart Contract Execution)";case r.status==="reward-reverted":return"fail";default:return r.status.toString()}};o();var hn=(r,e=4)=>`${r.substring(0,Math.floor(r.length/e))}...${r.substring(r.length-Math.ceil(r.length/e))}`;o();var yn=r=>{var t,n;return(n=(t=r==null?void 0:r.operations)==null?void 0:t.filter(i=>Object.values(Ee).includes(i.type)))!=null?n:[]};o();o();o();var Vr=r=>{var e,t;switch(r.name){case"transfer":return["Transfer",{token:(e=r.arguments)==null?void 0:e.transfers},"to",{address:(t=r.arguments)==null?void 0:t.receiver}];default:return[]}};o();var $r=v(require("bignumber.js"));var Hr=r=>{var e,t,n,i,a,s,d,g,m,f,h,y;switch(r.name){case"claimLockedAssets":return["Claim locked assets"];case"enterFarm":case"enterFarmProxy":return["Enter farm with",{token:(e=r.arguments)==null?void 0:e.transfers}];case"enterFarmAndLockRewards":case"enterFarmAndLockRewardsProxy":return["Enter farm and lock rewards with",{token:(t=r.arguments)==null?void 0:t.transfers}];case"exitFarm":case"exitFarmProxy":return["Exit farm with",{token:(n=r.arguments)==null?void 0:n.transfers}];case"claimRewards":case"claimRewardsProxy":return["Claim rewards",{token:(i=r.arguments)==null?void 0:i.transfers}];case"compoundRewards":case"compoundRewardsProxy":return["Reinvest rewards",{token:(a=r.arguments)==null?void 0:a.transfers}];case"swapTokensFixedInput":case"swap":return r.description?[r.description]:[];case"swapTokensFixedOutput":return r.description?[r.description]:[];case"addLiquidity":case"addLiquidityProxy":return["Added liquidity for",{token:[(s=r.arguments)==null?void 0:s.transfers[0]]},"and",{token:[(d=r.arguments)==null?void 0:d.transfers[1]]}];case"removeLiquidity":case"removeLiquidityProxy":return["Removed liquidity with ",{token:(g=r.arguments)==null?void 0:g.transfers}];case"mergeLockedAssetTokens":let T=Q;if((m=r.arguments)!=null&&m.transfers){let k=r.arguments.transfers.map(({value:z})=>z);T=$r.default.sum.apply(null,k).toString(10)}return[`Merge ${(f=r.arguments)==null?void 0:f.transfers.length}`,{tokenNoLink:[(h=r.arguments)==null?void 0:h.transfers[0]]},"positions into a single",{tokenNoLink:[(y=r.arguments)==null?void 0:y.transfers[0]]},"position of value",{value:T}];case"wrapEgld":case"unwrapEgld":default:return r.description?[r.description]:[]}};o();var qr=r=>{var e,t,n,i,a,s,d,g,m,f,h,y;switch(r.name){case"delegate":case"stake":return["Delegate",{egldValue:(e=r.arguments)==null?void 0:e.value},"to staking provider",{providerName:(t=r.arguments)==null?void 0:t.providerName,providerAvatar:(n=r.arguments)==null?void 0:n.providerAvatar}];case"unDelegate":return["Undelegate",{egldValue:(i=r.arguments)==null?void 0:i.value},"from staking provider",{providerName:(a=r.arguments)==null?void 0:a.providerName,providerAvatar:(s=r.arguments)==null?void 0:s.providerAvatar}];case"claimRewards":return["Claim rewards from staking provider",{providerName:(d=r.arguments)==null?void 0:d.providerName,providerAvatar:(g=r.arguments)==null?void 0:g.providerAvatar}];case"reDelegateRewards":return["Redelegate rewards from staking provider",{providerName:(m=r.arguments)==null?void 0:m.providerName,providerAvatar:(f=r.arguments)==null?void 0:f.providerAvatar}];case"withdraw":return["Withdraw from staking provider",{providerName:(h=r.arguments)==null?void 0:h.providerName,providerAvatar:(y=r.arguments)==null?void 0:y.providerAvatar}];default:return[]}};var xn=r=>{if(!r.arguments)return r.description?[r.description]:[r.name];switch(r.category){case"esdtNft":return Vr(r);case"mex":return Hr(r);case"stake":return qr(r);default:return r.description?[r.description]:[]}};o();var me=require("react");o();o();o();o();var Kr=require("@multiversx/sdk-core"),Ge=v(require("bignumber.js"));o();var zr=require("@multiversx/sdk-core");function Tn(r){try{return zr.Address.isValid(r)}catch(e){return!1}}function jr(r){return/^\w+$/.test(r)&&Tn(r)}o();o();o();o();var P=(r,e,t)=>{switch(e){case"text":try{return l.Buffer.from(r,"hex").toString("utf8")}catch(n){}return r;case"decimal":return r!==""?new Ge.default(r,16).toString(10):"";case"smart":try{let n=Kr.Address.fromHex(r).toString();if(jr(n))return n}catch(n){}try{let n=l.Buffer.from(r,"hex").toString("utf8");if(ue(n))return n;{if(t&&[...t.esdts,...t.nfts].some(s=>n.includes(s)))return n;let i=new Ge.default(r,16);return i.isFinite()?i.toString(10):r}}catch(n){}return r;case"raw":default:return r}};o();o();var wn=r=>r.toLowerCase().match(/^[0-9a-f]+$/i),bn=r=>r.length%2===0,Xr=r=>{let e=[];return r&&!wn(r)&&e.push(`Invalid Hex characters on argument @${r}`),r&&!bn(r)&&e.push(`Odd number of Hex characters on argument @${r}`),e};o();var ge=({parts:r,decodedParts:e,identifier:t})=>{let n=[...e];if(r[0]==="ESDTNFTTransfer"&&r[2]&&(n[2]=P(r[2],"decimal")),t==="ESDTNFTTransfer"&&r[1]){let i=l.Buffer.from(String(r[1]),"base64");n[1]=P(i.toString("hex"),"decimal")}return n};var Yr=({parts:r,decodeMethod:e,identifier:t,display:n})=>{let i=r.map((s,d)=>{if(r.length>=2&&(d===0&&s.length<64||d===1&&!r[0]))return/[^a-z0-9]/gi.test(s)?P(s,e):s;{let g=Xr(s);return g!=null&&g.length&&(n.validationWarnings=Array.from(new Set([...n.validationWarnings,...g]))),P(s,e)}});return e==="smart"?ge({parts:r,decodedParts:i,identifier:t}):i};var Zr=({input:r,decodeMethod:e,identifier:t})=>{let n={displayValue:"",validationWarnings:[]};if(!r.includes("@")&&!r.includes(`
|
|
2
2
|
`))return n.displayValue=P(r,e),n;if(r.includes("@")){let i=r.split("@"),a=Yr({parts:i,identifier:t,decodeMethod:e,display:n});n.displayValue=a.join("@")}if(r.includes(`
|
|
3
3
|
`)){let i=r.split(`
|
|
4
|
-
`),a=i.map(d=>{let
|
|
5
|
-
`)}return n};var vn=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}],Sn=({value:r,initialDecodeMethod:e,setDecodeMethod:t,identifier:n})=>{let[i,a]=(0,
|
|
4
|
+
`),a=i.map(d=>{let g=l.Buffer.from(d,"base64");return e==="raw"?d:P(g.toString("hex"),e)}),s=e==="smart"?ge({parts:i,decodedParts:a,identifier:t}):a;n.displayValue=s.join(`
|
|
5
|
+
`)}return n};var vn=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}],Sn=({value:r,initialDecodeMethod:e,setDecodeMethod:t,identifier:n})=>{let[i,a]=(0,me.useState)(e&&Object.values(O).includes(e)?e:"raw"),{displayValue:s,validationWarnings:d}=Zr({input:r,decodeMethod:i,identifier:n});return(0,me.useEffect)(()=>{t&&t(i)},[i]),{displayValue:s,validationWarnings:d,setActiveKey:a,decodeOptions:vn}};o();var fe=require("react");var kn=()=>{let{hash:r,pathname:e}=Y(),t=r.replace("#",""),n=t&&Object.values(O).includes(t)?t:"raw",[i,a]=(0,fe.useState)(t);return(0,fe.useEffect)(()=>{i&&i!=="raw"&&(window==null||window.history.replaceState({},document==null?void 0:document.title,`${e}#${i}`))},[i,e]),{initialDecodeMethod:n,decodeMethod:i,setDecodeMethod:a}};o();var Jr=require("react");var Qr=["create","localMint","ESDTLocalMint","addQuantity","burn","localBurn","ESDTLocalBurn","wipe","writeLog","signalError"];function et({operations:r,transaction:e,isExpanded:t=!1,listLength:n=25}){let i=r.filter(f=>!Qr.includes(f.action)&&(f.sender===e.sender||f.receiver===e.sender)),a=i.length>0?i:r,s=a.length>n?a.slice(0,n):a,d=a.length>n?a.slice(n,a.length):[],g=t?i.length>0?"Show in/out operations":"Show fewer operations":"Show all operations",m=s.length!==r.length||d.length>0;return{displayedOperations:t?r:s,toggleButtonText:g,showToggleButton:m}}function An(r){let[e,t]=(0,Jr.useState)(!1),n=()=>{t(d=>!d)},{displayedOperations:i,showToggleButton:a,toggleButtonText:s}=et(he(U({},r),{isExpanded:e}));return{isExpanded:e,displayedOperations:i,showToggleButton:a,toggleButtonText:s,onToggleButtonClick:n}}0&&(module.exports={getEventListDataHexValue,getEventListHighlight,getOperationDirection,getOperationList,getScResultsDecodedData,getScResultsHighlight,getScamFlag,getShardText,getTextWithLinks,getTransactionActionNftText,getTransactionActionTokenText,getTransactionFee,getTransactionLinkWithLabel,getTransactionMessages,getTransactionStatus,getTransactionStatusText,getTrimmedHash,getVisibleOperations,internalTransactionActions,transactionActionUnwrapper,useDataDecode,useDataDecodeMethod,useGetOperationList});
|
|
6
6
|
/*!
|
|
7
7
|
* The buffer module from node.js, for the browser.
|
|
8
8
|
*
|