@multiversx/sdk-dapp 2.12.7 → 2.12.8
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-3LVHX56S.js +2 -0
- 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-A44Y55F7.js → chunk-4TCBBUSU.js} +2 -2
- package/__chunks__/{chunk-WROIAT2N.js → chunk-53Z7RDHU.js} +2 -2
- package/__chunks__/{chunk-WG2WVJQW.js → chunk-54KIELDE.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-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-H2RDZWXV.js → chunk-G5H7YRBS.js} +2 -2
- package/__chunks__/{chunk-36LSGICN.js → chunk-G6X4KVAY.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-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-PLHSIUIH.js → chunk-OSQQHPZM.js} +2 -2
- 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-5HE6XUP4.js → chunk-Q5E266R2.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-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-STBCDKBR.js +2 -0
- 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-S5GCXB6J.js → chunk-TF6HF6WS.js} +2 -2
- 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-OC7RHJY6.js → chunk-VO4HJBT7.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-GU3PXNAY.js → chunk-XSPEML27.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-YN4DUIRE.js +2 -0
- package/__chunks__/chunk-YNX3IGV3.js +2 -0
- 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/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/apiCalls/configuration/getApiAddressForChainId.js +1 -1
- package/__commonjs/constants/network.js +1 -1
- package/__commonjs/hooks/index.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.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-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 Sr=Object.create;var P=Object.defineProperty;var br=Object.getOwnPropertyDescriptor;var Br=Object.getOwnPropertyNames;var Rr=Object.getPrototypeOf,Ar=Object.prototype.hasOwnProperty;var Lr=(t,r)=>()=>(t&&(r=t(t=0)),r);var M=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),_r=(t,r)=>{for(var e in r)P(t,e,{get:r[e],enumerable:!0})},rr=(t,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of Br(r))!Ar.call(t,i)&&i!==e&&P(t,i,{get:()=>r[i],enumerable:!(n=br(r,i))||n.enumerable});return t};var er=(t,r,e)=>(e=t!=null?Sr(Rr(t)):{},rr(r||!t||!t.__esModule?P(e,"default",{value:t,enumerable:!0}):e,t)),Ur=t=>rr(P({},"__esModule",{value:!0}),t);var ir=M(G=>{"use strict";l();G.byteLength=Cr;G.toByteArray=Nr;G.fromByteArray=Gr;var k=[],v=[],Er=typeof Uint8Array!="undefined"?Uint8Array:Array,W="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(L=0,tr=W.length;L<tr;++L)k[L]=W[L],v[W.charCodeAt(L)]=L;var L,tr;v["-".charCodeAt(0)]=62;v["_".charCodeAt(0)]=63;function nr(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 Cr(t){var r=nr(t),e=r[0],n=r[1];return(e+n)*3/4-n}function Dr(t,r,e){return(r+e)*3/4-e}function Nr(t){var r,e=nr(t),n=e[0],i=e[1],a=new Er(Dr(t,n,i)),o=0,u=i>0?n-4:n,p;for(p=0;p<u;p+=4)r=v[t.charCodeAt(p)]<<18|v[t.charCodeAt(p+1)]<<12|v[t.charCodeAt(p+2)]<<6|v[t.charCodeAt(p+3)],a[o++]=r>>16&255,a[o++]=r>>8&255,a[o++]=r&255;return i===2&&(r=v[t.charCodeAt(p)]<<2|v[t.charCodeAt(p+1)]>>4,a[o++]=r&255),i===1&&(r=v[t.charCodeAt(p)]<<10|v[t.charCodeAt(p+1)]<<4|v[t.charCodeAt(p+2)]>>2,a[o++]=r>>8&255,a[o++]=r&255),a}function Pr(t){return k[t>>18&63]+k[t>>12&63]+k[t>>6&63]+k[t&63]}function Mr(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(Pr(n));return i.join("")}function Gr(t){for(var r,e=t.length,n=e%3,i=[],a=16383,o=0,u=e-n;o<u;o+=a)i.push(Mr(t,o,o+a>u?u:o+a));return n===1?(r=t[e-1],i.push(k[r>>2]+k[r<<4&63]+"==")):n===2&&(r=(t[e-2]<<8)+t[e-1],i.push(k[r>>10]+k[r>>4&63]+k[r<<2&63]+"=")),i.join("")}});var ar=M(Y=>{l();Y.read=function(t,r,e,n,i){var a,o,u=i*8-n-1,p=(1<<u)-1,f=p>>1,g=-7,c=e?i-1:0,F=e?-1:1,w=t[r+c];for(c+=F,a=w&(1<<-g)-1,w>>=-g,g+=u;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===p)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)};Y.write=function(t,r,e,n,i,a){var o,u,p,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,Ir=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(u=isNaN(r)?1:0,o=g):(o=Math.floor(Math.log(r)/Math.LN2),r*(p=Math.pow(2,-o))<1&&(o--,p*=2),o+c>=1?r+=F/p:r+=F*Math.pow(2,1-c),r*p>=2&&(o++,p/=2),o+c>=g?(u=0,o=g):o+c>=1?(u=(r*p-1)*Math.pow(2,i),o=o+c):(u=r*Math.pow(2,c-1)*Math.pow(2,i),o=0));i>=8;t[e+w]=u&255,w+=E,u/=256,i-=8);for(o=o<<i|u,f+=i;f>0;t[e+w]=o&255,w+=E,o/=256,f-=8);t[e+w-E]|=Ir*128}});var mr=M(D=>{"use strict";l();var z=ir(),C=ar(),or=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;D.Buffer=s;D.SlowBuffer=zr;D.INSPECT_MAX_BYTES=50;var O=2147483647;D.kMaxLength=O;s.TYPED_ARRAY_SUPPORT=Or();!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 Or(){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 j(t)}return ur(t,r,e)}s.poolSize=8192;function ur(t,r,e){if(typeof t=="string")return qr(t,r);if(ArrayBuffer.isView(t))return Wr(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(I(t,ArrayBuffer)||t&&I(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(I(t,SharedArrayBuffer)||t&&I(t.buffer,SharedArrayBuffer)))return X(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=Yr(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 ur(t,r,e)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function cr(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 Hr(t,r,e){return cr(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 Hr(t,r,e)};function j(t){return cr(t),B(t<0?0:K(t)|0)}s.allocUnsafe=function(t){return j(t)};s.allocUnsafeSlow=function(t){return j(t)};function qr(t,r){if((typeof r!="string"||r==="")&&(r="utf8"),!s.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var e=lr(t,r)|0,n=B(e),i=n.write(t,r);return i!==e&&(n=n.slice(0,i)),n}function Q(t){for(var r=t.length<0?0:K(t.length)|0,e=B(r),n=0;n<r;n+=1)e[n]=t[n]&255;return e}function Wr(t){if(I(t,Uint8Array)){var r=new Uint8Array(t);return X(r.buffer,r.byteOffset,r.byteLength)}return Q(t)}function X(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 Yr(t){if(s.isBuffer(t)){var r=K(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"||V(t.length)?B(0):Q(t);if(t.type==="Buffer"&&Array.isArray(t.data))return Q(t.data)}function K(t){if(t>=O)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+O.toString(16)+" bytes");return t|0}function zr(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==s.prototype};s.compare=function(r,e){if(I(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),I(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(I(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 lr(t,r){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||I(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 J(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return e*2;case"hex":return e>>>1;case"base64":return xr(t).length;default:if(i)return n?-1:J(t).length;r=(""+r).toLowerCase(),i=!0}}s.byteLength=lr;function Qr(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 te(this,r,e);case"utf8":case"utf-8":return gr(this,r,e);case"ascii":return re(this,r,e);case"latin1":case"binary":return ee(this,r,e);case"base64":return Zr(this,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ne(this,r,e);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function _(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)_(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)_(this,e,e+3),_(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)_(this,e,e+7),_(this,e+1,e+6),_(this,e+2,e+5),_(this,e+3,e+4);return this};s.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?gr(this,0,r):Qr.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+">"};or&&(s.prototype[or]=s.prototype.inspect);s.prototype.compare=function(r,e,n,i,a){if(I(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(e===void 0&&(e=0),n===void 0&&(n=r?r.length:0),i===void 0&&(i=0),a===void 0&&(a=this.length),e<0||n>r.length||i<0||a>this.length)throw new RangeError("out of range index");if(i>=a&&e>=n)return 0;if(i>=a)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,i>>>=0,a>>>=0,this===r)return 0;for(var o=a-i,u=n-e,p=Math.min(o,u),f=this.slice(i,a),g=r.slice(e,n),c=0;c<p;++c)if(f[c]!==g[c]){o=f[c],u=g[c];break}return o<u?-1:u<o?1:0};function fr(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,V(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:sr(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):sr(t,[r],e,n,i);throw new TypeError("val must be string, number or Buffer")}function sr(t,r,e,n,i){var a=1,o=t.length,u=r.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||r.length<2)return-1;a=2,o/=2,u/=2,e/=2}function p(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(p(t,f)===p(r,g===-1?0:f-g)){if(g===-1&&(g=f),f-g+1===u)return g*a}else g!==-1&&(f-=f-g),g=-1}else for(e+u>o&&(e=o-u),f=e;f>=0;f--){for(var c=!0,F=0;F<u;F++)if(p(t,f+F)!==p(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 fr(this,r,e,n,!0)};s.prototype.lastIndexOf=function(r,e,n){return fr(this,r,e,n,!1)};function Xr(t,r,e,n){e=Number(e)||0;var i=t.length-e;n?(n=Number(n),n>i&&(n=i)):n=i;var a=r.length;n>a/2&&(n=a/2);for(var o=0;o<n;++o){var u=parseInt(r.substr(o*2,2),16);if(V(u))return o;t[e+o]=u}return o}function Jr(t,r,e,n){return H(J(r,t.length-e),t,e,n)}function jr(t,r,e,n){return H(oe(r),t,e,n)}function Kr(t,r,e,n){return H(xr(r),t,e,n)}function Vr(t,r,e,n){return H(se(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 Xr(this,r,e,n);case"utf8":case"utf-8":return Jr(this,r,e,n);case"ascii":case"latin1":case"binary":return jr(this,r,e,n);case"base64":return Kr(this,r,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Vr(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 Zr(t,r,e){return r===0&&e===t.length?z.fromByteArray(t):z.fromByteArray(t.slice(r,e))}function gr(t,r,e){e=Math.min(t.length,e);for(var n=[],i=r;i<e;){var a=t[i],o=null,u=a>239?4:a>223?3:a>191?2:1;if(i+u<=e){var p,f,g,c;switch(u){case 1:a<128&&(o=a);break;case 2:p=t[i+1],(p&192)===128&&(c=(a&31)<<6|p&63,c>127&&(o=c));break;case 3:p=t[i+1],f=t[i+2],(p&192)===128&&(f&192)===128&&(c=(a&15)<<12|(p&63)<<6|f&63,c>2047&&(c<55296||c>57343)&&(o=c));break;case 4:p=t[i+1],f=t[i+2],g=t[i+3],(p&192)===128&&(f&192)===128&&(g&192)===128&&(c=(a&15)<<18|(p&63)<<12|(f&63)<<6|g&63,c>65535&&c<1114112&&(o=c))}}o===null?(o=65533,u=1):o>65535&&(o-=65536,n.push(o>>>10&1023|55296),o=56320|o&1023),n.push(o),i+=u}return $r(n)}var pr=4096;function $r(t){var r=t.length;if(r<=pr)return String.fromCharCode.apply(String,t);for(var e="",n=0;n<r;)e+=String.fromCharCode.apply(String,t.slice(n,n+=pr));return e}function re(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 ee(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 te(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+=pe[t[a]];return i}function ne(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,u=0;for(this[e]=r&255;++u<n&&(o*=256);)this[e+u]=r/o&255;return e+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;T(this,r,e,n,a,0)}var o=n-1,u=1;for(this[e+o]=r&255;--o>=0&&(u*=256);)this[e+o]=r/u&255;return e+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(r,e,n){return r=+r,e=e>>>0,n||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,u=1,p=0;for(this[e]=r&255;++o<n&&(u*=256);)r<0&&p===0&&this[e+o-1]!==0&&(p=1),this[e+o]=(r/u>>0)-p&255;return e+n};s.prototype.writeIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var a=Math.pow(2,8*n-1);T(this,r,e,n,a-1,-a)}var o=n-1,u=1,p=0;for(this[e+o]=r&255;--o>=0&&(u*=256);)r<0&&p===0&&this[e+o+1]!==0&&(p=1),this[e+o]=(r/u>>0)-p&255;return e+n};s.prototype.writeInt8=function(r,e,n){return r=+r,e=e>>>0,n||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 hr(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 dr(t,r,e,n,i){return r=+r,e=e>>>0,i||hr(t,r,e,4,34028234663852886e22,-34028234663852886e22),C.write(t,r,e,n,23,4),e+4}s.prototype.writeFloatLE=function(r,e,n){return dr(this,r,e,!0,n)};s.prototype.writeFloatBE=function(r,e,n){return dr(this,r,e,!1,n)};function yr(t,r,e,n,i){return r=+r,e=e>>>0,i||hr(t,r,e,8,17976931348623157e292,-17976931348623157e292),C.write(t,r,e,n,52,8),e+8}s.prototype.writeDoubleLE=function(r,e,n){return yr(this,r,e,!0,n)};s.prototype.writeDoubleBE=function(r,e,n){return yr(this,r,e,!1,n)};s.prototype.copy=function(r,e,n,i){if(!s.isBuffer(r))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),e>=r.length&&(e=r.length),e||(e=0),i>0&&i<n&&(i=n),i===n||r.length===0||this.length===0)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),r.length-e<i-n&&(i=r.length-e+n);var a=i-n;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(e,n,i):Uint8Array.prototype.set.call(r,this.subarray(n,i),e),a};s.prototype.fill=function(r,e,n,i){if(typeof r=="string"){if(typeof e=="string"?(i=e,e=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(r.length===1){var a=r.charCodeAt(0);(i==="utf8"&&a<128||i==="latin1")&&(r=a)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;e=e>>>0,n=n===void 0?this.length:n>>>0,r||(r=0);var o;if(typeof r=="number")for(o=e;o<n;++o)this[o]=r;else{var u=s.isBuffer(r)?r:s.from(r,i),p=u.length;if(p===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(o=0;o<n-e;++o)this[o+e]=u[o%p]}return this};var ie=/[^+/0-9A-Za-z-_]/g;function ae(t){if(t=t.split("=")[0],t=t.trim().replace(ie,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function J(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 oe(t){for(var r=[],e=0;e<t.length;++e)r.push(t.charCodeAt(e)&255);return r}function se(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 xr(t){return z.toByteArray(ae(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 I(t,r){return t instanceof r||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===r.name}function V(t){return t!==t}var pe=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 kr=M((xe,Fr)=>{l();var h=Fr.exports={},S,b;function Z(){throw new Error("setTimeout has not been defined")}function $(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?S=setTimeout:S=Z}catch(t){S=Z}try{typeof clearTimeout=="function"?b=clearTimeout:b=$}catch(t){b=$}})();function Tr(t){if(S===setTimeout)return setTimeout(t,0);if((S===Z||!S)&&setTimeout)return S=setTimeout,setTimeout(t,0);try{return S(t,0)}catch(r){try{return S.call(null,t,0)}catch(e){return S.call(this,t,0)}}}function ue(t){if(b===clearTimeout)return clearTimeout(t);if((b===$||!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 ce(){!N||!U||(N=!1,U.length?R=U.concat(R):q=-1,R.length&&wr())}function wr(){if(!N){var t=Tr(ce);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,ue(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 vr(t,r)),R.length===1&&!N&&Tr(wr)};function vr(t,r){this.fun=t,this.array=r}vr.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,me,l=Lr(()=>{y=er(mr()),x=er(kr()),me=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 fe={};_r(fe,{getTransactionLinkWithLabel:()=>le});module.exports=Ur(fe);l();l();l();l();l();l();l();l();l();l();l();l();var le=({transaction:t,direction:r})=>{var p;let e=r==="Internal",n=t.sender;if(e)return{link:(p=t.links.senderLink)!=null?p:"",label:"Smart Contract transaction",address:n};let i=r==="Out",a=i?t.links.receiverLink:t.links.senderLink,o="";return r==="Self"&&t.receiverAssets?o=t.receiverAssets.name:(n=i?t.receiver:t.sender,o=i?"To:":"From:"),{label:o,address:n,link:a!=null?a:""}};0&&(module.exports={getTransactionLinkWithLabel});
|
|
1
|
+
"use strict";var Sr=Object.create;var P=Object.defineProperty;var br=Object.getOwnPropertyDescriptor;var Br=Object.getOwnPropertyNames;var Rr=Object.getPrototypeOf,Ar=Object.prototype.hasOwnProperty;var Lr=(t,r)=>()=>(t&&(r=t(t=0)),r);var M=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),_r=(t,r)=>{for(var e in r)P(t,e,{get:r[e],enumerable:!0})},rr=(t,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of Br(r))!Ar.call(t,i)&&i!==e&&P(t,i,{get:()=>r[i],enumerable:!(n=br(r,i))||n.enumerable});return t};var er=(t,r,e)=>(e=t!=null?Sr(Rr(t)):{},rr(r||!t||!t.__esModule?P(e,"default",{value:t,enumerable:!0}):e,t)),Ur=t=>rr(P({},"__esModule",{value:!0}),t);var ir=M(G=>{"use strict";l();G.byteLength=Cr;G.toByteArray=Nr;G.fromByteArray=Gr;var F=[],v=[],Er=typeof Uint8Array!="undefined"?Uint8Array:Array,W="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(L=0,tr=W.length;L<tr;++L)F[L]=W[L],v[W.charCodeAt(L)]=L;var L,tr;v["-".charCodeAt(0)]=62;v["_".charCodeAt(0)]=63;function nr(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 Cr(t){var r=nr(t),e=r[0],n=r[1];return(e+n)*3/4-n}function Dr(t,r,e){return(r+e)*3/4-e}function Nr(t){var r,e=nr(t),n=e[0],i=e[1],a=new Er(Dr(t,n,i)),o=0,u=i>0?n-4:n,p;for(p=0;p<u;p+=4)r=v[t.charCodeAt(p)]<<18|v[t.charCodeAt(p+1)]<<12|v[t.charCodeAt(p+2)]<<6|v[t.charCodeAt(p+3)],a[o++]=r>>16&255,a[o++]=r>>8&255,a[o++]=r&255;return i===2&&(r=v[t.charCodeAt(p)]<<2|v[t.charCodeAt(p+1)]>>4,a[o++]=r&255),i===1&&(r=v[t.charCodeAt(p)]<<10|v[t.charCodeAt(p+1)]<<4|v[t.charCodeAt(p+2)]>>2,a[o++]=r>>8&255,a[o++]=r&255),a}function Pr(t){return F[t>>18&63]+F[t>>12&63]+F[t>>6&63]+F[t&63]}function Mr(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(Pr(n));return i.join("")}function Gr(t){for(var r,e=t.length,n=e%3,i=[],a=16383,o=0,u=e-n;o<u;o+=a)i.push(Mr(t,o,o+a>u?u:o+a));return n===1?(r=t[e-1],i.push(F[r>>2]+F[r<<4&63]+"==")):n===2&&(r=(t[e-2]<<8)+t[e-1],i.push(F[r>>10]+F[r>>4&63]+F[r<<2&63]+"=")),i.join("")}});var ar=M(Y=>{l();Y.read=function(t,r,e,n,i){var a,o,u=i*8-n-1,p=(1<<u)-1,f=p>>1,g=-7,c=e?i-1:0,k=e?-1:1,w=t[r+c];for(c+=k,a=w&(1<<-g)-1,w>>=-g,g+=u;g>0;a=a*256+t[r+c],c+=k,g-=8);for(o=a&(1<<-g)-1,a>>=-g,g+=n;g>0;o=o*256+t[r+c],c+=k,g-=8);if(a===0)a=1-f;else{if(a===p)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)};Y.write=function(t,r,e,n,i,a){var o,u,p,f=a*8-i-1,g=(1<<f)-1,c=g>>1,k=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,w=n?0:a-1,E=n?1:-1,Ir=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(u=isNaN(r)?1:0,o=g):(o=Math.floor(Math.log(r)/Math.LN2),r*(p=Math.pow(2,-o))<1&&(o--,p*=2),o+c>=1?r+=k/p:r+=k*Math.pow(2,1-c),r*p>=2&&(o++,p/=2),o+c>=g?(u=0,o=g):o+c>=1?(u=(r*p-1)*Math.pow(2,i),o=o+c):(u=r*Math.pow(2,c-1)*Math.pow(2,i),o=0));i>=8;t[e+w]=u&255,w+=E,u/=256,i-=8);for(o=o<<i|u,f+=i;f>0;t[e+w]=o&255,w+=E,o/=256,f-=8);t[e+w-E]|=Ir*128}});var mr=M(D=>{"use strict";l();var z=ir(),C=ar(),or=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;D.Buffer=s;D.SlowBuffer=zr;D.INSPECT_MAX_BYTES=50;var O=2147483647;D.kMaxLength=O;s.TYPED_ARRAY_SUPPORT=Or();!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 Or(){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 j(t)}return ur(t,r,e)}s.poolSize=8192;function ur(t,r,e){if(typeof t=="string")return qr(t,r);if(ArrayBuffer.isView(t))return Wr(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(I(t,ArrayBuffer)||t&&I(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(I(t,SharedArrayBuffer)||t&&I(t.buffer,SharedArrayBuffer)))return X(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=Yr(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 ur(t,r,e)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function cr(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 Hr(t,r,e){return cr(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 Hr(t,r,e)};function j(t){return cr(t),B(t<0?0:K(t)|0)}s.allocUnsafe=function(t){return j(t)};s.allocUnsafeSlow=function(t){return j(t)};function qr(t,r){if((typeof r!="string"||r==="")&&(r="utf8"),!s.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var e=lr(t,r)|0,n=B(e),i=n.write(t,r);return i!==e&&(n=n.slice(0,i)),n}function Q(t){for(var r=t.length<0?0:K(t.length)|0,e=B(r),n=0;n<r;n+=1)e[n]=t[n]&255;return e}function Wr(t){if(I(t,Uint8Array)){var r=new Uint8Array(t);return X(r.buffer,r.byteOffset,r.byteLength)}return Q(t)}function X(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 Yr(t){if(s.isBuffer(t)){var r=K(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"||V(t.length)?B(0):Q(t);if(t.type==="Buffer"&&Array.isArray(t.data))return Q(t.data)}function K(t){if(t>=O)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+O.toString(16)+" bytes");return t|0}function zr(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==s.prototype};s.compare=function(r,e){if(I(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),I(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(I(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 lr(t,r){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||I(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 J(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return e*2;case"hex":return e>>>1;case"base64":return xr(t).length;default:if(i)return n?-1:J(t).length;r=(""+r).toLowerCase(),i=!0}}s.byteLength=lr;function Qr(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 te(this,r,e);case"utf8":case"utf-8":return gr(this,r,e);case"ascii":return re(this,r,e);case"latin1":case"binary":return ee(this,r,e);case"base64":return Zr(this,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ne(this,r,e);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function _(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)_(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)_(this,e,e+3),_(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)_(this,e,e+7),_(this,e+1,e+6),_(this,e+2,e+5),_(this,e+3,e+4);return this};s.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?gr(this,0,r):Qr.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+">"};or&&(s.prototype[or]=s.prototype.inspect);s.prototype.compare=function(r,e,n,i,a){if(I(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(e===void 0&&(e=0),n===void 0&&(n=r?r.length:0),i===void 0&&(i=0),a===void 0&&(a=this.length),e<0||n>r.length||i<0||a>this.length)throw new RangeError("out of range index");if(i>=a&&e>=n)return 0;if(i>=a)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,i>>>=0,a>>>=0,this===r)return 0;for(var o=a-i,u=n-e,p=Math.min(o,u),f=this.slice(i,a),g=r.slice(e,n),c=0;c<p;++c)if(f[c]!==g[c]){o=f[c],u=g[c];break}return o<u?-1:u<o?1:0};function fr(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,V(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:sr(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):sr(t,[r],e,n,i);throw new TypeError("val must be string, number or Buffer")}function sr(t,r,e,n,i){var a=1,o=t.length,u=r.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||r.length<2)return-1;a=2,o/=2,u/=2,e/=2}function p(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(p(t,f)===p(r,g===-1?0:f-g)){if(g===-1&&(g=f),f-g+1===u)return g*a}else g!==-1&&(f-=f-g),g=-1}else for(e+u>o&&(e=o-u),f=e;f>=0;f--){for(var c=!0,k=0;k<u;k++)if(p(t,f+k)!==p(r,k)){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 fr(this,r,e,n,!0)};s.prototype.lastIndexOf=function(r,e,n){return fr(this,r,e,n,!1)};function Xr(t,r,e,n){e=Number(e)||0;var i=t.length-e;n?(n=Number(n),n>i&&(n=i)):n=i;var a=r.length;n>a/2&&(n=a/2);for(var o=0;o<n;++o){var u=parseInt(r.substr(o*2,2),16);if(V(u))return o;t[e+o]=u}return o}function Jr(t,r,e,n){return H(J(r,t.length-e),t,e,n)}function jr(t,r,e,n){return H(oe(r),t,e,n)}function Kr(t,r,e,n){return H(xr(r),t,e,n)}function Vr(t,r,e,n){return H(se(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 Xr(this,r,e,n);case"utf8":case"utf-8":return Jr(this,r,e,n);case"ascii":case"latin1":case"binary":return jr(this,r,e,n);case"base64":return Kr(this,r,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Vr(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 Zr(t,r,e){return r===0&&e===t.length?z.fromByteArray(t):z.fromByteArray(t.slice(r,e))}function gr(t,r,e){e=Math.min(t.length,e);for(var n=[],i=r;i<e;){var a=t[i],o=null,u=a>239?4:a>223?3:a>191?2:1;if(i+u<=e){var p,f,g,c;switch(u){case 1:a<128&&(o=a);break;case 2:p=t[i+1],(p&192)===128&&(c=(a&31)<<6|p&63,c>127&&(o=c));break;case 3:p=t[i+1],f=t[i+2],(p&192)===128&&(f&192)===128&&(c=(a&15)<<12|(p&63)<<6|f&63,c>2047&&(c<55296||c>57343)&&(o=c));break;case 4:p=t[i+1],f=t[i+2],g=t[i+3],(p&192)===128&&(f&192)===128&&(g&192)===128&&(c=(a&15)<<18|(p&63)<<12|(f&63)<<6|g&63,c>65535&&c<1114112&&(o=c))}}o===null?(o=65533,u=1):o>65535&&(o-=65536,n.push(o>>>10&1023|55296),o=56320|o&1023),n.push(o),i+=u}return $r(n)}var pr=4096;function $r(t){var r=t.length;if(r<=pr)return String.fromCharCode.apply(String,t);for(var e="",n=0;n<r;)e+=String.fromCharCode.apply(String,t.slice(n,n+=pr));return e}function re(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 ee(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 te(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+=pe[t[a]];return i}function ne(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,u=0;for(this[e]=r&255;++u<n&&(o*=256);)this[e+u]=r/o&255;return e+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;T(this,r,e,n,a,0)}var o=n-1,u=1;for(this[e+o]=r&255;--o>=0&&(u*=256);)this[e+o]=r/u&255;return e+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(r,e,n){return r=+r,e=e>>>0,n||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,u=1,p=0;for(this[e]=r&255;++o<n&&(u*=256);)r<0&&p===0&&this[e+o-1]!==0&&(p=1),this[e+o]=(r/u>>0)-p&255;return e+n};s.prototype.writeIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var a=Math.pow(2,8*n-1);T(this,r,e,n,a-1,-a)}var o=n-1,u=1,p=0;for(this[e+o]=r&255;--o>=0&&(u*=256);)r<0&&p===0&&this[e+o+1]!==0&&(p=1),this[e+o]=(r/u>>0)-p&255;return e+n};s.prototype.writeInt8=function(r,e,n){return r=+r,e=e>>>0,n||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 hr(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 dr(t,r,e,n,i){return r=+r,e=e>>>0,i||hr(t,r,e,4,34028234663852886e22,-34028234663852886e22),C.write(t,r,e,n,23,4),e+4}s.prototype.writeFloatLE=function(r,e,n){return dr(this,r,e,!0,n)};s.prototype.writeFloatBE=function(r,e,n){return dr(this,r,e,!1,n)};function yr(t,r,e,n,i){return r=+r,e=e>>>0,i||hr(t,r,e,8,17976931348623157e292,-17976931348623157e292),C.write(t,r,e,n,52,8),e+8}s.prototype.writeDoubleLE=function(r,e,n){return yr(this,r,e,!0,n)};s.prototype.writeDoubleBE=function(r,e,n){return yr(this,r,e,!1,n)};s.prototype.copy=function(r,e,n,i){if(!s.isBuffer(r))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),e>=r.length&&(e=r.length),e||(e=0),i>0&&i<n&&(i=n),i===n||r.length===0||this.length===0)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),r.length-e<i-n&&(i=r.length-e+n);var a=i-n;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(e,n,i):Uint8Array.prototype.set.call(r,this.subarray(n,i),e),a};s.prototype.fill=function(r,e,n,i){if(typeof r=="string"){if(typeof e=="string"?(i=e,e=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(r.length===1){var a=r.charCodeAt(0);(i==="utf8"&&a<128||i==="latin1")&&(r=a)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;e=e>>>0,n=n===void 0?this.length:n>>>0,r||(r=0);var o;if(typeof r=="number")for(o=e;o<n;++o)this[o]=r;else{var u=s.isBuffer(r)?r:s.from(r,i),p=u.length;if(p===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(o=0;o<n-e;++o)this[o+e]=u[o%p]}return this};var ie=/[^+/0-9A-Za-z-_]/g;function ae(t){if(t=t.split("=")[0],t=t.trim().replace(ie,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function J(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 oe(t){for(var r=[],e=0;e<t.length;++e)r.push(t.charCodeAt(e)&255);return r}function se(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 xr(t){return z.toByteArray(ae(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 I(t,r){return t instanceof r||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===r.name}function V(t){return t!==t}var pe=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 Fr=M((xe,kr)=>{l();var h=kr.exports={},S,b;function Z(){throw new Error("setTimeout has not been defined")}function $(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?S=setTimeout:S=Z}catch(t){S=Z}try{typeof clearTimeout=="function"?b=clearTimeout:b=$}catch(t){b=$}})();function Tr(t){if(S===setTimeout)return setTimeout(t,0);if((S===Z||!S)&&setTimeout)return S=setTimeout,setTimeout(t,0);try{return S(t,0)}catch(r){try{return S.call(null,t,0)}catch(e){return S.call(this,t,0)}}}function ue(t){if(b===clearTimeout)return clearTimeout(t);if((b===$||!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 ce(){!N||!U||(N=!1,U.length?R=U.concat(R):q=-1,R.length&&wr())}function wr(){if(!N){var t=Tr(ce);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,ue(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 vr(t,r)),R.length===1&&!N&&Tr(wr)};function vr(t,r){this.fun=t,this.array=r}vr.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,me,l=Lr(()=>{y=er(mr()),x=er(Fr()),me=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 fe={};_r(fe,{getTransactionLinkWithLabel:()=>le});module.exports=Ur(fe);l();l();l();l();l();l();l();l();l();l();l();l();var le=({transaction:t,direction:r})=>{var p;let e=r==="Internal",n=t.sender;if(e)return{link:(p=t.links.senderLink)!=null?p:"",label:"Smart Contract transaction",address:n};let i=r==="Out",a=i?t.links.receiverLink:t.links.senderLink,o="";return r==="Self"&&t.receiverAssets?o=t.receiverAssets.name:(n=i?t.receiver:t.sender,o=i?"To:":"From:"),{label:o,address:n,link:a!=null?a:""}};0&&(module.exports={getTransactionLinkWithLabel});
|
|
2
2
|
/*!
|
|
3
3
|
* The buffer module from node.js, for the browser.
|
|
4
4
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var Mo=Object.create;var ge=Object.defineProperty,Oo=Object.defineProperties,Fo=Object.getOwnPropertyDescriptor,Bo=Object.getOwnPropertyDescriptors,Uo=Object.getOwnPropertyNames,be=Object.getOwnPropertySymbols,Vo=Object.getPrototypeOf,ut=Object.prototype.hasOwnProperty,sr=Object.prototype.propertyIsEnumerable;var ar=(e,t,r)=>t in e?ge(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,x=(e,t)=>{for(var r in t||(t={}))ut.call(t,r)&&ar(e,r,t[r]);if(be)for(var r of be(t))sr.call(t,r)&&ar(e,r,t[r]);return e},A=(e,t)=>Oo(e,Bo(t));var cr=(e,t)=>{var r={};for(var o in e)ut.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(e!=null&&be)for(var o of be(e))t.indexOf(o)<0&&sr.call(e,o)&&(r[o]=e[o]);return r};var f=(e,t)=>()=>(e&&(t=e(e=0)),t);var Ae=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Q=(e,t)=>{for(var r in t)ge(e,r,{get:t[r],enumerable:!0})},lr=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Uo(t))!ut.call(e,i)&&i!==r&&ge(e,i,{get:()=>t[i],enumerable:!(o=Fo(t,i))||o.enumerable});return e};var S=(e,t,r)=>(r=e!=null?Mo(Vo(e)):{},lr(t||!e||!e.__esModule?ge(r,"default",{value:e,enumerable:!0}):r,e)),me=e=>lr(ge({},"__esModule",{value:!0}),e);var pr=(e,t,r)=>new Promise((o,i)=>{var l=d=>{try{g(r.next(d))}catch(T){i(T)}},p=d=>{try{g(r.throw(d))}catch(T){i(T)}},g=d=>d.done?o(d.value):Promise.resolve(d.value).then(l,p);g((r=r.apply(e,t)).next())});var gr=Ae(ve=>{"use strict";n();ve.byteLength=Go;ve.toByteArray=Ho;ve.fromByteArray=zo;var M=[],R=[],$o=typeof Uint8Array!="undefined"?Uint8Array:Array,dt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(J=0,ur=dt.length;J<ur;++J)M[J]=dt[J],R[dt.charCodeAt(J)]=J;var J,ur;R["-".charCodeAt(0)]=62;R["_".charCodeAt(0)]=63;function dr(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 Go(e){var t=dr(e),r=t[0],o=t[1];return(r+o)*3/4-o}function Wo(e,t,r){return(t+r)*3/4-r}function Ho(e){var t,r=dr(e),o=r[0],i=r[1],l=new $o(Wo(e,o,i)),p=0,g=i>0?o-4:o,d;for(d=0;d<g;d+=4)t=R[e.charCodeAt(d)]<<18|R[e.charCodeAt(d+1)]<<12|R[e.charCodeAt(d+2)]<<6|R[e.charCodeAt(d+3)],l[p++]=t>>16&255,l[p++]=t>>8&255,l[p++]=t&255;return i===2&&(t=R[e.charCodeAt(d)]<<2|R[e.charCodeAt(d+1)]>>4,l[p++]=t&255),i===1&&(t=R[e.charCodeAt(d)]<<10|R[e.charCodeAt(d+1)]<<4|R[e.charCodeAt(d+2)]>>2,l[p++]=t>>8&255,l[p++]=t&255),l}function qo(e){return M[e>>18&63]+M[e>>12&63]+M[e>>6&63]+M[e&63]}function jo(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(qo(o));return i.join("")}function zo(e){for(var t,r=e.length,o=r%3,i=[],l=16383,p=0,g=r-o;p<g;p+=l)i.push(jo(e,p,p+l>g?g:p+l));return o===1?(t=e[r-1],i.push(M[t>>2]+M[t<<4&63]+"==")):o===2&&(t=(e[r-2]<<8)+e[r-1],i.push(M[t>>10]+M[t>>4&63]+M[t<<2&63]+"=")),i.join("")}});var mr=Ae(gt=>{n();gt.read=function(e,t,r,o,i){var l,p,g=i*8-o-1,d=(1<<g)-1,T=d>>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+=g;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===d)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)};gt.write=function(e,t,r,o,i,l){var p,g,d,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,Y=o?1:-1,G=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(g=isNaN(t)?1:0,p=h):(p=Math.floor(Math.log(t)/Math.LN2),t*(d=Math.pow(2,-p))<1&&(p--,d*=2),p+y>=1?t+=k/d:t+=k*Math.pow(2,1-y),t*d>=2&&(p++,d/=2),p+y>=h?(g=0,p=h):p+y>=1?(g=(t*d-1)*Math.pow(2,i),p=p+y):(g=t*Math.pow(2,y-1)*Math.pow(2,i),p=0));i>=8;e[r+E]=g&255,E+=Y,g/=256,i-=8);for(p=p<<i|g,T+=i;T>0;e[r+E]=p&255,E+=Y,p/=256,T-=8);e[r+E-Y]|=G*128}});var Er=Ae(ae=>{"use strict";n();var mt=gr(),ie=mr(),fr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;ae.Buffer=u;ae.SlowBuffer=Jo;ae.INSPECT_MAX_BYTES=50;var ke=2147483647;ae.kMaxLength=ke;u.TYPED_ARRAY_SUPPORT=Ko();!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 Ko(){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 W(e){if(e>ke)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 ht(e)}return hr(e,t,r)}u.poolSize=8192;function hr(e,t,r){if(typeof e=="string")return Xo(e,t);if(ArrayBuffer.isView(e))return Zo(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(O(e,ArrayBuffer)||e&&O(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(O(e,SharedArrayBuffer)||e&&O(e.buffer,SharedArrayBuffer)))return Tt(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=Qo(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 hr(e,t,r)};Object.setPrototypeOf(u.prototype,Uint8Array.prototype);Object.setPrototypeOf(u,Uint8Array);function xr(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 Yo(e,t,r){return xr(e),e<=0?W(e):t!==void 0?typeof r=="string"?W(e).fill(t,r):W(e).fill(t):W(e)}u.alloc=function(e,t,r){return Yo(e,t,r)};function ht(e){return xr(e),W(e<0?0:xt(e)|0)}u.allocUnsafe=function(e){return ht(e)};u.allocUnsafeSlow=function(e){return ht(e)};function Xo(e,t){if((typeof t!="string"||t==="")&&(t="utf8"),!u.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=Sr(e,t)|0,o=W(r),i=o.write(e,t);return i!==r&&(o=o.slice(0,i)),o}function ft(e){for(var t=e.length<0?0:xt(e.length)|0,r=W(t),o=0;o<t;o+=1)r[o]=e[o]&255;return r}function Zo(e){if(O(e,Uint8Array)){var t=new Uint8Array(e);return Tt(t.buffer,t.byteOffset,t.byteLength)}return ft(e)}function Tt(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 Qo(e){if(u.isBuffer(e)){var t=xt(e.length)|0,r=W(t);return r.length===0||e.copy(r,0,0,t),r}if(e.length!==void 0)return typeof e.length!="number"||St(e.length)?W(0):ft(e);if(e.type==="Buffer"&&Array.isArray(e.data))return ft(e.data)}function xt(e){if(e>=ke)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ke.toString(16)+" bytes");return e|0}function Jo(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(O(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),O(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(O(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 Sr(e,t){if(u.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||O(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 yt(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return kr(e).length;default:if(i)return o?-1:yt(e).length;t=(""+t).toLowerCase(),i=!0}}u.byteLength=Sr;function ei(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 pi(this,t,r);case"utf8":case"utf-8":return Ir(this,t,r);case"ascii":return ci(this,t,r);case"latin1":case"binary":return li(this,t,r);case"base64":return ai(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ui(this,t,r);default:if(o)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),o=!0}}u.prototype._isBuffer=!0;function ee(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)ee(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)ee(this,r,r+3),ee(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)ee(this,r,r+7),ee(this,r+1,r+6),ee(this,r+2,r+5),ee(this,r+3,r+4);return this};u.prototype.toString=function(){var t=this.length;return t===0?"":arguments.length===0?Ir(this,0,t):ei.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=ae.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"};fr&&(u.prototype[fr]=u.prototype.inspect);u.prototype.compare=function(t,r,o,i,l){if(O(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,g=o-r,d=Math.min(p,g),T=this.slice(i,l),h=t.slice(r,o),y=0;y<d;++y)if(T[y]!==h[y]){p=T[y],g=h[y];break}return p<g?-1:g<p?1:0};function wr(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,St(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:Tr(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):Tr(e,[t],r,o,i);throw new TypeError("val must be string, number or Buffer")}function Tr(e,t,r,o,i){var l=1,p=e.length,g=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,g/=2,r/=2}function d(E,Y){return l===1?E[Y]:E.readUInt16BE(Y*l)}var T;if(i){var h=-1;for(T=r;T<p;T++)if(d(e,T)===d(t,h===-1?0:T-h)){if(h===-1&&(h=T),T-h+1===g)return h*l}else h!==-1&&(T-=T-h),h=-1}else for(r+g>p&&(r=p-g),T=r;T>=0;T--){for(var y=!0,k=0;k<g;k++)if(d(e,T+k)!==d(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 wr(this,t,r,o,!0)};u.prototype.lastIndexOf=function(t,r,o){return wr(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 g=parseInt(t.substr(p*2,2),16);if(St(g))return p;e[r+p]=g}return p}function ri(e,t,r,o){return Ee(yt(t,e.length-r),e,r,o)}function ni(e,t,r,o){return Ee(mi(t),e,r,o)}function oi(e,t,r,o){return Ee(kr(t),e,r,o)}function ii(e,t,r,o){return Ee(fi(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 ri(this,t,r,o);case"ascii":case"latin1":case"binary":return ni(this,t,r,o);case"base64":return oi(this,t,r,o);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ii(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 ai(e,t,r){return t===0&&r===e.length?mt.fromByteArray(e):mt.fromByteArray(e.slice(t,r))}function Ir(e,t,r){r=Math.min(e.length,r);for(var o=[],i=t;i<r;){var l=e[i],p=null,g=l>239?4:l>223?3:l>191?2:1;if(i+g<=r){var d,T,h,y;switch(g){case 1:l<128&&(p=l);break;case 2:d=e[i+1],(d&192)===128&&(y=(l&31)<<6|d&63,y>127&&(p=y));break;case 3:d=e[i+1],T=e[i+2],(d&192)===128&&(T&192)===128&&(y=(l&15)<<12|(d&63)<<6|T&63,y>2047&&(y<55296||y>57343)&&(p=y));break;case 4:d=e[i+1],T=e[i+2],h=e[i+3],(d&192)===128&&(T&192)===128&&(h&192)===128&&(y=(l&15)<<18|(d&63)<<12|(T&63)<<6|h&63,y>65535&&y<1114112&&(p=y))}}p===null?(p=65533,g=1):p>65535&&(p-=65536,o.push(p>>>10&1023|55296),p=56320|p&1023),o.push(p),i+=g}return si(o)}var yr=4096;function si(e){var t=e.length;if(t<=yr)return String.fromCharCode.apply(String,e);for(var r="",o=0;o<t;)r+=String.fromCharCode.apply(String,e.slice(o,o+=yr));return r}function ci(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 li(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 pi(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+=Ti[e[l]];return i}function ui(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),ie.read(this,t,!0,23,4)};u.prototype.readFloatBE=function(t,r){return t=t>>>0,r||v(t,4,this.length),ie.read(this,t,!1,23,4)};u.prototype.readDoubleLE=function(t,r){return t=t>>>0,r||v(t,8,this.length),ie.read(this,t,!0,52,8)};u.prototype.readDoubleBE=function(t,r){return t=t>>>0,r||v(t,8,this.length),ie.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,g=0;for(this[r]=t&255;++g<o&&(p*=256);)this[r+g]=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,g=1;for(this[r+p]=t&255;--p>=0&&(g*=256);)this[r+p]=t/g&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,g=1,d=0;for(this[r]=t&255;++p<o&&(g*=256);)t<0&&d===0&&this[r+p-1]!==0&&(d=1),this[r+p]=(t/g>>0)-d&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,g=1,d=0;for(this[r+p]=t&255;--p>=0&&(g*=256);)t<0&&d===0&&this[r+p+1]!==0&&(d=1),this[r+p]=(t/g>>0)-d&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 br(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 Ar(e,t,r,o,i){return t=+t,r=r>>>0,i||br(e,t,r,4,34028234663852886e22,-34028234663852886e22),ie.write(e,t,r,o,23,4),r+4}u.prototype.writeFloatLE=function(t,r,o){return Ar(this,t,r,!0,o)};u.prototype.writeFloatBE=function(t,r,o){return Ar(this,t,r,!1,o)};function vr(e,t,r,o,i){return t=+t,r=r>>>0,i||br(e,t,r,8,17976931348623157e292,-17976931348623157e292),ie.write(e,t,r,o,52,8),r+8}u.prototype.writeDoubleLE=function(t,r,o){return vr(this,t,r,!0,o)};u.prototype.writeDoubleBE=function(t,r,o){return vr(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 g=u.isBuffer(t)?t:u.from(t,i),d=g.length;if(d===0)throw new TypeError('The value "'+t+'" is invalid for argument "value"');for(p=0;p<o-r;++p)this[p+r]=g[p%d]}return this};var di=/[^+/0-9A-Za-z-_]/g;function gi(e){if(e=e.split("=")[0],e=e.trim().replace(di,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function yt(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 mi(e){for(var t=[],r=0;r<e.length;++r)t.push(e.charCodeAt(r)&255);return t}function fi(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 kr(e){return mt.toByteArray(gi(e))}function Ee(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 O(e,t){return e instanceof t||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===t.name}function St(e){return e!==e}var Ti=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 Cr=Ae((ns,Rr)=>{n();var w=Rr.exports={},F,B;function wt(){throw new Error("setTimeout has not been defined")}function It(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?F=setTimeout:F=wt}catch(e){F=wt}try{typeof clearTimeout=="function"?B=clearTimeout:B=It}catch(e){B=It}})();function Lr(e){if(F===setTimeout)return setTimeout(e,0);if((F===wt||!F)&&setTimeout)return F=setTimeout,setTimeout(e,0);try{return F(e,0)}catch(t){try{return F.call(null,e,0)}catch(r){return F.call(this,e,0)}}}function yi(e){if(B===clearTimeout)return clearTimeout(e);if((B===It||!B)&&clearTimeout)return B=clearTimeout,clearTimeout(e);try{return B(e)}catch(t){try{return B.call(null,e)}catch(r){return B.call(this,e)}}}var H=[],se=!1,te,Le=-1;function hi(){!se||!te||(se=!1,te.length?H=te.concat(H):Le=-1,H.length&&Dr())}function Dr(){if(!se){var e=Lr(hi);se=!0;for(var t=H.length;t;){for(te=H,H=[];++Le<t;)te&&te[Le].run();Le=-1,t=H.length}te=null,se=!1,yi(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];H.push(new Nr(e,t)),H.length===1&&!se&&Lr(Dr)};function Nr(e,t){this.fun=e,this.array=t}Nr.prototype.run=function(){this.fun.apply(null,this.array)};w.title="browser";w.browser=!0;w.env={};w.argv=[];w.version="";w.versions={};function q(){}w.on=q;w.addListener=q;w.once=q;w.off=q;w.removeListener=q;w.removeAllListeners=q;w.emit=q;w.prependListener=q;w.prependOnceListener=q;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,os,n=f(()=>{a=S(Er()),s=S(Cr()),os=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 Pr=f(()=>{"use strict";n()});var _r=f(()=>{"use strict";n()});var Mr=f(()=>{"use strict";n()});var Or=f(()=>{"use strict";n()});var j=f(()=>{"use strict";n()});var Fr=f(()=>{"use strict";n()});var Br=f(()=>{"use strict";n()});var D=f(()=>{"use strict";n()});var Ur=f(()=>{"use strict";n()});var Vr=f(()=>{"use strict";n()});var $r=f(()=>{"use strict";n()});var C=f(()=>{"use strict";n();_r();Mr();Or();j();Fr();Br();D();Ur();Vr();$r()});var bt,Gr,As,Wr,vs,Hr,ks,Es,Ls,qr=f(()=>{"use strict";n();C();bt={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:Gr,egldLabel:As}=bt["devnet"],{chainId:Wr,egldLabel:vs}=bt["testnet"],{chainId:Hr,egldLabel:ks}=bt["mainnet"],Es={["devnet"]:Gr,["testnet"]:Wr,["mainnet"]:Hr},Ls={[Gr]:"devnet",[Wr]:"testnet",[Hr]:"mainnet"}});var At=f(()=>{"use strict";n()});var jr=f(()=>{"use strict";n()});var zr,vt=f(()=>{"use strict";n();zr="transaction-status-toast-id"});var U,Kr=f(()=>{"use strict";n();U=require("@multiversx/sdk-web-wallet-provider")});var Yr=f(()=>{"use strict";n()});var kt,Et,Xr,De,Zr,ce,I=f(()=>{"use strict";n();Pr();qr();At();jr();vt();Kr();Yr();kt=5e4,Et=1e9,Xr=1,De="logout",Zr="login",ce="0"});var Ne,Lt=f(()=>{"use strict";n();Ne=()=>Date.now()/1e3});var Qr=f(()=>{"use strict";n()});var Jr=f(()=>{"use strict";n()});var en=f(()=>{"use strict";n();Lt();Qr();Jr()});var Nt={};Q(Nt,{getItem:()=>Si,localStorageKeys:()=>re,removeItem:()=>wi,setItem:()=>xi});var re,Dt,xi,Si,wi,fe=f(()=>{"use strict";n();en();re={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event"},Dt=typeof localStorage!="undefined",xi=({key:e,data:t,expires:r})=>{!Dt||localStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},Si=e=>{if(!Dt)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:Ne()>=r.expires?(localStorage.removeItem(String(e)),null):r.data},wi=e=>{!Dt||localStorage.removeItem(String(e))}});var Rt={};Q(Rt,{clear:()=>on,getItem:()=>rn,removeItem:()=>nn,setItem:()=>tn,storage:()=>Ii});var tn,rn,nn,on,Ii,an=f(()=>{"use strict";n();tn=({key:e,data:t,expires:r})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},rn=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},nn=e=>sessionStorage.removeItem(String(e)),on=()=>sessionStorage.clear(),Ii={setItem:tn,getItem:rn,removeItem:nn,clear:on}});var le,Re=f(()=>{"use strict";n();fe();an();le={session:Rt,local:Nt}});var Ct,b,Ce,_=f(()=>{"use strict";n();Ct=require("@reduxjs/toolkit");I();b=(0,Ct.createAction)(De),Ce=(0,Ct.createAction)(Zr,e=>({payload:e}))});var _t,sn,cn,Pe,Pt,ln,pn,ac,un,sc,cc,lc,pc,uc,dc,gc,mc,_e,Me=f(()=>{"use strict";n();_t=require("@multiversx/sdk-core"),sn=require("@reduxjs/toolkit"),cn=require("redux-persist");I();Re();fe();_();Pe={balance:"...",address:"",isGuarded:!1,nonce:0,txCount:0,scrCount:0,claimableRewards:ce},Pt={address:"",websocketEvent:null,websocketBatchEvent:null,accounts:{"":Pe},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},ln=(0,sn.createSlice)({name:"accountInfoSlice",initialState:Pt,reducers:{setAddress:(e,t)=>{let r=t.payload;e.address=r,e.publicKey=new _t.Address(r).hex()},setAccount:(e,t)=>{let r=e.address===t.payload.address;e.accounts={[e.address]:r?t.payload:Pe},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(b,()=>(le.local.removeItem(re.loginExpiresAt),Pt)),e.addCase(Ce,(t,r)=>{let{address:o}=r.payload;t.address=o,t.publicKey=new _t.Address(o).hex()}),e.addCase(cn.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:g}=o;t.address=i,t.shard=l;let d=p&&i in p;t.accounts=d?p:Pt.accounts,t.publicKey=g})}}),{setAccount:pn,setAddress:ac,setAccountNonce:un,setAccountShard:sc,setLedgerAccount:cc,updateLedgerAccount:lc,setWalletConnectAccount:pc,setIsAccountLoading:uc,setAccountLoadingError:dc,setWebsocketEvent:gc,setWebsocketBatchEvent:mc}=ln.actions,_e=ln.reducer});function Te(){return new Date().setHours(new Date().getHours()+24)}function ye(e){le.local.setItem({key:re.loginExpiresAt,data:e,expires:e})}var Mt=f(()=>{"use strict";n();Re();fe()});var gn,dn,mn,Ac,vc,kc,Ec,Lc,Dc,fn,Nc,Oe,Fe=f(()=>{"use strict";n();gn=require("@reduxjs/toolkit");Mt();j();_();dn={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,operaLogin:null,isLoginSessionInvalid:!1},mn=(0,gn.createSlice)({name:"loginInfoSlice",initialState:dn,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(b,()=>dn),e.addCase(Ce,(t,r)=>{t.loginMethod=r.payload.loginMethod,ye(Te())})}}),{setLoginMethod:Ac,setWalletConnectLogin:vc,setLedgerLogin:kc,setTokenLogin:Ec,setTokenLoginSignature:Lc,setWalletLogin:Dc,invalidateLoginSession:fn,setLogoutRoute:Nc}=mn.actions,Oe=mn.reducer});var yn,Tn,hn,_c,Mc,Oc,Fc,Be,Ue=f(()=>{"use strict";n();yn=require("@reduxjs/toolkit");_();Tn={},hn=(0,yn.createSlice)({name:"modalsSlice",initialState:Tn,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(b,()=>Tn)}}),{setTxSubmittedModal:_c,setNotificationModal:Mc,clearTxSubmittedModal:Oc,clearNotificationModal:Fc}=hn.actions,Be=hn.reducer});var xn=f(()=>{"use strict";n()});var Sn=f(()=>{"use strict";n();xn()});function Ot(e){return e[Math.floor(Math.random()*e.length)]}var wn=f(()=>{"use strict";n()});var In=f(()=>{"use strict";n();At()});var bn=f(()=>{"use strict";n();Sn();wn();In()});var An,vn,Ft,Ai,kn,Jc,el,Ve,$e=f(()=>{"use strict";n();An=require("@reduxjs/toolkit"),vn=S(require("lodash.omit"));bn();Ft={id:"not-configured",chainId:"",name:"NOT CONFIGURED",egldLabel:"",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"",walletConnectBridgeAddress:"",walletConnectV2RelayAddress:"",walletConnectV2ProjectId:"",walletConnectV2Options:{},walletAddress:"",apiAddress:"",explorerAddress:"",apiTimeout:"4000"},Ai={network:Ft,chainID:"-1"},kn=(0,An.createSlice)({name:"appConfig",initialState:Ai,reducers:{initializeNetworkConfig:(e,t)=>{let r=Ot(t.payload.walletConnectBridgeAddresses),o=Ot(t.payload.walletConnectV2RelayAddresses),i=(0,vn.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:Jc,setChainID:el}=kn.actions,Ve=kn.reducer});var En,Bt,Ln,al,sl,cl,Ge,We=f(()=>{"use strict";n();En=require("@reduxjs/toolkit");C();_();Bt={isSigning:!1,signedSessions:{}},Ln=(0,En.createSlice)({name:"signedMessageInfoSliceState",initialState:Bt,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:()=>Bt},extraReducers:e=>{e.addCase(b,()=>Bt)}}),{setSignSession:al,clearSignedMessageInfo:sl,setSignSessionState:cl}=Ln.actions,Ge=Ln.reducer});var Nn,Rn,Dn,Cn,Tl,yl,hl,xl,Sl,wl,He,qe=f(()=>{"use strict";n();Nn=require("@reduxjs/toolkit"),Rn=require("redux-persist");vt();C();Lt();_();Dn={customToasts:[],transactionToasts:[],failTransactionToast:null},Cn=(0,Nn.createSlice)({name:"toastsSlice",initialState:Dn,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:Ne(),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:zr})},removeFailTransactionToast:e=>{e.failTransactionToast=null}},extraReducers:e=>{e.addCase(b,()=>Dn),e.addCase(Rn.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:Tl,removeCustomToast:yl,addTransactionToast:hl,removeTransactionToast:xl,addFailTransactionToast:Sl,removeFailTransactionToast:wl}=Cn.actions,He=Cn.reducer});var Pn,Vt,$t,Gt,vi,Ut,_n,vl,kl,El,je,ze=f(()=>{"use strict";n();Pn=require("@reduxjs/toolkit");_();Vt="Transaction failed",$t="Transaction successful",Gt="Processing transaction",vi="Transaction submitted",Ut={},_n=(0,Pn.createSlice)({name:"transactionsInfo",initialState:Ut,reducers:{setTransactionsDisplayInfo(e,t){let{sessionId:r,transactionsDisplayInfo:o}=t.payload;r!=null&&(e[r]={errorMessage:(o==null?void 0:o.errorMessage)||Vt,successMessage:(o==null?void 0:o.successMessage)||$t,processingMessage:(o==null?void 0:o.processingMessage)||Gt,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:()=>Ut},extraReducers:e=>{e.addCase(b,()=>Ut)}}),{clearTransactionsInfo:vl,setTransactionsDisplayInfo:kl,clearTransactionsInfoForSessionId:El}=_n.actions,je=_n.reducer});function Mn(e){return e!=null&&(_i(e)||Bi(e))}function Ke(e){return e!=null&&(Mi(e)||Ui(e))}function Ye(e){return e!=null&&(Oi(e)||Vi(e))}function On(e){return e!=null&&Fi(e)}function _i(e){return e!=null&&Ei.includes(e)}function Mi(e){return e!=null&&Li.includes(e)}function Oi(e){return e!=null&&Di.includes(e)}function Fi(e){return e!=null&&Ni.includes(e)}function Bi(e){return e!=null&&Ri.includes(e)}function Ui(e){return e!=null&&Ci.includes(e)}function Vi(e){return e!=null&&Pi.includes(e)}var Ei,Li,Di,Ni,Ri,Ci,Pi,Ht=f(()=>{"use strict";n();j();Ei=["sent"],Li=["success"],Di=["fail","cancelled","timedOut"],Ni=["timedOut"],Ri=["pending"],Ci=["success"],Pi=["fail","invalid"]});var Fn,Bn,he,$i,Un,Ol,Fl,Bl,Ul,Vl,$l,Gl,Wl,Hl,ql,Xe,Ze=f(()=>{"use strict";n();Fn=require("@reduxjs/toolkit"),Bn=require("redux-persist");j();Ht();_();he={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},$i={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},Un=(0,Fn.createSlice)({name:"transactionsSlice",initialState:he,reducers:{moveTransactionsToSignedState:(e,t)=>{var d,T;let{sessionId:r,transactions:o,errorMessage:i,status:l,redirectRoute:p}=t.payload,g=((d=e.customTransactionInformationForSessionId)==null?void 0:d[r])||$i;e.signedTransactions[r]={transactions:o,status:l,errorMessage:i,redirectRoute:p,customTransactionInformation:g},((T=e==null?void 0:e.transactionsToSign)==null?void 0:T.sessionId)===r&&(e.transactionsToSign=he.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 g,d,T,h,y,k;let{sessionId:r,status:o,errorMessage:i,transactionHash:l}=t.payload,p=(d=(g=e.signedTransactions)==null?void 0:g[r])==null?void 0:d.transactions;if(p!=null){e.signedTransactions[r].transactions=p.map(G=>G.hash===l?A(x({},G),{status:o,errorMessage:i}):G);let E=(h=(T=e.signedTransactions[r])==null?void 0:T.transactions)==null?void 0:h.every(G=>Ke(G.status)),Y=(k=(y=e.signedTransactions[r])==null?void 0:y.transactions)==null?void 0:k.every(G=>Ye(G.status));E&&(e.signedTransactions[r].status="success"),Y&&(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=he.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=he.signedTransactions},setSignTransactionsError:(e,t)=>{e.signTransactionsError=t.payload},setSignTransactionsCancelMessage:(e,t)=>{e.signTransactionsCancelMessage=t.payload}},extraReducers:e=>{e.addCase(b,()=>he),e.addCase(Bn.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((g,[d,T])=>{let h=new Date(d),y=new Date;return y.setHours(y.getHours()+5),y-h>0||(g[d]=T),g},{});i!=null&&(t.customTransactionInformationForSessionId=i),o!=null&&(t.signedTransactions=l)})}}),{updateSignedTransactionStatus:Ol,updateSignedTransactions:Fl,setTransactionsToSign:Bl,clearAllTransactionsToSign:Ul,clearAllSignedTransactions:Vl,clearSignedTransaction:$l,clearTransactionToSign:Gl,setSignTransactionsError:Wl,setSignTransactionsCancelMessage:Hl,moveTransactionsToSignedState:ql}=Un.actions,Xe=Un.reducer});var Vn,qt,$n,Yl,Xl,Zl,Ql,Qe,Je=f(()=>{"use strict";n();Vn=require("@reduxjs/toolkit");_();qt={},$n=(0,Vn.createSlice)({name:"batchTransactionsSlice",initialState:qt,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:()=>qt},extraReducers:e=>{e.addCase(b,()=>qt)}}),{setBatchTransactions:Yl,updateBatchTransactions:Xl,clearBatchTransactions:Zl,clearAllBatchTransactions:Ql}=$n.actions,Qe=$n.reducer});var Wn,Gn,Hn,rp,qn,jt=f(()=>{"use strict";n();Wn=require("@reduxjs/toolkit");_();Gn={},Hn=(0,Wn.createSlice)({name:"dappConfigSlice",initialState:Gn,reducers:{setDappConfig:(e,t)=>{e=x(x({},e),t.payload)}},extraReducers:e=>{e.addCase(b,()=>Gn)}}),{setDappConfig:rp}=Hn.actions,qn=Hn.reducer});var pe=f(()=>{"use strict";n();Me();Fe();Ue();$e();We();qe();ze();Ze();Je();jt()});var er=f(()=>{"use strict";n()});var to,eo,ro,qu,ju,zu,Ku,Yu,Xu,no,oo=f(()=>{"use strict";n();to=require("@reduxjs/toolkit");_();eo={visible:!1,modal:{showHeader:!0,showFooter:!1,headerText:"",footerText:""}},ro=(0,to.createSlice)({name:"dappModalsSlice",initialState:eo,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(b,()=>eo)}}),{setDappModalVisibility:qu,setDappModalHeaderVisibility:ju,setDappModalFooterVisibility:zu,setDappModalHeaderText:Ku,setDappModalFooterText:Yu,setDappModalConfig:Xu}=ro.actions,no=ro.reducer});var io,zi,Ki,oe,ot=f(()=>{"use strict";n();io=require("@reduxjs/toolkit");er();Me();Je();jt();oo();Fe();Ue();$e();We();qe();ze();Ze();zi={["account"]:_e,["dappModal"]:no,["dappConfig"]:qn,["loginInfo"]:Oe,["modals"]:Be,["networkConfig"]:Ve,["signedMessageInfo"]:Ge,["toasts"]:He,["transactionsInfo"]:je,["transactions"]:Xe,["batchTransactions"]:Qe},Ki=(e={})=>(0,io.combineReducers)(x(x({},zi),e)),oe=Ki});var lo={};Q(lo,{default:()=>pa,sessionStorageReducers:()=>tr});function K(e,t=[]){return{key:e,version:1,storage:so.default,blacklist:t}}var N,ao,so,Yi,Se,Xi,Zi,Qi,Ji,ea,ta,ra,na,oa,ia,co,aa,tr,sa,ca,la,pa,po=f(()=>{"use strict";n();N=require("redux-persist"),ao=S(require("redux-persist/lib/storage")),so=S(require("redux-persist/lib/storage/session"));ot();pe();Me();Je();Fe();Ue();$e();We();qe();ze();Ze();er();Yi={persistReducersStorageType:"localStorage"},Se={["account"]:"sdk-dapp-account",["loginInfo"]:"sdk-dapp-login-info",["modals"]:"sdk-dapp-modals",["networkConfig"]:"sdk-dapp-network-config"},Xi=K(Se["account"]),Zi=K(Se["loginInfo"]),Qi=K(Se["modals"]),Ji=K(Se["networkConfig"]),ea={2:e=>A(x({},e),{networkConfig:Ft})};ta=K("sdk-dapp-transactionsInfo"),ra=K("sdk-dapp-transactions",["transactionsToSign"]),na=K("sdk-dapp-batchTransactions",["batchTransactions"]),oa=K("sdk-dapp-toasts"),ia=K("sdk-dapp-signedMessageInfo"),co={key:"sdk-dapp-store",version:2,storage:ao.default,whitelist:Object.keys(Se),migrate:(0,N.createMigrate)(ea,{debug:!1})},aa=A(x({},co),{whitelist:[]}),tr={["toasts"]:(0,N.persistReducer)(oa,He),["transactions"]:(0,N.persistReducer)(ra,Xe),["transactionsInfo"]:(0,N.persistReducer)(ta,je),["batchTransactions"]:(0,N.persistReducer)(na,Qe),["signedMessageInfo"]:(0,N.persistReducer)(ia,Ge)},sa=A(x({},tr),{["account"]:(0,N.persistReducer)(Xi,_e),["loginInfo"]:(0,N.persistReducer)(Zi,Oe),["modals"]:(0,N.persistReducer)(Qi,Be),["networkConfig"]:(0,N.persistReducer)(Ji,Ve)}),ca=Yi.persistReducersStorageType==="localStorage",la=ca?(0,N.persistReducer)(co,oe(tr)):(0,N.persistReducer)(aa,oe(sa)),pa=la});var uo={};Q(uo,{default:()=>ua});var ua,go=f(()=>{"use strict";n();ot();ua=oe()});var mo={};Q(mo,{default:()=>ga});var P,da,ga,fo=f(()=>{"use strict";n();P=require("redux-persist"),da=[P.FLUSH,P.REHYDRATE,P.PAUSE,P.PERSIST,P.PURGE,P.REGISTER],ga=da});var ho={};Q(ho,{default:()=>yo});function yo(e){return(0,To.persistStore)(e)}var To,xo=f(()=>{"use strict";n();To=require("redux-persist")});var Qa={};Q(Qa,{AxiosInterceptor:()=>Za});module.exports=me(Qa);n();var Z=S(require("react")),pt=S(require("axios"));n();var de=S(require("react"));n();n();pe();n();var jn=S(require("lodash.isequal")),et=require("reselect");C();var m=(0,et.createSelectorCreator)(et.defaultMemoize,jn.default),xe=(e,t)=>e!=""&&Boolean(t);var V=e=>e.account,zt=m(V,e=>e.address),Kt=m(V,zt,(e,t)=>t in e.accounts?e.accounts[t]:Pe),xp=m(V,Kt,(e,t)=>{let i=e,{accounts:r}=i,o=cr(i,["accounts"]);return A(x({},o),{account:t})}),Sp=m(Kt,e=>e.balance),wp=m(Kt,e=>{var t;return((t=e==null?void 0:e.nonce)==null?void 0:t.valueOf())||0}),Ip=m(V,e=>e.shard),bp=m(V,e=>e.ledgerAccount),Ap=m(V,e=>e.walletConnectAccount),vp=m(V,e=>e.isAccountLoading),kp=m(V,e=>e.accountLoadingError),Ep=m(V,e=>e.websocketEvent),Lp=m(V,e=>e.websocketBatchEvent);n();var z=e=>e.loginInfo,Cp=m(z,e=>e.loginMethod),Pp=m(z,zt,(e,t)=>xe(e.loginMethod,t)),_p=m(z,e=>e.walletConnectLogin),Mp=m(z,e=>e.ledgerLogin),Op=m(z,e=>e.walletLogin),Fp=m(z,e=>e.isLoginSessionInvalid),Bp=m(z,e=>e.tokenLogin),Up=m(z,e=>e.logoutRoute);n();var zn=e=>e.modals,Gp=m(zn,e=>e.txSubmittedModal),Wp=m(zn,e=>e.notificationModal);n();var ne=e=>e.networkConfig,jp=m(ne,e=>e.chainID),zp=m(ne,e=>e.network.walletConnectBridgeAddress),Kp=m(ne,e=>e.network.walletConnectV2RelayAddress),Yp=m(ne,e=>e.network.walletConnectV2ProjectId),Xp=m(ne,e=>e.network.walletConnectV2Options),Zp=m(ne,e=>e.network.walletConnectDeepLink),Yt=m(ne,e=>e.network),Qp=m(Yt,e=>e.apiAddress),Kn=m(Yt,e=>e.explorerAddress),Jp=m(Yt,e=>e.egldLabel);n();var tt=e=>e.signedMessageInfo,ru=m(tt,e=>e.isSigning),nu=m(tt,e=>e.errorMessage),ou=m(tt,e=>{let t=Object.keys(e.signedSessions),r=t.length;return e.signedSessions[t[r-1]]}),iu=m(tt,e=>{let t=Object.keys(e.signedSessions),r=t.length;return t.length>0?t[r-1]:""});n();var Xt=e=>e.toasts,cu=m(Xt,e=>e.customToasts),lu=m(Xt,e=>e.transactionToasts),pu=m(Xt,e=>e.failTransactionToast);n();pe();var Yn={errorMessage:Vt,successMessage:$t,processingMessage:Gt},Gi=e=>e.transactionsInfo,mu=m(Gi,(e,t)=>t,(e,t)=>t!=null&&(e==null?void 0:e[Number(t)])||Yn);n();n();var $=require("@multiversx/sdk-core"),Zn=require("@multiversx/sdk-core/out/signature");I();n();var Qt=require("@multiversx/sdk-core/out");n();n();function Zt(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 Xn=e=>{let t=e!=null?e:"";return Zt(t)?Qt.TransactionPayload.fromEncoded(t):new Qt.TransactionPayload(t)};function Jt(e){var r,o,i;let t=new $.Transaction(x(x({value:e.value.valueOf(),data:Xn(e.data),nonce:e.nonce.valueOf(),receiver:new $.Address(e.receiver),sender:new $.Address(e.sender),gasLimit:(r=e.gasLimit.valueOf())!=null?r:kt,gasPrice:(o=e.gasPrice.valueOf())!=null?o:Et,chainID:e.chainID.valueOf(),version:new $.TransactionVersion((i=e.version)!=null?i:Xr)},e.options?{options:new $.TransactionOptions(e.options)}:{}),e.guardian?{guardian:new $.Address(e.guardian)}:{}));return e.guardianSignature&&t.applyGuardianSignature({hex:()=>e.guardianSignature||""}),t.applySignature(new Zn.Signature(e.signature)),t}n();n();n();n();var rr=require("@reduxjs/toolkit"),bo=require("react-redux/lib/utils/Subscription");pe();n();var Qn=S(require("lodash.throttle"));I();pe();Mt();Re();fe();var Hi=[De],rt=!1,qi=(0,Qn.default)(()=>{ye(Te())},5e3),Jn=e=>t=>r=>{var d;if(Hi.includes(r.type))return t(r);let o=e.getState(),i=le.local.getItem(re.loginExpiresAt);if(!xe((d=o==null?void 0:o.loginInfo)==null?void 0:d.loginMethod,o==null?void 0:o.account.address))return t(r);if(i==null)return ye(Te());let p=Date.now();return i-p<0&&!rt?setTimeout(()=>{rt=!0,e.dispatch(fn())},1e3):(rt&&(rt=!1),qi()),t(r)};n();n();function nt(){return typeof sessionStorage!="undefined"}var So=nt()?(po(),me(lo)).default:(go(),me(uo)).default,wo=nt()?(fo(),me(mo)).default:[],Io=nt()?(xo(),me(ho)).default:e=>e;ot();var ue=(0,rr.configureStore)({reducer:So,middleware:e=>e({serializableCheck:{ignoredActions:[...wo,un.type,pn.type],ignoredPaths:["payload.nonce","account.account.nonce","providers.accountProvider"]}}).concat(Jn)}),Nd=(0,bo.createSubscription)(ue),Rd=Io(ue),Cd=(0,rr.configureStore)({reducer:oe});n();n();var fa=require("@multiversx/sdk-core/out");n();I();n();var vo=require("@multiversx/sdk-core");C();n();var Ta=require("@multiversx/sdk-core");n();n();n();var ya=require("@multiversx/sdk-core"),ha=S(require("bignumber.js"));j();n();n();n();n();n();n();n();D();n();n();D();n();n();n();var Aa=S(require("bignumber.js"));I();n();var ba=require("@multiversx/sdk-core"),nr=S(require("bignumber.js"));I();n();var wa=S(require("bignumber.js"));n();nr.default.config({ROUNDING_MODE:nr.default.ROUND_FLOOR});n();n();n();I();n();n();n();n();I();n();I();n();var va=require("@multiversx/sdk-core");I();n();var we=require("@multiversx/sdk-core"),Ea=require("@multiversx/sdk-network-providers");I();n();n();var ka=S(require("bignumber.js"));I();n();I();n();n();n();n();n();I();n();D();var Da=["reDelegateRewards","claimRewards","unBond"],Na=["wrapEgld","unwrapEgld"],Ra=["unStake"],Ca=["unDelegate"];n();n();n();I();n();var Ma=S(require("bignumber.js"));n();n();D();n();var Oa=S(require("bignumber.js"));n();n();n();var Ba=S(require("bignumber.js"));C();n();n();n();n();j();n();var $a=require("@multiversx/sdk-web-wallet-provider");I();n();var Va=S(require("qs"));n();n();var ir=()=>typeof window!="undefined";n();var DT={search:ir()?window.location.search:"",removeParams:[]};n();n();n();n();D();n();n();n();var Ga=S(require("linkifyjs"));n();I();n();var Wa=S(require("bignumber.js"));n();C();n();n();j();n();j();n();n();n();D();n();D();n();var Ha=S(require("bignumber.js"));I();D();n();D();n();var Co=require("react");C();n();n();D();n();n();var qa=require("@multiversx/sdk-core/out"),ja=S(require("bignumber.js"));D();n();C();n();n();C();var wh=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}];n();var Po=require("react");C();n();var Ka=require("react");D();var Lh=["create","localMint","ESDTLocalMint","addQuantity","burn","localBurn","ESDTLocalBurn","wipe","writeLog","signalError"];Ht();var ct=e=>e.transactions,Ie=m(ct,e=>e.signedTransactions),gx=m(ct,e=>e.signTransactionsError),mx=m(ct,e=>e.signTransactionsCancelMessage),lt=e=>t=>Object.entries(t).reduce((r,[o,i])=>(e(i.status)&&(r[o]=i),r),{}),fx=m(Ie,lt(Mn)),Tx=m(Ie,lt(Ke)),yx=m(Ie,lt(Ye)),hx=m(Ie,lt(On)),xx=m(ct,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=>Jt(r)))||[]})}),Sx=m(Ie,(e,t)=>t,(e,t)=>t!=null?(e==null?void 0:e[t])||{}:{});n();var Ya=e=>e.dappConfig,bx=m(Ya,e=>e.shouldUseWebViewProvider);var Xa=(0,de.createContext)({}),Gx=ue.getState();function _o(){let e=(0,de.useContext)(Xa);if(e===void 0||Object.values(e).length===0)throw new Error("useAxiosInterceptorContext must be used within an AxiosInterceptorContextProvider");return e}var Za=({children:e,authenticatedDomanis:t})=>{var g;let{loginInfo:r}=_o(),o=(g=r==null?void 0:r.tokenLogin)==null?void 0:g.nativeAuthToken,i=(0,Z.useRef)(-1),l=()=>{pt.default.interceptors.response.use(d=>d,d=>{var h,y;let T=(h=d.config)==null?void 0:h.url;return(y=d.config)!=null&&y.params&&(T+=`?${new URLSearchParams(d.config.params).toString()}`),console.error("Axios error for: ",T),Promise.reject(d)})},p=()=>{pt.default.interceptors.request.eject(i.current),i.current=pt.default.interceptors.request.use(d=>pr(void 0,null,function*(){return t.includes(String(d==null?void 0:d.baseURL))&&(d.headers={Authorization:`Bearer ${o}`}),d}),d=>{Promise.reject(d)})};return(0,Z.useEffect)(l,[]),(0,Z.useEffect)(()=>{o&&p()},[o]),Z.default.createElement(Z.default.Fragment,null,e)};0&&(module.exports={AxiosInterceptor});
|
|
1
|
+
"use strict";var Mo=Object.create;var ge=Object.defineProperty,Oo=Object.defineProperties,Fo=Object.getOwnPropertyDescriptor,Bo=Object.getOwnPropertyDescriptors,Uo=Object.getOwnPropertyNames,Ie=Object.getOwnPropertySymbols,Vo=Object.getPrototypeOf,ut=Object.prototype.hasOwnProperty,sr=Object.prototype.propertyIsEnumerable;var ar=(e,t,r)=>t in e?ge(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,x=(e,t)=>{for(var r in t||(t={}))ut.call(t,r)&&ar(e,r,t[r]);if(Ie)for(var r of Ie(t))sr.call(t,r)&&ar(e,r,t[r]);return e},A=(e,t)=>Oo(e,Bo(t));var cr=(e,t)=>{var r={};for(var o in e)ut.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(e!=null&&Ie)for(var o of Ie(e))t.indexOf(o)<0&&sr.call(e,o)&&(r[o]=e[o]);return r};var f=(e,t)=>()=>(e&&(t=e(e=0)),t);var Ae=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Q=(e,t)=>{for(var r in t)ge(e,r,{get:t[r],enumerable:!0})},lr=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Uo(t))!ut.call(e,i)&&i!==r&&ge(e,i,{get:()=>t[i],enumerable:!(o=Fo(t,i))||o.enumerable});return e};var S=(e,t,r)=>(r=e!=null?Mo(Vo(e)):{},lr(t||!e||!e.__esModule?ge(r,"default",{value:e,enumerable:!0}):r,e)),me=e=>lr(ge({},"__esModule",{value:!0}),e);var pr=(e,t,r)=>new Promise((o,i)=>{var l=d=>{try{g(r.next(d))}catch(T){i(T)}},p=d=>{try{g(r.throw(d))}catch(T){i(T)}},g=d=>d.done?o(d.value):Promise.resolve(d.value).then(l,p);g((r=r.apply(e,t)).next())});var gr=Ae(ve=>{"use strict";n();ve.byteLength=Go;ve.toByteArray=Ho;ve.fromByteArray=zo;var M=[],R=[],$o=typeof Uint8Array!="undefined"?Uint8Array:Array,dt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(J=0,ur=dt.length;J<ur;++J)M[J]=dt[J],R[dt.charCodeAt(J)]=J;var J,ur;R["-".charCodeAt(0)]=62;R["_".charCodeAt(0)]=63;function dr(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 Go(e){var t=dr(e),r=t[0],o=t[1];return(r+o)*3/4-o}function Wo(e,t,r){return(t+r)*3/4-r}function Ho(e){var t,r=dr(e),o=r[0],i=r[1],l=new $o(Wo(e,o,i)),p=0,g=i>0?o-4:o,d;for(d=0;d<g;d+=4)t=R[e.charCodeAt(d)]<<18|R[e.charCodeAt(d+1)]<<12|R[e.charCodeAt(d+2)]<<6|R[e.charCodeAt(d+3)],l[p++]=t>>16&255,l[p++]=t>>8&255,l[p++]=t&255;return i===2&&(t=R[e.charCodeAt(d)]<<2|R[e.charCodeAt(d+1)]>>4,l[p++]=t&255),i===1&&(t=R[e.charCodeAt(d)]<<10|R[e.charCodeAt(d+1)]<<4|R[e.charCodeAt(d+2)]>>2,l[p++]=t>>8&255,l[p++]=t&255),l}function qo(e){return M[e>>18&63]+M[e>>12&63]+M[e>>6&63]+M[e&63]}function jo(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(qo(o));return i.join("")}function zo(e){for(var t,r=e.length,o=r%3,i=[],l=16383,p=0,g=r-o;p<g;p+=l)i.push(jo(e,p,p+l>g?g:p+l));return o===1?(t=e[r-1],i.push(M[t>>2]+M[t<<4&63]+"==")):o===2&&(t=(e[r-2]<<8)+e[r-1],i.push(M[t>>10]+M[t>>4&63]+M[t<<2&63]+"=")),i.join("")}});var mr=Ae(gt=>{n();gt.read=function(e,t,r,o,i){var l,p,g=i*8-o-1,d=(1<<g)-1,T=d>>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+=g;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===d)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)};gt.write=function(e,t,r,o,i,l){var p,g,d,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,Y=o?1:-1,G=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(g=isNaN(t)?1:0,p=h):(p=Math.floor(Math.log(t)/Math.LN2),t*(d=Math.pow(2,-p))<1&&(p--,d*=2),p+y>=1?t+=k/d:t+=k*Math.pow(2,1-y),t*d>=2&&(p++,d/=2),p+y>=h?(g=0,p=h):p+y>=1?(g=(t*d-1)*Math.pow(2,i),p=p+y):(g=t*Math.pow(2,y-1)*Math.pow(2,i),p=0));i>=8;e[r+E]=g&255,E+=Y,g/=256,i-=8);for(p=p<<i|g,T+=i;T>0;e[r+E]=p&255,E+=Y,p/=256,T-=8);e[r+E-Y]|=G*128}});var Er=Ae(ae=>{"use strict";n();var mt=gr(),ie=mr(),fr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;ae.Buffer=u;ae.SlowBuffer=Jo;ae.INSPECT_MAX_BYTES=50;var ke=2147483647;ae.kMaxLength=ke;u.TYPED_ARRAY_SUPPORT=Ko();!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 Ko(){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 W(e){if(e>ke)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 ht(e)}return hr(e,t,r)}u.poolSize=8192;function hr(e,t,r){if(typeof e=="string")return Xo(e,t);if(ArrayBuffer.isView(e))return Zo(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(O(e,ArrayBuffer)||e&&O(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(O(e,SharedArrayBuffer)||e&&O(e.buffer,SharedArrayBuffer)))return Tt(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=Qo(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 hr(e,t,r)};Object.setPrototypeOf(u.prototype,Uint8Array.prototype);Object.setPrototypeOf(u,Uint8Array);function xr(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 Yo(e,t,r){return xr(e),e<=0?W(e):t!==void 0?typeof r=="string"?W(e).fill(t,r):W(e).fill(t):W(e)}u.alloc=function(e,t,r){return Yo(e,t,r)};function ht(e){return xr(e),W(e<0?0:xt(e)|0)}u.allocUnsafe=function(e){return ht(e)};u.allocUnsafeSlow=function(e){return ht(e)};function Xo(e,t){if((typeof t!="string"||t==="")&&(t="utf8"),!u.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=Sr(e,t)|0,o=W(r),i=o.write(e,t);return i!==r&&(o=o.slice(0,i)),o}function ft(e){for(var t=e.length<0?0:xt(e.length)|0,r=W(t),o=0;o<t;o+=1)r[o]=e[o]&255;return r}function Zo(e){if(O(e,Uint8Array)){var t=new Uint8Array(e);return Tt(t.buffer,t.byteOffset,t.byteLength)}return ft(e)}function Tt(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 Qo(e){if(u.isBuffer(e)){var t=xt(e.length)|0,r=W(t);return r.length===0||e.copy(r,0,0,t),r}if(e.length!==void 0)return typeof e.length!="number"||St(e.length)?W(0):ft(e);if(e.type==="Buffer"&&Array.isArray(e.data))return ft(e.data)}function xt(e){if(e>=ke)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ke.toString(16)+" bytes");return e|0}function Jo(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(O(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),O(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(O(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 Sr(e,t){if(u.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||O(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 yt(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return kr(e).length;default:if(i)return o?-1:yt(e).length;t=(""+t).toLowerCase(),i=!0}}u.byteLength=Sr;function ei(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 pi(this,t,r);case"utf8":case"utf-8":return br(this,t,r);case"ascii":return ci(this,t,r);case"latin1":case"binary":return li(this,t,r);case"base64":return ai(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ui(this,t,r);default:if(o)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),o=!0}}u.prototype._isBuffer=!0;function ee(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)ee(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)ee(this,r,r+3),ee(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)ee(this,r,r+7),ee(this,r+1,r+6),ee(this,r+2,r+5),ee(this,r+3,r+4);return this};u.prototype.toString=function(){var t=this.length;return t===0?"":arguments.length===0?br(this,0,t):ei.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=ae.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"};fr&&(u.prototype[fr]=u.prototype.inspect);u.prototype.compare=function(t,r,o,i,l){if(O(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,g=o-r,d=Math.min(p,g),T=this.slice(i,l),h=t.slice(r,o),y=0;y<d;++y)if(T[y]!==h[y]){p=T[y],g=h[y];break}return p<g?-1:g<p?1:0};function wr(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,St(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:Tr(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):Tr(e,[t],r,o,i);throw new TypeError("val must be string, number or Buffer")}function Tr(e,t,r,o,i){var l=1,p=e.length,g=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,g/=2,r/=2}function d(E,Y){return l===1?E[Y]:E.readUInt16BE(Y*l)}var T;if(i){var h=-1;for(T=r;T<p;T++)if(d(e,T)===d(t,h===-1?0:T-h)){if(h===-1&&(h=T),T-h+1===g)return h*l}else h!==-1&&(T-=T-h),h=-1}else for(r+g>p&&(r=p-g),T=r;T>=0;T--){for(var y=!0,k=0;k<g;k++)if(d(e,T+k)!==d(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 wr(this,t,r,o,!0)};u.prototype.lastIndexOf=function(t,r,o){return wr(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 g=parseInt(t.substr(p*2,2),16);if(St(g))return p;e[r+p]=g}return p}function ri(e,t,r,o){return Ee(yt(t,e.length-r),e,r,o)}function ni(e,t,r,o){return Ee(mi(t),e,r,o)}function oi(e,t,r,o){return Ee(kr(t),e,r,o)}function ii(e,t,r,o){return Ee(fi(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 ri(this,t,r,o);case"ascii":case"latin1":case"binary":return ni(this,t,r,o);case"base64":return oi(this,t,r,o);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ii(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 ai(e,t,r){return t===0&&r===e.length?mt.fromByteArray(e):mt.fromByteArray(e.slice(t,r))}function br(e,t,r){r=Math.min(e.length,r);for(var o=[],i=t;i<r;){var l=e[i],p=null,g=l>239?4:l>223?3:l>191?2:1;if(i+g<=r){var d,T,h,y;switch(g){case 1:l<128&&(p=l);break;case 2:d=e[i+1],(d&192)===128&&(y=(l&31)<<6|d&63,y>127&&(p=y));break;case 3:d=e[i+1],T=e[i+2],(d&192)===128&&(T&192)===128&&(y=(l&15)<<12|(d&63)<<6|T&63,y>2047&&(y<55296||y>57343)&&(p=y));break;case 4:d=e[i+1],T=e[i+2],h=e[i+3],(d&192)===128&&(T&192)===128&&(h&192)===128&&(y=(l&15)<<18|(d&63)<<12|(T&63)<<6|h&63,y>65535&&y<1114112&&(p=y))}}p===null?(p=65533,g=1):p>65535&&(p-=65536,o.push(p>>>10&1023|55296),p=56320|p&1023),o.push(p),i+=g}return si(o)}var yr=4096;function si(e){var t=e.length;if(t<=yr)return String.fromCharCode.apply(String,e);for(var r="",o=0;o<t;)r+=String.fromCharCode.apply(String,e.slice(o,o+=yr));return r}function ci(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 li(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 pi(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+=Ti[e[l]];return i}function ui(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),ie.read(this,t,!0,23,4)};u.prototype.readFloatBE=function(t,r){return t=t>>>0,r||v(t,4,this.length),ie.read(this,t,!1,23,4)};u.prototype.readDoubleLE=function(t,r){return t=t>>>0,r||v(t,8,this.length),ie.read(this,t,!0,52,8)};u.prototype.readDoubleBE=function(t,r){return t=t>>>0,r||v(t,8,this.length),ie.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,g=0;for(this[r]=t&255;++g<o&&(p*=256);)this[r+g]=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,g=1;for(this[r+p]=t&255;--p>=0&&(g*=256);)this[r+p]=t/g&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,g=1,d=0;for(this[r]=t&255;++p<o&&(g*=256);)t<0&&d===0&&this[r+p-1]!==0&&(d=1),this[r+p]=(t/g>>0)-d&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,g=1,d=0;for(this[r+p]=t&255;--p>=0&&(g*=256);)t<0&&d===0&&this[r+p+1]!==0&&(d=1),this[r+p]=(t/g>>0)-d&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 Ir(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 Ar(e,t,r,o,i){return t=+t,r=r>>>0,i||Ir(e,t,r,4,34028234663852886e22,-34028234663852886e22),ie.write(e,t,r,o,23,4),r+4}u.prototype.writeFloatLE=function(t,r,o){return Ar(this,t,r,!0,o)};u.prototype.writeFloatBE=function(t,r,o){return Ar(this,t,r,!1,o)};function vr(e,t,r,o,i){return t=+t,r=r>>>0,i||Ir(e,t,r,8,17976931348623157e292,-17976931348623157e292),ie.write(e,t,r,o,52,8),r+8}u.prototype.writeDoubleLE=function(t,r,o){return vr(this,t,r,!0,o)};u.prototype.writeDoubleBE=function(t,r,o){return vr(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 g=u.isBuffer(t)?t:u.from(t,i),d=g.length;if(d===0)throw new TypeError('The value "'+t+'" is invalid for argument "value"');for(p=0;p<o-r;++p)this[p+r]=g[p%d]}return this};var di=/[^+/0-9A-Za-z-_]/g;function gi(e){if(e=e.split("=")[0],e=e.trim().replace(di,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function yt(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 mi(e){for(var t=[],r=0;r<e.length;++r)t.push(e.charCodeAt(r)&255);return t}function fi(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 kr(e){return mt.toByteArray(gi(e))}function Ee(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 O(e,t){return e instanceof t||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===t.name}function St(e){return e!==e}var Ti=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 Cr=Ae((ns,Rr)=>{n();var w=Rr.exports={},F,B;function wt(){throw new Error("setTimeout has not been defined")}function bt(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?F=setTimeout:F=wt}catch(e){F=wt}try{typeof clearTimeout=="function"?B=clearTimeout:B=bt}catch(e){B=bt}})();function Lr(e){if(F===setTimeout)return setTimeout(e,0);if((F===wt||!F)&&setTimeout)return F=setTimeout,setTimeout(e,0);try{return F(e,0)}catch(t){try{return F.call(null,e,0)}catch(r){return F.call(this,e,0)}}}function yi(e){if(B===clearTimeout)return clearTimeout(e);if((B===bt||!B)&&clearTimeout)return B=clearTimeout,clearTimeout(e);try{return B(e)}catch(t){try{return B.call(null,e)}catch(r){return B.call(this,e)}}}var H=[],se=!1,te,Le=-1;function hi(){!se||!te||(se=!1,te.length?H=te.concat(H):Le=-1,H.length&&Dr())}function Dr(){if(!se){var e=Lr(hi);se=!0;for(var t=H.length;t;){for(te=H,H=[];++Le<t;)te&&te[Le].run();Le=-1,t=H.length}te=null,se=!1,yi(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];H.push(new Nr(e,t)),H.length===1&&!se&&Lr(Dr)};function Nr(e,t){this.fun=e,this.array=t}Nr.prototype.run=function(){this.fun.apply(null,this.array)};w.title="browser";w.browser=!0;w.env={};w.argv=[];w.version="";w.versions={};function q(){}w.on=q;w.addListener=q;w.once=q;w.off=q;w.removeListener=q;w.removeAllListeners=q;w.emit=q;w.prependListener=q;w.prependOnceListener=q;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,os,n=f(()=>{a=S(Er()),s=S(Cr()),os=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 Pr=f(()=>{"use strict";n()});var _r=f(()=>{"use strict";n()});var Mr=f(()=>{"use strict";n()});var Or=f(()=>{"use strict";n()});var j=f(()=>{"use strict";n()});var Fr=f(()=>{"use strict";n()});var Br=f(()=>{"use strict";n()});var D=f(()=>{"use strict";n()});var Ur=f(()=>{"use strict";n()});var Vr=f(()=>{"use strict";n()});var $r=f(()=>{"use strict";n()});var C=f(()=>{"use strict";n();_r();Mr();Or();j();Fr();Br();D();Ur();Vr();$r()});var It,Gr,As,Wr,vs,Hr,ks,Es,Ls,qr=f(()=>{"use strict";n();C();It={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:Gr,egldLabel:As}=It["devnet"],{chainId:Wr,egldLabel:vs}=It["testnet"],{chainId:Hr,egldLabel:ks}=It["mainnet"],Es={["devnet"]:Gr,["testnet"]:Wr,["mainnet"]:Hr},Ls={[Gr]:"devnet",[Wr]:"testnet",[Hr]:"mainnet"}});var At=f(()=>{"use strict";n()});var jr=f(()=>{"use strict";n()});var zr,vt=f(()=>{"use strict";n();zr="transaction-status-toast-id"});var U,Kr=f(()=>{"use strict";n();U=require("@multiversx/sdk-web-wallet-provider")});var Yr=f(()=>{"use strict";n()});var kt,Et,Xr,De,Zr,ce,b=f(()=>{"use strict";n();Pr();qr();At();jr();vt();Kr();Yr();kt=5e4,Et=1e9,Xr=1,De="logout",Zr="login",ce="0"});var Ne,Lt=f(()=>{"use strict";n();Ne=()=>Date.now()/1e3});var Qr=f(()=>{"use strict";n()});var Jr=f(()=>{"use strict";n()});var en=f(()=>{"use strict";n();Lt();Qr();Jr()});var Nt={};Q(Nt,{getItem:()=>Si,localStorageKeys:()=>re,removeItem:()=>wi,setItem:()=>xi});var re,Dt,xi,Si,wi,fe=f(()=>{"use strict";n();en();re={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event"},Dt=typeof localStorage!="undefined",xi=({key:e,data:t,expires:r})=>{!Dt||localStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},Si=e=>{if(!Dt)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:Ne()>=r.expires?(localStorage.removeItem(String(e)),null):r.data},wi=e=>{!Dt||localStorage.removeItem(String(e))}});var Rt={};Q(Rt,{clear:()=>on,getItem:()=>rn,removeItem:()=>nn,setItem:()=>tn,storage:()=>bi});var tn,rn,nn,on,bi,an=f(()=>{"use strict";n();tn=({key:e,data:t,expires:r})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},rn=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},nn=e=>sessionStorage.removeItem(String(e)),on=()=>sessionStorage.clear(),bi={setItem:tn,getItem:rn,removeItem:nn,clear:on}});var le,Re=f(()=>{"use strict";n();fe();an();le={session:Rt,local:Nt}});var Ct,I,Ce,_=f(()=>{"use strict";n();Ct=require("@reduxjs/toolkit");b();I=(0,Ct.createAction)(De),Ce=(0,Ct.createAction)(Zr,e=>({payload:e}))});var _t,sn,cn,Pe,Pt,ln,pn,ac,un,sc,cc,lc,pc,uc,dc,gc,mc,_e,Me=f(()=>{"use strict";n();_t=require("@multiversx/sdk-core"),sn=require("@reduxjs/toolkit"),cn=require("redux-persist");b();Re();fe();_();Pe={balance:"...",address:"",isGuarded:!1,nonce:0,txCount:0,scrCount:0,claimableRewards:ce},Pt={address:"",websocketEvent:null,websocketBatchEvent:null,accounts:{"":Pe},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},ln=(0,sn.createSlice)({name:"accountInfoSlice",initialState:Pt,reducers:{setAddress:(e,t)=>{let r=t.payload;e.address=r,e.publicKey=new _t.Address(r).hex()},setAccount:(e,t)=>{let r=e.address===t.payload.address;e.accounts={[e.address]:r?t.payload:Pe},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,()=>(le.local.removeItem(re.loginExpiresAt),Pt)),e.addCase(Ce,(t,r)=>{let{address:o}=r.payload;t.address=o,t.publicKey=new _t.Address(o).hex()}),e.addCase(cn.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:g}=o;t.address=i,t.shard=l;let d=p&&i in p;t.accounts=d?p:Pt.accounts,t.publicKey=g})}}),{setAccount:pn,setAddress:ac,setAccountNonce:un,setAccountShard:sc,setLedgerAccount:cc,updateLedgerAccount:lc,setWalletConnectAccount:pc,setIsAccountLoading:uc,setAccountLoadingError:dc,setWebsocketEvent:gc,setWebsocketBatchEvent:mc}=ln.actions,_e=ln.reducer});function Te(){return new Date().setHours(new Date().getHours()+24)}function ye(e){le.local.setItem({key:re.loginExpiresAt,data:e,expires:e})}var Mt=f(()=>{"use strict";n();Re();fe()});var gn,dn,mn,Ac,vc,kc,Ec,Lc,Dc,fn,Nc,Oe,Fe=f(()=>{"use strict";n();gn=require("@reduxjs/toolkit");Mt();j();_();dn={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,operaLogin:null,isLoginSessionInvalid:!1},mn=(0,gn.createSlice)({name:"loginInfoSlice",initialState:dn,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,()=>dn),e.addCase(Ce,(t,r)=>{t.loginMethod=r.payload.loginMethod,ye(Te())})}}),{setLoginMethod:Ac,setWalletConnectLogin:vc,setLedgerLogin:kc,setTokenLogin:Ec,setTokenLoginSignature:Lc,setWalletLogin:Dc,invalidateLoginSession:fn,setLogoutRoute:Nc}=mn.actions,Oe=mn.reducer});var yn,Tn,hn,_c,Mc,Oc,Fc,Be,Ue=f(()=>{"use strict";n();yn=require("@reduxjs/toolkit");_();Tn={},hn=(0,yn.createSlice)({name:"modalsSlice",initialState:Tn,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,()=>Tn)}}),{setTxSubmittedModal:_c,setNotificationModal:Mc,clearTxSubmittedModal:Oc,clearNotificationModal:Fc}=hn.actions,Be=hn.reducer});var xn=f(()=>{"use strict";n()});var Sn=f(()=>{"use strict";n();xn()});function Ot(e){return e[Math.floor(Math.random()*e.length)]}var wn=f(()=>{"use strict";n()});var bn=f(()=>{"use strict";n();At()});var In=f(()=>{"use strict";n();Sn();wn();bn()});var An,vn,Ft,Ai,kn,Jc,el,Ve,$e=f(()=>{"use strict";n();An=require("@reduxjs/toolkit"),vn=S(require("lodash.omit"));In();Ft={id:"not-configured",chainId:"",name:"NOT CONFIGURED",egldLabel:"",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"",walletConnectBridgeAddress:"",walletConnectV2RelayAddress:"",walletConnectV2ProjectId:"",walletConnectV2Options:{},walletAddress:"",apiAddress:"",explorerAddress:"",apiTimeout:"4000"},Ai={network:Ft,chainID:"-1"},kn=(0,An.createSlice)({name:"appConfig",initialState:Ai,reducers:{initializeNetworkConfig:(e,t)=>{let r=Ot(t.payload.walletConnectBridgeAddresses),o=Ot(t.payload.walletConnectV2RelayAddresses),i=(0,vn.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:Jc,setChainID:el}=kn.actions,Ve=kn.reducer});var En,Bt,Ln,al,sl,cl,Ge,We=f(()=>{"use strict";n();En=require("@reduxjs/toolkit");C();_();Bt={isSigning:!1,signedSessions:{}},Ln=(0,En.createSlice)({name:"signedMessageInfoSliceState",initialState:Bt,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:()=>Bt},extraReducers:e=>{e.addCase(I,()=>Bt)}}),{setSignSession:al,clearSignedMessageInfo:sl,setSignSessionState:cl}=Ln.actions,Ge=Ln.reducer});var Nn,Rn,Dn,Cn,Tl,yl,hl,xl,Sl,wl,He,qe=f(()=>{"use strict";n();Nn=require("@reduxjs/toolkit"),Rn=require("redux-persist");vt();C();Lt();_();Dn={customToasts:[],transactionToasts:[],failTransactionToast:null},Cn=(0,Nn.createSlice)({name:"toastsSlice",initialState:Dn,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:Ne(),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:zr})},removeFailTransactionToast:e=>{e.failTransactionToast=null}},extraReducers:e=>{e.addCase(I,()=>Dn),e.addCase(Rn.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:Tl,removeCustomToast:yl,addTransactionToast:hl,removeTransactionToast:xl,addFailTransactionToast:Sl,removeFailTransactionToast:wl}=Cn.actions,He=Cn.reducer});var Pn,Vt,$t,Gt,vi,Ut,_n,vl,kl,El,je,ze=f(()=>{"use strict";n();Pn=require("@reduxjs/toolkit");_();Vt="Transaction failed",$t="Transaction successful",Gt="Processing transaction",vi="Transaction submitted",Ut={},_n=(0,Pn.createSlice)({name:"transactionsInfo",initialState:Ut,reducers:{setTransactionsDisplayInfo(e,t){let{sessionId:r,transactionsDisplayInfo:o}=t.payload;r!=null&&(e[r]={errorMessage:(o==null?void 0:o.errorMessage)||Vt,successMessage:(o==null?void 0:o.successMessage)||$t,processingMessage:(o==null?void 0:o.processingMessage)||Gt,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:()=>Ut},extraReducers:e=>{e.addCase(I,()=>Ut)}}),{clearTransactionsInfo:vl,setTransactionsDisplayInfo:kl,clearTransactionsInfoForSessionId:El}=_n.actions,je=_n.reducer});function Mn(e){return e!=null&&(_i(e)||Bi(e))}function Ke(e){return e!=null&&(Mi(e)||Ui(e))}function Ye(e){return e!=null&&(Oi(e)||Vi(e))}function On(e){return e!=null&&Fi(e)}function _i(e){return e!=null&&Ei.includes(e)}function Mi(e){return e!=null&&Li.includes(e)}function Oi(e){return e!=null&&Di.includes(e)}function Fi(e){return e!=null&&Ni.includes(e)}function Bi(e){return e!=null&&Ri.includes(e)}function Ui(e){return e!=null&&Ci.includes(e)}function Vi(e){return e!=null&&Pi.includes(e)}var Ei,Li,Di,Ni,Ri,Ci,Pi,Ht=f(()=>{"use strict";n();j();Ei=["sent"],Li=["success"],Di=["fail","cancelled","timedOut"],Ni=["timedOut"],Ri=["pending"],Ci=["success"],Pi=["fail","invalid"]});var Fn,Bn,he,$i,Un,Ol,Fl,Bl,Ul,Vl,$l,Gl,Wl,Hl,ql,Xe,Ze=f(()=>{"use strict";n();Fn=require("@reduxjs/toolkit"),Bn=require("redux-persist");j();Ht();_();he={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},$i={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},Un=(0,Fn.createSlice)({name:"transactionsSlice",initialState:he,reducers:{moveTransactionsToSignedState:(e,t)=>{var d,T;let{sessionId:r,transactions:o,errorMessage:i,status:l,redirectRoute:p}=t.payload,g=((d=e.customTransactionInformationForSessionId)==null?void 0:d[r])||$i;e.signedTransactions[r]={transactions:o,status:l,errorMessage:i,redirectRoute:p,customTransactionInformation:g},((T=e==null?void 0:e.transactionsToSign)==null?void 0:T.sessionId)===r&&(e.transactionsToSign=he.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 g,d,T,h,y,k;let{sessionId:r,status:o,errorMessage:i,transactionHash:l}=t.payload,p=(d=(g=e.signedTransactions)==null?void 0:g[r])==null?void 0:d.transactions;if(p!=null){e.signedTransactions[r].transactions=p.map(G=>G.hash===l?A(x({},G),{status:o,errorMessage:i}):G);let E=(h=(T=e.signedTransactions[r])==null?void 0:T.transactions)==null?void 0:h.every(G=>Ke(G.status)),Y=(k=(y=e.signedTransactions[r])==null?void 0:y.transactions)==null?void 0:k.every(G=>Ye(G.status));E&&(e.signedTransactions[r].status="success"),Y&&(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=he.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=he.signedTransactions},setSignTransactionsError:(e,t)=>{e.signTransactionsError=t.payload},setSignTransactionsCancelMessage:(e,t)=>{e.signTransactionsCancelMessage=t.payload}},extraReducers:e=>{e.addCase(I,()=>he),e.addCase(Bn.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((g,[d,T])=>{let h=new Date(d),y=new Date;return y.setHours(y.getHours()+5),y-h>0||(g[d]=T),g},{});i!=null&&(t.customTransactionInformationForSessionId=i),o!=null&&(t.signedTransactions=l)})}}),{updateSignedTransactionStatus:Ol,updateSignedTransactions:Fl,setTransactionsToSign:Bl,clearAllTransactionsToSign:Ul,clearAllSignedTransactions:Vl,clearSignedTransaction:$l,clearTransactionToSign:Gl,setSignTransactionsError:Wl,setSignTransactionsCancelMessage:Hl,moveTransactionsToSignedState:ql}=Un.actions,Xe=Un.reducer});var Vn,qt,$n,Yl,Xl,Zl,Ql,Qe,Je=f(()=>{"use strict";n();Vn=require("@reduxjs/toolkit");_();qt={},$n=(0,Vn.createSlice)({name:"batchTransactionsSlice",initialState:qt,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:()=>qt},extraReducers:e=>{e.addCase(I,()=>qt)}}),{setBatchTransactions:Yl,updateBatchTransactions:Xl,clearBatchTransactions:Zl,clearAllBatchTransactions:Ql}=$n.actions,Qe=$n.reducer});var Wn,Gn,Hn,rp,qn,jt=f(()=>{"use strict";n();Wn=require("@reduxjs/toolkit");_();Gn={},Hn=(0,Wn.createSlice)({name:"dappConfigSlice",initialState:Gn,reducers:{setDappConfig:(e,t)=>{e=x(x({},e),t.payload)}},extraReducers:e=>{e.addCase(I,()=>Gn)}}),{setDappConfig:rp}=Hn.actions,qn=Hn.reducer});var pe=f(()=>{"use strict";n();Me();Fe();Ue();$e();We();qe();ze();Ze();Je();jt()});var er=f(()=>{"use strict";n()});var to,eo,ro,qu,ju,zu,Ku,Yu,Xu,no,oo=f(()=>{"use strict";n();to=require("@reduxjs/toolkit");_();eo={visible:!1,modal:{showHeader:!0,showFooter:!1,headerText:"",footerText:""}},ro=(0,to.createSlice)({name:"dappModalsSlice",initialState:eo,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,()=>eo)}}),{setDappModalVisibility:qu,setDappModalHeaderVisibility:ju,setDappModalFooterVisibility:zu,setDappModalHeaderText:Ku,setDappModalFooterText:Yu,setDappModalConfig:Xu}=ro.actions,no=ro.reducer});var io,zi,Ki,oe,ot=f(()=>{"use strict";n();io=require("@reduxjs/toolkit");er();Me();Je();jt();oo();Fe();Ue();$e();We();qe();ze();Ze();zi={["account"]:_e,["dappModal"]:no,["dappConfig"]:qn,["loginInfo"]:Oe,["modals"]:Be,["networkConfig"]:Ve,["signedMessageInfo"]:Ge,["toasts"]:He,["transactionsInfo"]:je,["transactions"]:Xe,["batchTransactions"]:Qe},Ki=(e={})=>(0,io.combineReducers)(x(x({},zi),e)),oe=Ki});var lo={};Q(lo,{default:()=>pa,sessionStorageReducers:()=>tr});function K(e,t=[]){return{key:e,version:1,storage:so.default,blacklist:t}}var N,ao,so,Yi,Se,Xi,Zi,Qi,Ji,ea,ta,ra,na,oa,ia,co,aa,tr,sa,ca,la,pa,po=f(()=>{"use strict";n();N=require("redux-persist"),ao=S(require("redux-persist/lib/storage")),so=S(require("redux-persist/lib/storage/session"));ot();pe();Me();Je();Fe();Ue();$e();We();qe();ze();Ze();er();Yi={persistReducersStorageType:"localStorage"},Se={["account"]:"sdk-dapp-account",["loginInfo"]:"sdk-dapp-login-info",["modals"]:"sdk-dapp-modals",["networkConfig"]:"sdk-dapp-network-config"},Xi=K(Se["account"]),Zi=K(Se["loginInfo"]),Qi=K(Se["modals"]),Ji=K(Se["networkConfig"]),ea={2:e=>A(x({},e),{networkConfig:Ft})};ta=K("sdk-dapp-transactionsInfo"),ra=K("sdk-dapp-transactions",["transactionsToSign"]),na=K("sdk-dapp-batchTransactions",["batchTransactions"]),oa=K("sdk-dapp-toasts"),ia=K("sdk-dapp-signedMessageInfo"),co={key:"sdk-dapp-store",version:2,storage:ao.default,whitelist:Object.keys(Se),migrate:(0,N.createMigrate)(ea,{debug:!1})},aa=A(x({},co),{whitelist:[]}),tr={["toasts"]:(0,N.persistReducer)(oa,He),["transactions"]:(0,N.persistReducer)(ra,Xe),["transactionsInfo"]:(0,N.persistReducer)(ta,je),["batchTransactions"]:(0,N.persistReducer)(na,Qe),["signedMessageInfo"]:(0,N.persistReducer)(ia,Ge)},sa=A(x({},tr),{["account"]:(0,N.persistReducer)(Xi,_e),["loginInfo"]:(0,N.persistReducer)(Zi,Oe),["modals"]:(0,N.persistReducer)(Qi,Be),["networkConfig"]:(0,N.persistReducer)(Ji,Ve)}),ca=Yi.persistReducersStorageType==="localStorage",la=ca?(0,N.persistReducer)(co,oe(tr)):(0,N.persistReducer)(aa,oe(sa)),pa=la});var uo={};Q(uo,{default:()=>ua});var ua,go=f(()=>{"use strict";n();ot();ua=oe()});var mo={};Q(mo,{default:()=>ga});var P,da,ga,fo=f(()=>{"use strict";n();P=require("redux-persist"),da=[P.FLUSH,P.REHYDRATE,P.PAUSE,P.PERSIST,P.PURGE,P.REGISTER],ga=da});var ho={};Q(ho,{default:()=>yo});function yo(e){return(0,To.persistStore)(e)}var To,xo=f(()=>{"use strict";n();To=require("redux-persist")});var Qa={};Q(Qa,{AxiosInterceptor:()=>Za});module.exports=me(Qa);n();var Z=S(require("react")),pt=S(require("axios"));n();var de=S(require("react"));n();n();pe();n();var jn=S(require("lodash.isequal")),et=require("reselect");C();var m=(0,et.createSelectorCreator)(et.defaultMemoize,jn.default),xe=(e,t)=>e!=""&&Boolean(t);var V=e=>e.account,zt=m(V,e=>e.address),Kt=m(V,zt,(e,t)=>t in e.accounts?e.accounts[t]:Pe),xp=m(V,Kt,(e,t)=>{let i=e,{accounts:r}=i,o=cr(i,["accounts"]);return A(x({},o),{account:t})}),Sp=m(Kt,e=>e.balance),wp=m(Kt,e=>{var t;return((t=e==null?void 0:e.nonce)==null?void 0:t.valueOf())||0}),bp=m(V,e=>e.shard),Ip=m(V,e=>e.ledgerAccount),Ap=m(V,e=>e.walletConnectAccount),vp=m(V,e=>e.isAccountLoading),kp=m(V,e=>e.accountLoadingError),Ep=m(V,e=>e.websocketEvent),Lp=m(V,e=>e.websocketBatchEvent);n();var z=e=>e.loginInfo,Cp=m(z,e=>e.loginMethod),Pp=m(z,zt,(e,t)=>xe(e.loginMethod,t)),_p=m(z,e=>e.walletConnectLogin),Mp=m(z,e=>e.ledgerLogin),Op=m(z,e=>e.walletLogin),Fp=m(z,e=>e.isLoginSessionInvalid),Bp=m(z,e=>e.tokenLogin),Up=m(z,e=>e.logoutRoute);n();var zn=e=>e.modals,Gp=m(zn,e=>e.txSubmittedModal),Wp=m(zn,e=>e.notificationModal);n();var ne=e=>e.networkConfig,jp=m(ne,e=>e.chainID),zp=m(ne,e=>e.network.walletConnectBridgeAddress),Kp=m(ne,e=>e.network.walletConnectV2RelayAddress),Yp=m(ne,e=>e.network.walletConnectV2ProjectId),Xp=m(ne,e=>e.network.walletConnectV2Options),Zp=m(ne,e=>e.network.walletConnectDeepLink),Yt=m(ne,e=>e.network),Qp=m(Yt,e=>e.apiAddress),Kn=m(Yt,e=>e.explorerAddress),Jp=m(Yt,e=>e.egldLabel);n();var tt=e=>e.signedMessageInfo,ru=m(tt,e=>e.isSigning),nu=m(tt,e=>e.errorMessage),ou=m(tt,e=>{let t=Object.keys(e.signedSessions),r=t.length;return e.signedSessions[t[r-1]]}),iu=m(tt,e=>{let t=Object.keys(e.signedSessions),r=t.length;return t.length>0?t[r-1]:""});n();var Xt=e=>e.toasts,cu=m(Xt,e=>e.customToasts),lu=m(Xt,e=>e.transactionToasts),pu=m(Xt,e=>e.failTransactionToast);n();pe();var Yn={errorMessage:Vt,successMessage:$t,processingMessage:Gt},Gi=e=>e.transactionsInfo,mu=m(Gi,(e,t)=>t,(e,t)=>t!=null&&(e==null?void 0:e[Number(t)])||Yn);n();n();var $=require("@multiversx/sdk-core"),Zn=require("@multiversx/sdk-core/out/signature");b();n();var Qt=require("@multiversx/sdk-core/out");n();n();function Zt(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 Xn=e=>{let t=e!=null?e:"";return Zt(t)?Qt.TransactionPayload.fromEncoded(t):new Qt.TransactionPayload(t)};function Jt(e){var r,o,i;let t=new $.Transaction(x(x({value:e.value.valueOf(),data:Xn(e.data),nonce:e.nonce.valueOf(),receiver:new $.Address(e.receiver),sender:new $.Address(e.sender),gasLimit:(r=e.gasLimit.valueOf())!=null?r:kt,gasPrice:(o=e.gasPrice.valueOf())!=null?o:Et,chainID:e.chainID.valueOf(),version:new $.TransactionVersion((i=e.version)!=null?i:Xr)},e.options?{options:new $.TransactionOptions(e.options)}:{}),e.guardian?{guardian:new $.Address(e.guardian)}:{}));return e.guardianSignature&&t.applyGuardianSignature({hex:()=>e.guardianSignature||""}),t.applySignature(new Zn.Signature(e.signature)),t}n();n();n();n();var rr=require("@reduxjs/toolkit"),Io=require("react-redux/lib/utils/Subscription");pe();n();var Qn=S(require("lodash.throttle"));b();pe();Mt();Re();fe();var Hi=[De],rt=!1,qi=(0,Qn.default)(()=>{ye(Te())},5e3),Jn=e=>t=>r=>{var d;if(Hi.includes(r.type))return t(r);let o=e.getState(),i=le.local.getItem(re.loginExpiresAt);if(!xe((d=o==null?void 0:o.loginInfo)==null?void 0:d.loginMethod,o==null?void 0:o.account.address))return t(r);if(i==null)return ye(Te());let p=Date.now();return i-p<0&&!rt?setTimeout(()=>{rt=!0,e.dispatch(fn())},1e3):(rt&&(rt=!1),qi()),t(r)};n();n();function nt(){return typeof sessionStorage!="undefined"}var So=nt()?(po(),me(lo)).default:(go(),me(uo)).default,wo=nt()?(fo(),me(mo)).default:[],bo=nt()?(xo(),me(ho)).default:e=>e;ot();var ue=(0,rr.configureStore)({reducer:So,middleware:e=>e({serializableCheck:{ignoredActions:[...wo,un.type,pn.type],ignoredPaths:["payload.nonce","account.account.nonce","providers.accountProvider"]}}).concat(Jn)}),Nd=(0,Io.createSubscription)(ue),Rd=bo(ue),Cd=(0,rr.configureStore)({reducer:oe});n();n();var fa=require("@multiversx/sdk-core/out");n();b();n();var vo=require("@multiversx/sdk-core");C();n();var Ta=require("@multiversx/sdk-core");n();n();n();var ya=require("@multiversx/sdk-core"),ha=S(require("bignumber.js"));j();n();n();n();n();n();n();n();D();n();n();D();n();n();n();var Aa=S(require("bignumber.js"));b();n();var Ia=require("@multiversx/sdk-core"),nr=S(require("bignumber.js"));b();n();var wa=S(require("bignumber.js"));n();nr.default.config({ROUNDING_MODE:nr.default.ROUND_FLOOR});n();n();n();b();n();n();n();n();b();n();b();n();var va=require("@multiversx/sdk-core");b();n();var we=require("@multiversx/sdk-core"),Ea=require("@multiversx/sdk-network-providers");b();n();n();var ka=S(require("bignumber.js"));b();n();b();n();n();n();n();n();b();n();D();var Da=["reDelegateRewards","claimRewards","unBond"],Na=["wrapEgld","unwrapEgld"],Ra=["unStake"],Ca=["unDelegate"];n();n();n();b();n();var Ma=S(require("bignumber.js"));n();n();D();n();var Oa=S(require("bignumber.js"));n();n();n();var Ba=S(require("bignumber.js"));C();n();n();n();n();j();n();var $a=require("@multiversx/sdk-web-wallet-provider");b();n();var Va=S(require("qs"));n();n();var ir=()=>typeof window!="undefined";n();var DT={search:ir()?window.location.search:"",removeParams:[]};n();n();n();n();D();n();n();n();var Ga=S(require("linkifyjs"));n();b();n();var Wa=S(require("bignumber.js"));n();C();n();n();j();n();j();n();n();n();D();n();D();n();var Ha=S(require("bignumber.js"));b();D();n();D();n();var Co=require("react");C();n();n();D();n();n();var qa=require("@multiversx/sdk-core/out"),ja=S(require("bignumber.js"));D();n();C();n();n();C();var wh=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}];n();var Po=require("react");C();n();var Ka=require("react");D();var Lh=["create","localMint","ESDTLocalMint","addQuantity","burn","localBurn","ESDTLocalBurn","wipe","writeLog","signalError"];Ht();var ct=e=>e.transactions,be=m(ct,e=>e.signedTransactions),gx=m(ct,e=>e.signTransactionsError),mx=m(ct,e=>e.signTransactionsCancelMessage),lt=e=>t=>Object.entries(t).reduce((r,[o,i])=>(e(i.status)&&(r[o]=i),r),{}),fx=m(be,lt(Mn)),Tx=m(be,lt(Ke)),yx=m(be,lt(Ye)),hx=m(be,lt(On)),xx=m(ct,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=>Jt(r)))||[]})}),Sx=m(be,(e,t)=>t,(e,t)=>t!=null?(e==null?void 0:e[t])||{}:{});n();var Ya=e=>e.dappConfig,Ix=m(Ya,e=>e.shouldUseWebViewProvider);var Xa=(0,de.createContext)({}),Gx=ue.getState();function _o(){let e=(0,de.useContext)(Xa);if(e===void 0||Object.values(e).length===0)throw new Error("useAxiosInterceptorContext must be used within an AxiosInterceptorContextProvider");return e}var Za=({children:e,authenticatedDomanis:t})=>{var g;let{loginInfo:r}=_o(),o=(g=r==null?void 0:r.tokenLogin)==null?void 0:g.nativeAuthToken,i=(0,Z.useRef)(-1),l=()=>{pt.default.interceptors.response.use(d=>d,d=>{var h,y;let T=(h=d.config)==null?void 0:h.url;return(y=d.config)!=null&&y.params&&(T+=`?${new URLSearchParams(d.config.params).toString()}`),console.error("Axios error for: ",T),Promise.reject(d)})},p=()=>{pt.default.interceptors.request.eject(i.current),i.current=pt.default.interceptors.request.use(d=>pr(void 0,null,function*(){return t.includes(String(d==null?void 0:d.baseURL))&&(d.headers={Authorization:`Bearer ${o}`}),d}),d=>{Promise.reject(d)})};return(0,Z.useEffect)(l,[]),(0,Z.useEffect)(()=>{o&&p()},[o]),Z.default.createElement(Z.default.Fragment,null,e)};0&&(module.exports={AxiosInterceptor});
|
|
2
2
|
/*!
|
|
3
3
|
* The buffer module from node.js, for the browser.
|
|
4
4
|
*
|