@multiversx/sdk-dapp 4.6.2 → 4.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/UI/DappModal/components/DappModal.js +1 -1
- package/UI/DappModal/components/index.js +1 -1
- package/UI/DappModal/index.js +1 -1
- package/UI/Denominate/index.js +1 -1
- package/UI/ExplorerLink/ExplorerLink.js +1 -1
- package/UI/ExplorerLink/index.js +1 -1
- package/UI/FormatAmount/FormatAmount.js +1 -1
- package/UI/FormatAmount/index.js +1 -1
- package/UI/ModalContainer/ModalContainer.js +1 -1
- package/UI/ModalContainer/index.js +1 -1
- package/UI/NotificationModal/NotificationModal.js +1 -1
- package/UI/NotificationModal/index.js +1 -1
- package/UI/Pagination/Pagination.js +1 -1
- package/UI/Pagination/helpers/getPagination/getPagination.js +1 -1
- package/UI/Pagination/helpers/getPagination/getPagination.spec.js +1 -1
- package/UI/Pagination/helpers/getPagination/index.js +1 -1
- package/UI/Pagination/helpers/index.js +1 -1
- package/UI/Pagination/index.js +1 -1
- package/UI/SignTransactionsModals/SignTransactionsModals.js +1 -1
- package/UI/SignTransactionsModals/SignWithCrossWindowWalletModal/SignWithCrossWindowWalletModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithCrossWindowWalletModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/SignWithDeviceModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/SignStepBody.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/ConfirmAmount.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountData/ConfirmAmountData.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountData/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountLabel/ConfirmAmountLabel.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountLabel/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountNftSft/ConfirmAmountNftSft.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountNftSft/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/ConfirmFee.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/components/GasDetails/GasDetails.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/components/GasDetails/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/components/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/ConfirmReceiver.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/index.js +1 -1
- package/UI/SignTransactionsModals/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/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-HQELBF6J.js → chunk-233Y3EPE.js} +2 -2
- package/__chunks__/{chunk-AFASQHTJ.js → chunk-26Y3YQLS.js} +2 -2
- package/__chunks__/{chunk-5SRWAN4U.js → chunk-2ALFM7YL.js} +2 -2
- package/__chunks__/{chunk-AKBVYOYI.js → chunk-2M2CN2KE.js} +2 -2
- package/__chunks__/{chunk-YT4BZLQ4.js → chunk-2NDLKDTO.js} +2 -2
- package/__chunks__/{chunk-BBYPMEN6.js → chunk-2NFI6BVS.js} +2 -2
- package/__chunks__/{chunk-DFEDUO7D.js → chunk-2SLD7I6M.js} +2 -2
- package/__chunks__/{chunk-S4TX63DH.js → chunk-2T7CZQAM.js} +2 -2
- package/__chunks__/{chunk-AJJQTGWC.js → chunk-2TXIJYQM.js} +2 -2
- package/__chunks__/{chunk-XNKWKG4C.js → chunk-2UIMO7XH.js} +2 -2
- package/__chunks__/chunk-2UMV4LIS.js +2 -0
- package/__chunks__/chunk-2ZE2TVFC.js +2 -0
- package/__chunks__/{chunk-CLYICTYX.js → chunk-2ZZWQE2Z.js} +2 -2
- package/__chunks__/{chunk-GMBNBDLL.js → chunk-337ORZMP.js} +2 -2
- package/__chunks__/{chunk-FNQ4SPAL.js → chunk-3CNBCNV4.js} +2 -2
- package/__chunks__/{chunk-7A3WZJ3L.js → chunk-3DML2DDU.js} +2 -2
- package/__chunks__/{chunk-MQ4E2QZS.js → chunk-3DPOOIQP.js} +2 -2
- package/__chunks__/{chunk-E4FLJTM2.js → chunk-3HFR4WHH.js} +2 -2
- package/__chunks__/{chunk-HJJPHY6B.js → chunk-3LM2D7HG.js} +2 -2
- package/__chunks__/chunk-3NKXYE4W.js +2 -0
- package/__chunks__/{chunk-QDUMJAAZ.js → chunk-3VLECH5O.js} +2 -2
- package/__chunks__/{chunk-OO2TEG6B.js → chunk-3VQ3RI62.js} +2 -2
- package/__chunks__/chunk-3XJRCYON.js +2 -0
- package/__chunks__/chunk-3XRQTWUN.js +2 -0
- package/__chunks__/{chunk-GVZ5E7YB.js → chunk-42DOFJ3J.js} +2 -2
- package/__chunks__/{chunk-SSIRRAL3.js → chunk-44AQUUN4.js} +2 -2
- package/__chunks__/chunk-45I4IZUH.js +2 -0
- package/__chunks__/{chunk-NTG36RVO.js → chunk-45M67NPO.js} +2 -2
- package/__chunks__/{chunk-ILWVKHNG.js → chunk-4BHX257I.js} +2 -2
- package/__chunks__/{chunk-ONIW5RHB.js → chunk-4DLGSHMO.js} +2 -2
- package/__chunks__/{chunk-JY3REYPU.js → chunk-4EINKRT5.js} +2 -2
- package/__chunks__/chunk-4LIH7DMK.js +2 -0
- package/__chunks__/{chunk-MHCSF4QC.js → chunk-4RKAPVSI.js} +2 -2
- package/__chunks__/{chunk-C7DGKOIA.js → chunk-4YWISNCD.js} +2 -2
- package/__chunks__/{chunk-2TZ4534I.js → chunk-534RWS4Q.js} +2 -2
- package/__chunks__/{chunk-L75ZPCYI.js → chunk-535ODM2Z.js} +2 -2
- package/__chunks__/{chunk-CD2ATMGP.js → chunk-553NYNA6.js} +2 -2
- package/__chunks__/{chunk-MWSOIUGU.js → chunk-55P6HT2D.js} +2 -2
- package/__chunks__/{chunk-CZRKSNM5.js → chunk-5IWYFX5Y.js} +2 -2
- package/__chunks__/{chunk-V45AQ7YY.js → chunk-5JFFMHDB.js} +2 -2
- package/__chunks__/{chunk-LDXX4UK3.js → chunk-5NFIOBOE.js} +2 -2
- package/__chunks__/{chunk-7HDIZSBR.js → chunk-5O5TW3RC.js} +2 -2
- package/__chunks__/chunk-5OKH23ME.js +2 -0
- package/__chunks__/{chunk-QAPLEK3I.js → chunk-5TK6IIXY.js} +2 -2
- package/__chunks__/{chunk-SVW3FN6A.js → chunk-5TXNRL46.js} +2 -2
- package/__chunks__/{chunk-QRT4PS4W.js → chunk-5U53DNZW.js} +2 -2
- package/__chunks__/{chunk-R76VYJJM.js → chunk-5WIOXBDC.js} +2 -2
- package/__chunks__/{chunk-MU76C5A2.js → chunk-62YFKV4J.js} +2 -2
- package/__chunks__/chunk-65BWG2IU.js +2 -0
- package/__chunks__/{chunk-LO2TPT7P.js → chunk-66G73L6V.js} +2 -2
- package/__chunks__/{chunk-HP6ULDGR.js → chunk-67DKNM5P.js} +2 -2
- package/__chunks__/chunk-67V36LEQ.js +2 -0
- package/__chunks__/{chunk-7UDAAAZI.js → chunk-6BLQ5C3B.js} +2 -2
- package/__chunks__/{chunk-LQ2AKVCV.js → chunk-6CS2K64E.js} +2 -2
- package/__chunks__/{chunk-PIAM23JQ.js → chunk-6FMP5ICS.js} +2 -2
- package/__chunks__/{chunk-AU4EMK6G.js → chunk-6JJIXX67.js} +2 -2
- package/__chunks__/{chunk-3T6X4DLG.js → chunk-6K7QWTK7.js} +2 -2
- package/__chunks__/{chunk-SGMHWGMM.js → chunk-72TUVIVC.js} +2 -2
- package/__chunks__/{chunk-77277MTW.js → chunk-7337QRHT.js} +2 -2
- package/__chunks__/chunk-73QMEKDR.js +2 -0
- package/__chunks__/{chunk-T5CPV6VF.js → chunk-75RJ6Q7V.js} +2 -2
- package/__chunks__/{chunk-ZBA4GJA6.js → chunk-7F5GY2UJ.js} +2 -2
- package/__chunks__/{chunk-N6NEMKDO.js → chunk-7FRLY7ZG.js} +2 -2
- package/__chunks__/{chunk-CKPMBA2V.js → chunk-7MNNQBVD.js} +2 -2
- package/__chunks__/{chunk-MCMHARJS.js → chunk-7S372Y2A.js} +2 -2
- package/__chunks__/{chunk-L5P6W4WD.js → chunk-7SZDMEPT.js} +2 -2
- package/__chunks__/{chunk-3XD4UG2E.js → chunk-7THQR7BW.js} +2 -2
- package/__chunks__/chunk-7UFKIFNA.js +2 -0
- package/__chunks__/chunk-7X2LYNI6.js +2 -0
- package/__chunks__/{chunk-SJ7OHWPV.js → chunk-7YTOEYUK.js} +2 -2
- package/__chunks__/chunk-A6FTYFPP.js +2 -0
- package/__chunks__/chunk-A7RPFC3Q.js +2 -0
- package/__chunks__/{chunk-37LNT7ER.js → chunk-A7SV3J62.js} +2 -2
- package/__chunks__/{chunk-SLRHTMWP.js → chunk-AHFQDKMP.js} +2 -2
- package/__chunks__/{chunk-N3YUSYHA.js → chunk-AJBABHLE.js} +2 -2
- package/__chunks__/{chunk-QL3LNIS6.js → chunk-ASAXTMBB.js} +2 -2
- package/__chunks__/chunk-AUFQFQBU.js +2 -0
- package/__chunks__/{chunk-UGPKXA6A.js → chunk-AVLZRXI5.js} +2 -2
- package/__chunks__/{chunk-76IWBFNO.js → chunk-AWBPI3VU.js} +2 -2
- package/__chunks__/{chunk-6FHKWJY5.js → chunk-AWY25KLM.js} +2 -2
- package/__chunks__/{chunk-5ZPCVP5Y.js → chunk-AXGRYLTH.js} +2 -2
- package/__chunks__/{chunk-ZBIF73UZ.js → chunk-B6RVTWFL.js} +2 -2
- package/__chunks__/{chunk-TZJWSTPX.js → chunk-BAYFKPOJ.js} +2 -2
- package/__chunks__/{chunk-RPALEX4J.js → chunk-BCGCT3JS.js} +2 -2
- package/__chunks__/{chunk-W3S2GBWY.js → chunk-BHND5K3I.js} +2 -2
- package/__chunks__/chunk-BLY66X7K.js +2 -0
- package/__chunks__/{chunk-QOJ2PVPN.js → chunk-BMHPA7EM.js} +2 -2
- package/__chunks__/chunk-BN3Q5LGE.js +2 -0
- package/__chunks__/{chunk-T3EM5BLQ.js → chunk-BPAXQER7.js} +2 -2
- package/__chunks__/{chunk-GD2FSFSI.js → chunk-BQ2P7VOI.js} +2 -2
- package/__chunks__/{chunk-FAX6FQ6C.js → chunk-BRYRQG7O.js} +2 -2
- package/__chunks__/{chunk-XQFS2NCJ.js → chunk-BS3SBLP2.js} +2 -2
- package/__chunks__/{chunk-MEA5G7PL.js → chunk-C3GI3NV2.js} +2 -2
- package/__chunks__/chunk-CALM3ZYM.js +2 -0
- package/__chunks__/{chunk-OVAHNHMZ.js → chunk-CF5C324R.js} +2 -2
- package/__chunks__/{chunk-NYBQCAVF.js → chunk-CFPS2XHT.js} +2 -2
- package/__chunks__/{chunk-3COFE7J2.js → chunk-CIDIPTIH.js} +2 -2
- package/__chunks__/{chunk-32RAGVW2.js → chunk-CSPHLCVN.js} +2 -2
- package/__chunks__/{chunk-BAJROXMW.js → chunk-CT7BMSCR.js} +2 -2
- package/__chunks__/chunk-CTFNW6OU.js +2 -0
- package/__chunks__/chunk-CVCE66P2.js +2 -0
- package/__chunks__/{chunk-RBVXNLMD.js → chunk-CZL2QTQ3.js} +2 -2
- package/__chunks__/{chunk-SKNIBIFN.js → chunk-D26L5RNT.js} +2 -2
- package/__chunks__/{chunk-PJ3T2T4C.js → chunk-D44YSRGS.js} +2 -2
- package/__chunks__/{chunk-HSLAJL6I.js → chunk-D5MI3Y2X.js} +2 -2
- package/__chunks__/{chunk-XR3RJUUH.js → chunk-DCXS4DEU.js} +2 -2
- package/__chunks__/{chunk-W5L27I27.js → chunk-DJJ3I5NV.js} +2 -2
- package/__chunks__/{chunk-ELALYCEU.js → chunk-DJPC3YBT.js} +2 -2
- package/__chunks__/chunk-DKTJARQ4.js +2 -0
- package/__chunks__/{chunk-INIPS46Q.js → chunk-DP5Z7FXY.js} +2 -2
- package/__chunks__/chunk-DSKRF3NW.js +2 -0
- package/__chunks__/{chunk-6YGRQC4W.js → chunk-DXOYVB33.js} +2 -2
- package/__chunks__/{chunk-M5SU6ISY.js → chunk-E5HFQLGK.js} +2 -2
- package/__chunks__/{chunk-ANJIIROB.js → chunk-EA5YAPLI.js} +2 -2
- package/__chunks__/{chunk-KIQFZLGX.js → chunk-ECNWVFCC.js} +2 -2
- package/__chunks__/{chunk-MHFEXPYR.js → chunk-ED7VFIQC.js} +2 -2
- package/__chunks__/{chunk-RDWILTY5.js → chunk-EJJX3FVQ.js} +2 -2
- package/__chunks__/{chunk-4256FHHD.js → chunk-EJSRHANI.js} +2 -2
- package/__chunks__/{chunk-EXFW3C5M.js → chunk-EKO3G5T3.js} +2 -2
- package/__chunks__/chunk-EKWJ7UVN.js +2 -0
- package/__chunks__/{chunk-G5U4OVJY.js → chunk-EKY46RCL.js} +2 -2
- package/__chunks__/{chunk-JZ3GHUCX.js → chunk-EP4MPMA3.js} +2 -2
- package/__chunks__/{chunk-A4WQAEQO.js → chunk-EWGIPXPI.js} +2 -2
- package/__chunks__/{chunk-MAD5HLUF.js → chunk-F2A3Q372.js} +2 -2
- package/__chunks__/{chunk-WHRUVER6.js → chunk-F2R7DWTU.js} +2 -2
- package/__chunks__/{chunk-D7TJCX3I.js → chunk-F6M4WIHR.js} +2 -2
- package/__chunks__/{chunk-YZQBWNSY.js → chunk-FBHTLU44.js} +2 -2
- package/__chunks__/{chunk-EAK6MQ66.js → chunk-FG23W4PU.js} +2 -2
- package/__chunks__/{chunk-YQ7H3RFK.js → chunk-FGOT333S.js} +2 -2
- package/__chunks__/chunk-FKITK4HZ.js +2 -0
- package/__chunks__/{chunk-ADAUID3I.js → chunk-FN4XBAIF.js} +2 -2
- package/__chunks__/{chunk-DQ7OJC4Z.js → chunk-FOF5VFPQ.js} +2 -2
- package/__chunks__/{chunk-3OFH3KE6.js → chunk-FRO5L2RS.js} +2 -2
- package/__chunks__/{chunk-GIYDBYQL.js → chunk-FTVXOVMD.js} +2 -2
- package/__chunks__/chunk-FUNUC3QP.js +2 -0
- package/__chunks__/{chunk-PVC2CAIV.js → chunk-FWNHDVJ7.js} +2 -2
- package/__chunks__/{chunk-2J6VEBII.js → chunk-FYTX4XJ5.js} +2 -2
- package/__chunks__/chunk-G7KXCGAN.js +2 -0
- package/__chunks__/{chunk-IAKZZ7YN.js → chunk-GDLAJDF2.js} +2 -2
- package/__chunks__/{chunk-O7HOW5RZ.js → chunk-GJZZL7UT.js} +2 -2
- package/__chunks__/chunk-GQ2RN5XJ.js +2 -0
- package/__chunks__/{chunk-INYF2N77.js → chunk-GQDL2IA5.js} +2 -2
- package/__chunks__/{chunk-BHFXJUXK.js → chunk-GQYPL5J2.js} +2 -2
- package/__chunks__/{chunk-QGSKG65O.js → chunk-GRGH7V3U.js} +2 -2
- package/__chunks__/chunk-GSVCYLMW.js +2 -0
- package/__chunks__/{chunk-3NYQRYYT.js → chunk-GTJRR75A.js} +2 -2
- package/__chunks__/{chunk-VO2NUJSR.js → chunk-GTKMHXEY.js} +2 -2
- package/__chunks__/{chunk-ANPXPDRQ.js → chunk-GXJWAUE4.js} +2 -2
- package/__chunks__/chunk-HBPSGFBI.js +2 -0
- package/__chunks__/chunk-HCCEXWUK.js +2 -0
- package/__chunks__/{chunk-SSJEZQOE.js → chunk-HEFJSGC6.js} +2 -2
- package/__chunks__/{chunk-5MDA2DZF.js → chunk-HGYZKKKA.js} +2 -2
- package/__chunks__/{chunk-DNRK2PKP.js → chunk-HHFFTM37.js} +2 -2
- package/__chunks__/{chunk-QGWLKL6Y.js → chunk-HHRHWKJS.js} +2 -2
- package/__chunks__/chunk-HMVIKBNF.js +2 -0
- package/__chunks__/chunk-HNAMU4U3.js +2 -0
- package/__chunks__/chunk-HNMYBBYR.js +2 -0
- package/__chunks__/{chunk-XI4FDYET.js → chunk-HNZR7M7E.js} +2 -2
- package/__chunks__/{chunk-CK74KWOA.js → chunk-HR7RGQWN.js} +2 -2
- package/__chunks__/{chunk-NAU6PL4U.js → chunk-I4FRD37W.js} +2 -2
- package/__chunks__/{chunk-E5OPJWLM.js → chunk-IACL6U52.js} +2 -2
- package/__chunks__/{chunk-GTGPBZOI.js → chunk-ICACBDVF.js} +2 -2
- package/__chunks__/{chunk-7OKKBSKS.js → chunk-ICJT5KGV.js} +2 -2
- package/__chunks__/{chunk-YL3E6MB6.js → chunk-IEH7QUS3.js} +2 -2
- package/__chunks__/{chunk-RUSYOLQU.js → chunk-IGIDEJRL.js} +2 -2
- package/__chunks__/{chunk-ZEIXA3SZ.js → chunk-IJTBI65X.js} +2 -2
- package/__chunks__/{chunk-ELICTFEC.js → chunk-IKWEDDHQ.js} +2 -2
- package/__chunks__/{chunk-IYQODYZ7.js → chunk-IL6QWPZU.js} +2 -2
- package/__chunks__/{chunk-SVX366M6.js → chunk-ILB3IHIX.js} +2 -2
- package/__chunks__/{chunk-KNDI5XJ7.js → chunk-IM7X6DJ6.js} +2 -2
- package/__chunks__/{chunk-MNIWQVXW.js → chunk-ITIUQIV3.js} +2 -2
- package/__chunks__/{chunk-L2JWK4XX.js → chunk-IYRWBOSS.js} +2 -2
- package/__chunks__/{chunk-EULF4HO5.js → chunk-IZBFOLAJ.js} +2 -2
- package/__chunks__/{chunk-4ICAMKKP.js → chunk-J45QVYDM.js} +2 -2
- package/__chunks__/{chunk-6K36GWK3.js → chunk-J4FNP5FB.js} +2 -2
- package/__chunks__/{chunk-NRWNVE2R.js → chunk-J5US4DJK.js} +2 -2
- package/__chunks__/{chunk-UZ2DWEUS.js → chunk-J7J4DQH3.js} +2 -2
- package/__chunks__/chunk-JATQZ5BL.js +2 -0
- package/__chunks__/{chunk-VRMRDEHJ.js → chunk-JBCDHMIY.js} +2 -2
- package/__chunks__/chunk-JBZ5HPMS.js +2 -0
- package/__chunks__/chunk-JD4KV2UA.js +2 -0
- package/__chunks__/{chunk-O2UNLPV2.js → chunk-JD7L7RCI.js} +2 -2
- package/__chunks__/{chunk-QVFHYD6F.js → chunk-JI4FRDU6.js} +2 -2
- package/__chunks__/{chunk-JKJZ3XP3.js → chunk-JICXCUKM.js} +2 -2
- package/__chunks__/chunk-JITVKBZR.js +2 -0
- package/__chunks__/{chunk-2HZWSFWL.js → chunk-JNOI2JQO.js} +2 -2
- package/__chunks__/{chunk-Q3H4E4XT.js → chunk-JOEIPL6J.js} +2 -2
- package/__chunks__/{chunk-AHMPZ2MY.js → chunk-K3UFILSW.js} +2 -2
- package/__chunks__/chunk-K4SAKGW2.js +2 -0
- package/__chunks__/{chunk-45ZBT4FO.js → chunk-KHCFSIIX.js} +2 -2
- package/__chunks__/{chunk-TO37DYD4.js → chunk-KJHOAVHU.js} +2 -2
- package/__chunks__/chunk-KL4JPBDZ.js +2 -0
- package/__chunks__/{chunk-YUPB2GBC.js → chunk-KLWSLJR6.js} +2 -2
- package/__chunks__/{chunk-5JWL6EP5.js → chunk-KN33HJUW.js} +2 -2
- package/__chunks__/{chunk-P62MX7IT.js → chunk-KOO533PY.js} +2 -2
- package/__chunks__/{chunk-M6C33YFY.js → chunk-KQAHILCK.js} +2 -2
- package/__chunks__/{chunk-FFHALICY.js → chunk-KSVD6IUM.js} +2 -2
- package/__chunks__/{chunk-3R3BHDDX.js → chunk-KSYIV36J.js} +2 -2
- package/__chunks__/{chunk-VNHZM7ZP.js → chunk-KT2GLC7H.js} +2 -2
- package/__chunks__/{chunk-54CLX3G3.js → chunk-KTYAHAFK.js} +2 -2
- package/__chunks__/chunk-KWNT6IKA.js +2 -0
- package/__chunks__/{chunk-XF52WUBG.js → chunk-L2FARFDW.js} +2 -2
- package/__chunks__/{chunk-XVSXJCHL.js → chunk-L2OUPHHW.js} +2 -2
- package/__chunks__/{chunk-WF7DMBJF.js → chunk-L52QLJV4.js} +2 -2
- package/__chunks__/{chunk-L76IL5YQ.js → chunk-L5UHPWRL.js} +2 -2
- package/__chunks__/{chunk-NRHD2V3F.js → chunk-LELTTDC6.js} +2 -2
- package/__chunks__/chunk-LFPPBSHZ.js +2 -0
- package/__chunks__/{chunk-7H4OGZTQ.js → chunk-LFUMFM6N.js} +2 -2
- package/__chunks__/chunk-LN3IUDFH.js +2 -0
- package/__chunks__/{chunk-4IZWL4LI.js → chunk-LRGYW5ZT.js} +2 -2
- package/__chunks__/{chunk-OEASWXDK.js → chunk-LU5EFLBU.js} +2 -2
- package/__chunks__/{chunk-GNGXWC5U.js → chunk-M3GIJKUQ.js} +2 -2
- package/__chunks__/{chunk-OVSESYEA.js → chunk-M3SBPG7Y.js} +2 -2
- package/__chunks__/{chunk-CJLTUFMI.js → chunk-M67HDOTE.js} +2 -2
- package/__chunks__/{chunk-ORF2CMB5.js → chunk-MAAOPMQH.js} +2 -2
- package/__chunks__/{chunk-ZOOIZKOI.js → chunk-MAATDG6R.js} +2 -2
- package/__chunks__/{chunk-ARTXI5RT.js → chunk-MB6XJ6F4.js} +2 -2
- package/__chunks__/{chunk-PLNSNJJZ.js → chunk-MBMHC3XI.js} +2 -2
- package/__chunks__/{chunk-AKCYLUZC.js → chunk-MED667A5.js} +2 -2
- package/__chunks__/chunk-MGFER24G.js +2 -0
- package/__chunks__/{chunk-A6V7MSF6.js → chunk-MGPS2ZVT.js} +2 -2
- package/__chunks__/chunk-MHR3CBFL.js +2 -0
- package/__chunks__/{chunk-TAJ6IAJJ.js → chunk-MLI4NZLA.js} +2 -2
- package/__chunks__/{chunk-BPSONEKL.js → chunk-MM4YURXY.js} +2 -2
- package/__chunks__/{chunk-AKENBORS.js → chunk-MR7PKIRL.js} +2 -2
- package/__chunks__/{chunk-GC3FLLTY.js → chunk-MSVNY2NN.js} +2 -2
- package/__chunks__/{chunk-CN57UYOY.js → chunk-MYIA5PLO.js} +2 -2
- package/__chunks__/{chunk-KPFF7AWW.js → chunk-MYJHU663.js} +2 -2
- package/__chunks__/chunk-MYRODCMD.js +2 -0
- package/__chunks__/{chunk-FS3QGSIN.js → chunk-MZ53U3IS.js} +2 -2
- package/__chunks__/{chunk-7HLSICSA.js → chunk-MZCKWMML.js} +2 -2
- package/__chunks__/{chunk-3OZUI6SB.js → chunk-NEPBBGTE.js} +2 -2
- package/__chunks__/{chunk-WJTDAOXC.js → chunk-NHNNEKH5.js} +2 -2
- package/__chunks__/{chunk-M3M3PMYR.js → chunk-NMFOG3SQ.js} +2 -2
- package/__chunks__/{chunk-UFAQPTMN.js → chunk-NMQWOPL7.js} +2 -2
- package/__chunks__/{chunk-EMZNFABK.js → chunk-NP2EZZ66.js} +2 -2
- package/__chunks__/{chunk-P4Y5CC72.js → chunk-NRLFJJ7U.js} +2 -2
- package/__chunks__/{chunk-XC65AGUH.js → chunk-NSD4S6NQ.js} +2 -2
- package/__chunks__/{chunk-5C27NHE3.js → chunk-NUC5P7CZ.js} +2 -2
- package/__chunks__/{chunk-TNX3KOTX.js → chunk-NXB6KMZY.js} +2 -2
- package/__chunks__/{chunk-EBF5N4RM.js → chunk-NZW5N224.js} +2 -2
- package/__chunks__/{chunk-6G3DH2OQ.js → chunk-O26EWQ4S.js} +2 -2
- package/__chunks__/{chunk-VWVNCJTZ.js → chunk-O3KPS3EW.js} +2 -2
- package/__chunks__/{chunk-5GSNLDLB.js → chunk-O7APSK3I.js} +2 -2
- package/__chunks__/{chunk-XJ6T2WMN.js → chunk-OATPA4AW.js} +2 -2
- package/__chunks__/{chunk-NEM3G7WO.js → chunk-OAZMYZ53.js} +2 -2
- package/__chunks__/{chunk-7T7664SV.js → chunk-ODSJT5NQ.js} +2 -2
- package/__chunks__/chunk-OED6P55Y.js +2 -0
- package/__chunks__/{chunk-65PPENSV.js → chunk-OEIKXOFV.js} +2 -2
- package/__chunks__/{chunk-YQXTH5D6.js → chunk-OI7IAN5E.js} +2 -2
- package/__chunks__/{chunk-PMMUJLQG.js → chunk-OJOQFS3E.js} +2 -2
- package/__chunks__/{chunk-2BIWREW6.js → chunk-OM47MH4M.js} +2 -2
- package/__chunks__/{chunk-N6HDMU5M.js → chunk-ONRKKLQU.js} +2 -2
- package/__chunks__/{chunk-A2ONZHVS.js → chunk-OOZOBKDB.js} +2 -2
- package/__chunks__/{chunk-4457BI63.js → chunk-ORIEDHD5.js} +2 -2
- package/__chunks__/{chunk-SOQC6HJA.js → chunk-OTQ66UMA.js} +2 -2
- package/__chunks__/chunk-OWZHV5OS.js +2 -0
- package/__chunks__/{chunk-5UQAKYVP.js → chunk-P377UY6X.js} +2 -2
- package/__chunks__/chunk-P3K72YIC.js +2 -0
- package/__chunks__/{chunk-OGWYGGMN.js → chunk-PGI3HWZT.js} +2 -2
- package/__chunks__/{chunk-U6LS67ZQ.js → chunk-PGTE4IFS.js} +2 -2
- package/__chunks__/{chunk-YHOBGXCH.js → chunk-PHEZSH4P.js} +2 -2
- package/__chunks__/{chunk-5YN22WYH.js → chunk-PHSSZQ44.js} +2 -2
- package/__chunks__/{chunk-JJBEHP4L.js → chunk-PJTXIIBZ.js} +2 -2
- package/__chunks__/{chunk-SCPSK6TN.js → chunk-PPVA32CL.js} +2 -2
- package/__chunks__/{chunk-Q3EUABYG.js → chunk-PQRVIPXW.js} +2 -2
- package/__chunks__/{chunk-HFIVC2UM.js → chunk-PXVLTF5X.js} +2 -2
- package/__chunks__/{chunk-5W32QSKM.js → chunk-PZURKVD5.js} +2 -2
- package/__chunks__/{chunk-IIFU62NI.js → chunk-Q2XDBD6A.js} +2 -2
- package/__chunks__/{chunk-7DLTGKRV.js → chunk-QAIY2UZX.js} +2 -2
- package/__chunks__/{chunk-XYDFXUAR.js → chunk-QAPSE6Y6.js} +2 -2
- package/__chunks__/chunk-QCIGDXG3.js +2 -0
- package/__chunks__/{chunk-C37UNTQN.js → chunk-QPKSPNTH.js} +2 -2
- package/__chunks__/chunk-QW2VQDCZ.js +2 -0
- package/__chunks__/{chunk-6NIZNBNM.js → chunk-QZDT6YCJ.js} +2 -2
- package/__chunks__/{chunk-FHFXCFLE.js → chunk-R5G3SUVJ.js} +2 -2
- package/__chunks__/chunk-R6WDAZIP.js +2 -0
- package/__chunks__/{chunk-S5UHCDVF.js → chunk-RBMVD24Y.js} +2 -2
- package/__chunks__/{chunk-NFOA4B6H.js → chunk-RCJZDFZB.js} +2 -2
- package/__chunks__/{chunk-WDL6JEMG.js → chunk-RD7SNYUQ.js} +2 -2
- package/__chunks__/{chunk-XPE5PLMX.js → chunk-RE2LZ4TU.js} +2 -2
- package/__chunks__/chunk-RJYQXWNJ.js +2 -0
- package/__chunks__/{chunk-BWKCZR4C.js → chunk-RLGYXZS6.js} +2 -2
- package/__chunks__/chunk-RMRL3KGY.js +2 -0
- package/__chunks__/chunk-RSGN4FBO.js +2 -0
- package/__chunks__/{chunk-5O4TG7ZI.js → chunk-RU5D5ZGX.js} +2 -2
- package/__chunks__/{chunk-X4Q27JMT.js → chunk-RVNC4JAG.js} +2 -2
- package/__chunks__/chunk-S7OMH77I.js +2 -0
- package/__chunks__/{chunk-JIQGQD5U.js → chunk-S7WMRQWV.js} +2 -2
- package/__chunks__/{chunk-GORJOVEW.js → chunk-SNCIM33Q.js} +2 -2
- package/__chunks__/{chunk-EHQBVPW4.js → chunk-SQ5TV72G.js} +2 -2
- package/__chunks__/{chunk-GT3YUGZ3.js → chunk-SS52P6M7.js} +2 -2
- package/__chunks__/chunk-ST4LHJC5.js +2 -0
- package/__chunks__/{chunk-WT3Z4A7Y.js → chunk-SUDVFATY.js} +2 -2
- package/__chunks__/{chunk-FKQMGF46.js → chunk-T2B3BR5O.js} +2 -2
- package/__chunks__/{chunk-7QTI344B.js → chunk-T654YWWH.js} +2 -2
- package/__chunks__/{chunk-HLZLDBWI.js → chunk-T6L5FAHK.js} +2 -2
- package/__chunks__/{chunk-VE2P7VQH.js → chunk-TCOX6DRI.js} +2 -2
- package/__chunks__/{chunk-576QSX3F.js → chunk-TDGUYEOE.js} +2 -2
- package/__chunks__/chunk-TEGVCH2O.js +2 -0
- package/__chunks__/{chunk-QFJIF2CR.js → chunk-TJJLKTNG.js} +2 -2
- package/__chunks__/{chunk-MSS74AB5.js → chunk-TJKNJFY5.js} +2 -2
- package/__chunks__/{chunk-VB3B2QQ4.js → chunk-TMULEZ64.js} +2 -2
- package/__chunks__/{chunk-TLSAC33Z.js → chunk-TPWHU5NB.js} +2 -2
- package/__chunks__/chunk-TUKRMYV5.js +2 -0
- package/__chunks__/{chunk-N37BWQ4G.js → chunk-U5X7WSPV.js} +2 -2
- package/__chunks__/{chunk-M5TYJDCN.js → chunk-U6D4AWI4.js} +2 -2
- package/__chunks__/{chunk-2VKBATFC.js → chunk-UKLHJFJ5.js} +2 -2
- package/__chunks__/chunk-ULTSXR6Y.js +2 -0
- package/__chunks__/{chunk-PBJKDSYG.js → chunk-UM5W77A3.js} +2 -2
- package/__chunks__/{chunk-W2ZZNWC5.js → chunk-UUBQCXBB.js} +2 -2
- package/__chunks__/{chunk-75KQVCVR.js → chunk-UVILNCF4.js} +2 -2
- package/__chunks__/{chunk-356HANJB.js → chunk-UXESUXNK.js} +2 -2
- package/__chunks__/{chunk-55KTNEYW.js → chunk-V2WHM4BA.js} +2 -2
- package/__chunks__/{chunk-Y52MC3RT.js → chunk-VAPCAFT4.js} +2 -2
- package/__chunks__/{chunk-OMXEIFAK.js → chunk-VHQ4EVD4.js} +2 -2
- package/__chunks__/{chunk-J2WKHDPM.js → chunk-VK4MZEDG.js} +2 -2
- package/__chunks__/{chunk-IRDHBHNK.js → chunk-VMKFSMO4.js} +2 -2
- package/__chunks__/{chunk-HKJE44QV.js → chunk-WCIFIUZE.js} +2 -2
- package/__chunks__/{chunk-NJXGWCMJ.js → chunk-WH7L7T6V.js} +2 -2
- package/__chunks__/{chunk-N3AJZQYX.js → chunk-WKSPSSEF.js} +2 -2
- package/__chunks__/{chunk-OREYHBW7.js → chunk-WPH6ATC4.js} +2 -2
- package/__chunks__/{chunk-4U3E3OJ7.js → chunk-WPLCXSNZ.js} +2 -2
- package/__chunks__/chunk-WRMGJOCY.js +2 -0
- package/__chunks__/{chunk-R23WFSZD.js → chunk-WUZFADMR.js} +2 -2
- package/__chunks__/{chunk-FIHCBVLJ.js → chunk-WZKMCXVL.js} +2 -2
- package/__chunks__/{chunk-AYYYBNJV.js → chunk-X25S5BBS.js} +2 -2
- package/__chunks__/{chunk-MOOJB4AB.js → chunk-X6INL2M6.js} +2 -2
- package/__chunks__/{chunk-OORSMYBO.js → chunk-XNF7Z2HR.js} +2 -2
- package/__chunks__/{chunk-DULN7HCS.js → chunk-XOYZW4B7.js} +2 -2
- package/__chunks__/{chunk-N4R7DR77.js → chunk-XQA4HAAO.js} +2 -2
- package/__chunks__/{chunk-HPGKW4CV.js → chunk-Y2J7LIXM.js} +2 -2
- package/__chunks__/{chunk-IZA5DQIQ.js → chunk-Y4IQWQCY.js} +2 -2
- package/__chunks__/{chunk-DCME2IM5.js → chunk-Y5PO4ZOE.js} +2 -2
- package/__chunks__/{chunk-V3JCWVYA.js → chunk-YB5Z5Y5M.js} +2 -2
- package/__chunks__/{chunk-ATUKWUUB.js → chunk-YDAO3S22.js} +2 -2
- package/__chunks__/{chunk-U6VIUVR5.js → chunk-YEGRFVN4.js} +2 -2
- package/__chunks__/{chunk-MCFAMOQ7.js → chunk-YFG4Z4Z7.js} +2 -2
- package/__chunks__/{chunk-6426OSMA.js → chunk-YNT7HWVJ.js} +2 -2
- package/__chunks__/{chunk-SCAN7L4Y.js → chunk-YREBU5BK.js} +2 -2
- package/__chunks__/{chunk-GU6FVEWB.js → chunk-YSKO67VR.js} +2 -2
- package/__chunks__/{chunk-SCEL3ANM.js → chunk-YUWKCWNN.js} +2 -2
- package/__chunks__/{chunk-YLABFZVE.js → chunk-YX47Z3MR.js} +2 -2
- package/__chunks__/{chunk-TRLQ7VMI.js → chunk-YYBKPR4R.js} +2 -2
- package/__chunks__/{chunk-5EQHY6UM.js → chunk-Z36JG2J3.js} +2 -2
- package/__chunks__/{chunk-2RENDAL5.js → chunk-ZBSCDOHZ.js} +2 -2
- package/__chunks__/{chunk-AFMEBSOJ.js → chunk-ZDDGAESU.js} +2 -2
- package/__chunks__/chunk-ZEK3YWRC.js +2 -0
- package/__chunks__/{chunk-4ELVGMFO.js → chunk-ZFJ44PY4.js} +2 -2
- package/__chunks__/{chunk-QR4JKUZ4.js → chunk-ZIK4QU7C.js} +2 -2
- package/__chunks__/{chunk-HVCLDV6Z.js → chunk-ZL22I3BD.js} +2 -2
- package/__chunks__/chunk-ZMBFD6KV.js +2 -0
- package/__chunks__/{chunk-CR34CUKL.js → chunk-ZOTCSGOF.js} +2 -2
- package/__chunks__/{chunk-UKK6RI4T.js → chunk-ZQLHAGN7.js} +2 -2
- package/__chunks__/{chunk-SDHHUL44.js → chunk-ZWBWZAUF.js} +2 -2
- package/__chunks__/{chunk-3O2B3U34.js → chunk-ZWR5P7II.js} +2 -2
- package/__chunks__/{chunk-FXLAETSR.js → chunk-ZYLRGT3G.js} +2 -2
- package/__chunks__/{chunk-36RILQOC.js → chunk-ZZ33WXFF.js} +2 -2
- package/__commonjs/UI/SignTransactionsModals/SignTransactionsModals.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignWithDeviceModal.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/ConfirmAmount.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/index.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/index.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/SignWithExtraModal.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/SignWithLedgerModal.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/index.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithMetamaskModal/SignWithMetamaskModal.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithMetamaskModal/index.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/components/index.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/index.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/OperationsList/components/OperationText.js +3 -3
- package/__commonjs/UI/TransactionsTable/components/TransactionHash.js +2 -2
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/IconToastFooter.js +1 -1
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/index.js +1 -1
- package/__commonjs/UI/index.js +1 -1
- package/__commonjs/__mocks__/index.js +1 -1
- package/__commonjs/__mocks__/utils/index.js +1 -1
- package/__commonjs/__mocks__/utils/renderWithProvider.js +1 -1
- package/__commonjs/constants/index.js +1 -1
- package/__commonjs/hooks/index.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/experimentalWebViewProvider/useInitiateExperimentalWebviewLogin.js +1 -1
- package/__commonjs/utils/index.js +1 -1
- package/__commonjs/utils/transactions/builtCallbackUrl.js +1 -1
- package/__commonjs/utils/transactions/index.js +1 -1
- package/__commonjs/wrappers/DappProvider/DappProvider.js +1 -1
- package/__commonjs/wrappers/DappProvider/index.js +1 -1
- package/__commonjs/wrappers/index.js +1 -1
- package/__mocks__/index.js +1 -1
- package/__mocks__/utils/index.js +1 -1
- package/__mocks__/utils/renderWithProvider.js +1 -1
- package/apiCalls/accounts/getAccountFromApi.js +1 -1
- package/apiCalls/accounts/index.js +1 -1
- package/apiCalls/accounts/useGetAccountFromApi.js +1 -1
- package/apiCalls/configuration/getGasStationMetadata.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/handleGuardianWarning.js +1 -1
- package/components/ProviderInitializer/helpers/index.js +1 -1
- package/components/ProviderInitializer/helpers/processModifiedAccount.js +1 -1
- package/components/ProviderInitializer/hooks/index.js +1 -1
- package/components/ProviderInitializer/hooks/useSetLedgerProvider.js +1 -1
- package/components/ProviderInitializer/index.js +1 -1
- package/components/TransactionSender/TransactionSender.js +1 -1
- package/components/TransactionSender/index.js +1 -1
- package/components/TransactionSender/utils/handleSendBatchTransactionsErrors.js +1 -1
- package/components/TransactionSender/utils/handleSendTransactionsErrors.js +1 -1
- package/components/TransactionSender/utils/invokeSendTransactions.js +1 -1
- package/components/TransactionsTracker/TransactionTracker.js +1 -1
- package/components/TransactionsTracker/index.js +1 -1
- package/constants/index.js +1 -1
- package/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/useVerifyBatchStatus.js +1 -1
- package/hooks/transactions/batch/useGetBatchStatus.js +1 -1
- package/hooks/transactions/batch/useGetBatches.js +1 -1
- package/hooks/transactions/batch/useResolveBatchStatusResponse.js +1 -1
- package/hooks/transactions/batch/useSendBatchTransactions.js +1 -1
- package/hooks/transactions/helpers/buildBatchId.js +1 -1
- package/hooks/transactions/helpers/checkNeedsGuardianSigning.js +1 -1
- package/hooks/transactions/helpers/extractSessionId.js +1 -1
- package/hooks/transactions/helpers/getShouldMoveTransactionsToSignedState.js +1 -1
- package/hooks/transactions/helpers/index.js +1 -1
- package/hooks/transactions/helpers/useClearTransactionsToSignWithWarning.js +1 -1
- package/hooks/transactions/helpers/useGetLedgerProvider.js +1 -1
- package/hooks/transactions/helpers/useSetTransactionNonces.js +1 -1
- package/hooks/transactions/index.js +1 -1
- package/hooks/transactions/useCancelActionAndDispose.js +1 -1
- package/hooks/transactions/useCancelWalletConnectAction.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/checkBatch.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/index.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/manageFailedTransactions.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/manageTimedOutTransactions.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/useCheckTransactionStatus.js +1 -1
- package/hooks/transactions/useGetActiveTransactionsStatus.js +1 -1
- package/hooks/transactions/useGetFailedTransactions.js +1 -1
- package/hooks/transactions/useGetLastPendingTransactionHash.js +1 -1
- package/hooks/transactions/useGetPendingTransactions.js +1 -1
- package/hooks/transactions/useGetPollingInterval.js +1 -1
- package/hooks/transactions/useGetSignTransactionsError.js +1 -1
- package/hooks/transactions/useGetSignedTransactions.js +1 -1
- package/hooks/transactions/useGetSuccessfulTransactions.js +1 -1
- package/hooks/transactions/useGetTokenDetails.js +1 -1
- package/hooks/transactions/useGetTransactionDisplayInfo.js +1 -1
- package/hooks/transactions/useParseSignedTransactions.js +1 -1
- package/hooks/transactions/useSignMultipleTransactions.js +1 -1
- package/hooks/transactions/useSignTransactions.js +1 -1
- package/hooks/transactions/useSignTransactionsCommonData.js +1 -1
- package/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
- package/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
- package/hooks/transactions/useTrackTransactionStatus.js +1 -1
- package/hooks/transactions/useTransactionsTracker/index.js +1 -1
- package/hooks/transactions/useTransactionsTracker/useCheckHangingTransactionsFallback.js +1 -1
- package/hooks/transactions/useTransactionsTracker/useCheckTransactionOnWsFailureFallback.js +1 -1
- package/hooks/transactions/useTransactionsTracker/useTransactionsTracker.js +1 -1
- package/hooks/transactions/useTransactionsTracker/useUpdateTrackedTransactions.js +1 -1
- package/hooks/transactions/useTransactionsTracker/useWebsocketPollingFallback.js +1 -1
- package/hooks/useGetNetworkConfig.js +1 -1
- package/hooks/useGetNotification.js +1 -1
- package/hooks/websocketListener/index.js +1 -1
- package/hooks/websocketListener/useInitializeWebsocketConnection.js +1 -1
- package/hooks/websocketListener/useRegisterWebsocketListener.js +1 -1
- package/models/index.js +1 -1
- package/models/newTransaction.js +1 -1
- package/package.json +3 -3
- package/providers/accountProvider.js +1 -1
- package/providers/experimentalWebViewProvider/ExperimentalWebviewProvider.js +1 -1
- package/providers/experimentalWebViewProvider/index.js +1 -1
- package/providers/experimentalWebViewProvider/useInitiateExperimentalWebviewLogin.js +1 -1
- package/providers/index.js +1 -1
- package/providers/utils.js +1 -1
- package/providers/webviewProvider/index.js +1 -1
- package/providers/webviewProvider/requestMethods.js +1 -1
- package/providers/webviewProvider/webviewProvider.js +1 -1
- package/reduxStore/DappProviderContext.js +1 -1
- package/reduxStore/commonActions.js +1 -1
- package/reduxStore/middlewares/loginSessionMiddleware.js +1 -1
- package/reduxStore/persistConfig.js +1 -1
- package/reduxStore/persistedRootReducer.js +1 -1
- package/reduxStore/reducers.js +1 -1
- package/reduxStore/rootReducer.js +1 -1
- package/reduxStore/selectors/accountInfoSelectors.js +1 -1
- package/reduxStore/selectors/index.js +1 -1
- package/reduxStore/selectors/loginInfoSelectors.js +1 -1
- package/reduxStore/selectors/transactionsInfoSelectors.js +1 -1
- package/reduxStore/selectors/transactionsSelectors.js +1 -1
- package/reduxStore/slices/accountInfoSlice.js +1 -1
- package/reduxStore/slices/batchTransactionsSlice.js +1 -1
- package/reduxStore/slices/dappConfigSlice.js +1 -1
- package/reduxStore/slices/index.js +1 -1
- package/reduxStore/slices/loginInfoSlice.js +1 -1
- package/reduxStore/slices/modalsSlice.js +1 -1
- package/reduxStore/slices/networkConfigSlice.js +1 -1
- package/reduxStore/slices/signedMessageInfoSlice.js +1 -1
- package/reduxStore/slices/toastsSlice.js +1 -1
- package/reduxStore/slices/transactionsInfoSlice.js +1 -1
- package/reduxStore/slices/transactionsSlice.js +1 -1
- package/reduxStore/store.js +1 -1
- package/services/index.js +1 -1
- package/services/nativeAuth/helpers/getAuthorizationInfo.js +1 -1
- package/services/nativeAuth/helpers/getIsNativeAuthSingingForbidden.js +1 -1
- package/services/nativeAuth/helpers/index.js +1 -1
- package/services/nativeAuth/helpers/loginWithNativeAuthToken.js +1 -1
- package/services/transactions/__tests__/transformAndSignTransactions.test.js +1 -1
- package/services/transactions/clearTransactions.js +1 -1
- package/services/transactions/getBatchTransactionsStatus.js +1 -1
- package/services/transactions/getTransactionsDetails.js +1 -1
- package/services/transactions/index.js +1 -1
- package/services/transactions/isCrossShardTransaction.js +1 -1
- package/services/transactions/sendBatchTransactions.js +1 -1
- package/services/transactions/sendBatchTransactions.test.js +1 -1
- package/services/transactions/sendTransactions.js +1 -1
- package/services/transactions/signTransactions.js +1 -1
- package/services/transactions/transformAndSignTransactions.js +1 -1
- package/services/transactions/updateSignedTransactions.js +1 -1
- package/services/transactions/utils/transformTransactionsToSign.js +1 -1
- package/services/transactions/utils.js +1 -1
- package/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-23WLNK6Y.js +0 -2
- package/__chunks__/chunk-2EW62C7H.js +0 -2
- package/__chunks__/chunk-354USFJ4.js +0 -2
- package/__chunks__/chunk-3F6GRL77.js +0 -2
- package/__chunks__/chunk-3S5ZIXNS.js +0 -2
- package/__chunks__/chunk-427UKDKM.js +0 -2
- package/__chunks__/chunk-4EDQALSR.js +0 -2
- package/__chunks__/chunk-54WNAEPD.js +0 -2
- package/__chunks__/chunk-5DTPPV7F.js +0 -2
- package/__chunks__/chunk-65R5LQKT.js +0 -2
- package/__chunks__/chunk-6VTCRLX4.js +0 -2
- package/__chunks__/chunk-6YT4X3YQ.js +0 -2
- package/__chunks__/chunk-7MJWG4U2.js +0 -2
- package/__chunks__/chunk-ACDZ2OYQ.js +0 -2
- package/__chunks__/chunk-BNYUWV2Z.js +0 -2
- package/__chunks__/chunk-BUFKNESY.js +0 -2
- package/__chunks__/chunk-BXDF2MG3.js +0 -2
- package/__chunks__/chunk-D34QT7I7.js +0 -2
- package/__chunks__/chunk-DCLJOGII.js +0 -2
- package/__chunks__/chunk-DW2A5ODN.js +0 -2
- package/__chunks__/chunk-ED4CRGJN.js +0 -2
- package/__chunks__/chunk-EJJIRLTM.js +0 -2
- package/__chunks__/chunk-ERIR756P.js +0 -2
- package/__chunks__/chunk-ETN4H3WV.js +0 -2
- package/__chunks__/chunk-EZSBYRJD.js +0 -2
- package/__chunks__/chunk-GCCVJMXL.js +0 -2
- package/__chunks__/chunk-H3N3E4DK.js +0 -2
- package/__chunks__/chunk-HXLBOMKW.js +0 -2
- package/__chunks__/chunk-HZQWPGL2.js +0 -2
- package/__chunks__/chunk-I43D74LW.js +0 -2
- package/__chunks__/chunk-IC4GGM7H.js +0 -2
- package/__chunks__/chunk-IFFHOBVM.js +0 -2
- package/__chunks__/chunk-IO34FEOT.js +0 -2
- package/__chunks__/chunk-IWCWJMVY.js +0 -2
- package/__chunks__/chunk-JRUDNFRC.js +0 -2
- package/__chunks__/chunk-LC7E3OJQ.js +0 -2
- package/__chunks__/chunk-LNFQW2WQ.js +0 -2
- package/__chunks__/chunk-M5CU5LEA.js +0 -2
- package/__chunks__/chunk-MAGSAWPA.js +0 -2
- package/__chunks__/chunk-MX23I7JQ.js +0 -2
- package/__chunks__/chunk-NVBVXPZH.js +0 -2
- package/__chunks__/chunk-NVKBCGNE.js +0 -2
- package/__chunks__/chunk-ORH4N4G3.js +0 -2
- package/__chunks__/chunk-QDYG46YJ.js +0 -2
- package/__chunks__/chunk-QFAD7GA7.js +0 -2
- package/__chunks__/chunk-QRS2KXPN.js +0 -2
- package/__chunks__/chunk-SUSYX6KS.js +0 -2
- package/__chunks__/chunk-SYFTBAXT.js +0 -2
- package/__chunks__/chunk-T6D3E2XW.js +0 -2
- package/__chunks__/chunk-TBO3EJMA.js +0 -2
- package/__chunks__/chunk-UGNASGPF.js +0 -2
- package/__chunks__/chunk-V3AC5FUL.js +0 -2
- package/__chunks__/chunk-VJWD4AQD.js +0 -2
- package/__chunks__/chunk-W7VK3GXD.js +0 -2
- package/__chunks__/chunk-WMLVXXKW.js +0 -2
- package/__chunks__/chunk-WO6JRNRZ.js +0 -2
- package/__chunks__/chunk-WWTWJLS6.js +0 -2
- package/__chunks__/chunk-YIYZNEHK.js +0 -2
- package/__chunks__/chunk-YJCLNZMD.js +0 -2
- package/__chunks__/chunk-ZASEWFD6.js +0 -2
- package/__chunks__/chunk-ZPQOOAEV.js +0 -2
- package/__chunks__/chunk-ZQJ4MWZI.js +0 -2
- package/__chunks__/chunk-ZTG3GT5P.js +0 -2
package/__commonjs/providers/experimentalWebViewProvider/useInitiateExperimentalWebviewLogin.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var Ds=Object.create;var Ce=Object.defineProperty,_s=Object.defineProperties,Os=Object.getOwnPropertyDescriptor,Ms=Object.getOwnPropertyDescriptors,Bs=Object.getOwnPropertyNames,Je=Object.getOwnPropertySymbols,Fs=Object.getPrototypeOf,Xt=Object.prototype.hasOwnProperty,Qr=Object.prototype.propertyIsEnumerable;var Jr=(e,t,r)=>t in e?Ce(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,g=(e,t)=>{for(var r in t||(t={}))Xt.call(t,r)&&Jr(e,r,t[r]);if(Je)for(var r of Je(t))Qr.call(t,r)&&Jr(e,r,t[r]);return e},v=(e,t)=>_s(e,Ms(t));var en=(e,t)=>{var r={};for(var o in e)Xt.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(e!=null&&Je)for(var o of Je(e))t.indexOf(o)<0&&Qr.call(e,o)&&(r[o]=e[o]);return r};var f=(e,t)=>()=>(e&&(t=e(e=0)),t);var U=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),de=(e,t)=>{for(var r in t)Ce(e,r,{get:t[r],enumerable:!0})},tn=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Bs(t))!Xt.call(e,i)&&i!==r&&Ce(e,i,{get:()=>t[i],enumerable:!(o=Os(t,i))||o.enumerable});return e};var A=(e,t,r)=>(r=e!=null?Ds(Fs(e)):{},tn(t||!e||!e.__esModule?Ce(r,"default",{value:e,enumerable:!0}):r,e)),De=e=>tn(Ce({},"__esModule",{value:!0}),e);var S=(e,t,r)=>new Promise((o,i)=>{var l=m=>{try{d(r.next(m))}catch(T){i(T)}},p=m=>{try{d(r.throw(m))}catch(T){i(T)}},d=m=>m.done?o(m.value):Promise.resolve(m.value).then(l,p);d((r=r.apply(e,t)).next())});var on=U(Qe=>{"use strict";n();Qe.byteLength=Ws;Qe.toByteArray=Gs;Qe.fromByteArray=qs;var Y=[],W=[],Us=typeof Uint8Array!="undefined"?Uint8Array:Array,Zt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(me=0,rn=Zt.length;me<rn;++me)Y[me]=Zt[me],W[Zt.charCodeAt(me)]=me;var me,rn;W["-".charCodeAt(0)]=62;W["_".charCodeAt(0)]=63;function nn(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");r===-1&&(r=t);var o=r===t?0:4-r%4;return[r,o]}function Ws(e){var t=nn(e),r=t[0],o=t[1];return(r+o)*3/4-o}function Vs(e,t,r){return(t+r)*3/4-r}function Gs(e){var t,r=nn(e),o=r[0],i=r[1],l=new Us(Vs(e,o,i)),p=0,d=i>0?o-4:o,m;for(m=0;m<d;m+=4)t=W[e.charCodeAt(m)]<<18|W[e.charCodeAt(m+1)]<<12|W[e.charCodeAt(m+2)]<<6|W[e.charCodeAt(m+3)],l[p++]=t>>16&255,l[p++]=t>>8&255,l[p++]=t&255;return i===2&&(t=W[e.charCodeAt(m)]<<2|W[e.charCodeAt(m+1)]>>4,l[p++]=t&255),i===1&&(t=W[e.charCodeAt(m)]<<10|W[e.charCodeAt(m+1)]<<4|W[e.charCodeAt(m+2)]>>2,l[p++]=t>>8&255,l[p++]=t&255),l}function $s(e){return Y[e>>18&63]+Y[e>>12&63]+Y[e>>6&63]+Y[e&63]}function Hs(e,t,r){for(var o,i=[],l=t;l<r;l+=3)o=(e[l]<<16&16711680)+(e[l+1]<<8&65280)+(e[l+2]&255),i.push($s(o));return i.join("")}function qs(e){for(var t,r=e.length,o=r%3,i=[],l=16383,p=0,d=r-o;p<d;p+=l)i.push(Hs(e,p,p+l>d?d:p+l));return o===1?(t=e[r-1],i.push(Y[t>>2]+Y[t<<4&63]+"==")):o===2&&(t=(e[r-2]<<8)+e[r-1],i.push(Y[t>>10]+Y[t>>4&63]+Y[t<<2&63]+"=")),i.join("")}});var sn=U(Jt=>{n();Jt.read=function(e,t,r,o,i){var l,p,d=i*8-o-1,m=(1<<d)-1,T=m>>1,x=-7,h=r?i-1:0,w=r?-1:1,k=e[t+h];for(h+=w,l=k&(1<<-x)-1,k>>=-x,x+=d;x>0;l=l*256+e[t+h],h+=w,x-=8);for(p=l&(1<<-x)-1,l>>=-x,x+=o;x>0;p=p*256+e[t+h],h+=w,x-=8);if(l===0)l=1-T;else{if(l===m)return p?NaN:(k?-1:1)*(1/0);p=p+Math.pow(2,o),l=l-T}return(k?-1:1)*p*Math.pow(2,l-o)};Jt.write=function(e,t,r,o,i,l){var p,d,m,T=l*8-i-1,x=(1<<T)-1,h=x>>1,w=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,k=o?0:l-1,b=o?1:-1,E=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(d=isNaN(t)?1:0,p=x):(p=Math.floor(Math.log(t)/Math.LN2),t*(m=Math.pow(2,-p))<1&&(p--,m*=2),p+h>=1?t+=w/m:t+=w*Math.pow(2,1-h),t*m>=2&&(p++,m/=2),p+h>=x?(d=0,p=x):p+h>=1?(d=(t*m-1)*Math.pow(2,i),p=p+h):(d=t*Math.pow(2,h-1)*Math.pow(2,i),p=0));i>=8;e[r+k]=d&255,k+=b,d/=256,i-=8);for(p=p<<i|d,T+=i;T>0;e[r+k]=p&255,k+=b,p/=256,T-=8);e[r+k-b]|=E*128}});var xn=U(Ie=>{"use strict";n();var Qt=on(),ve=sn(),an=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Ie.Buffer=u;Ie.SlowBuffer=Zs;Ie.INSPECT_MAX_BYTES=50;var et=2147483647;Ie.kMaxLength=et;u.TYPED_ARRAY_SUPPORT=js();!u.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function js(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),e.foo()===42}catch(r){return!1}}Object.defineProperty(u.prototype,"parent",{enumerable:!0,get:function(){if(!!u.isBuffer(this))return this.buffer}});Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(!!u.isBuffer(this))return this.byteOffset}});function re(e){if(e>et)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,u.prototype),t}function u(e,t,r){if(typeof e=="number"){if(typeof t=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return nr(e)}return pn(e,t,r)}u.poolSize=8192;function pn(e,t,r){if(typeof e=="string")return Ks(e,t);if(ArrayBuffer.isView(e))return Ys(e);if(e==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(X(e,ArrayBuffer)||e&&X(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(X(e,SharedArrayBuffer)||e&&X(e.buffer,SharedArrayBuffer)))return tr(e,t,r);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var o=e.valueOf&&e.valueOf();if(o!=null&&o!==e)return u.from(o,t,r);var i=Xs(e);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return u.from(e[Symbol.toPrimitive]("string"),t,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}u.from=function(e,t,r){return pn(e,t,r)};Object.setPrototypeOf(u.prototype,Uint8Array.prototype);Object.setPrototypeOf(u,Uint8Array);function un(e){if(typeof e!="number")throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function zs(e,t,r){return un(e),e<=0?re(e):t!==void 0?typeof r=="string"?re(e).fill(t,r):re(e).fill(t):re(e)}u.alloc=function(e,t,r){return zs(e,t,r)};function nr(e){return un(e),re(e<0?0:or(e)|0)}u.allocUnsafe=function(e){return nr(e)};u.allocUnsafeSlow=function(e){return nr(e)};function Ks(e,t){if((typeof t!="string"||t==="")&&(t="utf8"),!u.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=dn(e,t)|0,o=re(r),i=o.write(e,t);return i!==r&&(o=o.slice(0,i)),o}function er(e){for(var t=e.length<0?0:or(e.length)|0,r=re(t),o=0;o<t;o+=1)r[o]=e[o]&255;return r}function Ys(e){if(X(e,Uint8Array)){var t=new Uint8Array(e);return tr(t.buffer,t.byteOffset,t.byteLength)}return er(e)}function tr(e,t,r){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw new RangeError('"length" is outside of buffer bounds');var o;return t===void 0&&r===void 0?o=new Uint8Array(e):r===void 0?o=new Uint8Array(e,t):o=new Uint8Array(e,t,r),Object.setPrototypeOf(o,u.prototype),o}function Xs(e){if(u.isBuffer(e)){var t=or(e.length)|0,r=re(t);return r.length===0||e.copy(r,0,0,t),r}if(e.length!==void 0)return typeof e.length!="number"||ir(e.length)?re(0):er(e);if(e.type==="Buffer"&&Array.isArray(e.data))return er(e.data)}function or(e){if(e>=et)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+et.toString(16)+" bytes");return e|0}function Zs(e){return+e!=e&&(e=0),u.alloc(+e)}u.isBuffer=function(t){return t!=null&&t._isBuffer===!0&&t!==u.prototype};u.compare=function(t,r){if(X(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),X(r,Uint8Array)&&(r=u.from(r,r.offset,r.byteLength)),!u.isBuffer(t)||!u.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===r)return 0;for(var o=t.length,i=r.length,l=0,p=Math.min(o,i);l<p;++l)if(t[l]!==r[l]){o=t[l],i=r[l];break}return o<i?-1:i<o?1:0};u.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};u.concat=function(t,r){if(!Array.isArray(t))throw new TypeError('"list" argument must be an Array of Buffers');if(t.length===0)return u.alloc(0);var o;if(r===void 0)for(r=0,o=0;o<t.length;++o)r+=t[o].length;var i=u.allocUnsafe(r),l=0;for(o=0;o<t.length;++o){var p=t[o];if(X(p,Uint8Array))l+p.length>i.length?u.from(p).copy(i,l):Uint8Array.prototype.set.call(i,p,l);else if(u.isBuffer(p))p.copy(i,l);else throw new TypeError('"list" argument must be an Array of Buffers');l+=p.length}return i};function dn(e,t){if(u.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||X(e,ArrayBuffer))return e.byteLength;if(typeof e!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,o=arguments.length>2&&arguments[2]===!0;if(!o&&r===0)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return rr(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return hn(e).length;default:if(i)return o?-1:rr(e).length;t=(""+t).toLowerCase(),i=!0}}u.byteLength=dn;function Js(e,t,r){var o=!1;if((t===void 0||t<0)&&(t=0),t>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,t>>>=0,r<=t))return"";for(e||(e="utf8");;)switch(e){case"hex":return ca(this,t,r);case"utf8":case"utf-8":return gn(this,t,r);case"ascii":return sa(this,t,r);case"latin1":case"binary":return aa(this,t,r);case"base64":return oa(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return la(this,t,r);default:if(o)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),o=!0}}u.prototype._isBuffer=!0;function ge(e,t,r){var o=e[t];e[t]=e[r],e[r]=o}u.prototype.swap16=function(){var t=this.length;if(t%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<t;r+=2)ge(this,r,r+1);return this};u.prototype.swap32=function(){var t=this.length;if(t%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<t;r+=4)ge(this,r,r+3),ge(this,r+1,r+2);return this};u.prototype.swap64=function(){var t=this.length;if(t%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<t;r+=8)ge(this,r,r+7),ge(this,r+1,r+6),ge(this,r+2,r+5),ge(this,r+3,r+4);return this};u.prototype.toString=function(){var t=this.length;return t===0?"":arguments.length===0?gn(this,0,t):Js.apply(this,arguments)};u.prototype.toLocaleString=u.prototype.toString;u.prototype.equals=function(t){if(!u.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t?!0:u.compare(this,t)===0};u.prototype.inspect=function(){var t="",r=Ie.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"};an&&(u.prototype[an]=u.prototype.inspect);u.prototype.compare=function(t,r,o,i,l){if(X(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),!u.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(r===void 0&&(r=0),o===void 0&&(o=t?t.length:0),i===void 0&&(i=0),l===void 0&&(l=this.length),r<0||o>t.length||i<0||l>this.length)throw new RangeError("out of range index");if(i>=l&&r>=o)return 0;if(i>=l)return-1;if(r>=o)return 1;if(r>>>=0,o>>>=0,i>>>=0,l>>>=0,this===t)return 0;for(var p=l-i,d=o-r,m=Math.min(p,d),T=this.slice(i,l),x=t.slice(r,o),h=0;h<m;++h)if(T[h]!==x[h]){p=T[h],d=x[h];break}return p<d?-1:d<p?1:0};function mn(e,t,r,o,i){if(e.length===0)return-1;if(typeof r=="string"?(o=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,ir(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof t=="string"&&(t=u.from(t,o)),u.isBuffer(t))return t.length===0?-1:cn(e,t,r,o,i);if(typeof t=="number")return t=t&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):cn(e,[t],r,o,i);throw new TypeError("val must be string, number or Buffer")}function cn(e,t,r,o,i){var l=1,p=e.length,d=t.length;if(o!==void 0&&(o=String(o).toLowerCase(),o==="ucs2"||o==="ucs-2"||o==="utf16le"||o==="utf-16le")){if(e.length<2||t.length<2)return-1;l=2,p/=2,d/=2,r/=2}function m(k,b){return l===1?k[b]:k.readUInt16BE(b*l)}var T;if(i){var x=-1;for(T=r;T<p;T++)if(m(e,T)===m(t,x===-1?0:T-x)){if(x===-1&&(x=T),T-x+1===d)return x*l}else x!==-1&&(T-=T-x),x=-1}else for(r+d>p&&(r=p-d),T=r;T>=0;T--){for(var h=!0,w=0;w<d;w++)if(m(e,T+w)!==m(t,w)){h=!1;break}if(h)return T}return-1}u.prototype.includes=function(t,r,o){return this.indexOf(t,r,o)!==-1};u.prototype.indexOf=function(t,r,o){return mn(this,t,r,o,!0)};u.prototype.lastIndexOf=function(t,r,o){return mn(this,t,r,o,!1)};function Qs(e,t,r,o){r=Number(r)||0;var i=e.length-r;o?(o=Number(o),o>i&&(o=i)):o=i;var l=t.length;o>l/2&&(o=l/2);for(var p=0;p<o;++p){var d=parseInt(t.substr(p*2,2),16);if(ir(d))return p;e[r+p]=d}return p}function ea(e,t,r,o){return tt(rr(t,e.length-r),e,r,o)}function ta(e,t,r,o){return tt(da(t),e,r,o)}function ra(e,t,r,o){return tt(hn(t),e,r,o)}function na(e,t,r,o){return tt(ma(t,e.length-r),e,r,o)}u.prototype.write=function(t,r,o,i){if(r===void 0)i="utf8",o=this.length,r=0;else if(o===void 0&&typeof r=="string")i=r,o=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(o)?(o=o>>>0,i===void 0&&(i="utf8")):(i=o,o=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var l=this.length-r;if((o===void 0||o>l)&&(o=l),t.length>0&&(o<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var p=!1;;)switch(i){case"hex":return Qs(this,t,r,o);case"utf8":case"utf-8":return ea(this,t,r,o);case"ascii":case"latin1":case"binary":return ta(this,t,r,o);case"base64":return ra(this,t,r,o);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return na(this,t,r,o);default:if(p)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),p=!0}};u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function oa(e,t,r){return t===0&&r===e.length?Qt.fromByteArray(e):Qt.fromByteArray(e.slice(t,r))}function gn(e,t,r){r=Math.min(e.length,r);for(var o=[],i=t;i<r;){var l=e[i],p=null,d=l>239?4:l>223?3:l>191?2:1;if(i+d<=r){var m,T,x,h;switch(d){case 1:l<128&&(p=l);break;case 2:m=e[i+1],(m&192)===128&&(h=(l&31)<<6|m&63,h>127&&(p=h));break;case 3:m=e[i+1],T=e[i+2],(m&192)===128&&(T&192)===128&&(h=(l&15)<<12|(m&63)<<6|T&63,h>2047&&(h<55296||h>57343)&&(p=h));break;case 4:m=e[i+1],T=e[i+2],x=e[i+3],(m&192)===128&&(T&192)===128&&(x&192)===128&&(h=(l&15)<<18|(m&63)<<12|(T&63)<<6|x&63,h>65535&&h<1114112&&(p=h))}}p===null?(p=65533,d=1):p>65535&&(p-=65536,o.push(p>>>10&1023|55296),p=56320|p&1023),o.push(p),i+=d}return ia(o)}var ln=4096;function ia(e){var t=e.length;if(t<=ln)return String.fromCharCode.apply(String,e);for(var r="",o=0;o<t;)r+=String.fromCharCode.apply(String,e.slice(o,o+=ln));return r}function sa(e,t,r){var o="";r=Math.min(e.length,r);for(var i=t;i<r;++i)o+=String.fromCharCode(e[i]&127);return o}function aa(e,t,r){var o="";r=Math.min(e.length,r);for(var i=t;i<r;++i)o+=String.fromCharCode(e[i]);return o}function ca(e,t,r){var o=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>o)&&(r=o);for(var i="",l=t;l<r;++l)i+=ga[e[l]];return i}function la(e,t,r){for(var o=e.slice(t,r),i="",l=0;l<o.length-1;l+=2)i+=String.fromCharCode(o[l]+o[l+1]*256);return i}u.prototype.slice=function(t,r){var o=this.length;t=~~t,r=r===void 0?o:~~r,t<0?(t+=o,t<0&&(t=0)):t>o&&(t=o),r<0?(r+=o,r<0&&(r=0)):r>o&&(r=o),r<t&&(r=t);var i=this.subarray(t,r);return Object.setPrototypeOf(i,u.prototype),i};function R(e,t,r){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}u.prototype.readUintLE=u.prototype.readUIntLE=function(t,r,o){t=t>>>0,r=r>>>0,o||R(t,r,this.length);for(var i=this[t],l=1,p=0;++p<r&&(l*=256);)i+=this[t+p]*l;return i};u.prototype.readUintBE=u.prototype.readUIntBE=function(t,r,o){t=t>>>0,r=r>>>0,o||R(t,r,this.length);for(var i=this[t+--r],l=1;r>0&&(l*=256);)i+=this[t+--r]*l;return i};u.prototype.readUint8=u.prototype.readUInt8=function(t,r){return t=t>>>0,r||R(t,1,this.length),this[t]};u.prototype.readUint16LE=u.prototype.readUInt16LE=function(t,r){return t=t>>>0,r||R(t,2,this.length),this[t]|this[t+1]<<8};u.prototype.readUint16BE=u.prototype.readUInt16BE=function(t,r){return t=t>>>0,r||R(t,2,this.length),this[t]<<8|this[t+1]};u.prototype.readUint32LE=u.prototype.readUInt32LE=function(t,r){return t=t>>>0,r||R(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+this[t+3]*16777216};u.prototype.readUint32BE=u.prototype.readUInt32BE=function(t,r){return t=t>>>0,r||R(t,4,this.length),this[t]*16777216+(this[t+1]<<16|this[t+2]<<8|this[t+3])};u.prototype.readIntLE=function(t,r,o){t=t>>>0,r=r>>>0,o||R(t,r,this.length);for(var i=this[t],l=1,p=0;++p<r&&(l*=256);)i+=this[t+p]*l;return l*=128,i>=l&&(i-=Math.pow(2,8*r)),i};u.prototype.readIntBE=function(t,r,o){t=t>>>0,r=r>>>0,o||R(t,r,this.length);for(var i=r,l=1,p=this[t+--i];i>0&&(l*=256);)p+=this[t+--i]*l;return l*=128,p>=l&&(p-=Math.pow(2,8*r)),p};u.prototype.readInt8=function(t,r){return t=t>>>0,r||R(t,1,this.length),this[t]&128?(255-this[t]+1)*-1:this[t]};u.prototype.readInt16LE=function(t,r){t=t>>>0,r||R(t,2,this.length);var o=this[t]|this[t+1]<<8;return o&32768?o|4294901760:o};u.prototype.readInt16BE=function(t,r){t=t>>>0,r||R(t,2,this.length);var o=this[t+1]|this[t]<<8;return o&32768?o|4294901760:o};u.prototype.readInt32LE=function(t,r){return t=t>>>0,r||R(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24};u.prototype.readInt32BE=function(t,r){return t=t>>>0,r||R(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]};u.prototype.readFloatLE=function(t,r){return t=t>>>0,r||R(t,4,this.length),ve.read(this,t,!0,23,4)};u.prototype.readFloatBE=function(t,r){return t=t>>>0,r||R(t,4,this.length),ve.read(this,t,!1,23,4)};u.prototype.readDoubleLE=function(t,r){return t=t>>>0,r||R(t,8,this.length),ve.read(this,t,!0,52,8)};u.prototype.readDoubleBE=function(t,r){return t=t>>>0,r||R(t,8,this.length),ve.read(this,t,!1,52,8)};function _(e,t,r,o,i,l){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<l)throw new RangeError('"value" argument is out of bounds');if(r+o>e.length)throw new RangeError("Index out of range")}u.prototype.writeUintLE=u.prototype.writeUIntLE=function(t,r,o,i){if(t=+t,r=r>>>0,o=o>>>0,!i){var l=Math.pow(2,8*o)-1;_(this,t,r,o,l,0)}var p=1,d=0;for(this[r]=t&255;++d<o&&(p*=256);)this[r+d]=t/p&255;return r+o};u.prototype.writeUintBE=u.prototype.writeUIntBE=function(t,r,o,i){if(t=+t,r=r>>>0,o=o>>>0,!i){var l=Math.pow(2,8*o)-1;_(this,t,r,o,l,0)}var p=o-1,d=1;for(this[r+p]=t&255;--p>=0&&(d*=256);)this[r+p]=t/d&255;return r+o};u.prototype.writeUint8=u.prototype.writeUInt8=function(t,r,o){return t=+t,r=r>>>0,o||_(this,t,r,1,255,0),this[r]=t&255,r+1};u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(t,r,o){return t=+t,r=r>>>0,o||_(this,t,r,2,65535,0),this[r]=t&255,this[r+1]=t>>>8,r+2};u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(t,r,o){return t=+t,r=r>>>0,o||_(this,t,r,2,65535,0),this[r]=t>>>8,this[r+1]=t&255,r+2};u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(t,r,o){return t=+t,r=r>>>0,o||_(this,t,r,4,4294967295,0),this[r+3]=t>>>24,this[r+2]=t>>>16,this[r+1]=t>>>8,this[r]=t&255,r+4};u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(t,r,o){return t=+t,r=r>>>0,o||_(this,t,r,4,4294967295,0),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=t&255,r+4};u.prototype.writeIntLE=function(t,r,o,i){if(t=+t,r=r>>>0,!i){var l=Math.pow(2,8*o-1);_(this,t,r,o,l-1,-l)}var p=0,d=1,m=0;for(this[r]=t&255;++p<o&&(d*=256);)t<0&&m===0&&this[r+p-1]!==0&&(m=1),this[r+p]=(t/d>>0)-m&255;return r+o};u.prototype.writeIntBE=function(t,r,o,i){if(t=+t,r=r>>>0,!i){var l=Math.pow(2,8*o-1);_(this,t,r,o,l-1,-l)}var p=o-1,d=1,m=0;for(this[r+p]=t&255;--p>=0&&(d*=256);)t<0&&m===0&&this[r+p+1]!==0&&(m=1),this[r+p]=(t/d>>0)-m&255;return r+o};u.prototype.writeInt8=function(t,r,o){return t=+t,r=r>>>0,o||_(this,t,r,1,127,-128),t<0&&(t=255+t+1),this[r]=t&255,r+1};u.prototype.writeInt16LE=function(t,r,o){return t=+t,r=r>>>0,o||_(this,t,r,2,32767,-32768),this[r]=t&255,this[r+1]=t>>>8,r+2};u.prototype.writeInt16BE=function(t,r,o){return t=+t,r=r>>>0,o||_(this,t,r,2,32767,-32768),this[r]=t>>>8,this[r+1]=t&255,r+2};u.prototype.writeInt32LE=function(t,r,o){return t=+t,r=r>>>0,o||_(this,t,r,4,2147483647,-2147483648),this[r]=t&255,this[r+1]=t>>>8,this[r+2]=t>>>16,this[r+3]=t>>>24,r+4};u.prototype.writeInt32BE=function(t,r,o){return t=+t,r=r>>>0,o||_(this,t,r,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=t&255,r+4};function fn(e,t,r,o,i,l){if(r+o>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function Tn(e,t,r,o,i){return t=+t,r=r>>>0,i||fn(e,t,r,4,34028234663852886e22,-34028234663852886e22),ve.write(e,t,r,o,23,4),r+4}u.prototype.writeFloatLE=function(t,r,o){return Tn(this,t,r,!0,o)};u.prototype.writeFloatBE=function(t,r,o){return Tn(this,t,r,!1,o)};function yn(e,t,r,o,i){return t=+t,r=r>>>0,i||fn(e,t,r,8,17976931348623157e292,-17976931348623157e292),ve.write(e,t,r,o,52,8),r+8}u.prototype.writeDoubleLE=function(t,r,o){return yn(this,t,r,!0,o)};u.prototype.writeDoubleBE=function(t,r,o){return yn(this,t,r,!1,o)};u.prototype.copy=function(t,r,o,i){if(!u.isBuffer(t))throw new TypeError("argument should be a Buffer");if(o||(o=0),!i&&i!==0&&(i=this.length),r>=t.length&&(r=t.length),r||(r=0),i>0&&i<o&&(i=o),i===o||t.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(o<0||o>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),t.length-r<i-o&&(i=t.length-r+o);var l=i-o;return this===t&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,o,i):Uint8Array.prototype.set.call(t,this.subarray(o,i),r),l};u.prototype.fill=function(t,r,o,i){if(typeof t=="string"){if(typeof r=="string"?(i=r,r=0,o=this.length):typeof o=="string"&&(i=o,o=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!u.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(t.length===1){var l=t.charCodeAt(0);(i==="utf8"&&l<128||i==="latin1")&&(t=l)}}else typeof t=="number"?t=t&255:typeof t=="boolean"&&(t=Number(t));if(r<0||this.length<r||this.length<o)throw new RangeError("Out of range index");if(o<=r)return this;r=r>>>0,o=o===void 0?this.length:o>>>0,t||(t=0);var p;if(typeof t=="number")for(p=r;p<o;++p)this[p]=t;else{var d=u.isBuffer(t)?t:u.from(t,i),m=d.length;if(m===0)throw new TypeError('The value "'+t+'" is invalid for argument "value"');for(p=0;p<o-r;++p)this[p+r]=d[p%m]}return this};var pa=/[^+/0-9A-Za-z-_]/g;function ua(e){if(e=e.split("=")[0],e=e.trim().replace(pa,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function rr(e,t){t=t||1/0;for(var r,o=e.length,i=null,l=[],p=0;p<o;++p){if(r=e.charCodeAt(p),r>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&l.push(239,191,189);continue}else if(p+1===o){(t-=3)>-1&&l.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&l.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(t-=3)>-1&&l.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;l.push(r)}else if(r<2048){if((t-=2)<0)break;l.push(r>>6|192,r&63|128)}else if(r<65536){if((t-=3)<0)break;l.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((t-=4)<0)break;l.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return l}function da(e){for(var t=[],r=0;r<e.length;++r)t.push(e.charCodeAt(r)&255);return t}function ma(e,t){for(var r,o,i,l=[],p=0;p<e.length&&!((t-=2)<0);++p)r=e.charCodeAt(p),o=r>>8,i=r%256,l.push(i),l.push(o);return l}function hn(e){return Qt.toByteArray(ua(e))}function tt(e,t,r,o){for(var i=0;i<o&&!(i+r>=t.length||i>=e.length);++i)t[i+r]=e[i];return i}function X(e,t){return e instanceof t||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===t.name}function ir(e){return e!==e}var ga=function(){for(var e="0123456789abcdef",t=new Array(256),r=0;r<16;++r)for(var o=r*16,i=0;i<16;++i)t[o+i]=e[r]+e[i];return t}()});var In=U((Ap,vn)=>{n();var N=vn.exports={},Z,J;function sr(){throw new Error("setTimeout has not been defined")}function ar(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?Z=setTimeout:Z=sr}catch(e){Z=sr}try{typeof clearTimeout=="function"?J=clearTimeout:J=ar}catch(e){J=ar}})();function Sn(e){if(Z===setTimeout)return setTimeout(e,0);if((Z===sr||!Z)&&setTimeout)return Z=setTimeout,setTimeout(e,0);try{return Z(e,0)}catch(t){try{return Z.call(null,e,0)}catch(r){return Z.call(this,e,0)}}}function fa(e){if(J===clearTimeout)return clearTimeout(e);if((J===ar||!J)&&clearTimeout)return J=clearTimeout,clearTimeout(e);try{return J(e)}catch(t){try{return J.call(null,e)}catch(r){return J.call(this,e)}}}var ne=[],be=!1,fe,rt=-1;function Ta(){!be||!fe||(be=!1,fe.length?ne=fe.concat(ne):rt=-1,ne.length&&wn())}function wn(){if(!be){var e=Sn(Ta);be=!0;for(var t=ne.length;t;){for(fe=ne,ne=[];++rt<t;)fe&&fe[rt].run();rt=-1,t=ne.length}fe=null,be=!1,fa(e)}}N.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];ne.push(new An(e,t)),ne.length===1&&!be&&Sn(wn)};function An(e,t){this.fun=e,this.array=t}An.prototype.run=function(){this.fun.apply(null,this.array)};N.title="browser";N.browser=!0;N.env={};N.argv=[];N.version="";N.versions={};function oe(){}N.on=oe;N.addListener=oe;N.once=oe;N.off=oe;N.removeListener=oe;N.removeAllListeners=oe;N.emit=oe;N.prependListener=oe;N.prependOnceListener=oe;N.listeners=function(e){return[]};N.binding=function(e){throw new Error("process.binding is not supported")};N.cwd=function(){return"/"};N.chdir=function(e){throw new Error("process.chdir is not supported")};N.umask=function(){return 0}});var s,c,ya,a,n=f(()=>{s=A(xn()),c=A(In()),ya=function(e){function t(){var o=this||self;return delete e.prototype.__magic__,o}if(typeof globalThis=="object")return globalThis;if(this)return t();e.defineProperty(e.prototype,"__magic__",{configurable:!0,get:t});var r=__magic__;return r}(Object),a=ya});var bn,cr=f(()=>{"use strict";n();bn="Action not allowed. User is logged in. Call logout() first"});var kn=f(()=>{"use strict";n()});var En=f(()=>{"use strict";n()});var lr,Ln=f(()=>{"use strict";n();lr=(o=>(o.SetGuardian="SetGuardian",o.GuardAccount="GuardAccount",o.UnGuardAccount="UnGuardAccount",o))(lr||{})});var Nn=f(()=>{"use strict";n()});var pr=f(()=>{"use strict";n()});var Pn=f(()=>{"use strict";n()});var Rn=f(()=>{"use strict";n()});var Cn=f(()=>{"use strict";n()});var Dn=f(()=>{"use strict";n()});var nt,ke,ot=f(()=>{"use strict";n();nt=require("@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider"),ke=require("@multiversx/sdk-web-wallet-cross-window-provider/out/enums")});var Te,_n,_p,On,Op,$=f(()=>{"use strict";n();ot();Te=(w=>(w.ledger="ledger",w.walletconnect="walletconnect",w.walletconnectv2="walletconnectv2",w.wallet="wallet",w.crossWindow="crossWindow",w.iframe="iframe",w.extension="extension",w.passkey="passkey",w.metamask="metamask",w.opera="opera",w.extra="extra",w.none="",w))(Te||{}),_n=(r=>(r.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",r.reloginRequest="RELOGIN_REQUEST",r))(_n||{}),_p=g(g({},ke.WindowProviderRequestEnums),_n),On=(t=>(t.reloginResponse="RELOGIN_RESPONSE",t))(On||{}),Op=g(g({},ke.WindowProviderResponseEnums),On)});var Mn=f(()=>{"use strict";n()});var Bn=f(()=>{"use strict";n()});var O=f(()=>{"use strict";n()});var Fn=f(()=>{"use strict";n()});var Un=f(()=>{"use strict";n()});var Wn=f(()=>{"use strict";n()});var M=f(()=>{"use strict";n();Rn();Cn();Dn();$();Mn();Bn();O();Fn();Un();Wn()});var ur,Vn,Jp,Gn,Qp,$n,eu,tu,ru,Hn=f(()=>{"use strict";n();M();ur={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",xAliasAddress:"https://devnet.xalias.com",apiAddress:"https://devnet-api.multiversx.com",extrasApiAddress:"https://devnet-extras-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://devnet-iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",xAliasAddress:"https://testnet.xalias.com",apiAddress:"https://testnet-api.multiversx.com",extrasApiAddress:"https://testnet-extras-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://testnet-iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",xAliasAddress:"https://xalias.com",apiAddress:"https://api.multiversx.com",extrasApiAddress:"https://extras-api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",metamaskSnapWalletAddress:"https://iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3}},{chainId:Vn,egldLabel:Jp}=ur["devnet"],{chainId:Gn,egldLabel:Qp}=ur["testnet"],{chainId:$n,egldLabel:eu}=ur["mainnet"],tu={["devnet"]:Vn,["testnet"]:Gn,["mainnet"]:$n},ru={[Vn]:"devnet",[Gn]:"testnet",[$n]:"mainnet"}});var dr=f(()=>{"use strict";n()});var Q,qn=f(()=>{"use strict";n();Q=require("@multiversx/sdk-web-wallet-provider")});var it,mr=f(()=>{"use strict";n();it=require("@multiversx/sdk-dapp-utils/out/constants/browserConstants")});var jn,zn,gr,cu,lu,Kn=f(()=>{"use strict";n();mr();gr=String((zn=(jn=it.safeWindow)==null?void 0:jn.navigator)==null?void 0:zn.userAgent),cu=/^((?!chrome|android).)*safari/i.test(gr),lu=/firefox/i.test(gr)&&/windows/i.test(gr)});var st,at,Yn,fr,ct,Xn,Ee,I=f(()=>{"use strict";n();kn();cr();En();Ln();Nn();pr();Pn();Hn();dr();qn();Kn();st=5e4,at=1e9,Yn=1,fr="4.6.2",ct="logout",Xn="login",Ee="0"});var Le,pt=f(()=>{"use strict";n();Le=()=>Date.now()/1e3});var Qn=f(()=>{"use strict";n()});var eo=f(()=>{"use strict";n()});var to=f(()=>{"use strict";n();pt();Qn();eo()});var Tr={};de(Tr,{clear:()=>Aa,getItem:()=>Sa,localStorageKeys:()=>ye,removeItem:()=>wa,setItem:()=>xa});var ye,ut,xa,Sa,wa,Aa,_e=f(()=>{"use strict";n();to();ye={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event",guardianBreachToastDismissTimestamp:"sdk-dapp-guardian-breach-toast-dismiss-timestamp"},ut=typeof localStorage!="undefined",xa=({key:e,data:t,expires:r})=>{!ut||localStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},Sa=e=>{if(!ut)return;let t=localStorage.getItem(String(e));if(!t)return null;let r=JSON.parse(t);return!r||!r.hasOwnProperty("expires")||!r.hasOwnProperty("data")?null:Le()>=r.expires?(localStorage.removeItem(String(e)),null):r.data},wa=e=>{!ut||localStorage.removeItem(String(e))},Aa=()=>{!ut||localStorage.clear()}});var yr={};de(yr,{clear:()=>io,getItem:()=>no,removeItem:()=>oo,sessionStorageKeys:()=>va,setItem:()=>ro,storage:()=>Ia});var va,ro,no,oo,io,Ia,so=f(()=>{"use strict";n();va={address:"address",shard:"shard",toasts:"toasts",toastProgress:"toastProgress"},ro=({key:e,data:t,expires:r})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},no=e=>{let t=sessionStorage.getItem(String(e));if(!t)return null;let r=JSON.parse(t);return!r||!r.hasOwnProperty("expires")||!r.hasOwnProperty("data")?null:Date.now()>=r.expires?(sessionStorage.removeItem(String(e)),null):r.data},oo=e=>sessionStorage.removeItem(String(e)),io=()=>sessionStorage.clear(),Ia={setItem:ro,getItem:no,removeItem:oo,clear:io}});var Ne,dt=f(()=>{"use strict";n();_e();so();Ne={session:yr,local:Tr}});var hr,L,le,B=f(()=>{"use strict";n();hr=require("@reduxjs/toolkit");I();L=(0,hr.createAction)(ct),le=(0,hr.createAction)(Xn,e=>({payload:e}))});var Sr,ao,co,he,xr,lo,mt,po,uo,Yu,Xu,Zu,Ju,Qu,ed,td,rd,gt,ft=f(()=>{"use strict";n();Sr=require("@multiversx/sdk-core"),ao=require("@reduxjs/toolkit"),co=require("redux-persist");I();dt();_e();B();he={balance:"...",address:"",isGuarded:!1,nonce:0,txCount:0,scrCount:0,claimableRewards:Ee},xr={address:"",websocketEvent:null,websocketBatchEvent:null,accounts:{"":he},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},lo=(0,ao.createSlice)({name:"accountInfoSlice",initialState:xr,reducers:{setAddress:(e,t)=>{let r=t.payload;e.address=r,e.publicKey=r?new Sr.Address(r).toHex():""},setAccount:(e,t)=>{let r=e.address===t.payload.address;e.accounts={[e.address]:r?t.payload:he},e.shard=t.payload.shard,e.isAccountLoading=!1,e.accountLoadingError=null},setAccountNonce:(e,t)=>{let{address:r}=e;e.accounts[r].nonce=t.payload},setAccountShard:(e,t)=>{e.shard=t.payload},setLedgerAccount:(e,t)=>{e.ledgerAccount=t.payload},updateLedgerAccount:(e,t)=>{e.ledgerAccount!=null&&(e.ledgerAccount.index=t.payload.index,e.ledgerAccount.address=t.payload.address)},setWalletConnectAccount:(e,t)=>{e.walletConnectAccount=t.payload},setIsAccountLoading:(e,t)=>{e.isAccountLoading=t.payload,e.accountLoadingError=null},setAccountLoadingError:(e,t)=>{e.accountLoadingError=t.payload,e.isAccountLoading=!1},setWebsocketEvent:(e,t)=>{e.websocketEvent={timestamp:Date.now(),message:t.payload}},setWebsocketBatchEvent:(e,t)=>{e.websocketBatchEvent={timestamp:Date.now(),data:t.payload}}},extraReducers:e=>{e.addCase(L,()=>(Ne.local.removeItem(ye.loginExpiresAt),xr)),e.addCase(le,(t,r)=>{let{address:o}=r.payload;t.address=o,t.publicKey=new Sr.Address(o).toHex()}),e.addCase(co.REHYDRATE,(t,r)=>{var T;if(!((T=r.payload)!=null&&T.account))return;let{account:o}=r.payload,{address:i,shard:l,accounts:p,publicKey:d}=o;t.address=i,t.shard=l;let m=p&&i in p;t.accounts=m?p:xr.accounts,t.publicKey=d})}}),{setAccount:mt,setAddress:po,setAccountNonce:uo,setAccountShard:Yu,setLedgerAccount:Xu,updateLedgerAccount:Zu,setWalletConnectAccount:Ju,setIsAccountLoading:Qu,setAccountLoadingError:ed,setWebsocketEvent:td,setWebsocketBatchEvent:rd}=lo.actions,gt=lo.reducer});function Oe(){return new Date().setHours(new Date().getHours()+24)}function Me(e){Ne.local.setItem({key:ye.loginExpiresAt,data:e,expires:e})}var wr=f(()=>{"use strict";n();dt();_e()});var go,mo,fo,dd,md,gd,xe,fd,Td,To,yd,hd,yo,Tt,yt=f(()=>{"use strict";n();go=require("@reduxjs/toolkit");wr();$();B();mo={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,passkeyLogin:null,operaLogin:null,crossWindowLogin:null,iframeWindowLogin:null,isLoginSessionInvalid:!1,webviewLogin:null},fo=(0,go.createSlice)({name:"loginInfoSlice",initialState:mo,reducers:{setLoginMethod:(e,t)=>{e.loginMethod=t.payload},setTokenLogin:(e,t)=>{e.tokenLogin=t.payload},setTokenLoginSignature:(e,t)=>{(e==null?void 0:e.tokenLogin)!=null&&(e.tokenLogin.signature=t.payload)},setWalletLogin:(e,t)=>{e.walletLogin=t.payload},setWalletConnectLogin:(e,t)=>{e.walletConnectLogin=t.payload},setLedgerLogin:(e,t)=>{e.ledgerLogin=t.payload},setWebviewLogin:(e,t)=>{e.webviewLogin=t.payload},invalidateLoginSession:e=>{e.isLoginSessionInvalid=!0},setLogoutRoute:(e,t)=>{e.logoutRoute=t.payload},setIsWalletConnectV2Initialized:(e,t)=>{e.isWalletConnectV2Initialized=t.payload}},extraReducers:e=>{e.addCase(L,()=>mo),e.addCase(le,(t,r)=>{t.isLoginSessionInvalid=!1,t.loginMethod=r.payload.loginMethod,t.iframeLoginType=r.payload.iframeLoginType,Me(Oe())})}}),{setLoginMethod:dd,setWalletConnectLogin:md,setLedgerLogin:gd,setTokenLogin:xe,setTokenLoginSignature:fd,setWalletLogin:Td,invalidateLoginSession:To,setLogoutRoute:yd,setIsWalletConnectV2Initialized:hd,setWebviewLogin:yo}=fo.actions,Tt=fo.reducer});var xo,ho,So,Ad,ba,vd,Id,ht,xt=f(()=>{"use strict";n();xo=require("@reduxjs/toolkit");B();ho={},So=(0,xo.createSlice)({name:"modalsSlice",initialState:ho,reducers:{setTxSubmittedModal:(e,t)=>{e.txSubmittedModal=t.payload},setNotificationModal:(e,t)=>{e.notificationModal=t.payload},clearTxSubmittedModal:e=>{e.txSubmittedModal=void 0},clearNotificationModal:e=>{e.notificationModal=void 0}},extraReducers:e=>{e.addCase(L,()=>ho)}}),{setTxSubmittedModal:Ad,setNotificationModal:ba,clearTxSubmittedModal:vd,clearNotificationModal:Id}=So.actions,ht=So.reducer});var Be,St=f(()=>{"use strict";n();Be=()=>typeof window!="undefined"&&typeof(window==null?void 0:window.location)!="undefined"});var ee,pe=f(()=>{"use strict";n();St();ee=()=>{if(!Be())return{pathname:"",hash:"",origin:"",href:"",search:""};let{location:{pathname:t,hash:r,origin:o,href:i,search:l}}=window;return{pathname:t,hash:r,origin:o,href:i,search:l}}});var wo=f(()=>{"use strict";n();pe()});var Ao=f(()=>{"use strict";n();Fe()});var vo=f(()=>{"use strict";n();mr()});var Fe=f(()=>{"use strict";n();wo();Ao();pe();vo()});var Io=f(()=>{"use strict";n();Fe()});var bo=f(()=>{"use strict";n();Io()});function ko(e){return e[Math.floor(Math.random()*e.length)]}var Eo=f(()=>{"use strict";n()});var Lo=f(()=>{"use strict";n();pr()});var No=f(()=>{"use strict";n();bo();Eo();Lo()});var Po,Ro,Co,Ar,Ea,Do,om,im,sm,wt,At=f(()=>{"use strict";n();Po=require("@reduxjs/toolkit"),Ro=A(require("lodash.omit")),Co=require("redux-persist");dr();B();No();Ar={id:"not-configured",chainId:"",name:"NOT CONFIGURED",egldLabel:"",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"",walletConnectBridgeAddress:"",walletConnectV2RelayAddress:"",walletConnectV2ProjectId:"",walletConnectV2Options:{},walletAddress:"",apiAddress:"",explorerAddress:"",apiTimeout:"4000",roundDuration:6e3},Ea={network:Ar},Do=(0,Po.createSlice)({name:"appConfig",initialState:Ea,reducers:{initializeNetworkConfig:(e,t)=>{let r=ko(t.payload.walletConnectV2RelayAddresses),o=(0,Ro.default)(t.payload,"walletConnectV2RelayAddresses");e.network=v(g(g({},e.network),o),{walletConnectV2RelayAddress:r})},updateNetworkConfig:(e,t)=>{e.network=g(g({},e.network),t.payload)},setCustomWalletAddress:(e,t)=>{e.network.customWalletAddress=t.payload}},extraReducers:e=>{e.addCase(L,t=>{t.network.customWalletAddress=void 0}),e.addCase(Co.REHYDRATE,(t,r)=>{var i,l;if(!((l=(i=r.payload)==null?void 0:i.network)!=null&&l.customWalletAddress))return;let{network:{customWalletAddress:o}}=r.payload;t.network.customWalletAddress=o})}}),{initializeNetworkConfig:om,updateNetworkConfig:im,setCustomWalletAddress:sm}=Do.actions,wt=Do.reducer});var _o,vr,Oo,dm,mm,gm,vt,It=f(()=>{"use strict";n();_o=require("@reduxjs/toolkit");M();B();vr={isSigning:!1,signedSessions:{}},Oo=(0,_o.createSlice)({name:"signedMessageInfoSliceState",initialState:vr,reducers:{setSignSession:(e,t)=>{let{sessionId:r,signedSession:o,errorMessage:i}=t.payload;i&&(e.errorMessage=i),e.isSigning=o.status==="pending",e.signedSessions[r]=g(g({},e.signedSessions[r]),o)},setSignSessionState:(e,t)=>g(g({},e),t.payload),clearSignedMessageInfo:()=>vr},extraReducers:e=>{e.addCase(L,()=>vr)}}),{setSignSession:dm,clearSignedMessageInfo:mm,setSignSessionState:gm}=Oo.actions,vt=Oo.reducer});var Bo,Fo,Mo,Uo,wm,Am,vm,La,bt,kt=f(()=>{"use strict";n();Bo=require("@reduxjs/toolkit"),Fo=require("redux-persist");M();pt();B();Mo={customToasts:[],transactionToasts:[]},Uo=(0,Bo.createSlice)({name:"toastsSlice",initialState:Mo,reducers:{addCustomToast:(e,t)=>{let r=t.payload.toastId||`custom-toast-${e.customToasts.length+1}`,o=e.customToasts.findIndex(i=>i.toastId===r);if(o!==-1){e.customToasts[o]=v(g(g({},e.customToasts[o]),t.payload),{type:"custom",toastId:r});return}e.customToasts.push(v(g({},t.payload),{type:"custom",toastId:r}))},removeCustomToast:(e,t)=>{e.customToasts=e.customToasts.filter(r=>r.toastId!==t.payload)},addTransactionToast:(e,t)=>{e.transactionToasts.push({type:"transaction",startTimestamp:Le(),toastId:t.payload||`custom-toast-${e.transactionToasts.length+1}`})},removeTransactionToast:(e,t)=>{e.transactionToasts=e.transactionToasts.filter(r=>r.toastId!==t.payload)}},extraReducers:e=>{e.addCase(L,()=>Mo),e.addCase(Fo.REHYDRATE,(t,r)=>{var i,l;let o=(l=(i=r.customToasts)==null?void 0:i.filter(p=>!("component"in p)))!=null?l:[];t.customToasts=o})}}),{addCustomToast:wm,removeCustomToast:Am,addTransactionToast:vm,removeTransactionToast:La}=Uo.actions,bt=Uo.reducer});var Wo,br,kr,Er,Na,Ir,Vo,Em,Pa,Lm,Et,Lt=f(()=>{"use strict";n();Wo=require("@reduxjs/toolkit");B();br="Transaction failed",kr="Transaction successful",Er="Processing transaction",Na="Transaction submitted",Ir={},Vo=(0,Wo.createSlice)({name:"transactionsInfo",initialState:Ir,reducers:{setTransactionsDisplayInfo(e,t){let{sessionId:r,transactionsDisplayInfo:o}=t.payload;r!=null&&(e[r]={errorMessage:(o==null?void 0:o.errorMessage)||br,successMessage:(o==null?void 0:o.successMessage)||kr,processingMessage:(o==null?void 0:o.processingMessage)||Er,submittedMessage:(o==null?void 0:o.submittedMessage)||Na,transactionDuration:o==null?void 0:o.transactionDuration})},clearTransactionsInfoForSessionId(e,t){t.payload!=null&&delete e[t.payload]},clearTransactionsInfo:()=>Ir},extraReducers:e=>{e.addCase(L,()=>Ir)}}),{clearTransactionsInfo:Em,setTransactionsDisplayInfo:Pa,clearTransactionsInfoForSessionId:Lm}=Vo.actions,Et=Vo.reducer});function Go(e){return e!=null&&(Va(e)||ja(e))}function Nt(e){return e!=null&&(Ga(e)||za(e))}function Pt(e){return e!=null&&($a(e)||Ka(e))}function $o(e){return e!=null&&(Ha(e)||Ya(e))}function Ho(e){return e!=null&&qa(e)}function Va(e){return e!=null&&Ca.includes(e)}function Ga(e){return e!=null&&Da.includes(e)}function $a(e){return e!=null&&_a.includes(e)}function Ha(e){return e!=null&&Oa.includes(e)}function qa(e){return e!=null&&Ma.includes(e)}function ja(e){return e!=null&&Ba.includes(e)}function za(e){return e!=null&&Fa.includes(e)}function Ka(e){return e!=null&&Ua.includes(e)}function Ya(e){return e!=null&&Wa.includes(e)}var Ca,Da,_a,Oa,Ma,Ba,Fa,Ua,Wa,Nr=f(()=>{"use strict";n();$();Ca=["sent"],Da=["success"],_a=["fail","cancelled","timedOut"],Oa=["invalid"],Ma=["timedOut"],Ba=["pending"],Fa=["success"],Ua=["fail","invalid"],Wa=["not executed"]});var qo,jo,Ue,Xa,zo,Bm,Fm,Za,Ko,Ja,Qa,Um,Wm,ec,Vm,Gm,Rt,Ct=f(()=>{"use strict";n();qo=require("@reduxjs/toolkit"),jo=require("redux-persist");$();Nr();B();Ue={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},Xa={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},zo=(0,qo.createSlice)({name:"transactionsSlice",initialState:Ue,reducers:{moveTransactionsToSignedState:(e,t)=>{var m,T;let{sessionId:r,transactions:o,errorMessage:i,status:l,redirectRoute:p,customTransactionInformation:d}=t.payload;e.customTransactionInformationForSessionId[r]=g(g(g({},Xa),((m=e.signedTransactions[r])==null?void 0:m.customTransactionInformation)||{}),e.customTransactionInformationForSessionId[r]||{}),e.signedTransactions[r]={transactions:o,status:l,errorMessage:i,redirectRoute:p,customTransactionInformation:g(g({},e.customTransactionInformationForSessionId[r]),d!=null?d:{})},((T=e==null?void 0:e.transactionsToSign)==null?void 0:T.sessionId)===r&&(e.transactionsToSign=Ue.transactionsToSign)},clearSignedTransaction:(e,t)=>{e.signedTransactions[t.payload]&&delete e.signedTransactions[t.payload]},clearTransactionToSign:e=>{e!=null&&e.transactionsToSign&&(e.transactionsToSign=null)},updateSignedTransaction:(e,t)=>{e.signedTransactions=g(g({},e.signedTransactions),t.payload)},updateSignedTransactions:(e,t)=>{let{sessionId:r,status:o,errorMessage:i,transactions:l}=t.payload;e.signedTransactions[r]!=null&&(e.signedTransactions[r].status=o,i!=null&&(e.signedTransactions[r].errorMessage=i),l!=null&&(e.signedTransactions[r].transactions=l))},updateSignedTransactionStatus:(e,t)=>{var T,x,h,w,k,b,E,C;let{sessionId:r,status:o,errorMessage:i,transactionHash:l,serverTransaction:p,inTransit:d}=t.payload,m=(x=(T=e.signedTransactions)==null?void 0:T[r])==null?void 0:x.transactions;if(m!=null){e.signedTransactions[r].transactions=m.map(D=>D.hash===l?v(g(g({},p!=null?p:{}),D),{status:o,errorMessage:i,inTransit:d}):D);let K=(w=(h=e.signedTransactions[r])==null?void 0:h.transactions)==null?void 0:w.every(D=>Nt(D.status)),ue=(b=(k=e.signedTransactions[r])==null?void 0:k.transactions)==null?void 0:b.some(D=>Pt(D.status)),Ze=(C=(E=e.signedTransactions[r])==null?void 0:E.transactions)==null?void 0:C.every(D=>$o(D.status));K&&(e.signedTransactions[r].status="success"),ue&&(e.signedTransactions[r].status="fail"),Ze&&(e.signedTransactions[r].status="invalid")}},setTransactionsToSign:(e,t)=>{e.transactionsToSign=t.payload;let{sessionId:r,customTransactionInformation:o}=t.payload;e.customTransactionInformationForSessionId[r]=o,e.signTransactionsError=null},clearAllTransactionsToSign:e=>{e.transactionsToSign=Ue.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=Ue.signedTransactions},setSignTransactionsError:(e,t)=>{e.signTransactionsError=t.payload},setSignTransactionsCancelMessage:(e,t)=>{e.signTransactionsCancelMessage=t.payload},updateSignedTransactionsCustomTransactionInformation:(e,t)=>{let{sessionId:r,customTransactionInformationOverrides:o}=t.payload;e.signedTransactions[r]!=null&&(e.signedTransactions[r].customTransactionInformation=g(g({},e.signedTransactions[r].customTransactionInformation),o))}},extraReducers:e=>{e.addCase(L,()=>Ue),e.addCase(jo.REHYDRATE,(t,r)=>{var p;if(t.signTransactionsCancelMessage=null,!((p=r.payload)!=null&&p.transactions))return;let{signedTransactions:o,customTransactionInformationForSessionId:i}=r.payload.transactions,l=Object.entries(o).reduce((d,[m,T])=>{let x=new Date(m),h=new Date;return h.setHours(h.getHours()+5),h-x>0||(d[m]=T),d},{});i!=null&&(t.customTransactionInformationForSessionId=i),o!=null&&(t.signedTransactions=l)})}}),{updateSignedTransactionStatus:Bm,updateSignedTransactions:Fm,setTransactionsToSign:Za,clearAllTransactionsToSign:Ko,clearAllSignedTransactions:Ja,clearSignedTransaction:Qa,clearTransactionToSign:Um,setSignTransactionsError:Wm,setSignTransactionsCancelMessage:ec,moveTransactionsToSignedState:Vm,updateSignedTransactionsCustomTransactionInformation:Gm}=zo.actions,Rt=zo.reducer});var Yo,Pr,Xo,jm,zm,tc,Km,Dt,_t=f(()=>{"use strict";n();Yo=require("@reduxjs/toolkit");B();Pr={},Xo=(0,Yo.createSlice)({name:"batchTransactionsSlice",initialState:Pr,reducers:{setBatchTransactions:(e,t)=>{e[t.payload.id]=t.payload},updateBatchTransactions:(e,t)=>{e[t.payload.id]=t.payload},clearBatchTransactions:(e,t)=>{delete e[t.payload.batchId]},clearAllBatchTransactions:()=>Pr},extraReducers:e=>{e.addCase(L,()=>Pr)}}),{setBatchTransactions:jm,updateBatchTransactions:zm,clearBatchTransactions:tc,clearAllBatchTransactions:Km}=Xo.actions,Dt=Xo.reducer});var Jo,Zo,Qo,Jm,ei,Rr=f(()=>{"use strict";n();Jo=require("@reduxjs/toolkit");B();Zo={},Qo=(0,Jo.createSlice)({name:"dappConfigSlice",initialState:Zo,reducers:{setDappConfig:(e,t)=>t.payload},extraReducers:e=>{e.addCase(L,()=>Zo)}}),{setDappConfig:Jm}=Qo.actions,ei=Qo.reducer});var H=f(()=>{"use strict";n();ft();yt();xt();At();It();kt();Lt();Ct();_t();Rr()});var Cr=f(()=>{"use strict";n()});var ni,ic,sc,We,Dr=f(()=>{"use strict";n();ni=require("@reduxjs/toolkit");Cr();ft();_t();Rr();yt();xt();At();It();kt();Lt();Ct();ic={["account"]:gt,["dappConfig"]:ei,["loginInfo"]:Tt,["modals"]:ht,["networkConfig"]:wt,["signedMessageInfo"]:vt,["toasts"]:bt,["transactionsInfo"]:Et,["transactions"]:Rt,["batchTransactions"]:Dt},sc=(e={})=>(0,ni.combineReducers)(g(g({},ic),e)),We=sc});var ai={};de(ai,{default:()=>Ac,sessionStorageReducers:()=>_r});function ie(e,t=[]){return{key:e,version:1,storage:ii.default,blacklist:t}}var F,oi,ii,ac,Ve,cc,lc,pc,uc,dc,mc,gc,fc,Tc,yc,si,hc,_r,xc,Sc,wc,Ac,ci=f(()=>{"use strict";n();F=require("redux-persist"),oi=A(require("redux-persist/lib/storage")),ii=A(require("redux-persist/lib/storage/session"));Dr();H();ft();_t();yt();xt();At();It();kt();Lt();Ct();Cr();ac={persistReducersStorageType:"localStorage"},Ve={["account"]:"sdk-dapp-account",["loginInfo"]:"sdk-dapp-login-info",["modals"]:"sdk-dapp-modals",["networkConfig"]:"sdk-dapp-network-config"},cc=ie(Ve["account"]),lc=ie(Ve["loginInfo"]),pc=ie(Ve["modals"]),uc=ie(Ve["networkConfig"]),dc={2:e=>v(g({},e),{networkConfig:Ar})};mc=ie("sdk-dapp-transactionsInfo"),gc=ie("sdk-dapp-transactions",["transactionsToSign"]),fc=ie("sdk-dapp-batchTransactions",["batchTransactions"]),Tc=ie("sdk-dapp-toasts"),yc=ie("sdk-dapp-signedMessageInfo"),si={key:"sdk-dapp-store",version:2,storage:oi.default,whitelist:Object.keys(Ve),migrate:(0,F.createMigrate)(dc,{debug:!1})},hc=v(g({},si),{whitelist:[]}),_r={["toasts"]:(0,F.persistReducer)(Tc,bt),["transactions"]:(0,F.persistReducer)(gc,Rt),["transactionsInfo"]:(0,F.persistReducer)(mc,Et),["batchTransactions"]:(0,F.persistReducer)(fc,Dt),["signedMessageInfo"]:(0,F.persistReducer)(yc,vt)},xc=v(g({},_r),{["account"]:(0,F.persistReducer)(cc,gt),["loginInfo"]:(0,F.persistReducer)(lc,Tt),["modals"]:(0,F.persistReducer)(pc,ht),["networkConfig"]:(0,F.persistReducer)(uc,wt)}),Sc=ac.persistReducersStorageType==="localStorage",wc=Sc?(0,F.persistReducer)(si,We(_r)):(0,F.persistReducer)(hc,We(xc)),Ac=wc});var li={};de(li,{default:()=>vc});var vc,pi=f(()=>{"use strict";n();Dr();vc=We()});var ui={};de(ui,{default:()=>bc});var V,Ic,bc,di=f(()=>{"use strict";n();V=require("redux-persist"),Ic=[V.FLUSH,V.REHYDRATE,V.PAUSE,V.PERSIST,V.PURGE,V.REGISTER],bc=Ic});var fi={};de(fi,{default:()=>gi});function gi(e){return(0,mi.persistStore)(e)}var mi,Ti=f(()=>{"use strict";n();mi=require("redux-persist")});var Qi=U((Eb,Ji)=>{n();var Dl=typeof a=="object"&&a&&a.Object===Object&&a;Ji.exports=Dl});var ts=U((Lb,es)=>{n();var _l=Qi(),Ol=typeof self=="object"&&self&&self.Object===Object&&self,Ml=_l||Ol||Function("return this")();es.exports=Ml});var jr=U((Nb,rs)=>{n();var Bl=ts(),Fl=Bl.Symbol;rs.exports=Fl});var ss=U((Pb,is)=>{n();var ns=jr(),os=Object.prototype,Ul=os.hasOwnProperty,Wl=os.toString,ze=ns?ns.toStringTag:void 0;function Vl(e){var t=Ul.call(e,ze),r=e[ze];try{e[ze]=void 0;var o=!0}catch(l){}var i=Wl.call(e);return o&&(t?e[ze]=r:delete e[ze]),i}is.exports=Vl});var cs=U((Rb,as)=>{n();var Gl=Object.prototype,$l=Gl.toString;function Hl(e){return $l.call(e)}as.exports=Hl});var ds=U((Cb,us)=>{n();var ls=jr(),ql=ss(),jl=cs(),zl="[object Null]",Kl="[object Undefined]",ps=ls?ls.toStringTag:void 0;function Yl(e){return e==null?e===void 0?Kl:zl:ps&&ps in Object(e)?ql(e):jl(e)}us.exports=Yl});var gs=U((Db,ms)=>{n();var Xl=Array.isArray;ms.exports=Xl});var Ts=U((_b,fs)=>{n();function Zl(e){return e!=null&&typeof e=="object"}fs.exports=Zl});var hs=U((Ob,ys)=>{n();var Jl=ds(),Ql=gs(),ep=Ts(),tp="[object String]";function rp(e){return typeof e=="string"||!Ql(e)&&ep(e)&&Jl(e)==tp}ys.exports=rp});var Tp={};de(Tp,{useInitiateExperimentalWebviewLogin:()=>fp});module.exports=De(Tp);n();cr();I();n();n();ot();n();var lt=require("@multiversx/sdk-web-wallet-iframe-provider/out"),ha=require("@multiversx/sdk-web-wallet-iframe-provider/out/constants");M();var Zn=e=>(Object.values(Te).forEach(t=>{if(t!==(e==null?void 0:e.skipLoginMethod))switch(t){case"crossWindow":{let r=nt.CrossWindowProvider.getInstance();r.isInitialized()&&r.dispose();break}case"iframe":{let r=lt.IframeProvider.getInstance();r.isInitialized()&&r.dispose();break}default:break}}),null);n();var Jn=i=>S(void 0,[i],function*({hasNativeAuth:e,token:t,loginService:r,onError:o}){let l=t;if(e&&!t){let p="Native auth token generation failed";try{if(l=yield r.getNativeAuthLoginToken(),!l)return console.error(p),o==null||o(p),{error:p}}catch(d){let m=d instanceof Error?d.message:String(d),T=`${p}: ${m}`;return console.error(T),o==null||o(T),{error:T}}}return l&&r.setLoginToken(l),{token:l}});n();var vs=require("react"),Yt=require("@multiversx/sdk-core");n();n();n();var Ii=require("react"),Pe=require("react-redux");n();var Si=require("@reduxjs/toolkit"),wi=require("react-redux/lib/utils/Subscription");H();n();var ti=A(require("lodash.throttle"));I();H();wr();dt();_e();var rc=[ct],Ot=!1,nc=(0,ti.default)(()=>{Me(Oe())},5e3),ri=e=>t=>r=>{if(rc.includes(r.type))return t(r);let o=e.getState(),i=Ne.local.getItem(ye.loginExpiresAt);if(!Boolean(o==null?void 0:o.account.address))return t(r);if(i==null)return Me(Oe()),t(r);let p=Date.now();return i-p<0&&!Ot?setTimeout(()=>{Ot=!0,e.dispatch(To())},1e3):(Ot&&(Ot=!1),nc()),t(r)};n();n();function Mt(){return typeof sessionStorage!="undefined"}var yi=Mt()?(ci(),De(ai)).default:(pi(),De(li)).default,hi=Mt()?(di(),De(ui)).default:[],xi=Mt()?(Ti(),De(fi)).default:e=>e;var P=(0,Si.configureStore)({reducer:yi,middleware:e=>e({serializableCheck:{ignoredActions:[...hi,uo.type,mt.type],ignoredPaths:["payload.nonce","account.account.nonce","providers.accountProvider"]}}).concat(ri)}),Ai=(0,wi.createSubscription)(P),vi=xi(P);var kc={store:P,subscription:Ai},Or=(0,Ii.createContext)(kc),Jg=(0,Pe.createStoreHook)(Or),Bt=(0,Pe.createDispatchHook)(Or),q=(0,Pe.createSelectorHook)(Or);n();n();H();n();var bi=A(require("lodash.isequal")),Ft=require("reselect"),y=(0,Ft.createSelectorCreator)(Ft.defaultMemoize,bi.default);var te=e=>e.account,Ut=y(te,e=>e.address),Re=y(te,Ut,(e,t)=>t in e.accounts?e.accounts[t]:he),Ec=y(te,Re,(e,t)=>{let i=e,{accounts:r}=i,o=en(i,["accounts"]);return v(g({},o),{address:t.address,account:t})}),nf=y(Re,e=>e.balance),Lc=y(Re,e=>{var t;return((t=e==null?void 0:e.nonce)==null?void 0:t.valueOf())||0}),of=y(te,e=>e.shard),sf=y(te,e=>e.ledgerAccount),af=y(te,e=>e.walletConnectAccount),cf=y(te,e=>e.isAccountLoading),lf=y(te,e=>e.accountLoadingError),Nc=y(te,e=>e.websocketEvent),Pc=y(te,e=>e.websocketBatchEvent);n();var Rc=e=>e.dappConfig,df=y(Rc,e=>e.shouldUseWebViewProvider);n();var G=e=>e.loginInfo,Tf=y(G,e=>e.loginMethod),Mr=y(G,Ut,(e,t)=>Boolean(t)),yf=y(G,e=>e.walletConnectLogin),hf=y(G,e=>e.ledgerLogin),xf=y(G,e=>e.walletLogin),Sf=y(G,e=>e.isLoginSessionInvalid),ki=y(G,e=>e.tokenLogin),wf=y(G,e=>e.logoutRoute),Cc=y(G,e=>e.isWalletConnectV2Initialized);n();var Ei=e=>e.modals,If=y(Ei,e=>e.txSubmittedModal),bf=y(Ei,e=>e.notificationModal);n();var se=e=>e.networkConfig,Li=y(se,e=>e.network.chainId),Lf=y(se,e=>e.network.roundDuration),Nf=y(se,e=>e.network.walletConnectBridgeAddress),Pf=y(se,e=>e.network.walletConnectV2RelayAddress),Rf=y(se,e=>e.network.walletConnectV2ProjectId),Cf=y(se,e=>e.network.walletConnectV2Options),Df=y(se,e=>e.network.walletConnectDeepLink),Se=y(se,e=>e.network),Dc=y(Se,e=>e.apiAddress),Ni=y(Se,e=>e.explorerAddress),_f=y(Se,e=>{var t;return(t=e.customWalletAddress)!=null?t:e.walletAddress}),Of=y(Se,e=>e.xAliasAddress),Mf=y(Se,e=>e.egldLabel);n();var Wt=e=>e.signedMessageInfo,Uf=y(Wt,e=>e.isSigning),Wf=y(Wt,e=>e.errorMessage),Vf=y(Wt,e=>{let t=Object.keys(e.signedSessions),r=t.length;return e.signedSessions[t[r-1]]}),Gf=y(Wt,e=>{let t=Object.keys(e.signedSessions),r=t.length;return t.length>0?t[r-1]:""});n();var Pi=e=>e.toasts,qf=y(Pi,e=>e.customToasts),jf=y(Pi,e=>e.transactionToasts);n();H();var Ri={errorMessage:br,successMessage:kr,processingMessage:Er},_c=e=>e.transactionsInfo,Zf=y(_c,(e,t)=>t,(e,t)=>t!=null&&(e==null?void 0:e[t])||Ri);n();n();var we=require("@multiversx/sdk-core");I();n();n();n();function Vt(e){if(!e.length)return!1;try{let t=atob(e),r=btoa(t),o=s.Buffer.from(e,"base64").toString("utf8"),i=s.Buffer.from(o,"utf8").toString("base64"),l=e===r||r.startsWith(e),p=e===i||i.startsWith(e);if(l&&p)return!0}catch(t){return!1}return!1}function j(e){if(!Vt(e))return e;try{return s.Buffer.from(e,"base64").toString("utf8")}catch(t){return e}}n();n();n();n();var Ci=e=>{let t=e!=null?e:"",r=Vt(t)?j(t.trim()):t.trim();return s.Buffer.from(r)};n();I();var Ge=({data:e,onlySetGuardian:t})=>e?t?e.startsWith("SetGuardian"):Object.values(lr).some(r=>e.startsWith(r)):!1;function Gt(e){var o,i,l;let t=g({},e);Ge({data:t.data,onlySetGuardian:!0})&&(delete t.senderUsername,delete t.receiverUsername);let r=new we.Transaction(g(g(v(g(v(g(g({value:BigInt(t.value.valueOf()),data:Ci(t.data),nonce:BigInt(t.nonce.valueOf()),receiver:new we.Address(t.receiver)},t.receiverUsername?{receiverUsername:t.receiverUsername}:{}),t.relayer?{relayer:new we.Address(t.relayer)}:{}),{sender:new we.Address(t.sender)}),t.senderUsername?{senderUsername:t.senderUsername}:{}),{gasLimit:BigInt((o=t.gasLimit.valueOf())!=null?o:st),gasPrice:BigInt((i=t.gasPrice.valueOf())!=null?i:at),chainID:t.chainID.valueOf(),version:(l=t.version)!=null?l:Yn}),t.options?{options:t.options}:{}),t.guardian?{guardian:new we.Address(t.guardian)}:{}));return t.relayerSignature&&(r.relayerSignature=s.Buffer.from(t.relayerSignature,"hex")),t.guardianSignature&&(r.guardianSignature=s.Buffer.from(t.guardianSignature,"hex")),t.signature&&(r.signature=s.Buffer.from(t.signature,"hex")),r}n();n();I();n();n();n();var Fc=require("@multiversx/sdk-core");n();I();n();var Wc=require("@multiversx/sdk-core");M();n();var Uc=require("@multiversx/sdk-core");n();n();n();var Vc=require("@multiversx/sdk-core"),Gc=A(require("bignumber.js"));$();n();n();n();var Br="blocks";n();n();n();n();O();n();n();O();n();n();n();var zc=A(require("bignumber.js"));I();n();var Fr=A(require("bignumber.js"));I();n();var qc=A(require("bignumber.js"));n();Fr.default.config({ROUNDING_MODE:Fr.default.ROUND_FLOOR});n();n();n();I();n();n();n();n();I();n();I();n();var Fi=require("@multiversx/sdk-core"),Kc=A(require("bignumber.js"));I();n();var Wr=require("@multiversx/sdk-core"),Zc=A(require("bignumber.js"));I();n();n();var Yc=A(require("bignumber.js"));I();n();I();n();n();n();n();n();n();I();n();I();n();I();n();O();var Qc=["reDelegateRewards","claimRewards","unBond"],el=["wrapEgld","unwrapEgld"],tl=["unStake"],rl=["unDelegate"];n();n();n();I();n();var il=A(require("bignumber.js"));n();n();O();n();var al=A(require("bignumber.js"));n();n();n();n();var ll=A(require("bignumber.js"));M();n();n();var pl=require("@multiversx/sdk-core");n();n();$();n();var ml=require("@multiversx/sdk-web-wallet-provider");I();n();var dl=A(require("qs"));n();Fe();St();n();St();var DS={search:Be()?window.location.search:"",removeParams:[]};n();n();n();pe();n();O();n();n();pe();n();var gl=A(require("linkifyjs"));n();I();n();var fl=A(require("bignumber.js"));n();M();n();n();$();n();$();n();n();n();O();n();O();n();var Tl=A(require("bignumber.js"));I();O();n();O();n();var Vi=require("react");M();n();n();O();n();n();var yl=require("@multiversx/sdk-core"),hl=A(require("bignumber.js"));O();n();M();n();n();M();var EA=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}];n();var Gi=require("react");M();pe();n();var Sl=require("react");O();var OA=["create","localMint","ESDTLocalMint","addQuantity","burn","localBurn","ESDTLocalBurn","wipe","writeLog","signalError"];Nr();n();var Ht=e=>e.transactions,qe=y(Ht,e=>e.signedTransactions),bv=y(Ht,e=>e.signTransactionsError),kv=y(Ht,e=>e.signTransactionsCancelMessage),qt=e=>t=>Object.entries(t).reduce((r,[o,i])=>(e(i.status)&&(r[o]=i),r),{}),Ev=y(qe,qt(Go)),Lv=y(qe,qt(Nt)),Nv=y(qe,qt(Pt)),Pv=y(qe,qt(Ho)),Rv=y(Ht,e=>{var t;return(e==null?void 0:e.transactionsToSign)==null?null:v(g({},e.transactionsToSign),{transactions:((t=e==null?void 0:e.transactionsToSign)==null?void 0:t.transactions.map(r=>Gt(r)))||[]})}),Cv=y(qe,(e,t)=>t,(e,t)=>t!=null?(e==null?void 0:e[t])||{}:{});var Gr=()=>q(Re);n();n();n();n();n();var wl=require("@multiversx/sdk-extension-provider"),Al=require("@multiversx/sdk-hw-provider"),vl=require("@multiversx/sdk-metamask-provider/out/metamaskProvider"),Il=require("@multiversx/sdk-opera-provider"),bl=require("@multiversx/sdk-passkey-provider/out"),kl=require("@multiversx/sdk-web-wallet-provider");I();ot();$();n();var z=e=>`Unable to perform ${e}, Provider not initialized`,jt=class{init(){return Promise.resolve(!1)}getAccount(){throw new Error(z("getAccount"))}setAccount(t){throw new Error(z(`setAccount: ${t}`))}login(t){throw new Error(z(`login with options: ${t}`))}logout(t){throw new Error(z(`logout with options: ${t}`))}getAddress(){throw new Error(z("getAddress"))}isInitialized(){return!1}isConnected(){return!1}sendTransaction(t,r){throw new Error(z(`sendTransaction with transactions: ${t} options: ${r}`))}signTransaction(t,r){throw new Error(z(`signTransaction with transactions: ${t} options: ${r}`))}signTransactions(t,r){throw new Error(z(`signTransactions with transactions: ${t} options: ${r}`))}signMessage(t,r){throw new Error(z(`signTransactions with ${t} and options ${r}`))}sendCustomMessage({method:t,params:r}){throw new Error(z(`sendCustomMessage with method: ${t} params: ${r}`))}sendCustomRequest(t){throw new Error(z(`sendSessionEvent with options: ${t}`))}ping(){return Promise.resolve(!1)}},$i=new jt;var El=$i,$r=null;function Hr(e){$r=e}function Hi(){$r!=null&&(El=$r)}n();n();n();n();n();n();n();var je=A(require("react"));var bI=(0,je.createContext)({}),kI=P.getState();n();var ji=A(require("react"));n();var qr=A(require("react")),Nl=A(require("axios"));n();n();H();n();n();var As=require("@multiversx/sdk-native-auth-client");n();var Xi=A(require("axios"));n();n();n();function zi(e){return S(this,null,function*(){return yield new Promise(t=>{setTimeout(()=>t(),e)})})}n();var Ki=(e,t,r,o=0)=>S(void 0,null,function*(){try{return yield e(...r)}catch(i){if(o<t.retries)return(t==null?void 0:t.delay)!=null&&(yield zi(t.delay)),yield Ki(e,t,r,o+1);throw console.error(`Failed after ${t.retries} retries:`,i),i}}),Yi=(e,t={retries:5,delay:500})=>(...r)=>S(void 0,null,function*(){return yield Ki(e,t,r)});var Pl=4,Rl=3e4,zt={current:null},Ae={current:null},Cl=Yi((e,t,r)=>S(void 0,null,function*(){if(r){let l=Math.floor(Date.now()/1e3);return{hash:yield r(),timestamp:l}}let{data:o}=yield Xi.default.get(`${e}/${Br}?from=${Pl}&size=1&fields=hash,timestamp${t?"&shard="+t:""}`),[i]=o;return i}));function Zi(e,t,r,o){return S(this,null,function*(){if(e==null)throw new Error("missing api url");let i=Date.now();if(zt.current!=null&&i<zt.current.timestamp*1e3+Rl&&!o)return zt.current;if(Ae.current!=null)return yield Ae.current;Ae.current=Cl(e,t,r);try{let l=yield Ae.current;if(l==null)throw Ae.current=null,new Error("Could not retrieve block hash from API");return zt.current={hash:l.hash,timestamp:l.timestamp},Ae.current=null,l}catch(l){Ae.current=null;let p=l instanceof Error?l.message:String(l);throw console.error("Failed to fetch latest block hash:",p),new Error(`Block hash fetch failed: ${p}`)}})}n();n();pt();n();n();var xs=A(hs());var Ss=e=>{if(!e||!(0,xs.default)(e))return null;let t=e.split(".");if(t.length!==4)return null;try{let[r,o,i,l]=t,p=JSON.parse(j(l)),d=j(r);return{ttl:Number(i),extraInfo:p,origin:d,blockHash:o}}catch(r){return console.error(`Error trying to decode ${e}:`,r),null}};function np(e){return Object.prototype.toString.call(e)==="[object String]"}var Kt=e=>{var r;if(!e||!np(e))return null;let t=e.split(".");if(t.length!==3)return console.error("Invalid nativeAuthToken. You may be trying to decode a loginToken. Try using decodeLoginToken method instead"),null;try{let[o,i,l]=t,p=j(o),d=j(i),m=Ss(d);if(!m)return{address:p,body:d,signature:l,blockHash:"",origin:"",ttl:0};let T=v(g({},m),{address:p,body:d,signature:l});return(r=m.extraInfo)!=null&&r.timestamp||delete T.extraInfo,T}catch(o){return null}};var zr={isExpired:!1},ws=e=>{if(!e)return zr;let t=Kt(e);if(!t)return zr;let r=Le(),{ttl:o,extraInfo:i}=t,l=i==null?void 0:i.timestamp;if(!l||!o)return zr;let p=l+o,d=r>p,m=p-r;return{isExpired:d,expiresAt:p,secondsUntilExpires:m}};n();pe();var Ke={origin:ee().origin,apiAddress:"https://api.multiversx.com",expirySeconds:60*60*24,tokenExpirationToastWarningSeconds:5*60},Ye=e=>{var r,o,i,l,p,d;return e===!0?Ke:{origin:(r=e==null?void 0:e.origin)!=null?r:Ke.origin,blockHashShard:e==null?void 0:e.blockHashShard,expirySeconds:(o=e==null?void 0:e.expirySeconds)!=null?o:Ke.expirySeconds,apiAddress:(i=e==null?void 0:e.apiAddress)!=null?i:Ke.apiAddress,tokenExpirationToastWarningSeconds:(l=e==null?void 0:e.tokenExpirationToastWarningSeconds)!=null?l:Ke.tokenExpirationToastWarningSeconds,extraInfo:(p=e==null?void 0:e.extraInfo)!=null?p:{},gatewayUrl:e==null?void 0:e.gatewayUrl,extraRequestHeaders:(d=e==null?void 0:e.extraRequestHeaders)!=null?d:{}}};var Kr=e=>{let{origin:t,apiAddress:r,expirySeconds:o,blockHashShard:i,extraInfo:l,gatewayUrl:p,extraRequestHeaders:d}=Ye(e),m=new As.NativeAuthClient({origin:t,apiUrl:r,expirySeconds:o,blockHashShard:i,gatewayUrl:p,extraRequestHeaders:d});return{getNativeAuthConfig:Ye,initialize:h=>S(void 0,null,function*(){var k,b;if(!r)throw new Error("Native auth configuration error: apiAddress is required");if(!t)throw new Error("Native auth configuration error: origin is required");let w=()=>m.getCurrentBlockHash();try{let E=(k=h==null?void 0:h.latestBlockInfo)!=null?k:yield Zi(r,i,w,h==null?void 0:h.noCache);if(!E)return"";let{hash:C,timestamp:K}=E,ue=m.encodeValue(JSON.stringify(g(g({},(b=h==null?void 0:h.extraInfo)!=null?b:l),K?{timestamp:K}:{})));return`${m.encodeValue(t)}.${C}.${o}.${ue}`}catch(E){let C=E instanceof Error?E.message:String(E);throw console.error("Native auth token creation failed:",C),new Error(`Native auth token creation failed: ${C}`)}}),getToken:({address:h,token:w,signature:k})=>m.getToken(h,w,k),getTokenExpiration:ws}};var op=(e,t)=>{var r;return t?t===!0?e:(r=t.apiAddress)!=null?r:e:null},Is=e=>{let t=q(Se),r=q(ki),o=(0,vs.useRef)(r==null?void 0:r.loginToken),i=op(t.apiAddress,e),l=Ye(g(g({},e===!0?{}:e),i?{apiAddress:i}:{})),p=Boolean(e),d=Kr(l),{address:m}=Gr(),T=Bt(),x=b=>{o.current=b,T(xe(g(v(g({},r),{loginToken:b}),i?{nativeAuthConfig:l}:{})))},h=()=>S(void 0,null,function*(){try{let b=yield d.initialize();if(!b)throw new Error("Failed to generate login token: Empty token received from native auth service");return b}catch(b){let E=b instanceof Error?b.message:String(b);throw console.error("Native auth login token generation failed:",E),new Error(`Native auth login token generation failed: ${E}`)}}),w=({address:b,signature:E})=>{let C=o.current;if(!p){T(xe(v(g({},C?{loginToken:C}:{}),{signature:E})));return}if(!C)throw new Error("Native auth login token not found. Ensure getNativeAuthLoginToken was called and completed successfully before setTokenLoginInfo.");try{let K=d.getToken({address:b,token:C,signature:E});return T(xe(g({loginToken:C,signature:E,nativeAuthToken:K},i?{nativeAuthConfig:l}:{}))),K}catch(K){return console.error("SDK setTokenLoginInfo - Error generating nativeAuthToken:",K),T(xe(g({loginToken:C,signature:E},i?{nativeAuthConfig:l}:{}))),null}};return{configuration:l,setLoginToken:x,getNativeAuthLoginToken:h,setTokenLoginInfo:w,refreshNativeAuthTokenLogin:C=>S(void 0,[C],function*({signMessageCallback:b,nativeAuthClientConfig:E}){let ue=yield Kr(E||l).initialize({noCache:Boolean(E)});if(o.current=ue,!ue)return;let Ze=new Yt.Message({address:new Yt.Address(m),data:s.Buffer.from(`${m}${ue}`)}),D=yield b(Ze,{});if(!(D!=null&&D.signature))throw"Message not signed";return w({address:m,signature:s.Buffer.from(D.signature).toString("hex")})})}};B();H();$();n();pe();var bs=()=>{let{search:e}=ee(),t=new URLSearchParams(e),r=Object.fromEntries(t);return r==null?void 0:r.accessToken};n();function ks(){return Mr(P.getState())}n();var Es=typeof window!="undefined"&&window.self!==window.top;n();var Rs=require("@multiversx/sdk-dapp-utils/out/helpers/providerNotInitializedError"),Cs=require("@multiversx/sdk-webview-provider/out/WebviewProvider");B();n();B();H();M();function Ls(e,t=P.dispatch){let r=Kt(e);if(r==null)return;let{signature:o,address:i}=r;o&&e&&i&&(t(xe({loginToken:e,signature:o,nativeAuthToken:e})),t(le({address:i,loginMethod:"extra"})))}n();n();n();I();H();function Ns(){P.dispatch(Ko())}n();Fe();n();H();M();n();n();var dp=require("@multiversx/sdk-core"),mp=A(require("bignumber.js"));I();n();n();n();n();n();var Ps=require("@lifeomic/axios-fetch"),Yr=A(require("axios")),Xr=(0,Ps.buildAxiosFetch)(Yr.default),Zr=(e,t)=>S(void 0,null,function*(){if(!e.ok)throw new Error(`HTTP error! Status: ${e.status}`);let o=e.clone().json(),[i]=yield Promise.all([o]);return{data:i,status:e.status,statusText:e.statusText,headers:e.headers,config:t}});function ip(e,t,r){return S(this,null,function*(){try{let o=yield Xr(e,g({method:"POST",body:t?JSON.stringify(t):void 0,headers:g({"Content-Type":"application/json"},(r==null?void 0:r.headers)||{})},r));return Zr(o,r)}catch(o){throw console.error("Fetch Error:",o),o}})}function sp(e,t){return S(this,null,function*(){try{let r=yield Xr(e,t);if(!r.ok)throw new Error(`HTTP error! Status: ${r.status}`);return Zr(r,t)}catch(r){throw console.error("Fetch Error:",r),r}})}function ap(e,t,r){return S(this,null,function*(){try{let o=yield Xr(e,g({method:"PATCH",body:t?JSON.stringify(t):void 0,headers:(r==null?void 0:r.headers)||{}},r));if(!o.ok)throw new Error(`HTTP error! Status: ${o.status}`);return Zr(o,r)}catch(o){throw console.error("Fetch Error:",o),o}})}var Xe=Yr.default.create();Xe.get=sp;Xe.post=ip;Xe.patch=ap;n();n();var cp=A(require("axios"));n();var pp=A(require("swr"));n();n();n();var gp=A(require("bignumber.js"));I();var ce=class{constructor(){this.init=t=>S(this,null,function*(){return yield this._provider.init(t)});this.login=t=>S(this,null,function*(){var o,i,l;let r=yield this._provider.login(t);return{address:(o=r==null?void 0:r.address)!=null?o:"",signature:(i=r==null?void 0:r.signature)!=null?i:"",accessToken:(l=r==null?void 0:r.accessToken)!=null?l:""}});this.logout=()=>S(this,null,function*(){return vi.purge(),yield this._provider.logout()});this.relogin=()=>S(this,null,function*(){let t=yield this._provider.relogin();return t?(Ls(t),Hi(),t):(console.error("Unable to re-login. Missing accessToken."),null)});this.signTransactions=t=>S(this,null,function*(){let r=yield this._provider.signTransactions(t);return r||(Ns(),this._provider.cancelAction(),null)});this.signTransaction=t=>S(this,null,function*(){return yield this._provider.signTransaction(t)});this.signMessage=t=>S(this,null,function*(){return yield this._provider.signMessage(t)});this.cancelAction=()=>S(this,null,function*(){return yield this._provider.cancelAction()});this.isInitialized=()=>this._provider.isInitialized();this.isConnected=()=>this._provider.isConnected();this.sendCustomRequest=t=>S(this,null,function*(){this._provider.sendPostMessage({type:t.request.method,payload:t.request.params})});this.getAddress=(0,Rs.providerNotInitializedError)("getAddress");this._provider=Cs.WebviewProvider.getInstance({resetStateCallback:()=>{P.dispatch(L()),this.logout()}}),this._provider.setHandshakeResponseTimeout(2e3)}static getInstance(){return ce._instance||(ce._instance=new ce),ce._instance}getAccount(){var r;let t=this._provider.getAccount();return{address:(r=t==null?void 0:t.address)!=null?r:""}}setAccount(t){this._provider.setAccount(t)}};function fp(){let e=Bt(),r=Is(!0);return()=>S(this,null,function*(){if(ks()&&!Es)throw new Error(bn);Zn(),e(po(he.address)),e(mt(he));let i=ce.getInstance(),l=bs();if(l){yo({data:l}),i.init(),Hr(i);return}try{if(!(yield i.init(fr))){console.warn("Something went wrong trying to redirect to wallet login..");return}let{token:d,error:m}=yield Jn({hasNativeAuth:!0,token:void 0,loginService:r});if(m)return;let{signature:T,address:x}=yield i.login({token:d});if(Hr(i),!x){console.warn("Login cancelled.");return}T&&d&&r.setTokenLoginInfo({signature:T,address:x}),e(le({address:x,loginMethod:"extra"}))}catch(p){console.error("error logging in",p)}})}0&&(module.exports={useInitiateExperimentalWebviewLogin});
|
|
1
|
+
"use strict";var Ds=Object.create;var Ce=Object.defineProperty,_s=Object.defineProperties,Os=Object.getOwnPropertyDescriptor,Ms=Object.getOwnPropertyDescriptors,Bs=Object.getOwnPropertyNames,Je=Object.getOwnPropertySymbols,Fs=Object.getPrototypeOf,Xt=Object.prototype.hasOwnProperty,Qr=Object.prototype.propertyIsEnumerable;var Jr=(e,t,r)=>t in e?Ce(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,g=(e,t)=>{for(var r in t||(t={}))Xt.call(t,r)&&Jr(e,r,t[r]);if(Je)for(var r of Je(t))Qr.call(t,r)&&Jr(e,r,t[r]);return e},v=(e,t)=>_s(e,Ms(t));var en=(e,t)=>{var r={};for(var o in e)Xt.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(e!=null&&Je)for(var o of Je(e))t.indexOf(o)<0&&Qr.call(e,o)&&(r[o]=e[o]);return r};var f=(e,t)=>()=>(e&&(t=e(e=0)),t);var U=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),de=(e,t)=>{for(var r in t)Ce(e,r,{get:t[r],enumerable:!0})},tn=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Bs(t))!Xt.call(e,i)&&i!==r&&Ce(e,i,{get:()=>t[i],enumerable:!(o=Os(t,i))||o.enumerable});return e};var A=(e,t,r)=>(r=e!=null?Ds(Fs(e)):{},tn(t||!e||!e.__esModule?Ce(r,"default",{value:e,enumerable:!0}):r,e)),De=e=>tn(Ce({},"__esModule",{value:!0}),e);var S=(e,t,r)=>new Promise((o,i)=>{var l=m=>{try{d(r.next(m))}catch(T){i(T)}},p=m=>{try{d(r.throw(m))}catch(T){i(T)}},d=m=>m.done?o(m.value):Promise.resolve(m.value).then(l,p);d((r=r.apply(e,t)).next())});var on=U(Qe=>{"use strict";n();Qe.byteLength=Ws;Qe.toByteArray=Gs;Qe.fromByteArray=qs;var Y=[],W=[],Us=typeof Uint8Array!="undefined"?Uint8Array:Array,Zt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(me=0,rn=Zt.length;me<rn;++me)Y[me]=Zt[me],W[Zt.charCodeAt(me)]=me;var me,rn;W["-".charCodeAt(0)]=62;W["_".charCodeAt(0)]=63;function nn(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");r===-1&&(r=t);var o=r===t?0:4-r%4;return[r,o]}function Ws(e){var t=nn(e),r=t[0],o=t[1];return(r+o)*3/4-o}function Vs(e,t,r){return(t+r)*3/4-r}function Gs(e){var t,r=nn(e),o=r[0],i=r[1],l=new Us(Vs(e,o,i)),p=0,d=i>0?o-4:o,m;for(m=0;m<d;m+=4)t=W[e.charCodeAt(m)]<<18|W[e.charCodeAt(m+1)]<<12|W[e.charCodeAt(m+2)]<<6|W[e.charCodeAt(m+3)],l[p++]=t>>16&255,l[p++]=t>>8&255,l[p++]=t&255;return i===2&&(t=W[e.charCodeAt(m)]<<2|W[e.charCodeAt(m+1)]>>4,l[p++]=t&255),i===1&&(t=W[e.charCodeAt(m)]<<10|W[e.charCodeAt(m+1)]<<4|W[e.charCodeAt(m+2)]>>2,l[p++]=t>>8&255,l[p++]=t&255),l}function $s(e){return Y[e>>18&63]+Y[e>>12&63]+Y[e>>6&63]+Y[e&63]}function Hs(e,t,r){for(var o,i=[],l=t;l<r;l+=3)o=(e[l]<<16&16711680)+(e[l+1]<<8&65280)+(e[l+2]&255),i.push($s(o));return i.join("")}function qs(e){for(var t,r=e.length,o=r%3,i=[],l=16383,p=0,d=r-o;p<d;p+=l)i.push(Hs(e,p,p+l>d?d:p+l));return o===1?(t=e[r-1],i.push(Y[t>>2]+Y[t<<4&63]+"==")):o===2&&(t=(e[r-2]<<8)+e[r-1],i.push(Y[t>>10]+Y[t>>4&63]+Y[t<<2&63]+"=")),i.join("")}});var sn=U(Jt=>{n();Jt.read=function(e,t,r,o,i){var l,p,d=i*8-o-1,m=(1<<d)-1,T=m>>1,x=-7,h=r?i-1:0,w=r?-1:1,k=e[t+h];for(h+=w,l=k&(1<<-x)-1,k>>=-x,x+=d;x>0;l=l*256+e[t+h],h+=w,x-=8);for(p=l&(1<<-x)-1,l>>=-x,x+=o;x>0;p=p*256+e[t+h],h+=w,x-=8);if(l===0)l=1-T;else{if(l===m)return p?NaN:(k?-1:1)*(1/0);p=p+Math.pow(2,o),l=l-T}return(k?-1:1)*p*Math.pow(2,l-o)};Jt.write=function(e,t,r,o,i,l){var p,d,m,T=l*8-i-1,x=(1<<T)-1,h=x>>1,w=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,k=o?0:l-1,b=o?1:-1,E=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(d=isNaN(t)?1:0,p=x):(p=Math.floor(Math.log(t)/Math.LN2),t*(m=Math.pow(2,-p))<1&&(p--,m*=2),p+h>=1?t+=w/m:t+=w*Math.pow(2,1-h),t*m>=2&&(p++,m/=2),p+h>=x?(d=0,p=x):p+h>=1?(d=(t*m-1)*Math.pow(2,i),p=p+h):(d=t*Math.pow(2,h-1)*Math.pow(2,i),p=0));i>=8;e[r+k]=d&255,k+=b,d/=256,i-=8);for(p=p<<i|d,T+=i;T>0;e[r+k]=p&255,k+=b,p/=256,T-=8);e[r+k-b]|=E*128}});var xn=U(Ie=>{"use strict";n();var Qt=on(),ve=sn(),an=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Ie.Buffer=u;Ie.SlowBuffer=Zs;Ie.INSPECT_MAX_BYTES=50;var et=2147483647;Ie.kMaxLength=et;u.TYPED_ARRAY_SUPPORT=js();!u.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function js(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),e.foo()===42}catch(r){return!1}}Object.defineProperty(u.prototype,"parent",{enumerable:!0,get:function(){if(!!u.isBuffer(this))return this.buffer}});Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(!!u.isBuffer(this))return this.byteOffset}});function re(e){if(e>et)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,u.prototype),t}function u(e,t,r){if(typeof e=="number"){if(typeof t=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return nr(e)}return pn(e,t,r)}u.poolSize=8192;function pn(e,t,r){if(typeof e=="string")return Ks(e,t);if(ArrayBuffer.isView(e))return Ys(e);if(e==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(X(e,ArrayBuffer)||e&&X(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(X(e,SharedArrayBuffer)||e&&X(e.buffer,SharedArrayBuffer)))return tr(e,t,r);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var o=e.valueOf&&e.valueOf();if(o!=null&&o!==e)return u.from(o,t,r);var i=Xs(e);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return u.from(e[Symbol.toPrimitive]("string"),t,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}u.from=function(e,t,r){return pn(e,t,r)};Object.setPrototypeOf(u.prototype,Uint8Array.prototype);Object.setPrototypeOf(u,Uint8Array);function un(e){if(typeof e!="number")throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function zs(e,t,r){return un(e),e<=0?re(e):t!==void 0?typeof r=="string"?re(e).fill(t,r):re(e).fill(t):re(e)}u.alloc=function(e,t,r){return zs(e,t,r)};function nr(e){return un(e),re(e<0?0:or(e)|0)}u.allocUnsafe=function(e){return nr(e)};u.allocUnsafeSlow=function(e){return nr(e)};function Ks(e,t){if((typeof t!="string"||t==="")&&(t="utf8"),!u.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=dn(e,t)|0,o=re(r),i=o.write(e,t);return i!==r&&(o=o.slice(0,i)),o}function er(e){for(var t=e.length<0?0:or(e.length)|0,r=re(t),o=0;o<t;o+=1)r[o]=e[o]&255;return r}function Ys(e){if(X(e,Uint8Array)){var t=new Uint8Array(e);return tr(t.buffer,t.byteOffset,t.byteLength)}return er(e)}function tr(e,t,r){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw new RangeError('"length" is outside of buffer bounds');var o;return t===void 0&&r===void 0?o=new Uint8Array(e):r===void 0?o=new Uint8Array(e,t):o=new Uint8Array(e,t,r),Object.setPrototypeOf(o,u.prototype),o}function Xs(e){if(u.isBuffer(e)){var t=or(e.length)|0,r=re(t);return r.length===0||e.copy(r,0,0,t),r}if(e.length!==void 0)return typeof e.length!="number"||ir(e.length)?re(0):er(e);if(e.type==="Buffer"&&Array.isArray(e.data))return er(e.data)}function or(e){if(e>=et)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+et.toString(16)+" bytes");return e|0}function Zs(e){return+e!=e&&(e=0),u.alloc(+e)}u.isBuffer=function(t){return t!=null&&t._isBuffer===!0&&t!==u.prototype};u.compare=function(t,r){if(X(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),X(r,Uint8Array)&&(r=u.from(r,r.offset,r.byteLength)),!u.isBuffer(t)||!u.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===r)return 0;for(var o=t.length,i=r.length,l=0,p=Math.min(o,i);l<p;++l)if(t[l]!==r[l]){o=t[l],i=r[l];break}return o<i?-1:i<o?1:0};u.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};u.concat=function(t,r){if(!Array.isArray(t))throw new TypeError('"list" argument must be an Array of Buffers');if(t.length===0)return u.alloc(0);var o;if(r===void 0)for(r=0,o=0;o<t.length;++o)r+=t[o].length;var i=u.allocUnsafe(r),l=0;for(o=0;o<t.length;++o){var p=t[o];if(X(p,Uint8Array))l+p.length>i.length?u.from(p).copy(i,l):Uint8Array.prototype.set.call(i,p,l);else if(u.isBuffer(p))p.copy(i,l);else throw new TypeError('"list" argument must be an Array of Buffers');l+=p.length}return i};function dn(e,t){if(u.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||X(e,ArrayBuffer))return e.byteLength;if(typeof e!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,o=arguments.length>2&&arguments[2]===!0;if(!o&&r===0)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return rr(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return hn(e).length;default:if(i)return o?-1:rr(e).length;t=(""+t).toLowerCase(),i=!0}}u.byteLength=dn;function Js(e,t,r){var o=!1;if((t===void 0||t<0)&&(t=0),t>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,t>>>=0,r<=t))return"";for(e||(e="utf8");;)switch(e){case"hex":return ca(this,t,r);case"utf8":case"utf-8":return gn(this,t,r);case"ascii":return sa(this,t,r);case"latin1":case"binary":return aa(this,t,r);case"base64":return oa(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return la(this,t,r);default:if(o)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),o=!0}}u.prototype._isBuffer=!0;function ge(e,t,r){var o=e[t];e[t]=e[r],e[r]=o}u.prototype.swap16=function(){var t=this.length;if(t%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<t;r+=2)ge(this,r,r+1);return this};u.prototype.swap32=function(){var t=this.length;if(t%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<t;r+=4)ge(this,r,r+3),ge(this,r+1,r+2);return this};u.prototype.swap64=function(){var t=this.length;if(t%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<t;r+=8)ge(this,r,r+7),ge(this,r+1,r+6),ge(this,r+2,r+5),ge(this,r+3,r+4);return this};u.prototype.toString=function(){var t=this.length;return t===0?"":arguments.length===0?gn(this,0,t):Js.apply(this,arguments)};u.prototype.toLocaleString=u.prototype.toString;u.prototype.equals=function(t){if(!u.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t?!0:u.compare(this,t)===0};u.prototype.inspect=function(){var t="",r=Ie.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"};an&&(u.prototype[an]=u.prototype.inspect);u.prototype.compare=function(t,r,o,i,l){if(X(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),!u.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(r===void 0&&(r=0),o===void 0&&(o=t?t.length:0),i===void 0&&(i=0),l===void 0&&(l=this.length),r<0||o>t.length||i<0||l>this.length)throw new RangeError("out of range index");if(i>=l&&r>=o)return 0;if(i>=l)return-1;if(r>=o)return 1;if(r>>>=0,o>>>=0,i>>>=0,l>>>=0,this===t)return 0;for(var p=l-i,d=o-r,m=Math.min(p,d),T=this.slice(i,l),x=t.slice(r,o),h=0;h<m;++h)if(T[h]!==x[h]){p=T[h],d=x[h];break}return p<d?-1:d<p?1:0};function mn(e,t,r,o,i){if(e.length===0)return-1;if(typeof r=="string"?(o=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,ir(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof t=="string"&&(t=u.from(t,o)),u.isBuffer(t))return t.length===0?-1:cn(e,t,r,o,i);if(typeof t=="number")return t=t&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):cn(e,[t],r,o,i);throw new TypeError("val must be string, number or Buffer")}function cn(e,t,r,o,i){var l=1,p=e.length,d=t.length;if(o!==void 0&&(o=String(o).toLowerCase(),o==="ucs2"||o==="ucs-2"||o==="utf16le"||o==="utf-16le")){if(e.length<2||t.length<2)return-1;l=2,p/=2,d/=2,r/=2}function m(k,b){return l===1?k[b]:k.readUInt16BE(b*l)}var T;if(i){var x=-1;for(T=r;T<p;T++)if(m(e,T)===m(t,x===-1?0:T-x)){if(x===-1&&(x=T),T-x+1===d)return x*l}else x!==-1&&(T-=T-x),x=-1}else for(r+d>p&&(r=p-d),T=r;T>=0;T--){for(var h=!0,w=0;w<d;w++)if(m(e,T+w)!==m(t,w)){h=!1;break}if(h)return T}return-1}u.prototype.includes=function(t,r,o){return this.indexOf(t,r,o)!==-1};u.prototype.indexOf=function(t,r,o){return mn(this,t,r,o,!0)};u.prototype.lastIndexOf=function(t,r,o){return mn(this,t,r,o,!1)};function Qs(e,t,r,o){r=Number(r)||0;var i=e.length-r;o?(o=Number(o),o>i&&(o=i)):o=i;var l=t.length;o>l/2&&(o=l/2);for(var p=0;p<o;++p){var d=parseInt(t.substr(p*2,2),16);if(ir(d))return p;e[r+p]=d}return p}function ea(e,t,r,o){return tt(rr(t,e.length-r),e,r,o)}function ta(e,t,r,o){return tt(da(t),e,r,o)}function ra(e,t,r,o){return tt(hn(t),e,r,o)}function na(e,t,r,o){return tt(ma(t,e.length-r),e,r,o)}u.prototype.write=function(t,r,o,i){if(r===void 0)i="utf8",o=this.length,r=0;else if(o===void 0&&typeof r=="string")i=r,o=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(o)?(o=o>>>0,i===void 0&&(i="utf8")):(i=o,o=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var l=this.length-r;if((o===void 0||o>l)&&(o=l),t.length>0&&(o<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var p=!1;;)switch(i){case"hex":return Qs(this,t,r,o);case"utf8":case"utf-8":return ea(this,t,r,o);case"ascii":case"latin1":case"binary":return ta(this,t,r,o);case"base64":return ra(this,t,r,o);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return na(this,t,r,o);default:if(p)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),p=!0}};u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function oa(e,t,r){return t===0&&r===e.length?Qt.fromByteArray(e):Qt.fromByteArray(e.slice(t,r))}function gn(e,t,r){r=Math.min(e.length,r);for(var o=[],i=t;i<r;){var l=e[i],p=null,d=l>239?4:l>223?3:l>191?2:1;if(i+d<=r){var m,T,x,h;switch(d){case 1:l<128&&(p=l);break;case 2:m=e[i+1],(m&192)===128&&(h=(l&31)<<6|m&63,h>127&&(p=h));break;case 3:m=e[i+1],T=e[i+2],(m&192)===128&&(T&192)===128&&(h=(l&15)<<12|(m&63)<<6|T&63,h>2047&&(h<55296||h>57343)&&(p=h));break;case 4:m=e[i+1],T=e[i+2],x=e[i+3],(m&192)===128&&(T&192)===128&&(x&192)===128&&(h=(l&15)<<18|(m&63)<<12|(T&63)<<6|x&63,h>65535&&h<1114112&&(p=h))}}p===null?(p=65533,d=1):p>65535&&(p-=65536,o.push(p>>>10&1023|55296),p=56320|p&1023),o.push(p),i+=d}return ia(o)}var ln=4096;function ia(e){var t=e.length;if(t<=ln)return String.fromCharCode.apply(String,e);for(var r="",o=0;o<t;)r+=String.fromCharCode.apply(String,e.slice(o,o+=ln));return r}function sa(e,t,r){var o="";r=Math.min(e.length,r);for(var i=t;i<r;++i)o+=String.fromCharCode(e[i]&127);return o}function aa(e,t,r){var o="";r=Math.min(e.length,r);for(var i=t;i<r;++i)o+=String.fromCharCode(e[i]);return o}function ca(e,t,r){var o=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>o)&&(r=o);for(var i="",l=t;l<r;++l)i+=ga[e[l]];return i}function la(e,t,r){for(var o=e.slice(t,r),i="",l=0;l<o.length-1;l+=2)i+=String.fromCharCode(o[l]+o[l+1]*256);return i}u.prototype.slice=function(t,r){var o=this.length;t=~~t,r=r===void 0?o:~~r,t<0?(t+=o,t<0&&(t=0)):t>o&&(t=o),r<0?(r+=o,r<0&&(r=0)):r>o&&(r=o),r<t&&(r=t);var i=this.subarray(t,r);return Object.setPrototypeOf(i,u.prototype),i};function R(e,t,r){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}u.prototype.readUintLE=u.prototype.readUIntLE=function(t,r,o){t=t>>>0,r=r>>>0,o||R(t,r,this.length);for(var i=this[t],l=1,p=0;++p<r&&(l*=256);)i+=this[t+p]*l;return i};u.prototype.readUintBE=u.prototype.readUIntBE=function(t,r,o){t=t>>>0,r=r>>>0,o||R(t,r,this.length);for(var i=this[t+--r],l=1;r>0&&(l*=256);)i+=this[t+--r]*l;return i};u.prototype.readUint8=u.prototype.readUInt8=function(t,r){return t=t>>>0,r||R(t,1,this.length),this[t]};u.prototype.readUint16LE=u.prototype.readUInt16LE=function(t,r){return t=t>>>0,r||R(t,2,this.length),this[t]|this[t+1]<<8};u.prototype.readUint16BE=u.prototype.readUInt16BE=function(t,r){return t=t>>>0,r||R(t,2,this.length),this[t]<<8|this[t+1]};u.prototype.readUint32LE=u.prototype.readUInt32LE=function(t,r){return t=t>>>0,r||R(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+this[t+3]*16777216};u.prototype.readUint32BE=u.prototype.readUInt32BE=function(t,r){return t=t>>>0,r||R(t,4,this.length),this[t]*16777216+(this[t+1]<<16|this[t+2]<<8|this[t+3])};u.prototype.readIntLE=function(t,r,o){t=t>>>0,r=r>>>0,o||R(t,r,this.length);for(var i=this[t],l=1,p=0;++p<r&&(l*=256);)i+=this[t+p]*l;return l*=128,i>=l&&(i-=Math.pow(2,8*r)),i};u.prototype.readIntBE=function(t,r,o){t=t>>>0,r=r>>>0,o||R(t,r,this.length);for(var i=r,l=1,p=this[t+--i];i>0&&(l*=256);)p+=this[t+--i]*l;return l*=128,p>=l&&(p-=Math.pow(2,8*r)),p};u.prototype.readInt8=function(t,r){return t=t>>>0,r||R(t,1,this.length),this[t]&128?(255-this[t]+1)*-1:this[t]};u.prototype.readInt16LE=function(t,r){t=t>>>0,r||R(t,2,this.length);var o=this[t]|this[t+1]<<8;return o&32768?o|4294901760:o};u.prototype.readInt16BE=function(t,r){t=t>>>0,r||R(t,2,this.length);var o=this[t+1]|this[t]<<8;return o&32768?o|4294901760:o};u.prototype.readInt32LE=function(t,r){return t=t>>>0,r||R(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24};u.prototype.readInt32BE=function(t,r){return t=t>>>0,r||R(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]};u.prototype.readFloatLE=function(t,r){return t=t>>>0,r||R(t,4,this.length),ve.read(this,t,!0,23,4)};u.prototype.readFloatBE=function(t,r){return t=t>>>0,r||R(t,4,this.length),ve.read(this,t,!1,23,4)};u.prototype.readDoubleLE=function(t,r){return t=t>>>0,r||R(t,8,this.length),ve.read(this,t,!0,52,8)};u.prototype.readDoubleBE=function(t,r){return t=t>>>0,r||R(t,8,this.length),ve.read(this,t,!1,52,8)};function _(e,t,r,o,i,l){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<l)throw new RangeError('"value" argument is out of bounds');if(r+o>e.length)throw new RangeError("Index out of range")}u.prototype.writeUintLE=u.prototype.writeUIntLE=function(t,r,o,i){if(t=+t,r=r>>>0,o=o>>>0,!i){var l=Math.pow(2,8*o)-1;_(this,t,r,o,l,0)}var p=1,d=0;for(this[r]=t&255;++d<o&&(p*=256);)this[r+d]=t/p&255;return r+o};u.prototype.writeUintBE=u.prototype.writeUIntBE=function(t,r,o,i){if(t=+t,r=r>>>0,o=o>>>0,!i){var l=Math.pow(2,8*o)-1;_(this,t,r,o,l,0)}var p=o-1,d=1;for(this[r+p]=t&255;--p>=0&&(d*=256);)this[r+p]=t/d&255;return r+o};u.prototype.writeUint8=u.prototype.writeUInt8=function(t,r,o){return t=+t,r=r>>>0,o||_(this,t,r,1,255,0),this[r]=t&255,r+1};u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(t,r,o){return t=+t,r=r>>>0,o||_(this,t,r,2,65535,0),this[r]=t&255,this[r+1]=t>>>8,r+2};u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(t,r,o){return t=+t,r=r>>>0,o||_(this,t,r,2,65535,0),this[r]=t>>>8,this[r+1]=t&255,r+2};u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(t,r,o){return t=+t,r=r>>>0,o||_(this,t,r,4,4294967295,0),this[r+3]=t>>>24,this[r+2]=t>>>16,this[r+1]=t>>>8,this[r]=t&255,r+4};u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(t,r,o){return t=+t,r=r>>>0,o||_(this,t,r,4,4294967295,0),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=t&255,r+4};u.prototype.writeIntLE=function(t,r,o,i){if(t=+t,r=r>>>0,!i){var l=Math.pow(2,8*o-1);_(this,t,r,o,l-1,-l)}var p=0,d=1,m=0;for(this[r]=t&255;++p<o&&(d*=256);)t<0&&m===0&&this[r+p-1]!==0&&(m=1),this[r+p]=(t/d>>0)-m&255;return r+o};u.prototype.writeIntBE=function(t,r,o,i){if(t=+t,r=r>>>0,!i){var l=Math.pow(2,8*o-1);_(this,t,r,o,l-1,-l)}var p=o-1,d=1,m=0;for(this[r+p]=t&255;--p>=0&&(d*=256);)t<0&&m===0&&this[r+p+1]!==0&&(m=1),this[r+p]=(t/d>>0)-m&255;return r+o};u.prototype.writeInt8=function(t,r,o){return t=+t,r=r>>>0,o||_(this,t,r,1,127,-128),t<0&&(t=255+t+1),this[r]=t&255,r+1};u.prototype.writeInt16LE=function(t,r,o){return t=+t,r=r>>>0,o||_(this,t,r,2,32767,-32768),this[r]=t&255,this[r+1]=t>>>8,r+2};u.prototype.writeInt16BE=function(t,r,o){return t=+t,r=r>>>0,o||_(this,t,r,2,32767,-32768),this[r]=t>>>8,this[r+1]=t&255,r+2};u.prototype.writeInt32LE=function(t,r,o){return t=+t,r=r>>>0,o||_(this,t,r,4,2147483647,-2147483648),this[r]=t&255,this[r+1]=t>>>8,this[r+2]=t>>>16,this[r+3]=t>>>24,r+4};u.prototype.writeInt32BE=function(t,r,o){return t=+t,r=r>>>0,o||_(this,t,r,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=t&255,r+4};function fn(e,t,r,o,i,l){if(r+o>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function Tn(e,t,r,o,i){return t=+t,r=r>>>0,i||fn(e,t,r,4,34028234663852886e22,-34028234663852886e22),ve.write(e,t,r,o,23,4),r+4}u.prototype.writeFloatLE=function(t,r,o){return Tn(this,t,r,!0,o)};u.prototype.writeFloatBE=function(t,r,o){return Tn(this,t,r,!1,o)};function yn(e,t,r,o,i){return t=+t,r=r>>>0,i||fn(e,t,r,8,17976931348623157e292,-17976931348623157e292),ve.write(e,t,r,o,52,8),r+8}u.prototype.writeDoubleLE=function(t,r,o){return yn(this,t,r,!0,o)};u.prototype.writeDoubleBE=function(t,r,o){return yn(this,t,r,!1,o)};u.prototype.copy=function(t,r,o,i){if(!u.isBuffer(t))throw new TypeError("argument should be a Buffer");if(o||(o=0),!i&&i!==0&&(i=this.length),r>=t.length&&(r=t.length),r||(r=0),i>0&&i<o&&(i=o),i===o||t.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(o<0||o>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),t.length-r<i-o&&(i=t.length-r+o);var l=i-o;return this===t&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,o,i):Uint8Array.prototype.set.call(t,this.subarray(o,i),r),l};u.prototype.fill=function(t,r,o,i){if(typeof t=="string"){if(typeof r=="string"?(i=r,r=0,o=this.length):typeof o=="string"&&(i=o,o=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!u.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(t.length===1){var l=t.charCodeAt(0);(i==="utf8"&&l<128||i==="latin1")&&(t=l)}}else typeof t=="number"?t=t&255:typeof t=="boolean"&&(t=Number(t));if(r<0||this.length<r||this.length<o)throw new RangeError("Out of range index");if(o<=r)return this;r=r>>>0,o=o===void 0?this.length:o>>>0,t||(t=0);var p;if(typeof t=="number")for(p=r;p<o;++p)this[p]=t;else{var d=u.isBuffer(t)?t:u.from(t,i),m=d.length;if(m===0)throw new TypeError('The value "'+t+'" is invalid for argument "value"');for(p=0;p<o-r;++p)this[p+r]=d[p%m]}return this};var pa=/[^+/0-9A-Za-z-_]/g;function ua(e){if(e=e.split("=")[0],e=e.trim().replace(pa,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function rr(e,t){t=t||1/0;for(var r,o=e.length,i=null,l=[],p=0;p<o;++p){if(r=e.charCodeAt(p),r>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&l.push(239,191,189);continue}else if(p+1===o){(t-=3)>-1&&l.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&l.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(t-=3)>-1&&l.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;l.push(r)}else if(r<2048){if((t-=2)<0)break;l.push(r>>6|192,r&63|128)}else if(r<65536){if((t-=3)<0)break;l.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((t-=4)<0)break;l.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return l}function da(e){for(var t=[],r=0;r<e.length;++r)t.push(e.charCodeAt(r)&255);return t}function ma(e,t){for(var r,o,i,l=[],p=0;p<e.length&&!((t-=2)<0);++p)r=e.charCodeAt(p),o=r>>8,i=r%256,l.push(i),l.push(o);return l}function hn(e){return Qt.toByteArray(ua(e))}function tt(e,t,r,o){for(var i=0;i<o&&!(i+r>=t.length||i>=e.length);++i)t[i+r]=e[i];return i}function X(e,t){return e instanceof t||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===t.name}function ir(e){return e!==e}var ga=function(){for(var e="0123456789abcdef",t=new Array(256),r=0;r<16;++r)for(var o=r*16,i=0;i<16;++i)t[o+i]=e[r]+e[i];return t}()});var In=U((Ap,vn)=>{n();var N=vn.exports={},Z,J;function sr(){throw new Error("setTimeout has not been defined")}function ar(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?Z=setTimeout:Z=sr}catch(e){Z=sr}try{typeof clearTimeout=="function"?J=clearTimeout:J=ar}catch(e){J=ar}})();function Sn(e){if(Z===setTimeout)return setTimeout(e,0);if((Z===sr||!Z)&&setTimeout)return Z=setTimeout,setTimeout(e,0);try{return Z(e,0)}catch(t){try{return Z.call(null,e,0)}catch(r){return Z.call(this,e,0)}}}function fa(e){if(J===clearTimeout)return clearTimeout(e);if((J===ar||!J)&&clearTimeout)return J=clearTimeout,clearTimeout(e);try{return J(e)}catch(t){try{return J.call(null,e)}catch(r){return J.call(this,e)}}}var ne=[],be=!1,fe,rt=-1;function Ta(){!be||!fe||(be=!1,fe.length?ne=fe.concat(ne):rt=-1,ne.length&&wn())}function wn(){if(!be){var e=Sn(Ta);be=!0;for(var t=ne.length;t;){for(fe=ne,ne=[];++rt<t;)fe&&fe[rt].run();rt=-1,t=ne.length}fe=null,be=!1,fa(e)}}N.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];ne.push(new An(e,t)),ne.length===1&&!be&&Sn(wn)};function An(e,t){this.fun=e,this.array=t}An.prototype.run=function(){this.fun.apply(null,this.array)};N.title="browser";N.browser=!0;N.env={};N.argv=[];N.version="";N.versions={};function oe(){}N.on=oe;N.addListener=oe;N.once=oe;N.off=oe;N.removeListener=oe;N.removeAllListeners=oe;N.emit=oe;N.prependListener=oe;N.prependOnceListener=oe;N.listeners=function(e){return[]};N.binding=function(e){throw new Error("process.binding is not supported")};N.cwd=function(){return"/"};N.chdir=function(e){throw new Error("process.chdir is not supported")};N.umask=function(){return 0}});var s,c,ya,a,n=f(()=>{s=A(xn()),c=A(In()),ya=function(e){function t(){var o=this||self;return delete e.prototype.__magic__,o}if(typeof globalThis=="object")return globalThis;if(this)return t();e.defineProperty(e.prototype,"__magic__",{configurable:!0,get:t});var r=__magic__;return r}(Object),a=ya});var bn,cr=f(()=>{"use strict";n();bn="Action not allowed. User is logged in. Call logout() first"});var kn=f(()=>{"use strict";n()});var En=f(()=>{"use strict";n()});var lr,Ln=f(()=>{"use strict";n();lr=(o=>(o.SetGuardian="SetGuardian",o.GuardAccount="GuardAccount",o.UnGuardAccount="UnGuardAccount",o))(lr||{})});var Nn=f(()=>{"use strict";n()});var pr=f(()=>{"use strict";n()});var Pn=f(()=>{"use strict";n()});var Rn=f(()=>{"use strict";n()});var Cn=f(()=>{"use strict";n()});var Dn=f(()=>{"use strict";n()});var nt,ke,ot=f(()=>{"use strict";n();nt=require("@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider"),ke=require("@multiversx/sdk-web-wallet-cross-window-provider/out/enums")});var Te,_n,_p,On,Op,$=f(()=>{"use strict";n();ot();Te=(w=>(w.ledger="ledger",w.walletconnect="walletconnect",w.walletconnectv2="walletconnectv2",w.wallet="wallet",w.crossWindow="crossWindow",w.iframe="iframe",w.extension="extension",w.passkey="passkey",w.metamask="metamask",w.opera="opera",w.extra="extra",w.none="",w))(Te||{}),_n=(r=>(r.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",r.reloginRequest="RELOGIN_REQUEST",r))(_n||{}),_p=g(g({},ke.WindowProviderRequestEnums),_n),On=(t=>(t.reloginResponse="RELOGIN_RESPONSE",t))(On||{}),Op=g(g({},ke.WindowProviderResponseEnums),On)});var Mn=f(()=>{"use strict";n()});var Bn=f(()=>{"use strict";n()});var O=f(()=>{"use strict";n()});var Fn=f(()=>{"use strict";n()});var Un=f(()=>{"use strict";n()});var Wn=f(()=>{"use strict";n()});var M=f(()=>{"use strict";n();Rn();Cn();Dn();$();Mn();Bn();O();Fn();Un();Wn()});var ur,Vn,Jp,Gn,Qp,$n,eu,tu,ru,Hn=f(()=>{"use strict";n();M();ur={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",xAliasAddress:"https://devnet.xalias.com",apiAddress:"https://devnet-api.multiversx.com",extrasApiAddress:"https://devnet-extras-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://devnet-iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",xAliasAddress:"https://testnet.xalias.com",apiAddress:"https://testnet-api.multiversx.com",extrasApiAddress:"https://testnet-extras-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://testnet-iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",xAliasAddress:"https://xalias.com",apiAddress:"https://api.multiversx.com",extrasApiAddress:"https://extras-api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",metamaskSnapWalletAddress:"https://iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3}},{chainId:Vn,egldLabel:Jp}=ur["devnet"],{chainId:Gn,egldLabel:Qp}=ur["testnet"],{chainId:$n,egldLabel:eu}=ur["mainnet"],tu={["devnet"]:Vn,["testnet"]:Gn,["mainnet"]:$n},ru={[Vn]:"devnet",[Gn]:"testnet",[$n]:"mainnet"}});var dr=f(()=>{"use strict";n()});var Q,qn=f(()=>{"use strict";n();Q=require("@multiversx/sdk-web-wallet-provider")});var it,mr=f(()=>{"use strict";n();it=require("@multiversx/sdk-dapp-utils/out/constants/browserConstants")});var jn,zn,gr,cu,lu,Kn=f(()=>{"use strict";n();mr();gr=String((zn=(jn=it.safeWindow)==null?void 0:jn.navigator)==null?void 0:zn.userAgent),cu=/^((?!chrome|android).)*safari/i.test(gr),lu=/firefox/i.test(gr)&&/windows/i.test(gr)});var st,at,Yn,fr,ct,Xn,Ee,I=f(()=>{"use strict";n();kn();cr();En();Ln();Nn();pr();Pn();Hn();dr();qn();Kn();st=5e4,at=1e9,Yn=1,fr="4.6.3",ct="logout",Xn="login",Ee="0"});var Le,pt=f(()=>{"use strict";n();Le=()=>Date.now()/1e3});var Qn=f(()=>{"use strict";n()});var eo=f(()=>{"use strict";n()});var to=f(()=>{"use strict";n();pt();Qn();eo()});var Tr={};de(Tr,{clear:()=>Aa,getItem:()=>Sa,localStorageKeys:()=>ye,removeItem:()=>wa,setItem:()=>xa});var ye,ut,xa,Sa,wa,Aa,_e=f(()=>{"use strict";n();to();ye={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event",guardianBreachToastDismissTimestamp:"sdk-dapp-guardian-breach-toast-dismiss-timestamp"},ut=typeof localStorage!="undefined",xa=({key:e,data:t,expires:r})=>{!ut||localStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},Sa=e=>{if(!ut)return;let t=localStorage.getItem(String(e));if(!t)return null;let r=JSON.parse(t);return!r||!r.hasOwnProperty("expires")||!r.hasOwnProperty("data")?null:Le()>=r.expires?(localStorage.removeItem(String(e)),null):r.data},wa=e=>{!ut||localStorage.removeItem(String(e))},Aa=()=>{!ut||localStorage.clear()}});var yr={};de(yr,{clear:()=>io,getItem:()=>no,removeItem:()=>oo,sessionStorageKeys:()=>va,setItem:()=>ro,storage:()=>Ia});var va,ro,no,oo,io,Ia,so=f(()=>{"use strict";n();va={address:"address",shard:"shard",toasts:"toasts",toastProgress:"toastProgress"},ro=({key:e,data:t,expires:r})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},no=e=>{let t=sessionStorage.getItem(String(e));if(!t)return null;let r=JSON.parse(t);return!r||!r.hasOwnProperty("expires")||!r.hasOwnProperty("data")?null:Date.now()>=r.expires?(sessionStorage.removeItem(String(e)),null):r.data},oo=e=>sessionStorage.removeItem(String(e)),io=()=>sessionStorage.clear(),Ia={setItem:ro,getItem:no,removeItem:oo,clear:io}});var Ne,dt=f(()=>{"use strict";n();_e();so();Ne={session:yr,local:Tr}});var hr,L,le,B=f(()=>{"use strict";n();hr=require("@reduxjs/toolkit");I();L=(0,hr.createAction)(ct),le=(0,hr.createAction)(Xn,e=>({payload:e}))});var Sr,ao,co,he,xr,lo,mt,po,uo,Yu,Xu,Zu,Ju,Qu,ed,td,rd,gt,ft=f(()=>{"use strict";n();Sr=require("@multiversx/sdk-core"),ao=require("@reduxjs/toolkit"),co=require("redux-persist");I();dt();_e();B();he={balance:"...",address:"",isGuarded:!1,nonce:0,txCount:0,scrCount:0,claimableRewards:Ee},xr={address:"",websocketEvent:null,websocketBatchEvent:null,accounts:{"":he},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},lo=(0,ao.createSlice)({name:"accountInfoSlice",initialState:xr,reducers:{setAddress:(e,t)=>{let r=t.payload;e.address=r,e.publicKey=r?new Sr.Address(r).toHex():""},setAccount:(e,t)=>{let r=e.address===t.payload.address;e.accounts={[e.address]:r?t.payload:he},e.shard=t.payload.shard,e.isAccountLoading=!1,e.accountLoadingError=null},setAccountNonce:(e,t)=>{let{address:r}=e;e.accounts[r].nonce=t.payload},setAccountShard:(e,t)=>{e.shard=t.payload},setLedgerAccount:(e,t)=>{e.ledgerAccount=t.payload},updateLedgerAccount:(e,t)=>{e.ledgerAccount!=null&&(e.ledgerAccount.index=t.payload.index,e.ledgerAccount.address=t.payload.address)},setWalletConnectAccount:(e,t)=>{e.walletConnectAccount=t.payload},setIsAccountLoading:(e,t)=>{e.isAccountLoading=t.payload,e.accountLoadingError=null},setAccountLoadingError:(e,t)=>{e.accountLoadingError=t.payload,e.isAccountLoading=!1},setWebsocketEvent:(e,t)=>{e.websocketEvent={timestamp:Date.now(),message:t.payload}},setWebsocketBatchEvent:(e,t)=>{e.websocketBatchEvent={timestamp:Date.now(),data:t.payload}}},extraReducers:e=>{e.addCase(L,()=>(Ne.local.removeItem(ye.loginExpiresAt),xr)),e.addCase(le,(t,r)=>{let{address:o}=r.payload;t.address=o,t.publicKey=new Sr.Address(o).toHex()}),e.addCase(co.REHYDRATE,(t,r)=>{var T;if(!((T=r.payload)!=null&&T.account))return;let{account:o}=r.payload,{address:i,shard:l,accounts:p,publicKey:d}=o;t.address=i,t.shard=l;let m=p&&i in p;t.accounts=m?p:xr.accounts,t.publicKey=d})}}),{setAccount:mt,setAddress:po,setAccountNonce:uo,setAccountShard:Yu,setLedgerAccount:Xu,updateLedgerAccount:Zu,setWalletConnectAccount:Ju,setIsAccountLoading:Qu,setAccountLoadingError:ed,setWebsocketEvent:td,setWebsocketBatchEvent:rd}=lo.actions,gt=lo.reducer});function Oe(){return new Date().setHours(new Date().getHours()+24)}function Me(e){Ne.local.setItem({key:ye.loginExpiresAt,data:e,expires:e})}var wr=f(()=>{"use strict";n();dt();_e()});var go,mo,fo,dd,md,gd,xe,fd,Td,To,yd,hd,yo,Tt,yt=f(()=>{"use strict";n();go=require("@reduxjs/toolkit");wr();$();B();mo={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,passkeyLogin:null,operaLogin:null,crossWindowLogin:null,iframeWindowLogin:null,isLoginSessionInvalid:!1,webviewLogin:null},fo=(0,go.createSlice)({name:"loginInfoSlice",initialState:mo,reducers:{setLoginMethod:(e,t)=>{e.loginMethod=t.payload},setTokenLogin:(e,t)=>{e.tokenLogin=t.payload},setTokenLoginSignature:(e,t)=>{(e==null?void 0:e.tokenLogin)!=null&&(e.tokenLogin.signature=t.payload)},setWalletLogin:(e,t)=>{e.walletLogin=t.payload},setWalletConnectLogin:(e,t)=>{e.walletConnectLogin=t.payload},setLedgerLogin:(e,t)=>{e.ledgerLogin=t.payload},setWebviewLogin:(e,t)=>{e.webviewLogin=t.payload},invalidateLoginSession:e=>{e.isLoginSessionInvalid=!0},setLogoutRoute:(e,t)=>{e.logoutRoute=t.payload},setIsWalletConnectV2Initialized:(e,t)=>{e.isWalletConnectV2Initialized=t.payload}},extraReducers:e=>{e.addCase(L,()=>mo),e.addCase(le,(t,r)=>{t.isLoginSessionInvalid=!1,t.loginMethod=r.payload.loginMethod,t.iframeLoginType=r.payload.iframeLoginType,Me(Oe())})}}),{setLoginMethod:dd,setWalletConnectLogin:md,setLedgerLogin:gd,setTokenLogin:xe,setTokenLoginSignature:fd,setWalletLogin:Td,invalidateLoginSession:To,setLogoutRoute:yd,setIsWalletConnectV2Initialized:hd,setWebviewLogin:yo}=fo.actions,Tt=fo.reducer});var xo,ho,So,Ad,ba,vd,Id,ht,xt=f(()=>{"use strict";n();xo=require("@reduxjs/toolkit");B();ho={},So=(0,xo.createSlice)({name:"modalsSlice",initialState:ho,reducers:{setTxSubmittedModal:(e,t)=>{e.txSubmittedModal=t.payload},setNotificationModal:(e,t)=>{e.notificationModal=t.payload},clearTxSubmittedModal:e=>{e.txSubmittedModal=void 0},clearNotificationModal:e=>{e.notificationModal=void 0}},extraReducers:e=>{e.addCase(L,()=>ho)}}),{setTxSubmittedModal:Ad,setNotificationModal:ba,clearTxSubmittedModal:vd,clearNotificationModal:Id}=So.actions,ht=So.reducer});var Be,St=f(()=>{"use strict";n();Be=()=>typeof window!="undefined"&&typeof(window==null?void 0:window.location)!="undefined"});var ee,pe=f(()=>{"use strict";n();St();ee=()=>{if(!Be())return{pathname:"",hash:"",origin:"",href:"",search:""};let{location:{pathname:t,hash:r,origin:o,href:i,search:l}}=window;return{pathname:t,hash:r,origin:o,href:i,search:l}}});var wo=f(()=>{"use strict";n();pe()});var Ao=f(()=>{"use strict";n();Fe()});var vo=f(()=>{"use strict";n();mr()});var Fe=f(()=>{"use strict";n();wo();Ao();pe();vo()});var Io=f(()=>{"use strict";n();Fe()});var bo=f(()=>{"use strict";n();Io()});function ko(e){return e[Math.floor(Math.random()*e.length)]}var Eo=f(()=>{"use strict";n()});var Lo=f(()=>{"use strict";n();pr()});var No=f(()=>{"use strict";n();bo();Eo();Lo()});var Po,Ro,Co,Ar,Ea,Do,om,im,sm,wt,At=f(()=>{"use strict";n();Po=require("@reduxjs/toolkit"),Ro=A(require("lodash.omit")),Co=require("redux-persist");dr();B();No();Ar={id:"not-configured",chainId:"",name:"NOT CONFIGURED",egldLabel:"",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"",walletConnectBridgeAddress:"",walletConnectV2RelayAddress:"",walletConnectV2ProjectId:"",walletConnectV2Options:{},walletAddress:"",apiAddress:"",explorerAddress:"",apiTimeout:"4000",roundDuration:6e3},Ea={network:Ar},Do=(0,Po.createSlice)({name:"appConfig",initialState:Ea,reducers:{initializeNetworkConfig:(e,t)=>{let r=ko(t.payload.walletConnectV2RelayAddresses),o=(0,Ro.default)(t.payload,"walletConnectV2RelayAddresses");e.network=v(g(g({},e.network),o),{walletConnectV2RelayAddress:r})},updateNetworkConfig:(e,t)=>{e.network=g(g({},e.network),t.payload)},setCustomWalletAddress:(e,t)=>{e.network.customWalletAddress=t.payload}},extraReducers:e=>{e.addCase(L,t=>{t.network.customWalletAddress=void 0}),e.addCase(Co.REHYDRATE,(t,r)=>{var i,l;if(!((l=(i=r.payload)==null?void 0:i.network)!=null&&l.customWalletAddress))return;let{network:{customWalletAddress:o}}=r.payload;t.network.customWalletAddress=o})}}),{initializeNetworkConfig:om,updateNetworkConfig:im,setCustomWalletAddress:sm}=Do.actions,wt=Do.reducer});var _o,vr,Oo,dm,mm,gm,vt,It=f(()=>{"use strict";n();_o=require("@reduxjs/toolkit");M();B();vr={isSigning:!1,signedSessions:{}},Oo=(0,_o.createSlice)({name:"signedMessageInfoSliceState",initialState:vr,reducers:{setSignSession:(e,t)=>{let{sessionId:r,signedSession:o,errorMessage:i}=t.payload;i&&(e.errorMessage=i),e.isSigning=o.status==="pending",e.signedSessions[r]=g(g({},e.signedSessions[r]),o)},setSignSessionState:(e,t)=>g(g({},e),t.payload),clearSignedMessageInfo:()=>vr},extraReducers:e=>{e.addCase(L,()=>vr)}}),{setSignSession:dm,clearSignedMessageInfo:mm,setSignSessionState:gm}=Oo.actions,vt=Oo.reducer});var Bo,Fo,Mo,Uo,wm,Am,vm,La,bt,kt=f(()=>{"use strict";n();Bo=require("@reduxjs/toolkit"),Fo=require("redux-persist");M();pt();B();Mo={customToasts:[],transactionToasts:[]},Uo=(0,Bo.createSlice)({name:"toastsSlice",initialState:Mo,reducers:{addCustomToast:(e,t)=>{let r=t.payload.toastId||`custom-toast-${e.customToasts.length+1}`,o=e.customToasts.findIndex(i=>i.toastId===r);if(o!==-1){e.customToasts[o]=v(g(g({},e.customToasts[o]),t.payload),{type:"custom",toastId:r});return}e.customToasts.push(v(g({},t.payload),{type:"custom",toastId:r}))},removeCustomToast:(e,t)=>{e.customToasts=e.customToasts.filter(r=>r.toastId!==t.payload)},addTransactionToast:(e,t)=>{e.transactionToasts.push({type:"transaction",startTimestamp:Le(),toastId:t.payload||`custom-toast-${e.transactionToasts.length+1}`})},removeTransactionToast:(e,t)=>{e.transactionToasts=e.transactionToasts.filter(r=>r.toastId!==t.payload)}},extraReducers:e=>{e.addCase(L,()=>Mo),e.addCase(Fo.REHYDRATE,(t,r)=>{var i,l;let o=(l=(i=r.customToasts)==null?void 0:i.filter(p=>!("component"in p)))!=null?l:[];t.customToasts=o})}}),{addCustomToast:wm,removeCustomToast:Am,addTransactionToast:vm,removeTransactionToast:La}=Uo.actions,bt=Uo.reducer});var Wo,br,kr,Er,Na,Ir,Vo,Em,Pa,Lm,Et,Lt=f(()=>{"use strict";n();Wo=require("@reduxjs/toolkit");B();br="Transaction failed",kr="Transaction successful",Er="Processing transaction",Na="Transaction submitted",Ir={},Vo=(0,Wo.createSlice)({name:"transactionsInfo",initialState:Ir,reducers:{setTransactionsDisplayInfo(e,t){let{sessionId:r,transactionsDisplayInfo:o}=t.payload;r!=null&&(e[r]={errorMessage:(o==null?void 0:o.errorMessage)||br,successMessage:(o==null?void 0:o.successMessage)||kr,processingMessage:(o==null?void 0:o.processingMessage)||Er,submittedMessage:(o==null?void 0:o.submittedMessage)||Na,transactionDuration:o==null?void 0:o.transactionDuration})},clearTransactionsInfoForSessionId(e,t){t.payload!=null&&delete e[t.payload]},clearTransactionsInfo:()=>Ir},extraReducers:e=>{e.addCase(L,()=>Ir)}}),{clearTransactionsInfo:Em,setTransactionsDisplayInfo:Pa,clearTransactionsInfoForSessionId:Lm}=Vo.actions,Et=Vo.reducer});function Go(e){return e!=null&&(Va(e)||ja(e))}function Nt(e){return e!=null&&(Ga(e)||za(e))}function Pt(e){return e!=null&&($a(e)||Ka(e))}function $o(e){return e!=null&&(Ha(e)||Ya(e))}function Ho(e){return e!=null&&qa(e)}function Va(e){return e!=null&&Ca.includes(e)}function Ga(e){return e!=null&&Da.includes(e)}function $a(e){return e!=null&&_a.includes(e)}function Ha(e){return e!=null&&Oa.includes(e)}function qa(e){return e!=null&&Ma.includes(e)}function ja(e){return e!=null&&Ba.includes(e)}function za(e){return e!=null&&Fa.includes(e)}function Ka(e){return e!=null&&Ua.includes(e)}function Ya(e){return e!=null&&Wa.includes(e)}var Ca,Da,_a,Oa,Ma,Ba,Fa,Ua,Wa,Nr=f(()=>{"use strict";n();$();Ca=["sent"],Da=["success"],_a=["fail","cancelled","timedOut"],Oa=["invalid"],Ma=["timedOut"],Ba=["pending"],Fa=["success"],Ua=["fail","invalid"],Wa=["not executed"]});var qo,jo,Ue,Xa,zo,Bm,Fm,Za,Ko,Ja,Qa,Um,Wm,ec,Vm,Gm,Rt,Ct=f(()=>{"use strict";n();qo=require("@reduxjs/toolkit"),jo=require("redux-persist");$();Nr();B();Ue={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},Xa={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},zo=(0,qo.createSlice)({name:"transactionsSlice",initialState:Ue,reducers:{moveTransactionsToSignedState:(e,t)=>{var m,T;let{sessionId:r,transactions:o,errorMessage:i,status:l,redirectRoute:p,customTransactionInformation:d}=t.payload;e.customTransactionInformationForSessionId[r]=g(g(g({},Xa),((m=e.signedTransactions[r])==null?void 0:m.customTransactionInformation)||{}),e.customTransactionInformationForSessionId[r]||{}),e.signedTransactions[r]={transactions:o,status:l,errorMessage:i,redirectRoute:p,customTransactionInformation:g(g({},e.customTransactionInformationForSessionId[r]),d!=null?d:{})},((T=e==null?void 0:e.transactionsToSign)==null?void 0:T.sessionId)===r&&(e.transactionsToSign=Ue.transactionsToSign)},clearSignedTransaction:(e,t)=>{e.signedTransactions[t.payload]&&delete e.signedTransactions[t.payload]},clearTransactionToSign:e=>{e!=null&&e.transactionsToSign&&(e.transactionsToSign=null)},updateSignedTransaction:(e,t)=>{e.signedTransactions=g(g({},e.signedTransactions),t.payload)},updateSignedTransactions:(e,t)=>{let{sessionId:r,status:o,errorMessage:i,transactions:l}=t.payload;e.signedTransactions[r]!=null&&(e.signedTransactions[r].status=o,i!=null&&(e.signedTransactions[r].errorMessage=i),l!=null&&(e.signedTransactions[r].transactions=l))},updateSignedTransactionStatus:(e,t)=>{var T,x,h,w,k,b,E,C;let{sessionId:r,status:o,errorMessage:i,transactionHash:l,serverTransaction:p,inTransit:d}=t.payload,m=(x=(T=e.signedTransactions)==null?void 0:T[r])==null?void 0:x.transactions;if(m!=null){e.signedTransactions[r].transactions=m.map(D=>D.hash===l?v(g(g({},p!=null?p:{}),D),{status:o,errorMessage:i,inTransit:d}):D);let K=(w=(h=e.signedTransactions[r])==null?void 0:h.transactions)==null?void 0:w.every(D=>Nt(D.status)),ue=(b=(k=e.signedTransactions[r])==null?void 0:k.transactions)==null?void 0:b.some(D=>Pt(D.status)),Ze=(C=(E=e.signedTransactions[r])==null?void 0:E.transactions)==null?void 0:C.every(D=>$o(D.status));K&&(e.signedTransactions[r].status="success"),ue&&(e.signedTransactions[r].status="fail"),Ze&&(e.signedTransactions[r].status="invalid")}},setTransactionsToSign:(e,t)=>{e.transactionsToSign=t.payload;let{sessionId:r,customTransactionInformation:o}=t.payload;e.customTransactionInformationForSessionId[r]=o,e.signTransactionsError=null},clearAllTransactionsToSign:e=>{e.transactionsToSign=Ue.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=Ue.signedTransactions},setSignTransactionsError:(e,t)=>{e.signTransactionsError=t.payload},setSignTransactionsCancelMessage:(e,t)=>{e.signTransactionsCancelMessage=t.payload},updateSignedTransactionsCustomTransactionInformation:(e,t)=>{let{sessionId:r,customTransactionInformationOverrides:o}=t.payload;e.signedTransactions[r]!=null&&(e.signedTransactions[r].customTransactionInformation=g(g({},e.signedTransactions[r].customTransactionInformation),o))}},extraReducers:e=>{e.addCase(L,()=>Ue),e.addCase(jo.REHYDRATE,(t,r)=>{var p;if(t.signTransactionsCancelMessage=null,!((p=r.payload)!=null&&p.transactions))return;let{signedTransactions:o,customTransactionInformationForSessionId:i}=r.payload.transactions,l=Object.entries(o).reduce((d,[m,T])=>{let x=new Date(m),h=new Date;return h.setHours(h.getHours()+5),h-x>0||(d[m]=T),d},{});i!=null&&(t.customTransactionInformationForSessionId=i),o!=null&&(t.signedTransactions=l)})}}),{updateSignedTransactionStatus:Bm,updateSignedTransactions:Fm,setTransactionsToSign:Za,clearAllTransactionsToSign:Ko,clearAllSignedTransactions:Ja,clearSignedTransaction:Qa,clearTransactionToSign:Um,setSignTransactionsError:Wm,setSignTransactionsCancelMessage:ec,moveTransactionsToSignedState:Vm,updateSignedTransactionsCustomTransactionInformation:Gm}=zo.actions,Rt=zo.reducer});var Yo,Pr,Xo,jm,zm,tc,Km,Dt,_t=f(()=>{"use strict";n();Yo=require("@reduxjs/toolkit");B();Pr={},Xo=(0,Yo.createSlice)({name:"batchTransactionsSlice",initialState:Pr,reducers:{setBatchTransactions:(e,t)=>{e[t.payload.id]=t.payload},updateBatchTransactions:(e,t)=>{e[t.payload.id]=t.payload},clearBatchTransactions:(e,t)=>{delete e[t.payload.batchId]},clearAllBatchTransactions:()=>Pr},extraReducers:e=>{e.addCase(L,()=>Pr)}}),{setBatchTransactions:jm,updateBatchTransactions:zm,clearBatchTransactions:tc,clearAllBatchTransactions:Km}=Xo.actions,Dt=Xo.reducer});var Jo,Zo,Qo,Jm,ei,Rr=f(()=>{"use strict";n();Jo=require("@reduxjs/toolkit");B();Zo={},Qo=(0,Jo.createSlice)({name:"dappConfigSlice",initialState:Zo,reducers:{setDappConfig:(e,t)=>t.payload},extraReducers:e=>{e.addCase(L,()=>Zo)}}),{setDappConfig:Jm}=Qo.actions,ei=Qo.reducer});var H=f(()=>{"use strict";n();ft();yt();xt();At();It();kt();Lt();Ct();_t();Rr()});var Cr=f(()=>{"use strict";n()});var ni,ic,sc,We,Dr=f(()=>{"use strict";n();ni=require("@reduxjs/toolkit");Cr();ft();_t();Rr();yt();xt();At();It();kt();Lt();Ct();ic={["account"]:gt,["dappConfig"]:ei,["loginInfo"]:Tt,["modals"]:ht,["networkConfig"]:wt,["signedMessageInfo"]:vt,["toasts"]:bt,["transactionsInfo"]:Et,["transactions"]:Rt,["batchTransactions"]:Dt},sc=(e={})=>(0,ni.combineReducers)(g(g({},ic),e)),We=sc});var ai={};de(ai,{default:()=>Ac,sessionStorageReducers:()=>_r});function ie(e,t=[]){return{key:e,version:1,storage:ii.default,blacklist:t}}var F,oi,ii,ac,Ve,cc,lc,pc,uc,dc,mc,gc,fc,Tc,yc,si,hc,_r,xc,Sc,wc,Ac,ci=f(()=>{"use strict";n();F=require("redux-persist"),oi=A(require("redux-persist/lib/storage")),ii=A(require("redux-persist/lib/storage/session"));Dr();H();ft();_t();yt();xt();At();It();kt();Lt();Ct();Cr();ac={persistReducersStorageType:"localStorage"},Ve={["account"]:"sdk-dapp-account",["loginInfo"]:"sdk-dapp-login-info",["modals"]:"sdk-dapp-modals",["networkConfig"]:"sdk-dapp-network-config"},cc=ie(Ve["account"]),lc=ie(Ve["loginInfo"]),pc=ie(Ve["modals"]),uc=ie(Ve["networkConfig"]),dc={2:e=>v(g({},e),{networkConfig:Ar})};mc=ie("sdk-dapp-transactionsInfo"),gc=ie("sdk-dapp-transactions",["transactionsToSign"]),fc=ie("sdk-dapp-batchTransactions",["batchTransactions"]),Tc=ie("sdk-dapp-toasts"),yc=ie("sdk-dapp-signedMessageInfo"),si={key:"sdk-dapp-store",version:2,storage:oi.default,whitelist:Object.keys(Ve),migrate:(0,F.createMigrate)(dc,{debug:!1})},hc=v(g({},si),{whitelist:[]}),_r={["toasts"]:(0,F.persistReducer)(Tc,bt),["transactions"]:(0,F.persistReducer)(gc,Rt),["transactionsInfo"]:(0,F.persistReducer)(mc,Et),["batchTransactions"]:(0,F.persistReducer)(fc,Dt),["signedMessageInfo"]:(0,F.persistReducer)(yc,vt)},xc=v(g({},_r),{["account"]:(0,F.persistReducer)(cc,gt),["loginInfo"]:(0,F.persistReducer)(lc,Tt),["modals"]:(0,F.persistReducer)(pc,ht),["networkConfig"]:(0,F.persistReducer)(uc,wt)}),Sc=ac.persistReducersStorageType==="localStorage",wc=Sc?(0,F.persistReducer)(si,We(_r)):(0,F.persistReducer)(hc,We(xc)),Ac=wc});var li={};de(li,{default:()=>vc});var vc,pi=f(()=>{"use strict";n();Dr();vc=We()});var ui={};de(ui,{default:()=>bc});var V,Ic,bc,di=f(()=>{"use strict";n();V=require("redux-persist"),Ic=[V.FLUSH,V.REHYDRATE,V.PAUSE,V.PERSIST,V.PURGE,V.REGISTER],bc=Ic});var fi={};de(fi,{default:()=>gi});function gi(e){return(0,mi.persistStore)(e)}var mi,Ti=f(()=>{"use strict";n();mi=require("redux-persist")});var Qi=U((Eb,Ji)=>{n();var Dl=typeof a=="object"&&a&&a.Object===Object&&a;Ji.exports=Dl});var ts=U((Lb,es)=>{n();var _l=Qi(),Ol=typeof self=="object"&&self&&self.Object===Object&&self,Ml=_l||Ol||Function("return this")();es.exports=Ml});var jr=U((Nb,rs)=>{n();var Bl=ts(),Fl=Bl.Symbol;rs.exports=Fl});var ss=U((Pb,is)=>{n();var ns=jr(),os=Object.prototype,Ul=os.hasOwnProperty,Wl=os.toString,ze=ns?ns.toStringTag:void 0;function Vl(e){var t=Ul.call(e,ze),r=e[ze];try{e[ze]=void 0;var o=!0}catch(l){}var i=Wl.call(e);return o&&(t?e[ze]=r:delete e[ze]),i}is.exports=Vl});var cs=U((Rb,as)=>{n();var Gl=Object.prototype,$l=Gl.toString;function Hl(e){return $l.call(e)}as.exports=Hl});var ds=U((Cb,us)=>{n();var ls=jr(),ql=ss(),jl=cs(),zl="[object Null]",Kl="[object Undefined]",ps=ls?ls.toStringTag:void 0;function Yl(e){return e==null?e===void 0?Kl:zl:ps&&ps in Object(e)?ql(e):jl(e)}us.exports=Yl});var gs=U((Db,ms)=>{n();var Xl=Array.isArray;ms.exports=Xl});var Ts=U((_b,fs)=>{n();function Zl(e){return e!=null&&typeof e=="object"}fs.exports=Zl});var hs=U((Ob,ys)=>{n();var Jl=ds(),Ql=gs(),ep=Ts(),tp="[object String]";function rp(e){return typeof e=="string"||!Ql(e)&&ep(e)&&Jl(e)==tp}ys.exports=rp});var Tp={};de(Tp,{useInitiateExperimentalWebviewLogin:()=>fp});module.exports=De(Tp);n();cr();I();n();n();ot();n();var lt=require("@multiversx/sdk-web-wallet-iframe-provider/out"),ha=require("@multiversx/sdk-web-wallet-iframe-provider/out/constants");M();var Zn=e=>(Object.values(Te).forEach(t=>{if(t!==(e==null?void 0:e.skipLoginMethod))switch(t){case"crossWindow":{let r=nt.CrossWindowProvider.getInstance();r.isInitialized()&&r.dispose();break}case"iframe":{let r=lt.IframeProvider.getInstance();r.isInitialized()&&r.dispose();break}default:break}}),null);n();var Jn=i=>S(void 0,[i],function*({hasNativeAuth:e,token:t,loginService:r,onError:o}){let l=t;if(e&&!t){let p="Native auth token generation failed";try{if(l=yield r.getNativeAuthLoginToken(),!l)return console.error(p),o==null||o(p),{error:p}}catch(d){let m=d instanceof Error?d.message:String(d),T=`${p}: ${m}`;return console.error(T),o==null||o(T),{error:T}}}return l&&r.setLoginToken(l),{token:l}});n();var vs=require("react"),Yt=require("@multiversx/sdk-core");n();n();n();var Ii=require("react"),Pe=require("react-redux");n();var Si=require("@reduxjs/toolkit"),wi=require("react-redux/lib/utils/Subscription");H();n();var ti=A(require("lodash.throttle"));I();H();wr();dt();_e();var rc=[ct],Ot=!1,nc=(0,ti.default)(()=>{Me(Oe())},5e3),ri=e=>t=>r=>{if(rc.includes(r.type))return t(r);let o=e.getState(),i=Ne.local.getItem(ye.loginExpiresAt);if(!Boolean(o==null?void 0:o.account.address))return t(r);if(i==null)return Me(Oe()),t(r);let p=Date.now();return i-p<0&&!Ot?setTimeout(()=>{Ot=!0,e.dispatch(To())},1e3):(Ot&&(Ot=!1),nc()),t(r)};n();n();function Mt(){return typeof sessionStorage!="undefined"}var yi=Mt()?(ci(),De(ai)).default:(pi(),De(li)).default,hi=Mt()?(di(),De(ui)).default:[],xi=Mt()?(Ti(),De(fi)).default:e=>e;var P=(0,Si.configureStore)({reducer:yi,middleware:e=>e({serializableCheck:{ignoredActions:[...hi,uo.type,mt.type],ignoredPaths:["payload.nonce","account.account.nonce","providers.accountProvider"]}}).concat(ri)}),Ai=(0,wi.createSubscription)(P),vi=xi(P);var kc={store:P,subscription:Ai},Or=(0,Ii.createContext)(kc),Jg=(0,Pe.createStoreHook)(Or),Bt=(0,Pe.createDispatchHook)(Or),q=(0,Pe.createSelectorHook)(Or);n();n();H();n();var bi=A(require("lodash.isequal")),Ft=require("reselect"),y=(0,Ft.createSelectorCreator)(Ft.defaultMemoize,bi.default);var te=e=>e.account,Ut=y(te,e=>e.address),Re=y(te,Ut,(e,t)=>t in e.accounts?e.accounts[t]:he),Ec=y(te,Re,(e,t)=>{let i=e,{accounts:r}=i,o=en(i,["accounts"]);return v(g({},o),{address:t.address,account:t})}),nf=y(Re,e=>e.balance),Lc=y(Re,e=>{var t;return((t=e==null?void 0:e.nonce)==null?void 0:t.valueOf())||0}),of=y(te,e=>e.shard),sf=y(te,e=>e.ledgerAccount),af=y(te,e=>e.walletConnectAccount),cf=y(te,e=>e.isAccountLoading),lf=y(te,e=>e.accountLoadingError),Nc=y(te,e=>e.websocketEvent),Pc=y(te,e=>e.websocketBatchEvent);n();var Rc=e=>e.dappConfig,df=y(Rc,e=>e.shouldUseWebViewProvider);n();var G=e=>e.loginInfo,Tf=y(G,e=>e.loginMethod),Mr=y(G,Ut,(e,t)=>Boolean(t)),yf=y(G,e=>e.walletConnectLogin),hf=y(G,e=>e.ledgerLogin),xf=y(G,e=>e.walletLogin),Sf=y(G,e=>e.isLoginSessionInvalid),ki=y(G,e=>e.tokenLogin),wf=y(G,e=>e.logoutRoute),Cc=y(G,e=>e.isWalletConnectV2Initialized);n();var Ei=e=>e.modals,If=y(Ei,e=>e.txSubmittedModal),bf=y(Ei,e=>e.notificationModal);n();var se=e=>e.networkConfig,Li=y(se,e=>e.network.chainId),Lf=y(se,e=>e.network.roundDuration),Nf=y(se,e=>e.network.walletConnectBridgeAddress),Pf=y(se,e=>e.network.walletConnectV2RelayAddress),Rf=y(se,e=>e.network.walletConnectV2ProjectId),Cf=y(se,e=>e.network.walletConnectV2Options),Df=y(se,e=>e.network.walletConnectDeepLink),Se=y(se,e=>e.network),Dc=y(Se,e=>e.apiAddress),Ni=y(Se,e=>e.explorerAddress),_f=y(Se,e=>{var t;return(t=e.customWalletAddress)!=null?t:e.walletAddress}),Of=y(Se,e=>e.xAliasAddress),Mf=y(Se,e=>e.egldLabel);n();var Wt=e=>e.signedMessageInfo,Uf=y(Wt,e=>e.isSigning),Wf=y(Wt,e=>e.errorMessage),Vf=y(Wt,e=>{let t=Object.keys(e.signedSessions),r=t.length;return e.signedSessions[t[r-1]]}),Gf=y(Wt,e=>{let t=Object.keys(e.signedSessions),r=t.length;return t.length>0?t[r-1]:""});n();var Pi=e=>e.toasts,qf=y(Pi,e=>e.customToasts),jf=y(Pi,e=>e.transactionToasts);n();H();var Ri={errorMessage:br,successMessage:kr,processingMessage:Er},_c=e=>e.transactionsInfo,Zf=y(_c,(e,t)=>t,(e,t)=>t!=null&&(e==null?void 0:e[t])||Ri);n();n();var we=require("@multiversx/sdk-core");I();n();n();n();function Vt(e){if(!e.length)return!1;try{let t=atob(e),r=btoa(t),o=s.Buffer.from(e,"base64").toString("utf8"),i=s.Buffer.from(o,"utf8").toString("base64"),l=e===r||r.startsWith(e),p=e===i||i.startsWith(e);if(l&&p)return!0}catch(t){return!1}return!1}function j(e){if(!Vt(e))return e;try{return s.Buffer.from(e,"base64").toString("utf8")}catch(t){return e}}n();n();n();n();var Ci=e=>{let t=e!=null?e:"",r=Vt(t)?j(t.trim()):t.trim();return s.Buffer.from(r)};n();I();var Ge=({data:e,onlySetGuardian:t})=>e?t?e.startsWith("SetGuardian"):Object.values(lr).some(r=>e.startsWith(r)):!1;function Gt(e){var o,i,l;let t=g({},e);Ge({data:t.data,onlySetGuardian:!0})&&(delete t.senderUsername,delete t.receiverUsername);let r=new we.Transaction(g(g(v(g(v(g(g({value:BigInt(t.value.valueOf()),data:Ci(t.data),nonce:BigInt(t.nonce.valueOf()),receiver:new we.Address(t.receiver)},t.receiverUsername?{receiverUsername:t.receiverUsername}:{}),t.relayer?{relayer:new we.Address(t.relayer)}:{}),{sender:new we.Address(t.sender)}),t.senderUsername?{senderUsername:t.senderUsername}:{}),{gasLimit:BigInt((o=t.gasLimit.valueOf())!=null?o:st),gasPrice:BigInt((i=t.gasPrice.valueOf())!=null?i:at),chainID:t.chainID.valueOf(),version:(l=t.version)!=null?l:Yn}),t.options?{options:t.options}:{}),t.guardian?{guardian:new we.Address(t.guardian)}:{}));return t.relayerSignature&&(r.relayerSignature=s.Buffer.from(t.relayerSignature,"hex")),t.guardianSignature&&(r.guardianSignature=s.Buffer.from(t.guardianSignature,"hex")),t.signature&&(r.signature=s.Buffer.from(t.signature,"hex")),r}n();n();I();n();n();n();var Fc=require("@multiversx/sdk-core");n();I();n();var Wc=require("@multiversx/sdk-core");M();n();var Uc=require("@multiversx/sdk-core");n();n();n();var Vc=require("@multiversx/sdk-core"),Gc=A(require("bignumber.js"));$();n();n();n();var Br="blocks";n();n();n();n();O();n();n();O();n();n();n();var zc=A(require("bignumber.js"));I();n();var Fr=A(require("bignumber.js"));I();n();var qc=A(require("bignumber.js"));n();Fr.default.config({ROUNDING_MODE:Fr.default.ROUND_FLOOR});n();n();n();I();n();n();n();n();I();n();I();n();var Fi=require("@multiversx/sdk-core"),Kc=A(require("bignumber.js"));I();n();var Wr=require("@multiversx/sdk-core"),Zc=A(require("bignumber.js"));I();n();n();var Yc=A(require("bignumber.js"));I();n();I();n();n();n();n();n();n();I();n();I();n();I();n();O();var Qc=["reDelegateRewards","claimRewards","unBond"],el=["wrapEgld","unwrapEgld"],tl=["unStake"],rl=["unDelegate"];n();n();n();I();n();var il=A(require("bignumber.js"));n();n();O();n();var al=A(require("bignumber.js"));n();n();n();n();var ll=A(require("bignumber.js"));M();n();n();var pl=require("@multiversx/sdk-core");n();n();$();n();var ml=require("@multiversx/sdk-web-wallet-provider");I();n();var dl=A(require("qs"));n();Fe();St();n();St();var DS={search:Be()?window.location.search:"",removeParams:[]};n();n();n();pe();n();O();n();n();pe();n();var gl=A(require("linkifyjs"));n();I();n();var fl=A(require("bignumber.js"));n();M();n();n();$();n();$();n();n();n();O();n();O();n();var Tl=A(require("bignumber.js"));I();O();n();O();n();var Vi=require("react");M();n();n();O();n();n();var yl=require("@multiversx/sdk-core"),hl=A(require("bignumber.js"));O();n();M();n();n();M();var EA=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}];n();var Gi=require("react");M();pe();n();var Sl=require("react");O();var OA=["create","localMint","ESDTLocalMint","addQuantity","burn","localBurn","ESDTLocalBurn","wipe","writeLog","signalError"];Nr();n();var Ht=e=>e.transactions,qe=y(Ht,e=>e.signedTransactions),bv=y(Ht,e=>e.signTransactionsError),kv=y(Ht,e=>e.signTransactionsCancelMessage),qt=e=>t=>Object.entries(t).reduce((r,[o,i])=>(e(i.status)&&(r[o]=i),r),{}),Ev=y(qe,qt(Go)),Lv=y(qe,qt(Nt)),Nv=y(qe,qt(Pt)),Pv=y(qe,qt(Ho)),Rv=y(Ht,e=>{var t;return(e==null?void 0:e.transactionsToSign)==null?null:v(g({},e.transactionsToSign),{transactions:((t=e==null?void 0:e.transactionsToSign)==null?void 0:t.transactions.map(r=>Gt(r)))||[]})}),Cv=y(qe,(e,t)=>t,(e,t)=>t!=null?(e==null?void 0:e[t])||{}:{});var Gr=()=>q(Re);n();n();n();n();n();var wl=require("@multiversx/sdk-extension-provider"),Al=require("@multiversx/sdk-hw-provider"),vl=require("@multiversx/sdk-metamask-provider/out/metamaskProvider"),Il=require("@multiversx/sdk-opera-provider"),bl=require("@multiversx/sdk-passkey-provider/out"),kl=require("@multiversx/sdk-web-wallet-provider");I();ot();$();n();var z=e=>`Unable to perform ${e}, Provider not initialized`,jt=class{init(){return Promise.resolve(!1)}getAccount(){throw new Error(z("getAccount"))}setAccount(t){throw new Error(z(`setAccount: ${t}`))}login(t){throw new Error(z(`login with options: ${t}`))}logout(t){throw new Error(z(`logout with options: ${t}`))}getAddress(){throw new Error(z("getAddress"))}isInitialized(){return!1}isConnected(){return!1}sendTransaction(t,r){throw new Error(z(`sendTransaction with transactions: ${t} options: ${r}`))}signTransaction(t,r){throw new Error(z(`signTransaction with transactions: ${t} options: ${r}`))}signTransactions(t,r){throw new Error(z(`signTransactions with transactions: ${t} options: ${r}`))}signMessage(t,r){throw new Error(z(`signTransactions with ${t} and options ${r}`))}sendCustomMessage({method:t,params:r}){throw new Error(z(`sendCustomMessage with method: ${t} params: ${r}`))}sendCustomRequest(t){throw new Error(z(`sendSessionEvent with options: ${t}`))}ping(){return Promise.resolve(!1)}},$i=new jt;var El=$i,$r=null;function Hr(e){$r=e}function Hi(){$r!=null&&(El=$r)}n();n();n();n();n();n();n();var je=A(require("react"));var bI=(0,je.createContext)({}),kI=P.getState();n();var ji=A(require("react"));n();var qr=A(require("react")),Nl=A(require("axios"));n();n();H();n();n();var As=require("@multiversx/sdk-native-auth-client");n();var Xi=A(require("axios"));n();n();n();function zi(e){return S(this,null,function*(){return yield new Promise(t=>{setTimeout(()=>t(),e)})})}n();var Ki=(e,t,r,o=0)=>S(void 0,null,function*(){try{return yield e(...r)}catch(i){if(o<t.retries)return(t==null?void 0:t.delay)!=null&&(yield zi(t.delay)),yield Ki(e,t,r,o+1);throw console.error(`Failed after ${t.retries} retries:`,i),i}}),Yi=(e,t={retries:5,delay:500})=>(...r)=>S(void 0,null,function*(){return yield Ki(e,t,r)});var Pl=4,Rl=3e4,zt={current:null},Ae={current:null},Cl=Yi((e,t,r)=>S(void 0,null,function*(){if(r){let l=Math.floor(Date.now()/1e3);return{hash:yield r(),timestamp:l}}let{data:o}=yield Xi.default.get(`${e}/${Br}?from=${Pl}&size=1&fields=hash,timestamp${t?"&shard="+t:""}`),[i]=o;return i}));function Zi(e,t,r,o){return S(this,null,function*(){if(e==null)throw new Error("missing api url");let i=Date.now();if(zt.current!=null&&i<zt.current.timestamp*1e3+Rl&&!o)return zt.current;if(Ae.current!=null)return yield Ae.current;Ae.current=Cl(e,t,r);try{let l=yield Ae.current;if(l==null)throw Ae.current=null,new Error("Could not retrieve block hash from API");return zt.current={hash:l.hash,timestamp:l.timestamp},Ae.current=null,l}catch(l){Ae.current=null;let p=l instanceof Error?l.message:String(l);throw console.error("Failed to fetch latest block hash:",p),new Error(`Block hash fetch failed: ${p}`)}})}n();n();pt();n();n();var xs=A(hs());var Ss=e=>{if(!e||!(0,xs.default)(e))return null;let t=e.split(".");if(t.length!==4)return null;try{let[r,o,i,l]=t,p=JSON.parse(j(l)),d=j(r);return{ttl:Number(i),extraInfo:p,origin:d,blockHash:o}}catch(r){return console.error(`Error trying to decode ${e}:`,r),null}};function np(e){return Object.prototype.toString.call(e)==="[object String]"}var Kt=e=>{var r;if(!e||!np(e))return null;let t=e.split(".");if(t.length!==3)return console.error("Invalid nativeAuthToken. You may be trying to decode a loginToken. Try using decodeLoginToken method instead"),null;try{let[o,i,l]=t,p=j(o),d=j(i),m=Ss(d);if(!m)return{address:p,body:d,signature:l,blockHash:"",origin:"",ttl:0};let T=v(g({},m),{address:p,body:d,signature:l});return(r=m.extraInfo)!=null&&r.timestamp||delete T.extraInfo,T}catch(o){return null}};var zr={isExpired:!1},ws=e=>{if(!e)return zr;let t=Kt(e);if(!t)return zr;let r=Le(),{ttl:o,extraInfo:i}=t,l=i==null?void 0:i.timestamp;if(!l||!o)return zr;let p=l+o,d=r>p,m=p-r;return{isExpired:d,expiresAt:p,secondsUntilExpires:m}};n();pe();var Ke={origin:ee().origin,apiAddress:"https://api.multiversx.com",expirySeconds:60*60*24,tokenExpirationToastWarningSeconds:5*60},Ye=e=>{var r,o,i,l,p,d;return e===!0?Ke:{origin:(r=e==null?void 0:e.origin)!=null?r:Ke.origin,blockHashShard:e==null?void 0:e.blockHashShard,expirySeconds:(o=e==null?void 0:e.expirySeconds)!=null?o:Ke.expirySeconds,apiAddress:(i=e==null?void 0:e.apiAddress)!=null?i:Ke.apiAddress,tokenExpirationToastWarningSeconds:(l=e==null?void 0:e.tokenExpirationToastWarningSeconds)!=null?l:Ke.tokenExpirationToastWarningSeconds,extraInfo:(p=e==null?void 0:e.extraInfo)!=null?p:{},gatewayUrl:e==null?void 0:e.gatewayUrl,extraRequestHeaders:(d=e==null?void 0:e.extraRequestHeaders)!=null?d:{}}};var Kr=e=>{let{origin:t,apiAddress:r,expirySeconds:o,blockHashShard:i,extraInfo:l,gatewayUrl:p,extraRequestHeaders:d}=Ye(e),m=new As.NativeAuthClient({origin:t,apiUrl:r,expirySeconds:o,blockHashShard:i,gatewayUrl:p,extraRequestHeaders:d});return{getNativeAuthConfig:Ye,initialize:h=>S(void 0,null,function*(){var k,b;if(!r)throw new Error("Native auth configuration error: apiAddress is required");if(!t)throw new Error("Native auth configuration error: origin is required");let w=()=>m.getCurrentBlockHash();try{let E=(k=h==null?void 0:h.latestBlockInfo)!=null?k:yield Zi(r,i,w,h==null?void 0:h.noCache);if(!E)return"";let{hash:C,timestamp:K}=E,ue=m.encodeValue(JSON.stringify(g(g({},(b=h==null?void 0:h.extraInfo)!=null?b:l),K?{timestamp:K}:{})));return`${m.encodeValue(t)}.${C}.${o}.${ue}`}catch(E){let C=E instanceof Error?E.message:String(E);throw console.error("Native auth token creation failed:",C),new Error(`Native auth token creation failed: ${C}`)}}),getToken:({address:h,token:w,signature:k})=>m.getToken(h,w,k),getTokenExpiration:ws}};var op=(e,t)=>{var r;return t?t===!0?e:(r=t.apiAddress)!=null?r:e:null},Is=e=>{let t=q(Se),r=q(ki),o=(0,vs.useRef)(r==null?void 0:r.loginToken),i=op(t.apiAddress,e),l=Ye(g(g({},e===!0?{}:e),i?{apiAddress:i}:{})),p=Boolean(e),d=Kr(l),{address:m}=Gr(),T=Bt(),x=b=>{o.current=b,T(xe(g(v(g({},r),{loginToken:b}),i?{nativeAuthConfig:l}:{})))},h=()=>S(void 0,null,function*(){try{let b=yield d.initialize();if(!b)throw new Error("Failed to generate login token: Empty token received from native auth service");return b}catch(b){let E=b instanceof Error?b.message:String(b);throw console.error("Native auth login token generation failed:",E),new Error(`Native auth login token generation failed: ${E}`)}}),w=({address:b,signature:E})=>{let C=o.current;if(!p){T(xe(v(g({},C?{loginToken:C}:{}),{signature:E})));return}if(!C)throw new Error("Native auth login token not found. Ensure getNativeAuthLoginToken was called and completed successfully before setTokenLoginInfo.");try{let K=d.getToken({address:b,token:C,signature:E});return T(xe(g({loginToken:C,signature:E,nativeAuthToken:K},i?{nativeAuthConfig:l}:{}))),K}catch(K){return console.error("SDK setTokenLoginInfo - Error generating nativeAuthToken:",K),T(xe(g({loginToken:C,signature:E},i?{nativeAuthConfig:l}:{}))),null}};return{configuration:l,setLoginToken:x,getNativeAuthLoginToken:h,setTokenLoginInfo:w,refreshNativeAuthTokenLogin:C=>S(void 0,[C],function*({signMessageCallback:b,nativeAuthClientConfig:E}){let ue=yield Kr(E||l).initialize({noCache:Boolean(E)});if(o.current=ue,!ue)return;let Ze=new Yt.Message({address:new Yt.Address(m),data:s.Buffer.from(`${m}${ue}`)}),D=yield b(Ze,{});if(!(D!=null&&D.signature))throw"Message not signed";return w({address:m,signature:s.Buffer.from(D.signature).toString("hex")})})}};B();H();$();n();pe();var bs=()=>{let{search:e}=ee(),t=new URLSearchParams(e),r=Object.fromEntries(t);return r==null?void 0:r.accessToken};n();function ks(){return Mr(P.getState())}n();var Es=typeof window!="undefined"&&window.self!==window.top;n();var Rs=require("@multiversx/sdk-dapp-utils/out/helpers/providerNotInitializedError"),Cs=require("@multiversx/sdk-webview-provider/out/WebviewProvider");B();n();B();H();M();function Ls(e,t=P.dispatch){let r=Kt(e);if(r==null)return;let{signature:o,address:i}=r;o&&e&&i&&(t(xe({loginToken:e,signature:o,nativeAuthToken:e})),t(le({address:i,loginMethod:"extra"})))}n();n();n();I();H();function Ns(){P.dispatch(Ko())}n();Fe();n();H();M();n();n();var dp=require("@multiversx/sdk-core"),mp=A(require("bignumber.js"));I();n();n();n();n();n();var Ps=require("@lifeomic/axios-fetch"),Yr=A(require("axios")),Xr=(0,Ps.buildAxiosFetch)(Yr.default),Zr=(e,t)=>S(void 0,null,function*(){if(!e.ok)throw new Error(`HTTP error! Status: ${e.status}`);let o=e.clone().json(),[i]=yield Promise.all([o]);return{data:i,status:e.status,statusText:e.statusText,headers:e.headers,config:t}});function ip(e,t,r){return S(this,null,function*(){try{let o=yield Xr(e,g({method:"POST",body:t?JSON.stringify(t):void 0,headers:g({"Content-Type":"application/json"},(r==null?void 0:r.headers)||{})},r));return Zr(o,r)}catch(o){throw console.error("Fetch Error:",o),o}})}function sp(e,t){return S(this,null,function*(){try{let r=yield Xr(e,t);if(!r.ok)throw new Error(`HTTP error! Status: ${r.status}`);return Zr(r,t)}catch(r){throw console.error("Fetch Error:",r),r}})}function ap(e,t,r){return S(this,null,function*(){try{let o=yield Xr(e,g({method:"PATCH",body:t?JSON.stringify(t):void 0,headers:(r==null?void 0:r.headers)||{}},r));if(!o.ok)throw new Error(`HTTP error! Status: ${o.status}`);return Zr(o,r)}catch(o){throw console.error("Fetch Error:",o),o}})}var Xe=Yr.default.create();Xe.get=sp;Xe.post=ip;Xe.patch=ap;n();n();var cp=A(require("axios"));n();var pp=A(require("swr"));n();n();n();var gp=A(require("bignumber.js"));I();var ce=class{constructor(){this.init=t=>S(this,null,function*(){return yield this._provider.init(t)});this.login=t=>S(this,null,function*(){var o,i,l;let r=yield this._provider.login(t);return{address:(o=r==null?void 0:r.address)!=null?o:"",signature:(i=r==null?void 0:r.signature)!=null?i:"",accessToken:(l=r==null?void 0:r.accessToken)!=null?l:""}});this.logout=()=>S(this,null,function*(){return vi.purge(),yield this._provider.logout()});this.relogin=()=>S(this,null,function*(){let t=yield this._provider.relogin();return t?(Ls(t),Hi(),t):(console.error("Unable to re-login. Missing accessToken."),null)});this.signTransactions=t=>S(this,null,function*(){let r=yield this._provider.signTransactions(t);return r||(Ns(),this._provider.cancelAction(),null)});this.signTransaction=t=>S(this,null,function*(){return yield this._provider.signTransaction(t)});this.signMessage=t=>S(this,null,function*(){return yield this._provider.signMessage(t)});this.cancelAction=()=>S(this,null,function*(){return yield this._provider.cancelAction()});this.isInitialized=()=>this._provider.isInitialized();this.isConnected=()=>this._provider.isConnected();this.sendCustomRequest=t=>S(this,null,function*(){this._provider.sendPostMessage({type:t.request.method,payload:t.request.params})});this.getAddress=(0,Rs.providerNotInitializedError)("getAddress");this._provider=Cs.WebviewProvider.getInstance({resetStateCallback:()=>{P.dispatch(L()),this.logout()}}),this._provider.setHandshakeResponseTimeout(2e3)}static getInstance(){return ce._instance||(ce._instance=new ce),ce._instance}getAccount(){var r;let t=this._provider.getAccount();return{address:(r=t==null?void 0:t.address)!=null?r:""}}setAccount(t){this._provider.setAccount(t)}};function fp(){let e=Bt(),r=Is(!0);return()=>S(this,null,function*(){if(ks()&&!Es)throw new Error(bn);Zn(),e(po(he.address)),e(mt(he));let i=ce.getInstance(),l=bs();if(l){yo({data:l}),i.init(),Hr(i);return}try{if(!(yield i.init(fr))){console.warn("Something went wrong trying to redirect to wallet login..");return}let{token:d,error:m}=yield Jn({hasNativeAuth:!0,token:void 0,loginService:r});if(m)return;let{signature:T,address:x}=yield i.login({token:d});if(Hr(i),!x){console.warn("Login cancelled.");return}T&&d&&r.setTokenLoginInfo({signature:T,address:x}),e(le({address:x,loginMethod:"extra"}))}catch(p){console.error("error logging in",p)}})}0&&(module.exports={useInitiateExperimentalWebviewLogin});
|
|
2
2
|
/*!
|
|
3
3
|
* The buffer module from node.js, for the browser.
|
|
4
4
|
*
|