@multiversx/sdk-dapp 2.12.7 → 2.12.9
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/hooks/index.js +1 -1
- package/UI/DappModal/hooks/useDappModal.js +1 -1
- package/UI/DappModal/index.js +1 -1
- package/UI/Denominate/index.js +1 -1
- package/UI/ExplorerLink/ExplorerLink.js +1 -1
- package/UI/ExplorerLink/index.js +1 -1
- package/UI/FormatAmount/FormatAmount.js +1 -1
- package/UI/FormatAmount/index.js +1 -1
- package/UI/ModalContainer/ModalContainer.js +1 -1
- package/UI/ModalContainer/index.js +1 -1
- package/UI/NotificationModal/NotificationModal.js +1 -1
- package/UI/NotificationModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignTransactionsModals.js +1 -1
- package/UI/SignTransactionsModals/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/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/index.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/SignWithLedgerModal/SignWithLedgerModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithLedgerModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithOperaModal/SignWithOperaModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithOperaModal/index.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/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/index.js +1 -1
- package/UI/TransactionDetails/TransactionDetails.js +1 -1
- package/UI/TransactionDetails/components/TransactionDetailsBody.js +1 -1
- package/UI/TransactionDetails/components/index.js +1 -1
- package/UI/TransactionDetails/index.js +1 -1
- package/UI/TransactionInfo/TransactionInfo.js +1 -1
- package/UI/TransactionInfo/components/AddressDetailItem/AddressDetailitem.js +1 -1
- package/UI/TransactionInfo/components/AddressDetailItem/index.js +1 -1
- package/UI/TransactionInfo/components/DataDecode/DataDecode.js +1 -1
- package/UI/TransactionInfo/components/DataDecode/index.js +1 -1
- package/UI/TransactionInfo/components/DataField/DataField.js +1 -1
- package/UI/TransactionInfo/components/DataField/index.js +1 -1
- package/UI/TransactionInfo/components/EventsList/EventsList.js +1 -1
- package/UI/TransactionInfo/components/EventsList/index.js +1 -1
- package/UI/TransactionInfo/components/NonceMessage/NonceMessage.js +1 -1
- package/UI/TransactionInfo/components/NonceMessage/index.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/OperationList.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/DetailedItem.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/OperationBlock.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/OperationRow.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/OperationText.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/OperationToken.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/components/index.js +1 -1
- package/UI/TransactionInfo/components/OperationsList/index.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/ScResultsList.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultData/ResultData.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultData/index.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/ResultHash.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/index.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/ResultReceiver.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/index.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/ResultSender.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/index.js +1 -1
- package/UI/TransactionInfo/components/ScResultsList/index.js +1 -1
- package/UI/TransactionInfo/components/ScrDetailItem/ScrDetailItem.js +1 -1
- package/UI/TransactionInfo/components/ScrDetailItem/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/TransactionAction.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/ActionText/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/ActionToken.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionCollection.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionNft.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionToken.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/components/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionAction/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionLogs/TransactionLogs.js +1 -1
- package/UI/TransactionInfo/components/TransactionLogs/index.js +1 -1
- package/UI/TransactionInfo/components/TransactionStatus/TransactionStatus.js +1 -1
- package/UI/TransactionInfo/components/TransactionStatus/index.js +1 -1
- package/UI/TransactionInfo/components/index.js +1 -1
- package/UI/TransactionInfo/components/transactionInfoFields/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/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/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/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/TransactionToastContent.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/components/index.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/hooks/useTransactionToast.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/index.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/utils/getToastDataStateByStatus.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/utils/index.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToastGuard.js +1 -1
- package/UI/TransactionsToastList/components/index.js +1 -1
- package/UI/TransactionsToastList/index.js +1 -1
- package/UI/Trim/Trim.js +1 -1
- package/UI/Trim/index.js +1 -1
- package/UI/UsdValue/UsdValue.js +1 -1
- package/UI/UsdValue/index.js +1 -1
- package/UI/extension/ExtensionLoginButton/ExtensionLoginButton.js +1 -1
- package/UI/extension/ExtensionLoginButton/index.js +1 -1
- package/UI/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.js +1 -1
- package/UI/ledger/LedgerLoginContainer/AddressTable.js +1 -1
- package/UI/ledger/LedgerLoginContainer/ConfirmAddress.js +1 -1
- package/UI/ledger/LedgerLoginContainer/index.js +1 -1
- package/UI/ledger/index.js +1 -1
- package/UI/operaWallet/OperaWalletLoginButton/OperaWalletLoginButton.js +1 -1
- package/UI/operaWallet/OperaWalletLoginButton/index.js +1 -1
- package/UI/pages/UnlockPage/index.js +1 -1
- package/UI/pages/index.js +1 -1
- package/UI/walletConnect/WalletConnectConnectionStatus/WalletConnectConnectionStatus.js +1 -1
- package/UI/walletConnect/WalletConnectConnectionStatus/index.js +1 -1
- package/UI/walletConnect/WalletConnectLoginButton/WalletConnectLoginButton.js +1 -1
- package/UI/walletConnect/WalletConnectLoginButton/index.js +1 -1
- package/UI/walletConnect/WalletConnectLoginContainer/index.js +1 -1
- package/UI/walletConnect/index.js +1 -1
- package/UI/webWallet/WebWalletLoginButton/WebWalletLoginButton.js +1 -1
- package/UI/webWallet/WebWalletLoginButton/index.js +1 -1
- package/__chunks__/{chunk-LBX3NVTC.js → chunk-25TTQGEX.js} +2 -2
- package/__chunks__/chunk-2BLNKKQV.js +2 -0
- package/__chunks__/chunk-2BTY3EO2.js +2 -0
- package/__chunks__/{chunk-KWX447BW.js → chunk-2PENUQYV.js} +2 -2
- package/__chunks__/{chunk-43KKXRC2.js → chunk-2PHNBV5S.js} +2 -2
- package/__chunks__/{chunk-OQEMXMDD.js → chunk-2SLPJGXG.js} +2 -2
- package/__chunks__/{chunk-HFQEDJ2B.js → chunk-3HZD5T6Q.js} +2 -2
- package/__chunks__/{chunk-GU3PXNAY.js → chunk-3IC3OYH5.js} +2 -2
- package/__chunks__/chunk-3OGDWVO7.js +2 -0
- package/__chunks__/{chunk-3JQJVPDO.js → chunk-3R7ET7XL.js} +2 -2
- package/__chunks__/chunk-3THCFE3J.js +2 -0
- package/__chunks__/{chunk-N2ZBQYKD.js → chunk-3WFJFXHY.js} +2 -2
- package/__chunks__/{chunk-BVZVVWO6.js → chunk-4CAZDF4D.js} +2 -2
- package/__chunks__/{chunk-KRXH6FKC.js → chunk-4FE3KVGP.js} +2 -2
- package/__chunks__/{chunk-WXFYRHD2.js → chunk-4JYZVFIV.js} +2 -2
- package/__chunks__/{chunk-ZMLTCUNQ.js → chunk-4KYCLIP2.js} +2 -2
- package/__chunks__/{chunk-OC7RHJY6.js → chunk-4T5TFHF6.js} +2 -2
- package/__chunks__/{chunk-A44Y55F7.js → chunk-4TCBBUSU.js} +2 -2
- package/__chunks__/{chunk-WROIAT2N.js → chunk-53Z7RDHU.js} +2 -2
- package/__chunks__/{chunk-7STA5D2T.js → chunk-56B7W2CE.js} +2 -2
- package/__chunks__/{chunk-4DGKR73R.js → chunk-56SUHXO3.js} +2 -2
- package/__chunks__/{chunk-LMH5D7PO.js → chunk-57NMXSRH.js} +2 -2
- package/__chunks__/{chunk-HLLGV3J2.js → chunk-5HZXCEQP.js} +2 -2
- package/__chunks__/{chunk-5RTGGHL7.js → chunk-5ICW6RLY.js} +2 -2
- package/__chunks__/{chunk-UHCLDQPY.js → chunk-5KKL6JIU.js} +2 -2
- package/__chunks__/{chunk-NGTYLR2P.js → chunk-5NDR2D3X.js} +2 -2
- package/__chunks__/chunk-5OHINNEN.js +2 -0
- package/__chunks__/chunk-5OYFXQSK.js +2 -0
- package/__chunks__/{chunk-YISI3TO4.js → chunk-5RPCQPBF.js} +2 -2
- package/__chunks__/{chunk-SINZVRGH.js → chunk-5WVG4JZ7.js} +2 -2
- package/__chunks__/{chunk-A5MGV2PF.js → chunk-5YGIUAD2.js} +2 -2
- package/__chunks__/{chunk-2YAOMBOW.js → chunk-5ZIX54TL.js} +2 -2
- package/__chunks__/{chunk-LNYWXGW7.js → chunk-6BNAALDP.js} +2 -2
- package/__chunks__/{chunk-A4OOIO54.js → chunk-6K4XJH5A.js} +2 -2
- package/__chunks__/{chunk-XD4W6G6Z.js → chunk-6OMJ6CE3.js} +2 -2
- package/__chunks__/{chunk-7CRTEUXQ.js → chunk-6QPBOXBF.js} +2 -2
- package/__chunks__/{chunk-N623YQX6.js → chunk-6WNGX2UB.js} +2 -2
- package/__chunks__/{chunk-RT4HX36Y.js → chunk-74BGZJCF.js} +2 -2
- package/__chunks__/chunk-75Q5SGBX.js +2 -0
- package/__chunks__/chunk-7ETWKK72.js +2 -0
- package/__chunks__/{chunk-6ACULWGS.js → chunk-7HNXQY2P.js} +2 -2
- package/__chunks__/chunk-7KVNUW4X.js +2 -0
- package/__chunks__/chunk-7N3S4X5Z.js +2 -0
- package/__chunks__/{chunk-WYNDSNTB.js → chunk-7UGNRV3L.js} +2 -2
- package/__chunks__/{chunk-XSU33MQE.js → chunk-7YF2VSF3.js} +2 -2
- package/__chunks__/chunk-7ZSWPMJ4.js +2 -0
- package/__chunks__/{chunk-WUCNNANV.js → chunk-A2CJZ723.js} +2 -2
- package/__chunks__/{chunk-TIQDH77C.js → chunk-AGTRHMNE.js} +2 -2
- package/__chunks__/{chunk-BDZY57A6.js → chunk-AHAGSUXW.js} +2 -2
- package/__chunks__/{chunk-42HHDBSD.js → chunk-AZUNNOQY.js} +2 -2
- package/__chunks__/{chunk-XKNQBRZO.js → chunk-B2SQFN7A.js} +2 -2
- package/__chunks__/{chunk-BZI5U74P.js → chunk-B76A3L37.js} +2 -2
- package/__chunks__/{chunk-M37NJUED.js → chunk-BB2CFNPA.js} +2 -2
- package/__chunks__/{chunk-QMAHFUXC.js → chunk-BKXGJHZ3.js} +2 -2
- package/__chunks__/{chunk-SGTU3REC.js → chunk-BMDDZG5S.js} +2 -2
- package/__chunks__/{chunk-5AT2CLST.js → chunk-BT4VUQHG.js} +2 -2
- package/__chunks__/{chunk-KJYPS4WM.js → chunk-BTVXK5F6.js} +2 -2
- package/__chunks__/chunk-BUNAZAQ2.js +2 -0
- package/__chunks__/{chunk-FX4ZAXUB.js → chunk-BVCSDUY7.js} +2 -2
- package/__chunks__/chunk-BZIYSYBS.js +2 -0
- package/__chunks__/chunk-C2O57ZZ3.js +2 -0
- package/__chunks__/{chunk-C46ILTGH.js → chunk-C3UPWTUL.js} +2 -2
- package/__chunks__/{chunk-INRJLH3K.js → chunk-C4JP2AAG.js} +2 -2
- package/__chunks__/{chunk-BFBJHILF.js → chunk-CE2CKTCJ.js} +2 -2
- package/__chunks__/{chunk-PFR5SUOK.js → chunk-CIY3BJYV.js} +2 -2
- package/__chunks__/{chunk-4NWSTAAZ.js → chunk-CLPQUX3I.js} +2 -2
- package/__chunks__/{chunk-GSAU65SR.js → chunk-CRFC2MYX.js} +1 -1
- package/__chunks__/{chunk-IE3ZZJWG.js → chunk-CS2PI52S.js} +2 -2
- package/__chunks__/{chunk-K4DOQKCI.js → chunk-CSONSW5S.js} +2 -2
- package/__chunks__/{chunk-U3IQKDUV.js → chunk-CXX3IDIG.js} +2 -2
- package/__chunks__/{chunk-D4GAJYCJ.js → chunk-DCD6EPNO.js} +2 -2
- package/__chunks__/{chunk-IB3UZXZV.js → chunk-DEHX5LRO.js} +2 -2
- package/__chunks__/{chunk-B3VMBKYV.js → chunk-DELOCRND.js} +2 -2
- package/__chunks__/{chunk-TPQDDLQV.js → chunk-DHI6DZRI.js} +2 -2
- package/__chunks__/{chunk-KCBVOAE5.js → chunk-DQAQI23Z.js} +2 -2
- package/__chunks__/{chunk-E6MPNKOA.js → chunk-DTARVI54.js} +2 -2
- package/__chunks__/{chunk-PW5QTCOQ.js → chunk-DZG4H2UO.js} +2 -2
- package/__chunks__/{chunk-PZZ4E52R.js → chunk-E2B7GAGB.js} +2 -2
- package/__chunks__/{chunk-2UCCB3MP.js → chunk-E3RKWI4F.js} +2 -2
- package/__chunks__/{chunk-H4XPIFVE.js → chunk-E5LS66QV.js} +2 -2
- package/__chunks__/{chunk-HOXLOOU2.js → chunk-EAK4AGOD.js} +2 -2
- package/__chunks__/{chunk-FBQHXG72.js → chunk-EDS2UEWP.js} +2 -2
- package/__chunks__/{chunk-CXFIBSLH.js → chunk-EHO2KJIN.js} +2 -2
- package/__chunks__/{chunk-3FNKFXI5.js → chunk-EIM6YCMX.js} +2 -2
- package/__chunks__/{chunk-UZUMPS4D.js → chunk-EK6G5G7U.js} +2 -2
- package/__chunks__/{chunk-ZTX5FNGQ.js → chunk-ELJKPLDZ.js} +2 -2
- package/__chunks__/chunk-EPKOUSPT.js +2 -0
- package/__chunks__/{chunk-LINILSAX.js → chunk-ERRCJ5WO.js} +2 -2
- package/__chunks__/{chunk-GXFGHRHG.js → chunk-ESUOJPFZ.js} +2 -2
- package/__chunks__/{chunk-UZJLDHFK.js → chunk-EZYQY5TX.js} +2 -2
- package/__chunks__/{chunk-OSOVIQYW.js → chunk-F5WM6Q4M.js} +2 -2
- package/__chunks__/{chunk-NHCAYUOL.js → chunk-FFPTTQ2Z.js} +2 -2
- package/__chunks__/{chunk-2CXJKNSP.js → chunk-FKMZQ6PI.js} +2 -2
- package/__chunks__/{chunk-VSOXJIE4.js → chunk-FLSN4Q5V.js} +2 -2
- package/__chunks__/{chunk-CM2GINJO.js → chunk-FPFBQQ56.js} +2 -2
- package/__chunks__/{chunk-TTWKANGP.js → chunk-FWJZ5654.js} +2 -2
- package/__chunks__/{chunk-AMMIWVOK.js → chunk-FWMS2ZOY.js} +2 -2
- package/__chunks__/{chunk-36LSGICN.js → chunk-FX6M2Z7X.js} +2 -2
- package/__chunks__/{chunk-H2RDZWXV.js → chunk-G5H7YRBS.js} +2 -2
- package/__chunks__/{chunk-54I3HE7Z.js → chunk-GCPJTM3M.js} +2 -2
- package/__chunks__/{chunk-ILQFJH3G.js → chunk-GGBYOLVR.js} +2 -2
- package/__chunks__/{chunk-3WXHT4F4.js → chunk-GXICS4HS.js} +2 -2
- package/__chunks__/{chunk-NKVZAB3K.js → chunk-GZIH5BDU.js} +2 -2
- package/__chunks__/{chunk-WIA67UCL.js → chunk-HC2MOVRO.js} +2 -2
- package/__chunks__/{chunk-J27DLS5B.js → chunk-HI2HYZIX.js} +2 -2
- package/__chunks__/{chunk-OB5OXBGC.js → chunk-HST2GGJ4.js} +2 -2
- package/__chunks__/{chunk-FWQBX5ZR.js → chunk-HTLZKHTZ.js} +2 -2
- package/__chunks__/{chunk-F6BJUWL4.js → chunk-I2SADEBF.js} +2 -2
- package/__chunks__/{chunk-P4JG3FOF.js → chunk-I5UOXQG3.js} +2 -2
- package/__chunks__/{chunk-A7T4ZPNP.js → chunk-IC4MBEJO.js} +2 -2
- package/__chunks__/{chunk-TRJJUI2H.js → chunk-IEO7HJFG.js} +2 -2
- package/__chunks__/{chunk-B76SBLRL.js → chunk-IFU3X6UL.js} +2 -2
- package/__chunks__/{chunk-BWVLB3EN.js → chunk-IGGV5BN5.js} +2 -2
- package/__chunks__/{chunk-I2ESI53D.js → chunk-IIMMZPAX.js} +2 -2
- package/__chunks__/{chunk-PHXT4KGL.js → chunk-ILVOI5JX.js} +2 -2
- package/__chunks__/{chunk-HM4ZNOAG.js → chunk-ILWO7NM5.js} +2 -2
- package/__chunks__/{chunk-UTYB5SVR.js → chunk-IT535HRO.js} +2 -2
- package/__chunks__/{chunk-UH2JJ2OH.js → chunk-ITEK3GYE.js} +2 -2
- package/__chunks__/{chunk-JSEXLEYA.js → chunk-ITKI3OPN.js} +2 -2
- package/__chunks__/{chunk-2JYLGADI.js → chunk-J2T752PE.js} +2 -2
- package/__chunks__/chunk-J3OGDCG6.js +2 -0
- package/__chunks__/chunk-JG3M6MK2.js +2 -0
- package/__chunks__/{chunk-EVT7EQKU.js → chunk-JIOI46EQ.js} +2 -2
- package/__chunks__/{chunk-MEYIRXHK.js → chunk-JRB42IEO.js} +2 -2
- package/__chunks__/{chunk-DR52VSGD.js → chunk-JRYWXEFU.js} +2 -2
- package/__chunks__/{chunk-YCDWRKZR.js → chunk-JTCS3OCP.js} +2 -2
- package/__chunks__/chunk-JXE4FVEW.js +2 -0
- package/__chunks__/{chunk-JURTWYMD.js → chunk-K3YZ6F2M.js} +2 -2
- package/__chunks__/chunk-K6C3JJYH.js +2 -0
- package/__chunks__/{chunk-NJUUQIZ7.js → chunk-K6FG7P75.js} +2 -2
- package/__chunks__/{chunk-U5CE3C53.js → chunk-K7AQ2IOB.js} +2 -2
- package/__chunks__/{chunk-6NACE4ST.js → chunk-KGRMH2D7.js} +2 -2
- package/__chunks__/chunk-KL2XL2VN.js +2 -0
- package/__chunks__/{chunk-KYUV4GGN.js → chunk-KLFHVD2M.js} +2 -2
- package/__chunks__/{chunk-PUXPL4MQ.js → chunk-KOCSFAOU.js} +2 -2
- package/__chunks__/{chunk-2ZZI3WWK.js → chunk-KQWUKJ5U.js} +2 -2
- package/__chunks__/chunk-KTELSCIW.js +2 -0
- package/__chunks__/{chunk-35NDQJYP.js → chunk-KYLDQLLP.js} +2 -2
- package/__chunks__/{chunk-5U7BHTBF.js → chunk-L4V3H4JN.js} +2 -2
- package/__chunks__/{chunk-3F7ZGRBB.js → chunk-L7CJYIRS.js} +2 -2
- package/__chunks__/chunk-LDLA5E7Y.js +2 -0
- package/__chunks__/{chunk-DP5HIL2M.js → chunk-LHPTACPO.js} +2 -2
- package/__chunks__/chunk-LI6PILSE.js +2 -0
- package/__chunks__/{chunk-LY757UDU.js → chunk-LKA7Z7XC.js} +2 -2
- package/__chunks__/{chunk-5HE6XUP4.js → chunk-LQYR4BQ4.js} +2 -2
- package/__chunks__/{chunk-AQ72WZBJ.js → chunk-LWWTVBER.js} +2 -2
- package/__chunks__/{chunk-XAGUELOI.js → chunk-LXWSWQO6.js} +2 -2
- package/__chunks__/{chunk-CDXLD3UX.js → chunk-LYF73EYO.js} +2 -2
- package/__chunks__/{chunk-LLKFSQJL.js → chunk-LZCS6ZYF.js} +2 -2
- package/__chunks__/{chunk-ZB5LRSUA.js → chunk-M2KURDCA.js} +2 -2
- package/__chunks__/chunk-MCKCARUG.js +2 -0
- package/__chunks__/chunk-MDEPBFNH.js +2 -0
- package/__chunks__/{chunk-UBGMYFYP.js → chunk-MDMDP7M4.js} +2 -2
- package/__chunks__/{chunk-URBTPPJQ.js → chunk-MEXHP4J3.js} +2 -2
- package/__chunks__/{chunk-E2X4CGZA.js → chunk-MGBNT5YC.js} +2 -2
- package/__chunks__/{chunk-EBNTLOIS.js → chunk-MMAQX7PZ.js} +2 -2
- package/__chunks__/{chunk-75DEF6KS.js → chunk-MMCZF45U.js} +2 -2
- package/__chunks__/{chunk-H2BDW4MQ.js → chunk-MV2L3RS5.js} +2 -2
- package/__chunks__/{chunk-UCZZ5H3Z.js → chunk-N4IWZRB4.js} +2 -2
- package/__chunks__/{chunk-BCXMOBSF.js → chunk-NAJM6SVE.js} +2 -2
- package/__chunks__/{chunk-ZXNFWJMH.js → chunk-NDJAQW5J.js} +2 -2
- package/__chunks__/{chunk-WWNMJLSX.js → chunk-NEJ5Y74B.js} +2 -2
- package/__chunks__/{chunk-NFTBRNA6.js → chunk-NFDTTOW7.js} +2 -2
- package/__chunks__/chunk-NGPND2WV.js +2 -0
- package/__chunks__/chunk-NOCNQEU6.js +2 -0
- package/__chunks__/{chunk-LNHJAXRU.js → chunk-NS3ODARJ.js} +2 -2
- package/__chunks__/{chunk-2JUQFS4O.js → chunk-NSFUSSUS.js} +2 -2
- package/__chunks__/{chunk-MAYO43ZD.js → chunk-NV6DLGYN.js} +2 -2
- package/__chunks__/{chunk-PVWWYI7D.js → chunk-NWGR33VA.js} +2 -2
- package/__chunks__/{chunk-VXNIDAW4.js → chunk-O2RCWISO.js} +2 -2
- package/__chunks__/{chunk-6RBPUPPU.js → chunk-O2V4CCMX.js} +2 -2
- package/__chunks__/{chunk-VXBWTSBA.js → chunk-O6MB6XKF.js} +2 -2
- package/__chunks__/{chunk-ZDEX2UMS.js → chunk-O6PZUAGB.js} +2 -2
- package/__chunks__/{chunk-AIQDX6K7.js → chunk-OBCB5GTS.js} +2 -2
- package/__chunks__/chunk-OGZDVTVE.js +2 -0
- package/__chunks__/{chunk-XD6XBD7M.js → chunk-OLNZJW3Z.js} +2 -2
- package/__chunks__/chunk-OMMQASLV.js +2 -0
- package/__chunks__/{chunk-PLHSIUIH.js → chunk-OSQQHPZM.js} +2 -2
- package/__chunks__/chunk-OVUMMVEK.js +2 -0
- package/__chunks__/{chunk-PED733EL.js → chunk-OXFLL7Y7.js} +2 -2
- package/__chunks__/chunk-P4YFVYE7.js +2 -0
- package/__chunks__/chunk-P7DX33YP.js +2 -0
- package/__chunks__/{chunk-W3ODGIKR.js → chunk-PCTAH6TR.js} +2 -2
- package/__chunks__/{chunk-COWK2W2W.js → chunk-PEMMY7FF.js} +2 -2
- package/__chunks__/{chunk-GZKFOA62.js → chunk-PEXA24OF.js} +2 -2
- package/__chunks__/{chunk-SWWGJTL5.js → chunk-PEY3BQ4R.js} +2 -2
- package/__chunks__/{chunk-56CSBJOA.js → chunk-PHIGKLSY.js} +2 -2
- package/__chunks__/chunk-PKHVN6YW.js +2 -0
- package/__chunks__/{chunk-ZM53UQ5W.js → chunk-PTVVMPSO.js} +2 -2
- package/__chunks__/{chunk-B5VQE4H2.js → chunk-PWH7DEFN.js} +2 -2
- package/__chunks__/{chunk-BDCWCPQD.js → chunk-PWR23BXD.js} +2 -2
- package/__chunks__/{chunk-YCH3M7LC.js → chunk-QEIPCSYQ.js} +2 -2
- package/__chunks__/{chunk-6DXVSPG6.js → chunk-QEKJFGEB.js} +2 -2
- package/__chunks__/{chunk-OHO5WVJC.js → chunk-QOEVYQ2J.js} +2 -2
- package/__chunks__/{chunk-SXQZTZRH.js → chunk-QW7HUS66.js} +2 -2
- package/__chunks__/{chunk-WGPDVKY5.js → chunk-QYHSBCZR.js} +2 -2
- package/__chunks__/{chunk-UX5PTPXR.js → chunk-QYNWZBUP.js} +2 -2
- package/__chunks__/{chunk-257M3QTY.js → chunk-R3SPPNHA.js} +2 -2
- package/__chunks__/{chunk-RKD5TB6H.js → chunk-R3SUSW6U.js} +2 -2
- package/__chunks__/{chunk-NTPBZBNQ.js → chunk-R7OFX7MT.js} +2 -2
- package/__chunks__/chunk-RAUSH6GD.js +2 -0
- package/__chunks__/chunk-RAXVRHEC.js +2 -0
- package/__chunks__/chunk-RISXNP5I.js +2 -0
- package/__chunks__/{chunk-CVNDZP76.js → chunk-RK7YWC7M.js} +2 -2
- package/__chunks__/chunk-RVTMBFZS.js +2 -0
- package/__chunks__/{chunk-CLPLALDF.js → chunk-RXPUGEMI.js} +2 -2
- package/__chunks__/{chunk-BYMPKNIX.js → chunk-RZUBAC4F.js} +2 -2
- package/__chunks__/{chunk-MFTEMWCU.js → chunk-S35I45ZQ.js} +2 -2
- package/__chunks__/{chunk-S6OFZ37Q.js → chunk-S6IMA7JA.js} +2 -2
- package/__chunks__/chunk-S6QS6J5L.js +2 -0
- package/__chunks__/chunk-S7HOS4OW.js +2 -0
- package/__chunks__/{chunk-G22LQ54W.js → chunk-SEOGCMB7.js} +2 -2
- package/__chunks__/{chunk-RCTS4E7X.js → chunk-SGABRPP2.js} +2 -2
- package/__chunks__/{chunk-ARN4TXNS.js → chunk-SGR4M32T.js} +2 -2
- package/__chunks__/{chunk-I75FKBLR.js → chunk-SO35Z4MW.js} +2 -2
- package/__chunks__/{chunk-4AI2UPIX.js → chunk-SPYQGKPN.js} +2 -2
- package/__chunks__/{chunk-6SQUT3SR.js → chunk-SQZGFLHB.js} +2 -2
- package/__chunks__/{chunk-TPFN52IW.js → chunk-SUJQA2GW.js} +2 -2
- package/__chunks__/{chunk-OUA5FLAV.js → chunk-SXIYWPTT.js} +2 -2
- package/__chunks__/{chunk-TYFF6L6K.js → chunk-SYFNYNRB.js} +2 -2
- package/__chunks__/{chunk-5LAIPB3D.js → chunk-SYGJB5IB.js} +2 -2
- package/__chunks__/{chunk-GWOBNRCO.js → chunk-T3H7IRS4.js} +2 -2
- package/__chunks__/chunk-T73GS72T.js +2 -0
- package/__chunks__/chunk-TILRG3KA.js +2 -0
- package/__chunks__/{chunk-IKIIFVAO.js → chunk-TIUQ37EG.js} +2 -2
- package/__chunks__/{chunk-6PBOXKX6.js → chunk-TN2C4EIK.js} +2 -2
- package/__chunks__/{chunk-EWPZVDAB.js → chunk-TPXVUJ4F.js} +2 -2
- package/__chunks__/{chunk-XPTZTIQ2.js → chunk-TQBVGRQJ.js} +2 -2
- package/__chunks__/{chunk-BX66MXW6.js → chunk-TSA6LFXL.js} +2 -2
- package/__chunks__/{chunk-OQFYWEIS.js → chunk-TUTBPOOU.js} +2 -2
- package/__chunks__/{chunk-HLAK36TW.js → chunk-TWVF7JWR.js} +2 -2
- package/__chunks__/{chunk-M2OXT3YO.js → chunk-U7MX6NMH.js} +2 -2
- package/__chunks__/{chunk-2AJOFYAV.js → chunk-UIVAIKSB.js} +2 -2
- package/__chunks__/{chunk-GVTQCXHP.js → chunk-UNO2T253.js} +2 -2
- package/__chunks__/{chunk-Q5C2SPDB.js → chunk-UNV3HNHX.js} +2 -2
- package/__chunks__/{chunk-IH33TIUO.js → chunk-UOWJXU7B.js} +2 -2
- package/__chunks__/{chunk-MRKRIB2A.js → chunk-UPAK55WQ.js} +2 -2
- package/__chunks__/{chunk-3GFG2A3U.js → chunk-V6TTX2GU.js} +2 -2
- package/__chunks__/chunk-V72DHDIE.js +2 -0
- package/__chunks__/{chunk-QXKIAILM.js → chunk-VAZCKIPF.js} +2 -2
- package/__chunks__/{chunk-4XMP5GTT.js → chunk-VKB64W7O.js} +2 -2
- package/__chunks__/{chunk-LOXGOWPI.js → chunk-VOBCK75J.js} +2 -2
- package/__chunks__/{chunk-4WHOJTZJ.js → chunk-VR6NBMGB.js} +2 -2
- package/__chunks__/chunk-VTUFVU5E.js +2 -0
- package/__chunks__/{chunk-RIJFBAYV.js → chunk-VVNOAZCN.js} +2 -2
- package/__chunks__/{chunk-Y3M4BQAH.js → chunk-VVNRFT4C.js} +2 -2
- package/__chunks__/{chunk-W3VTDJN2.js → chunk-VWJGXL3X.js} +2 -2
- package/__chunks__/{chunk-OUT3EF54.js → chunk-VX4YFYDE.js} +2 -2
- package/__chunks__/{chunk-JSYZ5XXA.js → chunk-W4VUUW4H.js} +2 -2
- package/__chunks__/{chunk-2VADEZKQ.js → chunk-W5VCGTY2.js} +2 -2
- package/__chunks__/{chunk-VKGQWWOB.js → chunk-WBROSYRH.js} +2 -2
- package/__chunks__/{chunk-KO26IQAN.js → chunk-WDIVU4TD.js} +2 -2
- package/__chunks__/{chunk-WDAY7K7O.js → chunk-WG32V2A5.js} +2 -2
- package/__chunks__/{chunk-NMJ6LNLI.js → chunk-WJOKG7OZ.js} +2 -2
- package/__chunks__/chunk-WRHANSVT.js +2 -0
- package/__chunks__/{chunk-TPS5KPXT.js → chunk-XBBPF73Z.js} +2 -2
- package/__chunks__/chunk-XCCT4TST.js +2 -0
- package/__chunks__/chunk-XKEURXOS.js +2 -0
- package/__chunks__/{chunk-RMWACIBX.js → chunk-XKGH4TXG.js} +2 -2
- package/__chunks__/{chunk-75GJK2GI.js → chunk-XQWVYVIL.js} +2 -2
- package/__chunks__/{chunk-JRSSYB2W.js → chunk-XUPYKS5D.js} +2 -2
- package/__chunks__/{chunk-A2UHFBXC.js → chunk-XWNVIHRK.js} +2 -2
- package/__chunks__/{chunk-MWQ7XWJ3.js → chunk-XY3MUJLX.js} +2 -2
- package/__chunks__/{chunk-IPHQVCKI.js → chunk-XZQYMTBX.js} +2 -2
- package/__chunks__/{chunk-4NQAIS37.js → chunk-Y4WVBCUE.js} +2 -2
- package/__chunks__/{chunk-G2WKJ6KK.js → chunk-Y6RIVHS3.js} +2 -2
- package/__chunks__/{chunk-CMXICFOE.js → chunk-Y7MXTBUL.js} +2 -2
- package/__chunks__/{chunk-TLFTE6OC.js → chunk-YE3SEFOS.js} +2 -2
- package/__chunks__/chunk-YNX3IGV3.js +2 -0
- package/__chunks__/{chunk-S5GCXB6J.js → chunk-YPR6PABP.js} +2 -2
- package/__chunks__/chunk-Z2B7ZPZQ.js +2 -0
- package/__chunks__/{chunk-HIONU7XT.js → chunk-Z2TCNCR5.js} +2 -2
- package/__chunks__/chunk-Z3L3GZGW.js +2 -0
- package/__chunks__/{chunk-7AD356MZ.js → chunk-Z5IV5H2B.js} +2 -2
- package/__chunks__/{chunk-CYKNXV5A.js → chunk-Z6T4QJTP.js} +2 -2
- package/__chunks__/{chunk-ND27OJ7I.js → chunk-ZAOOJQI2.js} +2 -2
- package/__chunks__/{chunk-NV22SU2V.js → chunk-ZB5AGTC4.js} +2 -2
- package/__chunks__/{chunk-XHHKUZ2U.js → chunk-ZBORIYHN.js} +2 -2
- package/__chunks__/chunk-ZCIQDTNG.js +2 -0
- package/__chunks__/{chunk-4UY6RTXV.js → chunk-ZGL5N2CM.js} +2 -2
- package/__chunks__/{chunk-LAZU73S2.js → chunk-ZH7PXPQS.js} +2 -2
- package/__chunks__/{chunk-VMW2UT4I.js → chunk-ZIEQGTNV.js} +2 -2
- package/__chunks__/{chunk-UQDIW6ZF.js → chunk-ZPDYQNBF.js} +2 -2
- package/__chunks__/{chunk-QWNXAJRR.js → chunk-ZYI33ZZI.js} +2 -2
- package/__commonjs/UI/SignTransactionsModals/SignTransactionsModals.js +21 -21
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignWithDeviceModal.js +6 -6
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/index.js +6 -6
- 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 +6 -6
- package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/index.js +6 -6
- package/__commonjs/UI/SignTransactionsModals/components/ConfirmationScreen.js +14 -14
- package/__commonjs/UI/SignTransactionsModals/components/index.js +14 -14
- package/__commonjs/UI/SignTransactionsModals/index.js +21 -21
- package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultHash/ResultHash.js +7 -7
- package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultHash/index.js +4 -4
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/SimpleToast.js +5 -5
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/helpers/index.js +4 -4
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/helpers/useMemoizedCloseButton.js +2 -2
- package/__commonjs/UI/TransactionsToastList/components/TransactionToast/TransactionToast.js +9 -9
- package/__commonjs/UI/TransactionsToastList/components/TransactionToast/components/index.js +4 -4
- package/__commonjs/UI/TransactionsToastList/components/TransactionToast/index.js +9 -9
- package/__commonjs/UI/index.js +52 -52
- package/__commonjs/UI/ledger/LedgerLoginButton/LedgerLoginButton.js +5 -5
- package/__commonjs/UI/ledger/LedgerLoginButton/index.js +5 -5
- package/__commonjs/UI/ledger/index.js +7 -7
- package/__commonjs/apiCalls/configuration/getApiAddressForChainId.js +1 -1
- package/__commonjs/constants/network.js +1 -1
- package/__commonjs/hooks/index.js +1 -1
- package/__commonjs/hooks/signMessage/index.js +1 -1
- package/__commonjs/hooks/signMessage/useSignMessage.d.ts +1 -4
- package/__commonjs/hooks/signMessage/useSignMessage.js +1 -1
- package/__commonjs/hooks/transactions/batch/useSendBatchTransactions.js +1 -1
- package/__commonjs/hooks/transactions/index.js +1 -1
- package/__commonjs/hooks/transactions/useParseMultiEsdtTransferData.js +1 -1
- package/__commonjs/hooks/transactions/useSignTransactions.js +1 -1
- package/__commonjs/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
- package/__commonjs/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
- package/__commonjs/hooks/websocketListener/useInitializeWebsocketConnection.js +1 -1
- package/__commonjs/reduxStore/selectors/modalsSelectors.js +1 -1
- package/__commonjs/services/index.js +1 -1
- package/__commonjs/services/transactions/index.js +1 -1
- package/__commonjs/services/transactions/sendTransactions.d.ts +1 -1
- package/__commonjs/services/transactions/sendTransactions.js +1 -1
- package/__commonjs/types/transactions.types.d.ts +1 -0
- package/__commonjs/types/transactions.types.js +1 -1
- package/__commonjs/utils/logout.js +1 -1
- package/__commonjs/utils/operations/calculateFeeLimit.js +1 -1
- package/__commonjs/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.js +1 -1
- package/__commonjs/utils/transactions/getInterpretedTransaction/index.js +1 -1
- package/__commonjs/utils/transactions/parseMultiEsdtTransferData.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/getTransactionLinkWithLabel.js +1 -1
- package/__commonjs/wrappers/AxiosInterceptorContext/components/AxiosInterceptor.js +1 -1
- package/__commonjs/wrappers/AxiosInterceptorContext/components/LoginInfoListener.js +1 -1
- package/__mocks__/accountConfig.js +1 -1
- package/__mocks__/index.js +1 -1
- package/__mocks__/server.js +1 -1
- package/__mocks__/utils/index.js +1 -1
- package/__mocks__/utils/renderWithProvider.js +1 -1
- package/apiCalls/accounts/getAccountFromApi.js +1 -1
- package/apiCalls/accounts/index.js +1 -1
- package/apiCalls/configuration/getApiAddressForChainId.js +1 -1
- package/apiCalls/configuration/getEnvironmentForChainId.js +1 -1
- package/apiCalls/configuration/getNetworkConfig.js +1 -1
- package/apiCalls/configuration/getServerConfigurationForEnvironment.js +1 -1
- package/apiCalls/configuration/index.js +1 -1
- package/apiCalls/getScamAddressData.js +1 -1
- package/apiCalls/index.js +1 -1
- package/apiCalls/transactions/getTransactionsByHashes.js +1 -1
- package/apiCalls/transactions/index.js +1 -1
- package/apiCalls/transactions/sendSignedTransactions.js +1 -1
- package/apiCalls/utils/getCleanApiAddress.js +1 -1
- package/apiCalls/utils/index.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.js +1 -1
- package/components/TransactionSender/TransactionSender.js +1 -1
- package/components/TransactionSender/index.js +1 -1
- package/components/TransactionStatusToast/FailedTransactionStatusToast.js +1 -1
- package/components/TransactionsTracker/TransactionTracker.js +1 -1
- package/components/TransactionsTracker/index.js +1 -1
- package/components/TransactionsTracker/useTransactionsTracker.js +1 -1
- package/constants/index.js +1 -1
- package/constants/network.js +1 -1
- package/hooks/account/index.js +1 -1
- package/hooks/account/useGetAccount.js +1 -1
- package/hooks/account/useGetAccountInfo.js +1 -1
- package/hooks/account/useGetAccountProvider.js +1 -1
- package/hooks/account/useGetIsLoggedIn.js +1 -1
- package/hooks/account/useGetLoginInfo.js +1 -1
- package/hooks/account/useGetWebsocketEvent.js +1 -1
- package/hooks/index.js +1 -1
- package/hooks/login/index.js +1 -1
- package/hooks/login/useExtensionLogin.js +1 -1
- package/hooks/login/useLedgerLogin.js +1 -1
- package/hooks/login/useLoginService.js +1 -1
- package/hooks/login/useOperaLogin.js +1 -1
- package/hooks/login/useWalletConnectLogin.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/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.d.ts +1 -4
- package/hooks/signMessage/useSignMessage.js +1 -1
- package/hooks/transactions/batch/useGetBatches.js +1 -1
- package/hooks/transactions/batch/useSendBatchTransactions.js +1 -1
- package/hooks/transactions/batch/useTrackBatchTransactions.js +1 -1
- package/hooks/transactions/batch/useUpdateBatch.js +1 -1
- package/hooks/transactions/batch/useUpdateBatches.js +1 -1
- package/hooks/transactions/helpers/checkNeedsGuardianSigning.js +1 -1
- package/hooks/transactions/helpers/getShouldMoveTransactionsToSignedState.js +1 -1
- package/hooks/transactions/helpers/index.js +1 -1
- package/hooks/transactions/helpers/useClearTransactionsToSignWithWarning.js +1 -1
- package/hooks/transactions/helpers/useSetTransactionNonces.js +1 -1
- package/hooks/transactions/index.js +1 -1
- package/hooks/transactions/useCancelWalletConnectAction.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/checkBatch.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/index.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/manageFailedTransactions.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/manageTimedOutTransactions.js +1 -1
- package/hooks/transactions/useCheckTransactionStatus/useCheckTransactionStatus.js +1 -1
- package/hooks/transactions/useGetActiveTransactionsStatus.js +1 -1
- package/hooks/transactions/useGetFailedTransactions.js +1 -1
- package/hooks/transactions/useGetLastPendingTransactionHash.js +1 -1
- package/hooks/transactions/useGetPendingTransactions.js +1 -1
- package/hooks/transactions/useGetSignTransactionsError.js +1 -1
- package/hooks/transactions/useGetSignedTransactions.js +1 -1
- package/hooks/transactions/useGetSuccessfulTransactions.js +1 -1
- package/hooks/transactions/useGetTokenDetails.js +1 -1
- package/hooks/transactions/useGetTransactionDisplayInfo.js +1 -1
- package/hooks/transactions/useParseMultiEsdtTransferData.js +1 -1
- package/hooks/transactions/useParseSignedTransactions.js +1 -1
- package/hooks/transactions/useSignMultipleTransactions.js +1 -1
- package/hooks/transactions/useSignTransactions.js +1 -1
- package/hooks/transactions/useSignTransactionsCommonData.js +1 -1
- package/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
- package/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
- package/hooks/transactions/useTrackTransactionStatus.js +1 -1
- package/hooks/useGetNetworkConfig.js +1 -1
- package/hooks/useGetNotification.js +1 -1
- package/hooks/userInterface/index.js +1 -1
- package/hooks/userInterface/useIsDappModalVisible.js +1 -1
- package/hooks/websocketListener/index.js +1 -1
- package/hooks/websocketListener/useInitializeWebsocketConnection.js +1 -1
- package/hooks/websocketListener/useRegisterWebsocketListener.js +1 -1
- package/models/index.js +1 -1
- package/models/newTransaction.js +1 -1
- package/package.json +1 -1
- package/providers/accountProvider.js +1 -1
- package/providers/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/batchTransactionsSelectors.js +1 -1
- package/reduxStore/selectors/dappConfigSelector.js +1 -1
- package/reduxStore/selectors/dappModalsSelectors.js +1 -1
- package/reduxStore/selectors/helpers.js +1 -1
- package/reduxStore/selectors/index.js +1 -1
- package/reduxStore/selectors/loginInfoSelectors.js +1 -1
- package/reduxStore/selectors/modalsSelectors.js +1 -1
- package/reduxStore/selectors/networkConfigSelectors.js +1 -1
- package/reduxStore/selectors/signedMessageInfoSelectors.js +1 -1
- package/reduxStore/selectors/toastsSelectors.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/dappModalsSlice.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/signedMessageInfoSlice.js +1 -1
- package/reduxStore/slices/toastsSlice.js +1 -1
- package/reduxStore/slices/transactionsInfoSlice.js +1 -1
- package/reduxStore/slices/transactionsSlice.js +1 -1
- package/reduxStore/store.js +1 -1
- package/services/index.js +1 -1
- package/services/nativeAuth/helpers/getAuthorizationInfo.js +1 -1
- package/services/nativeAuth/helpers/getIsNativeAuthSingingForbidden.js +1 -1
- package/services/nativeAuth/helpers/index.js +1 -1
- package/services/nativeAuth/helpers/loginWithNativeAuthToken.js +1 -1
- package/services/transactions/clearTransactions.js +1 -1
- package/services/transactions/getBatchTransactionsStatus.js +1 -1
- package/services/transactions/index.js +1 -1
- package/services/transactions/isCrossShardTransaction.js +1 -1
- package/services/transactions/sendBatchTransactions.js +1 -1
- package/services/transactions/sendTransactions.d.ts +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/utils.js +1 -1
- package/types/index.js +1 -1
- package/types/transactions.types.d.ts +1 -0
- package/types/transactions.types.js +1 -1
- package/utils/account/getAccount.js +1 -1
- package/utils/account/getAccountBalance.js +1 -1
- package/utils/account/getAccountProviderType.js +1 -1
- package/utils/account/getAccountShard.js +1 -1
- package/utils/account/getAddress.js +1 -1
- package/utils/account/getIsProviderEqualTo.js +1 -1
- package/utils/account/getLatestNonce.js +1 -1
- package/utils/account/getShardOfAddress.js +1 -1
- package/utils/account/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/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/nominate.js +1 -1
- package/utils/operations/parseAmount.js +1 -1
- package/utils/smartContracts.js +1 -1
- package/utils/toasts/customToastsActions.js +1 -1
- package/utils/toasts/index.js +1 -1
- package/utils/transactions/batch/updateBatchTransactionsStatuses.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/getTransactionLink.js +1 -1
- package/utils/transactions/index.js +1 -1
- package/utils/transactions/parseMultiEsdtTransferData.js +1 -1
- package/utils/transactions/parseTransactionAfterSigning.js +1 -1
- package/utils/transactions/removeTransactionParamsFromUrl.js +1 -1
- package/utils/transactions/transactionInfoHelpers/decodeForDisplay/decodeForDisplay.js +1 -1
- package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getDisplayValueAndValidationWarnings.js +1 -1
- package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getSmartDecodedParts.js +1 -1
- package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/index.js +1 -1
- package/utils/transactions/transactionInfoHelpers/decodeForDisplay/index.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getScResultsInitialDecodeMethod.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getShardText.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getTransactionActionNftText.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getTransactionActionTokenText.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getTransactionLinkWithLabel.js +1 -1
- package/utils/transactions/transactionInfoHelpers/getTransactionMessages.js +1 -1
- package/utils/transactions/transactionInfoHelpers/index.js +1 -1
- package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/index.js +1 -1
- package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/mexUnwrapper.js +1 -1
- package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/index.js +1 -1
- package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/transactionActionUnwrapper.js +1 -1
- package/utils/transactions/transactionInfoHelpers/useDataDecode.js +1 -1
- package/utils/transactions/transactionInfoHelpers/useDataDecodeMethod.js +1 -1
- package/utils/validation/index.js +1 -1
- package/utils/validation/maxDecimals.js +1 -1
- package/utils/validation/stringIsFloat.js +1 -1
- package/utils/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-22OLJZCS.js +0 -2
- package/__chunks__/chunk-2P64IWEV.js +0 -2
- package/__chunks__/chunk-2TQ727TI.js +0 -2
- package/__chunks__/chunk-3E66U4NM.js +0 -2
- package/__chunks__/chunk-3HSI224D.js +0 -2
- package/__chunks__/chunk-4EVPEAAC.js +0 -2
- package/__chunks__/chunk-4ROA4IAP.js +0 -2
- package/__chunks__/chunk-554M7MC7.js +0 -2
- package/__chunks__/chunk-5IYO3P75.js +0 -2
- package/__chunks__/chunk-64OFEAPQ.js +0 -2
- package/__chunks__/chunk-64X5ELCG.js +0 -2
- package/__chunks__/chunk-67VZTXQO.js +0 -2
- package/__chunks__/chunk-7MBSMSCD.js +0 -2
- package/__chunks__/chunk-A3M2ZT2N.js +0 -2
- package/__chunks__/chunk-CAH5U2BC.js +0 -2
- package/__chunks__/chunk-D2YE4NU4.js +0 -2
- package/__chunks__/chunk-DDBXHWTW.js +0 -2
- package/__chunks__/chunk-E7ZMJK5T.js +0 -2
- package/__chunks__/chunk-EDUVKTUJ.js +0 -2
- package/__chunks__/chunk-EFR4FYH4.js +0 -2
- package/__chunks__/chunk-FHFSY4UV.js +0 -2
- package/__chunks__/chunk-GWOGB4RR.js +0 -2
- package/__chunks__/chunk-GZVP3ZXI.js +0 -2
- package/__chunks__/chunk-IW6SN7BF.js +0 -2
- package/__chunks__/chunk-JCNIVUOH.js +0 -2
- package/__chunks__/chunk-JQEIHESA.js +0 -2
- package/__chunks__/chunk-KV7GLUXD.js +0 -2
- package/__chunks__/chunk-LMFYIKOH.js +0 -2
- package/__chunks__/chunk-MLXPX23B.js +0 -2
- package/__chunks__/chunk-MXTJ27RN.js +0 -2
- package/__chunks__/chunk-N6SXDXRI.js +0 -2
- package/__chunks__/chunk-O5OTL554.js +0 -2
- package/__chunks__/chunk-OWRF45PP.js +0 -2
- package/__chunks__/chunk-OY6DZ7KU.js +0 -2
- package/__chunks__/chunk-P3DNG2RV.js +0 -2
- package/__chunks__/chunk-PCR2WU5P.js +0 -2
- package/__chunks__/chunk-Q4DPGKGE.js +0 -2
- package/__chunks__/chunk-R2BKZWTD.js +0 -2
- package/__chunks__/chunk-REFNSRHX.js +0 -2
- package/__chunks__/chunk-SB6Q3PIL.js +0 -2
- package/__chunks__/chunk-SWEULXYJ.js +0 -2
- package/__chunks__/chunk-T7V7454F.js +0 -2
- package/__chunks__/chunk-VRY2YA2B.js +0 -2
- package/__chunks__/chunk-VT4SCB2Q.js +0 -2
- package/__chunks__/chunk-WG2WVJQW.js +0 -2
- package/__chunks__/chunk-X6PPFAJP.js +0 -2
- package/__chunks__/chunk-XRVWJ3RL.js +0 -2
- package/__chunks__/chunk-XSXPHHSS.js +0 -2
- package/__chunks__/chunk-ZGKYWFGV.js +0 -2
- package/__chunks__/chunk-ZWEMOICZ.js +0 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var Zo=Object.create;var fe=Object.defineProperty,Xo=Object.defineProperties,Jo=Object.getOwnPropertyDescriptor,Qo=Object.getOwnPropertyDescriptors,ei=Object.getOwnPropertyNames,ve=Object.getOwnPropertySymbols,ti=Object.getPrototypeOf,gt=Object.prototype.hasOwnProperty,pr=Object.prototype.propertyIsEnumerable;var lr=(e,t,r)=>t in e?fe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,x=(e,t)=>{for(var r in t||(t={}))gt.call(t,r)&&lr(e,r,t[r]);if(ve)for(var r of ve(t))pr.call(t,r)&&lr(e,r,t[r]);return e},A=(e,t)=>Xo(e,Qo(t));var ur=(e,t)=>{var r={};for(var o in e)gt.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(e!=null&&ve)for(var o of ve(e))t.indexOf(o)<0&&pr.call(e,o)&&(r[o]=e[o]);return r};var f=(e,t)=>()=>(e&&(t=e(e=0)),t);var Ee=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),ee=(e,t)=>{for(var r in t)fe(e,r,{get:t[r],enumerable:!0})},dr=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of ei(t))!gt.call(e,i)&&i!==r&&fe(e,i,{get:()=>t[i],enumerable:!(o=Jo(t,i))||o.enumerable});return e};var S=(e,t,r)=>(r=e!=null?Zo(ti(e)):{},dr(t||!e||!e.__esModule?fe(r,"default",{value:e,enumerable:!0}):r,e)),Te=e=>dr(fe({},"__esModule",{value:!0}),e);var M=(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 fr=Ee(ke=>{"use strict";n();ke.byteLength=ni;ke.toByteArray=ii;ke.fromByteArray=ci;var O=[],R=[],ri=typeof Uint8Array!="undefined"?Uint8Array:Array,ft="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(te=0,mr=ft.length;te<mr;++te)O[te]=ft[te],R[ft.charCodeAt(te)]=te;var te,mr;R["-".charCodeAt(0)]=62;R["_".charCodeAt(0)]=63;function gr(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 ni(e){var t=gr(e),r=t[0],o=t[1];return(r+o)*3/4-o}function oi(e,t,r){return(t+r)*3/4-r}function ii(e){var t,r=gr(e),o=r[0],i=r[1],l=new ri(oi(e,o,i)),p=0,d=i>0?o-4:o,m;for(m=0;m<d;m+=4)t=R[e.charCodeAt(m)]<<18|R[e.charCodeAt(m+1)]<<12|R[e.charCodeAt(m+2)]<<6|R[e.charCodeAt(m+3)],l[p++]=t>>16&255,l[p++]=t>>8&255,l[p++]=t&255;return i===2&&(t=R[e.charCodeAt(m)]<<2|R[e.charCodeAt(m+1)]>>4,l[p++]=t&255),i===1&&(t=R[e.charCodeAt(m)]<<10|R[e.charCodeAt(m+1)]<<4|R[e.charCodeAt(m+2)]>>2,l[p++]=t>>8&255,l[p++]=t&255),l}function ai(e){return O[e>>18&63]+O[e>>12&63]+O[e>>6&63]+O[e&63]}function si(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(ai(o));return i.join("")}function ci(e){for(var t,r=e.length,o=r%3,i=[],l=16383,p=0,d=r-o;p<d;p+=l)i.push(si(e,p,p+l>d?d:p+l));return o===1?(t=e[r-1],i.push(O[t>>2]+O[t<<4&63]+"==")):o===2&&(t=(e[r-2]<<8)+e[r-1],i.push(O[t>>10]+O[t>>4&63]+O[t<<2&63]+"=")),i.join("")}});var Tr=Ee(Tt=>{n();Tt.read=function(e,t,r,o,i){var l,p,d=i*8-o-1,m=(1<<d)-1,T=m>>1,h=-7,y=r?i-1:0,E=r?-1:1,k=e[t+y];for(y+=E,l=k&(1<<-h)-1,k>>=-h,h+=d;h>0;l=l*256+e[t+y],y+=E,h-=8);for(p=l&(1<<-h)-1,l>>=-h,h+=o;h>0;p=p*256+e[t+y],y+=E,h-=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)};Tt.write=function(e,t,r,o,i,l){var p,d,m,T=l*8-i-1,h=(1<<T)-1,y=h>>1,E=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,k=o?0:l-1,X=o?1:-1,H=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=h):(p=Math.floor(Math.log(t)/Math.LN2),t*(m=Math.pow(2,-p))<1&&(p--,m*=2),p+y>=1?t+=E/m:t+=E*Math.pow(2,1-y),t*m>=2&&(p++,m/=2),p+y>=h?(d=0,p=h):p+y>=1?(d=(t*m-1)*Math.pow(2,i),p=p+y):(d=t*Math.pow(2,y-1)*Math.pow(2,i),p=0));i>=8;e[r+k]=d&255,k+=X,d/=256,i-=8);for(p=p<<i|d,T+=i;T>0;e[r+k]=p&255,k+=X,p/=256,T-=8);e[r+k-X]|=H*128}});var Dr=Ee(le=>{"use strict";n();var yt=fr(),ce=Tr(),yr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;le.Buffer=u;le.SlowBuffer=gi;le.INSPECT_MAX_BYTES=50;var Le=2147483647;le.kMaxLength=Le;u.TYPED_ARRAY_SUPPORT=li();!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 li(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),e.foo()===42}catch(r){return!1}}Object.defineProperty(u.prototype,"parent",{enumerable:!0,get:function(){if(!!u.isBuffer(this))return this.buffer}});Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(!!u.isBuffer(this))return this.byteOffset}});function q(e){if(e>Le)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 wt(e)}return Sr(e,t,r)}u.poolSize=8192;function Sr(e,t,r){if(typeof e=="string")return ui(e,t);if(ArrayBuffer.isView(e))return di(e);if(e==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(F(e,ArrayBuffer)||e&&F(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(F(e,SharedArrayBuffer)||e&&F(e.buffer,SharedArrayBuffer)))return xt(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=mi(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 Sr(e,t,r)};Object.setPrototypeOf(u.prototype,Uint8Array.prototype);Object.setPrototypeOf(u,Uint8Array);function wr(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 pi(e,t,r){return wr(e),e<=0?q(e):t!==void 0?typeof r=="string"?q(e).fill(t,r):q(e).fill(t):q(e)}u.alloc=function(e,t,r){return pi(e,t,r)};function wt(e){return wr(e),q(e<0?0:bt(e)|0)}u.allocUnsafe=function(e){return wt(e)};u.allocUnsafeSlow=function(e){return wt(e)};function ui(e,t){if((typeof t!="string"||t==="")&&(t="utf8"),!u.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=br(e,t)|0,o=q(r),i=o.write(e,t);return i!==r&&(o=o.slice(0,i)),o}function ht(e){for(var t=e.length<0?0:bt(e.length)|0,r=q(t),o=0;o<t;o+=1)r[o]=e[o]&255;return r}function di(e){if(F(e,Uint8Array)){var t=new Uint8Array(e);return xt(t.buffer,t.byteOffset,t.byteLength)}return ht(e)}function xt(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 mi(e){if(u.isBuffer(e)){var t=bt(e.length)|0,r=q(t);return r.length===0||e.copy(r,0,0,t),r}if(e.length!==void 0)return typeof e.length!="number"||It(e.length)?q(0):ht(e);if(e.type==="Buffer"&&Array.isArray(e.data))return ht(e.data)}function bt(e){if(e>=Le)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Le.toString(16)+" bytes");return e|0}function gi(e){return+e!=e&&(e=0),u.alloc(+e)}u.isBuffer=function(t){return t!=null&&t._isBuffer===!0&&t!==u.prototype};u.compare=function(t,r){if(F(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),F(r,Uint8Array)&&(r=u.from(r,r.offset,r.byteLength)),!u.isBuffer(t)||!u.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===r)return 0;for(var o=t.length,i=r.length,l=0,p=Math.min(o,i);l<p;++l)if(t[l]!==r[l]){o=t[l],i=r[l];break}return o<i?-1:i<o?1:0};u.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};u.concat=function(t,r){if(!Array.isArray(t))throw new TypeError('"list" argument must be an Array of Buffers');if(t.length===0)return u.alloc(0);var o;if(r===void 0)for(r=0,o=0;o<t.length;++o)r+=t[o].length;var i=u.allocUnsafe(r),l=0;for(o=0;o<t.length;++o){var p=t[o];if(F(p,Uint8Array))l+p.length>i.length?u.from(p).copy(i,l):Uint8Array.prototype.set.call(i,p,l);else if(u.isBuffer(p))p.copy(i,l);else throw new TypeError('"list" argument must be an Array of Buffers');l+=p.length}return i};function br(e,t){if(u.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||F(e,ArrayBuffer))return e.byteLength;if(typeof e!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,o=arguments.length>2&&arguments[2]===!0;if(!o&&r===0)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return St(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Lr(e).length;default:if(i)return o?-1:St(e).length;t=(""+t).toLowerCase(),i=!0}}u.byteLength=br;function fi(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 vi(this,t,r);case"utf8":case"utf-8":return Ar(this,t,r);case"ascii":return Ii(this,t,r);case"latin1":case"binary":return Ai(this,t,r);case"base64":return wi(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ei(this,t,r);default:if(o)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),o=!0}}u.prototype._isBuffer=!0;function re(e,t,r){var o=e[t];e[t]=e[r],e[r]=o}u.prototype.swap16=function(){var t=this.length;if(t%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<t;r+=2)re(this,r,r+1);return this};u.prototype.swap32=function(){var t=this.length;if(t%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<t;r+=4)re(this,r,r+3),re(this,r+1,r+2);return this};u.prototype.swap64=function(){var t=this.length;if(t%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<t;r+=8)re(this,r,r+7),re(this,r+1,r+6),re(this,r+2,r+5),re(this,r+3,r+4);return this};u.prototype.toString=function(){var t=this.length;return t===0?"":arguments.length===0?Ar(this,0,t):fi.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=le.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"};yr&&(u.prototype[yr]=u.prototype.inspect);u.prototype.compare=function(t,r,o,i,l){if(F(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),!u.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(r===void 0&&(r=0),o===void 0&&(o=t?t.length:0),i===void 0&&(i=0),l===void 0&&(l=this.length),r<0||o>t.length||i<0||l>this.length)throw new RangeError("out of range index");if(i>=l&&r>=o)return 0;if(i>=l)return-1;if(r>=o)return 1;if(r>>>=0,o>>>=0,i>>>=0,l>>>=0,this===t)return 0;for(var p=l-i,d=o-r,m=Math.min(p,d),T=this.slice(i,l),h=t.slice(r,o),y=0;y<m;++y)if(T[y]!==h[y]){p=T[y],d=h[y];break}return p<d?-1:d<p?1:0};function Ir(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,It(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:hr(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):hr(e,[t],r,o,i);throw new TypeError("val must be string, number or Buffer")}function hr(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,X){return l===1?k[X]:k.readUInt16BE(X*l)}var T;if(i){var h=-1;for(T=r;T<p;T++)if(m(e,T)===m(t,h===-1?0:T-h)){if(h===-1&&(h=T),T-h+1===d)return h*l}else h!==-1&&(T-=T-h),h=-1}else for(r+d>p&&(r=p-d),T=r;T>=0;T--){for(var y=!0,E=0;E<d;E++)if(m(e,T+E)!==m(t,E)){y=!1;break}if(y)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 Ir(this,t,r,o,!0)};u.prototype.lastIndexOf=function(t,r,o){return Ir(this,t,r,o,!1)};function Ti(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(It(d))return p;e[r+p]=d}return p}function yi(e,t,r,o){return De(St(t,e.length-r),e,r,o)}function hi(e,t,r,o){return De(Di(t),e,r,o)}function xi(e,t,r,o){return De(Lr(t),e,r,o)}function Si(e,t,r,o){return De(Ni(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 Ti(this,t,r,o);case"utf8":case"utf-8":return yi(this,t,r,o);case"ascii":case"latin1":case"binary":return hi(this,t,r,o);case"base64":return xi(this,t,r,o);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Si(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 wi(e,t,r){return t===0&&r===e.length?yt.fromByteArray(e):yt.fromByteArray(e.slice(t,r))}function Ar(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,h,y;switch(d){case 1:l<128&&(p=l);break;case 2:m=e[i+1],(m&192)===128&&(y=(l&31)<<6|m&63,y>127&&(p=y));break;case 3:m=e[i+1],T=e[i+2],(m&192)===128&&(T&192)===128&&(y=(l&15)<<12|(m&63)<<6|T&63,y>2047&&(y<55296||y>57343)&&(p=y));break;case 4:m=e[i+1],T=e[i+2],h=e[i+3],(m&192)===128&&(T&192)===128&&(h&192)===128&&(y=(l&15)<<18|(m&63)<<12|(T&63)<<6|h&63,y>65535&&y<1114112&&(p=y))}}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 bi(o)}var xr=4096;function bi(e){var t=e.length;if(t<=xr)return String.fromCharCode.apply(String,e);for(var r="",o=0;o<t;)r+=String.fromCharCode.apply(String,e.slice(o,o+=xr));return r}function Ii(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 Ai(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 vi(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+=Ri[e[l]];return i}function Ei(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 v(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||v(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||v(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||v(t,1,this.length),this[t]};u.prototype.readUint16LE=u.prototype.readUInt16LE=function(t,r){return t=t>>>0,r||v(t,2,this.length),this[t]|this[t+1]<<8};u.prototype.readUint16BE=u.prototype.readUInt16BE=function(t,r){return t=t>>>0,r||v(t,2,this.length),this[t]<<8|this[t+1]};u.prototype.readUint32LE=u.prototype.readUInt32LE=function(t,r){return t=t>>>0,r||v(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||v(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||v(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||v(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||v(t,1,this.length),this[t]&128?(255-this[t]+1)*-1:this[t]};u.prototype.readInt16LE=function(t,r){t=t>>>0,r||v(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||v(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||v(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||v(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||v(t,4,this.length),ce.read(this,t,!0,23,4)};u.prototype.readFloatBE=function(t,r){return t=t>>>0,r||v(t,4,this.length),ce.read(this,t,!1,23,4)};u.prototype.readDoubleLE=function(t,r){return t=t>>>0,r||v(t,8,this.length),ce.read(this,t,!0,52,8)};u.prototype.readDoubleBE=function(t,r){return t=t>>>0,r||v(t,8,this.length),ce.read(this,t,!1,52,8)};function L(e,t,r,o,i,l){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<l)throw new RangeError('"value" argument is out of bounds');if(r+o>e.length)throw new RangeError("Index out of range")}u.prototype.writeUintLE=u.prototype.writeUIntLE=function(t,r,o,i){if(t=+t,r=r>>>0,o=o>>>0,!i){var l=Math.pow(2,8*o)-1;L(this,t,r,o,l,0)}var p=1,d=0;for(this[r]=t&255;++d<o&&(p*=256);)this[r+d]=t/p&255;return r+o};u.prototype.writeUintBE=u.prototype.writeUIntBE=function(t,r,o,i){if(t=+t,r=r>>>0,o=o>>>0,!i){var l=Math.pow(2,8*o)-1;L(this,t,r,o,l,0)}var p=o-1,d=1;for(this[r+p]=t&255;--p>=0&&(d*=256);)this[r+p]=t/d&255;return r+o};u.prototype.writeUint8=u.prototype.writeUInt8=function(t,r,o){return t=+t,r=r>>>0,o||L(this,t,r,1,255,0),this[r]=t&255,r+1};u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(t,r,o){return t=+t,r=r>>>0,o||L(this,t,r,2,65535,0),this[r]=t&255,this[r+1]=t>>>8,r+2};u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(t,r,o){return t=+t,r=r>>>0,o||L(this,t,r,2,65535,0),this[r]=t>>>8,this[r+1]=t&255,r+2};u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(t,r,o){return t=+t,r=r>>>0,o||L(this,t,r,4,4294967295,0),this[r+3]=t>>>24,this[r+2]=t>>>16,this[r+1]=t>>>8,this[r]=t&255,r+4};u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(t,r,o){return t=+t,r=r>>>0,o||L(this,t,r,4,4294967295,0),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=t&255,r+4};u.prototype.writeIntLE=function(t,r,o,i){if(t=+t,r=r>>>0,!i){var l=Math.pow(2,8*o-1);L(this,t,r,o,l-1,-l)}var p=0,d=1,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);L(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||L(this,t,r,1,127,-128),t<0&&(t=255+t+1),this[r]=t&255,r+1};u.prototype.writeInt16LE=function(t,r,o){return t=+t,r=r>>>0,o||L(this,t,r,2,32767,-32768),this[r]=t&255,this[r+1]=t>>>8,r+2};u.prototype.writeInt16BE=function(t,r,o){return t=+t,r=r>>>0,o||L(this,t,r,2,32767,-32768),this[r]=t>>>8,this[r+1]=t&255,r+2};u.prototype.writeInt32LE=function(t,r,o){return t=+t,r=r>>>0,o||L(this,t,r,4,2147483647,-2147483648),this[r]=t&255,this[r+1]=t>>>8,this[r+2]=t>>>16,this[r+3]=t>>>24,r+4};u.prototype.writeInt32BE=function(t,r,o){return t=+t,r=r>>>0,o||L(this,t,r,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=t&255,r+4};function vr(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 Er(e,t,r,o,i){return t=+t,r=r>>>0,i||vr(e,t,r,4,34028234663852886e22,-34028234663852886e22),ce.write(e,t,r,o,23,4),r+4}u.prototype.writeFloatLE=function(t,r,o){return Er(this,t,r,!0,o)};u.prototype.writeFloatBE=function(t,r,o){return Er(this,t,r,!1,o)};function kr(e,t,r,o,i){return t=+t,r=r>>>0,i||vr(e,t,r,8,17976931348623157e292,-17976931348623157e292),ce.write(e,t,r,o,52,8),r+8}u.prototype.writeDoubleLE=function(t,r,o){return kr(this,t,r,!0,o)};u.prototype.writeDoubleBE=function(t,r,o){return kr(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 ki=/[^+/0-9A-Za-z-_]/g;function Li(e){if(e=e.split("=")[0],e=e.trim().replace(ki,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function St(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 Di(e){for(var t=[],r=0;r<e.length;++r)t.push(e.charCodeAt(r)&255);return t}function Ni(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 Lr(e){return yt.toByteArray(Li(e))}function De(e,t,r,o){for(var i=0;i<o&&!(i+r>=t.length||i>=e.length);++i)t[i+r]=e[i];return i}function F(e,t){return e instanceof t||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===t.name}function It(e){return e!==e}var Ri=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 _r=Ee((bs,Pr)=>{n();var w=Pr.exports={},B,U;function At(){throw new Error("setTimeout has not been defined")}function vt(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?B=setTimeout:B=At}catch(e){B=At}try{typeof clearTimeout=="function"?U=clearTimeout:U=vt}catch(e){U=vt}})();function Nr(e){if(B===setTimeout)return setTimeout(e,0);if((B===At||!B)&&setTimeout)return B=setTimeout,setTimeout(e,0);try{return B(e,0)}catch(t){try{return B.call(null,e,0)}catch(r){return B.call(this,e,0)}}}function Ci(e){if(U===clearTimeout)return clearTimeout(e);if((U===vt||!U)&&clearTimeout)return U=clearTimeout,clearTimeout(e);try{return U(e)}catch(t){try{return U.call(null,e)}catch(r){return U.call(this,e)}}}var j=[],pe=!1,ne,Ne=-1;function Pi(){!pe||!ne||(pe=!1,ne.length?j=ne.concat(j):Ne=-1,j.length&&Rr())}function Rr(){if(!pe){var e=Nr(Pi);pe=!0;for(var t=j.length;t;){for(ne=j,j=[];++Ne<t;)ne&&ne[Ne].run();Ne=-1,t=j.length}ne=null,pe=!1,Ci(e)}}w.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];j.push(new Cr(e,t)),j.length===1&&!pe&&Nr(Rr)};function Cr(e,t){this.fun=e,this.array=t}Cr.prototype.run=function(){this.fun.apply(null,this.array)};w.title="browser";w.browser=!0;w.env={};w.argv=[];w.version="";w.versions={};function z(){}w.on=z;w.addListener=z;w.once=z;w.off=z;w.removeListener=z;w.removeAllListeners=z;w.emit=z;w.prependListener=z;w.prependOnceListener=z;w.listeners=function(e){return[]};w.binding=function(e){throw new Error("process.binding is not supported")};w.cwd=function(){return"/"};w.chdir=function(e){throw new Error("process.chdir is not supported")};w.umask=function(){return 0}});var a,s,Is,n=f(()=>{a=S(Dr()),s=S(_r()),Is=function(e){function t(){var o=this||self;return delete e.prototype.__magic__,o}if(typeof globalThis=="object")return globalThis;if(this)return t();e.defineProperty(e.prototype,"__magic__",{configurable:!0,get:t});var r=__magic__;return r}(Object)});var Mr=f(()=>{"use strict";n()});var Or=f(()=>{"use strict";n()});var Fr=f(()=>{"use strict";n()});var Br=f(()=>{"use strict";n()});var K=f(()=>{"use strict";n()});var Ur=f(()=>{"use strict";n()});var Vr=f(()=>{"use strict";n()});var D=f(()=>{"use strict";n()});var $r=f(()=>{"use strict";n()});var Gr=f(()=>{"use strict";n()});var Wr=f(()=>{"use strict";n()});var C=f(()=>{"use strict";n();Or();Fr();Br();K();Ur();Vr();D();$r();Gr();Wr()});var Et,Hr,Ws,qr,Hs,jr,qs,js,zs,zr=f(()=>{"use strict";n();C();Et={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",apiAddress:"https://devnet-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",apiTimeout:"4000"},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",apiAddress:"https://testnet-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",apiTimeout:"4000"},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",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",apiTimeout:"4000"}},{chainId:Hr,egldLabel:Ws}=Et["devnet"],{chainId:qr,egldLabel:Hs}=Et["testnet"],{chainId:jr,egldLabel:qs}=Et["mainnet"],js={["devnet"]:Hr,["testnet"]:qr,["mainnet"]:jr},zs={[Hr]:"devnet",[qr]:"testnet",[jr]:"mainnet"}});var kt=f(()=>{"use strict";n()});var Kr=f(()=>{"use strict";n()});var Yr,Lt=f(()=>{"use strict";n();Yr="transaction-status-toast-id"});var V,Zr=f(()=>{"use strict";n();V=require("@multiversx/sdk-web-wallet-provider")});var Xr=f(()=>{"use strict";n()});var Dt,Nt,Jr,Re,Qr,ue,b=f(()=>{"use strict";n();Mr();zr();kt();Kr();Lt();Zr();Xr();Dt=5e4,Nt=1e9,Jr=1,Re="logout",Qr="login",ue="0"});var Ce,Rt=f(()=>{"use strict";n();Ce=()=>Date.now()/1e3});var en=f(()=>{"use strict";n()});var tn=f(()=>{"use strict";n()});var rn=f(()=>{"use strict";n();Rt();en();tn()});var Pt={};ee(Pt,{getItem:()=>Mi,localStorageKeys:()=>oe,removeItem:()=>Oi,setItem:()=>_i});var oe,Ct,_i,Mi,Oi,ye=f(()=>{"use strict";n();rn();oe={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event"},Ct=typeof localStorage!="undefined",_i=({key:e,data:t,expires:r})=>{!Ct||localStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},Mi=e=>{if(!Ct)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:Ce()>=r.expires?(localStorage.removeItem(String(e)),null):r.data},Oi=e=>{!Ct||localStorage.removeItem(String(e))}});var _t={};ee(_t,{clear:()=>sn,getItem:()=>on,removeItem:()=>an,setItem:()=>nn,storage:()=>Fi});var nn,on,an,sn,Fi,cn=f(()=>{"use strict";n();nn=({key:e,data:t,expires:r})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},on=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},an=e=>sessionStorage.removeItem(String(e)),sn=()=>sessionStorage.clear(),Fi={setItem:nn,getItem:on,removeItem:an,clear:sn}});var de,Pe=f(()=>{"use strict";n();ye();cn();de={session:_t,local:Pt}});var Mt,I,_e,_=f(()=>{"use strict";n();Mt=require("@reduxjs/toolkit");b();I=(0,Mt.createAction)(Re),_e=(0,Mt.createAction)(Qr,e=>({payload:e}))});var Ft,ln,pn,Me,Ot,un,dn,vc,mn,Ec,kc,Lc,Dc,Nc,Rc,gn,fn,Oe,Fe=f(()=>{"use strict";n();Ft=require("@multiversx/sdk-core"),ln=require("@reduxjs/toolkit"),pn=require("redux-persist");b();Pe();ye();_();Me={balance:"...",address:"",isGuarded:!1,nonce:0,txCount:0,scrCount:0,claimableRewards:ue},Ot={address:"",websocketEvent:null,websocketBatchEvent:null,accounts:{"":Me},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},un=(0,ln.createSlice)({name:"accountInfoSlice",initialState:Ot,reducers:{setAddress:(e,t)=>{let r=t.payload;e.address=r,e.publicKey=new Ft.Address(r).hex()},setAccount:(e,t)=>{let r=e.address===t.payload.address;e.accounts={[e.address]:r?t.payload:Me},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(I,()=>(de.local.removeItem(oe.loginExpiresAt),Ot)),e.addCase(_e,(t,r)=>{let{address:o}=r.payload;t.address=o,t.publicKey=new Ft.Address(o).hex()}),e.addCase(pn.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:Ot.accounts,t.publicKey=d})}}),{setAccount:dn,setAddress:vc,setAccountNonce:mn,setAccountShard:Ec,setLedgerAccount:kc,updateLedgerAccount:Lc,setWalletConnectAccount:Dc,setIsAccountLoading:Nc,setAccountLoadingError:Rc,setWebsocketEvent:gn,setWebsocketBatchEvent:fn}=un.actions,Oe=un.reducer});function he(){return new Date().setHours(new Date().getHours()+24)}function xe(e){de.local.setItem({key:oe.loginExpiresAt,data:e,expires:e})}var Bt=f(()=>{"use strict";n();Pe();ye()});var yn,Tn,hn,$c,Gc,Wc,Hc,qc,jc,xn,zc,Be,Ue=f(()=>{"use strict";n();yn=require("@reduxjs/toolkit");Bt();K();_();Tn={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,operaLogin:null,isLoginSessionInvalid:!1},hn=(0,yn.createSlice)({name:"loginInfoSlice",initialState:Tn,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},invalidateLoginSession:e=>{e.isLoginSessionInvalid=!0},setLogoutRoute:(e,t)=>{e.logoutRoute=t.payload}},extraReducers:e=>{e.addCase(I,()=>Tn),e.addCase(_e,(t,r)=>{t.loginMethod=r.payload.loginMethod,xe(he())})}}),{setLoginMethod:$c,setWalletConnectLogin:Gc,setLedgerLogin:Wc,setTokenLogin:Hc,setTokenLoginSignature:qc,setWalletLogin:jc,invalidateLoginSession:xn,setLogoutRoute:zc}=hn.actions,Be=hn.reducer});var wn,Sn,bn,Xc,Jc,Qc,el,Ve,$e=f(()=>{"use strict";n();wn=require("@reduxjs/toolkit");_();Sn={},bn=(0,wn.createSlice)({name:"modalsSlice",initialState:Sn,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(I,()=>Sn)}}),{setTxSubmittedModal:Xc,setNotificationModal:Jc,clearTxSubmittedModal:Qc,clearNotificationModal:el}=bn.actions,Ve=bn.reducer});var In=f(()=>{"use strict";n()});var An=f(()=>{"use strict";n();In()});function Ut(e){return e[Math.floor(Math.random()*e.length)]}var vn=f(()=>{"use strict";n()});var En=f(()=>{"use strict";n();kt()});var kn=f(()=>{"use strict";n();An();vn();En()});var Ln,Dn,Vt,Ui,Nn,Tl,yl,Ge,We=f(()=>{"use strict";n();Ln=require("@reduxjs/toolkit"),Dn=S(require("lodash.omit"));kn();Vt={id:"not-configured",chainId:"",name:"NOT CONFIGURED",egldLabel:"",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"",walletConnectBridgeAddress:"",walletConnectV2RelayAddress:"",walletConnectV2ProjectId:"",walletConnectV2Options:{},walletAddress:"",apiAddress:"",explorerAddress:"",apiTimeout:"4000"},Ui={network:Vt,chainID:"-1"},Nn=(0,Ln.createSlice)({name:"appConfig",initialState:Ui,reducers:{initializeNetworkConfig:(e,t)=>{let r=Ut(t.payload.walletConnectBridgeAddresses),o=Ut(t.payload.walletConnectV2RelayAddresses),i=(0,Dn.default)(t.payload,"walletConnectBridgeAddresses","walletConnectV2RelayAddresses");e.network=A(x(x({},e.network),i),{walletConnectBridgeAddress:r,walletConnectV2RelayAddress:o})},setChainID:(e,t)=>{e.chainID=t.payload}}}),{initializeNetworkConfig:Tl,setChainID:yl}=Nn.actions,Ge=Nn.reducer});var Rn,$t,Cn,Il,Al,vl,He,qe=f(()=>{"use strict";n();Rn=require("@reduxjs/toolkit");C();_();$t={isSigning:!1,signedSessions:{}},Cn=(0,Rn.createSlice)({name:"signedMessageInfoSliceState",initialState:$t,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]=o},setSignSessionState:(e,t)=>x(x({},e),t.payload),clearSignedMessageInfo:()=>$t},extraReducers:e=>{e.addCase(I,()=>$t)}}),{setSignSession:Il,clearSignedMessageInfo:Al,setSignSessionState:vl}=Cn.actions,He=Cn.reducer});var _n,Mn,Pn,On,Pl,_l,Ml,Ol,Fl,Bl,je,ze=f(()=>{"use strict";n();_n=require("@reduxjs/toolkit"),Mn=require("redux-persist");Lt();C();Rt();_();Pn={customToasts:[],transactionToasts:[],failTransactionToast:null},On=(0,_n.createSlice)({name:"toastsSlice",initialState:Pn,reducers:{addCustomToast:(e,t)=>{e.customToasts.push(A(x({},t.payload),{type:"custom",toastId:t.payload.toastId||`custom-toast-${e.customToasts.length+1}`}))},removeCustomToast:(e,t)=>{e.customToasts=e.customToasts.filter(r=>r.toastId!==t.payload)},addTransactionToast:(e,t)=>{e.transactionToasts.push({type:"transaction",startTimestamp:Ce(),toastId:t.payload||`custom-toast-${e.transactionToasts.length+1}`})},removeTransactionToast:(e,t)=>{e.transactionToasts=e.transactionToasts.filter(r=>r.toastId!==t.payload)},addFailTransactionToast:(e,t)=>{e.failTransactionToast=A(x({},t.payload),{toastId:Yr})},removeFailTransactionToast:e=>{e.failTransactionToast=null}},extraReducers:e=>{e.addCase(I,()=>Pn),e.addCase(Mn.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:Pl,removeCustomToast:_l,addTransactionToast:Ml,removeTransactionToast:Ol,addFailTransactionToast:Fl,removeFailTransactionToast:Bl}=On.actions,je=On.reducer});var Fn,Wt,Ht,qt,Vi,Gt,Bn,Gl,Wl,Hl,Ke,Ye=f(()=>{"use strict";n();Fn=require("@reduxjs/toolkit");_();Wt="Transaction failed",Ht="Transaction successful",qt="Processing transaction",Vi="Transaction submitted",Gt={},Bn=(0,Fn.createSlice)({name:"transactionsInfo",initialState:Gt,reducers:{setTransactionsDisplayInfo(e,t){let{sessionId:r,transactionsDisplayInfo:o}=t.payload;r!=null&&(e[r]={errorMessage:(o==null?void 0:o.errorMessage)||Wt,successMessage:(o==null?void 0:o.successMessage)||Ht,processingMessage:(o==null?void 0:o.processingMessage)||qt,submittedMessage:(o==null?void 0:o.submittedMessage)||Vi,transactionDuration:o==null?void 0:o.transactionDuration})},clearTransactionsInfoForSessionId(e,t){t.payload!=null&&delete e[t.payload]},clearTransactionsInfo:()=>Gt},extraReducers:e=>{e.addCase(I,()=>Gt)}}),{clearTransactionsInfo:Gl,setTransactionsDisplayInfo:Wl,clearTransactionsInfoForSessionId:Hl}=Bn.actions,Ke=Bn.reducer});function Un(e){return e!=null&&(Yi(e)||Qi(e))}function Ze(e){return e!=null&&(Zi(e)||ea(e))}function Xe(e){return e!=null&&(Xi(e)||ta(e))}function Vn(e){return e!=null&&Ji(e)}function Yi(e){return e!=null&&Gi.includes(e)}function Zi(e){return e!=null&&Wi.includes(e)}function Xi(e){return e!=null&&Hi.includes(e)}function Ji(e){return e!=null&&qi.includes(e)}function Qi(e){return e!=null&&ji.includes(e)}function ea(e){return e!=null&&zi.includes(e)}function ta(e){return e!=null&&Ki.includes(e)}var Gi,Wi,Hi,qi,ji,zi,Ki,zt=f(()=>{"use strict";n();K();Gi=["sent"],Wi=["success"],Hi=["fail","cancelled","timedOut"],qi=["timedOut"],ji=["pending"],zi=["success"],Ki=["fail","invalid"]});var $n,Gn,Se,ra,Wn,Ql,ep,tp,rp,np,op,ip,ap,sp,cp,Je,Qe=f(()=>{"use strict";n();$n=require("@reduxjs/toolkit"),Gn=require("redux-persist");K();zt();_();Se={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},ra={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},Wn=(0,$n.createSlice)({name:"transactionsSlice",initialState:Se,reducers:{moveTransactionsToSignedState:(e,t)=>{var m,T;let{sessionId:r,transactions:o,errorMessage:i,status:l,redirectRoute:p}=t.payload,d=((m=e.customTransactionInformationForSessionId)==null?void 0:m[r])||ra;e.signedTransactions[r]={transactions:o,status:l,errorMessage:i,redirectRoute:p,customTransactionInformation:d},((T=e==null?void 0:e.transactionsToSign)==null?void 0:T.sessionId)===r&&(e.transactionsToSign=Se.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=x(x({},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 d,m,T,h,y,E;let{sessionId:r,status:o,errorMessage:i,transactionHash:l}=t.payload,p=(m=(d=e.signedTransactions)==null?void 0:d[r])==null?void 0:m.transactions;if(p!=null){e.signedTransactions[r].transactions=p.map(H=>H.hash===l?A(x({},H),{status:o,errorMessage:i}):H);let k=(h=(T=e.signedTransactions[r])==null?void 0:T.transactions)==null?void 0:h.every(H=>Ze(H.status)),X=(E=(y=e.signedTransactions[r])==null?void 0:y.transactions)==null?void 0:E.every(H=>Xe(H.status));k&&(e.signedTransactions[r].status="success"),X&&(e.signedTransactions[r].status="fail")}},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=Se.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=Se.signedTransactions},setSignTransactionsError:(e,t)=>{e.signTransactionsError=t.payload},setSignTransactionsCancelMessage:(e,t)=>{e.signTransactionsCancelMessage=t.payload}},extraReducers:e=>{e.addCase(I,()=>Se),e.addCase(Gn.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 h=new Date(m),y=new Date;return y.setHours(y.getHours()+5),y-h>0||(d[m]=T),d},{});i!=null&&(t.customTransactionInformationForSessionId=i),o!=null&&(t.signedTransactions=l)})}}),{updateSignedTransactionStatus:Ql,updateSignedTransactions:ep,setTransactionsToSign:tp,clearAllTransactionsToSign:rp,clearAllSignedTransactions:np,clearSignedTransaction:op,clearTransactionToSign:ip,setSignTransactionsError:ap,setSignTransactionsCancelMessage:sp,moveTransactionsToSignedState:cp}=Wn.actions,Je=Wn.reducer});var Hn,Kt,qn,dp,mp,gp,fp,et,tt=f(()=>{"use strict";n();Hn=require("@reduxjs/toolkit");_();Kt={},qn=(0,Hn.createSlice)({name:"batchTransactionsSlice",initialState:Kt,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:()=>Kt},extraReducers:e=>{e.addCase(I,()=>Kt)}}),{setBatchTransactions:dp,updateBatchTransactions:mp,clearBatchTransactions:gp,clearAllBatchTransactions:fp}=qn.actions,et=qn.reducer});var zn,jn,Kn,xp,Yn,Yt=f(()=>{"use strict";n();zn=require("@reduxjs/toolkit");_();jn={},Kn=(0,zn.createSlice)({name:"dappConfigSlice",initialState:jn,reducers:{setDappConfig:(e,t)=>{e=x(x({},e),t.payload)}},extraReducers:e=>{e.addCase(I,()=>jn)}}),{setDappConfig:xp}=Kn.actions,Yn=Kn.reducer});var ie=f(()=>{"use strict";n();Fe();Ue();$e();We();qe();ze();Ye();Qe();tt();Yt()});var Zt=f(()=>{"use strict";n()});var eo,Qn,to,qp,jp,zp,Kp,Yp,Zp,ro,no=f(()=>{"use strict";n();eo=require("@reduxjs/toolkit");_();Qn={visible:!1,modal:{showHeader:!0,showFooter:!1,headerText:"",footerText:""}},to=(0,eo.createSlice)({name:"dappModalsSlice",initialState:Qn,reducers:{setDappModalVisibility:(e,t)=>{e.visible=t.payload},setDappModalHeaderVisibility:(e,t)=>{e.modal.showHeader=t.payload},setDappModalFooterVisibility:(e,t)=>{e.modal.showFooter=t.payload},setDappModalHeaderText:(e,t)=>{e.modal.headerText=t.payload},setDappModalFooterText:(e,t)=>{e.modal.footerText=t.payload},setDappModalConfig:(e,t)=>{e.modal=x({},t.payload)}},extraReducers:e=>{e.addCase(I,()=>Qn)}}),{setDappModalVisibility:qp,setDappModalHeaderVisibility:jp,setDappModalFooterVisibility:zp,setDappModalHeaderText:Kp,setDappModalFooterText:Yp,setDappModalConfig:Zp}=to.actions,ro=to.reducer});var oo,aa,sa,ae,at=f(()=>{"use strict";n();oo=require("@reduxjs/toolkit");Zt();Fe();tt();Yt();no();Ue();$e();We();qe();ze();Ye();Qe();aa={["account"]:Oe,["dappModal"]:ro,["dappConfig"]:Yn,["loginInfo"]:Be,["modals"]:Ve,["networkConfig"]:Ge,["signedMessageInfo"]:He,["toasts"]:je,["transactionsInfo"]:Ke,["transactions"]:Je,["batchTransactions"]:et},sa=(e={})=>(0,oo.combineReducers)(x(x({},aa),e)),ae=sa});var co={};ee(co,{default:()=>Ia,sessionStorageReducers:()=>Xt});function Y(e,t=[]){return{key:e,version:1,storage:ao.default,blacklist:t}}var N,io,ao,ca,we,la,pa,ua,da,ma,ga,fa,Ta,ya,ha,so,xa,Xt,Sa,wa,ba,Ia,lo=f(()=>{"use strict";n();N=require("redux-persist"),io=S(require("redux-persist/lib/storage")),ao=S(require("redux-persist/lib/storage/session"));at();ie();Fe();tt();Ue();$e();We();qe();ze();Ye();Qe();Zt();ca={persistReducersStorageType:"localStorage"},we={["account"]:"sdk-dapp-account",["loginInfo"]:"sdk-dapp-login-info",["modals"]:"sdk-dapp-modals",["networkConfig"]:"sdk-dapp-network-config"},la=Y(we["account"]),pa=Y(we["loginInfo"]),ua=Y(we["modals"]),da=Y(we["networkConfig"]),ma={2:e=>A(x({},e),{networkConfig:Vt})};ga=Y("sdk-dapp-transactionsInfo"),fa=Y("sdk-dapp-transactions",["transactionsToSign"]),Ta=Y("sdk-dapp-batchTransactions",["batchTransactions"]),ya=Y("sdk-dapp-toasts"),ha=Y("sdk-dapp-signedMessageInfo"),so={key:"sdk-dapp-store",version:2,storage:io.default,whitelist:Object.keys(we),migrate:(0,N.createMigrate)(ma,{debug:!1})},xa=A(x({},so),{whitelist:[]}),Xt={["toasts"]:(0,N.persistReducer)(ya,je),["transactions"]:(0,N.persistReducer)(fa,Je),["transactionsInfo"]:(0,N.persistReducer)(ga,Ke),["batchTransactions"]:(0,N.persistReducer)(Ta,et),["signedMessageInfo"]:(0,N.persistReducer)(ha,He)},Sa=A(x({},Xt),{["account"]:(0,N.persistReducer)(la,Oe),["loginInfo"]:(0,N.persistReducer)(pa,Be),["modals"]:(0,N.persistReducer)(ua,Ve),["networkConfig"]:(0,N.persistReducer)(da,Ge)}),wa=ca.persistReducersStorageType==="localStorage",ba=wa?(0,N.persistReducer)(so,ae(Xt)):(0,N.persistReducer)(xa,ae(Sa)),Ia=ba});var po={};ee(po,{default:()=>Aa});var Aa,uo=f(()=>{"use strict";n();at();Aa=ae()});var mo={};ee(mo,{default:()=>Ea});var P,va,Ea,go=f(()=>{"use strict";n();P=require("redux-persist"),va=[P.FLUSH,P.REHYDRATE,P.PAUSE,P.PERSIST,P.PURGE,P.REGISTER],Ea=va});var yo={};ee(yo,{default:()=>To});function To(e){return(0,fo.persistStore)(e)}var fo,ho=f(()=>{"use strict";n();fo=require("redux-persist")});var ys={};ee(ys,{useInitializeWebsocketConnection:()=>Ts});module.exports=Te(ys);n();var se=require("react"),Yo=require("socket.io-client");n();n();var Ao=require("react"),ge=require("react-redux");n();var Jt=require("@reduxjs/toolkit"),bo=require("react-redux/lib/utils/Subscription");ie();n();var Xn=S(require("lodash.throttle"));b();n();var Zn=S(require("lodash.isequal")),rt=require("reselect");C();var g=(0,rt.createSelectorCreator)(rt.defaultMemoize,Zn.default),nt=(e,t)=>e!=""&&Boolean(t);ie();Bt();Pe();ye();var na=[Re],ot=!1,oa=(0,Xn.default)(()=>{xe(he())},5e3),Jn=e=>t=>r=>{var m;if(na.includes(r.type))return t(r);let o=e.getState(),i=de.local.getItem(oe.loginExpiresAt);if(!nt((m=o==null?void 0:o.loginInfo)==null?void 0:m.loginMethod,o==null?void 0:o.account.address))return t(r);if(i==null)return xe(he());let p=Date.now();return i-p<0&&!ot?setTimeout(()=>{ot=!0,e.dispatch(xn())},1e3):(ot&&(ot=!1),oa()),t(r)};n();n();function it(){return typeof sessionStorage!="undefined"}var xo=it()?(lo(),Te(co)).default:(uo(),Te(po)).default,So=it()?(go(),Te(mo)).default:[],wo=it()?(ho(),Te(yo)).default:e=>e;at();var me=(0,Jt.configureStore)({reducer:xo,middleware:e=>e({serializableCheck:{ignoredActions:[...So,mn.type,dn.type],ignoredPaths:["payload.nonce","account.account.nonce","providers.accountProvider"]}}).concat(Jn)}),Io=(0,bo.createSubscription)(me),Nu=wo(me),Ru=(0,Jt.configureStore)({reducer:ae});var ka={store:me,subscription:Io},Qt=(0,Ao.createContext)(ka),Mu=(0,ge.createStoreHook)(Qt),vo=(0,ge.createDispatchHook)(Qt),st=(0,ge.createSelectorHook)(Qt);n();n();ie();var $=e=>e.account,er=g($,e=>e.address),be=g($,er,(e,t)=>t in e.accounts?e.accounts[t]:Me),Uu=g($,be,(e,t)=>{let i=e,{accounts:r}=i,o=ur(i,["accounts"]);return A(x({},o),{account:t})}),Vu=g(be,e=>e.balance),$u=g(be,e=>{var t;return((t=e==null?void 0:e.nonce)==null?void 0:t.valueOf())||0}),Gu=g($,e=>e.shard),Wu=g($,e=>e.ledgerAccount),Hu=g($,e=>e.walletConnectAccount),qu=g($,e=>e.isAccountLoading),ju=g($,e=>e.accountLoadingError),zu=g($,e=>e.websocketEvent),Ku=g($,e=>e.websocketBatchEvent);n();var J=e=>e.loginInfo,Ju=g(J,e=>e.loginMethod),Qu=g(J,er,(e,t)=>nt(e.loginMethod,t)),ed=g(J,e=>e.walletConnectLogin),td=g(J,e=>e.ledgerLogin),rd=g(J,e=>e.walletLogin),nd=g(J,e=>e.isLoginSessionInvalid),od=g(J,e=>e.tokenLogin),id=g(J,e=>e.logoutRoute);n();var Eo=e=>e.modals,cd=g(Eo,e=>e.txSubmittedModal),ld=g(Eo,e=>e.notificationModal);n();var Z=e=>e.networkConfig,dd=g(Z,e=>e.chainID),md=g(Z,e=>e.network.walletConnectBridgeAddress),gd=g(Z,e=>e.network.walletConnectV2RelayAddress),fd=g(Z,e=>e.network.walletConnectV2ProjectId),Td=g(Z,e=>e.network.walletConnectV2Options),yd=g(Z,e=>e.network.walletConnectDeepLink),tr=g(Z,e=>e.network),hd=g(tr,e=>e.apiAddress),ko=g(tr,e=>e.explorerAddress),xd=g(tr,e=>e.egldLabel);n();var ct=e=>e.signedMessageInfo,bd=g(ct,e=>e.isSigning),Id=g(ct,e=>e.errorMessage),Ad=g(ct,e=>{let t=Object.keys(e.signedSessions),r=t.length;return e.signedSessions[t[r-1]]}),vd=g(ct,e=>{let t=Object.keys(e.signedSessions),r=t.length;return t.length>0?t[r-1]:""});n();var rr=e=>e.toasts,Ld=g(rr,e=>e.customToasts),Dd=g(rr,e=>e.transactionToasts),Nd=g(rr,e=>e.failTransactionToast);n();ie();var Lo={errorMessage:Wt,successMessage:Ht,processingMessage:qt},La=e=>e.transactionsInfo,_d=g(La,(e,t)=>t,(e,t)=>t!=null&&(e==null?void 0:e[Number(t)])||Lo);n();n();var G=require("@multiversx/sdk-core"),No=require("@multiversx/sdk-core/out/signature");b();n();var or=require("@multiversx/sdk-core/out");n();n();function nr(e){try{let t=atob(e),r=btoa(t),o=a.Buffer.from(e,"base64").toString(),i=a.Buffer.from(o).toString("base64");if(e===r&&e===i||t===o)return!0}catch(t){return!1}return!1}n();n();n();n();var Do=e=>{let t=e!=null?e:"";return nr(t)?or.TransactionPayload.fromEncoded(t):new or.TransactionPayload(t)};function ir(e){var r,o,i;let t=new G.Transaction(x(x({value:e.value.valueOf(),data:Do(e.data),nonce:e.nonce.valueOf(),receiver:new G.Address(e.receiver),sender:new G.Address(e.sender),gasLimit:(r=e.gasLimit.valueOf())!=null?r:Dt,gasPrice:(o=e.gasPrice.valueOf())!=null?o:Nt,chainID:e.chainID.valueOf(),version:new G.TransactionVersion((i=e.version)!=null?i:Jr)},e.options?{options:new G.TransactionOptions(e.options)}:{}),e.guardian?{guardian:new G.Address(e.guardian)}:{}));return e.guardianSignature&&t.applyGuardianSignature({hex:()=>e.guardianSignature||""}),t.applySignature(new No.Signature(e.signature)),t}n();n();n();n();n();var Ra=require("@multiversx/sdk-core/out");n();b();n();var Co=require("@multiversx/sdk-core");C();n();var Ca=require("@multiversx/sdk-core");n();n();n();var Pa=require("@multiversx/sdk-core"),_a=S(require("bignumber.js"));K();n();n();n();n();n();n();n();D();n();n();D();n();n();n();var Va=S(require("bignumber.js"));b();n();var Ua=require("@multiversx/sdk-core"),ar=S(require("bignumber.js"));b();n();var Fa=S(require("bignumber.js"));n();ar.default.config({ROUNDING_MODE:ar.default.ROUND_FLOOR});n();n();n();b();n();n();n();n();b();n();b();n();var $a=require("@multiversx/sdk-core");b();n();var Ie=require("@multiversx/sdk-core"),Wa=require("@multiversx/sdk-network-providers");b();n();n();var Ga=S(require("bignumber.js"));b();n();b();n();n();n();n();n();b();n();D();var qa=["reDelegateRewards","claimRewards","unBond"],ja=["wrapEgld","unwrapEgld"],za=["unStake"],Ka=["unDelegate"];n();n();n();b();n();var Xa=S(require("bignumber.js"));n();n();D();n();var Ja=S(require("bignumber.js"));n();n();n();var es=S(require("bignumber.js"));C();n();n();n();n();K();n();var ns=require("@multiversx/sdk-web-wallet-provider");b();n();var rs=S(require("qs"));n();n();var cr=()=>typeof window!="undefined";n();var YT={search:cr()?window.location.search:"",removeParams:[]};n();n();n();n();D();n();n();n();var os=S(require("linkifyjs"));n();b();n();var is=S(require("bignumber.js"));n();C();n();n();K();n();K();n();n();n();D();n();D();n();var as=S(require("bignumber.js"));b();D();n();D();n();var Uo=require("react");C();n();n();D();n();n();var ss=require("@multiversx/sdk-core/out"),cs=S(require("bignumber.js"));D();n();C();n();n();C();var $h=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}];n();var Vo=require("react");C();n();var ps=require("react");D();var Kh=["create","localMint","ESDTLocalMint","addQuantity","burn","localBurn","ESDTLocalBurn","wipe","writeLog","signalError"];zt();var dt=e=>e.transactions,Ae=g(dt,e=>e.signedTransactions),Px=g(dt,e=>e.signTransactionsError),_x=g(dt,e=>e.signTransactionsCancelMessage),mt=e=>t=>Object.entries(t).reduce((r,[o,i])=>(e(i.status)&&(r[o]=i),r),{}),Mx=g(Ae,mt(Un)),Ox=g(Ae,mt(Ze)),Fx=g(Ae,mt(Xe)),Bx=g(Ae,mt(Vn)),Ux=g(dt,e=>{var t;return(e==null?void 0:e.transactionsToSign)==null?null:A(x({},e.transactionsToSign),{transactions:((t=e==null?void 0:e.transactionsToSign)==null?void 0:t.transactions.map(r=>ir(r)))||[]})}),Vx=g(Ae,(e,t)=>t,(e,t)=>t!=null?(e==null?void 0:e[t])||{}:{});n();var us=e=>e.dappConfig,Wx=g(us,e=>e.shouldUseWebViewProvider);var $o=()=>st(be);ie();n();n();n();function Go(e){return M(this,null,function*(){return yield new Promise(t=>{setTimeout(()=>t(),e)})})}n();var Wo=(e,t,r,o=0)=>M(void 0,null,function*(){try{return yield e(...r)}catch(i){return o<t.retries?((t==null?void 0:t.delay)!=null&&(yield Go(t.delay)),yield Wo(e,t,r,o+1)):null}}),Ho=(e,t={retries:5,delay:500})=>(...r)=>M(void 0,null,function*(){return yield Wo(e,t,r)});n();var qo=S(require("axios"));function jo(e){return M(this,null,function*(){try{let{data:t}=yield qo.default.get(`${e}/websocket/config`);return`wss://${t.url}`}catch(t){throw console.error(t),new Error("Can not get websocket url")}})}n();var zo=()=>st(Z);n();var W={current:null,status:"not_initialized"};var ds=3e3,ms=3,gs=500,Ko=1e3,fs="batchUpdated";function Ts(){let e=(0,se.useRef)(null),{address:t}=$o(),r=vo(),{network:o}=zo(),i=d=>{e.current&&clearTimeout(e.current),e.current=setTimeout(()=>{r(gn(d))},Ko)},l=d=>{e.current&&clearTimeout(e.current),e.current=setTimeout(()=>{r(fn(d))},Ko)},p=(0,se.useCallback)(Ho(()=>M(this,null,function*(){W.status="pending";let d=yield jo(o.apiAddress);if(d==null){console.warn("Can not get websocket url");return}W.current=(0,Yo.io)(d,{forceNew:!0,reconnectionAttempts:ms,timeout:ds,query:{address:t}}),W.status="completed",W.current.onAny(m=>{i(m)}),W.current.on(fs,l)}),{retries:2,delay:gs}),[t]);(0,se.useEffect)(()=>{t&&W.status==="not_initialized"&&!W.current&&p()},[t,W.current]),(0,se.useEffect)(()=>()=>{var d;(d=W.current)==null||d.close(),e.current&&clearTimeout(e.current)},[])}0&&(module.exports={useInitializeWebsocketConnection});
|
|
1
|
+
"use strict";var Zo=Object.create;var fe=Object.defineProperty,Xo=Object.defineProperties,Jo=Object.getOwnPropertyDescriptor,Qo=Object.getOwnPropertyDescriptors,ei=Object.getOwnPropertyNames,ve=Object.getOwnPropertySymbols,ti=Object.getPrototypeOf,gt=Object.prototype.hasOwnProperty,pr=Object.prototype.propertyIsEnumerable;var lr=(e,t,r)=>t in e?fe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,x=(e,t)=>{for(var r in t||(t={}))gt.call(t,r)&&lr(e,r,t[r]);if(ve)for(var r of ve(t))pr.call(t,r)&&lr(e,r,t[r]);return e},A=(e,t)=>Xo(e,Qo(t));var ur=(e,t)=>{var r={};for(var o in e)gt.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(e!=null&&ve)for(var o of ve(e))t.indexOf(o)<0&&pr.call(e,o)&&(r[o]=e[o]);return r};var f=(e,t)=>()=>(e&&(t=e(e=0)),t);var ke=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),ee=(e,t)=>{for(var r in t)fe(e,r,{get:t[r],enumerable:!0})},dr=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of ei(t))!gt.call(e,i)&&i!==r&&fe(e,i,{get:()=>t[i],enumerable:!(o=Jo(t,i))||o.enumerable});return e};var S=(e,t,r)=>(r=e!=null?Zo(ti(e)):{},dr(t||!e||!e.__esModule?fe(r,"default",{value:e,enumerable:!0}):r,e)),Te=e=>dr(fe({},"__esModule",{value:!0}),e);var M=(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 fr=ke(Ee=>{"use strict";n();Ee.byteLength=ni;Ee.toByteArray=ii;Ee.fromByteArray=ci;var O=[],R=[],ri=typeof Uint8Array!="undefined"?Uint8Array:Array,ft="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(te=0,mr=ft.length;te<mr;++te)O[te]=ft[te],R[ft.charCodeAt(te)]=te;var te,mr;R["-".charCodeAt(0)]=62;R["_".charCodeAt(0)]=63;function gr(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 ni(e){var t=gr(e),r=t[0],o=t[1];return(r+o)*3/4-o}function oi(e,t,r){return(t+r)*3/4-r}function ii(e){var t,r=gr(e),o=r[0],i=r[1],l=new ri(oi(e,o,i)),p=0,d=i>0?o-4:o,m;for(m=0;m<d;m+=4)t=R[e.charCodeAt(m)]<<18|R[e.charCodeAt(m+1)]<<12|R[e.charCodeAt(m+2)]<<6|R[e.charCodeAt(m+3)],l[p++]=t>>16&255,l[p++]=t>>8&255,l[p++]=t&255;return i===2&&(t=R[e.charCodeAt(m)]<<2|R[e.charCodeAt(m+1)]>>4,l[p++]=t&255),i===1&&(t=R[e.charCodeAt(m)]<<10|R[e.charCodeAt(m+1)]<<4|R[e.charCodeAt(m+2)]>>2,l[p++]=t>>8&255,l[p++]=t&255),l}function ai(e){return O[e>>18&63]+O[e>>12&63]+O[e>>6&63]+O[e&63]}function si(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(ai(o));return i.join("")}function ci(e){for(var t,r=e.length,o=r%3,i=[],l=16383,p=0,d=r-o;p<d;p+=l)i.push(si(e,p,p+l>d?d:p+l));return o===1?(t=e[r-1],i.push(O[t>>2]+O[t<<4&63]+"==")):o===2&&(t=(e[r-2]<<8)+e[r-1],i.push(O[t>>10]+O[t>>4&63]+O[t<<2&63]+"=")),i.join("")}});var Tr=ke(Tt=>{n();Tt.read=function(e,t,r,o,i){var l,p,d=i*8-o-1,m=(1<<d)-1,T=m>>1,h=-7,y=r?i-1:0,k=r?-1:1,E=e[t+y];for(y+=k,l=E&(1<<-h)-1,E>>=-h,h+=d;h>0;l=l*256+e[t+y],y+=k,h-=8);for(p=l&(1<<-h)-1,l>>=-h,h+=o;h>0;p=p*256+e[t+y],y+=k,h-=8);if(l===0)l=1-T;else{if(l===m)return p?NaN:(E?-1:1)*(1/0);p=p+Math.pow(2,o),l=l-T}return(E?-1:1)*p*Math.pow(2,l-o)};Tt.write=function(e,t,r,o,i,l){var p,d,m,T=l*8-i-1,h=(1<<T)-1,y=h>>1,k=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,E=o?0:l-1,X=o?1:-1,H=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=h):(p=Math.floor(Math.log(t)/Math.LN2),t*(m=Math.pow(2,-p))<1&&(p--,m*=2),p+y>=1?t+=k/m:t+=k*Math.pow(2,1-y),t*m>=2&&(p++,m/=2),p+y>=h?(d=0,p=h):p+y>=1?(d=(t*m-1)*Math.pow(2,i),p=p+y):(d=t*Math.pow(2,y-1)*Math.pow(2,i),p=0));i>=8;e[r+E]=d&255,E+=X,d/=256,i-=8);for(p=p<<i|d,T+=i;T>0;e[r+E]=p&255,E+=X,p/=256,T-=8);e[r+E-X]|=H*128}});var Dr=ke(le=>{"use strict";n();var yt=fr(),ce=Tr(),yr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;le.Buffer=u;le.SlowBuffer=gi;le.INSPECT_MAX_BYTES=50;var Le=2147483647;le.kMaxLength=Le;u.TYPED_ARRAY_SUPPORT=li();!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 li(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),e.foo()===42}catch(r){return!1}}Object.defineProperty(u.prototype,"parent",{enumerable:!0,get:function(){if(!!u.isBuffer(this))return this.buffer}});Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(!!u.isBuffer(this))return this.byteOffset}});function q(e){if(e>Le)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 wt(e)}return Sr(e,t,r)}u.poolSize=8192;function Sr(e,t,r){if(typeof e=="string")return ui(e,t);if(ArrayBuffer.isView(e))return di(e);if(e==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(F(e,ArrayBuffer)||e&&F(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(F(e,SharedArrayBuffer)||e&&F(e.buffer,SharedArrayBuffer)))return xt(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=mi(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 Sr(e,t,r)};Object.setPrototypeOf(u.prototype,Uint8Array.prototype);Object.setPrototypeOf(u,Uint8Array);function wr(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 pi(e,t,r){return wr(e),e<=0?q(e):t!==void 0?typeof r=="string"?q(e).fill(t,r):q(e).fill(t):q(e)}u.alloc=function(e,t,r){return pi(e,t,r)};function wt(e){return wr(e),q(e<0?0:bt(e)|0)}u.allocUnsafe=function(e){return wt(e)};u.allocUnsafeSlow=function(e){return wt(e)};function ui(e,t){if((typeof t!="string"||t==="")&&(t="utf8"),!u.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=br(e,t)|0,o=q(r),i=o.write(e,t);return i!==r&&(o=o.slice(0,i)),o}function ht(e){for(var t=e.length<0?0:bt(e.length)|0,r=q(t),o=0;o<t;o+=1)r[o]=e[o]&255;return r}function di(e){if(F(e,Uint8Array)){var t=new Uint8Array(e);return xt(t.buffer,t.byteOffset,t.byteLength)}return ht(e)}function xt(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 mi(e){if(u.isBuffer(e)){var t=bt(e.length)|0,r=q(t);return r.length===0||e.copy(r,0,0,t),r}if(e.length!==void 0)return typeof e.length!="number"||It(e.length)?q(0):ht(e);if(e.type==="Buffer"&&Array.isArray(e.data))return ht(e.data)}function bt(e){if(e>=Le)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Le.toString(16)+" bytes");return e|0}function gi(e){return+e!=e&&(e=0),u.alloc(+e)}u.isBuffer=function(t){return t!=null&&t._isBuffer===!0&&t!==u.prototype};u.compare=function(t,r){if(F(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),F(r,Uint8Array)&&(r=u.from(r,r.offset,r.byteLength)),!u.isBuffer(t)||!u.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===r)return 0;for(var o=t.length,i=r.length,l=0,p=Math.min(o,i);l<p;++l)if(t[l]!==r[l]){o=t[l],i=r[l];break}return o<i?-1:i<o?1:0};u.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};u.concat=function(t,r){if(!Array.isArray(t))throw new TypeError('"list" argument must be an Array of Buffers');if(t.length===0)return u.alloc(0);var o;if(r===void 0)for(r=0,o=0;o<t.length;++o)r+=t[o].length;var i=u.allocUnsafe(r),l=0;for(o=0;o<t.length;++o){var p=t[o];if(F(p,Uint8Array))l+p.length>i.length?u.from(p).copy(i,l):Uint8Array.prototype.set.call(i,p,l);else if(u.isBuffer(p))p.copy(i,l);else throw new TypeError('"list" argument must be an Array of Buffers');l+=p.length}return i};function br(e,t){if(u.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||F(e,ArrayBuffer))return e.byteLength;if(typeof e!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,o=arguments.length>2&&arguments[2]===!0;if(!o&&r===0)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return St(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Lr(e).length;default:if(i)return o?-1:St(e).length;t=(""+t).toLowerCase(),i=!0}}u.byteLength=br;function fi(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 vi(this,t,r);case"utf8":case"utf-8":return Ar(this,t,r);case"ascii":return Ii(this,t,r);case"latin1":case"binary":return Ai(this,t,r);case"base64":return wi(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ki(this,t,r);default:if(o)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),o=!0}}u.prototype._isBuffer=!0;function re(e,t,r){var o=e[t];e[t]=e[r],e[r]=o}u.prototype.swap16=function(){var t=this.length;if(t%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<t;r+=2)re(this,r,r+1);return this};u.prototype.swap32=function(){var t=this.length;if(t%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<t;r+=4)re(this,r,r+3),re(this,r+1,r+2);return this};u.prototype.swap64=function(){var t=this.length;if(t%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<t;r+=8)re(this,r,r+7),re(this,r+1,r+6),re(this,r+2,r+5),re(this,r+3,r+4);return this};u.prototype.toString=function(){var t=this.length;return t===0?"":arguments.length===0?Ar(this,0,t):fi.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=le.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"};yr&&(u.prototype[yr]=u.prototype.inspect);u.prototype.compare=function(t,r,o,i,l){if(F(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),!u.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(r===void 0&&(r=0),o===void 0&&(o=t?t.length:0),i===void 0&&(i=0),l===void 0&&(l=this.length),r<0||o>t.length||i<0||l>this.length)throw new RangeError("out of range index");if(i>=l&&r>=o)return 0;if(i>=l)return-1;if(r>=o)return 1;if(r>>>=0,o>>>=0,i>>>=0,l>>>=0,this===t)return 0;for(var p=l-i,d=o-r,m=Math.min(p,d),T=this.slice(i,l),h=t.slice(r,o),y=0;y<m;++y)if(T[y]!==h[y]){p=T[y],d=h[y];break}return p<d?-1:d<p?1:0};function Ir(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,It(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:hr(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):hr(e,[t],r,o,i);throw new TypeError("val must be string, number or Buffer")}function hr(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(E,X){return l===1?E[X]:E.readUInt16BE(X*l)}var T;if(i){var h=-1;for(T=r;T<p;T++)if(m(e,T)===m(t,h===-1?0:T-h)){if(h===-1&&(h=T),T-h+1===d)return h*l}else h!==-1&&(T-=T-h),h=-1}else for(r+d>p&&(r=p-d),T=r;T>=0;T--){for(var y=!0,k=0;k<d;k++)if(m(e,T+k)!==m(t,k)){y=!1;break}if(y)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 Ir(this,t,r,o,!0)};u.prototype.lastIndexOf=function(t,r,o){return Ir(this,t,r,o,!1)};function Ti(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(It(d))return p;e[r+p]=d}return p}function yi(e,t,r,o){return De(St(t,e.length-r),e,r,o)}function hi(e,t,r,o){return De(Di(t),e,r,o)}function xi(e,t,r,o){return De(Lr(t),e,r,o)}function Si(e,t,r,o){return De(Ni(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 Ti(this,t,r,o);case"utf8":case"utf-8":return yi(this,t,r,o);case"ascii":case"latin1":case"binary":return hi(this,t,r,o);case"base64":return xi(this,t,r,o);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Si(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 wi(e,t,r){return t===0&&r===e.length?yt.fromByteArray(e):yt.fromByteArray(e.slice(t,r))}function Ar(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,h,y;switch(d){case 1:l<128&&(p=l);break;case 2:m=e[i+1],(m&192)===128&&(y=(l&31)<<6|m&63,y>127&&(p=y));break;case 3:m=e[i+1],T=e[i+2],(m&192)===128&&(T&192)===128&&(y=(l&15)<<12|(m&63)<<6|T&63,y>2047&&(y<55296||y>57343)&&(p=y));break;case 4:m=e[i+1],T=e[i+2],h=e[i+3],(m&192)===128&&(T&192)===128&&(h&192)===128&&(y=(l&15)<<18|(m&63)<<12|(T&63)<<6|h&63,y>65535&&y<1114112&&(p=y))}}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 bi(o)}var xr=4096;function bi(e){var t=e.length;if(t<=xr)return String.fromCharCode.apply(String,e);for(var r="",o=0;o<t;)r+=String.fromCharCode.apply(String,e.slice(o,o+=xr));return r}function Ii(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 Ai(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 vi(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+=Ri[e[l]];return i}function ki(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 v(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||v(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||v(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||v(t,1,this.length),this[t]};u.prototype.readUint16LE=u.prototype.readUInt16LE=function(t,r){return t=t>>>0,r||v(t,2,this.length),this[t]|this[t+1]<<8};u.prototype.readUint16BE=u.prototype.readUInt16BE=function(t,r){return t=t>>>0,r||v(t,2,this.length),this[t]<<8|this[t+1]};u.prototype.readUint32LE=u.prototype.readUInt32LE=function(t,r){return t=t>>>0,r||v(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||v(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||v(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||v(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||v(t,1,this.length),this[t]&128?(255-this[t]+1)*-1:this[t]};u.prototype.readInt16LE=function(t,r){t=t>>>0,r||v(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||v(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||v(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||v(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||v(t,4,this.length),ce.read(this,t,!0,23,4)};u.prototype.readFloatBE=function(t,r){return t=t>>>0,r||v(t,4,this.length),ce.read(this,t,!1,23,4)};u.prototype.readDoubleLE=function(t,r){return t=t>>>0,r||v(t,8,this.length),ce.read(this,t,!0,52,8)};u.prototype.readDoubleBE=function(t,r){return t=t>>>0,r||v(t,8,this.length),ce.read(this,t,!1,52,8)};function L(e,t,r,o,i,l){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<l)throw new RangeError('"value" argument is out of bounds');if(r+o>e.length)throw new RangeError("Index out of range")}u.prototype.writeUintLE=u.prototype.writeUIntLE=function(t,r,o,i){if(t=+t,r=r>>>0,o=o>>>0,!i){var l=Math.pow(2,8*o)-1;L(this,t,r,o,l,0)}var p=1,d=0;for(this[r]=t&255;++d<o&&(p*=256);)this[r+d]=t/p&255;return r+o};u.prototype.writeUintBE=u.prototype.writeUIntBE=function(t,r,o,i){if(t=+t,r=r>>>0,o=o>>>0,!i){var l=Math.pow(2,8*o)-1;L(this,t,r,o,l,0)}var p=o-1,d=1;for(this[r+p]=t&255;--p>=0&&(d*=256);)this[r+p]=t/d&255;return r+o};u.prototype.writeUint8=u.prototype.writeUInt8=function(t,r,o){return t=+t,r=r>>>0,o||L(this,t,r,1,255,0),this[r]=t&255,r+1};u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(t,r,o){return t=+t,r=r>>>0,o||L(this,t,r,2,65535,0),this[r]=t&255,this[r+1]=t>>>8,r+2};u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(t,r,o){return t=+t,r=r>>>0,o||L(this,t,r,2,65535,0),this[r]=t>>>8,this[r+1]=t&255,r+2};u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(t,r,o){return t=+t,r=r>>>0,o||L(this,t,r,4,4294967295,0),this[r+3]=t>>>24,this[r+2]=t>>>16,this[r+1]=t>>>8,this[r]=t&255,r+4};u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(t,r,o){return t=+t,r=r>>>0,o||L(this,t,r,4,4294967295,0),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=t&255,r+4};u.prototype.writeIntLE=function(t,r,o,i){if(t=+t,r=r>>>0,!i){var l=Math.pow(2,8*o-1);L(this,t,r,o,l-1,-l)}var p=0,d=1,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);L(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||L(this,t,r,1,127,-128),t<0&&(t=255+t+1),this[r]=t&255,r+1};u.prototype.writeInt16LE=function(t,r,o){return t=+t,r=r>>>0,o||L(this,t,r,2,32767,-32768),this[r]=t&255,this[r+1]=t>>>8,r+2};u.prototype.writeInt16BE=function(t,r,o){return t=+t,r=r>>>0,o||L(this,t,r,2,32767,-32768),this[r]=t>>>8,this[r+1]=t&255,r+2};u.prototype.writeInt32LE=function(t,r,o){return t=+t,r=r>>>0,o||L(this,t,r,4,2147483647,-2147483648),this[r]=t&255,this[r+1]=t>>>8,this[r+2]=t>>>16,this[r+3]=t>>>24,r+4};u.prototype.writeInt32BE=function(t,r,o){return t=+t,r=r>>>0,o||L(this,t,r,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=t&255,r+4};function vr(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 kr(e,t,r,o,i){return t=+t,r=r>>>0,i||vr(e,t,r,4,34028234663852886e22,-34028234663852886e22),ce.write(e,t,r,o,23,4),r+4}u.prototype.writeFloatLE=function(t,r,o){return kr(this,t,r,!0,o)};u.prototype.writeFloatBE=function(t,r,o){return kr(this,t,r,!1,o)};function Er(e,t,r,o,i){return t=+t,r=r>>>0,i||vr(e,t,r,8,17976931348623157e292,-17976931348623157e292),ce.write(e,t,r,o,52,8),r+8}u.prototype.writeDoubleLE=function(t,r,o){return Er(this,t,r,!0,o)};u.prototype.writeDoubleBE=function(t,r,o){return Er(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 Ei=/[^+/0-9A-Za-z-_]/g;function Li(e){if(e=e.split("=")[0],e=e.trim().replace(Ei,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function St(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 Di(e){for(var t=[],r=0;r<e.length;++r)t.push(e.charCodeAt(r)&255);return t}function Ni(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 Lr(e){return yt.toByteArray(Li(e))}function De(e,t,r,o){for(var i=0;i<o&&!(i+r>=t.length||i>=e.length);++i)t[i+r]=e[i];return i}function F(e,t){return e instanceof t||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===t.name}function It(e){return e!==e}var Ri=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 _r=ke((bs,Pr)=>{n();var w=Pr.exports={},B,U;function At(){throw new Error("setTimeout has not been defined")}function vt(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?B=setTimeout:B=At}catch(e){B=At}try{typeof clearTimeout=="function"?U=clearTimeout:U=vt}catch(e){U=vt}})();function Nr(e){if(B===setTimeout)return setTimeout(e,0);if((B===At||!B)&&setTimeout)return B=setTimeout,setTimeout(e,0);try{return B(e,0)}catch(t){try{return B.call(null,e,0)}catch(r){return B.call(this,e,0)}}}function Ci(e){if(U===clearTimeout)return clearTimeout(e);if((U===vt||!U)&&clearTimeout)return U=clearTimeout,clearTimeout(e);try{return U(e)}catch(t){try{return U.call(null,e)}catch(r){return U.call(this,e)}}}var j=[],pe=!1,ne,Ne=-1;function Pi(){!pe||!ne||(pe=!1,ne.length?j=ne.concat(j):Ne=-1,j.length&&Rr())}function Rr(){if(!pe){var e=Nr(Pi);pe=!0;for(var t=j.length;t;){for(ne=j,j=[];++Ne<t;)ne&&ne[Ne].run();Ne=-1,t=j.length}ne=null,pe=!1,Ci(e)}}w.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];j.push(new Cr(e,t)),j.length===1&&!pe&&Nr(Rr)};function Cr(e,t){this.fun=e,this.array=t}Cr.prototype.run=function(){this.fun.apply(null,this.array)};w.title="browser";w.browser=!0;w.env={};w.argv=[];w.version="";w.versions={};function z(){}w.on=z;w.addListener=z;w.once=z;w.off=z;w.removeListener=z;w.removeAllListeners=z;w.emit=z;w.prependListener=z;w.prependOnceListener=z;w.listeners=function(e){return[]};w.binding=function(e){throw new Error("process.binding is not supported")};w.cwd=function(){return"/"};w.chdir=function(e){throw new Error("process.chdir is not supported")};w.umask=function(){return 0}});var a,s,Is,n=f(()=>{a=S(Dr()),s=S(_r()),Is=function(e){function t(){var o=this||self;return delete e.prototype.__magic__,o}if(typeof globalThis=="object")return globalThis;if(this)return t();e.defineProperty(e.prototype,"__magic__",{configurable:!0,get:t});var r=__magic__;return r}(Object)});var Mr=f(()=>{"use strict";n()});var Or=f(()=>{"use strict";n()});var Fr=f(()=>{"use strict";n()});var Br=f(()=>{"use strict";n()});var K=f(()=>{"use strict";n()});var Ur=f(()=>{"use strict";n()});var Vr=f(()=>{"use strict";n()});var D=f(()=>{"use strict";n()});var $r=f(()=>{"use strict";n()});var Gr=f(()=>{"use strict";n()});var Wr=f(()=>{"use strict";n()});var C=f(()=>{"use strict";n();Or();Fr();Br();K();Ur();Vr();D();$r();Gr();Wr()});var kt,Hr,Ws,qr,Hs,jr,qs,js,zs,zr=f(()=>{"use strict";n();C();kt={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",apiAddress:"https://devnet-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",apiTimeout:"4000"},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",apiAddress:"https://testnet-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",apiTimeout:"4000"},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",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",apiTimeout:"4000"}},{chainId:Hr,egldLabel:Ws}=kt["devnet"],{chainId:qr,egldLabel:Hs}=kt["testnet"],{chainId:jr,egldLabel:qs}=kt["mainnet"],js={["devnet"]:Hr,["testnet"]:qr,["mainnet"]:jr},zs={[Hr]:"devnet",[qr]:"testnet",[jr]:"mainnet"}});var Et=f(()=>{"use strict";n()});var Kr=f(()=>{"use strict";n()});var Yr,Lt=f(()=>{"use strict";n();Yr="transaction-status-toast-id"});var V,Zr=f(()=>{"use strict";n();V=require("@multiversx/sdk-web-wallet-provider")});var Xr=f(()=>{"use strict";n()});var Dt,Nt,Jr,Re,Qr,ue,b=f(()=>{"use strict";n();Mr();zr();Et();Kr();Lt();Zr();Xr();Dt=5e4,Nt=1e9,Jr=1,Re="logout",Qr="login",ue="0"});var Ce,Rt=f(()=>{"use strict";n();Ce=()=>Date.now()/1e3});var en=f(()=>{"use strict";n()});var tn=f(()=>{"use strict";n()});var rn=f(()=>{"use strict";n();Rt();en();tn()});var Pt={};ee(Pt,{getItem:()=>Mi,localStorageKeys:()=>oe,removeItem:()=>Oi,setItem:()=>_i});var oe,Ct,_i,Mi,Oi,ye=f(()=>{"use strict";n();rn();oe={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event"},Ct=typeof localStorage!="undefined",_i=({key:e,data:t,expires:r})=>{!Ct||localStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},Mi=e=>{if(!Ct)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:Ce()>=r.expires?(localStorage.removeItem(String(e)),null):r.data},Oi=e=>{!Ct||localStorage.removeItem(String(e))}});var _t={};ee(_t,{clear:()=>sn,getItem:()=>on,removeItem:()=>an,setItem:()=>nn,storage:()=>Fi});var nn,on,an,sn,Fi,cn=f(()=>{"use strict";n();nn=({key:e,data:t,expires:r})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},on=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},an=e=>sessionStorage.removeItem(String(e)),sn=()=>sessionStorage.clear(),Fi={setItem:nn,getItem:on,removeItem:an,clear:sn}});var de,Pe=f(()=>{"use strict";n();ye();cn();de={session:_t,local:Pt}});var Mt,I,_e,_=f(()=>{"use strict";n();Mt=require("@reduxjs/toolkit");b();I=(0,Mt.createAction)(Re),_e=(0,Mt.createAction)(Qr,e=>({payload:e}))});var Ft,ln,pn,Me,Ot,un,dn,vc,mn,kc,Ec,Lc,Dc,Nc,Rc,gn,fn,Oe,Fe=f(()=>{"use strict";n();Ft=require("@multiversx/sdk-core"),ln=require("@reduxjs/toolkit"),pn=require("redux-persist");b();Pe();ye();_();Me={balance:"...",address:"",isGuarded:!1,nonce:0,txCount:0,scrCount:0,claimableRewards:ue},Ot={address:"",websocketEvent:null,websocketBatchEvent:null,accounts:{"":Me},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},un=(0,ln.createSlice)({name:"accountInfoSlice",initialState:Ot,reducers:{setAddress:(e,t)=>{let r=t.payload;e.address=r,e.publicKey=new Ft.Address(r).hex()},setAccount:(e,t)=>{let r=e.address===t.payload.address;e.accounts={[e.address]:r?t.payload:Me},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(I,()=>(de.local.removeItem(oe.loginExpiresAt),Ot)),e.addCase(_e,(t,r)=>{let{address:o}=r.payload;t.address=o,t.publicKey=new Ft.Address(o).hex()}),e.addCase(pn.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:Ot.accounts,t.publicKey=d})}}),{setAccount:dn,setAddress:vc,setAccountNonce:mn,setAccountShard:kc,setLedgerAccount:Ec,updateLedgerAccount:Lc,setWalletConnectAccount:Dc,setIsAccountLoading:Nc,setAccountLoadingError:Rc,setWebsocketEvent:gn,setWebsocketBatchEvent:fn}=un.actions,Oe=un.reducer});function he(){return new Date().setHours(new Date().getHours()+24)}function xe(e){de.local.setItem({key:oe.loginExpiresAt,data:e,expires:e})}var Bt=f(()=>{"use strict";n();Pe();ye()});var yn,Tn,hn,$c,Gc,Wc,Hc,qc,jc,xn,zc,Be,Ue=f(()=>{"use strict";n();yn=require("@reduxjs/toolkit");Bt();K();_();Tn={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,operaLogin:null,isLoginSessionInvalid:!1},hn=(0,yn.createSlice)({name:"loginInfoSlice",initialState:Tn,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},invalidateLoginSession:e=>{e.isLoginSessionInvalid=!0},setLogoutRoute:(e,t)=>{e.logoutRoute=t.payload}},extraReducers:e=>{e.addCase(I,()=>Tn),e.addCase(_e,(t,r)=>{t.loginMethod=r.payload.loginMethod,xe(he())})}}),{setLoginMethod:$c,setWalletConnectLogin:Gc,setLedgerLogin:Wc,setTokenLogin:Hc,setTokenLoginSignature:qc,setWalletLogin:jc,invalidateLoginSession:xn,setLogoutRoute:zc}=hn.actions,Be=hn.reducer});var wn,Sn,bn,Xc,Jc,Qc,el,Ve,$e=f(()=>{"use strict";n();wn=require("@reduxjs/toolkit");_();Sn={},bn=(0,wn.createSlice)({name:"modalsSlice",initialState:Sn,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(I,()=>Sn)}}),{setTxSubmittedModal:Xc,setNotificationModal:Jc,clearTxSubmittedModal:Qc,clearNotificationModal:el}=bn.actions,Ve=bn.reducer});var In=f(()=>{"use strict";n()});var An=f(()=>{"use strict";n();In()});function Ut(e){return e[Math.floor(Math.random()*e.length)]}var vn=f(()=>{"use strict";n()});var kn=f(()=>{"use strict";n();Et()});var En=f(()=>{"use strict";n();An();vn();kn()});var Ln,Dn,Vt,Ui,Nn,Tl,yl,Ge,We=f(()=>{"use strict";n();Ln=require("@reduxjs/toolkit"),Dn=S(require("lodash.omit"));En();Vt={id:"not-configured",chainId:"",name:"NOT CONFIGURED",egldLabel:"",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"",walletConnectBridgeAddress:"",walletConnectV2RelayAddress:"",walletConnectV2ProjectId:"",walletConnectV2Options:{},walletAddress:"",apiAddress:"",explorerAddress:"",apiTimeout:"4000"},Ui={network:Vt,chainID:"-1"},Nn=(0,Ln.createSlice)({name:"appConfig",initialState:Ui,reducers:{initializeNetworkConfig:(e,t)=>{let r=Ut(t.payload.walletConnectBridgeAddresses),o=Ut(t.payload.walletConnectV2RelayAddresses),i=(0,Dn.default)(t.payload,"walletConnectBridgeAddresses","walletConnectV2RelayAddresses");e.network=A(x(x({},e.network),i),{walletConnectBridgeAddress:r,walletConnectV2RelayAddress:o})},setChainID:(e,t)=>{e.chainID=t.payload}}}),{initializeNetworkConfig:Tl,setChainID:yl}=Nn.actions,Ge=Nn.reducer});var Rn,$t,Cn,Il,Al,vl,He,qe=f(()=>{"use strict";n();Rn=require("@reduxjs/toolkit");C();_();$t={isSigning:!1,signedSessions:{}},Cn=(0,Rn.createSlice)({name:"signedMessageInfoSliceState",initialState:$t,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]=o},setSignSessionState:(e,t)=>x(x({},e),t.payload),clearSignedMessageInfo:()=>$t},extraReducers:e=>{e.addCase(I,()=>$t)}}),{setSignSession:Il,clearSignedMessageInfo:Al,setSignSessionState:vl}=Cn.actions,He=Cn.reducer});var _n,Mn,Pn,On,Pl,_l,Ml,Ol,Fl,Bl,je,ze=f(()=>{"use strict";n();_n=require("@reduxjs/toolkit"),Mn=require("redux-persist");Lt();C();Rt();_();Pn={customToasts:[],transactionToasts:[],failTransactionToast:null},On=(0,_n.createSlice)({name:"toastsSlice",initialState:Pn,reducers:{addCustomToast:(e,t)=>{e.customToasts.push(A(x({},t.payload),{type:"custom",toastId:t.payload.toastId||`custom-toast-${e.customToasts.length+1}`}))},removeCustomToast:(e,t)=>{e.customToasts=e.customToasts.filter(r=>r.toastId!==t.payload)},addTransactionToast:(e,t)=>{e.transactionToasts.push({type:"transaction",startTimestamp:Ce(),toastId:t.payload||`custom-toast-${e.transactionToasts.length+1}`})},removeTransactionToast:(e,t)=>{e.transactionToasts=e.transactionToasts.filter(r=>r.toastId!==t.payload)},addFailTransactionToast:(e,t)=>{e.failTransactionToast=A(x({},t.payload),{toastId:Yr})},removeFailTransactionToast:e=>{e.failTransactionToast=null}},extraReducers:e=>{e.addCase(I,()=>Pn),e.addCase(Mn.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:Pl,removeCustomToast:_l,addTransactionToast:Ml,removeTransactionToast:Ol,addFailTransactionToast:Fl,removeFailTransactionToast:Bl}=On.actions,je=On.reducer});var Fn,Wt,Ht,qt,Vi,Gt,Bn,Gl,Wl,Hl,Ke,Ye=f(()=>{"use strict";n();Fn=require("@reduxjs/toolkit");_();Wt="Transaction failed",Ht="Transaction successful",qt="Processing transaction",Vi="Transaction submitted",Gt={},Bn=(0,Fn.createSlice)({name:"transactionsInfo",initialState:Gt,reducers:{setTransactionsDisplayInfo(e,t){let{sessionId:r,transactionsDisplayInfo:o}=t.payload;r!=null&&(e[r]={errorMessage:(o==null?void 0:o.errorMessage)||Wt,successMessage:(o==null?void 0:o.successMessage)||Ht,processingMessage:(o==null?void 0:o.processingMessage)||qt,submittedMessage:(o==null?void 0:o.submittedMessage)||Vi,transactionDuration:o==null?void 0:o.transactionDuration})},clearTransactionsInfoForSessionId(e,t){t.payload!=null&&delete e[t.payload]},clearTransactionsInfo:()=>Gt},extraReducers:e=>{e.addCase(I,()=>Gt)}}),{clearTransactionsInfo:Gl,setTransactionsDisplayInfo:Wl,clearTransactionsInfoForSessionId:Hl}=Bn.actions,Ke=Bn.reducer});function Un(e){return e!=null&&(Yi(e)||Qi(e))}function Ze(e){return e!=null&&(Zi(e)||ea(e))}function Xe(e){return e!=null&&(Xi(e)||ta(e))}function Vn(e){return e!=null&&Ji(e)}function Yi(e){return e!=null&&Gi.includes(e)}function Zi(e){return e!=null&&Wi.includes(e)}function Xi(e){return e!=null&&Hi.includes(e)}function Ji(e){return e!=null&&qi.includes(e)}function Qi(e){return e!=null&&ji.includes(e)}function ea(e){return e!=null&&zi.includes(e)}function ta(e){return e!=null&&Ki.includes(e)}var Gi,Wi,Hi,qi,ji,zi,Ki,zt=f(()=>{"use strict";n();K();Gi=["sent"],Wi=["success"],Hi=["fail","cancelled","timedOut"],qi=["timedOut"],ji=["pending"],zi=["success"],Ki=["fail","invalid"]});var $n,Gn,Se,ra,Wn,Ql,ep,tp,rp,np,op,ip,ap,sp,cp,Je,Qe=f(()=>{"use strict";n();$n=require("@reduxjs/toolkit"),Gn=require("redux-persist");K();zt();_();Se={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},ra={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},Wn=(0,$n.createSlice)({name:"transactionsSlice",initialState:Se,reducers:{moveTransactionsToSignedState:(e,t)=>{var m,T;let{sessionId:r,transactions:o,errorMessage:i,status:l,redirectRoute:p}=t.payload,d=((m=e.customTransactionInformationForSessionId)==null?void 0:m[r])||ra;e.signedTransactions[r]={transactions:o,status:l,errorMessage:i,redirectRoute:p,customTransactionInformation:d},((T=e==null?void 0:e.transactionsToSign)==null?void 0:T.sessionId)===r&&(e.transactionsToSign=Se.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=x(x({},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 d,m,T,h,y,k;let{sessionId:r,status:o,errorMessage:i,transactionHash:l}=t.payload,p=(m=(d=e.signedTransactions)==null?void 0:d[r])==null?void 0:m.transactions;if(p!=null){e.signedTransactions[r].transactions=p.map(H=>H.hash===l?A(x({},H),{status:o,errorMessage:i}):H);let E=(h=(T=e.signedTransactions[r])==null?void 0:T.transactions)==null?void 0:h.every(H=>Ze(H.status)),X=(k=(y=e.signedTransactions[r])==null?void 0:y.transactions)==null?void 0:k.every(H=>Xe(H.status));E&&(e.signedTransactions[r].status="success"),X&&(e.signedTransactions[r].status="fail")}},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=Se.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=Se.signedTransactions},setSignTransactionsError:(e,t)=>{e.signTransactionsError=t.payload},setSignTransactionsCancelMessage:(e,t)=>{e.signTransactionsCancelMessage=t.payload}},extraReducers:e=>{e.addCase(I,()=>Se),e.addCase(Gn.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 h=new Date(m),y=new Date;return y.setHours(y.getHours()+5),y-h>0||(d[m]=T),d},{});i!=null&&(t.customTransactionInformationForSessionId=i),o!=null&&(t.signedTransactions=l)})}}),{updateSignedTransactionStatus:Ql,updateSignedTransactions:ep,setTransactionsToSign:tp,clearAllTransactionsToSign:rp,clearAllSignedTransactions:np,clearSignedTransaction:op,clearTransactionToSign:ip,setSignTransactionsError:ap,setSignTransactionsCancelMessage:sp,moveTransactionsToSignedState:cp}=Wn.actions,Je=Wn.reducer});var Hn,Kt,qn,dp,mp,gp,fp,et,tt=f(()=>{"use strict";n();Hn=require("@reduxjs/toolkit");_();Kt={},qn=(0,Hn.createSlice)({name:"batchTransactionsSlice",initialState:Kt,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:()=>Kt},extraReducers:e=>{e.addCase(I,()=>Kt)}}),{setBatchTransactions:dp,updateBatchTransactions:mp,clearBatchTransactions:gp,clearAllBatchTransactions:fp}=qn.actions,et=qn.reducer});var zn,jn,Kn,xp,Yn,Yt=f(()=>{"use strict";n();zn=require("@reduxjs/toolkit");_();jn={},Kn=(0,zn.createSlice)({name:"dappConfigSlice",initialState:jn,reducers:{setDappConfig:(e,t)=>{e=x(x({},e),t.payload)}},extraReducers:e=>{e.addCase(I,()=>jn)}}),{setDappConfig:xp}=Kn.actions,Yn=Kn.reducer});var ie=f(()=>{"use strict";n();Fe();Ue();$e();We();qe();ze();Ye();Qe();tt();Yt()});var Zt=f(()=>{"use strict";n()});var eo,Qn,to,qp,jp,zp,Kp,Yp,Zp,ro,no=f(()=>{"use strict";n();eo=require("@reduxjs/toolkit");_();Qn={visible:!1,modal:{showHeader:!0,showFooter:!1,headerText:"",footerText:""}},to=(0,eo.createSlice)({name:"dappModalsSlice",initialState:Qn,reducers:{setDappModalVisibility:(e,t)=>{e.visible=t.payload},setDappModalHeaderVisibility:(e,t)=>{e.modal.showHeader=t.payload},setDappModalFooterVisibility:(e,t)=>{e.modal.showFooter=t.payload},setDappModalHeaderText:(e,t)=>{e.modal.headerText=t.payload},setDappModalFooterText:(e,t)=>{e.modal.footerText=t.payload},setDappModalConfig:(e,t)=>{e.modal=x({},t.payload)}},extraReducers:e=>{e.addCase(I,()=>Qn)}}),{setDappModalVisibility:qp,setDappModalHeaderVisibility:jp,setDappModalFooterVisibility:zp,setDappModalHeaderText:Kp,setDappModalFooterText:Yp,setDappModalConfig:Zp}=to.actions,ro=to.reducer});var oo,aa,sa,ae,at=f(()=>{"use strict";n();oo=require("@reduxjs/toolkit");Zt();Fe();tt();Yt();no();Ue();$e();We();qe();ze();Ye();Qe();aa={["account"]:Oe,["dappModal"]:ro,["dappConfig"]:Yn,["loginInfo"]:Be,["modals"]:Ve,["networkConfig"]:Ge,["signedMessageInfo"]:He,["toasts"]:je,["transactionsInfo"]:Ke,["transactions"]:Je,["batchTransactions"]:et},sa=(e={})=>(0,oo.combineReducers)(x(x({},aa),e)),ae=sa});var co={};ee(co,{default:()=>Ia,sessionStorageReducers:()=>Xt});function Y(e,t=[]){return{key:e,version:1,storage:ao.default,blacklist:t}}var N,io,ao,ca,we,la,pa,ua,da,ma,ga,fa,Ta,ya,ha,so,xa,Xt,Sa,wa,ba,Ia,lo=f(()=>{"use strict";n();N=require("redux-persist"),io=S(require("redux-persist/lib/storage")),ao=S(require("redux-persist/lib/storage/session"));at();ie();Fe();tt();Ue();$e();We();qe();ze();Ye();Qe();Zt();ca={persistReducersStorageType:"localStorage"},we={["account"]:"sdk-dapp-account",["loginInfo"]:"sdk-dapp-login-info",["modals"]:"sdk-dapp-modals",["networkConfig"]:"sdk-dapp-network-config"},la=Y(we["account"]),pa=Y(we["loginInfo"]),ua=Y(we["modals"]),da=Y(we["networkConfig"]),ma={2:e=>A(x({},e),{networkConfig:Vt})};ga=Y("sdk-dapp-transactionsInfo"),fa=Y("sdk-dapp-transactions",["transactionsToSign"]),Ta=Y("sdk-dapp-batchTransactions",["batchTransactions"]),ya=Y("sdk-dapp-toasts"),ha=Y("sdk-dapp-signedMessageInfo"),so={key:"sdk-dapp-store",version:2,storage:io.default,whitelist:Object.keys(we),migrate:(0,N.createMigrate)(ma,{debug:!1})},xa=A(x({},so),{whitelist:[]}),Xt={["toasts"]:(0,N.persistReducer)(ya,je),["transactions"]:(0,N.persistReducer)(fa,Je),["transactionsInfo"]:(0,N.persistReducer)(ga,Ke),["batchTransactions"]:(0,N.persistReducer)(Ta,et),["signedMessageInfo"]:(0,N.persistReducer)(ha,He)},Sa=A(x({},Xt),{["account"]:(0,N.persistReducer)(la,Oe),["loginInfo"]:(0,N.persistReducer)(pa,Be),["modals"]:(0,N.persistReducer)(ua,Ve),["networkConfig"]:(0,N.persistReducer)(da,Ge)}),wa=ca.persistReducersStorageType==="localStorage",ba=wa?(0,N.persistReducer)(so,ae(Xt)):(0,N.persistReducer)(xa,ae(Sa)),Ia=ba});var po={};ee(po,{default:()=>Aa});var Aa,uo=f(()=>{"use strict";n();at();Aa=ae()});var mo={};ee(mo,{default:()=>ka});var P,va,ka,go=f(()=>{"use strict";n();P=require("redux-persist"),va=[P.FLUSH,P.REHYDRATE,P.PAUSE,P.PERSIST,P.PURGE,P.REGISTER],ka=va});var yo={};ee(yo,{default:()=>To});function To(e){return(0,fo.persistStore)(e)}var fo,ho=f(()=>{"use strict";n();fo=require("redux-persist")});var ys={};ee(ys,{useInitializeWebsocketConnection:()=>Ts});module.exports=Te(ys);n();var se=require("react"),Yo=require("socket.io-client");n();n();var Ao=require("react"),ge=require("react-redux");n();var Jt=require("@reduxjs/toolkit"),bo=require("react-redux/lib/utils/Subscription");ie();n();var Xn=S(require("lodash.throttle"));b();n();var Zn=S(require("lodash.isequal")),rt=require("reselect");C();var g=(0,rt.createSelectorCreator)(rt.defaultMemoize,Zn.default),nt=(e,t)=>e!=""&&Boolean(t);ie();Bt();Pe();ye();var na=[Re],ot=!1,oa=(0,Xn.default)(()=>{xe(he())},5e3),Jn=e=>t=>r=>{var m;if(na.includes(r.type))return t(r);let o=e.getState(),i=de.local.getItem(oe.loginExpiresAt);if(!nt((m=o==null?void 0:o.loginInfo)==null?void 0:m.loginMethod,o==null?void 0:o.account.address))return t(r);if(i==null)return xe(he());let p=Date.now();return i-p<0&&!ot?setTimeout(()=>{ot=!0,e.dispatch(xn())},1e3):(ot&&(ot=!1),oa()),t(r)};n();n();function it(){return typeof sessionStorage!="undefined"}var xo=it()?(lo(),Te(co)).default:(uo(),Te(po)).default,So=it()?(go(),Te(mo)).default:[],wo=it()?(ho(),Te(yo)).default:e=>e;at();var me=(0,Jt.configureStore)({reducer:xo,middleware:e=>e({serializableCheck:{ignoredActions:[...So,mn.type,dn.type],ignoredPaths:["payload.nonce","account.account.nonce","providers.accountProvider"]}}).concat(Jn)}),Io=(0,bo.createSubscription)(me),Nu=wo(me),Ru=(0,Jt.configureStore)({reducer:ae});var Ea={store:me,subscription:Io},Qt=(0,Ao.createContext)(Ea),Mu=(0,ge.createStoreHook)(Qt),vo=(0,ge.createDispatchHook)(Qt),st=(0,ge.createSelectorHook)(Qt);n();n();ie();var $=e=>e.account,er=g($,e=>e.address),be=g($,er,(e,t)=>t in e.accounts?e.accounts[t]:Me),Uu=g($,be,(e,t)=>{let i=e,{accounts:r}=i,o=ur(i,["accounts"]);return A(x({},o),{account:t})}),Vu=g(be,e=>e.balance),$u=g(be,e=>{var t;return((t=e==null?void 0:e.nonce)==null?void 0:t.valueOf())||0}),Gu=g($,e=>e.shard),Wu=g($,e=>e.ledgerAccount),Hu=g($,e=>e.walletConnectAccount),qu=g($,e=>e.isAccountLoading),ju=g($,e=>e.accountLoadingError),zu=g($,e=>e.websocketEvent),Ku=g($,e=>e.websocketBatchEvent);n();var J=e=>e.loginInfo,Ju=g(J,e=>e.loginMethod),Qu=g(J,er,(e,t)=>nt(e.loginMethod,t)),ed=g(J,e=>e.walletConnectLogin),td=g(J,e=>e.ledgerLogin),rd=g(J,e=>e.walletLogin),nd=g(J,e=>e.isLoginSessionInvalid),od=g(J,e=>e.tokenLogin),id=g(J,e=>e.logoutRoute);n();var ko=e=>e.modals,cd=g(ko,e=>e.txSubmittedModal),ld=g(ko,e=>e.notificationModal);n();var Z=e=>e.networkConfig,dd=g(Z,e=>e.chainID),md=g(Z,e=>e.network.walletConnectBridgeAddress),gd=g(Z,e=>e.network.walletConnectV2RelayAddress),fd=g(Z,e=>e.network.walletConnectV2ProjectId),Td=g(Z,e=>e.network.walletConnectV2Options),yd=g(Z,e=>e.network.walletConnectDeepLink),tr=g(Z,e=>e.network),hd=g(tr,e=>e.apiAddress),Eo=g(tr,e=>e.explorerAddress),xd=g(tr,e=>e.egldLabel);n();var ct=e=>e.signedMessageInfo,bd=g(ct,e=>e.isSigning),Id=g(ct,e=>e.errorMessage),Ad=g(ct,e=>{let t=Object.keys(e.signedSessions),r=t.length;return e.signedSessions[t[r-1]]}),vd=g(ct,e=>{let t=Object.keys(e.signedSessions),r=t.length;return t.length>0?t[r-1]:""});n();var rr=e=>e.toasts,Ld=g(rr,e=>e.customToasts),Dd=g(rr,e=>e.transactionToasts),Nd=g(rr,e=>e.failTransactionToast);n();ie();var Lo={errorMessage:Wt,successMessage:Ht,processingMessage:qt},La=e=>e.transactionsInfo,_d=g(La,(e,t)=>t,(e,t)=>t!=null&&(e==null?void 0:e[Number(t)])||Lo);n();n();var G=require("@multiversx/sdk-core"),No=require("@multiversx/sdk-core/out/signature");b();n();var or=require("@multiversx/sdk-core/out");n();n();function nr(e){try{let t=atob(e),r=btoa(t),o=a.Buffer.from(e,"base64").toString(),i=a.Buffer.from(o).toString("base64");if(e===r&&e===i||t===o)return!0}catch(t){return!1}return!1}n();n();n();n();var Do=e=>{let t=e!=null?e:"";return nr(t)?or.TransactionPayload.fromEncoded(t):new or.TransactionPayload(t)};function ir(e){var r,o,i;let t=new G.Transaction(x(x({value:e.value.valueOf(),data:Do(e.data),nonce:e.nonce.valueOf(),receiver:new G.Address(e.receiver),sender:new G.Address(e.sender),gasLimit:(r=e.gasLimit.valueOf())!=null?r:Dt,gasPrice:(o=e.gasPrice.valueOf())!=null?o:Nt,chainID:e.chainID.valueOf(),version:new G.TransactionVersion((i=e.version)!=null?i:Jr)},e.options?{options:new G.TransactionOptions(e.options)}:{}),e.guardian?{guardian:new G.Address(e.guardian)}:{}));return e.guardianSignature&&t.applyGuardianSignature({hex:()=>e.guardianSignature||""}),t.applySignature(new No.Signature(e.signature)),t}n();n();n();n();n();var Ra=require("@multiversx/sdk-core/out");n();b();n();var Co=require("@multiversx/sdk-core");C();n();var Ca=require("@multiversx/sdk-core");n();n();n();var Pa=require("@multiversx/sdk-core"),_a=S(require("bignumber.js"));K();n();n();n();n();n();n();n();D();n();n();D();n();n();n();var Va=S(require("bignumber.js"));b();n();var Ua=require("@multiversx/sdk-core"),ar=S(require("bignumber.js"));b();n();var Fa=S(require("bignumber.js"));n();ar.default.config({ROUNDING_MODE:ar.default.ROUND_FLOOR});n();n();n();b();n();n();n();n();b();n();b();n();var $a=require("@multiversx/sdk-core");b();n();var Ie=require("@multiversx/sdk-core"),Wa=require("@multiversx/sdk-network-providers");b();n();n();var Ga=S(require("bignumber.js"));b();n();b();n();n();n();n();n();b();n();D();var qa=["reDelegateRewards","claimRewards","unBond"],ja=["wrapEgld","unwrapEgld"],za=["unStake"],Ka=["unDelegate"];n();n();n();b();n();var Xa=S(require("bignumber.js"));n();n();D();n();var Ja=S(require("bignumber.js"));n();n();n();var es=S(require("bignumber.js"));C();n();n();n();n();K();n();var ns=require("@multiversx/sdk-web-wallet-provider");b();n();var rs=S(require("qs"));n();n();var cr=()=>typeof window!="undefined";n();var YT={search:cr()?window.location.search:"",removeParams:[]};n();n();n();n();D();n();n();n();var os=S(require("linkifyjs"));n();b();n();var is=S(require("bignumber.js"));n();C();n();n();K();n();K();n();n();n();D();n();D();n();var as=S(require("bignumber.js"));b();D();n();D();n();var Uo=require("react");C();n();n();D();n();n();var ss=require("@multiversx/sdk-core/out"),cs=S(require("bignumber.js"));D();n();C();n();n();C();var $h=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}];n();var Vo=require("react");C();n();var ps=require("react");D();var Kh=["create","localMint","ESDTLocalMint","addQuantity","burn","localBurn","ESDTLocalBurn","wipe","writeLog","signalError"];zt();var dt=e=>e.transactions,Ae=g(dt,e=>e.signedTransactions),Px=g(dt,e=>e.signTransactionsError),_x=g(dt,e=>e.signTransactionsCancelMessage),mt=e=>t=>Object.entries(t).reduce((r,[o,i])=>(e(i.status)&&(r[o]=i),r),{}),Mx=g(Ae,mt(Un)),Ox=g(Ae,mt(Ze)),Fx=g(Ae,mt(Xe)),Bx=g(Ae,mt(Vn)),Ux=g(dt,e=>{var t;return(e==null?void 0:e.transactionsToSign)==null?null:A(x({},e.transactionsToSign),{transactions:((t=e==null?void 0:e.transactionsToSign)==null?void 0:t.transactions.map(r=>ir(r)))||[]})}),Vx=g(Ae,(e,t)=>t,(e,t)=>t!=null?(e==null?void 0:e[t])||{}:{});n();var us=e=>e.dappConfig,Wx=g(us,e=>e.shouldUseWebViewProvider);var $o=()=>st(be);ie();n();n();n();function Go(e){return M(this,null,function*(){return yield new Promise(t=>{setTimeout(()=>t(),e)})})}n();var Wo=(e,t,r,o=0)=>M(void 0,null,function*(){try{return yield e(...r)}catch(i){return o<t.retries?((t==null?void 0:t.delay)!=null&&(yield Go(t.delay)),yield Wo(e,t,r,o+1)):null}}),Ho=(e,t={retries:5,delay:500})=>(...r)=>M(void 0,null,function*(){return yield Wo(e,t,r)});n();var qo=S(require("axios"));function jo(e){return M(this,null,function*(){try{let{data:t}=yield qo.default.get(`${e}/websocket/config`);return`wss://${t.url}`}catch(t){throw console.error(t),new Error("Can not get websocket url")}})}n();var zo=()=>st(Z);n();var W={current:null,status:"not_initialized"};var ds=3e3,ms=3,gs=500,Ko=1e3,fs="batchUpdated";function Ts(){let e=(0,se.useRef)(null),{address:t}=$o(),r=vo(),{network:o}=zo(),i=d=>{e.current&&clearTimeout(e.current),e.current=setTimeout(()=>{r(gn(d))},Ko)},l=d=>{e.current&&clearTimeout(e.current),e.current=setTimeout(()=>{r(fn(d))},Ko)},p=(0,se.useCallback)(Ho(()=>M(this,null,function*(){W.status="pending";let d=yield jo(o.apiAddress);if(d==null){console.warn("Can not get websocket url");return}W.current=(0,Yo.io)(d,{forceNew:!0,reconnectionAttempts:ms,timeout:ds,query:{address:t}}),W.status="completed",W.current.onAny(m=>{i(m)}),W.current.on(fs,l)}),{retries:2,delay:gs}),[t]);(0,se.useEffect)(()=>{t&&W.status==="not_initialized"&&!W.current&&p()},[t,W.current]),(0,se.useEffect)(()=>()=>{var d;(d=W.current)==null||d.close(),e.current&&clearTimeout(e.current)},[])}0&&(module.exports={useInitializeWebsocketConnection});
|
|
2
2
|
/*!
|
|
3
3
|
* The buffer module from node.js, for the browser.
|
|
4
4
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var Ar=Object.create;var M=Object.defineProperty;var _r=Object.getOwnPropertyDescriptor;var Lr=Object.getOwnPropertyNames;var Ur=Object.getPrototypeOf,Er=Object.prototype.hasOwnProperty;var Cr=(t,r)=>()=>(t&&(r=t(t=0)),r);var P=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),Dr=(t,r)=>{for(var e in r)M(t,e,{get:r[e],enumerable:!0})},ir=(t,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of Lr(r))!Er.call(t,i)&&i!==e&&M(t,i,{get:()=>r[i],enumerable:!(n=_r(r,i))||n.enumerable});return t};var Y=(t,r,e)=>(e=t!=null?Ar(Ur(t)):{},ir(r||!t||!t.__esModule?M(e,"default",{value:t,enumerable:!0}):e,t)),Nr=t=>ir(M({},"__esModule",{value:!0}),t);var sr=P(G=>{"use strict";l();G.byteLength=Pr;G.toByteArray=Or;G.fromByteArray=Wr;var S=[],v=[],Mr=typeof Uint8Array!="undefined"?Uint8Array:Array,z="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(_=0,ar=z.length;_<ar;++_)S[_]=z[_],v[z.charCodeAt(_)]=_;var _,ar;v["-".charCodeAt(0)]=62;v["_".charCodeAt(0)]=63;function or(t){var r=t.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var e=t.indexOf("=");e===-1&&(e=r);var n=e===r?0:4-e%4;return[e,n]}function Pr(t){var r=or(t),e=r[0],n=r[1];return(e+n)*3/4-n}function Gr(t,r,e){return(r+e)*3/4-e}function Or(t){var r,e=or(t),n=e[0],i=e[1],a=new Mr(Gr(t,n,i)),o=0,p=i>0?n-4:n,u;for(u=0;u<p;u+=4)r=v[t.charCodeAt(u)]<<18|v[t.charCodeAt(u+1)]<<12|v[t.charCodeAt(u+2)]<<6|v[t.charCodeAt(u+3)],a[o++]=r>>16&255,a[o++]=r>>8&255,a[o++]=r&255;return i===2&&(r=v[t.charCodeAt(u)]<<2|v[t.charCodeAt(u+1)]>>4,a[o++]=r&255),i===1&&(r=v[t.charCodeAt(u)]<<10|v[t.charCodeAt(u+1)]<<4|v[t.charCodeAt(u+2)]>>2,a[o++]=r>>8&255,a[o++]=r&255),a}function Hr(t){return S[t>>18&63]+S[t>>12&63]+S[t>>6&63]+S[t&63]}function qr(t,r,e){for(var n,i=[],a=r;a<e;a+=3)n=(t[a]<<16&16711680)+(t[a+1]<<8&65280)+(t[a+2]&255),i.push(Hr(n));return i.join("")}function Wr(t){for(var r,e=t.length,n=e%3,i=[],a=16383,o=0,p=e-n;o<p;o+=a)i.push(qr(t,o,o+a>p?p:o+a));return n===1?(r=t[e-1],i.push(S[r>>2]+S[r<<4&63]+"==")):n===2&&(r=(t[e-2]<<8)+t[e-1],i.push(S[r>>10]+S[r>>4&63]+S[r<<2&63]+"=")),i.join("")}});var pr=P(Q=>{l();Q.read=function(t,r,e,n,i){var a,o,p=i*8-n-1,u=(1<<p)-1,f=u>>1,g=-7,c=e?i-1:0,F=e?-1:1,w=t[r+c];for(c+=F,a=w&(1<<-g)-1,w>>=-g,g+=p;g>0;a=a*256+t[r+c],c+=F,g-=8);for(o=a&(1<<-g)-1,a>>=-g,g+=n;g>0;o=o*256+t[r+c],c+=F,g-=8);if(a===0)a=1-f;else{if(a===u)return o?NaN:(w?-1:1)*(1/0);o=o+Math.pow(2,n),a=a-f}return(w?-1:1)*o*Math.pow(2,a-n)};Q.write=function(t,r,e,n,i,a){var o,p,u,f=a*8-i-1,g=(1<<f)-1,c=g>>1,F=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,w=n?0:a-1,E=n?1:-1,Rr=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(p=isNaN(r)?1:0,o=g):(o=Math.floor(Math.log(r)/Math.LN2),r*(u=Math.pow(2,-o))<1&&(o--,u*=2),o+c>=1?r+=F/u:r+=F*Math.pow(2,1-c),r*u>=2&&(o++,u/=2),o+c>=g?(p=0,o=g):o+c>=1?(p=(r*u-1)*Math.pow(2,i),o=o+c):(p=r*Math.pow(2,c-1)*Math.pow(2,i),o=0));i>=8;t[e+w]=p&255,w+=E,p/=256,i-=8);for(o=o<<i|p,f+=i;f>0;t[e+w]=o&255,w+=E,o/=256,f-=8);t[e+w-E]|=Rr*128}});var vr=P(D=>{"use strict";l();var X=sr(),C=pr(),ur=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;D.Buffer=s;D.SlowBuffer=jr;D.INSPECT_MAX_BYTES=50;var O=2147483647;D.kMaxLength=O;s.TYPED_ARRAY_SUPPORT=Yr();!s.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function Yr(){try{var t=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(t,r),t.foo()===42}catch(e){return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.buffer}});Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.byteOffset}});function B(t){if(t>O)throw new RangeError('The value "'+t+'" is invalid for option "size"');var r=new Uint8Array(t);return Object.setPrototypeOf(r,s.prototype),r}function s(t,r,e){if(typeof t=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return V(t)}return fr(t,r,e)}s.poolSize=8192;function fr(t,r,e){if(typeof t=="string")return Qr(t,r);if(ArrayBuffer.isView(t))return Xr(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(k(t,ArrayBuffer)||t&&k(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(k(t,SharedArrayBuffer)||t&&k(t.buffer,SharedArrayBuffer)))return j(t,r,e);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return s.from(n,r,e);var i=Jr(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.from(t[Symbol.toPrimitive]("string"),r,e);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}s.from=function(t,r,e){return fr(t,r,e)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function gr(t){if(typeof t!="number")throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function zr(t,r,e){return gr(t),t<=0?B(t):r!==void 0?typeof e=="string"?B(t).fill(r,e):B(t).fill(r):B(t)}s.alloc=function(t,r,e){return zr(t,r,e)};function V(t){return gr(t),B(t<0?0:Z(t)|0)}s.allocUnsafe=function(t){return V(t)};s.allocUnsafeSlow=function(t){return V(t)};function Qr(t,r){if((typeof r!="string"||r==="")&&(r="utf8"),!s.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var e=hr(t,r)|0,n=B(e),i=n.write(t,r);return i!==e&&(n=n.slice(0,i)),n}function J(t){for(var r=t.length<0?0:Z(t.length)|0,e=B(r),n=0;n<r;n+=1)e[n]=t[n]&255;return e}function Xr(t){if(k(t,Uint8Array)){var r=new Uint8Array(t);return j(r.buffer,r.byteOffset,r.byteLength)}return J(t)}function j(t,r,e){if(r<0||t.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<r+(e||0))throw new RangeError('"length" is outside of buffer bounds');var n;return r===void 0&&e===void 0?n=new Uint8Array(t):e===void 0?n=new Uint8Array(t,r):n=new Uint8Array(t,r,e),Object.setPrototypeOf(n,s.prototype),n}function Jr(t){if(s.isBuffer(t)){var r=Z(t.length)|0,e=B(r);return e.length===0||t.copy(e,0,0,r),e}if(t.length!==void 0)return typeof t.length!="number"||$(t.length)?B(0):J(t);if(t.type==="Buffer"&&Array.isArray(t.data))return J(t.data)}function Z(t){if(t>=O)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+O.toString(16)+" bytes");return t|0}function jr(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==s.prototype};s.compare=function(r,e){if(k(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),k(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(r)||!s.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===e)return 0;for(var n=r.length,i=e.length,a=0,o=Math.min(n,i);a<o;++a)if(r[a]!==e[a]){n=r[a],i=e[a];break}return n<i?-1:i<n?1:0};s.isEncoding=function(r){switch(String(r).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};s.concat=function(r,e){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return s.alloc(0);var n;if(e===void 0)for(e=0,n=0;n<r.length;++n)e+=r[n].length;var i=s.allocUnsafe(e),a=0;for(n=0;n<r.length;++n){var o=r[n];if(k(o,Uint8Array))a+o.length>i.length?s.from(o).copy(i,a):Uint8Array.prototype.set.call(i,o,a);else if(s.isBuffer(o))o.copy(i,a);else throw new TypeError('"list" argument must be an Array of Buffers');a+=o.length}return i};function hr(t,r){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||k(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var e=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&e===0)return 0;for(var i=!1;;)switch(r){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":return K(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return e*2;case"hex":return e>>>1;case"base64":return wr(t).length;default:if(i)return n?-1:K(t).length;r=(""+r).toLowerCase(),i=!0}}s.byteLength=hr;function Kr(t,r,e){var n=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((e===void 0||e>this.length)&&(e=this.length),e<=0)||(e>>>=0,r>>>=0,e<=r))return"";for(t||(t="utf8");;)switch(t){case"hex":return oe(this,r,e);case"utf8":case"utf-8":return yr(this,r,e);case"ascii":return ie(this,r,e);case"latin1":case"binary":return ae(this,r,e);case"base64":return te(this,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return se(this,r,e);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function L(t,r,e){var n=t[r];t[r]=t[e],t[e]=n}s.prototype.swap16=function(){var r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<r;e+=2)L(this,e,e+1);return this};s.prototype.swap32=function(){var r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<r;e+=4)L(this,e,e+3),L(this,e+1,e+2);return this};s.prototype.swap64=function(){var r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<r;e+=8)L(this,e,e+7),L(this,e+1,e+6),L(this,e+2,e+5),L(this,e+3,e+4);return this};s.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?yr(this,0,r):Kr.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(r){if(!s.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:s.compare(this,r)===0};s.prototype.inspect=function(){var r="",e=D.INSPECT_MAX_BYTES;return r=this.toString("hex",0,e).replace(/(.{2})/g,"$1 ").trim(),this.length>e&&(r+=" ... "),"<Buffer "+r+">"};ur&&(s.prototype[ur]=s.prototype.inspect);s.prototype.compare=function(r,e,n,i,a){if(k(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(e===void 0&&(e=0),n===void 0&&(n=r?r.length:0),i===void 0&&(i=0),a===void 0&&(a=this.length),e<0||n>r.length||i<0||a>this.length)throw new RangeError("out of range index");if(i>=a&&e>=n)return 0;if(i>=a)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,i>>>=0,a>>>=0,this===r)return 0;for(var o=a-i,p=n-e,u=Math.min(o,p),f=this.slice(i,a),g=r.slice(e,n),c=0;c<u;++c)if(f[c]!==g[c]){o=f[c],p=g[c];break}return o<p?-1:p<o?1:0};function dr(t,r,e,n,i){if(t.length===0)return-1;if(typeof e=="string"?(n=e,e=0):e>2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),e=+e,$(e)&&(e=i?0:t.length-1),e<0&&(e=t.length+e),e>=t.length){if(i)return-1;e=t.length-1}else if(e<0)if(i)e=0;else return-1;if(typeof r=="string"&&(r=s.from(r,n)),s.isBuffer(r))return r.length===0?-1:cr(t,r,e,n,i);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,r,e):Uint8Array.prototype.lastIndexOf.call(t,r,e):cr(t,[r],e,n,i);throw new TypeError("val must be string, number or Buffer")}function cr(t,r,e,n,i){var a=1,o=t.length,p=r.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||r.length<2)return-1;a=2,o/=2,p/=2,e/=2}function u(w,E){return a===1?w[E]:w.readUInt16BE(E*a)}var f;if(i){var g=-1;for(f=e;f<o;f++)if(u(t,f)===u(r,g===-1?0:f-g)){if(g===-1&&(g=f),f-g+1===p)return g*a}else g!==-1&&(f-=f-g),g=-1}else for(e+p>o&&(e=o-p),f=e;f>=0;f--){for(var c=!0,F=0;F<p;F++)if(u(t,f+F)!==u(r,F)){c=!1;break}if(c)return f}return-1}s.prototype.includes=function(r,e,n){return this.indexOf(r,e,n)!==-1};s.prototype.indexOf=function(r,e,n){return dr(this,r,e,n,!0)};s.prototype.lastIndexOf=function(r,e,n){return dr(this,r,e,n,!1)};function Vr(t,r,e,n){e=Number(e)||0;var i=t.length-e;n?(n=Number(n),n>i&&(n=i)):n=i;var a=r.length;n>a/2&&(n=a/2);for(var o=0;o<n;++o){var p=parseInt(r.substr(o*2,2),16);if($(p))return o;t[e+o]=p}return o}function Zr(t,r,e,n){return H(K(r,t.length-e),t,e,n)}function $r(t,r,e,n){return H(ce(r),t,e,n)}function re(t,r,e,n){return H(wr(r),t,e,n)}function ee(t,r,e,n){return H(le(r,t.length-e),t,e,n)}s.prototype.write=function(r,e,n,i){if(e===void 0)i="utf8",n=this.length,e=0;else if(n===void 0&&typeof e=="string")i=e,n=this.length,e=0;else if(isFinite(e))e=e>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var a=this.length-e;if((n===void 0||n>a)&&(n=a),r.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var o=!1;;)switch(i){case"hex":return Vr(this,r,e,n);case"utf8":case"utf-8":return Zr(this,r,e,n);case"ascii":case"latin1":case"binary":return $r(this,r,e,n);case"base64":return re(this,r,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ee(this,r,e,n);default:if(o)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),o=!0}};s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function te(t,r,e){return r===0&&e===t.length?X.fromByteArray(t):X.fromByteArray(t.slice(r,e))}function yr(t,r,e){e=Math.min(t.length,e);for(var n=[],i=r;i<e;){var a=t[i],o=null,p=a>239?4:a>223?3:a>191?2:1;if(i+p<=e){var u,f,g,c;switch(p){case 1:a<128&&(o=a);break;case 2:u=t[i+1],(u&192)===128&&(c=(a&31)<<6|u&63,c>127&&(o=c));break;case 3:u=t[i+1],f=t[i+2],(u&192)===128&&(f&192)===128&&(c=(a&15)<<12|(u&63)<<6|f&63,c>2047&&(c<55296||c>57343)&&(o=c));break;case 4:u=t[i+1],f=t[i+2],g=t[i+3],(u&192)===128&&(f&192)===128&&(g&192)===128&&(c=(a&15)<<18|(u&63)<<12|(f&63)<<6|g&63,c>65535&&c<1114112&&(o=c))}}o===null?(o=65533,p=1):o>65535&&(o-=65536,n.push(o>>>10&1023|55296),o=56320|o&1023),n.push(o),i+=p}return ne(n)}var lr=4096;function ne(t){var r=t.length;if(r<=lr)return String.fromCharCode.apply(String,t);for(var e="",n=0;n<r;)e+=String.fromCharCode.apply(String,t.slice(n,n+=lr));return e}function ie(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]&127);return n}function ae(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]);return n}function oe(t,r,e){var n=t.length;(!r||r<0)&&(r=0),(!e||e<0||e>n)&&(e=n);for(var i="",a=r;a<e;++a)i+=fe[t[a]];return i}function se(t,r,e){for(var n=t.slice(r,e),i="",a=0;a<n.length-1;a+=2)i+=String.fromCharCode(n[a]+n[a+1]*256);return i}s.prototype.slice=function(r,e){var n=this.length;r=~~r,e=e===void 0?n:~~e,r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),e<r&&(e=r);var i=this.subarray(r,e);return Object.setPrototypeOf(i,s.prototype),i};function d(t,r,e){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+r>e)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||d(r,e,this.length);for(var i=this[r],a=1,o=0;++o<e&&(a*=256);)i+=this[r+o]*a;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||d(r,e,this.length);for(var i=this[r+--e],a=1;e>0&&(a*=256);)i+=this[r+--e]*a;return i};s.prototype.readUint8=s.prototype.readUInt8=function(r,e){return r=r>>>0,e||d(r,1,this.length),this[r]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(r,e){return r=r>>>0,e||d(r,2,this.length),this[r]|this[r+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(r,e){return r=r>>>0,e||d(r,2,this.length),this[r]<<8|this[r+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(r,e){return r=r>>>0,e||d(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(r,e){return r=r>>>0,e||d(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};s.prototype.readIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||d(r,e,this.length);for(var i=this[r],a=1,o=0;++o<e&&(a*=256);)i+=this[r+o]*a;return a*=128,i>=a&&(i-=Math.pow(2,8*e)),i};s.prototype.readIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||d(r,e,this.length);for(var i=e,a=1,o=this[r+--i];i>0&&(a*=256);)o+=this[r+--i]*a;return a*=128,o>=a&&(o-=Math.pow(2,8*e)),o};s.prototype.readInt8=function(r,e){return r=r>>>0,e||d(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};s.prototype.readInt16LE=function(r,e){r=r>>>0,e||d(r,2,this.length);var n=this[r]|this[r+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(r,e){r=r>>>0,e||d(r,2,this.length);var n=this[r+1]|this[r]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(r,e){return r=r>>>0,e||d(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};s.prototype.readInt32BE=function(r,e){return r=r>>>0,e||d(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};s.prototype.readFloatLE=function(r,e){return r=r>>>0,e||d(r,4,this.length),C.read(this,r,!0,23,4)};s.prototype.readFloatBE=function(r,e){return r=r>>>0,e||d(r,4,this.length),C.read(this,r,!1,23,4)};s.prototype.readDoubleLE=function(r,e){return r=r>>>0,e||d(r,8,this.length),C.read(this,r,!0,52,8)};s.prototype.readDoubleBE=function(r,e){return r=r>>>0,e||d(r,8,this.length),C.read(this,r,!1,52,8)};function T(t,r,e,n,i,a){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>i||r<a)throw new RangeError('"value" argument is out of bounds');if(e+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;T(this,r,e,n,a,0)}var o=1,p=0;for(this[e]=r&255;++p<n&&(o*=256);)this[e+p]=r/o&255;return e+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;T(this,r,e,n,a,0)}var o=n-1,p=1;for(this[e+o]=r&255;--o>=0&&(p*=256);)this[e+o]=r/p&255;return e+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,1,255,0),this[e]=r&255,e+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,2,65535,0),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,2,65535,0),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,4,4294967295,0),this[e+3]=r>>>24,this[e+2]=r>>>16,this[e+1]=r>>>8,this[e]=r&255,e+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,4,4294967295,0),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};s.prototype.writeIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var a=Math.pow(2,8*n-1);T(this,r,e,n,a-1,-a)}var o=0,p=1,u=0;for(this[e]=r&255;++o<n&&(p*=256);)r<0&&u===0&&this[e+o-1]!==0&&(u=1),this[e+o]=(r/p>>0)-u&255;return e+n};s.prototype.writeIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var a=Math.pow(2,8*n-1);T(this,r,e,n,a-1,-a)}var o=n-1,p=1,u=0;for(this[e+o]=r&255;--o>=0&&(p*=256);)r<0&&u===0&&this[e+o+1]!==0&&(u=1),this[e+o]=(r/p>>0)-u&255;return e+n};s.prototype.writeInt8=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,1,127,-128),r<0&&(r=255+r+1),this[e]=r&255,e+1};s.prototype.writeInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,2,32767,-32768),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,2,32767,-32768),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,4,2147483647,-2147483648),this[e]=r&255,this[e+1]=r>>>8,this[e+2]=r>>>16,this[e+3]=r>>>24,e+4};s.prototype.writeInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};function xr(t,r,e,n,i,a){if(e+n>t.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function mr(t,r,e,n,i){return r=+r,e=e>>>0,i||xr(t,r,e,4,34028234663852886e22,-34028234663852886e22),C.write(t,r,e,n,23,4),e+4}s.prototype.writeFloatLE=function(r,e,n){return mr(this,r,e,!0,n)};s.prototype.writeFloatBE=function(r,e,n){return mr(this,r,e,!1,n)};function Tr(t,r,e,n,i){return r=+r,e=e>>>0,i||xr(t,r,e,8,17976931348623157e292,-17976931348623157e292),C.write(t,r,e,n,52,8),e+8}s.prototype.writeDoubleLE=function(r,e,n){return Tr(this,r,e,!0,n)};s.prototype.writeDoubleBE=function(r,e,n){return Tr(this,r,e,!1,n)};s.prototype.copy=function(r,e,n,i){if(!s.isBuffer(r))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),e>=r.length&&(e=r.length),e||(e=0),i>0&&i<n&&(i=n),i===n||r.length===0||this.length===0)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),r.length-e<i-n&&(i=r.length-e+n);var a=i-n;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(e,n,i):Uint8Array.prototype.set.call(r,this.subarray(n,i),e),a};s.prototype.fill=function(r,e,n,i){if(typeof r=="string"){if(typeof e=="string"?(i=e,e=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(r.length===1){var a=r.charCodeAt(0);(i==="utf8"&&a<128||i==="latin1")&&(r=a)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;e=e>>>0,n=n===void 0?this.length:n>>>0,r||(r=0);var o;if(typeof r=="number")for(o=e;o<n;++o)this[o]=r;else{var p=s.isBuffer(r)?r:s.from(r,i),u=p.length;if(u===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(o=0;o<n-e;++o)this[o+e]=p[o%u]}return this};var pe=/[^+/0-9A-Za-z-_]/g;function ue(t){if(t=t.split("=")[0],t=t.trim().replace(pe,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function K(t,r){r=r||1/0;for(var e,n=t.length,i=null,a=[],o=0;o<n;++o){if(e=t.charCodeAt(o),e>55295&&e<57344){if(!i){if(e>56319){(r-=3)>-1&&a.push(239,191,189);continue}else if(o+1===n){(r-=3)>-1&&a.push(239,191,189);continue}i=e;continue}if(e<56320){(r-=3)>-1&&a.push(239,191,189),i=e;continue}e=(i-55296<<10|e-56320)+65536}else i&&(r-=3)>-1&&a.push(239,191,189);if(i=null,e<128){if((r-=1)<0)break;a.push(e)}else if(e<2048){if((r-=2)<0)break;a.push(e>>6|192,e&63|128)}else if(e<65536){if((r-=3)<0)break;a.push(e>>12|224,e>>6&63|128,e&63|128)}else if(e<1114112){if((r-=4)<0)break;a.push(e>>18|240,e>>12&63|128,e>>6&63|128,e&63|128)}else throw new Error("Invalid code point")}return a}function ce(t){for(var r=[],e=0;e<t.length;++e)r.push(t.charCodeAt(e)&255);return r}function le(t,r){for(var e,n,i,a=[],o=0;o<t.length&&!((r-=2)<0);++o)e=t.charCodeAt(o),n=e>>8,i=e%256,a.push(i),a.push(n);return a}function wr(t){return X.toByteArray(ue(t))}function H(t,r,e,n){for(var i=0;i<n&&!(i+e>=r.length||i>=t.length);++i)r[i+e]=t[i];return i}function k(t,r){return t instanceof r||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===r.name}function $(t){return t!==t}var fe=function(){for(var t="0123456789abcdef",r=new Array(256),e=0;e<16;++e)for(var n=e*16,i=0;i<16;++i)r[n+i]=t[e]+t[i];return r}()});var br=P((Fe,Ir)=>{l();var h=Ir.exports={},I,b;function rr(){throw new Error("setTimeout has not been defined")}function er(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?I=setTimeout:I=rr}catch(t){I=rr}try{typeof clearTimeout=="function"?b=clearTimeout:b=er}catch(t){b=er}})();function Fr(t){if(I===setTimeout)return setTimeout(t,0);if((I===rr||!I)&&setTimeout)return I=setTimeout,setTimeout(t,0);try{return I(t,0)}catch(r){try{return I.call(null,t,0)}catch(e){return I.call(this,t,0)}}}function ge(t){if(b===clearTimeout)return clearTimeout(t);if((b===er||!b)&&clearTimeout)return b=clearTimeout,clearTimeout(t);try{return b(t)}catch(r){try{return b.call(null,t)}catch(e){return b.call(this,t)}}}var R=[],N=!1,U,q=-1;function he(){!N||!U||(N=!1,U.length?R=U.concat(R):q=-1,R.length&&Sr())}function Sr(){if(!N){var t=Fr(he);N=!0;for(var r=R.length;r;){for(U=R,R=[];++q<r;)U&&U[q].run();q=-1,r=R.length}U=null,N=!1,ge(t)}}h.nextTick=function(t){var r=new Array(arguments.length-1);if(arguments.length>1)for(var e=1;e<arguments.length;e++)r[e-1]=arguments[e];R.push(new kr(t,r)),R.length===1&&!N&&Fr(Sr)};function kr(t,r){this.fun=t,this.array=r}kr.prototype.run=function(){this.fun.apply(null,this.array)};h.title="browser";h.browser=!0;h.env={};h.argv=[];h.version="";h.versions={};function A(){}h.on=A;h.addListener=A;h.once=A;h.off=A;h.removeListener=A;h.removeAllListeners=A;h.emit=A;h.prependListener=A;h.prependOnceListener=A;h.listeners=function(t){return[]};h.binding=function(t){throw new Error("process.binding is not supported")};h.cwd=function(){return"/"};h.chdir=function(t){throw new Error("process.chdir is not supported")};h.umask=function(){return 0}});var y,x,Se,l=Cr(()=>{y=Y(vr()),x=Y(br()),Se=function(t){function r(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return r();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:r});var e=__magic__;return e}(Object)});var xe={};Dr(xe,{modalsSliceSelector:()=>nr,notificationModalSelector:()=>ye,txSubmittedModalSelector:()=>de});module.exports=Nr(xe);l();l();var Br=Y(require("lodash.isequal")),W=require("reselect");l();l();l();l();l();l();l();l();l();l();l();var tr=(0,W.createSelectorCreator)(W.defaultMemoize,Br.default);var nr=t=>t.modals,de=tr(nr,t=>t.txSubmittedModal),ye=tr(nr,t=>t.notificationModal);0&&(module.exports={modalsSliceSelector,notificationModalSelector,txSubmittedModalSelector});
|
|
1
|
+
"use strict";var Ar=Object.create;var M=Object.defineProperty;var _r=Object.getOwnPropertyDescriptor;var Lr=Object.getOwnPropertyNames;var Ur=Object.getPrototypeOf,Er=Object.prototype.hasOwnProperty;var Cr=(t,r)=>()=>(t&&(r=t(t=0)),r);var P=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),Dr=(t,r)=>{for(var e in r)M(t,e,{get:r[e],enumerable:!0})},ir=(t,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of Lr(r))!Er.call(t,i)&&i!==e&&M(t,i,{get:()=>r[i],enumerable:!(n=_r(r,i))||n.enumerable});return t};var Y=(t,r,e)=>(e=t!=null?Ar(Ur(t)):{},ir(r||!t||!t.__esModule?M(e,"default",{value:t,enumerable:!0}):e,t)),Nr=t=>ir(M({},"__esModule",{value:!0}),t);var sr=P(G=>{"use strict";l();G.byteLength=Pr;G.toByteArray=Or;G.fromByteArray=Wr;var k=[],v=[],Mr=typeof Uint8Array!="undefined"?Uint8Array:Array,z="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(_=0,ar=z.length;_<ar;++_)k[_]=z[_],v[z.charCodeAt(_)]=_;var _,ar;v["-".charCodeAt(0)]=62;v["_".charCodeAt(0)]=63;function or(t){var r=t.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var e=t.indexOf("=");e===-1&&(e=r);var n=e===r?0:4-e%4;return[e,n]}function Pr(t){var r=or(t),e=r[0],n=r[1];return(e+n)*3/4-n}function Gr(t,r,e){return(r+e)*3/4-e}function Or(t){var r,e=or(t),n=e[0],i=e[1],a=new Mr(Gr(t,n,i)),o=0,p=i>0?n-4:n,u;for(u=0;u<p;u+=4)r=v[t.charCodeAt(u)]<<18|v[t.charCodeAt(u+1)]<<12|v[t.charCodeAt(u+2)]<<6|v[t.charCodeAt(u+3)],a[o++]=r>>16&255,a[o++]=r>>8&255,a[o++]=r&255;return i===2&&(r=v[t.charCodeAt(u)]<<2|v[t.charCodeAt(u+1)]>>4,a[o++]=r&255),i===1&&(r=v[t.charCodeAt(u)]<<10|v[t.charCodeAt(u+1)]<<4|v[t.charCodeAt(u+2)]>>2,a[o++]=r>>8&255,a[o++]=r&255),a}function Hr(t){return k[t>>18&63]+k[t>>12&63]+k[t>>6&63]+k[t&63]}function qr(t,r,e){for(var n,i=[],a=r;a<e;a+=3)n=(t[a]<<16&16711680)+(t[a+1]<<8&65280)+(t[a+2]&255),i.push(Hr(n));return i.join("")}function Wr(t){for(var r,e=t.length,n=e%3,i=[],a=16383,o=0,p=e-n;o<p;o+=a)i.push(qr(t,o,o+a>p?p:o+a));return n===1?(r=t[e-1],i.push(k[r>>2]+k[r<<4&63]+"==")):n===2&&(r=(t[e-2]<<8)+t[e-1],i.push(k[r>>10]+k[r>>4&63]+k[r<<2&63]+"=")),i.join("")}});var pr=P(Q=>{l();Q.read=function(t,r,e,n,i){var a,o,p=i*8-n-1,u=(1<<p)-1,f=u>>1,g=-7,c=e?i-1:0,F=e?-1:1,w=t[r+c];for(c+=F,a=w&(1<<-g)-1,w>>=-g,g+=p;g>0;a=a*256+t[r+c],c+=F,g-=8);for(o=a&(1<<-g)-1,a>>=-g,g+=n;g>0;o=o*256+t[r+c],c+=F,g-=8);if(a===0)a=1-f;else{if(a===u)return o?NaN:(w?-1:1)*(1/0);o=o+Math.pow(2,n),a=a-f}return(w?-1:1)*o*Math.pow(2,a-n)};Q.write=function(t,r,e,n,i,a){var o,p,u,f=a*8-i-1,g=(1<<f)-1,c=g>>1,F=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,w=n?0:a-1,E=n?1:-1,Rr=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(p=isNaN(r)?1:0,o=g):(o=Math.floor(Math.log(r)/Math.LN2),r*(u=Math.pow(2,-o))<1&&(o--,u*=2),o+c>=1?r+=F/u:r+=F*Math.pow(2,1-c),r*u>=2&&(o++,u/=2),o+c>=g?(p=0,o=g):o+c>=1?(p=(r*u-1)*Math.pow(2,i),o=o+c):(p=r*Math.pow(2,c-1)*Math.pow(2,i),o=0));i>=8;t[e+w]=p&255,w+=E,p/=256,i-=8);for(o=o<<i|p,f+=i;f>0;t[e+w]=o&255,w+=E,o/=256,f-=8);t[e+w-E]|=Rr*128}});var vr=P(D=>{"use strict";l();var X=sr(),C=pr(),ur=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;D.Buffer=s;D.SlowBuffer=jr;D.INSPECT_MAX_BYTES=50;var O=2147483647;D.kMaxLength=O;s.TYPED_ARRAY_SUPPORT=Yr();!s.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function Yr(){try{var t=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(t,r),t.foo()===42}catch(e){return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.buffer}});Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.byteOffset}});function B(t){if(t>O)throw new RangeError('The value "'+t+'" is invalid for option "size"');var r=new Uint8Array(t);return Object.setPrototypeOf(r,s.prototype),r}function s(t,r,e){if(typeof t=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return V(t)}return fr(t,r,e)}s.poolSize=8192;function fr(t,r,e){if(typeof t=="string")return Qr(t,r);if(ArrayBuffer.isView(t))return Xr(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(S(t,ArrayBuffer)||t&&S(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(S(t,SharedArrayBuffer)||t&&S(t.buffer,SharedArrayBuffer)))return j(t,r,e);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return s.from(n,r,e);var i=Jr(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.from(t[Symbol.toPrimitive]("string"),r,e);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}s.from=function(t,r,e){return fr(t,r,e)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function gr(t){if(typeof t!="number")throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function zr(t,r,e){return gr(t),t<=0?B(t):r!==void 0?typeof e=="string"?B(t).fill(r,e):B(t).fill(r):B(t)}s.alloc=function(t,r,e){return zr(t,r,e)};function V(t){return gr(t),B(t<0?0:Z(t)|0)}s.allocUnsafe=function(t){return V(t)};s.allocUnsafeSlow=function(t){return V(t)};function Qr(t,r){if((typeof r!="string"||r==="")&&(r="utf8"),!s.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var e=hr(t,r)|0,n=B(e),i=n.write(t,r);return i!==e&&(n=n.slice(0,i)),n}function J(t){for(var r=t.length<0?0:Z(t.length)|0,e=B(r),n=0;n<r;n+=1)e[n]=t[n]&255;return e}function Xr(t){if(S(t,Uint8Array)){var r=new Uint8Array(t);return j(r.buffer,r.byteOffset,r.byteLength)}return J(t)}function j(t,r,e){if(r<0||t.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<r+(e||0))throw new RangeError('"length" is outside of buffer bounds');var n;return r===void 0&&e===void 0?n=new Uint8Array(t):e===void 0?n=new Uint8Array(t,r):n=new Uint8Array(t,r,e),Object.setPrototypeOf(n,s.prototype),n}function Jr(t){if(s.isBuffer(t)){var r=Z(t.length)|0,e=B(r);return e.length===0||t.copy(e,0,0,r),e}if(t.length!==void 0)return typeof t.length!="number"||$(t.length)?B(0):J(t);if(t.type==="Buffer"&&Array.isArray(t.data))return J(t.data)}function Z(t){if(t>=O)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+O.toString(16)+" bytes");return t|0}function jr(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==s.prototype};s.compare=function(r,e){if(S(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),S(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(r)||!s.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===e)return 0;for(var n=r.length,i=e.length,a=0,o=Math.min(n,i);a<o;++a)if(r[a]!==e[a]){n=r[a],i=e[a];break}return n<i?-1:i<n?1:0};s.isEncoding=function(r){switch(String(r).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};s.concat=function(r,e){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return s.alloc(0);var n;if(e===void 0)for(e=0,n=0;n<r.length;++n)e+=r[n].length;var i=s.allocUnsafe(e),a=0;for(n=0;n<r.length;++n){var o=r[n];if(S(o,Uint8Array))a+o.length>i.length?s.from(o).copy(i,a):Uint8Array.prototype.set.call(i,o,a);else if(s.isBuffer(o))o.copy(i,a);else throw new TypeError('"list" argument must be an Array of Buffers');a+=o.length}return i};function hr(t,r){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||S(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var e=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&e===0)return 0;for(var i=!1;;)switch(r){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":return K(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return e*2;case"hex":return e>>>1;case"base64":return wr(t).length;default:if(i)return n?-1:K(t).length;r=(""+r).toLowerCase(),i=!0}}s.byteLength=hr;function Kr(t,r,e){var n=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((e===void 0||e>this.length)&&(e=this.length),e<=0)||(e>>>=0,r>>>=0,e<=r))return"";for(t||(t="utf8");;)switch(t){case"hex":return oe(this,r,e);case"utf8":case"utf-8":return yr(this,r,e);case"ascii":return ie(this,r,e);case"latin1":case"binary":return ae(this,r,e);case"base64":return te(this,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return se(this,r,e);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function L(t,r,e){var n=t[r];t[r]=t[e],t[e]=n}s.prototype.swap16=function(){var r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<r;e+=2)L(this,e,e+1);return this};s.prototype.swap32=function(){var r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<r;e+=4)L(this,e,e+3),L(this,e+1,e+2);return this};s.prototype.swap64=function(){var r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<r;e+=8)L(this,e,e+7),L(this,e+1,e+6),L(this,e+2,e+5),L(this,e+3,e+4);return this};s.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?yr(this,0,r):Kr.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(r){if(!s.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:s.compare(this,r)===0};s.prototype.inspect=function(){var r="",e=D.INSPECT_MAX_BYTES;return r=this.toString("hex",0,e).replace(/(.{2})/g,"$1 ").trim(),this.length>e&&(r+=" ... "),"<Buffer "+r+">"};ur&&(s.prototype[ur]=s.prototype.inspect);s.prototype.compare=function(r,e,n,i,a){if(S(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(e===void 0&&(e=0),n===void 0&&(n=r?r.length:0),i===void 0&&(i=0),a===void 0&&(a=this.length),e<0||n>r.length||i<0||a>this.length)throw new RangeError("out of range index");if(i>=a&&e>=n)return 0;if(i>=a)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,i>>>=0,a>>>=0,this===r)return 0;for(var o=a-i,p=n-e,u=Math.min(o,p),f=this.slice(i,a),g=r.slice(e,n),c=0;c<u;++c)if(f[c]!==g[c]){o=f[c],p=g[c];break}return o<p?-1:p<o?1:0};function dr(t,r,e,n,i){if(t.length===0)return-1;if(typeof e=="string"?(n=e,e=0):e>2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),e=+e,$(e)&&(e=i?0:t.length-1),e<0&&(e=t.length+e),e>=t.length){if(i)return-1;e=t.length-1}else if(e<0)if(i)e=0;else return-1;if(typeof r=="string"&&(r=s.from(r,n)),s.isBuffer(r))return r.length===0?-1:cr(t,r,e,n,i);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,r,e):Uint8Array.prototype.lastIndexOf.call(t,r,e):cr(t,[r],e,n,i);throw new TypeError("val must be string, number or Buffer")}function cr(t,r,e,n,i){var a=1,o=t.length,p=r.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||r.length<2)return-1;a=2,o/=2,p/=2,e/=2}function u(w,E){return a===1?w[E]:w.readUInt16BE(E*a)}var f;if(i){var g=-1;for(f=e;f<o;f++)if(u(t,f)===u(r,g===-1?0:f-g)){if(g===-1&&(g=f),f-g+1===p)return g*a}else g!==-1&&(f-=f-g),g=-1}else for(e+p>o&&(e=o-p),f=e;f>=0;f--){for(var c=!0,F=0;F<p;F++)if(u(t,f+F)!==u(r,F)){c=!1;break}if(c)return f}return-1}s.prototype.includes=function(r,e,n){return this.indexOf(r,e,n)!==-1};s.prototype.indexOf=function(r,e,n){return dr(this,r,e,n,!0)};s.prototype.lastIndexOf=function(r,e,n){return dr(this,r,e,n,!1)};function Vr(t,r,e,n){e=Number(e)||0;var i=t.length-e;n?(n=Number(n),n>i&&(n=i)):n=i;var a=r.length;n>a/2&&(n=a/2);for(var o=0;o<n;++o){var p=parseInt(r.substr(o*2,2),16);if($(p))return o;t[e+o]=p}return o}function Zr(t,r,e,n){return H(K(r,t.length-e),t,e,n)}function $r(t,r,e,n){return H(ce(r),t,e,n)}function re(t,r,e,n){return H(wr(r),t,e,n)}function ee(t,r,e,n){return H(le(r,t.length-e),t,e,n)}s.prototype.write=function(r,e,n,i){if(e===void 0)i="utf8",n=this.length,e=0;else if(n===void 0&&typeof e=="string")i=e,n=this.length,e=0;else if(isFinite(e))e=e>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var a=this.length-e;if((n===void 0||n>a)&&(n=a),r.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var o=!1;;)switch(i){case"hex":return Vr(this,r,e,n);case"utf8":case"utf-8":return Zr(this,r,e,n);case"ascii":case"latin1":case"binary":return $r(this,r,e,n);case"base64":return re(this,r,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ee(this,r,e,n);default:if(o)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),o=!0}};s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function te(t,r,e){return r===0&&e===t.length?X.fromByteArray(t):X.fromByteArray(t.slice(r,e))}function yr(t,r,e){e=Math.min(t.length,e);for(var n=[],i=r;i<e;){var a=t[i],o=null,p=a>239?4:a>223?3:a>191?2:1;if(i+p<=e){var u,f,g,c;switch(p){case 1:a<128&&(o=a);break;case 2:u=t[i+1],(u&192)===128&&(c=(a&31)<<6|u&63,c>127&&(o=c));break;case 3:u=t[i+1],f=t[i+2],(u&192)===128&&(f&192)===128&&(c=(a&15)<<12|(u&63)<<6|f&63,c>2047&&(c<55296||c>57343)&&(o=c));break;case 4:u=t[i+1],f=t[i+2],g=t[i+3],(u&192)===128&&(f&192)===128&&(g&192)===128&&(c=(a&15)<<18|(u&63)<<12|(f&63)<<6|g&63,c>65535&&c<1114112&&(o=c))}}o===null?(o=65533,p=1):o>65535&&(o-=65536,n.push(o>>>10&1023|55296),o=56320|o&1023),n.push(o),i+=p}return ne(n)}var lr=4096;function ne(t){var r=t.length;if(r<=lr)return String.fromCharCode.apply(String,t);for(var e="",n=0;n<r;)e+=String.fromCharCode.apply(String,t.slice(n,n+=lr));return e}function ie(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]&127);return n}function ae(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]);return n}function oe(t,r,e){var n=t.length;(!r||r<0)&&(r=0),(!e||e<0||e>n)&&(e=n);for(var i="",a=r;a<e;++a)i+=fe[t[a]];return i}function se(t,r,e){for(var n=t.slice(r,e),i="",a=0;a<n.length-1;a+=2)i+=String.fromCharCode(n[a]+n[a+1]*256);return i}s.prototype.slice=function(r,e){var n=this.length;r=~~r,e=e===void 0?n:~~e,r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),e<r&&(e=r);var i=this.subarray(r,e);return Object.setPrototypeOf(i,s.prototype),i};function d(t,r,e){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+r>e)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||d(r,e,this.length);for(var i=this[r],a=1,o=0;++o<e&&(a*=256);)i+=this[r+o]*a;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||d(r,e,this.length);for(var i=this[r+--e],a=1;e>0&&(a*=256);)i+=this[r+--e]*a;return i};s.prototype.readUint8=s.prototype.readUInt8=function(r,e){return r=r>>>0,e||d(r,1,this.length),this[r]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(r,e){return r=r>>>0,e||d(r,2,this.length),this[r]|this[r+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(r,e){return r=r>>>0,e||d(r,2,this.length),this[r]<<8|this[r+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(r,e){return r=r>>>0,e||d(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(r,e){return r=r>>>0,e||d(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};s.prototype.readIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||d(r,e,this.length);for(var i=this[r],a=1,o=0;++o<e&&(a*=256);)i+=this[r+o]*a;return a*=128,i>=a&&(i-=Math.pow(2,8*e)),i};s.prototype.readIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||d(r,e,this.length);for(var i=e,a=1,o=this[r+--i];i>0&&(a*=256);)o+=this[r+--i]*a;return a*=128,o>=a&&(o-=Math.pow(2,8*e)),o};s.prototype.readInt8=function(r,e){return r=r>>>0,e||d(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};s.prototype.readInt16LE=function(r,e){r=r>>>0,e||d(r,2,this.length);var n=this[r]|this[r+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(r,e){r=r>>>0,e||d(r,2,this.length);var n=this[r+1]|this[r]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(r,e){return r=r>>>0,e||d(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};s.prototype.readInt32BE=function(r,e){return r=r>>>0,e||d(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};s.prototype.readFloatLE=function(r,e){return r=r>>>0,e||d(r,4,this.length),C.read(this,r,!0,23,4)};s.prototype.readFloatBE=function(r,e){return r=r>>>0,e||d(r,4,this.length),C.read(this,r,!1,23,4)};s.prototype.readDoubleLE=function(r,e){return r=r>>>0,e||d(r,8,this.length),C.read(this,r,!0,52,8)};s.prototype.readDoubleBE=function(r,e){return r=r>>>0,e||d(r,8,this.length),C.read(this,r,!1,52,8)};function T(t,r,e,n,i,a){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>i||r<a)throw new RangeError('"value" argument is out of bounds');if(e+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;T(this,r,e,n,a,0)}var o=1,p=0;for(this[e]=r&255;++p<n&&(o*=256);)this[e+p]=r/o&255;return e+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;T(this,r,e,n,a,0)}var o=n-1,p=1;for(this[e+o]=r&255;--o>=0&&(p*=256);)this[e+o]=r/p&255;return e+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,1,255,0),this[e]=r&255,e+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,2,65535,0),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,2,65535,0),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,4,4294967295,0),this[e+3]=r>>>24,this[e+2]=r>>>16,this[e+1]=r>>>8,this[e]=r&255,e+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,4,4294967295,0),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};s.prototype.writeIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var a=Math.pow(2,8*n-1);T(this,r,e,n,a-1,-a)}var o=0,p=1,u=0;for(this[e]=r&255;++o<n&&(p*=256);)r<0&&u===0&&this[e+o-1]!==0&&(u=1),this[e+o]=(r/p>>0)-u&255;return e+n};s.prototype.writeIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var a=Math.pow(2,8*n-1);T(this,r,e,n,a-1,-a)}var o=n-1,p=1,u=0;for(this[e+o]=r&255;--o>=0&&(p*=256);)r<0&&u===0&&this[e+o+1]!==0&&(u=1),this[e+o]=(r/p>>0)-u&255;return e+n};s.prototype.writeInt8=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,1,127,-128),r<0&&(r=255+r+1),this[e]=r&255,e+1};s.prototype.writeInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,2,32767,-32768),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,2,32767,-32768),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,4,2147483647,-2147483648),this[e]=r&255,this[e+1]=r>>>8,this[e+2]=r>>>16,this[e+3]=r>>>24,e+4};s.prototype.writeInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};function xr(t,r,e,n,i,a){if(e+n>t.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function mr(t,r,e,n,i){return r=+r,e=e>>>0,i||xr(t,r,e,4,34028234663852886e22,-34028234663852886e22),C.write(t,r,e,n,23,4),e+4}s.prototype.writeFloatLE=function(r,e,n){return mr(this,r,e,!0,n)};s.prototype.writeFloatBE=function(r,e,n){return mr(this,r,e,!1,n)};function Tr(t,r,e,n,i){return r=+r,e=e>>>0,i||xr(t,r,e,8,17976931348623157e292,-17976931348623157e292),C.write(t,r,e,n,52,8),e+8}s.prototype.writeDoubleLE=function(r,e,n){return Tr(this,r,e,!0,n)};s.prototype.writeDoubleBE=function(r,e,n){return Tr(this,r,e,!1,n)};s.prototype.copy=function(r,e,n,i){if(!s.isBuffer(r))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),e>=r.length&&(e=r.length),e||(e=0),i>0&&i<n&&(i=n),i===n||r.length===0||this.length===0)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),r.length-e<i-n&&(i=r.length-e+n);var a=i-n;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(e,n,i):Uint8Array.prototype.set.call(r,this.subarray(n,i),e),a};s.prototype.fill=function(r,e,n,i){if(typeof r=="string"){if(typeof e=="string"?(i=e,e=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(r.length===1){var a=r.charCodeAt(0);(i==="utf8"&&a<128||i==="latin1")&&(r=a)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;e=e>>>0,n=n===void 0?this.length:n>>>0,r||(r=0);var o;if(typeof r=="number")for(o=e;o<n;++o)this[o]=r;else{var p=s.isBuffer(r)?r:s.from(r,i),u=p.length;if(u===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(o=0;o<n-e;++o)this[o+e]=p[o%u]}return this};var pe=/[^+/0-9A-Za-z-_]/g;function ue(t){if(t=t.split("=")[0],t=t.trim().replace(pe,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function K(t,r){r=r||1/0;for(var e,n=t.length,i=null,a=[],o=0;o<n;++o){if(e=t.charCodeAt(o),e>55295&&e<57344){if(!i){if(e>56319){(r-=3)>-1&&a.push(239,191,189);continue}else if(o+1===n){(r-=3)>-1&&a.push(239,191,189);continue}i=e;continue}if(e<56320){(r-=3)>-1&&a.push(239,191,189),i=e;continue}e=(i-55296<<10|e-56320)+65536}else i&&(r-=3)>-1&&a.push(239,191,189);if(i=null,e<128){if((r-=1)<0)break;a.push(e)}else if(e<2048){if((r-=2)<0)break;a.push(e>>6|192,e&63|128)}else if(e<65536){if((r-=3)<0)break;a.push(e>>12|224,e>>6&63|128,e&63|128)}else if(e<1114112){if((r-=4)<0)break;a.push(e>>18|240,e>>12&63|128,e>>6&63|128,e&63|128)}else throw new Error("Invalid code point")}return a}function ce(t){for(var r=[],e=0;e<t.length;++e)r.push(t.charCodeAt(e)&255);return r}function le(t,r){for(var e,n,i,a=[],o=0;o<t.length&&!((r-=2)<0);++o)e=t.charCodeAt(o),n=e>>8,i=e%256,a.push(i),a.push(n);return a}function wr(t){return X.toByteArray(ue(t))}function H(t,r,e,n){for(var i=0;i<n&&!(i+e>=r.length||i>=t.length);++i)r[i+e]=t[i];return i}function S(t,r){return t instanceof r||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===r.name}function $(t){return t!==t}var fe=function(){for(var t="0123456789abcdef",r=new Array(256),e=0;e<16;++e)for(var n=e*16,i=0;i<16;++i)r[n+i]=t[e]+t[i];return r}()});var br=P((Fe,Ir)=>{l();var h=Ir.exports={},I,b;function rr(){throw new Error("setTimeout has not been defined")}function er(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?I=setTimeout:I=rr}catch(t){I=rr}try{typeof clearTimeout=="function"?b=clearTimeout:b=er}catch(t){b=er}})();function Fr(t){if(I===setTimeout)return setTimeout(t,0);if((I===rr||!I)&&setTimeout)return I=setTimeout,setTimeout(t,0);try{return I(t,0)}catch(r){try{return I.call(null,t,0)}catch(e){return I.call(this,t,0)}}}function ge(t){if(b===clearTimeout)return clearTimeout(t);if((b===er||!b)&&clearTimeout)return b=clearTimeout,clearTimeout(t);try{return b(t)}catch(r){try{return b.call(null,t)}catch(e){return b.call(this,t)}}}var R=[],N=!1,U,q=-1;function he(){!N||!U||(N=!1,U.length?R=U.concat(R):q=-1,R.length&&kr())}function kr(){if(!N){var t=Fr(he);N=!0;for(var r=R.length;r;){for(U=R,R=[];++q<r;)U&&U[q].run();q=-1,r=R.length}U=null,N=!1,ge(t)}}h.nextTick=function(t){var r=new Array(arguments.length-1);if(arguments.length>1)for(var e=1;e<arguments.length;e++)r[e-1]=arguments[e];R.push(new Sr(t,r)),R.length===1&&!N&&Fr(kr)};function Sr(t,r){this.fun=t,this.array=r}Sr.prototype.run=function(){this.fun.apply(null,this.array)};h.title="browser";h.browser=!0;h.env={};h.argv=[];h.version="";h.versions={};function A(){}h.on=A;h.addListener=A;h.once=A;h.off=A;h.removeListener=A;h.removeAllListeners=A;h.emit=A;h.prependListener=A;h.prependOnceListener=A;h.listeners=function(t){return[]};h.binding=function(t){throw new Error("process.binding is not supported")};h.cwd=function(){return"/"};h.chdir=function(t){throw new Error("process.chdir is not supported")};h.umask=function(){return 0}});var y,x,ke,l=Cr(()=>{y=Y(vr()),x=Y(br()),ke=function(t){function r(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return r();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:r});var e=__magic__;return e}(Object)});var xe={};Dr(xe,{modalsSliceSelector:()=>nr,notificationModalSelector:()=>ye,txSubmittedModalSelector:()=>de});module.exports=Nr(xe);l();l();var Br=Y(require("lodash.isequal")),W=require("reselect");l();l();l();l();l();l();l();l();l();l();l();var tr=(0,W.createSelectorCreator)(W.defaultMemoize,Br.default);var nr=t=>t.modals,de=tr(nr,t=>t.txSubmittedModal),ye=tr(nr,t=>t.notificationModal);0&&(module.exports={modalsSliceSelector,notificationModalSelector,txSubmittedModalSelector});
|
|
2
2
|
/*!
|
|
3
3
|
* The buffer module from node.js, for the browser.
|
|
4
4
|
*
|