@multiversx/sdk-dapp 4.2.5 → 4.3.0

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.
Files changed (1133) hide show
  1. package/UI/DappModal/components/DappModal.js +1 -1
  2. package/UI/DappModal/components/index.js +1 -1
  3. package/UI/DappModal/index.js +1 -1
  4. package/UI/Denominate/index.js +1 -1
  5. package/UI/ExplorerLink/ExplorerLink.js +1 -1
  6. package/UI/ExplorerLink/index.js +1 -1
  7. package/UI/FormatAmount/FormatAmount.js +1 -1
  8. package/UI/FormatAmount/index.js +1 -1
  9. package/UI/ModalContainer/ModalContainer.js +1 -1
  10. package/UI/ModalContainer/index.js +1 -1
  11. package/UI/NotificationModal/NotificationModal.js +1 -1
  12. package/UI/NotificationModal/index.js +1 -1
  13. package/UI/Pagination/Pagination.js +1 -1
  14. package/UI/Pagination/helpers/getPagination/getPagination.js +1 -1
  15. package/UI/Pagination/helpers/getPagination/getPagination.spec.js +1 -1
  16. package/UI/Pagination/helpers/getPagination/index.js +1 -1
  17. package/UI/Pagination/helpers/index.js +1 -1
  18. package/UI/Pagination/index.js +1 -1
  19. package/UI/SignTransactionsModals/SignTransactionsModals.js +1 -1
  20. package/UI/SignTransactionsModals/SignWithCrossWindowWalletModal/SignWithCrossWindowWalletModal.js +1 -1
  21. package/UI/SignTransactionsModals/SignWithCrossWindowWalletModal/index.js +1 -1
  22. package/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +1 -1
  23. package/UI/SignTransactionsModals/SignWithDeviceModal/SignWithDeviceModal.js +1 -1
  24. package/UI/SignTransactionsModals/SignWithDeviceModal/components/SignStepBody.js +1 -1
  25. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/ConfirmAmount.js +1 -1
  26. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountData/ConfirmAmountData.js +1 -1
  27. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountData/index.js +1 -1
  28. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountLabel/ConfirmAmountLabel.js +1 -1
  29. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountLabel/index.js +1 -1
  30. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountNftSft/ConfirmAmountNftSft.js +1 -1
  31. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountNftSft/index.js +1 -1
  32. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/index.js +1 -1
  33. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/index.js +1 -1
  34. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/ConfirmFee.js +1 -1
  35. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/components/GasDetails/GasDetails.js +1 -1
  36. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/components/GasDetails/index.js +1 -1
  37. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/components/index.js +1 -1
  38. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/index.js +1 -1
  39. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/ConfirmReceiver.js +1 -1
  40. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/index.js +1 -1
  41. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/index.js +1 -1
  42. package/UI/SignTransactionsModals/SignWithDeviceModal/components/index.js +1 -1
  43. package/UI/SignTransactionsModals/SignWithDeviceModal/index.js +1 -1
  44. package/UI/SignTransactionsModals/SignWithExtensionModal/SignWithExtensionModal.js +1 -1
  45. package/UI/SignTransactionsModals/SignWithExtensionModal/index.js +1 -1
  46. package/UI/SignTransactionsModals/SignWithExtraModal/SignWithExtraModal.js +1 -1
  47. package/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
  48. package/UI/SignTransactionsModals/SignWithIframeModal/SignWithIframeModal.js +1 -1
  49. package/UI/SignTransactionsModals/SignWithIframeModal/index.js +1 -1
  50. package/UI/SignTransactionsModals/SignWithLedgerModal/LedgerGuardianSigningModalError.js +1 -1
  51. package/UI/SignTransactionsModals/SignWithLedgerModal/SignWithLedgerModal.js +1 -1
  52. package/UI/SignTransactionsModals/SignWithLedgerModal/index.js +1 -1
  53. package/UI/SignTransactionsModals/SignWithMetamaskModal/SignWithMetamaskModal.js +1 -1
  54. package/UI/SignTransactionsModals/SignWithMetamaskModal/index.js +1 -1
  55. package/UI/SignTransactionsModals/SignWithOperaModal/SignWithOperaModal.js +1 -1
  56. package/UI/SignTransactionsModals/SignWithOperaModal/index.js +1 -1
  57. package/UI/SignTransactionsModals/SignWithPasskeyModal/SignWithPasskeyModal.js +1 -1
  58. package/UI/SignTransactionsModals/SignWithPasskeyModal/index.js +1 -1
  59. package/UI/SignTransactionsModals/SignWithWalletConnectModal/SignWithWalletConnectModal.js +1 -1
  60. package/UI/SignTransactionsModals/SignWithWalletConnectModal/index.js +1 -1
  61. package/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
  62. package/UI/SignTransactionsModals/components/DeviceConfirmationScreen.js +1 -1
  63. package/UI/SignTransactionsModals/components/SignWaitingScreenModal/SignWaitingScreenModal.js +1 -1
  64. package/UI/SignTransactionsModals/components/SignWaitingScreenModal/index.js +1 -1
  65. package/UI/SignTransactionsModals/components/TransactionStatusToast.js +1 -1
  66. package/UI/SignTransactionsModals/components/index.js +1 -1
  67. package/UI/SignTransactionsModals/index.js +1 -1
  68. package/UI/TokenDetails/TokenSymbol/index.js +1 -1
  69. package/UI/TokenDetails/TokenSymbol/tokenSymbol.js +1 -1
  70. package/UI/TokenDetails/index.js +1 -1
  71. package/UI/TransactionData/TransactionData.js +1 -1
  72. package/UI/TransactionData/index.js +1 -1
  73. package/UI/TransactionDetails/TransactionDetails.js +1 -1
  74. package/UI/TransactionDetails/components/TransactionDetailsBody.js +1 -1
  75. package/UI/TransactionDetails/components/index.js +1 -1
  76. package/UI/TransactionDetails/index.js +1 -1
  77. package/UI/TransactionInfo/TransactionInfo.js +1 -1
  78. package/UI/TransactionInfo/components/AddressDetailItem/AddressDetailitem.js +1 -1
  79. package/UI/TransactionInfo/components/AddressDetailItem/index.js +1 -1
  80. package/UI/TransactionInfo/components/DataDecode/DataDecode.js +1 -1
  81. package/UI/TransactionInfo/components/DataDecode/index.js +1 -1
  82. package/UI/TransactionInfo/components/DataField/DataField.js +1 -1
  83. package/UI/TransactionInfo/components/DataField/components/ModalLink/ModalLink.js +1 -1
  84. package/UI/TransactionInfo/components/DataField/components/ModalLink/index.js +1 -1
  85. package/UI/TransactionInfo/components/DataField/components/index.js +1 -1
  86. package/UI/TransactionInfo/components/DataField/index.js +1 -1
  87. package/UI/TransactionInfo/components/EventsList/EventsList.js +1 -1
  88. package/UI/TransactionInfo/components/EventsList/index.js +1 -1
  89. package/UI/TransactionInfo/components/NonceMessage/NonceMessage.js +1 -1
  90. package/UI/TransactionInfo/components/NonceMessage/index.js +1 -1
  91. package/UI/TransactionInfo/components/OperationsList/OperationList.js +1 -1
  92. package/UI/TransactionInfo/components/OperationsList/components/DetailedItem.js +1 -1
  93. package/UI/TransactionInfo/components/OperationsList/components/OperationBlock.js +1 -1
  94. package/UI/TransactionInfo/components/OperationsList/components/OperationRow.js +1 -1
  95. package/UI/TransactionInfo/components/OperationsList/components/OperationText.js +1 -1
  96. package/UI/TransactionInfo/components/OperationsList/components/OperationToken.js +1 -1
  97. package/UI/TransactionInfo/components/OperationsList/components/index.js +1 -1
  98. package/UI/TransactionInfo/components/OperationsList/index.js +1 -1
  99. package/UI/TransactionInfo/components/ScResultsList/ScResultsList.js +1 -1
  100. package/UI/TransactionInfo/components/ScResultsList/components/ResultData/ResultData.js +1 -1
  101. package/UI/TransactionInfo/components/ScResultsList/components/ResultData/index.js +1 -1
  102. package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/ResultHash.js +1 -1
  103. package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/index.js +1 -1
  104. package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/ResultReceiver.js +1 -1
  105. package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/index.js +1 -1
  106. package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/ResultSender.js +1 -1
  107. package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/index.js +1 -1
  108. package/UI/TransactionInfo/components/ScResultsList/index.js +1 -1
  109. package/UI/TransactionInfo/components/ScrDetailItem/ScrDetailItem.js +1 -1
  110. package/UI/TransactionInfo/components/ScrDetailItem/index.js +1 -1
  111. package/UI/TransactionInfo/components/TransactionAction/TransactionAction.js +1 -1
  112. package/UI/TransactionInfo/components/TransactionAction/components/ActionText/index.js +1 -1
  113. package/UI/TransactionInfo/components/TransactionAction/components/ActionToken.js +1 -1
  114. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionCollection.js +1 -1
  115. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionNft.js +1 -1
  116. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionToken.js +1 -1
  117. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/index.js +1 -1
  118. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/index.js +1 -1
  119. package/UI/TransactionInfo/components/TransactionAction/components/index.js +1 -1
  120. package/UI/TransactionInfo/components/TransactionAction/index.js +1 -1
  121. package/UI/TransactionInfo/components/TransactionLogs/TransactionLogs.js +1 -1
  122. package/UI/TransactionInfo/components/TransactionLogs/index.js +1 -1
  123. package/UI/TransactionInfo/components/TransactionStatus/TransactionStatus.js +1 -1
  124. package/UI/TransactionInfo/components/TransactionStatus/index.js +1 -1
  125. package/UI/TransactionInfo/components/index.js +1 -1
  126. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoAge/TransactionInfoAge.js +1 -1
  127. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoAge/index.js +1 -1
  128. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoEgldPrice/TransactionInfoEgldPrice.js +1 -1
  129. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoEgldPrice/index.js +1 -1
  130. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/TransactionInfoFee.js +1 -1
  131. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/index.js +1 -1
  132. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/TransactionInfoFrom.js +1 -1
  133. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/index.js +1 -1
  134. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasLimit/TransactionInfoGasLimit.js +1 -1
  135. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasLimit/index.js +1 -1
  136. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasPrice/TransactionInfoGasPrice.js +1 -1
  137. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasPrice/index.js +1 -1
  138. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/TransactionInfoGasUsed.js +1 -1
  139. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/index.js +1 -1
  140. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/TransactionInfoInputData.js +1 -1
  141. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/index.js +1 -1
  142. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/TransactionInfoMethod.js +1 -1
  143. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/index.js +1 -1
  144. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/TransactionInfoMiniblock.js +1 -1
  145. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/index.js +1 -1
  146. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/TransactionInfoNonce.js +1 -1
  147. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/index.js +1 -1
  148. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/TransactionInfoScResults.js +1 -1
  149. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/index.js +1 -1
  150. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/TransactionInfoStatus.js +1 -1
  151. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/index.js +1 -1
  152. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/TransactionInfoTo.js +1 -1
  153. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/index.js +1 -1
  154. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/TransactionInfoTokenOperations.js +1 -1
  155. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/index.js +1 -1
  156. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/TransactionInfoValue.js +1 -1
  157. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/index.js +1 -1
  158. package/UI/TransactionInfo/components/transactionInfoFields/index.js +1 -1
  159. package/UI/TransactionInfo/index.js +1 -1
  160. package/UI/TransactionsTable/TransactionsTable.js +1 -1
  161. package/UI/TransactionsTable/components/AccountName.js +1 -1
  162. package/UI/TransactionsTable/components/FailedTransactions.js +1 -1
  163. package/UI/TransactionsTable/components/LockedTokenAddressIcon.js +1 -1
  164. package/UI/TransactionsTable/components/ScAddressIcon.js +1 -1
  165. package/UI/TransactionsTable/components/ShardSpan.js +1 -1
  166. package/UI/TransactionsTable/components/TransactionHash.js +1 -1
  167. package/UI/TransactionsTable/components/TransactionIcon.js +1 -1
  168. package/UI/TransactionsTable/components/TransactionMethod.js +1 -1
  169. package/UI/TransactionsTable/components/TransactionReceiver.js +1 -1
  170. package/UI/TransactionsTable/components/TransactionRow.js +1 -1
  171. package/UI/TransactionsTable/components/TransactionSender.js +1 -1
  172. package/UI/TransactionsTable/components/TransactionShardsTransition.js +1 -1
  173. package/UI/TransactionsTable/components/TransactionValue/TransactionValue.js +1 -1
  174. package/UI/TransactionsTable/components/TransactionValue/index.js +1 -1
  175. package/UI/TransactionsTable/components/index.js +1 -1
  176. package/UI/TransactionsTable/index.js +1 -1
  177. package/UI/TransactionsToastList/TransactionsToastList.js +1 -1
  178. package/UI/TransactionsToastList/components/CustomToast/CustomToast.js +1 -1
  179. package/UI/TransactionsToastList/components/CustomToast/components/CustomComponentToast.js +1 -1
  180. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/IconToast.js +1 -1
  181. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/IconToastFooter.js +1 -1
  182. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/ComponentToastFooter.js +1 -1
  183. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/TransactionToastFooter.js +1 -1
  184. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/index.js +1 -1
  185. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/index.js +1 -1
  186. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/index.js +1 -1
  187. package/UI/TransactionsToastList/components/CustomToast/components/SimpleToast.js +1 -1
  188. package/UI/TransactionsToastList/components/CustomToast/components/index.js +1 -1
  189. package/UI/TransactionsToastList/components/CustomToast/helpers/getIsTransaction.js +1 -1
  190. package/UI/TransactionsToastList/components/CustomToast/helpers/index.js +1 -1
  191. package/UI/TransactionsToastList/components/CustomToast/helpers/useMemoizedCloseButton.js +1 -1
  192. package/UI/TransactionsToastList/components/CustomToast/index.js +1 -1
  193. package/UI/TransactionsToastList/components/TransactionToast/TransactionToast.js +1 -1
  194. package/UI/TransactionsToastList/components/TransactionToast/components/DefaultToastDeleteButton.js +1 -1
  195. package/UI/TransactionsToastList/components/TransactionToast/components/TransactionToastContent.js +1 -1
  196. package/UI/TransactionsToastList/components/TransactionToast/components/index.js +1 -1
  197. package/UI/TransactionsToastList/components/TransactionToast/hooks/useTransactionToast.js +1 -1
  198. package/UI/TransactionsToastList/components/TransactionToast/index.js +1 -1
  199. package/UI/TransactionsToastList/components/TransactionToastGuard.js +1 -1
  200. package/UI/TransactionsToastList/components/index.js +1 -1
  201. package/UI/TransactionsToastList/index.js +1 -1
  202. package/UI/Trim/Trim.js +1 -1
  203. package/UI/Trim/index.js +1 -1
  204. package/UI/Trim/trim.styles.js +1 -1
  205. package/UI/UsdValue/UsdValue.js +1 -1
  206. package/UI/UsdValue/index.js +1 -1
  207. package/UI/extension/ExtensionLoginButton/ExtensionLoginButton.js +1 -1
  208. package/UI/extension/ExtensionLoginButton/index.js +1 -1
  209. package/UI/iframe/IframeLoginButton/IframeButton.js +1 -1
  210. package/UI/iframe/IframeLoginButton/index.js +1 -1
  211. package/UI/index.js +1 -1
  212. package/UI/ledger/LedgerLoginButton/LedgerLoginButton.js +1 -1
  213. package/UI/ledger/LedgerLoginButton/index.js +1 -1
  214. package/UI/ledger/LedgerLoginContainer/AddressRow/AddressRow.js +1 -1
  215. package/UI/ledger/LedgerLoginContainer/AddressRow/index.js +1 -1
  216. package/UI/ledger/LedgerLoginContainer/AddressTable/AddressTable.js +1 -1
  217. package/UI/ledger/LedgerLoginContainer/AddressTable/index.js +1 -1
  218. package/UI/ledger/LedgerLoginContainer/ConfirmAddress/ConfirmAddress.js +1 -1
  219. package/UI/ledger/LedgerLoginContainer/ConfirmAddress/helpers/getAuthTokenText.js +1 -1
  220. package/UI/ledger/LedgerLoginContainer/ConfirmAddress/helpers/index.js +1 -1
  221. package/UI/ledger/LedgerLoginContainer/ConfirmAddress/index.js +1 -1
  222. package/UI/ledger/LedgerLoginContainer/LedgerConnect/LedgerConnect.js +1 -1
  223. package/UI/ledger/LedgerLoginContainer/LedgerConnect/index.js +1 -1
  224. package/UI/ledger/LedgerLoginContainer/LedgerLoading/LedgerLoading.js +1 -1
  225. package/UI/ledger/LedgerLoginContainer/LedgerLoading/index.js +1 -1
  226. package/UI/ledger/LedgerLoginContainer/LedgerLoginContainer.js +1 -1
  227. package/UI/ledger/LedgerLoginContainer/LedgerLoginContent/LedgerLoginContent.js +1 -1
  228. package/UI/ledger/LedgerLoginContainer/LedgerLoginContent/index.js +1 -1
  229. package/UI/ledger/LedgerLoginContainer/LedgerLoginContentBody/LedgerLoginContentBody.js +1 -1
  230. package/UI/ledger/LedgerLoginContainer/LedgerLoginContentBody/index.js +1 -1
  231. package/UI/ledger/LedgerLoginContainer/LedgerScamPhishingAlert/LedgerScamPhishingAlert.js +1 -1
  232. package/UI/ledger/LedgerLoginContainer/LedgerScamPhishingAlert/index.js +1 -1
  233. package/UI/ledger/LedgerLoginContainer/index.js +1 -1
  234. package/UI/ledger/index.js +1 -1
  235. package/UI/metamask/MetamaskLoginButton/MetamaskLoginButton.js +1 -1
  236. package/UI/metamask/MetamaskLoginButton/index.js +1 -1
  237. package/UI/operaWallet/OperaWalletLoginButton/OperaWalletLoginButton.js +1 -1
  238. package/UI/operaWallet/OperaWalletLoginButton/index.js +1 -1
  239. package/UI/pages/UnlockPage/index.js +1 -1
  240. package/UI/pages/index.js +1 -1
  241. package/UI/passkey/PasskeyLoginButton/PasskeyLoginButton.js +1 -1
  242. package/UI/passkey/PasskeyLoginButton/index.js +1 -1
  243. package/UI/walletConnect/WalletConnectConnectionStatus/WalletConnectConnectionStatus.js +1 -1
  244. package/UI/walletConnect/WalletConnectConnectionStatus/index.js +1 -1
  245. package/UI/walletConnect/WalletConnectLoginButton/WalletConnectLoginButton.js +1 -1
  246. package/UI/walletConnect/WalletConnectLoginButton/index.js +1 -1
  247. package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContainer.js +1 -1
  248. package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContent/WalletConnectLoginContent.js +1 -1
  249. package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContent/index.js +1 -1
  250. package/UI/walletConnect/WalletConnectLoginContainer/index.js +1 -1
  251. package/UI/walletConnect/index.js +1 -1
  252. package/UI/webWallet/CrossWindowLoginButton/CrossWindowLoginButton.js +1 -1
  253. package/UI/webWallet/CrossWindowLoginButton/index.js +1 -1
  254. package/UI/webWallet/WebWalletLoginButton/WebWalletLoginButton.js +1 -1
  255. package/UI/webWallet/WebWalletLoginButton/index.js +1 -1
  256. package/UI/webWallet/XaliasCrossWindowLoginButton/XaliasCrossWindowLoginButton.js +1 -1
  257. package/UI/webWallet/XaliasCrossWindowLoginButton/index.js +1 -1
  258. package/UI/webWallet/XaliasLoginButton/XaliasLoginButton.js +1 -1
  259. package/UI/webWallet/XaliasLoginButton/index.js +1 -1
  260. package/__chunks__/{chunk-3BBGOX2R.js → chunk-24BBS72U.js} +2 -2
  261. package/__chunks__/{chunk-DJVU5PW3.js → chunk-2534MTJV.js} +2 -2
  262. package/__chunks__/chunk-277GOVM7.js +2 -0
  263. package/__chunks__/{chunk-EILXHP23.js → chunk-2CIIPNSU.js} +2 -2
  264. package/__chunks__/{chunk-YSBDACIC.js → chunk-2EAP7R5E.js} +2 -2
  265. package/__chunks__/{chunk-JN6Q34V7.js → chunk-2NZYGVXS.js} +2 -2
  266. package/__chunks__/{chunk-ZOQPMGZZ.js → chunk-2PJDGHEI.js} +2 -2
  267. package/__chunks__/{chunk-YQ423V62.js → chunk-2RIVEP3A.js} +2 -2
  268. package/__chunks__/{chunk-JJHVQRNO.js → chunk-2SQAMTCW.js} +2 -2
  269. package/__chunks__/{chunk-GXKPOTPN.js → chunk-2TCP7L4C.js} +2 -2
  270. package/__chunks__/{chunk-NCOLLYJJ.js → chunk-2YSJ5NXE.js} +2 -2
  271. package/__chunks__/{chunk-SOQUA2OU.js → chunk-327BL3Q7.js} +2 -2
  272. package/__chunks__/chunk-35N2CNJT.js +2 -0
  273. package/__chunks__/{chunk-WWU4KNMV.js → chunk-3B7DKR6O.js} +2 -2
  274. package/__chunks__/chunk-3BV2LQXH.js +2 -0
  275. package/__chunks__/chunk-3D3KQHTM.js +2 -0
  276. package/__chunks__/{chunk-H7JI3XJH.js → chunk-3FAT47WG.js} +2 -2
  277. package/__chunks__/chunk-3HB4DP4E.js +2 -0
  278. package/__chunks__/{chunk-IDYUUNQH.js → chunk-3HSFVSY5.js} +2 -2
  279. package/__chunks__/{chunk-7Z3QJRNF.js → chunk-3LMHP3XH.js} +2 -2
  280. package/__chunks__/chunk-3NUSDTFY.js +2 -0
  281. package/__chunks__/{chunk-NP2BR3C7.js → chunk-3ORQYHLX.js} +2 -2
  282. package/__chunks__/{chunk-4F5XJWON.js → chunk-3XBHYB6R.js} +2 -2
  283. package/__chunks__/{chunk-O6EWMQZV.js → chunk-434DBK5G.js} +2 -2
  284. package/__chunks__/{chunk-OV2PUPWN.js → chunk-46YXGYUQ.js} +2 -2
  285. package/__chunks__/{chunk-QAOGCVB7.js → chunk-4CSSEEYC.js} +2 -2
  286. package/__chunks__/{chunk-NHBUMELD.js → chunk-4GBVTRZW.js} +2 -2
  287. package/__chunks__/{chunk-NBZQFFQX.js → chunk-4I2QAK4Y.js} +2 -2
  288. package/__chunks__/chunk-4JW6SFKM.js +2 -0
  289. package/__chunks__/chunk-4K2K3YPM.js +2 -0
  290. package/__chunks__/{chunk-NPNN2NN6.js → chunk-4KPJAFTY.js} +2 -2
  291. package/__chunks__/{chunk-WJVGK4O7.js → chunk-4OWE5PEL.js} +2 -2
  292. package/__chunks__/chunk-4SSSXBWO.js +2 -0
  293. package/__chunks__/{chunk-IX2GA4GO.js → chunk-4U5H3BMY.js} +2 -2
  294. package/__chunks__/{chunk-OZK6D73Q.js → chunk-4WCG7VQP.js} +2 -2
  295. package/__chunks__/{chunk-N2S6C34L.js → chunk-4WFHP5RL.js} +2 -2
  296. package/__chunks__/{chunk-V5BV653V.js → chunk-5322G5AB.js} +2 -2
  297. package/__chunks__/{chunk-4Y2LVGEK.js → chunk-5D6LGC4J.js} +2 -2
  298. package/__chunks__/chunk-5FEJNZKF.js +2 -0
  299. package/__chunks__/{chunk-KYY4GW55.js → chunk-5FKR4LLX.js} +2 -2
  300. package/__chunks__/{chunk-MEH45TKI.js → chunk-5FLHGE44.js} +2 -2
  301. package/__chunks__/{chunk-KIYBJQKZ.js → chunk-5FZM6NNF.js} +2 -2
  302. package/__chunks__/{chunk-2D2CKIJ4.js → chunk-5K73IA6V.js} +2 -2
  303. package/__chunks__/{chunk-UPQI2YJY.js → chunk-5PBRWUMY.js} +2 -2
  304. package/__chunks__/{chunk-Y6MQDUZH.js → chunk-5T2JEK6F.js} +2 -2
  305. package/__chunks__/{chunk-3VFYP7W6.js → chunk-5UVEPRQZ.js} +2 -2
  306. package/__chunks__/{chunk-QJ7UVZCL.js → chunk-5YBTU46B.js} +2 -2
  307. package/__chunks__/{chunk-XGITENIA.js → chunk-5YFJE2UW.js} +2 -2
  308. package/__chunks__/{chunk-UW4G2C7K.js → chunk-663C47OB.js} +2 -2
  309. package/__chunks__/{chunk-GLV4VFDF.js → chunk-66OG6CWD.js} +2 -2
  310. package/__chunks__/{chunk-YZVHJGUO.js → chunk-67WVBCC7.js} +2 -2
  311. package/__chunks__/{chunk-OFDAJOXF.js → chunk-6B76OINZ.js} +2 -2
  312. package/__chunks__/chunk-6D342P33.js +2 -0
  313. package/__chunks__/chunk-6HVYO232.js +2 -0
  314. package/__chunks__/{chunk-TLGQJC6E.js → chunk-6LUORPKO.js} +2 -2
  315. package/__chunks__/{chunk-64UGV72U.js → chunk-6VYJINH6.js} +2 -2
  316. package/__chunks__/{chunk-GYVHU332.js → chunk-6WLDSYAD.js} +2 -2
  317. package/__chunks__/{chunk-S5YL24ZH.js → chunk-6WPSP3KH.js} +2 -2
  318. package/__chunks__/{chunk-W4TGOVIS.js → chunk-73T7O4OE.js} +2 -2
  319. package/__chunks__/chunk-7657C45J.js +2 -0
  320. package/__chunks__/{chunk-CPJME6SE.js → chunk-77HG4SXR.js} +2 -2
  321. package/__chunks__/{chunk-OH4PXQ6J.js → chunk-7G3X34SS.js} +2 -2
  322. package/__chunks__/chunk-7K33GD3T.js +2 -0
  323. package/__chunks__/{chunk-NZCSN5ZL.js → chunk-7KKKBMIE.js} +2 -2
  324. package/__chunks__/{chunk-WXYECRNA.js → chunk-7LLWDWOK.js} +2 -2
  325. package/__chunks__/{chunk-4EUF6ZWT.js → chunk-7NPO7OOY.js} +2 -2
  326. package/__chunks__/{chunk-DB2X3WAW.js → chunk-7QOCGAIW.js} +2 -2
  327. package/__chunks__/{chunk-KXXWV42G.js → chunk-7U55WH55.js} +2 -2
  328. package/__chunks__/{chunk-TPVGWGUY.js → chunk-7YJX2VMU.js} +2 -2
  329. package/__chunks__/chunk-7ZSQJ36A.js +2 -0
  330. package/__chunks__/chunk-A3VFLM77.js +2 -0
  331. package/__chunks__/{chunk-RZGUPV7I.js → chunk-A3YOCNN6.js} +2 -2
  332. package/__chunks__/{chunk-G6OBXR2X.js → chunk-A4TCCZHK.js} +2 -2
  333. package/__chunks__/{chunk-U7JODWNN.js → chunk-A5TAVKNQ.js} +2 -2
  334. package/__chunks__/chunk-A7YZEG5Q.js +2 -0
  335. package/__chunks__/{chunk-ENLLRTJN.js → chunk-ABKRGVZM.js} +2 -2
  336. package/__chunks__/{chunk-ZVHSGLCM.js → chunk-ABSR5BSB.js} +2 -2
  337. package/__chunks__/{chunk-MEY2BSOF.js → chunk-ADCXAHD5.js} +2 -2
  338. package/__chunks__/{chunk-XEQ4OSAO.js → chunk-ADHMAYFU.js} +2 -2
  339. package/__chunks__/{chunk-YQG3XNGF.js → chunk-AFQYFYEH.js} +2 -2
  340. package/__chunks__/chunk-AICJW3EY.js +2 -0
  341. package/__chunks__/{chunk-T2PQNHGW.js → chunk-AJRIBLPI.js} +2 -2
  342. package/__chunks__/chunk-AP4V44DZ.js +2 -0
  343. package/__chunks__/{chunk-DWWCI7GK.js → chunk-AQKOVYNW.js} +2 -2
  344. package/__chunks__/{chunk-YSGBXNU5.js → chunk-BBGVXPQ5.js} +2 -2
  345. package/__chunks__/{chunk-ON2GN2BY.js → chunk-BDL7GR6Y.js} +2 -2
  346. package/__chunks__/{chunk-LC2GYIPL.js → chunk-BFF45VWP.js} +2 -2
  347. package/__chunks__/{chunk-QEEKZ7V6.js → chunk-BV6EOBHX.js} +2 -2
  348. package/__chunks__/chunk-BWU57LCF.js +2 -0
  349. package/__chunks__/{chunk-QCHBESIU.js → chunk-C5ZGKJPN.js} +2 -2
  350. package/__chunks__/chunk-CDUL2JW5.js +2 -0
  351. package/__chunks__/{chunk-76MYQEIU.js → chunk-CDUW3RJW.js} +2 -2
  352. package/__chunks__/{chunk-KG3M5W5B.js → chunk-CGXSNLJH.js} +2 -2
  353. package/__chunks__/{chunk-I4VWD5EU.js → chunk-CN6QVF55.js} +2 -2
  354. package/__chunks__/chunk-CNDYH7KM.js +2 -0
  355. package/__chunks__/{chunk-C5HCMABT.js → chunk-CWQTC6CD.js} +2 -2
  356. package/__chunks__/{chunk-6WWLEFEJ.js → chunk-CXWXYHZ4.js} +2 -2
  357. package/__chunks__/{chunk-L3UW7RLP.js → chunk-D7GDM2PH.js} +2 -2
  358. package/__chunks__/{chunk-UNI4SN3B.js → chunk-DATGCNZO.js} +2 -2
  359. package/__chunks__/{chunk-H4VOQFC6.js → chunk-DEUKMNKV.js} +2 -2
  360. package/__chunks__/chunk-DLYHJHW2.js +2 -0
  361. package/__chunks__/{chunk-44GFH4PT.js → chunk-DNAKU6LB.js} +2 -2
  362. package/__chunks__/{chunk-JKD7F2YE.js → chunk-DOZMKEZG.js} +2 -2
  363. package/__chunks__/{chunk-KZ5DONJQ.js → chunk-DPOPYLQJ.js} +2 -2
  364. package/__chunks__/{chunk-XP72PFWR.js → chunk-DPRAQJXZ.js} +2 -2
  365. package/__chunks__/{chunk-ZX2ELJBM.js → chunk-DQJDAIU5.js} +2 -2
  366. package/__chunks__/{chunk-OTYBNLJM.js → chunk-DUQGJE2G.js} +2 -2
  367. package/__chunks__/{chunk-DDYLLH6J.js → chunk-DXPBFXLJ.js} +2 -2
  368. package/__chunks__/{chunk-ZMFYUV3B.js → chunk-E32QWYQP.js} +2 -2
  369. package/__chunks__/{chunk-DEMMQY55.js → chunk-E5R2PAK4.js} +2 -2
  370. package/__chunks__/{chunk-CBIYONIW.js → chunk-EBO5DPR7.js} +2 -2
  371. package/__chunks__/{chunk-SFNFJ2HS.js → chunk-EFHWBV2B.js} +2 -2
  372. package/__chunks__/{chunk-E6Z4VPPX.js → chunk-EFI7ZY2I.js} +2 -2
  373. package/__chunks__/{chunk-7XRTDLND.js → chunk-EFIJ5Z6R.js} +2 -2
  374. package/__chunks__/{chunk-RVYGGL3N.js → chunk-EFUHIEZM.js} +2 -2
  375. package/__chunks__/{chunk-JGTQM6G5.js → chunk-EHASZ4PB.js} +2 -2
  376. package/__chunks__/{chunk-5PDISDUB.js → chunk-EHSAUIQM.js} +2 -2
  377. package/__chunks__/{chunk-CXMT75JV.js → chunk-EMKZTF6N.js} +2 -2
  378. package/__chunks__/{chunk-DY2WVPZY.js → chunk-EMTTQ4CK.js} +2 -2
  379. package/__chunks__/{chunk-RUSO5I3G.js → chunk-EMUR5PFP.js} +2 -2
  380. package/__chunks__/{chunk-PRXVLCZE.js → chunk-ERJVW7QI.js} +2 -2
  381. package/__chunks__/{chunk-WKYTLWNW.js → chunk-EY2LHQTZ.js} +2 -2
  382. package/__chunks__/{chunk-XP2NHGWH.js → chunk-EZFS3IFI.js} +2 -2
  383. package/__chunks__/{chunk-3EFEFK5V.js → chunk-F2UE6EOX.js} +2 -2
  384. package/__chunks__/{chunk-MWIWM6JX.js → chunk-F45KW5RU.js} +2 -2
  385. package/__chunks__/{chunk-4J2ZA2SA.js → chunk-F6DETVRJ.js} +2 -2
  386. package/__chunks__/{chunk-ZETX2325.js → chunk-F6G6T3XQ.js} +2 -2
  387. package/__chunks__/chunk-FBQBOAOF.js +2 -0
  388. package/__chunks__/chunk-FHXQMGWA.js +2 -0
  389. package/__chunks__/{chunk-WEO42KRD.js → chunk-FPLDZRU4.js} +2 -2
  390. package/__chunks__/{chunk-UA6GT3EB.js → chunk-G3BSM45K.js} +2 -2
  391. package/__chunks__/{chunk-WCAITEIM.js → chunk-G5MK5CW3.js} +2 -2
  392. package/__chunks__/{chunk-6SPFCADD.js → chunk-G6YOGMWE.js} +2 -2
  393. package/__chunks__/{chunk-VOU32VNS.js → chunk-G7DYTGMR.js} +2 -2
  394. package/__chunks__/{chunk-DSA55GTM.js → chunk-G7VTZCBA.js} +2 -2
  395. package/__chunks__/{chunk-ELY7YUGJ.js → chunk-GAMT47C5.js} +2 -2
  396. package/__chunks__/{chunk-WEDA5HZP.js → chunk-GKIBQI7O.js} +2 -2
  397. package/__chunks__/chunk-GKMMTUF2.js +2 -0
  398. package/__chunks__/{chunk-XERMIDRR.js → chunk-GLDFJN3V.js} +2 -2
  399. package/__chunks__/{chunk-WO3P75IS.js → chunk-GR2VOAJT.js} +2 -2
  400. package/__chunks__/{chunk-SSMUAEQ5.js → chunk-GRSQSEYN.js} +2 -2
  401. package/__chunks__/{chunk-7HMNILKH.js → chunk-GSJTL3BG.js} +2 -2
  402. package/__chunks__/{chunk-DHUI7CMT.js → chunk-GTKPS3UR.js} +2 -2
  403. package/__chunks__/chunk-GTZ3WET2.js +2 -0
  404. package/__chunks__/{chunk-VB4FQIMB.js → chunk-GU5QXSBU.js} +2 -2
  405. package/__chunks__/chunk-GUEDJRNZ.js +2 -0
  406. package/__chunks__/{chunk-L2PNLYQT.js → chunk-H3T4ZV35.js} +2 -2
  407. package/__chunks__/{chunk-I33RPHDI.js → chunk-HDFLB3S4.js} +2 -2
  408. package/__chunks__/{chunk-PATLW6SQ.js → chunk-HEGRYOTF.js} +2 -2
  409. package/__chunks__/chunk-HV7FE6XJ.js +2 -0
  410. package/__chunks__/{chunk-GGN4PO3E.js → chunk-HWBH2DIH.js} +2 -2
  411. package/__chunks__/{chunk-7QWPGKPM.js → chunk-HWPMP3DT.js} +2 -2
  412. package/__chunks__/{chunk-VQMMCAZD.js → chunk-HWTBZ3EZ.js} +2 -2
  413. package/__chunks__/{chunk-E4GGWXOO.js → chunk-I56VLAQ4.js} +2 -2
  414. package/__chunks__/{chunk-X7C2AW7I.js → chunk-IALKPRO2.js} +2 -2
  415. package/__chunks__/{chunk-EBRT7YXN.js → chunk-IHKWXC2C.js} +2 -2
  416. package/__chunks__/chunk-IPAESNO2.js +2 -0
  417. package/__chunks__/{chunk-6RCQE6K7.js → chunk-ITQD2GG5.js} +2 -2
  418. package/__chunks__/{chunk-SIKMJL4A.js → chunk-IWSXN6A3.js} +2 -2
  419. package/__chunks__/{chunk-7RROGTPI.js → chunk-IX5KNJVC.js} +2 -2
  420. package/__chunks__/{chunk-N6AEYCHH.js → chunk-J3RBG3UR.js} +2 -2
  421. package/__chunks__/{chunk-HNZC5SXB.js → chunk-J4KLJRPZ.js} +2 -2
  422. package/__chunks__/{chunk-BG6ZABHK.js → chunk-J6OOB3OM.js} +2 -2
  423. package/__chunks__/{chunk-7KILSDBW.js → chunk-JGVPI6Y7.js} +2 -2
  424. package/__chunks__/{chunk-AICQ7FAY.js → chunk-JH34GF4Y.js} +2 -2
  425. package/__chunks__/{chunk-BDCGKIAY.js → chunk-JSUO7T52.js} +2 -2
  426. package/__chunks__/{chunk-MXAJNDDK.js → chunk-JUCREWVL.js} +2 -2
  427. package/__chunks__/{chunk-3EXVKJ3V.js → chunk-JWETMRKE.js} +2 -2
  428. package/__chunks__/{chunk-ULUZKJGW.js → chunk-JX26BALT.js} +2 -2
  429. package/__chunks__/{chunk-5C4OZ6X2.js → chunk-JXVYXZZF.js} +2 -2
  430. package/__chunks__/{chunk-Y6MPSR4E.js → chunk-K26JKPA5.js} +2 -2
  431. package/__chunks__/chunk-K4BQAKG3.js +2 -0
  432. package/__chunks__/{chunk-VZUURGPV.js → chunk-K56HQDBE.js} +2 -2
  433. package/__chunks__/chunk-K6PETHVR.js +2 -0
  434. package/__chunks__/{chunk-SQRI5GPY.js → chunk-K6WFSIEW.js} +2 -2
  435. package/__chunks__/{chunk-AXVLTWSO.js → chunk-KDFGWUSZ.js} +2 -2
  436. package/__chunks__/{chunk-FUVUMTOT.js → chunk-KHRJ66JG.js} +2 -2
  437. package/__chunks__/chunk-KIMW253M.js +2 -0
  438. package/__chunks__/{chunk-UBOQJMK7.js → chunk-KK5NHI5J.js} +2 -2
  439. package/__chunks__/{chunk-WAM6GD2S.js → chunk-KMSBJYW4.js} +2 -2
  440. package/__chunks__/{chunk-QUXE23V6.js → chunk-KOZUH4AZ.js} +2 -2
  441. package/__chunks__/{chunk-GYV3EL7Y.js → chunk-KP6IHOM3.js} +2 -2
  442. package/__chunks__/{chunk-4IKZN4YB.js → chunk-KXTAYBDP.js} +2 -2
  443. package/__chunks__/{chunk-CAUHLS57.js → chunk-KYJQ2TF7.js} +2 -2
  444. package/__chunks__/{chunk-BGHDS52V.js → chunk-L4PUW3WP.js} +2 -2
  445. package/__chunks__/{chunk-DHFKWPDR.js → chunk-L5ZH4BPP.js} +2 -2
  446. package/__chunks__/{chunk-TJIBJGNR.js → chunk-LAMJWJBX.js} +2 -2
  447. package/__chunks__/{chunk-5GH6BPVJ.js → chunk-LAR4J3C2.js} +2 -2
  448. package/__chunks__/{chunk-PFIYIZTK.js → chunk-LG7TGYO6.js} +2 -2
  449. package/__chunks__/{chunk-ZGTG2SLG.js → chunk-LOEXPJKQ.js} +2 -2
  450. package/__chunks__/{chunk-RMMDHQBJ.js → chunk-LTGU5IZG.js} +2 -2
  451. package/__chunks__/{chunk-7L26TZTK.js → chunk-LTOQAXRK.js} +4 -4
  452. package/__chunks__/{chunk-F53QD2ZG.js → chunk-LTVAPFDA.js} +2 -2
  453. package/__chunks__/{chunk-X3ZDMQY2.js → chunk-LTVOCLJL.js} +2 -2
  454. package/__chunks__/{chunk-3IKIKM3J.js → chunk-LVDLSMBU.js} +2 -2
  455. package/__chunks__/{chunk-CUSI637E.js → chunk-LVTEPIXI.js} +2 -2
  456. package/__chunks__/{chunk-Q33DEGKJ.js → chunk-LYS3NVCV.js} +2 -2
  457. package/__chunks__/chunk-LZEQMRCL.js +2 -0
  458. package/__chunks__/{chunk-4QSJUIF5.js → chunk-M26SGFOY.js} +2 -2
  459. package/__chunks__/chunk-M6VZC6CD.js +2 -0
  460. package/__chunks__/{chunk-JZQSRHUE.js → chunk-M74HNS65.js} +2 -2
  461. package/__chunks__/{chunk-XXXZ44L7.js → chunk-M7DFT4RE.js} +2 -2
  462. package/__chunks__/{chunk-BPINONOV.js → chunk-MACNYFEV.js} +2 -2
  463. package/__chunks__/{chunk-6XFIDF35.js → chunk-MAINCUZT.js} +2 -2
  464. package/__chunks__/{chunk-6Z2N422K.js → chunk-MBTIR3EG.js} +2 -2
  465. package/__chunks__/chunk-MJOZYTNP.js +2 -0
  466. package/__chunks__/{chunk-HVINPWP7.js → chunk-MLADZWSP.js} +2 -2
  467. package/__chunks__/{chunk-EDZC22KW.js → chunk-MS6N3PWE.js} +2 -2
  468. package/__chunks__/{chunk-4F63IU7J.js → chunk-MZQCRVDG.js} +2 -2
  469. package/__chunks__/{chunk-ATZLJ57G.js → chunk-N3HXGL5I.js} +2 -2
  470. package/__chunks__/{chunk-MFHZV3UH.js → chunk-NCT7XPM2.js} +2 -2
  471. package/__chunks__/{chunk-WBGEST4P.js → chunk-NECBE5JJ.js} +2 -2
  472. package/__chunks__/{chunk-25VRFHGW.js → chunk-NFB4BHUJ.js} +2 -2
  473. package/__chunks__/{chunk-WUKADIVH.js → chunk-NOAYA2TT.js} +2 -2
  474. package/__chunks__/{chunk-5LUNFIIO.js → chunk-NRRDYI6I.js} +2 -2
  475. package/__chunks__/{chunk-FFTUO4N5.js → chunk-NSLPIJXE.js} +2 -2
  476. package/__chunks__/chunk-NU2HDCZE.js +2 -0
  477. package/__chunks__/chunk-NUU7JIYC.js +2 -0
  478. package/__chunks__/{chunk-WUXUMJWQ.js → chunk-O75GACEG.js} +2 -2
  479. package/__chunks__/{chunk-VLWYHQQI.js → chunk-O7ZGQS5U.js} +2 -2
  480. package/__chunks__/{chunk-JSOKXUCQ.js → chunk-OC7QB46M.js} +2 -2
  481. package/__chunks__/{chunk-N2CFTZWV.js → chunk-OELB2HUG.js} +2 -2
  482. package/__chunks__/chunk-OFAKMV4Z.js +2 -0
  483. package/__chunks__/chunk-OGUMPZPK.js +2 -0
  484. package/__chunks__/{chunk-PZZMCRAV.js → chunk-OKYYHJAJ.js} +2 -2
  485. package/__chunks__/{chunk-XMSOQ63J.js → chunk-OMR432XY.js} +2 -2
  486. package/__chunks__/{chunk-H5WB5W7K.js → chunk-OR7JBD5R.js} +2 -2
  487. package/__chunks__/{chunk-QTKBHL4U.js → chunk-OXJHLEKW.js} +2 -2
  488. package/__chunks__/chunk-P77WS6AC.js +2 -0
  489. package/__chunks__/{chunk-CVUYENHW.js → chunk-PBLXSSS3.js} +2 -2
  490. package/__chunks__/chunk-PE3FHTDS.js +2 -0
  491. package/__chunks__/chunk-PIVLZGKL.js +2 -0
  492. package/__chunks__/{chunk-H2PPEBXB.js → chunk-PLOKJLIX.js} +2 -2
  493. package/__chunks__/{chunk-I5O2LPPH.js → chunk-PMYGGXQW.js} +2 -2
  494. package/__chunks__/chunk-PNNBLMHL.js +2 -0
  495. package/__chunks__/{chunk-UIPUMSJ5.js → chunk-PVC4M5PB.js} +2 -2
  496. package/__chunks__/{chunk-Y3W5RZRZ.js → chunk-PWBHERXU.js} +2 -2
  497. package/__chunks__/{chunk-F4PSF25N.js → chunk-PYDZ2IFW.js} +2 -2
  498. package/__chunks__/{chunk-HIZG2ECX.js → chunk-Q2HO54AX.js} +2 -2
  499. package/__chunks__/{chunk-NBRNG4XM.js → chunk-Q3X745CG.js} +2 -2
  500. package/__chunks__/{chunk-VZLUYFE6.js → chunk-Q4XED4GQ.js} +2 -2
  501. package/__chunks__/chunk-QDACW72R.js +2 -0
  502. package/__chunks__/{chunk-ZFY6ZXZQ.js → chunk-QIR24ENV.js} +2 -2
  503. package/__chunks__/{chunk-YSL7KIQ4.js → chunk-QIXSF7V7.js} +2 -2
  504. package/__chunks__/{chunk-JSRJVF5T.js → chunk-QJWNEE66.js} +2 -2
  505. package/__chunks__/{chunk-6VSR7L2G.js → chunk-QKAWJHI4.js} +2 -2
  506. package/__chunks__/chunk-QLICD2C4.js +2 -0
  507. package/__chunks__/{chunk-APQJZ7PT.js → chunk-QO4RPVMK.js} +2 -2
  508. package/__chunks__/{chunk-LUEOYRLL.js → chunk-QOWISWBK.js} +2 -2
  509. package/__chunks__/{chunk-XUQ2OIDN.js → chunk-QQCLWYBQ.js} +2 -2
  510. package/__chunks__/{chunk-XD4FNHEG.js → chunk-QUMSOZMA.js} +2 -2
  511. package/__chunks__/{chunk-WX2MUQ6W.js → chunk-R24SOHOE.js} +2 -2
  512. package/__chunks__/{chunk-7FCOCZUH.js → chunk-R4EWEWQQ.js} +2 -2
  513. package/__chunks__/{chunk-XYEMERZ5.js → chunk-R4ILIJDX.js} +2 -2
  514. package/__chunks__/{chunk-NP7CNIFN.js → chunk-R4JWDTOR.js} +2 -2
  515. package/__chunks__/{chunk-NMNBRSMP.js → chunk-R6B5PW3O.js} +2 -2
  516. package/__chunks__/{chunk-TNHHGQRD.js → chunk-RAR3A4QT.js} +2 -2
  517. package/__chunks__/{chunk-H5HJINKE.js → chunk-RDFRN53F.js} +2 -2
  518. package/__chunks__/chunk-RFULVVB2.js +2 -0
  519. package/__chunks__/{chunk-5OMNHMSU.js → chunk-RGRDUXUK.js} +2 -2
  520. package/__chunks__/{chunk-ZYVPE2HP.js → chunk-RH4C7L3S.js} +2 -2
  521. package/__chunks__/{chunk-WGGNEFDX.js → chunk-RHAPXPKB.js} +2 -2
  522. package/__chunks__/chunk-RI2IEGZ6.js +2 -0
  523. package/__chunks__/{chunk-43IUTOJX.js → chunk-RJNXUDMN.js} +2 -2
  524. package/__chunks__/{chunk-3JCLY2UK.js → chunk-RLYTKZE4.js} +2 -2
  525. package/__chunks__/{chunk-QPWUKNMO.js → chunk-RQZ73NZ4.js} +2 -2
  526. package/__chunks__/{chunk-M7KV4I7P.js → chunk-RSIXMKEU.js} +2 -2
  527. package/__chunks__/{chunk-CWFHBCON.js → chunk-RX2I3BJ7.js} +2 -2
  528. package/__chunks__/{chunk-ROQLCQ7Z.js → chunk-RXDGQS2S.js} +2 -2
  529. package/__chunks__/{chunk-RZ3MW2TS.js → chunk-RXKCAODX.js} +2 -2
  530. package/__chunks__/chunk-RY7P5JR2.js +2 -0
  531. package/__chunks__/{chunk-APA7BUKX.js → chunk-S2RTKY3P.js} +2 -2
  532. package/__chunks__/{chunk-B5FJOB5T.js → chunk-S3NJXVZF.js} +2 -2
  533. package/__chunks__/{chunk-MXFH7AWI.js → chunk-S3UZPIIF.js} +2 -2
  534. package/__chunks__/{chunk-E2XDCHUE.js → chunk-S742YZZD.js} +2 -2
  535. package/__chunks__/{chunk-WX6RAEOA.js → chunk-SDLHA7LD.js} +2 -2
  536. package/__chunks__/{chunk-3LXBMFWO.js → chunk-SDRU5K2X.js} +2 -2
  537. package/__chunks__/chunk-SMZD762C.js +2 -0
  538. package/__chunks__/{chunk-NXTPXVKN.js → chunk-SWCUZ7Y4.js} +2 -2
  539. package/__chunks__/{chunk-JZBNQBP6.js → chunk-SY2GVUH3.js} +2 -2
  540. package/__chunks__/chunk-T3V5XGSP.js +2 -0
  541. package/__chunks__/{chunk-SOK6CP5E.js → chunk-T4INCOZ2.js} +2 -2
  542. package/__chunks__/{chunk-XCL6MCUQ.js → chunk-TA6MXQXG.js} +2 -2
  543. package/__chunks__/{chunk-XKSX2NXM.js → chunk-TE3SAXRC.js} +2 -2
  544. package/__chunks__/{chunk-N5UL7DR7.js → chunk-TFXIUUW2.js} +2 -2
  545. package/__chunks__/chunk-TI3OEHAJ.js +2 -0
  546. package/__chunks__/{chunk-LPCEJ3UG.js → chunk-TIX3ISAV.js} +2 -2
  547. package/__chunks__/{chunk-W75CTIEK.js → chunk-TJRWK3NQ.js} +2 -2
  548. package/__chunks__/{chunk-BLP3CBAH.js → chunk-TO37VMUZ.js} +2 -2
  549. package/__chunks__/{chunk-J5U4CUCE.js → chunk-TWKQCRWM.js} +2 -2
  550. package/__chunks__/chunk-TWLTJADK.js +2 -0
  551. package/__chunks__/{chunk-PPTLPHVI.js → chunk-TWOU3UX6.js} +2 -2
  552. package/__chunks__/{chunk-K4DP4OO5.js → chunk-TYTYVIQK.js} +2 -2
  553. package/__chunks__/{chunk-QLF7C3K7.js → chunk-TZQQMQZF.js} +2 -2
  554. package/__chunks__/{chunk-R6S42IRB.js → chunk-U2ZGMQLM.js} +2 -2
  555. package/__chunks__/{chunk-HBFU7VSR.js → chunk-U4WCRBBO.js} +2 -2
  556. package/__chunks__/{chunk-LQSJ5TDY.js → chunk-UEVK72HB.js} +2 -2
  557. package/__chunks__/{chunk-2K3ZOH4T.js → chunk-UG7MI62Y.js} +2 -2
  558. package/__chunks__/{chunk-OK6YUWE7.js → chunk-UGV6H52N.js} +2 -2
  559. package/__chunks__/{chunk-KFFSW2TI.js → chunk-UKP5C6UQ.js} +2 -2
  560. package/__chunks__/{chunk-ZXE24POO.js → chunk-ULX6HOUL.js} +2 -2
  561. package/__chunks__/{chunk-MHDNBXT5.js → chunk-UNDDI5JS.js} +2 -2
  562. package/__chunks__/{chunk-7RSFJTPK.js → chunk-UOSJURTF.js} +2 -2
  563. package/__chunks__/{chunk-IJDKWMHW.js → chunk-UU5JWZH7.js} +2 -2
  564. package/__chunks__/{chunk-TZII3CMN.js → chunk-UW75K7PR.js} +2 -2
  565. package/__chunks__/{chunk-36LZPG5F.js → chunk-UZNF433A.js} +2 -2
  566. package/__chunks__/chunk-VCNWN2L2.js +2 -0
  567. package/__chunks__/{chunk-AKUYVEYA.js → chunk-VE7Y5RR6.js} +2 -2
  568. package/__chunks__/{chunk-WR4RAZUJ.js → chunk-VEGS54A2.js} +2 -2
  569. package/__chunks__/{chunk-TLJLVB5E.js → chunk-VEVQNT5Q.js} +2 -2
  570. package/__chunks__/{chunk-BKQ6O76Z.js → chunk-VMHTN4HB.js} +2 -2
  571. package/__chunks__/{chunk-ZEUVKTDR.js → chunk-VQ2GPYS7.js} +2 -2
  572. package/__chunks__/{chunk-2YF4W4VJ.js → chunk-VVP77YC6.js} +2 -2
  573. package/__chunks__/{chunk-CTX6HGSI.js → chunk-VVZ26P4N.js} +2 -2
  574. package/__chunks__/{chunk-C3MHIYTO.js → chunk-VZYBI7H3.js} +2 -2
  575. package/__chunks__/{chunk-BPBCIVDO.js → chunk-WH4V2DXK.js} +2 -2
  576. package/__chunks__/{chunk-KCW6DPUT.js → chunk-WHMPCISM.js} +2 -2
  577. package/__chunks__/{chunk-6U3X4R3O.js → chunk-WNB4UDI2.js} +2 -2
  578. package/__chunks__/{chunk-KONCK3NG.js → chunk-WSNIA35O.js} +2 -2
  579. package/__chunks__/{chunk-FMJYVJM7.js → chunk-WTZCVBF4.js} +2 -2
  580. package/__chunks__/{chunk-GWBAO6F7.js → chunk-WXH5UU3G.js} +2 -2
  581. package/__chunks__/{chunk-IBNIY4IM.js → chunk-X457PNLO.js} +2 -2
  582. package/__chunks__/{chunk-VNCSPNHR.js → chunk-X4BZTRJJ.js} +2 -2
  583. package/__chunks__/chunk-XAFXSLIN.js +2 -0
  584. package/__chunks__/{chunk-IF7R3ORH.js → chunk-XBN5XW3K.js} +2 -2
  585. package/__chunks__/{chunk-TVQF3IXN.js → chunk-XG7TYC2G.js} +2 -2
  586. package/__chunks__/{chunk-RF2M75X5.js → chunk-XGAROX44.js} +2 -2
  587. package/__chunks__/{chunk-U3BQGJBQ.js → chunk-XHHQFYVT.js} +2 -2
  588. package/__chunks__/chunk-XHKRCS22.js +2 -0
  589. package/__chunks__/{chunk-PCVKCW6P.js → chunk-XILRKMJJ.js} +2 -2
  590. package/__chunks__/chunk-XOIGQFSJ.js +2 -0
  591. package/__chunks__/{chunk-CDSLB6KJ.js → chunk-XSLCMXPO.js} +2 -2
  592. package/__chunks__/chunk-XSWGKWNZ.js +2 -0
  593. package/__chunks__/chunk-XSX2T3GG.js +2 -0
  594. package/__chunks__/chunk-XTOBHK4E.js +2 -0
  595. package/__chunks__/{chunk-KO4TKPOO.js → chunk-XWRMQLBD.js} +2 -2
  596. package/__chunks__/{chunk-RC64B7JK.js → chunk-XZVWNOMU.js} +2 -2
  597. package/__chunks__/{chunk-OQXB6IO2.js → chunk-Y2ZWXM2K.js} +2 -2
  598. package/__chunks__/{chunk-2TP54AEA.js → chunk-Y3UWLFLR.js} +7 -3
  599. package/__chunks__/{chunk-XGXQIOJT.js → chunk-Y7LZMZVU.js} +2 -2
  600. package/__chunks__/{chunk-BBEAR6N7.js → chunk-YFBG42ZM.js} +2 -2
  601. package/__chunks__/{chunk-KP72RRQN.js → chunk-YGI2LQ4U.js} +2 -2
  602. package/__chunks__/{chunk-GQ2PM2L2.js → chunk-YKGS6JVT.js} +2 -2
  603. package/__chunks__/chunk-YKLHBXHJ.js +2 -0
  604. package/__chunks__/chunk-YLIXHXNU.js +2 -0
  605. package/__chunks__/{chunk-VPTYRC3G.js → chunk-YR2EJTBL.js} +2 -2
  606. package/__chunks__/chunk-YRAKEV3T.js +2 -0
  607. package/__chunks__/{chunk-D23ZX343.js → chunk-YSB7FPCN.js} +2 -2
  608. package/__chunks__/{chunk-LIC7FZFL.js → chunk-YTQ247BO.js} +2 -2
  609. package/__chunks__/{chunk-G4TFRTVA.js → chunk-YYGEZTMN.js} +2 -2
  610. package/__chunks__/{chunk-QCJVXJDD.js → chunk-YZUHCJFJ.js} +2 -2
  611. package/__chunks__/{chunk-3LYTE44P.js → chunk-Z2CWJFXG.js} +2 -2
  612. package/__chunks__/chunk-Z4JQC2HY.js +2 -0
  613. package/__chunks__/{chunk-5E3KFD3D.js → chunk-Z4LSS5TK.js} +2 -2
  614. package/__chunks__/{chunk-CLY5LIQW.js → chunk-ZDJL6RLN.js} +2 -2
  615. package/__chunks__/{chunk-IXLOUEO6.js → chunk-ZFUH5J2C.js} +2 -2
  616. package/__chunks__/{chunk-ZCNS7ORP.js → chunk-ZLALNLGO.js} +2 -2
  617. package/__chunks__/{chunk-ZKXY2SD4.js → chunk-ZNO5GC2M.js} +2 -2
  618. package/__chunks__/{chunk-T6HK7PHF.js → chunk-ZTMKZRYM.js} +2 -2
  619. package/__chunks__/{chunk-ZT544F6K.js → chunk-ZVW2DDNU.js} +2 -2
  620. package/__chunks__/{chunk-SEWZ5Z2S.js → chunk-ZWXCD53Z.js} +2 -2
  621. package/__commonjs/UI/ExplorerLink/ExplorerLink.js +1 -1
  622. package/__commonjs/UI/ExplorerLink/index.js +1 -1
  623. package/__commonjs/UI/SignTransactionsModals/SignTransactionsModals.js +7 -3
  624. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +6 -2
  625. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignWithDeviceModal.js +7 -3
  626. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/SignStepBody.js +6 -2
  627. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/ConfirmReceiver.js +6 -2
  628. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/index.js +6 -2
  629. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/index.js +6 -2
  630. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/index.js +6 -2
  631. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/index.js +7 -3
  632. package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/SignWithExtraModal.js +1 -1
  633. package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
  634. package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/SignWithLedgerModal.js +7 -3
  635. package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/index.js +7 -3
  636. package/__commonjs/UI/SignTransactionsModals/SignWithMetamaskModal/SignWithMetamaskModal.js +7 -3
  637. package/__commonjs/UI/SignTransactionsModals/SignWithMetamaskModal/index.js +7 -3
  638. package/__commonjs/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
  639. package/__commonjs/UI/SignTransactionsModals/components/index.js +1 -1
  640. package/__commonjs/UI/SignTransactionsModals/index.js +7 -3
  641. package/__commonjs/UI/TokenDetails/TokenSymbol/index.js +3 -3
  642. package/__commonjs/UI/TokenDetails/TokenSymbol/tokenSymbol.js +3 -3
  643. package/__commonjs/UI/TokenDetails/index.js +3 -3
  644. package/__commonjs/UI/TransactionDetails/TransactionDetails.js +6 -2
  645. package/__commonjs/UI/TransactionDetails/components/TransactionDetailsBody.js +6 -2
  646. package/__commonjs/UI/TransactionDetails/components/index.js +6 -2
  647. package/__commonjs/UI/TransactionDetails/index.js +6 -2
  648. package/__commonjs/UI/TransactionInfo/TransactionInfo.js +6 -2
  649. package/__commonjs/UI/TransactionInfo/components/AddressDetailItem/AddressDetailitem.js +6 -2
  650. package/__commonjs/UI/TransactionInfo/components/AddressDetailItem/index.js +6 -2
  651. package/__commonjs/UI/TransactionInfo/components/EventsList/EventsList.js +6 -2
  652. package/__commonjs/UI/TransactionInfo/components/EventsList/index.js +6 -2
  653. package/__commonjs/UI/TransactionInfo/components/OperationsList/OperationList.js +6 -2
  654. package/__commonjs/UI/TransactionInfo/components/OperationsList/components/DetailedItem.js +7 -3
  655. package/__commonjs/UI/TransactionInfo/components/OperationsList/components/OperationBlock.js +6 -2
  656. package/__commonjs/UI/TransactionInfo/components/OperationsList/components/OperationRow.js +6 -2
  657. package/__commonjs/UI/TransactionInfo/components/OperationsList/components/OperationText.js +6 -2
  658. package/__commonjs/UI/TransactionInfo/components/OperationsList/components/index.js +6 -2
  659. package/__commonjs/UI/TransactionInfo/components/OperationsList/index.js +6 -2
  660. package/__commonjs/UI/TransactionInfo/components/ScResultsList/ScResultsList.js +6 -2
  661. package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultHash/ResultHash.js +6 -2
  662. package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultHash/index.js +6 -2
  663. package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/ResultReceiver.js +6 -2
  664. package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/index.js +6 -2
  665. package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultSender/ResultSender.js +6 -2
  666. package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultSender/index.js +6 -2
  667. package/__commonjs/UI/TransactionInfo/components/ScResultsList/index.js +6 -2
  668. package/__commonjs/UI/TransactionInfo/components/ScrDetailItem/ScrDetailItem.js +6 -2
  669. package/__commonjs/UI/TransactionInfo/components/ScrDetailItem/index.js +6 -2
  670. package/__commonjs/UI/TransactionInfo/components/TransactionAction/TransactionAction.js +6 -2
  671. package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/ActionText/index.js +6 -2
  672. package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/index.js +6 -2
  673. package/__commonjs/UI/TransactionInfo/components/TransactionAction/index.js +6 -2
  674. package/__commonjs/UI/TransactionInfo/components/TransactionLogs/TransactionLogs.js +6 -2
  675. package/__commonjs/UI/TransactionInfo/components/TransactionLogs/index.js +6 -2
  676. package/__commonjs/UI/TransactionInfo/components/index.js +6 -2
  677. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/TransactionInfoFrom.js +6 -2
  678. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/index.js +6 -2
  679. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/TransactionInfoMethod.js +6 -2
  680. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/index.js +6 -2
  681. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/TransactionInfoMiniblock.js +6 -2
  682. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/index.js +6 -2
  683. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/TransactionInfoScResults.js +6 -2
  684. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/index.js +6 -2
  685. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/TransactionInfoTo.js +6 -2
  686. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/index.js +6 -2
  687. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/TransactionInfoTokenOperations.js +6 -2
  688. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/index.js +6 -2
  689. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/index.js +6 -2
  690. package/__commonjs/UI/TransactionInfo/index.js +6 -2
  691. package/__commonjs/UI/TransactionsTable/TransactionsTable.js +6 -2
  692. package/__commonjs/UI/TransactionsTable/components/AccountName.js +6 -2
  693. package/__commonjs/UI/TransactionsTable/components/TransactionHash.js +6 -2
  694. package/__commonjs/UI/TransactionsTable/components/TransactionReceiver.js +6 -2
  695. package/__commonjs/UI/TransactionsTable/components/TransactionRow.js +6 -2
  696. package/__commonjs/UI/TransactionsTable/components/TransactionSender.js +6 -2
  697. package/__commonjs/UI/TransactionsTable/components/index.js +6 -2
  698. package/__commonjs/UI/TransactionsTable/index.js +15 -11
  699. package/__commonjs/UI/TransactionsToastList/TransactionsToastList.js +6 -2
  700. package/__commonjs/UI/TransactionsToastList/components/CustomToast/CustomToast.js +6 -2
  701. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/CustomComponentToast.js +6 -2
  702. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/IconToast.js +6 -2
  703. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/IconToastFooter.js +6 -2
  704. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/TransactionToastFooter.js +6 -2
  705. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/index.js +6 -2
  706. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/index.js +6 -2
  707. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/index.js +6 -2
  708. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/SimpleToast.js +6 -2
  709. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/index.js +6 -2
  710. package/__commonjs/UI/TransactionsToastList/components/CustomToast/helpers/index.js +6 -2
  711. package/__commonjs/UI/TransactionsToastList/components/CustomToast/helpers/useMemoizedCloseButton.js +6 -2
  712. package/__commonjs/UI/TransactionsToastList/components/CustomToast/index.js +6 -2
  713. package/__commonjs/UI/TransactionsToastList/components/TransactionToast/TransactionToast.js +6 -2
  714. package/__commonjs/UI/TransactionsToastList/components/TransactionToast/components/TransactionToastContent.js +6 -2
  715. package/__commonjs/UI/TransactionsToastList/components/TransactionToast/components/index.js +6 -2
  716. package/__commonjs/UI/TransactionsToastList/components/TransactionToast/index.js +6 -2
  717. package/__commonjs/UI/TransactionsToastList/components/TransactionToastGuard.js +6 -2
  718. package/__commonjs/UI/TransactionsToastList/components/index.js +6 -2
  719. package/__commonjs/UI/TransactionsToastList/index.js +6 -2
  720. package/__commonjs/UI/Trim/Trim.js +6 -2
  721. package/__commonjs/UI/Trim/index.js +6 -2
  722. package/__commonjs/UI/Trim/trim.styles.js +6 -2
  723. package/__commonjs/UI/extension/ExtensionLoginButton/ExtensionLoginButton.js +1 -1
  724. package/__commonjs/UI/extension/ExtensionLoginButton/index.js +1 -1
  725. package/__commonjs/UI/iframe/IframeLoginButton/IframeButton.js +2 -2
  726. package/__commonjs/UI/iframe/IframeLoginButton/index.js +2 -2
  727. package/__commonjs/UI/index.js +15 -11
  728. package/__commonjs/UI/ledger/LedgerLoginButton/LedgerLoginButton.js +11 -7
  729. package/__commonjs/UI/ledger/LedgerLoginButton/index.js +11 -7
  730. package/__commonjs/UI/ledger/LedgerLoginContainer/AddressRow/AddressRow.js +6 -2
  731. package/__commonjs/UI/ledger/LedgerLoginContainer/AddressRow/index.js +6 -2
  732. package/__commonjs/UI/ledger/LedgerLoginContainer/AddressTable/AddressTable.js +6 -2
  733. package/__commonjs/UI/ledger/LedgerLoginContainer/AddressTable/index.js +6 -2
  734. package/__commonjs/UI/ledger/LedgerLoginContainer/LedgerLoginContainer.js +11 -7
  735. package/__commonjs/UI/ledger/LedgerLoginContainer/LedgerLoginContent/LedgerLoginContent.js +27 -23
  736. package/__commonjs/UI/ledger/LedgerLoginContainer/LedgerLoginContent/index.js +27 -23
  737. package/__commonjs/UI/ledger/LedgerLoginContainer/LedgerLoginContentBody/LedgerLoginContentBody.js +19 -15
  738. package/__commonjs/UI/ledger/LedgerLoginContainer/LedgerLoginContentBody/index.js +19 -15
  739. package/__commonjs/UI/ledger/LedgerLoginContainer/index.js +11 -7
  740. package/__commonjs/UI/ledger/index.js +12 -8
  741. package/__commonjs/UI/metamask/MetamaskLoginButton/MetamaskLoginButton.js +2 -2
  742. package/__commonjs/UI/metamask/MetamaskLoginButton/index.js +2 -2
  743. package/__commonjs/UI/operaWallet/OperaWalletLoginButton/OperaWalletLoginButton.js +3 -3
  744. package/__commonjs/UI/operaWallet/OperaWalletLoginButton/index.js +3 -3
  745. package/__commonjs/UI/pages/UnlockPage/index.js +12 -8
  746. package/__commonjs/UI/pages/index.js +12 -8
  747. package/__commonjs/UI/passkey/PasskeyLoginButton/PasskeyLoginButton.js +3 -3
  748. package/__commonjs/UI/passkey/PasskeyLoginButton/index.js +3 -3
  749. package/__commonjs/UI/walletConnect/WalletConnectLoginButton/WalletConnectLoginButton.js +2 -2
  750. package/__commonjs/UI/walletConnect/WalletConnectLoginButton/index.js +2 -2
  751. package/__commonjs/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContainer.js +2 -2
  752. package/__commonjs/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContent/WalletConnectLoginContent.js +3 -3
  753. package/__commonjs/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContent/index.js +3 -3
  754. package/__commonjs/UI/walletConnect/WalletConnectLoginContainer/index.js +2 -2
  755. package/__commonjs/UI/walletConnect/index.js +2 -2
  756. package/__commonjs/UI/webWallet/CrossWindowLoginButton/CrossWindowLoginButton.js +3 -3
  757. package/__commonjs/UI/webWallet/CrossWindowLoginButton/index.js +3 -3
  758. package/__commonjs/UI/webWallet/WebWalletLoginButton/WebWalletLoginButton.js +2 -2
  759. package/__commonjs/UI/webWallet/WebWalletLoginButton/index.js +2 -2
  760. package/__commonjs/UI/webWallet/XaliasCrossWindowLoginButton/XaliasCrossWindowLoginButton.js +3 -3
  761. package/__commonjs/UI/webWallet/XaliasCrossWindowLoginButton/index.js +3 -3
  762. package/__commonjs/UI/webWallet/XaliasLoginButton/XaliasLoginButton.js +2 -2
  763. package/__commonjs/UI/webWallet/XaliasLoginButton/index.js +2 -2
  764. package/__commonjs/__mocks__/index.js +2 -2
  765. package/__commonjs/__mocks__/utils/index.js +2 -2
  766. package/__commonjs/__mocks__/utils/renderWithProvider.js +2 -2
  767. package/__commonjs/components/LogoutListener/helpers/useNativeAuthLogout.js +2 -2
  768. package/__commonjs/components/ProviderInitializer/ProviderInitializer.js +1 -1
  769. package/__commonjs/components/ProviderInitializer/index.js +1 -1
  770. package/__commonjs/constants/index.js +1 -1
  771. package/__commonjs/hooks/index.js +2 -2
  772. package/__commonjs/hooks/login/index.js +2 -2
  773. package/__commonjs/hooks/login/useCrossWindowLogin.js +1 -1
  774. package/__commonjs/hooks/login/useExtensionLogin.js +1 -1
  775. package/__commonjs/hooks/login/useIframeLogin.js +1 -1
  776. package/__commonjs/hooks/login/useLedgerLogin.js +1 -1
  777. package/__commonjs/hooks/login/useLoginService.js +1 -1
  778. package/__commonjs/hooks/login/useMetamaskLogin.js +1 -1
  779. package/__commonjs/hooks/login/useOperaLogin.js +1 -1
  780. package/__commonjs/hooks/login/usePasskeyLogin.js +1 -1
  781. package/__commonjs/hooks/login/useWalletConnectV2Login.js +1 -1
  782. package/__commonjs/hooks/login/useWebWalletLogin.js +1 -1
  783. package/__commonjs/hooks/login/useXaliasLogin.js +1 -1
  784. package/__commonjs/hooks/transactions/helpers/checkNeedsGuardianSigning.js +1 -1
  785. package/__commonjs/hooks/transactions/helpers/index.js +1 -1
  786. package/__commonjs/hooks/transactions/index.js +1 -1
  787. package/__commonjs/hooks/transactions/useSignTransactions.js +1 -1
  788. package/__commonjs/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
  789. package/__commonjs/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
  790. package/__commonjs/providers/experimentalWebViewProvider/useInitiateExperimentalWebviewLogin.js +1 -1
  791. package/__commonjs/utils/index.js +1 -1
  792. package/__commonjs/utils/transactions/builtCallbackUrl.js +1 -1
  793. package/__commonjs/utils/transactions/index.js +1 -1
  794. package/__commonjs/wrappers/DappProvider/DappProvider.js +2 -2
  795. package/__commonjs/wrappers/DappProvider/index.js +2 -2
  796. package/__commonjs/wrappers/index.js +2 -2
  797. package/__mocks__/index.js +1 -1
  798. package/__mocks__/utils/index.js +1 -1
  799. package/__mocks__/utils/renderWithProvider.js +1 -1
  800. package/apiCalls/accounts/getAccountFromApi.js +1 -1
  801. package/apiCalls/accounts/index.js +1 -1
  802. package/apiCalls/accounts/useGetAccountFromApi.js +1 -1
  803. package/apiCalls/configuration/getGasStationMetadata.js +1 -1
  804. package/apiCalls/configuration/getNetworkConfig.js +1 -1
  805. package/apiCalls/configuration/index.js +1 -1
  806. package/apiCalls/configuration/useGetNetworkConfigFromApi.js +1 -1
  807. package/apiCalls/configuration/useGetServerConfigurationFromApi.js +1 -1
  808. package/apiCalls/economics/getEconomicsInfo.js +1 -1
  809. package/apiCalls/economics/index.js +1 -1
  810. package/apiCalls/economics/useGetEconomicsInfoFromApi.js +1 -1
  811. package/apiCalls/index.js +1 -1
  812. package/apiCalls/tokens/getPersistedToken.js +1 -1
  813. package/apiCalls/transactions/getTransactionsByHashes.js +1 -1
  814. package/apiCalls/transactions/index.js +1 -1
  815. package/apiCalls/transactions/sendSignedBatchTransactions.js +1 -1
  816. package/apiCalls/transactions/sendSignedTransactions.js +1 -1
  817. package/apiCalls/transactions/useGetTransactionsFromApi.js +1 -1
  818. package/apiCalls/utils/getCleanApiAddress.js +1 -1
  819. package/apiCalls/utils/getScamAddressData.js +1 -1
  820. package/apiCalls/utils/index.js +1 -1
  821. package/apiCalls/utils/useApiFetch.js +1 -1
  822. package/components/LogoutListener/LogoutListener.js +1 -1
  823. package/components/LogoutListener/helpers/index.js +1 -1
  824. package/components/LogoutListener/helpers/useLogoutFromMultipleTabs.js +1 -1
  825. package/components/LogoutListener/helpers/useNativeAuthLogout.js +1 -1
  826. package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/index.js +1 -1
  827. package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/useNativeAuthLogoutWarning.js +1 -1
  828. package/components/LogoutListener/index.js +1 -1
  829. package/components/ProviderInitializer/ProviderInitializer.js +1 -1
  830. package/components/ProviderInitializer/helpers/handleGuardianWarning.js +1 -1
  831. package/components/ProviderInitializer/helpers/index.js +1 -1
  832. package/components/ProviderInitializer/helpers/processModifiedAccount.js +1 -1
  833. package/components/ProviderInitializer/hooks/index.js +1 -1
  834. package/components/ProviderInitializer/hooks/useSetLedgerProvider.js +1 -1
  835. package/components/ProviderInitializer/index.js +1 -1
  836. package/components/TransactionSender/TransactionSender.js +1 -1
  837. package/components/TransactionSender/index.js +1 -1
  838. package/components/TransactionSender/utils/handleSendBatchTransactionsErrors.js +1 -1
  839. package/components/TransactionSender/utils/handleSendTransactionsErrors.js +1 -1
  840. package/components/TransactionSender/utils/invokeSendTransactions.js +1 -1
  841. package/components/TransactionsTracker/TransactionTracker.js +1 -1
  842. package/components/TransactionsTracker/index.js +1 -1
  843. package/constants/index.js +1 -1
  844. package/hooks/account/index.js +1 -1
  845. package/hooks/account/useGetAccount.js +1 -1
  846. package/hooks/account/useGetAccountInfo.js +1 -1
  847. package/hooks/account/useGetAccountProvider.js +1 -1
  848. package/hooks/account/useGetBatchWebsocketEvent.js +1 -1
  849. package/hooks/account/useGetIsLoggedIn.js +1 -1
  850. package/hooks/account/useGetIsWalletConnectV2Initialized.js +1 -1
  851. package/hooks/account/useGetLoginInfo.js +1 -1
  852. package/hooks/account/useGetWebsocketEvent.js +1 -1
  853. package/hooks/economics/index.js +1 -1
  854. package/hooks/economics/useGetEgldPrice.js +1 -1
  855. package/hooks/index.js +1 -1
  856. package/hooks/login/index.js +1 -1
  857. package/hooks/login/useCrossWindowLogin.js +1 -1
  858. package/hooks/login/useExtensionLogin.js +1 -1
  859. package/hooks/login/useGetModalLoginMethods.js +1 -1
  860. package/hooks/login/useIframeLogin.js +1 -1
  861. package/hooks/login/useLedgerLogin.js +1 -1
  862. package/hooks/login/useLoginService.js +1 -1
  863. package/hooks/login/useMetamaskLogin.js +1 -1
  864. package/hooks/login/useOperaLogin.js +1 -1
  865. package/hooks/login/usePasskeyLogin.js +1 -1
  866. package/hooks/login/useWalletConnectV2Login.js +1 -1
  867. package/hooks/login/useWebViewLogin.js +1 -1
  868. package/hooks/login/useWebWalletLogin.js +1 -1
  869. package/hooks/login/useXaliasLogin.js +1 -1
  870. package/hooks/signMessage/index.js +1 -1
  871. package/hooks/signMessage/useGetLastSignedMessageSession.js +1 -1
  872. package/hooks/signMessage/useGetSignMessageSession.js +1 -1
  873. package/hooks/signMessage/useGetSignedMessageStatus.js +1 -1
  874. package/hooks/signMessage/useSignMessage.js +1 -1
  875. package/hooks/toasts/index.js +1 -1
  876. package/hooks/toasts/useGetToasts.js +1 -1
  877. package/hooks/toasts/useTransactionsToasts.js +1 -1
  878. package/hooks/transactions/batch/tracker/useBatchTransactionsTracker.js +1 -1
  879. package/hooks/transactions/batch/tracker/useCheckBatch.js +1 -1
  880. package/hooks/transactions/batch/tracker/useCheckBatchesOnWsFailureFallback.js +1 -1
  881. package/hooks/transactions/batch/tracker/useCheckHangingBatchesFallback.js +1 -1
  882. package/hooks/transactions/batch/tracker/useVerifyBatchStatus.js +1 -1
  883. package/hooks/transactions/batch/useGetBatchStatus.js +1 -1
  884. package/hooks/transactions/batch/useGetBatches.js +1 -1
  885. package/hooks/transactions/batch/useResolveBatchStatusResponse.js +1 -1
  886. package/hooks/transactions/batch/useSendBatchTransactions.js +1 -1
  887. package/hooks/transactions/helpers/buildBatchId.js +1 -1
  888. package/hooks/transactions/helpers/checkNeedsGuardianSigning.js +1 -1
  889. package/hooks/transactions/helpers/extractSessionId.js +1 -1
  890. package/hooks/transactions/helpers/getShouldMoveTransactionsToSignedState.js +1 -1
  891. package/hooks/transactions/helpers/index.js +1 -1
  892. package/hooks/transactions/helpers/useClearTransactionsToSignWithWarning.js +1 -1
  893. package/hooks/transactions/helpers/useGetLedgerProvider.js +1 -1
  894. package/hooks/transactions/helpers/useSetTransactionNonces.js +1 -1
  895. package/hooks/transactions/index.js +1 -1
  896. package/hooks/transactions/useCancelActionAndDispose.js +1 -1
  897. package/hooks/transactions/useCancelWalletConnectAction.js +1 -1
  898. package/hooks/transactions/useCheckTransactionStatus/checkBatch.js +1 -1
  899. package/hooks/transactions/useCheckTransactionStatus/index.js +1 -1
  900. package/hooks/transactions/useCheckTransactionStatus/manageFailedTransactions.js +1 -1
  901. package/hooks/transactions/useCheckTransactionStatus/manageTimedOutTransactions.js +1 -1
  902. package/hooks/transactions/useCheckTransactionStatus/useCheckTransactionStatus.js +1 -1
  903. package/hooks/transactions/useGetActiveTransactionsStatus.js +1 -1
  904. package/hooks/transactions/useGetFailedTransactions.js +1 -1
  905. package/hooks/transactions/useGetLastPendingTransactionHash.js +1 -1
  906. package/hooks/transactions/useGetPendingTransactions.js +1 -1
  907. package/hooks/transactions/useGetPollingInterval.js +1 -1
  908. package/hooks/transactions/useGetSignTransactionsError.js +1 -1
  909. package/hooks/transactions/useGetSignedTransactions.js +1 -1
  910. package/hooks/transactions/useGetSuccessfulTransactions.js +1 -1
  911. package/hooks/transactions/useGetTokenDetails.js +1 -1
  912. package/hooks/transactions/useGetTransactionDisplayInfo.js +1 -1
  913. package/hooks/transactions/useParseSignedTransactions.js +1 -1
  914. package/hooks/transactions/useSignMultipleTransactions.js +1 -1
  915. package/hooks/transactions/useSignTransactions.js +1 -1
  916. package/hooks/transactions/useSignTransactionsCommonData.js +1 -1
  917. package/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
  918. package/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
  919. package/hooks/transactions/useTrackTransactionStatus.js +1 -1
  920. package/hooks/transactions/useTransactionsTracker/index.js +1 -1
  921. package/hooks/transactions/useTransactionsTracker/useCheckHangingTransactionsFallback.js +1 -1
  922. package/hooks/transactions/useTransactionsTracker/useCheckTransactionOnWsFailureFallback.js +1 -1
  923. package/hooks/transactions/useTransactionsTracker/useTransactionsTracker.js +1 -1
  924. package/hooks/transactions/useTransactionsTracker/useUpdateTrackedTransactions.js +1 -1
  925. package/hooks/transactions/useTransactionsTracker/useWebsocketPollingFallback.js +1 -1
  926. package/hooks/useGetNetworkConfig.js +1 -1
  927. package/hooks/useGetNotification.js +1 -1
  928. package/hooks/websocketListener/index.js +1 -1
  929. package/hooks/websocketListener/useInitializeWebsocketConnection.js +1 -1
  930. package/hooks/websocketListener/useRegisterWebsocketListener.js +1 -1
  931. package/models/index.js +1 -1
  932. package/models/newTransaction.js +1 -1
  933. package/package.json +32 -10
  934. package/providers/accountProvider.js +1 -1
  935. package/providers/experimentalWebViewProvider/ExperimentalWebviewProvider.js +1 -1
  936. package/providers/experimentalWebViewProvider/index.js +1 -1
  937. package/providers/experimentalWebViewProvider/useInitiateExperimentalWebviewLogin.js +1 -1
  938. package/providers/index.js +1 -1
  939. package/providers/utils.js +1 -1
  940. package/providers/webviewProvider/index.js +1 -1
  941. package/providers/webviewProvider/requestMethods.js +1 -1
  942. package/providers/webviewProvider/webviewProvider.js +1 -1
  943. package/reduxStore/DappProviderContext.js +1 -1
  944. package/reduxStore/commonActions.js +1 -1
  945. package/reduxStore/middlewares/loginSessionMiddleware.js +1 -1
  946. package/reduxStore/persistConfig.js +1 -1
  947. package/reduxStore/persistedRootReducer.js +1 -1
  948. package/reduxStore/reducers.js +1 -1
  949. package/reduxStore/rootReducer.js +1 -1
  950. package/reduxStore/selectors/accountInfoSelectors.js +1 -1
  951. package/reduxStore/selectors/index.js +1 -1
  952. package/reduxStore/selectors/loginInfoSelectors.js +1 -1
  953. package/reduxStore/selectors/transactionsInfoSelectors.js +1 -1
  954. package/reduxStore/selectors/transactionsSelectors.js +1 -1
  955. package/reduxStore/slices/accountInfoSlice.js +1 -1
  956. package/reduxStore/slices/batchTransactionsSlice.js +1 -1
  957. package/reduxStore/slices/dappConfigSlice.js +1 -1
  958. package/reduxStore/slices/index.js +1 -1
  959. package/reduxStore/slices/loginInfoSlice.js +1 -1
  960. package/reduxStore/slices/modalsSlice.js +1 -1
  961. package/reduxStore/slices/networkConfigSlice.js +1 -1
  962. package/reduxStore/slices/signedMessageInfoSlice.js +1 -1
  963. package/reduxStore/slices/toastsSlice.js +1 -1
  964. package/reduxStore/slices/transactionsInfoSlice.js +1 -1
  965. package/reduxStore/slices/transactionsSlice.js +1 -1
  966. package/reduxStore/store.js +1 -1
  967. package/services/index.js +1 -1
  968. package/services/nativeAuth/helpers/getAuthorizationInfo.js +1 -1
  969. package/services/nativeAuth/helpers/getIsNativeAuthSingingForbidden.js +1 -1
  970. package/services/nativeAuth/helpers/index.js +1 -1
  971. package/services/nativeAuth/helpers/loginWithNativeAuthToken.js +1 -1
  972. package/services/transactions/__tests__/transformAndSignTransactions.test.js +1 -1
  973. package/services/transactions/clearTransactions.js +1 -1
  974. package/services/transactions/getBatchTransactionsStatus.js +1 -1
  975. package/services/transactions/getTransactionsDetails.js +1 -1
  976. package/services/transactions/index.js +1 -1
  977. package/services/transactions/isCrossShardTransaction.js +1 -1
  978. package/services/transactions/sendBatchTransactions.js +1 -1
  979. package/services/transactions/sendBatchTransactions.test.js +1 -1
  980. package/services/transactions/sendTransactions.js +1 -1
  981. package/services/transactions/signTransactions.js +1 -1
  982. package/services/transactions/transformAndSignTransactions.js +1 -1
  983. package/services/transactions/updateSignedTransactions.js +1 -1
  984. package/services/transactions/utils/transformTransactionsToSign.js +1 -1
  985. package/services/transactions/utils.js +1 -1
  986. package/utils/account/getAccount.js +1 -1
  987. package/utils/account/getAccountBalance.js +1 -1
  988. package/utils/account/getAccountProviderType.js +1 -1
  989. package/utils/account/getAccountShard.js +1 -1
  990. package/utils/account/getAddress.js +1 -1
  991. package/utils/account/getIsProviderEqualTo.js +1 -1
  992. package/utils/account/getLatestNonce.js +1 -1
  993. package/utils/account/getShardOfAddress.js +1 -1
  994. package/utils/account/getWebviewToken.js +1 -1
  995. package/utils/account/index.js +1 -1
  996. package/utils/account/loginWithExternalProvider.js +1 -1
  997. package/utils/account/refreshAccount.js +1 -1
  998. package/utils/account/setNonce.js +1 -1
  999. package/utils/account/signMessage.js +1 -1
  1000. package/utils/getIsLoggedIn.js +1 -1
  1001. package/utils/index.js +1 -1
  1002. package/utils/logout.js +1 -1
  1003. package/utils/network/getChainID.js +1 -1
  1004. package/utils/network/getEgldLabel.js +1 -1
  1005. package/utils/network/getNetworkConfig.js +1 -1
  1006. package/utils/network/index.js +1 -1
  1007. package/utils/operations/calculateFeeInFiat.js +1 -1
  1008. package/utils/operations/calculateFeeLimit.js +1 -1
  1009. package/utils/operations/denominate.js +1 -1
  1010. package/utils/operations/formatAmount.js +1 -1
  1011. package/utils/operations/index.js +1 -1
  1012. package/utils/operations/ledger/getLedgerVersionOptions.js +1 -1
  1013. package/utils/operations/ledger/index.js +1 -1
  1014. package/utils/operations/nominate.js +1 -1
  1015. package/utils/operations/parseAmount.js +1 -1
  1016. package/utils/toasts/customToastsActions.js +1 -1
  1017. package/utils/toasts/index.js +1 -1
  1018. package/utils/transactions/batch/updateBatchTransactionsStatuses.js +1 -1
  1019. package/utils/transactions/builtCallbackUrl.js +1 -1
  1020. package/utils/transactions/getAllTransactionsLink.js +1 -1
  1021. package/utils/transactions/getAreTransactionsOnSameShard.js +1 -1
  1022. package/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.js +1 -1
  1023. package/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.js +1 -1
  1024. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/getTransactionValue.js +1 -1
  1025. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getEgldValueData.js +1 -1
  1026. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getTitleText.js +1 -1
  1027. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromActions.js +1 -1
  1028. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromDataField.js +1 -1
  1029. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromOperations.js +1 -1
  1030. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/index.js +1 -1
  1031. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/index.js +1 -1
  1032. package/utils/transactions/getInterpretedTransaction/helpers/index.js +1 -1
  1033. package/utils/transactions/getInterpretedTransaction/index.js +1 -1
  1034. package/utils/transactions/getOperationsDetails.js +1 -1
  1035. package/utils/transactions/getTransactionLink.js +1 -1
  1036. package/utils/transactions/index.js +1 -1
  1037. package/utils/transactions/isGuardianTx.js +1 -1
  1038. package/utils/transactions/parseTransactionAfterSigning.js +1 -1
  1039. package/utils/transactions/removeTransactionParamsFromUrl.js +1 -1
  1040. package/utils/transactions/transactionInfoHelpers/getShardText.js +1 -1
  1041. package/utils/transactions/transactionInfoHelpers/getTransactionActionNftText.js +1 -1
  1042. package/utils/transactions/transactionInfoHelpers/getTransactionActionTokenText.js +1 -1
  1043. package/utils/transactions/transactionInfoHelpers/getTransactionMessages.js +1 -1
  1044. package/utils/transactions/transactionInfoHelpers/index.js +1 -1
  1045. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/index.js +1 -1
  1046. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/mexUnwrapper.js +1 -1
  1047. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/index.js +1 -1
  1048. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/transactionActionUnwrapper.js +1 -1
  1049. package/utils/validation/index.js +1 -1
  1050. package/utils/validation/maxDecimals.js +1 -1
  1051. package/utils/validation/stringIsFloat.js +1 -1
  1052. package/utils/waitForChainID.js +1 -1
  1053. package/utils/walletconnect/__mocks__/sdkWalletconnectProvider.js +1 -1
  1054. package/web/hooks/index.js +1 -1
  1055. package/web/hooks/useIdleTimer.js +1 -1
  1056. package/web/index.js +1 -1
  1057. package/wrappers/AppInitializer.js +1 -1
  1058. package/wrappers/AuthenticatedRoutesWrapper/AuthenticatedRoutesWrapper.js +1 -1
  1059. package/wrappers/AuthenticatedRoutesWrapper/index.js +1 -1
  1060. package/wrappers/AxiosInterceptorContext/AxiosInterceptorContext.js +1 -1
  1061. package/wrappers/AxiosInterceptorContext/components/AxiosInterceptor.js +1 -1
  1062. package/wrappers/AxiosInterceptorContext/components/AxiosInterceptorContextProvider.js +1 -1
  1063. package/wrappers/AxiosInterceptorContext/components/LoginInfoListener.js +1 -1
  1064. package/wrappers/AxiosInterceptorContext/components/index.js +1 -1
  1065. package/wrappers/AxiosInterceptorContext/index.js +1 -1
  1066. package/wrappers/DappProvider/CustomComponents.js +1 -1
  1067. package/wrappers/DappProvider/DappProvider.js +1 -1
  1068. package/wrappers/DappProvider/index.js +1 -1
  1069. package/wrappers/index.js +1 -1
  1070. package/__chunks__/chunk-2KDLD4RG.js +0 -2
  1071. package/__chunks__/chunk-3C456ER4.js +0 -2
  1072. package/__chunks__/chunk-3YVYQCSI.js +0 -2
  1073. package/__chunks__/chunk-4I6IQBQ3.js +0 -2
  1074. package/__chunks__/chunk-4NWKC3RR.js +0 -2
  1075. package/__chunks__/chunk-4VUHXHXL.js +0 -2
  1076. package/__chunks__/chunk-6IV3HRKI.js +0 -2
  1077. package/__chunks__/chunk-6IWKDN6P.js +0 -2
  1078. package/__chunks__/chunk-6KZT33EQ.js +0 -2
  1079. package/__chunks__/chunk-6UB7L3HM.js +0 -2
  1080. package/__chunks__/chunk-776TUCVE.js +0 -2
  1081. package/__chunks__/chunk-7FQ7CRUT.js +0 -2
  1082. package/__chunks__/chunk-A5T5MDXQ.js +0 -2
  1083. package/__chunks__/chunk-AJDMQ2BN.js +0 -2
  1084. package/__chunks__/chunk-C7SDKMXD.js +0 -2
  1085. package/__chunks__/chunk-CEZENCU2.js +0 -2
  1086. package/__chunks__/chunk-CHY472DN.js +0 -2
  1087. package/__chunks__/chunk-CP374WHL.js +0 -2
  1088. package/__chunks__/chunk-CZQCSAQK.js +0 -2
  1089. package/__chunks__/chunk-DN5T52OC.js +0 -2
  1090. package/__chunks__/chunk-E7FDBBCT.js +0 -2
  1091. package/__chunks__/chunk-ED2IPLGG.js +0 -2
  1092. package/__chunks__/chunk-FRQ77QQB.js +0 -2
  1093. package/__chunks__/chunk-FVK3ZCWI.js +0 -2
  1094. package/__chunks__/chunk-GIQR4QH4.js +0 -2
  1095. package/__chunks__/chunk-GMMATHVE.js +0 -2
  1096. package/__chunks__/chunk-HDHXOS2P.js +0 -2
  1097. package/__chunks__/chunk-IV6TBEPI.js +0 -2
  1098. package/__chunks__/chunk-J2O4DZOQ.js +0 -2
  1099. package/__chunks__/chunk-JM2Q3FFB.js +0 -2
  1100. package/__chunks__/chunk-JTVI7EAE.js +0 -2
  1101. package/__chunks__/chunk-LBADT7AB.js +0 -2
  1102. package/__chunks__/chunk-LGGCN7I4.js +0 -2
  1103. package/__chunks__/chunk-MDOQ3FD5.js +0 -2
  1104. package/__chunks__/chunk-MILTNDSS.js +0 -2
  1105. package/__chunks__/chunk-MSGBCJVA.js +0 -2
  1106. package/__chunks__/chunk-NJIFJ5DI.js +0 -2
  1107. package/__chunks__/chunk-NM52DLFT.js +0 -2
  1108. package/__chunks__/chunk-NPLNFSCQ.js +0 -2
  1109. package/__chunks__/chunk-NPMNFYXP.js +0 -2
  1110. package/__chunks__/chunk-ODD7HZGC.js +0 -2
  1111. package/__chunks__/chunk-OV7F5MGO.js +0 -2
  1112. package/__chunks__/chunk-P6WVRK5K.js +0 -2
  1113. package/__chunks__/chunk-PXMKUDDY.js +0 -2
  1114. package/__chunks__/chunk-Q6E4I6C3.js +0 -2
  1115. package/__chunks__/chunk-Q6WNXGQO.js +0 -2
  1116. package/__chunks__/chunk-Q74ZPP5Z.js +0 -2
  1117. package/__chunks__/chunk-QBZ5FB5S.js +0 -2
  1118. package/__chunks__/chunk-QFEZDF6S.js +0 -2
  1119. package/__chunks__/chunk-QHG5O46R.js +0 -2
  1120. package/__chunks__/chunk-RR2VFIBY.js +0 -2
  1121. package/__chunks__/chunk-RWGHXSVL.js +0 -2
  1122. package/__chunks__/chunk-TDTVKQAY.js +0 -2
  1123. package/__chunks__/chunk-TFGSWUDU.js +0 -2
  1124. package/__chunks__/chunk-UBWKE3AA.js +0 -2
  1125. package/__chunks__/chunk-UGVGXRLY.js +0 -2
  1126. package/__chunks__/chunk-VNOH57Z5.js +0 -2
  1127. package/__chunks__/chunk-XL27T4US.js +0 -2
  1128. package/__chunks__/chunk-Y6V7N5Z6.js +0 -2
  1129. package/__chunks__/chunk-YGS2TUT4.js +0 -2
  1130. package/__chunks__/chunk-Z3XXI7LZ.js +0 -2
  1131. package/__chunks__/chunk-Z4PTT5JC.js +0 -2
  1132. package/__chunks__/chunk-Z4ZKZDVG.js +0 -2
  1133. package/__chunks__/chunk-ZYNCAO24.js +0 -2
@@ -1,4 +1,4 @@
1
- "use strict";var za=Object.create;var Qe=Object.defineProperty,Ka=Object.defineProperties,Ya=Object.getOwnPropertyDescriptor,Xa=Object.getOwnPropertyDescriptors,Za=Object.getOwnPropertyNames,Et=Object.getOwnPropertySymbols,Ja=Object.getPrototypeOf,Ir=Object.prototype.hasOwnProperty,Mn=Object.prototype.propertyIsEnumerable;var On=(e,t,r)=>t in e?Qe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,T=(e,t)=>{for(var r in t||(t={}))Ir.call(t,r)&&On(e,r,t[r]);if(Et)for(var r of Et(t))Mn.call(t,r)&&On(e,r,t[r]);return e},v=(e,t)=>Ka(e,Xa(t));var Fn=(e,t)=>{var r={};for(var o in e)Ir.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(e!=null&&Et)for(var o of Et(e))t.indexOf(o)<0&&Mn.call(e,o)&&(r[o]=e[o]);return r};var y=(e,t)=>()=>(e&&(t=e(e=0)),t);var j=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),be=(e,t)=>{for(var r in t)Qe(e,r,{get:t[r],enumerable:!0})},Bn=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Za(t))!Ir.call(e,i)&&i!==r&&Qe(e,i,{get:()=>t[i],enumerable:!(o=Ya(t,i))||o.enumerable});return e};var A=(e,t,r)=>(r=e!=null?za(Ja(e)):{},Bn(t||!e||!e.__esModule?Qe(r,"default",{value:e,enumerable:!0}):r,e)),et=e=>Bn(Qe({},"__esModule",{value:!0}),e);var w=(e,t,r)=>new Promise((o,i)=>{var l=m=>{try{d(r.next(m))}catch(g){i(g)}},p=m=>{try{d(r.throw(m))}catch(g){i(g)}},d=m=>m.done?o(m.value):Promise.resolve(m.value).then(l,p);d((r=r.apply(e,t)).next())});var Vn=j(Lt=>{"use strict";n();Lt.byteLength=ec;Lt.toByteArray=rc;Lt.fromByteArray=ic;var ce=[],Q=[],Qa=typeof Uint8Array!="undefined"?Uint8Array:Array,br="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(ke=0,Un=br.length;ke<Un;++ke)ce[ke]=br[ke],Q[br.charCodeAt(ke)]=ke;var ke,Un;Q["-".charCodeAt(0)]=62;Q["_".charCodeAt(0)]=63;function Wn(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");r===-1&&(r=t);var o=r===t?0:4-r%4;return[r,o]}function ec(e){var t=Wn(e),r=t[0],o=t[1];return(r+o)*3/4-o}function tc(e,t,r){return(t+r)*3/4-r}function rc(e){var t,r=Wn(e),o=r[0],i=r[1],l=new Qa(tc(e,o,i)),p=0,d=i>0?o-4:o,m;for(m=0;m<d;m+=4)t=Q[e.charCodeAt(m)]<<18|Q[e.charCodeAt(m+1)]<<12|Q[e.charCodeAt(m+2)]<<6|Q[e.charCodeAt(m+3)],l[p++]=t>>16&255,l[p++]=t>>8&255,l[p++]=t&255;return i===2&&(t=Q[e.charCodeAt(m)]<<2|Q[e.charCodeAt(m+1)]>>4,l[p++]=t&255),i===1&&(t=Q[e.charCodeAt(m)]<<10|Q[e.charCodeAt(m+1)]<<4|Q[e.charCodeAt(m+2)]>>2,l[p++]=t>>8&255,l[p++]=t&255),l}function nc(e){return ce[e>>18&63]+ce[e>>12&63]+ce[e>>6&63]+ce[e&63]}function oc(e,t,r){for(var o,i=[],l=t;l<r;l+=3)o=(e[l]<<16&16711680)+(e[l+1]<<8&65280)+(e[l+2]&255),i.push(nc(o));return i.join("")}function ic(e){for(var t,r=e.length,o=r%3,i=[],l=16383,p=0,d=r-o;p<d;p+=l)i.push(oc(e,p,p+l>d?d:p+l));return o===1?(t=e[r-1],i.push(ce[t>>2]+ce[t<<4&63]+"==")):o===2&&(t=(e[r-2]<<8)+e[r-1],i.push(ce[t>>10]+ce[t>>4&63]+ce[t<<2&63]+"=")),i.join("")}});var $n=j(kr=>{n();kr.read=function(e,t,r,o,i){var l,p,d=i*8-o-1,m=(1<<d)-1,g=m>>1,x=-7,f=r?i-1:0,S=r?-1:1,b=e[t+f];for(f+=S,l=b&(1<<-x)-1,b>>=-x,x+=d;x>0;l=l*256+e[t+f],f+=S,x-=8);for(p=l&(1<<-x)-1,l>>=-x,x+=o;x>0;p=p*256+e[t+f],f+=S,x-=8);if(l===0)l=1-g;else{if(l===m)return p?NaN:(b?-1:1)*(1/0);p=p+Math.pow(2,o),l=l-g}return(b?-1:1)*p*Math.pow(2,l-o)};kr.write=function(e,t,r,o,i,l){var p,d,m,g=l*8-i-1,x=(1<<g)-1,f=x>>1,S=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,b=o?0:l-1,k=o?1:-1,P=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(d=isNaN(t)?1:0,p=x):(p=Math.floor(Math.log(t)/Math.LN2),t*(m=Math.pow(2,-p))<1&&(p--,m*=2),p+f>=1?t+=S/m:t+=S*Math.pow(2,1-f),t*m>=2&&(p++,m/=2),p+f>=x?(d=0,p=x):p+f>=1?(d=(t*m-1)*Math.pow(2,i),p=p+f):(d=t*Math.pow(2,f-1)*Math.pow(2,i),p=0));i>=8;e[r+b]=d&255,b+=k,d/=256,i-=8);for(p=p<<i|d,g+=i;g>0;e[r+b]=p&255,b+=k,p/=256,g-=8);e[r+b-k]|=P*128}});var to=j(Be=>{"use strict";n();var Er=Vn(),Fe=$n(),Gn=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Be.Buffer=u;Be.SlowBuffer=uc;Be.INSPECT_MAX_BYTES=50;var Pt=2147483647;Be.kMaxLength=Pt;u.TYPED_ARRAY_SUPPORT=sc();!u.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function sc(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),e.foo()===42}catch(r){return!1}}Object.defineProperty(u.prototype,"parent",{enumerable:!0,get:function(){if(!!u.isBuffer(this))return this.buffer}});Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(!!u.isBuffer(this))return this.byteOffset}});function xe(e){if(e>Pt)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,u.prototype),t}function u(e,t,r){if(typeof e=="number"){if(typeof t=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Rr(e)}return qn(e,t,r)}u.poolSize=8192;function qn(e,t,r){if(typeof e=="string")return cc(e,t);if(ArrayBuffer.isView(e))return lc(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(le(e,ArrayBuffer)||e&&le(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(le(e,SharedArrayBuffer)||e&&le(e.buffer,SharedArrayBuffer)))return Pr(e,t,r);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var o=e.valueOf&&e.valueOf();if(o!=null&&o!==e)return u.from(o,t,r);var i=pc(e);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return u.from(e[Symbol.toPrimitive]("string"),t,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}u.from=function(e,t,r){return qn(e,t,r)};Object.setPrototypeOf(u.prototype,Uint8Array.prototype);Object.setPrototypeOf(u,Uint8Array);function zn(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 ac(e,t,r){return zn(e),e<=0?xe(e):t!==void 0?typeof r=="string"?xe(e).fill(t,r):xe(e).fill(t):xe(e)}u.alloc=function(e,t,r){return ac(e,t,r)};function Rr(e){return zn(e),xe(e<0?0:Nr(e)|0)}u.allocUnsafe=function(e){return Rr(e)};u.allocUnsafeSlow=function(e){return Rr(e)};function cc(e,t){if((typeof t!="string"||t==="")&&(t="utf8"),!u.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=Kn(e,t)|0,o=xe(r),i=o.write(e,t);return i!==r&&(o=o.slice(0,i)),o}function Lr(e){for(var t=e.length<0?0:Nr(e.length)|0,r=xe(t),o=0;o<t;o+=1)r[o]=e[o]&255;return r}function lc(e){if(le(e,Uint8Array)){var t=new Uint8Array(e);return Pr(t.buffer,t.byteOffset,t.byteLength)}return Lr(e)}function Pr(e,t,r){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw new RangeError('"length" is outside of buffer bounds');var o;return t===void 0&&r===void 0?o=new Uint8Array(e):r===void 0?o=new Uint8Array(e,t):o=new Uint8Array(e,t,r),Object.setPrototypeOf(o,u.prototype),o}function pc(e){if(u.isBuffer(e)){var t=Nr(e.length)|0,r=xe(t);return r.length===0||e.copy(r,0,0,t),r}if(e.length!==void 0)return typeof e.length!="number"||Dr(e.length)?xe(0):Lr(e);if(e.type==="Buffer"&&Array.isArray(e.data))return Lr(e.data)}function Nr(e){if(e>=Pt)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Pt.toString(16)+" bytes");return e|0}function uc(e){return+e!=e&&(e=0),u.alloc(+e)}u.isBuffer=function(t){return t!=null&&t._isBuffer===!0&&t!==u.prototype};u.compare=function(t,r){if(le(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),le(r,Uint8Array)&&(r=u.from(r,r.offset,r.byteLength)),!u.isBuffer(t)||!u.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===r)return 0;for(var o=t.length,i=r.length,l=0,p=Math.min(o,i);l<p;++l)if(t[l]!==r[l]){o=t[l],i=r[l];break}return o<i?-1:i<o?1:0};u.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};u.concat=function(t,r){if(!Array.isArray(t))throw new TypeError('"list" argument must be an Array of Buffers');if(t.length===0)return u.alloc(0);var o;if(r===void 0)for(r=0,o=0;o<t.length;++o)r+=t[o].length;var i=u.allocUnsafe(r),l=0;for(o=0;o<t.length;++o){var p=t[o];if(le(p,Uint8Array))l+p.length>i.length?u.from(p).copy(i,l):Uint8Array.prototype.set.call(i,p,l);else if(u.isBuffer(p))p.copy(i,l);else throw new TypeError('"list" argument must be an Array of Buffers');l+=p.length}return i};function Kn(e,t){if(u.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||le(e,ArrayBuffer))return e.byteLength;if(typeof e!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,o=arguments.length>2&&arguments[2]===!0;if(!o&&r===0)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return Cr(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return eo(e).length;default:if(i)return o?-1:Cr(e).length;t=(""+t).toLowerCase(),i=!0}}u.byteLength=Kn;function dc(e,t,r){var o=!1;if((t===void 0||t<0)&&(t=0),t>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,t>>>=0,r<=t))return"";for(e||(e="utf8");;)switch(e){case"hex":return Ac(this,t,r);case"utf8":case"utf-8":return Xn(this,t,r);case"ascii":return Sc(this,t,r);case"latin1":case"binary":return wc(this,t,r);case"base64":return hc(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return vc(this,t,r);default:if(o)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),o=!0}}u.prototype._isBuffer=!0;function Ee(e,t,r){var o=e[t];e[t]=e[r],e[r]=o}u.prototype.swap16=function(){var t=this.length;if(t%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<t;r+=2)Ee(this,r,r+1);return this};u.prototype.swap32=function(){var t=this.length;if(t%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<t;r+=4)Ee(this,r,r+3),Ee(this,r+1,r+2);return this};u.prototype.swap64=function(){var t=this.length;if(t%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<t;r+=8)Ee(this,r,r+7),Ee(this,r+1,r+6),Ee(this,r+2,r+5),Ee(this,r+3,r+4);return this};u.prototype.toString=function(){var t=this.length;return t===0?"":arguments.length===0?Xn(this,0,t):dc.apply(this,arguments)};u.prototype.toLocaleString=u.prototype.toString;u.prototype.equals=function(t){if(!u.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t?!0:u.compare(this,t)===0};u.prototype.inspect=function(){var t="",r=Be.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"};Gn&&(u.prototype[Gn]=u.prototype.inspect);u.prototype.compare=function(t,r,o,i,l){if(le(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),!u.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(r===void 0&&(r=0),o===void 0&&(o=t?t.length:0),i===void 0&&(i=0),l===void 0&&(l=this.length),r<0||o>t.length||i<0||l>this.length)throw new RangeError("out of range index");if(i>=l&&r>=o)return 0;if(i>=l)return-1;if(r>=o)return 1;if(r>>>=0,o>>>=0,i>>>=0,l>>>=0,this===t)return 0;for(var p=l-i,d=o-r,m=Math.min(p,d),g=this.slice(i,l),x=t.slice(r,o),f=0;f<m;++f)if(g[f]!==x[f]){p=g[f],d=x[f];break}return p<d?-1:d<p?1:0};function Yn(e,t,r,o,i){if(e.length===0)return-1;if(typeof r=="string"?(o=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,Dr(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof t=="string"&&(t=u.from(t,o)),u.isBuffer(t))return t.length===0?-1:Hn(e,t,r,o,i);if(typeof t=="number")return t=t&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):Hn(e,[t],r,o,i);throw new TypeError("val must be string, number or Buffer")}function Hn(e,t,r,o,i){var l=1,p=e.length,d=t.length;if(o!==void 0&&(o=String(o).toLowerCase(),o==="ucs2"||o==="ucs-2"||o==="utf16le"||o==="utf-16le")){if(e.length<2||t.length<2)return-1;l=2,p/=2,d/=2,r/=2}function m(b,k){return l===1?b[k]:b.readUInt16BE(k*l)}var g;if(i){var x=-1;for(g=r;g<p;g++)if(m(e,g)===m(t,x===-1?0:g-x)){if(x===-1&&(x=g),g-x+1===d)return x*l}else x!==-1&&(g-=g-x),x=-1}else for(r+d>p&&(r=p-d),g=r;g>=0;g--){for(var f=!0,S=0;S<d;S++)if(m(e,g+S)!==m(t,S)){f=!1;break}if(f)return g}return-1}u.prototype.includes=function(t,r,o){return this.indexOf(t,r,o)!==-1};u.prototype.indexOf=function(t,r,o){return Yn(this,t,r,o,!0)};u.prototype.lastIndexOf=function(t,r,o){return Yn(this,t,r,o,!1)};function mc(e,t,r,o){r=Number(r)||0;var i=e.length-r;o?(o=Number(o),o>i&&(o=i)):o=i;var l=t.length;o>l/2&&(o=l/2);for(var p=0;p<o;++p){var d=parseInt(t.substr(p*2,2),16);if(Dr(d))return p;e[r+p]=d}return p}function gc(e,t,r,o){return Ct(Cr(t,e.length-r),e,r,o)}function fc(e,t,r,o){return Ct(kc(t),e,r,o)}function Tc(e,t,r,o){return Ct(eo(t),e,r,o)}function yc(e,t,r,o){return Ct(Ec(t,e.length-r),e,r,o)}u.prototype.write=function(t,r,o,i){if(r===void 0)i="utf8",o=this.length,r=0;else if(o===void 0&&typeof r=="string")i=r,o=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(o)?(o=o>>>0,i===void 0&&(i="utf8")):(i=o,o=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var l=this.length-r;if((o===void 0||o>l)&&(o=l),t.length>0&&(o<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var p=!1;;)switch(i){case"hex":return mc(this,t,r,o);case"utf8":case"utf-8":return gc(this,t,r,o);case"ascii":case"latin1":case"binary":return fc(this,t,r,o);case"base64":return Tc(this,t,r,o);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return yc(this,t,r,o);default:if(p)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),p=!0}};u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function hc(e,t,r){return t===0&&r===e.length?Er.fromByteArray(e):Er.fromByteArray(e.slice(t,r))}function Xn(e,t,r){r=Math.min(e.length,r);for(var o=[],i=t;i<r;){var l=e[i],p=null,d=l>239?4:l>223?3:l>191?2:1;if(i+d<=r){var m,g,x,f;switch(d){case 1:l<128&&(p=l);break;case 2:m=e[i+1],(m&192)===128&&(f=(l&31)<<6|m&63,f>127&&(p=f));break;case 3:m=e[i+1],g=e[i+2],(m&192)===128&&(g&192)===128&&(f=(l&15)<<12|(m&63)<<6|g&63,f>2047&&(f<55296||f>57343)&&(p=f));break;case 4:m=e[i+1],g=e[i+2],x=e[i+3],(m&192)===128&&(g&192)===128&&(x&192)===128&&(f=(l&15)<<18|(m&63)<<12|(g&63)<<6|x&63,f>65535&&f<1114112&&(p=f))}}p===null?(p=65533,d=1):p>65535&&(p-=65536,o.push(p>>>10&1023|55296),p=56320|p&1023),o.push(p),i+=d}return xc(o)}var jn=4096;function xc(e){var t=e.length;if(t<=jn)return String.fromCharCode.apply(String,e);for(var r="",o=0;o<t;)r+=String.fromCharCode.apply(String,e.slice(o,o+=jn));return r}function Sc(e,t,r){var o="";r=Math.min(e.length,r);for(var i=t;i<r;++i)o+=String.fromCharCode(e[i]&127);return o}function wc(e,t,r){var o="";r=Math.min(e.length,r);for(var i=t;i<r;++i)o+=String.fromCharCode(e[i]);return o}function Ac(e,t,r){var o=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>o)&&(r=o);for(var i="",l=t;l<r;++l)i+=Lc[e[l]];return i}function vc(e,t,r){for(var o=e.slice(t,r),i="",l=0;l<o.length-1;l+=2)i+=String.fromCharCode(o[l]+o[l+1]*256);return i}u.prototype.slice=function(t,r){var o=this.length;t=~~t,r=r===void 0?o:~~r,t<0?(t+=o,t<0&&(t=0)):t>o&&(t=o),r<0?(r+=o,r<0&&(r=0)):r>o&&(r=o),r<t&&(r=t);var i=this.subarray(t,r);return Object.setPrototypeOf(i,u.prototype),i};function M(e,t,r){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}u.prototype.readUintLE=u.prototype.readUIntLE=function(t,r,o){t=t>>>0,r=r>>>0,o||M(t,r,this.length);for(var i=this[t],l=1,p=0;++p<r&&(l*=256);)i+=this[t+p]*l;return i};u.prototype.readUintBE=u.prototype.readUIntBE=function(t,r,o){t=t>>>0,r=r>>>0,o||M(t,r,this.length);for(var i=this[t+--r],l=1;r>0&&(l*=256);)i+=this[t+--r]*l;return i};u.prototype.readUint8=u.prototype.readUInt8=function(t,r){return t=t>>>0,r||M(t,1,this.length),this[t]};u.prototype.readUint16LE=u.prototype.readUInt16LE=function(t,r){return t=t>>>0,r||M(t,2,this.length),this[t]|this[t+1]<<8};u.prototype.readUint16BE=u.prototype.readUInt16BE=function(t,r){return t=t>>>0,r||M(t,2,this.length),this[t]<<8|this[t+1]};u.prototype.readUint32LE=u.prototype.readUInt32LE=function(t,r){return t=t>>>0,r||M(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+this[t+3]*16777216};u.prototype.readUint32BE=u.prototype.readUInt32BE=function(t,r){return t=t>>>0,r||M(t,4,this.length),this[t]*16777216+(this[t+1]<<16|this[t+2]<<8|this[t+3])};u.prototype.readIntLE=function(t,r,o){t=t>>>0,r=r>>>0,o||M(t,r,this.length);for(var i=this[t],l=1,p=0;++p<r&&(l*=256);)i+=this[t+p]*l;return l*=128,i>=l&&(i-=Math.pow(2,8*r)),i};u.prototype.readIntBE=function(t,r,o){t=t>>>0,r=r>>>0,o||M(t,r,this.length);for(var i=r,l=1,p=this[t+--i];i>0&&(l*=256);)p+=this[t+--i]*l;return l*=128,p>=l&&(p-=Math.pow(2,8*r)),p};u.prototype.readInt8=function(t,r){return t=t>>>0,r||M(t,1,this.length),this[t]&128?(255-this[t]+1)*-1:this[t]};u.prototype.readInt16LE=function(t,r){t=t>>>0,r||M(t,2,this.length);var o=this[t]|this[t+1]<<8;return o&32768?o|4294901760:o};u.prototype.readInt16BE=function(t,r){t=t>>>0,r||M(t,2,this.length);var o=this[t+1]|this[t]<<8;return o&32768?o|4294901760:o};u.prototype.readInt32LE=function(t,r){return t=t>>>0,r||M(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24};u.prototype.readInt32BE=function(t,r){return t=t>>>0,r||M(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]};u.prototype.readFloatLE=function(t,r){return t=t>>>0,r||M(t,4,this.length),Fe.read(this,t,!0,23,4)};u.prototype.readFloatBE=function(t,r){return t=t>>>0,r||M(t,4,this.length),Fe.read(this,t,!1,23,4)};u.prototype.readDoubleLE=function(t,r){return t=t>>>0,r||M(t,8,this.length),Fe.read(this,t,!0,52,8)};u.prototype.readDoubleBE=function(t,r){return t=t>>>0,r||M(t,8,this.length),Fe.read(this,t,!1,52,8)};function q(e,t,r,o,i,l){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<l)throw new RangeError('"value" argument is out of bounds');if(r+o>e.length)throw new RangeError("Index out of range")}u.prototype.writeUintLE=u.prototype.writeUIntLE=function(t,r,o,i){if(t=+t,r=r>>>0,o=o>>>0,!i){var l=Math.pow(2,8*o)-1;q(this,t,r,o,l,0)}var p=1,d=0;for(this[r]=t&255;++d<o&&(p*=256);)this[r+d]=t/p&255;return r+o};u.prototype.writeUintBE=u.prototype.writeUIntBE=function(t,r,o,i){if(t=+t,r=r>>>0,o=o>>>0,!i){var l=Math.pow(2,8*o)-1;q(this,t,r,o,l,0)}var p=o-1,d=1;for(this[r+p]=t&255;--p>=0&&(d*=256);)this[r+p]=t/d&255;return r+o};u.prototype.writeUint8=u.prototype.writeUInt8=function(t,r,o){return t=+t,r=r>>>0,o||q(this,t,r,1,255,0),this[r]=t&255,r+1};u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(t,r,o){return t=+t,r=r>>>0,o||q(this,t,r,2,65535,0),this[r]=t&255,this[r+1]=t>>>8,r+2};u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(t,r,o){return t=+t,r=r>>>0,o||q(this,t,r,2,65535,0),this[r]=t>>>8,this[r+1]=t&255,r+2};u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(t,r,o){return t=+t,r=r>>>0,o||q(this,t,r,4,4294967295,0),this[r+3]=t>>>24,this[r+2]=t>>>16,this[r+1]=t>>>8,this[r]=t&255,r+4};u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(t,r,o){return t=+t,r=r>>>0,o||q(this,t,r,4,4294967295,0),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=t&255,r+4};u.prototype.writeIntLE=function(t,r,o,i){if(t=+t,r=r>>>0,!i){var l=Math.pow(2,8*o-1);q(this,t,r,o,l-1,-l)}var p=0,d=1,m=0;for(this[r]=t&255;++p<o&&(d*=256);)t<0&&m===0&&this[r+p-1]!==0&&(m=1),this[r+p]=(t/d>>0)-m&255;return r+o};u.prototype.writeIntBE=function(t,r,o,i){if(t=+t,r=r>>>0,!i){var l=Math.pow(2,8*o-1);q(this,t,r,o,l-1,-l)}var p=o-1,d=1,m=0;for(this[r+p]=t&255;--p>=0&&(d*=256);)t<0&&m===0&&this[r+p+1]!==0&&(m=1),this[r+p]=(t/d>>0)-m&255;return r+o};u.prototype.writeInt8=function(t,r,o){return t=+t,r=r>>>0,o||q(this,t,r,1,127,-128),t<0&&(t=255+t+1),this[r]=t&255,r+1};u.prototype.writeInt16LE=function(t,r,o){return t=+t,r=r>>>0,o||q(this,t,r,2,32767,-32768),this[r]=t&255,this[r+1]=t>>>8,r+2};u.prototype.writeInt16BE=function(t,r,o){return t=+t,r=r>>>0,o||q(this,t,r,2,32767,-32768),this[r]=t>>>8,this[r+1]=t&255,r+2};u.prototype.writeInt32LE=function(t,r,o){return t=+t,r=r>>>0,o||q(this,t,r,4,2147483647,-2147483648),this[r]=t&255,this[r+1]=t>>>8,this[r+2]=t>>>16,this[r+3]=t>>>24,r+4};u.prototype.writeInt32BE=function(t,r,o){return t=+t,r=r>>>0,o||q(this,t,r,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=t&255,r+4};function Zn(e,t,r,o,i,l){if(r+o>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function Jn(e,t,r,o,i){return t=+t,r=r>>>0,i||Zn(e,t,r,4,34028234663852886e22,-34028234663852886e22),Fe.write(e,t,r,o,23,4),r+4}u.prototype.writeFloatLE=function(t,r,o){return Jn(this,t,r,!0,o)};u.prototype.writeFloatBE=function(t,r,o){return Jn(this,t,r,!1,o)};function Qn(e,t,r,o,i){return t=+t,r=r>>>0,i||Zn(e,t,r,8,17976931348623157e292,-17976931348623157e292),Fe.write(e,t,r,o,52,8),r+8}u.prototype.writeDoubleLE=function(t,r,o){return Qn(this,t,r,!0,o)};u.prototype.writeDoubleBE=function(t,r,o){return Qn(this,t,r,!1,o)};u.prototype.copy=function(t,r,o,i){if(!u.isBuffer(t))throw new TypeError("argument should be a Buffer");if(o||(o=0),!i&&i!==0&&(i=this.length),r>=t.length&&(r=t.length),r||(r=0),i>0&&i<o&&(i=o),i===o||t.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(o<0||o>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),t.length-r<i-o&&(i=t.length-r+o);var l=i-o;return this===t&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,o,i):Uint8Array.prototype.set.call(t,this.subarray(o,i),r),l};u.prototype.fill=function(t,r,o,i){if(typeof t=="string"){if(typeof r=="string"?(i=r,r=0,o=this.length):typeof o=="string"&&(i=o,o=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!u.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(t.length===1){var l=t.charCodeAt(0);(i==="utf8"&&l<128||i==="latin1")&&(t=l)}}else typeof t=="number"?t=t&255:typeof t=="boolean"&&(t=Number(t));if(r<0||this.length<r||this.length<o)throw new RangeError("Out of range index");if(o<=r)return this;r=r>>>0,o=o===void 0?this.length:o>>>0,t||(t=0);var p;if(typeof t=="number")for(p=r;p<o;++p)this[p]=t;else{var d=u.isBuffer(t)?t:u.from(t,i),m=d.length;if(m===0)throw new TypeError('The value "'+t+'" is invalid for argument "value"');for(p=0;p<o-r;++p)this[p+r]=d[p%m]}return this};var Ic=/[^+/0-9A-Za-z-_]/g;function bc(e){if(e=e.split("=")[0],e=e.trim().replace(Ic,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function Cr(e,t){t=t||1/0;for(var r,o=e.length,i=null,l=[],p=0;p<o;++p){if(r=e.charCodeAt(p),r>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&l.push(239,191,189);continue}else if(p+1===o){(t-=3)>-1&&l.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&l.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(t-=3)>-1&&l.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;l.push(r)}else if(r<2048){if((t-=2)<0)break;l.push(r>>6|192,r&63|128)}else if(r<65536){if((t-=3)<0)break;l.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((t-=4)<0)break;l.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return l}function kc(e){for(var t=[],r=0;r<e.length;++r)t.push(e.charCodeAt(r)&255);return t}function Ec(e,t){for(var r,o,i,l=[],p=0;p<e.length&&!((t-=2)<0);++p)r=e.charCodeAt(p),o=r>>8,i=r%256,l.push(i),l.push(o);return l}function eo(e){return Er.toByteArray(bc(e))}function Ct(e,t,r,o){for(var i=0;i<o&&!(i+r>=t.length||i>=e.length);++i)t[i+r]=e[i];return i}function le(e,t){return e instanceof t||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===t.name}function Dr(e){return e!==e}var Lc=function(){for(var e="0123456789abcdef",t=new Array(256),r=0;r<16;++r)for(var o=r*16,i=0;i<16;++i)t[o+i]=e[r]+e[i];return t}()});var so=j((vu,io)=>{n();var R=io.exports={},pe,ue;function _r(){throw new Error("setTimeout has not been defined")}function Or(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?pe=setTimeout:pe=_r}catch(e){pe=_r}try{typeof clearTimeout=="function"?ue=clearTimeout:ue=Or}catch(e){ue=Or}})();function ro(e){if(pe===setTimeout)return setTimeout(e,0);if((pe===_r||!pe)&&setTimeout)return pe=setTimeout,setTimeout(e,0);try{return pe(e,0)}catch(t){try{return pe.call(null,e,0)}catch(r){return pe.call(this,e,0)}}}function Pc(e){if(ue===clearTimeout)return clearTimeout(e);if((ue===Or||!ue)&&clearTimeout)return ue=clearTimeout,clearTimeout(e);try{return ue(e)}catch(t){try{return ue.call(null,e)}catch(r){return ue.call(this,e)}}}var Se=[],Ue=!1,Le,Rt=-1;function Cc(){!Ue||!Le||(Ue=!1,Le.length?Se=Le.concat(Se):Rt=-1,Se.length&&no())}function no(){if(!Ue){var e=ro(Cc);Ue=!0;for(var t=Se.length;t;){for(Le=Se,Se=[];++Rt<t;)Le&&Le[Rt].run();Rt=-1,t=Se.length}Le=null,Ue=!1,Pc(e)}}R.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];Se.push(new oo(e,t)),Se.length===1&&!Ue&&ro(no)};function oo(e,t){this.fun=e,this.array=t}oo.prototype.run=function(){this.fun.apply(null,this.array)};R.title="browser";R.browser=!0;R.env={};R.argv=[];R.version="";R.versions={};function we(){}R.on=we;R.addListener=we;R.once=we;R.off=we;R.removeListener=we;R.removeAllListeners=we;R.emit=we;R.prependListener=we;R.prependOnceListener=we;R.listeners=function(e){return[]};R.binding=function(e){throw new Error("process.binding is not supported")};R.cwd=function(){return"/"};R.chdir=function(e){throw new Error("process.chdir is not supported")};R.umask=function(){return 0}});var s,c,Rc,a,n=y(()=>{s=A(to()),c=A(so()),Rc=function(e){function t(){var o=this||self;return delete e.prototype.__magic__,o}if(typeof globalThis=="object")return globalThis;if(this)return t();e.defineProperty(e.prototype,"__magic__",{configurable:!0,get:t});var r=__magic__;return r}(Object),a=Rc});var ao=y(()=>{"use strict";n()});var co=y(()=>{"use strict";n()});var lo=y(()=>{"use strict";n()});var Mr,po=y(()=>{"use strict";n();Mr=(o=>(o.SetGuardian="SetGuardian",o.GuardAccount="GuardAccount",o.UnGuardAccount="UnGuardAccount",o))(Mr||{})});var uo=y(()=>{"use strict";n()});var Fr=y(()=>{"use strict";n()});var mo=y(()=>{"use strict";n()});var go=y(()=>{"use strict";n()});var fo=y(()=>{"use strict";n()});var To=y(()=>{"use strict";n()});var tt,We,Nt=y(()=>{"use strict";n();tt=require("@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider"),We=require("@multiversx/sdk-web-wallet-cross-window-provider/out/enums")});var de,yo,Ou,ho,Mu,ee=y(()=>{"use strict";n();Nt();de=(S=>(S.ledger="ledger",S.walletconnect="walletconnect",S.walletconnectv2="walletconnectv2",S.wallet="wallet",S.crossWindow="crossWindow",S.iframe="iframe",S.extension="extension",S.passkey="passkey",S.metamask="metamask",S.opera="opera",S.extra="extra",S.none="",S))(de||{}),yo=(r=>(r.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",r.reloginRequest="RELOGIN_REQUEST",r))(yo||{}),Ou=T(T({},We.WindowProviderRequestEnums),yo),ho=(t=>(t.reloginResponse="RELOGIN_RESPONSE",t))(ho||{}),Mu=T(T({},We.WindowProviderResponseEnums),ho)});var xo=y(()=>{"use strict";n()});var So=y(()=>{"use strict";n()});var z=y(()=>{"use strict";n()});var wo=y(()=>{"use strict";n()});var Ao=y(()=>{"use strict";n()});var vo=y(()=>{"use strict";n()});var G=y(()=>{"use strict";n();go();fo();To();ee();xo();So();z();wo();Ao();vo()});var Br,Io,Qu,bo,ed,ko,td,rd,nd,Eo=y(()=>{"use strict";n();G();Br={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",xAliasAddress:"https://devnet.xalias.com",apiAddress:"https://devnet-api.multiversx.com",extrasApiAddress:"https://devnet-extras-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://devnet-iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",xAliasAddress:"https://testnet.xalias.com",apiAddress:"https://testnet-api.multiversx.com",extrasApiAddress:"https://testnet-extras-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://testnet-iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",xAliasAddress:"https://xalias.com",apiAddress:"https://api.multiversx.com",extrasApiAddress:"https://extras-api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",metamaskSnapWalletAddress:"https://iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3}},{chainId:Io,egldLabel:Qu}=Br["devnet"],{chainId:bo,egldLabel:ed}=Br["testnet"],{chainId:ko,egldLabel:td}=Br["mainnet"],rd={["devnet"]:Io,["testnet"]:bo,["mainnet"]:ko},nd={[Io]:"devnet",[bo]:"testnet",[ko]:"mainnet"}});var Ur=y(()=>{"use strict";n()});var me,Lo=y(()=>{"use strict";n();me=require("@multiversx/sdk-web-wallet-provider")});var J,rt=y(()=>{"use strict";n();J=require("@multiversx/sdk-dapp-utils/out/constants/browserConstants")});var Po,Co,Wr,ld,pd,Ro=y(()=>{"use strict";n();rt();Wr=String((Co=(Po=J.safeWindow)==null?void 0:Po.navigator)==null?void 0:Co.userAgent),ld=/^((?!chrome|android).)*safari/i.test(Wr),pd=/firefox/i.test(Wr)&&/windows/i.test(Wr)});var Vr,$r,No,Dt,Do,Ve,E=y(()=>{"use strict";n();ao();co();lo();po();uo();Fr();mo();Eo();Ur();Lo();Ro();Vr=5e4,$r=1e9,No=1,Dt="logout",Do="login",Ve="0"});var $e,_t=y(()=>{"use strict";n();$e=()=>Date.now()/1e3});var _o=y(()=>{"use strict";n()});var Oo=y(()=>{"use strict";n()});var Mo=y(()=>{"use strict";n();_t();_o();Oo()});var Gr={};be(Gr,{clear:()=>Oc,getItem:()=>Dc,localStorageKeys:()=>ie,removeItem:()=>_c,setItem:()=>Nc});var ie,Ot,Nc,Dc,_c,Oc,Ge=y(()=>{"use strict";n();Mo();ie={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event",guardianBreachToastDismissTimestamp:"sdk-dapp-guardian-breach-toast-dismiss-timestamp"},Ot=typeof localStorage!="undefined",Nc=({key:e,data:t,expires:r})=>{!Ot||localStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},Dc=e=>{if(!Ot)return;let t=localStorage.getItem(String(e));if(!t)return null;let r=JSON.parse(t);return!r||!r.hasOwnProperty("expires")||!r.hasOwnProperty("data")?null:$e()>=r.expires?(localStorage.removeItem(String(e)),null):r.data},_c=e=>{!Ot||localStorage.removeItem(String(e))},Oc=()=>{!Ot||localStorage.clear()}});var Hr={};be(Hr,{clear:()=>Wo,getItem:()=>Bo,removeItem:()=>Uo,setItem:()=>Fo,storage:()=>Mc});var Fo,Bo,Uo,Wo,Mc,Vo=y(()=>{"use strict";n();Fo=({key:e,data:t,expires:r})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},Bo=e=>{let t=sessionStorage.getItem(String(e));if(!t)return null;let r=JSON.parse(t);return!r||!r.hasOwnProperty("expires")||!r.hasOwnProperty("data")?null:Date.now()>=r.expires?(sessionStorage.removeItem(String(e)),null):r.data},Uo=e=>sessionStorage.removeItem(String(e)),Wo=()=>sessionStorage.clear(),Mc={setItem:Fo,getItem:Bo,removeItem:Uo,clear:Wo}});var ge,nt=y(()=>{"use strict";n();Ge();Vo();ge={session:Hr,local:Gr}});var jr,C,Pe,K=y(()=>{"use strict";n();jr=require("@reduxjs/toolkit");E();C=(0,jr.createAction)(Dt),Pe=(0,jr.createAction)(Do,e=>({payload:e}))});var zr,$o,Go,Ce,qr,Ho,ot,jo,Kr,Vd,$d,Gd,Hd,jd,qd,zd,Kd,Mt,Ft=y(()=>{"use strict";n();zr=require("@multiversx/sdk-core"),$o=require("@reduxjs/toolkit"),Go=require("redux-persist");E();nt();Ge();K();Ce={balance:"...",address:"",isGuarded:!1,nonce:0,txCount:0,scrCount:0,claimableRewards:Ve},qr={address:"",websocketEvent:null,websocketBatchEvent:null,accounts:{"":Ce},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},Ho=(0,$o.createSlice)({name:"accountInfoSlice",initialState:qr,reducers:{setAddress:(e,t)=>{let r=t.payload;e.address=r,e.publicKey=r?new zr.Address(r).hex():""},setAccount:(e,t)=>{let r=e.address===t.payload.address;e.accounts={[e.address]:r?t.payload:Ce},e.shard=t.payload.shard,e.isAccountLoading=!1,e.accountLoadingError=null},setAccountNonce:(e,t)=>{let{address:r}=e;e.accounts[r].nonce=t.payload},setAccountShard:(e,t)=>{e.shard=t.payload},setLedgerAccount:(e,t)=>{e.ledgerAccount=t.payload},updateLedgerAccount:(e,t)=>{e.ledgerAccount!=null&&(e.ledgerAccount.index=t.payload.index,e.ledgerAccount.address=t.payload.address)},setWalletConnectAccount:(e,t)=>{e.walletConnectAccount=t.payload},setIsAccountLoading:(e,t)=>{e.isAccountLoading=t.payload,e.accountLoadingError=null},setAccountLoadingError:(e,t)=>{e.accountLoadingError=t.payload,e.isAccountLoading=!1},setWebsocketEvent:(e,t)=>{e.websocketEvent={timestamp:Date.now(),message:t.payload}},setWebsocketBatchEvent:(e,t)=>{e.websocketBatchEvent={timestamp:Date.now(),data:t.payload}}},extraReducers:e=>{e.addCase(C,()=>(ge.local.removeItem(ie.loginExpiresAt),qr)),e.addCase(Pe,(t,r)=>{let{address:o}=r.payload;t.address=o,t.publicKey=new zr.Address(o).toHex()}),e.addCase(Go.REHYDRATE,(t,r)=>{var g;if(!((g=r.payload)!=null&&g.account))return;let{account:o}=r.payload,{address:i,shard:l,accounts:p,publicKey:d}=o;t.address=i,t.shard=l;let m=p&&i in p;t.accounts=m?p:qr.accounts,t.publicKey=d})}}),{setAccount:ot,setAddress:jo,setAccountNonce:Kr,setAccountShard:Vd,setLedgerAccount:$d,updateLedgerAccount:Gd,setWalletConnectAccount:Hd,setIsAccountLoading:jd,setAccountLoadingError:qd,setWebsocketEvent:zd,setWebsocketBatchEvent:Kd}=Ho.actions,Mt=Ho.reducer});function it(){return new Date().setHours(new Date().getHours()+24)}function st(e){ge.local.setItem({key:ie.loginExpiresAt,data:e,expires:e})}var Yr=y(()=>{"use strict";n();nt();Ge()});var zo,qo,Ko,om,Yo,im,Bt,sm,am,Xo,cm,lm,pm,Ut,Wt=y(()=>{"use strict";n();zo=require("@reduxjs/toolkit");Yr();ee();K();qo={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,passkeyLogin:null,operaLogin:null,crossWindowLogin:null,iframeWindowLogin:null,isLoginSessionInvalid:!1,webviewLogin:null},Ko=(0,zo.createSlice)({name:"loginInfoSlice",initialState:qo,reducers:{setLoginMethod:(e,t)=>{e.loginMethod=t.payload},setTokenLogin:(e,t)=>{e.tokenLogin=t.payload},setTokenLoginSignature:(e,t)=>{(e==null?void 0:e.tokenLogin)!=null&&(e.tokenLogin.signature=t.payload)},setWalletLogin:(e,t)=>{e.walletLogin=t.payload},setWalletConnectLogin:(e,t)=>{e.walletConnectLogin=t.payload},setLedgerLogin:(e,t)=>{e.ledgerLogin=t.payload},setWebviewLogin:(e,t)=>{e.webviewLogin=t.payload},invalidateLoginSession:e=>{e.isLoginSessionInvalid=!0},setLogoutRoute:(e,t)=>{e.logoutRoute=t.payload},setIsWalletConnectV2Initialized:(e,t)=>{e.isWalletConnectV2Initialized=t.payload}},extraReducers:e=>{e.addCase(C,()=>qo),e.addCase(Pe,(t,r)=>{t.isLoginSessionInvalid=!1,t.loginMethod=r.payload.loginMethod,t.iframeLoginType=r.payload.iframeLoginType,st(it())})}}),{setLoginMethod:om,setWalletConnectLogin:Yo,setLedgerLogin:im,setTokenLogin:Bt,setTokenLoginSignature:sm,setWalletLogin:am,invalidateLoginSession:Xo,setLogoutRoute:cm,setIsWalletConnectV2Initialized:lm,setWebviewLogin:pm}=Ko.actions,Ut=Ko.reducer});var Jo,Zo,Qo,gm,fm,Tm,ym,Vt,$t=y(()=>{"use strict";n();Jo=require("@reduxjs/toolkit");K();Zo={},Qo=(0,Jo.createSlice)({name:"modalsSlice",initialState:Zo,reducers:{setTxSubmittedModal:(e,t)=>{e.txSubmittedModal=t.payload},setNotificationModal:(e,t)=>{e.notificationModal=t.payload},clearTxSubmittedModal:e=>{e.txSubmittedModal=void 0},clearNotificationModal:e=>{e.notificationModal=void 0}},extraReducers:e=>{e.addCase(C,()=>Zo)}}),{setTxSubmittedModal:gm,setNotificationModal:fm,clearTxSubmittedModal:Tm,clearNotificationModal:ym}=Qo.actions,Vt=Qo.reducer});var at,Gt=y(()=>{"use strict";n();at=()=>typeof window!="undefined"&&typeof(window==null?void 0:window.location)!="undefined"});var B,fe=y(()=>{"use strict";n();Gt();B=()=>{if(!at())return{pathname:"",hash:"",origin:"",href:"",search:""};let{location:{pathname:t,hash:r,origin:o,href:i,search:l}}=window;return{pathname:t,hash:r,origin:o,href:i,search:l}}});var Xr,ei=y(()=>{"use strict";n();fe();Xr=(e="")=>{let t=B(),r=e.startsWith("http")||e.startsWith("www.");return!t.origin||e.startsWith(t.origin)||r?e:`${t.origin}/${e.replace("/","")}`}});var ti=y(()=>{"use strict";n();He()});var ri,ni=y(()=>{"use strict";n();rt();ri=e=>{if(!J.safeWindow.location)return;if(!new URL(J.safeWindow.location.href).protocol.startsWith("http"))return J.safeWindow.location.reload();J.safeWindow.location.assign(e)}});var He=y(()=>{"use strict";n();ei();ti();fe();ni()});var oi,ii,Ht,Zr=y(()=>{"use strict";n();He();oi=!1,ii=(e=!0)=>{oi=e},Ht=({timeout:e=0,url:t})=>{oi||setTimeout(()=>{if(!!window)return ri(t)},e)}});function si({callbackRoute:e,onLoginRedirect:t,options:r}){let o=Boolean(e),i=typeof t=="function";if(o&&e!=null){if(i)return t(e,r);Ht({url:e,timeout:Fc})}}var Fc,ai=y(()=>{"use strict";n();Zr();Fc=200});function ci(e){return e[Math.floor(Math.random()*e.length)]}var li=y(()=>{"use strict";n()});var pi=y(()=>{"use strict";n();Fr()});var Jr=y(()=>{"use strict";n();ai();li();pi()});var ui,di,mi,Qr,Uc,gi,Ym,Xm,Zm,jt,qt=y(()=>{"use strict";n();ui=require("@reduxjs/toolkit"),di=A(require("lodash.omit")),mi=require("redux-persist");Ur();K();Jr();Qr={id:"not-configured",chainId:"",name:"NOT CONFIGURED",egldLabel:"",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"",walletConnectBridgeAddress:"",walletConnectV2RelayAddress:"",walletConnectV2ProjectId:"",walletConnectV2Options:{},walletAddress:"",apiAddress:"",explorerAddress:"",apiTimeout:"4000",roundDuration:6e3},Uc={network:Qr},gi=(0,ui.createSlice)({name:"appConfig",initialState:Uc,reducers:{initializeNetworkConfig:(e,t)=>{let r=ci(t.payload.walletConnectV2RelayAddresses),o=(0,di.default)(t.payload,"walletConnectV2RelayAddresses");e.network=v(T(T({},e.network),o),{walletConnectV2RelayAddress:r})},updateNetworkConfig:(e,t)=>{e.network=T(T({},e.network),t.payload)},setCustomWalletAddress:(e,t)=>{e.network.customWalletAddress=t.payload}},extraReducers:e=>{e.addCase(C,t=>{t.network.customWalletAddress=void 0}),e.addCase(mi.REHYDRATE,(t,r)=>{var i,l;if(!((l=(i=r.payload)==null?void 0:i.network)!=null&&l.customWalletAddress))return;let{network:{customWalletAddress:o}}=r.payload;t.network.customWalletAddress=o})}}),{initializeNetworkConfig:Ym,updateNetworkConfig:Xm,setCustomWalletAddress:Zm}=gi.actions,jt=gi.reducer});var fi,en,Ti,ng,og,ig,zt,Kt=y(()=>{"use strict";n();fi=require("@reduxjs/toolkit");G();K();en={isSigning:!1,signedSessions:{}},Ti=(0,fi.createSlice)({name:"signedMessageInfoSliceState",initialState:en,reducers:{setSignSession:(e,t)=>{let{sessionId:r,signedSession:o,errorMessage:i}=t.payload;i&&(e.errorMessage=i),e.isSigning=o.status==="pending",e.signedSessions[r]=T(T({},e.signedSessions[r]),o)},setSignSessionState:(e,t)=>T(T({},e),t.payload),clearSignedMessageInfo:()=>en},extraReducers:e=>{e.addCase(C,()=>en)}}),{setSignSession:ng,clearSignedMessageInfo:og,setSignSessionState:ig}=Ti.actions,zt=Ti.reducer});var hi,xi,yi,Si,dg,mg,gg,fg,Yt,Xt=y(()=>{"use strict";n();hi=require("@reduxjs/toolkit"),xi=require("redux-persist");G();_t();K();yi={customToasts:[],transactionToasts:[]},Si=(0,hi.createSlice)({name:"toastsSlice",initialState:yi,reducers:{addCustomToast:(e,t)=>{let r=t.payload.toastId||`custom-toast-${e.customToasts.length+1}`,o=e.customToasts.findIndex(i=>i.toastId===r);if(o!==-1){e.customToasts[o]=v(T(T({},e.customToasts[o]),t.payload),{type:"custom",toastId:r});return}e.customToasts.push(v(T({},t.payload),{type:"custom",toastId:r}))},removeCustomToast:(e,t)=>{e.customToasts=e.customToasts.filter(r=>r.toastId!==t.payload)},addTransactionToast:(e,t)=>{e.transactionToasts.push({type:"transaction",startTimestamp:$e(),toastId:t.payload||`custom-toast-${e.transactionToasts.length+1}`})},removeTransactionToast:(e,t)=>{e.transactionToasts=e.transactionToasts.filter(r=>r.toastId!==t.payload)}},extraReducers:e=>{e.addCase(C,()=>yi),e.addCase(xi.REHYDRATE,(t,r)=>{var i,l;let o=(l=(i=r.customToasts)==null?void 0:i.filter(p=>!("component"in p)))!=null?l:[];t.customToasts=o})}}),{addCustomToast:dg,removeCustomToast:mg,addTransactionToast:gg,removeTransactionToast:fg}=Si.actions,Yt=Si.reducer});var wi,rn,nn,on,Wc,tn,Ai,xg,Sg,wg,Zt,Jt=y(()=>{"use strict";n();wi=require("@reduxjs/toolkit");K();rn="Transaction failed",nn="Transaction successful",on="Processing transaction",Wc="Transaction submitted",tn={},Ai=(0,wi.createSlice)({name:"transactionsInfo",initialState:tn,reducers:{setTransactionsDisplayInfo(e,t){let{sessionId:r,transactionsDisplayInfo:o}=t.payload;r!=null&&(e[r]={errorMessage:(o==null?void 0:o.errorMessage)||rn,successMessage:(o==null?void 0:o.successMessage)||nn,processingMessage:(o==null?void 0:o.processingMessage)||on,submittedMessage:(o==null?void 0:o.submittedMessage)||Wc,transactionDuration:o==null?void 0:o.transactionDuration})},clearTransactionsInfoForSessionId(e,t){t.payload!=null&&delete e[t.payload]},clearTransactionsInfo:()=>tn},extraReducers:e=>{e.addCase(C,()=>tn)}}),{clearTransactionsInfo:xg,setTransactionsDisplayInfo:Sg,clearTransactionsInfoForSessionId:wg}=Ai.actions,Zt=Ai.reducer});function vi(e){return e!=null&&(Zc(e)||rl(e))}function Qt(e){return e!=null&&(Jc(e)||nl(e))}function er(e){return e!=null&&(Qc(e)||ol(e))}function Ii(e){return e!=null&&(el(e)||il(e))}function bi(e){return e!=null&&tl(e)}function Zc(e){return e!=null&&$c.includes(e)}function Jc(e){return e!=null&&Gc.includes(e)}function Qc(e){return e!=null&&Hc.includes(e)}function el(e){return e!=null&&jc.includes(e)}function tl(e){return e!=null&&qc.includes(e)}function rl(e){return e!=null&&zc.includes(e)}function nl(e){return e!=null&&Kc.includes(e)}function ol(e){return e!=null&&Yc.includes(e)}function il(e){return e!=null&&Xc.includes(e)}var $c,Gc,Hc,jc,qc,zc,Kc,Yc,Xc,an=y(()=>{"use strict";n();ee();$c=["sent"],Gc=["success"],Hc=["fail","cancelled","timedOut"],jc=["invalid"],qc=["timedOut"],zc=["pending"],Kc=["success"],Yc=["fail","invalid"],Xc=["not executed"]});var ki,Ei,ct,sl,Li,Cg,Rg,Ng,Dg,_g,Og,Mg,Fg,Bg,Ug,Wg,tr,rr=y(()=>{"use strict";n();ki=require("@reduxjs/toolkit"),Ei=require("redux-persist");ee();an();K();ct={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},sl={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},Li=(0,ki.createSlice)({name:"transactionsSlice",initialState:ct,reducers:{moveTransactionsToSignedState:(e,t)=>{var m,g;let{sessionId:r,transactions:o,errorMessage:i,status:l,redirectRoute:p,customTransactionInformation:d}=t.payload;e.customTransactionInformationForSessionId[r]=T(T(T({},sl),((m=e.signedTransactions[r])==null?void 0:m.customTransactionInformation)||{}),e.customTransactionInformationForSessionId[r]||{}),e.signedTransactions[r]={transactions:o,status:l,errorMessage:i,redirectRoute:p,customTransactionInformation:T(T({},e.customTransactionInformationForSessionId[r]),d!=null?d:{})},((g=e==null?void 0:e.transactionsToSign)==null?void 0:g.sessionId)===r&&(e.transactionsToSign=ct.transactionsToSign)},clearSignedTransaction:(e,t)=>{e.signedTransactions[t.payload]&&delete e.signedTransactions[t.payload]},clearTransactionToSign:e=>{e!=null&&e.transactionsToSign&&(e.transactionsToSign=null)},updateSignedTransaction:(e,t)=>{e.signedTransactions=T(T({},e.signedTransactions),t.payload)},updateSignedTransactions:(e,t)=>{let{sessionId:r,status:o,errorMessage:i,transactions:l}=t.payload;e.signedTransactions[r]!=null&&(e.signedTransactions[r].status=o,i!=null&&(e.signedTransactions[r].errorMessage=i),l!=null&&(e.signedTransactions[r].transactions=l))},updateSignedTransactionStatus:(e,t)=>{var g,x,f,S,b,k,P,H;let{sessionId:r,status:o,errorMessage:i,transactionHash:l,serverTransaction:p,inTransit:d}=t.payload,m=(x=(g=e.signedTransactions)==null?void 0:g[r])==null?void 0:x.transactions;if(m!=null){e.signedTransactions[r].transactions=m.map(O=>O.hash===l?v(T(T({},p!=null?p:{}),O),{status:o,errorMessage:i,inTransit:d}):O);let W=(S=(f=e.signedTransactions[r])==null?void 0:f.transactions)==null?void 0:S.every(O=>Qt(O.status)),V=(k=(b=e.signedTransactions[r])==null?void 0:b.transactions)==null?void 0:k.some(O=>er(O.status)),ne=(H=(P=e.signedTransactions[r])==null?void 0:P.transactions)==null?void 0:H.every(O=>Ii(O.status));W&&(e.signedTransactions[r].status="success"),V&&(e.signedTransactions[r].status="fail"),ne&&(e.signedTransactions[r].status="invalid")}},setTransactionsToSign:(e,t)=>{e.transactionsToSign=t.payload;let{sessionId:r,customTransactionInformation:o}=t.payload;e.customTransactionInformationForSessionId[r]=o,e.signTransactionsError=null},clearAllTransactionsToSign:e=>{e.transactionsToSign=ct.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=ct.signedTransactions},setSignTransactionsError:(e,t)=>{e.signTransactionsError=t.payload},setSignTransactionsCancelMessage:(e,t)=>{e.signTransactionsCancelMessage=t.payload},updateSignedTransactionsCustomTransactionInformation:(e,t)=>{let{sessionId:r,customTransactionInformationOverrides:o}=t.payload;e.signedTransactions[r]!=null&&(e.signedTransactions[r].customTransactionInformation=T(T({},e.signedTransactions[r].customTransactionInformation),o))}},extraReducers:e=>{e.addCase(C,()=>ct),e.addCase(Ei.REHYDRATE,(t,r)=>{var p;if(t.signTransactionsCancelMessage=null,!((p=r.payload)!=null&&p.transactions))return;let{signedTransactions:o,customTransactionInformationForSessionId:i}=r.payload.transactions,l=Object.entries(o).reduce((d,[m,g])=>{let x=new Date(m),f=new Date;return f.setHours(f.getHours()+5),f-x>0||(d[m]=g),d},{});i!=null&&(t.customTransactionInformationForSessionId=i),o!=null&&(t.signedTransactions=l)})}}),{updateSignedTransactionStatus:Cg,updateSignedTransactions:Rg,setTransactionsToSign:Ng,clearAllTransactionsToSign:Dg,clearAllSignedTransactions:_g,clearSignedTransaction:Og,clearTransactionToSign:Mg,setSignTransactionsError:Fg,setSignTransactionsCancelMessage:Bg,moveTransactionsToSignedState:Ug,updateSignedTransactionsCustomTransactionInformation:Wg}=Li.actions,tr=Li.reducer});var Pi,cn,Ci,Hg,jg,qg,zg,nr,or=y(()=>{"use strict";n();Pi=require("@reduxjs/toolkit");K();cn={},Ci=(0,Pi.createSlice)({name:"batchTransactionsSlice",initialState:cn,reducers:{setBatchTransactions:(e,t)=>{e[t.payload.id]=t.payload},updateBatchTransactions:(e,t)=>{e[t.payload.id]=t.payload},clearBatchTransactions:(e,t)=>{delete e[t.payload.batchId]},clearAllBatchTransactions:()=>cn},extraReducers:e=>{e.addCase(C,()=>cn)}}),{setBatchTransactions:Hg,updateBatchTransactions:jg,clearBatchTransactions:qg,clearAllBatchTransactions:zg}=Ci.actions,nr=Ci.reducer});var Ni,Ri,Di,Zg,_i,ln=y(()=>{"use strict";n();Ni=require("@reduxjs/toolkit");K();Ri={},Di=(0,Ni.createSlice)({name:"dappConfigSlice",initialState:Ri,reducers:{setDappConfig:(e,t)=>t.payload},extraReducers:e=>{e.addCase(C,()=>Ri)}}),{setDappConfig:Zg}=Di.actions,_i=Di.reducer});var Te=y(()=>{"use strict";n();Ft();Wt();$t();qt();Kt();Xt();Jt();rr();or();ln()});var pn=y(()=>{"use strict";n()});var Fi,pl,ul,Re,ar=y(()=>{"use strict";n();Fi=require("@reduxjs/toolkit");pn();Ft();or();ln();Wt();$t();qt();Kt();Xt();Jt();rr();pl={["account"]:Mt,["dappConfig"]:_i,["loginInfo"]:Ut,["modals"]:Vt,["networkConfig"]:jt,["signedMessageInfo"]:zt,["toasts"]:Yt,["transactionsInfo"]:Zt,["transactions"]:tr,["batchTransactions"]:nr},ul=(e={})=>(0,Fi.combineReducers)(T(T({},pl),e)),Re=ul});var Vi={};be(Vi,{default:()=>El,sessionStorageReducers:()=>un});function Ae(e,t=[]){return{key:e,version:1,storage:Ui.default,blacklist:t}}var Y,Bi,Ui,dl,lt,ml,gl,fl,Tl,yl,hl,xl,Sl,wl,Al,Wi,vl,un,Il,bl,kl,El,$i=y(()=>{"use strict";n();Y=require("redux-persist"),Bi=A(require("redux-persist/lib/storage")),Ui=A(require("redux-persist/lib/storage/session"));ar();Te();Ft();or();Wt();$t();qt();Kt();Xt();Jt();rr();pn();dl={persistReducersStorageType:"localStorage"},lt={["account"]:"sdk-dapp-account",["loginInfo"]:"sdk-dapp-login-info",["modals"]:"sdk-dapp-modals",["networkConfig"]:"sdk-dapp-network-config"},ml=Ae(lt["account"]),gl=Ae(lt["loginInfo"]),fl=Ae(lt["modals"]),Tl=Ae(lt["networkConfig"]),yl={2:e=>v(T({},e),{networkConfig:Qr})};hl=Ae("sdk-dapp-transactionsInfo"),xl=Ae("sdk-dapp-transactions",["transactionsToSign"]),Sl=Ae("sdk-dapp-batchTransactions",["batchTransactions"]),wl=Ae("sdk-dapp-toasts"),Al=Ae("sdk-dapp-signedMessageInfo"),Wi={key:"sdk-dapp-store",version:2,storage:Bi.default,whitelist:Object.keys(lt),migrate:(0,Y.createMigrate)(yl,{debug:!1})},vl=v(T({},Wi),{whitelist:[]}),un={["toasts"]:(0,Y.persistReducer)(wl,Yt),["transactions"]:(0,Y.persistReducer)(xl,tr),["transactionsInfo"]:(0,Y.persistReducer)(hl,Zt),["batchTransactions"]:(0,Y.persistReducer)(Sl,nr),["signedMessageInfo"]:(0,Y.persistReducer)(Al,zt)},Il=v(T({},un),{["account"]:(0,Y.persistReducer)(ml,Mt),["loginInfo"]:(0,Y.persistReducer)(gl,Ut),["modals"]:(0,Y.persistReducer)(fl,Vt),["networkConfig"]:(0,Y.persistReducer)(Tl,jt)}),bl=dl.persistReducersStorageType==="localStorage",kl=bl?(0,Y.persistReducer)(Wi,Re(un)):(0,Y.persistReducer)(vl,Re(Il)),El=kl});var Gi={};be(Gi,{default:()=>Ll});var Ll,Hi=y(()=>{"use strict";n();ar();Ll=Re()});var ji={};be(ji,{default:()=>Cl});var te,Pl,Cl,qi=y(()=>{"use strict";n();te=require("redux-persist"),Pl=[te.FLUSH,te.REHYDRATE,te.PAUSE,te.PERSIST,te.PURGE,te.REGISTER],Cl=Pl});var Yi={};be(Yi,{default:()=>Ki});function Ki(e){return(0,zi.persistStore)(e)}var zi,Xi=y(()=>{"use strict";n();zi=require("redux-persist")});var Ws=j((d0,Us)=>{n();function Pp(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}Us.exports=Pp});var pa=j((ME,la)=>{n();var jp=typeof a=="object"&&a&&a.Object===Object&&a;la.exports=jp});var da=j((FE,ua)=>{n();var qp=pa(),zp=typeof self=="object"&&self&&self.Object===Object&&self,Kp=qp||zp||Function("return this")();ua.exports=Kp});var kn=j((BE,ma)=>{n();var Yp=da(),Xp=Yp.Symbol;ma.exports=Xp});var ya=j((UE,Ta)=>{n();var ga=kn(),fa=Object.prototype,Zp=fa.hasOwnProperty,Jp=fa.toString,wt=ga?ga.toStringTag:void 0;function Qp(e){var t=Zp.call(e,wt),r=e[wt];try{e[wt]=void 0;var o=!0}catch(l){}var i=Jp.call(e);return o&&(t?e[wt]=r:delete e[wt]),i}Ta.exports=Qp});var xa=j((WE,ha)=>{n();var eu=Object.prototype,tu=eu.toString;function ru(e){return tu.call(e)}ha.exports=ru});var va=j((VE,Aa)=>{n();var Sa=kn(),nu=ya(),ou=xa(),iu="[object Null]",su="[object Undefined]",wa=Sa?Sa.toStringTag:void 0;function au(e){return e==null?e===void 0?su:iu:wa&&wa in Object(e)?nu(e):ou(e)}Aa.exports=au});var ba=j(($E,Ia)=>{n();var cu=Array.isArray;Ia.exports=cu});var Ea=j((GE,ka)=>{n();function lu(e){return e!=null&&typeof e=="object"}ka.exports=lu});var Pa=j((HE,La)=>{n();var pu=va(),uu=ba(),du=Ea(),mu="[object String]";function gu(e){return typeof e=="string"||!uu(e)&&du(e)&&pu(e)==mu}La.exports=gu});var hu={};be(hu,{WalletConnectV2Error:()=>Fa,useWalletConnectV2Login:()=>yu});module.exports=et(hu);n();var Z=require("react");n();n();n();var rs=require("react"),je=require("react-redux");n();var dn=require("@reduxjs/toolkit"),es=require("react-redux/lib/utils/Subscription");Te();n();var Oi=A(require("lodash.throttle"));E();Te();Yr();nt();Ge();var al=[Dt],ir=!1,cl=(0,Oi.default)(()=>{st(it())},5e3),Mi=e=>t=>r=>{if(al.includes(r.type))return t(r);let o=e.getState(),i=ge.local.getItem(ie.loginExpiresAt);if(!Boolean(o==null?void 0:o.account.address))return t(r);if(i==null)return st(it()),t(r);let p=Date.now();return i-p<0&&!ir?setTimeout(()=>{ir=!0,e.dispatch(Xo())},1e3):(ir&&(ir=!1),cl()),t(r)};n();n();function sr(){return typeof sessionStorage!="undefined"}var Zi=sr()?($i(),et(Vi)).default:(Hi(),et(Gi)).default,Ji=sr()?(qi(),et(ji)).default:[],Qi=sr()?(Xi(),et(Yi)).default:e=>e;ar();var L=(0,dn.configureStore)({reducer:Zi,middleware:e=>e({serializableCheck:{ignoredActions:[...Ji,Kr.type,ot.type],ignoredPaths:["payload.nonce","account.account.nonce","providers.accountProvider"]}}).concat(Mi)}),ts=(0,es.createSubscription)(L),Xf=Qi(L),Zf=(0,dn.configureStore)({reducer:Re});var Rl={store:L,subscription:ts},mn=(0,rs.createContext)(Rl),tT=(0,je.createStoreHook)(mn),cr=(0,je.createDispatchHook)(mn),F=(0,je.createSelectorHook)(mn);n();n();Te();n();var ns=A(require("lodash.isequal")),lr=require("reselect"),h=(0,lr.createSelectorCreator)(lr.defaultMemoize,ns.default);var ye=e=>e.account,pt=h(ye,e=>e.address),qe=h(ye,pt,(e,t)=>t in e.accounts?e.accounts[t]:Ce),Nl=h(ye,qe,(e,t)=>{let i=e,{accounts:r}=i,o=Fn(i,["accounts"]);return v(T({},o),{address:t.address,account:t})}),sT=h(qe,e=>e.balance),Dl=h(qe,e=>{var t;return((t=e==null?void 0:e.nonce)==null?void 0:t.valueOf())||0}),aT=h(ye,e=>e.shard),cT=h(ye,e=>e.ledgerAccount),lT=h(ye,e=>e.walletConnectAccount),pT=h(ye,e=>e.isAccountLoading),uT=h(ye,e=>e.accountLoadingError),_l=h(ye,e=>e.websocketEvent),Ol=h(ye,e=>e.websocketBatchEvent);n();var Ml=e=>e.dappConfig,gT=h(Ml,e=>e.shouldUseWebViewProvider);n();var X=e=>e.loginInfo,os=h(X,e=>e.loginMethod),ut=h(X,pt,(e,t)=>Boolean(t)),hT=h(X,e=>e.walletConnectLogin),xT=h(X,e=>e.ledgerLogin),is=h(X,e=>e.walletLogin),ST=h(X,e=>e.isLoginSessionInvalid),ss=h(X,e=>e.tokenLogin),as=h(X,e=>e.logoutRoute),Fl=h(X,e=>e.isWalletConnectV2Initialized);n();var cs=e=>e.modals,vT=h(cs,e=>e.txSubmittedModal),IT=h(cs,e=>e.notificationModal);n();var ve=e=>e.networkConfig,ls=h(ve,e=>e.network.chainId),ET=h(ve,e=>e.network.roundDuration),LT=h(ve,e=>e.network.walletConnectBridgeAddress),ps=h(ve,e=>e.network.walletConnectV2RelayAddress),us=h(ve,e=>e.network.walletConnectV2ProjectId),ds=h(ve,e=>e.network.walletConnectV2Options),ms=h(ve,e=>e.network.walletConnectDeepLink),Ne=h(ve,e=>e.network),Bl=h(Ne,e=>e.apiAddress),gs=h(Ne,e=>e.explorerAddress),PT=h(Ne,e=>{var t;return(t=e.customWalletAddress)!=null?t:e.walletAddress}),CT=h(Ne,e=>e.xAliasAddress),RT=h(Ne,e=>e.egldLabel);n();var pr=e=>e.signedMessageInfo,_T=h(pr,e=>e.isSigning),OT=h(pr,e=>e.errorMessage),MT=h(pr,e=>{let t=Object.keys(e.signedSessions),r=t.length;return e.signedSessions[t[r-1]]}),FT=h(pr,e=>{let t=Object.keys(e.signedSessions),r=t.length;return t.length>0?t[r-1]:""});n();var fs=e=>e.toasts,WT=h(fs,e=>e.customToasts),VT=h(fs,e=>e.transactionToasts);n();Te();var Ts={errorMessage:rn,successMessage:nn,processingMessage:on},Ul=e=>e.transactionsInfo,jT=h(Ul,(e,t)=>t,(e,t)=>t!=null&&(e==null?void 0:e[Number(t)])||Ts);n();n();var _e=require("@multiversx/sdk-core");E();n();n();n();function ur(e){try{let t=atob(e),r=btoa(t),o=s.Buffer.from(e,"base64").toString(),i=s.Buffer.from(o).toString("base64"),l=e===r||r.startsWith(e),p=e===i||i.startsWith(e);if(l&&p)return!0}catch(t){return!1}return!1}function De(e){return ur(e)?atob(e):e}n();n();n();n();var ys=e=>{let t=e!=null?e:"";return ur(t)?s.Buffer.from(s.Buffer.from(t,"base64").toString().trim()):s.Buffer.from(t.trim())};n();E();var dr=({data:e,onlySetGuardian:t})=>e?t?e.startsWith("SetGuardian"):Object.values(Mr).some(r=>e.startsWith(r)):!1;function gn(e){var o,i,l;let t=T({},e);dr({data:t.data,onlySetGuardian:!0})&&(delete t.senderUsername,delete t.receiverUsername);let r=new _e.Transaction(T(T(v(T(v(T(T({value:BigInt(t.value.valueOf()),data:ys(t.data),nonce:BigInt(t.nonce.valueOf()),receiver:new _e.Address(t.receiver)},t.receiverUsername?{receiverUsername:t.receiverUsername}:{}),t.relayer?{relayer:new _e.Address(t.relayer)}:{}),{sender:new _e.Address(t.sender)}),t.senderUsername?{senderUsername:t.senderUsername}:{}),{gasLimit:BigInt((o=t.gasLimit.valueOf())!=null?o:Vr),gasPrice:BigInt((i=t.gasPrice.valueOf())!=null?i:$r),chainID:t.chainID.valueOf(),version:(l=t.version)!=null?l:No}),t.options?{options:t.options}:{}),t.guardian?{guardian:new _e.Address(t.guardian)}:{}));return t.relayerSignature&&(r.relayerSignature=s.Buffer.from(t.relayerSignature,"hex")),t.guardianSignature&&(r.guardianSignature=s.Buffer.from(t.guardianSignature,"hex")),t.signature&&(r.signature=s.Buffer.from(t.signature,"hex")),r}n();n();E();n();n();n();var Gl=require("@multiversx/sdk-core");n();E();n();var jl=require("@multiversx/sdk-core");G();n();var hs=require("@multiversx/sdk-core");function Hl(e){try{return hs.Address.isValid(e)}catch(t){return!1}}function dt(e){return/^\w+$/.test(e)&&Hl(e)}n();n();n();var ql=require("@multiversx/sdk-core"),zl=A(require("bignumber.js"));ee();n();n();n();var fn="blocks";n();n();n();n();z();n();n();z();n();n();n();var Ql=A(require("bignumber.js"));E();n();var Jl=require("@multiversx/sdk-core"),Tn=A(require("bignumber.js"));E();n();var Xl=A(require("bignumber.js"));n();Tn.default.config({ROUNDING_MODE:Tn.default.ROUND_FLOOR});n();n();n();E();n();n();n();n();E();n();E();n();var ep=require("@multiversx/sdk-core"),tp=A(require("bignumber.js"));E();n();var hn=require("@multiversx/sdk-core"),np=A(require("bignumber.js"));E();n();n();var rp=A(require("bignumber.js"));E();n();E();n();n();n();n();n();n();E();n();E();n();E();n();z();var ip=["reDelegateRewards","claimRewards","unBond"],sp=["wrapEgld","unwrapEgld"],ap=["unStake"],cp=["unDelegate"];n();n();n();E();n();var up=A(require("bignumber.js"));n();n();z();n();var mp=A(require("bignumber.js"));n();n();n();n();var fp=A(require("bignumber.js"));G();n();n();var Tp=require("@multiversx/sdk-core");n();n();ee();n();var xp=require("@multiversx/sdk-web-wallet-provider");E();n();var hp=A(require("qs"));n();He();Gt();n();Gt();var Pw={search:at()?window.location.search:"",removeParams:[]};n();n();n();fe();n();z();n();n();fe();n();var Sp=A(require("linkifyjs"));n();E();n();var wp=A(require("bignumber.js"));n();G();n();n();ee();n();ee();n();n();n();z();n();z();n();var Ap=A(require("bignumber.js"));E();z();n();z();n();var bs=require("react");G();n();n();z();n();n();var vp=require("@multiversx/sdk-core"),Ip=A(require("bignumber.js"));z();n();G();n();n();G();var Av=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}];n();var ks=require("react");G();fe();n();var kp=require("react");z();var Cv=["create","localMint","ESDTLocalMint","addQuantity","burn","localBurn","ESDTLocalBurn","wipe","writeLog","signalError"];an();n();var gr=e=>e.transactions,ft=h(gr,e=>e.signedTransactions),SI=h(gr,e=>e.signTransactionsError),wI=h(gr,e=>e.signTransactionsCancelMessage),fr=e=>t=>Object.entries(t).reduce((r,[o,i])=>(e(i.status)&&(r[o]=i),r),{}),AI=h(ft,fr(vi)),vI=h(ft,fr(Qt)),II=h(ft,fr(er)),bI=h(ft,fr(bi)),kI=h(gr,e=>{var t;return(e==null?void 0:e.transactionsToSign)==null?null:v(T({},e.transactionsToSign),{transactions:((t=e==null?void 0:e.transactionsToSign)==null?void 0:t.transactions.map(r=>gn(r)))||[]})}),EI=h(ft,(e,t)=>t,(e,t)=>t!=null?(e==null?void 0:e[t])||{}:{});var Sn=()=>F(qe);n();n();n();n();n();var Es=require("@multiversx/sdk-extension-provider"),Ls=require("@multiversx/sdk-hw-provider"),Ps=require("@multiversx/sdk-metamask-provider/out/metamaskProvider"),Cs=require("@multiversx/sdk-opera-provider"),Rs=require("@multiversx/sdk-passkey-provider/out"),Ns=require("@multiversx/sdk-web-wallet-provider");E();Nt();n();var Tt=require("@multiversx/sdk-web-wallet-iframe-provider/out"),Ep=require("@multiversx/sdk-web-wallet-iframe-provider/out/constants");ee();n();var Tr={},yr=ze;var re=e=>{switch(e==null?void 0:e.constructor){case Ns.WalletProvider:return"wallet";case yr:return"walletconnectv2";case Ls.HWProvider:return"ledger";case Es.ExtensionProvider:return"extension";case Rs.PasskeyProvider:return"passkey";case Ps.MetamaskProvider:return"metamask";case Cs.OperaProvider:return"opera";case tt.CrossWindowProvider:return"crossWindow";case Tt.IframeProvider:return"iframe";case ze:return"";default:return"extra"}};var se=e=>`Unable to perform ${e}, Provider not initialized`,ze=class{init(){return Promise.resolve(!1)}getAccount(){throw new Error(se("getAccount"))}setAccount(t){throw new Error(se(`setAccount: ${t}`))}login(t){throw new Error(se(`login with options: ${t}`))}logout(t){throw new Error(se(`logout with options: ${t}`))}getAddress(){throw new Error(se("getAddress"))}isInitialized(){return!1}isConnected(){return!1}sendTransaction(t,r){throw new Error(se(`sendTransaction with transactions: ${t} options: ${r}`))}signTransaction(t,r){throw new Error(se(`signTransaction with transactions: ${t} options: ${r}`))}signTransactions(t,r){throw new Error(se(`signTransactions with transactions: ${t} options: ${r}`))}signMessage(t,r){throw new Error(se(`signTransactions with ${t} and options ${r}`))}sendCustomMessage({method:t,params:r}){throw new Error(se(`sendCustomMessage with method: ${t} params: ${r}`))}sendCustomRequest(t){throw new Error(se(`sendSessionEvent with options: ${t}`))}ping(){return Promise.resolve(!1)}},yt=new ze;var Ds=yt;function _s(e){Ds=e}function ae(){return Ds||yt}var Os=()=>{let e=ae(),t=re(e);return{provider:e,providerType:t}};n();n();n();n();n();n();n();var ht=A(require("react"));var xb=(0,ht.createContext)({}),Sb=L.getState();n();var Fs=A(require("react"));n();var wn=A(require("react")),Lp=A(require("axios"));n();n();n();var hr=require("react");function Bs(e,t=[]){let r=(0,hr.useRef)(!0);(0,hr.useEffect)(()=>{r.current?r.current=!1:e()},t)}K();Te();ee();n();n();var Hs=A(Ws());rt();var Vs,$s,Gs,Cp=(Gs=($s=(Vs=J.safeWindow)==null?void 0:Vs.location)==null?void 0:$s.origin)==null?void 0:Gs.includes("localhost"),js=e=>{if(!(0,Hs.default)(e))return Boolean(e);let r=T({},e);return Boolean(Cp)&&delete r.origin,Object.keys(r).length>0};n();function An(){return ut(L.getState())}Jr();n();rt();K();G();n();function qs(e,t){if(!e){typeof console!="undefined"&&console.warn(t);try{throw new Error(t)}catch(r){}}}function zs(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[r,o]=Rp(e.path,e.caseSensitive,e.end),i=t.match(r);if(!i)return null;let l=i[0],p=l.replace(/(.)\/+$/,"$1"),d=i.slice(1);return{params:o.reduce((g,x,f)=>{if(x==="*"){let S=d[f]||"";p=l.slice(0,l.length-S.length).replace(/(.)\/+$/,"$1")}return g[x]=Np(d[f]||"",x),g},{}),pathname:l,pathnameBase:p,pattern:e}}function Rp(e,t=!1,r=!0){qs(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let o=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/:(\w+)/g,(p,d)=>(o.push(d),"([^\\/]+)"));return e.endsWith("*")?(o.push("*"),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):i+=r?"\\/*$":"(?:(?=[.~-]|%[0-9A-F]{2})|\\b|\\/|$)",[new RegExp(i,t?void 0:"i"),o]}function Np(e,t){try{return decodeURIComponent(e)}catch(r){return qs(!1,`The value for the URL param "${t}" will not be decoded because the string "${e}" is a malformed URL segment. This is probably due to a bad percent encoding (${r}).`),e}}n();n();fe();var Ks=()=>{let{search:e}=B(),t=new URLSearchParams(e),r=Object.fromEntries(t),o=r==null?void 0:r.address;return dt(o)?o:null};n();n();n();n();n();var Ys=require("@lifeomic/axios-fetch"),vn=A(require("axios")),In=(0,Ys.buildAxiosFetch)(vn.default),bn=(e,t)=>w(void 0,null,function*(){if(!e.ok)throw new Error(`HTTP error! Status: ${e.status}`);let o=e.clone().json(),[i]=yield Promise.all([o]);return{data:i,status:e.status,statusText:e.statusText,headers:e.headers,config:t}});function Dp(e,t,r){return w(this,null,function*(){try{let o=yield In(e,T({method:"POST",body:t?JSON.stringify(t):void 0,headers:T({"Content-Type":"application/json"},(r==null?void 0:r.headers)||{})},r));return bn(o,r)}catch(o){throw console.error("Fetch Error:",o),o}})}function _p(e,t){return w(this,null,function*(){try{let r=yield In(e,t);if(!r.ok)throw new Error(`HTTP error! Status: ${r.status}`);return bn(r,t)}catch(r){throw console.error("Fetch Error:",r),r}})}function Op(e,t,r){return w(this,null,function*(){try{let o=yield In(e,T({method:"PATCH",body:t?JSON.stringify(t):void 0,headers:(r==null?void 0:r.headers)||{}},r));if(!o.ok)throw new Error(`HTTP error! Status: ${o.status}`);return bn(o,r)}catch(o){throw console.error("Fetch Error:",o),o}})}var xt=vn.default.create();xt.get=_p;xt.post=Dp;xt.patch=Op;n();n();var Mp=A(require("axios"));n();var Bp=A(require("swr"));n();n();function Xs(){let e=ae();return re(e)}n();ee();n();function St(e){return Xs()===e}function xr(){let e=L.getState(),t=ae(),r=pt(e),o=ut(e),i=is(e);if(!t)throw"provider not initialized";return St("ledger")&&o?new Promise(l=>{l(r)}):!St("")&&!St("wallet")&&!St("extra")?t.getAddress():new Promise(l=>{let p=Ks();i!=null&&p&&l(p),o&&l(r),l("")})}n();n();n();fe();var Zs=()=>{let{search:e}=B(),t=new URLSearchParams(e),r=Object.fromEntries(t);return r==null?void 0:r.accessToken};var Js=()=>{var r;let e=Zs(),t=X(L.getState());return e!=null?e:(r=t.webviewLogin)==null?void 0:r.data};n();K();G();n();Te();n();Te();n();var Qs=require("@multiversx/sdk-core");G();He();Zr();nt();Ge();He();var ea=({callbackUrl:e,onRedirect:t})=>{typeof t=="function"?t(e):e&&Ht({url:e})},Wp=e=>{let t=ge.local.getItem(ie.logoutEvent),{data:r}=t?JSON.parse(t):{data:e};e===r&&(ge.local.setItem({key:ie.logoutEvent,data:e,expires:0}),ge.local.removeItem(ie.logoutEvent))},Vp=500;function ta(i,l){return w(this,arguments,function*(e,t,r=Boolean(Js()),o={shouldBroadcastLogoutAcrossTabs:!0,hasConsentPopup:!1}){var H,W,V;let p=yield xr(),d=ae(),m=re(d),g=m==="wallet",x=m==="extra",f=((H=d==null?void 0:d.isInitialized)==null?void 0:H.call(d))===!0;if(r&&(d==null?void 0:d.relogin)!=null)return d.relogin();p&&o.shouldBroadcastLogoutAcrossTabs&&Wp(p);let S=Xr(e),b=B(),{pathname:k,origin:P}=new URL(decodeURIComponent(S));if((zs(b.pathname,k)||g&&f||((W=J.safeWindow)==null?void 0:W.opener)&&P===((V=J.safeWindow)==null?void 0:V.origin))&&ii(),!p)return ea({callbackUrl:S,onRedirect:t});try{if(L.dispatch(C()),g&&f)return setTimeout(()=>{d.logout({callbackUrl:S})},Vp);o.hasConsentPopup&&m==="crossWindow"&&d.setShouldShowConsentPopup(!0),f&&(yield d.logout({callbackUrl:S}))}catch(ne){console.error("Logging out error:",ne)}finally{g||x||ea({callbackUrl:S,onRedirect:t})}})}n();var ra=({maxRetries:e})=>new Promise((t,r)=>{let o=0,i=()=>{let l=ls(L.getState());if(l){t(l);return}if(o<e){o++,setTimeout(i,1e3);return}r(null)};i()});fe();n();n();Nt();G();var na=e=>(Object.values(de).forEach(t=>{if(t!==(e==null?void 0:e.skipLoginMethod))switch(t){case"crossWindow":{let r=tt.CrossWindowProvider.getInstance();r.isInitialized()&&r.dispose();break}case"iframe":{let r=Tt.IframeProvider.getInstance();r.isInitialized()&&r.dispose();break}default:break}}),null);n();var Oa=require("react"),wr=require("@multiversx/sdk-core");Te();n();n();var _a=require("@multiversx/sdk-native-auth-client");n();var aa=A(require("axios"));n();n();n();function oa(e){return w(this,null,function*(){return yield new Promise(t=>{setTimeout(()=>t(),e)})})}n();var ia=(e,t,r,o=0)=>w(void 0,null,function*(){try{return yield e(...r)}catch(i){return o<t.retries?((t==null?void 0:t.delay)!=null&&(yield oa(t.delay)),yield ia(e,t,r,o+1)):null}}),sa=(e,t={retries:5,delay:500})=>(...r)=>w(void 0,null,function*(){return yield ia(e,t,r)});var $p=4,Gp=3e4,Sr={current:null},Oe={current:null},Hp=sa((e,t,r)=>w(void 0,null,function*(){if(r){let l=Math.floor(Date.now()/1e3);return{hash:yield r(),timestamp:l}}let{data:o}=yield aa.default.get(`${e}/${fn}?from=${$p}&size=1&fields=hash,timestamp${t?"&shard="+t:""}`),[i]=o;return i}));function ca(e,t,r,o){return w(this,null,function*(){if(e==null)throw new Error("missing api url");let i=Date.now();if(Sr.current!=null&&i<Sr.current.timestamp*1e3+Gp&&!o)return Sr.current;if(Oe.current!=null)return yield Oe.current;Oe.current=Hp(e,t,r);try{let l=yield Oe.current;if(l==null)throw Oe.current=null,new Error("could not get block hash");return Sr.current={hash:l.hash,timestamp:l.timestamp},Oe.current=null,l}catch(l){return Oe.current=null,null}})}n();n();_t();n();n();var Ca=A(Pa());var Ra=e=>{if(!e||!(0,Ca.default)(e))return null;let t=e.split(".");if(t.length!==4)return null;try{let[r,o,i,l]=t,p=JSON.parse(De(l)),d=De(r);return{ttl:Number(i),extraInfo:p,origin:d,blockHash:o}}catch(r){return console.error(`Error trying to decode ${e}:`,r),null}};function fu(e){return Object.prototype.toString.call(e)==="[object String]"}var Na=e=>{var r;if(!e||!fu(e))return null;let t=e.split(".");if(t.length!==3)return console.error("Invalid nativeAuthToken. You may be trying to decode a loginToken. Try using decodeLoginToken method instead"),null;try{let[o,i,l]=t,p=De(o),d=De(i),m=Ra(d);if(!m)return{address:p,body:d,signature:l,blockHash:"",origin:"",ttl:0};let g=v(T({},m),{address:p,body:d,signature:l});return(r=m.extraInfo)!=null&&r.timestamp||delete g.extraInfo,g}catch(o){return null}};var En={isExpired:!1},Da=e=>{if(!e)return En;let t=Na(e);if(!t)return En;let r=$e(),{ttl:o,extraInfo:i}=t,l=i==null?void 0:i.timestamp;if(!l)return En;let p=l+o,d=r>p,m=p-r;return{isExpired:d,expiresAt:p,secondsUntilExpires:m}};n();fe();var At={origin:B().origin,apiAddress:"https://api.multiversx.com",expirySeconds:60*60*24,tokenExpirationToastWarningSeconds:5*60},vt=e=>{var r,o,i,l,p,d;return e===!0?At:{origin:(r=e==null?void 0:e.origin)!=null?r:At.origin,blockHashShard:e==null?void 0:e.blockHashShard,expirySeconds:(o=e==null?void 0:e.expirySeconds)!=null?o:At.expirySeconds,apiAddress:(i=e==null?void 0:e.apiAddress)!=null?i:At.apiAddress,tokenExpirationToastWarningSeconds:(l=e==null?void 0:e.tokenExpirationToastWarningSeconds)!=null?l:At.tokenExpirationToastWarningSeconds,extraInfo:(p=e==null?void 0:e.extraInfo)!=null?p:{},gatewayUrl:e==null?void 0:e.gatewayUrl,extraRequestHeaders:(d=e==null?void 0:e.extraRequestHeaders)!=null?d:{}}};var Ln=e=>{let{origin:t,apiAddress:r,expirySeconds:o,blockHashShard:i,extraInfo:l,gatewayUrl:p,extraRequestHeaders:d}=vt(e),m=new _a.NativeAuthClient({origin:t,apiUrl:r,expirySeconds:o,blockHashShard:i,gatewayUrl:p,extraRequestHeaders:d});return{getNativeAuthConfig:vt,initialize:f=>w(void 0,null,function*(){var b,k;if(!r||!t)return"";let S=()=>m.getCurrentBlockHash();try{let P=(b=f==null?void 0:f.latestBlockInfo)!=null?b:yield ca(r,i,S,f==null?void 0:f.noCache);if(!P)return"";let{hash:H,timestamp:W}=P,V=m.encodeValue(JSON.stringify(T(T({},(k=f==null?void 0:f.extraInfo)!=null?k:l),W?{timestamp:W}:{})));return`${m.encodeValue(t)}.${H}.${o}.${V}`}catch(P){return console.error("Error getting native auth token: ",P.toString()),""}}),getToken:({address:f,token:S,signature:b})=>m.getToken(f,S,b),getTokenExpiration:Da}};var Tu=(e,t)=>{var r;return t?t===!0?e:(r=t.apiAddress)!=null?r:e:null},Ma=e=>{let t=F(Ne),r=F(ss),o=(0,Oa.useRef)(r==null?void 0:r.loginToken),i=Tu(t.apiAddress,e),l=vt(T(T({},e===!0?{}:e),i?{apiAddress:i}:{})),p=Boolean(e),d=Ln(l),{address:m}=Sn(),g=cr(),x=k=>{o.current=k,g(Bt(T(v(T({},r),{loginToken:k}),i?{nativeAuthConfig:l}:{})))},f=()=>{try{return d.initialize()}catch(k){console.error("Unable to get block. Login failed.",k);return}},S=({address:k,signature:P})=>{let H=o.current;if(!H)throw"Token not found. Call `setLoginToken` first.";if(!p){g(Bt({loginToken:H,signature:P}));return}let W=d.getToken({address:k,token:H,signature:P});return g(Bt(T({loginToken:H,signature:P,nativeAuthToken:W},i?{nativeAuthConfig:l}:{}))),W};return{configuration:l,setLoginToken:x,getNativeAuthLoginToken:f,setTokenLoginInfo:S,refreshNativeAuthTokenLogin:H=>w(void 0,[H],function*({signMessageCallback:k,nativeAuthClientConfig:P}){let V=yield Ln(P||l).initialize({noCache:Boolean(P)});if(o.current=V,!V)return;let ne=new wr.Message({address:new wr.Address(m),data:s.Buffer.from(`${m}${V}`)}),O=yield k(ne,{});if(!(O!=null&&O.signature))throw"Message not signed";return S({address:m,signature:s.Buffer.from(O.signature).toString("hex")})})}};var Fa=(g=>(g.invalidAddress="Invalid address",g.invalidConfig="Invalid WalletConnect setup",g.invalidTopic="Expired connection",g.sessionExpired="Unable to connect to existing session",g.connectError="Unable to connect",g.userRejected="User rejected connection proposal",g.userRejectedExisting="User rejected existing connection proposal",g.errorLogout="Unable to remove existing pairing",g.invalidChainID="Invalid chainID",g))(Fa||{}),yu=({callbackRoute:e,token:t,nativeAuth:r,onLoginRedirect:o,logoutRoute:i,customRequestMethods:l=[]})=>{var Nn;let p=cr(),d=js(r),m=Ma(d?r:!1),g=t,[x,f]=(0,Z.useState)(""),[S,b]=(0,Z.useState)(""),[k,P]=(0,Z.useState)(!0),[H,W]=(0,Z.useState)([]),[V,ne]=(0,Z.useState)(null),{provider:O}=Os(),Ke=F(ps),It=F(us),bt=F(ds),Ba=F(ms),Ua=F(as),Wa=F(os),I=(0,Z.useRef)(O),Ye=(0,Z.useRef)(!1),Xe=(0,Z.useRef)(!1),Pn=(Nn=i!=null?i:Ua)!=null?Nn:"/",kt=[Tr.CANCEL_ACTION,...l];t&&kt.push(Tr.SIGN_LOGIN_TOKEN),d&&kt.push(Tr.SIGN_NATIVE_AUTH_TOKEN);let Va=k?"":`${Ba}?wallet-connect=${encodeURIComponent(S)}`,Ar=Boolean(x),vr=An(),$a=()=>{ta(Pn)},Ga=N=>{console.log("WalletConnect Session Event: ",N)},Ha=()=>w(void 0,null,function*(){var N,D,_,U;try{if(Ye.current||I.current==null)return;if(!Xe.current){try{yield(N=I.current)==null?void 0:N.logout()}catch(Je){console.warn("Unable to logout")}return}let $=yield(_=(D=I.current)==null?void 0:D.getAddress)==null?void 0:_.call(D);if(!$){console.warn("Login cancelled.");return}let oe=yield(U=I.current)==null?void 0:U.getSignature(),he={address:$,loginMethod:"walletconnectv2"},Me={logoutRoute:Pn,loginType:"walletconnectv2",callbackRoute:e!=null?e:B().href};p(Yo(Me)),oe&&m.setTokenLoginInfo({signature:oe,address:$}),p(Pe(he)),si({callbackRoute:e,onLoginRedirect:o,options:{address:$,signature:oe}})}catch($){f("User rejected connection proposal"),console.error($)}}),Cn=()=>w(void 0,null,function*(){var D,_,U,$,oe;if(re(I.current)==="walletconnectv2")try{(($=(U=(_=(D=I.current)==null?void 0:D.walletConnector)==null?void 0:_.session)==null?void 0:U.getAll())!=null?$:[]).length>0&&(yield(oe=I.current)==null?void 0:oe.logout()),I.current=yt,ne(null)}catch(he){console.warn("Unable to logout")}}),ja=N=>w(void 0,null,function*(){var D,_,U;if(!Ke||!It){f("Invalid WalletConnect setup");return}if(!N||!N.topic){f("Expired connection");return}try{if((I.current?re(I.current):!1)!=="walletconnectv2"){yield Ze();return}if(P(!0),yield Cn(),d&&!g&&(g=yield m.getNativeAuthLoginToken(),!g)){console.warn("Fetching block failed. Login cancelled.");return}g&&m.setLoginToken(g),yield Ze(!1);let{approval:oe}=yield(D=I.current)==null?void 0:D.connect({topic:N.topic,methods:kt});try{yield(_=I.current)==null?void 0:_.login({approval:oe,token:g})}catch(he){console.error("User rejected existing connection proposal",he),f("User rejected existing connection proposal"),P(!0),yield Ze()}}catch($){console.error("Unable to connect to existing session",$),f("Unable to connect to existing session")}finally{W((U=I.current)==null?void 0:U.pairings)}}),qa=N=>w(void 0,null,function*(){var D,_;try{N&&(yield(D=I.current)==null?void 0:D.logout({topic:N}))}catch(U){console.error("Unable to remove existing pairing",U),f("Unable to remove existing pairing")}finally{let U=yield(_=I.current)==null?void 0:_.getPairings();W(U)}});function Ze(N=!0){return w(this,null,function*(){var Je,Dn,_n;na(),N&&(p(jo(Ce.address)),p(ot(Ce)));let D=yield ra({maxRetries:15});if(!D){console.error("Invalid chainID"),f("Invalid chainID");return}if(!It||!Ke){console.error("Invalid WalletConnect setup"),f("Invalid WalletConnect setup");return}let _=An(),U=Xe.current===!1&&!_,$=re(I.current)==="walletconnectv2",oe=((Dn=(Je=I.current)==null?void 0:Je.isInitialized)==null?void 0:Dn.call(Je))&&$;if(Ye.current||U||oe)return;if(Ye.current=!0,(_n=I.current)!=null&&_n.walletConnector){yield I.current.init(),ne(I.current),Ye.current=!1,N&&(yield Rn());return}let he={onClientLogin:Ha,onClientLogout:$a,onClientEvent:Ga},Me=new yr(he,D,Ke,It,bt);yield Me.init(),ne(Me),I.current=Me,Ye.current=!1,N&&(W(Me.pairings),yield Rn())})}function Rn(){return w(this,null,function*(){var N,D;if(!!I.current){if(!Ke||!It){f("Invalid WalletConnect setup");return}try{if(!Xe.current)return;let{uri:_,approval:U}=yield(N=I.current)==null?void 0:N.connect({methods:kt});if(!Boolean(_))return;if(b(_),(bt==null?void 0:bt.logger)==="debug"&&console.log("WalletConnect uri: ",_),d&&!g&&(g=yield m.getNativeAuthLoginToken(),!g)){console.warn("Fetching block failed. Login cancelled.");return}if(g&&m.setLoginToken(g),(I.current?re(I.current):!1)!=="walletconnectv2"){P(!0),yield Ze();return}try{yield(D=I.current)==null?void 0:D.login({approval:U,token:g})}catch(he){console.error("User rejected connection proposal",he),f("User rejected connection proposal"),P(!0)}}catch(_){console.error("Unable to connect",_)}}})}return Bs(()=>{I.current=O},[O]),(0,Z.useEffect)(()=>(Xe.current=!0,()=>{Xe.current=!1}),[]),(0,Z.useEffect)(()=>{P(!S)},[S]),(0,Z.useEffect)(()=>{if(!V)return;(Boolean(V.session)||Wa==="walletconnectv2")&&vr&&_s(V)},[V,vr]),[Ze,{error:x,loginFailed:Ar,isLoading:k&&!Ar,isLoggedIn:vr&&!Ar},{uriDeepLink:Va,walletConnectUri:S,cancelLogin:Cn,connectExisting:ja,removeExistingPairing:qa,wcPairings:H}]};0&&(module.exports={WalletConnectV2Error,useWalletConnectV2Login});
1
+ "use strict";var za=Object.create;var Qe=Object.defineProperty,Ka=Object.defineProperties,Ya=Object.getOwnPropertyDescriptor,Xa=Object.getOwnPropertyDescriptors,Za=Object.getOwnPropertyNames,Et=Object.getOwnPropertySymbols,Ja=Object.getPrototypeOf,Ir=Object.prototype.hasOwnProperty,Mn=Object.prototype.propertyIsEnumerable;var On=(e,t,r)=>t in e?Qe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,T=(e,t)=>{for(var r in t||(t={}))Ir.call(t,r)&&On(e,r,t[r]);if(Et)for(var r of Et(t))Mn.call(t,r)&&On(e,r,t[r]);return e},v=(e,t)=>Ka(e,Xa(t));var Fn=(e,t)=>{var r={};for(var o in e)Ir.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(e!=null&&Et)for(var o of Et(e))t.indexOf(o)<0&&Mn.call(e,o)&&(r[o]=e[o]);return r};var y=(e,t)=>()=>(e&&(t=e(e=0)),t);var j=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),be=(e,t)=>{for(var r in t)Qe(e,r,{get:t[r],enumerable:!0})},Bn=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Za(t))!Ir.call(e,i)&&i!==r&&Qe(e,i,{get:()=>t[i],enumerable:!(o=Ya(t,i))||o.enumerable});return e};var A=(e,t,r)=>(r=e!=null?za(Ja(e)):{},Bn(t||!e||!e.__esModule?Qe(r,"default",{value:e,enumerable:!0}):r,e)),et=e=>Bn(Qe({},"__esModule",{value:!0}),e);var w=(e,t,r)=>new Promise((o,i)=>{var l=m=>{try{d(r.next(m))}catch(g){i(g)}},p=m=>{try{d(r.throw(m))}catch(g){i(g)}},d=m=>m.done?o(m.value):Promise.resolve(m.value).then(l,p);d((r=r.apply(e,t)).next())});var Vn=j(Lt=>{"use strict";n();Lt.byteLength=ec;Lt.toByteArray=rc;Lt.fromByteArray=ic;var ce=[],Q=[],Qa=typeof Uint8Array!="undefined"?Uint8Array:Array,br="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(ke=0,Un=br.length;ke<Un;++ke)ce[ke]=br[ke],Q[br.charCodeAt(ke)]=ke;var ke,Un;Q["-".charCodeAt(0)]=62;Q["_".charCodeAt(0)]=63;function Wn(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");r===-1&&(r=t);var o=r===t?0:4-r%4;return[r,o]}function ec(e){var t=Wn(e),r=t[0],o=t[1];return(r+o)*3/4-o}function tc(e,t,r){return(t+r)*3/4-r}function rc(e){var t,r=Wn(e),o=r[0],i=r[1],l=new Qa(tc(e,o,i)),p=0,d=i>0?o-4:o,m;for(m=0;m<d;m+=4)t=Q[e.charCodeAt(m)]<<18|Q[e.charCodeAt(m+1)]<<12|Q[e.charCodeAt(m+2)]<<6|Q[e.charCodeAt(m+3)],l[p++]=t>>16&255,l[p++]=t>>8&255,l[p++]=t&255;return i===2&&(t=Q[e.charCodeAt(m)]<<2|Q[e.charCodeAt(m+1)]>>4,l[p++]=t&255),i===1&&(t=Q[e.charCodeAt(m)]<<10|Q[e.charCodeAt(m+1)]<<4|Q[e.charCodeAt(m+2)]>>2,l[p++]=t>>8&255,l[p++]=t&255),l}function nc(e){return ce[e>>18&63]+ce[e>>12&63]+ce[e>>6&63]+ce[e&63]}function oc(e,t,r){for(var o,i=[],l=t;l<r;l+=3)o=(e[l]<<16&16711680)+(e[l+1]<<8&65280)+(e[l+2]&255),i.push(nc(o));return i.join("")}function ic(e){for(var t,r=e.length,o=r%3,i=[],l=16383,p=0,d=r-o;p<d;p+=l)i.push(oc(e,p,p+l>d?d:p+l));return o===1?(t=e[r-1],i.push(ce[t>>2]+ce[t<<4&63]+"==")):o===2&&(t=(e[r-2]<<8)+e[r-1],i.push(ce[t>>10]+ce[t>>4&63]+ce[t<<2&63]+"=")),i.join("")}});var $n=j(kr=>{n();kr.read=function(e,t,r,o,i){var l,p,d=i*8-o-1,m=(1<<d)-1,g=m>>1,x=-7,f=r?i-1:0,S=r?-1:1,b=e[t+f];for(f+=S,l=b&(1<<-x)-1,b>>=-x,x+=d;x>0;l=l*256+e[t+f],f+=S,x-=8);for(p=l&(1<<-x)-1,l>>=-x,x+=o;x>0;p=p*256+e[t+f],f+=S,x-=8);if(l===0)l=1-g;else{if(l===m)return p?NaN:(b?-1:1)*(1/0);p=p+Math.pow(2,o),l=l-g}return(b?-1:1)*p*Math.pow(2,l-o)};kr.write=function(e,t,r,o,i,l){var p,d,m,g=l*8-i-1,x=(1<<g)-1,f=x>>1,S=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,b=o?0:l-1,k=o?1:-1,P=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(d=isNaN(t)?1:0,p=x):(p=Math.floor(Math.log(t)/Math.LN2),t*(m=Math.pow(2,-p))<1&&(p--,m*=2),p+f>=1?t+=S/m:t+=S*Math.pow(2,1-f),t*m>=2&&(p++,m/=2),p+f>=x?(d=0,p=x):p+f>=1?(d=(t*m-1)*Math.pow(2,i),p=p+f):(d=t*Math.pow(2,f-1)*Math.pow(2,i),p=0));i>=8;e[r+b]=d&255,b+=k,d/=256,i-=8);for(p=p<<i|d,g+=i;g>0;e[r+b]=p&255,b+=k,p/=256,g-=8);e[r+b-k]|=P*128}});var to=j(Be=>{"use strict";n();var Er=Vn(),Fe=$n(),Gn=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Be.Buffer=u;Be.SlowBuffer=uc;Be.INSPECT_MAX_BYTES=50;var Pt=2147483647;Be.kMaxLength=Pt;u.TYPED_ARRAY_SUPPORT=sc();!u.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function sc(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),e.foo()===42}catch(r){return!1}}Object.defineProperty(u.prototype,"parent",{enumerable:!0,get:function(){if(!!u.isBuffer(this))return this.buffer}});Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(!!u.isBuffer(this))return this.byteOffset}});function xe(e){if(e>Pt)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,u.prototype),t}function u(e,t,r){if(typeof e=="number"){if(typeof t=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Rr(e)}return qn(e,t,r)}u.poolSize=8192;function qn(e,t,r){if(typeof e=="string")return cc(e,t);if(ArrayBuffer.isView(e))return lc(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(le(e,ArrayBuffer)||e&&le(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(le(e,SharedArrayBuffer)||e&&le(e.buffer,SharedArrayBuffer)))return Pr(e,t,r);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var o=e.valueOf&&e.valueOf();if(o!=null&&o!==e)return u.from(o,t,r);var i=pc(e);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return u.from(e[Symbol.toPrimitive]("string"),t,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}u.from=function(e,t,r){return qn(e,t,r)};Object.setPrototypeOf(u.prototype,Uint8Array.prototype);Object.setPrototypeOf(u,Uint8Array);function zn(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 ac(e,t,r){return zn(e),e<=0?xe(e):t!==void 0?typeof r=="string"?xe(e).fill(t,r):xe(e).fill(t):xe(e)}u.alloc=function(e,t,r){return ac(e,t,r)};function Rr(e){return zn(e),xe(e<0?0:Nr(e)|0)}u.allocUnsafe=function(e){return Rr(e)};u.allocUnsafeSlow=function(e){return Rr(e)};function cc(e,t){if((typeof t!="string"||t==="")&&(t="utf8"),!u.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=Kn(e,t)|0,o=xe(r),i=o.write(e,t);return i!==r&&(o=o.slice(0,i)),o}function Lr(e){for(var t=e.length<0?0:Nr(e.length)|0,r=xe(t),o=0;o<t;o+=1)r[o]=e[o]&255;return r}function lc(e){if(le(e,Uint8Array)){var t=new Uint8Array(e);return Pr(t.buffer,t.byteOffset,t.byteLength)}return Lr(e)}function Pr(e,t,r){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw new RangeError('"length" is outside of buffer bounds');var o;return t===void 0&&r===void 0?o=new Uint8Array(e):r===void 0?o=new Uint8Array(e,t):o=new Uint8Array(e,t,r),Object.setPrototypeOf(o,u.prototype),o}function pc(e){if(u.isBuffer(e)){var t=Nr(e.length)|0,r=xe(t);return r.length===0||e.copy(r,0,0,t),r}if(e.length!==void 0)return typeof e.length!="number"||Dr(e.length)?xe(0):Lr(e);if(e.type==="Buffer"&&Array.isArray(e.data))return Lr(e.data)}function Nr(e){if(e>=Pt)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Pt.toString(16)+" bytes");return e|0}function uc(e){return+e!=e&&(e=0),u.alloc(+e)}u.isBuffer=function(t){return t!=null&&t._isBuffer===!0&&t!==u.prototype};u.compare=function(t,r){if(le(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),le(r,Uint8Array)&&(r=u.from(r,r.offset,r.byteLength)),!u.isBuffer(t)||!u.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===r)return 0;for(var o=t.length,i=r.length,l=0,p=Math.min(o,i);l<p;++l)if(t[l]!==r[l]){o=t[l],i=r[l];break}return o<i?-1:i<o?1:0};u.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};u.concat=function(t,r){if(!Array.isArray(t))throw new TypeError('"list" argument must be an Array of Buffers');if(t.length===0)return u.alloc(0);var o;if(r===void 0)for(r=0,o=0;o<t.length;++o)r+=t[o].length;var i=u.allocUnsafe(r),l=0;for(o=0;o<t.length;++o){var p=t[o];if(le(p,Uint8Array))l+p.length>i.length?u.from(p).copy(i,l):Uint8Array.prototype.set.call(i,p,l);else if(u.isBuffer(p))p.copy(i,l);else throw new TypeError('"list" argument must be an Array of Buffers');l+=p.length}return i};function Kn(e,t){if(u.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||le(e,ArrayBuffer))return e.byteLength;if(typeof e!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,o=arguments.length>2&&arguments[2]===!0;if(!o&&r===0)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return Cr(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return eo(e).length;default:if(i)return o?-1:Cr(e).length;t=(""+t).toLowerCase(),i=!0}}u.byteLength=Kn;function dc(e,t,r){var o=!1;if((t===void 0||t<0)&&(t=0),t>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,t>>>=0,r<=t))return"";for(e||(e="utf8");;)switch(e){case"hex":return Ac(this,t,r);case"utf8":case"utf-8":return Xn(this,t,r);case"ascii":return Sc(this,t,r);case"latin1":case"binary":return wc(this,t,r);case"base64":return hc(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return vc(this,t,r);default:if(o)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),o=!0}}u.prototype._isBuffer=!0;function Ee(e,t,r){var o=e[t];e[t]=e[r],e[r]=o}u.prototype.swap16=function(){var t=this.length;if(t%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<t;r+=2)Ee(this,r,r+1);return this};u.prototype.swap32=function(){var t=this.length;if(t%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<t;r+=4)Ee(this,r,r+3),Ee(this,r+1,r+2);return this};u.prototype.swap64=function(){var t=this.length;if(t%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<t;r+=8)Ee(this,r,r+7),Ee(this,r+1,r+6),Ee(this,r+2,r+5),Ee(this,r+3,r+4);return this};u.prototype.toString=function(){var t=this.length;return t===0?"":arguments.length===0?Xn(this,0,t):dc.apply(this,arguments)};u.prototype.toLocaleString=u.prototype.toString;u.prototype.equals=function(t){if(!u.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t?!0:u.compare(this,t)===0};u.prototype.inspect=function(){var t="",r=Be.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"};Gn&&(u.prototype[Gn]=u.prototype.inspect);u.prototype.compare=function(t,r,o,i,l){if(le(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),!u.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(r===void 0&&(r=0),o===void 0&&(o=t?t.length:0),i===void 0&&(i=0),l===void 0&&(l=this.length),r<0||o>t.length||i<0||l>this.length)throw new RangeError("out of range index");if(i>=l&&r>=o)return 0;if(i>=l)return-1;if(r>=o)return 1;if(r>>>=0,o>>>=0,i>>>=0,l>>>=0,this===t)return 0;for(var p=l-i,d=o-r,m=Math.min(p,d),g=this.slice(i,l),x=t.slice(r,o),f=0;f<m;++f)if(g[f]!==x[f]){p=g[f],d=x[f];break}return p<d?-1:d<p?1:0};function Yn(e,t,r,o,i){if(e.length===0)return-1;if(typeof r=="string"?(o=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,Dr(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof t=="string"&&(t=u.from(t,o)),u.isBuffer(t))return t.length===0?-1:Hn(e,t,r,o,i);if(typeof t=="number")return t=t&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):Hn(e,[t],r,o,i);throw new TypeError("val must be string, number or Buffer")}function Hn(e,t,r,o,i){var l=1,p=e.length,d=t.length;if(o!==void 0&&(o=String(o).toLowerCase(),o==="ucs2"||o==="ucs-2"||o==="utf16le"||o==="utf-16le")){if(e.length<2||t.length<2)return-1;l=2,p/=2,d/=2,r/=2}function m(b,k){return l===1?b[k]:b.readUInt16BE(k*l)}var g;if(i){var x=-1;for(g=r;g<p;g++)if(m(e,g)===m(t,x===-1?0:g-x)){if(x===-1&&(x=g),g-x+1===d)return x*l}else x!==-1&&(g-=g-x),x=-1}else for(r+d>p&&(r=p-d),g=r;g>=0;g--){for(var f=!0,S=0;S<d;S++)if(m(e,g+S)!==m(t,S)){f=!1;break}if(f)return g}return-1}u.prototype.includes=function(t,r,o){return this.indexOf(t,r,o)!==-1};u.prototype.indexOf=function(t,r,o){return Yn(this,t,r,o,!0)};u.prototype.lastIndexOf=function(t,r,o){return Yn(this,t,r,o,!1)};function mc(e,t,r,o){r=Number(r)||0;var i=e.length-r;o?(o=Number(o),o>i&&(o=i)):o=i;var l=t.length;o>l/2&&(o=l/2);for(var p=0;p<o;++p){var d=parseInt(t.substr(p*2,2),16);if(Dr(d))return p;e[r+p]=d}return p}function gc(e,t,r,o){return Ct(Cr(t,e.length-r),e,r,o)}function fc(e,t,r,o){return Ct(kc(t),e,r,o)}function Tc(e,t,r,o){return Ct(eo(t),e,r,o)}function yc(e,t,r,o){return Ct(Ec(t,e.length-r),e,r,o)}u.prototype.write=function(t,r,o,i){if(r===void 0)i="utf8",o=this.length,r=0;else if(o===void 0&&typeof r=="string")i=r,o=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(o)?(o=o>>>0,i===void 0&&(i="utf8")):(i=o,o=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var l=this.length-r;if((o===void 0||o>l)&&(o=l),t.length>0&&(o<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var p=!1;;)switch(i){case"hex":return mc(this,t,r,o);case"utf8":case"utf-8":return gc(this,t,r,o);case"ascii":case"latin1":case"binary":return fc(this,t,r,o);case"base64":return Tc(this,t,r,o);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return yc(this,t,r,o);default:if(p)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),p=!0}};u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function hc(e,t,r){return t===0&&r===e.length?Er.fromByteArray(e):Er.fromByteArray(e.slice(t,r))}function Xn(e,t,r){r=Math.min(e.length,r);for(var o=[],i=t;i<r;){var l=e[i],p=null,d=l>239?4:l>223?3:l>191?2:1;if(i+d<=r){var m,g,x,f;switch(d){case 1:l<128&&(p=l);break;case 2:m=e[i+1],(m&192)===128&&(f=(l&31)<<6|m&63,f>127&&(p=f));break;case 3:m=e[i+1],g=e[i+2],(m&192)===128&&(g&192)===128&&(f=(l&15)<<12|(m&63)<<6|g&63,f>2047&&(f<55296||f>57343)&&(p=f));break;case 4:m=e[i+1],g=e[i+2],x=e[i+3],(m&192)===128&&(g&192)===128&&(x&192)===128&&(f=(l&15)<<18|(m&63)<<12|(g&63)<<6|x&63,f>65535&&f<1114112&&(p=f))}}p===null?(p=65533,d=1):p>65535&&(p-=65536,o.push(p>>>10&1023|55296),p=56320|p&1023),o.push(p),i+=d}return xc(o)}var jn=4096;function xc(e){var t=e.length;if(t<=jn)return String.fromCharCode.apply(String,e);for(var r="",o=0;o<t;)r+=String.fromCharCode.apply(String,e.slice(o,o+=jn));return r}function Sc(e,t,r){var o="";r=Math.min(e.length,r);for(var i=t;i<r;++i)o+=String.fromCharCode(e[i]&127);return o}function wc(e,t,r){var o="";r=Math.min(e.length,r);for(var i=t;i<r;++i)o+=String.fromCharCode(e[i]);return o}function Ac(e,t,r){var o=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>o)&&(r=o);for(var i="",l=t;l<r;++l)i+=Lc[e[l]];return i}function vc(e,t,r){for(var o=e.slice(t,r),i="",l=0;l<o.length-1;l+=2)i+=String.fromCharCode(o[l]+o[l+1]*256);return i}u.prototype.slice=function(t,r){var o=this.length;t=~~t,r=r===void 0?o:~~r,t<0?(t+=o,t<0&&(t=0)):t>o&&(t=o),r<0?(r+=o,r<0&&(r=0)):r>o&&(r=o),r<t&&(r=t);var i=this.subarray(t,r);return Object.setPrototypeOf(i,u.prototype),i};function M(e,t,r){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}u.prototype.readUintLE=u.prototype.readUIntLE=function(t,r,o){t=t>>>0,r=r>>>0,o||M(t,r,this.length);for(var i=this[t],l=1,p=0;++p<r&&(l*=256);)i+=this[t+p]*l;return i};u.prototype.readUintBE=u.prototype.readUIntBE=function(t,r,o){t=t>>>0,r=r>>>0,o||M(t,r,this.length);for(var i=this[t+--r],l=1;r>0&&(l*=256);)i+=this[t+--r]*l;return i};u.prototype.readUint8=u.prototype.readUInt8=function(t,r){return t=t>>>0,r||M(t,1,this.length),this[t]};u.prototype.readUint16LE=u.prototype.readUInt16LE=function(t,r){return t=t>>>0,r||M(t,2,this.length),this[t]|this[t+1]<<8};u.prototype.readUint16BE=u.prototype.readUInt16BE=function(t,r){return t=t>>>0,r||M(t,2,this.length),this[t]<<8|this[t+1]};u.prototype.readUint32LE=u.prototype.readUInt32LE=function(t,r){return t=t>>>0,r||M(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+this[t+3]*16777216};u.prototype.readUint32BE=u.prototype.readUInt32BE=function(t,r){return t=t>>>0,r||M(t,4,this.length),this[t]*16777216+(this[t+1]<<16|this[t+2]<<8|this[t+3])};u.prototype.readIntLE=function(t,r,o){t=t>>>0,r=r>>>0,o||M(t,r,this.length);for(var i=this[t],l=1,p=0;++p<r&&(l*=256);)i+=this[t+p]*l;return l*=128,i>=l&&(i-=Math.pow(2,8*r)),i};u.prototype.readIntBE=function(t,r,o){t=t>>>0,r=r>>>0,o||M(t,r,this.length);for(var i=r,l=1,p=this[t+--i];i>0&&(l*=256);)p+=this[t+--i]*l;return l*=128,p>=l&&(p-=Math.pow(2,8*r)),p};u.prototype.readInt8=function(t,r){return t=t>>>0,r||M(t,1,this.length),this[t]&128?(255-this[t]+1)*-1:this[t]};u.prototype.readInt16LE=function(t,r){t=t>>>0,r||M(t,2,this.length);var o=this[t]|this[t+1]<<8;return o&32768?o|4294901760:o};u.prototype.readInt16BE=function(t,r){t=t>>>0,r||M(t,2,this.length);var o=this[t+1]|this[t]<<8;return o&32768?o|4294901760:o};u.prototype.readInt32LE=function(t,r){return t=t>>>0,r||M(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24};u.prototype.readInt32BE=function(t,r){return t=t>>>0,r||M(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]};u.prototype.readFloatLE=function(t,r){return t=t>>>0,r||M(t,4,this.length),Fe.read(this,t,!0,23,4)};u.prototype.readFloatBE=function(t,r){return t=t>>>0,r||M(t,4,this.length),Fe.read(this,t,!1,23,4)};u.prototype.readDoubleLE=function(t,r){return t=t>>>0,r||M(t,8,this.length),Fe.read(this,t,!0,52,8)};u.prototype.readDoubleBE=function(t,r){return t=t>>>0,r||M(t,8,this.length),Fe.read(this,t,!1,52,8)};function q(e,t,r,o,i,l){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<l)throw new RangeError('"value" argument is out of bounds');if(r+o>e.length)throw new RangeError("Index out of range")}u.prototype.writeUintLE=u.prototype.writeUIntLE=function(t,r,o,i){if(t=+t,r=r>>>0,o=o>>>0,!i){var l=Math.pow(2,8*o)-1;q(this,t,r,o,l,0)}var p=1,d=0;for(this[r]=t&255;++d<o&&(p*=256);)this[r+d]=t/p&255;return r+o};u.prototype.writeUintBE=u.prototype.writeUIntBE=function(t,r,o,i){if(t=+t,r=r>>>0,o=o>>>0,!i){var l=Math.pow(2,8*o)-1;q(this,t,r,o,l,0)}var p=o-1,d=1;for(this[r+p]=t&255;--p>=0&&(d*=256);)this[r+p]=t/d&255;return r+o};u.prototype.writeUint8=u.prototype.writeUInt8=function(t,r,o){return t=+t,r=r>>>0,o||q(this,t,r,1,255,0),this[r]=t&255,r+1};u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(t,r,o){return t=+t,r=r>>>0,o||q(this,t,r,2,65535,0),this[r]=t&255,this[r+1]=t>>>8,r+2};u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(t,r,o){return t=+t,r=r>>>0,o||q(this,t,r,2,65535,0),this[r]=t>>>8,this[r+1]=t&255,r+2};u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(t,r,o){return t=+t,r=r>>>0,o||q(this,t,r,4,4294967295,0),this[r+3]=t>>>24,this[r+2]=t>>>16,this[r+1]=t>>>8,this[r]=t&255,r+4};u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(t,r,o){return t=+t,r=r>>>0,o||q(this,t,r,4,4294967295,0),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=t&255,r+4};u.prototype.writeIntLE=function(t,r,o,i){if(t=+t,r=r>>>0,!i){var l=Math.pow(2,8*o-1);q(this,t,r,o,l-1,-l)}var p=0,d=1,m=0;for(this[r]=t&255;++p<o&&(d*=256);)t<0&&m===0&&this[r+p-1]!==0&&(m=1),this[r+p]=(t/d>>0)-m&255;return r+o};u.prototype.writeIntBE=function(t,r,o,i){if(t=+t,r=r>>>0,!i){var l=Math.pow(2,8*o-1);q(this,t,r,o,l-1,-l)}var p=o-1,d=1,m=0;for(this[r+p]=t&255;--p>=0&&(d*=256);)t<0&&m===0&&this[r+p+1]!==0&&(m=1),this[r+p]=(t/d>>0)-m&255;return r+o};u.prototype.writeInt8=function(t,r,o){return t=+t,r=r>>>0,o||q(this,t,r,1,127,-128),t<0&&(t=255+t+1),this[r]=t&255,r+1};u.prototype.writeInt16LE=function(t,r,o){return t=+t,r=r>>>0,o||q(this,t,r,2,32767,-32768),this[r]=t&255,this[r+1]=t>>>8,r+2};u.prototype.writeInt16BE=function(t,r,o){return t=+t,r=r>>>0,o||q(this,t,r,2,32767,-32768),this[r]=t>>>8,this[r+1]=t&255,r+2};u.prototype.writeInt32LE=function(t,r,o){return t=+t,r=r>>>0,o||q(this,t,r,4,2147483647,-2147483648),this[r]=t&255,this[r+1]=t>>>8,this[r+2]=t>>>16,this[r+3]=t>>>24,r+4};u.prototype.writeInt32BE=function(t,r,o){return t=+t,r=r>>>0,o||q(this,t,r,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=t&255,r+4};function Zn(e,t,r,o,i,l){if(r+o>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function Jn(e,t,r,o,i){return t=+t,r=r>>>0,i||Zn(e,t,r,4,34028234663852886e22,-34028234663852886e22),Fe.write(e,t,r,o,23,4),r+4}u.prototype.writeFloatLE=function(t,r,o){return Jn(this,t,r,!0,o)};u.prototype.writeFloatBE=function(t,r,o){return Jn(this,t,r,!1,o)};function Qn(e,t,r,o,i){return t=+t,r=r>>>0,i||Zn(e,t,r,8,17976931348623157e292,-17976931348623157e292),Fe.write(e,t,r,o,52,8),r+8}u.prototype.writeDoubleLE=function(t,r,o){return Qn(this,t,r,!0,o)};u.prototype.writeDoubleBE=function(t,r,o){return Qn(this,t,r,!1,o)};u.prototype.copy=function(t,r,o,i){if(!u.isBuffer(t))throw new TypeError("argument should be a Buffer");if(o||(o=0),!i&&i!==0&&(i=this.length),r>=t.length&&(r=t.length),r||(r=0),i>0&&i<o&&(i=o),i===o||t.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(o<0||o>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),t.length-r<i-o&&(i=t.length-r+o);var l=i-o;return this===t&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,o,i):Uint8Array.prototype.set.call(t,this.subarray(o,i),r),l};u.prototype.fill=function(t,r,o,i){if(typeof t=="string"){if(typeof r=="string"?(i=r,r=0,o=this.length):typeof o=="string"&&(i=o,o=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!u.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(t.length===1){var l=t.charCodeAt(0);(i==="utf8"&&l<128||i==="latin1")&&(t=l)}}else typeof t=="number"?t=t&255:typeof t=="boolean"&&(t=Number(t));if(r<0||this.length<r||this.length<o)throw new RangeError("Out of range index");if(o<=r)return this;r=r>>>0,o=o===void 0?this.length:o>>>0,t||(t=0);var p;if(typeof t=="number")for(p=r;p<o;++p)this[p]=t;else{var d=u.isBuffer(t)?t:u.from(t,i),m=d.length;if(m===0)throw new TypeError('The value "'+t+'" is invalid for argument "value"');for(p=0;p<o-r;++p)this[p+r]=d[p%m]}return this};var Ic=/[^+/0-9A-Za-z-_]/g;function bc(e){if(e=e.split("=")[0],e=e.trim().replace(Ic,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function Cr(e,t){t=t||1/0;for(var r,o=e.length,i=null,l=[],p=0;p<o;++p){if(r=e.charCodeAt(p),r>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&l.push(239,191,189);continue}else if(p+1===o){(t-=3)>-1&&l.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&l.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(t-=3)>-1&&l.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;l.push(r)}else if(r<2048){if((t-=2)<0)break;l.push(r>>6|192,r&63|128)}else if(r<65536){if((t-=3)<0)break;l.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((t-=4)<0)break;l.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return l}function kc(e){for(var t=[],r=0;r<e.length;++r)t.push(e.charCodeAt(r)&255);return t}function Ec(e,t){for(var r,o,i,l=[],p=0;p<e.length&&!((t-=2)<0);++p)r=e.charCodeAt(p),o=r>>8,i=r%256,l.push(i),l.push(o);return l}function eo(e){return Er.toByteArray(bc(e))}function Ct(e,t,r,o){for(var i=0;i<o&&!(i+r>=t.length||i>=e.length);++i)t[i+r]=e[i];return i}function le(e,t){return e instanceof t||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===t.name}function Dr(e){return e!==e}var Lc=function(){for(var e="0123456789abcdef",t=new Array(256),r=0;r<16;++r)for(var o=r*16,i=0;i<16;++i)t[o+i]=e[r]+e[i];return t}()});var so=j((vu,io)=>{n();var R=io.exports={},pe,ue;function _r(){throw new Error("setTimeout has not been defined")}function Or(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?pe=setTimeout:pe=_r}catch(e){pe=_r}try{typeof clearTimeout=="function"?ue=clearTimeout:ue=Or}catch(e){ue=Or}})();function ro(e){if(pe===setTimeout)return setTimeout(e,0);if((pe===_r||!pe)&&setTimeout)return pe=setTimeout,setTimeout(e,0);try{return pe(e,0)}catch(t){try{return pe.call(null,e,0)}catch(r){return pe.call(this,e,0)}}}function Pc(e){if(ue===clearTimeout)return clearTimeout(e);if((ue===Or||!ue)&&clearTimeout)return ue=clearTimeout,clearTimeout(e);try{return ue(e)}catch(t){try{return ue.call(null,e)}catch(r){return ue.call(this,e)}}}var Se=[],Ue=!1,Le,Rt=-1;function Cc(){!Ue||!Le||(Ue=!1,Le.length?Se=Le.concat(Se):Rt=-1,Se.length&&no())}function no(){if(!Ue){var e=ro(Cc);Ue=!0;for(var t=Se.length;t;){for(Le=Se,Se=[];++Rt<t;)Le&&Le[Rt].run();Rt=-1,t=Se.length}Le=null,Ue=!1,Pc(e)}}R.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];Se.push(new oo(e,t)),Se.length===1&&!Ue&&ro(no)};function oo(e,t){this.fun=e,this.array=t}oo.prototype.run=function(){this.fun.apply(null,this.array)};R.title="browser";R.browser=!0;R.env={};R.argv=[];R.version="";R.versions={};function we(){}R.on=we;R.addListener=we;R.once=we;R.off=we;R.removeListener=we;R.removeAllListeners=we;R.emit=we;R.prependListener=we;R.prependOnceListener=we;R.listeners=function(e){return[]};R.binding=function(e){throw new Error("process.binding is not supported")};R.cwd=function(){return"/"};R.chdir=function(e){throw new Error("process.chdir is not supported")};R.umask=function(){return 0}});var s,c,Rc,a,n=y(()=>{s=A(to()),c=A(so()),Rc=function(e){function t(){var o=this||self;return delete e.prototype.__magic__,o}if(typeof globalThis=="object")return globalThis;if(this)return t();e.defineProperty(e.prototype,"__magic__",{configurable:!0,get:t});var r=__magic__;return r}(Object),a=Rc});var ao=y(()=>{"use strict";n()});var co=y(()=>{"use strict";n()});var lo=y(()=>{"use strict";n()});var Mr,po=y(()=>{"use strict";n();Mr=(o=>(o.SetGuardian="SetGuardian",o.GuardAccount="GuardAccount",o.UnGuardAccount="UnGuardAccount",o))(Mr||{})});var uo=y(()=>{"use strict";n()});var Fr=y(()=>{"use strict";n()});var mo=y(()=>{"use strict";n()});var go=y(()=>{"use strict";n()});var fo=y(()=>{"use strict";n()});var To=y(()=>{"use strict";n()});var tt,We,Nt=y(()=>{"use strict";n();tt=require("@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider"),We=require("@multiversx/sdk-web-wallet-cross-window-provider/out/enums")});var de,yo,Ou,ho,Mu,ee=y(()=>{"use strict";n();Nt();de=(S=>(S.ledger="ledger",S.walletconnect="walletconnect",S.walletconnectv2="walletconnectv2",S.wallet="wallet",S.crossWindow="crossWindow",S.iframe="iframe",S.extension="extension",S.passkey="passkey",S.metamask="metamask",S.opera="opera",S.extra="extra",S.none="",S))(de||{}),yo=(r=>(r.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",r.reloginRequest="RELOGIN_REQUEST",r))(yo||{}),Ou=T(T({},We.WindowProviderRequestEnums),yo),ho=(t=>(t.reloginResponse="RELOGIN_RESPONSE",t))(ho||{}),Mu=T(T({},We.WindowProviderResponseEnums),ho)});var xo=y(()=>{"use strict";n()});var So=y(()=>{"use strict";n()});var z=y(()=>{"use strict";n()});var wo=y(()=>{"use strict";n()});var Ao=y(()=>{"use strict";n()});var vo=y(()=>{"use strict";n()});var H=y(()=>{"use strict";n();go();fo();To();ee();xo();So();z();wo();Ao();vo()});var Br,Io,Qu,bo,ed,ko,td,rd,nd,Eo=y(()=>{"use strict";n();H();Br={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",xAliasAddress:"https://devnet.xalias.com",apiAddress:"https://devnet-api.multiversx.com",extrasApiAddress:"https://devnet-extras-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://devnet-iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",xAliasAddress:"https://testnet.xalias.com",apiAddress:"https://testnet-api.multiversx.com",extrasApiAddress:"https://testnet-extras-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://testnet-iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",xAliasAddress:"https://xalias.com",apiAddress:"https://api.multiversx.com",extrasApiAddress:"https://extras-api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",metamaskSnapWalletAddress:"https://iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3}},{chainId:Io,egldLabel:Qu}=Br["devnet"],{chainId:bo,egldLabel:ed}=Br["testnet"],{chainId:ko,egldLabel:td}=Br["mainnet"],rd={["devnet"]:Io,["testnet"]:bo,["mainnet"]:ko},nd={[Io]:"devnet",[bo]:"testnet",[ko]:"mainnet"}});var Ur=y(()=>{"use strict";n()});var me,Lo=y(()=>{"use strict";n();me=require("@multiversx/sdk-web-wallet-provider")});var J,rt=y(()=>{"use strict";n();J=require("@multiversx/sdk-dapp-utils/out/constants/browserConstants")});var Po,Co,Wr,ld,pd,Ro=y(()=>{"use strict";n();rt();Wr=String((Co=(Po=J.safeWindow)==null?void 0:Po.navigator)==null?void 0:Co.userAgent),ld=/^((?!chrome|android).)*safari/i.test(Wr),pd=/firefox/i.test(Wr)&&/windows/i.test(Wr)});var Vr,$r,No,Dt,Do,Ve,E=y(()=>{"use strict";n();ao();co();lo();po();uo();Fr();mo();Eo();Ur();Lo();Ro();Vr=5e4,$r=1e9,No=1,Dt="logout",Do="login",Ve="0"});var $e,_t=y(()=>{"use strict";n();$e=()=>Date.now()/1e3});var _o=y(()=>{"use strict";n()});var Oo=y(()=>{"use strict";n()});var Mo=y(()=>{"use strict";n();_t();_o();Oo()});var Gr={};be(Gr,{clear:()=>Oc,getItem:()=>Dc,localStorageKeys:()=>ie,removeItem:()=>_c,setItem:()=>Nc});var ie,Ot,Nc,Dc,_c,Oc,Ge=y(()=>{"use strict";n();Mo();ie={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event",guardianBreachToastDismissTimestamp:"sdk-dapp-guardian-breach-toast-dismiss-timestamp"},Ot=typeof localStorage!="undefined",Nc=({key:e,data:t,expires:r})=>{!Ot||localStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},Dc=e=>{if(!Ot)return;let t=localStorage.getItem(String(e));if(!t)return null;let r=JSON.parse(t);return!r||!r.hasOwnProperty("expires")||!r.hasOwnProperty("data")?null:$e()>=r.expires?(localStorage.removeItem(String(e)),null):r.data},_c=e=>{!Ot||localStorage.removeItem(String(e))},Oc=()=>{!Ot||localStorage.clear()}});var Hr={};be(Hr,{clear:()=>Wo,getItem:()=>Bo,removeItem:()=>Uo,setItem:()=>Fo,storage:()=>Mc});var Fo,Bo,Uo,Wo,Mc,Vo=y(()=>{"use strict";n();Fo=({key:e,data:t,expires:r})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},Bo=e=>{let t=sessionStorage.getItem(String(e));if(!t)return null;let r=JSON.parse(t);return!r||!r.hasOwnProperty("expires")||!r.hasOwnProperty("data")?null:Date.now()>=r.expires?(sessionStorage.removeItem(String(e)),null):r.data},Uo=e=>sessionStorage.removeItem(String(e)),Wo=()=>sessionStorage.clear(),Mc={setItem:Fo,getItem:Bo,removeItem:Uo,clear:Wo}});var ge,nt=y(()=>{"use strict";n();Ge();Vo();ge={session:Hr,local:Gr}});var jr,C,Pe,K=y(()=>{"use strict";n();jr=require("@reduxjs/toolkit");E();C=(0,jr.createAction)(Dt),Pe=(0,jr.createAction)(Do,e=>({payload:e}))});var zr,$o,Go,Ce,qr,Ho,ot,jo,Kr,Vd,$d,Gd,Hd,jd,qd,zd,Kd,Mt,Ft=y(()=>{"use strict";n();zr=require("@multiversx/sdk-core"),$o=require("@reduxjs/toolkit"),Go=require("redux-persist");E();nt();Ge();K();Ce={balance:"...",address:"",isGuarded:!1,nonce:0,txCount:0,scrCount:0,claimableRewards:Ve},qr={address:"",websocketEvent:null,websocketBatchEvent:null,accounts:{"":Ce},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},Ho=(0,$o.createSlice)({name:"accountInfoSlice",initialState:qr,reducers:{setAddress:(e,t)=>{let r=t.payload;e.address=r,e.publicKey=r?new zr.Address(r).hex():""},setAccount:(e,t)=>{let r=e.address===t.payload.address;e.accounts={[e.address]:r?t.payload:Ce},e.shard=t.payload.shard,e.isAccountLoading=!1,e.accountLoadingError=null},setAccountNonce:(e,t)=>{let{address:r}=e;e.accounts[r].nonce=t.payload},setAccountShard:(e,t)=>{e.shard=t.payload},setLedgerAccount:(e,t)=>{e.ledgerAccount=t.payload},updateLedgerAccount:(e,t)=>{e.ledgerAccount!=null&&(e.ledgerAccount.index=t.payload.index,e.ledgerAccount.address=t.payload.address)},setWalletConnectAccount:(e,t)=>{e.walletConnectAccount=t.payload},setIsAccountLoading:(e,t)=>{e.isAccountLoading=t.payload,e.accountLoadingError=null},setAccountLoadingError:(e,t)=>{e.accountLoadingError=t.payload,e.isAccountLoading=!1},setWebsocketEvent:(e,t)=>{e.websocketEvent={timestamp:Date.now(),message:t.payload}},setWebsocketBatchEvent:(e,t)=>{e.websocketBatchEvent={timestamp:Date.now(),data:t.payload}}},extraReducers:e=>{e.addCase(C,()=>(ge.local.removeItem(ie.loginExpiresAt),qr)),e.addCase(Pe,(t,r)=>{let{address:o}=r.payload;t.address=o,t.publicKey=new zr.Address(o).toHex()}),e.addCase(Go.REHYDRATE,(t,r)=>{var g;if(!((g=r.payload)!=null&&g.account))return;let{account:o}=r.payload,{address:i,shard:l,accounts:p,publicKey:d}=o;t.address=i,t.shard=l;let m=p&&i in p;t.accounts=m?p:qr.accounts,t.publicKey=d})}}),{setAccount:ot,setAddress:jo,setAccountNonce:Kr,setAccountShard:Vd,setLedgerAccount:$d,updateLedgerAccount:Gd,setWalletConnectAccount:Hd,setIsAccountLoading:jd,setAccountLoadingError:qd,setWebsocketEvent:zd,setWebsocketBatchEvent:Kd}=Ho.actions,Mt=Ho.reducer});function it(){return new Date().setHours(new Date().getHours()+24)}function st(e){ge.local.setItem({key:ie.loginExpiresAt,data:e,expires:e})}var Yr=y(()=>{"use strict";n();nt();Ge()});var zo,qo,Ko,om,Yo,im,Bt,sm,am,Xo,cm,lm,pm,Ut,Wt=y(()=>{"use strict";n();zo=require("@reduxjs/toolkit");Yr();ee();K();qo={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,passkeyLogin:null,operaLogin:null,crossWindowLogin:null,iframeWindowLogin:null,isLoginSessionInvalid:!1,webviewLogin:null},Ko=(0,zo.createSlice)({name:"loginInfoSlice",initialState:qo,reducers:{setLoginMethod:(e,t)=>{e.loginMethod=t.payload},setTokenLogin:(e,t)=>{e.tokenLogin=t.payload},setTokenLoginSignature:(e,t)=>{(e==null?void 0:e.tokenLogin)!=null&&(e.tokenLogin.signature=t.payload)},setWalletLogin:(e,t)=>{e.walletLogin=t.payload},setWalletConnectLogin:(e,t)=>{e.walletConnectLogin=t.payload},setLedgerLogin:(e,t)=>{e.ledgerLogin=t.payload},setWebviewLogin:(e,t)=>{e.webviewLogin=t.payload},invalidateLoginSession:e=>{e.isLoginSessionInvalid=!0},setLogoutRoute:(e,t)=>{e.logoutRoute=t.payload},setIsWalletConnectV2Initialized:(e,t)=>{e.isWalletConnectV2Initialized=t.payload}},extraReducers:e=>{e.addCase(C,()=>qo),e.addCase(Pe,(t,r)=>{t.isLoginSessionInvalid=!1,t.loginMethod=r.payload.loginMethod,t.iframeLoginType=r.payload.iframeLoginType,st(it())})}}),{setLoginMethod:om,setWalletConnectLogin:Yo,setLedgerLogin:im,setTokenLogin:Bt,setTokenLoginSignature:sm,setWalletLogin:am,invalidateLoginSession:Xo,setLogoutRoute:cm,setIsWalletConnectV2Initialized:lm,setWebviewLogin:pm}=Ko.actions,Ut=Ko.reducer});var Jo,Zo,Qo,gm,fm,Tm,ym,Vt,$t=y(()=>{"use strict";n();Jo=require("@reduxjs/toolkit");K();Zo={},Qo=(0,Jo.createSlice)({name:"modalsSlice",initialState:Zo,reducers:{setTxSubmittedModal:(e,t)=>{e.txSubmittedModal=t.payload},setNotificationModal:(e,t)=>{e.notificationModal=t.payload},clearTxSubmittedModal:e=>{e.txSubmittedModal=void 0},clearNotificationModal:e=>{e.notificationModal=void 0}},extraReducers:e=>{e.addCase(C,()=>Zo)}}),{setTxSubmittedModal:gm,setNotificationModal:fm,clearTxSubmittedModal:Tm,clearNotificationModal:ym}=Qo.actions,Vt=Qo.reducer});var at,Gt=y(()=>{"use strict";n();at=()=>typeof window!="undefined"&&typeof(window==null?void 0:window.location)!="undefined"});var B,fe=y(()=>{"use strict";n();Gt();B=()=>{if(!at())return{pathname:"",hash:"",origin:"",href:"",search:""};let{location:{pathname:t,hash:r,origin:o,href:i,search:l}}=window;return{pathname:t,hash:r,origin:o,href:i,search:l}}});var Xr,ei=y(()=>{"use strict";n();fe();Xr=(e="")=>{let t=B(),r=e.startsWith("http")||e.startsWith("www.");return!t.origin||e.startsWith(t.origin)||r?e:`${t.origin}/${e.replace("/","")}`}});var ti=y(()=>{"use strict";n();He()});var ri,ni=y(()=>{"use strict";n();rt();ri=e=>{if(!J.safeWindow.location)return;if(!new URL(J.safeWindow.location.href).protocol.startsWith("http"))return J.safeWindow.location.reload();J.safeWindow.location.assign(e)}});var He=y(()=>{"use strict";n();ei();ti();fe();ni()});var oi,ii,Ht,Zr=y(()=>{"use strict";n();He();oi=!1,ii=(e=!0)=>{oi=e},Ht=({timeout:e=0,url:t})=>{oi||setTimeout(()=>{if(!!window)return ri(t)},e)}});function si({callbackRoute:e,onLoginRedirect:t,options:r}){let o=Boolean(e),i=typeof t=="function";if(o&&e!=null){if(i)return t(e,r);Ht({url:e,timeout:Fc})}}var Fc,ai=y(()=>{"use strict";n();Zr();Fc=200});function ci(e){return e[Math.floor(Math.random()*e.length)]}var li=y(()=>{"use strict";n()});var pi=y(()=>{"use strict";n();Fr()});var Jr=y(()=>{"use strict";n();ai();li();pi()});var ui,di,mi,Qr,Uc,gi,Ym,Xm,Zm,jt,qt=y(()=>{"use strict";n();ui=require("@reduxjs/toolkit"),di=A(require("lodash.omit")),mi=require("redux-persist");Ur();K();Jr();Qr={id:"not-configured",chainId:"",name:"NOT CONFIGURED",egldLabel:"",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"",walletConnectBridgeAddress:"",walletConnectV2RelayAddress:"",walletConnectV2ProjectId:"",walletConnectV2Options:{},walletAddress:"",apiAddress:"",explorerAddress:"",apiTimeout:"4000",roundDuration:6e3},Uc={network:Qr},gi=(0,ui.createSlice)({name:"appConfig",initialState:Uc,reducers:{initializeNetworkConfig:(e,t)=>{let r=ci(t.payload.walletConnectV2RelayAddresses),o=(0,di.default)(t.payload,"walletConnectV2RelayAddresses");e.network=v(T(T({},e.network),o),{walletConnectV2RelayAddress:r})},updateNetworkConfig:(e,t)=>{e.network=T(T({},e.network),t.payload)},setCustomWalletAddress:(e,t)=>{e.network.customWalletAddress=t.payload}},extraReducers:e=>{e.addCase(C,t=>{t.network.customWalletAddress=void 0}),e.addCase(mi.REHYDRATE,(t,r)=>{var i,l;if(!((l=(i=r.payload)==null?void 0:i.network)!=null&&l.customWalletAddress))return;let{network:{customWalletAddress:o}}=r.payload;t.network.customWalletAddress=o})}}),{initializeNetworkConfig:Ym,updateNetworkConfig:Xm,setCustomWalletAddress:Zm}=gi.actions,jt=gi.reducer});var fi,en,Ti,ng,og,ig,zt,Kt=y(()=>{"use strict";n();fi=require("@reduxjs/toolkit");H();K();en={isSigning:!1,signedSessions:{}},Ti=(0,fi.createSlice)({name:"signedMessageInfoSliceState",initialState:en,reducers:{setSignSession:(e,t)=>{let{sessionId:r,signedSession:o,errorMessage:i}=t.payload;i&&(e.errorMessage=i),e.isSigning=o.status==="pending",e.signedSessions[r]=T(T({},e.signedSessions[r]),o)},setSignSessionState:(e,t)=>T(T({},e),t.payload),clearSignedMessageInfo:()=>en},extraReducers:e=>{e.addCase(C,()=>en)}}),{setSignSession:ng,clearSignedMessageInfo:og,setSignSessionState:ig}=Ti.actions,zt=Ti.reducer});var hi,xi,yi,Si,dg,mg,gg,fg,Yt,Xt=y(()=>{"use strict";n();hi=require("@reduxjs/toolkit"),xi=require("redux-persist");H();_t();K();yi={customToasts:[],transactionToasts:[]},Si=(0,hi.createSlice)({name:"toastsSlice",initialState:yi,reducers:{addCustomToast:(e,t)=>{let r=t.payload.toastId||`custom-toast-${e.customToasts.length+1}`,o=e.customToasts.findIndex(i=>i.toastId===r);if(o!==-1){e.customToasts[o]=v(T(T({},e.customToasts[o]),t.payload),{type:"custom",toastId:r});return}e.customToasts.push(v(T({},t.payload),{type:"custom",toastId:r}))},removeCustomToast:(e,t)=>{e.customToasts=e.customToasts.filter(r=>r.toastId!==t.payload)},addTransactionToast:(e,t)=>{e.transactionToasts.push({type:"transaction",startTimestamp:$e(),toastId:t.payload||`custom-toast-${e.transactionToasts.length+1}`})},removeTransactionToast:(e,t)=>{e.transactionToasts=e.transactionToasts.filter(r=>r.toastId!==t.payload)}},extraReducers:e=>{e.addCase(C,()=>yi),e.addCase(xi.REHYDRATE,(t,r)=>{var i,l;let o=(l=(i=r.customToasts)==null?void 0:i.filter(p=>!("component"in p)))!=null?l:[];t.customToasts=o})}}),{addCustomToast:dg,removeCustomToast:mg,addTransactionToast:gg,removeTransactionToast:fg}=Si.actions,Yt=Si.reducer});var wi,rn,nn,on,Wc,tn,Ai,xg,Sg,wg,Zt,Jt=y(()=>{"use strict";n();wi=require("@reduxjs/toolkit");K();rn="Transaction failed",nn="Transaction successful",on="Processing transaction",Wc="Transaction submitted",tn={},Ai=(0,wi.createSlice)({name:"transactionsInfo",initialState:tn,reducers:{setTransactionsDisplayInfo(e,t){let{sessionId:r,transactionsDisplayInfo:o}=t.payload;r!=null&&(e[r]={errorMessage:(o==null?void 0:o.errorMessage)||rn,successMessage:(o==null?void 0:o.successMessage)||nn,processingMessage:(o==null?void 0:o.processingMessage)||on,submittedMessage:(o==null?void 0:o.submittedMessage)||Wc,transactionDuration:o==null?void 0:o.transactionDuration})},clearTransactionsInfoForSessionId(e,t){t.payload!=null&&delete e[t.payload]},clearTransactionsInfo:()=>tn},extraReducers:e=>{e.addCase(C,()=>tn)}}),{clearTransactionsInfo:xg,setTransactionsDisplayInfo:Sg,clearTransactionsInfoForSessionId:wg}=Ai.actions,Zt=Ai.reducer});function vi(e){return e!=null&&(Zc(e)||rl(e))}function Qt(e){return e!=null&&(Jc(e)||nl(e))}function er(e){return e!=null&&(Qc(e)||ol(e))}function Ii(e){return e!=null&&(el(e)||il(e))}function bi(e){return e!=null&&tl(e)}function Zc(e){return e!=null&&$c.includes(e)}function Jc(e){return e!=null&&Gc.includes(e)}function Qc(e){return e!=null&&Hc.includes(e)}function el(e){return e!=null&&jc.includes(e)}function tl(e){return e!=null&&qc.includes(e)}function rl(e){return e!=null&&zc.includes(e)}function nl(e){return e!=null&&Kc.includes(e)}function ol(e){return e!=null&&Yc.includes(e)}function il(e){return e!=null&&Xc.includes(e)}var $c,Gc,Hc,jc,qc,zc,Kc,Yc,Xc,an=y(()=>{"use strict";n();ee();$c=["sent"],Gc=["success"],Hc=["fail","cancelled","timedOut"],jc=["invalid"],qc=["timedOut"],zc=["pending"],Kc=["success"],Yc=["fail","invalid"],Xc=["not executed"]});var ki,Ei,ct,sl,Li,Cg,Rg,Ng,Dg,_g,Og,Mg,Fg,Bg,Ug,Wg,tr,rr=y(()=>{"use strict";n();ki=require("@reduxjs/toolkit"),Ei=require("redux-persist");ee();an();K();ct={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},sl={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},Li=(0,ki.createSlice)({name:"transactionsSlice",initialState:ct,reducers:{moveTransactionsToSignedState:(e,t)=>{var m,g;let{sessionId:r,transactions:o,errorMessage:i,status:l,redirectRoute:p,customTransactionInformation:d}=t.payload;e.customTransactionInformationForSessionId[r]=T(T(T({},sl),((m=e.signedTransactions[r])==null?void 0:m.customTransactionInformation)||{}),e.customTransactionInformationForSessionId[r]||{}),e.signedTransactions[r]={transactions:o,status:l,errorMessage:i,redirectRoute:p,customTransactionInformation:T(T({},e.customTransactionInformationForSessionId[r]),d!=null?d:{})},((g=e==null?void 0:e.transactionsToSign)==null?void 0:g.sessionId)===r&&(e.transactionsToSign=ct.transactionsToSign)},clearSignedTransaction:(e,t)=>{e.signedTransactions[t.payload]&&delete e.signedTransactions[t.payload]},clearTransactionToSign:e=>{e!=null&&e.transactionsToSign&&(e.transactionsToSign=null)},updateSignedTransaction:(e,t)=>{e.signedTransactions=T(T({},e.signedTransactions),t.payload)},updateSignedTransactions:(e,t)=>{let{sessionId:r,status:o,errorMessage:i,transactions:l}=t.payload;e.signedTransactions[r]!=null&&(e.signedTransactions[r].status=o,i!=null&&(e.signedTransactions[r].errorMessage=i),l!=null&&(e.signedTransactions[r].transactions=l))},updateSignedTransactionStatus:(e,t)=>{var g,x,f,S,b,k,P,W;let{sessionId:r,status:o,errorMessage:i,transactionHash:l,serverTransaction:p,inTransit:d}=t.payload,m=(x=(g=e.signedTransactions)==null?void 0:g[r])==null?void 0:x.transactions;if(m!=null){e.signedTransactions[r].transactions=m.map(O=>O.hash===l?v(T(T({},p!=null?p:{}),O),{status:o,errorMessage:i,inTransit:d}):O);let V=(S=(f=e.signedTransactions[r])==null?void 0:f.transactions)==null?void 0:S.every(O=>Qt(O.status)),$=(k=(b=e.signedTransactions[r])==null?void 0:b.transactions)==null?void 0:k.some(O=>er(O.status)),ne=(W=(P=e.signedTransactions[r])==null?void 0:P.transactions)==null?void 0:W.every(O=>Ii(O.status));V&&(e.signedTransactions[r].status="success"),$&&(e.signedTransactions[r].status="fail"),ne&&(e.signedTransactions[r].status="invalid")}},setTransactionsToSign:(e,t)=>{e.transactionsToSign=t.payload;let{sessionId:r,customTransactionInformation:o}=t.payload;e.customTransactionInformationForSessionId[r]=o,e.signTransactionsError=null},clearAllTransactionsToSign:e=>{e.transactionsToSign=ct.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=ct.signedTransactions},setSignTransactionsError:(e,t)=>{e.signTransactionsError=t.payload},setSignTransactionsCancelMessage:(e,t)=>{e.signTransactionsCancelMessage=t.payload},updateSignedTransactionsCustomTransactionInformation:(e,t)=>{let{sessionId:r,customTransactionInformationOverrides:o}=t.payload;e.signedTransactions[r]!=null&&(e.signedTransactions[r].customTransactionInformation=T(T({},e.signedTransactions[r].customTransactionInformation),o))}},extraReducers:e=>{e.addCase(C,()=>ct),e.addCase(Ei.REHYDRATE,(t,r)=>{var p;if(t.signTransactionsCancelMessage=null,!((p=r.payload)!=null&&p.transactions))return;let{signedTransactions:o,customTransactionInformationForSessionId:i}=r.payload.transactions,l=Object.entries(o).reduce((d,[m,g])=>{let x=new Date(m),f=new Date;return f.setHours(f.getHours()+5),f-x>0||(d[m]=g),d},{});i!=null&&(t.customTransactionInformationForSessionId=i),o!=null&&(t.signedTransactions=l)})}}),{updateSignedTransactionStatus:Cg,updateSignedTransactions:Rg,setTransactionsToSign:Ng,clearAllTransactionsToSign:Dg,clearAllSignedTransactions:_g,clearSignedTransaction:Og,clearTransactionToSign:Mg,setSignTransactionsError:Fg,setSignTransactionsCancelMessage:Bg,moveTransactionsToSignedState:Ug,updateSignedTransactionsCustomTransactionInformation:Wg}=Li.actions,tr=Li.reducer});var Pi,cn,Ci,Hg,jg,qg,zg,nr,or=y(()=>{"use strict";n();Pi=require("@reduxjs/toolkit");K();cn={},Ci=(0,Pi.createSlice)({name:"batchTransactionsSlice",initialState:cn,reducers:{setBatchTransactions:(e,t)=>{e[t.payload.id]=t.payload},updateBatchTransactions:(e,t)=>{e[t.payload.id]=t.payload},clearBatchTransactions:(e,t)=>{delete e[t.payload.batchId]},clearAllBatchTransactions:()=>cn},extraReducers:e=>{e.addCase(C,()=>cn)}}),{setBatchTransactions:Hg,updateBatchTransactions:jg,clearBatchTransactions:qg,clearAllBatchTransactions:zg}=Ci.actions,nr=Ci.reducer});var Ni,Ri,Di,Zg,_i,ln=y(()=>{"use strict";n();Ni=require("@reduxjs/toolkit");K();Ri={},Di=(0,Ni.createSlice)({name:"dappConfigSlice",initialState:Ri,reducers:{setDappConfig:(e,t)=>t.payload},extraReducers:e=>{e.addCase(C,()=>Ri)}}),{setDappConfig:Zg}=Di.actions,_i=Di.reducer});var Te=y(()=>{"use strict";n();Ft();Wt();$t();qt();Kt();Xt();Jt();rr();or();ln()});var pn=y(()=>{"use strict";n()});var Fi,pl,ul,Re,ar=y(()=>{"use strict";n();Fi=require("@reduxjs/toolkit");pn();Ft();or();ln();Wt();$t();qt();Kt();Xt();Jt();rr();pl={["account"]:Mt,["dappConfig"]:_i,["loginInfo"]:Ut,["modals"]:Vt,["networkConfig"]:jt,["signedMessageInfo"]:zt,["toasts"]:Yt,["transactionsInfo"]:Zt,["transactions"]:tr,["batchTransactions"]:nr},ul=(e={})=>(0,Fi.combineReducers)(T(T({},pl),e)),Re=ul});var Vi={};be(Vi,{default:()=>El,sessionStorageReducers:()=>un});function Ae(e,t=[]){return{key:e,version:1,storage:Ui.default,blacklist:t}}var Y,Bi,Ui,dl,lt,ml,gl,fl,Tl,yl,hl,xl,Sl,wl,Al,Wi,vl,un,Il,bl,kl,El,$i=y(()=>{"use strict";n();Y=require("redux-persist"),Bi=A(require("redux-persist/lib/storage")),Ui=A(require("redux-persist/lib/storage/session"));ar();Te();Ft();or();Wt();$t();qt();Kt();Xt();Jt();rr();pn();dl={persistReducersStorageType:"localStorage"},lt={["account"]:"sdk-dapp-account",["loginInfo"]:"sdk-dapp-login-info",["modals"]:"sdk-dapp-modals",["networkConfig"]:"sdk-dapp-network-config"},ml=Ae(lt["account"]),gl=Ae(lt["loginInfo"]),fl=Ae(lt["modals"]),Tl=Ae(lt["networkConfig"]),yl={2:e=>v(T({},e),{networkConfig:Qr})};hl=Ae("sdk-dapp-transactionsInfo"),xl=Ae("sdk-dapp-transactions",["transactionsToSign"]),Sl=Ae("sdk-dapp-batchTransactions",["batchTransactions"]),wl=Ae("sdk-dapp-toasts"),Al=Ae("sdk-dapp-signedMessageInfo"),Wi={key:"sdk-dapp-store",version:2,storage:Bi.default,whitelist:Object.keys(lt),migrate:(0,Y.createMigrate)(yl,{debug:!1})},vl=v(T({},Wi),{whitelist:[]}),un={["toasts"]:(0,Y.persistReducer)(wl,Yt),["transactions"]:(0,Y.persistReducer)(xl,tr),["transactionsInfo"]:(0,Y.persistReducer)(hl,Zt),["batchTransactions"]:(0,Y.persistReducer)(Sl,nr),["signedMessageInfo"]:(0,Y.persistReducer)(Al,zt)},Il=v(T({},un),{["account"]:(0,Y.persistReducer)(ml,Mt),["loginInfo"]:(0,Y.persistReducer)(gl,Ut),["modals"]:(0,Y.persistReducer)(fl,Vt),["networkConfig"]:(0,Y.persistReducer)(Tl,jt)}),bl=dl.persistReducersStorageType==="localStorage",kl=bl?(0,Y.persistReducer)(Wi,Re(un)):(0,Y.persistReducer)(vl,Re(Il)),El=kl});var Gi={};be(Gi,{default:()=>Ll});var Ll,Hi=y(()=>{"use strict";n();ar();Ll=Re()});var ji={};be(ji,{default:()=>Cl});var te,Pl,Cl,qi=y(()=>{"use strict";n();te=require("redux-persist"),Pl=[te.FLUSH,te.REHYDRATE,te.PAUSE,te.PERSIST,te.PURGE,te.REGISTER],Cl=Pl});var Yi={};be(Yi,{default:()=>Ki});function Ki(e){return(0,zi.persistStore)(e)}var zi,Xi=y(()=>{"use strict";n();zi=require("redux-persist")});var Ws=j((d0,Us)=>{n();function Pp(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}Us.exports=Pp});var pa=j((ME,la)=>{n();var jp=typeof a=="object"&&a&&a.Object===Object&&a;la.exports=jp});var da=j((FE,ua)=>{n();var qp=pa(),zp=typeof self=="object"&&self&&self.Object===Object&&self,Kp=qp||zp||Function("return this")();ua.exports=Kp});var kn=j((BE,ma)=>{n();var Yp=da(),Xp=Yp.Symbol;ma.exports=Xp});var ya=j((UE,Ta)=>{n();var ga=kn(),fa=Object.prototype,Zp=fa.hasOwnProperty,Jp=fa.toString,wt=ga?ga.toStringTag:void 0;function Qp(e){var t=Zp.call(e,wt),r=e[wt];try{e[wt]=void 0;var o=!0}catch(l){}var i=Jp.call(e);return o&&(t?e[wt]=r:delete e[wt]),i}Ta.exports=Qp});var xa=j((WE,ha)=>{n();var eu=Object.prototype,tu=eu.toString;function ru(e){return tu.call(e)}ha.exports=ru});var va=j((VE,Aa)=>{n();var Sa=kn(),nu=ya(),ou=xa(),iu="[object Null]",su="[object Undefined]",wa=Sa?Sa.toStringTag:void 0;function au(e){return e==null?e===void 0?su:iu:wa&&wa in Object(e)?nu(e):ou(e)}Aa.exports=au});var ba=j(($E,Ia)=>{n();var cu=Array.isArray;Ia.exports=cu});var Ea=j((GE,ka)=>{n();function lu(e){return e!=null&&typeof e=="object"}ka.exports=lu});var Pa=j((HE,La)=>{n();var pu=va(),uu=ba(),du=Ea(),mu="[object String]";function gu(e){return typeof e=="string"||!uu(e)&&du(e)&&pu(e)==mu}La.exports=gu});var hu={};be(hu,{WalletConnectV2Error:()=>Fa,useWalletConnectV2Login:()=>yu});module.exports=et(hu);n();var Z=require("react");n();n();n();var rs=require("react"),je=require("react-redux");n();var dn=require("@reduxjs/toolkit"),es=require("react-redux/lib/utils/Subscription");Te();n();var Oi=A(require("lodash.throttle"));E();Te();Yr();nt();Ge();var al=[Dt],ir=!1,cl=(0,Oi.default)(()=>{st(it())},5e3),Mi=e=>t=>r=>{if(al.includes(r.type))return t(r);let o=e.getState(),i=ge.local.getItem(ie.loginExpiresAt);if(!Boolean(o==null?void 0:o.account.address))return t(r);if(i==null)return st(it()),t(r);let p=Date.now();return i-p<0&&!ir?setTimeout(()=>{ir=!0,e.dispatch(Xo())},1e3):(ir&&(ir=!1),cl()),t(r)};n();n();function sr(){return typeof sessionStorage!="undefined"}var Zi=sr()?($i(),et(Vi)).default:(Hi(),et(Gi)).default,Ji=sr()?(qi(),et(ji)).default:[],Qi=sr()?(Xi(),et(Yi)).default:e=>e;ar();var L=(0,dn.configureStore)({reducer:Zi,middleware:e=>e({serializableCheck:{ignoredActions:[...Ji,Kr.type,ot.type],ignoredPaths:["payload.nonce","account.account.nonce","providers.accountProvider"]}}).concat(Mi)}),ts=(0,es.createSubscription)(L),Xf=Qi(L),Zf=(0,dn.configureStore)({reducer:Re});var Rl={store:L,subscription:ts},mn=(0,rs.createContext)(Rl),tT=(0,je.createStoreHook)(mn),cr=(0,je.createDispatchHook)(mn),F=(0,je.createSelectorHook)(mn);n();n();Te();n();var ns=A(require("lodash.isequal")),lr=require("reselect"),h=(0,lr.createSelectorCreator)(lr.defaultMemoize,ns.default);var ye=e=>e.account,pt=h(ye,e=>e.address),qe=h(ye,pt,(e,t)=>t in e.accounts?e.accounts[t]:Ce),Nl=h(ye,qe,(e,t)=>{let i=e,{accounts:r}=i,o=Fn(i,["accounts"]);return v(T({},o),{address:t.address,account:t})}),sT=h(qe,e=>e.balance),Dl=h(qe,e=>{var t;return((t=e==null?void 0:e.nonce)==null?void 0:t.valueOf())||0}),aT=h(ye,e=>e.shard),cT=h(ye,e=>e.ledgerAccount),lT=h(ye,e=>e.walletConnectAccount),pT=h(ye,e=>e.isAccountLoading),uT=h(ye,e=>e.accountLoadingError),_l=h(ye,e=>e.websocketEvent),Ol=h(ye,e=>e.websocketBatchEvent);n();var Ml=e=>e.dappConfig,gT=h(Ml,e=>e.shouldUseWebViewProvider);n();var X=e=>e.loginInfo,os=h(X,e=>e.loginMethod),ut=h(X,pt,(e,t)=>Boolean(t)),hT=h(X,e=>e.walletConnectLogin),xT=h(X,e=>e.ledgerLogin),is=h(X,e=>e.walletLogin),ST=h(X,e=>e.isLoginSessionInvalid),ss=h(X,e=>e.tokenLogin),as=h(X,e=>e.logoutRoute),Fl=h(X,e=>e.isWalletConnectV2Initialized);n();var cs=e=>e.modals,vT=h(cs,e=>e.txSubmittedModal),IT=h(cs,e=>e.notificationModal);n();var ve=e=>e.networkConfig,ls=h(ve,e=>e.network.chainId),ET=h(ve,e=>e.network.roundDuration),LT=h(ve,e=>e.network.walletConnectBridgeAddress),ps=h(ve,e=>e.network.walletConnectV2RelayAddress),us=h(ve,e=>e.network.walletConnectV2ProjectId),ds=h(ve,e=>e.network.walletConnectV2Options),ms=h(ve,e=>e.network.walletConnectDeepLink),Ne=h(ve,e=>e.network),Bl=h(Ne,e=>e.apiAddress),gs=h(Ne,e=>e.explorerAddress),PT=h(Ne,e=>{var t;return(t=e.customWalletAddress)!=null?t:e.walletAddress}),CT=h(Ne,e=>e.xAliasAddress),RT=h(Ne,e=>e.egldLabel);n();var pr=e=>e.signedMessageInfo,_T=h(pr,e=>e.isSigning),OT=h(pr,e=>e.errorMessage),MT=h(pr,e=>{let t=Object.keys(e.signedSessions),r=t.length;return e.signedSessions[t[r-1]]}),FT=h(pr,e=>{let t=Object.keys(e.signedSessions),r=t.length;return t.length>0?t[r-1]:""});n();var fs=e=>e.toasts,WT=h(fs,e=>e.customToasts),VT=h(fs,e=>e.transactionToasts);n();Te();var Ts={errorMessage:rn,successMessage:nn,processingMessage:on},Ul=e=>e.transactionsInfo,jT=h(Ul,(e,t)=>t,(e,t)=>t!=null&&(e==null?void 0:e[Number(t)])||Ts);n();n();var _e=require("@multiversx/sdk-core");E();n();n();n();function ur(e){try{let t=atob(e),r=btoa(t),o=s.Buffer.from(e,"base64").toString(),i=s.Buffer.from(o).toString("base64"),l=e===r||r.startsWith(e),p=e===i||i.startsWith(e);if(l&&p)return!0}catch(t){return!1}return!1}function De(e){return ur(e)?atob(e):e}n();n();n();n();var ys=e=>{let t=e!=null?e:"";return ur(t)?s.Buffer.from(s.Buffer.from(t,"base64").toString().trim()):s.Buffer.from(t.trim())};n();E();var dr=({data:e,onlySetGuardian:t})=>e?t?e.startsWith("SetGuardian"):Object.values(Mr).some(r=>e.startsWith(r)):!1;function gn(e){var o,i,l;let t=T({},e);dr({data:t.data,onlySetGuardian:!0})&&(delete t.senderUsername,delete t.receiverUsername);let r=new _e.Transaction(T(T(v(T(v(T(T({value:BigInt(t.value.valueOf()),data:ys(t.data),nonce:BigInt(t.nonce.valueOf()),receiver:new _e.Address(t.receiver)},t.receiverUsername?{receiverUsername:t.receiverUsername}:{}),t.relayer?{relayer:new _e.Address(t.relayer)}:{}),{sender:new _e.Address(t.sender)}),t.senderUsername?{senderUsername:t.senderUsername}:{}),{gasLimit:BigInt((o=t.gasLimit.valueOf())!=null?o:Vr),gasPrice:BigInt((i=t.gasPrice.valueOf())!=null?i:$r),chainID:t.chainID.valueOf(),version:(l=t.version)!=null?l:No}),t.options?{options:t.options}:{}),t.guardian?{guardian:new _e.Address(t.guardian)}:{}));return t.relayerSignature&&(r.relayerSignature=s.Buffer.from(t.relayerSignature,"hex")),t.guardianSignature&&(r.guardianSignature=s.Buffer.from(t.guardianSignature,"hex")),t.signature&&(r.signature=s.Buffer.from(t.signature,"hex")),r}n();n();E();n();n();n();var Gl=require("@multiversx/sdk-core");n();E();n();var jl=require("@multiversx/sdk-core");H();n();var hs=require("@multiversx/sdk-core");function Hl(e){try{return hs.Address.isValid(e)}catch(t){return!1}}function dt(e){return/^\w+$/.test(e)&&Hl(e)}n();n();n();var ql=require("@multiversx/sdk-core"),zl=A(require("bignumber.js"));ee();n();n();n();var fn="blocks";n();n();n();n();z();n();n();z();n();n();n();var Ql=A(require("bignumber.js"));E();n();var Jl=require("@multiversx/sdk-core"),Tn=A(require("bignumber.js"));E();n();var Xl=A(require("bignumber.js"));n();Tn.default.config({ROUNDING_MODE:Tn.default.ROUND_FLOOR});n();n();n();E();n();n();n();n();E();n();E();n();var ep=require("@multiversx/sdk-core"),tp=A(require("bignumber.js"));E();n();var hn=require("@multiversx/sdk-core"),np=A(require("bignumber.js"));E();n();n();var rp=A(require("bignumber.js"));E();n();E();n();n();n();n();n();n();E();n();E();n();E();n();z();var ip=["reDelegateRewards","claimRewards","unBond"],sp=["wrapEgld","unwrapEgld"],ap=["unStake"],cp=["unDelegate"];n();n();n();E();n();var up=A(require("bignumber.js"));n();n();z();n();var mp=A(require("bignumber.js"));n();n();n();n();var fp=A(require("bignumber.js"));H();n();n();var Tp=require("@multiversx/sdk-core");n();n();ee();n();var xp=require("@multiversx/sdk-web-wallet-provider");E();n();var hp=A(require("qs"));n();He();Gt();n();Gt();var Pw={search:at()?window.location.search:"",removeParams:[]};n();n();n();fe();n();z();n();n();fe();n();var Sp=A(require("linkifyjs"));n();E();n();var wp=A(require("bignumber.js"));n();H();n();n();ee();n();ee();n();n();n();z();n();z();n();var Ap=A(require("bignumber.js"));E();z();n();z();n();var bs=require("react");H();n();n();z();n();n();var vp=require("@multiversx/sdk-core"),Ip=A(require("bignumber.js"));z();n();H();n();n();H();var Av=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}];n();var ks=require("react");H();fe();n();var kp=require("react");z();var Cv=["create","localMint","ESDTLocalMint","addQuantity","burn","localBurn","ESDTLocalBurn","wipe","writeLog","signalError"];an();n();var gr=e=>e.transactions,ft=h(gr,e=>e.signedTransactions),SI=h(gr,e=>e.signTransactionsError),wI=h(gr,e=>e.signTransactionsCancelMessage),fr=e=>t=>Object.entries(t).reduce((r,[o,i])=>(e(i.status)&&(r[o]=i),r),{}),AI=h(ft,fr(vi)),vI=h(ft,fr(Qt)),II=h(ft,fr(er)),bI=h(ft,fr(bi)),kI=h(gr,e=>{var t;return(e==null?void 0:e.transactionsToSign)==null?null:v(T({},e.transactionsToSign),{transactions:((t=e==null?void 0:e.transactionsToSign)==null?void 0:t.transactions.map(r=>gn(r)))||[]})}),EI=h(ft,(e,t)=>t,(e,t)=>t!=null?(e==null?void 0:e[t])||{}:{});var Sn=()=>F(qe);n();n();n();n();n();var Es=require("@multiversx/sdk-extension-provider"),Ls=require("@multiversx/sdk-hw-provider"),Ps=require("@multiversx/sdk-metamask-provider/out/metamaskProvider"),Cs=require("@multiversx/sdk-opera-provider"),Rs=require("@multiversx/sdk-passkey-provider/out"),Ns=require("@multiversx/sdk-web-wallet-provider");E();Nt();n();var Tt=require("@multiversx/sdk-web-wallet-iframe-provider/out"),Ep=require("@multiversx/sdk-web-wallet-iframe-provider/out/constants");ee();n();var Tr={},yr=ze;var re=e=>{switch(e==null?void 0:e.constructor){case Ns.WalletProvider:return"wallet";case yr:return"walletconnectv2";case Ls.HWProvider:return"ledger";case Es.ExtensionProvider:return"extension";case Rs.PasskeyProvider:return"passkey";case Ps.MetamaskProvider:return"metamask";case Cs.OperaProvider:return"opera";case tt.CrossWindowProvider:return"crossWindow";case Tt.IframeProvider:return"iframe";case ze:return"";default:return"extra"}};var se=e=>`Unable to perform ${e}, Provider not initialized`,ze=class{init(){return Promise.resolve(!1)}getAccount(){throw new Error(se("getAccount"))}setAccount(t){throw new Error(se(`setAccount: ${t}`))}login(t){throw new Error(se(`login with options: ${t}`))}logout(t){throw new Error(se(`logout with options: ${t}`))}getAddress(){throw new Error(se("getAddress"))}isInitialized(){return!1}isConnected(){return!1}sendTransaction(t,r){throw new Error(se(`sendTransaction with transactions: ${t} options: ${r}`))}signTransaction(t,r){throw new Error(se(`signTransaction with transactions: ${t} options: ${r}`))}signTransactions(t,r){throw new Error(se(`signTransactions with transactions: ${t} options: ${r}`))}signMessage(t,r){throw new Error(se(`signTransactions with ${t} and options ${r}`))}sendCustomMessage({method:t,params:r}){throw new Error(se(`sendCustomMessage with method: ${t} params: ${r}`))}sendCustomRequest(t){throw new Error(se(`sendSessionEvent with options: ${t}`))}ping(){return Promise.resolve(!1)}},yt=new ze;var Ds=yt;function _s(e){Ds=e}function ae(){return Ds||yt}var Os=()=>{let e=ae(),t=re(e);return{provider:e,providerType:t}};n();n();n();n();n();n();n();var ht=A(require("react"));var xb=(0,ht.createContext)({}),Sb=L.getState();n();var Fs=A(require("react"));n();var wn=A(require("react")),Lp=A(require("axios"));n();n();n();var hr=require("react");function Bs(e,t=[]){let r=(0,hr.useRef)(!0);(0,hr.useEffect)(()=>{r.current?r.current=!1:e()},t)}K();Te();ee();n();n();var Hs=A(Ws());rt();var Vs,$s,Gs,Cp=(Gs=($s=(Vs=J.safeWindow)==null?void 0:Vs.location)==null?void 0:$s.origin)==null?void 0:Gs.includes("localhost"),js=e=>{if(!(0,Hs.default)(e))return Boolean(e);let r=T({},e);return Boolean(Cp)&&delete r.origin,Object.keys(r).length>0};n();function An(){return ut(L.getState())}Jr();n();rt();K();H();n();function qs(e,t){if(!e){typeof console!="undefined"&&console.warn(t);try{throw new Error(t)}catch(r){}}}function zs(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[r,o]=Rp(e.path,e.caseSensitive,e.end),i=t.match(r);if(!i)return null;let l=i[0],p=l.replace(/(.)\/+$/,"$1"),d=i.slice(1);return{params:o.reduce((g,x,f)=>{if(x==="*"){let S=d[f]||"";p=l.slice(0,l.length-S.length).replace(/(.)\/+$/,"$1")}return g[x]=Np(d[f]||"",x),g},{}),pathname:l,pathnameBase:p,pattern:e}}function Rp(e,t=!1,r=!0){qs(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let o=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/:(\w+)/g,(p,d)=>(o.push(d),"([^\\/]+)"));return e.endsWith("*")?(o.push("*"),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):i+=r?"\\/*$":"(?:(?=[.~-]|%[0-9A-F]{2})|\\b|\\/|$)",[new RegExp(i,t?void 0:"i"),o]}function Np(e,t){try{return decodeURIComponent(e)}catch(r){return qs(!1,`The value for the URL param "${t}" will not be decoded because the string "${e}" is a malformed URL segment. This is probably due to a bad percent encoding (${r}).`),e}}n();n();fe();var Ks=()=>{let{search:e}=B(),t=new URLSearchParams(e),r=Object.fromEntries(t),o=r==null?void 0:r.address;return dt(o)?o:null};n();n();n();n();n();var Ys=require("@lifeomic/axios-fetch"),vn=A(require("axios")),In=(0,Ys.buildAxiosFetch)(vn.default),bn=(e,t)=>w(void 0,null,function*(){if(!e.ok)throw new Error(`HTTP error! Status: ${e.status}`);let o=e.clone().json(),[i]=yield Promise.all([o]);return{data:i,status:e.status,statusText:e.statusText,headers:e.headers,config:t}});function Dp(e,t,r){return w(this,null,function*(){try{let o=yield In(e,T({method:"POST",body:t?JSON.stringify(t):void 0,headers:T({"Content-Type":"application/json"},(r==null?void 0:r.headers)||{})},r));return bn(o,r)}catch(o){throw console.error("Fetch Error:",o),o}})}function _p(e,t){return w(this,null,function*(){try{let r=yield In(e,t);if(!r.ok)throw new Error(`HTTP error! Status: ${r.status}`);return bn(r,t)}catch(r){throw console.error("Fetch Error:",r),r}})}function Op(e,t,r){return w(this,null,function*(){try{let o=yield In(e,T({method:"PATCH",body:t?JSON.stringify(t):void 0,headers:(r==null?void 0:r.headers)||{}},r));if(!o.ok)throw new Error(`HTTP error! Status: ${o.status}`);return bn(o,r)}catch(o){throw console.error("Fetch Error:",o),o}})}var xt=vn.default.create();xt.get=_p;xt.post=Dp;xt.patch=Op;n();n();var Mp=A(require("axios"));n();var Bp=A(require("swr"));n();n();function Xs(){let e=ae();return re(e)}n();ee();n();function St(e){return Xs()===e}function xr(){let e=L.getState(),t=ae(),r=pt(e),o=ut(e),i=is(e);if(!t)throw"provider not initialized";return St("ledger")&&o?new Promise(l=>{l(r)}):!St("")&&!St("wallet")&&!St("extra")?t.getAddress():new Promise(l=>{let p=Ks();i!=null&&p&&l(p),o&&l(r),l("")})}n();n();n();fe();var Zs=()=>{let{search:e}=B(),t=new URLSearchParams(e),r=Object.fromEntries(t);return r==null?void 0:r.accessToken};var Js=()=>{var r;let e=Zs(),t=X(L.getState());return e!=null?e:(r=t.webviewLogin)==null?void 0:r.data};n();K();H();n();Te();n();Te();n();var Qs=require("@multiversx/sdk-core");H();He();Zr();nt();Ge();He();var ea=({callbackUrl:e,onRedirect:t})=>{typeof t=="function"?t(e):e&&Ht({url:e})},Wp=e=>{let t=ge.local.getItem(ie.logoutEvent),{data:r}=t?JSON.parse(t):{data:e};e===r&&(ge.local.setItem({key:ie.logoutEvent,data:e,expires:0}),ge.local.removeItem(ie.logoutEvent))},Vp=500;function ta(i,l){return w(this,arguments,function*(e,t,r=Boolean(Js()),o={shouldBroadcastLogoutAcrossTabs:!0,hasConsentPopup:!1}){var W,V,$;let p=yield xr(),d=ae(),m=re(d),g=m==="wallet",x=m==="extra",f=((W=d==null?void 0:d.isInitialized)==null?void 0:W.call(d))===!0;if(r&&(d==null?void 0:d.relogin)!=null)return d.relogin();p&&o.shouldBroadcastLogoutAcrossTabs&&Wp(p);let S=Xr(e),b=B(),{pathname:k,origin:P}=new URL(decodeURIComponent(S));if((zs(b.pathname,k)||g&&f||((V=J.safeWindow)==null?void 0:V.opener)&&P===(($=J.safeWindow)==null?void 0:$.origin))&&ii(),!p)return ea({callbackUrl:S,onRedirect:t});try{if(L.dispatch(C()),g&&f)return setTimeout(()=>{d.logout({callbackUrl:S})},Vp);o.hasConsentPopup&&m==="crossWindow"&&d.setShouldShowConsentPopup(!0),f&&(yield d.logout({callbackUrl:S}))}catch(ne){console.error("Logging out error:",ne)}finally{g||x||ea({callbackUrl:S,onRedirect:t})}})}n();var ra=({maxRetries:e})=>new Promise((t,r)=>{let o=0,i=()=>{let l=ls(L.getState());if(l){t(l);return}if(o<e){o++,setTimeout(i,1e3);return}r(null)};i()});fe();n();n();Nt();H();var na=e=>(Object.values(de).forEach(t=>{if(t!==(e==null?void 0:e.skipLoginMethod))switch(t){case"crossWindow":{let r=tt.CrossWindowProvider.getInstance();r.isInitialized()&&r.dispose();break}case"iframe":{let r=Tt.IframeProvider.getInstance();r.isInitialized()&&r.dispose();break}default:break}}),null);n();var Oa=require("react"),wr=require("@multiversx/sdk-core");Te();n();n();var _a=require("@multiversx/sdk-native-auth-client");n();var aa=A(require("axios"));n();n();n();function oa(e){return w(this,null,function*(){return yield new Promise(t=>{setTimeout(()=>t(),e)})})}n();var ia=(e,t,r,o=0)=>w(void 0,null,function*(){try{return yield e(...r)}catch(i){return o<t.retries?((t==null?void 0:t.delay)!=null&&(yield oa(t.delay)),yield ia(e,t,r,o+1)):null}}),sa=(e,t={retries:5,delay:500})=>(...r)=>w(void 0,null,function*(){return yield ia(e,t,r)});var $p=4,Gp=3e4,Sr={current:null},Oe={current:null},Hp=sa((e,t,r)=>w(void 0,null,function*(){if(r){let l=Math.floor(Date.now()/1e3);return{hash:yield r(),timestamp:l}}let{data:o}=yield aa.default.get(`${e}/${fn}?from=${$p}&size=1&fields=hash,timestamp${t?"&shard="+t:""}`),[i]=o;return i}));function ca(e,t,r,o){return w(this,null,function*(){if(e==null)throw new Error("missing api url");let i=Date.now();if(Sr.current!=null&&i<Sr.current.timestamp*1e3+Gp&&!o)return Sr.current;if(Oe.current!=null)return yield Oe.current;Oe.current=Hp(e,t,r);try{let l=yield Oe.current;if(l==null)throw Oe.current=null,new Error("could not get block hash");return Sr.current={hash:l.hash,timestamp:l.timestamp},Oe.current=null,l}catch(l){return Oe.current=null,null}})}n();n();_t();n();n();var Ca=A(Pa());var Ra=e=>{if(!e||!(0,Ca.default)(e))return null;let t=e.split(".");if(t.length!==4)return null;try{let[r,o,i,l]=t,p=JSON.parse(De(l)),d=De(r);return{ttl:Number(i),extraInfo:p,origin:d,blockHash:o}}catch(r){return console.error(`Error trying to decode ${e}:`,r),null}};function fu(e){return Object.prototype.toString.call(e)==="[object String]"}var Na=e=>{var r;if(!e||!fu(e))return null;let t=e.split(".");if(t.length!==3)return console.error("Invalid nativeAuthToken. You may be trying to decode a loginToken. Try using decodeLoginToken method instead"),null;try{let[o,i,l]=t,p=De(o),d=De(i),m=Ra(d);if(!m)return{address:p,body:d,signature:l,blockHash:"",origin:"",ttl:0};let g=v(T({},m),{address:p,body:d,signature:l});return(r=m.extraInfo)!=null&&r.timestamp||delete g.extraInfo,g}catch(o){return null}};var En={isExpired:!1},Da=e=>{if(!e)return En;let t=Na(e);if(!t)return En;let r=$e(),{ttl:o,extraInfo:i}=t,l=i==null?void 0:i.timestamp;if(!l)return En;let p=l+o,d=r>p,m=p-r;return{isExpired:d,expiresAt:p,secondsUntilExpires:m}};n();fe();var At={origin:B().origin,apiAddress:"https://api.multiversx.com",expirySeconds:60*60*24,tokenExpirationToastWarningSeconds:5*60},vt=e=>{var r,o,i,l,p,d;return e===!0?At:{origin:(r=e==null?void 0:e.origin)!=null?r:At.origin,blockHashShard:e==null?void 0:e.blockHashShard,expirySeconds:(o=e==null?void 0:e.expirySeconds)!=null?o:At.expirySeconds,apiAddress:(i=e==null?void 0:e.apiAddress)!=null?i:At.apiAddress,tokenExpirationToastWarningSeconds:(l=e==null?void 0:e.tokenExpirationToastWarningSeconds)!=null?l:At.tokenExpirationToastWarningSeconds,extraInfo:(p=e==null?void 0:e.extraInfo)!=null?p:{},gatewayUrl:e==null?void 0:e.gatewayUrl,extraRequestHeaders:(d=e==null?void 0:e.extraRequestHeaders)!=null?d:{}}};var Ln=e=>{let{origin:t,apiAddress:r,expirySeconds:o,blockHashShard:i,extraInfo:l,gatewayUrl:p,extraRequestHeaders:d}=vt(e),m=new _a.NativeAuthClient({origin:t,apiUrl:r,expirySeconds:o,blockHashShard:i,gatewayUrl:p,extraRequestHeaders:d});return{getNativeAuthConfig:vt,initialize:f=>w(void 0,null,function*(){var b,k;if(!r||!t)return"";let S=()=>m.getCurrentBlockHash();try{let P=(b=f==null?void 0:f.latestBlockInfo)!=null?b:yield ca(r,i,S,f==null?void 0:f.noCache);if(!P)return"";let{hash:W,timestamp:V}=P,$=m.encodeValue(JSON.stringify(T(T({},(k=f==null?void 0:f.extraInfo)!=null?k:l),V?{timestamp:V}:{})));return`${m.encodeValue(t)}.${W}.${o}.${$}`}catch(P){return console.error("Error getting native auth token: ",P.toString()),""}}),getToken:({address:f,token:S,signature:b})=>m.getToken(f,S,b),getTokenExpiration:Da}};var Tu=(e,t)=>{var r;return t?t===!0?e:(r=t.apiAddress)!=null?r:e:null},Ma=e=>{let t=F(Ne),r=F(ss),o=(0,Oa.useRef)(r==null?void 0:r.loginToken),i=Tu(t.apiAddress,e),l=vt(T(T({},e===!0?{}:e),i?{apiAddress:i}:{})),p=Boolean(e),d=Ln(l),{address:m}=Sn(),g=cr(),x=k=>{o.current=k,g(Bt(T(v(T({},r),{loginToken:k}),i?{nativeAuthConfig:l}:{})))},f=()=>{try{return d.initialize()}catch(k){console.error("Unable to get block. Login failed.",k);return}},S=({address:k,signature:P})=>{let W=o.current;if(!p){g(Bt(v(T({},W?{loginToken:W}:{}),{signature:P})));return}if(!W)throw"Token not found. Call `setLoginToken` first.";let V=d.getToken({address:k,token:W,signature:P});return g(Bt(T({loginToken:W,signature:P,nativeAuthToken:V},i?{nativeAuthConfig:l}:{}))),V};return{configuration:l,setLoginToken:x,getNativeAuthLoginToken:f,setTokenLoginInfo:S,refreshNativeAuthTokenLogin:W=>w(void 0,[W],function*({signMessageCallback:k,nativeAuthClientConfig:P}){let $=yield Ln(P||l).initialize({noCache:Boolean(P)});if(o.current=$,!$)return;let ne=new wr.Message({address:new wr.Address(m),data:s.Buffer.from(`${m}${$}`)}),O=yield k(ne,{});if(!(O!=null&&O.signature))throw"Message not signed";return S({address:m,signature:s.Buffer.from(O.signature).toString("hex")})})}};var Fa=(g=>(g.invalidAddress="Invalid address",g.invalidConfig="Invalid WalletConnect setup",g.invalidTopic="Expired connection",g.sessionExpired="Unable to connect to existing session",g.connectError="Unable to connect",g.userRejected="User rejected connection proposal",g.userRejectedExisting="User rejected existing connection proposal",g.errorLogout="Unable to remove existing pairing",g.invalidChainID="Invalid chainID",g))(Fa||{}),yu=({callbackRoute:e,token:t,nativeAuth:r,onLoginRedirect:o,logoutRoute:i,customRequestMethods:l=[]})=>{var Nn;let p=cr(),d=js(r),m=Ma(d?r:!1),g=t,[x,f]=(0,Z.useState)(""),[S,b]=(0,Z.useState)(""),[k,P]=(0,Z.useState)(!0),[W,V]=(0,Z.useState)([]),[$,ne]=(0,Z.useState)(null),{provider:O}=Os(),Ke=F(ps),It=F(us),bt=F(ds),Ba=F(ms),Ua=F(as),Wa=F(os),I=(0,Z.useRef)(O),Ye=(0,Z.useRef)(!1),Xe=(0,Z.useRef)(!1),Pn=(Nn=i!=null?i:Ua)!=null?Nn:"/",kt=[Tr.CANCEL_ACTION,...l];t&&kt.push(Tr.SIGN_LOGIN_TOKEN),d&&kt.push(Tr.SIGN_NATIVE_AUTH_TOKEN);let Va=k?"":`${Ba}?wallet-connect=${encodeURIComponent(S)}`,Ar=Boolean(x),vr=An(),$a=()=>{ta(Pn)},Ga=N=>{console.log("WalletConnect Session Event: ",N)},Ha=()=>w(void 0,null,function*(){var N,D,_,U;try{if(Ye.current||I.current==null)return;if(!Xe.current){try{yield(N=I.current)==null?void 0:N.logout()}catch(Je){console.warn("Unable to logout")}return}let G=yield(_=(D=I.current)==null?void 0:D.getAddress)==null?void 0:_.call(D);if(!G){console.warn("Login cancelled.");return}let oe=yield(U=I.current)==null?void 0:U.getSignature(),he={address:G,loginMethod:"walletconnectv2"},Me={logoutRoute:Pn,loginType:"walletconnectv2",callbackRoute:e!=null?e:B().href};p(Yo(Me)),oe&&m.setTokenLoginInfo({signature:oe,address:G}),p(Pe(he)),si({callbackRoute:e,onLoginRedirect:o,options:{address:G,signature:oe}})}catch(G){f("User rejected connection proposal"),console.error(G)}}),Cn=()=>w(void 0,null,function*(){var D,_,U,G,oe;if(re(I.current)==="walletconnectv2")try{((G=(U=(_=(D=I.current)==null?void 0:D.walletConnector)==null?void 0:_.session)==null?void 0:U.getAll())!=null?G:[]).length>0&&(yield(oe=I.current)==null?void 0:oe.logout()),I.current=yt,ne(null)}catch(he){console.warn("Unable to logout")}}),ja=N=>w(void 0,null,function*(){var D,_,U;if(!Ke||!It){f("Invalid WalletConnect setup");return}if(!N||!N.topic){f("Expired connection");return}try{if((I.current?re(I.current):!1)!=="walletconnectv2"){yield Ze();return}if(P(!0),yield Cn(),d&&!g&&(g=yield m.getNativeAuthLoginToken(),!g)){console.warn("Fetching block failed. Login cancelled.");return}g&&m.setLoginToken(g),yield Ze(!1);let{approval:oe}=yield(D=I.current)==null?void 0:D.connect({topic:N.topic,methods:kt});try{yield(_=I.current)==null?void 0:_.login({approval:oe,token:g})}catch(he){console.error("User rejected existing connection proposal",he),f("User rejected existing connection proposal"),P(!0),yield Ze()}}catch(G){console.error("Unable to connect to existing session",G),f("Unable to connect to existing session")}finally{V((U=I.current)==null?void 0:U.pairings)}}),qa=N=>w(void 0,null,function*(){var D,_;try{N&&(yield(D=I.current)==null?void 0:D.logout({topic:N}))}catch(U){console.error("Unable to remove existing pairing",U),f("Unable to remove existing pairing")}finally{let U=yield(_=I.current)==null?void 0:_.getPairings();V(U)}});function Ze(N=!0){return w(this,null,function*(){var Je,Dn,_n;na(),N&&(p(jo(Ce.address)),p(ot(Ce)));let D=yield ra({maxRetries:15});if(!D){console.error("Invalid chainID"),f("Invalid chainID");return}if(!It||!Ke){console.error("Invalid WalletConnect setup"),f("Invalid WalletConnect setup");return}let _=An(),U=Xe.current===!1&&!_,G=re(I.current)==="walletconnectv2",oe=((Dn=(Je=I.current)==null?void 0:Je.isInitialized)==null?void 0:Dn.call(Je))&&G;if(Ye.current||U||oe)return;if(Ye.current=!0,(_n=I.current)!=null&&_n.walletConnector){yield I.current.init(),ne(I.current),Ye.current=!1,N&&(yield Rn());return}let he={onClientLogin:Ha,onClientLogout:$a,onClientEvent:Ga},Me=new yr(he,D,Ke,It,bt);yield Me.init(),ne(Me),I.current=Me,Ye.current=!1,N&&(V(Me.pairings),yield Rn())})}function Rn(){return w(this,null,function*(){var N,D;if(!!I.current){if(!Ke||!It){f("Invalid WalletConnect setup");return}try{if(!Xe.current)return;let{uri:_,approval:U}=yield(N=I.current)==null?void 0:N.connect({methods:kt});if(!Boolean(_))return;if(b(_),(bt==null?void 0:bt.logger)==="debug"&&console.log("WalletConnect uri: ",_),d&&!g&&(g=yield m.getNativeAuthLoginToken(),!g)){console.warn("Fetching block failed. Login cancelled.");return}if(g&&m.setLoginToken(g),(I.current?re(I.current):!1)!=="walletconnectv2"){P(!0),yield Ze();return}try{yield(D=I.current)==null?void 0:D.login({approval:U,token:g})}catch(he){console.error("User rejected connection proposal",he),f("User rejected connection proposal"),P(!0)}}catch(_){console.error("Unable to connect",_)}}})}return Bs(()=>{I.current=O},[O]),(0,Z.useEffect)(()=>(Xe.current=!0,()=>{Xe.current=!1}),[]),(0,Z.useEffect)(()=>{P(!S)},[S]),(0,Z.useEffect)(()=>{if(!$)return;(Boolean($.session)||Wa==="walletconnectv2")&&vr&&_s($)},[$,vr]),[Ze,{error:x,loginFailed:Ar,isLoading:k&&!Ar,isLoggedIn:vr&&!Ar},{uriDeepLink:Va,walletConnectUri:S,cancelLogin:Cn,connectExisting:ja,removeExistingPairing:qa,wcPairings:W}]};0&&(module.exports={WalletConnectV2Error,useWalletConnectV2Login});
2
2
  /*!
3
3
  * The buffer module from node.js, for the browser.
4
4
  *