@multiversx/sdk-dapp 2.36.2 → 2.36.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/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/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/SignWithWalletConnectModal/SignWithWalletConnectModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithWalletConnectModal/index.js +1 -1
- package/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
- package/UI/SignTransactionsModals/components/DeviceConfirmationScreen.js +1 -1
- package/UI/SignTransactionsModals/components/SignWaitingScreenModal/SignWaitingScreenModal.js +1 -1
- package/UI/SignTransactionsModals/components/SignWaitingScreenModal/index.js +1 -1
- package/UI/SignTransactionsModals/components/TransactionStatusToast.js +1 -1
- package/UI/SignTransactionsModals/components/index.js +1 -1
- package/UI/SignTransactionsModals/index.js +1 -1
- package/UI/TokenDetails/index.js +1 -1
- package/UI/TransactionData/TransactionData.js +1 -1
- package/UI/TransactionData/index.js +1 -1
- package/UI/TransactionDetails/TransactionDetails.js +1 -1
- package/UI/TransactionDetails/components/TransactionDetailsBody.js +1 -1
- package/UI/TransactionDetails/components/index.js +1 -1
- package/UI/TransactionDetails/index.js +1 -1
- package/UI/TransactionInfo/TransactionInfo.js +1 -1
- package/UI/TransactionInfo/components/AddressDetailItem/AddressDetailitem.js +1 -1
- package/UI/TransactionInfo/components/AddressDetailItem/index.js +1 -1
- package/UI/TransactionInfo/components/DataDecode/DataDecode.js +1 -1
- package/UI/TransactionInfo/components/DataDecode/index.js +1 -1
- package/UI/TransactionInfo/components/DataField/DataField.js +1 -1
- package/UI/TransactionInfo/components/DataField/components/ModalLink/ModalLink.js +1 -1
- package/UI/TransactionInfo/components/DataField/components/ModalLink/index.js +1 -1
- package/UI/TransactionInfo/components/DataField/components/index.js +1 -1
- package/UI/TransactionInfo/components/DataField/index.js +1 -1
- package/UI/TransactionInfo/components/EventsList/EventsList.js +1 -1
- package/UI/TransactionInfo/components/EventsList/index.js +1 -1
- package/UI/TransactionInfo/components/NonceMessage/NonceMessage.js +1 -1
- package/UI/TransactionInfo/components/NonceMessage/index.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/OperationList.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/DetailedItem.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/OperationBlock.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/OperationRow.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/OperationText.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/OperationToken.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/index.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/index.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/ScResultsList.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultData/ResultData.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultData/index.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/ResultHash.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/index.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/ResultReceiver.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/index.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/ResultSender.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/index.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/index.js +1 -1
- package/UI/TransactionInfo/components/ScrDetailItem/ScrDetailItem.js +1 -1
- package/UI/TransactionInfo/components/ScrDetailItem/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/TransactionAction.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/ActionText/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/ActionToken.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionCollection.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionNft.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionToken.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionLogs/TransactionLogs.js +1 -1
- package/UI/TransactionInfo/components/TransactionLogs/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionStatus/TransactionStatus.js +1 -1
- package/UI/TransactionInfo/components/TransactionStatus/index.js +1 -1
- package/UI/TransactionInfo/components/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoAge/TransactionInfoAge.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoAge/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoEgldPrice/TransactionInfoEgldPrice.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoEgldPrice/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/TransactionInfoFee.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/TransactionInfoFrom.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasLimit/TransactionInfoGasLimit.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasLimit/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasPrice/TransactionInfoGasPrice.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasPrice/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/TransactionInfoGasUsed.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/TransactionInfoInputData.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/TransactionInfoMethod.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/TransactionInfoMiniblock.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/TransactionInfoNonce.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/TransactionInfoScResults.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/TransactionInfoStatus.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/TransactionInfoTo.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/TransactionInfoTokenOperations.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/TransactionInfoValue.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/index.js +1 -1
- package/UI/TransactionInfo/index.js +1 -1
- package/UI/TransactionsTable/TransactionsTable.js +1 -1
- package/UI/TransactionsTable/components/AccountName.js +1 -1
- package/UI/TransactionsTable/components/FailedTransactions.js +1 -1
- package/UI/TransactionsTable/components/LockedTokenAddressIcon.js +1 -1
- package/UI/TransactionsTable/components/ScAddressIcon.js +1 -1
- package/UI/TransactionsTable/components/ShardSpan.js +1 -1
- package/UI/TransactionsTable/components/TransactionHash.js +1 -1
- package/UI/TransactionsTable/components/TransactionIcon.js +1 -1
- package/UI/TransactionsTable/components/TransactionMethod.js +1 -1
- package/UI/TransactionsTable/components/TransactionReceiver.js +1 -1
- package/UI/TransactionsTable/components/TransactionRow.js +1 -1
- package/UI/TransactionsTable/components/TransactionSender.js +1 -1
- package/UI/TransactionsTable/components/TransactionShardsTransition.js +1 -1
- package/UI/TransactionsTable/components/TransactionValue/TransactionValue.js +1 -1
- package/UI/TransactionsTable/components/TransactionValue/index.js +1 -1
- package/UI/TransactionsTable/components/index.js +1 -1
- package/UI/TransactionsTable/index.js +1 -1
- package/UI/TransactionsToastList/TransactionsToastList.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/CustomToast.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/CustomComponentToast.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/IconToast.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/IconToastFooter.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/ComponentToastFooter.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/TransactionToastFooter.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/index.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/index.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/index.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/SimpleToast.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/index.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/helpers/getIsTransaction.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/helpers/index.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/helpers/useMemoizedCloseButton.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/index.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/TransactionToast.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/components/DefaultToastDeleteButton.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/components/TransactionToastContent.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/components/index.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/hooks/useTransactionToast.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/index.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/utils/getToastDataStateByStatus.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/utils/index.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToastGuard.js +1 -1
- package/UI/TransactionsToastList/components/index.js +1 -1
- package/UI/TransactionsToastList/index.js +1 -1
- package/UI/Trim/Trim.js +1 -1
- package/UI/Trim/index.js +1 -1
- package/UI/UsdValue/UsdValue.js +1 -1
- package/UI/UsdValue/index.js +1 -1
- package/UI/extension/ExtensionLoginButton/ExtensionLoginButton.js +1 -1
- package/UI/extension/ExtensionLoginButton/index.js +1 -1
- package/UI/iframe/IFrameLoginButton/IFrameLoginButton.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/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-AXT2NJ6M.js → chunk-22NL5KVU.js} +2 -2
- package/__chunks__/{chunk-OKETHBNH.js → chunk-263QEREQ.js} +2 -2
- package/__chunks__/{chunk-T7A252MR.js → chunk-2AQXK6RW.js} +2 -2
- package/__chunks__/{chunk-VEX4PCPV.js → chunk-2CNZYW2L.js} +2 -2
- package/__chunks__/{chunk-2ECHCB27.js → chunk-2JW3VPBD.js} +2 -2
- package/__chunks__/{chunk-NJJHDONL.js → chunk-2OX5HZ3L.js} +2 -2
- package/__chunks__/chunk-2RFBXUEF.js +2 -0
- package/__chunks__/chunk-2RMZEUEW.js +2 -0
- package/__chunks__/{chunk-OBETDLBL.js → chunk-2WY5CRBB.js} +2 -2
- package/__chunks__/chunk-326NYTS7.js +2 -0
- package/__chunks__/{chunk-6VJWZ6XD.js → chunk-34OERG34.js} +2 -2
- package/__chunks__/{chunk-U5L7PDYG.js → chunk-3CCODDPO.js} +2 -2
- package/__chunks__/{chunk-JZ5SJUOB.js → chunk-3DL36PIP.js} +2 -2
- package/__chunks__/{chunk-KPE6QAXM.js → chunk-3EXHRXIB.js} +2 -2
- package/__chunks__/{chunk-GP5MWMBG.js → chunk-3JIG2MPI.js} +2 -2
- package/__chunks__/{chunk-YDQ4A5HV.js → chunk-3JUG45XO.js} +2 -2
- package/__chunks__/{chunk-42LAF2T4.js → chunk-3KOL2IIG.js} +2 -2
- package/__chunks__/{chunk-XURWB6M3.js → chunk-3OC3EIKR.js} +2 -2
- package/__chunks__/{chunk-N3PS4ZYW.js → chunk-3Q6THULX.js} +2 -2
- package/__chunks__/{chunk-MYT6G7XU.js → chunk-3SK7YSMB.js} +2 -2
- package/__chunks__/{chunk-32TPAORL.js → chunk-3WMNO3QV.js} +2 -2
- package/__chunks__/{chunk-X4QCW6SI.js → chunk-3Y5NQN3R.js} +2 -2
- package/__chunks__/chunk-42ZQDQRP.js +2 -0
- package/__chunks__/{chunk-TOPR7NTF.js → chunk-4ANTU7BC.js} +2 -2
- package/__chunks__/chunk-4AX7KFHM.js +2 -0
- package/__chunks__/{chunk-HAY6GH2M.js → chunk-4HGJ73XW.js} +2 -2
- package/__chunks__/{chunk-FT7U46MK.js → chunk-4L6ZGJNC.js} +2 -2
- package/__chunks__/{chunk-CZQN6YVY.js → chunk-4MMHQIOJ.js} +2 -2
- package/__chunks__/{chunk-AGFQOAEX.js → chunk-4P7HQ2MM.js} +2 -2
- package/__chunks__/chunk-4PXN2ILM.js +2 -0
- package/__chunks__/{chunk-U4S27NGT.js → chunk-4QXVWZOL.js} +2 -2
- package/__chunks__/{chunk-WNA4AUNL.js → chunk-4T2PZCU6.js} +2 -2
- package/__chunks__/{chunk-FCZK3OS7.js → chunk-4ZBF2475.js} +2 -2
- package/__chunks__/chunk-4ZUDDQA7.js +2 -0
- package/__chunks__/{chunk-6R5H3KQY.js → chunk-53C6ZZJF.js} +2 -2
- package/__chunks__/{chunk-ZDVO67JF.js → chunk-5525Y2IL.js} +2 -2
- package/__chunks__/{chunk-LPFTTAQZ.js → chunk-5F45Q4LN.js} +2 -2
- package/__chunks__/{chunk-2VMHQZQE.js → chunk-5KI4X7IW.js} +2 -2
- package/__chunks__/{chunk-J7UK3MV5.js → chunk-5M4VB2HL.js} +2 -2
- package/__chunks__/{chunk-YKXAUKTY.js → chunk-5MJBIWDO.js} +2 -2
- package/__chunks__/{chunk-YUC3TNTE.js → chunk-5QLD5RW4.js} +2 -2
- package/__chunks__/chunk-5RQHNQMT.js +2 -0
- package/__chunks__/{chunk-ZMMKZPNL.js → chunk-5UPQ4YDM.js} +2 -2
- package/__chunks__/{chunk-2AYYYWM7.js → chunk-5X7UVMO4.js} +2 -2
- package/__chunks__/{chunk-ZULCOQAM.js → chunk-6225OKQB.js} +2 -2
- package/__chunks__/chunk-62E6F6AS.js +2 -0
- package/__chunks__/{chunk-ECAWVBBK.js → chunk-6CEV6VVD.js} +2 -2
- package/__chunks__/{chunk-XHMRLUWQ.js → chunk-6GTAQOXM.js} +2 -2
- package/__chunks__/chunk-6KUNSZ3H.js +2 -0
- package/__chunks__/{chunk-NOGEBGQ6.js → chunk-6NT2MRKF.js} +2 -2
- package/__chunks__/chunk-6PME7GKG.js +2 -0
- package/__chunks__/{chunk-265FXP7D.js → chunk-6QOGDEAH.js} +2 -2
- package/__chunks__/{chunk-TFV55Y6B.js → chunk-6SLEVFBK.js} +2 -2
- package/__chunks__/{chunk-LKYFPHQ6.js → chunk-6WKEYUX3.js} +2 -2
- package/__chunks__/{chunk-XY3I7TIZ.js → chunk-6XNH3L4Y.js} +2 -2
- package/__chunks__/{chunk-G3QTWPPJ.js → chunk-6YGJKPSC.js} +2 -2
- package/__chunks__/{chunk-7JNTLUHJ.js → chunk-6YW57DZB.js} +2 -2
- package/__chunks__/{chunk-3CX2APRN.js → chunk-6Z3ZDZOE.js} +2 -2
- package/__chunks__/{chunk-Z5FYOQ2R.js → chunk-7365XOMV.js} +2 -2
- package/__chunks__/{chunk-M5R4M7GY.js → chunk-75A73QSF.js} +2 -2
- package/__chunks__/{chunk-G6QUVPUM.js → chunk-773HQK72.js} +2 -2
- package/__chunks__/{chunk-QH2VC252.js → chunk-7C2KN5W5.js} +2 -2
- package/__chunks__/{chunk-QUYH5Z4D.js → chunk-7HQH3HFX.js} +2 -2
- package/__chunks__/{chunk-CWPKLRF5.js → chunk-7MNGGH5B.js} +2 -2
- package/__chunks__/{chunk-EHBBM33V.js → chunk-7NMZI7HV.js} +2 -2
- package/__chunks__/{chunk-EVQ3TOER.js → chunk-7QF7R7OU.js} +2 -2
- package/__chunks__/chunk-7QGWRPSN.js +2 -0
- package/__chunks__/{chunk-UTLM6LOP.js → chunk-7QIIDSAL.js} +2 -2
- package/__chunks__/chunk-7RPJBS3E.js +2 -0
- package/__chunks__/{chunk-TTJL7RV4.js → chunk-A33H37UF.js} +2 -2
- package/__chunks__/{chunk-24DCJJ6Q.js → chunk-A4X23LAP.js} +2 -2
- package/__chunks__/{chunk-FX5R65NP.js → chunk-A5DQT2VK.js} +2 -2
- package/__chunks__/{chunk-YULPNTKJ.js → chunk-A6VF2F65.js} +2 -2
- package/__chunks__/{chunk-2FO6OVMJ.js → chunk-ABYUUP6Z.js} +2 -2
- package/__chunks__/{chunk-YXNQU5R6.js → chunk-ABYWPEBT.js} +2 -2
- package/__chunks__/chunk-AEOLMPGD.js +2 -0
- package/__chunks__/{chunk-JBMDQJWO.js → chunk-AG4WVAZZ.js} +2 -2
- package/__chunks__/chunk-AGZYPUV7.js +2 -0
- package/__chunks__/{chunk-CCQTCGL7.js → chunk-ALMFTPLP.js} +2 -2
- package/__chunks__/{chunk-IZKTM53G.js → chunk-ANMY5WKZ.js} +2 -2
- package/__chunks__/{chunk-XOV2JI7Y.js → chunk-AVO3NCQ7.js} +2 -2
- package/__chunks__/{chunk-GZ445QFY.js → chunk-AWG7IVSG.js} +2 -2
- package/__chunks__/chunk-B3BJNWSH.js +2 -0
- package/__chunks__/{chunk-VQNBNBQC.js → chunk-B5HXAMYZ.js} +2 -2
- package/__chunks__/{chunk-H73QTD7L.js → chunk-BAULOA25.js} +2 -2
- package/__chunks__/chunk-BC7OAC42.js +2 -0
- package/__chunks__/{chunk-CS7AC2GX.js → chunk-BCII6JBU.js} +2 -2
- package/__chunks__/{chunk-D5CCN3U3.js → chunk-BDEUDYJN.js} +2 -2
- package/__chunks__/{chunk-JBWNNWB3.js → chunk-BH4SLVQB.js} +2 -2
- package/__chunks__/{chunk-JGEIY6QR.js → chunk-BHGZQF7I.js} +2 -2
- package/__chunks__/{chunk-BRCYT2LL.js → chunk-BHZD73AO.js} +2 -2
- package/__chunks__/chunk-BIHYEUP2.js +2 -0
- package/__chunks__/chunk-BIT2KX3T.js +2 -0
- package/__chunks__/{chunk-FMYJXYUY.js → chunk-BLZTJLDV.js} +2 -2
- package/__chunks__/{chunk-VWMUHBWI.js → chunk-BNC6AALE.js} +2 -2
- package/__chunks__/{chunk-OPT53KU2.js → chunk-BPDTN6ZF.js} +2 -2
- package/__chunks__/{chunk-MMSXJJU4.js → chunk-BPKAPSLS.js} +2 -2
- package/__chunks__/{chunk-IVOW2G6O.js → chunk-BS34YNYJ.js} +2 -2
- package/__chunks__/{chunk-R6HZGF2V.js → chunk-BWS76JLB.js} +2 -2
- package/__chunks__/{chunk-VPGHPBKS.js → chunk-C6NWNWUO.js} +2 -2
- package/__chunks__/{chunk-NY6IER44.js → chunk-C6TDNX2X.js} +2 -2
- package/__chunks__/{chunk-U4AK27WF.js → chunk-CEWXKY6D.js} +2 -2
- package/__chunks__/{chunk-MCMRNN6D.js → chunk-CIL5J5HY.js} +2 -2
- package/__chunks__/chunk-CJIH7PBV.js +2 -0
- package/__chunks__/{chunk-4JR5PHON.js → chunk-CNIUXAUQ.js} +2 -2
- package/__chunks__/{chunk-DJTOARV4.js → chunk-CO6PPSNX.js} +2 -2
- package/__chunks__/{chunk-T3D7W54K.js → chunk-CQ6RXURT.js} +2 -2
- package/__chunks__/{chunk-R3DRJPJK.js → chunk-CTNPRHWC.js} +2 -2
- package/__chunks__/{chunk-REFLHE3K.js → chunk-CVWMF2KK.js} +2 -2
- package/__chunks__/chunk-DBHFP7IG.js +2 -0
- package/__chunks__/{chunk-CBSN52CJ.js → chunk-DE7YT6KJ.js} +2 -2
- package/__chunks__/{chunk-P3KRNDFF.js → chunk-DF2KA2ET.js} +2 -2
- package/__chunks__/{chunk-BAIZQH6N.js → chunk-DG5SZY2S.js} +2 -2
- package/__chunks__/{chunk-ACS4ZQ2O.js → chunk-DMLTICCL.js} +2 -2
- package/__chunks__/chunk-DNOIUYEE.js +2 -0
- package/__chunks__/{chunk-HHADFPSM.js → chunk-DNRVQEZY.js} +2 -2
- package/__chunks__/chunk-DQ23TKBG.js +2 -0
- package/__chunks__/{chunk-OF2TURKY.js → chunk-DQYHGKTH.js} +2 -2
- package/__chunks__/{chunk-WBWWLVNL.js → chunk-DSXC6BEX.js} +2 -2
- package/__chunks__/{chunk-DON4TKGL.js → chunk-DYCJPB34.js} +2 -2
- package/__chunks__/{chunk-PHAX7MV7.js → chunk-E3IOODCV.js} +2 -2
- package/__chunks__/{chunk-Y2BUOYGM.js → chunk-E5O2J726.js} +2 -2
- package/__chunks__/chunk-EAACBYLO.js +2 -0
- package/__chunks__/{chunk-C5RUR77K.js → chunk-EF5M7T5X.js} +2 -2
- package/__chunks__/{chunk-BPRQ5VAO.js → chunk-EGEARFJK.js} +2 -2
- package/__chunks__/{chunk-SMGKY3YH.js → chunk-EH6QQ7IH.js} +2 -2
- package/__chunks__/{chunk-MQL663WK.js → chunk-EJBO7WYV.js} +2 -2
- package/__chunks__/{chunk-TBUI6FX5.js → chunk-ELNBOUQO.js} +2 -2
- package/__chunks__/{chunk-BIVRUZ74.js → chunk-EQT7KZKR.js} +2 -2
- package/__chunks__/{chunk-32DYL57R.js → chunk-ER5WV2BS.js} +2 -2
- package/__chunks__/{chunk-ULZVV32S.js → chunk-EXOJ47S6.js} +2 -2
- package/__chunks__/{chunk-KKC3IDKV.js → chunk-EZVYWWKB.js} +2 -2
- package/__chunks__/{chunk-6UAYWDIJ.js → chunk-F4QL3GHT.js} +2 -2
- package/__chunks__/chunk-F7LJVKFQ.js +2 -0
- package/__chunks__/{chunk-7VDD2Y34.js → chunk-FA5JD2Q7.js} +2 -2
- package/__chunks__/chunk-FBC5OJ4S.js +2 -0
- package/__chunks__/chunk-FBRE6DKI.js +2 -0
- package/__chunks__/{chunk-6JUFMGDG.js → chunk-FBZUZ2LR.js} +2 -2
- package/__chunks__/chunk-FGYKN2JQ.js +2 -0
- package/__chunks__/{chunk-KYWEFQT3.js → chunk-FII3XBZ5.js} +2 -2
- package/__chunks__/{chunk-LDPTFZ3Q.js → chunk-FJVR34XY.js} +2 -2
- package/__chunks__/{chunk-UAG6FVFR.js → chunk-FVBFDJAD.js} +2 -2
- package/__chunks__/chunk-FZ73NGHD.js +2 -0
- package/__chunks__/{chunk-5ZXZT374.js → chunk-FZDD33ND.js} +2 -2
- package/__chunks__/{chunk-MZZCQLVP.js → chunk-GCUPOEIO.js} +2 -2
- package/__chunks__/{chunk-JDD2CEXG.js → chunk-GD7RLXNS.js} +2 -2
- package/__chunks__/{chunk-OQH542VG.js → chunk-GDW2MRUG.js} +2 -2
- package/__chunks__/{chunk-KJSHELVB.js → chunk-GDW6XQMO.js} +2 -2
- package/__chunks__/{chunk-PCPSQGQX.js → chunk-GEOETS27.js} +2 -2
- package/__chunks__/{chunk-55TC4Q7L.js → chunk-GGJRL4PN.js} +2 -2
- package/__chunks__/chunk-GLYHFV65.js +2 -0
- package/__chunks__/{chunk-6HW4S5UJ.js → chunk-H5DUDKSL.js} +2 -2
- package/__chunks__/{chunk-2BZFYAGQ.js → chunk-H6K2CJA6.js} +2 -2
- package/__chunks__/{chunk-XMKYUF4L.js → chunk-H7ZYBTPN.js} +2 -2
- package/__chunks__/chunk-HAFA7IOV.js +2 -0
- package/__chunks__/{chunk-7S6Z4XAZ.js → chunk-HCEHLYZQ.js} +2 -2
- package/__chunks__/{chunk-FUUPMXM2.js → chunk-HDM5CY5R.js} +2 -2
- package/__chunks__/{chunk-EBDKYFBR.js → chunk-HDP4AVHO.js} +2 -2
- package/__chunks__/{chunk-RK3CQOUD.js → chunk-HFGOYQBH.js} +2 -2
- package/__chunks__/{chunk-RFVM33IM.js → chunk-HHRDVYGM.js} +2 -2
- package/__chunks__/{chunk-34CBCJXY.js → chunk-HI3UJZQ7.js} +2 -2
- package/__chunks__/{chunk-J43BFCEQ.js → chunk-HLA2S32U.js} +2 -2
- package/__chunks__/chunk-HLXWVJCV.js +2 -0
- package/__chunks__/{chunk-XWEM4CPS.js → chunk-HWYLU6JG.js} +2 -2
- package/__chunks__/{chunk-AFOD6OK5.js → chunk-HZF3LAGQ.js} +2 -2
- package/__chunks__/chunk-HZLDEQOQ.js +2 -0
- package/__chunks__/{chunk-3X3NEJ4I.js → chunk-I24BOTRA.js} +2 -2
- package/__chunks__/{chunk-ZFP4LZ2H.js → chunk-I2NDPUAL.js} +2 -2
- package/__chunks__/{chunk-LB4R737M.js → chunk-IE3WTYIK.js} +2 -2
- package/__chunks__/{chunk-YEHOFAFU.js → chunk-IFAMO55J.js} +2 -2
- package/__chunks__/{chunk-5NO7EN2P.js → chunk-IGDRNKJB.js} +2 -2
- package/__chunks__/chunk-IO6QBGZC.js +2 -0
- package/__chunks__/{chunk-E5RGGJYG.js → chunk-IS2LSV7C.js} +2 -2
- package/__chunks__/{chunk-KSOJH4Y7.js → chunk-IVRVWEY3.js} +2 -2
- package/__chunks__/{chunk-6KJT6OIA.js → chunk-IWCALUSV.js} +2 -2
- package/__chunks__/{chunk-MGERGAS6.js → chunk-IWM4O3GF.js} +2 -2
- package/__chunks__/{chunk-MO4GHVXO.js → chunk-J3BX4S7G.js} +2 -2
- package/__chunks__/{chunk-NDCXAEA7.js → chunk-J3YXJOAZ.js} +2 -2
- package/__chunks__/{chunk-NDMJ35QO.js → chunk-J6PN25SQ.js} +2 -2
- package/__chunks__/{chunk-GFDS5AUZ.js → chunk-J7OUVGGQ.js} +2 -2
- package/__chunks__/{chunk-S7VUMPN6.js → chunk-J7UPCCQP.js} +2 -2
- package/__chunks__/{chunk-SF2P3GKY.js → chunk-JC6ZWGJK.js} +2 -2
- package/__chunks__/chunk-JDIVNWAP.js +2 -0
- package/__chunks__/{chunk-KK2DW4CI.js → chunk-JHWS62OJ.js} +2 -2
- package/__chunks__/chunk-JI3JKS2X.js +2 -0
- package/__chunks__/{chunk-35BLKHOL.js → chunk-JLFIEUD2.js} +2 -2
- package/__chunks__/{chunk-4B2I5JTE.js → chunk-JM5LD73F.js} +2 -2
- package/__chunks__/{chunk-B3FQHLLP.js → chunk-JSMCUOEY.js} +2 -2
- package/__chunks__/{chunk-Y4AKLABT.js → chunk-JSVQI66Q.js} +2 -2
- package/__chunks__/{chunk-PO4YPZL4.js → chunk-K4HNOQSS.js} +2 -2
- package/__chunks__/{chunk-GHECG7OC.js → chunk-K5NHBAED.js} +2 -2
- package/__chunks__/{chunk-4PKC4T3J.js → chunk-KAWW7TRG.js} +2 -2
- package/__chunks__/{chunk-T366I6EZ.js → chunk-KBNAXLHN.js} +2 -2
- package/__chunks__/{chunk-LKNBKF5D.js → chunk-KFY4Z4P5.js} +2 -2
- package/__chunks__/{chunk-RCRUQ2QU.js → chunk-KG7DIVST.js} +2 -2
- package/__chunks__/{chunk-FTOFVPSI.js → chunk-KGBX3WAH.js} +2 -2
- package/__chunks__/{chunk-HVWPPTUV.js → chunk-KGCJPGGQ.js} +2 -2
- package/__chunks__/{chunk-GQIWCB4G.js → chunk-KHQ2B6CP.js} +2 -2
- package/__chunks__/{chunk-H2W4TKGM.js → chunk-KKYAAXWO.js} +2 -2
- package/__chunks__/{chunk-A7ZEXBKQ.js → chunk-KL2HRXBW.js} +2 -2
- package/__chunks__/{chunk-M43QNJKO.js → chunk-KMFJTUQ6.js} +2 -2
- package/__chunks__/{chunk-5VGU3BID.js → chunk-KTJQPR5D.js} +2 -2
- package/__chunks__/{chunk-HITG5WTY.js → chunk-KWHBQRR2.js} +2 -2
- package/__chunks__/{chunk-OYTVJPO3.js → chunk-L6PHU5O3.js} +2 -2
- package/__chunks__/{chunk-2XRNT2BH.js → chunk-LA2WC46B.js} +2 -2
- package/__chunks__/{chunk-CLFGDG6X.js → chunk-LHHPCAUQ.js} +2 -2
- package/__chunks__/{chunk-BDTVLUO2.js → chunk-LL2DFFVM.js} +2 -2
- package/__chunks__/{chunk-47CDUE6Y.js → chunk-LMO5FEAS.js} +2 -2
- package/__chunks__/chunk-LUL6X7VQ.js +2 -0
- package/__chunks__/{chunk-THEZHELL.js → chunk-LV67XAQF.js} +2 -2
- package/__chunks__/{chunk-7PK7PR2C.js → chunk-LV6UWNXY.js} +2 -2
- package/__chunks__/{chunk-2NFT7DWU.js → chunk-LZNQJP6X.js} +2 -2
- package/__chunks__/chunk-M2IECNFK.js +2 -0
- package/__chunks__/chunk-M5ADAFIL.js +2 -0
- package/__chunks__/{chunk-4MXAS6WK.js → chunk-MAAHFWM3.js} +2 -2
- package/__chunks__/{chunk-6OW6O67Q.js → chunk-MHMWPLDM.js} +2 -2
- package/__chunks__/{chunk-WFTSWXJI.js → chunk-MLM5H5IV.js} +2 -2
- package/__chunks__/{chunk-2BSZIAY6.js → chunk-MLP3MMHB.js} +2 -2
- package/__chunks__/{chunk-MNIGISRP.js → chunk-MUSYOCLE.js} +2 -2
- package/__chunks__/{chunk-W3F2QHJ3.js → chunk-MUVAFQMB.js} +2 -2
- package/__chunks__/{chunk-B3PE5S4V.js → chunk-MYU2TMCS.js} +2 -2
- package/__chunks__/{chunk-MZPPK6LW.js → chunk-NADPYO2U.js} +2 -2
- package/__chunks__/{chunk-VRGFHMYD.js → chunk-NBZQ6LW2.js} +2 -2
- package/__chunks__/{chunk-E3QVPAME.js → chunk-NC5R2VQI.js} +2 -2
- package/__chunks__/{chunk-I5JYVRJC.js → chunk-NE6Z3Z5I.js} +2 -2
- package/__chunks__/{chunk-7NUA6WDU.js → chunk-NJE4KH6K.js} +2 -2
- package/__chunks__/{chunk-V7XUGXKZ.js → chunk-NMKMNZUL.js} +2 -2
- package/__chunks__/chunk-NSXJBAFM.js +2 -0
- package/__chunks__/chunk-NT24CQ75.js +2 -0
- package/__chunks__/{chunk-FTELAZT2.js → chunk-NV5DEA6H.js} +2 -2
- package/__chunks__/chunk-NWHMOVZR.js +2 -0
- package/__chunks__/{chunk-PTXJSLGZ.js → chunk-NZDQOH3O.js} +2 -2
- package/__chunks__/{chunk-C6ISHLDB.js → chunk-O3L47SZJ.js} +2 -2
- package/__chunks__/{chunk-45N4W57V.js → chunk-O6UTV357.js} +2 -2
- package/__chunks__/chunk-O755JQ2C.js +2 -0
- package/__chunks__/{chunk-WFPZ7PD4.js → chunk-O7ZSPIKC.js} +2 -2
- package/__chunks__/chunk-ODFYLTIX.js +2 -0
- package/__chunks__/chunk-OHAS2JVU.js +2 -0
- package/__chunks__/{chunk-NVXN73KW.js → chunk-OMP3CULX.js} +2 -2
- package/__chunks__/{chunk-HHU3MCPI.js → chunk-OMS7WFXI.js} +2 -2
- package/__chunks__/{chunk-VOPKSGGR.js → chunk-OOOXQVB3.js} +2 -2
- package/__chunks__/{chunk-25LMXUXS.js → chunk-OULNDE72.js} +2 -2
- package/__chunks__/{chunk-JMAY6EDP.js → chunk-OWNLH2L3.js} +2 -2
- package/__chunks__/{chunk-P6MER6WJ.js → chunk-P4OACCZ2.js} +2 -2
- package/__chunks__/{chunk-J3OXMEBR.js → chunk-P63DU7CJ.js} +2 -2
- package/__chunks__/{chunk-XO76EVDN.js → chunk-PB6GIEUV.js} +2 -2
- package/__chunks__/chunk-PGST3AJD.js +2 -0
- package/__chunks__/{chunk-5TGWYFXL.js → chunk-PHTOBMYZ.js} +2 -2
- package/__chunks__/{chunk-QXI3FOJ3.js → chunk-PKF4YG47.js} +2 -2
- package/__chunks__/{chunk-H554FL3P.js → chunk-PRWMQVGB.js} +2 -2
- package/__chunks__/{chunk-XPQ2JDTA.js → chunk-PYXXVEHK.js} +2 -2
- package/__chunks__/{chunk-6CWB4N22.js → chunk-Q27OF5NJ.js} +2 -2
- package/__chunks__/{chunk-7OUOFEP7.js → chunk-Q5PQNY6I.js} +2 -2
- package/__chunks__/{chunk-AXYOTXTB.js → chunk-Q6M6TLC4.js} +2 -2
- package/__chunks__/{chunk-PCEQPMCW.js → chunk-QDXTRY6V.js} +2 -2
- package/__chunks__/{chunk-TESWZDVO.js → chunk-QFXI2FEW.js} +2 -2
- package/__chunks__/{chunk-R5WTDDW4.js → chunk-QFYSEJLR.js} +2 -2
- package/__chunks__/{chunk-CHSTNX5V.js → chunk-QGWHDHAY.js} +2 -2
- package/__chunks__/chunk-QSYQ7OPK.js +2 -0
- package/__chunks__/{chunk-L3DRRNVY.js → chunk-QVPUDPS2.js} +2 -2
- package/__chunks__/{chunk-N4XG5O5Q.js → chunk-QWFSNVU2.js} +2 -2
- package/__chunks__/{chunk-25224BYA.js → chunk-QYWYIZ6J.js} +1 -1
- package/__chunks__/{chunk-CWWYFBDN.js → chunk-RATNXNI5.js} +2 -2
- package/__chunks__/{chunk-5B7COVPQ.js → chunk-RDXITJX4.js} +2 -2
- package/__chunks__/{chunk-NTRWO4ZZ.js → chunk-REHHHVIW.js} +2 -2
- package/__chunks__/{chunk-PWDWH2HO.js → chunk-RJJPSWQ4.js} +2 -2
- package/__chunks__/{chunk-XHGLFQMK.js → chunk-RMIP35GK.js} +2 -2
- package/__chunks__/chunk-RRJNG4DW.js +2 -0
- package/__chunks__/{chunk-EKBFVOH2.js → chunk-RUIB4DCQ.js} +2 -2
- package/__chunks__/{chunk-25WD44IY.js → chunk-RX4ASQO3.js} +2 -2
- package/__chunks__/{chunk-N2GSK6CG.js → chunk-RX7W3RZF.js} +2 -2
- package/__chunks__/chunk-S6M2NPJ3.js +2 -0
- package/__chunks__/{chunk-RMLMANBO.js → chunk-SHH4WAFT.js} +2 -2
- package/__chunks__/{chunk-D3ZWRGJ5.js → chunk-SHQA43ST.js} +2 -2
- package/__chunks__/{chunk-V4EPMQXC.js → chunk-SI2HYIUQ.js} +2 -2
- package/__chunks__/{chunk-HDPAE5QJ.js → chunk-SQDSPOKP.js} +2 -2
- package/__chunks__/{chunk-CVPV6URM.js → chunk-SS6Z44Q5.js} +2 -2
- package/__chunks__/chunk-SSFXKM7O.js +2 -0
- package/__chunks__/{chunk-FFL2VYJQ.js → chunk-SYSIYGJW.js} +2 -2
- package/__chunks__/{chunk-E2RMQWGG.js → chunk-T5KD7KMU.js} +2 -2
- package/__chunks__/chunk-T63XMEJP.js +2 -0
- package/__chunks__/chunk-THU73BSX.js +2 -0
- package/__chunks__/{chunk-PRQXTXJ7.js → chunk-TI73OMS7.js} +2 -2
- package/__chunks__/{chunk-3BGB4UFD.js → chunk-TKRVCGIV.js} +2 -2
- package/__chunks__/chunk-TRZKVX3B.js +2 -0
- package/__chunks__/chunk-TUVOQCOS.js +2 -0
- package/__chunks__/{chunk-NEK6AS2M.js → chunk-TV7FO7UX.js} +2 -2
- package/__chunks__/{chunk-L46WJQL6.js → chunk-TWMZFPZL.js} +2 -2
- package/__chunks__/{chunk-XJKNGYY6.js → chunk-TYH24JTR.js} +2 -2
- package/__chunks__/{chunk-E2QYOZTD.js → chunk-TZJBUFKB.js} +2 -2
- package/__chunks__/{chunk-WW7P3VC4.js → chunk-TZOGN2SQ.js} +2 -2
- package/__chunks__/{chunk-CJDSZZZW.js → chunk-U23UOGEF.js} +2 -2
- package/__chunks__/{chunk-MBO2452D.js → chunk-U43XJEFO.js} +2 -2
- package/__chunks__/{chunk-S4VAA3K6.js → chunk-U4MHHFTC.js} +2 -2
- package/__chunks__/{chunk-5P3RTEFT.js → chunk-UCTZLH5U.js} +2 -2
- package/__chunks__/{chunk-NBAYQG5H.js → chunk-UEJAA3YB.js} +2 -2
- package/__chunks__/{chunk-BYNDMMFE.js → chunk-UEK73MZ7.js} +2 -2
- package/__chunks__/{chunk-UB2WM7HO.js → chunk-UFGTKOVO.js} +2 -2
- package/__chunks__/chunk-UGJZOET7.js +2 -0
- package/__chunks__/{chunk-7QWV2XMI.js → chunk-UK5HNYKN.js} +2 -2
- package/__chunks__/chunk-UOP4UWP5.js +2 -0
- package/__chunks__/chunk-UP2LLWD7.js +2 -0
- package/__chunks__/{chunk-5NXEREAL.js → chunk-UTAMUPGQ.js} +2 -2
- package/__chunks__/{chunk-N4KCMGOW.js → chunk-UTXIKAHE.js} +2 -2
- package/__chunks__/{chunk-D3PWFDCF.js → chunk-UW2KJATA.js} +2 -2
- package/__chunks__/chunk-UY3NSULC.js +2 -0
- package/__chunks__/{chunk-36OAPZC2.js → chunk-V5PHYVQ2.js} +2 -2
- package/__chunks__/{chunk-YPTPL552.js → chunk-V6RAHCWS.js} +2 -2
- package/__chunks__/{chunk-XWNDHDX4.js → chunk-VEIIUDNH.js} +2 -2
- package/__chunks__/{chunk-FS4SIK7V.js → chunk-VFVNMA34.js} +2 -2
- package/__chunks__/{chunk-ACQWHZKS.js → chunk-VQ2Z72MK.js} +2 -2
- package/__chunks__/{chunk-5RSA4N2E.js → chunk-VUVDDHOP.js} +2 -2
- package/__chunks__/{chunk-MZ55YJAE.js → chunk-VYBL4INT.js} +2 -2
- package/__chunks__/{chunk-FN3VUN4R.js → chunk-W7BUK3NS.js} +2 -2
- package/__chunks__/chunk-W7SNPBWC.js +2 -0
- package/__chunks__/{chunk-7565LO2R.js → chunk-WD6IKSDA.js} +2 -2
- package/__chunks__/chunk-WGEIO5X5.js +2 -0
- package/__chunks__/{chunk-26PIKYNK.js → chunk-WHGLHDGO.js} +2 -2
- package/__chunks__/chunk-WIJTV27R.js +2 -0
- package/__chunks__/{chunk-OXGK3MCE.js → chunk-WMSR43W3.js} +2 -2
- package/__chunks__/{chunk-SWDA7BXJ.js → chunk-WONQPXTH.js} +2 -2
- package/__chunks__/chunk-WSNQ46QW.js +2 -0
- package/__chunks__/{chunk-7IEXZO37.js → chunk-WUQXMLZX.js} +2 -2
- package/__chunks__/{chunk-OSUM2E2Z.js → chunk-X4M6GZI7.js} +2 -2
- package/__chunks__/{chunk-5DPFBOCN.js → chunk-X57I2LYP.js} +2 -2
- package/__chunks__/{chunk-Z3DC4QWG.js → chunk-X76LCIJV.js} +2 -2
- package/__chunks__/{chunk-X2BPFV4M.js → chunk-XEDIB622.js} +2 -2
- package/__chunks__/chunk-XLP2Z2JW.js +2 -0
- package/__chunks__/chunk-XLX7KQKE.js +2 -0
- package/__chunks__/{chunk-G62LHBJL.js → chunk-XOV6EUZ4.js} +2 -2
- package/__chunks__/{chunk-L5PEKVBN.js → chunk-XRA32HHJ.js} +2 -2
- package/__chunks__/{chunk-7X5Q43ZB.js → chunk-XUMGQWAR.js} +2 -2
- package/__chunks__/chunk-XUQPCYXU.js +2 -0
- package/__chunks__/{chunk-5AWNQ57V.js → chunk-Y3X56YEG.js} +2 -2
- package/__chunks__/{chunk-WC7GDILD.js → chunk-Y4I4NEQE.js} +2 -2
- package/__chunks__/{chunk-D6WQMOLN.js → chunk-Y6UL7MGM.js} +2 -2
- package/__chunks__/{chunk-IRI7V62E.js → chunk-Y7OKYENZ.js} +2 -2
- package/__chunks__/{chunk-T6EOAWGG.js → chunk-YFCVCWQO.js} +2 -2
- package/__chunks__/{chunk-I3AIXHPJ.js → chunk-YG3WSXJN.js} +2 -2
- package/__chunks__/{chunk-KYII5HN2.js → chunk-YHSDJ5V7.js} +2 -2
- package/__chunks__/{chunk-CUMZS4TT.js → chunk-YL46XNUZ.js} +2 -2
- package/__chunks__/{chunk-ATMAQCWS.js → chunk-YOIARGLW.js} +2 -2
- package/__chunks__/chunk-YPLX5JAZ.js +2 -0
- package/__chunks__/{chunk-O3AUC2EL.js → chunk-YSQ5SVDE.js} +2 -2
- package/__chunks__/{chunk-SQWYTULI.js → chunk-YWU4TLKM.js} +2 -2
- package/__chunks__/{chunk-67CUPMIH.js → chunk-YZO74UN3.js} +2 -2
- package/__chunks__/chunk-YZTHOTO6.js +2 -0
- package/__chunks__/{chunk-OIJAJXR6.js → chunk-Z2I3DGL2.js} +2 -2
- package/__chunks__/{chunk-ED6CHDA6.js → chunk-Z4POFG7D.js} +2 -2
- package/__chunks__/{chunk-M7LTJZ4W.js → chunk-Z6BL5NID.js} +2 -2
- package/__chunks__/chunk-Z6O7MCB6.js +2 -0
- package/__chunks__/{chunk-EMZ3BCFI.js → chunk-Z75D4LKQ.js} +2 -2
- package/__chunks__/{chunk-ESLG35LF.js → chunk-Z7IH662I.js} +2 -2
- package/__chunks__/{chunk-UH5C2R46.js → chunk-ZB5L2AWQ.js} +2 -2
- package/__chunks__/{chunk-RWBQT444.js → chunk-ZEVIVJDC.js} +2 -2
- package/__chunks__/chunk-ZKVHGICZ.js +2 -0
- package/__chunks__/{chunk-T6MOEN4K.js → chunk-ZLL3JFMR.js} +2 -2
- package/__chunks__/{chunk-FLEWPR7S.js → chunk-ZMTTP7AM.js} +2 -2
- package/__chunks__/chunk-ZNXDRWE6.js +2 -0
- package/__chunks__/chunk-ZR5RV5V7.js +2 -0
- package/__chunks__/{chunk-UEVKCJI7.js → chunk-ZSDZL5TO.js} +2 -2
- package/__chunks__/{chunk-AO7XJJ4T.js → chunk-ZTJGIKMJ.js} +2 -2
- package/__chunks__/{chunk-UAHN74YA.js → chunk-ZTO3IFCZ.js} +2 -2
- package/__chunks__/{chunk-6FHLIUDC.js → chunk-ZUYSENTZ.js} +2 -2
- package/__chunks__/{chunk-ID5PBWOV.js → chunk-ZXRA4FPU.js} +2 -2
- package/__chunks__/{chunk-MVK7OVB5.js → chunk-ZXZSKUYG.js} +2 -2
- package/__chunks__/{chunk-CS73QV34.js → chunk-ZYP6MLKS.js} +2 -2
- package/__chunks__/{chunk-CJS5LCZT.js → chunk-ZZXWU46M.js} +2 -2
- package/__commonjs/UI/SignTransactionsModals/SignTransactionsModals.js +23 -23
- package/__commonjs/UI/SignTransactionsModals/SignWithCrossWindowWalletModal/SignWithCrossWindowWalletModal.js +3 -3
- package/__commonjs/UI/SignTransactionsModals/SignWithCrossWindowWalletModal/index.js +3 -3
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +6 -6
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignWithDeviceModal.js +3 -3
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/index.js +3 -3
- package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/SignWithExtraModal.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithIFrameModal/SignWithIFrameModal.js +3 -3
- package/__commonjs/UI/SignTransactionsModals/SignWithIFrameModal/index.js +3 -3
- package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/SignWithLedgerModal.js +2 -2
- package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/index.js +2 -2
- package/__commonjs/UI/SignTransactionsModals/components/ConfirmationScreen.js +2 -2
- package/__commonjs/UI/SignTransactionsModals/components/DeviceConfirmationScreen.js +3 -3
- package/__commonjs/UI/SignTransactionsModals/components/index.js +2 -2
- package/__commonjs/UI/SignTransactionsModals/index.js +23 -23
- package/__commonjs/UI/TransactionInfo/components/AddressDetailItem/AddressDetailitem.js +3 -3
- package/__commonjs/UI/TransactionInfo/components/AddressDetailItem/index.js +3 -3
- package/__commonjs/UI/TransactionInfo/components/NonceMessage/NonceMessage.js +3 -3
- package/__commonjs/UI/TransactionInfo/components/NonceMessage/index.js +3 -3
- package/__commonjs/UI/TransactionInfo/components/OperationsList/components/OperationRow.js +11 -11
- package/__commonjs/UI/TransactionInfo/components/OperationsList/components/index.js +11 -11
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/TransactionInfoNonce.js +3 -3
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/index.js +3 -3
- package/__commonjs/UI/TransactionsTable/components/AccountName.js +3 -3
- package/__commonjs/UI/TransactionsTable/components/TransactionHash.js +15 -15
- package/__commonjs/UI/TransactionsTable/components/TransactionMethod.js +2 -2
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/TransactionToastFooter.js +6 -6
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/index.js +7 -7
- package/__commonjs/UI/index.js +79 -79
- package/__commonjs/UI/ledger/LedgerLoginButton/LedgerLoginButton.js +10 -10
- package/__commonjs/UI/ledger/LedgerLoginButton/index.js +10 -10
- package/__commonjs/UI/ledger/index.js +8 -8
- package/__commonjs/UI/walletConnect/WalletConnectConnectionStatus/WalletConnectConnectionStatus.js +2 -2
- package/__commonjs/UI/walletConnect/WalletConnectConnectionStatus/index.js +2 -2
- package/__commonjs/UI/walletConnect/WalletConnectLoginButton/WalletConnectLoginButton.js +3 -3
- package/__commonjs/UI/walletConnect/WalletConnectLoginButton/index.js +3 -3
- package/__commonjs/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContent/WalletConnectLoginContent.js +5 -5
- package/__commonjs/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContent/index.js +5 -5
- package/__commonjs/UI/walletConnect/index.js +3 -3
- package/__commonjs/UI/webWallet/XaliasCrossWindowLoginButton/XaliasCrossWindowLoginButton.js +2 -2
- package/__commonjs/UI/webWallet/XaliasCrossWindowLoginButton/index.js +2 -2
- package/__commonjs/__mocks__/index.js +2 -2
- package/__commonjs/__mocks__/utils/index.js +1 -1
- package/__commonjs/__mocks__/utils/renderWithProvider.js +1 -1
- package/__commonjs/apiCalls/configuration/getServerConfigurationForEnvironment.js +1 -1
- package/__commonjs/components/LogoutListener/helpers/useNativeAuthLogout.js +3 -3
- package/__commonjs/components/ProviderInitializer/ProviderInitializer.js +1 -1
- package/__commonjs/components/ProviderInitializer/index.js +1 -1
- package/__commonjs/hooks/index.js +3 -3
- package/__commonjs/hooks/login/useWalletConnectV2Login.js +1 -1
- package/__commonjs/hooks/login/useWebWalletLogin.js +1 -1
- package/__commonjs/hooks/transactions/batch/useGetBatches.js +1 -1
- package/__commonjs/hooks/transactions/helpers/checkNeedsGuardianSigning.js +1 -1
- package/__commonjs/hooks/transactions/helpers/index.js +1 -1
- package/__commonjs/hooks/transactions/helpers/useClearTransactionsToSignWithWarning.js +1 -1
- package/__commonjs/hooks/transactions/index.js +1 -1
- package/__commonjs/hooks/transactions/useSignMultipleTransactions.js +1 -1
- package/__commonjs/hooks/transactions/useSignTransactions.js +1 -1
- package/__commonjs/hooks/transactions/useSignTransactionsCommonData.js +1 -1
- package/__commonjs/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
- package/__commonjs/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
- package/__commonjs/providers/experimentalWebViewProvider/ExperimentalWebviewProvider.js +1 -1
- package/__commonjs/providers/experimentalWebViewProvider/index.js +1 -1
- package/__commonjs/types/transactions.types.d.ts +4 -0
- package/__commonjs/types/transactions.types.js +1 -1
- package/__commonjs/utils/account/getIsProviderEqualTo.js +1 -1
- package/__commonjs/utils/index.js +1 -1
- package/__commonjs/utils/transactions/builtCallbackUrl.js +1 -1
- package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/getTransactionValue.js +1 -1
- package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/index.js +1 -1
- package/__commonjs/utils/transactions/index.js +1 -1
- package/__commonjs/utils/transactions/parseMultiEsdtTransferData.js +1 -1
- package/__commonjs/utils/transactions/parseMultiEsdtTransferDataForMultipleTransactions.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/decodeForDisplay.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getDisplayValueAndValidationWarnings.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getSmartDecodedParts.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/index.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/index.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/getTransactionActionNftText.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/index.js +2 -2
- package/__commonjs/utils/transactions/transactionInfoHelpers/useDataDecode.js +2 -2
- package/__commonjs/wrappers/DappProvider/DappProvider.js +1 -1
- package/__commonjs/wrappers/DappProvider/index.js +1 -1
- package/__commonjs/wrappers/index.js +3 -3
- package/__mocks__/accountConfig.js +1 -1
- package/__mocks__/index.js +1 -1
- package/__mocks__/server.js +1 -1
- package/__mocks__/utils/index.js +1 -1
- package/__mocks__/utils/renderWithProvider.js +1 -1
- package/apiCalls/accounts/getAccountFromApi.js +1 -1
- package/apiCalls/accounts/index.js +1 -1
- package/apiCalls/accounts/useGetAccountFromApi.js +1 -1
- package/apiCalls/configuration/getApiAddressForChainId.js +1 -1
- package/apiCalls/configuration/getEnvironmentForChainId.js +1 -1
- package/apiCalls/configuration/getNetworkConfig.js +1 -1
- package/apiCalls/configuration/getServerConfigurationForEnvironment.js +1 -1
- package/apiCalls/configuration/index.js +1 -1
- package/apiCalls/configuration/useGetNetworkConfigFromApi.js +1 -1
- package/apiCalls/configuration/useGetServerConfigurationFromApi.js +1 -1
- package/apiCalls/economics/getEconomicsInfo.js +1 -1
- package/apiCalls/economics/index.js +1 -1
- package/apiCalls/economics/useGetEconomicsInfoFromApi.js +1 -1
- package/apiCalls/index.js +1 -1
- package/apiCalls/transactions/getTransactionsByHashes.js +1 -1
- package/apiCalls/transactions/index.js +1 -1
- package/apiCalls/transactions/sendSignedBatchTransactions.js +1 -1
- package/apiCalls/transactions/sendSignedTransactions.js +1 -1
- package/apiCalls/transactions/useGetTransactionsFromApi.js +1 -1
- package/apiCalls/utils/getCleanApiAddress.js +1 -1
- package/apiCalls/utils/getScamAddressData.js +1 -1
- package/apiCalls/utils/index.js +1 -1
- package/apiCalls/utils/useApiFetch.js +1 -1
- package/components/LogoutListener/LogoutListener.js +1 -1
- package/components/LogoutListener/helpers/index.js +1 -1
- package/components/LogoutListener/helpers/useLogoutFromMultipleTabs.js +1 -1
- package/components/LogoutListener/helpers/useNativeAuthLogout.js +1 -1
- package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/index.js +1 -1
- package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/useNativeAuthLogoutWarning.js +1 -1
- package/components/LogoutListener/index.js +1 -1
- package/components/ProviderInitializer/ProviderInitializer.js +1 -1
- package/components/ProviderInitializer/helpers/index.js +1 -1
- package/components/ProviderInitializer/helpers/processModifiedAccount.js +1 -1
- package/components/ProviderInitializer/hooks/index.js +1 -1
- package/components/ProviderInitializer/hooks/useSetLedgerProvider.js +1 -1
- package/components/ProviderInitializer/index.js +1 -1
- package/components/TransactionSender/TransactionSender.js +1 -1
- package/components/TransactionSender/index.js +1 -1
- package/components/TransactionSender/utils/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/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/useWalletConnectV2Login.js +1 -1
- package/hooks/login/useWebViewLogin.js +1 -1
- package/hooks/login/useWebWalletLogin.js +1 -1
- package/hooks/login/useXaliasLogin.js +1 -1
- package/hooks/signMessage/index.js +1 -1
- package/hooks/signMessage/useGetLastSignedMessageSession.js +1 -1
- package/hooks/signMessage/useGetSignMessageSession.js +1 -1
- package/hooks/signMessage/useGetSignedMessageStatus.js +1 -1
- package/hooks/signMessage/useSignMessage.js +1 -1
- package/hooks/toasts/index.js +1 -1
- package/hooks/toasts/useGetToasts.js +1 -1
- package/hooks/toasts/useTransactionsToasts.js +1 -1
- package/hooks/transactions/batch/tracker/useBatchTransactionsTracker.js +1 -1
- package/hooks/transactions/batch/tracker/useCheckBatch.js +1 -1
- package/hooks/transactions/batch/tracker/useCheckBatchesOnWsFailureFallback.js +1 -1
- package/hooks/transactions/batch/tracker/useCheckHangingBatchesFallback.js +1 -1
- package/hooks/transactions/batch/tracker/useUpdateBatch.js +1 -1
- package/hooks/transactions/batch/tracker/useVerifyBatchStatus.js +1 -1
- package/hooks/transactions/batch/useGetBatchStatus.js +1 -1
- package/hooks/transactions/batch/useGetBatches.js +1 -1
- package/hooks/transactions/batch/useResolveBatchStatusResponse.js +1 -1
- package/hooks/transactions/batch/useSendBatchTransactions.js +1 -1
- package/hooks/transactions/helpers/buildBatchId.js +1 -1
- package/hooks/transactions/helpers/checkNeedsGuardianSigning.js +1 -1
- package/hooks/transactions/helpers/extractSessionId.js +1 -1
- package/hooks/transactions/helpers/getShouldMoveTransactionsToSignedState.js +1 -1
- package/hooks/transactions/helpers/index.js +1 -1
- package/hooks/transactions/helpers/useClearTransactionsToSignWithWarning.js +1 -1
- package/hooks/transactions/helpers/useGetLedgerProvider.js +1 -1
- package/hooks/transactions/helpers/useSetTransactionNonces.js +1 -1
- package/hooks/transactions/index.js +1 -1
- package/hooks/transactions/useCancelWalletConnectAction.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/checkBatch.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/index.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/manageFailedTransactions.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/manageTimedOutTransactions.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/useCheckTransactionStatus.js +1 -1
- package/hooks/transactions/useGetActiveTransactionsStatus.js +1 -1
- package/hooks/transactions/useGetFailedTransactions.js +1 -1
- package/hooks/transactions/useGetLastPendingTransactionHash.js +1 -1
- package/hooks/transactions/useGetPendingTransactions.js +1 -1
- package/hooks/transactions/useGetPollingInterval.js +1 -1
- package/hooks/transactions/useGetSignTransactionsError.js +1 -1
- package/hooks/transactions/useGetSignedTransactions.js +1 -1
- package/hooks/transactions/useGetSuccessfulTransactions.js +1 -1
- package/hooks/transactions/useGetTokenDetails.js +1 -1
- package/hooks/transactions/useGetTransactionDisplayInfo.js +1 -1
- package/hooks/transactions/useParseMultiEsdtTransferData.js +1 -1
- package/hooks/transactions/useParseSignedTransactions.js +1 -1
- package/hooks/transactions/useSignMultipleTransactions.js +1 -1
- package/hooks/transactions/useSignTransactions.js +1 -1
- package/hooks/transactions/useSignTransactionsCommonData.js +1 -1
- package/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
- package/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
- package/hooks/transactions/useTrackTransactionStatus.js +1 -1
- package/hooks/transactions/useTransactionsTracker.js +1 -1
- package/hooks/useGetNetworkConfig.js +1 -1
- package/hooks/useGetNotification.js +1 -1
- package/hooks/websocketListener/index.js +1 -1
- package/hooks/websocketListener/useInitializeWebsocketConnection.js +1 -1
- package/hooks/websocketListener/useRegisterWebsocketListener.js +1 -1
- package/models/index.js +1 -1
- package/models/newTransaction.js +1 -1
- package/package.json +2 -2
- package/providers/accountProvider.js +1 -1
- package/providers/experimentalWebViewProvider/ExperimentalWebviewProvider.js +1 -1
- package/providers/experimentalWebViewProvider/index.js +1 -1
- package/providers/index.js +1 -1
- package/providers/utils.js +1 -1
- package/providers/webviewProvider/index.js +1 -1
- package/providers/webviewProvider/requestMethods.js +1 -1
- package/providers/webviewProvider/webviewProvider.js +1 -1
- package/reduxStore/DappProviderContext.js +1 -1
- package/reduxStore/commonActions.js +1 -1
- package/reduxStore/middlewares/loginSessionMiddleware.js +1 -1
- package/reduxStore/persistConfig.js +1 -1
- package/reduxStore/persistedRootReducer.js +1 -1
- package/reduxStore/reducers.js +1 -1
- package/reduxStore/rootReducer.js +1 -1
- package/reduxStore/selectors/accountInfoSelectors.js +1 -1
- package/reduxStore/selectors/index.js +1 -1
- package/reduxStore/selectors/loginInfoSelectors.js +1 -1
- package/reduxStore/selectors/transactionsInfoSelectors.js +1 -1
- package/reduxStore/selectors/transactionsSelectors.js +1 -1
- package/reduxStore/slices/accountInfoSlice.js +1 -1
- package/reduxStore/slices/batchTransactionsSlice.js +1 -1
- package/reduxStore/slices/dappConfigSlice.js +1 -1
- package/reduxStore/slices/index.js +1 -1
- package/reduxStore/slices/loginInfoSlice.js +1 -1
- package/reduxStore/slices/modalsSlice.js +1 -1
- package/reduxStore/slices/networkConfigSlice.js +1 -1
- package/reduxStore/slices/signedMessageInfoSlice.js +1 -1
- package/reduxStore/slices/toastsSlice.js +1 -1
- package/reduxStore/slices/transactionsInfoSlice.js +1 -1
- package/reduxStore/slices/transactionsSlice.js +1 -1
- package/reduxStore/store.js +1 -1
- package/services/index.js +1 -1
- package/services/nativeAuth/helpers/getAuthorizationInfo.js +1 -1
- package/services/nativeAuth/helpers/getIsNativeAuthSingingForbidden.js +1 -1
- package/services/nativeAuth/helpers/index.js +1 -1
- package/services/nativeAuth/helpers/loginWithNativeAuthToken.js +1 -1
- package/services/transactions/clearTransactions.js +1 -1
- package/services/transactions/getBatchTransactionsStatus.js +1 -1
- package/services/transactions/getTransactionsDetails.js +1 -1
- package/services/transactions/index.js +1 -1
- package/services/transactions/isCrossShardTransaction.js +1 -1
- package/services/transactions/sendBatchTransactions.js +1 -1
- package/services/transactions/sendBatchTransactions.test.js +1 -1
- package/services/transactions/sendTransactions.js +1 -1
- package/services/transactions/signTransactions.js +1 -1
- package/services/transactions/transformAndSignTransactions.js +1 -1
- package/services/transactions/updateSignedTransactions.js +1 -1
- package/services/transactions/utils/transformTransactionsToSign.js +1 -1
- package/services/transactions/utils.js +1 -1
- package/types/index.js +1 -1
- package/types/transactions.types.d.ts +4 -0
- package/types/transactions.types.js +1 -1
- package/utils/account/getAccount.js +1 -1
- package/utils/account/getAccountBalance.js +1 -1
- package/utils/account/getAccountProviderType.js +1 -1
- package/utils/account/getAccountShard.js +1 -1
- package/utils/account/getAddress.js +1 -1
- package/utils/account/getIsProviderEqualTo.js +1 -1
- package/utils/account/getLatestNonce.js +1 -1
- package/utils/account/getShardOfAddress.js +1 -1
- package/utils/account/getWebviewToken.js +1 -1
- package/utils/account/index.js +1 -1
- package/utils/account/loginWithExternalProvider.js +1 -1
- package/utils/account/refreshAccount.js +1 -1
- package/utils/account/setNonce.js +1 -1
- package/utils/account/signMessage.js +1 -1
- package/utils/getIsLoggedIn.js +1 -1
- package/utils/index.js +1 -1
- package/utils/logout.js +1 -1
- package/utils/network/getChainID.js +1 -1
- package/utils/network/getEgldLabel.js +1 -1
- package/utils/network/getNetworkConfig.js +1 -1
- package/utils/network/index.js +1 -1
- package/utils/operations/calculateFeeInFiat.js +1 -1
- package/utils/operations/calculateFeeLimit.js +1 -1
- package/utils/operations/denominate.js +1 -1
- package/utils/operations/formatAmount.js +1 -1
- package/utils/operations/index.js +1 -1
- package/utils/operations/ledger/getLedgerVersionOptions.js +1 -1
- package/utils/operations/ledger/index.js +1 -1
- package/utils/operations/nominate.js +1 -1
- package/utils/operations/parseAmount.js +1 -1
- package/utils/smartContracts.js +1 -1
- package/utils/toasts/customToastsActions.js +1 -1
- package/utils/toasts/index.js +1 -1
- package/utils/transactions/batch/getTransactionsStatus.js +1 -1
- package/utils/transactions/batch/updateBatchTransactionsStatuses.js +1 -1
- package/utils/transactions/builtCallbackUrl.js +1 -1
- package/utils/transactions/getAllTransactionsLink.js +1 -1
- package/utils/transactions/getAreTransactionsOnSameShard.js +1 -1
- package/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/getTransactionValue.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getEgldValueData.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getTitleText.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromActions.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromDataField.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromOperations.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/index.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/index.js +1 -1
- package/utils/transactions/getInterpretedTransaction/helpers/index.js +1 -1
- package/utils/transactions/getInterpretedTransaction/index.js +1 -1
- package/utils/transactions/getOperationsDetails.js +1 -1
- package/utils/transactions/getTransactionLink.js +1 -1
- package/utils/transactions/index.js +1 -1
- package/utils/transactions/isGuardianTx.js +1 -1
- package/utils/transactions/parseMultiEsdtTransferData.js +1 -1
- package/utils/transactions/parseMultiEsdtTransferDataForMultipleTransactions.js +1 -1
- package/utils/transactions/parseTransactionAfterSigning.js +1 -1
- package/utils/transactions/removeTransactionParamsFromUrl.js +1 -1
- package/utils/transactions/transactionInfoHelpers/decodeForDisplay/decodeForDisplay.js +1 -1
- package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getDisplayValueAndValidationWarnings.js +1 -1
- package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getSmartDecodedParts.js +1 -1
- package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/index.js +1 -1
- package/utils/transactions/transactionInfoHelpers/decodeForDisplay/index.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getScResultsInitialDecodeMethod.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getShardText.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getTransactionActionNftText.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getTransactionActionTokenText.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getTransactionLinkWithLabel.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getTransactionMessages.js +1 -1
- package/utils/transactions/transactionInfoHelpers/index.js +1 -1
- package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/index.js +1 -1
- package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/mexUnwrapper.js +1 -1
- package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/index.js +1 -1
- package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/transactionActionUnwrapper.js +1 -1
- package/utils/transactions/transactionInfoHelpers/useDataDecode.js +1 -1
- package/utils/transactions/transactionInfoHelpers/useDataDecodeMethod.js +1 -1
- package/utils/validation/index.js +1 -1
- package/utils/validation/maxDecimals.js +1 -1
- package/utils/validation/stringIsFloat.js +1 -1
- package/utils/waitForChainID.js +1 -1
- package/utils/walletconnect/__mocks__/sdkWalletconnectProvider.js +1 -1
- package/web/hooks/index.js +1 -1
- package/web/hooks/useIdleTimer.js +1 -1
- package/web/index.js +1 -1
- package/wrappers/AppInitializer.js +1 -1
- package/wrappers/AuthenticatedRoutesWrapper/AuthenticatedRoutesWrapper.js +1 -1
- package/wrappers/AuthenticatedRoutesWrapper/index.js +1 -1
- package/wrappers/AxiosInterceptorContext/AxiosInterceptorContext.js +1 -1
- package/wrappers/AxiosInterceptorContext/components/AxiosInterceptor.js +1 -1
- package/wrappers/AxiosInterceptorContext/components/AxiosInterceptorContextProvider.js +1 -1
- package/wrappers/AxiosInterceptorContext/components/LoginInfoListener.js +1 -1
- package/wrappers/AxiosInterceptorContext/components/index.js +1 -1
- package/wrappers/AxiosInterceptorContext/index.js +1 -1
- package/wrappers/DappProvider/CustomComponents.js +1 -1
- package/wrappers/DappProvider/DappProvider.js +1 -1
- package/wrappers/DappProvider/index.js +1 -1
- package/wrappers/index.js +1 -1
- package/__chunks__/chunk-24J2SFIL.js +0 -2
- package/__chunks__/chunk-25OJEZOV.js +0 -2
- package/__chunks__/chunk-2G46X67I.js +0 -2
- package/__chunks__/chunk-2HDARLLD.js +0 -2
- package/__chunks__/chunk-2IJMYU3Z.js +0 -2
- package/__chunks__/chunk-2RCERQQC.js +0 -2
- package/__chunks__/chunk-3E72O2TE.js +0 -2
- package/__chunks__/chunk-3KBNOIZH.js +0 -2
- package/__chunks__/chunk-4P3KM4RK.js +0 -2
- package/__chunks__/chunk-52I6ZHAV.js +0 -2
- package/__chunks__/chunk-567YERSK.js +0 -2
- package/__chunks__/chunk-5R5ATC6Q.js +0 -2
- package/__chunks__/chunk-75HJXKGG.js +0 -2
- package/__chunks__/chunk-7WGIRG6R.js +0 -2
- package/__chunks__/chunk-AK426JRJ.js +0 -2
- package/__chunks__/chunk-AMWGLB7Q.js +0 -2
- package/__chunks__/chunk-BANQ2YDY.js +0 -2
- package/__chunks__/chunk-BI6WU2XX.js +0 -2
- package/__chunks__/chunk-BSRQQSH5.js +0 -2
- package/__chunks__/chunk-CABVPSBM.js +0 -2
- package/__chunks__/chunk-CAYVW65H.js +0 -2
- package/__chunks__/chunk-DKB3QJEF.js +0 -2
- package/__chunks__/chunk-DMASTXTI.js +0 -2
- package/__chunks__/chunk-ETVFMLG5.js +0 -2
- package/__chunks__/chunk-FCB25C2P.js +0 -2
- package/__chunks__/chunk-FCJQDLMQ.js +0 -2
- package/__chunks__/chunk-FLJAAJ3D.js +0 -2
- package/__chunks__/chunk-FYXMKKRM.js +0 -2
- package/__chunks__/chunk-G4MDPRKJ.js +0 -2
- package/__chunks__/chunk-GBOU3QYQ.js +0 -2
- package/__chunks__/chunk-GK3W3YCM.js +0 -2
- package/__chunks__/chunk-HESWSIYW.js +0 -2
- package/__chunks__/chunk-HPDHRZKN.js +0 -2
- package/__chunks__/chunk-IH7E6GNV.js +0 -2
- package/__chunks__/chunk-IXYS4V7P.js +0 -2
- package/__chunks__/chunk-JDO3FQRL.js +0 -2
- package/__chunks__/chunk-JMAZFZTE.js +0 -2
- package/__chunks__/chunk-KAVQKT7Z.js +0 -2
- package/__chunks__/chunk-KXT6CLKE.js +0 -2
- package/__chunks__/chunk-LB7UQX3U.js +0 -2
- package/__chunks__/chunk-LFOFGZQJ.js +0 -2
- package/__chunks__/chunk-LJDYVI33.js +0 -2
- package/__chunks__/chunk-M5FH5RWV.js +0 -2
- package/__chunks__/chunk-MTWXTTVB.js +0 -2
- package/__chunks__/chunk-MXMHRWXB.js +0 -2
- package/__chunks__/chunk-N2ZQKDTB.js +0 -2
- package/__chunks__/chunk-NCFTPP3B.js +0 -2
- package/__chunks__/chunk-NK4MGAYQ.js +0 -2
- package/__chunks__/chunk-NLTZ3VAD.js +0 -2
- package/__chunks__/chunk-NNFNK3WA.js +0 -2
- package/__chunks__/chunk-OMAPZFOJ.js +0 -2
- package/__chunks__/chunk-PEDXTBXA.js +0 -2
- package/__chunks__/chunk-RIAKKXN4.js +0 -2
- package/__chunks__/chunk-SI7MMIOZ.js +0 -2
- package/__chunks__/chunk-SOOK3G4D.js +0 -2
- package/__chunks__/chunk-SZYXVDX7.js +0 -2
- package/__chunks__/chunk-TI4GMGE5.js +0 -2
- package/__chunks__/chunk-TIDUKAQ5.js +0 -2
- package/__chunks__/chunk-TJJZD2VA.js +0 -2
- package/__chunks__/chunk-U4FCKQZN.js +0 -2
- package/__chunks__/chunk-U4UATH5K.js +0 -2
- package/__chunks__/chunk-UR3ULHFU.js +0 -2
- package/__chunks__/chunk-WDCKV6FU.js +0 -2
- package/__chunks__/chunk-WLMDQRCM.js +0 -2
- package/__chunks__/chunk-WP4YBUQU.js +0 -2
- package/__chunks__/chunk-WQMXMHIO.js +0 -2
- package/__chunks__/chunk-WW4IPV3P.js +0 -2
- package/__chunks__/chunk-XKDCWKMR.js +0 -2
- package/__chunks__/chunk-XWRBMS62.js +0 -2
- package/__chunks__/chunk-Z6HRNH3V.js +0 -2
- package/__chunks__/chunk-ZFSNVBEB.js +0 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var vr=Object.create;var X=Object.defineProperty;var Sr=Object.getOwnPropertyDescriptor;var Ir=Object.getOwnPropertyNames,ke=Object.getOwnPropertySymbols,_r=Object.getPrototypeOf,Ee=Object.prototype.hasOwnProperty,Ar=Object.prototype.propertyIsEnumerable;var Ne=(t,e,r)=>e in t?X(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,W=(t,e)=>{for(var r in e||(e={}))Ee.call(e,r)&&Ne(t,r,e[r]);if(ke)for(var r of ke(e))Ar.call(e,r)&&Ne(t,r,e[r]);return t};var kr=(t,e)=>()=>(t&&(e=t(t=0)),e);var re=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Nr=(t,e)=>{for(var r in e)X(t,r,{get:e[r],enumerable:!0})},Re=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Ir(e))!Ee.call(t,i)&&i!==r&&X(t,i,{get:()=>e[i],enumerable:!(n=Sr(e,i))||n.enumerable});return t};var V=(t,e,r)=>(r=t!=null?vr(_r(t)):{},Re(e||!t||!t.__esModule?X(r,"default",{value:t,enumerable:!0}):r,t)),Er=t=>Re(X({},"__esModule",{value:!0}),t);var Ce=re(te=>{"use strict";l();te.byteLength=Lr;te.toByteArray=Cr;te.fromByteArray=Br;var I=[],v=[],Rr=typeof Uint8Array!="undefined"?Uint8Array:Array,ce="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(B=0,Le=ce.length;B<Le;++B)I[B]=ce[B],v[ce.charCodeAt(B)]=B;var B,Le;v["-".charCodeAt(0)]=62;v["_".charCodeAt(0)]=63;function De(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");r===-1&&(r=e);var n=r===e?0:4-r%4;return[r,n]}function Lr(t){var e=De(t),r=e[0],n=e[1];return(r+n)*3/4-n}function Dr(t,e,r){return(e+r)*3/4-r}function Cr(t){var e,r=De(t),n=r[0],i=r[1],o=new Rr(Dr(t,n,i)),a=0,c=i>0?n-4:n,u;for(u=0;u<c;u+=4)e=v[t.charCodeAt(u)]<<18|v[t.charCodeAt(u+1)]<<12|v[t.charCodeAt(u+2)]<<6|v[t.charCodeAt(u+3)],o[a++]=e>>16&255,o[a++]=e>>8&255,o[a++]=e&255;return i===2&&(e=v[t.charCodeAt(u)]<<2|v[t.charCodeAt(u+1)]>>4,o[a++]=e&255),i===1&&(e=v[t.charCodeAt(u)]<<10|v[t.charCodeAt(u+1)]<<4|v[t.charCodeAt(u+2)]>>2,o[a++]=e>>8&255,o[a++]=e&255),o}function Fr(t){return I[t>>18&63]+I[t>>12&63]+I[t>>6&63]+I[t&63]}function Or(t,e,r){for(var n,i=[],o=e;o<r;o+=3)n=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(t[o+2]&255),i.push(Fr(n));return i.join("")}function Br(t){for(var e,r=t.length,n=r%3,i=[],o=16383,a=0,c=r-n;a<c;a+=o)i.push(Or(t,a,a+o>c?c:a+o));return n===1?(e=t[r-1],i.push(I[e>>2]+I[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],i.push(I[e>>10]+I[e>>4&63]+I[e<<2&63]+"=")),i.join("")}});var Fe=re(ue=>{l();ue.read=function(t,e,r,n,i){var o,a,c=i*8-n-1,u=(1<<c)-1,f=u>>1,h=-7,m=r?i-1:0,y=r?-1:1,b=t[e+m];for(m+=y,o=b&(1<<-h)-1,b>>=-h,h+=c;h>0;o=o*256+t[e+m],m+=y,h-=8);for(a=o&(1<<-h)-1,o>>=-h,h+=n;h>0;a=a*256+t[e+m],m+=y,h-=8);if(o===0)o=1-f;else{if(o===u)return a?NaN:(b?-1:1)*(1/0);a=a+Math.pow(2,n),o=o-f}return(b?-1:1)*a*Math.pow(2,o-n)};ue.write=function(t,e,r,n,i,o){var a,c,u,f=o*8-i-1,h=(1<<f)-1,m=h>>1,y=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,b=n?0:o-1,E=n?1:-1,Z=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(c=isNaN(e)?1:0,a=h):(a=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-a))<1&&(a--,u*=2),a+m>=1?e+=y/u:e+=y*Math.pow(2,1-m),e*u>=2&&(a++,u/=2),a+m>=h?(c=0,a=h):a+m>=1?(c=(e*u-1)*Math.pow(2,i),a=a+m):(c=e*Math.pow(2,m-1)*Math.pow(2,i),a=0));i>=8;t[r+b]=c&255,b+=E,c/=256,i-=8);for(a=a<<i|c,f+=i;f>0;t[r+b]=a&255,b+=E,a/=256,f-=8);t[r+b-E]|=Z*128}});var ze=re(H=>{"use strict";l();var pe=Ce(),$=Fe(),Oe=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;H.Buffer=s;H.SlowBuffer=Vr;H.INSPECT_MAX_BYTES=50;var ne=2147483647;H.kMaxLength=ne;s.TYPED_ARRAY_SUPPORT=Ur();!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 Ur(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),t.foo()===42}catch(r){return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.buffer}});Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.byteOffset}});function R(t){if(t>ne)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,s.prototype),e}function s(t,e,r){if(typeof t=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return me(t)}return Pe(t,e,r)}s.poolSize=8192;function Pe(t,e,r){if(typeof t=="string")return Mr(t,e);if(ArrayBuffer.isView(t))return Gr(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(_(t,ArrayBuffer)||t&&_(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(_(t,SharedArrayBuffer)||t&&_(t.buffer,SharedArrayBuffer)))return ge(t,e,r);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return s.from(n,e,r);var i=Wr(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.from(t[Symbol.toPrimitive]("string"),e,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}s.from=function(t,e,r){return Pe(t,e,r)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function Me(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 Pr(t,e,r){return Me(t),t<=0?R(t):e!==void 0?typeof r=="string"?R(t).fill(e,r):R(t).fill(e):R(t)}s.alloc=function(t,e,r){return Pr(t,e,r)};function me(t){return Me(t),R(t<0?0:he(t)|0)}s.allocUnsafe=function(t){return me(t)};s.allocUnsafeSlow=function(t){return me(t)};function Mr(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!s.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=Ge(t,e)|0,n=R(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}function de(t){for(var e=t.length<0?0:he(t.length)|0,r=R(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function Gr(t){if(_(t,Uint8Array)){var e=new Uint8Array(t);return ge(e.buffer,e.byteOffset,e.byteLength)}return de(t)}function ge(t,e,r){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return e===void 0&&r===void 0?n=new Uint8Array(t):r===void 0?n=new Uint8Array(t,e):n=new Uint8Array(t,e,r),Object.setPrototypeOf(n,s.prototype),n}function Wr(t){if(s.isBuffer(t)){var e=he(t.length)|0,r=R(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||ye(t.length)?R(0):de(t);if(t.type==="Buffer"&&Array.isArray(t.data))return de(t.data)}function he(t){if(t>=ne)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ne.toString(16)+" bytes");return t|0}function Vr(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==s.prototype};s.compare=function(e,r){if(_(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),_(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(e)||!s.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===r)return 0;for(var n=e.length,i=r.length,o=0,a=Math.min(n,i);o<a;++o)if(e[o]!==r[o]){n=e[o],i=r[o];break}return n<i?-1:i<n?1:0};s.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};s.concat=function(e,r){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return s.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<e.length;++n)r+=e[n].length;var i=s.allocUnsafe(r),o=0;for(n=0;n<e.length;++n){var a=e[n];if(_(a,Uint8Array))o+a.length>i.length?s.from(a).copy(i,o):Uint8Array.prototype.set.call(i,a,o);else if(s.isBuffer(a))a.copy(i,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=a.length}return i};function Ge(t,e){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||_(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var r=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&r===0)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return fe(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return je(t).length;default:if(i)return n?-1:fe(t).length;e=(""+e).toLowerCase(),i=!0}}s.byteLength=Ge;function $r(t,e,r){var n=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,e>>>=0,r<=e))return"";for(t||(t="utf8");;)switch(t){case"hex":return Qr(this,e,r);case"utf8":case"utf-8":return Ve(this,e,r);case"ascii":return Zr(this,e,r);case"latin1":case"binary":return Jr(this,e,r);case"base64":return Xr(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return et(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function U(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}s.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<e;r+=2)U(this,r,r+1);return this};s.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<e;r+=4)U(this,r,r+3),U(this,r+1,r+2);return this};s.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<e;r+=8)U(this,r,r+7),U(this,r+1,r+6),U(this,r+2,r+5),U(this,r+3,r+4);return this};s.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?Ve(this,0,e):$r.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(e){if(!s.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:s.compare(this,e)===0};s.prototype.inspect=function(){var e="",r=H.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};Oe&&(s.prototype[Oe]=s.prototype.inspect);s.prototype.compare=function(e,r,n,i,o){if(_(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(r===void 0&&(r=0),n===void 0&&(n=e?e.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),r<0||n>e.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&r>=n)return 0;if(i>=o)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,i>>>=0,o>>>=0,this===e)return 0;for(var a=o-i,c=n-r,u=Math.min(a,c),f=this.slice(i,o),h=e.slice(r,n),m=0;m<u;++m)if(f[m]!==h[m]){a=f[m],c=h[m];break}return a<c?-1:c<a?1:0};function We(t,e,r,n,i){if(t.length===0)return-1;if(typeof r=="string"?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,ye(r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof e=="string"&&(e=s.from(e,n)),s.isBuffer(e))return e.length===0?-1:Be(t,e,r,n,i);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):Be(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function Be(t,e,r,n,i){var o=1,a=t.length,c=e.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||e.length<2)return-1;o=2,a/=2,c/=2,r/=2}function u(b,E){return o===1?b[E]:b.readUInt16BE(E*o)}var f;if(i){var h=-1;for(f=r;f<a;f++)if(u(t,f)===u(e,h===-1?0:f-h)){if(h===-1&&(h=f),f-h+1===c)return h*o}else h!==-1&&(f-=f-h),h=-1}else for(r+c>a&&(r=a-c),f=r;f>=0;f--){for(var m=!0,y=0;y<c;y++)if(u(t,f+y)!==u(e,y)){m=!1;break}if(m)return f}return-1}s.prototype.includes=function(e,r,n){return this.indexOf(e,r,n)!==-1};s.prototype.indexOf=function(e,r,n){return We(this,e,r,n,!0)};s.prototype.lastIndexOf=function(e,r,n){return We(this,e,r,n,!1)};function Hr(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var o=e.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var c=parseInt(e.substr(a*2,2),16);if(ye(c))return a;t[r+a]=c}return a}function qr(t,e,r,n){return ie(fe(e,t.length-r),t,r,n)}function jr(t,e,r,n){return ie(nt(e),t,r,n)}function zr(t,e,r,n){return ie(je(e),t,r,n)}function Kr(t,e,r,n){return ie(it(e,t.length-r),t,r,n)}s.prototype.write=function(e,r,n,i){if(r===void 0)i="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")i=r,n=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-r;if((n===void 0||n>o)&&(n=o),e.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var a=!1;;)switch(i){case"hex":return Hr(this,e,r,n);case"utf8":case"utf-8":return qr(this,e,r,n);case"ascii":case"latin1":case"binary":return jr(this,e,r,n);case"base64":return zr(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Kr(this,e,r,n);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0}};s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Xr(t,e,r){return e===0&&r===t.length?pe.fromByteArray(t):pe.fromByteArray(t.slice(e,r))}function Ve(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var o=t[i],a=null,c=o>239?4:o>223?3:o>191?2:1;if(i+c<=r){var u,f,h,m;switch(c){case 1:o<128&&(a=o);break;case 2:u=t[i+1],(u&192)===128&&(m=(o&31)<<6|u&63,m>127&&(a=m));break;case 3:u=t[i+1],f=t[i+2],(u&192)===128&&(f&192)===128&&(m=(o&15)<<12|(u&63)<<6|f&63,m>2047&&(m<55296||m>57343)&&(a=m));break;case 4:u=t[i+1],f=t[i+2],h=t[i+3],(u&192)===128&&(f&192)===128&&(h&192)===128&&(m=(o&15)<<18|(u&63)<<12|(f&63)<<6|h&63,m>65535&&m<1114112&&(a=m))}}a===null?(a=65533,c=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),i+=c}return Yr(n)}var Ue=4096;function Yr(t){var e=t.length;if(e<=Ue)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=Ue));return r}function Zr(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]&127);return n}function Jr(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}function Qr(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=e;o<r;++o)i+=ot[t[o]];return i}function et(t,e,r){for(var n=t.slice(e,r),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}s.prototype.slice=function(e,r){var n=this.length;e=~~e,r=r===void 0?n:~~r,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<e&&(r=e);var i=this.subarray(e,r);return Object.setPrototypeOf(i,s.prototype),i};function T(t,e,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||T(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||T(e,r,this.length);for(var i=this[e+--r],o=1;r>0&&(o*=256);)i+=this[e+--r]*o;return i};s.prototype.readUint8=s.prototype.readUInt8=function(e,r){return e=e>>>0,r||T(e,1,this.length),this[e]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||T(e,2,this.length),this[e]|this[e+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||T(e,2,this.length),this[e]<<8|this[e+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||T(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(e,r){return e=e>>>0,r||T(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};s.prototype.readIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||T(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*r)),i};s.prototype.readIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||T(e,r,this.length);for(var i=r,o=1,a=this[e+--i];i>0&&(o*=256);)a+=this[e+--i]*o;return o*=128,a>=o&&(a-=Math.pow(2,8*r)),a};s.prototype.readInt8=function(e,r){return e=e>>>0,r||T(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};s.prototype.readInt16LE=function(e,r){e=e>>>0,r||T(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(e,r){e=e>>>0,r||T(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(e,r){return e=e>>>0,r||T(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};s.prototype.readInt32BE=function(e,r){return e=e>>>0,r||T(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};s.prototype.readFloatLE=function(e,r){return e=e>>>0,r||T(e,4,this.length),$.read(this,e,!0,23,4)};s.prototype.readFloatBE=function(e,r){return e=e>>>0,r||T(e,4,this.length),$.read(this,e,!1,23,4)};s.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||T(e,8,this.length),$.read(this,e,!0,52,8)};s.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||T(e,8,this.length),$.read(this,e,!1,52,8)};function w(t,e,r,n,i,o){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;w(this,e,r,n,o,0)}var a=1,c=0;for(this[r]=e&255;++c<n&&(a*=256);)this[r+c]=e/a&255;return r+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;w(this,e,r,n,o,0)}var a=n-1,c=1;for(this[r+a]=e&255;--a>=0&&(c*=256);)this[r+a]=e/c&255;return r+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,1,255,0),this[r]=e&255,r+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,65535,0),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,65535,0),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,4294967295,0),this[r+3]=e>>>24,this[r+2]=e>>>16,this[r+1]=e>>>8,this[r]=e&255,r+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,4294967295,0),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};s.prototype.writeIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);w(this,e,r,n,o-1,-o)}var a=0,c=1,u=0;for(this[r]=e&255;++a<n&&(c*=256);)e<0&&u===0&&this[r+a-1]!==0&&(u=1),this[r+a]=(e/c>>0)-u&255;return r+n};s.prototype.writeIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);w(this,e,r,n,o-1,-o)}var a=n-1,c=1,u=0;for(this[r+a]=e&255;--a>=0&&(c*=256);)e<0&&u===0&&this[r+a+1]!==0&&(u=1),this[r+a]=(e/c>>0)-u&255;return r+n};s.prototype.writeInt8=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,1,127,-128),e<0&&(e=255+e+1),this[r]=e&255,r+1};s.prototype.writeInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,32767,-32768),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,32767,-32768),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,2147483647,-2147483648),this[r]=e&255,this[r+1]=e>>>8,this[r+2]=e>>>16,this[r+3]=e>>>24,r+4};s.prototype.writeInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};function $e(t,e,r,n,i,o){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function He(t,e,r,n,i){return e=+e,r=r>>>0,i||$e(t,e,r,4,34028234663852886e22,-34028234663852886e22),$.write(t,e,r,n,23,4),r+4}s.prototype.writeFloatLE=function(e,r,n){return He(this,e,r,!0,n)};s.prototype.writeFloatBE=function(e,r,n){return He(this,e,r,!1,n)};function qe(t,e,r,n,i){return e=+e,r=r>>>0,i||$e(t,e,r,8,17976931348623157e292,-17976931348623157e292),$.write(t,e,r,n,52,8),r+8}s.prototype.writeDoubleLE=function(e,r,n){return qe(this,e,r,!0,n)};s.prototype.writeDoubleBE=function(e,r,n){return qe(this,e,r,!1,n)};s.prototype.copy=function(e,r,n,i){if(!s.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),r>=e.length&&(r=e.length),r||(r=0),i>0&&i<n&&(i=n),i===n||e.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-r<i-n&&(i=e.length-r+n);var o=i-n;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,n,i):Uint8Array.prototype.set.call(e,this.subarray(n,i),r),o};s.prototype.fill=function(e,r,n,i){if(typeof e=="string"){if(typeof r=="string"?(i=r,r=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(e.length===1){var o=e.charCodeAt(0);(i==="utf8"&&o<128||i==="latin1")&&(e=o)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;r=r>>>0,n=n===void 0?this.length:n>>>0,e||(e=0);var a;if(typeof e=="number")for(a=r;a<n;++a)this[a]=e;else{var c=s.isBuffer(e)?e:s.from(e,i),u=c.length;if(u===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(a=0;a<n-r;++a)this[a+r]=c[a%u]}return this};var rt=/[^+/0-9A-Za-z-_]/g;function tt(t){if(t=t.split("=")[0],t=t.trim().replace(rt,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function fe(t,e){e=e||1/0;for(var r,n=t.length,i=null,o=[],a=0;a<n;++a){if(r=t.charCodeAt(a),r>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&o.push(239,191,189);continue}else if(a+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&o.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,r&63|128)}else if(r<65536){if((e-=3)<0)break;o.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return o}function nt(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function it(t,e){for(var r,n,i,o=[],a=0;a<t.length&&!((e-=2)<0);++a)r=t.charCodeAt(a),n=r>>8,i=r%256,o.push(i),o.push(n);return o}function je(t){return pe.toByteArray(tt(t))}function ie(t,e,r,n){for(var i=0;i<n&&!(i+r>=e.length||i>=t.length);++i)e[i+r]=t[i];return i}function _(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function ye(t){return t!==t}var ot=function(){for(var t="0123456789abcdef",e=new Array(256),r=0;r<16;++r)for(var n=r*16,i=0;i<16;++i)e[n+i]=t[r]+t[i];return e}()});var Je=re((xt,Ze)=>{l();var x=Ze.exports={},A,k;function xe(){throw new Error("setTimeout has not been defined")}function Te(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?A=setTimeout:A=xe}catch(t){A=xe}try{typeof clearTimeout=="function"?k=clearTimeout:k=Te}catch(t){k=Te}})();function Ke(t){if(A===setTimeout)return setTimeout(t,0);if((A===xe||!A)&&setTimeout)return A=setTimeout,setTimeout(t,0);try{return A(t,0)}catch(e){try{return A.call(null,t,0)}catch(r){return A.call(this,t,0)}}}function at(t){if(k===clearTimeout)return clearTimeout(t);if((k===Te||!k)&&clearTimeout)return k=clearTimeout,clearTimeout(t);try{return k(t)}catch(e){try{return k.call(null,t)}catch(r){return k.call(this,t)}}}var L=[],q=!1,P,oe=-1;function st(){!q||!P||(q=!1,P.length?L=P.concat(L):oe=-1,L.length&&Xe())}function Xe(){if(!q){var t=Ke(st);q=!0;for(var e=L.length;e;){for(P=L,L=[];++oe<e;)P&&P[oe].run();oe=-1,e=L.length}P=null,q=!1,at(t)}}x.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];L.push(new Ye(t,e)),L.length===1&&!q&&Ke(Xe)};function Ye(t,e){this.fun=t,this.array=e}Ye.prototype.run=function(){this.fun.apply(null,this.array)};x.title="browser";x.browser=!0;x.env={};x.argv=[];x.version="";x.versions={};function D(){}x.on=D;x.addListener=D;x.once=D;x.off=D;x.removeListener=D;x.removeAllListeners=D;x.emit=D;x.prependListener=D;x.prependOnceListener=D;x.listeners=function(t){return[]};x.binding=function(t){throw new Error("process.binding is not supported")};x.cwd=function(){return"/"};x.chdir=function(t){throw new Error("process.chdir is not supported")};x.umask=function(){return 0}});var p,d,Tt,l=kr(()=>{p=V(ze()),d=V(Je()),Tt=function(t){function e(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return e();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:e});var r=__magic__;return r}(Object)});var dt={};Nr(dt,{getTransactionActionNftText:()=>pt});module.exports=Er(dt);l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();var be=require("@multiversx/sdk-dapp-utils/out/constants/crossWindowProviderConstants"),j=require("@multiversx/sdk-dapp-utils/out/enums/crossWindowProviderEnums");var Qe=(r=>(r.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",r.reloginRequest="RELOGIN_REQUEST",r))(Qe||{}),Dt=W(W({},j.CrossWindowProviderRequestEnums),Qe),er=(e=>(e.reloginResponse="RELOGIN_RESPONSE",e))(er||{}),Ct=W(W({},j.CrossWindowProviderResponseEnums),er);l();l();l();l();l();l();var we={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",xAliasAddress:"https://devnet.xalias.com",apiAddress:"https://devnet-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",apiTimeout:"4000",roundDuration:6e3},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",xAliasAddress:"https://testnet.xalias.com",apiAddress:"https://testnet-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",apiTimeout:"4000",roundDuration:6e3},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",xAliasAddress:"https://xalias.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",apiTimeout:"4000",roundDuration:6e3}},{chainId:rr,egldLabel:Yt}=we["devnet"],{chainId:tr,egldLabel:Zt}=we["testnet"],{chainId:nr,egldLabel:Jt}=we["mainnet"];var Qt={["devnet"]:rr,["testnet"]:tr,["mainnet"]:nr},en={[rr]:"devnet",[tr]:"testnet",[nr]:"mainnet"};l();l();var N=require("@multiversx/sdk-web-wallet-provider");l();var ir,or,ve=String((or=(ir=be.safeWindow)==null?void 0:ir.navigator)==null?void 0:or.userAgent),an=/^((?!chrome|android).)*safari/i.test(ve),sn=/firefox/i.test(ve)&&/windows/i.test(ve);var M=18,ae=4;var se="0";l();var sr=require("@multiversx/sdk-core"),F=V(require("bignumber.js"));l();var ar=V(require("bignumber.js")),Se=(t,e=!0)=>{let r=String(t);if(!r.match(/^[-]?\d+$/))return!1;let n=new ar.default(r),i=e?0:-1;return n.toString(10)===r&&n.comparedTo(0)>=i};l();function C(t){return{if:function(e){return e?{then:r=>r instanceof Function?C(r(t)):C(r)}:{then:()=>C(t)}},then:e=>e instanceof Function?C(e(t)):C(e),valueOf:function(){return t}}}F.default.config({ROUNDING_MODE:F.default.ROUND_FLOOR});function le({input:t,decimals:e=M,digits:r=ae,showLastNonZeroDecimal:n=!0,showIsLessThanDecimalsLabel:i=!1,addCommas:o=!1}){if(!Se(t,!1))throw new Error("Invalid input");let a=new F.default(t).isNegative(),c=t;return a&&(c=t.substring(1)),C(c).then(()=>sr.TokenTransfer.fungibleFromBigInteger("",c,e).amountAsBigInteger.shiftedBy(-e).toFixed(e)).then(u=>{let f=new F.default(u);if(f.isZero())return se;let h=f.toString(10),[m,y]=h.split("."),b=new F.default(y||0),E=C(0).if(Boolean(y&&n)).then(()=>Math.max(y.length,r)).if(b.isZero()&&!n).then(0).if(Boolean(y&&!n)).then(()=>Math.min(y.length,r)).valueOf(),Z=y&&r>=1&&r<=y.length&&b.isGreaterThan(0)&&new F.default(y.substring(0,r)).isZero(),Tr=f.toFormat(E);return C(h).if(o).then(Tr).if(Boolean(Z)).then(J=>{let K=new F.default(m).isZero(),[S,Q]=J.split("."),ee=new Array(r-1).fill(0),br=[...ee,0].join(""),wr=[...ee,1].join("");return K?i?`<${S}.${wr}`:n?`${S}.${Q}`:S:`${S}.${br}`}).if(Boolean(!Z&&y)).then(J=>{let[K]=J.split("."),S=y.substring(0,E);if(n){let Q=r-S.length;if(Q>0){let ee=Array(Q).fill(0).join("");return S=`${S}${ee}`,`${K}.${S}`}return J}return S?`${K}.${S}`:K}).valueOf()}).if(a).then(u=>`-${u}`).valueOf()}l();l();var lt=require("@multiversx/sdk-core");l();var Y=require("@multiversx/sdk-core"),ut=V(require("bignumber.js"));l();l();l();var ct=V(require("bignumber.js"));l();l();l();l();l();l();l();l();l();l();var O="accounts";var lr="blocks",cr="code",ur="collections";var pr="contracts";var dr="identities";var gr="locked-accounts",fr="logs",mr="miniblocks";var Ie="nfts",hr="nodes",_e="providers",yr="roles",Ae="sc-results";var z="tokens";var G="transactions";var xr={shard:t=>`/${lr}?shard=${t}`,receiverShard:t=>`/${G}?receivershard=${t}`,senderShard:t=>`/${G}?sendershard=${t}`,transactionDetails:t=>`/${G}/${t}`,transactionDetailsScResults:t=>`/${G}/${t}/${Ae}`,transactionDetailsLogs:t=>`/${G}/${t}/${fr}`,nodeDetails:t=>`/${hr}/${t}`,accountDetails:t=>`/${O}/${t}`,accountDetailsContractCode:t=>`/${O}/${t}/${cr}`,accountDetailsTokens:t=>`/${O}/${t}/${z}`,accountDetailsNfts:t=>`/${O}/${t}/${Ie}`,accountDetailsScResults:t=>`/${O}/${t}/${Ae}`,accountDetailsContracts:t=>`/${O}/${t}/${pr}`,identityDetails:t=>`/${dr}/${t}`,tokenDetails:t=>`/${z}/${t}`,tokenDetailsAccounts:t=>`/${z}/${t}/${O}`,tokenDetailsLockedAccounts:t=>`/${z}/${t}/${gr}`,tokenDetailsRoles:t=>`/${z}/${t}/${yr}`,collectionDetails:t=>`/${ur}/${t}`,nftDetails:t=>`/${Ie}/${t}`,providerDetails:t=>`/${_e}/${t}`,providerDetailsTransactions:t=>`/${_e}/${t}/${G}`,miniblockDetails:t=>`/${mr}/${t}`};function pt({token:t,noValue:e,showLastNonZeroDecimal:r}){var f;let n=!e&&t.value&&t.type!=="NonFungibleESDT",i=t.decimals!=null,o="";t.type==="NonFungibleESDT"&&(o="NFT"),t.type==="SemiFungibleESDT"&&(o="SFT"),t.type==="MetaESDT"&&(o="Meta-ESDT");let a="";n&&i&&(a=i?le({input:t.value,decimals:t.decimals,digits:2,showLastNonZeroDecimal:r}):Number(t.value).toLocaleString("en"));let c=xr.nftDetails(String(t.identifier)),u=t.ticker===t.collection&&(f=t.identifier)!=null?f:t.ticker;return{badgeText:o,tokenFormattedAmount:n?a:null,tokenExplorerLink:c,tokenLinkText:u,token:t,noValue:e,showLastNonZeroDecimal:r}}0&&(module.exports={getTransactionActionNftText});
|
|
1
|
+
"use strict";var vr=Object.create;var X=Object.defineProperty;var Sr=Object.getOwnPropertyDescriptor;var Ir=Object.getOwnPropertyNames,ke=Object.getOwnPropertySymbols,_r=Object.getPrototypeOf,Ee=Object.prototype.hasOwnProperty,Ar=Object.prototype.propertyIsEnumerable;var Ne=(t,e,r)=>e in t?X(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,W=(t,e)=>{for(var r in e||(e={}))Ee.call(e,r)&&Ne(t,r,e[r]);if(ke)for(var r of ke(e))Ar.call(e,r)&&Ne(t,r,e[r]);return t};var kr=(t,e)=>()=>(t&&(e=t(t=0)),e);var re=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Nr=(t,e)=>{for(var r in e)X(t,r,{get:e[r],enumerable:!0})},Re=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Ir(e))!Ee.call(t,i)&&i!==r&&X(t,i,{get:()=>e[i],enumerable:!(n=Sr(e,i))||n.enumerable});return t};var V=(t,e,r)=>(r=t!=null?vr(_r(t)):{},Re(e||!t||!t.__esModule?X(r,"default",{value:t,enumerable:!0}):r,t)),Er=t=>Re(X({},"__esModule",{value:!0}),t);var Ce=re(te=>{"use strict";l();te.byteLength=Lr;te.toByteArray=Cr;te.fromByteArray=Ur;var I=[],v=[],Rr=typeof Uint8Array!="undefined"?Uint8Array:Array,ce="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(U=0,Le=ce.length;U<Le;++U)I[U]=ce[U],v[ce.charCodeAt(U)]=U;var U,Le;v["-".charCodeAt(0)]=62;v["_".charCodeAt(0)]=63;function De(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");r===-1&&(r=e);var n=r===e?0:4-r%4;return[r,n]}function Lr(t){var e=De(t),r=e[0],n=e[1];return(r+n)*3/4-n}function Dr(t,e,r){return(e+r)*3/4-r}function Cr(t){var e,r=De(t),n=r[0],i=r[1],o=new Rr(Dr(t,n,i)),a=0,c=i>0?n-4:n,u;for(u=0;u<c;u+=4)e=v[t.charCodeAt(u)]<<18|v[t.charCodeAt(u+1)]<<12|v[t.charCodeAt(u+2)]<<6|v[t.charCodeAt(u+3)],o[a++]=e>>16&255,o[a++]=e>>8&255,o[a++]=e&255;return i===2&&(e=v[t.charCodeAt(u)]<<2|v[t.charCodeAt(u+1)]>>4,o[a++]=e&255),i===1&&(e=v[t.charCodeAt(u)]<<10|v[t.charCodeAt(u+1)]<<4|v[t.charCodeAt(u+2)]>>2,o[a++]=e>>8&255,o[a++]=e&255),o}function Fr(t){return I[t>>18&63]+I[t>>12&63]+I[t>>6&63]+I[t&63]}function Or(t,e,r){for(var n,i=[],o=e;o<r;o+=3)n=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(t[o+2]&255),i.push(Fr(n));return i.join("")}function Ur(t){for(var e,r=t.length,n=r%3,i=[],o=16383,a=0,c=r-n;a<c;a+=o)i.push(Or(t,a,a+o>c?c:a+o));return n===1?(e=t[r-1],i.push(I[e>>2]+I[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],i.push(I[e>>10]+I[e>>4&63]+I[e<<2&63]+"=")),i.join("")}});var Fe=re(ue=>{l();ue.read=function(t,e,r,n,i){var o,a,c=i*8-n-1,u=(1<<c)-1,f=u>>1,h=-7,m=r?i-1:0,y=r?-1:1,b=t[e+m];for(m+=y,o=b&(1<<-h)-1,b>>=-h,h+=c;h>0;o=o*256+t[e+m],m+=y,h-=8);for(a=o&(1<<-h)-1,o>>=-h,h+=n;h>0;a=a*256+t[e+m],m+=y,h-=8);if(o===0)o=1-f;else{if(o===u)return a?NaN:(b?-1:1)*(1/0);a=a+Math.pow(2,n),o=o-f}return(b?-1:1)*a*Math.pow(2,o-n)};ue.write=function(t,e,r,n,i,o){var a,c,u,f=o*8-i-1,h=(1<<f)-1,m=h>>1,y=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,b=n?0:o-1,E=n?1:-1,Z=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(c=isNaN(e)?1:0,a=h):(a=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-a))<1&&(a--,u*=2),a+m>=1?e+=y/u:e+=y*Math.pow(2,1-m),e*u>=2&&(a++,u/=2),a+m>=h?(c=0,a=h):a+m>=1?(c=(e*u-1)*Math.pow(2,i),a=a+m):(c=e*Math.pow(2,m-1)*Math.pow(2,i),a=0));i>=8;t[r+b]=c&255,b+=E,c/=256,i-=8);for(a=a<<i|c,f+=i;f>0;t[r+b]=a&255,b+=E,a/=256,f-=8);t[r+b-E]|=Z*128}});var ze=re(H=>{"use strict";l();var pe=Ce(),$=Fe(),Oe=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;H.Buffer=s;H.SlowBuffer=Vr;H.INSPECT_MAX_BYTES=50;var ne=2147483647;H.kMaxLength=ne;s.TYPED_ARRAY_SUPPORT=Br();!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 Br(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),t.foo()===42}catch(r){return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.buffer}});Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.byteOffset}});function R(t){if(t>ne)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,s.prototype),e}function s(t,e,r){if(typeof t=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return me(t)}return Pe(t,e,r)}s.poolSize=8192;function Pe(t,e,r){if(typeof t=="string")return Mr(t,e);if(ArrayBuffer.isView(t))return Gr(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(_(t,ArrayBuffer)||t&&_(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(_(t,SharedArrayBuffer)||t&&_(t.buffer,SharedArrayBuffer)))return ge(t,e,r);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return s.from(n,e,r);var i=Wr(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.from(t[Symbol.toPrimitive]("string"),e,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}s.from=function(t,e,r){return Pe(t,e,r)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function Me(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 Pr(t,e,r){return Me(t),t<=0?R(t):e!==void 0?typeof r=="string"?R(t).fill(e,r):R(t).fill(e):R(t)}s.alloc=function(t,e,r){return Pr(t,e,r)};function me(t){return Me(t),R(t<0?0:he(t)|0)}s.allocUnsafe=function(t){return me(t)};s.allocUnsafeSlow=function(t){return me(t)};function Mr(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!s.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=Ge(t,e)|0,n=R(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}function de(t){for(var e=t.length<0?0:he(t.length)|0,r=R(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function Gr(t){if(_(t,Uint8Array)){var e=new Uint8Array(t);return ge(e.buffer,e.byteOffset,e.byteLength)}return de(t)}function ge(t,e,r){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return e===void 0&&r===void 0?n=new Uint8Array(t):r===void 0?n=new Uint8Array(t,e):n=new Uint8Array(t,e,r),Object.setPrototypeOf(n,s.prototype),n}function Wr(t){if(s.isBuffer(t)){var e=he(t.length)|0,r=R(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||ye(t.length)?R(0):de(t);if(t.type==="Buffer"&&Array.isArray(t.data))return de(t.data)}function he(t){if(t>=ne)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ne.toString(16)+" bytes");return t|0}function Vr(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==s.prototype};s.compare=function(e,r){if(_(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),_(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(e)||!s.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===r)return 0;for(var n=e.length,i=r.length,o=0,a=Math.min(n,i);o<a;++o)if(e[o]!==r[o]){n=e[o],i=r[o];break}return n<i?-1:i<n?1:0};s.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};s.concat=function(e,r){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return s.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<e.length;++n)r+=e[n].length;var i=s.allocUnsafe(r),o=0;for(n=0;n<e.length;++n){var a=e[n];if(_(a,Uint8Array))o+a.length>i.length?s.from(a).copy(i,o):Uint8Array.prototype.set.call(i,a,o);else if(s.isBuffer(a))a.copy(i,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=a.length}return i};function Ge(t,e){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||_(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var r=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&r===0)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return fe(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return je(t).length;default:if(i)return n?-1:fe(t).length;e=(""+e).toLowerCase(),i=!0}}s.byteLength=Ge;function $r(t,e,r){var n=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,e>>>=0,r<=e))return"";for(t||(t="utf8");;)switch(t){case"hex":return Qr(this,e,r);case"utf8":case"utf-8":return Ve(this,e,r);case"ascii":return Zr(this,e,r);case"latin1":case"binary":return Jr(this,e,r);case"base64":return Xr(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return et(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function B(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}s.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<e;r+=2)B(this,r,r+1);return this};s.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<e;r+=4)B(this,r,r+3),B(this,r+1,r+2);return this};s.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<e;r+=8)B(this,r,r+7),B(this,r+1,r+6),B(this,r+2,r+5),B(this,r+3,r+4);return this};s.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?Ve(this,0,e):$r.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(e){if(!s.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:s.compare(this,e)===0};s.prototype.inspect=function(){var e="",r=H.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};Oe&&(s.prototype[Oe]=s.prototype.inspect);s.prototype.compare=function(e,r,n,i,o){if(_(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(r===void 0&&(r=0),n===void 0&&(n=e?e.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),r<0||n>e.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&r>=n)return 0;if(i>=o)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,i>>>=0,o>>>=0,this===e)return 0;for(var a=o-i,c=n-r,u=Math.min(a,c),f=this.slice(i,o),h=e.slice(r,n),m=0;m<u;++m)if(f[m]!==h[m]){a=f[m],c=h[m];break}return a<c?-1:c<a?1:0};function We(t,e,r,n,i){if(t.length===0)return-1;if(typeof r=="string"?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,ye(r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof e=="string"&&(e=s.from(e,n)),s.isBuffer(e))return e.length===0?-1:Ue(t,e,r,n,i);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):Ue(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function Ue(t,e,r,n,i){var o=1,a=t.length,c=e.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||e.length<2)return-1;o=2,a/=2,c/=2,r/=2}function u(b,E){return o===1?b[E]:b.readUInt16BE(E*o)}var f;if(i){var h=-1;for(f=r;f<a;f++)if(u(t,f)===u(e,h===-1?0:f-h)){if(h===-1&&(h=f),f-h+1===c)return h*o}else h!==-1&&(f-=f-h),h=-1}else for(r+c>a&&(r=a-c),f=r;f>=0;f--){for(var m=!0,y=0;y<c;y++)if(u(t,f+y)!==u(e,y)){m=!1;break}if(m)return f}return-1}s.prototype.includes=function(e,r,n){return this.indexOf(e,r,n)!==-1};s.prototype.indexOf=function(e,r,n){return We(this,e,r,n,!0)};s.prototype.lastIndexOf=function(e,r,n){return We(this,e,r,n,!1)};function Hr(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var o=e.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var c=parseInt(e.substr(a*2,2),16);if(ye(c))return a;t[r+a]=c}return a}function qr(t,e,r,n){return ie(fe(e,t.length-r),t,r,n)}function jr(t,e,r,n){return ie(nt(e),t,r,n)}function zr(t,e,r,n){return ie(je(e),t,r,n)}function Kr(t,e,r,n){return ie(it(e,t.length-r),t,r,n)}s.prototype.write=function(e,r,n,i){if(r===void 0)i="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")i=r,n=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-r;if((n===void 0||n>o)&&(n=o),e.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var a=!1;;)switch(i){case"hex":return Hr(this,e,r,n);case"utf8":case"utf-8":return qr(this,e,r,n);case"ascii":case"latin1":case"binary":return jr(this,e,r,n);case"base64":return zr(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Kr(this,e,r,n);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0}};s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Xr(t,e,r){return e===0&&r===t.length?pe.fromByteArray(t):pe.fromByteArray(t.slice(e,r))}function Ve(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var o=t[i],a=null,c=o>239?4:o>223?3:o>191?2:1;if(i+c<=r){var u,f,h,m;switch(c){case 1:o<128&&(a=o);break;case 2:u=t[i+1],(u&192)===128&&(m=(o&31)<<6|u&63,m>127&&(a=m));break;case 3:u=t[i+1],f=t[i+2],(u&192)===128&&(f&192)===128&&(m=(o&15)<<12|(u&63)<<6|f&63,m>2047&&(m<55296||m>57343)&&(a=m));break;case 4:u=t[i+1],f=t[i+2],h=t[i+3],(u&192)===128&&(f&192)===128&&(h&192)===128&&(m=(o&15)<<18|(u&63)<<12|(f&63)<<6|h&63,m>65535&&m<1114112&&(a=m))}}a===null?(a=65533,c=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),i+=c}return Yr(n)}var Be=4096;function Yr(t){var e=t.length;if(e<=Be)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=Be));return r}function Zr(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]&127);return n}function Jr(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}function Qr(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=e;o<r;++o)i+=ot[t[o]];return i}function et(t,e,r){for(var n=t.slice(e,r),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}s.prototype.slice=function(e,r){var n=this.length;e=~~e,r=r===void 0?n:~~r,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<e&&(r=e);var i=this.subarray(e,r);return Object.setPrototypeOf(i,s.prototype),i};function T(t,e,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||T(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||T(e,r,this.length);for(var i=this[e+--r],o=1;r>0&&(o*=256);)i+=this[e+--r]*o;return i};s.prototype.readUint8=s.prototype.readUInt8=function(e,r){return e=e>>>0,r||T(e,1,this.length),this[e]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||T(e,2,this.length),this[e]|this[e+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||T(e,2,this.length),this[e]<<8|this[e+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||T(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(e,r){return e=e>>>0,r||T(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};s.prototype.readIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||T(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*r)),i};s.prototype.readIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||T(e,r,this.length);for(var i=r,o=1,a=this[e+--i];i>0&&(o*=256);)a+=this[e+--i]*o;return o*=128,a>=o&&(a-=Math.pow(2,8*r)),a};s.prototype.readInt8=function(e,r){return e=e>>>0,r||T(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};s.prototype.readInt16LE=function(e,r){e=e>>>0,r||T(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(e,r){e=e>>>0,r||T(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(e,r){return e=e>>>0,r||T(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};s.prototype.readInt32BE=function(e,r){return e=e>>>0,r||T(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};s.prototype.readFloatLE=function(e,r){return e=e>>>0,r||T(e,4,this.length),$.read(this,e,!0,23,4)};s.prototype.readFloatBE=function(e,r){return e=e>>>0,r||T(e,4,this.length),$.read(this,e,!1,23,4)};s.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||T(e,8,this.length),$.read(this,e,!0,52,8)};s.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||T(e,8,this.length),$.read(this,e,!1,52,8)};function w(t,e,r,n,i,o){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;w(this,e,r,n,o,0)}var a=1,c=0;for(this[r]=e&255;++c<n&&(a*=256);)this[r+c]=e/a&255;return r+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;w(this,e,r,n,o,0)}var a=n-1,c=1;for(this[r+a]=e&255;--a>=0&&(c*=256);)this[r+a]=e/c&255;return r+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,1,255,0),this[r]=e&255,r+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,65535,0),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,65535,0),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,4294967295,0),this[r+3]=e>>>24,this[r+2]=e>>>16,this[r+1]=e>>>8,this[r]=e&255,r+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,4294967295,0),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};s.prototype.writeIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);w(this,e,r,n,o-1,-o)}var a=0,c=1,u=0;for(this[r]=e&255;++a<n&&(c*=256);)e<0&&u===0&&this[r+a-1]!==0&&(u=1),this[r+a]=(e/c>>0)-u&255;return r+n};s.prototype.writeIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);w(this,e,r,n,o-1,-o)}var a=n-1,c=1,u=0;for(this[r+a]=e&255;--a>=0&&(c*=256);)e<0&&u===0&&this[r+a+1]!==0&&(u=1),this[r+a]=(e/c>>0)-u&255;return r+n};s.prototype.writeInt8=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,1,127,-128),e<0&&(e=255+e+1),this[r]=e&255,r+1};s.prototype.writeInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,32767,-32768),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,32767,-32768),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,2147483647,-2147483648),this[r]=e&255,this[r+1]=e>>>8,this[r+2]=e>>>16,this[r+3]=e>>>24,r+4};s.prototype.writeInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};function $e(t,e,r,n,i,o){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function He(t,e,r,n,i){return e=+e,r=r>>>0,i||$e(t,e,r,4,34028234663852886e22,-34028234663852886e22),$.write(t,e,r,n,23,4),r+4}s.prototype.writeFloatLE=function(e,r,n){return He(this,e,r,!0,n)};s.prototype.writeFloatBE=function(e,r,n){return He(this,e,r,!1,n)};function qe(t,e,r,n,i){return e=+e,r=r>>>0,i||$e(t,e,r,8,17976931348623157e292,-17976931348623157e292),$.write(t,e,r,n,52,8),r+8}s.prototype.writeDoubleLE=function(e,r,n){return qe(this,e,r,!0,n)};s.prototype.writeDoubleBE=function(e,r,n){return qe(this,e,r,!1,n)};s.prototype.copy=function(e,r,n,i){if(!s.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),r>=e.length&&(r=e.length),r||(r=0),i>0&&i<n&&(i=n),i===n||e.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-r<i-n&&(i=e.length-r+n);var o=i-n;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,n,i):Uint8Array.prototype.set.call(e,this.subarray(n,i),r),o};s.prototype.fill=function(e,r,n,i){if(typeof e=="string"){if(typeof r=="string"?(i=r,r=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(e.length===1){var o=e.charCodeAt(0);(i==="utf8"&&o<128||i==="latin1")&&(e=o)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;r=r>>>0,n=n===void 0?this.length:n>>>0,e||(e=0);var a;if(typeof e=="number")for(a=r;a<n;++a)this[a]=e;else{var c=s.isBuffer(e)?e:s.from(e,i),u=c.length;if(u===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(a=0;a<n-r;++a)this[a+r]=c[a%u]}return this};var rt=/[^+/0-9A-Za-z-_]/g;function tt(t){if(t=t.split("=")[0],t=t.trim().replace(rt,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function fe(t,e){e=e||1/0;for(var r,n=t.length,i=null,o=[],a=0;a<n;++a){if(r=t.charCodeAt(a),r>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&o.push(239,191,189);continue}else if(a+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&o.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,r&63|128)}else if(r<65536){if((e-=3)<0)break;o.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return o}function nt(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function it(t,e){for(var r,n,i,o=[],a=0;a<t.length&&!((e-=2)<0);++a)r=t.charCodeAt(a),n=r>>8,i=r%256,o.push(i),o.push(n);return o}function je(t){return pe.toByteArray(tt(t))}function ie(t,e,r,n){for(var i=0;i<n&&!(i+r>=e.length||i>=t.length);++i)e[i+r]=t[i];return i}function _(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function ye(t){return t!==t}var ot=function(){for(var t="0123456789abcdef",e=new Array(256),r=0;r<16;++r)for(var n=r*16,i=0;i<16;++i)e[n+i]=t[r]+t[i];return e}()});var Je=re((xt,Ze)=>{l();var x=Ze.exports={},A,k;function xe(){throw new Error("setTimeout has not been defined")}function Te(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?A=setTimeout:A=xe}catch(t){A=xe}try{typeof clearTimeout=="function"?k=clearTimeout:k=Te}catch(t){k=Te}})();function Ke(t){if(A===setTimeout)return setTimeout(t,0);if((A===xe||!A)&&setTimeout)return A=setTimeout,setTimeout(t,0);try{return A(t,0)}catch(e){try{return A.call(null,t,0)}catch(r){return A.call(this,t,0)}}}function at(t){if(k===clearTimeout)return clearTimeout(t);if((k===Te||!k)&&clearTimeout)return k=clearTimeout,clearTimeout(t);try{return k(t)}catch(e){try{return k.call(null,t)}catch(r){return k.call(this,t)}}}var L=[],q=!1,P,oe=-1;function st(){!q||!P||(q=!1,P.length?L=P.concat(L):oe=-1,L.length&&Xe())}function Xe(){if(!q){var t=Ke(st);q=!0;for(var e=L.length;e;){for(P=L,L=[];++oe<e;)P&&P[oe].run();oe=-1,e=L.length}P=null,q=!1,at(t)}}x.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];L.push(new Ye(t,e)),L.length===1&&!q&&Ke(Xe)};function Ye(t,e){this.fun=t,this.array=e}Ye.prototype.run=function(){this.fun.apply(null,this.array)};x.title="browser";x.browser=!0;x.env={};x.argv=[];x.version="";x.versions={};function D(){}x.on=D;x.addListener=D;x.once=D;x.off=D;x.removeListener=D;x.removeAllListeners=D;x.emit=D;x.prependListener=D;x.prependOnceListener=D;x.listeners=function(t){return[]};x.binding=function(t){throw new Error("process.binding is not supported")};x.cwd=function(){return"/"};x.chdir=function(t){throw new Error("process.chdir is not supported")};x.umask=function(){return 0}});var p,d,Tt,l=kr(()=>{p=V(ze()),d=V(Je()),Tt=function(t){function e(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return e();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:e});var r=__magic__;return r}(Object)});var dt={};Nr(dt,{getTransactionActionNftText:()=>pt});module.exports=Er(dt);l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();var be=require("@multiversx/sdk-dapp-utils/out/constants/crossWindowProviderConstants"),j=require("@multiversx/sdk-dapp-utils/out/enums/crossWindowProviderEnums");var Qe=(r=>(r.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",r.reloginRequest="RELOGIN_REQUEST",r))(Qe||{}),Dt=W(W({},j.CrossWindowProviderRequestEnums),Qe),er=(e=>(e.reloginResponse="RELOGIN_RESPONSE",e))(er||{}),Ct=W(W({},j.CrossWindowProviderResponseEnums),er);l();l();l();l();l();l();var we={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",xAliasAddress:"https://devnet.xalias.com",apiAddress:"https://devnet-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",apiTimeout:"4000",roundDuration:6e3},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",xAliasAddress:"https://testnet.xalias.com",apiAddress:"https://testnet-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",apiTimeout:"4000",roundDuration:6e3},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",xAliasAddress:"https://xalias.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",apiTimeout:"4000",roundDuration:6e3}},{chainId:rr,egldLabel:Yt}=we["devnet"],{chainId:tr,egldLabel:Zt}=we["testnet"],{chainId:nr,egldLabel:Jt}=we["mainnet"];var Qt={["devnet"]:rr,["testnet"]:tr,["mainnet"]:nr},en={[rr]:"devnet",[tr]:"testnet",[nr]:"mainnet"};l();l();var N=require("@multiversx/sdk-web-wallet-provider");l();var ir,or,ve=String((or=(ir=be.safeWindow)==null?void 0:ir.navigator)==null?void 0:or.userAgent),an=/^((?!chrome|android).)*safari/i.test(ve),sn=/firefox/i.test(ve)&&/windows/i.test(ve);var M=18,ae=4;var se="0";l();var sr=require("@multiversx/sdk-core"),F=V(require("bignumber.js"));l();var ar=V(require("bignumber.js")),Se=(t,e=!0)=>{let r=String(t);if(!r.match(/^[-]?\d+$/))return!1;let n=new ar.default(r),i=e?0:-1;return n.toString(10)===r&&n.comparedTo(0)>=i};l();function C(t){return{if:function(e){return e?{then:r=>r instanceof Function?C(r(t)):C(r)}:{then:()=>C(t)}},then:e=>e instanceof Function?C(e(t)):C(e),valueOf:function(){return t}}}F.default.config({ROUNDING_MODE:F.default.ROUND_FLOOR});function le({input:t,decimals:e=M,digits:r=ae,showLastNonZeroDecimal:n=!0,showIsLessThanDecimalsLabel:i=!1,addCommas:o=!1}){if(!Se(t,!1))throw new Error("Invalid input");let a=new F.default(t).isNegative(),c=t;return a&&(c=t.substring(1)),C(c).then(()=>sr.TokenTransfer.fungibleFromBigInteger("",c,e).amountAsBigInteger.shiftedBy(-e).toFixed(e)).then(u=>{let f=new F.default(u);if(f.isZero())return se;let h=f.toString(10),[m,y]=h.split("."),b=new F.default(y||0),E=C(0).if(Boolean(y&&n)).then(()=>Math.max(y.length,r)).if(b.isZero()&&!n).then(0).if(Boolean(y&&!n)).then(()=>Math.min(y.length,r)).valueOf(),Z=y&&r>=1&&r<=y.length&&b.isGreaterThan(0)&&new F.default(y.substring(0,r)).isZero(),Tr=f.toFormat(E);return C(h).if(o).then(Tr).if(Boolean(Z)).then(J=>{let K=new F.default(m).isZero(),[S,Q]=J.split("."),ee=new Array(r-1).fill(0),br=[...ee,0].join(""),wr=[...ee,1].join("");return K?i?`<${S}.${wr}`:n?`${S}.${Q}`:S:`${S}.${br}`}).if(Boolean(!Z&&y)).then(J=>{let[K]=J.split("."),S=y.substring(0,E);if(n){let Q=r-S.length;if(Q>0){let ee=Array(Q).fill(0).join("");return S=`${S}${ee}`,`${K}.${S}`}return J}return S?`${K}.${S}`:K}).valueOf()}).if(a).then(u=>`-${u}`).valueOf()}l();l();var lt=require("@multiversx/sdk-core");l();var Y=require("@multiversx/sdk-core"),ut=V(require("bignumber.js"));l();l();l();var ct=V(require("bignumber.js"));l();l();l();l();l();l();l();l();l();l();var O="accounts";var lr="blocks",cr="code",ur="collections";var pr="contracts";var dr="identities";var gr="locked-accounts",fr="logs",mr="miniblocks";var Ie="nfts",hr="nodes",_e="providers",yr="roles",Ae="sc-results";var z="tokens";var G="transactions";var xr={shard:t=>`/${lr}?shard=${t}`,receiverShard:t=>`/${G}?receivershard=${t}`,senderShard:t=>`/${G}?sendershard=${t}`,transactionDetails:t=>`/${G}/${t}`,transactionDetailsScResults:t=>`/${G}/${t}/${Ae}`,transactionDetailsLogs:t=>`/${G}/${t}/${fr}`,nodeDetails:t=>`/${hr}/${t}`,accountDetails:t=>`/${O}/${t}`,accountDetailsContractCode:t=>`/${O}/${t}/${cr}`,accountDetailsTokens:t=>`/${O}/${t}/${z}`,accountDetailsNfts:t=>`/${O}/${t}/${Ie}`,accountDetailsScResults:t=>`/${O}/${t}/${Ae}`,accountDetailsContracts:t=>`/${O}/${t}/${pr}`,identityDetails:t=>`/${dr}/${t}`,tokenDetails:t=>`/${z}/${t}`,tokenDetailsAccounts:t=>`/${z}/${t}/${O}`,tokenDetailsLockedAccounts:t=>`/${z}/${t}/${gr}`,tokenDetailsRoles:t=>`/${z}/${t}/${yr}`,collectionDetails:t=>`/${ur}/${t}`,nftDetails:t=>`/${Ie}/${t}`,providerDetails:t=>`/${_e}/${t}`,providerDetailsTransactions:t=>`/${_e}/${t}/${G}`,miniblockDetails:t=>`/${mr}/${t}`};function pt({token:t,noValue:e,showLastNonZeroDecimal:r}){var f;let n=!e&&t.value&&t.type!=="NonFungibleESDT",i=t.decimals!=null,o="";t.type==="NonFungibleESDT"&&(o="NFT"),t.type==="SemiFungibleESDT"&&(o="SFT"),t.type==="MetaESDT"&&(o="Meta-ESDT");let a="";n&&i&&(a=i?le({input:t.value,decimals:t.decimals,digits:2,showLastNonZeroDecimal:r}):Number(t.value).toLocaleString("en"));let c=xr.nftDetails(String(t.identifier)),u=t.ticker===t.collection&&(f=t.identifier)!=null?f:t.ticker;return{badgeText:o,tokenFormattedAmount:n?a:null,tokenExplorerLink:c,tokenLinkText:u,token:t,noValue:e,showLastNonZeroDecimal:r}}0&&(module.exports={getTransactionActionNftText});
|
|
2
2
|
/*!
|
|
3
3
|
* The buffer module from node.js, for the browser.
|
|
4
4
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
"use strict";var ot=Object.create;var te=Object.defineProperty,at=Object.defineProperties,st=Object.getOwnPropertyDescriptor,ct=Object.getOwnPropertyDescriptors,lt=Object.getOwnPropertyNames,We=Object.getOwnPropertySymbols,pt=Object.getPrototypeOf,$e=Object.prototype.hasOwnProperty,ut=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,P=(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))ut.call(e,t)&&Ve(r,t,e[t]);return r},ye=(r,e)=>at(r,ct(e));var dt=(r,e)=>()=>(r&&(e=r(r=0)),e);var se=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports),gt=(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 lt(e))!$e.call(r,i)&&i!==t&&te(r,i,{get:()=>e[i],enumerable:!(n=st(e,i))||n.enumerable});return r};var A=(r,e,t)=>(t=r!=null?ot(pt(r)):{},He(e||!r||!r.__esModule?te(t,"default",{value:r,enumerable:!0}):t,r)),mt=r=>He(te({},"__esModule",{value:!0}),r);var ze=se(ce=>{"use strict";a();ce.byteLength=ht;ce.toByteArray=xt;ce.fromByteArray=bt;var N=[],v=[],ft=typeof Uint8Array!="undefined"?Uint8Array:Array,xe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(V=0,qe=xe.length;V<qe;++V)N[V]=xe[V],v[xe.charCodeAt(V)]=V;var V,qe;v["-".charCodeAt(0)]=62;v["_".charCodeAt(0)]=63;function je(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 ht(r){var e=je(r),t=e[0],n=e[1];return(t+n)*3/4-n}function yt(r,e,t){return(e+t)*3/4-t}function xt(r){var e,t=je(r),n=t[0],i=t[1],o=new ft(yt(r,n,i)),s=0,d=i>0?n-4:n,g;for(g=0;g<d;g+=4)e=v[r.charCodeAt(g)]<<18|v[r.charCodeAt(g+1)]<<12|v[r.charCodeAt(g+2)]<<6|v[r.charCodeAt(g+3)],o[s++]=e>>16&255,o[s++]=e>>8&255,o[s++]=e&255;return i===2&&(e=v[r.charCodeAt(g)]<<2|v[r.charCodeAt(g+1)]>>4,o[s++]=e&255),i===1&&(e=v[r.charCodeAt(g)]<<10|v[r.charCodeAt(g+1)]<<4|v[r.charCodeAt(g+2)]>>2,o[s++]=e>>8&255,o[s++]=e&255),o}function Tt(r){return N[r>>18&63]+N[r>>12&63]+N[r>>6&63]+N[r&63]}function wt(r,e,t){for(var n,i=[],o=e;o<t;o+=3)n=(r[o]<<16&16711680)+(r[o+1]<<8&65280)+(r[o+2]&255),i.push(Tt(n));return i.join("")}function bt(r){for(var e,t=r.length,n=t%3,i=[],o=16383,s=0,d=t-n;s<d;s+=o)i.push(wt(r,s,s+o>d?d:s+o));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=se(Te=>{a();Te.read=function(r,e,t,n,i){var o,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,o=T&(1<<-f)-1,T>>=-f,f+=d;f>0;o=o*256+r[e+h],h+=y,f-=8);for(s=o&(1<<-f)-1,o>>=-f,f+=n;f>0;s=s*256+r[e+h],h+=y,f-=8);if(o===0)o=1-m;else{if(o===g)return s?NaN:(T?-1:1)*(1/0);s=s+Math.pow(2,n),o=o-m}return(T?-1:1)*s*Math.pow(2,o-n)};Te.write=function(r,e,t,n,i,o){var s,d,g,m=o*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:o-1,S=n?1:-1,j=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+=S,d/=256,i-=8);for(s=s<<i|d,m+=i;m>0;r[t+T]=s&255,T+=S,s/=256,m-=8);r[t+T-S]|=j*128}});var sr=se(K=>{"use strict";a();var we=ze(),z=Ke(),Xe=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;K.Buffer=c;K.SlowBuffer=Nt;K.INSPECT_MAX_BYTES=50;var le=2147483647;K.kMaxLength=le;c.TYPED_ARRAY_SUPPORT=vt();!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 vt(){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>le)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 ke(r)}return Je(r,e,t)}c.poolSize=8192;function Je(r,e,t){if(typeof r=="string")return kt(r,e);if(ArrayBuffer.isView(r))return At(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 ve(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=It(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 St(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 St(r,e,t)};function ke(r){return Qe(r),D(r<0?0:Ae(r)|0)}c.allocUnsafe=function(r){return ke(r)};c.allocUnsafeSlow=function(r){return ke(r)};function kt(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 be(r){for(var e=r.length<0?0:Ae(r.length)|0,t=D(e),n=0;n<e;n+=1)t[n]=r[n]&255;return t}function At(r){if(E(r,Uint8Array)){var e=new Uint8Array(r);return ve(e.buffer,e.byteOffset,e.byteLength)}return be(r)}function ve(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 It(r){if(c.isBuffer(r)){var e=Ae(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"||Ie(r.length)?D(0):be(r);if(r.type==="Buffer"&&Array.isArray(r.data))return be(r.data)}function Ae(r){if(r>=le)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+le.toString(16)+" bytes");return r|0}function Nt(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,o=0,s=Math.min(n,i);o<s;++o)if(e[o]!==t[o]){n=e[o],i=t[o];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),o=0;for(n=0;n<e.length;++n){var s=e[n];if(E(s,Uint8Array))o+s.length>i.length?c.from(s).copy(i,o):Uint8Array.prototype.set.call(i,s,o);else if(c.isBuffer(s))s.copy(i,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=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 Se(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:Se(r).length;e=(""+e).toLowerCase(),i=!0}}c.byteLength=er;function Et(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 Ut(this,e,t);case"utf8":case"utf-8":return tr(this,e,t);case"ascii":return Bt(this,e,t);case"latin1":case"binary":return Pt(this,e,t);case"base64":return Ft(this,e,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Mt(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):Et.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,o){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),o===void 0&&(o=this.length),t<0||n>e.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&t>=n)return 0;if(i>=o)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,i>>>=0,o>>>=0,this===e)return 0;for(var s=o-i,d=n-t,g=Math.min(s,d),m=this.slice(i,o),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,Ie(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 o=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;o=2,s/=2,d/=2,t/=2}function g(T,S){return o===1?T[S]:T.readUInt16BE(S*o)}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*o}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 _t(r,e,t,n){t=Number(t)||0;var i=r.length-t;n?(n=Number(n),n>i&&(n=i)):n=i;var o=e.length;n>o/2&&(n=o/2);for(var s=0;s<n;++s){var d=parseInt(e.substr(s*2,2),16);if(Ie(d))return s;r[t+s]=d}return s}function Rt(r,e,t,n){return pe(Se(e,r.length-t),r,t,n)}function Lt(r,e,t,n){return pe(Vt(e),r,t,n)}function Dt(r,e,t,n){return pe(ar(e),r,t,n)}function Ct(r,e,t,n){return pe($t(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 o=this.length-t;if((n===void 0||n>o)&&(n=o),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 _t(this,e,t,n);case"utf8":case"utf-8":return Rt(this,e,t,n);case"ascii":case"latin1":case"binary":return Lt(this,e,t,n);case"base64":return Dt(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ct(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 Ft(r,e,t){return e===0&&t===r.length?we.fromByteArray(r):we.fromByteArray(r.slice(e,t))}function tr(r,e,t){t=Math.min(r.length,t);for(var n=[],i=e;i<t;){var o=r[i],s=null,d=o>239?4:o>223?3:o>191?2:1;if(i+d<=t){var g,m,f,h;switch(d){case 1:o<128&&(s=o);break;case 2:g=r[i+1],(g&192)===128&&(h=(o&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=(o&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=(o&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 Ot(n)}var Ze=4096;function Ot(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 Bt(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 Pt(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 Ut(r,e,t){var n=r.length;(!e||e<0)&&(e=0),(!t||t<0||t>n)&&(t=n);for(var i="",o=e;o<t;++o)i+=Ht[r[o]];return i}function Mt(r,e,t){for(var n=r.slice(e,t),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+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],o=1,s=0;++s<t&&(o*=256);)i+=this[e+s]*o;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],o=1;t>0&&(o*=256);)i+=this[e+--t]*o;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],o=1,s=0;++s<t&&(o*=256);)i+=this[e+s]*o;return o*=128,i>=o&&(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,o=1,s=this[e+--i];i>0&&(o*=256);)s+=this[e+--i]*o;return o*=128,s>=o&&(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),z.read(this,e,!0,23,4)};c.prototype.readFloatBE=function(e,t){return e=e>>>0,t||w(e,4,this.length),z.read(this,e,!1,23,4)};c.prototype.readDoubleLE=function(e,t){return e=e>>>0,t||w(e,8,this.length),z.read(this,e,!0,52,8)};c.prototype.readDoubleBE=function(e,t){return e=e>>>0,t||w(e,8,this.length),z.read(this,e,!1,52,8)};function b(r,e,t,n,i,o){if(!c.isBuffer(r))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(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 o=Math.pow(2,8*n)-1;b(this,e,t,n,o,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 o=Math.pow(2,8*n)-1;b(this,e,t,n,o,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 o=Math.pow(2,8*n-1);b(this,e,t,n,o-1,-o)}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 o=Math.pow(2,8*n-1);b(this,e,t,n,o-1,-o)}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,o){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),z.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),z.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 o=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),o};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 o=e.charCodeAt(0);(i==="utf8"&&o<128||i==="latin1")&&(e=o)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(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 Gt=/[^+/0-9A-Za-z-_]/g;function Wt(r){if(r=r.split("=")[0],r=r.trim().replace(Gt,""),r.length<2)return"";for(;r.length%4!==0;)r=r+"=";return r}function Se(r,e){e=e||1/0;for(var t,n=r.length,i=null,o=[],s=0;s<n;++s){if(t=r.charCodeAt(s),t>55295&&t<57344){if(!i){if(t>56319){(e-=3)>-1&&o.push(239,191,189);continue}else if(s+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=t;continue}if(t<56320){(e-=3)>-1&&o.push(239,191,189),i=t;continue}t=(i-55296<<10|t-56320)+65536}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,t<128){if((e-=1)<0)break;o.push(t)}else if(t<2048){if((e-=2)<0)break;o.push(t>>6|192,t&63|128)}else if(t<65536){if((e-=3)<0)break;o.push(t>>12|224,t>>6&63|128,t&63|128)}else if(t<1114112){if((e-=4)<0)break;o.push(t>>18|240,t>>12&63|128,t>>6&63|128,t&63|128)}else throw new Error("Invalid code point")}return o}function Vt(r){for(var e=[],t=0;t<r.length;++t)e.push(r.charCodeAt(t)&255);return e}function $t(r,e){for(var t,n,i,o=[],s=0;s<r.length&&!((e-=2)<0);++s)t=r.charCodeAt(s),n=t>>8,i=t%256,o.push(i),o.push(n);return o}function ar(r){return we.toByteArray(Wt(r))}function pe(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 Ie(r){return r!==r}var Ht=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=se((Ln,ur)=>{a();var x=ur.exports={},_,R;function Ne(){throw new Error("setTimeout has not been defined")}function Ee(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?_=setTimeout:_=Ne}catch(r){_=Ne}try{typeof clearTimeout=="function"?R=clearTimeout:R=Ee}catch(r){R=Ee}})();function cr(r){if(_===setTimeout)return setTimeout(r,0);if((_===Ne||!_)&&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 qt(r){if(R===clearTimeout)return clearTimeout(r);if((R===Ee||!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,ue=-1;function jt(){!X||!H||(X=!1,H.length?C=H.concat(C):ue=-1,C.length&&lr())}function lr(){if(!X){var r=cr(jt);X=!0;for(var e=C.length;e;){for(H=C,C=[];++ue<e;)H&&H[ue].run();ue=-1,e=C.length}H=null,X=!1,qt(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,Dn,a=dt(()=>{l=A(sr()),p=A(dr()),Dn=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 An={};gt(An,{getEventListDataHexValue:()=>zt,getEventListHighlight:()=>Kt,getOperationDirection:()=>Yt,getOperationList:()=>rt,getScResultsDecodedData:()=>Zt,getScResultsHighlight:()=>Jt,getScamFlag:()=>Qt,getShardText:()=>en,getTextWithLinks:()=>fr,getTransactionActionNftText:()=>on,getTransactionActionTokenText:()=>an,getTransactionFee:()=>cn,getTransactionLinkWithLabel:()=>ln,getTransactionMessages:()=>un,getTransactionStatus:()=>gn,getTransactionStatusText:()=>mn,getTrimmedHash:()=>fn,getVisibleOperations:()=>hn,internalTransactionActions:()=>et,transactionActionUnwrapper:()=>yn,useDataDecode:()=>vn,useDataDecodeMethod:()=>Sn,useGetOperationList:()=>kn});module.exports=mt(An);a();a();var zt=r=>l.Buffer.from(String(r==null?void 0:r.data),"base64").toString("hex");a();a();a();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:o}}=window;return{pathname:e,hash:t,origin:n,href:i,search:o}};var Kt=(r,e)=>{var d;let{hash:t}=Y(),n=t.split("/"),i=n[0]?n[0].replace("#",""):"",o=(d=n[1])!=null?d:0;return i===e&&r.order===Number(o)};a();a();var _e=(n=>(n.nft="nft",n.esdt="esdt",n.egld="egld",n))(_e||{});var U=(i=>(i.raw="raw",i.text="text",i.decimal="decimal",i.smart="smart",i))(U||{});var Yt=({operation:r,address:e})=>{let t=e===r.sender,n=e===r.receiver,i=t&&n,o=!i,s="";switch(!0){case t:s="Out";break;case n:s="In";break;case i:s="Self";break;case o:s="Internal";break}return{direction:s}};a();a();a();function de(r){for(let e=0;e<r.length;e++)if(r.charCodeAt(e)>127)return!1;return!0}function Re(r){let e=r;try{let t=l.Buffer.from(r,"hex").toString();de(t)&&t.length>1&&(e=t)}catch(t){}return e}var Zt=r=>{let e=l.Buffer.from(r,"base64").toString().split("@");return e.length>=2&&(e[0].length>0?e[0]=Re(e[0]):e[1]=Re(e[1])),e.join("@")};a();var Jt=r=>{let{hash:e}=Y();return e.substring(0,e.indexOf("/")>0?e.indexOf("/"):e.length).replace("#","")===r};a();var mr=A(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}},Qt=({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 o=`${i}${(g=e==null?void 0:e.info)!=null?g:"suspicious content"}`,{textWithLinks:s,hasLinks:d}=fr(r);return d||t||e?{message:o,textWithLinks:s,isSuspicious:!0}:{message:"",textWithLinks:s,isSuspicious:!1}};a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();var Le=require("@multiversx/sdk-dapp-utils/out/constants/crossWindowProviderConstants"),Z=require("@multiversx/sdk-dapp-utils/out/enums/crossWindowProviderEnums");var hr=(t=>(t.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",t.reloginRequest="RELOGIN_REQUEST",t))(hr||{}),si=P(P({},Z.CrossWindowProviderRequestEnums),hr),yr=(e=>(e.reloginResponse="RELOGIN_RESPONSE",e))(yr||{}),ci=P(P({},Z.CrossWindowProviderResponseEnums),yr);a();a();a();a();a();var De={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",xAliasAddress:"https://devnet.xalias.com",apiAddress:"https://devnet-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",apiTimeout:"4000",roundDuration:6e3},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",xAliasAddress:"https://testnet.xalias.com",apiAddress:"https://testnet-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",apiTimeout:"4000",roundDuration:6e3},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",xAliasAddress:"https://xalias.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",apiTimeout:"4000",roundDuration:6e3}},{chainId:xr,egldLabel:ki}=De["devnet"],{chainId:Tr,egldLabel:Ai}=De["testnet"],{chainId:wr,egldLabel:Ii}=De["mainnet"];var Ni={["devnet"]:xr,["testnet"]:Tr,["mainnet"]:wr},Ei={[xr]:"devnet",[Tr]:"testnet",[wr]:"mainnet"};a();a();var L=require("@multiversx/sdk-web-wallet-provider");a();var br,vr,Ce=String((vr=(br=Le.safeWindow)==null?void 0:br.navigator)==null?void 0:vr.userAgent),Ci=/^((?!chrome|android).)*safari/i.test(Ce),Fi=/firefox/i.test(Ce)&&/windows/i.test(Ce);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}`};a();a();a();a();a();var Nr=require("@multiversx/sdk-core"),M=A(require("bignumber.js"));a();var Ir=A(require("bignumber.js")),Fe=(r,e=!0)=>{let t=String(r);if(!t.match(/^[-]?\d+$/))return!1;let n=new Ir.default(t),i=e?0:-1;return n.toString(10)===t&&n.comparedTo(0)>=i};a();function O(r){return{if:function(e){return e?{then:t=>t instanceof Function?O(t(r)):O(t)}:{then:()=>O(r)}},then:e=>e instanceof Function?O(e(r)):O(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:o=!1}){if(!Fe(r,!1))throw new Error("Invalid input");let s=new M.default(r).isNegative(),d=r;return s&&(d=r.substring(1)),O(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),S=O(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(),j=y&&t>=1&&t<=y.length&&T.isGreaterThan(0)&&new M.default(y.substring(0,t)).isZero(),tt=m.toFormat(S);return O(f).if(o).then(tt).if(Boolean(j)).then(ie=>{let re=new M.default(h).isZero(),[k,oe]=ie.split("."),ae=new Array(t-1).fill(0),nt=[...ae,0].join(""),it=[...ae,1].join("");return re?i?`<${k}.${it}`:n?`${k}.${oe}`:k:`${k}.${nt}`}).if(Boolean(!j&&y)).then(ie=>{let[re]=ie.split("."),k=y.substring(0,S);if(n){let oe=t-k.length;if(oe>0){let ae=Array(oe).fill(0).join("");return k=`${k}${ae}`,`${re}.${k}`}return ie}return k?`${re}.${k}`:re}).valueOf()}).if(s).then(g=>`-${g}`).valueOf()}a();a();var rn=require("@multiversx/sdk-core");a();var ne=require("@multiversx/sdk-core"),nn=A(require("bignumber.js"));a();a();a();var tn=A(require("bignumber.js"));a();a();a();a();a();a();a();a();a();a();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 ge={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 on({token:r,noValue:e,showLastNonZeroDecimal:t}){var m;let n=!e&&r.value&&r.type!=="NonFungibleESDT",i=r.decimals!=null,o="";r.type==="NonFungibleESDT"&&(o="NFT"),r.type==="SemiFungibleESDT"&&(o="SFT"),r.type==="MetaESDT"&&(o="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=ge.nftDetails(String(r.identifier)),g=r.ticker===r.collection&&(m=r.identifier)!=null?m:r.ticker;return{badgeText:o,tokenFormattedAmount:n?s:null,tokenExplorerLink:d,tokenLinkText:g,token:r,noValue:e,showLastNonZeroDecimal:t}}a();function an({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,o=ge.tokenDetails(String(r.token)),s=r.ticker;return{tokenExplorerLink:o,tokenFormattedAmount:i,showFormattedAmount:n,tokenLinkText:s,token:r,showLastNonZeroDecimal:t}}a();var Ue=A(require("bignumber.js")),sn=r=>{let e=new Ue.default(r.gasPrice),t=new Ue.default(r.gasUsed);return e.times(t).toString()};function cn(r){return r.fee?r.fee:r.gasUsed===void 0?null:sn(r)}a();var ln=({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",o=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:o!=null?o:""}};a();a();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:[]}a();var Mr=A(require("bignumber.js"));var pn=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=pn(r),n=t?`: ${t}`:"";return`${e}${n}`}a();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 un(r){return Array.from(new Set([...Me(r),...Ur(r),Gr(r)])).filter(t=>Boolean(t))}a();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"),o=e("pending")||r.pendingResults;return{failed:t,success:n,invalid:i,pending:o}}a();var mn=r=>{switch(!0){case r.pendingResults:return"Pending (Smart Contract Execution)";case r.status==="reward-reverted":return"fail";default:return r.status.toString()}};a();var fn=(r,e=4)=>`${r.substring(0,Math.floor(r.length/e))}...${r.substring(r.length-Math.ceil(r.length/e))}`;a();var hn=r=>{var t,n;return(n=(t=r==null?void 0:r.operations)==null?void 0:t.filter(i=>Object.values(_e).includes(i.type)))!=null?n:[]};a();a();a();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[]}};a();var $r=A(require("bignumber.js"));var Hr=r=>{var e,t,n,i,o,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:(o=r.arguments)==null?void 0:o.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 S=r.arguments.transfers.map(({value:j})=>j);T=$r.default.sum.apply(null,S).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]:[]}};a();var qr=r=>{var e,t,n,i,o,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:(o=r.arguments)==null?void 0:o.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 yn=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]:[]}};a();var fe=require("react");a();a();a();a();var Xr=require("@multiversx/sdk-core/out"),Ge=A(require("bignumber.js"));a();var jr=require("@multiversx/sdk-core");function xn(r){try{let e=new jr.Address(r);return Boolean(e.bech32())}catch(e){return!1}}function zr(r){return(r==null?void 0:r.startsWith("erd"))&&r.length===62&&/^\w+$/.test(r)&&xn(r)}a();a();a();a();var Kr=r=>/\d/.test(r);var B=(r,e,t)=>{try{switch(e){case"text":return Kr(r)?l.Buffer.from(r,"hex").toString("utf8"):r;case"decimal":return new Ge.default(r,16).toString(10);case"smart":let i=Xr.Address.fromHex(r).toString();if(zr(i))return i;let o=l.Buffer.from(r,"hex").toString("utf8");return de(o)||t&&[...t.esdts,...t.nfts].some(g=>o.includes(g))?o:new Ge.default(r,16).toString(10);case"raw":default:return r}}catch(n){return console.error(`Error during data decoding of "${r}" as "${e}"`,n),r}};a();a();var Tn=r=>r.toLowerCase().match(/[0-9a-f]/g),wn=r=>r.length%2===0,Yr=r=>{let e=[];return r&&!Tn(r)&&e.push(`Invalid Hex characters on argument @${r}`),r&&!wn(r)&&e.push(`Odd number of Hex characters on argument @${r}`),e};a();var me=({parts:r,decodedParts:e,identifier:t})=>{let n=[...e];if(r[0]==="ESDTNFTTransfer"&&r[2]&&(n[2]=B(r[2],"decimal")),t==="ESDTNFTTransfer"&&r[1]){let i=l.Buffer.from(String(r[1]),"base64");n[1]=B(i.toString("hex"),"decimal")}return n};var Zr=({parts:r,decodeMethod:e,identifier:t,display:n})=>{let i=r.map((o,s)=>{if(r.length>=2&&(s===0&&o.length<64||s===1&&!r[0]))return/[^a-z0-9]/gi.test(o)?B(o,e):o;{let d=Yr(o);return d.length&&(n.validationWarnings=Array.from(new Set([...n.validationWarnings,...d]))),B(o,e)}});return e==="smart"?me({parts:r,decodedParts:i,identifier:t}):i};var Jr=({input:r,decodeMethod:e,identifier:t})=>{let n={displayValue:"",validationWarnings:[]};if(r.includes("@")){let i=r.split("@"),o=Zr({parts:i,identifier:t,decodeMethod:e,display:n});return n.displayValue=o.join("@"),n}if(r.includes(`
|
|
1
|
+
"use strict";var ot=Object.create;var te=Object.defineProperty,at=Object.defineProperties,st=Object.getOwnPropertyDescriptor,ct=Object.getOwnPropertyDescriptors,lt=Object.getOwnPropertyNames,We=Object.getOwnPropertySymbols,pt=Object.getPrototypeOf,$e=Object.prototype.hasOwnProperty,ut=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))ut.call(e,t)&&Ve(r,t,e[t]);return r},ye=(r,e)=>at(r,ct(e));var dt=(r,e)=>()=>(r&&(e=r(r=0)),e);var se=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports),gt=(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 lt(e))!$e.call(r,i)&&i!==t&&te(r,i,{get:()=>e[i],enumerable:!(n=st(e,i))||n.enumerable});return r};var A=(r,e,t)=>(t=r!=null?ot(pt(r)):{},He(e||!r||!r.__esModule?te(t,"default",{value:r,enumerable:!0}):t,r)),mt=r=>He(te({},"__esModule",{value:!0}),r);var ze=se(ce=>{"use strict";a();ce.byteLength=ht;ce.toByteArray=xt;ce.fromByteArray=bt;var N=[],v=[],ft=typeof Uint8Array!="undefined"?Uint8Array:Array,xe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(V=0,qe=xe.length;V<qe;++V)N[V]=xe[V],v[xe.charCodeAt(V)]=V;var V,qe;v["-".charCodeAt(0)]=62;v["_".charCodeAt(0)]=63;function je(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 ht(r){var e=je(r),t=e[0],n=e[1];return(t+n)*3/4-n}function yt(r,e,t){return(e+t)*3/4-t}function xt(r){var e,t=je(r),n=t[0],i=t[1],o=new ft(yt(r,n,i)),s=0,d=i>0?n-4:n,g;for(g=0;g<d;g+=4)e=v[r.charCodeAt(g)]<<18|v[r.charCodeAt(g+1)]<<12|v[r.charCodeAt(g+2)]<<6|v[r.charCodeAt(g+3)],o[s++]=e>>16&255,o[s++]=e>>8&255,o[s++]=e&255;return i===2&&(e=v[r.charCodeAt(g)]<<2|v[r.charCodeAt(g+1)]>>4,o[s++]=e&255),i===1&&(e=v[r.charCodeAt(g)]<<10|v[r.charCodeAt(g+1)]<<4|v[r.charCodeAt(g+2)]>>2,o[s++]=e>>8&255,o[s++]=e&255),o}function Tt(r){return N[r>>18&63]+N[r>>12&63]+N[r>>6&63]+N[r&63]}function wt(r,e,t){for(var n,i=[],o=e;o<t;o+=3)n=(r[o]<<16&16711680)+(r[o+1]<<8&65280)+(r[o+2]&255),i.push(Tt(n));return i.join("")}function bt(r){for(var e,t=r.length,n=t%3,i=[],o=16383,s=0,d=t-n;s<d;s+=o)i.push(wt(r,s,s+o>d?d:s+o));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=se(Te=>{a();Te.read=function(r,e,t,n,i){var o,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,o=T&(1<<-f)-1,T>>=-f,f+=d;f>0;o=o*256+r[e+h],h+=y,f-=8);for(s=o&(1<<-f)-1,o>>=-f,f+=n;f>0;s=s*256+r[e+h],h+=y,f-=8);if(o===0)o=1-m;else{if(o===g)return s?NaN:(T?-1:1)*(1/0);s=s+Math.pow(2,n),o=o-m}return(T?-1:1)*s*Math.pow(2,o-n)};Te.write=function(r,e,t,n,i,o){var s,d,g,m=o*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:o-1,S=n?1:-1,j=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+=S,d/=256,i-=8);for(s=s<<i|d,m+=i;m>0;r[t+T]=s&255,T+=S,s/=256,m-=8);r[t+T-S]|=j*128}});var sr=se(K=>{"use strict";a();var we=ze(),z=Ke(),Xe=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;K.Buffer=c;K.SlowBuffer=Nt;K.INSPECT_MAX_BYTES=50;var le=2147483647;K.kMaxLength=le;c.TYPED_ARRAY_SUPPORT=vt();!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 vt(){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>le)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 ke(r)}return Je(r,e,t)}c.poolSize=8192;function Je(r,e,t){if(typeof r=="string")return kt(r,e);if(ArrayBuffer.isView(r))return At(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 ve(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=It(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 St(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 St(r,e,t)};function ke(r){return Qe(r),D(r<0?0:Ae(r)|0)}c.allocUnsafe=function(r){return ke(r)};c.allocUnsafeSlow=function(r){return ke(r)};function kt(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 be(r){for(var e=r.length<0?0:Ae(r.length)|0,t=D(e),n=0;n<e;n+=1)t[n]=r[n]&255;return t}function At(r){if(E(r,Uint8Array)){var e=new Uint8Array(r);return ve(e.buffer,e.byteOffset,e.byteLength)}return be(r)}function ve(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 It(r){if(c.isBuffer(r)){var e=Ae(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"||Ie(r.length)?D(0):be(r);if(r.type==="Buffer"&&Array.isArray(r.data))return be(r.data)}function Ae(r){if(r>=le)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+le.toString(16)+" bytes");return r|0}function Nt(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,o=0,s=Math.min(n,i);o<s;++o)if(e[o]!==t[o]){n=e[o],i=t[o];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),o=0;for(n=0;n<e.length;++n){var s=e[n];if(E(s,Uint8Array))o+s.length>i.length?c.from(s).copy(i,o):Uint8Array.prototype.set.call(i,s,o);else if(c.isBuffer(s))s.copy(i,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=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 Se(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:Se(r).length;e=(""+e).toLowerCase(),i=!0}}c.byteLength=er;function Et(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 Bt(this,e,t);case"latin1":case"binary":return Ut(this,e,t);case"base64":return Ft(this,e,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Mt(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):Et.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,o){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),o===void 0&&(o=this.length),t<0||n>e.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&t>=n)return 0;if(i>=o)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,i>>>=0,o>>>=0,this===e)return 0;for(var s=o-i,d=n-t,g=Math.min(s,d),m=this.slice(i,o),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,Ie(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 o=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;o=2,s/=2,d/=2,t/=2}function g(T,S){return o===1?T[S]:T.readUInt16BE(S*o)}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*o}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 _t(r,e,t,n){t=Number(t)||0;var i=r.length-t;n?(n=Number(n),n>i&&(n=i)):n=i;var o=e.length;n>o/2&&(n=o/2);for(var s=0;s<n;++s){var d=parseInt(e.substr(s*2,2),16);if(Ie(d))return s;r[t+s]=d}return s}function Rt(r,e,t,n){return pe(Se(e,r.length-t),r,t,n)}function Lt(r,e,t,n){return pe(Vt(e),r,t,n)}function Dt(r,e,t,n){return pe(ar(e),r,t,n)}function Ct(r,e,t,n){return pe($t(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 o=this.length-t;if((n===void 0||n>o)&&(n=o),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 _t(this,e,t,n);case"utf8":case"utf-8":return Rt(this,e,t,n);case"ascii":case"latin1":case"binary":return Lt(this,e,t,n);case"base64":return Dt(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ct(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 Ft(r,e,t){return e===0&&t===r.length?we.fromByteArray(r):we.fromByteArray(r.slice(e,t))}function tr(r,e,t){t=Math.min(r.length,t);for(var n=[],i=e;i<t;){var o=r[i],s=null,d=o>239?4:o>223?3:o>191?2:1;if(i+d<=t){var g,m,f,h;switch(d){case 1:o<128&&(s=o);break;case 2:g=r[i+1],(g&192)===128&&(h=(o&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=(o&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=(o&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 Ot(n)}var Ze=4096;function Ot(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 Bt(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 Ut(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="",o=e;o<t;++o)i+=Ht[r[o]];return i}function Mt(r,e,t){for(var n=r.slice(e,t),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+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],o=1,s=0;++s<t&&(o*=256);)i+=this[e+s]*o;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],o=1;t>0&&(o*=256);)i+=this[e+--t]*o;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],o=1,s=0;++s<t&&(o*=256);)i+=this[e+s]*o;return o*=128,i>=o&&(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,o=1,s=this[e+--i];i>0&&(o*=256);)s+=this[e+--i]*o;return o*=128,s>=o&&(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),z.read(this,e,!0,23,4)};c.prototype.readFloatBE=function(e,t){return e=e>>>0,t||w(e,4,this.length),z.read(this,e,!1,23,4)};c.prototype.readDoubleLE=function(e,t){return e=e>>>0,t||w(e,8,this.length),z.read(this,e,!0,52,8)};c.prototype.readDoubleBE=function(e,t){return e=e>>>0,t||w(e,8,this.length),z.read(this,e,!1,52,8)};function b(r,e,t,n,i,o){if(!c.isBuffer(r))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(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 o=Math.pow(2,8*n)-1;b(this,e,t,n,o,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 o=Math.pow(2,8*n)-1;b(this,e,t,n,o,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 o=Math.pow(2,8*n-1);b(this,e,t,n,o-1,-o)}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 o=Math.pow(2,8*n-1);b(this,e,t,n,o-1,-o)}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,o){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),z.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),z.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 o=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),o};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 o=e.charCodeAt(0);(i==="utf8"&&o<128||i==="latin1")&&(e=o)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(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 Gt=/[^+/0-9A-Za-z-_]/g;function Wt(r){if(r=r.split("=")[0],r=r.trim().replace(Gt,""),r.length<2)return"";for(;r.length%4!==0;)r=r+"=";return r}function Se(r,e){e=e||1/0;for(var t,n=r.length,i=null,o=[],s=0;s<n;++s){if(t=r.charCodeAt(s),t>55295&&t<57344){if(!i){if(t>56319){(e-=3)>-1&&o.push(239,191,189);continue}else if(s+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=t;continue}if(t<56320){(e-=3)>-1&&o.push(239,191,189),i=t;continue}t=(i-55296<<10|t-56320)+65536}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,t<128){if((e-=1)<0)break;o.push(t)}else if(t<2048){if((e-=2)<0)break;o.push(t>>6|192,t&63|128)}else if(t<65536){if((e-=3)<0)break;o.push(t>>12|224,t>>6&63|128,t&63|128)}else if(t<1114112){if((e-=4)<0)break;o.push(t>>18|240,t>>12&63|128,t>>6&63|128,t&63|128)}else throw new Error("Invalid code point")}return o}function Vt(r){for(var e=[],t=0;t<r.length;++t)e.push(r.charCodeAt(t)&255);return e}function $t(r,e){for(var t,n,i,o=[],s=0;s<r.length&&!((e-=2)<0);++s)t=r.charCodeAt(s),n=t>>8,i=t%256,o.push(i),o.push(n);return o}function ar(r){return we.toByteArray(Wt(r))}function pe(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 Ie(r){return r!==r}var Ht=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=se((Ln,ur)=>{a();var x=ur.exports={},_,R;function Ne(){throw new Error("setTimeout has not been defined")}function Ee(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?_=setTimeout:_=Ne}catch(r){_=Ne}try{typeof clearTimeout=="function"?R=clearTimeout:R=Ee}catch(r){R=Ee}})();function cr(r){if(_===setTimeout)return setTimeout(r,0);if((_===Ne||!_)&&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 qt(r){if(R===clearTimeout)return clearTimeout(r);if((R===Ee||!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,ue=-1;function jt(){!X||!H||(X=!1,H.length?C=H.concat(C):ue=-1,C.length&&lr())}function lr(){if(!X){var r=cr(jt);X=!0;for(var e=C.length;e;){for(H=C,C=[];++ue<e;)H&&H[ue].run();ue=-1,e=C.length}H=null,X=!1,qt(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,Dn,a=dt(()=>{l=A(sr()),p=A(dr()),Dn=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 An={};gt(An,{getEventListDataHexValue:()=>zt,getEventListHighlight:()=>Kt,getOperationDirection:()=>Yt,getOperationList:()=>rt,getScResultsDecodedData:()=>Zt,getScResultsHighlight:()=>Jt,getScamFlag:()=>Qt,getShardText:()=>en,getTextWithLinks:()=>fr,getTransactionActionNftText:()=>on,getTransactionActionTokenText:()=>an,getTransactionFee:()=>cn,getTransactionLinkWithLabel:()=>ln,getTransactionMessages:()=>un,getTransactionStatus:()=>gn,getTransactionStatusText:()=>mn,getTrimmedHash:()=>fn,getVisibleOperations:()=>hn,internalTransactionActions:()=>et,transactionActionUnwrapper:()=>yn,useDataDecode:()=>vn,useDataDecodeMethod:()=>Sn,useGetOperationList:()=>kn});module.exports=mt(An);a();a();var zt=r=>l.Buffer.from(String(r==null?void 0:r.data),"base64").toString("hex");a();a();a();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:o}}=window;return{pathname:e,hash:t,origin:n,href:i,search:o}};var Kt=(r,e)=>{var d;let{hash:t}=Y(),n=t.split("/"),i=n[0]?n[0].replace("#",""):"",o=(d=n[1])!=null?d:0;return i===e&&r.order===Number(o)};a();a();var _e=(n=>(n.nft="nft",n.esdt="esdt",n.egld="egld",n))(_e||{});var P=(i=>(i.raw="raw",i.text="text",i.decimal="decimal",i.smart="smart",i))(P||{});var Yt=({operation:r,address:e})=>{let t=e===r.sender,n=e===r.receiver,i=t&&n,o=!i,s="";switch(!0){case t:s="Out";break;case n:s="In";break;case i:s="Self";break;case o:s="Internal";break}return{direction:s}};a();a();a();function de(r){for(let e=0;e<r.length;e++)if(r.charCodeAt(e)>127)return!1;return!0}function Re(r){let e=r;try{let t=l.Buffer.from(r,"hex").toString();de(t)&&t.length>1&&(e=t)}catch(t){}return e}var Zt=r=>{let e=l.Buffer.from(r,"base64").toString().split("@");return e.length>=2&&(e[0].length>0?e[0]=Re(e[0]):e[1]=Re(e[1])),e.join("@")};a();var Jt=r=>{let{hash:e}=Y();return e.substring(0,e.indexOf("/")>0?e.indexOf("/"):e.length).replace("#","")===r};a();var mr=A(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}},Qt=({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 o=`${i}${(g=e==null?void 0:e.info)!=null?g:"suspicious content"}`,{textWithLinks:s,hasLinks:d}=fr(r);return d||t||e?{message:o,textWithLinks:s,isSuspicious:!0}:{message:"",textWithLinks:s,isSuspicious:!1}};a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();var Le=require("@multiversx/sdk-dapp-utils/out/constants/crossWindowProviderConstants"),Z=require("@multiversx/sdk-dapp-utils/out/enums/crossWindowProviderEnums");var hr=(t=>(t.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",t.reloginRequest="RELOGIN_REQUEST",t))(hr||{}),si=U(U({},Z.CrossWindowProviderRequestEnums),hr),yr=(e=>(e.reloginResponse="RELOGIN_RESPONSE",e))(yr||{}),ci=U(U({},Z.CrossWindowProviderResponseEnums),yr);a();a();a();a();a();var De={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",xAliasAddress:"https://devnet.xalias.com",apiAddress:"https://devnet-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",apiTimeout:"4000",roundDuration:6e3},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",xAliasAddress:"https://testnet.xalias.com",apiAddress:"https://testnet-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",apiTimeout:"4000",roundDuration:6e3},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",xAliasAddress:"https://xalias.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",apiTimeout:"4000",roundDuration:6e3}},{chainId:xr,egldLabel:ki}=De["devnet"],{chainId:Tr,egldLabel:Ai}=De["testnet"],{chainId:wr,egldLabel:Ii}=De["mainnet"];var Ni={["devnet"]:xr,["testnet"]:Tr,["mainnet"]:wr},Ei={[xr]:"devnet",[Tr]:"testnet",[wr]:"mainnet"};a();a();var L=require("@multiversx/sdk-web-wallet-provider");a();var br,vr,Ce=String((vr=(br=Le.safeWindow)==null?void 0:br.navigator)==null?void 0:vr.userAgent),Ci=/^((?!chrome|android).)*safari/i.test(Ce),Fi=/firefox/i.test(Ce)&&/windows/i.test(Ce);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}`};a();a();a();a();a();var Nr=require("@multiversx/sdk-core"),M=A(require("bignumber.js"));a();var Ir=A(require("bignumber.js")),Fe=(r,e=!0)=>{let t=String(r);if(!t.match(/^[-]?\d+$/))return!1;let n=new Ir.default(t),i=e?0:-1;return n.toString(10)===t&&n.comparedTo(0)>=i};a();function O(r){return{if:function(e){return e?{then:t=>t instanceof Function?O(t(r)):O(t)}:{then:()=>O(r)}},then:e=>e instanceof Function?O(e(r)):O(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:o=!1}){if(!Fe(r,!1))throw new Error("Invalid input");let s=new M.default(r).isNegative(),d=r;return s&&(d=r.substring(1)),O(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),S=O(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(),j=y&&t>=1&&t<=y.length&&T.isGreaterThan(0)&&new M.default(y.substring(0,t)).isZero(),tt=m.toFormat(S);return O(f).if(o).then(tt).if(Boolean(j)).then(ie=>{let re=new M.default(h).isZero(),[k,oe]=ie.split("."),ae=new Array(t-1).fill(0),nt=[...ae,0].join(""),it=[...ae,1].join("");return re?i?`<${k}.${it}`:n?`${k}.${oe}`:k:`${k}.${nt}`}).if(Boolean(!j&&y)).then(ie=>{let[re]=ie.split("."),k=y.substring(0,S);if(n){let oe=t-k.length;if(oe>0){let ae=Array(oe).fill(0).join("");return k=`${k}${ae}`,`${re}.${k}`}return ie}return k?`${re}.${k}`:re}).valueOf()}).if(s).then(g=>`-${g}`).valueOf()}a();a();var rn=require("@multiversx/sdk-core");a();var ne=require("@multiversx/sdk-core"),nn=A(require("bignumber.js"));a();a();a();var tn=A(require("bignumber.js"));a();a();a();a();a();a();a();a();a();a();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",Ur="roles",Ue="sc-results";var ee="tokens";var q="transactions";var ge={shard:r=>`/${Er}?shard=${r}`,receiverShard:r=>`/${q}?receivershard=${r}`,senderShard:r=>`/${q}?sendershard=${r}`,transactionDetails:r=>`/${q}/${r}`,transactionDetailsScResults:r=>`/${q}/${r}/${Ue}`,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}/${Ue}`,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}/${Ur}`,collectionDetails:r=>`/${Rr}/${r}`,nftDetails:r=>`/${Oe}/${r}`,providerDetails:r=>`/${Be}/${r}`,providerDetailsTransactions:r=>`/${Be}/${r}/${q}`,miniblockDetails:r=>`/${Or}/${r}`};function on({token:r,noValue:e,showLastNonZeroDecimal:t}){var m;let n=!e&&r.value&&r.type!=="NonFungibleESDT",i=r.decimals!=null,o="";r.type==="NonFungibleESDT"&&(o="NFT"),r.type==="SemiFungibleESDT"&&(o="SFT"),r.type==="MetaESDT"&&(o="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=ge.nftDetails(String(r.identifier)),g=r.ticker===r.collection&&(m=r.identifier)!=null?m:r.ticker;return{badgeText:o,tokenFormattedAmount:n?s:null,tokenExplorerLink:d,tokenLinkText:g,token:r,noValue:e,showLastNonZeroDecimal:t}}a();function an({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,o=ge.tokenDetails(String(r.token)),s=r.ticker;return{tokenExplorerLink:o,tokenFormattedAmount:i,showFormattedAmount:n,tokenLinkText:s,token:r,showLastNonZeroDecimal:t}}a();var Pe=A(require("bignumber.js")),sn=r=>{let e=new Pe.default(r.gasPrice),t=new Pe.default(r.gasUsed);return e.times(t).toString()};function cn(r){return r.fee?r.fee:r.gasUsed===void 0?null:sn(r)}a();var ln=({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",o=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:o!=null?o:""}};a();a();function Pr(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:[]}a();var Mr=A(require("bignumber.js"));var pn=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=pn(r),n=t?`: ${t}`:"";return`${e}${n}`}a();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 un(r){return Array.from(new Set([...Me(r),...Pr(r),Gr(r)])).filter(t=>Boolean(t))}a();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"),o=e("pending")||r.pendingResults;return{failed:t,success:n,invalid:i,pending:o}}a();var mn=r=>{switch(!0){case r.pendingResults:return"Pending (Smart Contract Execution)";case r.status==="reward-reverted":return"fail";default:return r.status.toString()}};a();var fn=(r,e=4)=>`${r.substring(0,Math.floor(r.length/e))}...${r.substring(r.length-Math.ceil(r.length/e))}`;a();var hn=r=>{var t,n;return(n=(t=r==null?void 0:r.operations)==null?void 0:t.filter(i=>Object.values(_e).includes(i.type)))!=null?n:[]};a();a();a();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[]}};a();var $r=A(require("bignumber.js"));var Hr=r=>{var e,t,n,i,o,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:(o=r.arguments)==null?void 0:o.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 S=r.arguments.transfers.map(({value:j})=>j);T=$r.default.sum.apply(null,S).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]:[]}};a();var qr=r=>{var e,t,n,i,o,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:(o=r.arguments)==null?void 0:o.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 yn=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]:[]}};a();var fe=require("react");a();a();a();a();var Xr=require("@multiversx/sdk-core/out"),Ge=A(require("bignumber.js"));a();var jr=require("@multiversx/sdk-core");function xn(r){try{let e=new jr.Address(r);return Boolean(e.bech32())}catch(e){return!1}}function zr(r){return(r==null?void 0:r.startsWith("erd"))&&r.length===62&&/^\w+$/.test(r)&&xn(r)}a();a();a();a();var Kr=r=>/\d/.test(r);var B=(r,e,t)=>{try{switch(e){case"text":return Kr(r)?l.Buffer.from(r,"hex").toString("utf8"):r;case"decimal":return new Ge.default(r,16).toString(10);case"smart":let i=Xr.Address.fromHex(r).toString();if(zr(i))return i;let o=l.Buffer.from(r,"hex").toString("utf8");return de(o)||t&&[...t.esdts,...t.nfts].some(g=>o.includes(g))?o:new Ge.default(r,16).toString(10);case"raw":default:return r}}catch(n){return console.error(`Error during data decoding of "${r}" as "${e}"`,n),r}};a();a();var Tn=r=>r.toLowerCase().match(/[0-9a-f]/g),wn=r=>r.length%2===0,Yr=r=>{let e=[];return r&&!Tn(r)&&e.push(`Invalid Hex characters on argument @${r}`),r&&!wn(r)&&e.push(`Odd number of Hex characters on argument @${r}`),e};a();var me=({parts:r,decodedParts:e,identifier:t})=>{let n=[...e];if(r[0]==="ESDTNFTTransfer"&&r[2]&&(n[2]=B(r[2],"decimal")),t==="ESDTNFTTransfer"&&r[1]){let i=l.Buffer.from(String(r[1]),"base64");n[1]=B(i.toString("hex"),"decimal")}return n};var Zr=({parts:r,decodeMethod:e,identifier:t,display:n})=>{let i=r.map((o,s)=>{if(r.length>=2&&(s===0&&o.length<64||s===1&&!r[0]))return/[^a-z0-9]/gi.test(o)?B(o,e):o;{let d=Yr(o);return d.length&&(n.validationWarnings=Array.from(new Set([...n.validationWarnings,...d]))),B(o,e)}});return e==="smart"?me({parts:r,decodedParts:i,identifier:t}):i};var Jr=({input:r,decodeMethod:e,identifier:t})=>{let n={displayValue:"",validationWarnings:[]};if(r.includes("@")){let i=r.split("@"),o=Zr({parts:i,identifier:t,decodeMethod:e,display:n});return n.displayValue=o.join("@"),n}if(r.includes(`
|
|
2
2
|
`)){let i=r.split(`
|
|
3
3
|
`),o=i.map(d=>{let g=l.Buffer.from(String(d),"base64");return e==="raw"?d:B(g.toString("hex"),e)}),s=e==="smart"?me({parts:i,decodedParts:o,identifier:t}):o;return n.displayValue=s.join(`
|
|
4
|
-
`),n}return n.displayValue=B(r,e),n};var bn=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}],vn=({value:r,initialDecodeMethod:e,setDecodeMethod:t,identifier:n})=>{let[i,o]=(0,fe.useState)(e&&Object.values(
|
|
4
|
+
`),n}return n.displayValue=B(r,e),n};var bn=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}],vn=({value:r,initialDecodeMethod:e,setDecodeMethod:t,identifier:n})=>{let[i,o]=(0,fe.useState)(e&&Object.values(P).includes(e)?e:"raw"),{displayValue:s,validationWarnings:d}=Jr({input:r,decodeMethod:i,identifier:n});return(0,fe.useEffect)(()=>{t&&t(i)},[i]),{displayValue:s,validationWarnings:d,setActiveKey:o,decodeOptions:bn}};a();var he=require("react");var Sn=()=>{let{hash:r,pathname:e}=Y(),t=r.replace("#",""),n=t&&Object.values(P).includes(t)?t:"raw",[i,o]=(0,he.useState)(t);return(0,he.useEffect)(()=>{i&&i!=="raw"&&(window==null||window.history.replaceState({},document==null?void 0:document.title,`${e}#${i}`))},[i,e]),{initialDecodeMethod:n,decodeMethod:i,setDecodeMethod:o}};a();var Qr=require("react");var et=["create","localMint","ESDTLocalMint","addQuantity","burn","localBurn","ESDTLocalBurn","wipe","writeLog","signalError"];function rt({operations:r,transaction:e,isExpanded:t=!1,listLength:n=25}){let i=r.filter(f=>!et.includes(f.action)&&(f.sender===e.sender||f.receiver===e.sender)),o=i.length>0?i:r,s=o.length>n?o.slice(0,n):o,d=o.length>n?o.slice(n,o.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 kn(r){let[e,t]=(0,Qr.useState)(!1),n=()=>{t(d=>!d)},{displayedOperations:i,showToggleButton:o,toggleButtonText:s}=rt(ye(U({},r),{isExpanded:e}));return{isExpanded:e,displayedOperations:i,showToggleButton:o,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});
|
|
5
5
|
/*!
|
|
6
6
|
* The buffer module from node.js, for the browser.
|
|
7
7
|
*
|