@multiversx/sdk-dapp 3.1.2 → 3.1.4

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 (1080) 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/index.js +1 -1
  36. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/ConfirmReceiver.js +1 -1
  37. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/index.js +1 -1
  38. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/index.js +1 -1
  39. package/UI/SignTransactionsModals/SignWithDeviceModal/components/index.js +1 -1
  40. package/UI/SignTransactionsModals/SignWithDeviceModal/index.js +1 -1
  41. package/UI/SignTransactionsModals/SignWithDeviceModal/signWithDeviceModal.types.js +1 -1
  42. package/UI/SignTransactionsModals/SignWithExtensionModal/SignWithExtensionModal.js +1 -1
  43. package/UI/SignTransactionsModals/SignWithExtensionModal/index.js +1 -1
  44. package/UI/SignTransactionsModals/SignWithExtraModal/SignWithExtraModal.js +1 -1
  45. package/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
  46. package/UI/SignTransactionsModals/SignWithIframeModal/SignWithIframeModal.js +1 -1
  47. package/UI/SignTransactionsModals/SignWithIframeModal/index.js +1 -1
  48. package/UI/SignTransactionsModals/SignWithLedgerModal/LedgerGuardianSigningModalError.js +1 -1
  49. package/UI/SignTransactionsModals/SignWithLedgerModal/SignWithLedgerModal.js +1 -1
  50. package/UI/SignTransactionsModals/SignWithLedgerModal/index.js +1 -1
  51. package/UI/SignTransactionsModals/SignWithMetamaskModal/SignWithMetamaskModal.js +1 -1
  52. package/UI/SignTransactionsModals/SignWithMetamaskModal/index.js +1 -1
  53. package/UI/SignTransactionsModals/SignWithOperaModal/SignWithOperaModal.js +1 -1
  54. package/UI/SignTransactionsModals/SignWithOperaModal/index.js +1 -1
  55. package/UI/SignTransactionsModals/SignWithPasskeyModal/SignWithPasskeyModal.js +1 -1
  56. package/UI/SignTransactionsModals/SignWithPasskeyModal/index.js +1 -1
  57. package/UI/SignTransactionsModals/SignWithWalletConnectModal/SignWithWalletConnectModal.js +1 -1
  58. package/UI/SignTransactionsModals/SignWithWalletConnectModal/index.js +1 -1
  59. package/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
  60. package/UI/SignTransactionsModals/components/DeviceConfirmationScreen.js +1 -1
  61. package/UI/SignTransactionsModals/components/SignWaitingScreenModal/SignWaitingScreenModal.js +1 -1
  62. package/UI/SignTransactionsModals/components/SignWaitingScreenModal/index.js +1 -1
  63. package/UI/SignTransactionsModals/components/TransactionStatusToast.js +1 -1
  64. package/UI/SignTransactionsModals/components/index.js +1 -1
  65. package/UI/SignTransactionsModals/index.js +1 -1
  66. package/UI/TokenDetails/index.js +1 -1
  67. package/UI/TransactionData/TransactionData.js +1 -1
  68. package/UI/TransactionData/components/TransactionDataDecode.js +1 -1
  69. package/UI/TransactionData/components/index.js +1 -1
  70. package/UI/TransactionData/index.js +1 -1
  71. package/UI/TransactionDetails/TransactionDetails.js +1 -1
  72. package/UI/TransactionDetails/components/TransactionDetailsBody.js +1 -1
  73. package/UI/TransactionDetails/components/index.js +1 -1
  74. package/UI/TransactionDetails/index.js +1 -1
  75. package/UI/TransactionInfo/TransactionInfo.js +1 -1
  76. package/UI/TransactionInfo/components/AddressDetailItem/AddressDetailitem.js +1 -1
  77. package/UI/TransactionInfo/components/AddressDetailItem/index.js +1 -1
  78. package/UI/TransactionInfo/components/DataDecode/DataDecode.js +1 -1
  79. package/UI/TransactionInfo/components/DataDecode/index.js +1 -1
  80. package/UI/TransactionInfo/components/DataField/DataField.js +1 -1
  81. package/UI/TransactionInfo/components/DataField/components/ModalLink/ModalLink.js +1 -1
  82. package/UI/TransactionInfo/components/DataField/components/ModalLink/index.js +1 -1
  83. package/UI/TransactionInfo/components/DataField/components/index.js +1 -1
  84. package/UI/TransactionInfo/components/DataField/index.js +1 -1
  85. package/UI/TransactionInfo/components/EventsList/EventsList.js +1 -1
  86. package/UI/TransactionInfo/components/EventsList/index.js +1 -1
  87. package/UI/TransactionInfo/components/NonceMessage/NonceMessage.js +1 -1
  88. package/UI/TransactionInfo/components/NonceMessage/index.js +1 -1
  89. package/UI/TransactionInfo/components/OperationsList/OperationList.js +1 -1
  90. package/UI/TransactionInfo/components/OperationsList/components/DetailedItem.js +1 -1
  91. package/UI/TransactionInfo/components/OperationsList/components/OperationBlock.js +1 -1
  92. package/UI/TransactionInfo/components/OperationsList/components/OperationRow.js +1 -1
  93. package/UI/TransactionInfo/components/OperationsList/components/OperationText.js +1 -1
  94. package/UI/TransactionInfo/components/OperationsList/components/OperationToken.js +1 -1
  95. package/UI/TransactionInfo/components/OperationsList/components/index.js +1 -1
  96. package/UI/TransactionInfo/components/OperationsList/index.js +1 -1
  97. package/UI/TransactionInfo/components/ScResultsList/ScResultsList.js +1 -1
  98. package/UI/TransactionInfo/components/ScResultsList/components/ResultData/ResultData.js +1 -1
  99. package/UI/TransactionInfo/components/ScResultsList/components/ResultData/index.js +1 -1
  100. package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/ResultHash.js +1 -1
  101. package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/index.js +1 -1
  102. package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/ResultReceiver.js +1 -1
  103. package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/index.js +1 -1
  104. package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/ResultSender.js +1 -1
  105. package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/index.js +1 -1
  106. package/UI/TransactionInfo/components/ScResultsList/index.js +1 -1
  107. package/UI/TransactionInfo/components/ScrDetailItem/ScrDetailItem.js +1 -1
  108. package/UI/TransactionInfo/components/ScrDetailItem/index.js +1 -1
  109. package/UI/TransactionInfo/components/TransactionAction/TransactionAction.js +1 -1
  110. package/UI/TransactionInfo/components/TransactionAction/components/ActionText/index.js +1 -1
  111. package/UI/TransactionInfo/components/TransactionAction/components/ActionToken.js +1 -1
  112. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionCollection.js +1 -1
  113. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionNft.js +1 -1
  114. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionToken.js +1 -1
  115. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/index.js +1 -1
  116. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/index.js +1 -1
  117. package/UI/TransactionInfo/components/TransactionAction/components/index.js +1 -1
  118. package/UI/TransactionInfo/components/TransactionAction/index.js +1 -1
  119. package/UI/TransactionInfo/components/TransactionLogs/TransactionLogs.js +1 -1
  120. package/UI/TransactionInfo/components/TransactionLogs/index.js +1 -1
  121. package/UI/TransactionInfo/components/TransactionStatus/TransactionStatus.js +1 -1
  122. package/UI/TransactionInfo/components/TransactionStatus/index.js +1 -1
  123. package/UI/TransactionInfo/components/index.js +1 -1
  124. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoAge/TransactionInfoAge.js +1 -1
  125. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoAge/index.js +1 -1
  126. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoEgldPrice/TransactionInfoEgldPrice.js +1 -1
  127. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoEgldPrice/index.js +1 -1
  128. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/TransactionInfoFee.js +1 -1
  129. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/index.js +1 -1
  130. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/TransactionInfoFrom.js +1 -1
  131. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/index.js +1 -1
  132. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasLimit/TransactionInfoGasLimit.js +1 -1
  133. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasLimit/index.js +1 -1
  134. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasPrice/TransactionInfoGasPrice.js +1 -1
  135. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasPrice/index.js +1 -1
  136. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/TransactionInfoGasUsed.js +1 -1
  137. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/index.js +1 -1
  138. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/TransactionInfoInputData.js +1 -1
  139. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/index.js +1 -1
  140. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/TransactionInfoMethod.js +1 -1
  141. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/index.js +1 -1
  142. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/TransactionInfoMiniblock.js +1 -1
  143. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/index.js +1 -1
  144. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/TransactionInfoNonce.js +1 -1
  145. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/index.js +1 -1
  146. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/TransactionInfoScResults.js +1 -1
  147. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/index.js +1 -1
  148. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/TransactionInfoStatus.js +1 -1
  149. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/index.js +1 -1
  150. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/TransactionInfoTo.js +1 -1
  151. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/index.js +1 -1
  152. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/TransactionInfoTokenOperations.js +1 -1
  153. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/index.js +1 -1
  154. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/TransactionInfoValue.js +1 -1
  155. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/index.js +1 -1
  156. package/UI/TransactionInfo/components/transactionInfoFields/index.js +1 -1
  157. package/UI/TransactionInfo/index.js +1 -1
  158. package/UI/TransactionsTable/TransactionsTable.js +1 -1
  159. package/UI/TransactionsTable/components/AccountName.js +1 -1
  160. package/UI/TransactionsTable/components/FailedTransactions.js +1 -1
  161. package/UI/TransactionsTable/components/LockedTokenAddressIcon.js +1 -1
  162. package/UI/TransactionsTable/components/ScAddressIcon.js +1 -1
  163. package/UI/TransactionsTable/components/ShardSpan.js +1 -1
  164. package/UI/TransactionsTable/components/TransactionHash.js +1 -1
  165. package/UI/TransactionsTable/components/TransactionIcon.js +1 -1
  166. package/UI/TransactionsTable/components/TransactionMethod.js +1 -1
  167. package/UI/TransactionsTable/components/TransactionReceiver.js +1 -1
  168. package/UI/TransactionsTable/components/TransactionRow.js +1 -1
  169. package/UI/TransactionsTable/components/TransactionSender.js +1 -1
  170. package/UI/TransactionsTable/components/TransactionShardsTransition.js +1 -1
  171. package/UI/TransactionsTable/components/TransactionValue/TransactionValue.js +1 -1
  172. package/UI/TransactionsTable/components/TransactionValue/index.js +1 -1
  173. package/UI/TransactionsTable/components/index.js +1 -1
  174. package/UI/TransactionsTable/index.js +1 -1
  175. package/UI/TransactionsToastList/TransactionsToastList.js +1 -1
  176. package/UI/TransactionsToastList/components/CustomToast/CustomToast.js +1 -1
  177. package/UI/TransactionsToastList/components/CustomToast/components/CustomComponentToast.js +1 -1
  178. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/IconToast.js +1 -1
  179. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/IconToastFooter.js +1 -1
  180. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/ComponentToastFooter.js +1 -1
  181. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/TransactionToastFooter.js +1 -1
  182. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/index.js +1 -1
  183. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/index.js +1 -1
  184. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/index.js +1 -1
  185. package/UI/TransactionsToastList/components/CustomToast/components/SimpleToast.js +1 -1
  186. package/UI/TransactionsToastList/components/CustomToast/components/index.js +1 -1
  187. package/UI/TransactionsToastList/components/CustomToast/helpers/getIsTransaction.js +1 -1
  188. package/UI/TransactionsToastList/components/CustomToast/helpers/index.js +1 -1
  189. package/UI/TransactionsToastList/components/CustomToast/helpers/useMemoizedCloseButton.js +1 -1
  190. package/UI/TransactionsToastList/components/CustomToast/index.js +1 -1
  191. package/UI/TransactionsToastList/components/TransactionToast/TransactionToast.js +1 -1
  192. package/UI/TransactionsToastList/components/TransactionToast/components/DefaultToastDeleteButton.js +1 -1
  193. package/UI/TransactionsToastList/components/TransactionToast/components/TransactionToastContent.js +1 -1
  194. package/UI/TransactionsToastList/components/TransactionToast/components/index.js +1 -1
  195. package/UI/TransactionsToastList/components/TransactionToast/hooks/useTransactionToast.js +1 -1
  196. package/UI/TransactionsToastList/components/TransactionToast/index.js +1 -1
  197. package/UI/TransactionsToastList/components/TransactionToast/utils/getToastDataStateByStatus.js +1 -1
  198. package/UI/TransactionsToastList/components/TransactionToast/utils/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/UsdValue/UsdValue.js +1 -1
  205. package/UI/UsdValue/index.js +1 -1
  206. package/UI/extension/ExtensionLoginButton/ExtensionLoginButton.js +1 -1
  207. package/UI/extension/ExtensionLoginButton/index.js +1 -1
  208. package/UI/iframe/IframeLoginButton/IframeButton.js +1 -1
  209. package/UI/iframe/IframeLoginButton/index.js +1 -1
  210. package/UI/index.js +1 -1
  211. package/UI/ledger/LedgerLoginButton/LedgerLoginButton.js +1 -1
  212. package/UI/ledger/LedgerLoginButton/index.js +1 -1
  213. package/UI/ledger/LedgerLoginContainer/AddressRow/AddressRow.js +1 -1
  214. package/UI/ledger/LedgerLoginContainer/AddressRow/index.js +1 -1
  215. package/UI/ledger/LedgerLoginContainer/AddressTable/AddressTable.js +1 -1
  216. package/UI/ledger/LedgerLoginContainer/AddressTable/index.js +1 -1
  217. package/UI/ledger/LedgerLoginContainer/ConfirmAddress/ConfirmAddress.js +1 -1
  218. package/UI/ledger/LedgerLoginContainer/ConfirmAddress/helpers/getAuthTokenText.js +1 -1
  219. package/UI/ledger/LedgerLoginContainer/ConfirmAddress/helpers/index.js +1 -1
  220. package/UI/ledger/LedgerLoginContainer/ConfirmAddress/index.js +1 -1
  221. package/UI/ledger/LedgerLoginContainer/LedgerConnect/LedgerConnect.js +1 -1
  222. package/UI/ledger/LedgerLoginContainer/LedgerConnect/index.js +1 -1
  223. package/UI/ledger/LedgerLoginContainer/LedgerLoading/LedgerLoading.js +1 -1
  224. package/UI/ledger/LedgerLoginContainer/LedgerLoading/index.js +1 -1
  225. package/UI/ledger/LedgerLoginContainer/LedgerLoginContainer.js +1 -1
  226. package/UI/ledger/LedgerLoginContainer/LedgerLoginContent/LedgerLoginContent.js +1 -1
  227. package/UI/ledger/LedgerLoginContainer/LedgerLoginContent/index.js +1 -1
  228. package/UI/ledger/LedgerLoginContainer/LedgerLoginContentBody/LedgerLoginContentBody.js +1 -1
  229. package/UI/ledger/LedgerLoginContainer/LedgerLoginContentBody/index.js +1 -1
  230. package/UI/ledger/LedgerLoginContainer/LedgerScamPhishingAlert/LedgerScamPhishingAlert.js +1 -1
  231. package/UI/ledger/LedgerLoginContainer/LedgerScamPhishingAlert/index.js +1 -1
  232. package/UI/ledger/LedgerLoginContainer/index.js +1 -1
  233. package/UI/ledger/index.js +1 -1
  234. package/UI/metamask/MetamaskLoginButton/MetamaskLoginButton.js +1 -1
  235. package/UI/metamask/MetamaskLoginButton/index.js +1 -1
  236. package/UI/operaWallet/OperaWalletLoginButton/OperaWalletLoginButton.js +1 -1
  237. package/UI/operaWallet/OperaWalletLoginButton/index.js +1 -1
  238. package/UI/pages/UnlockPage/index.js +1 -1
  239. package/UI/pages/index.js +1 -1
  240. package/UI/passkey/PasskeyLoginButton/PasskeyLoginButton.js +1 -1
  241. package/UI/passkey/PasskeyLoginButton/index.js +1 -1
  242. package/UI/walletConnect/WalletConnectConnectionStatus/WalletConnectConnectionStatus.js +1 -1
  243. package/UI/walletConnect/WalletConnectConnectionStatus/index.js +1 -1
  244. package/UI/walletConnect/WalletConnectLoginButton/WalletConnectLoginButton.js +1 -1
  245. package/UI/walletConnect/WalletConnectLoginButton/index.js +1 -1
  246. package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContainer.js +1 -1
  247. package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContent/WalletConnectLoginContent.js +1 -1
  248. package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContent/index.js +1 -1
  249. package/UI/walletConnect/WalletConnectLoginContainer/index.js +1 -1
  250. package/UI/walletConnect/index.js +1 -1
  251. package/UI/webWallet/CrossWindowLoginButton/CrossWindowLoginButton.js +1 -1
  252. package/UI/webWallet/CrossWindowLoginButton/index.js +1 -1
  253. package/UI/webWallet/WebWalletLoginButton/WebWalletLoginButton.js +1 -1
  254. package/UI/webWallet/WebWalletLoginButton/index.js +1 -1
  255. package/UI/webWallet/XaliasCrossWindowLoginButton/XaliasCrossWindowLoginButton.js +1 -1
  256. package/UI/webWallet/XaliasCrossWindowLoginButton/index.js +1 -1
  257. package/UI/webWallet/XaliasLoginButton/XaliasLoginButton.js +1 -1
  258. package/UI/webWallet/XaliasLoginButton/index.js +1 -1
  259. package/__chunks__/{chunk-4T6HHYEX.js → chunk-22MF3ERT.js} +2 -2
  260. package/__chunks__/{chunk-6H2KGZAD.js → chunk-256PCNST.js} +2 -2
  261. package/__chunks__/chunk-256TQR4G.js +2 -0
  262. package/__chunks__/{chunk-UWWXK6SO.js → chunk-26CMT3SW.js} +2 -2
  263. package/__chunks__/{chunk-XFQACGOU.js → chunk-26IBVZFJ.js} +2 -2
  264. package/__chunks__/{chunk-7ELXF64W.js → chunk-276YS6GD.js} +2 -2
  265. package/__chunks__/{chunk-UDZUNVED.js → chunk-27TQ2JCD.js} +2 -2
  266. package/__chunks__/{chunk-WQALJPPG.js → chunk-27VVWQGC.js} +2 -2
  267. package/__chunks__/{chunk-YK4ERHIC.js → chunk-2C4TVWCG.js} +2 -2
  268. package/__chunks__/{chunk-Y4PQSJGL.js → chunk-2IYMJCEF.js} +2 -2
  269. package/__chunks__/{chunk-2A24APJV.js → chunk-2PW643EQ.js} +2 -2
  270. package/__chunks__/chunk-2QKTYJBC.js +2 -0
  271. package/__chunks__/{chunk-RUYFTATZ.js → chunk-2QWO2S5I.js} +2 -2
  272. package/__chunks__/{chunk-QTYKKRZD.js → chunk-2W6QR4IJ.js} +2 -2
  273. package/__chunks__/{chunk-B6VGAFH6.js → chunk-2W7PXFVL.js} +2 -2
  274. package/__chunks__/{chunk-5QJEDLKL.js → chunk-2WX5D7C4.js} +2 -2
  275. package/__chunks__/chunk-2WXTIHDN.js +2 -0
  276. package/__chunks__/{chunk-OUQVVJVM.js → chunk-357EBE4X.js} +2 -2
  277. package/__chunks__/{chunk-EDB44RI4.js → chunk-3D5IAL5L.js} +2 -2
  278. package/__chunks__/chunk-3G2HCPRQ.js +2 -0
  279. package/__chunks__/chunk-3G2PFEMT.js +2 -0
  280. package/__chunks__/{chunk-3GJXJKZ3.js → chunk-3HWPNJLB.js} +2 -2
  281. package/__chunks__/chunk-3MK3BQHM.js +2 -0
  282. package/__chunks__/{chunk-S6FCTAUC.js → chunk-3MPYMFCZ.js} +2 -2
  283. package/__chunks__/{chunk-MUICW44L.js → chunk-3NZLM666.js} +2 -2
  284. package/__chunks__/chunk-3OJPD3LW.js +2 -0
  285. package/__chunks__/chunk-3RABVALQ.js +2 -0
  286. package/__chunks__/{chunk-6SC3V5S4.js → chunk-3RXMBVUM.js} +2 -2
  287. package/__chunks__/{chunk-7CT4Y3HU.js → chunk-3WKKYGRU.js} +2 -2
  288. package/__chunks__/{chunk-KOECBNNL.js → chunk-3X75UJ5M.js} +2 -2
  289. package/__chunks__/{chunk-TVNDFSRJ.js → chunk-3ZU26HTJ.js} +2 -2
  290. package/__chunks__/chunk-45H4CZDA.js +2 -0
  291. package/__chunks__/{chunk-OAAAXKHG.js → chunk-4DAANLRO.js} +2 -2
  292. package/__chunks__/{chunk-4WL7RG6F.js → chunk-4DD6JL4B.js} +2 -2
  293. package/__chunks__/{chunk-LKR4NV2P.js → chunk-4DIPG5ET.js} +2 -2
  294. package/__chunks__/{chunk-JTN5RF3Z.js → chunk-4GEASDIZ.js} +2 -2
  295. package/__chunks__/{chunk-JTF2VLDW.js → chunk-4GJGBARS.js} +2 -2
  296. package/__chunks__/{chunk-4FWCE3BQ.js → chunk-4JXF6W2S.js} +2 -2
  297. package/__chunks__/{chunk-KK3KJE6X.js → chunk-4L7KRMGB.js} +2 -2
  298. package/__chunks__/{chunk-2H64RZGY.js → chunk-4LLQTQX3.js} +2 -2
  299. package/__chunks__/{chunk-JUB6TCFX.js → chunk-4NFNYA6L.js} +2 -2
  300. package/__chunks__/chunk-4NUMMQ42.js +2 -0
  301. package/__chunks__/{chunk-CIJX3LUL.js → chunk-4OXRHY4X.js} +2 -2
  302. package/__chunks__/{chunk-5ROGJDH7.js → chunk-4PHVTQ26.js} +2 -2
  303. package/__chunks__/{chunk-GL6XGCPX.js → chunk-4T6TQ2PT.js} +2 -2
  304. package/__chunks__/{chunk-U4DUL2H6.js → chunk-4UBQW45P.js} +2 -2
  305. package/__chunks__/{chunk-BYE6CEAG.js → chunk-4YKO7ZRM.js} +2 -2
  306. package/__chunks__/chunk-4YL6JJOT.js +2 -0
  307. package/__chunks__/{chunk-4V2IAJTY.js → chunk-4YMEXFBC.js} +2 -2
  308. package/__chunks__/{chunk-TRBVIQMU.js → chunk-5BSHTHYS.js} +2 -2
  309. package/__chunks__/{chunk-ZI7MNIRO.js → chunk-5BWD2USJ.js} +2 -2
  310. package/__chunks__/{chunk-PQOCP3AC.js → chunk-5ENHVZNA.js} +2 -2
  311. package/__chunks__/{chunk-LOYXCAKG.js → chunk-5FFWIM6L.js} +2 -2
  312. package/__chunks__/{chunk-Q4BJZCMF.js → chunk-5GI2VXF6.js} +2 -2
  313. package/__chunks__/{chunk-QM64RLAX.js → chunk-5HLY25HE.js} +2 -2
  314. package/__chunks__/{chunk-G6JU3NEN.js → chunk-5MGGMD47.js} +2 -2
  315. package/__chunks__/{chunk-NJXDNNZT.js → chunk-5OVJ362U.js} +2 -2
  316. package/__chunks__/{chunk-JEVK4YWG.js → chunk-5Q4FWCRC.js} +2 -2
  317. package/__chunks__/{chunk-ZJG5IYJW.js → chunk-5QKOD25T.js} +2 -2
  318. package/__chunks__/{chunk-OV47RW7B.js → chunk-5QPLQ5IM.js} +2 -2
  319. package/__chunks__/{chunk-5TP2YJAE.js → chunk-5SI76TT5.js} +2 -2
  320. package/__chunks__/chunk-5XOUY3ES.js +2 -0
  321. package/__chunks__/chunk-62PKJLJD.js +2 -0
  322. package/__chunks__/{chunk-4M3G3GUC.js → chunk-64WKTMOD.js} +2 -2
  323. package/__chunks__/{chunk-CLZ2MNAI.js → chunk-6BJOCOZI.js} +2 -2
  324. package/__chunks__/{chunk-WUV7IUAI.js → chunk-6P2POR4F.js} +2 -2
  325. package/__chunks__/{chunk-YISB6TS7.js → chunk-6RTFIOO2.js} +2 -2
  326. package/__chunks__/chunk-6Y32VGUJ.js +2 -0
  327. package/__chunks__/chunk-6Z4YYRZH.js +2 -0
  328. package/__chunks__/{chunk-MCFRQFDP.js → chunk-746Z3ZCW.js} +2 -2
  329. package/__chunks__/{chunk-JAOPXGS2.js → chunk-747HEYY2.js} +2 -2
  330. package/__chunks__/{chunk-PMPHMIHY.js → chunk-7JNT4OQ7.js} +2 -2
  331. package/__chunks__/chunk-7LU2CVSY.js +2 -0
  332. package/__chunks__/{chunk-5S5QVGZE.js → chunk-7MY34TZZ.js} +2 -2
  333. package/__chunks__/{chunk-TQSIQ3MI.js → chunk-7QFPCIFZ.js} +2 -2
  334. package/__chunks__/chunk-7RBA2W56.js +2 -0
  335. package/__chunks__/{chunk-FD7EKZH2.js → chunk-7RNNK63E.js} +2 -2
  336. package/__chunks__/chunk-7TCFJ24V.js +2 -0
  337. package/__chunks__/{chunk-7WO662SX.js → chunk-7TO77WVO.js} +2 -2
  338. package/__chunks__/{chunk-VOMZ2IK3.js → chunk-7UDRJO6P.js} +2 -2
  339. package/__chunks__/{chunk-PEIYCRRJ.js → chunk-7UL5GQVB.js} +2 -2
  340. package/__chunks__/{chunk-OI4ITLKW.js → chunk-7WZASU5V.js} +2 -2
  341. package/__chunks__/{chunk-UV5XZRN5.js → chunk-7XEOFRLA.js} +2 -2
  342. package/__chunks__/{chunk-VZGAHYRJ.js → chunk-7ZTPWWGU.js} +2 -2
  343. package/__chunks__/{chunk-XF6QVR4D.js → chunk-AAUTX4KM.js} +2 -2
  344. package/__chunks__/{chunk-4GYRLAHO.js → chunk-ADZSYS64.js} +2 -2
  345. package/__chunks__/{chunk-4G5Z2ZB5.js → chunk-ALBJ3VJ2.js} +2 -2
  346. package/__chunks__/chunk-AOXIRO72.js +2 -0
  347. package/__chunks__/{chunk-LRON2GMF.js → chunk-ATR67GE7.js} +2 -2
  348. package/__chunks__/{chunk-DISMP7Z7.js → chunk-AYGG3CYW.js} +2 -2
  349. package/__chunks__/{chunk-HHOGX6TO.js → chunk-B7ZRV6BR.js} +2 -2
  350. package/__chunks__/{chunk-PFD2ZXYY.js → chunk-BDNABIIK.js} +2 -2
  351. package/__chunks__/{chunk-4AQPPENI.js → chunk-BGFCL5YJ.js} +2 -2
  352. package/__chunks__/{chunk-TYZFZ5VH.js → chunk-BGKJK4V3.js} +2 -2
  353. package/__chunks__/{chunk-UHFPPR5C.js → chunk-BHTCQYLG.js} +2 -2
  354. package/__chunks__/chunk-BJTRYHO5.js +2 -0
  355. package/__chunks__/{chunk-WJ7GWZGU.js → chunk-BK54RWVB.js} +2 -2
  356. package/__chunks__/{chunk-66FCVWP7.js → chunk-BK5TQGQ4.js} +2 -2
  357. package/__chunks__/{chunk-JHOSAVUV.js → chunk-BQHBJRV2.js} +2 -2
  358. package/__chunks__/{chunk-2A6JCQ6O.js → chunk-BRYXMNPX.js} +2 -2
  359. package/__chunks__/{chunk-LCSDFZX2.js → chunk-BV7C4GYQ.js} +2 -2
  360. package/__chunks__/{chunk-YYFYTGDS.js → chunk-BW346SZT.js} +2 -2
  361. package/__chunks__/{chunk-MPT74EUN.js → chunk-BXA24KIZ.js} +2 -2
  362. package/__chunks__/{chunk-P34RUZDS.js → chunk-BZJTV2NI.js} +2 -2
  363. package/__chunks__/{chunk-HKOZWGGV.js → chunk-C6ERQ4DO.js} +2 -2
  364. package/__chunks__/{chunk-CFQGV6MB.js → chunk-C6WHGTYJ.js} +2 -2
  365. package/__chunks__/chunk-C7HWDSJ5.js +2 -0
  366. package/__chunks__/chunk-CCK4MBG6.js +2 -0
  367. package/__chunks__/{chunk-3ZUJNJWN.js → chunk-CFYVOQBD.js} +2 -2
  368. package/__chunks__/{chunk-3SOAVVKV.js → chunk-CIFVVBRB.js} +2 -2
  369. package/__chunks__/{chunk-6YIIWWW4.js → chunk-CIL46SOJ.js} +2 -2
  370. package/__chunks__/chunk-CJIGRZO2.js +2 -0
  371. package/__chunks__/{chunk-5RVWCSC7.js → chunk-CK2NLQDL.js} +2 -2
  372. package/__chunks__/{chunk-7RBRFERR.js → chunk-CK75LBHF.js} +2 -2
  373. package/__chunks__/{chunk-LBPTFMRG.js → chunk-CLNNDAVC.js} +2 -2
  374. package/__chunks__/chunk-COFGP7BF.js +2 -0
  375. package/__chunks__/{chunk-6QTTYGME.js → chunk-CROGSP36.js} +2 -2
  376. package/__chunks__/{chunk-E3MZPP7L.js → chunk-CSVGCAGR.js} +2 -2
  377. package/__chunks__/{chunk-4LRNVLZQ.js → chunk-CUVU23CU.js} +2 -2
  378. package/__chunks__/{chunk-X74BWI6J.js → chunk-DBZ3PT4K.js} +2 -2
  379. package/__chunks__/{chunk-SC6EARHS.js → chunk-DDC6ZCTB.js} +2 -2
  380. package/__chunks__/{chunk-WKAHS3KX.js → chunk-DEEGWFQM.js} +2 -2
  381. package/__chunks__/chunk-DGUOJUUY.js +2 -0
  382. package/__chunks__/{chunk-MMTJHADO.js → chunk-DLMGSLQS.js} +2 -2
  383. package/__chunks__/{chunk-WDYOACJI.js → chunk-DNUOCAGP.js} +2 -2
  384. package/__chunks__/{chunk-4XVO6XTP.js → chunk-DYVUF3OH.js} +2 -2
  385. package/__chunks__/{chunk-JE36PGVZ.js → chunk-E24TQPRY.js} +2 -2
  386. package/__chunks__/{chunk-KGR2FOSV.js → chunk-E64HBPAA.js} +2 -2
  387. package/__chunks__/chunk-EBJYOLNG.js +2 -0
  388. package/__chunks__/{chunk-IHGYPNRZ.js → chunk-ECI7MZQ3.js} +2 -2
  389. package/__chunks__/{chunk-VMIULIO2.js → chunk-EHZSMQHW.js} +2 -2
  390. package/__chunks__/{chunk-5VTXUKP7.js → chunk-EKGPN3WI.js} +2 -2
  391. package/__chunks__/{chunk-TB3TYDEU.js → chunk-EPP4EMBS.js} +2 -2
  392. package/__chunks__/{chunk-K3GCLKZ7.js → chunk-EPS6HRIQ.js} +2 -2
  393. package/__chunks__/{chunk-GKSJI4NQ.js → chunk-EWC4J6JT.js} +2 -2
  394. package/__chunks__/{chunk-WAPTCQ75.js → chunk-EXMJK42W.js} +2 -2
  395. package/__chunks__/{chunk-FASLIACK.js → chunk-EYH2KHMT.js} +2 -2
  396. package/__chunks__/{chunk-B4ONVFZZ.js → chunk-EZKJ6SH6.js} +2 -2
  397. package/__chunks__/{chunk-PCK656QH.js → chunk-F2BOSVKG.js} +2 -2
  398. package/__chunks__/{chunk-6EAFYTRZ.js → chunk-F3AIBRK4.js} +2 -2
  399. package/__chunks__/{chunk-IFXITFJQ.js → chunk-F5247DFI.js} +2 -2
  400. package/__chunks__/{chunk-AX3PG4SD.js → chunk-F7IILFHS.js} +2 -2
  401. package/__chunks__/{chunk-OEIDILAW.js → chunk-FBK2N3YE.js} +2 -2
  402. package/__chunks__/{chunk-3ZQDEH2Z.js → chunk-FFC6SFZJ.js} +2 -2
  403. package/__chunks__/chunk-FHOGOI4H.js +2 -0
  404. package/__chunks__/{chunk-MA2KGP7W.js → chunk-FLBS2TO7.js} +2 -2
  405. package/__chunks__/{chunk-NQJEEFM5.js → chunk-FNMTPDUK.js} +2 -2
  406. package/__chunks__/{chunk-3SJHCATS.js → chunk-FSQWNG35.js} +2 -2
  407. package/__chunks__/{chunk-N2VIDHS3.js → chunk-FU6I47QE.js} +2 -2
  408. package/__chunks__/chunk-FV5YN5KV.js +2 -0
  409. package/__chunks__/{chunk-5SPIRRZ2.js → chunk-FYG52JCT.js} +2 -2
  410. package/__chunks__/chunk-FZ2R5HQP.js +2 -0
  411. package/__chunks__/{chunk-MLZNLFQS.js → chunk-FZYBCFUO.js} +2 -2
  412. package/__chunks__/chunk-G3Y3FAYT.js +2 -0
  413. package/__chunks__/{chunk-SX2BIKQW.js → chunk-GAX23W6N.js} +2 -2
  414. package/__chunks__/{chunk-3V256QRF.js → chunk-GBBBLGO7.js} +2 -2
  415. package/__chunks__/{chunk-HKZZMM62.js → chunk-GE2ZYJPG.js} +2 -2
  416. package/__chunks__/{chunk-BUXVABU4.js → chunk-GFAT2LMS.js} +2 -2
  417. package/__chunks__/{chunk-E7VKZEH7.js → chunk-GMHHEMRR.js} +2 -2
  418. package/__chunks__/{chunk-RYPCCLPH.js → chunk-GNQ52MZT.js} +2 -2
  419. package/__chunks__/{chunk-257V2OS5.js → chunk-GNY3EIFW.js} +2 -2
  420. package/__chunks__/{chunk-A4DHACXR.js → chunk-GTQ4BLGT.js} +2 -2
  421. package/__chunks__/{chunk-S3WPX3OA.js → chunk-GY5U4IIM.js} +2 -2
  422. package/__chunks__/{chunk-JT6G3SAD.js → chunk-GZKWOT6B.js} +2 -2
  423. package/__chunks__/{chunk-P7DOUIHR.js → chunk-H5BRPXWX.js} +2 -2
  424. package/__chunks__/{chunk-SYLPACCO.js → chunk-HLDLACXJ.js} +2 -2
  425. package/__chunks__/{chunk-DJMPFVA5.js → chunk-HLVFMKKJ.js} +2 -2
  426. package/__chunks__/{chunk-RCX4DZ3P.js → chunk-HPKV6QQU.js} +2 -2
  427. package/__chunks__/{chunk-O6DY7CD7.js → chunk-HTYQQHRB.js} +2 -2
  428. package/__chunks__/{chunk-KGK5ZP4K.js → chunk-HULA2ZB5.js} +2 -2
  429. package/__chunks__/{chunk-QBV4ORH5.js → chunk-HV5UXMOY.js} +2 -2
  430. package/__chunks__/chunk-HYKA7O3B.js +2 -0
  431. package/__chunks__/{chunk-36JJ5JRH.js → chunk-I2FFH5PA.js} +2 -2
  432. package/__chunks__/chunk-I47ZRB3J.js +2 -0
  433. package/__chunks__/{chunk-RPRXCYLL.js → chunk-I7HN7WZC.js} +2 -2
  434. package/__chunks__/{chunk-ZT3UE2I4.js → chunk-I7M5YUQS.js} +2 -2
  435. package/__chunks__/chunk-IAUBQAOK.js +2 -0
  436. package/__chunks__/{chunk-5EVIS542.js → chunk-IBUHA7T5.js} +2 -2
  437. package/__chunks__/{chunk-BDILLGIU.js → chunk-IE4SG6Y3.js} +2 -2
  438. package/__chunks__/{chunk-HEURNY5M.js → chunk-IEK7SALK.js} +2 -2
  439. package/__chunks__/{chunk-AJ3WK46S.js → chunk-IETXWWAF.js} +2 -2
  440. package/__chunks__/{chunk-W4TPORJ4.js → chunk-IF75XRNK.js} +2 -2
  441. package/__chunks__/chunk-IJE5B5DQ.js +2 -0
  442. package/__chunks__/{chunk-AEKVIZGA.js → chunk-IJSDZQIP.js} +2 -2
  443. package/__chunks__/{chunk-P6ZSBO2H.js → chunk-IQEG76GP.js} +2 -2
  444. package/__chunks__/chunk-IQIZ72YR.js +2 -0
  445. package/__chunks__/{chunk-X7BOBSA7.js → chunk-IQVLUJ65.js} +2 -2
  446. package/__chunks__/{chunk-WYMEJDWE.js → chunk-ISDFMIQ2.js} +2 -2
  447. package/__chunks__/{chunk-QBBJ66CG.js → chunk-ITAQAQMT.js} +2 -2
  448. package/__chunks__/{chunk-SL36SEJU.js → chunk-ITGC7TU7.js} +2 -2
  449. package/__chunks__/{chunk-PO2X5OTI.js → chunk-IWKHRTXE.js} +2 -2
  450. package/__chunks__/{chunk-KDEKURY7.js → chunk-JFY34VDT.js} +2 -2
  451. package/__chunks__/{chunk-SHNCAPLN.js → chunk-JL6PJDHJ.js} +2 -2
  452. package/__chunks__/{chunk-HKU3BVOJ.js → chunk-JNCGE6ZG.js} +2 -2
  453. package/__chunks__/chunk-JQZKDO3I.js +2 -0
  454. package/__chunks__/{chunk-7UWF5TQK.js → chunk-JRBDIP3A.js} +2 -2
  455. package/__chunks__/chunk-JRQWFWLE.js +2 -0
  456. package/__chunks__/{chunk-Q34WMJYN.js → chunk-JT7VAMPI.js} +2 -2
  457. package/__chunks__/{chunk-UBL63NOY.js → chunk-JZH4XID4.js} +2 -2
  458. package/__chunks__/{chunk-6WJGXW4L.js → chunk-K2VXMJBO.js} +2 -2
  459. package/__chunks__/{chunk-7AOABNNG.js → chunk-K5ZBXQXV.js} +2 -2
  460. package/__chunks__/{chunk-JCHAQ7DI.js → chunk-KAIWO3JH.js} +2 -2
  461. package/__chunks__/{chunk-IOPVZ45X.js → chunk-KCK6EIJZ.js} +2 -2
  462. package/__chunks__/chunk-KDL2J5UU.js +2 -0
  463. package/__chunks__/chunk-KEENZZQA.js +2 -0
  464. package/__chunks__/{chunk-XXEKL2DH.js → chunk-KEVM76Z6.js} +2 -2
  465. package/__chunks__/{chunk-OKAPL7IU.js → chunk-KK4SW5GK.js} +2 -2
  466. package/__chunks__/chunk-KN6D65Z4.js +2 -0
  467. package/__chunks__/{chunk-3OCOE6GZ.js → chunk-KNQINYMW.js} +2 -2
  468. package/__chunks__/{chunk-KQPPULAV.js → chunk-KRNFIMQV.js} +2 -2
  469. package/__chunks__/{chunk-5ZVY4RIO.js → chunk-KVYOP3R5.js} +2 -2
  470. package/__chunks__/chunk-KWKLZX2Y.js +2 -0
  471. package/__chunks__/{chunk-ZUDEF5PH.js → chunk-KY3A7C32.js} +2 -2
  472. package/__chunks__/{chunk-GH23JBYW.js → chunk-L2PRM4NS.js} +2 -2
  473. package/__chunks__/{chunk-NPJMJCHW.js → chunk-L6V2KLRC.js} +2 -2
  474. package/__chunks__/{chunk-JAP3I2TY.js → chunk-LABE3R2B.js} +2 -2
  475. package/__chunks__/{chunk-LRIZTOJX.js → chunk-LL2OAG62.js} +2 -2
  476. package/__chunks__/{chunk-ZX2MFQQE.js → chunk-LL6OV5BG.js} +2 -2
  477. package/__chunks__/chunk-LL6UFKTT.js +2 -0
  478. package/__chunks__/{chunk-LOB42GDJ.js → chunk-LQIFDBE4.js} +2 -2
  479. package/__chunks__/chunk-M4433RGI.js +2 -0
  480. package/__chunks__/{chunk-YIBZS65X.js → chunk-M7SI2BZ5.js} +2 -2
  481. package/__chunks__/chunk-MAMWCDL6.js +2 -0
  482. package/__chunks__/{chunk-IM3S5C7A.js → chunk-MBBFQ7BM.js} +2 -2
  483. package/__chunks__/chunk-MCVZ2L7D.js +2 -0
  484. package/__chunks__/{chunk-B4GJ6RHU.js → chunk-MDOSW4IP.js} +2 -2
  485. package/__chunks__/{chunk-TDQPGZCU.js → chunk-MFCDOAOP.js} +2 -2
  486. package/__chunks__/chunk-MFCQDQSI.js +2 -0
  487. package/__chunks__/chunk-MFNLD65I.js +2 -0
  488. package/__chunks__/{chunk-Y4QLCEX5.js → chunk-MHIWV4TP.js} +2 -2
  489. package/__chunks__/{chunk-XD2UAMEU.js → chunk-MHZLSYKI.js} +2 -2
  490. package/__chunks__/{chunk-CK3N6BP7.js → chunk-MJ2L2R7P.js} +2 -2
  491. package/__chunks__/chunk-MPE6J2FZ.js +2 -0
  492. package/__chunks__/chunk-MQCGFZND.js +2 -0
  493. package/__chunks__/{chunk-DOUMFBOY.js → chunk-MRXOZERN.js} +2 -2
  494. package/__chunks__/{chunk-3ZIF524L.js → chunk-MVXGMWHA.js} +2 -2
  495. package/__chunks__/{chunk-2PVUEXHG.js → chunk-N2BJUOYV.js} +2 -2
  496. package/__chunks__/{chunk-VCADWIXJ.js → chunk-N2SF7O6N.js} +2 -2
  497. package/__chunks__/{chunk-H54UTQ7S.js → chunk-N5NL33FG.js} +2 -2
  498. package/__chunks__/chunk-NFL6FTPG.js +2 -0
  499. package/__chunks__/{chunk-5ZOIFWXW.js → chunk-NNGPW4C4.js} +2 -2
  500. package/__chunks__/chunk-NPU42HGE.js +2 -0
  501. package/__chunks__/{chunk-BCE4OUKI.js → chunk-NUDS6AEB.js} +2 -2
  502. package/__chunks__/{chunk-5RBTMCET.js → chunk-NULPW5J7.js} +2 -2
  503. package/__chunks__/{chunk-4HXOCVLQ.js → chunk-NUS7PJPI.js} +2 -2
  504. package/__chunks__/{chunk-2G3HVYVT.js → chunk-NV6DGZ64.js} +2 -2
  505. package/__chunks__/chunk-NXE7UELQ.js +2 -0
  506. package/__chunks__/{chunk-MGHYEVAA.js → chunk-NYFU76DD.js} +2 -2
  507. package/__chunks__/chunk-NYKUG2BD.js +2 -0
  508. package/__chunks__/{chunk-55OVDTJG.js → chunk-O57Q75RW.js} +2 -2
  509. package/__chunks__/{chunk-IJ22BTFZ.js → chunk-O7YCFEFT.js} +2 -2
  510. package/__chunks__/chunk-OC3TXL2V.js +2 -0
  511. package/__chunks__/{chunk-IAMBP34Z.js → chunk-ODRGRF5E.js} +2 -2
  512. package/__chunks__/chunk-OEDJXEC4.js +2 -0
  513. package/__chunks__/chunk-ONODDPH6.js +2 -0
  514. package/__chunks__/{chunk-3ALHNDLT.js → chunk-OQ2PZJHD.js} +2 -2
  515. package/__chunks__/{chunk-GBSXIYDB.js → chunk-OTOD7QMF.js} +2 -2
  516. package/__chunks__/{chunk-HZO7QBSU.js → chunk-OUKHCOTG.js} +2 -2
  517. package/__chunks__/{chunk-4GKCTMFA.js → chunk-OULOPE3W.js} +2 -2
  518. package/__chunks__/{chunk-I73K2KDA.js → chunk-OVM6BMTQ.js} +2 -2
  519. package/__chunks__/chunk-OY7P7YMY.js +2 -0
  520. package/__chunks__/{chunk-L5S5P5OY.js → chunk-P3KWCR7B.js} +2 -2
  521. package/__chunks__/chunk-P422RFZX.js +2 -0
  522. package/__chunks__/{chunk-JCOAASSG.js → chunk-PECWDR7O.js} +2 -2
  523. package/__chunks__/{chunk-KDZOQ2KR.js → chunk-PEPX6GK6.js} +2 -2
  524. package/__chunks__/{chunk-QYVVVVMX.js → chunk-PESDMPD2.js} +2 -2
  525. package/__chunks__/{chunk-ZPQCKI33.js → chunk-PHXBOBXU.js} +2 -2
  526. package/__chunks__/chunk-PSBGRDPQ.js +2 -0
  527. package/__chunks__/{chunk-VGCOJ6E5.js → chunk-PSOP7Y6R.js} +2 -2
  528. package/__chunks__/{chunk-PHTEX6W2.js → chunk-PUOBJCBI.js} +2 -2
  529. package/__chunks__/{chunk-2DUCIYN5.js → chunk-PVQFNBHQ.js} +2 -2
  530. package/__chunks__/{chunk-AZ4PGCVQ.js → chunk-Q223KPGC.js} +2 -2
  531. package/__chunks__/chunk-Q2AWPGGC.js +2 -0
  532. package/__chunks__/{chunk-EEMAKXJY.js → chunk-Q54PBYJF.js} +2 -2
  533. package/__chunks__/{chunk-TVJX2CW2.js → chunk-QAFACEWQ.js} +2 -2
  534. package/__chunks__/{chunk-NRL3NY23.js → chunk-QDDBIE5J.js} +2 -2
  535. package/__chunks__/{chunk-QTAPR75L.js → chunk-QFD4KJBX.js} +2 -2
  536. package/__chunks__/{chunk-CJI67IO4.js → chunk-QNSCWHM6.js} +2 -2
  537. package/__chunks__/{chunk-MSMZZ5MP.js → chunk-QS2KXUIF.js} +2 -2
  538. package/__chunks__/{chunk-6RELFY6X.js → chunk-QVY5G664.js} +2 -2
  539. package/__chunks__/{chunk-T3Q3OLXT.js → chunk-QXXO4YR3.js} +2 -2
  540. package/__chunks__/{chunk-CQYNJAVN.js → chunk-RCXRWTLS.js} +2 -2
  541. package/__chunks__/{chunk-BMQXDZSL.js → chunk-REFXWQO6.js} +2 -2
  542. package/__chunks__/{chunk-UXHNT6XC.js → chunk-RHXJ2LRN.js} +2 -2
  543. package/__chunks__/chunk-RHZOEMQW.js +2 -0
  544. package/__chunks__/{chunk-HJOTPEXW.js → chunk-RKFOQNPX.js} +2 -2
  545. package/__chunks__/{chunk-N7AFTP53.js → chunk-RKLR6NDQ.js} +2 -2
  546. package/__chunks__/chunk-RMUOSPVR.js +2 -0
  547. package/__chunks__/{chunk-MZFIWOJM.js → chunk-RNDNBN6L.js} +2 -2
  548. package/__chunks__/{chunk-FEXZG4Q4.js → chunk-RU3WQUSA.js} +2 -2
  549. package/__chunks__/{chunk-PK5ROSZ4.js → chunk-RYHH4RZQ.js} +2 -2
  550. package/__chunks__/{chunk-YYS32OHG.js → chunk-S2OCHQ2U.js} +2 -2
  551. package/__chunks__/{chunk-AFA5ECYM.js → chunk-S3JDALK7.js} +2 -2
  552. package/__chunks__/{chunk-QTITZIF4.js → chunk-S5PH5ENI.js} +2 -2
  553. package/__chunks__/{chunk-5JEYLUVZ.js → chunk-S67MYJP2.js} +2 -2
  554. package/__chunks__/{chunk-XZ5ZFHMU.js → chunk-S7SFE7RV.js} +2 -2
  555. package/__chunks__/{chunk-JVIH6ULL.js → chunk-SAOHFMRY.js} +2 -2
  556. package/__chunks__/{chunk-SYYKXZVP.js → chunk-SDXMBWMP.js} +2 -2
  557. package/__chunks__/{chunk-TWRS6TUH.js → chunk-SEM2ZURP.js} +2 -2
  558. package/__chunks__/{chunk-IYNCLWIE.js → chunk-SH6EVJDQ.js} +2 -2
  559. package/__chunks__/chunk-SI2ND36M.js +2 -0
  560. package/__chunks__/{chunk-EJTF4U3V.js → chunk-SJFTV4RL.js} +2 -2
  561. package/__chunks__/{chunk-QON3AXBK.js → chunk-SNHVI5CA.js} +2 -2
  562. package/__chunks__/{chunk-PZGBE65S.js → chunk-SO6PLETH.js} +2 -2
  563. package/__chunks__/{chunk-CU4IG3AY.js → chunk-SSJJJRCG.js} +2 -2
  564. package/__chunks__/{chunk-WOSZRGLE.js → chunk-SSUUG5BL.js} +2 -2
  565. package/__chunks__/{chunk-JBVEH67A.js → chunk-SWLB5H7S.js} +2 -2
  566. package/__chunks__/{chunk-P44ZK4ZH.js → chunk-SY3QZU57.js} +2 -2
  567. package/__chunks__/{chunk-AZ5CTMID.js → chunk-SZE2S6MQ.js} +2 -2
  568. package/__chunks__/{chunk-AD7AOEJP.js → chunk-T3LOEKGZ.js} +2 -2
  569. package/__chunks__/{chunk-CCUP6Z5Q.js → chunk-TB2X5ZV4.js} +2 -2
  570. package/__chunks__/{chunk-ZDM7GLWV.js → chunk-TCSKGMYA.js} +2 -2
  571. package/__chunks__/{chunk-BTBUEEGJ.js → chunk-TGBFLSOH.js} +2 -2
  572. package/__chunks__/{chunk-5CTOGUFW.js → chunk-TK6AIRFN.js} +2 -2
  573. package/__chunks__/{chunk-XUD3HGD3.js → chunk-TKBWR2NV.js} +2 -2
  574. package/__chunks__/{chunk-SGW56RGE.js → chunk-TTUJHLYN.js} +2 -2
  575. package/__chunks__/chunk-TYUFKGBQ.js +2 -0
  576. package/__chunks__/{chunk-7EH7TH4P.js → chunk-TZSUBZOG.js} +2 -2
  577. package/__chunks__/{chunk-WYYVQAJZ.js → chunk-U5GSNGEN.js} +2 -2
  578. package/__chunks__/{chunk-DYQG77PA.js → chunk-ULPQXV5M.js} +2 -2
  579. package/__chunks__/{chunk-L5USSQV7.js → chunk-UV5UAFY5.js} +2 -2
  580. package/__chunks__/{chunk-MU756GSX.js → chunk-UWL6VWT6.js} +2 -2
  581. package/__chunks__/{chunk-EVQFZNK2.js → chunk-V2IOPWW3.js} +2 -2
  582. package/__chunks__/chunk-V2OTXVLL.js +2 -0
  583. package/__chunks__/{chunk-J6OGEOZF.js → chunk-V35RK43R.js} +2 -2
  584. package/__chunks__/{chunk-UJN5MPFK.js → chunk-V4FFONMO.js} +2 -2
  585. package/__chunks__/chunk-V6UDJRQK.js +2 -0
  586. package/__chunks__/{chunk-3DBFLIC4.js → chunk-V72EWHS4.js} +2 -2
  587. package/__chunks__/chunk-V7YPFAS3.js +2 -0
  588. package/__chunks__/{chunk-Y4TODM62.js → chunk-VAWDF5FF.js} +2 -2
  589. package/__chunks__/chunk-VC5UFAGJ.js +2 -0
  590. package/__chunks__/{chunk-E4NSUNPG.js → chunk-VH5CR6H6.js} +2 -2
  591. package/__chunks__/chunk-VJBO2WKZ.js +2 -0
  592. package/__chunks__/chunk-VJOFL77X.js +2 -0
  593. package/__chunks__/{chunk-33YI4RJB.js → chunk-VKP3E34Y.js} +2 -2
  594. package/__chunks__/{chunk-3VZRJQDC.js → chunk-VNUU3UJ4.js} +2 -2
  595. package/__chunks__/{chunk-APLVSXCM.js → chunk-VOL4KREK.js} +2 -2
  596. package/__chunks__/{chunk-ZLMLAFUC.js → chunk-VW7Q3FOX.js} +2 -2
  597. package/__chunks__/{chunk-FFYWKCLY.js → chunk-VXBF5YEX.js} +2 -2
  598. package/__chunks__/chunk-W4V7P3GC.js +2 -0
  599. package/__chunks__/{chunk-EIBA4UGS.js → chunk-WAOCAJEE.js} +2 -2
  600. package/__chunks__/{chunk-P7LK2MRC.js → chunk-WMI7RPGF.js} +2 -2
  601. package/__chunks__/chunk-WMUE6S3I.js +2 -0
  602. package/__chunks__/{chunk-Y3LC7LH7.js → chunk-WODLSNSJ.js} +2 -2
  603. package/__chunks__/{chunk-NSMYRCSP.js → chunk-WP2EHLMN.js} +2 -2
  604. package/__chunks__/chunk-WQV4V7BT.js +2 -0
  605. package/__chunks__/{chunk-UQ4VPC5D.js → chunk-WR7UW653.js} +2 -2
  606. package/__chunks__/chunk-X5NJUYJU.js +2 -0
  607. package/__chunks__/chunk-XAT7MM7Y.js +2 -0
  608. package/__chunks__/{chunk-C75RAZQH.js → chunk-XEDHNJSX.js} +2 -2
  609. package/__chunks__/{chunk-7AHPPG66.js → chunk-XFLZZ57I.js} +2 -2
  610. package/__chunks__/{chunk-56Y4C7OL.js → chunk-XHZGVAHC.js} +2 -2
  611. package/__chunks__/{chunk-QZXEWJEB.js → chunk-XIXBZMQ5.js} +2 -2
  612. package/__chunks__/{chunk-PFYDQUAH.js → chunk-XJ7DUFSJ.js} +2 -2
  613. package/__chunks__/chunk-XQBGE3JJ.js +2 -0
  614. package/__chunks__/{chunk-OTGLBMDI.js → chunk-XWF6N5TB.js} +2 -2
  615. package/__chunks__/{chunk-WP3EKQ33.js → chunk-XYOQ2RUY.js} +2 -2
  616. package/__chunks__/chunk-Y2U6S3TU.js +2 -0
  617. package/__chunks__/{chunk-ARN53Q73.js → chunk-Y7QAA5B4.js} +2 -2
  618. package/__chunks__/{chunk-ZJ44BBJH.js → chunk-YABW3YGJ.js} +2 -2
  619. package/__chunks__/{chunk-XXHY3YCJ.js → chunk-YAJEBU5D.js} +2 -2
  620. package/__chunks__/chunk-YFBIIV4V.js +2 -0
  621. package/__chunks__/{chunk-HIF225WK.js → chunk-YICRORKU.js} +2 -2
  622. package/__chunks__/{chunk-T5ONLZ6E.js → chunk-YOYRVDJG.js} +2 -2
  623. package/__chunks__/{chunk-QWWHHGCE.js → chunk-YQZC3OTO.js} +2 -2
  624. package/__chunks__/{chunk-P6ZE7DDI.js → chunk-YRZH6WDS.js} +2 -2
  625. package/__chunks__/{chunk-LQWIRI63.js → chunk-YSBIXIOE.js} +2 -2
  626. package/__chunks__/{chunk-34CLCC7I.js → chunk-YWBGCS6H.js} +2 -2
  627. package/__chunks__/{chunk-62PXFZD6.js → chunk-YXTBEJY6.js} +2 -2
  628. package/__chunks__/{chunk-YHV2APOL.js → chunk-Z2X7SM5M.js} +2 -2
  629. package/__chunks__/{chunk-VW3MLSFP.js → chunk-Z44LZLLH.js} +2 -2
  630. package/__chunks__/{chunk-5JBL4CYL.js → chunk-Z4TSYODO.js} +2 -2
  631. package/__chunks__/{chunk-O4HOP36L.js → chunk-ZEPKB7OE.js} +2 -2
  632. package/__chunks__/{chunk-7DINC2IK.js → chunk-ZF2TKG7S.js} +2 -2
  633. package/__chunks__/{chunk-JVMIDZOF.js → chunk-ZMY7B4ZS.js} +2 -2
  634. package/__chunks__/{chunk-KCVMVIOG.js → chunk-ZNAF3YFY.js} +2 -2
  635. package/__chunks__/{chunk-Z5STIAXQ.js → chunk-ZR7CPMXT.js} +2 -2
  636. package/__chunks__/{chunk-4ZPA2ZNG.js → chunk-ZRU3XKDC.js} +2 -2
  637. package/__chunks__/{chunk-O3TBK5D4.js → chunk-ZYE3RICK.js} +2 -2
  638. package/__commonjs/UI/SignTransactionsModals/SignTransactionsModals.js +24 -24
  639. package/__commonjs/UI/SignTransactionsModals/SignWithCrossWindowWalletModal/SignWithCrossWindowWalletModal.js +6 -6
  640. package/__commonjs/UI/SignTransactionsModals/SignWithCrossWindowWalletModal/index.js +6 -6
  641. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignWithDeviceModal.js +4 -4
  642. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/index.js +4 -4
  643. package/__commonjs/UI/SignTransactionsModals/SignWithExtensionModal/SignWithExtensionModal.js +6 -6
  644. package/__commonjs/UI/SignTransactionsModals/SignWithExtensionModal/index.js +6 -6
  645. package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/SignWithExtraModal.js +1 -1
  646. package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
  647. package/__commonjs/UI/SignTransactionsModals/SignWithIframeModal/SignWithIframeModal.js +6 -6
  648. package/__commonjs/UI/SignTransactionsModals/SignWithIframeModal/index.js +6 -6
  649. package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/LedgerGuardianSigningModalError.js +6 -6
  650. package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/SignWithLedgerModal.js +24 -24
  651. package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/index.js +24 -24
  652. package/__commonjs/UI/SignTransactionsModals/SignWithMetamaskModal/SignWithMetamaskModal.js +4 -4
  653. package/__commonjs/UI/SignTransactionsModals/SignWithMetamaskModal/index.js +4 -4
  654. package/__commonjs/UI/SignTransactionsModals/SignWithPasskeyModal/SignWithPasskeyModal.js +6 -6
  655. package/__commonjs/UI/SignTransactionsModals/SignWithPasskeyModal/index.js +6 -6
  656. package/__commonjs/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
  657. package/__commonjs/UI/SignTransactionsModals/components/SignWaitingScreenModal/SignWaitingScreenModal.js +5 -5
  658. package/__commonjs/UI/SignTransactionsModals/components/SignWaitingScreenModal/index.js +5 -5
  659. package/__commonjs/UI/SignTransactionsModals/components/index.js +6 -6
  660. package/__commonjs/UI/SignTransactionsModals/index.js +24 -24
  661. package/__commonjs/UI/TransactionInfo/components/EventsList/index.js +9 -9
  662. package/__commonjs/UI/TransactionInfo/components/TransactionLogs/TransactionLogs.js +1 -1
  663. package/__commonjs/UI/TransactionInfo/components/TransactionLogs/index.js +1 -1
  664. package/__commonjs/UI/index.js +78 -78
  665. package/__commonjs/UI/pages/UnlockPage/index.js +1 -1
  666. package/__commonjs/UI/pages/index.js +1 -1
  667. package/__commonjs/UI/walletConnect/WalletConnectLoginButton/WalletConnectLoginButton.js +1 -1
  668. package/__commonjs/UI/walletConnect/WalletConnectLoginButton/index.js +1 -1
  669. package/__commonjs/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContainer.js +1 -1
  670. package/__commonjs/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContent/WalletConnectLoginContent.js +1 -1
  671. package/__commonjs/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContent/index.js +1 -1
  672. package/__commonjs/UI/walletConnect/WalletConnectLoginContainer/index.js +1 -1
  673. package/__commonjs/UI/walletConnect/index.js +1 -1
  674. package/__commonjs/__mocks__/index.js +1 -1
  675. package/__commonjs/__mocks__/utils/index.js +2 -2
  676. package/__commonjs/__mocks__/utils/renderWithProvider.js +2 -2
  677. package/__commonjs/components/LogoutListener/LogoutListener.js +3 -3
  678. package/__commonjs/components/LogoutListener/helpers/index.js +3 -3
  679. package/__commonjs/components/LogoutListener/helpers/useLogoutFromMultipleTabs.js +3 -3
  680. package/__commonjs/components/LogoutListener/helpers/useNativeAuthLogout.js +3 -3
  681. package/__commonjs/components/LogoutListener/index.js +3 -3
  682. package/__commonjs/components/ProviderInitializer/ProviderInitializer.js +1 -1
  683. package/__commonjs/components/ProviderInitializer/hooks/index.js +1 -1
  684. package/__commonjs/components/ProviderInitializer/hooks/useSetLedgerProvider.js +1 -1
  685. package/__commonjs/components/ProviderInitializer/index.js +1 -1
  686. package/__commonjs/hooks/index.js +2 -2
  687. package/__commonjs/hooks/login/index.js +2 -2
  688. package/__commonjs/hooks/login/useWalletConnectV2Login.js +1 -1
  689. package/__commonjs/hooks/transactions/helpers/checkNeedsGuardianSigning.js +1 -1
  690. package/__commonjs/hooks/transactions/helpers/index.js +1 -1
  691. package/__commonjs/hooks/transactions/helpers/useGetLedgerProvider.js +1 -1
  692. package/__commonjs/hooks/transactions/index.js +1 -1
  693. package/__commonjs/hooks/transactions/useCancelCrossWindowAction.d.ts +2 -0
  694. package/__commonjs/hooks/transactions/useCancelCrossWindowAction.js +9 -0
  695. package/__commonjs/hooks/transactions/useSignTransactions.js +1 -1
  696. package/__commonjs/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
  697. package/__commonjs/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
  698. package/__commonjs/utils/index.js +3 -3
  699. package/__commonjs/utils/logout.js +1 -1
  700. package/__commonjs/utils/transactions/builtCallbackUrl.js +1 -1
  701. package/__commonjs/utils/transactions/index.js +1 -1
  702. package/__commonjs/web/hooks/index.js +1 -1
  703. package/__commonjs/web/hooks/useIdleTimer.js +1 -1
  704. package/__commonjs/web/index.js +1 -1
  705. package/__commonjs/wrappers/AppInitializer.js +1 -1
  706. package/__commonjs/wrappers/DappProvider/CustomComponents.js +2 -2
  707. package/__commonjs/wrappers/DappProvider/DappProvider.js +2 -2
  708. package/__commonjs/wrappers/DappProvider/index.js +2 -2
  709. package/__commonjs/wrappers/index.js +2 -2
  710. package/__mocks__/accountConfig.js +1 -1
  711. package/__mocks__/index.js +1 -1
  712. package/__mocks__/server.js +1 -1
  713. package/__mocks__/utils/index.js +1 -1
  714. package/__mocks__/utils/renderWithProvider.js +1 -1
  715. package/apiCalls/accounts/getAccountFromApi.js +1 -1
  716. package/apiCalls/accounts/index.js +1 -1
  717. package/apiCalls/accounts/useGetAccountFromApi.js +1 -1
  718. package/apiCalls/configuration/getApiAddressForChainId.js +1 -1
  719. package/apiCalls/configuration/getEnvironmentForChainId.js +1 -1
  720. package/apiCalls/configuration/getNetworkConfig.js +1 -1
  721. package/apiCalls/configuration/getServerConfigurationForEnvironment.js +1 -1
  722. package/apiCalls/configuration/index.js +1 -1
  723. package/apiCalls/configuration/useGetNetworkConfigFromApi.js +1 -1
  724. package/apiCalls/configuration/useGetServerConfigurationFromApi.js +1 -1
  725. package/apiCalls/economics/getEconomicsInfo.js +1 -1
  726. package/apiCalls/economics/index.js +1 -1
  727. package/apiCalls/economics/useGetEconomicsInfoFromApi.js +1 -1
  728. package/apiCalls/index.js +1 -1
  729. package/apiCalls/tokens/getPersistedToken.js +1 -1
  730. package/apiCalls/transactions/getTransactionsByHashes.js +1 -1
  731. package/apiCalls/transactions/index.js +1 -1
  732. package/apiCalls/transactions/sendSignedBatchTransactions.js +1 -1
  733. package/apiCalls/transactions/sendSignedTransactions.js +1 -1
  734. package/apiCalls/transactions/useGetTransactionsFromApi.js +1 -1
  735. package/apiCalls/utils/getCleanApiAddress.js +1 -1
  736. package/apiCalls/utils/getScamAddressData.js +1 -1
  737. package/apiCalls/utils/index.js +1 -1
  738. package/apiCalls/utils/useApiFetch.js +1 -1
  739. package/components/LogoutListener/LogoutListener.js +1 -1
  740. package/components/LogoutListener/helpers/index.js +1 -1
  741. package/components/LogoutListener/helpers/useLogoutFromMultipleTabs.js +1 -1
  742. package/components/LogoutListener/helpers/useNativeAuthLogout.js +1 -1
  743. package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/index.js +1 -1
  744. package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/useNativeAuthLogoutWarning.js +1 -1
  745. package/components/LogoutListener/index.js +1 -1
  746. package/components/ProviderInitializer/ProviderInitializer.js +1 -1
  747. package/components/ProviderInitializer/helpers/getModifiedLoginToken.js +1 -1
  748. package/components/ProviderInitializer/helpers/index.js +1 -1
  749. package/components/ProviderInitializer/helpers/processModifiedAccount.js +1 -1
  750. package/components/ProviderInitializer/hooks/index.js +1 -1
  751. package/components/ProviderInitializer/hooks/useSetLedgerProvider.js +1 -1
  752. package/components/ProviderInitializer/index.js +1 -1
  753. package/components/TransactionSender/TransactionSender.js +1 -1
  754. package/components/TransactionSender/index.js +1 -1
  755. package/components/TransactionSender/utils/handleSendBatchTransactionsErrors.js +1 -1
  756. package/components/TransactionSender/utils/handleSendTransactionsErrors.js +1 -1
  757. package/components/TransactionSender/utils/invokeSendTransactions.js +1 -1
  758. package/components/TransactionsTracker/TransactionTracker.js +1 -1
  759. package/components/TransactionsTracker/index.js +1 -1
  760. package/constants/index.js +1 -1
  761. package/constants/network.js +1 -1
  762. package/hooks/account/index.js +1 -1
  763. package/hooks/account/useGetAccount.js +1 -1
  764. package/hooks/account/useGetAccountInfo.js +1 -1
  765. package/hooks/account/useGetAccountProvider.js +1 -1
  766. package/hooks/account/useGetBatchWebsocketEvent.js +1 -1
  767. package/hooks/account/useGetIsLoggedIn.js +1 -1
  768. package/hooks/account/useGetIsWalletConnectV2Initialized.js +1 -1
  769. package/hooks/account/useGetLoginInfo.js +1 -1
  770. package/hooks/account/useGetWebsocketEvent.js +1 -1
  771. package/hooks/economics/index.js +1 -1
  772. package/hooks/economics/useGetEgldPrice.js +1 -1
  773. package/hooks/index.js +1 -1
  774. package/hooks/login/helpers/clearInitiatedLogins.js +1 -1
  775. package/hooks/login/helpers/index.js +1 -1
  776. package/hooks/login/index.js +1 -1
  777. package/hooks/login/useCrossWindowLogin.js +1 -1
  778. package/hooks/login/useExtensionLogin.js +1 -1
  779. package/hooks/login/useGetModalLoginMethods.js +1 -1
  780. package/hooks/login/useIframeLogin.js +1 -1
  781. package/hooks/login/useLedgerLogin.js +1 -1
  782. package/hooks/login/useLoginService.js +1 -1
  783. package/hooks/login/useMetamaskLogin.js +1 -1
  784. package/hooks/login/useOperaLogin.js +1 -1
  785. package/hooks/login/usePasskeyLogin.js +1 -1
  786. package/hooks/login/useWalletConnectV2Login.js +1 -1
  787. package/hooks/login/useWebViewLogin.js +1 -1
  788. package/hooks/login/useWebWalletLogin.js +1 -1
  789. package/hooks/login/useXaliasLogin.js +1 -1
  790. package/hooks/signMessage/index.js +1 -1
  791. package/hooks/signMessage/useGetLastSignedMessageSession.js +1 -1
  792. package/hooks/signMessage/useGetSignMessageSession.js +1 -1
  793. package/hooks/signMessage/useGetSignedMessageStatus.js +1 -1
  794. package/hooks/signMessage/useSignMessage.js +1 -1
  795. package/hooks/toasts/index.js +1 -1
  796. package/hooks/toasts/useGetToasts.js +1 -1
  797. package/hooks/toasts/useTransactionsToasts.js +1 -1
  798. package/hooks/transactions/batch/tracker/useBatchTransactionsTracker.js +1 -1
  799. package/hooks/transactions/batch/tracker/useCheckBatch.js +1 -1
  800. package/hooks/transactions/batch/tracker/useCheckBatchesOnWsFailureFallback.js +1 -1
  801. package/hooks/transactions/batch/tracker/useCheckHangingBatchesFallback.js +1 -1
  802. package/hooks/transactions/batch/tracker/useUpdateBatch.js +1 -1
  803. package/hooks/transactions/batch/tracker/useVerifyBatchStatus.js +1 -1
  804. package/hooks/transactions/batch/useGetBatchStatus.js +1 -1
  805. package/hooks/transactions/batch/useGetBatches.js +1 -1
  806. package/hooks/transactions/batch/useResolveBatchStatusResponse.js +1 -1
  807. package/hooks/transactions/batch/useSendBatchTransactions.js +1 -1
  808. package/hooks/transactions/helpers/buildBatchId.js +1 -1
  809. package/hooks/transactions/helpers/checkNeedsGuardianSigning.js +1 -1
  810. package/hooks/transactions/helpers/extractSessionId.js +1 -1
  811. package/hooks/transactions/helpers/getShouldMoveTransactionsToSignedState.js +1 -1
  812. package/hooks/transactions/helpers/index.js +1 -1
  813. package/hooks/transactions/helpers/useClearTransactionsToSignWithWarning.js +1 -1
  814. package/hooks/transactions/helpers/useGetLedgerProvider.js +1 -1
  815. package/hooks/transactions/helpers/useSetTransactionNonces.js +1 -1
  816. package/hooks/transactions/index.js +1 -1
  817. package/hooks/transactions/useCancelCrossWindowAction.d.ts +2 -0
  818. package/hooks/transactions/useCancelCrossWindowAction.js +2 -0
  819. package/hooks/transactions/useCancelWalletConnectAction.js +1 -1
  820. package/hooks/transactions/useCheckTransactionStatus/checkBatch.js +1 -1
  821. package/hooks/transactions/useCheckTransactionStatus/index.js +1 -1
  822. package/hooks/transactions/useCheckTransactionStatus/manageFailedTransactions.js +1 -1
  823. package/hooks/transactions/useCheckTransactionStatus/manageTimedOutTransactions.js +1 -1
  824. package/hooks/transactions/useCheckTransactionStatus/useCheckTransactionStatus.js +1 -1
  825. package/hooks/transactions/useGetActiveTransactionsStatus.js +1 -1
  826. package/hooks/transactions/useGetFailedTransactions.js +1 -1
  827. package/hooks/transactions/useGetLastPendingTransactionHash.js +1 -1
  828. package/hooks/transactions/useGetPendingTransactions.js +1 -1
  829. package/hooks/transactions/useGetPollingInterval.js +1 -1
  830. package/hooks/transactions/useGetSignTransactionsError.js +1 -1
  831. package/hooks/transactions/useGetSignedTransactions.js +1 -1
  832. package/hooks/transactions/useGetSuccessfulTransactions.js +1 -1
  833. package/hooks/transactions/useGetTokenDetails.js +1 -1
  834. package/hooks/transactions/useGetTransactionDisplayInfo.js +1 -1
  835. package/hooks/transactions/useParseMultiEsdtTransferData.js +1 -1
  836. package/hooks/transactions/useParseSignedTransactions.js +1 -1
  837. package/hooks/transactions/useSignMultipleTransactions.js +1 -1
  838. package/hooks/transactions/useSignTransactions.js +1 -1
  839. package/hooks/transactions/useSignTransactionsCommonData.js +1 -1
  840. package/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
  841. package/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
  842. package/hooks/transactions/useTrackTransactionStatus.js +1 -1
  843. package/hooks/transactions/useTransactionsTracker.js +1 -1
  844. package/hooks/useGetNetworkConfig.js +1 -1
  845. package/hooks/useGetNotification.js +1 -1
  846. package/hooks/websocketListener/index.js +1 -1
  847. package/hooks/websocketListener/useInitializeWebsocketConnection.js +1 -1
  848. package/hooks/websocketListener/useRegisterWebsocketListener.js +1 -1
  849. package/models/index.js +1 -1
  850. package/models/newTransaction.js +1 -1
  851. package/package.json +2 -2
  852. package/providers/accountProvider.js +1 -1
  853. package/providers/experimentalWebViewProvider/ExperimentalWebviewProvider.js +1 -1
  854. package/providers/experimentalWebViewProvider/index.js +1 -1
  855. package/providers/index.js +1 -1
  856. package/providers/utils.js +1 -1
  857. package/providers/webviewProvider/index.js +1 -1
  858. package/providers/webviewProvider/requestMethods.js +1 -1
  859. package/providers/webviewProvider/webviewProvider.js +1 -1
  860. package/reduxStore/DappProviderContext.js +1 -1
  861. package/reduxStore/commonActions.js +1 -1
  862. package/reduxStore/middlewares/loginSessionMiddleware.js +1 -1
  863. package/reduxStore/persistConfig.js +1 -1
  864. package/reduxStore/persistedRootReducer.js +1 -1
  865. package/reduxStore/reducers.js +1 -1
  866. package/reduxStore/rootReducer.js +1 -1
  867. package/reduxStore/selectors/accountInfoSelectors.js +1 -1
  868. package/reduxStore/selectors/index.js +1 -1
  869. package/reduxStore/selectors/loginInfoSelectors.js +1 -1
  870. package/reduxStore/selectors/transactionsInfoSelectors.js +1 -1
  871. package/reduxStore/selectors/transactionsSelectors.js +1 -1
  872. package/reduxStore/slices/accountInfoSlice.js +1 -1
  873. package/reduxStore/slices/batchTransactionsSlice.js +1 -1
  874. package/reduxStore/slices/dappConfigSlice.js +1 -1
  875. package/reduxStore/slices/index.js +1 -1
  876. package/reduxStore/slices/loginInfoSlice.js +1 -1
  877. package/reduxStore/slices/modalsSlice.js +1 -1
  878. package/reduxStore/slices/networkConfigSlice.js +1 -1
  879. package/reduxStore/slices/signedMessageInfoSlice.js +1 -1
  880. package/reduxStore/slices/toastsSlice.js +1 -1
  881. package/reduxStore/slices/transactionsInfoSlice.js +1 -1
  882. package/reduxStore/slices/transactionsSlice.js +1 -1
  883. package/reduxStore/store.js +1 -1
  884. package/services/index.js +1 -1
  885. package/services/nativeAuth/helpers/getAuthorizationInfo.js +1 -1
  886. package/services/nativeAuth/helpers/getIsNativeAuthSingingForbidden.js +1 -1
  887. package/services/nativeAuth/helpers/index.js +1 -1
  888. package/services/nativeAuth/helpers/loginWithNativeAuthToken.js +1 -1
  889. package/services/nativeAuth/index.js +1 -1
  890. package/services/nativeAuth/methods/index.js +1 -1
  891. package/services/nativeAuth/nativeAuth.js +1 -1
  892. package/services/transactions/clearTransactions.js +1 -1
  893. package/services/transactions/getBatchTransactionsStatus.js +1 -1
  894. package/services/transactions/getTransactionsDetails.js +1 -1
  895. package/services/transactions/index.js +1 -1
  896. package/services/transactions/isCrossShardTransaction.js +1 -1
  897. package/services/transactions/sendBatchTransactions.js +1 -1
  898. package/services/transactions/sendBatchTransactions.test.js +1 -1
  899. package/services/transactions/sendTransactions.js +1 -1
  900. package/services/transactions/signTransactions.js +1 -1
  901. package/services/transactions/transformAndSignTransactions.js +1 -1
  902. package/services/transactions/updateSignedTransactions.js +1 -1
  903. package/services/transactions/utils/transformTransactionsToSign.js +1 -1
  904. package/services/transactions/utils.js +1 -1
  905. package/types/index.js +1 -1
  906. package/utils/account/getAccount.js +1 -1
  907. package/utils/account/getAccountBalance.js +1 -1
  908. package/utils/account/getAccountProviderType.js +1 -1
  909. package/utils/account/getAccountShard.js +1 -1
  910. package/utils/account/getAddress.js +1 -1
  911. package/utils/account/getIsProviderEqualTo.js +1 -1
  912. package/utils/account/getLatestNonce.js +1 -1
  913. package/utils/account/getShardOfAddress.js +1 -1
  914. package/utils/account/getWebviewToken.js +1 -1
  915. package/utils/account/index.js +1 -1
  916. package/utils/account/loginWithExternalProvider.js +1 -1
  917. package/utils/account/refreshAccount.js +1 -1
  918. package/utils/account/setNonce.js +1 -1
  919. package/utils/account/signMessage.js +1 -1
  920. package/utils/getIsLoggedIn.js +1 -1
  921. package/utils/index.js +1 -1
  922. package/utils/internal/index.js +1 -1
  923. package/utils/logout.js +1 -1
  924. package/utils/network/getChainID.js +1 -1
  925. package/utils/network/getEgldLabel.js +1 -1
  926. package/utils/network/getNetworkConfig.js +1 -1
  927. package/utils/network/index.js +1 -1
  928. package/utils/operations/calculateFeeInFiat.js +1 -1
  929. package/utils/operations/calculateFeeLimit.js +1 -1
  930. package/utils/operations/denominate.js +1 -1
  931. package/utils/operations/formatAmount.js +1 -1
  932. package/utils/operations/index.js +1 -1
  933. package/utils/operations/ledger/getLedgerVersionOptions.js +1 -1
  934. package/utils/operations/ledger/index.js +1 -1
  935. package/utils/operations/nominate.js +1 -1
  936. package/utils/operations/parseAmount.js +1 -1
  937. package/utils/smartContracts.js +1 -1
  938. package/utils/toasts/customToastsActions.js +1 -1
  939. package/utils/toasts/index.js +1 -1
  940. package/utils/transactions/batch/getTransactionsStatus.js +1 -1
  941. package/utils/transactions/batch/updateBatchTransactionsStatuses.js +1 -1
  942. package/utils/transactions/builtCallbackUrl.js +1 -1
  943. package/utils/transactions/getAllTransactionsLink.js +1 -1
  944. package/utils/transactions/getAreTransactionsOnSameShard.js +1 -1
  945. package/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.js +1 -1
  946. package/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.js +1 -1
  947. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/getTransactionValue.js +1 -1
  948. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getEgldValueData.js +1 -1
  949. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getTitleText.js +1 -1
  950. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromActions.js +1 -1
  951. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromDataField.js +1 -1
  952. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromOperations.js +1 -1
  953. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/index.js +1 -1
  954. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/index.js +1 -1
  955. package/utils/transactions/getInterpretedTransaction/helpers/index.js +1 -1
  956. package/utils/transactions/getInterpretedTransaction/index.js +1 -1
  957. package/utils/transactions/getOperationsDetails.js +1 -1
  958. package/utils/transactions/getTransactionLink.js +1 -1
  959. package/utils/transactions/index.js +1 -1
  960. package/utils/transactions/isGuardianTx.js +1 -1
  961. package/utils/transactions/parseMultiEsdtTransferData.js +1 -1
  962. package/utils/transactions/parseMultiEsdtTransferDataForMultipleTransactions.js +1 -1
  963. package/utils/transactions/parseTransactionAfterSigning.js +1 -1
  964. package/utils/transactions/removeTransactionParamsFromUrl.js +1 -1
  965. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/decodeForDisplay.js +1 -1
  966. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getDisplayValueAndValidationWarnings.js +1 -1
  967. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getSmartDecodedParts.js +1 -1
  968. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/index.js +1 -1
  969. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/index.js +1 -1
  970. package/utils/transactions/transactionInfoHelpers/getScResultsInitialDecodeMethod.js +1 -1
  971. package/utils/transactions/transactionInfoHelpers/getShardText.js +1 -1
  972. package/utils/transactions/transactionInfoHelpers/getTransactionActionNftText.js +1 -1
  973. package/utils/transactions/transactionInfoHelpers/getTransactionActionTokenText.js +1 -1
  974. package/utils/transactions/transactionInfoHelpers/getTransactionLinkWithLabel.js +1 -1
  975. package/utils/transactions/transactionInfoHelpers/getTransactionMessages.js +1 -1
  976. package/utils/transactions/transactionInfoHelpers/index.js +1 -1
  977. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/index.js +1 -1
  978. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/mexUnwrapper.js +1 -1
  979. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/index.js +1 -1
  980. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/transactionActionUnwrapper.js +1 -1
  981. package/utils/transactions/transactionInfoHelpers/useDataDecode.js +1 -1
  982. package/utils/transactions/transactionInfoHelpers/useDataDecodeMethod.js +1 -1
  983. package/utils/validation/index.js +1 -1
  984. package/utils/validation/maxDecimals.js +1 -1
  985. package/utils/validation/stringIsFloat.js +1 -1
  986. package/utils/waitForChainID.js +1 -1
  987. package/utils/walletconnect/__mocks__/sdkWalletconnectProvider.js +1 -1
  988. package/web/hooks/index.js +1 -1
  989. package/web/hooks/useIdleTimer.js +1 -1
  990. package/web/index.js +1 -1
  991. package/wrappers/AppInitializer.js +1 -1
  992. package/wrappers/AuthenticatedRoutesWrapper/AuthenticatedRoutesWrapper.js +1 -1
  993. package/wrappers/AuthenticatedRoutesWrapper/index.js +1 -1
  994. package/wrappers/AxiosInterceptorContext/AxiosInterceptorContext.js +1 -1
  995. package/wrappers/AxiosInterceptorContext/components/AxiosInterceptor.js +1 -1
  996. package/wrappers/AxiosInterceptorContext/components/AxiosInterceptorContextProvider.js +1 -1
  997. package/wrappers/AxiosInterceptorContext/components/LoginInfoListener.js +1 -1
  998. package/wrappers/AxiosInterceptorContext/components/index.js +1 -1
  999. package/wrappers/AxiosInterceptorContext/index.js +1 -1
  1000. package/wrappers/DappProvider/CustomComponents.js +1 -1
  1001. package/wrappers/DappProvider/DappProvider.js +1 -1
  1002. package/wrappers/DappProvider/index.js +1 -1
  1003. package/wrappers/index.js +1 -1
  1004. package/__chunks__/chunk-25PH27XX.js +0 -2
  1005. package/__chunks__/chunk-2CG6XOHZ.js +0 -2
  1006. package/__chunks__/chunk-2HQJYAJ2.js +0 -2
  1007. package/__chunks__/chunk-3G242RKD.js +0 -2
  1008. package/__chunks__/chunk-3V2V3WLX.js +0 -2
  1009. package/__chunks__/chunk-44UNMKZV.js +0 -2
  1010. package/__chunks__/chunk-4FV5WXRI.js +0 -2
  1011. package/__chunks__/chunk-4Q5XARIX.js +0 -2
  1012. package/__chunks__/chunk-4T3EFIPI.js +0 -2
  1013. package/__chunks__/chunk-57DOONMB.js +0 -2
  1014. package/__chunks__/chunk-5OC4DXV3.js +0 -2
  1015. package/__chunks__/chunk-6RKK5AVX.js +0 -2
  1016. package/__chunks__/chunk-7SKCEKFC.js +0 -2
  1017. package/__chunks__/chunk-AFHIR5VN.js +0 -2
  1018. package/__chunks__/chunk-AGBQX6XH.js +0 -2
  1019. package/__chunks__/chunk-APER4RWG.js +0 -2
  1020. package/__chunks__/chunk-AQ7ZFARL.js +0 -2
  1021. package/__chunks__/chunk-BKG5QNVT.js +0 -2
  1022. package/__chunks__/chunk-BXFWVBLD.js +0 -2
  1023. package/__chunks__/chunk-CSIVFEHX.js +0 -2
  1024. package/__chunks__/chunk-CTE2PII3.js +0 -2
  1025. package/__chunks__/chunk-EASZPWDI.js +0 -2
  1026. package/__chunks__/chunk-F5S22R2J.js +0 -2
  1027. package/__chunks__/chunk-FAG5WEX5.js +0 -2
  1028. package/__chunks__/chunk-G4GWQBB2.js +0 -2
  1029. package/__chunks__/chunk-H6LQDWBA.js +0 -2
  1030. package/__chunks__/chunk-HTBJF4YL.js +0 -2
  1031. package/__chunks__/chunk-IHUCQEAO.js +0 -2
  1032. package/__chunks__/chunk-IIBGGIXF.js +0 -2
  1033. package/__chunks__/chunk-IJUNWSRI.js +0 -2
  1034. package/__chunks__/chunk-JHEX4XJD.js +0 -2
  1035. package/__chunks__/chunk-JLB2SD4Y.js +0 -2
  1036. package/__chunks__/chunk-JX7Y722R.js +0 -2
  1037. package/__chunks__/chunk-K63MB7UE.js +0 -2
  1038. package/__chunks__/chunk-KD3DJIPM.js +0 -2
  1039. package/__chunks__/chunk-KKE6K6SP.js +0 -2
  1040. package/__chunks__/chunk-KQF4JLB5.js +0 -2
  1041. package/__chunks__/chunk-L6OLOPK7.js +0 -2
  1042. package/__chunks__/chunk-LGORPIFL.js +0 -2
  1043. package/__chunks__/chunk-LORFN4T2.js +0 -2
  1044. package/__chunks__/chunk-LRPEYKUM.js +0 -2
  1045. package/__chunks__/chunk-M6B5TKYN.js +0 -2
  1046. package/__chunks__/chunk-MUY7XCBL.js +0 -2
  1047. package/__chunks__/chunk-NJJDLNA3.js +0 -2
  1048. package/__chunks__/chunk-NR46TAWF.js +0 -2
  1049. package/__chunks__/chunk-OPT3JYNI.js +0 -2
  1050. package/__chunks__/chunk-OX6DC2DM.js +0 -2
  1051. package/__chunks__/chunk-OYOMODZB.js +0 -2
  1052. package/__chunks__/chunk-PD2ZC75T.js +0 -2
  1053. package/__chunks__/chunk-PDWGUQLF.js +0 -2
  1054. package/__chunks__/chunk-QEUSB62B.js +0 -2
  1055. package/__chunks__/chunk-R4M6QQ4K.js +0 -2
  1056. package/__chunks__/chunk-REYXF4NM.js +0 -2
  1057. package/__chunks__/chunk-RXFYZDFZ.js +0 -2
  1058. package/__chunks__/chunk-SDMUANO6.js +0 -2
  1059. package/__chunks__/chunk-SMJ7LGTH.js +0 -2
  1060. package/__chunks__/chunk-SRJ4IEGT.js +0 -2
  1061. package/__chunks__/chunk-SRSDD3A4.js +0 -2
  1062. package/__chunks__/chunk-SSU7LQ75.js +0 -2
  1063. package/__chunks__/chunk-T6LSREYZ.js +0 -2
  1064. package/__chunks__/chunk-TLDSH2LE.js +0 -2
  1065. package/__chunks__/chunk-TTGIQAT2.js +0 -2
  1066. package/__chunks__/chunk-UGVGDZ5N.js +0 -2
  1067. package/__chunks__/chunk-UIMES7TX.js +0 -2
  1068. package/__chunks__/chunk-VYNA3EX7.js +0 -2
  1069. package/__chunks__/chunk-WKJ6XBJ2.js +0 -2
  1070. package/__chunks__/chunk-WSQOJNFU.js +0 -2
  1071. package/__chunks__/chunk-XBE5PXX2.js +0 -2
  1072. package/__chunks__/chunk-XFRD6GGC.js +0 -2
  1073. package/__chunks__/chunk-XZX3TMKE.js +0 -2
  1074. package/__chunks__/chunk-Y6LJTSTR.js +0 -2
  1075. package/__chunks__/chunk-YIZA5OGG.js +0 -2
  1076. package/__chunks__/chunk-Z2OE7NPO.js +0 -2
  1077. package/__chunks__/chunk-Z4ILCUXN.js +0 -2
  1078. package/__chunks__/chunk-ZA4AXCRU.js +0 -2
  1079. package/__chunks__/chunk-ZEH6JNEE.js +0 -2
  1080. package/__chunks__/chunk-ZSIT433N.js +0 -2
@@ -1,4 +1,4 @@
1
- "use strict";var Fi=Object.create;var Ae=Object.defineProperty,Ui=Object.defineProperties,Bi=Object.getOwnPropertyDescriptor,Wi=Object.getOwnPropertyDescriptors,Vi=Object.getOwnPropertyNames,$e=Object.getOwnPropertySymbols,$i=Object.getPrototypeOf,Rt=Object.prototype.hasOwnProperty,Mr=Object.prototype.propertyIsEnumerable;var Or=(e,t,r)=>t in e?Ae(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,T=(e,t)=>{for(var r in t||(t={}))Rt.call(t,r)&&Or(e,r,t[r]);if($e)for(var r of $e(t))Mr.call(t,r)&&Or(e,r,t[r]);return e},w=(e,t)=>Ui(e,Wi(t));var Fr=(e,t)=>{var r={};for(var o in e)Rt.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(e!=null&&$e)for(var o of $e(e))t.indexOf(o)<0&&Mr.call(e,o)&&(r[o]=e[o]);return r};var g=(e,t)=>()=>(e&&(t=e(e=0)),t);var Ge=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),le=(e,t)=>{for(var r in t)Ae(e,r,{get:t[r],enumerable:!0})},Ur=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Vi(t))!Rt.call(e,i)&&i!==r&&Ae(e,i,{get:()=>t[i],enumerable:!(o=Bi(t,i))||o.enumerable});return e};var A=(e,t,r)=>(r=e!=null?Fi($i(e)):{},Ur(t||!e||!e.__esModule?Ae(r,"default",{value:e,enumerable:!0}):r,e)),ve=e=>Ur(Ae({},"__esModule",{value:!0}),e);var D=(e,t,r)=>new Promise((o,i)=>{var l=m=>{try{d(r.next(m))}catch(y){i(y)}},p=m=>{try{d(r.throw(m))}catch(y){i(y)}},d=m=>m.done?o(m.value):Promise.resolve(m.value).then(l,p);d((r=r.apply(e,t)).next())});var Vr=Ge(He=>{"use strict";n();He.byteLength=Hi;He.toByteArray=ji;He.fromByteArray=Xi;var G=[],F=[],Gi=typeof Uint8Array!="undefined"?Uint8Array:Array,Nt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(pe=0,Br=Nt.length;pe<Br;++pe)G[pe]=Nt[pe],F[Nt.charCodeAt(pe)]=pe;var pe,Br;F["-".charCodeAt(0)]=62;F["_".charCodeAt(0)]=63;function Wr(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 Hi(e){var t=Wr(e),r=t[0],o=t[1];return(r+o)*3/4-o}function qi(e,t,r){return(t+r)*3/4-r}function ji(e){var t,r=Wr(e),o=r[0],i=r[1],l=new Gi(qi(e,o,i)),p=0,d=i>0?o-4:o,m;for(m=0;m<d;m+=4)t=F[e.charCodeAt(m)]<<18|F[e.charCodeAt(m+1)]<<12|F[e.charCodeAt(m+2)]<<6|F[e.charCodeAt(m+3)],l[p++]=t>>16&255,l[p++]=t>>8&255,l[p++]=t&255;return i===2&&(t=F[e.charCodeAt(m)]<<2|F[e.charCodeAt(m+1)]>>4,l[p++]=t&255),i===1&&(t=F[e.charCodeAt(m)]<<10|F[e.charCodeAt(m+1)]<<4|F[e.charCodeAt(m+2)]>>2,l[p++]=t>>8&255,l[p++]=t&255),l}function zi(e){return G[e>>18&63]+G[e>>12&63]+G[e>>6&63]+G[e&63]}function Ki(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(zi(o));return i.join("")}function Xi(e){for(var t,r=e.length,o=r%3,i=[],l=16383,p=0,d=r-o;p<d;p+=l)i.push(Ki(e,p,p+l>d?d:p+l));return o===1?(t=e[r-1],i.push(G[t>>2]+G[t<<4&63]+"==")):o===2&&(t=(e[r-2]<<8)+e[r-1],i.push(G[t>>10]+G[t>>4&63]+G[t<<2&63]+"=")),i.join("")}});var $r=Ge(Ct=>{n();Ct.read=function(e,t,r,o,i){var l,p,d=i*8-o-1,m=(1<<d)-1,y=m>>1,x=-7,h=r?i-1:0,I=r?-1:1,k=e[t+h];for(h+=I,l=k&(1<<-x)-1,k>>=-x,x+=d;x>0;l=l*256+e[t+h],h+=I,x-=8);for(p=l&(1<<-x)-1,l>>=-x,x+=o;x>0;p=p*256+e[t+h],h+=I,x-=8);if(l===0)l=1-y;else{if(l===m)return p?NaN:(k?-1:1)*(1/0);p=p+Math.pow(2,o),l=l-y}return(k?-1:1)*p*Math.pow(2,l-o)};Ct.write=function(e,t,r,o,i,l){var p,d,m,y=l*8-i-1,x=(1<<y)-1,h=x>>1,I=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,k=o?0:l-1,M=o?1:-1,ie=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(d=isNaN(t)?1:0,p=x):(p=Math.floor(Math.log(t)/Math.LN2),t*(m=Math.pow(2,-p))<1&&(p--,m*=2),p+h>=1?t+=I/m:t+=I*Math.pow(2,1-h),t*m>=2&&(p++,m/=2),p+h>=x?(d=0,p=x):p+h>=1?(d=(t*m-1)*Math.pow(2,i),p=p+h):(d=t*Math.pow(2,h-1)*Math.pow(2,i),p=0));i>=8;e[r+k]=d&255,k+=M,d/=256,i-=8);for(p=p<<i|d,y+=i;y>0;e[r+k]=p&255,k+=M,p/=256,y-=8);e[r+k-M]|=ie*128}});var tn=Ge(fe=>{"use strict";n();var Dt=Vr(),ge=$r(),Gr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;fe.Buffer=u;fe.SlowBuffer=ta;fe.INSPECT_MAX_BYTES=50;var qe=2147483647;fe.kMaxLength=qe;u.TYPED_ARRAY_SUPPORT=Yi();!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 Yi(){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 J(e){if(e>qe)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 Ft(e)}return jr(e,t,r)}u.poolSize=8192;function jr(e,t,r){if(typeof e=="string")return Ji(e,t);if(ArrayBuffer.isView(e))return Qi(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(H(e,ArrayBuffer)||e&&H(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(H(e,SharedArrayBuffer)||e&&H(e.buffer,SharedArrayBuffer)))return Ot(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=ea(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 jr(e,t,r)};Object.setPrototypeOf(u.prototype,Uint8Array.prototype);Object.setPrototypeOf(u,Uint8Array);function zr(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 Zi(e,t,r){return zr(e),e<=0?J(e):t!==void 0?typeof r=="string"?J(e).fill(t,r):J(e).fill(t):J(e)}u.alloc=function(e,t,r){return Zi(e,t,r)};function Ft(e){return zr(e),J(e<0?0:Ut(e)|0)}u.allocUnsafe=function(e){return Ft(e)};u.allocUnsafeSlow=function(e){return Ft(e)};function Ji(e,t){if((typeof t!="string"||t==="")&&(t="utf8"),!u.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=Kr(e,t)|0,o=J(r),i=o.write(e,t);return i!==r&&(o=o.slice(0,i)),o}function _t(e){for(var t=e.length<0?0:Ut(e.length)|0,r=J(t),o=0;o<t;o+=1)r[o]=e[o]&255;return r}function Qi(e){if(H(e,Uint8Array)){var t=new Uint8Array(e);return Ot(t.buffer,t.byteOffset,t.byteLength)}return _t(e)}function Ot(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 ea(e){if(u.isBuffer(e)){var t=Ut(e.length)|0,r=J(t);return r.length===0||e.copy(r,0,0,t),r}if(e.length!==void 0)return typeof e.length!="number"||Bt(e.length)?J(0):_t(e);if(e.type==="Buffer"&&Array.isArray(e.data))return _t(e.data)}function Ut(e){if(e>=qe)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+qe.toString(16)+" bytes");return e|0}function ta(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(H(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),H(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(H(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 Kr(e,t){if(u.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||H(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 Mt(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return en(e).length;default:if(i)return o?-1:Mt(e).length;t=(""+t).toLowerCase(),i=!0}}u.byteLength=Kr;function ra(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 da(this,t,r);case"utf8":case"utf-8":return Yr(this,t,r);case"ascii":return pa(this,t,r);case"latin1":case"binary":return ua(this,t,r);case"base64":return ca(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ma(this,t,r);default:if(o)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),o=!0}}u.prototype._isBuffer=!0;function ue(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)ue(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)ue(this,r,r+3),ue(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)ue(this,r,r+7),ue(this,r+1,r+6),ue(this,r+2,r+5),ue(this,r+3,r+4);return this};u.prototype.toString=function(){var t=this.length;return t===0?"":arguments.length===0?Yr(this,0,t):ra.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=fe.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"};Gr&&(u.prototype[Gr]=u.prototype.inspect);u.prototype.compare=function(t,r,o,i,l){if(H(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),y=this.slice(i,l),x=t.slice(r,o),h=0;h<m;++h)if(y[h]!==x[h]){p=y[h],d=x[h];break}return p<d?-1:d<p?1:0};function Xr(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,Bt(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof t=="string"&&(t=u.from(t,o)),u.isBuffer(t))return t.length===0?-1:Hr(e,t,r,o,i);if(typeof t=="number")return t=t&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):Hr(e,[t],r,o,i);throw new TypeError("val must be string, number or Buffer")}function Hr(e,t,r,o,i){var l=1,p=e.length,d=t.length;if(o!==void 0&&(o=String(o).toLowerCase(),o==="ucs2"||o==="ucs-2"||o==="utf16le"||o==="utf-16le")){if(e.length<2||t.length<2)return-1;l=2,p/=2,d/=2,r/=2}function m(k,M){return l===1?k[M]:k.readUInt16BE(M*l)}var y;if(i){var x=-1;for(y=r;y<p;y++)if(m(e,y)===m(t,x===-1?0:y-x)){if(x===-1&&(x=y),y-x+1===d)return x*l}else x!==-1&&(y-=y-x),x=-1}else for(r+d>p&&(r=p-d),y=r;y>=0;y--){for(var h=!0,I=0;I<d;I++)if(m(e,y+I)!==m(t,I)){h=!1;break}if(h)return y}return-1}u.prototype.includes=function(t,r,o){return this.indexOf(t,r,o)!==-1};u.prototype.indexOf=function(t,r,o){return Xr(this,t,r,o,!0)};u.prototype.lastIndexOf=function(t,r,o){return Xr(this,t,r,o,!1)};function na(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(Bt(d))return p;e[r+p]=d}return p}function oa(e,t,r,o){return je(Mt(t,e.length-r),e,r,o)}function ia(e,t,r,o){return je(Ta(t),e,r,o)}function aa(e,t,r,o){return je(en(t),e,r,o)}function sa(e,t,r,o){return je(ya(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 na(this,t,r,o);case"utf8":case"utf-8":return oa(this,t,r,o);case"ascii":case"latin1":case"binary":return ia(this,t,r,o);case"base64":return aa(this,t,r,o);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return sa(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 ca(e,t,r){return t===0&&r===e.length?Dt.fromByteArray(e):Dt.fromByteArray(e.slice(t,r))}function Yr(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,y,x,h;switch(d){case 1:l<128&&(p=l);break;case 2:m=e[i+1],(m&192)===128&&(h=(l&31)<<6|m&63,h>127&&(p=h));break;case 3:m=e[i+1],y=e[i+2],(m&192)===128&&(y&192)===128&&(h=(l&15)<<12|(m&63)<<6|y&63,h>2047&&(h<55296||h>57343)&&(p=h));break;case 4:m=e[i+1],y=e[i+2],x=e[i+3],(m&192)===128&&(y&192)===128&&(x&192)===128&&(h=(l&15)<<18|(m&63)<<12|(y&63)<<6|x&63,h>65535&&h<1114112&&(p=h))}}p===null?(p=65533,d=1):p>65535&&(p-=65536,o.push(p>>>10&1023|55296),p=56320|p&1023),o.push(p),i+=d}return la(o)}var qr=4096;function la(e){var t=e.length;if(t<=qr)return String.fromCharCode.apply(String,e);for(var r="",o=0;o<t;)r+=String.fromCharCode.apply(String,e.slice(o,o+=qr));return r}function pa(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 ua(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 da(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+=ha[e[l]];return i}function ma(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 E(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||E(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||E(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||E(t,1,this.length),this[t]};u.prototype.readUint16LE=u.prototype.readUInt16LE=function(t,r){return t=t>>>0,r||E(t,2,this.length),this[t]|this[t+1]<<8};u.prototype.readUint16BE=u.prototype.readUInt16BE=function(t,r){return t=t>>>0,r||E(t,2,this.length),this[t]<<8|this[t+1]};u.prototype.readUint32LE=u.prototype.readUInt32LE=function(t,r){return t=t>>>0,r||E(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||E(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||E(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||E(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||E(t,1,this.length),this[t]&128?(255-this[t]+1)*-1:this[t]};u.prototype.readInt16LE=function(t,r){t=t>>>0,r||E(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||E(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||E(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||E(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||E(t,4,this.length),ge.read(this,t,!0,23,4)};u.prototype.readFloatBE=function(t,r){return t=t>>>0,r||E(t,4,this.length),ge.read(this,t,!1,23,4)};u.prototype.readDoubleLE=function(t,r){return t=t>>>0,r||E(t,8,this.length),ge.read(this,t,!0,52,8)};u.prototype.readDoubleBE=function(t,r){return t=t>>>0,r||E(t,8,this.length),ge.read(this,t,!1,52,8)};function P(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;P(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;P(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||P(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||P(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||P(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||P(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||P(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);P(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);P(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||P(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||P(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||P(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||P(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||P(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 Zr(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 Jr(e,t,r,o,i){return t=+t,r=r>>>0,i||Zr(e,t,r,4,34028234663852886e22,-34028234663852886e22),ge.write(e,t,r,o,23,4),r+4}u.prototype.writeFloatLE=function(t,r,o){return Jr(this,t,r,!0,o)};u.prototype.writeFloatBE=function(t,r,o){return Jr(this,t,r,!1,o)};function Qr(e,t,r,o,i){return t=+t,r=r>>>0,i||Zr(e,t,r,8,17976931348623157e292,-17976931348623157e292),ge.write(e,t,r,o,52,8),r+8}u.prototype.writeDoubleLE=function(t,r,o){return Qr(this,t,r,!0,o)};u.prototype.writeDoubleBE=function(t,r,o){return Qr(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 ga=/[^+/0-9A-Za-z-_]/g;function fa(e){if(e=e.split("=")[0],e=e.trim().replace(ga,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function Mt(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 Ta(e){for(var t=[],r=0;r<e.length;++r)t.push(e.charCodeAt(r)&255);return t}function ya(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 en(e){return Dt.toByteArray(fa(e))}function je(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 H(e,t){return e instanceof t||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===t.name}function Bt(e){return e!==e}var ha=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 sn=Ge((kc,an)=>{n();var b=an.exports={},q,j;function Wt(){throw new Error("setTimeout has not been defined")}function Vt(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?q=setTimeout:q=Wt}catch(e){q=Wt}try{typeof clearTimeout=="function"?j=clearTimeout:j=Vt}catch(e){j=Vt}})();function rn(e){if(q===setTimeout)return setTimeout(e,0);if((q===Wt||!q)&&setTimeout)return q=setTimeout,setTimeout(e,0);try{return q(e,0)}catch(t){try{return q.call(null,e,0)}catch(r){return q.call(this,e,0)}}}function xa(e){if(j===clearTimeout)return clearTimeout(e);if((j===Vt||!j)&&clearTimeout)return j=clearTimeout,clearTimeout(e);try{return j(e)}catch(t){try{return j.call(null,e)}catch(r){return j.call(this,e)}}}var Q=[],Te=!1,de,ze=-1;function Sa(){!Te||!de||(Te=!1,de.length?Q=de.concat(Q):ze=-1,Q.length&&nn())}function nn(){if(!Te){var e=rn(Sa);Te=!0;for(var t=Q.length;t;){for(de=Q,Q=[];++ze<t;)de&&de[ze].run();ze=-1,t=Q.length}de=null,Te=!1,xa(e)}}b.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];Q.push(new on(e,t)),Q.length===1&&!Te&&rn(nn)};function on(e,t){this.fun=e,this.array=t}on.prototype.run=function(){this.fun.apply(null,this.array)};b.title="browser";b.browser=!0;b.env={};b.argv=[];b.version="";b.versions={};function ee(){}b.on=ee;b.addListener=ee;b.once=ee;b.off=ee;b.removeListener=ee;b.removeAllListeners=ee;b.emit=ee;b.prependListener=ee;b.prependOnceListener=ee;b.listeners=function(e){return[]};b.binding=function(e){throw new Error("process.binding is not supported")};b.cwd=function(){return"/"};b.chdir=function(e){throw new Error("process.chdir is not supported")};b.umask=function(){return 0}});var a,s,Ec,n=g(()=>{a=A(tn()),s=A(sn()),Ec=function(e){function t(){var o=this||self;return delete e.prototype.__magic__,o}if(typeof globalThis=="object")return globalThis;if(this)return t();e.defineProperty(e.prototype,"__magic__",{configurable:!0,get:t});var r=__magic__;return r}(Object)});var cn=g(()=>{"use strict";n()});var ln=g(()=>{"use strict";n()});var pn=g(()=>{"use strict";n()});var $t,un=g(()=>{"use strict";n();$t=(o=>(o.SetGuardian="SetGuardian",o.GuardAccount="GuardAccount",o.UnGuardAccount="UnGuardAccount",o))($t||{})});var dn=g(()=>{"use strict";n()});var Gt=g(()=>{"use strict";n()});var mn=g(()=>{"use strict";n()});var gn=g(()=>{"use strict";n()});var fn=g(()=>{"use strict";n()});var Tn=g(()=>{"use strict";n()});var Ht,ye,qt=g(()=>{"use strict";n();Ht=require("@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider"),ye=require("@multiversx/sdk-web-wallet-cross-window-provider/out/enums")});var yn,Bc,hn,Wc,B=g(()=>{"use strict";n();qt();yn=(r=>(r.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",r.reloginRequest="RELOGIN_REQUEST",r))(yn||{}),Bc=T(T({},ye.WindowProviderRequestEnums),yn),hn=(t=>(t.reloginResponse="RELOGIN_RESPONSE",t))(hn||{}),Wc=T(T({},ye.WindowProviderResponseEnums),hn)});var xn=g(()=>{"use strict";n()});var Sn=g(()=>{"use strict";n()});var R=g(()=>{"use strict";n()});var wn=g(()=>{"use strict";n()});var An=g(()=>{"use strict";n()});var vn=g(()=>{"use strict";n()});var N=g(()=>{"use strict";n();gn();fn();Tn();B();xn();Sn();R();wn();An();vn()});var jt,bn,nl,In,ol,kn,il,al,sl,En=g(()=>{"use strict";n();N();jt={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",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",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",explorerAddress:"https://explorer.multiversx.com",metamaskSnapWalletAddress:"https://iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3}},{chainId:bn,egldLabel:nl}=jt["devnet"],{chainId:In,egldLabel:ol}=jt["testnet"],{chainId:kn,egldLabel:il}=jt["mainnet"],al={["devnet"]:bn,["testnet"]:In,["mainnet"]:kn},sl={[bn]:"devnet",[In]:"testnet",[kn]:"mainnet"}});var zt=g(()=>{"use strict";n()});var z,Ln=g(()=>{"use strict";n();z=require("@multiversx/sdk-web-wallet-provider")});var ae,Kt=g(()=>{"use strict";n();ae=require("@multiversx/sdk-dapp-utils/out/constants/browserConstants")});var Pn,Rn,Xt,ml,gl,Nn=g(()=>{"use strict";n();Kt();Xt=String((Rn=(Pn=ae.safeWindow)==null?void 0:Pn.navigator)==null?void 0:Rn.userAgent),ml=/^((?!chrome|android).)*safari/i.test(Xt),gl=/firefox/i.test(Xt)&&/windows/i.test(Xt)});var Yt,Zt,Cn,Ke,Dn,he,S=g(()=>{"use strict";n();cn();ln();pn();un();dn();Gt();mn();En();zt();Ln();Nn();Yt=5e4,Zt=1e9,Cn=1,Ke="logout",Dn="login",he="0"});var er,v,ke,_=g(()=>{"use strict";n();er=require("@reduxjs/toolkit");S();v=(0,er.createAction)(Ke),ke=(0,er.createAction)(Dn,e=>({payload:e}))});var Xe,tr=g(()=>{"use strict";n();Xe=()=>Date.now()/1e3});var Vn=g(()=>{"use strict";n()});var $n=g(()=>{"use strict";n()});var Gn=g(()=>{"use strict";n();tr();Vn();$n()});var rr={};le(rr,{clear:()=>ka,getItem:()=>ba,localStorageKeys:()=>V,removeItem:()=>Ia,setItem:()=>va});var V,Ye,va,ba,Ia,ka,Se=g(()=>{"use strict";n();Gn();V={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event"},Ye=typeof localStorage!="undefined",va=({key:e,data:t,expires:r})=>{!Ye||localStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},ba=e=>{if(!Ye)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:Xe()>=r.expires?(localStorage.removeItem(String(e)),null):r.data},Ia=e=>{!Ye||localStorage.removeItem(String(e))},ka=()=>{!Ye||localStorage.clear()}});var nr={};le(nr,{clear:()=>zn,getItem:()=>qn,removeItem:()=>jn,setItem:()=>Hn,storage:()=>Ea});var Hn,qn,jn,zn,Ea,Kn=g(()=>{"use strict";n();Hn=({key:e,data:t,expires:r})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},qn=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},jn=e=>sessionStorage.removeItem(String(e)),zn=()=>sessionStorage.clear(),Ea={setItem:Hn,getItem:qn,removeItem:jn,clear:zn}});var K,Ee=g(()=>{"use strict";n();Se();Kn();K={session:nr,local:rr}});var ir,Xn,Yn,Ze,or,Zn,ar,cp,sr,lp,pp,up,dp,mp,gp,fp,Tp,Je,Qe=g(()=>{"use strict";n();ir=require("@multiversx/sdk-core"),Xn=require("@reduxjs/toolkit"),Yn=require("redux-persist");S();Ee();Se();_();Ze={balance:"...",address:"",isGuarded:!1,nonce:0,txCount:0,scrCount:0,claimableRewards:he},or={address:"",websocketEvent:null,websocketBatchEvent:null,accounts:{"":Ze},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},Zn=(0,Xn.createSlice)({name:"accountInfoSlice",initialState:or,reducers:{setAddress:(e,t)=>{let r=t.payload;e.address=r,e.publicKey=r?new ir.Address(r).hex():""},setAccount:(e,t)=>{let r=e.address===t.payload.address;e.accounts={[e.address]:r?t.payload:Ze},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(v,()=>(K.local.removeItem(V.loginExpiresAt),or)),e.addCase(ke,(t,r)=>{let{address:o}=r.payload;t.address=o,t.publicKey=new ir.Address(o).hex()}),e.addCase(Yn.REHYDRATE,(t,r)=>{var y;if(!((y=r.payload)!=null&&y.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:or.accounts,t.publicKey=d})}}),{setAccount:ar,setAddress:cp,setAccountNonce:sr,setAccountShard:lp,setLedgerAccount:pp,updateLedgerAccount:up,setWalletConnectAccount:dp,setIsAccountLoading:mp,setAccountLoadingError:gp,setWebsocketEvent:fp,setWebsocketBatchEvent:Tp}=Zn.actions,Je=Zn.reducer});function Le(){return new Date().setHours(new Date().getHours()+24)}function Pe(e){K.local.setItem({key:V.loginExpiresAt,data:e,expires:e})}var cr=g(()=>{"use strict";n();Ee();Se()});var Qn,Jn,eo,kp,Ep,Lp,Pp,Rp,Np,to,Cp,Dp,_p,et,tt=g(()=>{"use strict";n();Qn=require("@reduxjs/toolkit");cr();B();_();Jn={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,passkeyLogin:null,operaLogin:null,crossWindowLogin:null,iframeWindowLogin:null,isLoginSessionInvalid:!1,webviewLogin:null},eo=(0,Qn.createSlice)({name:"loginInfoSlice",initialState:Jn,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(v,()=>Jn),e.addCase(ke,(t,r)=>{t.isLoginSessionInvalid=!1,t.loginMethod=r.payload.loginMethod,t.iframeLoginType=r.payload.iframeLoginType,Pe(Le())})}}),{setLoginMethod:kp,setWalletConnectLogin:Ep,setLedgerLogin:Lp,setTokenLogin:Pp,setTokenLoginSignature:Rp,setWalletLogin:Np,invalidateLoginSession:to,setLogoutRoute:Cp,setIsWalletConnectV2Initialized:Dp,setWebviewLogin:_p}=eo.actions,et=eo.reducer});var no,ro,oo,Up,Bp,Wp,Vp,rt,nt=g(()=>{"use strict";n();no=require("@reduxjs/toolkit");_();ro={},oo=(0,no.createSlice)({name:"modalsSlice",initialState:ro,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(v,()=>ro)}}),{setTxSubmittedModal:Up,setNotificationModal:Bp,clearTxSubmittedModal:Wp,clearNotificationModal:Vp}=oo.actions,rt=oo.reducer});var Re,ot=g(()=>{"use strict";n();Re=()=>typeof window!="undefined"&&typeof(window==null?void 0:window.location)!="undefined"});var O,se=g(()=>{"use strict";n();ot();O=()=>{if(!Re())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 lr,io=g(()=>{"use strict";n();se();lr=(e="")=>{let t=O(),r=e.startsWith("http")||e.startsWith("www.");return!t.origin||e.startsWith(t.origin)||r?e:`${t.origin}/${e.replace("/","")}`}});var ao=g(()=>{"use strict";n();we()});var so,co=g(()=>{"use strict";n();Kt();so=e=>{if(!ae.safeWindow.location)return;if(!new URL(ae.safeWindow.location.href).protocol.startsWith("http"))return ae.safeWindow.location.reload();ae.safeWindow.location.assign(e)}});var we=g(()=>{"use strict";n();io();ao();se();co()});var lo,po,pr,ur=g(()=>{"use strict";n();we();lo=!1,po=(e=!0)=>{lo=e},pr=({timeout:e=0,url:t})=>{lo||setTimeout(()=>{if(!!window)return so(t)},e)}});var uo=g(()=>{"use strict";n();ur()});function mo(e){return e[Math.floor(Math.random()*e.length)]}var go=g(()=>{"use strict";n()});var fo=g(()=>{"use strict";n();Gt()});var To=g(()=>{"use strict";n();uo();go();fo()});var yo,ho,xo,dr,Pa,So,xu,Su,wu,it,at=g(()=>{"use strict";n();yo=require("@reduxjs/toolkit"),ho=A(require("lodash.omit")),xo=require("redux-persist");zt();_();To();dr={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},Pa={network:dr},So=(0,yo.createSlice)({name:"appConfig",initialState:Pa,reducers:{initializeNetworkConfig:(e,t)=>{let r=mo(t.payload.walletConnectV2RelayAddresses),o=(0,ho.default)(t.payload,"walletConnectV2RelayAddresses");e.network=w(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(v,t=>{t.network.customWalletAddress=void 0}),e.addCase(xo.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:xu,updateNetworkConfig:Su,setCustomWalletAddress:wu}=So.actions,it=So.reducer});var wo,mr,Ao,Eu,Lu,Pu,st,ct=g(()=>{"use strict";n();wo=require("@reduxjs/toolkit");N();_();mr={isSigning:!1,signedSessions:{}},Ao=(0,wo.createSlice)({name:"signedMessageInfoSliceState",initialState:mr,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:()=>mr},extraReducers:e=>{e.addCase(v,()=>mr)}}),{setSignSession:Eu,clearSignedMessageInfo:Lu,setSignSessionState:Pu}=Ao.actions,st=Ao.reducer});var bo,Io,vo,ko,Mu,Fu,Uu,Bu,lt,pt=g(()=>{"use strict";n();bo=require("@reduxjs/toolkit"),Io=require("redux-persist");N();tr();_();vo={customToasts:[],transactionToasts:[]},ko=(0,bo.createSlice)({name:"toastsSlice",initialState:vo,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]=w(T(T({},e.customToasts[o]),t.payload),{type:"custom",toastId:r});return}e.customToasts.push(w(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:Xe(),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(v,()=>vo),e.addCase(Io.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:Mu,removeCustomToast:Fu,addTransactionToast:Uu,removeTransactionToast:Bu}=ko.actions,lt=ko.reducer});var Eo,fr,Tr,yr,Ra,gr,Lo,Gu,Hu,qu,ut,dt=g(()=>{"use strict";n();Eo=require("@reduxjs/toolkit");_();fr="Transaction failed",Tr="Transaction successful",yr="Processing transaction",Ra="Transaction submitted",gr={},Lo=(0,Eo.createSlice)({name:"transactionsInfo",initialState:gr,reducers:{setTransactionsDisplayInfo(e,t){let{sessionId:r,transactionsDisplayInfo:o}=t.payload;r!=null&&(e[r]={errorMessage:(o==null?void 0:o.errorMessage)||fr,successMessage:(o==null?void 0:o.successMessage)||Tr,processingMessage:(o==null?void 0:o.processingMessage)||yr,submittedMessage:(o==null?void 0:o.submittedMessage)||Ra,transactionDuration:o==null?void 0:o.transactionDuration})},clearTransactionsInfoForSessionId(e,t){t.payload!=null&&delete e[t.payload]},clearTransactionsInfo:()=>gr},extraReducers:e=>{e.addCase(v,()=>gr)}}),{clearTransactionsInfo:Gu,setTransactionsDisplayInfo:Hu,clearTransactionsInfoForSessionId:qu}=Lo.actions,ut=Lo.reducer});function Po(e){return e!=null&&(Va(e)||ja(e))}function mt(e){return e!=null&&($a(e)||za(e))}function gt(e){return e!=null&&(Ga(e)||Ka(e))}function Ro(e){return e!=null&&(Ha(e)||Xa(e))}function No(e){return e!=null&&qa(e)}function Va(e){return e!=null&&Ca.includes(e)}function $a(e){return e!=null&&Da.includes(e)}function Ga(e){return e!=null&&_a.includes(e)}function Ha(e){return e!=null&&Oa.includes(e)}function qa(e){return e!=null&&Ma.includes(e)}function ja(e){return e!=null&&Fa.includes(e)}function za(e){return e!=null&&Ua.includes(e)}function Ka(e){return e!=null&&Ba.includes(e)}function Xa(e){return e!=null&&Wa.includes(e)}var Ca,Da,_a,Oa,Ma,Fa,Ua,Ba,Wa,xr=g(()=>{"use strict";n();B();Ca=["sent"],Da=["success"],_a=["fail","cancelled","timedOut"],Oa=["invalid"],Ma=["timedOut"],Fa=["pending"],Ua=["success"],Ba=["fail","invalid"],Wa=["not executed"]});var Co,Do,Ne,Ya,_o,ed,td,rd,nd,od,id,ad,sd,cd,ld,pd,ft,Tt=g(()=>{"use strict";n();Co=require("@reduxjs/toolkit"),Do=require("redux-persist");B();xr();_();Ne={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},Ya={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},_o=(0,Co.createSlice)({name:"transactionsSlice",initialState:Ne,reducers:{moveTransactionsToSignedState:(e,t)=>{var m,y;let{sessionId:r,transactions:o,errorMessage:i,status:l,redirectRoute:p,customTransactionInformation:d}=t.payload;e.customTransactionInformationForSessionId[r]=T(T(T({},Ya),((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:{})},((y=e==null?void 0:e.transactionsToSign)==null?void 0:y.sessionId)===r&&(e.transactionsToSign=Ne.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 y,x,h,I,k,M,ie,_r;let{sessionId:r,status:o,errorMessage:i,transactionHash:l,serverTransaction:p,inTransit:d}=t.payload,m=(x=(y=e.signedTransactions)==null?void 0:y[r])==null?void 0:x.transactions;if(m!=null){e.signedTransactions[r].transactions=m.map(Z=>Z.hash===l?w(T(T({},p!=null?p:{}),Z),{status:o,errorMessage:i,inTransit:d}):Z);let _i=(I=(h=e.signedTransactions[r])==null?void 0:h.transactions)==null?void 0:I.every(Z=>mt(Z.status)),Oi=(M=(k=e.signedTransactions[r])==null?void 0:k.transactions)==null?void 0:M.some(Z=>gt(Z.status)),Mi=(_r=(ie=e.signedTransactions[r])==null?void 0:ie.transactions)==null?void 0:_r.every(Z=>Ro(Z.status));_i&&(e.signedTransactions[r].status="success"),Oi&&(e.signedTransactions[r].status="fail"),Mi&&(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=Ne.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=Ne.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(v,()=>Ne),e.addCase(Do.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,y])=>{let x=new Date(m),h=new Date;return h.setHours(h.getHours()+5),h-x>0||(d[m]=y),d},{});i!=null&&(t.customTransactionInformationForSessionId=i),o!=null&&(t.signedTransactions=l)})}}),{updateSignedTransactionStatus:ed,updateSignedTransactions:td,setTransactionsToSign:rd,clearAllTransactionsToSign:nd,clearAllSignedTransactions:od,clearSignedTransaction:id,clearTransactionToSign:ad,setSignTransactionsError:sd,setSignTransactionsCancelMessage:cd,moveTransactionsToSignedState:ld,updateSignedTransactionsCustomTransactionInformation:pd}=_o.actions,ft=_o.reducer});var Oo,Sr,Mo,gd,fd,Td,yd,yt,ht=g(()=>{"use strict";n();Oo=require("@reduxjs/toolkit");_();Sr={},Mo=(0,Oo.createSlice)({name:"batchTransactionsSlice",initialState:Sr,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:()=>Sr},extraReducers:e=>{e.addCase(v,()=>Sr)}}),{setBatchTransactions:gd,updateBatchTransactions:fd,clearBatchTransactions:Td,clearAllBatchTransactions:yd}=Mo.actions,yt=Mo.reducer});var Uo,Fo,Bo,wd,Wo,wr=g(()=>{"use strict";n();Uo=require("@reduxjs/toolkit");_();Fo={},Bo=(0,Uo.createSlice)({name:"dappConfigSlice",initialState:Fo,reducers:{setDappConfig:(e,t)=>t.payload},extraReducers:e=>{e.addCase(v,()=>Fo)}}),{setDappConfig:wd}=Bo.actions,Wo=Bo.reducer});var ce=g(()=>{"use strict";n();Qe();tt();nt();at();ct();pt();dt();Tt();ht();wr()});var Ar=g(()=>{"use strict";n()});var Go,es,ts,me,wt=g(()=>{"use strict";n();Go=require("@reduxjs/toolkit");Ar();Qe();ht();wr();tt();nt();at();ct();pt();dt();Tt();es={["account"]:Je,["dappConfig"]:Wo,["loginInfo"]:et,["modals"]:rt,["networkConfig"]:it,["signedMessageInfo"]:st,["toasts"]:lt,["transactionsInfo"]:ut,["transactions"]:ft,["batchTransactions"]:yt},ts=(e={})=>(0,Go.combineReducers)(T(T({},es),e)),me=ts});var zo={};le(zo,{default:()=>ys,sessionStorageReducers:()=>vr});function re(e,t=[]){return{key:e,version:1,storage:qo.default,blacklist:t}}var C,Ho,qo,rs,Ce,ns,os,is,as,ss,cs,ls,ps,us,ds,jo,ms,vr,gs,fs,Ts,ys,Ko=g(()=>{"use strict";n();C=require("redux-persist"),Ho=A(require("redux-persist/lib/storage")),qo=A(require("redux-persist/lib/storage/session"));wt();ce();Qe();ht();tt();nt();at();ct();pt();dt();Tt();Ar();rs={persistReducersStorageType:"localStorage"},Ce={["account"]:"sdk-dapp-account",["loginInfo"]:"sdk-dapp-login-info",["modals"]:"sdk-dapp-modals",["networkConfig"]:"sdk-dapp-network-config"},ns=re(Ce["account"]),os=re(Ce["loginInfo"]),is=re(Ce["modals"]),as=re(Ce["networkConfig"]),ss={2:e=>w(T({},e),{networkConfig:dr})};cs=re("sdk-dapp-transactionsInfo"),ls=re("sdk-dapp-transactions",["transactionsToSign"]),ps=re("sdk-dapp-batchTransactions",["batchTransactions"]),us=re("sdk-dapp-toasts"),ds=re("sdk-dapp-signedMessageInfo"),jo={key:"sdk-dapp-store",version:2,storage:Ho.default,whitelist:Object.keys(Ce),migrate:(0,C.createMigrate)(ss,{debug:!1})},ms=w(T({},jo),{whitelist:[]}),vr={["toasts"]:(0,C.persistReducer)(us,lt),["transactions"]:(0,C.persistReducer)(ls,ft),["transactionsInfo"]:(0,C.persistReducer)(cs,ut),["batchTransactions"]:(0,C.persistReducer)(ps,yt),["signedMessageInfo"]:(0,C.persistReducer)(ds,st)},gs=w(T({},vr),{["account"]:(0,C.persistReducer)(ns,Je),["loginInfo"]:(0,C.persistReducer)(os,et),["modals"]:(0,C.persistReducer)(is,rt),["networkConfig"]:(0,C.persistReducer)(as,it)}),fs=rs.persistReducersStorageType==="localStorage",Ts=fs?(0,C.persistReducer)(jo,me(vr)):(0,C.persistReducer)(ms,me(gs)),ys=Ts});var Xo={};le(Xo,{default:()=>hs});var hs,Yo=g(()=>{"use strict";n();wt();hs=me()});var Zo={};le(Zo,{default:()=>Ss});var U,xs,Ss,Jo=g(()=>{"use strict";n();U=require("redux-persist"),xs=[U.FLUSH,U.REHYDRATE,U.PAUSE,U.PERSIST,U.PURGE,U.REGISTER],Ss=xs});var ti={};le(ti,{default:()=>ei});function ei(e){return(0,Qo.persistStore)(e)}var Qo,ri=g(()=>{"use strict";n();Qo=require("redux-persist")});var wc={};le(wc,{logout:()=>Sc});module.exports=ve(wc);n();n();n();n();var On=require("@multiversx/sdk-extension-provider"),Mn=require("@multiversx/sdk-hw-provider"),Fn=require("@multiversx/sdk-metamask-provider/out/metamaskProvider"),Un=require("@multiversx/sdk-opera-provider"),Bn=require("@multiversx/sdk-passkey-provider/out"),Wn=require("@multiversx/sdk-web-wallet-provider");S();qt();n();var Jt=require("@multiversx/sdk-web-wallet-iframe-provider/out"),wa=require("@multiversx/sdk-web-wallet-iframe-provider/out/constants");B();n();var _n=xe;var Ie=e=>{switch(e==null?void 0:e.constructor){case Wn.WalletProvider:return"wallet";case _n:return"walletconnectv2";case Mn.HWProvider:return"ledger";case On.ExtensionProvider:return"extension";case Bn.PasskeyProvider:return"passkey";case Fn.MetamaskProvider:return"metamask";case Un.OperaProvider:return"opera";case Ht.CrossWindowProvider:return"crossWindow";case Jt.IframeProvider:return"iframe";case xe:return"";default:return"extra"}};var W=e=>`Unable to perform ${e}, Provider not initialized`,xe=class{init(){return Promise.resolve(!1)}getAccount(){throw new Error(W("getAccount"))}setAccount(t){throw new Error(W(`setAccount: ${t}`))}login(t){throw new Error(W(`login with options: ${t}`))}logout(t){throw new Error(W(`logout with options: ${t}`))}getAddress(){throw new Error(W("getAddress"))}isInitialized(){return!1}isConnected(){return!1}sendTransaction(t,r){throw new Error(W(`sendTransaction with transactions: ${t} options: ${r}`))}signTransaction(t,r){throw new Error(W(`signTransaction with transactions: ${t} options: ${r}`))}signTransactions(t,r){throw new Error(W(`signTransactions with transactions: ${t} options: ${r}`))}signMessage(t,r){throw new Error(W(`signTransactions with ${t} and options ${r}`))}sendCustomMessage({method:t,params:r}){throw new Error(W(`sendCustomMessage with method: ${t} params: ${r}`))}sendCustomRequest(t){throw new Error(W(`sendSessionEvent with options: ${t}`))}ping(){return Promise.resolve(!1)}},Qt=new xe;var Aa=Qt;function te(){return Aa||Qt}_();n();var br=require("@reduxjs/toolkit"),ai=require("react-redux/lib/utils/Subscription");ce();n();var Vo=A(require("lodash.throttle"));S();ce();cr();Ee();Se();var Za=[Ke],xt=!1,Ja=(0,Vo.default)(()=>{Pe(Le())},5e3),$o=e=>t=>r=>{if(Za.includes(r.type))return t(r);let o=e.getState(),i=K.local.getItem(V.loginExpiresAt);if(!Boolean(o==null?void 0:o.account.address))return t(r);if(i==null)return Pe(Le());let p=Date.now();return i-p<0&&!xt?setTimeout(()=>{xt=!0,e.dispatch(to())},1e3):(xt&&(xt=!1),Ja()),t(r)};n();n();function St(){return typeof sessionStorage!="undefined"}var ni=St()?(Ko(),ve(zo)).default:(Yo(),ve(Xo)).default,oi=St()?(Jo(),ve(Zo)).default:[],ii=St()?(ri(),ve(ti)).default:e=>e;wt();var L=(0,br.configureStore)({reducer:ni,middleware:e=>e({serializableCheck:{ignoredActions:[...oi,sr.type,ar.type],ignoredPaths:["payload.nonce","account.account.nonce","providers.accountProvider"]}}).concat($o)}),xm=(0,ai.createSubscription)(L),Sm=ii(L),wm=(0,br.configureStore)({reducer:me});N();n();function si(e,t){if(!e){typeof console!="undefined"&&console.warn(t);try{throw new Error(t)}catch(r){}}}function ci(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[r,o]=ws(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((y,x,h)=>{if(x==="*"){let I=d[h]||"";p=l.slice(0,l.length-I.length).replace(/(.)\/+$/,"$1")}return y[x]=As(d[h]||"",x),y},{}),pathname:l,pathnameBase:p,pattern:e}}function ws(e,t=!1,r=!0){si(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 As(e,t){try{return decodeURIComponent(e)}catch(r){return si(!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();var li=require("@multiversx/sdk-core");function vs(e){try{let t=new li.Address(e);return Boolean(t.bech32())}catch(t){return!1}}function De(e){return(e==null?void 0:e.length)===62&&/^\w+$/.test(e)&&vs(e)}n();se();var pi=()=>{let{search:e}=O(),t=new URLSearchParams(e),r=Object.fromEntries(t),o=r==null?void 0:r.address;return De(o)?o:null};n();n();n();n();n();n();var ui=require("@lifeomic/axios-fetch"),Ir=A(require("axios")),kr=(0,ui.buildAxiosFetch)(Ir.default),Er=(e,t)=>D(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 bs(e,t,r){return D(this,null,function*(){try{let o=yield kr(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 Er(o,r)}catch(o){throw console.error("Fetch Error:",o),o}})}function Is(e,t){return D(this,null,function*(){try{let r=yield kr(e,t);if(!r.ok)throw new Error(`HTTP error! Status: ${r.status}`);return Er(r,t)}catch(r){throw console.error("Fetch Error:",r),r}})}function ks(e,t,r){return D(this,null,function*(){try{let o=yield kr(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 Er(o,r)}catch(o){throw console.error("Fetch Error:",o),o}})}var _e=Ir.default.create();_e.get=Is;_e.post=bs;_e.patch=ks;n();n();n();ce();n();var di=A(require("lodash.isequal")),At=require("reselect"),f=(0,At.createSelectorCreator)(At.defaultMemoize,di.default);var X=e=>e.account,Oe=f(X,e=>e.address),vt=f(X,Oe,(e,t)=>t in e.accounts?e.accounts[t]:Ze),Fm=f(X,vt,(e,t)=>{let i=e,{accounts:r}=i,o=Fr(i,["accounts"]);return w(T({},o),{address:t.address,account:t})}),Um=f(vt,e=>e.balance),Es=f(vt,e=>{var t;return((t=e==null?void 0:e.nonce)==null?void 0:t.valueOf())||0}),Bm=f(X,e=>e.shard),Wm=f(X,e=>e.ledgerAccount),Vm=f(X,e=>e.walletConnectAccount),$m=f(X,e=>e.isAccountLoading),Gm=f(X,e=>e.accountLoadingError),Hm=f(X,e=>e.websocketEvent),qm=f(X,e=>e.websocketBatchEvent);n();var Ls=e=>e.dappConfig,Km=f(Ls,e=>e.shouldUseWebViewProvider);n();var $=e=>e.loginInfo,Jm=f($,e=>e.loginMethod),mi=f($,Oe,(e,t)=>Boolean(t)),Qm=f($,e=>e.walletConnectLogin),eg=f($,e=>e.ledgerLogin),gi=f($,e=>e.walletLogin),tg=f($,e=>e.isLoginSessionInvalid),rg=f($,e=>e.tokenLogin),ng=f($,e=>e.logoutRoute),og=f($,e=>e.isWalletConnectV2Initialized);n();var fi=e=>e.modals,sg=f(fi,e=>e.txSubmittedModal),cg=f(fi,e=>e.notificationModal);n();var ne=e=>e.networkConfig,ug=f(ne,e=>e.network.chainId),dg=f(ne,e=>e.network.roundDuration),mg=f(ne,e=>e.network.walletConnectBridgeAddress),gg=f(ne,e=>e.network.walletConnectV2RelayAddress),fg=f(ne,e=>e.network.walletConnectV2ProjectId),Tg=f(ne,e=>e.network.walletConnectV2Options),yg=f(ne,e=>e.network.walletConnectDeepLink),Me=f(ne,e=>e.network),Ps=f(Me,e=>e.apiAddress),Ti=f(Me,e=>e.explorerAddress),hg=f(Me,e=>{var t;return(t=e.customWalletAddress)!=null?t:e.walletAddress}),xg=f(Me,e=>e.xAliasAddress),Sg=f(Me,e=>e.egldLabel);n();var bt=e=>e.signedMessageInfo,vg=f(bt,e=>e.isSigning),bg=f(bt,e=>e.errorMessage),Ig=f(bt,e=>{let t=Object.keys(e.signedSessions),r=t.length;return e.signedSessions[t[r-1]]}),kg=f(bt,e=>{let t=Object.keys(e.signedSessions),r=t.length;return t.length>0?t[r-1]:""});n();var yi=e=>e.toasts,Pg=f(yi,e=>e.customToasts),Rg=f(yi,e=>e.transactionToasts);n();ce();var hi={errorMessage:fr,successMessage:Tr,processingMessage:yr},Rs=e=>e.transactionsInfo,_g=f(Rs,(e,t)=>t,(e,t)=>t!=null&&(e==null?void 0:e[Number(t)])||hi);n();n();var Y=require("@multiversx/sdk-core");S();n();var Pr=require("@multiversx/sdk-core/out");n();n();function Lr(e){try{let t=atob(e),r=btoa(t),o=a.Buffer.from(e,"base64").toString(),i=a.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}n();n();n();n();var xi=e=>{let t=e!=null?e:"";return Lr(t)?Pr.TransactionPayload.fromEncoded(t):new Pr.TransactionPayload(t)};n();S();var It=({data:e,onlySetGuardian:t})=>e?t?e.startsWith("SetGuardian"):Object.values($t).some(r=>e.startsWith(r)):!1;function Rr(e){var o,i,l;let t=T({},e);It({data:t.data,onlySetGuardian:!0})&&(delete t.senderUsername,delete t.receiverUsername);let r=new Y.Transaction(T(T(w(T(w(T({value:t.value.valueOf(),data:xi(t.data),nonce:t.nonce.valueOf(),receiver:new Y.Address(t.receiver)},t.receiverUsername?{receiverUsername:t.receiverUsername}:{}),{sender:new Y.Address(t.sender)}),t.senderUsername?{senderUsername:t.senderUsername}:{}),{gasLimit:(o=t.gasLimit.valueOf())!=null?o:Yt,gasPrice:(i=t.gasPrice.valueOf())!=null?i:Zt,chainID:t.chainID.valueOf(),version:new Y.TransactionVersion((l=t.version)!=null?l:Cn)}),t.options?{options:new Y.TransactionOptions(t.options)}:{}),t.guardian?{guardian:new Y.Address(t.guardian)}:{}));return t.guardianSignature&&r.applyGuardianSignature(a.Buffer.from(t.guardianSignature,"hex")),t.signature&&r.applySignature(a.Buffer.from(t.signature,"hex")),r}n();n();S();n();n();n();var _s=require("@multiversx/sdk-core/out");n();S();n();var Si=require("@multiversx/sdk-core");N();n();n();n();var Os=require("@multiversx/sdk-core"),Ms=A(require("bignumber.js"));B();n();n();n();n();n();n();R();n();n();R();n();n();n();var $s=A(require("bignumber.js"));S();n();var Vs=require("@multiversx/sdk-core"),Nr=A(require("bignumber.js"));S();n();var Bs=A(require("bignumber.js"));n();Nr.default.config({ROUNDING_MODE:Nr.default.ROUND_FLOOR});n();n();n();S();n();n();n();n();S();n();S();n();var Gs=require("@multiversx/sdk-core");S();n();var Ue=require("@multiversx/sdk-core"),qs=A(require("bignumber.js"));S();n();n();var Hs=A(require("bignumber.js"));S();n();S();n();n();n();n();n();n();S();n();S();n();S();n();R();var zs=["reDelegateRewards","claimRewards","unBond"],Ks=["wrapEgld","unwrapEgld"],Xs=["unStake"],Ys=["unDelegate"];n();n();n();S();n();var Qs=A(require("bignumber.js"));n();n();R();n();var tc=A(require("bignumber.js"));n();n();n();n();var nc=A(require("bignumber.js"));N();n();n();n();n();B();n();var ac=require("@multiversx/sdk-web-wallet-provider");S();n();var ic=A(require("qs"));n();we();ot();n();ot();var yx={search:Re()?window.location.search:"",removeParams:[]};n();n();n();se();n();R();n();n();se();n();var sc=A(require("linkifyjs"));n();S();n();var cc=A(require("bignumber.js"));n();N();n();n();B();n();B();n();n();n();R();n();R();n();var lc=A(require("bignumber.js"));S();R();n();R();n();var Ei=require("react");N();n();n();R();n();n();var pc=require("@multiversx/sdk-core/out"),uc=A(require("bignumber.js"));R();n();N();n();n();N();var pw=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}];n();var Li=require("react");N();se();n();var mc=require("react");R();var hw=["create","localMint","ESDTLocalMint","addQuantity","burn","localBurn","ESDTLocalBurn","wipe","writeLog","signalError"];xr();n();var Et=e=>e.transactions,We=f(Et,e=>e.signedTransactions),cA=f(Et,e=>e.signTransactionsError),lA=f(Et,e=>e.signTransactionsCancelMessage),Lt=e=>t=>Object.entries(t).reduce((r,[o,i])=>(e(i.status)&&(r[o]=i),r),{}),pA=f(We,Lt(Po)),uA=f(We,Lt(mt)),dA=f(We,Lt(gt)),mA=f(We,Lt(No)),gA=f(Et,e=>{var t;return(e==null?void 0:e.transactionsToSign)==null?null:w(T({},e.transactionsToSign),{transactions:((t=e==null?void 0:e.transactionsToSign)==null?void 0:t.transactions.map(r=>Rr(r)))||[]})}),fA=f(We,(e,t)=>t,(e,t)=>t!=null?(e==null?void 0:e[t])||{}:{});n();var gc=A(require("axios"));n();var Tc=A(require("swr"));n();n();function Pi(){let e=te();return Ie(e)}n();B();n();function Ve(e){return Pi()===e}function Pt(){let e=L.getState(),t=te(),r=Oe(e),o=mi(e),i=gi(e);if(!t)throw"provider not initialized";return Ve("ledger")&&o?new Promise(l=>{l(r)}):!Ve("")&&!Ve("wallet")&&!Ve("extra")?t.getAddress():new Promise(l=>{let p=pi();i!=null&&p&&l(p),o&&l(r),l("")})}n();n();n();se();var Ri=()=>{let{search:e}=O(),t=new URLSearchParams(e),r=Object.fromEntries(t);return r==null?void 0:r.accessToken};var Ni=()=>{var r;let e=Ri(),t=$(L.getState());return e!=null?e:(r=t.webviewLogin)==null?void 0:r.data};n();_();N();n();ce();n();ce();n();var Ci=require("@multiversx/sdk-core");N();we();ur();Ee();Se();we();var Di=({callbackUrl:e,onRedirect:t})=>{typeof t=="function"?t(e):e&&pr({url:e})},hc=e=>{let t=K.local.getItem(V.logoutEvent),{data:r}=t?JSON.parse(t):{data:e};e===r&&(K.local.setItem({key:V.logoutEvent,data:e,expires:0}),K.local.removeItem(V.logoutEvent))},xc=500;function Sc(i,l){return D(this,arguments,function*(e,t,r=Boolean(Ni()),o={shouldBroadcastLogoutAcrossTabs:!0,hasConsentPopup:!1}){var M;let p="",d=te(),m=Ie(d),y=m==="wallet",x=((M=d==null?void 0:d.isInitialized)==null?void 0:M.call(d))===!0;if(r&&(d==null?void 0:d.relogin)!=null)return d.relogin();if(o.shouldBroadcastLogoutAcrossTabs)try{p=yield Pt(),hc(p)}catch(ie){console.error("error fetching logout address",ie)}let h=lr(e),I=O(),k=new URL(decodeURIComponent(h)).pathname;if((ci(I.pathname,k)||y&&x)&&po(),!p&&!x)return Di({callbackUrl:h,onRedirect:t});try{if(L.dispatch(v()),y)return setTimeout(()=>{d.logout({callbackUrl:h})},xc);o.hasConsentPopup&&m==="crossWindow"&&d.setShouldShowConsentPopup(!0),yield d.logout({callbackUrl:h})}catch(ie){console.error("Logging out error:",ie)}finally{y||Di({callbackUrl:h,onRedirect:t})}})}0&&(module.exports={logout});
1
+ "use strict";var Fi=Object.create;var Ae=Object.defineProperty,Ui=Object.defineProperties,Bi=Object.getOwnPropertyDescriptor,Wi=Object.getOwnPropertyDescriptors,Vi=Object.getOwnPropertyNames,$e=Object.getOwnPropertySymbols,$i=Object.getPrototypeOf,Rt=Object.prototype.hasOwnProperty,Mr=Object.prototype.propertyIsEnumerable;var Or=(e,t,r)=>t in e?Ae(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,T=(e,t)=>{for(var r in t||(t={}))Rt.call(t,r)&&Or(e,r,t[r]);if($e)for(var r of $e(t))Mr.call(t,r)&&Or(e,r,t[r]);return e},w=(e,t)=>Ui(e,Wi(t));var Fr=(e,t)=>{var r={};for(var o in e)Rt.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(e!=null&&$e)for(var o of $e(e))t.indexOf(o)<0&&Mr.call(e,o)&&(r[o]=e[o]);return r};var g=(e,t)=>()=>(e&&(t=e(e=0)),t);var Ge=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),ce=(e,t)=>{for(var r in t)Ae(e,r,{get:t[r],enumerable:!0})},Ur=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Vi(t))!Rt.call(e,i)&&i!==r&&Ae(e,i,{get:()=>t[i],enumerable:!(o=Bi(t,i))||o.enumerable});return e};var A=(e,t,r)=>(r=e!=null?Fi($i(e)):{},Ur(t||!e||!e.__esModule?Ae(r,"default",{value:e,enumerable:!0}):r,e)),ve=e=>Ur(Ae({},"__esModule",{value:!0}),e);var D=(e,t,r)=>new Promise((o,i)=>{var l=m=>{try{d(r.next(m))}catch(y){i(y)}},p=m=>{try{d(r.throw(m))}catch(y){i(y)}},d=m=>m.done?o(m.value):Promise.resolve(m.value).then(l,p);d((r=r.apply(e,t)).next())});var Vr=Ge(He=>{"use strict";n();He.byteLength=Hi;He.toByteArray=ji;He.fromByteArray=Xi;var G=[],F=[],Gi=typeof Uint8Array!="undefined"?Uint8Array:Array,Nt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(le=0,Br=Nt.length;le<Br;++le)G[le]=Nt[le],F[Nt.charCodeAt(le)]=le;var le,Br;F["-".charCodeAt(0)]=62;F["_".charCodeAt(0)]=63;function Wr(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 Hi(e){var t=Wr(e),r=t[0],o=t[1];return(r+o)*3/4-o}function qi(e,t,r){return(t+r)*3/4-r}function ji(e){var t,r=Wr(e),o=r[0],i=r[1],l=new Gi(qi(e,o,i)),p=0,d=i>0?o-4:o,m;for(m=0;m<d;m+=4)t=F[e.charCodeAt(m)]<<18|F[e.charCodeAt(m+1)]<<12|F[e.charCodeAt(m+2)]<<6|F[e.charCodeAt(m+3)],l[p++]=t>>16&255,l[p++]=t>>8&255,l[p++]=t&255;return i===2&&(t=F[e.charCodeAt(m)]<<2|F[e.charCodeAt(m+1)]>>4,l[p++]=t&255),i===1&&(t=F[e.charCodeAt(m)]<<10|F[e.charCodeAt(m+1)]<<4|F[e.charCodeAt(m+2)]>>2,l[p++]=t>>8&255,l[p++]=t&255),l}function zi(e){return G[e>>18&63]+G[e>>12&63]+G[e>>6&63]+G[e&63]}function Ki(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(zi(o));return i.join("")}function Xi(e){for(var t,r=e.length,o=r%3,i=[],l=16383,p=0,d=r-o;p<d;p+=l)i.push(Ki(e,p,p+l>d?d:p+l));return o===1?(t=e[r-1],i.push(G[t>>2]+G[t<<4&63]+"==")):o===2&&(t=(e[r-2]<<8)+e[r-1],i.push(G[t>>10]+G[t>>4&63]+G[t<<2&63]+"=")),i.join("")}});var $r=Ge(Ct=>{n();Ct.read=function(e,t,r,o,i){var l,p,d=i*8-o-1,m=(1<<d)-1,y=m>>1,x=-7,h=r?i-1:0,I=r?-1:1,k=e[t+h];for(h+=I,l=k&(1<<-x)-1,k>>=-x,x+=d;x>0;l=l*256+e[t+h],h+=I,x-=8);for(p=l&(1<<-x)-1,l>>=-x,x+=o;x>0;p=p*256+e[t+h],h+=I,x-=8);if(l===0)l=1-y;else{if(l===m)return p?NaN:(k?-1:1)*(1/0);p=p+Math.pow(2,o),l=l-y}return(k?-1:1)*p*Math.pow(2,l-o)};Ct.write=function(e,t,r,o,i,l){var p,d,m,y=l*8-i-1,x=(1<<y)-1,h=x>>1,I=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,k=o?0:l-1,M=o?1:-1,me=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(d=isNaN(t)?1:0,p=x):(p=Math.floor(Math.log(t)/Math.LN2),t*(m=Math.pow(2,-p))<1&&(p--,m*=2),p+h>=1?t+=I/m:t+=I*Math.pow(2,1-h),t*m>=2&&(p++,m/=2),p+h>=x?(d=0,p=x):p+h>=1?(d=(t*m-1)*Math.pow(2,i),p=p+h):(d=t*Math.pow(2,h-1)*Math.pow(2,i),p=0));i>=8;e[r+k]=d&255,k+=M,d/=256,i-=8);for(p=p<<i|d,y+=i;y>0;e[r+k]=p&255,k+=M,p/=256,y-=8);e[r+k-M]|=me*128}});var tn=Ge(fe=>{"use strict";n();var Dt=Vr(),ge=$r(),Gr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;fe.Buffer=u;fe.SlowBuffer=ta;fe.INSPECT_MAX_BYTES=50;var qe=2147483647;fe.kMaxLength=qe;u.TYPED_ARRAY_SUPPORT=Yi();!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 Yi(){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 J(e){if(e>qe)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 Ft(e)}return jr(e,t,r)}u.poolSize=8192;function jr(e,t,r){if(typeof e=="string")return Ji(e,t);if(ArrayBuffer.isView(e))return Qi(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(H(e,ArrayBuffer)||e&&H(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(H(e,SharedArrayBuffer)||e&&H(e.buffer,SharedArrayBuffer)))return Ot(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=ea(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 jr(e,t,r)};Object.setPrototypeOf(u.prototype,Uint8Array.prototype);Object.setPrototypeOf(u,Uint8Array);function zr(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 Zi(e,t,r){return zr(e),e<=0?J(e):t!==void 0?typeof r=="string"?J(e).fill(t,r):J(e).fill(t):J(e)}u.alloc=function(e,t,r){return Zi(e,t,r)};function Ft(e){return zr(e),J(e<0?0:Ut(e)|0)}u.allocUnsafe=function(e){return Ft(e)};u.allocUnsafeSlow=function(e){return Ft(e)};function Ji(e,t){if((typeof t!="string"||t==="")&&(t="utf8"),!u.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=Kr(e,t)|0,o=J(r),i=o.write(e,t);return i!==r&&(o=o.slice(0,i)),o}function _t(e){for(var t=e.length<0?0:Ut(e.length)|0,r=J(t),o=0;o<t;o+=1)r[o]=e[o]&255;return r}function Qi(e){if(H(e,Uint8Array)){var t=new Uint8Array(e);return Ot(t.buffer,t.byteOffset,t.byteLength)}return _t(e)}function Ot(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 ea(e){if(u.isBuffer(e)){var t=Ut(e.length)|0,r=J(t);return r.length===0||e.copy(r,0,0,t),r}if(e.length!==void 0)return typeof e.length!="number"||Bt(e.length)?J(0):_t(e);if(e.type==="Buffer"&&Array.isArray(e.data))return _t(e.data)}function Ut(e){if(e>=qe)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+qe.toString(16)+" bytes");return e|0}function ta(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(H(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),H(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(H(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 Kr(e,t){if(u.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||H(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 Mt(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return en(e).length;default:if(i)return o?-1:Mt(e).length;t=(""+t).toLowerCase(),i=!0}}u.byteLength=Kr;function ra(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 da(this,t,r);case"utf8":case"utf-8":return Yr(this,t,r);case"ascii":return pa(this,t,r);case"latin1":case"binary":return ua(this,t,r);case"base64":return ca(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ma(this,t,r);default:if(o)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),o=!0}}u.prototype._isBuffer=!0;function pe(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)pe(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)pe(this,r,r+3),pe(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)pe(this,r,r+7),pe(this,r+1,r+6),pe(this,r+2,r+5),pe(this,r+3,r+4);return this};u.prototype.toString=function(){var t=this.length;return t===0?"":arguments.length===0?Yr(this,0,t):ra.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=fe.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"};Gr&&(u.prototype[Gr]=u.prototype.inspect);u.prototype.compare=function(t,r,o,i,l){if(H(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),y=this.slice(i,l),x=t.slice(r,o),h=0;h<m;++h)if(y[h]!==x[h]){p=y[h],d=x[h];break}return p<d?-1:d<p?1:0};function Xr(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,Bt(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof t=="string"&&(t=u.from(t,o)),u.isBuffer(t))return t.length===0?-1:Hr(e,t,r,o,i);if(typeof t=="number")return t=t&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):Hr(e,[t],r,o,i);throw new TypeError("val must be string, number or Buffer")}function Hr(e,t,r,o,i){var l=1,p=e.length,d=t.length;if(o!==void 0&&(o=String(o).toLowerCase(),o==="ucs2"||o==="ucs-2"||o==="utf16le"||o==="utf-16le")){if(e.length<2||t.length<2)return-1;l=2,p/=2,d/=2,r/=2}function m(k,M){return l===1?k[M]:k.readUInt16BE(M*l)}var y;if(i){var x=-1;for(y=r;y<p;y++)if(m(e,y)===m(t,x===-1?0:y-x)){if(x===-1&&(x=y),y-x+1===d)return x*l}else x!==-1&&(y-=y-x),x=-1}else for(r+d>p&&(r=p-d),y=r;y>=0;y--){for(var h=!0,I=0;I<d;I++)if(m(e,y+I)!==m(t,I)){h=!1;break}if(h)return y}return-1}u.prototype.includes=function(t,r,o){return this.indexOf(t,r,o)!==-1};u.prototype.indexOf=function(t,r,o){return Xr(this,t,r,o,!0)};u.prototype.lastIndexOf=function(t,r,o){return Xr(this,t,r,o,!1)};function na(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(Bt(d))return p;e[r+p]=d}return p}function oa(e,t,r,o){return je(Mt(t,e.length-r),e,r,o)}function ia(e,t,r,o){return je(Ta(t),e,r,o)}function aa(e,t,r,o){return je(en(t),e,r,o)}function sa(e,t,r,o){return je(ya(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 na(this,t,r,o);case"utf8":case"utf-8":return oa(this,t,r,o);case"ascii":case"latin1":case"binary":return ia(this,t,r,o);case"base64":return aa(this,t,r,o);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return sa(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 ca(e,t,r){return t===0&&r===e.length?Dt.fromByteArray(e):Dt.fromByteArray(e.slice(t,r))}function Yr(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,y,x,h;switch(d){case 1:l<128&&(p=l);break;case 2:m=e[i+1],(m&192)===128&&(h=(l&31)<<6|m&63,h>127&&(p=h));break;case 3:m=e[i+1],y=e[i+2],(m&192)===128&&(y&192)===128&&(h=(l&15)<<12|(m&63)<<6|y&63,h>2047&&(h<55296||h>57343)&&(p=h));break;case 4:m=e[i+1],y=e[i+2],x=e[i+3],(m&192)===128&&(y&192)===128&&(x&192)===128&&(h=(l&15)<<18|(m&63)<<12|(y&63)<<6|x&63,h>65535&&h<1114112&&(p=h))}}p===null?(p=65533,d=1):p>65535&&(p-=65536,o.push(p>>>10&1023|55296),p=56320|p&1023),o.push(p),i+=d}return la(o)}var qr=4096;function la(e){var t=e.length;if(t<=qr)return String.fromCharCode.apply(String,e);for(var r="",o=0;o<t;)r+=String.fromCharCode.apply(String,e.slice(o,o+=qr));return r}function pa(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 ua(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 da(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+=ha[e[l]];return i}function ma(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 E(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||E(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||E(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||E(t,1,this.length),this[t]};u.prototype.readUint16LE=u.prototype.readUInt16LE=function(t,r){return t=t>>>0,r||E(t,2,this.length),this[t]|this[t+1]<<8};u.prototype.readUint16BE=u.prototype.readUInt16BE=function(t,r){return t=t>>>0,r||E(t,2,this.length),this[t]<<8|this[t+1]};u.prototype.readUint32LE=u.prototype.readUInt32LE=function(t,r){return t=t>>>0,r||E(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||E(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||E(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||E(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||E(t,1,this.length),this[t]&128?(255-this[t]+1)*-1:this[t]};u.prototype.readInt16LE=function(t,r){t=t>>>0,r||E(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||E(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||E(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||E(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||E(t,4,this.length),ge.read(this,t,!0,23,4)};u.prototype.readFloatBE=function(t,r){return t=t>>>0,r||E(t,4,this.length),ge.read(this,t,!1,23,4)};u.prototype.readDoubleLE=function(t,r){return t=t>>>0,r||E(t,8,this.length),ge.read(this,t,!0,52,8)};u.prototype.readDoubleBE=function(t,r){return t=t>>>0,r||E(t,8,this.length),ge.read(this,t,!1,52,8)};function P(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;P(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;P(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||P(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||P(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||P(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||P(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||P(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);P(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);P(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||P(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||P(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||P(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||P(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||P(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 Zr(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 Jr(e,t,r,o,i){return t=+t,r=r>>>0,i||Zr(e,t,r,4,34028234663852886e22,-34028234663852886e22),ge.write(e,t,r,o,23,4),r+4}u.prototype.writeFloatLE=function(t,r,o){return Jr(this,t,r,!0,o)};u.prototype.writeFloatBE=function(t,r,o){return Jr(this,t,r,!1,o)};function Qr(e,t,r,o,i){return t=+t,r=r>>>0,i||Zr(e,t,r,8,17976931348623157e292,-17976931348623157e292),ge.write(e,t,r,o,52,8),r+8}u.prototype.writeDoubleLE=function(t,r,o){return Qr(this,t,r,!0,o)};u.prototype.writeDoubleBE=function(t,r,o){return Qr(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 ga=/[^+/0-9A-Za-z-_]/g;function fa(e){if(e=e.split("=")[0],e=e.trim().replace(ga,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function Mt(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 Ta(e){for(var t=[],r=0;r<e.length;++r)t.push(e.charCodeAt(r)&255);return t}function ya(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 en(e){return Dt.toByteArray(fa(e))}function je(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 H(e,t){return e instanceof t||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===t.name}function Bt(e){return e!==e}var ha=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 sn=Ge((kc,an)=>{n();var b=an.exports={},q,j;function Wt(){throw new Error("setTimeout has not been defined")}function Vt(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?q=setTimeout:q=Wt}catch(e){q=Wt}try{typeof clearTimeout=="function"?j=clearTimeout:j=Vt}catch(e){j=Vt}})();function rn(e){if(q===setTimeout)return setTimeout(e,0);if((q===Wt||!q)&&setTimeout)return q=setTimeout,setTimeout(e,0);try{return q(e,0)}catch(t){try{return q.call(null,e,0)}catch(r){return q.call(this,e,0)}}}function xa(e){if(j===clearTimeout)return clearTimeout(e);if((j===Vt||!j)&&clearTimeout)return j=clearTimeout,clearTimeout(e);try{return j(e)}catch(t){try{return j.call(null,e)}catch(r){return j.call(this,e)}}}var Q=[],Te=!1,ue,ze=-1;function Sa(){!Te||!ue||(Te=!1,ue.length?Q=ue.concat(Q):ze=-1,Q.length&&nn())}function nn(){if(!Te){var e=rn(Sa);Te=!0;for(var t=Q.length;t;){for(ue=Q,Q=[];++ze<t;)ue&&ue[ze].run();ze=-1,t=Q.length}ue=null,Te=!1,xa(e)}}b.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];Q.push(new on(e,t)),Q.length===1&&!Te&&rn(nn)};function on(e,t){this.fun=e,this.array=t}on.prototype.run=function(){this.fun.apply(null,this.array)};b.title="browser";b.browser=!0;b.env={};b.argv=[];b.version="";b.versions={};function ee(){}b.on=ee;b.addListener=ee;b.once=ee;b.off=ee;b.removeListener=ee;b.removeAllListeners=ee;b.emit=ee;b.prependListener=ee;b.prependOnceListener=ee;b.listeners=function(e){return[]};b.binding=function(e){throw new Error("process.binding is not supported")};b.cwd=function(){return"/"};b.chdir=function(e){throw new Error("process.chdir is not supported")};b.umask=function(){return 0}});var a,s,Ec,n=g(()=>{a=A(tn()),s=A(sn()),Ec=function(e){function t(){var o=this||self;return delete e.prototype.__magic__,o}if(typeof globalThis=="object")return globalThis;if(this)return t();e.defineProperty(e.prototype,"__magic__",{configurable:!0,get:t});var r=__magic__;return r}(Object)});var cn=g(()=>{"use strict";n()});var ln=g(()=>{"use strict";n()});var pn=g(()=>{"use strict";n()});var $t,un=g(()=>{"use strict";n();$t=(o=>(o.SetGuardian="SetGuardian",o.GuardAccount="GuardAccount",o.UnGuardAccount="UnGuardAccount",o))($t||{})});var dn=g(()=>{"use strict";n()});var Gt=g(()=>{"use strict";n()});var mn=g(()=>{"use strict";n()});var gn=g(()=>{"use strict";n()});var fn=g(()=>{"use strict";n()});var Tn=g(()=>{"use strict";n()});var Ht,ye,qt=g(()=>{"use strict";n();Ht=require("@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider"),ye=require("@multiversx/sdk-web-wallet-cross-window-provider/out/enums")});var yn,Bc,hn,Wc,B=g(()=>{"use strict";n();qt();yn=(r=>(r.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",r.reloginRequest="RELOGIN_REQUEST",r))(yn||{}),Bc=T(T({},ye.WindowProviderRequestEnums),yn),hn=(t=>(t.reloginResponse="RELOGIN_RESPONSE",t))(hn||{}),Wc=T(T({},ye.WindowProviderResponseEnums),hn)});var xn=g(()=>{"use strict";n()});var Sn=g(()=>{"use strict";n()});var R=g(()=>{"use strict";n()});var wn=g(()=>{"use strict";n()});var An=g(()=>{"use strict";n()});var vn=g(()=>{"use strict";n()});var N=g(()=>{"use strict";n();gn();fn();Tn();B();xn();Sn();R();wn();An();vn()});var jt,bn,nl,In,ol,kn,il,al,sl,En=g(()=>{"use strict";n();N();jt={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",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",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",explorerAddress:"https://explorer.multiversx.com",metamaskSnapWalletAddress:"https://iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3}},{chainId:bn,egldLabel:nl}=jt["devnet"],{chainId:In,egldLabel:ol}=jt["testnet"],{chainId:kn,egldLabel:il}=jt["mainnet"],al={["devnet"]:bn,["testnet"]:In,["mainnet"]:kn},sl={[bn]:"devnet",[In]:"testnet",[kn]:"mainnet"}});var zt=g(()=>{"use strict";n()});var z,Ln=g(()=>{"use strict";n();z=require("@multiversx/sdk-web-wallet-provider")});var ie,Kt=g(()=>{"use strict";n();ie=require("@multiversx/sdk-dapp-utils/out/constants/browserConstants")});var Pn,Rn,Xt,ml,gl,Nn=g(()=>{"use strict";n();Kt();Xt=String((Rn=(Pn=ie.safeWindow)==null?void 0:Pn.navigator)==null?void 0:Rn.userAgent),ml=/^((?!chrome|android).)*safari/i.test(Xt),gl=/firefox/i.test(Xt)&&/windows/i.test(Xt)});var Yt,Zt,Cn,Ke,Dn,he,S=g(()=>{"use strict";n();cn();ln();pn();un();dn();Gt();mn();En();zt();Ln();Nn();Yt=5e4,Zt=1e9,Cn=1,Ke="logout",Dn="login",he="0"});var er,v,ke,_=g(()=>{"use strict";n();er=require("@reduxjs/toolkit");S();v=(0,er.createAction)(Ke),ke=(0,er.createAction)(Dn,e=>({payload:e}))});var Xe,tr=g(()=>{"use strict";n();Xe=()=>Date.now()/1e3});var Vn=g(()=>{"use strict";n()});var $n=g(()=>{"use strict";n()});var Gn=g(()=>{"use strict";n();tr();Vn();$n()});var rr={};ce(rr,{clear:()=>ka,getItem:()=>ba,localStorageKeys:()=>V,removeItem:()=>Ia,setItem:()=>va});var V,Ye,va,ba,Ia,ka,Se=g(()=>{"use strict";n();Gn();V={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event"},Ye=typeof localStorage!="undefined",va=({key:e,data:t,expires:r})=>{!Ye||localStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},ba=e=>{if(!Ye)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:Xe()>=r.expires?(localStorage.removeItem(String(e)),null):r.data},Ia=e=>{!Ye||localStorage.removeItem(String(e))},ka=()=>{!Ye||localStorage.clear()}});var nr={};ce(nr,{clear:()=>zn,getItem:()=>qn,removeItem:()=>jn,setItem:()=>Hn,storage:()=>Ea});var Hn,qn,jn,zn,Ea,Kn=g(()=>{"use strict";n();Hn=({key:e,data:t,expires:r})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},qn=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},jn=e=>sessionStorage.removeItem(String(e)),zn=()=>sessionStorage.clear(),Ea={setItem:Hn,getItem:qn,removeItem:jn,clear:zn}});var K,Ee=g(()=>{"use strict";n();Se();Kn();K={session:nr,local:rr}});var ir,Xn,Yn,Ze,or,Zn,ar,cp,sr,lp,pp,up,dp,mp,gp,fp,Tp,Je,Qe=g(()=>{"use strict";n();ir=require("@multiversx/sdk-core"),Xn=require("@reduxjs/toolkit"),Yn=require("redux-persist");S();Ee();Se();_();Ze={balance:"...",address:"",isGuarded:!1,nonce:0,txCount:0,scrCount:0,claimableRewards:he},or={address:"",websocketEvent:null,websocketBatchEvent:null,accounts:{"":Ze},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},Zn=(0,Xn.createSlice)({name:"accountInfoSlice",initialState:or,reducers:{setAddress:(e,t)=>{let r=t.payload;e.address=r,e.publicKey=r?new ir.Address(r).hex():""},setAccount:(e,t)=>{let r=e.address===t.payload.address;e.accounts={[e.address]:r?t.payload:Ze},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(v,()=>(K.local.removeItem(V.loginExpiresAt),or)),e.addCase(ke,(t,r)=>{let{address:o}=r.payload;t.address=o,t.publicKey=new ir.Address(o).hex()}),e.addCase(Yn.REHYDRATE,(t,r)=>{var y;if(!((y=r.payload)!=null&&y.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:or.accounts,t.publicKey=d})}}),{setAccount:ar,setAddress:cp,setAccountNonce:sr,setAccountShard:lp,setLedgerAccount:pp,updateLedgerAccount:up,setWalletConnectAccount:dp,setIsAccountLoading:mp,setAccountLoadingError:gp,setWebsocketEvent:fp,setWebsocketBatchEvent:Tp}=Zn.actions,Je=Zn.reducer});function Le(){return new Date().setHours(new Date().getHours()+24)}function Pe(e){K.local.setItem({key:V.loginExpiresAt,data:e,expires:e})}var cr=g(()=>{"use strict";n();Ee();Se()});var Qn,Jn,eo,kp,Ep,Lp,Pp,Rp,Np,to,Cp,Dp,_p,et,tt=g(()=>{"use strict";n();Qn=require("@reduxjs/toolkit");cr();B();_();Jn={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,passkeyLogin:null,operaLogin:null,crossWindowLogin:null,iframeWindowLogin:null,isLoginSessionInvalid:!1,webviewLogin:null},eo=(0,Qn.createSlice)({name:"loginInfoSlice",initialState:Jn,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(v,()=>Jn),e.addCase(ke,(t,r)=>{t.isLoginSessionInvalid=!1,t.loginMethod=r.payload.loginMethod,t.iframeLoginType=r.payload.iframeLoginType,Pe(Le())})}}),{setLoginMethod:kp,setWalletConnectLogin:Ep,setLedgerLogin:Lp,setTokenLogin:Pp,setTokenLoginSignature:Rp,setWalletLogin:Np,invalidateLoginSession:to,setLogoutRoute:Cp,setIsWalletConnectV2Initialized:Dp,setWebviewLogin:_p}=eo.actions,et=eo.reducer});var no,ro,oo,Up,Bp,Wp,Vp,rt,nt=g(()=>{"use strict";n();no=require("@reduxjs/toolkit");_();ro={},oo=(0,no.createSlice)({name:"modalsSlice",initialState:ro,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(v,()=>ro)}}),{setTxSubmittedModal:Up,setNotificationModal:Bp,clearTxSubmittedModal:Wp,clearNotificationModal:Vp}=oo.actions,rt=oo.reducer});var Re,ot=g(()=>{"use strict";n();Re=()=>typeof window!="undefined"&&typeof(window==null?void 0:window.location)!="undefined"});var O,ae=g(()=>{"use strict";n();ot();O=()=>{if(!Re())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 lr,io=g(()=>{"use strict";n();ae();lr=(e="")=>{let t=O(),r=e.startsWith("http")||e.startsWith("www.");return!t.origin||e.startsWith(t.origin)||r?e:`${t.origin}/${e.replace("/","")}`}});var ao=g(()=>{"use strict";n();we()});var so,co=g(()=>{"use strict";n();Kt();so=e=>{if(!ie.safeWindow.location)return;if(!new URL(ie.safeWindow.location.href).protocol.startsWith("http"))return ie.safeWindow.location.reload();ie.safeWindow.location.assign(e)}});var we=g(()=>{"use strict";n();io();ao();ae();co()});var lo,po,pr,ur=g(()=>{"use strict";n();we();lo=!1,po=(e=!0)=>{lo=e},pr=({timeout:e=0,url:t})=>{lo||setTimeout(()=>{if(!!window)return so(t)},e)}});var uo=g(()=>{"use strict";n();ur()});function mo(e){return e[Math.floor(Math.random()*e.length)]}var go=g(()=>{"use strict";n()});var fo=g(()=>{"use strict";n();Gt()});var To=g(()=>{"use strict";n();uo();go();fo()});var yo,ho,xo,dr,Pa,So,xu,Su,wu,it,at=g(()=>{"use strict";n();yo=require("@reduxjs/toolkit"),ho=A(require("lodash.omit")),xo=require("redux-persist");zt();_();To();dr={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},Pa={network:dr},So=(0,yo.createSlice)({name:"appConfig",initialState:Pa,reducers:{initializeNetworkConfig:(e,t)=>{let r=mo(t.payload.walletConnectV2RelayAddresses),o=(0,ho.default)(t.payload,"walletConnectV2RelayAddresses");e.network=w(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(v,t=>{t.network.customWalletAddress=void 0}),e.addCase(xo.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:xu,updateNetworkConfig:Su,setCustomWalletAddress:wu}=So.actions,it=So.reducer});var wo,mr,Ao,Eu,Lu,Pu,st,ct=g(()=>{"use strict";n();wo=require("@reduxjs/toolkit");N();_();mr={isSigning:!1,signedSessions:{}},Ao=(0,wo.createSlice)({name:"signedMessageInfoSliceState",initialState:mr,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:()=>mr},extraReducers:e=>{e.addCase(v,()=>mr)}}),{setSignSession:Eu,clearSignedMessageInfo:Lu,setSignSessionState:Pu}=Ao.actions,st=Ao.reducer});var bo,Io,vo,ko,Mu,Fu,Uu,Bu,lt,pt=g(()=>{"use strict";n();bo=require("@reduxjs/toolkit"),Io=require("redux-persist");N();tr();_();vo={customToasts:[],transactionToasts:[]},ko=(0,bo.createSlice)({name:"toastsSlice",initialState:vo,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]=w(T(T({},e.customToasts[o]),t.payload),{type:"custom",toastId:r});return}e.customToasts.push(w(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:Xe(),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(v,()=>vo),e.addCase(Io.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:Mu,removeCustomToast:Fu,addTransactionToast:Uu,removeTransactionToast:Bu}=ko.actions,lt=ko.reducer});var Eo,fr,Tr,yr,Ra,gr,Lo,Gu,Hu,qu,ut,dt=g(()=>{"use strict";n();Eo=require("@reduxjs/toolkit");_();fr="Transaction failed",Tr="Transaction successful",yr="Processing transaction",Ra="Transaction submitted",gr={},Lo=(0,Eo.createSlice)({name:"transactionsInfo",initialState:gr,reducers:{setTransactionsDisplayInfo(e,t){let{sessionId:r,transactionsDisplayInfo:o}=t.payload;r!=null&&(e[r]={errorMessage:(o==null?void 0:o.errorMessage)||fr,successMessage:(o==null?void 0:o.successMessage)||Tr,processingMessage:(o==null?void 0:o.processingMessage)||yr,submittedMessage:(o==null?void 0:o.submittedMessage)||Ra,transactionDuration:o==null?void 0:o.transactionDuration})},clearTransactionsInfoForSessionId(e,t){t.payload!=null&&delete e[t.payload]},clearTransactionsInfo:()=>gr},extraReducers:e=>{e.addCase(v,()=>gr)}}),{clearTransactionsInfo:Gu,setTransactionsDisplayInfo:Hu,clearTransactionsInfoForSessionId:qu}=Lo.actions,ut=Lo.reducer});function Po(e){return e!=null&&(Va(e)||ja(e))}function mt(e){return e!=null&&($a(e)||za(e))}function gt(e){return e!=null&&(Ga(e)||Ka(e))}function Ro(e){return e!=null&&(Ha(e)||Xa(e))}function No(e){return e!=null&&qa(e)}function Va(e){return e!=null&&Ca.includes(e)}function $a(e){return e!=null&&Da.includes(e)}function Ga(e){return e!=null&&_a.includes(e)}function Ha(e){return e!=null&&Oa.includes(e)}function qa(e){return e!=null&&Ma.includes(e)}function ja(e){return e!=null&&Fa.includes(e)}function za(e){return e!=null&&Ua.includes(e)}function Ka(e){return e!=null&&Ba.includes(e)}function Xa(e){return e!=null&&Wa.includes(e)}var Ca,Da,_a,Oa,Ma,Fa,Ua,Ba,Wa,xr=g(()=>{"use strict";n();B();Ca=["sent"],Da=["success"],_a=["fail","cancelled","timedOut"],Oa=["invalid"],Ma=["timedOut"],Fa=["pending"],Ua=["success"],Ba=["fail","invalid"],Wa=["not executed"]});var Co,Do,Ne,Ya,_o,ed,td,rd,nd,od,id,ad,sd,cd,ld,pd,ft,Tt=g(()=>{"use strict";n();Co=require("@reduxjs/toolkit"),Do=require("redux-persist");B();xr();_();Ne={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},Ya={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},_o=(0,Co.createSlice)({name:"transactionsSlice",initialState:Ne,reducers:{moveTransactionsToSignedState:(e,t)=>{var m,y;let{sessionId:r,transactions:o,errorMessage:i,status:l,redirectRoute:p,customTransactionInformation:d}=t.payload;e.customTransactionInformationForSessionId[r]=T(T(T({},Ya),((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:{})},((y=e==null?void 0:e.transactionsToSign)==null?void 0:y.sessionId)===r&&(e.transactionsToSign=Ne.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 y,x,h,I,k,M,me,_r;let{sessionId:r,status:o,errorMessage:i,transactionHash:l,serverTransaction:p,inTransit:d}=t.payload,m=(x=(y=e.signedTransactions)==null?void 0:y[r])==null?void 0:x.transactions;if(m!=null){e.signedTransactions[r].transactions=m.map(Z=>Z.hash===l?w(T(T({},p!=null?p:{}),Z),{status:o,errorMessage:i,inTransit:d}):Z);let _i=(I=(h=e.signedTransactions[r])==null?void 0:h.transactions)==null?void 0:I.every(Z=>mt(Z.status)),Oi=(M=(k=e.signedTransactions[r])==null?void 0:k.transactions)==null?void 0:M.some(Z=>gt(Z.status)),Mi=(_r=(me=e.signedTransactions[r])==null?void 0:me.transactions)==null?void 0:_r.every(Z=>Ro(Z.status));_i&&(e.signedTransactions[r].status="success"),Oi&&(e.signedTransactions[r].status="fail"),Mi&&(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=Ne.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=Ne.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(v,()=>Ne),e.addCase(Do.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,y])=>{let x=new Date(m),h=new Date;return h.setHours(h.getHours()+5),h-x>0||(d[m]=y),d},{});i!=null&&(t.customTransactionInformationForSessionId=i),o!=null&&(t.signedTransactions=l)})}}),{updateSignedTransactionStatus:ed,updateSignedTransactions:td,setTransactionsToSign:rd,clearAllTransactionsToSign:nd,clearAllSignedTransactions:od,clearSignedTransaction:id,clearTransactionToSign:ad,setSignTransactionsError:sd,setSignTransactionsCancelMessage:cd,moveTransactionsToSignedState:ld,updateSignedTransactionsCustomTransactionInformation:pd}=_o.actions,ft=_o.reducer});var Oo,Sr,Mo,gd,fd,Td,yd,yt,ht=g(()=>{"use strict";n();Oo=require("@reduxjs/toolkit");_();Sr={},Mo=(0,Oo.createSlice)({name:"batchTransactionsSlice",initialState:Sr,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:()=>Sr},extraReducers:e=>{e.addCase(v,()=>Sr)}}),{setBatchTransactions:gd,updateBatchTransactions:fd,clearBatchTransactions:Td,clearAllBatchTransactions:yd}=Mo.actions,yt=Mo.reducer});var Uo,Fo,Bo,wd,Wo,wr=g(()=>{"use strict";n();Uo=require("@reduxjs/toolkit");_();Fo={},Bo=(0,Uo.createSlice)({name:"dappConfigSlice",initialState:Fo,reducers:{setDappConfig:(e,t)=>t.payload},extraReducers:e=>{e.addCase(v,()=>Fo)}}),{setDappConfig:wd}=Bo.actions,Wo=Bo.reducer});var se=g(()=>{"use strict";n();Qe();tt();nt();at();ct();pt();dt();Tt();ht();wr()});var Ar=g(()=>{"use strict";n()});var Go,es,ts,de,wt=g(()=>{"use strict";n();Go=require("@reduxjs/toolkit");Ar();Qe();ht();wr();tt();nt();at();ct();pt();dt();Tt();es={["account"]:Je,["dappConfig"]:Wo,["loginInfo"]:et,["modals"]:rt,["networkConfig"]:it,["signedMessageInfo"]:st,["toasts"]:lt,["transactionsInfo"]:ut,["transactions"]:ft,["batchTransactions"]:yt},ts=(e={})=>(0,Go.combineReducers)(T(T({},es),e)),de=ts});var zo={};ce(zo,{default:()=>ys,sessionStorageReducers:()=>vr});function re(e,t=[]){return{key:e,version:1,storage:qo.default,blacklist:t}}var C,Ho,qo,rs,Ce,ns,os,is,as,ss,cs,ls,ps,us,ds,jo,ms,vr,gs,fs,Ts,ys,Ko=g(()=>{"use strict";n();C=require("redux-persist"),Ho=A(require("redux-persist/lib/storage")),qo=A(require("redux-persist/lib/storage/session"));wt();se();Qe();ht();tt();nt();at();ct();pt();dt();Tt();Ar();rs={persistReducersStorageType:"localStorage"},Ce={["account"]:"sdk-dapp-account",["loginInfo"]:"sdk-dapp-login-info",["modals"]:"sdk-dapp-modals",["networkConfig"]:"sdk-dapp-network-config"},ns=re(Ce["account"]),os=re(Ce["loginInfo"]),is=re(Ce["modals"]),as=re(Ce["networkConfig"]),ss={2:e=>w(T({},e),{networkConfig:dr})};cs=re("sdk-dapp-transactionsInfo"),ls=re("sdk-dapp-transactions",["transactionsToSign"]),ps=re("sdk-dapp-batchTransactions",["batchTransactions"]),us=re("sdk-dapp-toasts"),ds=re("sdk-dapp-signedMessageInfo"),jo={key:"sdk-dapp-store",version:2,storage:Ho.default,whitelist:Object.keys(Ce),migrate:(0,C.createMigrate)(ss,{debug:!1})},ms=w(T({},jo),{whitelist:[]}),vr={["toasts"]:(0,C.persistReducer)(us,lt),["transactions"]:(0,C.persistReducer)(ls,ft),["transactionsInfo"]:(0,C.persistReducer)(cs,ut),["batchTransactions"]:(0,C.persistReducer)(ps,yt),["signedMessageInfo"]:(0,C.persistReducer)(ds,st)},gs=w(T({},vr),{["account"]:(0,C.persistReducer)(ns,Je),["loginInfo"]:(0,C.persistReducer)(os,et),["modals"]:(0,C.persistReducer)(is,rt),["networkConfig"]:(0,C.persistReducer)(as,it)}),fs=rs.persistReducersStorageType==="localStorage",Ts=fs?(0,C.persistReducer)(jo,de(vr)):(0,C.persistReducer)(ms,de(gs)),ys=Ts});var Xo={};ce(Xo,{default:()=>hs});var hs,Yo=g(()=>{"use strict";n();wt();hs=de()});var Zo={};ce(Zo,{default:()=>Ss});var U,xs,Ss,Jo=g(()=>{"use strict";n();U=require("redux-persist"),xs=[U.FLUSH,U.REHYDRATE,U.PAUSE,U.PERSIST,U.PURGE,U.REGISTER],Ss=xs});var ti={};ce(ti,{default:()=>ei});function ei(e){return(0,Qo.persistStore)(e)}var Qo,ri=g(()=>{"use strict";n();Qo=require("redux-persist")});var wc={};ce(wc,{logout:()=>Sc});module.exports=ve(wc);n();n();n();n();var On=require("@multiversx/sdk-extension-provider"),Mn=require("@multiversx/sdk-hw-provider"),Fn=require("@multiversx/sdk-metamask-provider/out/metamaskProvider"),Un=require("@multiversx/sdk-opera-provider"),Bn=require("@multiversx/sdk-passkey-provider/out"),Wn=require("@multiversx/sdk-web-wallet-provider");S();qt();n();var Jt=require("@multiversx/sdk-web-wallet-iframe-provider/out"),wa=require("@multiversx/sdk-web-wallet-iframe-provider/out/constants");B();n();var _n=xe;var Ie=e=>{switch(e==null?void 0:e.constructor){case Wn.WalletProvider:return"wallet";case _n:return"walletconnectv2";case Mn.HWProvider:return"ledger";case On.ExtensionProvider:return"extension";case Bn.PasskeyProvider:return"passkey";case Fn.MetamaskProvider:return"metamask";case Un.OperaProvider:return"opera";case Ht.CrossWindowProvider:return"crossWindow";case Jt.IframeProvider:return"iframe";case xe:return"";default:return"extra"}};var W=e=>`Unable to perform ${e}, Provider not initialized`,xe=class{init(){return Promise.resolve(!1)}getAccount(){throw new Error(W("getAccount"))}setAccount(t){throw new Error(W(`setAccount: ${t}`))}login(t){throw new Error(W(`login with options: ${t}`))}logout(t){throw new Error(W(`logout with options: ${t}`))}getAddress(){throw new Error(W("getAddress"))}isInitialized(){return!1}isConnected(){return!1}sendTransaction(t,r){throw new Error(W(`sendTransaction with transactions: ${t} options: ${r}`))}signTransaction(t,r){throw new Error(W(`signTransaction with transactions: ${t} options: ${r}`))}signTransactions(t,r){throw new Error(W(`signTransactions with transactions: ${t} options: ${r}`))}signMessage(t,r){throw new Error(W(`signTransactions with ${t} and options ${r}`))}sendCustomMessage({method:t,params:r}){throw new Error(W(`sendCustomMessage with method: ${t} params: ${r}`))}sendCustomRequest(t){throw new Error(W(`sendSessionEvent with options: ${t}`))}ping(){return Promise.resolve(!1)}},Qt=new xe;var Aa=Qt;function te(){return Aa||Qt}_();n();var br=require("@reduxjs/toolkit"),ai=require("react-redux/lib/utils/Subscription");se();n();var Vo=A(require("lodash.throttle"));S();se();cr();Ee();Se();var Za=[Ke],xt=!1,Ja=(0,Vo.default)(()=>{Pe(Le())},5e3),$o=e=>t=>r=>{if(Za.includes(r.type))return t(r);let o=e.getState(),i=K.local.getItem(V.loginExpiresAt);if(!Boolean(o==null?void 0:o.account.address))return t(r);if(i==null)return Pe(Le());let p=Date.now();return i-p<0&&!xt?setTimeout(()=>{xt=!0,e.dispatch(to())},1e3):(xt&&(xt=!1),Ja()),t(r)};n();n();function St(){return typeof sessionStorage!="undefined"}var ni=St()?(Ko(),ve(zo)).default:(Yo(),ve(Xo)).default,oi=St()?(Jo(),ve(Zo)).default:[],ii=St()?(ri(),ve(ti)).default:e=>e;wt();var L=(0,br.configureStore)({reducer:ni,middleware:e=>e({serializableCheck:{ignoredActions:[...oi,sr.type,ar.type],ignoredPaths:["payload.nonce","account.account.nonce","providers.accountProvider"]}}).concat($o)}),xm=(0,ai.createSubscription)(L),Sm=ii(L),wm=(0,br.configureStore)({reducer:de});N();n();function si(e,t){if(!e){typeof console!="undefined"&&console.warn(t);try{throw new Error(t)}catch(r){}}}function ci(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[r,o]=ws(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((y,x,h)=>{if(x==="*"){let I=d[h]||"";p=l.slice(0,l.length-I.length).replace(/(.)\/+$/,"$1")}return y[x]=As(d[h]||"",x),y},{}),pathname:l,pathnameBase:p,pattern:e}}function ws(e,t=!1,r=!0){si(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 As(e,t){try{return decodeURIComponent(e)}catch(r){return si(!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();var li=require("@multiversx/sdk-core");function vs(e){try{let t=new li.Address(e);return Boolean(t.bech32())}catch(t){return!1}}function De(e){return(e==null?void 0:e.length)===62&&/^\w+$/.test(e)&&vs(e)}n();ae();var pi=()=>{let{search:e}=O(),t=new URLSearchParams(e),r=Object.fromEntries(t),o=r==null?void 0:r.address;return De(o)?o:null};n();n();n();n();n();n();var ui=require("@lifeomic/axios-fetch"),Ir=A(require("axios")),kr=(0,ui.buildAxiosFetch)(Ir.default),Er=(e,t)=>D(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 bs(e,t,r){return D(this,null,function*(){try{let o=yield kr(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 Er(o,r)}catch(o){throw console.error("Fetch Error:",o),o}})}function Is(e,t){return D(this,null,function*(){try{let r=yield kr(e,t);if(!r.ok)throw new Error(`HTTP error! Status: ${r.status}`);return Er(r,t)}catch(r){throw console.error("Fetch Error:",r),r}})}function ks(e,t,r){return D(this,null,function*(){try{let o=yield kr(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 Er(o,r)}catch(o){throw console.error("Fetch Error:",o),o}})}var _e=Ir.default.create();_e.get=Is;_e.post=bs;_e.patch=ks;n();n();n();se();n();var di=A(require("lodash.isequal")),At=require("reselect"),f=(0,At.createSelectorCreator)(At.defaultMemoize,di.default);var X=e=>e.account,Oe=f(X,e=>e.address),vt=f(X,Oe,(e,t)=>t in e.accounts?e.accounts[t]:Ze),Fm=f(X,vt,(e,t)=>{let i=e,{accounts:r}=i,o=Fr(i,["accounts"]);return w(T({},o),{address:t.address,account:t})}),Um=f(vt,e=>e.balance),Es=f(vt,e=>{var t;return((t=e==null?void 0:e.nonce)==null?void 0:t.valueOf())||0}),Bm=f(X,e=>e.shard),Wm=f(X,e=>e.ledgerAccount),Vm=f(X,e=>e.walletConnectAccount),$m=f(X,e=>e.isAccountLoading),Gm=f(X,e=>e.accountLoadingError),Hm=f(X,e=>e.websocketEvent),qm=f(X,e=>e.websocketBatchEvent);n();var Ls=e=>e.dappConfig,Km=f(Ls,e=>e.shouldUseWebViewProvider);n();var $=e=>e.loginInfo,Jm=f($,e=>e.loginMethod),mi=f($,Oe,(e,t)=>Boolean(t)),Qm=f($,e=>e.walletConnectLogin),eg=f($,e=>e.ledgerLogin),gi=f($,e=>e.walletLogin),tg=f($,e=>e.isLoginSessionInvalid),rg=f($,e=>e.tokenLogin),ng=f($,e=>e.logoutRoute),og=f($,e=>e.isWalletConnectV2Initialized);n();var fi=e=>e.modals,sg=f(fi,e=>e.txSubmittedModal),cg=f(fi,e=>e.notificationModal);n();var ne=e=>e.networkConfig,ug=f(ne,e=>e.network.chainId),dg=f(ne,e=>e.network.roundDuration),mg=f(ne,e=>e.network.walletConnectBridgeAddress),gg=f(ne,e=>e.network.walletConnectV2RelayAddress),fg=f(ne,e=>e.network.walletConnectV2ProjectId),Tg=f(ne,e=>e.network.walletConnectV2Options),yg=f(ne,e=>e.network.walletConnectDeepLink),Me=f(ne,e=>e.network),Ps=f(Me,e=>e.apiAddress),Ti=f(Me,e=>e.explorerAddress),hg=f(Me,e=>{var t;return(t=e.customWalletAddress)!=null?t:e.walletAddress}),xg=f(Me,e=>e.xAliasAddress),Sg=f(Me,e=>e.egldLabel);n();var bt=e=>e.signedMessageInfo,vg=f(bt,e=>e.isSigning),bg=f(bt,e=>e.errorMessage),Ig=f(bt,e=>{let t=Object.keys(e.signedSessions),r=t.length;return e.signedSessions[t[r-1]]}),kg=f(bt,e=>{let t=Object.keys(e.signedSessions),r=t.length;return t.length>0?t[r-1]:""});n();var yi=e=>e.toasts,Pg=f(yi,e=>e.customToasts),Rg=f(yi,e=>e.transactionToasts);n();se();var hi={errorMessage:fr,successMessage:Tr,processingMessage:yr},Rs=e=>e.transactionsInfo,_g=f(Rs,(e,t)=>t,(e,t)=>t!=null&&(e==null?void 0:e[Number(t)])||hi);n();n();var Y=require("@multiversx/sdk-core");S();n();var Pr=require("@multiversx/sdk-core/out");n();n();function Lr(e){try{let t=atob(e),r=btoa(t),o=a.Buffer.from(e,"base64").toString(),i=a.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}n();n();n();n();var xi=e=>{let t=e!=null?e:"";return Lr(t)?Pr.TransactionPayload.fromEncoded(t):new Pr.TransactionPayload(t)};n();S();var It=({data:e,onlySetGuardian:t})=>e?t?e.startsWith("SetGuardian"):Object.values($t).some(r=>e.startsWith(r)):!1;function Rr(e){var o,i,l;let t=T({},e);It({data:t.data,onlySetGuardian:!0})&&(delete t.senderUsername,delete t.receiverUsername);let r=new Y.Transaction(T(T(w(T(w(T({value:t.value.valueOf(),data:xi(t.data),nonce:t.nonce.valueOf(),receiver:new Y.Address(t.receiver)},t.receiverUsername?{receiverUsername:t.receiverUsername}:{}),{sender:new Y.Address(t.sender)}),t.senderUsername?{senderUsername:t.senderUsername}:{}),{gasLimit:(o=t.gasLimit.valueOf())!=null?o:Yt,gasPrice:(i=t.gasPrice.valueOf())!=null?i:Zt,chainID:t.chainID.valueOf(),version:new Y.TransactionVersion((l=t.version)!=null?l:Cn)}),t.options?{options:new Y.TransactionOptions(t.options)}:{}),t.guardian?{guardian:new Y.Address(t.guardian)}:{}));return t.guardianSignature&&r.applyGuardianSignature(a.Buffer.from(t.guardianSignature,"hex")),t.signature&&r.applySignature(a.Buffer.from(t.signature,"hex")),r}n();n();S();n();n();n();var _s=require("@multiversx/sdk-core/out");n();S();n();var Si=require("@multiversx/sdk-core");N();n();n();n();var Os=require("@multiversx/sdk-core"),Ms=A(require("bignumber.js"));B();n();n();n();n();n();n();R();n();n();R();n();n();n();var $s=A(require("bignumber.js"));S();n();var Vs=require("@multiversx/sdk-core"),Nr=A(require("bignumber.js"));S();n();var Bs=A(require("bignumber.js"));n();Nr.default.config({ROUNDING_MODE:Nr.default.ROUND_FLOOR});n();n();n();S();n();n();n();n();S();n();S();n();var Gs=require("@multiversx/sdk-core");S();n();var Ue=require("@multiversx/sdk-core"),qs=A(require("bignumber.js"));S();n();n();var Hs=A(require("bignumber.js"));S();n();S();n();n();n();n();n();n();S();n();S();n();S();n();R();var zs=["reDelegateRewards","claimRewards","unBond"],Ks=["wrapEgld","unwrapEgld"],Xs=["unStake"],Ys=["unDelegate"];n();n();n();S();n();var Qs=A(require("bignumber.js"));n();n();R();n();var tc=A(require("bignumber.js"));n();n();n();n();var nc=A(require("bignumber.js"));N();n();n();n();n();B();n();var ac=require("@multiversx/sdk-web-wallet-provider");S();n();var ic=A(require("qs"));n();we();ot();n();ot();var yx={search:Re()?window.location.search:"",removeParams:[]};n();n();n();ae();n();R();n();n();ae();n();var sc=A(require("linkifyjs"));n();S();n();var cc=A(require("bignumber.js"));n();N();n();n();B();n();B();n();n();n();R();n();R();n();var lc=A(require("bignumber.js"));S();R();n();R();n();var Ei=require("react");N();n();n();R();n();n();var pc=require("@multiversx/sdk-core/out"),uc=A(require("bignumber.js"));R();n();N();n();n();N();var pw=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}];n();var Li=require("react");N();ae();n();var mc=require("react");R();var hw=["create","localMint","ESDTLocalMint","addQuantity","burn","localBurn","ESDTLocalBurn","wipe","writeLog","signalError"];xr();n();var Et=e=>e.transactions,We=f(Et,e=>e.signedTransactions),cA=f(Et,e=>e.signTransactionsError),lA=f(Et,e=>e.signTransactionsCancelMessage),Lt=e=>t=>Object.entries(t).reduce((r,[o,i])=>(e(i.status)&&(r[o]=i),r),{}),pA=f(We,Lt(Po)),uA=f(We,Lt(mt)),dA=f(We,Lt(gt)),mA=f(We,Lt(No)),gA=f(Et,e=>{var t;return(e==null?void 0:e.transactionsToSign)==null?null:w(T({},e.transactionsToSign),{transactions:((t=e==null?void 0:e.transactionsToSign)==null?void 0:t.transactions.map(r=>Rr(r)))||[]})}),fA=f(We,(e,t)=>t,(e,t)=>t!=null?(e==null?void 0:e[t])||{}:{});n();var gc=A(require("axios"));n();var Tc=A(require("swr"));n();n();function Pi(){let e=te();return Ie(e)}n();B();n();function Ve(e){return Pi()===e}function Pt(){let e=L.getState(),t=te(),r=Oe(e),o=mi(e),i=gi(e);if(!t)throw"provider not initialized";return Ve("ledger")&&o?new Promise(l=>{l(r)}):!Ve("")&&!Ve("wallet")&&!Ve("extra")?t.getAddress():new Promise(l=>{let p=pi();i!=null&&p&&l(p),o&&l(r),l("")})}n();n();n();ae();var Ri=()=>{let{search:e}=O(),t=new URLSearchParams(e),r=Object.fromEntries(t);return r==null?void 0:r.accessToken};var Ni=()=>{var r;let e=Ri(),t=$(L.getState());return e!=null?e:(r=t.webviewLogin)==null?void 0:r.data};n();_();N();n();se();n();se();n();var Ci=require("@multiversx/sdk-core");N();we();ur();Ee();Se();we();var Di=({callbackUrl:e,onRedirect:t})=>{typeof t=="function"?t(e):e&&pr({url:e})},hc=e=>{let t=K.local.getItem(V.logoutEvent),{data:r}=t?JSON.parse(t):{data:e};e===r&&(K.local.setItem({key:V.logoutEvent,data:e,expires:0}),K.local.removeItem(V.logoutEvent))},xc=500;function Sc(i,l){return D(this,arguments,function*(e,t,r=Boolean(Ni()),o={shouldBroadcastLogoutAcrossTabs:!0,hasConsentPopup:!1}){var M;let p=yield Pt(),d=te(),m=Ie(d),y=m==="wallet",x=((M=d==null?void 0:d.isInitialized)==null?void 0:M.call(d))===!0;if(r&&(d==null?void 0:d.relogin)!=null)return d.relogin();p&&o.shouldBroadcastLogoutAcrossTabs&&hc(p);let h=lr(e),I=O(),k=new URL(decodeURIComponent(h)).pathname;if((ci(I.pathname,k)||y&&x)&&po(),!p&&!x)return Di({callbackUrl:h,onRedirect:t});try{if(L.dispatch(v()),y)return setTimeout(()=>{d.logout({callbackUrl:h})},xc);o.hasConsentPopup&&m==="crossWindow"&&d.setShouldShowConsentPopup(!0),yield d.logout({callbackUrl:h})}catch(me){console.error("Logging out error:",me)}finally{y||Di({callbackUrl:h,onRedirect:t})}})}0&&(module.exports={logout});
2
2
  /*!
3
3
  * The buffer module from node.js, for the browser.
4
4
  *
@@ -1,4 +1,4 @@
1
- "use strict";var He=Object.create;var G=Object.defineProperty,qe=Object.defineProperties,ze=Object.getOwnPropertyDescriptor,je=Object.getOwnPropertyDescriptors,Xe=Object.getOwnPropertyNames,ae=Object.getOwnPropertySymbols,Ke=Object.getPrototypeOf,le=Object.prototype.hasOwnProperty,Ye=Object.prototype.propertyIsEnumerable;var se=(t,e,r)=>e in t?G(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,I=(t,e)=>{for(var r in e||(e={}))le.call(e,r)&&se(t,r,e[r]);if(ae)for(var r of ae(e))Ye.call(e,r)&&se(t,r,e[r]);return t},ce=(t,e)=>qe(t,je(e));var $e=(t,e)=>()=>(t&&(e=t(t=0)),e);var W=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Je=(t,e)=>{for(var r in e)G(t,r,{get:e[r],enumerable:!0})},pe=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Xe(e))!le.call(t,i)&&i!==r&&G(t,i,{get:()=>e[i],enumerable:!(n=ze(e,i))||n.enumerable});return t};var ue=(t,e,r)=>(r=t!=null?He(Ke(t)):{},pe(e||!t||!t.__esModule?G(r,"default",{value:t,enumerable:!0}):r,t)),Ze=t=>pe(G({},"__esModule",{value:!0}),t);var fe=W(V=>{"use strict";l();V.byteLength=er;V.toByteArray=tr;V.fromByteArray=or;var k=[],v=[],Qe=typeof Uint8Array!="undefined"?Uint8Array:Array,j="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(F=0,de=j.length;F<de;++F)k[F]=j[F],v[j.charCodeAt(F)]=F;var F,de;v["-".charCodeAt(0)]=62;v["_".charCodeAt(0)]=63;function ge(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");r===-1&&(r=e);var n=r===e?0:4-r%4;return[r,n]}function er(t){var e=ge(t),r=e[0],n=e[1];return(r+n)*3/4-n}function rr(t,e,r){return(e+r)*3/4-r}function tr(t){var e,r=ge(t),n=r[0],i=r[1],o=new Qe(rr(t,n,i)),a=0,c=i>0?n-4:n,p;for(p=0;p<c;p+=4)e=v[t.charCodeAt(p)]<<18|v[t.charCodeAt(p+1)]<<12|v[t.charCodeAt(p+2)]<<6|v[t.charCodeAt(p+3)],o[a++]=e>>16&255,o[a++]=e>>8&255,o[a++]=e&255;return i===2&&(e=v[t.charCodeAt(p)]<<2|v[t.charCodeAt(p+1)]>>4,o[a++]=e&255),i===1&&(e=v[t.charCodeAt(p)]<<10|v[t.charCodeAt(p+1)]<<4|v[t.charCodeAt(p+2)]>>2,o[a++]=e>>8&255,o[a++]=e&255),o}function nr(t){return k[t>>18&63]+k[t>>12&63]+k[t>>6&63]+k[t&63]}function ir(t,e,r){for(var n,i=[],o=e;o<r;o+=3)n=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(t[o+2]&255),i.push(nr(n));return i.join("")}function or(t){for(var e,r=t.length,n=r%3,i=[],o=16383,a=0,c=r-n;a<c;a+=o)i.push(ir(t,a,a+o>c?c:a+o));return n===1?(e=t[r-1],i.push(k[e>>2]+k[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],i.push(k[e>>10]+k[e>>4&63]+k[e<<2&63]+"=")),i.join("")}});var me=W(X=>{l();X.read=function(t,e,r,n,i){var o,a,c=i*8-n-1,p=(1<<c)-1,d=p>>1,g=-7,u=r?i-1:0,T=r?-1:1,b=t[e+u];for(u+=T,o=b&(1<<-g)-1,b>>=-g,g+=c;g>0;o=o*256+t[e+u],u+=T,g-=8);for(a=o&(1<<-g)-1,o>>=-g,g+=n;g>0;a=a*256+t[e+u],u+=T,g-=8);if(o===0)o=1-d;else{if(o===p)return a?NaN:(b?-1:1)*(1/0);a=a+Math.pow(2,n),o=o-d}return(b?-1:1)*a*Math.pow(2,o-n)};X.write=function(t,e,r,n,i,o){var a,c,p,d=o*8-i-1,g=(1<<d)-1,u=g>>1,T=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,b=n?0:o-1,U=n?1:-1,Ve=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(c=isNaN(e)?1:0,a=g):(a=Math.floor(Math.log(e)/Math.LN2),e*(p=Math.pow(2,-a))<1&&(a--,p*=2),a+u>=1?e+=T/p:e+=T*Math.pow(2,1-u),e*p>=2&&(a++,p/=2),a+u>=g?(c=0,a=g):a+u>=1?(c=(e*p-1)*Math.pow(2,i),a=a+u):(c=e*Math.pow(2,u-1)*Math.pow(2,i),a=0));i>=8;t[r+b]=c&255,b+=U,c/=256,i-=8);for(a=a<<i|c,d+=i;d>0;t[r+b]=a&255,b+=U,a/=256,d-=8);t[r+b-U]|=Ve*128}});var Ie=W(O=>{"use strict";l();var K=fe(),D=me(),he=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;O.Buffer=s;O.SlowBuffer=ur;O.INSPECT_MAX_BYTES=50;var H=2147483647;O.kMaxLength=H;s.TYPED_ARRAY_SUPPORT=ar();!s.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function ar(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),t.foo()===42}catch(r){return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.buffer}});Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.byteOffset}});function L(t){if(t>H)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,s.prototype),e}function s(t,e,r){if(typeof t=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Z(t)}return we(t,e,r)}s.poolSize=8192;function we(t,e,r){if(typeof t=="string")return lr(t,e);if(ArrayBuffer.isView(t))return cr(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(_(t,ArrayBuffer)||t&&_(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(_(t,SharedArrayBuffer)||t&&_(t.buffer,SharedArrayBuffer)))return $(t,e,r);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return s.from(n,e,r);var i=pr(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.from(t[Symbol.toPrimitive]("string"),e,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}s.from=function(t,e,r){return we(t,e,r)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function be(t){if(typeof t!="number")throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function sr(t,e,r){return be(t),t<=0?L(t):e!==void 0?typeof r=="string"?L(t).fill(e,r):L(t).fill(e):L(t)}s.alloc=function(t,e,r){return sr(t,e,r)};function Z(t){return be(t),L(t<0?0:Q(t)|0)}s.allocUnsafe=function(t){return Z(t)};s.allocUnsafeSlow=function(t){return Z(t)};function lr(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!s.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=ve(t,e)|0,n=L(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}function Y(t){for(var e=t.length<0?0:Q(t.length)|0,r=L(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function cr(t){if(_(t,Uint8Array)){var e=new Uint8Array(t);return $(e.buffer,e.byteOffset,e.byteLength)}return Y(t)}function $(t,e,r){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return e===void 0&&r===void 0?n=new Uint8Array(t):r===void 0?n=new Uint8Array(t,e):n=new Uint8Array(t,e,r),Object.setPrototypeOf(n,s.prototype),n}function pr(t){if(s.isBuffer(t)){var e=Q(t.length)|0,r=L(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||ee(t.length)?L(0):Y(t);if(t.type==="Buffer"&&Array.isArray(t.data))return Y(t.data)}function Q(t){if(t>=H)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+H.toString(16)+" bytes");return t|0}function ur(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==s.prototype};s.compare=function(e,r){if(_(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),_(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(e)||!s.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===r)return 0;for(var n=e.length,i=r.length,o=0,a=Math.min(n,i);o<a;++o)if(e[o]!==r[o]){n=e[o],i=r[o];break}return n<i?-1:i<n?1:0};s.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};s.concat=function(e,r){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return s.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<e.length;++n)r+=e[n].length;var i=s.allocUnsafe(r),o=0;for(n=0;n<e.length;++n){var a=e[n];if(_(a,Uint8Array))o+a.length>i.length?s.from(a).copy(i,o):Uint8Array.prototype.set.call(i,a,o);else if(s.isBuffer(a))a.copy(i,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=a.length}return i};function ve(t,e){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||_(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var r=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&r===0)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return J(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Se(t).length;default:if(i)return n?-1:J(t).length;e=(""+e).toLowerCase(),i=!0}}s.byteLength=ve;function dr(t,e,r){var n=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,e>>>=0,r<=e))return"";for(t||(t="utf8");;)switch(t){case"hex":return Tr(this,e,r);case"utf8":case"utf-8":return ke(this,e,r);case"ascii":return br(this,e,r);case"latin1":case"binary":return vr(this,e,r);case"base64":return xr(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return kr(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function C(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}s.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<e;r+=2)C(this,r,r+1);return this};s.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<e;r+=4)C(this,r,r+3),C(this,r+1,r+2);return this};s.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<e;r+=8)C(this,r,r+7),C(this,r+1,r+6),C(this,r+2,r+5),C(this,r+3,r+4);return this};s.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?ke(this,0,e):dr.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(e){if(!s.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:s.compare(this,e)===0};s.prototype.inspect=function(){var e="",r=O.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};he&&(s.prototype[he]=s.prototype.inspect);s.prototype.compare=function(e,r,n,i,o){if(_(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(r===void 0&&(r=0),n===void 0&&(n=e?e.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),r<0||n>e.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&r>=n)return 0;if(i>=o)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,i>>>=0,o>>>=0,this===e)return 0;for(var a=o-i,c=n-r,p=Math.min(a,c),d=this.slice(i,o),g=e.slice(r,n),u=0;u<p;++u)if(d[u]!==g[u]){a=d[u],c=g[u];break}return a<c?-1:c<a?1:0};function Te(t,e,r,n,i){if(t.length===0)return-1;if(typeof r=="string"?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,ee(r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof e=="string"&&(e=s.from(e,n)),s.isBuffer(e))return e.length===0?-1:ye(t,e,r,n,i);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):ye(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function ye(t,e,r,n,i){var o=1,a=t.length,c=e.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||e.length<2)return-1;o=2,a/=2,c/=2,r/=2}function p(b,U){return o===1?b[U]:b.readUInt16BE(U*o)}var d;if(i){var g=-1;for(d=r;d<a;d++)if(p(t,d)===p(e,g===-1?0:d-g)){if(g===-1&&(g=d),d-g+1===c)return g*o}else g!==-1&&(d-=d-g),g=-1}else for(r+c>a&&(r=a-c),d=r;d>=0;d--){for(var u=!0,T=0;T<c;T++)if(p(t,d+T)!==p(e,T)){u=!1;break}if(u)return d}return-1}s.prototype.includes=function(e,r,n){return this.indexOf(e,r,n)!==-1};s.prototype.indexOf=function(e,r,n){return Te(this,e,r,n,!0)};s.prototype.lastIndexOf=function(e,r,n){return Te(this,e,r,n,!1)};function gr(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var o=e.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var c=parseInt(e.substr(a*2,2),16);if(ee(c))return a;t[r+a]=c}return a}function fr(t,e,r,n){return q(J(e,t.length-r),t,r,n)}function mr(t,e,r,n){return q(Rr(e),t,r,n)}function hr(t,e,r,n){return q(Se(e),t,r,n)}function yr(t,e,r,n){return q(Sr(e,t.length-r),t,r,n)}s.prototype.write=function(e,r,n,i){if(r===void 0)i="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")i=r,n=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-r;if((n===void 0||n>o)&&(n=o),e.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var a=!1;;)switch(i){case"hex":return gr(this,e,r,n);case"utf8":case"utf-8":return fr(this,e,r,n);case"ascii":case"latin1":case"binary":return mr(this,e,r,n);case"base64":return hr(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return yr(this,e,r,n);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0}};s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function xr(t,e,r){return e===0&&r===t.length?K.fromByteArray(t):K.fromByteArray(t.slice(e,r))}function ke(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var o=t[i],a=null,c=o>239?4:o>223?3:o>191?2:1;if(i+c<=r){var p,d,g,u;switch(c){case 1:o<128&&(a=o);break;case 2:p=t[i+1],(p&192)===128&&(u=(o&31)<<6|p&63,u>127&&(a=u));break;case 3:p=t[i+1],d=t[i+2],(p&192)===128&&(d&192)===128&&(u=(o&15)<<12|(p&63)<<6|d&63,u>2047&&(u<55296||u>57343)&&(a=u));break;case 4:p=t[i+1],d=t[i+2],g=t[i+3],(p&192)===128&&(d&192)===128&&(g&192)===128&&(u=(o&15)<<18|(p&63)<<12|(d&63)<<6|g&63,u>65535&&u<1114112&&(a=u))}}a===null?(a=65533,c=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),i+=c}return wr(n)}var xe=4096;function wr(t){var e=t.length;if(e<=xe)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=xe));return r}function br(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]&127);return n}function vr(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}function Tr(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=e;o<r;++o)i+=Ir[t[o]];return i}function kr(t,e,r){for(var n=t.slice(e,r),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}s.prototype.slice=function(e,r){var n=this.length;e=~~e,r=r===void 0?n:~~r,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<e&&(r=e);var i=this.subarray(e,r);return Object.setPrototypeOf(i,s.prototype),i};function x(t,e,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e+--r],o=1;r>0&&(o*=256);)i+=this[e+--r]*o;return i};s.prototype.readUint8=s.prototype.readUInt8=function(e,r){return e=e>>>0,r||x(e,1,this.length),this[e]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||x(e,2,this.length),this[e]|this[e+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||x(e,2,this.length),this[e]<<8|this[e+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||x(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};s.prototype.readIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*r)),i};s.prototype.readIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=r,o=1,a=this[e+--i];i>0&&(o*=256);)a+=this[e+--i]*o;return o*=128,a>=o&&(a-=Math.pow(2,8*r)),a};s.prototype.readInt8=function(e,r){return e=e>>>0,r||x(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};s.prototype.readInt16LE=function(e,r){e=e>>>0,r||x(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(e,r){e=e>>>0,r||x(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};s.prototype.readInt32BE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};s.prototype.readFloatLE=function(e,r){return e=e>>>0,r||x(e,4,this.length),D.read(this,e,!0,23,4)};s.prototype.readFloatBE=function(e,r){return e=e>>>0,r||x(e,4,this.length),D.read(this,e,!1,23,4)};s.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||x(e,8,this.length),D.read(this,e,!0,52,8)};s.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||x(e,8,this.length),D.read(this,e,!1,52,8)};function w(t,e,r,n,i,o){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;w(this,e,r,n,o,0)}var a=1,c=0;for(this[r]=e&255;++c<n&&(a*=256);)this[r+c]=e/a&255;return r+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;w(this,e,r,n,o,0)}var a=n-1,c=1;for(this[r+a]=e&255;--a>=0&&(c*=256);)this[r+a]=e/c&255;return r+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,1,255,0),this[r]=e&255,r+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,65535,0),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,65535,0),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,4294967295,0),this[r+3]=e>>>24,this[r+2]=e>>>16,this[r+1]=e>>>8,this[r]=e&255,r+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,4294967295,0),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};s.prototype.writeIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);w(this,e,r,n,o-1,-o)}var a=0,c=1,p=0;for(this[r]=e&255;++a<n&&(c*=256);)e<0&&p===0&&this[r+a-1]!==0&&(p=1),this[r+a]=(e/c>>0)-p&255;return r+n};s.prototype.writeIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);w(this,e,r,n,o-1,-o)}var a=n-1,c=1,p=0;for(this[r+a]=e&255;--a>=0&&(c*=256);)e<0&&p===0&&this[r+a+1]!==0&&(p=1),this[r+a]=(e/c>>0)-p&255;return r+n};s.prototype.writeInt8=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,1,127,-128),e<0&&(e=255+e+1),this[r]=e&255,r+1};s.prototype.writeInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,32767,-32768),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,32767,-32768),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,2147483647,-2147483648),this[r]=e&255,this[r+1]=e>>>8,this[r+2]=e>>>16,this[r+3]=e>>>24,r+4};s.prototype.writeInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};function _e(t,e,r,n,i,o){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function Ae(t,e,r,n,i){return e=+e,r=r>>>0,i||_e(t,e,r,4,34028234663852886e22,-34028234663852886e22),D.write(t,e,r,n,23,4),r+4}s.prototype.writeFloatLE=function(e,r,n){return Ae(this,e,r,!0,n)};s.prototype.writeFloatBE=function(e,r,n){return Ae(this,e,r,!1,n)};function Re(t,e,r,n,i){return e=+e,r=r>>>0,i||_e(t,e,r,8,17976931348623157e292,-17976931348623157e292),D.write(t,e,r,n,52,8),r+8}s.prototype.writeDoubleLE=function(e,r,n){return Re(this,e,r,!0,n)};s.prototype.writeDoubleBE=function(e,r,n){return Re(this,e,r,!1,n)};s.prototype.copy=function(e,r,n,i){if(!s.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),r>=e.length&&(r=e.length),r||(r=0),i>0&&i<n&&(i=n),i===n||e.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-r<i-n&&(i=e.length-r+n);var o=i-n;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,n,i):Uint8Array.prototype.set.call(e,this.subarray(n,i),r),o};s.prototype.fill=function(e,r,n,i){if(typeof e=="string"){if(typeof r=="string"?(i=r,r=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(e.length===1){var o=e.charCodeAt(0);(i==="utf8"&&o<128||i==="latin1")&&(e=o)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;r=r>>>0,n=n===void 0?this.length:n>>>0,e||(e=0);var a;if(typeof e=="number")for(a=r;a<n;++a)this[a]=e;else{var c=s.isBuffer(e)?e:s.from(e,i),p=c.length;if(p===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(a=0;a<n-r;++a)this[a+r]=c[a%p]}return this};var _r=/[^+/0-9A-Za-z-_]/g;function Ar(t){if(t=t.split("=")[0],t=t.trim().replace(_r,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function J(t,e){e=e||1/0;for(var r,n=t.length,i=null,o=[],a=0;a<n;++a){if(r=t.charCodeAt(a),r>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&o.push(239,191,189);continue}else if(a+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&o.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,r&63|128)}else if(r<65536){if((e-=3)<0)break;o.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return o}function Rr(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function Sr(t,e){for(var r,n,i,o=[],a=0;a<t.length&&!((e-=2)<0);++a)r=t.charCodeAt(a),n=r>>8,i=r%256,o.push(i),o.push(n);return o}function Se(t){return K.toByteArray(Ar(t))}function q(t,e,r,n){for(var i=0;i<n&&!(i+r>=e.length||i>=t.length);++i)e[i+r]=t[i];return i}function _(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function ee(t){return t!==t}var Ir=function(){for(var t="0123456789abcdef",e=new Array(256),r=0;r<16;++r)for(var n=r*16,i=0;i<16;++i)e[n+i]=t[r]+t[i];return e}()});var Ce=W((Gr,Fe)=>{l();var y=Fe.exports={},A,R;function re(){throw new Error("setTimeout has not been defined")}function te(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?A=setTimeout:A=re}catch(t){A=re}try{typeof clearTimeout=="function"?R=clearTimeout:R=te}catch(t){R=te}})();function Le(t){if(A===setTimeout)return setTimeout(t,0);if((A===re||!A)&&setTimeout)return A=setTimeout,setTimeout(t,0);try{return A(t,0)}catch(e){try{return A.call(null,t,0)}catch(r){return A.call(this,t,0)}}}function Lr(t){if(R===clearTimeout)return clearTimeout(t);if((R===te||!R)&&clearTimeout)return R=clearTimeout,clearTimeout(t);try{return R(t)}catch(e){try{return R.call(null,t)}catch(r){return R.call(this,t)}}}var E=[],P=!1,B,z=-1;function Er(){!P||!B||(P=!1,B.length?E=B.concat(E):z=-1,E.length&&Ee())}function Ee(){if(!P){var t=Le(Er);P=!0;for(var e=E.length;e;){for(B=E,E=[];++z<e;)B&&B[z].run();z=-1,e=E.length}B=null,P=!1,Lr(t)}}y.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];E.push(new Ne(t,e)),E.length===1&&!P&&Le(Ee)};function Ne(t,e){this.fun=t,this.array=e}Ne.prototype.run=function(){this.fun.apply(null,this.array)};y.title="browser";y.browser=!0;y.env={};y.argv=[];y.version="";y.versions={};function N(){}y.on=N;y.addListener=N;y.once=N;y.off=N;y.removeListener=N;y.removeAllListeners=N;y.emit=N;y.prependListener=N;y.prependOnceListener=N;y.listeners=function(t){return[]};y.binding=function(t){throw new Error("process.binding is not supported")};y.cwd=function(){return"/"};y.chdir=function(t){throw new Error("process.chdir is not supported")};y.umask=function(){return 0}});var f,m,Wr,l=$e(()=>{f=ue(Ie()),m=ue(Ce()),Wr=function(t){function e(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return e();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:e});var r=__magic__;return r}(Object)});var Ur={};Je(Ur,{builtCallbackUrl:()=>Br});module.exports=Ze(Ur);l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();var Nr=require("@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider"),M=require("@multiversx/sdk-web-wallet-cross-window-provider/out/enums");var Be=(r=>(r.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",r.reloginRequest="RELOGIN_REQUEST",r))(Be||{}),Qr=I(I({},M.WindowProviderRequestEnums),Be),Ue=(e=>(e.reloginResponse="RELOGIN_RESPONSE",e))(Ue||{}),et=I(I({},M.WindowProviderResponseEnums),Ue);l();l();l();l();l();l();var ne={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",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",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",explorerAddress:"https://explorer.multiversx.com",metamaskSnapWalletAddress:"https://iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3}},{chainId:De,egldLabel:yt}=ne["devnet"],{chainId:Oe,egldLabel:xt}=ne["testnet"],{chainId:Pe,egldLabel:wt}=ne["mainnet"];var bt={["devnet"]:De,["testnet"]:Oe,["mainnet"]:Pe},vt={[De]:"devnet",[Oe]:"testnet",[Pe]:"mainnet"};l();l();var S=require("@multiversx/sdk-web-wallet-provider");l();l();var ie=require("@multiversx/sdk-dapp-utils/out/constants/browserConstants");var Me,Ge,oe=String((Ge=(Me=ie.safeWindow)==null?void 0:Me.navigator)==null?void 0:Ge.userAgent),St=/^((?!chrome|android).)*safari/i.test(oe),It=/firefox/i.test(oe)&&/windows/i.test(oe);var We="sdk-dapp-version";function Fr(t,e){let r=new URLSearchParams(t),n=Object.fromEntries(r);return{nextUrlParams:new URLSearchParams(I(I({},n),e)).toString(),params:n}}var Cr="3.1.2";function Br({callbackUrl:t,urlParams:e={}}){let r=t;if(Object.entries(e).length>0)try{let{search:n,origin:i,pathname:o,hash:a}=new URL(t),c=ce(I({},e),{[We]:Cr}),{nextUrlParams:p}=Fr(n,c);r=`${i}${o}?${p}${a}`}catch(n){return console.error("Unable to construct URL from: ",t,n),r}return r}0&&(module.exports={builtCallbackUrl});
1
+ "use strict";var He=Object.create;var G=Object.defineProperty,qe=Object.defineProperties,ze=Object.getOwnPropertyDescriptor,je=Object.getOwnPropertyDescriptors,Xe=Object.getOwnPropertyNames,ae=Object.getOwnPropertySymbols,Ke=Object.getPrototypeOf,le=Object.prototype.hasOwnProperty,Ye=Object.prototype.propertyIsEnumerable;var se=(t,e,r)=>e in t?G(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,I=(t,e)=>{for(var r in e||(e={}))le.call(e,r)&&se(t,r,e[r]);if(ae)for(var r of ae(e))Ye.call(e,r)&&se(t,r,e[r]);return t},ce=(t,e)=>qe(t,je(e));var $e=(t,e)=>()=>(t&&(e=t(t=0)),e);var W=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Je=(t,e)=>{for(var r in e)G(t,r,{get:e[r],enumerable:!0})},pe=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Xe(e))!le.call(t,i)&&i!==r&&G(t,i,{get:()=>e[i],enumerable:!(n=ze(e,i))||n.enumerable});return t};var ue=(t,e,r)=>(r=t!=null?He(Ke(t)):{},pe(e||!t||!t.__esModule?G(r,"default",{value:t,enumerable:!0}):r,t)),Ze=t=>pe(G({},"__esModule",{value:!0}),t);var fe=W(V=>{"use strict";l();V.byteLength=er;V.toByteArray=tr;V.fromByteArray=or;var k=[],v=[],Qe=typeof Uint8Array!="undefined"?Uint8Array:Array,j="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(F=0,de=j.length;F<de;++F)k[F]=j[F],v[j.charCodeAt(F)]=F;var F,de;v["-".charCodeAt(0)]=62;v["_".charCodeAt(0)]=63;function ge(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");r===-1&&(r=e);var n=r===e?0:4-r%4;return[r,n]}function er(t){var e=ge(t),r=e[0],n=e[1];return(r+n)*3/4-n}function rr(t,e,r){return(e+r)*3/4-r}function tr(t){var e,r=ge(t),n=r[0],i=r[1],o=new Qe(rr(t,n,i)),a=0,c=i>0?n-4:n,p;for(p=0;p<c;p+=4)e=v[t.charCodeAt(p)]<<18|v[t.charCodeAt(p+1)]<<12|v[t.charCodeAt(p+2)]<<6|v[t.charCodeAt(p+3)],o[a++]=e>>16&255,o[a++]=e>>8&255,o[a++]=e&255;return i===2&&(e=v[t.charCodeAt(p)]<<2|v[t.charCodeAt(p+1)]>>4,o[a++]=e&255),i===1&&(e=v[t.charCodeAt(p)]<<10|v[t.charCodeAt(p+1)]<<4|v[t.charCodeAt(p+2)]>>2,o[a++]=e>>8&255,o[a++]=e&255),o}function nr(t){return k[t>>18&63]+k[t>>12&63]+k[t>>6&63]+k[t&63]}function ir(t,e,r){for(var n,i=[],o=e;o<r;o+=3)n=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(t[o+2]&255),i.push(nr(n));return i.join("")}function or(t){for(var e,r=t.length,n=r%3,i=[],o=16383,a=0,c=r-n;a<c;a+=o)i.push(ir(t,a,a+o>c?c:a+o));return n===1?(e=t[r-1],i.push(k[e>>2]+k[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],i.push(k[e>>10]+k[e>>4&63]+k[e<<2&63]+"=")),i.join("")}});var me=W(X=>{l();X.read=function(t,e,r,n,i){var o,a,c=i*8-n-1,p=(1<<c)-1,d=p>>1,g=-7,u=r?i-1:0,T=r?-1:1,b=t[e+u];for(u+=T,o=b&(1<<-g)-1,b>>=-g,g+=c;g>0;o=o*256+t[e+u],u+=T,g-=8);for(a=o&(1<<-g)-1,o>>=-g,g+=n;g>0;a=a*256+t[e+u],u+=T,g-=8);if(o===0)o=1-d;else{if(o===p)return a?NaN:(b?-1:1)*(1/0);a=a+Math.pow(2,n),o=o-d}return(b?-1:1)*a*Math.pow(2,o-n)};X.write=function(t,e,r,n,i,o){var a,c,p,d=o*8-i-1,g=(1<<d)-1,u=g>>1,T=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,b=n?0:o-1,U=n?1:-1,Ve=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(c=isNaN(e)?1:0,a=g):(a=Math.floor(Math.log(e)/Math.LN2),e*(p=Math.pow(2,-a))<1&&(a--,p*=2),a+u>=1?e+=T/p:e+=T*Math.pow(2,1-u),e*p>=2&&(a++,p/=2),a+u>=g?(c=0,a=g):a+u>=1?(c=(e*p-1)*Math.pow(2,i),a=a+u):(c=e*Math.pow(2,u-1)*Math.pow(2,i),a=0));i>=8;t[r+b]=c&255,b+=U,c/=256,i-=8);for(a=a<<i|c,d+=i;d>0;t[r+b]=a&255,b+=U,a/=256,d-=8);t[r+b-U]|=Ve*128}});var Ie=W(O=>{"use strict";l();var K=fe(),D=me(),he=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;O.Buffer=s;O.SlowBuffer=ur;O.INSPECT_MAX_BYTES=50;var H=2147483647;O.kMaxLength=H;s.TYPED_ARRAY_SUPPORT=ar();!s.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function ar(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),t.foo()===42}catch(r){return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.buffer}});Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.byteOffset}});function L(t){if(t>H)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,s.prototype),e}function s(t,e,r){if(typeof t=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Z(t)}return we(t,e,r)}s.poolSize=8192;function we(t,e,r){if(typeof t=="string")return lr(t,e);if(ArrayBuffer.isView(t))return cr(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(_(t,ArrayBuffer)||t&&_(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(_(t,SharedArrayBuffer)||t&&_(t.buffer,SharedArrayBuffer)))return $(t,e,r);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return s.from(n,e,r);var i=pr(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.from(t[Symbol.toPrimitive]("string"),e,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}s.from=function(t,e,r){return we(t,e,r)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function be(t){if(typeof t!="number")throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function sr(t,e,r){return be(t),t<=0?L(t):e!==void 0?typeof r=="string"?L(t).fill(e,r):L(t).fill(e):L(t)}s.alloc=function(t,e,r){return sr(t,e,r)};function Z(t){return be(t),L(t<0?0:Q(t)|0)}s.allocUnsafe=function(t){return Z(t)};s.allocUnsafeSlow=function(t){return Z(t)};function lr(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!s.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=ve(t,e)|0,n=L(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}function Y(t){for(var e=t.length<0?0:Q(t.length)|0,r=L(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function cr(t){if(_(t,Uint8Array)){var e=new Uint8Array(t);return $(e.buffer,e.byteOffset,e.byteLength)}return Y(t)}function $(t,e,r){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return e===void 0&&r===void 0?n=new Uint8Array(t):r===void 0?n=new Uint8Array(t,e):n=new Uint8Array(t,e,r),Object.setPrototypeOf(n,s.prototype),n}function pr(t){if(s.isBuffer(t)){var e=Q(t.length)|0,r=L(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||ee(t.length)?L(0):Y(t);if(t.type==="Buffer"&&Array.isArray(t.data))return Y(t.data)}function Q(t){if(t>=H)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+H.toString(16)+" bytes");return t|0}function ur(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==s.prototype};s.compare=function(e,r){if(_(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),_(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(e)||!s.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===r)return 0;for(var n=e.length,i=r.length,o=0,a=Math.min(n,i);o<a;++o)if(e[o]!==r[o]){n=e[o],i=r[o];break}return n<i?-1:i<n?1:0};s.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};s.concat=function(e,r){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return s.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<e.length;++n)r+=e[n].length;var i=s.allocUnsafe(r),o=0;for(n=0;n<e.length;++n){var a=e[n];if(_(a,Uint8Array))o+a.length>i.length?s.from(a).copy(i,o):Uint8Array.prototype.set.call(i,a,o);else if(s.isBuffer(a))a.copy(i,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=a.length}return i};function ve(t,e){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||_(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var r=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&r===0)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return J(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Se(t).length;default:if(i)return n?-1:J(t).length;e=(""+e).toLowerCase(),i=!0}}s.byteLength=ve;function dr(t,e,r){var n=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,e>>>=0,r<=e))return"";for(t||(t="utf8");;)switch(t){case"hex":return Tr(this,e,r);case"utf8":case"utf-8":return ke(this,e,r);case"ascii":return br(this,e,r);case"latin1":case"binary":return vr(this,e,r);case"base64":return xr(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return kr(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function C(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}s.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<e;r+=2)C(this,r,r+1);return this};s.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<e;r+=4)C(this,r,r+3),C(this,r+1,r+2);return this};s.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<e;r+=8)C(this,r,r+7),C(this,r+1,r+6),C(this,r+2,r+5),C(this,r+3,r+4);return this};s.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?ke(this,0,e):dr.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(e){if(!s.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:s.compare(this,e)===0};s.prototype.inspect=function(){var e="",r=O.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};he&&(s.prototype[he]=s.prototype.inspect);s.prototype.compare=function(e,r,n,i,o){if(_(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(r===void 0&&(r=0),n===void 0&&(n=e?e.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),r<0||n>e.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&r>=n)return 0;if(i>=o)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,i>>>=0,o>>>=0,this===e)return 0;for(var a=o-i,c=n-r,p=Math.min(a,c),d=this.slice(i,o),g=e.slice(r,n),u=0;u<p;++u)if(d[u]!==g[u]){a=d[u],c=g[u];break}return a<c?-1:c<a?1:0};function Te(t,e,r,n,i){if(t.length===0)return-1;if(typeof r=="string"?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,ee(r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof e=="string"&&(e=s.from(e,n)),s.isBuffer(e))return e.length===0?-1:ye(t,e,r,n,i);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):ye(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function ye(t,e,r,n,i){var o=1,a=t.length,c=e.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||e.length<2)return-1;o=2,a/=2,c/=2,r/=2}function p(b,U){return o===1?b[U]:b.readUInt16BE(U*o)}var d;if(i){var g=-1;for(d=r;d<a;d++)if(p(t,d)===p(e,g===-1?0:d-g)){if(g===-1&&(g=d),d-g+1===c)return g*o}else g!==-1&&(d-=d-g),g=-1}else for(r+c>a&&(r=a-c),d=r;d>=0;d--){for(var u=!0,T=0;T<c;T++)if(p(t,d+T)!==p(e,T)){u=!1;break}if(u)return d}return-1}s.prototype.includes=function(e,r,n){return this.indexOf(e,r,n)!==-1};s.prototype.indexOf=function(e,r,n){return Te(this,e,r,n,!0)};s.prototype.lastIndexOf=function(e,r,n){return Te(this,e,r,n,!1)};function gr(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var o=e.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var c=parseInt(e.substr(a*2,2),16);if(ee(c))return a;t[r+a]=c}return a}function fr(t,e,r,n){return q(J(e,t.length-r),t,r,n)}function mr(t,e,r,n){return q(Rr(e),t,r,n)}function hr(t,e,r,n){return q(Se(e),t,r,n)}function yr(t,e,r,n){return q(Sr(e,t.length-r),t,r,n)}s.prototype.write=function(e,r,n,i){if(r===void 0)i="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")i=r,n=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-r;if((n===void 0||n>o)&&(n=o),e.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var a=!1;;)switch(i){case"hex":return gr(this,e,r,n);case"utf8":case"utf-8":return fr(this,e,r,n);case"ascii":case"latin1":case"binary":return mr(this,e,r,n);case"base64":return hr(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return yr(this,e,r,n);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0}};s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function xr(t,e,r){return e===0&&r===t.length?K.fromByteArray(t):K.fromByteArray(t.slice(e,r))}function ke(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var o=t[i],a=null,c=o>239?4:o>223?3:o>191?2:1;if(i+c<=r){var p,d,g,u;switch(c){case 1:o<128&&(a=o);break;case 2:p=t[i+1],(p&192)===128&&(u=(o&31)<<6|p&63,u>127&&(a=u));break;case 3:p=t[i+1],d=t[i+2],(p&192)===128&&(d&192)===128&&(u=(o&15)<<12|(p&63)<<6|d&63,u>2047&&(u<55296||u>57343)&&(a=u));break;case 4:p=t[i+1],d=t[i+2],g=t[i+3],(p&192)===128&&(d&192)===128&&(g&192)===128&&(u=(o&15)<<18|(p&63)<<12|(d&63)<<6|g&63,u>65535&&u<1114112&&(a=u))}}a===null?(a=65533,c=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),i+=c}return wr(n)}var xe=4096;function wr(t){var e=t.length;if(e<=xe)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=xe));return r}function br(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]&127);return n}function vr(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}function Tr(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=e;o<r;++o)i+=Ir[t[o]];return i}function kr(t,e,r){for(var n=t.slice(e,r),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}s.prototype.slice=function(e,r){var n=this.length;e=~~e,r=r===void 0?n:~~r,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<e&&(r=e);var i=this.subarray(e,r);return Object.setPrototypeOf(i,s.prototype),i};function x(t,e,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e+--r],o=1;r>0&&(o*=256);)i+=this[e+--r]*o;return i};s.prototype.readUint8=s.prototype.readUInt8=function(e,r){return e=e>>>0,r||x(e,1,this.length),this[e]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||x(e,2,this.length),this[e]|this[e+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||x(e,2,this.length),this[e]<<8|this[e+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||x(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};s.prototype.readIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e],o=1,a=0;++a<r&&(o*=256);)i+=this[e+a]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*r)),i};s.prototype.readIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=r,o=1,a=this[e+--i];i>0&&(o*=256);)a+=this[e+--i]*o;return o*=128,a>=o&&(a-=Math.pow(2,8*r)),a};s.prototype.readInt8=function(e,r){return e=e>>>0,r||x(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};s.prototype.readInt16LE=function(e,r){e=e>>>0,r||x(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(e,r){e=e>>>0,r||x(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};s.prototype.readInt32BE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};s.prototype.readFloatLE=function(e,r){return e=e>>>0,r||x(e,4,this.length),D.read(this,e,!0,23,4)};s.prototype.readFloatBE=function(e,r){return e=e>>>0,r||x(e,4,this.length),D.read(this,e,!1,23,4)};s.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||x(e,8,this.length),D.read(this,e,!0,52,8)};s.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||x(e,8,this.length),D.read(this,e,!1,52,8)};function w(t,e,r,n,i,o){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;w(this,e,r,n,o,0)}var a=1,c=0;for(this[r]=e&255;++c<n&&(a*=256);)this[r+c]=e/a&255;return r+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;w(this,e,r,n,o,0)}var a=n-1,c=1;for(this[r+a]=e&255;--a>=0&&(c*=256);)this[r+a]=e/c&255;return r+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,1,255,0),this[r]=e&255,r+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,65535,0),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,65535,0),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,4294967295,0),this[r+3]=e>>>24,this[r+2]=e>>>16,this[r+1]=e>>>8,this[r]=e&255,r+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,4294967295,0),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};s.prototype.writeIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);w(this,e,r,n,o-1,-o)}var a=0,c=1,p=0;for(this[r]=e&255;++a<n&&(c*=256);)e<0&&p===0&&this[r+a-1]!==0&&(p=1),this[r+a]=(e/c>>0)-p&255;return r+n};s.prototype.writeIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var o=Math.pow(2,8*n-1);w(this,e,r,n,o-1,-o)}var a=n-1,c=1,p=0;for(this[r+a]=e&255;--a>=0&&(c*=256);)e<0&&p===0&&this[r+a+1]!==0&&(p=1),this[r+a]=(e/c>>0)-p&255;return r+n};s.prototype.writeInt8=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,1,127,-128),e<0&&(e=255+e+1),this[r]=e&255,r+1};s.prototype.writeInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,32767,-32768),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,32767,-32768),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,2147483647,-2147483648),this[r]=e&255,this[r+1]=e>>>8,this[r+2]=e>>>16,this[r+3]=e>>>24,r+4};s.prototype.writeInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};function _e(t,e,r,n,i,o){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function Ae(t,e,r,n,i){return e=+e,r=r>>>0,i||_e(t,e,r,4,34028234663852886e22,-34028234663852886e22),D.write(t,e,r,n,23,4),r+4}s.prototype.writeFloatLE=function(e,r,n){return Ae(this,e,r,!0,n)};s.prototype.writeFloatBE=function(e,r,n){return Ae(this,e,r,!1,n)};function Re(t,e,r,n,i){return e=+e,r=r>>>0,i||_e(t,e,r,8,17976931348623157e292,-17976931348623157e292),D.write(t,e,r,n,52,8),r+8}s.prototype.writeDoubleLE=function(e,r,n){return Re(this,e,r,!0,n)};s.prototype.writeDoubleBE=function(e,r,n){return Re(this,e,r,!1,n)};s.prototype.copy=function(e,r,n,i){if(!s.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),r>=e.length&&(r=e.length),r||(r=0),i>0&&i<n&&(i=n),i===n||e.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-r<i-n&&(i=e.length-r+n);var o=i-n;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,n,i):Uint8Array.prototype.set.call(e,this.subarray(n,i),r),o};s.prototype.fill=function(e,r,n,i){if(typeof e=="string"){if(typeof r=="string"?(i=r,r=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(e.length===1){var o=e.charCodeAt(0);(i==="utf8"&&o<128||i==="latin1")&&(e=o)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;r=r>>>0,n=n===void 0?this.length:n>>>0,e||(e=0);var a;if(typeof e=="number")for(a=r;a<n;++a)this[a]=e;else{var c=s.isBuffer(e)?e:s.from(e,i),p=c.length;if(p===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(a=0;a<n-r;++a)this[a+r]=c[a%p]}return this};var _r=/[^+/0-9A-Za-z-_]/g;function Ar(t){if(t=t.split("=")[0],t=t.trim().replace(_r,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function J(t,e){e=e||1/0;for(var r,n=t.length,i=null,o=[],a=0;a<n;++a){if(r=t.charCodeAt(a),r>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&o.push(239,191,189);continue}else if(a+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&o.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,r&63|128)}else if(r<65536){if((e-=3)<0)break;o.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return o}function Rr(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function Sr(t,e){for(var r,n,i,o=[],a=0;a<t.length&&!((e-=2)<0);++a)r=t.charCodeAt(a),n=r>>8,i=r%256,o.push(i),o.push(n);return o}function Se(t){return K.toByteArray(Ar(t))}function q(t,e,r,n){for(var i=0;i<n&&!(i+r>=e.length||i>=t.length);++i)e[i+r]=t[i];return i}function _(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function ee(t){return t!==t}var Ir=function(){for(var t="0123456789abcdef",e=new Array(256),r=0;r<16;++r)for(var n=r*16,i=0;i<16;++i)e[n+i]=t[r]+t[i];return e}()});var Ce=W((Gr,Fe)=>{l();var y=Fe.exports={},A,R;function re(){throw new Error("setTimeout has not been defined")}function te(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?A=setTimeout:A=re}catch(t){A=re}try{typeof clearTimeout=="function"?R=clearTimeout:R=te}catch(t){R=te}})();function Le(t){if(A===setTimeout)return setTimeout(t,0);if((A===re||!A)&&setTimeout)return A=setTimeout,setTimeout(t,0);try{return A(t,0)}catch(e){try{return A.call(null,t,0)}catch(r){return A.call(this,t,0)}}}function Lr(t){if(R===clearTimeout)return clearTimeout(t);if((R===te||!R)&&clearTimeout)return R=clearTimeout,clearTimeout(t);try{return R(t)}catch(e){try{return R.call(null,t)}catch(r){return R.call(this,t)}}}var E=[],P=!1,B,z=-1;function Er(){!P||!B||(P=!1,B.length?E=B.concat(E):z=-1,E.length&&Ee())}function Ee(){if(!P){var t=Le(Er);P=!0;for(var e=E.length;e;){for(B=E,E=[];++z<e;)B&&B[z].run();z=-1,e=E.length}B=null,P=!1,Lr(t)}}y.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];E.push(new Ne(t,e)),E.length===1&&!P&&Le(Ee)};function Ne(t,e){this.fun=t,this.array=e}Ne.prototype.run=function(){this.fun.apply(null,this.array)};y.title="browser";y.browser=!0;y.env={};y.argv=[];y.version="";y.versions={};function N(){}y.on=N;y.addListener=N;y.once=N;y.off=N;y.removeListener=N;y.removeAllListeners=N;y.emit=N;y.prependListener=N;y.prependOnceListener=N;y.listeners=function(t){return[]};y.binding=function(t){throw new Error("process.binding is not supported")};y.cwd=function(){return"/"};y.chdir=function(t){throw new Error("process.chdir is not supported")};y.umask=function(){return 0}});var f,m,Wr,l=$e(()=>{f=ue(Ie()),m=ue(Ce()),Wr=function(t){function e(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return e();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:e});var r=__magic__;return r}(Object)});var Ur={};Je(Ur,{builtCallbackUrl:()=>Br});module.exports=Ze(Ur);l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();var Nr=require("@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider"),M=require("@multiversx/sdk-web-wallet-cross-window-provider/out/enums");var Be=(r=>(r.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",r.reloginRequest="RELOGIN_REQUEST",r))(Be||{}),Qr=I(I({},M.WindowProviderRequestEnums),Be),Ue=(e=>(e.reloginResponse="RELOGIN_RESPONSE",e))(Ue||{}),et=I(I({},M.WindowProviderResponseEnums),Ue);l();l();l();l();l();l();var ne={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",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",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",explorerAddress:"https://explorer.multiversx.com",metamaskSnapWalletAddress:"https://iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3}},{chainId:De,egldLabel:yt}=ne["devnet"],{chainId:Oe,egldLabel:xt}=ne["testnet"],{chainId:Pe,egldLabel:wt}=ne["mainnet"];var bt={["devnet"]:De,["testnet"]:Oe,["mainnet"]:Pe},vt={[De]:"devnet",[Oe]:"testnet",[Pe]:"mainnet"};l();l();var S=require("@multiversx/sdk-web-wallet-provider");l();l();var ie=require("@multiversx/sdk-dapp-utils/out/constants/browserConstants");var Me,Ge,oe=String((Ge=(Me=ie.safeWindow)==null?void 0:Me.navigator)==null?void 0:Ge.userAgent),St=/^((?!chrome|android).)*safari/i.test(oe),It=/firefox/i.test(oe)&&/windows/i.test(oe);var We="sdk-dapp-version";function Fr(t,e){let r=new URLSearchParams(t),n=Object.fromEntries(r);return{nextUrlParams:new URLSearchParams(I(I({},n),e)).toString(),params:n}}var Cr="3.1.4";function Br({callbackUrl:t,urlParams:e={}}){let r=t;if(Object.entries(e).length>0)try{let{search:n,origin:i,pathname:o,hash:a}=new URL(t),c=ce(I({},e),{[We]:Cr}),{nextUrlParams:p}=Fr(n,c);r=`${i}${o}?${p}${a}`}catch(n){return console.error("Unable to construct URL from: ",t,n),r}return r}0&&(module.exports={builtCallbackUrl});
2
2
  /*!
3
3
  * The buffer module from node.js, for the browser.
4
4
  *