@multiversx/sdk-dapp 2.14.3 → 2.14.5
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/components/ConfirmAmount/ConfirmAmount.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/ConfirmFee.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/NftSftPreviewComponent/NftSftPreviewComponent.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/NftSftPreviewComponent/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/TokenAvatar/TokenAvatar.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/TokenAvatar/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/components/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithDeviceModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithExtensionModal/SignWithExtensionModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithExtensionModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithExtraModal/SignWithExtraModal.js +1 -1
- package/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
- package/UI/SignTransactionsModals/SignWithLedgerModal/LedgerGuardianSigningModalError.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/SignWaitingScreenModal/SignWaitingScreenModal.js +1 -1
- package/UI/SignTransactionsModals/components/SignWaitingScreenModal/index.js +1 -1
- package/UI/SignTransactionsModals/components/TransactionStatusToast.js +1 -1
- package/UI/SignTransactionsModals/components/index.js +1 -1
- package/UI/SignTransactionsModals/index.js +1 -1
- package/UI/TokenDetails/index.js +1 -1
- package/UI/TransactionData/TransactionData.js +1 -1
- package/UI/TransactionData/index.js +1 -1
- package/UI/TransactionDetails/TransactionDetails.js +1 -1
- package/UI/TransactionDetails/components/TransactionDetailsBody.js +1 -1
- package/UI/TransactionDetails/components/index.js +1 -1
- package/UI/TransactionDetails/index.js +1 -1
- package/UI/TransactionInfo/TransactionInfo.js +1 -1
- package/UI/TransactionInfo/components/AddressDetailItem/AddressDetailitem.js +1 -1
- package/UI/TransactionInfo/components/AddressDetailItem/index.js +1 -1
- package/UI/TransactionInfo/components/DataDecode/DataDecode.js +1 -1
- package/UI/TransactionInfo/components/DataDecode/index.js +1 -1
- package/UI/TransactionInfo/components/DataField/DataField.js +1 -1
- package/UI/TransactionInfo/components/DataField/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/DefaultToastDeleteButton.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/components/TransactionToastContent.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/components/index.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/hooks/useTransactionToast.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/index.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/utils/getToastDataStateByStatus.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToast/utils/index.js +1 -1
- package/UI/TransactionsToastList/components/TransactionToastGuard.js +1 -1
- package/UI/TransactionsToastList/components/index.js +1 -1
- package/UI/TransactionsToastList/index.js +1 -1
- package/UI/Trim/Trim.js +1 -1
- package/UI/Trim/index.js +1 -1
- package/UI/UsdValue/UsdValue.js +1 -1
- package/UI/UsdValue/index.js +1 -1
- package/UI/extension/ExtensionLoginButton/ExtensionLoginButton.js +1 -1
- package/UI/extension/ExtensionLoginButton/index.js +1 -1
- package/UI/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-Z5J4KYS4.js → chunk-227PIFHJ.js} +2 -2
- package/__chunks__/{chunk-Y45HECK3.js → chunk-26JJZN6W.js} +2 -2
- package/__chunks__/{chunk-PQH2E33V.js → chunk-2A55W5J6.js} +2 -2
- package/__chunks__/{chunk-FMHS53L2.js → chunk-2ANYBRLN.js} +2 -2
- package/__chunks__/{chunk-FALDLO5J.js → chunk-2FD27C7T.js} +2 -2
- package/__chunks__/{chunk-635DGGEZ.js → chunk-2FXGMQ3S.js} +2 -2
- package/__chunks__/{chunk-XPO7HQNJ.js → chunk-2HJBIJXJ.js} +2 -2
- package/__chunks__/{chunk-WYC35YN5.js → chunk-2KOT5A6U.js} +2 -2
- package/__chunks__/{chunk-4HLBG6FV.js → chunk-2UZ4MFQC.js} +2 -2
- package/__chunks__/{chunk-OKNX6OPM.js → chunk-2VK6P4O6.js} +2 -2
- package/__chunks__/chunk-2XUNKBEM.js +2 -0
- package/__chunks__/chunk-2ZG27GCE.js +2 -0
- package/__chunks__/{chunk-JDDXX4XK.js → chunk-3CBN7R3F.js} +2 -2
- package/__chunks__/chunk-3PHJ6U5C.js +2 -0
- package/__chunks__/{chunk-JSD4JECW.js → chunk-3S3MPIFQ.js} +2 -2
- package/__chunks__/{chunk-ZOO6MTHQ.js → chunk-3TZTKPJN.js} +2 -2
- package/__chunks__/{chunk-SXXNWPUP.js → chunk-44IAI5C5.js} +2 -2
- package/__chunks__/{chunk-RL3UM3UC.js → chunk-44JKED6W.js} +2 -2
- package/__chunks__/{chunk-DDBEV3M5.js → chunk-44SOBIJT.js} +2 -2
- package/__chunks__/{chunk-EW3SEUQV.js → chunk-4B3DD27S.js} +2 -2
- package/__chunks__/{chunk-NKHBIONP.js → chunk-4FEECUQR.js} +2 -2
- package/__chunks__/chunk-4HQ2JNNI.js +2 -0
- package/__chunks__/{chunk-NAUXCAHX.js → chunk-4OZD3S6I.js} +2 -2
- package/__chunks__/{chunk-4M4ZG6UK.js → chunk-4PBZBL4S.js} +2 -2
- package/__chunks__/chunk-4QQFMIZ5.js +2 -0
- package/__chunks__/{chunk-SD2GJCO7.js → chunk-4TFTP5RO.js} +2 -2
- package/__chunks__/chunk-4UOL7BFP.js +2 -0
- package/__chunks__/{chunk-CEWLSMXS.js → chunk-4WRW2TDW.js} +2 -2
- package/__chunks__/{chunk-Z54DAJHV.js → chunk-4ZEQOJG2.js} +2 -2
- package/__chunks__/{chunk-5JPDPSOU.js → chunk-525SCMTB.js} +2 -2
- package/__chunks__/{chunk-QEWHY26T.js → chunk-5AIM25YR.js} +2 -2
- package/__chunks__/{chunk-LNQARCOO.js → chunk-5DIICYEZ.js} +2 -2
- package/__chunks__/{chunk-PZODOGW5.js → chunk-5IZBRUG5.js} +2 -2
- package/__chunks__/{chunk-YKAKLVB7.js → chunk-5JVZM4CL.js} +2 -2
- package/__chunks__/{chunk-NUWNMCYM.js → chunk-5SF7X4NC.js} +2 -2
- package/__chunks__/{chunk-EVOUYW77.js → chunk-5YEUVHSB.js} +2 -2
- package/__chunks__/{chunk-KKG5HGC2.js → chunk-5YRF6I4O.js} +2 -2
- package/__chunks__/{chunk-G67YB5IT.js → chunk-665ZPR6B.js} +2 -2
- package/__chunks__/{chunk-OBKYH7E7.js → chunk-66P7X5DN.js} +2 -2
- package/__chunks__/{chunk-RS66KCFE.js → chunk-6AKAKOPX.js} +2 -2
- package/__chunks__/chunk-6AR2UXRZ.js +2 -0
- package/__chunks__/{chunk-6VU3LZIS.js → chunk-6CN7FOSZ.js} +2 -2
- package/__chunks__/{chunk-AJJUE6BQ.js → chunk-6ECO56AR.js} +2 -2
- package/__chunks__/{chunk-HDZI637B.js → chunk-6GNYCS7K.js} +2 -2
- package/__chunks__/chunk-6K3CHAPG.js +2 -0
- package/__chunks__/{chunk-TMXR7CZN.js → chunk-6MJZZVQA.js} +2 -2
- package/__chunks__/{chunk-ZRF45QPZ.js → chunk-6NIVPKD7.js} +2 -2
- package/__chunks__/{chunk-E6ARLC2I.js → chunk-6NMX4F2R.js} +2 -2
- package/__chunks__/{chunk-W7WSJP4R.js → chunk-6NXHTQAA.js} +2 -2
- package/__chunks__/{chunk-AUPP7RGC.js → chunk-6O3PJDHO.js} +2 -2
- package/__chunks__/{chunk-F2IU3HVC.js → chunk-6QQ4ACXD.js} +2 -2
- package/__chunks__/{chunk-K7TKWQTX.js → chunk-6RZZWFZ6.js} +2 -2
- package/__chunks__/{chunk-FI4EFU5H.js → chunk-6SGPN45M.js} +2 -2
- package/__chunks__/{chunk-WOOPC5ZW.js → chunk-6SOFNFU6.js} +2 -2
- package/__chunks__/{chunk-TP3Q54FK.js → chunk-6T5ZW7AW.js} +2 -2
- package/__chunks__/{chunk-TQBXI4DC.js → chunk-6WFCZYRD.js} +2 -2
- package/__chunks__/{chunk-BYITR7E4.js → chunk-6XJPIMGH.js} +2 -2
- package/__chunks__/{chunk-4WQJMUQT.js → chunk-765YOT7P.js} +2 -2
- package/__chunks__/{chunk-ZMMAM33G.js → chunk-76NPWQ5Z.js} +2 -2
- package/__chunks__/{chunk-DGMWAKSQ.js → chunk-76ZQIMBX.js} +2 -2
- package/__chunks__/{chunk-J4WGRY4B.js → chunk-77SS4NMA.js} +2 -2
- package/__chunks__/{chunk-D7WB3QEQ.js → chunk-7BUVO7AQ.js} +2 -2
- package/__chunks__/{chunk-JTR3JIF5.js → chunk-7BXW2FRM.js} +2 -2
- package/__chunks__/chunk-7JRIYN7J.js +2 -0
- package/__chunks__/{chunk-NXSPBH7F.js → chunk-7KX3VWAE.js} +2 -2
- package/__chunks__/chunk-7OKOV3MZ.js +2 -0
- package/__chunks__/{chunk-2SAKHJIZ.js → chunk-7Q5LVGH4.js} +2 -2
- package/__chunks__/{chunk-QOTHHSFI.js → chunk-7QVOCGYL.js} +2 -2
- package/__chunks__/{chunk-75LIHOT7.js → chunk-7R4A7NYZ.js} +2 -2
- package/__chunks__/chunk-7ZWZBQHR.js +2 -0
- package/__chunks__/{chunk-YZKG4SBK.js → chunk-A3HDQGOE.js} +2 -2
- package/__chunks__/{chunk-ZT5PGSCX.js → chunk-A4YXJB4N.js} +2 -2
- package/__chunks__/{chunk-3SHFG3Q2.js → chunk-AFMFEKJL.js} +2 -2
- package/__chunks__/{chunk-GMBHZ3VM.js → chunk-ALVLGOUI.js} +2 -2
- package/__chunks__/chunk-AORB4GL3.js +2 -0
- package/__chunks__/chunk-ARKROIYU.js +2 -0
- package/__chunks__/{chunk-C6FBV65M.js → chunk-B4RZVRF6.js} +2 -2
- package/__chunks__/chunk-B526DLZX.js +2 -0
- package/__chunks__/{chunk-IUPOWYEB.js → chunk-BBX7PGVI.js} +2 -2
- package/__chunks__/{chunk-J57T5QE3.js → chunk-BEKJAGWB.js} +2 -2
- package/__chunks__/{chunk-TNWHUSBS.js → chunk-BJPUISKJ.js} +2 -2
- package/__chunks__/{chunk-S2KRJP2S.js → chunk-BP6UJLJ6.js} +2 -2
- package/__chunks__/{chunk-X27CJBLI.js → chunk-BPQSY3MV.js} +2 -2
- package/__chunks__/chunk-BS3WPNZX.js +2 -0
- package/__chunks__/{chunk-665NO27H.js → chunk-BXRTMNNC.js} +2 -2
- package/__chunks__/{chunk-AVYCZJNR.js → chunk-BZUP773Y.js} +2 -2
- package/__chunks__/{chunk-CIIGMUYW.js → chunk-C4VVSJRA.js} +2 -2
- package/__chunks__/{chunk-KXYIK2NA.js → chunk-CFH7TTFD.js} +2 -2
- package/__chunks__/{chunk-QEE3NIKR.js → chunk-CI7VJAOZ.js} +2 -2
- package/__chunks__/{chunk-LDQULRQM.js → chunk-CIZ4CC3A.js} +2 -2
- package/__chunks__/{chunk-4P42QTUO.js → chunk-CK56GYBV.js} +2 -2
- package/__chunks__/{chunk-AURFLPJI.js → chunk-CP22U32T.js} +2 -2
- package/__chunks__/{chunk-HXXADXWC.js → chunk-CTECXHBH.js} +2 -2
- package/__chunks__/{chunk-URQFLH5U.js → chunk-CVKAF7GU.js} +2 -2
- package/__chunks__/{chunk-B3T5YNKO.js → chunk-CVR4KWI2.js} +2 -2
- package/__chunks__/{chunk-2T3SZVFQ.js → chunk-CWKDQAE3.js} +2 -2
- package/__chunks__/{chunk-CF2SJYLM.js → chunk-CYBBIALG.js} +2 -2
- package/__chunks__/{chunk-CNFWXUMD.js → chunk-CYCBNOOH.js} +2 -2
- package/__chunks__/chunk-D4NNYQNI.js +2 -0
- package/__chunks__/{chunk-KQBWXEGB.js → chunk-D5PG3KPY.js} +2 -2
- package/__chunks__/{chunk-ZE7Y2E3X.js → chunk-DDDEBD3H.js} +2 -2
- package/__chunks__/chunk-DDUHPX5B.js +2 -0
- package/__chunks__/{chunk-7EH2JVA7.js → chunk-DK32AR5A.js} +2 -2
- package/__chunks__/{chunk-XNI2WT7G.js → chunk-DOLHFGAO.js} +2 -2
- package/__chunks__/chunk-DPRAO3PV.js +2 -0
- package/__chunks__/{chunk-7YAAJ7LN.js → chunk-DRRZLU37.js} +2 -2
- package/__chunks__/{chunk-CAPUQHFB.js → chunk-E4BMLWJQ.js} +2 -2
- package/__chunks__/{chunk-263MHKKC.js → chunk-EAVFFW6D.js} +2 -2
- package/__chunks__/{chunk-UVV6SVD7.js → chunk-EB7ZWTSY.js} +2 -2
- package/__chunks__/{chunk-RJ7SJMWT.js → chunk-EBIEPCKP.js} +2 -2
- package/__chunks__/{chunk-VB6VZREF.js → chunk-ECECRARS.js} +2 -2
- package/__chunks__/{chunk-WAEYJOW2.js → chunk-ECFQRKBQ.js} +2 -2
- package/__chunks__/{chunk-V6IICA5I.js → chunk-EDSXRVJA.js} +2 -2
- package/__chunks__/{chunk-LRX2BJPT.js → chunk-EJEYIK7H.js} +2 -2
- package/__chunks__/{chunk-HR35FFSQ.js → chunk-EONQ6O2S.js} +2 -2
- package/__chunks__/{chunk-Y6GGQYWM.js → chunk-EPKDDRNV.js} +2 -2
- package/__chunks__/{chunk-6C4DO7CC.js → chunk-EQGTLK7B.js} +2 -2
- package/__chunks__/{chunk-PZHE5BUA.js → chunk-ERD7M4J6.js} +2 -2
- package/__chunks__/{chunk-UTT6IDXI.js → chunk-ET5PWW6U.js} +2 -2
- package/__chunks__/{chunk-HEO7KJU5.js → chunk-EU5G4DAQ.js} +2 -2
- package/__chunks__/{chunk-M233YJDK.js → chunk-EZCQPLF5.js} +1 -1
- package/__chunks__/{chunk-XT2LQFA3.js → chunk-F23EI64H.js} +2 -2
- package/__chunks__/{chunk-J4FVDFZJ.js → chunk-F4RR2MI3.js} +2 -2
- package/__chunks__/{chunk-LKEL6F45.js → chunk-FDSL4UNE.js} +2 -2
- package/__chunks__/{chunk-BPNXCDIK.js → chunk-FLTQKQXZ.js} +2 -2
- package/__chunks__/chunk-FM4NFE7O.js +2 -0
- package/__chunks__/chunk-FPG3XYE5.js +2 -0
- package/__chunks__/{chunk-NWXRQXN3.js → chunk-FQCOLVNB.js} +2 -2
- package/__chunks__/{chunk-LG7JWTT4.js → chunk-FS2Y3TRJ.js} +2 -2
- package/__chunks__/{chunk-FG74WDBQ.js → chunk-FUNQ3ZDS.js} +2 -2
- package/__chunks__/{chunk-SLS4RCYR.js → chunk-FXLGORZY.js} +2 -2
- package/__chunks__/chunk-G3URCKTB.js +2 -0
- package/__chunks__/{chunk-RUM7PECI.js → chunk-G77DU7KW.js} +2 -2
- package/__chunks__/{chunk-EUKXYU34.js → chunk-GBXV2IZ4.js} +2 -2
- package/__chunks__/{chunk-NQYHKHB7.js → chunk-GCUAS5W3.js} +2 -2
- package/__chunks__/{chunk-F72QCCQU.js → chunk-GDBNKPWX.js} +2 -2
- package/__chunks__/chunk-GEPT4RMT.js +2 -0
- package/__chunks__/{chunk-QEHQ4T4K.js → chunk-GFEGGQCU.js} +2 -2
- package/__chunks__/{chunk-2LCMVQG2.js → chunk-GHWA4ARO.js} +2 -2
- package/__chunks__/{chunk-H2KQWRZO.js → chunk-GJVP752J.js} +2 -2
- package/__chunks__/{chunk-K34TH3BZ.js → chunk-GXIFDTPZ.js} +2 -2
- package/__chunks__/{chunk-V2Z6FH3E.js → chunk-H4MEI7MA.js} +2 -2
- package/__chunks__/{chunk-IN5ODNNJ.js → chunk-HDWDCB2R.js} +2 -2
- package/__chunks__/{chunk-HUNAKHPM.js → chunk-HEGJ6VWU.js} +2 -2
- package/__chunks__/{chunk-7Q3LNSP3.js → chunk-HGWCS4DV.js} +2 -2
- package/__chunks__/{chunk-HTSOC23O.js → chunk-HIZU3X76.js} +2 -2
- package/__chunks__/{chunk-NBOVG4WO.js → chunk-HLWM6AOP.js} +2 -2
- package/__chunks__/{chunk-354E6SKU.js → chunk-HM2JAQZ7.js} +2 -2
- package/__chunks__/{chunk-VLRIBNO6.js → chunk-HN2WAZKY.js} +2 -2
- package/__chunks__/{chunk-5774QZTU.js → chunk-HWNBOBAT.js} +2 -2
- package/__chunks__/{chunk-BPCYDSCL.js → chunk-I5CZZRD7.js} +2 -2
- package/__chunks__/{chunk-ZGSSETC7.js → chunk-IDUEKWWT.js} +2 -2
- package/__chunks__/{chunk-CUVIIQZB.js → chunk-IDUIPLAQ.js} +2 -2
- package/__chunks__/{chunk-KD7CSMP4.js → chunk-IGVPSOQ4.js} +2 -2
- package/__chunks__/{chunk-7CWJCONI.js → chunk-IHDP5XEC.js} +2 -2
- package/__chunks__/{chunk-POJG76RP.js → chunk-II4IN5DB.js} +2 -2
- package/__chunks__/{chunk-GPWFUCIZ.js → chunk-IMDOREFA.js} +2 -2
- package/__chunks__/{chunk-DQPZUP6J.js → chunk-IPLHIKSY.js} +2 -2
- package/__chunks__/chunk-IQ5OX26L.js +2 -0
- package/__chunks__/{chunk-MUC4VQA2.js → chunk-IR6Q7XJQ.js} +2 -2
- package/__chunks__/chunk-IW77FXTJ.js +2 -0
- package/__chunks__/{chunk-YGTOOJZ3.js → chunk-IWDQTSSG.js} +2 -2
- package/__chunks__/chunk-IZMAZFVM.js +2 -0
- package/__chunks__/{chunk-DNCC3B7Y.js → chunk-J2JMQETZ.js} +2 -2
- package/__chunks__/chunk-J2TI3CAX.js +2 -0
- package/__chunks__/{chunk-MR4I4XVG.js → chunk-J7FBMLQ6.js} +2 -2
- package/__chunks__/{chunk-ZBBCMRJS.js → chunk-JAN62SAY.js} +2 -2
- package/__chunks__/{chunk-KWBJ25RP.js → chunk-JFOTWZDD.js} +2 -2
- package/__chunks__/chunk-JKRWLHHP.js +2 -0
- package/__chunks__/chunk-JNVJGABW.js +2 -0
- package/__chunks__/{chunk-ZT3JSTYM.js → chunk-JZCTMZUP.js} +2 -2
- package/__chunks__/{chunk-NC6BLARV.js → chunk-K6HD2LUU.js} +2 -2
- package/__chunks__/{chunk-ZODSGB7E.js → chunk-K7CFWXYR.js} +2 -2
- package/__chunks__/{chunk-RDTHAMCD.js → chunk-KHOT73K6.js} +2 -2
- package/__chunks__/{chunk-PF6FZ5CA.js → chunk-KJ6IYXXB.js} +2 -2
- package/__chunks__/chunk-KMTMHRTW.js +2 -0
- package/__chunks__/{chunk-MHCO27HW.js → chunk-KUOT65C2.js} +2 -2
- package/__chunks__/{chunk-VQ45VOHN.js → chunk-KXQXYJIC.js} +2 -2
- package/__chunks__/chunk-KYDM7QYU.js +2 -0
- package/__chunks__/chunk-L2ANYTTN.js +2 -0
- package/__chunks__/chunk-LDOD4URJ.js +2 -0
- package/__chunks__/{chunk-6OFXQVUT.js → chunk-LJ5EBQ4E.js} +2 -2
- package/__chunks__/chunk-LPNATKOR.js +2 -0
- package/__chunks__/{chunk-TTCT34VS.js → chunk-MELE4A6V.js} +2 -2
- package/__chunks__/{chunk-XQVTILMR.js → chunk-MGUISXI5.js} +2 -2
- package/__chunks__/chunk-MPPYOTPN.js +2 -0
- package/__chunks__/{chunk-I4B5HNQT.js → chunk-MRRNEHRM.js} +2 -2
- package/__chunks__/{chunk-RTBLJLK5.js → chunk-MSBGM7BG.js} +2 -2
- package/__chunks__/{chunk-SSVGMOQH.js → chunk-MX7JP4OW.js} +2 -2
- package/__chunks__/{chunk-ICDXNBEF.js → chunk-N5KCBNN7.js} +2 -2
- package/__chunks__/{chunk-XTRVDWXV.js → chunk-N7VAIKYW.js} +2 -2
- package/__chunks__/chunk-NBLZPBHG.js +2 -0
- package/__chunks__/{chunk-ASQNM7MJ.js → chunk-NFN6MTGN.js} +2 -2
- package/__chunks__/{chunk-ELRQPILJ.js → chunk-NFPE676M.js} +2 -2
- package/__chunks__/{chunk-LFMDBIML.js → chunk-NISVU2KT.js} +2 -2
- package/__chunks__/{chunk-2ARPMXJR.js → chunk-NJPGFJBL.js} +2 -2
- package/__chunks__/chunk-NLMBU66C.js +2 -0
- package/__chunks__/{chunk-U47YYGAI.js → chunk-NPRDBTUP.js} +2 -2
- package/__chunks__/{chunk-LHMTZEA5.js → chunk-NSXHCQC6.js} +2 -2
- package/__chunks__/{chunk-Z2RFL7UF.js → chunk-NUNXT2KE.js} +2 -2
- package/__chunks__/{chunk-T74FZLQO.js → chunk-NVA6E3I6.js} +2 -2
- package/__chunks__/{chunk-5FUU6YT7.js → chunk-NYHN24U7.js} +2 -2
- package/__chunks__/{chunk-I2ZNHA6A.js → chunk-O3AHG24N.js} +2 -2
- package/__chunks__/{chunk-CPPN5BPT.js → chunk-O52NWXAX.js} +2 -2
- package/__chunks__/{chunk-YGG5ERHH.js → chunk-OC6LCJE5.js} +2 -2
- package/__chunks__/chunk-OCZDIQJM.js +2 -0
- package/__chunks__/{chunk-RDLDEORR.js → chunk-OFG2RO5M.js} +2 -2
- package/__chunks__/{chunk-VTAICDRX.js → chunk-OGJRVFBF.js} +2 -2
- package/__chunks__/{chunk-KMJBEARC.js → chunk-OPELHEUB.js} +2 -2
- package/__chunks__/chunk-P2O5DNPS.js +2 -0
- package/__chunks__/{chunk-3GKFYHC4.js → chunk-P77MVAQ7.js} +2 -2
- package/__chunks__/{chunk-DPOE6IK4.js → chunk-PB2NHRDS.js} +2 -2
- package/__chunks__/{chunk-OZN64XXH.js → chunk-PIBTVAIY.js} +2 -2
- package/__chunks__/{chunk-O2NVMOWV.js → chunk-PJ5K3BAU.js} +2 -2
- package/__chunks__/{chunk-C6OR4CE7.js → chunk-PKDX3PWA.js} +2 -2
- package/__chunks__/chunk-PPPPPTWM.js +2 -0
- package/__chunks__/{chunk-FPKDA4WW.js → chunk-PSRES75R.js} +2 -2
- package/__chunks__/{chunk-5I67BWZ4.js → chunk-PTGSTIKB.js} +2 -2
- package/__chunks__/{chunk-NRQ2QOKI.js → chunk-PY3AVURP.js} +2 -2
- package/__chunks__/{chunk-GW4ANP64.js → chunk-PYUC7YWQ.js} +2 -2
- package/__chunks__/{chunk-UGI3Z2VB.js → chunk-QDXDSARH.js} +2 -2
- package/__chunks__/{chunk-FEKRLY4Y.js → chunk-QEP5V6BV.js} +2 -2
- package/__chunks__/{chunk-QB7FSZIJ.js → chunk-QFV655NJ.js} +2 -2
- package/__chunks__/{chunk-AE6EUIEY.js → chunk-QGAFKW2D.js} +2 -2
- package/__chunks__/{chunk-LR4KN3NQ.js → chunk-QIRTYV7I.js} +2 -2
- package/__chunks__/{chunk-W2ZGLITQ.js → chunk-QP7Y7FM5.js} +2 -2
- package/__chunks__/{chunk-QPHDB4SX.js → chunk-QPDQZJIR.js} +2 -2
- package/__chunks__/{chunk-7I6VVHPW.js → chunk-QQFTXUF5.js} +2 -2
- package/__chunks__/{chunk-VEMADCAG.js → chunk-QTZRTNDJ.js} +2 -2
- package/__chunks__/{chunk-OE2TXZIV.js → chunk-QWW24CB3.js} +2 -2
- package/__chunks__/chunk-R5C7QWUE.js +2 -0
- package/__chunks__/chunk-RCUGYIFV.js +2 -0
- package/__chunks__/{chunk-GJBD7RPH.js → chunk-RDFIXOD2.js} +2 -2
- package/__chunks__/{chunk-AS5LF45F.js → chunk-RGTMLNLV.js} +2 -2
- package/__chunks__/{chunk-EWSOJLDO.js → chunk-RIE5RNRH.js} +2 -2
- package/__chunks__/chunk-RJ7L3LSO.js +2 -0
- package/__chunks__/{chunk-HBUYUYG7.js → chunk-RNUXTNSV.js} +2 -2
- package/__chunks__/chunk-RZRPUUJG.js +2 -0
- package/__chunks__/{chunk-CSTEEV34.js → chunk-S5MM2EWQ.js} +2 -2
- package/__chunks__/{chunk-JIE46P3A.js → chunk-SBF35KV2.js} +2 -2
- package/__chunks__/{chunk-SORRN44I.js → chunk-SHNLEWQL.js} +2 -2
- package/__chunks__/{chunk-7HYW3VNZ.js → chunk-SHUQU5VZ.js} +2 -2
- package/__chunks__/{chunk-WHY2O6VY.js → chunk-SPHRRX4G.js} +2 -2
- package/__chunks__/{chunk-KVOYPUTL.js → chunk-SRAOPXTJ.js} +2 -2
- package/__chunks__/{chunk-RCTNLZQ4.js → chunk-SUZ6MJ5T.js} +2 -2
- package/__chunks__/{chunk-NJ4CAC4K.js → chunk-SX33GNB7.js} +2 -2
- package/__chunks__/chunk-SYLWJWPH.js +2 -0
- package/__chunks__/{chunk-IGYIKLFD.js → chunk-SZ74YBY4.js} +2 -2
- package/__chunks__/{chunk-KXH5PIYO.js → chunk-T23GFE32.js} +2 -2
- package/__chunks__/{chunk-5QP3BKN6.js → chunk-TC7ZKZBH.js} +2 -2
- package/__chunks__/{chunk-U7KBDVS6.js → chunk-TFHPV32E.js} +2 -2
- package/__chunks__/chunk-TGKOFZA6.js +2 -0
- package/__chunks__/{chunk-7QGLKL3O.js → chunk-TISLGMSV.js} +2 -2
- package/__chunks__/{chunk-MUAY6CGW.js → chunk-TL7TEZ2W.js} +2 -2
- package/__chunks__/{chunk-RRSKW4X3.js → chunk-TLTHNUIC.js} +2 -2
- package/__chunks__/{chunk-2O6TN52D.js → chunk-TND4YGPU.js} +2 -2
- package/__chunks__/{chunk-OMEP276V.js → chunk-TOHJ5Z62.js} +2 -2
- package/__chunks__/{chunk-F4GPMVZ3.js → chunk-TPM3TS6U.js} +2 -2
- package/__chunks__/{chunk-5ATU6BWE.js → chunk-TSZZ3U7B.js} +2 -2
- package/__chunks__/{chunk-XBMWOW2U.js → chunk-TUNVB2YQ.js} +2 -2
- package/__chunks__/{chunk-VFPMVVL7.js → chunk-TWHOHGFZ.js} +2 -2
- package/__chunks__/chunk-TWQWSK2Y.js +2 -0
- package/__chunks__/{chunk-NWAWFX5O.js → chunk-TZH67S4T.js} +2 -2
- package/__chunks__/{chunk-VWYE2PDV.js → chunk-TZURT6JT.js} +2 -2
- package/__chunks__/{chunk-E73S2DQF.js → chunk-TZVL2PLD.js} +2 -2
- package/__chunks__/{chunk-5PH62EO2.js → chunk-U7LXSR4V.js} +2 -2
- package/__chunks__/{chunk-7HF7RMSM.js → chunk-U7MZFICS.js} +2 -2
- package/__chunks__/{chunk-RBHZ2TA2.js → chunk-UHV6PTOI.js} +2 -2
- package/__chunks__/{chunk-AILGLGLT.js → chunk-UIQYWHBC.js} +2 -2
- package/__chunks__/{chunk-D3FMLDSW.js → chunk-ULMTIDGZ.js} +2 -2
- package/__chunks__/chunk-UQMGB6GS.js +2 -0
- package/__chunks__/{chunk-CLBIWLXP.js → chunk-UV2TKIMV.js} +2 -2
- package/__chunks__/{chunk-ZLJZXJMQ.js → chunk-UX4Y2OL4.js} +2 -2
- package/__chunks__/{chunk-XUZZU2SJ.js → chunk-V5WTTIX5.js} +2 -2
- package/__chunks__/{chunk-AXIF35TD.js → chunk-VCZKO4K3.js} +2 -2
- package/__chunks__/{chunk-HESHBYEE.js → chunk-VD3BFO4N.js} +2 -2
- package/__chunks__/chunk-VE2ECT2B.js +2 -0
- package/__chunks__/{chunk-72AKFMHW.js → chunk-VGOFY3CC.js} +2 -2
- package/__chunks__/{chunk-XX6WKYPF.js → chunk-VQIJNR2Y.js} +2 -2
- package/__chunks__/{chunk-7B66IZJD.js → chunk-VXHEOXPJ.js} +2 -2
- package/__chunks__/{chunk-J5WPVXJV.js → chunk-VXXQX2NX.js} +2 -2
- package/__chunks__/{chunk-UDWLOK2I.js → chunk-W3CSKBCR.js} +2 -2
- package/__chunks__/{chunk-MALUP4TG.js → chunk-W3KXYTDC.js} +2 -2
- package/__chunks__/chunk-W4MZ4QSC.js +2 -0
- package/__chunks__/{chunk-GKYDXH5T.js → chunk-W4WKCPA4.js} +2 -2
- package/__chunks__/{chunk-7LLTMYSC.js → chunk-W5K3CDBQ.js} +2 -2
- package/__chunks__/chunk-W64FNS32.js +2 -0
- package/__chunks__/{chunk-4NXNLUI5.js → chunk-WHX4MZVD.js} +2 -2
- package/__chunks__/{chunk-4CNJEAQC.js → chunk-WIQLJFDL.js} +2 -2
- package/__chunks__/{chunk-4K3BXOL5.js → chunk-WLHFDR3E.js} +2 -2
- package/__chunks__/chunk-WMJYYAXE.js +2 -0
- package/__chunks__/{chunk-JVFR4K57.js → chunk-WOUYL4LT.js} +2 -2
- package/__chunks__/{chunk-U2YJMXQE.js → chunk-WVUTLYCS.js} +2 -2
- package/__chunks__/{chunk-ZXF7VTXT.js → chunk-WYIJSVQE.js} +2 -2
- package/__chunks__/{chunk-WLZPLFLW.js → chunk-X6MCSWM3.js} +2 -2
- package/__chunks__/{chunk-KMIS2BLG.js → chunk-XB5O3C4D.js} +2 -2
- package/__chunks__/chunk-XJQLYDXU.js +2 -0
- package/__chunks__/{chunk-5GJJYCFY.js → chunk-XMD5LLYN.js} +2 -2
- package/__chunks__/{chunk-RRWWPA5B.js → chunk-XNWSUWXK.js} +2 -2
- package/__chunks__/{chunk-C7BMLFJP.js → chunk-Y7SHZXXR.js} +2 -2
- package/__chunks__/{chunk-LRHEZBAD.js → chunk-YAVS5Q37.js} +2 -2
- package/__chunks__/{chunk-IRCCOKO6.js → chunk-YQGR3E75.js} +2 -2
- package/__chunks__/{chunk-N3ETS4IR.js → chunk-YUCV3UZQ.js} +2 -2
- package/__chunks__/{chunk-EN4QJLZ5.js → chunk-YV2BBHKC.js} +2 -2
- package/__chunks__/{chunk-365T27J6.js → chunk-Z4LZPGDO.js} +2 -2
- package/__chunks__/{chunk-D5UI3QA4.js → chunk-Z57KKFKL.js} +2 -2
- package/__chunks__/chunk-Z7IGO4GT.js +2 -0
- package/__chunks__/chunk-ZBU2YQWY.js +2 -0
- package/__chunks__/{chunk-2SCW4SVI.js → chunk-ZF6DOWZM.js} +2 -2
- package/__chunks__/chunk-ZL4YHWHP.js +2 -0
- package/__chunks__/{chunk-FBCMHXWZ.js → chunk-ZP57YSDQ.js} +2 -2
- package/__chunks__/{chunk-ZJGQI44X.js → chunk-ZR4ASV64.js} +2 -2
- package/__commonjs/UI/SignTransactionsModals/SignTransactionsModals.js +11 -11
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +3 -3
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignWithDeviceModal.js +9 -9
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/SignStepBody.js +2 -2
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/ConfirmAmount.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/index.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/NftSftPreviewComponent/NftSftPreviewComponent.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/NftSftPreviewComponent/index.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/TokenAvatar/TokenAvatar.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/TokenAvatar/index.js +1 -1
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/index.js +2 -2
- package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/index.js +9 -9
- package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/LedgerGuardianSigningModalError.js +14 -14
- package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/SignWithLedgerModal.js +4 -4
- package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/index.js +4 -4
- package/__commonjs/UI/SignTransactionsModals/SignWithOperaModal/SignWithOperaModal.js +3 -3
- package/__commonjs/UI/SignTransactionsModals/SignWithOperaModal/index.js +3 -3
- package/__commonjs/UI/SignTransactionsModals/components/ConfirmationScreen.js +2 -2
- package/__commonjs/UI/SignTransactionsModals/components/DeviceConfirmationScreen.js +2 -2
- package/__commonjs/UI/SignTransactionsModals/components/TransactionStatusToast.js +2 -2
- package/__commonjs/UI/SignTransactionsModals/components/index.js +12 -12
- package/__commonjs/UI/SignTransactionsModals/index.js +11 -11
- package/__commonjs/UI/TransactionDetails/TransactionDetails.js +1 -1
- package/__commonjs/UI/TransactionDetails/components/TransactionDetailsBody.js +1 -1
- package/__commonjs/UI/TransactionDetails/components/index.js +1 -1
- package/__commonjs/UI/TransactionDetails/index.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/DataDecode/DataDecode.js +1 -1
- package/__commonjs/UI/TransactionInfo/components/DataDecode/index.js +2 -2
- package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultHash/ResultHash.js +7 -7
- package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultHash/index.js +4 -4
- package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionNft.js +3 -3
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/TransactionInfoTokenOperations.js +11 -11
- package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/index.js +11 -11
- package/__commonjs/UI/TransactionsTable/components/TransactionValue/TransactionValue.js +4 -4
- package/__commonjs/UI/TransactionsToastList/TransactionsToastList.js +3 -3
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/CustomToast.js +2 -2
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/IconToast.js +2 -2
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/IconToastFooter.js +1 -1
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/TransactionToastFooter.js +1 -1
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/index.js +1 -1
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/index.js +1 -1
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/index.js +2 -2
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/SimpleToast.js +1 -1
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/index.js +2 -2
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/helpers/getIsTransaction.js +1 -1
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/helpers/index.js +1 -1
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/helpers/useMemoizedCloseButton.js +1 -1
- package/__commonjs/UI/TransactionsToastList/components/CustomToast/index.js +2 -2
- package/__commonjs/UI/TransactionsToastList/components/TransactionToast/TransactionToast.js +3 -3
- package/__commonjs/UI/TransactionsToastList/components/TransactionToast/components/DefaultToastDeleteButton.js +1 -1
- package/__commonjs/UI/TransactionsToastList/components/TransactionToast/components/TransactionToastContent.js +2 -2
- package/__commonjs/UI/TransactionsToastList/components/TransactionToast/components/index.js +3 -3
- package/__commonjs/UI/TransactionsToastList/components/TransactionToast/index.js +3 -3
- package/__commonjs/UI/TransactionsToastList/components/TransactionToastGuard.js +3 -3
- package/__commonjs/UI/TransactionsToastList/components/index.js +3 -3
- package/__commonjs/UI/TransactionsToastList/index.js +3 -3
- package/__commonjs/UI/extension/ExtensionLoginButton/ExtensionLoginButton.js +1 -1
- package/__commonjs/UI/extension/ExtensionLoginButton/index.js +1 -1
- package/__commonjs/UI/index.js +20 -20
- package/__commonjs/UI/ledger/LedgerLoginButton/LedgerLoginButton.js +1 -1
- package/__commonjs/UI/ledger/LedgerLoginButton/index.js +1 -1
- package/__commonjs/UI/ledger/LedgerLoginContainer/ConfirmAddress.js +2 -2
- package/__commonjs/UI/ledger/LedgerLoginContainer/index.js +1 -1
- package/__commonjs/UI/ledger/index.js +1 -1
- package/__commonjs/UI/operaWallet/OperaWalletLoginButton/OperaWalletLoginButton.js +1 -1
- package/__commonjs/UI/operaWallet/OperaWalletLoginButton/index.js +1 -1
- package/__commonjs/UI/pages/UnlockPage/index.js +1 -1
- package/__commonjs/UI/pages/index.js +1 -1
- package/__commonjs/UI/walletConnect/WalletConnectLoginButton/WalletConnectLoginButton.js +4 -4
- package/__commonjs/UI/walletConnect/WalletConnectLoginButton/index.js +4 -4
- package/__commonjs/UI/walletConnect/WalletConnectLoginContainer/index.js +5 -5
- package/__commonjs/UI/walletConnect/index.js +4 -4
- package/__commonjs/UI/webWallet/WebWalletLoginButton/WebWalletLoginButton.js +1 -1
- package/__commonjs/UI/webWallet/WebWalletLoginButton/index.js +1 -1
- package/__commonjs/__mocks__/index.js +1 -1
- package/__commonjs/__mocks__/utils/index.js +1 -1
- package/__commonjs/__mocks__/utils/renderWithProvider.js +1 -1
- package/__commonjs/apiCalls/economics/getEconomicsInfo.js +1 -1
- package/__commonjs/apiCalls/transactions/sendSignedTransactions.js +1 -1
- package/__commonjs/components/ProviderInitializer.js +1 -1
- package/__commonjs/components/TransactionSender/index.js +1 -1
- package/__commonjs/components/TransactionStatusToast/FailedTransactionStatusToast.js +2 -2
- package/__commonjs/components/TransactionsTracker/TransactionTracker.js +1 -1
- package/__commonjs/components/TransactionsTracker/index.js +1 -1
- package/__commonjs/components/TransactionsTracker/useTransactionsTracker.js +1 -1
- package/__commonjs/constants/index.js +1 -1
- package/__commonjs/hooks/account/useGetAccount.js +1 -1
- package/__commonjs/hooks/account/useGetAccountInfo.js +1 -1
- package/__commonjs/hooks/account/useGetWebsocketEvent.js +1 -1
- package/__commonjs/hooks/index.js +1 -1
- package/__commonjs/hooks/login/index.js +1 -1
- package/__commonjs/hooks/login/useExtensionLogin.js +1 -1
- package/__commonjs/hooks/login/useLedgerLogin.js +1 -1
- package/__commonjs/hooks/login/useLoginService.js +1 -1
- package/__commonjs/hooks/login/useOperaLogin.js +1 -1
- package/__commonjs/hooks/login/useWalletConnectLogin.js +1 -1
- package/__commonjs/hooks/login/useWalletConnectV2Login.js +1 -1
- package/__commonjs/hooks/login/useWebWalletLogin.js +1 -1
- package/__commonjs/hooks/transactions/helpers/buildBatchId.js +1 -1
- package/__commonjs/hooks/transactions/index.js +1 -1
- package/__commonjs/hooks/transactions/useParseMultiEsdtTransferData.js +1 -1
- package/__commonjs/hooks/transactions/useSignMultipleTransactions.js +1 -1
- package/__commonjs/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
- package/__commonjs/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
- package/__commonjs/reduxStore/persistConfig.js +1 -1
- package/__commonjs/reduxStore/selectors/batchTransactionsSelectors.js +1 -1
- package/__commonjs/reduxStore/selectors/dappConfigSelector.js +1 -1
- package/__commonjs/reduxStore/selectors/modalsSelectors.js +1 -1
- package/__commonjs/reduxStore/slices/transactionsInfoSlice.js +1 -1
- package/__commonjs/services/index.js +1 -1
- package/__commonjs/services/nativeAuth/index.js +1 -1
- package/__commonjs/services/nativeAuth/methods/getNativeAuthConfig.js +1 -1
- package/__commonjs/services/nativeAuth/methods/index.js +1 -1
- package/__commonjs/services/nativeAuth/nativeAuth.d.ts +3 -1
- package/__commonjs/services/nativeAuth/nativeAuth.js +1 -1
- package/__commonjs/types/login.types.d.ts +3 -0
- package/__commonjs/utils/account/signMessage.js +1 -1
- package/__commonjs/utils/operations/calculateFeeInFiat.js +1 -1
- package/__commonjs/utils/operations/denominate.js +1 -1
- package/__commonjs/utils/operations/formatAmount.js +1 -1
- package/__commonjs/utils/transactions/batch/getTransactionsStatus.js +1 -1
- package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getEgldValueData.js +1 -1
- package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromActions.js +1 -1
- package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromDataField.js +1 -1
- package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromOperations.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/getShardText.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/getTransactionActionTokenText.js +1 -1
- package/__commonjs/utils/transactions/transactionInfoHelpers/getTransactionLinkWithLabel.js +1 -1
- package/__commonjs/wrappers/DappProvider/DappProvider.js +1 -1
- package/__commonjs/wrappers/DappProvider/index.js +1 -1
- package/__commonjs/wrappers/index.js +1 -1
- package/__mocks__/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/economics/getEconomicsInfo.js +1 -1
- package/apiCalls/economics/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/BatchTransactionsSender/BatchTransactionsSender.js +1 -1
- package/components/BatchTransactionsSender/index.js +1 -1
- package/components/BatchTransactionsTracker/BatchTransactionsTracker.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/economics/index.js +1 -1
- package/hooks/economics/useGetEgldPrice.js +1 -1
- package/hooks/index.js +1 -1
- package/hooks/login/index.js +1 -1
- package/hooks/login/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/toasts/index.js +1 -1
- package/hooks/toasts/useTransactionsToasts.js +1 -1
- package/hooks/transactions/batch/tracker/useBatchTransactionsTracker.js +1 -1
- package/hooks/transactions/batch/tracker/useCheckBatch.js +1 -1
- package/hooks/transactions/batch/tracker/useCheckBatchesOnWsFailureFallback.js +1 -1
- package/hooks/transactions/batch/tracker/useCheckHangingBatchesFallback.js +1 -1
- package/hooks/transactions/batch/tracker/useUpdateBatch.js +1 -1
- package/hooks/transactions/batch/tracker/useVerifyBatchStatus.js +1 -1
- package/hooks/transactions/batch/useGetBatchStatus.js +1 -1
- package/hooks/transactions/batch/useGetBatches.js +1 -1
- package/hooks/transactions/batch/useResolveBatchStatusResponse.js +1 -1
- package/hooks/transactions/batch/useSendBatchTransactions.js +1 -1
- package/hooks/transactions/helpers/buildBatchId.js +1 -1
- package/hooks/transactions/helpers/checkNeedsGuardianSigning.js +1 -1
- package/hooks/transactions/helpers/extractSessionId.js +1 -1
- package/hooks/transactions/helpers/getShouldMoveTransactionsToSignedState.js +1 -1
- package/hooks/transactions/helpers/index.js +1 -1
- package/hooks/transactions/helpers/useClearTransactionsToSignWithWarning.js +1 -1
- package/hooks/transactions/helpers/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/nativeAuth/index.js +1 -1
- package/services/nativeAuth/methods/getNativeAuthConfig.js +1 -1
- package/services/nativeAuth/methods/index.js +1 -1
- package/services/nativeAuth/nativeAuth.d.ts +3 -1
- package/services/nativeAuth/nativeAuth.js +1 -1
- package/services/transactions/clearTransactions.js +1 -1
- package/services/transactions/getBatchTransactionsStatus.js +1 -1
- package/services/transactions/getTransactionsDetails.js +1 -1
- package/services/transactions/index.js +1 -1
- package/services/transactions/isCrossShardTransaction.js +1 -1
- package/services/transactions/sendBatchTransactions.js +1 -1
- package/services/transactions/sendTransactions.js +1 -1
- package/services/transactions/signTransactions.js +1 -1
- package/services/transactions/transformAndSignTransactions.js +1 -1
- package/services/transactions/updateSignedTransactions.js +1 -1
- package/services/transactions/utils.js +1 -1
- package/types/index.js +1 -1
- package/types/login.types.d.ts +3 -0
- package/types/login.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/calculateFeeInFiat.js +1 -1
- package/utils/operations/calculateFeeLimit.js +1 -1
- package/utils/operations/denominate.js +1 -1
- package/utils/operations/formatAmount.js +1 -1
- package/utils/operations/index.js +1 -1
- package/utils/operations/ledger/getLedgerVersionOptions.js +1 -1
- package/utils/operations/ledger/index.js +1 -1
- package/utils/operations/nominate.js +1 -1
- package/utils/operations/parseAmount.js +1 -1
- package/utils/smartContracts.js +1 -1
- package/utils/toasts/customToastsActions.js +1 -1
- package/utils/toasts/index.js +1 -1
- package/utils/transactions/batch/getTransactionsStatus.js +1 -1
- package/utils/transactions/batch/updateBatchTransactionsStatuses.js +1 -1
- package/utils/transactions/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-2HOVLPAI.js +0 -2
- package/__chunks__/chunk-4UG2JBYU.js +0 -2
- package/__chunks__/chunk-63OV72OW.js +0 -2
- package/__chunks__/chunk-6NLOVYDI.js +0 -2
- package/__chunks__/chunk-6P4JKU7O.js +0 -2
- package/__chunks__/chunk-7CT27RQT.js +0 -2
- package/__chunks__/chunk-7F37MW76.js +0 -2
- package/__chunks__/chunk-7PHB4IHW.js +0 -2
- package/__chunks__/chunk-7RBYOO2J.js +0 -2
- package/__chunks__/chunk-AMNHI3QW.js +0 -2
- package/__chunks__/chunk-BPKJAHYT.js +0 -2
- package/__chunks__/chunk-CIE6DSGF.js +0 -2
- package/__chunks__/chunk-COW7WUHF.js +0 -2
- package/__chunks__/chunk-DPZA5556.js +0 -2
- package/__chunks__/chunk-DWAZWPSE.js +0 -2
- package/__chunks__/chunk-E5THMW5I.js +0 -2
- package/__chunks__/chunk-EQZEJKTR.js +0 -2
- package/__chunks__/chunk-EVXF2BOI.js +0 -2
- package/__chunks__/chunk-FD3VYCS4.js +0 -2
- package/__chunks__/chunk-FFXOJXGN.js +0 -2
- package/__chunks__/chunk-FUIWFYYW.js +0 -2
- package/__chunks__/chunk-FZVPLZOE.js +0 -2
- package/__chunks__/chunk-HPFY6NOU.js +0 -2
- package/__chunks__/chunk-IGROQXUZ.js +0 -2
- package/__chunks__/chunk-IPRFCS7D.js +0 -2
- package/__chunks__/chunk-KK6D6OI6.js +0 -2
- package/__chunks__/chunk-M6BI7ILE.js +0 -2
- package/__chunks__/chunk-MAIOHYCR.js +0 -2
- package/__chunks__/chunk-MAN7DZAK.js +0 -2
- package/__chunks__/chunk-MFK5TIXS.js +0 -2
- package/__chunks__/chunk-MQRTP6HG.js +0 -2
- package/__chunks__/chunk-MUQB6NZD.js +0 -2
- package/__chunks__/chunk-N4YDENJI.js +0 -2
- package/__chunks__/chunk-OIMSUDOK.js +0 -2
- package/__chunks__/chunk-OPNKJA4L.js +0 -2
- package/__chunks__/chunk-QJRS3XXT.js +0 -2
- package/__chunks__/chunk-R34ULZDI.js +0 -2
- package/__chunks__/chunk-SYJSPEIV.js +0 -2
- package/__chunks__/chunk-T26DIT4Y.js +0 -2
- package/__chunks__/chunk-T73DKVUT.js +0 -2
- package/__chunks__/chunk-UDIL7X3Z.js +0 -2
- package/__chunks__/chunk-UMMB4MY5.js +0 -2
- package/__chunks__/chunk-UQPS2RPU.js +0 -2
- package/__chunks__/chunk-WKVTOFIT.js +0 -2
- package/__chunks__/chunk-WPNTJLX5.js +0 -2
- package/__chunks__/chunk-WWYZM6K6.js +0 -2
- package/__chunks__/chunk-WZSDWRXM.js +0 -2
- package/__chunks__/chunk-XWK5XUNJ.js +0 -2
- package/__chunks__/chunk-Y4M6VSON.js +0 -2
- package/__chunks__/chunk-ZKKCLJG5.js +0 -2
- package/__chunks__/chunk-ZPLMSLJT.js +0 -2
- package/__chunks__/chunk-ZS5RFDLW.js +0 -2
- package/__chunks__/chunk-ZS72QLFO.js +0 -2
- package/__chunks__/chunk-ZY4AUE6X.js +0 -2
- package/__chunks__/chunk-ZZ2E3JAN.js +0 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var zi=Object.create;var Fe=Object.defineProperty,qi=Object.defineProperties,Ki=Object.getOwnPropertyDescriptor,Xi=Object.getOwnPropertyDescriptors,Yi=Object.getOwnPropertyNames,to=Object.getOwnPropertySymbols,Zi=Object.getPrototypeOf,Yo=Object.prototype.hasOwnProperty,_t=Object.prototype.propertyIsEnumerable;var lt=(e,o,t)=>o in e?Fe(e,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[o]=t,g=(e,o)=>{for(var t in o||(o={}))Yo.call(o,t)&<(e,t,o[t]);if(to)for(var t of to(o))_t.call(o,t)&<(e,t,o[t]);return e},S=(e,o)=>qi(e,Xi(o));var ye=(e,o)=>{var t={};for(var s in e)Yo.call(e,s)&&o.indexOf(s)<0&&(t[s]=e[s]);if(e!=null&&to)for(var s of to(e))o.indexOf(s)<0&&_t.call(e,s)&&(t[s]=e[s]);return t};var T=(e,o)=>()=>(e&&(o=e(e=0)),o);var U=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports),me=(e,o)=>{for(var t in o)Fe(e,t,{get:o[t],enumerable:!0})},ut=(e,o,t,s)=>{if(o&&typeof o=="object"||typeof o=="function")for(let c of Yi(o))!Yo.call(e,c)&&c!==t&&Fe(e,c,{get:()=>o[c],enumerable:!(s=Ki(o,c))||s.enumerable});return e};var f=(e,o,t)=>(t=e!=null?zi(Zi(e)):{},ut(o||!e||!e.__esModule?Fe(t,"default",{value:e,enumerable:!0}):t,e)),Ue=e=>ut(Fe({},"__esModule",{value:!0}),e);var x=(e,o,t)=>new Promise((s,c)=>{var p=l=>{try{u(t.next(l))}catch(h){c(h)}},m=l=>{try{u(t.throw(l))}catch(h){c(h)}},u=l=>l.done?s(l.value):Promise.resolve(l.value).then(p,m);u((t=t.apply(e,o)).next())});var Tt=U(ro=>{"use strict";n();ro.byteLength=Qi;ro.toByteArray=os;ro.fromByteArray=rs;var H=[],W=[],Ji=typeof Uint8Array!="undefined"?Uint8Array:Array,Zo="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(de=0,gt=Zo.length;de<gt;++de)H[de]=Zo[de],W[Zo.charCodeAt(de)]=de;var de,gt;W["-".charCodeAt(0)]=62;W["_".charCodeAt(0)]=63;function ft(e){var o=e.length;if(o%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var t=e.indexOf("=");t===-1&&(t=o);var s=t===o?0:4-t%4;return[t,s]}function Qi(e){var o=ft(e),t=o[0],s=o[1];return(t+s)*3/4-s}function es(e,o,t){return(o+t)*3/4-t}function os(e){var o,t=ft(e),s=t[0],c=t[1],p=new Ji(es(e,s,c)),m=0,u=c>0?s-4:s,l;for(l=0;l<u;l+=4)o=W[e.charCodeAt(l)]<<18|W[e.charCodeAt(l+1)]<<12|W[e.charCodeAt(l+2)]<<6|W[e.charCodeAt(l+3)],p[m++]=o>>16&255,p[m++]=o>>8&255,p[m++]=o&255;return c===2&&(o=W[e.charCodeAt(l)]<<2|W[e.charCodeAt(l+1)]>>4,p[m++]=o&255),c===1&&(o=W[e.charCodeAt(l)]<<10|W[e.charCodeAt(l+1)]<<4|W[e.charCodeAt(l+2)]>>2,p[m++]=o>>8&255,p[m++]=o&255),p}function ns(e){return H[e>>18&63]+H[e>>12&63]+H[e>>6&63]+H[e&63]}function ts(e,o,t){for(var s,c=[],p=o;p<t;p+=3)s=(e[p]<<16&16711680)+(e[p+1]<<8&65280)+(e[p+2]&255),c.push(ns(s));return c.join("")}function rs(e){for(var o,t=e.length,s=t%3,c=[],p=16383,m=0,u=t-s;m<u;m+=p)c.push(ts(e,m,m+p>u?u:m+p));return s===1?(o=e[t-1],c.push(H[o>>2]+H[o<<4&63]+"==")):s===2&&(o=(e[t-2]<<8)+e[t-1],c.push(H[o>>10]+H[o>>4&63]+H[o<<2&63]+"=")),c.join("")}});var ht=U(Jo=>{n();Jo.read=function(e,o,t,s,c){var p,m,u=c*8-s-1,l=(1<<u)-1,h=l>>1,b=-7,y=t?c-1:0,R=t?-1:1,D=e[o+y];for(y+=R,p=D&(1<<-b)-1,D>>=-b,b+=u;b>0;p=p*256+e[o+y],y+=R,b-=8);for(m=p&(1<<-b)-1,p>>=-b,b+=s;b>0;m=m*256+e[o+y],y+=R,b-=8);if(p===0)p=1-h;else{if(p===l)return m?NaN:(D?-1:1)*(1/0);m=m+Math.pow(2,s),p=p-h}return(D?-1:1)*m*Math.pow(2,p-s)};Jo.write=function(e,o,t,s,c,p){var m,u,l,h=p*8-c-1,b=(1<<h)-1,y=b>>1,R=c===23?Math.pow(2,-24)-Math.pow(2,-77):0,D=s?0:p-1,Q=s?1:-1,no=o<0||o===0&&1/o<0?1:0;for(o=Math.abs(o),isNaN(o)||o===1/0?(u=isNaN(o)?1:0,m=b):(m=Math.floor(Math.log(o)/Math.LN2),o*(l=Math.pow(2,-m))<1&&(m--,l*=2),m+y>=1?o+=R/l:o+=R*Math.pow(2,1-y),o*l>=2&&(m++,l/=2),m+y>=b?(u=0,m=b):m+y>=1?(u=(o*l-1)*Math.pow(2,c),m=m+y):(u=o*Math.pow(2,y-1)*Math.pow(2,c),m=0));c>=8;e[t+D]=u&255,D+=Q,u/=256,c-=8);for(m=m<<c|u,h+=c;h>0;e[t+D]=m&255,D+=Q,m/=256,h-=8);e[t+D-Q]|=no*128}});var Nt=U(Se=>{"use strict";n();var Qo=Tt(),be=ht(),xt=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Se.Buffer=d;Se.SlowBuffer=ms;Se.INSPECT_MAX_BYTES=50;var ao=2147483647;Se.kMaxLength=ao;d.TYPED_ARRAY_SUPPORT=as();!d.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 as(){try{var e=new Uint8Array(1),o={foo:function(){return 42}};return Object.setPrototypeOf(o,Uint8Array.prototype),Object.setPrototypeOf(e,o),e.foo()===42}catch(t){return!1}}Object.defineProperty(d.prototype,"parent",{enumerable:!0,get:function(){if(!!d.isBuffer(this))return this.buffer}});Object.defineProperty(d.prototype,"offset",{enumerable:!0,get:function(){if(!!d.isBuffer(this))return this.byteOffset}});function oe(e){if(e>ao)throw new RangeError('The value "'+e+'" is invalid for option "size"');var o=new Uint8Array(e);return Object.setPrototypeOf(o,d.prototype),o}function d(e,o,t){if(typeof e=="number"){if(typeof o=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return tn(e)}return St(e,o,t)}d.poolSize=8192;function St(e,o,t){if(typeof e=="string")return ss(e,o);if(ArrayBuffer.isView(e))return cs(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(j(e,ArrayBuffer)||e&&j(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(j(e,SharedArrayBuffer)||e&&j(e.buffer,SharedArrayBuffer)))return on(e,o,t);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var s=e.valueOf&&e.valueOf();if(s!=null&&s!==e)return d.from(s,o,t);var c=ps(e);if(c)return c;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return d.from(e[Symbol.toPrimitive]("string"),o,t);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}d.from=function(e,o,t){return St(e,o,t)};Object.setPrototypeOf(d.prototype,Uint8Array.prototype);Object.setPrototypeOf(d,Uint8Array);function wt(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 is(e,o,t){return wt(e),e<=0?oe(e):o!==void 0?typeof t=="string"?oe(e).fill(o,t):oe(e).fill(o):oe(e)}d.alloc=function(e,o,t){return is(e,o,t)};function tn(e){return wt(e),oe(e<0?0:rn(e)|0)}d.allocUnsafe=function(e){return tn(e)};d.allocUnsafeSlow=function(e){return tn(e)};function ss(e,o){if((typeof o!="string"||o==="")&&(o="utf8"),!d.isEncoding(o))throw new TypeError("Unknown encoding: "+o);var t=vt(e,o)|0,s=oe(t),c=s.write(e,o);return c!==t&&(s=s.slice(0,c)),s}function en(e){for(var o=e.length<0?0:rn(e.length)|0,t=oe(o),s=0;s<o;s+=1)t[s]=e[s]&255;return t}function cs(e){if(j(e,Uint8Array)){var o=new Uint8Array(e);return on(o.buffer,o.byteOffset,o.byteLength)}return en(e)}function on(e,o,t){if(o<0||e.byteLength<o)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<o+(t||0))throw new RangeError('"length" is outside of buffer bounds');var s;return o===void 0&&t===void 0?s=new Uint8Array(e):t===void 0?s=new Uint8Array(e,o):s=new Uint8Array(e,o,t),Object.setPrototypeOf(s,d.prototype),s}function ps(e){if(d.isBuffer(e)){var o=rn(e.length)|0,t=oe(o);return t.length===0||e.copy(t,0,0,o),t}if(e.length!==void 0)return typeof e.length!="number"||an(e.length)?oe(0):en(e);if(e.type==="Buffer"&&Array.isArray(e.data))return en(e.data)}function rn(e){if(e>=ao)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ao.toString(16)+" bytes");return e|0}function ms(e){return+e!=e&&(e=0),d.alloc(+e)}d.isBuffer=function(o){return o!=null&&o._isBuffer===!0&&o!==d.prototype};d.compare=function(o,t){if(j(o,Uint8Array)&&(o=d.from(o,o.offset,o.byteLength)),j(t,Uint8Array)&&(t=d.from(t,t.offset,t.byteLength)),!d.isBuffer(o)||!d.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(o===t)return 0;for(var s=o.length,c=t.length,p=0,m=Math.min(s,c);p<m;++p)if(o[p]!==t[p]){s=o[p],c=t[p];break}return s<c?-1:c<s?1:0};d.isEncoding=function(o){switch(String(o).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}};d.concat=function(o,t){if(!Array.isArray(o))throw new TypeError('"list" argument must be an Array of Buffers');if(o.length===0)return d.alloc(0);var s;if(t===void 0)for(t=0,s=0;s<o.length;++s)t+=o[s].length;var c=d.allocUnsafe(t),p=0;for(s=0;s<o.length;++s){var m=o[s];if(j(m,Uint8Array))p+m.length>c.length?d.from(m).copy(c,p):Uint8Array.prototype.set.call(c,m,p);else if(d.isBuffer(m))m.copy(c,p);else throw new TypeError('"list" argument must be an Array of Buffers');p+=m.length}return c};function vt(e,o){if(d.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||j(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 t=e.length,s=arguments.length>2&&arguments[2]===!0;if(!s&&t===0)return 0;for(var c=!1;;)switch(o){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return nn(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return Ct(e).length;default:if(c)return s?-1:nn(e).length;o=(""+o).toLowerCase(),c=!0}}d.byteLength=vt;function ds(e,o,t){var s=!1;if((o===void 0||o<0)&&(o=0),o>this.length||((t===void 0||t>this.length)&&(t=this.length),t<=0)||(t>>>=0,o>>>=0,t<=o))return"";for(e||(e="utf8");;)switch(e){case"hex":return bs(this,o,t);case"utf8":case"utf-8":return kt(this,o,t);case"ascii":return xs(this,o,t);case"latin1":case"binary":return ys(this,o,t);case"base64":return Ts(this,o,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ss(this,o,t);default:if(s)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),s=!0}}d.prototype._isBuffer=!0;function le(e,o,t){var s=e[o];e[o]=e[t],e[t]=s}d.prototype.swap16=function(){var o=this.length;if(o%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<o;t+=2)le(this,t,t+1);return this};d.prototype.swap32=function(){var o=this.length;if(o%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<o;t+=4)le(this,t,t+3),le(this,t+1,t+2);return this};d.prototype.swap64=function(){var o=this.length;if(o%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<o;t+=8)le(this,t,t+7),le(this,t+1,t+6),le(this,t+2,t+5),le(this,t+3,t+4);return this};d.prototype.toString=function(){var o=this.length;return o===0?"":arguments.length===0?kt(this,0,o):ds.apply(this,arguments)};d.prototype.toLocaleString=d.prototype.toString;d.prototype.equals=function(o){if(!d.isBuffer(o))throw new TypeError("Argument must be a Buffer");return this===o?!0:d.compare(this,o)===0};d.prototype.inspect=function(){var o="",t=Se.INSPECT_MAX_BYTES;return o=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(o+=" ... "),"<Buffer "+o+">"};xt&&(d.prototype[xt]=d.prototype.inspect);d.prototype.compare=function(o,t,s,c,p){if(j(o,Uint8Array)&&(o=d.from(o,o.offset,o.byteLength)),!d.isBuffer(o))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof o);if(t===void 0&&(t=0),s===void 0&&(s=o?o.length:0),c===void 0&&(c=0),p===void 0&&(p=this.length),t<0||s>o.length||c<0||p>this.length)throw new RangeError("out of range index");if(c>=p&&t>=s)return 0;if(c>=p)return-1;if(t>=s)return 1;if(t>>>=0,s>>>=0,c>>>=0,p>>>=0,this===o)return 0;for(var m=p-c,u=s-t,l=Math.min(m,u),h=this.slice(c,p),b=o.slice(t,s),y=0;y<l;++y)if(h[y]!==b[y]){m=h[y],u=b[y];break}return m<u?-1:u<m?1:0};function It(e,o,t,s,c){if(e.length===0)return-1;if(typeof t=="string"?(s=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,an(t)&&(t=c?0:e.length-1),t<0&&(t=e.length+t),t>=e.length){if(c)return-1;t=e.length-1}else if(t<0)if(c)t=0;else return-1;if(typeof o=="string"&&(o=d.from(o,s)),d.isBuffer(o))return o.length===0?-1:yt(e,o,t,s,c);if(typeof o=="number")return o=o&255,typeof Uint8Array.prototype.indexOf=="function"?c?Uint8Array.prototype.indexOf.call(e,o,t):Uint8Array.prototype.lastIndexOf.call(e,o,t):yt(e,[o],t,s,c);throw new TypeError("val must be string, number or Buffer")}function yt(e,o,t,s,c){var p=1,m=e.length,u=o.length;if(s!==void 0&&(s=String(s).toLowerCase(),s==="ucs2"||s==="ucs-2"||s==="utf16le"||s==="utf-16le")){if(e.length<2||o.length<2)return-1;p=2,m/=2,u/=2,t/=2}function l(D,Q){return p===1?D[Q]:D.readUInt16BE(Q*p)}var h;if(c){var b=-1;for(h=t;h<m;h++)if(l(e,h)===l(o,b===-1?0:h-b)){if(b===-1&&(b=h),h-b+1===u)return b*p}else b!==-1&&(h-=h-b),b=-1}else for(t+u>m&&(t=m-u),h=t;h>=0;h--){for(var y=!0,R=0;R<u;R++)if(l(e,h+R)!==l(o,R)){y=!1;break}if(y)return h}return-1}d.prototype.includes=function(o,t,s){return this.indexOf(o,t,s)!==-1};d.prototype.indexOf=function(o,t,s){return It(this,o,t,s,!0)};d.prototype.lastIndexOf=function(o,t,s){return It(this,o,t,s,!1)};function ls(e,o,t,s){t=Number(t)||0;var c=e.length-t;s?(s=Number(s),s>c&&(s=c)):s=c;var p=o.length;s>p/2&&(s=p/2);for(var m=0;m<s;++m){var u=parseInt(o.substr(m*2,2),16);if(an(u))return m;e[t+m]=u}return m}function _s(e,o,t,s){return io(nn(o,e.length-t),e,t,s)}function us(e,o,t,s){return io(Is(o),e,t,s)}function gs(e,o,t,s){return io(Ct(o),e,t,s)}function fs(e,o,t,s){return io(ks(o,e.length-t),e,t,s)}d.prototype.write=function(o,t,s,c){if(t===void 0)c="utf8",s=this.length,t=0;else if(s===void 0&&typeof t=="string")c=t,s=this.length,t=0;else if(isFinite(t))t=t>>>0,isFinite(s)?(s=s>>>0,c===void 0&&(c="utf8")):(c=s,s=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var p=this.length-t;if((s===void 0||s>p)&&(s=p),o.length>0&&(s<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");c||(c="utf8");for(var m=!1;;)switch(c){case"hex":return ls(this,o,t,s);case"utf8":case"utf-8":return _s(this,o,t,s);case"ascii":case"latin1":case"binary":return us(this,o,t,s);case"base64":return gs(this,o,t,s);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return fs(this,o,t,s);default:if(m)throw new TypeError("Unknown encoding: "+c);c=(""+c).toLowerCase(),m=!0}};d.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Ts(e,o,t){return o===0&&t===e.length?Qo.fromByteArray(e):Qo.fromByteArray(e.slice(o,t))}function kt(e,o,t){t=Math.min(e.length,t);for(var s=[],c=o;c<t;){var p=e[c],m=null,u=p>239?4:p>223?3:p>191?2:1;if(c+u<=t){var l,h,b,y;switch(u){case 1:p<128&&(m=p);break;case 2:l=e[c+1],(l&192)===128&&(y=(p&31)<<6|l&63,y>127&&(m=y));break;case 3:l=e[c+1],h=e[c+2],(l&192)===128&&(h&192)===128&&(y=(p&15)<<12|(l&63)<<6|h&63,y>2047&&(y<55296||y>57343)&&(m=y));break;case 4:l=e[c+1],h=e[c+2],b=e[c+3],(l&192)===128&&(h&192)===128&&(b&192)===128&&(y=(p&15)<<18|(l&63)<<12|(h&63)<<6|b&63,y>65535&&y<1114112&&(m=y))}}m===null?(m=65533,u=1):m>65535&&(m-=65536,s.push(m>>>10&1023|55296),m=56320|m&1023),s.push(m),c+=u}return hs(s)}var bt=4096;function hs(e){var o=e.length;if(o<=bt)return String.fromCharCode.apply(String,e);for(var t="",s=0;s<o;)t+=String.fromCharCode.apply(String,e.slice(s,s+=bt));return t}function xs(e,o,t){var s="";t=Math.min(e.length,t);for(var c=o;c<t;++c)s+=String.fromCharCode(e[c]&127);return s}function ys(e,o,t){var s="";t=Math.min(e.length,t);for(var c=o;c<t;++c)s+=String.fromCharCode(e[c]);return s}function bs(e,o,t){var s=e.length;(!o||o<0)&&(o=0),(!t||t<0||t>s)&&(t=s);for(var c="",p=o;p<t;++p)c+=As[e[p]];return c}function Ss(e,o,t){for(var s=e.slice(o,t),c="",p=0;p<s.length-1;p+=2)c+=String.fromCharCode(s[p]+s[p+1]*256);return c}d.prototype.slice=function(o,t){var s=this.length;o=~~o,t=t===void 0?s:~~t,o<0?(o+=s,o<0&&(o=0)):o>s&&(o=s),t<0?(t+=s,t<0&&(t=0)):t>s&&(t=s),t<o&&(t=o);var c=this.subarray(o,t);return Object.setPrototypeOf(c,d.prototype),c};function N(e,o,t){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+o>t)throw new RangeError("Trying to access beyond buffer length")}d.prototype.readUintLE=d.prototype.readUIntLE=function(o,t,s){o=o>>>0,t=t>>>0,s||N(o,t,this.length);for(var c=this[o],p=1,m=0;++m<t&&(p*=256);)c+=this[o+m]*p;return c};d.prototype.readUintBE=d.prototype.readUIntBE=function(o,t,s){o=o>>>0,t=t>>>0,s||N(o,t,this.length);for(var c=this[o+--t],p=1;t>0&&(p*=256);)c+=this[o+--t]*p;return c};d.prototype.readUint8=d.prototype.readUInt8=function(o,t){return o=o>>>0,t||N(o,1,this.length),this[o]};d.prototype.readUint16LE=d.prototype.readUInt16LE=function(o,t){return o=o>>>0,t||N(o,2,this.length),this[o]|this[o+1]<<8};d.prototype.readUint16BE=d.prototype.readUInt16BE=function(o,t){return o=o>>>0,t||N(o,2,this.length),this[o]<<8|this[o+1]};d.prototype.readUint32LE=d.prototype.readUInt32LE=function(o,t){return o=o>>>0,t||N(o,4,this.length),(this[o]|this[o+1]<<8|this[o+2]<<16)+this[o+3]*16777216};d.prototype.readUint32BE=d.prototype.readUInt32BE=function(o,t){return o=o>>>0,t||N(o,4,this.length),this[o]*16777216+(this[o+1]<<16|this[o+2]<<8|this[o+3])};d.prototype.readIntLE=function(o,t,s){o=o>>>0,t=t>>>0,s||N(o,t,this.length);for(var c=this[o],p=1,m=0;++m<t&&(p*=256);)c+=this[o+m]*p;return p*=128,c>=p&&(c-=Math.pow(2,8*t)),c};d.prototype.readIntBE=function(o,t,s){o=o>>>0,t=t>>>0,s||N(o,t,this.length);for(var c=t,p=1,m=this[o+--c];c>0&&(p*=256);)m+=this[o+--c]*p;return p*=128,m>=p&&(m-=Math.pow(2,8*t)),m};d.prototype.readInt8=function(o,t){return o=o>>>0,t||N(o,1,this.length),this[o]&128?(255-this[o]+1)*-1:this[o]};d.prototype.readInt16LE=function(o,t){o=o>>>0,t||N(o,2,this.length);var s=this[o]|this[o+1]<<8;return s&32768?s|4294901760:s};d.prototype.readInt16BE=function(o,t){o=o>>>0,t||N(o,2,this.length);var s=this[o+1]|this[o]<<8;return s&32768?s|4294901760:s};d.prototype.readInt32LE=function(o,t){return o=o>>>0,t||N(o,4,this.length),this[o]|this[o+1]<<8|this[o+2]<<16|this[o+3]<<24};d.prototype.readInt32BE=function(o,t){return o=o>>>0,t||N(o,4,this.length),this[o]<<24|this[o+1]<<16|this[o+2]<<8|this[o+3]};d.prototype.readFloatLE=function(o,t){return o=o>>>0,t||N(o,4,this.length),be.read(this,o,!0,23,4)};d.prototype.readFloatBE=function(o,t){return o=o>>>0,t||N(o,4,this.length),be.read(this,o,!1,23,4)};d.prototype.readDoubleLE=function(o,t){return o=o>>>0,t||N(o,8,this.length),be.read(this,o,!0,52,8)};d.prototype.readDoubleBE=function(o,t){return o=o>>>0,t||N(o,8,this.length),be.read(this,o,!1,52,8)};function O(e,o,t,s,c,p){if(!d.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(o>c||o<p)throw new RangeError('"value" argument is out of bounds');if(t+s>e.length)throw new RangeError("Index out of range")}d.prototype.writeUintLE=d.prototype.writeUIntLE=function(o,t,s,c){if(o=+o,t=t>>>0,s=s>>>0,!c){var p=Math.pow(2,8*s)-1;O(this,o,t,s,p,0)}var m=1,u=0;for(this[t]=o&255;++u<s&&(m*=256);)this[t+u]=o/m&255;return t+s};d.prototype.writeUintBE=d.prototype.writeUIntBE=function(o,t,s,c){if(o=+o,t=t>>>0,s=s>>>0,!c){var p=Math.pow(2,8*s)-1;O(this,o,t,s,p,0)}var m=s-1,u=1;for(this[t+m]=o&255;--m>=0&&(u*=256);)this[t+m]=o/u&255;return t+s};d.prototype.writeUint8=d.prototype.writeUInt8=function(o,t,s){return o=+o,t=t>>>0,s||O(this,o,t,1,255,0),this[t]=o&255,t+1};d.prototype.writeUint16LE=d.prototype.writeUInt16LE=function(o,t,s){return o=+o,t=t>>>0,s||O(this,o,t,2,65535,0),this[t]=o&255,this[t+1]=o>>>8,t+2};d.prototype.writeUint16BE=d.prototype.writeUInt16BE=function(o,t,s){return o=+o,t=t>>>0,s||O(this,o,t,2,65535,0),this[t]=o>>>8,this[t+1]=o&255,t+2};d.prototype.writeUint32LE=d.prototype.writeUInt32LE=function(o,t,s){return o=+o,t=t>>>0,s||O(this,o,t,4,4294967295,0),this[t+3]=o>>>24,this[t+2]=o>>>16,this[t+1]=o>>>8,this[t]=o&255,t+4};d.prototype.writeUint32BE=d.prototype.writeUInt32BE=function(o,t,s){return o=+o,t=t>>>0,s||O(this,o,t,4,4294967295,0),this[t]=o>>>24,this[t+1]=o>>>16,this[t+2]=o>>>8,this[t+3]=o&255,t+4};d.prototype.writeIntLE=function(o,t,s,c){if(o=+o,t=t>>>0,!c){var p=Math.pow(2,8*s-1);O(this,o,t,s,p-1,-p)}var m=0,u=1,l=0;for(this[t]=o&255;++m<s&&(u*=256);)o<0&&l===0&&this[t+m-1]!==0&&(l=1),this[t+m]=(o/u>>0)-l&255;return t+s};d.prototype.writeIntBE=function(o,t,s,c){if(o=+o,t=t>>>0,!c){var p=Math.pow(2,8*s-1);O(this,o,t,s,p-1,-p)}var m=s-1,u=1,l=0;for(this[t+m]=o&255;--m>=0&&(u*=256);)o<0&&l===0&&this[t+m+1]!==0&&(l=1),this[t+m]=(o/u>>0)-l&255;return t+s};d.prototype.writeInt8=function(o,t,s){return o=+o,t=t>>>0,s||O(this,o,t,1,127,-128),o<0&&(o=255+o+1),this[t]=o&255,t+1};d.prototype.writeInt16LE=function(o,t,s){return o=+o,t=t>>>0,s||O(this,o,t,2,32767,-32768),this[t]=o&255,this[t+1]=o>>>8,t+2};d.prototype.writeInt16BE=function(o,t,s){return o=+o,t=t>>>0,s||O(this,o,t,2,32767,-32768),this[t]=o>>>8,this[t+1]=o&255,t+2};d.prototype.writeInt32LE=function(o,t,s){return o=+o,t=t>>>0,s||O(this,o,t,4,2147483647,-2147483648),this[t]=o&255,this[t+1]=o>>>8,this[t+2]=o>>>16,this[t+3]=o>>>24,t+4};d.prototype.writeInt32BE=function(o,t,s){return o=+o,t=t>>>0,s||O(this,o,t,4,2147483647,-2147483648),o<0&&(o=4294967295+o+1),this[t]=o>>>24,this[t+1]=o>>>16,this[t+2]=o>>>8,this[t+3]=o&255,t+4};function At(e,o,t,s,c,p){if(t+s>e.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function Et(e,o,t,s,c){return o=+o,t=t>>>0,c||At(e,o,t,4,34028234663852886e22,-34028234663852886e22),be.write(e,o,t,s,23,4),t+4}d.prototype.writeFloatLE=function(o,t,s){return Et(this,o,t,!0,s)};d.prototype.writeFloatBE=function(o,t,s){return Et(this,o,t,!1,s)};function Lt(e,o,t,s,c){return o=+o,t=t>>>0,c||At(e,o,t,8,17976931348623157e292,-17976931348623157e292),be.write(e,o,t,s,52,8),t+8}d.prototype.writeDoubleLE=function(o,t,s){return Lt(this,o,t,!0,s)};d.prototype.writeDoubleBE=function(o,t,s){return Lt(this,o,t,!1,s)};d.prototype.copy=function(o,t,s,c){if(!d.isBuffer(o))throw new TypeError("argument should be a Buffer");if(s||(s=0),!c&&c!==0&&(c=this.length),t>=o.length&&(t=o.length),t||(t=0),c>0&&c<s&&(c=s),c===s||o.length===0||this.length===0)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(s<0||s>=this.length)throw new RangeError("Index out of range");if(c<0)throw new RangeError("sourceEnd out of bounds");c>this.length&&(c=this.length),o.length-t<c-s&&(c=o.length-t+s);var p=c-s;return this===o&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(t,s,c):Uint8Array.prototype.set.call(o,this.subarray(s,c),t),p};d.prototype.fill=function(o,t,s,c){if(typeof o=="string"){if(typeof t=="string"?(c=t,t=0,s=this.length):typeof s=="string"&&(c=s,s=this.length),c!==void 0&&typeof c!="string")throw new TypeError("encoding must be a string");if(typeof c=="string"&&!d.isEncoding(c))throw new TypeError("Unknown encoding: "+c);if(o.length===1){var p=o.charCodeAt(0);(c==="utf8"&&p<128||c==="latin1")&&(o=p)}}else typeof o=="number"?o=o&255:typeof o=="boolean"&&(o=Number(o));if(t<0||this.length<t||this.length<s)throw new RangeError("Out of range index");if(s<=t)return this;t=t>>>0,s=s===void 0?this.length:s>>>0,o||(o=0);var m;if(typeof o=="number")for(m=t;m<s;++m)this[m]=o;else{var u=d.isBuffer(o)?o:d.from(o,c),l=u.length;if(l===0)throw new TypeError('The value "'+o+'" is invalid for argument "value"');for(m=0;m<s-t;++m)this[m+t]=u[m%l]}return this};var ws=/[^+/0-9A-Za-z-_]/g;function vs(e){if(e=e.split("=")[0],e=e.trim().replace(ws,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function nn(e,o){o=o||1/0;for(var t,s=e.length,c=null,p=[],m=0;m<s;++m){if(t=e.charCodeAt(m),t>55295&&t<57344){if(!c){if(t>56319){(o-=3)>-1&&p.push(239,191,189);continue}else if(m+1===s){(o-=3)>-1&&p.push(239,191,189);continue}c=t;continue}if(t<56320){(o-=3)>-1&&p.push(239,191,189),c=t;continue}t=(c-55296<<10|t-56320)+65536}else c&&(o-=3)>-1&&p.push(239,191,189);if(c=null,t<128){if((o-=1)<0)break;p.push(t)}else if(t<2048){if((o-=2)<0)break;p.push(t>>6|192,t&63|128)}else if(t<65536){if((o-=3)<0)break;p.push(t>>12|224,t>>6&63|128,t&63|128)}else if(t<1114112){if((o-=4)<0)break;p.push(t>>18|240,t>>12&63|128,t>>6&63|128,t&63|128)}else throw new Error("Invalid code point")}return p}function Is(e){for(var o=[],t=0;t<e.length;++t)o.push(e.charCodeAt(t)&255);return o}function ks(e,o){for(var t,s,c,p=[],m=0;m<e.length&&!((o-=2)<0);++m)t=e.charCodeAt(m),s=t>>8,c=t%256,p.push(c),p.push(s);return p}function Ct(e){return Qo.toByteArray(vs(e))}function io(e,o,t,s){for(var c=0;c<s&&!(c+t>=o.length||c>=e.length);++c)o[c+t]=e[c];return c}function j(e,o){return e instanceof o||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===o.name}function an(e){return e!==e}var As=function(){for(var e="0123456789abcdef",o=new Array(256),t=0;t<16;++t)for(var s=t*16,c=0;c<16;++c)o[s+c]=e[t]+e[c];return o}()});var Mt=U((fl,Ot)=>{n();var E=Ot.exports={},z,q;function sn(){throw new Error("setTimeout has not been defined")}function cn(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?z=setTimeout:z=sn}catch(e){z=sn}try{typeof clearTimeout=="function"?q=clearTimeout:q=cn}catch(e){q=cn}})();function Pt(e){if(z===setTimeout)return setTimeout(e,0);if((z===sn||!z)&&setTimeout)return z=setTimeout,setTimeout(e,0);try{return z(e,0)}catch(o){try{return z.call(null,e,0)}catch(t){return z.call(this,e,0)}}}function Es(e){if(q===clearTimeout)return clearTimeout(e);if((q===cn||!q)&&clearTimeout)return q=clearTimeout,clearTimeout(e);try{return q(e)}catch(o){try{return q.call(null,e)}catch(t){return q.call(this,e)}}}var ne=[],we=!1,_e,so=-1;function Ls(){!we||!_e||(we=!1,_e.length?ne=_e.concat(ne):so=-1,ne.length&&Dt())}function Dt(){if(!we){var e=Pt(Ls);we=!0;for(var o=ne.length;o;){for(_e=ne,ne=[];++so<o;)_e&&_e[so].run();so=-1,o=ne.length}_e=null,we=!1,Es(e)}}E.nextTick=function(e){var o=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)o[t-1]=arguments[t];ne.push(new Rt(e,o)),ne.length===1&&!we&&Pt(Dt)};function Rt(e,o){this.fun=e,this.array=o}Rt.prototype.run=function(){this.fun.apply(null,this.array)};E.title="browser";E.browser=!0;E.env={};E.argv=[];E.version="";E.versions={};function te(){}E.on=te;E.addListener=te;E.once=te;E.off=te;E.removeListener=te;E.removeAllListeners=te;E.emit=te;E.prependListener=te;E.prependOnceListener=te;E.listeners=function(e){return[]};E.binding=function(e){throw new Error("process.binding is not supported")};E.cwd=function(){return"/"};E.chdir=function(e){throw new Error("process.chdir is not supported")};E.umask=function(){return 0}});var a,i,Cs,r,n=T(()=>{a=f(Nt()),i=f(Mt()),Cs=function(e){function o(){var s=this||self;return delete e.prototype.__magic__,s}if(typeof globalThis=="object")return globalThis;if(this)return o();e.defineProperty(e.prototype,"__magic__",{configurable:!0,get:o});var t=__magic__;return t}(Object),r=Cs});var A=T(()=>{"use strict";n()});function Ie(e){return e!=null&&(Vs(e)||Wt(e))}function ke(e){return e!=null&&($s(e)||qs(e))}function Ae(e){return e!=null&&(Hs(e)||Ks(e))}function Gt(e){return e!=null&&(js(e)||Xs(e))}function dn(e){return e!=null&&zs(e)}function Vs(e){return e!=null&&Ds.includes(e)}function $s(e){return e!=null&&Rs.includes(e)}function Hs(e){return e!=null&&Os.includes(e)}function js(e){return e!=null&&Ms.includes(e)}function zs(e){return e!=null&&Bs.includes(e)}function Wt(e){return e!=null&&Fs.includes(e)}function qs(e){return e!=null&&Us.includes(e)}function Ks(e){return e!=null&&Gs.includes(e)}function Xs(e){return e!=null&&Ws.includes(e)}var Ds,Rs,Os,Ms,Bs,Fs,Us,Gs,Ws,ue=T(()=>{"use strict";n();A();Ds=["sent"],Rs=["success"],Os=["fail","cancelled","timedOut"],Ms=["invalid"],Bs=["timedOut"],Fs=["pending"],Us=["success"],Gs=["fail","invalid"],Ws=["not executed"]});var ge=T(()=>{"use strict";n()});var ln=T(()=>{"use strict";n()});var Vt=T(()=>{"use strict";n()});var $t=T(()=>{"use strict";n()});var Ht=T(()=>{"use strict";n()});var jt=T(()=>{"use strict";n()});var M=T(()=>{"use strict";n()});var zt=T(()=>{"use strict";n()});var qt=T(()=>{"use strict";n()});var Kt=T(()=>{"use strict";n()});var C=T(()=>{"use strict";n();ln();Vt();$t();A();Ht();jt();M();zt();qt();Kt()});var Ee,Xt,Wl,Yt,Vl,Zt,$l,Hl,Ys,Ge=T(()=>{"use strict";n();C();Ee={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:Xt,egldLabel:Wl}=Ee["devnet"],{chainId:Yt,egldLabel:Vl}=Ee["testnet"],{chainId:Zt,egldLabel:$l}=Ee["mainnet"],Hl={["devnet"]:Xt,["testnet"]:Yt,["mainnet"]:Zt},Ys={[Xt]:"devnet",[Yt]:"testnet",[Zt]:"mainnet"}});var _n=T(()=>{"use strict";n()});var Jt=T(()=>{"use strict";n()});var co,un=T(()=>{"use strict";n();co="transaction-status-toast-id"});var K,Qt=T(()=>{"use strict";n();K=require("@multiversx/sdk-web-wallet-provider")});var er=T(()=>{"use strict";n()});var or=T(()=>{"use strict";n()});var We,po,nr,mo,tr,Le,w=T(()=>{"use strict";n();ge();Ge();_n();Jt();un();Qt();er();or();We=5e4,po=1e9,nr=1,mo="logout",tr="login",Le="0"});var Ve,lo=T(()=>{"use strict";n();Ve=()=>Date.now()/1e3});var rr=T(()=>{"use strict";n()});var ar=T(()=>{"use strict";n()});var gn=T(()=>{"use strict";n();lo();rr();ar()});var Tn={};me(Tn,{getItem:()=>Js,localStorageKeys:()=>pe,removeItem:()=>Qs,setItem:()=>Zs});var pe,fn,Zs,Js,Qs,Ce=T(()=>{"use strict";n();gn();pe={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event"},fn=typeof localStorage!="undefined",Zs=({key:e,data:o,expires:t})=>{!fn||localStorage.setItem(String(e),JSON.stringify({expires:t,data:o}))},Js=e=>{if(!fn)return;let o=localStorage.getItem(String(e));if(!o)return null;let t=JSON.parse(o);return!t||!t.hasOwnProperty("expires")||!t.hasOwnProperty("data")?null:Ve()>=t.expires?(localStorage.removeItem(String(e)),null):t.data},Qs=e=>{!fn||localStorage.removeItem(String(e))}});var hn={};me(hn,{clear:()=>pr,getItem:()=>sr,removeItem:()=>cr,setItem:()=>ir,storage:()=>ec});var ir,sr,cr,pr,ec,mr=T(()=>{"use strict";n();ir=({key:e,data:o,expires:t})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:t,data:o}))},sr=e=>{let o=sessionStorage.getItem(String(e));if(!o)return null;let t=JSON.parse(o);return!t||!t.hasOwnProperty("expires")||!t.hasOwnProperty("data")?null:Date.now()>=t.expires?(sessionStorage.removeItem(String(e)),null):t.data},cr=e=>sessionStorage.removeItem(String(e)),pr=()=>sessionStorage.clear(),ec={setItem:ir,getItem:sr,removeItem:cr,clear:pr}});var fe,Ne=T(()=>{"use strict";n();Ce();mr();fe={session:hn,local:Tn}});var xn,L,X,P=T(()=>{"use strict";n();xn=require("@reduxjs/toolkit");w();L=(0,xn.createAction)(mo),X=(0,xn.createAction)(tr,e=>({payload:e}))});var bn,dr,lr,_o,yn,_r,Sn,v_,wn,I_,oc,nc,k_,A_,E_,tc,rc,uo,go=T(()=>{"use strict";n();bn=require("@multiversx/sdk-core"),dr=require("@reduxjs/toolkit"),lr=require("redux-persist");w();Ne();Ce();P();_o={balance:"...",address:"",isGuarded:!1,nonce:0,txCount:0,scrCount:0,claimableRewards:Le},yn={address:"",websocketEvent:null,websocketBatchEvent:null,accounts:{"":_o},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},_r=(0,dr.createSlice)({name:"accountInfoSlice",initialState:yn,reducers:{setAddress:(e,o)=>{let t=o.payload;e.address=t,e.publicKey=new bn.Address(t).hex()},setAccount:(e,o)=>{let t=e.address===o.payload.address;e.accounts={[e.address]:t?o.payload:_o},e.shard=o.payload.shard,e.isAccountLoading=!1,e.accountLoadingError=null},setAccountNonce:(e,o)=>{let{address:t}=e;e.accounts[t].nonce=o.payload},setAccountShard:(e,o)=>{e.shard=o.payload},setLedgerAccount:(e,o)=>{e.ledgerAccount=o.payload},updateLedgerAccount:(e,o)=>{e.ledgerAccount!=null&&(e.ledgerAccount.index=o.payload.index,e.ledgerAccount.address=o.payload.address)},setWalletConnectAccount:(e,o)=>{e.walletConnectAccount=o.payload},setIsAccountLoading:(e,o)=>{e.isAccountLoading=o.payload,e.accountLoadingError=null},setAccountLoadingError:(e,o)=>{e.accountLoadingError=o.payload,e.isAccountLoading=!1},setWebsocketEvent:(e,o)=>{e.websocketEvent={timestamp:Date.now(),message:o.payload}},setWebsocketBatchEvent:(e,o)=>{e.websocketBatchEvent={timestamp:Date.now(),data:o.payload}}},extraReducers:e=>{e.addCase(L,()=>(fe.local.removeItem(pe.loginExpiresAt),yn)),e.addCase(X,(o,t)=>{let{address:s}=t.payload;o.address=s,o.publicKey=new bn.Address(s).hex()}),e.addCase(lr.REHYDRATE,(o,t)=>{var h;if(!((h=t.payload)!=null&&h.account))return;let{account:s}=t.payload,{address:c,shard:p,accounts:m,publicKey:u}=s;o.address=c,o.shard=p;let l=m&&c in m;o.accounts=l?m:yn.accounts,o.publicKey=u})}}),{setAccount:Sn,setAddress:v_,setAccountNonce:wn,setAccountShard:I_,setLedgerAccount:oc,updateLedgerAccount:nc,setWalletConnectAccount:k_,setIsAccountLoading:A_,setAccountLoadingError:E_,setWebsocketEvent:tc,setWebsocketBatchEvent:rc}=_r.actions,uo=_r.reducer});function $e(){return new Date().setHours(new Date().getHours()+24)}function He(e){fe.local.setItem({key:pe.loginExpiresAt,data:e,expires:e})}var vn=T(()=>{"use strict";n();Ne();Ce()});var gr,ur,fr,F_,Tr,ac,ic,U_,sc,hr,G_,fo,To=T(()=>{"use strict";n();gr=require("@reduxjs/toolkit");vn();A();P();ur={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,operaLogin:null,isLoginSessionInvalid:!1},fr=(0,gr.createSlice)({name:"loginInfoSlice",initialState:ur,reducers:{setLoginMethod:(e,o)=>{e.loginMethod=o.payload},setTokenLogin:(e,o)=>{e.tokenLogin=o.payload},setTokenLoginSignature:(e,o)=>{(e==null?void 0:e.tokenLogin)!=null&&(e.tokenLogin.signature=o.payload)},setWalletLogin:(e,o)=>{e.walletLogin=o.payload},setWalletConnectLogin:(e,o)=>{e.walletConnectLogin=o.payload},setLedgerLogin:(e,o)=>{e.ledgerLogin=o.payload},invalidateLoginSession:e=>{e.isLoginSessionInvalid=!0},setLogoutRoute:(e,o)=>{e.logoutRoute=o.payload}},extraReducers:e=>{e.addCase(L,()=>ur),e.addCase(X,(o,t)=>{o.loginMethod=t.payload.loginMethod,He($e())})}}),{setLoginMethod:F_,setWalletConnectLogin:Tr,setLedgerLogin:ac,setTokenLogin:ic,setTokenLoginSignature:U_,setWalletLogin:sc,invalidateLoginSession:hr,setLogoutRoute:G_}=fr.actions,fo=fr.reducer});var yr,xr,br,H_,cc,j_,pc,ho,xo=T(()=>{"use strict";n();yr=require("@reduxjs/toolkit");P();xr={},br=(0,yr.createSlice)({name:"modalsSlice",initialState:xr,reducers:{setTxSubmittedModal:(e,o)=>{e.txSubmittedModal=o.payload},setNotificationModal:(e,o)=>{e.notificationModal=o.payload},clearTxSubmittedModal:e=>{e.txSubmittedModal=void 0},clearNotificationModal:e=>{e.notificationModal=void 0}},extraReducers:e=>{e.addCase(L,()=>xr)}}),{setTxSubmittedModal:H_,setNotificationModal:cc,clearTxSubmittedModal:j_,clearNotificationModal:pc}=br.actions,ho=br.reducer});var je=T(()=>{"use strict";n()});var wr=T(()=>{"use strict";n();je()});function In(e){return e[Math.floor(Math.random()*e.length)]}var vr=T(()=>{"use strict";n()});var kn=T(()=>{"use strict";n();_n()});var Te=T(()=>{"use strict";n();wr();vr();kn()});var Ir,kr,An,mc,Ar,iu,su,yo,bo=T(()=>{"use strict";n();Ir=require("@reduxjs/toolkit"),kr=f(require("lodash.omit"));Te();An={id:"not-configured",chainId:"",name:"NOT CONFIGURED",egldLabel:"",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"",walletConnectBridgeAddress:"",walletConnectV2RelayAddress:"",walletConnectV2ProjectId:"",walletConnectV2Options:{},walletAddress:"",apiAddress:"",explorerAddress:"",apiTimeout:"4000"},mc={network:An,chainID:"-1"},Ar=(0,Ir.createSlice)({name:"appConfig",initialState:mc,reducers:{initializeNetworkConfig:(e,o)=>{let t=In(o.payload.walletConnectBridgeAddresses),s=In(o.payload.walletConnectV2RelayAddresses),c=(0,kr.default)(o.payload,"walletConnectBridgeAddresses","walletConnectV2RelayAddresses");e.network=S(g(g({},e.network),c),{walletConnectBridgeAddress:t,walletConnectV2RelayAddress:s})},setChainID:(e,o)=>{e.chainID=o.payload}}}),{initializeNetworkConfig:iu,setChainID:su}=Ar.actions,yo=Ar.reducer});var Er,En,Lr,_u,uu,gu,So,wo=T(()=>{"use strict";n();Er=require("@reduxjs/toolkit");C();P();En={isSigning:!1,signedSessions:{}},Lr=(0,Er.createSlice)({name:"signedMessageInfoSliceState",initialState:En,reducers:{setSignSession:(e,o)=>{let{sessionId:t,signedSession:s,errorMessage:c}=o.payload;c&&(e.errorMessage=c),e.isSigning=s.status==="pending",e.signedSessions[t]=s},setSignSessionState:(e,o)=>g(g({},e),o.payload),clearSignedMessageInfo:()=>En},extraReducers:e=>{e.addCase(L,()=>En)}}),{setSignSession:_u,clearSignedMessageInfo:uu,setSignSessionState:gu}=Lr.actions,So=Lr.reducer});var Nr,Pr,Cr,Dr,dc,Ln,wu,lc,vu,Iu,vo,Io=T(()=>{"use strict";n();Nr=require("@reduxjs/toolkit"),Pr=require("redux-persist");un();C();lo();P();Cr={customToasts:[],transactionToasts:[],failTransactionToast:null},Dr=(0,Nr.createSlice)({name:"toastsSlice",initialState:Cr,reducers:{addCustomToast:(e,o)=>{e.customToasts.push(S(g({},o.payload),{type:"custom",toastId:o.payload.toastId||`custom-toast-${e.customToasts.length+1}`}))},removeCustomToast:(e,o)=>{e.customToasts=e.customToasts.filter(t=>t.toastId!==o.payload)},addTransactionToast:(e,o)=>{e.transactionToasts.push({type:"transaction",startTimestamp:Ve(),toastId:o.payload||`custom-toast-${e.transactionToasts.length+1}`})},removeTransactionToast:(e,o)=>{e.transactionToasts=e.transactionToasts.filter(t=>t.toastId!==o.payload)},addFailTransactionToast:(e,o)=>{e.failTransactionToast=S(g({},o.payload),{toastId:co})},removeFailTransactionToast:e=>{e.failTransactionToast=null}},extraReducers:e=>{e.addCase(L,()=>Cr),e.addCase(Pr.REHYDRATE,(o,t)=>{var c,p;let s=(p=(c=t.customToasts)==null?void 0:c.filter(m=>!("component"in m)))!=null?p:[];o.customToasts=s})}}),{addCustomToast:dc,removeCustomToast:Ln,addTransactionToast:wu,removeTransactionToast:lc,addFailTransactionToast:vu,removeFailTransactionToast:Iu}=Dr.actions,vo=Dr.reducer});var Rr,Nn,Pn,Dn,_c,Cn,Or,Lu,uc,Rn,ko,Ao=T(()=>{"use strict";n();Rr=require("@reduxjs/toolkit");P();Nn="Transaction failed",Pn="Transaction successful",Dn="Processing transaction",_c="Transaction submitted",Cn={},Or=(0,Rr.createSlice)({name:"transactionsInfo",initialState:Cn,reducers:{setTransactionsDisplayInfo(e,o){let{sessionId:t,transactionsDisplayInfo:s}=o.payload;t!=null&&(e[t]={errorMessage:(s==null?void 0:s.errorMessage)||Nn,successMessage:(s==null?void 0:s.successMessage)||Pn,processingMessage:(s==null?void 0:s.processingMessage)||Dn,submittedMessage:(s==null?void 0:s.submittedMessage)||_c,transactionDuration:s==null?void 0:s.transactionDuration})},clearTransactionsInfoForSessionId(e,o){o.payload!=null&&delete e[o.payload]},clearTransactionsInfo:()=>Cn},extraReducers:e=>{e.addCase(L,()=>Cn)}}),{clearTransactionsInfo:Lu,setTransactionsDisplayInfo:uc,clearTransactionsInfoForSessionId:Rn}=Or.actions,ko=Or.reducer});var Mr,Br,ze,gc,Fr,Ur,Gr,fc,Eo,Tc,hc,Mu,xc,qe,On,Lo,Co=T(()=>{"use strict";n();Mr=require("@reduxjs/toolkit"),Br=require("redux-persist");A();ue();P();ze={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},gc={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},Fr=(0,Mr.createSlice)({name:"transactionsSlice",initialState:ze,reducers:{moveTransactionsToSignedState:(e,o)=>{var h,b;let{sessionId:t,transactions:s,errorMessage:c,status:p,redirectRoute:m,customTransactionInformation:u={}}=o.payload,l=((h=e.customTransactionInformationForSessionId)==null?void 0:h[t])||gc;e.signedTransactions[t]={transactions:s,status:p,errorMessage:c,redirectRoute:m,customTransactionInformation:g(g({},l),u)},((b=e==null?void 0:e.transactionsToSign)==null?void 0:b.sessionId)===t&&(e.transactionsToSign=ze.transactionsToSign)},clearSignedTransaction:(e,o)=>{e.signedTransactions[o.payload]&&delete e.signedTransactions[o.payload]},clearTransactionToSign:e=>{e!=null&&e.transactionsToSign&&(e.transactionsToSign=null)},updateSignedTransaction:(e,o)=>{e.signedTransactions=g(g({},e.signedTransactions),o.payload)},updateSignedTransactions:(e,o)=>{let{sessionId:t,status:s,errorMessage:c,transactions:p}=o.payload;e.signedTransactions[t]!=null&&(e.signedTransactions[t].status=s,c!=null&&(e.signedTransactions[t].errorMessage=c),p!=null&&(e.signedTransactions[t].transactions=p))},updateSignedTransactionStatus:(e,o)=>{var l,h,b,y,R,D,Q,no;let{sessionId:t,status:s,errorMessage:c,transactionHash:p,inTransit:m}=o.payload,u=(h=(l=e.signedTransactions)==null?void 0:l[t])==null?void 0:h.transactions;if(u!=null){e.signedTransactions[t].transactions=u.map(ee=>ee.hash===p?S(g({},ee),{status:s,errorMessage:c,inTransit:m}):ee);let $i=(y=(b=e.signedTransactions[t])==null?void 0:b.transactions)==null?void 0:y.every(ee=>ke(ee.status)),Hi=(D=(R=e.signedTransactions[t])==null?void 0:R.transactions)==null?void 0:D.every(ee=>Ae(ee.status)),ji=(no=(Q=e.signedTransactions[t])==null?void 0:Q.transactions)==null?void 0:no.every(ee=>Gt(ee.status));$i&&(e.signedTransactions[t].status="success"),Hi&&(e.signedTransactions[t].status="fail"),ji&&(e.signedTransactions[t].status="invalid")}},setTransactionsToSign:(e,o)=>{e.transactionsToSign=o.payload;let{sessionId:t,customTransactionInformation:s}=o.payload;e.customTransactionInformationForSessionId[t]=s,e.signTransactionsError=null},clearAllTransactionsToSign:e=>{e.transactionsToSign=ze.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=ze.signedTransactions},setSignTransactionsError:(e,o)=>{e.signTransactionsError=o.payload},setSignTransactionsCancelMessage:(e,o)=>{e.signTransactionsCancelMessage=o.payload}},extraReducers:e=>{e.addCase(L,()=>ze),e.addCase(Br.REHYDRATE,(o,t)=>{var m;if(o.signTransactionsCancelMessage=null,!((m=t.payload)!=null&&m.transactions))return;let{signedTransactions:s,customTransactionInformationForSessionId:c}=t.payload.transactions,p=Object.entries(s).reduce((u,[l,h])=>{let b=new Date(l),y=new Date;return y.setHours(y.getHours()+5),y-b>0||(u[l]=h),u},{});c!=null&&(o.customTransactionInformationForSessionId=c),s!=null&&(o.signedTransactions=p)})}}),{updateSignedTransactionStatus:Ur,updateSignedTransactions:Gr,setTransactionsToSign:fc,clearAllTransactionsToSign:Eo,clearAllSignedTransactions:Tc,clearSignedTransaction:hc,clearTransactionToSign:Mu,setSignTransactionsError:xc,setSignTransactionsCancelMessage:qe,moveTransactionsToSignedState:On}=Fr.actions,Lo=Fr.reducer});var Wr,Mn,Vr,Gu,Wu,yc,Vu,No,Po=T(()=>{"use strict";n();Wr=require("@reduxjs/toolkit");P();Mn={},Vr=(0,Wr.createSlice)({name:"batchTransactionsSlice",initialState:Mn,reducers:{setBatchTransactions:(e,o)=>{e[o.payload.id]=o.payload},updateBatchTransactions:(e,o)=>{e[o.payload.id]=o.payload},clearBatchTransactions:(e,o)=>{delete e[o.payload.batchId]},clearAllBatchTransactions:()=>Mn},extraReducers:e=>{e.addCase(L,()=>Mn)}}),{setBatchTransactions:Gu,updateBatchTransactions:Wu,clearBatchTransactions:yc,clearAllBatchTransactions:Vu}=Vr.actions,No=Vr.reducer});var Hr,$r,jr,zu,zr,Bn=T(()=>{"use strict";n();Hr=require("@reduxjs/toolkit");P();$r={},jr=(0,Hr.createSlice)({name:"dappConfigSlice",initialState:$r,reducers:{setDappConfig:(e,o)=>{if(e&&o.payload){let{logoutRoute:t,shouldUseWebViewProvider:s}=o.payload;e.logoutRoute=t,e.shouldUseWebViewProvider=s}else e=o.payload}},extraReducers:e=>{e.addCase(L,()=>$r)}}),{setDappConfig:zu}=jr.actions,zr=jr.reducer});var k=T(()=>{"use strict";n();go();To();xo();bo();wo();Io();Ao();Co();Po();Bn()});var Vn=T(()=>{"use strict";n()});var sa,ia,ca,xf,yf,bf,Sf,wf,vf,pa,ma=T(()=>{"use strict";n();sa=require("@reduxjs/toolkit");P();ia={visible:!1,modal:{showHeader:!0,showFooter:!1,headerText:"",footerText:""}},ca=(0,sa.createSlice)({name:"dappModalsSlice",initialState:ia,reducers:{setDappModalVisibility:(e,o)=>{e.visible=o.payload},setDappModalHeaderVisibility:(e,o)=>{e.modal.showHeader=o.payload},setDappModalFooterVisibility:(e,o)=>{e.modal.showFooter=o.payload},setDappModalHeaderText:(e,o)=>{e.modal.headerText=o.payload},setDappModalFooterText:(e,o)=>{e.modal.footerText=o.payload},setDappModalConfig:(e,o)=>{e.modal=g({},o.payload)}},extraReducers:e=>{e.addCase(L,()=>ia)}}),{setDappModalVisibility:xf,setDappModalHeaderVisibility:yf,setDappModalFooterVisibility:bf,setDappModalHeaderText:Sf,setDappModalFooterText:wf,setDappModalConfig:vf}=ca.actions,pa=ca.reducer});var da,Gc,Wc,he,Fo=T(()=>{"use strict";n();da=require("@reduxjs/toolkit");Vn();go();Po();Bn();ma();To();xo();bo();wo();Io();Ao();Co();Gc={["account"]:uo,["dappModal"]:pa,["dappConfig"]:zr,["loginInfo"]:fo,["modals"]:ho,["networkConfig"]:yo,["signedMessageInfo"]:So,["toasts"]:vo,["transactionsInfo"]:ko,["transactions"]:Lo,["batchTransactions"]:No},Wc=(e={})=>(0,da.combineReducers)(g(g({},Gc),e)),he=Wc});var ga={};me(ga,{default:()=>tp,sessionStorageReducers:()=>$n});function ae(e,o=[]){return{key:e,version:1,storage:_a.default,blacklist:o}}var B,la,_a,Vc,Xe,$c,Hc,jc,zc,qc,Kc,Xc,Yc,Zc,Jc,ua,Qc,$n,ep,op,np,tp,fa=T(()=>{"use strict";n();B=require("redux-persist"),la=f(require("redux-persist/lib/storage")),_a=f(require("redux-persist/lib/storage/session"));Fo();k();go();Po();To();xo();bo();wo();Io();Ao();Co();Vn();Vc={persistReducersStorageType:"localStorage"},Xe={["account"]:"sdk-dapp-account",["loginInfo"]:"sdk-dapp-login-info",["modals"]:"sdk-dapp-modals",["networkConfig"]:"sdk-dapp-network-config"},$c=ae(Xe["account"]),Hc=ae(Xe["loginInfo"]),jc=ae(Xe["modals"]),zc=ae(Xe["networkConfig"]),qc={2:e=>S(g({},e),{networkConfig:An})};Kc=ae("sdk-dapp-transactionsInfo"),Xc=ae("sdk-dapp-transactions",["transactionsToSign"]),Yc=ae("sdk-dapp-batchTransactions",["batchTransactions"]),Zc=ae("sdk-dapp-toasts"),Jc=ae("sdk-dapp-signedMessageInfo"),ua={key:"sdk-dapp-store",version:2,storage:la.default,whitelist:Object.keys(Xe),migrate:(0,B.createMigrate)(qc,{debug:!1})},Qc=S(g({},ua),{whitelist:[]}),$n={["toasts"]:(0,B.persistReducer)(Zc,vo),["transactions"]:(0,B.persistReducer)(Xc,Lo),["transactionsInfo"]:(0,B.persistReducer)(Kc,ko),["batchTransactions"]:(0,B.persistReducer)(Yc,No),["signedMessageInfo"]:(0,B.persistReducer)(Jc,So)},ep=S(g({},$n),{["account"]:(0,B.persistReducer)($c,uo),["loginInfo"]:(0,B.persistReducer)(Hc,fo),["modals"]:(0,B.persistReducer)(jc,ho),["networkConfig"]:(0,B.persistReducer)(zc,yo)}),op=Vc.persistReducersStorageType==="localStorage",np=op?(0,B.persistReducer)(ua,he($n)):(0,B.persistReducer)(Qc,he(ep)),tp=np});var Ta={};me(Ta,{default:()=>rp});var rp,ha=T(()=>{"use strict";n();Fo();rp=he()});var xa={};me(xa,{default:()=>ip});var V,ap,ip,ya=T(()=>{"use strict";n();V=require("redux-persist"),ap=[V.FLUSH,V.REHYDRATE,V.PAUSE,V.PERSIST,V.PURGE,V.REGISTER],ip=ap});var wa={};me(wa,{default:()=>Sa});function Sa(e){return(0,ba.persistStore)(e)}var ba,va=T(()=>{"use strict";n();ba=require("redux-persist")});var gi=U((CC,ui)=>{n();var nd=typeof r=="object"&&r&&r.Object===Object&&r;ui.exports=nd});var Ti=U((NC,fi)=>{n();var td=gi(),rd=typeof self=="object"&&self&&self.Object===Object&&self,ad=td||rd||Function("return this")();fi.exports=ad});var it=U((PC,hi)=>{n();var id=Ti(),sd=id.Symbol;hi.exports=sd});var Si=U((DC,bi)=>{n();var xi=it(),yi=Object.prototype,cd=yi.hasOwnProperty,pd=yi.toString,Qe=xi?xi.toStringTag:void 0;function md(e){var o=cd.call(e,Qe),t=e[Qe];try{e[Qe]=void 0;var s=!0}catch(p){}var c=pd.call(e);return s&&(o?e[Qe]=t:delete e[Qe]),c}bi.exports=md});var vi=U((RC,wi)=>{n();var dd=Object.prototype,ld=dd.toString;function _d(e){return ld.call(e)}wi.exports=_d});var Ei=U((OC,Ai)=>{n();var Ii=it(),ud=Si(),gd=vi(),fd="[object Null]",Td="[object Undefined]",ki=Ii?Ii.toStringTag:void 0;function hd(e){return e==null?e===void 0?Td:fd:ki&&ki in Object(e)?ud(e):gd(e)}Ai.exports=hd});var Ci=U((MC,Li)=>{n();var xd=Array.isArray;Li.exports=xd});var Pi=U((BC,Ni)=>{n();function yd(e){return e!=null&&typeof e=="object"}Ni.exports=yd});var Ri=U((FC,Di)=>{n();var bd=Ei(),Sd=Ci(),wd=Pi(),vd="[object String]";function Id(e){return typeof e=="string"||!Sd(e)&&wd(e)&&bd(e)==vd}Di.exports=Id});var dl={};me(dl,{getIsTransaction:()=>ml,useMemoizedCloseButton:()=>pl,useRemoveCustomToast:()=>Ns});module.exports=Ue(dl);n();n();var Bt=require("react"),Ns=({duration:e,onDelete:o})=>{(0,Bt.useEffect)(()=>{let t;return e&&(t=setTimeout(o,e)),()=>{clearTimeout(t)}},[e])};n();var oo=f(require("react"));n();n();var pn=f(require("react")),Ft=require("@fortawesome/free-solid-svg-icons"),Ut=require("@fortawesome/react-fontawesome"),mn=({className:e="dapp-default-toast-delete-button",onClick:o})=>pn.default.createElement("button",{type:"button",className:e,onClick:o},pn.default.createElement(Ut.FontAwesomeIcon,{icon:Ft.faTimes,size:"xs"}));n();var nl=f(require("react")),tl=require("@fortawesome/react-fontawesome"),rl=f(require("classnames"));n();var Ps=`.dapp-core-component__main__link-style {
|
|
1
|
+
"use strict";var zi=Object.create;var Fe=Object.defineProperty,qi=Object.defineProperties,Ki=Object.getOwnPropertyDescriptor,Xi=Object.getOwnPropertyDescriptors,Yi=Object.getOwnPropertyNames,to=Object.getOwnPropertySymbols,Zi=Object.getPrototypeOf,Yo=Object.prototype.hasOwnProperty,_t=Object.prototype.propertyIsEnumerable;var lt=(e,o,t)=>o in e?Fe(e,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[o]=t,g=(e,o)=>{for(var t in o||(o={}))Yo.call(o,t)&<(e,t,o[t]);if(to)for(var t of to(o))_t.call(o,t)&<(e,t,o[t]);return e},S=(e,o)=>qi(e,Xi(o));var ye=(e,o)=>{var t={};for(var s in e)Yo.call(e,s)&&o.indexOf(s)<0&&(t[s]=e[s]);if(e!=null&&to)for(var s of to(e))o.indexOf(s)<0&&_t.call(e,s)&&(t[s]=e[s]);return t};var T=(e,o)=>()=>(e&&(o=e(e=0)),o);var U=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports),me=(e,o)=>{for(var t in o)Fe(e,t,{get:o[t],enumerable:!0})},ut=(e,o,t,s)=>{if(o&&typeof o=="object"||typeof o=="function")for(let c of Yi(o))!Yo.call(e,c)&&c!==t&&Fe(e,c,{get:()=>o[c],enumerable:!(s=Ki(o,c))||s.enumerable});return e};var f=(e,o,t)=>(t=e!=null?zi(Zi(e)):{},ut(o||!e||!e.__esModule?Fe(t,"default",{value:e,enumerable:!0}):t,e)),Ue=e=>ut(Fe({},"__esModule",{value:!0}),e);var x=(e,o,t)=>new Promise((s,c)=>{var p=l=>{try{u(t.next(l))}catch(h){c(h)}},m=l=>{try{u(t.throw(l))}catch(h){c(h)}},u=l=>l.done?s(l.value):Promise.resolve(l.value).then(p,m);u((t=t.apply(e,o)).next())});var Tt=U(ro=>{"use strict";n();ro.byteLength=Qi;ro.toByteArray=os;ro.fromByteArray=rs;var H=[],W=[],Ji=typeof Uint8Array!="undefined"?Uint8Array:Array,Zo="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(de=0,gt=Zo.length;de<gt;++de)H[de]=Zo[de],W[Zo.charCodeAt(de)]=de;var de,gt;W["-".charCodeAt(0)]=62;W["_".charCodeAt(0)]=63;function ft(e){var o=e.length;if(o%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var t=e.indexOf("=");t===-1&&(t=o);var s=t===o?0:4-t%4;return[t,s]}function Qi(e){var o=ft(e),t=o[0],s=o[1];return(t+s)*3/4-s}function es(e,o,t){return(o+t)*3/4-t}function os(e){var o,t=ft(e),s=t[0],c=t[1],p=new Ji(es(e,s,c)),m=0,u=c>0?s-4:s,l;for(l=0;l<u;l+=4)o=W[e.charCodeAt(l)]<<18|W[e.charCodeAt(l+1)]<<12|W[e.charCodeAt(l+2)]<<6|W[e.charCodeAt(l+3)],p[m++]=o>>16&255,p[m++]=o>>8&255,p[m++]=o&255;return c===2&&(o=W[e.charCodeAt(l)]<<2|W[e.charCodeAt(l+1)]>>4,p[m++]=o&255),c===1&&(o=W[e.charCodeAt(l)]<<10|W[e.charCodeAt(l+1)]<<4|W[e.charCodeAt(l+2)]>>2,p[m++]=o>>8&255,p[m++]=o&255),p}function ns(e){return H[e>>18&63]+H[e>>12&63]+H[e>>6&63]+H[e&63]}function ts(e,o,t){for(var s,c=[],p=o;p<t;p+=3)s=(e[p]<<16&16711680)+(e[p+1]<<8&65280)+(e[p+2]&255),c.push(ns(s));return c.join("")}function rs(e){for(var o,t=e.length,s=t%3,c=[],p=16383,m=0,u=t-s;m<u;m+=p)c.push(ts(e,m,m+p>u?u:m+p));return s===1?(o=e[t-1],c.push(H[o>>2]+H[o<<4&63]+"==")):s===2&&(o=(e[t-2]<<8)+e[t-1],c.push(H[o>>10]+H[o>>4&63]+H[o<<2&63]+"=")),c.join("")}});var ht=U(Jo=>{n();Jo.read=function(e,o,t,s,c){var p,m,u=c*8-s-1,l=(1<<u)-1,h=l>>1,b=-7,y=t?c-1:0,R=t?-1:1,D=e[o+y];for(y+=R,p=D&(1<<-b)-1,D>>=-b,b+=u;b>0;p=p*256+e[o+y],y+=R,b-=8);for(m=p&(1<<-b)-1,p>>=-b,b+=s;b>0;m=m*256+e[o+y],y+=R,b-=8);if(p===0)p=1-h;else{if(p===l)return m?NaN:(D?-1:1)*(1/0);m=m+Math.pow(2,s),p=p-h}return(D?-1:1)*m*Math.pow(2,p-s)};Jo.write=function(e,o,t,s,c,p){var m,u,l,h=p*8-c-1,b=(1<<h)-1,y=b>>1,R=c===23?Math.pow(2,-24)-Math.pow(2,-77):0,D=s?0:p-1,Q=s?1:-1,no=o<0||o===0&&1/o<0?1:0;for(o=Math.abs(o),isNaN(o)||o===1/0?(u=isNaN(o)?1:0,m=b):(m=Math.floor(Math.log(o)/Math.LN2),o*(l=Math.pow(2,-m))<1&&(m--,l*=2),m+y>=1?o+=R/l:o+=R*Math.pow(2,1-y),o*l>=2&&(m++,l/=2),m+y>=b?(u=0,m=b):m+y>=1?(u=(o*l-1)*Math.pow(2,c),m=m+y):(u=o*Math.pow(2,y-1)*Math.pow(2,c),m=0));c>=8;e[t+D]=u&255,D+=Q,u/=256,c-=8);for(m=m<<c|u,h+=c;h>0;e[t+D]=m&255,D+=Q,m/=256,h-=8);e[t+D-Q]|=no*128}});var Nt=U(Se=>{"use strict";n();var Qo=Tt(),be=ht(),xt=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Se.Buffer=d;Se.SlowBuffer=ms;Se.INSPECT_MAX_BYTES=50;var ao=2147483647;Se.kMaxLength=ao;d.TYPED_ARRAY_SUPPORT=as();!d.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 as(){try{var e=new Uint8Array(1),o={foo:function(){return 42}};return Object.setPrototypeOf(o,Uint8Array.prototype),Object.setPrototypeOf(e,o),e.foo()===42}catch(t){return!1}}Object.defineProperty(d.prototype,"parent",{enumerable:!0,get:function(){if(!!d.isBuffer(this))return this.buffer}});Object.defineProperty(d.prototype,"offset",{enumerable:!0,get:function(){if(!!d.isBuffer(this))return this.byteOffset}});function oe(e){if(e>ao)throw new RangeError('The value "'+e+'" is invalid for option "size"');var o=new Uint8Array(e);return Object.setPrototypeOf(o,d.prototype),o}function d(e,o,t){if(typeof e=="number"){if(typeof o=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return tn(e)}return St(e,o,t)}d.poolSize=8192;function St(e,o,t){if(typeof e=="string")return ss(e,o);if(ArrayBuffer.isView(e))return cs(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(j(e,ArrayBuffer)||e&&j(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(j(e,SharedArrayBuffer)||e&&j(e.buffer,SharedArrayBuffer)))return on(e,o,t);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var s=e.valueOf&&e.valueOf();if(s!=null&&s!==e)return d.from(s,o,t);var c=ps(e);if(c)return c;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return d.from(e[Symbol.toPrimitive]("string"),o,t);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}d.from=function(e,o,t){return St(e,o,t)};Object.setPrototypeOf(d.prototype,Uint8Array.prototype);Object.setPrototypeOf(d,Uint8Array);function wt(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 is(e,o,t){return wt(e),e<=0?oe(e):o!==void 0?typeof t=="string"?oe(e).fill(o,t):oe(e).fill(o):oe(e)}d.alloc=function(e,o,t){return is(e,o,t)};function tn(e){return wt(e),oe(e<0?0:rn(e)|0)}d.allocUnsafe=function(e){return tn(e)};d.allocUnsafeSlow=function(e){return tn(e)};function ss(e,o){if((typeof o!="string"||o==="")&&(o="utf8"),!d.isEncoding(o))throw new TypeError("Unknown encoding: "+o);var t=vt(e,o)|0,s=oe(t),c=s.write(e,o);return c!==t&&(s=s.slice(0,c)),s}function en(e){for(var o=e.length<0?0:rn(e.length)|0,t=oe(o),s=0;s<o;s+=1)t[s]=e[s]&255;return t}function cs(e){if(j(e,Uint8Array)){var o=new Uint8Array(e);return on(o.buffer,o.byteOffset,o.byteLength)}return en(e)}function on(e,o,t){if(o<0||e.byteLength<o)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<o+(t||0))throw new RangeError('"length" is outside of buffer bounds');var s;return o===void 0&&t===void 0?s=new Uint8Array(e):t===void 0?s=new Uint8Array(e,o):s=new Uint8Array(e,o,t),Object.setPrototypeOf(s,d.prototype),s}function ps(e){if(d.isBuffer(e)){var o=rn(e.length)|0,t=oe(o);return t.length===0||e.copy(t,0,0,o),t}if(e.length!==void 0)return typeof e.length!="number"||an(e.length)?oe(0):en(e);if(e.type==="Buffer"&&Array.isArray(e.data))return en(e.data)}function rn(e){if(e>=ao)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ao.toString(16)+" bytes");return e|0}function ms(e){return+e!=e&&(e=0),d.alloc(+e)}d.isBuffer=function(o){return o!=null&&o._isBuffer===!0&&o!==d.prototype};d.compare=function(o,t){if(j(o,Uint8Array)&&(o=d.from(o,o.offset,o.byteLength)),j(t,Uint8Array)&&(t=d.from(t,t.offset,t.byteLength)),!d.isBuffer(o)||!d.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(o===t)return 0;for(var s=o.length,c=t.length,p=0,m=Math.min(s,c);p<m;++p)if(o[p]!==t[p]){s=o[p],c=t[p];break}return s<c?-1:c<s?1:0};d.isEncoding=function(o){switch(String(o).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}};d.concat=function(o,t){if(!Array.isArray(o))throw new TypeError('"list" argument must be an Array of Buffers');if(o.length===0)return d.alloc(0);var s;if(t===void 0)for(t=0,s=0;s<o.length;++s)t+=o[s].length;var c=d.allocUnsafe(t),p=0;for(s=0;s<o.length;++s){var m=o[s];if(j(m,Uint8Array))p+m.length>c.length?d.from(m).copy(c,p):Uint8Array.prototype.set.call(c,m,p);else if(d.isBuffer(m))m.copy(c,p);else throw new TypeError('"list" argument must be an Array of Buffers');p+=m.length}return c};function vt(e,o){if(d.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||j(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 t=e.length,s=arguments.length>2&&arguments[2]===!0;if(!s&&t===0)return 0;for(var c=!1;;)switch(o){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return nn(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return Ct(e).length;default:if(c)return s?-1:nn(e).length;o=(""+o).toLowerCase(),c=!0}}d.byteLength=vt;function ds(e,o,t){var s=!1;if((o===void 0||o<0)&&(o=0),o>this.length||((t===void 0||t>this.length)&&(t=this.length),t<=0)||(t>>>=0,o>>>=0,t<=o))return"";for(e||(e="utf8");;)switch(e){case"hex":return bs(this,o,t);case"utf8":case"utf-8":return kt(this,o,t);case"ascii":return xs(this,o,t);case"latin1":case"binary":return ys(this,o,t);case"base64":return Ts(this,o,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ss(this,o,t);default:if(s)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),s=!0}}d.prototype._isBuffer=!0;function le(e,o,t){var s=e[o];e[o]=e[t],e[t]=s}d.prototype.swap16=function(){var o=this.length;if(o%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<o;t+=2)le(this,t,t+1);return this};d.prototype.swap32=function(){var o=this.length;if(o%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<o;t+=4)le(this,t,t+3),le(this,t+1,t+2);return this};d.prototype.swap64=function(){var o=this.length;if(o%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<o;t+=8)le(this,t,t+7),le(this,t+1,t+6),le(this,t+2,t+5),le(this,t+3,t+4);return this};d.prototype.toString=function(){var o=this.length;return o===0?"":arguments.length===0?kt(this,0,o):ds.apply(this,arguments)};d.prototype.toLocaleString=d.prototype.toString;d.prototype.equals=function(o){if(!d.isBuffer(o))throw new TypeError("Argument must be a Buffer");return this===o?!0:d.compare(this,o)===0};d.prototype.inspect=function(){var o="",t=Se.INSPECT_MAX_BYTES;return o=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(o+=" ... "),"<Buffer "+o+">"};xt&&(d.prototype[xt]=d.prototype.inspect);d.prototype.compare=function(o,t,s,c,p){if(j(o,Uint8Array)&&(o=d.from(o,o.offset,o.byteLength)),!d.isBuffer(o))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof o);if(t===void 0&&(t=0),s===void 0&&(s=o?o.length:0),c===void 0&&(c=0),p===void 0&&(p=this.length),t<0||s>o.length||c<0||p>this.length)throw new RangeError("out of range index");if(c>=p&&t>=s)return 0;if(c>=p)return-1;if(t>=s)return 1;if(t>>>=0,s>>>=0,c>>>=0,p>>>=0,this===o)return 0;for(var m=p-c,u=s-t,l=Math.min(m,u),h=this.slice(c,p),b=o.slice(t,s),y=0;y<l;++y)if(h[y]!==b[y]){m=h[y],u=b[y];break}return m<u?-1:u<m?1:0};function It(e,o,t,s,c){if(e.length===0)return-1;if(typeof t=="string"?(s=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,an(t)&&(t=c?0:e.length-1),t<0&&(t=e.length+t),t>=e.length){if(c)return-1;t=e.length-1}else if(t<0)if(c)t=0;else return-1;if(typeof o=="string"&&(o=d.from(o,s)),d.isBuffer(o))return o.length===0?-1:yt(e,o,t,s,c);if(typeof o=="number")return o=o&255,typeof Uint8Array.prototype.indexOf=="function"?c?Uint8Array.prototype.indexOf.call(e,o,t):Uint8Array.prototype.lastIndexOf.call(e,o,t):yt(e,[o],t,s,c);throw new TypeError("val must be string, number or Buffer")}function yt(e,o,t,s,c){var p=1,m=e.length,u=o.length;if(s!==void 0&&(s=String(s).toLowerCase(),s==="ucs2"||s==="ucs-2"||s==="utf16le"||s==="utf-16le")){if(e.length<2||o.length<2)return-1;p=2,m/=2,u/=2,t/=2}function l(D,Q){return p===1?D[Q]:D.readUInt16BE(Q*p)}var h;if(c){var b=-1;for(h=t;h<m;h++)if(l(e,h)===l(o,b===-1?0:h-b)){if(b===-1&&(b=h),h-b+1===u)return b*p}else b!==-1&&(h-=h-b),b=-1}else for(t+u>m&&(t=m-u),h=t;h>=0;h--){for(var y=!0,R=0;R<u;R++)if(l(e,h+R)!==l(o,R)){y=!1;break}if(y)return h}return-1}d.prototype.includes=function(o,t,s){return this.indexOf(o,t,s)!==-1};d.prototype.indexOf=function(o,t,s){return It(this,o,t,s,!0)};d.prototype.lastIndexOf=function(o,t,s){return It(this,o,t,s,!1)};function ls(e,o,t,s){t=Number(t)||0;var c=e.length-t;s?(s=Number(s),s>c&&(s=c)):s=c;var p=o.length;s>p/2&&(s=p/2);for(var m=0;m<s;++m){var u=parseInt(o.substr(m*2,2),16);if(an(u))return m;e[t+m]=u}return m}function _s(e,o,t,s){return io(nn(o,e.length-t),e,t,s)}function us(e,o,t,s){return io(Is(o),e,t,s)}function gs(e,o,t,s){return io(Ct(o),e,t,s)}function fs(e,o,t,s){return io(ks(o,e.length-t),e,t,s)}d.prototype.write=function(o,t,s,c){if(t===void 0)c="utf8",s=this.length,t=0;else if(s===void 0&&typeof t=="string")c=t,s=this.length,t=0;else if(isFinite(t))t=t>>>0,isFinite(s)?(s=s>>>0,c===void 0&&(c="utf8")):(c=s,s=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var p=this.length-t;if((s===void 0||s>p)&&(s=p),o.length>0&&(s<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");c||(c="utf8");for(var m=!1;;)switch(c){case"hex":return ls(this,o,t,s);case"utf8":case"utf-8":return _s(this,o,t,s);case"ascii":case"latin1":case"binary":return us(this,o,t,s);case"base64":return gs(this,o,t,s);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return fs(this,o,t,s);default:if(m)throw new TypeError("Unknown encoding: "+c);c=(""+c).toLowerCase(),m=!0}};d.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Ts(e,o,t){return o===0&&t===e.length?Qo.fromByteArray(e):Qo.fromByteArray(e.slice(o,t))}function kt(e,o,t){t=Math.min(e.length,t);for(var s=[],c=o;c<t;){var p=e[c],m=null,u=p>239?4:p>223?3:p>191?2:1;if(c+u<=t){var l,h,b,y;switch(u){case 1:p<128&&(m=p);break;case 2:l=e[c+1],(l&192)===128&&(y=(p&31)<<6|l&63,y>127&&(m=y));break;case 3:l=e[c+1],h=e[c+2],(l&192)===128&&(h&192)===128&&(y=(p&15)<<12|(l&63)<<6|h&63,y>2047&&(y<55296||y>57343)&&(m=y));break;case 4:l=e[c+1],h=e[c+2],b=e[c+3],(l&192)===128&&(h&192)===128&&(b&192)===128&&(y=(p&15)<<18|(l&63)<<12|(h&63)<<6|b&63,y>65535&&y<1114112&&(m=y))}}m===null?(m=65533,u=1):m>65535&&(m-=65536,s.push(m>>>10&1023|55296),m=56320|m&1023),s.push(m),c+=u}return hs(s)}var bt=4096;function hs(e){var o=e.length;if(o<=bt)return String.fromCharCode.apply(String,e);for(var t="",s=0;s<o;)t+=String.fromCharCode.apply(String,e.slice(s,s+=bt));return t}function xs(e,o,t){var s="";t=Math.min(e.length,t);for(var c=o;c<t;++c)s+=String.fromCharCode(e[c]&127);return s}function ys(e,o,t){var s="";t=Math.min(e.length,t);for(var c=o;c<t;++c)s+=String.fromCharCode(e[c]);return s}function bs(e,o,t){var s=e.length;(!o||o<0)&&(o=0),(!t||t<0||t>s)&&(t=s);for(var c="",p=o;p<t;++p)c+=As[e[p]];return c}function Ss(e,o,t){for(var s=e.slice(o,t),c="",p=0;p<s.length-1;p+=2)c+=String.fromCharCode(s[p]+s[p+1]*256);return c}d.prototype.slice=function(o,t){var s=this.length;o=~~o,t=t===void 0?s:~~t,o<0?(o+=s,o<0&&(o=0)):o>s&&(o=s),t<0?(t+=s,t<0&&(t=0)):t>s&&(t=s),t<o&&(t=o);var c=this.subarray(o,t);return Object.setPrototypeOf(c,d.prototype),c};function N(e,o,t){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+o>t)throw new RangeError("Trying to access beyond buffer length")}d.prototype.readUintLE=d.prototype.readUIntLE=function(o,t,s){o=o>>>0,t=t>>>0,s||N(o,t,this.length);for(var c=this[o],p=1,m=0;++m<t&&(p*=256);)c+=this[o+m]*p;return c};d.prototype.readUintBE=d.prototype.readUIntBE=function(o,t,s){o=o>>>0,t=t>>>0,s||N(o,t,this.length);for(var c=this[o+--t],p=1;t>0&&(p*=256);)c+=this[o+--t]*p;return c};d.prototype.readUint8=d.prototype.readUInt8=function(o,t){return o=o>>>0,t||N(o,1,this.length),this[o]};d.prototype.readUint16LE=d.prototype.readUInt16LE=function(o,t){return o=o>>>0,t||N(o,2,this.length),this[o]|this[o+1]<<8};d.prototype.readUint16BE=d.prototype.readUInt16BE=function(o,t){return o=o>>>0,t||N(o,2,this.length),this[o]<<8|this[o+1]};d.prototype.readUint32LE=d.prototype.readUInt32LE=function(o,t){return o=o>>>0,t||N(o,4,this.length),(this[o]|this[o+1]<<8|this[o+2]<<16)+this[o+3]*16777216};d.prototype.readUint32BE=d.prototype.readUInt32BE=function(o,t){return o=o>>>0,t||N(o,4,this.length),this[o]*16777216+(this[o+1]<<16|this[o+2]<<8|this[o+3])};d.prototype.readIntLE=function(o,t,s){o=o>>>0,t=t>>>0,s||N(o,t,this.length);for(var c=this[o],p=1,m=0;++m<t&&(p*=256);)c+=this[o+m]*p;return p*=128,c>=p&&(c-=Math.pow(2,8*t)),c};d.prototype.readIntBE=function(o,t,s){o=o>>>0,t=t>>>0,s||N(o,t,this.length);for(var c=t,p=1,m=this[o+--c];c>0&&(p*=256);)m+=this[o+--c]*p;return p*=128,m>=p&&(m-=Math.pow(2,8*t)),m};d.prototype.readInt8=function(o,t){return o=o>>>0,t||N(o,1,this.length),this[o]&128?(255-this[o]+1)*-1:this[o]};d.prototype.readInt16LE=function(o,t){o=o>>>0,t||N(o,2,this.length);var s=this[o]|this[o+1]<<8;return s&32768?s|4294901760:s};d.prototype.readInt16BE=function(o,t){o=o>>>0,t||N(o,2,this.length);var s=this[o+1]|this[o]<<8;return s&32768?s|4294901760:s};d.prototype.readInt32LE=function(o,t){return o=o>>>0,t||N(o,4,this.length),this[o]|this[o+1]<<8|this[o+2]<<16|this[o+3]<<24};d.prototype.readInt32BE=function(o,t){return o=o>>>0,t||N(o,4,this.length),this[o]<<24|this[o+1]<<16|this[o+2]<<8|this[o+3]};d.prototype.readFloatLE=function(o,t){return o=o>>>0,t||N(o,4,this.length),be.read(this,o,!0,23,4)};d.prototype.readFloatBE=function(o,t){return o=o>>>0,t||N(o,4,this.length),be.read(this,o,!1,23,4)};d.prototype.readDoubleLE=function(o,t){return o=o>>>0,t||N(o,8,this.length),be.read(this,o,!0,52,8)};d.prototype.readDoubleBE=function(o,t){return o=o>>>0,t||N(o,8,this.length),be.read(this,o,!1,52,8)};function O(e,o,t,s,c,p){if(!d.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(o>c||o<p)throw new RangeError('"value" argument is out of bounds');if(t+s>e.length)throw new RangeError("Index out of range")}d.prototype.writeUintLE=d.prototype.writeUIntLE=function(o,t,s,c){if(o=+o,t=t>>>0,s=s>>>0,!c){var p=Math.pow(2,8*s)-1;O(this,o,t,s,p,0)}var m=1,u=0;for(this[t]=o&255;++u<s&&(m*=256);)this[t+u]=o/m&255;return t+s};d.prototype.writeUintBE=d.prototype.writeUIntBE=function(o,t,s,c){if(o=+o,t=t>>>0,s=s>>>0,!c){var p=Math.pow(2,8*s)-1;O(this,o,t,s,p,0)}var m=s-1,u=1;for(this[t+m]=o&255;--m>=0&&(u*=256);)this[t+m]=o/u&255;return t+s};d.prototype.writeUint8=d.prototype.writeUInt8=function(o,t,s){return o=+o,t=t>>>0,s||O(this,o,t,1,255,0),this[t]=o&255,t+1};d.prototype.writeUint16LE=d.prototype.writeUInt16LE=function(o,t,s){return o=+o,t=t>>>0,s||O(this,o,t,2,65535,0),this[t]=o&255,this[t+1]=o>>>8,t+2};d.prototype.writeUint16BE=d.prototype.writeUInt16BE=function(o,t,s){return o=+o,t=t>>>0,s||O(this,o,t,2,65535,0),this[t]=o>>>8,this[t+1]=o&255,t+2};d.prototype.writeUint32LE=d.prototype.writeUInt32LE=function(o,t,s){return o=+o,t=t>>>0,s||O(this,o,t,4,4294967295,0),this[t+3]=o>>>24,this[t+2]=o>>>16,this[t+1]=o>>>8,this[t]=o&255,t+4};d.prototype.writeUint32BE=d.prototype.writeUInt32BE=function(o,t,s){return o=+o,t=t>>>0,s||O(this,o,t,4,4294967295,0),this[t]=o>>>24,this[t+1]=o>>>16,this[t+2]=o>>>8,this[t+3]=o&255,t+4};d.prototype.writeIntLE=function(o,t,s,c){if(o=+o,t=t>>>0,!c){var p=Math.pow(2,8*s-1);O(this,o,t,s,p-1,-p)}var m=0,u=1,l=0;for(this[t]=o&255;++m<s&&(u*=256);)o<0&&l===0&&this[t+m-1]!==0&&(l=1),this[t+m]=(o/u>>0)-l&255;return t+s};d.prototype.writeIntBE=function(o,t,s,c){if(o=+o,t=t>>>0,!c){var p=Math.pow(2,8*s-1);O(this,o,t,s,p-1,-p)}var m=s-1,u=1,l=0;for(this[t+m]=o&255;--m>=0&&(u*=256);)o<0&&l===0&&this[t+m+1]!==0&&(l=1),this[t+m]=(o/u>>0)-l&255;return t+s};d.prototype.writeInt8=function(o,t,s){return o=+o,t=t>>>0,s||O(this,o,t,1,127,-128),o<0&&(o=255+o+1),this[t]=o&255,t+1};d.prototype.writeInt16LE=function(o,t,s){return o=+o,t=t>>>0,s||O(this,o,t,2,32767,-32768),this[t]=o&255,this[t+1]=o>>>8,t+2};d.prototype.writeInt16BE=function(o,t,s){return o=+o,t=t>>>0,s||O(this,o,t,2,32767,-32768),this[t]=o>>>8,this[t+1]=o&255,t+2};d.prototype.writeInt32LE=function(o,t,s){return o=+o,t=t>>>0,s||O(this,o,t,4,2147483647,-2147483648),this[t]=o&255,this[t+1]=o>>>8,this[t+2]=o>>>16,this[t+3]=o>>>24,t+4};d.prototype.writeInt32BE=function(o,t,s){return o=+o,t=t>>>0,s||O(this,o,t,4,2147483647,-2147483648),o<0&&(o=4294967295+o+1),this[t]=o>>>24,this[t+1]=o>>>16,this[t+2]=o>>>8,this[t+3]=o&255,t+4};function At(e,o,t,s,c,p){if(t+s>e.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function Et(e,o,t,s,c){return o=+o,t=t>>>0,c||At(e,o,t,4,34028234663852886e22,-34028234663852886e22),be.write(e,o,t,s,23,4),t+4}d.prototype.writeFloatLE=function(o,t,s){return Et(this,o,t,!0,s)};d.prototype.writeFloatBE=function(o,t,s){return Et(this,o,t,!1,s)};function Lt(e,o,t,s,c){return o=+o,t=t>>>0,c||At(e,o,t,8,17976931348623157e292,-17976931348623157e292),be.write(e,o,t,s,52,8),t+8}d.prototype.writeDoubleLE=function(o,t,s){return Lt(this,o,t,!0,s)};d.prototype.writeDoubleBE=function(o,t,s){return Lt(this,o,t,!1,s)};d.prototype.copy=function(o,t,s,c){if(!d.isBuffer(o))throw new TypeError("argument should be a Buffer");if(s||(s=0),!c&&c!==0&&(c=this.length),t>=o.length&&(t=o.length),t||(t=0),c>0&&c<s&&(c=s),c===s||o.length===0||this.length===0)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(s<0||s>=this.length)throw new RangeError("Index out of range");if(c<0)throw new RangeError("sourceEnd out of bounds");c>this.length&&(c=this.length),o.length-t<c-s&&(c=o.length-t+s);var p=c-s;return this===o&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(t,s,c):Uint8Array.prototype.set.call(o,this.subarray(s,c),t),p};d.prototype.fill=function(o,t,s,c){if(typeof o=="string"){if(typeof t=="string"?(c=t,t=0,s=this.length):typeof s=="string"&&(c=s,s=this.length),c!==void 0&&typeof c!="string")throw new TypeError("encoding must be a string");if(typeof c=="string"&&!d.isEncoding(c))throw new TypeError("Unknown encoding: "+c);if(o.length===1){var p=o.charCodeAt(0);(c==="utf8"&&p<128||c==="latin1")&&(o=p)}}else typeof o=="number"?o=o&255:typeof o=="boolean"&&(o=Number(o));if(t<0||this.length<t||this.length<s)throw new RangeError("Out of range index");if(s<=t)return this;t=t>>>0,s=s===void 0?this.length:s>>>0,o||(o=0);var m;if(typeof o=="number")for(m=t;m<s;++m)this[m]=o;else{var u=d.isBuffer(o)?o:d.from(o,c),l=u.length;if(l===0)throw new TypeError('The value "'+o+'" is invalid for argument "value"');for(m=0;m<s-t;++m)this[m+t]=u[m%l]}return this};var ws=/[^+/0-9A-Za-z-_]/g;function vs(e){if(e=e.split("=")[0],e=e.trim().replace(ws,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function nn(e,o){o=o||1/0;for(var t,s=e.length,c=null,p=[],m=0;m<s;++m){if(t=e.charCodeAt(m),t>55295&&t<57344){if(!c){if(t>56319){(o-=3)>-1&&p.push(239,191,189);continue}else if(m+1===s){(o-=3)>-1&&p.push(239,191,189);continue}c=t;continue}if(t<56320){(o-=3)>-1&&p.push(239,191,189),c=t;continue}t=(c-55296<<10|t-56320)+65536}else c&&(o-=3)>-1&&p.push(239,191,189);if(c=null,t<128){if((o-=1)<0)break;p.push(t)}else if(t<2048){if((o-=2)<0)break;p.push(t>>6|192,t&63|128)}else if(t<65536){if((o-=3)<0)break;p.push(t>>12|224,t>>6&63|128,t&63|128)}else if(t<1114112){if((o-=4)<0)break;p.push(t>>18|240,t>>12&63|128,t>>6&63|128,t&63|128)}else throw new Error("Invalid code point")}return p}function Is(e){for(var o=[],t=0;t<e.length;++t)o.push(e.charCodeAt(t)&255);return o}function ks(e,o){for(var t,s,c,p=[],m=0;m<e.length&&!((o-=2)<0);++m)t=e.charCodeAt(m),s=t>>8,c=t%256,p.push(c),p.push(s);return p}function Ct(e){return Qo.toByteArray(vs(e))}function io(e,o,t,s){for(var c=0;c<s&&!(c+t>=o.length||c>=e.length);++c)o[c+t]=e[c];return c}function j(e,o){return e instanceof o||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===o.name}function an(e){return e!==e}var As=function(){for(var e="0123456789abcdef",o=new Array(256),t=0;t<16;++t)for(var s=t*16,c=0;c<16;++c)o[s+c]=e[t]+e[c];return o}()});var Mt=U((fl,Ot)=>{n();var E=Ot.exports={},z,q;function sn(){throw new Error("setTimeout has not been defined")}function cn(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?z=setTimeout:z=sn}catch(e){z=sn}try{typeof clearTimeout=="function"?q=clearTimeout:q=cn}catch(e){q=cn}})();function Pt(e){if(z===setTimeout)return setTimeout(e,0);if((z===sn||!z)&&setTimeout)return z=setTimeout,setTimeout(e,0);try{return z(e,0)}catch(o){try{return z.call(null,e,0)}catch(t){return z.call(this,e,0)}}}function Es(e){if(q===clearTimeout)return clearTimeout(e);if((q===cn||!q)&&clearTimeout)return q=clearTimeout,clearTimeout(e);try{return q(e)}catch(o){try{return q.call(null,e)}catch(t){return q.call(this,e)}}}var ne=[],we=!1,_e,so=-1;function Ls(){!we||!_e||(we=!1,_e.length?ne=_e.concat(ne):so=-1,ne.length&&Dt())}function Dt(){if(!we){var e=Pt(Ls);we=!0;for(var o=ne.length;o;){for(_e=ne,ne=[];++so<o;)_e&&_e[so].run();so=-1,o=ne.length}_e=null,we=!1,Es(e)}}E.nextTick=function(e){var o=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)o[t-1]=arguments[t];ne.push(new Rt(e,o)),ne.length===1&&!we&&Pt(Dt)};function Rt(e,o){this.fun=e,this.array=o}Rt.prototype.run=function(){this.fun.apply(null,this.array)};E.title="browser";E.browser=!0;E.env={};E.argv=[];E.version="";E.versions={};function te(){}E.on=te;E.addListener=te;E.once=te;E.off=te;E.removeListener=te;E.removeAllListeners=te;E.emit=te;E.prependListener=te;E.prependOnceListener=te;E.listeners=function(e){return[]};E.binding=function(e){throw new Error("process.binding is not supported")};E.cwd=function(){return"/"};E.chdir=function(e){throw new Error("process.chdir is not supported")};E.umask=function(){return 0}});var a,i,Cs,r,n=T(()=>{a=f(Nt()),i=f(Mt()),Cs=function(e){function o(){var s=this||self;return delete e.prototype.__magic__,s}if(typeof globalThis=="object")return globalThis;if(this)return o();e.defineProperty(e.prototype,"__magic__",{configurable:!0,get:o});var t=__magic__;return t}(Object),r=Cs});var A=T(()=>{"use strict";n()});function Ie(e){return e!=null&&(Vs(e)||Wt(e))}function ke(e){return e!=null&&($s(e)||qs(e))}function Ae(e){return e!=null&&(Hs(e)||Ks(e))}function Gt(e){return e!=null&&(js(e)||Xs(e))}function dn(e){return e!=null&&zs(e)}function Vs(e){return e!=null&&Ds.includes(e)}function $s(e){return e!=null&&Rs.includes(e)}function Hs(e){return e!=null&&Os.includes(e)}function js(e){return e!=null&&Ms.includes(e)}function zs(e){return e!=null&&Bs.includes(e)}function Wt(e){return e!=null&&Fs.includes(e)}function qs(e){return e!=null&&Us.includes(e)}function Ks(e){return e!=null&&Gs.includes(e)}function Xs(e){return e!=null&&Ws.includes(e)}var Ds,Rs,Os,Ms,Bs,Fs,Us,Gs,Ws,ue=T(()=>{"use strict";n();A();Ds=["sent"],Rs=["success"],Os=["fail","cancelled","timedOut"],Ms=["invalid"],Bs=["timedOut"],Fs=["pending"],Us=["success"],Gs=["fail","invalid"],Ws=["not executed"]});var ge=T(()=>{"use strict";n()});var ln=T(()=>{"use strict";n()});var Vt=T(()=>{"use strict";n()});var $t=T(()=>{"use strict";n()});var Ht=T(()=>{"use strict";n()});var jt=T(()=>{"use strict";n()});var M=T(()=>{"use strict";n()});var zt=T(()=>{"use strict";n()});var qt=T(()=>{"use strict";n()});var Kt=T(()=>{"use strict";n()});var C=T(()=>{"use strict";n();ln();Vt();$t();A();Ht();jt();M();zt();qt();Kt()});var Ee,Xt,Wl,Yt,Vl,Zt,$l,Hl,Ys,Ge=T(()=>{"use strict";n();C();Ee={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:Xt,egldLabel:Wl}=Ee["devnet"],{chainId:Yt,egldLabel:Vl}=Ee["testnet"],{chainId:Zt,egldLabel:$l}=Ee["mainnet"],Hl={["devnet"]:Xt,["testnet"]:Yt,["mainnet"]:Zt},Ys={[Xt]:"devnet",[Yt]:"testnet",[Zt]:"mainnet"}});var _n=T(()=>{"use strict";n()});var Jt=T(()=>{"use strict";n()});var co,un=T(()=>{"use strict";n();co="transaction-status-toast-id"});var K,Qt=T(()=>{"use strict";n();K=require("@multiversx/sdk-web-wallet-provider")});var er=T(()=>{"use strict";n()});var or=T(()=>{"use strict";n()});var We,po,nr,mo,tr,Le,w=T(()=>{"use strict";n();ge();Ge();_n();Jt();un();Qt();er();or();We=5e4,po=1e9,nr=1,mo="logout",tr="login",Le="0"});var Ve,lo=T(()=>{"use strict";n();Ve=()=>Date.now()/1e3});var rr=T(()=>{"use strict";n()});var ar=T(()=>{"use strict";n()});var gn=T(()=>{"use strict";n();lo();rr();ar()});var Tn={};me(Tn,{getItem:()=>Js,localStorageKeys:()=>pe,removeItem:()=>Qs,setItem:()=>Zs});var pe,fn,Zs,Js,Qs,Ce=T(()=>{"use strict";n();gn();pe={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event"},fn=typeof localStorage!="undefined",Zs=({key:e,data:o,expires:t})=>{!fn||localStorage.setItem(String(e),JSON.stringify({expires:t,data:o}))},Js=e=>{if(!fn)return;let o=localStorage.getItem(String(e));if(!o)return null;let t=JSON.parse(o);return!t||!t.hasOwnProperty("expires")||!t.hasOwnProperty("data")?null:Ve()>=t.expires?(localStorage.removeItem(String(e)),null):t.data},Qs=e=>{!fn||localStorage.removeItem(String(e))}});var hn={};me(hn,{clear:()=>pr,getItem:()=>sr,removeItem:()=>cr,setItem:()=>ir,storage:()=>ec});var ir,sr,cr,pr,ec,mr=T(()=>{"use strict";n();ir=({key:e,data:o,expires:t})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:t,data:o}))},sr=e=>{let o=sessionStorage.getItem(String(e));if(!o)return null;let t=JSON.parse(o);return!t||!t.hasOwnProperty("expires")||!t.hasOwnProperty("data")?null:Date.now()>=t.expires?(sessionStorage.removeItem(String(e)),null):t.data},cr=e=>sessionStorage.removeItem(String(e)),pr=()=>sessionStorage.clear(),ec={setItem:ir,getItem:sr,removeItem:cr,clear:pr}});var fe,Ne=T(()=>{"use strict";n();Ce();mr();fe={session:hn,local:Tn}});var xn,L,X,P=T(()=>{"use strict";n();xn=require("@reduxjs/toolkit");w();L=(0,xn.createAction)(mo),X=(0,xn.createAction)(tr,e=>({payload:e}))});var bn,dr,lr,_o,yn,_r,Sn,v_,wn,I_,oc,nc,k_,A_,E_,tc,rc,uo,go=T(()=>{"use strict";n();bn=require("@multiversx/sdk-core"),dr=require("@reduxjs/toolkit"),lr=require("redux-persist");w();Ne();Ce();P();_o={balance:"...",address:"",isGuarded:!1,nonce:0,txCount:0,scrCount:0,claimableRewards:Le},yn={address:"",websocketEvent:null,websocketBatchEvent:null,accounts:{"":_o},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},_r=(0,dr.createSlice)({name:"accountInfoSlice",initialState:yn,reducers:{setAddress:(e,o)=>{let t=o.payload;e.address=t,e.publicKey=new bn.Address(t).hex()},setAccount:(e,o)=>{let t=e.address===o.payload.address;e.accounts={[e.address]:t?o.payload:_o},e.shard=o.payload.shard,e.isAccountLoading=!1,e.accountLoadingError=null},setAccountNonce:(e,o)=>{let{address:t}=e;e.accounts[t].nonce=o.payload},setAccountShard:(e,o)=>{e.shard=o.payload},setLedgerAccount:(e,o)=>{e.ledgerAccount=o.payload},updateLedgerAccount:(e,o)=>{e.ledgerAccount!=null&&(e.ledgerAccount.index=o.payload.index,e.ledgerAccount.address=o.payload.address)},setWalletConnectAccount:(e,o)=>{e.walletConnectAccount=o.payload},setIsAccountLoading:(e,o)=>{e.isAccountLoading=o.payload,e.accountLoadingError=null},setAccountLoadingError:(e,o)=>{e.accountLoadingError=o.payload,e.isAccountLoading=!1},setWebsocketEvent:(e,o)=>{e.websocketEvent={timestamp:Date.now(),message:o.payload}},setWebsocketBatchEvent:(e,o)=>{e.websocketBatchEvent={timestamp:Date.now(),data:o.payload}}},extraReducers:e=>{e.addCase(L,()=>(fe.local.removeItem(pe.loginExpiresAt),yn)),e.addCase(X,(o,t)=>{let{address:s}=t.payload;o.address=s,o.publicKey=new bn.Address(s).hex()}),e.addCase(lr.REHYDRATE,(o,t)=>{var h;if(!((h=t.payload)!=null&&h.account))return;let{account:s}=t.payload,{address:c,shard:p,accounts:m,publicKey:u}=s;o.address=c,o.shard=p;let l=m&&c in m;o.accounts=l?m:yn.accounts,o.publicKey=u})}}),{setAccount:Sn,setAddress:v_,setAccountNonce:wn,setAccountShard:I_,setLedgerAccount:oc,updateLedgerAccount:nc,setWalletConnectAccount:k_,setIsAccountLoading:A_,setAccountLoadingError:E_,setWebsocketEvent:tc,setWebsocketBatchEvent:rc}=_r.actions,uo=_r.reducer});function $e(){return new Date().setHours(new Date().getHours()+24)}function He(e){fe.local.setItem({key:pe.loginExpiresAt,data:e,expires:e})}var vn=T(()=>{"use strict";n();Ne();Ce()});var gr,ur,fr,F_,Tr,ac,ic,U_,sc,hr,G_,fo,To=T(()=>{"use strict";n();gr=require("@reduxjs/toolkit");vn();A();P();ur={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,operaLogin:null,isLoginSessionInvalid:!1},fr=(0,gr.createSlice)({name:"loginInfoSlice",initialState:ur,reducers:{setLoginMethod:(e,o)=>{e.loginMethod=o.payload},setTokenLogin:(e,o)=>{e.tokenLogin=o.payload},setTokenLoginSignature:(e,o)=>{(e==null?void 0:e.tokenLogin)!=null&&(e.tokenLogin.signature=o.payload)},setWalletLogin:(e,o)=>{e.walletLogin=o.payload},setWalletConnectLogin:(e,o)=>{e.walletConnectLogin=o.payload},setLedgerLogin:(e,o)=>{e.ledgerLogin=o.payload},invalidateLoginSession:e=>{e.isLoginSessionInvalid=!0},setLogoutRoute:(e,o)=>{e.logoutRoute=o.payload}},extraReducers:e=>{e.addCase(L,()=>ur),e.addCase(X,(o,t)=>{o.loginMethod=t.payload.loginMethod,He($e())})}}),{setLoginMethod:F_,setWalletConnectLogin:Tr,setLedgerLogin:ac,setTokenLogin:ic,setTokenLoginSignature:U_,setWalletLogin:sc,invalidateLoginSession:hr,setLogoutRoute:G_}=fr.actions,fo=fr.reducer});var yr,xr,br,H_,cc,j_,pc,ho,xo=T(()=>{"use strict";n();yr=require("@reduxjs/toolkit");P();xr={},br=(0,yr.createSlice)({name:"modalsSlice",initialState:xr,reducers:{setTxSubmittedModal:(e,o)=>{e.txSubmittedModal=o.payload},setNotificationModal:(e,o)=>{e.notificationModal=o.payload},clearTxSubmittedModal:e=>{e.txSubmittedModal=void 0},clearNotificationModal:e=>{e.notificationModal=void 0}},extraReducers:e=>{e.addCase(L,()=>xr)}}),{setTxSubmittedModal:H_,setNotificationModal:cc,clearTxSubmittedModal:j_,clearNotificationModal:pc}=br.actions,ho=br.reducer});var je=T(()=>{"use strict";n()});var wr=T(()=>{"use strict";n();je()});function In(e){return e[Math.floor(Math.random()*e.length)]}var vr=T(()=>{"use strict";n()});var kn=T(()=>{"use strict";n();_n()});var Te=T(()=>{"use strict";n();wr();vr();kn()});var Ir,kr,An,mc,Ar,iu,su,yo,bo=T(()=>{"use strict";n();Ir=require("@reduxjs/toolkit"),kr=f(require("lodash.omit"));Te();An={id:"not-configured",chainId:"",name:"NOT CONFIGURED",egldLabel:"",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"",walletConnectBridgeAddress:"",walletConnectV2RelayAddress:"",walletConnectV2ProjectId:"",walletConnectV2Options:{},walletAddress:"",apiAddress:"",explorerAddress:"",apiTimeout:"4000"},mc={network:An,chainID:"-1"},Ar=(0,Ir.createSlice)({name:"appConfig",initialState:mc,reducers:{initializeNetworkConfig:(e,o)=>{let t=In(o.payload.walletConnectBridgeAddresses),s=In(o.payload.walletConnectV2RelayAddresses),c=(0,kr.default)(o.payload,"walletConnectBridgeAddresses","walletConnectV2RelayAddresses");e.network=S(g(g({},e.network),c),{walletConnectBridgeAddress:t,walletConnectV2RelayAddress:s})},setChainID:(e,o)=>{e.chainID=o.payload}}}),{initializeNetworkConfig:iu,setChainID:su}=Ar.actions,yo=Ar.reducer});var Er,En,Lr,_u,uu,gu,So,wo=T(()=>{"use strict";n();Er=require("@reduxjs/toolkit");C();P();En={isSigning:!1,signedSessions:{}},Lr=(0,Er.createSlice)({name:"signedMessageInfoSliceState",initialState:En,reducers:{setSignSession:(e,o)=>{let{sessionId:t,signedSession:s,errorMessage:c}=o.payload;c&&(e.errorMessage=c),e.isSigning=s.status==="pending",e.signedSessions[t]=s},setSignSessionState:(e,o)=>g(g({},e),o.payload),clearSignedMessageInfo:()=>En},extraReducers:e=>{e.addCase(L,()=>En)}}),{setSignSession:_u,clearSignedMessageInfo:uu,setSignSessionState:gu}=Lr.actions,So=Lr.reducer});var Nr,Pr,Cr,Dr,dc,Ln,wu,lc,vu,Iu,vo,Io=T(()=>{"use strict";n();Nr=require("@reduxjs/toolkit"),Pr=require("redux-persist");un();C();lo();P();Cr={customToasts:[],transactionToasts:[],failTransactionToast:null},Dr=(0,Nr.createSlice)({name:"toastsSlice",initialState:Cr,reducers:{addCustomToast:(e,o)=>{e.customToasts.push(S(g({},o.payload),{type:"custom",toastId:o.payload.toastId||`custom-toast-${e.customToasts.length+1}`}))},removeCustomToast:(e,o)=>{e.customToasts=e.customToasts.filter(t=>t.toastId!==o.payload)},addTransactionToast:(e,o)=>{e.transactionToasts.push({type:"transaction",startTimestamp:Ve(),toastId:o.payload||`custom-toast-${e.transactionToasts.length+1}`})},removeTransactionToast:(e,o)=>{e.transactionToasts=e.transactionToasts.filter(t=>t.toastId!==o.payload)},addFailTransactionToast:(e,o)=>{e.failTransactionToast=S(g({},o.payload),{toastId:co})},removeFailTransactionToast:e=>{e.failTransactionToast=null}},extraReducers:e=>{e.addCase(L,()=>Cr),e.addCase(Pr.REHYDRATE,(o,t)=>{var c,p;let s=(p=(c=t.customToasts)==null?void 0:c.filter(m=>!("component"in m)))!=null?p:[];o.customToasts=s})}}),{addCustomToast:dc,removeCustomToast:Ln,addTransactionToast:wu,removeTransactionToast:lc,addFailTransactionToast:vu,removeFailTransactionToast:Iu}=Dr.actions,vo=Dr.reducer});var Rr,Nn,Pn,Dn,_c,Cn,Or,Lu,uc,Rn,ko,Ao=T(()=>{"use strict";n();Rr=require("@reduxjs/toolkit");P();Nn="Transaction failed",Pn="Transaction successful",Dn="Processing transaction",_c="Transaction submitted",Cn={},Or=(0,Rr.createSlice)({name:"transactionsInfo",initialState:Cn,reducers:{setTransactionsDisplayInfo(e,o){let{sessionId:t,transactionsDisplayInfo:s}=o.payload;t!=null&&(e[t]={errorMessage:(s==null?void 0:s.errorMessage)||Nn,successMessage:(s==null?void 0:s.successMessage)||Pn,processingMessage:(s==null?void 0:s.processingMessage)||Dn,submittedMessage:(s==null?void 0:s.submittedMessage)||_c,transactionDuration:s==null?void 0:s.transactionDuration})},clearTransactionsInfoForSessionId(e,o){o.payload!=null&&delete e[o.payload]},clearTransactionsInfo:()=>Cn},extraReducers:e=>{e.addCase(L,()=>Cn)}}),{clearTransactionsInfo:Lu,setTransactionsDisplayInfo:uc,clearTransactionsInfoForSessionId:Rn}=Or.actions,ko=Or.reducer});var Mr,Br,ze,gc,Fr,Ur,Gr,fc,Eo,Tc,hc,Mu,xc,qe,On,Lo,Co=T(()=>{"use strict";n();Mr=require("@reduxjs/toolkit"),Br=require("redux-persist");A();ue();P();ze={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},gc={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},Fr=(0,Mr.createSlice)({name:"transactionsSlice",initialState:ze,reducers:{moveTransactionsToSignedState:(e,o)=>{var h,b;let{sessionId:t,transactions:s,errorMessage:c,status:p,redirectRoute:m,customTransactionInformation:u={}}=o.payload,l=((h=e.customTransactionInformationForSessionId)==null?void 0:h[t])||gc;e.signedTransactions[t]={transactions:s,status:p,errorMessage:c,redirectRoute:m,customTransactionInformation:g(g({},l),u)},((b=e==null?void 0:e.transactionsToSign)==null?void 0:b.sessionId)===t&&(e.transactionsToSign=ze.transactionsToSign)},clearSignedTransaction:(e,o)=>{e.signedTransactions[o.payload]&&delete e.signedTransactions[o.payload]},clearTransactionToSign:e=>{e!=null&&e.transactionsToSign&&(e.transactionsToSign=null)},updateSignedTransaction:(e,o)=>{e.signedTransactions=g(g({},e.signedTransactions),o.payload)},updateSignedTransactions:(e,o)=>{let{sessionId:t,status:s,errorMessage:c,transactions:p}=o.payload;e.signedTransactions[t]!=null&&(e.signedTransactions[t].status=s,c!=null&&(e.signedTransactions[t].errorMessage=c),p!=null&&(e.signedTransactions[t].transactions=p))},updateSignedTransactionStatus:(e,o)=>{var l,h,b,y,R,D,Q,no;let{sessionId:t,status:s,errorMessage:c,transactionHash:p,inTransit:m}=o.payload,u=(h=(l=e.signedTransactions)==null?void 0:l[t])==null?void 0:h.transactions;if(u!=null){e.signedTransactions[t].transactions=u.map(ee=>ee.hash===p?S(g({},ee),{status:s,errorMessage:c,inTransit:m}):ee);let $i=(y=(b=e.signedTransactions[t])==null?void 0:b.transactions)==null?void 0:y.every(ee=>ke(ee.status)),Hi=(D=(R=e.signedTransactions[t])==null?void 0:R.transactions)==null?void 0:D.every(ee=>Ae(ee.status)),ji=(no=(Q=e.signedTransactions[t])==null?void 0:Q.transactions)==null?void 0:no.every(ee=>Gt(ee.status));$i&&(e.signedTransactions[t].status="success"),Hi&&(e.signedTransactions[t].status="fail"),ji&&(e.signedTransactions[t].status="invalid")}},setTransactionsToSign:(e,o)=>{e.transactionsToSign=o.payload;let{sessionId:t,customTransactionInformation:s}=o.payload;e.customTransactionInformationForSessionId[t]=s,e.signTransactionsError=null},clearAllTransactionsToSign:e=>{e.transactionsToSign=ze.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=ze.signedTransactions},setSignTransactionsError:(e,o)=>{e.signTransactionsError=o.payload},setSignTransactionsCancelMessage:(e,o)=>{e.signTransactionsCancelMessage=o.payload}},extraReducers:e=>{e.addCase(L,()=>ze),e.addCase(Br.REHYDRATE,(o,t)=>{var m;if(o.signTransactionsCancelMessage=null,!((m=t.payload)!=null&&m.transactions))return;let{signedTransactions:s,customTransactionInformationForSessionId:c}=t.payload.transactions,p=Object.entries(s).reduce((u,[l,h])=>{let b=new Date(l),y=new Date;return y.setHours(y.getHours()+5),y-b>0||(u[l]=h),u},{});c!=null&&(o.customTransactionInformationForSessionId=c),s!=null&&(o.signedTransactions=p)})}}),{updateSignedTransactionStatus:Ur,updateSignedTransactions:Gr,setTransactionsToSign:fc,clearAllTransactionsToSign:Eo,clearAllSignedTransactions:Tc,clearSignedTransaction:hc,clearTransactionToSign:Mu,setSignTransactionsError:xc,setSignTransactionsCancelMessage:qe,moveTransactionsToSignedState:On}=Fr.actions,Lo=Fr.reducer});var Wr,Mn,Vr,Gu,Wu,yc,Vu,No,Po=T(()=>{"use strict";n();Wr=require("@reduxjs/toolkit");P();Mn={},Vr=(0,Wr.createSlice)({name:"batchTransactionsSlice",initialState:Mn,reducers:{setBatchTransactions:(e,o)=>{e[o.payload.id]=o.payload},updateBatchTransactions:(e,o)=>{e[o.payload.id]=o.payload},clearBatchTransactions:(e,o)=>{delete e[o.payload.batchId]},clearAllBatchTransactions:()=>Mn},extraReducers:e=>{e.addCase(L,()=>Mn)}}),{setBatchTransactions:Gu,updateBatchTransactions:Wu,clearBatchTransactions:yc,clearAllBatchTransactions:Vu}=Vr.actions,No=Vr.reducer});var Hr,$r,jr,zu,zr,Bn=T(()=>{"use strict";n();Hr=require("@reduxjs/toolkit");P();$r={},jr=(0,Hr.createSlice)({name:"dappConfigSlice",initialState:$r,reducers:{setDappConfig:(e,o)=>{if(e&&o.payload){let{logoutRoute:t,shouldUseWebViewProvider:s}=o.payload;e.logoutRoute=t,e.shouldUseWebViewProvider=s}else e=o.payload}},extraReducers:e=>{e.addCase(L,()=>$r)}}),{setDappConfig:zu}=jr.actions,zr=jr.reducer});var k=T(()=>{"use strict";n();go();To();xo();bo();wo();Io();Ao();Co();Po();Bn()});var Vn=T(()=>{"use strict";n()});var sa,ia,ca,xf,yf,bf,Sf,wf,vf,pa,ma=T(()=>{"use strict";n();sa=require("@reduxjs/toolkit");P();ia={visible:!1,modal:{showHeader:!0,showFooter:!1,headerText:"",footerText:""}},ca=(0,sa.createSlice)({name:"dappModalsSlice",initialState:ia,reducers:{setDappModalVisibility:(e,o)=>{e.visible=o.payload},setDappModalHeaderVisibility:(e,o)=>{e.modal.showHeader=o.payload},setDappModalFooterVisibility:(e,o)=>{e.modal.showFooter=o.payload},setDappModalHeaderText:(e,o)=>{e.modal.headerText=o.payload},setDappModalFooterText:(e,o)=>{e.modal.footerText=o.payload},setDappModalConfig:(e,o)=>{e.modal=g({},o.payload)}},extraReducers:e=>{e.addCase(L,()=>ia)}}),{setDappModalVisibility:xf,setDappModalHeaderVisibility:yf,setDappModalFooterVisibility:bf,setDappModalHeaderText:Sf,setDappModalFooterText:wf,setDappModalConfig:vf}=ca.actions,pa=ca.reducer});var da,Gc,Wc,he,Fo=T(()=>{"use strict";n();da=require("@reduxjs/toolkit");Vn();go();Po();Bn();ma();To();xo();bo();wo();Io();Ao();Co();Gc={["account"]:uo,["dappModal"]:pa,["dappConfig"]:zr,["loginInfo"]:fo,["modals"]:ho,["networkConfig"]:yo,["signedMessageInfo"]:So,["toasts"]:vo,["transactionsInfo"]:ko,["transactions"]:Lo,["batchTransactions"]:No},Wc=(e={})=>(0,da.combineReducers)(g(g({},Gc),e)),he=Wc});var ga={};me(ga,{default:()=>tp,sessionStorageReducers:()=>$n});function ae(e,o=[]){return{key:e,version:1,storage:_a.default,blacklist:o}}var B,la,_a,Vc,Xe,$c,Hc,jc,zc,qc,Kc,Xc,Yc,Zc,Jc,ua,Qc,$n,ep,op,np,tp,fa=T(()=>{"use strict";n();B=require("redux-persist"),la=f(require("redux-persist/lib/storage")),_a=f(require("redux-persist/lib/storage/session"));Fo();k();go();Po();To();xo();bo();wo();Io();Ao();Co();Vn();Vc={persistReducersStorageType:"localStorage"},Xe={["account"]:"sdk-dapp-account",["loginInfo"]:"sdk-dapp-login-info",["modals"]:"sdk-dapp-modals",["networkConfig"]:"sdk-dapp-network-config"},$c=ae(Xe["account"]),Hc=ae(Xe["loginInfo"]),jc=ae(Xe["modals"]),zc=ae(Xe["networkConfig"]),qc={2:e=>S(g({},e),{networkConfig:An})};Kc=ae("sdk-dapp-transactionsInfo"),Xc=ae("sdk-dapp-transactions",["transactionsToSign"]),Yc=ae("sdk-dapp-batchTransactions",["batchTransactions"]),Zc=ae("sdk-dapp-toasts"),Jc=ae("sdk-dapp-signedMessageInfo"),ua={key:"sdk-dapp-store",version:2,storage:la.default,whitelist:Object.keys(Xe),migrate:(0,B.createMigrate)(qc,{debug:!1})},Qc=S(g({},ua),{whitelist:[]}),$n={["toasts"]:(0,B.persistReducer)(Zc,vo),["transactions"]:(0,B.persistReducer)(Xc,Lo),["transactionsInfo"]:(0,B.persistReducer)(Kc,ko),["batchTransactions"]:(0,B.persistReducer)(Yc,No),["signedMessageInfo"]:(0,B.persistReducer)(Jc,So)},ep=S(g({},$n),{["account"]:(0,B.persistReducer)($c,uo),["loginInfo"]:(0,B.persistReducer)(Hc,fo),["modals"]:(0,B.persistReducer)(jc,ho),["networkConfig"]:(0,B.persistReducer)(zc,yo)}),op=Vc.persistReducersStorageType==="localStorage",np=op?(0,B.persistReducer)(ua,he($n)):(0,B.persistReducer)(Qc,he(ep)),tp=np});var Ta={};me(Ta,{default:()=>rp});var rp,ha=T(()=>{"use strict";n();Fo();rp=he()});var xa={};me(xa,{default:()=>ip});var V,ap,ip,ya=T(()=>{"use strict";n();V=require("redux-persist"),ap=[V.FLUSH,V.REHYDRATE,V.PAUSE,V.PERSIST,V.PURGE,V.REGISTER],ip=ap});var wa={};me(wa,{default:()=>Sa});function Sa(e){return(0,ba.persistStore)(e)}var ba,va=T(()=>{"use strict";n();ba=require("redux-persist")});var gi=U((CC,ui)=>{n();var nd=typeof r=="object"&&r&&r.Object===Object&&r;ui.exports=nd});var Ti=U((NC,fi)=>{n();var td=gi(),rd=typeof self=="object"&&self&&self.Object===Object&&self,ad=td||rd||Function("return this")();fi.exports=ad});var it=U((PC,hi)=>{n();var id=Ti(),sd=id.Symbol;hi.exports=sd});var Si=U((DC,bi)=>{n();var xi=it(),yi=Object.prototype,cd=yi.hasOwnProperty,pd=yi.toString,Qe=xi?xi.toStringTag:void 0;function md(e){var o=cd.call(e,Qe),t=e[Qe];try{e[Qe]=void 0;var s=!0}catch(p){}var c=pd.call(e);return s&&(o?e[Qe]=t:delete e[Qe]),c}bi.exports=md});var vi=U((RC,wi)=>{n();var dd=Object.prototype,ld=dd.toString;function _d(e){return ld.call(e)}wi.exports=_d});var Ei=U((OC,Ai)=>{n();var Ii=it(),ud=Si(),gd=vi(),fd="[object Null]",Td="[object Undefined]",ki=Ii?Ii.toStringTag:void 0;function hd(e){return e==null?e===void 0?Td:fd:ki&&ki in Object(e)?ud(e):gd(e)}Ai.exports=hd});var Ci=U((MC,Li)=>{n();var xd=Array.isArray;Li.exports=xd});var Pi=U((BC,Ni)=>{n();function yd(e){return e!=null&&typeof e=="object"}Ni.exports=yd});var Ri=U((FC,Di)=>{n();var bd=Ei(),Sd=Ci(),wd=Pi(),vd="[object String]";function Id(e){return typeof e=="string"||!Sd(e)&&wd(e)&&bd(e)==vd}Di.exports=Id});var dl={};me(dl,{getIsTransaction:()=>ml,useMemoizedCloseButton:()=>pl,useRemoveCustomToast:()=>Ns});module.exports=Ue(dl);n();n();var Bt=require("react"),Ns=({duration:e,onDelete:o})=>{(0,Bt.useEffect)(()=>{let t;return e&&(t=setTimeout(o,e)),()=>{clearTimeout(t)}},[e])};n();var oo=f(require("react"));n();n();var pn=f(require("react")),Ft=require("@fortawesome/free-solid-svg-icons"),Ut=require("@fortawesome/react-fontawesome"),mn=({className:e="dapp-default-toast-delete-button",onClick:o})=>pn.default.createElement("button",{type:"button",className:e,onClick:o,"data-testid":"deleteToastButton"},pn.default.createElement(Ut.FontAwesomeIcon,{icon:Ft.faTimes,size:"xs"}));n();var nl=f(require("react")),tl=require("@fortawesome/react-fontawesome"),rl=f(require("classnames"));n();var Ps=`.dapp-core-component__main__link-style {
|
|
2
2
|
color: #1392ff;
|
|
3
3
|
}
|
|
4
4
|
|
package/__commonjs/UI/TransactionsToastList/components/CustomToast/helpers/useMemoizedCloseButton.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var ji=Object.create;var Be=Object.defineProperty,zi=Object.defineProperties,qi=Object.getOwnPropertyDescriptor,Ki=Object.getOwnPropertyDescriptors,Xi=Object.getOwnPropertyNames,no=Object.getOwnPropertySymbols,Yi=Object.getPrototypeOf,Yo=Object.prototype.hasOwnProperty,_t=Object.prototype.propertyIsEnumerable;var lt=(e,o,t)=>o in e?Be(e,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[o]=t,g=(e,o)=>{for(var t in o||(o={}))Yo.call(o,t)&<(e,t,o[t]);if(no)for(var t of no(o))_t.call(o,t)&<(e,t,o[t]);return e},S=(e,o)=>zi(e,Ki(o));var ye=(e,o)=>{var t={};for(var s in e)Yo.call(e,s)&&o.indexOf(s)<0&&(t[s]=e[s]);if(e!=null&&no)for(var s of no(e))o.indexOf(s)<0&&_t.call(e,s)&&(t[s]=e[s]);return t};var T=(e,o)=>()=>(e&&(o=e(e=0)),o);var U=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports),me=(e,o)=>{for(var t in o)Be(e,t,{get:o[t],enumerable:!0})},ut=(e,o,t,s)=>{if(o&&typeof o=="object"||typeof o=="function")for(let c of Xi(o))!Yo.call(e,c)&&c!==t&&Be(e,c,{get:()=>o[c],enumerable:!(s=qi(o,c))||s.enumerable});return e};var f=(e,o,t)=>(t=e!=null?ji(Yi(e)):{},ut(o||!e||!e.__esModule?Be(t,"default",{value:e,enumerable:!0}):t,e)),Fe=e=>ut(Be({},"__esModule",{value:!0}),e);var x=(e,o,t)=>new Promise((s,c)=>{var p=l=>{try{u(t.next(l))}catch(h){c(h)}},m=l=>{try{u(t.throw(l))}catch(h){c(h)}},u=l=>l.done?s(l.value):Promise.resolve(l.value).then(p,m);u((t=t.apply(e,o)).next())});var Tt=U(to=>{"use strict";n();to.byteLength=Ji;to.toByteArray=es;to.fromByteArray=ts;var H=[],W=[],Zi=typeof Uint8Array!="undefined"?Uint8Array:Array,Zo="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(de=0,gt=Zo.length;de<gt;++de)H[de]=Zo[de],W[Zo.charCodeAt(de)]=de;var de,gt;W["-".charCodeAt(0)]=62;W["_".charCodeAt(0)]=63;function ft(e){var o=e.length;if(o%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var t=e.indexOf("=");t===-1&&(t=o);var s=t===o?0:4-t%4;return[t,s]}function Ji(e){var o=ft(e),t=o[0],s=o[1];return(t+s)*3/4-s}function Qi(e,o,t){return(o+t)*3/4-t}function es(e){var o,t=ft(e),s=t[0],c=t[1],p=new Zi(Qi(e,s,c)),m=0,u=c>0?s-4:s,l;for(l=0;l<u;l+=4)o=W[e.charCodeAt(l)]<<18|W[e.charCodeAt(l+1)]<<12|W[e.charCodeAt(l+2)]<<6|W[e.charCodeAt(l+3)],p[m++]=o>>16&255,p[m++]=o>>8&255,p[m++]=o&255;return c===2&&(o=W[e.charCodeAt(l)]<<2|W[e.charCodeAt(l+1)]>>4,p[m++]=o&255),c===1&&(o=W[e.charCodeAt(l)]<<10|W[e.charCodeAt(l+1)]<<4|W[e.charCodeAt(l+2)]>>2,p[m++]=o>>8&255,p[m++]=o&255),p}function os(e){return H[e>>18&63]+H[e>>12&63]+H[e>>6&63]+H[e&63]}function ns(e,o,t){for(var s,c=[],p=o;p<t;p+=3)s=(e[p]<<16&16711680)+(e[p+1]<<8&65280)+(e[p+2]&255),c.push(os(s));return c.join("")}function ts(e){for(var o,t=e.length,s=t%3,c=[],p=16383,m=0,u=t-s;m<u;m+=p)c.push(ns(e,m,m+p>u?u:m+p));return s===1?(o=e[t-1],c.push(H[o>>2]+H[o<<4&63]+"==")):s===2&&(o=(e[t-2]<<8)+e[t-1],c.push(H[o>>10]+H[o>>4&63]+H[o<<2&63]+"=")),c.join("")}});var ht=U(Jo=>{n();Jo.read=function(e,o,t,s,c){var p,m,u=c*8-s-1,l=(1<<u)-1,h=l>>1,b=-7,y=t?c-1:0,R=t?-1:1,D=e[o+y];for(y+=R,p=D&(1<<-b)-1,D>>=-b,b+=u;b>0;p=p*256+e[o+y],y+=R,b-=8);for(m=p&(1<<-b)-1,p>>=-b,b+=s;b>0;m=m*256+e[o+y],y+=R,b-=8);if(p===0)p=1-h;else{if(p===l)return m?NaN:(D?-1:1)*(1/0);m=m+Math.pow(2,s),p=p-h}return(D?-1:1)*m*Math.pow(2,p-s)};Jo.write=function(e,o,t,s,c,p){var m,u,l,h=p*8-c-1,b=(1<<h)-1,y=b>>1,R=c===23?Math.pow(2,-24)-Math.pow(2,-77):0,D=s?0:p-1,Q=s?1:-1,oo=o<0||o===0&&1/o<0?1:0;for(o=Math.abs(o),isNaN(o)||o===1/0?(u=isNaN(o)?1:0,m=b):(m=Math.floor(Math.log(o)/Math.LN2),o*(l=Math.pow(2,-m))<1&&(m--,l*=2),m+y>=1?o+=R/l:o+=R*Math.pow(2,1-y),o*l>=2&&(m++,l/=2),m+y>=b?(u=0,m=b):m+y>=1?(u=(o*l-1)*Math.pow(2,c),m=m+y):(u=o*Math.pow(2,y-1)*Math.pow(2,c),m=0));c>=8;e[t+D]=u&255,D+=Q,u/=256,c-=8);for(m=m<<c|u,h+=c;h>0;e[t+D]=m&255,D+=Q,m/=256,h-=8);e[t+D-Q]|=oo*128}});var Nt=U(Se=>{"use strict";n();var Qo=Tt(),be=ht(),xt=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Se.Buffer=d;Se.SlowBuffer=ps;Se.INSPECT_MAX_BYTES=50;var ro=2147483647;Se.kMaxLength=ro;d.TYPED_ARRAY_SUPPORT=rs();!d.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 rs(){try{var e=new Uint8Array(1),o={foo:function(){return 42}};return Object.setPrototypeOf(o,Uint8Array.prototype),Object.setPrototypeOf(e,o),e.foo()===42}catch(t){return!1}}Object.defineProperty(d.prototype,"parent",{enumerable:!0,get:function(){if(!!d.isBuffer(this))return this.buffer}});Object.defineProperty(d.prototype,"offset",{enumerable:!0,get:function(){if(!!d.isBuffer(this))return this.byteOffset}});function oe(e){if(e>ro)throw new RangeError('The value "'+e+'" is invalid for option "size"');var o=new Uint8Array(e);return Object.setPrototypeOf(o,d.prototype),o}function d(e,o,t){if(typeof e=="number"){if(typeof o=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return tn(e)}return St(e,o,t)}d.poolSize=8192;function St(e,o,t){if(typeof e=="string")return is(e,o);if(ArrayBuffer.isView(e))return ss(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(j(e,ArrayBuffer)||e&&j(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(j(e,SharedArrayBuffer)||e&&j(e.buffer,SharedArrayBuffer)))return on(e,o,t);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var s=e.valueOf&&e.valueOf();if(s!=null&&s!==e)return d.from(s,o,t);var c=cs(e);if(c)return c;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return d.from(e[Symbol.toPrimitive]("string"),o,t);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}d.from=function(e,o,t){return St(e,o,t)};Object.setPrototypeOf(d.prototype,Uint8Array.prototype);Object.setPrototypeOf(d,Uint8Array);function wt(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 as(e,o,t){return wt(e),e<=0?oe(e):o!==void 0?typeof t=="string"?oe(e).fill(o,t):oe(e).fill(o):oe(e)}d.alloc=function(e,o,t){return as(e,o,t)};function tn(e){return wt(e),oe(e<0?0:rn(e)|0)}d.allocUnsafe=function(e){return tn(e)};d.allocUnsafeSlow=function(e){return tn(e)};function is(e,o){if((typeof o!="string"||o==="")&&(o="utf8"),!d.isEncoding(o))throw new TypeError("Unknown encoding: "+o);var t=vt(e,o)|0,s=oe(t),c=s.write(e,o);return c!==t&&(s=s.slice(0,c)),s}function en(e){for(var o=e.length<0?0:rn(e.length)|0,t=oe(o),s=0;s<o;s+=1)t[s]=e[s]&255;return t}function ss(e){if(j(e,Uint8Array)){var o=new Uint8Array(e);return on(o.buffer,o.byteOffset,o.byteLength)}return en(e)}function on(e,o,t){if(o<0||e.byteLength<o)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<o+(t||0))throw new RangeError('"length" is outside of buffer bounds');var s;return o===void 0&&t===void 0?s=new Uint8Array(e):t===void 0?s=new Uint8Array(e,o):s=new Uint8Array(e,o,t),Object.setPrototypeOf(s,d.prototype),s}function cs(e){if(d.isBuffer(e)){var o=rn(e.length)|0,t=oe(o);return t.length===0||e.copy(t,0,0,o),t}if(e.length!==void 0)return typeof e.length!="number"||an(e.length)?oe(0):en(e);if(e.type==="Buffer"&&Array.isArray(e.data))return en(e.data)}function rn(e){if(e>=ro)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ro.toString(16)+" bytes");return e|0}function ps(e){return+e!=e&&(e=0),d.alloc(+e)}d.isBuffer=function(o){return o!=null&&o._isBuffer===!0&&o!==d.prototype};d.compare=function(o,t){if(j(o,Uint8Array)&&(o=d.from(o,o.offset,o.byteLength)),j(t,Uint8Array)&&(t=d.from(t,t.offset,t.byteLength)),!d.isBuffer(o)||!d.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(o===t)return 0;for(var s=o.length,c=t.length,p=0,m=Math.min(s,c);p<m;++p)if(o[p]!==t[p]){s=o[p],c=t[p];break}return s<c?-1:c<s?1:0};d.isEncoding=function(o){switch(String(o).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}};d.concat=function(o,t){if(!Array.isArray(o))throw new TypeError('"list" argument must be an Array of Buffers');if(o.length===0)return d.alloc(0);var s;if(t===void 0)for(t=0,s=0;s<o.length;++s)t+=o[s].length;var c=d.allocUnsafe(t),p=0;for(s=0;s<o.length;++s){var m=o[s];if(j(m,Uint8Array))p+m.length>c.length?d.from(m).copy(c,p):Uint8Array.prototype.set.call(c,m,p);else if(d.isBuffer(m))m.copy(c,p);else throw new TypeError('"list" argument must be an Array of Buffers');p+=m.length}return c};function vt(e,o){if(d.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||j(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 t=e.length,s=arguments.length>2&&arguments[2]===!0;if(!s&&t===0)return 0;for(var c=!1;;)switch(o){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return nn(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return Ct(e).length;default:if(c)return s?-1:nn(e).length;o=(""+o).toLowerCase(),c=!0}}d.byteLength=vt;function ms(e,o,t){var s=!1;if((o===void 0||o<0)&&(o=0),o>this.length||((t===void 0||t>this.length)&&(t=this.length),t<=0)||(t>>>=0,o>>>=0,t<=o))return"";for(e||(e="utf8");;)switch(e){case"hex":return ys(this,o,t);case"utf8":case"utf-8":return kt(this,o,t);case"ascii":return hs(this,o,t);case"latin1":case"binary":return xs(this,o,t);case"base64":return fs(this,o,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return bs(this,o,t);default:if(s)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),s=!0}}d.prototype._isBuffer=!0;function le(e,o,t){var s=e[o];e[o]=e[t],e[t]=s}d.prototype.swap16=function(){var o=this.length;if(o%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<o;t+=2)le(this,t,t+1);return this};d.prototype.swap32=function(){var o=this.length;if(o%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<o;t+=4)le(this,t,t+3),le(this,t+1,t+2);return this};d.prototype.swap64=function(){var o=this.length;if(o%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<o;t+=8)le(this,t,t+7),le(this,t+1,t+6),le(this,t+2,t+5),le(this,t+3,t+4);return this};d.prototype.toString=function(){var o=this.length;return o===0?"":arguments.length===0?kt(this,0,o):ms.apply(this,arguments)};d.prototype.toLocaleString=d.prototype.toString;d.prototype.equals=function(o){if(!d.isBuffer(o))throw new TypeError("Argument must be a Buffer");return this===o?!0:d.compare(this,o)===0};d.prototype.inspect=function(){var o="",t=Se.INSPECT_MAX_BYTES;return o=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(o+=" ... "),"<Buffer "+o+">"};xt&&(d.prototype[xt]=d.prototype.inspect);d.prototype.compare=function(o,t,s,c,p){if(j(o,Uint8Array)&&(o=d.from(o,o.offset,o.byteLength)),!d.isBuffer(o))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof o);if(t===void 0&&(t=0),s===void 0&&(s=o?o.length:0),c===void 0&&(c=0),p===void 0&&(p=this.length),t<0||s>o.length||c<0||p>this.length)throw new RangeError("out of range index");if(c>=p&&t>=s)return 0;if(c>=p)return-1;if(t>=s)return 1;if(t>>>=0,s>>>=0,c>>>=0,p>>>=0,this===o)return 0;for(var m=p-c,u=s-t,l=Math.min(m,u),h=this.slice(c,p),b=o.slice(t,s),y=0;y<l;++y)if(h[y]!==b[y]){m=h[y],u=b[y];break}return m<u?-1:u<m?1:0};function It(e,o,t,s,c){if(e.length===0)return-1;if(typeof t=="string"?(s=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,an(t)&&(t=c?0:e.length-1),t<0&&(t=e.length+t),t>=e.length){if(c)return-1;t=e.length-1}else if(t<0)if(c)t=0;else return-1;if(typeof o=="string"&&(o=d.from(o,s)),d.isBuffer(o))return o.length===0?-1:yt(e,o,t,s,c);if(typeof o=="number")return o=o&255,typeof Uint8Array.prototype.indexOf=="function"?c?Uint8Array.prototype.indexOf.call(e,o,t):Uint8Array.prototype.lastIndexOf.call(e,o,t):yt(e,[o],t,s,c);throw new TypeError("val must be string, number or Buffer")}function yt(e,o,t,s,c){var p=1,m=e.length,u=o.length;if(s!==void 0&&(s=String(s).toLowerCase(),s==="ucs2"||s==="ucs-2"||s==="utf16le"||s==="utf-16le")){if(e.length<2||o.length<2)return-1;p=2,m/=2,u/=2,t/=2}function l(D,Q){return p===1?D[Q]:D.readUInt16BE(Q*p)}var h;if(c){var b=-1;for(h=t;h<m;h++)if(l(e,h)===l(o,b===-1?0:h-b)){if(b===-1&&(b=h),h-b+1===u)return b*p}else b!==-1&&(h-=h-b),b=-1}else for(t+u>m&&(t=m-u),h=t;h>=0;h--){for(var y=!0,R=0;R<u;R++)if(l(e,h+R)!==l(o,R)){y=!1;break}if(y)return h}return-1}d.prototype.includes=function(o,t,s){return this.indexOf(o,t,s)!==-1};d.prototype.indexOf=function(o,t,s){return It(this,o,t,s,!0)};d.prototype.lastIndexOf=function(o,t,s){return It(this,o,t,s,!1)};function ds(e,o,t,s){t=Number(t)||0;var c=e.length-t;s?(s=Number(s),s>c&&(s=c)):s=c;var p=o.length;s>p/2&&(s=p/2);for(var m=0;m<s;++m){var u=parseInt(o.substr(m*2,2),16);if(an(u))return m;e[t+m]=u}return m}function ls(e,o,t,s){return ao(nn(o,e.length-t),e,t,s)}function _s(e,o,t,s){return ao(vs(o),e,t,s)}function us(e,o,t,s){return ao(Ct(o),e,t,s)}function gs(e,o,t,s){return ao(Is(o,e.length-t),e,t,s)}d.prototype.write=function(o,t,s,c){if(t===void 0)c="utf8",s=this.length,t=0;else if(s===void 0&&typeof t=="string")c=t,s=this.length,t=0;else if(isFinite(t))t=t>>>0,isFinite(s)?(s=s>>>0,c===void 0&&(c="utf8")):(c=s,s=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var p=this.length-t;if((s===void 0||s>p)&&(s=p),o.length>0&&(s<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");c||(c="utf8");for(var m=!1;;)switch(c){case"hex":return ds(this,o,t,s);case"utf8":case"utf-8":return ls(this,o,t,s);case"ascii":case"latin1":case"binary":return _s(this,o,t,s);case"base64":return us(this,o,t,s);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return gs(this,o,t,s);default:if(m)throw new TypeError("Unknown encoding: "+c);c=(""+c).toLowerCase(),m=!0}};d.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function fs(e,o,t){return o===0&&t===e.length?Qo.fromByteArray(e):Qo.fromByteArray(e.slice(o,t))}function kt(e,o,t){t=Math.min(e.length,t);for(var s=[],c=o;c<t;){var p=e[c],m=null,u=p>239?4:p>223?3:p>191?2:1;if(c+u<=t){var l,h,b,y;switch(u){case 1:p<128&&(m=p);break;case 2:l=e[c+1],(l&192)===128&&(y=(p&31)<<6|l&63,y>127&&(m=y));break;case 3:l=e[c+1],h=e[c+2],(l&192)===128&&(h&192)===128&&(y=(p&15)<<12|(l&63)<<6|h&63,y>2047&&(y<55296||y>57343)&&(m=y));break;case 4:l=e[c+1],h=e[c+2],b=e[c+3],(l&192)===128&&(h&192)===128&&(b&192)===128&&(y=(p&15)<<18|(l&63)<<12|(h&63)<<6|b&63,y>65535&&y<1114112&&(m=y))}}m===null?(m=65533,u=1):m>65535&&(m-=65536,s.push(m>>>10&1023|55296),m=56320|m&1023),s.push(m),c+=u}return Ts(s)}var bt=4096;function Ts(e){var o=e.length;if(o<=bt)return String.fromCharCode.apply(String,e);for(var t="",s=0;s<o;)t+=String.fromCharCode.apply(String,e.slice(s,s+=bt));return t}function hs(e,o,t){var s="";t=Math.min(e.length,t);for(var c=o;c<t;++c)s+=String.fromCharCode(e[c]&127);return s}function xs(e,o,t){var s="";t=Math.min(e.length,t);for(var c=o;c<t;++c)s+=String.fromCharCode(e[c]);return s}function ys(e,o,t){var s=e.length;(!o||o<0)&&(o=0),(!t||t<0||t>s)&&(t=s);for(var c="",p=o;p<t;++p)c+=ks[e[p]];return c}function bs(e,o,t){for(var s=e.slice(o,t),c="",p=0;p<s.length-1;p+=2)c+=String.fromCharCode(s[p]+s[p+1]*256);return c}d.prototype.slice=function(o,t){var s=this.length;o=~~o,t=t===void 0?s:~~t,o<0?(o+=s,o<0&&(o=0)):o>s&&(o=s),t<0?(t+=s,t<0&&(t=0)):t>s&&(t=s),t<o&&(t=o);var c=this.subarray(o,t);return Object.setPrototypeOf(c,d.prototype),c};function N(e,o,t){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+o>t)throw new RangeError("Trying to access beyond buffer length")}d.prototype.readUintLE=d.prototype.readUIntLE=function(o,t,s){o=o>>>0,t=t>>>0,s||N(o,t,this.length);for(var c=this[o],p=1,m=0;++m<t&&(p*=256);)c+=this[o+m]*p;return c};d.prototype.readUintBE=d.prototype.readUIntBE=function(o,t,s){o=o>>>0,t=t>>>0,s||N(o,t,this.length);for(var c=this[o+--t],p=1;t>0&&(p*=256);)c+=this[o+--t]*p;return c};d.prototype.readUint8=d.prototype.readUInt8=function(o,t){return o=o>>>0,t||N(o,1,this.length),this[o]};d.prototype.readUint16LE=d.prototype.readUInt16LE=function(o,t){return o=o>>>0,t||N(o,2,this.length),this[o]|this[o+1]<<8};d.prototype.readUint16BE=d.prototype.readUInt16BE=function(o,t){return o=o>>>0,t||N(o,2,this.length),this[o]<<8|this[o+1]};d.prototype.readUint32LE=d.prototype.readUInt32LE=function(o,t){return o=o>>>0,t||N(o,4,this.length),(this[o]|this[o+1]<<8|this[o+2]<<16)+this[o+3]*16777216};d.prototype.readUint32BE=d.prototype.readUInt32BE=function(o,t){return o=o>>>0,t||N(o,4,this.length),this[o]*16777216+(this[o+1]<<16|this[o+2]<<8|this[o+3])};d.prototype.readIntLE=function(o,t,s){o=o>>>0,t=t>>>0,s||N(o,t,this.length);for(var c=this[o],p=1,m=0;++m<t&&(p*=256);)c+=this[o+m]*p;return p*=128,c>=p&&(c-=Math.pow(2,8*t)),c};d.prototype.readIntBE=function(o,t,s){o=o>>>0,t=t>>>0,s||N(o,t,this.length);for(var c=t,p=1,m=this[o+--c];c>0&&(p*=256);)m+=this[o+--c]*p;return p*=128,m>=p&&(m-=Math.pow(2,8*t)),m};d.prototype.readInt8=function(o,t){return o=o>>>0,t||N(o,1,this.length),this[o]&128?(255-this[o]+1)*-1:this[o]};d.prototype.readInt16LE=function(o,t){o=o>>>0,t||N(o,2,this.length);var s=this[o]|this[o+1]<<8;return s&32768?s|4294901760:s};d.prototype.readInt16BE=function(o,t){o=o>>>0,t||N(o,2,this.length);var s=this[o+1]|this[o]<<8;return s&32768?s|4294901760:s};d.prototype.readInt32LE=function(o,t){return o=o>>>0,t||N(o,4,this.length),this[o]|this[o+1]<<8|this[o+2]<<16|this[o+3]<<24};d.prototype.readInt32BE=function(o,t){return o=o>>>0,t||N(o,4,this.length),this[o]<<24|this[o+1]<<16|this[o+2]<<8|this[o+3]};d.prototype.readFloatLE=function(o,t){return o=o>>>0,t||N(o,4,this.length),be.read(this,o,!0,23,4)};d.prototype.readFloatBE=function(o,t){return o=o>>>0,t||N(o,4,this.length),be.read(this,o,!1,23,4)};d.prototype.readDoubleLE=function(o,t){return o=o>>>0,t||N(o,8,this.length),be.read(this,o,!0,52,8)};d.prototype.readDoubleBE=function(o,t){return o=o>>>0,t||N(o,8,this.length),be.read(this,o,!1,52,8)};function O(e,o,t,s,c,p){if(!d.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(o>c||o<p)throw new RangeError('"value" argument is out of bounds');if(t+s>e.length)throw new RangeError("Index out of range")}d.prototype.writeUintLE=d.prototype.writeUIntLE=function(o,t,s,c){if(o=+o,t=t>>>0,s=s>>>0,!c){var p=Math.pow(2,8*s)-1;O(this,o,t,s,p,0)}var m=1,u=0;for(this[t]=o&255;++u<s&&(m*=256);)this[t+u]=o/m&255;return t+s};d.prototype.writeUintBE=d.prototype.writeUIntBE=function(o,t,s,c){if(o=+o,t=t>>>0,s=s>>>0,!c){var p=Math.pow(2,8*s)-1;O(this,o,t,s,p,0)}var m=s-1,u=1;for(this[t+m]=o&255;--m>=0&&(u*=256);)this[t+m]=o/u&255;return t+s};d.prototype.writeUint8=d.prototype.writeUInt8=function(o,t,s){return o=+o,t=t>>>0,s||O(this,o,t,1,255,0),this[t]=o&255,t+1};d.prototype.writeUint16LE=d.prototype.writeUInt16LE=function(o,t,s){return o=+o,t=t>>>0,s||O(this,o,t,2,65535,0),this[t]=o&255,this[t+1]=o>>>8,t+2};d.prototype.writeUint16BE=d.prototype.writeUInt16BE=function(o,t,s){return o=+o,t=t>>>0,s||O(this,o,t,2,65535,0),this[t]=o>>>8,this[t+1]=o&255,t+2};d.prototype.writeUint32LE=d.prototype.writeUInt32LE=function(o,t,s){return o=+o,t=t>>>0,s||O(this,o,t,4,4294967295,0),this[t+3]=o>>>24,this[t+2]=o>>>16,this[t+1]=o>>>8,this[t]=o&255,t+4};d.prototype.writeUint32BE=d.prototype.writeUInt32BE=function(o,t,s){return o=+o,t=t>>>0,s||O(this,o,t,4,4294967295,0),this[t]=o>>>24,this[t+1]=o>>>16,this[t+2]=o>>>8,this[t+3]=o&255,t+4};d.prototype.writeIntLE=function(o,t,s,c){if(o=+o,t=t>>>0,!c){var p=Math.pow(2,8*s-1);O(this,o,t,s,p-1,-p)}var m=0,u=1,l=0;for(this[t]=o&255;++m<s&&(u*=256);)o<0&&l===0&&this[t+m-1]!==0&&(l=1),this[t+m]=(o/u>>0)-l&255;return t+s};d.prototype.writeIntBE=function(o,t,s,c){if(o=+o,t=t>>>0,!c){var p=Math.pow(2,8*s-1);O(this,o,t,s,p-1,-p)}var m=s-1,u=1,l=0;for(this[t+m]=o&255;--m>=0&&(u*=256);)o<0&&l===0&&this[t+m+1]!==0&&(l=1),this[t+m]=(o/u>>0)-l&255;return t+s};d.prototype.writeInt8=function(o,t,s){return o=+o,t=t>>>0,s||O(this,o,t,1,127,-128),o<0&&(o=255+o+1),this[t]=o&255,t+1};d.prototype.writeInt16LE=function(o,t,s){return o=+o,t=t>>>0,s||O(this,o,t,2,32767,-32768),this[t]=o&255,this[t+1]=o>>>8,t+2};d.prototype.writeInt16BE=function(o,t,s){return o=+o,t=t>>>0,s||O(this,o,t,2,32767,-32768),this[t]=o>>>8,this[t+1]=o&255,t+2};d.prototype.writeInt32LE=function(o,t,s){return o=+o,t=t>>>0,s||O(this,o,t,4,2147483647,-2147483648),this[t]=o&255,this[t+1]=o>>>8,this[t+2]=o>>>16,this[t+3]=o>>>24,t+4};d.prototype.writeInt32BE=function(o,t,s){return o=+o,t=t>>>0,s||O(this,o,t,4,2147483647,-2147483648),o<0&&(o=4294967295+o+1),this[t]=o>>>24,this[t+1]=o>>>16,this[t+2]=o>>>8,this[t+3]=o&255,t+4};function At(e,o,t,s,c,p){if(t+s>e.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function Et(e,o,t,s,c){return o=+o,t=t>>>0,c||At(e,o,t,4,34028234663852886e22,-34028234663852886e22),be.write(e,o,t,s,23,4),t+4}d.prototype.writeFloatLE=function(o,t,s){return Et(this,o,t,!0,s)};d.prototype.writeFloatBE=function(o,t,s){return Et(this,o,t,!1,s)};function Lt(e,o,t,s,c){return o=+o,t=t>>>0,c||At(e,o,t,8,17976931348623157e292,-17976931348623157e292),be.write(e,o,t,s,52,8),t+8}d.prototype.writeDoubleLE=function(o,t,s){return Lt(this,o,t,!0,s)};d.prototype.writeDoubleBE=function(o,t,s){return Lt(this,o,t,!1,s)};d.prototype.copy=function(o,t,s,c){if(!d.isBuffer(o))throw new TypeError("argument should be a Buffer");if(s||(s=0),!c&&c!==0&&(c=this.length),t>=o.length&&(t=o.length),t||(t=0),c>0&&c<s&&(c=s),c===s||o.length===0||this.length===0)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(s<0||s>=this.length)throw new RangeError("Index out of range");if(c<0)throw new RangeError("sourceEnd out of bounds");c>this.length&&(c=this.length),o.length-t<c-s&&(c=o.length-t+s);var p=c-s;return this===o&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(t,s,c):Uint8Array.prototype.set.call(o,this.subarray(s,c),t),p};d.prototype.fill=function(o,t,s,c){if(typeof o=="string"){if(typeof t=="string"?(c=t,t=0,s=this.length):typeof s=="string"&&(c=s,s=this.length),c!==void 0&&typeof c!="string")throw new TypeError("encoding must be a string");if(typeof c=="string"&&!d.isEncoding(c))throw new TypeError("Unknown encoding: "+c);if(o.length===1){var p=o.charCodeAt(0);(c==="utf8"&&p<128||c==="latin1")&&(o=p)}}else typeof o=="number"?o=o&255:typeof o=="boolean"&&(o=Number(o));if(t<0||this.length<t||this.length<s)throw new RangeError("Out of range index");if(s<=t)return this;t=t>>>0,s=s===void 0?this.length:s>>>0,o||(o=0);var m;if(typeof o=="number")for(m=t;m<s;++m)this[m]=o;else{var u=d.isBuffer(o)?o:d.from(o,c),l=u.length;if(l===0)throw new TypeError('The value "'+o+'" is invalid for argument "value"');for(m=0;m<s-t;++m)this[m+t]=u[m%l]}return this};var Ss=/[^+/0-9A-Za-z-_]/g;function ws(e){if(e=e.split("=")[0],e=e.trim().replace(Ss,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function nn(e,o){o=o||1/0;for(var t,s=e.length,c=null,p=[],m=0;m<s;++m){if(t=e.charCodeAt(m),t>55295&&t<57344){if(!c){if(t>56319){(o-=3)>-1&&p.push(239,191,189);continue}else if(m+1===s){(o-=3)>-1&&p.push(239,191,189);continue}c=t;continue}if(t<56320){(o-=3)>-1&&p.push(239,191,189),c=t;continue}t=(c-55296<<10|t-56320)+65536}else c&&(o-=3)>-1&&p.push(239,191,189);if(c=null,t<128){if((o-=1)<0)break;p.push(t)}else if(t<2048){if((o-=2)<0)break;p.push(t>>6|192,t&63|128)}else if(t<65536){if((o-=3)<0)break;p.push(t>>12|224,t>>6&63|128,t&63|128)}else if(t<1114112){if((o-=4)<0)break;p.push(t>>18|240,t>>12&63|128,t>>6&63|128,t&63|128)}else throw new Error("Invalid code point")}return p}function vs(e){for(var o=[],t=0;t<e.length;++t)o.push(e.charCodeAt(t)&255);return o}function Is(e,o){for(var t,s,c,p=[],m=0;m<e.length&&!((o-=2)<0);++m)t=e.charCodeAt(m),s=t>>8,c=t%256,p.push(c),p.push(s);return p}function Ct(e){return Qo.toByteArray(ws(e))}function ao(e,o,t,s){for(var c=0;c<s&&!(c+t>=o.length||c>=e.length);++c)o[c+t]=e[c];return c}function j(e,o){return e instanceof o||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===o.name}function an(e){return e!==e}var ks=function(){for(var e="0123456789abcdef",o=new Array(256),t=0;t<16;++t)for(var s=t*16,c=0;c<16;++c)o[s+c]=e[t]+e[c];return o}()});var Mt=U((_l,Ot)=>{n();var E=Ot.exports={},z,q;function sn(){throw new Error("setTimeout has not been defined")}function cn(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?z=setTimeout:z=sn}catch(e){z=sn}try{typeof clearTimeout=="function"?q=clearTimeout:q=cn}catch(e){q=cn}})();function Pt(e){if(z===setTimeout)return setTimeout(e,0);if((z===sn||!z)&&setTimeout)return z=setTimeout,setTimeout(e,0);try{return z(e,0)}catch(o){try{return z.call(null,e,0)}catch(t){return z.call(this,e,0)}}}function As(e){if(q===clearTimeout)return clearTimeout(e);if((q===cn||!q)&&clearTimeout)return q=clearTimeout,clearTimeout(e);try{return q(e)}catch(o){try{return q.call(null,e)}catch(t){return q.call(this,e)}}}var ne=[],we=!1,_e,io=-1;function Es(){!we||!_e||(we=!1,_e.length?ne=_e.concat(ne):io=-1,ne.length&&Dt())}function Dt(){if(!we){var e=Pt(Es);we=!0;for(var o=ne.length;o;){for(_e=ne,ne=[];++io<o;)_e&&_e[io].run();io=-1,o=ne.length}_e=null,we=!1,As(e)}}E.nextTick=function(e){var o=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)o[t-1]=arguments[t];ne.push(new Rt(e,o)),ne.length===1&&!we&&Pt(Dt)};function Rt(e,o){this.fun=e,this.array=o}Rt.prototype.run=function(){this.fun.apply(null,this.array)};E.title="browser";E.browser=!0;E.env={};E.argv=[];E.version="";E.versions={};function te(){}E.on=te;E.addListener=te;E.once=te;E.off=te;E.removeListener=te;E.removeAllListeners=te;E.emit=te;E.prependListener=te;E.prependOnceListener=te;E.listeners=function(e){return[]};E.binding=function(e){throw new Error("process.binding is not supported")};E.cwd=function(){return"/"};E.chdir=function(e){throw new Error("process.chdir is not supported")};E.umask=function(){return 0}});var a,i,Ls,r,n=T(()=>{a=f(Nt()),i=f(Mt()),Ls=function(e){function o(){var s=this||self;return delete e.prototype.__magic__,s}if(typeof globalThis=="object")return globalThis;if(this)return o();e.defineProperty(e.prototype,"__magic__",{configurable:!0,get:o});var t=__magic__;return t}(Object),r=Ls});var A=T(()=>{"use strict";n()});function Ie(e){return e!=null&&(Gs(e)||Gt(e))}function ke(e){return e!=null&&(Ws(e)||js(e))}function Ae(e){return e!=null&&(Vs(e)||zs(e))}function Ut(e){return e!=null&&($s(e)||qs(e))}function dn(e){return e!=null&&Hs(e)}function Gs(e){return e!=null&&Ns.includes(e)}function Ws(e){return e!=null&&Ps.includes(e)}function Vs(e){return e!=null&&Ds.includes(e)}function $s(e){return e!=null&&Rs.includes(e)}function Hs(e){return e!=null&&Os.includes(e)}function Gt(e){return e!=null&&Ms.includes(e)}function js(e){return e!=null&&Bs.includes(e)}function zs(e){return e!=null&&Fs.includes(e)}function qs(e){return e!=null&&Us.includes(e)}var Ns,Ps,Ds,Rs,Os,Ms,Bs,Fs,Us,ue=T(()=>{"use strict";n();A();Ns=["sent"],Ps=["success"],Ds=["fail","cancelled","timedOut"],Rs=["invalid"],Os=["timedOut"],Ms=["pending"],Bs=["success"],Fs=["fail","invalid"],Us=["not executed"]});var ge=T(()=>{"use strict";n()});var ln=T(()=>{"use strict";n()});var Wt=T(()=>{"use strict";n()});var Vt=T(()=>{"use strict";n()});var $t=T(()=>{"use strict";n()});var Ht=T(()=>{"use strict";n()});var M=T(()=>{"use strict";n()});var jt=T(()=>{"use strict";n()});var zt=T(()=>{"use strict";n()});var qt=T(()=>{"use strict";n()});var C=T(()=>{"use strict";n();ln();Wt();Vt();A();$t();Ht();M();jt();zt();qt()});var Ee,Kt,Bl,Xt,Fl,Yt,Ul,Gl,Ks,Ue=T(()=>{"use strict";n();C();Ee={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:Kt,egldLabel:Bl}=Ee["devnet"],{chainId:Xt,egldLabel:Fl}=Ee["testnet"],{chainId:Yt,egldLabel:Ul}=Ee["mainnet"],Gl={["devnet"]:Kt,["testnet"]:Xt,["mainnet"]:Yt},Ks={[Kt]:"devnet",[Xt]:"testnet",[Yt]:"mainnet"}});var _n=T(()=>{"use strict";n()});var Zt=T(()=>{"use strict";n()});var so,un=T(()=>{"use strict";n();so="transaction-status-toast-id"});var K,Jt=T(()=>{"use strict";n();K=require("@multiversx/sdk-web-wallet-provider")});var Qt=T(()=>{"use strict";n()});var er=T(()=>{"use strict";n()});var Ge,co,or,po,nr,Le,w=T(()=>{"use strict";n();ge();Ue();_n();Zt();un();Jt();Qt();er();Ge=5e4,co=1e9,or=1,po="logout",nr="login",Le="0"});var We,mo=T(()=>{"use strict";n();We=()=>Date.now()/1e3});var tr=T(()=>{"use strict";n()});var rr=T(()=>{"use strict";n()});var gn=T(()=>{"use strict";n();mo();tr();rr()});var Tn={};me(Tn,{getItem:()=>Ys,localStorageKeys:()=>pe,removeItem:()=>Zs,setItem:()=>Xs});var pe,fn,Xs,Ys,Zs,Ce=T(()=>{"use strict";n();gn();pe={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event"},fn=typeof localStorage!="undefined",Xs=({key:e,data:o,expires:t})=>{!fn||localStorage.setItem(String(e),JSON.stringify({expires:t,data:o}))},Ys=e=>{if(!fn)return;let o=localStorage.getItem(String(e));if(!o)return null;let t=JSON.parse(o);return!t||!t.hasOwnProperty("expires")||!t.hasOwnProperty("data")?null:We()>=t.expires?(localStorage.removeItem(String(e)),null):t.data},Zs=e=>{!fn||localStorage.removeItem(String(e))}});var hn={};me(hn,{clear:()=>cr,getItem:()=>ir,removeItem:()=>sr,setItem:()=>ar,storage:()=>Js});var ar,ir,sr,cr,Js,pr=T(()=>{"use strict";n();ar=({key:e,data:o,expires:t})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:t,data:o}))},ir=e=>{let o=sessionStorage.getItem(String(e));if(!o)return null;let t=JSON.parse(o);return!t||!t.hasOwnProperty("expires")||!t.hasOwnProperty("data")?null:Date.now()>=t.expires?(sessionStorage.removeItem(String(e)),null):t.data},sr=e=>sessionStorage.removeItem(String(e)),cr=()=>sessionStorage.clear(),Js={setItem:ar,getItem:ir,removeItem:sr,clear:cr}});var fe,Ne=T(()=>{"use strict";n();Ce();pr();fe={session:hn,local:Tn}});var xn,L,X,P=T(()=>{"use strict";n();xn=require("@reduxjs/toolkit");w();L=(0,xn.createAction)(po),X=(0,xn.createAction)(nr,e=>({payload:e}))});var bn,mr,dr,lo,yn,lr,Sn,y_,wn,b_,Qs,ec,S_,w_,v_,oc,nc,_o,uo=T(()=>{"use strict";n();bn=require("@multiversx/sdk-core"),mr=require("@reduxjs/toolkit"),dr=require("redux-persist");w();Ne();Ce();P();lo={balance:"...",address:"",isGuarded:!1,nonce:0,txCount:0,scrCount:0,claimableRewards:Le},yn={address:"",websocketEvent:null,websocketBatchEvent:null,accounts:{"":lo},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},lr=(0,mr.createSlice)({name:"accountInfoSlice",initialState:yn,reducers:{setAddress:(e,o)=>{let t=o.payload;e.address=t,e.publicKey=new bn.Address(t).hex()},setAccount:(e,o)=>{let t=e.address===o.payload.address;e.accounts={[e.address]:t?o.payload:lo},e.shard=o.payload.shard,e.isAccountLoading=!1,e.accountLoadingError=null},setAccountNonce:(e,o)=>{let{address:t}=e;e.accounts[t].nonce=o.payload},setAccountShard:(e,o)=>{e.shard=o.payload},setLedgerAccount:(e,o)=>{e.ledgerAccount=o.payload},updateLedgerAccount:(e,o)=>{e.ledgerAccount!=null&&(e.ledgerAccount.index=o.payload.index,e.ledgerAccount.address=o.payload.address)},setWalletConnectAccount:(e,o)=>{e.walletConnectAccount=o.payload},setIsAccountLoading:(e,o)=>{e.isAccountLoading=o.payload,e.accountLoadingError=null},setAccountLoadingError:(e,o)=>{e.accountLoadingError=o.payload,e.isAccountLoading=!1},setWebsocketEvent:(e,o)=>{e.websocketEvent={timestamp:Date.now(),message:o.payload}},setWebsocketBatchEvent:(e,o)=>{e.websocketBatchEvent={timestamp:Date.now(),data:o.payload}}},extraReducers:e=>{e.addCase(L,()=>(fe.local.removeItem(pe.loginExpiresAt),yn)),e.addCase(X,(o,t)=>{let{address:s}=t.payload;o.address=s,o.publicKey=new bn.Address(s).hex()}),e.addCase(dr.REHYDRATE,(o,t)=>{var h;if(!((h=t.payload)!=null&&h.account))return;let{account:s}=t.payload,{address:c,shard:p,accounts:m,publicKey:u}=s;o.address=c,o.shard=p;let l=m&&c in m;o.accounts=l?m:yn.accounts,o.publicKey=u})}}),{setAccount:Sn,setAddress:y_,setAccountNonce:wn,setAccountShard:b_,setLedgerAccount:Qs,updateLedgerAccount:ec,setWalletConnectAccount:S_,setIsAccountLoading:w_,setAccountLoadingError:v_,setWebsocketEvent:oc,setWebsocketBatchEvent:nc}=lr.actions,_o=lr.reducer});function Ve(){return new Date().setHours(new Date().getHours()+24)}function $e(e){fe.local.setItem({key:pe.loginExpiresAt,data:e,expires:e})}var vn=T(()=>{"use strict";n();Ne();Ce()});var ur,_r,gr,R_,fr,tc,rc,O_,ac,Tr,M_,go,fo=T(()=>{"use strict";n();ur=require("@reduxjs/toolkit");vn();A();P();_r={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,operaLogin:null,isLoginSessionInvalid:!1},gr=(0,ur.createSlice)({name:"loginInfoSlice",initialState:_r,reducers:{setLoginMethod:(e,o)=>{e.loginMethod=o.payload},setTokenLogin:(e,o)=>{e.tokenLogin=o.payload},setTokenLoginSignature:(e,o)=>{(e==null?void 0:e.tokenLogin)!=null&&(e.tokenLogin.signature=o.payload)},setWalletLogin:(e,o)=>{e.walletLogin=o.payload},setWalletConnectLogin:(e,o)=>{e.walletConnectLogin=o.payload},setLedgerLogin:(e,o)=>{e.ledgerLogin=o.payload},invalidateLoginSession:e=>{e.isLoginSessionInvalid=!0},setLogoutRoute:(e,o)=>{e.logoutRoute=o.payload}},extraReducers:e=>{e.addCase(L,()=>_r),e.addCase(X,(o,t)=>{o.loginMethod=t.payload.loginMethod,$e(Ve())})}}),{setLoginMethod:R_,setWalletConnectLogin:fr,setLedgerLogin:tc,setTokenLogin:rc,setTokenLoginSignature:O_,setWalletLogin:ac,invalidateLoginSession:Tr,setLogoutRoute:M_}=gr.actions,go=gr.reducer});var xr,hr,yr,G_,ic,W_,sc,To,ho=T(()=>{"use strict";n();xr=require("@reduxjs/toolkit");P();hr={},yr=(0,xr.createSlice)({name:"modalsSlice",initialState:hr,reducers:{setTxSubmittedModal:(e,o)=>{e.txSubmittedModal=o.payload},setNotificationModal:(e,o)=>{e.notificationModal=o.payload},clearTxSubmittedModal:e=>{e.txSubmittedModal=void 0},clearNotificationModal:e=>{e.notificationModal=void 0}},extraReducers:e=>{e.addCase(L,()=>hr)}}),{setTxSubmittedModal:G_,setNotificationModal:ic,clearTxSubmittedModal:W_,clearNotificationModal:sc}=yr.actions,To=yr.reducer});var He=T(()=>{"use strict";n()});var Sr=T(()=>{"use strict";n();He()});function In(e){return e[Math.floor(Math.random()*e.length)]}var wr=T(()=>{"use strict";n()});var kn=T(()=>{"use strict";n();_n()});var Te=T(()=>{"use strict";n();Sr();wr();kn()});var vr,Ir,An,cc,kr,nu,tu,xo,yo=T(()=>{"use strict";n();vr=require("@reduxjs/toolkit"),Ir=f(require("lodash.omit"));Te();An={id:"not-configured",chainId:"",name:"NOT CONFIGURED",egldLabel:"",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"",walletConnectBridgeAddress:"",walletConnectV2RelayAddress:"",walletConnectV2ProjectId:"",walletConnectV2Options:{},walletAddress:"",apiAddress:"",explorerAddress:"",apiTimeout:"4000"},cc={network:An,chainID:"-1"},kr=(0,vr.createSlice)({name:"appConfig",initialState:cc,reducers:{initializeNetworkConfig:(e,o)=>{let t=In(o.payload.walletConnectBridgeAddresses),s=In(o.payload.walletConnectV2RelayAddresses),c=(0,Ir.default)(o.payload,"walletConnectBridgeAddresses","walletConnectV2RelayAddresses");e.network=S(g(g({},e.network),c),{walletConnectBridgeAddress:t,walletConnectV2RelayAddress:s})},setChainID:(e,o)=>{e.chainID=o.payload}}}),{initializeNetworkConfig:nu,setChainID:tu}=kr.actions,xo=kr.reducer});var Ar,En,Er,pu,mu,du,bo,So=T(()=>{"use strict";n();Ar=require("@reduxjs/toolkit");C();P();En={isSigning:!1,signedSessions:{}},Er=(0,Ar.createSlice)({name:"signedMessageInfoSliceState",initialState:En,reducers:{setSignSession:(e,o)=>{let{sessionId:t,signedSession:s,errorMessage:c}=o.payload;c&&(e.errorMessage=c),e.isSigning=s.status==="pending",e.signedSessions[t]=s},setSignSessionState:(e,o)=>g(g({},e),o.payload),clearSignedMessageInfo:()=>En},extraReducers:e=>{e.addCase(L,()=>En)}}),{setSignSession:pu,clearSignedMessageInfo:mu,setSignSessionState:du}=Er.actions,bo=Er.reducer});var Cr,Nr,Lr,Pr,pc,Ln,xu,mc,yu,bu,wo,vo=T(()=>{"use strict";n();Cr=require("@reduxjs/toolkit"),Nr=require("redux-persist");un();C();mo();P();Lr={customToasts:[],transactionToasts:[],failTransactionToast:null},Pr=(0,Cr.createSlice)({name:"toastsSlice",initialState:Lr,reducers:{addCustomToast:(e,o)=>{e.customToasts.push(S(g({},o.payload),{type:"custom",toastId:o.payload.toastId||`custom-toast-${e.customToasts.length+1}`}))},removeCustomToast:(e,o)=>{e.customToasts=e.customToasts.filter(t=>t.toastId!==o.payload)},addTransactionToast:(e,o)=>{e.transactionToasts.push({type:"transaction",startTimestamp:We(),toastId:o.payload||`custom-toast-${e.transactionToasts.length+1}`})},removeTransactionToast:(e,o)=>{e.transactionToasts=e.transactionToasts.filter(t=>t.toastId!==o.payload)},addFailTransactionToast:(e,o)=>{e.failTransactionToast=S(g({},o.payload),{toastId:so})},removeFailTransactionToast:e=>{e.failTransactionToast=null}},extraReducers:e=>{e.addCase(L,()=>Lr),e.addCase(Nr.REHYDRATE,(o,t)=>{var c,p;let s=(p=(c=t.customToasts)==null?void 0:c.filter(m=>!("component"in m)))!=null?p:[];o.customToasts=s})}}),{addCustomToast:pc,removeCustomToast:Ln,addTransactionToast:xu,removeTransactionToast:mc,addFailTransactionToast:yu,removeFailTransactionToast:bu}=Pr.actions,wo=Pr.reducer});var Dr,Nn,Pn,Dn,dc,Cn,Rr,Iu,lc,Rn,Io,ko=T(()=>{"use strict";n();Dr=require("@reduxjs/toolkit");P();Nn="Transaction failed",Pn="Transaction successful",Dn="Processing transaction",dc="Transaction submitted",Cn={},Rr=(0,Dr.createSlice)({name:"transactionsInfo",initialState:Cn,reducers:{setTransactionsDisplayInfo(e,o){let{sessionId:t,transactionsDisplayInfo:s}=o.payload;t!=null&&(e[t]={errorMessage:(s==null?void 0:s.errorMessage)||Nn,successMessage:(s==null?void 0:s.successMessage)||Pn,processingMessage:(s==null?void 0:s.processingMessage)||Dn,submittedMessage:(s==null?void 0:s.submittedMessage)||dc,transactionDuration:s==null?void 0:s.transactionDuration})},clearTransactionsInfoForSessionId(e,o){o.payload!=null&&delete e[o.payload]},clearTransactionsInfo:()=>Cn},extraReducers:e=>{e.addCase(L,()=>Cn)}}),{clearTransactionsInfo:Iu,setTransactionsDisplayInfo:lc,clearTransactionsInfoForSessionId:Rn}=Rr.actions,Io=Rr.reducer});var Or,Mr,je,_c,Br,Fr,Ur,uc,Ao,gc,fc,Pu,Tc,ze,On,Eo,Lo=T(()=>{"use strict";n();Or=require("@reduxjs/toolkit"),Mr=require("redux-persist");A();ue();P();je={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},_c={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},Br=(0,Or.createSlice)({name:"transactionsSlice",initialState:je,reducers:{moveTransactionsToSignedState:(e,o)=>{var h,b;let{sessionId:t,transactions:s,errorMessage:c,status:p,redirectRoute:m,customTransactionInformation:u={}}=o.payload,l=((h=e.customTransactionInformationForSessionId)==null?void 0:h[t])||_c;e.signedTransactions[t]={transactions:s,status:p,errorMessage:c,redirectRoute:m,customTransactionInformation:g(g({},l),u)},((b=e==null?void 0:e.transactionsToSign)==null?void 0:b.sessionId)===t&&(e.transactionsToSign=je.transactionsToSign)},clearSignedTransaction:(e,o)=>{e.signedTransactions[o.payload]&&delete e.signedTransactions[o.payload]},clearTransactionToSign:e=>{e!=null&&e.transactionsToSign&&(e.transactionsToSign=null)},updateSignedTransaction:(e,o)=>{e.signedTransactions=g(g({},e.signedTransactions),o.payload)},updateSignedTransactions:(e,o)=>{let{sessionId:t,status:s,errorMessage:c,transactions:p}=o.payload;e.signedTransactions[t]!=null&&(e.signedTransactions[t].status=s,c!=null&&(e.signedTransactions[t].errorMessage=c),p!=null&&(e.signedTransactions[t].transactions=p))},updateSignedTransactionStatus:(e,o)=>{var l,h,b,y,R,D,Q,oo;let{sessionId:t,status:s,errorMessage:c,transactionHash:p,inTransit:m}=o.payload,u=(h=(l=e.signedTransactions)==null?void 0:l[t])==null?void 0:h.transactions;if(u!=null){e.signedTransactions[t].transactions=u.map(ee=>ee.hash===p?S(g({},ee),{status:s,errorMessage:c,inTransit:m}):ee);let Vi=(y=(b=e.signedTransactions[t])==null?void 0:b.transactions)==null?void 0:y.every(ee=>ke(ee.status)),$i=(D=(R=e.signedTransactions[t])==null?void 0:R.transactions)==null?void 0:D.every(ee=>Ae(ee.status)),Hi=(oo=(Q=e.signedTransactions[t])==null?void 0:Q.transactions)==null?void 0:oo.every(ee=>Ut(ee.status));Vi&&(e.signedTransactions[t].status="success"),$i&&(e.signedTransactions[t].status="fail"),Hi&&(e.signedTransactions[t].status="invalid")}},setTransactionsToSign:(e,o)=>{e.transactionsToSign=o.payload;let{sessionId:t,customTransactionInformation:s}=o.payload;e.customTransactionInformationForSessionId[t]=s,e.signTransactionsError=null},clearAllTransactionsToSign:e=>{e.transactionsToSign=je.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=je.signedTransactions},setSignTransactionsError:(e,o)=>{e.signTransactionsError=o.payload},setSignTransactionsCancelMessage:(e,o)=>{e.signTransactionsCancelMessage=o.payload}},extraReducers:e=>{e.addCase(L,()=>je),e.addCase(Mr.REHYDRATE,(o,t)=>{var m;if(o.signTransactionsCancelMessage=null,!((m=t.payload)!=null&&m.transactions))return;let{signedTransactions:s,customTransactionInformationForSessionId:c}=t.payload.transactions,p=Object.entries(s).reduce((u,[l,h])=>{let b=new Date(l),y=new Date;return y.setHours(y.getHours()+5),y-b>0||(u[l]=h),u},{});c!=null&&(o.customTransactionInformationForSessionId=c),s!=null&&(o.signedTransactions=p)})}}),{updateSignedTransactionStatus:Fr,updateSignedTransactions:Ur,setTransactionsToSign:uc,clearAllTransactionsToSign:Ao,clearAllSignedTransactions:gc,clearSignedTransaction:fc,clearTransactionToSign:Pu,setSignTransactionsError:Tc,setSignTransactionsCancelMessage:ze,moveTransactionsToSignedState:On}=Br.actions,Eo=Br.reducer});var Gr,Mn,Wr,Mu,Bu,hc,Fu,Co,No=T(()=>{"use strict";n();Gr=require("@reduxjs/toolkit");P();Mn={},Wr=(0,Gr.createSlice)({name:"batchTransactionsSlice",initialState:Mn,reducers:{setBatchTransactions:(e,o)=>{e[o.payload.id]=o.payload},updateBatchTransactions:(e,o)=>{e[o.payload.id]=o.payload},clearBatchTransactions:(e,o)=>{delete e[o.payload.batchId]},clearAllBatchTransactions:()=>Mn},extraReducers:e=>{e.addCase(L,()=>Mn)}}),{setBatchTransactions:Mu,updateBatchTransactions:Bu,clearBatchTransactions:hc,clearAllBatchTransactions:Fu}=Wr.actions,Co=Wr.reducer});var $r,Vr,Hr,Vu,jr,Bn=T(()=>{"use strict";n();$r=require("@reduxjs/toolkit");P();Vr={},Hr=(0,$r.createSlice)({name:"dappConfigSlice",initialState:Vr,reducers:{setDappConfig:(e,o)=>{if(e&&o.payload){let{logoutRoute:t,shouldUseWebViewProvider:s}=o.payload;e.logoutRoute=t,e.shouldUseWebViewProvider=s}else e=o.payload}},extraReducers:e=>{e.addCase(L,()=>Vr)}}),{setDappConfig:Vu}=Hr.actions,jr=Hr.reducer});var k=T(()=>{"use strict";n();uo();fo();ho();yo();So();vo();ko();Lo();No();Bn()});var Vn=T(()=>{"use strict";n()});var ia,aa,sa,gf,ff,Tf,hf,xf,yf,ca,pa=T(()=>{"use strict";n();ia=require("@reduxjs/toolkit");P();aa={visible:!1,modal:{showHeader:!0,showFooter:!1,headerText:"",footerText:""}},sa=(0,ia.createSlice)({name:"dappModalsSlice",initialState:aa,reducers:{setDappModalVisibility:(e,o)=>{e.visible=o.payload},setDappModalHeaderVisibility:(e,o)=>{e.modal.showHeader=o.payload},setDappModalFooterVisibility:(e,o)=>{e.modal.showFooter=o.payload},setDappModalHeaderText:(e,o)=>{e.modal.headerText=o.payload},setDappModalFooterText:(e,o)=>{e.modal.footerText=o.payload},setDappModalConfig:(e,o)=>{e.modal=g({},o.payload)}},extraReducers:e=>{e.addCase(L,()=>aa)}}),{setDappModalVisibility:gf,setDappModalHeaderVisibility:ff,setDappModalFooterVisibility:Tf,setDappModalHeaderText:hf,setDappModalFooterText:xf,setDappModalConfig:yf}=sa.actions,ca=sa.reducer});var ma,Fc,Uc,he,Fo=T(()=>{"use strict";n();ma=require("@reduxjs/toolkit");Vn();uo();No();Bn();pa();fo();ho();yo();So();vo();ko();Lo();Fc={["account"]:_o,["dappModal"]:ca,["dappConfig"]:jr,["loginInfo"]:go,["modals"]:To,["networkConfig"]:xo,["signedMessageInfo"]:bo,["toasts"]:wo,["transactionsInfo"]:Io,["transactions"]:Eo,["batchTransactions"]:Co},Uc=(e={})=>(0,ma.combineReducers)(g(g({},Fc),e)),he=Uc});var ua={};me(ua,{default:()=>op,sessionStorageReducers:()=>$n});function ae(e,o=[]){return{key:e,version:1,storage:la.default,blacklist:o}}var B,da,la,Gc,Ke,Wc,Vc,$c,Hc,jc,zc,qc,Kc,Xc,Yc,_a,Zc,$n,Jc,Qc,ep,op,ga=T(()=>{"use strict";n();B=require("redux-persist"),da=f(require("redux-persist/lib/storage")),la=f(require("redux-persist/lib/storage/session"));Fo();k();uo();No();fo();ho();yo();So();vo();ko();Lo();Vn();Gc={persistReducersStorageType:"localStorage"},Ke={["account"]:"sdk-dapp-account",["loginInfo"]:"sdk-dapp-login-info",["modals"]:"sdk-dapp-modals",["networkConfig"]:"sdk-dapp-network-config"},Wc=ae(Ke["account"]),Vc=ae(Ke["loginInfo"]),$c=ae(Ke["modals"]),Hc=ae(Ke["networkConfig"]),jc={2:e=>S(g({},e),{networkConfig:An})};zc=ae("sdk-dapp-transactionsInfo"),qc=ae("sdk-dapp-transactions",["transactionsToSign"]),Kc=ae("sdk-dapp-batchTransactions",["batchTransactions"]),Xc=ae("sdk-dapp-toasts"),Yc=ae("sdk-dapp-signedMessageInfo"),_a={key:"sdk-dapp-store",version:2,storage:da.default,whitelist:Object.keys(Ke),migrate:(0,B.createMigrate)(jc,{debug:!1})},Zc=S(g({},_a),{whitelist:[]}),$n={["toasts"]:(0,B.persistReducer)(Xc,wo),["transactions"]:(0,B.persistReducer)(qc,Eo),["transactionsInfo"]:(0,B.persistReducer)(zc,Io),["batchTransactions"]:(0,B.persistReducer)(Kc,Co),["signedMessageInfo"]:(0,B.persistReducer)(Yc,bo)},Jc=S(g({},$n),{["account"]:(0,B.persistReducer)(Wc,_o),["loginInfo"]:(0,B.persistReducer)(Vc,go),["modals"]:(0,B.persistReducer)($c,To),["networkConfig"]:(0,B.persistReducer)(Hc,xo)}),Qc=Gc.persistReducersStorageType==="localStorage",ep=Qc?(0,B.persistReducer)(_a,he($n)):(0,B.persistReducer)(Zc,he(Jc)),op=ep});var fa={};me(fa,{default:()=>np});var np,Ta=T(()=>{"use strict";n();Fo();np=he()});var ha={};me(ha,{default:()=>rp});var V,tp,rp,xa=T(()=>{"use strict";n();V=require("redux-persist"),tp=[V.FLUSH,V.REHYDRATE,V.PAUSE,V.PERSIST,V.PURGE,V.REGISTER],rp=tp});var Sa={};me(Sa,{default:()=>ba});function ba(e){return(0,ya.persistStore)(e)}var ya,wa=T(()=>{"use strict";n();ya=require("redux-persist")});var ui=U((kC,_i)=>{n();var ed=typeof r=="object"&&r&&r.Object===Object&&r;_i.exports=ed});var fi=U((AC,gi)=>{n();var od=ui(),nd=typeof self=="object"&&self&&self.Object===Object&&self,td=od||nd||Function("return this")();gi.exports=td});var it=U((EC,Ti)=>{n();var rd=fi(),ad=rd.Symbol;Ti.exports=ad});var bi=U((LC,yi)=>{n();var hi=it(),xi=Object.prototype,id=xi.hasOwnProperty,sd=xi.toString,Je=hi?hi.toStringTag:void 0;function cd(e){var o=id.call(e,Je),t=e[Je];try{e[Je]=void 0;var s=!0}catch(p){}var c=sd.call(e);return s&&(o?e[Je]=t:delete e[Je]),c}yi.exports=cd});var wi=U((CC,Si)=>{n();var pd=Object.prototype,md=pd.toString;function dd(e){return md.call(e)}Si.exports=dd});var Ai=U((NC,ki)=>{n();var vi=it(),ld=bi(),_d=wi(),ud="[object Null]",gd="[object Undefined]",Ii=vi?vi.toStringTag:void 0;function fd(e){return e==null?e===void 0?gd:ud:Ii&&Ii in Object(e)?ld(e):_d(e)}ki.exports=fd});var Li=U((PC,Ei)=>{n();var Td=Array.isArray;Ei.exports=Td});var Ni=U((DC,Ci)=>{n();function hd(e){return e!=null&&typeof e=="object"}Ci.exports=hd});var Di=U((RC,Pi)=>{n();var xd=Ai(),yd=Li(),bd=Ni(),Sd="[object String]";function wd(e){return typeof e=="string"||!yd(e)&&bd(e)&&xd(e)==Sd}Pi.exports=wd});var cl={};me(cl,{useMemoizedCloseButton:()=>sl});module.exports=Fe(cl);n();var eo=f(require("react"));n();n();var pn=f(require("react")),Bt=require("@fortawesome/free-solid-svg-icons"),Ft=require("@fortawesome/react-fontawesome"),mn=({className:e="dapp-default-toast-delete-button",onClick:o})=>pn.default.createElement("button",{type:"button",className:e,onClick:o},pn.default.createElement(Ft.FontAwesomeIcon,{icon:Bt.faTimes,size:"xs"}));n();var el=f(require("react")),ol=require("@fortawesome/react-fontawesome"),nl=f(require("classnames"));n();var Cs=`.dapp-core-component__main__link-style {
|
|
1
|
+
"use strict";var ji=Object.create;var Be=Object.defineProperty,zi=Object.defineProperties,qi=Object.getOwnPropertyDescriptor,Ki=Object.getOwnPropertyDescriptors,Xi=Object.getOwnPropertyNames,no=Object.getOwnPropertySymbols,Yi=Object.getPrototypeOf,Yo=Object.prototype.hasOwnProperty,_t=Object.prototype.propertyIsEnumerable;var lt=(e,o,t)=>o in e?Be(e,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[o]=t,g=(e,o)=>{for(var t in o||(o={}))Yo.call(o,t)&<(e,t,o[t]);if(no)for(var t of no(o))_t.call(o,t)&<(e,t,o[t]);return e},S=(e,o)=>zi(e,Ki(o));var ye=(e,o)=>{var t={};for(var s in e)Yo.call(e,s)&&o.indexOf(s)<0&&(t[s]=e[s]);if(e!=null&&no)for(var s of no(e))o.indexOf(s)<0&&_t.call(e,s)&&(t[s]=e[s]);return t};var T=(e,o)=>()=>(e&&(o=e(e=0)),o);var U=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports),me=(e,o)=>{for(var t in o)Be(e,t,{get:o[t],enumerable:!0})},ut=(e,o,t,s)=>{if(o&&typeof o=="object"||typeof o=="function")for(let c of Xi(o))!Yo.call(e,c)&&c!==t&&Be(e,c,{get:()=>o[c],enumerable:!(s=qi(o,c))||s.enumerable});return e};var f=(e,o,t)=>(t=e!=null?ji(Yi(e)):{},ut(o||!e||!e.__esModule?Be(t,"default",{value:e,enumerable:!0}):t,e)),Fe=e=>ut(Be({},"__esModule",{value:!0}),e);var x=(e,o,t)=>new Promise((s,c)=>{var p=l=>{try{u(t.next(l))}catch(h){c(h)}},m=l=>{try{u(t.throw(l))}catch(h){c(h)}},u=l=>l.done?s(l.value):Promise.resolve(l.value).then(p,m);u((t=t.apply(e,o)).next())});var Tt=U(to=>{"use strict";n();to.byteLength=Ji;to.toByteArray=es;to.fromByteArray=ts;var H=[],W=[],Zi=typeof Uint8Array!="undefined"?Uint8Array:Array,Zo="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(de=0,gt=Zo.length;de<gt;++de)H[de]=Zo[de],W[Zo.charCodeAt(de)]=de;var de,gt;W["-".charCodeAt(0)]=62;W["_".charCodeAt(0)]=63;function ft(e){var o=e.length;if(o%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var t=e.indexOf("=");t===-1&&(t=o);var s=t===o?0:4-t%4;return[t,s]}function Ji(e){var o=ft(e),t=o[0],s=o[1];return(t+s)*3/4-s}function Qi(e,o,t){return(o+t)*3/4-t}function es(e){var o,t=ft(e),s=t[0],c=t[1],p=new Zi(Qi(e,s,c)),m=0,u=c>0?s-4:s,l;for(l=0;l<u;l+=4)o=W[e.charCodeAt(l)]<<18|W[e.charCodeAt(l+1)]<<12|W[e.charCodeAt(l+2)]<<6|W[e.charCodeAt(l+3)],p[m++]=o>>16&255,p[m++]=o>>8&255,p[m++]=o&255;return c===2&&(o=W[e.charCodeAt(l)]<<2|W[e.charCodeAt(l+1)]>>4,p[m++]=o&255),c===1&&(o=W[e.charCodeAt(l)]<<10|W[e.charCodeAt(l+1)]<<4|W[e.charCodeAt(l+2)]>>2,p[m++]=o>>8&255,p[m++]=o&255),p}function os(e){return H[e>>18&63]+H[e>>12&63]+H[e>>6&63]+H[e&63]}function ns(e,o,t){for(var s,c=[],p=o;p<t;p+=3)s=(e[p]<<16&16711680)+(e[p+1]<<8&65280)+(e[p+2]&255),c.push(os(s));return c.join("")}function ts(e){for(var o,t=e.length,s=t%3,c=[],p=16383,m=0,u=t-s;m<u;m+=p)c.push(ns(e,m,m+p>u?u:m+p));return s===1?(o=e[t-1],c.push(H[o>>2]+H[o<<4&63]+"==")):s===2&&(o=(e[t-2]<<8)+e[t-1],c.push(H[o>>10]+H[o>>4&63]+H[o<<2&63]+"=")),c.join("")}});var ht=U(Jo=>{n();Jo.read=function(e,o,t,s,c){var p,m,u=c*8-s-1,l=(1<<u)-1,h=l>>1,b=-7,y=t?c-1:0,R=t?-1:1,D=e[o+y];for(y+=R,p=D&(1<<-b)-1,D>>=-b,b+=u;b>0;p=p*256+e[o+y],y+=R,b-=8);for(m=p&(1<<-b)-1,p>>=-b,b+=s;b>0;m=m*256+e[o+y],y+=R,b-=8);if(p===0)p=1-h;else{if(p===l)return m?NaN:(D?-1:1)*(1/0);m=m+Math.pow(2,s),p=p-h}return(D?-1:1)*m*Math.pow(2,p-s)};Jo.write=function(e,o,t,s,c,p){var m,u,l,h=p*8-c-1,b=(1<<h)-1,y=b>>1,R=c===23?Math.pow(2,-24)-Math.pow(2,-77):0,D=s?0:p-1,Q=s?1:-1,oo=o<0||o===0&&1/o<0?1:0;for(o=Math.abs(o),isNaN(o)||o===1/0?(u=isNaN(o)?1:0,m=b):(m=Math.floor(Math.log(o)/Math.LN2),o*(l=Math.pow(2,-m))<1&&(m--,l*=2),m+y>=1?o+=R/l:o+=R*Math.pow(2,1-y),o*l>=2&&(m++,l/=2),m+y>=b?(u=0,m=b):m+y>=1?(u=(o*l-1)*Math.pow(2,c),m=m+y):(u=o*Math.pow(2,y-1)*Math.pow(2,c),m=0));c>=8;e[t+D]=u&255,D+=Q,u/=256,c-=8);for(m=m<<c|u,h+=c;h>0;e[t+D]=m&255,D+=Q,m/=256,h-=8);e[t+D-Q]|=oo*128}});var Nt=U(Se=>{"use strict";n();var Qo=Tt(),be=ht(),xt=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Se.Buffer=d;Se.SlowBuffer=ps;Se.INSPECT_MAX_BYTES=50;var ro=2147483647;Se.kMaxLength=ro;d.TYPED_ARRAY_SUPPORT=rs();!d.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 rs(){try{var e=new Uint8Array(1),o={foo:function(){return 42}};return Object.setPrototypeOf(o,Uint8Array.prototype),Object.setPrototypeOf(e,o),e.foo()===42}catch(t){return!1}}Object.defineProperty(d.prototype,"parent",{enumerable:!0,get:function(){if(!!d.isBuffer(this))return this.buffer}});Object.defineProperty(d.prototype,"offset",{enumerable:!0,get:function(){if(!!d.isBuffer(this))return this.byteOffset}});function oe(e){if(e>ro)throw new RangeError('The value "'+e+'" is invalid for option "size"');var o=new Uint8Array(e);return Object.setPrototypeOf(o,d.prototype),o}function d(e,o,t){if(typeof e=="number"){if(typeof o=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return tn(e)}return St(e,o,t)}d.poolSize=8192;function St(e,o,t){if(typeof e=="string")return is(e,o);if(ArrayBuffer.isView(e))return ss(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(j(e,ArrayBuffer)||e&&j(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(j(e,SharedArrayBuffer)||e&&j(e.buffer,SharedArrayBuffer)))return on(e,o,t);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var s=e.valueOf&&e.valueOf();if(s!=null&&s!==e)return d.from(s,o,t);var c=cs(e);if(c)return c;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return d.from(e[Symbol.toPrimitive]("string"),o,t);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}d.from=function(e,o,t){return St(e,o,t)};Object.setPrototypeOf(d.prototype,Uint8Array.prototype);Object.setPrototypeOf(d,Uint8Array);function wt(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 as(e,o,t){return wt(e),e<=0?oe(e):o!==void 0?typeof t=="string"?oe(e).fill(o,t):oe(e).fill(o):oe(e)}d.alloc=function(e,o,t){return as(e,o,t)};function tn(e){return wt(e),oe(e<0?0:rn(e)|0)}d.allocUnsafe=function(e){return tn(e)};d.allocUnsafeSlow=function(e){return tn(e)};function is(e,o){if((typeof o!="string"||o==="")&&(o="utf8"),!d.isEncoding(o))throw new TypeError("Unknown encoding: "+o);var t=vt(e,o)|0,s=oe(t),c=s.write(e,o);return c!==t&&(s=s.slice(0,c)),s}function en(e){for(var o=e.length<0?0:rn(e.length)|0,t=oe(o),s=0;s<o;s+=1)t[s]=e[s]&255;return t}function ss(e){if(j(e,Uint8Array)){var o=new Uint8Array(e);return on(o.buffer,o.byteOffset,o.byteLength)}return en(e)}function on(e,o,t){if(o<0||e.byteLength<o)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<o+(t||0))throw new RangeError('"length" is outside of buffer bounds');var s;return o===void 0&&t===void 0?s=new Uint8Array(e):t===void 0?s=new Uint8Array(e,o):s=new Uint8Array(e,o,t),Object.setPrototypeOf(s,d.prototype),s}function cs(e){if(d.isBuffer(e)){var o=rn(e.length)|0,t=oe(o);return t.length===0||e.copy(t,0,0,o),t}if(e.length!==void 0)return typeof e.length!="number"||an(e.length)?oe(0):en(e);if(e.type==="Buffer"&&Array.isArray(e.data))return en(e.data)}function rn(e){if(e>=ro)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ro.toString(16)+" bytes");return e|0}function ps(e){return+e!=e&&(e=0),d.alloc(+e)}d.isBuffer=function(o){return o!=null&&o._isBuffer===!0&&o!==d.prototype};d.compare=function(o,t){if(j(o,Uint8Array)&&(o=d.from(o,o.offset,o.byteLength)),j(t,Uint8Array)&&(t=d.from(t,t.offset,t.byteLength)),!d.isBuffer(o)||!d.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(o===t)return 0;for(var s=o.length,c=t.length,p=0,m=Math.min(s,c);p<m;++p)if(o[p]!==t[p]){s=o[p],c=t[p];break}return s<c?-1:c<s?1:0};d.isEncoding=function(o){switch(String(o).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}};d.concat=function(o,t){if(!Array.isArray(o))throw new TypeError('"list" argument must be an Array of Buffers');if(o.length===0)return d.alloc(0);var s;if(t===void 0)for(t=0,s=0;s<o.length;++s)t+=o[s].length;var c=d.allocUnsafe(t),p=0;for(s=0;s<o.length;++s){var m=o[s];if(j(m,Uint8Array))p+m.length>c.length?d.from(m).copy(c,p):Uint8Array.prototype.set.call(c,m,p);else if(d.isBuffer(m))m.copy(c,p);else throw new TypeError('"list" argument must be an Array of Buffers');p+=m.length}return c};function vt(e,o){if(d.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||j(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 t=e.length,s=arguments.length>2&&arguments[2]===!0;if(!s&&t===0)return 0;for(var c=!1;;)switch(o){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return nn(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return Ct(e).length;default:if(c)return s?-1:nn(e).length;o=(""+o).toLowerCase(),c=!0}}d.byteLength=vt;function ms(e,o,t){var s=!1;if((o===void 0||o<0)&&(o=0),o>this.length||((t===void 0||t>this.length)&&(t=this.length),t<=0)||(t>>>=0,o>>>=0,t<=o))return"";for(e||(e="utf8");;)switch(e){case"hex":return ys(this,o,t);case"utf8":case"utf-8":return kt(this,o,t);case"ascii":return hs(this,o,t);case"latin1":case"binary":return xs(this,o,t);case"base64":return fs(this,o,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return bs(this,o,t);default:if(s)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),s=!0}}d.prototype._isBuffer=!0;function le(e,o,t){var s=e[o];e[o]=e[t],e[t]=s}d.prototype.swap16=function(){var o=this.length;if(o%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<o;t+=2)le(this,t,t+1);return this};d.prototype.swap32=function(){var o=this.length;if(o%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<o;t+=4)le(this,t,t+3),le(this,t+1,t+2);return this};d.prototype.swap64=function(){var o=this.length;if(o%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<o;t+=8)le(this,t,t+7),le(this,t+1,t+6),le(this,t+2,t+5),le(this,t+3,t+4);return this};d.prototype.toString=function(){var o=this.length;return o===0?"":arguments.length===0?kt(this,0,o):ms.apply(this,arguments)};d.prototype.toLocaleString=d.prototype.toString;d.prototype.equals=function(o){if(!d.isBuffer(o))throw new TypeError("Argument must be a Buffer");return this===o?!0:d.compare(this,o)===0};d.prototype.inspect=function(){var o="",t=Se.INSPECT_MAX_BYTES;return o=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(o+=" ... "),"<Buffer "+o+">"};xt&&(d.prototype[xt]=d.prototype.inspect);d.prototype.compare=function(o,t,s,c,p){if(j(o,Uint8Array)&&(o=d.from(o,o.offset,o.byteLength)),!d.isBuffer(o))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof o);if(t===void 0&&(t=0),s===void 0&&(s=o?o.length:0),c===void 0&&(c=0),p===void 0&&(p=this.length),t<0||s>o.length||c<0||p>this.length)throw new RangeError("out of range index");if(c>=p&&t>=s)return 0;if(c>=p)return-1;if(t>=s)return 1;if(t>>>=0,s>>>=0,c>>>=0,p>>>=0,this===o)return 0;for(var m=p-c,u=s-t,l=Math.min(m,u),h=this.slice(c,p),b=o.slice(t,s),y=0;y<l;++y)if(h[y]!==b[y]){m=h[y],u=b[y];break}return m<u?-1:u<m?1:0};function It(e,o,t,s,c){if(e.length===0)return-1;if(typeof t=="string"?(s=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,an(t)&&(t=c?0:e.length-1),t<0&&(t=e.length+t),t>=e.length){if(c)return-1;t=e.length-1}else if(t<0)if(c)t=0;else return-1;if(typeof o=="string"&&(o=d.from(o,s)),d.isBuffer(o))return o.length===0?-1:yt(e,o,t,s,c);if(typeof o=="number")return o=o&255,typeof Uint8Array.prototype.indexOf=="function"?c?Uint8Array.prototype.indexOf.call(e,o,t):Uint8Array.prototype.lastIndexOf.call(e,o,t):yt(e,[o],t,s,c);throw new TypeError("val must be string, number or Buffer")}function yt(e,o,t,s,c){var p=1,m=e.length,u=o.length;if(s!==void 0&&(s=String(s).toLowerCase(),s==="ucs2"||s==="ucs-2"||s==="utf16le"||s==="utf-16le")){if(e.length<2||o.length<2)return-1;p=2,m/=2,u/=2,t/=2}function l(D,Q){return p===1?D[Q]:D.readUInt16BE(Q*p)}var h;if(c){var b=-1;for(h=t;h<m;h++)if(l(e,h)===l(o,b===-1?0:h-b)){if(b===-1&&(b=h),h-b+1===u)return b*p}else b!==-1&&(h-=h-b),b=-1}else for(t+u>m&&(t=m-u),h=t;h>=0;h--){for(var y=!0,R=0;R<u;R++)if(l(e,h+R)!==l(o,R)){y=!1;break}if(y)return h}return-1}d.prototype.includes=function(o,t,s){return this.indexOf(o,t,s)!==-1};d.prototype.indexOf=function(o,t,s){return It(this,o,t,s,!0)};d.prototype.lastIndexOf=function(o,t,s){return It(this,o,t,s,!1)};function ds(e,o,t,s){t=Number(t)||0;var c=e.length-t;s?(s=Number(s),s>c&&(s=c)):s=c;var p=o.length;s>p/2&&(s=p/2);for(var m=0;m<s;++m){var u=parseInt(o.substr(m*2,2),16);if(an(u))return m;e[t+m]=u}return m}function ls(e,o,t,s){return ao(nn(o,e.length-t),e,t,s)}function _s(e,o,t,s){return ao(vs(o),e,t,s)}function us(e,o,t,s){return ao(Ct(o),e,t,s)}function gs(e,o,t,s){return ao(Is(o,e.length-t),e,t,s)}d.prototype.write=function(o,t,s,c){if(t===void 0)c="utf8",s=this.length,t=0;else if(s===void 0&&typeof t=="string")c=t,s=this.length,t=0;else if(isFinite(t))t=t>>>0,isFinite(s)?(s=s>>>0,c===void 0&&(c="utf8")):(c=s,s=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var p=this.length-t;if((s===void 0||s>p)&&(s=p),o.length>0&&(s<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");c||(c="utf8");for(var m=!1;;)switch(c){case"hex":return ds(this,o,t,s);case"utf8":case"utf-8":return ls(this,o,t,s);case"ascii":case"latin1":case"binary":return _s(this,o,t,s);case"base64":return us(this,o,t,s);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return gs(this,o,t,s);default:if(m)throw new TypeError("Unknown encoding: "+c);c=(""+c).toLowerCase(),m=!0}};d.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function fs(e,o,t){return o===0&&t===e.length?Qo.fromByteArray(e):Qo.fromByteArray(e.slice(o,t))}function kt(e,o,t){t=Math.min(e.length,t);for(var s=[],c=o;c<t;){var p=e[c],m=null,u=p>239?4:p>223?3:p>191?2:1;if(c+u<=t){var l,h,b,y;switch(u){case 1:p<128&&(m=p);break;case 2:l=e[c+1],(l&192)===128&&(y=(p&31)<<6|l&63,y>127&&(m=y));break;case 3:l=e[c+1],h=e[c+2],(l&192)===128&&(h&192)===128&&(y=(p&15)<<12|(l&63)<<6|h&63,y>2047&&(y<55296||y>57343)&&(m=y));break;case 4:l=e[c+1],h=e[c+2],b=e[c+3],(l&192)===128&&(h&192)===128&&(b&192)===128&&(y=(p&15)<<18|(l&63)<<12|(h&63)<<6|b&63,y>65535&&y<1114112&&(m=y))}}m===null?(m=65533,u=1):m>65535&&(m-=65536,s.push(m>>>10&1023|55296),m=56320|m&1023),s.push(m),c+=u}return Ts(s)}var bt=4096;function Ts(e){var o=e.length;if(o<=bt)return String.fromCharCode.apply(String,e);for(var t="",s=0;s<o;)t+=String.fromCharCode.apply(String,e.slice(s,s+=bt));return t}function hs(e,o,t){var s="";t=Math.min(e.length,t);for(var c=o;c<t;++c)s+=String.fromCharCode(e[c]&127);return s}function xs(e,o,t){var s="";t=Math.min(e.length,t);for(var c=o;c<t;++c)s+=String.fromCharCode(e[c]);return s}function ys(e,o,t){var s=e.length;(!o||o<0)&&(o=0),(!t||t<0||t>s)&&(t=s);for(var c="",p=o;p<t;++p)c+=ks[e[p]];return c}function bs(e,o,t){for(var s=e.slice(o,t),c="",p=0;p<s.length-1;p+=2)c+=String.fromCharCode(s[p]+s[p+1]*256);return c}d.prototype.slice=function(o,t){var s=this.length;o=~~o,t=t===void 0?s:~~t,o<0?(o+=s,o<0&&(o=0)):o>s&&(o=s),t<0?(t+=s,t<0&&(t=0)):t>s&&(t=s),t<o&&(t=o);var c=this.subarray(o,t);return Object.setPrototypeOf(c,d.prototype),c};function N(e,o,t){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+o>t)throw new RangeError("Trying to access beyond buffer length")}d.prototype.readUintLE=d.prototype.readUIntLE=function(o,t,s){o=o>>>0,t=t>>>0,s||N(o,t,this.length);for(var c=this[o],p=1,m=0;++m<t&&(p*=256);)c+=this[o+m]*p;return c};d.prototype.readUintBE=d.prototype.readUIntBE=function(o,t,s){o=o>>>0,t=t>>>0,s||N(o,t,this.length);for(var c=this[o+--t],p=1;t>0&&(p*=256);)c+=this[o+--t]*p;return c};d.prototype.readUint8=d.prototype.readUInt8=function(o,t){return o=o>>>0,t||N(o,1,this.length),this[o]};d.prototype.readUint16LE=d.prototype.readUInt16LE=function(o,t){return o=o>>>0,t||N(o,2,this.length),this[o]|this[o+1]<<8};d.prototype.readUint16BE=d.prototype.readUInt16BE=function(o,t){return o=o>>>0,t||N(o,2,this.length),this[o]<<8|this[o+1]};d.prototype.readUint32LE=d.prototype.readUInt32LE=function(o,t){return o=o>>>0,t||N(o,4,this.length),(this[o]|this[o+1]<<8|this[o+2]<<16)+this[o+3]*16777216};d.prototype.readUint32BE=d.prototype.readUInt32BE=function(o,t){return o=o>>>0,t||N(o,4,this.length),this[o]*16777216+(this[o+1]<<16|this[o+2]<<8|this[o+3])};d.prototype.readIntLE=function(o,t,s){o=o>>>0,t=t>>>0,s||N(o,t,this.length);for(var c=this[o],p=1,m=0;++m<t&&(p*=256);)c+=this[o+m]*p;return p*=128,c>=p&&(c-=Math.pow(2,8*t)),c};d.prototype.readIntBE=function(o,t,s){o=o>>>0,t=t>>>0,s||N(o,t,this.length);for(var c=t,p=1,m=this[o+--c];c>0&&(p*=256);)m+=this[o+--c]*p;return p*=128,m>=p&&(m-=Math.pow(2,8*t)),m};d.prototype.readInt8=function(o,t){return o=o>>>0,t||N(o,1,this.length),this[o]&128?(255-this[o]+1)*-1:this[o]};d.prototype.readInt16LE=function(o,t){o=o>>>0,t||N(o,2,this.length);var s=this[o]|this[o+1]<<8;return s&32768?s|4294901760:s};d.prototype.readInt16BE=function(o,t){o=o>>>0,t||N(o,2,this.length);var s=this[o+1]|this[o]<<8;return s&32768?s|4294901760:s};d.prototype.readInt32LE=function(o,t){return o=o>>>0,t||N(o,4,this.length),this[o]|this[o+1]<<8|this[o+2]<<16|this[o+3]<<24};d.prototype.readInt32BE=function(o,t){return o=o>>>0,t||N(o,4,this.length),this[o]<<24|this[o+1]<<16|this[o+2]<<8|this[o+3]};d.prototype.readFloatLE=function(o,t){return o=o>>>0,t||N(o,4,this.length),be.read(this,o,!0,23,4)};d.prototype.readFloatBE=function(o,t){return o=o>>>0,t||N(o,4,this.length),be.read(this,o,!1,23,4)};d.prototype.readDoubleLE=function(o,t){return o=o>>>0,t||N(o,8,this.length),be.read(this,o,!0,52,8)};d.prototype.readDoubleBE=function(o,t){return o=o>>>0,t||N(o,8,this.length),be.read(this,o,!1,52,8)};function O(e,o,t,s,c,p){if(!d.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(o>c||o<p)throw new RangeError('"value" argument is out of bounds');if(t+s>e.length)throw new RangeError("Index out of range")}d.prototype.writeUintLE=d.prototype.writeUIntLE=function(o,t,s,c){if(o=+o,t=t>>>0,s=s>>>0,!c){var p=Math.pow(2,8*s)-1;O(this,o,t,s,p,0)}var m=1,u=0;for(this[t]=o&255;++u<s&&(m*=256);)this[t+u]=o/m&255;return t+s};d.prototype.writeUintBE=d.prototype.writeUIntBE=function(o,t,s,c){if(o=+o,t=t>>>0,s=s>>>0,!c){var p=Math.pow(2,8*s)-1;O(this,o,t,s,p,0)}var m=s-1,u=1;for(this[t+m]=o&255;--m>=0&&(u*=256);)this[t+m]=o/u&255;return t+s};d.prototype.writeUint8=d.prototype.writeUInt8=function(o,t,s){return o=+o,t=t>>>0,s||O(this,o,t,1,255,0),this[t]=o&255,t+1};d.prototype.writeUint16LE=d.prototype.writeUInt16LE=function(o,t,s){return o=+o,t=t>>>0,s||O(this,o,t,2,65535,0),this[t]=o&255,this[t+1]=o>>>8,t+2};d.prototype.writeUint16BE=d.prototype.writeUInt16BE=function(o,t,s){return o=+o,t=t>>>0,s||O(this,o,t,2,65535,0),this[t]=o>>>8,this[t+1]=o&255,t+2};d.prototype.writeUint32LE=d.prototype.writeUInt32LE=function(o,t,s){return o=+o,t=t>>>0,s||O(this,o,t,4,4294967295,0),this[t+3]=o>>>24,this[t+2]=o>>>16,this[t+1]=o>>>8,this[t]=o&255,t+4};d.prototype.writeUint32BE=d.prototype.writeUInt32BE=function(o,t,s){return o=+o,t=t>>>0,s||O(this,o,t,4,4294967295,0),this[t]=o>>>24,this[t+1]=o>>>16,this[t+2]=o>>>8,this[t+3]=o&255,t+4};d.prototype.writeIntLE=function(o,t,s,c){if(o=+o,t=t>>>0,!c){var p=Math.pow(2,8*s-1);O(this,o,t,s,p-1,-p)}var m=0,u=1,l=0;for(this[t]=o&255;++m<s&&(u*=256);)o<0&&l===0&&this[t+m-1]!==0&&(l=1),this[t+m]=(o/u>>0)-l&255;return t+s};d.prototype.writeIntBE=function(o,t,s,c){if(o=+o,t=t>>>0,!c){var p=Math.pow(2,8*s-1);O(this,o,t,s,p-1,-p)}var m=s-1,u=1,l=0;for(this[t+m]=o&255;--m>=0&&(u*=256);)o<0&&l===0&&this[t+m+1]!==0&&(l=1),this[t+m]=(o/u>>0)-l&255;return t+s};d.prototype.writeInt8=function(o,t,s){return o=+o,t=t>>>0,s||O(this,o,t,1,127,-128),o<0&&(o=255+o+1),this[t]=o&255,t+1};d.prototype.writeInt16LE=function(o,t,s){return o=+o,t=t>>>0,s||O(this,o,t,2,32767,-32768),this[t]=o&255,this[t+1]=o>>>8,t+2};d.prototype.writeInt16BE=function(o,t,s){return o=+o,t=t>>>0,s||O(this,o,t,2,32767,-32768),this[t]=o>>>8,this[t+1]=o&255,t+2};d.prototype.writeInt32LE=function(o,t,s){return o=+o,t=t>>>0,s||O(this,o,t,4,2147483647,-2147483648),this[t]=o&255,this[t+1]=o>>>8,this[t+2]=o>>>16,this[t+3]=o>>>24,t+4};d.prototype.writeInt32BE=function(o,t,s){return o=+o,t=t>>>0,s||O(this,o,t,4,2147483647,-2147483648),o<0&&(o=4294967295+o+1),this[t]=o>>>24,this[t+1]=o>>>16,this[t+2]=o>>>8,this[t+3]=o&255,t+4};function At(e,o,t,s,c,p){if(t+s>e.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function Et(e,o,t,s,c){return o=+o,t=t>>>0,c||At(e,o,t,4,34028234663852886e22,-34028234663852886e22),be.write(e,o,t,s,23,4),t+4}d.prototype.writeFloatLE=function(o,t,s){return Et(this,o,t,!0,s)};d.prototype.writeFloatBE=function(o,t,s){return Et(this,o,t,!1,s)};function Lt(e,o,t,s,c){return o=+o,t=t>>>0,c||At(e,o,t,8,17976931348623157e292,-17976931348623157e292),be.write(e,o,t,s,52,8),t+8}d.prototype.writeDoubleLE=function(o,t,s){return Lt(this,o,t,!0,s)};d.prototype.writeDoubleBE=function(o,t,s){return Lt(this,o,t,!1,s)};d.prototype.copy=function(o,t,s,c){if(!d.isBuffer(o))throw new TypeError("argument should be a Buffer");if(s||(s=0),!c&&c!==0&&(c=this.length),t>=o.length&&(t=o.length),t||(t=0),c>0&&c<s&&(c=s),c===s||o.length===0||this.length===0)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(s<0||s>=this.length)throw new RangeError("Index out of range");if(c<0)throw new RangeError("sourceEnd out of bounds");c>this.length&&(c=this.length),o.length-t<c-s&&(c=o.length-t+s);var p=c-s;return this===o&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(t,s,c):Uint8Array.prototype.set.call(o,this.subarray(s,c),t),p};d.prototype.fill=function(o,t,s,c){if(typeof o=="string"){if(typeof t=="string"?(c=t,t=0,s=this.length):typeof s=="string"&&(c=s,s=this.length),c!==void 0&&typeof c!="string")throw new TypeError("encoding must be a string");if(typeof c=="string"&&!d.isEncoding(c))throw new TypeError("Unknown encoding: "+c);if(o.length===1){var p=o.charCodeAt(0);(c==="utf8"&&p<128||c==="latin1")&&(o=p)}}else typeof o=="number"?o=o&255:typeof o=="boolean"&&(o=Number(o));if(t<0||this.length<t||this.length<s)throw new RangeError("Out of range index");if(s<=t)return this;t=t>>>0,s=s===void 0?this.length:s>>>0,o||(o=0);var m;if(typeof o=="number")for(m=t;m<s;++m)this[m]=o;else{var u=d.isBuffer(o)?o:d.from(o,c),l=u.length;if(l===0)throw new TypeError('The value "'+o+'" is invalid for argument "value"');for(m=0;m<s-t;++m)this[m+t]=u[m%l]}return this};var Ss=/[^+/0-9A-Za-z-_]/g;function ws(e){if(e=e.split("=")[0],e=e.trim().replace(Ss,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function nn(e,o){o=o||1/0;for(var t,s=e.length,c=null,p=[],m=0;m<s;++m){if(t=e.charCodeAt(m),t>55295&&t<57344){if(!c){if(t>56319){(o-=3)>-1&&p.push(239,191,189);continue}else if(m+1===s){(o-=3)>-1&&p.push(239,191,189);continue}c=t;continue}if(t<56320){(o-=3)>-1&&p.push(239,191,189),c=t;continue}t=(c-55296<<10|t-56320)+65536}else c&&(o-=3)>-1&&p.push(239,191,189);if(c=null,t<128){if((o-=1)<0)break;p.push(t)}else if(t<2048){if((o-=2)<0)break;p.push(t>>6|192,t&63|128)}else if(t<65536){if((o-=3)<0)break;p.push(t>>12|224,t>>6&63|128,t&63|128)}else if(t<1114112){if((o-=4)<0)break;p.push(t>>18|240,t>>12&63|128,t>>6&63|128,t&63|128)}else throw new Error("Invalid code point")}return p}function vs(e){for(var o=[],t=0;t<e.length;++t)o.push(e.charCodeAt(t)&255);return o}function Is(e,o){for(var t,s,c,p=[],m=0;m<e.length&&!((o-=2)<0);++m)t=e.charCodeAt(m),s=t>>8,c=t%256,p.push(c),p.push(s);return p}function Ct(e){return Qo.toByteArray(ws(e))}function ao(e,o,t,s){for(var c=0;c<s&&!(c+t>=o.length||c>=e.length);++c)o[c+t]=e[c];return c}function j(e,o){return e instanceof o||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===o.name}function an(e){return e!==e}var ks=function(){for(var e="0123456789abcdef",o=new Array(256),t=0;t<16;++t)for(var s=t*16,c=0;c<16;++c)o[s+c]=e[t]+e[c];return o}()});var Mt=U((_l,Ot)=>{n();var E=Ot.exports={},z,q;function sn(){throw new Error("setTimeout has not been defined")}function cn(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?z=setTimeout:z=sn}catch(e){z=sn}try{typeof clearTimeout=="function"?q=clearTimeout:q=cn}catch(e){q=cn}})();function Pt(e){if(z===setTimeout)return setTimeout(e,0);if((z===sn||!z)&&setTimeout)return z=setTimeout,setTimeout(e,0);try{return z(e,0)}catch(o){try{return z.call(null,e,0)}catch(t){return z.call(this,e,0)}}}function As(e){if(q===clearTimeout)return clearTimeout(e);if((q===cn||!q)&&clearTimeout)return q=clearTimeout,clearTimeout(e);try{return q(e)}catch(o){try{return q.call(null,e)}catch(t){return q.call(this,e)}}}var ne=[],we=!1,_e,io=-1;function Es(){!we||!_e||(we=!1,_e.length?ne=_e.concat(ne):io=-1,ne.length&&Dt())}function Dt(){if(!we){var e=Pt(Es);we=!0;for(var o=ne.length;o;){for(_e=ne,ne=[];++io<o;)_e&&_e[io].run();io=-1,o=ne.length}_e=null,we=!1,As(e)}}E.nextTick=function(e){var o=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)o[t-1]=arguments[t];ne.push(new Rt(e,o)),ne.length===1&&!we&&Pt(Dt)};function Rt(e,o){this.fun=e,this.array=o}Rt.prototype.run=function(){this.fun.apply(null,this.array)};E.title="browser";E.browser=!0;E.env={};E.argv=[];E.version="";E.versions={};function te(){}E.on=te;E.addListener=te;E.once=te;E.off=te;E.removeListener=te;E.removeAllListeners=te;E.emit=te;E.prependListener=te;E.prependOnceListener=te;E.listeners=function(e){return[]};E.binding=function(e){throw new Error("process.binding is not supported")};E.cwd=function(){return"/"};E.chdir=function(e){throw new Error("process.chdir is not supported")};E.umask=function(){return 0}});var a,i,Ls,r,n=T(()=>{a=f(Nt()),i=f(Mt()),Ls=function(e){function o(){var s=this||self;return delete e.prototype.__magic__,s}if(typeof globalThis=="object")return globalThis;if(this)return o();e.defineProperty(e.prototype,"__magic__",{configurable:!0,get:o});var t=__magic__;return t}(Object),r=Ls});var A=T(()=>{"use strict";n()});function Ie(e){return e!=null&&(Gs(e)||Gt(e))}function ke(e){return e!=null&&(Ws(e)||js(e))}function Ae(e){return e!=null&&(Vs(e)||zs(e))}function Ut(e){return e!=null&&($s(e)||qs(e))}function dn(e){return e!=null&&Hs(e)}function Gs(e){return e!=null&&Ns.includes(e)}function Ws(e){return e!=null&&Ps.includes(e)}function Vs(e){return e!=null&&Ds.includes(e)}function $s(e){return e!=null&&Rs.includes(e)}function Hs(e){return e!=null&&Os.includes(e)}function Gt(e){return e!=null&&Ms.includes(e)}function js(e){return e!=null&&Bs.includes(e)}function zs(e){return e!=null&&Fs.includes(e)}function qs(e){return e!=null&&Us.includes(e)}var Ns,Ps,Ds,Rs,Os,Ms,Bs,Fs,Us,ue=T(()=>{"use strict";n();A();Ns=["sent"],Ps=["success"],Ds=["fail","cancelled","timedOut"],Rs=["invalid"],Os=["timedOut"],Ms=["pending"],Bs=["success"],Fs=["fail","invalid"],Us=["not executed"]});var ge=T(()=>{"use strict";n()});var ln=T(()=>{"use strict";n()});var Wt=T(()=>{"use strict";n()});var Vt=T(()=>{"use strict";n()});var $t=T(()=>{"use strict";n()});var Ht=T(()=>{"use strict";n()});var M=T(()=>{"use strict";n()});var jt=T(()=>{"use strict";n()});var zt=T(()=>{"use strict";n()});var qt=T(()=>{"use strict";n()});var C=T(()=>{"use strict";n();ln();Wt();Vt();A();$t();Ht();M();jt();zt();qt()});var Ee,Kt,Bl,Xt,Fl,Yt,Ul,Gl,Ks,Ue=T(()=>{"use strict";n();C();Ee={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:Kt,egldLabel:Bl}=Ee["devnet"],{chainId:Xt,egldLabel:Fl}=Ee["testnet"],{chainId:Yt,egldLabel:Ul}=Ee["mainnet"],Gl={["devnet"]:Kt,["testnet"]:Xt,["mainnet"]:Yt},Ks={[Kt]:"devnet",[Xt]:"testnet",[Yt]:"mainnet"}});var _n=T(()=>{"use strict";n()});var Zt=T(()=>{"use strict";n()});var so,un=T(()=>{"use strict";n();so="transaction-status-toast-id"});var K,Jt=T(()=>{"use strict";n();K=require("@multiversx/sdk-web-wallet-provider")});var Qt=T(()=>{"use strict";n()});var er=T(()=>{"use strict";n()});var Ge,co,or,po,nr,Le,w=T(()=>{"use strict";n();ge();Ue();_n();Zt();un();Jt();Qt();er();Ge=5e4,co=1e9,or=1,po="logout",nr="login",Le="0"});var We,mo=T(()=>{"use strict";n();We=()=>Date.now()/1e3});var tr=T(()=>{"use strict";n()});var rr=T(()=>{"use strict";n()});var gn=T(()=>{"use strict";n();mo();tr();rr()});var Tn={};me(Tn,{getItem:()=>Ys,localStorageKeys:()=>pe,removeItem:()=>Zs,setItem:()=>Xs});var pe,fn,Xs,Ys,Zs,Ce=T(()=>{"use strict";n();gn();pe={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event"},fn=typeof localStorage!="undefined",Xs=({key:e,data:o,expires:t})=>{!fn||localStorage.setItem(String(e),JSON.stringify({expires:t,data:o}))},Ys=e=>{if(!fn)return;let o=localStorage.getItem(String(e));if(!o)return null;let t=JSON.parse(o);return!t||!t.hasOwnProperty("expires")||!t.hasOwnProperty("data")?null:We()>=t.expires?(localStorage.removeItem(String(e)),null):t.data},Zs=e=>{!fn||localStorage.removeItem(String(e))}});var hn={};me(hn,{clear:()=>cr,getItem:()=>ir,removeItem:()=>sr,setItem:()=>ar,storage:()=>Js});var ar,ir,sr,cr,Js,pr=T(()=>{"use strict";n();ar=({key:e,data:o,expires:t})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:t,data:o}))},ir=e=>{let o=sessionStorage.getItem(String(e));if(!o)return null;let t=JSON.parse(o);return!t||!t.hasOwnProperty("expires")||!t.hasOwnProperty("data")?null:Date.now()>=t.expires?(sessionStorage.removeItem(String(e)),null):t.data},sr=e=>sessionStorage.removeItem(String(e)),cr=()=>sessionStorage.clear(),Js={setItem:ar,getItem:ir,removeItem:sr,clear:cr}});var fe,Ne=T(()=>{"use strict";n();Ce();pr();fe={session:hn,local:Tn}});var xn,L,X,P=T(()=>{"use strict";n();xn=require("@reduxjs/toolkit");w();L=(0,xn.createAction)(po),X=(0,xn.createAction)(nr,e=>({payload:e}))});var bn,mr,dr,lo,yn,lr,Sn,y_,wn,b_,Qs,ec,S_,w_,v_,oc,nc,_o,uo=T(()=>{"use strict";n();bn=require("@multiversx/sdk-core"),mr=require("@reduxjs/toolkit"),dr=require("redux-persist");w();Ne();Ce();P();lo={balance:"...",address:"",isGuarded:!1,nonce:0,txCount:0,scrCount:0,claimableRewards:Le},yn={address:"",websocketEvent:null,websocketBatchEvent:null,accounts:{"":lo},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},lr=(0,mr.createSlice)({name:"accountInfoSlice",initialState:yn,reducers:{setAddress:(e,o)=>{let t=o.payload;e.address=t,e.publicKey=new bn.Address(t).hex()},setAccount:(e,o)=>{let t=e.address===o.payload.address;e.accounts={[e.address]:t?o.payload:lo},e.shard=o.payload.shard,e.isAccountLoading=!1,e.accountLoadingError=null},setAccountNonce:(e,o)=>{let{address:t}=e;e.accounts[t].nonce=o.payload},setAccountShard:(e,o)=>{e.shard=o.payload},setLedgerAccount:(e,o)=>{e.ledgerAccount=o.payload},updateLedgerAccount:(e,o)=>{e.ledgerAccount!=null&&(e.ledgerAccount.index=o.payload.index,e.ledgerAccount.address=o.payload.address)},setWalletConnectAccount:(e,o)=>{e.walletConnectAccount=o.payload},setIsAccountLoading:(e,o)=>{e.isAccountLoading=o.payload,e.accountLoadingError=null},setAccountLoadingError:(e,o)=>{e.accountLoadingError=o.payload,e.isAccountLoading=!1},setWebsocketEvent:(e,o)=>{e.websocketEvent={timestamp:Date.now(),message:o.payload}},setWebsocketBatchEvent:(e,o)=>{e.websocketBatchEvent={timestamp:Date.now(),data:o.payload}}},extraReducers:e=>{e.addCase(L,()=>(fe.local.removeItem(pe.loginExpiresAt),yn)),e.addCase(X,(o,t)=>{let{address:s}=t.payload;o.address=s,o.publicKey=new bn.Address(s).hex()}),e.addCase(dr.REHYDRATE,(o,t)=>{var h;if(!((h=t.payload)!=null&&h.account))return;let{account:s}=t.payload,{address:c,shard:p,accounts:m,publicKey:u}=s;o.address=c,o.shard=p;let l=m&&c in m;o.accounts=l?m:yn.accounts,o.publicKey=u})}}),{setAccount:Sn,setAddress:y_,setAccountNonce:wn,setAccountShard:b_,setLedgerAccount:Qs,updateLedgerAccount:ec,setWalletConnectAccount:S_,setIsAccountLoading:w_,setAccountLoadingError:v_,setWebsocketEvent:oc,setWebsocketBatchEvent:nc}=lr.actions,_o=lr.reducer});function Ve(){return new Date().setHours(new Date().getHours()+24)}function $e(e){fe.local.setItem({key:pe.loginExpiresAt,data:e,expires:e})}var vn=T(()=>{"use strict";n();Ne();Ce()});var ur,_r,gr,R_,fr,tc,rc,O_,ac,Tr,M_,go,fo=T(()=>{"use strict";n();ur=require("@reduxjs/toolkit");vn();A();P();_r={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,operaLogin:null,isLoginSessionInvalid:!1},gr=(0,ur.createSlice)({name:"loginInfoSlice",initialState:_r,reducers:{setLoginMethod:(e,o)=>{e.loginMethod=o.payload},setTokenLogin:(e,o)=>{e.tokenLogin=o.payload},setTokenLoginSignature:(e,o)=>{(e==null?void 0:e.tokenLogin)!=null&&(e.tokenLogin.signature=o.payload)},setWalletLogin:(e,o)=>{e.walletLogin=o.payload},setWalletConnectLogin:(e,o)=>{e.walletConnectLogin=o.payload},setLedgerLogin:(e,o)=>{e.ledgerLogin=o.payload},invalidateLoginSession:e=>{e.isLoginSessionInvalid=!0},setLogoutRoute:(e,o)=>{e.logoutRoute=o.payload}},extraReducers:e=>{e.addCase(L,()=>_r),e.addCase(X,(o,t)=>{o.loginMethod=t.payload.loginMethod,$e(Ve())})}}),{setLoginMethod:R_,setWalletConnectLogin:fr,setLedgerLogin:tc,setTokenLogin:rc,setTokenLoginSignature:O_,setWalletLogin:ac,invalidateLoginSession:Tr,setLogoutRoute:M_}=gr.actions,go=gr.reducer});var xr,hr,yr,G_,ic,W_,sc,To,ho=T(()=>{"use strict";n();xr=require("@reduxjs/toolkit");P();hr={},yr=(0,xr.createSlice)({name:"modalsSlice",initialState:hr,reducers:{setTxSubmittedModal:(e,o)=>{e.txSubmittedModal=o.payload},setNotificationModal:(e,o)=>{e.notificationModal=o.payload},clearTxSubmittedModal:e=>{e.txSubmittedModal=void 0},clearNotificationModal:e=>{e.notificationModal=void 0}},extraReducers:e=>{e.addCase(L,()=>hr)}}),{setTxSubmittedModal:G_,setNotificationModal:ic,clearTxSubmittedModal:W_,clearNotificationModal:sc}=yr.actions,To=yr.reducer});var He=T(()=>{"use strict";n()});var Sr=T(()=>{"use strict";n();He()});function In(e){return e[Math.floor(Math.random()*e.length)]}var wr=T(()=>{"use strict";n()});var kn=T(()=>{"use strict";n();_n()});var Te=T(()=>{"use strict";n();Sr();wr();kn()});var vr,Ir,An,cc,kr,nu,tu,xo,yo=T(()=>{"use strict";n();vr=require("@reduxjs/toolkit"),Ir=f(require("lodash.omit"));Te();An={id:"not-configured",chainId:"",name:"NOT CONFIGURED",egldLabel:"",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"",walletConnectBridgeAddress:"",walletConnectV2RelayAddress:"",walletConnectV2ProjectId:"",walletConnectV2Options:{},walletAddress:"",apiAddress:"",explorerAddress:"",apiTimeout:"4000"},cc={network:An,chainID:"-1"},kr=(0,vr.createSlice)({name:"appConfig",initialState:cc,reducers:{initializeNetworkConfig:(e,o)=>{let t=In(o.payload.walletConnectBridgeAddresses),s=In(o.payload.walletConnectV2RelayAddresses),c=(0,Ir.default)(o.payload,"walletConnectBridgeAddresses","walletConnectV2RelayAddresses");e.network=S(g(g({},e.network),c),{walletConnectBridgeAddress:t,walletConnectV2RelayAddress:s})},setChainID:(e,o)=>{e.chainID=o.payload}}}),{initializeNetworkConfig:nu,setChainID:tu}=kr.actions,xo=kr.reducer});var Ar,En,Er,pu,mu,du,bo,So=T(()=>{"use strict";n();Ar=require("@reduxjs/toolkit");C();P();En={isSigning:!1,signedSessions:{}},Er=(0,Ar.createSlice)({name:"signedMessageInfoSliceState",initialState:En,reducers:{setSignSession:(e,o)=>{let{sessionId:t,signedSession:s,errorMessage:c}=o.payload;c&&(e.errorMessage=c),e.isSigning=s.status==="pending",e.signedSessions[t]=s},setSignSessionState:(e,o)=>g(g({},e),o.payload),clearSignedMessageInfo:()=>En},extraReducers:e=>{e.addCase(L,()=>En)}}),{setSignSession:pu,clearSignedMessageInfo:mu,setSignSessionState:du}=Er.actions,bo=Er.reducer});var Cr,Nr,Lr,Pr,pc,Ln,xu,mc,yu,bu,wo,vo=T(()=>{"use strict";n();Cr=require("@reduxjs/toolkit"),Nr=require("redux-persist");un();C();mo();P();Lr={customToasts:[],transactionToasts:[],failTransactionToast:null},Pr=(0,Cr.createSlice)({name:"toastsSlice",initialState:Lr,reducers:{addCustomToast:(e,o)=>{e.customToasts.push(S(g({},o.payload),{type:"custom",toastId:o.payload.toastId||`custom-toast-${e.customToasts.length+1}`}))},removeCustomToast:(e,o)=>{e.customToasts=e.customToasts.filter(t=>t.toastId!==o.payload)},addTransactionToast:(e,o)=>{e.transactionToasts.push({type:"transaction",startTimestamp:We(),toastId:o.payload||`custom-toast-${e.transactionToasts.length+1}`})},removeTransactionToast:(e,o)=>{e.transactionToasts=e.transactionToasts.filter(t=>t.toastId!==o.payload)},addFailTransactionToast:(e,o)=>{e.failTransactionToast=S(g({},o.payload),{toastId:so})},removeFailTransactionToast:e=>{e.failTransactionToast=null}},extraReducers:e=>{e.addCase(L,()=>Lr),e.addCase(Nr.REHYDRATE,(o,t)=>{var c,p;let s=(p=(c=t.customToasts)==null?void 0:c.filter(m=>!("component"in m)))!=null?p:[];o.customToasts=s})}}),{addCustomToast:pc,removeCustomToast:Ln,addTransactionToast:xu,removeTransactionToast:mc,addFailTransactionToast:yu,removeFailTransactionToast:bu}=Pr.actions,wo=Pr.reducer});var Dr,Nn,Pn,Dn,dc,Cn,Rr,Iu,lc,Rn,Io,ko=T(()=>{"use strict";n();Dr=require("@reduxjs/toolkit");P();Nn="Transaction failed",Pn="Transaction successful",Dn="Processing transaction",dc="Transaction submitted",Cn={},Rr=(0,Dr.createSlice)({name:"transactionsInfo",initialState:Cn,reducers:{setTransactionsDisplayInfo(e,o){let{sessionId:t,transactionsDisplayInfo:s}=o.payload;t!=null&&(e[t]={errorMessage:(s==null?void 0:s.errorMessage)||Nn,successMessage:(s==null?void 0:s.successMessage)||Pn,processingMessage:(s==null?void 0:s.processingMessage)||Dn,submittedMessage:(s==null?void 0:s.submittedMessage)||dc,transactionDuration:s==null?void 0:s.transactionDuration})},clearTransactionsInfoForSessionId(e,o){o.payload!=null&&delete e[o.payload]},clearTransactionsInfo:()=>Cn},extraReducers:e=>{e.addCase(L,()=>Cn)}}),{clearTransactionsInfo:Iu,setTransactionsDisplayInfo:lc,clearTransactionsInfoForSessionId:Rn}=Rr.actions,Io=Rr.reducer});var Or,Mr,je,_c,Br,Fr,Ur,uc,Ao,gc,fc,Pu,Tc,ze,On,Eo,Lo=T(()=>{"use strict";n();Or=require("@reduxjs/toolkit"),Mr=require("redux-persist");A();ue();P();je={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},_c={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},Br=(0,Or.createSlice)({name:"transactionsSlice",initialState:je,reducers:{moveTransactionsToSignedState:(e,o)=>{var h,b;let{sessionId:t,transactions:s,errorMessage:c,status:p,redirectRoute:m,customTransactionInformation:u={}}=o.payload,l=((h=e.customTransactionInformationForSessionId)==null?void 0:h[t])||_c;e.signedTransactions[t]={transactions:s,status:p,errorMessage:c,redirectRoute:m,customTransactionInformation:g(g({},l),u)},((b=e==null?void 0:e.transactionsToSign)==null?void 0:b.sessionId)===t&&(e.transactionsToSign=je.transactionsToSign)},clearSignedTransaction:(e,o)=>{e.signedTransactions[o.payload]&&delete e.signedTransactions[o.payload]},clearTransactionToSign:e=>{e!=null&&e.transactionsToSign&&(e.transactionsToSign=null)},updateSignedTransaction:(e,o)=>{e.signedTransactions=g(g({},e.signedTransactions),o.payload)},updateSignedTransactions:(e,o)=>{let{sessionId:t,status:s,errorMessage:c,transactions:p}=o.payload;e.signedTransactions[t]!=null&&(e.signedTransactions[t].status=s,c!=null&&(e.signedTransactions[t].errorMessage=c),p!=null&&(e.signedTransactions[t].transactions=p))},updateSignedTransactionStatus:(e,o)=>{var l,h,b,y,R,D,Q,oo;let{sessionId:t,status:s,errorMessage:c,transactionHash:p,inTransit:m}=o.payload,u=(h=(l=e.signedTransactions)==null?void 0:l[t])==null?void 0:h.transactions;if(u!=null){e.signedTransactions[t].transactions=u.map(ee=>ee.hash===p?S(g({},ee),{status:s,errorMessage:c,inTransit:m}):ee);let Vi=(y=(b=e.signedTransactions[t])==null?void 0:b.transactions)==null?void 0:y.every(ee=>ke(ee.status)),$i=(D=(R=e.signedTransactions[t])==null?void 0:R.transactions)==null?void 0:D.every(ee=>Ae(ee.status)),Hi=(oo=(Q=e.signedTransactions[t])==null?void 0:Q.transactions)==null?void 0:oo.every(ee=>Ut(ee.status));Vi&&(e.signedTransactions[t].status="success"),$i&&(e.signedTransactions[t].status="fail"),Hi&&(e.signedTransactions[t].status="invalid")}},setTransactionsToSign:(e,o)=>{e.transactionsToSign=o.payload;let{sessionId:t,customTransactionInformation:s}=o.payload;e.customTransactionInformationForSessionId[t]=s,e.signTransactionsError=null},clearAllTransactionsToSign:e=>{e.transactionsToSign=je.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=je.signedTransactions},setSignTransactionsError:(e,o)=>{e.signTransactionsError=o.payload},setSignTransactionsCancelMessage:(e,o)=>{e.signTransactionsCancelMessage=o.payload}},extraReducers:e=>{e.addCase(L,()=>je),e.addCase(Mr.REHYDRATE,(o,t)=>{var m;if(o.signTransactionsCancelMessage=null,!((m=t.payload)!=null&&m.transactions))return;let{signedTransactions:s,customTransactionInformationForSessionId:c}=t.payload.transactions,p=Object.entries(s).reduce((u,[l,h])=>{let b=new Date(l),y=new Date;return y.setHours(y.getHours()+5),y-b>0||(u[l]=h),u},{});c!=null&&(o.customTransactionInformationForSessionId=c),s!=null&&(o.signedTransactions=p)})}}),{updateSignedTransactionStatus:Fr,updateSignedTransactions:Ur,setTransactionsToSign:uc,clearAllTransactionsToSign:Ao,clearAllSignedTransactions:gc,clearSignedTransaction:fc,clearTransactionToSign:Pu,setSignTransactionsError:Tc,setSignTransactionsCancelMessage:ze,moveTransactionsToSignedState:On}=Br.actions,Eo=Br.reducer});var Gr,Mn,Wr,Mu,Bu,hc,Fu,Co,No=T(()=>{"use strict";n();Gr=require("@reduxjs/toolkit");P();Mn={},Wr=(0,Gr.createSlice)({name:"batchTransactionsSlice",initialState:Mn,reducers:{setBatchTransactions:(e,o)=>{e[o.payload.id]=o.payload},updateBatchTransactions:(e,o)=>{e[o.payload.id]=o.payload},clearBatchTransactions:(e,o)=>{delete e[o.payload.batchId]},clearAllBatchTransactions:()=>Mn},extraReducers:e=>{e.addCase(L,()=>Mn)}}),{setBatchTransactions:Mu,updateBatchTransactions:Bu,clearBatchTransactions:hc,clearAllBatchTransactions:Fu}=Wr.actions,Co=Wr.reducer});var $r,Vr,Hr,Vu,jr,Bn=T(()=>{"use strict";n();$r=require("@reduxjs/toolkit");P();Vr={},Hr=(0,$r.createSlice)({name:"dappConfigSlice",initialState:Vr,reducers:{setDappConfig:(e,o)=>{if(e&&o.payload){let{logoutRoute:t,shouldUseWebViewProvider:s}=o.payload;e.logoutRoute=t,e.shouldUseWebViewProvider=s}else e=o.payload}},extraReducers:e=>{e.addCase(L,()=>Vr)}}),{setDappConfig:Vu}=Hr.actions,jr=Hr.reducer});var k=T(()=>{"use strict";n();uo();fo();ho();yo();So();vo();ko();Lo();No();Bn()});var Vn=T(()=>{"use strict";n()});var ia,aa,sa,gf,ff,Tf,hf,xf,yf,ca,pa=T(()=>{"use strict";n();ia=require("@reduxjs/toolkit");P();aa={visible:!1,modal:{showHeader:!0,showFooter:!1,headerText:"",footerText:""}},sa=(0,ia.createSlice)({name:"dappModalsSlice",initialState:aa,reducers:{setDappModalVisibility:(e,o)=>{e.visible=o.payload},setDappModalHeaderVisibility:(e,o)=>{e.modal.showHeader=o.payload},setDappModalFooterVisibility:(e,o)=>{e.modal.showFooter=o.payload},setDappModalHeaderText:(e,o)=>{e.modal.headerText=o.payload},setDappModalFooterText:(e,o)=>{e.modal.footerText=o.payload},setDappModalConfig:(e,o)=>{e.modal=g({},o.payload)}},extraReducers:e=>{e.addCase(L,()=>aa)}}),{setDappModalVisibility:gf,setDappModalHeaderVisibility:ff,setDappModalFooterVisibility:Tf,setDappModalHeaderText:hf,setDappModalFooterText:xf,setDappModalConfig:yf}=sa.actions,ca=sa.reducer});var ma,Fc,Uc,he,Fo=T(()=>{"use strict";n();ma=require("@reduxjs/toolkit");Vn();uo();No();Bn();pa();fo();ho();yo();So();vo();ko();Lo();Fc={["account"]:_o,["dappModal"]:ca,["dappConfig"]:jr,["loginInfo"]:go,["modals"]:To,["networkConfig"]:xo,["signedMessageInfo"]:bo,["toasts"]:wo,["transactionsInfo"]:Io,["transactions"]:Eo,["batchTransactions"]:Co},Uc=(e={})=>(0,ma.combineReducers)(g(g({},Fc),e)),he=Uc});var ua={};me(ua,{default:()=>op,sessionStorageReducers:()=>$n});function ae(e,o=[]){return{key:e,version:1,storage:la.default,blacklist:o}}var B,da,la,Gc,Ke,Wc,Vc,$c,Hc,jc,zc,qc,Kc,Xc,Yc,_a,Zc,$n,Jc,Qc,ep,op,ga=T(()=>{"use strict";n();B=require("redux-persist"),da=f(require("redux-persist/lib/storage")),la=f(require("redux-persist/lib/storage/session"));Fo();k();uo();No();fo();ho();yo();So();vo();ko();Lo();Vn();Gc={persistReducersStorageType:"localStorage"},Ke={["account"]:"sdk-dapp-account",["loginInfo"]:"sdk-dapp-login-info",["modals"]:"sdk-dapp-modals",["networkConfig"]:"sdk-dapp-network-config"},Wc=ae(Ke["account"]),Vc=ae(Ke["loginInfo"]),$c=ae(Ke["modals"]),Hc=ae(Ke["networkConfig"]),jc={2:e=>S(g({},e),{networkConfig:An})};zc=ae("sdk-dapp-transactionsInfo"),qc=ae("sdk-dapp-transactions",["transactionsToSign"]),Kc=ae("sdk-dapp-batchTransactions",["batchTransactions"]),Xc=ae("sdk-dapp-toasts"),Yc=ae("sdk-dapp-signedMessageInfo"),_a={key:"sdk-dapp-store",version:2,storage:da.default,whitelist:Object.keys(Ke),migrate:(0,B.createMigrate)(jc,{debug:!1})},Zc=S(g({},_a),{whitelist:[]}),$n={["toasts"]:(0,B.persistReducer)(Xc,wo),["transactions"]:(0,B.persistReducer)(qc,Eo),["transactionsInfo"]:(0,B.persistReducer)(zc,Io),["batchTransactions"]:(0,B.persistReducer)(Kc,Co),["signedMessageInfo"]:(0,B.persistReducer)(Yc,bo)},Jc=S(g({},$n),{["account"]:(0,B.persistReducer)(Wc,_o),["loginInfo"]:(0,B.persistReducer)(Vc,go),["modals"]:(0,B.persistReducer)($c,To),["networkConfig"]:(0,B.persistReducer)(Hc,xo)}),Qc=Gc.persistReducersStorageType==="localStorage",ep=Qc?(0,B.persistReducer)(_a,he($n)):(0,B.persistReducer)(Zc,he(Jc)),op=ep});var fa={};me(fa,{default:()=>np});var np,Ta=T(()=>{"use strict";n();Fo();np=he()});var ha={};me(ha,{default:()=>rp});var V,tp,rp,xa=T(()=>{"use strict";n();V=require("redux-persist"),tp=[V.FLUSH,V.REHYDRATE,V.PAUSE,V.PERSIST,V.PURGE,V.REGISTER],rp=tp});var Sa={};me(Sa,{default:()=>ba});function ba(e){return(0,ya.persistStore)(e)}var ya,wa=T(()=>{"use strict";n();ya=require("redux-persist")});var ui=U((kC,_i)=>{n();var ed=typeof r=="object"&&r&&r.Object===Object&&r;_i.exports=ed});var fi=U((AC,gi)=>{n();var od=ui(),nd=typeof self=="object"&&self&&self.Object===Object&&self,td=od||nd||Function("return this")();gi.exports=td});var it=U((EC,Ti)=>{n();var rd=fi(),ad=rd.Symbol;Ti.exports=ad});var bi=U((LC,yi)=>{n();var hi=it(),xi=Object.prototype,id=xi.hasOwnProperty,sd=xi.toString,Je=hi?hi.toStringTag:void 0;function cd(e){var o=id.call(e,Je),t=e[Je];try{e[Je]=void 0;var s=!0}catch(p){}var c=sd.call(e);return s&&(o?e[Je]=t:delete e[Je]),c}yi.exports=cd});var wi=U((CC,Si)=>{n();var pd=Object.prototype,md=pd.toString;function dd(e){return md.call(e)}Si.exports=dd});var Ai=U((NC,ki)=>{n();var vi=it(),ld=bi(),_d=wi(),ud="[object Null]",gd="[object Undefined]",Ii=vi?vi.toStringTag:void 0;function fd(e){return e==null?e===void 0?gd:ud:Ii&&Ii in Object(e)?ld(e):_d(e)}ki.exports=fd});var Li=U((PC,Ei)=>{n();var Td=Array.isArray;Ei.exports=Td});var Ni=U((DC,Ci)=>{n();function hd(e){return e!=null&&typeof e=="object"}Ci.exports=hd});var Di=U((RC,Pi)=>{n();var xd=Ai(),yd=Li(),bd=Ni(),Sd="[object String]";function wd(e){return typeof e=="string"||!yd(e)&&bd(e)&&xd(e)==Sd}Pi.exports=wd});var cl={};me(cl,{useMemoizedCloseButton:()=>sl});module.exports=Fe(cl);n();var eo=f(require("react"));n();n();var pn=f(require("react")),Bt=require("@fortawesome/free-solid-svg-icons"),Ft=require("@fortawesome/react-fontawesome"),mn=({className:e="dapp-default-toast-delete-button",onClick:o})=>pn.default.createElement("button",{type:"button",className:e,onClick:o,"data-testid":"deleteToastButton"},pn.default.createElement(Ft.FontAwesomeIcon,{icon:Bt.faTimes,size:"xs"}));n();var el=f(require("react")),ol=require("@fortawesome/react-fontawesome"),nl=f(require("classnames"));n();var Cs=`.dapp-core-component__main__link-style {
|
|
2
2
|
color: #1392ff;
|
|
3
3
|
}
|
|
4
4
|
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
100% {
|
|
31
31
|
width: 0%;
|
|
32
32
|
}
|
|
33
|
-
}`;document.head.appendChild(document.createElement("style")).appendChild(document.createTextNode(im));var Qe={toasts:"dapp-core-component__transactionsToastList-styles__toasts",toastWrapper:"dapp-core-component__transactionsToastList-styles__toastWrapper",loader:"dapp-core-component__transactionsToastList-styles__loader"};n();n();var oa=require("react"),na=({duration:e,onDelete:o})=>{(0,oa.useEffect)(()=>{let t;return e&&(t=setTimeout(o,e)),()=>{clearTimeout(t)}},[e])};n();var Wo=g(require("react"));n();n();var _t=g(require("react")),ta=require("@fortawesome/free-solid-svg-icons"),ra=require("@fortawesome/react-fontawesome"),ut=({className:e="dapp-default-toast-delete-button",onClick:o})=>_t.default.createElement("button",{type:"button",className:e,onClick:o},_t.default.createElement(ra.FontAwesomeIcon,{icon:ta.faTimes,size:"xs"}));n();var mu=g(require("react")),lu=require("@fortawesome/react-fontawesome"),du=g(require("classnames"));n();var sm=`.dapp-core-component__main__link-style {
|
|
33
|
+
}`;document.head.appendChild(document.createElement("style")).appendChild(document.createTextNode(im));var Qe={toasts:"dapp-core-component__transactionsToastList-styles__toasts",toastWrapper:"dapp-core-component__transactionsToastList-styles__toastWrapper",loader:"dapp-core-component__transactionsToastList-styles__loader"};n();n();var oa=require("react"),na=({duration:e,onDelete:o})=>{(0,oa.useEffect)(()=>{let t;return e&&(t=setTimeout(o,e)),()=>{clearTimeout(t)}},[e])};n();var Wo=g(require("react"));n();n();var _t=g(require("react")),ta=require("@fortawesome/free-solid-svg-icons"),ra=require("@fortawesome/react-fontawesome"),ut=({className:e="dapp-default-toast-delete-button",onClick:o})=>_t.default.createElement("button",{type:"button",className:e,onClick:o,"data-testid":"deleteToastButton"},_t.default.createElement(ra.FontAwesomeIcon,{icon:ta.faTimes,size:"xs"}));n();var mu=g(require("react")),lu=require("@fortawesome/react-fontawesome"),du=g(require("classnames"));n();var sm=`.dapp-core-component__main__link-style {
|
|
34
34
|
color: #1392ff;
|
|
35
35
|
}
|
|
36
36
|
|
|
@@ -2876,7 +2876,7 @@ a > .dapp-core-component__trim-styles__trim span.dapp-core-component__trim-style
|
|
|
2876
2876
|
.dapp-core-component__trim-styles__table .dapp-core-component__trim-styles__trim-size-xl .dapp-core-component__trim-styles__trim {
|
|
2877
2877
|
max-width: 13rem;
|
|
2878
2878
|
}
|
|
2879
|
-
}`;document.head.appendChild(document.createElement("style")).appendChild(document.createTextNode(au));var fo={trim:"dapp-core-component__trim-styles__trim",overflow:"dapp-core-component__trim-styles__overflow",ellipsis:"dapp-core-component__trim-styles__ellipsis",left:"dapp-core-component__trim-styles__left",right:"dapp-core-component__trim-styles__right","hidden-text-ref":"dapp-core-component__trim-styles__hidden-text-ref",hiddenTextRef:"dapp-core-component__trim-styles__hidden-text-ref","trim-wrapper":"dapp-core-component__trim-styles__trim-wrapper",trimWrapper:"dapp-core-component__trim-styles__trim-wrapper","text-primary":"dapp-core-component__trim-styles__text-primary",textPrimary:"dapp-core-component__trim-styles__text-primary",table:"dapp-core-component__trim-styles__table","trim-only-sm":"dapp-core-component__trim-styles__trim-only-sm",trimOnlySm:"dapp-core-component__trim-styles__trim-only-sm","trim-fs-sm":"dapp-core-component__trim-styles__trim-fs-sm",trimFsSm:"dapp-core-component__trim-styles__trim-fs-sm","trim-size-xl":"dapp-core-component__trim-styles__trim-size-xl",trimSizeXl:"dapp-core-component__trim-styles__trim-size-xl"};var $c=({text:e,className:o="dapp-trim",dataTestId:t="trim-text-component",color:r})=>{let[c,p]=(0,R.useState)(0),[m,d]=(0,R.useState)(!1),_=(0,R.useRef)(document==null?void 0:document.createElement("span")),f=(0,R.useRef)(document==null?void 0:document.createElement("span")),y=Oc(c,300),h=()=>{if(_.current&&f.current){let C=f.current.offsetWidth-_.current.offsetWidth;d(C>1)}},v=()=>{p(c+1)};return(0,R.useEffect)(()=>(window==null||window.addEventListener("resize",v),()=>{window==null||window.removeEventListener("resize",v)})),(0,R.useEffect)(()=>{h()},[y]),R.default.createElement("span",{ref:_,className:(0,Vc.default)(fo.trim,r,o,{overflow:m}),"data-testid":t},R.default.createElement("span",{ref:f,className:fo.hiddenTextRef},e),m?R.default.createElement(R.default.Fragment,null,R.default.createElement("span",{className:fo.left},R.default.createElement("span",null,String(e).substring(0,Math.floor(e.length/2)))),R.default.createElement("span",{className:fo.ellipsis},va),R.default.createElement("span",{className:fo.right},R.default.createElement("span",null,String(e).substring(Math.ceil(e.length/2))))):R.default.createElement("span",null,e))};var iu={icon:To.faCheck},br={icon:To.faTimes},su={icon:To.faCircleNotch},cu={pending:su,success:iu,fail:br,invalid:br,timedOut:br},wr=({className:e,hash:o,status:t,iconSrc:r,isTimedOut:c})=>{var d;let p=t?cu[t]:null,m=(d=r==null?void 0:r.icon)!=null?d:p==null?void 0:p.icon;return qe.default.createElement("div",{className:(0,Sr.default)(ge.container,e),key:o},!c&&m!=null&&qe.default.createElement(Hc.FontAwesomeIcon,{icon:m,className:(0,Sr.default)(ge.icon,{"fa-spin slow-spin":t==="pending"})}),qe.default.createElement("span",{className:ge.trim},qe.default.createElement($c,{text:o})),qe.default.createElement(qs,{text:o}),qe.default.createElement(Le,{page:`/${Q}/${o}`,className:w.ml2}))};n();var pu=`.dapp-core-component__transactionToast-styles__content {
|
|
2879
|
+
}`;document.head.appendChild(document.createElement("style")).appendChild(document.createTextNode(au));var fo={trim:"dapp-core-component__trim-styles__trim",overflow:"dapp-core-component__trim-styles__overflow",ellipsis:"dapp-core-component__trim-styles__ellipsis",left:"dapp-core-component__trim-styles__left",right:"dapp-core-component__trim-styles__right","hidden-text-ref":"dapp-core-component__trim-styles__hidden-text-ref",hiddenTextRef:"dapp-core-component__trim-styles__hidden-text-ref","trim-wrapper":"dapp-core-component__trim-styles__trim-wrapper",trimWrapper:"dapp-core-component__trim-styles__trim-wrapper","text-primary":"dapp-core-component__trim-styles__text-primary",textPrimary:"dapp-core-component__trim-styles__text-primary",table:"dapp-core-component__trim-styles__table","trim-only-sm":"dapp-core-component__trim-styles__trim-only-sm",trimOnlySm:"dapp-core-component__trim-styles__trim-only-sm","trim-fs-sm":"dapp-core-component__trim-styles__trim-fs-sm",trimFsSm:"dapp-core-component__trim-styles__trim-fs-sm","trim-size-xl":"dapp-core-component__trim-styles__trim-size-xl",trimSizeXl:"dapp-core-component__trim-styles__trim-size-xl"};var $c=({text:e,className:o="dapp-trim",dataTestId:t="trim-text-component",color:r})=>{let[c,p]=(0,R.useState)(0),[m,d]=(0,R.useState)(!1),_=(0,R.useRef)(document==null?void 0:document.createElement("span")),f=(0,R.useRef)(document==null?void 0:document.createElement("span")),y=Oc(c,300),h=()=>{if(_.current&&f.current){let C=f.current.offsetWidth-_.current.offsetWidth;d(C>1)}},v=()=>{p(c+1)};return(0,R.useEffect)(()=>(window==null||window.addEventListener("resize",v),()=>{window==null||window.removeEventListener("resize",v)})),(0,R.useEffect)(()=>{h()},[y]),R.default.createElement("span",{ref:_,className:(0,Vc.default)(fo.trim,r,o,{overflow:m}),"data-testid":t},R.default.createElement("span",{ref:f,className:fo.hiddenTextRef},e),m?R.default.createElement(R.default.Fragment,null,R.default.createElement("span",{className:fo.left},R.default.createElement("span",null,String(e).substring(0,Math.floor(e.length/2)))),R.default.createElement("span",{className:fo.ellipsis},va),R.default.createElement("span",{className:fo.right},R.default.createElement("span",null,String(e).substring(Math.ceil(e.length/2))))):R.default.createElement("span",null,e))};var iu={icon:To.faCheck},br={icon:To.faTimes},su={icon:To.faCircleNotch},cu={pending:su,success:iu,fail:br,invalid:br,timedOut:br},wr=({className:e,hash:o,status:t,iconSrc:r,isTimedOut:c})=>{var d;let p=t?cu[t]:null,m=(d=r==null?void 0:r.icon)!=null?d:p==null?void 0:p.icon;return qe.default.createElement("div",{className:(0,Sr.default)(ge.container,e),key:o,"data-testid":"transactionDetailsToastBody"},!c&&m!=null&&qe.default.createElement(Hc.FontAwesomeIcon,{icon:m,className:(0,Sr.default)(ge.icon,{"fa-spin slow-spin":t==="pending"})}),qe.default.createElement("span",{className:ge.trim},qe.default.createElement($c,{text:o})),qe.default.createElement(qs,{text:o}),qe.default.createElement(Le,{page:`/${Q}/${o}`,className:w.ml2}))};n();var pu=`.dapp-core-component__transactionToast-styles__content {
|
|
2880
2880
|
display: flex;
|
|
2881
2881
|
align-items: center;
|
|
2882
2882
|
}
|