@multiversx/sdk-dapp 3.0.17 → 3.0.19
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/SignWithExtensionModal/SignWithExtensionModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithExtensionModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithExtraModal/SignWithExtraModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithIframeModal/SignWithIframeModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithIframeModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithLedgerModal/LedgerGuardianSigningModalError.js +1 -1
- package/UI/SignTransactionsModals/SignWithLedgerModal/SignWithLedgerModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithLedgerModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithMetamaskModal/SignWithMetamaskModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithMetamaskModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithOperaModal/SignWithOperaModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithOperaModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithPasskeyModal/SignWithPasskeyModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithPasskeyModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithWalletConnectModal/SignWithWalletConnectModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithWalletConnectModal/index.js +1 -1
- package/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
- package/UI/SignTransactionsModals/components/DeviceConfirmationScreen.js +1 -1
- package/UI/SignTransactionsModals/components/SignWaitingScreenModal/SignWaitingScreenModal.js +1 -1
- package/UI/SignTransactionsModals/components/SignWaitingScreenModal/index.js +1 -1
- package/UI/SignTransactionsModals/components/TransactionStatusToast.js +1 -1
- package/UI/SignTransactionsModals/components/index.js +1 -1
- package/UI/SignTransactionsModals/index.js +1 -1
- package/UI/TokenDetails/index.js +1 -1
- package/UI/TransactionData/TransactionData.js +1 -1
- package/UI/TransactionData/components/TransactionDataDecode.js +1 -1
- package/UI/TransactionData/components/index.js +1 -1
- package/UI/TransactionData/index.js +1 -1
- package/UI/TransactionDetails/TransactionDetails.js +1 -1
- package/UI/TransactionDetails/components/TransactionDetailsBody.js +1 -1
- package/UI/TransactionDetails/components/index.js +1 -1
- package/UI/TransactionDetails/index.js +1 -1
- package/UI/TransactionInfo/TransactionInfo.js +1 -1
- package/UI/TransactionInfo/components/AddressDetailItem/AddressDetailitem.js +1 -1
- package/UI/TransactionInfo/components/AddressDetailItem/index.js +1 -1
- package/UI/TransactionInfo/components/DataDecode/DataDecode.js +1 -1
- package/UI/TransactionInfo/components/DataDecode/index.js +1 -1
- package/UI/TransactionInfo/components/DataField/DataField.js +1 -1
- package/UI/TransactionInfo/components/DataField/components/ModalLink/ModalLink.js +1 -1
- package/UI/TransactionInfo/components/DataField/components/ModalLink/index.js +1 -1
- package/UI/TransactionInfo/components/DataField/components/index.js +1 -1
- package/UI/TransactionInfo/components/DataField/index.js +1 -1
- package/UI/TransactionInfo/components/EventsList/EventsList.js +1 -1
- package/UI/TransactionInfo/components/EventsList/index.js +1 -1
- package/UI/TransactionInfo/components/NonceMessage/NonceMessage.js +1 -1
- package/UI/TransactionInfo/components/NonceMessage/index.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/OperationList.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/DetailedItem.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/OperationBlock.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/OperationRow.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/OperationText.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/OperationToken.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/index.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/index.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/ScResultsList.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultData/ResultData.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultData/index.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/ResultHash.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/index.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/ResultReceiver.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/index.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/ResultSender.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/index.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/index.js +1 -1
- package/UI/TransactionInfo/components/ScrDetailItem/ScrDetailItem.js +1 -1
- package/UI/TransactionInfo/components/ScrDetailItem/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/TransactionAction.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/ActionText/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/ActionToken.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionCollection.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionNft.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionToken.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionLogs/TransactionLogs.js +1 -1
- package/UI/TransactionInfo/components/TransactionLogs/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionStatus/TransactionStatus.js +1 -1
- package/UI/TransactionInfo/components/TransactionStatus/index.js +1 -1
- package/UI/TransactionInfo/components/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoAge/TransactionInfoAge.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoAge/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoEgldPrice/TransactionInfoEgldPrice.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoEgldPrice/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/TransactionInfoFee.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/TransactionInfoFrom.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasLimit/TransactionInfoGasLimit.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasLimit/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasPrice/TransactionInfoGasPrice.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasPrice/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/TransactionInfoGasUsed.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/TransactionInfoInputData.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/TransactionInfoMethod.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/TransactionInfoMiniblock.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/TransactionInfoNonce.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/TransactionInfoScResults.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/TransactionInfoStatus.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/TransactionInfoTo.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/TransactionInfoTokenOperations.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/TransactionInfoValue.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/index.js +1 -1
- package/UI/TransactionInfo/index.js +1 -1
- package/UI/TransactionsTable/TransactionsTable.js +1 -1
- package/UI/TransactionsTable/components/AccountName.js +1 -1
- package/UI/TransactionsTable/components/FailedTransactions.js +1 -1
- package/UI/TransactionsTable/components/LockedTokenAddressIcon.js +1 -1
- package/UI/TransactionsTable/components/ScAddressIcon.js +1 -1
- package/UI/TransactionsTable/components/ShardSpan.js +1 -1
- package/UI/TransactionsTable/components/TransactionHash.js +1 -1
- package/UI/TransactionsTable/components/TransactionIcon.js +1 -1
- package/UI/TransactionsTable/components/TransactionMethod.js +1 -1
- package/UI/TransactionsTable/components/TransactionReceiver.js +1 -1
- package/UI/TransactionsTable/components/TransactionRow.js +1 -1
- package/UI/TransactionsTable/components/TransactionSender.js +1 -1
- package/UI/TransactionsTable/components/TransactionShardsTransition.js +1 -1
- package/UI/TransactionsTable/components/TransactionValue/TransactionValue.js +1 -1
- package/UI/TransactionsTable/components/TransactionValue/index.js +1 -1
- package/UI/TransactionsTable/components/index.js +1 -1
- package/UI/TransactionsTable/index.js +1 -1
- package/UI/TransactionsToastList/TransactionsToastList.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/CustomToast.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/CustomComponentToast.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/IconToast.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/IconToastFooter.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/ComponentToastFooter.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/TransactionToastFooter.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/index.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/index.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/IconToast/index.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/SimpleToast.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/components/index.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/helpers/getIsTransaction.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/helpers/index.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/helpers/useMemoizedCloseButton.js +1 -1
- package/UI/TransactionsToastList/components/CustomToast/index.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/TransactionToast.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/components/DefaultToastDeleteButton.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/components/TransactionToastContent.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/components/index.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/hooks/useTransactionToast.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/index.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToastGuard.js +1 -1
- package/UI/TransactionsToastList/components/index.js +1 -1
- package/UI/TransactionsToastList/index.js +1 -1
- package/UI/Trim/Trim.js +1 -1
- package/UI/Trim/index.js +1 -1
- package/UI/UsdValue/UsdValue.js +1 -1
- package/UI/UsdValue/index.js +1 -1
- package/UI/extension/ExtensionLoginButton/ExtensionLoginButton.js +1 -1
- package/UI/extension/ExtensionLoginButton/index.js +1 -1
- package/UI/iframe/IframeLoginButton/IframeButton.js +1 -1
- package/UI/iframe/IframeLoginButton/index.js +1 -1
- package/UI/index.js +1 -1
- package/UI/ledger/LedgerLoginButton/LedgerLoginButton.js +1 -1
- package/UI/ledger/LedgerLoginButton/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/AddressRow/AddressRow.js +1 -1
- package/UI/ledger/LedgerLoginContainer/AddressRow/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/AddressTable/AddressTable.js +1 -1
- package/UI/ledger/LedgerLoginContainer/AddressTable/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/ConfirmAddress/ConfirmAddress.js +1 -1
- package/UI/ledger/LedgerLoginContainer/ConfirmAddress/helpers/getAuthTokenText.js +1 -1
- package/UI/ledger/LedgerLoginContainer/ConfirmAddress/helpers/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/ConfirmAddress/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerConnect/LedgerConnect.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerConnect/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerLoading/LedgerLoading.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerLoading/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerLoginContainer.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerLoginContent/LedgerLoginContent.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerLoginContent/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerLoginContentBody/LedgerLoginContentBody.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerLoginContentBody/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerScamPhishingAlert/LedgerScamPhishingAlert.js +1 -1
- package/UI/ledger/LedgerLoginContainer/LedgerScamPhishingAlert/index.js +1 -1
- package/UI/ledger/LedgerLoginContainer/index.js +1 -1
- package/UI/ledger/index.js +1 -1
- package/UI/metamask/MetamaskLoginButton/MetamaskLoginButton.js +1 -1
- package/UI/metamask/MetamaskLoginButton/index.js +1 -1
- package/UI/operaWallet/OperaWalletLoginButton/OperaWalletLoginButton.js +1 -1
- package/UI/operaWallet/OperaWalletLoginButton/index.js +1 -1
- package/UI/pages/UnlockPage/index.js +1 -1
- package/UI/pages/index.js +1 -1
- package/UI/passkey/PasskeyLoginButton/PasskeyLoginButton.js +1 -1
- package/UI/passkey/PasskeyLoginButton/index.js +1 -1
- package/UI/walletConnect/WalletConnectConnectionStatus/WalletConnectConnectionStatus.js +1 -1
- package/UI/walletConnect/WalletConnectConnectionStatus/index.js +1 -1
- package/UI/walletConnect/WalletConnectLoginButton/WalletConnectLoginButton.js +1 -1
- package/UI/walletConnect/WalletConnectLoginButton/index.js +1 -1
- package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContainer.js +1 -1
- package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContent/WalletConnectLoginContent.js +1 -1
- package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContent/index.js +1 -1
- package/UI/walletConnect/WalletConnectLoginContainer/index.js +1 -1
- package/UI/walletConnect/index.js +1 -1
- package/UI/webWallet/CrossWindowLoginButton/CrossWindowLoginButton.js +1 -1
- package/UI/webWallet/CrossWindowLoginButton/index.js +1 -1
- package/UI/webWallet/WebWalletLoginButton/WebWalletLoginButton.js +1 -1
- package/UI/webWallet/WebWalletLoginButton/index.js +1 -1
- package/UI/webWallet/XaliasCrossWindowLoginButton/XaliasCrossWindowLoginButton.js +1 -1
- package/UI/webWallet/XaliasCrossWindowLoginButton/index.js +1 -1
- package/UI/webWallet/XaliasLoginButton/XaliasLoginButton.js +1 -1
- package/UI/webWallet/XaliasLoginButton/index.js +1 -1
- package/__chunks__/chunk-27FH5G67.js +2 -0
- package/__chunks__/{chunk-WT3FGIIY.js → chunk-2AIEU6LZ.js} +2 -2
- package/__chunks__/{chunk-LE6E76JC.js → chunk-2B7ZGYEB.js} +2 -2
- package/__chunks__/{chunk-GSKFIRV6.js → chunk-2FT64D47.js} +2 -2
- package/__chunks__/{chunk-YLFYQYD3.js → chunk-2GRCIZYF.js} +2 -2
- package/__chunks__/{chunk-A2CBNGN4.js → chunk-2KGXFHHC.js} +2 -2
- package/__chunks__/{chunk-EOBC3SGK.js → chunk-2LILI4WL.js} +2 -2
- package/__chunks__/{chunk-KSK7DKUN.js → chunk-2RG4XFAN.js} +2 -2
- package/__chunks__/{chunk-DYQCW5KD.js → chunk-2XKDGL5T.js} +2 -2
- package/__chunks__/{chunk-OBWRRQFF.js → chunk-2YBZB3QT.js} +2 -2
- package/__chunks__/{chunk-HVQFYTGW.js → chunk-2ZQNGVTU.js} +2 -2
- package/__chunks__/{chunk-LZQZJU3W.js → chunk-33ZQXWGC.js} +2 -2
- package/__chunks__/{chunk-OKIOGBK3.js → chunk-366BFEAQ.js} +2 -2
- package/__chunks__/{chunk-4I7NHD4D.js → chunk-36UWRGFL.js} +2 -2
- package/__chunks__/{chunk-U7DVMPTX.js → chunk-3AOUWDRN.js} +2 -2
- package/__chunks__/{chunk-VYQ6IUMX.js → chunk-3B4DWW6O.js} +2 -2
- package/__chunks__/{chunk-3A4GVG6U.js → chunk-3CINYBP7.js} +2 -2
- package/__chunks__/{chunk-RW52YTWK.js → chunk-3DIC5G74.js} +2 -2
- package/__chunks__/{chunk-MHWNNEJG.js → chunk-3LHVCJCV.js} +2 -2
- package/__chunks__/{chunk-O6NULEHL.js → chunk-3QAMKN76.js} +2 -2
- package/__chunks__/chunk-3QTOYBJL.js +2 -0
- package/__chunks__/{chunk-OEE4AKVK.js → chunk-3VDMQS32.js} +2 -2
- package/__chunks__/chunk-3WJH7V52.js +2 -0
- package/__chunks__/{chunk-PFVDDVOD.js → chunk-3WOM6G5J.js} +2 -2
- package/__chunks__/{chunk-K27V442V.js → chunk-42M6IY4Z.js} +2 -2
- package/__chunks__/{chunk-AVJDCB7V.js → chunk-4AYFR46S.js} +2 -2
- package/__chunks__/{chunk-3CUOMC2D.js → chunk-4D6645YL.js} +2 -2
- package/__chunks__/{chunk-ORLHMIEC.js → chunk-4EMUKO3O.js} +2 -2
- package/__chunks__/{chunk-QU55M6V5.js → chunk-4ES3KUQJ.js} +2 -2
- package/__chunks__/{chunk-YPMP62YX.js → chunk-4F4ULUEW.js} +2 -2
- package/__chunks__/{chunk-BRXIN6O6.js → chunk-4GKDZ3TO.js} +2 -2
- package/__chunks__/{chunk-C3ZPT2ID.js → chunk-4HU7AQ47.js} +2 -2
- package/__chunks__/{chunk-TI3ANIQU.js → chunk-4MYDIG2C.js} +2 -2
- package/__chunks__/{chunk-MY244MYG.js → chunk-4QMNIBLK.js} +2 -2
- package/__chunks__/{chunk-BFRGEQGK.js → chunk-4SMYG4AO.js} +2 -2
- package/__chunks__/{chunk-S7M2FS7P.js → chunk-4TY7XTOD.js} +2 -2
- package/__chunks__/{chunk-PWSOJTA4.js → chunk-4VEIGU4J.js} +2 -2
- package/__chunks__/{chunk-5NULPHFT.js → chunk-4YOJYG6R.js} +2 -2
- package/__chunks__/{chunk-5C2GZIUZ.js → chunk-4YP6ER5C.js} +2 -2
- package/__chunks__/chunk-4YSNFMZJ.js +2 -0
- package/__chunks__/{chunk-M2ZPVVVY.js → chunk-57LO2NIO.js} +2 -2
- package/__chunks__/{chunk-IV77VRKI.js → chunk-5AMJYRJ2.js} +2 -2
- package/__chunks__/{chunk-3VDW6P23.js → chunk-5B3VR2FV.js} +2 -2
- package/__chunks__/{chunk-O4AMG7HZ.js → chunk-5B5X4S2N.js} +2 -2
- package/__chunks__/{chunk-NQWDBVCU.js → chunk-5IFIHV7J.js} +2 -2
- package/__chunks__/{chunk-PQ24WIES.js → chunk-5O6AK6MZ.js} +2 -2
- package/__chunks__/{chunk-L3PFBTYT.js → chunk-5PD4V7PN.js} +2 -2
- package/__chunks__/{chunk-FPLYKLXQ.js → chunk-5VBOKKA2.js} +2 -2
- package/__chunks__/{chunk-E4B3E3AR.js → chunk-6CJSFB2U.js} +2 -2
- package/__chunks__/{chunk-G3WMM467.js → chunk-6DGZJKY3.js} +2 -2
- package/__chunks__/chunk-6DPQGCTQ.js +2 -0
- package/__chunks__/{chunk-TIEZXLF2.js → chunk-6EGCNSFW.js} +2 -2
- package/__chunks__/{chunk-YDTXMKIU.js → chunk-6IOVE2XD.js} +2 -2
- package/__chunks__/{chunk-TQH47APX.js → chunk-6JKT3JAV.js} +2 -2
- package/__chunks__/{chunk-BPULXLJZ.js → chunk-6M47QO6V.js} +2 -2
- package/__chunks__/{chunk-JMDO47UU.js → chunk-6MNICFK6.js} +2 -2
- package/__chunks__/chunk-6NVQH3XS.js +2 -0
- package/__chunks__/chunk-6P3IJTZK.js +2 -0
- package/__chunks__/{chunk-KHW6DXSV.js → chunk-6QMORR5K.js} +2 -2
- package/__chunks__/{chunk-S7QUPUT2.js → chunk-6UMOENOE.js} +2 -2
- package/__chunks__/chunk-6W7DVGIL.js +2 -0
- package/__chunks__/{chunk-NWH3BG5P.js → chunk-6XLP6QV5.js} +2 -2
- package/__chunks__/chunk-76MRIOQK.js +2 -0
- package/__chunks__/{chunk-B7HYNARA.js → chunk-76WLQW5F.js} +2 -2
- package/__chunks__/{chunk-2V3E3WRB.js → chunk-77ZPJ5ZZ.js} +2 -2
- package/__chunks__/{chunk-6FPX673H.js → chunk-7G45MSVR.js} +2 -2
- package/__chunks__/{chunk-NPBAPU5Z.js → chunk-7GYR3BZZ.js} +2 -2
- package/__chunks__/{chunk-HC2LFFDZ.js → chunk-A4X2GOUI.js} +2 -2
- package/__chunks__/{chunk-U4AJKPBS.js → chunk-A6ZSNFXP.js} +2 -2
- package/__chunks__/{chunk-RJ5NZ6AO.js → chunk-ACV6ZBKI.js} +2 -2
- package/__chunks__/chunk-AEUBW6XP.js +2 -0
- package/__chunks__/{chunk-LGVKJWOE.js → chunk-AFOBGIC6.js} +2 -2
- package/__chunks__/{chunk-Y2RCTKBX.js → chunk-AHFVMJ7X.js} +2 -2
- package/__chunks__/chunk-AHGZNBYH.js +2 -0
- package/__chunks__/{chunk-YCJWST4I.js → chunk-AN3PVYB6.js} +2 -2
- package/__chunks__/{chunk-P7WESPEI.js → chunk-AO4C3VYM.js} +2 -2
- package/__chunks__/{chunk-MVQ5M2I7.js → chunk-ASQ3U46M.js} +2 -2
- package/__chunks__/{chunk-V76FYMTO.js → chunk-B7YPTPRE.js} +2 -2
- package/__chunks__/{chunk-3KHT75N2.js → chunk-BAJZ4MU7.js} +2 -2
- package/__chunks__/{chunk-TW45XY74.js → chunk-BF4DM7R5.js} +2 -2
- package/__chunks__/chunk-BG5F4VLD.js +2 -0
- package/__chunks__/chunk-BMV2L5DM.js +2 -0
- package/__chunks__/{chunk-HJV3S3GA.js → chunk-BOTYGAX2.js} +2 -2
- package/__chunks__/chunk-BQKEUDXY.js +2 -0
- package/__chunks__/{chunk-ZV5KFJQG.js → chunk-BRMDGFCG.js} +2 -2
- package/__chunks__/chunk-BTFGUXUS.js +2 -0
- package/__chunks__/chunk-BWGNDVVC.js +2 -0
- package/__chunks__/{chunk-RYJAJ56G.js → chunk-BZGRD26P.js} +2 -2
- package/__chunks__/{chunk-BBWWGDQW.js → chunk-CDJPQRSF.js} +2 -2
- package/__chunks__/chunk-CE4M7AXK.js +2 -0
- package/__chunks__/{chunk-FNDDL6TB.js → chunk-CHAMM5KE.js} +2 -2
- package/__chunks__/{chunk-HCRA3RAT.js → chunk-CJKEPVMO.js} +2 -2
- package/__chunks__/chunk-CL6IW7IS.js +2 -0
- package/__chunks__/{chunk-TMS47H5N.js → chunk-CLK5H5ZL.js} +2 -2
- package/__chunks__/{chunk-QIF4RAQV.js → chunk-CMGGVTKB.js} +2 -2
- package/__chunks__/{chunk-YUAQJODP.js → chunk-CPTGXWUV.js} +2 -2
- package/__chunks__/{chunk-DOSMTMSA.js → chunk-CRHEOOZD.js} +2 -2
- package/__chunks__/{chunk-S4F4I3EL.js → chunk-CTZINBSZ.js} +2 -2
- package/__chunks__/{chunk-KM22PKZI.js → chunk-CUYJAD7W.js} +2 -2
- package/__chunks__/{chunk-OZDL46NA.js → chunk-CZMQWDNV.js} +2 -2
- package/__chunks__/{chunk-YYK62RW6.js → chunk-D62OYHN4.js} +2 -2
- package/__chunks__/{chunk-NOMYSJLF.js → chunk-D643KB2W.js} +2 -2
- package/__chunks__/{chunk-PWN2GZNT.js → chunk-D75WP7GF.js} +2 -2
- package/__chunks__/{chunk-C4VT2ERW.js → chunk-DBEM42SR.js} +2 -2
- package/__chunks__/{chunk-BWGJEGRO.js → chunk-DCGMBO5Q.js} +2 -2
- package/__chunks__/{chunk-PO5AWVDZ.js → chunk-DFXCBJPX.js} +2 -2
- package/__chunks__/{chunk-SVN5HNM2.js → chunk-DJMFNRIK.js} +2 -2
- package/__chunks__/{chunk-EIPIMQWF.js → chunk-DNEZKZYF.js} +2 -2
- package/__chunks__/{chunk-NLKVPZDS.js → chunk-DOB2VWUN.js} +2 -2
- package/__chunks__/chunk-DP3KRPAW.js +2 -0
- package/__chunks__/{chunk-VXQEK23G.js → chunk-DPY2TNEY.js} +2 -2
- package/__chunks__/{chunk-GMMNKNOR.js → chunk-DQBNJKXP.js} +2 -2
- package/__chunks__/{chunk-RTG6UTB2.js → chunk-DST6SZX2.js} +2 -2
- package/__chunks__/{chunk-7P4DCZH2.js → chunk-DYVTV6RQ.js} +2 -2
- package/__chunks__/{chunk-YWFYVD4G.js → chunk-DZICGNLZ.js} +2 -2
- package/__chunks__/{chunk-4NEPCTFX.js → chunk-E4VQH6BK.js} +2 -2
- package/__chunks__/{chunk-ATHPZDJE.js → chunk-E5O47KXV.js} +2 -2
- package/__chunks__/{chunk-VOVGM76A.js → chunk-EGXPMWIO.js} +2 -2
- package/__chunks__/{chunk-2YLBTMG6.js → chunk-EIV36FLO.js} +2 -2
- package/__chunks__/{chunk-EU5ABVL3.js → chunk-ELUYAFQH.js} +2 -2
- package/__chunks__/chunk-EMIZYMPZ.js +2 -0
- package/__chunks__/{chunk-LBOSXJ4J.js → chunk-ENATCDDM.js} +2 -2
- package/__chunks__/chunk-EWRLMXDS.js +2 -0
- package/__chunks__/{chunk-EF2UXIU4.js → chunk-EZ2PLUR5.js} +2 -2
- package/__chunks__/{chunk-A4LWJRGO.js → chunk-EZP4DAXA.js} +2 -2
- package/__chunks__/{chunk-BZ5ZNPRL.js → chunk-F74R22JL.js} +2 -2
- package/__chunks__/{chunk-UXCGROP3.js → chunk-FFPSOIDK.js} +2 -2
- package/__chunks__/{chunk-3PQESL5F.js → chunk-FOB5N4UB.js} +2 -2
- package/__chunks__/{chunk-U3XNHBKX.js → chunk-FV6H3A4M.js} +2 -2
- package/__chunks__/{chunk-WRX3NWCT.js → chunk-FYDI5I4M.js} +2 -2
- package/__chunks__/{chunk-TWKW7IAP.js → chunk-G2TQCLY5.js} +2 -2
- package/__chunks__/{chunk-XG22CTWL.js → chunk-GAMY5LR7.js} +2 -2
- package/__chunks__/{chunk-SSCQNJ5T.js → chunk-GDIJ3VWC.js} +2 -2
- package/__chunks__/chunk-GE6AWBV7.js +2 -0
- package/__chunks__/{chunk-UJP5XOCK.js → chunk-GISBTWRR.js} +2 -2
- package/__chunks__/chunk-GO3KTKAY.js +2 -0
- package/__chunks__/{chunk-6MVSRKSW.js → chunk-GR7XHWC7.js} +2 -2
- package/__chunks__/{chunk-ZA3EOZGC.js → chunk-GSIGCMHA.js} +2 -2
- package/__chunks__/{chunk-5RSAZX46.js → chunk-H664UVLI.js} +2 -2
- package/__chunks__/chunk-H6V3642M.js +2 -0
- package/__chunks__/{chunk-OLOMMKEU.js → chunk-H7F7QSSU.js} +2 -2
- package/__chunks__/chunk-HCRNWCPS.js +2 -0
- package/__chunks__/{chunk-KRZC3JQ2.js → chunk-HCWQSW2G.js} +2 -2
- package/__chunks__/{chunk-MT3Y2HBI.js → chunk-HFGBJ5GL.js} +2 -2
- package/__chunks__/chunk-HGBHLYSY.js +2 -0
- package/__chunks__/{chunk-O2ZEL6NT.js → chunk-HK3BL5WJ.js} +2 -2
- package/__chunks__/chunk-HK3IGHZP.js +2 -0
- package/__chunks__/{chunk-3WJYDELU.js → chunk-HV5N6FIR.js} +2 -2
- package/__chunks__/{chunk-NUAT4GP2.js → chunk-HVGKEJEB.js} +2 -2
- package/__chunks__/{chunk-BYMJYEHI.js → chunk-HWKORQ2K.js} +2 -2
- package/__chunks__/{chunk-ABCTLPKE.js → chunk-I4ESH2AI.js} +2 -2
- package/__chunks__/{chunk-4GFEXTZD.js → chunk-I5OGC7V5.js} +2 -2
- package/__chunks__/{chunk-ZHI6VDK3.js → chunk-IAQHH2SB.js} +2 -2
- package/__chunks__/{chunk-IZT5M3NI.js → chunk-ICO7LEX6.js} +2 -2
- package/__chunks__/{chunk-APY6NMJV.js → chunk-IE3IVXRG.js} +2 -2
- package/__chunks__/{chunk-ZENU2WFM.js → chunk-IGORY6G3.js} +2 -2
- package/__chunks__/{chunk-YS264G4H.js → chunk-IIO4O6XX.js} +2 -2
- package/__chunks__/{chunk-VIQBMB7R.js → chunk-IJ3VVADG.js} +2 -2
- package/__chunks__/{chunk-EY67IUVU.js → chunk-IOEM2OZK.js} +2 -2
- package/__chunks__/{chunk-DBXSYSN3.js → chunk-IQ4ZNGVQ.js} +2 -2
- package/__chunks__/chunk-IXUNCHI4.js +2 -0
- package/__chunks__/{chunk-B3QOKO5I.js → chunk-J5WQX5EE.js} +2 -2
- package/__chunks__/{chunk-YTK76YT2.js → chunk-JA3SLGX2.js} +2 -2
- package/__chunks__/{chunk-N7ADAEPB.js → chunk-JD4QKREV.js} +2 -2
- package/__chunks__/{chunk-ODC7QWD2.js → chunk-JKKAJ4MH.js} +2 -2
- package/__chunks__/{chunk-6N4RLQ5C.js → chunk-JN4X6QCT.js} +2 -2
- package/__chunks__/chunk-JOLQVYZM.js +2 -0
- package/__chunks__/chunk-JPHGRIUG.js +2 -0
- package/__chunks__/{chunk-NP4OVEKX.js → chunk-JUNOVW6Y.js} +2 -2
- package/__chunks__/chunk-JV2YMLWW.js +2 -0
- package/__chunks__/chunk-JW36RK53.js +2 -0
- package/__chunks__/{chunk-WGJCID34.js → chunk-JWSME6SY.js} +2 -2
- package/__chunks__/{chunk-LBNVU6PX.js → chunk-K34NQEQO.js} +2 -2
- package/__chunks__/{chunk-725DQS6I.js → chunk-K3JRXFGH.js} +2 -2
- package/__chunks__/{chunk-S74OWSEP.js → chunk-K6D6CCIL.js} +2 -2
- package/__chunks__/{chunk-2KDYG3SO.js → chunk-K6LPKU4O.js} +2 -2
- package/__chunks__/{chunk-5FOAU3JX.js → chunk-K6Q3BCRA.js} +2 -2
- package/__chunks__/{chunk-6DQ7WJGR.js → chunk-KACXL2VQ.js} +2 -2
- package/__chunks__/{chunk-5IJ6LP4I.js → chunk-KAGCFYLJ.js} +2 -2
- package/__chunks__/chunk-KB6C5NNL.js +2 -0
- package/__chunks__/{chunk-QFGYD6TB.js → chunk-KBWCG46F.js} +2 -2
- package/__chunks__/{chunk-XYNRMMQW.js → chunk-KDC72FBJ.js} +2 -2
- package/__chunks__/{chunk-RMNLKAFR.js → chunk-KESYGJYU.js} +2 -2
- package/__chunks__/{chunk-IJUEBJAF.js → chunk-KKHZHP3E.js} +2 -2
- package/__chunks__/{chunk-XNTBUCLS.js → chunk-KNAS7VNV.js} +2 -2
- package/__chunks__/{chunk-FKBZ5UQI.js → chunk-KVFROWIW.js} +2 -2
- package/__chunks__/{chunk-LVFD76RL.js → chunk-KZ5L5NV5.js} +2 -2
- package/__chunks__/{chunk-YE4P3ZZ7.js → chunk-L2JEVZQR.js} +2 -2
- package/__chunks__/{chunk-CGWAXN6N.js → chunk-L5MDW727.js} +2 -2
- package/__chunks__/chunk-L6F4CXJI.js +2 -0
- package/__chunks__/{chunk-FAKD6TQU.js → chunk-L7JIR6OV.js} +2 -2
- package/__chunks__/{chunk-SFYZHJUF.js → chunk-LABFKDKK.js} +2 -2
- package/__chunks__/{chunk-KRA5K2CA.js → chunk-LPRQ2IYP.js} +2 -2
- package/__chunks__/{chunk-TFFWE4BT.js → chunk-LYO6GZ3A.js} +2 -2
- package/__chunks__/chunk-M3KZ5ZCM.js +2 -0
- package/__chunks__/{chunk-OD662V2W.js → chunk-M6UZBBM2.js} +2 -2
- package/__chunks__/{chunk-TWTHHNTM.js → chunk-MBDPT5AM.js} +2 -2
- package/__chunks__/{chunk-UJ5NQGFL.js → chunk-MBNT47JC.js} +2 -2
- package/__chunks__/{chunk-PRVH5LV4.js → chunk-MCBGUPUJ.js} +2 -2
- package/__chunks__/{chunk-FKPR7F7N.js → chunk-MFPKPOZT.js} +2 -2
- package/__chunks__/{chunk-AFDBN25I.js → chunk-MJZ7CDPB.js} +2 -2
- package/__chunks__/{chunk-22JN6N73.js → chunk-MNJFPX3O.js} +2 -2
- package/__chunks__/chunk-MOINY2V5.js +2 -0
- package/__chunks__/chunk-MQYKLTUO.js +2 -0
- package/__chunks__/{chunk-T4VQSZEL.js → chunk-MX3ROSNA.js} +2 -2
- package/__chunks__/{chunk-WPFAZXYU.js → chunk-MYP4XQY5.js} +2 -2
- package/__chunks__/{chunk-CCWOG6MB.js → chunk-N2M34KLB.js} +2 -2
- package/__chunks__/{chunk-P7P5UUFA.js → chunk-N3YUZLCM.js} +2 -2
- package/__chunks__/chunk-N5OGU3OY.js +2 -0
- package/__chunks__/{chunk-GBKWCLTK.js → chunk-N7MH2TQM.js} +2 -2
- package/__chunks__/{chunk-RZKCPVPQ.js → chunk-NC27GOVK.js} +2 -2
- package/__chunks__/{chunk-W6DYGRIO.js → chunk-NCJMLUYQ.js} +2 -2
- package/__chunks__/chunk-NJPCK4MP.js +2 -0
- package/__chunks__/{chunk-ICXOCZAA.js → chunk-NKKIJCQE.js} +2 -2
- package/__chunks__/{chunk-4Q52MB5B.js → chunk-NLSTULNQ.js} +2 -2
- package/__chunks__/{chunk-QJ7HFUDR.js → chunk-NMC25ZUJ.js} +2 -2
- package/__chunks__/{chunk-YO7XRCO7.js → chunk-NRHVGC3B.js} +2 -2
- package/__chunks__/chunk-NTXXBNQ3.js +2 -0
- package/__chunks__/{chunk-SX5YBID4.js → chunk-NW56V3MY.js} +2 -2
- package/__chunks__/{chunk-MRNCVD3U.js → chunk-NYBV3BY2.js} +2 -2
- package/__chunks__/{chunk-M56LZ3W7.js → chunk-OE2KHOEY.js} +2 -2
- package/__chunks__/{chunk-SBUSN3HF.js → chunk-OJ65PGXZ.js} +2 -2
- package/__chunks__/chunk-ONKEMUBS.js +2 -0
- package/__chunks__/{chunk-XIJOWM33.js → chunk-OOKK6JJ4.js} +2 -2
- package/__chunks__/{chunk-UNXXYSEH.js → chunk-OP3ST6P3.js} +2 -2
- package/__chunks__/{chunk-IS2TKLNE.js → chunk-OUSIKRNJ.js} +2 -2
- package/__chunks__/{chunk-3WVAONFD.js → chunk-P3K3ST24.js} +2 -2
- package/__chunks__/{chunk-5VE2X5PQ.js → chunk-P4STGZJH.js} +2 -2
- package/__chunks__/{chunk-YMBGOTL7.js → chunk-P5MIE6MI.js} +2 -2
- package/__chunks__/{chunk-LJKUHO7G.js → chunk-P63VQOHF.js} +2 -2
- package/__chunks__/{chunk-NPCALBS3.js → chunk-PBD3PMQ6.js} +2 -2
- package/__chunks__/{chunk-YXZHP6AI.js → chunk-PL254HTU.js} +2 -2
- package/__chunks__/{chunk-I4E2LF4E.js → chunk-PQQY2VA2.js} +2 -2
- package/__chunks__/{chunk-IPXTANOK.js → chunk-PTP4ZK4E.js} +2 -2
- package/__chunks__/{chunk-DUNXCYMV.js → chunk-PXO2J644.js} +2 -2
- package/__chunks__/{chunk-XXOINCQR.js → chunk-PXO3KXPV.js} +2 -2
- package/__chunks__/chunk-PYOBFWGE.js +2 -0
- package/__chunks__/{chunk-MWTZ7DNL.js → chunk-Q2II6WAH.js} +2 -2
- package/__chunks__/{chunk-IFCEM2UW.js → chunk-Q6C25DHD.js} +2 -2
- package/__chunks__/{chunk-WEOGIT34.js → chunk-QFFXJQMU.js} +2 -2
- package/__chunks__/{chunk-PBCZXHIJ.js → chunk-QGCSWJ3J.js} +2 -2
- package/__chunks__/chunk-QSQMERZY.js +2 -0
- package/__chunks__/{chunk-HGJG26HB.js → chunk-QUMXWER5.js} +2 -2
- package/__chunks__/{chunk-7OFHGTYC.js → chunk-QWDXQ3EZ.js} +2 -2
- package/__chunks__/{chunk-N3TKVWQ6.js → chunk-QZD5N7RZ.js} +2 -2
- package/__chunks__/{chunk-FE6U2NQN.js → chunk-R54WJX7Q.js} +2 -2
- package/__chunks__/{chunk-II4JTXXI.js → chunk-R666NKD7.js} +2 -2
- package/__chunks__/chunk-R7FMYSFZ.js +2 -0
- package/__chunks__/{chunk-NQUPSQWU.js → chunk-RBQXSOSJ.js} +2 -2
- package/__chunks__/chunk-REVI6QV5.js +2 -0
- package/__chunks__/{chunk-GEH3ZXZJ.js → chunk-RNXCDZE7.js} +2 -2
- package/__chunks__/{chunk-BNTCTEV4.js → chunk-RPRH53SN.js} +2 -2
- package/__chunks__/{chunk-5LRIVXCH.js → chunk-RV7HFQKN.js} +2 -2
- package/__chunks__/chunk-S6WU7FIP.js +2 -0
- package/__chunks__/{chunk-T56U5SCF.js → chunk-SD2ZJL4Z.js} +2 -2
- package/__chunks__/{chunk-UYTH5YHT.js → chunk-SEELVEOF.js} +2 -2
- package/__chunks__/{chunk-BSDAN6CW.js → chunk-SJFNSQDE.js} +2 -2
- package/__chunks__/{chunk-YT7A5JWD.js → chunk-SKI27VQD.js} +2 -2
- package/__chunks__/{chunk-GIRJIZEX.js → chunk-SL6BQO6U.js} +2 -2
- package/__chunks__/{chunk-5FHEIYXO.js → chunk-SOD2H65H.js} +2 -2
- package/__chunks__/{chunk-RDD3H2JW.js → chunk-SOM3C6KB.js} +2 -2
- package/__chunks__/{chunk-X5ICOU7C.js → chunk-SOOZPADC.js} +2 -2
- package/__chunks__/{chunk-BKKRTXC4.js → chunk-SS4FJ5PL.js} +2 -2
- package/__chunks__/{chunk-YHUPKAM7.js → chunk-SUPKMGBY.js} +2 -2
- package/__chunks__/chunk-SYEARPKN.js +2 -0
- package/__chunks__/chunk-SYYNFXUN.js +2 -0
- package/__chunks__/{chunk-UK6TMYAE.js → chunk-TFN5IPAO.js} +2 -2
- package/__chunks__/{chunk-ABVIX57I.js → chunk-TFZRV4WV.js} +2 -2
- package/__chunks__/{chunk-LSB7OMSQ.js → chunk-TIMS5S2C.js} +2 -2
- package/__chunks__/{chunk-N7AWBBNE.js → chunk-TISG47PR.js} +2 -2
- package/__chunks__/{chunk-KQ7RVOIZ.js → chunk-TJ462GVP.js} +2 -2
- package/__chunks__/{chunk-P32QGFY7.js → chunk-TJVSSB6L.js} +2 -2
- package/__chunks__/{chunk-FATBVCBP.js → chunk-TLR5RFIN.js} +2 -2
- package/__chunks__/{chunk-AOHMQPZL.js → chunk-TLSDRYRG.js} +2 -2
- package/__chunks__/{chunk-266G5JQJ.js → chunk-TPMTRTYF.js} +2 -2
- package/__chunks__/{chunk-WJR6UK3M.js → chunk-TTFHCVKE.js} +2 -2
- package/__chunks__/{chunk-N2XOKZ5I.js → chunk-TWMGKIYA.js} +2 -2
- package/__chunks__/{chunk-62STDYU4.js → chunk-TWS6ONFZ.js} +2 -2
- package/__chunks__/{chunk-VJYHC2IC.js → chunk-U72Y75C7.js} +2 -2
- package/__chunks__/{chunk-64HD2IJE.js → chunk-UES4R3TC.js} +2 -2
- package/__chunks__/{chunk-U73ZTPDU.js → chunk-UEWYCOIN.js} +2 -2
- package/__chunks__/{chunk-O5X5ZJ2X.js → chunk-UJIL6NPK.js} +2 -2
- package/__chunks__/{chunk-MEVXHA66.js → chunk-UL64XUYA.js} +2 -2
- package/__chunks__/{chunk-C4CGIKHQ.js → chunk-UPRCDBIL.js} +2 -2
- package/__chunks__/{chunk-KB6S7Q6T.js → chunk-UQF6NDG4.js} +2 -2
- package/__chunks__/chunk-UREH36PU.js +2 -0
- package/__chunks__/chunk-UXLAYBPI.js +2 -0
- package/__chunks__/{chunk-TA6KXPDS.js → chunk-V3TVICHS.js} +2 -2
- package/__chunks__/{chunk-HZLQIFYM.js → chunk-V4A4RI3N.js} +2 -2
- package/__chunks__/{chunk-SOT46JZ4.js → chunk-V5CKNZA2.js} +2 -2
- package/__chunks__/chunk-VF2ER254.js +2 -0
- package/__chunks__/chunk-VKSVMOTZ.js +2 -0
- package/__chunks__/{chunk-YUFTIAXC.js → chunk-VLCJAOJZ.js} +2 -2
- package/__chunks__/{chunk-YBAE7GFQ.js → chunk-VO5H44X2.js} +2 -2
- package/__chunks__/{chunk-XYIINX7L.js → chunk-VRTCS22N.js} +2 -2
- package/__chunks__/{chunk-TKAZPDQD.js → chunk-VTFUHAXE.js} +2 -2
- package/__chunks__/chunk-VVYCLY74.js +2 -0
- package/__chunks__/{chunk-JRTEZHT3.js → chunk-W3IQPPVZ.js} +2 -2
- package/__chunks__/{chunk-BTK7EQXR.js → chunk-W6YGSEZ4.js} +2 -2
- package/__chunks__/{chunk-L2MNSAH6.js → chunk-WH5HQCTW.js} +2 -2
- package/__chunks__/{chunk-XKIHSHRR.js → chunk-WLBFOLRM.js} +2 -2
- package/__chunks__/{chunk-GY4NLIXS.js → chunk-WNUGX7UH.js} +2 -2
- package/__chunks__/{chunk-JRZH7GPF.js → chunk-WNUN6H4T.js} +2 -2
- package/__chunks__/{chunk-XWSSWFTD.js → chunk-WUKH5HLL.js} +2 -2
- package/__chunks__/chunk-X4IJUWVA.js +2 -0
- package/__chunks__/{chunk-3FBESZUW.js → chunk-XB3JKHGC.js} +2 -2
- package/__chunks__/{chunk-TKR4FVIS.js → chunk-XCEBI3EQ.js} +2 -2
- package/__chunks__/{chunk-X7AZT6CA.js → chunk-XCETJVG5.js} +2 -2
- package/__chunks__/chunk-XCL6JUJD.js +2 -0
- package/__chunks__/{chunk-CYSDZCF5.js → chunk-XCXIJG4P.js} +2 -2
- package/__chunks__/{chunk-IMQ4I6WW.js → chunk-XECVYP4E.js} +2 -2
- package/__chunks__/{chunk-M56Y4AHA.js → chunk-XEEY3HDK.js} +2 -2
- package/__chunks__/{chunk-XYG2GT62.js → chunk-XEGOSC3M.js} +2 -2
- package/__chunks__/{chunk-LRYZZFQK.js → chunk-XIH5JQMU.js} +2 -2
- package/__chunks__/{chunk-HJUPUIOO.js → chunk-XL7XIOJR.js} +2 -2
- package/__chunks__/{chunk-TQT5YUX5.js → chunk-XNDB3RCO.js} +2 -2
- package/__chunks__/chunk-XNL2TWXZ.js +2 -0
- package/__chunks__/{chunk-OEND4E23.js → chunk-XP6N4TB2.js} +2 -2
- package/__chunks__/{chunk-NHRIRJWC.js → chunk-XQIEPK5J.js} +2 -2
- package/__chunks__/{chunk-DUE4NORV.js → chunk-XRNT76UY.js} +2 -2
- package/__chunks__/chunk-XSCEIJSP.js +2 -0
- package/__chunks__/{chunk-VV4EKABW.js → chunk-XSPP3G57.js} +2 -2
- package/__chunks__/chunk-XVIPFZ65.js +2 -0
- package/__chunks__/{chunk-OJE3TJIQ.js → chunk-XYD5IJAJ.js} +2 -2
- package/__chunks__/{chunk-IS3UGNWF.js → chunk-XYPHPEVE.js} +2 -2
- package/__chunks__/{chunk-ATPUAU7X.js → chunk-Y4GMWUQR.js} +2 -2
- package/__chunks__/{chunk-YGZXGGKB.js → chunk-Y4OZCVUZ.js} +2 -2
- package/__chunks__/chunk-Y75XZXEI.js +2 -0
- package/__chunks__/{chunk-MAV57NWH.js → chunk-YDLPR32M.js} +2 -2
- package/__chunks__/{chunk-65IDFVWB.js → chunk-YGQ6MAF7.js} +2 -2
- package/__chunks__/{chunk-YOBVDDDP.js → chunk-YOZHK36J.js} +2 -2
- package/__chunks__/{chunk-USLL3BF7.js → chunk-YQT2T3WW.js} +2 -2
- package/__chunks__/{chunk-LB35NEGJ.js → chunk-YTARCORV.js} +2 -2
- package/__chunks__/{chunk-NHOS36NE.js → chunk-YUFTVV2H.js} +2 -2
- package/__chunks__/chunk-YWRTTCYK.js +2 -0
- package/__chunks__/{chunk-GIMVUCZB.js → chunk-YZB7HVFC.js} +2 -2
- package/__chunks__/{chunk-NXKTQZRX.js → chunk-Z4HYDMJT.js} +2 -2
- package/__chunks__/{chunk-SIVLWB4D.js → chunk-ZAXYP5DO.js} +2 -2
- package/__chunks__/{chunk-QAXYRYC4.js → chunk-ZC5N5NQ2.js} +2 -2
- package/__chunks__/{chunk-CN47U3Z4.js → chunk-ZD5GDFTR.js} +2 -2
- package/__chunks__/chunk-ZDIO44CA.js +2 -0
- package/__chunks__/chunk-ZGV573YZ.js +2 -0
- package/__chunks__/{chunk-F47KH2MF.js → chunk-ZHHX65UY.js} +2 -2
- package/__chunks__/{chunk-QU7CA45V.js → chunk-ZIIDK2IX.js} +2 -2
- package/__chunks__/{chunk-IZYPU3LW.js → chunk-ZIIQ5MFR.js} +2 -2
- package/__chunks__/{chunk-O5WZCBNH.js → chunk-ZKOWOXAQ.js} +2 -2
- package/__chunks__/{chunk-GU7IUTXI.js → chunk-ZQBSKR72.js} +2 -2
- package/__chunks__/chunk-ZT2MNNMR.js +2 -0
- package/__chunks__/{chunk-7SETDCR4.js → chunk-ZYFEH2PC.js} +2 -2
- package/__chunks__/{chunk-I3EOPXZH.js → chunk-ZZ3PILAG.js} +2 -2
- package/__commonjs/UI/Denominate/index.js +3 -3
- package/__commonjs/UI/SignTransactionsModals/SignTransactionsModals.js +21 -21
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +19 -19
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignWithDeviceModal.js +19 -19
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/SignStepBody.js +18 -18
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/index.js +5 -5
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/index.js +18 -18
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/index.js +19 -19
- package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/SignWithExtraModal.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/SignWithLedgerModal.js +22 -22
- package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/index.js +22 -22
- package/__commonjs/UI/SignTransactionsModals/SignWithMetamaskModal/SignWithMetamaskModal.js +19 -19
- package/__commonjs/UI/SignTransactionsModals/SignWithMetamaskModal/index.js +19 -19
- package/__commonjs/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/components/index.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/index.js +21 -21
- package/__commonjs/UI/TransactionData/TransactionData.js +4 -4
- package/__commonjs/UI/TransactionData/components/TransactionDataDecode.js +4 -4
- package/__commonjs/UI/TransactionData/components/index.js +4 -4
- package/__commonjs/UI/TransactionData/index.js +5 -5
- package/__commonjs/UI/TransactionDetails/TransactionDetails.js +4 -4
- package/__commonjs/UI/TransactionDetails/index.js +4 -4
- package/__commonjs/UI/TransactionInfo/components/OperationsList/components/OperationBlock.js +13 -13
- package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultData/ResultData.js +3 -3
- package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultData/index.js +3 -3
- package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/ActionToken.js +3 -3
- package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionCollection.js +3 -3
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoEgldPrice/TransactionInfoEgldPrice.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoEgldPrice/index.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasLimit/TransactionInfoGasLimit.js +2 -2
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasLimit/index.js +2 -2
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/TransactionInfoGasUsed.js +5 -5
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/index.js +5 -5
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/TransactionInfoInputData.js +5 -5
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/index.js +5 -5
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/TransactionInfoMiniblock.js +4 -4
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/index.js +4 -4
- 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/TransactionIcon.js +3 -3
- package/__commonjs/UI/TransactionsTable/components/TransactionSender.js +4 -4
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/IconToast.js +6 -6
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/index.js +6 -6
- package/__commonjs/UI/index.js +10 -10
- package/__commonjs/UI/walletConnect/WalletConnectConnectionStatus/WalletConnectConnectionStatus.js +2 -2
- package/__commonjs/UI/walletConnect/WalletConnectConnectionStatus/index.js +2 -2
- package/__commonjs/UI/webWallet/XaliasCrossWindowLoginButton/XaliasCrossWindowLoginButton.js +3 -3
- package/__commonjs/UI/webWallet/XaliasCrossWindowLoginButton/index.js +3 -3
- package/__commonjs/constants/dataTestIds.enum.d.ts +1 -0
- package/__commonjs/constants/dataTestIds.enum.js +1 -1
- package/__commonjs/constants/index.js +1 -1
- package/__commonjs/hooks/account/useGetAccountProvider.js +1 -1
- package/__commonjs/hooks/index.js +1 -1
- package/__commonjs/hooks/login/useCrossWindowLogin.js +1 -1
- package/__commonjs/hooks/transactions/batch/tracker/useVerifyBatchStatus.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/index.js +1 -1
- package/__commonjs/hooks/transactions/useSignTransactions.js +1 -1
- package/__commonjs/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
- package/__commonjs/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
- package/__commonjs/providers/accountProvider.js +1 -1
- package/__commonjs/providers/index.js +1 -1
- package/__commonjs/providers/utils.js +1 -1
- package/__commonjs/reduxStore/slices/networkConfigSlice.js +1 -1
- package/__commonjs/reduxStore/slices/signedMessageInfoSlice.js +1 -1
- package/__commonjs/reduxStore/slices/transactionsSlice.js +1 -1
- package/__commonjs/services/nativeAuth/helpers/index.js +1 -1
- package/__commonjs/services/nativeAuth/helpers/loginWithNativeAuthToken.js +1 -1
- package/__commonjs/services/transactions/signTransactions.js +1 -1
- package/__commonjs/utils/account/getAccountProviderType.js +1 -1
- package/__commonjs/utils/account/refreshAccount.js +1 -1
- package/__commonjs/utils/index.js +5 -5
- package/__commonjs/utils/operations/index.js +1 -1
- package/__commonjs/utils/transactions/builtCallbackUrl.js +1 -1
- package/__commonjs/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.js +1 -1
- package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/index.js +1 -1
- package/__commonjs/utils/transactions/getInterpretedTransaction/index.js +2 -2
- package/__commonjs/utils/transactions/index.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/index.js +1 -1
- package/__commonjs/utils/walletconnect/__mocks__/sdkWalletconnectProvider.js +1 -1
- package/__commonjs/wrappers/index.js +3 -3
- package/__mocks__/index.js +1 -1
- package/__mocks__/utils/index.js +1 -1
- package/__mocks__/utils/renderWithProvider.js +1 -1
- package/apiCalls/accounts/getAccountFromApi.js +1 -1
- package/apiCalls/accounts/index.js +1 -1
- package/apiCalls/accounts/useGetAccountFromApi.js +1 -1
- package/apiCalls/configuration/getNetworkConfig.js +1 -1
- package/apiCalls/configuration/index.js +1 -1
- package/apiCalls/configuration/useGetNetworkConfigFromApi.js +1 -1
- package/apiCalls/configuration/useGetServerConfigurationFromApi.js +1 -1
- package/apiCalls/economics/getEconomicsInfo.js +1 -1
- package/apiCalls/economics/index.js +1 -1
- package/apiCalls/economics/useGetEconomicsInfoFromApi.js +1 -1
- package/apiCalls/index.js +1 -1
- package/apiCalls/tokens/getPersistedToken.js +1 -1
- package/apiCalls/transactions/getTransactionsByHashes.js +1 -1
- package/apiCalls/transactions/index.js +1 -1
- package/apiCalls/transactions/sendSignedBatchTransactions.js +1 -1
- package/apiCalls/transactions/sendSignedTransactions.js +1 -1
- package/apiCalls/transactions/useGetTransactionsFromApi.js +1 -1
- package/apiCalls/utils/getCleanApiAddress.js +1 -1
- package/apiCalls/utils/getScamAddressData.js +1 -1
- package/apiCalls/utils/index.js +1 -1
- package/apiCalls/utils/useApiFetch.js +1 -1
- package/components/LogoutListener/LogoutListener.js +1 -1
- package/components/LogoutListener/helpers/index.js +1 -1
- package/components/LogoutListener/helpers/useLogoutFromMultipleTabs.js +1 -1
- package/components/LogoutListener/helpers/useNativeAuthLogout.js +1 -1
- package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/index.js +1 -1
- package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/useNativeAuthLogoutWarning.js +1 -1
- package/components/LogoutListener/index.js +1 -1
- package/components/ProviderInitializer/ProviderInitializer.js +1 -1
- package/components/ProviderInitializer/helpers/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/dataTestIds.enum.d.ts +1 -0
- package/constants/dataTestIds.enum.js +1 -1
- package/constants/index.js +1 -1
- package/hooks/account/index.js +1 -1
- package/hooks/account/useGetAccount.js +1 -1
- package/hooks/account/useGetAccountInfo.js +1 -1
- package/hooks/account/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/usePasskeyLogin.js +1 -1
- package/hooks/login/useWalletConnectV2Login.js +1 -1
- package/hooks/login/useWebViewLogin.js +1 -1
- package/hooks/login/useWebWalletLogin.js +1 -1
- package/hooks/login/useXaliasLogin.js +1 -1
- package/hooks/signMessage/index.js +1 -1
- package/hooks/signMessage/useGetLastSignedMessageSession.js +1 -1
- package/hooks/signMessage/useGetSignMessageSession.js +1 -1
- package/hooks/signMessage/useGetSignedMessageStatus.js +1 -1
- package/hooks/signMessage/useSignMessage.js +1 -1
- package/hooks/toasts/index.js +1 -1
- package/hooks/toasts/useGetToasts.js +1 -1
- package/hooks/toasts/useTransactionsToasts.js +1 -1
- package/hooks/transactions/batch/tracker/useBatchTransactionsTracker.js +1 -1
- package/hooks/transactions/batch/tracker/useCheckBatch.js +1 -1
- package/hooks/transactions/batch/tracker/useCheckBatchesOnWsFailureFallback.js +1 -1
- package/hooks/transactions/batch/tracker/useCheckHangingBatchesFallback.js +1 -1
- package/hooks/transactions/batch/tracker/useUpdateBatch.js +1 -1
- package/hooks/transactions/batch/tracker/useVerifyBatchStatus.js +1 -1
- package/hooks/transactions/batch/useGetBatchStatus.js +1 -1
- package/hooks/transactions/batch/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/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 +3 -3
- 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/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/toasts/customToastsActions.js +1 -1
- package/utils/toasts/index.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/parseTransactionAfterSigning.js +1 -1
- package/utils/transactions/removeTransactionParamsFromUrl.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/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/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-2CIKILAW.js +0 -2
- package/__chunks__/chunk-2OYU5WPX.js +0 -2
- package/__chunks__/chunk-374SPKUP.js +0 -2
- package/__chunks__/chunk-3ENWF7YR.js +0 -2
- package/__chunks__/chunk-4PV7B6OC.js +0 -2
- package/__chunks__/chunk-5CUNBDJS.js +0 -2
- package/__chunks__/chunk-5GZQ4REB.js +0 -2
- package/__chunks__/chunk-5ON2ZU5O.js +0 -2
- package/__chunks__/chunk-6CAO2NGV.js +0 -2
- package/__chunks__/chunk-6IQIPHJS.js +0 -2
- package/__chunks__/chunk-6NIELLKI.js +0 -2
- package/__chunks__/chunk-6U55E5BU.js +0 -2
- package/__chunks__/chunk-6YTBMA3L.js +0 -2
- package/__chunks__/chunk-742UIH6M.js +0 -2
- package/__chunks__/chunk-7PNWS3GR.js +0 -2
- package/__chunks__/chunk-ANAR4IRU.js +0 -2
- package/__chunks__/chunk-B7LFYDED.js +0 -2
- package/__chunks__/chunk-BMO5RCC5.js +0 -2
- package/__chunks__/chunk-BP52J7CD.js +0 -2
- package/__chunks__/chunk-CJAPWZXN.js +0 -2
- package/__chunks__/chunk-DFR7P23J.js +0 -2
- package/__chunks__/chunk-DUV2RGVU.js +0 -2
- package/__chunks__/chunk-E5DSKAV7.js +0 -2
- package/__chunks__/chunk-G4XEIEOD.js +0 -2
- package/__chunks__/chunk-GHFRCWZU.js +0 -2
- package/__chunks__/chunk-GMEPYWSN.js +0 -2
- package/__chunks__/chunk-HPW4LYHW.js +0 -2
- package/__chunks__/chunk-IOIPFMWK.js +0 -2
- package/__chunks__/chunk-J4LEZDHO.js +0 -2
- package/__chunks__/chunk-JBFTLTH7.js +0 -2
- package/__chunks__/chunk-LCTNXSYB.js +0 -2
- package/__chunks__/chunk-LZU4AQRM.js +0 -2
- package/__chunks__/chunk-MDJ2PLT3.js +0 -2
- package/__chunks__/chunk-MIFW35FG.js +0 -2
- package/__chunks__/chunk-NPRONW74.js +0 -2
- package/__chunks__/chunk-O3JF5Q7D.js +0 -2
- package/__chunks__/chunk-O4HAQEWQ.js +0 -2
- package/__chunks__/chunk-OS3KFYDU.js +0 -2
- package/__chunks__/chunk-OZ7ANBS3.js +0 -2
- package/__chunks__/chunk-PAX7M4ZA.js +0 -2
- package/__chunks__/chunk-PCYE2DXE.js +0 -2
- package/__chunks__/chunk-PHQZ5JGB.js +0 -2
- package/__chunks__/chunk-PJTUBBED.js +0 -2
- package/__chunks__/chunk-PYXNU6FU.js +0 -2
- package/__chunks__/chunk-QGQKCL7C.js +0 -2
- package/__chunks__/chunk-RLTGJLTK.js +0 -2
- package/__chunks__/chunk-RQLQURWN.js +0 -2
- package/__chunks__/chunk-SB5OER4G.js +0 -2
- package/__chunks__/chunk-TGN5MZTJ.js +0 -2
- package/__chunks__/chunk-TNBTG7EY.js +0 -2
- package/__chunks__/chunk-TW3W4TEQ.js +0 -2
- package/__chunks__/chunk-U3F4YV5C.js +0 -2
- package/__chunks__/chunk-UANI2K3E.js +0 -2
- package/__chunks__/chunk-UUZWA5KU.js +0 -2
- package/__chunks__/chunk-W3LC3DJ3.js +0 -2
- package/__chunks__/chunk-WD34FATV.js +0 -2
- package/__chunks__/chunk-XC2TOXRS.js +0 -2
- package/__chunks__/chunk-XSEH43PQ.js +0 -2
- package/__chunks__/chunk-Y2KGN2FJ.js +0 -2
- package/__chunks__/chunk-YMQ3LJXF.js +0 -2
- package/__chunks__/chunk-YTYYPK7N.js +0 -2
- package/__chunks__/chunk-ZCKZ2UUI.js +0 -2
- package/__chunks__/chunk-ZJWWEHIM.js +0 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var Ke=Object.create;var G=Object.defineProperty;var Je=Object.getOwnPropertyDescriptor;var Ze=Object.getOwnPropertyNames,ue=Object.getOwnPropertySymbols,Qe=Object.getPrototypeOf,ge=Object.prototype.hasOwnProperty,er=Object.prototype.propertyIsEnumerable;var de=(t,e,r)=>e in t?G(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,W=(t,e)=>{for(var r in e||(e={}))ge.call(e,r)&&de(t,r,e[r]);if(ue)for(var r of ue(e))er.call(e,r)&&de(t,r,e[r]);return t};var rr=(t,e)=>()=>(t&&(e=t(t=0)),e);var V=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),tr=(t,e)=>{for(var r in e)G(t,r,{get:e[r],enumerable:!0})},me=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Ze(e))!ge.call(t,i)&&i!==r&&G(t,i,{get:()=>e[i],enumerable:!(n=Je(e,i))||n.enumerable});return t};var fe=(t,e,r)=>(r=t!=null?Ke(Qe(t)):{},me(e||!t||!t.__esModule?G(r,"default",{value:t,enumerable:!0}):r,t)),nr=t=>me(G({},"__esModule",{value:!0}),t);var xe=V(H=>{"use strict";l();H.byteLength=or;H.toByteArray=sr;H.fromByteArray=pr;var A=[],b=[],ir=typeof Uint8Array!="undefined"?Uint8Array:Array,Y="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(C=0,he=Y.length;C<he;++C)A[C]=Y[C],b[Y.charCodeAt(C)]=C;var C,he;b["-".charCodeAt(0)]=62;b["_".charCodeAt(0)]=63;function ye(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 or(t){var e=ye(t),r=e[0],n=e[1];return(r+n)*3/4-n}function ar(t,e,r){return(e+r)*3/4-r}function sr(t){var e,r=ye(t),n=r[0],i=r[1],o=new ir(ar(t,n,i)),a=0,c=i>0?n-4:n,p;for(p=0;p<c;p+=4)e=b[t.charCodeAt(p)]<<18|b[t.charCodeAt(p+1)]<<12|b[t.charCodeAt(p+2)]<<6|b[t.charCodeAt(p+3)],o[a++]=e>>16&255,o[a++]=e>>8&255,o[a++]=e&255;return i===2&&(e=b[t.charCodeAt(p)]<<2|b[t.charCodeAt(p+1)]>>4,o[a++]=e&255),i===1&&(e=b[t.charCodeAt(p)]<<10|b[t.charCodeAt(p+1)]<<4|b[t.charCodeAt(p+2)]>>2,o[a++]=e>>8&255,o[a++]=e&255),o}function lr(t){return A[t>>18&63]+A[t>>12&63]+A[t>>6&63]+A[t&63]}function cr(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(lr(n));return i.join("")}function pr(t){for(var e,r=t.length,n=r%3,i=[],o=16383,a=0,c=r-n;a<c;a+=o)i.push(cr(t,a,a+o>c?c:a+o));return n===1?(e=t[r-1],i.push(A[e>>2]+A[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],i.push(A[e>>10]+A[e>>4&63]+A[e<<2&63]+"=")),i.join("")}});var we=V(K=>{l();K.read=function(t,e,r,n,i){var o,a,c=i*8-n-1,p=(1<<c)-1,f=p>>1,h=-7,u=r?i-1:0,T=r?-1:1,v=t[e+u];for(u+=T,o=v&(1<<-h)-1,v>>=-h,h+=c;h>0;o=o*256+t[e+u],u+=T,h-=8);for(a=o&(1<<-h)-1,o>>=-h,h+=n;h>0;a=a*256+t[e+u],u+=T,h-=8);if(o===0)o=1-f;else{if(o===p)return a?NaN:(v?-1:1)*(1/0);a=a+Math.pow(2,n),o=o-f}return(v?-1:1)*a*Math.pow(2,o-n)};K.write=function(t,e,r,n,i,o){var a,c,p,f=o*8-i-1,h=(1<<f)-1,u=h>>1,T=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,v=n?0:o-1,B=n?1:-1,Ye=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*(p=Math.pow(2,-a))<1&&(a--,p*=2),a+u>=1?e+=T/p:e+=T*Math.pow(2,1-u),e*p>=2&&(a++,p/=2),a+u>=h?(c=0,a=h):a+u>=1?(c=(e*p-1)*Math.pow(2,i),a=a+u):(c=e*Math.pow(2,u-1)*Math.pow(2,i),a=0));i>=8;t[r+v]=c&255,v+=B,c/=256,i-=8);for(a=a<<i|c,f+=i;f>0;t[r+v]=a&255,v+=B,a/=256,f-=8);t[r+v-B]|=Ye*128}});var Ce=V(D=>{"use strict";l();var J=xe(),U=we(),ve=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;D.Buffer=s;D.SlowBuffer=hr;D.INSPECT_MAX_BYTES=50;var q=2147483647;D.kMaxLength=q;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 E(t){if(t>q)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 re(t)}return ke(t,e,r)}s.poolSize=8192;function ke(t,e,r){if(typeof t=="string")return gr(t,e);if(ArrayBuffer.isView(t))return mr(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 Q(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=fr(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 ke(t,e,r)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function Ae(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 dr(t,e,r){return Ae(t),t<=0?E(t):e!==void 0?typeof r=="string"?E(t).fill(e,r):E(t).fill(e):E(t)}s.alloc=function(t,e,r){return dr(t,e,r)};function re(t){return Ae(t),E(t<0?0:te(t)|0)}s.allocUnsafe=function(t){return re(t)};s.allocUnsafeSlow=function(t){return re(t)};function gr(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!s.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=_e(t,e)|0,n=E(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}function Z(t){for(var e=t.length<0?0:te(t.length)|0,r=E(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function mr(t){if(_(t,Uint8Array)){var e=new Uint8Array(t);return Q(e.buffer,e.byteOffset,e.byteLength)}return Z(t)}function Q(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 fr(t){if(s.isBuffer(t)){var e=te(t.length)|0,r=E(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||ne(t.length)?E(0):Z(t);if(t.type==="Buffer"&&Array.isArray(t.data))return Z(t.data)}function te(t){if(t>=q)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+q.toString(16)+" bytes");return t|0}function hr(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 _e(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 ee(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Ne(t).length;default:if(i)return n?-1:ee(t).length;e=(""+e).toLowerCase(),i=!0}}s.byteLength=_e;function yr(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 Ir(this,e,r);case"utf8":case"utf-8":return Ie(this,e,r);case"ascii":return _r(this,e,r);case"latin1":case"binary":return Rr(this,e,r);case"base64":return kr(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Sr(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function F(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}s.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<e;r+=2)F(this,r,r+1);return this};s.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<e;r+=4)F(this,r,r+3),F(this,r+1,r+2);return this};s.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<e;r+=8)F(this,r,r+7),F(this,r+1,r+6),F(this,r+2,r+5),F(this,r+3,r+4);return this};s.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?Ie(this,0,e):yr.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=D.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};ve&&(s.prototype[ve]=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,p=Math.min(a,c),f=this.slice(i,o),h=e.slice(r,n),u=0;u<p;++u)if(f[u]!==h[u]){a=f[u],c=h[u];break}return a<c?-1:c<a?1:0};function Re(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,ne(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 p(v,B){return o===1?v[B]:v.readUInt16BE(B*o)}var f;if(i){var h=-1;for(f=r;f<a;f++)if(p(t,f)===p(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 u=!0,T=0;T<c;T++)if(p(t,f+T)!==p(e,T)){u=!1;break}if(u)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 Re(this,e,r,n,!0)};s.prototype.lastIndexOf=function(e,r,n){return Re(this,e,r,n,!1)};function xr(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(ne(c))return a;t[r+a]=c}return a}function wr(t,e,r,n){return z(ee(e,t.length-r),t,r,n)}function vr(t,e,r,n){return z(Nr(e),t,r,n)}function br(t,e,r,n){return z(Ne(e),t,r,n)}function Tr(t,e,r,n){return z(Cr(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 xr(this,e,r,n);case"utf8":case"utf-8":return wr(this,e,r,n);case"ascii":case"latin1":case"binary":return vr(this,e,r,n);case"base64":return br(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Tr(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 kr(t,e,r){return e===0&&r===t.length?J.fromByteArray(t):J.fromByteArray(t.slice(e,r))}function Ie(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var o=t[i],a=null,c=o>239?4:o>223?3:o>191?2:1;if(i+c<=r){var p,f,h,u;switch(c){case 1:o<128&&(a=o);break;case 2:p=t[i+1],(p&192)===128&&(u=(o&31)<<6|p&63,u>127&&(a=u));break;case 3:p=t[i+1],f=t[i+2],(p&192)===128&&(f&192)===128&&(u=(o&15)<<12|(p&63)<<6|f&63,u>2047&&(u<55296||u>57343)&&(a=u));break;case 4:p=t[i+1],f=t[i+2],h=t[i+3],(p&192)===128&&(f&192)===128&&(h&192)===128&&(u=(o&15)<<18|(p&63)<<12|(f&63)<<6|h&63,u>65535&&u<1114112&&(a=u))}}a===null?(a=65533,c=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),i+=c}return Ar(n)}var Te=4096;function Ar(t){var e=t.length;if(e<=Te)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=Te));return r}function _r(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]&127);return n}function Rr(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 Ir(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+=Fr[t[o]];return i}function Sr(t,e,r){for(var n=t.slice(e,r),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}s.prototype.slice=function(e,r){var n=this.length;e=~~e,r=r===void 0?n:~~r,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<e&&(r=e);var i=this.subarray(e,r);return Object.setPrototypeOf(i,s.prototype),i};function x(t,e,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e+--r],o=1;r>0&&(o*=256);)i+=this[e+--r]*o;return i};s.prototype.readUint8=s.prototype.readUInt8=function(e,r){return e=e>>>0,r||x(e,1,this.length),this[e]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||x(e,2,this.length),this[e]|this[e+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||x(e,2,this.length),this[e]<<8|this[e+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||x(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};s.prototype.readIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*r)),i};s.prototype.readIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=r,o=1,a=this[e+--i];i>0&&(o*=256);)a+=this[e+--i]*o;return o*=128,a>=o&&(a-=Math.pow(2,8*r)),a};s.prototype.readInt8=function(e,r){return e=e>>>0,r||x(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};s.prototype.readInt16LE=function(e,r){e=e>>>0,r||x(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(e,r){e=e>>>0,r||x(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};s.prototype.readInt32BE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};s.prototype.readFloatLE=function(e,r){return e=e>>>0,r||x(e,4,this.length),U.read(this,e,!0,23,4)};s.prototype.readFloatBE=function(e,r){return e=e>>>0,r||x(e,4,this.length),U.read(this,e,!1,23,4)};s.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||x(e,8,this.length),U.read(this,e,!0,52,8)};s.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||x(e,8,this.length),U.read(this,e,!1,52,8)};function w(t,e,r,n,i,o){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;w(this,e,r,n,o,0)}var a=1,c=0;for(this[r]=e&255;++c<n&&(a*=256);)this[r+c]=e/a&255;return r+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;w(this,e,r,n,o,0)}var a=n-1,c=1;for(this[r+a]=e&255;--a>=0&&(c*=256);)this[r+a]=e/c&255;return r+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,1,255,0),this[r]=e&255,r+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,65535,0),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,65535,0),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,4294967295,0),this[r+3]=e>>>24,this[r+2]=e>>>16,this[r+1]=e>>>8,this[r]=e&255,r+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,4294967295,0),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};s.prototype.writeIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);w(this,e,r,n,o-1,-o)}var a=0,c=1,p=0;for(this[r]=e&255;++a<n&&(c*=256);)e<0&&p===0&&this[r+a-1]!==0&&(p=1),this[r+a]=(e/c>>0)-p&255;return r+n};s.prototype.writeIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);w(this,e,r,n,o-1,-o)}var a=n-1,c=1,p=0;for(this[r+a]=e&255;--a>=0&&(c*=256);)e<0&&p===0&&this[r+a+1]!==0&&(p=1),this[r+a]=(e/c>>0)-p&255;return r+n};s.prototype.writeInt8=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,1,127,-128),e<0&&(e=255+e+1),this[r]=e&255,r+1};s.prototype.writeInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,32767,-32768),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,32767,-32768),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,2147483647,-2147483648),this[r]=e&255,this[r+1]=e>>>8,this[r+2]=e>>>16,this[r+3]=e>>>24,r+4};s.prototype.writeInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};function Se(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 Ee(t,e,r,n,i){return e=+e,r=r>>>0,i||Se(t,e,r,4,34028234663852886e22,-34028234663852886e22),U.write(t,e,r,n,23,4),r+4}s.prototype.writeFloatLE=function(e,r,n){return Ee(this,e,r,!0,n)};s.prototype.writeFloatBE=function(e,r,n){return Ee(this,e,r,!1,n)};function Le(t,e,r,n,i){return e=+e,r=r>>>0,i||Se(t,e,r,8,17976931348623157e292,-17976931348623157e292),U.write(t,e,r,n,52,8),r+8}s.prototype.writeDoubleLE=function(e,r,n){return Le(this,e,r,!0,n)};s.prototype.writeDoubleBE=function(e,r,n){return Le(this,e,r,!1,n)};s.prototype.copy=function(e,r,n,i){if(!s.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),r>=e.length&&(r=e.length),r||(r=0),i>0&&i<n&&(i=n),i===n||e.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-r<i-n&&(i=e.length-r+n);var o=i-n;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,n,i):Uint8Array.prototype.set.call(e,this.subarray(n,i),r),o};s.prototype.fill=function(e,r,n,i){if(typeof e=="string"){if(typeof r=="string"?(i=r,r=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(e.length===1){var o=e.charCodeAt(0);(i==="utf8"&&o<128||i==="latin1")&&(e=o)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;r=r>>>0,n=n===void 0?this.length:n>>>0,e||(e=0);var a;if(typeof e=="number")for(a=r;a<n;++a)this[a]=e;else{var c=s.isBuffer(e)?e:s.from(e,i),p=c.length;if(p===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(a=0;a<n-r;++a)this[a+r]=c[a%p]}return this};var Er=/[^+/0-9A-Za-z-_]/g;function Lr(t){if(t=t.split("=")[0],t=t.trim().replace(Er,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function ee(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 Nr(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function Cr(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 Ne(t){return J.toByteArray(Lr(t))}function z(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 ne(t){return t!==t}var Fr=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 De=V((Jr,Ue)=>{l();var y=Ue.exports={},R,I;function ie(){throw new Error("setTimeout has not been defined")}function oe(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?R=setTimeout:R=ie}catch(t){R=ie}try{typeof clearTimeout=="function"?I=clearTimeout:I=oe}catch(t){I=oe}})();function Fe(t){if(R===setTimeout)return setTimeout(t,0);if((R===ie||!R)&&setTimeout)return R=setTimeout,setTimeout(t,0);try{return R(t,0)}catch(e){try{return R.call(null,t,0)}catch(r){return R.call(this,t,0)}}}function Pr(t){if(I===clearTimeout)return clearTimeout(t);if((I===oe||!I)&&clearTimeout)return I=clearTimeout,clearTimeout(t);try{return I(t)}catch(e){try{return I.call(null,t)}catch(r){return I.call(this,t)}}}var L=[],O=!1,P,j=-1;function Br(){!O||!P||(O=!1,P.length?L=P.concat(L):j=-1,L.length&&Pe())}function Pe(){if(!O){var t=Fe(Br);O=!0;for(var e=L.length;e;){for(P=L,L=[];++j<e;)P&&P[j].run();j=-1,e=L.length}P=null,O=!1,Pr(t)}}y.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];L.push(new Be(t,e)),L.length===1&&!O&&Fe(Pe)};function Be(t,e){this.fun=t,this.array=e}Be.prototype.run=function(){this.fun.apply(null,this.array)};y.title="browser";y.browser=!0;y.env={};y.argv=[];y.version="";y.versions={};function N(){}y.on=N;y.addListener=N;y.once=N;y.off=N;y.removeListener=N;y.removeAllListeners=N;y.emit=N;y.prependListener=N;y.prependOnceListener=N;y.listeners=function(t){return[]};y.binding=function(t){throw new Error("process.binding is not supported")};y.cwd=function(){return"/"};y.chdir=function(t){throw new Error("process.chdir is not supported")};y.umask=function(){return 0}});var d,g,Zr,l=rr(()=>{d=fe(Ce()),g=fe(De()),Zr=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 jr={};tr(jr,{getAccountProvider:()=>Xe,getExternalProvider:()=>$e,setAccountProvider:()=>Hr,setExternalProvider:()=>qr,setExternalProviderAsAccountProvider:()=>zr});module.exports=nr(jr);l();l();var Dr=require("@multiversx/sdk-extension-provider"),Or=require("@multiversx/sdk-hw-provider"),Mr=require("@multiversx/sdk-metamask-provider/out/metamaskProvider"),Gr=require("@multiversx/sdk-opera-provider"),Wr=require("@multiversx/sdk-passkey-provider/out"),Vr=require("@multiversx/sdk-web-wallet-provider");l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();var Oe=require("@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider"),M=require("@multiversx/sdk-web-wallet-cross-window-provider/out/enums");var Me=(r=>(r.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",r.reloginRequest="RELOGIN_REQUEST",r))(Me||{}),pt=W(W({},M.WindowProviderRequestEnums),Me),Ge=(e=>(e.reloginResponse="RELOGIN_RESPONSE",e))(Ge||{}),ut=W(W({},M.WindowProviderResponseEnums),Ge);l();l();l();l();l();l();var ae={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",metamaskSnapWalletAddress:"https://devnet-iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",xAliasAddress:"https://testnet.xalias.com",apiAddress:"https://testnet-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://testnet-iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",xAliasAddress:"https://xalias.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",metamaskSnapWalletAddress:"https://iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3}},{chainId:We,egldLabel:St}=ae["devnet"],{chainId:Ve,egldLabel:Et}=ae["testnet"],{chainId:He,egldLabel:Lt}=ae["mainnet"];var Nt={["devnet"]:We,["testnet"]:Ve,["mainnet"]:He},Ct={[We]:"devnet",[Ve]:"testnet",[He]:"mainnet"};l();l();var S=require("@multiversx/sdk-web-wallet-provider");l();l();var se=require("@multiversx/sdk-dapp-utils/out/constants/browserConstants");var qe,ze,le=String((ze=(qe=se.safeWindow)==null?void 0:qe.navigator)==null?void 0:ze.userAgent),Ot=/^((?!chrome|android).)*safari/i.test(le),Mt=/firefox/i.test(le)&&/windows/i.test(le);l();var je=require("@multiversx/sdk-web-wallet-iframe-provider/out"),Ur=require("@multiversx/sdk-web-wallet-iframe-provider/out/constants");l();l();var k=t=>`Unable to perform ${t}, Provider not initialized`,X=class{init(){return Promise.resolve(!1)}getAccount(){throw new Error(k("getAccount"))}setAccount(e){throw new Error(k(`setAccount: ${e}`))}login(e){throw new Error(k(`login with options: ${e}`))}logout(e){throw new Error(k(`logout with options: ${e}`))}getAddress(){throw new Error(k("getAddress"))}isInitialized(){return!1}isConnected(){return!1}sendTransaction(e,r){throw new Error(k(`sendTransaction with transactions: ${e} options: ${r}`))}signTransaction(e,r){throw new Error(k(`signTransaction with transactions: ${e} options: ${r}`))}signTransactions(e,r){throw new Error(k(`signTransactions with transactions: ${e} options: ${r}`))}signMessage(e,r){throw new Error(k(`signTransactions with ${e} and options ${r}`))}sendCustomMessage({method:e,params:r}){throw new Error(k(`sendCustomMessage with method: ${e} params: ${r}`))}sendCustomRequest(e){throw new Error(k(`sendSessionEvent with options: ${e}`))}ping(){return Promise.resolve(!1)}},ce=new X;var pe=ce,$=null;function Hr(t){pe=t}function qr(t){$=t}function zr(){$!=null&&(pe=$)}function Xe(){return pe||ce}function $e(){return $}0&&(module.exports={getAccountProvider,getExternalProvider,setAccountProvider,setExternalProvider,setExternalProviderAsAccountProvider});
|
|
1
|
+
"use strict";var Ke=Object.create;var G=Object.defineProperty;var Je=Object.getOwnPropertyDescriptor;var Ze=Object.getOwnPropertyNames,ue=Object.getOwnPropertySymbols,Qe=Object.getPrototypeOf,ge=Object.prototype.hasOwnProperty,er=Object.prototype.propertyIsEnumerable;var de=(t,e,r)=>e in t?G(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,W=(t,e)=>{for(var r in e||(e={}))ge.call(e,r)&&de(t,r,e[r]);if(ue)for(var r of ue(e))er.call(e,r)&&de(t,r,e[r]);return t};var rr=(t,e)=>()=>(t&&(e=t(t=0)),e);var V=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),tr=(t,e)=>{for(var r in e)G(t,r,{get:e[r],enumerable:!0})},me=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Ze(e))!ge.call(t,i)&&i!==r&&G(t,i,{get:()=>e[i],enumerable:!(n=Je(e,i))||n.enumerable});return t};var fe=(t,e,r)=>(r=t!=null?Ke(Qe(t)):{},me(e||!t||!t.__esModule?G(r,"default",{value:t,enumerable:!0}):r,t)),nr=t=>me(G({},"__esModule",{value:!0}),t);var xe=V(H=>{"use strict";l();H.byteLength=or;H.toByteArray=sr;H.fromByteArray=pr;var A=[],b=[],ir=typeof Uint8Array!="undefined"?Uint8Array:Array,Y="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(C=0,he=Y.length;C<he;++C)A[C]=Y[C],b[Y.charCodeAt(C)]=C;var C,he;b["-".charCodeAt(0)]=62;b["_".charCodeAt(0)]=63;function ye(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 or(t){var e=ye(t),r=e[0],n=e[1];return(r+n)*3/4-n}function ar(t,e,r){return(e+r)*3/4-r}function sr(t){var e,r=ye(t),n=r[0],i=r[1],o=new ir(ar(t,n,i)),a=0,c=i>0?n-4:n,p;for(p=0;p<c;p+=4)e=b[t.charCodeAt(p)]<<18|b[t.charCodeAt(p+1)]<<12|b[t.charCodeAt(p+2)]<<6|b[t.charCodeAt(p+3)],o[a++]=e>>16&255,o[a++]=e>>8&255,o[a++]=e&255;return i===2&&(e=b[t.charCodeAt(p)]<<2|b[t.charCodeAt(p+1)]>>4,o[a++]=e&255),i===1&&(e=b[t.charCodeAt(p)]<<10|b[t.charCodeAt(p+1)]<<4|b[t.charCodeAt(p+2)]>>2,o[a++]=e>>8&255,o[a++]=e&255),o}function lr(t){return A[t>>18&63]+A[t>>12&63]+A[t>>6&63]+A[t&63]}function cr(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(lr(n));return i.join("")}function pr(t){for(var e,r=t.length,n=r%3,i=[],o=16383,a=0,c=r-n;a<c;a+=o)i.push(cr(t,a,a+o>c?c:a+o));return n===1?(e=t[r-1],i.push(A[e>>2]+A[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],i.push(A[e>>10]+A[e>>4&63]+A[e<<2&63]+"=")),i.join("")}});var we=V(K=>{l();K.read=function(t,e,r,n,i){var o,a,c=i*8-n-1,p=(1<<c)-1,f=p>>1,h=-7,u=r?i-1:0,T=r?-1:1,v=t[e+u];for(u+=T,o=v&(1<<-h)-1,v>>=-h,h+=c;h>0;o=o*256+t[e+u],u+=T,h-=8);for(a=o&(1<<-h)-1,o>>=-h,h+=n;h>0;a=a*256+t[e+u],u+=T,h-=8);if(o===0)o=1-f;else{if(o===p)return a?NaN:(v?-1:1)*(1/0);a=a+Math.pow(2,n),o=o-f}return(v?-1:1)*a*Math.pow(2,o-n)};K.write=function(t,e,r,n,i,o){var a,c,p,f=o*8-i-1,h=(1<<f)-1,u=h>>1,T=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,v=n?0:o-1,B=n?1:-1,Ye=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*(p=Math.pow(2,-a))<1&&(a--,p*=2),a+u>=1?e+=T/p:e+=T*Math.pow(2,1-u),e*p>=2&&(a++,p/=2),a+u>=h?(c=0,a=h):a+u>=1?(c=(e*p-1)*Math.pow(2,i),a=a+u):(c=e*Math.pow(2,u-1)*Math.pow(2,i),a=0));i>=8;t[r+v]=c&255,v+=B,c/=256,i-=8);for(a=a<<i|c,f+=i;f>0;t[r+v]=a&255,v+=B,a/=256,f-=8);t[r+v-B]|=Ye*128}});var Ce=V(D=>{"use strict";l();var J=xe(),U=we(),ve=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;D.Buffer=s;D.SlowBuffer=hr;D.INSPECT_MAX_BYTES=50;var q=2147483647;D.kMaxLength=q;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 E(t){if(t>q)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 re(t)}return ke(t,e,r)}s.poolSize=8192;function ke(t,e,r){if(typeof t=="string")return gr(t,e);if(ArrayBuffer.isView(t))return mr(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 Q(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=fr(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 ke(t,e,r)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function Ae(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 dr(t,e,r){return Ae(t),t<=0?E(t):e!==void 0?typeof r=="string"?E(t).fill(e,r):E(t).fill(e):E(t)}s.alloc=function(t,e,r){return dr(t,e,r)};function re(t){return Ae(t),E(t<0?0:te(t)|0)}s.allocUnsafe=function(t){return re(t)};s.allocUnsafeSlow=function(t){return re(t)};function gr(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!s.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=_e(t,e)|0,n=E(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}function Z(t){for(var e=t.length<0?0:te(t.length)|0,r=E(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function mr(t){if(_(t,Uint8Array)){var e=new Uint8Array(t);return Q(e.buffer,e.byteOffset,e.byteLength)}return Z(t)}function Q(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 fr(t){if(s.isBuffer(t)){var e=te(t.length)|0,r=E(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||ne(t.length)?E(0):Z(t);if(t.type==="Buffer"&&Array.isArray(t.data))return Z(t.data)}function te(t){if(t>=q)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+q.toString(16)+" bytes");return t|0}function hr(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 _e(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 ee(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Ne(t).length;default:if(i)return n?-1:ee(t).length;e=(""+e).toLowerCase(),i=!0}}s.byteLength=_e;function yr(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 Sr(this,e,r);case"utf8":case"utf-8":return Se(this,e,r);case"ascii":return _r(this,e,r);case"latin1":case"binary":return Rr(this,e,r);case"base64":return kr(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ir(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function F(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}s.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<e;r+=2)F(this,r,r+1);return this};s.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<e;r+=4)F(this,r,r+3),F(this,r+1,r+2);return this};s.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<e;r+=8)F(this,r,r+7),F(this,r+1,r+6),F(this,r+2,r+5),F(this,r+3,r+4);return this};s.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?Se(this,0,e):yr.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=D.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};ve&&(s.prototype[ve]=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,p=Math.min(a,c),f=this.slice(i,o),h=e.slice(r,n),u=0;u<p;++u)if(f[u]!==h[u]){a=f[u],c=h[u];break}return a<c?-1:c<a?1:0};function Re(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,ne(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 p(v,B){return o===1?v[B]:v.readUInt16BE(B*o)}var f;if(i){var h=-1;for(f=r;f<a;f++)if(p(t,f)===p(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 u=!0,T=0;T<c;T++)if(p(t,f+T)!==p(e,T)){u=!1;break}if(u)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 Re(this,e,r,n,!0)};s.prototype.lastIndexOf=function(e,r,n){return Re(this,e,r,n,!1)};function xr(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(ne(c))return a;t[r+a]=c}return a}function wr(t,e,r,n){return z(ee(e,t.length-r),t,r,n)}function vr(t,e,r,n){return z(Nr(e),t,r,n)}function br(t,e,r,n){return z(Ne(e),t,r,n)}function Tr(t,e,r,n){return z(Cr(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 xr(this,e,r,n);case"utf8":case"utf-8":return wr(this,e,r,n);case"ascii":case"latin1":case"binary":return vr(this,e,r,n);case"base64":return br(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Tr(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 kr(t,e,r){return e===0&&r===t.length?J.fromByteArray(t):J.fromByteArray(t.slice(e,r))}function Se(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var o=t[i],a=null,c=o>239?4:o>223?3:o>191?2:1;if(i+c<=r){var p,f,h,u;switch(c){case 1:o<128&&(a=o);break;case 2:p=t[i+1],(p&192)===128&&(u=(o&31)<<6|p&63,u>127&&(a=u));break;case 3:p=t[i+1],f=t[i+2],(p&192)===128&&(f&192)===128&&(u=(o&15)<<12|(p&63)<<6|f&63,u>2047&&(u<55296||u>57343)&&(a=u));break;case 4:p=t[i+1],f=t[i+2],h=t[i+3],(p&192)===128&&(f&192)===128&&(h&192)===128&&(u=(o&15)<<18|(p&63)<<12|(f&63)<<6|h&63,u>65535&&u<1114112&&(a=u))}}a===null?(a=65533,c=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),i+=c}return Ar(n)}var Te=4096;function Ar(t){var e=t.length;if(e<=Te)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=Te));return r}function _r(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]&127);return n}function Rr(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 Sr(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+=Fr[t[o]];return i}function Ir(t,e,r){for(var n=t.slice(e,r),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}s.prototype.slice=function(e,r){var n=this.length;e=~~e,r=r===void 0?n:~~r,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<e&&(r=e);var i=this.subarray(e,r);return Object.setPrototypeOf(i,s.prototype),i};function x(t,e,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e+--r],o=1;r>0&&(o*=256);)i+=this[e+--r]*o;return i};s.prototype.readUint8=s.prototype.readUInt8=function(e,r){return e=e>>>0,r||x(e,1,this.length),this[e]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||x(e,2,this.length),this[e]|this[e+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||x(e,2,this.length),this[e]<<8|this[e+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||x(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};s.prototype.readIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*r)),i};s.prototype.readIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=r,o=1,a=this[e+--i];i>0&&(o*=256);)a+=this[e+--i]*o;return o*=128,a>=o&&(a-=Math.pow(2,8*r)),a};s.prototype.readInt8=function(e,r){return e=e>>>0,r||x(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};s.prototype.readInt16LE=function(e,r){e=e>>>0,r||x(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(e,r){e=e>>>0,r||x(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};s.prototype.readInt32BE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};s.prototype.readFloatLE=function(e,r){return e=e>>>0,r||x(e,4,this.length),U.read(this,e,!0,23,4)};s.prototype.readFloatBE=function(e,r){return e=e>>>0,r||x(e,4,this.length),U.read(this,e,!1,23,4)};s.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||x(e,8,this.length),U.read(this,e,!0,52,8)};s.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||x(e,8,this.length),U.read(this,e,!1,52,8)};function w(t,e,r,n,i,o){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;w(this,e,r,n,o,0)}var a=1,c=0;for(this[r]=e&255;++c<n&&(a*=256);)this[r+c]=e/a&255;return r+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;w(this,e,r,n,o,0)}var a=n-1,c=1;for(this[r+a]=e&255;--a>=0&&(c*=256);)this[r+a]=e/c&255;return r+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,1,255,0),this[r]=e&255,r+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,65535,0),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,65535,0),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,4294967295,0),this[r+3]=e>>>24,this[r+2]=e>>>16,this[r+1]=e>>>8,this[r]=e&255,r+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,4294967295,0),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};s.prototype.writeIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);w(this,e,r,n,o-1,-o)}var a=0,c=1,p=0;for(this[r]=e&255;++a<n&&(c*=256);)e<0&&p===0&&this[r+a-1]!==0&&(p=1),this[r+a]=(e/c>>0)-p&255;return r+n};s.prototype.writeIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);w(this,e,r,n,o-1,-o)}var a=n-1,c=1,p=0;for(this[r+a]=e&255;--a>=0&&(c*=256);)e<0&&p===0&&this[r+a+1]!==0&&(p=1),this[r+a]=(e/c>>0)-p&255;return r+n};s.prototype.writeInt8=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,1,127,-128),e<0&&(e=255+e+1),this[r]=e&255,r+1};s.prototype.writeInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,32767,-32768),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,32767,-32768),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,2147483647,-2147483648),this[r]=e&255,this[r+1]=e>>>8,this[r+2]=e>>>16,this[r+3]=e>>>24,r+4};s.prototype.writeInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};function Ie(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 Ee(t,e,r,n,i){return e=+e,r=r>>>0,i||Ie(t,e,r,4,34028234663852886e22,-34028234663852886e22),U.write(t,e,r,n,23,4),r+4}s.prototype.writeFloatLE=function(e,r,n){return Ee(this,e,r,!0,n)};s.prototype.writeFloatBE=function(e,r,n){return Ee(this,e,r,!1,n)};function Le(t,e,r,n,i){return e=+e,r=r>>>0,i||Ie(t,e,r,8,17976931348623157e292,-17976931348623157e292),U.write(t,e,r,n,52,8),r+8}s.prototype.writeDoubleLE=function(e,r,n){return Le(this,e,r,!0,n)};s.prototype.writeDoubleBE=function(e,r,n){return Le(this,e,r,!1,n)};s.prototype.copy=function(e,r,n,i){if(!s.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),r>=e.length&&(r=e.length),r||(r=0),i>0&&i<n&&(i=n),i===n||e.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-r<i-n&&(i=e.length-r+n);var o=i-n;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,n,i):Uint8Array.prototype.set.call(e,this.subarray(n,i),r),o};s.prototype.fill=function(e,r,n,i){if(typeof e=="string"){if(typeof r=="string"?(i=r,r=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(e.length===1){var o=e.charCodeAt(0);(i==="utf8"&&o<128||i==="latin1")&&(e=o)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;r=r>>>0,n=n===void 0?this.length:n>>>0,e||(e=0);var a;if(typeof e=="number")for(a=r;a<n;++a)this[a]=e;else{var c=s.isBuffer(e)?e:s.from(e,i),p=c.length;if(p===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(a=0;a<n-r;++a)this[a+r]=c[a%p]}return this};var Er=/[^+/0-9A-Za-z-_]/g;function Lr(t){if(t=t.split("=")[0],t=t.trim().replace(Er,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function ee(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 Nr(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function Cr(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 Ne(t){return J.toByteArray(Lr(t))}function z(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 ne(t){return t!==t}var Fr=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 De=V((Jr,Ue)=>{l();var y=Ue.exports={},R,S;function ie(){throw new Error("setTimeout has not been defined")}function oe(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?R=setTimeout:R=ie}catch(t){R=ie}try{typeof clearTimeout=="function"?S=clearTimeout:S=oe}catch(t){S=oe}})();function Fe(t){if(R===setTimeout)return setTimeout(t,0);if((R===ie||!R)&&setTimeout)return R=setTimeout,setTimeout(t,0);try{return R(t,0)}catch(e){try{return R.call(null,t,0)}catch(r){return R.call(this,t,0)}}}function Pr(t){if(S===clearTimeout)return clearTimeout(t);if((S===oe||!S)&&clearTimeout)return S=clearTimeout,clearTimeout(t);try{return S(t)}catch(e){try{return S.call(null,t)}catch(r){return S.call(this,t)}}}var L=[],O=!1,P,j=-1;function Br(){!O||!P||(O=!1,P.length?L=P.concat(L):j=-1,L.length&&Pe())}function Pe(){if(!O){var t=Fe(Br);O=!0;for(var e=L.length;e;){for(P=L,L=[];++j<e;)P&&P[j].run();j=-1,e=L.length}P=null,O=!1,Pr(t)}}y.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];L.push(new Be(t,e)),L.length===1&&!O&&Fe(Pe)};function Be(t,e){this.fun=t,this.array=e}Be.prototype.run=function(){this.fun.apply(null,this.array)};y.title="browser";y.browser=!0;y.env={};y.argv=[];y.version="";y.versions={};function N(){}y.on=N;y.addListener=N;y.once=N;y.off=N;y.removeListener=N;y.removeAllListeners=N;y.emit=N;y.prependListener=N;y.prependOnceListener=N;y.listeners=function(t){return[]};y.binding=function(t){throw new Error("process.binding is not supported")};y.cwd=function(){return"/"};y.chdir=function(t){throw new Error("process.chdir is not supported")};y.umask=function(){return 0}});var d,g,Zr,l=rr(()=>{d=fe(Ce()),g=fe(De()),Zr=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 jr={};tr(jr,{getAccountProvider:()=>Xe,getExternalProvider:()=>$e,setAccountProvider:()=>Hr,setExternalProvider:()=>qr,setExternalProviderAsAccountProvider:()=>zr});module.exports=nr(jr);l();l();var Dr=require("@multiversx/sdk-extension-provider"),Or=require("@multiversx/sdk-hw-provider"),Mr=require("@multiversx/sdk-metamask-provider/out/metamaskProvider"),Gr=require("@multiversx/sdk-opera-provider"),Wr=require("@multiversx/sdk-passkey-provider/out"),Vr=require("@multiversx/sdk-web-wallet-provider");l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();var Oe=require("@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider"),M=require("@multiversx/sdk-web-wallet-cross-window-provider/out/enums");var Me=(r=>(r.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",r.reloginRequest="RELOGIN_REQUEST",r))(Me||{}),pt=W(W({},M.WindowProviderRequestEnums),Me),Ge=(e=>(e.reloginResponse="RELOGIN_RESPONSE",e))(Ge||{}),ut=W(W({},M.WindowProviderResponseEnums),Ge);l();l();l();l();l();l();var ae={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",metamaskSnapWalletAddress:"https://devnet-iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",xAliasAddress:"https://testnet.xalias.com",apiAddress:"https://testnet-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://testnet-iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",xAliasAddress:"https://xalias.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",metamaskSnapWalletAddress:"https://iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3}},{chainId:We,egldLabel:It}=ae["devnet"],{chainId:Ve,egldLabel:Et}=ae["testnet"],{chainId:He,egldLabel:Lt}=ae["mainnet"];var Nt={["devnet"]:We,["testnet"]:Ve,["mainnet"]:He},Ct={[We]:"devnet",[Ve]:"testnet",[He]:"mainnet"};l();l();var I=require("@multiversx/sdk-web-wallet-provider");l();l();var se=require("@multiversx/sdk-dapp-utils/out/constants/browserConstants");var qe,ze,le=String((ze=(qe=se.safeWindow)==null?void 0:qe.navigator)==null?void 0:ze.userAgent),Ot=/^((?!chrome|android).)*safari/i.test(le),Mt=/firefox/i.test(le)&&/windows/i.test(le);l();var je=require("@multiversx/sdk-web-wallet-iframe-provider/out"),Ur=require("@multiversx/sdk-web-wallet-iframe-provider/out/constants");l();l();var k=t=>`Unable to perform ${t}, Provider not initialized`,X=class{init(){return Promise.resolve(!1)}getAccount(){throw new Error(k("getAccount"))}setAccount(e){throw new Error(k(`setAccount: ${e}`))}login(e){throw new Error(k(`login with options: ${e}`))}logout(e){throw new Error(k(`logout with options: ${e}`))}getAddress(){throw new Error(k("getAddress"))}isInitialized(){return!1}isConnected(){return!1}sendTransaction(e,r){throw new Error(k(`sendTransaction with transactions: ${e} options: ${r}`))}signTransaction(e,r){throw new Error(k(`signTransaction with transactions: ${e} options: ${r}`))}signTransactions(e,r){throw new Error(k(`signTransactions with transactions: ${e} options: ${r}`))}signMessage(e,r){throw new Error(k(`signTransactions with ${e} and options ${r}`))}sendCustomMessage({method:e,params:r}){throw new Error(k(`sendCustomMessage with method: ${e} params: ${r}`))}sendCustomRequest(e){throw new Error(k(`sendSessionEvent with options: ${e}`))}ping(){return Promise.resolve(!1)}},ce=new X;var pe=ce,$=null;function Hr(t){pe=t}function qr(t){$=t}function zr(){$!=null&&(pe=$)}function Xe(){return pe||ce}function $e(){return $}0&&(module.exports={getAccountProvider,getExternalProvider,setAccountProvider,setExternalProvider,setExternalProviderAsAccountProvider});
|
|
2
2
|
/*!
|
|
3
3
|
* The buffer module from node.js, for the browser.
|
|
4
4
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var ir=Object.create;var W=Object.defineProperty;var or=Object.getOwnPropertyDescriptor;var ar=Object.getOwnPropertyNames,de=Object.getOwnPropertySymbols,sr=Object.getPrototypeOf,me=Object.prototype.hasOwnProperty,lr=Object.prototype.propertyIsEnumerable;var ge=(t,e,r)=>e in t?W(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,V=(t,e)=>{for(var r in e||(e={}))me.call(e,r)&&ge(t,r,e[r]);if(de)for(var r of de(e))lr.call(e,r)&&ge(t,r,e[r]);return t};var cr=(t,e)=>()=>(t&&(e=t(t=0)),e);var H=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),pr=(t,e)=>{for(var r in e)W(t,r,{get:e[r],enumerable:!0})},fe=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of ar(e))!me.call(t,i)&&i!==r&&W(t,i,{get:()=>e[i],enumerable:!(n=or(e,i))||n.enumerable});return t};var he=(t,e,r)=>(r=t!=null?ir(sr(t)):{},fe(e||!t||!t.__esModule?W(r,"default",{value:t,enumerable:!0}):r,t)),ur=t=>fe(W({},"__esModule",{value:!0}),t);var ye=(t,e,r)=>new Promise((n,i)=>{var o=c=>{try{p(r.next(c))}catch(u){i(u)}},a=c=>{try{p(r.throw(c))}catch(u){i(u)}},p=c=>c.done?n(c.value):Promise.resolve(c.value).then(o,a);p((r=r.apply(t,e)).next())});var ve=H(q=>{"use strict";l();q.byteLength=gr;q.toByteArray=fr;q.fromByteArray=xr;var A=[],b=[],dr=typeof Uint8Array!="undefined"?Uint8Array:Array,Y="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(C=0,xe=Y.length;C<xe;++C)A[C]=Y[C],b[Y.charCodeAt(C)]=C;var C,xe;b["-".charCodeAt(0)]=62;b["_".charCodeAt(0)]=63;function we(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 gr(t){var e=we(t),r=e[0],n=e[1];return(r+n)*3/4-n}function mr(t,e,r){return(e+r)*3/4-r}function fr(t){var e,r=we(t),n=r[0],i=r[1],o=new dr(mr(t,n,i)),a=0,p=i>0?n-4:n,c;for(c=0;c<p;c+=4)e=b[t.charCodeAt(c)]<<18|b[t.charCodeAt(c+1)]<<12|b[t.charCodeAt(c+2)]<<6|b[t.charCodeAt(c+3)],o[a++]=e>>16&255,o[a++]=e>>8&255,o[a++]=e&255;return i===2&&(e=b[t.charCodeAt(c)]<<2|b[t.charCodeAt(c+1)]>>4,o[a++]=e&255),i===1&&(e=b[t.charCodeAt(c)]<<10|b[t.charCodeAt(c+1)]<<4|b[t.charCodeAt(c+2)]>>2,o[a++]=e>>8&255,o[a++]=e&255),o}function hr(t){return A[t>>18&63]+A[t>>12&63]+A[t>>6&63]+A[t&63]}function yr(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(hr(n));return i.join("")}function xr(t){for(var e,r=t.length,n=r%3,i=[],o=16383,a=0,p=r-n;a<p;a+=o)i.push(yr(t,a,a+o>p?p:a+o));return n===1?(e=t[r-1],i.push(A[e>>2]+A[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],i.push(A[e>>10]+A[e>>4&63]+A[e<<2&63]+"=")),i.join("")}});var be=H(K=>{l();K.read=function(t,e,r,n,i){var o,a,p=i*8-n-1,c=(1<<p)-1,u=c>>1,h=-7,d=r?i-1:0,T=r?-1:1,v=t[e+d];for(d+=T,o=v&(1<<-h)-1,v>>=-h,h+=p;h>0;o=o*256+t[e+d],d+=T,h-=8);for(a=o&(1<<-h)-1,o>>=-h,h+=n;h>0;a=a*256+t[e+d],d+=T,h-=8);if(o===0)o=1-u;else{if(o===c)return a?NaN:(v?-1:1)*(1/0);a=a+Math.pow(2,n),o=o-u}return(v?-1:1)*a*Math.pow(2,o-n)};K.write=function(t,e,r,n,i,o){var a,p,c,u=o*8-i-1,h=(1<<u)-1,d=h>>1,T=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,v=n?0:o-1,U=n?1:-1,nr=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(p=isNaN(e)?1:0,a=h):(a=Math.floor(Math.log(e)/Math.LN2),e*(c=Math.pow(2,-a))<1&&(a--,c*=2),a+d>=1?e+=T/c:e+=T*Math.pow(2,1-d),e*c>=2&&(a++,c/=2),a+d>=h?(p=0,a=h):a+d>=1?(p=(e*c-1)*Math.pow(2,i),a=a+d):(p=e*Math.pow(2,d-1)*Math.pow(2,i),a=0));i>=8;t[r+v]=p&255,v+=U,p/=256,i-=8);for(a=a<<i|p,u+=i;u>0;t[r+v]=a&255,v+=U,a/=256,u-=8);t[r+v-U]|=nr*128}});var Pe=H(O=>{"use strict";l();var J=ve(),D=be(),Te=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;O.Buffer=s;O.SlowBuffer=Ar;O.INSPECT_MAX_BYTES=50;var z=2147483647;O.kMaxLength=z;s.TYPED_ARRAY_SUPPORT=wr();!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 wr(){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 E(t){if(t>z)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 re(t)}return _e(t,e,r)}s.poolSize=8192;function _e(t,e,r){if(typeof t=="string")return br(t,e);if(ArrayBuffer.isView(t))return Tr(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 Q(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=kr(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 _e(t,e,r)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function Re(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 vr(t,e,r){return Re(t),t<=0?E(t):e!==void 0?typeof r=="string"?E(t).fill(e,r):E(t).fill(e):E(t)}s.alloc=function(t,e,r){return vr(t,e,r)};function re(t){return Re(t),E(t<0?0:te(t)|0)}s.allocUnsafe=function(t){return re(t)};s.allocUnsafeSlow=function(t){return re(t)};function br(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!s.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=Ie(t,e)|0,n=E(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}function Z(t){for(var e=t.length<0?0:te(t.length)|0,r=E(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function Tr(t){if(_(t,Uint8Array)){var e=new Uint8Array(t);return Q(e.buffer,e.byteOffset,e.byteLength)}return Z(t)}function Q(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 kr(t){if(s.isBuffer(t)){var e=te(t.length)|0,r=E(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||ne(t.length)?E(0):Z(t);if(t.type==="Buffer"&&Array.isArray(t.data))return Z(t.data)}function te(t){if(t>=z)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+z.toString(16)+" bytes");return t|0}function Ar(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 Ie(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 ee(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Fe(t).length;default:if(i)return n?-1:ee(t).length;e=(""+e).toLowerCase(),i=!0}}s.byteLength=Ie;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 Br(this,e,r);case"utf8":case"utf-8":return Ee(this,e,r);case"ascii":return Fr(this,e,r);case"latin1":case"binary":return Pr(this,e,r);case"base64":return Nr(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ur(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function F(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}s.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<e;r+=2)F(this,r,r+1);return this};s.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<e;r+=4)F(this,r,r+3),F(this,r+1,r+2);return this};s.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<e;r+=8)F(this,r,r+7),F(this,r+1,r+6),F(this,r+2,r+5),F(this,r+3,r+4);return this};s.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?Ee(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=O.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};Te&&(s.prototype[Te]=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,p=n-r,c=Math.min(a,p),u=this.slice(i,o),h=e.slice(r,n),d=0;d<c;++d)if(u[d]!==h[d]){a=u[d],p=h[d];break}return a<p?-1:p<a?1:0};function Se(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,ne(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:ke(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):ke(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function ke(t,e,r,n,i){var o=1,a=t.length,p=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,p/=2,r/=2}function c(v,U){return o===1?v[U]:v.readUInt16BE(U*o)}var u;if(i){var h=-1;for(u=r;u<a;u++)if(c(t,u)===c(e,h===-1?0:u-h)){if(h===-1&&(h=u),u-h+1===p)return h*o}else h!==-1&&(u-=u-h),h=-1}else for(r+p>a&&(r=a-p),u=r;u>=0;u--){for(var d=!0,T=0;T<p;T++)if(c(t,u+T)!==c(e,T)){d=!1;break}if(d)return u}return-1}s.prototype.includes=function(e,r,n){return this.indexOf(e,r,n)!==-1};s.prototype.indexOf=function(e,r,n){return Se(this,e,r,n,!0)};s.prototype.lastIndexOf=function(e,r,n){return Se(this,e,r,n,!1)};function Rr(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 p=parseInt(e.substr(a*2,2),16);if(ne(p))return a;t[r+a]=p}return a}function Ir(t,e,r,n){return j(ee(e,t.length-r),t,r,n)}function Sr(t,e,r,n){return j(Mr(e),t,r,n)}function Er(t,e,r,n){return j(Fe(e),t,r,n)}function Lr(t,e,r,n){return j(Gr(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 Rr(this,e,r,n);case"utf8":case"utf-8":return Ir(this,e,r,n);case"ascii":case"latin1":case"binary":return Sr(this,e,r,n);case"base64":return Er(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Lr(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 Nr(t,e,r){return e===0&&r===t.length?J.fromByteArray(t):J.fromByteArray(t.slice(e,r))}function Ee(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var o=t[i],a=null,p=o>239?4:o>223?3:o>191?2:1;if(i+p<=r){var c,u,h,d;switch(p){case 1:o<128&&(a=o);break;case 2:c=t[i+1],(c&192)===128&&(d=(o&31)<<6|c&63,d>127&&(a=d));break;case 3:c=t[i+1],u=t[i+2],(c&192)===128&&(u&192)===128&&(d=(o&15)<<12|(c&63)<<6|u&63,d>2047&&(d<55296||d>57343)&&(a=d));break;case 4:c=t[i+1],u=t[i+2],h=t[i+3],(c&192)===128&&(u&192)===128&&(h&192)===128&&(d=(o&15)<<18|(c&63)<<12|(u&63)<<6|h&63,d>65535&&d<1114112&&(a=d))}}a===null?(a=65533,p=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),i+=p}return Cr(n)}var Ae=4096;function Cr(t){var e=t.length;if(e<=Ae)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=Ae));return r}function Fr(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 Pr(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 Br(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+=Wr[t[o]];return i}function Ur(t,e,r){for(var n=t.slice(e,r),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}s.prototype.slice=function(e,r){var n=this.length;e=~~e,r=r===void 0?n:~~r,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<e&&(r=e);var i=this.subarray(e,r);return Object.setPrototypeOf(i,s.prototype),i};function x(t,e,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e+--r],o=1;r>0&&(o*=256);)i+=this[e+--r]*o;return i};s.prototype.readUint8=s.prototype.readUInt8=function(e,r){return e=e>>>0,r||x(e,1,this.length),this[e]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||x(e,2,this.length),this[e]|this[e+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||x(e,2,this.length),this[e]<<8|this[e+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||x(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};s.prototype.readIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*r)),i};s.prototype.readIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=r,o=1,a=this[e+--i];i>0&&(o*=256);)a+=this[e+--i]*o;return o*=128,a>=o&&(a-=Math.pow(2,8*r)),a};s.prototype.readInt8=function(e,r){return e=e>>>0,r||x(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};s.prototype.readInt16LE=function(e,r){e=e>>>0,r||x(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(e,r){e=e>>>0,r||x(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};s.prototype.readInt32BE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};s.prototype.readFloatLE=function(e,r){return e=e>>>0,r||x(e,4,this.length),D.read(this,e,!0,23,4)};s.prototype.readFloatBE=function(e,r){return e=e>>>0,r||x(e,4,this.length),D.read(this,e,!1,23,4)};s.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||x(e,8,this.length),D.read(this,e,!0,52,8)};s.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||x(e,8,this.length),D.read(this,e,!1,52,8)};function w(t,e,r,n,i,o){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;w(this,e,r,n,o,0)}var a=1,p=0;for(this[r]=e&255;++p<n&&(a*=256);)this[r+p]=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,p=1;for(this[r+a]=e&255;--a>=0&&(p*=256);)this[r+a]=e/p&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,p=1,c=0;for(this[r]=e&255;++a<n&&(p*=256);)e<0&&c===0&&this[r+a-1]!==0&&(c=1),this[r+a]=(e/p>>0)-c&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,p=1,c=0;for(this[r+a]=e&255;--a>=0&&(p*=256);)e<0&&c===0&&this[r+a+1]!==0&&(c=1),this[r+a]=(e/p>>0)-c&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 Le(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 Ne(t,e,r,n,i){return e=+e,r=r>>>0,i||Le(t,e,r,4,34028234663852886e22,-34028234663852886e22),D.write(t,e,r,n,23,4),r+4}s.prototype.writeFloatLE=function(e,r,n){return Ne(this,e,r,!0,n)};s.prototype.writeFloatBE=function(e,r,n){return Ne(this,e,r,!1,n)};function Ce(t,e,r,n,i){return e=+e,r=r>>>0,i||Le(t,e,r,8,17976931348623157e292,-17976931348623157e292),D.write(t,e,r,n,52,8),r+8}s.prototype.writeDoubleLE=function(e,r,n){return Ce(this,e,r,!0,n)};s.prototype.writeDoubleBE=function(e,r,n){return Ce(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 p=s.isBuffer(e)?e:s.from(e,i),c=p.length;if(c===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(a=0;a<n-r;++a)this[a+r]=p[a%c]}return this};var Dr=/[^+/0-9A-Za-z-_]/g;function Or(t){if(t=t.split("=")[0],t=t.trim().replace(Dr,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function ee(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 Mr(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function Gr(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 Fe(t){return J.toByteArray(Or(t))}function j(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 ne(t){return t!==t}var Wr=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 Me=H((rt,Oe)=>{l();var y=Oe.exports={},R,I;function ie(){throw new Error("setTimeout has not been defined")}function oe(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?R=setTimeout:R=ie}catch(t){R=ie}try{typeof clearTimeout=="function"?I=clearTimeout:I=oe}catch(t){I=oe}})();function Be(t){if(R===setTimeout)return setTimeout(t,0);if((R===ie||!R)&&setTimeout)return R=setTimeout,setTimeout(t,0);try{return R(t,0)}catch(e){try{return R.call(null,t,0)}catch(r){return R.call(this,t,0)}}}function Vr(t){if(I===clearTimeout)return clearTimeout(t);if((I===oe||!I)&&clearTimeout)return I=clearTimeout,clearTimeout(t);try{return I(t)}catch(e){try{return I.call(null,t)}catch(r){return I.call(this,t)}}}var L=[],M=!1,P,X=-1;function Hr(){!M||!P||(M=!1,P.length?L=P.concat(L):X=-1,L.length&&Ue())}function Ue(){if(!M){var t=Be(Hr);M=!0;for(var e=L.length;e;){for(P=L,L=[];++X<e;)P&&P[X].run();X=-1,e=L.length}P=null,M=!1,Vr(t)}}y.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];L.push(new De(t,e)),L.length===1&&!M&&Be(Ue)};function De(t,e){this.fun=t,this.array=e}De.prototype.run=function(){this.fun.apply(null,this.array)};y.title="browser";y.browser=!0;y.env={};y.argv=[];y.version="";y.versions={};function N(){}y.on=N;y.addListener=N;y.once=N;y.off=N;y.removeListener=N;y.removeAllListeners=N;y.emit=N;y.prependListener=N;y.prependOnceListener=N;y.listeners=function(t){return[]};y.binding=function(t){throw new Error("process.binding is not supported")};y.cwd=function(){return"/"};y.chdir=function(t){throw new Error("process.chdir is not supported")};y.umask=function(){return 0}});var g,m,tt,l=cr(()=>{g=he(Pe()),m=he(Me()),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 Kr={};pr(Kr,{DAPP_INIT_ROUTE:()=>er,EmptyProvider:()=>B,emptyProvider:()=>$,getAccountProvider:()=>rr,getExternalProvider:()=>tr,getLedgerConfiguration:()=>Xr,getProviderType:()=>zr,newWalletProvider:()=>jr});module.exports=ur(Kr);l();l();l();var Ye=require("@multiversx/sdk-extension-provider"),Ke=require("@multiversx/sdk-hw-provider"),Je=require("@multiversx/sdk-metamask-provider/out/metamaskProvider"),Ze=require("@multiversx/sdk-opera-provider"),Qe=require("@multiversx/sdk-passkey-provider/out"),ue=require("@multiversx/sdk-web-wallet-provider");l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();var ae=require("@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider"),G=require("@multiversx/sdk-web-wallet-cross-window-provider/out/enums");var Ge=(r=>(r.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",r.reloginRequest="RELOGIN_REQUEST",r))(Ge||{}),mt=V(V({},G.WindowProviderRequestEnums),Ge),We=(e=>(e.reloginResponse="RELOGIN_RESPONSE",e))(We||{}),ft=V(V({},G.WindowProviderResponseEnums),We);l();l();l();l();l();l();var se={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",metamaskSnapWalletAddress:"https://devnet-iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",xAliasAddress:"https://testnet.xalias.com",apiAddress:"https://testnet-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://testnet-iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",xAliasAddress:"https://xalias.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",metamaskSnapWalletAddress:"https://iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3}},{chainId:Ve,egldLabel:Ct}=se["devnet"],{chainId:He,egldLabel:Ft}=se["testnet"],{chainId:qe,egldLabel:Pt}=se["mainnet"];var Bt={["devnet"]:Ve,["testnet"]:He,["mainnet"]:qe},Ut={[Ve]:"devnet",[He]:"testnet",[qe]:"mainnet"};l();l();var S=require("@multiversx/sdk-web-wallet-provider");l();l();var le=require("@multiversx/sdk-dapp-utils/out/constants/browserConstants");var ze,je,ce=String((je=(ze=le.safeWindow)==null?void 0:ze.navigator)==null?void 0:je.userAgent),Vt=/^((?!chrome|android).)*safari/i.test(ce),Ht=/firefox/i.test(ce)&&/windows/i.test(ce);var Xe=1;l();var pe=require("@multiversx/sdk-web-wallet-iframe-provider/out"),qr=require("@multiversx/sdk-web-wallet-iframe-provider/out/constants");l();var $e=B;var er="/dapp/init",zr=t=>{switch(t==null?void 0:t.constructor){case ue.WalletProvider:return"wallet";case $e:return"walletconnectv2";case Ke.HWProvider:return"ledger";case Ye.ExtensionProvider:return"extension";case Qe.PasskeyProvider:return"passkey";case Je.MetamaskProvider:return"metamask";case Ze.OperaProvider:return"opera";case ae.CrossWindowProvider:return"crossWindow";case pe.IframeProvider:return"iframe";case B:return"";default:return"extra"}},jr=t=>new ue.WalletProvider(`${t}${er}`),Xr=t=>ye(void 0,null,function*(){if(!t.isInitialized())throw new Error("Unable to get version. Provider not initialized");let e=t.hwApp,{contractData:r,version:n}=yield e.getAppConfiguration();return{version:n,dataEnabled:r===Xe}}),k=t=>`Unable to perform ${t}, Provider not initialized`,B=class{init(){return Promise.resolve(!1)}getAccount(){throw new Error(k("getAccount"))}setAccount(e){throw new Error(k(`setAccount: ${e}`))}login(e){throw new Error(k(`login with options: ${e}`))}logout(e){throw new Error(k(`logout with options: ${e}`))}getAddress(){throw new Error(k("getAddress"))}isInitialized(){return!1}isConnected(){return!1}sendTransaction(e,r){throw new Error(k(`sendTransaction with transactions: ${e} options: ${r}`))}signTransaction(e,r){throw new Error(k(`signTransaction with transactions: ${e} options: ${r}`))}signTransactions(e,r){throw new Error(k(`signTransactions with transactions: ${e} options: ${r}`))}signMessage(e,r){throw new Error(k(`signTransactions with ${e} and options ${r}`))}sendCustomMessage({method:e,params:r}){throw new Error(k(`sendCustomMessage with method: ${e} params: ${r}`))}sendCustomRequest(e){throw new Error(k(`sendSessionEvent with options: ${e}`))}ping(){return Promise.resolve(!1)}},$=new B;var $r=$,Yr=null;function rr(){return $r||$}function tr(){return Yr}0&&(module.exports={DAPP_INIT_ROUTE,EmptyProvider,emptyProvider,getAccountProvider,getExternalProvider,getLedgerConfiguration,getProviderType,newWalletProvider});
|
|
1
|
+
"use strict";var ir=Object.create;var W=Object.defineProperty;var or=Object.getOwnPropertyDescriptor;var ar=Object.getOwnPropertyNames,de=Object.getOwnPropertySymbols,sr=Object.getPrototypeOf,me=Object.prototype.hasOwnProperty,lr=Object.prototype.propertyIsEnumerable;var ge=(t,e,r)=>e in t?W(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,V=(t,e)=>{for(var r in e||(e={}))me.call(e,r)&&ge(t,r,e[r]);if(de)for(var r of de(e))lr.call(e,r)&&ge(t,r,e[r]);return t};var cr=(t,e)=>()=>(t&&(e=t(t=0)),e);var H=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),pr=(t,e)=>{for(var r in e)W(t,r,{get:e[r],enumerable:!0})},fe=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of ar(e))!me.call(t,i)&&i!==r&&W(t,i,{get:()=>e[i],enumerable:!(n=or(e,i))||n.enumerable});return t};var he=(t,e,r)=>(r=t!=null?ir(sr(t)):{},fe(e||!t||!t.__esModule?W(r,"default",{value:t,enumerable:!0}):r,t)),ur=t=>fe(W({},"__esModule",{value:!0}),t);var ye=(t,e,r)=>new Promise((n,i)=>{var o=c=>{try{p(r.next(c))}catch(u){i(u)}},a=c=>{try{p(r.throw(c))}catch(u){i(u)}},p=c=>c.done?n(c.value):Promise.resolve(c.value).then(o,a);p((r=r.apply(t,e)).next())});var ve=H(q=>{"use strict";l();q.byteLength=gr;q.toByteArray=fr;q.fromByteArray=xr;var A=[],b=[],dr=typeof Uint8Array!="undefined"?Uint8Array:Array,Y="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(C=0,xe=Y.length;C<xe;++C)A[C]=Y[C],b[Y.charCodeAt(C)]=C;var C,xe;b["-".charCodeAt(0)]=62;b["_".charCodeAt(0)]=63;function we(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 gr(t){var e=we(t),r=e[0],n=e[1];return(r+n)*3/4-n}function mr(t,e,r){return(e+r)*3/4-r}function fr(t){var e,r=we(t),n=r[0],i=r[1],o=new dr(mr(t,n,i)),a=0,p=i>0?n-4:n,c;for(c=0;c<p;c+=4)e=b[t.charCodeAt(c)]<<18|b[t.charCodeAt(c+1)]<<12|b[t.charCodeAt(c+2)]<<6|b[t.charCodeAt(c+3)],o[a++]=e>>16&255,o[a++]=e>>8&255,o[a++]=e&255;return i===2&&(e=b[t.charCodeAt(c)]<<2|b[t.charCodeAt(c+1)]>>4,o[a++]=e&255),i===1&&(e=b[t.charCodeAt(c)]<<10|b[t.charCodeAt(c+1)]<<4|b[t.charCodeAt(c+2)]>>2,o[a++]=e>>8&255,o[a++]=e&255),o}function hr(t){return A[t>>18&63]+A[t>>12&63]+A[t>>6&63]+A[t&63]}function yr(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(hr(n));return i.join("")}function xr(t){for(var e,r=t.length,n=r%3,i=[],o=16383,a=0,p=r-n;a<p;a+=o)i.push(yr(t,a,a+o>p?p:a+o));return n===1?(e=t[r-1],i.push(A[e>>2]+A[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],i.push(A[e>>10]+A[e>>4&63]+A[e<<2&63]+"=")),i.join("")}});var be=H(K=>{l();K.read=function(t,e,r,n,i){var o,a,p=i*8-n-1,c=(1<<p)-1,u=c>>1,h=-7,d=r?i-1:0,T=r?-1:1,v=t[e+d];for(d+=T,o=v&(1<<-h)-1,v>>=-h,h+=p;h>0;o=o*256+t[e+d],d+=T,h-=8);for(a=o&(1<<-h)-1,o>>=-h,h+=n;h>0;a=a*256+t[e+d],d+=T,h-=8);if(o===0)o=1-u;else{if(o===c)return a?NaN:(v?-1:1)*(1/0);a=a+Math.pow(2,n),o=o-u}return(v?-1:1)*a*Math.pow(2,o-n)};K.write=function(t,e,r,n,i,o){var a,p,c,u=o*8-i-1,h=(1<<u)-1,d=h>>1,T=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,v=n?0:o-1,U=n?1:-1,nr=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(p=isNaN(e)?1:0,a=h):(a=Math.floor(Math.log(e)/Math.LN2),e*(c=Math.pow(2,-a))<1&&(a--,c*=2),a+d>=1?e+=T/c:e+=T*Math.pow(2,1-d),e*c>=2&&(a++,c/=2),a+d>=h?(p=0,a=h):a+d>=1?(p=(e*c-1)*Math.pow(2,i),a=a+d):(p=e*Math.pow(2,d-1)*Math.pow(2,i),a=0));i>=8;t[r+v]=p&255,v+=U,p/=256,i-=8);for(a=a<<i|p,u+=i;u>0;t[r+v]=a&255,v+=U,a/=256,u-=8);t[r+v-U]|=nr*128}});var Pe=H(O=>{"use strict";l();var J=ve(),D=be(),Te=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;O.Buffer=s;O.SlowBuffer=Ar;O.INSPECT_MAX_BYTES=50;var z=2147483647;O.kMaxLength=z;s.TYPED_ARRAY_SUPPORT=wr();!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 wr(){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 E(t){if(t>z)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 re(t)}return _e(t,e,r)}s.poolSize=8192;function _e(t,e,r){if(typeof t=="string")return br(t,e);if(ArrayBuffer.isView(t))return Tr(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 Q(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=kr(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 _e(t,e,r)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function Re(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 vr(t,e,r){return Re(t),t<=0?E(t):e!==void 0?typeof r=="string"?E(t).fill(e,r):E(t).fill(e):E(t)}s.alloc=function(t,e,r){return vr(t,e,r)};function re(t){return Re(t),E(t<0?0:te(t)|0)}s.allocUnsafe=function(t){return re(t)};s.allocUnsafeSlow=function(t){return re(t)};function br(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!s.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=Se(t,e)|0,n=E(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}function Z(t){for(var e=t.length<0?0:te(t.length)|0,r=E(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function Tr(t){if(_(t,Uint8Array)){var e=new Uint8Array(t);return Q(e.buffer,e.byteOffset,e.byteLength)}return Z(t)}function Q(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 kr(t){if(s.isBuffer(t)){var e=te(t.length)|0,r=E(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||ne(t.length)?E(0):Z(t);if(t.type==="Buffer"&&Array.isArray(t.data))return Z(t.data)}function te(t){if(t>=z)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+z.toString(16)+" bytes");return t|0}function Ar(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 Se(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 ee(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Fe(t).length;default:if(i)return n?-1:ee(t).length;e=(""+e).toLowerCase(),i=!0}}s.byteLength=Se;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 Br(this,e,r);case"utf8":case"utf-8":return Ee(this,e,r);case"ascii":return Fr(this,e,r);case"latin1":case"binary":return Pr(this,e,r);case"base64":return Nr(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ur(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function F(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}s.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<e;r+=2)F(this,r,r+1);return this};s.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<e;r+=4)F(this,r,r+3),F(this,r+1,r+2);return this};s.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<e;r+=8)F(this,r,r+7),F(this,r+1,r+6),F(this,r+2,r+5),F(this,r+3,r+4);return this};s.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?Ee(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=O.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};Te&&(s.prototype[Te]=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,p=n-r,c=Math.min(a,p),u=this.slice(i,o),h=e.slice(r,n),d=0;d<c;++d)if(u[d]!==h[d]){a=u[d],p=h[d];break}return a<p?-1:p<a?1:0};function Ie(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,ne(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:ke(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):ke(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function ke(t,e,r,n,i){var o=1,a=t.length,p=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,p/=2,r/=2}function c(v,U){return o===1?v[U]:v.readUInt16BE(U*o)}var u;if(i){var h=-1;for(u=r;u<a;u++)if(c(t,u)===c(e,h===-1?0:u-h)){if(h===-1&&(h=u),u-h+1===p)return h*o}else h!==-1&&(u-=u-h),h=-1}else for(r+p>a&&(r=a-p),u=r;u>=0;u--){for(var d=!0,T=0;T<p;T++)if(c(t,u+T)!==c(e,T)){d=!1;break}if(d)return u}return-1}s.prototype.includes=function(e,r,n){return this.indexOf(e,r,n)!==-1};s.prototype.indexOf=function(e,r,n){return Ie(this,e,r,n,!0)};s.prototype.lastIndexOf=function(e,r,n){return Ie(this,e,r,n,!1)};function Rr(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 p=parseInt(e.substr(a*2,2),16);if(ne(p))return a;t[r+a]=p}return a}function Sr(t,e,r,n){return j(ee(e,t.length-r),t,r,n)}function Ir(t,e,r,n){return j(Mr(e),t,r,n)}function Er(t,e,r,n){return j(Fe(e),t,r,n)}function Lr(t,e,r,n){return j(Gr(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 Rr(this,e,r,n);case"utf8":case"utf-8":return Sr(this,e,r,n);case"ascii":case"latin1":case"binary":return Ir(this,e,r,n);case"base64":return Er(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Lr(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 Nr(t,e,r){return e===0&&r===t.length?J.fromByteArray(t):J.fromByteArray(t.slice(e,r))}function Ee(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var o=t[i],a=null,p=o>239?4:o>223?3:o>191?2:1;if(i+p<=r){var c,u,h,d;switch(p){case 1:o<128&&(a=o);break;case 2:c=t[i+1],(c&192)===128&&(d=(o&31)<<6|c&63,d>127&&(a=d));break;case 3:c=t[i+1],u=t[i+2],(c&192)===128&&(u&192)===128&&(d=(o&15)<<12|(c&63)<<6|u&63,d>2047&&(d<55296||d>57343)&&(a=d));break;case 4:c=t[i+1],u=t[i+2],h=t[i+3],(c&192)===128&&(u&192)===128&&(h&192)===128&&(d=(o&15)<<18|(c&63)<<12|(u&63)<<6|h&63,d>65535&&d<1114112&&(a=d))}}a===null?(a=65533,p=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),i+=p}return Cr(n)}var Ae=4096;function Cr(t){var e=t.length;if(e<=Ae)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=Ae));return r}function Fr(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 Pr(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 Br(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+=Wr[t[o]];return i}function Ur(t,e,r){for(var n=t.slice(e,r),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}s.prototype.slice=function(e,r){var n=this.length;e=~~e,r=r===void 0?n:~~r,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<e&&(r=e);var i=this.subarray(e,r);return Object.setPrototypeOf(i,s.prototype),i};function x(t,e,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e+--r],o=1;r>0&&(o*=256);)i+=this[e+--r]*o;return i};s.prototype.readUint8=s.prototype.readUInt8=function(e,r){return e=e>>>0,r||x(e,1,this.length),this[e]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||x(e,2,this.length),this[e]|this[e+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||x(e,2,this.length),this[e]<<8|this[e+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||x(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};s.prototype.readIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*r)),i};s.prototype.readIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=r,o=1,a=this[e+--i];i>0&&(o*=256);)a+=this[e+--i]*o;return o*=128,a>=o&&(a-=Math.pow(2,8*r)),a};s.prototype.readInt8=function(e,r){return e=e>>>0,r||x(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};s.prototype.readInt16LE=function(e,r){e=e>>>0,r||x(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(e,r){e=e>>>0,r||x(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};s.prototype.readInt32BE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};s.prototype.readFloatLE=function(e,r){return e=e>>>0,r||x(e,4,this.length),D.read(this,e,!0,23,4)};s.prototype.readFloatBE=function(e,r){return e=e>>>0,r||x(e,4,this.length),D.read(this,e,!1,23,4)};s.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||x(e,8,this.length),D.read(this,e,!0,52,8)};s.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||x(e,8,this.length),D.read(this,e,!1,52,8)};function w(t,e,r,n,i,o){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;w(this,e,r,n,o,0)}var a=1,p=0;for(this[r]=e&255;++p<n&&(a*=256);)this[r+p]=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,p=1;for(this[r+a]=e&255;--a>=0&&(p*=256);)this[r+a]=e/p&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,p=1,c=0;for(this[r]=e&255;++a<n&&(p*=256);)e<0&&c===0&&this[r+a-1]!==0&&(c=1),this[r+a]=(e/p>>0)-c&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,p=1,c=0;for(this[r+a]=e&255;--a>=0&&(p*=256);)e<0&&c===0&&this[r+a+1]!==0&&(c=1),this[r+a]=(e/p>>0)-c&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 Le(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 Ne(t,e,r,n,i){return e=+e,r=r>>>0,i||Le(t,e,r,4,34028234663852886e22,-34028234663852886e22),D.write(t,e,r,n,23,4),r+4}s.prototype.writeFloatLE=function(e,r,n){return Ne(this,e,r,!0,n)};s.prototype.writeFloatBE=function(e,r,n){return Ne(this,e,r,!1,n)};function Ce(t,e,r,n,i){return e=+e,r=r>>>0,i||Le(t,e,r,8,17976931348623157e292,-17976931348623157e292),D.write(t,e,r,n,52,8),r+8}s.prototype.writeDoubleLE=function(e,r,n){return Ce(this,e,r,!0,n)};s.prototype.writeDoubleBE=function(e,r,n){return Ce(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 p=s.isBuffer(e)?e:s.from(e,i),c=p.length;if(c===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(a=0;a<n-r;++a)this[a+r]=p[a%c]}return this};var Dr=/[^+/0-9A-Za-z-_]/g;function Or(t){if(t=t.split("=")[0],t=t.trim().replace(Dr,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function ee(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 Mr(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function Gr(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 Fe(t){return J.toByteArray(Or(t))}function j(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 ne(t){return t!==t}var Wr=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 Me=H((rt,Oe)=>{l();var y=Oe.exports={},R,S;function ie(){throw new Error("setTimeout has not been defined")}function oe(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?R=setTimeout:R=ie}catch(t){R=ie}try{typeof clearTimeout=="function"?S=clearTimeout:S=oe}catch(t){S=oe}})();function Be(t){if(R===setTimeout)return setTimeout(t,0);if((R===ie||!R)&&setTimeout)return R=setTimeout,setTimeout(t,0);try{return R(t,0)}catch(e){try{return R.call(null,t,0)}catch(r){return R.call(this,t,0)}}}function Vr(t){if(S===clearTimeout)return clearTimeout(t);if((S===oe||!S)&&clearTimeout)return S=clearTimeout,clearTimeout(t);try{return S(t)}catch(e){try{return S.call(null,t)}catch(r){return S.call(this,t)}}}var L=[],M=!1,P,X=-1;function Hr(){!M||!P||(M=!1,P.length?L=P.concat(L):X=-1,L.length&&Ue())}function Ue(){if(!M){var t=Be(Hr);M=!0;for(var e=L.length;e;){for(P=L,L=[];++X<e;)P&&P[X].run();X=-1,e=L.length}P=null,M=!1,Vr(t)}}y.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];L.push(new De(t,e)),L.length===1&&!M&&Be(Ue)};function De(t,e){this.fun=t,this.array=e}De.prototype.run=function(){this.fun.apply(null,this.array)};y.title="browser";y.browser=!0;y.env={};y.argv=[];y.version="";y.versions={};function N(){}y.on=N;y.addListener=N;y.once=N;y.off=N;y.removeListener=N;y.removeAllListeners=N;y.emit=N;y.prependListener=N;y.prependOnceListener=N;y.listeners=function(t){return[]};y.binding=function(t){throw new Error("process.binding is not supported")};y.cwd=function(){return"/"};y.chdir=function(t){throw new Error("process.chdir is not supported")};y.umask=function(){return 0}});var g,m,tt,l=cr(()=>{g=he(Pe()),m=he(Me()),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 Kr={};pr(Kr,{DAPP_INIT_ROUTE:()=>er,EmptyProvider:()=>B,emptyProvider:()=>$,getAccountProvider:()=>rr,getExternalProvider:()=>tr,getLedgerConfiguration:()=>Xr,getProviderType:()=>zr,newWalletProvider:()=>jr});module.exports=ur(Kr);l();l();l();var Ye=require("@multiversx/sdk-extension-provider"),Ke=require("@multiversx/sdk-hw-provider"),Je=require("@multiversx/sdk-metamask-provider/out/metamaskProvider"),Ze=require("@multiversx/sdk-opera-provider"),Qe=require("@multiversx/sdk-passkey-provider/out"),ue=require("@multiversx/sdk-web-wallet-provider");l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();var ae=require("@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider"),G=require("@multiversx/sdk-web-wallet-cross-window-provider/out/enums");var Ge=(r=>(r.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",r.reloginRequest="RELOGIN_REQUEST",r))(Ge||{}),mt=V(V({},G.WindowProviderRequestEnums),Ge),We=(e=>(e.reloginResponse="RELOGIN_RESPONSE",e))(We||{}),ft=V(V({},G.WindowProviderResponseEnums),We);l();l();l();l();l();l();var se={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",metamaskSnapWalletAddress:"https://devnet-iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",xAliasAddress:"https://testnet.xalias.com",apiAddress:"https://testnet-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://testnet-iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",xAliasAddress:"https://xalias.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",metamaskSnapWalletAddress:"https://iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3}},{chainId:Ve,egldLabel:Ct}=se["devnet"],{chainId:He,egldLabel:Ft}=se["testnet"],{chainId:qe,egldLabel:Pt}=se["mainnet"];var Bt={["devnet"]:Ve,["testnet"]:He,["mainnet"]:qe},Ut={[Ve]:"devnet",[He]:"testnet",[qe]:"mainnet"};l();l();var I=require("@multiversx/sdk-web-wallet-provider");l();l();var le=require("@multiversx/sdk-dapp-utils/out/constants/browserConstants");var ze,je,ce=String((je=(ze=le.safeWindow)==null?void 0:ze.navigator)==null?void 0:je.userAgent),Vt=/^((?!chrome|android).)*safari/i.test(ce),Ht=/firefox/i.test(ce)&&/windows/i.test(ce);var Xe=1;l();var pe=require("@multiversx/sdk-web-wallet-iframe-provider/out"),qr=require("@multiversx/sdk-web-wallet-iframe-provider/out/constants");l();var $e=B;var er="/dapp/init",zr=t=>{switch(t==null?void 0:t.constructor){case ue.WalletProvider:return"wallet";case $e:return"walletconnectv2";case Ke.HWProvider:return"ledger";case Ye.ExtensionProvider:return"extension";case Qe.PasskeyProvider:return"passkey";case Je.MetamaskProvider:return"metamask";case Ze.OperaProvider:return"opera";case ae.CrossWindowProvider:return"crossWindow";case pe.IframeProvider:return"iframe";case B:return"";default:return"extra"}},jr=t=>new ue.WalletProvider(`${t}${er}`),Xr=t=>ye(void 0,null,function*(){if(!t.isInitialized())throw new Error("Unable to get version. Provider not initialized");let e=t.hwApp,{contractData:r,version:n}=yield e.getAppConfiguration();return{version:n,dataEnabled:r===Xe}}),k=t=>`Unable to perform ${t}, Provider not initialized`,B=class{init(){return Promise.resolve(!1)}getAccount(){throw new Error(k("getAccount"))}setAccount(e){throw new Error(k(`setAccount: ${e}`))}login(e){throw new Error(k(`login with options: ${e}`))}logout(e){throw new Error(k(`logout with options: ${e}`))}getAddress(){throw new Error(k("getAddress"))}isInitialized(){return!1}isConnected(){return!1}sendTransaction(e,r){throw new Error(k(`sendTransaction with transactions: ${e} options: ${r}`))}signTransaction(e,r){throw new Error(k(`signTransaction with transactions: ${e} options: ${r}`))}signTransactions(e,r){throw new Error(k(`signTransactions with transactions: ${e} options: ${r}`))}signMessage(e,r){throw new Error(k(`signTransactions with ${e} and options ${r}`))}sendCustomMessage({method:e,params:r}){throw new Error(k(`sendCustomMessage with method: ${e} params: ${r}`))}sendCustomRequest(e){throw new Error(k(`sendSessionEvent with options: ${e}`))}ping(){return Promise.resolve(!1)}},$=new B;var $r=$,Yr=null;function rr(){return $r||$}function tr(){return Yr}0&&(module.exports={DAPP_INIT_ROUTE,EmptyProvider,emptyProvider,getAccountProvider,getExternalProvider,getLedgerConfiguration,getProviderType,newWalletProvider});
|
|
2
2
|
/*!
|
|
3
3
|
* The buffer module from node.js, for the browser.
|
|
4
4
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var tr=Object.create;var W=Object.defineProperty;var nr=Object.getOwnPropertyDescriptor;var ir=Object.getOwnPropertyNames,ue=Object.getOwnPropertySymbols,or=Object.getPrototypeOf,ge=Object.prototype.hasOwnProperty,ar=Object.prototype.propertyIsEnumerable;var de=(t,e,r)=>e in t?W(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,V=(t,e)=>{for(var r in e||(e={}))ge.call(e,r)&&de(t,r,e[r]);if(ue)for(var r of ue(e))ar.call(e,r)&&de(t,r,e[r]);return t};var sr=(t,e)=>()=>(t&&(e=t(t=0)),e);var H=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),lr=(t,e)=>{for(var r in e)W(t,r,{get:e[r],enumerable:!0})},me=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of ir(e))!ge.call(t,i)&&i!==r&&W(t,i,{get:()=>e[i],enumerable:!(n=nr(e,i))||n.enumerable});return t};var fe=(t,e,r)=>(r=t!=null?tr(or(t)):{},me(e||!t||!t.__esModule?W(r,"default",{value:t,enumerable:!0}):r,t)),cr=t=>me(W({},"__esModule",{value:!0}),t);var he=(t,e,r)=>new Promise((n,i)=>{var o=c=>{try{p(r.next(c))}catch(u){i(u)}},a=c=>{try{p(r.throw(c))}catch(u){i(u)}},p=c=>c.done?n(c.value):Promise.resolve(c.value).then(o,a);p((r=r.apply(t,e)).next())});var we=H(q=>{"use strict";l();q.byteLength=ur;q.toByteArray=gr;q.fromByteArray=hr;var A=[],b=[],pr=typeof Uint8Array!="undefined"?Uint8Array:Array,$="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(C=0,ye=$.length;C<ye;++C)A[C]=$[C],b[$.charCodeAt(C)]=C;var C,ye;b["-".charCodeAt(0)]=62;b["_".charCodeAt(0)]=63;function xe(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 ur(t){var e=xe(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 gr(t){var e,r=xe(t),n=r[0],i=r[1],o=new pr(dr(t,n,i)),a=0,p=i>0?n-4:n,c;for(c=0;c<p;c+=4)e=b[t.charCodeAt(c)]<<18|b[t.charCodeAt(c+1)]<<12|b[t.charCodeAt(c+2)]<<6|b[t.charCodeAt(c+3)],o[a++]=e>>16&255,o[a++]=e>>8&255,o[a++]=e&255;return i===2&&(e=b[t.charCodeAt(c)]<<2|b[t.charCodeAt(c+1)]>>4,o[a++]=e&255),i===1&&(e=b[t.charCodeAt(c)]<<10|b[t.charCodeAt(c+1)]<<4|b[t.charCodeAt(c+2)]>>2,o[a++]=e>>8&255,o[a++]=e&255),o}function mr(t){return A[t>>18&63]+A[t>>12&63]+A[t>>6&63]+A[t&63]}function fr(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(mr(n));return i.join("")}function hr(t){for(var e,r=t.length,n=r%3,i=[],o=16383,a=0,p=r-n;a<p;a+=o)i.push(fr(t,a,a+o>p?p:a+o));return n===1?(e=t[r-1],i.push(A[e>>2]+A[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],i.push(A[e>>10]+A[e>>4&63]+A[e<<2&63]+"=")),i.join("")}});var ve=H(Y=>{l();Y.read=function(t,e,r,n,i){var o,a,p=i*8-n-1,c=(1<<p)-1,u=c>>1,h=-7,d=r?i-1:0,T=r?-1:1,v=t[e+d];for(d+=T,o=v&(1<<-h)-1,v>>=-h,h+=p;h>0;o=o*256+t[e+d],d+=T,h-=8);for(a=o&(1<<-h)-1,o>>=-h,h+=n;h>0;a=a*256+t[e+d],d+=T,h-=8);if(o===0)o=1-u;else{if(o===c)return a?NaN:(v?-1:1)*(1/0);a=a+Math.pow(2,n),o=o-u}return(v?-1:1)*a*Math.pow(2,o-n)};Y.write=function(t,e,r,n,i,o){var a,p,c,u=o*8-i-1,h=(1<<u)-1,d=h>>1,T=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,v=n?0:o-1,U=n?1:-1,rr=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(p=isNaN(e)?1:0,a=h):(a=Math.floor(Math.log(e)/Math.LN2),e*(c=Math.pow(2,-a))<1&&(a--,c*=2),a+d>=1?e+=T/c:e+=T*Math.pow(2,1-d),e*c>=2&&(a++,c/=2),a+d>=h?(p=0,a=h):a+d>=1?(p=(e*c-1)*Math.pow(2,i),a=a+d):(p=e*Math.pow(2,d-1)*Math.pow(2,i),a=0));i>=8;t[r+v]=p&255,v+=U,p/=256,i-=8);for(a=a<<i|p,u+=i;u>0;t[r+v]=a&255,v+=U,a/=256,u-=8);t[r+v-U]|=rr*128}});var Fe=H(O=>{"use strict";l();var K=we(),D=ve(),be=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;O.Buffer=s;O.SlowBuffer=Tr;O.INSPECT_MAX_BYTES=50;var z=2147483647;O.kMaxLength=z;s.TYPED_ARRAY_SUPPORT=yr();!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 yr(){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 E(t){if(t>z)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 ee(t)}return Ae(t,e,r)}s.poolSize=8192;function Ae(t,e,r){if(typeof t=="string")return wr(t,e);if(ArrayBuffer.isView(t))return vr(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 Z(t,e,r);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return s.from(n,e,r);var i=br(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 Ae(t,e,r)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function _e(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 xr(t,e,r){return _e(t),t<=0?E(t):e!==void 0?typeof r=="string"?E(t).fill(e,r):E(t).fill(e):E(t)}s.alloc=function(t,e,r){return xr(t,e,r)};function ee(t){return _e(t),E(t<0?0:re(t)|0)}s.allocUnsafe=function(t){return ee(t)};s.allocUnsafeSlow=function(t){return ee(t)};function wr(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!s.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=Re(t,e)|0,n=E(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}function J(t){for(var e=t.length<0?0:re(t.length)|0,r=E(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function vr(t){if(_(t,Uint8Array)){var e=new Uint8Array(t);return Z(e.buffer,e.byteOffset,e.byteLength)}return J(t)}function Z(t,e,r){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return e===void 0&&r===void 0?n=new Uint8Array(t):r===void 0?n=new Uint8Array(t,e):n=new Uint8Array(t,e,r),Object.setPrototypeOf(n,s.prototype),n}function br(t){if(s.isBuffer(t)){var e=re(t.length)|0,r=E(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||te(t.length)?E(0):J(t);if(t.type==="Buffer"&&Array.isArray(t.data))return J(t.data)}function re(t){if(t>=z)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+z.toString(16)+" bytes");return t|0}function Tr(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 Re(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 Q(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Ce(t).length;default:if(i)return n?-1:Q(t).length;e=(""+e).toLowerCase(),i=!0}}s.byteLength=Re;function kr(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 Fr(this,e,r);case"utf8":case"utf-8":return Se(this,e,r);case"ascii":return Nr(this,e,r);case"latin1":case"binary":return Cr(this,e,r);case"base64":return Er(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Pr(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function F(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}s.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<e;r+=2)F(this,r,r+1);return this};s.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<e;r+=4)F(this,r,r+3),F(this,r+1,r+2);return this};s.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<e;r+=8)F(this,r,r+7),F(this,r+1,r+6),F(this,r+2,r+5),F(this,r+3,r+4);return this};s.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?Se(this,0,e):kr.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(e){if(!s.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:s.compare(this,e)===0};s.prototype.inspect=function(){var e="",r=O.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};be&&(s.prototype[be]=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,p=n-r,c=Math.min(a,p),u=this.slice(i,o),h=e.slice(r,n),d=0;d<c;++d)if(u[d]!==h[d]){a=u[d],p=h[d];break}return a<p?-1:p<a?1:0};function Ie(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,te(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:Te(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):Te(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function Te(t,e,r,n,i){var o=1,a=t.length,p=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,p/=2,r/=2}function c(v,U){return o===1?v[U]:v.readUInt16BE(U*o)}var u;if(i){var h=-1;for(u=r;u<a;u++)if(c(t,u)===c(e,h===-1?0:u-h)){if(h===-1&&(h=u),u-h+1===p)return h*o}else h!==-1&&(u-=u-h),h=-1}else for(r+p>a&&(r=a-p),u=r;u>=0;u--){for(var d=!0,T=0;T<p;T++)if(c(t,u+T)!==c(e,T)){d=!1;break}if(d)return u}return-1}s.prototype.includes=function(e,r,n){return this.indexOf(e,r,n)!==-1};s.prototype.indexOf=function(e,r,n){return Ie(this,e,r,n,!0)};s.prototype.lastIndexOf=function(e,r,n){return Ie(this,e,r,n,!1)};function Ar(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 p=parseInt(e.substr(a*2,2),16);if(te(p))return a;t[r+a]=p}return a}function _r(t,e,r,n){return j(Q(e,t.length-r),t,r,n)}function Rr(t,e,r,n){return j(Dr(e),t,r,n)}function Ir(t,e,r,n){return j(Ce(e),t,r,n)}function Sr(t,e,r,n){return j(Or(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 Ar(this,e,r,n);case"utf8":case"utf-8":return _r(this,e,r,n);case"ascii":case"latin1":case"binary":return Rr(this,e,r,n);case"base64":return Ir(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Sr(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 Er(t,e,r){return e===0&&r===t.length?K.fromByteArray(t):K.fromByteArray(t.slice(e,r))}function Se(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var o=t[i],a=null,p=o>239?4:o>223?3:o>191?2:1;if(i+p<=r){var c,u,h,d;switch(p){case 1:o<128&&(a=o);break;case 2:c=t[i+1],(c&192)===128&&(d=(o&31)<<6|c&63,d>127&&(a=d));break;case 3:c=t[i+1],u=t[i+2],(c&192)===128&&(u&192)===128&&(d=(o&15)<<12|(c&63)<<6|u&63,d>2047&&(d<55296||d>57343)&&(a=d));break;case 4:c=t[i+1],u=t[i+2],h=t[i+3],(c&192)===128&&(u&192)===128&&(h&192)===128&&(d=(o&15)<<18|(c&63)<<12|(u&63)<<6|h&63,d>65535&&d<1114112&&(a=d))}}a===null?(a=65533,p=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),i+=p}return Lr(n)}var ke=4096;function Lr(t){var e=t.length;if(e<=ke)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=ke));return r}function Nr(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 Cr(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 Fr(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+=Mr[t[o]];return i}function Pr(t,e,r){for(var n=t.slice(e,r),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}s.prototype.slice=function(e,r){var n=this.length;e=~~e,r=r===void 0?n:~~r,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<e&&(r=e);var i=this.subarray(e,r);return Object.setPrototypeOf(i,s.prototype),i};function x(t,e,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e+--r],o=1;r>0&&(o*=256);)i+=this[e+--r]*o;return i};s.prototype.readUint8=s.prototype.readUInt8=function(e,r){return e=e>>>0,r||x(e,1,this.length),this[e]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||x(e,2,this.length),this[e]|this[e+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||x(e,2,this.length),this[e]<<8|this[e+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||x(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};s.prototype.readIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*r)),i};s.prototype.readIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=r,o=1,a=this[e+--i];i>0&&(o*=256);)a+=this[e+--i]*o;return o*=128,a>=o&&(a-=Math.pow(2,8*r)),a};s.prototype.readInt8=function(e,r){return e=e>>>0,r||x(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};s.prototype.readInt16LE=function(e,r){e=e>>>0,r||x(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(e,r){e=e>>>0,r||x(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};s.prototype.readInt32BE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};s.prototype.readFloatLE=function(e,r){return e=e>>>0,r||x(e,4,this.length),D.read(this,e,!0,23,4)};s.prototype.readFloatBE=function(e,r){return e=e>>>0,r||x(e,4,this.length),D.read(this,e,!1,23,4)};s.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||x(e,8,this.length),D.read(this,e,!0,52,8)};s.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||x(e,8,this.length),D.read(this,e,!1,52,8)};function w(t,e,r,n,i,o){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;w(this,e,r,n,o,0)}var a=1,p=0;for(this[r]=e&255;++p<n&&(a*=256);)this[r+p]=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,p=1;for(this[r+a]=e&255;--a>=0&&(p*=256);)this[r+a]=e/p&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,p=1,c=0;for(this[r]=e&255;++a<n&&(p*=256);)e<0&&c===0&&this[r+a-1]!==0&&(c=1),this[r+a]=(e/p>>0)-c&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,p=1,c=0;for(this[r+a]=e&255;--a>=0&&(p*=256);)e<0&&c===0&&this[r+a+1]!==0&&(c=1),this[r+a]=(e/p>>0)-c&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 Ee(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 Le(t,e,r,n,i){return e=+e,r=r>>>0,i||Ee(t,e,r,4,34028234663852886e22,-34028234663852886e22),D.write(t,e,r,n,23,4),r+4}s.prototype.writeFloatLE=function(e,r,n){return Le(this,e,r,!0,n)};s.prototype.writeFloatBE=function(e,r,n){return Le(this,e,r,!1,n)};function Ne(t,e,r,n,i){return e=+e,r=r>>>0,i||Ee(t,e,r,8,17976931348623157e292,-17976931348623157e292),D.write(t,e,r,n,52,8),r+8}s.prototype.writeDoubleLE=function(e,r,n){return Ne(this,e,r,!0,n)};s.prototype.writeDoubleBE=function(e,r,n){return Ne(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 p=s.isBuffer(e)?e:s.from(e,i),c=p.length;if(c===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(a=0;a<n-r;++a)this[a+r]=p[a%c]}return this};var Br=/[^+/0-9A-Za-z-_]/g;function Ur(t){if(t=t.split("=")[0],t=t.trim().replace(Br,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function Q(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 Dr(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function Or(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 Ce(t){return K.toByteArray(Ur(t))}function j(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 te(t){return t!==t}var Mr=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 Oe=H((Jr,De)=>{l();var y=De.exports={},R,I;function ne(){throw new Error("setTimeout has not been defined")}function ie(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?R=setTimeout:R=ne}catch(t){R=ne}try{typeof clearTimeout=="function"?I=clearTimeout:I=ie}catch(t){I=ie}})();function Pe(t){if(R===setTimeout)return setTimeout(t,0);if((R===ne||!R)&&setTimeout)return R=setTimeout,setTimeout(t,0);try{return R(t,0)}catch(e){try{return R.call(null,t,0)}catch(r){return R.call(this,t,0)}}}function Gr(t){if(I===clearTimeout)return clearTimeout(t);if((I===ie||!I)&&clearTimeout)return I=clearTimeout,clearTimeout(t);try{return I(t)}catch(e){try{return I.call(null,t)}catch(r){return I.call(this,t)}}}var L=[],M=!1,P,X=-1;function Wr(){!M||!P||(M=!1,P.length?L=P.concat(L):X=-1,L.length&&Be())}function Be(){if(!M){var t=Pe(Wr);M=!0;for(var e=L.length;e;){for(P=L,L=[];++X<e;)P&&P[X].run();X=-1,e=L.length}P=null,M=!1,Gr(t)}}y.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];L.push(new Ue(t,e)),L.length===1&&!M&&Pe(Be)};function Ue(t,e){this.fun=t,this.array=e}Ue.prototype.run=function(){this.fun.apply(null,this.array)};y.title="browser";y.browser=!0;y.env={};y.argv=[];y.version="";y.versions={};function N(){}y.on=N;y.addListener=N;y.once=N;y.off=N;y.removeListener=N;y.removeAllListeners=N;y.emit=N;y.prependListener=N;y.prependOnceListener=N;y.listeners=function(t){return[]};y.binding=function(t){throw new Error("process.binding is not supported")};y.cwd=function(){return"/"};y.chdir=function(t){throw new Error("process.chdir is not supported")};y.umask=function(){return 0}});var g,m,Zr,l=sr(()=>{g=fe(Fe()),m=fe(Oe()),Zr=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 jr={};lr(jr,{DAPP_INIT_ROUTE:()=>er,EmptyProvider:()=>B,emptyProvider:()=>Xe,getLedgerConfiguration:()=>zr,getProviderType:()=>Hr,newWalletProvider:()=>qr});module.exports=cr(jr);l();var Ye=require("@multiversx/sdk-extension-provider"),Ke=require("@multiversx/sdk-hw-provider"),Je=require("@multiversx/sdk-metamask-provider/out/metamaskProvider"),Ze=require("@multiversx/sdk-opera-provider"),Qe=require("@multiversx/sdk-passkey-provider/out"),pe=require("@multiversx/sdk-web-wallet-provider");l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();var oe=require("@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider"),G=require("@multiversx/sdk-web-wallet-cross-window-provider/out/enums");var Me=(r=>(r.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",r.reloginRequest="RELOGIN_REQUEST",r))(Me||{}),pt=V(V({},G.WindowProviderRequestEnums),Me),Ge=(e=>(e.reloginResponse="RELOGIN_RESPONSE",e))(Ge||{}),ut=V(V({},G.WindowProviderResponseEnums),Ge);l();l();l();l();l();l();var ae={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",metamaskSnapWalletAddress:"https://devnet-iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",xAliasAddress:"https://testnet.xalias.com",apiAddress:"https://testnet-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://testnet-iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",xAliasAddress:"https://xalias.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",metamaskSnapWalletAddress:"https://iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3}},{chainId:We,egldLabel:St}=ae["devnet"],{chainId:Ve,egldLabel:Et}=ae["testnet"],{chainId:He,egldLabel:Lt}=ae["mainnet"];var Nt={["devnet"]:We,["testnet"]:Ve,["mainnet"]:He},Ct={[We]:"devnet",[Ve]:"testnet",[He]:"mainnet"};l();l();var S=require("@multiversx/sdk-web-wallet-provider");l();l();var se=require("@multiversx/sdk-dapp-utils/out/constants/browserConstants");var qe,ze,le=String((ze=(qe=se.safeWindow)==null?void 0:qe.navigator)==null?void 0:ze.userAgent),Ot=/^((?!chrome|android).)*safari/i.test(le),Mt=/firefox/i.test(le)&&/windows/i.test(le);var je=1;l();var ce=require("@multiversx/sdk-web-wallet-iframe-provider/out"),Vr=require("@multiversx/sdk-web-wallet-iframe-provider/out/constants");l();l();l();var $e=B;var er="/dapp/init",Hr=t=>{switch(t==null?void 0:t.constructor){case pe.WalletProvider:return"wallet";case $e:return"walletconnectv2";case Ke.HWProvider:return"ledger";case Ye.ExtensionProvider:return"extension";case Qe.PasskeyProvider:return"passkey";case Je.MetamaskProvider:return"metamask";case Ze.OperaProvider:return"opera";case oe.CrossWindowProvider:return"crossWindow";case ce.IframeProvider:return"iframe";case B:return"";default:return"extra"}},qr=t=>new pe.WalletProvider(`${t}${er}`),zr=t=>he(void 0,null,function*(){if(!t.isInitialized())throw new Error("Unable to get version. Provider not initialized");let e=t.hwApp,{contractData:r,version:n}=yield e.getAppConfiguration();return{version:n,dataEnabled:r===je}}),k=t=>`Unable to perform ${t}, Provider not initialized`,B=class{init(){return Promise.resolve(!1)}getAccount(){throw new Error(k("getAccount"))}setAccount(e){throw new Error(k(`setAccount: ${e}`))}login(e){throw new Error(k(`login with options: ${e}`))}logout(e){throw new Error(k(`logout with options: ${e}`))}getAddress(){throw new Error(k("getAddress"))}isInitialized(){return!1}isConnected(){return!1}sendTransaction(e,r){throw new Error(k(`sendTransaction with transactions: ${e} options: ${r}`))}signTransaction(e,r){throw new Error(k(`signTransaction with transactions: ${e} options: ${r}`))}signTransactions(e,r){throw new Error(k(`signTransactions with transactions: ${e} options: ${r}`))}signMessage(e,r){throw new Error(k(`signTransactions with ${e} and options ${r}`))}sendCustomMessage({method:e,params:r}){throw new Error(k(`sendCustomMessage with method: ${e} params: ${r}`))}sendCustomRequest(e){throw new Error(k(`sendSessionEvent with options: ${e}`))}ping(){return Promise.resolve(!1)}},Xe=new B;0&&(module.exports={DAPP_INIT_ROUTE,EmptyProvider,emptyProvider,getLedgerConfiguration,getProviderType,newWalletProvider});
|
|
1
|
+
"use strict";var tr=Object.create;var W=Object.defineProperty;var nr=Object.getOwnPropertyDescriptor;var ir=Object.getOwnPropertyNames,ue=Object.getOwnPropertySymbols,or=Object.getPrototypeOf,ge=Object.prototype.hasOwnProperty,ar=Object.prototype.propertyIsEnumerable;var de=(t,e,r)=>e in t?W(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,V=(t,e)=>{for(var r in e||(e={}))ge.call(e,r)&&de(t,r,e[r]);if(ue)for(var r of ue(e))ar.call(e,r)&&de(t,r,e[r]);return t};var sr=(t,e)=>()=>(t&&(e=t(t=0)),e);var H=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),lr=(t,e)=>{for(var r in e)W(t,r,{get:e[r],enumerable:!0})},me=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of ir(e))!ge.call(t,i)&&i!==r&&W(t,i,{get:()=>e[i],enumerable:!(n=nr(e,i))||n.enumerable});return t};var fe=(t,e,r)=>(r=t!=null?tr(or(t)):{},me(e||!t||!t.__esModule?W(r,"default",{value:t,enumerable:!0}):r,t)),cr=t=>me(W({},"__esModule",{value:!0}),t);var he=(t,e,r)=>new Promise((n,i)=>{var o=c=>{try{p(r.next(c))}catch(u){i(u)}},a=c=>{try{p(r.throw(c))}catch(u){i(u)}},p=c=>c.done?n(c.value):Promise.resolve(c.value).then(o,a);p((r=r.apply(t,e)).next())});var we=H(q=>{"use strict";l();q.byteLength=ur;q.toByteArray=gr;q.fromByteArray=hr;var A=[],b=[],pr=typeof Uint8Array!="undefined"?Uint8Array:Array,$="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(C=0,ye=$.length;C<ye;++C)A[C]=$[C],b[$.charCodeAt(C)]=C;var C,ye;b["-".charCodeAt(0)]=62;b["_".charCodeAt(0)]=63;function xe(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 ur(t){var e=xe(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 gr(t){var e,r=xe(t),n=r[0],i=r[1],o=new pr(dr(t,n,i)),a=0,p=i>0?n-4:n,c;for(c=0;c<p;c+=4)e=b[t.charCodeAt(c)]<<18|b[t.charCodeAt(c+1)]<<12|b[t.charCodeAt(c+2)]<<6|b[t.charCodeAt(c+3)],o[a++]=e>>16&255,o[a++]=e>>8&255,o[a++]=e&255;return i===2&&(e=b[t.charCodeAt(c)]<<2|b[t.charCodeAt(c+1)]>>4,o[a++]=e&255),i===1&&(e=b[t.charCodeAt(c)]<<10|b[t.charCodeAt(c+1)]<<4|b[t.charCodeAt(c+2)]>>2,o[a++]=e>>8&255,o[a++]=e&255),o}function mr(t){return A[t>>18&63]+A[t>>12&63]+A[t>>6&63]+A[t&63]}function fr(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(mr(n));return i.join("")}function hr(t){for(var e,r=t.length,n=r%3,i=[],o=16383,a=0,p=r-n;a<p;a+=o)i.push(fr(t,a,a+o>p?p:a+o));return n===1?(e=t[r-1],i.push(A[e>>2]+A[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],i.push(A[e>>10]+A[e>>4&63]+A[e<<2&63]+"=")),i.join("")}});var ve=H(Y=>{l();Y.read=function(t,e,r,n,i){var o,a,p=i*8-n-1,c=(1<<p)-1,u=c>>1,h=-7,d=r?i-1:0,T=r?-1:1,v=t[e+d];for(d+=T,o=v&(1<<-h)-1,v>>=-h,h+=p;h>0;o=o*256+t[e+d],d+=T,h-=8);for(a=o&(1<<-h)-1,o>>=-h,h+=n;h>0;a=a*256+t[e+d],d+=T,h-=8);if(o===0)o=1-u;else{if(o===c)return a?NaN:(v?-1:1)*(1/0);a=a+Math.pow(2,n),o=o-u}return(v?-1:1)*a*Math.pow(2,o-n)};Y.write=function(t,e,r,n,i,o){var a,p,c,u=o*8-i-1,h=(1<<u)-1,d=h>>1,T=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,v=n?0:o-1,U=n?1:-1,rr=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(p=isNaN(e)?1:0,a=h):(a=Math.floor(Math.log(e)/Math.LN2),e*(c=Math.pow(2,-a))<1&&(a--,c*=2),a+d>=1?e+=T/c:e+=T*Math.pow(2,1-d),e*c>=2&&(a++,c/=2),a+d>=h?(p=0,a=h):a+d>=1?(p=(e*c-1)*Math.pow(2,i),a=a+d):(p=e*Math.pow(2,d-1)*Math.pow(2,i),a=0));i>=8;t[r+v]=p&255,v+=U,p/=256,i-=8);for(a=a<<i|p,u+=i;u>0;t[r+v]=a&255,v+=U,a/=256,u-=8);t[r+v-U]|=rr*128}});var Fe=H(O=>{"use strict";l();var K=we(),D=ve(),be=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;O.Buffer=s;O.SlowBuffer=Tr;O.INSPECT_MAX_BYTES=50;var z=2147483647;O.kMaxLength=z;s.TYPED_ARRAY_SUPPORT=yr();!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 yr(){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 E(t){if(t>z)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 ee(t)}return Ae(t,e,r)}s.poolSize=8192;function Ae(t,e,r){if(typeof t=="string")return wr(t,e);if(ArrayBuffer.isView(t))return vr(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 Z(t,e,r);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return s.from(n,e,r);var i=br(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 Ae(t,e,r)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function _e(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 xr(t,e,r){return _e(t),t<=0?E(t):e!==void 0?typeof r=="string"?E(t).fill(e,r):E(t).fill(e):E(t)}s.alloc=function(t,e,r){return xr(t,e,r)};function ee(t){return _e(t),E(t<0?0:re(t)|0)}s.allocUnsafe=function(t){return ee(t)};s.allocUnsafeSlow=function(t){return ee(t)};function wr(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!s.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=Re(t,e)|0,n=E(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}function J(t){for(var e=t.length<0?0:re(t.length)|0,r=E(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function vr(t){if(_(t,Uint8Array)){var e=new Uint8Array(t);return Z(e.buffer,e.byteOffset,e.byteLength)}return J(t)}function Z(t,e,r){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return e===void 0&&r===void 0?n=new Uint8Array(t):r===void 0?n=new Uint8Array(t,e):n=new Uint8Array(t,e,r),Object.setPrototypeOf(n,s.prototype),n}function br(t){if(s.isBuffer(t)){var e=re(t.length)|0,r=E(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||te(t.length)?E(0):J(t);if(t.type==="Buffer"&&Array.isArray(t.data))return J(t.data)}function re(t){if(t>=z)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+z.toString(16)+" bytes");return t|0}function Tr(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 Re(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 Q(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Ce(t).length;default:if(i)return n?-1:Q(t).length;e=(""+e).toLowerCase(),i=!0}}s.byteLength=Re;function kr(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 Fr(this,e,r);case"utf8":case"utf-8":return Ie(this,e,r);case"ascii":return Nr(this,e,r);case"latin1":case"binary":return Cr(this,e,r);case"base64":return Er(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Pr(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function F(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}s.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<e;r+=2)F(this,r,r+1);return this};s.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<e;r+=4)F(this,r,r+3),F(this,r+1,r+2);return this};s.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<e;r+=8)F(this,r,r+7),F(this,r+1,r+6),F(this,r+2,r+5),F(this,r+3,r+4);return this};s.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?Ie(this,0,e):kr.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(e){if(!s.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:s.compare(this,e)===0};s.prototype.inspect=function(){var e="",r=O.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};be&&(s.prototype[be]=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,p=n-r,c=Math.min(a,p),u=this.slice(i,o),h=e.slice(r,n),d=0;d<c;++d)if(u[d]!==h[d]){a=u[d],p=h[d];break}return a<p?-1:p<a?1:0};function Se(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,te(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:Te(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):Te(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function Te(t,e,r,n,i){var o=1,a=t.length,p=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,p/=2,r/=2}function c(v,U){return o===1?v[U]:v.readUInt16BE(U*o)}var u;if(i){var h=-1;for(u=r;u<a;u++)if(c(t,u)===c(e,h===-1?0:u-h)){if(h===-1&&(h=u),u-h+1===p)return h*o}else h!==-1&&(u-=u-h),h=-1}else for(r+p>a&&(r=a-p),u=r;u>=0;u--){for(var d=!0,T=0;T<p;T++)if(c(t,u+T)!==c(e,T)){d=!1;break}if(d)return u}return-1}s.prototype.includes=function(e,r,n){return this.indexOf(e,r,n)!==-1};s.prototype.indexOf=function(e,r,n){return Se(this,e,r,n,!0)};s.prototype.lastIndexOf=function(e,r,n){return Se(this,e,r,n,!1)};function Ar(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 p=parseInt(e.substr(a*2,2),16);if(te(p))return a;t[r+a]=p}return a}function _r(t,e,r,n){return j(Q(e,t.length-r),t,r,n)}function Rr(t,e,r,n){return j(Dr(e),t,r,n)}function Sr(t,e,r,n){return j(Ce(e),t,r,n)}function Ir(t,e,r,n){return j(Or(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 Ar(this,e,r,n);case"utf8":case"utf-8":return _r(this,e,r,n);case"ascii":case"latin1":case"binary":return Rr(this,e,r,n);case"base64":return Sr(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ir(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 Er(t,e,r){return e===0&&r===t.length?K.fromByteArray(t):K.fromByteArray(t.slice(e,r))}function Ie(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var o=t[i],a=null,p=o>239?4:o>223?3:o>191?2:1;if(i+p<=r){var c,u,h,d;switch(p){case 1:o<128&&(a=o);break;case 2:c=t[i+1],(c&192)===128&&(d=(o&31)<<6|c&63,d>127&&(a=d));break;case 3:c=t[i+1],u=t[i+2],(c&192)===128&&(u&192)===128&&(d=(o&15)<<12|(c&63)<<6|u&63,d>2047&&(d<55296||d>57343)&&(a=d));break;case 4:c=t[i+1],u=t[i+2],h=t[i+3],(c&192)===128&&(u&192)===128&&(h&192)===128&&(d=(o&15)<<18|(c&63)<<12|(u&63)<<6|h&63,d>65535&&d<1114112&&(a=d))}}a===null?(a=65533,p=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),i+=p}return Lr(n)}var ke=4096;function Lr(t){var e=t.length;if(e<=ke)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=ke));return r}function Nr(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 Cr(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 Fr(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+=Mr[t[o]];return i}function Pr(t,e,r){for(var n=t.slice(e,r),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}s.prototype.slice=function(e,r){var n=this.length;e=~~e,r=r===void 0?n:~~r,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<e&&(r=e);var i=this.subarray(e,r);return Object.setPrototypeOf(i,s.prototype),i};function x(t,e,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e+--r],o=1;r>0&&(o*=256);)i+=this[e+--r]*o;return i};s.prototype.readUint8=s.prototype.readUInt8=function(e,r){return e=e>>>0,r||x(e,1,this.length),this[e]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||x(e,2,this.length),this[e]|this[e+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||x(e,2,this.length),this[e]<<8|this[e+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||x(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};s.prototype.readIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*r)),i};s.prototype.readIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=r,o=1,a=this[e+--i];i>0&&(o*=256);)a+=this[e+--i]*o;return o*=128,a>=o&&(a-=Math.pow(2,8*r)),a};s.prototype.readInt8=function(e,r){return e=e>>>0,r||x(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};s.prototype.readInt16LE=function(e,r){e=e>>>0,r||x(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(e,r){e=e>>>0,r||x(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};s.prototype.readInt32BE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};s.prototype.readFloatLE=function(e,r){return e=e>>>0,r||x(e,4,this.length),D.read(this,e,!0,23,4)};s.prototype.readFloatBE=function(e,r){return e=e>>>0,r||x(e,4,this.length),D.read(this,e,!1,23,4)};s.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||x(e,8,this.length),D.read(this,e,!0,52,8)};s.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||x(e,8,this.length),D.read(this,e,!1,52,8)};function w(t,e,r,n,i,o){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;w(this,e,r,n,o,0)}var a=1,p=0;for(this[r]=e&255;++p<n&&(a*=256);)this[r+p]=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,p=1;for(this[r+a]=e&255;--a>=0&&(p*=256);)this[r+a]=e/p&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,p=1,c=0;for(this[r]=e&255;++a<n&&(p*=256);)e<0&&c===0&&this[r+a-1]!==0&&(c=1),this[r+a]=(e/p>>0)-c&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,p=1,c=0;for(this[r+a]=e&255;--a>=0&&(p*=256);)e<0&&c===0&&this[r+a+1]!==0&&(c=1),this[r+a]=(e/p>>0)-c&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 Ee(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 Le(t,e,r,n,i){return e=+e,r=r>>>0,i||Ee(t,e,r,4,34028234663852886e22,-34028234663852886e22),D.write(t,e,r,n,23,4),r+4}s.prototype.writeFloatLE=function(e,r,n){return Le(this,e,r,!0,n)};s.prototype.writeFloatBE=function(e,r,n){return Le(this,e,r,!1,n)};function Ne(t,e,r,n,i){return e=+e,r=r>>>0,i||Ee(t,e,r,8,17976931348623157e292,-17976931348623157e292),D.write(t,e,r,n,52,8),r+8}s.prototype.writeDoubleLE=function(e,r,n){return Ne(this,e,r,!0,n)};s.prototype.writeDoubleBE=function(e,r,n){return Ne(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 p=s.isBuffer(e)?e:s.from(e,i),c=p.length;if(c===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(a=0;a<n-r;++a)this[a+r]=p[a%c]}return this};var Br=/[^+/0-9A-Za-z-_]/g;function Ur(t){if(t=t.split("=")[0],t=t.trim().replace(Br,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function Q(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 Dr(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function Or(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 Ce(t){return K.toByteArray(Ur(t))}function j(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 te(t){return t!==t}var Mr=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 Oe=H((Jr,De)=>{l();var y=De.exports={},R,S;function ne(){throw new Error("setTimeout has not been defined")}function ie(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?R=setTimeout:R=ne}catch(t){R=ne}try{typeof clearTimeout=="function"?S=clearTimeout:S=ie}catch(t){S=ie}})();function Pe(t){if(R===setTimeout)return setTimeout(t,0);if((R===ne||!R)&&setTimeout)return R=setTimeout,setTimeout(t,0);try{return R(t,0)}catch(e){try{return R.call(null,t,0)}catch(r){return R.call(this,t,0)}}}function Gr(t){if(S===clearTimeout)return clearTimeout(t);if((S===ie||!S)&&clearTimeout)return S=clearTimeout,clearTimeout(t);try{return S(t)}catch(e){try{return S.call(null,t)}catch(r){return S.call(this,t)}}}var L=[],M=!1,P,X=-1;function Wr(){!M||!P||(M=!1,P.length?L=P.concat(L):X=-1,L.length&&Be())}function Be(){if(!M){var t=Pe(Wr);M=!0;for(var e=L.length;e;){for(P=L,L=[];++X<e;)P&&P[X].run();X=-1,e=L.length}P=null,M=!1,Gr(t)}}y.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];L.push(new Ue(t,e)),L.length===1&&!M&&Pe(Be)};function Ue(t,e){this.fun=t,this.array=e}Ue.prototype.run=function(){this.fun.apply(null,this.array)};y.title="browser";y.browser=!0;y.env={};y.argv=[];y.version="";y.versions={};function N(){}y.on=N;y.addListener=N;y.once=N;y.off=N;y.removeListener=N;y.removeAllListeners=N;y.emit=N;y.prependListener=N;y.prependOnceListener=N;y.listeners=function(t){return[]};y.binding=function(t){throw new Error("process.binding is not supported")};y.cwd=function(){return"/"};y.chdir=function(t){throw new Error("process.chdir is not supported")};y.umask=function(){return 0}});var g,m,Zr,l=sr(()=>{g=fe(Fe()),m=fe(Oe()),Zr=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 jr={};lr(jr,{DAPP_INIT_ROUTE:()=>er,EmptyProvider:()=>B,emptyProvider:()=>Xe,getLedgerConfiguration:()=>zr,getProviderType:()=>Hr,newWalletProvider:()=>qr});module.exports=cr(jr);l();var Ye=require("@multiversx/sdk-extension-provider"),Ke=require("@multiversx/sdk-hw-provider"),Je=require("@multiversx/sdk-metamask-provider/out/metamaskProvider"),Ze=require("@multiversx/sdk-opera-provider"),Qe=require("@multiversx/sdk-passkey-provider/out"),pe=require("@multiversx/sdk-web-wallet-provider");l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();var oe=require("@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider"),G=require("@multiversx/sdk-web-wallet-cross-window-provider/out/enums");var Me=(r=>(r.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",r.reloginRequest="RELOGIN_REQUEST",r))(Me||{}),pt=V(V({},G.WindowProviderRequestEnums),Me),Ge=(e=>(e.reloginResponse="RELOGIN_RESPONSE",e))(Ge||{}),ut=V(V({},G.WindowProviderResponseEnums),Ge);l();l();l();l();l();l();var ae={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",metamaskSnapWalletAddress:"https://devnet-iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",xAliasAddress:"https://testnet.xalias.com",apiAddress:"https://testnet-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://testnet-iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",xAliasAddress:"https://xalias.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",metamaskSnapWalletAddress:"https://iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3}},{chainId:We,egldLabel:It}=ae["devnet"],{chainId:Ve,egldLabel:Et}=ae["testnet"],{chainId:He,egldLabel:Lt}=ae["mainnet"];var Nt={["devnet"]:We,["testnet"]:Ve,["mainnet"]:He},Ct={[We]:"devnet",[Ve]:"testnet",[He]:"mainnet"};l();l();var I=require("@multiversx/sdk-web-wallet-provider");l();l();var se=require("@multiversx/sdk-dapp-utils/out/constants/browserConstants");var qe,ze,le=String((ze=(qe=se.safeWindow)==null?void 0:qe.navigator)==null?void 0:ze.userAgent),Ot=/^((?!chrome|android).)*safari/i.test(le),Mt=/firefox/i.test(le)&&/windows/i.test(le);var je=1;l();var ce=require("@multiversx/sdk-web-wallet-iframe-provider/out"),Vr=require("@multiversx/sdk-web-wallet-iframe-provider/out/constants");l();l();l();var $e=B;var er="/dapp/init",Hr=t=>{switch(t==null?void 0:t.constructor){case pe.WalletProvider:return"wallet";case $e:return"walletconnectv2";case Ke.HWProvider:return"ledger";case Ye.ExtensionProvider:return"extension";case Qe.PasskeyProvider:return"passkey";case Je.MetamaskProvider:return"metamask";case Ze.OperaProvider:return"opera";case oe.CrossWindowProvider:return"crossWindow";case ce.IframeProvider:return"iframe";case B:return"";default:return"extra"}},qr=t=>new pe.WalletProvider(`${t}${er}`),zr=t=>he(void 0,null,function*(){if(!t.isInitialized())throw new Error("Unable to get version. Provider not initialized");let e=t.hwApp,{contractData:r,version:n}=yield e.getAppConfiguration();return{version:n,dataEnabled:r===je}}),k=t=>`Unable to perform ${t}, Provider not initialized`,B=class{init(){return Promise.resolve(!1)}getAccount(){throw new Error(k("getAccount"))}setAccount(e){throw new Error(k(`setAccount: ${e}`))}login(e){throw new Error(k(`login with options: ${e}`))}logout(e){throw new Error(k(`logout with options: ${e}`))}getAddress(){throw new Error(k("getAddress"))}isInitialized(){return!1}isConnected(){return!1}sendTransaction(e,r){throw new Error(k(`sendTransaction with transactions: ${e} options: ${r}`))}signTransaction(e,r){throw new Error(k(`signTransaction with transactions: ${e} options: ${r}`))}signTransactions(e,r){throw new Error(k(`signTransactions with transactions: ${e} options: ${r}`))}signMessage(e,r){throw new Error(k(`signTransactions with ${e} and options ${r}`))}sendCustomMessage({method:e,params:r}){throw new Error(k(`sendCustomMessage with method: ${e} params: ${r}`))}sendCustomRequest(e){throw new Error(k(`sendSessionEvent with options: ${e}`))}ping(){return Promise.resolve(!1)}},Xe=new B;0&&(module.exports={DAPP_INIT_ROUTE,EmptyProvider,emptyProvider,getLedgerConfiguration,getProviderType,newWalletProvider});
|
|
2
2
|
/*!
|
|
3
3
|
* The buffer module from node.js, for the browser.
|
|
4
4
|
*
|